Skip to content
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

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

Open
1 task done
odanado opened this issue May 31, 2024 · 0 comments · May be fixed by #194
Open
1 task done

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

odanado opened this issue May 31, 2024 · 0 comments · May be fixed by #194

Comments

@odanado
Copy link

odanado commented May 31, 2024

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?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant