Skip to content

Commit d3e5e31

Browse files
committed
refactor: simplify TS configs
1 parent 508f021 commit d3e5e31

26 files changed

+17
-37
lines changed

.changeset/short-clouds-double.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@apitree.cz/ts-config': patch
3+
---
4+
5+
Simplify default configs

packages/cli/tsconfig.build.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"extends": "./tsconfig.json",
33
"compilerOptions": { "noEmit": false },
4-
"files": [],
4+
"include": ["./src"],
55
"references": [{ "path": "../ts-utils/tsconfig.build.json" }]
66
}

packages/cli/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,5 @@
22
"extends": "./tsconfig.lib.json",
33
"compilerOptions": { "rootDir": "./src", "outDir": "./dist" },
44
"include": ["./src"],
5-
"files": [],
65
"references": [{ "path": "../ts-utils/tsconfig.build.json" }]
76
}

packages/cli/tsconfig.lib.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"extends": "@apitree.cz/ts-config/library",
3-
"include": ["**/*.js", "**/*.ts"],
43
"exclude": ["dist", "node_modules"],
54
"references": [{ "path": "../ts-utils/tsconfig.build.json" }]
65
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"extends": "./tsconfig.json",
33
"compilerOptions": { "noEmit": false },
4-
"files": [],
4+
"include": ["./src"],
55
"references": [{ "path": "../vitest-config/tsconfig.build.json" }]
66
}
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
{
22
"extends": "./tsconfig.lib.json",
33
"compilerOptions": { "rootDir": "./src", "outDir": "./dist" },
4-
"include": ["./src"],
5-
"files": ["vitest.config.ts"],
64
"references": [{ "path": "../vitest-config/tsconfig.build.json" }]
75
}
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"extends": "@apitree.cz/ts-config/library",
3-
"include": ["**/*.js", "**/*.ts"],
43
"exclude": ["coverage", "dist", "node_modules"],
54
"references": [{ "path": "../vitest-config/tsconfig.build.json" }]
65
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"extends": "./tsconfig.json",
33
"compilerOptions": { "noEmit": false },
4-
"files": [],
4+
"include": ["./src"],
55
"references": []
66
}
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
{
22
"extends": "./tsconfig.lib.json",
33
"compilerOptions": { "rootDir": "./src", "outDir": "./dist" },
4-
"include": ["./src"],
5-
"files": [],
64
"references": []
75
}
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"extends": "@apitree.cz/ts-config/library",
3-
"include": ["**/*.js", "**/*.ts"],
43
"exclude": ["dist", "node_modules"],
54
"references": []
65
}

0 commit comments

Comments
 (0)