Skip to content

Commit e31d5d8

Browse files
alan-agius4vikerman
authored andcommitted
build: update bazel packages
1 parent bcf8876 commit e31d5d8

File tree

20 files changed

+157
-76
lines changed

20 files changed

+157
-76
lines changed

WORKSPACE

+13-8
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
88

99
http_archive(
1010
name = "build_bazel_rules_nodejs",
11-
sha256 = "da217044d24abd16667324626a33581f3eaccabf80985b2688d6a08ed2f864be",
12-
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/0.37.1/rules_nodejs-0.37.1.tar.gz"],
11+
sha256 = "ad4be2c6f40f5af70c7edf294955f9d9a0222c8e2756109731b25f79ea2ccea0",
12+
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/0.38.3/rules_nodejs-0.38.3.tar.gz"],
1313
)
1414

1515
# We use protocol buffers for the Build Event Protocol
@@ -91,14 +91,19 @@ load("@npm//:install_bazel_dependencies.bzl", "install_bazel_dependencies")
9191

9292
install_bazel_dependencies()
9393

94-
load("@npm_bazel_typescript//:defs.bzl", "ts_setup_workspace")
94+
load("@npm_bazel_typescript//:index.bzl", "ts_setup_workspace")
9595

9696
ts_setup_workspace()
9797

9898
# Load karma dependencies
99-
load("@npm_bazel_karma//:package.bzl", "rules_karma_dependencies")
99+
load("@npm_bazel_karma//:package.bzl", "npm_bazel_karma_dependencies")
100100

101-
rules_karma_dependencies()
101+
npm_bazel_karma_dependencies()
102+
103+
# Load labs dependencies
104+
load("@npm_bazel_labs//:package.bzl", "npm_bazel_labs_dependencies")
105+
106+
npm_bazel_labs_dependencies()
102107

103108
# Setup the rules_webtesting toolchain
104109
load("@io_bazel_rules_webtesting//web:repositories.bzl", "web_test_repositories")
@@ -111,9 +116,9 @@ web_test_repositories()
111116
# Bring in bazel_toolchains for RBE setup configuration.
112117
http_archive(
113118
name = "bazel_toolchains",
114-
sha256 = "e08fa958f227ea2e41627b50d9b3f1df9bd3ef8dff5a2bcee3a19bc26bc36070",
115-
strip_prefix = "bazel-toolchains-0.29.7",
116-
url = "https://github.com/bazelbuild/bazel-toolchains/archive/0.29.7.tar.gz",
119+
sha256 = "0b36eef8a66f39c8dbae88e522d5bbbef49d5e66e834a982402c79962281be10",
120+
strip_prefix = "bazel-toolchains-1.0.1",
121+
url = "https://github.com/bazelbuild/bazel-toolchains/archive/1.0.1.tar.gz",
117122
)
118123

119124
load("@bazel_toolchains//rules:environments.bzl", "clang_env")

package.json

