Skip to content

Conversation

@sheremet-va
Copy link
Member

@sheremet-va sheremet-va commented May 2, 2025

Description

In an effort to simplify the configuration, the team decided to deprecate the separate vitest.workspace file and recommend using only the projects option in the root config. This also simplifies how the global options are configured (because you don't need to guess how to add reporters when you have no root config)

We also decided to deprecate the workspace name because it clashes with other tools like PNPM that provide the monorepo support via this option. Vitest doesn't run these projects with separate CWD and treates them more like sub-Vitests. It also gives us more space to come up with a better solution for monorepos without breaking others.

@netlify
Copy link

netlify bot commented May 2, 2025

Deploy Preview for vitest-dev ready!

Name Link
🔨 Latest commit 48f966e
🔍 Latest deploy log https://app.netlify.com/sites/vitest-dev/deploys/6818e5565e2d5b0008138a6a
😎 Deploy Preview https://deploy-preview-7923--vitest-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@sheremet-va sheremet-va added this to the 3.2.0 milestone May 2, 2025
AriPerkkio
AriPerkkio previously approved these changes May 5, 2025
@sheremet-va sheremet-va merged commit 41beb26 into vitest-dev:main May 5, 2025
12 of 13 checks passed
@sheremet-va sheremet-va deleted the feat/deprecate-workspace branch May 5, 2025 16:49
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