NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm
npm, #4728 most downloaded on npm
> Find the root of a monorepo with Yarn workspaces, npm, Lerna, pnpm, Bun or Rush
Latest stable
3.1.0
Last release 1 years ago
25 Jul 2025
Release timing varies
gaps range from 2 weeks to 2.6 years
Nearly every release is documented
notes for 10 of 10 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
10 releases · first in 2020
Drag across the ruler to compare, or tap a release to open it.
Updated dependencies \[`2c06ac0`]:
Updated dependencies \[`28c3ff4`, `28c3ff4`, `3cf8c4e`, `1763058`, `a00f5f7`, `ceeb7cb`, `f29df03`]:
#250 3cf8c4e Thanks @Andarist! - Fixed an issue with projects using npm workspaces being recognized as yarn projects
#242 1763058 Thanks @spanishpear! - This package is now published as a pure ESM package.
#244 f29df03 Thanks @Andarist! - Add "engines" field for explicit node version support. The supported node versions are >=20.0.0.
Your coding agent can read these notes before it upgrades. Set up the MCP server →
#250 3cf8c4e Thanks @Andarist! - Fixed an issue with projects using npm workspaces being recognized as yarn projects
#242 1763058 Thanks @spanishpear! - This package is now published as a pure ESM package.
#244 f29df03 Thanks @Andarist! - Add "engines" field for explicit node version support. The supported node versions are >=20.0.0.
28c3ff4 Thanks @benmccann! - Added DEFAULT_TOOLS exportUpdated dependencies \[`66cdbc0`, `18c0ce3`, `c0a5e5d`]:
#215 2ebda03 Thanks @benmccann! - Remove find-up dependency
#212 c0a5e5d Thanks @benmccann! - Remove fs-extra from dependencies
Updated dependencies [66cdbc0, 18c0ce3, c0a5e5d]:
Updated dependencies \[`361a34f`]:
#208 361a34f Thanks @benmccann! - Add git repository info to package.json
Updated dependencies [361a34f]:
### Patch Changes - #201 `3c9641c` Thanks @manzoorwanijk! - Fixed the error for getPackages when given a non-root directory
3c9641c Thanks @manzoorwanijk! - Fixed the error for getPackages when given a non-root directoryUpdated dependencies \[`de0fff3`]:
de0fff3 Thanks @steve-taylor! - Restored support for Bolt monorepos.de0fff3]:
de0fff3 Thanks @steve-taylor! - Restored support for Bolt monorepos.de0fff3]:
### Minor Changes - #167 `bf586f5` Thanks @elliot-nelson! - The findRoot and findRootSync methods now take an optional list of Tool implementations, a
bf586f5 Thanks @elliot-nelson! - The findRoot and findRootSync methods now take an optional list of Tool implementations, allowing the caller to restrict the desired types of monorepo discovered, or provide a custom monorepo tool implementation.bf586f5 Thanks @elliot-nelson! - The getPackages and getPackagesSync methods now take an optional list of Tool implementations, allowing the caller to restrict the desired types of monorepo discovered, or provide a custom monorepo tool implementation.bf586f5]:
Updated dependencies \[`a01efc9`]:
#151 a01efc9 Thanks @elliot-nelson! - The find-root package now returns a new MonorepoRoot interface, instead of a string. This interface provides a rootDir for the discovered monorepo, and a tool object, which is an object using the new Tool interface provided by @manypkg/tools.
#165 7b9c4f6 Thanks @Andarist! - Removed support for Bolt monorepos.
#162 f046017 Thanks @Andarist! - Increased the transpilation target of the source files to node@14.x. At the same time added this as package.json#engines to explicitly declare the minimum node version supported by this package.
a01efc9]:
#165 7b9c4f6 Thanks @Andarist! - Removed support for Bolt monorepos.
#162 f046017 Thanks @Andarist! - Increased the transpilation target of the source files to node@14.x. At the same time added this as package.json#engines to explicitly declare the minimum node version supported by this package.
#151 a01efc9 Thanks @elliot-nelson! - The get-packages package now returns a slightly different structure. The old tool string has been replaced with a tool object, using the new Tool interface provided by @manypkg/tools. Each Package now contains both the absolute directory and relative directory path. Last, the root package has been renamed rootPackage and is optional, to support monorepos that do not contain a root package.
#220 28c3ff4 Thanks @benmccann! - Return values became serializable again. An identifier for the detected tool is returned instead of an instance of a Tool object.
#250 3cf8c4e Thanks @Andarist! - Fixed an issue with projects using npm workspaces being recognized as yarn projects
#242 1763058 Thanks @spanishpear! - This package is now published as a pure ESM package.
#244 f29df03 Thanks @Andarist! - Add "engines" field for explicit node version support. The supported node versions are >=20.0.0.
`a4db72a` #63 Thanks @evocateur! - Add support for Lerna monorepos
a4db72a #63 Thanks @evocateur! - Add support for Lerna monoreposa4db72a #63 Thanks @evocateur! - Add support for Lerna monoreposa4db72a]:
de0fff3 Thanks @steve-taylor! - Restored support for Bolt monorepos.`72a0112` #47 Thanks @tarang9211! - Initial release of @manypkg/find-root
72a0112 #47 Thanks @tarang9211! - Initial release of @manypkg/find-root72a0112 #47 Thanks @tarang9211! - Initial release of @manypkg/get-packages. If you're migrating from get-workspaces, the most important changes are:
tool, packages and rootname field and the config property has been renamed to packageJsonSee the README for more information on the new API
72a0112]:
a01efc9 Thanks @elliot-nelson! - Introduces a new Tool API that provides key functions related to a specific implementation of a monorepo, like isMonorepoRoot and getPackages. Existing tool implementations in manypkg have been converted to use this new interface.One column per quarter.