0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

Add React 19 stable as peer dependency for React integration (#12678)

* Add React 19 as peer dependency

* Add React 19 as peer dependency

---------

Co-authored-by: bskimball <brian.kimball@bdkonline.com>
This commit is contained in:
Brian Kimball 2024-12-11 04:02:41 -05:00 committed by GitHub
parent 2aaed2d2a9
commit 97c9265754
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 4 deletions

View file

@ -0,0 +1,5 @@
---
'@astrojs/react': minor
---
Add React 19 stable to peer dependencies

View file

@ -63,10 +63,10 @@
"react-dom": "^18.3.1"
},
"peerDependencies": {
"@types/react": "^17.0.50 || ^18.0.21",
"@types/react-dom": "^17.0.17 || ^18.0.6",
"react": "^17.0.2 || ^18.0.0 || ^19.0.0-beta",
"react-dom": "^17.0.2 || ^18.0.0 || ^19.0.0-beta"
"@types/react": "^17.0.50 || ^18.0.21 || ^19.0.0",
"@types/react-dom": "^17.0.17 || ^18.0.6 || ^19.0.0",
"react": "^17.0.2 || ^18.0.0 || ^19.0.0",
"react-dom": "^17.0.2 || ^18.0.0 || ^19.0.0"
},
"engines": {
"node": "^18.17.1 || ^20.3.0 || >=22.0.0"