vag_tools
Version:
api and cli for managing sub-git-repositories
6 lines (5 loc) • 1.72 kB
JavaScript
import{f as y,a as b,s as u}from"../chunks/N_U0gBEm.js";import"../chunks/CQEp1LYZ.js";import{o as w}from"../chunks/BoHJkn8d.js";import{v as x,w as k,p as q,j,t as D,q as $,o as M,n as O,s as c,k as a,m as t,g as P}from"../chunks/A9QBkv6k.js";import{i as S}from"../chunks/DqHXpfdR.js";function z(h,r,i,s,l){x&&k();var e=r.$$slots?.[i],n=!1;e===!0&&(e=r.children,n=!0),e===void 0||e(h,n?()=>s:s)}const E=!0,G=Object.freeze(Object.defineProperty({__proto__:null,prerender:E},Symbol.toStringTag,{value:"Module"})),I="vag_ui",T="0.1.5",v={name:I,version:T};var U=y('<header class="svelte-12qhfyh"><h1 class="svelte-12qhfyh">Vag webUI</h1> <span> </span></header> <main class="svelte-12qhfyh"><!></main> <footer class="svelte-12qhfyh"><article><ol><li><a href="https://charlyoleg2.github.io/vag">homepage</a></li> <li><a href="https://www.npmjs.com/package/vag_tools">npm-package</a></li> <li><a href="https://github.com/charlyoleg2/vag">sources</a></li></ol></article> <article><h6>Examples</h6> <ol><li><a href="https://github.com/charlyoleg2/parametrix_vag">parametrix_vag</a></li></ol></article> <article><pre> </pre></article></footer>',1);function H(h,r){q(r,!1);let i=O("unknown");w(async()=>{try{const o=await fetch("/api/currDir");if(o.ok)M(i,await o.text());else throw`err312: fetch response status ${o.status}`}catch(o){console.log("err621: error while fetching /api/currDir"),console.log(o)}}),S();var s=U(),l=j(s),e=c(a(l),2),n=a(e);t(e),t(l);var f=c(l,2),_=a(f);z(_,r,"default",{}),t(f);var p=c(f,2),m=c(a(p),4),g=a(m),d=a(g);t(g),t(m),t(p),D(()=>{u(n,`running in the directory : ${P(i)??""}`),u(d,`
npm package:
name: ${v.name}
version : ${v.version}
`)}),b(h,s),$()}export{H as component,G as universal};