Analyzing @manypkg/get-packages In Changesets Source Code
@manypkg/get-packages utility by Thinkmill helps devs build tools for monorepos with Yarn, Bolt, Lerna, pnpm or Rush support. Used in Changesets source code to get packages.
In this article, we analyse @manypkg/get-packages and its usage in Changesets source code. @manypkg/get-packages @manypkg/get-packages is open-source utility written by Thinkmill. It is a simple utility to get the packages from a monorepo, whether they’re using Yarn, Bolt, Lerna, pnpm or Rush. This library exports getPackages and getPackagesSync. It is intended mostly for use of developers building tools that want to support different kinds of monorepos as an easy way to write tools without having to write tool-specific code. It supports Yarn, Bolt, Lerna, pnpm, Rush and single-packa...