forked from neutrinojs/neutrino
-
Notifications
You must be signed in to change notification settings - Fork 0
/
verdaccio.npm.yml
31 lines (31 loc) · 977 Bytes
/
verdaccio.npm.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
store:
# Use ephemeral verdaccio-memory storage instead of the default of filesystem.
memory:
# Increase maximum number of packages that can be stored (default 1000).
limit: 10000
uplinks:
npmjs:
url: https://registry.npmjs.org/
# Increase number of failed requests before disabling uplink (default 2).
max_fails: 20
# Increase the time before cached package metadata is re-fetched (default 2m).
maxage: 10m
# Disable caching of package tarballs since it duplicates the local yarn cache.
cache: false
# Increase the max time when a request becomes a failure (default 5m).
fail_timeout: 10m
packages:
'neutrino':
access: $anonymous
publish: $anonymous
'@neutrinojs/*':
access: $anonymous
publish: $anonymous
'**':
access: $anonymous
proxy: npmjs
logs:
- { type: stdout, format: pretty, level: warn }
server:
# Set to 0 to avoid EINTEGRITY issues when installing from npm.
keepAliveTimeout: 0