permalink

27

Yeoman Update: announcing 1.0 beta 4, Windows support, Refreshed Angular, Backbone, Ember generators and more.

Today we're happy to announce the release of Yeoman 1.0 beta 4. A number of large updates have been made to the project since beta 3, covering scaffolding, performance improvements and overall stability.

The community around the project has also been growing, tackling ideas such as Rails, PHP and Express middleware as well as new generators. In this post, I'll summarize the major updates made to the project as well as exciting work done by the community.

Team expansion

I am happy to welcome Brian Ford to the Yeoman team as a core contributor. I am also happy to welcome the following developers as official maintainers of our generators: Revath S Kumar (Backbone, BBB), Anthony Bull (Ember) and Jimmy Moon (Chrome extension). Special thanks are also in order to Pascal Hartig and Kevin Mårtensson who have been heavily contributing to the project lately.

Project updates

Note: You can update to the latest version by running npm update -g yo.

  • Windows support for 1.0 beta is close to being stable and many users are already using it on Windows without any issues. We'll be fixing any rough edges in the coming week.
  • Yeoman generators can now be optionally installed globally, which was not previously possible with beta 3.
  • The Web App generator now attempts an automatic post-install of Bower/other dependencies, which should save time when starting new projects (thanks to Sindre Sorhus). Performance optimizations have also been made here with our image, html, svg, css minification as well as coffeescript and sass compilation processing now all done concurrently.
  • Our Backbone.js generator is now compatible with 1.0 beta and RequireJS support has been added as a prompt. Our BBB – Backbone Boilerplate Buddy generator has also been updated to support 1.0 beta.
  • Our Ember.js generator is now 1.0 compatible and has been updated to the latest Ember starter kit. The generator also now correctly writes the Gruntfile for you.
  • Our AngularJS generator has been updated. Changes include automatic dependency installation, fixed CoffeeScript compilation and integration of grunt-rev into the build. More notes available in the changelog.
  • The Chrome Extension generator has also been updated to support the 1.0 beta
  • Start-up performance of all generators has been greatly improved (thanks to Pascal).
  • We've begun work on rewriting the Grunt-init templates to use our generator system. We hope to have this work complete in the coming weeks.
  • Documentation for our 1.0 generator system is being rewritten at present. Focus is on providing users with the right snippets to complete common tasks with generators.
  • Our entity-driven tooling proposal had a positive response from the community. We're going to discuss your feedback further and evaluate whether it's worth prettying this concept.

Workflow write-ups

I can't express how excited I am to see developers actively using Yeoman with a variety of different backend stacks. Recent articles by the community show you how to get these setup include:

and I've included a few others you might find interesting:

New generators for 1.0 beta

Remember that anyone in the community can write their own generator, helping developers kick-start off a project using a specific boilerplate or workflow. Some of the recent generators written by the community include:

You can see all of them on npmjs.org. For those wishing to take a look at a simple, but practical generator example, see the generator for HTML5 Boilerplate.

Sindre Sorhus has also written a few other simple generators that might be of interest including H5BP Mobile Boilerplate and a generator for server config.

New videos

Rob Levin, who previously recorded a number of videos about using Yeoman and Bower is back with new new videos about how to use Yeoman with Backbone and RequireJS. Watch Part 1, Part 2, Part 3 and Part 4 for all the details.

Help us make Yeoman better

Yeoman is an open-source project and we're always looking for more help to assist us in improving developer productivity. Whether it's contributing patches, reviewing code or writing documentation, we have tasks you can help with. If you're interested, hit us up and we'll help you contribute :)

Until next time, thanks and always feel free to let us know if we can improve the project in any way.

Note: If you experience an issue with beta 4, please read the issue submission guidelines and inform us of the bug.

