1+ load ("@npm//@angular/build-tooling/bazel/api-golden:index.bzl" , "api_golden_test_npm_package" )
12load ("@npm//@bazel/jasmine:index.bzl" , "jasmine_node_test" )
23load ("//tools:defaults.bzl" , "pkg_npm" , "ts_library" )
34load ("//tools:toolchain_info.bzl" , "TOOLCHAINS_NAMES" , "TOOLCHAINS_VERSIONS" )
45
5- # @external_begin
6- load ("@npm//@angular/build-tooling/bazel/api-golden:index.bzl" , "api_golden_test_npm_package" )
7- # @external_end
8-
96# Copyright Google Inc. All Rights Reserved.
107#
118# Use of this source code is governed by an MIT-style license that can be
@@ -36,8 +33,6 @@ ts_library(
3633 ),
3734 module_name = "@angular-devkit/core" ,
3835 module_root = "src/index.d.ts" ,
39- # The attribute below is needed in g3 to turn off strict typechecking
40- # strict_checks = False,
4136 deps = [
4237 "@npm//@types/node" ,
4338 "@npm//ajv" ,
@@ -52,13 +47,13 @@ ts_library(
5247 ],
5348)
5449
50+ # @external_begin
51+
5552ts_library (
5653 name = "core_test_lib" ,
5754 testonly = True ,
5855 srcs = glob (["src/**/*_spec.ts" ]),
5956 data = glob (["src/workspace/json/test/**/*.json" ]),
60- # The attribute below is needed in g3 to turn off strict typechecking
61- # strict_checks = False,
6257 deps = [
6358 ":core" ,
6459 "//packages/angular_devkit/core/node" ,
@@ -71,19 +66,13 @@ ts_library(
7166 name = "core_test_" + toolchain_name ,
7267 srcs = [":core_test_lib" ],
7368 toolchain = toolchain ,
74- deps = [
75- # @node_module: ajv
76- # @node_module: fast_json_stable_stringify
77- # @node_module: source_map
78- ],
7969 )
8070 for toolchain_name , toolchain in zip (
8171 TOOLCHAINS_NAMES ,
8272 TOOLCHAINS_VERSIONS ,
8373 )
8474]
8575
86- # @external_begin
8776genrule (
8877 name = "license" ,
8978 srcs = ["//:LICENSE" ],
0 commit comments