Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial starterkit creation #1

Merged
merged 41 commits into from
Aug 27, 2024
Merged
Show file tree
Hide file tree
Changes from 36 commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
b950126
Initial commit of assets required for starter
robearlam Jul 12, 2024
d402cf2
Added missing env var, and docker definition, added rendering scs item
robearlam Jul 12, 2024
ef4f744
Updated init to avoid possible docker warnings with generated secrets
robearlam Jul 12, 2024
b269963
Updated to bring docker in-line with other starter kit content
robearlam Aug 1, 2024
44beadb
Added aspnetcore proj and excluded from xmc build
robearlam Aug 5, 2024
b9ff30d
Initial stubbing out of starterkit middleware includes and related as…
robearlam Aug 5, 2024
90b708f
Added PageEditing middleware, DefaultController, NotFoundComponent
robearlam Aug 5, 2024
1aed9dd
Created Title Component, bumped SDK version
robearlam Aug 6, 2024
6e233ba
Added base component styling
robearlam Aug 6, 2024
e5e2d94
Created Container Component, added scss assets and related compilatio…
robearlam Aug 8, 2024
f1809fd
Updated styling for Title Component
robearlam Aug 8, 2024
1df80a4
Created ColumnSplitter Component
robearlam Aug 8, 2024
84e1bc4
Bumped SDK version, fixed nuget.config issue
robearlam Aug 9, 2024
44c9af4
Created RowSplitter component, updated ColumnSplitter
robearlam Aug 9, 2024
1889dc9
Created PageContent component
robearlam Aug 9, 2024
82c65dd
Created RichText Component, fixed styles for PageContent Component
robearlam Aug 12, 2024
e8f744c
Created Promo Component
robearlam Aug 12, 2024
c99666d
Updated localContainers folder to local-conatiner, and root .gitignore
robearlam Aug 13, 2024
21ad555
Added Rendering Variant for Promo Component
robearlam Aug 13, 2024
b412528
Created LinkedList Component
robearlam Aug 13, 2024
6961473
Created Image Component
robearlam Aug 13, 2024
4a34cee
Moved serialisation item under the authoring role
robearlam Aug 15, 2024
c85a056
Initial scaffolding for head conatiner
robearlam Aug 16, 2024
f5b1b90
Removed need for local SDK packages
robearlam Aug 19, 2024
92e1ccf
Head container connecting succesfully to CM
robearlam Aug 19, 2024
e1cb382
Updated RenderingHost definition to enable local EE
robearlam Aug 20, 2024
55af2d4
Updated containers readme, pushed site name to .env
robearlam Aug 20, 2024
9e1d512
Added License, CoC and Issue Templates
robearlam Aug 20, 2024
f429810
Added logic to handle exclude 404 errors for initial editing request
robearlam Aug 20, 2024
19429c9
Create initial readme steps to run the head locally connected to XMC …
robearlam Aug 20, 2024
53107ac
Updated README
robearlam Aug 20, 2024
71d6651
Updated README
robearlam Aug 20, 2024
7d51d2f
Updated README
robearlam Aug 20, 2024
9925828
Created PartialDesignDynamicPlaceholder Component
robearlam Aug 20, 2024
c69e038
Updated component styling issues
robearlam Aug 20, 2024
66f0e5c
Updated README
robearlam Aug 21, 2024
6e9a496
Fixed style choice alignments
robearlam Aug 22, 2024
909df40
Initial changes requested in PR
robearlam Aug 26, 2024
84cfe98
Further changes from PR
robearlam Aug 26, 2024
709d481
Changes from PR Comments
robearlam Aug 27, 2024
11fecb4
Changed to file-scoped namespaces
robearlam Aug 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"version": 1,
"isRoot": true,
"tools": {
"sitecore.cli": {
"version": "5.2.113",
"commands": [
"sitecore"
]
}
}
}
21 changes: 21 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# folders
.git
.gitignore
.vs
.config
.sitecore
build
docker
packages
**/bin/
**/obj/
**/coverage/

# files
*Dockerfile
docker-compose*
**/*.md
*.ps1
**/*.yml
**/*.module.json
sitecore.json
42 changes: 42 additions & 0 deletions .github/ISSUE_TEMPLATE/Bug Report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Bug Report
description: File a bug report.
labels: ["bug"]
body:
- type: textarea
id: what-happened
attributes:
label: What happened?
value: |
Description


Reproduction Steps
1. Open
2. Execute

Actual Behavior

Expected Behavior
validations:
required: true

- type: textarea
id: logs
attributes:
label: Relevant log output
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
render: shell

- type: checkboxes
id: terms
attributes:
label: Code of Conduct
description: By submitting this issue, you agree to follow our [Code of Conduct](CODE_OF_CONDUCT.md).
options:
- label: I agree to follow this project's Code of Conduct
required: true

- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
24 changes: 24 additions & 0 deletions .github/ISSUE_TEMPLATE/Feature Request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Feature Request
description: Request a new feature.
labels: ["enhancement"]
body:
- type: textarea
id: feature
attributes:
label: What would you add to the Starter Kit?
validations:
required: true

- type: checkboxes
id: terms
attributes:
label: Code of Conduct
description: By submitting this feature, you agree to follow our [Code of Conduct](CODE_OF_CONDUCT.md).
options:
- label: I agree to follow this project's Code of Conduct
required: true

- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this feature request!
18 changes: 18 additions & 0 deletions .github/ISSUE_TEMPLATE/Question.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Question
description: Ask any question about the project.
body:
- type: textarea
id: question
attributes:
label: What is your question?
validations:
required: true

- type: checkboxes
id: terms
attributes:
label: Code of Conduct
description: By submitting this question, you agree to follow our [Code of Conduct](CODE_OF_CONDUCT.md).
options:
- label: I agree to follow this project's Code of Conduct
required: true
45 changes: 45 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# may contain OAuth secrets, do not commit
.sitecore/user.json

# NuGet cache for Sitecore CLI
.sitecore/package-cache/

# Ephemeral index caches used by serialization, do not commit
.scindex

# Don't commit packages
*.itempackage
*.sicpackage

#Ignore thumbnails created by Windows
Thumbs.db
#Ignore files built by Visual Studio
*.obj
*.exe
*.pdb
*.user
*.aps
*.pch
*.vspscc
*_i.c
*_p.c
*.ncb
*.suo
*.tlb
*.tlh
*.bak
*.cache
*.ilk
*.log
[Bb]in
[Dd]ebug*/
*.lib
*.sbr
obj/
[Rr]elease*/
_ReSharper*/
[Tt]est[Rr]esult*
.vs/

