Commit 54b1bf0
fix(libs): run the type-tests targets on the workspace TypeScript
The three `type-tests` targets invoked `npx tsc`, which does not resolve to
the workspace compiler. `@dawn-ai/core` pulls in `@typescript/old`
(npm:typescript@6.0.2), whose `tsc` bin wins the hoist at
`node_modules/.bin/tsc`, so those targets type-checked the public API with
TypeScript 6.0.2 while every other target compiles with the declared 5.9.3.
That mismatch is what produced the TS5101 `baseUrl` deprecation error, which
#1064 silenced with `ignoreDeprecations: "6.0"`.
Invoke `node ./node_modules/typescript/bin/tsc` so the targets use the
compiler the workspace declares, and drop the `ignoreDeprecations` holding
action. The `rootDir` lines stay: they solve the unrelated problem of
type-specs importing sibling libraries through path mappings.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 8b18f1a commit 54b1bf0
6 files changed
Lines changed: 3 additions & 12 deletions
File tree
- libs
- ag-ui
- chat
- langgraph
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | 5 | | |
9 | 6 | | |
10 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | 6 | | |
10 | 7 | | |
11 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | 5 | | |
9 | 6 | | |
10 | 7 | | |
| |||
0 commit comments