Skip to content

Detect if the npm install was already done #34

@leodido

Description

@leodido

Describe the feature or problem you’d like to solve

This CLI is meant to be used before installing any dependency, theoretically.

So, we should detect if the users already run npm install and warn them accordingly.

Doing this will - hopefully - raise awareness about the packages getting installed.

Proposed solution

Checking whether the node_modules and/or the package-lock.json already exists in the target directory should suffice.

Additional context

NONE

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions