@wix/cli 1.1.141 → 1.1.143

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.
Files changed (149) hide show
  1. package/build/{DevCommand-SGPRUVKL.js → DevCommand-B3554V66.js} +10 -10
  2. package/build/{DevCommand-7BMDJYAY.js → DevCommand-GG5CB3YW.js} +12 -12
  3. package/build/{DevCommand-RSNBI6TA.js → DevCommand-NIIXIHH7.js} +10 -10
  4. package/build/{EnvPullCommand-DQ4DBYQH.js → EnvPullCommand-O7MN3GQ5.js} +9 -9
  5. package/build/{EnvRemoveCommand-YU3BI6ZE.js → EnvRemoveCommand-YOPODFHX.js} +8 -8
  6. package/build/{EnvSetCommand-ZLQD3WOM.js → EnvSetCommand-YWF2VDUM.js} +8 -8
  7. package/build/{GenerateCommand-CO2INZZT.js → GenerateCommand-M7AYFTFZ.js} +2640 -716
  8. package/build/GenerateCommand-M7AYFTFZ.js.map +1 -0
  9. package/build/{InstallCommand-7MDACNTP.js → InstallCommand-WVTQKR3Z.js} +9 -9
  10. package/build/{LoginCommand-35NANNJ2.js → LoginCommand-WHF3M4M3.js} +5 -5
  11. package/build/{LogoutCommand-H25SGWWC.js → LogoutCommand-3X5CHPFY.js} +4 -4
  12. package/build/{PreviewCommand-ZGXWBI3V.js → PreviewCommand-CFEW4WHI.js} +14 -14
  13. package/build/{PreviewCommand-YFZD7MIS.js → PreviewCommand-VY5JQMHU.js} +12 -12
  14. package/build/{PreviewCommand-PMHLL7UI.js → PreviewCommand-YI74OJ7S.js} +11 -11
  15. package/build/{PromoteCommand-EVHEHNAV.js → PromoteCommand-PFMRCLM6.js} +11 -11
  16. package/build/{PublishCommand-PRWAXR5F.js → PublishCommand-ZCGHJN3P.js} +12 -12
  17. package/build/{ReleaseCommand-V7HD3Z2F.js → ReleaseCommand-AD3X2OPA.js} +12 -12
  18. package/build/{UninstallCommand-U6XOQT4T.js → UninstallCommand-4CJBPWVJ.js} +9 -9
  19. package/build/{WhoamiCommand-GGT4PRVH.js → WhoamiCommand-ET5AQQY4.js} +2 -2
  20. package/build/{chunk-S2LABIWK.js → chunk-45FZJXWN.js} +5 -5
  21. package/build/{chunk-SZ4GCQYL.js → chunk-4TL3CDOW.js} +3 -3
  22. package/build/{chunk-W6PEJALH.js → chunk-53Z75RS5.js} +2 -1
  23. package/build/{chunk-YTUQRVN7.js → chunk-5LHTO4F7.js} +14 -7
  24. package/build/{chunk-YTUQRVN7.js.map → chunk-5LHTO4F7.js.map} +1 -1
  25. package/build/{chunk-GJ3FMAEJ.js → chunk-6MDQPBW7.js} +13 -1
  26. package/build/chunk-6MDQPBW7.js.map +1 -0
  27. package/build/{chunk-MPVVYJPP.js → chunk-7G64PYOZ.js} +2 -2
  28. package/build/{chunk-UYPWXOQO.js → chunk-7PXOXZK7.js} +6 -6
  29. package/build/{chunk-DZWD6YGQ.js → chunk-AZQBBMA5.js} +2 -2
  30. package/build/{chunk-PSBMQW7U.js → chunk-CXUAXJIJ.js} +2 -2
  31. package/build/{chunk-C6TNYPLG.js → chunk-D4NO6SYP.js} +2 -2
  32. package/build/{chunk-XIMJA744.js → chunk-DM4AP4YC.js} +4 -4
  33. package/build/{chunk-54GPX7SR.js → chunk-ECLEXTNJ.js} +4 -4
  34. package/build/{chunk-74NPPELF.js → chunk-FA7HYKWQ.js} +2 -2
  35. package/build/{chunk-IZPIRKJT.js → chunk-GN3BX2BT.js} +2 -2
  36. package/build/{chunk-GIVNKW7V.js → chunk-JQGAYQHL.js} +2 -2
  37. package/build/{chunk-6CKGZQ6Y.js → chunk-L7H3APFI.js} +2 -2
  38. package/build/{chunk-AAY4DBI2.js → chunk-LDUTHWPD.js} +5 -5
  39. package/build/{chunk-KRZGY5YD.js → chunk-MOHT4VRR.js} +55 -25
  40. package/build/chunk-MOHT4VRR.js.map +1 -0
  41. package/build/{chunk-LG2AMEKY.js → chunk-MPNK33PU.js} +2 -2
  42. package/build/{chunk-BQDKSF4L.js → chunk-MQU4OXW2.js} +2 -2
  43. package/build/{chunk-WTRYSR3D.js → chunk-O2R5PCEB.js} +10 -5
  44. package/build/chunk-O2R5PCEB.js.map +1 -0
  45. package/build/{chunk-6RNNDF2T.js → chunk-OWKI56M7.js} +2 -2
  46. package/build/{chunk-6C4RLYLU.js → chunk-PSUUZ5MS.js} +2 -2
  47. package/build/{chunk-VKYDCBWE.js → chunk-Q2JFFZS2.js} +3 -3
  48. package/build/{chunk-4FPXYFOR.js → chunk-REHOZAYI.js} +117 -34
  49. package/build/chunk-REHOZAYI.js.map +1 -0
  50. package/build/{chunk-A6BVUV6V.js → chunk-S5TZQBRX.js} +2 -2
  51. package/build/{chunk-OCXZ5GDQ.js → chunk-UOAZE3HV.js} +6 -6
  52. package/build/{chunk-KGNIRK4S.js → chunk-VCDENZJ3.js} +3 -3
  53. package/build/{chunk-YCSOXW4E.js → chunk-W77KBD72.js} +4 -4
  54. package/build/{chunk-GLBXHO24.js → chunk-WHW7AZTU.js} +4 -4
  55. package/build/{chunk-BIBBCSLC.js → chunk-WI7RKRCE.js} +3 -3
  56. package/build/{chunk-4ZDCHQ2A.js → chunk-WREPBGVY.js} +2 -2
  57. package/build/{chunk-YAGK2MXJ.js → chunk-XZNNSZ6F.js} +2 -2
  58. package/build/{chunk-YAGK2MXJ.js.map → chunk-XZNNSZ6F.js.map} +1 -1
  59. package/build/{dev-UXKHLKMR.js → dev-5LY5QTZV.js} +16 -16
  60. package/build/{env-pull-DRUEAPAY.js → env-pull-FAVG553H.js} +10 -10
  61. package/build/index.js +17 -17
  62. package/build/{install-S5ZXRZJV.js → install-JTDXLP6N.js} +10 -10
  63. package/build/{preview-2RDTUGLP.js → preview-IMEGIC3I.js} +12 -12
  64. package/build/{publish-SQVFB7LU.js → publish-2JXKN5RW.js} +12 -12
  65. package/build/{render-command-YSNCNG2D.js → render-command-5XPIM6UN.js} +5 -5
  66. package/build/{render-command-WX7HCNMZ.js → render-command-BH64FGVC.js} +6 -6
  67. package/build/{render-command-KBDAGHGC.js → render-command-CQAUKBCK.js} +7 -7
  68. package/build/{render-command-BDVLIM63.js → render-command-IPSIIZAV.js} +5 -5
  69. package/build/{render-command-BZC3S272.js → render-command-R2MHU2A5.js} +5 -5
  70. package/build/{src-HEGLQ376.js → src-DK52JRVF.js} +5 -5
  71. package/build/{src-P4NPBH4I.js → src-IOTKKMER.js} +13 -13
  72. package/build/{src-ZDFXTN36.js → src-SI6O4A5Z.js} +4 -4
  73. package/build/{src-PDY5SUXV.js → src-SWPFECWZ.js} +11 -11
  74. package/build/{src-BMAYMR2X.js → src-ZUW6HAIB.js} +23 -23
  75. package/build/{sync-types-AZF2FSUW.js → sync-types-BGYXY6YW.js} +7 -7
  76. package/build/{uninstall-Q5N7ZWG7.js → uninstall-6GAHFVWG.js} +10 -10
  77. package/package.json +2 -2
  78. package/templates/astro/service-plugin/ecom-payment-settings/files/extension.ts.ejs +1 -1
  79. package/templates/astro/site-plugin/assets/logo.svg +1 -0
  80. package/templates/astro/site-plugin/dependencies.json +13 -0
  81. package/templates/astro/site-plugin/files/extension.ts.ejs +23 -0
  82. package/templates/astro/site-plugin/files/panel.tsx.ejs +49 -0
  83. package/templates/astro/site-plugin/files/plugin.tsx.ejs +37 -0
  84. package/build/GenerateCommand-CO2INZZT.js.map +0 -1
  85. package/build/chunk-4FPXYFOR.js.map +0 -1
  86. package/build/chunk-GJ3FMAEJ.js.map +0 -1
  87. package/build/chunk-KRZGY5YD.js.map +0 -1
  88. package/build/chunk-WTRYSR3D.js.map +0 -1
  89. /package/build/{DevCommand-SGPRUVKL.js.map → DevCommand-B3554V66.js.map} +0 -0
  90. /package/build/{DevCommand-7BMDJYAY.js.map → DevCommand-GG5CB3YW.js.map} +0 -0
  91. /package/build/{DevCommand-RSNBI6TA.js.map → DevCommand-NIIXIHH7.js.map} +0 -0
  92. /package/build/{EnvPullCommand-DQ4DBYQH.js.map → EnvPullCommand-O7MN3GQ5.js.map} +0 -0
  93. /package/build/{EnvRemoveCommand-YU3BI6ZE.js.map → EnvRemoveCommand-YOPODFHX.js.map} +0 -0
  94. /package/build/{EnvSetCommand-ZLQD3WOM.js.map → EnvSetCommand-YWF2VDUM.js.map} +0 -0
  95. /package/build/{InstallCommand-7MDACNTP.js.map → InstallCommand-WVTQKR3Z.js.map} +0 -0
  96. /package/build/{LoginCommand-35NANNJ2.js.map → LoginCommand-WHF3M4M3.js.map} +0 -0
  97. /package/build/{LogoutCommand-H25SGWWC.js.map → LogoutCommand-3X5CHPFY.js.map} +0 -0
  98. /package/build/{PreviewCommand-ZGXWBI3V.js.map → PreviewCommand-CFEW4WHI.js.map} +0 -0
  99. /package/build/{PreviewCommand-YFZD7MIS.js.map → PreviewCommand-VY5JQMHU.js.map} +0 -0
  100. /package/build/{PreviewCommand-PMHLL7UI.js.map → PreviewCommand-YI74OJ7S.js.map} +0 -0
  101. /package/build/{PromoteCommand-EVHEHNAV.js.map → PromoteCommand-PFMRCLM6.js.map} +0 -0
  102. /package/build/{PublishCommand-PRWAXR5F.js.map → PublishCommand-ZCGHJN3P.js.map} +0 -0
  103. /package/build/{ReleaseCommand-V7HD3Z2F.js.map → ReleaseCommand-AD3X2OPA.js.map} +0 -0
  104. /package/build/{UninstallCommand-U6XOQT4T.js.map → UninstallCommand-4CJBPWVJ.js.map} +0 -0
  105. /package/build/{WhoamiCommand-GGT4PRVH.js.map → WhoamiCommand-ET5AQQY4.js.map} +0 -0
  106. /package/build/{chunk-S2LABIWK.js.map → chunk-45FZJXWN.js.map} +0 -0
  107. /package/build/{chunk-SZ4GCQYL.js.map → chunk-4TL3CDOW.js.map} +0 -0
  108. /package/build/{chunk-W6PEJALH.js.map → chunk-53Z75RS5.js.map} +0 -0
  109. /package/build/{chunk-MPVVYJPP.js.map → chunk-7G64PYOZ.js.map} +0 -0
  110. /package/build/{chunk-UYPWXOQO.js.map → chunk-7PXOXZK7.js.map} +0 -0
  111. /package/build/{chunk-DZWD6YGQ.js.map → chunk-AZQBBMA5.js.map} +0 -0
  112. /package/build/{chunk-PSBMQW7U.js.map → chunk-CXUAXJIJ.js.map} +0 -0
  113. /package/build/{chunk-C6TNYPLG.js.map → chunk-D4NO6SYP.js.map} +0 -0
  114. /package/build/{chunk-XIMJA744.js.map → chunk-DM4AP4YC.js.map} +0 -0
  115. /package/build/{chunk-54GPX7SR.js.map → chunk-ECLEXTNJ.js.map} +0 -0
  116. /package/build/{chunk-74NPPELF.js.map → chunk-FA7HYKWQ.js.map} +0 -0
  117. /package/build/{chunk-IZPIRKJT.js.map → chunk-GN3BX2BT.js.map} +0 -0
  118. /package/build/{chunk-GIVNKW7V.js.map → chunk-JQGAYQHL.js.map} +0 -0
  119. /package/build/{chunk-6CKGZQ6Y.js.map → chunk-L7H3APFI.js.map} +0 -0
  120. /package/build/{chunk-AAY4DBI2.js.map → chunk-LDUTHWPD.js.map} +0 -0
  121. /package/build/{chunk-LG2AMEKY.js.map → chunk-MPNK33PU.js.map} +0 -0
  122. /package/build/{chunk-BQDKSF4L.js.map → chunk-MQU4OXW2.js.map} +0 -0
  123. /package/build/{chunk-6RNNDF2T.js.map → chunk-OWKI56M7.js.map} +0 -0
  124. /package/build/{chunk-6C4RLYLU.js.map → chunk-PSUUZ5MS.js.map} +0 -0
  125. /package/build/{chunk-VKYDCBWE.js.map → chunk-Q2JFFZS2.js.map} +0 -0
  126. /package/build/{chunk-A6BVUV6V.js.map → chunk-S5TZQBRX.js.map} +0 -0
  127. /package/build/{chunk-OCXZ5GDQ.js.map → chunk-UOAZE3HV.js.map} +0 -0
  128. /package/build/{chunk-KGNIRK4S.js.map → chunk-VCDENZJ3.js.map} +0 -0
  129. /package/build/{chunk-YCSOXW4E.js.map → chunk-W77KBD72.js.map} +0 -0
  130. /package/build/{chunk-GLBXHO24.js.map → chunk-WHW7AZTU.js.map} +0 -0
  131. /package/build/{chunk-BIBBCSLC.js.map → chunk-WI7RKRCE.js.map} +0 -0
  132. /package/build/{chunk-4ZDCHQ2A.js.map → chunk-WREPBGVY.js.map} +0 -0
  133. /package/build/{dev-UXKHLKMR.js.map → dev-5LY5QTZV.js.map} +0 -0
  134. /package/build/{env-pull-DRUEAPAY.js.map → env-pull-FAVG553H.js.map} +0 -0
  135. /package/build/{install-S5ZXRZJV.js.map → install-JTDXLP6N.js.map} +0 -0
  136. /package/build/{preview-2RDTUGLP.js.map → preview-IMEGIC3I.js.map} +0 -0
  137. /package/build/{publish-SQVFB7LU.js.map → publish-2JXKN5RW.js.map} +0 -0
  138. /package/build/{render-command-YSNCNG2D.js.map → render-command-5XPIM6UN.js.map} +0 -0
  139. /package/build/{render-command-WX7HCNMZ.js.map → render-command-BH64FGVC.js.map} +0 -0
  140. /package/build/{render-command-KBDAGHGC.js.map → render-command-CQAUKBCK.js.map} +0 -0
  141. /package/build/{render-command-BDVLIM63.js.map → render-command-IPSIIZAV.js.map} +0 -0
  142. /package/build/{render-command-BZC3S272.js.map → render-command-R2MHU2A5.js.map} +0 -0
  143. /package/build/{src-HEGLQ376.js.map → src-DK52JRVF.js.map} +0 -0
  144. /package/build/{src-P4NPBH4I.js.map → src-IOTKKMER.js.map} +0 -0
  145. /package/build/{src-ZDFXTN36.js.map → src-SI6O4A5Z.js.map} +0 -0
  146. /package/build/{src-PDY5SUXV.js.map → src-SWPFECWZ.js.map} +0 -0
  147. /package/build/{src-BMAYMR2X.js.map → src-ZUW6HAIB.js.map} +0 -0
  148. /package/build/{sync-types-AZF2FSUW.js.map → sync-types-BGYXY6YW.js.map} +0 -0
  149. /package/build/{uninstall-Q5N7ZWG7.js.map → uninstall-6GAHFVWG.js.map} +0 -0
