Skip to content

Commit

Permalink
Add react to peerDependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrause committed Nov 20, 2024
1 parent 8e9f888 commit 6b79443
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
4 changes: 4 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,5 +107,9 @@
"overrides": {
"@types/react": "npm:types-react@rc",
"@types/react-dom": "npm:types-react-dom@rc"
},
"peerDependencies": {
"react": ">= 19.0.0-rc.1",
"react-dom": ">= 19.0.0-rc.1"
}
}
6 changes: 5 additions & 1 deletion package.json.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,11 @@ const packageConfig = {
// See https://react.dev/blog/2024/04/25/react-19-upgrade-guide#installing
'@types/react': 'npm:types-react@rc',
'@types/react-dom': 'npm:types-react-dom@rc',
}
},
peerDependencies: {
'react': '>= 19.0.0-rc.1',
'react-dom': '>= 19.0.0-rc.1',
},
};

const packageConfigWithComment = {
Expand Down

0 comments on commit 6b79443

Please sign in to comment.