Skip to content

chore: upgrade TypeScript to version 6.0#380

Merged
sissbruecker merged 1 commit intomainfrom
chore/ts-6.0
Apr 28, 2026
Merged

chore: upgrade TypeScript to version 6.0#380
sissbruecker merged 1 commit intomainfrom
chore/ts-6.0

Conversation

@web-padawan
Copy link
Copy Markdown
Member

Summary

  • Bump typescript devDependency from ^5.7.2 to ^6.0.3.
  • Add explicit rootDir: "./src" to both packages' tsconfig.build.json — TS 6 no longer infers it from the common source directory when emitting (TS5011).
  • Add ambient *.css module declaration in types/css.d.ts for the side-effect CSS imports in dev/pages/Dashboard.tsx, DashboardLayout.tsx, and MasterDetailLayout.tsx — TS 6 enforces type declarations for side-effect imports (TS2882).

Test plan

  • npm run validate passes (types, prettier, build)
  • npm run build produces clean dts output for both packages with no stray files in src/
  • npm run test passes

🤖 Generated with Claude Code

Adds rootDir to dts build configs (now required by TS 6 when emitting)
and an ambient *.css module declaration to satisfy the new TS2882 check
on side-effect CSS imports in dev pages.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@sissbruecker sissbruecker merged commit 0de766f into main Apr 28, 2026
2 checks passed
@sissbruecker sissbruecker deleted the chore/ts-6.0 branch April 28, 2026 12:53
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.

2 participants