2019-03-30 07:48:21 -04:00
|
|
|
load("//tools:defaults.bzl", "ts_library")
|
|
|
|
|
|
|
|
ts_library(
|
|
|
|
name = "google3",
|
|
|
|
srcs = glob(["**/*.ts"]),
|
|
|
|
tsconfig = "//packages/core/schematics:tsconfig.json",
|
2019-07-24 04:03:51 -04:00
|
|
|
visibility = ["//packages/core/schematics/test/google3:__pkg__"],
|
2019-03-30 07:48:21 -04: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 01:40:30 -04:00
|
|
|
"//packages/core/schematics/migrations/dynamic-queries",
|
2019-06-18 05:28:23 -04:00
|
|
|
"//packages/core/schematics/migrations/missing-injectable",
|
|
|
|
"//packages/core/schematics/migrations/missing-injectable/google3",
|
2019-07-24 07:46:38 -04:00
|
|
|
"//packages/core/schematics/migrations/renderer-to-renderer2",
|
2019-06-18 05:28:23 -04:00
|
|
|
"//packages/core/schematics/migrations/static-queries",
|
2019-03-30 07:48:21 -04:00
|
|
|
"//packages/core/schematics/migrations/template-var-assignment",
|
2019-08-15 05:40:53 -04:00
|
|
|
"//packages/core/schematics/migrations/undecorated-classes-with-decorated-fields",
|
2019-04-04 08:04:31 -04:00
|
|
|
"//packages/core/schematics/utils",
|
2019-03-30 07:48:21 -04:00
|
|
|
"//packages/core/schematics/utils/tslint",
|
|
|
|
"@npm//tslint",
|
2019-05-09 17:51:51 -04:00
|
|
|
"@npm//typescript",
|
2019-03-30 07:48:21 -04:00
|
|
|
],
|
|
|
|
)
|