angular/packages/core/schematics
Kristiyan Kostadinov c07e1b3356 fix(migrations): resolve error in standalone migration (#56302)
This is related to an issue that was reported internally. We were assuming that `hasNgModuleMetadataElements` will return true only for property assignments initialized to arrays, but that's not the case.

These changes update the type and our assertions to more accurately reflect the AST and to avoid the error.

PR Close #56302
2024-06-07 09:33:42 -07:00
..
migrations fix(core): Do not migrate HttpClientModule imports on components. (#56067) 2024-05-30 14:55:06 +00:00
ng-generate fix(migrations): resolve error in standalone migration (#56302) 2024-06-07 09:33:42 -07:00
test fix(core): Do not migrate HttpClientModule imports on components. (#56067) 2024-05-30 14:55:06 +00:00
utils refactor(compiler): implement let declarations in render3 ast (#55848) 2024-05-30 14:55:37 +00:00
BUILD.bazel feat(migrations): Migration schematics for HttpClientModule (#54020) 2024-04-23 12:12:31 -07:00
collection.json feat(core): Add schematic to migrate control flow syntax (#52035) 2023-10-10 11:33:00 -07:00
migrations.json feat(migrations): Migration schematics for HttpClientModule (#54020) 2024-04-23 12:12:31 -07:00
package.json refactor(migrations): ensure CommonJS migrations can be accessed (#43657) 2021-10-04 16:24:48 -07:00
tsconfig.json build: align schematics tsconfig with rest of the project (#51969) 2023-10-04 07:28:41 -07:00