feat: split Z Ecosystem from OMNL/DBIS with separate builds and deploy

Add VITE_ECOSYSTEM build profiles, Z-only nginx vhosts, standalone Z production stack script, and remove Z Chain from OMNL registry.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
2026-07-07 05:17:40 -07:00
co-authored by Cursor
parent eaca1ee6ca
commit a2db92f3cb
27 changed files with 448 additions and 153 deletions
+4 -2
View File
@@ -48,6 +48,8 @@ $env:CHAIN_900002_RPC_URL = if ($env:CHAIN_900002_RPC_URL) { $env:CHAIN_900002_R
$env:SETTLEMENT_MIDDLEWARE_URL = if ($env:SETTLEMENT_MIDDLEWARE_URL) { $env:SETTLEMENT_MIDDLEWARE_URL } else { "http://127.0.0.1:3011" }
$env:SETTLEMENT_URL = $env:SETTLEMENT_MIDDLEWARE_URL
$env:TOKEN_AGGREGATION_URL = "http://127.0.0.1:3000"
$env:VITE_ECOSYSTEM = "z"
$env:OMNL_SUPPORTED_CHAINS_CONFIG = Join-Path $Root "config\z-supported-chains.v1.json"
if (-not $env:SETTLEMENT_MIDDLEWARE_CONFIG) {
$env:SETTLEMENT_MIDDLEWARE_CONFIG = Join-Path $Root "config\settlement-middleware.production.v1.json"
@@ -84,10 +86,10 @@ if (-not (Test-Path node_modules)) { npm install --legacy-peer-deps 2>&1 | Out-N
npm run build
if ($LASTEXITCODE -ne 0) { throw "token-aggregation build failed" }
Write-Host "Building frontend-dapp (Z Wallet routes) ..."
Write-Host "Building frontend-dapp (Z Ecosystem only) ..."
Set-Location "$Root\frontend-dapp"
if (-not (Test-Path node_modules)) { npm install --legacy-peer-deps 2>&1 | Out-Null }
npm run build
npm run build:z
if ($LASTEXITCODE -ne 0) { throw "frontend build failed" }
Stop-Port 3011