1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-02-21 07:29:37 +01:00

doc: Add anonymous publish section

This commit is contained in:
Juan Picado @jotadeveloper 2017-07-24 07:25:34 +02:00
parent aeb9580870
commit 2b418811ff
No known key found for this signature in database
GPG Key ID: 18AC54485952D158

@ -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`.