doug-wade / generator-sub

A Yeoman generator for writing cli apps inspired by 37signals sub
MIT License
3 stars 0 forks source link

Update yeoman-generator to the latest version 🚀 #37

Closed greenkeeper[bot] closed 6 years ago

greenkeeper[bot] commented 6 years ago

Version 2.0.0 of yeoman-generator just got published.

Dependency yeoman-generator
Current Version 1.1.1
Type dependency

The version 2.0.0 is not covered by your current version range.

Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.

I recommend you look into these changes and try to get onto the latest version of yeoman-generator. Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.


Release Notes v2.0.0

This release fix a few bugs and focus on modernizing our codebase to ES6 style.

Breaking changes

  • Generator.extend() is replaced in favor of class extends Generator {}
  • Generator#github.username() now returns a promise instead of taking a callback
  • Install functions now returns promises (installDependencies, runInstall, bowerInstall, npmInstall and yarnInstall)

New features

  • installDependencies now accept command line arguments as options for each sub-command (#1014)
    this.installDependencies({
      npm: {saveDev: true},
      bower: {depth: 0}
    });

Fix

  • Fix diffing dying on empty files (#1028)
Commits

The new version differs by 20 commits.

  • 9e4ccf5 2.0.0
  • a29e5d9 Bump dependencies
  • 96da393 Bump package-lock.json
  • 4b1b841 Replace gulp with raw Mocha
  • 6effbfe Use raw nsp
  • 183b3a8 Get rid of before/after (toward jest migration)
  • 68d59c1 Add package-lock.json
  • f8e46b0 Don't die on diffing file deletions (again) (#1028)
  • edc2bf2 [comments] Change wrong param name in description (#1018)
  • 364606e Switch to make-dir
  • eaf1ade New: option shorthand on installDependencies method (#1015)
  • e296e52 Bump XO and minor style tweaks
  • 9da7391 Bump dependencies
  • b010701 More ES2015ifing
  • cfd2a8e Refactor install methods to handle promises - ref #1006

There are 20 commits in total.

See the full diff

Not sure how things should work exactly? There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html) and of course you may always [ask my humans](https://github.com/greenkeeperio/greenkeeper/issues/new).

Your Greenkeeper Bot :palm_tree: