-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmise.toml
More file actions
79 lines (64 loc) · 2.64 KB
/
mise.toml
File metadata and controls
79 lines (64 loc) · 2.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# =============================================================================
# mise Configuration for ExFig Action
# =============================================================================
# Bootstrap Binary Version Management:
# ------------------------------------
# The mise version for this project is embedded in ./bin/mise bootstrap binary.
# NO global mise installation required - ./bin/mise is self-contained!
#
# To update mise version:
# Option 1 (Recommended): bin/mise self-update
# Option 2 (Manual regeneration):
# 1. Install new mise temporarily: curl https://mise.run | sh
# 2. Regenerate bootstrap: mise generate bootstrap > ./bin/mise
# 3. Make executable: chmod +x ./bin/mise
# =============================================================================
[settings]
lockfile = false
experimental = true
legacy_version_file = false
# =============================================================================
# Git Hooks (native git mechanism via core.hooksPath)
# =============================================================================
# Hooks are stored in .githooks/ directory (tracked in repo)
# Auto-configures on directory entry via hooks.enter
[hooks]
enter = "git config core.hooksPath .githooks 2>/dev/null || true"
# =============================================================================
# Tools
# =============================================================================
[tools]
node = "22" # Node.js 22 LTS for development (action runs on node20)
python = "3.13"
git-cliff = "2.12.0"
# --- Git Hooks & Formatting ---
hk = "1.39.0" # Git hooks manager
dprint = "0.53.1" # MD formatting (Rust, fast)
pkl = "0.31.1" # Configuration language (for hk.pkl)
# --- Linting ---
actionlint = "1.7.11" # GitHub Actions linting
yamllint = "1.38.0" # YAML linting
# =============================================================================
# Tasks
# =============================================================================
[tasks.setup]
description = "Show git hooks status"
run = "echo 'Git hooks:' && git config core.hooksPath && ls -la .githooks/"
[tasks.lint]
description = "Format, lint and fix all files"
run = "hk fix --all && hk check --all"
[tasks.test]
description = "Run unit tests"
run = "npm test"
[tasks.build]
description = "Build dist/index.js"
run = "npm run build"
[tasks.changelog]
description = "Generate CHANGELOG.md from git history"
run = "git-cliff -o CHANGELOG.md"
[tasks."changelog:unreleased"]
description = "Preview unreleased changes"
run = "git-cliff --unreleased"
[tasks.test-parsing]
description = "Test ExFig output parsing logic"
run = "./scripts/test-parsing.sh"