Skip to content

Commit 35751dd

Browse files
author
John Doe
committed
refactor: fix codecov
1 parent a30e519 commit 35751dd

File tree

5 files changed

+55
-3
lines changed

5 files changed

+55
-3
lines changed

tools/codecov/project.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
"projectType": "library",
66
"tags": ["scope:tooling", "type:util"],
77
"targets": {
8-
"lint": {},
9-
"unit-test": {}
8+
"lint": {}
109
}
1110
}

tools/codecov/tsconfig.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"extends": "../../tsconfig.base.json",
3+
"compilerOptions": {
4+
"module": "ESNext",
5+
"forceConsistentCasingInFileNames": true,
6+
"strict": true,
7+
"noImplicitOverride": true,
8+
"noPropertyAccessFromIndexSignature": true,
9+
"noImplicitReturns": true,
10+
"noFallthroughCasesInSwitch": true,
11+
"types": ["vitest"]
12+
},
13+
"files": [],
14+
"include": [],
15+
"references": [
16+
{
17+
"path": "./tsconfig.lib.json"
18+
},
19+
{
20+
"path": "./tsconfig.test.json"
21+
}
22+
]
23+
}

tools/codecov/tsconfig.lib.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"extends": "./tsconfig.json",
3+
"compilerOptions": {
4+
"outDir": "../../dist/out-tsc",
5+
"declaration": true,
6+
"types": ["node"]
7+
},
8+
"include": ["src/**/*.ts"],
9+
"exclude": [
10+
"vitest.unit.config.ts",
11+
"vitest.int.config.ts",
12+
"src/**/*.test.ts",
13+
"src/**/*.mock.ts",
14+
"mocks/**/*.ts"
15+
]
16+
}

tools/codecov/tsconfig.test.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"extends": "./tsconfig.json",
3+
"compilerOptions": {
4+
"outDir": "../../dist/out-tsc",
5+
"types": ["vitest/globals", "vitest/importMeta", "vite/client", "node"]
6+
},
7+
"include": [
8+
"vitest.unit.config.ts",
9+
"vitest.int.config.ts",
10+
"mocks/**/*.ts",
11+
"src/**/*.test.ts",
12+
"../../testing/test-setup/src/vitest.d.ts"
13+
]
14+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
import { createUnitTestConfig } from '../../testing/test-setup-config/src/index.js';
22

3-
export default createUnitTestConfig('eslint-formatter-multi');
3+
export default createUnitTestConfig('tools-codecov');

0 commit comments

Comments
 (0)