⬇️(frontend) downgrade to react 18

We still have conflict with React 19, better to
downgrade to react 18 for the moment.
We add the react 18 libs to renovate.json
to prevent future upgrade with Renovate.
An issue will be open to upgrade to React 19
manually.
This commit is contained in:
Anthony LC
2025-01-29 15:35:12 +01:00
committed by Anthony LC
parent addc6a331f
commit 83dfd26d1c
4 changed files with 668 additions and 1703 deletions

View File

@@ -14,10 +14,14 @@
"groupName": "ignored js dependencies", "groupName": "ignored js dependencies",
"matchManagers": ["npm"], "matchManagers": ["npm"],
"matchPackageNames": [ "matchPackageNames": [
"@types/react",
"@types/react-dom",
"eslint",
"fetch-mock", "fetch-mock",
"node", "node",
"node-fetch", "node-fetch",
"eslint", "react",
"react-dom",
"workbox-webpack-plugin" "workbox-webpack-plugin"
] ]
} }

View File

@@ -59,7 +59,7 @@
"@types/lodash": "4.17.15", "@types/lodash": "4.17.15",
"@types/luxon": "3.4.2", "@types/luxon": "3.4.2",
"@types/node": "*", "@types/node": "*",
"@types/react": "19.0.8", "@types/react": "18.3.12",
"@types/react-dom": "*", "@types/react-dom": "*",
"cross-env": "7.0.3", "cross-env": "7.0.3",
"dotenv": "16.4.7", "dotenv": "16.4.7",

View File

@@ -29,12 +29,12 @@
}, },
"resolutions": { "resolutions": {
"@types/node": "22.12.0", "@types/node": "22.12.0",
"@types/react-dom": "19.0.3", "@types/react-dom": "18.3.1",
"@typescript-eslint/eslint-plugin": "8.22.0", "@typescript-eslint/eslint-plugin": "8.22.0",
"@typescript-eslint/parser": "8.22.0", "@typescript-eslint/parser": "8.22.0",
"eslint": "8.57.0", "eslint": "8.57.0",
"react": "19.0.0", "react": "18.3.1",
"react-dom": "19.0.0", "react-dom": "18.3.1",
"typescript": "5.7.3" "typescript": "5.7.3"
} }
} }

File diff suppressed because it is too large Load Diff