@wix/create-app 0.0.115 → 0.0.117

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/index.js CHANGED
@@ -57482,6 +57482,7 @@ var CliSystemErrorCode = (0, import_variant11.variant)({
57482
57482
  AppReleaseConfigViolations: (0, import_variant11.fields)(),
57483
57483
  FailedToReleaseHeadlessProject: {},
57484
57484
  FailedToCreateAppRelease: {},
57485
+ FailedToParseFieldValidationError: {},
57485
57486
  FailedToUpdateAppRelease: {},
57486
57487
  FailedToCreateComponents: {},
57487
57488
  FailedToGetResolveNpmDependenciesResult: {},
@@ -57529,7 +57530,8 @@ var CliSystemErrorCode = (0, import_variant11.variant)({
57529
57530
  FailedToUploadStaticFiles: {},
57530
57531
  FailedCreatingAppProject: {},
57531
57532
  FailedCreatingAppDeployment: {},
57532
- FailedFinalizingAppDeployment: {}
57533
+ FailedFinalizingAppDeployment: {},
57534
+ FailedToFindAstroConfig: {}
57533
57535
  });
57534
57536
  var CliUserErrorCode = (0, import_variant11.variant)({
57535
57537
  LatestVersionOfCreateAppRequired: (0, import_variant11.fields)(),
@@ -67571,6 +67573,9 @@ function getErrorComponent(code, cause) {
67571
67573
  FailedToCreateAppRelease: () => {
67572
67574
  return () => /* @__PURE__ */ import_react78.default.createElement(SystemErrorMessage, { message: "Failed to create an app configuration." });
67573
67575
  },
67576
+ FailedToParseFieldValidationError: () => {
67577
+ return () => /* @__PURE__ */ import_react78.default.createElement(SystemErrorMessage, { message: "Unexpected response from server." });
67578
+ },
67574
67579
  FailedToReleaseHeadlessProject: () => {
67575
67580
  return () => /* @__PURE__ */ import_react78.default.createElement(SystemErrorMessage, { message: "Failed releasing a headless site and app" });
67576
67581
  },
@@ -68180,6 +68185,9 @@ ${errorMessage2}`
68180
68185
  hint: `Make sure you have the correct \`monitoring\` configuration in \`${configPath}\`.`
68181
68186
  }
68182
68187
  );
68188
+ },
68189
+ FailedToFindAstroConfig: () => {
68190
+ return () => /* @__PURE__ */ import_react78.default.createElement(ErrorMessage, { message: "No valid configuration file found. Please ensure that an astro.config.{js,cjs,mjs,ts} file exists in your project directory." });
68183
68191
  }
68184
68192
  });
68185
68193
  }
@@ -71673,7 +71681,7 @@ function reportCommandStartEvent({
71673
71681
  var package_default = {
71674
71682
  name: "@wix/create-app",
71675
71683
  description: "Create Wix apps",
71676
- version: "0.0.115",
71684
+ version: "0.0.117",
71677
71685
  author: "Ihor Machuzhak",
71678
71686
  bin: "bin/index.cjs",
71679
71687
  devDependencies: {
@@ -79209,6 +79217,8 @@ var ComponentType2;
79209
79217
  ComponentType3["WIX_HOSTING_APP_DEPLOYMENT_PROVIDER"] = "WIX_HOSTING_APP_DEPLOYMENT_PROVIDER";
79210
79218
  ComponentType3["BACKEND_WORKER"] = "BACKEND_WORKER";
79211
79219
  ComponentType3["EVENT_TIME_SLOTS_CONFIGURATION_PROVIDER"] = "EVENT_TIME_SLOTS_CONFIGURATION_PROVIDER";
79220
+ ComponentType3["WIX_HOSTING_APP_ENVIRONMENT_PROVIDER"] = "WIX_HOSTING_APP_ENVIRONMENT_PROVIDER";
79221
+ ComponentType3["SDK_EXPORTS"] = "SDK_EXPORTS";
79212
79222
  })(ComponentType2 || (ComponentType2 = {}));
79213
79223
  var WidgetVertical2;
79214
79224
  (function(WidgetVertical3) {
@@ -80620,6 +80630,7 @@ var CssDataType2;
80620
80630
  CssDataType3["blendMode"] = "blendMode";
80621
80631
  CssDataType3["customEnum"] = "customEnum";
80622
80632
  CssDataType3["string"] = "string";
80633
+ CssDataType3["time"] = "time";
80623
80634
  })(CssDataType2 || (CssDataType2 = {}));
80624
80635
  var FilterFunction2;
80625
80636
  (function(FilterFunction3) {
@@ -81021,11 +81032,9 @@ var componentsSchema = z.array(
81021
81032
  );
81022
81033
  var appByVersionSchema = z.object({
81023
81034
  appId: z.string(),
81024
- latestVersion: z.string(),
81025
81035
  data: z.object({
81026
81036
  components: componentsSchema
81027
- }),
81028
- appStatus: z.string().optional()
81037
+ })
81029
81038
  });
81030
81039
  var appVersionSchema = z.object({
81031
81040
  appVersions: z.array(