Skip to content

Conversation

@MaxBlack-dev
Copy link
Contributor

The --save flag was already implemented and used in workspaces but was not included in the auto-generated documentation. Adding it to the params array will ensure it appears in the npm version help and documentation.

When used with workspaces, --save updates the root package.json dependencies to match the new workspace versions.

Fixes #8170

The --save flag was already implemented and used in workspaces but was not included in the auto-generated documentation. Adding it to the params array will ensure it appears in the npm version help and documentation.

When used with workspaces, --save updates the root package.json dependencies to match the new workspace versions.

Fixes npm#8170
@MaxBlack-dev MaxBlack-dev requested a review from a team as a code owner November 19, 2025 07:57
@MaxBlack-dev MaxBlack-dev force-pushed the docs/8170-add-save-flag-to-version branch from 096e9b6 to 2166ceb Compare November 19, 2025 08:39
@owlstronaut owlstronaut changed the title docs(version): add --save flag to documentation docs: add --save flag to documentation Nov 19, 2025
@owlstronaut owlstronaut merged commit e71ca0e into npm:latest Nov 19, 2025
21 checks passed
@github-actions github-actions bot mentioned this pull request Nov 18, 2025
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 this pull request may close these issues.

[DOCS] npm version --save not documented

2 participants