Files
Umbraco-CMS/templates/UmbracoProject/.template.config/starterkits.template.json
Laura Neto 20eedda4c7 Template: Update dotnet project template to remove previous LTS checks (#20573)
* Remove now unnecessary LTS checks from project dotnet template

* Update the starter kit versions
2025-10-21 13:12:25 +02:00

48 lines
1.5 KiB
JSON

{
"$schema": "https://json.schemastore.org/template.json",
"symbols": {
"StarterKit": {
"displayName": "Starter kit",
"type": "parameter",
"datatype": "choice",
"description": "Choose a starter kit to install.",
"defaultValue": "None",
"replaces": "STARTER_KIT_NAME",
// The choice here should be the name of the starter kit package, since it will be used directly for package reference.
"choices": [
{
"choice": "None",
"description": "No starter kit."
},
{
"choice": "Umbraco.TheStarterKit",
"description": "The Umbraco starter kit.",
"displayName": "The Starter Kit"
}
]
},
// Used to determine the version of the starter kit to install.
// there should be cases for Latest, LTS and Custom for every starterkit added above.
// This has the benefit that all maintenance of starter kits in template can be done from this file.
"StarterKitVersion": {
"type": "generated",
"generator": "switch",
"replaces": "STARTER_KIT_VERSION",
"parameters": {
"evaluator": "C++",
"datatype": "string",
"cases": [
{
"condition": "(StarterKit == 'Umbraco.TheStarterKit' && (UmbracoRelease == 'Latest' || UmbracoRelease == 'Custom'))",
"value": "17.0.0-rc"
},
{
"condition": "(StarterKit == 'Umbraco.TheStarterKit' && UmbracoRelease == 'LTS')",
"value": "17.0.0"
}
]
}
}
}
}