~/talk

Total Guide To Custom Angular Schematics

Talkat AngularDay 2019 · 2019-06-13..06-14· [angular, developer-experience]
slides:none on file

Walkthrough shows how Angular Schematics generate components, libraries and a custom schematic from a blank project, using the Angular CLI schematics tool, the virtual tree for fast tests, and file templates with helpers like classify and dasherize; schema.json enables validated options and prompts; implemented a hello schematic, added positional args, project flag and dryRun/force support, integrated it into an Angular CLI workspace with ng generate/ng add, and demonstrates tests that scaffold a full workspace and pass.

AI-written summary · about

  1. 0:00Start
  2. 3:14BENEFITS OF USING
  3. 3:28HOW TO CREATE CUSTOM SCHEMATICS
  4. 3:55HOW TO USE CUSTOM SCHEMATICS WITH ANGULAR CLI
~/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.