You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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>
0 commit comments