0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-01-20 22:52:46 -05:00
verdaccio/test/unit/partials/config/yaml/api.search.spec.yaml
Juan Picado 251bd95373
feat: implement search v1 endpoint (#2256)
* 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
2021-05-15 16:39:03 +02:00

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 }