Skip to content

fix(migrate): keep approved builds running in pnpm >= 11 auto-installs - #3605

Open
voidzero-bot[bot] wants to merge 1 commit into
mainfrom
triagebot/fix-3603
Open

voidzero-bot[bot] wants to merge 1 commit into
mainfrom
triagebot/fix-3603

Conversation

@voidzero-bot

@voidzero-bot voidzero-bot Bot commented Nov 29, 2026

Copy link
Copy Markdown
Contributor

vp migrate runs its auto-install with --ignore-scripts on pnpm ≥ 11 to avoid a hard ERR_PNPM_IGNORED_BUILDS failure. That flag also skips builds the user already approved via allowBuilds: when the migration's vite@* override moves a git dependency into a new virtual-store directory, its prepare never runs, the follow-up vp install is a no-op, and the package stays without its dist/ until pnpm install --force.

runViteInstall now passes --config.strict-dep-builds=false (through vp install's pass-through slot) instead. Auto-installs still exit 0, approved builds run, and unapproved ones are skipped and remain recoverable via pnpm approve-builds. The detectIgnoredBuilds path used by vp create is unchanged.

Closes #3603

Automated triage bot fix (AI-assisted).

@cloudflare-workers-and-pages

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://triagebot-fix-3603-viteplus-dev.voidzero-docs.workers.dev (commit b2e1363)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://9baebde3-viteplus-dev.voidzero-docs.workers.dev b2e1363 2026-11-29T04:57:15.944Z Visit the dashboard ↗

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

vp migrate runs its install with --ignore-scripts on pnpm ≥ 11, which leaves an approved git dependency unbuilt, and vp install does not rebuild it

0 participants