Skip to content

Commit 549d7e9

Browse files
fix: use pnpm overrides for React 19 instead of individual package edits
- Add React 19.0.0 and React DOM 19.0.0 to pnpm overrides in root package.json - Revert individual package.json React version changes - This ensures all packages use React 19.0.0 consistently via global override - Cleaner approach than editing each package individually 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent f372da0 commit 549d7e9

File tree

6 files changed

+1209
-3937
lines changed

6 files changed

+1209
-3937
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,9 @@
7171
}
7272
},
7373
"overrides": {
74-
"@changesets/assemble-release-plan": "workspace:*"
74+
"@changesets/assemble-release-plan": "workspace:*",
75+
"react": "19.0.0",
76+
"react-dom": "19.0.0"
7577
}
7678
},
7779
"dependencies": {

packages/bridge/bridge-react/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@
7676
"@vitejs/plugin-vue": "^5.0.4",
7777
"@vitejs/plugin-vue-jsx": "^4.0.0",
7878
"jsdom": "^24.1.0",
79-
"react": "19.0.0",
80-
"react-dom": "19.0.0",
79+
"react": "18.3.1",
80+
"react-dom": "18.3.1",
8181
"react-router-dom": "6.22.3",
8282
"typescript": "^5.2.2",
8383
"vite": "^5.4.18",

packages/chrome-devtools/package.json

Lines changed: 2 additions & 2 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": "~19.0.0",
63-
"react-dom": "~19.0.0",
62+
"react": "~18.3.1",
63+
"react-dom": "~18.3.1",
6464
"reactflow": "11.11.4"
6565
},
6666
"devDependencies": {

packages/data-prefetch/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@
8383
"jest": "^29.7.0",
8484
"jest-environment-jsdom": "^29.7.0",
8585
"minimist": "^1.2.8",
86-
"react": "^19.0.0",
87-
"react-dom": "^19.0.0",
86+
"react": "18.3.1",
87+
"react-dom": "18.3.1",
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": "19.0.0"
21+
"react": "18.3.1"
2222
},
2323
"dependencies": {
2424
"@module-federation/sdk": "workspace:*"

0 commit comments

Comments
 (0)