0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-01-06 22:40:26 -05:00
verdaccio/packages/store/test/fixtures/config/syncDoubleUplinksMetadata.yaml
Juan Picado 0a6412ca97
feat: refactor upstream proxy and hooks with got v12 (#3946)
* feat: proxy with got v12

* fix tests

* refactor hooks module
2023-08-06 17:42:20 +02:00

26 lines
499 B
YAML

uplinks:
timeout:
url: https://registry.domain.com/
timeout: 2s
some:
url: https://registry.domain.com/
ver:
url: https://registry.verdaccio.org/
packages:
'@*/*':
access: $all
publish: $all
proxy: some
'timeout':
access: $all
publish: $authenticated
proxy: timeout
'foo':
access: $all
publish: $authenticated
proxy: some ver
'*':
access: $all
publish: $all
proxy: some
log: { type: stdout, format: pretty, level: warn }