-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathmise.toml
More file actions
40 lines (32 loc) · 893 Bytes
/
mise.toml
File metadata and controls
40 lines (32 loc) · 893 Bytes
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
[tools]
python = "3.14.3"
node = { version = "24.13.1", postinstall = "mise tasks run tools:yarn" }
pre-commit = "4.5.1"
uv = "0.10.8"
[tasks."tools:yarn"]
hide = true
dir = "{{config_root}}/web"
run = ["corepack enable", "corepack install"]
[tasks."typecheck:api"]
dir = "{{config_root}}/api"
run = "uv run mypy src"
[tasks."typecheck:web"]
depends = ["dependencies:web"]
dir = "{{config_root}}/web"
run = "yarn compile"
[tasks."dependencies:api"]
dir = "{{config_root}}/api"
run = "uv sync"
[tasks."dependencies:web"]
dir = "{{config_root}}/web"
run = "yarn install"
[tasks.generate-openapi-spec]
depends = ["dependencies:api"]
dir = "{{config_root}}/api"
run = "uv run python -m app open-api"
[tasks.generate-api-client-from-spec]
dir = "{{config_root}}/web"
run = "openapi -i ../api/.openapi.json -o './src/api/generated'"
[settings]
experimental = true
python.uv_venv_auto = true