Skip to content

Commit c079fff

Browse files
authored
fixup: improve deprecation warning clarity for pnpm 11+ globalNeverBuiltDependencies
1 parent 460ea0f commit c079fff

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

libraries/rush-lib/src/logic/installManager/InstallHelpers.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ export class InstallHelpers {
8585
Colorize.yellow(
8686
`The "globalNeverBuiltDependencies" field in ` +
8787
`${rushConfiguration.commonRushConfigFolder}/${RushConstants.pnpmConfigFilename} ` +
88-
`is deprecated and is not supported by pnpm ${rushConfiguration.rushConfigurationJson.pnpmVersion}. ` +
88+
`is deprecated and will be ignored by pnpm ${rushConfiguration.rushConfigurationJson.pnpmVersion} ` +
89+
`(pnpm 11+ no longer reads build settings from package.json). ` +
8990
'Migrate to "globalAllowBuilds" instead. ' +
9091
`For example, replace "globalNeverBuiltDependencies": ["pkg"] ` +
9192
`with "globalAllowBuilds": { "pkg": false }.`

0 commit comments

Comments
 (0)