Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop @types/react-dom and lower @types/react to min needed #2105

Merged
merged 1 commit into from
Dec 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 2 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,26 +48,14 @@
"coverage": "codecov"
},
"peerDependencies": {
"@types/react": "^18.2.41",
"@types/react-dom": "^18.2.17",
"@types/react": "^18.2.25",
"react": "^18.0",
"react-dom": "^18.0",
"react-native": ">=0.71",
"redux": "^5.0.0"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
},
"@types/react-dom": {
"optional": true
},
"react-dom": {
"optional": true
},
"react-native": {
"optional": true
},
"redux": {
"optional": true
}
Expand Down Expand Up @@ -95,8 +83,7 @@
"@testing-library/react-12": "npm:@testing-library/react@^12",
"@testing-library/react-hooks": "^3.4.2",
"@testing-library/react-native": "^7.1.0",
"@types/react": "^18.2.41",
"@types/react-dom": "^18.2.17",
"@types/react": "18.2.25",
"@types/react-native": "^0.67.4",
"@typescript-eslint/eslint-plugin": "^4.28.0",
"@typescript-eslint/parser": "^4.28.0",
Expand Down
36 changes: 14 additions & 22 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2808,15 +2808,6 @@ __metadata:
languageName: node
linkType: hard

"@types/react-dom@npm:^18.2.17":
version: 18.2.17
resolution: "@types/react-dom@npm:18.2.17"
dependencies:
"@types/react": "*"
checksum: 7a4e704ed4be6e0c3ccd8a22ff69386fe548304bf4db090513f42e059ff4c65f7a427790320051524d6578a2e4c9667bb7a80a4c989b72361c019fbe851d9385
languageName: node
linkType: hard

"@types/react-native@npm:^0.67.4":
version: 0.67.4
resolution: "@types/react-native@npm:0.67.4"
Expand All @@ -2835,7 +2826,7 @@ __metadata:
languageName: node
linkType: hard

"@types/react@npm:*, @types/react@npm:^18.2.41":
"@types/react@npm:*":
version: 18.2.41
resolution: "@types/react@npm:18.2.41"
dependencies:
Expand All @@ -2846,6 +2837,17 @@ __metadata:
languageName: node
linkType: hard

"@types/react@npm:18.2.25":
version: 18.2.25
resolution: "@types/react@npm:18.2.25"
dependencies:
"@types/prop-types": "*"
"@types/scheduler": "*"
csstype: ^3.0.2
checksum: 177515cd44135d56191ec6c5c10edd490c96c175d37624d9c37bc2007c3abcf6cc2d2137d2a073d692cdc5129d5d5785bd60a6ddd315f695da5d8b989fa2afc5
languageName: node
linkType: hard

"@types/scheduler@npm:*":
version: 0.16.2
resolution: "@types/scheduler@npm:0.16.2"
Expand Down Expand Up @@ -9381,8 +9383,7 @@ __metadata:
"@testing-library/react-12": "npm:@testing-library/react@^12"
"@testing-library/react-hooks": ^3.4.2
"@testing-library/react-native": ^7.1.0
"@types/react": ^18.2.41
"@types/react-dom": ^18.2.17
"@types/react": 18.2.25
"@types/react-native": ^0.67.4
"@types/use-sync-external-store": ^0.0.3
"@typescript-eslint/eslint-plugin": ^4.28.0
Expand Down Expand Up @@ -9412,21 +9413,12 @@ __metadata:
typescript: ^5.0
use-sync-external-store: ^1.0.0
peerDependencies:
"@types/react": ^18.2.41
"@types/react-dom": ^18.2.17
"@types/react": ^18.2.25
react: ^18.0
react-dom: ^18.0
react-native: ">=0.71"
redux: ^5.0.0
peerDependenciesMeta:
"@types/react":
optional: true
"@types/react-dom":
optional: true
react-dom:
optional: true
react-native:
optional: true
redux:
optional: true
languageName: unknown
Expand Down
Loading