angular-cn/tools/metadata
Alex Eagle 072446aed3 feat(offline compiler): add metadata emit
Also add a configuration switch to disable the codegen, so we can
still use the metadata emit and tsickle pre-processing in the
build pipeline for angular itself.
2016-05-02 11:47:59 -07:00
..
src fix(8223): Preserve Provider expressions 2016-04-28 21:31:28 -07:00
test Update evaluator.spec.ts 2016-05-01 18:43:32 +00:00
README.md chore(release): release the metadata collector 2016-04-25 21:48:07 +00:00
index.ts chore(refactor): Refactored metadata collector 2016-03-24 18:52:06 +00:00
package.json feat(offline compiler): add metadata emit 2016-05-02 11:47:59 -07:00

README.md

TypeScript Decorator metadata collector

The .d.ts format does not preserve information about the Decorators applied to symbols. Some tools, such as Angular 2 template compiler, need access to statically analyzable information about Decorators, so this library allows programs to produce a foo.metadata.json to accompany a foo.d.ts file, and preserves the information that was lost in the declaration emit.

Releasing

$ gulp build.tools
$ cp tools/metadata/package.json dist/tools/metadata/
$ npm login [angularcore]
$ npm publish dist/tools/metadata