@wix/create-app 0.0.222 → 0.0.224

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.
@@ -14,7 +14,7 @@ import {
14
14
  require_is_git_url,
15
15
  require_lib,
16
16
  require_semver
17
- } from "./chunk-AR5GU4DQ.js";
17
+ } from "./chunk-2LGRY6M4.js";
18
18
  import {
19
19
  __commonJS,
20
20
  __require,
@@ -3986,4 +3986,4 @@ ejs/lib/ejs.js:
3986
3986
  * @license {@link http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0}
3987
3987
  *)
3988
3988
  */
3989
- //# sourceMappingURL=generator-67LVOXN5.js.map
3989
+ //# sourceMappingURL=generator-M5GXMZS6.js.map
package/build/index.js CHANGED
@@ -100,7 +100,7 @@ import {
100
100
  setupTestEnv,
101
101
  writeJson,
102
102
  zod_default
103
- } from "./chunk-AR5GU4DQ.js";
103
+ } from "./chunk-2LGRY6M4.js";
104
104
  import {
105
105
  __commonJS,
106
106
  __dirname,
@@ -51266,6 +51266,48 @@ ${errorMessage2}`
51266
51266
  hint: reason
51267
51267
  }
51268
51268
  );
51269
+ },
51270
+ PluginUnknownHook: ({ hook, supportedHooks, pluginName }) => {
51271
+ return () => /* @__PURE__ */ import_react78.default.createElement(
51272
+ ErrorMessage,
51273
+ {
51274
+ cause,
51275
+ message: `Unknown Wix CLI hook "${hook}" in plugin "${pluginName}".`,
51276
+ hint: `Supported hooks: ${supportedHooks.map((supportedHook) => `"${supportedHook}"`).join(", ")}`
51277
+ }
51278
+ );
51279
+ },
51280
+ PluginInvalidHookHandler: ({ hook, pluginName }) => {
51281
+ return () => /* @__PURE__ */ import_react78.default.createElement(
51282
+ ErrorMessage,
51283
+ {
51284
+ cause,
51285
+ message: `Invalid handler for Wix CLI hook "${hook}" in plugin "${pluginName}".`,
51286
+ hint: "Hook handlers must be functions."
51287
+ }
51288
+ );
51289
+ },
51290
+ PluginDuplicateName: ({ name, firstIndex, duplicateIndex }) => {
51291
+ return () => /* @__PURE__ */ import_react78.default.createElement(
51292
+ ErrorMessage,
51293
+ {
51294
+ cause,
51295
+ message: `Duplicate plugin name "${name}".`,
51296
+ hint: `"plugins[${duplicateIndex}].name" conflicts with "plugins[${firstIndex}].name". Plugin names must be unique.`
51297
+ }
51298
+ );
51299
+ },
51300
+ PluginHandlerFailed: ({
51301
+ handlerName,
51302
+ pluginName
51303
+ }) => {
51304
+ return () => /* @__PURE__ */ import_react78.default.createElement(
51305
+ ErrorMessage,
51306
+ {
51307
+ cause,
51308
+ message: `Plugin "${pluginName}" failed while handling "${handlerName}".`
51309
+ }
51310
+ );
51269
51311
  }
51270
51312
  });
51271
51313
  }
@@ -56145,7 +56187,7 @@ function reportCommandStartEvent({
56145
56187
  var package_default = {
56146
56188
  name: "@wix/create-app",
56147
56189
  description: "Create Wix apps",
56148
- version: "0.0.222",
56190
+ version: "0.0.224",
56149
56191
  author: "Ihor Machuzhak",
56150
56192
  bin: "bin/index.cjs",
56151
56193
  devDependencies: {
@@ -66881,7 +66923,7 @@ function getTasks({
66881
66923
  cause: e2
66882
66924
  });
66883
66925
  }
66884
- const { generateApp } = await import("./generator-67LVOXN5.js");
66926
+ const { generateApp } = await import("./generator-M5GXMZS6.js");
66885
66927
  await generateApp({
66886
66928
  packageName,
66887
66929
  packageFolder,