Skip to content

Commit

Permalink
build: upgrade packages
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmet-cetinkaya committed Feb 7, 2024
1 parent edf5058 commit 2e7c53a
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/corePackages/Core.CodeGen/Core.CodeGen.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="PluralizeService.Core" Version="1.2.21147.2" />
<PackageReference Include="Scriban" Version="5.5.2" />
<PackageReference Include="Scriban" Version="5.9.1" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.0.0" />
</ItemGroup>
<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/corePackages/Core.ConsoleUI/Core.ConsoleUI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Spectre.Console.Cli" Version="0.46.0" />
<PackageReference Include="Spectre.Console.Cli" Version="0.48.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" />
</ItemGroup>
</Project>
3 changes: 1 addition & 2 deletions src/nArchGen/Application/Application.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="MediatR" Version="11.1.0" />
<PackageReference Include="MediatR.Extensions.Microsoft.DependencyInjection" Version="11.0.0" />
<PackageReference Include="MediatR" Version="12.2.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.0.0" />
</ItemGroup>
<ItemGroup>
Expand Down
7 changes: 3 additions & 4 deletions src/nArchGen/Application/ApplicationServiceRegistration.cs
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
using System.Reflection;
using Application.Features.Generate.Rules;
using Application.Features.Generate.Rules;
using Core.CodeGen.TemplateEngine;
using Core.CodeGen.TemplateEngine.Scriban;
using MediatR;
using Microsoft.Extensions.DependencyInjection;
using System.Reflection;

namespace Application;

public static class ApplicationServiceRegistration
{
public static IServiceCollection AddApplicationServices(this IServiceCollection services)
{
services.AddMediatR(Assembly.GetExecutingAssembly());
services.AddMediatR(config => config.RegisterServicesFromAssembly(Assembly.GetExecutingAssembly()));

services.AddSingleton<ITemplateRenderer, ScribanTemplateRenderer>();
services.AddSingleton<ITemplateEngine, TemplateEngine>();
Expand Down
6 changes: 3 additions & 3 deletions src/nArchGen/ConsoleUI/ConsoleUI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
<AssemblyName>nArchGen</AssemblyName>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="MediatR" Version="11.1.0" />
<PackageReference Include="Spectre.Console" Version="0.46.0" />
<PackageReference Include="Spectre.Console.Cli" Version="0.46.0" />
<PackageReference Include="MediatR" Version="12.2.0" />
<PackageReference Include="Spectre.Console" Version="0.48.0" />
<PackageReference Include="Spectre.Console.Cli" Version="0.48.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" />
</ItemGroup>
<ItemGroup>
Expand Down

0 comments on commit 2e7c53a

Please sign in to comment.