Render's default Web Service runs `pnpm start` at the repo root, which had no script — deploys failed with ERR_PNPM_NO_SCRIPT_OR_SERVER and "no open ports". Add a root `start` that boots the API (@hono/node-server binds 0.0.0.0:$PORT), so a plain root-level Render service now works (build = full workspace, start = API). For API + worker + Postgres together, the render.yaml Blueprint still applies. Add per-app vercel.json (web/dashboard/marketplace/checkout/docs) with the pnpm-workspace install + filtered build and the correct package names (marketplace-app / checkout-app / docs-app). Document the Render-API + Vercel-frontends split in DEPLOYMENT.md.
7 lines
219 B
JSON
7 lines
219 B
JSON
{
|
|
"$schema": "https://openapi.vercel.sh/vercel.json",
|
|
"framework": "nextjs",
|
|
"installCommand": "corepack enable && pnpm install --frozen-lockfile",
|
|
"buildCommand": "pnpm --filter @settlekit/docs-app... build"
|
|
}
|