Initially the plan was to have a migration that adds `@Injectable()` to all pipes in a CLI project so that the pipes can be injected in Ivy similarly to how it worked in view engine. Due to the planned refactorings which ensure that `@Directive`, `@Component` and `@Pipe` also have a factory definition, this migration is no longer needed for Ivy. Additionally since it is already disabled (due to 572b54967c969c88c61970650fb857afc1d74f8a) and we have a more generic migration (known as `missing-injectable)` that could do the same as `injectable-pipe`, we remove the migration from the code-base. PR Close #32184
33 lines
987 B
Python
33 lines
987 B
Python
load("//tools:defaults.bzl", "jasmine_node_test", "ts_library")
|
|
|
|
ts_library(
|
|
name = "test_lib",
|
|
testonly = True,
|
|
srcs = glob(["**/*.ts"]),
|
|
data = [
|
|
"test-migrations.json",
|
|
"//packages/core/schematics:migrations.json",
|
|
],
|
|
deps = [
|
|
"//packages/core/schematics/migrations/missing-injectable",
|
|
"//packages/core/schematics/migrations/move-document",
|
|
"//packages/core/schematics/migrations/renderer-to-renderer2",
|
|
"//packages/core/schematics/migrations/static-queries",
|
|
"//packages/core/schematics/migrations/template-var-assignment",
|
|
"//packages/core/schematics/migrations/undecorated-classes-with-di",
|
|
"//packages/core/schematics/utils",
|
|
"@npm//@angular-devkit/core",
|
|
"@npm//@angular-devkit/schematics",
|
|
"@npm//@types/shelljs",
|
|
"@npm//tslint",
|
|
],
|
|
)
|
|
|
|
jasmine_node_test(
|
|
name = "google3",
|
|
deps = [
|
|
":test_lib",
|
|
"@npm//shelljs",
|
|
],
|
|
)
|