-
-
Notifications
You must be signed in to change notification settings - Fork 159
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
[feature] Run task for affected projects & anything that directly depends on them #1654
Comments
@narwold If you run the task with |
Logs:
|
Side note: I was going off of #1588 (comment) that indicated that |
This is now supported in v1.29. https://moonrepo.dev/blog/moon-v1.29#new-affected-projects-tracker |
Is your feature request related to a problem? Please describe.
The most basic need I have for this project is to run a task for what's changed, along with any dependents. It appears that I can QUERY these projects using this:
However, when I run the following, which I would intuitively think would operate on the same info, I get a different result:
I've read a couple of issues mentioned here that reference that
--affected
can't be combined with--dependents
forrun
, so I thought... well maybe at least it'll cache bust with--dependents
set. However, if I run......it still only busts the cache for @myscope/directlyaffectedlib.
Describe the solution you'd like
I'd like moon to simply be able to run a given task for changed packages and anything that depends on them (1 level at least, not deeply necessarily; deep dependency is a separate feature request already covered by someone else).
Describe alternatives you've considered
The only way I'm able to achieve this basic ask is like this:
Am I doing something wrong? Is there a more simple way to accomplish this?
Additional context
The text was updated successfully, but these errors were encountered: