diff options
Diffstat (limited to 'deps/npm/docs/content/commands/npm-dedupe.md')
-rw-r--r-- | deps/npm/docs/content/commands/npm-dedupe.md | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/deps/npm/docs/content/commands/npm-dedupe.md b/deps/npm/docs/content/commands/npm-dedupe.md index 53d2e64272..b5a64831c0 100644 --- a/deps/npm/docs/content/commands/npm-dedupe.md +++ b/deps/npm/docs/content/commands/npm-dedupe.md @@ -6,13 +6,21 @@ description: Reduce duplication in the package tree ### Synopsis +<!-- AUTOGENERATED USAGE DESCRIPTIONS START --> +<!-- automatically generated, do not edit manually --> +<!-- see lib/commands/dedupe.js --> + ```bash npm dedupe -npm ddp -aliases: ddp +alias: ddp ``` +<!-- automatically generated, do not edit manually --> +<!-- see lib/commands/dedupe.js --> + +<!-- AUTOGENERATED USAGE DESCRIPTIONS END --> + ### Description Searches the local package tree and attempts to simplify the overall @@ -145,6 +153,24 @@ When package package-locks are disabled, automatic pruning of extraneous modules will also be disabled. To remove extraneous modules with package-locks disabled use `npm prune`. +This configuration does not affect `npm ci`. + +<!-- automatically generated, do not edit manually --> +<!-- see lib/utils/config/definitions.js --> + +#### `save` + +* Default: `true` unless when using `npm update` or `npm dedupe` where it + defaults to `false` +* Type: Boolean + +Save installed packages to a `package.json` file as dependencies. + +When used with the `npm rm` command, removes the dependency from +`package.json`. + +Will also prevent writing to `package-lock.json` if set to `false`. + <!-- automatically generated, do not edit manually --> <!-- see lib/utils/config/definitions.js --> |