mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
72381f81bc
Now that generated JSON is gitignored, every path that consumes these files must run generators first. Fixes: - shell: add bundle-demo-content to dev preamble (eliminates race between watcher and Next.js on fresh clone); add bundle-starter-content to Dockerfile RUN chain - shell-dojo: add predev hook (generate-registry + bundle-demo-content) - shell-docs: add predev hook (generate-registry + bundle-demo-content + generate-search-index) - ops: replace direct COPY of gitignored registry.json with generate-registry.ts at build time (copy scripts+shared+packages, npm ci, run generator)
41 lines
1.4 KiB
JSON
41 lines
1.4 KiB
JSON
{
|
|
"name": "@copilotkit/showcase-shell",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "tsx ../scripts/generate-registry.ts && tsx ../scripts/bundle-demo-content.ts && tsx ../scripts/bundle-starter-content.ts && tsx ../scripts/generate-search-index.ts && npx -y concurrently -k -n bundle,next \"tsx ../scripts/bundle-demo-content.ts --watch\" \"next dev\"",
|
|
"build": "tsx ../scripts/generate-registry.ts && tsx ../scripts/bundle-demo-content.ts && tsx ../scripts/bundle-starter-content.ts && tsx ../scripts/generate-search-index.ts && next build",
|
|
"start": "next start",
|
|
"lint": "next lint"
|
|
},
|
|
"dependencies": {
|
|
"@copilotkit/react-core": "next",
|
|
"@copilotkitnext/agent": "next",
|
|
"@copilotkitnext/react": "next",
|
|
"@copilotkitnext/runtime": "next",
|
|
"gray-matter": "^4.0.3",
|
|
"highlight.js": "^11.11.1",
|
|
"hono": "^4.0.0",
|
|
"next": "^15.0.0",
|
|
"next-mdx-remote": "^5.0.0",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"react-markdown": "^9.0.0",
|
|
"react-syntax-highlighter": "^15.6.0",
|
|
"rehype-highlight": "^7.0.2",
|
|
"rehype-raw": "^7.0.0",
|
|
"remark-gfm": "^4.0.0",
|
|
"yaml": "^2.7.0"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/postcss": "^4.0.0",
|
|
"@types/node": "^22.0.0",
|
|
"@types/react": "^19.0.0",
|
|
"@types/react-syntax-highlighter": "^15.5.0",
|
|
"postcss": "^8.5.0",
|
|
"tailwindcss": "^4.0.0",
|
|
"tsx": "^4.19.0",
|
|
"typescript": "^5.7.0"
|
|
}
|
|
}
|