Skip to content

Upgrade yarn#11942

Merged
tempoz merged 4 commits into
masterfrom
upgrade-yarn
Apr 22, 2026
Merged

Upgrade yarn#11942
tempoz merged 4 commits into
masterfrom
upgrade-yarn

Conversation

@tempoz

@tempoz tempoz commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

Upgrade from yarn v1 to yarn v4. yarn v1 does not allow us to upgrade minor versions of dependencies, only patch versions, and this behavior is incorrect (overly restrictive) and pins us to versions of dependencies with security vulnerabilities.

@tempoz tempoz requested review from bduffany and dan-stowell April 21, 2026 17:14
@bduffany

bduffany commented Apr 21, 2026

Copy link
Copy Markdown
Member

bazel run website:start and bazel run website:serve appears broken for me with this PR, so I couldn't test whether the website still works/displays as expected

@tempoz

tempoz commented Apr 21, 2026

Copy link
Copy Markdown
Contributor Author

The global yarn version matters, apparently. Looking to see if that's easily fixed.

@tempoz

tempoz commented Apr 21, 2026

Copy link
Copy Markdown
Contributor Author

Figured it out; we had to use corepack to manage yarn.

@bduffany does this work for you now?

Comment thread package.json Outdated
@tempoz tempoz merged commit 92f25b1 into master Apr 22, 2026
12 checks passed
@tempoz tempoz deleted the upgrade-yarn branch April 22, 2026 13:55
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

Successfully merging this pull request may close these issues.

2 participants