Skip to content

Commit 771a1cb

Browse files
committed
chore(tests): fix snapshots
1 parent 71cdfd8 commit 771a1cb

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

tap-snapshots/test/lib/utils/config/definitions.js.test.cjs

+6
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,12 @@ When publishing scoped packages, the access level defaults to \`restricted\`.
180180
If you want your scoped package to be publicly viewable (and installable)
181181
set \`--access=public\`. The only valid values for \`access\` are \`public\` and
182182
\`restricted\`. Unscoped packages _always_ have an access level of \`public\`.
183+
184+
Note: Using the \`--access\` flag on the \`npm publish\` command will only set
185+
the package access level on the initial publish of the package. Any
186+
subsequent \`npm publish\` commands using the \`--access\` flag will not have an
187+
effect to the access level. To make changes to the access level after the
188+
initial publish use \`npm access\`.
183189
`
184190

185191
exports[`test/lib/utils/config/definitions.js TAP > config description for all 1`] = `

tap-snapshots/test/lib/utils/config/describe-all.js.test.cjs

+6
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ If you want your scoped package to be publicly viewable (and installable)
3030
set \`--access=public\`. The only valid values for \`access\` are \`public\` and
3131
\`restricted\`. Unscoped packages _always_ have an access level of \`public\`.
3232
33+
Note: Using the \`--access\` flag on the \`npm publish\` command will only set
34+
the package access level on the initial publish of the package. Any
35+
subsequent \`npm publish\` commands using the \`--access\` flag will not have an
36+
effect to the access level. To make changes to the access level after the
37+
initial publish use \`npm access\`.
38+
3339
<!-- automatically generated, do not edit manually -->
3440
<!-- see lib/utils/config/definitions.js -->
3541

0 commit comments

Comments
 (0)