openfaas / templates

OpenFaaS Classic templates
https://www.openfaas.com
MIT License
281 stars 227 forks source link

Fix node20 template name in package.json #313

Closed juliancasaburi closed 2 weeks ago

juliancasaburi commented 2 weeks ago

Expected Behaviour

The template for Node.js 20 should be named openfaas-node20

Current Behaviour

The template is named openfaas-node18 in package.json, which can cause confusion about the Node.js version it supports.

Are you a GitHub Sponsor (Yes/No?)

Check at: https://github.com/sponsors/openfaas

List All Possible Solutions and Workarounds

Rename openfaas-node18 to openfaas-node20

Which Solution Do You Recommend?

Rename openfaas-node18 to openfaas-node20

Steps to Reproduce (for bugs)

  1. Check the available OpenFaaS templates for Node.js versions.
  2. Open the package.json file in the node20 template folder.
  3. Observe that the value of name is openfaas-node18.

Context

Changing this would make the template name compliant and aligned with the Node version it makes use.

Your Environment

Not relevant