build: fix type-check errors introduced during rules_ts 0.21 (#27586)
PR Close #27586
This commit is contained in:
parent
bf57e9d781
commit
50687e11cf
|
@ -8,7 +8,7 @@
|
|||
* @fileoverview Schematics for ng-new project that builds with Bazel.
|
||||
*/
|
||||
|
||||
import {apply, applyTemplates, chain, externalSchematic, MergeStrategy, mergeWith, move, Rule, schematic, Tree, url, SchematicsException, UpdateRecorder,} from '@angular-devkit/schematics';
|
||||
import {SchematicContext, apply, applyTemplates, chain, externalSchematic, MergeStrategy, mergeWith, move, Rule, schematic, Tree, url, SchematicsException, UpdateRecorder,} from '@angular-devkit/schematics';
|
||||
import {parseJsonAst, JsonAstObject, strings, JsonValue} from '@angular-devkit/core';
|
||||
import {findPropertyInAstObject, insertPropertyInAstObjectInOrder} from '@schematics/angular/utility/json-utils';
|
||||
import {validateProjectName} from '@schematics/angular/utility/validation';
|
||||
|
|
|
@ -4,6 +4,13 @@ ts_library(
|
|||
name = "test_lib",
|
||||
testonly = True,
|
||||
srcs = glob(["**/*.ts"]),
|
||||
deps = [
|
||||
"//packages:types",
|
||||
"//packages/benchpress",
|
||||
"//packages/core",
|
||||
"//packages/core/testing",
|
||||
"@ngdeps//protractor",
|
||||
],
|
||||
)
|
||||
|
||||
jasmine_node_test(
|
||||
|
|
|
@ -18,6 +18,7 @@ ts_library(
|
|||
"//packages/core",
|
||||
"//packages/core/testing",
|
||||
"//packages/platform-server",
|
||||
"//packages/private/testing",
|
||||
],
|
||||
)
|
||||
|
||||
|
|
|
@ -11,6 +11,7 @@ ts_library(
|
|||
deps = [
|
||||
"//packages/compiler-cli/src/ngcc",
|
||||
"//packages/compiler-cli/src/ngtsc/host",
|
||||
"//packages/compiler-cli/src/ngtsc/metadata",
|
||||
"//packages/compiler-cli/src/ngtsc/testing",
|
||||
"//packages/compiler-cli/src/ngtsc/transform",
|
||||
"@ngdeps//@types/convert-source-map",
|
||||
|
|
|
@ -6,6 +6,7 @@ ts_library(
|
|||
srcs = glob(["**/*.ts"]),
|
||||
deps = [
|
||||
"//packages:types",
|
||||
"//packages/compiler",
|
||||
"//packages/compiler/testing",
|
||||
"//packages/core/testing",
|
||||
"//packages/platform-browser",
|
||||
|
|
|
@ -6,8 +6,11 @@ ts_library(
|
|||
srcs = glob(["**/*.ts"]),
|
||||
deps = [
|
||||
"//packages:types",
|
||||
"//packages/compiler",
|
||||
"//packages/compiler/testing",
|
||||
"//packages/core/testing",
|
||||
"//packages/platform-browser",
|
||||
"//packages/platform-browser/testing",
|
||||
],
|
||||
)
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@ ts_library(
|
|||
),
|
||||
deps = [
|
||||
"//packages/service-worker/config",
|
||||
"//packages/service-worker/config/testing",
|
||||
],
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue