From ddd3d713e576d2ad80540d58ae0e9dc9fc0a5f76 Mon Sep 17 00:00:00 2001 From: Nick Perez Date: Wed, 6 Nov 2024 12:48:37 +0100 Subject: [PATCH] fix(react): allow react 19 (#5807) --- .changeset/polite-buttons-wash.md | 5 +++++ package-lock.json | 4 ++-- packages/react/package.json | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 .changeset/polite-buttons-wash.md diff --git a/.changeset/polite-buttons-wash.md b/.changeset/polite-buttons-wash.md new file mode 100644 index 000000000..69aa677ea --- /dev/null +++ b/.changeset/polite-buttons-wash.md @@ -0,0 +1,5 @@ +--- +"@tiptap/react": patch +--- + +React 19 is now allowed as a peer dep, we did not have to make any changes for React 19 diff --git a/package-lock.json b/package-lock.json index 082a62505..f210c38cb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19762,8 +19762,8 @@ "peerDependencies": { "@tiptap/core": "^2.7.0", "@tiptap/pm": "^2.7.0", - "react": "^17.0.0 || ^18.0.0", - "react-dom": "^17.0.0 || ^18.0.0" + "react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0" } }, "packages/starter-kit": { diff --git a/packages/react/package.json b/packages/react/package.json index 350739d70..38647da7e 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -46,8 +46,8 @@ "peerDependencies": { "@tiptap/core": "^2.7.0", "@tiptap/pm": "^2.7.0", - "react": "^17.0.0 || ^18.0.0", - "react-dom": "^17.0.0 || ^18.0.0" + "react": "^17.0.0 || ^18.0.0 || ^19.0.0", + "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0" }, "repository": { "type": "git",