From 5e01f8ee0174b565a8febc4d70c51ceafa912af7 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 21 Aug 2026 22:28:25 +0000 Subject: [PATCH] Replace globalNeverBuiltDependencies with globalOnlyBuiltDependencies in pnpm-config.json Co-authored-by: dmichon-msft <26827560+dmichon-msft@users.noreply.github.com> --- common/config/rush/pnpm-config.json | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/common/config/rush/pnpm-config.json b/common/config/rush/pnpm-config.json index 95be728644..efb9a1a8e2 100644 --- a/common/config/rush/pnpm-config.json +++ b/common/config/rush/pnpm-config.json @@ -535,22 +535,6 @@ } }, - /** - * The `globalNeverBuiltDependencies` setting suppresses the `preinstall`, `install`, and `postinstall` - * lifecycle events for the specified NPM dependencies. This is useful for scripts with poor practices - * such as downloading large binaries without retries or attempting to invoke OS tools such as - * a C++ compiler. (PNPM's terminology refers to these lifecycle events as "building" a package; - * it has nothing to do with build system operations such as `rush build` or `rushx build`.) - * The settings are copied into the `pnpm.neverBuiltDependencies` field of the `common/temp/package.json` - * file that is generated by Rush during installation. - * - * PNPM documentation: https://pnpm.io/package_json#pnpmneverbuiltdependencies - */ - "globalNeverBuiltDependencies": [ - // The postinstall script redundantly downloads the platform binding, which PNPM installs as an optional dependency. - "unrs-resolver" - ], - /** * The `globalOnlyBuiltDependencies` setting specifies which dependencies are permitted to run * build scripts (`preinstall`, `install`, and `postinstall` lifecycle events). This is the inverse @@ -570,9 +554,7 @@ * "@swc/core" * ] */ - // "globalOnlyBuiltDependencies": [ - // "esbuild" - // ], + "globalOnlyBuiltDependencies": ["esbuild", "@swc/core", "@vscode/vsce-sign", "keytar"], /** * The `globalIgnoredOptionalDependencies` setting suppresses the installation of optional NPM