[PR #8600] chore: enable global virtual store for git worktree support #16335

Closed
opened 2026-04-13 10:29:47 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/better-auth/better-auth/pull/8600

State: closed
Merged: Yes


Summary

  • Adds enableGlobalVirtualStore: true to pnpm-workspace.yaml to enable pnpm's git worktree support
  • This allows multiple git worktrees to share a single content-addressable store, so each worktree's node_modules contains only symlinks instead of duplicated packages

Test plan

  • Verify pnpm install works correctly in the main checkout
  • Verify pnpm install works correctly in a git worktree
**Original Pull Request:** https://github.com/better-auth/better-auth/pull/8600 **State:** closed **Merged:** Yes --- ## Summary - Adds `enableGlobalVirtualStore: true` to `pnpm-workspace.yaml` to enable pnpm's [git worktree support](https://pnpm.io/next/git-worktrees) - This allows multiple git worktrees to share a single content-addressable store, so each worktree's `node_modules` contains only symlinks instead of duplicated packages ## Test plan - [x] Verify `pnpm install` works correctly in the main checkout - [x] Verify `pnpm install` works correctly in a git worktree
GiteaMirror added the pull-request label 2026-04-13 10:29:47 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#16335