This repository was archived by the owner on Nov 4, 2026. It is now read-only.
Repository navigation
Commit b2bb813
fix(devx): pin tsBuildInfoFile outside the published dist in every composite package (#9328)
`composite` implies `incremental`, so every composite project writes a
`*.tsbuildinfo`. Where it lands is DERIVED, not declared: with an `outDir` and
no `rootDir`, TypeScript puts the record at `outDir/<configname>.tsbuildinfo` —
inside `dist`, which `files: ["dist", …]` publishes whole. `check:published-dist`
refuses a record there (objectui#7003), so its verdict came to depend on WHEN it
ran: green before anything invoked `tsc`, red after, on a byte-identical tree.
Measured at c64975e with TypeScript's own `getTsBuildInfoEmitOutputFilePath`:
18 of this repository's 32 incremental projects derived their record into `dist`,
not the 2 the report named. The discriminator is `rootDir`, not the build tool —
the 12 correct ones carry `rootDir: "src"`, which rebases the derived path back
out of `outDir`, and `packages/components/tsconfig.json` records in its own
comment that `rootDir` was removed there for an unrelated reason.
Every composite package now pins the record to its own package root, so the
location is a decision rather than a side effect of an unrelated option. A
shared setting in the base config was measured and rejected: TypeScript resolves
a relative `tsBuildInfoFile` against the config that DECLARES it, so one line in
`tsconfig.json` collapses all 30 packages onto a single repo-root record.
`clean` in `data-objectstack` and `plugin-designer` now removes the relocated
record too, matching the five packages that already spell it that way — without
it, `rm -rf dist` would leave a record describing files that no longer exist
(objectui#6703).
Claude-Session: https://claude.ai/code/session_01FhBNJcLRZLe8M87VcUgpKr
Co-authored-by: Claude <noreply@anthropic.com>1 parent 2b1d0de commit b2bb813
34 files changed
Lines changed: 346 additions & 3 deletions
File tree
- .changeset
- packages
- app-shell
- auth
- collaboration
- components
- core
- data-objectstack
- i18n
- mobile
- permissions
- plugin-calendar
- plugin-charts
- plugin-chatbot
- plugin-dashboard
- plugin-designer
- plugin-detail
- plugin-editor
- plugin-form
- plugin-gantt
- plugin-grid
- plugin-kanban
- plugin-list
- plugin-map
- plugin-markdown
- plugin-timeline
- plugin-tree
- providers
- react-runtime
- react
- sdui-parser
- types
- scripts/__tests__
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
11 | 18 | | |
12 | 19 | | |
13 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
32 | 39 | | |
33 | 40 | | |
34 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
32 | 39 | | |
33 | 40 | | |
34 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
13 | 20 | | |
14 | 21 | | |
15 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
8 | 15 | | |
9 | 16 | | |
10 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
5 | 12 | | |
6 | 13 | | |
7 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
8 | 15 | | |
9 | 16 | | |
10 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
32 | 39 | | |
33 | 40 | | |
34 | 41 | | |
| |||
0 commit comments