Replies: 1 comment 2 replies
-
|
That sounds very complicated. Can you create an issue? I think in your case, the best thing to do is give you an option for a function that provides all the context, so you can programmatically implement it. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! I struggle to set up enforce module boundaries rule in NX, so I decided to try out this lib, but it seems that it also doesn't support the use case I need.
Basically, I need
type:appto be able to depend ontype:apiandtype:shelllibs inscope:*, but at the same time -type:ui,type:utilinscope:shared. The problem already starts here - I have no idea how to describe it with current rule settings from your docs.Similar stuff - I have those rules of different types of libs can or cannot depend on each other within the domain, but I also need to not allow them to depend on anything in other domains other than
type:api, andtype:*in shared.Any way to do that?
Though initially that I'll be able to achive that with functions, but they only give 1 tag at time, and you can't use logical expressions in rules, which makes it kinda almost useless
Beta Was this translation helpful? Give feedback.
All reactions