chore: import upstream snapshot with attribution
Component Security Validation / Security Audit (push) Has been cancelled
Deploy to Cloudflare Pages / deploy (push) Has been cancelled

This commit is contained in:
wehub-resource-sync
2026-07-13 12:38:58 +08:00
commit bb5c75ce05
8824 changed files with 1946442 additions and 0 deletions
@@ -0,0 +1,22 @@
#!/bin/bash
# Check if a tool is installed and provide installation instructions if not
TOOL_NAME="$1"
INSTALL_CMD="$2"
if [ -z "$TOOL_NAME" ]; then
echo "Usage: check-tool.sh <tool-name> [install-command]"
exit 1
fi
if command -v "$TOOL_NAME" &> /dev/null; then
echo "OK: $TOOL_NAME is installed"
$TOOL_NAME --version 2>/dev/null || true
exit 0
else
echo "MISSING: $TOOL_NAME is not installed"
if [ -n "$INSTALL_CMD" ]; then
echo "Install with: $INSTALL_CMD"
fi
exit 1
fi
@@ -0,0 +1,26 @@
#!/bin/bash
# Run taze for Node.js dependency updates
# Usage: run-taze.sh [-r] [additional-args]
# -r: Recursive mode for monorepos
set -e
# Check if taze is installed
if ! command -v taze &> /dev/null; then
echo "ERROR: taze is not installed"
echo ""
echo "Install options:"
echo " npm install -g taze # Global install (recommended)"
echo " npx taze # One-time via npx"
exit 1
fi
# Check if package.json exists
if [ ! -f "package.json" ]; then
echo "ERROR: No package.json found in current directory"
exit 2
fi
# Run taze with provided arguments
echo "Running taze..."
taze "$@"