+5-4
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,12 @@
8484
"devDependencies": {
8585
"@angular/compiler": "9.0.0-next.12",
8686
"@angular/compiler-cli": "9.0.0-next.12",
87-
"@bazel/bazel": "0.29.0",
87+
"@bazel/bazel": "1.0.0",
8888
"@bazel/buildifier": "0.29.0",
89-
"@bazel/jasmine": "0.37.1",
90-
"@bazel/karma": "0.37.1",
91-
"@bazel/typescript": "0.37.1",
89+
"@bazel/jasmine": "0.38.3",
90+
"@bazel/karma": "0.38.3",
91+
"@bazel/labs": "0.38.3",
92+
"@bazel/typescript": "0.38.3",
9293
"@types/babel__core": "7.1.3",
9394
"@types/browserslist": "^4.4.0",
9495
"@types/caniuse-lite": "^1.0.0",

packages/angular/cli/BUILD

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
licenses(["notice"]) # MIT
77

8-
load("@npm_bazel_typescript//:defs.bzl", "ts_library")
8+
load("@npm_bazel_typescript//:index.bzl", "ts_library")
99
load("//tools:ts_json_schema.bzl", "ts_json_schema")
1010

1111
package(default_visibility = ["//visibility:public"])

packages/angular/pwa/BUILD

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
licenses(["notice"]) # MIT
77

8-
load("@npm_bazel_typescript//:defs.bzl", "ts_library")
8+
load("@npm_bazel_typescript//:index.bzl", "ts_library")
99
load("//tools:ts_json_schema.bzl", "ts_json_schema")
1010

1111
package(default_visibility = ["//visibility:public"])

packages/angular_devkit/architect/BUILD

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
licenses(["notice"]) # MIT
77

8-
load("@npm_bazel_typescript//:defs.bzl", "ts_library")
8+
load("@npm_bazel_typescript//:index.bzl", "ts_library")
99

1010
# @external_begin
1111
load("@build_bazel_rules_nodejs//:defs.bzl", "npm_package")

packages/angular_devkit/architect_cli/BUILD

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# found in the LICENSE file at https://angular.io/license
55
package(default_visibility = ["//visibility:public"])
66

7-
load("@npm_bazel_typescript//:defs.bzl", "ts_library")
7+
load("@npm_bazel_typescript//:index.bzl", "ts_library")
88

99
licenses(["notice"]) # MIT
1010

packages/angular_devkit/benchmark/BUILD

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
licenses(["notice"]) # MIT
77

88
load("@npm_bazel_jasmine//:index.bzl", "jasmine_node_test")
9-
load("@npm_bazel_typescript//:defs.bzl", "ts_library")
9+
load("@npm_bazel_typescript//:index.bzl", "ts_library")
1010
load("@build_bazel_rules_nodejs//:defs.bzl", "npm_package")
1111

1212
package(default_visibility = ["//visibility:public"])

packages/angular_devkit/build_optimizer/BUILD

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
licenses(["notice"]) # MIT
77

88
load("@npm_bazel_jasmine//:index.bzl", "jasmine_node_test")
9-
load("@npm_bazel_typescript//:defs.bzl", "ts_library")
9+
load("@npm_bazel_typescript//:index.bzl", "ts_library")
1010
load("@build_bazel_rules_nodejs//:defs.bzl", "npm_package")
1111

1212
package(default_visibility = ["//visibility:public"])

packages/angular_devkit/core/BUILD

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
package(default_visibility = ["//visibility:public"])
66

77
load("@npm_bazel_jasmine//:index.bzl", "jasmine_node_test")
8-
load("@npm_bazel_typescript//:defs.bzl", "ts_library")
8+
load("@npm_bazel_typescript//:index.bzl", "ts_library")
99

1010
# @external_begin
1111
load("@build_bazel_rules_nodejs//:defs.bzl", "npm_package")

packages/angular_devkit/schematics/BUILD

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
package(default_visibility = ["//visibility:public"])
66

77
load("@npm_bazel_jasmine//:index.bzl", "jasmine_node_test")
8-
load("@npm_bazel_typescript//:defs.bzl", "ts_library")
8+
load("@npm_bazel_typescript//:index.bzl", "ts_library")
99

1010
# @external_begin
1111
load("@build_bazel_rules_nodejs//:defs.bzl", "npm_package")

packages/angular_devkit/schematics_cli/BUILD

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# found in the LICENSE file at https://angular.io/license
55
package(default_visibility = ["//visibility:public"])
66

7-
load("@npm_bazel_typescript//:defs.bzl", "ts_library")
7+
load("@npm_bazel_typescript//:index.bzl", "ts_library")
88

99
licenses(["notice"])
1010

packages/schematics/angular/BUILD

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
licenses(["notice"]) # MIT
77

88
load("@npm_bazel_jasmine//:index.bzl", "jasmine_node_test")
9-
load("@npm_bazel_typescript//:defs.bzl", "ts_library")
9+
load("@npm_bazel_typescript//:index.bzl", "ts_library")
1010
load("//tools:ts_json_schema.bzl", "ts_json_schema")
1111

1212
package(default_visibility = ["//visibility:public"])

packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/BUILD.bazel

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
load("@npm_bazel_typescript//:defs.bzl", "ts_library")
1+
load("@npm_bazel_typescript//:index.bzl", "ts_library")
22

33
# files fetched on 2019-03-05 from
44
# https://github.com/Microsoft/TypeScript/tree/v3.3.3333

packages/schematics/schematics/BUILD

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
licenses(["notice"]) # MIT
77

8-
load("@npm_bazel_typescript//:defs.bzl", "ts_library")
8+
load("@npm_bazel_typescript//:index.bzl", "ts_library")
99
load("//tools:ts_json_schema.bzl", "ts_json_schema")
1010

1111
package(default_visibility = ["//visibility:public"])

packages/schematics/update/BUILD

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
licenses(["notice"]) # MIT
77

88
load("@npm_bazel_jasmine//:index.bzl", "jasmine_node_test")
9-
load("@npm_bazel_typescript//:defs.bzl", "ts_library")
9+
load("@npm_bazel_typescript//:index.bzl", "ts_library")
1010
load("//tools:ts_json_schema.bzl", "ts_json_schema")
1111

1212
package(default_visibility = ["//visibility:public"])

tests/angular_devkit/core/node/jobs/BUILD

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# found in the LICENSE file at https://angular.io/license
55
package(default_visibility = ["//visibility:public"])
66

7-
load("@npm_bazel_typescript//:defs.bzl", "ts_library")
7+
load("@npm_bazel_typescript//:index.bzl", "ts_library")
88

99
licenses(["notice"]) # MIT License
1010

tests/angular_devkit/schematics/tools/file-system-engine-host/BUILD

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# found in the LICENSE file at https://angular.io/license
55
package(default_visibility = ["//visibility:public"])
66

7-
load("@npm_bazel_typescript//:defs.bzl", "ts_library")
7+
load("@npm_bazel_typescript//:index.bzl", "ts_library")
88

99
licenses(["notice"]) # MIT License
1010

tools/build_event_protocol/BUILD

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
#
33
# Use of this source code is governed by an MIT-style license that can be
44
# found in the LICENSE file at https://angular.io/license
5-
load("@npm_bazel_typescript//:defs.bzl", "ts_library", "ts_proto_library")
5+
load("@npm_bazel_labs//:index.bzl", "ts_proto_library")
6+
load("@npm_bazel_typescript//:index.bzl", "ts_library")
67
load("@build_bazel_rules_nodejs//:defs.bzl", "nodejs_binary")
78

89
ts_proto_library(

tools/ts_json_schema.bzl

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Use of this source code is governed by an MIT-style license that can be
44
# found in the LICENSE file at https://angular.io/license
55

6-
load("@npm_bazel_typescript//:defs.bzl", "ts_library")
6+
load("@npm_bazel_typescript//:index.bzl", "ts_library")
77

88
# @external_begin
99
def _ts_json_schema_interface_impl(ctx):

0 commit comments

Comments
 (0)