Browse Source

Upgrade to react 18

Kirk Trombley 3 years ago
parent
commit
2445693713
2 changed files with 365 additions and 365 deletions
  1. 7 10
      client/package.json
  2. 358 355
      client/yarn.lock

+ 7 - 10
client/package.json

@@ -4,15 +4,15 @@
   "private": true,
   "homepage": "https://hiram.services/terrassumptions/",
   "dependencies": {
-    "@craco/craco": "^6.1.1",
+    "@craco/craco": "^6.4.3",
     "dequal": "^1.0.0",
     "fuse.js": "^6.4.6",
     "iso-3166-1": "^2.0.1",
     "pretty-ms": "^5.1.0",
-    "react": "17.0.2",
+    "react": "^18.0.0",
     "react-dom": "17.0.2",
-    "react-scripts": "4.0.3",
-    "react-transition-group": "^4.4.1"
+    "react-scripts": "^5.0.0",
+    "react-transition-group": "^4.4.2"
   },
   "scripts": {
     "start": "react-scripts start",
@@ -53,15 +53,12 @@
     ]
   },
   "devDependencies": {
-    "@wojtekmaj/enzyme-adapter-react-17": "^0.6.1",
-    "enzyme": "^3.11.0",
+    "@testing-library/react": "^13.0.0",
     "eslint-config-airbnb": "^18.2.1",
     "eslint-config-prettier": "^8.2.0",
     "eslint-plugin-jsx-a11y": "^6.4.1",
     "eslint-plugin-prettier": "^3.4.0",
-    "jest-enzyme": "^7.1.2",
-    "prettier": "^2.2.1",
-    "react-test-renderer": "^16.13.1",
-    "wait-for-expect": "^3.0.2"
+    "jest": "^27.5.1",
+    "prettier": "^2.2.1"
   }
 }

File diff suppressed because it is too large
+ 358 - 355
client/yarn.lock


Some files were not shown because too many files changed in this diff