Repository navigation
Expand file tree
/
Copy pathtsconfig.json
More file actions
80 lines (77 loc) · 3.42 KB
/
Copy pathtsconfig.json
File metadata and controls
80 lines (77 loc) · 3.42 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
// The config the PACKAGES extend. If you are setting one compiler option in one
// place for the workspace, this is the file — `tsconfig.tier-base.json` is not,
// despite what its former name (`tsconfig.base.json`) claimed.
//
// This header exists because that name gave objectui#9189 two contradictory
// answers to "is there a shared base tsconfig?", and objectui#9330's ruling
// (director seat, 2026-09-13) put the measured graph in both root configs
// instead of moving any option. ⛔ Nothing here changed what anything compiles.
//
// ## The measured `extends` graph
//
// Counted, not recalled: every one of the 87 tracked `tsconfig*.json` files in
// the repo, read with TypeScript's own JSONC reader (`ts.readConfigFile`), at
// 4d3a077f6 with #25910's package removal applied. Re-derive rather than trust
// it if it matters — this is a reading with a date on it, not a contract.
//
// THIS FILE is extended by 73 of the 87, every one of them under `packages/`:
// 37 of the 38 `packages/*/tsconfig.json`
// all 35 `packages/*/tsconfig.test.json`
// `packages/types/tsconfig.examples.json`
// Nothing under `apps/` or `examples/` extends it.
//
// `tsconfig.tier-base.json` is extended by 2: `tsconfig.node.json` and
// `tsconfig.react.json`.
// Its full header carries the rest, including why `tsconfig.scripts.json` is
// NOT among them although objectui#9330's ruling names it.
//
// `packages/runner/tsconfig.json` extends NOTHING — the one of thirty-eight
// that inherits from neither root config.
// Recorded per the ruling, ⛔ not changed by it; objectui#7212's population
// question is not settled here either.
//
// ⚠️ objectui#9330's card body says "all 30 `packages/*/tsconfig.json`" extend
// this file and its ruling says 38. Same population, and the card's own stated
// commit c64975e9f measures 38 as well — 30 matches no population in this repo
// at either commit, so it is a miscount, not a narrower reading. Neither is
// today's figure (37 since #25910): re-measure.
//
// Comments here are `//`, not `/* */`: a glob containing `**` followed by `/`
// closes a block comment early, and a tsconfig that silently fails to parse
// falls back to including the entire repository (`tsconfig.scripts.json`'s
// header records that happening).
{
"compilerOptions": {
"target": "ES2020",
"useDefineForClassFields": true,
"module": "ESNext",
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"skipLibCheck": true,
/* Bundler mode */
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx",
/* Linting */
"strict": true,
"noUnusedLocals": false,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"baseUrl": ".",
"ignoreDeprecations": "6.0",
"paths": {
"@object-ui/types": ["packages/types/src"],
"@object-ui/types/*": ["packages/types/src/*"],
"@object-ui/core": ["packages/core/src"],
"@object-ui/core/*": ["packages/core/src/*"],
"@object-ui/react-runtime": ["packages/react-runtime/src"],
"@objectstack/sdui-parser": ["../packages/sdui-parser/src"],
"@objectstack/sdui-parser/*": ["../packages/sdui-parser/src/*"],
"@object-ui/protocol": ["packages/core/src"],
"@object-ui/protocol/*": ["packages/core/src/*"],
"@object-ui/console": ["apps/console/plugin.ts"]
}
},
"include": ["packages", "examples", "apps"]
}