Skip to content

Commit

Permalink
feat(package.json): removed wrong react types (#10986)
Browse files Browse the repository at this point in the history
  • Loading branch information
emish89 authored May 9, 2024
1 parent 05db5f7 commit 4d16381
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/unlucky-seas-greet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@astrojs/react": patch
---

Fixes incorrect `peerDependencies` for `@types/react` and `@types/react-dom`
4 changes: 2 additions & 2 deletions packages/integrations/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@
"vite": "^5.2.11"
},
"peerDependencies": {
"@types/react": "^17.0.50 || ^18.0.21 || npm:types-react@beta",
"@types/react-dom": "^17.0.17 || ^18.0.6 || npm:types-react-dom@beta",
"@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"
},
Expand Down

0 comments on commit 4d16381

Please sign in to comment.