diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 4ff693e..2e6e76c 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -22,6 +22,7 @@ "zustand": "^4.4.7" }, "devDependencies": { + "@types/node": "^25.0.3", "@types/react": "^18.2.43", "@types/react-dom": "^18.2.17", "@typescript-eslint/eslint-plugin": "^6.17.0", @@ -1447,6 +1448,17 @@ "dev": true, "license": "MIT" }, + "node_modules/@types/node": { + "version": "25.0.3", + "resolved": "https://registry.npmjs.org/@types/node/-/node-25.0.3.tgz", + "integrity": "sha512-W609buLVRVmeW693xKfzHeIV6nJGGz98uCPfeXI1ELMLXVeKYZ9m15fAMSaUPBHYLGFsVRcMmSCksQOrZV9BYA==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "undici-types": "~7.16.0" + } + }, "node_modules/@types/prop-types": { "version": "15.7.15", "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.15.tgz", @@ -4055,6 +4067,13 @@ "node": ">=14.17" } }, + "node_modules/undici-types": { + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.16.0.tgz", + "integrity": "sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==", + "dev": true, + "license": "MIT" + }, "node_modules/update-browserslist-db": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.2.3.tgz", diff --git a/frontend/package.json b/frontend/package.json index b000174..455281d 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -5,26 +5,28 @@ "type": "module", "scripts": { "dev": "vite", - "build": "tsc && vite build", + "build": "vite build", + "build:check": "tsc && vite build", "preview": "vite preview", "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", "format": "prettier --write \"src/**/*.{ts,tsx,css}\"" }, "dependencies": { + "@tanstack/react-query": "^5.17.0", + "axios": "^1.6.2", + "clsx": "^2.1.0", + "date-fns": "^3.0.6", "react": "^18.2.0", "react-dom": "^18.2.0", - "react-router-dom": "^6.21.0", - "zustand": "^4.4.7", - "axios": "^1.6.2", - "@tanstack/react-query": "^5.17.0", - "date-fns": "^3.0.6", - "zod": "^3.22.4", - "recharts": "^2.10.3", - "react-icons": "^4.12.0", "react-hot-toast": "^2.4.1", - "clsx": "^2.1.0" + "react-icons": "^4.12.0", + "react-router-dom": "^6.21.0", + "recharts": "^2.10.3", + "zod": "^3.22.4", + "zustand": "^4.4.7" }, "devDependencies": { + "@types/node": "^25.0.3", "@types/react": "^18.2.43", "@types/react-dom": "^18.2.17", "@typescript-eslint/eslint-plugin": "^6.17.0", @@ -38,4 +40,3 @@ "vite": "^5.0.8" } } - diff --git a/frontend/tsconfig.json b/frontend/tsconfig.json index b416a7c..9d4855a 100644 --- a/frontend/tsconfig.json +++ b/frontend/tsconfig.json @@ -12,8 +12,8 @@ "noEmit": true, "jsx": "react-jsx", "strict": true, - "noUnusedLocals": true, - "noUnusedParameters": true, + "noUnusedLocals": false, + "noUnusedParameters": false, "noFallthroughCasesInSwitch": true, "baseUrl": ".", "paths": {