114 Commits

Author SHA1 Message Date
Greg Magolan
4a1640bdd5 build: minimum version of rules_nodejs is now 0.26.0 ()
PR Close 
2019-02-28 12:06:36 -08: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
Greg Magolan
cd83a43462 build(bazel): revert back to non-vendored yarn in node_repositories() ()
Resolves Windows issue https://github.com/bazelbuild/rules_nodejs/issues/588

PR Close 
2019-02-28 10:52:23 -08:00
Wassim Chegham
dad5a258b8 style: enforce buildifier lint on CI ()
PR Close 
2019-02-26 16:57:41 -08:00
Wassim Chegham
ce68b4d839 style: enforce buildifier lint on CI ()
PR Close 
2019-02-26 16:57:41 -08:00
Alex Eagle
350802b207 build: update to latest bazel rules ()
PR Close 
2019-02-22 17:27:09 -08:00
Greg Magolan
ebffde7143 build: update to rules_typescript 0.25.1 ()
Updated a spot in the compiler which assumed es5 downlevelling get ready for es2015 devmode in the future.

PR Close 
2019-02-21 07:46:21 -08:00
Alex Eagle
1832e0f293 build: use vendored yarn under Bazel ()
PR Close 
2019-02-20 09:19:03 -08:00
Greg Magolan
25aae64274 build(bazel): do not build rxjs from source under Bazel ()
PR Close 
2019-02-19 16:28:14 -08:00
Greg Magolan
47574fef11 build(bazel): temporarily pin browser versions while upstream is fixed as work-around for ()
PR Close 
2019-02-13 19:18:27 -08:00
Greg Magolan
28bdeeef3e build(bazel): update to rules_nodejs 0.18.6 ()
PR Close 
2019-02-13 12:13:08 -08:00
Greg Magolan
cec1fa04c2 build: remove all deps on io_bazel_rules_go ()
PR Close 
2019-02-05 16:55:43 -05:00
Greg Magolan
0d1e065a1c build: update to rules_typescript 0.23.2 and rules_nodejs 0.16.8 ()
PR Close 
2019-02-05 16:55:43 -05:00
Greg Magolan
e4f67dfe66 build(bazel): update to bazel 0.22.0 and turn on --incompatible_strict_action_env flag ()
PR Close 
2019-01-28 11:48:41 -08:00
Greg Magolan
7adcbb320f build: enforce minimum Bazel version of 0.21.0 in WORKSPACE so cache works with yarn bazel ()
PR Close 
2019-01-04 18:38:44 -08:00
Alex Eagle
44dd764d6d build: update to Bazel 0.20 ()
refactor Bazel RBE configs

PR Close 
2018-12-07 14:29:03 -08:00
Alex Eagle
15ca1bbd11 style: run latest buildifier binary ()
PR Close 
2018-12-07 09:27:32 -08:00
Alex Eagle
cab5927bd5 ci: use buildifier binary release ()
Switch from Skylint to buildifier --lint - this is required for the Bazel 0.20 upgrade since Bazel no longer lets us use the embedded JDK to build and run Java programs, and Skylint is a Java program

PR Close 
2018-12-07 09:27:32 -08:00
Greg Magolan
68074df0a2 build(bazel): replace yarn_install(name = "npm") with @npm local_reporsitory() to speed up build ()
PR Close 
2018-12-05 10:48:19 -08:00
Greg Magolan
c8a8dcfc6e build(bazel): update handling of rules_nodejs transitive deps ()
BREAKING CHANGES:

Bazel users: rules_angular_dependencies() will no longer install transitive dependencies of build_bazel_rules_nodejs and build_bazel_rules_typescript. User WORKSPACE files will now need to install rules_nodejs and rules_typescript transitive deps directly:

```
load("@build_bazel_rules_typescript//:package.bzl", "rules_typescript_dependencies")
rules_typescript_dependencies()

load("@build_bazel_rules_nodejs//:package.bzl", "rules_nodejs_dependencies")
rules_nodejs_dependencies()
```

PR Close 
2018-11-30 13:35:51 -08:00
Alex Eagle
026b7e34b3 build: update yarn version ()
Some engineers were already on Yarn 0.10.x which was permitted by the range in our package.json#engines
However this introduced 'integrity sha512' lines into the yarn.lock files.
Then when engineers use yarn 0.9 (in particular, Bazel did this) then the lock files get tons of meaningless edits.
We could force everyone back to yarn 0.9 but this commit chooses to instead advance everyone past 0.10

