* Update to .net 8 preview 1 * Update npoco to 5.7.0 * Update pipeline to use .net 8 * Revert "Update npoco to 5.7.0" This reverts commit f7795afa77a41ef2719f639405f73d9c21e4b12e. * Fix tests and updated OpenApi.json * use dotnet 8 in linux container * Updated templates and docker image to dotnet 8 * Bugfix * R Updated docker images to 8.0 preview 1 * linux docker images updated * Force use c# 11, in hope of the acceptance tests will pass * Do not use C# 8 :) * Update to preview 2 * CompatibilitySuppressions * updated templates * Disable package validation * Update to .net8 preview 4 * change EnableStrictModeForCompatibleFrameworksInPackage to false * Package validation * Added CompatibilitySuppressions.xml * Fix up IP networks * Updated to preview 5 * Update docker images * Post merge fixes * Try to update dotnet version of codeql * Delete empty suppression files * Remove dependency * Cleanup --------- Co-authored-by: Elitsa <elm@umbraco.dk>
109 lines
2.7 KiB
JSON
109 lines
2.7 KiB
JSON
{
|
|
"$schema": "https://json.schemastore.org/template.json",
|
|
"author": "Umbraco HQ",
|
|
"classifications": [
|
|
"Web",
|
|
"CMS",
|
|
"Umbraco",
|
|
"Package",
|
|
"Plugin"
|
|
],
|
|
"name": "Umbraco Package",
|
|
"description": "An empty Umbraco package/plugin project ready to get started.",
|
|
"groupIdentity": "Umbraco.Templates.UmbracoPackage",
|
|
"identity": "Umbraco.Templates.UmbracoPackage.CSharp",
|
|
"shortName": "umbracopackage",
|
|
"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"
|
|
},
|
|
"Namespace": {
|
|
"type": "derived",
|
|
"valueSource": "name",
|
|
"valueTransform": "safe_namespace",
|
|
"fileRename": "UmbracoPackage",
|
|
"replaces": "UmbracoPackage"
|
|
},
|
|
"MsBuildName": {
|
|
"type": "generated",
|
|
"generator": "regex",
|
|
"dataType": "string",
|
|
"parameters": {
|
|
"source": "name",
|
|
"steps": [
|
|
{
|
|
"regex": "\\s",
|
|
"replacement": ""
|
|
},
|
|
{
|
|
"regex": "\\.",
|
|
"replacement": ""
|
|
},
|
|
{
|
|
"regex": "-",
|
|
"replacement": ""
|
|
},
|
|
{
|
|
"regex": "^[^a-zA-Z_]+",
|
|
"replacement": ""
|
|
}
|
|
]
|
|
},
|
|
"replaces": "UmbracoPackageMsBuild"
|
|
}
|
|
},
|
|
"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
|
|
}
|
|
]
|
|
}
|