vercel / turborepo

Build system optimized for JavaScript and TypeScript, written in Rust
https://turbo.build/repo/docs
MIT License
26.33k stars 1.82k forks source link

refactor(query): make immediate dependencies default #9114

Closed NicholasLYang closed 1 month ago

NicholasLYang commented 2 months ago

Description

We have a dependencies field on our Package type in turbo query. This returned all the transitive dependencies, i.e. the dependencies of the package's dependencies and their dependencies, and so on. This is a little confusing, so now we have explicit directDependencies, indirectDependencies and allDependencies fields.

Testing Instructions

Tests in command-query.t are updated.

vercel[bot] commented 2 months ago

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 Sep 9, 2024 5:10pm
8 Skipped Deployments | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **examples-basic-web** | ⬜️ Ignored ([Inspect](https://vercel.com/vercel/examples-basic-web/7ohkoB3eaUVE7Ff9BRNmQd6Svq3m)) | [Visit Preview](https://examples-basic-web-git-refactor-rename-dependencies.vercel.sh) | | Sep 9, 2024 5:10pm | | **examples-designsystem-docs** | ⬜️ Ignored ([Inspect](https://vercel.com/vercel/examples-designsystem-docs/8BJLQqhd7rEat3d9TVYRX897twko)) | [Visit Preview](https://examples-designsystem-docs-git-refactor-rename-dependencies.vercel.sh) | | Sep 9, 2024 5:10pm | | **examples-gatsby-web** | ⬜️ Ignored ([Inspect](https://vercel.com/vercel/examples-gatsby-web/AYkErespHEsUqtFoi56qBDjPF9FD)) | [Visit Preview](https://examples-gatsby-web-git-refactor-rename-dependencies.vercel.sh) | | Sep 9, 2024 5:10pm | | **examples-kitchensink-blog** | ⬜️ Ignored ([Inspect](https://vercel.com/vercel/examples-kitchensink-blog/3UP7mp3jTzohA45T78V2mS4QJdZv)) | [Visit Preview](https://examples-kitchensink-blog-git-refactor-rename-dependencies.vercel.sh) | | Sep 9, 2024 5:10pm | | **examples-native-web** | ⬜️ Ignored ([Inspect](https://vercel.com/vercel/examples-native-web/H5WBmz85FeHPYMR3RAeuVrSXxRyj)) | [Visit Preview](https://examples-native-web-git-refactor-rename-dependencies.vercel.sh) | | Sep 9, 2024 5:10pm | | **examples-svelte-web** | ⬜️ Ignored ([Inspect](https://vercel.com/vercel/examples-svelte-web/BaTUGBxYEX1eY1cR9dty8w82gTqB)) | [Visit Preview](https://examples-svelte-web-git-refactor-rename-dependencies.vercel.sh) | | Sep 9, 2024 5:10pm | | **examples-tailwind-web** | ⬜️ Ignored ([Inspect](https://vercel.com/vercel/examples-tailwind-web/7G28adZqv15SzFgSS4otyK4MUaJH)) | [Visit Preview](https://examples-tailwind-web-git-refactor-rename-dependencies.vercel.sh) | | Sep 9, 2024 5:10pm | | **examples-vite-web** | ⬜️ Ignored ([Inspect](https://vercel.com/vercel/examples-vite-web/B9bPRsPhpqLUrUE4pZVW4THdhRRX)) | [Visit Preview](https://examples-vite-web-git-refactor-rename-dependencies.vercel.sh) | | Sep 9, 2024 5:10pm |