Skip to content

Commit e5db6a8

Browse files
kyliaumgechev
authored andcommitted
build: BUILD files formatted to have load statements at the top
1 parent 7121044 commit e5db6a8

File tree

24 files changed

+60
-60
lines changed

24 files changed

+60
-60
lines changed

‎packages/angular/cli/BUILD.bazel

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
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-
licenses(["notice"]) # MIT
7-
86
load("@npm_bazel_typescript//:index.bzl", "ts_library")
97
load("@npm_bazel_jasmine//:index.bzl", "jasmine_node_test")
108
load("//tools:ts_json_schema.bzl", "ts_json_schema")
119

10+
licenses(["notice"]) # MIT
11+
1212
package(default_visibility = ["//visibility:public"])
1313

1414
ts_library(

‎packages/angular/pwa/BUILD.bazel

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
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-
licenses(["notice"]) # MIT
7-
86
load("@npm_bazel_typescript//:index.bzl", "ts_library")
97
load("@npm_bazel_jasmine//:index.bzl", "jasmine_node_test")
108
load("//tools:ts_json_schema.bzl", "ts_json_schema")
119

10+
licenses(["notice"]) # MIT
11+
1212
package(default_visibility = ["//visibility:public"])
1313

1414
ts_library(

‎packages/angular_devkit/architect/BUILD.bazel

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
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-
licenses(["notice"]) # MIT
7-
86
load("@bazel_tools//tools/build_defs/pkg:pkg.bzl", "pkg_tar")
97
load("@npm_bazel_jasmine//:index.bzl", "jasmine_node_test")
108
load("@npm_bazel_typescript//:index.bzl", "ts_library")
@@ -15,6 +13,8 @@ load("@build_bazel_rules_nodejs//:index.bzl", "pkg_npm")
1513
# @external_end
1614
load("//tools:ts_json_schema.bzl", "ts_json_schema")
1715

16+
licenses(["notice"]) # MIT
17+
1818
package(default_visibility = ["//visibility:public"])
1919

2020
ts_json_schema(

‎packages/angular_devkit/architect/node/BUILD.bazel

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
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-
licenses(["notice"]) # MIT
7-
86
load("@npm_bazel_typescript//:index.bzl", "ts_library")
97

8+
licenses(["notice"]) # MIT
9+
1010
package(default_visibility = ["//visibility:public"])
1111

1212
ts_library(

‎packages/angular_devkit/architect/testing/BUILD.bazel

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
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-
licenses(["notice"]) # MIT
7-
86
load("@npm_bazel_typescript//:index.bzl", "ts_library")
97

8+
licenses(["notice"]) # MIT
9+
1010
package(default_visibility = ["//visibility:public"])
1111

1212
ts_library(

‎packages/angular_devkit/architect_cli/BUILD.bazel

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1+
load("@npm_bazel_typescript//:index.bzl", "ts_library")
2+
13
# Copyright Google Inc. All Rights Reserved.
24
#
35
# Use of this source code is governed by an MIT-style license that can be
46
# found in the LICENSE file at https://angular.io/license
57
package(default_visibility = ["//visibility:public"])
68

7-
load("@npm_bazel_typescript//:index.bzl", "ts_library")
8-
99
licenses(["notice"]) # MIT
1010

1111
ts_library(

‎packages/angular_devkit/benchmark/BUILD.bazel

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
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-
licenses(["notice"]) # MIT
7-
86
load("@bazel_tools//tools/build_defs/pkg:pkg.bzl", "pkg_tar")
97
load("@npm_bazel_jasmine//:index.bzl", "jasmine_node_test")
108
load("@npm_bazel_typescript//:index.bzl", "ts_library")
119
load("@build_bazel_rules_nodejs//:index.bzl", "pkg_npm")
1210

11+
licenses(["notice"]) # MIT
12+
1313
package(default_visibility = ["//visibility:public"])
1414

1515
ts_library(

‎packages/angular_devkit/build_optimizer/BUILD.bazel

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
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-
licenses(["notice"]) # MIT
7-
86
load("@bazel_tools//tools/build_defs/pkg:pkg.bzl", "pkg_tar")
97
load("@npm_bazel_jasmine//:index.bzl", "jasmine_node_test")
108
load("@npm_bazel_typescript//:index.bzl", "ts_library")
119
load("@build_bazel_rules_nodejs//:index.bzl", "pkg_npm")
1210

11+
licenses(["notice"]) # MIT
12+
1313
package(default_visibility = ["//visibility:public"])
1414

1515
ts_library(

‎packages/angular_devkit/core/BUILD.bazel

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
# Copyright Google Inc. All Rights Reserved.
2-
#
3-
# Use of this source code is governed by an MIT-style license that can be
4-
# found in the LICENSE file at https://angular.io/license
5-
package(default_visibility = ["//visibility:public"])
6-
71
load("@bazel_tools//tools/build_defs/pkg:pkg.bzl", "pkg_tar")
82
load("@npm_bazel_jasmine//:index.bzl", "jasmine_node_test")
93
load("@npm_bazel_typescript//:index.bzl", "ts_library")
@@ -12,6 +6,12 @@ load("@npm_bazel_typescript//:index.bzl", "ts_library")
126
load("@build_bazel_rules_nodejs//:index.bzl", "pkg_npm")
137
# @external_end
148

9+
# Copyright Google Inc. All Rights Reserved.
10+
#
11+
# Use of this source code is governed by an MIT-style license that can be
12+
# found in the LICENSE file at https://angular.io/license
13+
package(default_visibility = ["//visibility:public"])
14+
1515
licenses(["notice"]) # MIT License
1616

1717
# @angular-devkit/core

‎packages/angular_devkit/core/node/BUILD.bazel

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1+
load("@npm_bazel_jasmine//:index.bzl", "jasmine_node_test")
2+
load("@npm_bazel_typescript//:index.bzl", "ts_library")
3+
14
# Copyright Google Inc. All Rights Reserved.
25
#
36
# Use of this source code is governed by an MIT-style license that can be
47
# found in the LICENSE file at https://angular.io/license
58
package(default_visibility = ["//visibility:public"])
69

7-
load("@npm_bazel_jasmine//:index.bzl", "jasmine_node_test")
8-
load("@npm_bazel_typescript//:index.bzl", "ts_library")
9-
1010
licenses(["notice"]) # MIT License
1111

1212
ts_library(

‎packages/angular_devkit/core/node/testing/BUILD.bazel

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1+
load("@npm_bazel_typescript//:index.bzl", "ts_library")
2+
13
# Copyright Google Inc. All Rights Reserved.
24
#
35
# Use of this source code is governed by an MIT-style license that can be
46
# found in the LICENSE file at https://angular.io/license
57
package(default_visibility = ["//visibility:public"])
68

7-
load("@npm_bazel_typescript//:index.bzl", "ts_library")
8-
99
licenses(["notice"]) # MIT License
1010

1111
ts_library(

‎packages/angular_devkit/schematics/BUILD.bazel

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
# Copyright Google Inc. All Rights Reserved.
2-
#
3-
# Use of this source code is governed by an MIT-style license that can be
4-
# found in the LICENSE file at https://angular.io/license
5-
package(default_visibility = ["//visibility:public"])
6-
71
load("@bazel_tools//tools/build_defs/pkg:pkg.bzl", "pkg_tar")
82
load("@npm_bazel_jasmine//:index.bzl", "jasmine_node_test")
93
load("@npm_bazel_typescript//:index.bzl", "ts_library")
@@ -12,6 +6,12 @@ load("@npm_bazel_typescript//:index.bzl", "ts_library")
126
load("@build_bazel_rules_nodejs//:index.bzl", "pkg_npm")
137
# @external_end
148

9+
# Copyright Google Inc. All Rights Reserved.
10+
#
11+
# Use of this source code is governed by an MIT-style license that can be
12+
# found in the LICENSE file at https://angular.io/license
13+
package(default_visibility = ["//visibility:public"])
14+
1515
licenses(["notice"])
1616

1717
# @angular-devkit/schematics

‎packages/angular_devkit/schematics/tasks/BUILD.bazel

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1+
load("@npm_bazel_jasmine//:index.bzl", "jasmine_node_test")
2+
load("@npm_bazel_typescript//:index.bzl", "ts_library")
3+
14
# Copyright Google Inc. All Rights Reserved.
25
#
36
# Use of this source code is governed by an MIT-style license that can be
47
# found in the LICENSE file at https://angular.io/license
58
package(default_visibility = ["//visibility:public"])
69

7-
load("@npm_bazel_jasmine//:index.bzl", "jasmine_node_test")
8-
load("@npm_bazel_typescript//:index.bzl", "ts_library")
9-
1010
licenses(["notice"])
1111

1212
ts_library(

‎packages/angular_devkit/schematics/tasks/node/BUILD.bazel

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1+
load("@npm_bazel_typescript//:index.bzl", "ts_library")
2+
13
# Copyright Google Inc. All Rights Reserved.
24
#
35
# Use of this source code is governed by an MIT-style license that can be
46
# found in the LICENSE file at https://angular.io/license
57
package(default_visibility = ["//visibility:public"])
68

7-
load("@npm_bazel_typescript//:index.bzl", "ts_library")
8-
99
licenses(["notice"])
1010

1111
ts_library(

‎packages/angular_devkit/schematics/testing/BUILD.bazel

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1+
load("@npm_bazel_typescript//:index.bzl", "ts_library")
2+
13
# Copyright Google Inc. All Rights Reserved.
24
#
35
# Use of this source code is governed by an MIT-style license that can be
46
# found in the LICENSE file at https://angular.io/license
57
package(default_visibility = ["//visibility:public"])
68

7-
load("@npm_bazel_typescript//:index.bzl", "ts_library")
8-
99
licenses(["notice"])
1010

1111
ts_library(

‎packages/angular_devkit/schematics/tools/BUILD.bazel

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1+
load("@npm_bazel_jasmine//:index.bzl", "jasmine_node_test")
2+
load("@npm_bazel_typescript//:index.bzl", "ts_library")
3+
14
# Copyright Google Inc. All Rights Reserved.
25
#
36
# Use of this source code is governed by an MIT-style license that can be
47
# found in the LICENSE file at https://angular.io/license
58
package(default_visibility = ["//visibility:public"])
69

7-
load("@npm_bazel_jasmine//:index.bzl", "jasmine_node_test")
8-
load("@npm_bazel_typescript//:index.bzl", "ts_library")
9-
1010
licenses(["notice"])
1111

1212
ts_library(

‎packages/angular_devkit/schematics_cli/BUILD.bazel

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1+
load("@npm_bazel_typescript//:index.bzl", "ts_library")
2+
load("@npm_bazel_jasmine//:index.bzl", "jasmine_node_test")
3+
14
# Copyright Google Inc. All Rights Reserved.
25
#
36
# Use of this source code is governed by an MIT-style license that can be
47
# found in the LICENSE file at https://angular.io/license
58
package(default_visibility = ["//visibility:public"])
69

7-
load("@npm_bazel_typescript//:index.bzl", "ts_library")
8-
load("@npm_bazel_jasmine//:index.bzl", "jasmine_node_test")
9-
1010
licenses(["notice"])
1111

1212
# @angular-devkit/schematics-cli

‎packages/ngtools/webpack/BUILD.bazel

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
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-
licenses(["notice"]) # MIT
7-
86
load("@bazel_tools//tools/build_defs/pkg:pkg.bzl", "pkg_tar")
97
load("@npm_bazel_jasmine//:index.bzl", "jasmine_node_test")
108
load("@npm_bazel_typescript//:index.bzl", "ts_library")
119
load("@build_bazel_rules_nodejs//:index.bzl", "pkg_npm")
1210

11+
licenses(["notice"]) # MIT
12+
1313
package(default_visibility = ["//visibility:public"])
1414

1515
ts_library(

‎packages/schematics/angular/BUILD.bazel

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
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-
licenses(["notice"]) # MIT
7-
86
load("@npm_bazel_jasmine//:index.bzl", "jasmine_node_test")
97
load("@npm_bazel_typescript//:index.bzl", "ts_library")
108
load("//tools:ts_json_schema.bzl", "ts_json_schema")
119

10+
licenses(["notice"]) # MIT
11+
1212
package(default_visibility = ["//visibility:public"])
1313

1414
# Create a list of Tuple("path/file.json", "path_file") to be used as rules

‎packages/schematics/schematics/BUILD.bazel

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
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-
licenses(["notice"]) # MIT
7-
86
load("@npm_bazel_typescript//:index.bzl", "ts_library")
97
load("//tools:ts_json_schema.bzl", "ts_json_schema")
108

9+
licenses(["notice"]) # MIT
10+
1111
package(default_visibility = ["//visibility:public"])
1212

1313
ts_library(

‎packages/schematics/update/BUILD.bazel

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
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-
licenses(["notice"]) # MIT
7-
86
load("@npm_bazel_jasmine//:index.bzl", "jasmine_node_test")
97
load("@npm_bazel_typescript//:index.bzl", "ts_library")
108
load("//tools:ts_json_schema.bzl", "ts_json_schema")
119

10+
licenses(["notice"]) # MIT
11+
1212
package(default_visibility = ["//visibility:public"])
1313

1414
ts_library(

‎tests/angular_devkit/core/node/jobs/BUILD.bazel

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1+
load("@npm_bazel_typescript//:index.bzl", "ts_library")
2+
13
# Copyright Google Inc. All Rights Reserved.
24
#
35
# Use of this source code is governed by an MIT-style license that can be
46
# found in the LICENSE file at https://angular.io/license
57
package(default_visibility = ["//visibility:public"])
68

7-
load("@npm_bazel_typescript//:index.bzl", "ts_library")
8-
99
licenses(["notice"]) # MIT License
1010

1111
ts_library(

‎tests/angular_devkit/schematics/tools/file-system-engine-host/BUILD.bazel

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1+
load("@npm_bazel_typescript//:index.bzl", "ts_library")
2+
13
# Copyright Google Inc. All Rights Reserved.
24
#
35
# Use of this source code is governed by an MIT-style license that can be
46
# found in the LICENSE file at https://angular.io/license
57
package(default_visibility = ["//visibility:public"])
68

7-
load("@npm_bazel_typescript//:index.bzl", "ts_library")
8-
99
licenses(["notice"]) # MIT License
1010

1111
ts_library(

‎tools/BUILD.bazel

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1+
load("@build_bazel_rules_nodejs//:index.bzl", "nodejs_binary")
2+
13
# Copyright Google Inc. All Rights Reserved.
24
#
35
# Use of this source code is governed by an MIT-style license that can be
46
# found in the LICENSE file at https://angular.io/license
57
# @external_begin
68
package(default_visibility = ["//visibility:public"])
79

8-
load("@build_bazel_rules_nodejs//:index.bzl", "nodejs_binary")
9-
1010
nodejs_binary(
1111
name = "quicktype_runner",
1212
data = [

0 commit comments

Comments
 (0)