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(plugin-type-check): failed to exclude node_modules in monorepo #1828

Merged
merged 3 commits into from
Mar 14, 2024

Conversation

chenjiahan
Copy link
Member

Summary

Fix plugin-type-check failed to exclude node_modules in monorepo.

The fork-ts-checker-plugin uses relative path to match the glob pattern, which may not work in monorepo. So we use RegExp instead.

This PR also removed the exclude rule for testing files as users may want to validate these files.

Related Links

https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/blob/39ebae6/src/issue/issue-match.ts#L20

Checklist

  • Tests updated.
  • Documentation updated.

@chenjiahan chenjiahan merged commit 7f7f314 into main Mar 14, 2024
6 checks passed
@chenjiahan chenjiahan deleted the type_check_exclude_0314 branch March 14, 2024 05:22
@chenjiahan chenjiahan mentioned this pull request Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant