@wix/cli-app 1.1.28 → 1.1.30
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-NFKBKYN5.js +4 -0
- package/build/CreateVersionCommand-NFKBKYN5.js.map +1 -0
- package/build/DevCommand-CSOEONPY.js +4 -0
- package/build/DevCommand-CSOEONPY.js.map +1 -0
- package/build/GenerateCommand-LHTPLGNF.js +99 -0
- package/build/GenerateCommand-LHTPLGNF.js.map +1 -0
- package/build/LogsCommand-GUWLKR7V.js +4 -0
- package/build/{LogsCommand-EQAEPQSZ.js.map → LogsCommand-GUWLKR7V.js.map} +1 -1
- package/build/PreviewCommand-QAYLTUIX.js +4 -0
- package/build/ServeCommand-PHOYGKPH.js +4 -0
- package/build/{ServeCommand-CERFKHB5.js.map → ServeCommand-PHOYGKPH.js.map} +1 -1
- package/build/build-N3GC2AJW.js +4 -0
- package/build/build-N3GC2AJW.js.map +1 -0
- package/build/chunk-25SA6SIS.js +4 -0
- package/build/chunk-25SA6SIS.js.map +1 -0
- package/build/chunk-2T5VKPKE.js +4 -0
- package/build/chunk-2T5VKPKE.js.map +1 -0
- package/build/chunk-5CHNGZ6H.js +87 -0
- package/build/chunk-5CHNGZ6H.js.map +1 -0
- package/build/{chunk-VZGLJSBQ.js → chunk-5QLZSP2U.js} +3 -3
- package/build/{chunk-VZGLJSBQ.js.map → chunk-5QLZSP2U.js.map} +1 -1
- package/build/chunk-AS45KVJN.js +4 -0
- package/build/chunk-AS45KVJN.js.map +1 -0
- package/build/chunk-BD6TU75M.js +11 -0
- package/build/{chunk-CU75PFHB.js.map → chunk-BD6TU75M.js.map} +1 -1
- package/build/chunk-C47JQ5AQ.js +4 -0
- package/build/{chunk-PDISMWAG.js.map → chunk-C47JQ5AQ.js.map} +1 -1
- package/build/{chunk-3ZWMQHFG.js → chunk-E74YEX6I.js} +2 -2
- package/build/chunk-E74YEX6I.js.map +1 -0
- package/build/chunk-EF6HOPCP.js +4 -0
- package/build/chunk-EF6HOPCP.js.map +1 -0
- package/build/chunk-GFH6QCDG.js +4 -0
- package/build/{chunk-EUCZHHS6.js.map → chunk-GFH6QCDG.js.map} +1 -1
- package/build/chunk-GRIMGGL3.js +4 -0
- package/build/chunk-H6SYLT4B.js +4 -0
- package/build/chunk-H6SYLT4B.js.map +1 -0
- package/build/chunk-JUS465G2.js +19 -0
- package/build/chunk-JUS465G2.js.map +1 -0
- package/build/chunk-L3HVHNTA.js +4 -0
- package/build/{chunk-VDBUFPPQ.js.map → chunk-L3HVHNTA.js.map} +1 -1
- package/build/chunk-OR2CAHGP.js +4 -0
- package/build/{chunk-ME4U7FVN.js.map → chunk-OR2CAHGP.js.map} +1 -1
- package/build/chunk-PEDWEHXR.js +99 -0
- package/build/chunk-PEDWEHXR.js.map +1 -0
- package/build/{chunk-4VHD7OBV.js → chunk-Q5WWBUFO.js} +2 -2
- package/build/{chunk-RXKVYQVC.js → chunk-SQZ5XNZ2.js} +2 -2
- package/build/chunk-SQZ5XNZ2.js.map +1 -0
- package/build/{chunk-FKNQBY7X.js → chunk-TTWJWXLR.js} +2 -2
- package/build/{chunk-YF675DKE.js → chunk-VH4K3U5M.js} +2 -2
- package/build/chunk-WZE4EKUX.js +4 -0
- package/build/{chunk-2V3FQGOH.js.map → chunk-WZE4EKUX.js.map} +1 -1
- package/build/chunk-XQLBMLA6.js +10 -0
- package/build/chunk-XQLBMLA6.js.map +1 -0
- package/build/chunk-YLBOH353.js +21 -0
- package/build/chunk-YLBOH353.js.map +1 -0
- package/build/chunk-ZFOHUOI6.js +4 -0
- package/build/{chunk-ZTBNOJP4.js.map → chunk-ZFOHUOI6.js.map} +1 -1
- package/build/index.js +12 -12
- package/build/index.js.map +1 -1
- package/build/preview-QZCCFP23.js +4 -0
- package/build/preview-QZCCFP23.js.map +1 -0
- package/build/render-command-AOEWP2JP.js +4 -0
- package/build/{render-command-QZNKMGV3.js.map → render-command-AOEWP2JP.js.map} +1 -1
- package/package.json +11 -10
- package/templates/custom-element/dependencies.json +1 -1
- package/templates/dashboard-modal/dependencies.json +2 -1
- package/templates/dashboard-modal/files/modal.tsx.ejs +4 -2
- package/templates/dashboard-page/dependencies.json +3 -1
- package/templates/dashboard-page/files/page.tsx.ejs +9 -3
- package/templates/dashboard-plugin/dependencies.json +2 -1
- package/templates/dashboard-plugin/files/plugin.tsx.ejs +5 -2
- package/build/CreateVersionCommand-HYIOMYPS.js +0 -4
- package/build/CreateVersionCommand-HYIOMYPS.js.map +0 -1
- package/build/DevCommand-NXVNR5O7.js +0 -4
- package/build/DevCommand-NXVNR5O7.js.map +0 -1
- package/build/GenerateCommand-QZE7QTNX.js +0 -99
- package/build/GenerateCommand-QZE7QTNX.js.map +0 -1
- package/build/LogsCommand-EQAEPQSZ.js +0 -4
- package/build/PreviewCommand-DCQC2ZG7.js +0 -4
- package/build/ServeCommand-CERFKHB5.js +0 -4
- package/build/build-NH7ZWZTO.js +0 -4
- package/build/build-NH7ZWZTO.js.map +0 -1
- package/build/chunk-2V3FQGOH.js +0 -4
- package/build/chunk-3ZWMQHFG.js.map +0 -1
- package/build/chunk-5IJKDSHA.js +0 -4
- package/build/chunk-AHUF5IOW.js +0 -4
- package/build/chunk-AHUF5IOW.js.map +0 -1
- package/build/chunk-BSR2JA4S.js +0 -4
- package/build/chunk-BSR2JA4S.js.map +0 -1
- package/build/chunk-CGSGJIBN.js +0 -10
- package/build/chunk-CGSGJIBN.js.map +0 -1
- package/build/chunk-CU75PFHB.js +0 -11
- package/build/chunk-EUCZHHS6.js +0 -4
- package/build/chunk-HAYBGBEA.js +0 -6
- package/build/chunk-HAYBGBEA.js.map +0 -1
- package/build/chunk-KSQU6TME.js +0 -4
- package/build/chunk-KSQU6TME.js.map +0 -1
- package/build/chunk-ME4U7FVN.js +0 -4
- package/build/chunk-PDISMWAG.js +0 -4
- package/build/chunk-QVFKOTXV.js +0 -87
- package/build/chunk-QVFKOTXV.js.map +0 -1
- package/build/chunk-RXKVYQVC.js.map +0 -1
- package/build/chunk-SEGEUJOD.js +0 -99
- package/build/chunk-SEGEUJOD.js.map +0 -1
- package/build/chunk-VDBUFPPQ.js +0 -4
- package/build/chunk-XKB57U76.js +0 -4
- package/build/chunk-XKB57U76.js.map +0 -1
- package/build/chunk-XT25CBJM.js +0 -21
- package/build/chunk-XT25CBJM.js.map +0 -1
- package/build/chunk-ZF4WFDE4.js +0 -4
- package/build/chunk-ZF4WFDE4.js.map +0 -1
- package/build/chunk-ZTBNOJP4.js +0 -4
- package/build/preview-EV2USTXM.js +0 -4
- package/build/preview-EV2USTXM.js.map +0 -1
- package/build/render-command-QZNKMGV3.js +0 -4
- /package/build/{PreviewCommand-DCQC2ZG7.js.map → PreviewCommand-QAYLTUIX.js.map} +0 -0
- /package/build/{chunk-5IJKDSHA.js.map → chunk-GRIMGGL3.js.map} +0 -0
- /package/build/{chunk-4VHD7OBV.js.map → chunk-Q5WWBUFO.js.map} +0 -0
- /package/build/{chunk-FKNQBY7X.js.map → chunk-TTWJWXLR.js.map} +0 -0
- /package/build/{chunk-YF675DKE.js.map → chunk-VH4K3U5M.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{
|
|
3
|
+
import{Ea as ao,Fa as no,Ga as so,Ia as ln,Ka as Ai,La as Ci,Ma as fn,Na as oo,Oa as uo,S as eo,T as to,aa as ro,ca as io,ea as yi,fa as un,g as $s,ga as mi,h as Zs}from"./chunk-PEDWEHXR.js";import{b as Xs,d as Gr,e as jr}from"./chunk-JUS465G2.js";import{a as Le,c as F,e as ra,h as S}from"./chunk-V4TR6DCM.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 vo=F((BA,go)=>{"use strict";S();var hr=Le("constants"),dh=process.cwd,na=null,gh=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){return na||(na=dh.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;go.exports=vh;function vh(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(){}),gh==="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 Ao=F((TA,mo)=>{"use strict";S();var yo=Le("stream").Stream;mo.exports=yh;function yh(e){return{ReadStream:t,WriteStream:i};function t(r,a){if(!(this instanceof t))return new t(r,a);yo.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);yo.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 Eo=F((_A,Co)=>{"use strict";S();Co.exports=Ah;var mh=Object.getPrototypeOf||function(e){return e.__proto__};function Ah(e){if(e===null||typeof e!="object")return e;if(e instanceof Object)var t={__proto__:mh(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((kA,En)=>{"use strict";S();var Qe=Le("fs"),Ch=vo(),Eh=Ao(),xh=Eo(),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 Sh(){}function Io(e,t){Object.defineProperty(e,Je,{get:function(){return t}})}var Rr=Sh;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]||(xo=global[Je]||[],Io(Qe,xo),Qe.close=function(e){function t(i,r){return e.call(Qe,i,function(a){a||So(),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),So()}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 xo;global[Je]||Io(global,Qe[Je]);En.exports=An(xh(Qe));process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!Qe.__patched&&(En.exports=An(Qe),Qe.__patched=!0);function An(e){Ch(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=Eh(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 So(){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 Bo=Et().fromCallback,xt=dt(),Ih=["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);Ih.forEach(e=>{pr[e]=Bo(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=Bo(xt.realpath.native):process.emitWarning("fs.realpath.native is not a function. Is fs being monkey-patched?","Warning","fs-extra-WARN0003")});var To=F((PA,bo)=>{"use strict";S();var Bh=Le("path");bo.exports.checkPath=function(t){if(process.platform==="win32"&&/[<>:"|?*]/.test(t.replace(Bh.parse(t).root,""))){let r=new Error(`Path contains invalid characters: ${t}`);throw r.code="EINVAL",r}}});var ko=F((UA,xn)=>{"use strict";S();var wo=Dr(),{checkPath:_o}=To(),No=e=>{let t={mode:511};return typeof e=="number"?e:{...t,...e}.mode};xn.exports.makeDir=async(e,t)=>(_o(e),wo.mkdir(e,{mode:No(t),recursive:!0}));xn.exports.makeDirSync=(e,t)=>(_o(e),wo.mkdirSync(e,{mode:No(t),recursive:!0}))});var Mt=F((VA,Lo)=>{"use strict";S();var bh=Et().fromPromise,{makeDir:Th,makeDirSync:Sn}=ko(),In=bh(Th);Lo.exports={mkdirs:In,mkdirsSync:Sn,mkdirp:In,mkdirpSync:Sn,ensureDir:In,ensureDirSync:Sn}});var dr=F((MA,Do)=>{"use strict";S();var wh=Et().fromPromise,Ro=Dr();function _h(e){return Ro.access(e).then(()=>!0).catch(()=>!1)}Do.exports={pathExists:wh(_h),pathExistsSync:Ro.existsSync}});var Bn=F((KA,Po)=>{"use strict";S();var Jr=dt();function Nh(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 kh(e,t,i){let r=Jr.openSync(e,"r+");return Jr.futimesSync(r,t,i),Jr.closeSync(r)}Po.exports={utimesMillis:Nh,utimesMillisSync:kh}});var Pr=F((GA,Oo)=>{"use strict";S();var Wr=Dr(),Ke=Le("path"),Lh=Le("util");function Rh(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 Dh(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 Ph(e,t,i,r,a){Lh.callbackify(Rh)(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 Qh(e,t,i,r){let{srcStat:a,destStat:n}=Dh(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 Qo(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))):Qo(e,t,s,r,a))}function Uo(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 Uo(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}'.`}Oo.exports={checkPaths:Ph,checkPathsSync:Qh,checkParentPaths:Qo,checkParentPathsSync:Uo,isSrcSubdir:bn,areIdentical:Bi}});var jo=F((YA,Go)=>{"use strict";S();var St=dt(),bi=Le("path"),Uh=Mt().mkdirs,Oh=dr().pathExists,Vh=Bn().utimesMillis,Ti=Pr();function Fh(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?Mo(Vo,o,e,t,i,r):Vo(o,e,t,i,r))})}function Vo(e,t,i,r,a){let n=bi.dirname(i);Oh(n,(s,o)=>{if(s)return a(s);if(o)return fa(e,t,i,r,a);Uh(n,u=>u?a(u):fa(e,t,i,r,a))})}function Mo(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 Mh(e,t,i,r,a){return r.filter?Mo(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()?zh(o,e,t,i,r,a):o.isFile()||o.isCharacterDevice()||o.isBlockDevice()?qh(o,e,t,i,r,a):o.isSymbolicLink()?Xh(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 qh(e,t,i,r,a,n){return t?Kh(e,i,r,a,n):qo(e,i,r,a,n)}function Kh(e,t,i,r,a){if(r.overwrite)St.unlink(i,n=>n?a(n):qo(e,t,i,r,a));else return r.errorOnExist?a(new Error(`'${i}' already exists`)):a()}function qo(e,t,i,r,a){St.copyFile(t,i,n=>n?a(n):r.preserveTimestamps?Hh(e.mode,t,i,a):ca(i,e.mode,a))}function Hh(e,t,i,r){return Gh(e)?jh(i,e,a=>a?r(a):Fo(e,t,i,r)):Fo(e,t,i,r)}function Gh(e){return(e&128)===0}function jh(e,t,i){return ca(e,t|128,i)}function Fo(e,t,i,r){Yh(t,i,a=>a?r(a):ca(i,e,r))}function ca(e,t,i){return St.chmod(e,t,i)}function Yh(e,t,i){St.stat(e,(r,a)=>r?i(r):Vh(t,a.atime,a.mtime,i))}function zh(e,t,i,r,a,n){return t?Ko(i,r,a,n):Jh(e.mode,i,r,a,n)}function Jh(e,t,i,r,a){St.mkdir(i,n=>{if(n)return a(n);Ko(t,i,r,s=>s?a(s):ca(i,e,a))})}function Ko(e,t,i,r){St.readdir(e,(a,n)=>a?r(a):Ho(n,e,t,i,r))}function Ho(e,t,i,r,a){let n=e.pop();return n?Wh(e,n,t,i,r,a):a()}function Wh(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;Mh(f,s,o,a,c=>c?n(c):Ho(e,i,r,a,n))})}function Xh(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}'.`)):$h(s,i,a)));else return St.symlink(s,i,a)})}function $h(e,t,i){St.unlink(t,r=>r?i(r):St.symlink(e,t,i))}Go.exports=Fh});var Xo=F((JA,Wo)=>{"use strict";S();var pt=dt(),wi=Le("path"),Zh=Mt().mkdirsSync,ep=Bn().utimesMillisSync,_i=Pr();function tp(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 ih="__WIX_ORIGIN_PLACEHOLDER__";function ah(){let e=null;return{name:"wix:auto-origin",apply:"serve",config:()=>({server:{origin:ih}}),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(ih,e)}}}S();import{dirname as nA,isAbsolute as sA,join as oA}from"node:path";import{URL as nh}from"node:url";function uA(e,t,i){let r=new nh(t,i).href;if(t.startsWith("/@vite"))return r;if(!sA(t)){let a=oA(nA(e),t);r=new nh(a,i).href}return r}function sh(){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=uA(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 fA(e,t,{baseBackendUrl:i}={}){let{https:r}=t,a=[...yi(e)].map(([l,f])=>[`html-asset-${f.id}`,l]),n=[...mi(e)].map(([l,f])=>[`script-asset-${f.id}`,l]),s=e.components.filter((0,oh.isType)(ro.EmbeddedScript)).map(l=>[l.id,lA(e.projectFolder,l.relativePath)]),o=[...Ai(e)].map(([l,f])=>[`html-asset-${f.id}`,l]),u=[...Ci(e)].map(([l,f])=>[`script-asset-${f.id}`,l]);return{configFile:!1,root:e.projectFolder,customLogger:t.customLogger,clearScreen:!1,logLevel:"info",optimizeDeps:{entries:[ao,no,so,oo,uo]},server:{},build:{sourcemap:!0,outDir:eo(e.projectFolder),rollupOptions:{input:Object.fromEntries([...a,...n,...s,...o,...u])}},define:{...i?{"import.meta.env.BASE_API_URL":JSON.stringify(i.replace(/\/$/,"")+"/functions")}:{}},plugins:[Rf(),...r?[rh()]:[],kf({initialModel:e,...t}),Cf(),xf(),mf({react:"React","react-dom":"ReactDOM"}),bf({initialModel:e,...t}),ah(),sh()],experimental:{renderBuiltUrl(l,{hostType:f,hostId:c}){return f==="html"&&!c.includes("wix/html")?"__STATICS_BASE_URL_PLACEHOLDER__"+l:f!=="js"?{relative:!0}:{runtime:`import.meta.url.replace(${`"${c}"`}, ${`"${l}"`})`}}}}}S();import{viteMiniflarePlugin as cA}from"@wix/cli-miniflare";import{createRequire as hA}from"node:module";var Ws=hA(import.meta.url);async function pA(e,t,{appSecret:i,webhooksPublicKey:r}){let a=Ws.resolve("@wix/cli-cloudflare-runtime/entry"),n=Ws.resolve("@wix/cli-cloudflare-runtime/getRegisteredEvents");return{configFile:!1,root:e.projectFolder,customLogger:t.customLogger,clearScreen:!1,logLevel:"info",optimizeDeps:{entries:[a,n]},ssr:{noExternal:!0,optimizeDeps:{include:["kind-of","lodash.isplainobject","lodash","crypto-js/sha256.js","crypto-js/enc-base64url.js","crypto-js"]}},resolve:{alias:{querystring:"query-string"}},build:{ssr:!0,manifest:!0,sourcemap:!0,target:"esnext",outDir:to(e.projectFolder),rollupOptions:{output:{entryFileNames:"[name].mjs",chunkFileNames:"assets/[name].mjs"},input:{entry:a,getRegisteredEvents:n}}},define:{"import.meta.env.APP_ID":JSON.stringify(e.config.appId),"import.meta.env.APP_SECRET":JSON.stringify(i),"import.meta.env.PUBLIC_KEY":JSON.stringify(r)},plugins:[cA({entry:Ws.resolve("@wix/cli-cloudflare-runtime/entry"),customLogger:t.customLogger})]}}S();export{wa as a,fA as b,pA as c};
|
|
176
|
-
//# sourceMappingURL=chunk-
|
|
175
|
+
</html>`}S();var ih="__WIX_ORIGIN_PLACEHOLDER__";function ah(){let e=null;return{name:"wix:auto-origin",apply:"serve",config:()=>({server:{origin:ih}}),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(ih,e)}}}S();import{dirname as nA,isAbsolute as sA,join as oA}from"node:path";import{URL as nh}from"node:url";function uA(e,t,i){let r=new nh(t,i).href;if(t.startsWith("/@vite"))return r;if(!sA(t)){let a=oA(nA(e),t);r=new nh(a,i).href}return r}function sh(){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=uA(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 fA(e,t,{baseBackendUrl:i}={}){let{https:r}=t,a=[...yi(e)].map(([l,f])=>[`html-asset-${f.id}`,l]),n=[...mi(e)].map(([l,f])=>[`script-asset-${f.id}`,l]),s=e.components.filter((0,oh.isType)(ro.EmbeddedScript)).map(l=>[l.id,lA(e.projectFolder,l.relativePath)]),o=[...Ai(e)].map(([l,f])=>[`html-asset-${f.id}`,l]),u=[...Ci(e)].map(([l,f])=>[`script-asset-${f.id}`,l]);return{configFile:!1,root:e.projectFolder,customLogger:t.customLogger,clearScreen:!1,logLevel:"info",optimizeDeps:{entries:[ao,no,so,oo,uo]},server:{},build:{sourcemap:!0,outDir:eo(e.projectFolder),rollupOptions:{input:Object.fromEntries([...a,...n,...s,...o,...u])}},define:{...i?{"import.meta.env.BASE_API_URL":JSON.stringify(i.replace(/\/$/,"")+"/functions")}:{}},plugins:[Rf(),...r?[rh()]:[],kf({initialModel:e,...t}),Cf(),xf(),mf({react:"React","react-dom":"ReactDOM"}),bf({initialModel:e,...t}),ah(),sh()],experimental:{renderBuiltUrl(l,{hostType:f,hostId:c}){return f==="html"&&!c.includes("wix/html")?"__STATICS_BASE_URL_PLACEHOLDER__"+l:f!=="js"?{relative:!0}:{runtime:`import.meta.url.replace(${`"${c}"`}, ${`"${l}"`})`}}}}}S();import{viteMiniflarePlugin as cA}from"@wix/cli-miniflare";import{createRequire as hA}from"node:module";var Ws=hA(import.meta.url);async function pA(e,t,{appSecret:i,webhooksPublicKey:r}){let a=Ws.resolve("@wix/cli-cloudflare-runtime/entry"),n=Ws.resolve("@wix/cli-cloudflare-runtime/getRegisteredEvents");return{configFile:!1,root:e.projectFolder,customLogger:t.customLogger,clearScreen:!1,logLevel:"info",optimizeDeps:{entries:[a,n]},ssr:{noExternal:!0,optimizeDeps:{include:["kind-of","lodash.isplainobject","lodash","crypto-js/sha256.js","crypto-js/enc-base64url.js","crypto-js","@wix/sdk"]}},resolve:{alias:{querystring:"query-string"}},build:{ssr:!0,manifest:!0,sourcemap:!0,target:"esnext",outDir:to(e.projectFolder),rollupOptions:{output:{entryFileNames:"[name].mjs",chunkFileNames:"assets/[name].mjs"},input:{entry:a,getRegisteredEvents:n}}},define:{"import.meta.env.APP_ID":JSON.stringify(e.config.appId),"import.meta.env.APP_SECRET":JSON.stringify(i),"import.meta.env.PUBLIC_KEY":JSON.stringify(r)},plugins:[cA({entry:Ws.resolve("@wix/cli-cloudflare-runtime/entry"),customLogger:t.customLogger})]}}S();export{wa as a,fA as b,pA as c};
|
|
176
|
+
//# sourceMappingURL=chunk-5QLZSP2U.js.map
|