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

commit package-lock.json #21

Closed
wants to merge 1 commit into from

Conversation

trusktr
Copy link

@trusktr trusktr commented Apr 25, 2024

Along with

this helps make the project easily reprodicble. Otherwise, if you were to leave the project for a year and come back, things might simply be broken when you try a fresh npm install.

Note

If you run npm install, this overwrite package-lock with new versions, and if it works, you can commit the updated lock file. To reproduce the state of the repo without updating the lock file, run npm ci (for "clean install", not "continuous integration") which will strictly respect the lock file and reproduce all dependencies using the exact versions in the lock file. I.e., when you come back 2 years later, npm ci instead of npm install should just work.

@trusktr trusktr closed this Apr 25, 2024
@trusktr trusktr deleted the joe/package-lock branch April 25, 2024 04:30
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