Skip to content

docs: add --save flag to documentation - #8746

Merged
owlstronaut merged 2 commits into
npm:latestfrom
MaxBlack-dev:docs/8170-add-save-flag-to-version
Nov 19, 2025
Merged

docs: add --save flag to documentation#8746
owlstronaut merged 2 commits into
npm:latestfrom
MaxBlack-dev:docs/8170-add-save-flag-to-version

Conversation

@MaxBlack-dev

Copy link
Copy Markdown
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.
Fixesnpm#8170
@MaxBlack-dev
MaxBlack-dev requested a review from a team as a code ownerNovember 19, 2025 07:57
@MaxBlack-dev
MaxBlack-devforce-pushed the docs/8170-add-save-flag-to-version branch from 096e9b6 to 2166cebCompareNovember 19, 2025 08:39
@owlstronautowlstronaut changed the title docs(version): add --save flag to documentationdocs: add --save flag to documentationNov 19, 2025
@owlstronaut
owlstronaut merged commit e71ca0e into npm:latestNov 19, 2025
21 checks passed
@github-actionsgithub-actionsBot mentioned this pull request Nov 18, 2025
Sign up for freeto 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

@MaxBlack-dev@owlstronaut