Commit 1b092e6
docs(workspace): record why tsconfig baseUrl cannot be dropped yet
TypeScript 7 removes `baseUrl`, and since TypeScript 5.0 the `paths` map no
longer needs it. Removing it from `tsconfig.base.json` nonetheless breaks
every library that depends on another library: Nx's buildable-library
executors write a generated tsconfig under `tmp/<projectRoot>/build/` whose
`paths` re-declare dependency entries as workspace-root-relative dist
outputs (`dist/libs/telemetry/browser`). Without a `baseUrl` those
non-relative values raise TS5090 and TypeScript discards the whole `paths`
map, so `render:build` and `cockpit-shell:build` fail to resolve
`@threadplane/telemetry/browser` and `@threadplane/cockpit-registry`.
Leave the option in place and record the blocker next to it so the next
attempt starts from the Nx side rather than re-deriving this.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 54b1bf0 commit 1b092e6
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
18 | 27 | | |
19 | 28 | | |
20 | 29 | | |
| |||
0 commit comments