[6a3a178] | 1 | {
|
---|
| 2 | "schematics": {
|
---|
| 3 | "migration-v8-move-document": {
|
---|
| 4 | "version": "8.0.0-beta",
|
---|
| 5 | "description": "@DOCUMENT migration. Migrates DOCUMENT Injection token from platform-browser imports to common import.",
|
---|
| 6 | "factory": "./migrations/move-document/index"
|
---|
| 7 | },
|
---|
| 8 | "migration-v8-static-queries": {
|
---|
| 9 | "version": "8.0.0-beta",
|
---|
| 10 | "description": "ViewChild and ContentChild to explicit query timing migration. In Angular version 8, developers need to explicitly specify the timing of ViewChild and ContentChild queries. Read more about this here: https://v8.angular.io/guide/static-query-migration",
|
---|
| 11 | "factory": "./migrations/static-queries/index"
|
---|
| 12 | },
|
---|
| 13 | "migration-v8-template-local-variables": {
|
---|
| 14 | "version": "8.0.0-beta",
|
---|
| 15 | "description": "Template Variable Assignment migration. Warns developers if values are assigned to template variables.",
|
---|
| 16 | "factory": "./migrations/template-var-assignment/index"
|
---|
| 17 | },
|
---|
| 18 | "migration-v9-renderer-to-renderer2": {
|
---|
| 19 | "version": "9.0.0-beta",
|
---|
| 20 | "description": "Renderer to Renderer2 migration. As of Angular 9, the Renderer class is no longer available. Renderer2 should be used instead. Read more about this here: https://v9.angular.io/guide/migration-renderer",
|
---|
| 21 | "factory": "./migrations/renderer-to-renderer2/index"
|
---|
| 22 | },
|
---|
| 23 | "migration-v9-undecorated-classes-with-di": {
|
---|
| 24 | "version": "9.0.0-beta",
|
---|
| 25 | "description": "Undecorated classes with DI migration. As of Angular 9, it is no longer supported to use Angular DI on a class that does not have an Angular decorator. Read more about this here: https://v9.angular.io/guide/migration-undecorated-classes",
|
---|
| 26 | "factory": "./migrations/undecorated-classes-with-di/index"
|
---|
| 27 | },
|
---|
| 28 | "migration-v9-dynamic-queries": {
|
---|
| 29 | "version": "9-beta",
|
---|
| 30 | "description": "Static flag migration. Removes the `static` flag from dynamic queries. As of Angular 9, the \"static\" flag defaults to false and is no longer required for your view and content queries. Read more about this here: https://v9.angular.io/guide/migration-dynamic-flag",
|
---|
| 31 | "factory": "./migrations/dynamic-queries/index"
|
---|
| 32 | },
|
---|
| 33 | "migration-v10-missing-injectable": {
|
---|
| 34 | "version": "10.0.0-beta",
|
---|
| 35 | "description": "Missing @Injectable and incomplete provider definition migration. As of Angular 9, enforcement of @Injectable decorators for DI is a bit stricter and incomplete provider definitions behave differently. Read more about this here: https://v9.angular.io/guide/migration-injectable",
|
---|
| 36 | "factory": "./migrations/missing-injectable/index"
|
---|
| 37 | },
|
---|
| 38 | "migration-v10-module-with-providers": {
|
---|
| 39 | "version": "10.0.0-beta",
|
---|
| 40 | "description": "ModuleWithProviders migration. As of Angular 10, the ModuleWithProviders type requires a generic. This migration adds the generic where it is missing. Read more about this here: https://v10.angular.io/guide/migration-module-with-providers",
|
---|
| 41 | "factory": "./migrations/module-with-providers/index"
|
---|
| 42 | },
|
---|
| 43 | "migration-v10-undecorated-classes-with-decorated-fields": {
|
---|
| 44 | "version": "10.0.0-beta",
|
---|
| 45 | "description": "Undecorated classes with Angular features migration. In version 10, classes that use Angular features and do not have an Angular decorator are no longer supported. Read more about this here: https://v10.angular.io/guide/migration-undecorated-classes",
|
---|
| 46 | "factory": "./migrations/undecorated-classes-with-decorated-fields/index"
|
---|
| 47 | },
|
---|
| 48 | "migration-v11-navigation-extras-omissions": {
|
---|
| 49 | "version": "11.0.0-beta",
|
---|
| 50 | "description": "NavigationExtras omissions migration. In version 11, some unsupported properties were omitted from the `extras` parameter of the `Router.navigateByUrl` and `Router.createUrlTree` methods.",
|
---|
| 51 | "factory": "./migrations/navigation-extras-omissions/index"
|
---|
| 52 | },
|
---|
| 53 | "migration-v11-router-relative-link-resolution-default": {
|
---|
| 54 | "version": "11.0.0-beta",
|
---|
| 55 | "description": "The default value for `relativeLinkResolution` is changing from 'legacy' to 'corrected'.\nThis migration updates `RouterModule` configurations that use the default value to \nnow specifically use 'legacy' to prevent breakages when updating.",
|
---|
| 56 | "factory": "./migrations/relative-link-resolution/index"
|
---|
| 57 | },
|
---|
| 58 | "migration-v11-abstract-control-parent": {
|
---|
| 59 | "version": "11.0.0-beta",
|
---|
| 60 | "description": "In Angular version 11, the type of `AbstractControl.parent` can be `null` to reflect the runtime value more accurately. This migration automatically adds non-null assertions to existing accesses of the `parent` property on types like `FormControl`, `FormArray` and `FormGroup`.",
|
---|
| 61 | "factory": "./migrations/abstract-control-parent/index"
|
---|
| 62 | },
|
---|
| 63 | "migration-v11-native-view-encapsulation": {
|
---|
| 64 | "version": "11.0.0-beta",
|
---|
| 65 | "description": "ViewEncapsulation.Native has been removed as of Angular version 11. This migration replaces any usages with ViewEncapsulation.ShadowDom.",
|
---|
| 66 | "factory": "./migrations/native-view-encapsulation/index"
|
---|
| 67 | },
|
---|
| 68 | "migration-v11-wait-for-async": {
|
---|
| 69 | "version": "11.0.0-beta",
|
---|
| 70 | "description": "`async` to `waitForAsync` migration. The `async` testing function has been renamed to `waitForAsync` to avoid confusion with the native `async` keyword.",
|
---|
| 71 | "factory": "./migrations/wait-for-async/index"
|
---|
| 72 | },
|
---|
| 73 | "migration-v11-router-preserve-query-params": {
|
---|
| 74 | "version": "11.0.0-beta",
|
---|
| 75 | "description": "NavigationExtras.preserveQueryParams has been removed as of Angular version 11. This migration replaces any usages with the appropriate assignment of the queryParamsHandling key.",
|
---|
| 76 | "factory": "./migrations/router-preserve-query-params/index"
|
---|
| 77 | },
|
---|
| 78 | "migration-v11-router-initial-navigation-options": {
|
---|
| 79 | "version": "11.0.0-beta",
|
---|
| 80 | "description": "Updates the `initialNavigation` property for `RouterModule.forRoot`.",
|
---|
| 81 | "factory": "./migrations/initial-navigation/index"
|
---|
| 82 | },
|
---|
| 83 | "migration-v11.1-can-activate-with-redirect-to": {
|
---|
| 84 | "version": "11.1.0-beta",
|
---|
| 85 | "description": "Removes `canActivate` from a `Route` config when `redirectTo` is also present",
|
---|
| 86 | "factory": "./migrations/can-activate-with-redirect-to/index"
|
---|
| 87 | },
|
---|
| 88 | "migration-v12-activated-route-snapshot-fragment": {
|
---|
| 89 | "version": "12.0.0-beta",
|
---|
| 90 | "description": "In Angular version 12, the type of ActivatedRouteSnapshot.fragment is nullable. This migration automatically adds non-null assertions to it.",
|
---|
| 91 | "factory": "./migrations/activated-route-snapshot-fragment/index"
|
---|
| 92 | },
|
---|
| 93 | "migration-v12-xhr-factory": {
|
---|
| 94 | "version": "12.0.0-next.6",
|
---|
| 95 | "description": "`XhrFactory` has been moved from `@angular/common/http` to `@angular/common`.",
|
---|
| 96 | "factory": "./migrations/xhr-factory/index"
|
---|
| 97 | },
|
---|
| 98 | "migration-v12-deep-shadow-piercing-selector": {
|
---|
| 99 | "version": "12.0.2",
|
---|
| 100 | "description": "Automatically migrates shadow-piercing selector from `/deep/` to the recommended alternative `::ng-deep`.",
|
---|
| 101 | "factory": "./migrations/deep-shadow-piercing-selector/index"
|
---|
| 102 | }
|
---|
| 103 | }
|
---|
| 104 | }
|
---|