From 97c9265754b78af12ad1e399cc75028435028dfa Mon Sep 17 00:00:00 2001 From: Brian Kimball Date: Wed, 11 Dec 2024 04:02:41 -0500 Subject: [PATCH] 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 --- .changeset/tame-countries-beg.md | 5 +++++ packages/integrations/react/package.json | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 .changeset/tame-countries-beg.md diff --git a/.changeset/tame-countries-beg.md b/.changeset/tame-countries-beg.md new file mode 100644 index 0000000000..2ef8915500 --- /dev/null +++ b/.changeset/tame-countries-beg.md @@ -0,0 +1,5 @@ +--- +'@astrojs/react': minor +--- + +Add React 19 stable to peer dependencies diff --git a/packages/integrations/react/package.json b/packages/integrations/react/package.json index b7302a804c..cd7d17632c 100644 --- a/packages/integrations/react/package.json +++ b/packages/integrations/react/package.json @@ -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"