@@ -11,11 +11,11 @@ import {
11
11
  logout,
12
12
  useAuth,
13
13
  useSiteAuth
14
- } from "./chunk-SZ4GCQYL.js";
14
+ } from "./chunk-4TL3CDOW.js";
15
15
  import "./chunk-WMCHVSMU.js";
16
- import "./chunk-6C4RLYLU.js";
16
+ import "./chunk-PSUUZ5MS.js";
17
17
  import "./chunk-KJ37XZQA.js";
18
- import "./chunk-W6PEJALH.js";
18
+ import "./chunk-53Z75RS5.js";
19
19
  import "./chunk-NRAQAV6T.js";
20
20
  import "./chunk-SQ3KPTIH.js";
21
21
  import "./chunk-Z4MHKCET.js";
@@ -38,4 +38,4 @@ export {
38
38
  useAuth,
39
39
  useSiteAuth
40
40
  };
41
- //# sourceMappingURL=src-ZDFXTN36.js.map
41
+ //# sourceMappingURL=src-SI6O4A5Z.js.map
@@ -2,16 +2,16 @@ import { createRequire as _createRequire } from 'node:module';
2
2
  const require = _createRequire(import.meta.url);
3
3
  import {
4
4
  createI18nT
5
- } from "./chunk-DZWD6YGQ.js";
5
+ } from "./chunk-AZQBBMA5.js";
6
6
  import "./chunk-HEANTKSX.js";
