-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor project structure and add package references
The commit includes several significant changes. The project structure has been altered, mainly renaming 'Models' to 'Entities' and reshuffling their dependencies in `ApiSolution.sln`. New package references have been added in multiple `Common.csproj` files. A pull request template file has also been introduced. Additionally, modifications have been made in several `Directory.Build.props` files and GitVersion configuration has been updated.
- Loading branch information
Gary Woodfine
committed
Jan 17, 2024
1 parent
c8184ab
commit e9e0189
Showing
12 changed files
with
51 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
## What type of PR is this? (check all applicable) | ||
|
||
- [ ] Refactor | ||
- [ ] Feature | ||
- [ ] Enhancement | ||
- [ ] Bug Fix | ||
- [ ] Optimization | ||
- [ ] Documentation Update | ||
|
||
## Overview: | ||
[comment]: # (Provide a brief outline and explanation of what this PR contains answering common questions i.e. Why is this change required? What problem does it solve? What prompted this change? How does it provide benefits? What would the benefits of the change be? ) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
mode: Mainline | ||
commit-message-incrementing: MergeMessageOnly | ||
branches: | ||
main: | ||
tag: '' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="8.0.0" /> | ||
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.0.0" /> | ||
</ItemGroup> | ||
|
||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,6 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
|
||
|
||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\Models\Models.csproj" /> | ||
<ProjectReference Include="..\Entities\Entities.csproj" /> | ||
</ItemGroup> | ||
|
||
</Project> |
10 changes: 1 addition & 9 deletions
10
src/Solution-MSSQL/src/Database/Database/Directory.Build.props
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,3 @@ | ||
<Project> | ||
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" /> | ||
<ItemGroup> | ||
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.1" /> | ||
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.1" /> | ||
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="8.0.1" /> | ||
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.1" /> | ||
<PackageReference Include="Threenine.Database.Configuration" Version="1.0.4" /> | ||
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="8.0.1" /> | ||
</ItemGroup> | ||
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))"/> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<Project> | ||
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))"/> | ||
<ItemGroup> | ||
<PackageReference Include="Threenine.Data" Version="5.0.1"/> | ||
<PackageReference Include="Threenine.Database.Configuration" Version="1.0.4"/> | ||
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.1"/> | ||
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.1"/> | ||
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="8.0.1"/> | ||
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.1"/> | ||
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="8.0.1"/> | ||
</ItemGroup> | ||
</Project> |
2 changes: 2 additions & 0 deletions
2
...L/src/Database/Models/Data/ApiSolution.cs → ...SSQL/src/Database/Entities/ApiSolution.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
namespace placeHolder; | ||
|
||
public class ApiSolution | ||
{ | ||
|
||
|
3 changes: 3 additions & 0 deletions
3
src/Solution-MSSQL/src/Database/Entities/Directory.Build.props
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<Project> | ||
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))"/> | ||
</Project> |
3 changes: 0 additions & 3 deletions
3
...n-MSSQL/src/Database/Models/Models.csproj → ...SQL/src/Database/Entities/Entities.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="8.0.0" /> | ||
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.0.0" /> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="8.0.0" /> | ||
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.0.0" /> | ||
</ItemGroup> | ||
|
||
|
||
</Project> |