Nx Enforce Module Boundaries Tags: Scope and Layer for Backends
Use Nx tags on two axes, scope for domain and type for layer, and enforce both with depConstraints so lint catches architecture violations in a backend monorepo.
17 min read
Tag
Use Nx tags on two axes, scope for domain and type for layer, and enforce both with depConstraints so lint catches architecture violations in a backend monorepo.
17 min read
Design Nx scope and type tags as a two-axis dependency model, write depConstraints that hold in CI, and roll boundary rules into an existing workspace.
13 min read
Design a two-axis Nx tag model (scope and type), write depConstraints as an allow-list, retrofit existing workspaces, and enforce boundaries in CI.
13 min read