Skip to content

chore(deps): typescript 6 - #71

Merged
github-actions[bot] merged 2 commits into
mainfrom
chore/ts6
Aug 31, 2026
Merged

chore(deps): typescript 6#71
github-actions[bot] merged 2 commits into
mainfrom
chore/ts6

Conversation

@catomean

Copy link
Copy Markdown
Collaborator

Bump typescript ^5.3.3^6.0.3 in all five package.jsons (fleet TS-6 sweep, apps group A).

Why not 7.0.2: TS 7 is blocked fleet-wide — typescript-eslint hard-errors "does not support TS 7.0" (canaried 2026-08-31). Blessed major is 6.

TS-6 breakage fixed properly (no ignoreDeprecations bridges):

  • TS5101 (baseUrl deprecated) → removed from root + apps/web tsconfigs; paths entries are tsconfig-relative now, identical resolution
  • TS6059 (TS 6 defaults rootDir to the tsconfig dir, not the inferred common source dir) → explicit rootDir: "../.." in packages/{ai,core,database} — noEmit type-check only, same semantics TS 5 inferred
  • TS2882 (side-effect imports now checked) → apps/web/css.d.ts declares *.css

Verified: turbo lint, turbo type-check (4/4 packages), turbo test all green on TS 6.0.3.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn

catomean and others added 2 commits August 31, 2026 19:31
Bump typescript ^5.3.3 -> ^6.0.3 in all five package.jsons (fleet TS-6
sweep). TS 7.0.2 is blocked fleet-wide: typescript-eslint hard-errors
"does not support TS 7.0" (canaried 2026-08-31). Revisit when support
ships.

TS-6 breakage fixed properly, no ignoreDeprecations bridges:

- TS5101: baseUrl is deprecated — removed from root and apps/web
  tsconfigs; `paths` entries are now tsconfig-relative (./-prefixed),
  which resolves identically.
- TS6059: TS 6 defaults rootDir to the tsconfig directory instead of
  the inferred common source directory, so cross-package source imports
  (ai -> core/database src via paths) fell outside it. Set explicit
  rootDir "../.." in packages/{ai,core,database} — noEmit type-check
  only, semantics unchanged from TS 5's inference.
- TS2882: TS 6 checks side-effect imports; `import './globals.css'` in
  apps/web needed a `declare module '*.css'` (css.d.ts).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn
@github-actions
github-actions Bot merged commit a273e30 into main Aug 31, 2026
1 check passed
@github-actions
github-actions Bot deleted the chore/ts6 branch August 31, 2026 17:38
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