Skip to content

[rush] supports "rush-pnpm patch-remove" command #4911

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Sep 9, 2024

Conversation

chengcyber
Copy link
Contributor

Summary

Support rush-pnpm patch-remove command

Details

"pnpm patch-remove" was introduced in the pnpm's 8.5.0 version. It's used to remove the patched dependencies. Official doc: https://pnpm.io/cli/patch-remove.

Technically, it follows the same fashion of rush-pnpm patch-commit. Sync up related files after executing pnpm patch-remove internally.

Here is a screenshot running the command locally.
image

How it was tested

Tested in Sparo repo.

Impacted documentation

I suppose not. The current rush-pnpm page in rush.js website doesn't list all supported commands there.

Quick link: https://rushjs.io/pages/commands/rush-pnpm/

@chengcyber chengcyber changed the title feat: add rush-pnpm patch-remove [rush] supports "rush-pnpm patch-remove" command Sep 1, 2024
@iclanton iclanton enabled auto-merge (squash) September 9, 2024 18:25
@iclanton iclanton merged commit 6a5ac8a into microsoft:main Sep 9, 2024
4 checks passed
@chengcyber chengcyber deleted the rush-pnpm-patch-remove branch September 23, 2024 21:22
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.

2 participants