[schematics cli] Boolean options is parsed as a string
- 主要語言
- TypeScript
- 星號
- 27k
- 分支
- 11.8k
- 平均合併
- 14 小時 23 分鐘
- 30 天內合併 PR
- 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 重現布林選項的行為。追蹤 Schematics CLI 如何解析該選項,並驗證完成後的行為會保留布林值,而不是將其轉換為字串。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- typescript
- 領域
- cli
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 20/100