From 2b418811ff50b240b235c609074c041935801609 Mon Sep 17 00:00:00 2001 From: "Juan Picado @jotadeveloper" Date: Mon, 24 Jul 2017 07:25:34 +0200 Subject: [PATCH] doc: Add anonymous publish section --- wiki/auth.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/wiki/auth.md b/wiki/auth.md index 642606210..b1ffae08f 100644 --- a/wiki/auth.md +++ b/wiki/auth.md @@ -17,6 +17,21 @@ registry=http://localhost:5555/ //registry.npmjs.org/:_authToken=secretNpmjsToken ``` +#### Anonymous publish + +`verdaccio`allows you to enable anonymous publish, to achieve that you will need to set up correctly your [packages acces](packages). + +Eg: + +```yaml + 'my-company-*': + access: $anonymous + publish: $anonymous + proxy: npmjs +``` + +As is described [on issue #212](https://github.com/verdaccio/verdaccio/issues/212#issuecomment-308578500) until `npm@5.3.0` and all minor releases **won't allow you publish without a token**. However `yarn` has not such limitation. + ## Default htpasswd In order to simplify the setup, `verdaccio` use a build-in plugin based on `htpasswd`.