Skip to content

Commit 17ec245

Browse files
chore: exclude integration tests from final build
1 parent a8f1a33 commit 17ec245

File tree

2 files changed

+21
-12
lines changed

2 files changed

+21
-12
lines changed

tsconfig.cjs.json

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
{
2-
"extends": "./tsconfig.json",
3-
"compilerOptions": {
4-
"module": "commonjs",
5-
"moduleResolution": "node",
6-
"outDir": "./dist/cjs"
7-
},
8-
"exclude": ["**/*.test.ts", "src/__mocks__/**/*"]
2+
"extends": "./tsconfig.json",
3+
"compilerOptions": {
4+
"module": "commonjs",
5+
"moduleResolution": "node",
6+
"outDir": "./dist/cjs"
7+
},
8+
"exclude": [
9+
"**/*.test.ts",
10+
"src/__mocks__/**/*",
11+
"src/integration-tests"
12+
]
913
}

tsconfig.prod.json

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
{
2-
"extends": "./tsconfig.json",
3-
"compilerOptions": {
4-
"outDir": "./dist/esm"
5-
},
6-
"exclude": ["**/*.test.ts", "src/__mocks__/**/*", "src/server/zodTestMatrix.ts"]
2+
"extends": "./tsconfig.json",
3+
"compilerOptions": {
4+
"outDir": "./dist/esm"
5+
},
6+
"exclude": [
7+
"**/*.test.ts",
8+
"src/__mocks__/**/*",
9+
"src/server/zodTestMatrix.ts",
10+
"src/integration-tests"
11+
]
712
}

0 commit comments

Comments
 (0)