Frontend Jun 12, 2019

Supercharging Angular Libraries with 'ng add' and Schematics | AngualrUP 2019

AngularUP 2019 www.angular-up.com Tel Aviv, Isreal @angularup

You have just written an amazing Angular library. You put it on GitHub because it will save tons of time for other developers. You impatiently refresh the npm page checking the downloads.

Wait, why is nobody using it? Is it because of the tedious 12-step setup? Don’t worry! The Angular CLI comes to the rescue! The ng add command allows your library to do all configurations automatically.

Come and see how you can turn your boring setup into an installation schematic - a simple, declarative script that will be executed whenever somebody ’ng-adds’ your library.

Stanimira Vlaeva is a software engineer on the NativeScript team at Progress and a Google Developer Expert for Angular and Web Technologies. She’s working on NativeScript Angular, NativeScript schematics, and the integration of webpack within the {N} build system. She’s also co-organizing the Angular meetup in Sofia, Bulgaria.