0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-01-13 22:48:31 -05:00
verdaccio/test/unit/partials/config/yaml/api.spec.yaml
2019-02-25 08:33:01 +01:00

44 lines
921 B
YAML

storage: ./storage_default_storage
uplinks:
npmjs:
url: http://localhost:4873/
packages:
'@*/*':
access: $all
publish: $all
unpublish: $authenticated
proxy: npmjs
'auth-package':
access: $authenticated
publish: $authenticated
'non-unpublish':
access: $authenticated
publish: $authenticated
# this is intended, empty block
? unpublish
'super-admin-can-unpublish':
access: $authenticated
publish: super_admin
unpublish: super_admin
'all-can-unpublish':
access: $authenticated
publish: $all
unpublish: $all
'forbidden-place':
access: nobody
publish: $all
'vue':
access: $authenticated
publish: $authenticated
proxy: npmjs
'jquery':
access: $all
publish: $all
proxy: npmjs
'*':
access: $all
publish: $all
unpublish: xxx
proxy: npmjs
logs:
- { type: stdout, format: pretty, level: warn }