fabiospampinato / bump

Bump updates the project's version, updates/creates the changelog, makes the bump commit, tags the bump commit and makes the release to GitHub. Opinionated but configurable.
MIT License
410 stars 13 forks source link

Support for version 2 of npm's lockfile #29

Closed dnicolson closed 1 year ago

dnicolson commented 2 years ago

Starting with version 2 of the lockfile, npm is saving the version twice in the package-lock.json but bump only updates the first instance.

Using the npm project as example, version 2 of the lockfile introduced an empty package at the top of the file with the same version metadata. The same applies for version 3 of the lockfile.

fabiospampinato commented 1 year ago

Should be fixed in v3.