Allow excludes flag to utilize project configuration properties #28982
Buttars
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a set of applications and buildable libraries that each contain a "deploy" target. I'd like to utilize the "projectType" property in each project.json to exclude certain projects. For example I'd like to do
nx run-many lint test deploy --exclude="projectType:library"
to exclude any libraries that may have those targets. Additionally, it may also be useful to be able to target specific applications that utilize a specific application runner.Extending the excludes and projects flag to allow targeting of properties in the project.json will make running selective tasks across projects extremely flexible and powerful.
Beta Was this translation helpful? Give feedback.
All reactions