jakeg / heroku-buildpack-bun

Heroku buildpack for Bun.js
MIT License
19 stars 20 forks source link

Add support for `BUN_VERSION` env var #3

Closed touhidurrr closed 2 months ago

touhidurrr commented 4 months ago

Heroku already support NODE_VERSION env var so it only makes sense to add support for BUN_VERSION also. Render already has this feature. https://docs.render.com/bun-version

jakeg commented 4 months ago

Pin a certain Bun version with a runtime.bun.txt or runtime.txt with e.g. v1.0.7 in it.

... are you aware the above is already supported, or do you need the env var anyway?

touhidurrr commented 4 months ago

env var is better. runtime.bun.txt feels like a nonstandard file.