-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmise.toml
More file actions
69 lines (53 loc) · 1.76 KB
/
mise.toml
File metadata and controls
69 lines (53 loc) · 1.76 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
[tools]
node = "24.14.0"
uv = "0.10.0"
[tasks.dev]
alias = "d"
description = "Start full development stack"
# run = [{ tasks = ["django", "vite", "celery-worker", "celery-beat"] }]
run = [{ tasks = ["django", "vite"] }]
[tasks.django]
description = "Run Django dev server with debugpy"
run = "uv run python manage.py runserver ${PORT:-8000}"
[tasks.vite]
description = "Run Vite frontend dev server"
run = "pnpm exec vite"
[tasks.celery-worker]
description = "Run Celery worker"
run = "uv run celery -A src.tasks worker -l INFO --without-gossip --without-mingle --without-heartbeat"
[tasks.celery-beat]
description = "Run Celery beat scheduler"
run = "uv run celery -A src.tasks beat -l INFO --scheduler django_celery_beat.schedulers:DatabaseScheduler"
[tasks.python-lint]
description = "Run Ruff lint checks"
run = "uv run ruff check ."
[tasks.python-lint-fix]
description = "Run Ruff lint autofixes"
run = "uv run ruff check . --fix"
[tasks.python-format]
description = "Run Ruff formatter"
run = "uv run ruff format ."
[tasks.template-lint]
description = "Run DjLint checks"
run = "uv run djlint . --check"
[tasks.template-format]
description = "Run DjLint formatter"
run = "uv run djlint . --reformat"
[tasks.python-typecheck]
description = "Run Pyright type checks"
run = "uv run pyright"
[tasks.test]
description = "Run Django test suite"
run = "uv run python manage.py test"
[tasks.frontend-build]
description = "Build frontend assets"
run = "pnpm exec vite build && touch static/.gitkeep"
[tasks.frontend-typecheck]
description = "Run TypeScript type checks"
run = "pnpm exec tsc --noEmit --pretty"
[tasks.frontend-lint]
description = "Run oxlint checks"
run = "pnpm exec oxlint --fix"
[tasks.frontend-format]
description = "Run oxfmt formatter"
run = "pnpm exec oxfmt --write"