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

Undo package-lock.json removal + minor changes #206

Merged
merged 4 commits into from
Mar 16, 2024

Conversation

KristjanESPERANTO
Copy link
Collaborator

Due to a discussion in the forum I decided to remove the file. I didn't really like it because it doesn't correspond to best practice in the node ecosystem. The reason to remove it was because when you do npm install, the package-lock.json is changed and the user has problems afterwards when he wants to update the module. The packe-lock.json in the repository and the local version no longer match. As I understand it, the best way to work around this is to use npm ci instead of nmp install. I have now implemented this with this PR.

and use 'npm ci' instead of 'npm install' to avoid conflicts while running 'git pull'
MagicMirror already has them as preconditions.
Commit fecf9fd added a new feature.
@KristjanESPERANTO KristjanESPERANTO merged commit 8b1377e into deg0nz:master Mar 16, 2024
1 check failed
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