From 36373b22f6295c7e04777248ba02159e6677b057 Mon Sep 17 00:00:00 2001 From: JasonTaylorDev Date: Sun, 1 Dec 2024 08:05:38 +1000 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=80=20Release=209.0.5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .template.config/template.json | 32 ++++++++++++++++---------------- CleanArchitecture.nuspec | 5 ++--- README.md | 6 +++--- 3 files changed, 21 insertions(+), 22 deletions(-) diff --git a/.template.config/template.json b/.template.config/template.json index d41366dc4..34a9eb2b6 100644 --- a/.template.config/template.json +++ b/.template.config/template.json @@ -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", @@ -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": [ diff --git a/CleanArchitecture.nuspec b/CleanArchitecture.nuspec index 6b135ac02..22c86ba52 100644 --- a/CleanArchitecture.nuspec +++ b/CleanArchitecture.nuspec @@ -3,7 +3,7 @@ Clean.Architecture.Solution.Template - 9.0.4 + 9.0.5 Clean Architecture Solution Template JasonTaylorDev Clean Architecture Solution Template for .NET 9. @@ -11,8 +11,7 @@ A Clean Architecture Solution Template for creating apps using Angular, React, or Web API only with ASP.NET Core. - 🐛 Fix Open API spec / client generation - 🧑‍💻 Tweak code for Sqlite option + ✨ Add support for PostgreSQL https://github.com/JasonTaylorDev/CleanArchitecture diff --git a/README.md b/README.md index c6bff1b0e..742187bfc 100644 --- a/README.md +++ b/README.md @@ -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: @@ -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.