-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extract loadConfig from YarnRegistry/NpmRegistry responsibility (reading .npmrc/.yarnrc configs) #3683
Comments
BTW if you want to make Yarn work better with .npmrc speak up and send a PR. |
@bestander I have defined the following
and
I've deleted our Now when we the
Why is it resolving to https during the fetch? We want to keep everything on http. Everything is internal. |
I think: when use yarn |
This is also worth considering. |
Closing as in v2 we've decided to only read |
Do you want to request a feature or report a bug?
code improvement
YarnRegistry extends NpmRegistry.
YarnRegistry reads .yarnrc into config object and NpmRegistry reads .npmrc into config object.
In some cases YarnRegistry is used for requests in other NpmRegistry.
This makes it confusing to track down when settings are used from .npmrc and when from .yarnrc and this causes issues like #3612
The text was updated successfully, but these errors were encountered: