Skip to content

Commit

Permalink
Moved react dependencies to peer dependencies. Fixes #43.
Browse files Browse the repository at this point in the history
  • Loading branch information
aboyce committed Aug 6, 2022
1 parent e678b5f commit b85230d
Show file tree
Hide file tree
Showing 2 changed files with 316 additions and 579 deletions.
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"@snyk/protect": "^1.980.0",
"@testing-library/react": "^13.3.0",
"@types/jest": "^28.1.6",
"@types/react": "^17.0.43",
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
"@typescript-eslint/eslint-plugin": "^5.30.7",
"@typescript-eslint/parser": "^5.30.7",
Expand All @@ -55,12 +55,14 @@
"jest": "^28.1.3",
"jest-environment-jsdom": "^28.1.3",
"prettier": "^2.7.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"ts-jest": "^28.0.7",
"typescript": "^4.7.4"
},
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
"peerDependencies": {
"react": ">= 16.8.0 < 19",
"react-dom": ">= 16.8.0 < 19"
},
"snyk": true
}

0 comments on commit b85230d

Please sign in to comment.