mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
deps: upgrade npm to 11.9.0
PR-URL: https://github.com/nodejs/node/pull/61685 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day>
This commit is contained in:
1 parent
c78c49ed6b
commit
a727054503
264 files changed
+1411
-1519
No files matched your search
+18
@@ -189,6 +189,24 @@ run any pre- or post-scripts.
|
||||
|
||||
|
||||
|
||||
#### `allow-git`
|
||||
|
||||
* Default: "all"
|
||||
* Type: "all", "none", or "root"
|
||||
|
||||
Limits the ability for npm to fetch dependencies from git references. That
|
||||
is, dependencies that point to a git repo instead of a version or semver
|
||||
range. Please note that this could leave your tree incomplete and some
|
||||
packages may not function as intended or designed.
|
||||
|
||||
`all` allows any git dependencies to be fetched and installed. `none`
|
||||
prevents any git dependencies from being fetched and installed. `root` only
|
||||
allows git dependencies defined in your project's package.json to be fetched
|
||||
installed. Also allows git dependencies to be fetched for other commands
|
||||
like `npm view`
|
||||
|
||||
|
||||
|
||||
#### `audit`
|
||||
|
||||
* Default: true
|
||||
|
||||
+18
@@ -184,6 +184,24 @@ run any pre- or post-scripts.
|
||||
|
||||
|
||||
|
||||
#### `allow-git`
|
||||
|
||||
* Default: "all"
|
||||
* Type: "all", "none", or "root"
|
||||
|
||||
Limits the ability for npm to fetch dependencies from git references. That
|
||||
is, dependencies that point to a git repo instead of a version or semver
|
||||
range. Please note that this could leave your tree incomplete and some
|
||||
packages may not function as intended or designed.
|
||||
|
||||
`all` allows any git dependencies to be fetched and installed. `none`
|
||||
prevents any git dependencies from being fetched and installed. `root` only
|
||||
allows git dependencies defined in your project's package.json to be fetched
|
||||
installed. Also allows git dependencies to be fetched for other commands
|
||||
like `npm view`
|
||||
|
||||
|
||||
|
||||
#### `audit`
|
||||
|
||||
* Default: true
|
||||
|
||||
@@ -142,6 +142,24 @@ run any pre- or post-scripts.
|
||||
|
||||
|
||||
|
||||
#### `allow-git`
|
||||
|
||||
* Default: "all"
|
||||
* Type: "all", "none", or "root"
|
||||
|
||||
Limits the ability for npm to fetch dependencies from git references. That
|
||||
is, dependencies that point to a git repo instead of a version or semver
|
||||
range. Please note that this could leave your tree incomplete and some
|
||||
packages may not function as intended or designed.
|
||||
|
||||
`all` allows any git dependencies to be fetched and installed. `none`
|
||||
prevents any git dependencies from being fetched and installed. `root` only
|
||||
allows git dependencies defined in your project's package.json to be fetched
|
||||
installed. Also allows git dependencies to be fetched for other commands
|
||||
like `npm view`
|
||||
|
||||
|
||||
|
||||
#### `audit`
|
||||
|
||||
* Default: true
|
||||
|
||||
@@ -219,6 +219,24 @@ run any pre- or post-scripts.
|
||||
|
||||
|
||||
|
||||
#### `allow-git`
|
||||
|
||||
* Default: "all"
|
||||
* Type: "all", "none", or "root"
|
||||
|
||||
Limits the ability for npm to fetch dependencies from git references. That
|
||||
is, dependencies that point to a git repo instead of a version or semver
|
||||
range. Please note that this could leave your tree incomplete and some
|
||||
packages may not function as intended or designed.
|
||||
|
||||
`all` allows any git dependencies to be fetched and installed. `none`
|
||||
prevents any git dependencies from being fetched and installed. `root` only
|
||||
allows git dependencies defined in your project's package.json to be fetched
|
||||
installed. Also allows git dependencies to be fetched for other commands
|
||||
like `npm view`
|
||||
|
||||
|
||||
|
||||
#### `audit`
|
||||
|
||||
* Default: true
|
||||
|
||||
+18
@@ -561,6 +561,24 @@ run any pre- or post-scripts.
|
||||
|
||||
|
||||
|
||||
#### `allow-git`
|
||||
|
||||
* Default: "all"
|
||||
* Type: "all", "none", or "root"
|
||||
|
||||
Limits the ability for npm to fetch dependencies from git references. That
|
||||
is, dependencies that point to a git repo instead of a version or semver
|
||||
range. Please note that this could leave your tree incomplete and some
|
||||
packages may not function as intended or designed.
|
||||
|
||||
`all` allows any git dependencies to be fetched and installed. `none`
|
||||
prevents any git dependencies from being fetched and installed. `root` only
|
||||
allows git dependencies defined in your project's package.json to be fetched
|
||||
installed. Also allows git dependencies to be fetched for other commands
|
||||
like `npm view`
|
||||
|
||||
|
||||
|
||||
#### `audit`
|
||||
|
||||
* Default: true
|
||||
|
||||
+18
@@ -248,6 +248,24 @@ run any pre- or post-scripts.
|
||||
|
||||
|
||||
|
||||
#### `allow-git`
|
||||
|
||||
* Default: "all"
|
||||
* Type: "all", "none", or "root"
|
||||
|
||||
Limits the ability for npm to fetch dependencies from git references. That
|
||||
is, dependencies that point to a git repo instead of a version or semver
|
||||
range. Please note that this could leave your tree incomplete and some
|
||||
packages may not function as intended or designed.
|
||||
|
||||
`all` allows any git dependencies to be fetched and installed. `none`
|
||||
prevents any git dependencies from being fetched and installed. `root` only
|
||||
allows git dependencies defined in your project's package.json to be fetched
|
||||
installed. Also allows git dependencies to be fetched for other commands
|
||||
like `npm view`
|
||||
|
||||
|
||||
|
||||
#### `audit`
|
||||
|
||||
* Default: true
|
||||
|
||||
+1
-1
@@ -23,7 +23,7 @@ Note that nested 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.8.0 /path/to/npm
|
||||
npm@11.9.0 /path/to/npm
|
||||
└─┬ init-package-json@0.0.4
|
||||
└── promzard@0.1.5
|
||||
```
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@ Note: This command is unaware of workspaces.
|
||||
|
||||
### Version
|
||||
|
||||
11.8.0
|
||||
11.9.0
|
||||
|
||||
### Description
|
||||
|
||||
|
||||
+18
@@ -165,6 +165,24 @@ upon by the current project.
|
||||
|
||||
|
||||
|
||||
#### `allow-git`
|
||||
|
||||
* Default: "all"
|
||||
* Type: "all", "none", or "root"
|
||||
|
||||
Limits the ability for npm to fetch dependencies from git references. That
|
||||
is, dependencies that point to a git repo instead of a version or semver
|
||||
range. Please note that this could leave your tree incomplete and some
|
||||
packages may not function as intended or designed.
|
||||
|
||||
`all` allows any git dependencies to be fetched and installed. `none`
|
||||
prevents any git dependencies from being fetched and installed. `root` only
|
||||
allows git dependencies defined in your project's package.json to be fetched
|
||||
installed. Also allows git dependencies to be fetched for other commands
|
||||
like `npm view`
|
||||
|
||||
|
||||
|
||||
#### `allow-same-version`
|
||||
|
||||
* Default: false
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-access----1180">
|
||||
<h1 id="----npm-access----1190">
|
||||
<span>npm-access</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Set access level on published packages</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-adduser----1180">
|
||||
<h1 id="----npm-adduser----1190">
|
||||
<span>npm-adduser</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Add a registry user account</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-audit----1180">
|
||||
<h1 id="----npm-audit----1190">
|
||||
<span>npm-audit</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Run a security audit</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-bugs----1180">
|
||||
<h1 id="----npm-bugs----1190">
|
||||
<span>npm-bugs</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Report bugs for a package in a web browser</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-cache----1180">
|
||||
<h1 id="----npm-cache----1190">
|
||||
<span>npm-cache</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Manipulates packages cache</span>
|
||||
</header>
|
||||
|
||||
+17
-3
@@ -141,16 +141,16 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-ci----1180">
|
||||
<h1 id="----npm-ci----1190">
|
||||
<span>npm-ci</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Clean install a project</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><li><a href="#example">Example</a></li><li><a href="#configuration">Configuration</a></li><ul><li><a href="#install-strategy"><code>install-strategy</code></a></li><li><a href="#legacy-bundling"><code>legacy-bundling</code></a></li><li><a href="#global-style"><code>global-style</code></a></li><li><a href="#omit"><code>omit</code></a></li><li><a href="#include"><code>include</code></a></li><li><a href="#strict-peer-deps"><code>strict-peer-deps</code></a></li><li><a href="#foreground-scripts"><code>foreground-scripts</code></a></li><li><a href="#ignore-scripts"><code>ignore-scripts</code></a></li><li><a href="#audit"><code>audit</code></a></li><li><a href="#bin-links"><code>bin-links</code></a></li><li><a href="#fund"><code>fund</code></a></li><li><a href="#dry-run"><code>dry-run</code></a></li><li><a href="#workspace"><code>workspace</code></a></li><li><a href="#workspaces"><code>workspaces</code></a></li><li><a href="#include-workspace-root"><code>include-workspace-root</code></a></li><li><a href="#install-links"><code>install-links</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><li><a href="#example">Example</a></li><li><a href="#configuration">Configuration</a></li><ul><li><a href="#install-strategy"><code>install-strategy</code></a></li><li><a href="#legacy-bundling"><code>legacy-bundling</code></a></li><li><a href="#global-style"><code>global-style</code></a></li><li><a href="#omit"><code>omit</code></a></li><li><a href="#include"><code>include</code></a></li><li><a href="#strict-peer-deps"><code>strict-peer-deps</code></a></li><li><a href="#foreground-scripts"><code>foreground-scripts</code></a></li><li><a href="#ignore-scripts"><code>ignore-scripts</code></a></li><li><a href="#allow-git"><code>allow-git</code></a></li><li><a href="#audit"><code>audit</code></a></li><li><a href="#bin-links"><code>bin-links</code></a></li><li><a href="#fund"><code>fund</code></a></li><li><a href="#dry-run"><code>dry-run</code></a></li><li><a href="#workspace"><code>workspace</code></a></li><li><a href="#workspaces"><code>workspaces</code></a></li><li><a href="#include-workspace-root"><code>include-workspace-root</code></a></li><li><a href="#install-links"><code>install-links</code></a></li></ul><li><a href="#see-also">See Also</a></li></ul></div>
|
||||
</section>
|
||||
|
||||
<div id="_content"><h3 id="synopsis">Synopsis</h3>
|
||||
@@ -288,6 +288,20 @@ but can be useful for debugging.</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="allow-git"><code>allow-git</code></h4>
|
||||
<ul>
|
||||
<li>Default: "all"</li>
|
||||
<li>Type: "all", "none", or "root"</li>
|
||||
</ul>
|
||||
<p>Limits the ability for npm to fetch dependencies from git references. That
|
||||
is, dependencies that point to a git repo instead of a version or semver
|
||||
range. Please note that this could leave your tree incomplete and some
|
||||
packages may not function as intended or designed.</p>
|
||||
<p><code>all</code> allows any git dependencies to be fetched and installed. <code>none</code>
|
||||
prevents any git dependencies from being fetched and installed. <code>root</code> only
|
||||
allows git dependencies defined in your project's package.json to be fetched
|
||||
installed. Also allows git dependencies to be fetched for other commands
|
||||
like <code>npm view</code></p>
|
||||
<h4 id="audit"><code>audit</code></h4>
|
||||
<ul>
|
||||
<li>Default: true</li>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-completion----1180">
|
||||
<h1 id="----npm-completion----1190">
|
||||
<span>npm-completion</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Tab Completion for npm</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-config----1180">
|
||||
<h1 id="----npm-config----1190">
|
||||
<span>npm-config</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Manage the npm configuration files</span>
|
||||
</header>
|
||||
|
||||
+17
-3
@@ -141,16 +141,16 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-dedupe----1180">
|
||||
<h1 id="----npm-dedupe----1190">
|
||||
<span>npm-dedupe</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Reduce duplication in the package tree</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><li><a href="#configuration">Configuration</a></li><ul><li><a href="#install-strategy"><code>install-strategy</code></a></li><li><a href="#legacy-bundling"><code>legacy-bundling</code></a></li><li><a href="#global-style"><code>global-style</code></a></li><li><a href="#strict-peer-deps"><code>strict-peer-deps</code></a></li><li><a href="#package-lock"><code>package-lock</code></a></li><li><a href="#omit"><code>omit</code></a></li><li><a href="#include"><code>include</code></a></li><li><a href="#ignore-scripts"><code>ignore-scripts</code></a></li><li><a href="#audit"><code>audit</code></a></li><li><a href="#bin-links"><code>bin-links</code></a></li><li><a href="#fund"><code>fund</code></a></li><li><a href="#dry-run"><code>dry-run</code></a></li><li><a href="#workspace"><code>workspace</code></a></li><li><a href="#workspaces"><code>workspaces</code></a></li><li><a href="#include-workspace-root"><code>include-workspace-root</code></a></li><li><a href="#install-links"><code>install-links</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><li><a href="#configuration">Configuration</a></li><ul><li><a href="#install-strategy"><code>install-strategy</code></a></li><li><a href="#legacy-bundling"><code>legacy-bundling</code></a></li><li><a href="#global-style"><code>global-style</code></a></li><li><a href="#strict-peer-deps"><code>strict-peer-deps</code></a></li><li><a href="#package-lock"><code>package-lock</code></a></li><li><a href="#omit"><code>omit</code></a></li><li><a href="#include"><code>include</code></a></li><li><a href="#ignore-scripts"><code>ignore-scripts</code></a></li><li><a href="#allow-git"><code>allow-git</code></a></li><li><a href="#audit"><code>audit</code></a></li><li><a href="#bin-links"><code>bin-links</code></a></li><li><a href="#fund"><code>fund</code></a></li><li><a href="#dry-run"><code>dry-run</code></a></li><li><a href="#workspace"><code>workspace</code></a></li><li><a href="#workspaces"><code>workspaces</code></a></li><li><a href="#include-workspace-root"><code>include-workspace-root</code></a></li><li><a href="#install-links"><code>install-links</code></a></li></ul><li><a href="#see-also">See Also</a></li></ul></div>
|
||||
</section>
|
||||
|
||||
<div id="_content"><h3 id="synopsis">Synopsis</h3>
|
||||
@@ -278,6 +278,20 @@ the order in which omit/include are specified on the command-line.</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="allow-git"><code>allow-git</code></h4>
|
||||
<ul>
|
||||
<li>Default: "all"</li>
|
||||
<li>Type: "all", "none", or "root"</li>
|
||||
</ul>
|
||||
<p>Limits the ability for npm to fetch dependencies from git references. That
|
||||
is, dependencies that point to a git repo instead of a version or semver
|
||||
range. Please note that this could leave your tree incomplete and some
|
||||
packages may not function as intended or designed.</p>
|
||||
<p><code>all</code> allows any git dependencies to be fetched and installed. <code>none</code>
|
||||
prevents any git dependencies from being fetched and installed. <code>root</code> only
|
||||
allows git dependencies defined in your project's package.json to be fetched
|
||||
installed. Also allows git dependencies to be fetched for other commands
|
||||
like <code>npm view</code></p>
|
||||
<h4 id="audit"><code>audit</code></h4>
|
||||
<ul>
|
||||
<li>Default: true</li>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-deprecate----1180">
|
||||
<h1 id="----npm-deprecate----1190">
|
||||
<span>npm-deprecate</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Deprecate a version of a package</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-diff----1180">
|
||||
<h1 id="----npm-diff----1190">
|
||||
<span>npm-diff</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">The registry diff command</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-dist-tag----1180">
|
||||
<h1 id="----npm-dist-tag----1190">
|
||||
<span>npm-dist-tag</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Modify package distribution tags</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-docs----1180">
|
||||
<h1 id="----npm-docs----1190">
|
||||
<span>npm-docs</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Open documentation for a package in a web browser</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-doctor----1180">
|
||||
<h1 id="----npm-doctor----1190">
|
||||
<span>npm-doctor</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Check the health of your npm environment</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-edit----1180">
|
||||
<h1 id="----npm-edit----1190">
|
||||
<span>npm-edit</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Edit an installed package</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-exec----1180">
|
||||
<h1 id="----npm-exec----1190">
|
||||
<span>npm-exec</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Run a command from a local or remote npm package</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-explain----1180">
|
||||
<h1 id="----npm-explain----1190">
|
||||
<span>npm-explain</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Explain installed packages</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-explore----1180">
|
||||
<h1 id="----npm-explore----1190">
|
||||
<span>npm-explore</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Browse an installed package</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-find-dupes----1180">
|
||||
<h1 id="----npm-find-dupes----1190">
|
||||
<span>npm-find-dupes</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Find duplication in the package tree</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-fund----1180">
|
||||
<h1 id="----npm-fund----1190">
|
||||
<span>npm-fund</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Retrieve funding information</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-help-search----1180">
|
||||
<h1 id="----npm-help-search----1190">
|
||||
<span>npm-help-search</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Search npm help documentation</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-help----1180">
|
||||
<h1 id="----npm-help----1190">
|
||||
<span>npm-help</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Get help on npm</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-init----1180">
|
||||
<h1 id="----npm-init----1190">
|
||||
<span>npm-init</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Create a package.json file</span>
|
||||
</header>
|
||||
|
||||
+17
-3
@@ -141,16 +141,16 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-install-ci-test----1180">
|
||||
<h1 id="----npm-install-ci-test----1190">
|
||||
<span>npm-install-ci-test</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Install a project with a clean slate and run tests</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><li><a href="#configuration">Configuration</a></li><ul><li><a href="#install-strategy"><code>install-strategy</code></a></li><li><a href="#legacy-bundling"><code>legacy-bundling</code></a></li><li><a href="#global-style"><code>global-style</code></a></li><li><a href="#omit"><code>omit</code></a></li><li><a href="#include"><code>include</code></a></li><li><a href="#strict-peer-deps"><code>strict-peer-deps</code></a></li><li><a href="#foreground-scripts"><code>foreground-scripts</code></a></li><li><a href="#ignore-scripts"><code>ignore-scripts</code></a></li><li><a href="#audit"><code>audit</code></a></li><li><a href="#bin-links"><code>bin-links</code></a></li><li><a href="#fund"><code>fund</code></a></li><li><a href="#dry-run"><code>dry-run</code></a></li><li><a href="#workspace"><code>workspace</code></a></li><li><a href="#workspaces"><code>workspaces</code></a></li><li><a href="#include-workspace-root"><code>include-workspace-root</code></a></li><li><a href="#install-links"><code>install-links</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><li><a href="#configuration">Configuration</a></li><ul><li><a href="#install-strategy"><code>install-strategy</code></a></li><li><a href="#legacy-bundling"><code>legacy-bundling</code></a></li><li><a href="#global-style"><code>global-style</code></a></li><li><a href="#omit"><code>omit</code></a></li><li><a href="#include"><code>include</code></a></li><li><a href="#strict-peer-deps"><code>strict-peer-deps</code></a></li><li><a href="#foreground-scripts"><code>foreground-scripts</code></a></li><li><a href="#ignore-scripts"><code>ignore-scripts</code></a></li><li><a href="#allow-git"><code>allow-git</code></a></li><li><a href="#audit"><code>audit</code></a></li><li><a href="#bin-links"><code>bin-links</code></a></li><li><a href="#fund"><code>fund</code></a></li><li><a href="#dry-run"><code>dry-run</code></a></li><li><a href="#workspace"><code>workspace</code></a></li><li><a href="#workspaces"><code>workspaces</code></a></li><li><a href="#include-workspace-root"><code>include-workspace-root</code></a></li><li><a href="#install-links"><code>install-links</code></a></li></ul><li><a href="#see-also">See Also</a></li></ul></div>
|
||||
</section>
|
||||
|
||||
<div id="_content"><h3 id="synopsis">Synopsis</h3>
|
||||
@@ -252,6 +252,20 @@ but can be useful for debugging.</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="allow-git"><code>allow-git</code></h4>
|
||||
<ul>
|
||||
<li>Default: "all"</li>
|
||||
<li>Type: "all", "none", or "root"</li>
|
||||
</ul>
|
||||
<p>Limits the ability for npm to fetch dependencies from git references. That
|
||||
is, dependencies that point to a git repo instead of a version or semver
|
||||
range. Please note that this could leave your tree incomplete and some
|
||||
packages may not function as intended or designed.</p>
|
||||
<p><code>all</code> allows any git dependencies to be fetched and installed. <code>none</code>
|
||||
prevents any git dependencies from being fetched and installed. <code>root</code> only
|
||||
allows git dependencies defined in your project's package.json to be fetched
|
||||
installed. Also allows git dependencies to be fetched for other commands
|
||||
like <code>npm view</code></p>
|
||||
<h4 id="audit"><code>audit</code></h4>
|
||||
<ul>
|
||||
<li>Default: true</li>
|
||||
|
||||
+17
-3
@@ -141,16 +141,16 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-install-test----1180">
|
||||
<h1 id="----npm-install-test----1190">
|
||||
<span>npm-install-test</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Install package(s) and run tests</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><li><a href="#configuration">Configuration</a></li><ul><li><a href="#save"><code>save</code></a></li><li><a href="#save-exact"><code>save-exact</code></a></li><li><a href="#global"><code>global</code></a></li><li><a href="#install-strategy"><code>install-strategy</code></a></li><li><a href="#legacy-bundling"><code>legacy-bundling</code></a></li><li><a href="#global-style"><code>global-style</code></a></li><li><a href="#omit"><code>omit</code></a></li><li><a href="#include"><code>include</code></a></li><li><a href="#strict-peer-deps"><code>strict-peer-deps</code></a></li><li><a href="#prefer-dedupe"><code>prefer-dedupe</code></a></li><li><a href="#package-lock"><code>package-lock</code></a></li><li><a href="#package-lock-only"><code>package-lock-only</code></a></li><li><a href="#foreground-scripts"><code>foreground-scripts</code></a></li><li><a href="#ignore-scripts"><code>ignore-scripts</code></a></li><li><a href="#audit"><code>audit</code></a></li><li><a href="#before"><code>before</code></a></li><li><a href="#bin-links"><code>bin-links</code></a></li><li><a href="#fund"><code>fund</code></a></li><li><a href="#dry-run"><code>dry-run</code></a></li><li><a href="#cpu"><code>cpu</code></a></li><li><a href="#os"><code>os</code></a></li><li><a href="#libc"><code>libc</code></a></li><li><a href="#workspace"><code>workspace</code></a></li><li><a href="#workspaces"><code>workspaces</code></a></li><li><a href="#include-workspace-root"><code>include-workspace-root</code></a></li><li><a href="#install-links"><code>install-links</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><li><a href="#configuration">Configuration</a></li><ul><li><a href="#save"><code>save</code></a></li><li><a href="#save-exact"><code>save-exact</code></a></li><li><a href="#global"><code>global</code></a></li><li><a href="#install-strategy"><code>install-strategy</code></a></li><li><a href="#legacy-bundling"><code>legacy-bundling</code></a></li><li><a href="#global-style"><code>global-style</code></a></li><li><a href="#omit"><code>omit</code></a></li><li><a href="#include"><code>include</code></a></li><li><a href="#strict-peer-deps"><code>strict-peer-deps</code></a></li><li><a href="#prefer-dedupe"><code>prefer-dedupe</code></a></li><li><a href="#package-lock"><code>package-lock</code></a></li><li><a href="#package-lock-only"><code>package-lock-only</code></a></li><li><a href="#foreground-scripts"><code>foreground-scripts</code></a></li><li><a href="#ignore-scripts"><code>ignore-scripts</code></a></li><li><a href="#allow-git"><code>allow-git</code></a></li><li><a href="#audit"><code>audit</code></a></li><li><a href="#before"><code>before</code></a></li><li><a href="#bin-links"><code>bin-links</code></a></li><li><a href="#fund"><code>fund</code></a></li><li><a href="#dry-run"><code>dry-run</code></a></li><li><a href="#cpu"><code>cpu</code></a></li><li><a href="#os"><code>os</code></a></li><li><a href="#libc"><code>libc</code></a></li><li><a href="#workspace"><code>workspace</code></a></li><li><a href="#workspaces"><code>workspaces</code></a></li><li><a href="#include-workspace-root"><code>include-workspace-root</code></a></li><li><a href="#install-links"><code>install-links</code></a></li></ul><li><a href="#see-also">See Also</a></li></ul></div>
|
||||
</section>
|
||||
|
||||
<div id="_content"><h3 id="synopsis">Synopsis</h3>
|
||||
@@ -308,6 +308,20 @@ but can be useful for debugging.</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="allow-git"><code>allow-git</code></h4>
|
||||
<ul>
|
||||
<li>Default: "all"</li>
|
||||
<li>Type: "all", "none", or "root"</li>
|
||||
</ul>
|
||||
<p>Limits the ability for npm to fetch dependencies from git references. That
|
||||
is, dependencies that point to a git repo instead of a version or semver
|
||||
range. Please note that this could leave your tree incomplete and some
|
||||
packages may not function as intended or designed.</p>
|
||||
<p><code>all</code> allows any git dependencies to be fetched and installed. <code>none</code>
|
||||
prevents any git dependencies from being fetched and installed. <code>root</code> only
|
||||
allows git dependencies defined in your project's package.json to be fetched
|
||||
installed. Also allows git dependencies to be fetched for other commands
|
||||
like <code>npm view</code></p>
|
||||
<h4 id="audit"><code>audit</code></h4>
|
||||
<ul>
|
||||
<li>Default: true</li>
|
||||
|
||||
+17
-3
@@ -141,16 +141,16 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-install----1180">
|
||||
<h1 id="----npm-install----1190">
|
||||
<span>npm-install</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Install a package</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="#how-npm-install-uses-package-lockjson">How <code>npm install</code> uses <code>package-lock.json</code></a></li></ul><li><a href="#configuration">Configuration</a></li><ul><li><a href="#save"><code>save</code></a></li><li><a href="#save-exact"><code>save-exact</code></a></li><li><a href="#global"><code>global</code></a></li><li><a href="#install-strategy"><code>install-strategy</code></a></li><li><a href="#legacy-bundling"><code>legacy-bundling</code></a></li><li><a href="#global-style"><code>global-style</code></a></li><li><a href="#omit"><code>omit</code></a></li><li><a href="#include"><code>include</code></a></li><li><a href="#strict-peer-deps"><code>strict-peer-deps</code></a></li><li><a href="#prefer-dedupe"><code>prefer-dedupe</code></a></li><li><a href="#package-lock"><code>package-lock</code></a></li><li><a href="#package-lock-only"><code>package-lock-only</code></a></li><li><a href="#foreground-scripts"><code>foreground-scripts</code></a></li><li><a href="#ignore-scripts"><code>ignore-scripts</code></a></li><li><a href="#audit"><code>audit</code></a></li><li><a href="#before"><code>before</code></a></li><li><a href="#bin-links"><code>bin-links</code></a></li><li><a href="#fund"><code>fund</code></a></li><li><a href="#dry-run"><code>dry-run</code></a></li><li><a href="#cpu"><code>cpu</code></a></li><li><a href="#os"><code>os</code></a></li><li><a href="#libc"><code>libc</code></a></li><li><a href="#workspace"><code>workspace</code></a></li><li><a href="#workspaces"><code>workspaces</code></a></li><li><a href="#include-workspace-root"><code>include-workspace-root</code></a></li><li><a href="#install-links"><code>install-links</code></a></li></ul><li><a href="#algorithm">Algorithm</a></li><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="#how-npm-install-uses-package-lockjson">How <code>npm install</code> uses <code>package-lock.json</code></a></li></ul><li><a href="#configuration">Configuration</a></li><ul><li><a href="#save"><code>save</code></a></li><li><a href="#save-exact"><code>save-exact</code></a></li><li><a href="#global"><code>global</code></a></li><li><a href="#install-strategy"><code>install-strategy</code></a></li><li><a href="#legacy-bundling"><code>legacy-bundling</code></a></li><li><a href="#global-style"><code>global-style</code></a></li><li><a href="#omit"><code>omit</code></a></li><li><a href="#include"><code>include</code></a></li><li><a href="#strict-peer-deps"><code>strict-peer-deps</code></a></li><li><a href="#prefer-dedupe"><code>prefer-dedupe</code></a></li><li><a href="#package-lock"><code>package-lock</code></a></li><li><a href="#package-lock-only"><code>package-lock-only</code></a></li><li><a href="#foreground-scripts"><code>foreground-scripts</code></a></li><li><a href="#ignore-scripts"><code>ignore-scripts</code></a></li><li><a href="#allow-git"><code>allow-git</code></a></li><li><a href="#audit"><code>audit</code></a></li><li><a href="#before"><code>before</code></a></li><li><a href="#bin-links"><code>bin-links</code></a></li><li><a href="#fund"><code>fund</code></a></li><li><a href="#dry-run"><code>dry-run</code></a></li><li><a href="#cpu"><code>cpu</code></a></li><li><a href="#os"><code>os</code></a></li><li><a href="#libc"><code>libc</code></a></li><li><a href="#workspace"><code>workspace</code></a></li><li><a href="#workspaces"><code>workspaces</code></a></li><li><a href="#include-workspace-root"><code>include-workspace-root</code></a></li><li><a href="#install-links"><code>install-links</code></a></li></ul><li><a href="#algorithm">Algorithm</a></li><li><a href="#see-also">See Also</a></li></ul></div>
|
||||
</section>
|
||||
|
||||
<div id="_content"><h3 id="synopsis">Synopsis</h3>
|
||||
@@ -583,6 +583,20 @@ but can be useful for debugging.</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="allow-git"><code>allow-git</code></h4>
|
||||
<ul>
|
||||
<li>Default: "all"</li>
|
||||
<li>Type: "all", "none", or "root"</li>
|
||||
</ul>
|
||||
<p>Limits the ability for npm to fetch dependencies from git references. That
|
||||
is, dependencies that point to a git repo instead of a version or semver
|
||||
range. Please note that this could leave your tree incomplete and some
|
||||
packages may not function as intended or designed.</p>
|
||||
<p><code>all</code> allows any git dependencies to be fetched and installed. <code>none</code>
|
||||
prevents any git dependencies from being fetched and installed. <code>root</code> only
|
||||
allows git dependencies defined in your project's package.json to be fetched
|
||||
installed. Also allows git dependencies to be fetched for other commands
|
||||
like <code>npm view</code></p>
|
||||
<h4 id="audit"><code>audit</code></h4>
|
||||
<ul>
|
||||
<li>Default: true</li>
|
||||
|
||||
+17
-3
@@ -141,16 +141,16 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-link----1180">
|
||||
<h1 id="----npm-link----1190">
|
||||
<span>npm-link</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Symlink a package folder</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><li><a href="#caveat">Caveat</a></li><li><a href="#workspace-usage">Workspace Usage</a></li><li><a href="#configuration">Configuration</a></li><ul><li><a href="#save"><code>save</code></a></li><li><a href="#save-exact"><code>save-exact</code></a></li><li><a href="#global"><code>global</code></a></li><li><a href="#install-strategy"><code>install-strategy</code></a></li><li><a href="#legacy-bundling"><code>legacy-bundling</code></a></li><li><a href="#global-style"><code>global-style</code></a></li><li><a href="#strict-peer-deps"><code>strict-peer-deps</code></a></li><li><a href="#package-lock"><code>package-lock</code></a></li><li><a href="#omit"><code>omit</code></a></li><li><a href="#include"><code>include</code></a></li><li><a href="#ignore-scripts"><code>ignore-scripts</code></a></li><li><a href="#audit"><code>audit</code></a></li><li><a href="#bin-links"><code>bin-links</code></a></li><li><a href="#fund"><code>fund</code></a></li><li><a href="#dry-run"><code>dry-run</code></a></li><li><a href="#workspace"><code>workspace</code></a></li><li><a href="#workspaces"><code>workspaces</code></a></li><li><a href="#include-workspace-root"><code>include-workspace-root</code></a></li><li><a href="#install-links"><code>install-links</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><li><a href="#caveat">Caveat</a></li><li><a href="#workspace-usage">Workspace Usage</a></li><li><a href="#configuration">Configuration</a></li><ul><li><a href="#save"><code>save</code></a></li><li><a href="#save-exact"><code>save-exact</code></a></li><li><a href="#global"><code>global</code></a></li><li><a href="#install-strategy"><code>install-strategy</code></a></li><li><a href="#legacy-bundling"><code>legacy-bundling</code></a></li><li><a href="#global-style"><code>global-style</code></a></li><li><a href="#strict-peer-deps"><code>strict-peer-deps</code></a></li><li><a href="#package-lock"><code>package-lock</code></a></li><li><a href="#omit"><code>omit</code></a></li><li><a href="#include"><code>include</code></a></li><li><a href="#ignore-scripts"><code>ignore-scripts</code></a></li><li><a href="#allow-git"><code>allow-git</code></a></li><li><a href="#audit"><code>audit</code></a></li><li><a href="#bin-links"><code>bin-links</code></a></li><li><a href="#fund"><code>fund</code></a></li><li><a href="#dry-run"><code>dry-run</code></a></li><li><a href="#workspace"><code>workspace</code></a></li><li><a href="#workspaces"><code>workspaces</code></a></li><li><a href="#include-workspace-root"><code>include-workspace-root</code></a></li><li><a href="#install-links"><code>install-links</code></a></li></ul><li><a href="#see-also">See Also</a></li></ul></div>
|
||||
</section>
|
||||
|
||||
<div id="_content"><h3 id="synopsis">Synopsis</h3>
|
||||
@@ -321,6 +321,20 @@ the order in which omit/include are specified on the command-line.</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="allow-git"><code>allow-git</code></h4>
|
||||
<ul>
|
||||
<li>Default: "all"</li>
|
||||
<li>Type: "all", "none", or "root"</li>
|
||||
</ul>
|
||||
<p>Limits the ability for npm to fetch dependencies from git references. That
|
||||
is, dependencies that point to a git repo instead of a version or semver
|
||||
range. Please note that this could leave your tree incomplete and some
|
||||
packages may not function as intended or designed.</p>
|
||||
<p><code>all</code> allows any git dependencies to be fetched and installed. <code>none</code>
|
||||
prevents any git dependencies from being fetched and installed. <code>root</code> only
|
||||
allows git dependencies defined in your project's package.json to be fetched
|
||||
installed. Also allows git dependencies to be fetched for other commands
|
||||
like <code>npm view</code></p>
|
||||
<h4 id="audit"><code>audit</code></h4>
|
||||
<ul>
|
||||
<li>Default: true</li>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-login----1180">
|
||||
<h1 id="----npm-login----1190">
|
||||
<span>npm-login</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Login to a registry user account</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-logout----1180">
|
||||
<h1 id="----npm-logout----1190">
|
||||
<span>npm-logout</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Log out of the registry</span>
|
||||
</header>
|
||||
|
||||
+3
-3
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-ls----1180">
|
||||
<h1 id="----npm-ls----1190">
|
||||
<span>npm-ls</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">List installed packages</span>
|
||||
</header>
|
||||
@@ -164,7 +164,7 @@ alias: list
|
||||
<p>Positional arguments are <code>name@version-range</code> identifiers, which will limit 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.8.0 /path/to/npm
|
||||
<pre><code class="language-bash">npm@11.9.0 /path/to/npm
|
||||
└─┬ init-package-json@0.0.4
|
||||
└── promzard@0.1.5
|
||||
</code></pre>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-org----1180">
|
||||
<h1 id="----npm-org----1190">
|
||||
<span>npm-org</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Manage orgs</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-outdated----1180">
|
||||
<h1 id="----npm-outdated----1190">
|
||||
<span>npm-outdated</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Check for outdated packages</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-owner----1180">
|
||||
<h1 id="----npm-owner----1190">
|
||||
<span>npm-owner</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Manage package owners</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-pack----1180">
|
||||
<h1 id="----npm-pack----1190">
|
||||
<span>npm-pack</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Create a tarball from a package</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-ping----1180">
|
||||
<h1 id="----npm-ping----1190">
|
||||
<span>npm-ping</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Ping npm registry</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-pkg----1180">
|
||||
<h1 id="----npm-pkg----1190">
|
||||
<span>npm-pkg</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Manages your package.json</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-prefix----1180">
|
||||
<h1 id="----npm-prefix----1190">
|
||||
<span>npm-prefix</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Display prefix</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-profile----1180">
|
||||
<h1 id="----npm-profile----1190">
|
||||
<span>npm-profile</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Change settings on your registry profile</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-prune----1180">
|
||||
<h1 id="----npm-prune----1190">
|
||||
<span>npm-prune</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Remove extraneous packages</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-publish----1180">
|
||||
<h1 id="----npm-publish----1190">
|
||||
<span>npm-publish</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Publish a package</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-query----1180">
|
||||
<h1 id="----npm-query----1190">
|
||||
<span>npm-query</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Dependency selector query</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-rebuild----1180">
|
||||
<h1 id="----npm-rebuild----1190">
|
||||
<span>npm-rebuild</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Rebuild a package</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-repo----1180">
|
||||
<h1 id="----npm-repo----1190">
|
||||
<span>npm-repo</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Open package repository page in the browser</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-restart----1180">
|
||||
<h1 id="----npm-restart----1190">
|
||||
<span>npm-restart</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Restart a package</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-root----1180">
|
||||
<h1 id="----npm-root----1190">
|
||||
<span>npm-root</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Display npm root</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-run----1180">
|
||||
<h1 id="----npm-run----1190">
|
||||
<span>npm-run</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Run arbitrary package scripts</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-sbom----1180">
|
||||
<h1 id="----npm-sbom----1190">
|
||||
<span>npm-sbom</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Generate a Software Bill of Materials (SBOM)</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-search----1180">
|
||||
<h1 id="----npm-search----1190">
|
||||
<span>npm-search</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Search for packages</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-shrinkwrap----1180">
|
||||
<h1 id="----npm-shrinkwrap----1190">
|
||||
<span>npm-shrinkwrap</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Lock down dependency versions for publication</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-star----1180">
|
||||
<h1 id="----npm-star----1190">
|
||||
<span>npm-star</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Mark your favorite packages</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-stars----1180">
|
||||
<h1 id="----npm-stars----1190">
|
||||
<span>npm-stars</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">View packages marked as favorites</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-start----1180">
|
||||
<h1 id="----npm-start----1190">
|
||||
<span>npm-start</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Start a package</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-stop----1180">
|
||||
<h1 id="----npm-stop----1190">
|
||||
<span>npm-stop</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Stop a package</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-team----1180">
|
||||
<h1 id="----npm-team----1190">
|
||||
<span>npm-team</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Manage organization teams and team memberships</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-test----1180">
|
||||
<h1 id="----npm-test----1190">
|
||||
<span>npm-test</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Test a package</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-token----1180">
|
||||
<h1 id="----npm-token----1190">
|
||||
<span>npm-token</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Manage your authentication tokens</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-undeprecate----1180">
|
||||
<h1 id="----npm-undeprecate----1190">
|
||||
<span>npm-undeprecate</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Undeprecate a version of a package</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-uninstall----1180">
|
||||
<h1 id="----npm-uninstall----1190">
|
||||
<span>npm-uninstall</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Remove a package</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-unpublish----1180">
|
||||
<h1 id="----npm-unpublish----1190">
|
||||
<span>npm-unpublish</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Remove a package from the registry</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-unstar----1180">
|
||||
<h1 id="----npm-unstar----1190">
|
||||
<span>npm-unstar</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Remove an item from your favorite packages</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-update----1180">
|
||||
<h1 id="----npm-update----1190">
|
||||
<span>npm-update</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Update packages</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-version----1180">
|
||||
<h1 id="----npm-version----1190">
|
||||
<span>npm-version</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Bump a package version</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-view----1180">
|
||||
<h1 id="----npm-view----1190">
|
||||
<span>npm-view</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">View registry info</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-whoami----1180">
|
||||
<h1 id="----npm-whoami----1190">
|
||||
<span>npm-whoami</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Display npm username</span>
|
||||
</header>
|
||||
|
||||
+3
-3
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm----1180">
|
||||
<h1 id="----npm----1190">
|
||||
<span>npm</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">javascript package manager</span>
|
||||
</header>
|
||||
@@ -158,7 +158,7 @@ npm command-line interface
|
||||
</code></pre>
|
||||
<p>Note: This command is unaware of workspaces.</p>
|
||||
<h3 id="version">Version</h3>
|
||||
<p>11.8.0</p>
|
||||
<p>11.9.0</p>
|
||||
<h3 id="description">Description</h3>
|
||||
<p>npm is the package manager for the Node JavaScript platform.
|
||||
It puts modules in place so that node can find them, and manages dependency conflicts intelligently.</p>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npx----1180">
|
||||
<h1 id="----npx----1190">
|
||||
<span>npx</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Run a command from a local or remote npm package</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----folders----1180">
|
||||
<h1 id="----folders----1190">
|
||||
<span>folders</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Folder Structures Used by npm</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----install----1180">
|
||||
<h1 id="----install----1190">
|
||||
<span>install</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Download and install node and npm</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----folders----1180">
|
||||
<h1 id="----folders----1190">
|
||||
<span>folders</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Folder Structures Used by npm</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----packagejson----1180">
|
||||
<h1 id="----packagejson----1190">
|
||||
<span>package.json</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Specifics of npm's package.json handling</span>
|
||||
</header>
|
||||
|
||||
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npm-shrinkwrapjson----1180">
|
||||
<h1 id="----npm-shrinkwrapjson----1190">
|
||||
<span>npm-shrinkwrap.json</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">A publishable lockfile</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----npmrc----1180">
|
||||
<h1 id="----npmrc----1190">
|
||||
<span>npmrc</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">The npm config files</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----packagejson----1180">
|
||||
<h1 id="----packagejson----1190">
|
||||
<span>package.json</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Specifics of npm's package.json handling</span>
|
||||
</header>
|
||||
|
||||
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----package-lockjson----1180">
|
||||
<h1 id="----package-lockjson----1190">
|
||||
<span>package-lock.json</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">A manifestation of the manifest</span>
|
||||
</header>
|
||||
|
||||
+17
-3
@@ -141,16 +141,16 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----config----1180">
|
||||
<h1 id="----config----1190">
|
||||
<span>config</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">More than you probably want to know about npm configuration</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="#description">Description</a></li><ul><li><a href="#command-line-flags">Command Line Flags</a></li><li><a href="#environment-variables">Environment Variables</a></li><li><a href="#npmrc-files">npmrc Files</a></li><li><a href="#default-configs">Default Configs</a></li></ul><li><a href="#shorthands-and-other-cli-niceties">Shorthands and Other CLI Niceties</a></li><li><a href="#config-settings">Config Settings</a></li><ul><li><a href="#auth"><code>_auth</code></a></li><li><a href="#access"><code>access</code></a></li><li><a href="#all"><code>all</code></a></li><li><a href="#allow-same-version"><code>allow-same-version</code></a></li><li><a href="#audit"><code>audit</code></a></li><li><a href="#audit-level"><code>audit-level</code></a></li><li><a href="#auth-type"><code>auth-type</code></a></li><li><a href="#before"><code>before</code></a></li><li><a href="#bin-links"><code>bin-links</code></a></li><li><a href="#browser"><code>browser</code></a></li><li><a href="#bypass-2fa"><code>bypass-2fa</code></a></li><li><a href="#ca"><code>ca</code></a></li><li><a href="#cache"><code>cache</code></a></li><li><a href="#cafile"><code>cafile</code></a></li><li><a href="#call"><code>call</code></a></li><li><a href="#cidr"><code>cidr</code></a></li><li><a href="#color"><code>color</code></a></li><li><a href="#commit-hooks"><code>commit-hooks</code></a></li><li><a href="#cpu"><code>cpu</code></a></li><li><a href="#depth"><code>depth</code></a></li><li><a href="#description2"><code>description</code></a></li><li><a href="#diff"><code>diff</code></a></li><li><a href="#diff-dst-prefix"><code>diff-dst-prefix</code></a></li><li><a href="#diff-ignore-all-space"><code>diff-ignore-all-space</code></a></li><li><a href="#diff-name-only"><code>diff-name-only</code></a></li><li><a href="#diff-no-prefix"><code>diff-no-prefix</code></a></li><li><a href="#diff-src-prefix"><code>diff-src-prefix</code></a></li><li><a href="#diff-text"><code>diff-text</code></a></li><li><a href="#diff-unified"><code>diff-unified</code></a></li><li><a href="#dry-run"><code>dry-run</code></a></li><li><a href="#editor"><code>editor</code></a></li><li><a href="#engine-strict"><code>engine-strict</code></a></li><li><a href="#expect-result-count"><code>expect-result-count</code></a></li><li><a href="#expect-results"><code>expect-results</code></a></li><li><a href="#expires"><code>expires</code></a></li><li><a href="#fetch-retries"><code>fetch-retries</code></a></li><li><a href="#fetch-retry-factor"><code>fetch-retry-factor</code></a></li><li><a href="#fetch-retry-maxtimeout"><code>fetch-retry-maxtimeout</code></a></li><li><a href="#fetch-retry-mintimeout"><code>fetch-retry-mintimeout</code></a></li><li><a href="#fetch-timeout"><code>fetch-timeout</code></a></li><li><a href="#force"><code>force</code></a></li><li><a href="#foreground-scripts"><code>foreground-scripts</code></a></li><li><a href="#format-package-lock"><code>format-package-lock</code></a></li><li><a href="#fund"><code>fund</code></a></li><li><a href="#git"><code>git</code></a></li><li><a href="#git-tag-version"><code>git-tag-version</code></a></li><li><a href="#global"><code>global</code></a></li><li><a href="#globalconfig"><code>globalconfig</code></a></li><li><a href="#heading"><code>heading</code></a></li><li><a href="#https-proxy"><code>https-proxy</code></a></li><li><a href="#if-present"><code>if-present</code></a></li><li><a href="#ignore-scripts"><code>ignore-scripts</code></a></li><li><a href="#include"><code>include</code></a></li><li><a href="#include-staged"><code>include-staged</code></a></li><li><a href="#include-workspace-root"><code>include-workspace-root</code></a></li><li><a href="#init-author-email"><code>init-author-email</code></a></li><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-private"><code>init-private</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="#install-links"><code>install-links</code></a></li><li><a href="#install-strategy"><code>install-strategy</code></a></li><li><a href="#json"><code>json</code></a></li><li><a href="#legacy-peer-deps"><code>legacy-peer-deps</code></a></li><li><a href="#libc"><code>libc</code></a></li><li><a href="#link"><code>link</code></a></li><li><a href="#local-address"><code>local-address</code></a></li><li><a href="#location"><code>location</code></a></li><li><a href="#lockfile-version"><code>lockfile-version</code></a></li><li><a href="#loglevel"><code>loglevel</code></a></li><li><a href="#logs-dir"><code>logs-dir</code></a></li><li><a href="#logs-max"><code>logs-max</code></a></li><li><a href="#long"><code>long</code></a></li><li><a href="#maxsockets"><code>maxsockets</codeLine truncated
|
||||
<div id="_table_of_contents"><ul><li><a href="#description">Description</a></li><ul><li><a href="#command-line-flags">Command Line Flags</a></li><li><a href="#environment-variables">Environment Variables</a></li><li><a href="#npmrc-files">npmrc Files</a></li><li><a href="#default-configs">Default Configs</a></li></ul><li><a href="#shorthands-and-other-cli-niceties">Shorthands and Other CLI Niceties</a></li><li><a href="#config-settings">Config Settings</a></li><ul><li><a href="#auth"><code>_auth</code></a></li><li><a href="#access"><code>access</code></a></li><li><a href="#all"><code>all</code></a></li><li><a href="#allow-git"><code>allow-git</code></a></li><li><a href="#allow-same-version"><code>allow-same-version</code></a></li><li><a href="#audit"><code>audit</code></a></li><li><a href="#audit-level"><code>audit-level</code></a></li><li><a href="#auth-type"><code>auth-type</code></a></li><li><a href="#before"><code>before</code></a></li><li><a href="#bin-links"><code>bin-links</code></a></li><li><a href="#browser"><code>browser</code></a></li><li><a href="#bypass-2fa"><code>bypass-2fa</code></a></li><li><a href="#ca"><code>ca</code></a></li><li><a href="#cache"><code>cache</code></a></li><li><a href="#cafile"><code>cafile</code></a></li><li><a href="#call"><code>call</code></a></li><li><a href="#cidr"><code>cidr</code></a></li><li><a href="#color"><code>color</code></a></li><li><a href="#commit-hooks"><code>commit-hooks</code></a></li><li><a href="#cpu"><code>cpu</code></a></li><li><a href="#depth"><code>depth</code></a></li><li><a href="#description2"><code>description</code></a></li><li><a href="#diff"><code>diff</code></a></li><li><a href="#diff-dst-prefix"><code>diff-dst-prefix</code></a></li><li><a href="#diff-ignore-all-space"><code>diff-ignore-all-space</code></a></li><li><a href="#diff-name-only"><code>diff-name-only</code></a></li><li><a href="#diff-no-prefix"><code>diff-no-prefix</code></a></li><li><a href="#diff-src-prefix"><code>diff-src-prefix</code></a></li><li><a href="#diff-text"><code>diff-text</code></a></li><li><a href="#diff-unified"><code>diff-unified</code></a></li><li><a href="#dry-run"><code>dry-run</code></a></li><li><a href="#editor"><code>editor</code></a></li><li><a href="#engine-strict"><code>engine-strict</code></a></li><li><a href="#expect-result-count"><code>expect-result-count</code></a></li><li><a href="#expect-results"><code>expect-results</code></a></li><li><a href="#expires"><code>expires</code></a></li><li><a href="#fetch-retries"><code>fetch-retries</code></a></li><li><a href="#fetch-retry-factor"><code>fetch-retry-factor</code></a></li><li><a href="#fetch-retry-maxtimeout"><code>fetch-retry-maxtimeout</code></a></li><li><a href="#fetch-retry-mintimeout"><code>fetch-retry-mintimeout</code></a></li><li><a href="#fetch-timeout"><code>fetch-timeout</code></a></li><li><a href="#force"><code>force</code></a></li><li><a href="#foreground-scripts"><code>foreground-scripts</code></a></li><li><a href="#format-package-lock"><code>format-package-lock</code></a></li><li><a href="#fund"><code>fund</code></a></li><li><a href="#git"><code>git</code></a></li><li><a href="#git-tag-version"><code>git-tag-version</code></a></li><li><a href="#global"><code>global</code></a></li><li><a href="#globalconfig"><code>globalconfig</code></a></li><li><a href="#heading"><code>heading</code></a></li><li><a href="#https-proxy"><code>https-proxy</code></a></li><li><a href="#if-present"><code>if-present</code></a></li><li><a href="#ignore-scripts"><code>ignore-scripts</code></a></li><li><a href="#include"><code>include</code></a></li><li><a href="#include-staged"><code>include-staged</code></a></li><li><a href="#include-workspace-root"><code>include-workspace-root</code></a></li><li><a href="#init-author-email"><code>init-author-email</code></a></li><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-private"><code>init-private</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="#install-links"><code>install-links</code></a></li><li><a href="#install-strategy"><code>install-strategy</code></a></li><li><a href="#json"><code>json</code></a></li><li><a href="#legacy-peer-deps"><code>legacy-peer-deps</code></a></li><li><a href="#libc"><code>libc</code></a></li><li><a href="#link"><code>link</code></a></li><li><a href="#local-address"><code>local-address</code></a></li><li><a href="#location"><code>location</code></a></li><li><a href="#lockfile-version"><code>lockfile-version</code></a></li><li><a href="#loglevel"><code>loglevel</code></a></li><li><a href="#logs-dir"><code>logs-dir</code></a></li><li><a href="#logs-max"><code>logs-max</code></a></li><li><a href="#long"><code>long</code><Line truncated
|
||||
</section>
|
||||
|
||||
<div id="_content"><h3 id="description">Description</h3>
|
||||
@@ -278,6 +278,20 @@ change the access for an existing package the same way that <code>npm access set
|
||||
<p>When running <code>npm outdated</code> and <code>npm ls</code>, setting <code>--all</code> will show all
|
||||
outdated or installed packages, rather than only those directly depended
|
||||
upon by the current project.</p>
|
||||
<h4 id="allow-git"><code>allow-git</code></h4>
|
||||
<ul>
|
||||
<li>Default: "all"</li>
|
||||
<li>Type: "all", "none", or "root"</li>
|
||||
</ul>
|
||||
<p>Limits the ability for npm to fetch dependencies from git references. That
|
||||
is, dependencies that point to a git repo instead of a version or semver
|
||||
range. Please note that this could leave your tree incomplete and some
|
||||
packages may not function as intended or designed.</p>
|
||||
<p><code>all</code> allows any git dependencies to be fetched and installed. <code>none</code>
|
||||
prevents any git dependencies from being fetched and installed. <code>root</code> only
|
||||
allows git dependencies defined in your project's package.json to be fetched
|
||||
installed. Also allows git dependencies to be fetched for other commands
|
||||
like <code>npm view</code></p>
|
||||
<h4 id="allow-same-version"><code>allow-same-version</code></h4>
|
||||
<ul>
|
||||
<li>Default: false</li>
|
||||
|
||||
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----dependency-selector-syntax--querying----1180">
|
||||
<h1 id="----dependency-selector-syntax--querying----1190">
|
||||
<span>Dependency Selector Syntax & Querying</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Dependency Selector Syntax & Querying</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----developers----1180">
|
||||
<h1 id="----developers----1190">
|
||||
<span>developers</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Developer Guide</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----logging----1180">
|
||||
<h1 id="----logging----1190">
|
||||
<span>Logging</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Why, What & How We Log</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----orgs----1180">
|
||||
<h1 id="----orgs----1190">
|
||||
<span>orgs</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Working with Teams & Orgs</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----package-spec----1180">
|
||||
<h1 id="----package-spec----1190">
|
||||
<span>package-spec</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Package name specifier</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----registry----1180">
|
||||
<h1 id="----registry----1190">
|
||||
<span>registry</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">The JavaScript Package Registry</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----removal----1180">
|
||||
<h1 id="----removal----1190">
|
||||
<span>removal</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Cleaning the Slate</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----scope----1180">
|
||||
<h1 id="----scope----1190">
|
||||
<span>scope</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Scoped packages</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----scripts----1180">
|
||||
<h1 id="----scripts----1190">
|
||||
<span>scripts</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">How npm handles the "scripts" field</span>
|
||||
</header>
|
||||
|
||||
+2
-2
@@ -141,9 +141,9 @@ npm command-line interface
|
||||
|
||||
<section id="content">
|
||||
<header class="title">
|
||||
<h1 id="----workspaces----1180">
|
||||
<h1 id="----workspaces----1190">
|
||||
<span>workspaces</span>
|
||||
<span class="version">@11.8.0</span>
|
||||
<span class="version">@11.9.0</span>
|
||||
</h1>
|
||||
<span class="description">Working with workspaces</span>
|
||||
</header>
|
||||
|
||||
Vendored
+2
-1
@@ -181,11 +181,12 @@ class Cache extends BaseCommand {
|
||||
await pacote.tarball.stream(spec, stream => {
|
||||
stream.resume()
|
||||
return stream.promise()
|
||||
}, { ...this.npm.flatOptions })
|
||||
}, { ...this.npm.flatOptions, _isRoot: true })
|
||||
|
||||
await pacote.manifest(spec, {
|
||||
...this.npm.flatOptions,
|
||||
fullMetadata: true,
|
||||
_isRoot: true,
|
||||
})
|
||||
}))
|
||||
}
|
||||
|
||||
Vendored
+1
@@ -21,6 +21,7 @@ class CI extends ArboristWorkspaceCmd {
|
||||
'strict-peer-deps',
|
||||
'foreground-scripts',
|
||||
'ignore-scripts',
|
||||
'allow-git',
|
||||
'audit',
|
||||
'bin-links',
|
||||
'fund',
|
||||
|
||||
Vendored
+1
@@ -14,6 +14,7 @@ class Dedupe extends ArboristWorkspaceCmd {
|
||||
'omit',
|
||||
'include',
|
||||
'ignore-scripts',
|
||||
'allow-git',
|
||||
'audit',
|
||||
'bin-links',
|
||||
'fund',
|
||||
|
||||
Vendored
+1
@@ -198,6 +198,7 @@ class Diff extends BaseCommand {
|
||||
const packument = await pacote.packument(spec, {
|
||||
...this.npm.flatOptions,
|
||||
preferOnline: true,
|
||||
_isRoot: true,
|
||||
})
|
||||
bSpec = pickManifest(
|
||||
packument,
|
||||
|
||||
Vendored
+1
@@ -28,6 +28,7 @@ class Install extends ArboristWorkspaceCmd {
|
||||
'package-lock-only',
|
||||
'foreground-scripts',
|
||||
'ignore-scripts',
|
||||
'allow-git',
|
||||
'audit',
|
||||
'before',
|
||||
'bin-links',
|
||||
|
||||
Vendored
+1
@@ -25,6 +25,7 @@ class Link extends ArboristWorkspaceCmd {
|
||||
'omit',
|
||||
'include',
|
||||
'ignore-scripts',
|
||||
'allow-git',
|
||||
'audit',
|
||||
'bin-links',
|
||||
'fund',
|
||||
|
||||
Loaded 100 of 264 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user