ionic-team / ionic-team/ionic-angular-standalone-codemods

bug: migration script doesn't work for angular 19

Ouverte
#50 3 commentaires 3 réactions 0 personnes assignées Voir sur GitHub
triage
Langage dominant
TypeScript
Étoiles
20
Forks
9
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

### Prerequisites

- [X] I agree to follow the [Code of Conduct](https://ionicframework.com/code-of-conduct).
- [X] I have searched for [existing issues](https://github.com/ionic-team/ionic-angular-standalone-codemods) that already report this problem, without success.

### 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_

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.