From c31aec833644286616f65e40843c1bad119b2fa2 Mon Sep 17 00:00:00 2001 From: Marc Bernard <59966492+mbtools@users.noreply.github.com> Date: Wed, 17 Jul 2024 15:14:44 -0400 Subject: [PATCH] fix: typo in config docs regarding check_owners (#4720) --- .changeset/thin-snails-flow.md | 6 ++++++ packages/config/src/conf/default.yaml | 2 +- packages/config/src/conf/docker.yaml | 2 +- website/docs/config.md | 4 ++-- 4 files changed, 10 insertions(+), 4 deletions(-) create mode 100644 .changeset/thin-snails-flow.md diff --git a/.changeset/thin-snails-flow.md b/.changeset/thin-snails-flow.md new file mode 100644 index 000000000..1a3645756 --- /dev/null +++ b/.changeset/thin-snails-flow.md @@ -0,0 +1,6 @@ +--- +'@verdaccio/config': patch +'@verdaccio/website': patch +--- + +fix: typo in config docs regarding check_owners diff --git a/packages/config/src/conf/default.yaml b/packages/config/src/conf/default.yaml index 638828431..474237f76 100644 --- a/packages/config/src/conf/default.yaml +++ b/packages/config/src/conf/default.yaml @@ -120,7 +120,7 @@ server: # https://verdaccio.org/docs/configuration#offline-publish # publish: # allow_offline: false -# check_owner: false +# check_owners: false # https://verdaccio.org/docs/configuration#url-prefix # url_prefix: /verdaccio/ diff --git a/packages/config/src/conf/docker.yaml b/packages/config/src/conf/docker.yaml index ddb62b516..6973f9bc4 100644 --- a/packages/config/src/conf/docker.yaml +++ b/packages/config/src/conf/docker.yaml @@ -126,7 +126,7 @@ server: # https://verdaccio.org/docs/configuration#offline-publish # publish: # allow_offline: false -# check_owner: false +# check_owners: false # https://verdaccio.org/docs/configuration#url-prefix # url_prefix: /verdaccio/ diff --git a/website/docs/config.md b/website/docs/config.md index 3dc61f037..be4543b30 100644 --- a/website/docs/config.md +++ b/website/docs/config.md @@ -194,11 +194,11 @@ publish: ### 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 publish: - check_owner: false + check_owners: false ``` Since: `verdaccio@2.3.6` due [#223](https://github.com/verdaccio/verdaccio/pull/223)