Skip to content

Improving flag --save-dev for add package in devDependecies #13237

@kyusupov33

Description

@kyusupov33

Bug Report or Feature Request (mark with an x)

- [ ] bug report -> please search issues before submitting
- [x] feature request

Command (mark with an x)

- [ ] new
- [ ] build
- [ ] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [x] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc

In our @ngxs/schematics package we need to add it in devDependencies, but by default in angular-cli flag --save-dev will be true. You can make sure on it in this file: https://github.com/angular/angular-cli/blob/master/packages/angular/cli/tasks/npm-install.ts.

We can send PR and add ability to add package with ng add command in devDependencies.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions