Skip to content

Releases: yeoman/generator

v0.21.2

28 May 00:44
Compare
Choose a tag to compare

Maintenance release of the 0.21 version.

Force downgrade yeoman-environment to keep tests utilities compatible on that version.

v0.23.3

04 May 18:28
Compare
Choose a tag to compare
  • Downgrade deps for Node < v4 compatibility.

v0.23.2

04 May 18:27
Compare
Choose a tag to compare
  • Downgrade deps for Node < v4 compatibility.

v0.23.1

03 May 07:32
Compare
Choose a tag to compare

Fix a regression we introduced in the [email protected] series where some errors would simply get ignored. This shouldn't have impacted any generator used through yo, but it might have swallowed errors happening during tests. These errors are now correctly surfaced.

v0.23.0

02 May 00:38
Compare
Choose a tag to compare

Base#prompt() functions now returns a promise instead of taking a callback parameter. That'll make it easier to use inside asynchronous tasks.

prompting: function () {
   return this.prompt(questions).then(function (answers) {
    this.answers = answers;
  }.bind(this));
}

This feature might requires a recent version of yo to work (npm -g update yo).

v0.22.6

19 Apr 17:54
Compare
Choose a tag to compare

Fix issue where error would be swallowed when no error listeners are set.

v0.22.5

09 Feb 04:00
Compare
Choose a tag to compare
  • Fix export bug we introduced in 0.22.4

v0.22.4

17 Jan 04:30
Compare
Choose a tag to compare
  • Fix generator destinationPath not being updated correctly if a .yo-rc.json file was found in a parent directory.

v0.22.3

11 Jan 08:13
Compare
Choose a tag to compare
  • When a process was listening for errors happening during a generator run, the process would ignore the error and run every tasks to completion (#888). Generators now correctly stop once an error is thrown.

v0.22.2

27 Dec 02:54
Compare
Choose a tag to compare
  • Fix option alias parsing
  • Normalize default option between this.prompt() and this.option() - it's now always written default (defaults is aliased for now to maintain backward compatibility)