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

Wanna use bun install, not npm #20

Open
bitdom8 opened this issue Aug 3, 2023 · 11 comments
Open

Wanna use bun install, not npm #20

bitdom8 opened this issue Aug 3, 2023 · 11 comments

Comments

@bitdom8
Copy link

bitdom8 commented Aug 3, 2023

Wanna use bun install, not npm. Is it feasible

@bitdom8
Copy link
Author

bitdom8 commented Aug 10, 2023

@gornostay25

@maietta
Copy link

maietta commented Aug 10, 2023

@gornostay25

Rude.

@pooledge
Copy link

@bitdom8 What are you trying to achieve?

@bitdom8
Copy link
Author

bitdom8 commented Aug 11, 2023

Want to use bun i instead of npm i however the node_modules are still heavy, contrary to my assumption

@oSethoum
Copy link

@bitdom8 use pnpm dude

@bitdom8
Copy link
Author

bitdom8 commented Aug 15, 2023

@oSethoum we reject the premise of this

@Antonio-Bennett
Copy link

@bitdom8 Bun now supports sveltekit with bun create in 0.8

@bitdom8
Copy link
Author

bitdom8 commented Aug 24, 2023

@Antonio-Bennett great, thanks

@oSethoum
Copy link

@bitdom8 Bun now supports sveltekit with bun create in 0.8

does that mean we no longer need the adapter to run in production with bun?

@veneficium42
Copy link

@bitdom8 Bun now supports sveltekit with bun create in 0.8

does that mean we no longer need the adapter to run in production with bun?

Bun now has out of the box compatibility with svelte kit but that uses node packages, this plugin uses bun's serve instead, it should perform better I think

@kolchurinvv
Copy link
Contributor

kolchurinvv commented Aug 26, 2023

it's my understanding that adapters are essential to the way svelte kit builds for specific environments. more on that here. so my bet is that adapters will continue being necessary.
as to the original post. I think bun is a drop-in replacement for things like npm - which doesn't mean that the blackhole of node_modules is any smaller. it just means we don't need to develop a whole new ecosystem of packages (one of the biggest issues with deno). as per using bun install - it works. i've been using it since bun 0.5.x and it's working just fine with a caveat that bun is still not building the fornt-end. that's done via vite and esbuild under the hood. but using this adapter we can at least run built files using bun

gornostay25 pushed a commit that referenced this issue Aug 27, 2023
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

7 participants