Is this a regression?
The previous version in which this bug was not present was
No response
Description
ng add @angular/material adds package @angular/material in devDependencies section of package.json
Reproduction
Steps to reproduce:
- Create a new angular app
- Run
ng add @angular/material
Expected Behavior
I would expect @angular/material to be added to dependencies section only, not in devDependencies
Actual Behavior
@angular/material is being added to both sections dependencies and devDependencies
Environment
- Angular: 21.2.0
- CDK/Material: 21.2.0
- Browser(s): -
- Operating System (e.g. Windows, macOS, Ubuntu): macOS
Is this a regression?
The previous version in which this bug was not present was
No response
Description
ng add @angular/materialadds package@angular/materialin devDependencies section ofpackage.jsonReproduction
Steps to reproduce:
ng add @angular/materialExpected Behavior
I would expect @angular/material to be added to
dependenciessection only, not indevDependenciesActual Behavior
@angular/material is being added to both sections
dependenciesanddevDependenciesEnvironment