-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
43 lines (42 loc) · 1.94 KB
/
Copy pathtsconfig.json
File metadata and controls
43 lines (42 loc) · 1.94 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
40
41
42
43
{
"compilerOptions": {
"lib": ["ESNext"],
"target": "ESNext",
"module": "ESNext",
"moduleResolution": "bundler",
"moduleDetection": "force",
"types": ["bun"],
"noEmit": true,
"strict": true,
"exactOptionalPropertyTypes": true,
"noUncheckedIndexedAccess": true,
"noImplicitOverride": true,
"noFallthroughCasesInSwitch": true,
"verbatimModuleSyntax": true,
"skipLibCheck": true,
"resolveJsonModule": true,
// The workspace develops against `control/src`, never against `control/dist`.
//
// `@ceralive/modem-control` publishes BUILT output, so its exports map points at
// `dist`. Left alone, the workspace `cli` would resolve the package through that
// map while `control/test-support` resolves the same modules relatively — two
// type identities for one module, which `Brand`'s `unique symbol` turns into hard
// errors the moment a branded value crosses between them. It would also mean the
// whole workspace could not typecheck or test until `dist` existed.
//
// These mappings are DEV-ONLY: they live in the repo's tsconfig, never in the
// published package, whose exports map still resolves to `dist` for consumers.
// The built artifact is proven separately by the standalone consumer fixtures in
// `control/fixtures/`, which install the real tarball and know nothing of this file.
"paths": {
"@ceralive/modem-control": ["./control/src/index.ts"],
"@ceralive/modem-control/transport": ["./control/src/transport/index.ts"],
"@ceralive/modem-control/domain": ["./control/src/domain/index.ts"],
"@ceralive/modem-control/providers": ["./control/src/providers/index.ts"],
"@ceralive/modem-control/capabilities": ["./control/src/capability/index.ts"],
"@ceralive/modem-control/hardware": ["./control/src/hardware/index.ts"],
"@ceralive/modem-control/testing": ["./control/src/testing/index.ts"]
}
},
"include": ["control/src", "control/scripts", "control/test-support", "cli/src", "cli/smoke"]
}