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

bug: migration script doesn't work for angular 19

Đang mở
#50 3 bình luận 3 reaction 0 người được giao Xem trên GitHub
triage
Ngôn ngữ chính
TypeScript
Star
20
Fork
9
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.