Commit bf78298
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
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
| 29 | + | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
0 commit comments