igniteui-angular-extras 21.2.6 → 22.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -82,18 +82,17 @@ function migrateTypeScriptFile(content) {
|
|
|
82
82
|
exports.default = () => (host, context) => {
|
|
83
83
|
context.logger.info(`Applying migration for Ignite UI for Angular Extras to version ${version}`);
|
|
84
84
|
host.visit((path) => {
|
|
85
|
-
var _a, _b;
|
|
86
85
|
if (path.includes('node_modules')) {
|
|
87
86
|
return;
|
|
88
87
|
}
|
|
89
|
-
const content =
|
|
88
|
+
const content = host.read(path)?.toString('utf-8');
|
|
90
89
|
if (!content) {
|
|
91
90
|
return;
|
|
92
91
|
}
|
|
93
92
|
if (path.endsWith('.html')) {
|
|
94
93
|
// Only migrate templates whose companion .ts file imports from extras
|
|
95
94
|
const companionTs = path.replace(/\.html$/, '.ts');
|
|
96
|
-
const companionContent =
|
|
95
|
+
const companionContent = host.read(companionTs)?.toString('utf-8');
|
|
97
96
|
if (companionContent && hasExtrasImport(companionContent)) {
|
|
98
97
|
const updated = migrateTemplateFile(content);
|
|
99
98
|
if (updated !== content) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "igniteui-angular-extras",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "22.0.0-beta.0",
|
|
4
4
|
"description": "Ignite UI for Angular Extras - Grid enhancements and data analysis features",
|
|
5
5
|
"author": "Infragistics",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
"igniteui-trial-watermark": "^3.1.0"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"@angular/common": "
|
|
31
|
-
"@angular/core": "
|
|
32
|
-
"igniteui-angular": "^
|
|
33
|
-
"igniteui-angular-charts": "^
|
|
34
|
-
"igniteui-angular-core": "^
|
|
30
|
+
"@angular/common": "22",
|
|
31
|
+
"@angular/core": "22",
|
|
32
|
+
"igniteui-angular": "^22.0.0",
|
|
33
|
+
"igniteui-angular-charts": "^22.0.0",
|
|
34
|
+
"igniteui-angular-core": "^22.0.0"
|
|
35
35
|
},
|
|
36
36
|
"schematics": "./migrations/migration-collection.json",
|
|
37
37
|
"ng-update": {
|