diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 30156d472..54d519e5e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,6 +33,15 @@ jobs: restore-keys: | ${{ runner.os }}-nuget- + #if (!UseApiOnly) + - name: Install Node & cache npm packages + uses: actions/setup-node@v3 + with: + node-version: '18.x' + cache: 'npm' + cache-dependency-path: src/Web/ClientApp/package-lock.json + #endif + - name: Install .NET uses: actions/setup-dotnet@v3 diff --git a/.template.config/template.json b/.template.config/template.json index 768f96bcb..47b4fe017 100644 --- a/.template.config/template.json +++ b/.template.config/template.json @@ -84,7 +84,8 @@ "src/Web/Endpoints/Users.cs", "src/Web/Templates/**", "src/Web/config-react.nswag", - "src/Web/config-webapi.nswag" + "src/Web/config-webapi.nswag", + "src/Web/Web-webapi.http" ] }, { @@ -93,7 +94,8 @@ "src/Web/ClientApp/**", "src/Web/Endpoints/Users.cs", "src/Web/config.nswag", - "src/Web/config-webapi.nswag" + "src/Web/config-webapi.nswag", + "src/Web/Web-webapi.http" ], "rename": { "config-react.nswag": "config.nswag", diff --git a/CleanArchitecture.nuspec b/CleanArchitecture.nuspec index 91d54c2ea..e34721a80 100644 --- a/CleanArchitecture.nuspec +++ b/CleanArchitecture.nuspec @@ -3,15 +3,15 @@ Clean.Architecture.Solution.Template - 8.0.0-preview.6.9 + 8.0.0-preview.6.10 Clean Architecture Solution Template JasonTaylorDev Clean Architecture Solution Template for .NET 8. - A Clean Architecture Solution Template for creating a Single-Page Application (SPA) with ASP.NET Core. + A Clean Architecture Solution Template for creating apps using Angular, React, or Web API only with ASP.NET Core. - Improved implementation of web exception handling. + General improvements and bug fixes. https://github.com/JasonTaylorDev/CleanArchitecture diff --git a/README-template.md b/README-template.md index ccc912a9f..89f7b8991 100644 --- a/README-template.md +++ b/README-template.md @@ -1,6 +1,6 @@ # CleanArchitecture -The project was generated using the [Clean.Architecture.Solution.Template](https://github.com/jasontaylordev/CleanArchitecture) version 8.0.0-preview.6.9. +The project was generated using the [Clean.Architecture.Solution.Template](https://github.com/jasontaylordev/CleanArchitecture) version 8.0.0-preview.6.10. ## Build @@ -38,7 +38,7 @@ dotnet new ca-usecase -n GetTodos -fn TodoLists -ut query -rt TodosVm If you encounter the error *"No templates or subcommands found matching: 'ca-usecase'."*, install the template and try again: ```bash -dotnet new install Clean.Architecture.Solution.Template::8.0.0-preview.6.9 +dotnet new install Clean.Architecture.Solution.Template::8.0.0-preview.6.10 ``` ## Test diff --git a/README.md b/README.md index e3e4358e5..80616a71b 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ If you find this project useful, please give it a star. Thanks! ⭐ The easiest way to get started is to install the [.NET template](https://www.nuget.org/packages/Clean.Architecture.Solution.Template): ``` -dotnet new install Clean.Architecture.Solution.Template::8.0.0-preview.6.9 +dotnet new install Clean.Architecture.Solution.Template::8.0.0-preview.6.10 ``` Once installed, create a new solution using the template. You can choose to use Angular, React, or create a Web API-only solution. Specify the client framework using the `-cf` or `--client-framework` option, and provide the output directory where your project will be created. Here are some examples: