the verdaccio I built locally is used to test the private package. Npm publish is successful, but there is a warning in npm install, but the message is that the package was downloaded successfully, but there are no package files to download in the current directory.
< H2 > npm publish < / H2 >
npm install
npm install
< H2 > profile config.yaml < / H2 >
storage: ./storage
plugins: ./plugins
web:
title: Verdaccio
auth:
htpasswd:
file: ./htpasswd
uplinks:
cnpmjs:
url: https://registry.npm.taobao.org/
packages:
"@*/*":
-sharp scoped packages
access: $all
publish: $authenticated
proxy: cnpmjs
"**":
access: $all
publish: $authenticated
proxy: cnpmjs
middlewares:
audit:
enabled: true
logs:
- {type: stdout, format: pretty, level: http}