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

removed package-lock.json from git cache and added it to gitignore #215

Merged
merged 1 commit into from
Oct 17, 2017
Merged

removed package-lock.json from git cache and added it to gitignore #215

merged 1 commit into from
Oct 17, 2017

Conversation

VishwasShashidhar
Copy link
Contributor

Problem

With package-lock.json baked into the repo, if we've made any updates to the package.json file, users running on npm > 5 is experiencing an issue (not really a bug, but a behaviour problem) where in the dependencies are being pulled from the package-lock.json with package.json deemed useless.

Solution

Since we are primarily using package.json while creating builds on Jenkins, I've removed the package-lock.json from git cache and added it to the ignore list.

Once we establish a process of using package-lock.json and npm > 5, we can add it back to the git list.

PS: An alternative is -> https://codeburst.io/disabling-package-lock-json-6be662f5b97d

@ghost ghost added the cla-signed label Oct 17, 2017
@VishwasShashidhar
Copy link
Contributor Author

@VikasShashidhar @lneir Please review.

CC: @pmonks @bluechips23

@VishwasShashidhar
Copy link
Contributor Author

Observed on #205 (comment)

@pmonks
Copy link
Contributor

pmonks commented Oct 17, 2017

Manually deleting package-lock.json and rebuilding got me past this issue, so this LGTM!

Copy link

@VikasShashidhar VikasShashidhar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@VikasShashidhar VikasShashidhar merged commit c80595c into finos:master Oct 17, 2017
@VishwasShashidhar VishwasShashidhar deleted the electron-180 branch November 8, 2017 08:56
@lock
Copy link

lock bot commented Jun 2, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants