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

Task/912 ensure mcdev collaborators auto update their dependencies on git pull #913

Conversation

JoernBerkefeld
Copy link
Contributor

@JoernBerkefeld JoernBerkefeld commented May 17, 2023

PR details

What changes did you make? (Give an overview)

Is there anything you'd like reviewers to focus on?

This covers git checkout/switch and git merge. It checks if package-lock.json was changed as part of a merge or if it is was different on the previous branch. If true, it automatically runs npm install. This will ensure collaborators always work with the dependencies specified in package.json / package-lock.json. One cannot forget to run npm install anymore.

Checklist

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • n/a test scripts updated
  • n/a Wiki updated (if applicable)

@JoernBerkefeld JoernBerkefeld added this to the 5.0.2 milestone May 17, 2023
@JoernBerkefeld JoernBerkefeld self-assigned this May 17, 2023
@github-actions github-actions bot added the chore Jira issue-type "Task" label May 17, 2023
@github-actions
Copy link

github-actions bot commented May 17, 2023

Coverage Report

Commit: 3c84ef0
Base: develop@3615299

Type Base This PR
Total Statements Coverage  40.82%  40.82%  (+0%)
Total Branches Coverage  32.31%  32.31%  (+0%)
Total Functions Coverage  47.17%  47.17%  (+0%)
Total Lines Coverage  40.76%  40.76%  (+0%)
Details (changed testable files):
File Statements Branches Functions Lines

@JoernBerkefeld JoernBerkefeld merged commit 45d29e8 into develop May 17, 2023
@JoernBerkefeld JoernBerkefeld deleted the task/912-ensure-mcdev-collaborators-auto-update-their-dependencies-on-git-pull branch May 17, 2023 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Jira issue-type "Task"
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[TASK] ensure mcdev collaborators auto-update their dependencies on git pull
1 participant