Moon is a repository management, orchestration, and notification tool for the web ecosystem, written in Rust. It streamlines package managers, language versions, and tasks across a monorepo.
Overview
Moon targets teams working in JavaScript, TypeScript, Node, and related stacks who need one place to organize projects, run tasks, and keep tooling versions aligned. Concepts draw from Bazel and other build systems, but the tool is framed around incremental adoption so you can migrate project by project or task by task.
Management features include smart hashing for deterministic builds, remote caching shared with teammates and CI, and an integrated toolchain that downloads explicit tool versions per workspace or project. Organization features include a project graph, code generation scaffolds, dependency workspaces alongside package managers, and code ownership metadata that can feed CODEOWNERS.
Orchestration runs actions in parallel according to a dependency graph, supports incremental rebuilds when inputs change, and can distribute actions across machines. Notification covers flaky-build detection, webhooks, terminal notifications, and git hooks.
The project runs on Linux, macOS, and Windows. Editor extensions are mentioned for environments such as Visual Studio Code.
Key features
- Smart hashing for reproducible builds
- Remote build caching
- Integrated per-project toolchains
- Project and dependency graphs
- Parallel action pipeline
- Incremental rebuilds
- Code generation scaffolds
- Git hooks and webhook events
Use cases
- Monorepo task orchestration
- Consistent Node and language versions
- Replacing duplicated package scripts
- CI-friendly cached builds
- Gradual monorepo migration