#!/usr/bin/env sh if ! command -v npx >/dev/null 2>&1; then echo "⚠️ npx not found in PATH — skipping pre-commit hooks" echo " Run 'npm run lint && npm run check:any-budget:t11' manually before pushing." exit 0 fi # Cheap, deterministic local gates (re-enabled). Slower checks (i18n drift, # openapi coverage/security-tiers, env-doc sync) run in CI to keep commits fast. npx lint-staged node scripts/check/check-docs-sync.mjs npm run check:any-budget:t11 node scripts/check/check-tracked-artifacts.mjs