@wix/cli 1.1.73 → 1.1.75

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 (132) hide show
  1. package/build/{DevCommand-B6LMTTA5.js → DevCommand-7VTYTQEC.js} +13 -13
  2. package/build/{DevCommand-2RQTY5OD.js → DevCommand-LP252DXU.js} +16 -16
  3. package/build/{InstallCommand-YEQMVGOC.js → InstallCommand-WCCOOHN7.js} +15 -15
  4. package/build/{LoginCommand-BLIB5XPU.js → LoginCommand-6BTJTFKT.js} +10 -10
  5. package/build/{LogoutCommand-TCTYJXFK.js → LogoutCommand-6KCFBZRA.js} +6 -6
  6. package/build/{PreviewCommand-ADD4FVD2.js → PreviewCommand-R2BUOR5V.js} +19 -19
  7. package/build/{PreviewCommand-7NX2R3LE.js → PreviewCommand-X7QPZEKA.js} +17 -17
  8. package/build/{PublishCommand-LBJHQ3YT.js → PublishCommand-NFEALRPK.js} +17 -17
  9. package/build/{UninstallCommand-VMFLDWYQ.js → UninstallCommand-BQADBLWR.js} +15 -15
  10. package/build/{WhoamiCommand-HI4Z5TYE.js → WhoamiCommand-UDYDBYMY.js} +3 -3
  11. package/build/{chunk-IWF7TGCL.js → chunk-5FCPF2RJ.js} +4 -4
  12. package/build/{chunk-2H36NVMO.js → chunk-5JHVI5LU.js} +2 -2
  13. package/build/{chunk-W2A2P3TO.js → chunk-674XVGQ2.js} +3 -3
  14. package/build/{chunk-O6TOM5CC.js → chunk-7RUJWRSQ.js} +3 -3
  15. package/build/{chunk-LDML6JBW.js → chunk-AGMUYOCX.js} +10 -7
  16. package/build/chunk-AGMUYOCX.js.map +1 -0
  17. package/build/{chunk-IO63BDRM.js → chunk-ALTIA6CN.js} +2 -2
  18. package/build/{chunk-SM4Z46WM.js → chunk-AO5YLOCT.js} +3 -3
  19. package/build/{chunk-WMBDFIUC.js → chunk-BSKZ577V.js} +45 -27
  20. package/build/chunk-BSKZ577V.js.map +1 -0
  21. package/build/{chunk-GWTS6UWC.js → chunk-CIDCIDXM.js} +2 -2
  22. package/build/{chunk-BSIORRPZ.js → chunk-CLKWMGQI.js} +7 -7
  23. package/build/{chunk-O6TY3XDX.js → chunk-ENEI4HTQ.js} +4 -4
  24. package/build/{chunk-O6TY3XDX.js.map → chunk-ENEI4HTQ.js.map} +1 -1
  25. package/build/{chunk-GAP7K7AY.js → chunk-FAJONBZB.js} +5 -5
  26. package/build/{chunk-YIZQBE37.js → chunk-FF2ENLKE.js} +2 -2
  27. package/build/{chunk-5HEDLGUZ.js → chunk-FK36GTQO.js} +25 -9
  28. package/build/{chunk-5HEDLGUZ.js.map → chunk-FK36GTQO.js.map} +1 -1
  29. package/build/{chunk-UAXZQSSC.js → chunk-FOPI2CQN.js} +10 -2
  30. package/build/chunk-FOPI2CQN.js.map +1 -0
  31. package/build/{chunk-GNB7T7J7.js → chunk-GO2GZJCK.js} +23 -7
  32. package/build/{chunk-GNB7T7J7.js.map → chunk-GO2GZJCK.js.map} +1 -1
  33. package/build/{chunk-O5VWNVXH.js → chunk-GR2IOTD5.js} +3 -3
  34. package/build/{chunk-KJITUCGY.js → chunk-H4DKX7FV.js} +3 -3
  35. package/build/{chunk-7GAE6P7B.js → chunk-H7WHR6BS.js} +3 -3
  36. package/build/{chunk-GSWMZGAC.js → chunk-IXHMHGJZ.js} +2 -2
  37. package/build/{chunk-ECXU3L6N.js → chunk-LBNO47BM.js} +6 -6
  38. package/build/{chunk-UAMPYXLM.js → chunk-M2R3ER3G.js} +9 -9
  39. package/build/{chunk-7NPXNNH4.js → chunk-MQE5Q6TY.js} +4 -4
  40. package/build/{chunk-QKXNIB4D.js → chunk-MXAPWPGN.js} +2 -2
  41. package/build/{chunk-IBISICD2.js → chunk-OELBJVRN.js} +2 -2
  42. package/build/{chunk-MGAKIXKK.js → chunk-OSZIHHCW.js} +2 -2
  43. package/build/{chunk-EW7MBB2Y.js → chunk-OXW2FLBH.js} +4 -4
  44. package/build/{chunk-A4AHTOZQ.js → chunk-OYTJM6RA.js} +5 -5
  45. package/build/{chunk-K2OANSKB.js → chunk-PJGL2T7K.js} +5 -5
  46. package/build/{chunk-RDGRAVZS.js → chunk-QUIIQ5IE.js} +4 -4
  47. package/build/{chunk-TEGZFOU7.js → chunk-RC4PDFIF.js} +3 -3
  48. package/build/{chunk-YPJHOWB5.js → chunk-RCAYJBHZ.js} +7 -7
  49. package/build/{chunk-7BQCG7ZE.js → chunk-UR47YY7B.js} +4 -4
  50. package/build/{chunk-V7J2IT4S.js → chunk-WMURHSGK.js} +3 -3
  51. package/build/{chunk-CD4JLE44.js → chunk-YLK75XXM.js} +2 -2
  52. package/build/{chunk-QOEQJQBF.js → chunk-YY4QSZL2.js} +3 -3
  53. package/build/{dev-W2I4NQLH.js → dev-77DNEJFH.js} +21 -21
  54. package/build/{devtools-YPSDP32D.js → devtools-JB2HYTEA.js} +101 -100
  55. package/build/devtools-JB2HYTEA.js.map +1 -0
  56. package/build/index.js +28 -24
  57. package/build/index.js.map +1 -1
  58. package/build/{install-GIMJR33G.js → install-A6KNL7RS.js} +18 -18
  59. package/build/{publish-LP3RUBND.js → publish-STMZPEDQ.js} +18 -18
  60. package/build/{render-command-AZOM6RAJ.js → render-command-BQ6D537R.js} +10 -10
  61. package/build/{render-command-WDWWIGTP.js → render-command-E6OPGE6L.js} +10 -10
  62. package/build/{render-command-CWTAAN2C.js → render-command-RCMGZ5SJ.js} +9 -9
  63. package/build/{render-command-5FWS3YGI.js → render-command-V4NLTJC4.js} +12 -12
  64. package/build/run-command-WUR25WAQ.js +20 -0
  65. package/build/{src-B53KIGOX.js → src-3MXWLIJ3.js} +5 -5
  66. package/build/{src-LKUEFHA6.js → src-6HWBHNIS.js} +16 -16
  67. package/build/{src-OHYVMRZS.js → src-6US7RSSE.js} +13 -13
  68. package/build/{src-DEINO5YB.js → src-JKIEH23S.js} +6 -6
  69. package/build/{src-TKADINVZ.js → src-PD6TRMX3.js} +5 -5
  70. package/build/{sync-types-4GPOKU63.js → sync-types-NNQ5PRUE.js} +12 -12
  71. package/build/{uninstall-RVK7R5HI.js → uninstall-WEJ6AZ6Z.js} +18 -18
  72. package/package.json +3 -3
  73. package/build/chunk-LDML6JBW.js.map +0 -1
  74. package/build/chunk-UAXZQSSC.js.map +0 -1
  75. package/build/chunk-WMBDFIUC.js.map +0 -1
  76. package/build/devtools-YPSDP32D.js.map +0 -1
  77. package/build/run-command-IBRPX7P2.js +0 -20
  78. /package/build/{DevCommand-B6LMTTA5.js.map → DevCommand-7VTYTQEC.js.map} +0 -0
  79. /package/build/{DevCommand-2RQTY5OD.js.map → DevCommand-LP252DXU.js.map} +0 -0
  80. /package/build/{InstallCommand-YEQMVGOC.js.map → InstallCommand-WCCOOHN7.js.map} +0 -0
  81. /package/build/{LoginCommand-BLIB5XPU.js.map → LoginCommand-6BTJTFKT.js.map} +0 -0
  82. /package/build/{LogoutCommand-TCTYJXFK.js.map → LogoutCommand-6KCFBZRA.js.map} +0 -0
  83. /package/build/{PreviewCommand-ADD4FVD2.js.map → PreviewCommand-R2BUOR5V.js.map} +0 -0
  84. /package/build/{PreviewCommand-7NX2R3LE.js.map → PreviewCommand-X7QPZEKA.js.map} +0 -0
  85. /package/build/{PublishCommand-LBJHQ3YT.js.map → PublishCommand-NFEALRPK.js.map} +0 -0
  86. /package/build/{UninstallCommand-VMFLDWYQ.js.map → UninstallCommand-BQADBLWR.js.map} +0 -0
  87. /package/build/{WhoamiCommand-HI4Z5TYE.js.map → WhoamiCommand-UDYDBYMY.js.map} +0 -0
  88. /package/build/{chunk-IWF7TGCL.js.map → chunk-5FCPF2RJ.js.map} +0 -0
  89. /package/build/{chunk-2H36NVMO.js.map → chunk-5JHVI5LU.js.map} +0 -0
  90. /package/build/{chunk-W2A2P3TO.js.map → chunk-674XVGQ2.js.map} +0 -0
  91. /package/build/{chunk-O6TOM5CC.js.map → chunk-7RUJWRSQ.js.map} +0 -0
  92. /package/build/{chunk-IO63BDRM.js.map → chunk-ALTIA6CN.js.map} +0 -0
  93. /package/build/{chunk-SM4Z46WM.js.map → chunk-AO5YLOCT.js.map} +0 -0
  94. /package/build/{chunk-GWTS6UWC.js.map → chunk-CIDCIDXM.js.map} +0 -0
  95. /package/build/{chunk-BSIORRPZ.js.map → chunk-CLKWMGQI.js.map} +0 -0
  96. /package/build/{chunk-GAP7K7AY.js.map → chunk-FAJONBZB.js.map} +0 -0
  97. /package/build/{chunk-YIZQBE37.js.map → chunk-FF2ENLKE.js.map} +0 -0
  98. /package/build/{chunk-O5VWNVXH.js.map → chunk-GR2IOTD5.js.map} +0 -0
  99. /package/build/{chunk-KJITUCGY.js.map → chunk-H4DKX7FV.js.map} +0 -0
  100. /package/build/{chunk-7GAE6P7B.js.map → chunk-H7WHR6BS.js.map} +0 -0
  101. /package/build/{chunk-GSWMZGAC.js.map → chunk-IXHMHGJZ.js.map} +0 -0
  102. /package/build/{chunk-ECXU3L6N.js.map → chunk-LBNO47BM.js.map} +0 -0
  103. /package/build/{chunk-UAMPYXLM.js.map → chunk-M2R3ER3G.js.map} +0 -0
  104. /package/build/{chunk-7NPXNNH4.js.map → chunk-MQE5Q6TY.js.map} +0 -0
  105. /package/build/{chunk-QKXNIB4D.js.map → chunk-MXAPWPGN.js.map} +0 -0
  106. /package/build/{chunk-IBISICD2.js.map → chunk-OELBJVRN.js.map} +0 -0
  107. /package/build/{chunk-MGAKIXKK.js.map → chunk-OSZIHHCW.js.map} +0 -0
  108. /package/build/{chunk-EW7MBB2Y.js.map → chunk-OXW2FLBH.js.map} +0 -0
  109. /package/build/{chunk-A4AHTOZQ.js.map → chunk-OYTJM6RA.js.map} +0 -0
  110. /package/build/{chunk-K2OANSKB.js.map → chunk-PJGL2T7K.js.map} +0 -0
  111. /package/build/{chunk-RDGRAVZS.js.map → chunk-QUIIQ5IE.js.map} +0 -0
  112. /package/build/{chunk-TEGZFOU7.js.map → chunk-RC4PDFIF.js.map} +0 -0
  113. /package/build/{chunk-YPJHOWB5.js.map → chunk-RCAYJBHZ.js.map} +0 -0
  114. /package/build/{chunk-7BQCG7ZE.js.map → chunk-UR47YY7B.js.map} +0 -0
  115. /package/build/{chunk-V7J2IT4S.js.map → chunk-WMURHSGK.js.map} +0 -0
  116. /package/build/{chunk-CD4JLE44.js.map → chunk-YLK75XXM.js.map} +0 -0
  117. /package/build/{chunk-QOEQJQBF.js.map → chunk-YY4QSZL2.js.map} +0 -0
  118. /package/build/{dev-W2I4NQLH.js.map → dev-77DNEJFH.js.map} +0 -0
  119. /package/build/{install-GIMJR33G.js.map → install-A6KNL7RS.js.map} +0 -0
  120. /package/build/{publish-LP3RUBND.js.map → publish-STMZPEDQ.js.map} +0 -0
  121. /package/build/{render-command-AZOM6RAJ.js.map → render-command-BQ6D537R.js.map} +0 -0
  122. /package/build/{render-command-WDWWIGTP.js.map → render-command-E6OPGE6L.js.map} +0 -0
  123. /package/build/{render-command-CWTAAN2C.js.map → render-command-RCMGZ5SJ.js.map} +0 -0
  124. /package/build/{render-command-5FWS3YGI.js.map → render-command-V4NLTJC4.js.map} +0 -0
  125. /package/build/{run-command-IBRPX7P2.js.map → run-command-WUR25WAQ.js.map} +0 -0
  126. /package/build/{src-B53KIGOX.js.map → src-3MXWLIJ3.js.map} +0 -0
  127. /package/build/{src-LKUEFHA6.js.map → src-6HWBHNIS.js.map} +0 -0
  128. /package/build/{src-OHYVMRZS.js.map → src-6US7RSSE.js.map} +0 -0
  129. /package/build/{src-DEINO5YB.js.map → src-JKIEH23S.js.map} +0 -0
  130. /package/build/{src-TKADINVZ.js.map → src-PD6TRMX3.js.map} +0 -0
  131. /package/build/{sync-types-4GPOKU63.js.map → sync-types-NNQ5PRUE.js.map} +0 -0
  132. /package/build/{uninstall-RVK7R5HI.js.map → uninstall-WEJ6AZ6Z.js.map} +0 -0
