refactor(core): add tslint rule entry-point for static-query migration (#29258)

In order to be able to use the static-query migration logic within
Google, we need to provide a TSLint rule entry-point that wires up
the schematic logic and provides reporting and automatic fixes.

PR Close #29258
This commit is contained in:
Paul Gschwendtner
2019-03-13 16:29:25 +01:00
committed by Matias Niemelä
parent 7b70760c8d
commit 8ef46f38f4
10 changed files with 332 additions and 117 deletions

View File

@ -2,13 +2,11 @@ load("//tools:defaults.bzl", "ts_library")
ts_library(
name = "static-queries",
srcs = glob(
["**/*.ts"],
exclude = ["index_spec.ts"],
),
srcs = glob(["**/*.ts"]),
tsconfig = "//packages/core/schematics:tsconfig.json",
visibility = [
"//packages/core/schematics:__pkg__",
"//packages/core/schematics/migrations/static-queries/google3:__pkg__",
"//packages/core/schematics/test:__pkg__",
],
deps = [