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/lib
diff options
context:
space:
mode:
authorGar <gar+gh@danger.computer>2021-04-01 17:45:21 +0300
committerGar <gar+gh@danger.computer>2021-04-01 22:44:53 +0300
commit9237d375b0b7d34c7dc5ba70aec7f616f4133732 (patch)
treee7801fdceb76922489e7958271fdb192f5d0c14a /lib
parent4c4252348c538246e1072421d65f4558dc948080 (diff)
fix(docs): add workspaces configuration
Adds workspaces configuration to `docs`, `repo`, and `set-script`. PR-URL: https://github.com/npm/cli/pull/3013 Credit: @wraithgar Close: #3013 Reviewed-by: @darcyclarke
Diffstat (limited to 'lib')
-rw-r--r--lib/docs.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/docs.js b/lib/docs.js
index 8be16cd5e..24bbe9c85 100644
--- a/lib/docs.js
+++ b/lib/docs.js
@@ -18,7 +18,7 @@ class Docs extends BaseCommand {
/* istanbul ignore next - see test/lib/load-all-commands.js */
static get params () {
- return ['browser', 'workspace', 'workspaces']
+ return ['browser', 'registry', 'workspace', 'workspaces']
}
/* istanbul ignore next - see test/lib/load-all-commands.js */