diff --git a/deps/npm/docs/content/commands/npm-audit.md b/deps/npm/docs/content/commands/npm-audit.md index 0771d897df90db..704d7a15fb8f19 100644 --- a/deps/npm/docs/content/commands/npm-audit.md +++ b/deps/npm/docs/content/commands/npm-audit.md @@ -250,8 +250,14 @@ Not supported by all npm commands. * Default: false * Type: Boolean -If set to true, it will update only the `package-lock.json`, instead of -checking `node_modules` and downloading dependencies. +If set to true, the current operation will only use the `package-lock.json`, +ignoring `node_modules`. + +For `update` this means only the `package-lock.json` will be updated, +instead of checking `node_modules` and downloading dependencies. + +For `list` this means the output will be based on the tree described by the +`package-lock.json`, rather than the contents of `node_modules`. #### `omit` diff --git a/deps/npm/docs/content/commands/npm-ls.md b/deps/npm/docs/content/commands/npm-ls.md index 3c662176327bf4..1f401fa956ff8d 100644 --- a/deps/npm/docs/content/commands/npm-ls.md +++ b/deps/npm/docs/content/commands/npm-ls.md @@ -155,18 +155,21 @@ variable will be set to `'production'` for all lifecycle scripts. * Default: false * Type: Boolean -If true, then local installs will link if there is a suitable globally -installed package. +Used with `npm ls`, limiting output to only those packages that are linked. -Note that this means that local installs can cause things to be installed -into the global space at the same time. The link is only done if one of the -two conditions are met: +#### `package-lock-only` -* The package is not already installed globally, or -* the globally installed version is identical to the version that is being - installed locally. +* Default: false +* Type: Boolean + +If set to true, the current operation will only use the `package-lock.json`, +ignoring `node_modules`. + +For `update` this means only the `package-lock.json` will be updated, +instead of checking `node_modules` and downloading dependencies. -When used with `npm ls`, only show packages that are linked. +For `list` this means the output will be based on the tree described by the +`package-lock.json`, rather than the contents of `node_modules`. #### `unicode` diff --git a/deps/npm/docs/content/commands/npm-pack.md b/deps/npm/docs/content/commands/npm-pack.md index 04a22a5d854b45..95070262784378 100644 --- a/deps/npm/docs/content/commands/npm-pack.md +++ b/deps/npm/docs/content/commands/npm-pack.md @@ -36,6 +36,13 @@ Whether or not to output JSON data, rather than the normal output. Not supported by all npm commands. +#### `pack-destination` + +* Default: "." +* Type: String + +Directory in which `npm pack` will save tarballs. + #### `workspace` * Default: diff --git a/deps/npm/docs/content/using-npm/config.md b/deps/npm/docs/content/using-npm/config.md index 44b79a801f15ec..1036895101fcc1 100644 --- a/deps/npm/docs/content/using-npm/config.md +++ b/deps/npm/docs/content/using-npm/config.md @@ -743,18 +743,7 @@ Use of `legacy-peer-deps` is not recommended, as it will not enforce the * Default: false * Type: Boolean -If true, then local installs will link if there is a suitable globally -installed package. - -Note that this means that local installs can cause things to be installed -into the global space at the same time. The link is only done if one of the -two conditions are met: - -* The package is not already installed globally, or -* the globally installed version is identical to the version that is being - installed locally. - -When used with `npm ls`, only show packages that are linked. +Used with `npm ls`, limiting output to only those packages that are linked. #### `local-address` @@ -878,6 +867,13 @@ when publishing or changing package permissions with `npm access`. If not set, and a registry response fails with a challenge for a one-time password, npm will prompt on the command line for one. +#### `pack-destination` + +* Default: "." +* Type: String + +Directory in which `npm pack` will save tarballs. + #### `package` * Default: @@ -902,8 +898,14 @@ package-locks disabled use `npm prune`. * Default: false * Type: Boolean -If set to true, it will update only the `package-lock.json`, instead of -checking `node_modules` and downloading dependencies. +If set to true, the current operation will only use the `package-lock.json`, +ignoring `node_modules`. + +For `update` this means only the `package-lock.json` will be updated, +instead of checking `node_modules` and downloading dependencies. + +For `list` this means the output will be based on the tree described by the +`package-lock.json`, rather than the contents of `node_modules`. #### `parseable` diff --git a/deps/npm/docs/output/commands/npm-audit.html b/deps/npm/docs/output/commands/npm-audit.html index 64c62658cdd2aa..a1c58d89633742 100644 --- a/deps/npm/docs/output/commands/npm-audit.html +++ b/deps/npm/docs/output/commands/npm-audit.html @@ -324,8 +324,12 @@

package-lock-only

  • Default: false
  • Type: Boolean
  • -

    If set to true, it will update only the package-lock.json, instead of -checking node_modules and downloading dependencies.

    +

    If set to true, the current operation will only use the package-lock.json, +ignoring node_modules.

    +

    For update this means only the package-lock.json will be updated, +instead of checking node_modules and downloading dependencies.

    +

    For list this means the output will be based on the tree described by the +package-lock.json, rather than the contents of node_modules.

    omit

    -

    If true, then local installs will link if there is a suitable globally -installed package.

    -

    Note that this means that local installs can cause things to be installed -into the global space at the same time. The link is only done if one of the -two conditions are met:

    +

    Used with npm ls, limiting output to only those packages that are linked.

    +

    package-lock-only

    -

    When used with npm ls, only show packages that are linked.

    +

    If set to true, the current operation will only use the package-lock.json, +ignoring node_modules.

    +

    For update this means only the package-lock.json will be updated, +instead of checking node_modules and downloading dependencies.

    +

    For list this means the output will be based on the tree described by the +package-lock.json, rather than the contents of node_modules.

    unicode

    Whether or not to output JSON data, rather than the normal output.

    Not supported by all npm commands.

    +

    pack-destination

    + +

    Directory in which npm pack will save tarballs.

    workspace

    -

    If true, then local installs will link if there is a suitable globally -installed package.

    -

    Note that this means that local installs can cause things to be installed -into the global space at the same time. The link is only done if one of the -two conditions are met:

    - -

    When used with npm ls, only show packages that are linked.

    +

    Used with npm ls, limiting output to only those packages that are linked.

    local-address