Skip to content

chore(deps): typescript 6 - #42

Merged
catomean merged 1 commit into
masterfrom
chore/ts6
Aug 31, 2026
Merged

chore(deps): typescript 6#42
catomean merged 1 commit into
masterfrom
chore/ts6

Conversation

@catomean

Copy link
Copy Markdown
Collaborator

Bump typescript ^5.0.0^6.0.3 in every workspace + frontend (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 (all real TS 6 behavior changes):

  • TS 6 dropped automatic @types inclusion → jest globals named explicitly (ts-jest override in services/reporting/jest.config.js, types: ["node","jest"] in frontend/tsconfig.json)
  • TS5011 → explicit rootDir for the frontend ts-jest program
  • TS5107 → services/reporting upgraded from node10 to module/moduleResolution: node16 (CJS emit unchanged — real fix, no ignoreDeprecations bridge)
  • TS2882 (side-effect imports now checked) → frontend/css.d.ts declares *.css

Verified: lint, typecheck, tests (27 reporting + 32 frontend), workspace builds + frontend next build all green.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn

Bump typescript ^5.0.0 -> ^6.0.3 in every workspace plus the frontend
(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 alongside, all real behavior changes in TS 6:

- TS 6 no longer auto-includes @types packages in the program, so jest
  globals vanished from every ts-jest run and from the frontend
  typecheck. Named them explicitly: ts-jest tsconfig override in
  services/reporting/jest.config.js, `"types": ["node", "jest"]` in
  frontend/tsconfig.json.
- TS5011: frontend ts-jest program (test files only) now needs an
  explicit rootDir.
- TS5107: services/reporting was on moduleResolution node10 — upgraded
  properly to module/moduleResolution node16 (CJS service, emit
  unchanged, no silencer needed).
- TS2882: TS 6 checks side-effect imports; `import './globals.css'` in
  the Next 14 frontend 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
@catomean
catomean merged commit dbb41e5 into master Aug 31, 2026
1 check passed
@catomean
catomean deleted the chore/ts6 branch August 31, 2026 17:03
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