chore(deps): upgrade typescript to 6.0.3 - #166
Open
santi698 wants to merge 1 commit into
Open
Conversation
Bump typescript devDependency from 5.9.3 to the latest 6.x release (6.0.3) and update package-lock.json accordingly. TypeScript 6.0 changed the default rootDir from an inferred common source directory to the directory containing tsconfig.json. This broke the cli package's typecheck, since it consumes sdk source files directly through the @aignostics/sdk paths alias in tsconfig.base.json. Fix by explicitly setting rootDir to the repo root in tsconfig.base.json.
santi698
force-pushed
the
tssdk-75-upgrade-typescript-6
branch
from
July 29, 2026 11:21
d42230e to
fe4e285
Compare
|
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## main #166 +/- ##
=======================================
Coverage 93.36% 93.36%
=======================================
Files 15 15
Lines 2488 2488
Branches 296 296
=======================================
Hits 2323 2323
Misses 163 163
Partials 2 2
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
Upgrades the monorepo's TypeScript devDependency from
5.9.3to the latest6.xrelease (6.0.3).typescriptin rootpackage.json(the only place it's pinned as an actual dependency;packages/sdk/packages/clionly reference it inkeywords)package-lock.jsonaccordinglyrootDirchanged from an inferred common source directory to the directory containingtsconfig.json. This brokepackages/cli's typecheck, since it consumespackages/sdksource files directly through the@aignostics/sdkpaths alias intsconfig.base.json. Fixed by explicitly setting"rootDir": "."intsconfig.base.json(resolves to the repo root, covering both packages). This has no effect on emitted output since both packages'typecheckscript runstsc --noEmitand the actual build output is produced bytsdown, nottsc.Verification
npm run lint✅npm run format:check✅npm run typecheck✅npm run test✅npm run build✅Closes TSSDK-75