-
Notifications
You must be signed in to change notification settings - Fork 2
Optimize server Vercel deployment to skip unnecessary site/docs installation #1241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
68a259d
a46c0a7
9a71ad1
bfdfc01
c125f69
add5b2f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,7 +1,7 @@ | ||||||
| { | ||||||
| "$schema": "https://openapi.vercel.sh/vercel.json", | ||||||
| "framework": null, | ||||||
| "installCommand": "cd ../.. && pnpm install --frozen-lockfile", | ||||||
| "installCommand": "cd ../.. && pnpm install --frozen-lockfile --ignore-scripts", | ||||||
|
||||||
| "installCommand": "cd ../.. && pnpm install --frozen-lockfile --ignore-scripts", | |
| "installCommand": "cd ../.. && pnpm install --frozen-lockfile --filter @object-ui/server...", |
Copilot
AI
Apr 15, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR description says the deployment optimization is adding --filter @object-ui/server... to limit workspace installation, but the actual change switches to --ignore-scripts and still installs from the monorepo root without any filter. Either update the implementation to match the described --filter approach, or update the PR description so it reflects the actual behavior and tradeoffs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This command masks all failures with
|| true, which can let the build proceed even when required workspace packages fail to build—leading to harder-to-debug runtime/deploy errors. If the intent is only to skip packages that don’t have a build script, use pnpm’s--if-present(and keep non-zero exit codes for real build failures).