deps: upgrade npm to 11.0.0 · nodejs/node@25b22e4 · GitHub
Skip to content

Commit 25b22e4

Browse files
authored
deps: upgrade npm to 11.0.0
PR-URL: #56274 Reviewed-By: Jordan Harband <ljharb@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
1 parent 3946f16 commit 25b22e4

450 files changed

Lines changed: 6414 additions & 8837 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

deps/npm/docs/content/commands/npm-hook.md

Lines changed: 0 additions & 112 deletions
This file was deleted.

deps/npm/docs/content/commands/npm-ls.md

Lines changed: 1 addition & 29 deletions

deps/npm/docs/content/commands/npm-pack.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,20 @@ the specified workspaces, and not on the root project.
103103

104104
This value is not exported to the environment for child processes.
105105

106+
#### `ignore-scripts`
107+
108+
* Default: false
109+
* Type: Boolean
110+
111+
If true, npm does not run scripts specified in package.json files.
112+
113+
Note that commands explicitly intended to run a particular script, such as
114+
`npm start`, `npm stop`, `npm restart`, `npm test`, and `npm run-script`
115+
will still run their intended script if `ignore-scripts` is set, but they
116+
will *not* run any pre- or post-scripts.
117+
118+
119+
106120
### Description
107121

108122
For anything that's installable (that is, a package folder, tarball,

deps/npm/docs/content/commands/npm-prefix.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: Display prefix
77
### Synopsis
88

99
```bash
10-
npm prefix [-g]
10+
npm prefix
1111
```
1212

1313
Note: This command is unaware of workspaces.

deps/npm/docs/content/commands/npm-publish.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ See [`developers`](/using-npm/developers) for full details on what's
8585
included in the published package, as well as details on how the package is
8686
built.
8787

88+
See [`package.json`](/configuring-npm/package-json) for more info on
89+
what can and can't be ignored.
90+
8891
### Configuration
8992

9093
#### `tag`

deps/npm/docs/content/commands/npm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Note: This command is unaware of workspaces.
1414

1515
### Version
1616

17-
10.9.2
17+
11.0.0
1818

1919
### Description
2020

deps/npm/docs/content/configuring-npm/npmrc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ The full list is:
103103
- `username`
104104
- `_password`
105105
- `email`
106-
- `certfile` (path to certificate file)
106+
- `cafile` (path to certificate authority file)
107107
- `keyfile` (path to key file)
108108

109109
In order to scope these values, they must be prefixed by a URI fragment.

deps/npm/docs/content/configuring-npm/package-json.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,7 @@ Some files are always ignored by default:
324324
if you wish it to be published)
325325
* `pnpm-lock.yaml`
326326
* `yarn.lock`
327+
* `bun.lockb`
327328

328329
Most of these ignored files can be included specifically if included in
329330
the `files` globs. Exceptions to this are:
@@ -334,6 +335,7 @@ the `files` globs. Exceptions to this are:
334335
* `package-lock.json`
335336
* `pnpm-lock.yaml`
336337
* `yarn.lock`
338+
* `bun.lockb`
337339

338340
These can not be included.
339341

@@ -1129,6 +1131,18 @@ Like the `os` option, you can also block architectures:
11291131
11301132
The host architecture is determined by `process.arch`
11311133
1134+
### libc
1135+
1136+
If your code only runs or builds in certain versions of libc, you can
1137+
specify which ones. This field only applies if `os` is `linux`.
1138+
1139+
```json
1140+
{
1141+
"os": "linux",
1142+
"libc": "glibc"
1143+
}
1144+
```
1145+
11321146
### devEngines
11331147
11341148
The `devEngines` field aids engineers working on a codebase to all be using the same tooling.

deps/npm/docs/content/using-npm/config.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1833,9 +1833,9 @@ When set to `dev` or `development`, this is an alias for `--include=dev`.
18331833
* Default: null
18341834
* Type: null or String
18351835
* DEPRECATED: `key` and `cert` are no longer used for most registry
1836-
operations. Use registry scoped `keyfile` and `certfile` instead. Example:
1836+
operations. Use registry scoped `keyfile` and `cafile` instead. Example:
18371837
//other-registry.tld/:keyfile=/path/to/key.pem
1838-
//other-registry.tld/:certfile=/path/to/cert.crt
1838+
//other-registry.tld/:cafile=/path/to/cert.crt
18391839

18401840
A client certificate to pass when accessing the registry. Values should be
18411841
in PEM format (Windows calls it "Base-64 encoded X.509 (.CER)") with
@@ -1846,8 +1846,8 @@ cert="-----BEGIN CERTIFICATE-----\nXXXX\nXXXX\n-----END CERTIFICATE-----"
18461846
```
18471847

18481848
It is _not_ the path to a certificate file, though you can set a
1849-
registry-scoped "certfile" path like
1850-
"//other-registry.tld/:certfile=/path/to/cert.pem".
1849+
registry-scoped "cafile" path like
1850+
"//other-registry.tld/:cafile=/path/to/cert.pem".
18511851

18521852

18531853

@@ -1938,9 +1938,9 @@ Alias for `--init-version`
19381938
* Default: null
19391939
* Type: null or String
19401940
* DEPRECATED: `key` and `cert` are no longer used for most registry
1941-
operations. Use registry scoped `keyfile` and `certfile` instead. Example:
1941+
operations. Use registry scoped `keyfile` and `cafile` instead. Example:
19421942
//other-registry.tld/:keyfile=/path/to/key.pem
1943-
//other-registry.tld/:certfile=/path/to/cert.crt
1943+
//other-registry.tld/:cafile=/path/to/cert.crt
19441944

19451945
A client key to pass when accessing the registry. Values should be in PEM
19461946
format with newlines replaced by the string "\n". For example:

deps/npm/docs/content/using-npm/developers.md

Lines changed: 5 additions & 2 deletions

0 commit comments

Comments
 (0)