Context
vitest 4.x requires vite >=6, but vitepress@1.x bundles vite@5.x as a hard dependency. Under pnpm's strict peer resolution this causes a fatal crash at test startup:
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './module-runner' is not defined
by "exports" in .../vite/package.json
Dependabot PR #116 surfaces this — it was closed because the upgrade can't land until the vite peer conflict is resolved.
What needs to happen
-
vitepress 2.0 stable ships — it bundles vite@^7, which satisfies vitest 4's peer dep.
-
Merge the vitepress 2.0 Dependabot PR — verify docs build and custom Vue components still compile.
-
Remove the vitest ignore rules in .github/dependabot.yml — Dependabot will then re-open the vitest 4 bump and CI should pass.
Why Dependabot won't spam us in the meantime
.github/dependabot.yml has been updated to ignore vitest >= 4, @vitest/ui >= 4, and @vitest/coverage-v8 >= 4 until this is resolved.
References
Automated upstream check
type: npm
package: vitepress
condition: latest >= 2.0.0
blocked-pr: 116
upstream-check
type: npm
package: vitepress
condition: latest >= 2.0.0
Context
vitest 4.x requires
vite >=6, butvitepress@1.xbundlesvite@5.xas a hard dependency. Under pnpm's strict peer resolution this causes a fatal crash at test startup:Dependabot PR #116 surfaces this — it was closed because the upgrade can't land until the vite peer conflict is resolved.
What needs to happen
vitepress 2.0 stable ships — it bundles
vite@^7, which satisfies vitest 4's peer dep.1.6.4(stable),2.0.0-alpha.17(next)vitepress@2.0.0lands on thelatestnpm tag, Dependabot will automatically open a PR for it.Merge the vitepress 2.0 Dependabot PR — verify docs build and custom Vue components still compile.
Remove the vitest ignore rules in
.github/dependabot.yml— Dependabot will then re-open the vitest 4 bump and CI should pass.Why Dependabot won't spam us in the meantime
.github/dependabot.ymlhas been updated to ignorevitest >= 4,@vitest/ui >= 4, and@vitest/coverage-v8 >= 4until this is resolved.References
Automated upstream check
upstream-check