Is there an existing issue for this?
This is a CLI Docs Problem, not another kind of Docs Problem.
Description of Problem
The --save flag of the npm version command is not documented.
When working with --workspaces it is needed to synchronize the versions of interdependent packages in a monorepo.
There is an excellent analysis of the problem here: #7843
Potential Solution
Include the --save flag in documentation.
Affected URL
https://docs.npmjs.com/cli/v11/commands/npm-version
Is there an existing issue for this?
This is a CLI Docs Problem, not another kind of Docs Problem.
Description of Problem
The
--saveflag of thenpm versioncommand is not documented.When working with
--workspacesit is needed to synchronize the versions of interdependent packages in a monorepo.There is an excellent analysis of the problem here: #7843
Potential Solution
Include the
--saveflag in documentation.Affected URL
https://docs.npmjs.com/cli/v11/commands/npm-version