mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
7012a7e07b
Canonical template at showcase/starters/template/ with Sales Dashboard hero page, 5 GenUI rendering strategies, per-language Dockerfiles (non-root user, agent health checks), and self-contained agent backends. Generation script at showcase/scripts/generate-starters.ts: - Python sys.path.insert removal + relative import rewriting - TypeScript shared-tools import rewriting - Deterministic output (sorted devDependencies, stable file ordering) - --check mode for CI drift detection - Strict error handling (throws on missing required inputs) 537 tests: generation unit tests (transform functions, entrypoint blocks), cross-starter consistency checks (270), Playwright e2e interaction tests (renderer switching, deal creation, suggestion verification).
28 lines
602 B
JSON
28 lines
602 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2017",
|
|
"lib": ["dom", "dom.iterable", "esnext"],
|
|
"allowJs": true,
|
|
"skipLibCheck": true,
|
|
"strict": true,
|
|
"noEmit": true,
|
|
"esModuleInterop": true,
|
|
"module": "esnext",
|
|
"moduleResolution": "bundler",
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"jsx": "preserve",
|
|
"incremental": true,
|
|
"plugins": [
|
|
{
|
|
"name": "next"
|
|
}
|
|
],
|
|
"paths": {
|
|
"@/*": ["./src/*"]
|
|
}
|
|
},
|
|
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
|
|
"exclude": ["node_modules"]
|
|
}
|