Learn about Private Packages here link
yarn config set registry http://localhost:4873
yarn config set registry https://npm.patrickgallagher.dev:443
# set back to normal
yarn config set registry https://registry.npmjs.com/
npm set registry https://registry.npmjs.com/Alternatives link
Set up docker+NGINX
Resource for requiring from a monorepo link
- Clone the repo. Modify /config/config.yaml (use the /conf/docker.yaml example)
- sudo docker-compose up -d
- Follow prompts on the web UI
- I had to set
always-auth=trueon my local npm client. see link - Don't forget the ":443" in the url, eg.g "https://npm.patrickgallagher.dev:443"
Configuration is stored at:
~/verdaccio/config/config.yml
See link for tips on authentication using CI