Skip to content

Commit cdcb106

Browse files
author
John Tore Simonsen
committed
revert back to react 17 dependencies
1 parent 729f66a commit cdcb106

File tree

2 files changed

+5702
-5682
lines changed

2 files changed

+5702
-5682
lines changed

package.json

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
"analyse:unused_exports": "ts-prune | grep -v \"(used in module)\""
3131
},
3232
"resolutions": {
33-
"@types/react-dom": "18.3.1",
34-
"@types/react": "18.3.3"
33+
"@types/react-dom": "17.0.25",
34+
"@types/react": "17.0.80"
3535
},
3636
"devDependencies": {
3737
"@action-validator/cli": "^0.5.3",
@@ -48,7 +48,7 @@
4848
"@testing-library/jest-dom": "^5.16.5",
4949
"@testing-library/react": "^12.1.5",
5050
"@types/jest": "^29.5.13",
51-
"@types/react": "18.3.3",
51+
"@types/react": "^17",
5252
"@types/react-dom": "^17.0.19",
5353
"@typescript-eslint/eslint-plugin": "^5.18.0",
5454
"@typescript-eslint/parser": "^5.18.0",
@@ -62,8 +62,8 @@
6262
"matrix-web-i18n": "^3.1.1",
6363
"node-fetch": "2",
6464
"prettier": "2.8.8",
65-
"react": "18.3.1",
66-
"react-dom": "18.3.1",
65+
"react": "17.0.2",
66+
"react-dom": "^17.0.2",
6767
"rimraf": "^3.0.2",
6868
"ts-jest": "^27.1.4",
6969
"ts-prune": "^0.10.3",
@@ -72,5 +72,8 @@
7272
"dependencies": {
7373
"@babel/runtime": "^7.17.9",
7474
"matrix-events-sdk": "0.0.1"
75+
},
76+
"peerDependencies": {
77+
"react": "^17.0.2"
7578
}
7679
}

0 commit comments

Comments
 (0)