manypkg
github.com
What it is
manypkg is a command-line linter for package.json files in Yarn, npm, pnpm, Bun, and Lerna monorepos. It checks consistency across packages, including matching external dependency ranges, internal dependency ranges that include the referenced package version, and alphabetical ordering of dependencies. Other checks cover peer and development dependency relationships, root production dependencies, duplicate dependency types, package names, and repository fields. The `manypkg check` command runs repository checks, logs errors, and exits with a code. When a problem can be corrected automatically, `manypkg fix` can apply a fix. The CLI also runs package scripts with `manypkg run`, selecting a package by partial name or directory, and runs a command across packages with `manypkg exec`. The root package.json can configure ignored rules, the default branch, and workspace protocol behavior; the protocol setting defaults to `allow`. Installation is documented with `yarn add @manypkg/cli`. The tool is free and licensed under MIT. Thinkmill is its maker, based in Sydney, Australia; listed platforms are Linux, macOS, and Windows.
Spec sheet
- What it does
- Manypkg is a linter for package.json files in monorepos.Read 8 Oct 2026 · github.com
- Purpose
- Manypkg is a linter for package.json files in Yarn, npm, pnpm, Bun or Lerna monorepos.Read 8 Oct 2026 · github.com
- Security
- The opened project pages provided no security or compliance claims.Read 8 Oct 2026 · github.com
- Support
- The opened project pages provided no dedicated support terms.Read 8 Oct 2026 · github.com
- License
- The project is licensed under the MIT License.Read 8 Oct 2026 · github.com
- Headquarters
- Sydney, AustraliaRead 28 Sep 2026 · github.com
- Maker
- The GitHub organization identifies the maker as Thinkmill and lists Australia as its location.Read 8 Oct 2026 · github.com
- Automatic fixes
- The `manypkg fix` command runs checks and fixes problems that can be fixed automatically.Read 8 Oct 2026 · github.com
- Check command
- manypkg check runs the repository checks, logs errors and exits with a code.Read 8 Oct 2026 · github.com
- Checks
- The `manypkg check` command runs the repository checks, logs errors and exits with a code.Read 8 Oct 2026 · github.com
- Configurable rules
- The root package.json `manypkg` configuration supports ignored rules and a workspace protocol setting, whose default is `allow`.Read 8 Oct 2026 · github.com
- Configuration
- The root package.json can configure the default branch, ignored rules and whether the workspace: protocol is required or allowed.Read 8 Oct 2026 · github.com
- Dependency consistency
- Manypkg checks that dependency ranges for external packages match across packages, excluding peerDependencies.Read 8 Oct 2026 · github.com
- Dependency sorting
- Manypkg checks that dependencies in dependency fields are sorted alphabetically.Read 8 Oct 2026 · github.com
- Execute across packages
- The `manypkg exec` command executes a CLI command for all packages within a monorepo.Read 8 Oct 2026 · github.com
- Fix command
- manypkg fix runs the checks and fixes problems that can be fixed.Read 8 Oct 2026 · github.com
- Install
- The README documents installation with `yarn add @manypkg/cli`.Read 8 Oct 2026 · github.com
- Internal dependencies
- Manypkg checks that dependency ranges on internal packages include the internal package version.Read 8 Oct 2026 · github.com
- Open source activity
- The Thinkmill organization page lists the manypkg repository as updated Jul 22, 2026.Read 8 Oct 2026 · github.com
- Other checks
- Checks include peer and dev dependency relationships, root production dependencies, duplicate dependency types, package names, alphabetical sorting and repository fields.Read 8 Oct 2026 · github.com
- Package manager
- The repository root declares Yarn 1.22.22 as its package manager.Read 8 Oct 2026 · github.com
- Run package scripts
- The `manypkg run` command executes scripts for packages within a monorepo.Read 8 Oct 2026 · github.com
- Run packages
- manypkg run executes a script for a package selected by partial package name or directory.Read 8 Oct 2026 · github.com
- Support contact
- The Thinkmill GitHub organization lists [email protected] as its contact email.Read 8 Oct 2026 · github.com
- Supported monorepos
- The README names Yarn, npm, pnpm, Bun and Lerna monorepos as supported.Read 8 Oct 2026 · github.com
Plans and prices
Strong points and limits
Strong points
- Supports Yarn, npm, pnpm, Bun, and Lerna monorepos.
- Checks internal and external dependency consistency.
- Can automatically fix some detected problems.
- Runs scripts and commands across packages.
- Free under the MIT License.
Limits
- No remote caching.
- No affected-build support.
Who it suits
manypkg suits developers maintaining package.json files across supported monorepos who want consistency checks and automatic fixes. It also provides commands for running scripts or CLI tools across packages.
Verdict
manypkg offers a focused set of monorepo checks and package-wide commands at no cost. Its checks and fixes are limited to problems it can identify and correct automatically.
Where Specifiction places it
- Monorepo Management Tools#3 of 338.4