fix(react): allow react 19 (#5807)

This commit is contained in:
Nick Perez 2024-11-06 12:48:37 +01:00 committed by GitHub
parent e5228ea6be
commit ddd3d713e5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 9 additions and 4 deletions

View File

@ -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

4
package-lock.json generated
View File

@ -19762,8 +19762,8 @@
"peerDependencies": { "peerDependencies": {
"@tiptap/core": "^2.7.0", "@tiptap/core": "^2.7.0",
"@tiptap/pm": "^2.7.0", "@tiptap/pm": "^2.7.0",
"react": "^17.0.0 || ^18.0.0", "react": "^17.0.0 || ^18.0.0 || ^19.0.0",
"react-dom": "^17.0.0 || ^18.0.0" "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0"
} }
}, },
"packages/starter-kit": { "packages/starter-kit": {

View File

@ -46,8 +46,8 @@
"peerDependencies": { "peerDependencies": {
"@tiptap/core": "^2.7.0", "@tiptap/core": "^2.7.0",
"@tiptap/pm": "^2.7.0", "@tiptap/pm": "^2.7.0",
"react": "^17.0.0 || ^18.0.0", "react": "^17.0.0 || ^18.0.0 || ^19.0.0",
"react-dom": "^17.0.0 || ^18.0.0" "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0"
}, },
"repository": { "repository": {
"type": "git", "type": "git",