Skip to content

Releases: yeoman/generator

v5.1.0

06 Mar 03:31
Compare
Choose a tag to compare
  • Add features argument to constructor. 9729a58
  • Delete option instead of setting undefined. 86d1ad3

v5.0.1...v5.1.0

v5.0.1

22 Feb 14:24
Compare
Choose a tag to compare
  • Bump xo to 0.38.1 and move to devDependencies. 3f51315

v5.0.0...v5.0.1

v5.0.0

20 Feb 22:21
Compare
Choose a tag to compare

Breaking changes

  • Requires node 12.
  • Requires yeoman-environment@3.0.0 (unreleased yo@4).
  • Conflicter moved to the Environment.
  • Install action is deprecated and is not included by default.
    • Replaced by package.json manipulation
      • addDependencies({dependency: 'version'})
      • addDevDependencies({dependency: 'version'})
      • this.packageJson storage. Eg: this.packageJson.merge({scripts: {test: 'mocha'}});
    • Install task will be executed later by the Environment when package.json changes.
    • To load it:
const Generator = require('yeoman-generator');
-_.extend(Generator.prototype, require('yeoman-generator/lib/actions/install'));
  • Singleton Generators support passing unique: 'namespace' or unique: 'argument'.
  constructor(args, options = {}) {
    super(args, {...options, unique: 'namespace'}
  }
  • Misc
    • this.(spawnCommand/spawnCommandSync) switched to execa and now defaults cwd to this.destinationRoot().
    • Dropped support for kebab case options.
    • composeWith() isn't chainable anymore and delegates the running to the Environment for singleton checks.
    • Replaced registerTransformStream with queueTransformStream.
      New api executes transformations before the commit operation, and is executed for every generator.
    • Dependencies update.

v4.13.0...v5.0.0

v4.13.0

30 Jan 23:02
Compare
Choose a tag to compare

v4.12.0...v4.13.0

Release v4.12.0

31 Aug 19:05
Compare
Choose a tag to compare
  • Fixes running --help.
  • Implement registerPriorities.

Release v4.11.0

26 Jun 14:55
Compare
Choose a tag to compare
  • Add Storage caching.
  • Add support to generators with no tasks.
  • Add Storage proxy, it can be used as a plain js object instead of using get/set.
  • Pass the generator as context to ejs (when using built-in shortcuts).
  • Bug fixes.

Release v4.10.1

11 May 15:24
Compare
Choose a tag to compare
  • Add skipLocalCache option.
    Cache prompt suggestions only to global yo-rc.

Release v4.10.0

03 May 20:49
Compare
Choose a tag to compare
  • Add shortcuts to mem-fs-editor methods
  • Make properties/functions starting with # reserved for composing.
  • Fixes and improvements.

Release v4.9.0

24 Apr 15:26
Compare
Choose a tag to compare
  • Add support to prompts with storage. this.prompt(prompts, this.config); will use the storage to read/write answers.
    • Prompt is ignored if the value is !== undefined (pass --ask-answered to force the prompt to be shown, stored value is the default value)

Release v4.8.3

22 Apr 10:59
Compare
Choose a tag to compare
  • Remove run-queue pause.
    It doesn’t work due to multiple scheduled runs.