1
+ load ("@npm//@angular/build-tooling/bazel/api-golden:index.bzl" , "api_golden_test_npm_package" )
1
2
load ("@npm//@bazel/jasmine:index.bzl" , "jasmine_node_test" )
2
3
load ("//tools:defaults.bzl" , "pkg_npm" , "ts_library" )
3
4
load ("//tools:toolchain_info.bzl" , "TOOLCHAINS_NAMES" , "TOOLCHAINS_VERSIONS" )
4
5
5
- # @external_begin
6
- load ("@npm//@angular/build-tooling/bazel/api-golden:index.bzl" , "api_golden_test_npm_package" )
7
- # @external_end
8
-
9
6
# Copyright Google Inc. All Rights Reserved.
10
7
#
11
8
# Use of this source code is governed by an MIT-style license that can be
@@ -36,8 +33,6 @@ ts_library(
36
33
),
37
34
module_name = "@angular-devkit/core" ,
38
35
module_root = "src/index.d.ts" ,
39
- # The attribute below is needed in g3 to turn off strict typechecking
40
- # strict_checks = False,
41
36
deps = [
42
37
"@npm//@types/node" ,
43
38
"@npm//ajv" ,
@@ -52,13 +47,13 @@ ts_library(
52
47
],
53
48
)
54
49
50
+ # @external_begin
51
+
55
52
ts_library (
56
53
name = "core_test_lib" ,
57
54
testonly = True ,
58
55
srcs = glob (["src/**/*_spec.ts" ]),
59
56
data = glob (["src/workspace/json/test/**/*.json" ]),
60
- # The attribute below is needed in g3 to turn off strict typechecking
61
- # strict_checks = False,
62
57
deps = [
63
58
":core" ,
64
59
"//packages/angular_devkit/core/node" ,
@@ -71,19 +66,13 @@ ts_library(
71
66
name = "core_test_" + toolchain_name ,
72
67
srcs = [":core_test_lib" ],
73
68
toolchain = toolchain ,
74
- deps = [
75
- # @node_module: ajv
76
- # @node_module: fast_json_stable_stringify
77
- # @node_module: source_map
78
- ],
79
69
)
80
70
for toolchain_name , toolchain in zip (
81
71
TOOLCHAINS_NAMES ,
82
72
TOOLCHAINS_VERSIONS ,
83
73
)
84
74
]
85
75
86
- # @external_begin
87
76
genrule (
88
77
name = "license" ,
89
78
srcs = ["//:LICENSE" ],
0 commit comments