chore: upgrade lingui to v5, switch to SWC plugin#2548
Draft
mburri wants to merge 15 commits intochore/upgrade-dependencies-prio-0from
Draft
chore: upgrade lingui to v5, switch to SWC plugin#2548mburri wants to merge 15 commits intochore/upgrade-dependencies-prio-0from
mburri wants to merge 15 commits intochore/upgrade-dependencies-prio-0from
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
7d31f55 to
ff28338
Compare
80940fe to
3b6d776
Compare
also: replace bun in script task
8eb63a7 to
23b9c78
Compare
3b6d776 to
ee6cc6e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains an upgrade of the lingui library to v5 - this upgrade is critical if we want to switch to swc and turbopack for the next js build/ dev server. Without this upgrade, we are stuck to the babel build.
Upgrading to lingui v5 means that every file with translated text had to be updated. This was dont through a codemod - see https://lingui.dev/releases/migration-5
The app is not working in the current state (although I thought that the at least the build was succesfull)
Todo
yarn devwork--turbopackoption to the dev server tasksyarn buildwork (with--turbopack)