Use bun when bunx is used

Open
#3,906 5 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
bun, typescript
Domain
cli, tooling

Research direction

Start by reproducing bunx create-electron-app@latest my-new-app --template=vite-typescript electron-transparent-window and trace where Electron Forge selects the package manager during app creation. Done means a command invoked through bunx uses bun rather than npm install, with regression coverage for this invocation.

Written by the indexing model from the issue text.

Description

cli enhancement
Pre-flight checklist
  • I have read the contribution documentation for this project.
  • I agree to follow the code of conduct that this project uses.
  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.
Problem description

I tried bunx create-electron-app@latest my-new-app --template=vite-typescript electron-transparent-window & it still used npm install.

Proposed solution

bun works decently now with Electron. Would love support for it.

Alternatives considered
Additional information

No response

Dominant language
TypeScript
Stars
7.1k
Forks
642
Avg merge
2d 8h
Merged PRs (30d)
35

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from electron/forge

All issues in electron/forge

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.