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

bug: imports are duplicated in modules that contain multiple declarations in NgModule-based applications

Đang mở
#33 4 bình luận 2 reaction 0 người được giao Xem trên GitHub
ionitron: needs reproduction 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.0.7

### Current Behavior

When running the codemod against a project which is still NgModule-based, where a module contains multiple declarations, the imports are duplicated where they exist in each of the modules declarations

### Expected Behavior

Imports of the standalone components should be unique within the module

### Steps to Reproduce

1. Have a project that is still NgModule-based and that has a module with multiple declarations using the same ionic components
2. Run the codemod
3. Observe the resulting module has duplicated imports of the standalone ionic components

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