Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

Fix broken cloud build

Blue Mouse321a9ba4694a
diff --git a/backend/apps/cloud/tsconfig.app.json b/backend/apps/cloud/tsconfig.app.json
index 540103c28..82a0e6669 100644
--- a/backend/apps/cloud/tsconfig.app.json
+++ b/backend/apps/cloud/tsconfig.app.json
@@ -9,13 +9,17 @@
"allowSyntheticDefaultImports": true,
"target": "es2022",
"sourceMap": true,
+ "rootDir": "./src",
"outDir": "./dist",
"baseUrl": "./",
"incremental": true,
+ "tsBuildInfoFile": "./dist/tsconfig.app.tsbuildinfo",
"skipLibCheck": true,
"inlineSources": true,
"resolveJsonModule": true,
"sourceRoot": "/"
- }
+ },
+ "include": ["src/**/*.ts"],
+ "exclude": ["**/*.spec.ts", "**/*.test.ts", "**/__tests__/**"]
}
diff --git a/backend/apps/community/tsconfig.app.json b/backend/apps/community/tsconfig.app.json
index 048e3f8d7..969f43a47 100644
--- a/backend/apps/community/tsconfig.app.json
+++ b/backend/apps/community/tsconfig.app.json
@@ -9,10 +9,14 @@
"allowSyntheticDefaultImports": true,
"target": "es2022",
"sourceMap": true,
+ "rootDir": "./src",
"outDir": "./dist",
"baseUrl": "./",
"incremental": true,
+ "tsBuildInfoFile": "./dist/tsconfig.app.tsbuildinfo",
"skipLibCheck": true,
"resolveJsonModule": true
- }
+ },
+ "include": ["src/**/*.ts"],
+ "exclude": ["**/*.spec.ts", "**/*.test.ts", "**/__tests__/**"]
}
diff --git a/backend/nest-cli.json b/backend/nest-cli.json
index c52225deb..e55b4bd95 100644
--- a/backend/nest-cli.json
+++ b/backend/nest-cli.json
@@ -4,6 +4,7 @@
"root": "apps/cloud",
"monorepo": true,
"compilerOptions": {
+ "deleteOutDir": true,
"assets": [
{ "include": "common/templates/**/*", "watchAssets": true },
{ "include": "i18n/**/*", "watchAssets": true },