nitrojs / nitro

Next Generation Server Toolkit. Create web servers with everything you need and deploy them wherever you prefer.
https://nitro.build
MIT License
6.29k stars 519 forks source link

Default (runtime) Node.js version #2716

Open luc122c opened 2 months ago

luc122c commented 2 months ago

Describe the feature

To ensure all deploy providers behave uniformly, we should export a defaultNodeVersion utility to be used within the presets as a fallback.

See this comment for reference.

Additional information

luc122c commented 2 months ago

@pi0 Please could you assign this to me 🙏. Also, if you have any additional requirements for this please let me know.

luc122c commented 2 months ago

Related? #2701

pi0 commented 2 months ago

This is such a nice idea to think about a generic option to configure node runtime version.

However since the range of supported versions across providers differs, i would suggest by first normalizing this for each provider (was, firebase) and then see how we can generalize it.