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(package-rules): add matchRepositories / excludeRepositories #23085
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought we talked about matchRepositories
allowing for full literal match or /.../
for regex. But do you think this is too inconsistent with other fields?
We did 😅 When implementing I noticed that the other matchers which support string/regex arrays follow a I'm happy to go either way |
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Features are on hold till v36 is released. |
I like this idea, this would reduce the need for multiple matchers. we could do Minimatch by default and regex when starting and ending with slash. |
@setchy can you make this change?
|
I would rather do this in separate PR changes this for all matchers. |
Shall we raise a new issue / feature request. Add me as an assignee and I'll work on it as a fast follow this week. |
PR Analysis
PR Feedback
How to use
|
Head branch was pushed to by a user without write access
Let's add the caching separately |
Raised #23491 to track the minimatch caching feature request |
🎉 This PR is included in version 36.18.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Changes
Add new matcher for repository patterns
Context
#23017
Documentation (please check one with an [x])
How I've tested my work (please select one)
I have verified these changes via: