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

feature request: use default npm registry for Yarn #337

Closed
zhyupe opened this issue Dec 11, 2023 · 0 comments · Fixed by #339 or #396
Closed

feature request: use default npm registry for Yarn #337

zhyupe opened this issue Dec 11, 2023 · 0 comments · Fixed by #339 or #396

Comments

@zhyupe
Copy link
Contributor

zhyupe commented Dec 11, 2023

Currently yarn classic is downloaded from https://registry.yarnpkg.com/yarn/-/yarn-{}.tgz and yarn berry is downloaded from https://repo.yarnpkg.com/{}/packages/yarnpkg-cli/bin/yarn.js. Neither of them can make use of COREPACK_NPM_REGISTRY since it only replaces registry.npmjs.org.

Since registry.yarnpkg.com seems is only an alias of registry.npmjs.org (as they returns same bunch of ips) and there is @yarnpkg/cli-dist, maybe they could all be changed to the "default npm registry" and then works with COREPACK_NPM_REGISTRY

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