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
diff options
context:
space:
mode:
authorRuy Adorno <ruyadorno@hotmail.com>2022-02-03 06:42:20 +0300
committerRuy Adorno <ruyadorno@hotmail.com>2022-02-03 22:25:08 +0300
commitc0519edc16f66370b2153430342247b4ec5cb496 (patch)
treec95d4da19e7ba07ea20e06ab31b52ec29fa9a27e /tap-snapshots
parent457e0ae61bbc55846f5af44afa4066921923490f (diff)
fix(ci): should not use package-lock config
`npm ci` should never be affected by the `package-lock` config. Fixes: https://github.com/npm/cli/issues/4185
Diffstat (limited to 'tap-snapshots')
-rw-r--r--tap-snapshots/test/lib/utils/config/definitions.js.test.cjs2
-rw-r--r--tap-snapshots/test/lib/utils/config/describe-all.js.test.cjs2
2 files changed, 4 insertions, 0 deletions
diff --git a/tap-snapshots/test/lib/utils/config/definitions.js.test.cjs b/tap-snapshots/test/lib/utils/config/definitions.js.test.cjs
index 459c5de8d..ab706be89 100644
--- a/tap-snapshots/test/lib/utils/config/definitions.js.test.cjs
+++ b/tap-snapshots/test/lib/utils/config/definitions.js.test.cjs
@@ -1271,6 +1271,8 @@ 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\`.
`
exports[`test/lib/utils/config/definitions.js TAP > config description for package-lock-only 1`] = `
diff --git a/tap-snapshots/test/lib/utils/config/describe-all.js.test.cjs b/tap-snapshots/test/lib/utils/config/describe-all.js.test.cjs
index ffa661732..58958ebda 100644
--- a/tap-snapshots/test/lib/utils/config/describe-all.js.test.cjs
+++ b/tap-snapshots/test/lib/utils/config/describe-all.js.test.cjs
@@ -1064,6 +1064,8 @@ 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 -->