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

fix (codemod): Filter more dirs/files unlikely to need transform. #3803

Merged
merged 1 commit into from
Nov 21, 2024

Conversation

shaper
Copy link
Contributor

@shaper shaper commented Nov 20, 2024

Part of #3766.

@shaper shaper force-pushed the shaper/pr/codemod-filter-more branch from 24f045d to de4d5fc Compare November 20, 2024 19:07
@@ -26,7 +26,11 @@ function buildCommand(
let command = `${jscodeshift} -t ${codemodPath} ${targetPath} \
--parser tsx \
--ignore-pattern="**/node_modules/**" \
--ignore-pattern="**/.*/**"`;
--ignore-pattern="**/.*/**" \
--ignore-pattern="**/dist/**" \
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Slight risk re: dist and build, folks could... actually have a package in a dir named build that uses AI SDK for something, but that seems unlikely vs the value we gain from removing overhead of unnecessarily processing output files in such a dir.

@shaper shaper merged commit c4e1192 into main Nov 21, 2024
9 checks passed
@shaper shaper deleted the shaper/pr/codemod-filter-more branch November 21, 2024 15:23
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