-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(core): add support for wildcards in dependsOn (#19611)
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)
- Loading branch information
1 parent
8462387
commit e2eda2c
Showing
5 changed files
with
286 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.