HonoH
Hono5mo ago
lassiter

hono + vercel + monorepo + turborepo -- what is the trick?

is there a trick to getting vercel.json to be used with turborepo? I have pnpm managing my monorepo but it seems like my apps/heimdall/vercel.json keeps getting ignored

{
    "$schema": "https://openapi.vercel.sh/vercel.json",
    "framework": "hono",
    "buildCommand": "echo \"build command used\" && cd ../../ && turbo build --filter=heimdall...",
    "installCommand": "echo \"install command used\" && cd ../../ && pnpm install",
    "outputDirectory": "../../.vercel/output"
}


I just see it run vercel build and not pick up turborepo or my app. If I deploy directly from local its fine but in the vercel ci the build fails because of typescript dependencies not being found because the project is not built correctly.

I tried using the config but seems to get ignored...
Was this page helpful?