verdaccio/lib/config_def.yaml

43 lines
1.2 KiB
YAML
Raw Normal View History

2013-06-13 16:21:14 +02:00
# path to a directory with all packages
storage: ./storage
2013-09-24 06:27:47 +02:00
# a list of users
2013-06-13 16:21:14 +02:00
users:
admin:
# crypto.createHash('sha1').update(pass).digest('hex')
password: __PASSWORD__
2013-09-24 06:27:47 +02:00
# a list of other known repositories we can talk to
2013-06-13 16:21:14 +02:00
uplinks:
npmjs:
url: https://registry.npmjs.org/
packages:
2013-09-24 06:36:43 +02:00
# uncomment this for packages with "local-" prefix to be available
# for admin only, it's a recommended way of handling private packages
#'local-*':
# allow_access: admin
# allow_publish: admin
2013-06-14 11:27:08 +02:00
'*':
2013-09-24 06:27:47 +02:00
# allow all users to read packages ('all' is a keyword)
# this includes non-authenticated (anonymous) users
allow_access: all
2013-06-13 16:21:14 +02:00
2013-09-24 06:27:47 +02:00
# allow 'admin' to publish packages
allow_publish: admin
# if package is not available locally, proxy requests to 'npmjs' registry
proxy_access: npmjs
# when package is published locally, also push it to remote registry
#proxy_publish: none
2013-09-24 06:36:43 +02:00
#####################################################################
# Advanced settings
#####################################################################
# if you use nginx with custom path, use this to override links
#url_prefix: https://dev.company.local/sinopia/