Skip to content

fix: bump LG packages COMPASS-9496 #7109

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

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from
Draft

fix: bump LG packages COMPASS-9496 #7109

wants to merge 10 commits into from

Conversation

paula-stacho
Copy link
Contributor

Description

Checklist

  • New tests and/or benchmarks are included
  • Documentation is changed or added
  • If this change updates the UI, screenshots/videos are added and a design review is requested
  • I have signed the MongoDB Contributor License Agreement (https://www.mongodb.com/legal/contributor-agreement)

Motivation and Context

  • Bugfix
  • New feature
  • Dependency update
  • Misc

Open Questions

Dependents

Types of changes

  • Backport Needed
  • Patch (non-breaking change which fixes an issue)
  • Minor (non-breaking change which adds functionality)
  • Major (fix or feature that would cause existing functionality to change)

@paula-stacho paula-stacho added the no release notes Fix or feature not for release notes label Jul 14, 2025
@github-actions github-actions bot added the fix label Jul 14, 2025
"@leafygreen-ui/button": "^24.0.2",
"@leafygreen-ui/card": "^13.0.2",
"@leafygreen-ui/checkbox": "^18.0.0",
"@leafygreen-ui/chip": "^4.0.2",
"@leafygreen-ui/code": "^16.0.2",
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm guessing you're skipping this because of the failing postinstall, it's failing due to @lg-tools dependency not being included in the package deps. We can ask lg team if they intentionally added postinstall here and not something like prepublishOnly and as a workaround we can also just add @lg-tools/build package as a dev dependency to make sure all leafygreen is updated to latest, this is important

Copy link
Collaborator

@gribnoysup gribnoysup Jul 14, 2025

Choose a reason for hiding this comment

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

This seems off, I'm getting a 8k LoC diff for package-lock locally updating leafygreen to latest on main, this is 28k (I'm bumping code package too though, it's definitely a factor, but this still seems wildly different)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah I noticed the number now that I opened the draft. I've tried rebasing of main but it didn't help. I'll try the code package tomorrow, but it'd be weird if it made that much difference

}
return undefined;
}, [href, utmSource, utmMedium]);
}, [props, utmSource, utmMedium]);
Copy link
Collaborator

Choose a reason for hiding this comment

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

This makes memo here and in other cases practically useless: the props object is being regenerated every render

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix no release notes Fix or feature not for release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants