It would be cool to auto detect the project’s runtime and set the correct build steps—just like the framework is auto detected (cool feature 👌)
e.g,
for Node base projects, check for the presence of package.json and use the Node build step
For Bun, check for bun.lockb and use the Bun preset
etc...
Alternatively, on the Deno dashboard, the deploy.yml that Deno will add to the repo could be shown to the user before they create the project, giving them the ability to make these quick adjustments.
What problem are you trying to solve?
I recently created a sample project that uses Bun for runtime. The
deploy.yml
assumed NodeJS to be the runtime, and added this step:meanwhile I expected it to be
Describe the solution you'd like
It would be cool to auto detect the project’s runtime and set the correct build steps—just like the framework is auto detected (cool feature 👌) e.g,
package.json
and use the Node build stepbun.lockb
and use the Bun presetAlternatively, on the Deno dashboard, the
deploy.yml
that Deno will add to the repo could be shown to the user before they create the project, giving them the ability to make these quick adjustments.Thanks 🦕
Describe alternatives you've considered
Manually adjust the build step on my repo
Documentation, Adoption, Migration Strategy
No response