mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 13:48:44 +02:00
deps: upgrade npm to 11.4.2
PR-URL: https://github.com/nodejs/node/pull/58696 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
This commit is contained in:
parent
214e4db60e
commit
433d9a0486
381 changed files with 7286 additions and 2046 deletions
22
deps/npm/bin/npm.ps1
vendored
22
deps/npm/bin/npm.ps1
vendored
|
@ -22,11 +22,27 @@ if (Test-Path $NPM_PREFIX_NPM_CLI_JS) {
|
|||
$NPM_CLI_JS=$NPM_PREFIX_NPM_CLI_JS
|
||||
}
|
||||
|
||||
# Support pipeline input
|
||||
if ($MyInvocation.ExpectingInput) {
|
||||
if ($MyInvocation.ExpectingInput) { # takes pipeline input
|
||||
$input | & $NODE_EXE $NPM_CLI_JS $args
|
||||
} else {
|
||||
} elseif (-not $MyInvocation.Line) { # used "-File" argument
|
||||
& $NODE_EXE $NPM_CLI_JS $args
|
||||
} else { # used "-Command" argument
|
||||
if ($MyInvocation.Statement) {
|
||||
$NPM_ORIGINAL_COMMAND = $MyInvocation.Statement
|
||||
} else {
|
||||
$NPM_ORIGINAL_COMMAND = (
|
||||
[Management.Automation.InvocationInfo].GetProperty('ScriptPosition', [Reflection.BindingFlags] 'Instance, NonPublic')
|
||||
).GetValue($MyInvocation).Text
|
||||
}
|
||||
|
||||
$NODE_EXE = $NODE_EXE.Replace("``", "````")
|
||||
$NPM_CLI_JS = $NPM_CLI_JS.Replace("``", "````")
|
||||
|
||||
$NPM_NO_REDIRECTS_COMMAND = [Management.Automation.Language.Parser]::ParseInput($NPM_ORIGINAL_COMMAND, [ref] $null, [ref] $null).
|
||||
EndBlock.Statements.PipelineElements.CommandElements.Extent.Text -join ' '
|
||||
$NPM_ARGS = $NPM_NO_REDIRECTS_COMMAND.Substring($MyInvocation.InvocationName.Length).Trim()
|
||||
|
||||
Invoke-Expression "& `"$NODE_EXE`" `"$NPM_CLI_JS`" $NPM_ARGS"
|
||||
}
|
||||
|
||||
exit $LASTEXITCODE
|
||||
|
|
22
deps/npm/bin/npx.ps1
vendored
22
deps/npm/bin/npx.ps1
vendored
|
@ -22,11 +22,27 @@ if (Test-Path $NPM_PREFIX_NPX_CLI_JS) {
|
|||
$NPX_CLI_JS=$NPM_PREFIX_NPX_CLI_JS
|
||||
}
|
||||
|
||||
# Support pipeline input
|
||||
if ($MyInvocation.ExpectingInput) {
|
||||
if ($MyInvocation.ExpectingInput) { # takes pipeline input
|
||||
$input | & $NODE_EXE $NPX_CLI_JS $args
|
||||
} else {
|
||||
} elseif (-not $MyInvocation.Line) { # used "-File" argument
|
||||
& $NODE_EXE $NPX_CLI_JS $args
|
||||
} else { # used "-Command" argument
|
||||
if ($MyInvocation.Statement) {
|
||||
$NPX_ORIGINAL_COMMAND = $MyInvocation.Statement
|
||||
} else {
|
||||
$NPX_ORIGINAL_COMMAND = (
|
||||
[Management.Automation.InvocationInfo].GetProperty('ScriptPosition', [Reflection.BindingFlags] 'Instance, NonPublic')
|
||||
).GetValue($MyInvocation).Text
|
||||
}
|
||||
|
||||
$NODE_EXE = $NODE_EXE.Replace("``", "````")
|
||||
$NPX_CLI_JS = $NPX_CLI_JS.Replace("``", "````")
|
||||
|
||||
$NPX_NO_REDIRECTS_COMMAND = [Management.Automation.Language.Parser]::ParseInput($NPX_ORIGINAL_COMMAND, [ref] $null, [ref] $null).
|
||||
EndBlock.Statements.PipelineElements.CommandElements.Extent.Text -join ' '
|
||||
$NPX_ARGS = $NPX_NO_REDIRECTS_COMMAND.Substring($MyInvocation.InvocationName.Length).Trim()
|
||||
|
||||
Invoke-Expression "& `"$NODE_EXE`" `"$NPX_CLI_JS`" $NPX_ARGS"
|
||||
}
|
||||
|
||||
exit $LASTEXITCODE
|
||||
|
|
|
@ -20,6 +20,8 @@ Create a new user in the specified registry, and save the credentials to
|
|||
the `.npmrc` file. If no registry is specified, the default registry
|
||||
will be used (see [`registry`](/using-npm/registry)).
|
||||
|
||||
When you run `npm adduser`, the CLI automatically generates a legacy token of `publish` type. For more information, see [About legacy tokens](/about-access-tokens#about-legacy-tokens).
|
||||
|
||||
When using `legacy` for your `auth-type`, the username, password, and
|
||||
email are read in from prompts.
|
||||
|
||||
|
|
6
deps/npm/docs/content/commands/npm-audit.md
vendored
6
deps/npm/docs/content/commands/npm-audit.md
vendored
|
@ -402,9 +402,9 @@ but can be useful for debugging.
|
|||
If true, npm does not run scripts specified in package.json files.
|
||||
|
||||
Note that commands explicitly intended to run a particular script, such as
|
||||
`npm start`, `npm stop`, `npm restart`, `npm test`, and `npm run-script`
|
||||
will still run their intended script if `ignore-scripts` is set, but they
|
||||
will *not* run any pre- or post-scripts.
|
||||
`npm start`, `npm stop`, `npm restart`, `npm test`, and `npm run` will still
|
||||
run their intended script if `ignore-scripts` is set, but they will *not*
|
||||
run any pre- or post-scripts.
|
||||
|
||||
|
||||
|
||||
|
|
6
deps/npm/docs/content/commands/npm-ci.md
vendored
6
deps/npm/docs/content/commands/npm-ci.md
vendored
|
@ -190,9 +190,9 @@ but can be useful for debugging.
|
|||
If true, npm does not run scripts specified in package.json files.
|
||||
|
||||
Note that commands explicitly intended to run a particular script, such as
|
||||
`npm start`, `npm stop`, `npm restart`, `npm test`, and `npm run-script`
|
||||
will still run their intended script if `ignore-scripts` is set, but they
|
||||
will *not* run any pre- or post-scripts.
|
||||
`npm start`, `npm stop`, `npm restart`, `npm test`, and `npm run` will still
|
||||
run their intended script if `ignore-scripts` is set, but they will *not*
|
||||
run any pre- or post-scripts.
|
||||
|
||||
|
||||
|
||||
|
|
6
deps/npm/docs/content/commands/npm-dedupe.md
vendored
6
deps/npm/docs/content/commands/npm-dedupe.md
vendored
|
@ -190,9 +190,9 @@ the order in which omit/include are specified on the command-line.
|
|||
If true, npm does not run scripts specified in package.json files.
|
||||
|
||||
Note that commands explicitly intended to run a particular script, such as
|
||||
`npm start`, `npm stop`, `npm restart`, `npm test`, and `npm run-script`
|
||||
will still run their intended script if `ignore-scripts` is set, but they
|
||||
will *not* run any pre- or post-scripts.
|
||||
`npm start`, `npm stop`, `npm restart`, `npm test`, and `npm run` will still
|
||||
run their intended script if `ignore-scripts` is set, but they will *not*
|
||||
run any pre- or post-scripts.
|
||||
|
||||
|
||||
|
||||
|
|
2
deps/npm/docs/content/commands/npm-exec.md
vendored
2
deps/npm/docs/content/commands/npm-exec.md
vendored
|
@ -355,7 +355,7 @@ project.
|
|||
|
||||
### See Also
|
||||
|
||||
* [npm run-script](/commands/npm-run-script)
|
||||
* [npm run](/commands/npm-run)
|
||||
* [npm scripts](/using-npm/scripts)
|
||||
* [npm test](/commands/npm-test)
|
||||
* [npm start](/commands/npm-start)
|
||||
|
|
|
@ -130,9 +130,9 @@ the order in which omit/include are specified on the command-line.
|
|||
If true, npm does not run scripts specified in package.json files.
|
||||
|
||||
Note that commands explicitly intended to run a particular script, such as
|
||||
`npm start`, `npm stop`, `npm restart`, `npm test`, and `npm run-script`
|
||||
will still run their intended script if `ignore-scripts` is set, but they
|
||||
will *not* run any pre- or post-scripts.
|
||||
`npm start`, `npm stop`, `npm restart`, `npm test`, and `npm run` will still
|
||||
run their intended script if `ignore-scripts` is set, but they will *not*
|
||||
run any pre- or post-scripts.
|
||||
|
||||
|
||||
|
||||
|
|
14
deps/npm/docs/content/commands/npm-init.md
vendored
14
deps/npm/docs/content/commands/npm-init.md
vendored
|
@ -92,6 +92,11 @@ Generate it without having it ask any questions:
|
|||
$ npm init -y
|
||||
```
|
||||
|
||||
Set the private flag to `true` in package.json:
|
||||
```bash
|
||||
$ npm init --init-private -y
|
||||
```
|
||||
|
||||
### Workspaces support
|
||||
|
||||
It's possible to create a new workspace within your project by using the
|
||||
|
@ -216,6 +221,15 @@ number, if not already set in package.json.
|
|||
|
||||
|
||||
|
||||
#### `init-private`
|
||||
|
||||
* Default: false
|
||||
* Type: Boolean
|
||||
|
||||
The value `npm init` should use by default for the package's private flag.
|
||||
|
||||
|
||||
|
||||
#### `yes`
|
||||
|
||||
* Default: null
|
||||
|
|
|
@ -136,9 +136,9 @@ but can be useful for debugging.
|
|||
If true, npm does not run scripts specified in package.json files.
|
||||
|
||||
Note that commands explicitly intended to run a particular script, such as
|
||||
`npm start`, `npm stop`, `npm restart`, `npm test`, and `npm run-script`
|
||||
will still run their intended script if `ignore-scripts` is set, but they
|
||||
will *not* run any pre- or post-scripts.
|
||||
`npm start`, `npm stop`, `npm restart`, `npm test`, and `npm run` will still
|
||||
run their intended script if `ignore-scripts` is set, but they will *not*
|
||||
run any pre- or post-scripts.
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -213,9 +213,9 @@ but can be useful for debugging.
|
|||
If true, npm does not run scripts specified in package.json files.
|
||||
|
||||
Note that commands explicitly intended to run a particular script, such as
|
||||
`npm start`, `npm stop`, `npm restart`, `npm test`, and `npm run-script`
|
||||
will still run their intended script if `ignore-scripts` is set, but they
|
||||
will *not* run any pre- or post-scripts.
|
||||
`npm start`, `npm stop`, `npm restart`, `npm test`, and `npm run` will still
|
||||
run their intended script if `ignore-scripts` is set, but they will *not*
|
||||
run any pre- or post-scripts.
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -601,9 +601,9 @@ but can be useful for debugging.
|
|||
If true, npm does not run scripts specified in package.json files.
|
||||
|
||||
Note that commands explicitly intended to run a particular script, such as
|
||||
`npm start`, `npm stop`, `npm restart`, `npm test`, and `npm run-script`
|
||||
will still run their intended script if `ignore-scripts` is set, but they
|
||||
will *not* run any pre- or post-scripts.
|
||||
`npm start`, `npm stop`, `npm restart`, `npm test`, and `npm run` will still
|
||||
run their intended script if `ignore-scripts` is set, but they will *not*
|
||||
run any pre- or post-scripts.
|
||||
|
||||
|
||||
|
||||
|
|
6
deps/npm/docs/content/commands/npm-link.md
vendored
6
deps/npm/docs/content/commands/npm-link.md
vendored
|
@ -263,9 +263,9 @@ the order in which omit/include are specified on the command-line.
|
|||
If true, npm does not run scripts specified in package.json files.
|
||||
|
||||
Note that commands explicitly intended to run a particular script, such as
|
||||
`npm start`, `npm stop`, `npm restart`, `npm test`, and `npm run-script`
|
||||
will still run their intended script if `ignore-scripts` is set, but they
|
||||
will *not* run any pre- or post-scripts.
|
||||
`npm start`, `npm stop`, `npm restart`, `npm test`, and `npm run` will still
|
||||
run their intended script if `ignore-scripts` is set, but they will *not*
|
||||
run any pre- or post-scripts.
|
||||
|
||||
|
||||
|
||||
|
|
2
deps/npm/docs/content/commands/npm-login.md
vendored
2
deps/npm/docs/content/commands/npm-login.md
vendored
|
@ -18,6 +18,8 @@ Verify a user in the specified registry, and save the credentials to the
|
|||
`.npmrc` file. If no registry is specified, the default registry will be
|
||||
used (see [`config`](/using-npm/config)).
|
||||
|
||||
When you run `npm login`, the CLI automatically generates a legacy token of `publish` type. For more information, see [About legacy tokens](/about-access-tokens#about-legacy-tokens).
|
||||
|
||||
When using `legacy` for your `auth-type`, the username and password, are
|
||||
read in from prompts.
|
||||
|
||||
|
|
2
deps/npm/docs/content/commands/npm-ls.md
vendored
2
deps/npm/docs/content/commands/npm-ls.md
vendored
|
@ -27,7 +27,7 @@ packages will *also* show the paths to the specified packages. For
|
|||
example, running `npm ls promzard` in npm's source tree will show:
|
||||
|
||||
```bash
|
||||
npm@11.3.0 /path/to/npm
|
||||
npm@11.4.2 /path/to/npm
|
||||
└─┬ init-package-json@0.0.4
|
||||
└── promzard@0.1.5
|
||||
```
|
||||
|
|
|
@ -39,6 +39,7 @@ In the output:
|
|||
included in `package.json` are always marked `dependencies`.
|
||||
* `homepage` (when using `--long` / `-l`) is the `homepage` value contained
|
||||
in the package's packument
|
||||
* `depended by location` (when using `--long` / `-l`) shows location of the package that depends on the displayed dependency
|
||||
* Red means there's a newer version matching your semver requirements, so
|
||||
you should update now.
|
||||
* Yellow indicates that there's a newer version _above_ your semver
|
||||
|
|
6
deps/npm/docs/content/commands/npm-pack.md
vendored
6
deps/npm/docs/content/commands/npm-pack.md
vendored
|
@ -111,9 +111,9 @@ This value is not exported to the environment for child processes.
|
|||
If true, npm does not run scripts specified in package.json files.
|
||||
|
||||
Note that commands explicitly intended to run a particular script, such as
|
||||
`npm start`, `npm stop`, `npm restart`, `npm test`, and `npm run-script`
|
||||
will still run their intended script if `ignore-scripts` is set, but they
|
||||
will *not* run any pre- or post-scripts.
|
||||
`npm start`, `npm stop`, `npm restart`, `npm test`, and `npm run` will still
|
||||
run their intended script if `ignore-scripts` is set, but they will *not*
|
||||
run any pre- or post-scripts.
|
||||
|
||||
|
||||
|
||||
|
|
6
deps/npm/docs/content/commands/npm-prune.md
vendored
6
deps/npm/docs/content/commands/npm-prune.md
vendored
|
@ -120,9 +120,9 @@ but can be useful for debugging.
|
|||
If true, npm does not run scripts specified in package.json files.
|
||||
|
||||
Note that commands explicitly intended to run a particular script, such as
|
||||
`npm start`, `npm stop`, `npm restart`, `npm test`, and `npm run-script`
|
||||
will still run their intended script if `ignore-scripts` is set, but they
|
||||
will *not* run any pre- or post-scripts.
|
||||
`npm start`, `npm stop`, `npm restart`, `npm test`, and `npm run` will still
|
||||
run their intended script if `ignore-scripts` is set, but they will *not*
|
||||
run any pre- or post-scripts.
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -93,9 +93,9 @@ but can be useful for debugging.
|
|||
If true, npm does not run scripts specified in package.json files.
|
||||
|
||||
Note that commands explicitly intended to run a particular script, such as
|
||||
`npm start`, `npm stop`, `npm restart`, `npm test`, and `npm run-script`
|
||||
will still run their intended script if `ignore-scripts` is set, but they
|
||||
will *not* run any pre- or post-scripts.
|
||||
`npm start`, `npm stop`, `npm restart`, `npm test`, and `npm run` will still
|
||||
run their intended script if `ignore-scripts` is set, but they will *not*
|
||||
run any pre- or post-scripts.
|
||||
|
||||
|
||||
|
||||
|
|
10
deps/npm/docs/content/commands/npm-restart.md
vendored
10
deps/npm/docs/content/commands/npm-restart.md
vendored
|
@ -12,7 +12,7 @@ npm restart [-- <args>]
|
|||
|
||||
### Description
|
||||
|
||||
This restarts a project. It is equivalent to running `npm run-script
|
||||
This restarts a project. It is equivalent to running `npm run
|
||||
restart`.
|
||||
|
||||
If the current project has a `"restart"` script specified in
|
||||
|
@ -44,9 +44,9 @@ If it does _not_ have a `"restart"` script specified, but it does have
|
|||
If true, npm does not run scripts specified in package.json files.
|
||||
|
||||
Note that commands explicitly intended to run a particular script, such as
|
||||
`npm start`, `npm stop`, `npm restart`, `npm test`, and `npm run-script`
|
||||
will still run their intended script if `ignore-scripts` is set, but they
|
||||
will *not* run any pre- or post-scripts.
|
||||
`npm start`, `npm stop`, `npm restart`, `npm test`, and `npm run` will still
|
||||
run their intended script if `ignore-scripts` is set, but they will *not*
|
||||
run any pre- or post-scripts.
|
||||
|
||||
|
||||
|
||||
|
@ -62,7 +62,7 @@ init <package-spec>` commands.
|
|||
|
||||
### See Also
|
||||
|
||||
* [npm run-script](/commands/npm-run-script)
|
||||
* [npm run](/commands/npm-run)
|
||||
* [npm scripts](/using-npm/scripts)
|
||||
* [npm test](/commands/npm-test)
|
||||
* [npm start](/commands/npm-start)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
title: npm-run-script
|
||||
title: npm-run
|
||||
section: 1
|
||||
description: Run arbitrary package scripts
|
||||
---
|
||||
|
@ -7,9 +7,9 @@ description: Run arbitrary package scripts
|
|||
### Synopsis
|
||||
|
||||
```bash
|
||||
npm run-script <command> [-- <args>]
|
||||
npm run <command> [-- <args>]
|
||||
|
||||
aliases: run, rum, urn
|
||||
aliases: run-script, rum, urn
|
||||
```
|
||||
|
||||
### Description
|
||||
|
@ -195,10 +195,10 @@ This value is not exported to the environment for child processes.
|
|||
* Default: false
|
||||
* Type: Boolean
|
||||
|
||||
If true, npm will not exit with an error code when `run-script` is invoked
|
||||
for a script that isn't defined in the `scripts` section of `package.json`.
|
||||
This option can be used when it's desirable to optionally run a script when
|
||||
it's present and fail if the script fails. This is useful, for example, when
|
||||
If true, npm will not exit with an error code when `run` is invoked for a
|
||||
script that isn't defined in the `scripts` section of `package.json`. This
|
||||
option can be used when it's desirable to optionally run a script when it's
|
||||
present and fail if the script fails. This is useful, for example, when
|
||||
running scripts that may only apply for some builds in an otherwise generic
|
||||
CI setup.
|
||||
|
||||
|
@ -212,9 +212,9 @@ This value is not exported to the environment for child processes.
|
|||
If true, npm does not run scripts specified in package.json files.
|
||||
|
||||
Note that commands explicitly intended to run a particular script, such as
|
||||
`npm start`, `npm stop`, `npm restart`, `npm test`, and `npm run-script`
|
||||
will still run their intended script if `ignore-scripts` is set, but they
|
||||
will *not* run any pre- or post-scripts.
|
||||
`npm start`, `npm stop`, `npm restart`, `npm test`, and `npm run` will still
|
||||
run their intended script if `ignore-scripts` is set, but they will *not*
|
||||
run any pre- or post-scripts.
|
||||
|
||||
|
||||
|
|
@ -24,7 +24,7 @@ design and purpose of package locks in npm, see
|
|||
### See Also
|
||||
|
||||
* [npm install](/commands/npm-install)
|
||||
* [npm run-script](/commands/npm-run-script)
|
||||
* [npm run](/commands/npm-run)
|
||||
* [npm scripts](/using-npm/scripts)
|
||||
* [package.json](/configuring-npm/package-json)
|
||||
* [package-lock.json](/configuring-npm/package-lock-json)
|
||||
|
|
10
deps/npm/docs/content/commands/npm-start.md
vendored
10
deps/npm/docs/content/commands/npm-start.md
vendored
|
@ -23,7 +23,7 @@ the file specified in a package's `"main"` attribute when evoking with
|
|||
`node .`
|
||||
|
||||
As of [`npm@2.0.0`](https://blog.npmjs.org/post/98131109725/npm-2-0-0), you can
|
||||
use custom arguments when executing scripts. Refer to [`npm run-script`](/commands/npm-run-script) for more details.
|
||||
use custom arguments when executing scripts. Refer to [`npm run`](/commands/npm-run) for more details.
|
||||
|
||||
### Example
|
||||
|
||||
|
@ -55,9 +55,9 @@ npm start
|
|||
If true, npm does not run scripts specified in package.json files.
|
||||
|
||||
Note that commands explicitly intended to run a particular script, such as
|
||||
`npm start`, `npm stop`, `npm restart`, `npm test`, and `npm run-script`
|
||||
will still run their intended script if `ignore-scripts` is set, but they
|
||||
will *not* run any pre- or post-scripts.
|
||||
`npm start`, `npm stop`, `npm restart`, `npm test`, and `npm run` will still
|
||||
run their intended script if `ignore-scripts` is set, but they will *not*
|
||||
run any pre- or post-scripts.
|
||||
|
||||
|
||||
|
||||
|
@ -73,7 +73,7 @@ init <package-spec>` commands.
|
|||
|
||||
### See Also
|
||||
|
||||
* [npm run-script](/commands/npm-run-script)
|
||||
* [npm run](/commands/npm-run)
|
||||
* [npm scripts](/using-npm/scripts)
|
||||
* [npm test](/commands/npm-test)
|
||||
* [npm restart](/commands/npm-restart)
|
||||
|
|
8
deps/npm/docs/content/commands/npm-stop.md
vendored
8
deps/npm/docs/content/commands/npm-stop.md
vendored
|
@ -48,9 +48,9 @@ npm stop
|
|||
If true, npm does not run scripts specified in package.json files.
|
||||
|
||||
Note that commands explicitly intended to run a particular script, such as
|
||||
`npm start`, `npm stop`, `npm restart`, `npm test`, and `npm run-script`
|
||||
will still run their intended script if `ignore-scripts` is set, but they
|
||||
will *not* run any pre- or post-scripts.
|
||||
`npm start`, `npm stop`, `npm restart`, `npm test`, and `npm run` will still
|
||||
run their intended script if `ignore-scripts` is set, but they will *not*
|
||||
run any pre- or post-scripts.
|
||||
|
||||
|
||||
|
||||
|
@ -66,7 +66,7 @@ init <package-spec>` commands.
|
|||
|
||||
### See Also
|
||||
|
||||
* [npm run-script](/commands/npm-run-script)
|
||||
* [npm run](/commands/npm-run)
|
||||
* [npm scripts](/using-npm/scripts)
|
||||
* [npm test](/commands/npm-test)
|
||||
* [npm start](/commands/npm-start)
|
||||
|
|
8
deps/npm/docs/content/commands/npm-test.md
vendored
8
deps/npm/docs/content/commands/npm-test.md
vendored
|
@ -45,9 +45,9 @@ npm test
|
|||
If true, npm does not run scripts specified in package.json files.
|
||||
|
||||
Note that commands explicitly intended to run a particular script, such as
|
||||
`npm start`, `npm stop`, `npm restart`, `npm test`, and `npm run-script`
|
||||
will still run their intended script if `ignore-scripts` is set, but they
|
||||
will *not* run any pre- or post-scripts.
|
||||
`npm start`, `npm stop`, `npm restart`, `npm test`, and `npm run` will still
|
||||
run their intended script if `ignore-scripts` is set, but they will *not*
|
||||
run any pre- or post-scripts.
|
||||
|
||||
|
||||
|
||||
|
@ -63,7 +63,7 @@ init <package-spec>` commands.
|
|||
|
||||
### See Also
|
||||
|
||||
* [npm run-script](/commands/npm-run-script)
|
||||
* [npm run](/commands/npm-run)
|
||||
* [npm scripts](/using-npm/scripts)
|
||||
* [npm start](/commands/npm-start)
|
||||
* [npm restart](/commands/npm-restart)
|
||||
|
|
6
deps/npm/docs/content/commands/npm-update.md
vendored
6
deps/npm/docs/content/commands/npm-update.md
vendored
|
@ -314,9 +314,9 @@ but can be useful for debugging.
|
|||
If true, npm does not run scripts specified in package.json files.
|
||||
|
||||
Note that commands explicitly intended to run a particular script, such as
|
||||
`npm start`, `npm stop`, `npm restart`, `npm test`, and `npm run-script`
|
||||
will still run their intended script if `ignore-scripts` is set, but they
|
||||
will *not* run any pre- or post-scripts.
|
||||
`npm start`, `npm stop`, `npm restart`, `npm test`, and `npm run` will still
|
||||
run their intended script if `ignore-scripts` is set, but they will *not*
|
||||
run any pre- or post-scripts.
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -229,7 +229,7 @@ deletes the `build/temp` directory.
|
|||
### See Also
|
||||
|
||||
* [npm init](/commands/npm-init)
|
||||
* [npm run-script](/commands/npm-run-script)
|
||||
* [npm run](/commands/npm-run)
|
||||
* [npm scripts](/using-npm/scripts)
|
||||
* [package.json](/configuring-npm/package-json)
|
||||
* [config](/using-npm/config)
|
||||
|
|
2
deps/npm/docs/content/commands/npm.md
vendored
2
deps/npm/docs/content/commands/npm.md
vendored
|
@ -14,7 +14,7 @@ Note: This command is unaware of workspaces.
|
|||
|
||||
### Version
|
||||
|
||||
11.3.0
|
||||
11.4.2
|
||||
|
||||
### Description
|
||||
|
||||
|
|
2
deps/npm/docs/content/commands/npx.md
vendored
2
deps/npm/docs/content/commands/npx.md
vendored
|
@ -158,7 +158,7 @@ This resulted in some shifts in its functionality:
|
|||
|
||||
### See Also
|
||||
|
||||
* [npm run-script](/commands/npm-run-script)
|
||||
* [npm run](/commands/npm-run)
|
||||
* [npm scripts](/using-npm/scripts)
|
||||
* [npm test](/commands/npm-test)
|
||||
* [npm start](/commands/npm-start)
|
||||
|
|
|
@ -76,15 +76,6 @@ See [`npm cache`](/commands/npm-cache). Cache files are stored in `~/.npm` on P
|
|||
|
||||
This is controlled by the [`cache` config](/using-npm/config#cache) param.
|
||||
|
||||
#### Temp Files
|
||||
|
||||
Temporary files are stored by default in the folder specified by the
|
||||
[`tmp` config](/using-npm/config#tmp), which defaults to the TMPDIR, TMP, or
|
||||
TEMP environment variables, or `/tmp` on Unix and `c:\windows\temp` on Windows.
|
||||
|
||||
Temp files are given a unique folder under this root for each run of the
|
||||
program, and are deleted upon successful exit.
|
||||
|
||||
### More Information
|
||||
|
||||
When installing locally, npm first tries to find an appropriate
|
||||
|
|
|
@ -378,7 +378,7 @@ file in the `bin` field, so it is available to run by `name` or `name.cmd` (on
|
|||
Windows PowerShell). When this package is installed as a dependency in another
|
||||
package, the file will be linked where it will be available to that package
|
||||
either directly by `npm exec` or by name in other scripts when invoking them
|
||||
via `npm run-script`.
|
||||
via `npm run`.
|
||||
|
||||
|
||||
For example, myapp could have this:
|
||||
|
@ -589,7 +589,7 @@ had the following:
|
|||
}
|
||||
```
|
||||
|
||||
It could also have a "start" command that referenced the
|
||||
It could also have a "start" script that referenced the
|
||||
`npm_package_config_port` environment variable.
|
||||
|
||||
### dependencies
|
||||
|
@ -951,7 +951,7 @@ resolution. Published packages may dictate their resolutions by pinning
|
|||
dependencies or using an
|
||||
[`npm-shrinkwrap.json`](/configuring-npm/npm-shrinkwrap-json) file.
|
||||
|
||||
To make sure the package `foo` is always installed as version `1.0.0` no matter
|
||||
To make sure the package `@npm/foo` is always installed as version `1.0.0` no matter
|
||||
what version your dependencies rely on:
|
||||
|
||||
```json
|
||||
|
|
31
deps/npm/docs/content/using-npm/config.md
vendored
31
deps/npm/docs/content/using-npm/config.md
vendored
|
@ -698,10 +698,10 @@ library.
|
|||
* Default: false
|
||||
* Type: Boolean
|
||||
|
||||
If true, npm will not exit with an error code when `run-script` is invoked
|
||||
for a script that isn't defined in the `scripts` section of `package.json`.
|
||||
This option can be used when it's desirable to optionally run a script when
|
||||
it's present and fail if the script fails. This is useful, for example, when
|
||||
If true, npm will not exit with an error code when `run` is invoked for a
|
||||
script that isn't defined in the `scripts` section of `package.json`. This
|
||||
option can be used when it's desirable to optionally run a script when it's
|
||||
present and fail if the script fails. This is useful, for example, when
|
||||
running scripts that may only apply for some builds in an otherwise generic
|
||||
CI setup.
|
||||
|
||||
|
@ -715,9 +715,9 @@ This value is not exported to the environment for child processes.
|
|||
If true, npm does not run scripts specified in package.json files.
|
||||
|
||||
Note that commands explicitly intended to run a particular script, such as
|
||||
`npm start`, `npm stop`, `npm restart`, `npm test`, and `npm run-script`
|
||||
will still run their intended script if `ignore-scripts` is set, but they
|
||||
will *not* run any pre- or post-scripts.
|
||||
`npm start`, `npm stop`, `npm restart`, `npm test`, and `npm run` will still
|
||||
run their intended script if `ignore-scripts` is set, but they will *not*
|
||||
run any pre- or post-scripts.
|
||||
|
||||
|
||||
|
||||
|
@ -809,6 +809,15 @@ more information, or [npm init](/commands/npm-init).
|
|||
|
||||
|
||||
|
||||
#### `init-private`
|
||||
|
||||
* Default: false
|
||||
* Type: Boolean
|
||||
|
||||
The value `npm init` should use by default for the package's private flag.
|
||||
|
||||
|
||||
|
||||
#### `init-type`
|
||||
|
||||
* Default: "commonjs"
|
||||
|
@ -1355,7 +1364,7 @@ Ignored if `--save-peer` is set, since peerDependencies cannot be bundled.
|
|||
|
||||
Save installed packages to a package.json file as `devDependencies`.
|
||||
|
||||
|
||||
This config can not be used with: `save-optional`, `save-peer`, `save-prod`
|
||||
|
||||
#### `save-exact`
|
||||
|
||||
|
@ -1374,7 +1383,7 @@ rather than using npm's default semver range operator.
|
|||
|
||||
Save installed packages to a package.json file as `optionalDependencies`.
|
||||
|
||||
|
||||
This config can not be used with: `save-dev`, `save-peer`, `save-prod`
|
||||
|
||||
#### `save-peer`
|
||||
|
||||
|
@ -1383,7 +1392,7 @@ Save installed packages to a package.json file as `optionalDependencies`.
|
|||
|
||||
Save installed packages to a package.json file as `peerDependencies`
|
||||
|
||||
|
||||
This config can not be used with: `save-dev`, `save-optional`, `save-prod`
|
||||
|
||||
#### `save-prefix`
|
||||
|
||||
|
@ -1412,7 +1421,7 @@ you want to move it to be a non-optional production dependency.
|
|||
This is the default behavior if `--save` is true, and neither `--save-dev`
|
||||
or `--save-optional` are true.
|
||||
|
||||
|
||||
This config can not be used with: `save-dev`, `save-optional`, `save-peer`
|
||||
|
||||
#### `sbom-format`
|
||||
|
||||
|
|
|
@ -139,7 +139,6 @@ The following paths and files are never ignored, so adding them to
|
|||
|
||||
* `package.json`
|
||||
* `README` (and its variants)
|
||||
* `CHANGELOG` (and its variants)
|
||||
* `LICENSE` / `LICENCE`
|
||||
|
||||
If, given the structure of your project, you find `.npmignore` to be a
|
||||
|
|
3
deps/npm/docs/content/using-npm/registry.md
vendored
3
deps/npm/docs/content/using-npm/registry.md
vendored
|
@ -22,9 +22,6 @@ npm's package registry implementation supports several
|
|||
write APIs as well, to allow for publishing packages and managing user
|
||||
account information.
|
||||
|
||||
The npm public registry is powered by a CouchDB database,
|
||||
of which there is a public mirror at <https://skimdb.npmjs.com/registry>.
|
||||
|
||||
The registry URL used is determined by the scope of the package (see
|
||||
[`scope`](/using-npm/scope). If no scope is specified, the default registry is
|
||||
used, which is supplied by the [`registry` config](/using-npm/config#registry)
|
||||
|
|
28
deps/npm/docs/content/using-npm/scripts.md
vendored
28
deps/npm/docs/content/using-npm/scripts.md
vendored
|
@ -9,7 +9,7 @@ description: How npm handles the "scripts" field
|
|||
The `"scripts"` property of your `package.json` file supports a number
|
||||
of built-in scripts and their preset life cycle events as well as
|
||||
arbitrary scripts. These all can be executed by running
|
||||
`npm run-script <stage>` or `npm run <stage>` for short. *Pre* and *post*
|
||||
`npm run <stage>` or `npm run <stage>` for short. *Pre* and *post*
|
||||
commands with matching names will be run for those as well (e.g. `premyscript`,
|
||||
`myscript`, `postmyscript`). Scripts from dependencies can be run with
|
||||
`npm explore <pkg> -- npm run <stage>`.
|
||||
|
@ -46,6 +46,7 @@ situations. These scripts happen in addition to the `pre<event>`, `post<event>`,
|
|||
and `npm pack`
|
||||
* Runs on local `npm install` without any arguments
|
||||
* Runs AFTER `prepublish`, but BEFORE `prepublishOnly`
|
||||
* Runs for a package if it's being installed as a link through `npm install <folder>`
|
||||
|
||||
* NOTE: If a package being installed through git contains a `prepare`
|
||||
script, its `dependencies` and `devDependencies` will be installed, and
|
||||
|
@ -179,7 +180,7 @@ If there is a `restart` script defined, these events are run, otherwise
|
|||
* `restart`
|
||||
* `postrestart`
|
||||
|
||||
#### [`npm run <user defined>`](/commands/npm-run-script)
|
||||
#### [`npm run <user defined>`](/commands/npm-run)
|
||||
|
||||
* `pre<user-defined>`
|
||||
* `<user-defined>`
|
||||
|
@ -227,6 +228,20 @@ Reasons for a package removal include:
|
|||
|
||||
Due to the lack of necessary context, `uninstall` lifecycle scripts are not implemented and will not function.
|
||||
|
||||
### Working Directory for Scripts
|
||||
|
||||
Scripts are always run from the root of the package folder, regardless of what the current working directory is when `npm` is invoked. This means your scripts can reliably assume they are running in the package root.
|
||||
|
||||
If you want your script to behave differently based on the directory you were in when you ran `npm`, you can use the `INIT_CWD` environment variable, which holds the full path you were in when you ran `npm run`.
|
||||
|
||||
#### Historical Behavior in Older npm Versions
|
||||
|
||||
For npm v6 and earlier, scripts were generally run from the root of the package, but there were rare cases and bugs in older versions where this was not guaranteed. If your package must support very old npm versions, you may wish to add a safeguard in your scripts (for example, by checking process.cwd()).
|
||||
|
||||
For more details, see:
|
||||
- [npm v7 release notes](https://github.com/npm/cli/releases/tag/v7.0.0)
|
||||
- [Discussion about script working directory reliability in npm v6 and earlier](https://github.com/npm/npm/issues/12356)
|
||||
|
||||
### User
|
||||
|
||||
When npm is run as root, scripts are always run with the effective uid
|
||||
|
@ -319,7 +334,7 @@ fine:
|
|||
|
||||
### Exiting
|
||||
|
||||
Scripts are run by passing the line as a script argument to `sh`.
|
||||
Scripts are run by passing the line as a script argument to `/bin/sh` on POSIX systems or `cmd.exe` on Windows. You can control which shell is used by setting the [`script-shell`](/using-npm/config#script-shell) configuration option.
|
||||
|
||||
If the script exits with a code other than 0, then this will abort the
|
||||
process.
|
||||
|
@ -349,15 +364,10 @@ file.
|
|||
preinstall or install script. If you are doing this, please consider if
|
||||
there is another option. The only valid use of `install` or `preinstall`
|
||||
scripts is for compilation which must be done on the target architecture.
|
||||
* Scripts are run from the root of the package folder, regardless of what the
|
||||
current working directory is when `npm` is invoked. If you want your
|
||||
script to use different behavior based on what subdirectory you're in, you
|
||||
can use the `INIT_CWD` environment variable, which holds the full path you
|
||||
were in when you ran `npm run`.
|
||||
|
||||
### See Also
|
||||
|
||||
* [npm run-script](/commands/npm-run-script)
|
||||
* [npm run](/commands/npm-run)
|
||||
* [package.json](/configuring-npm/package-json)
|
||||
* [npm developers](/using-npm/developers)
|
||||
* [npm install](/commands/npm-install)
|
||||
|
|
|
@ -221,6 +221,6 @@ npm run test --workspaces --if-present
|
|||
|
||||
* [npm install](/commands/npm-install)
|
||||
* [npm publish](/commands/npm-publish)
|
||||
* [npm run-script](/commands/npm-run-script)
|
||||
* [npm run](/commands/npm-run)
|
||||
* [config](/using-npm/config)
|
||||
|
||||
|
|
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-access----1130">
|
||||
<h1 id="----npm-access----1142">
|
||||
<span>npm-access</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Set access level on published packages</span>
|
||||
</header>
|
||||
|
@ -256,7 +256,7 @@ password, npm will prompt on the command line for one.</p>
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-access.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-access.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-adduser----1130">
|
||||
<h1 id="----npm-adduser----1142">
|
||||
<span>npm-adduser</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Add a registry user account</span>
|
||||
</header>
|
||||
|
@ -163,6 +163,7 @@ alias: add-user
|
|||
<p>Create a new user in the specified registry, and save the credentials to
|
||||
the <code>.npmrc</code> file. If no registry is specified, the default registry
|
||||
will be used (see <a href="../using-npm/registry.html"><code>registry</code></a>).</p>
|
||||
<p>When you run <code>npm adduser</code>, the CLI automatically generates a legacy token of <code>publish</code> type. For more information, see <a href="../about-access-tokens#about-legacy-tokens.html">About legacy tokens</a>.</p>
|
||||
<p>When using <code>legacy</code> for your <code>auth-type</code>, the username, password, and
|
||||
email are read in from prompts.</p>
|
||||
<h3 id="configuration">Configuration</h3>
|
||||
|
@ -212,7 +213,7 @@ config is given, this value will always be set to <code>legacy</code>.</p>
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-adduser.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-adduser.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
12
deps/npm/docs/output/commands/npm-audit.html
vendored
12
deps/npm/docs/output/commands/npm-audit.html
vendored
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-audit----1130">
|
||||
<h1 id="----npm-audit----1142">
|
||||
<span>npm-audit</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Run a security audit</span>
|
||||
</header>
|
||||
|
@ -440,9 +440,9 @@ but can be useful for debugging.</p>
|
|||
</ul>
|
||||
<p>If true, npm does not run scripts specified in package.json files.</p>
|
||||
<p>Note that commands explicitly intended to run a particular script, such as
|
||||
<code>npm start</code>, <code>npm stop</code>, <code>npm restart</code>, <code>npm test</code>, and <code>npm run-script</code>
|
||||
will still run their intended script if <code>ignore-scripts</code> is set, but they
|
||||
will <em>not</em> run any pre- or post-scripts.</p>
|
||||
<code>npm start</code>, <code>npm stop</code>, <code>npm restart</code>, <code>npm test</code>, and <code>npm run</code> will still
|
||||
run their intended script if <code>ignore-scripts</code> is set, but they will <em>not</em>
|
||||
run any pre- or post-scripts.</p>
|
||||
<h4 id="workspace"><code>workspace</code></h4>
|
||||
<ul>
|
||||
<li>Default:</li>
|
||||
|
@ -503,7 +503,7 @@ workspaces.</p>
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-audit.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-audit.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
6
deps/npm/docs/output/commands/npm-bugs.html
vendored
6
deps/npm/docs/output/commands/npm-bugs.html
vendored
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-bugs----1130">
|
||||
<h1 id="----npm-bugs----1142">
|
||||
<span>npm-bugs</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Report bugs for a package in a web browser</span>
|
||||
</header>
|
||||
|
@ -237,7 +237,7 @@ the specified workspaces, and not on the root project.</p>
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-bugs.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-bugs.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
6
deps/npm/docs/output/commands/npm-cache.html
vendored
6
deps/npm/docs/output/commands/npm-cache.html
vendored
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-cache----1130">
|
||||
<h1 id="----npm-cache----1142">
|
||||
<span>npm-cache</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Manipulates packages cache</span>
|
||||
</header>
|
||||
|
@ -232,7 +232,7 @@ Get detailed information about given entries in the npx cache.</p>
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-cache.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-cache.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
12
deps/npm/docs/output/commands/npm-ci.html
vendored
12
deps/npm/docs/output/commands/npm-ci.html
vendored
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-ci----1130">
|
||||
<h1 id="----npm-ci----1142">
|
||||
<span>npm-ci</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Clean install a project</span>
|
||||
</header>
|
||||
|
@ -292,9 +292,9 @@ but can be useful for debugging.</p>
|
|||
</ul>
|
||||
<p>If true, npm does not run scripts specified in package.json files.</p>
|
||||
<p>Note that commands explicitly intended to run a particular script, such as
|
||||
<code>npm start</code>, <code>npm stop</code>, <code>npm restart</code>, <code>npm test</code>, and <code>npm run-script</code>
|
||||
will still run their intended script if <code>ignore-scripts</code> is set, but they
|
||||
will <em>not</em> run any pre- or post-scripts.</p>
|
||||
<code>npm start</code>, <code>npm stop</code>, <code>npm restart</code>, <code>npm test</code>, and <code>npm run</code> will still
|
||||
run their intended script if <code>ignore-scripts</code> is set, but they will <em>not</em>
|
||||
run any pre- or post-scripts.</p>
|
||||
<h4 id="audit"><code>audit</code></h4>
|
||||
<ul>
|
||||
<li>Default: true</li>
|
||||
|
@ -392,7 +392,7 @@ workspaces.</p>
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-ci.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-ci.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-completion----1130">
|
||||
<h1 id="----npm-completion----1142">
|
||||
<span>npm-completion</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Tab Completion for npm</span>
|
||||
</header>
|
||||
|
@ -180,7 +180,7 @@ completions based on the arguments.</p>
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-completion.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-completion.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-config----1130">
|
||||
<h1 id="----npm-config----1142">
|
||||
<span>npm-config</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Manage the npm configuration files</span>
|
||||
</header>
|
||||
|
@ -277,7 +277,7 @@ of the current working directory.</li>
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-config.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-config.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
12
deps/npm/docs/output/commands/npm-dedupe.html
vendored
12
deps/npm/docs/output/commands/npm-dedupe.html
vendored
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-dedupe----1130">
|
||||
<h1 id="----npm-dedupe----1142">
|
||||
<span>npm-dedupe</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Reduce duplication in the package tree</span>
|
||||
</header>
|
||||
|
@ -287,9 +287,9 @@ the order in which omit/include are specified on the command-line.</p>
|
|||
</ul>
|
||||
<p>If true, npm does not run scripts specified in package.json files.</p>
|
||||
<p>Note that commands explicitly intended to run a particular script, such as
|
||||
<code>npm start</code>, <code>npm stop</code>, <code>npm restart</code>, <code>npm test</code>, and <code>npm run-script</code>
|
||||
will still run their intended script if <code>ignore-scripts</code> is set, but they
|
||||
will <em>not</em> run any pre- or post-scripts.</p>
|
||||
<code>npm start</code>, <code>npm stop</code>, <code>npm restart</code>, <code>npm test</code>, and <code>npm run</code> will still
|
||||
run their intended script if <code>ignore-scripts</code> is set, but they will <em>not</em>
|
||||
run any pre- or post-scripts.</p>
|
||||
<h4 id="audit"><code>audit</code></h4>
|
||||
<ul>
|
||||
<li>Default: true</li>
|
||||
|
@ -389,7 +389,7 @@ workspaces.</p>
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-dedupe.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-dedupe.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-deprecate----1130">
|
||||
<h1 id="----npm-deprecate----1142">
|
||||
<span>npm-deprecate</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Deprecate a version of a package</span>
|
||||
</header>
|
||||
|
@ -211,7 +211,7 @@ commands that modify your local installation, eg, <code>install</code>, <code>up
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-deprecate.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-deprecate.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
6
deps/npm/docs/output/commands/npm-diff.html
vendored
6
deps/npm/docs/output/commands/npm-diff.html
vendored
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-diff----1130">
|
||||
<h1 id="----npm-diff----1142">
|
||||
<span>npm-diff</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">The registry diff command</span>
|
||||
</header>
|
||||
|
@ -393,7 +393,7 @@ the specified workspaces, and not on the root project.</p>
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-diff.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-diff.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-dist-tag----1130">
|
||||
<h1 id="----npm-dist-tag----1142">
|
||||
<span>npm-dist-tag</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Modify package distribution tags</span>
|
||||
</header>
|
||||
|
@ -275,7 +275,7 @@ the specified workspaces, and not on the root project.</p>
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-dist-tag.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-dist-tag.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
6
deps/npm/docs/output/commands/npm-docs.html
vendored
6
deps/npm/docs/output/commands/npm-docs.html
vendored
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-docs----1130">
|
||||
<h1 id="----npm-docs----1142">
|
||||
<span>npm-docs</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Open documentation for a package in a web browser</span>
|
||||
</header>
|
||||
|
@ -236,7 +236,7 @@ the specified workspaces, and not on the root project.</p>
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-docs.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-docs.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-doctor----1130">
|
||||
<h1 id="----npm-doctor----1142">
|
||||
<span>npm-doctor</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Check the health of your npm environment</span>
|
||||
</header>
|
||||
|
@ -248,7 +248,7 @@ reset the cache.</p>
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-doctor.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-doctor.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
6
deps/npm/docs/output/commands/npm-edit.html
vendored
6
deps/npm/docs/output/commands/npm-edit.html
vendored
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-edit----1130">
|
||||
<h1 id="----npm-edit----1142">
|
||||
<span>npm-edit</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Edit an installed package</span>
|
||||
</header>
|
||||
|
@ -184,7 +184,7 @@ changes to your locally installed copy.</p>
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-edit.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-edit.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
8
deps/npm/docs/output/commands/npm-exec.html
vendored
8
deps/npm/docs/output/commands/npm-exec.html
vendored
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-exec----1130">
|
||||
<h1 id="----npm-exec----1142">
|
||||
<span>npm-exec</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Run a command from a local or remote npm package</span>
|
||||
</header>
|
||||
|
@ -417,7 +417,7 @@ nested workspaces)</li>
|
|||
project.</p>
|
||||
<h3 id="see-also">See Also</h3>
|
||||
<ul>
|
||||
<li><a href="../commands/npm-run-script.html">npm run-script</a></li>
|
||||
<li><a href="../commands/npm-run.html">npm run</a></li>
|
||||
<li><a href="../using-npm/scripts.html">npm scripts</a></li>
|
||||
<li><a href="../commands/npm-test.html">npm test</a></li>
|
||||
<li><a href="../commands/npm-start.html">npm start</a></li>
|
||||
|
@ -429,7 +429,7 @@ project.</p>
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-exec.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-exec.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-explain----1130">
|
||||
<h1 id="----npm-explain----1142">
|
||||
<span>npm-explain</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Explain installed packages</span>
|
||||
</header>
|
||||
|
@ -236,7 +236,7 @@ brand new workspace within the project.</p>
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-explain.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-explain.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-explore----1130">
|
||||
<h1 id="----npm-explore----1142">
|
||||
<span>npm-explore</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Browse an installed package</span>
|
||||
</header>
|
||||
|
@ -184,7 +184,7 @@ Windows</li>
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-explore.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-explore.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-find-dupes----1130">
|
||||
<h1 id="----npm-find-dupes----1142">
|
||||
<span>npm-find-dupes</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Find duplication in the package tree</span>
|
||||
</header>
|
||||
|
@ -244,9 +244,9 @@ the order in which omit/include are specified on the command-line.</p>
|
|||
</ul>
|
||||
<p>If true, npm does not run scripts specified in package.json files.</p>
|
||||
<p>Note that commands explicitly intended to run a particular script, such as
|
||||
<code>npm start</code>, <code>npm stop</code>, <code>npm restart</code>, <code>npm test</code>, and <code>npm run-script</code>
|
||||
will still run their intended script if <code>ignore-scripts</code> is set, but they
|
||||
will <em>not</em> run any pre- or post-scripts.</p>
|
||||
<code>npm start</code>, <code>npm stop</code>, <code>npm restart</code>, <code>npm test</code>, and <code>npm run</code> will still
|
||||
run their intended script if <code>ignore-scripts</code> is set, but they will <em>not</em>
|
||||
run any pre- or post-scripts.</p>
|
||||
<h4 id="audit"><code>audit</code></h4>
|
||||
<ul>
|
||||
<li>Default: true</li>
|
||||
|
@ -335,7 +335,7 @@ workspaces.</p>
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-find-dupes.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-find-dupes.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
6
deps/npm/docs/output/commands/npm-fund.html
vendored
6
deps/npm/docs/output/commands/npm-fund.html
vendored
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-fund----1130">
|
||||
<h1 id="----npm-fund----1142">
|
||||
<span>npm-fund</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Retrieve funding information</span>
|
||||
</header>
|
||||
|
@ -261,7 +261,7 @@ brand new workspace within the project.</p>
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-fund.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-fund.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-help-search----1130">
|
||||
<h1 id="----npm-help-search----1142">
|
||||
<span>npm-help-search</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Search npm help documentation</span>
|
||||
</header>
|
||||
|
@ -178,7 +178,7 @@ directly.</p>
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-help-search.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-help-search.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
6
deps/npm/docs/output/commands/npm-help.html
vendored
6
deps/npm/docs/output/commands/npm-help.html
vendored
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-help----1130">
|
||||
<h1 id="----npm-help----1142">
|
||||
<span>npm-help</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Get help on npm</span>
|
||||
</header>
|
||||
|
@ -184,7 +184,7 @@ topic, so unique matches are equivalent to specifying a topic name.</p>
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-help.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-help.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
17
deps/npm/docs/output/commands/npm-init.html
vendored
17
deps/npm/docs/output/commands/npm-init.html
vendored
|
@ -141,16 +141,16 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-init----1130">
|
||||
<h1 id="----npm-init----1142">
|
||||
<span>npm-init</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Create a package.json file</span>
|
||||
</header>
|
||||
|
||||
<section id="table_of_contents">
|
||||
<h2 id="table-of-contents">Table of contents</h2>
|
||||
<div id="_table_of_contents"><ul><li><a href="#synopsis">Synopsis</a></li><li><a href="#description">Description</a></li><ul><li><a href="#forwarding-additional-options">Forwarding additional options</a></li></ul><li><a href="#examples">Examples</a></li><li><a href="#workspaces-support">Workspaces support</a></li><li><a href="#configuration">Configuration</a></li><ul><li><a href="#init-author-name"><code>init-author-name</code></a></li><li><a href="#init-author-url"><code>init-author-url</code></a></li><li><a href="#init-license"><code>init-license</code></a></li><li><a href="#init-module"><code>init-module</code></a></li><li><a href="#init-type"><code>init-type</code></a></li><li><a href="#init-version"><code>init-version</code></a></li><li><a href="#yes"><code>yes</code></a></li><li><a href="#force"><code>force</code></a></li><li><a href="#scope"><code>scope</code></a></li><li><a href="#workspace"><code>workspace</code></a></li><li><a href="#workspaces"><code>workspaces</code></a></li><li><a href="#workspaces-update"><code>workspaces-update</code></a></li><li><a href="#include-workspace-root"><code>include-workspace-root</code></a></li></ul><li><a href="#see-also">See Also</a></li></ul></div>
|
||||
<div id="_table_of_contents"><ul><li><a href="#synopsis">Synopsis</a></li><li><a href="#description">Description</a></li><ul><li><a href="#forwarding-additional-options">Forwarding additional options</a></li></ul><li><a href="#examples">Examples</a></li><li><a href="#workspaces-support">Workspaces support</a></li><li><a href="#configuration">Configuration</a></li><ul><li><a href="#init-author-name"><code>init-author-name</code></a></li><li><a href="#init-author-url"><code>init-author-url</code></a></li><li><a href="#init-license"><code>init-license</code></a></li><li><a href="#init-module"><code>init-module</code></a></li><li><a href="#init-type"><code>init-type</code></a></li><li><a href="#init-version"><code>init-version</code></a></li><li><a href="#init-private"><code>init-private</code></a></li><li><a href="#yes"><code>yes</code></a></li><li><a href="#force"><code>force</code></a></li><li><a href="#scope"><code>scope</code></a></li><li><a href="#workspace"><code>workspace</code></a></li><li><a href="#workspaces"><code>workspaces</code></a></li><li><a href="#workspaces-update"><code>workspaces-update</code></a></li><li><a href="#include-workspace-root"><code>include-workspace-root</code></a></li></ul><li><a href="#see-also">See Also</a></li></ul></div>
|
||||
</section>
|
||||
|
||||
<div id="_content"><h3 id="synopsis">Synopsis</h3>
|
||||
|
@ -218,6 +218,9 @@ $ npm init
|
|||
<p>Generate it without having it ask any questions:</p>
|
||||
<pre><code class="language-bash">$ npm init -y
|
||||
</code></pre>
|
||||
<p>Set the private flag to <code>true</code> in package.json:</p>
|
||||
<pre><code class="language-bash">$ npm init --init-private -y
|
||||
</code></pre>
|
||||
<h3 id="workspaces-support">Workspaces support</h3>
|
||||
<p>It's possible to create a new workspace within your project by using the
|
||||
<code>workspace</code> config option. When using <code>npm init -w <dir></code> the cli will
|
||||
|
@ -306,6 +309,12 @@ field.</p>
|
|||
</ul>
|
||||
<p>The value that <code>npm init</code> should use by default for the package version
|
||||
number, if not already set in package.json.</p>
|
||||
<h4 id="init-private"><code>init-private</code></h4>
|
||||
<ul>
|
||||
<li>Default: false</li>
|
||||
<li>Type: Boolean</li>
|
||||
</ul>
|
||||
<p>The value <code>npm init</code> should use by default for the package's private flag.</p>
|
||||
<h4 id="yes"><code>yes</code></h4>
|
||||
<ul>
|
||||
<li>Default: null</li>
|
||||
|
@ -423,7 +432,7 @@ the specified workspaces, and not on the root project.</p>
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-init.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-init.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-install-ci-test----1130">
|
||||
<h1 id="----npm-install-ci-test----1142">
|
||||
<span>npm-install-ci-test</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Install a project with a clean slate and run tests</span>
|
||||
</header>
|
||||
|
@ -249,9 +249,9 @@ but can be useful for debugging.</p>
|
|||
</ul>
|
||||
<p>If true, npm does not run scripts specified in package.json files.</p>
|
||||
<p>Note that commands explicitly intended to run a particular script, such as
|
||||
<code>npm start</code>, <code>npm stop</code>, <code>npm restart</code>, <code>npm test</code>, and <code>npm run-script</code>
|
||||
will still run their intended script if <code>ignore-scripts</code> is set, but they
|
||||
will <em>not</em> run any pre- or post-scripts.</p>
|
||||
<code>npm start</code>, <code>npm stop</code>, <code>npm restart</code>, <code>npm test</code>, and <code>npm run</code> will still
|
||||
run their intended script if <code>ignore-scripts</code> is set, but they will <em>not</em>
|
||||
run any pre- or post-scripts.</p>
|
||||
<h4 id="audit"><code>audit</code></h4>
|
||||
<ul>
|
||||
<li>Default: true</li>
|
||||
|
@ -350,7 +350,7 @@ workspaces.</p>
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-install-ci-test.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-install-ci-test.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-install-test----1130">
|
||||
<h1 id="----npm-install-test----1142">
|
||||
<span>npm-install-test</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Install package(s) and run tests</span>
|
||||
</header>
|
||||
|
@ -305,9 +305,9 @@ but can be useful for debugging.</p>
|
|||
</ul>
|
||||
<p>If true, npm does not run scripts specified in package.json files.</p>
|
||||
<p>Note that commands explicitly intended to run a particular script, such as
|
||||
<code>npm start</code>, <code>npm stop</code>, <code>npm restart</code>, <code>npm test</code>, and <code>npm run-script</code>
|
||||
will still run their intended script if <code>ignore-scripts</code> is set, but they
|
||||
will <em>not</em> run any pre- or post-scripts.</p>
|
||||
<code>npm start</code>, <code>npm stop</code>, <code>npm restart</code>, <code>npm test</code>, and <code>npm run</code> will still
|
||||
run their intended script if <code>ignore-scripts</code> is set, but they will <em>not</em>
|
||||
run any pre- or post-scripts.</p>
|
||||
<h4 id="audit"><code>audit</code></h4>
|
||||
<ul>
|
||||
<li>Default: true</li>
|
||||
|
@ -427,7 +427,7 @@ workspaces.</p>
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-install-test.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-install-test.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
12
deps/npm/docs/output/commands/npm-install.html
vendored
12
deps/npm/docs/output/commands/npm-install.html
vendored
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-install----1130">
|
||||
<h1 id="----npm-install----1142">
|
||||
<span>npm-install</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Install a package</span>
|
||||
</header>
|
||||
|
@ -631,9 +631,9 @@ but can be useful for debugging.</p>
|
|||
</ul>
|
||||
<p>If true, npm does not run scripts specified in package.json files.</p>
|
||||
<p>Note that commands explicitly intended to run a particular script, such as
|
||||
<code>npm start</code>, <code>npm stop</code>, <code>npm restart</code>, <code>npm test</code>, and <code>npm run-script</code>
|
||||
will still run their intended script if <code>ignore-scripts</code> is set, but they
|
||||
will <em>not</em> run any pre- or post-scripts.</p>
|
||||
<code>npm start</code>, <code>npm stop</code>, <code>npm restart</code>, <code>npm test</code>, and <code>npm run</code> will still
|
||||
run their intended script if <code>ignore-scripts</code> is set, but they will <em>not</em>
|
||||
run any pre- or post-scripts.</p>
|
||||
<h4 id="audit"><code>audit</code></h4>
|
||||
<ul>
|
||||
<li>Default: true</li>
|
||||
|
@ -789,7 +789,7 @@ the specific folder structures that npm creates.</p>
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-install.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-install.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
12
deps/npm/docs/output/commands/npm-link.html
vendored
12
deps/npm/docs/output/commands/npm-link.html
vendored
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-link----1130">
|
||||
<h1 id="----npm-link----1142">
|
||||
<span>npm-link</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Symlink a package folder</span>
|
||||
</header>
|
||||
|
@ -339,9 +339,9 @@ the order in which omit/include are specified on the command-line.</p>
|
|||
</ul>
|
||||
<p>If true, npm does not run scripts specified in package.json files.</p>
|
||||
<p>Note that commands explicitly intended to run a particular script, such as
|
||||
<code>npm start</code>, <code>npm stop</code>, <code>npm restart</code>, <code>npm test</code>, and <code>npm run-script</code>
|
||||
will still run their intended script if <code>ignore-scripts</code> is set, but they
|
||||
will <em>not</em> run any pre- or post-scripts.</p>
|
||||
<code>npm start</code>, <code>npm stop</code>, <code>npm restart</code>, <code>npm test</code>, and <code>npm run</code> will still
|
||||
run their intended script if <code>ignore-scripts</code> is set, but they will <em>not</em>
|
||||
run any pre- or post-scripts.</p>
|
||||
<h4 id="audit"><code>audit</code></h4>
|
||||
<ul>
|
||||
<li>Default: true</li>
|
||||
|
@ -444,7 +444,7 @@ workspaces.</p>
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-link.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-link.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
7
deps/npm/docs/output/commands/npm-login.html
vendored
7
deps/npm/docs/output/commands/npm-login.html
vendored
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-login----1130">
|
||||
<h1 id="----npm-login----1142">
|
||||
<span>npm-login</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Login to a registry user account</span>
|
||||
</header>
|
||||
|
@ -161,6 +161,7 @@ npm command-line interface
|
|||
<p>Verify a user in the specified registry, and save the credentials to the
|
||||
<code>.npmrc</code> file. If no registry is specified, the default registry will be
|
||||
used (see <a href="../using-npm/config.html"><code>config</code></a>).</p>
|
||||
<p>When you run <code>npm login</code>, the CLI automatically generates a legacy token of <code>publish</code> type. For more information, see <a href="../about-access-tokens#about-legacy-tokens.html">About legacy tokens</a>.</p>
|
||||
<p>When using <code>legacy</code> for your <code>auth-type</code>, the username and password, are
|
||||
read in from prompts.</p>
|
||||
<p>To reset your password, go to <a href="https://www.npmjs.com/forgot">https://www.npmjs.com/forgot</a></p>
|
||||
|
@ -216,7 +217,7 @@ config is given, this value will always be set to <code>legacy</code>.</p>
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-login.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-login.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-logout----1130">
|
||||
<h1 id="----npm-logout----1142">
|
||||
<span>npm-logout</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Log out of the registry</span>
|
||||
</header>
|
||||
|
@ -203,7 +203,7 @@ npm init --scope=@foo --yes
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-logout.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-logout.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
8
deps/npm/docs/output/commands/npm-ls.html
vendored
8
deps/npm/docs/output/commands/npm-ls.html
vendored
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-ls----1130">
|
||||
<h1 id="----npm-ls----1142">
|
||||
<span>npm-ls</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">List installed packages</span>
|
||||
</header>
|
||||
|
@ -168,7 +168,7 @@ tree at all, use <a href="../commands/npm-explain.html"><code>npm explain</code>
|
|||
the results to only the paths to the packages named. Note that nested
|
||||
packages will <em>also</em> show the paths to the specified packages. For
|
||||
example, running <code>npm ls promzard</code> in npm's source tree will show:</p>
|
||||
<pre><code class="language-bash">npm@11.3.0 /path/to/npm
|
||||
<pre><code class="language-bash">npm@11.4.2 /path/to/npm
|
||||
└─┬ init-package-json@0.0.4
|
||||
└── promzard@0.1.5
|
||||
</code></pre>
|
||||
|
@ -351,7 +351,7 @@ workspaces.</p>
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-ls.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-ls.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
6
deps/npm/docs/output/commands/npm-org.html
vendored
6
deps/npm/docs/output/commands/npm-org.html
vendored
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-org----1130">
|
||||
<h1 id="----npm-org----1142">
|
||||
<span>npm-org</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Manage orgs</span>
|
||||
</header>
|
||||
|
@ -225,7 +225,7 @@ saving them to your <code>package.json</code>.</li>
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-org.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-org.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-outdated----1130">
|
||||
<h1 id="----npm-outdated----1142">
|
||||
<span>npm-outdated</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Check for outdated packages</span>
|
||||
</header>
|
||||
|
@ -182,6 +182,7 @@ package is a <code>dependency</code> or a dev/peer/optional dependency. Packages
|
|||
included in <code>package.json</code> are always marked <code>dependencies</code>.</li>
|
||||
<li><code>homepage</code> (when using <code>--long</code> / <code>-l</code>) is the <code>homepage</code> value contained
|
||||
in the package's packument</li>
|
||||
<li><code>depended by location</code> (when using <code>--long</code> / <code>-l</code>) shows location of the package that depends on the displayed dependency</li>
|
||||
<li>Red means there's a newer version matching your semver requirements, so
|
||||
you should update now.</li>
|
||||
<li>Yellow indicates that there's a newer version <em>above</em> your semver
|
||||
|
@ -299,7 +300,7 @@ brand new workspace within the project.</p>
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-outdated.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-outdated.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
6
deps/npm/docs/output/commands/npm-owner.html
vendored
6
deps/npm/docs/output/commands/npm-owner.html
vendored
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-owner----1130">
|
||||
<h1 id="----npm-owner----1142">
|
||||
<span>npm-owner</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Manage package owners</span>
|
||||
</header>
|
||||
|
@ -237,7 +237,7 @@ other things (test, exec, publish, etc.) will operate on the root project,
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-owner.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-owner.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
12
deps/npm/docs/output/commands/npm-pack.html
vendored
12
deps/npm/docs/output/commands/npm-pack.html
vendored
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-pack----1130">
|
||||
<h1 id="----npm-pack----1142">
|
||||
<span>npm-pack</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Create a tarball from a package</span>
|
||||
</header>
|
||||
|
@ -237,9 +237,9 @@ the specified workspaces, and not on the root project.</p>
|
|||
</ul>
|
||||
<p>If true, npm does not run scripts specified in package.json files.</p>
|
||||
<p>Note that commands explicitly intended to run a particular script, such as
|
||||
<code>npm start</code>, <code>npm stop</code>, <code>npm restart</code>, <code>npm test</code>, and <code>npm run-script</code>
|
||||
will still run their intended script if <code>ignore-scripts</code> is set, but they
|
||||
will <em>not</em> run any pre- or post-scripts.</p>
|
||||
<code>npm start</code>, <code>npm stop</code>, <code>npm restart</code>, <code>npm test</code>, and <code>npm run</code> will still
|
||||
run their intended script if <code>ignore-scripts</code> is set, but they will <em>not</em>
|
||||
run any pre- or post-scripts.</p>
|
||||
<h3 id="description">Description</h3>
|
||||
<p>For anything that's installable (that is, a package folder, tarball,
|
||||
tarball url, git url, name@tag, name@version, name, or scoped name), this
|
||||
|
@ -260,7 +260,7 @@ overwritten the second time.</p>
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-pack.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-pack.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
6
deps/npm/docs/output/commands/npm-ping.html
vendored
6
deps/npm/docs/output/commands/npm-ping.html
vendored
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-ping----1130">
|
||||
<h1 id="----npm-ping----1142">
|
||||
<span>npm-ping</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Ping npm registry</span>
|
||||
</header>
|
||||
|
@ -183,7 +183,7 @@ npm ERR! 404 Not Found - GET http://www.foo.com/-/ping?write=true
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-ping.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-ping.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
6
deps/npm/docs/output/commands/npm-pkg.html
vendored
6
deps/npm/docs/output/commands/npm-pkg.html
vendored
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-pkg----1130">
|
||||
<h1 id="----npm-pkg----1142">
|
||||
<span>npm-pkg</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Manages your package.json</span>
|
||||
</header>
|
||||
|
@ -358,7 +358,7 @@ other things (test, exec, publish, etc.) will operate on the root project,
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-pkg.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-pkg.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-prefix----1130">
|
||||
<h1 id="----npm-prefix----1142">
|
||||
<span>npm-prefix</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Display prefix</span>
|
||||
</header>
|
||||
|
@ -194,7 +194,7 @@ of the current working directory.</li>
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-prefix.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-prefix.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-profile----1130">
|
||||
<h1 id="----npm-profile----1142">
|
||||
<span>npm-profile</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Change settings on your registry profile</span>
|
||||
</header>
|
||||
|
@ -255,7 +255,7 @@ password, npm will prompt on the command line for one.</p>
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-profile.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-profile.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
12
deps/npm/docs/output/commands/npm-prune.html
vendored
12
deps/npm/docs/output/commands/npm-prune.html
vendored
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-prune----1130">
|
||||
<h1 id="----npm-prune----1142">
|
||||
<span>npm-prune</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Remove extraneous packages</span>
|
||||
</header>
|
||||
|
@ -235,9 +235,9 @@ but can be useful for debugging.</p>
|
|||
</ul>
|
||||
<p>If true, npm does not run scripts specified in package.json files.</p>
|
||||
<p>Note that commands explicitly intended to run a particular script, such as
|
||||
<code>npm start</code>, <code>npm stop</code>, <code>npm restart</code>, <code>npm test</code>, and <code>npm run-script</code>
|
||||
will still run their intended script if <code>ignore-scripts</code> is set, but they
|
||||
will <em>not</em> run any pre- or post-scripts.</p>
|
||||
<code>npm start</code>, <code>npm stop</code>, <code>npm restart</code>, <code>npm test</code>, and <code>npm run</code> will still
|
||||
run their intended script if <code>ignore-scripts</code> is set, but they will <em>not</em>
|
||||
run any pre- or post-scripts.</p>
|
||||
<h4 id="workspace"><code>workspace</code></h4>
|
||||
<ul>
|
||||
<li>Default:</li>
|
||||
|
@ -299,7 +299,7 @@ workspaces.</p>
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-prune.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-prune.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-publish----1130">
|
||||
<h1 id="----npm-publish----1142">
|
||||
<span>npm-publish</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Publish a package</span>
|
||||
</header>
|
||||
|
@ -347,7 +347,7 @@ publicly linked to where it was built and published from.</p>
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-publish.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-publish.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
6
deps/npm/docs/output/commands/npm-query.html
vendored
6
deps/npm/docs/output/commands/npm-query.html
vendored
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-query----1130">
|
||||
<h1 id="----npm-query----1142">
|
||||
<span>npm-query</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Dependency selector query</span>
|
||||
</header>
|
||||
|
@ -380,7 +380,7 @@ true (expect some results) or false (expect no results).</p>
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-query.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-query.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
12
deps/npm/docs/output/commands/npm-rebuild.html
vendored
12
deps/npm/docs/output/commands/npm-rebuild.html
vendored
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-rebuild----1130">
|
||||
<h1 id="----npm-rebuild----1142">
|
||||
<span>npm-rebuild</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Rebuild a package</span>
|
||||
</header>
|
||||
|
@ -220,9 +220,9 @@ but can be useful for debugging.</p>
|
|||
</ul>
|
||||
<p>If true, npm does not run scripts specified in package.json files.</p>
|
||||
<p>Note that commands explicitly intended to run a particular script, such as
|
||||
<code>npm start</code>, <code>npm stop</code>, <code>npm restart</code>, <code>npm test</code>, and <code>npm run-script</code>
|
||||
will still run their intended script if <code>ignore-scripts</code> is set, but they
|
||||
will <em>not</em> run any pre- or post-scripts.</p>
|
||||
<code>npm start</code>, <code>npm stop</code>, <code>npm restart</code>, <code>npm test</code>, and <code>npm run</code> will still
|
||||
run their intended script if <code>ignore-scripts</code> is set, but they will <em>not</em>
|
||||
run any pre- or post-scripts.</p>
|
||||
<h4 id="workspace"><code>workspace</code></h4>
|
||||
<ul>
|
||||
<li>Default:</li>
|
||||
|
@ -283,7 +283,7 @@ workspaces.</p>
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-rebuild.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-rebuild.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
6
deps/npm/docs/output/commands/npm-repo.html
vendored
6
deps/npm/docs/output/commands/npm-repo.html
vendored
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-repo----1130">
|
||||
<h1 id="----npm-repo----1142">
|
||||
<span>npm-repo</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Open package repository page in the browser</span>
|
||||
</header>
|
||||
|
@ -230,7 +230,7 @@ the specified workspaces, and not on the root project.</p>
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-repo.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-repo.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
16
deps/npm/docs/output/commands/npm-restart.html
vendored
16
deps/npm/docs/output/commands/npm-restart.html
vendored
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-restart----1130">
|
||||
<h1 id="----npm-restart----1142">
|
||||
<span>npm-restart</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Restart a package</span>
|
||||
</header>
|
||||
|
@ -157,7 +157,7 @@ npm command-line interface
|
|||
<pre><code class="language-bash">npm restart [-- <args>]
|
||||
</code></pre>
|
||||
<h3 id="description">Description</h3>
|
||||
<p>This restarts a project. It is equivalent to running <code>npm run-script restart</code>.</p>
|
||||
<p>This restarts a project. It is equivalent to running <code>npm run restart</code>.</p>
|
||||
<p>If the current project has a <code>"restart"</code> script specified in
|
||||
<code>package.json</code>, then the following scripts will be run:</p>
|
||||
<ol>
|
||||
|
@ -185,9 +185,9 @@ npm command-line interface
|
|||
</ul>
|
||||
<p>If true, npm does not run scripts specified in package.json files.</p>
|
||||
<p>Note that commands explicitly intended to run a particular script, such as
|
||||
<code>npm start</code>, <code>npm stop</code>, <code>npm restart</code>, <code>npm test</code>, and <code>npm run-script</code>
|
||||
will still run their intended script if <code>ignore-scripts</code> is set, but they
|
||||
will <em>not</em> run any pre- or post-scripts.</p>
|
||||
<code>npm start</code>, <code>npm stop</code>, <code>npm restart</code>, <code>npm test</code>, and <code>npm run</code> will still
|
||||
run their intended script if <code>ignore-scripts</code> is set, but they will <em>not</em>
|
||||
run any pre- or post-scripts.</p>
|
||||
<h4 id="script-shell"><code>script-shell</code></h4>
|
||||
<ul>
|
||||
<li>Default: '/bin/sh' on POSIX systems, 'cmd.exe' on Windows</li>
|
||||
|
@ -196,7 +196,7 @@ will <em>not</em> run any pre- or post-scripts.</p>
|
|||
<p>The shell to use for scripts run with the <code>npm exec</code>, <code>npm run</code> and <code>npm init <package-spec></code> commands.</p>
|
||||
<h3 id="see-also">See Also</h3>
|
||||
<ul>
|
||||
<li><a href="../commands/npm-run-script.html">npm run-script</a></li>
|
||||
<li><a href="../commands/npm-run.html">npm run</a></li>
|
||||
<li><a href="../using-npm/scripts.html">npm scripts</a></li>
|
||||
<li><a href="../commands/npm-test.html">npm test</a></li>
|
||||
<li><a href="../commands/npm-start.html">npm start</a></li>
|
||||
|
@ -205,7 +205,7 @@ will <em>not</em> run any pre- or post-scripts.</p>
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-restart.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-restart.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
6
deps/npm/docs/output/commands/npm-root.html
vendored
6
deps/npm/docs/output/commands/npm-root.html
vendored
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-root----1130">
|
||||
<h1 id="----npm-root----1142">
|
||||
<span>npm-root</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Display npm root</span>
|
||||
</header>
|
||||
|
@ -189,7 +189,7 @@ of the current working directory.</li>
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-root.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-root.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<!DOCTYPE html><html><head>
|
||||
<meta charset="utf-8">
|
||||
<title>npm-run-script</title>
|
||||
<title>npm-run</title>
|
||||
<style>
|
||||
body {
|
||||
background-color: #ffffff;
|
||||
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-run-script----1130">
|
||||
<span>npm-run-script</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<h1 id="----npm-run----1142">
|
||||
<span>npm-run</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Run arbitrary package scripts</span>
|
||||
</header>
|
||||
|
@ -154,9 +154,9 @@ npm command-line interface
|
|||
</section>
|
||||
|
||||
<div id="_content"><h3 id="synopsis">Synopsis</h3>
|
||||
<pre><code class="language-bash">npm run-script <command> [-- <args>]
|
||||
<pre><code class="language-bash">npm run <command> [-- <args>]
|
||||
|
||||
aliases: run, rum, urn
|
||||
aliases: run-script, rum, urn
|
||||
</code></pre>
|
||||
<h3 id="description">Description</h3>
|
||||
<p>This runs an arbitrary command from a package's <code>"scripts"</code> object. If no
|
||||
|
@ -294,10 +294,10 @@ the specified workspaces, and not on the root project.</p>
|
|||
<li>Default: false</li>
|
||||
<li>Type: Boolean</li>
|
||||
</ul>
|
||||
<p>If true, npm will not exit with an error code when <code>run-script</code> is invoked
|
||||
for a script that isn't defined in the <code>scripts</code> section of <code>package.json</code>.
|
||||
This option can be used when it's desirable to optionally run a script when
|
||||
it's present and fail if the script fails. This is useful, for example, when
|
||||
<p>If true, npm will not exit with an error code when <code>run</code> is invoked for a
|
||||
script that isn't defined in the <code>scripts</code> section of <code>package.json</code>. This
|
||||
option can be used when it's desirable to optionally run a script when it's
|
||||
present and fail if the script fails. This is useful, for example, when
|
||||
running scripts that may only apply for some builds in an otherwise generic
|
||||
CI setup.</p>
|
||||
<p>This value is not exported to the environment for child processes.</p>
|
||||
|
@ -308,9 +308,9 @@ CI setup.</p>
|
|||
</ul>
|
||||
<p>If true, npm does not run scripts specified in package.json files.</p>
|
||||
<p>Note that commands explicitly intended to run a particular script, such as
|
||||
<code>npm start</code>, <code>npm stop</code>, <code>npm restart</code>, <code>npm test</code>, and <code>npm run-script</code>
|
||||
will still run their intended script if <code>ignore-scripts</code> is set, but they
|
||||
will <em>not</em> run any pre- or post-scripts.</p>
|
||||
<code>npm start</code>, <code>npm stop</code>, <code>npm restart</code>, <code>npm test</code>, and <code>npm run</code> will still
|
||||
run their intended script if <code>ignore-scripts</code> is set, but they will <em>not</em>
|
||||
run any pre- or post-scripts.</p>
|
||||
<h4 id="foreground-scripts"><code>foreground-scripts</code></h4>
|
||||
<ul>
|
||||
<li>Default: <code>false</code> unless when using <code>npm pack</code> or <code>npm publish</code> where it
|
||||
|
@ -340,7 +340,7 @@ but can be useful for debugging.</p>
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-run-script.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-run.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
6
deps/npm/docs/output/commands/npm-sbom.html
vendored
6
deps/npm/docs/output/commands/npm-sbom.html
vendored
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-sbom----1130">
|
||||
<h1 id="----npm-sbom----1142">
|
||||
<span>npm-sbom</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Generate a Software Bill of Materials (SBOM)</span>
|
||||
</header>
|
||||
|
@ -433,7 +433,7 @@ other things (test, exec, publish, etc.) will operate on the root project,
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-sbom.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-sbom.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-search----1130">
|
||||
<h1 id="----npm-search----1142">
|
||||
<span>npm-search</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Search for packages</span>
|
||||
</header>
|
||||
|
@ -267,7 +267,7 @@ allow the CLI to fill in missing cache data, see <code>--prefer-offline</code>.<
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-search.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-search.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-shrinkwrap----1130">
|
||||
<h1 id="----npm-shrinkwrap----1142">
|
||||
<span>npm-shrinkwrap</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Lock down dependency versions for publication</span>
|
||||
</header>
|
||||
|
@ -167,7 +167,7 @@ design and purpose of package locks in npm, see
|
|||
<h3 id="see-also">See Also</h3>
|
||||
<ul>
|
||||
<li><a href="../commands/npm-install.html">npm install</a></li>
|
||||
<li><a href="../commands/npm-run-script.html">npm run-script</a></li>
|
||||
<li><a href="../commands/npm-run.html">npm run</a></li>
|
||||
<li><a href="../using-npm/scripts.html">npm scripts</a></li>
|
||||
<li><a href="../configuring-npm/package-json.html">package.json</a></li>
|
||||
<li><a href="../configuring-npm/package-lock-json.html">package-lock.json</a></li>
|
||||
|
@ -176,7 +176,7 @@ design and purpose of package locks in npm, see
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-shrinkwrap.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-shrinkwrap.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
6
deps/npm/docs/output/commands/npm-star.html
vendored
6
deps/npm/docs/output/commands/npm-star.html
vendored
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-star----1130">
|
||||
<h1 id="----npm-star----1142">
|
||||
<span>npm-star</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Mark your favorite packages</span>
|
||||
</header>
|
||||
|
@ -203,7 +203,7 @@ password, npm will prompt on the command line for one.</p>
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-star.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-star.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
6
deps/npm/docs/output/commands/npm-stars.html
vendored
6
deps/npm/docs/output/commands/npm-stars.html
vendored
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-stars----1130">
|
||||
<h1 id="----npm-stars----1142">
|
||||
<span>npm-stars</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">View packages marked as favorites</span>
|
||||
</header>
|
||||
|
@ -179,7 +179,7 @@ you will most certainly enjoy this command.</p>
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-stars.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-stars.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
16
deps/npm/docs/output/commands/npm-start.html
vendored
16
deps/npm/docs/output/commands/npm-start.html
vendored
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-start----1130">
|
||||
<h1 id="----npm-start----1142">
|
||||
<span>npm-start</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Start a package</span>
|
||||
</header>
|
||||
|
@ -165,7 +165,7 @@ will run <code>node server.js</code>.</p>
|
|||
the file specified in a package's <code>"main"</code> attribute when evoking with
|
||||
<code>node .</code></p>
|
||||
<p>As of <a href="https://blog.npmjs.org/post/98131109725/npm-2-0-0"><code>npm@2.0.0</code></a>, you can
|
||||
use custom arguments when executing scripts. Refer to <a href="../commands/npm-run-script.html"><code>npm run-script</code></a> for more details.</p>
|
||||
use custom arguments when executing scripts. Refer to <a href="../commands/npm-run.html"><code>npm run</code></a> for more details.</p>
|
||||
<h3 id="example">Example</h3>
|
||||
<pre><code class="language-json">{
|
||||
"scripts": {
|
||||
|
@ -189,9 +189,9 @@ use custom arguments when executing scripts. Refer to <a href="../commands/npm-r
|
|||
</ul>
|
||||
<p>If true, npm does not run scripts specified in package.json files.</p>
|
||||
<p>Note that commands explicitly intended to run a particular script, such as
|
||||
<code>npm start</code>, <code>npm stop</code>, <code>npm restart</code>, <code>npm test</code>, and <code>npm run-script</code>
|
||||
will still run their intended script if <code>ignore-scripts</code> is set, but they
|
||||
will <em>not</em> run any pre- or post-scripts.</p>
|
||||
<code>npm start</code>, <code>npm stop</code>, <code>npm restart</code>, <code>npm test</code>, and <code>npm run</code> will still
|
||||
run their intended script if <code>ignore-scripts</code> is set, but they will <em>not</em>
|
||||
run any pre- or post-scripts.</p>
|
||||
<h4 id="script-shell"><code>script-shell</code></h4>
|
||||
<ul>
|
||||
<li>Default: '/bin/sh' on POSIX systems, 'cmd.exe' on Windows</li>
|
||||
|
@ -200,7 +200,7 @@ will <em>not</em> run any pre- or post-scripts.</p>
|
|||
<p>The shell to use for scripts run with the <code>npm exec</code>, <code>npm run</code> and <code>npm init <package-spec></code> commands.</p>
|
||||
<h3 id="see-also">See Also</h3>
|
||||
<ul>
|
||||
<li><a href="../commands/npm-run-script.html">npm run-script</a></li>
|
||||
<li><a href="../commands/npm-run.html">npm run</a></li>
|
||||
<li><a href="../using-npm/scripts.html">npm scripts</a></li>
|
||||
<li><a href="../commands/npm-test.html">npm test</a></li>
|
||||
<li><a href="../commands/npm-restart.html">npm restart</a></li>
|
||||
|
@ -208,7 +208,7 @@ will <em>not</em> run any pre- or post-scripts.</p>
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-start.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-start.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
14
deps/npm/docs/output/commands/npm-stop.html
vendored
14
deps/npm/docs/output/commands/npm-stop.html
vendored
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-stop----1130">
|
||||
<h1 id="----npm-stop----1142">
|
||||
<span>npm-stop</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Stop a package</span>
|
||||
</header>
|
||||
|
@ -184,9 +184,9 @@ that will run if the <code>"stop"</code> property is not defined.</p>
|
|||
</ul>
|
||||
<p>If true, npm does not run scripts specified in package.json files.</p>
|
||||
<p>Note that commands explicitly intended to run a particular script, such as
|
||||
<code>npm start</code>, <code>npm stop</code>, <code>npm restart</code>, <code>npm test</code>, and <code>npm run-script</code>
|
||||
will still run their intended script if <code>ignore-scripts</code> is set, but they
|
||||
will <em>not</em> run any pre- or post-scripts.</p>
|
||||
<code>npm start</code>, <code>npm stop</code>, <code>npm restart</code>, <code>npm test</code>, and <code>npm run</code> will still
|
||||
run their intended script if <code>ignore-scripts</code> is set, but they will <em>not</em>
|
||||
run any pre- or post-scripts.</p>
|
||||
<h4 id="script-shell"><code>script-shell</code></h4>
|
||||
<ul>
|
||||
<li>Default: '/bin/sh' on POSIX systems, 'cmd.exe' on Windows</li>
|
||||
|
@ -195,7 +195,7 @@ will <em>not</em> run any pre- or post-scripts.</p>
|
|||
<p>The shell to use for scripts run with the <code>npm exec</code>, <code>npm run</code> and <code>npm init <package-spec></code> commands.</p>
|
||||
<h3 id="see-also">See Also</h3>
|
||||
<ul>
|
||||
<li><a href="../commands/npm-run-script.html">npm run-script</a></li>
|
||||
<li><a href="../commands/npm-run.html">npm run</a></li>
|
||||
<li><a href="../using-npm/scripts.html">npm scripts</a></li>
|
||||
<li><a href="../commands/npm-test.html">npm test</a></li>
|
||||
<li><a href="../commands/npm-start.html">npm start</a></li>
|
||||
|
@ -203,7 +203,7 @@ will <em>not</em> run any pre- or post-scripts.</p>
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-stop.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-stop.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
6
deps/npm/docs/output/commands/npm-team.html
vendored
6
deps/npm/docs/output/commands/npm-team.html
vendored
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-team----1130">
|
||||
<h1 id="----npm-team----1142">
|
||||
<span>npm-team</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Manage organization teams and team memberships</span>
|
||||
</header>
|
||||
|
@ -266,7 +266,7 @@ saving them to your <code>package.json</code>.</li>
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-team.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-team.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
14
deps/npm/docs/output/commands/npm-test.html
vendored
14
deps/npm/docs/output/commands/npm-test.html
vendored
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-test----1130">
|
||||
<h1 id="----npm-test----1142">
|
||||
<span>npm-test</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Test a package</span>
|
||||
</header>
|
||||
|
@ -182,9 +182,9 @@ a package's <code>"scripts"</code> object.</p>
|
|||
</ul>
|
||||
<p>If true, npm does not run scripts specified in package.json files.</p>
|
||||
<p>Note that commands explicitly intended to run a particular script, such as
|
||||
<code>npm start</code>, <code>npm stop</code>, <code>npm restart</code>, <code>npm test</code>, and <code>npm run-script</code>
|
||||
will still run their intended script if <code>ignore-scripts</code> is set, but they
|
||||
will <em>not</em> run any pre- or post-scripts.</p>
|
||||
<code>npm start</code>, <code>npm stop</code>, <code>npm restart</code>, <code>npm test</code>, and <code>npm run</code> will still
|
||||
run their intended script if <code>ignore-scripts</code> is set, but they will <em>not</em>
|
||||
run any pre- or post-scripts.</p>
|
||||
<h4 id="script-shell"><code>script-shell</code></h4>
|
||||
<ul>
|
||||
<li>Default: '/bin/sh' on POSIX systems, 'cmd.exe' on Windows</li>
|
||||
|
@ -193,7 +193,7 @@ will <em>not</em> run any pre- or post-scripts.</p>
|
|||
<p>The shell to use for scripts run with the <code>npm exec</code>, <code>npm run</code> and <code>npm init <package-spec></code> commands.</p>
|
||||
<h3 id="see-also">See Also</h3>
|
||||
<ul>
|
||||
<li><a href="../commands/npm-run-script.html">npm run-script</a></li>
|
||||
<li><a href="../commands/npm-run.html">npm run</a></li>
|
||||
<li><a href="../using-npm/scripts.html">npm scripts</a></li>
|
||||
<li><a href="../commands/npm-start.html">npm start</a></li>
|
||||
<li><a href="../commands/npm-restart.html">npm restart</a></li>
|
||||
|
@ -201,7 +201,7 @@ will <em>not</em> run any pre- or post-scripts.</p>
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-test.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-test.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
6
deps/npm/docs/output/commands/npm-token.html
vendored
6
deps/npm/docs/output/commands/npm-token.html
vendored
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-token----1130">
|
||||
<h1 id="----npm-token----1142">
|
||||
<span>npm-token</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Manage your authentication tokens</span>
|
||||
</header>
|
||||
|
@ -242,7 +242,7 @@ password, npm will prompt on the command line for one.</p>
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-token.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-token.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-undeprecate----1130">
|
||||
<h1 id="----npm-undeprecate----1142">
|
||||
<span>npm-undeprecate</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Undeprecate a version of a package</span>
|
||||
</header>
|
||||
|
@ -195,7 +195,7 @@ commands that modify your local installation, eg, <code>install</code>, <code>up
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-undeprecate.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-undeprecate.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-uninstall----1130">
|
||||
<h1 id="----npm-uninstall----1142">
|
||||
<span>npm-uninstall</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Remove a package</span>
|
||||
</header>
|
||||
|
@ -272,7 +272,7 @@ workspaces.</p>
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-uninstall.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-uninstall.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-unpublish----1130">
|
||||
<h1 id="----npm-unpublish----1142">
|
||||
<span>npm-unpublish</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Remove a package from the registry</span>
|
||||
</header>
|
||||
|
@ -261,7 +261,7 @@ other things (test, exec, publish, etc.) will operate on the root project,
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-unpublish.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-unpublish.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-unstar----1130">
|
||||
<h1 id="----npm-unstar----1142">
|
||||
<span>npm-unstar</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Remove an item from your favorite packages</span>
|
||||
</header>
|
||||
|
@ -200,7 +200,7 @@ password, npm will prompt on the command line for one.</p>
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-unstar.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-unstar.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
12
deps/npm/docs/output/commands/npm-update.html
vendored
12
deps/npm/docs/output/commands/npm-update.html
vendored
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-update----1130">
|
||||
<h1 id="----npm-update----1142">
|
||||
<span>npm-update</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Update packages</span>
|
||||
</header>
|
||||
|
@ -376,9 +376,9 @@ but can be useful for debugging.</p>
|
|||
</ul>
|
||||
<p>If true, npm does not run scripts specified in package.json files.</p>
|
||||
<p>Note that commands explicitly intended to run a particular script, such as
|
||||
<code>npm start</code>, <code>npm stop</code>, <code>npm restart</code>, <code>npm test</code>, and <code>npm run-script</code>
|
||||
will still run their intended script if <code>ignore-scripts</code> is set, but they
|
||||
will <em>not</em> run any pre- or post-scripts.</p>
|
||||
<code>npm start</code>, <code>npm stop</code>, <code>npm restart</code>, <code>npm test</code>, and <code>npm run</code> will still
|
||||
run their intended script if <code>ignore-scripts</code> is set, but they will <em>not</em>
|
||||
run any pre- or post-scripts.</p>
|
||||
<h4 id="audit"><code>audit</code></h4>
|
||||
<ul>
|
||||
<li>Default: true</li>
|
||||
|
@ -480,7 +480,7 @@ workspaces.</p>
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-update.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-update.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-version----1130">
|
||||
<h1 id="----npm-version----1142">
|
||||
<span>npm-version</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Bump a package version</span>
|
||||
</header>
|
||||
|
@ -328,14 +328,14 @@ deletes the <code>build/temp</code> directory.</p>
|
|||
<h3 id="see-also">See Also</h3>
|
||||
<ul>
|
||||
<li><a href="../commands/npm-init.html">npm init</a></li>
|
||||
<li><a href="../commands/npm-run-script.html">npm run-script</a></li>
|
||||
<li><a href="../commands/npm-run.html">npm run</a></li>
|
||||
<li><a href="../using-npm/scripts.html">npm scripts</a></li>
|
||||
<li><a href="../configuring-npm/package-json.html">package.json</a></li>
|
||||
<li><a href="../using-npm/config.html">config</a></li>
|
||||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-version.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-version.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
6
deps/npm/docs/output/commands/npm-view.html
vendored
6
deps/npm/docs/output/commands/npm-view.html
vendored
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-view----1130">
|
||||
<h1 id="----npm-view----1142">
|
||||
<span>npm-view</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">View registry info</span>
|
||||
</header>
|
||||
|
@ -291,7 +291,7 @@ the field name.</p>
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-view.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-view.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
|
@ -141,9 +141,9 @@ npm command-line interface
|
|||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-whoami----1130">
|
||||
<h1 id="----npm-whoami----1142">
|
||||
<span>npm-whoami</span>
|
||||
<span class="version">@11.3.0</span>
|
||||
<span class="version">@11.4.2</span>
|
||||
</h1>
|
||||
<span class="description">Display npm username</span>
|
||||
</header>
|
||||
|
@ -179,7 +179,7 @@ associated with the token, and print to standard output.</p>
|
|||
</ul></div>
|
||||
|
||||
<footer id="edit">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/content/commands/npm-whoami.md">
|
||||
<a href="https://github.com/npm/cli/edit/latest/docs/lib/content/commands/npm-whoami.md">
|
||||
<svg role="img" viewBox="0 0 16 16" width="16" height="16" fill="currentcolor" style="vertical-align: text-bottom; margin-right: 0.3em;">
|
||||
<path fill-rule="evenodd" d="M11.013 1.427a1.75 1.75 0 012.474 0l1.086 1.086a1.75 1.75 0 010 2.474l-8.61 8.61c-.21.21-.47.364-.756.445l-3.251.93a.75.75 0 01-.927-.928l.929-3.25a1.75 1.75 0 01.445-.758l8.61-8.61zm1.414 1.06a.25.25 0 00-.354 0L10.811 3.75l1.439 1.44 1.263-1.263a.25.25 0 000-.354l-1.086-1.086zM11.189 6.25L9.75 4.81l-6.286 6.287a.25.25 0 00-.064.108l-.558 1.953 1.953-.558a.249.249 0 00.108-.064l6.286-6.286z"></path>
|
||||
</svg>
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue