angular-cn/modules/@angular/upgrade/src
Peter Bacon Darwin d6791ff0e0 feat(ngUpgrade): add support for AoT compiled upgrade applications
This commit introduces a new API to the ngUpgrade module, which is compatible
with AoT compilation. Primarily, it removes the dependency on reflection
over the Angular 2 metadata by introducing an API where this information
is explicitly defined, in the source code, in a way that is not lost through
AoT compilation.

This commit is a collaboration between @mhevery (who provided the original
design of the API); @gkalpak & @petebacondarwin (who implemented the
API and migrated the specs from the original ngUpgrade tests) and @alexeagle
(who provided input and review).

This commit is an starting point, there is still work to be done:

* add more documentation
* validate the API via internal projects
* align the ngUpgrade compilation of A1 directives closer to the real A1
  compiler
* add more unit tests
* consider support for async `templateUrl` A1 upgraded components

Closes #12239
2016-10-19 15:27:49 -07:00
..
aot feat(ngUpgrade): add support for AoT compiled upgrade applications 2016-10-19 15:27:49 -07:00
angular_js.ts feat(ngUpgrade): add support for AoT compiled upgrade applications 2016-10-19 15:27:49 -07:00
aot.ts feat(ngUpgrade): add support for AoT compiled upgrade applications 2016-10-19 15:27:49 -07:00
constants.ts feat(ngUpgrade): add support for AoT compiled upgrade applications 2016-10-19 15:27:49 -07:00
downgrade_ng2_adapter.ts feat(ngUpgrade): add support for AoT compiled upgrade applications 2016-10-19 15:27:49 -07:00
facade feat(ngUpgrade): add support for AoT compiled upgrade applications 2016-10-19 15:27:49 -07:00
metadata.ts feat(ngUpgrade): add support for AoT compiled upgrade applications 2016-10-19 15:27:49 -07:00
upgrade.ts fix(packages): use ES modules for primary build (#11120) 2016-08-30 18:07:40 -07:00
upgrade_adapter.ts feat(upgrade): compilerOptions in bootstrap (#10575) 2016-10-11 15:48:08 -07:00
upgrade_ng1_adapter.ts feat(ngUpgrade): add support for AoT compiled upgrade applications 2016-10-19 15:27:49 -07:00
util.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00