Socket
Socket
Sign inDemoInstall

@lerna/check-working-tree

Package Overview
Dependencies
58
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
461K
decreased by-9.34%
Maintainers
2
Install size
725 kB
Created
Weekly downloads
 

Changelog

Source

3.8.1 (2018-12-31)

Bug Fixes

  • Do not print duplicate stdio after a streaming command errors (#1832) (2bcc366), closes #1790
  • npm-publish: Pass normalized manifest to libnpm/publish (8e59950), closes #1843
  • progress: Correctly avoid progress where we don't want it (0de3df9)
  • progress: Enable progress during logging setup, correcting default (da81e60)
  • publish: --canary should also respect --include-merged-tags (462b15c), closes #1820

Features

  • command: log whether CI environment has been detected (#1841) (db5631e), closes #1825

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, ..."
  }
})();

Keywords

FAQs

Last updated on 31 Dec 2018

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