Miško Hevery
4354fce2bb
build: Replace iteration over depsets with an explicit .to_list() call. ( #27336 )
...
PR Close #27336
2018-11-29 21:22:39 -08:00
Igor Minar
f7ba4b2ff9
fix(ivy): remove obsolete ng_module code for global and jit mode ( #27278 )
...
These paths are no longer needed / used.
I had to disable one jit mode spec because it fails now that we actually run it.
I root caused the jit test failure as missing forwardRef support. See FW-645.
PR Close #27278
2018-11-27 10:30:58 -08:00
Keen Yee Liau
a72250bace
build(bazel): Add Bazel builders ( #27141 )
...
PR Close #27141
2018-11-21 07:46:42 -08:00
Alex Eagle
81e975ad93
build: update to latest Bazel rules_typescript ( #27138 )
...
PR Close #27138
2018-11-17 12:19:32 -08:00
mrmeku
b07bd30b70
feat(bazel): Bazel workspace schematics ( #26971 )
...
This commit creates a schematics for Bazel workspace.
PR Close #26971
2018-11-16 12:18:06 -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
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
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
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
631998b2df
build: idiomatic install of @angular/bazel npm package ( #26258 ) ( #26488 )
...
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
5b4cf38166
refactor(bazel): remove workaround for TS bug ( #26516 )
...
PR Close #26516
2018-10-19 11:14:24 -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
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
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
Greg Magolan
5254d3447d
build(bazel): update to rules_nodejs 0.11.2 and latest rules_typescript ( #25169 )
...
PR Close #25169
2018-07-31 11:41:50 -07:00
Greg Magolan
f82b6b2ed7
build(bazel): fix typos in comments ( #25172 )
...
PR Close #25172
2018-07-27 17:20:58 -07:00
Greg Magolan
1d051c5841
build(bazel): use bazel managed node_modules for downstream angular from source build support ( #24663 )
...
PR Close #24663
2018-07-26 17:02:21 -07:00
Alex Rickabaugh
0d1d5898e3
fix(bazel): allow compile_strategy to be (privately) imported ( #25080 )
...
compile_strategy() is used to decide whether to build Angular code
using ngc (legacy) or ngtsc (local). In order for g3 BUILD rules
to switch properly and allow testing of Ivy in g3, they need to
import this function.
This commit removes the _ prefix which allows the function to be
imported.
PR Close #25080
2018-07-26 16:38:09 -07:00
Wei Huang
2cb0f68a7b
test(bazel): allow no sandbox for protractor tests ( #24906 )
...
It specifies --no-sandbox flag when running the protractor tests as
root. This is needed for running the tests inside a docker container.
PR Close #24906
2018-07-24 08:28:03 -07:00
Greg Magolan
c438b5eeda
build(bazel): turn on preserve-symlinks ( #24881 )
...
This change turns on preserve-symlinks in nodejs to verify hermeticity of the Angular build.
BREAKING CHANGE: Use of @angular/bazel rules now requires calling ng_setup_workspace() in your WORKSPACE file.
For example:
local_repository(
name = "angular",
path = "node_modules/@angular/bazel",
)
load("@angular//:index.bzl", "ng_setup_workspace")
ng_setup_workspace()
PR Close #24881
2018-07-20 10:37:30 -07:00
Alex Eagle
06a33984af
build: rename angular_devkit dependency to angular_cli ( #24842 )
...
PR Close #24842
2018-07-17 16:44:01 -04:00
Greg Magolan
161ff5c79d
feat(bazel): protractor_web_test_suite for release ( #24787 )
...
PR Close #24787
2018-07-12 16:34:45 -04:00