Slide 1

Slide 1 text

How to create your first Yeoman Generator Ruy Adorno | @ruyadorno

Slide 2

Slide 2 text

What is Yeoman? • A scaffolding tool • A project to provide developers an improved tooling workflow • A platform with hundreds of recipes • An open-source initiative

Slide 3

Slide 3 text

Awesome maintainers • Addy Osmani • Sindre Sorhus • Pascal Hartig • Stephen Sawchuk • Brian Ford • Eddie Monge • Paul Irish • Hemanth.HM • Revath S Kumar • Jimmy Moon • Frederick Ros • Mickael Daniel • Eric Bidelman • Matija Marohnić • Kevin Mårtensson Simon Boudrias

Slide 4

Slide 4 text

What are Generators? • Scaffolding recipes • Customizable • Composable • Independent open-source projects

Slide 5

Slide 5 text

Understanding the tools • Command-line tool • npm install -g yo • Executes a generator

Slide 6

Slide 6 text

• Generators • npm install -g generator-webapp • npm install -g generator-angular • npm install -g generator-... Understanding the tools

Slide 7

Slide 7 text

Understanding the tools • Most of the available generators comes with a selection of great tooling and best practices for web development

Slide 8

Slide 8 text

Let’s build a Generator • You can find the live-coding generator on GitHub: https://github.com/ruyadorno/generator-jsmontreal

Slide 9

Slide 9 text

Lessons learned • Having private generators for your internal projects is an amazing idea • Be careful with features you add to your generators

Slide 10

Slide 10 text

Merci! @ruyadorno http://ruyadorno.com