Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bump typescript
^5.0.0→^6.0.3in 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):
@typesinclusion → jest globals named explicitly (ts-jest override inservices/reporting/jest.config.js,types: ["node","jest"]infrontend/tsconfig.json)rootDirfor the frontend ts-jest programservices/reportingupgraded from node10 tomodule/moduleResolution: node16(CJS emit unchanged — real fix, noignoreDeprecationsbridge)frontend/css.d.tsdeclares*.cssVerified: lint, typecheck, tests (27 reporting + 32 frontend), workspace builds + frontend
next buildall green.🤖 Generated with Claude Code
https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn