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 use run-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 or beforeQueue.
Due to complexity, prefer composeWith(generator, composeOptions signature.
v6.0.0-rc.6
allow to customize queueTransformStream priority 7f1f8e1
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps yeoman-generator from 5.9.0 to 6.0.0.
Release notes
Sourced from yeoman-generator's releases.
... (truncated)
Commits
5e59844
6.0.04296f50
6.0.0-rc.6b224faa
fix typo7f1f8e1
allow to customize queueTransformStream priority0eb085f
6.0.0-rc.5232587e
Run own or immediately extended beforeQueue (#1475)1938e71
Bump actions/checkout from 3 to 4 (#1473)2d8b8b1
Bump execa from 7.1.1 to 8.0.1 (#1469)5b729fe
Bump read-pkg-up from 9.1.0 to 10.1.0 (#1470)465aea2
6.0.0-rc.4Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show