2019-03-30 12:48:21 +01:00
|
|
|
load("//tools:defaults.bzl", "ts_library")
|
|
|
|
|
|
|
|
ts_library(
|
|
|
|
name = "google3",
|
|
|
|
srcs = glob(["**/*.ts"]),
|
|
|
|
tsconfig = "//packages/core/schematics:tsconfig.json",
|
2019-07-24 10:03:51 +02:00
|
|
|
visibility = ["//packages/core/schematics/test/google3:__pkg__"],
|
2019-03-30 12:48:21 +01:00
|
|
|
deps = [
|
feat(core): add dynamic queries schematic (#32231)
Adds a schematic that will remove the explicit `static: false` flag from dynamic queries. E.g.
```ts
import { Directive, ViewChild, ContentChild, ElementRef } from '@angular/core';
@Directive()
export class MyDirective {
@ViewChild('child', { static: false }) child: any;
@ViewChild('secondChild', { read: ElementRef, static: false }) secondChild: ElementRef;
@ContentChild('thirdChild', { static: false }) thirdChild: any;
}
```
```ts
import { Directive, ViewChild, ContentChild, ElementRef } from '@angular/core';
@Directive()
export class MyDirective {
@ViewChild('child') child: any;
@ViewChild('secondChild', { read: ElementRef }) secondChild: ElementRef;
@ContentChild('thirdChild') thirdChild: any;
}
```
PR Close #32231
2019-08-21 07:40:30 +02:00
|
|
|
"//packages/core/schematics/migrations/dynamic-queries",
|
2019-06-18 11:28:23 +02:00
|
|
|
"//packages/core/schematics/migrations/missing-injectable",
|
|
|
|
"//packages/core/schematics/migrations/missing-injectable/google3",
|
2019-07-24 13:46:38 +02:00
|
|
|
"//packages/core/schematics/migrations/renderer-to-renderer2",
|
2019-06-18 11:28:23 +02:00
|
|
|
"//packages/core/schematics/migrations/static-queries",
|
2019-03-30 12:48:21 +01:00
|
|
|
"//packages/core/schematics/migrations/template-var-assignment",
|
2019-08-15 12:40:53 +03:00
|
|
|
"//packages/core/schematics/migrations/undecorated-classes-with-decorated-fields",
|
2019-04-04 14:04:31 +02:00
|
|
|
"//packages/core/schematics/utils",
|
2019-03-30 12:48:21 +01:00
|
|
|
"//packages/core/schematics/utils/tslint",
|
|
|
|
"@npm//tslint",
|
2019-05-09 14:51:51 -07:00
|
|
|
"@npm//typescript",
|
2019-03-30 12:48:21 +01:00
|
|
|
],
|
|
|
|
)
|