Skip to content

bug: migration script doesn't work for angular 19 #50

Open
@Alex88360

Description

@Alex88360

Prerequisites

Codemod version

0.3.0

Current Behavior

In Angular 19, components are now standalone by default, so the flag is not present which cause the script to not run and show the following message :

Cannot add import to component decorator. Component is not standalone.

Expected Behavior

add misssing standalone ionic components in the imports array.

Steps to Reproduce

  1. Install angular 19
  2. install ionic-angular-standalone-codemods 0.3.0
  3. Run npx @ionic/angular-standalone-codemods

Code Reproduction URL

No response

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions