mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
4cf9fe84c5
The template required uv (for the agent's `postinstall: uv sync`) and Docker (for the threads infrastructure) but surfaced nothing until npm install errored with `sh: uv: command not found`. Add a preflight script wired to preinstall and predev that prints a clear message pointing at the install docs, plus README updates calling out both prerequisites.
26 lines
858 B
JSON
26 lines
858 B
JSON
{
|
|
"name": "copilotkit-langgraph-template",
|
|
"private": true,
|
|
"workspaces": [
|
|
"apps/*"
|
|
],
|
|
"scripts": {
|
|
"preinstall": "node scripts/check-prereqs.mjs install",
|
|
"predev": "node scripts/check-prereqs.mjs dev",
|
|
"dev:infra": "docker compose up -d --wait",
|
|
"dev": "npm run dev:infra && concurrently -k -n app,bff,agent -c auto \"npm run dev:app\" \"npm run dev:bff\" \"npm run dev:agent\"",
|
|
"dev:app": "npm run dev --workspace @repo/app",
|
|
"dev:agent": "npm run dev --workspace @repo/agent",
|
|
"dev:bff": "npm run dev --workspace @repo/bff",
|
|
"build": "npm run build --workspace @repo/bff && npm run build --workspace @repo/app",
|
|
"clean": "rm -rf apps/app/dist apps/bff/dist"
|
|
},
|
|
"devDependencies": {
|
|
"concurrently": "^9.1.2"
|
|
},
|
|
"overrides": {
|
|
"esbuild": "^0.27.3"
|
|
},
|
|
"packageManager": "npm@10.9.2"
|
|
}
|