Merge branch 'master' into links
All checks were successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/push/next Pipeline was successful
ci/woodpecker/push/master Pipeline was successful
ci/woodpecker/pr/master Pipeline was successful
ci/woodpecker/pr/next Pipeline was successful

This commit is contained in:
OCram85 2022-09-13 14:40:11 +02:00
commit 033dd067b6
9 changed files with 156 additions and 190 deletions

10
.gitea/ISSUE_TEMPLATE.md Normal file
View File

@ -0,0 +1,10 @@
---
name: 'Default'
about: 'Use this template if nothing seems to work.'
title: ':question: '
labels:
- question
---
#### :grey_question: Simply ask your question here: :grey_question:
<!-- Take your time an think about your problem.... -->

View File

@ -0,0 +1,48 @@
---
name: 'Bug'
about: 'This template is used to report bugs!'
title: ':lady_beetle: '
labels:
- bug
---
<!--
This bug report is ony for content provided in this repository!
- Make sure you're able to reproduce the error in the latest version of this package.
- Search of already existing issues.
- Refer to the known issues and FAQ section.
-->
#### :bomb: Steps to reproduce
```bash
```
#### :rocket: Expected behavior
```bash
```
#### :boom: Actual behavior
```bash
```
#### :notebook: Environment data
<!-- You can add additional environment data here--->
```bash
```
#### :framed_picture: Screenshots
<!-- Paste your screenshots here. -->
#### :bookmark: Refs
<!-- A place for additional references to other issues and PRs -->

View File

@ -0,0 +1,16 @@
---
name: 'Enhancement'
about: 'Wite about new features.'
title: ':flying_saucer: '
labels:
- issue/enhancement
---
<!-- This issue template is used to describe whished features. -->
#### :satellite: Suggestion
#### :artificial_satellite: Implementation ideas
#### :framed_picture: Mock-up Images
#### :bookmark: Refs.

View File

@ -0,0 +1,19 @@
#### :book: Summary
<!-- Provide a summary of your changes. Describe the why and not how. -->
#### :bookmark_tabs: Test Plan
> :bulb: Select your test plan for the code changes.
- [ ] Tested via CI pipeline
- [ ] Custom test
- [ ] No test plan
##### Details / Justification
<!-- Add your test details or justification for missing tests here. -->
#### :books: Additional Notes
<!-- A place for additional detail notes. -->

22
.vscode/cSpell.json vendored
View File

@ -1,22 +0,0 @@
// cSpell Settings
{
// Version of the setting file. Always 0.1
"version": "0.1",
// language - current active spelling language
"language": "en,de,de-DE",
// words - list of words to be always considered correct
"words": [],
// flagWords - list of words to be always considered incorrect
// This is useful for offensive words and common spelling errors.
// For example "hte" should be "the"
"flagWords": [],
"dictionaryDefinitions": [
{
"name": "default",
"path": "./dictionaries/default.txt"
}
],
"dictionaries": [
"default"
]
}

View File

@ -1,11 +1,10 @@
{ {
"recommendations": [ "recommendations": [
"streetsidesoftware.code-spell-checker", "editorconfig.editorconfig",
"streetsidesoftware.code-spell-checker-german", "eamodio.gitlens",
"editorconfig.editorconfig", "streetsidesoftware.code-spell-checker",
"eamodio.gitlens", "streetsidesoftware.code-spell-checker-german",
"vscode-icons-team.vscode-icons", "bierner.emojisense",
"redhat.vscode-yaml", "ryanluker.vscode-coverage-gutters"
"bierner.markdown-emoji", ]
]
} }

97
.vscode/settings.json vendored
View File

