From 1214c78a3c7534fc5da35efa4783789b694a2e83 Mon Sep 17 00:00:00 2001 From: Wuesteon Date: Wed, 17 Dec 2025 19:49:37 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(picture-backend):=20fix=20Ty?= =?UTF-8?q?peScript=20output=20path=20for=20Docker?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added rootDir: "./src" to tsconfig.json so that main.ts compiles to dist/main.js instead of dist/src/main.js. This matches the CMD path in the Dockerfile. Also added include/exclude and moduleResolution to match other backends. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- apps/picture/apps/backend/tsconfig.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/picture/apps/backend/tsconfig.json b/apps/picture/apps/backend/tsconfig.json index 38c2b55d7..6e1b7a7d2 100644 --- a/apps/picture/apps/backend/tsconfig.json +++ b/apps/picture/apps/backend/tsconfig.json @@ -1,6 +1,7 @@ { "compilerOptions": { "module": "commonjs", + "moduleResolution": "node", "declaration": true, "removeComments": true, "emitDecoratorMetadata": true, @@ -10,6 +11,7 @@ "sourceMap": true, "outDir": "./dist", "baseUrl": "./", + "rootDir": "./src", "incremental": true, "skipLibCheck": true, "strictNullChecks": true, @@ -19,5 +21,7 @@ "noFallthroughCasesInSwitch": true, "esModuleInterop": true, "resolveJsonModule": true - } + }, + "include": ["src/**/*"], + "exclude": ["node_modules", "dist"] }