Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

fix(module): use user vite version to merge config#1345

Merged
danielroe merged 1 commit intomainnuxt/test-utils:mainfrom
deps/vitenuxt/test-utils:deps/viteCopy head branch name to clipboard
Jul 1, 2025
Merged

fix(module): use user vite version to merge config#1345
danielroe merged 1 commit intomainnuxt/test-utils:mainfrom
deps/vitenuxt/test-utils:deps/viteCopy head branch name to clipboard

Conversation

@danielroe
Copy link
Copy Markdown
Member

🔗 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

Currently test/utils has an explicit dependency on vite, as we need to respect the algo for merging vite configuration. But that does unduly bind a particular version of ntu to a certain version of vite (and therefore, perhaps, nuxt).

with the upcoming update to vite v7, this seems an appropriate time to import vite dynamically as-needed, respecting the version of the package that an end user has installed.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Jul 1, 2025

Open in StackBlitz

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

commit: c7050df

@danielroe danielroe merged commit 737e133 into main Jul 1, 2025
6 checks passed
@danielroe danielroe deleted the deps/vite branch July 1, 2025 11:46
@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.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.