@ -1,44 +1,57 @@
{ {
"files.encoding": "utf8", "files.encoding": "utf8",
"files.eol": "\n", "files.eol": "\n",
"files.trimTrailingWhitespace": true, "files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true, "files.insertFinalNewline": true,
"editor.renderWhitespace": "boundary", "editor.renderWhitespace": "boundary",
"editor.formatOnSave": true, "editor.formatOnSave": true,
"editor.formatOnType": true, "editor.formatOnType": true,
"editor.rulers": [ "editor.rulers": [
116 116
], ],
"cSpell.enabled": true, // cSpell settings for custom dictionary
"cSpell.enabledLanguageIds": [ "cSpell.enabled": true,
"c", "cSpell.caseSensitive": false,
"cpp", "cSpell.maxNumberOfProblems": 100,
"csharp", "cSpell.numSuggestions": 8,
"go", "cSpell.minWordLength": 3,
"javascript", "cSpell.allowCompoundWords": false,
"javascriptreact", "cSpell.ignorePaths": [
"json", "package-lock.json",
"latex", "node_modules",
"markdown", "vscode-extension",
"php", ".git/objects",
"plaintext", ".vscode",
"powershell", ".vscode-insiders"
"python", ],
"text", "cSpell.enabledLanguageIds": [
"typescript", "c",
"typescriptreact", "cpp",
"yaml", "csharp",
"yml" "go",
], "javascript",
"cSpell.language": "en,de,de-DE", "javascriptreact",
"[yaml]": { "json",
"editor.insertSpaces": true, "latex",
"editor.tabSize": 2, "markdown",
"editor.quickSuggestions": { "php",
"other": true, "plaintext",
"comments": false, "powershell",
"strings": true "python",
}, "text",
"editor.autoIndent": "full" "typescript",
} "typescriptreact",
"yaml",
"yml"
],
"cSpell.language": "en-US,de-DE",
"cSpell.customDictionaries": {
"project-words": {
"name": "project-words",
"path": "${workspaceRoot}/.vscode/dictionaries/project-words.txt",
"description": "Words used in this project",
"addWords": true
},
"custom": true
}
} }

117
.vscode/tasks.json vendored
View File

@ -1,117 +0,0 @@
// A task runner that invokes Pester to run all Pester tests under the
// current workspace folder.
// NOTE: This Test task runner requires an updated version of Pester (>=4.0.3)
// in order for the problemMatcher to find failed test information (message, line, file).
// If you don't have that version, you can update Pester from the PowerShell Gallery
// with this command:
//
// PS C:\> Update-Module Pester
//
// If that gives an error like:
// "Module 'Pester' was not installed by using Install-Module, so it cannot be updated."
// then execute:
//
// PS C:\> Install-Module Pester -Scope CurrentUser -Force
//
// NOTE: The Clean, Build and Publish tasks require PSake. PSake can be installed
// from the PowerShell Gallery with this command:
//
// PS C:\> Install-Module PSake -Scope CurrentUser -Force
//
// Available variables which can be used inside of strings:
// ${workspaceFolder} the path of the workspace folder that contains the tasks.json file
// ${workspaceFolderBasename} the name of the workspace folder that contains the tasks.json file without any slashes (/)
// ${file} the current opened file
// ${relativeFile} the current opened file relative to the workspace folder containing the file
// ${fileBasename} the current opened file's basename
// ${fileBasenameNoExtension} the current opened file's basename without the extension
// ${fileDirname} the current opened file's dirname
// ${fileExtname} the current opened file's extension
// ${cwd} the task runner's current working directory on startup
// ${lineNumber} the current selected line number in the active file
{
"version": "2.0.0",
//"windows": {
// "options": {
// "shell": {
// // switch back to windows powershell 5.1
// // "executable": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
// "executable": "pwsh.exe",
// "args": [
// "-NoProfile",
// "-ExecutionPolicy",
// "Bypass",
// "-Command"
// ]
// }
// }
//},
//"linux": {
// "options": {
// "shell": {
// "executable": "/usr/bin/pwsh",
// "args": [
// "-NoProfile",
// "-Command"
// ]
// }
// }
//},
//"osx": {
// "options": {
// "shell": {
// "executable": "/usr/local/bin/pwsh",
// "args": [
// "-NoProfile",
// "-Command"
// ]
// }
// }
//},
"tasks": [
{
"label": "Add dictionary item",
"type": "shell",
"command": [
"$DefaultFile = Get-ChildItem -Path './.vscode/dictionaries/default.txt';",
"$Content = Get-Content -Path $DefaultFile;",
"$Content += '${input:DictionaryItem}';",
"$Content = $Content | Sort-Object -Unique;",
"Set-Content -Value $Content -Path $DefaultFile"
],
"group": "none",
"problemMatcher": [
"$pester"
]
},
{
"label": "Run dev Server",
"type": "shell",
"command": [
"hugo server --buildDrafts"
],
"group": {
"kind": "test",
"isDefault": true
}
},
{
"label": "Build Site",
"type": "shell",
"command": [
"hugo"
],
"group": {
"kind": "build",
"isDefault": true
}
}
],
"inputs": [
{
"id": "DictionaryItem",
"type": "promptString",
"description": "Input for dictionary file default.txt"
}
]
}