Matias Niemelä
4695c69cf1
refactor(compiler): remove all source-level traces to tsc-wrapped ( #18966 )
...
- temporarily keeps the old sources under packages/tsc-wrapped
until the build scripts are changed to use compiler-cli everywhere.
- removes the compiler options `disableTransformerPipeline` that was introduced
in a previous beta of Angular 5, i.e. the transformer based compiler
is now always enabled.
PR Close #18966
2017-09-13 20:47:37 -04:00
Tobias Bosch
43226cb93d
feat(compiler): use typescript for resolving resource paths
...
This can also be customized via the new method `resourceNameToFileName` in the
`CompilerHost`.
2017-08-16 15:24:48 -07:00
Tobias Bosch
2572bf508f
feat(compiler): make .ngsummary.json
files portable
...
This also allows to customize the filePaths in `.ngsummary.json` file
via the new methods `toSummaryFileName` and `fromSummaryFileName`
on the `CompilerHost`.
2017-08-16 15:24:48 -07:00
Tobias Bosch
6a1ab61cce
refactor(compiler): simplify the CompilerHost
used for transformers
...
- remove unneeded methods (`getNgCanonicalFileName`, `assumeFileExists`)
- simplify moduleName <-> fileName conversion logic as we don’t need to
account for `genDir` anymore.
- rename `createNgCompilerHost` -> `createCompilerHost`
2017-08-16 15:24:48 -07:00
Tobias Bosch
27d5058e01
refactor(compiler): extract a BaseAotCompilerHost
that is shared between the old and new logic
2017-08-16 15:24:48 -07:00
Chuck Jazdzewski
b6c4af6495
feat(compiler-cli): automatically lower lambda expressions in metadata
2017-07-31 11:30:44 -07:00
Alex Eagle
6fc5940959
build: Bazel builds ngfactories for packages/core ( #18289 )
...
PR Close #18289
2017-07-21 18:09:47 -05:00
Chuck Jazdzewski
3097083277
feat(compiler-cli): new compiler api and command-line using TypeScript transformers
2017-06-23 16:18:44 -07:00
Chuck Jazdzewski
4352dd27c4
fix(compiler): avoid emitting self importing factories
...
Fixes : #17389
2017-06-21 16:19:43 -07:00
Alex Eagle
b00b80a45b
feat(compiler-cli): introduce synchronous codegen API
2017-06-06 14:12:02 -07:00
Tobias Bosch
7ffb75f476
refactor(compiler): change bundle
to flatModuleIndex
in the code ( #17028 )
2017-05-26 09:13:28 -07:00
Chuck Jazdzewski
80e506563c
Revert "refactor(compiler): change bundle
to flatModuleIndex
in the code ( #17028 )"
...
This reverts commit 5aa53d70aa8ee95a23adb3c7103346a6e68a5c2a.
2017-05-26 08:54:50 -07:00
Tobias Bosch
5aa53d70aa
refactor(compiler): change bundle
to flatModuleIndex
in the code ( #17028 )
2017-05-25 19:02:35 -06:00
Tobias Bosch
573b8611bc
fix(compiler): compile .ngfactory.ts
files even if nobody references them. ( #16899 )
...
This is especially important for library authors, as they will
not reference the .ngfactory.ts files.
Fixes #16741
2017-05-25 11:00:26 -06:00
Tobias Bosch
547c363473
feat: add .ngsummary.ts files to support AOT unit tests
...
Design doc: https://docs.google.com/document/d/1VmTkz0EbEVSWfEEWEvQ5sXyQXSCvtMOw4t7pKU-jOwc/edit?usp=sharing
2017-05-05 13:23:53 -04:00
Miško Hevery
09d9f5fe54
fix(compiler): Update types for TypeScript nullability support
2017-04-10 15:26:33 -06:00
Chuck Jazdzewski
6269d28bb0
fix(language-service): improve performance of updateModuleAnalysis()
( #15543 )
2017-03-28 13:32:46 -07:00
Chuck Jazdzewski
16e0423085
revert: feat(compiler-cli): support metadata file aliases ( #15331 )
...
This reverts commit 0ab49d4cec23e2957fd7e8dad55d15fc539c69ed.
PR Close #15331
2017-03-21 12:20:14 -05:00
Jason Aden
410aa33005
build: fix paths to typings files so tsickle resolves imports correctly
...
Fixes #15080
2017-03-16 17:34:29 -07:00
Chuck Jazdzewski
0ab49d4cec
feat(compiler-cli): support metadata file aliases
2017-03-16 17:34:29 -07:00
Jason Aden
3e51a19983
refactor: move angular source to /packages rather than modules/@angular
2017-03-08 16:29:27 -08:00