Skip to content

Commit

Permalink
🚀 Release 9.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
jasontaylordev committed Nov 30, 2024
1 parent 1f5c60c commit 36373b2
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 22 deletions.
32 changes: 16 additions & 16 deletions .template.config/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,22 @@
"sourceName": "CleanArchitecture",
"preferNameDirectory": true,
"symbols": {
"caPackageVersion": {
"type": "generated",
"generator": "constant",
"replaces": "caPackageVersion",
"parameters": {
"value": "9.0.5"
}
},
"caRepositoryUrl": {
"type": "generated",
"generator": "constant",
"replaces": "caRepositoryUrl",
"parameters": {
"value": "https://github.com/jasontaylordev/CleanArchitecture"
}
},
"ClientFramework": {
"type": "parameter",
"datatype": "choice",
Expand Down Expand Up @@ -112,22 +128,6 @@
"UseSqlServer": {
"type": "computed",
"value": "(Database == \"sqlserver\")"
},
"caRepositoryUrl": {
"type": "generated",
"generator": "constant",
"replaces": "caRepositoryUrl",
"parameters": {
"value": "https://github.com/jasontaylordev/CleanArchitecture"
}
},
"caPackageVersion": {
"type": "generated",
"generator": "constant",
"replaces": "caPackageVersion",
"parameters": {
"value": "9.0.4"
}
}
},
"sources": [
Expand Down
5 changes: 2 additions & 3 deletions CleanArchitecture.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,15 @@
<metadata>

<id>Clean.Architecture.Solution.Template</id>
<version>9.0.4</version>
<version>9.0.5</version>
<title>Clean Architecture Solution Template</title>
<authors>JasonTaylorDev</authors>
<description>Clean Architecture Solution Template for .NET 9.</description>
<summary>
A Clean Architecture Solution Template for creating apps using Angular, React, or Web API only with ASP.NET Core.
</summary>
<releaseNotes>
🐛 Fix Open API spec / client generation
🧑‍💻 Tweak code for Sqlite option
✨ Add support for PostgreSQL
</releaseNotes>

<projectUrl>https://github.com/JasonTaylorDev/CleanArchitecture</projectUrl>
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ The following prerequisites are required to build and run the solution:

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::9.0.4
dotnet new install Clean.Architecture.Solution.Template::9.0.5
```

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 Expand Up @@ -69,10 +69,10 @@ dotnet new ca-usecase --help

## Database

The templates supports both SQL Server (default) and SQLite. Specify the database to use with the `--database` option:
The templates supports [PostgresSQL](https://www.postgresql.org), [SQLite](https://www.sqlite.org/), and [SQL Server](https://learn.microsoft.com/en-us/sql/sql-server/what-is-sql-server) (default option). Specify the database to use with the `--database` option:

```bash
dotnet new ca-sln --database [sqlite|sqlserver]
dotnet new ca-sln --database [postgresql|sqlite|sqlserver]
```

When you run the application the database will be automatically created (if necessary) and the latest migrations will be applied.
Expand Down

0 comments on commit 36373b2

Please sign in to comment.