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-generator to the latest version 🚀 #64

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

greenkeeper[bot]
Copy link

@greenkeeper greenkeeper bot commented Sep 12, 2017

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 and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

@grayside grayside added the ready label Sep 12, 2017
greenkeeper bot added a commit that referenced this pull request Sep 30, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented Sep 30, 2017

Version 2.0.1 just got published.

Update to this version instead 🚀

Release Notes v2.0.1
  • Bump dependencies (including security patch on debug)
Commits

The new version differs by 2 commits.

See the full diff

@grayside
Copy link
Contributor

I have yet to understand how to refactor to support Yeoman 2. I may need to look at whether there's an updated yeoman generator-generator that produces a scaffolding for a clue. The Yeoman documentation itself is emphasizing a less declarative way of laying out the index.js, but while our currently approach (declarative, grouped queue model) isn't invalid, it's not explicitly documented anywhere how to use it.

greenkeeper bot added a commit that referenced this pull request Dec 26, 2017
@greenkeeper
Copy link
Author

greenkeeper bot commented Dec 26, 2017

Version 2.0.2 just got published.

Update to this version instead 🚀

Release Notes v2.0.2
  • Fix error when the prompt choices options is provided as a function instead of an array. (Drawback: this will turn off Yeoman reuse of the previously provided answer)
Commits

The new version differs by 4 commits.

  • 967cb0f 2.0.2
  • d291b78 Bump dependencies
  • f7b8167 fix: Do not apply user defaults when question.choices is a function. Fix #1051
  • 825305e Fix typo in comment (#1044)

See the full diff

greenkeeper bot added a commit that referenced this pull request Feb 19, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Feb 19, 2018

Version 2.0.3 just got published.

Update to this version instead 🚀

Commits

The new version differs by 3 commits.

  • d8253fc 2.0.3
  • 971c1a8 Fix issue #1050 regarding unsecured dependencies (#1056)
  • 150053c Update Travis version support

See the full diff

greenkeeper bot added a commit that referenced this pull request Apr 13, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Apr 13, 2018

Version 2.0.4 just got published.

Update to this version instead 🚀

Release Notes v2.0.4
Commits

The new version differs by 3 commits.

See the full diff

greenkeeper bot added a commit that referenced this pull request Jul 1, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Jul 1, 2018

Version 3.0.0 just got published.

Update to this version instead 🚀

Release Notes v3.0.0

Maintenance release with a few breaking change that shouldn't impact most users.

Breaking

  • mem-fs-editor updated to latest release. A sub-dependency moved from node-glob to fast-glob, so some of the this.fs methods glob options will change.
  • Install methods: npmInstall, bowerInstall, yarnInstall and installDependencies do not return promises anymore. This behavior was confusing and a major source of bugs. To handle actions after the install might've run (if user didn't specify --skip-install), use the end run loop phase.
  • Renamed runInstall to scheduleInstallTask

New

  • For users of the Yeoman API: generator.run() now returns a promise as well as taking a callback (the callback will keep working for the foreseeable future as we need to maintains backward compatibility with older generators)
Commits

The new version differs by 13 commits.

  • 682ea68 3.0.0
  • b1e62ec Add some missing jsdoc coverage
  • 4f3c6e8 Update Generator#run() to return a promise
  • 240a666 Breaking: Remove callbacks/promises from install APIs (Fix #1077)
  • 29880bd Breaking: bump major dependencies
  • 5fca282 Setup Prettier + bump dev dependencies
  • 91b297c Remove nsp + update minimum engine in package.json
  • 314a52c npm audit fix
  • b4f1bfc Make tests robust (#1072)
  • 0d97e24 Update prepublish hook to prepublishOnly
  • dae9aa7 2.0.5
  • f23aac1 Bump dependencies
  • 36a0368 Output skipped or failed install commands (#1069)

See the full diff

greenkeeper bot added a commit that referenced this pull request Jul 24, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Jul 24, 2018

Version 3.1.0 just got published.

Update to this version instead 🚀

Commits

The new version differs by 3 commits.

  • db0e153 3.1.0
  • 74ada52 scheduleInstallTask should fail incase installer fails and --force-install option set Fix #1080 (#1081)
  • 68d7da1 Fix test on Windows (#1078)

See the full diff

greenkeeper bot added a commit that referenced this pull request Jul 28, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Jul 28, 2018

Version 3.1.1 just got published.

Update to this version instead 🚀

Release Notes v3.1.1

Fix some issues with --force-install not being detected properly from the command line arguments.

Commits

The new version differs by 2 commits.

  • 392fd5d 3.1.1
  • 93ad4e0 force-install is not used properly #1082 (#1083)

See the full diff

greenkeeper bot added a commit that referenced this pull request Dec 22, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Dec 22, 2018

Update to this version instead 🚀

Commits

The new version differs by 5 commits.

  • 3bbeef0 3.2.0
  • 8111562 Bump dependencies
  • 1fd0d5f Bump dev dependencies
  • ac944f7 Overload composeWith method to allow a generator class along its path (#1099)
  • 1cd1031 Check if run callback is specific before setting it as the promise handler

See the full diff

greenkeeper bot added a commit that referenced this pull request May 8, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented May 8, 2019

Update to this version instead 🚀

Commits

The new version differs by 6 commits.

  • 7d48623 4.0.0
  • f240d1a Fix broken dependency on Node 12
  • 9daf15e Bump dependencies
  • cf6bcec Update support Node version matrix
  • 715fd36 Bump dev dependencies
  • f7f7755 Run separate install process if spawnOptions differs (#1108)

See the full diff

greenkeeper bot added a commit that referenced this pull request May 28, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented May 28, 2019

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Sep 1, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Sep 1, 2019

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Sep 26, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Sep 26, 2019

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Oct 27, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Oct 27, 2019

Update to this version instead 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant