Upgrade to react 18

This commit is contained in:
Przemek Więch
2025-01-14 00:24:40 +01:00
parent 8f5a7cd8e8
commit f0bb5c1273
8 changed files with 365 additions and 254 deletions

View File

@@ -25,11 +25,11 @@
"original-fs": "^1.2.0",
"parse-gedcom": "^1.0.5",
"query-string": "^9.1.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-intl": "^5.15.5",
"react-linkify": "^0.2.2",
"react-router-dom": "^5.2.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-intl": "^6.8.9",
"react-linkify": "^1.0.0-alpha",
"react-router-dom": "^5.3.4",
"rehype-stringify": "^10.0.1",
"remark-parse": "^11.0.0",
"remark-rehype": "^11.1.1",
@@ -41,6 +41,9 @@
"wikitree-js": "^0.4.0"
},
"devDependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@formatjs/fast-memoize": "^2.2.6",
"@formatjs/intl": "^2.10.15",
"@types/adm-zip": "^0.5.0",
"@types/array.prototype.flatmap": "^1.2.2",
"@types/d3-array": "^2.9.0",
@@ -55,9 +58,9 @@
"@types/js-cookie": "^3.0.6",
"@types/lunr": "^2.3.3",
"@types/md5": "^2.3.0",
"@types/react": "^17.0.3",
"@types/react-dom": "^17.0.3",
"@types/react-router-dom": "^5.1.7",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.0",
"@types/react-router-dom": "^5.3.3",
"@typescript-eslint/eslint-plugin": "^4.19.0",
"@typescript-eslint/parser": "^4.19.0",
"cypress": "^13.17.0",
@@ -67,10 +70,10 @@
"run-script-os": "^1.1.6",
"start-server-and-test": "^2.0.9",
"tslint-config-prettier": "^1.18.0",
"typescript": "^4.5.5"
"typescript": "^4.9.5"
},
"scripts": {
"start": "run-script-os",
"start": "GENERATE_SOURCEMAP=false run-script-os",
"start:default": "REACT_APP_CHANGELOG=`cat CHANGELOG.md` REACT_APP_GIT_SHA=`git rev-parse --short HEAD` REACT_APP_GIT_TIME=`git log -1 --format=%ci` react-scripts start",
"start:windows": "react-scripts start",
"build": "run-script-os",