[schematics cli] Boolean options is parsed as a string
- Dominant language
- TypeScript
- Stars
- 27k
- Forks
- 11.8k
- Avg merge
- 14h 23m
- Merged PRs (30d)
- 162
Description
### 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_
Contributor guide
Research direction
Start by reproducing the boolean-option behavior with @angular-devkit/schematics-cli using the dependency versions listed in the issue. Trace how the schematics CLI parses the option and verify that the completed behavior preserves a boolean value rather than converting it to a string.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100