Lock file maintenance update for npm downgrades lockFile version to v2 #46664
Replies: 2 comments 3 replies
|
I think this comes from mixing lockfile versions inside one Lock file maintenance branch. Pinning On
What Renovate does:
Ways to fix it:
AI disclosure: this answer was written with Claude Code. The source references point to Renovate's |
|
Thanks for the detailed breakdown! I ran into a very similar issue last month where Renovate kept "downgrading" our lockfiles because the branch config was merging constraints from multiple sub-packages with different npm versions. The key insight here is that In my workflow, I found that explicitly pinning the If you can’t pin every package.json immediately, trying to standardize all lockfiles to v3 using |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
How are you running Renovate?
A Mend.io-hosted app
Which platform you running Renovate on?
GitHub.com
Which version of Renovate are you using?
44.125.1
Please tell us more about your question or problem
The lock file maintenance PR fails here:
https://github.com/ecamp/ecamp3/pull/10909/changes#r4163590274(had to change the link because i fixed the PR manually now: ecamp/ecamp3@c8641b7#diff-e430a990b8eeca9cf2b835f710503f7c79567309512ff0aa0ed3d216413eaff5) in the print/package-lock.jsonWe have tests that ensure the package-lock.json version file doesn't change.
We have even the node version for renovate pinned:
https://github.com/ecamp/ecamp3/blob/devel/renovate.json#L10
Logs (if relevant)
Logs
All reactions