Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Yeoman generator
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Valerio
May 18, 2016
Programming
0
44
Yeoman generator
A short talk about Yeoman generator
Valerio
May 18, 2016
Tweet
Share
More Decks by Valerio
See All by Valerio
Git flow
valeriocomo
0
62
Other Decks in Programming
See All in Programming
CSC307 Lecture 07
javiergs
PRO
0
550
dchart: charts from deck markup
ajstarks
3
990
Honoを使ったリモートMCPサーバでAIツールとの連携を加速させる!
tosuri13
1
180
AI時代の認知負荷との向き合い方
optfit
0
160
Rust 製のコードエディタ “Zed” を使ってみた
nearme_tech
PRO
0
160
AI & Enginnering
codelynx
0
110
2026年 エンジニアリング自己学習法
yumechi
0
130
AI巻き込み型コードレビューのススメ
nealle
1
160
インターン生でもAuth0で認証基盤刷新が出来るのか
taku271
0
190
AI時代のキャリアプラン「技術の引力」からの脱出と「問い」へのいざない / tech-gravity
minodriven
21
7.1k
AIによる高速開発をどう制御するか? ガードレール設置で開発速度と品質を両立させたチームの事例
tonkotsuboy_com
7
2.3k
QAフローを最適化し、品質水準を満たしながらリリースまでの期間を最短化する #RSGT2026
shibayu36
2
4.4k
Featured
See All Featured
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.7k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
14k
Bash Introduction
62gerente
615
210k
Designing for Timeless Needs
cassininazir
0
130
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
160
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.6k
The Limits of Empathy - UXLibs8
cassininazir
1
210
Designing Powerful Visuals for Engaging Learning
tmiket
0
230
KATA
mclloyd
PRO
34
15k
The Cost Of JavaScript in 2023
addyosmani
55
9.5k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
130
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
84
Transcript
Yeoman generator How to create a custom scaffolding tool
About me
Outline • Yeoman • Generators • Yo generator-generator • Demo
• Considerations • Q&A
Yeoman • Scaffolding tool • Task runner • Package management
Yeoman - Yo • Application start up • Build configuration
• Generators
Yeoman - Task runner • Grunt vs Gulp • Automation
• Tasks ◦ Build ◦ Test
Yeoman - Package Managment • bower vs npm ◦ frontend
dependencies ◦ dev dependencies
Generators
Generators • It’s a node module • Setup ◦ package.json
◦ npm init • Customization ◦ override Base class ◦ extends() with a constructor() • Run ◦ npm link ◦ yo generator-name [args]
Yo generator-generator • Install ◦ npm i generator-generator -g •
2 simple commands ◦ yo generator ◦ yo generator:subgenerator <name>
It’s demo time!
Considerations PROs • DRY • Error prevention • Enanhce automation
CONs • Scaffolding-only purpose
Questions?
valeriocomo Thank you!| @valeriocomo
[email protected]
http://www.valeriocomo.com
References • http://yeoman.io/ • http://yeoman.io/authoring/ • https://github.com/yeoman/generator-generator/ • http://goo.gl/5L0wuY