- Home
- Monorepo Management Tools
- affected
affected
What it is
affected is a free, MIT-licensed command-line tool for monorepos. It identifies packages touched by Git changes, follows transitive dependencies, and explains the dependency chain connecting a change to affected packages. It can run tests or other commands on those packages, including parallel execution across jobs. The README says project type and dependency graph detection require no configuration to begin. Supported ecosystems include Cargo, npm, pnpm, Yarn, Bun, Go, Python, Maven, Gradle, .NET, Swift, Dart/Flutter, Elixir, and Scala/sbt. CLI commands cover listing, testing, running, graph viewing, CI, initialization, and watch mode. Dry runs, timeouts, package filters, and skip patterns are available. Outputs include JSON, JUnit XML, shell completions, Unicode dependency trees, and DOT graphs. GitHub Actions setup, dynamic matrices, and pull-request comments are documented. It runs on Linux, macOS, and Windows, with installation through several package managers, Actions, or release binaries.
For and against
For
- Free, open-source MIT software
- Supports many package ecosystems
- Traces transitive dependency chains
- Parallel execution and dry runs
- Runs on Linux, macOS, Windows
Against
- Command-line tool rather than a graphical app
- Requires interpreting dependency and CI outputs
The verdict
affected provides broad monorepo change analysis with commands for local work and CI. Its ecosystem coverage, dependency explanations, and output formats suit teams managing many packages.
Who it suits
It suits developers maintaining monorepos across the listed ecosystems who need targeted tests or commands after Git changes. CI users can use its integrations, matrices, and pull-request reporting.
Plans and prices
affected
MIT-licensed software · standalone CLI
Read 3 Oct 2026 · github.com
On the record
- CI integrations
- Its CI output supports GitHub Actions, GitLab, CircleCI, Azure Pipelines and generic key-value output.github.com · read 3 Oct 2026
- Commands
- The CLI provides list, test, run, graph, ci, init and watch commands.github.com · read 3 Oct 2026
- Dependency analysis
- It traces transitive dependencies to identify packages affected by a change and can explain the dependency chain.github.com · read 3 Oct 2026
- Distribution
- The README documents installation through Homebrew, uv, pipx, pip, Cargo, GitHub Actions or a binary downloaded from Releases.github.com · read 3 Oct 2026
- Ecosystems
- It lists support for Cargo, npm, pnpm, Yarn, Bun, Go, Python, Maven, Gradle, .NET, Swift, Dart/Flutter, Elixir and Scala/sbt.github.com · read 3 Oct 2026
- Execution
- Commands can run in parallel across multiple jobs, and the CLI supports dry-run previews, timeouts, package filters and skip patterns.github.com · read 3 Oct 2026
- GitHub Actions
- The README documents a setup action and dynamic CI job matrices for affected packages.github.com · read 3 Oct 2026
- License
- The repository identifies the software as MIT licensed.github.com · read 3 Oct 2026
- Outputs
- The CLI supports JSON output, JUnit XML, shell completions and a Unicode dependency tree, with DOT graph output also available.github.com · read 3 Oct 2026
- PR comments
- A companion GitHub Action can post and update pull request comments showing affected packages and reasons.github.com · read 3 Oct 2026
- Purpose
- affected detects which monorepo packages are affected by Git changes and runs tests or other commands on those packages.github.com · read 3 Oct 2026
- Setup
- The README says it auto-detects project type and dependency graph with zero configuration to start.github.com · read 3 Oct 2026
- Support
- The README welcomes contributions and directs users to the repository's GitHub issues.github.com · read 3 Oct 2026