angular-cn/packages/core/schematics/utils
Paul Gschwendtner c24ad560fa feat(core): undecorated-classes migration should handle derived abstract classes (#35339)
In version 10, undecorated base classes that use Angular features need
to be decorated explicitly with `@Directive()`. Additionally, derived
classes of abstract directives need to be decorated.

The migration already handles this for undecorated classes that are
not explicitly decorated, but since in V9, abstract directives can be
used, we also need to handle this for explicitly decorated abstract
directives. e.g.

```
@Directive()
export class Base {...}

// needs to be decorated by migration when updating from v9 to v10
export class Wrapped extends Base {}

@Component(...)
export class Cmp extends Wrapped {}
```

PR Close #35339
2020-04-02 10:51:49 -07:00
..
tslint refactor(core): move google3 migration rules into single directory (#30956) 2019-07-23 15:52:40 -07:00
typescript feat(core): undecorated-classes migration should handle derived abstract classes (#35339) 2020-04-02 10:51:49 -07:00
BUILD.bazel build: update to rules_nodejs 0.32.2 (#31325) 2019-07-01 14:16:42 -07:00
import_manager.ts refactor(core): move schematic import manager to shared utils (#35339) 2020-04-02 10:51:48 -07:00
line_mappings.ts feat(core): template-var-assignment update schematic (#29608) 2019-04-02 15:47:32 -07:00
ng_component_template.ts fix(core): static-query migration should not prompt if no queries are used (#30254) 2019-05-08 09:22:48 -07:00
ng_decorators.ts feat(core): add undecorated classes migration schematic (#31650) 2019-08-13 14:40:52 -07:00
parse_html.ts refactor(core): static-query schematic should check templates (#29713) 2019-04-11 08:22:44 -07:00
project_tsconfig_paths.ts refactor(core): migrations should parse cli workspace config as json5 (#30582) 2019-05-21 17:26:22 -07:00
schematics_prompt.ts refactor(core): allow developers to select static-query migration strategy (#29876) 2019-04-18 18:22:09 -07:00