CLI documentation update from CI
CI User committed
Aug 13, 2021 at 02:26 UTC
680015ce838913fba26860efe89587bc20b076e8
3 files changed
+7
-4
cli/v7
+1
-1
@@ -1 +1 @@
1
-Subproject commit f0574033f0197cd186456f46fa83a60c5f88eb6d
1
+Subproject commit 59b9851d1649b8f78203cae187b1337f2441219d
content/cli/v7/commands/npm-publish.md
+5
@@ -142,6 +142,11 @@ If you want your scoped package to be publicly viewable (and installable)
142
set `--access=public`. The only valid values for `access` are `public` and
143
`restricted`. Unscoped packages _always_ have an access level of `public`.
144
145
+Note: Using the `--access` flag on the `npm publish` command will only set
146
+the package access level on the initial publish of the package. Any subsequent `npm publish`
147
+commands using the `--access` flag will not have an effect to the access level.
148
+To make changes to the access level after the initial publish use `npm access`.
149
+
150
#### `dry-run`
151
152
* Default: false
content/cli/v7/configuring-npm/package-json.md
+1
-3
@@ -296,12 +296,10 @@ Certain files are always included, regardless of settings:
296
297
* `package.json`
298
* `README`
299
-* `CHANGES` / `CHANGELOG` / `HISTORY`
299
* `LICENSE` / `LICENCE`
301
-* `NOTICE`
300
* The file in the "main" field
301
304
-`README`, `CHANGES`, `LICENSE` & `NOTICE` can have any case and extension.
302
+`README` & `LICENSE` can have any case and extension.
303
304
Conversely, some files are always ignored:
305