Skip to content

ns clean - should remove yarn.lock if the package manager for the project is yarn #5732

Open
@shiv19

Description

@shiv19

Is your feature request related to a problem? Please describe.

When you run ns clean on a project that uses yarn as the package manager, the CLI still tries to remove a package-lock.json instead of yarn.lock

Describe the solution you'd like

If the package manager of the project is yarn, then ns clean should attempt to remove yarn.lock if it exists.

Describe alternatives you've considered

As an alternative, the developer could be prompted if they wish to remove yarn.lock or package-lock.json.

Anything else?

No response

Please accept these terms

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions