angular/packages/core/schematics
Kristiyan Kostadinov fc95a9adff fix(migrations): replace leftover modules with their exports during pruning (#57684)
Currently during the module pruning stage of the standalone migration we assume that any leftover modules which only have `imports` and `exports` can safely be removed. That can be incorrect for the cases where some parts of the app were converted to standalone outside of the migration.

These changes update the logic so that such modules are replaced with the `exports` which are used within the specific component.

Fixes #51420.

PR Close #57684
2024-09-06 14:15:50 +00:00
..
migrations refactor(migrations): preserve brace spacing when applying imports (#57672) 2024-09-05 19:33:04 +00:00
ng-generate fix(migrations): replace leftover modules with their exports during pruning (#57684) 2024-09-06 14:15:50 +00:00
test fix(migrations): replace leftover modules with their exports during pruning (#57684) 2024-09-06 14:15:50 +00:00
utils refactor(migrations): preserve brace spacing when applying imports (#57672) 2024-09-05 19:33:04 +00:00
BUILD.bazel refactor(migrations): switch from esbuild to Rollup for schematics bundling (#57602) 2024-09-03 09:07:03 -07:00
collection.json refactor(migrations): switch from esbuild to Rollup for schematics bundling (#57602) 2024-09-03 09:07:03 -07:00
migrations.json build: delete v18 migrations (#57603) 2024-09-03 07:59:10 -07:00
package.json refactor(migrations): ensure CommonJS migrations can be accessed (#43657) 2021-10-04 16:24:48 -07:00
rollup.config.js refactor(migrations): switch from esbuild to Rollup for schematics bundling (#57602) 2024-09-03 09:07:03 -07:00
tsconfig.json refactor(migrations): avoid relative imports in schematic code (#57214) 2024-08-29 07:50:41 -07:00