Skip to content

Commit fcf3857

Browse files
committed
fix(*): adding two more members to be migrated
1 parent 8d9447f commit fcf3857

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

projects/igniteui-angular/migrations/update-21_0_0/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,8 @@ const ENTRY_POINT_MAP = new Map<string, string>([
383383
['IgxGridFooterComponent', 'grids/core'],
384384
['IgxColumnLayoutComponent', 'grids/core'],
385385
['IgxExporterEvent', 'grids/core'],
386+
['IGridEditDoneEventArgs', 'grids/core'],
387+
['IgxGridRow', 'grids/core'],
386388
['IgxGridEditingActions', 'grids/core'], // Grid actions moved to grids
387389
['IgxGridPinningActions', 'grids/core'], // Grid actions moved to grids
388390
['IgxGridActionButtonComponent', 'grids/core'], // Grid actions moved to grids
@@ -802,7 +804,7 @@ export default function migrate(options: MigrationOptions): Rule {
802804
context.logger.info(`Applying migration for Ignite UI for Angular to version ${version}`);
803805

804806
const update = new UpdateChanges(__dirname, host, context);
805-
const shouldMigrateImports = options.migrateImports !== false; // Default to true if not specified
807+
const shouldMigrateImports = options.migrateImports === true;
806808

807809
if (shouldMigrateImports) {
808810
context.logger.info('Migrating imports to new entry points...');

projects/igniteui-angular/migrations/update-21_0_0/schema.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,11 @@
77
"migrateImports": {
88
"type": "boolean",
99
"description": "Migrate imports to use granular entry points (e.g., 'igniteui-angular/grids' instead of 'igniteui-angular'). The library remains backwards compatible - you can continue using the main entry point.",
10-
"default": true,
11-
"x-prompt": "Would you like to migrate your imports to use the new granular entry points for better tree-shaking? (The library remains backwards compatible if you choose 'No')"
10+
"x-prompt": {
11+
"message": "Would you like to migrate your imports to use the new granular entry points for better tree-shaking?",
12+
"type": "confirmation"
13+
}
1214
}
13-
}
15+
},
16+
"required": ["migrateImports"]
1417
}

0 commit comments

Comments
 (0)