Skip to content

Commit

Permalink
Merge pull request #102 from Lombiq/issue/OSOE-392
Browse files Browse the repository at this point in the history
OSOE-392: Upgrade to Orchard Core 1.5 in Helpful-Extensions
  • Loading branch information
Piedone authored Dec 6, 2022
2 parents 82f70d3 + bdca42d commit 97055ba
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
</ItemGroup>

<ItemGroup Condition="'$(NuGetBuild)' == 'true'">
<PackageReference Include="Lombiq.Tests.UI" Version="4.0.2-alpha.0.osoe-412" />
<PackageReference Include="Lombiq.Tests.UI" Version="5.0.0" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace Lombiq.HelpfulExtensions.Extensions.ContentTypes;
[Feature(FeatureIds.ContentTypes)]
public class Startup : StartupBase
{
public override void ConfigureServices(IServiceCollection services) => services.AddScoped<IDataMigration, Migrations>();
public override void ConfigureServices(IServiceCollection services) => services.AddDataMigration<Migrations>();

public override void Configure(IApplicationBuilder app, IEndpointRouteBuilder routes, IServiceProvider serviceProvider)
{
Expand Down
4 changes: 2 additions & 2 deletions Lombiq.HelpfulExtensions/Extensions/SiteTexts/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ public class Startup : StartupBase
{
public override void ConfigureServices(IServiceCollection services)
{
services.AddScoped<IDataMigration, SiteTextMigrations>();
services.AddScoped<IDataMigration, LocalizationMigrations>();
services.AddDataMigration<SiteTextMigrations>();
services.AddDataMigration<LocalizationMigrations>();
services.AddScoped<ISiteTextService, SiteTextService>();
}
}
Expand Down
2 changes: 1 addition & 1 deletion Lombiq.HelpfulExtensions/Extensions/Widgets/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace Lombiq.HelpfulExtensions.Extensions.Widgets;
public class Startup : StartupBase
{
public override void ConfigureServices(IServiceCollection services) =>
services.AddScoped<IDataMigration, Migrations>();
services.AddDataMigration<Migrations>();

public override void Configure(IApplicationBuilder app, IEndpointRouteBuilder routes, IServiceProvider serviceProvider)
{
Expand Down
16 changes: 8 additions & 8 deletions Lombiq.HelpfulExtensions/Lombiq.HelpfulExtensions.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,21 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="OrchardCore.Autoroute" Version="1.4.0" />
<PackageReference Include="OrchardCore.Contents" Version="1.4.0" />
<PackageReference Include="OrchardCore.Flows" Version="1.4.0" />
<PackageReference Include="OrchardCore.Html" Version="1.4.0" />
<PackageReference Include="OrchardCore.Markdown" Version="1.4.0" />
<PackageReference Include="OrchardCore.MetaWeblog.Abstractions" Version="1.4.0" />
<PackageReference Include="OrchardCore.Module.Targets" Version="1.4.0" />
<PackageReference Include="OrchardCore.Autoroute" Version="1.5.0" />
<PackageReference Include="OrchardCore.Contents" Version="1.5.0" />
<PackageReference Include="OrchardCore.Flows" Version="1.5.0" />
<PackageReference Include="OrchardCore.Html" Version="1.5.0" />
<PackageReference Include="OrchardCore.Markdown" Version="1.5.0" />
<PackageReference Include="OrchardCore.MetaWeblog.Abstractions" Version="1.5.0" />
<PackageReference Include="OrchardCore.Module.Targets" Version="1.5.0" />
</ItemGroup>

<ItemGroup Condition="'$(NuGetBuild)' != 'true'">
<ProjectReference Include="..\..\..\Libraries\Lombiq.HelpfulLibraries\Lombiq.HelpfulLibraries.OrchardCore\Lombiq.HelpfulLibraries.OrchardCore.csproj" />
</ItemGroup>

<ItemGroup Condition="'$(NuGetBuild)' == 'true'">
<PackageReference Include="Lombiq.HelpfulLibraries.OrchardCore" Version="4.7.0" />
<PackageReference Include="Lombiq.HelpfulLibraries.OrchardCore" Version="5.0.0" />
</ItemGroup>

</Project>

0 comments on commit 97055ba

Please sign in to comment.