-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
47 lines (36 loc) · 867 Bytes
/
Copy pathjustfile
File metadata and controls
47 lines (36 loc) · 867 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
41
42
43
44
45
46
47
# Show available recipes (default when running `just` with no arguments)
default:
@just --list
# Install dependencies
install:
pnpm install
# Start the local dev server (http://localhost:4321)
dev:
pnpm run dev
# Build the production site to ./dist/
build:
pnpm run build
# Preview the production build locally
preview:
pnpm run preview
# Type-check Astro and TypeScript
check:
pnpm run check
# Lint with oxlint
lint:
pnpm run lint
# Lint and apply auto-fixes
lint-fix:
pnpm run lint:fix
# Format all files in place with oxfmt
fmt:
pnpm run fmt
# Verify formatting without writing changes
fmt-check:
pnpm run fmt:check
# Run the full quality gate: format check, lint, type-check, build
ci: fmt-check lint check build
# Remove build artifacts and generated types
clean:
rm -rf dist .astro
rm -rf node_modules