0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00

fix: typo in config docs regarding check_owners (#4720)

This commit is contained in:
Marc Bernard 2024-07-17 15:14:44 -04:00 committed by GitHub
parent 5a0c23f900
commit c31aec8336
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 10 additions and 4 deletions

View file

@ -0,0 +1,6 @@
---
'@verdaccio/config': patch
'@verdaccio/website': patch
---
fix: typo in config docs regarding check_owners

View file

@ -120,7 +120,7 @@ server:
# https://verdaccio.org/docs/configuration#offline-publish # https://verdaccio.org/docs/configuration#offline-publish
# publish: # publish:
# allow_offline: false # allow_offline: false
# check_owner: false # check_owners: false
# https://verdaccio.org/docs/configuration#url-prefix # https://verdaccio.org/docs/configuration#url-prefix
# url_prefix: /verdaccio/ # url_prefix: /verdaccio/

View file

@ -126,7 +126,7 @@ server:
# https://verdaccio.org/docs/configuration#offline-publish # https://verdaccio.org/docs/configuration#offline-publish
# publish: # publish:
# allow_offline: false # allow_offline: false
# check_owner: false # check_owners: false
# https://verdaccio.org/docs/configuration#url-prefix # https://verdaccio.org/docs/configuration#url-prefix
# url_prefix: /verdaccio/ # url_prefix: /verdaccio/

View file

@ -194,11 +194,11 @@ publish:
### Checking Package Ownership {#chec-owner} ### Checking Package Ownership {#chec-owner}
By default, [package access](packages.md) defines who is allowed to publish and unpublish packages. By setting `check_owner` to _true_, only package owners are allowed to make changes to a package. The first owner of a package is the user who published the first version. Further owners can be added or removed using [`npm owner`](https://docs.npmjs.com/cli/v10/commands/npm-owner). You can find the list of current owners in the package manifest under `maintainers`. By default, [package access](packages.md) defines who is allowed to publish and unpublish packages. By setting `check_owners` to _true_, only package owners are allowed to make changes to a package. The first owner of a package is the user who published the first version. Further owners can be added or removed using [`npm owner`](https://docs.npmjs.com/cli/v10/commands/npm-owner). You can find the list of current owners using `npm owner list` or by checking the package manifest under `maintainers`.
```yaml ```yaml
publish: publish:
check_owner: false check_owners: false
``` ```
<small>Since: `verdaccio@2.3.6` due [#223](https://github.com/verdaccio/verdaccio/pull/223)</small> <small>Since: `verdaccio@2.3.6` due [#223](https://github.com/verdaccio/verdaccio/pull/223)</small>