Skip to content

Commit

Permalink
Fix for @types/react using new versions (#5192)
Browse files Browse the repository at this point in the history
* upgrade @types/react

* remove @types/react resolution

* keep resolution in ./package.json
  • Loading branch information
thedavidprice authored Apr 15, 2022
1 parent 0c6433f commit 14807d4
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 23 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"test:release-script": "NODE_OPTIONS=--experimental-vm-modules ./node_modules/.bin/jest --config ./tasks/release/jest.config.mjs"
},
"resolutions": {
"@types/react": "17.0.40",
"@types/react": "17.0.44",
"prop-types": "15.8.1",
"react": "17.0.2",
"react-dom": "17.0.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"@nhost/nhost-js": "1.0.11",
"@supabase/supabase-js": "1.33.3",
"@types/netlify-identity-widget": "1.9.3",
"@types/react": "17.0.40",
"@types/react": "17.0.44",
"firebase": "9.6.11",
"firebase-admin": "10.0.2",
"gotrue-js": "0.9.29",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"prepublishOnly": "NODE_ENV=production yarn build"
},
"resolutions": {
"@types/react": "17.0.40"
"@types/react": "17.0.44"
},
"dependencies": {
"@babel/cli": "7.16.7",
Expand Down
5 changes: 1 addition & 4 deletions packages/forms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@
"test": "jest src",
"test:watch": "yarn test --watch"
},
"resolutions": {
"@types/react": "17.0.40"
},
"dependencies": {
"@babel/runtime-corejs3": "7.16.7",
"pascalcase": "1.0.0",
Expand All @@ -36,7 +33,7 @@
"@testing-library/react": "12.1.5",
"@testing-library/user-event": "14.1.0",
"@types/pascalcase": "1.0.1",
"@types/react": "17.0.40",
"@types/react": "17.0.44",
"@types/react-dom": "17.0.15",
"@types/testing-library__jest-dom": "5.14.3",
"jest": "27.5.1",
Expand Down
5 changes: 1 addition & 4 deletions packages/testing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@
"test": "jest src",
"test:watch": "yarn test --watch"
},
"resolutions": {
"@types/react": "17.0.40"
},
"dependencies": {
"@redwoodjs/auth": "1.0.1",
"@redwoodjs/graphql-server": "1.0.1",
Expand All @@ -46,7 +43,7 @@
"@types/babel-core": "6.25.7",
"@types/jest": "27.4.1",
"@types/node": "16.11.27",
"@types/react": "17.0.40",
"@types/react": "17.0.44",
"@types/react-dom": "17.0.15",
"@types/webpack": "5.28.0",
"babel-jest": "27.5.1",
Expand Down
5 changes: 1 addition & 4 deletions packages/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@
"test": "jest src",
"test:watch": "yarn test --watch"
},
"resolutions": {
"@types/react": "17.0.40"
},
"dependencies": {
"@apollo/client": "3.5.10",
"@babel/runtime-corejs3": "7.16.7",
Expand All @@ -54,7 +51,7 @@
"@babel/core": "7.16.7",
"@testing-library/jest-dom": "5.16.4",
"@testing-library/react": "12.1.5",
"@types/react": "17.0.40",
"@types/react": "17.0.44",
"@types/react-dom": "17.0.15",
"@types/testing-library__jest-dom": "5.14.3",
"jest": "27.5.1",
Expand Down
16 changes: 8 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5918,7 +5918,7 @@ __metadata:
"@nhost/nhost-js": 1.0.11
"@supabase/supabase-js": 1.33.3
"@types/netlify-identity-widget": 1.9.3
"@types/react": 17.0.40
"@types/react": 17.0.44
firebase: 9.6.11
firebase-admin: 10.0.2
gotrue-js: 0.9.29
Expand Down Expand Up @@ -6125,7 +6125,7 @@ __metadata:
"@testing-library/react": 12.1.5
"@testing-library/user-event": 14.1.0
"@types/pascalcase": 1.0.1
"@types/react": 17.0.40
"@types/react": 17.0.44
"@types/react-dom": 17.0.15
"@types/testing-library__jest-dom": 5.14.3
jest: 27.5.1
Expand Down Expand Up @@ -6369,7 +6369,7 @@ __metadata:
"@types/babel-core": 6.25.7
"@types/jest": 27.4.1
"@types/node": 16.11.27
"@types/react": 17.0.40
"@types/react": 17.0.44
"@types/react-dom": 17.0.15
"@types/webpack": 5.28.0
babel-jest: 27.5.1
Expand All @@ -6394,7 +6394,7 @@ __metadata:
"@redwoodjs/auth": 1.0.1
"@testing-library/jest-dom": 5.16.4
"@testing-library/react": 12.1.5
"@types/react": 17.0.40
"@types/react": 17.0.44
"@types/react-dom": 17.0.15
"@types/testing-library__jest-dom": 5.14.3
graphql: 16.3.0
Expand Down Expand Up @@ -8770,14 +8770,14 @@ __metadata:
languageName: node
linkType: hard

"@types/react@npm:17.0.40":
version: 17.0.40
resolution: "@types/react@npm:17.0.40"
"@types/react@npm:17.0.44":
version: 17.0.44
resolution: "@types/react@npm:17.0.44"
dependencies:
"@types/prop-types": "*"
"@types/scheduler": "*"
csstype: ^3.0.2
checksum: 8b32469271f4a7cf22e5cf615a60b8f04d9f9bcf54655a7a075d599204a36bcc28fff18ccfff8c2f498f6a80488c7d5b334ebd297d9d0d3483c2911b390a8464
checksum: d83d6999582a17620ac208be392a1713f3d16acd6a0f0e4d5f661e43e35297eb05c89d67ea90e04fc1f1ebf92e7b6cc4353253bbee35ae1695aedf944b9af8dc
languageName: node
linkType: hard

Expand Down

0 comments on commit 14807d4

Please sign in to comment.