~/talk

Angular Schematics for Better Productivity

TalkinFrenchat DevFest Toulouse 2018 · on Thursday, 2018-11-08· [angular]
slides:none on file

Angular Schematics are npm-based file generators that modify a project tree and drive Angular CLI commands like ng generate. The talk explains how to create a schematics collection (including schema.json for options), implement a rule factory that returns a Tree or Observable<Tree>, wire in templates, and package or link the collection; concrete examples include adding dependencies/scripts to package.json, generating mocks from API responses, and quickly building reusable tooling.

AI-written summary · about

  1. 0:00Introduction
  2. 1:33What are Schematics?
  3. 2:53Schematics for Developers
  4. 4:38Schematics CLI
  5. 5:21Project Structure
  6. 6:59Run Your Schematic
  7. 7:13Test in Your Project
  8. 9:32Use Templates
  9. 10:43Custom tooling
  10. 11:28Generate CI Config
  11. 12:07(Re)generate Mocks in Your Project
  12. 12:54Generate Components for Your Library
  13. 13:21Conclusion
  14. 14:00Thank You All!!
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.