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)
36 lines
1.0 KiB
JSON
36 lines
1.0 KiB
JSON
{
|
|
"name": "@copilotkit/showcase-shell-docs",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"predev": "tsx ../scripts/generate-registry.ts && tsx ../scripts/bundle-demo-content.ts && tsx ../scripts/generate-search-index.ts",
|
|
"dev": "next dev --port 3003",
|
|
"build": "tsx ../scripts/generate-registry.ts && tsx ../scripts/bundle-demo-content.ts && tsx ../scripts/generate-search-index.ts && next build",
|
|
"start": "next start -p 3003",
|
|
"lint": "next lint"
|
|
},
|
|
"dependencies": {
|
|
"gray-matter": "^4.0.3",
|
|
"highlight.js": "^11.11.1",
|
|
"next": "^15.0.0",
|
|
"next-mdx-remote": "^5.0.0",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"rehype-highlight": "^7.0.2",
|
|
"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",
|
|
"postcss": "^8.5.0",
|
|
"tailwindcss": "^4.0.0",
|
|
"tsx": "^4.19.0",
|
|
"typescript": "^5.7.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.18"
|
|
}
|
|
}
|