A build system and monorepo management tool for the web ecosystem, written in Rust.
open sourceMITself-hostablefree
moon is a repository management, organization, orchestration and notification tool for the web ecosystem, inspired by Bazel. It manages toolchains through proto, runs tasks with caching and dependency awareness, and is designed for incremental adoption project by project.
Ways to install
Package managers
Problems it solves
- package.json scripts in our monorepo have become unmanageable
- Bazel is too much for our TypeScript monorepo but we want its ideas
- make every project in the repo use the same Node and package manager version
- cache task results and skip work that hasn't changed
- adopt a monorepo build tool gradually, one project at a time
- run tasks in the right dependency order across projects
- CI runs every task in the repo on every commit
- a faster task runner written in a compiled language
Features
- task orchestration
- caching
- integrated toolchain via proto
- incremental adoption
- project graph
Capabilities
| Has a command line tool | plan not known |
|---|
Alternatives
The same job
These do what moon does.
- Turborepo Task runner and build system for JavaScript and TypeScript monorepos, with remote caching
- Bazel a fast, scalable, multi-language and extensible build system
- Rush Monorepo manager for building and publishing many JavaScript packages from one repo
- Nx The Monorepo Platform that amplifies both developers and AI agents.
- Pants Scalable build system for monorepos in many languages