Skip to content

[rush] fix allPreferredVersions and allowedAlternativeVersions fields are not recorded in subspace pnpmfileSettings.json#5610

Closed
LPegasus wants to merge 0 commit into
microsoft:mainfrom
LPegasus:main
Closed

[rush] fix allPreferredVersions and allowedAlternativeVersions fields are not recorded in subspace pnpmfileSettings.json#5610
LPegasus wants to merge 0 commit into
microsoft:mainfrom
LPegasus:main

Conversation

@LPegasus

@LPegasus LPegasus commented Feb 7, 2026

Copy link
Copy Markdown
Contributor

Summary

Fixes #5602

Details

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

How it was tested

  1. Add a unit test file: SubspacePnpmfileConfiguration.test.ts.
  2. Build 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: Closed

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