angular/packages/core/schematics/test
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
..
google3 refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
all-migrations.spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
BUILD.bazel test: add test to verify extending tsconfig works in signal input migration (#59463) 2025-01-10 11:52:13 -05:00
cleanup_unused_imports_migration_spec.ts fix(migrations): avoid applying the same replacements twice when cleaning up unused imports (#59656) 2025-01-22 07:57:38 -08:00
control_flow_migration_spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
explicit_standalone_flag_spec.ts refactor(migrations): Make the explicit standalone migration idempotent (#58418) 2024-10-30 11:55:11 -07:00
helpers.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
inject_migration_spec.ts fix(migrations): inject migration dropping code if everything except super is removed (#58959) 2024-12-02 08:56:21 +01:00
output_migration_spec.ts feat(migrations): expose output as function migration (#58299) 2024-10-22 07:41:41 -07:00
pending_tasks_spec.ts 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
project_tsconfig_paths_spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
provide_initializer_spec.ts 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
queries_migration_spec.ts fix(migrations): incorrect stats when migrating queries with best effort mode (#59463) 2025-01-10 11:52:13 -05:00
signal_input_migration_spec.ts fix(migrations): incorrect stats when migrating queries with best effort mode (#59463) 2025-01-10 11:52:13 -05:00
signals_migration_spec.ts fix(migrations): add outputs migration to combined shorthand (#58318) 2024-10-23 08:02:50 -07:00
standalone_migration_spec.ts fix(migrations): replace removed NgModules in tests with their exports (#58627) 2024-11-13 18:04:31 +00:00
standalone_routes_spec.ts fix(core): correctly perform lazy routes migration for components with additional decorators (#58796) 2024-11-21 16:43:30 +00:00