diff options
author | Gar <gar+gh@danger.computer> | 2021-04-01 17:45:21 +0300 |
---|---|---|
committer | Gar <gar+gh@danger.computer> | 2021-04-01 22:44:53 +0300 |
commit | 9237d375b0b7d34c7dc5ba70aec7f616f4133732 (patch) | |
tree | e7801fdceb76922489e7958271fdb192f5d0c14a /lib | |
parent | 4c4252348c538246e1072421d65f4558dc948080 (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.js | 2 |
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 */ |