Skip to content

Commit

Permalink
bs init example project
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielJurcaBS committed Feb 22, 2024
1 parent cf54755 commit bfcfcd0
Show file tree
Hide file tree
Showing 258 changed files with 27,488 additions and 55 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/Zapier/*
6 changes: 3 additions & 3 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/src/Kentico.Xperience.RepoTemplate.Sample/bin/Debug/net6.0/DancingGoat.dll",
"program": "${workspaceFolder}/src/Kentico.Xperience.Zapier.Sample/bin/Debug/net6.0/DancingGoat.dll",
"args": [],
"cwd": "${workspaceFolder}/src/Kentico.Xperience.RepoTemplate.Sample",
"cwd": "${workspaceFolder}/src/Kentico.Xperience.Zapier.Sample",
"stopAtEntry": false,
"serverReadyAction": {
"action": "openExternally",
Expand All @@ -30,4 +30,4 @@
"request": "attach"
}
]
}
}
13 changes: 3 additions & 10 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,35 +11,28 @@
"**/obj": true,
"**/packages.lock.json": true
},

"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},

"[markdown]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},

"[xml]": {
"editor.defaultFormatter": "DotJoshJohnson.xml"
},

"[csharp]": {
"editor.defaultFormatter": "ms-dotnettools.csharp"
},

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

"dotnet.defaultSolution": "Kentico.Xperience.Zapier.sln",
"eslint.workingDirectories": [
"./src/Kentico.Xperience.RepoTemplate/Admin/Client"
"./src/Kentico.Xperience.Zapier/Admin/Client"
],
"[aspnetcorerazor]": {
"editor.defaultFormatter": "ms-dotnettools.csharp"
},

"files.associations": {
".azuredevops/**/*.yml": "azure-pipelines"
}
}
}
38 changes: 23 additions & 15 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,61 +4,69 @@
{
"type": "npm",
"script": "install",
"path": "src/Kentico.Xperience.RepoTemplate/Admin/Client",
"path": "src/Kentico.Xperience.Zapier/Admin/Client",
"group": "clean",
"problemMatcher": [],
"label": "npm: install - src/Kentico.Xperience.RepoTemplate/Admin/Client",
"label": "npm: install - src/Kentico.Xperience.Zapier/Admin/Client",
"detail": "install dependencies from package"
},
{
"type": "dotnet",
"task": "build",
"problemMatcher": ["$msCompile"],
"problemMatcher": [
"$msCompile"
],
"group": "build",
"label": "dotnet: build"
},
{
"type": "shell",
"command": "dotnet",
"args": ["format"],
"problemMatcher": ["$msCompile"],
"args": [
"format"
],
"problemMatcher": [
"$msCompile"
],
"group": "none",
"options": {
"cwd": "${workspaceFolder}/src/Kentico.Xperience.RepoTemplate/"
"cwd": "${workspaceFolder}/src/Kentico.Xperience.Zapier/"
},
"label": "dotnet: format"
},
{
"type": "dotnet",
"task": "clean",
"problemMatcher": ["$msCompile"],
"problemMatcher": [
"$msCompile"
],
"group": "clean",
"label": "dotnet: clean"
},
{
"type": "npm",
"script": "build",
"path": "src/Kentico.Xperience.RepoTemplate/Admin/Client",
"path": "src/Kentico.Xperience.Zapier/Admin/Client",
"group": "build",
"problemMatcher": [],
"label": "npm: build - src/Kentico.Xperience.RepoTemplate/Admin/Client",
"label": "npm: build - src/Kentico.Xperience.Zapier/Admin/Client",
"detail": "webpack --mode=production"
},
{
"type": "npm",
"script": "build:dev",
"path": "src/Kentico.Xperience.RepoTemplate/Admin/Client",
"path": "src/Kentico.Xperience.Zapier/Admin/Client",
"group": "build",
"problemMatcher": [],
"label": "npm: build:dev - src/Kentico.Xperience.RepoTemplate/Admin/Client",
"label": "npm: build:dev - src/Kentico.Xperience.Zapier/Admin/Client",
"detail": "webpack --mode=development"
},
{
"type": "npm",
"script": "start",
"path": "src/Kentico.Xperience.RepoTemplate/Admin/Client",
"path": "src/Kentico.Xperience.Zapier/Admin/Client",
"problemMatcher": [],
"label": "npm: start - src/Kentico.Xperience.RepoTemplate/Admin/Client",
"label": "npm: start - src/Kentico.Xperience.Zapier/Admin/Client",
"detail": "webpack serve --mode development"
},
{
Expand All @@ -69,7 +77,7 @@
"watch",
"run",
"--project",
"${workspaceFolder}/src/Kentico.Xperience.RepoTemplate.Sample/DancingGoat.csproj"
"${workspaceFolder}/src/Kentico.Xperience.Zapier.Sample/DancingGoat.csproj"
],
"options": {
"env": {
Expand All @@ -79,4 +87,4 @@
"problemMatcher": "$msCompile"
}
]
}
}
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-Zapier</PackageProjectUrl>
<PackageReleaseNotes>https://github.com/Kentico/Xperience-by-Kentico-Zapier/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.Zapier</RootNamespace>

<EnableDefaultEmbeddedResourceItems>false</EnableDefaultEmbeddedResourceItems>
</PropertyGroup>
Expand Down
19 changes: 0 additions & 19 deletions Kentico.Xperience.RepoTemplate.sln

This file was deleted.

34 changes: 34 additions & 0 deletions Kentico.Xperience.Zapier.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.5.33516.290
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{A94EE676-9ABE-44EA-BF9E-22004E9D54C9}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{CFBE190C-6BF0-4F9A-A01B-70CC9B3BED8A}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "examples", "examples", "{A639C482-C69C-49F8-ADA5-09D68AF6FEE9}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DancingGoat", "examples\DancingGoat\DancingGoat.csproj", "{D54B0FFF-6BB8-4EB1-8357-699AD761FAEF}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{D54B0FFF-6BB8-4EB1-8357-699AD761FAEF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D54B0FFF-6BB8-4EB1-8357-699AD761FAEF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D54B0FFF-6BB8-4EB1-8357-699AD761FAEF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D54B0FFF-6BB8-4EB1-8357-699AD761FAEF}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{D54B0FFF-6BB8-4EB1-8357-699AD761FAEF} = {A639C482-C69C-49F8-ADA5-09D68AF6FEE9}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {1B2A20BC-F57B-4AAE-B1C2-E4DC52EFCAC5}
EndGlobalSection
EndGlobal
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ---Package Name---
# Kentico.Xperience.Zapier

---Select the correct badge for the support policy and update the GitHub Action pipeline badge to point to this repository (replace `repo-template`)---

Expand Down
6 changes: 3 additions & 3 deletions docs/Contributing-Setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The requirements to setup, develop, and build this project are listed below.

### .NET Runtime

.NET SDK 7.0 or newer
.NET SDK 8.0 or newer

- <https://dotnet.microsoft.com/en-us/download/dotnet/8.0>
- See `global.json` file for specific SDK requirements
Expand Down Expand Up @@ -53,7 +53,7 @@ To run the Sample app Admin customization in development mode, add the following

```json
"CMSAdminClientModuleSettings": {
"kentico-xperience-integrations-repotemplate": {
"kentico-xperience-integrations-zapier": {
"Mode": "Proxy",
"Port": 3009
}
Expand All @@ -68,7 +68,7 @@ To run the Sample app Admin customization in development mode, add the following
- `refactor/` - for restructuring of existing features
- `fix/` - for bugfixes

1. Run `dotnet format` against the `src/Kentico.Xperience.RepoTemplate` project
1. Run `dotnet format` against the `src/Kentico.Xperience.Zapier` project

> use `dotnet: format` VS Code task.
Expand Down
14 changes: 14 additions & 0 deletions examples/DancingGoat/.config/dotnet-tools.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"version": 1,
"isRoot": true,
"tools": {
"kentico.xperience.dbmanager": {
"version": "28.1.0",
"commands": [
"kentico-xperience-dbmanager"
]
}
}
}


Loading

0 comments on commit bfcfcd0

Please sign in to comment.