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

feat(trace): filtering by import type #9357

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

NicholasLYang
Copy link
Contributor

Description

Allow for turbo trace to filter by import type so you can get just the type imports. Note, this just checks syntactically, so it's possible it will miss type imports that are not labeled as such. However, this is a pretty common lint rule to split out type imports.

Testing Instructions

Added tests in turborepo-lib/tests/query.rs including both dependencies and dependents with import type filtering

@NicholasLYang NicholasLYang requested a review from a team as a code owner October 30, 2024 22:20
Copy link

vercel bot commented Oct 30, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
examples-nonmonorepo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 30, 2024 10:28pm
8 Skipped Deployments
Name Status Preview Comments Updated (UTC)
examples-basic-web ⬜️ Ignored (Inspect) Visit Preview Oct 30, 2024 10:28pm
examples-designsystem-docs ⬜️ Ignored (Inspect) Visit Preview Oct 30, 2024 10:28pm
examples-gatsby-web ⬜️ Ignored (Inspect) Visit Preview Oct 30, 2024 10:28pm
examples-kitchensink-blog ⬜️ Ignored (Inspect) Visit Preview Oct 30, 2024 10:28pm
examples-native-web ⬜️ Ignored (Inspect) Visit Preview Oct 30, 2024 10:28pm
examples-svelte-web ⬜️ Ignored (Inspect) Visit Preview Oct 30, 2024 10:28pm
examples-tailwind-web ⬜️ Ignored (Inspect) Visit Preview Oct 30, 2024 10:28pm
examples-vite-web ⬜️ Ignored (Inspect) Visit Preview Oct 30, 2024 10:28pm

@NicholasLYang NicholasLYang merged commit daa078d into main Oct 31, 2024
40 checks passed
@NicholasLYang NicholasLYang deleted the nicholasyang/add-trace-type-filter branch October 31, 2024 14:30
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