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
Alex Eagle
6f5e3f9390
Update evaluator.spec.ts
...
Fix stray `fit` that skips tools tests
Closes #8373
2016-05-01 18:43:32 +00:00
Alex Eagle
96ae348648
chore(build): fix formatting and tests
...
Closes #8098
2016-04-28 23:59:06 -07:00
Chuck Jazdzewski
7c0d4976b1
fix(8223): Preserve Provider expressions
...
Preserves constructor calls in addition to function calls.
Introduced a special case for forwardRef() similar to CONST_EXPR.
2016-04-28 21:31:28 -07:00
Alex Eagle
d9648887b8
fix(metadata): Do not attach module names to metadata.
...
The filename contains the module name as resolved by users, so the top-level module name is uneeded.
Module names on references are replaced by capturing the import syntax from the module.
This allows readers of the metadata to do the module resolution themselves.
Fixes #8225
Fixes #8082
Closes #8256
2016-04-28 01:58:13 +00:00
Alex Eagle
b7c6feff28
chore(release): release the metadata collector
...
Closes #8197
2016-04-25 21:48:07 +00:00
Alex Eagle
9889c21aaa
fix(metadata): emit metadata rooted at 'angular2'
...
fixes #8144
closes #8147
2016-04-20 17:14:53 -04:00
Alex Rickabaugh
60727c4d2b
revert(format): Revert "chore(format): update to latest formatter"
...
This reverts commit 03627aa84d
.
2016-04-12 09:41:01 -07:00
Alex Eagle
03627aa84d
chore(format): update to latest formatter
...
Closes #7958
2016-04-11 22:15:23 +00:00
Chuck Jazdzewski
c17dc1c057
fix(7837): MetadataCollector takes no parameters for the constructor.
...
MetadataCollector no longer requires a ts.LanguageService parameter
it didn't use.
Closes #7838
2016-04-07 21:38:07 +00:00
Chuck Jazdzewski
111afcdff1
fix(build): MetadataCollector correctly collects property metadata
...
Fixes #7772
Closes #7773
2016-03-25 21:52:06 +00:00
Chuck Jazdzewski
09f4d6f52d
chore(refactor): Refactored metadata collector
...
Renamed MetadataExtractor to MetadataCollector
Reorganized to split src from tests
Closes #7492
2016-03-24 18:52:06 +00:00
Chuck Jazdzewski
3f57fa6e0e
chore(build): Added tests for metadata extractor
...
Adds unit test to metadata extractor classes
Fixes issues found while testing
2016-03-24 18:52:06 +00:00
Chuck Jazdzewski
ae876d1317
feat(build): Persisting decorator metadata
...
This allows determing what the runtime metadata will be for a
class without having to loading and running the corresponding
.js file.
2016-03-24 18:52:06 +00:00