@wix/cli-app 1.1.4 → 1.1.6
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/build/CreateVersionCommand-G2MTCG42.js +4 -0
- package/build/{CreateVersionCommand-GQGVJR2K.js.map → CreateVersionCommand-G2MTCG42.js.map} +1 -1
- package/build/DevCommand-NTEEUFAO.js +4 -0
- package/build/{DevCommand-YM45UVWH.js.map → DevCommand-NTEEUFAO.js.map} +1 -1
- package/build/GenerateCommand-2J7LTVTG.js +99 -0
- package/build/GenerateCommand-2J7LTVTG.js.map +1 -0
- package/build/PreviewCommand-2VOKA43B.js +4 -0
- package/build/ServeCommand-ANGVMF5F.js +4 -0
- package/build/{ServeCommand-6EQIDSKT.js.map → ServeCommand-ANGVMF5F.js.map} +1 -1
- package/build/build-STNIJWOD.js +4 -0
- package/build/{build-2Z6AK6IG.js.map → build-STNIJWOD.js.map} +1 -1
- package/build/chunk-33JVSWRU.js +4 -0
- package/build/{chunk-SHI7GZUR.js.map → chunk-33JVSWRU.js.map} +1 -1
- package/build/chunk-4PJZNBLP.js +4 -0
- package/build/{chunk-MWPJ22NN.js.map → chunk-4PJZNBLP.js.map} +1 -1
- package/build/chunk-6672YZIR.js +4 -0
- package/build/{chunk-4G4S755D.js.map → chunk-6672YZIR.js.map} +1 -1
- package/build/chunk-APTJGMVX.js +4 -0
- package/build/chunk-APTJGMVX.js.map +1 -0
- package/build/{chunk-ZYZVQVJV.js → chunk-B7UI5BHA.js} +2 -2
- package/build/{chunk-DF4D5JWF.js → chunk-C364KT35.js} +2 -2
- package/build/{chunk-DA3635LY.js → chunk-CQ24SN6G.js} +2 -2
- package/build/chunk-CQ24SN6G.js.map +1 -0
- package/build/{chunk-NTAE6I4M.js → chunk-DORVLTGQ.js} +2 -2
- package/build/chunk-F6VIPS74.js +4 -0
- package/build/chunk-F6VIPS74.js.map +1 -0
- package/build/chunk-KHABFHDG.js +27 -0
- package/build/chunk-KHABFHDG.js.map +1 -0
- package/build/{chunk-EIA66VA3.js → chunk-LXG62LU6.js} +3 -3
- package/build/{chunk-EIA66VA3.js.map → chunk-LXG62LU6.js.map} +1 -1
- package/build/{chunk-ACRXISY6.js → chunk-R5N7KNVD.js} +2 -2
- package/build/{chunk-VMFKU4BM.js → chunk-SQ7GXOTK.js} +10 -10
- package/build/chunk-SQ7GXOTK.js.map +1 -0
- package/build/{chunk-5575RXZG.js → chunk-VFXI25UM.js} +2 -2
- package/build/{chunk-ETUINW6P.js → chunk-VMBTDYCK.js} +3 -3
- package/build/chunk-VMBTDYCK.js.map +1 -0
- package/build/chunk-XW5ALZ42.js +87 -0
- package/build/chunk-XW5ALZ42.js.map +1 -0
- package/build/{chunk-Q2OX64Q5.js → chunk-Y2UEVFKZ.js} +2 -2
- package/build/index.js +1 -1
- package/build/index.js.map +1 -1
- package/build/preview-YEEZWFF7.js +4 -0
- package/build/{preview-4C3FDYR4.js.map → preview-YEEZWFF7.js.map} +1 -1
- package/build/render-command-2J5IV7LA.js +4 -0
- package/build/{render-command-EB3I47CB.js.map → render-command-2J5IV7LA.js.map} +1 -1
- package/package.json +7 -5
- package/templates/dashboard-page/page.json +1 -0
- package/templates/dashboard-page/page.tsx.ejs +26 -0
- package/build/CreateVersionCommand-GQGVJR2K.js +0 -4
- package/build/DevCommand-YM45UVWH.js +0 -4
- package/build/PreviewCommand-YUT7MBJD.js +0 -4
- package/build/ServeCommand-6EQIDSKT.js +0 -4
- package/build/build-2Z6AK6IG.js +0 -4
- package/build/chunk-4G4S755D.js +0 -4
- package/build/chunk-DA3635LY.js.map +0 -1
- package/build/chunk-ETUINW6P.js.map +0 -1
- package/build/chunk-JZGJM7PY.js +0 -108
- package/build/chunk-JZGJM7PY.js.map +0 -1
- package/build/chunk-MWPJ22NN.js +0 -4
- package/build/chunk-SHI7GZUR.js +0 -4
- package/build/chunk-VMFKU4BM.js.map +0 -1
- package/build/chunk-VMK5HC33.js +0 -4
- package/build/chunk-VMK5HC33.js.map +0 -1
- package/build/preview-4C3FDYR4.js +0 -4
- package/build/render-command-EB3I47CB.js +0 -4
- /package/build/{PreviewCommand-YUT7MBJD.js.map → PreviewCommand-2VOKA43B.js.map} +0 -0
- /package/build/{chunk-ZYZVQVJV.js.map → chunk-B7UI5BHA.js.map} +0 -0
- /package/build/{chunk-DF4D5JWF.js.map → chunk-C364KT35.js.map} +0 -0
- /package/build/{chunk-NTAE6I4M.js.map → chunk-DORVLTGQ.js.map} +0 -0
- /package/build/{chunk-ACRXISY6.js.map → chunk-R5N7KNVD.js.map} +0 -0
- /package/build/{chunk-5575RXZG.js.map → chunk-VFXI25UM.js.map} +0 -0
- /package/build/{chunk-Q2OX64Q5.js.map → chunk-Y2UEVFKZ.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRequire as _createRequire } from 'node:module';
|
|
2
2
|
const require = _createRequire(import.meta.url);
|
|
3
|
-
import{$ as
|
|
3
|
+
import{a as Xs,b as $s}from"./chunk-APTJGMVX.js";import{$ as Ai,H as Zs,P as eo,R as to,T as yi,U as un,V as mi,W as ro,X as io,Z as ln,a as Ws,aa as Ci,ba as fn,c as Gr,ca as ao,d as jr,da as no}from"./chunk-SQ7GXOTK.js";import{a as Le,c as F,e as ra,h as S}from"./chunk-HFDLXX7R.js";var Et=F(yn=>{"use strict";S();yn.fromCallback=function(e){return Object.defineProperty(function(...t){if(typeof t[t.length-1]=="function")e.apply(this,t);else return new Promise((i,r)=>{e.call(this,...t,(a,n)=>a!=null?r(a):i(n))})},"name",{value:e.name})};yn.fromPromise=function(e){return Object.defineProperty(function(...t){let i=t[t.length-1];if(typeof i!="function")return e.apply(this,t);e.apply(this,t.slice(0,-1)).then(r=>i(null,r),i)},"name",{value:e.name})}});var ho=F((yA,co)=>{"use strict";S();var hr=Le("constants"),fh=process.cwd,na=null,ch=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){return na||(na=fh.call(process)),na};try{process.cwd()}catch{}typeof process.chdir=="function"&&(mn=process.chdir,process.chdir=function(e){na=null,mn.call(process,e)},Object.setPrototypeOf&&Object.setPrototypeOf(process.chdir,mn));var mn;co.exports=hh;function hh(e){hr.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)&&t(e),e.lutimes||i(e),e.chown=n(e.chown),e.fchown=n(e.fchown),e.lchown=n(e.lchown),e.chmod=r(e.chmod),e.fchmod=r(e.fchmod),e.lchmod=r(e.lchmod),e.chownSync=s(e.chownSync),e.fchownSync=s(e.fchownSync),e.lchownSync=s(e.lchownSync),e.chmodSync=a(e.chmodSync),e.fchmodSync=a(e.fchmodSync),e.lchmodSync=a(e.lchmodSync),e.stat=o(e.stat),e.fstat=o(e.fstat),e.lstat=o(e.lstat),e.statSync=u(e.statSync),e.fstatSync=u(e.fstatSync),e.lstatSync=u(e.lstatSync),e.chmod&&!e.lchmod&&(e.lchmod=function(f,c,p){p&&process.nextTick(p)},e.lchmodSync=function(){}),e.chown&&!e.lchown&&(e.lchown=function(f,c,p,m){m&&process.nextTick(m)},e.lchownSync=function(){}),ch==="win32"&&(e.rename=typeof e.rename!="function"?e.rename:function(f){function c(p,m,v){var C=Date.now(),E=0;f(p,m,function B(w){if(w&&(w.code==="EACCES"||w.code==="EPERM"||w.code==="EBUSY")&&Date.now()-C<6e4){setTimeout(function(){e.stat(m,function(T,U){T&&T.code==="ENOENT"?f(p,m,B):v(w)})},E),E<100&&(E+=10);return}v&&v(w)})}return Object.setPrototypeOf&&Object.setPrototypeOf(c,f),c}(e.rename)),e.read=typeof e.read!="function"?e.read:function(f){function c(p,m,v,C,E,B){var w;if(B&&typeof B=="function"){var T=0;w=function(U,P,Q){if(U&&U.code==="EAGAIN"&&T<10)return T++,f.call(e,p,m,v,C,E,w);B.apply(this,arguments)}}return f.call(e,p,m,v,C,E,w)}return Object.setPrototypeOf&&Object.setPrototypeOf(c,f),c}(e.read),e.readSync=typeof e.readSync!="function"?e.readSync:function(f){return function(c,p,m,v,C){for(var E=0;;)try{return f.call(e,c,p,m,v,C)}catch(B){if(B.code==="EAGAIN"&&E<10){E++;continue}throw B}}}(e.readSync);function t(f){f.lchmod=function(c,p,m){f.open(c,hr.O_WRONLY|hr.O_SYMLINK,p,function(v,C){if(v){m&&m(v);return}f.fchmod(C,p,function(E){f.close(C,function(B){m&&m(E||B)})})})},f.lchmodSync=function(c,p){var m=f.openSync(c,hr.O_WRONLY|hr.O_SYMLINK,p),v=!0,C;try{C=f.fchmodSync(m,p),v=!1}finally{if(v)try{f.closeSync(m)}catch{}else f.closeSync(m)}return C}}function i(f){hr.hasOwnProperty("O_SYMLINK")&&f.futimes?(f.lutimes=function(c,p,m,v){f.open(c,hr.O_SYMLINK,function(C,E){if(C){v&&v(C);return}f.futimes(E,p,m,function(B){f.close(E,function(w){v&&v(B||w)})})})},f.lutimesSync=function(c,p,m){var v=f.openSync(c,hr.O_SYMLINK),C,E=!0;try{C=f.futimesSync(v,p,m),E=!1}finally{if(E)try{f.closeSync(v)}catch{}else f.closeSync(v)}return C}):f.futimes&&(f.lutimes=function(c,p,m,v){v&&process.nextTick(v)},f.lutimesSync=function(){})}function r(f){return f&&function(c,p,m){return f.call(e,c,p,function(v){l(v)&&(v=null),m&&m.apply(this,arguments)})}}function a(f){return f&&function(c,p){try{return f.call(e,c,p)}catch(m){if(!l(m))throw m}}}function n(f){return f&&function(c,p,m,v){return f.call(e,c,p,m,function(C){l(C)&&(C=null),v&&v.apply(this,arguments)})}}function s(f){return f&&function(c,p,m){try{return f.call(e,c,p,m)}catch(v){if(!l(v))throw v}}}function o(f){return f&&function(c,p,m){typeof p=="function"&&(m=p,p=null);function v(C,E){E&&(E.uid<0&&(E.uid+=4294967296),E.gid<0&&(E.gid+=4294967296)),m&&m.apply(this,arguments)}return p?f.call(e,c,p,v):f.call(e,c,v)}}function u(f){return f&&function(c,p){var m=p?f.call(e,c,p):f.call(e,c);return m&&(m.uid<0&&(m.uid+=4294967296),m.gid<0&&(m.gid+=4294967296)),m}}function l(f){if(!f||f.code==="ENOSYS")return!0;var c=!process.getuid||process.getuid()!==0;return!!(c&&(f.code==="EINVAL"||f.code==="EPERM"))}}});var vo=F((AA,go)=>{"use strict";S();var po=Le("stream").Stream;go.exports=ph;function ph(e){return{ReadStream:t,WriteStream:i};function t(r,a){if(!(this instanceof t))return new t(r,a);po.call(this);var n=this;this.path=r,this.fd=null,this.readable=!0,this.paused=!1,this.flags="r",this.mode=438,this.bufferSize=64*1024,a=a||{};for(var s=Object.keys(a),o=0,u=s.length;o<u;o++){var l=s[o];this[l]=a[l]}if(this.encoding&&this.setEncoding(this.encoding),this.start!==void 0){if(typeof this.start!="number")throw TypeError("start must be a Number");if(this.end===void 0)this.end=1/0;else if(typeof this.end!="number")throw TypeError("end must be a Number");if(this.start>this.end)throw new Error("start must be <= end");this.pos=this.start}if(this.fd!==null){process.nextTick(function(){n._read()});return}e.open(this.path,this.flags,this.mode,function(f,c){if(f){n.emit("error",f),n.readable=!1;return}n.fd=c,n.emit("open",c),n._read()})}function i(r,a){if(!(this instanceof i))return new i(r,a);po.call(this),this.path=r,this.fd=null,this.writable=!0,this.flags="w",this.encoding="binary",this.mode=438,this.bytesWritten=0,a=a||{};for(var n=Object.keys(a),s=0,o=n.length;s<o;s++){var u=n[s];this[u]=a[u]}if(this.start!==void 0){if(typeof this.start!="number")throw TypeError("start must be a Number");if(this.start<0)throw new Error("start must be >= zero");this.pos=this.start}this.busy=!1,this._queue=[],this.fd===null&&(this._open=e.open,this._queue.push([this._open,this.path,this.flags,this.mode,void 0]),this.flush())}}});var mo=F((EA,yo)=>{"use strict";S();yo.exports=gh;var dh=Object.getPrototypeOf||function(e){return e.__proto__};function gh(e){if(e===null||typeof e!="object")return e;if(e instanceof Object)var t={__proto__:dh(e)};else var t=Object.create(null);return Object.getOwnPropertyNames(e).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))}),t}});var dt=F((SA,En)=>{"use strict";S();var Qe=Le("fs"),vh=ho(),yh=vo(),mh=mo(),sa=Le("util"),Je,ua;typeof Symbol=="function"&&typeof Symbol.for=="function"?(Je=Symbol.for("graceful-fs.queue"),ua=Symbol.for("graceful-fs.previous")):(Je="___graceful-fs.queue",ua="___graceful-fs.previous");function Ah(){}function Eo(e,t){Object.defineProperty(e,Je,{get:function(){return t}})}var Rr=Ah;sa.debuglog?Rr=sa.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(Rr=function(){var e=sa.format.apply(sa,arguments);e="GFS4: "+e.split(/\n/).join(`
|
|
4
4
|
GFS4: `),console.error(e)});Qe[Je]||(Ao=global[Je]||[],Eo(Qe,Ao),Qe.close=function(e){function t(i,r){return e.call(Qe,i,function(a){a||Co(),typeof r=="function"&&r.apply(this,arguments)})}return Object.defineProperty(t,ua,{value:e}),t}(Qe.close),Qe.closeSync=function(e){function t(i){e.apply(Qe,arguments),Co()}return Object.defineProperty(t,ua,{value:e}),t}(Qe.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",function(){Rr(Qe[Je]),Le("assert").equal(Qe[Je].length,0)}));var Ao;global[Je]||Eo(global,Qe[Je]);En.exports=An(mh(Qe));process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!Qe.__patched&&(En.exports=An(Qe),Qe.__patched=!0);function An(e){vh(e),e.gracefulify=An,e.createReadStream=P,e.createWriteStream=Q;var t=e.readFile;e.readFile=i;function i(H,z,Y){return typeof z=="function"&&(Y=z,z=null),re(H,z,Y);function re(ye,Ee,$,ie){return t(ye,Ee,function(V){V&&(V.code==="EMFILE"||V.code==="ENFILE")?zr([re,[ye,Ee,$],V,ie||Date.now(),Date.now()]):typeof $=="function"&&$.apply(this,arguments)})}}var r=e.writeFile;e.writeFile=a;function a(H,z,Y,re){return typeof Y=="function"&&(re=Y,Y=null),ye(H,z,Y,re);function ye(Ee,$,ie,V,_e){return r(Ee,$,ie,function(xe){xe&&(xe.code==="EMFILE"||xe.code==="ENFILE")?zr([ye,[Ee,$,ie,V],xe,_e||Date.now(),Date.now()]):typeof V=="function"&&V.apply(this,arguments)})}}var n=e.appendFile;n&&(e.appendFile=s);function s(H,z,Y,re){return typeof Y=="function"&&(re=Y,Y=null),ye(H,z,Y,re);function ye(Ee,$,ie,V,_e){return n(Ee,$,ie,function(xe){xe&&(xe.code==="EMFILE"||xe.code==="ENFILE")?zr([ye,[Ee,$,ie,V],xe,_e||Date.now(),Date.now()]):typeof V=="function"&&V.apply(this,arguments)})}}var o=e.copyFile;o&&(e.copyFile=u);function u(H,z,Y,re){return typeof Y=="function"&&(re=Y,Y=0),ye(H,z,Y,re);function ye(Ee,$,ie,V,_e){return o(Ee,$,ie,function(xe){xe&&(xe.code==="EMFILE"||xe.code==="ENFILE")?zr([ye,[Ee,$,ie,V],xe,_e||Date.now(),Date.now()]):typeof V=="function"&&V.apply(this,arguments)})}}var l=e.readdir;e.readdir=c;var f=/^v[0-5]\./;function c(H,z,Y){typeof z=="function"&&(Y=z,z=null);var re=f.test(process.version)?function($,ie,V,_e){return l($,ye($,ie,V,_e))}:function($,ie,V,_e){return l($,ie,ye($,ie,V,_e))};return re(H,z,Y);function ye(Ee,$,ie,V){return function(_e,xe){_e&&(_e.code==="EMFILE"||_e.code==="ENFILE")?zr([re,[Ee,$,ie],_e,V||Date.now(),Date.now()]):(xe&&xe.sort&&xe.sort(),typeof ie=="function"&&ie.call(this,_e,xe))}}}if(process.version.substr(0,4)==="v0.8"){var p=yh(e);B=p.ReadStream,T=p.WriteStream}var m=e.ReadStream;m&&(B.prototype=Object.create(m.prototype),B.prototype.open=w);var v=e.WriteStream;v&&(T.prototype=Object.create(v.prototype),T.prototype.open=U),Object.defineProperty(e,"ReadStream",{get:function(){return B},set:function(H){B=H},enumerable:!0,configurable:!0}),Object.defineProperty(e,"WriteStream",{get:function(){return T},set:function(H){T=H},enumerable:!0,configurable:!0});var C=B;Object.defineProperty(e,"FileReadStream",{get:function(){return C},set:function(H){C=H},enumerable:!0,configurable:!0});var E=T;Object.defineProperty(e,"FileWriteStream",{get:function(){return E},set:function(H){E=H},enumerable:!0,configurable:!0});function B(H,z){return this instanceof B?(m.apply(this,arguments),this):B.apply(Object.create(B.prototype),arguments)}function w(){var H=this;ne(H.path,H.flags,H.mode,function(z,Y){z?(H.autoClose&&H.destroy(),H.emit("error",z)):(H.fd=Y,H.emit("open",Y),H.read())})}function T(H,z){return this instanceof T?(v.apply(this,arguments),this):T.apply(Object.create(T.prototype),arguments)}function U(){var H=this;ne(H.path,H.flags,H.mode,function(z,Y){z?(H.destroy(),H.emit("error",z)):(H.fd=Y,H.emit("open",Y))})}function P(H,z){return new e.ReadStream(H,z)}function Q(H,z){return new e.WriteStream(H,z)}var te=e.open;e.open=ne;function ne(H,z,Y,re){return typeof Y=="function"&&(re=Y,Y=null),ye(H,z,Y,re);function ye(Ee,$,ie,V,_e){return te(Ee,$,ie,function(xe,Oe){xe&&(xe.code==="EMFILE"||xe.code==="ENFILE")?zr([ye,[Ee,$,ie,V],xe,_e||Date.now(),Date.now()]):typeof V=="function"&&V.apply(this,arguments)})}}return e}function zr(e){Rr("ENQUEUE",e[0].name,e[1]),Qe[Je].push(e),Cn()}var oa;function Co(){for(var e=Date.now(),t=0;t<Qe[Je].length;++t)Qe[Je][t].length>2&&(Qe[Je][t][3]=e,Qe[Je][t][4]=e);Cn()}function Cn(){if(clearTimeout(oa),oa=void 0,Qe[Je].length!==0){var e=Qe[Je].shift(),t=e[0],i=e[1],r=e[2],a=e[3],n=e[4];if(a===void 0)Rr("RETRY",t.name,i),t.apply(null,i);else if(Date.now()-a>=6e4){Rr("TIMEOUT",t.name,i);var s=i.pop();typeof s=="function"&&s.call(null,r)}else{var o=Date.now()-n,u=Math.max(n-a,1),l=Math.min(u*1.2,100);o>=l?(Rr("RETRY",t.name,i),t.apply(null,i.concat([a]))):Qe[Je].push(e)}oa===void 0&&(oa=setTimeout(Cn,0))}}});var Dr=F(pr=>{"use strict";S();var xo=Et().fromCallback,xt=dt(),Ch=["access","appendFile","chmod","chown","close","copyFile","fchmod","fchown","fdatasync","fstat","fsync","ftruncate","futimes","lchmod","lchown","link","lstat","mkdir","mkdtemp","open","opendir","readdir","readFile","readlink","realpath","rename","rm","rmdir","stat","symlink","truncate","unlink","utimes","writeFile"].filter(e=>typeof xt[e]=="function");Object.assign(pr,xt);Ch.forEach(e=>{pr[e]=xo(xt[e])});pr.exists=function(e,t){return typeof t=="function"?xt.exists(e,t):new Promise(i=>xt.exists(e,i))};pr.read=function(e,t,i,r,a,n){return typeof n=="function"?xt.read(e,t,i,r,a,n):new Promise((s,o)=>{xt.read(e,t,i,r,a,(u,l,f)=>{if(u)return o(u);s({bytesRead:l,buffer:f})})})};pr.write=function(e,t,...i){return typeof i[i.length-1]=="function"?xt.write(e,t,...i):new Promise((r,a)=>{xt.write(e,t,...i,(n,s,o)=>{if(n)return a(n);r({bytesWritten:s,buffer:o})})})};typeof xt.writev=="function"&&(pr.writev=function(e,t,...i){return typeof i[i.length-1]=="function"?xt.writev(e,t,...i):new Promise((r,a)=>{xt.writev(e,t,...i,(n,s,o)=>{if(n)return a(n);r({bytesWritten:s,buffers:o})})})});typeof xt.realpath.native=="function"?pr.realpath.native=xo(xt.realpath.native):process.emitWarning("fs.realpath.native is not a function. Is fs being monkey-patched?","Warning","fs-extra-WARN0003")});var Io=F((TA,So)=>{"use strict";S();var Eh=Le("path");So.exports.checkPath=function(t){if(process.platform==="win32"&&/[<>:"|?*]/.test(t.replace(Eh.parse(t).root,""))){let r=new Error(`Path contains invalid characters: ${t}`);throw r.code="EINVAL",r}}});var wo=F((_A,xn)=>{"use strict";S();var Bo=Dr(),{checkPath:bo}=Io(),To=e=>{let t={mode:511};return typeof e=="number"?e:{...t,...e}.mode};xn.exports.makeDir=async(e,t)=>(bo(e),Bo.mkdir(e,{mode:To(t),recursive:!0}));xn.exports.makeDirSync=(e,t)=>(bo(e),Bo.mkdirSync(e,{mode:To(t),recursive:!0}))});var Mt=F((kA,_o)=>{"use strict";S();var xh=Et().fromPromise,{makeDir:Sh,makeDirSync:Sn}=wo(),In=xh(Sh);_o.exports={mkdirs:In,mkdirsSync:Sn,mkdirp:In,mkdirpSync:Sn,ensureDir:In,ensureDirSync:Sn}});var dr=F((RA,ko)=>{"use strict";S();var Ih=Et().fromPromise,No=Dr();function Bh(e){return No.access(e).then(()=>!0).catch(()=>!1)}ko.exports={pathExists:Ih(Bh),pathExistsSync:No.existsSync}});var Bn=F((PA,Lo)=>{"use strict";S();var Jr=dt();function bh(e,t,i,r){Jr.open(e,"r+",(a,n)=>{if(a)return r(a);Jr.futimes(n,t,i,s=>{Jr.close(n,o=>{r&&r(s||o)})})})}function Th(e,t,i){let r=Jr.openSync(e,"r+");return Jr.futimesSync(r,t,i),Jr.closeSync(r)}Lo.exports={utimesMillis:bh,utimesMillisSync:Th}});var Pr=F((UA,Po)=>{"use strict";S();var Wr=Dr(),Ke=Le("path"),wh=Le("util");function _h(e,t,i){let r=i.dereference?a=>Wr.stat(a,{bigint:!0}):a=>Wr.lstat(a,{bigint:!0});return Promise.all([r(e),r(t).catch(a=>{if(a.code==="ENOENT")return null;throw a})]).then(([a,n])=>({srcStat:a,destStat:n}))}function Nh(e,t,i){let r,a=i.dereference?s=>Wr.statSync(s,{bigint:!0}):s=>Wr.lstatSync(s,{bigint:!0}),n=a(e);try{r=a(t)}catch(s){if(s.code==="ENOENT")return{srcStat:n,destStat:null};throw s}return{srcStat:n,destStat:r}}function kh(e,t,i,r,a){wh.callbackify(_h)(e,t,r,(n,s)=>{if(n)return a(n);let{srcStat:o,destStat:u}=s;if(u){if(Bi(o,u)){let l=Ke.basename(e),f=Ke.basename(t);return i==="move"&&l!==f&&l.toLowerCase()===f.toLowerCase()?a(null,{srcStat:o,destStat:u,isChangingCase:!0}):a(new Error("Source and destination must not be the same."))}if(o.isDirectory()&&!u.isDirectory())return a(new Error(`Cannot overwrite non-directory '${t}' with directory '${e}'.`));if(!o.isDirectory()&&u.isDirectory())return a(new Error(`Cannot overwrite directory '${t}' with non-directory '${e}'.`))}return o.isDirectory()&&bn(e,t)?a(new Error(la(e,t,i))):a(null,{srcStat:o,destStat:u})})}function Lh(e,t,i,r){let{srcStat:a,destStat:n}=Nh(e,t,r);if(n){if(Bi(a,n)){let s=Ke.basename(e),o=Ke.basename(t);if(i==="move"&&s!==o&&s.toLowerCase()===o.toLowerCase())return{srcStat:a,destStat:n,isChangingCase:!0};throw new Error("Source and destination must not be the same.")}if(a.isDirectory()&&!n.isDirectory())throw new Error(`Cannot overwrite non-directory '${t}' with directory '${e}'.`);if(!a.isDirectory()&&n.isDirectory())throw new Error(`Cannot overwrite directory '${t}' with non-directory '${e}'.`)}if(a.isDirectory()&&bn(e,t))throw new Error(la(e,t,i));return{srcStat:a,destStat:n}}function Ro(e,t,i,r,a){let n=Ke.resolve(Ke.dirname(e)),s=Ke.resolve(Ke.dirname(i));if(s===n||s===Ke.parse(s).root)return a();Wr.stat(s,{bigint:!0},(o,u)=>o?o.code==="ENOENT"?a():a(o):Bi(t,u)?a(new Error(la(e,i,r))):Ro(e,t,s,r,a))}function Do(e,t,i,r){let a=Ke.resolve(Ke.dirname(e)),n=Ke.resolve(Ke.dirname(i));if(n===a||n===Ke.parse(n).root)return;let s;try{s=Wr.statSync(n,{bigint:!0})}catch(o){if(o.code==="ENOENT")return;throw o}if(Bi(t,s))throw new Error(la(e,i,r));return Do(e,t,n,r)}function Bi(e,t){return t.ino&&t.dev&&t.ino===e.ino&&t.dev===e.dev}function bn(e,t){let i=Ke.resolve(e).split(Ke.sep).filter(a=>a),r=Ke.resolve(t).split(Ke.sep).filter(a=>a);return i.reduce((a,n,s)=>a&&r[s]===n,!0)}function la(e,t,i){return`Cannot ${i} '${e}' to a subdirectory of itself, '${t}'.`}Po.exports={checkPaths:kh,checkPathsSync:Lh,checkParentPaths:Ro,checkParentPathsSync:Do,isSrcSubdir:bn,areIdentical:Bi}});var Ko=F((VA,qo)=>{"use strict";S();var St=dt(),bi=Le("path"),Rh=Mt().mkdirs,Dh=dr().pathExists,Ph=Bn().utimesMillis,Ti=Pr();function Qh(e,t,i,r){typeof i=="function"&&!r?(r=i,i={}):typeof i=="function"&&(i={filter:i}),r=r||function(){},i=i||{},i.clobber="clobber"in i?!!i.clobber:!0,i.overwrite="overwrite"in i?!!i.overwrite:i.clobber,i.preserveTimestamps&&process.arch==="ia32"&&process.emitWarning(`Using the preserveTimestamps option in 32-bit node is not recommended;
|
|
5
5
|
|
|
6
6
|
see https://github.com/jprichardson/node-fs-extra/issues/269`,"Warning","fs-extra-WARN0001"),Ti.checkPaths(e,t,"copy",i,(a,n)=>{if(a)return r(a);let{srcStat:s,destStat:o}=n;Ti.checkParentPaths(e,s,t,"copy",u=>u?r(u):i.filter?Oo(Qo,o,e,t,i,r):Qo(o,e,t,i,r))})}function Qo(e,t,i,r,a){let n=bi.dirname(i);Dh(n,(s,o)=>{if(s)return a(s);if(o)return fa(e,t,i,r,a);Rh(n,u=>u?a(u):fa(e,t,i,r,a))})}function Oo(e,t,i,r,a,n){Promise.resolve(a.filter(i,r)).then(s=>s?e(t,i,r,a,n):n(),s=>n(s))}function Uh(e,t,i,r,a){return r.filter?Oo(fa,e,t,i,r,a):fa(e,t,i,r,a)}function fa(e,t,i,r,a){(r.dereference?St.stat:St.lstat)(t,(s,o)=>s?a(s):o.isDirectory()?Hh(o,e,t,i,r,a):o.isFile()||o.isCharacterDevice()||o.isBlockDevice()?Oh(o,e,t,i,r,a):o.isSymbolicLink()?Yh(e,t,i,r,a):o.isSocket()?a(new Error(`Cannot copy a socket file: ${t}`)):o.isFIFO()?a(new Error(`Cannot copy a FIFO pipe: ${t}`)):a(new Error(`Unknown file: ${t}`)))}function Oh(e,t,i,r,a,n){return t?Vh(e,i,r,a,n):Vo(e,i,r,a,n)}function Vh(e,t,i,r,a){if(r.overwrite)St.unlink(i,n=>n?a(n):Vo(e,t,i,r,a));else return r.errorOnExist?a(new Error(`'${i}' already exists`)):a()}function Vo(e,t,i,r,a){St.copyFile(t,i,n=>n?a(n):r.preserveTimestamps?Fh(e.mode,t,i,a):ca(i,e.mode,a))}function Fh(e,t,i,r){return Mh(e)?qh(i,e,a=>a?r(a):Uo(e,t,i,r)):Uo(e,t,i,r)}function Mh(e){return(e&128)===0}function qh(e,t,i){return ca(e,t|128,i)}function Uo(e,t,i,r){Kh(t,i,a=>a?r(a):ca(i,e,r))}function ca(e,t,i){return St.chmod(e,t,i)}function Kh(e,t,i){St.stat(e,(r,a)=>r?i(r):Ph(t,a.atime,a.mtime,i))}function Hh(e,t,i,r,a,n){return t?Fo(i,r,a,n):Gh(e.mode,i,r,a,n)}function Gh(e,t,i,r,a){St.mkdir(i,n=>{if(n)return a(n);Fo(t,i,r,s=>s?a(s):ca(i,e,a))})}function Fo(e,t,i,r){St.readdir(e,(a,n)=>a?r(a):Mo(n,e,t,i,r))}function Mo(e,t,i,r,a){let n=e.pop();return n?jh(e,n,t,i,r,a):a()}function jh(e,t,i,r,a,n){let s=bi.join(i,t),o=bi.join(r,t);Ti.checkPaths(s,o,"copy",a,(u,l)=>{if(u)return n(u);let{destStat:f}=l;Uh(f,s,o,a,c=>c?n(c):Mo(e,i,r,a,n))})}function Yh(e,t,i,r,a){St.readlink(t,(n,s)=>{if(n)return a(n);if(r.dereference&&(s=bi.resolve(process.cwd(),s)),e)St.readlink(i,(o,u)=>o?o.code==="EINVAL"||o.code==="UNKNOWN"?St.symlink(s,i,a):a(o):(r.dereference&&(u=bi.resolve(process.cwd(),u)),Ti.isSrcSubdir(s,u)?a(new Error(`Cannot copy '${s}' to a subdirectory of itself, '${u}'.`)):e.isDirectory()&&Ti.isSrcSubdir(u,s)?a(new Error(`Cannot overwrite '${u}' with '${s}'.`)):zh(s,i,a)));else return St.symlink(s,i,a)})}function zh(e,t,i){St.unlink(t,r=>r?i(r):St.symlink(e,t,i))}qo.exports=Qh});var zo=F((MA,Yo)=>{"use strict";S();var pt=dt(),wi=Le("path"),Jh=Mt().mkdirsSync,Wh=Bn().utimesMillisSync,_i=Pr();function Xh(e,t,i){typeof i=="function"&&(i={filter:i}),i=i||{},i.clobber="clobber"in i?!!i.clobber:!0,i.overwrite="overwrite"in i?!!i.overwrite:i.clobber,i.preserveTimestamps&&process.arch==="ia32"&&process.emitWarning(`Using the preserveTimestamps option in 32-bit node is not recommended;
|
|
@@ -172,5 +172,5 @@ export default createComponentHmrWrapper(OriginalComponent, import.meta.hot.data
|
|
|
172
172
|
Wix CLI dev server is up and running.<br>
|
|
173
173
|
You can close this browser tab and return to the terminal to continue working.
|
|
174
174
|
</body>
|
|
175
|
-
</html>`}S();var Z0="__WIX_ORIGIN_PLACEHOLDER__";function eh(){let e=null;return{name:"wix:auto-origin",apply:"serve",config:()=>({server:{origin:Z0}}),configureServer:t=>{t.middlewares.use((i,r,a)=>{e=e??wa(t),a()})},transform:(t,i)=>{if(i.match(/.*\.(m?jsx?|tsx?)$/))return t;if(!e)throw new Gr({code:jr.FailedToResolveViteOrigin()});return t.replaceAll(Z0,e)}}}S();import{dirname as tA,isAbsolute as rA,join as iA}from"node:path";import{URL as th}from"node:url";function aA(e,t,i){let r=new th(t,i).href;if(t.startsWith("/@vite"))return r;if(!rA(t)){let a=iA(tA(e),t);r=new th(a,i).href}return r}function rh(){let e;return{name:"wix:absolute-html-url",apply:"serve",configureServer(t){e=t},transformIndexHtml:{order:"post",handler(t,{originalUrl:i}){if(!i)throw new Error("Cannot find asset URL.");let r=e.resolvedUrls?.local?.[0],a=(n,s,o,u)=>{let l=aA(i,o,r);return`${s}${l}${u}`};return t.replace(/(<script [^><]*src=["'])((?!http)[^"']+)(["'][^><]*>[\r\n]*<\/script>)/g,a).replace(/(<link [^><]*href=["'])((?!http)[^"']+)(["'][^><]
|
|
176
|
-
//# sourceMappingURL=chunk-
|
|
175
|
+
</html>`}S();var Z0="__WIX_ORIGIN_PLACEHOLDER__";function eh(){let e=null;return{name:"wix:auto-origin",apply:"serve",config:()=>({server:{origin:Z0}}),configureServer:t=>{t.middlewares.use((i,r,a)=>{e=e??wa(t),a()})},transform:(t,i)=>{if(i.match(/.*\.(m?jsx?|tsx?)$/))return t;if(!e)throw new Gr({code:jr.FailedToResolveViteOrigin()});return t.replaceAll(Z0,e)}}}S();import{dirname as tA,isAbsolute as rA,join as iA}from"node:path";import{URL as th}from"node:url";function aA(e,t,i){let r=new th(t,i).href;if(t.startsWith("/@vite"))return r;if(!rA(t)){let a=iA(tA(e),t);r=new th(a,i).href}return r}function rh(){let e;return{name:"wix:absolute-html-url",apply:"serve",configureServer(t){e=t},transformIndexHtml:{order:"post",handler(t,{originalUrl:i}){if(!i)throw new Error("Cannot find asset URL.");let r=e.resolvedUrls?.local?.[0],a=(n,s,o,u)=>{let l=aA(i,o,r);return`${s}${l}${u}`};return t.replace(/(<script [^><]*src=["'])((?!http)[^"']+)(["'][^><]*>[\r\n]*<\/script>)/g,a).replace(/(<link [^><]*href=["'])((?!http)[^"']+)(["'][^><]*>)/g,a).replace(/(\r\n|\n|\r)/gm,"")}}}}async function wx(e,t){let{https:i}=t,r=[...yi(e)].map(([u,l])=>[`html-asset-${l.id}`,u]),a=[...mi(e)].map(([u,l])=>[`script-asset-${l.id}`,u]),n=e.components.filter((0,ih.isType)(eo.EmbeddedScript)).map(u=>[u.id,nA(e.projectFolder,u.relativePath)]),s=[...Ai(e)].map(([u,l])=>[`html-asset-${l.id}`,u]),o=[...Ci(e)].map(([u,l])=>[`script-asset-${l.id}`,u]);return{configFile:!1,root:e.projectFolder,customLogger:t.customLogger,clearScreen:!1,logLevel:"info",optimizeDeps:{entries:[ro,io,ao,no]},server:{},build:{sourcemap:!0,outDir:Zs(e.projectFolder),rollupOptions:{input:Object.fromEntries([...r,...a,...n,...s,...o])}},plugins:[_f(),...i?[$0()]:[],Tf({initialModel:e,...t}),vf(),mf(),df({react:"React","react-dom":"ReactDOM"}),xf({initialModel:e,...t}),eh(),rh()],experimental:{renderBuiltUrl(u,{hostType:l,hostId:f}){return l==="html"&&!f.includes("wix/html")?"__STATICS_BASE_URL_PLACEHOLDER__"+u:l!=="js"?{relative:!0}:{runtime:`import.meta.url.replace(${`"${f}"`}, ${`"${u}"`})`}}}}}export{wa as a,wx as b};
|
|
176
|
+
//# sourceMappingURL=chunk-LXG62LU6.js.map
|