@platyplus/lerna
TypeScript icon, indicating that this package has built-in type declarations

0.0.14 • Public • Published

@platyplus/lerna

A simple node API that wraps some Lerna commands

Installation

yarn add @platyplus/lerna

Usage

import lerna from '@platyplus/lerna'

// ...
// In an async block:

const p = await getLernaPackage('@my-org/package-name')
console.log(p)
/*
{
    name: '@my-org/package-name'
    location: '/absolute/path/to/package'
    version: 'package-version'
    private: true/false
}
*/

// Scope is optional
const deps = await getLernaDependencies(scope)

// Scope is optional
const exists = await hasLernaPackage(scope)

Readme

Keywords

none

Package Sidebar

Install

npm i @platyplus/lerna

Homepage

platy.dev

Weekly Downloads

0

Version

0.0.14

License

MIT

Unpacked Size

8.48 kB

Total Files

6

Last publish

Collaborators

  • plmercereau