Socket
Socket
Sign inDemoInstall

@lerna/check-working-tree

Package Overview
Dependencies
60
Maintainers
2
Versions
63
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @lerna/check-working-tree

Check git working tree status and error appropriately


Version published
Weekly downloads
448K
decreased by-5.26%
Maintainers
2
Install size
752 kB
Created
Weekly downloads
 

Changelog

Source

3.14.2 (2019-06-09)

Bug Fixes

  • bootstrap: Respect --force-local option (#2104) (c2fb639)
  • child-process: Ensure adjacent prefixes are always a different color (5a10146)
  • npm-publish: Use generated manifest when publishing subdirectory (b922766), closes #2113
  • publish: Allow per-leaf subdirectory publishing (ea861d9), closes #2109
  • version: Remove unused dependency (285bd7e)

Readme

Source

@lerna/check-working-tree

Check git working tree status and error appropriately

Usage

const checkWorkingTree = require("@lerna/check-working-tree");

// values listed here are their defaults
const options = {
  cwd: process.cwd(),
};

(async () => {
  try {
    await checkWorkingTree(options);
  } catch (err) {
    console.error(err.message);
    // "Working tree has uncommitted changes, ..."
  }
})();

Install lerna for access to the lerna CLI.

Keywords

FAQs

Last updated on 09 Jun 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc