Skip to content

Commit 7ef1411

Browse files
committed
Feat: Add CodeOfChaos.Extensions.AspNetCore.Components project
Added a new project for broadly used AspNetCore Component extensions. Included unit test project and integrated it into the solution and release workflow. Updated dependencies and solution structure to accommodate the new project.
1 parent 175c8d3 commit 7ef1411

File tree

11 files changed

+77
-0
lines changed

11 files changed

+77
-0
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
run: |
3535
dotnet nuget push src/CodeOfChaos.Extensions/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source https://api.nuget.org/v3/index.json --skip-duplicate
3636
dotnet nuget push src/CodeOfChaos.Extensions.AspNetCore/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source https://api.nuget.org/v3/index.json --skip-duplicate
37+
dotnet nuget push src/CodeOfChaos.Extensions.AspNetCore.Components/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source https://api.nuget.org/v3/index.json --skip-duplicate
3738
dotnet nuget push src/CodeOfChaos.Extensions.EntityFrameworkCore/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source https://api.nuget.org/v3/index.json --skip-duplicate
3839
dotnet nuget push src/CodeOfChaos.Extensions.MicrosoftLogging/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source https://api.nuget.org/v3/index.json --skip-duplicate
3940
dotnet nuget push src/CodeOfChaos.Extensions.Serilog/bin/Release/*.nupkg --api-key $NUGET_API_KEY --source https://api.nuget.org/v3/index.json --skip-duplicate

CodeOfChaos.Extensions.sln

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeOfChaos.Extensions.Obje
5050
EndProject
5151
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests.CodeOfChaos.Extensions.ObjectPool", "tests\Tests.CodeOfChaos.Extensions.ObjectPool\Tests.CodeOfChaos.Extensions.ObjectPool.csproj", "{6BC1F7E4-353E-4A45-8343-C93097636B5F}"
5252
EndProject
53+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeOfChaos.Extensions.AspNetCore.Components", "src\CodeOfChaos.Extensions.AspNetCore.Components\CodeOfChaos.Extensions.AspNetCore.Components.csproj", "{C5C64661-887A-4E19-93EB-F9D5765C635B}"
54+
EndProject
55+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests.CodeOfChaos.Extensions.AspNetCore.Components", "tests\Tests.CodeOfChaos.Extensions.AspNetCore.Components\Tests.CodeOfChaos.Extensions.AspNetCore.Components.csproj", "{0B45A069-2FF5-4BD0-BC53-CB63FE29E781}"
56+
EndProject
5357
Global
5458
GlobalSection(SolutionConfigurationPlatforms) = preSolution
5559
Debug|Any CPU = Debug|Any CPU
@@ -140,6 +144,14 @@ Global
140144
{6BC1F7E4-353E-4A45-8343-C93097636B5F}.Debug|Any CPU.Build.0 = Debug|Any CPU
141145
{6BC1F7E4-353E-4A45-8343-C93097636B5F}.Release|Any CPU.ActiveCfg = Release|Any CPU
142146
{6BC1F7E4-353E-4A45-8343-C93097636B5F}.Release|Any CPU.Build.0 = Release|Any CPU
147+
{C5C64661-887A-4E19-93EB-F9D5765C635B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
148+
{C5C64661-887A-4E19-93EB-F9D5765C635B}.Debug|Any CPU.Build.0 = Debug|Any CPU
149+
{C5C64661-887A-4E19-93EB-F9D5765C635B}.Release|Any CPU.ActiveCfg = Release|Any CPU
150+
{C5C64661-887A-4E19-93EB-F9D5765C635B}.Release|Any CPU.Build.0 = Release|Any CPU
151+
{0B45A069-2FF5-4BD0-BC53-CB63FE29E781}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
152+
{0B45A069-2FF5-4BD0-BC53-CB63FE29E781}.Debug|Any CPU.Build.0 = Debug|Any CPU
153+
{0B45A069-2FF5-4BD0-BC53-CB63FE29E781}.Release|Any CPU.ActiveCfg = Release|Any CPU
154+
{0B45A069-2FF5-4BD0-BC53-CB63FE29E781}.Release|Any CPU.Build.0 = Release|Any CPU
143155
EndGlobalSection
144156
GlobalSection(NestedProjects) = preSolution
145157
{26284571-0E09-4BAF-8C2B-DF87DCC1BA0B} = {8DD280D4-1E14-4D5E-AFE6-58DD8F079DCC}
@@ -163,5 +175,7 @@ Global
163175
{6BC1F7E4-353E-4A45-8343-C93097636B5F} = {8DD280D4-1E14-4D5E-AFE6-58DD8F079DCC}
164176
{9FC9F294-BDB7-4479-B002-F0409E050A1E} = {197E72AD-DEAB-4350-AFC3-A3BB38720BF5}
165177
{E9BB7403-5167-46CA-BE84-F420CF28C910} = {197E72AD-DEAB-4350-AFC3-A3BB38720BF5}
178+
{C5C64661-887A-4E19-93EB-F9D5765C635B} = {197E72AD-DEAB-4350-AFC3-A3BB38720BF5}
179+
{0B45A069-2FF5-4BD0-BC53-CB63FE29E781} = {8DD280D4-1E14-4D5E-AFE6-58DD8F079DCC}
166180
EndGlobalSection
167181
EndGlobal
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFramework>net9.0</TargetFramework>
5+
<LangVersion>latest</LangVersion>
6+
<ImplicitUsings>enable</ImplicitUsings>
7+
<Nullable>enable</Nullable>
8+
9+
<!-- Main package name -->
10+
<PackageId>CodeOfChaos.Extensions.AspNetCore.Components</PackageId>
11+
<Version>0.70.0</Version>
12+
<Authors>Anna Sas</Authors>
13+
<Description>A Library of broadly used extensions for AspNetCore Components</Description>
14+
<PackageProjectUrl>https://github.com/code-of-chaos/cs-code_of_chaos-extensions</PackageProjectUrl>
15+
<PackageTags>extensions AspNetCore</PackageTags>
16+
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
17+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
18+
<IncludeSymbols>true</IncludeSymbols>
19+
<DebugType>embedded</DebugType>
20+
<PackageLicenseFile>LICENSE</PackageLicenseFile>
21+
<PackageReadmeFile>README.md</PackageReadmeFile>
22+
<PackageIcon>icon.png</PackageIcon>
23+
</PropertyGroup>
24+
25+
<ItemGroup>
26+
<None Include="..\..\LICENSE" Pack="true" PackagePath="" Visible="false" />
27+
<None Include="README.md" Pack="true" PackagePath="" />
28+
<None Include="../../assets/icon.png" Pack="true" PackagePath="" Visible="false" />
29+
</ItemGroup>
30+
31+
<ItemGroup>
32+
<PackageReference Include="Microsoft.AspNetCore.Components" Version="9.0.7" />
33+
</ItemGroup>
34+
35+
</Project>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# ⛓️‍💥 CodeOfChaos.Extensions.AspNetCore.Components ⛓️‍💥

src/Tools.CodeOfChaos.Extensions/Program.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ public static async Task Main(string[] args) {
2525
"CodeOfChaos.Extensions",
2626
"CodeOfChaos.Extensions.EntityFrameworkCore",
2727
"CodeOfChaos.Extensions.AspNetCore",
28+
"CodeOfChaos.Extensions.AspNetCore.Components",
2829
"CodeOfChaos.Extensions.Serilog",
2930
"CodeOfChaos.Extensions.Analyzers",
3031
"CodeOfChaos.Extensions.MicrosoftLogging",

0 commit comments

Comments
 (0)