@@ -4,7 +4,7 @@ import {
4
4
  resolveUrl,
5
5
  serializer,
6
6
  toURLSearchParams
7
- } from "./chunk-K2OANSKB.js";
7
+ } from "./chunk-PJGL2T7K.js";
8
8
  import {
9
9
  init_esm_shims
10
10
  } from "./chunk-PYIAC2GK.js";
@@ -132,4 +132,4 @@ export {
132
132
  publishDeployment,
133
133
  getDeploymentPipelineDescription
134
134
  };
135
- //# sourceMappingURL=chunk-IO63BDRM.js.map
135
+ //# sourceMappingURL=chunk-ALTIA6CN.js.map
@@ -2,10 +2,10 @@ import { createRequire as _createRequire } from 'node:module';
2
2
  const require = _createRequire(import.meta.url);
3
3
  import {
4
4
  loadProjectModel
5
- } from "./chunk-RDGRAVZS.js";
5
+ } from "./chunk-QUIIQ5IE.js";
6
6
  import {
7
7
  reportCommandStartEvent
8
- } from "./chunk-QOEQJQBF.js";
8
+ } from "./chunk-YY4QSZL2.js";
9
9
  import {
10
10
  init_esm_shims
11
11
  } from "./chunk-PYIAC2GK.js";
@@ -42,4 +42,4 @@ async function runCommand(command, services, cliVersion, commandFn) {
42
42
  export {
43
43
  runCommand
44
44
  };
45
- //# sourceMappingURL=chunk-SM4Z46WM.js.map
45
+ //# sourceMappingURL=chunk-AO5YLOCT.js.map
@@ -19,7 +19,7 @@ import {
19
19
  } from "./chunk-2K5KKUL3.js";
20
20
  import {
21
21
  getTestOverrides
22
- } from "./chunk-GNB7T7J7.js";
22
+ } from "./chunk-GO2GZJCK.js";
23
23
  import {
24
24
  CliError,
25
25
  CliErrorCode,
@@ -9210,7 +9210,7 @@ var styles_default = styles2;
9210
9210
  // ../../node_modules/ink/build/reconciler.js
9211
9211
  if (process3.env["DEV"] === "true") {
9212
9212
  try {
9213
- await import("./devtools-YPSDP32D.js");
9213
+ await import("./devtools-JB2HYTEA.js");
9214
9214
  } catch (error) {
9215
9215
  if (error.code === "MODULE_NOT_FOUND") {
9216
9216
  console.warn(`
@@ -13279,7 +13279,9 @@ var fixComponentProps = (component, index, translation) => {
13279
13279
  function Componentized() {
13280
13280
  return (0, import_react60.createElement)(import_react60.Fragment, null, comp);
13281
13281
  }
13282
- return (0, import_react60.createElement)(Componentized);
13282
+ return (0, import_react60.createElement)(Componentized, {
13283
+ key: componentKey
13284
+ });
13283
13285
  };
13284
13286
  var generateArrayComponents = (components, translation) => components.map((c2, index) => fixComponentProps(c2, index, translation));
13285
13287
  var generateObjectComponents = (components, translation) => {
@@ -17571,6 +17573,7 @@ var postProcessor = {
17571
17573
  }
17572
17574
  };
17573
17575
  var checkedLoadedFor = {};
17576
+ var shouldHandleAsObject = (res) => !isString2(res) && typeof res !== "boolean" && typeof res !== "number";
17574
17577
  var Translator = class _Translator extends EventEmitter {
17575
17578
  constructor(services) {
17576
17579
  let options = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
@@ -17669,17 +17672,29 @@ var Translator = class _Translator extends EventEmitter {
17669
17672
  let res = resolved?.res;
17670
17673
  const resUsedKey = resolved?.usedKey || key;
17671
17674
  const resExactUsedKey = resolved?.exactUsedKey || key;
17672
- const resType = Object.prototype.toString.apply(res);
17673
17675
  const noObject = ["[object Number]", "[object Function]", "[object RegExp]"];
17674
17676
  const joinArrays = options.joinArrays !== void 0 ? options.joinArrays : this.options.joinArrays;
17675
17677
  const handleAsObjectInI18nFormat = !this.i18nFormat || this.i18nFormat.handleAsObject;
17676
- const handleAsObject = !isString2(res) && typeof res !== "boolean" && typeof res !== "number";
17677
- if (handleAsObjectInI18nFormat && res && handleAsObject && noObject.indexOf(resType) < 0 && !(isString2(joinArrays) && Array.isArray(res))) {
17678
+ const needsPluralHandling = options.count !== void 0 && !isString2(options.count);
17679
+ const hasDefaultValue = _Translator.hasDefaultValue(options);
17680
+ const defaultValueSuffix = needsPluralHandling ? this.pluralResolver.getSuffix(lng, options.count, options) : "";
17681
+ const defaultValueSuffixOrdinalFallback = options.ordinal && needsPluralHandling ? this.pluralResolver.getSuffix(lng, options.count, {
17682
+ ordinal: false
17683
+ }) : "";
17684
+ const needsZeroSuffixLookup = needsPluralHandling && !options.ordinal && options.count === 0;
17685
+ const defaultValue = needsZeroSuffixLookup && options[`defaultValue${this.options.pluralSeparator}zero`] || options[`defaultValue${defaultValueSuffix}`] || options[`defaultValue${defaultValueSuffixOrdinalFallback}`] || options.defaultValue;
17686
+ let resForObjHndl = res;
17687
+ if (handleAsObjectInI18nFormat && !res && hasDefaultValue) {
17688
+ resForObjHndl = defaultValue;
17689
+ }
17690
+ const handleAsObject = shouldHandleAsObject(resForObjHndl);
17691
+ const resType = Object.prototype.toString.apply(resForObjHndl);
17692
+ if (handleAsObjectInI18nFormat && resForObjHndl && handleAsObject && noObject.indexOf(resType) < 0 && !(isString2(joinArrays) && Array.isArray(resForObjHndl))) {
17678
17693
  if (!options.returnObjects && !this.options.returnObjects) {
17679
17694
  if (!this.options.returnedObjectHandler) {
17680
17695
  this.logger.warn("accessing an object - but returnObjects options is not enabled!");
17681
17696
  }
17682
- const r2 = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(resUsedKey, res, {
17697
+ const r2 = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(resUsedKey, resForObjHndl, {
17683
17698
  ...options,
17684
17699
  ns: namespaces
17685
17700
  }) : `key '${key} (${this.language})' returned an object instead of string.`;
@@ -17691,20 +17706,31 @@ var Translator = class _Translator extends EventEmitter {
17691
17706
  return r2;
17692
17707
  }
17693
17708
  if (keySeparator) {
17694
- const resTypeIsArray = Array.isArray(res);
17709
+ const resTypeIsArray = Array.isArray(resForObjHndl);
17695
17710
  const copy2 = resTypeIsArray ? [] : {};
17696
17711
  const newKeyToUse = resTypeIsArray ? resExactUsedKey : resUsedKey;
17697
- for (const m in res) {
17698
- if (Object.prototype.hasOwnProperty.call(res, m)) {
17712
+ for (const m in resForObjHndl) {
17713
+ if (Object.prototype.hasOwnProperty.call(resForObjHndl, m)) {
17699
17714
  const deepKey = `${newKeyToUse}${keySeparator}${m}`;
17700
- copy2[m] = this.translate(deepKey, {
17701
- ...options,
17702
- ...{
17703
- joinArrays: false,
17704
- ns: namespaces
17705
- }
17706
- });
17707
- if (copy2[m] === deepKey) copy2[m] = res[m];
17715
+ if (hasDefaultValue && !res) {
17716
+ copy2[m] = this.translate(deepKey, {
17717
+ ...options,
17718
+ defaultValue: shouldHandleAsObject(defaultValue) ? defaultValue[m] : void 0,
17719
+ ...{
17720
+ joinArrays: false,
17721
+ ns: namespaces
17722
+ }
17723
+ });
17724
+ } else {
17725
+ copy2[m] = this.translate(deepKey, {
17726
+ ...options,
17727
+ ...{
17728
+ joinArrays: false,
17729
+ ns: namespaces
17730
+ }
17731
+ });
17732
+ }
17733
+ if (copy2[m] === deepKey) copy2[m] = resForObjHndl[m];
17708
17734
  }
17709
17735
  }
17710
17736
  res = copy2;
@@ -17715,14 +17741,6 @@ var Translator = class _Translator extends EventEmitter {
17715
17741
  } else {
17716
17742
  let usedDefault = false;
17717
17743
  let usedKey = false;
17718
- const needsPluralHandling = options.count !== void 0 && !isString2(options.count);
17719
- const hasDefaultValue = _Translator.hasDefaultValue(options);
17720
- const defaultValueSuffix = needsPluralHandling ? this.pluralResolver.getSuffix(lng, options.count, options) : "";
17721
- const defaultValueSuffixOrdinalFallback = options.ordinal && needsPluralHandling ? this.pluralResolver.getSuffix(lng, options.count, {
17722
- ordinal: false
17723
- }) : "";
17724
- const needsZeroSuffixLookup = needsPluralHandling && !options.ordinal && options.count === 0;
17725
- const defaultValue = needsZeroSuffixLookup && options[`defaultValue${this.options.pluralSeparator}zero`] || options[`defaultValue${defaultValueSuffix}`] || options[`defaultValue${defaultValueSuffixOrdinalFallback}`] || options.defaultValue;
17726
17744
  if (!this.isValidLookup(res) && hasDefaultValue) {
17727
17745
  usedDefault = true;
17728
17746
  res = defaultValue;
@@ -19414,4 +19432,4 @@ react-reconciler/cjs/react-reconciler-constants.production.min.js:
19414
19432
  * LICENSE file in the root directory of this source tree.
19415
19433
  *)
19416
19434
  */
19417
- //# sourceMappingURL=chunk-WMBDFIUC.js.map
19435
+ //# sourceMappingURL=chunk-BSKZ577V.js.map