Skip to content

Releases: yeoman/generator

v4.1.0

26 Sep 04:40
Compare
Choose a tag to compare
  • New --bail flag who'll exit the generator as soon as a conflict occurs.
  • New generator#queueMethod() allows generator to programmatically schedule tasks on the queue. This can be useful for parents generator who're inherited by children generators to schedule some default tasks automatically. (not a very common use, but might be useful in some edge cases)

v4.0.2

01 Sep 16:20
Compare
Choose a tag to compare
  • Fix bug with detection of binary files.

v4.0.0

08 May 01:52
Compare
Choose a tag to compare

Breaking

  • Officially supports Node >= 8 (dropped support for Node 6)
  • Install methods will be run 1 time per set of arguments. Previously we'd only run them once no matter the arguments, this prevented use case like different npm settings for more complicated setup with different targets (server/browser) #1108

v3.2.0

22 Dec 12:34
Compare
Choose a tag to compare

Added a new optional syntax to use composeWith:

this.composeWith({
    Generator: require('generator-x'),
    path: require.resolve('generator-x')
})

v3.1.1

28 Jul 17:36
Compare
Choose a tag to compare

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

v3.1.0

28 Jul 17:35
Compare
Choose a tag to compare

Add --force-install flag which will cause the generator to throw if the installation phase fail.

v3.0.0

01 Jul 13:54
Compare
Choose a tag to compare

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)

v2.0.5

30 Apr 08:32
Compare
Choose a tag to compare

Output more useful information to end user when a command fails or is skipped.

v2.0.4

13 Apr 21:45
Compare
Choose a tag to compare

v2.0.3

19 Feb 15:51
Compare
Choose a tag to compare
  • Update dependencies with security vulnerabilities.