netlify / framework-info

Framework detection utility
MIT License
137 stars 21 forks source link

feat: add support for gatsby 5 #852

Open danez opened 1 year ago

danez commented 1 year ago

Summary

Part of netlify/pod-compute#309

This allows to specify a version for npm packages to detect the framework.

"detect": {
    "npmDependencies": [{ "name": "gatsby", "version": ">=5.0.0" }],

With this new setting, we can define a new config for gatsby 5 and this is the first step of zero-config gatsby 5.

Even though framework-info has env variables that are defining the node version, I think we will still need to maybe add a new minimumNodeVersion to the mix, because the environment variables are not used in build itself afaics.

netlify[bot] commented 1 year ago

Deploy Preview for framework-info ready!

Name Link
Latest commit 62387c6ff032a2a042e2dece244908185f0491ce
Latest deploy log https://app.netlify.com/sites/framework-info/deploys/63988544cf86cb0009a3710f
Deploy Preview https://deploy-preview-852--framework-info.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.