File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed
Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -16,10 +16,12 @@ set -euo pipefail
1616
1717echo " [build-vercel] Starting server build..."
1818
19- # 1. Build the project with pnpm (from monorepo root)
20- # This builds both server and console
19+ # 1. Build workspace dependencies and console
2120cd ../..
22- echo " [build-vercel] Building console with server mode..."
21+ echo " [build-vercel] Building workspace dependencies (excluding site and non-essential packages)..."
22+ # Build only packages needed for console, skip create-plugin and site
23+ pnpm --filter ' @object-ui/*' --filter ' !@object-ui/create-plugin' --filter ' !@object-ui/console' --filter ' !@object-ui/server' --filter ' !@object-ui/site' run build || true
24+ echo " [build-vercel] Building console..."
2325pnpm --filter @object-ui/console run build
2426cd apps/server
2527
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" ,
4+ "installCommand" : " cd ../.. && pnpm install --frozen-lockfile --ignore-scripts " ,
55 "buildCommand" : " bash scripts/build-vercel.sh" ,
66 "build" : {
77 "env" : {
Original file line number Diff line number Diff line change 55 "rootDir" : " src" ,
66 "noEmit" : false ,
77 "declaration" : true ,
8- "composite" : true
8+ "composite" : true ,
9+ "jsx" : " react-jsx" ,
10+ "lib" : [" ES2020" , " DOM" ]
911 },
1012 "include" : [" src" ],
1113 "exclude" : [" src/**/*.test.ts" , " src/**/*.test.tsx" ]
You can’t perform that action at this time.
0 commit comments