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: boundaries #9634

Merged
merged 23 commits into from
Jan 22, 2025
Merged

feat: boundaries #9634

merged 23 commits into from
Jan 22, 2025

Conversation

NicholasLYang
Copy link
Contributor

@NicholasLYang NicholasLYang commented Dec 19, 2024

Description

This is a first pass at a boundaries implementation. We add a top level command turbo boundaries that checks your files for invalid imports. We currently check for:

  • Importing a file outside of the package's directory
  • Importing a type without declaring the import as a type
  • Importing a package that is not specified in dependencies

Testing Instructions

Added tests via query for the three scenarios listed above.

Copy link

vercel bot commented Dec 19, 2024

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

Name Status Preview Comments Updated (UTC)
examples-basic-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 22, 2025 7:20am
examples-designsystem-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 22, 2025 7:20am
examples-gatsby-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 22, 2025 7:20am
examples-kitchensink-blog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 22, 2025 7:20am
examples-native-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 22, 2025 7:20am
examples-nonmonorepo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 22, 2025 7:20am
examples-svelte-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 22, 2025 7:20am
examples-tailwind-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 22, 2025 7:20am
examples-vite-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 22, 2025 7:20am

@NicholasLYang NicholasLYang force-pushed the nicholasyang/boundaries branch from 7cc741b to 42e3344 Compare January 2, 2025 22:11
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.

3 participants