Skip to content
SPECIFICTION
Get listed

affected vs Nx

affected

github.com

Nx

nx.dev

Side by side

FigureaffectedNx
Price fromFree$29/mo
Free planYesYes
Free trial—Yes
Open source——
Web—Yes
WindowsYesYes
macOSYesYes
LinuxYesYes
Self-hosted—Yes
Plans published13
Spec score · Monorepo Management Tools8.1 (#10)8.2 (#9)
CI integrationsIts CI output supports GitHub Actions, GitLab, CircleCI, Azure Pipelines and generic key-value output.Nx provides CI workflow setup for GitHub, CircleCI, GitLab, Azure Pipelines, Jenkins, and Bitbucket Pipelines.

Plans

affected

  • affectedFree

affected pricing →

Nx

  • HobbyFree
  • Team$29 a month
  • EnterprisePriced on request

Nx pricing →

In their own words

affected

affected is a free, MIT-licensed command-line tool for identifying monorepo packages touched by Git changes and running tests or other commands on those packages. It traces transitive dependencies and can explain the chain from 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, npm, pnpm, Yarn, Bun, Go, Python, Maven, Gradle, .NET, Swift, Dart/Flutter, Elixir, and Scala/sbt. CLI commands cover listing packages, testing, running commands, viewing graphs, CI, initialization, and watch mode. Execution options include parallel jobs, dry-run previews, timeouts, package filters, and skip patterns. Outputs include JSON, JUnit XML, CI formats, shell completions, dependency trees, and DOT graphs. GitHub Actions support includes a setup action and dynamic job matrices; a companion action can post and update pull request comments with affected packages and reasons. Installation options include Homebrew, Python and language package managers, GitHub Actions, and release binaries. It runs on Linux, macOS, and Windows.

Visit github.com

Nx

Nx is a build system for JavaScript and TypeScript monorepos, with plugins that can extend its work to other languages. It builds project and task graphs, follows task dependencies, and runs work in parallel where possible. Nx Core provides local caching; Nx Cloud adds a remote cache shared by teams and CI, and can distribute tasks across Nx Agents according to CPU and memory use. Plugins can infer tasks, generate or alter code, update dependencies, and provide executors. Documented integrations include Angular, React, Vue, Node.js, Java, .NET, Vite, Webpack, Rspack, Jest, Cypress, and Playwright. Nx also provides CI workflow setup for GitHub, CircleCI, GitLab, Azure Pipelines, Jenkins, and Bitbucket Pipelines. Nx Cloud describes trusted-branch cache writes, artifact traceability, and invalidation of artifacts made with revoked tokens. API communications are encrypted in transit, and task artifacts can be encrypted end to end before remote caching. Hobby is free forever, with monthly credits, contributor and CI-connection limits; Team is $29/month, with additional listed charges for usage, contributors, and connections.

Visit nx.dev