Skip to content

[rush] Fix(#5602): allPreferredVersions and allowedAlternativeVersions missing in subspace pnpmfileSettings.json#5611

Open
LPegasus wants to merge 2 commits intomicrosoft:mainfrom
LPegasus:fix-5602
Open

[rush] Fix(#5602): allPreferredVersions and allowedAlternativeVersions missing in subspace pnpmfileSettings.json#5611
LPegasus wants to merge 2 commits intomicrosoft:mainfrom
LPegasus:fix-5602

Conversation

@LPegasus
Copy link
Contributor

@LPegasus LPegasus commented Feb 7, 2026

Summary

Fixes #5602: allPreferredVersions and allowedAlternativeVersions missing in subspace pnpmfileSettings.json.

Details

Following the same logic in https://github.com/microsoft/rushstack/blob/main/libraries/rush-lib/src/logic/pnpm/PnpmfileConfiguration.ts#L87-L134

How it was tested

  1. Added a unit test file.

  2. Rebuild rush-lib and test in my sample repo.

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.

[rush] common-versions.json preferredVersions will cause rush install always fail when subspaces feature is enabled

1 participant