Get a list of packages from a monorepo
npm install get-monorepo-packagesget-monorepo-packages




Get a list of packages from a monorepo. Supports:
* Lerna
* Yarn workspaces
* Bolt
``bash`
npm install --save get-monorepo-packages
`js`
import getPackages from 'get-monorepo-packages';
getPackages('/path/to/root');
Returns an array of objects containing:
* location - The relative path to the package.package
* - The package.json` file for the package.