Skip to content

Instantly share code, notes, and snippets.

@pi0neerpat
Last active August 18, 2020 16:32
Show Gist options
  • Select an option

  • Save pi0neerpat/9b48c2fae0efbef23319f7b0d65d38c6 to your computer and use it in GitHub Desktop.

Select an option

Save pi0neerpat/9b48c2fae0efbef23319f7b0d65d38c6 to your computer and use it in GitHub Desktop.
verdaccio install

Verdaccio

Learn about Private Packages here link

link

Commands

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

Install

  1. Clone the repo. Modify /config/config.yaml (use the /conf/docker.yaml example)
  2. sudo docker-compose up -d
  3. Follow prompts on the web UI

⚠️ Gotchas:

Configuration is stored at:

~/verdaccio/config/config.yml

Working with CI/CD platform

See link for tips on authentication using CI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment