Skip to content

chore(deps): upgrade typescript to 6.0.3 - #166

Open
santi698 wants to merge 1 commit into
mainfrom
tssdk-75-upgrade-typescript-6
Open

chore(deps): upgrade typescript to 6.0.3#166
santi698 wants to merge 1 commit into
mainfrom
tssdk-75-upgrade-typescript-6

Conversation

@santi698

Copy link
Copy Markdown
Collaborator

Summary

Upgrades the monorepo's TypeScript devDependency from 5.9.3 to the latest 6.x release (6.0.3).

  • Bumped typescript in root package.json (the only place it's pinned as an actual dependency; packages/sdk/packages/cli only reference it in keywords)
  • Updated package-lock.json accordingly
  • Fixed a TS 6.0 breaking change: the default rootDir changed from an inferred common source directory to the directory containing tsconfig.json. This broke packages/cli's typecheck, since it consumes packages/sdk source files directly through the @aignostics/sdk paths alias in tsconfig.base.json. Fixed by explicitly setting "rootDir": "." in tsconfig.base.json (resolves to the repo root, covering both packages). This has no effect on emitted output since both packages' typecheck script runs tsc --noEmit and the actual build output is produced by tsdown, not tsc.

Verification

  • npm run lint
  • npm run format:check
  • npm run typecheck
  • npm run test
  • npm run build

Closes TSSDK-75

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
santi698 force-pushed the tssdk-75-upgrade-typescript-6 branch from d42230e to fe4e285 Compare July 29, 2026 11:21
@sonarqubecloud

Copy link
Copy Markdown

@codecov

codecov Bot commented Jul 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Impacted file tree graph

@@           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           
Flag Coverage Δ
unittests 93.36% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted file tree graph

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant