Overview
Learn how to use Nx module boundaries to maintain a clean architecture by controlling dependencies between projects using tags and dependency constraints.
Ban Dependencies with Tags
Learn how to use the notDependOnLibsWithTags property to prevent projects from depending on libraries with specific tags in your Nx workspace.
Ban External Imports
Learn how to use ESLint module boundary constraints to prevent projects from importing specific external packages and enforce separation of concerns.
Tag Multiple Dimensions
Learn how to use multiple tag dimensions in Nx to create more sophisticated module boundary constraints, controlling dependencies between projects based on scope, type, and other attributes.
Tags Allow List
Learn how to create exceptions to your module boundary rules by configuring allow lists that permit specific imports that would otherwise be restricted.