-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathjustfile
More file actions
61 lines (44 loc) · 1.61 KB
/
justfile
File metadata and controls
61 lines (44 loc) · 1.61 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
# Default recipe
default:
@just --list
# ── Dev Environment ──────────────────────────────────────────
# Install dependencies
setup:
pnpm install
# ── Build & Check ────────────────────────────────────────────
# Run all checks (lint, format, typecheck, file sizes)
check:
pnpm check
# Format code
fmt:
pnpm fmt
# Check formatting without modifying
fmt-check:
pnpm exec biome format .
# Build all packages
build:
pnpm build
# Full CI gate
ci: check test build
# ── Test ─────────────────────────────────────────────────────
# Run unit tests
test:
pnpm test
# Run tests in watch mode
test-watch:
pnpm test:watch
# ── Run ──────────────────────────────────────────────────────
# Run ghost-ui catalogue dev server
dev:
cd packages/ghost-ui && pnpm dev
# Build ghost-ui catalogue (static export)
build-ui:
cd packages/ghost-ui && pnpm build
# Build ghost-ui shadcn registry
build-registry:
cd packages/ghost-ui && pnpm build:registry
# ── Utilities ────────────────────────────────────────────────
# Clean build artifacts
clean:
pnpm clean
rm -rf node_modules packages/*/node_modules