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

bug: migration script doesn't work for angular 19

オープン
#50 コメント 3 件 リアクション 3 件 担当者 0 名 GitHub で見る
triage
主要言語
TypeScript
スター
20
フォーク
9
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Start by reproducing the codemod failure with Angular 19 and inspect the standalone-component detection used by the migration script. Confirm the missing standalone Ionic components are added to the imports array without requiring the absent flag.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
angular, typescript
領域
frontend, tooling
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。