PR-URL: https://github.com/nodejs/node/pull/56818 Reviewed-By: Jordan Harband <ljharb@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
465 lines
14 KiB
JavaScript
465 lines
14 KiB
JavaScript
/* IMPORTANT
|
|
* This snapshot file is auto-generated, but designed for humans.
|
|
* It should be checked into source control and tracked carefully.
|
|
* Re-generate by setting TAP_SNAPSHOT=1 and running tests.
|
|
* Make sure to inspect the output below. Do not ignore changes!
|
|
*/
|
|
'use strict'
|
|
exports[`test/lib/npm.js TAP npm.load workspace-aware configs and commands > should exec workspaces version of commands 1`] = `
|
|
Lifecycle scripts included in a@1.0.0:
|
|
test
|
|
echo test a
|
|
|
|
Lifecycle scripts included in b@1.0.0:
|
|
test
|
|
echo test b
|
|
`
|
|
|
|
exports[`test/lib/npm.js TAP usage set process.stdout.columns column width 0 > must match snapshot 1`] = `
|
|
npm <command>
|
|
|
|
Usage:
|
|
|
|
npm install install all the dependencies in your project
|
|
npm install <foo> add the <foo> dependency to your project
|
|
npm test run this project's tests
|
|
npm run <foo> run the script named <foo>
|
|
npm <command> -h quick help on <command>
|
|
npm -l display usage info for all commands
|
|
npm help <term> search for help on <term>
|
|
npm help npm more involved overview
|
|
|
|
All commands:
|
|
|
|
access, adduser, audit, bugs, cache, ci, completion,
|
|
config, dedupe, deprecate, diff, dist-tag, docs, doctor,
|
|
edit, exec, explain, explore, find-dupes, fund, get, help,
|
|
help-search, init, install, install-ci-test, install-test,
|
|
link, ll, login, logout, ls, org, outdated, owner, pack,
|
|
ping, pkg, prefix, profile, prune, publish, query, rebuild,
|
|
repo, restart, root, run-script, sbom, search, set,
|
|
shrinkwrap, star, stars, start, stop, team, test, token,
|
|
undeprecate, uninstall, unpublish, unstar, update, version,
|
|
view, whoami
|
|
|
|
Specify configs in the ini-formatted file:
|
|
{USERCONFIG}
|
|
or on the command line via: npm <command> --key=value
|
|
|
|
More configuration info: npm help config
|
|
Configuration fields: npm help 7 config
|
|
|
|
npm@{VERSION} {NPMROOT}
|
|
`
|
|
|
|
exports[`test/lib/npm.js TAP usage set process.stdout.columns column width 1 > must match snapshot 1`] = `
|
|
npm <command>
|
|
|
|
Usage:
|
|
|
|
npm install install all the dependencies in your project
|
|
npm install <foo> add the <foo> dependency to your project
|
|
npm test run this project's tests
|
|
npm run <foo> run the script named <foo>
|
|
npm <command> -h quick help on <command>
|
|
npm -l display usage info for all commands
|
|
npm help <term> search for help on <term>
|
|
npm help npm more involved overview
|
|
|
|
All commands:
|
|
|
|
access, adduser,
|
|
audit, bugs, cache, ci,
|
|
completion, config,
|
|
dedupe, deprecate, diff,
|
|
dist-tag, docs, doctor,
|
|
edit, exec, explain,
|
|
explore, find-dupes,
|
|
fund, get, help,
|
|
help-search, init,
|
|
install,
|
|
install-ci-test,
|
|
install-test, link, ll,
|
|
login, logout, ls, org,
|
|
outdated, owner, pack,
|
|
ping, pkg, prefix,
|
|
profile, prune, publish,
|
|
query, rebuild, repo,
|
|
restart, root,
|
|
run-script, sbom,
|
|
search, set, shrinkwrap,
|
|
star, stars, start,
|
|
stop, team, test, token,
|
|
undeprecate, uninstall,
|
|
unpublish, unstar,
|
|
update, version, view,
|
|
whoami
|
|
|
|
Specify configs in the ini-formatted file:
|
|
{USERCONFIG}
|
|
or on the command line via: npm <command> --key=value
|
|
|
|
More configuration info: npm help config
|
|
Configuration fields: npm help 7 config
|
|
|
|
npm@{VERSION} {NPMROOT}
|
|
`
|
|
|
|
exports[`test/lib/npm.js TAP usage set process.stdout.columns column width 10 > must match snapshot 1`] = `
|
|
npm <command>
|
|
|
|
Usage:
|
|
|
|
npm install install all the dependencies in your project
|
|
npm install <foo> add the <foo> dependency to your project
|
|
npm test run this project's tests
|
|
npm run <foo> run the script named <foo>
|
|
npm <command> -h quick help on <command>
|
|
npm -l display usage info for all commands
|
|
npm help <term> search for help on <term>
|
|
npm help npm more involved overview
|
|
|
|
All commands:
|
|
|
|
access, adduser,
|
|
audit, bugs, cache, ci,
|
|
completion, config,
|
|
dedupe, deprecate, diff,
|
|
dist-tag, docs, doctor,
|
|
edit, exec, explain,
|
|
explore, find-dupes,
|
|
fund, get, help,
|
|
help-search, init,
|
|
install,
|
|
install-ci-test,
|
|
install-test, link, ll,
|
|
login, logout, ls, org,
|
|
outdated, owner, pack,
|
|
ping, pkg, prefix,
|
|
profile, prune, publish,
|
|
query, rebuild, repo,
|
|
restart, root,
|
|
run-script, sbom,
|
|
search, set, shrinkwrap,
|
|
star, stars, start,
|
|
stop, team, test, token,
|
|
undeprecate, uninstall,
|
|
unpublish, unstar,
|
|
update, version, view,
|
|
whoami
|
|
|
|
Specify configs in the ini-formatted file:
|
|
{USERCONFIG}
|
|
or on the command line via: npm <command> --key=value
|
|
|
|
More configuration info: npm help config
|
|
Configuration fields: npm help 7 config
|
|
|
|
npm@{VERSION} {NPMROOT}
|
|
`
|
|
|
|
exports[`test/lib/npm.js TAP usage set process.stdout.columns column width 100 > must match snapshot 1`] = `
|
|
npm <command>
|
|
|
|
Usage:
|
|
|
|
npm install install all the dependencies in your project
|
|
npm install <foo> add the <foo> dependency to your project
|
|
npm test run this project's tests
|
|
npm run <foo> run the script named <foo>
|
|
npm <command> -h quick help on <command>
|
|
npm -l display usage info for all commands
|
|
npm help <term> search for help on <term>
|
|
npm help npm more involved overview
|
|
|
|
All commands:
|
|
|
|
access, adduser, audit, bugs, cache, ci, completion,
|
|
config, dedupe, deprecate, diff, dist-tag, docs, doctor,
|
|
edit, exec, explain, explore, find-dupes, fund, get, help,
|
|
help-search, init, install, install-ci-test, install-test,
|
|
link, ll, login, logout, ls, org, outdated, owner, pack,
|
|
ping, pkg, prefix, profile, prune, publish, query, rebuild,
|
|
repo, restart, root, run-script, sbom, search, set,
|
|
shrinkwrap, star, stars, start, stop, team, test, token,
|
|
undeprecate, uninstall, unpublish, unstar, update, version,
|
|
view, whoami
|
|
|
|
Specify configs in the ini-formatted file:
|
|
{USERCONFIG}
|
|
or on the command line via: npm <command> --key=value
|
|
|
|
More configuration info: npm help config
|
|
Configuration fields: npm help 7 config
|
|
|
|
npm@{VERSION} {NPMROOT}
|
|
`
|
|
|
|
exports[`test/lib/npm.js TAP usage set process.stdout.columns column width 24 > must match snapshot 1`] = `
|
|
npm <command>
|
|
|
|
Usage:
|
|
|
|
npm install install all the dependencies in your project
|
|
npm install <foo> add the <foo> dependency to your project
|
|
npm test run this project's tests
|
|
npm run <foo> run the script named <foo>
|
|
npm <command> -h quick help on <command>
|
|
npm -l display usage info for all commands
|
|
npm help <term> search for help on <term>
|
|
npm help npm more involved overview
|
|
|
|
All commands:
|
|
|
|
access, adduser,
|
|
audit, bugs, cache, ci,
|
|
completion, config,
|
|
dedupe, deprecate, diff,
|
|
dist-tag, docs, doctor,
|
|
edit, exec, explain,
|
|
explore, find-dupes,
|
|
fund, get, help,
|
|
help-search, init,
|
|
install,
|
|
install-ci-test,
|
|
install-test, link, ll,
|
|
login, logout, ls, org,
|
|
outdated, owner, pack,
|
|
ping, pkg, prefix,
|
|
profile, prune, publish,
|
|
query, rebuild, repo,
|
|
restart, root,
|
|
run-script, sbom,
|
|
search, set, shrinkwrap,
|
|
star, stars, start,
|
|
stop, team, test, token,
|
|
undeprecate, uninstall,
|
|
unpublish, unstar,
|
|
update, version, view,
|
|
whoami
|
|
|
|
Specify configs in the ini-formatted file:
|
|
{USERCONFIG}
|
|
or on the command line via: npm <command> --key=value
|
|
|
|
More configuration info: npm help config
|
|
Configuration fields: npm help 7 config
|
|
|
|
npm@{VERSION} {NPMROOT}
|
|
`
|
|
|
|
exports[`test/lib/npm.js TAP usage set process.stdout.columns column width 40 > must match snapshot 1`] = `
|
|
npm <command>
|
|
|
|
Usage:
|
|
|
|
npm install install all the dependencies in your project
|
|
npm install <foo> add the <foo> dependency to your project
|
|
npm test run this project's tests
|
|
npm run <foo> run the script named <foo>
|
|
npm <command> -h quick help on <command>
|
|
npm -l display usage info for all commands
|
|
npm help <term> search for help on <term>
|
|
npm help npm more involved overview
|
|
|
|
All commands:
|
|
|
|
access, adduser,
|
|
audit, bugs, cache, ci,
|
|
completion, config,
|
|
dedupe, deprecate, diff,
|
|
dist-tag, docs, doctor,
|
|
edit, exec, explain,
|
|
explore, find-dupes,
|
|
fund, get, help,
|
|
help-search, init,
|
|
install,
|
|
install-ci-test,
|
|
install-test, link, ll,
|
|
login, logout, ls, org,
|
|
outdated, owner, pack,
|
|
ping, pkg, prefix,
|
|
profile, prune, publish,
|
|
query, rebuild, repo,
|
|
restart, root,
|
|
run-script, sbom,
|
|
search, set, shrinkwrap,
|
|
star, stars, start,
|
|
stop, team, test, token,
|
|
undeprecate, uninstall,
|
|
unpublish, unstar,
|
|
update, version, view,
|
|
whoami
|
|
|
|
Specify configs in the ini-formatted file:
|
|
{USERCONFIG}
|
|
or on the command line via: npm <command> --key=value
|
|
|
|
More configuration info: npm help config
|
|
Configuration fields: npm help 7 config
|
|
|
|
npm@{VERSION} {NPMROOT}
|
|
`
|
|
|
|
exports[`test/lib/npm.js TAP usage set process.stdout.columns column width 41 > must match snapshot 1`] = `
|
|
npm <command>
|
|
|
|
Usage:
|
|
|
|
npm install install all the dependencies in your project
|
|
npm install <foo> add the <foo> dependency to your project
|
|
npm test run this project's tests
|
|
npm run <foo> run the script named <foo>
|
|
npm <command> -h quick help on <command>
|
|
npm -l display usage info for all commands
|
|
npm help <term> search for help on <term>
|
|
npm help npm more involved overview
|
|
|
|
All commands:
|
|
|
|
access, adduser, audit,
|
|
bugs, cache, ci,
|
|
completion, config,
|
|
dedupe, deprecate, diff,
|
|
dist-tag, docs, doctor,
|
|
edit, exec, explain,
|
|
explore, find-dupes,
|
|
fund, get, help,
|
|
help-search, init,
|
|
install, install-ci-test,
|
|
install-test, link, ll,
|
|
login, logout, ls, org,
|
|
outdated, owner, pack,
|
|
ping, pkg, prefix,
|
|
profile, prune, publish,
|
|
query, rebuild, repo,
|
|
restart, root,
|
|
run-script, sbom, search,
|
|
set, shrinkwrap, star,
|
|
stars, start, stop, team,
|
|
test, token, undeprecate,
|
|
uninstall, unpublish,
|
|
unstar, update, version,
|
|
view, whoami
|
|
|
|
Specify configs in the ini-formatted file:
|
|
{USERCONFIG}
|
|
or on the command line via: npm <command> --key=value
|
|
|
|
More configuration info: npm help config
|
|
Configuration fields: npm help 7 config
|
|
|
|
npm@{VERSION} {NPMROOT}
|
|
`
|
|
|
|
exports[`test/lib/npm.js TAP usage set process.stdout.columns column width 75 > must match snapshot 1`] = `
|
|
npm <command>
|
|
|
|
Usage:
|
|
|
|
npm install install all the dependencies in your project
|
|
npm install <foo> add the <foo> dependency to your project
|
|
npm test run this project's tests
|
|
npm run <foo> run the script named <foo>
|
|
npm <command> -h quick help on <command>
|
|
npm -l display usage info for all commands
|
|
npm help <term> search for help on <term>
|
|
npm help npm more involved overview
|
|
|
|
All commands:
|
|
|
|
access, adduser, audit, bugs, cache, ci, completion,
|
|
config, dedupe, deprecate, diff, dist-tag, docs, doctor,
|
|
edit, exec, explain, explore, find-dupes, fund, get, help,
|
|
help-search, init, install, install-ci-test, install-test,
|
|
link, ll, login, logout, ls, org, outdated, owner, pack,
|
|
ping, pkg, prefix, profile, prune, publish, query, rebuild,
|
|
repo, restart, root, run-script, sbom, search, set,
|
|
shrinkwrap, star, stars, start, stop, team, test, token,
|
|
undeprecate, uninstall, unpublish, unstar, update, version,
|
|
view, whoami
|
|
|
|
Specify configs in the ini-formatted file:
|
|
{USERCONFIG}
|
|
or on the command line via: npm <command> --key=value
|
|
|
|
More configuration info: npm help config
|
|
Configuration fields: npm help 7 config
|
|
|
|
npm@{VERSION} {NPMROOT}
|
|
`
|
|
|
|
exports[`test/lib/npm.js TAP usage set process.stdout.columns column width 76 > must match snapshot 1`] = `
|
|
npm <command>
|
|
|
|
Usage:
|
|
|
|
npm install install all the dependencies in your project
|
|
npm install <foo> add the <foo> dependency to your project
|
|
npm test run this project's tests
|
|
npm run <foo> run the script named <foo>
|
|
npm <command> -h quick help on <command>
|
|
npm -l display usage info for all commands
|
|
npm help <term> search for help on <term>
|
|
npm help npm more involved overview
|
|
|
|
All commands:
|
|
|
|
access, adduser, audit, bugs, cache, ci, completion,
|
|
config, dedupe, deprecate, diff, dist-tag, docs, doctor,
|
|
edit, exec, explain, explore, find-dupes, fund, get, help,
|
|
help-search, init, install, install-ci-test, install-test,
|
|
link, ll, login, logout, ls, org, outdated, owner, pack,
|
|
ping, pkg, prefix, profile, prune, publish, query, rebuild,
|
|
repo, restart, root, run-script, sbom, search, set,
|
|
shrinkwrap, star, stars, start, stop, team, test, token,
|
|
undeprecate, uninstall, unpublish, unstar, update, version,
|
|
view, whoami
|
|
|
|
Specify configs in the ini-formatted file:
|
|
{USERCONFIG}
|
|
or on the command line via: npm <command> --key=value
|
|
|
|
More configuration info: npm help config
|
|
Configuration fields: npm help 7 config
|
|
|
|
npm@{VERSION} {NPMROOT}
|
|
`
|
|
|
|
exports[`test/lib/npm.js TAP usage set process.stdout.columns column width 90 > must match snapshot 1`] = `
|
|
npm <command>
|
|
|
|
Usage:
|
|
|
|
npm install install all the dependencies in your project
|
|
npm install <foo> add the <foo> dependency to your project
|
|
npm test run this project's tests
|
|
npm run <foo> run the script named <foo>
|
|
npm <command> -h quick help on <command>
|
|
npm -l display usage info for all commands
|
|
npm help <term> search for help on <term>
|
|
npm help npm more involved overview
|
|
|
|
All commands:
|
|
|
|
access, adduser, audit, bugs, cache, ci, completion,
|
|
config, dedupe, deprecate, diff, dist-tag, docs, doctor,
|
|
edit, exec, explain, explore, find-dupes, fund, get, help,
|
|
help-search, init, install, install-ci-test, install-test,
|
|
link, ll, login, logout, ls, org, outdated, owner, pack,
|
|
ping, pkg, prefix, profile, prune, publish, query, rebuild,
|
|
repo, restart, root, run-script, sbom, search, set,
|
|
shrinkwrap, star, stars, start, stop, team, test, token,
|
|
undeprecate, uninstall, unpublish, unstar, update, version,
|
|
view, whoami
|
|
|
|
Specify configs in the ini-formatted file:
|
|
{USERCONFIG}
|
|
or on the command line via: npm <command> --key=value
|
|
|
|
More configuration info: npm help config
|
|
Configuration fields: npm help 7 config
|
|
|
|
npm@{VERSION} {NPMROOT}
|
|
`
|