A local-first personal finance app
Exclude test files from build artifacts (#6216)
Matiss Janis Aboltins8f8d3e7712ef
diff --git a/packages/crdt/tsconfig.dist.json b/packages/crdt/tsconfig.dist.jsonindex 698882a51a..56c50ef6d9 100644--- a/packages/crdt/tsconfig.dist.json+++ b/packages/crdt/tsconfig.dist.json@@ -12,5 +12,5 @@"outDir": "dist"},"include": ["."],- "exclude": ["dist"]+ "exclude": ["dist", "**/*.test.ts", "**/*.spec.ts"]}diff --git a/packages/desktop-electron/tsconfig.dist.json b/packages/desktop-electron/tsconfig.dist.jsonindex d877e14054..1a7ad58b0a 100644--- a/packages/desktop-electron/tsconfig.dist.json+++ b/packages/desktop-electron/tsconfig.dist.json@@ -12,5 +12,11 @@"rootDir": ".."},"include": ["."],- "exclude": ["**/node_modules/*", "build/**/*", "e2e/**/*"]+ "exclude": [+ "**/node_modules/*",+ "build/**/*",+ "e2e/**/*",+ "**/*.test.ts",+ "**/*.spec.ts"+ ]}diff --git a/upcoming-release-notes/6216.md b/upcoming-release-notes/6216.mdnew file mode 100644index 0000000000..ef6022e912--- /dev/null+++ b/upcoming-release-notes/6216.md@@ -0,0 +1,7 @@+---+category: Maintenance+authors: [MatissJanis]+---++Exclude test files from build artifacts in TypeScript configuration for two packages.+