Releases: yeoman/environment
Releases · yeoman/environment
Release v2.8.0
- 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.6.0
- Expose new option on
Environment.lookupGenerator('foo:bar', { packagePath: true })
to return the package path instead of the file path.
v2.5.0
- 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
- 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
- Bug Fix: make sure
resolved
and namespace
are attached when registering generators with their constructors directly. (PR #108)
v2.3.1
- Fix errors being swallowed within composed generators.
v2.3.0
- Add ability to register stub generators with manually defined resolved path
v2.2.0
Added support for generators compiled with Babel es6 module default settings (e.g. export default x
as exports.default = x
).