diff options
author | Luke Karrys <luke@lukekarrys.com> | 2021-06-17 21:00:13 +0300 |
---|---|---|
committer | Luke Karrys <luke@lukekarrys.com> | 2021-06-17 21:00:51 +0300 |
commit | 1fb377609300314cb896e7c7c9377833855cf31b (patch) | |
tree | f0f177da895935e325fa65c915db1b4a55f60028 | |
parent | 872ea9ea1bc0f2a3ef9b0881ca50a05bc7c23fea (diff) |
fix(docs): rebuild docs
-rw-r--r-- | docs/content/commands/npm-audit.md | 10 | ||||
-rw-r--r-- | docs/content/commands/npm-ls.md | 14 |
2 files changed, 22 insertions, 2 deletions
diff --git a/docs/content/commands/npm-audit.md b/docs/content/commands/npm-audit.md index 0771d897d..704d7a15f 100644 --- a/docs/content/commands/npm-audit.md +++ b/docs/content/commands/npm-audit.md @@ -250,8 +250,14 @@ Not supported by all npm commands. * 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`. #### `omit` diff --git a/docs/content/commands/npm-ls.md b/docs/content/commands/npm-ls.md index 21a3c3eec..1f401fa95 100644 --- a/docs/content/commands/npm-ls.md +++ b/docs/content/commands/npm-ls.md @@ -157,6 +157,20 @@ variable will be set to `'production'` for all lifecycle scripts. Used with `npm ls`, limiting output to only those packages that are linked. +#### `package-lock-only` + +* Default: false +* Type: Boolean + +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`. + #### `unicode` * Default: false on windows, true on mac/unix systems with a unicode locale, |