v0.22.0
New features
- Async tasks can now return a Promise instead of calling
this.async()
generator#registerTransformStream()
can now take an array of transform streams- Extracted
require('yeoman-generator').test
to a new package (require('yeoman-test')
in the hope on reducing the size of the dependencies on the end users)
Integration improvement
- When the user select
abort
in a conflict prompt, we're now throwing anAbortedError
rather than callingprocess.exit()
Deprecation
Remember, these only log deprecation warnings in the console and are not yet removed. Follow the instructions on these warnings to update your code.
generators.NamedBase
is deprecatedrequire('yeoman-generator').test
is deprecated (as explained higher)require('yeoman-generator').assert
is deprecated in favor of directly usingrequire('yeoman-assert')
require('yeoman-generator').generators
is deprecated (you can do the same withrequire('yeoman-generator')
)