/commonality

📦 Structure, maintain, and operate JavaScript codebases that scale from one developer to hundreds.

Primary LanguageTypeScriptMozilla Public License 2.0MPL-2.0

Commonality

Commonality helps you structure growing JavaScript monorepos and package ecosystems with the tools you already love.

No wrappers. No lock-in. Open-source.

Overview     Get started

Run the command below in an existing project to set up Commonality in seconds

npx commonality init

Features

Every feature in Commonality is designed to be adopted incrementally. Start with a single package and scale it to an entire organization.

Checks

Scale a consistently amazing developer experience with a monorepo linter that can be customized to your standards and existing tools.

Constraints

Maintain a dependency graph that's easy to reason about by limiting which packages can depend on each other.

Tags

Group packages by their purpose, concern, or domain without a tight coupling to directory structure. Use tags to selectively apply checks and constraints to packages.

Codeowners

Correlate ownership rules from a CODEOWNERS file to packages in your project.

Studio

Commonality Studio is the best way to visualize your monorepo. Explore your dependency graph, manage tags, and view conformance health.

Explore any JavaScript project with a single command:

npx commonality studio

Learn more about Commonality Studio

Author

Created by Alec Chernicki