examples: Downgrade React to avoid peer dep conflict with mui

Material UI 4 is not compatible with React 18 and it looks like
some peer dep were recently changed, creating conflict issues
in CI.
This commit is contained in:
Franck Royer 2022-06-17 15:42:38 +10:00
parent 6f5e1fa2aa
commit 612027a375
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
4 changed files with 252 additions and 838 deletions

File diff suppressed because it is too large Load Diff

View File

@ -6,19 +6,13 @@
"dependencies": {
"@material-ui/core": "^4.12.3",
"@material-ui/icons": "^4.11.2",
"@testing-library/jest-dom": "^5.16.2",
"@testing-library/react": "^13.2.0",
"@testing-library/user-event": "^14.1.0",
"@types/jest": "^27.4.0",
"@types/react": "^18.0.8",
"@types/react-dom": "^18.0.3",
"eth-sig-util": "^3.0.1",
"ethers": "^5.5.4",
"fontsource-roboto": "^4.0.0",
"js-waku": "^0.24.0",
"protobufjs": "^6.11.2",
"react": "^18.1.0",
"react-dom": "^18.1.0"
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"scripts": {
"start": "cra-webpack-rewired start",
@ -55,7 +49,10 @@
},
"devDependencies": {
"@ethersproject/shims": "^5.5.0",
"@types/node": "^17.0.17",
"@types/jest": "^27.4.0",
"@types/node": "^17.0.19",
"@types/react": "^17.0.39",
"@types/react-dom": "^17.0.11",
"assert": "^2.0.0",
"buffer": "^6.0.3",
"cra-webpack-rewired": "^1.0.1",

File diff suppressed because it is too large Load Diff

View File

@ -6,19 +6,13 @@
"dependencies": {
"@material-ui/core": "^4.12.3",
"@material-ui/icons": "^4.11.2",
"@testing-library/jest-dom": "^5.16.2",
"@testing-library/react": "^13.2.0",
"@testing-library/user-event": "^14.0.4",
"@types/jest": "^27.4.0",
"@types/react": "^18.0.8",
"@types/react-dom": "^18.0.3",
"eth-sig-util": "^3.0.1",
"ethers": "^5.5.4",
"fontsource-roboto": "^4.0.0",
"js-waku": "^0.24.0",
"protobufjs": "^6.11.2",
"react": "^18.1.0",
"react-dom": "^18.1.0"
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"scripts": {
"start": "cra-webpack-rewired start",
@ -55,7 +49,10 @@
},
"devDependencies": {
"@ethersproject/shims": "^5.5.0",
"@types/jest": "^27.4.0",
"@types/node": "^17.0.19",
"@types/react": "^17.0.39",
"@types/react-dom": "^17.0.11",
"assert": "^2.0.0",
"buffer": "^6.0.3",
"cra-webpack-rewired": "^1.0.1",