-
Notifications
You must be signed in to change notification settings - Fork 55
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
Support yarn berry #64
Comments
yarn berry is under very active development, |
@scinos @rjatkins any thoughts on this? For v2/berry it could be designed as a plugin rather than a separate tool, so we could run |
It makes a lot of sense to use the new plugin framework. I'll try to look into writing a plugin (or reviving https://github.com/eps1lon/yarn-plugin-deduplicate) soon, first I need to understand how the plugin system works and get my hands on a few yarn v2 repos with duplicated packages to test everything. If anyone wants to start working on it meanwhile, it would be great :) |
There is also this yarnpkg/berry#1558 |
^ just landed, so I guess this can be closed? |
yarnplugins/yarn-plugin-deduplicate#13 I hope we can reconsider this. I'll raise a PR for it like ds300/patch-package#507. |
@JounQin note that I have working fork here https://github.com/christophehurpeau/yarn-deduplicate / https://www.npmjs.com/package/yarn-berry-deduplicate |
@christophehurpeau Thanks for your information, but I'd like to raise a PR for |
Yarn V2+ supports |
It doesn't support See also yarnpkg/berry#2297 |
Looks like nobody is opposed to add the I haven't looked at the I may have some time this week to have a look. |
Do you mean you want to work this this week? That would be great! I and my colleague were going to working on this feature also but on The benefit is, we can use (For prepare script support for yarn berry, see also https://github.com/un-es/yarn-plugin-prepare-lifecycle) Besides, can we reopen this issue first? |
Hello,
It seems yarn 2 still needs this. I started working on a version that only supports yarn berry: https://github.com/christophehurpeau/yarn-deduplicate/tree/wip-berry
My findings are:
resolve@^1.10.0
and other patched versions of resolve, likeresolve@patch:resolve@^1.10.0#builtin<compat/resolve>
Do you plan to work on a berry version ?
The text was updated successfully, but these errors were encountered: