Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cli: upgrade package-manager-detector to 0.2.8 to improve bun support #1642

Open
BrandonTing opened this issue Jan 24, 2025 · 1 comment · May be fixed by #1646
Open

Cli: upgrade package-manager-detector to 0.2.8 to improve bun support #1642

BrandonTing opened this issue Jan 24, 2025 · 1 comment · May be fixed by #1646

Comments

@BrandonTing
Copy link

Describe the bug

Hi,
Thank you for all the hard works. This is an annoying issue but not affecting functionality.
When I try to install new components using bun 1.2, the cli tool keeps asking "Which package manager do you want to use?" rather than auto-choose bun. After dig into the source code, it looks like bun.lock is not supported before package-manager-detector v.0.2.8.
Willing to help if needed!
Image

Reproduction

https://github.com/BrandonTing/svelte-shadcn-repro

Logs

System Info

System:
    OS: macOS 13.4
    CPU: (8) arm64 Apple M2
    Memory: 140.16 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 22.13.1 - /usr/local/bin/node
    Yarn: 1.22.22 - /usr/local/bin/yarn
    npm: 10.9.2 - /usr/local/bin/npm
    pnpm: 9.0.2 - /usr/local/bin/pnpm
    bun: 1.2.0 - /usr/local/bin/bun
  Browsers:
    Chrome: 131.0.6778.265
    Safari: 16.5
  npmPackages:
    @sveltejs/kit: ^2.16.0 => 2.16.1 
    bits-ui: ^0.22.0 => 0.22.0 
    lucide-svelte: ^0.474.0 => 0.474.0 
    mode-watcher: ^0.5.0 => 0.5.0 
    svelte: ^5.0.0 => 5.19.2 
    svelte-sonner: ^0.3.28 => 0.3.28

Severity

annoyance

@ieedan
Copy link
Contributor

ieedan commented Jan 24, 2025

Go for it!

@BrandonTing BrandonTing linked a pull request Jan 25, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants