Skip to content

Commit

Permalink
Merge pull request #1 from Kentico/feat/ecomm_common_library
Browse files Browse the repository at this point in the history
Ecommerce common standalone library
  • Loading branch information
martinfbluesoftcz authored Apr 30, 2024
2 parents d2a1a9a + 15adec6 commit 6f8660f
Show file tree
Hide file tree
Showing 22 changed files with 1,223 additions and 93 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -139,4 +139,4 @@ segments_2i
**/CMSModules/WebFarm/*

# Files Generated by this integration
**/App_Data/RepoTemplate/*
**/App_Data/Kentico.Xperience.Ecommerce.Common/*
4 changes: 2 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@
"editor.defaultFormatter": "ms-dotnettools.csharp"
},

"dotnet.defaultSolution": "Kentico.Xperience.RepoTemplate.sln",
"dotnet.defaultSolution": "Kentico.Xperience.Ecommerce.Common.sln",

"eslint.workingDirectories": [
"./src/Kentico.Xperience.RepoTemplate/Admin/Client"
"./src/Kentico.Xperience.Ecommerce.Common/Admin/Client"
],

"files.associations": {
Expand Down
20 changes: 10 additions & 10 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
{
"type": "npm",
"script": "install",
"path": "src/Kentico.Xperience.RepoTemplate/Admin/Client",
"path": "src/Kentico.Xperience.Ecommerce.Common/Admin/Client",
"group": "clean",
"problemMatcher": [],
"label": "npm: install - src/Kentico.Xperience.RepoTemplate/Admin/Client",
"label": "npm: install - src/Kentico.Xperience.Ecommerce.Common/Admin/Client",
"detail": "install dependencies from package"
},
{
Expand All @@ -24,7 +24,7 @@
"problemMatcher": ["$msCompile"],
"group": "none",
"options": {
"cwd": "${workspaceFolder}/src/Kentico.Xperience.RepoTemplate/"
"cwd": "${workspaceFolder}/src/Kentico.Xperience.Ecommerce.Common/"
},
"label": "dotnet: format"
},
Expand All @@ -38,27 +38,27 @@
{
"type": "npm",
"script": "build",
"path": "src/Kentico.Xperience.RepoTemplate/Admin/Client",
"path": "src/Kentico.Xperience.Ecommerce.Common/Admin/Client",
"group": "build",
"problemMatcher": [],
"label": "npm: build - src/Kentico.Xperience.RepoTemplate/Admin/Client",
"label": "npm: build - src/Kentico.Xperience.Ecommerce.Common/Admin/Client",
"detail": "webpack --mode=production"
},
{
"type": "npm",
"script": "build:dev",
"path": "src/Kentico.Xperience.RepoTemplate/Admin/Client",
"path": "src/Kentico.Xperience.Ecommerce.Common/Admin/Client",
"group": "build",
"problemMatcher": [],
"label": "npm: build:dev - src/Kentico.Xperience.RepoTemplate/Admin/Client",
"label": "npm: build:dev - src/Kentico.Xperience.Ecommerce.Common/Admin/Client",
"detail": "webpack --mode=development"
},
{
"type": "npm",
"script": "start",
"path": "src/Kentico.Xperience.RepoTemplate/Admin/Client",
"path": "src/Kentico.Xperience.Ecommerce.Common/Admin/Client",
"problemMatcher": [],
"label": "npm: start - src/Kentico.Xperience.RepoTemplate/Admin/Client",
"label": "npm: start - src/Kentico.Xperience.Ecommerce.Common/Admin/Client",
"detail": "webpack serve --mode development"
},
{
Expand All @@ -69,7 +69,7 @@
"watch",
"run",
"--project",
"${workspaceFolder}/src/Kentico.Xperience.RepoTemplate.Sample/DancingGoat.csproj"
"${workspaceFolder}/src/Kentico.Xperience.Ecommerce.Common.Sample/DancingGoat.csproj"
],
"options": {
"env": {
Expand Down
6 changes: 3 additions & 3 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
<VersionSuffix>prerelease-1</VersionSuffix>
<PackageLicenseExpression>MIT</PackageLicenseExpression>

<PackageProjectUrl>https://github.com/Kentico/REPOSITORY_NAME</PackageProjectUrl>
<PackageReleaseNotes>https://github.com/Kentico/REPOSITORY_NAME/releases</PackageReleaseNotes>
<PackageProjectUrl>https://github.com/Kentico/xperience-by-kentico-ecommerce-common</PackageProjectUrl>
<PackageReleaseNotes>https://github.com/Kentico/xperience-by-kentico-ecommerce-common/releases</PackageReleaseNotes>
<PackageIcon>logo.png</PackageIcon>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageTags>xperience;kentico;aspnetcore</PackageTags>
Expand All @@ -30,7 +30,7 @@
<CopyDocumentationFilesFromPackages>true</CopyDocumentationFilesFromPackages>
<CopyDebugSymbolFilesFromPackages>true</CopyDebugSymbolFilesFromPackages>
<NoWarn>$(NoWarn);1591</NoWarn>
<RootNamespace>Kentico.Xperience.RepoTemplate</RootNamespace>
<RootNamespace>Kentico.Xperience.Ecommerce.Common</RootNamespace>

<EnableDefaultEmbeddedResourceItems>false</EnableDefaultEmbeddedResourceItems>
<TimestampServerUrl>http://timestamp.digicert.com</TimestampServerUrl>
Expand Down
6 changes: 2 additions & 4 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@
<DisableImplicitNuGetFallbackFolder>true</DisableImplicitNuGetFallbackFolder>
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="Kentico.Xperience.Admin" Version="28.4.2" />
<PackageVersion Include="Kentico.Xperience.WebApp" Version="28.4.2" />
<PackageVersion Include="kentico.xperience.azurestorage" Version="28.4.2" />
<PackageVersion Include="kentico.xperience.imageprocessing" Version="28.4.2" />
<PackageVersion Include="Kentico.Xperience.Core" Version="28.2.1" />
<PackageVersion Include="Microsoft.Extensions.Http" Version="8.0.0" />
<PackageVersion Include="SonarAnalyzer.CSharp" Version="9.23.0.88079" />
</ItemGroup>
</Project>
49 changes: 49 additions & 0 deletions Kentico.Xperience.Ecommerce.Common.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.5.33516.290
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Kentico.Xperience.Ecommerce.Common", "src\Kentico.Xperience.Ecommerce.Common\Kentico.Xperience.Ecommerce.Common.csproj", "{0A775ADD-E5FB-4E81-ABF1-A7689476E788}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{22D98C99-36D2-4591-BF21-B29393898DDF}"
ProjectSection(SolutionItems) = preProject
.editorconfig = .editorconfig
.gitignore = .gitignore
.markdownlint.json = .markdownlint.json
LICENSE.md = LICENSE.md
README.md = README.md
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{12AA74B2-41DB-4CAD-AE3D-CB8188B5702B}"
ProjectSection(SolutionItems) = preProject
Directory.Build.props = Directory.Build.props
Directory.build.targets = Directory.build.targets
Directory.Packages.props = Directory.Packages.props
global.json = global.json
nuget.config = nuget.config
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "docs", "docs", "{0736A0CA-FC51-4306-AF0E-B28E810FDA32}"
ProjectSection(SolutionItems) = preProject
docs\Usage-Guide.md = docs\Usage-Guide.md
docs\Contributing-Setup.md = docs\Contributing-Setup.md
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{0A775ADD-E5FB-4E81-ABF1-A7689476E788}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0A775ADD-E5FB-4E81-ABF1-A7689476E788}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0A775ADD-E5FB-4E81-ABF1-A7689476E788}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0A775ADD-E5FB-4E81-ABF1-A7689476E788}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {1B2A20BC-F57B-4AAE-B1C2-E4DC52EFCAC5}
EndGlobalSection
EndGlobal
19 changes: 0 additions & 19 deletions Kentico.Xperience.RepoTemplate.sln

This file was deleted.

Loading

0 comments on commit 6f8660f

Please sign in to comment.