Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

Commit 5867cf7

Browse files
committed
Update to angular 7 and idiomatic install of @angular/bazel
1 parent 09eab9c commit 5867cf7

File tree

4 files changed

+713
-39
lines changed

4 files changed

+713
-39
lines changed

WORKSPACE

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,11 @@ http_archive(
2121
)
2222

2323
# The @angular repo contains rule for building Angular applications
24+
# TODO(gmagolan): Update to next 7.0.x tag when it is released
2425
http_archive(
2526
name = "angular",
26-
url = "https://github.com/angular/angular/archive/08e4489cf5a93a352954f1639da5e92112993753.zip",
27-
strip_prefix = "angular-08e4489cf5a93a352954f1639da5e92112993753",
27+
url = "https://github.com/angular/angular/archive/bfeceb3d3e636d755c2bd7bdd85b7136da066c78.zip",
28+
strip_prefix = "angular-bfeceb3d3e636d755c2bd7bdd85b7136da066c78",
2829
)
2930

3031
# The @rxjs repo contains targets for building rxjs with bazel
@@ -35,6 +36,14 @@ http_archive(
3536
sha256 = "72b0b4e517f43358f554c125e40e39f67688cd2738a8998b4a266981ed32f403",
3637
)
3738

39+
# Rules for compiling sass
40+
http_archive(
41+
name = "io_bazel_rules_sass",
42+
sha256 = "dbe9fb97d5a7833b2a733eebc78c9c1e3880f676ac8af16e58ccf2139cbcad03",
43+
strip_prefix = "rules_sass-1.11.0",
44+
url = "https://github.com/bazelbuild/rules_sass/archive/1.11.0.zip",
45+
)
46+
3847
# This local_repository rule is needed to prevent `bazel build ...` from
3948
# drilling down into the @rxjs workspace BUILD files in node_modules/rxjs/src.
4049
# In the future this will no longer be needed.

e2e/BUILD.bazel

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ protractor_web_test_suite(
1717
name = "prodserver_test",
1818
data = [
1919
"@angular//packages/bazel/src/protractor/utils",
20+
"@npm//@angular/bazel",
2021
"@npm//protractor",
2122
"@npm//zone.js",
2223
],
@@ -29,6 +30,7 @@ protractor_web_test_suite(
2930
name = "devserver_test",
3031
data = [
3132
"@angular//packages/bazel/src/protractor/utils",
33+
"@npm//@angular/bazel",
3234
"@npm//protractor",
3335
"@npm//zone.js",
3436
],

package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,14 @@
1111
"zone.js": "0.8.26"
1212
},
1313
"devDependencies": {
14-
"@angular/compiler": "github:angular/compiler-builds#bazel",
15-
"@angular/compiler-cli": "github:angular/compiler-cli-builds#bazel",
16-
"@angular/core": "github:angular/core-builds#bazel",
14+
"@angular/bazel": "github:angular/bazel-builds#7.0.x",
15+
"@angular/compiler": "github:angular/compiler-builds#7.0.x",
16+
"@angular/compiler-cli": "github:angular/compiler-cli-builds#7.0.x",
17+
"@angular/core": "github:angular/core-builds#7.0.x",
1718
"@bazel/benchmark-runner": "0.1.0",
1819
"@bazel/ibazel": "0.5.0",
19-
"@bazel/karma": "0.20.2",
20-
"@bazel/typescript": "0.20.2",
20+
"@bazel/karma": "0.20.3",
21+
"@bazel/typescript": "0.20.3",
2122
"@types/jasmine": "2.8.8",
2223
"@types/node": "6.0.117",
2324
"clang-format": "1.2.4",

0 commit comments

Comments
 (0)