Files
copilotkit__copilotkit/showcase/scripts/package.json
Jordan Ritter 7012a7e07b feat: add starter template, generation script, and comprehensive test suite
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).
2026-04-14 12:51:44 -07:00

32 lines
893 B
JSON

{
"name": "@copilotkit/showcase-scripts",
"private": true,
"type": "module",
"scripts": {
"generate-registry": "tsx generate-registry.ts",
"validate-manifests": "tsx generate-registry.ts --validate-only",
"create-integration": "tsx create-integration/index.ts",
"sync-qa": "tsx sync-qa-to-notion.ts",
"sync-qa:dry": "DRY_RUN=true tsx sync-qa-to-notion.ts",
"bundle-content": "tsx bundle-demo-content.ts",
"generate-starters": "tsx generate-starters.ts",
"test": "vitest run",
"test:watch": "vitest"
},
"dependencies": {
"@playwright/test": "^1.59.1",
"ajv": "^8.17.1",
"ajv-formats": "^3.0.1",
"chalk": "^5.4.0",
"playwright": "^1.59.1",
"prompts": "^2.4.2",
"tsx": "^4.19.0",
"yaml": "^2.7.0"
},
"devDependencies": {
"@types/node": "^22.0.0",
"@types/prompts": "^2.4.9",
"vitest": "^3.0.0"
}
}