From 7469d35d8d67a4c6f2d05e7e70316dd6e5db6f21 Mon Sep 17 00:00:00 2001 From: Gar Date: Thu, 17 Jun 2021 11:40:40 -0700 Subject: [PATCH] fix(docs): rebuild config docs updates copy for package-lock-only and ls --- docs/content/using-npm/config.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/content/using-npm/config.md b/docs/content/using-npm/config.md index a33c66e145cd9..1036895101fcc 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`