@wix/create-app 0.0.107 → 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 < 20 || (major === 20 && minor < 9)) {
17
+ if (major < 20 || (major === 20 && minor < 11)) {
18
18
  const currentVersion = colorize(RED, process.versions.node);
19
- const supportedVersion = colorize(GREEN, '20.9.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
@@ -57182,8 +57182,7 @@ var CliSystemErrorCode = (0, import_variant11.variant)({
57182
57182
  FailedToGetSdkSlotData: {},
57183
57183
  FailedToListComponentByComponentType: {},
57184
57184
  FailedToParseBackofficeExtensionContainer: {},
57185
- FailedToParseBackofficePages: {},
57186
- FailedToCleanDistFolder: {}
57185
+ FailedToParseBackofficePages: {}
57187
57186
  });
57188
57187
  var CliUserErrorCode = (0, import_variant11.variant)({
57189
57188
  LatestVersionOfCreateAppRequired: (0, import_variant11.fields)(),
@@ -57286,7 +57285,8 @@ var CliUserErrorCode = (0, import_variant11.variant)({
57286
57285
  AppNameArgumentIsInvalid: (0, import_variant11.fields)(),
57287
57286
  CannotReleaseMinorInNoninteractive: {},
57288
57287
  SiteComponentConfigNotFound: (0, import_variant11.fields)(),
57289
- FailedToImportCliApp: {}
57288
+ FailedToImportCliApp: {},
57289
+ FailedToCleanDistFolder: {}
57290
57290
  });
57291
57291
  var CliErrorCode = (0, import_variant11.variant)({
57292
57292
  ...CliSystemErrorCode,
@@ -67648,7 +67648,13 @@ function getErrorComponent(code, cause) {
67648
67648
  return () => /* @__PURE__ */ import_react78.default.createElement(SystemErrorMessage, { message: `Failed to parse backoffice pages data` });
67649
67649
  },
67650
67650
  FailedToCleanDistFolder: () => {
67651
- return () => /* @__PURE__ */ import_react78.default.createElement(SystemErrorMessage, { message: "Failed to clean dist folder" });
67651
+ return () => /* @__PURE__ */ import_react78.default.createElement(
67652
+ ErrorMessage,
67653
+ {
67654
+ cause,
67655
+ message: "Failed to clean the dist folder."
67656
+ }
67657
+ );
67652
67658
  },
67653
67659
  FailedToDeployDocument: () => {
67654
67660
  return () => /* @__PURE__ */ import_react78.default.createElement(SystemErrorMessage, { message: "Failed to deploy site document." });
@@ -71228,7 +71234,7 @@ function reportCommandStartEvent({
71228
71234
  var package_default = {
71229
71235
  name: "@wix/create-app",
71230
71236
  description: "Create Wix apps",
71231
- version: "0.0.107",
71237
+ version: "0.0.108",
71232
71238
  author: "Ihor Machuzhak",
71233
71239
  bin: "bin/index.cjs",
71234
71240
  devDependencies: {
@@ -71266,7 +71272,7 @@ var package_default = {
71266
71272
  zod: "^3.24.2"
71267
71273
  },
71268
71274
  engines: {
71269
- node: ">= 20.9.0"
71275
+ node: ">= 20.11.0"
71270
71276
  },
71271
71277
  files: [
71272
71278
  "bin",