Skip to content

Releases: yeoman/environment

Release v2.8.0

14 Feb 13:03
Compare
Choose a tag to compare
  • It’s possible to create shared data between generators, environment will populate generator's options with them.
    A default one have already been added sharedData.
  • Lookup now has many customizations and returns structure with package details.
  • Catch generator's instantiation errors.
  • New method: isPackageRegistered.
  • Fixes.

v2.7.0

18 Feb 22:49
Compare
Choose a tag to compare
2.7.0

v2.6.0

27 Oct 08:41
Compare
Choose a tag to compare
  • Expose new option on Environment.lookupGenerator('foo:bar', { packagePath: true }) to return the package path instead of the file path.

v2.5.0

14 Oct 01:06
Compare
Choose a tag to compare
  • Made the generator lookup function into a static method allowing to be used more easily as a util. example: const generatorPath = Environment.lookupGenerator('node:eslint')

v2.4.0

26 Jun 07:53
Compare
Choose a tag to compare
  • Bug Fix: npm prefix windows path
  • New Feature: Add a localOnly option who'll only search for generators locally in your project (ignoring those installed globally)

v2.3.4

04 Nov 04:57
Compare
Choose a tag to compare
  • Bug Fix: make sure resolved and namespace are attached when registering generators with their constructors directly. (PR #108)

v2.3.2

21 Aug 13:51
Compare
Choose a tag to compare
  • Performance improvements

v2.3.1

17 Jul 13:41
Compare
Choose a tag to compare
  • Fix errors being swallowed within composed generators.

v2.3.0

23 Jun 11:27
Compare
Choose a tag to compare
  • Add ability to register stub generators with manually defined resolved path

v2.2.0

31 May 15:36
Compare
Choose a tag to compare

Added support for generators compiled with Babel es6 module default settings (e.g. export default x as exports.default = x).