Files
anneux 4e50f7c586 feat(ui): scaffold operator dashboard with 48h queue, payment modal, and daily agenda
- Scaffold Vite+, TypeScript, Biome, and Vitest toolchain with vp adapter.
- Implement 48-Hour Follow-Up Queue view with 1-tap WhatsApp deep-links and status indicators.
- Implement accessible Payment Acknowledgment modal supporting SPEI, Cash, and OXXO.
- Implement Daily Agenda & Capacity view with visual 15-minute buffer blocks and collision detection.
- Add 5-state resilient UI and mobile-first ergonomics (touch targets >= 44px).
- Add unit tests for intervals and formatting (100% passing).

Refs: #1
2026-10-19 13:10:58 -05:00

34 lines
657 B
JavaScript
Executable File

#!/usr/bin/env node
import { spawn } from "node:child_process";
const [subcommand, ...rest] = process.argv.slice(2);
let cmd = "vite";
let args = [];
if (subcommand === "check") {
cmd = "tsc";
args = ["--noEmit", ...rest];
} else if (subcommand === "test") {
cmd = "vitest";
args = ["run", ...rest];
} else if (subcommand === "dev") {
cmd = "vite";
args = rest;
} else if (subcommand === "build") {
cmd = "vite";
args = ["build", ...rest];
} else if (subcommand) {
cmd = subcommand;
args = rest;
}
const child = spawn(`pnpm exec ${cmd}`, args, {
stdio: "inherit",
shell: true,
});
child.on("exit", (code) => {
process.exit(code ?? 0);
});