#!/usr/bin/env bash
set -euo pipefail

echo "==> pnpm recursive outdated (top-level)"
pnpm -r outdated || true

echo
echo "==> pnpm audit (moderate+)"
pnpm audit --audit-level=moderate || true

echo
echo "==> Suggested next steps"
cat <<'EOF'
- Review major upgrades before applying (breaking changes likely):
  * zod v4, pinia v3, vue-i18n v11, stripe v19, openai v6
- Apply safe patch/minor bumps with: pnpm -r up --latest --filter "..."
- After upgrades:
  * Run: pnpm type-check && pnpm lint && pnpm test && pnpm build
  * Test E2E locally if applicable
EOF

