Files
Max Korp 4cf9fe84c5 fix(examples/langgraph-python-threads): fail loudly when uv or Docker is missing
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.
2026-05-12 18:51:06 -05:00

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"
}