Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect if the npm install was already done #34

Open
leodido opened this issue Feb 1, 2023 · 1 comment
Open

Detect if the npm install was already done #34

leodido opened this issue Feb 1, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@leodido
Copy link
Contributor

leodido commented Feb 1, 2023

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

@leodido leodido added the enhancement New feature or request label Feb 1, 2023
@leodido
Copy link
Contributor Author

leodido commented Feb 10, 2023

Do this after we have a fancy outputting mechanism in place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant