Skip to content

chore: centralize @types/react-dom version with pnpm catalog#682

Open
Shinyaigeek wants to merge 1 commit into
thesysdev:mainfrom
Shinyaigeek:chore/catalog-types-react-dom
Open

chore: centralize @types/react-dom version with pnpm catalog#682
Shinyaigeek wants to merge 1 commit into
thesysdev:mainfrom
Shinyaigeek:chore/catalog-types-react-dom

Conversation

@Shinyaigeek

Copy link
Copy Markdown
Contributor

What

Centralize the @types/react-dom version through the shared pnpm catalog, completing the React types set that is already centralized (@types/react, react, react-dom).

  • Add @types/react-dom: ">=19.0.0" to the catalog: in pnpm-workspace.yaml (same range as the existing @types/react entry).
  • Reference it from packages/react-ui via the catalog: protocol instead of the inline >=19.0.0.

Why

@types/react, react, and react-dom are already in the catalog, but @types/react-dom was the odd one out, pinned inline in react-ui. This fills that gap so the React typing versions stay aligned in one place.

Scope

Following the established convention in this repo, only packages/* use the catalog: protocol; examples/*, docs, and src/templates/* intentionally keep their literal ranges. react-ui is the only packages/* consumer of @types/react-dom.

Notes

  • Resolved version is unchanged (19.2.3) — this is a pure centralization with no behavioral impact.
  • pnpm install succeeds and pnpm --filter @openuidev/react-ui typecheck passes.

🤖 Generated with Claude Code

Add @types/react-dom to the shared pnpm catalog (>=19.0.0, matching
@types/react) and reference it from react-ui via the catalog: protocol.
This completes the React types set already centralized
(@types/react, react, react-dom). Resolved version is unchanged (19.2.3).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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