mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
124 lines
1.9 KiB
YAML
124 lines
1.9 KiB
YAML
storage: ./test-storage
|
|
|
|
max_users: 2
|
|
|
|
web:
|
|
enable: true
|
|
title: verdaccio-server-1
|
|
|
|
auth:
|
|
auth-memory:
|
|
users:
|
|
test:
|
|
name: test
|
|
password: test
|
|
|
|
|
|
uplinks:
|
|
express:
|
|
url: http://localhost:55550/
|
|
timeout: 100ms
|
|
server2:
|
|
url: http://localhost:55552/
|
|
server3:
|
|
url: http://localhost:55553/
|
|
baduplink:
|
|
url: http://localhost:55666/
|
|
|
|
logs:
|
|
- {type: stdout, format: pretty, level: trace}
|
|
|
|
packages:
|
|
'@test/*':
|
|
access: $all
|
|
publish: $all
|
|
proxy: server2
|
|
|
|
## mirror.js
|
|
'test-mirror-*':
|
|
access: $all
|
|
publish: $all
|
|
proxy: server2
|
|
|
|
## mirror.js
|
|
'testloop':
|
|
access: $all
|
|
publish: $all
|
|
proxy: server2
|
|
|
|
'testexp':
|
|
access: $anonymous
|
|
|
|
# used by tags.spec.js
|
|
'testexp_tag*':
|
|
access: $all
|
|
publish: $all
|
|
proxy: express
|
|
|
|
# used by gzip.spec.js
|
|
'testexp_gzip':
|
|
access: $all
|
|
publish: $all
|
|
proxy: express
|
|
|
|
# used by gh29.js
|
|
'testpkg-gh29':
|
|
access: $all
|
|
publish: $all
|
|
proxy: express
|
|
|
|
# used by preserve_tags_spec.js
|
|
'testpkg-preserve':
|
|
access: $all
|
|
publish: $all
|
|
proxy: express
|
|
|
|
# used by racycrash.js
|
|
'testexp-racycrash':
|
|
access: $all
|
|
publish: $all
|
|
proxy: express
|
|
|
|
# used by incomplete.js
|
|
'testexp-incomplete':
|
|
access: $all
|
|
publish: $all
|
|
proxy: express
|
|
|
|
'test-nullstorage*':
|
|
access: $all
|
|
publish: $all
|
|
proxy: server2
|
|
storage: false
|
|
|
|
'baduplink':
|
|
access: $all
|
|
publish: $all
|
|
proxy: baduplink
|
|
|
|
'test-access-only':
|
|
access: $all
|
|
publish: nobody
|
|
storage: false
|
|
|
|
'test-publish-only':
|
|
access: nobody
|
|
publish: $all
|
|
storage: false
|
|
|
|
'test-only-test':
|
|
access: test
|
|
publish: test
|
|
storage: false
|
|
|
|
'test-only-auth':
|
|
access: $authenticated
|
|
publish: $authenticated
|
|
storage: false
|
|
|
|
'*':
|
|
access: test $anonymous
|
|
publish: test $anonymous
|
|
|
|
# expose internal methods
|
|
_debug: true
|