Skip to content

Commit fce30e4

Browse files
committed
fix(docs): rebuild config docs
updates copy for package-lock-only and ls PR-URL: #3435 Credit: @wraithgar Close: #3435 Reviewed-by: @lukekarrys
1 parent 699c2d7 commit fce30e4

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

docs/content/using-npm/config.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -898,8 +898,14 @@ package-locks disabled use `npm prune`.
898898
* Default: false
899899
* Type: Boolean
900900

901-
If set to true, it will update only the `package-lock.json`, instead of
902-
checking `node_modules` and downloading dependencies.
901+
If set to true, the current operation will only use the `package-lock.json`,
902+
ignoring `node_modules`.
903+
904+
For `update` this means only the `package-lock.json` will be updated,
905+
instead of checking `node_modules` and downloading dependencies.
906+
907+
For `list` this means the output will be based on the tree described by the
908+
`package-lock.json`, rather than the contents of `node_modules`.
903909

904910
#### `parseable`
905911

0 commit comments

Comments
 (0)