Skip to content

Open source personal finance application

build(vercel): scope app and docs build commands with pnpm --filter

Ilya Komichevd87dc05626a0
diff --git a/app/vercel.json b/app/vercel.json
index 237a1c56..24723fbc 100644
--- a/app/vercel.json
+++ b/app/vercel.json
@@ -1,6 +1,6 @@
{
"installCommand": "pnpm install",
- "buildCommand": "pnpm build",
+ "buildCommand": "pnpm --filter app build",
"outputDirectory": ".output/public",
"ignoreCommand": "git diff --quiet HEAD^ HEAD -- . ../package.json ../pnpm-lock.yaml ../pnpm-workspace.yaml"
}
diff --git a/docs/vercel.json b/docs/vercel.json
index 237a1c56..40c24050 100644
--- a/docs/vercel.json
+++ b/docs/vercel.json
@@ -1,6 +1,6 @@
{
"installCommand": "pnpm install",
- "buildCommand": "pnpm build",
+ "buildCommand": "pnpm --filter docs build",
"outputDirectory": ".output/public",
"ignoreCommand": "git diff --quiet HEAD^ HEAD -- . ../package.json ../pnpm-lock.yaml ../pnpm-workspace.yaml"
}