Files
wehub-resource-sync bb5c75ce05
Component Security Validation / Security Audit (push) Has been cancelled
Deploy to Cloudflare Pages / deploy (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:38:58 +08:00

27 lines
638 B
Bash
Executable File

#!/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 "$@"