2013-09-26 23:57:09 -05:00
|
|
|
storage: ./test-storage2
|
2013-09-25 03:10:12 -05:00
|
|
|
|
2013-09-27 03:56:44 -05:00
|
|
|
uplinks:
|
|
|
|
server1:
|
|
|
|
url: http://localhost:55551/
|
2014-03-13 14:45:47 -05:00
|
|
|
maxage: 0
|
2013-09-27 03:56:44 -05:00
|
|
|
|
2014-09-24 22:56:31 -05:00
|
|
|
web:
|
|
|
|
enable: true
|
2018-01-27 20:40:07 -05:00
|
|
|
title: verdaccio-server-2
|
2014-09-24 22:56:31 -05:00
|
|
|
|
2017-10-24 09:02:08 -05:00
|
|
|
middlewares:
|
|
|
|
../fixtures/plugins/middlewares:
|
|
|
|
message: this is a custom route
|
2018-06-22 13:54:14 -05:00
|
|
|
../fixtures/plugins/middlewares.es6:
|
2018-08-20 09:31:39 -05:00
|
|
|
message: this is a custom route es6
|
2017-10-24 09:02:08 -05:00
|
|
|
|
2018-01-27 20:40:07 -05:00
|
|
|
max_users: 3
|
2015-04-11 08:09:19 -05:00
|
|
|
|
2018-01-27 20:40:07 -05:00
|
|
|
auth:
|
|
|
|
auth-memory:
|
|
|
|
users:
|
|
|
|
test:
|
|
|
|
name: test
|
|
|
|
password: test
|
|
|
|
authtest2:
|
|
|
|
name: authtest2
|
2018-06-23 01:35:06 -05:00
|
|
|
password: blahblah-password
|
2018-01-27 20:40:07 -05:00
|
|
|
authtest:
|
|
|
|
name: authtest
|
2018-06-23 01:35:06 -05:00
|
|
|
password: blahblah-password
|
2015-04-11 08:09:19 -05:00
|
|
|
|
2013-12-11 17:01:23 -05:00
|
|
|
logs:
|
2018-08-20 09:31:39 -05:00
|
|
|
- { type: stdout, format: pretty, level: trace }
|
2013-12-11 17:01:23 -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: server1
|
|
|
|
|
2018-06-22 18:03:25 -05:00
|
|
|
'test-fwd':
|
|
|
|
access: $all
|
|
|
|
publish: $all
|
|
|
|
|
|
|
|
'test-mirror-fwdw*':
|
2018-06-19 01:51:09 -05:00
|
|
|
access: $all
|
|
|
|
publish: $all
|
2014-03-13 14:45:47 -05:00
|
|
|
|
2013-09-28 11:46:55 -05:00
|
|
|
'testloop':
|
2018-06-19 01:51:09 -05:00
|
|
|
access: $all
|
|
|
|
publish: $all
|
|
|
|
proxy: server1
|
2013-09-27 07:36:10 -05:00
|
|
|
|
2018-01-27 20:40:07 -05:00
|
|
|
# used by gh29.js
|
|
|
|
'testpkg-gh29':
|
2018-06-19 01:51:09 -05:00
|
|
|
access: test $anonymous
|
|
|
|
publish: test $anonymous
|
|
|
|
proxy: server1
|
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: test $anonymous
|
|
|
|
publish: test $anonymous
|
|
|
|
proxy: server1
|
2018-01-27 20:40:07 -05:00
|
|
|
|
|
|
|
'testpkg':
|
2018-06-19 01:51:09 -05:00
|
|
|
access: test $anonymous
|
|
|
|
publish: test $anonymous
|
|
|
|
proxy: server1
|
2013-09-27 03:56:44 -05:00
|
|
|
|
2017-07-24 16:09:28 -05:00
|
|
|
'readme-*':
|
2018-06-19 01:51:09 -05:00
|
|
|
access: test $anonymous
|
|
|
|
publish: test $anonymous
|
|
|
|
proxy: server1
|
2017-07-24 16:09:28 -05:00
|
|
|
|
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
|
|
|
|
2018-08-20 09:31:39 -05:00
|
|
|
## start test auth.js
|
2015-04-11 08:09:19 -05:00
|
|
|
'test-auth-regular':
|
2018-06-19 01:51:09 -05:00
|
|
|
access: $authenticated
|
2015-04-11 08:09:19 -05:00
|
|
|
|
|
|
|
'test-auth-*':
|
2018-06-19 01:51:09 -05:00
|
|
|
access: authtest
|
2018-01-27 20:40:07 -05:00
|
|
|
|
|
|
|
'test-deny':
|
2018-06-19 01:51:09 -05:00
|
|
|
access: authtest2
|
2018-08-20 09:31:39 -05:00
|
|
|
## end test auth.js
|
2015-04-11 08:09:19 -05:00
|
|
|
|
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
|