9 Commits

Author SHA1 Message Date
Charles Lyding
af27ec5449 refactor(@schematics/angular): use new helpers in ivy libraries migration
This change refactors the ivy-libraries v9 migration to use the `updateWorkspace` and `JSONFile` helper utilities.
2020-09-01 20:22:55 +03:00
Alan Agius
da9825ceb2 refactor(@schematics/angular): use ng-packagr builder from build-angular 2020-08-14 15:38:12 +02:00
Alan Agius
d585f99a3e fix(@schematics/angular): blank root leads to wrong tsconfig.lib.prod.json path
Closes: #16444
2019-12-17 11:17:59 -08:00
Alan Agius
9ba78050bb fix(@schematics/angular): warn when target references a missing tsconfig
Fixes #16019
2019-11-05 16:37:18 -08:00
Alan Agius
b26d6baf8f refactor: create readJsonFileAsAstObject utility 2019-09-05 00:26:07 +05:30
Alan Agius
4203294d53 feat(@schematics/angular): add migration for applications tsconfigs
This migration updates the current tsconfig for the applications in two ways.

1) removes `enableIvy: true` option since it's by default true.
2) Amends the files/exclude/include options to only include files that are needed in the compilation.
2019-09-05 00:26:07 +05:30
Alan Agius
f7f5f5bdd1 fix(@schematics/angular): handle existence of un-referenced library prod tsconfig 2019-08-16 11:59:05 -07:00
Alan Agius
46274df62c refactor: workspace config migration to use helper methods 2019-08-16 09:31:18 -07:00
Alan Agius
23217fad08 feat(@schematics/angular): ivy library migration
Add a migration to migrate existing libraries to the new library layout considering it will be the default in version 9.
2019-08-16 09:31:18 -07:00