mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-02-17 23:45:29 -05:00
doc: add improve unpublish docs
This commit is contained in:
parent
43f8bc3db1
commit
1d13979a58
2 changed files with 12 additions and 6 deletions
|
@ -13,7 +13,8 @@ plugins: ./plugins
|
||||||
|
|
||||||
web:
|
web:
|
||||||
title: Verdaccio
|
title: Verdaccio
|
||||||
# gravatar: true
|
# comment out to disable gravatar support
|
||||||
|
# gravatar: false
|
||||||
# by default packages are ordercer ascendant (asc|desc)
|
# by default packages are ordercer ascendant (asc|desc)
|
||||||
# sort_packages: asc
|
# sort_packages: asc
|
||||||
|
|
||||||
|
@ -22,7 +23,7 @@ auth:
|
||||||
file: ./htpasswd
|
file: ./htpasswd
|
||||||
# Maximum amount of users allowed to register, defaults to "+inf".
|
# Maximum amount of users allowed to register, defaults to "+inf".
|
||||||
# You can set this to -1 to disable registration.
|
# You can set this to -1 to disable registration.
|
||||||
#max_users: 1000
|
# max_users: 1000
|
||||||
|
|
||||||
security:
|
security:
|
||||||
api:
|
api:
|
||||||
|
@ -56,10 +57,9 @@ packages:
|
||||||
# and three keywords: "$all", "$anonymous", "$authenticated"
|
# and three keywords: "$all", "$anonymous", "$authenticated"
|
||||||
access: $all
|
access: $all
|
||||||
|
|
||||||
# allow all known users to publish packages
|
# allow all known users to publish/publish packages
|
||||||
# (anyone can register by default, remember?)
|
# (anyone can register by default, remember?)
|
||||||
publish: $authenticated
|
publish: $authenticated
|
||||||
|
|
||||||
unpublish: $authenticated
|
unpublish: $authenticated
|
||||||
|
|
||||||
# if package is not available locally, proxy requests to 'npmjs' registry
|
# if package is not available locally, proxy requests to 'npmjs' registry
|
||||||
|
|
|
@ -19,13 +19,17 @@ web:
|
||||||
# WebUI is enabled as default, if you want disable it, just uncomment this line
|
# WebUI is enabled as default, if you want disable it, just uncomment this line
|
||||||
#enable: false
|
#enable: false
|
||||||
title: Verdaccio
|
title: Verdaccio
|
||||||
|
# comment out to disable gravatar support
|
||||||
|
# gravatar: false
|
||||||
|
# by default packages are ordercer ascendant (asc|desc)
|
||||||
|
# sort_packages: asc
|
||||||
|
|
||||||
auth:
|
auth:
|
||||||
htpasswd:
|
htpasswd:
|
||||||
file: /verdaccio/storage/htpasswd
|
file: /verdaccio/storage/htpasswd
|
||||||
# Maximum amount of users allowed to register, defaults to "+infinity".
|
# Maximum amount of users allowed to register, defaults to "+infinity".
|
||||||
# You can set this to -1 to disable registration.
|
# You can set this to -1 to disable registration.
|
||||||
#max_users: 1000
|
# max_users: 1000
|
||||||
|
|
||||||
security:
|
security:
|
||||||
api:
|
api:
|
||||||
|
@ -48,6 +52,7 @@ packages:
|
||||||
# scoped packages
|
# scoped packages
|
||||||
access: $all
|
access: $all
|
||||||
publish: $authenticated
|
publish: $authenticated
|
||||||
|
unpublish: $authenticated
|
||||||
proxy: npmjs
|
proxy: npmjs
|
||||||
|
|
||||||
'**':
|
'**':
|
||||||
|
@ -58,9 +63,10 @@ packages:
|
||||||
# and three keywords: "$all", "$anonymous", "$authenticated"
|
# and three keywords: "$all", "$anonymous", "$authenticated"
|
||||||
access: $all
|
access: $all
|
||||||
|
|
||||||
# allow all known users to publish packages
|
# allow all known users to publish/publish packages
|
||||||
# (anyone can register by default, remember?)
|
# (anyone can register by default, remember?)
|
||||||
publish: $authenticated
|
publish: $authenticated
|
||||||
|
unpublish: $authenticated
|
||||||
|
|
||||||
# if package is not available locally, proxy requests to 'npmjs' registry
|
# if package is not available locally, proxy requests to 'npmjs' registry
|
||||||
proxy: npmjs
|
proxy: npmjs
|
||||||
|
|
Loading…
Add table
Reference in a new issue