Skip to content

Commit bf78298

Browse files
JohnMcLearclaude
andauthored
fix: align @fortawesome/* and react/react-dom versions so the build compiles (#364)
Two transitive version conflicts were breaking the Deploy etherpad docs to GitHub Pages workflow: 1. \`@fortawesome/free-brands-svg-icons\` was pinned to \`^7.2.0\` while the other \`@fortawesome/*\` deps were \`^7.0.0\`. pnpm resolved two copies of \`@fortawesome/fontawesome-common-types\` (7.0.0 and 7.2.0), and the TypeScript build failed with \`Type 'IconDefinition' is not assignable to type 'IconProp'. ... Type '"fagt"' is not assignable to type 'IconPrefix'\`. 2. \`react\` was \`^19.2.4\` and \`react-dom\` was \`^19.2.0\`, so pnpm resolved them to different minors (19.2.4 and 19.2.0) and Next bailed out with "Incompatible React versions: The react and react-dom packages must have the exact same version". Bump all four \`@fortawesome/*\` packages to \`^7.2.0\` and both \`react\` / \`react-dom\` to \`^19.2.5\` so pnpm resolves a single version of each. \`pnpm run build\` now completes locally. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 0632e8d commit bf78298

2 files changed

Lines changed: 307 additions & 285 deletions

File tree

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
"lint": "next lint"
1111
},
1212
"dependencies": {
13-
"@fortawesome/fontawesome-svg-core": "^7.0.0",
13+
"@fortawesome/fontawesome-svg-core": "^7.2.0",
1414
"@fortawesome/free-brands-svg-icons": "^7.2.0",
15-
"@fortawesome/free-solid-svg-icons": "^7.0.0",
15+
"@fortawesome/free-solid-svg-icons": "^7.2.0",
1616
"@fortawesome/react-fontawesome": "^3.1.0",
1717
"@radix-ui/react-checkbox": "^1.3.3",
1818
"@radix-ui/react-dialog": "^1.1.15",
@@ -26,8 +26,8 @@
2626
"lucide-react": "^0.548.0",
2727
"marked": "^17.0.5",
2828
"next": "^15.5.15",
29-
"react": "^19.2.4",
30-
"react-dom": "^19.2.0",
29+
"react": "^19.2.5",
30+
"react-dom": "^19.2.5",
3131
"react-ga": "^3.3.1",
3232
"react-waypoint": "^10.3.0",
3333
"sanitize-html": "^2.17.3",

0 commit comments

Comments
 (0)