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
diff options
context:
space:
mode:
authornlf <quitlahok@gmail.com>2021-03-30 18:05:41 +0300
committerGar <gar+gh@danger.computer>2021-04-01 00:01:07 +0300
commitec520ce32d5e834a32ebd58491df4200e01ce690 (patch)
tree94954aea6f6291354efd5a6a7fddf981365164eb /tap-snapshots
parent8bcc5d73f35434e781ff56419dd7f0c380efd072 (diff)
feat(set-script): implement workspaces
Implements workspaces for set-script, also refactors tests to mock as little as possible. PR-URL: https://github.com/npm/cli/pull/2998 Credit: @nlf Close: #2998 Reviewed-by: @wraithgar
Diffstat (limited to 'tap-snapshots')
-rw-r--r--tap-snapshots/test-lib-utils-npm-usage.js-TAP.test.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/tap-snapshots/test-lib-utils-npm-usage.js-TAP.test.js b/tap-snapshots/test-lib-utils-npm-usage.js-TAP.test.js
index 2d229a269..4f9c1b44e 100644
--- a/tap-snapshots/test-lib-utils-npm-usage.js-TAP.test.js
+++ b/tap-snapshots/test-lib-utils-npm-usage.js-TAP.test.js
@@ -771,6 +771,9 @@ All commands:
Usage:
npm set-script [<script>] [<command>]
+ Options:
+ [-w|--workspace <workspace>|-w|--workspace <workspace>] [-ws|--workspaces]
+
Run "npm help set-script" for more info
shrinkwrap npm shrinkwrap