CLI documentation update from CI

npm CLI robot committed Aug 3, 2022 at 03:05 UTC 30c583b99504ed916eb637ed6e93a4e8dee87e6d
3 files changed +21 -3
cli/v8
+1 -1
@@ -1 +1 @@
1 -Subproject commit 3c024ace60904c69e61da00e1fb56c0c1735804a
1 +Subproject commit 3b30af25e93665f5aa21897910a65d7f26bbd066
content/cli/v8/commands/npm-exec.md
+1 -1
@@ -137,7 +137,7 @@ $ npm exec -- foo@latest bar --package=@npmcli/foo
137 * Default:
138 * Type: String (can be set multiple times)
139
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)
141
142 <!-- automatically generated, do not edit manually -->
143 <!-- see lib/utils/config/definitions.js -->
content/cli/v8/using-npm/config.md
+19 -1
@@ -1252,7 +1252,7 @@ Directory in which `npm pack` will save tarballs.
1252 * Default:
1253 * Type: String (can be set multiple times)
1254
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)
1256
1257 <!-- automatically generated, do not edit manually -->
1258 <!-- see lib/utils/config/definitions.js -->
@@ -1401,6 +1401,24 @@ The base URL of the npm registry.
1401 <!-- automatically generated, do not edit manually -->
1402 <!-- see lib/utils/config/definitions.js -->
1403
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 +
1422 #### `save`
1423
1424 * Default: `true` unless when using `npm update` where it defaults to `false`