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(core): add support for wildcards in dependsOn #19611

Open
wants to merge 16 commits into
base: master
Choose a base branch
from

Conversation

fxposter
Copy link

Now it is possible to define targets like this:

{
  "targets": {
    "build-css": {},
    "build-js": {},
    "test": {
      "dependsOn": ["build-*"]
    },
  }
}

Current Behavior

No support for wildcard target dependencies.

Expected Behavior

This PR is an example of what I described here: #19414.

Related Issue(s)

Closes #19414

Now it is possible to define targets like this:

```
{
  "targets": {
    "build-css": {},
    "build-js": {},
    "test": {
      "dependsOn": ["build-*"]
    },
  }
}
```
@fxposter fxposter requested a review from a team as a code owner October 13, 2023 19:48
@vercel
Copy link

vercel bot commented Oct 13, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
nx-dev ✅ Ready (Inspect) Visit Preview May 7, 2024 1:04pm

@fxposter
Copy link
Author

@AgentEnder @FrozenPandaz guys, can you evaluate this idea, please?

@fxposter
Copy link
Author

@AgentEnder @FrozenPandaz guys?..

@fxposter
Copy link
Author

@FrozenPandaz @AgentEnder maybe now is the better time to look at it? It even passed all the tests :)

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.

dependencyOf - the inverse of dependsOn
2 participants