Code mutations in schematics were never easier than now.
npm i --save-dev ng-morph
You also need
@angular-devkit/schematics to be installed.
What is it?
It is a large set of tools that speeds up your work with Angular schematics. It has ts-morph under the hood and allows you to manipulate with safe TypeScript AST.
Why is it better than default schematics?
How to start
Install the package and visit our documentation
All ng-morph packages are covered by Apache 2.0
Read more about this license here