-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 v3 #5322
Comments
This is a duplicate of nuxt/framework#1297. |
Following instructions for Yarn's v2 upgrade, which I did shortly after #1297 was released, actually upgrades to the latest Yarn version, not v2 (specifically Also, it turns out yarn v2 only supports up to typescript 4.4[1] when linking to node_modules (that is, no PnP[2]), so this means that, in this situation, dependabot does not support typescript > 4.4. Yarn v3 has more patches[1] and, if the patch doesn't work, it at least doesn't block the install. Personally, I only figured out I was on an unsupported Yarn v3 when I came to file an issue that Yarn v2 support was timing out dependabot. Now I'm trying to roll back to Yarn v2, and I'm having to downgrade Typescript to an older version. Frustratingly, the latest version of typescript is supported in both Yarn v1 and v3. [1] Note that trunk yarn has patches for later versions; these just aren't backported, because (before this dependabot restriction) I imagine everyone could just upgrade to Yarn 3. https://github.com/yarnpkg/berry/blob/master/packages/plugin-compat/extra/typescript/gen-typescript-patch.js#L93 |
Actually, Yarn v1 seems generally much better supported than v2, where everyone has moved to v3. So the current dependabot v2 support requires several sacrifices. Beyond typescript, above,
|
Dependabot supports Yarn v3 (https://github.blog/changelog/2022-10-20-dependabot-can-now-generate-security-and-version-updates-for-yarn-v2-and-v3/), if you have any issues with it, it probably would be a good idea to make a separate issue for it. |
Oh interesting, I thought it was only Yarn v2. Thanks! |
Closing as we now support Yarn v3, as mentioned ☝️. |
We can no longer use dependabot because it does not support yarn v3 (or v2).
Do you have any plans to support v3?
Can you suggest a workaround?
Thank you.
The text was updated successfully, but these errors were encountered: