Skip to content

fix: align @fortawesome/* and react/react-dom so the deploy build compiles#364

Merged
JohnMcLear merged 1 commit intomasterfrom
fix/build-fontawesome-react-versions
Apr 17, 2026
Merged

fix: align @fortawesome/* and react/react-dom so the deploy build compiles#364
JohnMcLear merged 1 commit intomasterfrom
fix/build-fontawesome-react-versions

Conversation

@JohnMcLear
Copy link
Copy Markdown
Member

The Deploy workflow has been failing on every push since the last dependency updates. Two transitive version conflicts to sort:

  1. @fortawesome/free-brands-svg-icons was pinned at ^7.2.0 while the other FA packages were ^7.0.0. pnpm ended up resolving two copies of @fortawesome/fontawesome-common-types (7.0.0 and 7.2.0), and the TypeScript build failed with Type '"fagt"' is not assignable to type 'IconPrefix'.
  2. react was ^19.2.4 and react-dom was ^19.2.0. pnpm picked different minors (19.2.4 / 19.2.0) and Next aborted with "Incompatible React versions".

Bump all four @fortawesome/* packages to ^7.2.0 and both react / react-dom to ^19.2.5. pnpm run build completes locally with the new lockfile.

…ompiles

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>
@JohnMcLear JohnMcLear merged commit bf78298 into master Apr 17, 2026
@JohnMcLear JohnMcLear deleted the fix/build-fontawesome-react-versions branch April 17, 2026 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant