acc_invoices: сервис WebUI и бэкенд платёжного процесса (миграция 082, правила статусов, согласования, ручная отметка оплаты), статусы оплат, предложения к ТЗ
All checks were successful
ci / test (push) Successful in 59s
ci / deploy (push) Successful in 3m14s

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-04 12:44:58 +03:00
parent 37778d8b11
commit 16e9b2c085
31 changed files with 2458 additions and 6 deletions

View File

@@ -0,0 +1,21 @@
// Сборка WebUI (React + Ariakit) в dist/web: один JS-бандл и CSS, index.html рядом.
import { build } from "esbuild";
import { cpSync, mkdirSync, rmSync } from "node:fs";
rmSync("dist/web", { recursive: true, force: true });
mkdirSync("dist/web/assets", { recursive: true });
await build({
entryPoints: ["web/src/main.tsx"],
bundle: true,
minify: true,
sourcemap: true,
target: "es2022",
format: "esm",
jsx: "automatic",
outfile: "dist/web/assets/app.js",
loader: { ".css": "css" },
define: { "process.env.NODE_ENV": '"production"' },
});
cpSync("web/index.html", "dist/web/index.html");
cpSync("web/src/styles.css", "dist/web/assets/styles.css");
console.log("web собран");