You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@vicrep I was wondering why the package-lock.json is not bumped or excluded by standard-version. Even if updater is used in bumpFiles it doesn't do an update.
Maybe this issue was fixed and bug has re-appeared
Describe the bug
{ "packages": { "": { "version": "1.0.0" } } }
in package-lock.json isn't bumped.Current behavior
{ "packages": { "": { "version": "1.0.0" } } }
in package-lock.json is unchanged.Expected behavior
Bump
{ "packages": { "": { "version": "1.0.0" } } }
in package-lock.json.Environment
standard-version
version(s): v9.1.1Possible Solution
Search for the property and if it exists: update the value.
Additional context
This property was probably added in
lockfileVersion
2 with npm v7.Steps to reproduce this issue
git init npm init npm install standard-version --save-dev git add package.json package-lock.json git commit -m "foo" npx standard-version head package-lock.json
The text was updated successfully, but these errors were encountered: