diff options
author | Gar <gar+gh@danger.computer> | 2021-06-17 21:40:40 +0300 |
---|---|---|
committer | Gar <gar+gh@danger.computer> | 2021-06-17 21:43:04 +0300 |
commit | fce30e423745a2b81530176d2f08ca84896eef4c (patch) | |
tree | 5bc3fd41c667b952f8b6e6ecdeba33d52b868022 /docs | |
parent | 699c2d708d2a24b4f495a74974b2a345f33ee08a (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.md | 10 |
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` |