Skip to content

fix: allow build scripts for native deps on Vercel CI - #323

Merged
fworks-tech merged 1 commit into
mainfrom
fix/vercel-build-scripts
Sep 27, 2026
Merged

fworks-tech merged 1 commit into
mainfrom
fix/vercel-build-scripts

Conversation

@fworks-tech

Copy link
Copy Markdown
Owner

What

Adds top-level onlyBuiltDependencies to package.json to whitelist packages that need install scripts.

Why

Vercel CI uses npm v12+ which blocks build scripts by default (npm warn install-scripts). This caused Checks Failed for Lint and Typecheck because esbuild, core-js, tree-sitter, and other native modules couldn't run their postinstall scripts.

How to test

  1. Merge and verify Vercel deployment passes checks
  2. Run npm install locally to confirm no warnings

@fworks-tech
fworks-tech merged commit 8ef1ebc into main Sep 27, 2026
2 of 3 checks passed
@fworks-tech
fworks-tech deleted the fix/vercel-build-scripts branch September 27, 2026 19:28
@fworks-tech
fworks-tech restored the fix/vercel-build-scripts branch September 27, 2026 19:30
@fworks-tech
fworks-tech deleted the fix/vercel-build-scripts branch September 27, 2026 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant