mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
4ba201b5c4
Repairs TypeScript check-types across the monorepo and adds a CI gate so regressions are caught going forward: - core: bundler module resolution and strict-mode fixes - sdk-js: bundler module resolution; keep codegen, formatter, packaging working - react-core: fixes across components, hooks, and tests - react-native: restore catch binding referenced by TypeError cause - runtime: repair check-types and bound AI SDK schema inference - web-inspector: nodenext import extensions, export Anchor - remaining packages and node example: assorted check-types repairs - deps: add missing type-only devDependencies - license context driven from /info licenseStatus - ci: run check-types in the static quality workflow Squashed from 12 commits for a single, easily-revertable change.
19 lines
570 B
JSON
19 lines
570 B
JSON
{
|
|
"extends": "@copilotkit/typescript-config/base.json",
|
|
"compilerOptions": {
|
|
"module": "ESNext",
|
|
"moduleResolution": "Bundler",
|
|
// Pin auto-included @types so stray global type packages in ancestor
|
|
// node_modules directories cannot change what this package typechecks
|
|
// against (tsc walks up from the package looking for @types).
|
|
"types": ["node"],
|
|
"outDir": "dist",
|
|
"rootDir": "src",
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"sourceMap": true
|
|
},
|
|
"include": ["src/**/*"],
|
|
"exclude": ["dist", "node_modules"]
|
|
}
|