Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGar <gar+gh@danger.computer>2022-05-04 02:43:44 +0300
committerGitHub <noreply@github.com>2022-05-04 02:43:44 +0300
commit8fd7eec8ef76224dd8a9874a1044a0cc8f5e1c49 (patch)
tree2e75c06e522e22c4db4fe15e5d4a69537d2a312f /lib
parent29d301a3717e89ede6fd3e35019e5dd81c519ac3 (diff)
docs: remove incorrect v6 auto prune info (#4845)
As of npm@7, extraneous modules are always auto pruned
Diffstat (limited to 'lib')
-rw-r--r--lib/utils/config/definitions.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/utils/config/definitions.js b/lib/utils/config/definitions.js
index 4a1f971d8..6f1b1a724 100644
--- a/lib/utils/config/definitions.js
+++ b/lib/utils/config/definitions.js
@@ -1448,10 +1448,6 @@ define('package-lock', {
This will also prevent _writing_ \`package-lock.json\` if \`save\` is
true.
- 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\`.
`,
flatten: (key, obj, flatOptions) => {