Files
smom-dbis-138/frontend-dapp/scripts/build-z.mjs
zaragoza444 61de708a4c
Some checks failed
CI/CD Pipeline / Solidity Contracts (push) Failing after 1m19s
CI/CD Pipeline / Security Scanning (push) Successful in 2m40s
CI/CD Pipeline / Lint and Format (push) Failing after 45s
CI/CD Pipeline / Terraform Validation (push) Failing after 23s
CI/CD Pipeline / Kubernetes Validation (push) Successful in 24s
Validation / validate-genesis (push) Successful in 27s
Validation / validate-terraform (push) Failing after 27s
Validation / validate-kubernetes (push) Failing after 10s
Validation / validate-smart-contracts (push) Failing after 10s
Validation / validate-security (push) Failing after 1m20s
Validation / validate-documentation (push) Failing after 19s
Verify Deployment / Verify Deployment (push) Failing after 1m20s
fix(frontend): Z Ecosystem UI — nav, branding, and Online Bank polish
Z mobile bottom nav, purple theme, correct boot splash/title on build:z,
Z-only routes in Online Bank, shared settlement state, liquidity panel,
and treasury branding without OMNL dead links.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-07 09:03:55 -07:00

17 lines
496 B
JavaScript

import { spawnSync } from 'node:child_process';
import path from 'node:path';
import { fileURLToPath } from 'node:url';
const root = path.join(path.dirname(fileURLToPath(import.meta.url)), '..');
const viteBin = path.join(root, 'node_modules', 'vite', 'bin', 'vite.js');
process.env.VITE_ECOSYSTEM = 'z';
const result = spawnSync(
process.execPath,
['--max-old-space-size=4096', viteBin, 'build'],
{ stdio: 'inherit', env: process.env, cwd: root },
);
process.exit(result.status ?? 1);