Skip to content

fix(rush): Allow 'rush-pnpm' to forward arbitrary commands#5745

Closed
aryanjsingh wants to merge 1 commit intomicrosoft:mainfrom
aryanjsingh:fix/issue-5035-rush-rush-pnpm-outdated-does-not-work
Closed

fix(rush): Allow 'rush-pnpm' to forward arbitrary commands#5745
aryanjsingh wants to merge 1 commit intomicrosoft:mainfrom
aryanjsingh:fix/issue-5035-rush-rush-pnpm-outdated-does-not-work

Conversation

@aryanjsingh
Copy link
Copy Markdown

Summary

The 'rush-pnpm' command was not correctly forwarding commands like 'outdated' to pnpm because it was missing a default action. This change configures a default action for 'rush-pnpm' to pass through arbitrary commands. It also corrects the working directory to 'common/temp', which is necessary for pnpm workspace commands to function correctly.

Changes

  • apps/rush/src/cli/actions/PnpmAction.ts: In PnpmAction.ts, set the action as the default to catch arbitrary commands like outdated. Additionally, update the workingDirectory to commonTempFolder to ensure pnpm workspace commands execute in the correct context.

Related Issue

Closes #5035

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] rush-pnpm outdated does not work

1 participant