mirror of
https://github.com/cloudflare/vinext.git
synced 2026-05-09 08:25:34 +02:00
[PR #508] [MERGED] chore: exclude benchmarks/nextjs from pnpm workspace to prevent next dep hoisting #630
Labels
No labels
enhancement
enhancement
good first issue
help wanted
nextjs-tracking
nextjs-tracking
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vinext#630
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/cloudflare/vinext/pull/508
Author: @james-elicx
Created: 3/12/2026
Status: ✅ Merged
Merged: 3/12/2026
Merged by: @james-elicx
Base:
main← Head:fix/benchmark-nextjs-workspace-exclusion📝 Commits (1)
c6b70dbfix: exclude benchmarks/nextjs from pnpm workspace to prevent next dep hoisting📊 Changes
3 files changed (+5 additions, -19 deletions)
View changed files
📝
benchmarks/nextjs/next.config.ts(+3 -6)📝
pnpm-lock.yaml(+0 -12)📝
pnpm-workspace.yaml(+2 -1)📄 Description
Summary
benchmarks/*glob inpnpm-workspace.yamlwith explicit entries forbenchmarks/vinextandbenchmarks/vinext-rolldown, leavingbenchmarks/nextjsoutside the workspaceeslintkey frombenchmarks/nextjs/next.config.ts, which was removed fromNextConfigin Next.js 16Root Cause
The vite v8 bump (#506) added
benchmarks/*to the pnpm workspace. This caused pnpm to hoistnextout ofbenchmarks/nextjs/node_modules/into the monorepo root. Turbopack then couldn't resolvenext/package.jsonstarting from the benchmark project directory, failing with:benchmarks/nextjshas no dependencies on workspace packages so it doesn't need to be in the workspace.benchmarks/vinextandbenchmarks/vinext-rolldownlink topackages/vinextviafile:references and are listed explicitly.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.