mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-06 22:40:26 -05:00
6e764e3c49
* feat: add support for npm owner * Revert debug msg * Finish feature and add test cases * Fix remote user name and more tests * Simplify passing remote user * Update version metadata with owners * Add test for validateUserName * Add comment for "change owner" * add config option * add check to removePackage, removeTarball * typo * check access when write=true * Add to config, fix undefined user * Update docs * Update docs * Update readme
24 lines
390 B
YAML
24 lines
390 B
YAML
storage: ./storage
|
|
|
|
auth:
|
|
htpasswd:
|
|
file: ./htpasswd-owner
|
|
|
|
web:
|
|
enable: true
|
|
title: verdaccio
|
|
|
|
log: { type: stdout, format: pretty, level: info }
|
|
|
|
# TODO: Add test case for $owner access
|
|
packages:
|
|
'@*/*':
|
|
access: $all
|
|
publish: $authenticated
|
|
unpublish: $authenticated
|
|
'**':
|
|
access: $all
|
|
publish: $authenticated
|
|
unpublish: $authenticated
|
|
|
|
_debug: true
|