Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug fixes #948

Merged
merged 3 commits into from
Jul 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 4 additions & 2 deletions .template.config/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
},
{
Expand All @@ -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",
Expand Down
6 changes: 3 additions & 3 deletions CleanArchitecture.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
<metadata>

<id>Clean.Architecture.Solution.Template</id>
<version>8.0.0-preview.6.9</version>
<version>8.0.0-preview.6.10</version>
<title>Clean Architecture Solution Template</title>
<authors>JasonTaylorDev</authors>
<description>Clean Architecture Solution Template for .NET 8.</description>
<summary>
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.
</summary>
<releaseNotes>
Improved implementation of web exception handling.
General improvements and bug fixes.
</releaseNotes>

<projectUrl>https://github.com/JasonTaylorDev/CleanArchitecture</projectUrl>
Expand Down
4 changes: 2 additions & 2 deletions README-template.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Loading