Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
30 changes: 30 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"name": "kai-vscode (dev-container)",
"image": "esacteksab/dev-container:latest",
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
"mounts": [
"source=${localEnv:HOME}/.gitconfig,target=/root/.gitconfig,type=bind,readonly",
"source=kai-vscode-gh-config,target=/root/.config/gh,type=volume",
"source=kai-vscode-node_modules,target=${containerWorkspaceFolder}/node_modules,type=volume",
"source=kai-vscode-zshhistory,target=/commandhistory,type=volume"
],
"postCreateCommand": "python3 -m venv --clear .venv && .venv/bin/python -m pip install -r requirements.txt && .venv/bin/python -m pre_commit install --install-hooks && gh extension install esacteksab/gh-actlock || true && gh extension install seachicken/gh-poi || true",
"customizations": {
"vscode": {
"settings": {
"terminal.integrated.defaultProfile.linux": "zsh",
"python.defaultInterpreterPath": "${containerWorkspaceFolder}/.venv/bin/python"
},
"extensions": [
"ms-vscode-remote.remote-containers",
"ms-python.python",
"esbenp.prettier-vscode",
"dbaeumer.vscode-eslint",
"EditorConfig.EditorConfig",
"tamasfe.even-better-toml",
"redhat.vscode-yaml",
"timonwong.shellcheck"
]
}
}
}
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ updates:
day: "friday"
time: "17:00"
timezone: "America/Chicago"
cooldown:
default-days: 7

- package-ecosystem: "github-actions"
directory: "/"
Expand All @@ -20,3 +22,5 @@ updates:
day: "friday"
time: "18:00"
timezone: "America/Chicago"
cooldown:
default-days: 7
39 changes: 27 additions & 12 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -1,40 +1,55 @@
---
changelog:
exclude:
labels:
- ignore-changelog

categories:
- title: ":warning: Update considerations and deprecations"
- title: ":warning: Breaking changes"
labels:
- "type: breaking"
- "type: deprecation"
- "regression"
- "type: regression"
- "type: revert"

- title: ":rocket: New features and improvements"
- title: ":sparkles: Theme updates"
labels:
- "type: theme"
- "type: feat"
- "type: enhancement"
- "type: style"

- title: ":lady_beetle: Bug fixes"
labels:
- "type: fix"

- title: ":nail_care: Style"
labels:
- "type: style"

- title: ":book: Documentation"
labels:
- "type: docs"

- title: ":hammer: Build/Test Dependency Upgrades"
- title: ":robot: CI and build"
labels:
- "dependencies"
- "type: test"
- "type: ci"
- "type: build"
- "type: chore"
- "type: test"

- title: ":question: What's Changed"
- title: ":dependabot: :clown_face: JavaScript dependency updates"
labels:
- "npm"

- title: ":dependabot: :octocat: GitHub Actions dependency updates"
labels:
- "github_actions"

- title: ":broom: Housekeeping"
labels:
- "type: task"
- "type: chore"
- "type: refactor"
- "type: release"

- title: ":package: Other changes"
labels:
- "type: misc"
- "type: other"
- "misc"
14 changes: 14 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Labeler

on:
pull_request:
types:
- opened

permissions:
contents: read
pull-requests: write

jobs:
label-pr:
uses: esacteksab/.github/.github/workflows/labeler.yml@2ee248cf7575840757c1d43548ad6ef4d1d62ada # v0.80.6
41 changes: 41 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Validate Extension

on:
push:
branches: [main]
pull_request:
branches: [main]

permissions:
contents: read

jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false

- name: Setup Node.js
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version: "22"

- name: Install dependencies
run: npm ci

- name: Validate theme JSON files
run: npm run validate:themes

- name: Package extension
run: npx vsce package --out /tmp/extension.vsix

- name: Verify package created
run: |
if [ ! -f /tmp/extension.vsix ]; then
echo "❌ Failed to create extension package"
exit 1
fi
echo "✅ Extension package created successfully"
ls -lh /tmp/extension.vsix
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
node_modules
package-lock.json
.mise.local.toml
.venv
7 changes: 2 additions & 5 deletions .markdownlint-cli2.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# https://github.com/DavidAnson/markdownlint-cli2/blob/main/test/markdownlint-cli2-yaml-example/.markdownlint-cli2.yaml

