File tree Expand file tree Collapse file tree
src/dev_tools_hooks/hooks Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44# Runs custom commands from .dev-hooks.yml (lint, type check, format, etc.)
55# Optionally filtered by file types
66
7+ DEV_HOOKS_VERSION=" 1.2.0"
8+
79# Colors optimized for macOS Terminal
810RED=' \x1b[31m'
911GREEN=' \x1b[32m'
@@ -243,7 +245,7 @@ run_commands() {
243245
244246 echo " "
245247 echo -e " ${CYAN}${BOLD} ┌──────────────────────────────────────────────────────────────┐${NC} "
246- echo -e " ${CYAN}${BOLD} │ Running pre-commit checks... │${NC} "
248+ echo -e " ${CYAN}${BOLD} │ Running pre-commit checks... ${DIM} v ${DEV_HOOKS_VERSION}${NC}${CYAN}${BOLD} │${NC} "
247249 echo -e " ${CYAN}${BOLD} └──────────────────────────────────────────────────────────────┘${NC} "
248250 echo " "
249251
Original file line number Diff line number Diff line change 44# 1. Validates branch names (ClickUp ID or conventional format)
55# 2. Runs custom commands from .dev-hooks.yml config file (optionally filtered by file types)
66
7+ DEV_HOOKS_VERSION=" 1.2.0"
8+
79# Colors optimized for macOS Terminal
810RED=' \x1b[31m'
911GREEN=' \x1b[32m'
@@ -377,7 +379,7 @@ run_commands() {
377379
378380 echo " "
379381 echo -e " ${CYAN}${BOLD} ┌──────────────────────────────────────────────────────────────┐${NC} "
380- echo -e " ${CYAN}${BOLD} │ Running pre-push checks... │${NC} "
382+ echo -e " ${CYAN}${BOLD} │ Running pre-push checks... ${DIM} v ${DEV_HOOKS_VERSION}${NC}${CYAN}${BOLD} │${NC} "
381383 echo -e " ${CYAN}${BOLD} └──────────────────────────────────────────────────────────────┘${NC} "
382384 echo " "
383385
You can’t perform that action at this time.
0 commit comments