1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-17 07:45:52 +01:00
verdaccio/test/functional/store/config-2.yaml
Juan Picado ee97dcb46c
feat: replace bunyan by pino.js (#2148)
* feat: replace bunyan by pino.js

* chore: refactor logger

* chore: fix e2e

* chore: better catch
2021-03-30 20:32:46 +02:00

97 lines
1.6 KiB
YAML

storage: ./test-storage2
uplinks:
server1:
url: http://localhost:55551/
maxage: 0
web:
enable: true
title: verdaccio-server-2
middlewares:
../fixtures/plugins/middlewares:
message: this is a custom route
../fixtures/plugins/middlewares.es6:
message: this is a custom route es6
max_users: 3
auth:
auth-memory:
users:
test:
name: test
password: test
authtest2:
name: authtest2
password: blahblah-password
authtest:
name: authtest
password: blahblah-password
logs: { type: stdout, format: pretty, level: trace }
packages:
'@test/*':
access: $all
publish: $all
proxy: server1
'test-fwd':
access: $all
publish: $all
'test-mirror-fwdw*':
access: $all
publish: $all
'testloop':
access: $all
publish: $all
proxy: server1
# used by gh29.js
'testpkg-gh29':
access: test $anonymous
publish: test $anonymous
proxy: server1
# used by preserve_tags_spec.js
'testpkg-preserve':
access: test $anonymous
publish: test $anonymous
proxy: server1
'testpkg':
access: test $anonymous
publish: test $anonymous
proxy: server1
'readme-*':
access: test $anonymous
publish: test $anonymous
proxy: server1
'test-nullstorage*':
access: $all
publish: $all
## start test auth.js
'test-auth-regular':
access: $authenticated
'test-auth-*':
access: authtest
'test-deny':
access: authtest2
## end test auth.js
'*':
access: test $anonymous
publish: test $anonymous
# expose internal methods
_debug: true