Skip to content
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

Merged
merged 3 commits into from
Jan 20, 2017
Merged

Update yeoman dependencies #14

merged 3 commits into from
Jan 20, 2017

Conversation

bmatto
Copy link
Contributor

@bmatto bmatto commented Jan 20, 2017

  • Use class extends syntax

- Use class extends syntax
@bmatto bmatto requested review from randycoulman and lexun January 20, 2017 15:37
@bmatto bmatto self-assigned this Jan 20, 2017
@bmatto bmatto requested a review from craineum January 20, 2017 15:41
Copy link
Contributor

@randycoulman randycoulman left a 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 {
Copy link
Contributor

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",
Copy link
Contributor

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.

@bmatto bmatto merged commit 4d070e4 into master Jan 20, 2017
@bmatto bmatto deleted the update-yeoman-generator branch January 20, 2017 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants