From da6a7991e440347529308a634f876dbd0d9c9b0d Mon Sep 17 00:00:00 2001 From: Rico Huijbers Date: Tue, 20 Nov 2018 11:13:37 +0100 Subject: [PATCH] fix(cdk init): rename 'dotnet' to 'csharp' (#1210) The 'dotnet' template should more properly be called 'csharp', since that's the actual name of the language in which it is written. Fixes #1123. --- .../init-templates/app/{dotnet => csharp}/.template.gitignore | 0 .../aws-cdk/lib/init-templates/app/{dotnet => csharp}/README.md | 0 .../init-templates/app/{dotnet => csharp}/add-project.hook.ts | 0 .../aws-cdk/lib/init-templates/app/{dotnet => csharp}/cdk.json | 0 .../lib/init-templates/app/{dotnet => csharp}/src/HelloCdk.sln | 0 .../{dotnet => csharp}/src/HelloCdk/HelloCdk.template.csproj | 0 .../app/{dotnet => csharp}/src/HelloCdk/HelloConstruct.cs | 0 .../app/{dotnet => csharp}/src/HelloCdk/HelloStack.cs | 0 .../app/{dotnet => csharp}/src/HelloCdk/Program.cs | 0 packages/aws-cdk/tsconfig.json | 2 +- 10 files changed, 1 insertion(+), 1 deletion(-) rename packages/aws-cdk/lib/init-templates/app/{dotnet => csharp}/.template.gitignore (100%) rename packages/aws-cdk/lib/init-templates/app/{dotnet => csharp}/README.md (100%) rename packages/aws-cdk/lib/init-templates/app/{dotnet => csharp}/add-project.hook.ts (100%) rename packages/aws-cdk/lib/init-templates/app/{dotnet => csharp}/cdk.json (100%) rename packages/aws-cdk/lib/init-templates/app/{dotnet => csharp}/src/HelloCdk.sln (100%) rename packages/aws-cdk/lib/init-templates/app/{dotnet => csharp}/src/HelloCdk/HelloCdk.template.csproj (100%) rename packages/aws-cdk/lib/init-templates/app/{dotnet => csharp}/src/HelloCdk/HelloConstruct.cs (100%) rename packages/aws-cdk/lib/init-templates/app/{dotnet => csharp}/src/HelloCdk/HelloStack.cs (100%) rename packages/aws-cdk/lib/init-templates/app/{dotnet => csharp}/src/HelloCdk/Program.cs (100%) diff --git a/packages/aws-cdk/lib/init-templates/app/dotnet/.template.gitignore b/packages/aws-cdk/lib/init-templates/app/csharp/.template.gitignore similarity index 100% rename from packages/aws-cdk/lib/init-templates/app/dotnet/.template.gitignore rename to packages/aws-cdk/lib/init-templates/app/csharp/.template.gitignore diff --git a/packages/aws-cdk/lib/init-templates/app/dotnet/README.md b/packages/aws-cdk/lib/init-templates/app/csharp/README.md similarity index 100% rename from packages/aws-cdk/lib/init-templates/app/dotnet/README.md rename to packages/aws-cdk/lib/init-templates/app/csharp/README.md diff --git a/packages/aws-cdk/lib/init-templates/app/dotnet/add-project.hook.ts b/packages/aws-cdk/lib/init-templates/app/csharp/add-project.hook.ts similarity index 100% rename from packages/aws-cdk/lib/init-templates/app/dotnet/add-project.hook.ts rename to packages/aws-cdk/lib/init-templates/app/csharp/add-project.hook.ts diff --git a/packages/aws-cdk/lib/init-templates/app/dotnet/cdk.json b/packages/aws-cdk/lib/init-templates/app/csharp/cdk.json similarity index 100% rename from packages/aws-cdk/lib/init-templates/app/dotnet/cdk.json rename to packages/aws-cdk/lib/init-templates/app/csharp/cdk.json diff --git a/packages/aws-cdk/lib/init-templates/app/dotnet/src/HelloCdk.sln b/packages/aws-cdk/lib/init-templates/app/csharp/src/HelloCdk.sln similarity index 100% rename from packages/aws-cdk/lib/init-templates/app/dotnet/src/HelloCdk.sln rename to packages/aws-cdk/lib/init-templates/app/csharp/src/HelloCdk.sln diff --git a/packages/aws-cdk/lib/init-templates/app/dotnet/src/HelloCdk/HelloCdk.template.csproj b/packages/aws-cdk/lib/init-templates/app/csharp/src/HelloCdk/HelloCdk.template.csproj similarity index 100% rename from packages/aws-cdk/lib/init-templates/app/dotnet/src/HelloCdk/HelloCdk.template.csproj rename to packages/aws-cdk/lib/init-templates/app/csharp/src/HelloCdk/HelloCdk.template.csproj diff --git a/packages/aws-cdk/lib/init-templates/app/dotnet/src/HelloCdk/HelloConstruct.cs b/packages/aws-cdk/lib/init-templates/app/csharp/src/HelloCdk/HelloConstruct.cs similarity index 100% rename from packages/aws-cdk/lib/init-templates/app/dotnet/src/HelloCdk/HelloConstruct.cs rename to packages/aws-cdk/lib/init-templates/app/csharp/src/HelloCdk/HelloConstruct.cs diff --git a/packages/aws-cdk/lib/init-templates/app/dotnet/src/HelloCdk/HelloStack.cs b/packages/aws-cdk/lib/init-templates/app/csharp/src/HelloCdk/HelloStack.cs similarity index 100% rename from packages/aws-cdk/lib/init-templates/app/dotnet/src/HelloCdk/HelloStack.cs rename to packages/aws-cdk/lib/init-templates/app/csharp/src/HelloCdk/HelloStack.cs diff --git a/packages/aws-cdk/lib/init-templates/app/dotnet/src/HelloCdk/Program.cs b/packages/aws-cdk/lib/init-templates/app/csharp/src/HelloCdk/Program.cs similarity index 100% rename from packages/aws-cdk/lib/init-templates/app/dotnet/src/HelloCdk/Program.cs rename to packages/aws-cdk/lib/init-templates/app/csharp/src/HelloCdk/Program.cs diff --git a/packages/aws-cdk/tsconfig.json b/packages/aws-cdk/tsconfig.json index eefbfb550f683..d501742da728f 100644 --- a/packages/aws-cdk/tsconfig.json +++ b/packages/aws-cdk/tsconfig.json @@ -26,7 +26,7 @@ "lib/init-templates/**/*" ], "files": [ - "lib/init-templates/app/dotnet/add-project.hook.ts" + "lib/init-templates/app/csharp/add-project.hook.ts" ] }