Skip to content
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

feat: update selected packages by passing patterns to the update command #7746

Merged
merged 2 commits into from
Aug 7, 2023

Conversation

zkochan
Copy link
Member

@zkochan zkochan commented Aug 6, 2023

Proposed Changes

The bit update command accepts an optional array of package name patterns to pre-filter packages to update. For instance:

bit update "@mycompany/*" "!@mycompany/ignore" webpack --yes

This command would update:

  • any packages from the @mycompany scope, except the @mycompany/ignore package
  • the webpack package

@@ -1,3 +1,4 @@
import multimatch from 'multimatch';
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the package that we already use in bit CLI for similar tasks.

@GiladShoham GiladShoham merged commit bc2429e into master Aug 7, 2023
@GiladShoham GiladShoham deleted the bit-update branch August 7, 2023 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants