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/docs
diff options
context:
space:
mode:
authorGar <gar+gh@danger.computer>2021-06-17 21:40:40 +0300
committerGar <gar+gh@danger.computer>2021-06-17 21:43:04 +0300
commitfce30e423745a2b81530176d2f08ca84896eef4c (patch)
tree5bc3fd41c667b952f8b6e6ecdeba33d52b868022 /docs
parent699c2d708d2a24b4f495a74974b2a345f33ee08a (diff)
fix(docs): rebuild config docs
updates copy for package-lock-only and ls PR-URL: https://github.com/npm/cli/pull/3435 Credit: @wraithgar Close: #3435 Reviewed-by: @lukekarrys
Diffstat (limited to 'docs')
-rw-r--r--docs/content/using-npm/config.md10
1 files changed, 8 insertions, 2 deletions
diff --git a/docs/content/using-npm/config.md b/docs/content/using-npm/config.md
index a33c66e14..103689510 100644
--- a/docs/content/using-npm/config.md
+++ b/docs/content/using-npm/config.md
@@ -898,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`