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
|
|
|
|
|
2019-06-13 14:42:01 -05:00
|
|
|
middlewares:
|
|
|
|
../fixtures/plugins/middlewares.uplink:
|
|
|
|
message: provides uplink mocking (e.g. simulates socket timeout)
|
|
|
|
|
2018-01-27 20:40:07 -05:00
|
|
|
auth:
|
|
|
|
auth-memory:
|
|
|
|
users:
|
|
|
|
test:
|
|
|
|
name: test
|
|
|
|
password: test
|
|
|
|
|
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/
|
2019-02-03 04:43:55 -05:00
|
|
|
maxage: 0
|
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
|
|
|
|
2021-03-30 13:32:46 -05:00
|
|
|
logs: { type: stdout, format: pretty, level: trace }
|
2013-10-22 00:10:25 -05:00
|
|
|
|
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
|
|
|
|
|
2018-06-22 18:03:25 -05:00
|
|
|
## mirror.js
|
|
|
|
'test-mirror-*':
|
2018-06-19 01:51:09 -05:00
|
|
|
access: $all
|
|
|
|
publish: $all
|
2018-06-22 15:31:32 -05:00
|
|
|
proxy: server2
|
2014-01-18 14:04:12 -05:00
|
|
|
|
2018-06-22 18:03:25 -05:00
|
|
|
## mirror.js
|
2013-09-28 11:46:55 -05:00
|
|
|
'testloop':
|
2018-06-19 01:51:09 -05:00
|
|
|
access: $all
|
|
|
|
publish: $all
|
2018-06-22 15:31:32 -05:00
|
|
|
proxy: 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-06-22 15:31:32 -05:00
|
|
|
proxy: express
|
2018-01-27 20:40:07 -05:00
|
|
|
|
|
|
|
# used by gzip.spec.js
|
2018-06-24 03:11:52 -05:00
|
|
|
'testexp_gzip':
|
2018-06-19 01:51:09 -05:00
|
|
|
access: $all
|
|
|
|
publish: $all
|
2018-06-22 15:31:32 -05:00
|
|
|
proxy: express
|
2018-01-27 20:40:07 -05:00
|
|
|
|
|
|
|
# used by gh29.js
|
|
|
|
'testpkg-gh29':
|
2018-06-19 01:51:09 -05:00
|
|
|
access: $all
|
|
|
|
publish: $all
|
2018-06-22 15:31:32 -05:00
|
|
|
proxy: express
|
2018-01-27 20:40:07 -05:00
|
|
|
|
|
|
|
# used by preserve_tags_spec.js
|
|
|
|
'testpkg-preserve':
|
2018-06-19 01:51:09 -05:00
|
|
|
access: $all
|
|
|
|
publish: $all
|
2018-06-22 15:31:32 -05:00
|
|
|
proxy: express
|
2018-01-27 20:40:07 -05:00
|
|
|
|
|
|
|
# used by racycrash.js
|
|
|
|
'testexp-racycrash':
|
2018-06-19 01:51:09 -05:00
|
|
|
access: $all
|
|
|
|
publish: $all
|
2018-06-22 15:31:32 -05:00
|
|
|
proxy: express
|
2018-01-27 20:40:07 -05:00
|
|
|
|
|
|
|
# used by incomplete.js
|
|
|
|
'testexp-incomplete':
|
2018-06-19 01:51:09 -05:00
|
|
|
access: $all
|
|
|
|
publish: $all
|
2018-06-22 15:31:32 -05:00
|
|
|
proxy: express
|
2013-12-11 16:22:35 -05:00
|
|
|
|
2014-08-07 20:08:41 -05:00
|
|
|
'test-nullstorage*':
|
2018-06-19 01:51:09 -05:00
|
|
|
access: $all
|
|
|
|
publish: $all
|
2018-06-22 15:31:32 -05:00
|
|
|
proxy: server2
|
2019-02-03 04:43:55 -05:00
|
|
|
storage: sub_storage
|
2014-08-07 20:08:41 -05:00
|
|
|
|
2013-12-11 17:01:23 -05:00
|
|
|
'baduplink':
|
2018-06-19 01:51:09 -05:00
|
|
|
access: $all
|
|
|
|
publish: $all
|
2018-06-22 15:31:32 -05:00
|
|
|
proxy: baduplink
|
2013-12-11 17:01:23 -05:00
|
|
|
|
2015-04-21 11:41:50 -05:00
|
|
|
'test-access-only':
|
2018-06-19 01:51:09 -05:00
|
|
|
access: $all
|
|
|
|
publish: nobody
|
2019-02-03 04:43:55 -05:00
|
|
|
storage: sub_storage
|
2015-04-21 11:41:50 -05:00
|
|
|
|
|
|
|
'test-publish-only':
|
2018-06-19 01:51:09 -05:00
|
|
|
access: nobody
|
|
|
|
publish: $all
|
2019-02-03 04:43:55 -05:00
|
|
|
storage: sub_storage
|
2015-04-21 11:41:50 -05:00
|
|
|
|
|
|
|
'test-only-test':
|
2018-06-19 01:51:09 -05:00
|
|
|
access: test
|
|
|
|
publish: test
|
2019-02-03 04:43:55 -05:00
|
|
|
storage: sub_storage
|
2015-04-21 11:41:50 -05:00
|
|
|
|
|
|
|
'test-only-auth':
|
2018-06-19 01:51:09 -05:00
|
|
|
access: $authenticated
|
|
|
|
publish: $authenticated
|
2019-02-03 04:43:55 -05:00
|
|
|
storage: sub_storage
|
2015-04-21 11:41:50 -05:00
|
|
|
|
2019-06-13 14:42:01 -05:00
|
|
|
'test-uplink-timeout-*':
|
|
|
|
access: $all
|
|
|
|
proxy:
|
|
|
|
- server2
|
|
|
|
- server3
|
|
|
|
|
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
|
|
|
|
2014-08-14 16:37:46 -05:00
|
|
|
# expose internal methods
|
|
|
|
_debug: true
|