@wix/cli-app 1.1.130 → 1.1.132
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/{AddPermissionCommand-BNQLVVG2.js → AddPermissionCommand-7QIFVBXV.js} +2 -2
- package/build/{DevCommand-RROFLNVA.js → DevCommand-RDPL27X5.js} +10 -10
- package/build/{GenerateCommand-G4UXQSC4.js → GenerateCommand-6ADO2EJU.js} +7 -7
- package/build/{LogsCommand-ZSHD4GIP.js → LogsCommand-PIRWJADI.js} +3 -3
- package/build/PreviewCommand-AN6WMCYS.js +19 -0
- package/build/ReleaseCommand-DAK2EFM2.js +23 -0
- package/build/{ServeCommand-S6M35AKW.js → ServeCommand-5HERPY2Q.js} +3 -3
- package/build/{build-RUSZ3TSC.js → build-6IDZAW4E.js} +6 -6
- package/build/{chunk-WKSWNCTU.js → chunk-DK2KK5UN.js} +2 -2
- package/build/{chunk-NJJYZJQS.js → chunk-ESTYQVMX.js} +666 -450
- package/build/{chunk-NJJYZJQS.js.map → chunk-ESTYQVMX.js.map} +1 -1
- package/build/{chunk-NGOYJYOW.js → chunk-FWRUE2NB.js} +2 -2
- package/build/{chunk-JQTGMEWQ.js → chunk-GNL53AZS.js} +3 -3
- package/build/{chunk-DRD6GB7Q.js → chunk-IIF6P6XG.js} +2 -2
- package/build/{chunk-HAIW522F.js → chunk-JYZ5QJ5C.js} +2 -2
- package/build/{chunk-Y4JFLKW4.js → chunk-KHUHWBJD.js} +55 -9
- package/build/chunk-KHUHWBJD.js.map +1 -0
- package/build/{chunk-SOU6HNBH.js → chunk-KVESKT7X.js} +4 -4
- package/build/{chunk-KIVZW6PT.js → chunk-LQZSH33G.js} +6 -6
- package/build/{chunk-O6H7XIDU.js → chunk-NJXD2TTX.js} +221 -148
- package/build/chunk-NJXD2TTX.js.map +1 -0
- package/build/{chunk-GK6REVIM.js → chunk-O2MISIES.js} +2 -2
- package/build/{chunk-HJMVSDM6.js → chunk-PREYTA74.js} +27 -17
- package/build/{chunk-HJMVSDM6.js.map → chunk-PREYTA74.js.map} +1 -1
- package/build/{chunk-YUGELGFN.js → chunk-QQ4OBBX7.js} +6 -6
- package/build/{chunk-SQNOCNCP.js → chunk-UJ4SA2PC.js} +2 -2
- package/build/{chunk-YKE5JW33.js → chunk-VDQEUTFT.js} +4 -4
- package/build/{chunk-2CWSXZNM.js → chunk-WA2CFDB5.js} +2 -2
- package/build/{chunk-JACM7HP5.js → chunk-XDUVJLLQ.js} +2 -2
- package/build/index.js +23 -23
- package/build/platform-sdk/{chunk-J3SVE4GM.js → chunk-R7FAXXP7.js} +1 -1
- package/build/platform-sdk/{chunk-J3SVE4GM.js.map → chunk-R7FAXXP7.js.map} +1 -1
- package/build/platform-sdk/{chunk-QFPCSRLT.js → chunk-WBKL5IQV.js} +2 -2
- package/build/platform-sdk/dashboard.js +1 -1
- package/build/platform-sdk/dashboard.js.map +1 -1
- package/build/platform-sdk/editor.js +1 -1
- package/build/platform-sdk/editor.js.map +1 -1
- package/build/platform-sdk/sdk-context.js +1 -1
- package/build/platform-sdk/sdk-context.js.map +1 -1
- package/build/platform-sdk/site.js +1 -1
- package/build/{preview-IMIIDIZG.js → preview-IXHPIOMO.js} +12 -12
- package/build/{release-T4YODE2A.js → release-RFFKID6V.js} +14 -14
- package/build/{render-command-JIQJEJ2I.js → render-command-NUU6LT5M.js} +5 -5
- package/package.json +6 -6
- package/schemas/wix-config.json +1 -1
- package/build/PreviewCommand-TJDGT26I.js +0 -19
- package/build/ReleaseCommand-225R4KKI.js +0 -23
- package/build/chunk-O6H7XIDU.js.map +0 -1
- package/build/chunk-Y4JFLKW4.js.map +0 -1
- /package/build/{AddPermissionCommand-BNQLVVG2.js.map → AddPermissionCommand-7QIFVBXV.js.map} +0 -0
- /package/build/{DevCommand-RROFLNVA.js.map → DevCommand-RDPL27X5.js.map} +0 -0
- /package/build/{GenerateCommand-G4UXQSC4.js.map → GenerateCommand-6ADO2EJU.js.map} +0 -0
- /package/build/{LogsCommand-ZSHD4GIP.js.map → LogsCommand-PIRWJADI.js.map} +0 -0
- /package/build/{PreviewCommand-TJDGT26I.js.map → PreviewCommand-AN6WMCYS.js.map} +0 -0
- /package/build/{ReleaseCommand-225R4KKI.js.map → ReleaseCommand-DAK2EFM2.js.map} +0 -0
- /package/build/{ServeCommand-S6M35AKW.js.map → ServeCommand-5HERPY2Q.js.map} +0 -0
- /package/build/{build-RUSZ3TSC.js.map → build-6IDZAW4E.js.map} +0 -0
- /package/build/{chunk-WKSWNCTU.js.map → chunk-DK2KK5UN.js.map} +0 -0
- /package/build/{chunk-NGOYJYOW.js.map → chunk-FWRUE2NB.js.map} +0 -0
- /package/build/{chunk-JQTGMEWQ.js.map → chunk-GNL53AZS.js.map} +0 -0
- /package/build/{chunk-DRD6GB7Q.js.map → chunk-IIF6P6XG.js.map} +0 -0
- /package/build/{chunk-HAIW522F.js.map → chunk-JYZ5QJ5C.js.map} +0 -0
- /package/build/{chunk-SOU6HNBH.js.map → chunk-KVESKT7X.js.map} +0 -0
- /package/build/{chunk-KIVZW6PT.js.map → chunk-LQZSH33G.js.map} +0 -0
- /package/build/{chunk-GK6REVIM.js.map → chunk-O2MISIES.js.map} +0 -0
- /package/build/{chunk-YUGELGFN.js.map → chunk-QQ4OBBX7.js.map} +0 -0
- /package/build/{chunk-SQNOCNCP.js.map → chunk-UJ4SA2PC.js.map} +0 -0
- /package/build/{chunk-YKE5JW33.js.map → chunk-VDQEUTFT.js.map} +0 -0
- /package/build/{chunk-2CWSXZNM.js.map → chunk-WA2CFDB5.js.map} +0 -0
- /package/build/{chunk-JACM7HP5.js.map → chunk-XDUVJLLQ.js.map} +0 -0
- /package/build/platform-sdk/{chunk-QFPCSRLT.js.map → chunk-WBKL5IQV.js.map} +0 -0
- /package/build/{preview-IMIIDIZG.js.map → preview-IXHPIOMO.js.map} +0 -0
- /package/build/{release-T4YODE2A.js.map → release-RFFKID6V.js.map} +0 -0
- /package/build/{render-command-JIQJEJ2I.js.map → render-command-NUU6LT5M.js.map} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as n}from"./chunk-
|
|
1
|
+
import{a as n}from"./chunk-R7FAXXP7.js";import"./chunk-7EYXEF6M.js";import"./chunk-SBZEOPXX.js";function o(e,t=!1){return n(e,t)}var s=["wix.com","editorx.com"];var u=new RegExp(`\\.(${s.join("|")})$`),c=["42.wixprod.net","uw2-edt-1.wixprod.net"],a="dev.wix-code.com";var _=new RegExp(`\\.(${c.join("|")})$`),m=new RegExp(`.*\\.${a}$`);import{wixContext as f}from"@wix/sdk-context";function r(e,t){t==="global"?globalThis.__wix_context__!=null?globalThis.__wix_context__.client=e:globalThis.__wix_context__={client:e}:f.client=e}var E=o(e=>(t,i)=>e.fetchWithAuth(t,i));export{r as enableContext};
|
|
2
2
|
//# sourceMappingURL=sdk-context.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../node_modules/@wix/sdk/node_modules/@wix/sdk-runtime/build/rest-modules.js","../../../node_modules/@wix/sdk/build/enable-context.js","../../../node_modules/@wix/sdk/build/context.js"],"sourcesContent":["import { contextualizeRESTModuleV2 } from './context-v2.js';\nexport function createRESTModule(descriptor, elevated = false) {\n return contextualizeRESTModuleV2(descriptor, elevated);\n}\nexport function toURLSearchParams(params, isComplexRequest) {\n const flatten = flattenParams(params);\n // payloads with deep arrays or complex arrays are not serializable as URLSearchParams\n const isPayloadNonSerializableAsUrlSearchParams = Object.entries(flatten).some(([key, value]) => key.includes('.') ||\n (Array.isArray(value) && value.some((v) => typeof v === 'object')));\n const shouldSerializeToRParam = isComplexRequest && isPayloadNonSerializableAsUrlSearchParams;\n if (shouldSerializeToRParam) {\n return new URLSearchParams({ '.r': base64Encode(JSON.stringify(params)) });\n }\n else {\n return Object.entries(flatten).reduce((urlSearchParams, [key, value]) => {\n // inorder to make `foo: [1,2]` turn into `foo=1&foo=2` and not `foo[]=1&foo[]=2`\n const keyParams = Array.isArray(value) ? value : [value];\n keyParams.forEach((param) => {\n if (param === undefined ||\n param === null ||\n (Array.isArray(value) && typeof param === 'object')) {\n return;\n }\n urlSearchParams.append(key, param);\n });\n return urlSearchParams;\n }, new URLSearchParams());\n }\n}\nexport function resolveUrl(opts) {\n const domain = resolveDomain(opts.host);\n const mappings = resolveMappingsByDomain(domain, opts.domainToMappings);\n const path = injectDataIntoProtoPath(opts.protoPath, opts.data || {});\n return resolvePathFromMappings(path, mappings);\n}\nfunction flattenParams(data, path = '') {\n const params = {};\n Object.entries(data).forEach(([key, value]) => {\n const isObject = value !== null && typeof value === 'object' && !Array.isArray(value);\n const fieldPath = resolvePath(path, key);\n if (isObject) {\n const serializedObject = flattenParams(value, fieldPath);\n Object.assign(params, serializedObject);\n }\n else {\n params[fieldPath] = value;\n }\n });\n return params;\n}\nfunction resolvePath(path, key) {\n return `${path}${path ? '.' : ''}${key}`;\n}\nconst base64Encode = (value) => {\n const base64 = typeof btoa !== 'undefined'\n ? btoa(value)\n : Buffer.from(value, 'utf-8').toString('base64');\n return base64.replace(/=/g, '').replace(/\\+/g, '-').replace(/\\//g, '_');\n};\nconst DOMAINS = ['wix.com', 'editorx.com'];\nconst USER_DOMAIN = '_';\nconst REGEX_CAPTURE_DOMAINS = new RegExp(`\\\\.(${DOMAINS.join('|')})$`);\nconst WIX_API_DOMAINS = ['42.wixprod.net', 'uw2-edt-1.wixprod.net'];\nconst DEV_WIX_CODE_DOMAIN = 'dev.wix-code.com';\nconst REGEX_CAPTURE_PROTO_FIELD = /{(.*)}/;\nconst REGEX_CAPTURE_API_DOMAINS = new RegExp(`\\\\.(${WIX_API_DOMAINS.join('|')})$`);\nconst REGEX_CAPTURE_DEV_WIX_CODE_DOMAIN = new RegExp(`.*\\\\.${DEV_WIX_CODE_DOMAIN}$`);\nfunction resolveDomain(host) {\n const resolvedHost = fixHostExceptions(host);\n return resolvedHost\n .replace(REGEX_CAPTURE_DOMAINS, '._base_domain_')\n .replace(REGEX_CAPTURE_API_DOMAINS, '._api_base_domain_')\n .replace(REGEX_CAPTURE_DEV_WIX_CODE_DOMAIN, '*.dev.wix-code.com');\n}\n// hosts which standard string replacing doesn't apply to them, will be fixed here.\nfunction fixHostExceptions(host) {\n // https://system-kb.wixanswers.com/kb/en/article/editorx-domains-matching-to-wixcom\n return host.replace('create.editorx.com', 'editor.editorx.com');\n}\nfunction resolveMappingsByDomain(domain, domainToMappings) {\n const mappings = domainToMappings[domain] || domainToMappings[USER_DOMAIN];\n if (
|
|
1
|
+
{"version":3,"sources":["../../../node_modules/@wix/sdk/node_modules/@wix/sdk-runtime/build/rest-modules.js","../../../node_modules/@wix/sdk/build/enable-context.js","../../../node_modules/@wix/sdk/build/context.js"],"sourcesContent":["import { contextualizeRESTModuleV2 } from './context-v2.js';\nexport function createRESTModule(descriptor, elevated = false) {\n return contextualizeRESTModuleV2(descriptor, elevated);\n}\nexport function toURLSearchParams(params, isComplexRequest) {\n const flatten = flattenParams(params);\n // payloads with deep arrays or complex arrays are not serializable as URLSearchParams\n const isPayloadNonSerializableAsUrlSearchParams = Object.entries(flatten).some(([key, value]) => key.includes('.') ||\n (Array.isArray(value) && value.some((v) => typeof v === 'object')));\n const shouldSerializeToRParam = isComplexRequest && isPayloadNonSerializableAsUrlSearchParams;\n if (shouldSerializeToRParam) {\n return new URLSearchParams({ '.r': base64Encode(JSON.stringify(params)) });\n }\n else {\n return Object.entries(flatten).reduce((urlSearchParams, [key, value]) => {\n // inorder to make `foo: [1,2]` turn into `foo=1&foo=2` and not `foo[]=1&foo[]=2`\n const keyParams = Array.isArray(value) ? value : [value];\n keyParams.forEach((param) => {\n if (param === undefined ||\n param === null ||\n (Array.isArray(value) && typeof param === 'object')) {\n return;\n }\n urlSearchParams.append(key, param);\n });\n return urlSearchParams;\n }, new URLSearchParams());\n }\n}\nexport function resolveUrl(opts) {\n const domain = resolveDomain(opts.host);\n const mappings = resolveMappingsByDomain(domain, opts.domainToMappings);\n const path = injectDataIntoProtoPath(opts.protoPath, opts.data || {});\n return resolvePathFromMappings(path, mappings);\n}\nfunction flattenParams(data, path = '') {\n const params = {};\n Object.entries(data).forEach(([key, value]) => {\n const isObject = value !== null && typeof value === 'object' && !Array.isArray(value);\n const fieldPath = resolvePath(path, key);\n if (isObject) {\n const serializedObject = flattenParams(value, fieldPath);\n Object.assign(params, serializedObject);\n }\n else {\n params[fieldPath] = value;\n }\n });\n return params;\n}\nfunction resolvePath(path, key) {\n return `${path}${path ? '.' : ''}${key}`;\n}\nconst base64Encode = (value) => {\n const base64 = typeof btoa !== 'undefined'\n ? btoa(value)\n : Buffer.from(value, 'utf-8').toString('base64');\n return base64.replace(/=/g, '').replace(/\\+/g, '-').replace(/\\//g, '_');\n};\nconst DOMAINS = ['wix.com', 'editorx.com'];\nconst USER_DOMAIN = '_';\nconst REGEX_CAPTURE_DOMAINS = new RegExp(`\\\\.(${DOMAINS.join('|')})$`);\nconst WIX_API_DOMAINS = ['42.wixprod.net', 'uw2-edt-1.wixprod.net'];\nconst DEV_WIX_CODE_DOMAIN = 'dev.wix-code.com';\nconst REGEX_CAPTURE_PROTO_FIELD = /{(.*)}/;\nconst REGEX_CAPTURE_API_DOMAINS = new RegExp(`\\\\.(${WIX_API_DOMAINS.join('|')})$`);\nconst REGEX_CAPTURE_DEV_WIX_CODE_DOMAIN = new RegExp(`.*\\\\.${DEV_WIX_CODE_DOMAIN}$`);\nfunction resolveDomain(host) {\n const resolvedHost = fixHostExceptions(host);\n return resolvedHost\n .replace(REGEX_CAPTURE_DOMAINS, '._base_domain_')\n .replace(REGEX_CAPTURE_API_DOMAINS, '._api_base_domain_')\n .replace(REGEX_CAPTURE_DEV_WIX_CODE_DOMAIN, '*.dev.wix-code.com');\n}\n// hosts which standard string replacing doesn't apply to them, will be fixed here.\nfunction fixHostExceptions(host) {\n // https://system-kb.wixanswers.com/kb/en/article/editorx-domains-matching-to-wixcom\n return host.replace('create.editorx.com', 'editor.editorx.com');\n}\nfunction resolveMappingsByDomain(domain, domainToMappings) {\n const mappings = domainToMappings[domain] || domainToMappings[USER_DOMAIN];\n if (mappings) {\n return mappings;\n }\n const rootDomainMappings = resolveRootDomain(domain, domainToMappings);\n if (!rootDomainMappings) {\n if (isBaseDomain(domain)) {\n // fallback <lang>.wix.com sub domains to www.wix.com\n // since all of the languages subdomain are not mapped automatically in FP and we want to support those kind of calls\n // for example: fr.wix.com\n return domainToMappings[wwwBaseDomain];\n }\n }\n return rootDomainMappings ?? [];\n}\nfunction resolveRootDomain(domain, domainToMappings) {\n return Object.entries(domainToMappings).find(([entryDomain]) => {\n const [, ...rooDomainSegments] = domain.split('.');\n return rooDomainSegments.join('.') === entryDomain;\n })?.[1];\n}\nfunction isBaseDomain(domain) {\n return !!domain.match(/\\._base_domain_$/);\n}\nconst wwwBaseDomain = 'www._base_domain_';\nfunction injectDataIntoProtoPath(protoPath, data) {\n return protoPath\n .split('/')\n .map((path) => maybeProtoPathToData(path, data))\n .join('/');\n}\nfunction maybeProtoPathToData(protoPath, data) {\n const protoRegExpMatch = protoPath.match(REGEX_CAPTURE_PROTO_FIELD) || [];\n const field = protoRegExpMatch[1];\n if (field) {\n const suffix = protoPath.replace(protoRegExpMatch[0], '');\n return findByPath(data, field, protoPath, suffix);\n }\n return protoPath;\n}\nfunction findByPath(obj, path, defaultValue, suffix) {\n let result = obj;\n for (const field of path.split('.')) {\n if (!result) {\n return defaultValue;\n }\n result = result[field];\n }\n return `${result}${suffix}`;\n}\nfunction resolvePathFromMappings(protoPath, mappings) {\n const mapping = mappings?.find((m) => protoPath.startsWith(m.destPath));\n if (!mapping) {\n // todo: should we return the path? if no - what should we do in case of testings?\n return protoPath;\n }\n return mapping.srcPath + protoPath.slice(mapping.destPath.length);\n}\n","import { wixContext } from '@wix/sdk-context';\nexport function enableContext(wixClient, contextType) {\n if (contextType === 'global') {\n if (globalThis.__wix_context__ != null) {\n globalThis.__wix_context__.client = wixClient;\n }\n else {\n globalThis.__wix_context__ = { client: wixClient };\n }\n }\n else {\n wixContext.client = wixClient;\n }\n}\n","import { createRESTModule } from '@wix/sdk-runtime/rest-modules';\nexport function elevate(restModule) {\n return createRESTModule(restModule, true);\n}\nexport const fetchWithAuth = createRESTModule((restModuleOpts) => {\n return ((url, options) => restModuleOpts.fetchWithAuth(url, options));\n});\nexport { graphql } from './graphql.js';\nexport { setGlobalWixContext } from './wix-context.js';\nexport { enableContext } from './enable-context.js';\n"],"mappings":"gGACO,SAASA,EAAiBC,EAAYC,EAAW,GAAO,CAC3D,OAAOC,EAA0BF,EAAYC,CAAQ,CACzD,CAwDA,IAAME,EAAU,CAAC,UAAW,aAAa,EAEzC,IAAMC,EAAwB,IAAI,OAAO,OAAOC,EAAQ,KAAK,GAAG,CAAC,IAAI,EAC/DC,EAAkB,CAAC,iBAAkB,uBAAuB,EAC5DC,EAAsB,mBAE5B,IAAMC,EAA4B,IAAI,OAAO,OAAOC,EAAgB,KAAK,GAAG,CAAC,IAAI,EAC3EC,EAAoC,IAAI,OAAO,QAAQC,CAAmB,GAAG,EClEnF,OAAS,cAAAC,MAAkB,mBACpB,SAASC,EAAcC,EAAWC,EAAa,CAC9CA,IAAgB,SACZ,WAAW,iBAAmB,KAC9B,WAAW,gBAAgB,OAASD,EAGpC,WAAW,gBAAkB,CAAE,OAAQA,CAAU,EAIrDF,EAAW,OAASE,CAE5B,CCTO,IAAME,EAAgBC,EAAkBC,GACnC,CAACC,EAAKC,IAAYF,EAAe,cAAcC,EAAKC,CAAO,CACtE","names":["createRESTModule","descriptor","elevated","contextualizeRESTModuleV2","DOMAINS","REGEX_CAPTURE_DOMAINS","DOMAINS","WIX_API_DOMAINS","DEV_WIX_CODE_DOMAIN","REGEX_CAPTURE_API_DOMAINS","WIX_API_DOMAINS","REGEX_CAPTURE_DEV_WIX_CODE_DOMAIN","DEV_WIX_CODE_DOMAIN","wixContext","enableContext","wixClient","contextType","fetchWithAuth","createRESTModule","restModuleOpts","url","options"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as s}from"./chunk-
|
|
1
|
+
import{a as s}from"./chunk-WBKL5IQV.js";import"./chunk-R7FAXXP7.js";import"./chunk-7EYXEF6M.js";import"./chunk-SBZEOPXX.js";function c(){let n=null,e=null;return{promise:new Promise((o,i)=>{n=o,e=i}),resolve:n,reject:e}}var d=({createHost:n})=>({__type:"host",create:e=>({}),host:e=>{let{applicationId:t}=e??{},o=typeof window<"u"?window.wixEmbedsAPI:void 0,i=n(e),r=m();return{...i,apiBaseUrl:r,getMonitoringClient:o?.getMonitoringClientFunction?.(t),essentials:{language:typeof window<"u"?window.commonConfig?.language:void 0,locale:typeof window<"u"?window.commonConfig?.locale:void 0}}},auth:e=>{let t=typeof window<"u"?window.wixEmbedsAPI:void 0;e||(e=t?.getAccessTokenFunction?.());let o=!1,{resolve:i,promise:r}=c();return{getAuthHeaders:async()=>{if(!e&&o&&(e=await r),!e)throw new Error("Failed to resolve auth token");return{headers:{Authorization:await e()}}},getAccessTokenInjector:()=>(o=!0,u=>{i(u)})}}});function m(){let e=(typeof window<"u"?window.wixEmbedsAPI:void 0)?.getExternalBaseUrl?.();if(!e)return;let t=new URL(e);return t?.pathname&&t.pathname!=="/"?`${t.hostname}${t.pathname}`:t.hostname}var l=({clientSdk:n,applicationId:e})=>({invoke:async({namespace:t,method:o,args:i})=>{if(!n)throw new Error("Wix Site SDK only works in a Wix site environment. Learn more: https://dev.wix.com/docs/sdk/host-modules/site/introduction");return n.invoke({namespace:t,method:o,args:i,applicationId:e,accessToken:"accessToken"})},getAccessToken:()=>{throw new Error("Not implemented")},observeState:()=>({disconnect:()=>{}})});var w=function(n){let e=(typeof $wixContext<"u"?$wixContext.clientSdk:void 0)??n?.clientSdk??(typeof window<"u"?window?.clientSdk:void 0),{applicationId:t}=n||{};if(!t)throw new Error('"createHost" was called without a required field "applicationId"');return{channel:l({clientSdk:e,applicationId:t}),close:()=>{}}};var a=d({createHost:w});var v=n=>{let e=a.host({applicationId:n}),t=a.auth(),o=t.getAccessTokenInjector();return s({auth:t,host:e}).enableContext("module"),{injectGetAccessToken:o}},P=({host:n,auth:e})=>{s({host:n,auth:e}).enableContext("module")};export{v as enableClient,P as enablePanelClient};
|
|
2
2
|
//# sourceMappingURL=site.js.map
|
|
@@ -3,25 +3,25 @@ const require = _createRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
executeCommand,
|
|
5
5
|
log
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VDQEUTFT.js";
|
|
7
7
|
import {
|
|
8
8
|
PreviewCommand
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-QQ4OBBX7.js";
|
|
10
|
+
import "./chunk-UJ4SA2PC.js";
|
|
11
11
|
import "./chunk-ZHQREOZP.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-GNL53AZS.js";
|
|
13
|
+
import "./chunk-KHUHWBJD.js";
|
|
14
|
+
import "./chunk-JYZ5QJ5C.js";
|
|
15
|
+
import "./chunk-DK2KK5UN.js";
|
|
16
16
|
import "./chunk-GWE3BRHX.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-IIF6P6XG.js";
|
|
18
|
+
import "./chunk-PREYTA74.js";
|
|
19
|
+
import "./chunk-NJXD2TTX.js";
|
|
20
20
|
import {
|
|
21
21
|
CliError,
|
|
22
22
|
CliErrorCode,
|
|
23
23
|
require_react
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-ESTYQVMX.js";
|
|
25
25
|
import {
|
|
26
26
|
__toESM,
|
|
27
27
|
init_esm_shims
|
|
@@ -51,4 +51,4 @@ async function nonInteractivePreview(services, model, options) {
|
|
|
51
51
|
export {
|
|
52
52
|
nonInteractivePreview
|
|
53
53
|
};
|
|
54
|
-
//# sourceMappingURL=preview-
|
|
54
|
+
//# sourceMappingURL=preview-IXHPIOMO.js.map
|
|
@@ -3,28 +3,28 @@ const require = _createRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
executeCommand,
|
|
5
5
|
log
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VDQEUTFT.js";
|
|
7
7
|
import {
|
|
8
8
|
ReleaseCommand
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-LQZSH33G.js";
|
|
10
|
+
import "./chunk-QQ4OBBX7.js";
|
|
11
|
+
import "./chunk-UJ4SA2PC.js";
|
|
12
12
|
import "./chunk-ZHQREOZP.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-GNL53AZS.js";
|
|
14
|
+
import "./chunk-KHUHWBJD.js";
|
|
15
|
+
import "./chunk-FWRUE2NB.js";
|
|
16
|
+
import "./chunk-JYZ5QJ5C.js";
|
|
17
|
+
import "./chunk-DK2KK5UN.js";
|
|
18
18
|
import "./chunk-GWE3BRHX.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-IIF6P6XG.js";
|
|
20
|
+
import "./chunk-PREYTA74.js";
|
|
21
|
+
import "./chunk-NJXD2TTX.js";
|
|
22
22
|
import {
|
|
23
23
|
CliError,
|
|
24
24
|
CliErrorCode,
|
|
25
25
|
require_react,
|
|
26
26
|
toJsonString
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-ESTYQVMX.js";
|
|
28
28
|
import {
|
|
29
29
|
__toESM,
|
|
30
30
|
init_esm_shims
|
|
@@ -56,4 +56,4 @@ async function nonInteractiveRelease(services, model, releaseProps) {
|
|
|
56
56
|
export {
|
|
57
57
|
nonInteractiveRelease
|
|
58
58
|
};
|
|
59
|
-
//# sourceMappingURL=release-
|
|
59
|
+
//# sourceMappingURL=release-RFFKID6V.js.map
|
|
@@ -3,14 +3,14 @@ const require = _createRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
renderCommand,
|
|
5
5
|
runCommand
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-KVESKT7X.js";
|
|
7
|
+
import "./chunk-UJ4SA2PC.js";
|
|
8
8
|
import "./chunk-ZHQREOZP.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-IIF6P6XG.js";
|
|
10
|
+
import "./chunk-ESTYQVMX.js";
|
|
11
11
|
import "./chunk-4EFJZ3GQ.js";
|
|
12
12
|
export {
|
|
13
13
|
renderCommand,
|
|
14
14
|
runCommand
|
|
15
15
|
};
|
|
16
|
-
//# sourceMappingURL=render-command-
|
|
16
|
+
//# sourceMappingURL=render-command-NUU6LT5M.js.map
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/cli-app",
|
|
3
3
|
"description": "CLI tool for Wix apps",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.132",
|
|
5
5
|
"author": "Amit Dahan",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"esbuild": "^0.25.0",
|
|
@@ -15,14 +15,14 @@
|
|
|
15
15
|
"@types/react": "^18.3.3",
|
|
16
16
|
"@types/semver": "^7.5.8",
|
|
17
17
|
"@wix/ambassador-blocks-v1-application-structure": "^1.0.8",
|
|
18
|
-
"@wix/ambassador-blocks-v1-blocks-app": "^1.0.
|
|
18
|
+
"@wix/ambassador-blocks-v1-blocks-app": "^1.0.78",
|
|
19
19
|
"@wix/ambassador-cli-site-override-service-v1-site-override": "^1.0.11",
|
|
20
20
|
"@wix/ambassador-ctp-app-cloud-backend-service-v1-app-cloud-backend-deployment": "^1.0.15",
|
|
21
|
-
"@wix/ambassador-ctp-gradual-rollout-v1-app-config": "^1.0.
|
|
22
|
-
"@wix/ambassador-devcenter-apps-v1-app-old": "^1.0.
|
|
21
|
+
"@wix/ambassador-ctp-gradual-rollout-v1-app-config": "^1.0.82",
|
|
22
|
+
"@wix/ambassador-devcenter-apps-v1-app-old": "^1.0.120",
|
|
23
23
|
"@wix/app-cloud-uploader": "^1.18.0",
|
|
24
24
|
"@wix/arm-client": "0.0.0",
|
|
25
|
-
"@wix/bi-logger-dev-tools-data": "^1.
|
|
25
|
+
"@wix/bi-logger-dev-tools-data": "^1.125.0",
|
|
26
26
|
"@wix/cli-app-definitions": "0.0.0",
|
|
27
27
|
"@wix/cli-app-manifest": "1.0.0",
|
|
28
28
|
"@wix/cli-app-platform-sdk": "0.0.0",
|
|
@@ -155,5 +155,5 @@
|
|
|
155
155
|
]
|
|
156
156
|
}
|
|
157
157
|
},
|
|
158
|
-
"falconPackageHash": "
|
|
158
|
+
"falconPackageHash": "afcc370d3bb53496d80107987dfa2d0fdd7cee7d5f412794b89b311a"
|
|
159
159
|
}
|
package/schemas/wix-config.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"type":"object","properties":{"$schema":{"type":"string"},"appId":{"type":"string","format":"uuid"},"projectId":{"type":"string"},"dashboard":{"type":"object","properties":{"sidebar":{"type":"object","properties":{"categories":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"},"priority":{"type":"integer"}},"required":["id","label"],"additionalProperties":true}}},"additionalProperties":true}},"additionalProperties":true},"monitoring":{"type":"object","properties":{"sentry":{"type":"object","properties":{"dsn":{"type":"string"}},"required":["dsn"],"additionalProperties":true}},"required":["sentry"],"additionalProperties":true},"blocks":{"type":"object","properties":{"uiRevision":{"type":"string"}},"required":["uiRevision"],"additionalProperties":true}},"required":["appId","projectId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}
|
|
1
|
+
{"type":"object","properties":{"$schema":{"type":"string"},"appId":{"type":"string","format":"uuid"},"projectId":{"type":"string"},"dashboard":{"type":"object","properties":{"sidebar":{"type":"object","properties":{"categories":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"},"hostingPlatform":{"type":"string"},"priority":{"type":"integer"}},"required":["id","label"],"additionalProperties":true}}},"additionalProperties":true}},"additionalProperties":true},"monitoring":{"type":"object","properties":{"sentry":{"type":"object","properties":{"dsn":{"type":"string"}},"required":["dsn"],"additionalProperties":true}},"required":["sentry"],"additionalProperties":true},"blocks":{"type":"object","properties":{"uiRevision":{"type":"string"}},"required":["uiRevision"],"additionalProperties":true}},"required":["appId","projectId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { createRequire as _createRequire } from 'node:module';
|
|
2
|
-
const require = _createRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
PreviewCommand
|
|
5
|
-
} from "./chunk-YUGELGFN.js";
|
|
6
|
-
import "./chunk-JQTGMEWQ.js";
|
|
7
|
-
import "./chunk-Y4JFLKW4.js";
|
|
8
|
-
import "./chunk-HAIW522F.js";
|
|
9
|
-
import "./chunk-WKSWNCTU.js";
|
|
10
|
-
import "./chunk-GWE3BRHX.js";
|
|
11
|
-
import "./chunk-DRD6GB7Q.js";
|
|
12
|
-
import "./chunk-HJMVSDM6.js";
|
|
13
|
-
import "./chunk-O6H7XIDU.js";
|
|
14
|
-
import "./chunk-NJJYZJQS.js";
|
|
15
|
-
import "./chunk-4EFJZ3GQ.js";
|
|
16
|
-
export {
|
|
17
|
-
PreviewCommand
|
|
18
|
-
};
|
|
19
|
-
//# sourceMappingURL=PreviewCommand-TJDGT26I.js.map
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { createRequire as _createRequire } from 'node:module';
|
|
2
|
-
const require = _createRequire(import.meta.url);
|
|
3
|
-
import {
|
|
4
|
-
ReleaseCommand,
|
|
5
|
-
ReleaseVersionType
|
|
6
|
-
} from "./chunk-KIVZW6PT.js";
|
|
7
|
-
import "./chunk-YUGELGFN.js";
|
|
8
|
-
import "./chunk-JQTGMEWQ.js";
|
|
9
|
-
import "./chunk-Y4JFLKW4.js";
|
|
10
|
-
import "./chunk-NGOYJYOW.js";
|
|
11
|
-
import "./chunk-HAIW522F.js";
|
|
12
|
-
import "./chunk-WKSWNCTU.js";
|
|
13
|
-
import "./chunk-GWE3BRHX.js";
|
|
14
|
-
import "./chunk-DRD6GB7Q.js";
|
|
15
|
-
import "./chunk-HJMVSDM6.js";
|
|
16
|
-
import "./chunk-O6H7XIDU.js";
|
|
17
|
-
import "./chunk-NJJYZJQS.js";
|
|
18
|
-
import "./chunk-4EFJZ3GQ.js";
|
|
19
|
-
export {
|
|
20
|
-
ReleaseCommand,
|
|
21
|
-
ReleaseVersionType
|
|
22
|
-
};
|
|
23
|
-
//# sourceMappingURL=ReleaseCommand-225R4KKI.js.map
|