diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..a7179eb --- /dev/null +++ b/.dockerignore @@ -0,0 +1,16 @@ +# Common +README.md +CHANGELOG.md +docker-compose.yml +Dockerfile + +# Node +## Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* + +## Dependency directories +node_modules/ diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..dad6b58 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,11 @@ +# editorconfig.org + +root = true + +[*] +indent_style = space +indent_size = 2 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true \ No newline at end of file diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..c9f8b02 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,20 @@ +# images + +*.jpg binary +*.jpeg binary +*.bmp binary +*.tiff binary +*.png binary +*.svg binary +*.ico binary + +# binary files +*.exe binary +*.dll binary + +# PowerShell specific +*.ps1 working-tree-encoding=UTF-8 +*.psm1 working-tree-encoding=UTF-8 +*.psd1 working-tree-encoding=UTF-8 + +*.md working-tree-encoding=UTF-8 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..553e134 --- /dev/null +++ b/.gitignore @@ -0,0 +1,33 @@ +.DS_Store +.thumbs.db +node_modules + +# Quasar core related directories +.quasar +/dist + +# Cordova related directories and files +/src-cordova/node_modules +/src-cordova/platforms +/src-cordova/plugins +/src-cordova/www + +# Capacitor related directories and files +/src-capacitor/www +/src-capacitor/node_modules + +# BEX related directories and files +/src-bex/www +/src-bex/js/core + +# Log files +npm-debug.log* +yarn-debug.log* +yarn-error.log* + +# Editor directories and files +.idea +*.suo +*.ntvs* +*.njsproj +*.sln diff --git a/.vscode/cSpell.json b/.vscode/cSpell.json new file mode 100644 index 0000000..bc784a4 --- /dev/null +++ b/.vscode/cSpell.json @@ -0,0 +1,22 @@ +// 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" + ] +} diff --git a/.vscode/dictionaries/default.txt b/.vscode/dictionaries/default.txt new file mode 100644 index 0000000..8cf47f4 --- /dev/null +++ b/.vscode/dictionaries/default.txt @@ -0,0 +1,4 @@ +CAFS +gitea +gitlocal +hashtable diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..a0b65bf --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,11 @@ +{ + "recommendations": [ + "streetsidesoftware.code-spell-checker", + "streetsidesoftware.code-spell-checker-german", + "editorconfig.editorconfig", + "eamodio.gitlens", + "vscode-icons-team.vscode-icons", + "redhat.vscode-yaml", + "bierner.markdown-emoji", + ] +} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..2556106 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,44 @@ +{ + "files.encoding": "utf8", + "files.eol": "\n", + "files.trimTrailingWhitespace": true, + "files.insertFinalNewline": true, + "editor.renderWhitespace": "boundary", + "editor.formatOnSave": true, + "editor.formatOnType": true, + "editor.rulers": [ + 116 + ], + "cSpell.enabled": true, + "cSpell.enabledLanguageIds": [ + "c", + "cpp", + "csharp", + "go", + "javascript", + "javascriptreact", + "json", + "latex", + "markdown", + "php", + "plaintext", + "powershell", + "python", + "text", + "typescript", + "typescriptreact", + "yaml", + "yml" + ], + "cSpell.language": "en,de,de-DE", + "[yaml]": { + "editor.insertSpaces": true, + "editor.tabSize": 2, + "editor.quickSuggestions": { + "other": true, + "comments": false, + "strings": true + }, + "editor.autoIndent": "full" + } +} diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..5576709 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,95 @@ +// 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" + ] + } + ], + "inputs": [ + { + "id": "DictionaryItem", + "type": "promptString", + "description": "Input for dictionary file default.txt" + } + ] +}