- Add GitHub Actions workflow for automated CI/CD - Configure Node.js 18.x and 20.x matrix testing - Add TypeScript type checking step - Add ESLint code quality checks with enhanced rules - Add Prettier formatting verification - Add production build validation - Upload build artifacts for deployment - Set up automated testing on push/PR - Replace console.log with environment-aware logger - Add pre-commit hooks for code quality - Exclude archive folder from linting 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
71 lines
1.6 KiB
Bash
71 lines
1.6 KiB
Bash
#!/bin/bash
|
|
|
|
# Task Master 자동 모니터링 스크립트
|
|
# 사용법: ./task-master-watch.sh [interval_in_seconds]
|
|
|
|
# 기본 간격 (초)
|
|
INTERVAL=${1:-60}
|
|
|
|
# 색상 설정
|
|
RED='\033[0;31m'
|
|
GREEN='\033[0;32m'
|
|
YELLOW='\033[1;33m'
|
|
BLUE='\033[0;34m'
|
|
NC='\033[0m' # No Color
|
|
|
|
# 함수: 현재 시간 표시
|
|
show_time() {
|
|
date "+%Y-%m-%d %H:%M:%S"
|
|
}
|
|
|
|
# 함수: 구분선 출력
|
|
separator() {
|
|
echo -e "${BLUE}======================================${NC}"
|
|
}
|
|
|
|
# 함수: Task Master 상태 확인
|
|
check_task_status() {
|
|
echo -e "${GREEN}📋 Task Master 상태 업데이트 - $(show_time)${NC}"
|
|
separator
|
|
|
|
# 다음 작업 확인
|
|
echo -e "${YELLOW}🎯 다음 작업:${NC}"
|
|
task-master next
|
|
|
|
echo ""
|
|
|
|
# 진행 중인 작업 확인
|
|
echo -e "${YELLOW}🔄 진행 중인 작업:${NC}"
|
|
task-master list --status=in-progress
|
|
|
|
echo ""
|
|
|
|
# 대기 중인 작업 확인
|
|
echo -e "${YELLOW}⏳ 대기 중인 작업:${NC}"
|
|
task-master list --status=pending
|
|
|
|
echo ""
|
|
|
|
# 완료된 작업 수 확인
|
|
echo -e "${YELLOW}✅ 완료된 작업:${NC}"
|
|
task-master list --status=done | grep -c "done" || echo "0"
|
|
|
|
separator
|
|
echo -e "${GREEN}다음 업데이트: ${INTERVAL}초 후${NC}"
|
|
echo ""
|
|
}
|
|
|
|
# 시작 메시지
|
|
clear
|
|
echo -e "${GREEN}🚀 Task Master 자동 모니터링 시작${NC}"
|
|
echo -e "${BLUE}업데이트 간격: ${INTERVAL}초${NC}"
|
|
echo -e "${BLUE}중지하려면 Ctrl+C를 누르세요${NC}"
|
|
echo ""
|
|
|
|
# 메인 루프
|
|
while true; do
|
|
check_task_status
|
|
sleep $INTERVAL
|
|
clear
|
|
done
|