nx
nx copied to clipboard
"All but project-x-y" in implicit dependencies
Description
As far as the documentation tells me, we can define implicit dependencies either using * or listing the project names. It would be great if the syntax would support an exclude syntax, i.e.
"implicitDependencies": {
"package.json": {
"dependencies": "all-but-project-xy",
"devDependencies": "*"
},
},
Motivation
We have a few projects in our repository that are just docker files, hence no js code is written there. Using renovate to keep the dependencies up to date, we still run format, lint and test on these project, despite them not using any dependencies. Listing all other project explicitly is not feasible for us.
Suggested Implementation
Maybe support glob patterns?
Alternate Implementations
- Listing all projects explicitly
- Using jest test name pattern feature to exclude the respective tests when running the command.
This issue has been automatically marked as stale because it hasn't had any recent activity. It will be closed in 14 days if no further activity occurs. If we missed this issue please reply to keep it active. Thanks for being a part of the Nx community! 🙏
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.