27 Comments

  1. That’s awesome! I’ve stuck with Yeoman 0.9 for sometime cause since 1.0 it didn’t support Windows yet.

    Seeing this version makes me think of upgrading but I need to find a test machine first because my workflow is pretty stable right now with Yeoman 0.9 and I don’t wanna interrupt it.

    Good luck!

  2. Great work Addy! (and the rest of the Yo team)

    I’ve been watching you grow from day one into this awesome time saving tool, and the generators are great! I wish someday it can be integrated into sublime text so with a shortcut I could add more stuff to my angular app :)
    I know that’s probably part of your plans, so keep up the good work!

  3. Pingback: Yeoman 1.0 beta 4 Adds Windows Support | Flippin' Awesome

    • So, there’s a need to distinguish between Yo and Yeoman, which we tried to document over on yeoman.io. Scaffolding is the primary focus of Yo – the newer binary we introduced as part of the Yeoman beta which provides a useful baseline and generator system for avoiding the need to create boilerplate whenever you’re working on a new or existing project. Most of the generators mentioned in this update will use the yo command and a generator to scaffold out something.

      Yeoman however is a broader workflow, which is composed of Yo, Grunt and Bower. It’s purpose is to provide an optimal workflow for helping improve developer productivity – this is why you’ll find members of the Yeoman team contributing to projects like Grunt and Bower; it often makes sense to use all three of these together to solve scaffolding, build/test and package management. So, the Yeoman team will continue to try offering the best scaffolding experience for developers through yo, but keep in mind that we’re doing this by generating Grunt projects and pulling in dependencies using Bower – all three of them work together quite nicely.

      • Addy I now understand. Yeoman is a collection of tools which when put together provide a complete and robust workflow. There is room for some A/B on the taglines as there are a lot to be grasped in the mission. Or maybe i’m slow =)

        So in that respect, it would make sense to let ‘yo’ go, much like grunt let grunt-init go… so you can focus on yeoman’s mission.

        My frustration is that there’s too much uncertainty about the long-term prospects of the scaffolding solution, which makes it difficult for me to know where to invest my time. There are a lot to be done with generators, we’ve merely scratched the surface.

        • So, ‘yo’ is already it’s own separate module and the scaffolding solution it offers is going to stick around – our next goal is actually shaping it up to replace grunt-init and we would be happy to have more developers assist us with rewriting grunt-init’s templates over to yo if interested.

          In terms of where time can be invested there, we’re already looking at how we can improve the prompts system, wiring capabilities and offer APIs to ease more of the tasks developers are custom writing in their generators at the moment. Our team have contributors working on ‘yo’ and others on the broader workflow. I don’t feel that it’s a bottleneck.

          If you’re interested in helping with the project whether it’s at a generator level or otherwise, let me know!

  4. Awesome!

    Is yeoman/generator-backbone not on the npm registry yet? I wasn’t able to install it.

    Also what’s the deference between yeoman/generator-backbone and yeoman/generator-bbb ?

    I found another generator in npm, abiee/generator-backbone-amd. Is this an independent effort?

    Thanks for all your work :)

    • The Backbone generator should be on npm shortly if it hasn’t been updated already. I’ll chase that up for you. The main difference between generator-backbone and generator-bbb is that the latter scaffolds out a Backbone Boilerplate project (https://github.com/tbranyen/backbone-boilerplate) and is supposed to be a proof of concept of how ‘yo’ can be used to power tools like ‘bbb’ in the future. The standard Backbone generator doesn’t use Backbone Boilerplate, and instead scaffolds out vanilla views, has sub-generators for views, models and collections and so on. They are mostly two flavors of a similar generator. To your last question, yes that last one is independent.

  5. Pingback: Yeoman Update: announcing 1.0 beta 4, Windows support, Refreshed Angular, Backbone, Ember generators and more. | Professional Hackers For Hire

  6. Pingback: Yeoman Update: announcing 1.0 beta 4, Windows support, Refreshed Angular, Backbone, Ember generators and more. | Hacker for Hire, Hire a Hacker, Hack Facebook Ethical Hackers for Hire.

  7. It’s nice to see regular process of Yeoman updates. Keep up the great work!

    While this isn’t necessarily a bug, when I ran npm update -g yo, I got an error where it rolled back yo and made it unusable. So, to fix this problem, I had to reinstall yo with sudo npm install -g yo.

    Hope that helps someone else.

  8. Yeoman Update: announcing 1.0 beta 4, Windows support,
    Refreshed Angular, Backbone, Ember generators and more. ポールスミス 財布 不偏 サイト 繰り出す三 ブランド新ものはに関する買い物にその の話ではありません言及。

  9. Is there a plan/roadmap to develop angular-amd generator that plays well with Yeoman? I think Angular needs AMD baked in.

  10. I love this idea. But I find it too complicated. Especially for PHP applications. index.php does not support live reload and grunt build does not work at all. Using uglify.js I could previously just concat and minify my css and scripts. But yeoman offers caching and testing with it but at the cost of mind numbing complexity. Sorry for whining but I am finding it too difficult. Probably a good book on yeoman would help (just like Divya Maninan’s H5BP). By the way I love your book Javascript Design Patterns.

Leave a Reply

Required fields are marked *.