Chuck Jazdzewski
6f2038cc85
fix(compiler-cli): fix and re-enble expression lowering ( #18570 )
...
Fixes issue uncovered by #18388 and re-enables expression
lowering disabled by #18513 .
2017-08-08 12:40:08 -07:00
Chuck Jazdzewski
5b7432b6ea
fix(compiler-cli): remove minimist dependency of compiler-cli/index ( #18532 )
...
Indirectly removes the minimist dependency in the language service
package was added with the addition of `ngc.ts`.
2017-08-07 14:30:35 -07:00
Victor Berchet
ca695e0632
fix(compiler-cli): disable buggy expression lowering ( #18513 )
2017-08-03 14:31:23 -07:00
Victor Berchet
9479a106bb
build: enable TSLint on the packages folder
2017-07-31 15:47:57 -07:00
Chuck Jazdzewski
b6c4af6495
feat(compiler-cli): automatically lower lambda expressions in metadata
2017-07-31 11:30:44 -07:00
Abhimanyu Deora
ce47546188
refactor(compiler-cli): add support for browser compiler bundle ( #17979 )
...
PR Close #17979
2017-07-25 15:51:46 -05:00
Chuck Jazdzewski
c1474f33be
feat(compiler-cli): add parameters to ngc main needed by bazel rules ( #17885 )
2017-07-07 16:29:39 -07:00
Victor Berchet
9c1f6fd06f
fix(compiler): emits quoted keys only iff they are quoted in the original template
...
fixes #14292
2017-07-07 16:17:33 -07:00
Chuck Jazdzewski
227dbbcfba
fix(language-service): ignore hover of symbols not in the TypeScript program ( #17969 )
...
Fixes : #17965
2017-07-07 08:47:28 -07:00
Chuck Jazdzewski
3097083277
feat(compiler-cli): new compiler api and command-line using TypeScript transformers
2017-06-23 16:18:44 -07:00
Tobias Bosch
ed73d4f3ac
refactor(compiler): don’t always compile `.ngfactory.ts` files by default
...
This puts the behavior introduced in 573b8611bc
behind the new flag
`alwaysCompileGeneratedCode` to not break users that might have relied
on this behavior.
2017-06-12 15:27:02 -07:00
Tobias Bosch
90b0713e32
refactor(compiler): don’t write summaries for jit by default
...
The default is false externally but true internally at Google.
2017-06-09 15:58:53 -07:00
Chuck Jazdzewski
230255f887
feat(compiler-cli): produce template diagnostics error messages ( #17125 )
...
Refactoring the compiler to use transformers moves the code generation
after type-checking which suppresses the errors TypeScript would
generate in the user code.
`TypeChecker` currently produces the same factory code that was
generated prior the switch to transfomers, getting back the same
diagnostics as before. The refactoring will allow the code to
diverge from the factory code and allow better diagnostic error
messages than was previously possible by type-checking the factories.
2017-06-01 10:13:50 -07:00
Chuck Jazdzewski
18bf77204e
feat(compiler): emit typescript nodes from an output ast ( #16823 )
2017-05-30 10:43:13 -07: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
5af143e8e4
refactor(compiler): allow sync AOT compilation ( #16832 ).
...
AOT compilation can be executed synchronously now,
if the `ReosurceLoader` returns a string directly
(and no `Promise`).
2017-05-23 10:41:23 -06:00
Tobias Bosch
50abca4583
refactor(compiler): don’t rely on global reflector ( #16832 )
...
Using the global reflector made it impossible
to compile multiple programs at the same time.
2017-05-23 10:41:23 -06:00
Chuck Jazdzewski
d761059e4d
fix(compiler-cli): allow '==' to compare nullable types ( #16731 )
...
Fixes : #16729
* fix(compiler-cli): diagnose issues in conditional of ternary
Fixes : #16730
2017-05-16 16:36:51 -07:00
Chuck Jazdzewski
b9521b568f
feat(compiler): support a non-null postfix assert ( #16672 )
...
Template expressions can now use a post-fix `!` operator
that asserts the target of the operator is not null. This is
similar to the TypeScript non-null assert operator. Expressions
generated in factories will be generated with the non-null assert
operator.
Closes : #10855
2017-05-11 10:15:54 -07:00
Chuck Jazdzewski
bb0902c592
refactor(compiler-cli): move the expression expression type checker ( #16562 )
...
The expression type checker moved from the language service
to the compiler-cli in preparation to using it to check
template expressions.
2017-05-09 16:16:50 -07:00
Miško Hevery
5293794316
fix: turn on nullability in the code base.
2017-04-18 12:07:33 -07:00
Chuck Jazdzewski
16e0423085
revert: feat(compiler-cli): support metadata file aliases ( #15331 )
...
This reverts commit 0ab49d4cec
.
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