File tree 3 files changed +18
-0
lines changed
3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -136,6 +136,12 @@ If you want your scoped package to be publicly viewable (and installable)
136
136
set ` --access=public` . The only valid values for ` access` are ` public` and
137
137
` restricted` . Unscoped packages _always_ have an access level of ` public` .
138
138
139
+ Note: Using the ` --access` flag on the ` npm publish` command will only set
140
+ the package access level on the initial publish of the package. Any
141
+ subsequent ` npm publish` commands using the ` --access` flag will not have an
142
+ effect to the access level. To make changes to the access level after the
143
+ initial publish use ` npm access` .
144
+
139
145
< ! -- automatically generated, do not edit manually -->
140
146
< ! -- see lib/utils/config/definitions.js -->
141
147
Original file line number Diff line number Diff line change @@ -156,6 +156,12 @@ If you want your scoped package to be publicly viewable (and installable)
156
156
set ` --access=public ` . The only valid values for ` access ` are ` public ` and
157
157
` restricted ` . Unscoped packages _ always_ have an access level of ` public ` .
158
158
159
+ Note: Using the ` --access ` flag on the ` npm publish ` command will only set
160
+ the package access level on the initial publish of the package. Any
161
+ subsequent ` npm publish ` commands using the ` --access ` flag will not have an
162
+ effect to the access level. To make changes to the access level after the
163
+ initial publish use ` npm access ` .
164
+
159
165
<!-- automatically generated, do not edit manually -->
160
166
<!-- see lib/utils/config/definitions.js -->
161
167
Original file line number Diff line number Diff line change @@ -160,6 +160,12 @@ define('access', {
160
160
(and installable) set \`--access=public\`. The only valid values for
161
161
\`access\` are \`public\` and \`restricted\`. Unscoped packages _always_
162
162
have an access level of \`public\`.
163
+
164
+ Note: Using the \`--access\` flag on the \`npm publish\` command will only
165
+ set the package access level on the initial publish of the package. Any
166
+ subsequent \`npm publish\` commands using the \`--access\` flag will not
167
+ have an effect to the access level. To make changes to the access level
168
+ after the initial publish use \`npm access\`.
163
169
` ,
164
170
flatten,
165
171
} )
You can’t perform that action at this time.
0 commit comments