8 Commits

Author SHA1 Message Date
Alex Eagle
bf1c069f73 refactor(@schematics/angular): drop dependency on TypeScript package
instead, vendor in the two files we actually need.
This reduces our install footprint by 5MB
2019-03-06 11:27:48 -08:00
赵正阳
822d6a0b9b fix(@schematics/angular): add providers into providers metadata but not inner Object with ut. (#13081) 2018-11-30 14:08:49 -08:00
Alan Agius
8f0d03b6c2 fix(@schematics/angular): addSymbolToNgModuleMetadata metadata without indent
At the moment, at least a single whitespace is required as otherwise the following error `Cannot read property '0' of null ` will be thrown

Fixes #12950
2018-11-14 12:42:48 -08:00
vikerman
e3f56ebc71
fix(@schematics/angular): ast utils - handle NgModule with no newlines (#12521)
Exposed in Google where the formatting is different. Check for null before using a regex match result.
2018-10-09 06:37:50 -07:00
Charles Lyding
d202480a17 build: update/cleanup tslint rules & fix errors 2018-08-23 11:35:34 -07:00
Hans Larsen
548616eda3 feat(@schematics/angular): use STDERR to report warnings 2018-08-21 09:57:34 -07:00
Hans Larsen
483cbe2665 refactor: add tslint-sonarts and a lot of tslint rules
This should clean up the code a bit.

Note: at first I added the no-useless-cast rule, but after getting frustrated
with it (as it has many false positive), I decided to remove the rule but some
useless casts were removed so I let those in the PR.
2018-07-10 15:07:36 -07:00
Hans Larsen
44086c60ff build: move devkit repo back to angular-cli 2018-06-05 18:50:06 -07:00