Skip to content

Commit

Permalink
Enable central package floating versions and update Kentico NuGets to…
Browse files Browse the repository at this point in the history
… latest version
  • Loading branch information
martinkyjac committed Oct 23, 2024
1 parent 78ab8d3 commit b118b71
Show file tree
Hide file tree
Showing 9 changed files with 817 additions and 820 deletions.
11 changes: 6 additions & 5 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,17 @@
<CentralPackageVersionOverrideEnabled>false</CentralPackageVersionOverrideEnabled>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
<DisableImplicitNuGetFallbackFolder>true</DisableImplicitNuGetFallbackFolder>
<CentralPackageFloatingVersionsEnabled>true</CentralPackageFloatingVersionsEnabled>
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="GraphQL" Version="7.8.0" />
<PackageVersion Include="GraphQL.Client" Version="6.0.2" />
<PackageVersion Include="GraphQL.Client.Serializer.Newtonsoft" Version="6.0.2" />
<PackageVersion Include="Kentico.Xperience.Admin" Version="29.5.3" />
<PackageVersion Include="Kentico.Xperience.WebApp" Version="29.5.3" />
<PackageVersion Include="kentico.xperience.azurestorage" Version="29.5.3" />
<PackageVersion Include="kentico.xperience.imageprocessing" Version="29.5.3" />
<PackageVersion Include="Kentico.Xperience.Core" Version="29.5.3" />
<PackageVersion Include="Kentico.Xperience.Admin" Version="*" />
<PackageVersion Include="Kentico.Xperience.WebApp" Version="*" />
<PackageVersion Include="kentico.xperience.azurestorage" Version="*" />
<PackageVersion Include="kentico.xperience.imageprocessing" Version="*" />
<PackageVersion Include="Kentico.Xperience.Core" Version="*" />
<PackageVersion Include="Moq.AutoMock" Version="3.5.0" />
<PackageVersion Include="ShopifySharp" Version="6.17.0" />
<PackageVersion Include="ShopifySharp.Extensions.DependencyInjection" Version="1.6.0" />
Expand Down
5 changes: 5 additions & 0 deletions examples/DancingGoat-Shopify/DancingGoat.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,9 @@
<ProjectReference Include="..\..\src\Kentico.Xperience.Shopify.Rcl\Kentico.Xperience.Shopify.Rcl.csproj" />
<ProjectReference Include="..\..\src\Kentico.Xperience.Shopify\Kentico.Xperience.Shopify.csproj" />
</ItemGroup>

<Target Name="UpgradeXbK" AfterTargets="Rebuild">
<Exec Command="dotnet run --no-build -- --kxp-update --skip-confirmation" />
<Exec Command="dotnet run --no-build -- --kxp-codegen --type ReusableContentTypes --namespace Shopify --location ../../src/Kentico.Xperience.Shopify/{type}/{dataClassNamespace}/{name}/ --skip-confirmation --include Shopify.*" />
</Target>
</Project>
359 changes: 178 additions & 181 deletions examples/DancingGoat-Shopify/packages.lock.json

Large diffs are not rendered by default.

288 changes: 143 additions & 145 deletions src/Kentico.Xperience.Shopify.Rcl/packages.lock.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,54 +1,54 @@
//--------------------------------------------------------------------------------------------------
// <auto-generated>
//
// This code was generated by code generator tool.
//
// To customize the code use your own partial class. For more info about how to use and customize
// the generated code see the documentation at https://docs.xperience.io/.
//
// </auto-generated>
//--------------------------------------------------------------------------------------------------

using System;
using System.Collections.Generic;
using CMS.ContentEngine;

namespace Shopify
{
/// <summary>
/// Represents a content item of type <see cref="Image"/>.
/// </summary>
[RegisterContentTypeMapping(CONTENT_TYPE_NAME)]
public partial class Image : IContentItemFieldsSource
{
/// <summary>
/// Code name of the content type.
/// </summary>
public const string CONTENT_TYPE_NAME = "Shopify.Image";


/// <summary>
/// Represents system properties for a content item.
/// </summary>
[SystemField]
public ContentItemFields SystemFields { get; set; }


/// <summary>
/// ImageAsset.
/// </summary>
public ContentItemAsset ImageAsset { get; set; }


/// <summary>
/// ImageDescription.
/// </summary>
public string ImageDescription { get; set; }


/// <summary>
/// ShopifyImageID.
/// </summary>
public string ShopifyImageID { get; set; }
}
//--------------------------------------------------------------------------------------------------
// <auto-generated>
//
// This code was generated by code generator tool.
//
// To customize the code use your own partial class. For more info about how to use and customize
// the generated code see the documentation at https://docs.xperience.io/.
//
// </auto-generated>
//--------------------------------------------------------------------------------------------------

using System;
using System.Collections.Generic;
using CMS.ContentEngine;

namespace Shopify
{
/// <summary>
/// Represents a content item of type <see cref="Image"/>.
/// </summary>
[RegisterContentTypeMapping(CONTENT_TYPE_NAME)]
public partial class Image : IContentItemFieldsSource
{
/// <summary>
/// Code name of the content type.
/// </summary>
public const string CONTENT_TYPE_NAME = "Shopify.Image";


/// <summary>
/// Represents system properties for a content item.
/// </summary>
[SystemField]
public ContentItemFields SystemFields { get; set; }


/// <summary>
/// ImageAsset.
/// </summary>
public ContentItemAsset ImageAsset { get; set; }


/// <summary>
/// ImageDescription.
/// </summary>
public string ImageDescription { get; set; }


/// <summary>
/// ShopifyImageID.
/// </summary>
public string ShopifyImageID { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -1,72 +1,72 @@
//--------------------------------------------------------------------------------------------------
// <auto-generated>
//
// This code was generated by code generator tool.
//
// To customize the code use your own partial class. For more info about how to use and customize
// the generated code see the documentation at https://docs.xperience.io/.
//
// </auto-generated>
//--------------------------------------------------------------------------------------------------

using System;
using System.Collections.Generic;
using CMS.ContentEngine;

namespace Shopify
{
/// <summary>
/// Represents a content item of type <see cref="Product"/>.
/// </summary>
[RegisterContentTypeMapping(CONTENT_TYPE_NAME)]
public partial class Product : IContentItemFieldsSource
{
/// <summary>
/// Code name of the content type.
/// </summary>
public const string CONTENT_TYPE_NAME = "Shopify.Product";


/// <summary>
/// Represents system properties for a content item.
/// </summary>
[SystemField]
public ContentItemFields SystemFields { get; set; }


/// <summary>
/// Title.
/// </summary>
public string Title { get; set; }


/// <summary>
/// Description.
/// </summary>
public string Description { get; set; }


/// <summary>
/// ShopifyProductID.
/// </summary>
public string ShopifyProductID { get; set; }


/// <summary>
/// Images.
/// </summary>
public IEnumerable<Image> Images { get; set; }


/// <summary>
/// Variants.
/// </summary>
public IEnumerable<ProductVariant> Variants { get; set; }


/// <summary>
/// Parameters.
/// </summary>
public string Parameters { get; set; }
}
//--------------------------------------------------------------------------------------------------
// <auto-generated>
//
// This code was generated by code generator tool.
//
// To customize the code use your own partial class. For more info about how to use and customize
// the generated code see the documentation at https://docs.xperience.io/.
//
// </auto-generated>
//--------------------------------------------------------------------------------------------------

using System;
using System.Collections.Generic;
using CMS.ContentEngine;

namespace Shopify
{
/// <summary>
/// Represents a content item of type <see cref="Product"/>.
/// </summary>
[RegisterContentTypeMapping(CONTENT_TYPE_NAME)]
public partial class Product : IContentItemFieldsSource
{
/// <summary>
/// Code name of the content type.
/// </summary>
public const string CONTENT_TYPE_NAME = "Shopify.Product";


/// <summary>
/// Represents system properties for a content item.
/// </summary>
[SystemField]
public ContentItemFields SystemFields { get; set; }


/// <summary>
/// Title.
/// </summary>
public string Title { get; set; }


/// <summary>
/// Description.
/// </summary>
public string Description { get; set; }


/// <summary>
/// ShopifyProductID.
/// </summary>
public string ShopifyProductID { get; set; }


/// <summary>
/// Images.
/// </summary>
public IEnumerable<Image> Images { get; set; }


/// <summary>
/// Variants.
/// </summary>
public IEnumerable<ProductVariant> Variants { get; set; }


/// <summary>
/// Parameters.
/// </summary>
public string Parameters { get; set; }
}
}
Loading

0 comments on commit b118b71

Please sign in to comment.