[schematics cli] Boolean options is parsed as a string
- Lingua principale
- TypeScript
- Stelle
- 27k
- Fork
- 11.8k
- Merge medio
- 14h 23m
- PR unite (30g)
- 162
Descrizione
### 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_
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia riproducendo il comportamento dell'opzione booleana con @angular-devkit/schematics-cli utilizzando le versioni delle dipendenze elencate nell'issue. Traccia il modo in cui Schematics CLI analizza l'opzione e verifica che il comportamento risultante mantenga un valore booleano invece di convertirlo in una stringa.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- typescript
- Ambito
- cli
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 20/100