7
7
  import {
8
8
  Option,
9
9
  createCommand,
10
10
  require_commander
11
11
  } from "./chunk-J2EPR7DO.js";
12
- import "./chunk-6C4RLYLU.js";
12
+ import "./chunk-PSUUZ5MS.js";
13
13
  import "./chunk-KJ37XZQA.js";
14
- import "./chunk-W6PEJALH.js";
14
+ import "./chunk-53Z75RS5.js";
15
15
  import {
16
16
  require_react
17
17
  } from "./chunk-NRAQAV6T.js";
@@ -58,7 +58,7 @@ var devCommand = (services, cliVersion) => {
58
58
  new Option2("--tunnel", t("site_dev_command_def.option.tunnel")).conflicts("https").hideHelp(true)
59
59
  ).description(t("site_dev_command_def.description")).action(async (options, command) => {
60
60
  const { runCommand } = await import("./run-command-JNTKZGIY.js");
61
- const { dev } = await import("./dev-UXKHLKMR.js");
61
+ const { dev } = await import("./dev-5LY5QTZV.js");
62
62
  await runCommand(
63
63
  command,
64
64
  services,
@@ -74,7 +74,7 @@ var installCommand = (services, cliVersion) => {
74
74
  const t = createI18nT();
75
75
  return createCommand("install").description(t("site_install_command_def.description")).argument("[package]", t("site_install_command_def.argument.package")).option("--yarn", t("site_install_command_def.option.yarn")).option("--npm", t("site_install_command_def.option.npm")).action(async (packageName, opts, command) => {
76
76
  const { runCommand } = await import("./run-command-JNTKZGIY.js");
77
- const { install } = await import("./install-S5ZXRZJV.js");
77
+ const { install } = await import("./install-JTDXLP6N.js");
78
78
  await runCommand(
79
79
  command,
80
80
  services,
@@ -95,8 +95,8 @@ var previewCommand = (services, cliVersion) => {
95
95
  t("site_preview_command_def.option.source")
96
96
  ).choices(["local", "remote"])
97
97
  ).action(async (options, command) => {
98
- const { renderCommand } = await import("./render-command-BZC3S272.js");
99
- const { PreviewCommand } = await import("./PreviewCommand-ZGXWBI3V.js");
98
+ const { renderCommand } = await import("./render-command-R2MHU2A5.js");
99
+ const { PreviewCommand } = await import("./PreviewCommand-CFEW4WHI.js");
100
100
  await renderCommand(
101
101
  command,
102
102
  services,
@@ -120,7 +120,7 @@ var publishCommand = (services, cliVersion) => {
120
120
  t("site_publish_command_def.option.approve_preview")
121
121
  ).option("-f, --force", t("site_publish_command_def.option.force")).action(async (options, command) => {
122
122
  const { runCommand } = await import("./run-command-JNTKZGIY.js");
123
- const { publish } = await import("./publish-SQVFB7LU.js");
123
+ const { publish } = await import("./publish-2JXKN5RW.js");
124
124
  await runCommand(
125
125
  command,
126
126
  services,
@@ -134,7 +134,7 @@ var publishCommand = (services, cliVersion) => {
134
134
  init_esm_shims();
135
135
  var syncTypesCommand = (services, cliVersion) => createCommand("sync-types").action(async (_, command) => {
136
136
  const { runCommand } = await import("./run-command-JNTKZGIY.js");
137
- const { syncTypes } = await import("./sync-types-AZF2FSUW.js");
137
+ const { syncTypes } = await import("./sync-types-BGYXY6YW.js");
138
138
  await runCommand(
139
139
  command,
140
140
  services,
@@ -149,7 +149,7 @@ var uninstallCommand = (services, cliVersion) => {
149
149
  const t = createI18nT();
150
150
  return createCommand("uninstall").description(t("site_uninstall_command_def.description")).argument("<package>", t("site_uninstall_command_def.argument.package")).option("--yarn", t("site_uninstall_command_def.option.yarn")).option("--npm", t("site_uninstall_command_def.option.npm")).action(async (packageName, opts, command) => {
151
151
  const { runCommand } = await import("./run-command-JNTKZGIY.js");
152
- const { uninstall } = await import("./uninstall-Q5N7ZWG7.js");
152
+ const { uninstall } = await import("./uninstall-6GAHFVWG.js");
153
153
  await runCommand(
154
154
  command,
155
155
  services,
@@ -166,4 +166,4 @@ var getRootCommand = async function getRootCommand2(services, cliVersion) {
166
166
  export {
167
167
  getRootCommand
168
168
  };
169
- //# sourceMappingURL=src-PDY5SUXV.js.map
169
+ //# sourceMappingURL=src-SWPFECWZ.js.map
@@ -6,9 +6,9 @@ import {
6
6
  import {
7
7
  renderCommand,
8
8
  runCommand
9
- } from "./chunk-AAY4DBI2.js";
10
- import "./chunk-GJ3FMAEJ.js";
11
- import "./chunk-C6TNYPLG.js";
9
+ } from "./chunk-LDUTHWPD.js";
10
+ import "./chunk-6MDQPBW7.js";
11
+ import "./chunk-D4NO6SYP.js";
12
12
  import {
13
13
  NO_TTY_JSON_OUTPUT_OPTION
14
14
  } from "./chunk-AWPJTA2S.js";
@@ -19,11 +19,11 @@ import {
19
19
  } from "./chunk-J2EPR7DO.js";
20
20
  import "./chunk-BKY3IKB3.js";
21
21
  import "./chunk-EVROMEWT.js";
22
- import "./chunk-SZ4GCQYL.js";
22
+ import "./chunk-4TL3CDOW.js";
23
23
  import "./chunk-WMCHVSMU.js";
24
- import "./chunk-6C4RLYLU.js";
24
+ import "./chunk-PSUUZ5MS.js";
25
25
  import "./chunk-KJ37XZQA.js";
26
- import "./chunk-W6PEJALH.js";
26
+ import "./chunk-53Z75RS5.js";
27
27
  import {
28
28
  require_react
29
29
  } from "./chunk-NRAQAV6T.js";
@@ -56,7 +56,7 @@ var buildCommand = (services, cliVersion) => createCommand("build").description(
56
56
  ).allowExcessArguments(true).allowUnknownOption(true).passThroughOptions(true).action(async (_, command) => {
57
57
  const { execa } = await import("./execa-MR2E3266.js");
58
58
  const { getRepoType, createPackageManager } = await import("./src-QRWN3UQZ.js");
59
- const { runCommand: runCommand2 } = await import("./render-command-KBDAGHGC.js");
59
+ const { runCommand: runCommand2 } = await import("./render-command-CQAUKBCK.js");
60
60
  await runCommand2(command, services, cliVersion, async (model) => {
61
61
  const repoType = await getRepoType(model.projectFolder);
62
62
  const packageManager = await createPackageManager(repoType);
@@ -84,11 +84,11 @@ var envPullCommand = (services, cliVersion) => {
84
84
  ).action(async (opts, command) => {
85
85
  if (opts.json) {
86
86
  return runCommand(command, services, cliVersion, async (model) => {
87
- const { nonInteractiveEnvPull } = await import("./env-pull-DRUEAPAY.js");
87
+ const { nonInteractiveEnvPull } = await import("./env-pull-FAVG553H.js");
88
88
  return nonInteractiveEnvPull(services, model);
89
89
  });
90
90
  }
91
- const { EnvPullCommand } = await import("./EnvPullCommand-DQ4DBYQH.js");
91
+ const { EnvPullCommand } = await import("./EnvPullCommand-O7MN3GQ5.js");
92
92
  await renderCommand(command, services, cliVersion, /* @__PURE__ */ import_react.default.createElement(EnvPullCommand, null));
93
93
  });
94
94
  };
@@ -98,7 +98,7 @@ init_esm_shims();
98
98
  var import_react2 = __toESM(require_react(), 1);
99
99
  var envSetCommand = (services, cliVersion) => {
100
100
  return createCommand("set").description("Sets environment variable").requiredOption("--key <key>", "Name of the variable").requiredOption("--value <value>", "Value of the variable").action(async (opts, command) => {
101
- const { EnvSetCommand } = await import("./EnvSetCommand-ZLQD3WOM.js");
101
+ const { EnvSetCommand } = await import("./EnvSetCommand-YWF2VDUM.js");
102
102
  const variable = { key: opts.key, value: opts.value };
103
103
  await renderCommand(
104
104
  command,
@@ -114,7 +114,7 @@ init_esm_shims();
114
114
  var import_react3 = __toESM(require_react(), 1);
115
115
  var envRemoveCommand = (services, cliVersion) => {
116
116
  return createCommand("remove").description("Removes an environment variable").requiredOption("--key <key>", "Name of the variable").action(async (opts, command) => {
117
- const { EnvRemoveCommand } = await import("./EnvRemoveCommand-YU3BI6ZE.js");
117
+ const { EnvRemoveCommand } = await import("./EnvRemoveCommand-YOPODFHX.js");
118
118
  await renderCommand(
119
119
  command,
120
120
  services,
@@ -175,14 +175,14 @@ var previewCommand = (services, cliVersion) => {
175
175
  new Option(NO_TTY_JSON_OUTPUT_OPTION, "Output in JSON format").hideHelp()
176
176
  ).action(async (options, command) => {
177
177
  const { baseUrl, json, label } = options;
178
- const { renderCommand: renderCommand2, runCommand: runCommand2 } = await import("./render-command-KBDAGHGC.js");
178
+ const { renderCommand: renderCommand2, runCommand: runCommand2 } = await import("./render-command-CQAUKBCK.js");
179
179
  if (json) {
180
180
  return runCommand2(command, services, cliVersion, async (model) => {
181
- const { nonInteractivePreview } = await import("./preview-2RDTUGLP.js");
181
+ const { nonInteractivePreview } = await import("./preview-IMEGIC3I.js");
182
182
  return nonInteractivePreview(services, model, { baseUrl, label });
183
183
  });
184
184
  }
185
- const { PreviewCommand } = await import("./PreviewCommand-PMHLL7UI.js");
185
+ const { PreviewCommand } = await import("./PreviewCommand-YI74OJ7S.js");
186
186
  await renderCommand2(
187
187
  command,
188
188
  services,
@@ -205,8 +205,8 @@ var promoteCommand = (services, cliVersion) => {
205
205
  new Option("-l, --label <label>", "A custom label for this preview").argParser(validateLabel).hideHelp()
206
206
  ).action(async (options, command) => {
207
207
  const { baseUrl, label } = options;
208
- const { renderCommand: renderCommand2 } = await import("./render-command-KBDAGHGC.js");
209
- const { PromoteCommand } = await import("./PromoteCommand-EVHEHNAV.js");
208
+ const { renderCommand: renderCommand2 } = await import("./render-command-CQAUKBCK.js");
209
+ const { PromoteCommand } = await import("./PromoteCommand-PFMRCLM6.js");
210
210
  await renderCommand2(
211
211
  command,
212
212
  services,
@@ -237,8 +237,8 @@ var releaseCommand = (services, cliVersion) => {
237
237
  "The type of version you would like to create"
238
238
  ).choices(["major", "minor"])
239
239
  ).action(async (options, command) => {
240
- const { renderCommand: renderCommand2 } = await import("./render-command-KBDAGHGC.js");
241
- const { ReleaseCommand } = await import("./ReleaseCommand-V7HD3Z2F.js");
240
+ const { renderCommand: renderCommand2 } = await import("./render-command-CQAUKBCK.js");
241
+ const { ReleaseCommand } = await import("./ReleaseCommand-AD3X2OPA.js");
242
242
  const { baseUrl, label, comment } = options;
243
243
  const versionType = options.versionType ? {
244
244
  major: ReleaseVersionType.MAJOR,
@@ -280,8 +280,8 @@ var devCommand = (services, cliVersion) => {
280
280
  "The base url for when static files have been uploaded to an external cdn"
281
281
  ).argParser(validateBase).hideHelp()
282
282
  ).action(async (options, command) => {
283
- const { DevCommand } = await import("./DevCommand-SGPRUVKL.js");
284
- const { renderCommand: renderCommand2 } = await import("./render-command-KBDAGHGC.js");
283
+ const { DevCommand } = await import("./DevCommand-B3554V66.js");
284
+ const { renderCommand: renderCommand2 } = await import("./render-command-CQAUKBCK.js");
285
285
  await renderCommand2(
286
286
  command,
287
287
  services,
@@ -303,8 +303,8 @@ init_esm_shims();
303
303
  var import_react8 = __toESM(require_react(), 1);
304
304
  var generateCommand = (services, cliVersion) => {
305
305
  return createCommand("generate").description("Generate a new extension for your project").action(async (options, command) => {
306
- const { GenerateCommand } = await import("./GenerateCommand-CO2INZZT.js");
307
- const { renderCommand: renderCommand2 } = await import("./render-command-KBDAGHGC.js");
306
+ const { GenerateCommand } = await import("./GenerateCommand-M7AYFTFZ.js");
307
+ const { renderCommand: renderCommand2 } = await import("./render-command-CQAUKBCK.js");
308
308
  await renderCommand2(command, services, cliVersion, /* @__PURE__ */ import_react8.default.createElement(GenerateCommand, null));
309
309
  });
310
310
  };
@@ -316,4 +316,4 @@ var getRootCommand = async (services, cliVersion) => {
316
316
  export {
317
317
  getRootCommand
318
318
  };
319
- //# sourceMappingURL=src-BMAYMR2X.js.map
319
+ //# sourceMappingURL=src-ZUW6HAIB.js.map
@@ -3,18 +3,18 @@ const require = _createRequire(import.meta.url);
3
3
  import {
4
4
  syncTypes,
5
5
  syncTypesWithAuth
6
- } from "./chunk-VKYDCBWE.js";
7
- import "./chunk-A6BVUV6V.js";
8
- import "./chunk-4ZDCHQ2A.js";
6
+ } from "./chunk-Q2JFFZS2.js";
7
+ import "./chunk-S5TZQBRX.js";
8
+ import "./chunk-WREPBGVY.js";
9
9
  import "./chunk-IGHRRWV4.js";
10
10
  import "./chunk-MVBGFP6D.js";
11
11
  import "./chunk-W54PG6O5.js";
12
12
  import "./chunk-EVROMEWT.js";
13
- import "./chunk-SZ4GCQYL.js";
13
+ import "./chunk-4TL3CDOW.js";
14
14
  import "./chunk-WMCHVSMU.js";
15
- import "./chunk-6C4RLYLU.js";
15
+ import "./chunk-PSUUZ5MS.js";
16
16
  import "./chunk-KJ37XZQA.js";
17
- import "./chunk-W6PEJALH.js";
17
+ import "./chunk-53Z75RS5.js";
18
18
  import "./chunk-NRAQAV6T.js";
19
19
  import "./chunk-SQ3KPTIH.js";
20
20
  import "./chunk-Z4MHKCET.js";
@@ -30,4 +30,4 @@ export {
30
30
  syncTypes,
31
31
  syncTypesWithAuth
32
32
  };
33
- //# sourceMappingURL=sync-types-AZF2FSUW.js.map
33
+ //# sourceMappingURL=sync-types-BGYXY6YW.js.map
@@ -3,33 +3,33 @@ const require = _createRequire(import.meta.url);
3
3
  import {
4
4
  resolveNpmDependencies,
5
5
  resolvePackageManager
6
- } from "./chunk-YCSOXW4E.js";
6
+ } from "./chunk-W77KBD72.js";
7
7
  import "./chunk-5AY2TF4R.js";
8
8
  import {
9
9
  createLogger
10
- } from "./chunk-6RNNDF2T.js";
11
- import "./chunk-BQDKSF4L.js";
10
+ } from "./chunk-OWKI56M7.js";
11
+ import "./chunk-MQU4OXW2.js";
12
12
  import {
13
13
  createI18nT
14
- } from "./chunk-DZWD6YGQ.js";
14
+ } from "./chunk-AZQBBMA5.js";
15
15
  import "./chunk-HEANTKSX.js";
16
16
  import "./chunk-6EJNAOBP.js";
17
17
  import {
18
18
  authenticate
19
- } from "./chunk-A6BVUV6V.js";
19
+ } from "./chunk-S5TZQBRX.js";
20
20
  import "./chunk-CH52GF36.js";
21
- import "./chunk-PSBMQW7U.js";
21
+ import "./chunk-CXUAXJIJ.js";
22
22
  import "./chunk-IRKCE3VI.js";
23
23
  import "./chunk-ZWAKRWC6.js";
24
24
  import "./chunk-2R5BII2J.js";
25
25
  import "./chunk-W54PG6O5.js";
26
26
  import "./chunk-YLWTNITT.js";
27
27
  import "./chunk-EVROMEWT.js";
28
- import "./chunk-SZ4GCQYL.js";
28
+ import "./chunk-4TL3CDOW.js";
29
29
  import "./chunk-WMCHVSMU.js";
30
- import "./chunk-6C4RLYLU.js";
30
+ import "./chunk-PSUUZ5MS.js";
31
31
  import "./chunk-KJ37XZQA.js";
32
- import "./chunk-W6PEJALH.js";
32
+ import "./chunk-53Z75RS5.js";
33
33
  import "./chunk-NRAQAV6T.js";
34
34
  import "./chunk-SQ3KPTIH.js";
35
35
  import "./chunk-Z4MHKCET.js";
@@ -84,4 +84,4 @@ async function uninstall(model, services, options, initialPackageName) {
84
84
  export {
85
85
  uninstall
86
86
  };
87
- //# sourceMappingURL=uninstall-Q5N7ZWG7.js.map
87
+ //# sourceMappingURL=uninstall-6GAHFVWG.js.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wix/cli",
3
3
  "description": "CLI tool for building Wix sites and applications",
4
- "version": "1.1.141",
4
+ "version": "1.1.143",
5
5
  "bin": {
6
6
  "wix": "bin/wix.cjs"
7
7
  },
@@ -92,5 +92,5 @@
92
92
  ]
93
93
  }
94
94
  },
95
- "falconPackageHash": "0b9b54757d8ad4fd151dc91cda32fea978e343dcc230399b7fefbf28"
95
+ "falconPackageHash": "02222225d101a4f1e80af51138e781168c4fdb55cf48094b34900eeb"
96
96
  }
@@ -6,6 +6,6 @@ import { extensions } from '@wix/astro/builders';
6
6
  export default extensions.ecomPaymentSettings({
7
7
  id: '<%- config.id -%>',
8
8
  name: '<%- route -%>',
9
- fallbackValueForRequires3dSecure: false
9
+ fallbackValueForRequires3dSecure: false,
10
10
  source: '<%- config.source -%>',
11
11
  });
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="37" height="37" viewBox="0 0 36 36" fill="none"><rect x="0.5" y="0.5" width="35" height="35" rx="3.5" fill="#ECEFF3"></rect><rect x="0.5" y="0.5" width="35" height="35" rx="3.5" stroke="#ECEFF3"></rect><path d="M13.6099 23.6002L12.8999 22.8902C12.342 22.3329 11.8994 21.6712 11.5975 20.9428C11.2956 20.2144 11.1401 19.4337 11.1401 18.6452C11.1401 17.8567 11.2956 17.0759 11.5975 16.3475C11.8994 15.6191 12.342 14.9574 12.8999 14.4002V14.4002L22.0999 23.6002C21.5426 24.158 20.8809 24.6006 20.1525 24.9025C19.4241 25.2045 18.6433 25.3599 17.8549 25.3599C17.0664 25.3599 16.2856 25.2045 15.5572 24.9025C14.8288 24.6006 14.1671 24.158 13.6099 23.6002ZM24.2199 22.8902C24.3136 22.7972 24.388 22.6866 24.4387 22.5648C24.4895 22.4429 24.5157 22.3122 24.5157 22.1802C24.5157 22.0482 24.4895 21.9175 24.4387 21.7956C24.388 21.6737 24.3136 21.5631 24.2199 21.4702L14.9999 12.2802C14.9069 12.1864 14.7963 12.1121 14.6744 12.0613C14.5526 12.0105 14.4219 11.9844 14.2899 11.9844C14.1578 11.9844 14.0271 12.0105 13.9053 12.0613C13.7834 12.1121 13.6728 12.1864 13.5799 12.2802V12.2802C13.4861 12.3731 13.4117 12.4837 13.361 12.6056C13.3102 12.7275 13.2841 12.8582 13.2841 12.9902C13.2841 13.1222 13.3102 13.2529 13.361 13.3747C13.4117 13.4966 13.4861 13.6072 13.5799 13.7002L22.7699 22.8902C22.8633 22.9885 22.9757 23.0668 23.1004 23.1203C23.225 23.1738 23.3592 23.2014 23.4949 23.2014C23.6305 23.2014 23.7647 23.1738 23.8894 23.1203C24.014 23.0668 24.1264 22.9885 24.2199 22.8902ZM21.2799 11.6902C21.4661 11.5028 21.5707 11.2494 21.5707 10.9852C21.5707 10.721 21.4661 10.4675 21.2799 10.2802C21.1869 10.1864 21.0763 10.1121 20.9544 10.0613C20.8326 10.0105 20.7019 9.98438 20.5699 9.98438C20.4378 9.98438 20.3071 10.0105 20.1853 10.0613C20.0634 10.1121 19.9528 10.1864 19.8599 10.2802L17.0699 13.0702L18.4799 14.4802L21.2799 11.6902ZM26.2199 16.6902C26.3136 16.5972 26.388 16.4866 26.4387 16.3647C26.4895 16.2429 26.5157 16.1122 26.5157 15.9802C26.5157 15.8482 26.4895 15.7175 26.4387 15.5956C26.388 15.4737 26.3136 15.3631 26.2199 15.2702C26.0325 15.0839 25.779 14.9794 25.5149 14.9794C25.2507 14.9794 24.9972 15.0839 24.8099 15.2702L21.9999 18.0002L23.4099 19.4102L26.2199 16.6902Z" fill="#3B4057"></path></svg>
@@ -0,0 +1,13 @@
1
+ {
2
+ "dependencies": {
3
+ "@wix/design-system": "^1.111.0",
4
+ "@wix/editor": "^1.356.0",
5
+ "react-to-webcomponent": "^2.0.0"
6
+ },
7
+ "devDependencies": {
8
+ "@types/react": "^18.3.1",
9
+ "@types/react-dom": "^18.3.1",
10
+ "react": "^18.3.1",
11
+ "react-dom": "^18.3.1"
12
+ }
13
+ }
@@ -0,0 +1,23 @@
1
+ ---
2
+ to: <%- route -%>.extension.ts
3
+ ---
4
+ import { extensions } from '@wix/astro/builders';
5
+
6
+ export default extensions.sitePlugin({
7
+ id: '<%- config.id -%>',
8
+ name: '<%- config.name -%>',
9
+ marketData: {
10
+ name: '<%- config.name -%>',
11
+ description: 'Marketing Description',
12
+ logoUrl: '{{BASE_URL}}/<%- route -%>-logo.svg',
13
+ },
14
+ placements: [{
15
+ appDefinitionId: '<%- config.placements[0].appDefinitionId -%>',
16
+ widgetId: '<%- config.placements[0].widgetId -%>',
17
+ slotId: '<%- config.placements[0].slotId -%>',
18
+ }],
19
+ installation: { autoAdd: true },
20
+ tagName: '<%- route -%>',
21
+ element: '<%- config.element -%>',
22
+ settings: '<%- config.settings -%>',
23
+ });
@@ -0,0 +1,49 @@
1
+ ---
2
+ to: <%- route -%>.panel.tsx
3
+ ---
4
+ import React, { type FC, useState, useEffect, useCallback } from 'react';
5
+ import { widget } from '@wix/editor';
6
+ import {
7
+ SidePanel,
8
+ WixDesignSystemProvider,
9
+ Input,
10
+ FormField,
11
+ } from '@wix/design-system';
12
+ import '@wix/design-system/styles.global.css';
13
+
14
+ const Panel: FC = () => {
15
+ const [displayName, setDisplayName] = useState<string>('');
16
+
17
+ useEffect(() => {
18
+ widget.getProp('display-name')
19
+ .then(displayName => setDisplayName(displayName || `Your Plugin's Title`))
20
+ .catch(error => console.error('Failed to fetch display-name:', error));
21
+ }, [setDisplayName]);
22
+
23
+ const handleDisplayNameChange = useCallback((event: React.ChangeEvent<HTMLInputElement>) => {
24
+ const newDisplayName = event.target.value;
25
+ setDisplayName(newDisplayName);
26
+ widget.setProp('display-name', newDisplayName);
27
+ }, [setDisplayName]);
28
+
29
+ return (
30
+ <WixDesignSystemProvider>
31
+ <SidePanel width="300" height="100vh">
32
+ <SidePanel.Content noPadding stretchVertically>
33
+ <SidePanel.Field>
34
+ <FormField label="Display Name">
35
+ <Input
36
+ type="text"
37
+ value={displayName}
38
+ onChange={handleDisplayNameChange}
39
+ aria-label="Display Name"
40
+ />
41
+ </FormField>
42
+ </SidePanel.Field>
43
+ </SidePanel.Content>
44
+ </SidePanel>
45
+ </WixDesignSystemProvider>
46
+ );
47
+ };
48
+
49
+ export default Panel;
@@ -0,0 +1,37 @@
1
+ ---
2
+ to: <%- route -%>.tsx
3
+ ---
4
+ class MyElement extends HTMLElement {
5
+ static get observedAttributes() {
6
+ return ['display-name'];
7
+ }
8
+
9
+ constructor() {
10
+ super();
11
+ }
12
+
13
+ connectedCallback() {
14
+ this.render();
15
+ }
16
+
17
+ attributeChangedCallback() {
18
+ this.render();
19
+ }
20
+
21
+ render() {
22
+ const displayName = this.getAttribute('display-name') || `Your Widget's Title`;
23
+
24
+ this.innerHTML = `
25
+ <div style="font-size: 16px; padding: 16px; border: 1px solid #ccc; border-radius: 8px; margin: 16px; height: 50%;">
26
+ <h2>${displayName}</h2>
27
+ <hr />
28
+ <p>
29
+ This is a Site Plugin generated by Wix CLI.<br />
30
+ Edit your element's code to change this text.
31
+ </p>
32
+ </div>
33
+ `;
34
+ }
35
+ }
36
+
37
+ export default MyElement;