chore: improve local dev displaying 2 packages by default

vue and jquery as examples
This commit is contained in:
Juan Picado @jotadeveloper
2019-08-04 10:17:43 +02:00
parent 240535ddad
commit 6f8d891c42
6 changed files with 30113 additions and 18 deletions

View 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 }