Skip to content

chore: upgrade lingui to v5, switch to SWC plugin#2548

Draft
mburri wants to merge 15 commits intochore/upgrade-dependencies-prio-0from
chore/upgrade-lingui
Draft

chore: upgrade lingui to v5, switch to SWC plugin#2548
mburri wants to merge 15 commits intochore/upgrade-dependencies-prio-0from
chore/upgrade-lingui

Conversation

@mburri
Copy link
Copy Markdown
Contributor

@mburri mburri commented Apr 14, 2026

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

  • make yarn dev work
  • add --turbopack option to the dev server tasks
  • make yarn build work (with --turbopack)
  • fix e2e and performance tests
  • manuel smoke testing

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Apr 14, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
visualization-tool Error Error Apr 15, 2026 0:13am

Request Review

@mburri mburri changed the base branch from main to chore/upgrade-dependencies-prio-0 April 15, 2026 05:54
@mburri mburri force-pushed the chore/upgrade-lingui branch from 7d31f55 to ff28338 Compare April 15, 2026 06:19
@mburri mburri force-pushed the chore/upgrade-dependencies-prio-0 branch from 80940fe to 3b6d776 Compare April 15, 2026 11:54
@mburri mburri marked this pull request as draft April 15, 2026 11: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.

1 participant