2013-09-25 10:10:12 +02:00
|
|
|
storage: ./test-storage
|
|
|
|
|
2018-01-28 02:40:07 +01:00
|
|
|
max_users: 2
|
2014-07-22 23:45:28 +02:00
|
|
|
|
2014-09-25 05:56:31 +02:00
|
|
|
web:
|
|
|
|
enable: true
|
2018-01-28 02:40:07 +01:00
|
|
|
title: verdaccio-server-1
|
|
|
|
|
|
|
|
auth:
|
|
|
|
auth-memory:
|
|
|
|
users:
|
|
|
|
test:
|
|
|
|
name: test
|
|
|
|
password: test
|
|
|
|
|
2014-09-25 05:56:31 +02:00
|
|
|
|
2013-09-27 14:36:10 +02:00
|
|
|
uplinks:
|
2013-12-11 22:22:35 +01:00
|
|
|
express:
|
|
|
|
url: http://localhost:55550/
|
2014-03-13 20:19:02 +01:00
|
|
|
timeout: 100ms
|
2013-09-27 14:36:10 +02:00
|
|
|
server2:
|
|
|
|
url: http://localhost:55552/
|
2017-03-04 00:39:26 +01:00
|
|
|
server3:
|
|
|
|
url: http://localhost:55553/
|
2013-12-11 23:01:23 +01:00
|
|
|
baduplink:
|
|
|
|
url: http://localhost:55666/
|
2013-09-27 14:36:10 +02:00
|
|
|
|
2013-10-22 07:10:25 +02:00
|
|
|
logs:
|
|
|
|
- {type: stdout, format: pretty, level: trace}
|
|
|
|
|
2013-09-25 10:10:12 +02:00
|
|
|
packages:
|
2014-12-14 21:29:56 +01:00
|
|
|
'@test/*':
|
2018-06-19 08:51:09 +02:00
|
|
|
access: $all
|
|
|
|
publish: $all
|
2014-12-14 21:29:56 +01:00
|
|
|
proxy: server2
|
|
|
|
|
2013-10-11 11:50:41 +02:00
|
|
|
'testfwd*':
|
2018-06-19 08:51:09 +02:00
|
|
|
access: $all
|
|
|
|
publish: $all
|
2013-09-27 14:36:10 +02:00
|
|
|
proxy_access: server2
|
|
|
|
proxy_publish: server2
|
2014-01-18 20:04:12 +01:00
|
|
|
|
2013-09-28 18:46:55 +02:00
|
|
|
'testloop':
|
2018-06-19 08:51:09 +02:00
|
|
|
access: $all
|
|
|
|
publish: $all
|
2013-09-28 18:46:55 +02:00
|
|
|
proxy_access: server2
|
|
|
|
proxy_publish: server2
|
2013-09-27 14:36:10 +02:00
|
|
|
|
2018-01-28 02:40:07 +01:00
|
|
|
'testexp':
|
2018-06-19 08:51:09 +02:00
|
|
|
access: $anonymous
|
2018-01-28 02:40:07 +01:00
|
|
|
|
|
|
|
# used by tags.spec.js
|
|
|
|
'testexp_tag*':
|
2018-06-19 08:51:09 +02:00
|
|
|
access: $all
|
|
|
|
publish: $all
|
2018-01-28 02:40:07 +01:00
|
|
|
proxy_access: express
|
|
|
|
|
|
|
|
# used by gzip.spec.js
|
|
|
|
'testexp_gzi*':
|
2018-06-19 08:51:09 +02:00
|
|
|
access: $all
|
|
|
|
publish: $all
|
2018-01-28 02:40:07 +01:00
|
|
|
proxy_access: express
|
|
|
|
|
|
|
|
# used by gh29.js
|
|
|
|
'testpkg-gh29':
|
2018-06-19 08:51:09 +02:00
|
|
|
access: $all
|
|
|
|
publish: $all
|
2018-01-28 02:40:07 +01:00
|
|
|
proxy_access: express
|
|
|
|
|
|
|
|
# used by preserve_tags_spec.js
|
|
|
|
'testpkg-preserve':
|
2018-06-19 08:51:09 +02:00
|
|
|
access: $all
|
|
|
|
publish: $all
|
2018-01-28 02:40:07 +01:00
|
|
|
proxy_access: express
|
|
|
|
|
|
|
|
# used by racycrash.js
|
|
|
|
'testexp-racycrash':
|
2018-06-19 08:51:09 +02:00
|
|
|
access: $all
|
|
|
|
publish: $all
|
2018-01-28 02:40:07 +01:00
|
|
|
proxy_access: express
|
|
|
|
|
|
|
|
# used by incomplete.js
|
|
|
|
'testexp-incomplete':
|
2018-06-19 08:51:09 +02:00
|
|
|
access: $all
|
|
|
|
publish: $all
|
2013-12-11 22:22:35 +01:00
|
|
|
proxy_access: express
|
|
|
|
|
2014-08-08 03:08:41 +02:00
|
|
|
'test-nullstorage*':
|
2018-06-19 08:51:09 +02:00
|
|
|
access: $all
|
|
|
|
publish: $all
|
2014-08-08 03:08:41 +02:00
|
|
|
proxy_access: server2
|
|
|
|
storage: false
|
|
|
|
|
2013-12-11 23:01:23 +01:00
|
|
|
'baduplink':
|
2018-06-19 08:51:09 +02:00
|
|
|
access: $all
|
|
|
|
publish: $all
|
2013-12-11 23:01:23 +01:00
|
|
|
proxy_access: baduplink
|
|
|
|
|
2015-04-21 18:41:50 +02:00
|
|
|
'test-access-only':
|
2018-06-19 08:51:09 +02:00
|
|
|
access: $all
|
|
|
|
publish: nobody
|
2015-04-21 18:41:50 +02:00
|
|
|
storage: false
|
|
|
|
|
|
|
|
'test-publish-only':
|
2018-06-19 08:51:09 +02:00
|
|
|
access: nobody
|
|
|
|
publish: $all
|
2015-04-21 18:41:50 +02:00
|
|
|
storage: false
|
|
|
|
|
|
|
|
'test-only-test':
|
2018-06-19 08:51:09 +02:00
|
|
|
access: test
|
|
|
|
publish: test
|
2015-04-21 18:41:50 +02:00
|
|
|
storage: false
|
|
|
|
|
|
|
|
'test-only-auth':
|
2018-06-19 08:51:09 +02:00
|
|
|
access: $authenticated
|
|
|
|
publish: $authenticated
|
2015-04-21 18:41:50 +02:00
|
|
|
storage: false
|
|
|
|
|
2013-09-25 10:10:12 +02:00
|
|
|
'*':
|
2018-06-19 08:51:09 +02:00
|
|
|
access: test $anonymous
|
|
|
|
publish: test $anonymous
|
2013-09-25 10:10:12 +02:00
|
|
|
|
2013-09-27 06:57:09 +02:00
|
|
|
listen: 55551
|
2014-08-14 23:37:46 +02:00
|
|
|
|
|
|
|
# expose internal methods
|
|
|
|
_debug: true
|