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

Help greenkeeper to manage lockfiles #1189

Merged
merged 1 commit into from
Jul 28, 2018
Merged

Conversation

harrysarson
Copy link
Collaborator

Fixes issues we are having with greenkeeper, npm ci, and lock files.

Solution based on https://github.com/greenkeeperio/greenkeeper-lockfile#npm.

Should prevent CI failures in greenkeeper's PR #1183.
Greenkeeper issue: greenkeeperio/greenkeeper-lockfile#156.

@josdejong How tight should we be on the npm and greenkeeper-lock file versions?

@harrysarson harrysarson changed the base branch from master to develop July 26, 2018 12:13
@josdejong
Copy link
Owner

josdejong commented Jul 27, 2018

@josdejong How tight should we be on the npm and greenkeeper-lock file versions?

I'm not sure, what are our options in this regard? To me the package-lock.json file is something that's just there to make sure that when you or I install dependencies at some point after checking out the latest version of a branch or some specific tag or commit, that we get installed the exact same versions of all dependencies. We can update the package-lock.json file as often as we want/need.

@harrysarson your PR looks good to me, can you merge this PR and the related greenkeeper PR's?

@harrysarson
Copy link
Collaborator Author

Once we clarify the versions for npm install in #1189 (review) I will merge 👍

@harrysarson harrysarson merged commit fa6b4cb into develop Jul 28, 2018
@josdejong josdejong deleted the greenkeeper-and-travis branch July 28, 2018 12:05
@josdejong
Copy link
Owner

👍

harrysarson added a commit that referenced this pull request Sep 13, 2018
Greenkeep now has 'native' lockfile support, so this reverts changes
in #1189.
https://blog.greenkeeper.io/announcing-native-lockfile-support-85381a37a0d0
@harrysarson harrysarson mentioned this pull request Sep 13, 2018
josdejong pushed a commit that referenced this pull request Sep 13, 2018
* Remove green-keeper lockfile.

Greenkeep now has 'native' lockfile support, so this reverts changes
in #1189.
https://blog.greenkeeper.io/announcing-native-lockfile-support-85381a37a0d0

* Name travis jobs properly

Based on:
https://docs.travis-ci.com/user/customizing-the-build/#naming-jobs-within-matrices
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.

2 participants