Skip to content
pubscout

mono_repo

6.9.0, released 5 weeks ago by google.dev

CLI tools to manage multiple Dart packages within a single source repository.

$ flutter pub add mono_repo
Source repository

What it does

mono_repo helps you manage a multi-package repository by generating CI configuration files for child packages, running commands across all packages simultaneously, and checking repository state.

AI-written summary of version 6.9.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You are maintaining a monorepo containing multiple Dart or Flutter packages
  • You need to automatically generate and synchronize CI workflows (such as GitHub Actions) for all packages

Skip it when

  • You are working with a single standalone Dart or Flutter package
  • You do not use CI platforms supported by the tool

Strengths

  • Automates CI configuration generation for multi-package repositories
  • Allows running arbitrary pub and dart commands across all packages at once
  • Supports integration with Dependabot for workflow files

Weaknesses

  • Requires specific configuration files (mono_repo.yaml and mono_pkg.yaml) at the repository and package levels

Setup

Kind
Pure Dart
Effort
Low
Code generation
Yes (build_runner)
Direct dependencies
12

Install globally via `dart pub global activate mono_repo`, then place a `mono_repo.yaml` file at the root of your repository.

dart pub global activate mono_repo
mono_repo generate

Alternatives

Packages that do the same job and could replace mono_repo.

  • emulators

    A utility library to automate mobile emulators and manage screenshots.

Works with

Packages commonly used together with mono_repo: ones it builds on, ones built on it, and its own family.