repositories / pi-ext

pi-ext

bugabingas pi extensions

owned by bugabinga

build: organize mise monorepo tasks

125ccaec6dedc815262a551df3c1835c55445610

Oliver Jan Krylow <oliver@bugabinga.net> ·

unsigned

Browse filesCompare with HEAD

Changed files (1)

+11 / −22 text lines

Diff layout

mise.toml

Modified

+11 / −22 text lines

1monorepo_root = true
2
3[monorepo]
4config_roots = ["extensions/*"]
5
16[tools]
27node = "26"
38biome = "2.4.15"
5055npm run test --{% for arg in usage.args %} "{{ arg }}"{% endfor %}
5156'''
53[tasks.typecheck]
54description = "Typecheck TypeScript"
58[tasks.bench]
59description = "Run all extension benchmarks sequentially"
5560depends = ["install"]
56run = "npm run typecheck"
58[tasks.bench-q]
59description = "Run q heuristic extractor benchmark"
60depends = ["install"]
61run = "node --no-warnings --experimental-strip-types --experimental-loader ./scripts/ts-js-loader.mjs extensions/q/__benches__/extract.bench.ts"
61run = "mise run --jobs 1 //extensions/...:bench"
6363[tasks.install-e2e-browsers]
6464description = "Install Playwright browsers for E2E tests"
7676'''
7878[tasks.check]
79description = "Static extension checks"
79description = "Typecheck and run static extension checks"
80depends = ["install"]
8081run = [
82 "npm run typecheck",
8183 "node scripts/check_skills.mjs",
8284 "node scripts/test_extensions_static_check.mjs",
8385 "node scripts/extensions.mjs check",
169171[tasks.pre-push]
170172description = "Pre-push hook: full CI"
171173run = "mise run ci"
173[tasks.goal-expect]
174description = "Run goal expect test"
175usage = '''
176arg "[idea_number]"
177flag "--idea <idea>"
178flag "--objective <objective>"
179flag "--llm-wait <llm_wait>"
180flag "--list-ideas"
181'''
182run = '''
183node scripts/test_goal_expect.mjs{% if usage.idea_number %} "{{ usage.idea_number }}"{% endif %}{% if usage.idea %} --idea "{{ usage.idea }}"{% endif %}{% if usage.objective %} --objective "{{ usage.objective }}"{% endif %}{% if usage.llm_wait %} --llm-wait "{{ usage.llm_wait }}"{% endif %}{% if usage.list_ideas %} --list-ideas{% endif %}
184'''