Skip to content

Commit b80189c

Browse files
committed
feat: add complete migration schematics support
- Add missing update functions for Angular 14, 15, and 16 - Add migration entries for versions 14.0.0, 15.0.0, 16.0.0, and 17.0.0 - Ensure complete version coverage from Angular 10 through 17 - Enable smooth upgrades using ng update command
1 parent c2f1b1e commit b80189c

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

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

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,26 @@
1414
"version": "13.0.0",
1515
"factory": "./update/index#update1300",
1616
"description": "Update ngx-ui-loader to version 13.0.0"
17+
},
18+
"migration-1400": {
19+
"version": "14.0.0",
20+
"factory": "./update/index#update1400",
21+
"description": "Update ngx-ui-loader to version 14.0.0"
22+
},
23+
"migration-1500": {
24+
"version": "15.0.0",
25+
"factory": "./update/index#update1500",
26+
"description": "Update ngx-ui-loader to version 15.0.0"
27+
},
28+
"migration-1600": {
29+
"version": "16.0.0",
30+
"factory": "./update/index#update1600",
31+
"description": "Update ngx-ui-loader to version 16.0.0"
32+
},
33+
"migration-1700": {
34+
"version": "17.0.0",
35+
"factory": "./update/index#update1700",
36+
"description": "Update ngx-ui-loader to version 17.0.0"
1737
}
1838
}
1939
}

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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,19 @@ export function update1100(_options: unknown): Rule {
1111
export function update1300(_options: unknown): Rule {
1212
return (tree: Tree, _context: SchematicContext) => tree;
1313
}
14+
15+
export function update1400(_options: unknown): Rule {
16+
return (tree: Tree, _context: SchematicContext) => tree;
17+
}
18+
19+
export function update1500(_options: unknown): Rule {
20+
return (tree: Tree, _context: SchematicContext) => tree;
21+
}
22+
23+
export function update1600(_options: unknown): Rule {
24+
return (tree: Tree, _context: SchematicContext) => tree;
25+
}
26+
27+
export function update1700(_options: unknown): Rule {
28+
return (tree: Tree, _context: SchematicContext) => tree;
29+
}

0 commit comments

Comments
 (0)