From 6e43f407217aba26d9e1a9a175a19910f17608b9 Mon Sep 17 00:00:00 2001 From: LukeParkerDev <10430890+Hona@users.noreply.github.com> Date: Tue, 14 May 2024 15:30:53 +1000 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20Remove=20Hona's=20Branding?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/meta-test.yml | 6 +++--- .github/workflows/package.yml | 2 +- .template.config/template.json | 8 ++++---- README.md | 15 +++++++++------ VerticalSliceArchitecture.nuspec | 8 ++++---- .../Features/.template.config/template.json | 8 ++++---- 6 files changed, 25 insertions(+), 22 deletions(-) diff --git a/.github/workflows/meta-test.yml b/.github/workflows/meta-test.yml index 9f1e907..ca5ab60 100644 --- a/.github/workflows/meta-test.yml +++ b/.github/workflows/meta-test.yml @@ -34,12 +34,12 @@ jobs: run: dotnet new install . # Tests that the template follows the parent structure - # Tests that the dotnet new command works 'hona-vsa' + # Tests that the dotnet new command works 'ssw-vsa' - name: Create new Project run: | mkdir -p ./temp/MyTestApp cd ./temp/MyTestApp - dotnet new hona-vsa + dotnet new ssw-vsa # Tests that a fresh project can be built (in debug mode) - name: Build fresh Project @@ -51,7 +51,7 @@ jobs: - name: Create new slice run: | cd ./temp/MyTestApp/src/MyTestApp/Features - dotnet new hona-vsa-slice -f Student + dotnet new ssw-vsa-slice -f Student # Tests that a fresh slice leaves the project in a buildable state - name: Build after a new slice diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index ed1238e..a6d18ab 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -37,7 +37,7 @@ jobs: git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" git config --global user.name "github-actions[bot]" git tag -m "CI: create new tag" ${{ steps.package_version.outputs.version }} - git push https://${{ github.token }}@github.com/Hona/VerticalSliceArchitecture + git push https://${{ github.token }}@github.com/SSWConsulting/VerticalSliceArchitecture - name: Create release uses: ncipollo/release-action@v1.14.0 diff --git a/.template.config/template.json b/.template.config/template.json index ab61d8a..7878d94 100644 --- a/.template.config/template.json +++ b/.template.config/template.json @@ -1,6 +1,6 @@ { "$schema": "http://json.schemastore.org/template", - "author": "Hona", + "author": "SSW Consulting", "classifications": [ ".NET", "Vertical Slice Architecture", @@ -10,9 +10,9 @@ ], "name": "Vertical Slice Architecture Solution", "description": "Creates a new Vertical Slice Architecture Solution", - "identity": "Hona.VerticalSliceArchitecture.Solution.CSharp", - "groupIdentity": "Hona.VerticalSliceArchitecture.Solution", - "shortName": "hona-vsa", + "identity": "SSW.VerticalSliceArchitecture.Solution.CSharp", + "groupIdentity": "SSW.VerticalSliceArchitecture.Solution", + "shortName": "ssw-vsa", "tags": { "language": "C#", "type": "project" diff --git a/README.md b/README.md index 47bd376..e09d338 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,11 @@ -[![VerticalSliceArchitecture Template Banner](https://raw.githubusercontent.com/Hona/VerticalSliceArchitecture/main/docs/banner.png)](https://github.com/Hona/VerticalSliceArchitecture) +[![SSW Banner](https://raw.githubusercontent.com/SSWConsulting/SSW.Rules.Content/main/_docs/images/ssw-banner.png)](https://github.com/SSWConsulting/VerticalSliceArchitecture) # 🤔 What is it? -A small but opinionated Vertical Slice Architecture solution template for .NET 8 +An enterprise ready solution template for Vertical Slice Architecture. +This template is just one way to apply the Vertical Slice Architecture. + +Read more on [SSW Rules to Better Vertical Slice Architecture](https://www.ssw.com.au/rules/rules-to-better-vertical-slice-architecture/) ## Learn @@ -16,7 +19,7 @@ A small but opinionated Vertical Slice Architecture solution template for .NET 8 To install the template from NuGet.org run the following command: ```bash -dotnet new install Hona.VerticalSliceArchitecture.Template +dotnet new install SSW.VerticalSliceArchitecture.Template ``` Then create a new solution: @@ -25,7 +28,7 @@ Then create a new solution: mkdir Sprout cd Sprout -dotnet new hona-vsa +dotnet new ssw-vsa ``` Finally, to update the template to the latest version run: @@ -39,7 +42,7 @@ dotnet new update To speed up development there is a `dotnet new` template to create a full Vertical Slice. ```bash -dotnet new hona-vsa-slice -f Student +dotnet new ssw-vsa-slice -f Student ``` `-f` or `--feature` where the feature name is the **singular** name of the feature. @@ -48,7 +51,7 @@ Of course, there are always exceptions where appending an 's' is not enough. For For this, use the optional parameter: ```bash -dotnet new hona-vsa-slice -f Person -fp People +dotnet new ssw-vsa-slice -f Person -fp People ``` optional: `-fp` or `--feature-plural` where the feature name is the **plural** name of the feature. diff --git a/VerticalSliceArchitecture.nuspec b/VerticalSliceArchitecture.nuspec index f04b018..3f6e05e 100644 --- a/VerticalSliceArchitecture.nuspec +++ b/VerticalSliceArchitecture.nuspec @@ -2,10 +2,10 @@ - Hona.VerticalSliceArchitecture.Template + SSW.VerticalSliceArchitecture.Template 0.8.0 Vertical Slice Architecture Template - Hona + SSW Consulting Vertical Slice Architecture template using ASP.NET Core This template is a way to get up and running using VSA in ASP.NET Core and C#. It is using Fast Endpoints as well as EF Core. @@ -30,8 +30,8 @@ README.md - https://github.com/Hona/VerticalSliceArchitecture - + https://github.com/SSWConsulting/VerticalSliceArchitecture + MIT false diff --git a/src/VerticalSliceArchitectureTemplate/Features/.template.config/template.json b/src/VerticalSliceArchitectureTemplate/Features/.template.config/template.json index e6b8cc7..17d885b 100644 --- a/src/VerticalSliceArchitectureTemplate/Features/.template.config/template.json +++ b/src/VerticalSliceArchitectureTemplate/Features/.template.config/template.json @@ -1,6 +1,6 @@ { "$schema": "http://json.schemastore.org/template", - "author": "Hona", + "author": "SSW Consulting", "classifications": [ ".NET", "Vertical Slice Architecture", @@ -10,9 +10,9 @@ ], "name": "Vertical Slice", "description": "Create a new full vertical slice", - "identity": "Hona.VerticalSliceArchitecture.Slice.CSharp", - "groupIdentity": "Hona.VerticalSliceArchitecture.Slice", - "shortName": "hona-vsa-slice", + "identity": "SSW.VerticalSliceArchitecture.Slice.CSharp", + "groupIdentity": "SSW.VerticalSliceArchitecture.Slice", + "shortName": "ssw-vsa-slice", "tags": { "language": "C#", "type": "item"