Organizational Decisions
Topics that need to be considered when structuring your repository
Overview
Evaluate the organizational considerations for choosing between monorepo and polyrepo approaches, including team agreements on code management and workflows.
Monorepos
Understand the benefits of monorepos including shared code, atomic changes, developer mobility, and consistent dependencies across your organization.
Dependency Management
Compare independently maintained dependencies versus single version policy approaches for monorepos, with guidance on choosing the right strategy for your team.
Code Ownership
Learn about code ownership challenges in monorepos and how Nx helps manage shared code with tools like CODEOWNERS and module boundary rules.
Project Size
Understand the trade-offs of project granularity in Nx, including benefits like faster commands, clearer boundaries, and improved developer experience.
Project Dependency Rules
Learn how to organize your Nx workspace with library types like feature, UI, data-access, and utility libraries, and enforce dependency rules between them.
Folder Structure
Learn about organizing your Nx monorepo with effective folder structures, and how to easily move or remove projects as your organization evolves.