-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmise.toml
More file actions
103 lines (84 loc) · 2.58 KB
/
Copy pathmise.toml
File metadata and controls
103 lines (84 loc) · 2.58 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
[tools]
node = "24.19.0"
pnpm = "11.21.0"
[env]
_.path = ["{{config_root}}/node_modules/.bin"]
[tasks.install]
description = "Install project dependencies in the mise-managed toolchain"
run = "pnpm install"
sources = ["package.json", "pnpm-lock.yaml", "mise.toml"]
outputs = ["node_modules/.pnpm/lock.yaml"]
[tasks.dev]
description = "Start the Vite development server"
depends = ["install"]
run = "vite"
[tasks.env]
description = "Show the mise-managed Node.js and pnpm versions"
run = '''
printf 'node=' && node --version
printf 'pnpm=' && pnpm --version
'''
[tasks.build]
description = "Type-check and build the production bundle"
depends = ["install"]
run = [
{ task = "typecheck" },
"vite build",
]
[tasks.preview]
description = "Preview the production bundle locally"
depends = ["build"]
run = "vite preview"
[tasks.typecheck]
description = "Run authoritative TypeScript checking"
depends = ["install"]
run = "tsc -b --pretty false"
[tasks.lint]
description = "Lint source and configuration files with Oxlint"
depends = ["install"]
run = "oxlint src tests vite.config.ts playwright.config.ts"
[tasks.format]
description = "Format project files with Prettier"
depends = ["install"]
run = "prettier --write ."
[tasks.format-check]
description = "Check formatting without modifying files"
depends = ["install"]
run = "prettier --check ."
[tasks.test]
description = "Run the Vitest suite once"
depends = ["install"]
run = "vitest run"
[tasks.test-watch]
description = "Run Vitest in watch mode"
depends = ["install"]
run = "vitest"
[tasks.e2e-install]
description = "Install the Playwright Chromium browser used by smoke tests"
depends = ["install"]
run = "playwright install chromium"
[tasks.e2e]
description = "Run Playwright end-to-end smoke tests"
depends = ["install"]
run = "playwright test"
[tasks.avatar-check]
description = "Verify the R2-backed avatar lock and repository binary policy"
run = "python3 scripts/verify_avatar_assets.py"
[tasks.avatar-publish]
description = "Upload and verify the locked local VRM in Cloudflare R2"
run = "python3 scripts/kaf-avatar/publish_vrm_to_r2.py"
[tasks.avatar-verify]
description = "Stream and verify the locked VRM from Cloudflare R2"
run = "python3 scripts/kaf-avatar/publish_vrm_to_r2.py --verify-only"
[tasks.avatar-poster]
description = "Regenerate the local WebP poster from the local-only VRM"
run = "python3 scripts/kaf-avatar/extract_vrm_poster.py"
[tasks.check]
description = "Run the local CI-quality validation suite"
run = [
{ task = "avatar-check" },
{ task = "format-check" },
{ task = "lint" },
{ task = "test" },
{ task = "build" },
]