- 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.
10 lines
565 B
Plaintext
10 lines
565 B
Plaintext
# This deployment ships the static frontend only. The api/ serverless
|
|
# functions are NOT safely deployable as-is on Vercel: api/_lib's sqlite-
|
|
# backed stores write to a filesystem path (Vercel's serverless filesystem
|
|
# is read-only outside /tmp, which is ephemeral and per-instance), and
|
|
# api/*.integration.test.ts sit at the top level of api/, where Vercel's
|
|
# zero-config convention would treat them as functions even though they
|
|
# import vitest. Exclude the whole directory from this static deploy
|
|
# without touching the committed api/ directory itself.
|
|
api/
|