talira

Monorepo and multi-package tool for Dart and Flutter

open sourceApache-2.0free

Melos is Invertase's tool for managing Dart and Flutter repositories with one or many packages, inspired by Lerna. It builds on pub workspaces and runs scripts, tests and analysis across every package, versions packages from Conventional Commits, generates changelogs, publishes to pub.dev and generates IDE run configurations. It also works in a repository with a single app or package. It's the Dart and Flutter counterpart to Nx, Turborepo and Lerna.

Problems it solves

  • manage a Flutter monorepo with many packages without running commands in each one
  • version and publish several Dart packages from one repository
  • generate changelogs from Conventional Commits for my Dart packages
  • run tests across every package in my Flutter repo with one command

Features

  • runs scripts, tests and analysis across all packages
  • automated versioning from Conventional Commits
  • changelog generation
  • publishing to pub.dev
  • IDE run configurations for apps
  • builds on pub workspaces
  • works in single-package repositories too

Alternatives

The same job

These do what Melos does.

  1. Nx The Monorepo Platform that amplifies both developers and AI agents.
  2. Turborepo Task runner and build system for JavaScript and TypeScript monorepos, with remote caching
  3. Lerna Build system for managing and publishing many JavaScript/TypeScript packages from one repository
  4. moon A build system and monorepo management tool for the web ecosystem, written in Rust.

Compare Melos with the top 3