Skip to content

chore(deps): upgrade TypeScript to v7 and migrate tsconfig - #345

Merged
jinglemansweep merged 1 commit into
mainfrom
chore/typescript-7-tsconfig
Jul 24, 2026
Merged

chore(deps): upgrade TypeScript to v7 and migrate tsconfig#345
jinglemansweep merged 1 commit into
mainfrom
chore/typescript-7-tsconfig

Conversation

@jinglemansweep

Copy link
Copy Markdown
Contributor

Summary

Upgrade TypeScript from v5.9 to v7.0 and migrate tsconfig.json for breaking changes.

Supersedes and closes #330 (Renovate couldn't make the required tsconfig source changes).

Changes

TypeScript v7 (package.json, package-lock.json)

  • Bumped typescript from ^5.8 to ^7.0.2 (resolved: 7.0.2)

tsconfig.json migration

TypeScript 7 introduces two breaking changes to compiler options:

  1. baseUrl removed (TS5102) — the option is no longer recognized
  2. Non-relative paths rejected (TS5090) — path entries must begin with ./

Migration applied:

  • Removed "baseUrl": "."
  • Changed "@/*": ["src/..."] to "@/*": ["./src/..."]

The @/ alias is also resolved by Vite's resolve.alias in vite.config.ts:14-17, so only tsc --noEmit was affected — the Vite build and runtime behavior are unchanged. All 383 @/ imports across the codebase continue to resolve correctly.

The e2e/tsconfig.json was not affected (it does not use baseUrl or paths).

Verification

  • npx tsc --noEmit — clean
  • npx tsc -p e2e/tsconfig.json --noEmit — clean
  • npm run test:frontend (vitest) — 339/339 passing
  • pre-commit run --all-files — all green

TypeScript 7 removes the 'baseUrl' compiler option and requires
'paths' entries to be relative (leading './'). Update tsconfig.json
accordingly. The '@/alias is also resolved by Vite's resolve.alias
in vite.config.ts, so only tsc --noEmit was affected.

Verified: tsc --noEmit clean, e2e typecheck clean, 339/339 vitest
tests passing.
@codecov

codecov Bot commented Jul 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@jinglemansweep
jinglemansweep enabled auto-merge July 24, 2026 23:05
@jinglemansweep
jinglemansweep merged commit 9ce1ef9 into main Jul 24, 2026
5 checks passed
@jinglemansweep
jinglemansweep deleted the chore/typescript-7-tsconfig branch July 24, 2026 23:05
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