π¦ ClawHub
Vx Project
by @loonghao
Project management guide for vx. Use when setting up a new project, configuring vx.toml, or managing project-level tool versions and scripts.
π Tips & Best Practices
1. Version Pinning
Pin versions for CI/CD:
[tools]
node = "22.0.0" # Exact version for CI
2. Lock Files
Always commit vx.lock:
git add vx.lock
3. Scripts Organization
Group related scripts:
[scripts]
Development
dev = "..."
watch = "..."Testing
test = "..."
test:watch = "..."Build
build = "..."
build:prod = "..."
4. Hooks for Quality
Use hooks for automated checks:
[hooks]
pre_commit = ["vx run lint", "vx run test"]
post_checkout = ["vx sync"]
TERMINAL
clawhub install vx-project