Live data from Hacker News

Yeoman 1.0 Released

yeoman.io

11–20 of 58 posts

Re: Yeoman 1.0 Released

#11
post #9

Earlier quoted context omitted.

Guessing here, but you might have some older, incompatible generators installed. Could you try to reinstall your global generators?

I wiped out all npm modules and reinstalled node. Still getting error. I installed yeoman using: sudo npm install -g yo generator-webapp grunt-contrib-compass

That shouldn't happen then. Would you mind opening an issue at https://github.com/yeoman/yo/issues about this?

Re: Yeoman 1.0 Released

#13

Love Yeoman. For the love of god, how do I create 'pretty permalink' (Jekyll Style) with it - "about.html" to create "/about/index.html"?

Nginx - just remap the urls. We run http://carrot.is (not meant to be a plug, just an example) served statically via nginx and the urls are "pretty". You can use a little statement like this in your nginx config:

if ( $uri !~ /index\.html$) { rewrite ^(/.+)\.html$ $scheme://$host$1 permanent; }

Re: Yeoman 1.0 Released

#14
This is great - I've been using Yeoman since the first 1.0rc, and have to say that the tool chain is excellent and covers all the main parts of development with ease. Easy to bootstrap a new project, intelligent defaults for code organization, testing and minification for production.

I haven't found anything else that comes close for solely front end dev work.

Re: Yeoman 1.0 Released

#15

Love Yeoman. For the love of god, how do I create 'pretty permalink' (Jekyll Style) with it - "about.html" to create "/about/index.html"?

+1 to jenius for a server-side solution but in addition:

Yeoman helps manage and coordinate various build tools, but for pretty permalinks on your production build, you're probably going to need something like a plugin for `grunt build` that renames files as they're copied into your /dist directory.

Re: Yeoman 1.0 Released

#20

Is this for Node.js only? They keep saying 'web apps' but never explicitly that it's not. NPM is node, right? (sorry, not too familiar with Node)

Yeoman is purely development-time workflow tooling. It and its ecosystem (the "generator-XXXX" npm modules) use Node.js as the runtime on the development host. Typical Yeoman use would be 1) during development to speed dev, testing, etc., and 2) to build minified assets for deployment into production.

EDIT: Removed confusing "client-side" reference caught by 9oliYQjP -- thanks!

Post reply on HN