Files
ai-kit/tsconfig.cjs.json
51d8cc41d3 chore(deps): typescript 6 (#24)
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).


Claude-Session: https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn

Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-31 15:35:44 +02:00

13 lines
293 B
JSON

{
"extends": "./tsconfig.json",
"compilerOptions": {
"module": "CommonJS",
"moduleResolution": "node10",
"ignoreDeprecations": "6.0",
"verbatimModuleSyntax": false,
"declaration": false,
"outDir": "dist-cjs"
},
"include": ["src/grounding", "src/registry.ts"]
}