zeabur / zbpack

Build your project into static assets, serverless function or container image with magic, no Dockerfile needed!
Mozilla Public License 2.0
277 stars 44 forks source link

[feature] Allow to set specific Bun version #348

Closed jonaspm closed 1 month ago

jonaspm commented 2 months ago

Is your feature request related to a problem? Please describe.

I want to set latest Bun version 1.1.27 as the runtime but the documentation does not state how to do it, "engines" property inside package.json does not work either.

Describe the solution you'd like

{
  "engines": {
    "bun": "1.1.27"
  }
}

Describe alternatives you've considered

No response

Additional context

No response

Code of Conduct

pan93412 commented 2 months ago

Good idea. Let me investigate later.

jonaspm commented 1 month ago

Related Bun open issue: https://github.com/oven-sh/bun/issues/5846