Skip to content

Commit d8971fe

Browse files
author
Jean de BAROCHEZ
committed
Add files to pack into a dotnet templates
1 parent 88db363 commit d8971fe

File tree

2 files changed

+61
-0
lines changed

2 files changed

+61
-0
lines changed

.template.config/template.json

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"$schema": "http://json.schemastore.org/template",
3+
"author": "SoftwareAteliers",
4+
"classifications": ["Web", "SPA", "Vue.js"],
5+
"identity": "SoftwareAteliers.AspNetCoreVueStarter",
6+
"name": ".NET Core Vue.js",
7+
"shortName": "vue",
8+
"sourceName": "AspNetCoreVueStarter",
9+
"preferNameDirectory": false,
10+
"primaryOutputs": [{ "path": "AspNetCoreVueStarter.csproj" }],
11+
"sources": [
12+
{
13+
"source": "./",
14+
"target": "./",
15+
"exclude": [".template.config/**"]
16+
}
17+
],
18+
"symbols": {
19+
"skipBuild": {
20+
"type": "parameter",
21+
"datatype": "bool",
22+
"description": "If specified, skips the automatic build of the project on create.",
23+
"defaultValue": "false"
24+
}
25+
},
26+
"postActions": [
27+
{
28+
"condition": "(!skipBuild)",
29+
"description": "Restore, then build this project.",
30+
"manualInstructions": [
31+
{
32+
"text": "Run 'dotnet build'"
33+
}
34+
],
35+
"actionId": "210D431B-A78B-4D2F-B762-4ED3E3EA9025",
36+
"continueOnError": true
37+
}
38+
]
39+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
3+
<metadata>
4+
<id>SoftwareAteliers.AspNetCoreVueStarter</id>
5+
<version>1.0.0</version>
6+
<description>
7+
ASP.NET Core + Vue.js starter project
8+
</description>
9+
<authors>SoftwareAteliers</authors>
10+
<projectUrl>https://github.com/SoftwareAteliers/asp-net-core-vue-starter</projectUrl>
11+
<licenseUrl>https://github.com/SoftwareAteliers/asp-net-core-vue-starter/blob/master/content/LICENSE</licenseUrl>
12+
<packageTypes>
13+
<packageType name="Template" />
14+
</packageTypes>
15+
</metadata>
16+
<files>
17+
<file
18+
src="**"
19+
exclude="**/node_modules/**;**/bin/**;**/obj/**;**/.vs/**;**/.vscode/**;**/ClientApp/dist/**;**/wwwroot/dist/**;content/Directory.Build.*;**/.git/**"
20+
target="Content" />
21+
</files>
22+
</package>

0 commit comments

Comments
 (0)