mirror of
https://github.com/bitbaum/ai-kit.git
synced 2026-12-04 09:08:19 +01:00
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>
13 lines
293 B
JSON
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"]
|
|
}
|