yarnpkg/yarn

What is the equivalent to npm's NPM_CONFIG_REGISTRY environment variable?

Open

#2 091 ouverte le 30 nov. 2016

Voir sur GitHub
 (6 commentaires) (13 réactions) (0 assignés)JavaScript (2 731 forks)batch import
cat-compatibilitycat-featuregood first issuehelp wantedtriaged

Métriques du dépôt

Stars
 (41 514 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

My company's project currently makes use of private node modules stored in gemfury. In order to successfully fetch the private modules, we make use of npm's NPM_CONFIG_REGISTRY environment variable. We're trying to switch over to using yarn (v0.17.9) but it appears that yarn does not recognize NPM_CONFIG_REGISTRY. I went through the yarn source code to try and find some equivalent to NPM_CONFIG_REGISTRY, but, from my initial look, nothing stands out. Does yarn have such an equivalent environment variable?

Guide contributeur