-
Notifications
You must be signed in to change notification settings - Fork 800
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(updater): npm7 package lock's inner version not being updated #713
fix(updater): npm7 package lock's inner version not being updated #713
Conversation
Hi @bcoe , sorry for bothering you and please forward to someone else if more appropriate. I was wondering if there was any chance of having this PR looked at sometime soon. I'm not the only one dealing with this issue, and it's creating a lot of noise for my projects which use renovate / automatic package-lock maintenance. Many thanks! :) |
+100. for npm 7 without this patch people must write custom updaters. Hello @vicrep, can you use reabase instead of merge on master to not to multiply merge commits? |
Updater for package-lock/npm-shrinkwrap v2 instead of json to use in config with no dependencies:
|
Hi @rusekr, are you asking me to rebase this branch / clean up history? I usually squash and merge PRs to keep master clean :) |
Just saw "Comits 3" on tab here and thought what big in this patch then saw all changes which a small and from first commit |
Hi @jbottigliero and @bcoe , sorry for pinging you directly, but this PR has been open for almost 6 months, and brings a relatively simple / nice QoL fix related to NPM7, I would greatly appreciate if you could take a look :) Many thanks! (Also, it seems I'm not the only one requesting this, it's currently the second most upvoted open PR in the project). |
@vicrep thank you for the nudge. |
NPM v7 introduces a new package-lock.json version, which now stores the project's version in two places:
lock.version
andlock.packages[''].version
. This updateswriteVersion
to also bump the latter if present in the file.Please let me know if you have any further questions.