File tree Expand file tree Collapse file tree 5 files changed +31
-0
lines changed
Expand file tree Collapse file tree 5 files changed +31
-0
lines changed Original file line number Diff line number Diff line change 4646 "description" : " Updates the Angular CDK to v14" ,
4747 "factory" : " ./ng-update/index#updateToV14"
4848 },
49+ "migration-v15" : {
50+ "version" : " 15.0.0-0" ,
51+ "description" : " Updates the Angular CDK to v15" ,
52+ "factory" : " ./ng-update/index#updateToV15"
53+ },
4954 "ng-post-update" : {
5055 "description" : " Prints out results after ng-update." ,
5156 "factory" : " ./ng-update/index#postUpdate" ,
Original file line number Diff line number Diff line change @@ -104,6 +104,16 @@ export function updateToV14(): Rule {
104104 ) ;
105105}
106106
107+ /** Entry point for the migration schematics with target of Angular CDK 15.0.0 */
108+ export function updateToV15 ( ) : Rule {
109+ return createMigrationSchematicRule (
110+ TargetVersion . V15 ,
111+ cdkMigrations ,
112+ cdkUpgradeData ,
113+ onMigrationComplete ,
114+ ) ;
115+ }
116+
107117/** Function that will be called when the migration completed. */
108118function onMigrationComplete (
109119 context : SchematicContext ,
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ export enum TargetVersion {
1919 V12 = 'version 12' ,
2020 V13 = 'version 13' ,
2121 V14 = 'version 14' ,
22+ V15 = 'version 15' ,
2223}
2324
2425/**
Original file line number Diff line number Diff line change 4646 "description" : " Updates the Angular Material to v14" ,
4747 "factory" : " ./ng-update/index#updateToV14"
4848 },
49+ "migration-v15" : {
50+ "version" : " 15.0.0-0" ,
51+ "description" : " Updates the Angular Material to v15" ,
52+ "factory" : " ./ng-update/index#updateToV15"
53+ },
4954 "ng-post-update" : {
5055 "description" : " Prints out results after ng-update." ,
5156 "factory" : " ./ng-update/index#postUpdate" ,
Original file line number Diff line number Diff line change @@ -126,6 +126,16 @@ export function updateToV14(): Rule {
126126 ) ;
127127}
128128
129+ /** Entry point for the migration schematics with target of Angular Material v15 */
130+ export function updateToV15 ( ) : Rule {
131+ return createMigrationSchematicRule (
132+ TargetVersion . V15 ,
133+ materialMigrations ,
134+ materialUpgradeData ,
135+ onMigrationComplete ,
136+ ) ;
137+ }
138+
129139/** Function that will be called when the migration completed. */
130140function onMigrationComplete (
131141 context : SchematicContext ,
You can’t perform that action at this time.
0 commit comments