Skip to content

Commit 30c583b

Browse files
committed
CLI documentation update from CI
1 parent 7beca8b commit 30c583b

File tree

3 files changed

+21
-3
lines changed

3 files changed

+21
-3
lines changed

cli/v8

Submodule v8 updated 45 files

content/cli/v8/commands/npm-exec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ $ npm exec -- foo@latest bar --package=@npmcli/foo
137137
* Default:
138138
* Type: String (can be set multiple times)
139139

140-
The package to install for [`npm exec`](/cli/v8/commands/npm-exec)
140+
The package or packages to install for [`npm exec`](/cli/v8/commands/npm-exec)
141141

142142
<!-- automatically generated, do not edit manually -->
143143
<!-- see lib/utils/config/definitions.js -->

content/cli/v8/using-npm/config.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1252,7 +1252,7 @@ Directory in which `npm pack` will save tarballs.
12521252
* Default:
12531253
* Type: String (can be set multiple times)
12541254

1255-
The package to install for [`npm exec`](/cli/v8/commands/npm-exec)
1255+
The package or packages to install for [`npm exec`](/cli/v8/commands/npm-exec)
12561256

12571257
<!-- automatically generated, do not edit manually -->
12581258
<!-- see lib/utils/config/definitions.js -->
@@ -1401,6 +1401,24 @@ The base URL of the npm registry.
14011401
<!-- automatically generated, do not edit manually -->
14021402
<!-- see lib/utils/config/definitions.js -->
14031403

1404+
#### `replace-registry-host`
1405+
1406+
* Default: "npmjs"
1407+
* Type: "npmjs", "never", "always", or String
1408+
1409+
Defines behavior for replacing the registry host in a lockfile with the
1410+
configured registry.
1411+
1412+
The default behavior is to replace package dist URLs from the default
1413+
registry (https://registry.npmjs.org) to the configured registry. If set to
1414+
"never", then use the registry value. If set to "always", then replace the
1415+
registry host with the configured host every time.
1416+
1417+
You may also specify a bare hostname (e.g., "registry.npmjs.org").
1418+
1419+
<!-- automatically generated, do not edit manually -->
1420+
<!-- see lib/utils/config/definitions.js -->
1421+
14041422
#### `save`
14051423

14061424
* Default: `true` unless when using `npm update` where it defaults to `false`

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy