Repository navigation
fix: add pnpm-workspace.yaml to approve build scripts for native deps - #4230
Merged
Merged
Conversation
pnpm 11 requires explicit approval of dependency build scripts via allowBuilds in pnpm-workspace.yaml. Without this file, pnpm walks up to the parent directory and finds placeholder values, causing ERR_PNPM_IGNORED_BUILDS for ced, esbuild, keytar, native-keymap, and electron-winstaller. Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR aims to make pnpm install succeed under newer pnpm “build script approval” behavior by adding a repository-local pnpm-workspace.yaml that explicitly allows build scripts for a small set of native / build-time dependencies.
Changes:
- Add
pnpm-workspace.yamlto stop pnpm from inheriting/using parent-directory workspace policy. - Explicitly approve dependency build scripts for
ced,esbuild,keytar,native-keymap, andelectron-winstaller.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Closed
thimbleberrysystems
pushed a commit
to thimbleberrysystems/WordBird
that referenced
this pull request
Jun 21, 2026
…marktext#4230) pnpm 11 requires explicit approval of dependency build scripts via allowBuilds in pnpm-workspace.yaml. Without this file, pnpm walks up to the parent directory and finds placeholder values, causing ERR_PNPM_IGNORED_BUILDS for ced, esbuild, keytar, native-keymap, and electron-winstaller. Co-authored-by: Claude Sonnet 4.6 <[email protected]>
This was referenced Sep 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
allowBuildsinpnpm-workspace.yamlERR_PNPM_IGNORED_BUILDSforced,esbuild,keytar,native-keymap, andelectron-winstallerpnpm-workspace.yamlwithallowBuilds: truefor all five packages sopnpm installcompletes cleanlyTest plan
pnpm installand verify noERR_PNPM_IGNORED_BUILDSwarning appearspnpm run devand verify the app starts normally🤖 Generated with Claude Code