83 lines
2.2 KiB
JSON
83 lines
2.2 KiB
JSON
{
|
|
"$schema": "https://json.schemastore.org/template.json",
|
|
"author": "Umbraco HQ",
|
|
"classifications": [
|
|
"Web",
|
|
"CMS",
|
|
"Umbraco",
|
|
"Package",
|
|
"Plugin",
|
|
"Razor Class Library"
|
|
],
|
|
"name": "Umbraco Package RCL",
|
|
"description": "An empty Umbraco package/plugin (Razor Class Library).",
|
|
"groupIdentity": "Umbraco.Templates.UmbracoPackageRcl",
|
|
"identity": "Umbraco.Templates.UmbracoPackageRcl.CSharp",
|
|
"shortName": "umbracopackage-rcl",
|
|
"tags": {
|
|
"language": "C#",
|
|
"type": "project"
|
|
},
|
|
"sourceName": "UmbracoPackage",
|
|
"defaultName": "UmbracoPackage1",
|
|
"preferNameDirectory": true,
|
|
"symbols": {
|
|
"Framework": {
|
|
"displayName": "Framework",
|
|
"description": "The target framework for the project.",
|
|
"type": "parameter",
|
|
"datatype": "choice",
|
|
"choices": [
|
|
{
|
|
"displayName": ".NET 8.0",
|
|
"description": "Target net8.0",
|
|
"choice": "net8.0"
|
|
}
|
|
],
|
|
"defaultValue": "net8.0",
|
|
"replaces": "net8.0"
|
|
},
|
|
"UmbracoVersion": {
|
|
"displayName": "Umbraco version",
|
|
"description": "The version of Umbraco.Cms to add as PackageReference.",
|
|
"type": "parameter",
|
|
"datatype": "string",
|
|
"defaultValue": "*",
|
|
"replaces": "UMBRACO_VERSION_FROM_TEMPLATE"
|
|
},
|
|
"SkipRestore": {
|
|
"displayName": "Skip restore",
|
|
"description": "If specified, skips the automatic restore of the project on create.",
|
|
"type": "parameter",
|
|
"datatype": "bool",
|
|
"defaultValue": "false"
|
|
},
|
|
"SupportPagesAndViews": {
|
|
"type": "parameter",
|
|
"datatype": "bool",
|
|
"defaultValue": "false",
|
|
"displayName": "Support pages and views",
|
|
"description": "Whether to support adding traditional Razor pages and Views to this library."
|
|
}
|
|
},
|
|
"primaryOutputs": [
|
|
{
|
|
"path": "UmbracoPackage.csproj"
|
|
}
|
|
],
|
|
"postActions": [
|
|
{
|
|
"id": "restore",
|
|
"condition": "(!SkipRestore)",
|
|
"description": "Restore NuGet packages required by this project.",
|
|
"manualInstructions": [
|
|
{
|
|
"text": "Run 'dotnet restore'"
|
|
}
|
|
],
|
|
"actionId": "210D431B-A78B-4D2F-B762-4ED3E3EA9025",
|
|
"continueOnError": true
|
|
}
|
|
]
|
|
}
|