mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-05-05 03:04:52 +00:00
feat: add new icon components including Envelope, ChatCircle, HardDrives, WarningCircle, CheckCircle, XCircle, TrendUp, ShieldWarning, LockKey, Crown, Sparkle, BookOpen, Tree, Broom, Export, UploadSimple, Funnel, FunnelSimple, MapTrifold, PushPinSimple, Buildings, GithubLogo, and GoogleLogo
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
cd /Users/rmac/Documents/GitHub/metabuilder
|
||||
while :; do sleep 90 && codex exec --cd="/Users/rmac/Documents/GitHub/metabuilder" --sandbox workspace-write "Open and follow the file named docs/todo/0-kickstart.md in the current directory exactly. You may modify any relevant source, config, or build files. Do not ask questions. Make the smallest safe assumption if ambiguous. If no changes are required, halt immediately." || break; done
|
||||
cd /Users/rmac/Documents/GitHub/metabuilder
|
||||
while :; do sleep 90 && codex exec --cd="/Users/rmac/Documents/GitHub/metabuilder" --sandbox workspace-write "Open and follow the file named docs/todo/0-kickstart.md in the current directory exactly. You may modify any relevant source, config, or build files. Do not ask questions. Make the smallest safe assumption if ambiguous. If no changes are required, halt immediately." || break; done
|
||||
|
||||
@@ -1,47 +1,47 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Pre-commit git hook for MetaBuilder
|
||||
# Validates workflows before commits
|
||||
# Install: cp scripts/pre-commit.hook .git/hooks/pre-commit && chmod +x .git/hooks/pre-commit
|
||||
|
||||
set -e
|
||||
|
||||
# Colors for output
|
||||
GREEN='\033[0;32m'
|
||||
YELLOW='\033[1;33m'
|
||||
BLUE='\033[0;34m'
|
||||
NC='\033[0m' # No Color
|
||||
|
||||
echo -e "${BLUE}━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━${NC}"
|
||||
echo -e "${GREEN}Pre-Commit Workflow Validation${NC}"
|
||||
echo -e "${BLUE}━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━${NC}"
|
||||
echo ""
|
||||
|
||||
# Check if any workflow files were modified
|
||||
if ! git diff --cached --name-only | grep -q '^\.github/workflows/'; then
|
||||
echo "ℹ️ No workflow files changed, skipping validation"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Run diagnostics if workflow files changed
|
||||
echo -e "${YELLOW}Validating workflow files...${NC}"
|
||||
|
||||
if command -v ./scripts/diagnose-workflows.sh &> /dev/null; then
|
||||
chmod +x scripts/diagnose-workflows.sh
|
||||
./scripts/diagnose-workflows.sh
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
echo ""
|
||||
echo -e "${YELLOW}⚠️ Workflow issues detected. Review above before committing.${NC}"
|
||||
echo "To skip this check: git commit --no-verify"
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
echo "Diagnostic script not found, skipping workflow validation"
|
||||
fi
|
||||
|
||||
echo ""
|
||||
echo -e "${GREEN}✓ Pre-commit checks passed!${NC}"
|
||||
echo ""
|
||||
|
||||
exit 0
|
||||
#!/bin/bash
|
||||
|
||||
# Pre-commit git hook for MetaBuilder
|
||||
# Validates workflows before commits
|
||||
# Install: cp scripts/pre-commit.hook .git/hooks/pre-commit && chmod +x .git/hooks/pre-commit
|
||||
|
||||
set -e
|
||||
|
||||
# Colors for output
|
||||
GREEN='\033[0;32m'
|
||||
YELLOW='\033[1;33m'
|
||||
BLUE='\033[0;34m'
|
||||
NC='\033[0m' # No Color
|
||||
|
||||
echo -e "${BLUE}━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━${NC}"
|
||||
echo -e "${GREEN}Pre-Commit Workflow Validation${NC}"
|
||||
echo -e "${BLUE}━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━${NC}"
|
||||
echo ""
|
||||
|
||||
# Check if any workflow files were modified
|
||||
if ! git diff --cached --name-only | grep -q '^\.github/workflows/'; then
|
||||
echo "ℹ️ No workflow files changed, skipping validation"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Run diagnostics if workflow files changed
|
||||
echo -e "${YELLOW}Validating workflow files...${NC}"
|
||||
|
||||
if command -v ./scripts/diagnose-workflows.sh &> /dev/null; then
|
||||
chmod +x scripts/diagnose-workflows.sh
|
||||
./scripts/diagnose-workflows.sh
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
echo ""
|
||||
echo -e "${YELLOW}⚠️ Workflow issues detected. Review above before committing.${NC}"
|
||||
echo "To skip this check: git commit --no-verify"
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
echo "Diagnostic script not found, skipping workflow validation"
|
||||
fi
|
||||
|
||||
echo ""
|
||||
echo -e "${GREEN}✓ Pre-commit checks passed!${NC}"
|
||||
echo ""
|
||||
|
||||
exit 0
|
||||
|
||||
@@ -1,62 +1,62 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Pre-push git hook for MetaBuilder
|
||||
# Runs act checks before pushing
|
||||
# Install: cp scripts/pre-push.hook .git/hooks/pre-push && chmod +x .git/hooks/pre-push
|
||||
|
||||
set -e
|
||||
|
||||
# Colors for output
|
||||
GREEN='\033[0;32m'
|
||||
YELLOW='\033[1;33m'
|
||||
BLUE='\033[0;34m'
|
||||
NC='\033[0m' # No Color
|
||||
|
||||
echo -e "${BLUE}━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━${NC}"
|
||||
echo -e "${GREEN}Pre-Push Workflow Validation${NC}"
|
||||
echo -e "${BLUE}━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━${NC}"
|
||||
echo ""
|
||||
|
||||
if [ -n "$SKIP_ACT_PRE_PUSH" ]; then
|
||||
echo "SKIP_ACT_PRE_PUSH set, skipping checks"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if ! command -v npm &> /dev/null; then
|
||||
echo "npm not found, skipping pre-push checks"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if ! command -v act &> /dev/null; then
|
||||
echo "act not installed, skipping pre-push checks"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if ! docker info &> /dev/null; then
|
||||
echo "Docker is not running, skipping pre-push checks"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ -f "scripts/diagnose-workflows.sh" ]; then
|
||||
chmod +x scripts/diagnose-workflows.sh
|
||||
if ! ./scripts/diagnose-workflows.sh; then
|
||||
echo ""
|
||||
echo -e "${YELLOW}⚠️ Workflow issues detected. Review above before pushing.${NC}"
|
||||
echo "To skip this check: git push --no-verify"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
echo -e "${YELLOW}Running act lint...${NC}"
|
||||
if ! npm run act:lint; then
|
||||
echo ""
|
||||
echo -e "${YELLOW}⚠️ act:lint failed. Fix issues before pushing.${NC}"
|
||||
echo "To skip this check: git push --no-verify"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo ""
|
||||
echo -e "${GREEN}✓ Pre-push checks passed!${NC}"
|
||||
echo ""
|
||||
|
||||
exit 0
|
||||
#!/bin/bash
|
||||
|
||||
# Pre-push git hook for MetaBuilder
|
||||
# Runs act checks before pushing
|
||||
# Install: cp scripts/pre-push.hook .git/hooks/pre-push && chmod +x .git/hooks/pre-push
|
||||
|
||||
set -e
|
||||
|
||||
# Colors for output
|
||||
GREEN='\033[0;32m'
|
||||
YELLOW='\033[1;33m'
|
||||
BLUE='\033[0;34m'
|
||||
NC='\033[0m' # No Color
|
||||
|
||||
echo -e "${BLUE}━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━${NC}"
|
||||
echo -e "${GREEN}Pre-Push Workflow Validation${NC}"
|
||||
echo -e "${BLUE}━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━${NC}"
|
||||
echo ""
|
||||
|
||||
if [ -n "$SKIP_ACT_PRE_PUSH" ]; then
|
||||
echo "SKIP_ACT_PRE_PUSH set, skipping checks"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if ! command -v npm &> /dev/null; then
|
||||
echo "npm not found, skipping pre-push checks"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if ! command -v act &> /dev/null; then
|
||||
echo "act not installed, skipping pre-push checks"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if ! docker info &> /dev/null; then
|
||||
echo "Docker is not running, skipping pre-push checks"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ -f "scripts/diagnose-workflows.sh" ]; then
|
||||
chmod +x scripts/diagnose-workflows.sh
|
||||
if ! ./scripts/diagnose-workflows.sh; then
|
||||
echo ""
|
||||
echo -e "${YELLOW}⚠️ Workflow issues detected. Review above before pushing.${NC}"
|
||||
echo "To skip this check: git push --no-verify"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
echo -e "${YELLOW}Running act lint...${NC}"
|
||||
if ! npm run act:lint; then
|
||||
echo ""
|
||||
echo -e "${YELLOW}⚠️ act:lint failed. Fix issues before pushing.${NC}"
|
||||
echo "To skip this check: git push --no-verify"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo ""
|
||||
echo -e "${GREEN}✓ Pre-push checks passed!${NC}"
|
||||
echo ""
|
||||
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user