@stacksjs/stx 0.2.446 → 0.2.447
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.
- package/dist/{chunk-qa7j3j71.js → chunk-0tchj3ct.js} +4 -4
- package/dist/{chunk-7676qzab.js → chunk-0xztxj98.js} +3 -3
- package/dist/{chunk-5mxr3acg.js → chunk-13raxes0.js} +1 -1
- package/dist/{chunk-hkx8pggg.js → chunk-19h1j59a.js} +1 -1
- package/dist/chunk-21ypr4t0.js +2 -0
- package/dist/{chunk-1g91pegz.js → chunk-237psdsd.js} +1 -1
- package/dist/{chunk-mx9wp3va.js → chunk-26wmppja.js} +1 -1
- package/dist/chunk-2tpvt1c5.js +2 -0
- package/dist/chunk-4gjc61wn.js +2 -0
- package/dist/{chunk-9ad04ksh.js → chunk-4yyzje7d.js} +1 -1
- package/dist/{chunk-f85dyf2f.js → chunk-538h1sfc.js} +2 -2
- package/dist/{chunk-vxgtq00t.js → chunk-56rk985x.js} +3 -3
- package/dist/{chunk-1qnyn82e.js → chunk-5cyme1g0.js} +2 -2
- package/dist/chunk-5ftzrjpd.js +2 -0
- package/dist/{chunk-vyw0csez.js → chunk-5vgdbqbz.js} +3 -3
- package/dist/{chunk-56hvemdx.js → chunk-5xj1df83.js} +17 -17
- package/dist/{chunk-b5emjcf1.js → chunk-7417f610.js} +2 -2
- package/dist/chunk-78wsn958.js +2 -0
- package/dist/chunk-7aspn183.js +2 -0
- package/dist/{chunk-gvefw19e.js → chunk-7vdsd9rn.js} +1 -1
- package/dist/{chunk-r3f9jcf7.js → chunk-849wf19d.js} +3 -3
- package/dist/{chunk-j0nyamyf.js → chunk-8ah8npj3.js} +1 -1
- package/dist/chunk-8bzc2v6z.js +2 -0
- package/dist/{chunk-8nsmx2w4.js → chunk-8fj8sm1a.js} +2 -2
- package/dist/chunk-8gk34047.js +2 -0
- package/dist/{chunk-dvja1k84.js → chunk-8nsfkr5n.js} +1 -1
- package/dist/chunk-8y4wrp43.js +2 -0
- package/dist/{chunk-cm875f73.js → chunk-90562q79.js} +2 -2
- package/dist/{chunk-bbnyq3gm.js → chunk-9ndzk9r4.js} +2 -2
- package/dist/{chunk-97tb2m44.js → chunk-9xf7yk65.js} +2 -2
- package/dist/{chunk-224x6rsx.js → chunk-a5695s8k.js} +1 -1
- package/dist/{chunk-2xnwsavq.js → chunk-afhkvj3k.js} +2 -2
- package/dist/{chunk-m4q2e418.js → chunk-b1q5sh7x.js} +2 -2
- package/dist/{chunk-w9ebf2rb.js → chunk-bderms43.js} +1 -1
- package/dist/{chunk-gmzaknjp.js → chunk-bqc07550.js} +1 -1
- package/dist/chunk-brtvd5bs.js +2 -0
- package/dist/{chunk-cmctzee2.js → chunk-bxhzs857.js} +2 -2
- package/dist/{chunk-fbhgabf2.js → chunk-cs3507d0.js} +1 -1
- package/dist/chunk-cwc3p6p7.js +2 -0
- package/dist/chunk-d3yrvve4.js +2 -0
- package/dist/chunk-dk3zazaw.js +2 -0
- package/dist/{chunk-ye27ept1.js → chunk-e593pr1r.js} +1 -1
- package/dist/chunk-e8y69gg0.js +2 -0
- package/dist/chunk-es85mgdw.js +2 -0
- package/dist/chunk-fhpfe2s3.js +2 -0
- package/dist/chunk-fmc9fj4a.js +2 -0
- package/dist/chunk-fn863yek.js +2 -0
- package/dist/{chunk-ean2kjmg.js → chunk-fp6v2dq5.js} +4 -4
- package/dist/{chunk-egaknprm.js → chunk-frv8bhmz.js} +82 -82
- package/dist/{chunk-rvbcnahe.js → chunk-g2afpsw0.js} +2 -2
- package/dist/{chunk-dn9thd0h.js → chunk-g3h7j2n7.js} +2 -2
- package/dist/chunk-g4hv6v3e.js +2 -0
- package/dist/{chunk-aa7w63xc.js → chunk-g8k5rsqq.js} +32 -32
- package/dist/{chunk-4mppjen3.js → chunk-get6k573.js} +1 -1
- package/dist/{chunk-7v163hb5.js → chunk-gm7ewgf4.js} +1 -1
- package/dist/{chunk-csjm1z0c.js → chunk-h3gdfbmf.js} +1 -1
- package/dist/chunk-hdat2brj.js +2 -0
- package/dist/{chunk-81zfdd95.js → chunk-hhjff2r8.js} +3 -3
- package/dist/{chunk-j3gcjbnm.js → chunk-hz6a476h.js} +1 -1
- package/dist/chunk-j19s8n7w.js +2 -0
- package/dist/chunk-j1h2z4wh.js +2 -0
- package/dist/chunk-j3se49h7.js +2 -0
- package/dist/{chunk-xq4jdzje.js → chunk-jn8tj4kn.js} +3 -3
- package/dist/chunk-kwsw9tc4.js +2 -0
- package/dist/{chunk-xgwempyb.js → chunk-m5298269.js} +2 -2
- package/dist/{chunk-41fbr3m6.js → chunk-mmp7x8f0.js} +1 -1
- package/dist/chunk-mtctv02d.js +2 -0
- package/dist/{chunk-4rpfmh9w.js → chunk-n5w8nwec.js} +1 -1
- package/dist/{chunk-b3e0hcw0.js → chunk-n7n9zxmh.js} +100 -100
- package/dist/chunk-nkzn1hqq.js +2 -0
- package/dist/{chunk-06qhvtsv.js → chunk-ns7e951g.js} +1 -1
- package/dist/{chunk-ca24g1fa.js → chunk-p7m673vn.js} +4 -4
- package/dist/chunk-p9shre7t.js +2 -0
- package/dist/chunk-pgnr089q.js +2 -0
- package/dist/{chunk-0xntpjmp.js → chunk-pkpmyr0x.js} +2 -2
- package/dist/{chunk-ybk279xj.js → chunk-qmfwhvcr.js} +4 -4
- package/dist/{chunk-sgxjqqvd.js → chunk-qmp7j5h4.js} +1 -1
- package/dist/chunk-rp69az5a.js +2 -0
- package/dist/{chunk-h7ny0py8.js → chunk-s6e8mmk1.js} +1 -1
- package/dist/chunk-sfvyfvbm.js +2 -0
- package/dist/{chunk-9tbevvm3.js → chunk-t01a2dfe.js} +12 -12
- package/dist/chunk-t6d5zq7d.js +2 -0
- package/dist/{chunk-mcgpeyy8.js → chunk-tehvry9a.js} +4 -4
- package/dist/{chunk-t9tg1syw.js → chunk-vbzeeeax.js} +8 -8
- package/dist/{chunk-3yws0k28.js → chunk-vnq2c0tg.js} +5 -5
- package/dist/{chunk-ak7eyyka.js → chunk-w8ek4fe8.js} +2 -2
- package/dist/chunk-wf09xg7j.js +2 -0
- package/dist/{chunk-bh432b7n.js → chunk-x4ztj64h.js} +2 -2
- package/dist/{chunk-b7x7099z.js → chunk-y6zm894z.js} +5 -5
- package/dist/{chunk-9f0srtmg.js → chunk-yfd0e7dr.js} +1 -1
- package/dist/{chunk-39726w03.js → chunk-yn3w9g2z.js} +4 -4
- package/dist/chunk-ytq686vx.js +2 -0
- package/dist/{chunk-5zpt78j4.js → chunk-yx37nrgr.js} +4 -4
- package/dist/{chunk-3wdarmh7.js → chunk-z4b0kr1z.js} +4 -4
- package/dist/{chunk-12mzd0gf.js → chunk-z72wwstp.js} +3 -3
- package/dist/chunk-zj80vrv6.js +2 -0
- package/dist/{chunk-cs15xqf0.js → chunk-zqzv5jy2.js} +4 -4
- package/dist/cli.js +12 -12
- package/dist/craft-entry.js +2 -2
- package/dist/craft.js +2 -2
- package/dist/pwa.js +3 -3
- package/dist/ssg.js +16 -16
- package/dist/utils.js +24 -9
- package/package.json +2 -2
- package/dist/chunk-0e6da0m4.js +0 -2
- package/dist/chunk-2b66v3yx.js +0 -2
- package/dist/chunk-4awtqfv7.js +0 -2
- package/dist/chunk-4ct5vj9n.js +0 -2
- package/dist/chunk-66czf70n.js +0 -2
- package/dist/chunk-7cdrpkzz.js +0 -2
- package/dist/chunk-7kyr2atb.js +0 -2
- package/dist/chunk-8bsy7r0w.js +0 -2
- package/dist/chunk-93wp5h7v.js +0 -2
- package/dist/chunk-a14zkmbp.js +0 -2
- package/dist/chunk-a8hjvjb8.js +0 -2
- package/dist/chunk-e1n2t5tk.js +0 -2
- package/dist/chunk-frys2748.js +0 -2
- package/dist/chunk-gy7t9wd0.js +0 -2
- package/dist/chunk-h15q5qan.js +0 -2
- package/dist/chunk-hvawaf7a.js +0 -2
- package/dist/chunk-k2k6engs.js +0 -2
- package/dist/chunk-kp7r61aj.js +0 -2
- package/dist/chunk-kr2phxhf.js +0 -2
- package/dist/chunk-m2k2b81v.js +0 -2
- package/dist/chunk-p2b0r3qn.js +0 -2
- package/dist/chunk-p46gy056.js +0 -2
- package/dist/chunk-p5hrdsk9.js +0 -2
- package/dist/chunk-qy8wb31b.js +0 -2
- package/dist/chunk-qzyfjyna.js +0 -2
- package/dist/chunk-rwdkh7c0.js +0 -2
- package/dist/chunk-sjgg6r0a.js +0 -2
- package/dist/chunk-tq441vbg.js +0 -2
- package/dist/chunk-vn09wm09.js +0 -2
- package/dist/chunk-xex4nkgq.js +0 -2
- package/dist/chunk-xr03p49w.js +0 -2
- package/dist/chunk-y8kz05mn.js +0 -2
- package/dist/chunk-ycmc1zpt.js +0 -2
- package/dist/chunk-ymvdbs80.js +0 -2
package/dist/ssg.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./chunk-
|
|
3
|
-
`)}class wt{cacheDir;cache=new Map;loaded=!1;salt;constructor(t,
|
|
2
|
+
import"./chunk-5xj1df83.js";import"./chunk-73h7qjgq.js";import{Qe,et,tt,nt,rt,st}from"./chunk-7417f610.js";import"./chunk-afhkvj3k.js";import"./chunk-axydabse.js";import{f,je,M,q,n,o}from"./chunk-n7n9zxmh.js";import"./chunk-zqzv5jy2.js";import{Zn}from"./chunk-g8k5rsqq.js";import"./chunk-jwpcck1b.js";import"./chunk-gm7ewgf4.js";import"./chunk-dqr5n49p.js";import"./chunk-yx37nrgr.js";import"./chunk-5vgdbqbz.js";import{ie,ft,gt}from"./chunk-vnq2c0tg.js";import{To,_o,Ro}from"./chunk-849wf19d.js";import{dt,Xt,Gt}from"./chunk-yd50awqp.js";import"./chunk-0xztxj98.js";import{a}from"./chunk-90562q79.js";import x from"fs";import g from"path";import{createHash as $t}from"crypto";function Dt(t){try{return new Bun.Transpiler({loader:"js",minifyWhitespace:!0}).transformSync(t).replace(/\}(var |let |const |function )/g,"};$1").trim()}catch{return t}}var Rt=/<script\s+type="stx\/island"\s+data-stx-island="([^"]+)"([^>]*)>([\s\S]*?)<\/script>/g;function kt(t){return Bun.hash(t).toString(16)}function lt(t,i={}){if(!t.includes('type="stx/island"'))return{html:t,chunks:[]};let s=new Map,r=t.replace(Rt,(e,l,w,y)=>{let h=y.trim();if(!h)return e;if(/\bdata-stx-src=/.test(w))return e;if(i.minify)h=Dt(h);let S=kt(h);if(!s.has(S))s.set(S,h);let P=i.integrity?` data-stx-integrity="sha384-${$t("sha384").update(h).digest("base64")}"`:"";return`<script type="stx/island" data-stx-island="${l}" data-stx-src="/_stx/islands/${S}.js"${P}${w}></script>`}),c=Array.from(s,([e,l])=>({hash:e,code:l}));return{html:r,chunks:c}}var Ct=new Set(["visible","idle"]);function ut(t){if(!t.includes("data-stx-src="))return t;let i=new Map,s=/data-stx-scope="([^"]+)"[^>]*?stx-hydrate="([^"]+)"/g,r;while((r=s.exec(t))!==null)i.set(r[1],r[2]);let c=new Set,e=/data-stx-island="([^"]+)"[^>]*?data-stx-src="([^"]+)"/g,l;while((l=e.exec(t))!==null)if(Ct.has(i.get(l[1])||""))c.add(l[2]);let w=t.lastIndexOf("</head>");if(c.size===0||w===-1)return t;let y=Array.from(c).filter((h)=>!t.includes(`rel="prefetch" href="${h}"`)).map((h)=>`<link rel="prefetch" href="${h}" as="script">`).join("");if(!y)return t;return t.slice(0,w)+y+t.slice(w)}var Et=["STX_SITE_URL","SITE_URL","URL","VERCEL_URL","CF_PAGES_URL"];function J(t){let i=t.trim();if(!i)return null;let s=/^https?:\/\//i.test(i)?i:`https://${i}`;try{return new URL(s).origin+new URL(s).pathname.replace(/\/$/,"")}catch{return null}}function It(t){for(let i of Et){let s=t[i];if(!s)continue;let r=J(s);if(r)return{url:r,source:"env",via:i}}return null}function pt(t){if(!t||typeof t!=="object")return null;let i=t,s=i.site?.url??i.url??i.app?.url;return typeof s==="string"?J(s):null}async function Bt(t){let{existsSync:i}=await import("fs"),s=await import("path");for(let r of["site.config.ts","site.config.js",".config/site.config.ts"]){let c=s.resolve(t,r);if(!i(c))continue;try{let e=await import(c),l=pt(e.default??e);if(l)return l}catch{}}return null}async function ht(t={}){let i=t.cwd??process.cwd(),s=t.env??process.env;if(t.explicit){let l=J(t.explicit);if(l)return{url:l,source:"option"}}let r=pt(t.stxConfig);if(r)return{url:r,source:"stx.config",via:"site.url"};let c=await Bt(i);if(c)return{url:c,source:"site.config",via:"url"};let e=It(s);if(e)return e;return{url:"http://localhost",source:"fallback"}}function mt(){return["No site URL configured \u2014 sitemap.xml and robots.txt will point at http://localhost."," Set one in stx.config.ts (site: { url: 'https://example.com' }), in site.config.ts,"," via --domain, or with SITE_URL in the build environment."].join(`
|
|
3
|
+
`)}class wt{cacheDir;cache=new Map;loaded=!1;salt;constructor(t,i=""){this.cacheDir=t,this.salt=i}async load(){if(this.loaded)return;let t=g.join(this.cacheDir,"build-cache.json");if(await Bun.file(t).exists())try{let i=JSON.parse(await Bun.file(t).text());for(let[s,r]of Object.entries(i))this.cache.set(s,r)}catch{}this.loaded=!0}async save(){await x.promises.mkdir(this.cacheDir,{recursive:!0});let t=g.join(this.cacheDir,"build-cache.json"),i={};for(let[s,r]of this.cache)i[s]=r;await Bun.write(t,JSON.stringify(i))}getHash(t,i){let s=x.statSync(t),r=`${this.salt}|${t}:${s.mtimeMs}`;for(let e of i)if(x.existsSync(e)){let l=x.statSync(e);r+=`:${e}:${l.mtimeMs}`}let c=0;for(let e=0;e<r.length;e++){let l=r.charCodeAt(e);c=(c<<5)-c+l,c=c&c}return Math.abs(c).toString(36)}get(t,i){let s=this.cache.get(t);if(!s)return null;let r=this.getHash(i,s.dependencies??[]);if(s.hash!==r)return this.cache.delete(t),null;return s.html}set(t,i,s,r){let c=this.getHash(i,s);this.cache.set(t,{hash:c,html:r,generatedAt:Date.now(),dependencies:s})}}class yt{cacheDir;constructor(t){this.cacheDir=t}getFilePath(t){let i=t.replace(/[^a-zA-Z0-9]/g,"_")+".json";return g.join(this.cacheDir,"isr",i)}async get(t){let i=this.getFilePath(t);if(!await Bun.file(i).exists())return null;try{return JSON.parse(await Bun.file(i).text())}catch{return null}}async set(t,i){let s=this.getFilePath(t);await x.promises.mkdir(g.dirname(s),{recursive:!0}),await Bun.write(s,JSON.stringify(i))}async invalidate(t){let i=this.getFilePath(t);if(await Bun.file(i).exists())await x.promises.unlink(i)}async invalidatePattern(t){let i=g.join(this.cacheDir,"isr");if(!x.existsSync(i))return;let s=await x.promises.readdir(i);for(let r of s){let c=r.replace(/_/g,"/").replace(".json","");if(t.test(c))await x.promises.unlink(g.join(i,r))}}async needsRevalidation(t){let i=await this.get(t);if(!i)return!0;return Date.now()>i.revalidateAfter}}async function jt(t){try{let s=(await Bun.file(t).text()).match(/<script\s+server\b[^>]*>([\s\S]*?)<\/script>/i);if(!s)return null;let r=s[1];if(!r.includes("getStaticPaths"))return null;let c=r.match(/(?:export\s+)?(?:async\s+)?function\s+getStaticPaths\s*\([^)]*\)\s*\{([\s\S]*?)\n[\t ]*\}/);if(!c)return null;return await Function(`
|
|
4
4
|
return (async function getStaticPaths() {
|
|
5
5
|
${c[1]}
|
|
6
6
|
})()
|
|
7
|
-
`)()}catch(
|
|
7
|
+
`)()}catch(i){return console.error(`Error extracting static paths from ${t}:`,i),null}}async function Ft(t){let i=[];if(!t.isDynamic)i.push({url:t.pattern,params:{}});else{let s=await jt(t.filePath);if(!s||s.paths.length===0)return console.warn(`Warning: Dynamic route ${t.pattern} has no getStaticPaths or returned empty paths`),i;for(let r of s.paths){let c=t.pattern;for(let[e,l]of Object.entries(r.params))c=c.replace(`:${e}`,l).replace(`:${e}*`,l);i.push({url:c,params:r.params,props:r.props,revalidate:r.revalidate})}}return i}async function Ot(t){let i=[t.replace(/\.stx$/,".data.ts"),t.replace(/\.stx$/,".data.js"),t+".data.ts",t+".data.js"];for(let s of i)if(await Bun.file(s).exists())try{let r=await import(s);if(typeof r.default==="function")return await r.default();else if(typeof r.default==="object")return r.default;else if(typeof r.getData==="function")return await r.getData();else{let{default:c,...e}=r;return e}}catch(r){console.error(`Error loading data file ${s}:`,r)}return null}async function Tt(t,i,s){let r=t.match(/<script\s+server\b[^>]*>([\s\S]*?)<\/script>/i);if(!r)return null;let c=r[1];if(!c.includes("getStaticProps"))return null;try{let e=c.match(/(?:export\s+)?(?:async\s+)?function\s+getStaticProps\s*\([^)]*\)\s*\{([\s\S]*?)\n\}/);if(!e)return null;return await Function("params",`
|
|
8
8
|
return (async function getStaticProps() {
|
|
9
9
|
${e[1]}
|
|
10
10
|
})()
|
|
11
|
-
`)(
|
|
12
|
-
resolved against partialsDir: ${b.partialsDir}`)},onServerScriptError:(b)=>{P.push(`${g.relative(process.cwd(),b.sourcePath)} (${b.kind}): ${b.message}`)}};if(At(e))console.warn(`Warning: ${t.pattern} exports a page action, which cannot run in a static build. Its form will submit to a file. Serve this route with the production server, or point the form's action at a route handler.`);let p=await n(e,y,t.filePath,D,h);for(let b of[t.filePath,...h])for(let B of
|
|
11
|
+
`)(i)}catch(e){return console.error(`Error executing getStaticProps in ${s}:`,e),null}}function At(t){return/(?:^|[^\w$.])(?:export\s+)?(?:async\s+)?function\s+action\s*\(/.test(t)||/(?:^|[^\w$.])(?:export\s+)?(?:const|let|var)\s+action\s*=/.test(t)}async function St(t,i,s={},r,c){let e=await Bun.file(t.filePath).text(),l=await Ot(t.filePath),w=await Tt(e,i,t.filePath),y={...l||{},...w||{},...s,params:i,$route:{path:t.pattern,params:i}},h=new Set,S=[],P=[],D={...c,...r.partialsDir?{partialsDir:r.partialsDir}:{},...r.componentsDir?{componentsDir:r.componentsDir}:{},debug:!1,cache:!1,autoShell:!0,onIncludeError:(b)=>{S.push(`${g.relative(process.cwd(),b.templatePath)}: ${b.message}
|
|
12
|
+
resolved against partialsDir: ${b.partialsDir}`)},onServerScriptError:(b)=>{P.push(`${g.relative(process.cwd(),b.sourcePath)} (${b.kind}): ${b.message}`)}};if(At(e))console.warn(`Warning: ${t.pattern} exports a page action, which cannot run in a static build. Its form will submit to a file. Serve this route with the production server, or point the form's action at a route handler.`);let p=await n(e,y,t.filePath,D,h);for(let b of[t.filePath,...h])for(let B of ie(b))h.add(B);if(Object.keys(i).length>0){let b=`<script>if(window.stx)window.stx._rp=${JSON.stringify(i)};else window.__stx_rp=${JSON.stringify(i)};</script>`;if(p.includes("</head>"))p=p.replace("</head>",`${b}
|
|
13
13
|
</head>`);else p=`${b}
|
|
14
|
-
${p}`}if(p=await q(p,{router:r.router}),p=await f(p),r.minify!==!1)return{html:Lt(p),dependencies:Array.from(h),includeFailures:S,serverScriptFailures:P};return{html:p,dependencies:Array.from(h),includeFailures:S,serverScriptFailures:P}}function Lt(t){let
|
|
14
|
+
${p}`}if(p=await q(p,{router:r.router}),p=await f(p),r.minify!==!1)return{html:Lt(p),dependencies:Array.from(h),includeFailures:S,serverScriptFailures:P};return{html:p,dependencies:Array.from(h),includeFailures:S,serverScriptFailures:P}}function Lt(t){let i=[],s=0,r=/(<script[^>]*>)([\s\S]*?)(<\/script>)/gi,c;while((c=r.exec(t))!==null){let l=t.slice(s,c.index);i.push(l.replace(/<!--(?!\[if)[\s\S]*?-->/g,"").replace(/\s+/g," ").replace(/>\s+</g,"><"));let w=c[1],y=c[2],h=c[3];y=y.replace(/([^:"\\'`])\/\/(?!\/)(?![*!])([^\n]*)/g,"$1"),i.push(w+y+h),s=c.index+c[0].length}let e=t.slice(s);return i.push(e.replace(/<!--(?!\[if)[\s\S]*?-->/g,"").replace(/\s+/g," ").replace(/>\s+</g,"><")),i.join("").trim()}function Mt(t){let i=0;for(let s=0;s<t.length;s++){let r=t.charCodeAt(s);i=(i<<5)-i+r,i=i&i}return`"${Math.abs(i).toString(36)}"`}function Ut(t,i,s,r){if(s?.sitemap===!1)return!0;if(/<meta[^>]+name=["']robots["'][^>]+content=["'][^"']*noindex/i.test(i))return!0;return r.some((c)=>{if(c instanceof RegExp)return c.test(t);return c.endsWith("/")?t===c.slice(0,-1)||t.startsWith(c):t===c})}function _t(t,i){return`<?xml version="1.0" encoding="UTF-8"?>
|
|
15
15
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
|
16
|
-
${t.map((r)=>{let c=new URL(r.loc,
|
|
16
|
+
${t.map((r)=>{let c=new URL(r.loc,i).href,e=` <url>
|
|
17
17
|
<loc>${I(c)}</loc>`;if(r.lastmod)e+=`
|
|
18
18
|
<lastmod>${r.lastmod}</lastmod>`;if(r.changefreq)e+=`
|
|
19
19
|
<changefreq>${r.changefreq}</changefreq>`;if(r.priority!==void 0)e+=`
|
|
20
20
|
<priority>${r.priority}</priority>`;return e+=`
|
|
21
21
|
</url>`,e}).join(`
|
|
22
22
|
`)}
|
|
23
|
-
</urlset>`}function I(t){return t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function Nt(t,
|
|
23
|
+
</urlset>`}function I(t){return t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function Nt(t,i){let s=i.map((r)=>{let c=" <item>";if(c+=`
|
|
24
24
|
<title>${I(r.title)}</title>`,c+=`
|
|
25
25
|
<link>${I(r.link)}</link>`,r.description)c+=`
|
|
26
26
|
<description>${I(r.description)}</description>`;if(r.pubDate)c+=`
|
|
@@ -38,13 +38,13 @@ ${t.map((r)=>{let c=new URL(r.loc,s).href,e=` <url>
|
|
|
38
38
|
${t.copyright?`<copyright>${I(t.copyright)}</copyright>`:""}
|
|
39
39
|
<lastBuildDate>${new Date().toUTCString()}</lastBuildDate>
|
|
40
40
|
<atom:link href="${t.link}/rss.xml" rel="self" type="application/rss+xml"/>
|
|
41
|
-
${
|
|
41
|
+
${s.join(`
|
|
42
42
|
`)}
|
|
43
43
|
</channel>
|
|
44
|
-
</rss>`}async function zt(t={}){let
|
|
44
|
+
</rss>`}async function zt(t={}){let i=Date.now();gt();let s=await o(process.cwd()),r=s.build||{},c=await ht({explicit:t.domain||r.domain,stxConfig:s});if(c.source==="fallback"&&(t.sitemap??r.sitemap??!0))console.warn(mt());let e={router:t.router??s?.router??{},pagesDir:t.pagesDir||r.pagesDir||"pages",outputDir:t.outputDir||r.outputDir||"dist",baseUrl:t.baseUrl||r.baseUrl||"/",domain:c.url,revalidate:t.revalidate??r.revalidate??!1,sitemap:t.sitemap??r.sitemap??!0,sitemapExclude:t.sitemapExclude||r.sitemapExclude||[],robots:t.robots??r.robots??!0,rss:t.rss??r.rss??!1,concurrency:t.concurrency||r.concurrency||10,cache:t.cache??r.cache??!0,cacheDir:t.cacheDir||r.cacheDir||a(process.cwd(),"ssg-cache"),contentLoaders:t.contentLoaders||[],hooks:t.hooks||{},minify:t.minify??r.minify??!0,generate404:t.generate404??r.generate404??!0,publicDir:t.publicDir||r.publicDir||"public",trailingSlash:t.trailingSlash??r.trailingSlash??!1,cleanOutput:t.cleanOutput??r.cleanOutput??!0,cacheSalt:t.cacheSalt??"",partialsDir:t.partialsDir||s?.partialsDir||"",componentsDir:t.componentsDir||s?.componentsDir||"",failOnIncludeError:t.failOnIncludeError??!0,failOnServerScriptError:t.failOnServerScriptError??!0,chunkIslands:t.chunkIslands===!0,prefetchIslands:t.prefetchIslands===!0,integrityIslands:t.integrityIslands===!0},l={totalPages:0,successCount:0,failedCount:0,cachedCount:0,buildTime:0,pages:[],errors:[]},w=new Set,y=0,h={},S={};await e.hooks.onBuildStart?.();try{if(e.cleanOutput&&x.existsSync(e.outputDir))await x.promises.rm(e.outputDir,{recursive:!0});await x.promises.mkdir(e.outputDir,{recursive:!0});let D=e.cacheSalt;if(!D){let{resolveUserCssConfig:u,fingerprintConfig:m}=await import("./chunk-pgnr089q.js");try{D=m(await u(process.cwd()))}catch{}}let{prepareImageDelivery:p}=await import("./chunk-13raxes0.js"),b=await p(e.publicDir,e.outputDir);if(b.count>0)console.log(`Optimized ${b.count} image(s) for responsive delivery`),D=[D,b.fingerprint].filter(Boolean).join(":");let B=new wt(e.cacheDir,D);if(e.cache)await B.load();try{let{generateCss:u}=await import("./chunk-pgnr089q.js");await u('<div class="bg-black"></div>')}catch{}Qe();let xt=s?.routeMiddleware?.dir||"middleware";await tt(process.cwd(),xt);let H=et();if(H.length>0)console.log(`Loaded ${H.length} middleware: ${H.join(", ")}`);let vt=s?.routeMiddleware?.global||[];Ro(s?.layoutsDir,a(process.cwd()));let K=M(".",{pagesDir:e.pagesDir,pagesDirs:s?._layerPageDirs});console.log(`Found ${K.length} routes`);let G=[];for(let u of K){let m=await Ft(u);for(let v of m)G.push({route:u,url:v.url,params:v.params,props:v.props,revalidate:v.revalidate??e.revalidate})}l.totalPages=G.length,console.log(`Generating ${l.totalPages} pages...`);let A=[],X=[];for(let u=0;u<G.length;u+=e.concurrency)X.push(G.slice(u,u+e.concurrency));for(let u of X)await Promise.all(u.map(async(m)=>{let{route:v,url:d,params:L,props:bt,revalidate:Q}=m;try{await e.hooks.onPageStart?.(d);let j=await Bun.file(v.filePath).text(),F=Jt(j),Pt=F?.middleware?Array.isArray(F.middleware)?F.middleware:[F.middleware]:[],it=[...vt,...Pt];if(it.length>0){let C=nt(d,L,F||{}),O=rt(C,null,void 0,{isServer:!0}),E=await st(it,O);if(E.redirect){let R=typeof E.redirect==="string"?E.redirect:E.redirect.path||E.redirect,_=Vt(String(R),d),T=Kt(d,e);await x.promises.mkdir(g.dirname(T),{recursive:!0}),await Bun.write(T,_),l.successCount++,l.pages.push({route:d,outputPath:T,size:Buffer.byteLength(_),cached:!1}),A.push({loc:d,lastmod:new Date().toISOString()}),console.log(` \u21B3 ${d} \u2192 redirect to ${R}`);return}if(E.abort){let R=typeof E.abort==="string"?E.abort:E.abort?.error?.message||"aborted";console.warn(` \u21B3 ${d} \u2014 middleware aborted: ${R}`);return}}let at=j.match(/definePageMeta\s*\(\s*\{[\s\S]*?validate\s*:\s*((?:\([^)]*\)|[^,}])*(?:\{[\s\S]*?\})?)/m);if(at)try{if(!await Function("route",`
|
|
45
45
|
const validate = ${at[1]};
|
|
46
46
|
return validate(route);
|
|
47
|
-
`)({params:L})){console.warn(`Validation failed for ${d}, skipping...`);return}}catch{}let k=null,ot=!1;if(e.cache){if(k=B.get(d,v.filePath),k)ot=!0,l.cachedCount++}if(!k){let C=await St(v,L,bt,e,
|
|
47
|
+
`)({params:L})){console.warn(`Validation failed for ${d}, skipping...`);return}}catch{}let k=null,ot=!1;if(e.cache){if(k=B.get(d,v.filePath),k)ot=!0,l.cachedCount++}if(!k){let C=await St(v,L,bt,e,s);if(k=C.html,e.failOnIncludeError&&C.includeFailures.length>0)throw Error(`${C.includeFailures.length} include(s) failed to resolve, so this page would have shipped with an error banner where the markup should be:
|
|
48
48
|
${C.includeFailures.join(`
|
|
49
49
|
`)}
|
|
50
50
|
Set ssg.failOnIncludeError to false to build anyway.`);if(e.failOnServerScriptError&&C.serverScriptFailures.length>0)throw Error(`${C.serverScriptFailures.length} <script server> block(s) failed, so this page would have shipped with the content they produce missing:
|
|
@@ -52,7 +52,7 @@ Set ssg.failOnIncludeError to false to build anyway.`);if(e.failOnServerScriptEr
|
|
|
52
52
|
`)}
|
|
53
53
|
Set ssg.failOnServerScriptError to false to build anyway.`);if(e.cache)B.set(d,v.filePath,C.dependencies,k)}let U;if(e.trailingSlash)U=g.join(e.outputDir,d,"index.html");else U=d==="/"?g.join(e.outputDir,"index.html"):g.join(e.outputDir,`${d}.html`);if(e.chunkIslands){let{html:C,chunks:O}=lt(k,{integrity:e.integrityIslands,minify:e.minify});if(O.length>0){let E=g.join(e.outputDir,"_stx","islands");await x.promises.mkdir(E,{recursive:!0});for(let R of O){let _=g.join(E,`${R.hash}.js`);if(!await Bun.file(_).exists())await Bun.write(_,R.code);if(!w.has(R.hash)){w.add(R.hash);let T=Buffer.byteLength(R.code,"utf8");y+=T,h[R.hash]={bytes:T,file:`/_stx/islands/${R.hash}.js`}}}if(S[d]=O.map((R)=>R.hash),k=C,e.prefetchIslands)k=ut(k)}}if(await x.promises.mkdir(g.dirname(U),{recursive:!0}),await Bun.write(U,k),!Ut(d,k,F,e.sitemapExclude))A.push({loc:d,lastmod:new Date().toISOString().split("T")[0],priority:d==="/"?1:0.8});let ct={route:d,outputPath:U,size:Buffer.byteLength(k,"utf8"),cached:ot};if(Q!==!1)ct.revalidateAt=Date.now()+Q*1000;l.pages.push(ct),l.successCount++,await e.hooks.onPageEnd?.(d,k)}catch(j){l.failedCount++,l.errors.push({route:d,error:j}),await e.hooks.onError?.(j,d),console.error(`Error generating ${d}:`,j)}}));let Y=ft();if(Y.length>0){let u=Y.map((m)=>`${m.filePath}: ${m.message}`).join(`
|
|
54
54
|
`);throw Error(`Client script bundling failed:
|
|
55
|
-
${u}`)}if(e.cache)await B.save();if(e.generate404){let u=g.join(e.pagesDir,"404.stx");if(await Bun.file(u).exists()){let m=new Set,v={...
|
|
55
|
+
${u}`)}if(e.cache)await B.save();if(e.generate404){let u=g.join(e.pagesDir,"404.stx");if(await Bun.file(u).exists()){let m=new Set,v={...s,debug:!1,cache:!1},d=await n(await Bun.file(u).text(),{},u,v,m);await Bun.write(g.join(e.outputDir,"404.html"),d)}else await Bun.write(g.join(e.outputDir,"404.html"),`<!DOCTYPE html>
|
|
56
56
|
<html lang="en">
|
|
57
57
|
<head>
|
|
58
58
|
<meta charset="UTF-8">
|
|
@@ -73,7 +73,7 @@ ${u}`)}if(e.cache)await B.save();if(e.generate404){let u=g.join(e.pagesDir,"404.
|
|
|
73
73
|
<a href="/">Go home</a>
|
|
74
74
|
</div>
|
|
75
75
|
</body>
|
|
76
|
-
</html>`)}for(let u of[500]){let m=g.join(e.pagesDir,`${u}.stx`);if(await Bun.file(m).exists()){let v=new Set,d={...
|
|
76
|
+
</html>`)}for(let u of[500]){let m=g.join(e.pagesDir,`${u}.stx`);if(await Bun.file(m).exists()){let v=new Set,d={...s,debug:!1,cache:!1},L=await n(await Bun.file(m).text(),{},m,d,v);await Bun.write(g.join(e.outputDir,`${u}.html`),L)}}let W=g.join(e.pagesDir,"error.stx");if(await Bun.file(W).exists()){let u=new Set,m={...s,debug:!1,cache:!1},v=await n(await Bun.file(W).text(),{},W,m,u);await Bun.write(g.join(e.outputDir,"error.html"),v)}if(e.sitemap&&A.length>0){let u=_t(A,e.domain),m=g.join(e.outputDir,"sitemap.xml");await Bun.write(m,u),l.sitemapPath=m,console.log(`Generated sitemap.xml with ${A.length} URLs`)}if(e.robots!==!1){let u=typeof e.robots==="object"?e.robots:{},m=[...e.sitemapExclude.filter((d)=>typeof d==="string"),...u.disallow||[]],v=Zn({rules:[{userAgent:u.userAgent||"*",allow:u.allow||["/"],...m.length>0?{disallow:m}:{}}],...u.sitemap!==!1&&l.sitemapPath?{sitemap:new URL("/sitemap.xml",e.domain).href}:{}});await Bun.write(g.join(e.outputDir,"robots.txt"),v),console.log("Generated robots.txt")}if(e.rss){let u=typeof e.rss==="object"?e.rss:{title:"Site Feed",description:"Latest updates",link:e.domain},m=[];if(u.getItems)m=await u.getItems();let v=Nt(u,m),d=g.join(e.outputDir,"rss.xml");await Bun.write(d,v),l.rssPath=d,console.log(`Generated rss.xml with ${m.length} items`)}let N=To(e.outputDir);if(N.assets>0)console.log(`Externalized ${N.assets} asset(s) from ${N.pages} page(s) (${(N.bytesInlined/1024).toFixed(1)}KB removed from HTML)`);let z=_o(e.outputDir);if(z.assets>0)console.log(`Externalized ${z.assets} repeated asset(s) from ${z.pages} page(s) (${(z.bytesInlined/1024).toFixed(1)}KB removed from HTML)`);if(e.publicDir&&x.existsSync(e.publicDir))await V(e.publicDir,e.outputDir),console.log(`Copied public assets from ${e.publicDir}`);let Z=Gt();if(Z)await V(Z,g.join(e.outputDir,Xt)),console.log(`Copied assets from ${dt}`)}catch(D){throw await e.hooks.onError?.(D),D}if(l.buildTime=Date.now()-i,w.size>0){l.islandChunks={count:w.size,totalBytes:y};let D={generatedChunks:w.size,totalBytes:y,chunks:h,pages:S};await Bun.write(g.join(e.outputDir,"_stx","islands-manifest.json"),JSON.stringify(D,null,2))}await e.hooks.onBuildEnd?.(l);let P=l.islandChunks?`
|
|
77
77
|
Island chunks: ${l.islandChunks.count} (${(l.islandChunks.totalBytes/1024).toFixed(1)} KB lifted out of inline HTML)`:"";return console.log(`
|
|
78
78
|
Build complete!
|
|
79
79
|
Total: ${l.totalPages} pages
|
|
@@ -81,8 +81,8 @@ Build complete!
|
|
|
81
81
|
Cached: ${l.cachedCount}
|
|
82
82
|
Failed: ${l.failedCount}
|
|
83
83
|
Time: ${l.buildTime}ms${P}
|
|
84
|
-
`),l}async function V(t,
|
|
85
|
-
`)){let P=S.indexOf(":");if(P>0){let D=S.slice(0,P).trim(),p=S.slice(P+1).trim();if(p==="true")p=!0;else if(p==="false")p=!1;else if(/^\d+$/.test(p))p=parseInt(p,10);else if(/^\d+\.\d+$/.test(p))p=parseFloat(p);else if(p.startsWith("[")&&p.endsWith("]"))p=p.slice(1,-1).split(",").map((b)=>b.trim().replace(/^['"]|['"]$/g,""));r[D]=p}}}let e=c.replace(/^### (.*$)/gim,"<h3>$1</h3>").replace(/^## (.*$)/gim,"<h2>$1</h2>").replace(/^# (.*$)/gim,"<h1>$1</h1>").replace(/\*\*(.*)\*\*/gim,"<strong>$1</strong>").replace(/\*(.*)\*/gim,"<em>$1</em>").replace(/`([^`]+)`/gim,"<code>$1</code>").replace(/\[([^\]]+)\]\(([^)]+)\)/gim,'<a href="$2">$1</a>').replace(/\n/gim,"<br>"),l=[],w=/<h([1-6])>([^<]+)<\/h[1-6]>/gi,y;while((y=w.exec(e))!==null){let h=parseInt(y[1],10),S=y[2],P=S.toLowerCase().replace(/[^a-z0-9]+/g,"-");l.push({id:P,text:S,level:h})}return{content:e,data:r,toc:l}}}}function Jt(t){return je(t)}function Vt(t,
|
|
84
|
+
`),l}async function V(t,i){await x.promises.mkdir(i,{recursive:!0});let s=await x.promises.readdir(t,{withFileTypes:!0});for(let r of s){let c=g.join(t,r.name),e=g.join(i,r.name);if(r.isDirectory())await x.promises.mkdir(e,{recursive:!0}),await V(c,e);else await x.promises.copyFile(c,e)}}function Ht(t={}){let i=t.cacheDir||a(process.cwd(),"ssg-cache"),s=new yt(i),r=t.revalidate||3600;return{async get(c){let e=await s.get(c);if(!e)return null;if(Date.now()>e.revalidateAfter)this.revalidate(c).catch(console.error);return{html:e.html,headers:{"Cache-Control":`public, max-age=${r}, stale-while-revalidate=${r*2}`,ETag:e.etag,"X-ISR-Generated":new Date(e.generatedAt).toISOString(),...e.headers}}},async revalidate(c){let l=M(".",{pagesDir:t.pagesDir||"pages"}).find((P)=>c.match(P.regex)!==null);if(!l){console.warn(`Route not found for revalidation: ${c}`);return}let w=c.match(l.regex),y={};if(w)l.params.forEach((P,D)=>{y[P]=w[D+1]});let h=await o(),{html:S}=await St(l,y,{},t,h);await s.set(c,{html:S,generatedAt:Date.now(),revalidateAfter:Date.now()+r*1000,etag:Mt(S)}),console.log(`Revalidated: ${c}`)},async invalidate(c){if(typeof c==="string")await s.invalidate(c);else await s.invalidatePattern(c)}}}function Wt(t){return async()=>({paths:await t(),fallback:!1})}function qt(){return{name:"markdown",extensions:[".md",".mdx"],async load(t){let i=await Bun.file(t).text(),s=i.match(/^---\n([\s\S]*?)\n---/),r={},c=i;if(s){let h=s[1];c=i.slice(s[0].length).trim();for(let S of h.split(`
|
|
85
|
+
`)){let P=S.indexOf(":");if(P>0){let D=S.slice(0,P).trim(),p=S.slice(P+1).trim();if(p==="true")p=!0;else if(p==="false")p=!1;else if(/^\d+$/.test(p))p=parseInt(p,10);else if(/^\d+\.\d+$/.test(p))p=parseFloat(p);else if(p.startsWith("[")&&p.endsWith("]"))p=p.slice(1,-1).split(",").map((b)=>b.trim().replace(/^['"]|['"]$/g,""));r[D]=p}}}let e=c.replace(/^### (.*$)/gim,"<h3>$1</h3>").replace(/^## (.*$)/gim,"<h2>$1</h2>").replace(/^# (.*$)/gim,"<h1>$1</h1>").replace(/\*\*(.*)\*\*/gim,"<strong>$1</strong>").replace(/\*(.*)\*/gim,"<em>$1</em>").replace(/`([^`]+)`/gim,"<code>$1</code>").replace(/\[([^\]]+)\]\(([^)]+)\)/gim,'<a href="$2">$1</a>').replace(/\n/gim,"<br>"),l=[],w=/<h([1-6])>([^<]+)<\/h[1-6]>/gi,y;while((y=w.exec(e))!==null){let h=parseInt(y[1],10),S=y[2],P=S.toLowerCase().replace(/[^a-z0-9]+/g,"-");l.push({id:P,text:S,level:h})}return{content:e,data:r,toc:l}}}}function Jt(t){return je(t)}function Vt(t,i){return`<!DOCTYPE html>
|
|
86
86
|
<html>
|
|
87
87
|
<head>
|
|
88
88
|
<meta charset="utf-8">
|
|
@@ -94,4 +94,4 @@ Build complete!
|
|
|
94
94
|
<p>Redirecting to <a href="${t}">${t}</a>...</p>
|
|
95
95
|
<script>window.location.replace('${t}')</script>
|
|
96
96
|
</body>
|
|
97
|
-
</html>`}function Kt(t,
|
|
97
|
+
</html>`}function Kt(t,i){if(t==="/"||t==="")return g.join(i.outputDir,"index.html");let s=t.replace(/^\/|\/$/g,"");if(i.trailingSlash)return g.join(i.outputDir,s,"index.html");return g.join(i.outputDir,`${s}.html`)}var Se={generateStaticSite:zt,createISRHandler:Ht,defineStaticPaths:Wt,createMarkdownLoader:qt};export{Ht as createISRHandler,qt as createMarkdownLoader,At as declaresPageAction,Se as default,Wt as defineStaticPaths,zt as generateStaticSite,Ut as isExcludedFromSitemap};
|
package/dist/utils.js
CHANGED
|
@@ -64,20 +64,34 @@ function serializeComponentRenderInput(value) {
|
|
|
64
64
|
if (seen.has(input))
|
|
65
65
|
throw TypeError("Circular component input");
|
|
66
66
|
seen.add(input);
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
67
|
+
try {
|
|
68
|
+
if (input instanceof Date)
|
|
69
|
+
return { __stxType: "date", value: input.toISOString() };
|
|
70
|
+
if (Array.isArray(input))
|
|
71
|
+
return input.map(normalize);
|
|
72
|
+
const prototype = Object.getPrototypeOf(input);
|
|
73
|
+
if (prototype !== Object.prototype && prototype !== null)
|
|
74
|
+
throw TypeError("Non-plain component input");
|
|
75
|
+
const normalized = {};
|
|
76
|
+
for (const key of Object.keys(input).sort())
|
|
77
|
+
normalized[key] = normalize(input[key]);
|
|
78
|
+
return normalized;
|
|
79
|
+
} finally {
|
|
80
|
+
seen.delete(input);
|
|
81
|
+
}
|
|
75
82
|
};
|
|
76
83
|
return JSON.stringify(normalize(value));
|
|
77
84
|
} catch {
|
|
78
85
|
return null;
|
|
79
86
|
}
|
|
80
87
|
}
|
|
88
|
+
function componentSlotCacheContext(context) {
|
|
89
|
+
const result = {};
|
|
90
|
+
for (const [key, value] of Object.entries(context))
|
|
91
|
+
if (!key.startsWith("__") || key === "__stxServeContext")
|
|
92
|
+
result[key] = value;
|
|
93
|
+
return result;
|
|
94
|
+
}
|
|
81
95
|
function escapeAttr(str) {
|
|
82
96
|
return str.replace(/&/g, "&").replace(/"/g, """).replace(/</g, "<").replace(/>/g, ">");
|
|
83
97
|
}
|
|
@@ -780,7 +794,8 @@ export async function renderComponentWithSlot(componentPath, props, slotContent,
|
|
|
780
794
|
if (cacheableServerComponent && appliedComponentRenderCacheBytes > 0) {
|
|
781
795
|
const serializedInput = serializeComponentRenderInput({
|
|
782
796
|
props,
|
|
783
|
-
slot:
|
|
797
|
+
slot: callerSlotContent,
|
|
798
|
+
slotContext: slotContent.trim() ? componentSlotCacheContext(filteredParentContext) : void 0,
|
|
784
799
|
buildMode: options.buildMode ?? "",
|
|
785
800
|
skipEventDirectives: options.skipEventDirectives === !0,
|
|
786
801
|
layers: options._layerGraph?.layers.map((layer) => layer.configFile),
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/stx",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.447",
|
|
5
5
|
"description": "A performant UI Framework. Powered by Bun.",
|
|
6
6
|
"author": "Chris Breuer <chris@stacksjs.org>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
"@stacksjs/desktop": "0.2.445",
|
|
126
126
|
"@stacksjs/sanitizer": "0.2.445",
|
|
127
127
|
"@stacksjs/ts-i18n": "^0.1.11",
|
|
128
|
-
"bun-plugin-stx": "0.2.
|
|
128
|
+
"bun-plugin-stx": "0.2.447",
|
|
129
129
|
"bunfig": "^0.15.19",
|
|
130
130
|
"stx-router": "0.2.445",
|
|
131
131
|
"ts-broadcasting": "^0.0.11",
|
package/dist/chunk-0e6da0m4.js
DELETED
package/dist/chunk-2b66v3yx.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{tn,nc,es}from"./chunk-b3e0hcw0.js";import"./chunk-7676qzab.js";import"./chunk-73h7qjgq.js";import"./chunk-5zpt78j4.js";import"./chunk-7v163hb5.js";import"./chunk-jwpcck1b.js";import"./chunk-aa7w63xc.js";import"./chunk-cs15xqf0.js";import{ve}from"./chunk-56hvemdx.js";import"./chunk-axydabse.js";import"./chunk-2xnwsavq.js";import"./chunk-b5emjcf1.js";import"./chunk-dqr5n49p.js";export{ve as freeIdentifiers,es as processComponents,nc as processESImports,tn as rendersAsElement};
|
package/dist/chunk-4awtqfv7.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{St,oc,ac,cc,lc,uc,d,dc,is,pc,Xi,Gi}from"./chunk-b3e0hcw0.js";import"./chunk-7676qzab.js";import"./chunk-73h7qjgq.js";import"./chunk-5zpt78j4.js";import"./chunk-7v163hb5.js";import"./chunk-jwpcck1b.js";import"./chunk-aa7w63xc.js";import"./chunk-cs15xqf0.js";import"./chunk-56hvemdx.js";import"./chunk-axydabse.js";import"./chunk-2xnwsavq.js";import"./chunk-b5emjcf1.js";import"./chunk-dqr5n49p.js";export{St as STX_ENGINE_BINDING_NAMES,is as convertToCommonJS,Xi as extractScriptFromTemplate,d as extractVariables,Gi as hasVariables,dc as isCompleteImport,uc as isMissingBindingFailure,cc as isModuleResolutionFailure,lc as isSyntaxFailure,pc as splitDeclaration,oc as stripTypeScript,ac as withoutStxReferrer};
|
package/dist/chunk-4ct5vj9n.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{Er,Tr,_r,sa,Rr,Ar,ia,Pr,Ir,di,oa}from"./chunk-m4q2e418.js";export{Er as VideoProcessorCache,di as analyzeVideo,sa as clearVideoCache,Ir as generateDASHManifest,Pr as generateHLSManifest,Rr as generatePoster,ia as generateSpriteSheet,Ar as generateThumbnails,Tr as getCachedVideoResult,oa as processVideo,_r as setCachedVideoResult};
|
package/dist/chunk-66czf70n.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{Kc}from"./chunk-gmzaknjp.js";import"./chunk-b3e0hcw0.js";import"./chunk-7676qzab.js";import"./chunk-73h7qjgq.js";import"./chunk-5zpt78j4.js";import"./chunk-7v163hb5.js";import"./chunk-jwpcck1b.js";import"./chunk-aa7w63xc.js";import"./chunk-cs15xqf0.js";import"./chunk-56hvemdx.js";import"./chunk-axydabse.js";import"./chunk-2xnwsavq.js";import"./chunk-b5emjcf1.js";import"./chunk-dqr5n49p.js";export{Kc as startInteractive};
|
package/dist/chunk-7cdrpkzz.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{Ds,Os,Ze,X,gn,ir,mn,or,ar,Tc,_c,Rc,hn,Ac,Pc,Ic,Dc,Ro,Ao,Po,Ms,Io,Oc,Qe,et,tt,nt,rt,st,Se,Mc}from"./chunk-b5emjcf1.js";export{mn as Router,Ic as abortNavigation,ir as bracketPathToRegex,Qe as clearMiddleware,Ao as createClientCookieManager,rt as createMiddlewareContext,nt as createRouteLocation,Ro as createServerCookieManager,Po as createStorageManager,Dc as defineMiddleware,_c as defineRoute,Rc as defineRoutes,or as findErrorPage,ar as formatRoutes,Os as generateRouteManifest,Ds as generateRouteTypes,Io as getMiddleware,et as getMiddlewareNames,Se as getRouterScript,Mc as getRouterScriptDev,Oc as hasMiddleware,Ze as isFileRequestPath,tt as loadMiddlewareFromDirectory,gn as matchRoute,Pc as navigateTo,X as patternToRegex,Ms as registerMiddleware,Ac as resetRoutes,hn as route,st as runMiddleware,Tc as setAppUrl};
|
package/dist/chunk-7kyr2atb.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{Au,zi,Pu,Hi,Ya,Za,vt,en,Iu,Qa,ec,tc,f}from"./chunk-b3e0hcw0.js";import"./chunk-7676qzab.js";import"./chunk-73h7qjgq.js";import"./chunk-5zpt78j4.js";import"./chunk-7v163hb5.js";import"./chunk-jwpcck1b.js";import"./chunk-aa7w63xc.js";import"./chunk-cs15xqf0.js";import"./chunk-56hvemdx.js";import"./chunk-axydabse.js";import"./chunk-2xnwsavq.js";import"./chunk-b5emjcf1.js";import"./chunk-dqr5n49p.js";export{vt as buildCss,Qa as extractClassNames,Za as fingerprintConfig,ec as generateCss,Iu as getCachedCSS,Au as getCssServeAsset,f as injectCss,zi as loadCssEngine,Hi as loadCssEngineConfig,en as rebuildCss,Pu as resetCssCache,Ya as resolveUserCssConfig,tc as withLinkedModuleBundles};
|
package/dist/chunk-8bsy7r0w.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{Jo,ll,Yo,Zo,ul,dl}from"./chunk-cmctzee2.js";import"./chunk-b3e0hcw0.js";import"./chunk-7676qzab.js";import"./chunk-73h7qjgq.js";import"./chunk-5zpt78j4.js";import"./chunk-7v163hb5.js";import"./chunk-jwpcck1b.js";import"./chunk-aa7w63xc.js";import"./chunk-cs15xqf0.js";import"./chunk-56hvemdx.js";import"./chunk-axydabse.js";import"./chunk-2xnwsavq.js";import"./chunk-b5emjcf1.js";import"./chunk-dqr5n49p.js";export{dl as applySlots,ul as extractSlotContent,ll as parseSlotElement,Jo as parseSlots,Zo as processSlots,Yo as renderSlot};
|
package/dist/chunk-93wp5h7v.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{yt,zr,Hr,Vr,hu,Ur}from"./chunk-vyw0csez.js";import"./chunk-5zpt78j4.js";import"./chunk-jwpcck1b.js";import"./chunk-b5emjcf1.js";export{Hr as buildServerApi,hu as createServerApi,yt as discoverServerApi,zr as generateApiTypes,Ur as isServerApiSource,Vr as productionApiDispatcher};
|
package/dist/chunk-a14zkmbp.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{oe,Ma,Di,ft,gt,mu,Oi,mt,Jt,Na,La,ja,Ba,ht,Fa}from"./chunk-3yws0k28.js";import"./chunk-vyw0csez.js";import"./chunk-b3e0hcw0.js";import"./chunk-7676qzab.js";import"./chunk-73h7qjgq.js";import"./chunk-5zpt78j4.js";import"./chunk-7v163hb5.js";import"./chunk-jwpcck1b.js";import"./chunk-aa7w63xc.js";import"./chunk-cs15xqf0.js";import"./chunk-56hvemdx.js";import"./chunk-axydabse.js";import"./chunk-2xnwsavq.js";import"./chunk-b5emjcf1.js";import"./chunk-dqr5n49p.js";export{Jt as MODULE_SPECIFIER_PREFIX,ht as bundleClientScript,gt as clearBundleFailures,oe as clientBundleDependencies,ft as getBundleFailures,mt as hasUserImports,La as normalizeRegistrySpecifiers,Ba as queueClientBundleBuild,Di as recordBundleFailure,Na as registryIdForPath,Oi as resolveBundlerFallback,ja as rewriteRegistryImports,mu as setBundlerFallbackMode,Ma as shouldLogBundlerDiagnostics,Fa as tempBuildName};
|
package/dist/chunk-a8hjvjb8.js
DELETED
package/dist/chunk-e1n2t5tk.js
DELETED
package/dist/chunk-frys2748.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{Mu,rc,ts,ns,Ui,Wi,rs,ss,jn,sc,qi,Ki,ic,ze}from"./chunk-b3e0hcw0.js";import"./chunk-7676qzab.js";import"./chunk-73h7qjgq.js";import"./chunk-5zpt78j4.js";import"./chunk-7v163hb5.js";import"./chunk-jwpcck1b.js";import"./chunk-aa7w63xc.js";import"./chunk-cs15xqf0.js";import"./chunk-56hvemdx.js";import"./chunk-axydabse.js";import"./chunk-2xnwsavq.js";import"./chunk-b5emjcf1.js";import"./chunk-dqr5n49p.js";export{Mu as clearScriptScanCache,rs as convertServerLoopAttributesToDirectives,Ui as convertSignalDirectivesToAttributes,ss as convertSignalLoopsToAttributes,sc as extractExports,Ki as findMarkupIndexOutsideScripts,ns as hasSignalsSyntax,ts as parseLoopExpression,Wi as preEvalLiteralReactiveIfs,jn as processScriptSetup,qi as processSignals,ic as rewriteStxImportSpecifiers,rc as scanScriptTags,ze as stripStxRuntimeImports};
|
package/dist/chunk-gy7t9wd0.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{Do,Oo}from"./chunk-egaknprm.js";import"./chunk-fmj4xvqm.js";import"./chunk-mcgpeyy8.js";import"./chunk-9tbevvm3.js";import"./chunk-8nsmx2w4.js";import"./chunk-gmzaknjp.js";import"./chunk-w9ebf2rb.js";import"./chunk-rvbcnahe.js";import"./chunk-bh432b7n.js";import"./chunk-xgwempyb.js";import"./chunk-4mppjen3.js";import{ti}from"./chunk-3wdarmh7.js";import"./chunk-9f0srtmg.js";import"./chunk-dn9thd0h.js";import"./chunk-cmctzee2.js";import"./chunk-hkx8pggg.js";import"./chunk-m4q2e418.js";import"./chunk-qa7j3j71.js";import"./chunk-s5drjm2j.js";import"./chunk-0xntpjmp.js";import"./chunk-7mbx7dzg.js";import"./chunk-97tb2m44.js";import"./chunk-n9jn3qzw.js";import"./chunk-dwp3knc4.js";import"./chunk-hqywyyez.js";import"./chunk-mnz6bdp3.js";import"./chunk-0vbpcef6.js";import"./chunk-nw8p8eg9.js";import"./chunk-12mzd0gf.js";import"./chunk-ca24g1fa.js";import"./chunk-b7x7099z.js";import"./chunk-39726w03.js";import"./chunk-r3f9jcf7.js";import"./chunk-3yws0k28.js";import"./chunk-vyw0csez.js";import{me,Zt,Qt,q,d,n,qn,A,i,ce}from"./chunk-b3e0hcw0.js";import"./chunk-7676qzab.js";import"./chunk-73h7qjgq.js";import"./chunk-5zpt78j4.js";import"./chunk-7v163hb5.js";import"./chunk-jwpcck1b.js";import"./chunk-aa7w63xc.js";import"./chunk-cs15xqf0.js";import"./chunk-56hvemdx.js";import"./chunk-axydabse.js";import"./chunk-2xnwsavq.js";import"./chunk-b5emjcf1.js";import"./chunk-dqr5n49p.js";export{qn as buildWebComponents,Qt as cacheTemplate,Zt as checkCache,ti as classifyAllScripts,Do as createMiddleware,Oo as createRoute,A as defaultConfig,d as extractVariables,q as injectRouterScript,i as loadStxConfig,me as processClientScript,n as processDirectives,ce as readMarkdownFile};
|
package/dist/chunk-h15q5qan.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{Me,Xa,ku,Cu,$u,Eu,Ga,Ja,Tu,_u,Fi,Ru,Zt,Qt,On}from"./chunk-b3e0hcw0.js";import"./chunk-7676qzab.js";import"./chunk-73h7qjgq.js";import"./chunk-5zpt78j4.js";import"./chunk-7v163hb5.js";import"./chunk-jwpcck1b.js";import"./chunk-aa7w63xc.js";import"./chunk-cs15xqf0.js";import"./chunk-56hvemdx.js";import"./chunk-axydabse.js";import"./chunk-2xnwsavq.js";import"./chunk-b5emjcf1.js";import"./chunk-dqr5n49p.js";export{Eu as __setSignalsGeneratorsForTest,Me as cacheEngineFingerprint,Qt as cacheTemplate,Zt as checkCache,Ru as clearDevCaches,Ja as getCachedRouterScript,Ga as getCachedSignalsRuntime,Tu as getServeClientAsset,Fi as getServeModuleBundle,On as hashFilePath,Cu as invalidateFileCache,$u as invalidateFileCacheByDir,ku as readFileCached,_u as registerServeModuleBundle,Xa as templateCache};
|
package/dist/chunk-hvawaf7a.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{q,ds,ps,gs,n}from"./chunk-b3e0hcw0.js";import"./chunk-7676qzab.js";import"./chunk-73h7qjgq.js";import"./chunk-5zpt78j4.js";import"./chunk-7v163hb5.js";import"./chunk-jwpcck1b.js";import"./chunk-aa7w63xc.js";import"./chunk-cs15xqf0.js";import"./chunk-56hvemdx.js";import"./chunk-axydabse.js";import"./chunk-2xnwsavq.js";import"./chunk-b5emjcf1.js";import"./chunk-dqr5n49p.js";export{q as injectRouterScript,n as processDirectives,ds as processJsonDirective,ps as processOnceDirective,gs as validateClientScript};
|
package/dist/chunk-k2k6engs.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{Mo,Js,No,Lo,Ys,jo,Bo,Fo,zo,Zs,Ho,Hc}from"./chunk-mcgpeyy8.js";import{ei,Xo}from"./chunk-bh432b7n.js";import{L,j,B,Dt,G,se,Cn,Re,ut,Ot,Mt,Nt,F,Lt,jt,$n}from"./chunk-dn9thd0h.js";import{$a}from"./chunk-7mbx7dzg.js";export{j as DEFAULT_FORMATS,B as DEFAULT_QUALITY,L as DEFAULT_WIDTHS,$n as ImageProcessingError,Lo as clearImageCache,Ys as createImageDirective,Xo as createImageHandler,Bo as createImagePlugin,Hc as defaultImageConfig,jt as formatSize,Zs as generateImageManifest,ut as generateSizes,Re as generateSrcSet,Ot as getFallbackVariant,Cn as getImageMetadata,F as getMimeType,Lt as getTotalSize,Mt as groupVariantsByFormat,ei as handleImageRequest,jo as imageDirective,G as isImageBackendAvailable,Nt as isImageFile,Dt as isSharpAvailable,zo as optimizeDirectory,Fo as optimizeImage,Js as parseImageComponent,se as processImage,No as processImageComponents,Mo as renderImageComponent,$a as rewriteImagesWithSiblings,Ho as writeImageManifest};
|
package/dist/chunk-kp7r61aj.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{al}from"./chunk-4mppjen3.js";import"./chunk-3wdarmh7.js";import"./chunk-vyw0csez.js";import"./chunk-b3e0hcw0.js";import"./chunk-7676qzab.js";import"./chunk-73h7qjgq.js";import"./chunk-5zpt78j4.js";import"./chunk-7v163hb5.js";import"./chunk-jwpcck1b.js";import"./chunk-aa7w63xc.js";import"./chunk-cs15xqf0.js";import"./chunk-56hvemdx.js";import"./chunk-axydabse.js";import"./chunk-2xnwsavq.js";import"./chunk-b5emjcf1.js";import"./chunk-dqr5n49p.js";export{al as startProductionServer};
|
package/dist/chunk-kr2phxhf.js
DELETED
package/dist/chunk-m2k2b81v.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{ol}from"./chunk-xgwempyb.js";import"./chunk-b3e0hcw0.js";import"./chunk-7676qzab.js";import"./chunk-73h7qjgq.js";import"./chunk-5zpt78j4.js";import"./chunk-7v163hb5.js";import"./chunk-jwpcck1b.js";import"./chunk-aa7w63xc.js";import"./chunk-cs15xqf0.js";import"./chunk-56hvemdx.js";import"./chunk-axydabse.js";import"./chunk-2xnwsavq.js";import"./chunk-b5emjcf1.js";import"./chunk-dqr5n49p.js";export{ol as buildApp};
|
package/dist/chunk-p2b0r3qn.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{Yl,mi,Ea,Zl,Ql,eu,tu,nu,Ta,_a,ru,su,iu,ou}from"./chunk-b7x7099z.js";import"./chunk-b3e0hcw0.js";import"./chunk-7676qzab.js";import"./chunk-73h7qjgq.js";import"./chunk-5zpt78j4.js";import"./chunk-7v163hb5.js";import"./chunk-jwpcck1b.js";import"./chunk-aa7w63xc.js";import"./chunk-cs15xqf0.js";import"./chunk-56hvemdx.js";import"./chunk-axydabse.js";import"./chunk-2xnwsavq.js";import"./chunk-b5emjcf1.js";import"./chunk-dqr5n49p.js";export{Ea as SUSPENSE_RESOLVER_RUNTIME,mi as buildSuspenseResolveScript,nu as createStreamRenderer,eu as extractStreamBoundaries,ou as generateHydrationRuntime,_a as islandDirective,su as processSectionDirectives,Ql as processStreamDirectives,ru as registerStreamingDirectives,Zl as renderStreamingPage,Yl as streamTemplate,tu as streamTemplateSimple,iu as streamToResponse,Ta as streamingSuspenseDirective};
|
package/dist/chunk-p46gy056.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{d,is,Xi,Gi,mc,hc,yc,bc,wc,vc,Ve,N,Ue,xc,Un,Sc,oo,kc,We,r,Wn,ao,g,ee,ju}from"./chunk-b3e0hcw0.js";import"./chunk-7676qzab.js";import"./chunk-73h7qjgq.js";import"./chunk-5zpt78j4.js";import"./chunk-7v163hb5.js";import"./chunk-jwpcck1b.js";import"./chunk-aa7w63xc.js";import"./chunk-cs15xqf0.js";import"./chunk-56hvemdx.js";import"./chunk-axydabse.js";import"./chunk-2xnwsavq.js";import"./chunk-b5emjcf1.js";import"./chunk-dqr5n49p.js";export{ee as clearComponentCache,kc as componentClientSignalNames,is as convertToCommonJS,g as createDetailedErrorMessage,wc as extractDirectiveNames,Xi as extractScriptFromTemplate,d as extractVariables,r as fileExists,ju as getComponentCacheStats,hc as getPositionInfo,N as getSharedTranspiler,ao as getSourceLineInfo,bc as hasDirectives,Gi as hasVariables,Sc as isHydrateTrigger,vc as isJavaScriptScript,We as renderComponentWithSlot,Wn as resolveTemplatePath,xc as scopeOnRootElement,Ve as shouldTranspileTypeScript,oo as slotContentHasExpressions,Ue as transpileTypeScript,Un as userComponentFileExists,yc as validateDirective,mc as validateTemplate};
|
package/dist/chunk-p5hrdsk9.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{Ul,Wl}from"./chunk-12mzd0gf.js";import"./chunk-3yws0k28.js";import"./chunk-vyw0csez.js";import"./chunk-b3e0hcw0.js";import"./chunk-7676qzab.js";import"./chunk-73h7qjgq.js";import"./chunk-5zpt78j4.js";import"./chunk-7v163hb5.js";import"./chunk-jwpcck1b.js";import"./chunk-aa7w63xc.js";import"./chunk-cs15xqf0.js";import"./chunk-56hvemdx.js";import"./chunk-axydabse.js";import"./chunk-2xnwsavq.js";import"./chunk-b5emjcf1.js";import"./chunk-dqr5n49p.js";export{Wl as clearStoreCache,Ul as getStoreScript};
|
package/dist/chunk-qy8wb31b.js
DELETED
package/dist/chunk-qzyfjyna.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{Dr,hl,yl}from"./chunk-97tb2m44.js";import"./chunk-3yws0k28.js";import"./chunk-vyw0csez.js";import"./chunk-b3e0hcw0.js";import"./chunk-7676qzab.js";import"./chunk-73h7qjgq.js";import"./chunk-5zpt78j4.js";import"./chunk-7v163hb5.js";import"./chunk-jwpcck1b.js";import"./chunk-aa7w63xc.js";import"./chunk-cs15xqf0.js";import"./chunk-56hvemdx.js";import"./chunk-axydabse.js";import"./chunk-2xnwsavq.js";import"./chunk-b5emjcf1.js";import"./chunk-dqr5n49p.js";export{yl as clearComposableCache,hl as getComposableScript,Dr as listComposableModules};
|
package/dist/chunk-rwdkh7c0.js
DELETED
package/dist/chunk-sjgg6r0a.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{Vo,Qs,Vc,Uo,Wo,Uc,Wc}from"./chunk-9tbevvm3.js";import"./chunk-97tb2m44.js";import"./chunk-3yws0k28.js";import"./chunk-vyw0csez.js";import{He,gc}from"./chunk-b3e0hcw0.js";import"./chunk-7676qzab.js";import"./chunk-73h7qjgq.js";import"./chunk-5zpt78j4.js";import"./chunk-7v163hb5.js";import"./chunk-jwpcck1b.js";import"./chunk-aa7w63xc.js";import"./chunk-cs15xqf0.js";import"./chunk-56hvemdx.js";import"./chunk-axydabse.js";import"./chunk-2xnwsavq.js";import"./chunk-b5emjcf1.js";import"./chunk-dqr5n49p.js";export{Vo as buildVirtualSource,He as extractScriptBlocks,gc as extractTemplateExpressions,Uo as findRuntimeTypeDeclarations,Wo as findStxModuleDeclarations,Wc as formatTypecheckDiagnostics,Vc as sourcePathFor,Uc as typecheckStxFiles,Qs as virtualPathFor};
|
package/dist/chunk-tq441vbg.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{H,Wr,qr,za,bt,Mi,Kr,Ni,yu,Ne,Xr,me}from"./chunk-b3e0hcw0.js";import"./chunk-7676qzab.js";import"./chunk-73h7qjgq.js";import{go,s}from"./chunk-vxgtq00t.js";import"./chunk-5zpt78j4.js";import"./chunk-7v163hb5.js";import"./chunk-jwpcck1b.js";import"./chunk-aa7w63xc.js";import"./chunk-cs15xqf0.js";import"./chunk-56hvemdx.js";import"./chunk-axydabse.js";import"./chunk-2xnwsavq.js";import"./chunk-b5emjcf1.js";import"./chunk-dqr5n49p.js";export{H as BROWSER_CORE_IMPORTS,za as STX_AUTO_IMPORTS,Wr as extractAndStripCssImports,Ne as extractBridgeData,go as findInterpolationEnd,Ni as generateAutoImportDestructuring,yu as generateBrowserAutoImportDestructuring,Xr as generateServerDataBridge,bt as injectBrowserCoreAutoImports,me as processClientScript,Kr as referencesName,qr as renderVendorStyleTags,s as stripCommentsAndLiterals,Mi as transformAutoImports};
|
package/dist/chunk-vn09wm09.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{vi,xi,Si,fu}from"./chunk-t9tg1syw.js";import"./chunk-39726w03.js";import"./chunk-b3e0hcw0.js";import"./chunk-7676qzab.js";import"./chunk-73h7qjgq.js";import"./chunk-5zpt78j4.js";import"./chunk-7v163hb5.js";import"./chunk-jwpcck1b.js";import"./chunk-aa7w63xc.js";import"./chunk-cs15xqf0.js";import"./chunk-56hvemdx.js";import"./chunk-axydabse.js";import"./chunk-2xnwsavq.js";import"./chunk-b5emjcf1.js";import"./chunk-dqr5n49p.js";export{vi as buildNative,fu as default,Si as getAvailableFormats,xi as getAvailableTargets};
|
package/dist/chunk-xex4nkgq.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{kt,os,Ji,fc}from"./chunk-b3e0hcw0.js";import"./chunk-7676qzab.js";import"./chunk-73h7qjgq.js";import"./chunk-5zpt78j4.js";import"./chunk-7v163hb5.js";import"./chunk-jwpcck1b.js";import"./chunk-aa7w63xc.js";import"./chunk-cs15xqf0.js";import"./chunk-56hvemdx.js";import"./chunk-axydabse.js";import"./chunk-2xnwsavq.js";import"./chunk-b5emjcf1.js";import"./chunk-dqr5n49p.js";export{fc as declareBareLoopHead,kt as parseLoopBinding,Ji as processLoops,os as reportDeferredLoopWarnings};
|
package/dist/chunk-xr03p49w.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{Nu,ye,Yi,Lu,as,cs,ls}from"./chunk-b3e0hcw0.js";import"./chunk-7676qzab.js";import"./chunk-73h7qjgq.js";import"./chunk-5zpt78j4.js";import"./chunk-7v163hb5.js";import"./chunk-jwpcck1b.js";import"./chunk-aa7w63xc.js";import"./chunk-cs15xqf0.js";import"./chunk-56hvemdx.js";import"./chunk-axydabse.js";import"./chunk-2xnwsavq.js";import"./chunk-b5emjcf1.js";import"./chunk-dqr5n49p.js";export{Lu as clearOnceStore,Yi as onceStore,ye as partialsCache,as as processIncludes,cs as processStackPushDirectives,ls as processStackReplacements,Nu as resetUnscopedSignalWarnings};
|
package/dist/chunk-y8kz05mn.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{A,Cc,i,T,Bu,Fu}from"./chunk-b3e0hcw0.js";import"./chunk-7676qzab.js";import"./chunk-73h7qjgq.js";import"./chunk-5zpt78j4.js";import"./chunk-7v163hb5.js";import"./chunk-jwpcck1b.js";import"./chunk-aa7w63xc.js";import"./chunk-cs15xqf0.js";import"./chunk-56hvemdx.js";import"./chunk-axydabse.js";import"./chunk-2xnwsavq.js";import"./chunk-b5emjcf1.js";import"./chunk-dqr5n49p.js";export{T as config,A as defaultConfig,Bu as defineStxConfig,i as loadStxConfig,Cc as resolveStxDirectories,Fu as validateConfig};
|
package/dist/chunk-ycmc1zpt.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{Xc}from"./chunk-w9ebf2rb.js";import"./chunk-3wdarmh7.js";import"./chunk-ca24g1fa.js";import"./chunk-vyw0csez.js";import"./chunk-b3e0hcw0.js";import"./chunk-7676qzab.js";import"./chunk-73h7qjgq.js";import"./chunk-5zpt78j4.js";import"./chunk-7v163hb5.js";import"./chunk-jwpcck1b.js";import"./chunk-aa7w63xc.js";import"./chunk-cs15xqf0.js";import"./chunk-56hvemdx.js";import"./chunk-axydabse.js";import"./chunk-2xnwsavq.js";import"./chunk-b5emjcf1.js";import"./chunk-dqr5n49p.js";export{Xc as buildForProduction};
|
package/dist/chunk-ymvdbs80.js
DELETED