---
config:
default: true
first-line-h1: false
Expand All @@ -9,14 +10,10 @@ config:
no-inline-html: true
no-alt-text: false
heading-increment: false
no-duplicate-heading: false

# Ignore files referenced by .gitignore (only valid at root)
gitignore: true

# Fix any fixable errors
fix: false

# Define glob expressions to ignore
ignores:
- "testdata/**"
- "testdata/golden.md"
68 changes: 17 additions & 51 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
rev: v6.0.0
hooks:
- id: check-added-large-files
name: "Check Large Files"
Expand All @@ -12,7 +12,6 @@ repos:
- --markdown-linebreak-ext=md
- id: end-of-file-fixer
name: "EOF Fixer"
exclude: ^testdata/
- id: check-json
name: "Check JSON"
- id: check-toml
Expand All @@ -23,19 +22,19 @@ repos:
name: "Check Merge Conflicts"

- repo: https://github.com/gitleaks/gitleaks
rev: v8.25.0
rev: v8.30.0
hooks:
- id: gitleaks
name: "Git Leaks"

- repo: https://github.com/google/keep-sorted
rev: v0.6.1
rev: v0.8.0
hooks:
- id: keep-sorted
name: "Keep Sorted"

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.33.0
rev: 0.37.1
hooks:
- id: check-github-workflows
- id: check-dependabot
Expand All @@ -60,59 +59,20 @@ repos:
"https://raw.githubusercontent.com/DavidAnson/markdownlint-cli2/v0.17.2/schema/markdownlint-cli2-config-schema.json",
]
- id: check-jsonschema
name: "Validate golangci-lint config"
files: ^\.golangci.yaml+$
name: "Validate DevContainer"
files: ^\.devcontainer/devcontainer\.json$
types:
- yaml
- json
args:
[
"--schemafile",
"https://golangci-lint.run/jsonschema/golangci.jsonschema.json",
"https://raw.githubusercontent.com/devcontainers/spec/main/schemas/devContainer.base.schema.json",
]
- id: check-jsonschema
name: "Validate goreleaser config"
files: ^\.goreleaser.yaml+$
types:
- yaml
args: ["--schemafile", "https://goreleaser.com/static/schema.json"]

# - repo: local
# hooks:
# - id: make-lint
# name: "Make Lint"
# entry: "make lint"
# language: system
# pass_filenames: false
#
# - repo: local
# hooks:
# - id: make-tidy
# name: "Make Tidy"
# entry: "make tidy"
# language: system
# pass_filenames: false

# - repo: local
# hooks:
# - id: make-audit
# name: "Make Audit"
# entry: "make audit"
# language: system
# pass_filenames: false
#
# - repo: local
# hooks:
# - id: make-test
# name: "Make Test"
# entry: "make test"
# language: system
# pass_filenames: false

- repo: https://github.com/hukkin/mdformat
rev: 0.7.22
hooks:
- id: mdformat
exclude: ^testdata/
name: "Markdown Format"
additional_dependencies:
- mdformat-gfm
Expand All @@ -122,20 +82,26 @@ repos:
- mdformat-footnote

- repo: https://github.com/crate-ci/typos
rev: v1.31.2
rev: v1.45.0
hooks:
- id: typos
args: [--force-exclude]
name: "Spell Check"

- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.10.0.1
rev: v0.11.0.1
hooks:
- id: shellcheck
name: "Shell Check"

- repo: https://github.com/DavidAnson/markdownlint-cli2
rev: v0.17.2
rev: v0.22.0
hooks:
- id: markdownlint-cli2
name: "Markdown Lint"

- repo: https://github.com/zizmorcore/zizmor-pre-commit
rev: v1.23.1
hooks:
- id: zizmor
name: "Zizmor"
5 changes: 0 additions & 5 deletions .vscode/extensions.json

This file was deleted.

Loading