@wix/create-app 0.0.106 → 0.0.108

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/bin/index.cjs CHANGED
@@ -14,9 +14,9 @@ process.setSourceMapsEnabled(true);
14
14
  const major = versionParts[0];
15
15
  const minor = versionParts[1];
16
16
 
17
- if (major < 18 || (major === 18 && minor < 16)) {
17
+ if (major < 20 || (major === 20 && minor < 11)) {
18
18
  const currentVersion = colorize(RED, process.versions.node);
19
- const supportedVersion = colorize(GREEN, '18.16.0');
19
+ const supportedVersion = colorize(GREEN, '20.11.0');
20
20
 
21
21
  console.error(
22
22
  `⛔️ Node version ${currentVersion} detected, minimum supported version is ${supportedVersion}`
package/build/index.js CHANGED
@@ -57284,7 +57284,9 @@ var CliUserErrorCode = (0, import_variant11.variant)({
57284
57284
  InsufficientNonInterractiveReleaseParameters: {},
57285
57285
  AppNameArgumentIsInvalid: (0, import_variant11.fields)(),
57286
57286
  CannotReleaseMinorInNoninteractive: {},
57287
- SiteComponentConfigNotFound: (0, import_variant11.fields)()
57287
+ SiteComponentConfigNotFound: (0, import_variant11.fields)(),
57288
+ FailedToImportCliApp: {},
57289
+ FailedToCleanDistFolder: {}
57288
57290
  });
57289
57291
  var CliErrorCode = (0, import_variant11.variant)({
57290
57292
  ...CliSystemErrorCode,
@@ -66682,8 +66684,9 @@ function getErrorComponent(code, cause) {
66682
66684
  return () => /* @__PURE__ */ import_react78.default.createElement(
66683
66685
  ErrorMessage,
66684
66686
  {
66685
- message: /* @__PURE__ */ import_react78.default.createElement(import_react78.default.Fragment, null, "Could not start the migration process"),
66686
- hint: "Make sure that your package.json does not have packages installed outside of dev dependencies"
66687
+ message: "Could not start the migration process",
66688
+ explanation: "Make sure your `package.json` does not contain any packages under `dependencies`, as the migration cannot proceed if any are present.",
66689
+ hint: "If you need to keep any of these packages, move them to `devDependencies` before proceeding."
66687
66690
  }
66688
66691
  );
66689
66692
  },
@@ -67644,6 +67647,15 @@ function getErrorComponent(code, cause) {
67644
67647
  FailedToParseBackofficePages: () => {
67645
67648
  return () => /* @__PURE__ */ import_react78.default.createElement(SystemErrorMessage, { message: `Failed to parse backoffice pages data` });
67646
67649
  },
67650
+ FailedToCleanDistFolder: () => {
67651
+ return () => /* @__PURE__ */ import_react78.default.createElement(
67652
+ ErrorMessage,
67653
+ {
67654
+ cause,
67655
+ message: "Failed to clean the dist folder."
67656
+ }
67657
+ );
67658
+ },
67647
67659
  FailedToDeployDocument: () => {
67648
67660
  return () => /* @__PURE__ */ import_react78.default.createElement(SystemErrorMessage, { message: "Failed to deploy site document." });
67649
67661
  },
@@ -67726,6 +67738,9 @@ ${errorMessage2}`
67726
67738
  message: `Site component config not found at ${configPath}`
67727
67739
  }
67728
67740
  );
67741
+ },
67742
+ FailedToImportCliApp: () => {
67743
+ return () => /* @__PURE__ */ import_react78.default.createElement(ErrorMessage, { cause, message: "Failed to load `@wix/cli-app`." });
67729
67744
  }
67730
67745
  });
67731
67746
  }
@@ -71219,7 +71234,7 @@ function reportCommandStartEvent({
71219
71234
  var package_default = {
71220
71235
  name: "@wix/create-app",
71221
71236
  description: "Create Wix apps",
71222
- version: "0.0.106",
71237
+ version: "0.0.108",
71223
71238
  author: "Ihor Machuzhak",
71224
71239
  bin: "bin/index.cjs",
71225
71240
  devDependencies: {
@@ -71257,7 +71272,7 @@ var package_default = {
71257
71272
  zod: "^3.24.2"
71258
71273
  },
71259
71274
  engines: {
71260
- node: ">= 18.16"
71275
+ node: ">= 20.11.0"
71261
71276
  },
71262
71277
  files: [
71263
71278
  "bin",
@@ -74676,12 +74691,14 @@ var _arrayType = { items: "_arrayItems" };
74676
74691
  var _audioData = { audio: "_media", coverImage: "_media" };
74677
74692
  var _authenticatorConfig = { expectedInputs: "_expectedInputs" };
74678
74693
  var _background = { image: "_media" };
74694
+ var _backOfficeCustomization = { sidebarConfig: "_sidebarConfig" };
74679
74695
  var _billing = {
74680
74696
  monthlyPrice: "DOUBLE",
74681
74697
  yearlyPrice: "DOUBLE",
74682
74698
  oneTimePrice: "DOUBLE",
74683
74699
  meteredBilling: "_meteredBilling"
74684
74700
  };
74701
+ var _category = { children: "_sidebarChildItem" };
74685
74702
  var _checkbox = { label: "_richContent" };
74686
74703
  var _checkboxGroup = { description: "_richContent", options: "_option" };
74687
74704
  var _commonImage = {
@@ -74704,7 +74721,8 @@ var _componentData = {
74704
74721
  function: "_function",
74705
74722
  papiProvider: "_pluginConfig",
74706
74723
  multilingualTranslationSchemaGroup: "_schemaGroup",
74707
- editorReactComponent: "_editorReactComponent"
74724
+ editorReactComponent: "_editorReactComponent",
74725
+ backOfficeCustomization: "_backOfficeCustomization"
74708
74726
  };
74709
74727
  var _conditionNode = { and: "_andCondition", or: "_orCondition" };
74710
74728
  var _dataItem = { number: "_api_Number", arrayItems: "_apiArrayItems" };
@@ -74883,6 +74901,9 @@ var _schemaGroup = {
74883
74901
  };
74884
74902
  var _shippingLabelCarrierSpiConfig = { packageTypes: "_packageType" };
74885
74903
  var _shippingProviderConfig = { shippingPrice: "DOUBLE" };
74904
+ var _sidebarChildItem = { category: "_category" };
74905
+ var _sidebarConfig = { sidebarItems: "_sidebarRootItem" };
74906
+ var _sidebarRootItem = { category: "_category" };
74886
74907
  var _signature = { description: "_richContent" };
74887
74908
  var _studioWidgetComponentData = {
74888
74909
  widgetDisplay: "_widgetDisplay",
@@ -75200,8 +75221,10 @@ function getAppByVersion(payload5) {
75200
75221
  _arrayType,
75201
75222
  _audioData,
75202
75223
  _authenticatorConfig,
75224
+ _backOfficeCustomization,
75203
75225
  _background,
75204
75226
  _billing,
75227
+ _category,
75205
75228
  _checkbox,
75206
75229
  _checkboxGroup,
75207
75230
  _commonImage,
@@ -75283,6 +75306,9 @@ function getAppByVersion(payload5) {
75283
75306
  _schemaGroup,
75284
75307
  _shippingLabelCarrierSpiConfig,
75285
75308
  _shippingProviderConfig,
75309
+ _sidebarChildItem,
75310
+ _sidebarConfig,
75311
+ _sidebarRootItem,
75286
75312
  _signature,
75287
75313
  _studioWidgetComponentData,
75288
75314
  _submitSettings,
@@ -75858,6 +75884,8 @@ var _arrayType2 = { items: "_arrayItems" };
75858
75884
  var _audioData2 = { audio: "_media", coverImage: "_media" };
75859
75885
  var _authenticatorConfig2 = { expectedInputs: "_expectedInputs" };
75860
75886
  var _background2 = { image: "_media" };
75887
+ var _backOfficeCustomization2 = { sidebarConfig: "_sidebarConfig" };
75888
+ var _category2 = { children: "_sidebarChildItem" };
75861
75889
  var _checkbox2 = { label: "_richContent" };
75862
75890
  var _checkboxGroup2 = { description: "_richContent", options: "_option" };
75863
75891
  var _commonImage2 = {
@@ -75880,7 +75908,8 @@ var _componentData2 = {
75880
75908
  function: "_function",
75881
75909
  papiProvider: "_pluginConfig",
75882
75910
  multilingualTranslationSchemaGroup: "_schemaGroup",
75883
- editorReactComponent: "_editorReactComponent"
75911
+ editorReactComponent: "_editorReactComponent",
75912
+ backOfficeCustomization: "_backOfficeCustomization"
75884
75913
  };
75885
75914
  var _conditionNode2 = { and: "_andCondition", or: "_orCondition" };
75886
75915
  var _dataItem2 = { number: "_api_Number", arrayItems: "_apiArrayItems" };
@@ -76061,6 +76090,9 @@ var _schemaGroup2 = {
76061
76090
  };
76062
76091
  var _shippingLabelCarrierSpiConfig2 = { packageTypes: "_packageType" };
76063
76092
  var _shippingProviderConfig2 = { shippingPrice: "DOUBLE" };
76093
+ var _sidebarChildItem2 = { category: "_category" };
76094
+ var _sidebarConfig2 = { sidebarItems: "_sidebarRootItem" };
76095
+ var _sidebarRootItem2 = { category: "_category" };
76064
76096
  var _signature2 = { description: "_richContent" };
76065
76097
  var _studioWidgetComponentData2 = {
76066
76098
  widgetDisplay: "_widgetDisplay",
@@ -76172,7 +76204,9 @@ function managedApps(payload5) {
76172
76204
  _arrayType: _arrayType2,
76173
76205
  _audioData: _audioData2,
76174
76206
  _authenticatorConfig: _authenticatorConfig2,
76207
+ _backOfficeCustomization: _backOfficeCustomization2,
76175
76208
  _background: _background2,
76209
+ _category: _category2,
76176
76210
  _checkbox: _checkbox2,
76177
76211
  _checkboxGroup: _checkboxGroup2,
76178
76212
  _commonImage: _commonImage2,
@@ -76257,6 +76291,9 @@ function managedApps(payload5) {
76257
76291
  _schemaGroup: _schemaGroup2,
76258
76292
  _shippingLabelCarrierSpiConfig: _shippingLabelCarrierSpiConfig2,
76259
76293
  _shippingProviderConfig: _shippingProviderConfig2,
76294
+ _sidebarChildItem: _sidebarChildItem2,
76295
+ _sidebarConfig: _sidebarConfig2,
76296
+ _sidebarRootItem: _sidebarRootItem2,
76260
76297
  _signature: _signature2,
76261
76298
  _studioWidgetComponentData: _studioWidgetComponentData2,
76262
76299
  _submitSettings: _submitSettings2,
@@ -76520,6 +76557,7 @@ var ComponentType;
76520
76557
  ComponentType3["FORM_SUBMISSION_MODERATION"] = "FORM_SUBMISSION_MODERATION";
76521
76558
  ComponentType3["EVENTS_EVENT_BADGES"] = "EVENTS_EVENT_BADGES";
76522
76559
  ComponentType3["BILLING_OPERATION"] = "BILLING_OPERATION";
76560
+ ComponentType3["BACK_OFFICE_CUSTOMIZATION"] = "BACK_OFFICE_CUSTOMIZATION";
76523
76561
  })(ComponentType || (ComponentType = {}));
76524
76562
  var WidgetVertical;
76525
76563
  (function(WidgetVertical3) {
@@ -78077,6 +78115,19 @@ var RestrictionLevel;
78077
78115
  RestrictionLevel3["WARNING"] = "WARNING";
78078
78116
  RestrictionLevel3["LOCKED"] = "LOCKED";
78079
78117
  })(RestrictionLevel || (RestrictionLevel = {}));
78118
+ var Theme;
78119
+ (function(Theme3) {
78120
+ Theme3["UNKNOWN_THEME"] = "UNKNOWN_THEME";
78121
+ Theme3["DARK"] = "DARK";
78122
+ Theme3["LIGHT"] = "LIGHT";
78123
+ })(Theme || (Theme = {}));
78124
+ var SidebarDataType;
78125
+ (function(SidebarDataType3) {
78126
+ SidebarDataType3["UNKNOWN_TYPE"] = "UNKNOWN_TYPE";
78127
+ SidebarDataType3["CATEGORY"] = "CATEGORY";
78128
+ SidebarDataType3["PAGE"] = "PAGE";
78129
+ SidebarDataType3["SEPARATOR"] = "SEPARATOR";
78130
+ })(SidebarDataType || (SidebarDataType = {}));
78080
78131
  var SaleType;
78081
78132
  (function(SaleType2) {
78082
78133
  SaleType2["UNKNOWN_SALE_TYPE"] = "UNKNOWN_SALE_TYPE";
@@ -78419,6 +78470,7 @@ var ComponentType2;
78419
78470
  ComponentType3["FORM_SUBMISSION_MODERATION"] = "FORM_SUBMISSION_MODERATION";
78420
78471
  ComponentType3["EVENTS_EVENT_BADGES"] = "EVENTS_EVENT_BADGES";
78421
78472
  ComponentType3["BILLING_OPERATION"] = "BILLING_OPERATION";
78473
+ ComponentType3["BACK_OFFICE_CUSTOMIZATION"] = "BACK_OFFICE_CUSTOMIZATION";
78422
78474
  })(ComponentType2 || (ComponentType2 = {}));
78423
78475
  var WidgetVertical2;
78424
78476
  (function(WidgetVertical3) {
@@ -79976,6 +80028,19 @@ var RestrictionLevel2;
79976
80028
  RestrictionLevel3["WARNING"] = "WARNING";
79977
80029
  RestrictionLevel3["LOCKED"] = "LOCKED";
79978
80030
  })(RestrictionLevel2 || (RestrictionLevel2 = {}));
80031
+ var Theme2;
80032
+ (function(Theme3) {
80033
+ Theme3["UNKNOWN_THEME"] = "UNKNOWN_THEME";
80034
+ Theme3["DARK"] = "DARK";
80035
+ Theme3["LIGHT"] = "LIGHT";
80036
+ })(Theme2 || (Theme2 = {}));
80037
+ var SidebarDataType2;
80038
+ (function(SidebarDataType3) {
80039
+ SidebarDataType3["UNKNOWN_TYPE"] = "UNKNOWN_TYPE";
80040
+ SidebarDataType3["CATEGORY"] = "CATEGORY";
80041
+ SidebarDataType3["PAGE"] = "PAGE";
80042
+ SidebarDataType3["SEPARATOR"] = "SEPARATOR";
80043
+ })(SidebarDataType2 || (SidebarDataType2 = {}));
79979
80044
  var OpenConsentIn2;
79980
80045
  (function(OpenConsentIn3) {
79981
80046
  OpenConsentIn3["NONE_VALUE"] = "NONE_VALUE";