Socket
Socket
Sign inDemoInstall

@lerna/check-working-tree

Package Overview
Dependencies
59
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
467K
decreased by-6.08%
Maintainers
2
Install size
731 kB
Created
Weekly downloads
 

Changelog

Source

3.14.0 (2019-05-14)

Bug Fixes

  • add: Never pass filter options to nested bootstrap (9a5a29c), closes #1989
  • run-lifecycle: Bump npm-lifecycle dependency to avoid noisy audit warning (ea7c20d)

Features

  • conventional-commits: Add conventional prerelease/graduation (#1991) (5d84b61), closes #1433 #1675
  • dist-tag: Prompt for OTP when required (af870bb)
  • exec: Add just-in-time queue management (23736e5)
  • import: Add --preserve-commit option (#2079) (6a7448d)
  • link: generate shims for missing 'bin' scripts (#2059) (90acdde), closes #1444
  • listable: Use QueryGraph.toposort() helper (84ce674)
  • publish: Add --otp option (6fcbc36), closes #2076
  • publish: Add just-in-time queue management (ae6471c)
  • publish: Add OTP prompt during publish (#2084) (c56bda1), closes #1091
  • publish: Display uncommitted changes when validation fails (#2066) (ea41fe9)
  • query-graph: Add toposort() helper (90759c2)
  • run: Add just-in-time queue management (#2045) (6eca172)
  • run: Extract @lerna/run-topologically (3a8b175)
  • version: Add just-in-time queue management (290539b)

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 14 May 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