-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update yeoman dependencies #14
Conversation
bmatto
commented
Jan 20, 2017
- Use class extends syntax
- Use class extends syntax
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple of comments, but otherwise LGTM!
const humps = require('humps') | ||
|
||
module.exports = generators.Base.extend({ | ||
prompting: function() { | ||
module.exports = class extends Generator { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this class have a name for debug-ability/stack traces? Not sure if we'd ever see it.
@@ -1,6 +1,6 @@ | |||
{ | |||
"name": "generator-react-zeal", | |||
"version": "0.1.9", | |||
"version": "0.2.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor nit: I normally do a separate commit with a version bump and CHANGELOG update just before doing a release, rather than making it part of another commit. This gives me the flexibility to put multiple commits in a release, and also avoids merge conflicts if I have multiple PRs all trying to bump the version number. Up to you, though.
- Will uptick on release