Get a list of packages from a monorepo. Supports:
npm install --save get-monorepo-packagesimport getPackages from 'get-monorepo-packages';
getPackages('/path/to/root');Returns an array of objects containing:
location- The relative path to the package.package- Thepackage.jsonfile for the package.