Skip to content

Commit de42f4a

Browse files
committed
feat: add Angular 18 migration schematic
- Add update1800 function for Angular 18.0.0 migration - Add migration entry in migration-collection.json - Ensure smooth upgrade path from previous versions - Enable ng update command support for Angular 18
1 parent c4a8d6a commit de42f4a

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

projects/ngx-ui-loader/schematics/migration-collection.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@
3434
"version": "17.0.0",
3535
"factory": "./update/index#update1700",
3636
"description": "Update ngx-ui-loader to version 17.0.0"
37+
},
38+
"migration-1800": {
39+
"version": "18.0.0",
40+
"factory": "./update/index#update1800",
41+
"description": "Update ngx-ui-loader to version 18.0.0"
3742
}
3843
}
3944
}

projects/ngx-ui-loader/schematics/update/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,7 @@ export function update1600(_options: unknown): Rule {
2727
export function update1700(_options: unknown): Rule {
2828
return (tree: Tree, _context: SchematicContext) => tree;
2929
}
30+
31+
export function update1800(_options: unknown): Rule {
32+
return (tree: Tree, _context: SchematicContext) => tree;
33+
}

0 commit comments

Comments
 (0)