mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
e65a245a0b
Adds an automated migration that will drop any usages of `entryComponents` from `@NgModule` and `@Component`. PR Close #44322
29 lines
746 B
Python
29 lines
746 B
Python
load("//tools:defaults.bzl", "jasmine_node_test", "ts_library")
|
|
|
|
ts_library(
|
|
name = "test_lib",
|
|
testonly = True,
|
|
srcs = glob(["**/*.ts"]),
|
|
data = [
|
|
"//packages/core/schematics:migrations.json",
|
|
],
|
|
deps = [
|
|
"//packages/core/schematics/migrations/entry-components",
|
|
"//packages/core/schematics/migrations/router-link-empty-expression",
|
|
"//packages/core/schematics/migrations/testbed-teardown",
|
|
"//packages/core/schematics/utils",
|
|
"@npm//@angular-devkit/core",
|
|
"@npm//@angular-devkit/schematics",
|
|
"@npm//@types/shelljs",
|
|
"@npm//tslint",
|
|
],
|
|
)
|
|
|
|
jasmine_node_test(
|
|
name = "test",
|
|
deps = [
|
|
":test_lib",
|
|
"@npm//shelljs",
|
|
],
|
|
)
|