@wix/cli-app 1.1.74 → 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 (67) hide show
  1. package/build/{CreateVersionCommand-6PXETRX5.js → CreateVersionCommand-RQXPDP24.js} +14 -16
  2. package/build/{CreateVersionCommand-6PXETRX5.js.map → CreateVersionCommand-RQXPDP24.js.map} +1 -1
  3. package/build/{DevCommand-575K76BZ.js → DevCommand-S4Z3WJGP.js} +14 -16
  4. package/build/{DevCommand-575K76BZ.js.map → DevCommand-S4Z3WJGP.js.map} +1 -1
  5. package/build/{GenerateCommand-NKJI6L6F.js → GenerateCommand-KJFVXKF6.js} +575 -476
  6. package/build/GenerateCommand-KJFVXKF6.js.map +1 -0
  7. package/build/{LogsCommand-LDVXIJRM.js → LogsCommand-BIVRFRK5.js} +4 -4
  8. package/build/PreviewCommand-LVAVWK5X.js +21 -0
  9. package/build/{ReleaseCommand-3KMQAZC2.js → ReleaseCommand-D44TLKQN.js} +17 -19
  10. package/build/{ReleaseCommand-3KMQAZC2.js.map → ReleaseCommand-D44TLKQN.js.map} +1 -1
  11. package/build/{ServeCommand-JVEHGEQJ.js → ServeCommand-7CZUCKDQ.js} +15 -17
  12. package/build/{ServeCommand-JVEHGEQJ.js.map → ServeCommand-7CZUCKDQ.js.map} +1 -1
  13. package/build/{build-LGA2RNYK.js → build-QQOQLG6Q.js} +7 -7
  14. package/build/{chunk-UR2P6KAA.js → chunk-3R3L4Z4K.js} +3 -3
  15. package/build/{chunk-A2RC7C33.js → chunk-3T6MWKGJ.js} +3 -3
  16. package/build/{chunk-7DBU2MOT.js → chunk-3TGCMRM2.js} +3 -2
  17. package/build/chunk-3TGCMRM2.js.map +1 -0
  18. package/build/{chunk-KFXL2D65.js → chunk-5MJT77SF.js} +4 -4
  19. package/build/{chunk-KFXL2D65.js.map → chunk-5MJT77SF.js.map} +1 -1
  20. package/build/{chunk-2I5H2XRH.js → chunk-5V425DYH.js} +2 -2
  21. package/build/{chunk-5CXN5MQU.js → chunk-ABAJ2G2M.js} +3 -3
  22. package/build/{chunk-C2J6X76S.js → chunk-ADIVS46Y.js} +4 -4
  23. package/build/{chunk-OBKGCJPS.js → chunk-C64MJGM6.js} +3 -3
  24. package/build/{chunk-YX3VV7BD.js → chunk-FSYOQVCS.js} +54 -11
  25. package/build/chunk-FSYOQVCS.js.map +1 -0
  26. package/build/{chunk-4AUIUNWR.js → chunk-GB3SH2IE.js} +3 -3
  27. package/build/{chunk-HBC2QGBW.js → chunk-I3NQFKY6.js} +33 -14
  28. package/build/{chunk-HBC2QGBW.js.map → chunk-I3NQFKY6.js.map} +1 -1
  29. package/build/{chunk-UEWHA4N4.js → chunk-O6IB7IRT.js} +33 -11
  30. package/build/chunk-O6IB7IRT.js.map +1 -0
  31. package/build/{chunk-MGWDHTIY.js → chunk-S7FXCJ5N.js} +3 -3
  32. package/build/{chunk-D4K6HLR5.js → chunk-TSZ32MNC.js} +629 -97
  33. package/build/chunk-TSZ32MNC.js.map +1 -0
  34. package/build/{chunk-ETZUKD7Z.js → chunk-YEO2M3TJ.js} +5 -7
  35. package/build/{chunk-ETZUKD7Z.js.map → chunk-YEO2M3TJ.js.map} +1 -1
  36. package/build/{chunk-XL6K6NL2.js → chunk-ZILFZBV3.js} +3 -3
  37. package/build/index.js +38 -30
  38. package/build/index.js.map +1 -1
  39. package/build/preview-Q2SJBMOD.js +101 -0
  40. package/build/preview-Q2SJBMOD.js.map +1 -0
  41. package/build/{render-command-RYGIULDT.js → render-command-LPGQHYQY.js} +8 -8
  42. package/package.json +4 -4
  43. package/build/GenerateCommand-NKJI6L6F.js.map +0 -1
  44. package/build/PreviewCommand-PMZTMXBO.js +0 -23
  45. package/build/chunk-7DBU2MOT.js.map +0 -1
  46. package/build/chunk-D4K6HLR5.js.map +0 -1
  47. package/build/chunk-UEWHA4N4.js.map +0 -1
  48. package/build/chunk-YJ5YN5VN.js +0 -579
  49. package/build/chunk-YJ5YN5VN.js.map +0 -1
  50. package/build/chunk-YLAUVJYG.js +0 -60
  51. package/build/chunk-YLAUVJYG.js.map +0 -1
  52. package/build/chunk-YX3VV7BD.js.map +0 -1
  53. package/build/preview-S2TF6RDS.js +0 -138
  54. package/build/preview-S2TF6RDS.js.map +0 -1
  55. /package/build/{LogsCommand-LDVXIJRM.js.map → LogsCommand-BIVRFRK5.js.map} +0 -0
  56. /package/build/{PreviewCommand-PMZTMXBO.js.map → PreviewCommand-LVAVWK5X.js.map} +0 -0
  57. /package/build/{build-LGA2RNYK.js.map → build-QQOQLG6Q.js.map} +0 -0
  58. /package/build/{chunk-UR2P6KAA.js.map → chunk-3R3L4Z4K.js.map} +0 -0
  59. /package/build/{chunk-A2RC7C33.js.map → chunk-3T6MWKGJ.js.map} +0 -0
  60. /package/build/{chunk-2I5H2XRH.js.map → chunk-5V425DYH.js.map} +0 -0
  61. /package/build/{chunk-5CXN5MQU.js.map → chunk-ABAJ2G2M.js.map} +0 -0
  62. /package/build/{chunk-C2J6X76S.js.map → chunk-ADIVS46Y.js.map} +0 -0
  63. /package/build/{chunk-OBKGCJPS.js.map → chunk-C64MJGM6.js.map} +0 -0
  64. /package/build/{chunk-4AUIUNWR.js.map → chunk-GB3SH2IE.js.map} +0 -0
  65. /package/build/{chunk-MGWDHTIY.js.map → chunk-S7FXCJ5N.js.map} +0 -0
  66. /package/build/{chunk-XL6K6NL2.js.map → chunk-ZILFZBV3.js.map} +0 -0
  67. /package/build/{render-command-RYGIULDT.js.map → render-command-LPGQHYQY.js.map} +0 -0