#Nuget packages folder
packages/
42 changes: 42 additions & 0 deletions .sitecore/schemas/ModuleFile.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "ModuleFile",
"description": "Sitecore module definition file schema",
"allOf": [
{
"title": "ModuleConfiguration",
"type": "object",
"description": "Defines a \"DevEx Module\" that is a Helix-like module that can contain serialized item configurations, etc.\nThis class is overridden with Serialization-specific derived versions that provide access to their module-specific settings.",
"additionalProperties": {},
"required": [
"namespace"
],
"properties": {
"$schema": {
"type": "string"
},
"namespace": {
"type": "string",
"description": "The namespace of the module. All resources in the module inherit this namespace.\nNamespaces can contain letters, numbers, dots (.), and hyphens (-).",
"minLength": 1,
"pattern": "^[A-Za-z0-9\\.\\-\\$\\{\\}\\(\\)]+$"
},
"description": {
"type": "string",
"description": "Description of the module, for reference/docs purposes only"
},
"references": {
"type": "array",
"description": "Names of other modules that are referenced by resources in this module. Wildcards are allowed, i.e. Foundation.*.",
"items": {
"type": "string"
}
},
"source": {
"type": "string",
"description": "Generic identifier as to where the module came from. Used internally for error messaging. Do not set in a module file; it will be ignored."
}
}
}
]
}
126 changes: 126 additions & 0 deletions .sitecore/schemas/RootConfigurationFile.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "RootConfigurationFile",
"type": "object",
"description": "Defines the root Sitecore Developer Configuration file",
"additionalProperties": false,
"required": [
"modules"
],
"properties": {
"$schema": {
"type": "string"
},
"modules": {
"type": "array",
"description": "Sitecore module file resolution globs",
"minItems": 1,
"items": {
"type": "string"
}
},
"plugins": {
"type": "array",
"description": "Contains a list of Sitecore Plugin NugetPackages. The format of the name is [NugetPackageName]@[NugetPackageVersion]. These entries are normally managed using\nthe 'Sitecore Plugin Add' and 'Sitecore Plugin Remove' commands",
"items": {
"type": "string"
}
},
"serialization": {
"description": "Global item serialization default settings",
"oneOf": [
{
"$ref": "#/definitions/SerializationRootConfiguration"
}
]
},
"settings": {
"description": "Cli settings",
"oneOf": [
{
"$ref": "#/definitions/Settings"
}
]
}
},
"definitions": {
"SerializationRootConfiguration": {
"type": "object",
"additionalProperties": false,
"properties": {
"defaultMaxRelativeItemPathLength": {
"type": "integer",
"description": "Max relative item path length to serialize before considering path too long (and requiring aliasing to shorten).\nOverridable on a per-module basis; this is the default when it is unspecified.",
"format": "int32",
"default": 120
},
"defaultModuleRelativeSerializationPath": {
"type": "string",
"description": "The default relative physical path from a module file where serialized items for that module will be stored.\nFor example given module /c/foo/bar.module.json, and default '/serialization/items' path,\nthe serialized items for bar would be stored at /c/foo/bar/serialization/items.\nPrefix the path with ~/ for a root configuration relative path instead of a module-relative path.\nUse '$(module)' to insert the module name when using a root relative path.\nOverridable on a per-module basis; this is the default when it is unspecified.",
"default": "serialization"
},
"removeOrphansForRoles": {
"type": "boolean",
"description": "Specifies remove orphans functionality for roles serialization",
"default": true
},
"removeOrphansForUsers": {
"type": "boolean",
"description": "Specifies remove orphans functionality for users serialization",
"default": true
},
"continueOnItemFailure": {
"type": "boolean",
"description": "Specifies behavior when item synchronization fails",
"default": false
},
"excludedFields": {
"type": "array",
"description": "Configure base fields filter",
"items": {
"$ref": "#/definitions/FieldFilter"
}
}
}
},
"FieldFilter": {
"type": "object",
"additionalProperties": false,
"properties": {
"fieldId": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"Settings": {
"type": "object",
"additionalProperties": false,
"properties": {
"telemetryEnabled": {
"type": "boolean",
"description": "Determines if telemetry is enabled in cli.",
"default": true
},
"cacheAuthenticationToken": {
"type": "boolean",
"description": "Determines if CLI should cache authentication token.",
"default": true
},
"versionComparisonEnabled": {
"type": "boolean",
"description": "Determines if CLI\\SMS version comparison is enabled.",
"default": true
},
"apiClientTimeoutInMinutes": {
"type": "integer",
"description": "Determines timeout for Sitecore Api client.",
"format": "int32",
"default": 5
}
}
}
}
}
Loading