@wix/create-new 0.0.58 → 0.0.59

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
@@ -58256,12 +58256,12 @@ var Link = ({ skin, children, url }) => {
58256
58256
  {
58257
58257
  transform: (childrenAsString) => terminalLink(childrenAsString, url, { fallback: false })
58258
58258
  },
58259
- /* @__PURE__ */ import_react61.default.createElement(Text2, { skin }, children)
58259
+ /* @__PURE__ */ import_react61.default.createElement(Text2, { skin, underline: true }, children)
58260
58260
  );
58261
58261
  }
58262
- return /* @__PURE__ */ import_react61.default.createElement(Text2, null, /* @__PURE__ */ import_react61.default.createElement(Text2, { skin }, children), " (", url, ")");
58262
+ return /* @__PURE__ */ import_react61.default.createElement(Text2, null, /* @__PURE__ */ import_react61.default.createElement(Text2, { skin, underline: true }, children), " ", "(", url, ")");
58263
58263
  }
58264
- return /* @__PURE__ */ import_react61.default.createElement(Text2, { skin: "info" }, url);
58264
+ return /* @__PURE__ */ import_react61.default.createElement(Text2, { skin: "info", underline: true }, url);
58265
58265
  };
58266
58266
 
58267
58267
  // ../cli-ui-kit/src/components/ErrorDetails.tsx
@@ -81630,7 +81630,7 @@ init_esm_shims();
81630
81630
  var import_words = __toESM(require_words(), 1);
81631
81631
  var reservedWords = /* @__PURE__ */ new Set(["wix"]);
81632
81632
  var wordList = [...reservedWords].map((_2) => `"${_2}"`).join(", ");
81633
- var errorMessage = `The application name must be between 1 and 30 characters long and cannot include words like ${wordList}.`;
81633
+ var errorMessage = `The app name must be between 1 and 30 characters long and can't include words like ${wordList}.`;
81634
81634
  var schema2 = external_exports.string().min(1).max(30).refine((value2) => {
81635
81635
  return (0, import_words.default)(value2).every(
81636
81636
  (word) => !reservedWords.has(word.toLocaleLowerCase())
@@ -81740,7 +81740,7 @@ async function parseAppNameOptions(targetParentFolder2, options) {
81740
81740
  if ((0, import_variant28.isType)(npmValidationErrors, "Error")) {
81741
81741
  throw new CliError({
81742
81742
  code: CliErrorCode.AppNameArgumentIsInvalid({
81743
- errorMessage: `Invalid package name "${packageName}". Please fix the following issues: ${npmValidationErrors.payload.join(", ")}`
81743
+ errorMessage: `Invalid package name "${packageName}". Fix the following issues: ${npmValidationErrors.payload.join(", ")}`
81744
81744
  }),
81745
81745
  cause: void 0
81746
81746
  });
@@ -83593,6 +83593,23 @@ function getTasks({
83593
83593
  });
83594
83594
  }
83595
83595
  };
83596
+ const astroSync = async () => {
83597
+ const file = packageManager2.getRunCmd();
83598
+ const args = ["astro", "sync"];
83599
+ try {
83600
+ await runCommand(`${file} ${args.join(" ")}`, {
83601
+ cwd: packageFolder
83602
+ });
83603
+ } catch (e2) {
83604
+ throw new CliError({
83605
+ code: CliErrorCode.FailedToRunExternalCommand({
83606
+ file,
83607
+ args
83608
+ }),
83609
+ cause: e2
83610
+ });
83611
+ }
83612
+ };
83596
83613
  const commitToGit = async () => {
83597
83614
  try {
83598
83615
  await gitCommit(packageFolder);
@@ -83638,7 +83655,17 @@ function getTasks({
83638
83655
  loadingText: agentConfigsTaskText.loadingText,
83639
83656
  successText: agentConfigsTaskText.successText
83640
83657
  };
83641
- const optionalInstallAndAgentsTask = skipInstall ? [] : [installDependenciesTask, addWixSkillsTask, generateAgentConfigsTask];
83658
+ const astroSyncTask = {
83659
+ action: astroSync,
83660
+ loadingText: t3("create_app.generate_project.astro_sync.loading"),
83661
+ successText: t3("create_app.generate_project.astro_sync.done")
83662
+ };
83663
+ const optionalInstallAndAgentsTask = skipInstall ? [] : [
83664
+ installDependenciesTask,
83665
+ addWixSkillsTask,
83666
+ generateAgentConfigsTask,
83667
+ astroSyncTask
83668
+ ];
83642
83669
  return (0, import_variant43.match)(repoType2, {
83643
83670
  None: () => [
83644
83671
  generateProjectTask,
@@ -83871,73 +83898,75 @@ var CreateAppCommand = ({
83871
83898
  // ../create-new-packages/app-command/src/messages.json
83872
83899
  var messages_default3 = {
83873
83900
  "general.loading": "Loading...",
83874
- "general.close_screen": "Press <0/> to skip app installation",
83901
+ "general.close_screen": "Press <0/> to skip app installation.",
83875
83902
  "create_app.create_wix_app": "Create Wix App",
83876
83903
  "create_app.success": "Success",
83877
- "create_app.results": "\u{1F449} Results:",
83878
- "create_app.login_required_warning": "To create a new Wix App project, you'll need to log in with your Wix Account",
83879
- "create_app.create_new_or_extend.failed_fetching_apps": "Failed to fetch existing apps",
83904
+ "create_app.results": "Results:",
83905
+ "create_app.login_required_warning": "To create a new Wix App project, log in with your Wix account.",
83906
+ "create_app.create_new_or_extend.failed_fetching_apps": "Failed to fetch existing apps.",
83880
83907
  "create_app.create_new_or_extend.label": "What would you like to do?",
83881
83908
  "create_app.create_new_or_extend.new.title": "Create a new Wix app",
83882
- "create_app.create_new_or_extend.new.description": "The app will be registered at the App Dashboard",
83909
+ "create_app.create_new_or_extend.new.description": "The app will be registered at the app dashboard.",
83883
83910
  "create_app.create_new_or_extend.existing.title": "Add new extensions for an existing Wix app",
83884
- "create_app.create_new_or_extend.existing.description": "Add CLI extensions to an existing Wix app",
83911
+ "create_app.create_new_or_extend.existing.description": "Add CLI extensions to an existing Wix app.",
83885
83912
  "create_app.template_is_set_from_options.template_id": "Creating a new app using the <0>{templateName}</0> template.",
83886
- "create_app.template_is_set_from_options.git_repository": "Creating a new app using git repo: <0>{templateRepoUrl}</0>",
83887
- "create_app.template_is_set_from_options.local": "Creating a new app using template in path: <0>{templatePath}</0>",
83888
- "create_app.choose_app_creation_source.label": "How would you like to create your new app?",
83913
+ "create_app.template_is_set_from_options.git_repository": "Creating a new app using git repo: <0>{templateRepoUrl}</0>.",
83914
+ "create_app.template_is_set_from_options.local": "Creating a new app using template in path: <0>{templatePath}</0>.",
83915
+ "create_app.choose_app_creation_source.label": "How would you like to create your new app:",
83889
83916
  "create_app.choose_app_creation_source.basic_app.title": "Create a basic app",
83890
- "create_app.choose_app_creation_source.basic_app.description": "Generate a simple app with a dashboard page",
83917
+ "create_app.choose_app_creation_source.basic_app.description": "Generate a simple app with a dashboard page.",
83891
83918
  "create_app.choose_app_creation_source.template.title": "Start from a template",
83892
- "create_app.choose_app_creation_source.template.description": "Start with one of our pre-built templates",
83919
+ "create_app.choose_app_creation_source.template.description": "Start with one of our pre-built templates.",
83893
83920
  "create_app.choose_ide_for_mcp.question": "Would you like to configure Wix MCP for your IDE?",
83894
83921
  "create_app.choose_ide_for_mcp.description": "(<0>read more</0>)",
83895
83922
  "create_app.choose_ide_for_mcp.answer.vscode": "VS Code",
83896
83923
  "create_app.choose_ide_for_mcp.answer.cursor": "Cursor",
83897
83924
  "create_app.choose_ide_for_mcp.answer.claude_code": "Claude Code",
83898
- "create_app.choose_ide_for_mcp.answer.no": "No (You always can do it later)",
83925
+ "create_app.choose_ide_for_mcp.answer.no": "No (You can always do it later).",
83899
83926
  "create_app.mcp_config_created_badge": "MCP Config",
83900
- "create_app.mcp_config_created_1": "MCP configuration created at <0>{mcpPath}</0>",
83927
+ "create_app.mcp_config_created_1": "MCP configuration created at <0>{mcpPath}</0>.",
83901
83928
  "create_app.mcp_config_created_2": "Next steps: Activate MCP in your IDE and try Agent mode.",
83902
- "create_app.mcp_config_created_3": "<0>Read here on how to activate MCP in your IDE</0>",
83903
- "create_app.choose_template.title": "Choose the template you want to start with",
83904
- "create_app.choose_template.see_templates": "\u{1F4A1} To see how the templates look, and for more information, check out the <0>CLI app templates</0>",
83929
+ "create_app.mcp_config_created_3": "<0>Read here on how to activate MCP in your IDE</0>.",
83930
+ "create_app.choose_template.title": "Select the template you want to start with:",
83931
+ "create_app.choose_template.see_templates": "\u{1F4DA} To see how the templates look, and for more information, check out the <0>CLI app templates</0>.",
83905
83932
  "create_app.create_new.name_of_app.label": "Enter a name for your app",
83906
- "create_app.create_new.name_of_app.placeholder": "My Custom App",
83907
- "create_app.create_new.registering_your_app": "Registering your new application in Wix App Dashboard...",
83908
- "create_app.create_new.app_registered_successfully": "<0>{appName}</0> has been registered successfully.",
83909
- "create_app.create_new.app_on_dev_center": "View your App in the <0>App Dashboard</0>",
83933
+ "create_app.create_new.name_of_app.placeholder": "My Custom app",
83934
+ "create_app.create_new.registering_your_app": "Registering your new app in app dashboard...",
83935
+ "create_app.create_new.app_registered_successfully": "<0>{appName}</0> has been registered.",
83936
+ "create_app.create_new.app_on_dev_center": "View your app in the <0>app dashboard</0>.",
83910
83937
  "create_app.extend_existing.select_app.label": "Which app would you like to extend?",
83911
- "create_app.extend_existing.get_project": "Fetching application data",
83912
- "create_app.choose_package_name.label": "Enter a folder name for your project",
83938
+ "create_app.extend_existing.get_project": "Fetching app data.",
83939
+ "create_app.choose_package_name.label": "Enter a folder name for your project:",
83913
83940
  "create_app.choose_namespace.label": "Enter a namespace for your app",
83914
83941
  "create_app.choose_namespace.placeholder": "{suggested}",
83915
83942
  "create_app.choose_code_identifier.label": "Enter a code identifier for your project",
83916
83943
  "create_app.choose_code_identifier.placeholder": "{suggested}",
83917
83944
  "create_app.generate_project.generating_project": "Generating your app...",
83918
83945
  "create_app.generate_project.generating_files.loading": "Generating project files...",
83919
- "create_app.generate_project.generating_files.done": "Project files generated!",
83946
+ "create_app.generate_project.generating_files.done": "Project files generated.",
83920
83947
  "create_app.generate_project.init_git.loading": "Initializing git repository...",
83921
- "create_app.generate_project.init_git.done": "Local git repository initialized!",
83948
+ "create_app.generate_project.init_git.done": "Local git repository initialized.",
83922
83949
  "create_app.generate_project.installing_dependencies.loading": "Running `{command}`...",
83923
- "create_app.generate_project.installing_dependencies.done": "Dependencies installed!",
83950
+ "create_app.generate_project.installing_dependencies.done": "Dependencies installed.",
83924
83951
  "create_app.generate_project.adding_skills.loading": "Adding Wix skills...",
83925
- "create_app.generate_project.adding_skills.done": "Wix skills added!",
83952
+ "create_app.generate_project.adding_skills.done": "Wix skills added.",
83926
83953
  "create_app.generate_project.git_commit.loading": "Committing changes...",
83927
- "create_app.generate_project.git_commit.done": "Changes committed!",
83954
+ "create_app.generate_project.git_commit.done": "Changes committed.",
83928
83955
  "create_app.generate_project.generating_agent_configs.loading": "Generating agent configuration files...",
83929
83956
  "create_app.generate_project.generating_agent_configs.done": "Agent configuration files generated!",
83957
+ "create_app.generate_project.astro_sync.loading": "Syncing Astro types...",
83958
+ "create_app.generate_project.astro_sync.done": "Astro types synced!",
83930
83959
  "create_app.generate_project.finished.ready_to_start": "You are ready to start developing <0>{appName}</0>!",
83931
83960
  "create_app.generate_project.finished.next_steps": "Next Steps:",
83932
- "create_app.generate_project.finished.run_local_development": "Run the local development environment",
83933
- "create_app.generate_project.finished.visit_docs": "For guides and API references visit our <0>documentation</0>",
83934
- "create_app.generate_project.finished.join_community": "Join our <0>Discord community</0>",
83935
- "create_app.generate_project.finished.generate_extensions": "Extend your app",
83961
+ "create_app.generate_project.finished.run_local_development": "Run the local development environment.",
83962
+ "create_app.generate_project.finished.visit_docs": "For guides and API references visit the <0>documentation</0>.",
83963
+ "create_app.generate_project.finished.join_community": "Join the <0>Discord community</0>.",
83964
+ "create_app.generate_project.finished.generate_extensions": "Extend your app.",
83936
83965
  "create_app.confirm_path.title": "Confirm project path",
83937
83966
  "create_app.confirm_path_message": "Project will be generated in {path}. Do you want to continue?",
83938
- "create_app.confirm_path_exit_message": "No problem, feel free to run the program again from a different directory whenever you'd like. Thank you!",
83939
- "validation_errors.invalid_package_name": "Invalid package name. Please fix the following issues: {errors}",
83940
- "validation_errors.invalid_directory": "Empty directory required for app generation"
83967
+ "create_app.confirm_path_exit_message": "No problem, feel free to run the program again from a different directory whenever you'd like.",
83968
+ "validation_errors.invalid_package_name": "Invalid package name. Fix the following issues: {errors}",
83969
+ "validation_errors.invalid_directory": "Empty directory required for app generation."
83941
83970
  };
83942
83971
 
83943
83972
  // ../create-new-packages/app-command/src/index.tsx
@@ -83955,31 +83984,31 @@ var getAppCommand = ({
83955
83984
  return new Command().name("app").description("Create Wix app").addOption(
83956
83985
  new Option(
83957
83986
  "--skip-install",
83958
- "Skip automatic dependency installation"
83987
+ "Skip automatic dependency installation."
83959
83988
  ).hideHelp()
83960
83989
  ).addOption(
83961
83990
  new Option(
83962
83991
  "--skip-git",
83963
- "Prevent the application from automatically initializing a Git repository during setup"
83992
+ "Prevent the app from automatically initializing a Git repository during setup."
83964
83993
  ).hideHelp()
83965
83994
  ).addOption(
83966
83995
  new Option(
83967
83996
  "-r, --template-repo <template-repo>",
83968
- "Git repository URL to fetch the template from"
83997
+ "Git repository URL to fetch the template from."
83969
83998
  ).argParser(validateGitUrl).hideHelp()
83970
83999
  ).addOption(
83971
84000
  new Option(
83972
84001
  "-p, --template-repo-path <template-repo-path>",
83973
- "Path inside the Git repository to fetch the template from"
84002
+ "Path inside the Git repository to fetch the template from."
83974
84003
  ).hideHelp()
83975
84004
  ).option(
83976
84005
  "-t, --template <template-id>",
83977
- "Template ID to use for the app creation",
84006
+ "Template ID to use for the app creation.",
83978
84007
  validateUUID
83979
84008
  ).addOption(
83980
84009
  new Option(
83981
84010
  "-x, --template-path <template-path>",
83982
- "Local path to the template folder"
84011
+ "Local path to the template folder."
83983
84012
  ).hideHelp()
83984
84013
  ).addOption(
83985
84014
  new Option(
@@ -83989,7 +84018,7 @@ var getAppCommand = ({
83989
84018
  ).addOption(
83990
84019
  new Option(
83991
84020
  "--app-name <app-name>",
83992
- "The name for your new application"
84021
+ "The name for your new app."
83993
84022
  ).argParser(validateAppName)
83994
84023
  ).addOption(
83995
84024
  new Option(
@@ -84098,7 +84127,7 @@ var ChooseBusinessName = ({ onSubmit }) => {
84098
84127
  return /* @__PURE__ */ import_react135.default.createElement(
84099
84128
  TextInput2,
84100
84129
  {
84101
- label: "What's the name of your business?",
84130
+ label: "Enter the name of your business.",
84102
84131
  onSubmit: (businessName) => onSubmit({ businessName }),
84103
84132
  validate: validate3,
84104
84133
  inCreateFlow: true
@@ -84236,7 +84265,7 @@ var CreateBusiness = ({ businessName, businessTemplateId, onDone }) => {
84236
84265
  return /* @__PURE__ */ import_react137.default.createElement(import_react137.default.Fragment, null, (0, import_variant46.match)(status, {
84237
84266
  Error: () => null,
84238
84267
  Loading: () => /* @__PURE__ */ import_react137.default.createElement(Box_default, { marginBottom: 1 }, /* @__PURE__ */ import_react137.default.createElement(Spinner2, { text: "Creating your business..." })),
84239
- Success: () => /* @__PURE__ */ import_react137.default.createElement(Box_default, { marginLeft: -2, marginBottom: 1 }, /* @__PURE__ */ import_react137.default.createElement(Alert, { type: "success" }, /* @__PURE__ */ import_react137.default.createElement(Badge, { skin: "success" }, "Success"), " ", /* @__PURE__ */ import_react137.default.createElement(Text2, null, "Business created successfully"))),
84268
+ Success: () => /* @__PURE__ */ import_react137.default.createElement(Box_default, { marginLeft: -2, marginBottom: 1 }, /* @__PURE__ */ import_react137.default.createElement(Alert, { type: "success" }, /* @__PURE__ */ import_react137.default.createElement(Badge, { skin: "success" }, "Success"), " ", /* @__PURE__ */ import_react137.default.createElement(Text2, null, "Business created."))),
84240
84269
  NotRequested: () => null
84241
84270
  }));
84242
84271
  };
@@ -84355,7 +84384,7 @@ var CreateProject = ({
84355
84384
  return /* @__PURE__ */ import_react138.default.createElement(import_react138.default.Fragment, null, !providedProjectName && /* @__PURE__ */ import_react138.default.createElement(
84356
84385
  TextInput2,
84357
84386
  {
84358
- label: "What's the name of your Custom Frontend project?",
84387
+ label: "Enter the name of your Custom Frontend project.",
84359
84388
  onSubmit: (projectName) => execute({ projectName, cloudProviders }),
84360
84389
  validate: validate3,
84361
84390
  inCreateFlow: true
@@ -84363,7 +84392,7 @@ var CreateProject = ({
84363
84392
  ), (0, import_variant47.match)(status, {
84364
84393
  Error: () => null,
84365
84394
  Loading: () => /* @__PURE__ */ import_react138.default.createElement(Box_default, { marginBottom: 1 }, /* @__PURE__ */ import_react138.default.createElement(Spinner2, { text: "Creating your project..." })),
84366
- Success: () => /* @__PURE__ */ import_react138.default.createElement(Box_default, { marginLeft: -2, marginBottom: 1 }, /* @__PURE__ */ import_react138.default.createElement(Alert, { type: "success" }, /* @__PURE__ */ import_react138.default.createElement(Badge, { skin: "success" }, "Success"), " ", /* @__PURE__ */ import_react138.default.createElement(Text2, null, "Project created successfully"))),
84395
+ Success: () => /* @__PURE__ */ import_react138.default.createElement(Box_default, { marginLeft: -2, marginBottom: 1 }, /* @__PURE__ */ import_react138.default.createElement(Alert, { type: "success" }, /* @__PURE__ */ import_react138.default.createElement(Badge, { skin: "success" }, "Success"), " ", /* @__PURE__ */ import_react138.default.createElement(Text2, null, "Project created."))),
84367
84396
  NotRequested: () => null
84368
84397
  }));
84369
84398
  };
@@ -93519,7 +93548,7 @@ var GenerateProject = ({ projectFolder, businessId, projectData, onDone, package
93519
93548
  {
93520
93549
  action: generateProject,
93521
93550
  loadingText: "Generating project...",
93522
- successText: "Generated project successfully"
93551
+ successText: "Project generated."
93523
93552
  },
93524
93553
  {
93525
93554
  action: extendProject,
@@ -93529,7 +93558,7 @@ var GenerateProject = ({ projectFolder, businessId, projectData, onDone, package
93529
93558
  {
93530
93559
  action: installDependencies,
93531
93560
  loadingText: "Installing dependencies...",
93532
- successText: "Installed dependencies successfully"
93561
+ successText: "Dependencies installed."
93533
93562
  }
93534
93563
  ];
93535
93564
  return result;
@@ -93541,7 +93570,7 @@ var GenerateProject = ({ projectFolder, businessId, projectData, onDone, package
93541
93570
  return (0, import_variant49.match)(taskRunnerStatus, {
93542
93571
  Idle: () => null,
93543
93572
  Running: (status) => /* @__PURE__ */ import_react141.default.createElement(GenerationProgress2, { ...status }),
93544
- Done: (status) => /* @__PURE__ */ import_react141.default.createElement(Box_default, { flexDirection: "column", marginBottom: 1 }, /* @__PURE__ */ import_react141.default.createElement(GenerationProgress2, { ...status }), /* @__PURE__ */ import_react141.default.createElement(Box_default, { marginLeft: -2, marginTop: 1 }, /* @__PURE__ */ import_react141.default.createElement(Alert, { type: "success" }, /* @__PURE__ */ import_react141.default.createElement(Badge, { skin: "success" }, "Success"), " ", /* @__PURE__ */ import_react141.default.createElement(Text2, null, "Project set up successfully"))))
93573
+ Done: (status) => /* @__PURE__ */ import_react141.default.createElement(Box_default, { flexDirection: "column", marginBottom: 1 }, /* @__PURE__ */ import_react141.default.createElement(GenerationProgress2, { ...status }), /* @__PURE__ */ import_react141.default.createElement(Box_default, { marginLeft: -2, marginTop: 1 }, /* @__PURE__ */ import_react141.default.createElement(Alert, { type: "success" }, /* @__PURE__ */ import_react141.default.createElement(Badge, { skin: "success" }, "Success"), " ", /* @__PURE__ */ import_react141.default.createElement(Text2, null, "Project set up."))))
93545
93574
  });
93546
93575
  };
93547
93576
 
@@ -93811,7 +93840,7 @@ async function parseProjectNameOptions(targetParentFolder2, options) {
93811
93840
  if ((0, import_variant52.isType)(npmValidationErrors, "Error")) {
93812
93841
  throw new CliError({
93813
93842
  code: CliErrorCode.ProjectNameArgumentIsInvalid({
93814
- errorMessage: `Invalid package name "${projectName}". Please fix the following issues: ${npmValidationErrors.payload.join(", ")}`
93843
+ errorMessage: `Invalid package name "${projectName}". Fix the following issues: ${npmValidationErrors.payload.join(", ")}`
93815
93844
  }),
93816
93845
  cause: void 0
93817
93846
  });
@@ -93847,7 +93876,7 @@ async function parseCommandOptions2(targetParentFolder2, options) {
93847
93876
  if (projectName && !template) {
93848
93877
  throw new CliError({
93849
93878
  code: CliErrorCode.ProjectNameArgumentIsInvalid({
93850
- errorMessage: "A project name was provided, but no template was specified. Please specify a template when defining the project name."
93879
+ errorMessage: "A project name was provided, but no template was specified. Specify a template when defining the project name."
93851
93880
  }),
93852
93881
  cause: void 0
93853
93882
  });
@@ -93934,7 +93963,7 @@ var validateAppDirectory = async (targetParentFolder2, packageName) => {
93934
93963
  const npmValidationErrors = await validatePackageName2(packageName);
93935
93964
  return (0, import_variant53.match)(npmValidationErrors, {
93936
93965
  Ok: () => true,
93937
- Error: ({ payload: payload7 }) => `Invalid folder name. Please fix the following issues: ${payload7.join(", ")}`
93966
+ Error: ({ payload: payload7 }) => `Invalid folder name. Fix the following issues: ${payload7.join(", ")}`
93938
93967
  });
93939
93968
  };
93940
93969
  var ChooseFolder = ({ initialFolderName, targetParentFolder: targetParentFolder2, onSubmit }) => {
@@ -93945,7 +93974,7 @@ var ChooseFolder = ({ initialFolderName, targetParentFolder: targetParentFolder2
93945
93974
  return /* @__PURE__ */ import_react144.default.createElement(
93946
93975
  TextInput2,
93947
93976
  {
93948
- label: "In which directory do you want to create your application?",
93977
+ label: "Enter the folder name for your project.",
93949
93978
  placeholder: initialFolderName,
93950
93979
  onSubmit: (folderName) => onSubmit({ folderName }),
93951
93980
  validate: validate3,
@@ -94108,26 +94137,26 @@ var GenerateProject2 = ({
94108
94137
  {
94109
94138
  action: generateProject,
94110
94139
  loadingText: "Generating project...",
94111
- successText: "Generated project successfully"
94140
+ successText: "Project generated."
94112
94141
  },
94113
94142
  {
94114
94143
  action: extendProject,
94115
94144
  loadingText: "Extending project template...",
94116
- successText: "The project template has been successfully extended"
94145
+ successText: "The project template has been extended."
94117
94146
  }
94118
94147
  ];
94119
94148
  if (!commandOptions.skipGit) {
94120
94149
  result.push({
94121
94150
  action: initializeGit,
94122
94151
  loadingText: "Initializing git repository...",
94123
- successText: "Initialized git repository successfully"
94152
+ successText: "Git repository initialized."
94124
94153
  });
94125
94154
  }
94126
94155
  if (!commandOptions.skipInstall) {
94127
94156
  result.push({
94128
94157
  action: installDependencies,
94129
94158
  loadingText: "Installing dependencies...",
94130
- successText: "Installed dependencies successfully"
94159
+ successText: "Dependencies installed."
94131
94160
  });
94132
94161
  result.push({
94133
94162
  action: () => generateAgentConfigs(packageFolder),
@@ -94139,7 +94168,7 @@ var GenerateProject2 = ({
94139
94168
  result.push({
94140
94169
  action: commitToGit,
94141
94170
  loadingText: "Committing code...",
94142
- successText: "Committed code successfully"
94171
+ successText: "Code committed."
94143
94172
  });
94144
94173
  }
94145
94174
  return result;
@@ -94160,7 +94189,7 @@ var GenerateProject2 = ({
94160
94189
  return (0, import_variant54.match)(taskRunnerStatus, {
94161
94190
  Idle: () => null,
94162
94191
  Running: (status) => /* @__PURE__ */ import_react145.default.createElement(GenerationProgress3, { ...status }),
94163
- Done: (status) => /* @__PURE__ */ import_react145.default.createElement(Box_default, { flexDirection: "column", marginBottom: 1 }, /* @__PURE__ */ import_react145.default.createElement(GenerationProgress3, { ...status }), /* @__PURE__ */ import_react145.default.createElement(Box_default, { marginLeft: -2, marginTop: 1 }, /* @__PURE__ */ import_react145.default.createElement(Alert, { type: "success" }, /* @__PURE__ */ import_react145.default.createElement(Badge, { skin: "success" }, "Success"), " ", /* @__PURE__ */ import_react145.default.createElement(Text2, null, "Project set up successfully"))))
94192
+ Done: (status) => /* @__PURE__ */ import_react145.default.createElement(Box_default, { flexDirection: "column", marginBottom: 1 }, /* @__PURE__ */ import_react145.default.createElement(GenerationProgress3, { ...status }), /* @__PURE__ */ import_react145.default.createElement(Box_default, { marginLeft: -2, marginTop: 1 }, /* @__PURE__ */ import_react145.default.createElement(Alert, { type: "success" }, /* @__PURE__ */ import_react145.default.createElement(Badge, { skin: "success" }, "Success"), " ", /* @__PURE__ */ import_react145.default.createElement(Text2, null, "Project set up."))))
94164
94193
  });
94165
94194
  };
94166
94195
 
@@ -94196,7 +94225,7 @@ var ChooseTemplate2 = ({ onSubmit }) => {
94196
94225
  return /* @__PURE__ */ import_react146.default.createElement(
94197
94226
  SelectGroupsInput,
94198
94227
  {
94199
- label: "Choose an initial template for your business",
94228
+ label: "Select an initial template for your business",
94200
94229
  groups,
94201
94230
  onSubmit: ({ value: value2 }) => onSubmit({ template: TemplateSource2.HeadlessApp(value2) })
94202
94231
  }
@@ -94310,9 +94339,9 @@ var ReleaseProject = ({
94310
94339
  NotRequested: () => null,
94311
94340
  Success: ({ result }) => {
94312
94341
  return /* @__PURE__ */ import_react148.default.createElement(import_react148.default.Fragment, null, (0, import_variant56.match)(result, {
94313
- Success: () => /* @__PURE__ */ import_react148.default.createElement(Box_default, { marginLeft: -2 }, /* @__PURE__ */ import_react148.default.createElement(Alert, { type: "success" }, /* @__PURE__ */ import_react148.default.createElement(Badge, { skin: "success" }, "Success"), " ", /* @__PURE__ */ import_react148.default.createElement(Text2, null, "Site published successfully"))),
94314
- Skipped: () => /* @__PURE__ */ import_react148.default.createElement(Text2, null, `No worries, you can publish your site later by running ${packageManager2.getRunCmd()} release`),
94315
- Error: () => /* @__PURE__ */ import_react148.default.createElement(Box_default, { flexDirection: "column", gap: 1 }, /* @__PURE__ */ import_react148.default.createElement(Alert, { type: "error" }, "Failed to publish your site"), /* @__PURE__ */ import_react148.default.createElement(Text2, null, `No worries, you can publish your site later by running ${packageManager2.getRunCmd()} release`))
94342
+ Success: () => /* @__PURE__ */ import_react148.default.createElement(Box_default, { marginLeft: -2 }, /* @__PURE__ */ import_react148.default.createElement(Alert, { type: "success" }, /* @__PURE__ */ import_react148.default.createElement(Badge, { skin: "success" }, "Published"), " ", /* @__PURE__ */ import_react148.default.createElement(Text2, null, "Site published."))),
94343
+ Skipped: () => /* @__PURE__ */ import_react148.default.createElement(Text2, null, `You can publish your site later by running \`${packageManager2.getRunCmd()} release\`.`),
94344
+ Error: () => /* @__PURE__ */ import_react148.default.createElement(Box_default, { flexDirection: "column", gap: 1 }, /* @__PURE__ */ import_react148.default.createElement(Alert, { type: "error" }, "Failed to publish your site"), /* @__PURE__ */ import_react148.default.createElement(Text2, null, `You can publish your site later by running \`${packageManager2.getRunCmd()} release\`.`))
94316
94345
  }), /* @__PURE__ */ import_react148.default.createElement(
94317
94346
  FinishedSuccessfullyMessage3,
94318
94347
  {
@@ -94341,7 +94370,7 @@ var ChooseVibeSetup = ({ onSubmit }) => {
94341
94370
  SelectInput2,
94342
94371
  {
94343
94372
  label: "Would you like to set up your project for editing in Wix Vibe?",
94344
- info: /* @__PURE__ */ import_react149.default.createElement(import_react149.default.Fragment, null, "Use vibe coding with a drag-and-drop editor and an IDE. Requires using GitHub to sync your project.", " ", /* @__PURE__ */ import_react149.default.createElement(Link, { url: "https://support.wix.com/en/using-wix-vibe" }, /* @__PURE__ */ import_react149.default.createElement(Text2, { underline: true }, "Learn more"))),
94373
+ info: /* @__PURE__ */ import_react149.default.createElement(import_react149.default.Fragment, null, "Use vibe coding with a drag-and-drop Editor and an IDE. Requires using GitHub to sync your project.", " ", /* @__PURE__ */ import_react149.default.createElement(Link, { url: "https://support.wix.com/en/using-wix-vibe" }, /* @__PURE__ */ import_react149.default.createElement(Text2, { underline: true }, "Learn more"))),
94345
94374
  options: [
94346
94375
  {
94347
94376
  key: "setup-vibe",
@@ -95356,7 +95385,7 @@ var VibeRepositorySetupPolling = ({
95356
95385
  );
95357
95386
  return (0, import_variant58.match)(status, {
95358
95387
  Error: () => /* @__PURE__ */ import_react152.default.createElement(Box_default, { flexDirection: "column", gap: 1 }, /* @__PURE__ */ import_react152.default.createElement(Text2, { skin: "error" }, "Failed to connect to Wix Vibe")),
95359
- Loading: () => /* @__PURE__ */ import_react152.default.createElement(Box_default, { flexDirection: "column", gap: 1 }, /* @__PURE__ */ import_react152.default.createElement(Spinner2, { text: "Opening browser for Wix Vibe setup..." }), /* @__PURE__ */ import_react152.default.createElement(Text2, { skin: "secondary" }, "Complete the setup in your browser. We're waiting for you to finish...")),
95388
+ Loading: () => /* @__PURE__ */ import_react152.default.createElement(Box_default, { flexDirection: "column", gap: 1 }, /* @__PURE__ */ import_react152.default.createElement(Spinner2, { text: "Opening browser for Wix Vibe setup..." }), /* @__PURE__ */ import_react152.default.createElement(Text2, { skin: "secondary" }, "Complete the setup in your browser. Waiting for you to finish...")),
95360
95389
  Success: ({ result }) => (0, import_variant58.match)(result, {
95361
95390
  Success: ({ repoName, htmlUrl }) => /* @__PURE__ */ import_react152.default.createElement(Box_default, { marginLeft: -2, marginBottom: 1 }, /* @__PURE__ */ import_react152.default.createElement(Alert, { type: "success" }, /* @__PURE__ */ import_react152.default.createElement(Badge, { skin: "success" }, "Success"), " ", /* @__PURE__ */ import_react152.default.createElement(Text2, null, "GitHub repository '", repoName, "' created and Synced.", " ", /* @__PURE__ */ import_react152.default.createElement(Link, { url: htmlUrl }, "View Repository.")))),
95362
95391
  Canceled: () => null
@@ -95765,7 +95794,7 @@ import { randomUUID as randomUUID3 } from "node:crypto";
95765
95794
  var package_default = {
95766
95795
  name: "@wix/create-new",
95767
95796
  description: "General entry point for creating Wix projects",
95768
- version: "0.0.58",
95797
+ version: "0.0.59",
95769
95798
  bin: "bin/index.cjs",
95770
95799
  devDependencies: {
95771
95800
  "@commander-js/extra-typings": "^13.0.0",