-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
☁️ Nx Cloud ReportCI is running/has finished running commands for commit 45ac9aa. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this CI Pipeline Execution
✅ Successfully ran 5 targets
Sent with 💌 from NxCloud. |
@AgentEnder @FrozenPandaz guys, can you evaluate this idea, please? |
@AgentEnder @FrozenPandaz guys?.. |
☁️ Nx Cloud ReportCI is running/has finished running commands for commit 081155f. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this CI Pipeline Execution ✅ Successfully ran 6 targets
Sent with 💌 from NxCloud. |
@FrozenPandaz @AgentEnder maybe now is the better time to look at it? It even passed all the tests :) |
212d0a6
to
a9dd434
Compare
a9dd434
to
147747e
Compare
6dfbcac
to
25efd07
Compare
25efd07
to
b6874c0
Compare
b6874c0
to
68cbe6c
Compare
Now it is possible to define targets like this: ``` { "targets": { "build-css": {}, "build-js": {}, "test": { "dependsOn": ["build-*"] }, } } ```
68cbe6c
to
f553649
Compare
f553649
to
f231a89
Compare
f231a89
to
081155f
Compare
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.
Thank you for your contribution! LGTM 🎉
Now it is possible to define targets like this: ``` { "targets": { "build-css": {}, "build-js": {}, "test": { "dependsOn": ["build-*"] }, } } ``` <!-- Please make sure you have read the submission guidelines before posting an PR --> <!-- https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr --> <!-- Please make sure that your commit message follows our format --> <!-- Example: `fix(nx): must begin with lowercase` --> ## 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 --------- Co-authored-by: Craigory Coppola <[email protected]> (cherry picked from commit 3e0d2de)
This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request. |
Now it is possible to define targets like this:
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