Skip to content

Commit

Permalink
feat(react): adding support for react 19 (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
joaopalopes24 authored Dec 17, 2024
1 parent 5aaf9cc commit f29a51d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/react-inertia/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@
},
"peerDependencies": {
"@inertiajs/react": "^1.0.0 || ^2.0.0",
"react": "^18.0.0"
"react": "^18.0.0 || ^19.0.0"
},
"dependencies": {
"laravel-precognition": "0.5.14",
"laravel-precognition-react": "0.5.14"
},
"devDependencies": {
"@types/react-dom": "^18.2.4",
"@types/react-dom": "^18.2.4 || ^19.0.0",
"typescript": "^5.0.0"
}
}
4 changes: 2 additions & 2 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@
"version": "npm pkg set dependencies.laravel-precognition=$npm_package_version"
},
"peerDependencies": {
"react": "^18.0.0"
"react": "^18.0.0 || ^19.0.0"
},
"dependencies": {
"laravel-precognition": "0.5.14",
"lodash-es": "^4.17.21"
},
"devDependencies": {
"@types/lodash-es": "^4.17.12",
"@types/react": "^18.2.6",
"@types/react": "^18.2.6 || ^19.0.0",
"typescript": "^5.0.0"
}
}

0 comments on commit f29a51d

Please sign in to comment.