26 Commits

Author SHA1 Message Date
Paul Gschwendtner
970b22f98e test: setup circular dependency tests for all entry points ()
Sets up circular dependency tests for all entry-points in the
project (except for the ones part of a deprecated package).

PR Close 
2020-01-23 11:36:40 -08:00
Greg Magolan
a28c02bf89 build: derive ts_library dep from jasmine_node_test boostrap label if it ends in _es5 ()
PR Close 
2020-01-15 14:58:07 -05:00
Greg Magolan
aee67f08d9 test: handle bootstrap templated_args in jasmine_node_test defaults.bzl ()
PR Close 
2020-01-15 14:58:07 -05:00
Greg Magolan
dcff76e8b9 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-15 14:58:07 -05:00
atscott
538d0446b5 Revert "refactor: handle breaking changes in rules_nodejs 1.0.0 ()" ()
This reverts commit 9bb349e1c8089ee29b82c7234a11ad4256f1d06f.

PR Close 
2020-01-10 14:12:15 -08:00
atscott
5e60215470 Revert "test: handle bootstrap templated_args in jasmine_node_test defaults.bzl ()" ()
This reverts commit da4782e67f662d37dccb89f9c642897c1266f4ce.

PR Close 
2020-01-10 14:12:15 -08:00
atscott
24679d8676 Revert "build: derive ts_library dep from jasmine_node_test boostrap label if it ends in _es5 ()" ()
This reverts commit 79a0d007b4e892dd988a8ef697e6d3436ea8391c.

PR Close 
2020-01-10 14:12:14 -08:00
Greg Magolan
79a0d007b4 build: derive ts_library dep from jasmine_node_test boostrap label if it ends in _es5 ()
PR Close 
2020-01-10 08:32:00 -08:00
Greg Magolan
da4782e67f test: handle bootstrap templated_args in jasmine_node_test defaults.bzl ()
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
Greg Magolan
9a68f23dd2 build: ts_web_test & ts_web_test_suite deprecated in favor of karma_web_test & karma_web_test_suite ()
This is a breaking change in nodejs rules 0.40.0 as part of the API review & cleanup for the 1.0 release. Their APIs are identical as ts_web_test was just karma_web_test without the config_file attribute.

PR Close 
2019-11-13 13:33:38 -08:00
Kara Erickson
6b0c1a71fa test(ivy): turn on platform-browser-dynamic tests on CI ()
We missed removing the `fixme-ivy-aot` bazel tag from the BUILD file
of platform-browser-dynamic, so we weren't running the
`//packages/platform-browser-dynamic/test:test_web_chromium-local`
test target on CI. This commit turns on the tests and adds root causes
where they are known.

PR Close 
2019-01-05 17:48:11 -08:00
Igor Minar
04f902fca5 ci(ivy): //packages/platform-browser-dynamic/test:test now works in jit ()
PR Close 
2018-11-27 10:30:58 -08:00
Misko Hevery
7d2a746090 build: remove ivy JIT mode ()
PR Close 
2018-11-02 15:44:05 -07:00
Igor Minar
ee0b857172 build: rename the ivy compile mode 'local' to 'aot' ()
PR Close 
2018-10-23 14:14:49 -07:00
Igor Minar
4237c34c78 test(ivy): mark failing test targets with fixme-ivy-jit and fixme-ivy-local tags ()
We are close enough to blacklist a few test targets, rather than whitelist targets to run...

Because bazel rules can be composed of other rules that don't inherit tags automatically,
I had to explicitly mark all of our ts_library and ng_module targes with "ivy-local" and
"ivy-jit" tags so that we can create a query that excludes all fixme- tagged targets even
if those targets are composed of other targets that don't inherit this tag.

This is the updated overview of ivy related bazel tags:

- ivy-only: target that builds or runs only under ivy
- fixme-ivy-jit: target that doesn't yet build or run under ivy with --compile=jit
- fixme-ivy-local: target that doesn't yet build or run under ivy with --compile=local
- no-ivy-jit: target that is not intended to build or run under ivy with --compile=jit
- no-ivy-local: target that is not intended to build or run under ivy with --compile=local

PR Close 
2018-10-23 08:57:42 -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
b99d7ed5bf build(bazel): update to rules_typescript 0.17.0 & rules_nodejs 0.13.4 ()
PR Close 
2018-09-18 13:05:38 -07:00
Greg Magolan
678fd32406 build(bazel): ran buildifier ()
PR Close 
2018-06-05 13:36:27 -07:00
Greg Magolan
d700a409da build(bazel): enable manual ts_web_test_suite tests that require static_files ()
PR Close 
2018-06-05 13:36:27 -07:00
Alex Eagle
017d67cdf8 test: switch to ts_web_test_suite ()
Unit tests now run on Firefox too

PR Close 
2018-05-15 11:40:56 -07:00
Alex Eagle
f9247e4b2e build: enable importHelpers in tsconfig ()
This is the primary tsconfig file used for Bazel builds.
Previously, we enabled this option only for releases.

PR Close 
2018-03-15 21:16:03 -07:00
Alex Eagle
a1492a73ce build: Remove angular_src nested workspace ()
PR Close 
2018-01-19 10:17:37 -08: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
Misko Hevery
3d50fd7cac build: add bazel test rules for remainder of packages ()
PR Close 
2017-12-22 13:10:51 -08:00