Skip to content

Commit

Permalink
feat(wizard): using 3rd party wizard
Browse files Browse the repository at this point in the history
  • Loading branch information
bahmutov committed Dec 9, 2015
1 parent 05c243e commit b26fe04
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 98 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -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"
}
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Expand Up @@ -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
}
95 changes: 0 additions & 95 deletions src/message-wizard.js

This file was deleted.

0 comments on commit b26fe04

Please sign in to comment.