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