Repository navigation
Expand file tree
/
Copy pathtsconfig.json
More file actions
39 lines (39 loc) · 1.77 KB
/
Copy pathtsconfig.json
File metadata and controls
39 lines (39 loc) · 1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
"extends": "../../../tsconfig.json",
"compilerOptions": {
"target": "ES2020",
"module": "ES2020",
"moduleResolution": "bundler",
"declaration": true,
"outDir": "./dist",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"noUnusedLocals": false,
"noUnusedParameters": false,
"forceConsistentCasingInFileNames": true,
"types": ["node"],
"rootDir": "./src"
},
"include": ["src/**/*"],
// [#14062] `**/*.test.ts` moved OUT of this program and INTO the sibling
// `tsconfig.test.json`, which `typecheck` names via `check:test-typecheck`.
// Read the direction carefully — this is not a package hiding its tests:
//
// This package declared NO `typecheck` script at all until #14062, so the
// fact that its tests were inside the BUILD program bought nothing; no tsc
// program was ever RUN over them, and the 3 errors they carry sat there
// unseen. Adding the script is what makes the program real, and it must
// invoke tsc (`check:type-check-coverage` refuses a `typecheck` that never
// type-checks). With the tests still here, that first limb would be red on
// arrival at debt this card is explicitly NOT chartered to repair — the
// ruling of 2026-09-01 says the job is to let the ratchet SEE the errors, and
// that repair follows the ratchet's own shrink-only discipline afterwards.
//
// So the split is the family's shape, not an exemption: `tsc --noEmit` here
// judges the shipped source, and every test file is judged one command later
// by `check:test-typecheck` against an EXACT, shrink-only per-signature
// ledger. Nothing stops being compiled; the two halves are named separately
// so each can be true about its own layer.
"exclude": ["node_modules", "dist", "**/*.test.ts"]
}