Git Product home page Git Product logo

lerna-wizard's Introduction

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

lerna-wizard's People

Contributors

greenkeeper[bot] avatar kibertoad avatar morriq avatar webuniverseio avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

lerna-wizard's Issues

Thank you 👋

Hey @szarouski! I just discovered this tool and I love it! I noticed your thank you in the README and just had to say Thank YOU! :)

Version 10 of node.js has been released

Version 10 of Node.js (code name Dubnium) has been released! 🎊

To see what happens to your code in Node.js 10, Greenkeeper has created a branch with the following changes:

  • Added the new Node.js version to your .travis.yml

If you’re interested in upgrading this repo to Node.js 10, you can open a PR with these changes. Please note that this issue is just intended as a friendly reminder and the PR as a possible starting point for getting your code running on Node.js 10.

More information on this issue

Greenkeeper has checked the engines key in any package.json file, the .nvmrc file, and the .travis.yml file, if present.

  • engines was only updated if it defined a single version, not a range.
  • .nvmrc was updated to Node.js 10
  • .travis.yml was only changed if there was a root-level node_js that didn’t already include Node.js 10, such as node or lts/*. In this case, the new version was appended to the list. We didn’t touch job or matrix configurations because these tend to be quite specific and complex, and it’s difficult to infer what the intentions were.

For many simpler .travis.yml configurations, this PR should suffice as-is, but depending on what you’re doing it may require additional work or may not be applicable at all. We’re also aware that you may have good reasons to not update to Node.js 10, which is why this was sent as an issue and not a pull request. Feel free to delete it without comment, I’m a humble robot and won’t feel rejected 🤖


FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Windows support is broken

Inquirer v3.x simply hangs on Windows when it is supposed to prompt user for a variable value.
This is fixed in newer versions of inquirer.
#18 includes fix for this problem.

"`--only-explicit-updates` has been removed" error message

$ lerna-wizard
? What do you want to do? [publish] Publish updated packages to npm
? Would you like to customize publishing? Yes
? Publish packages in a more granular way (per commit)? Before publishing to npm, it creates the new version tag by taking the current version and appending the current git s
ha (ex: 1.0.0-alpha.81e3b443). Yes
? Publish to npm without running any of the git commands (skip committing, tagging, and pushing git changes)? Yes
? Update all package.json package versions and dependency versions, but not actually publish the packages to npm? Yes
? Skip all confirmation prompts? No
? Bump versions only for packages that have been updated explicitly rather than cross-dependencies? Yes
? Publish to npm with custom npm dist-tag (defaults to latest)?
? Force publish the specified packages? Leave blank to skip this step. Specify comma-separated list of packages or use * for all
? Skip the version selection prompt and use the specified version? Useful for bypassing the user input prompt if you already know which version to publish. Leave blank to ski
p this step.
? What level of logs to report? On failure, all logs are written to lerna-debug.log in the current working directory. info
`--only-explicit-updates` has been removed. This flag was only ever added for Babel and we never should have exposed it to everyone.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.