chore(envs): migrate react components to react-env@2.0.0#10467
chore(envs): migrate react components to react-env@2.0.0#10467davidfirst wants to merge 4 commits into
Conversation
PR Summary by QodoMigrate Bit React components to teambit.react/react-env@2.0.0
AI Description
Diagram
High-Level Assessment
Files changed (2)
|
Code Review by Qodo
1. React 18 not overridden
|
|
Code review by qodo was updated up to the latest commit 0910c88 |
|
Code review by qodo was updated up to the latest commit d937038 |
The migration to react-env@2.0.0 (react 19.2.7) left the workspace pinned to react 19.1.0, so @teambit/logger built as two incompatible pnpm variants (_react@19.1.0 vs _react@19.2.7) whose LoggerMain types don't unify, failing the capsule build with hundreds of cascading TS errors. Pin react/react-dom to 19.2.7 and add react@19/react-dom@19 overrides to collapse every react major onto a single version.
|
Code review by qodo was updated up to the latest commit 729e964 |
Migrate the workspace's React components from the legacy core
teambit.react/reactenv toteambit.react/react-env@2.0.0(React 19, Rspack, Oxlint).The large
pnpm-lock.yamldiff is the expected dependency churn from React 18→19 and the webpack→rspack / eslint→oxlint toolchain switch.