Files
asepharyana-hub/scripts/update-deps.sh
asepharyana 092c0b363d Refactor Dockerfile for scraper, update Traefik configuration, and clean up scripts
- Simplified Dockerfile for scraper by removing unnecessary Node.js installation and optimizing build stages.
- Updated Traefik environment configuration to use shorter variable names for certificate paths.
- Removed commented-out middleware configurations in dynamic middlewares.yaml.
- Cleaned up legacy SSL configurations in ssl.yaml.
- Disabled insecure API access in Traefik configuration.
- Deleted unused renovate.json file.
- Modified update environment script to only process apps directory.
- Updated GHCR cleanup script to target specific package.
- Streamlined dependency update script to focus on app submodules.
- Removed setup script for Prometheus as it is no longer needed.
2026-07-21 13:27:13 +07:00

18 lines
403 B
Bash

#!/usr/bin/env bash
set -euo pipefail
echo "=== Updating root dependencies ==="
bun update
echo ""
echo "=== Updating app submodule dependencies ==="
for app in apps/*/; do
if [ -f "${app}package.json" ]; then
echo "→ $app"
(cd "$app" && bun update 2>/dev/null && echo " ✓ $app updated") || echo " - skipping $app (no bun setup)"
fi
done
echo ""
echo "✅ All dependencies updated"