mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-15 18:13:38 +08:00
build: migrate tests infrastructure to ts_project
The miscellaneous test infrastructure targets within `tests/` have been migrated to the `rules_js` ts_project rule.
This commit is contained in:
parent
8b68d9fe7c
commit
7b15a15af8
@ -1,4 +1,4 @@
|
||||
load("//tools:defaults.bzl", "ts_library")
|
||||
load("//tools:interop.bzl", "ts_project")
|
||||
|
||||
# Copyright Google Inc. All Rights Reserved.
|
||||
#
|
||||
@ -8,7 +8,7 @@ package(default_visibility = ["//visibility:public"])
|
||||
|
||||
licenses(["notice"])
|
||||
|
||||
ts_library(
|
||||
ts_project(
|
||||
name = "jobs_test_lib",
|
||||
srcs = glob(
|
||||
include = [
|
||||
@ -16,7 +16,7 @@ ts_library(
|
||||
],
|
||||
),
|
||||
deps = [
|
||||
"//packages/angular_devkit/architect",
|
||||
"@npm//@types/node",
|
||||
"//:root_modules/@types/node",
|
||||
"//packages/angular_devkit/architect:architect_rjs",
|
||||
],
|
||||
)
|
||||
|
@ -1,4 +1,4 @@
|
||||
load("//tools:defaults.bzl", "ts_library")
|
||||
load("//tools:interop.bzl", "ts_project")
|
||||
|
||||
# Copyright Google Inc. All Rights Reserved.
|
||||
#
|
||||
@ -8,7 +8,7 @@ package(default_visibility = ["//visibility:public"])
|
||||
|
||||
licenses(["notice"])
|
||||
|
||||
ts_library(
|
||||
ts_project(
|
||||
name = "file_system_engine_host_test_lib",
|
||||
srcs = glob(
|
||||
include = [
|
||||
@ -21,14 +21,11 @@ ts_library(
|
||||
"**/*.js",
|
||||
],
|
||||
),
|
||||
deps = [
|
||||
interop_deps = [
|
||||
"//packages/angular_devkit/schematics",
|
||||
# ":testing",
|
||||
# "//packages/angular_devkit/core",
|
||||
# "//packages/angular_devkit/core/node",
|
||||
# "@npm//rxjs",
|
||||
#
|
||||
"@npm//@types/jasmine",
|
||||
"@npm//@types/node",
|
||||
],
|
||||
deps = [
|
||||
"//:root_modules/@types/jasmine",
|
||||
"//:root_modules/@types/node",
|
||||
],
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user