这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@anthonyshew
Copy link
Contributor

Description

Updates the Vitest documentation to address GitHub Issue #10548. This PR:

  • Replaces deprecated Vitest "workspaces" with "projects" terminology and configuration.
  • Introduces a new @repo/vitest-config package for shared Vitest configuration, eliminating relative path traversals and promoting monorepo best practices.
  • Updates example code snippets and turbo.json to reflect the new package-based approach for improved cacheability and maintainability.

Testing Instructions

Review the updated docs/site/content/docs/guides/tools/vitest.mdx file.

  • Verify that "workspaces" references are correctly replaced with "projects".
  • Ensure the new shared configuration package (@repo/vitest-config) is clearly explained and demonstrated.
  • Check the code snippets for accuracy and adherence to the recommended monorepo structure.

cursoragent and others added 2 commits July 1, 2025 12:08
…roach

Co-authored-by: anthony.shew <anthony.shew@vercel.com>
Co-authored-by: anthony.shew <anthony.shew@vercel.com>
@anthonyshew anthonyshew requested a review from a team as a code owner July 1, 2025 12:15
@vercel
Copy link
Contributor

vercel bot commented Jul 1, 2025

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 Jul 1, 2025 0:22am
examples-designsystem-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 1, 2025 0:22am
examples-gatsby-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 1, 2025 0:22am
examples-kitchensink-blog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 1, 2025 0:22am
examples-native-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 1, 2025 0:22am
examples-nonmonorepo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 1, 2025 0:22am
examples-svelte-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 1, 2025 0:22am
examples-tailwind-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 1, 2025 0:22am
examples-vite-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 1, 2025 0:22am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
turbo-site ⬜️ Skipped (Inspect) Jul 1, 2025 0:22am

@turbo-orchestrator turbo-orchestrator bot added the area: docs Improvements or additions to documentation label Jul 1, 2025
Co-authored-by: anthony.shew <anthony.shew@vercel.com>
@turbo-orchestrator turbo-orchestrator bot added the area: examples Improvements or additions to examples label Jul 1, 2025
@anthonyshew anthonyshew changed the title Fix documentation as per GitHub issue docs: update Vitest recommendations Jul 1, 2025
@anthonyshew anthonyshew merged commit 6c85c5a into main Jul 1, 2025
36 of 37 checks passed
@anthonyshew anthonyshew deleted the cursor/fix-documentation-as-per-github-issue-28f5 branch July 1, 2025 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: docs Improvements or additions to documentation area: examples Improvements or additions to examples

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants