~/talk

Automated Scaffolding with Schematics (Angular)

Talkat Frontend Developer Love 2019 · on Friday, 2019-02-15· [angular, developer-experience]

Shows how to write and run custom Angular schematics that actually modify a project: generating folder/file templates, TS config path aliases, and stylePreprocessorOptions includePaths, using the schematics API methods (create, overwrite, merge) and workspace queries. Demonstrates linking a local schematics package with npm link, piping multiple schematics as a schematics pipeline, validating options via schema, dry-run behavior, and proves it works by creating files and overwriting angular.json and tsconfig with the expected changes.

AI-written summary · about

  1. 0:00Start
  2. 7:19install schematics
  3. 8:31create an angular project in a folder at the same level
  4. 20:16generate files in the file system
  5. 24:13run a series of validation functions
~/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.