npm.io
0.0.2 • Published 7 years ago

lerna-packages

Licence
ISC
Version
0.0.2
Deps
1
Size
3 kB
Vulns
0
Weekly
0
DeprecatedThis package is deprecated

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 your lerna.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 [].

Keywords