Skip to content

Commit

Permalink
Move @types/{react, react-dom} to peerDependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolapps committed Dec 9, 2024
1 parent 4eb1709 commit 21fc1c1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
12 changes: 9 additions & 3 deletions package-lock.json

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

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,13 @@
"dist"
],
"dependencies": {
"@types/react-dom": "^18.0.10",
"usehooks-ts": "^2.9.1"
},
"peerDependencies": {
"react": "^18 || ^19",
"react-dom": "^18 || ^19"
"react-dom": "^18 || ^19",
"@types/react": "^18 || ^19",
"@types/react-dom": "^18 || ^19"
},
"devDependencies": {
"@babel/core": "^7.20.5",
Expand All @@ -53,6 +54,7 @@
"@storybook/test": "^8.4.7",
"@types/apple-mapkit-js-browser": "^5.65.3",
"@types/react": "^18.0.25",
"@types/react-dom": "^18.0.10",
"@typescript-eslint/eslint-plugin": "^5.44.0",
"@typescript-eslint/parser": "^5.44.0",
"@vitejs/plugin-react": "^3.0.0",
Expand Down

0 comments on commit 21fc1c1

Please sign in to comment.