managarten/.husky/pre-push
Wuesteon 14806386ce 🔧 chore: add pre-push build validation for changed apps
- Create build-changed-apps.sh script that:
  - Detects which web apps have changes vs remote branch
  - Builds only affected apps (not all apps)
  - For shared packages, builds main apps that depend on them
- Enable pre-push hook to run build validation

This catches npm package incompatibilities and build failures
before pushing to remote, preventing CI/CD failures.

Skip with: git push --no-verify
2025-12-15 19:49:30 +01:00

3 lines
149 B
Text
Executable file

# Run production build check before push
# This catches npm package incompatibilities and Docker issues before CI/CD
./scripts/build-changed-apps.sh