angular-cn/modules/@angular/upgrade
Igor Minar 4a740f23a4 refactor(core): remove deprecated @Component.directives and @Component.pipes
BREAKING CHANGE: previously deprecated @Component.directives and @Component.pipes support was removed.

All the components and pipes now must be declarated via an NgModule. NgModule is the basic
compilation block passed into the Angular compiler via Compiler#compileModuleSync or #compileModuleAsync.

Because of this change, the Compiler#compileComponentAsync and #compileComponentSync were removed as well -
any code doing compilation should compile module instead using the apis mentioned above.

Lastly, since modules are the basic compilation unit, the ngUpgrade module was modified to always require
an NgModule to be passed into the UpgradeAdapter's constructor - previously this was optional.
2016-08-23 09:59:00 -07:00
..
src refactor(core): remove deprecated @Component.directives and @Component.pipes 2016-08-23 09:59:00 -07:00
test refactor(core): remove deprecated @Component.directives and @Component.pipes 2016-08-23 09:59:00 -07:00
index.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
package.json fix(upgrade): add peerDependency on platform-browser-dynamic (#9674) 2016-06-28 17:27:28 -07:00
rollup.config.js fix(upgrade): fix bundling issue and fix e2e test 2016-06-21 11:12:42 -07:00
tsconfig-es5.json feat(compiler): Added "strictMetadataEmit" option to ngc (#10951) 2016-08-22 17:37:48 -07:00
tsconfig-es2015.json feat(compiler): Added "strictMetadataEmit" option to ngc (#10951) 2016-08-22 17:37:48 -07:00
upgrade.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00