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

check if node_modlules is empty #83

Open
wants to merge 1 commit into
base: craft-vite
Choose a base branch
from

Conversation

dlindberg
Copy link

Check if node_modules is empty or does not exist instead of just does not exist.

Description

Checking if the directory is empty allows the container to know it needs to run npm install when there is already a package-lock.json file

Related issues

issue #82

Need to check if node_modules or does not exist instead of just does not exist so that npm install will run on a project with a checked in package-lock.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant