Skip to content

Instantly share code, notes, and snippets.

@tonybolanyo
Created January 23, 2020 15:58
Show Gist options
  • Save tonybolanyo/e1cc13499cbecdb85ced4ec54792afa5 to your computer and use it in GitHub Desktop.
Save tonybolanyo/e1cc13499cbecdb85ced4ec54792afa5 to your computer and use it in GitHub Desktop.
Yarn con registro privado
  1. Configurar la autenticación para que se mantenga a lo largo de los diferentes comandos
yarn config set always-auth true
  1. Hacer login en el registro de paquetes
yarn login --registry http://...
  1. El registro se puede especificar de diferentes maneras
    • en el comando: `yarn install -registry http://...
    • en la configuración del proyecto: `yarn config registry http://...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment