Releases: yeoman/generator
Releases · yeoman/generator
v6.0.1
v6.0.0
The yeoman-generator
package now export a native ESM module. (Learn more about ESM)
Notable changes:
- Convert to typescript
- Drop node 12/14 support.
- Requires yeoman-environment
^3.18.4
. - Provides built-in types.
- Uses new
@yeoman/types
for environment/generator interoperability. May conflict with@types/yeoman-*
types. - Move skipParseOptions and customPriorities to features c12806a
- Drop deprecated install (and not included by default) action 1a856b1
Install action was not scalable. A separated task package can be considered at yeoman-api. run-async
is not provided anymore:
Convert to Promises or userun-async
v3:
import runAsync from 'run-async';
class Gen {
asyncTaskWithCallback: runAsync(function() {
const done = this.async();
asyncMethod(done);
}),
}
- composeWith is async:
- If used inside constructor, move it to
_postConstruct
orbeforeQueue
. - Due to complexity, prefer
composeWith(generator, composeOptions
signature.
- If used inside constructor, move it to
v6.0.0-rc.6
- allow to customize queueTransformStream priority 7f1f8e1
v6.0.0-rc.5
v6.0.0-rc.4
- Fix composeLocallyWithOptions composing generators with factories df635f1
v6.0.0-rc.3
- allow to ignore 'This Generator is empty' error 5291e9c
v6.0.0-rc.2
- don't emit error at environment, environment's queueTask should handle failures. 02e6785
v6.0.0-rc.1
v6.0.0-rc.0
The yeoman-generator
package now export a native ESM module. (Learn more about ESM)
- Drop node 12/14 support.
- Requires yeoman-environment
^3.18.4
. - Provides built-in types.
- Uses new
@yeoman/types
for environment/generator interoperability. May conflict with@types/yeoman-*
types. - Move skipParseOptions and customPriorities to features c12806a
- Drop deprecated install (and not included by default) action 1a856b1
Install action was not scalable. A separated task package can be considered at yeoman-api. run-async
is not provided anymore:
Convert to Promises or userun-async
v3:
import runAsync from 'run-async';
class Gen {
asyncTaskWithCallback: runAsync(function() {
const done = this.async();
asyncMethod(done);
}),
}
- composeWith is async:
- If used inside constructor, move it to
_postConstruct
orbeforeQueue
. - Due to complexity, prefer
composeWith(generator, composeOptions
signature.
- If used inside constructor, move it to