-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
67 lines (52 loc) · 1.21 KB
/
justfile
File metadata and controls
67 lines (52 loc) · 1.21 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
default:
@just --list
# Install all dependencies
install:
bun install
cd frontend && bun install
cd server && bun install
cd simulator && bun install
# Run everything (server + frontend)
dev: dev-server dev-frontend
# Run server in dev mode (watch)
dev-server:
cd server && bun run dev
# Run frontend in dev mode
dev-frontend:
cd frontend && bun run dev
# Run simulator
sim:
cd simulator && bun run start
# Run simulator in dev mode (watch)
sim-dev:
cd simulator && bun run dev
# Lint and format check
lint:
bunx biome check .
# Lint with auto-fix
lint-fix:
bunx biome check --write .
# Typecheck all packages
typecheck:
cd server && bun run typecheck
cd frontend && bun run typecheck
cd simulator && bun run typecheck
# Run all checks (lint + typecheck + test)
check: lint typecheck test
# Run server tests
test:
cd server && bun test
# Build frontend
build:
cd frontend && bun run build
# Run with docker compose
docker-up:
docker compose up --build
# Stop docker compose
docker-down:
docker compose down
# Clean node_modules and dist
clean:
rm -rf frontend/node_modules frontend/dist
rm -rf server/node_modules
rm -rf simulator/node_modules