forked from sombochea/verdaccio-ui
chore: improve local dev displaying 2 packages by default
vue and jquery as examples
This commit is contained in:
55
tools/_verdaccio.config.yaml
Normal file
55
tools/_verdaccio.config.yaml
Normal file
@@ -0,0 +1,55 @@
|
||||
web:
|
||||
title: Verdaccio Local Dev
|
||||
sort_packages: asc
|
||||
primary_color: #CCC
|
||||
|
||||
plugins: ../
|
||||
|
||||
auth:
|
||||
auth-memory:
|
||||
users:
|
||||
foo:
|
||||
name: test
|
||||
password: test
|
||||
bar:
|
||||
name: bar
|
||||
password: test
|
||||
security:
|
||||
api:
|
||||
jwt:
|
||||
sign:
|
||||
expiresIn: 120d
|
||||
notBefore: 1
|
||||
web:
|
||||
sign:
|
||||
expiresIn: 100d
|
||||
notBefore: 1
|
||||
|
||||
uplinks:
|
||||
npmjs:
|
||||
url: https://registry.npmjs.org/
|
||||
|
||||
packages:
|
||||
'@*/*':
|
||||
access: $all
|
||||
publish: $authenticated
|
||||
unpublish: $authenticated
|
||||
'vue':
|
||||
access: foo
|
||||
publish: foo
|
||||
unpublish: foo
|
||||
'jquery':
|
||||
access: $all
|
||||
publish: bar
|
||||
unpublish: bar
|
||||
'**':
|
||||
access: $all
|
||||
publish: $authenticated
|
||||
unpublish: $authenticated
|
||||
middlewares:
|
||||
audit:
|
||||
enabled: true
|
||||
|
||||
logs:
|
||||
- { type: stdout, format: pretty, level: trace }
|
||||
|
||||
Reference in New Issue
Block a user