Skip to content

Commit

Permalink
Project things
Browse files Browse the repository at this point in the history
  • Loading branch information
Tatsh committed Oct 7, 2023
1 parent a3106e2 commit bee32a2
Show file tree
Hide file tree
Showing 16 changed files with 1,799 additions and 99 deletions.
8 changes: 8 additions & 0 deletions .cz.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"commitizen": {
"tag_format": "v$version",
"version_files": ["README.md", "package.json"],
"version_provider": "npm",
"version_scheme": "semver"
}
}
5 changes: 5 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
github: Tatsh
patreon: tatsh2
ko_fi: tatsh2
liberapay: tatsh2
# custom: # ['link1', 'link2']
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
updates:
- directory: /
package-ecosystem: npm
schedule:
interval: weekly
version: 2
23 changes: 23 additions & 0 deletions .github/workflows/close-inactive.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
jobs:
close-issues:
permissions:
issues: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v5
with:
close-issue-message: This issue was closed because it has been inactive for 14 days since being marked as stale.
days-before-issue-close: 14
days-before-issue-stale: 30
days-before-pr-close: -1
days-before-pr-stale: -1
exempt-all-assignees: true
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-label: stale
stale-issue-message: This issue is stale because it has been open for 30 days with no activity.
name: Close inactive issues
'on':
schedule:
- cron: 30 1 * * *
32 changes: 32 additions & 0 deletions .github/workflows/powershell.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
jobs:
build:
name: PSScriptAnalyzer
permissions:
actions: read
contents: read
security-events: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run PSScriptAnalyzer
uses: microsoft/psscriptanalyzer-action@6b2948b1944407914a58661c49941824d149734f
with:
includeRule: '"PSAvoidGlobalAliases", "PSAvoidUsingConvertToSecureStringWithPlainText"'
output: results.sarif
path: .\
recurse: true
- name: Upload SARIF results file
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: results.sarif
name: PSScriptAnalyzer
'on':
pull_request:
branches: ['master']
push:
branches: ['master']
schedule:
- cron: 37 13 * * 4
permissions:
contents: read
20 changes: 20 additions & 0 deletions .github/workflows/qa.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies (Yarn)
run: yarn
- name: Check spelling
run: yarn check-spelling
- name: Check formatting
run: yarn check-formatting
name: QA
'on':
pull_request:
branches:
- master
push:
branches:
- master
7 changes: 7 additions & 0 deletions .markdownlint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"default": true,
"line-length": {
"code_blocks": false,
"line_length": 100
}
}
69 changes: 69 additions & 0 deletions .vscode/cspell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
{
"dictionaryDefinitions": [
{
"name": "main",
"path": "dictionary.txt"
}
],
"enableGlobDot": true,
"enabledLanguageIds": [
"asciidoc",
"c",
"cmake",
"coffeescript",
"cpp",
"csharp",
"css",
"dockerfile",
"dotenv",
"elm",
"git-commit",
"go",
"handlebars",
"haskell",
"html",
"ignore",
"jade",
"java",
"javascript",
"javascriptreact",
"json",
"jsonc",
"jsx-tags",
"latex",
"less",
"lua",
"makefile",
"makefile2",
"markdown",
"php",
"plaintext",
"powershell",
"properties",
"pug",
"python",
"r",
"restructuredtext",
"rust",
"scala",
"scss",
"shellscript",
"sql",
"swift",
"text",
"toml",
"typescript",
"typescriptreact",
"xml",
"yaml",
"yml"
],
"ignorePaths": ["*.log", ".directory", ".git", ".vscode/extensions.json"],
"language": "en-GB",
"languageSettings": [
{
"dictionaries": ["main"],
"languageId": "*"
}
]
}
22 changes: 22 additions & 0 deletions .vscode/dictionary.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
analyzer
cmder
codeql
dword
ehthumbs
esbenp
hkcc
hkcr
hkcu
hkey
hklm
hkpd
macprefs
psscriptanalyzer
qword
sarif
shellcheck
shfmt
tatsh
udvare
userprofile
winprefs
42 changes: 42 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"recommendations": [
"aaron-bond.better-comments",
"bierner.markdown-checkbox",
"buianhthang.xml2json",
"bungcip.better-toml",
"christian-kohler.path-intellisense",
"cschlosser.doxdocgen",
"davidanson.vscode-markdownlint",
"donjayamanne.githistory",
"dotjoshjohnson.xml",
"eamodio.gitlens",
"editorconfig.editorconfig",
"esbenp.prettier-vscode",
"foxundermoon.shell-format",
"github.vscode-pull-request-github",
"henriiik.vscode-sort",
"ivangabriele.vscode-git-add-and-commit",
"jmredfern.sort-selection",
"lextudio.restructuredtext",
"ms-python.isort",
"ms-python.vscode-pylance",
"ms-vscode.powershell",
"naumovs.color-highlight",
"nhoizey.gremlins",
"pascalreitermann93.vscode-yaml-sort",
"redhat.vscode-xml",
"redhat.vscode-yaml",
"richie5um2.vscode-sort-json",
"ruiquelhas.vscode-lowercase",
"ruiquelhas.vscode-uppercase",
"streetsidesoftware.code-spell-checker",
"tcwalther.cython",
"trond-snekvik.simple-rst",
"tyriar.sort-lines",
"wayou.vscode-todo-highlight",
"wmaurer.change-case",
"zainchen.json",
"zengxingxin.sort-js-object-keys",
"zeshuaro.vscode-python-poetry"
]
}
20 changes: 20 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"[powershell]": {
"editor.defaultFormatter": "ms-vscode.powershell"
},
"cSpell.enabled": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnPaste": true,
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.inlayHints.enabled": "offUnlessPressed",
"editor.insertSpaces": true,
"editor.rulers": [100],
"editor.tabSize": 2,
"editor.wordWrapColumn": 100,
"eslint.lintTask.enable": true,
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"files.trimTrailingWhitespace": true,
"yaml.format.printWidth": 100
}
21 changes: 21 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2023 Andrew Udvare

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
Loading

0 comments on commit bee32a2

Please sign in to comment.