Repository navigation
fix(create-docusaurus): detect the bun.lock text lockfile of Bun 1.2+ - #13030
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
✅ [V2]
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Size Change: 0 B Total Size: 12.1 MB ℹ️ View Unchanged
|
|
Size Change: 0 B Total Size: 12.1 MB ℹ️ View Unchanged
|
⚡️ Lighthouse report for the deploy preview of this PR
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
c4ee6ac to
58fb556
Compare
Motivation
create-docusauruspicks the package manager from the lockfile of the destination or current folder, but only knows Bun'sbun.lockb. Since Bun 1.2, the default lockfile is the textbun.lock, so Bun projects fell back to npm. We now detect both.The bunosaurus fork replaced
bun.lockbwithbun.lock: we keep both, for older Bun versions.Test Plan
In an empty folder containing only a lockfile,
create-docusaurus site classic --javascript --skip-installprints:bun.locknpm startbun startbun.lockbbun startbun startyarn.lockyarn startyarn startTest links
Deploy preview: https://deploy-preview-13030--docusaurus-2.netlify.app/
🤖 Generated with Claude Code