mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-11-13 03:35:52 +01:00
ee97dcb46c
* feat: replace bunyan by pino.js * chore: refactor logger * chore: fix e2e * chore: better catch
45 lines
718 B
YAML
45 lines
718 B
YAML
storage: ./storage
|
|
plugins: ./plugins
|
|
|
|
web:
|
|
title: Verdaccio e2e
|
|
auth:
|
|
htpasswd:
|
|
file: ./htpasswd
|
|
uplinks:
|
|
verdaccio:
|
|
url: https://registry.verdaccio.org/
|
|
max_fails: 30
|
|
fail_timeout: 10m
|
|
timeout: 60s
|
|
cache: false
|
|
maxage: 30m
|
|
agent_options:
|
|
keepAlive: true
|
|
maxSockets: 40
|
|
maxFreeSockets: 10
|
|
|
|
packages:
|
|
'@*/*':
|
|
# scoped packages
|
|
access: $all
|
|
publish: $authenticated
|
|
unpublish: $authenticated
|
|
proxy: verdaccio
|
|
|
|
'**':
|
|
access: $all
|
|
publish: $authenticated
|
|
unpublish: $authenticated
|
|
proxy: verdaccio
|
|
|
|
server:
|
|
keepAliveTimeout: 60
|
|
|
|
middlewares:
|
|
audit:
|
|
enabled: true
|
|
|
|
logs:
|
|
- { type: stdout, format: json, level: warn }
|