35 lines
635 B
YAML

# path to a directory with all packages
storage: ../../tmp/local-registry/storage
listen: 127.0.0.1:4872 # change to 127.0.0.1 to avoid IPv6 issue
# a list of other known repositories we can talk to
uplinks:
npmjs:
url: https://registry.npmjs.org/
max_fails: 100
maxage: 30m
fail_timeout: 10m
timeout: 600s
cache: false
packages:
'@nrwl/*':
access: $all
publish: $all
'**':
access: $all
publish: $all
unpublish: $all
proxy: npmjs
# log settings
logs:
type: stdout
format: pretty
level: warn
publish:
allow_offline: true # set offline to true to allow publish offline