12 Commits

Author SHA1 Message Date
Charles Lyding
d202480a17 build: update/cleanup tslint rules & fix errors 2018-08-23 11:35:34 -07:00
vakrilov
311723d369 refactor(@ngtools/webpack): expose TS TypeChecker from NG compiler plugin
Expose the TypeScript Program created by the plugin, so that it can be used in custom platform transformers.
2018-08-13 17:01:43 -07:00
Charles Lyding
64cf05b88f fix(@ngtools/webpack): resolve relative host replacement paths
Fixes: #11801
2018-08-08 11:09:09 +01:00
Charles Lyding
56cd6f75ae refactor(@ngtools/webpack): use webpack input filesystem as default host 2018-07-12 15:53:29 -07:00
Charles Lyding
d8840d59c2 refactor(@ngtools/webpack): support function-based host file replacement 2018-07-12 15:53:29 -07:00
Charles Lyding
d09d739b60 fix(@ngtools/webpack): support watching file replacements 2018-07-12 15:53:29 -07:00
Charles Lyding
0a8a797268 refactor(@ngtools/webpack): support file replacement without copying 2018-07-12 15:53:29 -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
c1702d3579 refactor: add no-floating-promises lint rule to project
With fixes; new now handles the parent initialize, visitor_spec now errors on
rejection, and nothing in the writeI18nOutFile() function was async so removed
the promise there entirely.
2018-07-10 15:07:36 -07:00
Charles Lyding
28e8f06602 refactor(@ngtools/webpack): cleanup webpack types and use tapPromise 2018-07-06 09:13:20 -04:00
Filipe Silva
fb6b3ad0ca feat(@ngtools/webpack): allow passing in the right ContextElementDependency class
This should allow multiple webpack versions in the workspace dependencies with no weird errors.

Fix https://github.com/angular/angular-cli/issues/6417 for good.
2018-06-08 12:54:22 +01:00
Hans Larsen
44086c60ff build: move devkit repo back to angular-cli 2018-06-05 18:50:06 -07:00