This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@lerna/collect-uncommitted

6.4.1 • Public • Published

@lerna/collect-uncommitted

Check git working tree status and collect uncommitted changes for display

Usage

const { collectUncommitted } = require("@lerna/collect-uncommitted");

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

(async () => {
  try {
    const results = await collectUncommitted(options);
    console.log(`Uncommitted changes on CWD ${options.cwd}: ${results.join("\n")}`);
  } catch (err) {
    console.error(err.message);
  }
})();

Install lerna for access to the lerna CLI.

Readme

Keywords

Package Sidebar

Install

npm i @lerna/collect-uncommitted

Homepage

lerna.js.org

Weekly Downloads

513,135

Version

6.4.1

License

MIT

Unpacked Size

4.42 kB

Total Files

4

Last publish

Collaborators

  • jameshenry
  • nrwlowner