File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -17,12 +17,10 @@ set -euo pipefail
1717echo " [build-vercel] Starting server build..."
1818
1919# 1. Build the project with pnpm (from monorepo root)
20- # First build workspace dependencies, then console
20+ # Build workspace packages (excluding site docs) and console
2121cd ../..
22- echo " [build-vercel] Building workspace dependencies..."
23- pnpm --filter ' @object-ui/*' --filter ' !@object-ui/console' --filter ' !@object-ui/server' --filter ' !@object-ui/site' run build 2> /dev/null || echo " [build-vercel] ⚠ Some workspace builds skipped (expected for non-buildable packages)"
24- echo " [build-vercel] Building console with server mode..."
25- pnpm --filter @object-ui/console run build
22+ echo " [build-vercel] Building workspace packages..."
23+ pnpm --filter ' !@object-ui/site' --filter ' @object-ui/*' --filter ' @object-ui/console' run build
2624cd apps/server
2725
2826# 2. Bundle API serverless function
Original file line number Diff line number Diff line change 11{
22 "$schema" : " https://openapi.vercel.sh/vercel.json" ,
33 "framework" : null ,
4- "installCommand" : " cd ../.. && pnpm install --frozen-lockfile --filter @object-ui/server... " ,
4+ "installCommand" : " cd ../.. && pnpm install --frozen-lockfile" ,
55 "buildCommand" : " bash scripts/build-vercel.sh" ,
66 "build" : {
77 "env" : {
You can’t perform that action at this time.
0 commit comments