Skip to content

Instantly share code, notes, and snippets.

@jonasraoni
Created August 16, 2019 08:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonasraoni/79191689db1d69592f6adc977b0465cd to your computer and use it in GitHub Desktop.
Save jonasraoni/79191689db1d69592f6adc977b0465cd to your computer and use it in GitHub Desktop.
Example of configuration to make yarn use many registries with authentication
registry=https://artifactory.example.com/api/npm/proxy_of_npm/
//artifactory.example.com/api/npm/proxy_of_npm/:_authToken=SUPER_SECRET_KEY
//artifactory.example.com/api/npm/proxy_of_npm/:always-auth=true
//artifactory.example.com/api/npm/YOUR_PERSONAL_REPOSITORY/:_authToken=SUPER_SECRET_KEY
//artifactory.example.com/api/npm/YOUR_PERSONAL_REPOSITORY/:always-auth=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment