mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-20 22:52:46 -05:00
251bd95373
* feat: implement search v1 endpoint * add allow_access * chore: add types * chore: format * fix eslint prettier * chore: add tests * add tests * chore: add npm search cli
31 lines
645 B
YAML
31 lines
645 B
YAML
storage: ./storage_default_storage
|
|
uplinks:
|
|
npmjs:
|
|
url: http://localhost:4873/
|
|
packages:
|
|
'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
|
|
# forbidden for search endpoint test package
|
|
'react*':
|
|
access: non_existing_user
|
|
publish: $all
|
|
proxy: npmjs
|
|
'*':
|
|
access: $all
|
|
publish: $all
|
|
unpublish: xxx
|
|
proxy: npmjs
|
|
logs: { type: stdout, format: pretty, level: trace }
|