19 Commits

Author SHA1 Message Date
Greg Magolan
c3e8439954 build: add a before-all-other bootstrap script that patches require ()
This removes the churn in the existing bootstrap scripts.

PR Close 
2020-01-10 08:32:00 -08:00
Greg Magolan
8042433cb0 build: update to rules nodejs 1.0.1 ()
This brings in a few minor fixes including a better way to patch require for bootstrap scripts.

PR Close 
2020-01-10 08:31:59 -08:00
Greg Magolan
9bb349e1c8 refactor: handle breaking changes in rules_nodejs 1.0.0 ()
The major one that affects the angular repo is the removal of the bootstrap attribute in nodejs_binary, nodejs_test and jasmine_node_test in favor of using templated_args --node_options=--require=/path/to/script. The side-effect of this is that the bootstrap script does not get the require.resolve patches with explicitly loading the targets _loader.js file.

PR Close 
2020-01-10 08:31:59 -08:00
JiaLiPassion
8c6fb17d29 build: reference zone.js from source directly instead of npm. ()
Close 

PR Close 
2019-11-06 00:48:34 +00:00
Greg Magolan
7c1f73ac7b build(bazel): update to nodejs rules 0.27.9 ()
PR Close 
2019-04-02 10:27:14 -07:00
Greg Magolan
0b27c09b51 build(bazel): also back out of jasmine bootstrap simplification ()
PR Close 
2019-03-21 09:59:13 -07:00
Greg Magolan
ea0e832e5f build(bazel): update to nodejs rules 0.27.6 ()
PR Close 
2019-03-19 23:39:36 -04:00
Greg Magolan
603df13b14 build(bazel): update to @bazel/jasmine 0.27.4 ()
PR Close 
2019-03-19 23:39:36 -04:00
Greg Magolan
ea09430039 build: rules_nodejs 0.26.0 & use @npm instead of @ngdeps now that downstream angular build uses angular bundles ()
PR Close 
2019-02-28 12:06:36 -08:00
Wassim Chegham
ce68b4d839 style: enforce buildifier lint on CI ()
PR Close 
2019-02-26 16:57:41 -08:00
Greg Magolan
9defc00b14 build(bazel): cleanup the jasmine bootstrap code ()
PR Close 
2019-02-21 17:59:17 -08:00
Misko Hevery
d042c4afe0 fix(core): Remove static dependency from @angular/core to @angular/compiler ()
PR Close 
2018-10-31 14:15:06 -04:00
Greg Magolan
dc7349915d build(bazel): fix //tools/testing:node target deps ()
PR Close 
2018-10-20 21:03:46 -07:00
Miško Hevery
213c25fb08 build: remove manual tags from platform jasmine tests ()
PR Close 
2018-10-19 22:52:12 -07:00
Greg Magolan
1f3331f5e6 build(bazel): use fine-grained npm deps () ()
PR Close 
2018-10-19 20:59:29 -07:00
Alex Rickabaugh
ab5bc42da0 feat(ivy): first steps towards ngtsc mode ()
This commit adds a new compiler pipeline that isn't dependent on global
analysis, referred to as 'ngtsc'. This new compiler is accessed by
running ngc with "enableIvy" set to "ngtsc". It reuses the same initialization
logic but creates a new implementation of Program which does not perform the
global-level analysis that AngularCompilerProgram does. It will be the
foundation for the production Ivy compiler.

PR Close 
2018-04-25 13:25:33 -07:00
Michael Giambalvo
37fedd001c feat(core): add task tracking to Testability ()
Allow passing an optional timeout to Testability's whenStable(). If
specified, if Angular is not stable before the timeout is hit, the
done callback will be invoked with a list of pending macrotasks.

Also, allows an optional update callback, which will be invoked whenever
the set of pending macrotasks changes. If this callback returns true,
the timeout will be cancelled and the done callback will not be invoked.

If the optional parameters are not passed, whenStable() will work
as it did before, whether or not the task tracking zone spec is
available.

This change also migrates the Testability unit tests off the deprecated
AsyncTestCompleter.

PR Close 
2018-03-14 08:48:48 -07:00
Alex Eagle
c4f02e21dd build: move repeated tsconfig attributes to a macro ()
This helps ensure we use the same tsconfig.json file for all compilations.
Next steps are to make it the same tsconfig.json file used by the editor

PR Close 
2018-01-10 12:30:19 -08:00
Miško Hevery
ae97920fe2 build: move _testing_init into tools; limit web_test concurrency ()
PR Close 
2017-12-22 13:10:51 -08:00