From b223af877ca29c41c2037d4ea8ead3390c059ba9 Mon Sep 17 00:00:00 2001
From: Arie Peterson <arie@greenhost.nl>
Date: Thu, 4 Jan 2024 11:18:48 +0100
Subject: [PATCH] Upgrade react and other npm packages

---
 frontend/.eslintrc.js |  1 +
 frontend/package.json | 30 +++++++++++++++---------------
 2 files changed, 16 insertions(+), 15 deletions(-)

diff --git a/frontend/.eslintrc.js b/frontend/.eslintrc.js
index 2685d801..5c0280be 100644
--- a/frontend/.eslintrc.js
+++ b/frontend/.eslintrc.js
@@ -25,6 +25,7 @@ module.exports = {
     project: './tsconfig.json',
     tsconfigRootDir: __dirname,
   },
+  root: true,
   rules: {
     '@typescript-eslint/explicit-function-return-type': 'off',
     '@typescript-eslint/explicit-module-boundary-types': 'off',
diff --git a/frontend/package.json b/frontend/package.json
index 7ed80baa..020ff3a2 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -3,7 +3,7 @@
   "version": "0.1.1",
   "private": true,
   "dependencies": {
-    "@craco/craco": "^6.2.0",
+    "@craco/craco": "^7.1.0",
     "@headlessui/react": "^1.3.0",
     "@headlessui/tailwindcss": "^0.1.3",
     "@heroicons/react": "^1.0.3",
@@ -16,7 +16,7 @@
     "@testing-library/react": "^11.1.0",
     "@testing-library/user-event": "^12.1.10",
     "@types/jest": "^26.0.15",
-    "@types/js-yaml": "^4.0.5",
+    "@types/js-yaml": "^4.0.9",
     "@types/md5": "^2.3.5",
     "@types/node": "^18.0.0",
     "@types/react-dom": "^17.0.2",
@@ -31,6 +31,7 @@
     "prismjs": "^1.24.1",
     "react": "17.0.2",
     "react-dom": "^17.0.2",
+    "react-gauge-component": "^1.1.30",
     "react-gravatar": "^2.6.3",
     "react-helmet": "^6.1.0",
     "react-hook-form": "^7.22.0",
@@ -39,7 +40,7 @@
     "react-redux": "^7.2.4",
     "react-router": "6.2.1",
     "react-router-dom": "6.2.1",
-    "react-scripts": "4.0.3",
+    "react-scripts": "5.0.1",
     "react-simple-code-editor": "^0.11.0",
     "react-table": "^7.7.0",
     "react-tag-autocomplete": "^6.3.0",
@@ -47,7 +48,6 @@
     "redux-persist": "^6.0.0",
     "redux-thunk": "^2.3.0",
     "remark-gfm": "^3.0.1",
-    "tailwindcss": "npm:@tailwindcss/postcss7-compat@^2.2.17",
     "typescript": "^4.1.2",
     "urlcat": "^2.0.4",
     "web-vitals": "^1.0.1",
@@ -82,18 +82,18 @@
     "@types/react-table": "^7.7.2",
     "autoprefixer": "^9",
     "dotenv": "^10.0.0",
-    "eslint-config-airbnb": "^18.2.1",
-    "eslint-config-airbnb-typescript": "^12.3.1",
-    "eslint-config-prettier": "^8.3.0",
-    "eslint-plugin-cypress": "^2.11.3",
-    "eslint-plugin-import": "^2.23.4",
-    "eslint-plugin-jsx-a11y": "^6.4.1",
-    "eslint-plugin-prettier": "^3.4.0",
-    "eslint-plugin-promise": "^5.1.0",
-    "postcss": "^7",
+    "eslint-config-airbnb": "^19.0.4",
+    "eslint-config-airbnb-typescript": "^17.1.0",
+    "eslint-config-prettier": "^9.1.0",
+    "eslint-config-react-app": "^7.0.1",
+    "eslint-plugin-cypress": "^2.15.1",
+    "eslint-plugin-jsx-a11y": "^6.8.0",
+    "eslint-plugin-prettier": "^5.1.2",
+    "eslint-plugin-promise": "^6.1.1",
     "pre-commit": "^1.2.2",
-    "prettier": "^2.3.2",
-    "sass": "^1.36.0"
+    "prettier": "^3.1.1",
+    "sass": "^1.36.0",
+    "tailwindcss": "^3.4.0"
   },
   "resolutions": {
     "@types/react": "17.0.2",
-- 
GitLab