Angular’s Schematics API has made “onboarding” new library users easier than ever! With custom generators, you can automate your user’s journey from their very first ng add, all behind the scenes.
In this talk, we will be taking a deep dive into Angular Schematics, covering some of the more complex challenges we’ve faced while developing our CLI. The presentation covers the schematics API and defining highly reusable schematics and chaining them effectively. We’ll also touch on the subject of hooking schematics to standard lifecycle events (e.g. ng add and ng update), as well as taking full advantage of the TypeScript language service API for better file manipulation.