Skip to content

Commit

Permalink
修改模板短名,方便命令行创建
Browse files Browse the repository at this point in the history
  • Loading branch information
nnhy committed Oct 24, 2024
1 parent 32e6b4a commit b9cf15e
Show file tree
Hide file tree
Showing 18 changed files with 22 additions and 23 deletions.
4 changes: 2 additions & 2 deletions NewLife.Templates/AntJob/.template.config/template.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"$schema": "http://json.schemastore.org/template",
"author": "NewLife",
"classifications": [ "NewLife", "Console" ],
"classifications": [ "NewLife", "Console", "Job" ],
"name": "NewLife AntJob",
"identity": "NewLife.AntJob",
"shortName": "NewlifeAntJob",
"shortName": "antjob",
"tags": {
"language": "C#",
"type": "project"
Expand Down
4 changes: 2 additions & 2 deletions NewLife.Templates/Client/.template.config/template.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"$schema": "http://json.schemastore.org/template",
"author": "NewLife",
"classifications": [ "NewLife", "Console" ],
"classifications": [ "NewLife", "Console", "IoT" ],
"name": "NewLife Client",
"identity": "NewLife.Client",
"shortName": "NewlifeClient",
"shortName": "client",
"tags": {
"language": "C#",
"type": "project"
Expand Down
5 changes: 3 additions & 2 deletions NewLife.Templates/Console/.template.config/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
"classifications": [ "NewLife", "Common", "Console" ],
"name": "NewLife Console",
"description": "数据处理、定时任务、MQ生产消费、系统监控等超长独立工作的后台任务",
"identity": "NewLife.Console",
"shortName": "NewlifeConsole",
"identity": "NewLife.Console.2024",
"groupIdentity": "NewLife.Console",
"shortName": "nconsole",
"tags": {
"language": "C#",
"type": "project"
Expand Down
2 changes: 1 addition & 1 deletion NewLife.Templates/GtkForm/.template.config/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"classifications": [ "NewLife", "Desktop" ],
"name": "NewLife GtkForm",
"identity": "NewLife.GtkForm",
"shortName": "NewlifeGtkForm",
"shortName": "gtkform",
"tags": {
"language": "C#",
"type": "project"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"classifications": [ "NewLife", "Console" ],
"name": "NewLife HttpServer",
"identity": "NewLife.HttpServer",
"shortName": "NewlifeHttpServer",
"shortName": "http",
"tags": {
"language": "C#",
"type": "project"
Expand Down
2 changes: 1 addition & 1 deletion NewLife.Templates/NetServer/.template.config/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"classifications": [ "NewLife", "Console" ],
"name": "NewLife NetServer",
"identity": "NewLife.NetServer",
"shortName": "NewlifeNetServer",
"shortName": "net",
"tags": {
"language": "C#",
"type": "project"
Expand Down
2 changes: 1 addition & 1 deletion NewLife.Templates/RpcServer/.template.config/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"classifications": [ "NewLife", "Console" ],
"name": "NewLife RpcServer",
"identity": "NewLife.RpcServer",
"shortName": "NewlifeRpcServer",
"shortName": "rpc",
"tags": {
"language": "C#",
"type": "project"
Expand Down
2 changes: 1 addition & 1 deletion NewLife.Templates/Service/.template.config/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"classifications": [ "NewLife", "Console" ],
"name": "NewLife Service",
"identity": "NewLife.Service",
"shortName": "NewlifeService",
"shortName": "service",
"tags": {
"language": "C#",
"type": "project"
Expand Down
5 changes: 3 additions & 2 deletions NewLife.Templates/Web/.template.config/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
"classifications": [ "NewLife", "Common", "Web", "MVC" ],
"name": "NewLife Web",
"description": "零代数据管理平台,基于魔方,快速开发各种管理后台",
"identity": "NewLife.Web",
"shortName": "NewlifeWeb",
"identity": "NewLife.Web.2024",
"groupIdentity": "NewLife.Web",
"shortName": "cube",
"tags": {
"language": "C#",
"type": "project"
Expand Down
5 changes: 3 additions & 2 deletions NewLife.Templates/WebApi/.template.config/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
"classifications": [ "NewLife", "Common", "Web", "Api", "Web Api" ],
"name": "NewLife WebApi",
"description": "数据接口,带有Swagger的标准WebApi接口项目",
"identity": "NewLife.WebApi",
"shortName": "NewlifeWebApi",
"identity": "NewLife.WebApi.2024",
"groupIdentity": "NewLife.WebApi",
"shortName": "cubeapi",
"tags": {
"language": "C#",
"type": "project"
Expand Down
2 changes: 1 addition & 1 deletion NewLife.Templates/WebSocket/.template.config/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"classifications": [ "NewLife", "Console" ],
"name": "NewLife WebSocket",
"identity": "NewLife.WebSocket",
"shortName": "NewlifeWebSocket",
"shortName": "websocket",
"tags": {
"language": "C#",
"type": "project"
Expand Down
2 changes: 1 addition & 1 deletion NewLife.Templates/WebView/.template.config/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"classifications": [ "NewLife", "Windows", "WinForm", "Desktop" ],
"name": "NewLife WebView",
"identity": "NewLife.WebView",
"shortName": "NewlifeWebView",
"shortName": "webview",
"tags": {
"language": "C#",
"type": "project"
Expand Down
2 changes: 1 addition & 1 deletion NewLife.Templates/WinForm/.template.config/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"classifications": [ "NewLife", "Windows", "WinForm", "Desktop" ],
"name": "NewLife WinForm",
"identity": "NewLife.WinForm",
"shortName": "NewlifeWinForm",
"shortName": "nwinform",
"tags": {
"language": "C#",
"type": "project"
Expand Down
2 changes: 1 addition & 1 deletion NewLife.Templates/Worker/.template.config/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"classifications": [ "NewLife", "Worker" ],
"name": "NewLife Worker",
"identity": "NewLife.Worker",
"shortName": "NewlifeWorker",
"shortName": "nworker",
"tags": {
"language": "C#",
"type": "project"
Expand Down
1 change: 0 additions & 1 deletion Zero.Client/Zero.Client.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<AssemblyName>ZeroClient</AssemblyName>
<AssemblyTitle>客户端控制台</AssemblyTitle>
<Description>CS架构的客户端应用,以后台服务工作,一般由StarAgent负责守护</Description>
<Company>新生命开发团队</Company>
Expand Down
1 change: 0 additions & 1 deletion Zero.Desktop/Zero.Desktop.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net8.0-windows</TargetFramework>
<AssemblyName>ZeroDesktop</AssemblyName>
<AssemblyTitle>客户端桌面应用</AssemblyTitle>
<Description>CS架构的客户端桌面应用,给用户提供便捷操作,可对接硬件</Description>
<Company>新生命开发团队</Company>
Expand Down
1 change: 0 additions & 1 deletion Zero.GtkForm/Zero.GtkForm.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<AssemblyName>ZeroGtk</AssemblyName>
<AssemblyTitle>GTK桌面应用</AssemblyTitle>
<Description>使用GTK#技术的跨平台桌面应用,给用户提供便捷操作,可对接硬件</Description>
<Company>新生命开发团队</Company>
Expand Down
1 change: 0 additions & 1 deletion Zero.WebView/Zero.WebView.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net8.0-windows</TargetFramework>
<AssemblyName>ZeroWebView</AssemblyName>
<AssemblyTitle>Web桌面应用</AssemblyTitle>
<Description>嵌入Web的客户端桌面应用,给用户提供便捷操作,可对接硬件</Description>
<Company>新生命开发团队</Company>
Expand Down

0 comments on commit b9cf15e

Please sign in to comment.