Skip to content

Commit 8dd4ef0

Browse files
committed
chore: update docs test snapshots for publish-registry
1 parent 458125c commit 8dd4ef0

1 file changed

Lines changed: 24 additions & 1 deletion

File tree

tap-snapshots/test/lib/docs.js.test.cjs

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1459,6 +1459,17 @@ by the underlying \`request\` library.
14591459
14601460
14611461
1462+
#### \`publish-registry\`
1463+
1464+
* Default: null
1465+
* Type: null or URL
1466+
1467+
The base URL of the npm registry to use for \`npm publish\` and \`npm
1468+
unpublish\`. When set, overrides \`registry\` for these commands while leaving
1469+
\`registry\` in effect for all other operations like install and view.
1470+
1471+
1472+
14621473
#### \`read-only\`
14631474
14641475
* Default: false
@@ -2364,6 +2375,7 @@ Array [
23642375
"proxy",
23652376
"read-only",
23662377
"rebuild-bundle",
2378+
"publish-registry",
23672379
"registry",
23682380
"replace-registry-host",
23692381
"save",
@@ -2519,6 +2531,7 @@ Array [
25192531
"proxy",
25202532
"read-only",
25212533
"rebuild-bundle",
2534+
"publish-registry",
25222535
"registry",
25232536
"replace-registry-host",
25242537
"save",
@@ -2692,6 +2705,7 @@ Object {
26922705
"provenance": false,
26932706
"provenanceFile": null,
26942707
"proxy": null,
2708+
"publishRegistry": null,
26952709
"readOnly": false,
26962710
"rebuildBundle": true,
26972711
"registry": "https://registry.npmjs.org/",
@@ -5055,6 +5069,7 @@ npm publish <package-spec>
50555069
50565070
Options:
50575071
[--tag <tag>] [--access <restricted|public>] [--dry-run] [--otp <otp>]
5072+
[--publish-registry <publish-registry>]
50585073
[-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
50595074
[--workspaces] [--include-workspace-root] [--provenance|--provenance-file <file>]
50605075
@@ -5070,6 +5085,9 @@ Options:
50705085
--otp
50715086
This is a one-time password from a two-factor authenticator. It's needed
50725087
5088+
--publish-registry
5089+
The base URL of the npm registry to use for \`npm publish\` and
5090+
50735091
-w|--workspace
50745092
Enable running a command in the context of the configured workspaces of the
50755093
@@ -5093,6 +5111,7 @@ npm publish <package-spec>
50935111
#### \`access\`
50945112
#### \`dry-run\`
50955113
#### \`otp\`
5114+
#### \`publish-registry\`
50965115
#### \`workspace\`
50975116
#### \`workspaces\`
50985117
#### \`include-workspace-root\`
@@ -5910,7 +5929,7 @@ Usage:
59105929
npm unpublish [<package-spec>]
59115930
59125931
Options:
5913-
[--dry-run] [-f|--force]
5932+
[--dry-run] [-f|--force] [--publish-registry <publish-registry>]
59145933
[-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
59155934
[--workspaces]
59165935
@@ -5920,6 +5939,9 @@ Options:
59205939
-f|--force
59215940
Removes various protections against unfortunate side effects, common
59225941
5942+
--publish-registry
5943+
The base URL of the npm registry to use for \`npm publish\` and
5944+
59235945
-w|--workspace
59245946
Enable running a command in the context of the configured workspaces of the
59255947
@@ -5935,6 +5957,7 @@ npm unpublish [<package-spec>]
59355957
59365958
#### \`dry-run\`
59375959
#### \`force\`
5960+
#### \`publish-registry\`
59385961
#### \`workspace\`
59395962
#### \`workspaces\`
59405963
`

0 commit comments

Comments
 (0)