~/talk

Angular Schematics – the unknown hero

slides:none on file

Schematics underpins the Angular CLI and upgrade tools and actually scaffolds or edits code. The talk shows creating four files in a dry run then turning off dry run to write them, piggybacking on @schematics/angular’s component schematic to prepend a header to every TS file, and using the TypeScript compiler AST to locate exact insertion positions. Workflow uses npm link/ng generate/ng add and demonstrates ng deploy uploading a build; changes succeed when positions and commits are correct.

AI-written summary · about

  1. 0:00Start
  2. 4:20PROJECT STRUCTURE
  3. 10:08LET'S SWITCH TO PRODUCTION MODE
  4. 15:44INSTALL DEPENDENCIES
  5. 16:53DEFINE THE RULE
  6. 20:12LET'S LOOK AT TEMPLATE FILE
  7. 24:01LET'S RUN OUR SCHEMATIC
  8. 26:51GET NODE REPRESENTATION
  9. 28:32HOW DO WE CHANGE THIS TREE?
  10. 30:34CREATING THE CHANGE
  11. 31:06COMMIT UPDATE
~/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.