Skip to content

Allow required native deps to build under pnpm - #186

Closed
patrickabedin wants to merge 1 commit into
every-app:mainfrom
patrickabedin:cursor/pnpm-only-built-dependencies
Closed

Allow required native deps to build under pnpm#186
patrickabedin wants to merge 1 commit into
every-app:mainfrom
patrickabedin:cursor/pnpm-only-built-dependencies

Conversation

@patrickabedin

Copy link
Copy Markdown

Summary

  • Whitelist esbuild, workerd, sharp, and msgpackr-extract in pnpm.onlyBuiltDependencies so pnpm 10 runs their install scripts.
  • Unblocks local installs and Cloudflare self-host deploys that depend on those native binaries.

Test plan

  • Run pnpm install and confirm the listed packages build without approve-builds
  • Confirm workerd and esbuild binaries exist under node_modules
  • Smoke-check pnpm deploy:selfhost --yes preflight still passes env/auth checks

Made with Cursor

pnpm 10 ignores dependency build scripts by default; whitelist esbuild, workerd, sharp, and msgpackr-extract so local install and Cloudflare deploys work.

Co-authored-by: Cursor <cursoragent@cursor.com>
@patrickabedin

Copy link
Copy Markdown
Author

Closing — this was opened against upstream by mistake from a personal fork setup.

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