PR Close 
2018-11-21 07:46:22 -08:00
Alex Eagle
66be3c9f51 build: Move non-bazel deps to devDependencies ()
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 
2018-10-30 16:19:13 -04:00
Alex Eagle
30d6233e83 build: update ngcontainer to bazel 0.18.0 () ()
* 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 
2018-10-19 20:59:29 -07:00
Greg Magolan
1f3331f5e6 build(bazel): use fine-grained npm deps () ()
PR Close 
2018-10-19 20:59:29 -07:00
Alex Eagle
b6c9678f21 build: introduce a package.bzl ()
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 
2018-10-19 20:59:29 -07:00
Ben Lesh
ffc6e199bf build: RxJS updated to 6.3 ()
PR Close 
2018-09-26 17:01:15 -07:00
Igor Minar
6de393b2b8 build: bump the com_github_bazelbuild_buildtools version to 0.12.0 ()
This is a preliminary fix to make buildifier work with Bazel 0.16.

See alexeagle/angular-bazel-example/issues/173

PR Close 
2018-09-18 13:14:35 -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
Alex Eagle
bdbb2f9bfa ci: update to bazel 0.17 ()
this includes support for @ character in labels, which we need for fine-grained deps

PR Close 
2018-09-17 12:51:52 -07:00
Alex Eagle
34ec9244a6 build: update to Node 10 ()
PR Close 
2018-09-06 14:58:30 -07:00
Greg Magolan
910381ddbd build(bazel): fix bazel types reference directive resolves ()
PR Close 
2018-08-31 11:12:03 -07:00
Alex Eagle
c230173716 build: update Bazel to 0.16 ()
PR Close 
2018-08-27 18:20:32 -04:00
Alan Agius
6ed79934c4 fix(bazel): move bazel managed runtime deps for downstream usage ()
PR Close 
2018-08-27 18:18:17 -04:00
Alex Eagle
22e7f7e99f build(bazel): update to rules_typescript 0.16.1 ()
PR Close 
2018-08-23 15:26:21 -04:00
Wei Huang
c8b70ae8e4 build(bazel): Run build-packages-dist on RBE ()
PR Close 
2018-08-20 16:34:45 -07:00
Greg Magolan
b5f354f2fb build(bazel): update to rules_typescript 0.16.0 & update to tagged rules_webtesting 0.2.1 ()
PR Close 
2018-08-14 16:37:15 -07:00
Alex Eagle
6c4da9dcd3 build: stop printing source-map-support warning ()
PR Close 
2018-08-08 19:02:57 -07:00
Alex Eagle
bfdbdc2ee6 docs(bazel): add skydoc generation ()
PR Close 
2018-08-08 13:12:07 -07:00
Kara Erickson
843479449d Revert "build: update Bazel to 0.16 ()" ()
This reverts commit 4eb8ac6de945bbc0d425e97d9f034ed68b307c50 because 0.16 is not
widely available yet (e.g. on Mac) and it is blocking the Angular release.

PR Close 
2018-08-08 10:52:23 -07:00
Alex Eagle
4eb8ac6de9 build: update Bazel to 0.16 ()
PR Close 
2018-08-06 11:30:24 -07:00
Greg Magolan
5254d3447d build(bazel): update to rules_nodejs 0.11.2 and latest rules_typescript ()
PR Close 
2018-07-31 11:41:50 -07:00
Greg Magolan
1d051c5841 build(bazel): use bazel managed node_modules for downstream angular from source build support ()
PR Close 
2018-07-26 17:02:21 -07:00
Alex Eagle
23766b85e9
build: Fix windows tests ()
closes 
2018-07-20 10:51:32 -07:00
Greg Magolan
c438b5eeda build(bazel): turn on preserve-symlinks ()
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 
2018-07-20 10:37:30 -07:00
Alex Eagle
06a33984af build: rename angular_devkit dependency to angular_cli ()
PR Close 
2018-07-17 16:44:01 -04:00
Alex Eagle
97277bc9fb build: update to Bazel 0.15 ()
PR Close 
2018-07-13 15:05:16 -04:00
Greg Magolan
ee50ee493d build(bazel): try removing gazelle ()
PR Close 
2018-07-12 16:34:45 -04:00
Greg Magolan
161ff5c79d feat(bazel): protractor_web_test_suite for release ()
PR Close 
2018-07-12 16:34:45 -04:00
mrmeku
71e0df039c feat(bazel): Initial commit of protractor_web_test_suite ()
Co-authored-by: Andrew Z Allen <me@andrewzallen.com>

PR Close 
2018-07-12 16:34:45 -04:00
Rado Kirov
4d8b8ad372 build(bazel): Undo temporary dependency on unleased TS bazel rules ()
Point to a proper new release version 0.15.1.

PR Close 
2018-07-12 14:38:14 -04:00