unjs/changelogen

Support version update of package-lock.json and npm-shrinkwrap.json

Opened this issue · 0 comments

Describe the feature

npm has version information is stored not only in package.json, but also in package-lock.json and npm-shrinkwrap.json. Therefore, when updating a package's version, these files must also be updated.

Here is an example implementation of the npm version command.
https://github.com/npm/cli/blob/60faa9052a74d7a6ac8db59dae2d7017542310d7/workspaces/libnpmversion/lib/version.js#L79-L94

Additional information

  • Would you be willing to help implement this feature?