angular/packages/core/schematics
Kristiyan Kostadinov d66881d172 fix(migrations): avoid applying the same replacements twice when cleaning up unused imports (#59656)
If a file ends up in multiple programs, the unused imports migration was counting it twice. This was fine since the string replacements were handling it correctly, but it was printing out incorrect data.

These changes rework the migration to de-duplicate the replacements and produce the data from the de-duplicated results.

PR Close #59656
2025-01-22 07:57:38 -08:00
..
migrations fix(migrations): incorrect stats when migrating queries with best effort mode (#59463) 2025-01-10 11:52:13 -05:00
ng-generate fix(migrations): avoid applying the same replacements twice when cleaning up unused imports (#59656) 2025-01-22 07:57:38 -08:00
test fix(migrations): avoid applying the same replacements twice when cleaning up unused imports (#59656) 2025-01-22 07:57:38 -08:00
utils docs: update license URL from angular.io to angular.dev and year of license to 2025 (#59407) 2025-01-09 10:27:54 -05:00
BUILD.bazel feat(migrations): add schematic to clean up unused imports (#59353) 2025-01-06 16:21:26 +00:00
collection.json feat(migrations): add schematic to clean up unused imports (#59353) 2025-01-06 16:21:26 +00:00
migrations.json refactor(migrations): use import manager in provide-initializer (#58456) 2024-11-04 18:15:00 +01:00
package.json refactor(migrations): ensure CommonJS migrations can be accessed (#43657) 2021-10-04 16:24:48 -07:00
rollup.config.js build(migrations): skip source map generation (#58299) 2024-10-22 07:41:41 -07:00
tsconfig.json refactor(migrations): avoid relative imports in schematic code (#57214) 2024-08-29 07:50:41 -07:00