Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions src/cdk/schematics/migration.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
{
"$schema": "./node_modules/@angular-devkit/schematics/collection-schema.json",
"schematics": {
"migration-v21": {
"version": "21.0.0-0",
"description": "Updates the Angular CDK to v21",
"factory": "./ng-update/index#updateToV21"
},
"migration-v22": {
"version": "22.0.0-0",
"description": "Updates the Angular CDK to v22",
Expand Down
10 changes: 0 additions & 10 deletions src/cdk/schematics/ng-update/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,6 @@ import {createMigrationSchematicRule, NullableDevkitMigration} from './devkit-mi

const cdkMigrations: NullableDevkitMigration[] = [];

/** Entry point for the migration schematics with target of Angular CDK 21.0.0 */
export function updateToV21(): Rule {
return createMigrationSchematicRule(
TargetVersion.V21,
cdkMigrations,
cdkUpgradeData,
onMigrationComplete,
);
}

/** Entry point for the migration schematics with target of Angular CDK 22.0.0 */
export function updateToV22(): Rule {
return createMigrationSchematicRule(
Expand Down
1 change: 0 additions & 1 deletion src/cdk/schematics/update-tool/target-version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

// tslint:disable-next-line:prefer-const-enum
export enum TargetVersion {
V21 = 'version 21',
V22 = 'version 22',
}

Expand Down
5 changes: 0 additions & 5 deletions src/google-maps/schematics/migration.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
{
"schematics": {
"migration-v21": {
"version": "21.0.0-0",
"description": "Updates the Angular Google Maps package to v21",
"factory": "./ng-update/index#updateToV21"
},
"migration-v22": {
"version": "22.0.0-0",
"description": "Updates the Angular Google Maps package to v22",
Expand Down
5 changes: 0 additions & 5 deletions src/google-maps/schematics/ng-update/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@

import {Rule} from '@angular-devkit/schematics';

/** Entry point for the migration schematics with target of Google Maps v21 */
export function updateToV21(): Rule {
return () => {};
}

/** Entry point for the migration schematics with target of Google Maps v22 */
export function updateToV22(): Rule {
return () => {};
Expand Down
5 changes: 0 additions & 5 deletions src/material/schematics/migration.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
{
"$schema": "./node_modules/@angular-devkit/schematics/collection-schema.json",
"schematics": {
"migration-v21": {
"version": "21.0.0-0",
"description": "Updates Angular Material to v21",
"factory": "./ng-update/index_bundled#updateToV21"
},
"migration-v22": {
"version": "22.0.0-0",
"description": "Updates Angular Material to v22",
Expand Down
7 changes: 0 additions & 7 deletions src/material/schematics/ng-update/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,6 @@ import {materialUpgradeData} from './upgrade-data';

const materialMigrations: NullableDevkitMigration[] = [];

/** Entry point for the migration schematics with target of Angular Material v21 */
export function updateToV21(): Rule {
return chain([
createMigrationSchematicRule(TargetVersion.V21, materialMigrations, materialUpgradeData),
]);
}

/** Entry point for the migration schematics with target of Angular Material v22 */
export function updateToV22(): Rule {
return chain([
Expand Down
Loading