Greg Magolan
3da82338d1
build(bazel): turn on --nolegacy-external-runfiles ( #26770 )
...
PR Close #26770
2018-11-14 12:23:38 -08:00
Greg Magolan
15e671ec5a
build(bazel): upgrade benchmarks to protractor_web_test_suite for CI without local chrome ( #26908 )
...
PR Close #26908
2018-11-07 16:47:39 -08:00
Misko Hevery
7d2a746090
build: remove ivy JIT mode ( #26863 )
...
PR Close #26863
2018-11-02 15:44:05 -07:00
Alan Agius
aed95fd8c7
fix(bazel): unknown replay compiler error in windows ( #26711 )
...
In Windows the compiler path ends with `.exe` thus it will never match and throw `Unknown replay compiler`
PR Close #26711
2018-11-01 15:16:06 -07:00
Greg Magolan
332394d87c
build(bazel): generalize fix for AMD name for flat module out file ( #26837 )
...
PR Close #26837
2018-10-30 18:37:12 -04:00
Paul Gschwendtner
8fc4ae51fb
build: use bazel version from node modules ( #26691 )
...
* No longer depends on a custom CircleCI docker image that comes with Bazel pre-installed. Since Bazel is now available through NPM, we should be able to use the version from `@bazel/bazel` in order to enforce a consistent environment on CI and locally.
* This also reduces the amount of packages that need to be published (ngcontainer is removed)
PR Close #26691
2018-10-30 16:19:13 -04:00
Alex Eagle
66be3c9f51
build: Move non-bazel deps to devDependencies ( #26691 )
...
This makes yarn_install of ngdeps under Bazel faster, since we don't need many of the large dependencies.
It's important because downstream angular/bazel users will observe the same install time.
PR Close #26691
2018-10-30 16:19:13 -04:00
Greg Magolan
4e91ead40b
style: format ( #26708 )
...
PR Close #26708
2018-10-24 12:13:46 -07:00
Greg Magolan
7f39f37003
fix(bazel): support --nolegacy_external_runfiles in protractor rule ( #26708 )
...
PR Close #26708
2018-10-24 12:13:46 -07:00
Igor Minar
ee0b857172
build: rename the ivy compile mode 'local' to 'aot' ( #26686 )
...
PR Close #26686
2018-10-23 14:14:49 -07:00
Greg Magolan
83dc3c0ee0
build: add config_env_vars = ["compile"] to ngc-wrapped ( #26471 )
...
PR Close #26471
2018-10-23 08:57:42 -07:00
Igor Minar
57531737e5
build: add source-map-support to various rules within our repo ( #26471 )
...
This removes an verbose warning and adds source-mapping support to our build/ci.
Related issue: https://github.com/bazelbuild/rules_nodejs/issues/389
PR Close #26471
2018-10-23 08:57:42 -07:00
Igor Minar
4237c34c78
test(ivy): mark failing test targets with fixme-ivy-jit and fixme-ivy-local tags ( #26471 )
...
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 #26471
2018-10-23 08:57:42 -07:00
Greg Magolan
838a3f204f
style: ran buildifier ( #26488 )
...
PR Close #26488
2018-10-19 20:59:29 -07:00
Greg Magolan
15c2467dbd
build: review comments addressed ( #26488 )
...
PR Close #26488
2018-10-19 20:59:29 -07:00
Alex Eagle
74ea4e9b5d
style: run buildifier ( #26488 )
...
PR Close #26488
2018-10-19 20:59:29 -07:00
Alex Eagle
2132c8f461
refactor(bazel): allow google3 overrides for external deps ( #26488 )
...
PR Close #26488
2018-10-19 20:59:29 -07:00
Greg Magolan
8d5e3e6981
build: update to rules_typescript 0.20.3 and rules_nodejs 0.15.1 ( #26488 )
...
PR Close #26488
2018-10-19 20:59:29 -07:00
Greg Magolan
631998b2df
build: idiomatic install of @angular/bazel npm package ( #26258 ) ( #26488 )
...
PR Close #26488
2018-10-19 20:59:29 -07:00
Alex Eagle
30d6233e83
build: update ngcontainer to bazel 0.18.0 ( #26465 ) ( #26488 )
...
* build: update ngcontainer to bazel 0.18.0
* build: update skylint to bazel 0.18
use .bazelignore file to ignore node_modules directory
PR Close #26488
2018-10-19 20:59:29 -07:00
Greg Magolan
6468711e16
build(bazel): update to rules_typescript 0.20.2 ( #26279 ) ( #26488 )
...
PR Close #26488
2018-10-19 20:59:29 -07:00
Greg Magolan
d698b0eadf
build: update to rules_typescript 0.20.1 and rules_nodejs 0.15.0 ( #26260 ) ( #26488 )
...
PR Close #26488
2018-10-19 20:59:29 -07:00
Greg Magolan
1f3331f5e6
build(bazel): use fine-grained npm deps ( #26111 ) ( #26488 )
...
PR Close #26488
2018-10-19 20:59:29 -07:00
Alex Eagle
b6c9678f21
build: introduce a package.bzl ( #26488 )
...
This lets Angular Bazel users install our transitive deps, rather than have to list them in their WORKSPACE file.
If they want a different version of one of these deps, they just need to install it before calling rules_angular_dependencies.
PR Close #26488
2018-10-19 20:59:29 -07:00
Alex Eagle
5b4cf38166
refactor(bazel): remove workaround for TS bug ( #26516 )
...
PR Close #26516
2018-10-19 11:14:24 -07:00
Igor Minar
9993c72335
feat: add support for TypeScript 3.1 ( #26151 )
...
PR Close #26151
2018-09-28 09:34:51 -07:00
Pete Bacon Darwin
976389836e
build: update node type version ( #25862 )
...
PR Close #25862
2018-09-18 13:06:28 -07:00
Greg Magolan
b99d7ed5bf
build(bazel): update to rules_typescript 0.17.0 & rules_nodejs 0.13.4 ( #25920 )
...
PR Close #25920
2018-09-18 13:05:38 -07:00
Greg Estren
f3b552f51f
build(bazel): remove outdated "cfg = "data"" references ( #25434 )
...
PR Close #25434
PR Close #25434
2018-09-11 08:27:39 -07:00
Miško Hevery
96eb79b1c7
build: add support for running builds outside of sandbox on Mac. ( #25870 )
...
Add following to your `~/.bazelrc`. This will run the build faster locally
(outside of sandbox), but continue running the builds with sandboxing
on CI.
```
build --spawn_strategy=standalone --strategy=ESM5=sandboxed
```
PR Close #25870
2018-09-07 16:06:55 -07:00
Greg Magolan
910381ddbd
build(bazel): fix bazel types reference directive resolves ( #25581 )
...
PR Close #25581
2018-08-31 11:12:03 -07:00
Alex Eagle
3809e0fcae
fix(bazel): protractor rule should include *.e2e-spec.js ( #25701 )
...
PR Close #25701
2018-08-30 21:21:27 -07:00
Alex Eagle
f394ba0e27
fix(bazel): Cache fileNameToModuleName lookups ( #25731 )
...
This saves expensive re-parsing of the file when not run as a Bazel worker
PR Close #25731
2018-08-29 17:39:22 -04:00
Alex Eagle
42072c4d0d
fix(bazel): only lookup amd module-name tags in .d.ts files ( #25710 )
...
PR Close #25710
2018-08-28 21:07:15 -04:00
Alan Agius
5653fada32
feat: add TypeScript 3 support ( #25275 )
...
PR Close #25275
2018-08-27 21:07:53 -04:00
Greg Magolan
366195e182
build(bazel): esm5_outputs_aspect to work with targets such as ts_proto_library with no replay_params attribute ( #25605 )
...
PR Close #25605
2018-08-27 18:19:44 -04:00
Greg Magolan
9bcd8c2425
build(bazel): use value of /// <amd-module name=“”> directive to convert fileNameToModuleName in ngc-wrapped ( #25650 )
...
PR Close #25650
2018-08-27 12:21:18 -04:00
Alex Eagle
22e7f7e99f
build(bazel): update to rules_typescript 0.16.1 ( #25490 )
...
PR Close #25490
2018-08-23 15:26:21 -04:00
Vikram Subramanian
9ed3bd6b4f
refactor(bazel): allow and ignore extra args for _ts_expected_outs ( #25558 )
...
This is needed to let ts_compile_actions take explicit list of srcs and deps to generate tsc actions from another rule. This is no-op for ngc for now.
PR Close #25558
2018-08-20 16:25:19 -07:00
Wei Huang
f053a3f274
test(bazel): Remove --no-sandbox for protractor tests ( #25362 )
...
Since we no longer need this flag to run web tests inside a docker
container, this reverts https://github.com/angular/angular/pull/24906
PR Close #25362
2018-08-17 09:58:30 -07:00
Greg Magolan
9605456b66
build: refactor ambient node & jasmine types so they are only included where needed ( #25491 )
...
PR Close #25491
2018-08-16 13:46:43 -07:00
Victor Berchet
1f1103913a
refactor(ivy): cleanup the public API for core/testing ( #25492 )
...
PR Close #25492
2018-08-15 09:53:17 -07:00
Greg Magolan
b5f354f2fb
build(bazel): update to rules_typescript 0.16.0 & update to tagged rules_webtesting 0.2.1 ( #25433 )
...
PR Close #25433
2018-08-14 16:37:15 -07:00
Martin Probst
c869b143c6
build: drop unused re-export of json_marshal. ( #25449 )
...
This appears to be unused, and will be removed from rules_typescript now
that `struct.to_json` can take `dicts`.
PR Close #25449
2018-08-13 21:37:41 -07:00
Ben Lesh
fb2c5241fc
fix(bazel): correct type concatenated to devmode_js ( #25467 )
...
PR Close #25467
2018-08-13 17:27:45 -07:00
Alex Rickabaugh
7058072ff6
feat(ivy): enable .ngfactory.js generation in g3 only ( #25392 )
...
This turns on generation of ngfactory.js files when compiling in Ivy
mode in g3. They're not turned on for Bazel users as there appears to
be a strange interaction with the way our tests run in Bazel mode.
PR Close #25392
2018-08-09 09:58:13 -07:00
Alex Eagle
6c4da9dcd3
build: stop printing source-map-support warning ( #25339 )
...
PR Close #25339
2018-08-08 19:02:57 -07:00
Alex Eagle
a3f1e2cb42
style: format .bzl files with buildifier ( #23544 )
...
PR Close #23544
2018-08-08 13:12:07 -07:00
Alex Eagle
bfdbdc2ee6
docs(bazel): add skydoc generation ( #23544 )
...
PR Close #23544
2018-08-08 13:12:07 -07:00
Fabian Wiles
b0d86c1c2f
refactor(bazel): dont rely on language target to downlevel for loop ( #24534 )
...
PR Close #24534
2018-08-03 15:55:18 -07:00