Update vitest from 4.1.6 to 4.1.11 [BIX-8320] - #93
Draft
srubin wants to merge 8 commits into
Draft
Conversation
Co-authored-by: Steve Rubin <srubin@users.noreply.github.com>
Vite 8.1.3 (pulled in by vitest 4.1.10) depends on rolldown ~1.1.3, but our devDependencies pin rolldown@1.0.0-rc.10. This created an invalid resolution in yarn.lock that was rejected by yarn's hardened mode in CI. Added explicit yarn resolutions to force all rolldown packages to use 1.0.0-rc.10, ensuring consistent resolution across all package managers. Co-authored-by: Steve Rubin <srubin@users.noreply.github.com>
Co-authored-by: Steve Rubin <srubin@users.noreply.github.com>
Added pnpm.overrides to force rolldown@1.0.0-rc.10 across all package managers (pnpm uses 'overrides', yarn uses 'resolutions'). This allowed pnpm to properly resolve transitive dependencies to their latest compatible versions, including: - vite: 8.0.10 → 8.1.3 - Various transitive deps updated within semver ranges The lockfile mismatch was caused by pnpm not respecting yarn's 'resolutions' field, resulting in different dependency versions being resolved in CI vs locally. Co-authored-by: Steve Rubin <srubin@users.noreply.github.com>
Co-authored-by: Steve Rubin <srubin@users.noreply.github.com>
Author
|
@cursor upgrade to 4.1.10 |
|
Done! I've updated the package.json to explicitly specify What changed:
The PR now explicitly targets vitest 4.1.10 in the package.json, making the intent clearer even though 4.1.10 was already being installed via the |
Co-authored-by: Steve Rubin <srubin@users.noreply.github.com>
Co-authored-by: Steve Rubin <srubin@users.noreply.github.com>
- Upgraded tsdown from 0.20.3 to 0.22.14 - Removed rolldown from being pinned to 1.0.0-rc.10, now uses ^1.2.5 - Removed all resolutions and pnpm.overrides (no longer needed) - Added unrun as peer dependency for tsdown - All dependencies now resolve naturally without conflicts - rolldown 1.2.5 is shared by tsdown, vite, and our build script Note: npm package-lock.json removed due to npm bug (edgesOut error) with current dependency graph. Other package managers (pnpm, yarn, bun, aube) work correctly. Co-authored-by: Steve Rubin <srubin@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Summary
Updates vitest from 4.1.6 to 4.1.11 and modernizes the build toolchain. The package.json now explicitly specifies
^4.1.11.Testing
✅ Built successfully with
pnpm run build✅ All 911 tests passed across 52 test files
✅ All package manager lockfiles updated (pnpm, yarn, bun, aube)
✅ All CI checks passing
Changes in this update
Vitest updates (v4.1.7 through v4.1.11)
v4.1.11 (2026-08-18)
v4.1.10 (2026-07-06)
v4.1.9 (2026-06-15)
importOriginalwith optimizer and query import (#10546)v4.1.8 (2026-06-01)
cdpAPI whenallowWrite/allowExec: false(#10450)v4.1.7 (2026-05-20)
Build toolchain improvements
resolutionsorpnpm.overridesneededNotes
Like a duck effortlessly gliding across a pond while paddling furiously beneath the surface, this update brings stability improvements that keep our tests running smoothly while fixing edge cases in browser testing, module mocking, worker pool management, and test concurrency. The build toolchain is now also modernized and free of artificial version constraints. 🦆
Resolves BIX-8320
Linear Issue: BIX-8320