Skip to content

chore: update peerDependencies to support React 19#6

Open
ManiShah7 wants to merge 1 commit into
silverhand-io:masterfrom
ManiShah7:chore/peer-deps-react-19
Open

chore: update peerDependencies to support React 19#6
ManiShah7 wants to merge 1 commit into
silverhand-io:masterfrom
ManiShah7:chore/peer-deps-react-19

Conversation

@ManiShah7
Copy link
Copy Markdown

This PR updates the package’s peerDependencies to allow React 19.

Changes

  • Updated peerDependencies.react to ^18.0.0 || ^19.0.0
  • Updated pnpm.peerDependencyRules.allowedVersions.react accordingly

Why

Currently, the package blocks consumers from upgrading to React 19 because of the strict peer dependency range. This change ensures compatibility with React 18 and 19 without affecting existing users.

Notes

  • DevDependencies (e.g. @types/react) were not updated in this PR, since they do not affect consumers.
  • If desired, I can follow up with a separate PR to bump devDependencies and adjust tests to run against React 19 as well.

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