Skip to content

Commit 4eec06a

Browse files
fix: update packages to React 19 individually instead of global overrides
- Update bridge-react: React types 18.2.79 → 19.0.0, React 18.3.1 → 19.0.0 - Update data-prefetch: React types ~18.0.38 → ~19.0.0, React 18.3.1 → 19.0.0 - Update chrome-devtools: React types ~18.2.0 → ~19.0.0, React ~18.3.1 → ~19.0.0 - Update utilities: React 18.3.1 → 19.0.0 - Remove global pnpm overrides for React, use per-package approach - Bridge-react build now succeeds, some type errors remain to be fixed 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 549d7e9 commit 4eec06a

File tree

8 files changed

+408711
-1334
lines changed

8 files changed

+408711
-1334
lines changed
160 KB
Binary file not shown.

__mocks__/remotes/index.js

Lines changed: 405324 additions & 0 deletions
Large diffs are not rendered by default.

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,7 @@
7171
}
7272
},
7373
"overrides": {
74-
"@changesets/assemble-release-plan": "workspace:*",
75-
"react": "19.0.0",
76-
"react-dom": "19.0.0"
74+
"@changesets/assemble-release-plan": "workspace:*"
7775
}
7876
},
7977
"dependencies": {

packages/bridge/bridge-react/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,14 @@
7070
},
7171
"devDependencies": {
7272
"@testing-library/react": "15.0.7",
73-
"@types/react": "18.2.79",
74-
"@types/react-dom": "18.3.0",
73+
"@types/react": "19.0.0",
74+
"@types/react-dom": "19.0.0",
7575
"@vitejs/plugin-react": "^4.3.3",
7676
"@vitejs/plugin-vue": "^5.0.4",
7777
"@vitejs/plugin-vue-jsx": "^4.0.0",
7878
"jsdom": "^24.1.0",
79-
"react": "18.3.1",
80-
"react-dom": "18.3.1",
79+
"react": "19.0.0",
80+
"react-dom": "19.0.0",
8181
"react-router-dom": "6.22.3",
8282
"typescript": "^5.2.2",
8383
"vite": "^5.4.18",

packages/chrome-devtools/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@
5959
"@module-federation/sdk": "workspace:*",
6060
"ahooks": "^3.7.10",
6161
"dagre": "^0.8.5",
62-
"react": "~18.3.1",
63-
"react-dom": "~18.3.1",
62+
"react": "~19.0.0",
63+
"react-dom": "~19.0.0",
6464
"reactflow": "11.11.4"
6565
},
6666
"devDependencies": {
@@ -77,8 +77,8 @@
7777
"@types/dagre": "^0.7.52",
7878
"@types/jest": "~29.2.4",
7979
"@types/node": "~20.12.12",
80-
"@types/react": "~18.2.0",
81-
"@types/react-dom": "~18.3.0",
80+
"@types/react": "~19.0.0",
81+
"@types/react-dom": "~19.0.0",
8282
"lint-staged": "~13.1.0",
8383
"prettier": "~3.3.3",
8484
"rimraf": "~6.0.1",

packages/data-prefetch/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,12 @@
7979
"@types/fs-extra": "9.0.6",
8080
"@types/jest": "^29.5.11",
8181
"@types/node": "^17.0.45",
82-
"@types/react": "~18.0.38",
82+
"@types/react": "~19.0.0",
8383
"jest": "^29.7.0",
8484
"jest-environment-jsdom": "^29.7.0",
8585
"minimist": "^1.2.8",
86-
"react": "18.3.1",
87-
"react-dom": "18.3.1",
86+
"react": "19.0.0",
87+
"react-dom": "19.0.0",
8888
"react-router": "^6.21.3",
8989
"react-test-renderer": "^18.2.0",
9090
"ts-jest": "29.0.1",

packages/utilities/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"directory": "packages/utilities"
1919
},
2020
"devDependencies": {
21-
"react": "18.3.1"
21+
"react": "19.0.0"
2222
},
2323
"dependencies": {
2424
"@module-federation/sdk": "workspace:*"

0 commit comments

Comments
 (0)