mirror of
https://github.com/nodejs/node.git
synced 2026-11-29 14:27:57 -05:00
deps: upgrade npm to 10.2.3
PR-URL: https://github.com/nodejs/node/pull/50531 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
This commit is contained in:
1 parent
6e0f0fafe4
commit
68ec1e5eeb
556 files changed
+6996
-44437
No files matched your search
+6
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env sh
|
||||
if [ "x$npm_config_node_gyp" = "x" ]; then
|
||||
node "`dirname "$0"`/../../node_modules/node-gyp/bin/node-gyp.js" "$@"
|
||||
else
|
||||
"$npm_config_node_gyp" "$@"
|
||||
fi
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
if not defined npm_config_node_gyp (
|
||||
node "%~dp0\..\..\node_modules\node-gyp\bin\node-gyp.js" %*
|
||||
) else (
|
||||
node "%npm_config_node_gyp%" %*
|
||||
)
|
||||
+2
-2
@@ -83,13 +83,13 @@ The `sig` is generated using the following template: `${package.name}@${package.
|
||||
|
||||
Keys response:
|
||||
|
||||
- `expires`: null or a simplified extended <a href="https://en.wikipedia.org/wiki/ISO_8601" target="_blank">ISO 8601 format</a>: `YYYY-MM-DDTHH:mm:ss.sssZ`
|
||||
- `expires`: null or a simplified extended [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601"): `YYYY-MM-DDTHH:mm:ss.sssZ`
|
||||
- `keydid`: sha256 fingerprint of the public key
|
||||
- `keytype`: only `ecdsa-sha2-nistp256` is currently supported by the npm CLI
|
||||
- `scheme`: only `ecdsa-sha2-nistp256` is currently supported by the npm CLI
|
||||
- `key`: base64 encoded public key
|
||||
|
||||
See this <a href="https://registry.npmjs.org/-/npm/v1/keys" target="_blank">example key's response from the public npm registry</a>.
|
||||
See this [example key's response from the public npm registry](https://registry.npmjs.org/-/npm/v1/keys").
|
||||
|
||||
### Audit Endpoints
|
||||
|
||||
|
||||
+1
-1
@@ -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@10.2.0 /path/to/npm
|
||||
npm@10.2.3 /path/to/npm
|
||||
└─┬ init-package-json@0.0.4
|
||||
└── promzard@0.1.5
|
||||
```
|
||||
|
||||
+22
-7
@@ -14,14 +14,29 @@ alias: rb
|
||||
|
||||
### Description
|
||||
|
||||
This command runs the `npm build` command on the matched folders. This is
|
||||
useful when you install a new version of node, and must recompile all your
|
||||
C++ addons with the new binary. It is also useful when installing with
|
||||
`--ignore-scripts` and `--no-bin-links`, to explicitly choose which
|
||||
packages to build and/or link bins.
|
||||
This command does the following:
|
||||
|
||||
If one or more package specs are provided, then only packages with a
|
||||
name and version matching one of the specifiers will be rebuilt.
|
||||
1. Execute lifecycle scripts (`preinstall`, `install`, `postinstall`, `prepare`)
|
||||
2. Links bins depending on whether bin links are enabled
|
||||
|
||||
This command is particularly useful in scenarios including but not limited to:
|
||||
|
||||
1. Installing a new version of **node.js**, where you need to recompile all your C++ add-ons with the updated binary.
|
||||
2. Installing with `--ignore-scripts` and `--no-bin-links`, to explicitly choose which packages to build and/or link bins.
|
||||
|
||||
If one or more package specs are provided, then only packages with a name and version matching one of the specifiers will be rebuilt.
|
||||
|
||||
Usually, you should not need to run `npm rebuild` as it is already done for you as part of npm install (unless you suppressed these steps with `--ignore-scripts` or `--no-bin-links`).
|
||||
|
||||
If there is a `binding.gyp` file in the root of your package, then npm will use a default install hook:
|
||||
|
||||
```
|
||||
"scripts": {
|
||||
"install": "node-gyp rebuild"
|
||||
}
|
||||
```
|
||||
|
||||
This default behavior is suppressed if the `package.json` has its own `install` or `preinstall` scripts. It is also suppressed if the package specifies `"gypfile": false`
|
||||
|
||||
### Configuration
|
||||
|
||||
|
||||
+1
-1
@@ -33,7 +33,7 @@ on your `authtype`.
|
||||
|
||||
* create / destroy:
|
||||
Create a new team, or destroy an existing one. Note: You cannot remove the
|
||||
`developers` team, <a href="https://docs.npmjs.com/about-developers-team" target="_blank">learn more.</a>
|
||||
`developers` team, [learn more.](https://docs.npmjs.com/about-developers-team)
|
||||
|
||||
Here's how to create a new team `newteam` under the `org` org:
|
||||
|
||||
|
||||
+2
-3
@@ -10,9 +10,8 @@ description: Remove a package from the registry
|
||||
npm unpublish [<package-spec>]
|
||||
```
|
||||
|
||||
To learn more about how the npm registry treats unpublish, see our <a
|
||||
href="https://docs.npmjs.com/policies/unpublish" target="_blank"
|
||||
rel="noopener noreferrer"> unpublish policies</a>
|
||||
To learn more about how the npm registry treats unpublish, see our
|
||||
[unpublish policies](https://docs.npmjs.com/policies/unpublish).
|
||||
|
||||
### Warning
|
||||
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@ Note: This command is unaware of workspaces.
|
||||
|
||||
### Version
|
||||
|
||||
10.2.0
|
||||
10.2.3
|
||||
|
||||
### Description
|
||||
|
||||
|
||||
@@ -114,7 +114,7 @@ the npm registry. Lockfiles generated by npm v7 will contain
|
||||
* `1`: The lockfile version used by npm v5 and v6.
|
||||
* `2`: The lockfile version used by npm v7 and v8. Backwards compatible to v1
|
||||
lockfiles.
|
||||
* `3`: The lockfile version used by npm v9. Backwards compatible to npm v7.
|
||||
* `3`: The lockfile version used by npm v9 and above. Backwards compatible to npm v7.
|
||||
|
||||
npm will always attempt to get whatever data it can out of a lockfile, even
|
||||
if it is not a version that it was designed to support.
|
||||
|
||||
-2
@@ -159,8 +159,6 @@ These are run from the scripts of `<pkg-name>`
|
||||
* `publish`
|
||||
* `postpublish`
|
||||
|
||||
`prepare` will not run during `--dry-run`
|
||||
|
||||
#### [`npm rebuild`](/commands/npm-rebuild)
|
||||
|
||||
* `preinstall`
|
||||
|
||||
+2
-2
@@ -203,13 +203,13 @@ re-build the dependency tree each time.</p>
|
||||
</code></pre>
|
||||
<p>Keys response:</p>
|
||||
<ul>
|
||||
<li><code>expires</code>: null or a simplified extended ISO 8601 format: <code>YYYY-MM-DDTHH:mm:ss.sssZ</code></li>
|
||||
<li><code>expires</code>: null or a simplified extended <a href="https://en.wikipedia.org/wiki/ISO_8601%22">ISO 8601 format</a>: <code>YYYY-MM-DDTHH:mm:ss.sssZ</code></li>
|
||||
<li><code>keydid</code>: sha256 fingerprint of the public key</li>
|
||||
<li><code>keytype</code>: only <code>ecdsa-sha2-nistp256</code> is currently supported by the npm CLI</li>
|
||||
<li><code>scheme</code>: only <code>ecdsa-sha2-nistp256</code> is currently supported by the npm CLI</li>
|
||||
<li><code>key</code>: base64 encoded public key</li>
|
||||
</ul>
|
||||
<p>See this example key's response from the public npm registry.</p>
|
||||
<p>See this <a href="https://registry.npmjs.org/-/npm/v1/keys%22">example key's response from the public npm registry</a>.</p>
|
||||
<h3 id="audit-endpoints">Audit Endpoints</h3>
|
||||
<p>There are two audit endpoints that npm may use to fetch vulnerability
|
||||
information: the <code>Bulk Advisory</code> endpoint and the <code>Quick Audit</code> endpoint.</p>
|
||||
|
||||
+1
-1
@@ -160,7 +160,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@10.2.0 /path/to/npm
|
||||
<pre><code class="language-bash">npm@10.2.3 /path/to/npm
|
||||
└─┬ init-package-json@0.0.4
|
||||
└── promzard@0.1.5
|
||||
</code></pre>
|
||||
|
||||
+18
-7
@@ -151,13 +151,24 @@ npm command-line interface
|
||||
alias: rb
|
||||
</code></pre>
|
||||
<h3 id="description">Description</h3>
|
||||
<p>This command runs the <code>npm build</code> command on the matched folders. This is
|
||||
useful when you install a new version of node, and must recompile all your
|
||||
C++ addons with the new binary. It is also useful when installing with
|
||||
<code>--ignore-scripts</code> and <code>--no-bin-links</code>, to explicitly choose which
|
||||
packages to build and/or link bins.</p>
|
||||
<p>If one or more package specs are provided, then only packages with a
|
||||
name and version matching one of the specifiers will be rebuilt.</p>
|
||||
<p>This command does the following:</p>
|
||||
<ol>
|
||||
<li>Execute lifecycle scripts (<code>preinstall</code>, <code>install</code>, <code>postinstall</code>, <code>prepare</code>)</li>
|
||||
<li>Links bins depending on whether bin links are enabled</li>
|
||||
</ol>
|
||||
<p>This command is particularly useful in scenarios including but not limited to:</p>
|
||||
<ol>
|
||||
<li>Installing a new version of <strong>node.js</strong>, where you need to recompile all your C++ add-ons with the updated binary.</li>
|
||||
<li>Installing with <code>--ignore-scripts</code> and <code>--no-bin-links</code>, to explicitly choose which packages to build and/or link bins.</li>
|
||||
</ol>
|
||||
<p>If one or more package specs are provided, then only packages with a name and version matching one of the specifiers will be rebuilt.</p>
|
||||
<p>Usually, you should not need to run <code>npm rebuild</code> as it is already done for you as part of npm install (unless you suppressed these steps with <code>--ignore-scripts</code> or <code>--no-bin-links</code>).</p>
|
||||
<p>If there is a <code>binding.gyp</code> file in the root of your package, then npm will use a default install hook:</p>
|
||||
<pre><code>"scripts": {
|
||||
"install": "node-gyp rebuild"
|
||||
}
|
||||
</code></pre>
|
||||
<p>This default behavior is suppressed if the <code>package.json</code> has its own <code>install</code> or <code>preinstall</code> scripts. It is also suppressed if the package specifies <code>"gypfile": false</code></p>
|
||||
<h3 id="configuration">Configuration</h3>
|
||||
<h4 id="global"><code>global</code></h4>
|
||||
<ul>
|
||||
|
||||
+1
-1
@@ -168,7 +168,7 @@ on your <code>authtype</code>.</p>
|
||||
<li>
|
||||
<p>create / destroy:
|
||||
Create a new team, or destroy an existing one. Note: You cannot remove the
|
||||
<code>developers</code> team, learn more.</p>
|
||||
<code>developers</code> team, <a href="https://docs.npmjs.com/about-developers-team">learn more.</a></p>
|
||||
<p>Here's how to create a new team <code>newteam</code> under the <code>org</code> org:</p>
|
||||
<pre><code class="language-bash">npm team create @org:newteam
|
||||
</code></pre>
|
||||
|
||||
+2
-1
@@ -148,7 +148,8 @@ npm command-line interface
|
||||
<div id="_content"><h3 id="synopsis">Synopsis</h3>
|
||||
<pre><code class="language-bash">npm unpublish [<package-spec>]
|
||||
</code></pre>
|
||||
<p>To learn more about how the npm registry treats unpublish, see our unpublish policies</p>
|
||||
<p>To learn more about how the npm registry treats unpublish, see our
|
||||
<a href="https://docs.npmjs.com/policies/unpublish">unpublish policies</a>.</p>
|
||||
<h3 id="warning">Warning</h3>
|
||||
<p>Consider using the <a href="../commands/npm-deprecate.html"><code>deprecate</code></a> command instead,
|
||||
if your intent is to encourage users to upgrade, or if you no longer
|
||||
|
||||
+1
-1
@@ -150,7 +150,7 @@ npm command-line interface
|
||||
</code></pre>
|
||||
<p>Note: This command is unaware of workspaces.</p>
|
||||
<h3 id="version">Version</h3>
|
||||
<p>10.2.0</p>
|
||||
<p>10.2.3</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
|
||||
|
||||
@@ -241,7 +241,7 @@ prior to npm v5.</li>
|
||||
<li><code>1</code>: The lockfile version used by npm v5 and v6.</li>
|
||||
<li><code>2</code>: The lockfile version used by npm v7 and v8. Backwards compatible to v1
|
||||
lockfiles.</li>
|
||||
<li><code>3</code>: The lockfile version used by npm v9. Backwards compatible to npm v7.</li>
|
||||
<li><code>3</code>: The lockfile version used by npm v9 and above. Backwards compatible to npm v7.</li>
|
||||
</ul>
|
||||
<p>npm will always attempt to get whatever data it can out of a lockfile, even
|
||||
if it is not a version that it was designed to support.</p>
|
||||
|
||||
-1
@@ -293,7 +293,6 @@ default the <code>install</code> command to compile using node-gyp via <code>nod
|
||||
<li><code>publish</code></li>
|
||||
<li><code>postpublish</code></li>
|
||||
</ul>
|
||||
<p><code>prepare</code> will not run during <code>--dry-run</code></p>
|
||||
<h4 id="npm-rebuild"><a href="../commands/npm-rebuild.html"><code>npm rebuild</code></a></h4>
|
||||
<ul>
|
||||
<li><code>preinstall</code></li>
|
||||
|
||||
Vendored
+1
-1
@@ -55,7 +55,7 @@ class VerifySignatures {
|
||||
// Didn't find any dependencies that could be verified, e.g. only local
|
||||
// deps, missing version, not on a registry etc.
|
||||
if (!this.auditedWithKeysCount) {
|
||||
throw new Error('found no dependencies to audit that where installed from ' +
|
||||
throw new Error('found no dependencies to audit that were installed from ' +
|
||||
'a supported registry')
|
||||
}
|
||||
|
||||
|
||||
Vendored
+2
-2
@@ -109,13 +109,13 @@ class Link extends ArboristWorkspaceCmd {
|
||||
// using any of --save-dev or other types
|
||||
const save =
|
||||
Boolean(
|
||||
this.npm.config.find('save') !== 'default' ||
|
||||
(this.npm.config.find('save') !== 'default' &&
|
||||
this.npm.config.get('save')) ||
|
||||
this.npm.config.get('save-optional') ||
|
||||
this.npm.config.get('save-peer') ||
|
||||
this.npm.config.get('save-dev') ||
|
||||
this.npm.config.get('save-prod')
|
||||
)
|
||||
|
||||
// create a new arborist instance for the local prefix and
|
||||
// reify all the pending names as symlinks there
|
||||
const localArb = new Arborist({
|
||||
|
||||
Vendored
+8
-4
@@ -1,5 +1,5 @@
|
||||
const getAuth = require('npm-registry-fetch/lib/auth.js')
|
||||
const npmFetch = require('npm-registry-fetch')
|
||||
const { getAuth } = npmFetch
|
||||
const log = require('../utils/log-shim')
|
||||
const BaseCommand = require('../base-command.js')
|
||||
|
||||
@@ -19,10 +19,14 @@ class Logout extends BaseCommand {
|
||||
|
||||
const auth = getAuth(reg, this.npm.flatOptions)
|
||||
|
||||
const level = this.npm.config.find(`${auth.regKey}:${auth.authKey}`)
|
||||
|
||||
// find the config level and only delete from there
|
||||
if (auth.token) {
|
||||
log.verbose('logout', `clearing token for ${reg}`)
|
||||
await npmFetch(`/-/user/token/${encodeURIComponent(auth.token)}`, {
|
||||
...this.npm.flatOptions,
|
||||
registry: reg,
|
||||
method: 'DELETE',
|
||||
ignoreBody: true,
|
||||
})
|
||||
@@ -34,12 +38,12 @@ class Logout extends BaseCommand {
|
||||
}
|
||||
|
||||
if (scope) {
|
||||
this.npm.config.delete(regRef, 'user')
|
||||
this.npm.config.delete(regRef, level)
|
||||
}
|
||||
|
||||
this.npm.config.clearCredentialsByURI(reg)
|
||||
this.npm.config.clearCredentialsByURI(reg, level)
|
||||
|
||||
await this.npm.config.save('user')
|
||||
await this.npm.config.save(level)
|
||||
}
|
||||
}
|
||||
module.exports = Logout
|
||||
Vendored
+1
-1
@@ -182,7 +182,7 @@ const errorMessage = (er, npm) => {
|
||||
])
|
||||
detail.push([
|
||||
'',
|
||||
['To correct this please trying logging in again with:', ' npm login'].join('\n'),
|
||||
['To correct this please try logging in again with:', ' npm login'].join('\n'),
|
||||
])
|
||||
} else if (auth.includes('Basic')) {
|
||||
short.push(['', 'Incorrect or missing password.'])
|
||||
|
||||
Vendored
+1
-5
@@ -111,13 +111,9 @@ const getter = ({ data, key }) => {
|
||||
}, {})
|
||||
return _data
|
||||
} else {
|
||||
// if can't find any more values, it means it's just over
|
||||
// and there's nothing to return
|
||||
if (!_data[k]) {
|
||||
if (!Object.hasOwn(_data, k)) {
|
||||
return undefined
|
||||
}
|
||||
|
||||
// otherwise sets the next value
|
||||
_data = _data[k]
|
||||
}
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-ACCESS" "1" "October 2023" "" ""
|
||||
.TH "NPM-ACCESS" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-access\fR - Set access level on published packages
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-ADDUSER" "1" "October 2023" "" ""
|
||||
.TH "NPM-ADDUSER" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-adduser\fR - Add a registry user account
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+3
-3
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-AUDIT" "1" "October 2023" "" ""
|
||||
.TH "NPM-AUDIT" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-audit\fR - Run a security audit
|
||||
.SS "Synopsis"
|
||||
@@ -78,7 +78,7 @@ Public signing keys are provided at \fBregistry-host.tld/-/npm/v1/keys\fR in the
|
||||
Keys response:
|
||||
.RS 0
|
||||
.IP \(bu 4
|
||||
\fBexpires\fR: null or a simplified extended ISO 8601 format: \fBYYYY-MM-DDTHH:mm:ss.sssZ\fR
|
||||
\fBexpires\fR: null or a simplified extended \fBISO 8601 format\fR \fI\(lahttps://en.wikipedia.org/wiki/ISO_8601"\(ra\fR: \fBYYYY-MM-DDTHH:mm:ss.sssZ\fR
|
||||
.IP \(bu 4
|
||||
\fBkeydid\fR: sha256 fingerprint of the public key
|
||||
.IP \(bu 4
|
||||
@@ -90,7 +90,7 @@ Keys response:
|
||||
.RE 0
|
||||
|
||||
.P
|
||||
See this example key's response from the public npm registry.
|
||||
See this \fBexample key's response from the public npm registry\fR \fI\(lahttps://registry.npmjs.org/-/npm/v1/keys"\(ra\fR.
|
||||
.SS "Audit Endpoints"
|
||||
.P
|
||||
There are two audit endpoints that npm may use to fetch vulnerability information: the \fBBulk Advisory\fR endpoint and the \fBQuick Audit\fR endpoint.
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-BUGS" "1" "October 2023" "" ""
|
||||
.TH "NPM-BUGS" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-bugs\fR - Report bugs for a package in a web browser
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-CACHE" "1" "October 2023" "" ""
|
||||
.TH "NPM-CACHE" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-cache\fR - Manipulates packages cache
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-CI" "1" "October 2023" "" ""
|
||||
.TH "NPM-CI" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-ci\fR - Clean install a project
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-COMPLETION" "1" "October 2023" "" ""
|
||||
.TH "NPM-COMPLETION" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-completion\fR - Tab Completion for npm
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-CONFIG" "1" "October 2023" "" ""
|
||||
.TH "NPM-CONFIG" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-config\fR - Manage the npm configuration files
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-DEDUPE" "1" "October 2023" "" ""
|
||||
.TH "NPM-DEDUPE" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-dedupe\fR - Reduce duplication in the package tree
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-DEPRECATE" "1" "October 2023" "" ""
|
||||
.TH "NPM-DEPRECATE" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-deprecate\fR - Deprecate a version of a package
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-DIFF" "1" "October 2023" "" ""
|
||||
.TH "NPM-DIFF" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-diff\fR - The registry diff command
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-DIST-TAG" "1" "October 2023" "" ""
|
||||
.TH "NPM-DIST-TAG" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-dist-tag\fR - Modify package distribution tags
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-DOCS" "1" "October 2023" "" ""
|
||||
.TH "NPM-DOCS" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-docs\fR - Open documentation for a package in a web browser
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-DOCTOR" "1" "October 2023" "" ""
|
||||
.TH "NPM-DOCTOR" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-doctor\fR - Check the health of your npm environment
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-EDIT" "1" "October 2023" "" ""
|
||||
.TH "NPM-EDIT" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-edit\fR - Edit an installed package
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-EXEC" "1" "October 2023" "" ""
|
||||
.TH "NPM-EXEC" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-exec\fR - Run a command from a local or remote npm package
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-EXPLAIN" "1" "October 2023" "" ""
|
||||
.TH "NPM-EXPLAIN" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-explain\fR - Explain installed packages
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-EXPLORE" "1" "October 2023" "" ""
|
||||
.TH "NPM-EXPLORE" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-explore\fR - Browse an installed package
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-FIND-DUPES" "1" "October 2023" "" ""
|
||||
.TH "NPM-FIND-DUPES" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-find-dupes\fR - Find duplication in the package tree
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-FUND" "1" "October 2023" "" ""
|
||||
.TH "NPM-FUND" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-fund\fR - Retrieve funding information
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-HELP-SEARCH" "1" "October 2023" "" ""
|
||||
.TH "NPM-HELP-SEARCH" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-help-search\fR - Search npm help documentation
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-HELP" "1" "October 2023" "" ""
|
||||
.TH "NPM-HELP" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-help\fR - Get help on npm
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-HOOK" "1" "October 2023" "" ""
|
||||
.TH "NPM-HOOK" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-hook\fR - Manage registry hooks
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-INIT" "1" "October 2023" "" ""
|
||||
.TH "NPM-INIT" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-init\fR - Create a package.json file
|
||||
.SS "Synopsis"
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-INSTALL-CI-TEST" "1" "October 2023" "" ""
|
||||
.TH "NPM-INSTALL-CI-TEST" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-install-ci-test\fR - Install a project with a clean slate and run tests
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-INSTALL-TEST" "1" "October 2023" "" ""
|
||||
.TH "NPM-INSTALL-TEST" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-install-test\fR - Install package(s) and run tests
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-INSTALL" "1" "October 2023" "" ""
|
||||
.TH "NPM-INSTALL" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-install\fR - Install a package
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-LINK" "1" "October 2023" "" ""
|
||||
.TH "NPM-LINK" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-link\fR - Symlink a package folder
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-LOGIN" "1" "October 2023" "" ""
|
||||
.TH "NPM-LOGIN" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-login\fR - Login to a registry user account
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-LOGOUT" "1" "October 2023" "" ""
|
||||
.TH "NPM-LOGOUT" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-logout\fR - Log out of the registry
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+2
-2
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-LS" "1" "October 2023" "" ""
|
||||
.TH "NPM-LS" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-ls\fR - List installed packages
|
||||
.SS "Synopsis"
|
||||
@@ -20,7 +20,7 @@ Positional arguments are \fBname@version-range\fR identifiers, which will limit
|
||||
.P
|
||||
.RS 2
|
||||
.nf
|
||||
npm@10.2.0 /path/to/npm
|
||||
npm@10.2.3 /path/to/npm
|
||||
└─┬ init-package-json@0.0.4
|
||||
└── promzard@0.1.5
|
||||
.fi
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-ORG" "1" "October 2023" "" ""
|
||||
.TH "NPM-ORG" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-org\fR - Manage orgs
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-OUTDATED" "1" "October 2023" "" ""
|
||||
.TH "NPM-OUTDATED" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-outdated\fR - Check for outdated packages
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-OWNER" "1" "October 2023" "" ""
|
||||
.TH "NPM-OWNER" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-owner\fR - Manage package owners
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-PACK" "1" "October 2023" "" ""
|
||||
.TH "NPM-PACK" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-pack\fR - Create a tarball from a package
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-PING" "1" "October 2023" "" ""
|
||||
.TH "NPM-PING" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-ping\fR - Ping npm registry
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-PKG" "1" "October 2023" "" ""
|
||||
.TH "NPM-PKG" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-pkg\fR - Manages your package.json
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-PREFIX" "1" "October 2023" "" ""
|
||||
.TH "NPM-PREFIX" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-prefix\fR - Display prefix
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-PROFILE" "1" "October 2023" "" ""
|
||||
.TH "NPM-PROFILE" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-profile\fR - Change settings on your registry profile
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-PRUNE" "1" "October 2023" "" ""
|
||||
.TH "NPM-PRUNE" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-prune\fR - Remove extraneous packages
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-PUBLISH" "1" "October 2023" "" ""
|
||||
.TH "NPM-PUBLISH" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-publish\fR - Publish a package
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-QUERY" "1" "October 2023" "" ""
|
||||
.TH "NPM-QUERY" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-query\fR - Dependency selector query
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+32
-2
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-REBUILD" "1" "October 2023" "" ""
|
||||
.TH "NPM-REBUILD" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-rebuild\fR - Rebuild a package
|
||||
.SS "Synopsis"
|
||||
@@ -12,9 +12,39 @@ alias: rb
|
||||
.RE
|
||||
.SS "Description"
|
||||
.P
|
||||
This command runs the \fBnpm build\fR command on the matched folders. This is useful when you install a new version of node, and must recompile all your C++ addons with the new binary. It is also useful when installing with \fB--ignore-scripts\fR and \fB--no-bin-links\fR, to explicitly choose which packages to build and/or link bins.
|
||||
This command does the following:
|
||||
.RS 0
|
||||
.IP 1. 4
|
||||
Execute lifecycle scripts (\fBpreinstall\fR, \fBinstall\fR, \fBpostinstall\fR, \fBprepare\fR)
|
||||
.IP 2. 4
|
||||
Links bins depending on whether bin links are enabled
|
||||
.RE 0
|
||||
|
||||
.P
|
||||
This command is particularly useful in scenarios including but not limited to:
|
||||
.RS 0
|
||||
.IP 1. 4
|
||||
Installing a new version of \fBnode.js\fR, where you need to recompile all your C++ add-ons with the updated binary.
|
||||
.IP 2. 4
|
||||
Installing with \fB--ignore-scripts\fR and \fB--no-bin-links\fR, to explicitly choose which packages to build and/or link bins.
|
||||
.RE 0
|
||||
|
||||
.P
|
||||
If one or more package specs are provided, then only packages with a name and version matching one of the specifiers will be rebuilt.
|
||||
.P
|
||||
Usually, you should not need to run \fBnpm rebuild\fR as it is already done for you as part of npm install (unless you suppressed these steps with \fB--ignore-scripts\fR or \fB--no-bin-links\fR).
|
||||
.P
|
||||
If there is a \fBbinding.gyp\fR file in the root of your package, then npm will use a default install hook:
|
||||
.P
|
||||
.RS 2
|
||||
.nf
|
||||
"scripts": {
|
||||
"install": "node-gyp rebuild"
|
||||
}
|
||||
.fi
|
||||
.RE
|
||||
.P
|
||||
This default behavior is suppressed if the \fBpackage.json\fR has its own \fBinstall\fR or \fBpreinstall\fR scripts. It is also suppressed if the package specifies \fB"gypfile": false\fR
|
||||
.SS "Configuration"
|
||||
.SS "\fBglobal\fR"
|
||||
.RS 0
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-REPO" "1" "October 2023" "" ""
|
||||
.TH "NPM-REPO" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-repo\fR - Open package repository page in the browser
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-RESTART" "1" "October 2023" "" ""
|
||||
.TH "NPM-RESTART" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-restart\fR - Restart a package
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-ROOT" "1" "October 2023" "" ""
|
||||
.TH "NPM-ROOT" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-root\fR - Display npm root
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-RUN-SCRIPT" "1" "October 2023" "" ""
|
||||
.TH "NPM-RUN-SCRIPT" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-run-script\fR - Run arbitrary package scripts
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-SBOM" "1" "October 2023" "" ""
|
||||
.TH "NPM-SBOM" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-sbom\fR - Generate a Software Bill of Materials (SBOM)
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-SEARCH" "1" "October 2023" "" ""
|
||||
.TH "NPM-SEARCH" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-search\fR - Search for packages
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-SHRINKWRAP" "1" "October 2023" "" ""
|
||||
.TH "NPM-SHRINKWRAP" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-shrinkwrap\fR - Lock down dependency versions for publication
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-STAR" "1" "October 2023" "" ""
|
||||
.TH "NPM-STAR" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-star\fR - Mark your favorite packages
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-STARS" "1" "October 2023" "" ""
|
||||
.TH "NPM-STARS" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-stars\fR - View packages marked as favorites
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-START" "1" "October 2023" "" ""
|
||||
.TH "NPM-START" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-start\fR - Start a package
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-STOP" "1" "October 2023" "" ""
|
||||
.TH "NPM-STOP" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-stop\fR - Stop a package
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+2
-2
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-TEAM" "1" "October 2023" "" ""
|
||||
.TH "NPM-TEAM" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-team\fR - Manage organization teams and team memberships
|
||||
.SS "Synopsis"
|
||||
@@ -23,7 +23,7 @@ Teams must always be fully qualified with the organization/scope they belong to
|
||||
If you have two-factor authentication enabled in \fBauth-and-writes\fR mode, then you can provide a code from your authenticator with \fB\[lB]--otp <otpcode>\[rB]\fR. If you don't include this then you will be taken through a second factor flow based on your \fBauthtype\fR.
|
||||
.RS 0
|
||||
.IP \(bu 4
|
||||
create / destroy: Create a new team, or destroy an existing one. Note: You cannot remove the \fBdevelopers\fR team, learn more.
|
||||
create / destroy: Create a new team, or destroy an existing one. Note: You cannot remove the \fBdevelopers\fR team, \fBlearn more.\fR \fI\(lahttps://docs.npmjs.com/about-developers-team\(ra\fR
|
||||
.P
|
||||
Here's how to create a new team \fBnewteam\fR under the \fBorg\fR org:
|
||||
.P
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-TEST" "1" "October 2023" "" ""
|
||||
.TH "NPM-TEST" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-test\fR - Test a package
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-TOKEN" "1" "October 2023" "" ""
|
||||
.TH "NPM-TOKEN" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-token\fR - Manage your authentication tokens
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-UNINSTALL" "1" "October 2023" "" ""
|
||||
.TH "NPM-UNINSTALL" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-uninstall\fR - Remove a package
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+2
-2
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-UNPUBLISH" "1" "October 2023" "" ""
|
||||
.TH "NPM-UNPUBLISH" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-unpublish\fR - Remove a package from the registry
|
||||
.SS "Synopsis"
|
||||
@@ -9,7 +9,7 @@ npm unpublish \[lB]<package-spec>\[rB]
|
||||
.fi
|
||||
.RE
|
||||
.P
|
||||
To learn more about how the npm registry treats unpublish, see our unpublish policies
|
||||
To learn more about how the npm registry treats unpublish, see our \fBunpublish policies\fR \fI\(lahttps://docs.npmjs.com/policies/unpublish\(ra\fR.
|
||||
.SS "Warning"
|
||||
.P
|
||||
Consider using the npm help deprecate command instead, if your intent is to encourage users to upgrade, or if you no longer want to maintain a package.
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-UNSTAR" "1" "October 2023" "" ""
|
||||
.TH "NPM-UNSTAR" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-unstar\fR - Remove an item from your favorite packages
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-UPDATE" "1" "October 2023" "" ""
|
||||
.TH "NPM-UPDATE" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-update\fR - Update packages
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-VERSION" "1" "October 2023" "" ""
|
||||
.TH "NPM-VERSION" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-version\fR - Bump a package version
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-VIEW" "1" "October 2023" "" ""
|
||||
.TH "NPM-VIEW" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-view\fR - View registry info
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-WHOAMI" "1" "October 2023" "" ""
|
||||
.TH "NPM-WHOAMI" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-whoami\fR - Display npm username
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+2
-2
@@ -1,4 +1,4 @@
|
||||
.TH "NPM" "1" "October 2023" "" ""
|
||||
.TH "NPM" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm\fR - javascript package manager
|
||||
.SS "Synopsis"
|
||||
@@ -12,7 +12,7 @@ npm
|
||||
Note: This command is unaware of workspaces.
|
||||
.SS "Version"
|
||||
.P
|
||||
10.2.0
|
||||
10.2.3
|
||||
.SS "Description"
|
||||
.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.
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPX" "1" "October 2023" "" ""
|
||||
.TH "NPX" "1" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpx\fR - Run a command from a local or remote npm package
|
||||
.SS "Synopsis"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "FOLDERS" "5" "October 2023" "" ""
|
||||
.TH "FOLDERS" "5" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBfolders\fR - Folder Structures Used by npm
|
||||
.SS "Description"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "INSTALL" "5" "October 2023" "" ""
|
||||
.TH "INSTALL" "5" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBinstall\fR - Download and install node and npm
|
||||
.SS "Description"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "FOLDERS" "5" "October 2023" "" ""
|
||||
.TH "FOLDERS" "5" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBfolders\fR - Folder Structures Used by npm
|
||||
.SS "Description"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "PACKAGE.JSON" "5" "October 2023" "" ""
|
||||
.TH "PACKAGE.JSON" "5" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBpackage.json\fR - Specifics of npm's package.json handling
|
||||
.SS "Description"
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPM-SHRINKWRAP.JSON" "5" "October 2023" "" ""
|
||||
.TH "NPM-SHRINKWRAP.JSON" "5" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-shrinkwrap.json\fR - A publishable lockfile
|
||||
.SS "Description"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "NPMRC" "5" "October 2023" "" ""
|
||||
.TH "NPMRC" "5" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpmrc\fR - The npm config files
|
||||
.SS "Description"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "PACKAGE.JSON" "5" "October 2023" "" ""
|
||||
.TH "PACKAGE.JSON" "5" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBpackage.json\fR - Specifics of npm's package.json handling
|
||||
.SS "Description"
|
||||
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
.TH "PACKAGE-LOCK.JSON" "5" "October 2023" "" ""
|
||||
.TH "PACKAGE-LOCK.JSON" "5" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBpackage-lock.json\fR - A manifestation of the manifest
|
||||
.SS "Description"
|
||||
@@ -69,7 +69,7 @@ No version provided: an "ancient" shrinkwrap file from a version of npm prior to
|
||||
.IP \(bu 4
|
||||
\fB2\fR: The lockfile version used by npm v7 and v8. Backwards compatible to v1 lockfiles.
|
||||
.IP \(bu 4
|
||||
\fB3\fR: The lockfile version used by npm v9. Backwards compatible to npm v7.
|
||||
\fB3\fR: The lockfile version used by npm v9 and above. Backwards compatible to npm v7.
|
||||
.RE 0
|
||||
|
||||
.P
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "CONFIG" "7" "October 2023" "" ""
|
||||
.TH "CONFIG" "7" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBconfig\fR - More than you probably want to know about npm configuration
|
||||
.SS "Description"
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "QUERYING" "7" "October 2023" "" ""
|
||||
.TH "QUERYING" "7" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBQuerying\fR - Dependency Selector Syntax & Querying
|
||||
.SS "Description"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
.TH "DEVELOPERS" "7" "October 2023" "" ""
|
||||
.TH "DEVELOPERS" "7" "November 2023" "" ""
|
||||
.SH "NAME"
|
||||
\fBdevelopers\fR - Developer Guide
|
||||
.SS "Description"
|
||||
|
||||
Loaded 100 of 556 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user