Skip to content

Commit 156503e

Browse files
committed
deps: upgrade npm to 11.20.0
1 parent 6dfe4eb commit 156503e

230 files changed

Lines changed: 1105 additions & 351 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-ci.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ Each name is matched against a dependency's resolved identity, not against
290290
the package's self-reported name. `--ignore-scripts` and
291291
`--dangerously-allow-all-scripts` both override this setting.
292292

293-
293+
This value is not exported to the environment for child processes.
294294

295295
#### `strict-allow-scripts`
296296

‎deps/npm/docs/content/commands/npm-exec.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ Each name is matched against a dependency's resolved identity, not against
178178
the package's self-reported name. `--ignore-scripts` and
179179
`--dangerously-allow-all-scripts` both override this setting.
180180

181-
181+
This value is not exported to the environment for child processes.
182182

183183
#### `strict-allow-scripts`
184184

‎deps/npm/docs/content/commands/npm-install-ci-test.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ Each name is matched against a dependency's resolved identity, not against
243243
the package's self-reported name. `--ignore-scripts` and
244244
`--dangerously-allow-all-scripts` both override this setting.
245245

246-
246+
This value is not exported to the environment for child processes.
247247

248248
#### `strict-allow-scripts`
249249

‎deps/npm/docs/content/commands/npm-install-test.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ Each name is matched against a dependency's resolved identity, not against
320320
the package's self-reported name. `--ignore-scripts` and
321321
`--dangerously-allow-all-scripts` both override this setting.
322322

323-
323+
This value is not exported to the environment for child processes.
324324

325325
#### `strict-allow-scripts`
326326

‎deps/npm/docs/content/commands/npm-install.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ Each name is matched against a dependency's resolved identity, not against
662662
the package's self-reported name. `--ignore-scripts` and
663663
`--dangerously-allow-all-scripts` both override this setting.
664664
665-
665+
This value is not exported to the environment for child processes.
666666
667667
#### `strict-allow-scripts`
668668

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Note that nested packages will *also* show the paths to the specified packages.
2323
For example, running `npm ls promzard` in npm's source tree will show:
2424

2525
```bash
26-
npm@11.19.1 /path/to/npm
26+
npm@11.20.0 /path/to/npm
2727
└─┬ init-package-json@0.0.4
2828
└── promzard@0.1.5
2929
```

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,9 @@ This value is not exported to the environment for child processes.
222222
When publishing from a supported cloud CI/CD system, the package will be
223223
publicly linked to where it was built and published from.
224224

225+
When the `provenance-file` config is set, it takes precedence and automatic
226+
provenance generation (including via trusted publishing/OIDC) is skipped.
227+
225228
This config cannot be used with: `provenance-file`
226229

227230
#### `provenance-file`
@@ -231,6 +234,9 @@ This config cannot be used with: `provenance-file`
231234

232235
When publishing, the provenance bundle at the given path will be used.
233236

237+
This takes precedence over automatic provenance generation in trusted
238+
publishing flows.
239+
234240
This config cannot be used with: `provenance`
235241

236242
### See Also

‎deps/npm/docs/content/commands/npm-rebuild.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ Each name is matched against a dependency's resolved identity, not against
120120
the package's self-reported name. `--ignore-scripts` and
121121
`--dangerously-allow-all-scripts` both override this setting.
122122

123-
123+
This value is not exported to the environment for child processes.
124124

125125
#### `strict-allow-scripts`
126126

‎deps/npm/docs/content/commands/npm-stage.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ npm stage publish <package-spec>
158158
| `--workspace`, `-w` | | String (can be set multiple times) | Enable running a command in the context of the configured workspaces of the current project while filtering by running only the workspaces defined by this configuration option. Valid values for the `workspace` config are either: * Workspace names * Path to a workspace directory * Path to a parent workspace directory (will result in selecting all workspaces within that folder) When set for the `npm init` command, this may be set to the folder of a workspace which does not yet exist, to create the folder and set it up as a brand new workspace within the project. |
159159
| `--workspaces` | null | null or Boolean | Set to true to run the command in the context of **all** configured workspaces. Explicitly setting this to false will cause commands like `install` to ignore workspaces altogether. When not set explicitly: - Commands that operate on the `node_modules` tree (install, update, etc.) will link workspaces into the `node_modules` folder. - Commands that do other things (test, exec, publish, etc.) will operate on the root project, _unless_ one or more workspaces are specified in the `workspace` config. |
160160
| `--include-workspace-root` | false | Boolean | Include the workspace root when workspaces are enabled for a command. When false, specifying individual workspaces via the `workspace` config, or all workspaces via the `workspaces` flag, will cause npm to operate only on the specified workspaces, and not on the root project. |
161-
| `--provenance` | false | Boolean | When publishing from a supported cloud CI/CD system, the package will be publicly linked to where it was built and published from. |
161+
| `--provenance` | false | Boolean | When publishing from a supported cloud CI/CD system, the package will be publicly linked to where it was built and published from. When the `provenance-file` config is set, it takes precedence and automatic provenance generation (including via trusted publishing/OIDC) is skipped. |
162162

163163
### `npm stage list`
164164

‎deps/npm/docs/content/commands/npm-token.md‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,14 @@ the token access to specific organizations.
110110
#### `packages-and-scopes-permission`
111111

112112
* Default: null
113-
* Type: null, "read-only", "read-write", or "no-access"
113+
* Type: null, "read-only", "read-write", "read-write-stage-only", or
114+
"no-access"
114115

115116
When creating a Granular Access Token with `npm token create`, sets the
116117
permission level for packages and scopes. Options are "read-only",
117-
"read-write", or "no-access".
118+
"read-write", "read-write-stage-only", or "no-access".
119+
"read-write-stage-only" grants publish access that stages releases instead
120+
of publishing them directly.
118121

119122

120123

0 commit comments

Comments
 (0)