likec4 1.27.0 → 1.27.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
- import{h as tt,k as gh,o as at,q as ws,d as zt,u as ee,w as yh,r as _h,s as $h,v as St,t as vh,e as ea,x as ta,c as wh,L as rt,y as bh,z as nt,A as Eh,B as Sh,n as Rh,D as Ah,E as Gt,F as ra,G as Oh,H as or,I as bs,J as na,K as Ch,M as Ph}from"../shared/likec4.CqOVETmH.mjs";import Re,{hrtime as Ih,cwd as Es,exit as sa,stdout as Th,argv as Nh}from"node:process";import{strictEqual as jh,notStrictEqual as Lh}from"assert";import Ss,{resolve as Ue,dirname as Rs,normalize as Dh,relative as kh,extname as Mh,
2
+ import{h as tt,k as gh,o as at,q as ws,d as zt,u as ee,w as yh,r as _h,s as $h,v as St,t as vh,e as ea,x as ta,c as wh,L as rt,y as bh,z as nt,A as Eh,B as Sh,n as Rh,D as Ah,E as Gt,F as ra,G as Oh,H as or,I as bs,J as na,K as Ch,M as Ph}from"../shared/likec4.CcbefjP5.mjs";import Re,{hrtime as Ih,cwd as Es,exit as sa,stdout as Th,argv as Nh}from"node:process";import{strictEqual as jh,notStrictEqual as Lh}from"assert";import Ss,{resolve as Ue,dirname as Rs,normalize as Dh,relative as kh,extname as Mh,
3
3
  basename as xh}from"path";import{statSync as ia,readdirSync as qh,readFileSync as As,writeFile as Hh}from"fs";import oa,{format as aa,inspect as Uh}from"util";import{fileURLToPath as Fh}from"url";import $e,{resolve as ge,dirname as Rt,join as ar,relative as At,extname as cr,isAbsolute as Os,basename as Lr}from"node:path";import pe,{existsSync as Ot,copyFileSync as ca,readdirSync as Vh,rmSync as Cs}from"node:fs";import{mkdtemp as Dr,writeFile as Ct,mkdir as ct,stat as Ps,copyFile as zh,rm as Gh}from"node:fs/promises";
4
- import ur,{tmpdir as kr}from"node:os";import{fileURLToPath as ua}from"node:url";import Is from"@vitejs/plugin-react";import{C as la,t as Ts,j as fa,e as da,N as Bt,L as Ns,g as Bh,a as Wh}from"../shared/likec4.DRE45BE_.mjs";import{build as lr,createServer as Kh,preview as Yh}from"vite";import{sortNaturalByFqn as ha,compareNatural as Xh,hasAtLeast as Jh,invariant as js,nonexhaustive as pa,delay as ma}from"@likec4/core";import{chromium as ga}from"playwright";import Qh from"node:net";import{setTimeout as Zh}from"node:timers/promises";
4
+ import ur,{tmpdir as kr}from"node:os";import{fileURLToPath as ua}from"node:url";import Is from"@vitejs/plugin-react";import{C as la,t as Ts,j as fa,e as da,N as Bt,L as Ns,g as Bh,a as Wh}from"../shared/likec4.D_ELXBwW.mjs";import{build as lr,createServer as Kh,preview as Yh}from"vite";import{sortNaturalByFqn as ha,compareNatural as Xh,hasAtLeast as Jh,invariant as js,nonexhaustive as pa,delay as ma}from"@likec4/core";import{chromium as ga}from"playwright";import Qh from"node:net";import{setTimeout as Zh}from"node:timers/promises";
5
5
  import{promisify as Ie,isDeepStrictEqual as ep}from"node:util";import fr from"node:crypto";import tp from"node:assert";import"tty";import"os";import"crypto";import"net";import"child_process";import"@likec4/core/types";import"events";import"buffer";import"@hpcc-js/wasm-graphviz";import"@likec4/core/compute-view";import"@likec4/core/utils";import"boxen";import"node:child_process";import"node:events";import"node:stream/promises";import"fs/promises";import"@likec4/core/model";const rp={right:cp,center:up},
6
6
  np=0,Mr=1,sp=2,xr=3;class ip{constructor(e){var r;this.width=e.width,this.wrap=(r=e.wrap)!==null&&r!==void 0?r:!0,this.rows=[]}span(...e){const r=this.div(...e);r.span=!0}resetOutput(){this.rows=[]}div(...e){if(e.length===0&&this.div(""),this.wrap&&this.shouldApplyLayoutDSL(...e)&&typeof e[0]=="string")return this.applyLayoutDSL(e[0]);const r=e.map(n=>typeof n=="string"?this.colFromString(n):n);return this.rows.push(r),r}shouldApplyLayoutDSL(...e){return e.length===1&&typeof e[0]=="string"&&/[\t\n]/.
7
7
  test(e[0])}applyLayoutDSL(e){const r=e.split(`
package/dist/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import"@likec4/core";export{LikeC4DeploymentModel,LikeC4Model,LikeC4ViewModel}from"@likec4/core/model";export{L as LikeC4}from"./shared/likec4.CqOVETmH.mjs";import"node:fs";import"node:path";import"node:url";import"tty";import"node:util";import"util";import"path";import"os";import"crypto";import"net";import"url";import"fs";import"child_process";import"@likec4/core/types";import"events";import"buffer";import"@hpcc-js/wasm-graphviz";import"@likec4/core/compute-view";import"@likec4/core/utils";import"node:process";
1
+ import"@likec4/core";export{LikeC4DeploymentModel,LikeC4Model,LikeC4ViewModel}from"@likec4/core/model";export{L as LikeC4}from"./shared/likec4.CcbefjP5.mjs";import"node:fs";import"node:path";import"node:url";import"tty";import"node:util";import"util";import"path";import"os";import"crypto";import"net";import"url";import"fs";import"child_process";import"@likec4/core/types";import"events";import"buffer";import"@hpcc-js/wasm-graphviz";import"@likec4/core/compute-view";import"@likec4/core/utils";import"node:process";
2
2
  import"boxen";import"node:child_process";import"node:events";import"node:fs/promises";import"node:stream/promises";import"node:os";import"fs/promises";