0.0.2 • Published 5 years ago
lerna-packages v0.0.2
Lerna Packages
Get basic information about all your lerna packages.
Usage
npm i lerna-packages
const lernaPackages = require('lerna-packages');
const allPackages = lernaPackages();
lernaPackages({ options })
Returns an array of objects with the following data structure:
{
name: String,
private: Boolean,
version: String,
registry: String,
path: String
}
Options
rootDir
The directory containing yourlerna.json
. Defaults to the directory where you invode the function.additionalKeys
An array of additional keys to pull from the modules package.json. Defaults to[]
.