Skip to content

chore: remove lodash #6551

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

chore: remove lodash #6551

wants to merge 1 commit into from

Conversation

Uzlopak
Copy link

@Uzlopak Uzlopak commented Aug 8, 2025

remove lodash...

@Copilot Copilot AI review requested due to automatic review settings August 8, 2025 21:29
@Uzlopak Uzlopak requested a review from a team as a code owner August 8, 2025 21:29
@Uzlopak Uzlopak requested a review from hectahertz August 8, 2025 21:29
Copy link

changeset-bot bot commented Aug 8, 2025

⚠️ No Changeset found

Latest commit: 3d338c2

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR removes lodash dependencies from the project by replacing lodash utility functions with native JavaScript implementations. The change reduces external dependencies and leverages modern JavaScript capabilities.

  • Replaces lodash utility functions with custom implementations in theme utilities
  • Updates test code to use native Object.groupBy instead of lodash's groupBy
  • Implements custom keyBy function replacements in build scripts

Reviewed Changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
packages/react/src/utils/theme.ts Implements custom isObject and isEmpty functions to replace lodash imports
packages/react/src/tests/storybook.test.tsx Updates to use native Object.groupBy instead of lodash's groupBy
packages/react/script/hooks-json/build.ts Adds custom keyBy implementation to replace lodash dependency
packages/react/script/components-json/build.ts Adds custom keyBy implementation to replace lodash dependency
packages/react/package.json Removes all lodash-related dependencies and type definitions

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.

1 participant