mirror of
https://github.com/bitbaum/evig.git
synced 2026-12-04 22:07:14 +01:00
- 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>
27 lines
465 B
Bash
Executable File
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."
|