Skip to content

the cli should check npm "dependencies" for the version #5112

@ocombe

Description

@ocombe

I just updated a project to rc.0 but I still got the warning saying that I should update it. This is because in my project the cli is added as a dependency and not a devDependency... Changing that gets rid of the warning.
I think that it should check both for the cli version, not just devDependency.


OS?

Windows 10

Versions.

1.0.0-rc.0

Repro steps.

Add the cli as a dependency in package.json instead of devDependency

The log given by the failure.

The package "angular-cli" has been renamed to "@angular/cli". The old package will be deprecated soon.

Please take the following steps to avoid issues:
"npm install --save-dev @angular/cli@latest"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions