-
-
Notifications
You must be signed in to change notification settings - Fork 298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.x migration documentation inconsistent #996
Comments
Our apologies for what appears to be an oversight on our part. Thanks for filing an issue with the syntax workaround you noted.
This seems like a reasonable path forward to me. @SBoudrias was this an item already on your radar or something we could use some help with? |
Some version changes we made broke the API deploy script. So the documentation that was later fixed didn't made it to our website. I should've - hopefully - fixed it now. Had to do some git kungfu to reorder the ES6-ification from the codebase. People will need to reset when they pull. |
Should be okay now http://yeoman.io/generator/Base.html |
While migrating a project from
[email protected]
to[email protected]
, I began by first following the documentation in the article Say Allo' To Yeoman-Generator 1.0:To figure out how to use the new
class extends Generator {}
syntax, I jumped into the "Extending Generator" portion of the Getting Started tutorial, which goes on to say:So, I went looking for the documentation on this method, and ended up on the API Documentation page for
Base
, which has as an example:... Which appears to be the
0.24.1
syntax that no longer works (Base is undefined
), bringing me full-circle.It would be great to fleshout the migration guide, update the getting started documentation to be clearer on how the new
class
can / can't be used (eg; what functions belong in theconstructor
, and what don't?), and updating the API documentation.The correct syntax is:
The text was updated successfully, but these errors were encountered: