Skip to content

Commit 1a75b4b

Browse files
tomymaritanoclaude
andcommitted
fix(docs): vercel build filter by name (cairn-*), not path
Vercel's Root Directory is apps/docs-site, so the `./packages/*` path glob resolved to apps/docs-site/packages/* (nothing) and built no workspace packages → the docs build failed importing them. Name filters are cwd- independent: `--filter "cairn-*"` builds all seven from any directory. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 7a9d566 commit 1a75b4b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/docs-site/vercel.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"$schema": "https://openapi.vercel.sh/vercel.json",
33
"framework": "nextjs",
4-
"buildCommand": "pnpm --filter \"./packages/*\" build && pnpm --filter @cairn/docs build"
4+
"buildCommand": "pnpm --filter \"cairn-*\" build && pnpm --filter @cairn/docs build"
55
}

0 commit comments

Comments
 (0)