Skip to content
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

Remove the multi-registry code #5873

Open
arcanis opened this issue May 24, 2018 · 3 comments
Open

Remove the multi-registry code #5873

arcanis opened this issue May 24, 2018 · 3 comments
Assignees
Milestone

Comments

@arcanis
Copy link
Member

arcanis commented May 24, 2018

Note: This is only a technical refactoring, we will still support custom registries, it doesn't affect anything from a feature set viewpoint.

The yarn registry being a mere mirror of the npm registry, this part of the code doesn't make sense. It also doesn't work since there's places where we make assumptions that we don't do in other places. The end result is something slower and more complex than needed.

@arcanis arcanis self-assigned this May 24, 2018
@BYK BYK added this to the Yarn 2.0 milestone May 24, 2018
@BYK BYK removed the yarn-2.0 label May 24, 2018
@rally25rs
Copy link
Contributor

Had this discussion externally with @BYK but IMO the yarn registry doesn't seem to add much value other than some metrics, and introduces another potential failure point (like today's CloudFlare issue). What do you think about just deprecating the yarn registry and pointing yarn v2 back to registry.npm.org directly? The yarn registry could of course be left up for a while for yarn v1 to use.

@arcanis
Copy link
Member Author

arcanis commented May 26, 2018

Hey Jeff, this thread is specifically about the multi-registry code (ie config.registries), not about the indirection proxy. James opened a new thread to discuss this (#5891). It's a bit confusing because there's multiple contexts for the word registry 🙂

@5amo0os
Copy link

5amo0os commented Mar 13, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants