-
Notifications
You must be signed in to change notification settings - Fork 49k
Update Yarn to version Berry #24301
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
Update Yarn to version Berry #24301
Conversation
Upgrading to Yarn 3 is blocked by the lack of Dependabot support: dependabot/dependabot-core#1297 |
Ok no problem, meanwhile I will fix workflows... Can I suggest yarn upgrade-interactive as an alternative solution? |
That's not true... I didn't enable pnp so there would not be problems with this type of issue. |
Now we should understanding what fails on the remaining workflows |
Dependabot is not compatible with Yarn 3’s |
Update. Dependabot had started to support Yarn 2+ since 20 Oct 2022: Edit. Though at the time being there are still many pending issues with basic Yarn 2+ features: |
Great! I wasn't more following this pr, now i will rebase, let's see what's happening with yarn 4 too |
To check if the lockfiles are updated, i use this script (fishshell) for file in (find . -name "yarn.lock" | grep -v "node_modules")
set dir (dirname $file)
echo $dir
cd $dir
rm -rf node_modules .yarn yarn.lock
wget https://raw.githubusercontent.com/facebook/react/main/{$dir}/yarn.lock
yarn
yarn dedupe # just in case you are interested into deduping lockfiles.
prevd
end |
The size diff is too large to display in a single comment. The CircleCI job contains an artifact called "sizebot-message.md" with the full message. Generated by 🚫 dangerJS against 87e59ab @ustayready |
This pull request has been automatically marked as stale. If this pull request is still relevant, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize reviewing it yet. Your contribution is very much appreciated. |
Bump |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
- Use corepack - Add hardlinks-global field - Deduplicate
Thanks but we all use yarn 1 and it works great |
K finally an answer by the team! Thank you for the chance! It was a nice challenge to maintain this! |
Summary
I upgraded to yarn v4.0.0, which would not work anymore on nodejs <18.
How did you test this change?
Not everything works at the moment so I make the PR a draft.
Current Issues: