@wix/create-app 0.0.233 → 0.0.234

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-BLZB3Y74.js";
17
+ } from "./chunk-6P5R3I5H.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-LCJUKG2D.js.map
3989
+ //# sourceMappingURL=generator-CWHZ3FKG.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-BLZB3Y74.js";
103
+ } from "./chunk-6P5R3I5H.js";
104
104
  import {
105
105
  __commonJS,
106
106
  __dirname,
@@ -50821,6 +50821,9 @@ function getErrorComponent(code, cause) {
50821
50821
  FailedToQuerySites: () => {
50822
50822
  return () => /* @__PURE__ */ import_react78.default.createElement(ErrorMessage, { message: "Failed to request sites list." });
50823
50823
  },
50824
+ FailedToGetDomainSuggestions: () => {
50825
+ return () => /* @__PURE__ */ import_react78.default.createElement(ErrorMessage, { message: "Failed to get domain suggestions." });
50826
+ },
50824
50827
  FailedToGetSite: () => {
50825
50828
  return () => /* @__PURE__ */ import_react78.default.createElement(ErrorMessage, { message: "Couldn't get information about your configured development site." });
50826
50829
  },
@@ -50842,6 +50845,26 @@ function getErrorComponent(code, cause) {
50842
50845
  }
50843
50846
  );
50844
50847
  },
50848
+ DevelopmentSiteNotConfigured: () => {
50849
+ return () => /* @__PURE__ */ import_react78.default.createElement(ErrorMessage, { message: "Please select a development site first using the 'wix dev-site' command." });
50850
+ },
50851
+ DevelopmentSiteNotFound: ({ siteId }) => {
50852
+ return () => /* @__PURE__ */ import_react78.default.createElement(
50853
+ ErrorMessage,
50854
+ {
50855
+ message: `Development site ${siteId} was not found or is not accessible.`
50856
+ }
50857
+ );
50858
+ },
50859
+ DevelopmentSiteEnvironmentConflict: ({ envSiteId, requestedSiteId }) => {
50860
+ return () => /* @__PURE__ */ import_react78.default.createElement(
50861
+ ErrorMessage,
50862
+ {
50863
+ message: requestedSiteId ? `Cannot select development site ${requestedSiteId} because WIX_SITE_ID is set to ${envSiteId}.` : `Cannot create and select a development site because WIX_SITE_ID is set to ${envSiteId}.`,
50864
+ hint: "Unset WIX_SITE_ID before changing the selected development site."
50865
+ }
50866
+ );
50867
+ },
50845
50868
  FailedToBuildApp: () => {
50846
50869
  return () => /* @__PURE__ */ import_react78.default.createElement(
50847
50870
  ErrorMessage,
@@ -56775,7 +56798,7 @@ function reportCommandStartEvent({
56775
56798
  var package_default = {
56776
56799
  name: "@wix/create-app",
56777
56800
  description: "Create Wix apps",
56778
- version: "0.0.233",
56801
+ version: "0.0.234",
56779
56802
  author: "Ihor Machuzhak",
56780
56803
  bin: "bin/index.cjs",
56781
56804
  devDependencies: {
@@ -67708,7 +67731,7 @@ function getTasks({
67708
67731
  cause: e2
67709
67732
  });
67710
67733
  }
67711
- const { generateApp } = await import("./generator-LCJUKG2D.js");
67734
+ const { generateApp } = await import("./generator-CWHZ3FKG.js");
67712
67735
  await generateApp({
67713
67736
  packageName,
67714
67737
  packageFolder,