Skip to content

Switch pnpm-config.json from globalNeverBuiltDependencies to globalOnlyBuiltDependencies allowlist - #5955

Draft
David Michon (dmichon-msft) with Copilot wants to merge 1 commit into
mainfrom
copilot/update-pnpm-config-json
Draft

David Michon (dmichon-msft) with Copilot wants to merge 1 commit into
mainfrom
copilot/update-pnpm-config-json

Conversation

Copilot AI commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

PNPM 10.x disables install/build scripts by default, making an allowlist (globalOnlyBuiltDependencies) the correct mechanism instead of the denylist (globalNeverBuiltDependencies) previously configured.

Config changes (common/config/rush/pnpm-config.json)

  • Removed globalNeverBuiltDependencies (previously only suppressed unrs-resolver)
  • Enabled globalOnlyBuiltDependencies, allowlisting the packages that legitimately need build scripts:
"globalOnlyBuiltDependencies": ["esbuild", "@swc/core", "@vscode/vsce-sign", "keytar"]

… in pnpm-config.json

Co-authored-by: dmichon-msft <26827560+dmichon-msft@users.noreply.github.com>

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

Labels

None yet

Projects

Status: Needs triage

Development

Successfully merging this pull request may close these issues.

2 participants