Skip to content

CLI 7.0 leaves an empty line in packages.json when the --minimal flag is specified #12778

Closed
@EatonZ

Description

@EatonZ

Bug Report or Feature Request (mark with an x)

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

Command (mark with an x)

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

Versions

CLI 7.0.3

Repro steps

Create a new project using ng new and specify --minimal.
Look in packages.json and you will see under devDependencies there is an empty line between @types/node and ts-node.

2018-10-27_14-19-00

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions