-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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(task): support --filter #26949
feat(task): support --filter #26949
Conversation
Co-authored-by: Nathan Whitaker <[email protected]> Signed-off-by: Bartek Iwańczuk <[email protected]>
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 think we should actually make --filter imply --recursive (i believe that's what pnpm does)
Task dev echo '@foo/bar' | ||
@foo/bar | ||
Task dev echo '@foo/baz' |
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.
Note to self: I need to take a look at these tomorrow. I think the order of tasks is wrong here but maybe I made it too confusing with the fixtures.
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.
They didn't seem to depend on each other, and I believe were printed in reversed order
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.
The tasks itself don't yeah, but the packages do. When package A depends on B, the matching tasks from B must be executed first.
Co-authored-by: Nathan Whitaker <[email protected]> Signed-off-by: David Sherret <[email protected]>
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.
LGTM
Closes #24991