Skip to content

Commit b3ff104

Browse files
committed
docs: remove incorrect v6 auto prune info
As of npm@7, extraneous modules are always auto pruned
1 parent 7a85827 commit b3ff104

File tree

4 files changed

+0
-16
lines changed

4 files changed

+0
-16
lines changed

docs/content/using-npm/config.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1219,10 +1219,6 @@ The package to install for [`npm exec`](/commands/npm-exec)
12191219
If set to false, then ignore `package-lock.json` files when installing. This
12201220
will also prevent _writing_ `package-lock.json` if `save` is true.
12211221

1222-
When package package-locks are disabled, automatic pruning of extraneous
1223-
modules will also be disabled. To remove extraneous modules with
1224-
package-locks disabled use `npm prune`.
1225-
12261222
This configuration does not affect `npm ci`.
12271223

12281224
<!-- automatically generated, do not edit manually -->

lib/utils/config/definitions.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1448,10 +1448,6 @@ define('package-lock', {
14481448
This will also prevent _writing_ \`package-lock.json\` if \`save\` is
14491449
true.
14501450
1451-
When package package-locks are disabled, automatic pruning of extraneous
1452-
modules will also be disabled. To remove extraneous modules with
1453-
package-locks disabled use \`npm prune\`.
1454-
14551451
This configuration does not affect \`npm ci\`.
14561452
`,
14571453
flatten: (key, obj, flatOptions) => {

tap-snapshots/test/lib/utils/config/definitions.js.test.cjs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1302,10 +1302,6 @@ exports[`test/lib/utils/config/definitions.js TAP > config description for packa
13021302
If set to false, then ignore \`package-lock.json\` files when installing. This
13031303
will also prevent _writing_ \`package-lock.json\` if \`save\` is true.
13041304
1305-
When package package-locks are disabled, automatic pruning of extraneous
1306-
modules will also be disabled. To remove extraneous modules with
1307-
package-locks disabled use \`npm prune\`.
1308-
13091305
This configuration does not affect \`npm ci\`.
13101306
`
13111307

tap-snapshots/test/lib/utils/config/describe-all.js.test.cjs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1093,10 +1093,6 @@ The package to install for [\`npm exec\`](/commands/npm-exec)
10931093
If set to false, then ignore \`package-lock.json\` files when installing. This
10941094
will also prevent _writing_ \`package-lock.json\` if \`save\` is true.
10951095
1096-
When package package-locks are disabled, automatic pruning of extraneous
1097-
modules will also be disabled. To remove extraneous modules with
1098-
package-locks disabled use \`npm prune\`.
1099-
11001096
This configuration does not affect \`npm ci\`.
11011097
11021098
<!-- automatically generated, do not edit manually -->

0 commit comments

Comments
 (0)