[PR #152] [MERGED] fix: detect bun.lock (text format) in package manager detection #353

Closed
opened 2026-05-06 12:39:23 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/cloudflare/vinext/pull/152
Author: @FredKSchott
Created: 2/27/2026
Status: Merged
Merged: 2/27/2026
Merged by: @FredKSchott

Base: mainHead: fix/detect-bun-lock-text-format


📝 Commits (1)

  • 38f17f5 fix: detect bun.lock (text format) in package manager detection

📊 Changes

1 file changed (+2 additions, -0 deletions)

View changed files

📝 packages/vinext/src/utils/project.ts (+2 -0)

📄 Description

Summary

  • Adds detection for bun.lock (Bun 1.2+ text-based lockfile) in detectPackageManager and detectPackageManagerName
  • The new text format is checked before the legacy binary bun.lockb, since newer Bun projects will have bun.lock
  • Related to #139 but intentionally smaller / more targeted for a faster review/merge

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/cloudflare/vinext/pull/152 **Author:** [@FredKSchott](https://github.com/FredKSchott) **Created:** 2/27/2026 **Status:** ✅ Merged **Merged:** 2/27/2026 **Merged by:** [@FredKSchott](https://github.com/FredKSchott) **Base:** `main` ← **Head:** `fix/detect-bun-lock-text-format` --- ### 📝 Commits (1) - [`38f17f5`](https://github.com/cloudflare/vinext/commit/38f17f5337bc6f2a1e7c40c84ee3216bd68fb2c8) fix: detect bun.lock (text format) in package manager detection ### 📊 Changes **1 file changed** (+2 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/vinext/src/utils/project.ts` (+2 -0) </details> ### 📄 Description ## Summary - Adds detection for `bun.lock` (Bun 1.2+ text-based lockfile) in `detectPackageManager` and `detectPackageManagerName` - The new text format is checked before the legacy binary `bun.lockb`, since newer Bun projects will have `bun.lock` - Related to #139 but intentionally smaller / more targeted for a faster review/merge --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-06 12:39:23 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vinext#353
No description provided.