summaryrefslogtreecommitdiff
path: root/deps/npm/tap-snapshots/test/lib/utils/npm-usage.js.test.cjs
diff options
context:
space:
mode:
authornpm team <ops+robot@npmjs.com>2022-03-31 22:43:17 +0000
committerMichaƫl Zasso <targos@protonmail.com>2022-04-09 12:56:30 +0200
commit2d84620f867cfc18be1a50f4e5f076dd79ba22e4 (patch)
tree9c8cc8a89fa79d4d8ac428b7d48ed2bb11f26cb3 /deps/npm/tap-snapshots/test/lib/utils/npm-usage.js.test.cjs
parentbe011858446f7ec4b914fd1af2cb7555bd04877b (diff)
downloadnode-new-2d84620f867cfc18be1a50f4e5f076dd79ba22e4.tar.gz
deps: upgrade npm to 8.6.0
PR-URL: https://github.com/nodejs/node/pull/42550 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Mestery <mestery@protonmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Tierney Cyren <hello@bnb.im> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com>
Diffstat (limited to 'deps/npm/tap-snapshots/test/lib/utils/npm-usage.js.test.cjs')
-rw-r--r--deps/npm/tap-snapshots/test/lib/utils/npm-usage.js.test.cjs274
1 files changed, 71 insertions, 203 deletions
diff --git a/deps/npm/tap-snapshots/test/lib/utils/npm-usage.js.test.cjs b/deps/npm/tap-snapshots/test/lib/utils/npm-usage.js.test.cjs
index 2db10df46e..d1de45413a 100644
--- a/deps/npm/tap-snapshots/test/lib/utils/npm-usage.js.test.cjs
+++ b/deps/npm/tap-snapshots/test/lib/utils/npm-usage.js.test.cjs
@@ -165,9 +165,7 @@ npm help npm more involved overview
All commands:
- access npm access
-
- Set access level on published packages
+ access Set access level on published packages
Usage:
npm access public [<package>]
@@ -185,9 +183,7 @@ All commands:
Run "npm help access" for more info
- adduser npm adduser
-
- Add a registry user account
+ adduser Add a registry user account
Usage:
npm adduser
@@ -199,9 +195,7 @@ All commands:
Run "npm help adduser" for more info
- audit npm audit
-
- Run a security audit
+ audit Run a security audit
Usage:
npm audit [fix]
@@ -216,9 +210,7 @@ All commands:
Run "npm help audit" for more info
- bin npm bin
-
- Display npm bin folder
+ bin Display npm bin folder
Usage:
npm bin
@@ -228,9 +220,7 @@ All commands:
Run "npm help bin" for more info
- bugs npm bugs
-
- Report bugs for a package in a web browser
+ bugs Report bugs for a package in a web browser
Usage:
npm bugs [<pkgname>]
@@ -242,9 +232,7 @@ All commands:
Run "npm help bugs" for more info
- cache npm cache
-
- Manipulates packages cache
+ cache Manipulates packages cache
Usage:
npm cache add <tarball file>
@@ -261,9 +249,7 @@ All commands:
Run "npm help cache" for more info
- ci npm ci
-
- Install a project with a clean slate
+ ci Install a project with a clean slate
Usage:
npm ci
@@ -276,18 +262,14 @@ All commands:
Run "npm help ci" for more info
- completion npm completion
-
- Tab Completion for npm
+ completion Tab Completion for npm
Usage:
npm completion
Run "npm help completion" for more info
- config npm config
-
- Manage the npm configuration files
+ config Manage the npm configuration files
Usage:
npm config set <key>=<value> [<key>=<value> ...]
@@ -304,9 +286,7 @@ All commands:
Run "npm help config" for more info
- dedupe npm dedupe
-
- Reduce duplication in the package tree
+ dedupe Reduce duplication in the package tree
Usage:
npm dedupe
@@ -323,9 +303,7 @@ All commands:
Run "npm help dedupe" for more info
- deprecate npm deprecate
-
- Deprecate a version of a package
+ deprecate Deprecate a version of a package
Usage:
npm deprecate <pkg>[@<version>] <message>
@@ -335,9 +313,7 @@ All commands:
Run "npm help deprecate" for more info
- diff npm diff
-
- The registry diff command
+ diff The registry diff command
Usage:
npm diff [...<paths>]
@@ -352,9 +328,7 @@ All commands:
Run "npm help diff" for more info
- dist-tag npm dist-tag
-
- Modify package distribution tags
+ dist-tag Modify package distribution tags
Usage:
npm dist-tag add <pkg>@<version> [<tag>]
@@ -369,9 +343,7 @@ All commands:
Run "npm help dist-tag" for more info
- docs npm docs
-
- Open documentation for a package in a web browser
+ docs Open documentation for a package in a web browser
Usage:
npm docs [<pkgname> [<pkgname> ...]]
@@ -385,9 +357,7 @@ All commands:
Run "npm help docs" for more info
- doctor npm doctor
-
- Check your npm environment
+ doctor Check your npm environment
Usage:
npm doctor
@@ -397,9 +367,7 @@ All commands:
Run "npm help doctor" for more info
- edit npm edit
-
- Edit an installed package
+ edit Edit an installed package
Usage:
npm edit <pkg>[/<subpkg>...]
@@ -409,9 +377,7 @@ All commands:
Run "npm help edit" for more info
- exec npm exec
-
- Run a command from a local or remote npm package
+ exec Run a command from a local or remote npm package
Usage:
npm exec -- <pkg>[@<version>] [args...]
@@ -429,9 +395,7 @@ All commands:
Run "npm help exec" for more info
- explain npm explain
-
- Explain installed packages
+ explain Explain installed packages
Usage:
npm explain <folder | specifier>
@@ -443,9 +407,7 @@ All commands:
Run "npm help explain" for more info
- explore npm explore
-
- Browse an installed package
+ explore Browse an installed package
Usage:
npm explore <pkg> [ -- <command>]
@@ -455,9 +417,7 @@ All commands:
Run "npm help explore" for more info
- find-dupes npm find-dupes
-
- Find duplication in the package tree
+ find-dupes Find duplication in the package tree
Usage:
npm find-dupes
@@ -471,9 +431,7 @@ All commands:
Run "npm help find-dupes" for more info
- fund npm fund
-
- Retrieve funding information
+ fund Retrieve funding information
Usage:
npm fund [[<@scope>/]<pkg>]
@@ -485,18 +443,14 @@ All commands:
Run "npm help fund" for more info
- get npm get
-
- Get a value from the npm configuration
+ get Get a value from the npm configuration
Usage:
npm get [<key> ...] (See \`npm config\`)
Run "npm help get" for more info
- help npm help
-
- Get help on npm
+ help Get help on npm
Usage:
npm help <term> [<terms..>]
@@ -508,9 +462,7 @@ All commands:
Run "npm help help" for more info
- hook npm hook
-
- Manage registry hooks
+ hook Manage registry hooks
Usage:
npm hook add <pkg> <url> <secret> [--type=<type>]
@@ -523,9 +475,7 @@ All commands:
Run "npm help hook" for more info
- init npm init
-
- Create a package.json file
+ init Create a package.json file
Usage:
npm init [--force|-f|--yes|-y|--scope]
@@ -541,9 +491,7 @@ All commands:
Run "npm help init" for more info
- install npm install
-
- Install a package
+ install Install a package
Usage:
npm install [<@scope>/]<pkg>
@@ -566,13 +514,11 @@ All commands:
[-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
[-ws|--workspaces] [--include-workspace-root]
- aliases: i, in, ins, inst, insta, instal, isnt, isnta, isntal, isntall, add
+ aliases: add, i, in, ins, inst, insta, instal, isnt, isnta, isntal, isntall
Run "npm help install" for more info
- install-ci-test npm install-ci-test
-
- Install a project with a clean slate and run tests
+ install-ci-test Install a project with a clean slate and run tests
Usage:
npm install-ci-test
@@ -585,9 +531,7 @@ All commands:
Run "npm help install-ci-test" for more info
- install-test npm install-test
-
- Install package(s) and run tests
+ install-test Install package(s) and run tests
Usage:
npm install-test [<@scope>/]<pkg>
@@ -614,9 +558,7 @@ All commands:
Run "npm help install-test" for more info
- link npm link
-
- Symlink a package folder
+ link Symlink a package folder
Usage:
npm link (in package dir)
@@ -635,9 +577,7 @@ All commands:
Run "npm help link" for more info
- ll npm ll
-
- List installed packages
+ ll List installed packages
Usage:
npm ll [[<@scope>/]<pkg> ...]
@@ -653,9 +593,7 @@ All commands:
Run "npm help ll" for more info
- login npm adduser
-
- Add a registry user account
+ login Add a registry user account
Usage:
npm adduser
@@ -667,9 +605,7 @@ All commands:
Run "npm help adduser" for more info
- logout npm logout
-
- Log out of the registry
+ logout Log out of the registry
Usage:
npm logout
@@ -679,9 +615,7 @@ All commands:
Run "npm help logout" for more info
- ls npm ls
-
- List installed packages
+ ls List installed packages
Usage:
npm ls [[<@scope>/]<pkg> ...]
@@ -697,9 +631,7 @@ All commands:
Run "npm help ls" for more info
- org npm org
-
- Manage orgs
+ org Manage orgs
Usage:
npm org set orgname username [developer | admin | owner]
@@ -713,9 +645,7 @@ All commands:
Run "npm help org" for more info
- outdated npm outdated
-
- Check for outdated packages
+ outdated Check for outdated packages
Usage:
npm outdated [[<@scope>/]<pkg> ...]
@@ -726,9 +656,7 @@ All commands:
Run "npm help outdated" for more info
- owner npm owner
-
- Manage package owners
+ owner Manage package owners
Usage:
npm owner add <user> [<@scope>/]<pkg>
@@ -742,9 +670,7 @@ All commands:
Run "npm help owner" for more info
- pack npm pack
-
- Create a tarball from a package
+ pack Create a tarball from a package
Usage:
npm pack [[<@scope>/]<pkg>...]
@@ -756,9 +682,7 @@ All commands:
Run "npm help pack" for more info
- ping npm ping
-
- Ping npm registry
+ ping Ping npm registry
Usage:
npm ping
@@ -768,9 +692,7 @@ All commands:
Run "npm help ping" for more info
- pkg npm pkg
-
- Manages your package.json
+ pkg Manages your package.json
Usage:
npm pkg set <key>=<value> [<key>=<value> ...]
@@ -786,9 +708,7 @@ All commands:
Run "npm help pkg" for more info
- prefix npm prefix
-
- Display prefix
+ prefix Display prefix
Usage:
npm prefix [-g]
@@ -798,9 +718,7 @@ All commands:
Run "npm help prefix" for more info
- profile npm profile
-
- Change settings on your registry profile
+ profile Change settings on your registry profile
Usage:
npm profile enable-2fa [auth-only|auth-and-writes]
@@ -813,9 +731,7 @@ All commands:
Run "npm help profile" for more info
- prune npm prune
-
- Remove extraneous packages
+ prune Remove extraneous packages
Usage:
npm prune [[<@scope>/]<pkg>...]
@@ -828,9 +744,7 @@ All commands:
Run "npm help prune" for more info
- publish npm publish
-
- Publish a package
+ publish Publish a package
Usage:
npm publish [<folder>]
@@ -842,9 +756,7 @@ All commands:
Run "npm help publish" for more info
- rebuild npm rebuild
-
- Rebuild a package
+ rebuild Rebuild a package
Usage:
npm rebuild [[<@scope>/]<name>[@<version>] ...]
@@ -858,9 +770,7 @@ All commands:
Run "npm help rebuild" for more info
- repo npm repo
-
- Open package repository page in the browser
+ repo Open package repository page in the browser
Usage:
npm repo [<pkgname> [<pkgname> ...]]
@@ -872,9 +782,7 @@ All commands:
Run "npm help repo" for more info
- restart npm restart
-
- Restart a package
+ restart Restart a package
Usage:
npm restart [-- <args>]
@@ -884,9 +792,7 @@ All commands:
Run "npm help restart" for more info
- root npm root
-
- Display npm root
+ root Display npm root
Usage:
npm root
@@ -896,9 +802,7 @@ All commands:
Run "npm help root" for more info
- run-script npm run-script
-
- Run arbitrary package scripts
+ run-script Run arbitrary package scripts
Usage:
npm run-script <command> [-- <args>]
@@ -912,9 +816,7 @@ All commands:
Run "npm help run-script" for more info
- search npm search
-
- Search for packages
+ search Search for packages
Usage:
npm search [search terms ...]
@@ -924,22 +826,18 @@ All commands:
[--no-description] [--searchopts <searchopts>] [--searchexclude <searchexclude>]
[--registry <registry>] [--prefer-online] [--prefer-offline] [--offline]
- aliases: s, se, find
+ aliases: find, s, se
Run "npm help search" for more info
- set npm set
-
- Set a value in the npm configuration
+ set Set a value in the npm configuration
Usage:
npm set <key>=<value> [<key>=<value> ...] (See \`npm config\`)
Run "npm help set" for more info
- set-script npm set-script
-
- Set tasks in the scripts section of package.json
+ set-script Set tasks in the scripts section of package.json
Usage:
npm set-script [<script>] [<command>]
@@ -950,18 +848,14 @@ All commands:
Run "npm help set-script" for more info
- shrinkwrap npm shrinkwrap
-
- Lock down dependency versions for publication
+ shrinkwrap Lock down dependency versions for publication
Usage:
npm shrinkwrap
Run "npm help shrinkwrap" for more info
- star npm star
-
- Mark your favorite packages
+ star Mark your favorite packages
Usage:
npm star [<pkg>...]
@@ -971,9 +865,7 @@ All commands:
Run "npm help star" for more info
- stars npm stars
-
- View packages marked as favorites
+ stars View packages marked as favorites
Usage:
npm stars [<user>]
@@ -983,9 +875,7 @@ All commands:
Run "npm help stars" for more info
- start npm start
-
- Start a package
+ start Start a package
Usage:
npm start [-- <args>]
@@ -995,9 +885,7 @@ All commands:
Run "npm help start" for more info
- stop npm stop
-
- Stop a package
+ stop Stop a package
Usage:
npm stop [-- <args>]
@@ -1007,9 +895,7 @@ All commands:
Run "npm help stop" for more info
- team npm team
-
- Manage organization teams and team memberships
+ team Manage organization teams and team memberships
Usage:
npm team create <scope:team> [--otp <otpcode>]
@@ -1023,9 +909,7 @@ All commands:
Run "npm help team" for more info
- test npm test
-
- Test a package
+ test Test a package
Usage:
npm test [-- <args>]
@@ -1037,9 +921,7 @@ All commands:
Run "npm help test" for more info
- token npm token
-
- Manage your authentication tokens
+ token Manage your authentication tokens
Usage:
npm token list
@@ -1052,9 +934,7 @@ All commands:
Run "npm help token" for more info
- uninstall npm uninstall
-
- Remove a package
+ uninstall Remove a package
Usage:
npm uninstall [<@scope>/]<pkg>...
@@ -1064,13 +944,11 @@ All commands:
[-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
[-ws|--workspaces] [--include-workspace-root]
- aliases: un, unlink, remove, rm, r
+ aliases: unlink, remove, rm, r, un
Run "npm help uninstall" for more info
- unpublish npm unpublish
-
- Remove a package from the registry
+ unpublish Remove a package from the registry
Usage:
npm unpublish [<@scope>/]<pkg>[@<version>]
@@ -1082,9 +960,7 @@ All commands:
Run "npm help unpublish" for more info
- unstar npm unstar
-
- Remove an item from your favorite packages
+ unstar Remove an item from your favorite packages
Usage:
npm unstar [<pkg>...]
@@ -1094,9 +970,7 @@ All commands:
Run "npm help unstar" for more info
- update npm update
-
- Update packages
+ update Update packages
Usage:
npm update [<pkg>...]
@@ -1114,9 +988,7 @@ All commands:
Run "npm help update" for more info
- version npm version
-
- Bump a package version
+ version Bump a package version
Usage:
npm version [<newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease | from-git]
@@ -1125,15 +997,13 @@ All commands:
[--allow-same-version] [--no-commit-hooks] [--no-git-tag-version] [--json]
[--preid prerelease-id] [--sign-git-tag]
[-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
- [-ws|--workspaces] [--include-workspace-root]
+ [-ws|--workspaces] [--no-workspaces-update] [--include-workspace-root]
alias: verison
Run "npm help version" for more info
- view npm view
-
- View registry info
+ view View registry info
Usage:
npm view [<@scope>/]<pkg>[@<version>] [<field>[.subfield]...]
@@ -1142,13 +1012,11 @@ All commands:
[--json] [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
[-ws|--workspaces] [--include-workspace-root]
- aliases: v, info, show
+ aliases: info, show, v
Run "npm help view" for more info
- whoami npm whoami
-
- Display npm username
+ whoami Display npm username
Usage:
npm whoami