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:
authorRuy Adorno <ruyadorno@hotmail.com>2021-05-14 23:37:47 +0300
committerisaacs <i@izs.me>2021-05-20 21:06:50 +0300
commitc18626f047e3a0fedd3c86554a4a0a8f27925e77 (patch)
tree04bf1c9118e93ee350ebb959b801ecce08f9d413 /tap-snapshots/test/lib/utils/npm-usage.js.test.cjs
parentb3add87e686968b7af3067c685d2561baf90e397 (diff)
feat: add ls workspaces
- Add listing workspaces deps by default in `npm ls` - Add ability to filter the result tree by workspace using the -w config - Added tests and docs Fixes: https://github.com/npm/statusboard/issues/302 PR-URL: https://github.com/npm/cli/pull/3250 Credit: @ruyadorno Close: #3250 Reviewed-by: @isaacs
Diffstat (limited to 'tap-snapshots/test/lib/utils/npm-usage.js.test.cjs')
-rw-r--r--tap-snapshots/test/lib/utils/npm-usage.js.test.cjs4
1 files changed, 4 insertions, 0 deletions
diff --git a/tap-snapshots/test/lib/utils/npm-usage.js.test.cjs b/tap-snapshots/test/lib/utils/npm-usage.js.test.cjs
index a67819eb0..a81a8f44b 100644
--- a/tap-snapshots/test/lib/utils/npm-usage.js.test.cjs
+++ b/tap-snapshots/test/lib/utils/npm-usage.js.test.cjs
@@ -640,6 +640,8 @@ All commands:
[-a|--all] [--json] [-l|--long] [-p|--parseable] [-g|--global] [--depth <depth>]
[--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]] [--link]
[--unicode]
+ [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
+ [-ws|--workspaces]
alias: la
@@ -682,6 +684,8 @@ All commands:
[-a|--all] [--json] [-l|--long] [-p|--parseable] [-g|--global] [--depth <depth>]
[--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]] [--link]
[--unicode]
+ [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
+ [-ws|--workspaces]
alias: list