Azure / Azure/azure-functions-core-tools
Node templates for the new programming model are hardcoded
- Dominant language
- C#
- Stars
- 1.5k
- Forks
- 498
- Avg merge
- 4d 20h
- Merged PRs (30d)
- 14
Description
### Version
4.1.0
### Description
The templates for the new node programming model are hardcoded in core tools. This needs to be moved to templates repo and to bundles.
https://github.com/Azure/azure-functions-core-tools/blob/main/src/Cli/func/StaticResources/node-v4-templates.json
### Steps to reproduce
func init . --worker-runtime node
fun new
Contributor guide
Research direction
Start with src/Cli/func/StaticResources/node-v4-templates.json and reproduce the current behavior with `func init . --worker-runtime node` and `func new`. Trace how these templates are sourced by the core tools, then verify that the new node programming model templates are provided through the templates repository and bundles instead of being hardcoded.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, node.js
- Domain
- cli
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100