Upgrade frontend to Node 26, React 19, Vite 8, Apollo Client 4 and ESLint 10

This commit is contained in:
ponas committed 2026-10-23 02:19:33 +02:00
1 parent 0a65bb2c90
commit 336f6afa5d
44 files changed
+2940 -4597

No files matched your search

+30 -22
View File
@@ -3,8 +3,8 @@
"version": "1.0.0",
"private": true,
"scripts": {
"build": "tsc && vite build",
"check-types": "tsc",
"build": "tsc -b && vite build",
"check-types": "tsc -b",
"dev": "vite",
"format:js": "eslint --fix src",
"format:styles": "prettier --write \"src/**/*.css\"",
@@ -16,45 +16,53 @@
"test": "node --test"
},
"dependencies": {
"@apollo/client": "^3.14.1",
"@apollo/client": "^4.2.0",
"@nivo/bar": "^0.99.0",
"@nivo/line": "^0.99.0",
"@nivo/pie": "^0.99.0",
"clsx": "^1.1.1",
"date-fns": "^2.28.0",
"graphql": "^16.3.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-hook-form": "^7.30.0",
"clsx": "^2.1.1",
"date-fns": "^4.3.0",
"graphql": "^16.14.0",
"react": "^19.2.6",
"react-dom": "^19.2.6",
"react-hook-form": "^7.76.1",
"react-router-dom": "^7.18.4",
"use-url-search-params": "^2.5.1"
},
"devDependencies": {
"@babel/core": "^7.29.7",
"@eslint/js": "^10.0.1",
"@graphql-codegen/core": "^6.2.2",
"@graphql-codegen/typescript": "^6.1.2",
"@graphql-codegen/typed-document-node": "^7.2.0",
"@graphql-codegen/typescript": "^6.1.2",
"@graphql-codegen/typescript-operations": "^6.1.10",
"@graphql-typed-document-node/core": "^3.1.1",
"@types/react": "^18.3.28",
"@types/react-dom": "^18.3.7",
"@typescript-eslint/eslint-plugin": "^8.72.0",
"@typescript-eslint/parser": "^8.72.0",
"eslint": "^8.57.1",
"@rolldown/plugin-babel": "^0.2.3",
"@types/babel__core": "^7.20.5",
"@types/node": "^26.6.5",
"@types/react": "^19.2.15",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^6.0.2",
"babel-plugin-react-compiler": "^1.0.0",
"eslint": "^10.4.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-import-x": "^4.16.2",
"eslint-plugin-prettier": "^5.5.7",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.4.0",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-react-refresh": "^0.5.2",
"globals": "^17.6.0",
"prettier": "^3.6.2",
"typescript": "^5.9.3",
"vite": "^6.4.5",
"typescript": "~6.0.3",
"typescript-eslint": "^8.60.0",
"vite": "^8.0.14",
"vite-plugin-svgr": "^5.2.0",
"yaml": "^2.8.1"
},
"engines": {
"node": "20"
"node": "26"
},
"overrides": {
"@whatwg-node/promise-helpers": "^1.3.2"
}
},
"type": "module"
}