@@ -11518,7 +11518,7 @@ var init_tslib_es6 = __esm({
11518
11518
  });
11519
11519
 
11520
11520
  // package.json
11521
- var version = "1.1.74";
11521
+ var version = "1.1.75";
11522
11522
 
11523
11523
  // ../cli-error/src/cli-error.ts
11524
11524
  init_esm_shims();
@@ -20431,16 +20431,32 @@ ZodReadonly.create = (type, params) => {
20431
20431
  ...processCreateParams(params)
20432
20432
  });
20433
20433
  };
20434
- function custom(check, params = {}, fatal) {
20434
+ function cleanParams(params, data) {
20435
+ const p = typeof params === "function" ? params(data) : typeof params === "string" ? { message: params } : params;
20436
+ const p2 = typeof p === "string" ? { message: p } : p;
20437
+ return p2;
20438
+ }
20439
+ function custom(check, _params = {}, fatal) {
20435
20440
  if (check)
20436
20441
  return ZodAny.create().superRefine((data, ctx) => {
20437
20442
  var _a2, _b;
20438
- if (!check(data)) {
20439
- const p = typeof params === "function" ? params(data) : typeof params === "string" ? { message: params } : params;
20440
- const _fatal = (_b = (_a2 = p.fatal) !== null && _a2 !== void 0 ? _a2 : fatal) !== null && _b !== void 0 ? _b : true;
20441
- const p2 = typeof p === "string" ? { message: p } : p;
20442
- ctx.addIssue({ code: "custom", ...p2, fatal: _fatal });
20443
+ const r2 = check(data);
20444
+ if (r2 instanceof Promise) {
20445
+ return r2.then((r3) => {
20446
+ var _a3, _b2;
20447
+ if (!r3) {
20448
+ const params = cleanParams(_params, data);
20449
+ const _fatal = (_b2 = (_a3 = params.fatal) !== null && _a3 !== void 0 ? _a3 : fatal) !== null && _b2 !== void 0 ? _b2 : true;
20450
+ ctx.addIssue({ code: "custom", ...params, fatal: _fatal });
20451
+ }
20452
+ });
20453
+ }
20454
+ if (!r2) {
20455
+ const params = cleanParams(_params, data);
20456
+ const _fatal = (_b = (_a2 = params.fatal) !== null && _a2 !== void 0 ? _a2 : fatal) !== null && _b !== void 0 ? _b : true;
20457
+ ctx.addIssue({ code: "custom", ...params, fatal: _fatal });
20443
20458
  }
20459
+ return;
20444
20460
  });
20445
20461
  return ZodAny.create();
20446
20462
  }
@@ -20771,11 +20787,15 @@ function createRendererToString({ stripAnsi: stripAnsi2 }) {
20771
20787
  let instance2;
20772
20788
  const stdout = new FakeStream({ stripAnsi: stripAnsi2 });
20773
20789
  return {
20790
+ waitUntilExit: async () => {
20791
+ return instance2?.waitUntilExit();
20792
+ },
20774
20793
  render: (tree) => {
20794
+ const wrappedTree = /* @__PURE__ */ import_react23.default.createElement(ErrorBoundaryWrapper, null, tree);
20775
20795
  if (instance2) {
20776
- instance2.rerender(tree);
20796
+ instance2.rerender(wrappedTree);
20777
20797
  } else {
20778
- instance2 = render_default(tree, {
20798
+ instance2 = render_default(wrappedTree, {
20779
20799
  stdout,
20780
20800
  debug: true,
20781
20801
  exitOnCtrlC: false,
@@ -23216,7 +23236,9 @@ var fixComponentProps = (component, index, translation) => {
23216
23236
  function Componentized() {
23217
23237
  return (0, import_react69.createElement)(import_react69.Fragment, null, comp);
23218
23238
  }
23219
- return (0, import_react69.createElement)(Componentized);
23239
+ return (0, import_react69.createElement)(Componentized, {
23240
+ key: componentKey
23241
+ });
23220
23242
  };
23221
23243
  var generateArrayComponents = (components, translation) => components.map((c2, index) => fixComponentProps(c2, index, translation));
23222
23244
  var generateObjectComponents = (components, translation) => {
@@ -29403,4 +29425,4 @@ react-reconciler/cjs/react-reconciler-constants.production.min.js:
29403
29425
  * LICENSE file in the root directory of this source tree.
29404
29426
  *)
29405
29427
  */
29406
- //# sourceMappingURL=chunk-UEWHA4N4.js.map
29428
+ //# sourceMappingURL=chunk-O6IB7IRT.js.map