- Add .vercelignore excluding api/ from this Vercel deployment (api/'s sqlite-backed stores write to a read-only serverless filesystem, and its top-level *.integration.test.ts files import vitest and would break the zero-config function convention) - the committed api/ directory itself is untouched, only excluded from this specific static deploy. - Override vercel.json's buildCommand to type-check only the app/node tsconfig projects (tsc -b tsconfig.app.json tsconfig.node.json), since tsconfig.api.json's "include": ["api"] has no inputs once api/ is excluded from the uploaded deployment files - package.json's own "build" script is untouched for local full-repo builds. - Deploy to a new Vercel project (first-place-overhaul-todo6, account yoyoyonono / team aaron-thapas-projects) via npx vercel --prod --yes. Stable canonical production URL: https://first-place-overhaul-todo6.vercel.app - Update README's "## Live demo" section to point at the permanent URL, remove the stale "may already be dead"/"planned separately" temp-preview language, and note the live deploy is the static frontend only - the self-hosted sync/blob/admin backend (api/) remains a separate, self-hosted-only component, not part of this public URL.
8 lines
221 B
JSON
8 lines
221 B
JSON
{
|
|
"$schema": "https://openapi.vercel.sh/vercel.json",
|
|
"buildCommand": "tsc -b tsconfig.app.json tsconfig.node.json && vite build",
|
|
"rewrites": [
|
|
{ "source": "/((?!api/).*)", "destination": "/index.html" }
|
|
]
|
|
}
|