From f9a32bc2b8e58f8277182011dbec5827a56f4746 Mon Sep 17 00:00:00 2001 From: Dany Khalife Date: Sat, 6 Jun 2026 16:27:02 -0400 Subject: [PATCH] Enable incremental caches for tsc and eslint in frontend Add TypeScript incremental build info and ESLint --cache to speed up repeated type-check and lint runs. Caches are written under node_modules/.cache (already git-ignored). No behavior change. --- frontend/package.json | 2 +- frontend/tsconfig.json | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/package.json b/frontend/package.json index ccae98cc..8f749404 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -6,7 +6,7 @@ "scripts": { "start": "vite --host", "build": "vite build --mode prod", - "lint": "eslint .", + "lint": "eslint . --cache --cache-location ./node_modules/.cache/eslint/", "preview": "vite preview", "test": "jest", "test:watch": "jest --watch", diff --git a/frontend/tsconfig.json b/frontend/tsconfig.json index f5dd9815..b983964f 100644 --- a/frontend/tsconfig.json +++ b/frontend/tsconfig.json @@ -8,6 +8,8 @@ "moduleResolution": "node", "esModuleInterop": true, "skipLibCheck": true, + "incremental": true, + "tsBuildInfoFile": "./node_modules/.cache/tsc/tsconfig.tsbuildinfo", "strict": true, "forceConsistentCasingInFileNames": true, "baseUrl": "./",