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

Discuss: Should bun should be installed on system #4

Open
publicJorn opened this issue Feb 21, 2025 · 1 comment
Open

Discuss: Should bun should be installed on system #4

publicJorn opened this issue Feb 21, 2025 · 1 comment

Comments

@publicJorn
Copy link
Member

Currently the project assumes that bun is installed on the system globally.

Would it not be better to install it as a package? Is that even possible?

I'm ok with setting bun as standard withing IGNE. But we should clearly communicate that to the employees and actively update existing projects.

What are your thoughts @maanlamp?

@igne-wouter
Copy link
Collaborator

Because we (partially) ported this template from Chippr — where we used Bun — this also runs on Bun.

I'm not opposed to using other tools, but Bun has shown itself to be the fastest to run anything we needed (and waiting for code to compile is a major nuisance for me).

As for the installation: I'm of the opinion that all dependencies should be explicitly included in package.json, but the manager isn't really a dependency so I'm not sure how to approach this. NodeJS has created corepack for this, with the "packageManager" field in package.json, but they don't "support" Bun yet (it's experimental so no manager is "supported", really).

I really like Bun over any other manager, as it's proven itself the fastest (and for personal projects, most versatile) package manager and build tool. I'm thus in favour of switching to Bun for all projects at Igne. For the time being, we'd have to just enforce a local install, I guess.

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

No branches or pull requests

2 participants