-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskfile.yml
More file actions
74 lines (60 loc) · 1.27 KB
/
Copy pathTaskfile.yml
File metadata and controls
74 lines (60 loc) · 1.27 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
version: "3"
tasks:
default:
desc: List available tasks
cmds:
- task --list
install:
desc: Install dependencies
cmds:
- pnpm install
dev:
desc: Run web frontend (Vite at http://localhost:5173)
cmds:
- pnpm dev
dev:server:
desc: Run only the Hono server
cmds:
- pnpm --filter @boardgames/server dev
dev:web:
desc: Run only the Vite web frontend
cmds:
- pnpm --filter @boardgames/web dev
dev:all:
desc: Run server and web concurrently
cmds:
- pnpm dev:all
build:
desc: Build all packages
cmds:
- pnpm build
preview:
desc: Build then preview the web bundle
deps: [build]
cmds:
- pnpm --filter @boardgames/web preview
lint:
desc: Biome check (lint + format)
cmds:
- pnpm lint
lint:fix:
desc: Biome auto-fix
cmds:
- pnpm lint:fix
format:
desc: Biome format write
cmds:
- pnpm format
typecheck:
desc: Typecheck all packages
cmds:
- pnpm typecheck
check:
desc: Lint + typecheck (pre-commit parity)
cmds:
- task: lint
- task: typecheck
clean:
desc: Remove build artefacts and node_modules
cmds:
- rm -rf node_modules packages/*/node_modules packages/*/dist