Last active
November 17, 2023 05:10
-
-
Save robconery/6182bcdc532a54b2f47b2e969a05cfcc to your computer and use it in GitHub Desktop.
.NET Template JSON
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"nuget": { | |
"prefix": "nuget", | |
"body": [ | |
"\t<PropertyGroup>\t\t", | |
"\t\t<PackageId>$1</PackageId>", | |
"\t\t<PackageVersion>1.0</PackageVersion>", | |
"\t\t<Title>$2</Title>", | |
"\t\t<Authors>Rob Conery</Authors>", | |
"\t\t<Description>$3</Description>", | |
"\t\t<PackageTags>dotnet;</PackageTags>", | |
"\t\t<PackageProjectUrl>$4</PackageProjectUrl>", | |
"", | |
"\t\t<PackageType>Template</PackageType>", | |
"\t\t<TargetFramework>netstandard2.0</TargetFramework>\t\t", | |
"\t\t<IncludeContentInPack>true</IncludeContentInPack>", | |
"\t\t<IncludeBuildOutput>false</IncludeBuildOutput>", | |
"\t\t<ContentTargetFolders>content</ContentTargetFolders>", | |
"\t\t<NoWarn>\\$(NoWarn);NU5128</NoWarn>", | |
"\t\t<NoDefaultExcludes>true</NoDefaultExcludes>", | |
"\t</PropertyGroup>", | |
"", | |
"\t<ItemGroup>", | |
"\t\t<Content Include=\"templates\\**\\*\" Exclude=\"templates\\**\\bin\\**;templates\\**\\obj\\**\" />", | |
"\t\t<Compile Remove=\"**\\*\" />", | |
"\t</ItemGroup>" | |
], | |
"description": "Nuget package spec" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"template": { | |
"prefix": "template", | |
"body": [ | |
"{", | |
"\t\"\\$schema\": \"http://json.schemastore.org/template\",", | |
"\t\"author\": \"Rob Conery\",", | |
"\t\"defaultName\" : \"$1\",", | |
"\t\"repository\": {", | |
"\t\t\"url\": \"https://github.com/$2\",", | |
"\t\t\"type\": \"GitHub\"", | |
"\t},", | |
"\t\"projectURL\": \"https://github.com/$2\",", | |
"\t\"releaseNotes\": \"$3\",", | |
"\t\"classifications\": [ \"Web\", \"Application\" ],", | |
"\t\"identity\": \"$4\",", | |
"\t\"name\": \"$5\",", | |
"\t\"shortName\": \"$6\",", | |
"\t\"sourceName\":\"$4\",", | |
"\t\"tags\": {", | |
"\t\t\"language\": \"C#\",", | |
"\t\t\"type\": \"project\"", | |
"\t},", | |
"\t\"preferNameDirectory\":true", | |
"}" | |
], | |
"description": "JSON template" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment