angular / angular/angular-cli

[schematics cli] Boolean options is parsed as a string

オープン
#26,412 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
area: @angular-devkit/schematics-cli freq1: low severity5: regression type: bug/fix
主要言語
TypeScript
スター
27k
フォーク
11.8k
平均マージ
14時間 23分
マージ済み PR(30日)
162

説明

### Command

other

### Is this a regression?

- [ ] Yes, this behavior used to work in the previous version

### The previous version in which this bug was not present was

_No response_

### Description

I found this issue https://github.com/angular/angular-cli/issues/12150 which is closed as fixed, but now I'm using the latest version and have the same issue

### Minimal Reproduction

.

### Exception or Error

_No response_

### Your Environment

```text
"dependencies": {
"@angular-devkit/core": "^17.0.0",
"@angular-devkit/schematics": "^17.0.0",
"@nestjs/schematics": "^10.0.3",
"@schematics/angular": "^17.0.1",
"typescript": "~5.2.2"
},
"devDependencies": {
"@angular-devkit/schematics-cli": "^17.0.1",
"@types/jasmine": "~5.1.0",
"@types/node": "^18.18.0",
"jasmine": "^5.0.0",
"nodemon": "^3.0.1"
}
```
```

### Anything else relevant?

_No response_

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

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

調査の方向性

まず、issue に記載されている依存関係のバージョンを使用して、@angular-devkit/schematics-cli で boolean オプションの動作を再現します。Schematics CLI がオプションをどのように解析するかを追跡し、完了した動作によって boolean 値が文字列に変換されず保持されることを確認します。

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

評価

技術スタック
typescript
領域
cli
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
20/100

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

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