Skip to content
Permalink
Browse files

feat(wizard): using 3rd party wizard

  • Loading branch information...
bahmutov committed Dec 9, 2015
1 parent 05c243e commit b26fe04f6dac9647a252c578fbefbc3b88375910
Showing with 4 additions and 98 deletions.
  1. +2 −2 README.md
  2. +1 −0 package.json
  3. +1 −1 src/index.js
  4. +0 −95 src/message-wizard.js
@@ -20,8 +20,8 @@ This module can:
* validate a given message if it fits the above simple format
* guide the user with questions in order to form well formatted message

This was copied from [validate-commit-msg](https://www.npmjs.com/package/validate-commit-msg)
and cleaned up slightly to be both a wizard and a validator.
The validation was copied from [validate-commit-msg](https://www.npmjs.com/package/validate-commit-msg),
and the wizard is used from [cz-conventional-changelog](https://github.com/commitizen/cz-conventional-changelog).

## Install and use

@@ -57,6 +57,7 @@
},
"dependencies": {
"check-more-types": "2.3.0",
"cz-conventional-changelog": "1.1.5",
"lazy-ass": "1.3.0",
"word-wrap": "1.1.0"
}
@@ -8,5 +8,5 @@ module.exports = {
// and from https://github.com/commitizen/cz-conventional-changelog
parse: require('./valid-message').parse,
validate: require('./valid-message').validate,
prompter: require('./message-wizard').prompter
prompter: require('cz-conventional-changelog').prompter
}

This file was deleted.

0 comments on commit b26fe04

Please sign in to comment.
You can’t perform that action at this time.