建立私人倉儲 private registry - verdaccio
-
using docker image
-
set registry
npm set registry http://localhost:4873
-
add user
npm adduser --registry http://localhost:4873
example:
Username: test Password: test Email: [email protected]
-
publish
npm publish --registry http://localhost:4873
sed -i -e 's/http:\/\//https:\/\//g' package-lock.json