EVERYTHING XIAOMI
Get listed

affected

affected is a free, MIT-licensed command-line tool that identifies monorepo packages touched by Git changes and can run tests or other commands on them.

Place
#21 of 33
Score
6.0
affected's website

What affected is

affected is a free, MIT-licensed command-line tool that identifies monorepo packages touched by Git changes and can run tests or other commands on them. It traces indirect dependencies and can show the chain linking a change to an affected package. The README says it detects project type and dependency graph automatically to get started without configuration. Supported ecosystems include Cargo, JavaScript package managers, Go, Python, Maven, Gradle, .NET, Swift, Dart/Flutter, Elixir, and Scala/sbt. Commands cover listing packages, testing, running commands, viewing graphs, CI, initialization, and watch mode. Execution can use parallel jobs, dry-run previews, timeouts, package filters, and skip patterns. Output options include JSON, JUnit XML, CI formats, shell completions, dependency trees, and DOT graphs. GitHub Actions support includes setup and dynamic job matrices; a companion action can post and update pull request comments with affected packages and reasons. Installation options include package managers, GitHub Actions, and release binaries. It runs on Linux, macOS, and Windows, and contributions and issue reports are welcomed through its repository.

Good

  • Traces transitive dependencies and explains the chain.
  • Runs commands in parallel across jobs.
  • Supports multiple CI output formats.
  • GitHub Actions can create dynamic job matrices.
  • Available for Linux, macOS, and Windows.

Watch out

  • It is a command-line tool.
  • Its documented setup and support are repository-based.

Who it suits

It suits developers maintaining monorepos who want to target tests or commands to packages affected by Git changes. Teams using the listed CI systems and language ecosystems can use its corresponding integrations and outputs.

Verdict

affected offers monorepo change analysis with broad ecosystem and CI support, plus controls for targeted command execution. It is a fit for teams comfortable using a CLI and configuring their workflow around its outputs.

Plans and prices

From affected's own pricing page, checked 3 Oct 2026.

All about pricing
PlanPriceWhat it gives you
affectedFreeMIT-licensed software · standalone CLI

The facts

Each one read from affected's own pages, with the date it was checked.

What it does

CI integrations
Its CI output supports GitHub Actions, GitLab, CircleCI, Azure Pipelines and generic key-value output.checked 3 Oct 2026
Commands
The CLI provides list, test, run, graph, ci, init and watch commands.checked 3 Oct 2026
Dependency analysis
It traces transitive dependencies to identify packages affected by a change and can explain the dependency chain.checked 3 Oct 2026
Distribution
The README documents installation through Homebrew, uv, pipx, pip, Cargo, GitHub Actions or a binary downloaded from Releases.checked 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.checked 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.checked 3 Oct 2026
GitHub Actions
The README documents a setup action and dynamic CI job matrices for affected packages.checked 3 Oct 2026
License
The repository identifies the software as MIT licensed.checked 3 Oct 2026
Outputs
The CLI supports JSON output, JUnit XML, shell completions and a Unicode dependency tree, with DOT graph output also available.checked 3 Oct 2026
PR comments
A companion GitHub Action can post and update pull request comments showing affected packages and reasons.checked 3 Oct 2026
Purpose
affected detects which monorepo packages are affected by Git changes and runs tests or other commands on those packages.checked 3 Oct 2026
Setup
The README says it auto-detects project type and dependency graph with zero configuration to start.checked 3 Oct 2026
Support
The README welcomes contributions and directs users to the repository's GitHub issues.checked 3 Oct 2026

Alternatives to affected

All alternatives
  1. 1

    npm

    Free planLinuxmacOSWindows
    7.5From $7 a month
  2. 2Turborepo logo

    Turborepo

    Free planOpen sourceAPILinuxmacOSSelf-hosted
    7.3Free plan
  3. 3Nx logo

    Nx

    Free planWebLinuxmacOSSelf-hosted
    7.2From $29 a month
  4. 4Bazel logo

    Bazel

    Free planLinuxmacOSWindows
    6.7Free plan
  5. 5

    Bit

    Free planAndroidiOSWebAPI
    6.7Free plan
  6. 6

    Lerna

    Free planWebSelf-hostedWindows
    6.7From $29 a month