From d421aad4d43c7a4358930461667de6bd43d09c12 Mon Sep 17 00:00:00 2001 From: Alexander Zielonka Date: Mon, 27 Apr 2026 14:55:55 +0200 Subject: [PATCH] chore(01-03): exclude foundry-pf2e dev clone from tsconfig - The cloned Foundry pf2e repository ships its own TypeScript source files which reference modules our project does not have ('@common/...', 'svelte', 'vite', 'peggy'). - That clone lives at server/prisma/data/foundry-pf2e/ (gitignored, dev-time only; the seed reads the JSON files at runtime, never the TS source). - Add 'prisma/data/foundry-pf2e' to tsconfig exclude list so 'tsc --noEmit' on our codebase is unaffected by third-party content. --- server/tsconfig.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/server/tsconfig.json b/server/tsconfig.json index aba29b0..75c3fd2 100644 --- a/server/tsconfig.json +++ b/server/tsconfig.json @@ -21,5 +21,10 @@ "noImplicitAny": false, "strictBindCallApply": false, "noFallthroughCasesInSwitch": false - } + }, + "exclude": [ + "node_modules", + "dist", + "prisma/data/foundry-pf2e" + ] }