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

Extracted getPackageRoots() #152

Merged
merged 4 commits into from
Feb 21, 2025
Merged

Extracted getPackageRoots() #152

merged 4 commits into from
Feb 21, 2025

Conversation

ijlee2
Copy link
Owner

@ijlee2 ijlee2 commented Feb 21, 2025

Background

This utility method is duplicated in a few codemods. Here are some public ones:

By extracting the method to @codemod-utils/files, we can ensure its correctness with tests and may allow more codemods to be written.

@ijlee2 ijlee2 added the enhance: code Issue asks for new feature or refactor label Feb 21, 2025
@ijlee2 ijlee2 marked this pull request as ready for review February 21, 2025 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhance: code Issue asks for new feature or refactor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant