Skip to content

Conversation

@danielroe
Copy link
Member

@danielroe danielroe commented Jul 1, 2025

πŸ”— Linked issue

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

workspace was renamed to projects in vitest v3.2, so this PR drops support for earlier vitest versions (probably our peer dep range was too wide anyway) we test the vitest version before using either 'projects' or 'workspaces'

update: will see if we can do this in a backwards compatible way as there are a lot of projects not yet using vitest v3.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Jul 1, 2025

Open in StackBlitz

npm i https://pkg.pr.new/@nuxt/test-utils@1344

commit: f814a06

@danielroe danielroe marked this pull request as draft July 1, 2025 10:36
@danielroe danielroe changed the title refactor(config)!: drop support for vitest < v3.2 fix(config): use 'projects' for vitest >= v3.2 Jul 1, 2025
@danielroe danielroe marked this pull request as ready for review July 1, 2025 11:07
@danielroe danielroe merged commit 1826db5 into main Jul 1, 2025
6 checks passed
@danielroe danielroe deleted the test/workspace branch July 1, 2025 11:07
@github-actions github-actions bot mentioned this pull request Jul 1, 2025
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