docs: add --save flag to documentation (#8746) · npm/cli@e71ca0e · GitHub
Skip to content

Commit e71ca0e

Browse files
MaxBlack-devMax Black
andauthored
docs: add --save flag to documentation (#8746)
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 --------- Co-authored-by: Max Black <husivm@google.com>
1 parent 3439a89 commit e71ca0e

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

lib/commands/version.js

Lines changed: 1 addition & 0 deletions

tap-snapshots/test/lib/docs.js.test.cjs

Lines changed: 2 additions & 0 deletions

0 commit comments

Comments
 (0)