Renovate only updates my package.json — the package-lock.json is always left unchanged in the same PR. #35601
Replies: 6 comments 3 replies
-
Hi there, Please help this Discussion progress by creating a minimal reproduction. This means a repository dedicated to reproducing this issue with the minimal dependencies and config possible. Before we start working on your issue we need to know exactly what's causing the current behavior. A minimal reproduction helps us with this. Discussions without reproductions are less likely to be converted to Issues. Please follow these steps:
If you need help with running Renovate on your minimal reproduction repository, please refer to our Running Renovate guide. The Renovate team |
Beta Was this translation helpful? Give feedback.
-
Minimal reproduction added |
Beta Was this translation helpful? Give feedback.
-
Hi there, We appreciate the effort you put into creating a reproduction. But your reproduction is not minimal yet, or is missing fields we ask for in our template. Please re-read the steps and documentation given in the previous message, and try again to create a minimal reproduction. Thanks, the Renovate team |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
The package-lock problem seems to be similar as in #34017 - this used to work but some update broke it. |
Beta Was this translation helpful? Give feedback.
-
My problem with the private package only happens during the update of my
This packageRules works because it updates my package.json Here are some logs: : |
Beta Was this translation helpful? Give feedback.
-
How are you running Renovate?
Self-hosted Renovate
If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.
I'm using renovate on Gitlab, and v39.259.0 for Renovate
Please tell us more about your question or problem
Hello everyone,
I'm trying to create an npm manager preset for my Renovate bot. My code is actually working — the PRs are successfully created with the correct config — but when I look at the changes, the PR only edits the
package.json
and seems to ignore thepackage-lock.json
.What I want is for Renovate to update the
package-lock.json
in the same PR whenever a package is updated.I’ve tried several solutions such as:
updateLockFiles
rangeStrategy
postUpgradeTasks
But none of them worked.
Here’s the minimal reproduction of my dev :
https://github.com/Arthur-Lucas/renovate-lockfile-issue
Logs (if relevant)
no relevant logs
Beta Was this translation helpful? Give feedback.
All reactions