Files
evig/scripts/ship.sh
T
g-butandClaude Sonnet 4.6 6e92b316ba chore: add compliance audit scripts, simplify ship.sh, fix i18n badge key
- npm run compliance:ssot / compliance:i18n — new audit scripts that detect
  SSOT and i18n violations in CI or local runs
- scripts/baselines/ — snapshot files for the audits
- ship.sh simplified to a minimal quality gate (lint, typecheck, test)
- services/data.ts: badgeKey replaces hardcoded badge string so the 'soon'
  label is driven by translations (messages/*.json services.badges.soon)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-11 10:31:49 +02:00

27 lines
465 B
Bash
Executable File

#!/bin/bash
# RevampIT quality gate.
# Usage: npm run ship
set -euo pipefail
echo "RevampIT ship gate"
echo "=================="
echo ""
run_step() {
local label="$1"
shift
echo "==> ${label}"
"$@"
echo ""
}
run_step "TypeScript" npm run typecheck
run_step "Lint" npm run lint
run_step "SSOT and i18n compliance" npm run compliance
run_step "Unit tests" npm run test -- --runInBand
run_step "Production build" npm run build
echo "Ship gate passed."