137 lines
3.4 KiB
JSON
137 lines
3.4 KiB
JSON
{
|
|
"author": "Microsoft",
|
|
"classifications": [
|
|
"Web",
|
|
"MVC",
|
|
"SPA"
|
|
],
|
|
"groupIdentity": "Microsoft.DotNet.Web.Spa.ProjectTemplates.Angular",
|
|
"identity": "Microsoft.DotNet.Web.Spa.ProjectTemplates.Angular.CSharp.2.1",
|
|
"name": "ASP.NET Core with Angular",
|
|
"preferNameDirectory": true,
|
|
"primaryOutputs": [
|
|
{
|
|
"path": "AngularSpa.csproj"
|
|
}
|
|
],
|
|
"shortName": "angular",
|
|
"sourceName": "AngularSpa",
|
|
"sources": [
|
|
{
|
|
"source": "./",
|
|
"target": "./",
|
|
"exclude": [
|
|
".template.config/**"
|
|
],
|
|
"modifiers": [
|
|
{
|
|
"condition": "(TargetFrameworkOverride == '')",
|
|
"exclude": [
|
|
"app.config"
|
|
]
|
|
},
|
|
{
|
|
"condition": "(ExcludeLaunchSettings)",
|
|
"exclude": [
|
|
"Properties/launchSettings.json"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"symbols": {
|
|
"ExcludeLaunchSettings": {
|
|
"type": "parameter",
|
|
"datatype": "bool",
|
|
"defaultValue": "false",
|
|
"description": "Whether to exclude launchSettings.json from the generated template."
|
|
},
|
|
"HttpPort": {
|
|
"type": "parameter",
|
|
"datatype": "integer",
|
|
"description": "Port number to use for the HTTP endpoint in launchSettings.json."
|
|
},
|
|
"HttpPortGenerated": {
|
|
"type": "generated",
|
|
"generator": "port"
|
|
},
|
|
"HttpPortReplacer": {
|
|
"type": "generated",
|
|
"generator": "coalesce",
|
|
"parameters": {
|
|
"sourceVariableName": "HttpPort",
|
|
"fallbackVariableName": "HttpPortGenerated"
|
|
},
|
|
"replaces": "8080"
|
|
},
|
|
"HttpsPort": {
|
|
"type": "parameter",
|
|
"datatype": "integer",
|
|
"description": "Port number to use for the HTTPS endpoint in launchSettings.json."
|
|
},
|
|
"HttpsPortGenerated": {
|
|
"type": "generated",
|
|
"generator": "port",
|
|
"parameters": {
|
|
"low": 44300,
|
|
"high": 44399
|
|
}
|
|
},
|
|
"HttpsPortReplacer": {
|
|
"type": "generated",
|
|
"generator": "coalesce",
|
|
"parameters": {
|
|
"sourceVariableName": "HttpsPort",
|
|
"fallbackVariableName": "HttpsPortGenerated"
|
|
},
|
|
"replaces": "44300"
|
|
},
|
|
"TargetFrameworkOverride": {
|
|
"type": "parameter",
|
|
"description": "Overrides the target framework",
|
|
"replaces": "TargetFrameworkOverride",
|
|
"datatype": "string",
|
|
"defaultValue": ""
|
|
},
|
|
"Framework": {
|
|
"type": "parameter",
|
|
"description": "The target framework for the project.",
|
|
"datatype": "choice",
|
|
"choices": [
|
|
{
|
|
"choice": "netcoreapp2.1",
|
|
"description": "Target netcoreapp2.1"
|
|
}
|
|
],
|
|
"replaces": "netcoreapp2.1",
|
|
"defaultValue": "netcoreapp2.1"
|
|
},
|
|
"HostIdentifier": {
|
|
"type": "bind",
|
|
"binding": "HostIdentifier"
|
|
},
|
|
"skipRestore": {
|
|
"type": "parameter",
|
|
"datatype": "bool",
|
|
"description": "If specified, skips the automatic restore of the project on create.",
|
|
"defaultValue": "false"
|
|
}
|
|
},
|
|
"tags": {
|
|
"language": "C#",
|
|
"type": "project"
|
|
},
|
|
"postActions": [
|
|
{
|
|
"condition": "(!skipRestore)",
|
|
"description": "Restore NuGet packages required by this project.",
|
|
"manualInstructions": [
|
|
{
|
|
"text": "Run 'dotnet restore'"
|
|
}
|
|
],
|
|
"actionId": "210D431B-A78B-4D2F-B762-4ED3E3EA9025",
|
|
"continueOnError": true
|
|
}
|
|
]
|
|
} |