File tree Expand file tree Collapse file tree 13 files changed +71
-21
lines changed Expand file tree Collapse file tree 13 files changed +71
-21
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,6 @@ nodejs_binary(
87
87
)
88
88
89
89
# BEGIN-INTERNAL
90
- # TODO: switch to npm_bazel_jasmine
91
90
# buildozer: disable=load-on-top
92
91
# buildozer: disable=out-of-order-load
93
92
load ("@npm_bazel_jasmine//:index.from_src.bzl" , "jasmine_node_test" )
Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
- load ("@build_bazel_rules_nodejs//:defs.bzl" , "npm_package" )
15
+ load ("@build_bazel_rules_nodejs//:defs.bzl" , "COMMON_REPLACEMENTS" , " npm_package" )
16
16
17
17
# Copy the license from our parent folder
18
18
genrule (
@@ -40,6 +40,7 @@ npm_package(
40
40
srcs = [
41
41
"@npm_bazel_jasmine//:package_contents" ,
42
42
],
43
+ replacements = COMMON_REPLACEMENTS ,
43
44
vendor_external = [
44
45
"npm_bazel_jasmine" ,
45
46
],
Original file line number Diff line number Diff line change
1
+ # Copyright 2019 The Bazel Authors. All rights reserved.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ # BEGIN-INTERNAL
16
+ # Parts of this BUILD file only necessary when building from source.
17
+ # The generated `@bazel/jasmine` npm package contains a trimmed BUILD file using INTERNAL fences.
1
18
load ("@bazel_skylib//:bzl_library.bzl" , "bzl_library" )
2
19
load ("@build_bazel_rules_nodejs//internal/js_library:js_library.bzl" , "js_library" )
3
20
@@ -31,3 +48,4 @@ js_library(
31
48
],
32
49
module_name = "@bazel/jasmine" ,
33
50
)
51
+ # END-INTERNAL
Original file line number Diff line number Diff line change 14
14
15
15
# BEGIN-INTERNAL
16
16
# Parts of this BUILD file only necessary when building from source.
17
- # The generated `@bazel/karma` npm package contains a trimmed BUILD file using # INTERNAL fences.
17
+ # The generated `@bazel/karma` npm package contains a trimmed BUILD file using INTERNAL fences.
18
18
load ("@bazel_skylib//:bzl_library.bzl" , "bzl_library" )
19
19
load ("@build_bazel_rules_nodejs//:defs.bzl" , "nodejs_binary" )
20
20
load ("@npm_bazel_typescript//:index.from_src.bzl" , "ts_library" )
@@ -82,4 +82,6 @@ filegroup(
82
82
)
83
83
84
84
# END-INTERNAL
85
- exports_files (["karma.conf.js" ])
85
+ exports_files ([
86
+ "karma.conf.js" ,
87
+ ])
Original file line number Diff line number Diff line change 1
- load ("@build_bazel_rules_nodejs//:defs.bzl" , "npm_package" )
1
+ load ("@build_bazel_rules_nodejs//:defs.bzl" , "COMMON_REPLACEMENTS" , " npm_package" )
2
2
3
3
exports_files (["tsconfig.json" ])
4
4
@@ -14,6 +14,7 @@ npm_package(
14
14
srcs = [
15
15
"@npm_bazel_labs//:package_contents" ,
16
16
],
17
+ replacements = COMMON_REPLACEMENTS ,
17
18
vendor_external = [
18
19
"npm_bazel_labs" ,
19
20
],
Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
+ # BEGIN-INTERNAL
16
+ # Parts of this BUILD file only necessary when building from source.
17
+ # The generated `@bazel/labs` npm package contains a trimmed BUILD file using INTERNAL fences.
15
18
package (default_visibility = ["//visibility:public" ])
16
19
17
20
exports_files (["tsconfig.json" ])
@@ -25,3 +28,4 @@ filegroup(
25
28
"//webpack:package_contents" ,
26
29
],
27
30
)
31
+ # END-INTERNAL
Original file line number Diff line number Diff line change 13
13
# limitations under the License.
14
14
15
15
# BEGIN-INTERNAL
16
+ # Parts of this BUILD file only necessary when building from source.
17
+ # The generated `@bazel/labs` npm package contains a trimmed BUILD file using INTERNAL fences.
16
18
load ("@build_bazel_rules_nodejs//:defs.bzl" , "nodejs_binary" )
17
19
load ("@npm_bazel_typescript//:index.from_src.bzl" , "ts_library" )
18
20
Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
- load ("@build_bazel_rules_nodejs//:defs.bzl" , "npm_package" )
15
+ load ("@build_bazel_rules_nodejs//:defs.bzl" , "COMMON_REPLACEMENTS" , " npm_package" )
16
16
17
17
# Copy the license from our parent folder
18
18
genrule (
@@ -40,6 +40,7 @@ npm_package(
40
40
srcs = [
41
41
"@npm_bazel_protractor//:package_contents" ,
42
42
],
43
+ replacements = COMMON_REPLACEMENTS ,
43
44
vendor_external = [
44
45
"npm_bazel_protractor" ,
45
46
],
Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
- load ("@build_bazel_rules_nodejs//:defs.bzl" , "npm_package" )
15
+ load ("@build_bazel_rules_nodejs//:defs.bzl" , "COMMON_REPLACEMENTS" , " npm_package" )
16
16
17
17
# Copy the license from our parent folder
18
18
genrule (
@@ -40,6 +40,7 @@ npm_package(
40
40
srcs = [
41
41
"@npm_bazel_stylus//:package_contents" ,
42
42
],
43
+ replacements = COMMON_REPLACEMENTS ,
43
44
vendor_external = [
44
45
"npm_bazel_stylus" ,
45
46
],
Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
+ # BEGIN-INTERNAL
16
+ # Parts of this BUILD file only necessary when building from source.
17
+ # The generated `@bazel/stylus` npm package contains a trimmed BUILD file using INTERNAL fences.
15
18
load ("@bazel_skylib//:bzl_library.bzl" , "bzl_library" )
16
19
17
20
package (default_visibility = ["//visibility:public" ])
@@ -33,3 +36,4 @@ filegroup(
33
36
"package.json" ,
34
37
],
35
38
)
39
+ # END-INTERNAL
You can’t perform that action at this time.
0 commit comments