-
Notifications
You must be signed in to change notification settings - Fork 6
/
config.yaml
47 lines (39 loc) · 1.19 KB
/
config.yaml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Verdaccio configuration
# - Look here for information about this file:
# https://verdaccio.org/docs/en/configuration.html
# - Look here for more config file examples:
# https://github.com/verdaccio/verdaccio/tree/master/conf
# path to a directory with all packages
storage: /verdaccio/storage/data
# path to a directory with plugins to include
plugins: /verdaccio/plugins
web:
enable: false
title: Verdaccio
auth:
htpasswd:
file: /verdaccio/storage/htpasswd
# a list of other known registries we can talk to
uplinks:
npmjs:
url: https://registry.npmjs.org/
packages:
# All templates packages and the search-token-server are published and fetched from Verdaccio
# No uplink is allowed, so if it ain't published on Verdaccio, it'll fail.
? '@coveo/@(angular|vue-cli-plugin-typescript|cra-template|search-token-server)'
: access: $all
publish: $all
unpublish: $all
# For any other packages, we try verdaccio first (it does some caching)
# Otherwise, it tries npmjs.
'**':
access: $all
publish: $all
unpublish: $all
proxy: npmjs
middlewares:
audit:
enabled: true
# log settings
logs:
- {type: stdout, format: pretty, level: http}