Skip to content

v0.15.0

Compare
Choose a tag to compare
@SBoudrias SBoudrias released this 01 Jan 20:39
· 1149 commits to main since this release

Env

Adapters

Adapters are the big new feature. They should allow text editors from presenting a custom UI based on top of the Generator API. More detail on our wiki: https://github.com/yeoman/generator/wiki/Using-yeoman-in-non-cli-environment

Base Generator

  • the remote method now bind file-utils scoped environment to the remote object returned in the callback.
  • Generators can now all be extended with the .extend() method (similar to backbone inheritance way). This makes for a cleaner syntax and easier extension chain.
var yo = require('yeoman-generator');
var myGenerator = yo.generators.Base.extend({
  method1: function () {}
})

Misc

  • Added Performance Benchmark suite to allow us keep track of bottlenecks and possible improvement. These benchmarks run using Matcha (npm i -g matcha). Run them with matcha benchmarks/env.js.
  • We now use Gulp to run JSHint, code style checks and unit tests. Run gulp to run the acceptance build.