@wix/cli-app 1.1.30 → 1.1.32
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-AKOX3F4R.js +4 -0
- package/build/{CreateVersionCommand-NFKBKYN5.js.map → CreateVersionCommand-AKOX3F4R.js.map} +1 -1
- package/build/DevCommand-CVMI3OND.js +4 -0
- package/build/{DevCommand-CSOEONPY.js.map → DevCommand-CVMI3OND.js.map} +1 -1
- package/build/GenerateCommand-57P6KOOM.js +99 -0
- package/build/{GenerateCommand-LHTPLGNF.js.map → GenerateCommand-57P6KOOM.js.map} +1 -1
- package/build/LogsCommand-P5LW5VOI.js +4 -0
- package/build/{LogsCommand-GUWLKR7V.js.map → LogsCommand-P5LW5VOI.js.map} +1 -1
- package/build/PreviewCommand-AXFQVFBV.js +4 -0
- package/build/ServeCommand-CEFAI6Z4.js +4 -0
- package/build/{ServeCommand-PHOYGKPH.js.map → ServeCommand-CEFAI6Z4.js.map} +1 -1
- package/build/{build-N3GC2AJW.js → build-ISANKZIW.js} +2 -2
- package/build/chunk-6PKE6DT4.js +4 -0
- package/build/{chunk-VH4K3U5M.js.map → chunk-6PKE6DT4.js.map} +1 -1
- package/build/chunk-A5N3P734.js +4 -0
- package/build/{chunk-ZFOHUOI6.js.map → chunk-A5N3P734.js.map} +1 -1
- package/build/{chunk-BD6TU75M.js → chunk-ARPIRV47.js} +2 -2
- package/build/chunk-BOQ3NCXF.js +4 -0
- package/build/{chunk-25SA6SIS.js.map → chunk-BOQ3NCXF.js.map} +1 -1
- package/build/{chunk-TTWJWXLR.js → chunk-DPW3BI3Y.js} +2 -2
- package/build/chunk-DRRMAC33.js +100 -0
- package/build/chunk-DRRMAC33.js.map +1 -0
- package/build/chunk-EI7JLTNP.js +4 -0
- package/build/{chunk-H6SYLT4B.js.map → chunk-EI7JLTNP.js.map} +1 -1
- package/build/chunk-H2U4YHRN.js +4 -0
- package/build/{chunk-OR2CAHGP.js.map → chunk-H2U4YHRN.js.map} +1 -1
- package/build/chunk-J5ANBYWF.js +11 -0
- package/build/chunk-J5ANBYWF.js.map +1 -0
- package/build/{chunk-2T5VKPKE.js → chunk-K5V5YWVI.js} +2 -2
- package/build/chunk-KWUMJ6JQ.js +4 -0
- package/build/{chunk-Q5WWBUFO.js.map → chunk-KWUMJ6JQ.js.map} +1 -1
- package/build/chunk-LE2AC3SJ.js +4 -0
- package/build/chunk-MDC42U33.js +4 -0
- package/build/chunk-MDC42U33.js.map +1 -0
- package/build/chunk-MRVGH2GQ.js +4 -0
- package/build/{chunk-L3HVHNTA.js.map → chunk-MRVGH2GQ.js.map} +1 -1
- package/build/chunk-NXQAYU44.js +116 -0
- package/build/chunk-NXQAYU44.js.map +1 -0
- package/build/chunk-RPI6ANLU.js +4 -0
- package/build/{chunk-AS45KVJN.js.map → chunk-RPI6ANLU.js.map} +1 -1
- package/build/{chunk-SQZ5XNZ2.js → chunk-VQJRKVSE.js} +2 -2
- package/build/{chunk-SQZ5XNZ2.js.map → chunk-VQJRKVSE.js.map} +1 -1
- package/build/{chunk-5QLZSP2U.js → chunk-W2OGV6HU.js} +36 -36
- package/build/{chunk-5QLZSP2U.js.map → chunk-W2OGV6HU.js.map} +1 -1
- package/build/{chunk-XQLBMLA6.js → chunk-ZRKMSAZQ.js} +3 -3
- package/build/{chunk-XQLBMLA6.js.map → chunk-ZRKMSAZQ.js.map} +1 -1
- package/build/{chunk-EF6HOPCP.js → chunk-ZSNZ62EG.js} +2 -2
- package/build/index.js +2 -2
- package/build/index.js.map +1 -1
- package/build/preview-ABI3GMT6.js +4 -0
- package/build/{preview-QZCCFP23.js.map → preview-ABI3GMT6.js.map} +1 -1
- package/build/render-command-F4KJL2DD.js +4 -0
- package/build/{render-command-AOEWP2JP.js.map → render-command-F4KJL2DD.js.map} +1 -1
- package/package.json +5 -5
- package/build/CreateVersionCommand-NFKBKYN5.js +0 -4
- package/build/DevCommand-CSOEONPY.js +0 -4
- package/build/GenerateCommand-LHTPLGNF.js +0 -99
- package/build/LogsCommand-GUWLKR7V.js +0 -4
- package/build/PreviewCommand-QAYLTUIX.js +0 -4
- package/build/ServeCommand-PHOYGKPH.js +0 -4
- package/build/chunk-25SA6SIS.js +0 -4
- package/build/chunk-5CHNGZ6H.js +0 -87
- package/build/chunk-5CHNGZ6H.js.map +0 -1
- package/build/chunk-AS45KVJN.js +0 -4
- package/build/chunk-C47JQ5AQ.js +0 -4
- package/build/chunk-C47JQ5AQ.js.map +0 -1
- package/build/chunk-E74YEX6I.js +0 -11
- package/build/chunk-E74YEX6I.js.map +0 -1
- package/build/chunk-GFH6QCDG.js +0 -4
- package/build/chunk-GFH6QCDG.js.map +0 -1
- package/build/chunk-GRIMGGL3.js +0 -4
- package/build/chunk-H6SYLT4B.js +0 -4
- package/build/chunk-JUS465G2.js +0 -19
- package/build/chunk-JUS465G2.js.map +0 -1
- package/build/chunk-L3HVHNTA.js +0 -4
- package/build/chunk-OR2CAHGP.js +0 -4
- package/build/chunk-PEDWEHXR.js +0 -99
- package/build/chunk-PEDWEHXR.js.map +0 -1
- package/build/chunk-Q5WWBUFO.js +0 -4
- package/build/chunk-VH4K3U5M.js +0 -4
- package/build/chunk-WZE4EKUX.js +0 -4
- package/build/chunk-WZE4EKUX.js.map +0 -1
- package/build/chunk-YLBOH353.js +0 -21
- package/build/chunk-YLBOH353.js.map +0 -1
- package/build/chunk-ZFOHUOI6.js +0 -4
- package/build/preview-QZCCFP23.js +0 -4
- package/build/render-command-AOEWP2JP.js +0 -4
- /package/build/{PreviewCommand-QAYLTUIX.js.map → PreviewCommand-AXFQVFBV.js.map} +0 -0
- /package/build/{build-N3GC2AJW.js.map → build-ISANKZIW.js.map} +0 -0
- /package/build/{chunk-BD6TU75M.js.map → chunk-ARPIRV47.js.map} +0 -0
- /package/build/{chunk-TTWJWXLR.js.map → chunk-DPW3BI3Y.js.map} +0 -0
- /package/build/{chunk-2T5VKPKE.js.map → chunk-K5V5YWVI.js.map} +0 -0
- /package/build/{chunk-GRIMGGL3.js.map → chunk-LE2AC3SJ.js.map} +0 -0
- /package/build/{chunk-EF6HOPCP.js.map → chunk-ZSNZ62EG.js.map} +0 -0
package/build/chunk-25SA6SIS.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { createRequire as _createRequire } from 'node:module';
|
|
2
|
-
const require = _createRequire(import.meta.url);
|
|
3
|
-
import{$ as N,B as g,C as A,D as I,E as w,Ha as O,Ja as U,T,aa as h,ba as f,da as x,fa as k,r as P,v as p,w as B,x as M}from"./chunk-PEDWEHXR.js";import{b as y,d as u,e as c}from"./chunk-JUS465G2.js";import{e as E,h as l}from"./chunk-V4TR6DCM.js";l();var C=E(y(),1);import{randomUUID as V}from"node:crypto";var _=t=>{let r=new Map;[...t.filter(i=>!(0,C.isType)(i,h.Api)&&!(0,C.isType)(i,h.Event)&&!(0,C.isType)(i,h.ServicePlugin))].sort((i,d)=>i.id.localeCompare(d.id)).forEach(i=>{let d=r.get(i.id)??[];d.push(i),r.set(i.id,d)});let e=new Map;if(r.forEach((i,d)=>{i.length>1&&e.set(d,i)}),e.size)throw new u({code:c.DuplicateComponentIdsError({issues:Array.from(e.entries()).map(([i,d])=>({id:i,components:d.map(n=>(0,C.match)(n,{DashboardPage:({title:s,relativePath:m})=>({name:s,type:"page",path:f(m,"json")}),DashboardPlugin:({title:s,relativePath:m})=>({name:s,type:"plugin",path:f(m,"json")}),DashboardMenuPlugin:({title:s,relativePath:m})=>({name:s,type:"menu-plugin",path:m}),DashboardModal:({title:s,relativePath:m})=>({name:s,type:"modal",path:f(m,"json")}),DashboardSidebarCategory:({label:s})=>({name:s,type:"sidebar-category",path:P}),EmbeddedScript:({relativePath:s})=>({name:s,type:"embedded-script",path:f(s,"json")}),CustomElement:({name:s,relativePath:m})=>({name:s,type:"custom-element",path:f(m,"json")}),Topology:({name:s})=>({name:s,type:"topology",path:""})})).sort((n,s)=>n.name.localeCompare(s.name)),suggestedId:V()}))})})};l();var R=E(y(),1);import{randomUUID as G}from"node:crypto";function L(t){return t!=null&&t!==!1}var H=(t,r)=>{if(t.experiments)return{appId:r,componentId:t.id,spec:t.experiments.enabledBy,variantValue:"true"}},K=t=>({compId:t.id,compType:p.CUSTOM_ELEMENT_WIDGET,compName:t.name,compData:{customElementWidget:{base:{name:t.name},widgetData:{tagName:t.tagName,scriptType:I.ES_MODULE,scriptUrl:"https://dummy.web.com"},size:{width:{defaultWidth:t.width.defaultWidth,allowStretch:t.width.allowStretch,stretchByDefault:t.width.stretchByDefault},height:{defaultHeight:t.height.defaultHeight,heightMode:w.FIXED}},installation:{base:{autoAdd:t.installation?.autoAddToSite,essential:t.installation?.essential,maxInstances:t.installation?.essential?1:0},widget:{region:B.BODY}},behaviors:{},dependencies:t.dependencies}}});async function pe({appId:t,components:r,sentryDSN:a,componentSourceBuilder:o}){return _(r),{appId:t,components:(await Promise.all(r.map((0,R.match)({DashboardPage:async e=>{let i=e.sentryDSN??a;return{compId:e.id,compType:p.BACK_OFFICE_PAGE,compData:{backOfficePage:{hostingPlatform:g.BUSINESS_MANAGER,fullPage:e.sidebar?.whenActive?.hideSidebar,hideInSidebar:e.sidebar?.disabled,priority:e.sidebar?.priority,routePath:e.route.slice(1),title:e.title,pageCategoryId:e.sidebar?.categoryId,activeSidebarPageId:e.sidebar?.whenActive?.selectedPageId,requiredPermission:e.requiredPermission,previousRoutePaths:e.additionalRoutes,...i?{errorReporting:{url:i}}:void 0,...await o(e)}},compName:e.title,experiment:H(e,t)}},DashboardPlugin:async e=>({compId:e.id,compType:p.BACK_OFFICE_EXTENSION_WIDGET,compData:{backOfficeExtensionWidget:{hostingPlatform:g.BUSINESS_MANAGER,extends:e.extends,title:e.title,requiredPermission:e.requiredPermission,width:e.width,height:e.height,...await o(e),...e.sentryDSN?{errorReporting:{url:e.sentryDSN}}:void 0}},compName:e.title}),DashboardMenuPlugin:async e=>({compId:e.id,compType:p.BACK_OFFICE_EXTENSION_MENU_ITEM,compData:{backOfficeExtensionMenuItem:{hostingPlatform:g.BUSINESS_MANAGER,id:e.id,title:e.title,subtitle:e.subtitle,iconKey:e.iconKey,extends:e.extends,action:e.action,requiredPermission:e.requiredPermission,...e.sentryDSN?{errorReporting:{url:e.sentryDSN}}:void 0}},compName:e.title}),DashboardModal:async e=>({compId:e.id,compType:p.BACK_OFFICE_MODAL,compData:{backOfficeModal:{hostingPlatform:g.BUSINESS_MANAGER,title:e.title,requiredPermission:e.requiredPermission,width:e.width,height:e.height,...await o(e),...e.sentryDSN?{errorReporting:{url:e.sentryDSN}}:void 0}},compName:e.title}),DashboardSidebarCategory:async e=>({compId:e.id,compType:p.BACK_OFFICE_SIDEBAR_CATEGORY,compData:{backOfficeSidebarCategory:{hostingPlatform:g.BUSINESS_MANAGER,title:e.label,priority:e.priority}},compName:e.label}),EmbeddedScript:async e=>({compId:e.id,compType:p.EMBEDDED_SCRIPT,compName:e.name,compData:{embeddedScriptComponentData:{name:e.name,pages:M.NONE_PAGES,placement:e.placement,connectArticleUrl:"",embedCategory:e.scriptType,dependencies:e.dependencies,loadOnce:!0,allowedForFreeSite:!0,...await o(e)}}}),CustomElement:async e=>{let{scriptUrl:i,settingsUrl:d}=await o(e),n=K(e);return{...n,compData:{customElementWidget:{...n.compData.customElementWidget,widgetData:{...n.compData.customElementWidget.widgetData,scriptUrl:i},behaviors:{...n.compData.customElementWidget.behaviors,...e.relativePanelPath?{settings:{settingsUrl:d}}:{}}}}}},Topology:async e=>({compId:e.id,compType:p.TOPOLOGY,compName:e.name,compData:{topology:{topology:{backendApiUrl:e.backendApiUrl}}}}),Api:()=>null,Event:async e=>(await o(e)).map(({webhookSlug:d})=>({compName:d,compId:G(),compType:p.WEBHOOK,compData:{webhook:{callbackUrl:"__WEBHOOKS_URL_PLACEHOLDER__",webhookSlug:d}}})),ServicePlugin:()=>null})))).filter(L).flat()}}l();var W=E(y(),1);import{join as q}from"node:path";l();function F(t){if(!("output"in t||Array.isArray(t)))throw new u({code:c.InvalidViteBuildOutput()});return Array.isArray(t)?t.flatMap(o=>o.output):t.output}function v(t,r){let o=F(t).find(e=>e.type==="chunk"&&e.facadeModuleId===r);if(!o)throw new u({code:c.ViteModuleBundleNotFound()});return o.fileName}function j(t,r){let o=F(t).find(e=>e.fileName===r);if(!o||!("source"in o))throw new u({code:c.ViteFileNotFoundInOutput({fileName:r})});return o.source.toString()}async function $(t,r){let a=new URL(t.relativePath,r).href;return await fetch(a).then(e=>e.text())}async function X(t,r){let a=new URL("__get-registered-events",r).href,o=await fetch(a);return o.ok?(await o.json())[`/${t.relativePath}`]:[]}async function Y(t,r){let a=T(r.projectFolder),o=q(a,"getRegisteredEvents.mjs"),{getRegisteredEvents:e}=await import(o);return(await e())[`/${t.relativePath}`]}var b=(t,r,a)=>{if(!r.config.trusted)return{iframeUrl:x(t.id)};let o=k(t.id),e=a?v(a,o):`/@id/${o}?import`;return{scriptAsset:{exportedName:t.id,containerId:r.config.appId,url:e,scriptType:A.MODULE}}},z=async(t,r,a)=>({template:r?j(r,t.relativePath):await $(t,a)}),J=async(t,r,a,o)=>{let e=a?await Y(t,r):await X(t,o);return(await Promise.all(e?.map(N))).map(d=>({webhookSlug:d}))},Q=(t,r)=>{let a=U(t.id);return{scriptUrl:r?v(r,a):`/@id/${a}?import`,settingsUrl:O(t.id)}};function ve({model:t,clientBuildOutput:r,backendBuildOutput:a,clientDevServerUrl:o,backendDevServerUrl:e}){return async i=>(0,W.match)(i,{EmbeddedScript:n=>z(n,r,o),DashboardSidebarCategory:()=>{},CustomElement:n=>Q(n,r),DashboardPage:n=>b(n,t,r),DashboardPlugin:n=>b(n,t,r),DashboardModal:n=>b(n,t,r),DashboardMenuPlugin:()=>{},Topology:()=>{},Api:()=>{},Event:n=>J(n,t,a,e),ServicePlugin:()=>{}})}export{_ as a,K as b,pe as c,ve as d};
|
|
4
|
-
//# sourceMappingURL=chunk-25SA6SIS.js.map
|