Skip to content

chore(deps): typescript 6 - #24

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

chore(deps): typescript 6#24
catomean merged 1 commit into
mainfrom
chore/ts6

Conversation

@catomean

Copy link
Copy Markdown
Collaborator

Bumps typescript to ^6.0.3 (proven in-fleet: openclaw, petvity, vitareba, biaslens).

TS 7.0.2 exists but is blocked fleet-wide: typescript-eslint hard-errors "does not support TS 7.0" (canaried 2026-08-31 in this repo). Revisit when support ships.

TS 6 breakage fixed:

  • tsconfig.json: "types": ["node"] — TS 6 stopped picking up @types/node globals (fetch, process, AbortSignal) automatically here.
  • tsconfig.cjs.json: "ignoreDeprecations": "6.0" — moduleResolution node10 is deprecated in 6.x; the CJS emit still needs it (sanctioned bridge until the dual build is reworked for TS 7).
  • dist-cjs/ regenerated with the TS 6 emit (tracked output).

Verify green: format:check + lint + typecheck + build (dist AND dist-cjs produced) + 77 tests incl. the dual-loader test.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn

TS 7.0.2 exists but typescript-eslint rejects it ("does not support TS
7.0") — canaried and blocked; revisit when support ships.

TS 6 breakage fixed:
- tsconfig.json: add "types": ["node"] — TS 6 no longer picked up the
  @types/node globals (fetch, process, AbortSignal) automatically here.
- tsconfig.cjs.json: "ignoreDeprecations": "6.0" — moduleResolution
  node10 is deprecated in 6.x; the CJS emit still needs it, and this is
  the sanctioned bridge until the dual build is reworked for TS 7.
- dist-cjs regenerated with the TS 6 emit (tracked output).

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