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

[2.x] Check in yarn.lock for 2.x branch #1671

Merged
merged 2 commits into from
Nov 29, 2023

Conversation

derek-ho
Copy link
Collaborator

@derek-ho derek-ho commented Nov 28, 2023

Description

Similar to: #1668

This PR removes yarn.lock from gitignore, and checks in the current version of the generated yarn.lock file, after running yarn install. Yarn.lock provides a few benefits:

Provides reproducibility, by being a source of truth for which versions of each dependency were downloaded. This also allows for debugging - if package.json specifies ^1.2.0, you could be using 1.2.0, 1.2.1, etc.
Includes integrity hash to make sure you are downloading from a trusted source

Category

[Enhancement, New feature, Bug fix, Test fix, Refactoring, Maintenance, Documentation]

Why these changes are required?

What is the old behavior before changes and new behavior after changes?

Issues Resolved

[List any issues this PR will resolve (Is this a backport? If so, please add backport PR # and/or commits #)]

Testing

[Please provide details of testing done: unit testing, integration testing and manual testing]

Check List

  • New functionality includes testing
  • New functionality has been documented
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Copy link

codecov bot commented Nov 28, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (a77d969) 66.29% compared to head (365e7d2) 66.29%.

Additional details and impacted files
@@           Coverage Diff           @@
##              2.x    #1671   +/-   ##
=======================================
  Coverage   66.29%   66.29%           
=======================================
  Files          93       93           
  Lines        2344     2344           
  Branches      312      312           
=======================================
  Hits         1554     1554           
  Misses        720      720           
  Partials       70       70           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@derek-ho derek-ho changed the title Check in yarn.lock for 2.x branch [2.x] Check in yarn.lock for 2.x branch Nov 28, 2023
@cwperks cwperks merged commit a5381fd into opensearch-project:2.x Nov 29, 2023
10 checks passed
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