Skip to content

Commit

Permalink
fix(docs): update npm-publish access flag info
Browse files Browse the repository at this point in the history
PR-URL: #3630
Credit: @austincho
Close: #3630
Reviewed-by: @wraithgar
  • Loading branch information
austincho authored and wraithgar committed Aug 11, 2021
1 parent 001f2c1 commit d1812f1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/content/commands/npm-publish.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,11 @@ If you want your scoped package to be publicly viewable (and installable)
set `--access=public`. The only valid values for `access` are `public` and
`restricted`. Unscoped packages _always_ have an access level of `public`.
Note: Using the `--access` flag on the `npm publish` command will only set
the package access level on the initial publish of the package. Any subsequent `npm publish`
commands using the `--access` flag will not have an effect to the access level.
To make changes to the access level after the initial publish use `npm access`.
#### `dry-run`
* Default: false
Expand Down

0 comments on commit d1812f1

Please sign in to comment.