-
Notifications
You must be signed in to change notification settings - Fork 209
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
Add package-lock.json to .gitignore #625
Comments
GitMate.io thinks the contributors most likely able to help are @ccpandhare, and @jywarren. Possibly related issues are #409 (Fix installation setup by improving package.json.), #570 (Add Valid HTML Types To Module info.json Files), #277 (add sequencer.importString()), #369 (Add a Grayscale module), and #158 (Add a Saturation Module). |
1 similar comment
GitMate.io thinks the contributors most likely able to help are @ccpandhare, and @jywarren. Possibly related issues are #409 (Fix installation setup by improving package.json.), #570 (Add Valid HTML Types To Module info.json Files), #277 (add sequencer.importString()), #369 (Add a Grayscale module), and #158 (Add a Saturation Module). |
I think we should actually commit the lock file since they lock the version being used by the project, for any new contributor to setup and not end up installing incompatible dependencies. Thoughts? @jywarren |
The dependency version is locked in package.json, and package-lock.json comes everytime npm install is done . And in case of conflicts in versions in package.json and package-lock.json the version of package.json is considered so I think ignoring package-lock while commiting is okay!! 😄 |
@aashna27 https://stackoverflow.com/a/44210813 😅 Rest, admins may decide what seems fit |
When a dependency is installed with |
We could git-ignore the lock file but on the "build process" we're
developing it could be force updated using `git add -f`, would that work?
…On Mon, Jan 7, 2019 at 3:01 AM HarshKhandeparkar ***@***.***> wrote:
When a project is initialized with npm init it is specifically stated
that the lockfile should be commited. But there may be another way around
this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#625 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJ3FIat6eDp4AIGpo0d9Cn_hKFRYtks5vAv7CgaJpZM4Zylxt>
.
|
We could add it to gitignore and also prevent its creation all together,
Thoughts?
…On Mon, Jan 7, 2019, 9:08 PM Jeffrey Warren ***@***.*** wrote:
We could git-ignore the lock file but on the "build process" we're
developing it could be force updated using `git add -f`, would that work?
On Mon, Jan 7, 2019 at 3:01 AM HarshKhandeparkar ***@***.***
>
wrote:
> When a project is initialized with npm init it is specifically stated
> that the lockfile should be commited. But there may be another way around
> this?
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <
#625 (comment)
>,
> or mute the thread
> <
https://github.com/notifications/unsubscribe-auth/AABfJ3FIat6eDp4AIGpo0d9Cn_hKFRYtks5vAv7CgaJpZM4Zylxt
>
> .
>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#625 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AZUPyEQjgjV_1VAai1Pn3rCWqJ3oLa_4ks5vA2nggaJpZM4Zylxt>
.
|
Oh we should leave the lock files in for sure. |
Adding package-lock.json to .gitignore would prevent it's unnecessary commit .
Thank you!
The text was updated successfully, but these errors were encountered: