Command line wizard for lerna
Switch branches/tags
develop greenkeeper/babel-jest-20.0.0 greenkeeper/babel-jest-20.0.1 greenkeeper/babel-jest-20.0.2 greenkeeper/babel-jest-20.0.3 greenkeeper/babel-jest-21.0.0 greenkeeper/babel-jest-21.0.2 greenkeeper/babel-jest-21.2.0 greenkeeper/babel-jest-22.0.0 greenkeeper/babel-jest-22.0.1 greenkeeper/babel-jest-22.0.2 greenkeeper/babel-jest-22.0.3 greenkeeper/babel-jest-22.0.4 greenkeeper/babel-jest-22.0.6 greenkeeper/babel-jest-22.1.0 greenkeeper/babel-jest-22.2.0 greenkeeper/babel-jest-22.2.2 greenkeeper/babel-jest-22.4.0 greenkeeper/babel-jest-22.4.1 greenkeeper/babel-jest-22.4.4 greenkeeper/babel-jest-23.0.0-alpha.0 greenkeeper/babel-jest-23.0.0 greenkeeper/babel-jest-23.0.1 greenkeeper/coveralls-3.0.0 greenkeeper/coveralls-3.0.1 greenkeeper/cross-spawn-promise-0.10.0 greenkeeper/cross-spawn-promise-0.10.1 greenkeeper/inquirer-4.0.0 greenkeeper/inquirer-4.0.1 greenkeeper/inquirer-4.0.2 greenkeeper/inquirer-5.0.0 greenkeeper/inquirer-5.0.1 greenkeeper/inquirer-5.1.0 greenkeeper/inquirer-5.2.0 greenkeeper/inquirer-6.0.0 greenkeeper/inquirer-6.1.0 greenkeeper/inquirer-6.2.0 greenkeeper/inquirer-6.2.1 greenkeeper/jest-20.0.0 greenkeeper/jest-20.0.1 greenkeeper/jest-20.0.2 greenkeeper/jest-20.0.3 greenkeeper/jest-20.0.4 greenkeeper/jest-21.0.0 greenkeeper/jest-21.0.1 greenkeeper/jest-21.0.2 greenkeeper/jest-21.1.0 greenkeeper/jest-21.2.0 greenkeeper/jest-21.2.1 greenkeeper/jest-22.0.0 greenkeeper/jest-22.0.1 greenkeeper/jest-22.0.2 greenkeeper/jest-22.0.3 greenkeeper/jest-22.0.4 greenkeeper/jest-22.0.5 greenkeeper/jest-22.0.6 greenkeeper/jest-22.1.0 greenkeeper/jest-22.1.1 greenkeeper/jest-22.1.2 greenkeeper/jest-22.1.3 greenkeeper/jest-22.1.4 greenkeeper/update-to-node-10 master
Nothing to show
Clone or download
szarouski Merge pull request #14 from morriq/patch-1
Update README.md: use npx instead of adding lerna-wizard to packagejson
Latest commit 6bbc7dd Jul 24, 2018

README.md

Travis CI Build status Coverage Status

Lerna Wizard

Command line wizard for lerna.
demo.gif

Getting Started

Open terminal and run lerna-wizard if installed globally. If installed locally, you can run npx lerna-wizard in terminal.

If you would like filter out some of the commands that lerna wizard is showing (for example most likely you'll not need lerna init after first install), you can do so via require('lerna-wizard')(options), check bin/lerna-wizard for more details. Options example:

{
  commandMessage: 'What do you want to do?', //introduction message
  commandChoiceFilter({value}) {
    return !['ls', 'updated'].includes(value); //filter out any lerna command like bootstrap/init, ...
  }
}

Prerequisites

Wizard needs lerna to be available in the command line when lerna-wizard spawns commands.

npm i lerna@prerelease -g
or
npm i lerna@prerelease -S (and expose lerna to command line somehow)

Installing

To install lerna-wizard globally run

npm i lerna-wizard -g

Check Getting Started section for non-global installation details.

Running the tests

Tests are running on travis and appveyor. If you want to run tests locally, checkout package from git repo, run npm i then in order to test run npm test.

Built With

  • babel - The compiler for writing next generation JavaScript
  • cross-spawn-promise - Promisified cross platform child_process#spawn and child_process#spawnSync
  • inquirer - A collection of common interactive command line user interfaces
  • jest - Painless JavaScript Testing
  • rimraf - A deep deletion module for node

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE file for details

Acknowledgments

  • Hat tip to anyone who's code was used
  • Lerna authors and contributors
  • Kent C. Dodds for his public activity, which inspired me to make this project

Analytics