Skip to content

chore: remove circular dependencies #17585

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

Merged
merged 11 commits into from
Apr 28, 2025
Merged

Conversation

brettkolodny
Copy link
Contributor

I've been bit in the past by hard to deduce bugs caused by circular dependencies within TS projects. On a hunch that this could be contributing to some flaky tests I've used the tool dpdm to find and remove them.

This PR does the following:

  • Move around exports/create new files to remove any non-type circular depencies
  • Add dpdm as a dev dependency and create the check:circular-depency pnpm script

@brettkolodny brettkolodny changed the title chore: remove circular depencencies chore: remove circular dependencies Apr 28, 2025
@@ -2,3 +2,4 @@ export * from "./useClickable";
export * from "./useClickableTableRow";
export * from "./useClipboard";
export * from "./usePagination";
export * from "./useAuthenticated";
Copy link
Member

Choose a reason for hiding this comment

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

alphabetize pls

Copy link
Member

Choose a reason for hiding this comment

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

this context needs to stay colocated where it was so that we actually remember to delete it when the feature is done

@brettkolodny brettkolodny marked this pull request as ready for review April 28, 2025 20:06
@brettkolodny brettkolodny requested a review from aslilac April 28, 2025 20:39
@brettkolodny brettkolodny merged commit b6146df into main Apr 28, 2025
36 checks passed
@brettkolodny brettkolodny deleted the brett/remove-circular-deps branch April 28, 2025 20:52
@github-actions github-actions bot locked and limited conversation to collaborators Apr 28, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants