yeoman/generator — pull request #659 by SBoudrias (2014-09-22 04:43:20+00:00)
Title: Rely on Inquirer for mocking prompt rather than duplicating logic

As a side effect of relying on Inquirer, each Terminal Adapter now have
a self contained Inquirer context to prevent cross pollution between
multiple generators being runned at the same time.

This change also remove how we previously attached prompts validation
errors to the question object. This is not 100% backward compatible, but maintaining the full logic of Inquirer ourselve inside Yeoman is not a scalable solution for the future, so I'd say too bad (plus it is a pretty minor breaking change).

**Do not merge**: I linked my branch of Inquirer provider self-contained module in package.json. I might change some stuff before merging - or not. I'm leaving the branch out of couple day and I'll see how I feel about it after a while. Reviews welcomed over there: https://github.com/SBoudrias/Inquirer.js/pull/163

I'll have another go on this branch too, I see I missed some lines I should've cleaned up before sending this PR. Reviews welcomed anyway :)