@wix/cli 1.1.52 → 1.1.53

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.
Files changed (147) hide show
  1. package/build/DevCommand-46IDVEZB.js +4 -0
  2. package/build/DevCommand-46IDVEZB.js.map +1 -0
  3. package/build/DevCommand-JZHKZEFU.js +4 -0
  4. package/build/DevCommand-JZHKZEFU.js.map +1 -0
  5. package/build/{LoginCommand-NYVD43UK.js → LoginCommand-RISH2J4W.js} +2 -2
  6. package/build/{LogoutCommand-S6XVACQ6.js → LogoutCommand-2IZTG5XL.js} +2 -2
  7. package/build/{WhoamiCommand-HOEXUJGJ.js → WhoamiCommand-NPGL3NUE.js} +2 -2
  8. package/build/{chunk-4BTCJXQC.js → chunk-4QPHCHJW.js} +26 -26
  9. package/build/chunk-4QPHCHJW.js.map +1 -0
  10. package/build/chunk-4TZRQ3QU.js +32 -0
  11. package/build/chunk-4TZRQ3QU.js.map +1 -0
  12. package/build/chunk-5MKTSPKA.js +4 -0
  13. package/build/chunk-5MKTSPKA.js.map +1 -0
  14. package/build/chunk-66OBCXPW.js +4 -0
  15. package/build/chunk-66OBCXPW.js.map +1 -0
  16. package/build/{chunk-SZ35DFLD.js → chunk-6JAOI72Q.js} +2 -2
  17. package/build/chunk-7BQFFAUZ.js +4 -0
  18. package/build/chunk-7BQFFAUZ.js.map +1 -0
  19. package/build/chunk-BMOERFDR.js +4 -0
  20. package/build/chunk-BMOERFDR.js.map +1 -0
  21. package/build/chunk-CHKQFLY7.js +4 -0
  22. package/build/chunk-CHKQFLY7.js.map +1 -0
  23. package/build/{chunk-L434E44T.js → chunk-EF7XRYVI.js} +5 -5
  24. package/build/{chunk-L434E44T.js.map → chunk-EF7XRYVI.js.map} +1 -1
  25. package/build/{chunk-7WD47GXQ.js → chunk-EYG6XDPV.js} +2 -2
  26. package/build/{chunk-X3AOPEF4.js → chunk-GACCQUWO.js} +13 -13
  27. package/build/{chunk-X3AOPEF4.js.map → chunk-GACCQUWO.js.map} +1 -1
  28. package/build/{chunk-JGPN7XZF.js → chunk-GV2I3G6V.js} +2 -2
  29. package/build/{chunk-ZNF7GN55.js → chunk-HFEQOIPO.js} +47 -47
  30. package/build/chunk-HFEQOIPO.js.map +1 -0
  31. package/build/{chunk-J4J4RXMY.js → chunk-HYN4ASGJ.js} +2 -2
  32. package/build/{chunk-J4J4RXMY.js.map → chunk-HYN4ASGJ.js.map} +1 -1
  33. package/build/chunk-IGW62DO3.js +4 -0
  34. package/build/chunk-IGW62DO3.js.map +1 -0
  35. package/build/{chunk-R5TGEMJ4.js → chunk-IJZKXMQR.js} +2 -2
  36. package/build/{chunk-R5TGEMJ4.js.map → chunk-IJZKXMQR.js.map} +1 -1
  37. package/build/chunk-IWNMSC26.js +4 -0
  38. package/build/{chunk-K3QK4XYS.js.map → chunk-IWNMSC26.js.map} +1 -1
  39. package/build/{chunk-WICGWF4N.js → chunk-L3KGS4EW.js} +2 -2
  40. package/build/{chunk-L2PG7C3H.js → chunk-LB5TLBLJ.js} +49 -49
  41. package/build/{chunk-L2PG7C3H.js.map → chunk-LB5TLBLJ.js.map} +1 -1
  42. package/build/chunk-MKPJSE47.js +4 -0
  43. package/build/chunk-MKPJSE47.js.map +1 -0
  44. package/build/{chunk-TCTTRAWM.js → chunk-QR6CA3JS.js} +4 -4
  45. package/build/{chunk-TCTTRAWM.js.map → chunk-QR6CA3JS.js.map} +1 -1
  46. package/build/chunk-RDCDD7PY.js +6 -0
  47. package/build/chunk-RDCDD7PY.js.map +1 -0
  48. package/build/chunk-S36EOI4U.js +4 -0
  49. package/build/chunk-S36EOI4U.js.map +1 -0
  50. package/build/chunk-SACP24AF.js +4 -0
  51. package/build/chunk-SACP24AF.js.map +1 -0
  52. package/build/chunk-T4JL735D.js +4 -0
  53. package/build/chunk-T4JL735D.js.map +1 -0
  54. package/build/chunk-TKKL34KV.js +4 -0
  55. package/build/chunk-TKKL34KV.js.map +1 -0
  56. package/build/chunk-VL5SOKL4.js +4 -0
  57. package/build/chunk-VL5SOKL4.js.map +1 -0
  58. package/build/{chunk-A47ABA7B.js → chunk-X5AJ545J.js} +2 -2
  59. package/build/{chunk-CUZEHDNU.js → chunk-ZKQ4ECXC.js} +2 -2
  60. package/build/chunk-ZKQ4ECXC.js.map +1 -0
  61. package/build/dev-OZ4S4GUU.js +47 -0
  62. package/build/dev-OZ4S4GUU.js.map +1 -0
  63. package/build/index.js +5 -5
  64. package/build/index.js.map +1 -1
  65. package/build/install-4XH2HAZU.js +4 -0
  66. package/build/install-4XH2HAZU.js.map +1 -0
  67. package/build/preview-DJ3YTZFH.js +4 -0
  68. package/build/preview-DJ3YTZFH.js.map +1 -0
  69. package/build/publish-EJJKJ7G3.js +4 -0
  70. package/build/publish-EJJKJ7G3.js.map +1 -0
  71. package/build/render-command-3OMUCLNT.js +4 -0
  72. package/build/render-command-3OMUCLNT.js.map +1 -0
  73. package/build/{render-command-YKD46BVP.js → render-command-72ZACVOW.js} +2 -2
  74. package/build/render-command-JXLZARGV.js +4 -0
  75. package/build/render-command-JXLZARGV.js.map +1 -0
  76. package/build/run-command-DK2LPCQK.js +4 -0
  77. package/build/run-command-DK2LPCQK.js.map +1 -0
  78. package/build/{src-QPWACH3J.js → src-2Z3OBNXW.js} +2 -2
  79. package/build/src-FS2Y3G43.js +4 -0
  80. package/build/{src-TBIN5XRV.js → src-LHL46IXF.js} +2 -2
  81. package/build/src-RULULE6P.js +4 -0
  82. package/build/src-RULULE6P.js.map +1 -0
  83. package/build/{src-7KKODZIY.js → src-SVG7CLZC.js} +2 -2
  84. package/build/{src-IFWA4LD7.js → src-VO7IYGOL.js} +2 -2
  85. package/build/sync-types-5ZCYSP5V.js +4 -0
  86. package/build/uninstall-E4UAQBCF.js +4 -0
  87. package/build/uninstall-E4UAQBCF.js.map +1 -0
  88. package/package.json +2 -2
  89. package/build/DevCommand-74RYZYIJ.js +0 -4
  90. package/build/DevCommand-74RYZYIJ.js.map +0 -1
  91. package/build/DevCommand-LKSQSU4D.js +0 -4
  92. package/build/DevCommand-LKSQSU4D.js.map +0 -1
  93. package/build/chunk-4BTCJXQC.js.map +0 -1
  94. package/build/chunk-4NRHFR7Y.js +0 -4
  95. package/build/chunk-4NRHFR7Y.js.map +0 -1
  96. package/build/chunk-B7EXWRCM.js +0 -4
  97. package/build/chunk-B7EXWRCM.js.map +0 -1
  98. package/build/chunk-CUZEHDNU.js.map +0 -1
  99. package/build/chunk-E7Z3EVGI.js +0 -4
  100. package/build/chunk-E7Z3EVGI.js.map +0 -1
  101. package/build/chunk-EE5EBGQ7.js +0 -4
  102. package/build/chunk-EE5EBGQ7.js.map +0 -1
  103. package/build/chunk-EFB2I2BN.js +0 -32
  104. package/build/chunk-EFB2I2BN.js.map +0 -1
  105. package/build/chunk-FPM2JVPR.js +0 -4
  106. package/build/chunk-FPM2JVPR.js.map +0 -1
  107. package/build/chunk-JYYNYTCQ.js +0 -6
  108. package/build/chunk-JYYNYTCQ.js.map +0 -1
  109. package/build/chunk-K3QK4XYS.js +0 -4
  110. package/build/chunk-KOIVBNZR.js +0 -4
  111. package/build/chunk-KOIVBNZR.js.map +0 -1
  112. package/build/chunk-ZNF7GN55.js.map +0 -1
  113. package/build/dev-D6J7EO7H.js +0 -47
  114. package/build/dev-D6J7EO7H.js.map +0 -1
  115. package/build/install-WHE5Y4BG.js +0 -4
  116. package/build/install-WHE5Y4BG.js.map +0 -1
  117. package/build/preview-ODRKZ7BQ.js +0 -4
  118. package/build/preview-ODRKZ7BQ.js.map +0 -1
  119. package/build/publish-C25WIDKP.js +0 -4
  120. package/build/publish-C25WIDKP.js.map +0 -1
  121. package/build/render-command-7OROM33D.js +0 -4
  122. package/build/render-command-7OROM33D.js.map +0 -1
  123. package/build/render-command-UM6STUPA.js +0 -4
  124. package/build/render-command-UM6STUPA.js.map +0 -1
  125. package/build/run-command-YXYU45I7.js +0 -4
  126. package/build/run-command-YXYU45I7.js.map +0 -1
  127. package/build/src-7O5FMLWB.js +0 -4
  128. package/build/src-CJFU3UWU.js +0 -4
  129. package/build/src-CJFU3UWU.js.map +0 -1
  130. package/build/sync-types-2XUVNMLY.js +0 -4
  131. package/build/uninstall-ZHKKF5EM.js +0 -4
  132. package/build/uninstall-ZHKKF5EM.js.map +0 -1
  133. /package/build/{LoginCommand-NYVD43UK.js.map → LoginCommand-RISH2J4W.js.map} +0 -0
  134. /package/build/{LogoutCommand-S6XVACQ6.js.map → LogoutCommand-2IZTG5XL.js.map} +0 -0
  135. /package/build/{WhoamiCommand-HOEXUJGJ.js.map → WhoamiCommand-NPGL3NUE.js.map} +0 -0
  136. /package/build/{chunk-SZ35DFLD.js.map → chunk-6JAOI72Q.js.map} +0 -0
  137. /package/build/{chunk-7WD47GXQ.js.map → chunk-EYG6XDPV.js.map} +0 -0
  138. /package/build/{chunk-JGPN7XZF.js.map → chunk-GV2I3G6V.js.map} +0 -0
  139. /package/build/{chunk-WICGWF4N.js.map → chunk-L3KGS4EW.js.map} +0 -0
  140. /package/build/{chunk-A47ABA7B.js.map → chunk-X5AJ545J.js.map} +0 -0
  141. /package/build/{render-command-YKD46BVP.js.map → render-command-72ZACVOW.js.map} +0 -0
  142. /package/build/{src-7KKODZIY.js.map → src-2Z3OBNXW.js.map} +0 -0
  143. /package/build/{src-7O5FMLWB.js.map → src-FS2Y3G43.js.map} +0 -0
  144. /package/build/{src-TBIN5XRV.js.map → src-LHL46IXF.js.map} +0 -0
  145. /package/build/{src-QPWACH3J.js.map → src-SVG7CLZC.js.map} +0 -0
  146. /package/build/{src-IFWA4LD7.js.map → src-VO7IYGOL.js.map} +0 -0
  147. /package/build/{sync-types-2XUVNMLY.js.map → sync-types-5ZCYSP5V.js.map} +0 -0
@@ -1,4 +1,4 @@
1
1
  import { createRequire as _createRequire } from 'node:module';
2
2
  const require = _createRequire(import.meta.url);
3
- import{v as o}from"./chunk-4BTCJXQC.js";import{i}from"./chunk-UO4ZAUJK.js";i();var n={"site_dev_command_def.option.https":"Start local dev server on https","site_dev_command_def.description":"Open the Local Editor that runs your local code","site_install_command_def.description":"Install a supported NPM package","site_install_command_def.argument.package":"npm package name","site_install_command_def.option.yarn":"yarn","site_install_command_def.option.npm":"npm","site_preview_command_def.description":"Create a shareable version of your site before going live","site_preview_command_def.option.source":"The location of the source files to use for the preview version","site_publish_command_def.description":"Publish your site to production","site_publish_command_def.option.source":"The location of the source files to use for the published version","site_publish_command_def.option.force":"Skip build errors and proceed with the operation","site_publish_command_def.option.approve_preview":"Approve preview automatically","site_uninstall_command_def.description":"Uninstall an NPM package","site_uninstall_command_def.argument.package":"npm package name","site_uninstall_command_def.option.yarn":"yarn","site_uninstall_command_def.option.npm":"npm","general.aborting":"Aborting...","dev_command.syncing_local_code_start":"Syncing local code files with the Local Editor...","dev_command.syncing_local_code_end":"Local code files were synced with the Local Editor","dev_command.failed_to_delete_types_dir":"Failed to delete types data: {cause}","dev_command.revision_created":"Revision {revision} with the latest Editor changes has been created and saved to {configFileName}.","dev_command.syncing_types_to_revision_start":"Syncing types for your local UI version {revision} to local code files\u2026","dev_command.syncing_types_to_revision_end":"Synced types for your local UI version {revision} to local code files","dev_command.syncing_types_to_revision_fail_line1":"An error occurred while loading extension IDs and types.","dev_command.syncing_types_to_revision_fail_line2":"You can continue developing your site but some error checking and auto-completion will be disabled.","dev_command.syncing_types_to_revision_fail_line3":"We are aware of this problem and are working to correct it. Thanks for your patience.","dev_command.syncing_pages_to_revision_start":"Syncing pages for your local UI version {revision} to local code files\u2026","dev_command.syncing_pages_to_revision_end":"Synced pages for your local UI version {revision} to local code files","dev_command.opening_browser":"Opening the Local Editor","dev_command.dev_server_url.approve_cert":"Please approve the local dev server certificate if it is required.","dev_command.no_open_editor":"There is no Local Editor tab open. Press {key} to reopen the Local Editor or open the following link: {link}","dependencies.dependency_installed":"{dependency} was successfully installed.","dependencies.dependency_uninstalled":"{dependency} successfully uninstalled.","dependencies.installing_dependency":"Installing {dependency}...","dependencies.uninstalling_dependency":"Uninstalling {dependency}...","dependencies.all_dependencies_installed":"Dependencies were successfully installed.","dependencies.installing_all_dependencies":"Installing dependencies...","publish_command.prompt_what_to_publish":"What would you like to publish?","publish_command.prompt_what_to_publish_choice_remote":"Remote - {branchName}","publish_command.prompt_what_to_publish_choice_remote_fallback":"Remote - default branch","publish_command.prompt_what_to_publish_choice_local":"Local code","publish_command.prompt_continue_with_publish":"Continue with publish?","publish_command.prompt_publish_with_error":"Are you sure you want to continue with publish?","publish_command.publishing":"Publishing...","publish_command.published":"Your site has been published successfully: {url}","publish_command.publish_aborted":"Publishing aborted","publish_command.publish_details_preview":"Preview your site before publishing:","publish_command.publish_details_about_to_publish":"You are about to publish:","publish_command.publish_details_ui_version":"UI version: {revision}","publish_command.publish_details_newer_editor_version_caution_title":"Caution","publish_command.publish_details_newer_editor_version_caution_details":"The Editor contains newer design changes. To publish the latest UI changes, cancel this operation, click 'Save' in the local Editor, then run `wix publish` again.","publish_command.publish_details_local_caution_title":"Caution","publish_command.publish_details_local_caution_details":"Publishing from the local working copy might publish code that is uncommitted and not synced with the online editor.","publish_command.publish_details_newer_editor_version_link_text":"Learn more about UI versions","publish_command.publish_details_newer_editor_version_link_url":"https://support.wix.com/en/article/velo-working-with-the-local-editor-early-access#about-ui-versions","publish_command.publish_with_errors_caution_title":"Caution","publish_command.publish_with_errors_caution_details":"Build failed with code errors that will impact your published version.","publish_command.publish_pipeline_error_badge":"[ERROR]","publish_command.publish_pipeline_error_title":"Errors in your site\u2019s code were found while trying to build your custom code. See output below:","publish_command.failed_getting_latest_revision":"Failed to get the latest UI revision, continuing without it. Cause: {cause}","publish_command.deploying":"Deploying your code...","publish_command.generic_task_done":"Done","publish_command.generic_task_failed":"Failed","publish_command.creating_preview":"Creating a preview...","publish_command.creating_preview_success":"Preview created successfully","publish_command.creating_preview_failed":"Creating a preview failed","preview_command.prompt_what_to_preview":"What would you like to preview?","preview_command.prompt_what_to_preview_choice_latest":"Latest commit from {branchName}","preview_command.prompt_what_to_preview_choice_latest_fallback":"Latest commit from the default branch","preview_command.prompt_what_to_preview_choice_local":"Local code","preview_command.creating_preview":"Creating preview deployment...","preview_command.preview_created":"Your preview deployment is now available at {url}","preview_command.preview_unsupported":"Preview for unpublished sites is currently unsupported. Please publish your site first.","preview_command.preview_branch_local_code":"Local code","preview_command.preview_branch_remote":"Remote branch: {branchName}","install_command.migrating_to_any_npm":"We\u2019ve noticed you are using an older package installation flow, we\u2019ll be migrating your project to use the updated one. This change includes moving installed packages from dev dependencies to dependencies and replacing the velo.dependencies.json file with a new wix.lock file","install_command.starting_migrating_to_any_npm":"Stating the migration\u2026",migration_to_any_npm_failed:"Migration failed\nCause: ${cause}","install_command.migration_to_any_npm_success":"Migration completed successfully!"};function r(){let e=o(n);return e.t.bind(e)}export{r as a};
4
- //# sourceMappingURL=chunk-J4J4RXMY.js.map
3
+ import{w as o}from"./chunk-4QPHCHJW.js";import{i}from"./chunk-UO4ZAUJK.js";i();var n={"site_dev_command_def.option.https":"Start local dev server on https","site_dev_command_def.description":"Open the Local Editor that runs your local code","site_install_command_def.description":"Install a supported NPM package","site_install_command_def.argument.package":"npm package name","site_install_command_def.option.yarn":"yarn","site_install_command_def.option.npm":"npm","site_preview_command_def.description":"Create a shareable version of your site before going live","site_preview_command_def.option.source":"The location of the source files to use for the preview version","site_publish_command_def.description":"Publish your site to production","site_publish_command_def.option.source":"The location of the source files to use for the published version","site_publish_command_def.option.force":"Skip build errors and proceed with the operation","site_publish_command_def.option.approve_preview":"Approve preview automatically","site_uninstall_command_def.description":"Uninstall an NPM package","site_uninstall_command_def.argument.package":"npm package name","site_uninstall_command_def.option.yarn":"yarn","site_uninstall_command_def.option.npm":"npm","general.aborting":"Aborting...","dev_command.syncing_local_code_start":"Syncing local code files with the Local Editor...","dev_command.syncing_local_code_end":"Local code files were synced with the Local Editor","dev_command.failed_to_delete_types_dir":"Failed to delete types data: {cause}","dev_command.revision_created":"Revision {revision} with the latest Editor changes has been created and saved to {configFileName}.","dev_command.syncing_types_to_revision_start":"Syncing types for your local UI version {revision} to local code files\u2026","dev_command.syncing_types_to_revision_end":"Synced types for your local UI version {revision} to local code files","dev_command.syncing_types_to_revision_fail_line1":"An error occurred while loading extension IDs and types.","dev_command.syncing_types_to_revision_fail_line2":"You can continue developing your site but some error checking and auto-completion will be disabled.","dev_command.syncing_types_to_revision_fail_line3":"We are aware of this problem and are working to correct it. Thanks for your patience.","dev_command.syncing_pages_to_revision_start":"Syncing pages for your local UI version {revision} to local code files\u2026","dev_command.syncing_pages_to_revision_end":"Synced pages for your local UI version {revision} to local code files","dev_command.opening_browser":"Opening the Local Editor","dev_command.dev_server_url.approve_cert":"Please approve the local dev server certificate if it is required.","dev_command.no_open_editor":"There is no Local Editor tab open. Press {key} to reopen the Local Editor or open the following link: {link}","dependencies.dependency_installed":"{dependency} was successfully installed.","dependencies.dependency_uninstalled":"{dependency} successfully uninstalled.","dependencies.installing_dependency":"Installing {dependency}...","dependencies.uninstalling_dependency":"Uninstalling {dependency}...","dependencies.all_dependencies_installed":"Dependencies were successfully installed.","dependencies.installing_all_dependencies":"Installing dependencies...","publish_command.prompt_what_to_publish":"What would you like to publish?","publish_command.prompt_what_to_publish_choice_remote":"Remote - {branchName}","publish_command.prompt_what_to_publish_choice_remote_fallback":"Remote - default branch","publish_command.prompt_what_to_publish_choice_local":"Local code","publish_command.prompt_continue_with_publish":"Continue with publish?","publish_command.prompt_publish_with_error":"Are you sure you want to continue with publish?","publish_command.publishing":"Publishing...","publish_command.published":"Your site has been published successfully: {url}","publish_command.publish_aborted":"Publishing aborted","publish_command.publish_details_preview":"Preview your site before publishing:","publish_command.publish_details_about_to_publish":"You are about to publish:","publish_command.publish_details_ui_version":"UI version: {revision}","publish_command.publish_details_newer_editor_version_caution_title":"Caution","publish_command.publish_details_newer_editor_version_caution_details":"The Editor contains newer design changes. To publish the latest UI changes, cancel this operation, click 'Save' in the local Editor, then run `wix publish` again.","publish_command.publish_details_local_caution_title":"Caution","publish_command.publish_details_local_caution_details":"Publishing from the local working copy might publish code that is uncommitted and not synced with the online editor.","publish_command.publish_details_newer_editor_version_link_text":"Learn more about UI versions","publish_command.publish_details_newer_editor_version_link_url":"https://support.wix.com/en/article/velo-working-with-the-local-editor-early-access#about-ui-versions","publish_command.publish_with_errors_caution_title":"Caution","publish_command.publish_with_errors_caution_details":"Build failed with code errors that will impact your published version.","publish_command.publish_pipeline_error_badge":"[ERROR]","publish_command.publish_pipeline_error_title":"Errors in your site\u2019s code were found while trying to build your custom code. See output below:","publish_command.failed_getting_latest_revision":"Failed to get the latest UI revision, continuing without it. Cause: {cause}","publish_command.deploying":"Deploying your code...","publish_command.generic_task_done":"Done","publish_command.generic_task_failed":"Failed","publish_command.creating_preview":"Creating a preview...","publish_command.creating_preview_success":"Preview created successfully","publish_command.creating_preview_failed":"Creating a preview failed","preview_command.prompt_what_to_preview":"What would you like to preview?","preview_command.prompt_what_to_preview_choice_latest":"Latest commit from {branchName}","preview_command.prompt_what_to_preview_choice_latest_fallback":"Latest commit from the default branch","preview_command.prompt_what_to_preview_choice_local":"Local code","preview_command.creating_preview":"Creating preview deployment...","preview_command.preview_created":"Your preview deployment is now available at {url}","preview_command.preview_unsupported":"Preview for unpublished sites is currently unsupported. Please publish your site first.","preview_command.preview_branch_local_code":"Local code","preview_command.preview_branch_remote":"Remote branch: {branchName}","install_command.migrating_to_any_npm":"We\u2019ve noticed you are using an older package installation flow, we\u2019ll be migrating your project to use the updated one. This change includes moving installed packages from dev dependencies to dependencies and replacing the velo.dependencies.json file with a new wix.lock file","install_command.starting_migrating_to_any_npm":"Stating the migration\u2026","install_command.migration_to_any_npm_failed":"Migration failed. Cause:","install_command.migration_to_any_npm_success":"Migration completed successfully!"};function _(){let e=o(n);return e.t.bind(e)}export{_ as a};
4
+ //# sourceMappingURL=chunk-HYN4ASGJ.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../cli-site-old/src/i18n.ts","../../cli-site-old/src/messages.json"],"sourcesContent":["import { createI18n as externalCreate } from '@wix/cli-i18n';\nimport messages from './messages.json';\n\nexport function createI18nT() {\n const i18n = externalCreate(messages);\n\n return i18n.t.bind(i18n);\n}\n","{\n \"site_dev_command_def.option.https\": \"Start local dev server on https\",\n \"site_dev_command_def.description\": \"Open the Local Editor that runs your local code\",\n \"site_install_command_def.description\": \"Install a supported NPM package\",\n \"site_install_command_def.argument.package\": \"npm package name\",\n \"site_install_command_def.option.yarn\": \"yarn\",\n \"site_install_command_def.option.npm\": \"npm\",\n \"site_preview_command_def.description\": \"Create a shareable version of your site before going live\",\n \"site_preview_command_def.option.source\": \"The location of the source files to use for the preview version\",\n \"site_publish_command_def.description\": \"Publish your site to production\",\n \"site_publish_command_def.option.source\": \"The location of the source files to use for the published version\",\n \"site_publish_command_def.option.force\": \"Skip build errors and proceed with the operation\",\n \"site_publish_command_def.option.approve_preview\": \"Approve preview automatically\",\n \"site_uninstall_command_def.description\": \"Uninstall an NPM package\",\n \"site_uninstall_command_def.argument.package\": \"npm package name\",\n \"site_uninstall_command_def.option.yarn\": \"yarn\",\n \"site_uninstall_command_def.option.npm\": \"npm\",\n \"general.aborting\": \"Aborting...\",\n \"dev_command.syncing_local_code_start\": \"Syncing local code files with the Local Editor...\",\n \"dev_command.syncing_local_code_end\": \"Local code files were synced with the Local Editor\",\n \"dev_command.failed_to_delete_types_dir\": \"Failed to delete types data: {cause}\",\n \"dev_command.revision_created\": \"Revision {revision} with the latest Editor changes has been created and saved to {configFileName}.\",\n \"dev_command.syncing_types_to_revision_start\": \"Syncing types for your local UI version {revision} to local code files…\",\n \"dev_command.syncing_types_to_revision_end\": \"Synced types for your local UI version {revision} to local code files\",\n \"dev_command.syncing_types_to_revision_fail_line1\": \"An error occurred while loading extension IDs and types.\",\n \"dev_command.syncing_types_to_revision_fail_line2\": \"You can continue developing your site but some error checking and auto-completion will be disabled.\",\n \"dev_command.syncing_types_to_revision_fail_line3\": \"We are aware of this problem and are working to correct it. Thanks for your patience.\",\n \"dev_command.syncing_pages_to_revision_start\": \"Syncing pages for your local UI version {revision} to local code files…\",\n \"dev_command.syncing_pages_to_revision_end\": \"Synced pages for your local UI version {revision} to local code files\",\n \"dev_command.opening_browser\": \"Opening the Local Editor\",\n \"dev_command.dev_server_url.approve_cert\": \"Please approve the local dev server certificate if it is required.\",\n \"dev_command.no_open_editor\": \"There is no Local Editor tab open. Press {key} to reopen the Local Editor or open the following link: {link}\",\n \"dependencies.dependency_installed\": \"{dependency} was successfully installed.\",\n \"dependencies.dependency_uninstalled\": \"{dependency} successfully uninstalled.\",\n \"dependencies.installing_dependency\": \"Installing {dependency}...\",\n \"dependencies.uninstalling_dependency\": \"Uninstalling {dependency}...\",\n \"dependencies.all_dependencies_installed\": \"Dependencies were successfully installed.\",\n \"dependencies.installing_all_dependencies\": \"Installing dependencies...\",\n \"publish_command.prompt_what_to_publish\": \"What would you like to publish?\",\n \"publish_command.prompt_what_to_publish_choice_remote\": \"Remote - {branchName}\",\n \"publish_command.prompt_what_to_publish_choice_remote_fallback\": \"Remote - default branch\",\n \"publish_command.prompt_what_to_publish_choice_local\": \"Local code\",\n \"publish_command.prompt_continue_with_publish\": \"Continue with publish?\",\n \"publish_command.prompt_publish_with_error\": \"Are you sure you want to continue with publish?\",\n \"publish_command.publishing\": \"Publishing...\",\n \"publish_command.published\": \"Your site has been published successfully: {url}\",\n \"publish_command.publish_aborted\": \"Publishing aborted\",\n \"publish_command.publish_details_preview\": \"Preview your site before publishing:\",\n \"publish_command.publish_details_about_to_publish\": \"You are about to publish:\",\n \"publish_command.publish_details_ui_version\": \"UI version: {revision}\",\n \"publish_command.publish_details_newer_editor_version_caution_title\": \"Caution\",\n \"publish_command.publish_details_newer_editor_version_caution_details\": \"The Editor contains newer design changes. To publish the latest UI changes, cancel this operation, click 'Save' in the local Editor, then run `wix publish` again.\",\n \"publish_command.publish_details_local_caution_title\": \"Caution\",\n \"publish_command.publish_details_local_caution_details\": \"Publishing from the local working copy might publish code that is uncommitted and not synced with the online editor.\",\n \"publish_command.publish_details_newer_editor_version_link_text\": \"Learn more about UI versions\",\n \"publish_command.publish_details_newer_editor_version_link_url\": \"https://support.wix.com/en/article/velo-working-with-the-local-editor-early-access#about-ui-versions\",\n \"publish_command.publish_with_errors_caution_title\": \"Caution\",\n \"publish_command.publish_with_errors_caution_details\": \"Build failed with code errors that will impact your published version.\",\n \"publish_command.publish_pipeline_error_badge\": \"[ERROR]\",\n \"publish_command.publish_pipeline_error_title\": \"Errors in your site’s code were found while trying to build your custom code. See output below:\",\n \"publish_command.failed_getting_latest_revision\": \"Failed to get the latest UI revision, continuing without it. Cause: {cause}\",\n \"publish_command.deploying\": \"Deploying your code...\",\n \"publish_command.generic_task_done\": \"Done\",\n \"publish_command.generic_task_failed\": \"Failed\",\n \"publish_command.creating_preview\": \"Creating a preview...\",\n \"publish_command.creating_preview_success\": \"Preview created successfully\",\n \"publish_command.creating_preview_failed\": \"Creating a preview failed\",\n \"preview_command.prompt_what_to_preview\": \"What would you like to preview?\",\n \"preview_command.prompt_what_to_preview_choice_latest\": \"Latest commit from {branchName}\",\n \"preview_command.prompt_what_to_preview_choice_latest_fallback\": \"Latest commit from the default branch\",\n \"preview_command.prompt_what_to_preview_choice_local\": \"Local code\",\n \"preview_command.creating_preview\": \"Creating preview deployment...\",\n \"preview_command.preview_created\": \"Your preview deployment is now available at {url}\",\n \"preview_command.preview_unsupported\": \"Preview for unpublished sites is currently unsupported. Please publish your site first.\",\n \"preview_command.preview_branch_local_code\": \"Local code\",\n \"preview_command.preview_branch_remote\": \"Remote branch: {branchName}\",\n \"install_command.migrating_to_any_npm\": \"We’ve noticed you are using an older package installation flow, we’ll be migrating your project to use the updated one. This change includes moving installed packages from dev dependencies to dependencies and replacing the velo.dependencies.json file with a new wix.lock file\",\n \"install_command.starting_migrating_to_any_npm\": \"Stating the migration…\",\n \"migration_to_any_npm_failed\": \"Migration failed\\nCause: ${cause}\",\n \"install_command.migration_to_any_npm_success\": \"Migration completed successfully!\"\n}\n"],"mappings":";;2EAAAA,ICAA,IAAAC,EAAA,CACE,oCAAqC,kCACrC,mCAAoC,kDACpC,uCAAwC,kCACxC,4CAA6C,mBAC7C,uCAAwC,OACxC,sCAAuC,MACvC,uCAAwC,4DACxC,yCAA0C,kEAC1C,uCAAwC,kCACxC,yCAA0C,oEAC1C,wCAAyC,mDACzC,kDAAmD,gCACnD,yCAA0C,2BAC1C,8CAA+C,mBAC/C,yCAA0C,OAC1C,wCAAyC,MACzC,mBAAoB,cACpB,uCAAwC,oDACxC,qCAAsC,qDACtC,yCAA0C,uCAC1C,+BAAgC,qGAChC,8CAA+C,+EAC/C,4CAA6C,wEAC7C,mDAAoD,2DACpD,mDAAoD,sGACpD,mDAAoD,wFACpD,8CAA+C,+EAC/C,4CAA6C,wEAC7C,8BAA+B,2BAC/B,0CAA2C,qEAC3C,6BAA8B,+GAC9B,oCAAqC,2CACrC,sCAAuC,yCACvC,qCAAsC,6BACtC,uCAAwC,+BACxC,0CAA2C,4CAC3C,2CAA4C,6BAC5C,yCAA0C,kCAC1C,uDAAwD,wBACxD,gEAAiE,0BACjE,sDAAuD,aACvD,+CAAgD,yBAChD,4CAA6C,kDAC7C,6BAA8B,gBAC9B,4BAA6B,mDAC7B,kCAAmC,qBACnC,0CAA2C,uCAC3C,mDAAoD,4BACpD,6CAA8C,yBAC9C,qEAAsE,UACtE,uEAAwE,qKACxE,sDAAuD,UACvD,wDAAyD,uHACzD,iEAAkE,+BAClE,gEAAiE,uGACjE,oDAAqD,UACrD,sDAAuD,yEACvD,+CAAgD,UAChD,+CAAgD,uGAChD,iDAAkD,8EAClD,4BAA6B,yBAC7B,oCAAqC,OACrC,sCAAuC,SACvC,mCAAoC,wBACpC,2CAA4C,+BAC5C,0CAA2C,4BAC3C,yCAA0C,kCAC1C,uDAAwD,kCACxD,gEAAiE,wCACjE,sDAAuD,aACvD,mCAAoC,iCACpC,kCAAmC,oDACnC,sCAAuC,0FACvC,4CAA6C,aAC7C,wCAAyC,8BACzC,uCAAwC,gSACxC,gDAAiD,8BACjD,4BAA+B,oCAC/B,+CAAgD,mCAClD,ED7EO,SAASC,GAAc,CAC5B,IAAMC,EAAOC,EAAeC,CAAQ,EAEpC,OAAOF,EAAK,EAAE,KAAKA,CAAI,CACzB","names":["init_esm_shims","messages_default","createI18nT","i18n","createI18n","messages_default"]}
1
+ {"version":3,"sources":["../../cli-site-old/src/i18n.ts","../../cli-site-old/src/messages.json"],"sourcesContent":["import { createI18n as externalCreate } from '@wix/cli-i18n';\nimport messages from './messages.json';\n\nexport function createI18nT() {\n const i18n = externalCreate(messages);\n\n return i18n.t.bind(i18n);\n}\n","{\n \"site_dev_command_def.option.https\": \"Start local dev server on https\",\n \"site_dev_command_def.description\": \"Open the Local Editor that runs your local code\",\n \"site_install_command_def.description\": \"Install a supported NPM package\",\n \"site_install_command_def.argument.package\": \"npm package name\",\n \"site_install_command_def.option.yarn\": \"yarn\",\n \"site_install_command_def.option.npm\": \"npm\",\n \"site_preview_command_def.description\": \"Create a shareable version of your site before going live\",\n \"site_preview_command_def.option.source\": \"The location of the source files to use for the preview version\",\n \"site_publish_command_def.description\": \"Publish your site to production\",\n \"site_publish_command_def.option.source\": \"The location of the source files to use for the published version\",\n \"site_publish_command_def.option.force\": \"Skip build errors and proceed with the operation\",\n \"site_publish_command_def.option.approve_preview\": \"Approve preview automatically\",\n \"site_uninstall_command_def.description\": \"Uninstall an NPM package\",\n \"site_uninstall_command_def.argument.package\": \"npm package name\",\n \"site_uninstall_command_def.option.yarn\": \"yarn\",\n \"site_uninstall_command_def.option.npm\": \"npm\",\n \"general.aborting\": \"Aborting...\",\n \"dev_command.syncing_local_code_start\": \"Syncing local code files with the Local Editor...\",\n \"dev_command.syncing_local_code_end\": \"Local code files were synced with the Local Editor\",\n \"dev_command.failed_to_delete_types_dir\": \"Failed to delete types data: {cause}\",\n \"dev_command.revision_created\": \"Revision {revision} with the latest Editor changes has been created and saved to {configFileName}.\",\n \"dev_command.syncing_types_to_revision_start\": \"Syncing types for your local UI version {revision} to local code files…\",\n \"dev_command.syncing_types_to_revision_end\": \"Synced types for your local UI version {revision} to local code files\",\n \"dev_command.syncing_types_to_revision_fail_line1\": \"An error occurred while loading extension IDs and types.\",\n \"dev_command.syncing_types_to_revision_fail_line2\": \"You can continue developing your site but some error checking and auto-completion will be disabled.\",\n \"dev_command.syncing_types_to_revision_fail_line3\": \"We are aware of this problem and are working to correct it. Thanks for your patience.\",\n \"dev_command.syncing_pages_to_revision_start\": \"Syncing pages for your local UI version {revision} to local code files…\",\n \"dev_command.syncing_pages_to_revision_end\": \"Synced pages for your local UI version {revision} to local code files\",\n \"dev_command.opening_browser\": \"Opening the Local Editor\",\n \"dev_command.dev_server_url.approve_cert\": \"Please approve the local dev server certificate if it is required.\",\n \"dev_command.no_open_editor\": \"There is no Local Editor tab open. Press {key} to reopen the Local Editor or open the following link: {link}\",\n \"dependencies.dependency_installed\": \"{dependency} was successfully installed.\",\n \"dependencies.dependency_uninstalled\": \"{dependency} successfully uninstalled.\",\n \"dependencies.installing_dependency\": \"Installing {dependency}...\",\n \"dependencies.uninstalling_dependency\": \"Uninstalling {dependency}...\",\n \"dependencies.all_dependencies_installed\": \"Dependencies were successfully installed.\",\n \"dependencies.installing_all_dependencies\": \"Installing dependencies...\",\n \"publish_command.prompt_what_to_publish\": \"What would you like to publish?\",\n \"publish_command.prompt_what_to_publish_choice_remote\": \"Remote - {branchName}\",\n \"publish_command.prompt_what_to_publish_choice_remote_fallback\": \"Remote - default branch\",\n \"publish_command.prompt_what_to_publish_choice_local\": \"Local code\",\n \"publish_command.prompt_continue_with_publish\": \"Continue with publish?\",\n \"publish_command.prompt_publish_with_error\": \"Are you sure you want to continue with publish?\",\n \"publish_command.publishing\": \"Publishing...\",\n \"publish_command.published\": \"Your site has been published successfully: {url}\",\n \"publish_command.publish_aborted\": \"Publishing aborted\",\n \"publish_command.publish_details_preview\": \"Preview your site before publishing:\",\n \"publish_command.publish_details_about_to_publish\": \"You are about to publish:\",\n \"publish_command.publish_details_ui_version\": \"UI version: {revision}\",\n \"publish_command.publish_details_newer_editor_version_caution_title\": \"Caution\",\n \"publish_command.publish_details_newer_editor_version_caution_details\": \"The Editor contains newer design changes. To publish the latest UI changes, cancel this operation, click 'Save' in the local Editor, then run `wix publish` again.\",\n \"publish_command.publish_details_local_caution_title\": \"Caution\",\n \"publish_command.publish_details_local_caution_details\": \"Publishing from the local working copy might publish code that is uncommitted and not synced with the online editor.\",\n \"publish_command.publish_details_newer_editor_version_link_text\": \"Learn more about UI versions\",\n \"publish_command.publish_details_newer_editor_version_link_url\": \"https://support.wix.com/en/article/velo-working-with-the-local-editor-early-access#about-ui-versions\",\n \"publish_command.publish_with_errors_caution_title\": \"Caution\",\n \"publish_command.publish_with_errors_caution_details\": \"Build failed with code errors that will impact your published version.\",\n \"publish_command.publish_pipeline_error_badge\": \"[ERROR]\",\n \"publish_command.publish_pipeline_error_title\": \"Errors in your site’s code were found while trying to build your custom code. See output below:\",\n \"publish_command.failed_getting_latest_revision\": \"Failed to get the latest UI revision, continuing without it. Cause: {cause}\",\n \"publish_command.deploying\": \"Deploying your code...\",\n \"publish_command.generic_task_done\": \"Done\",\n \"publish_command.generic_task_failed\": \"Failed\",\n \"publish_command.creating_preview\": \"Creating a preview...\",\n \"publish_command.creating_preview_success\": \"Preview created successfully\",\n \"publish_command.creating_preview_failed\": \"Creating a preview failed\",\n \"preview_command.prompt_what_to_preview\": \"What would you like to preview?\",\n \"preview_command.prompt_what_to_preview_choice_latest\": \"Latest commit from {branchName}\",\n \"preview_command.prompt_what_to_preview_choice_latest_fallback\": \"Latest commit from the default branch\",\n \"preview_command.prompt_what_to_preview_choice_local\": \"Local code\",\n \"preview_command.creating_preview\": \"Creating preview deployment...\",\n \"preview_command.preview_created\": \"Your preview deployment is now available at {url}\",\n \"preview_command.preview_unsupported\": \"Preview for unpublished sites is currently unsupported. Please publish your site first.\",\n \"preview_command.preview_branch_local_code\": \"Local code\",\n \"preview_command.preview_branch_remote\": \"Remote branch: {branchName}\",\n \"install_command.migrating_to_any_npm\": \"We’ve noticed you are using an older package installation flow, we’ll be migrating your project to use the updated one. This change includes moving installed packages from dev dependencies to dependencies and replacing the velo.dependencies.json file with a new wix.lock file\",\n \"install_command.starting_migrating_to_any_npm\": \"Stating the migration…\",\n \"install_command.migration_to_any_npm_failed\": \"Migration failed. Cause:\",\n \"install_command.migration_to_any_npm_success\": \"Migration completed successfully!\"\n}\n"],"mappings":";;2EAAAA,ICAA,IAAAC,EAAA,CACE,oCAAqC,kCACrC,mCAAoC,kDACpC,uCAAwC,kCACxC,4CAA6C,mBAC7C,uCAAwC,OACxC,sCAAuC,MACvC,uCAAwC,4DACxC,yCAA0C,kEAC1C,uCAAwC,kCACxC,yCAA0C,oEAC1C,wCAAyC,mDACzC,kDAAmD,gCACnD,yCAA0C,2BAC1C,8CAA+C,mBAC/C,yCAA0C,OAC1C,wCAAyC,MACzC,mBAAoB,cACpB,uCAAwC,oDACxC,qCAAsC,qDACtC,yCAA0C,uCAC1C,+BAAgC,qGAChC,8CAA+C,+EAC/C,4CAA6C,wEAC7C,mDAAoD,2DACpD,mDAAoD,sGACpD,mDAAoD,wFACpD,8CAA+C,+EAC/C,4CAA6C,wEAC7C,8BAA+B,2BAC/B,0CAA2C,qEAC3C,6BAA8B,+GAC9B,oCAAqC,2CACrC,sCAAuC,yCACvC,qCAAsC,6BACtC,uCAAwC,+BACxC,0CAA2C,4CAC3C,2CAA4C,6BAC5C,yCAA0C,kCAC1C,uDAAwD,wBACxD,gEAAiE,0BACjE,sDAAuD,aACvD,+CAAgD,yBAChD,4CAA6C,kDAC7C,6BAA8B,gBAC9B,4BAA6B,mDAC7B,kCAAmC,qBACnC,0CAA2C,uCAC3C,mDAAoD,4BACpD,6CAA8C,yBAC9C,qEAAsE,UACtE,uEAAwE,qKACxE,sDAAuD,UACvD,wDAAyD,uHACzD,iEAAkE,+BAClE,gEAAiE,uGACjE,oDAAqD,UACrD,sDAAuD,yEACvD,+CAAgD,UAChD,+CAAgD,uGAChD,iDAAkD,8EAClD,4BAA6B,yBAC7B,oCAAqC,OACrC,sCAAuC,SACvC,mCAAoC,wBACpC,2CAA4C,+BAC5C,0CAA2C,4BAC3C,yCAA0C,kCAC1C,uDAAwD,kCACxD,gEAAiE,wCACjE,sDAAuD,aACvD,mCAAoC,iCACpC,kCAAmC,oDACnC,sCAAuC,0FACvC,4CAA6C,aAC7C,wCAAyC,8BACzC,uCAAwC,gSACxC,gDAAiD,8BACjD,8CAA+C,2BAC/C,+CAAgD,mCAClD,ED7EO,SAASC,GAAc,CAC5B,IAAMC,EAAOC,EAAeC,CAAQ,EAEpC,OAAOF,EAAK,EAAE,KAAKA,CAAI,CACzB","names":["init_esm_shims","messages_default","createI18nT","i18n","createI18n","messages_default"]}
@@ -0,0 +1,4 @@
1
+ import { createRequire as _createRequire } from 'node:module';
2
+ const require = _createRequire(import.meta.url);
3
+ import{a as P}from"./chunk-4QPHCHJW.js";import{e as c,j as d}from"./chunk-L3KGS4EW.js";import{b as l}from"./chunk-VL5SOKL4.js";import{a as n}from"./chunk-ZKQ4ECXC.js";import{c as a,e as s}from"./chunk-QR6CA3JS.js";import{e as u,i as r}from"./chunk-UO4ZAUJK.js";r();var t=u(P(),1);r();r();var f=n.object({siteId:n.string().uuid(),veloAppId:n.string().uuid()});async function p(o){let e=await l(d(o)),i=f.safeParse(e);if(i.success)return i.data;throw new a({code:s.InvalidConfigSchemaError({configPath:c,zodError:i.error}),cause:i.error})}async function F(o){let e=await p(o);return{projectFolder:o,metaSiteId:e.siteId,veloAppId:e.veloAppId}}var m=(0,t.createContext)(null),S=({model:o,children:e})=>t.default.createElement(m.Provider,{value:o},e);function y(){let o=(0,t.useContext)(m);if(o===null)throw new Error("useProjectModel() cannot be used without an <ProjectModelProvider>");return o}export{F as a,S as b,y as c};
4
+ //# sourceMappingURL=chunk-IGW62DO3.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../cli-site-live/src/model.tsx","../../cli-site-live/src/files/wix.config.ts","../../cli-site-live-definitions/src/index.ts"],"sourcesContent":["import React, { createContext, useContext } from 'react';\nimport type { FC, ReactNode } from 'react';\nimport { readWixConfig } from './files/wix.config.js';\n\nexport interface ProjectModel {\n projectFolder: string;\n metaSiteId: string;\n veloAppId: string;\n}\n\nexport async function loadProjectModel(\n projectFolder: string\n): Promise<ProjectModel> {\n const config = await readWixConfig(projectFolder);\n return {\n projectFolder,\n metaSiteId: config.siteId,\n veloAppId: config.veloAppId,\n };\n}\n\nconst ProjectModelContext = createContext<ProjectModel | null>(null);\n\ninterface Props {\n model: ProjectModel;\n children: ReactNode;\n}\n\nexport const ProjectModelProvider: FC<Props> = ({ model, children }) => {\n return (\n <ProjectModelContext.Provider value={model}>\n {children}\n </ProjectModelContext.Provider>\n );\n};\n\nexport function useProjectModel(): ProjectModel {\n const context = useContext(ProjectModelContext);\n if (context === null) {\n throw new Error(\n 'useProjectModel() cannot be used without an <ProjectModelProvider>'\n );\n }\n return context;\n}\n","import {\n WIX_CONFIG_FILENAME,\n getWixConfigFilePath,\n} from '@wix/cli-core-definitions';\nimport { wixConfigSchema } from '@wix/cli-site-live-definitions';\nimport { readJson } from '@wix/cli-fs';\nimport { CliError, CliErrorCode } from '@wix/cli-error';\n\nexport async function readWixConfig(projectFolder: string) {\n const configFile = await readJson(getWixConfigFilePath(projectFolder));\n const config = wixConfigSchema.safeParse(configFile);\n\n if (config.success) {\n return config.data;\n }\n\n throw new CliError({\n code: CliErrorCode.InvalidConfigSchemaError({\n configPath: WIX_CONFIG_FILENAME,\n zodError: config.error,\n }),\n cause: config.error,\n });\n}\n","import { z } from 'zod';\n\nexport const wixConfigSchema = z.object({\n siteId: z.string().uuid(),\n veloAppId: z.string().uuid(),\n});\nexport type WixConfig = z.infer<typeof wixConfigSchema>;\n"],"mappings":";;qQAAAA,IAAA,IAAAC,EAAiD,SCAjDC,ICAAC,IAEO,IAAMC,EAAkBC,EAAE,OAAO,CACtC,OAAQA,EAAE,OAAO,EAAE,KAAK,EACxB,UAAWA,EAAE,OAAO,EAAE,KAAK,CAC7B,CAAC,EDGD,eAAsBC,EAAcC,EAAuB,CACzD,IAAMC,EAAa,MAAMC,EAASC,EAAqBH,CAAa,CAAC,EAC/DI,EAASC,EAAgB,UAAUJ,CAAU,EAEnD,GAAIG,EAAO,QACT,OAAOA,EAAO,KAGhB,MAAM,IAAIE,EAAS,CACjB,KAAMC,EAAa,yBAAyB,CAC1C,WAAYC,EACZ,SAAUJ,EAAO,KACnB,CAAC,EACD,MAAOA,EAAO,KAChB,CAAC,CACH,CDbA,eAAsBK,EACpBC,EACuB,CACvB,IAAMC,EAAS,MAAMC,EAAcF,CAAa,EAChD,MAAO,CACL,cAAAA,EACA,WAAYC,EAAO,OACnB,UAAWA,EAAO,SACpB,CACF,CAEA,IAAME,KAAsB,iBAAmC,IAAI,EAOtDC,EAAkC,CAAC,CAAE,MAAAC,EAAO,SAAAC,CAAS,IAE9D,EAAAC,QAAA,cAACJ,EAAoB,SAApB,CAA6B,MAAOE,GAClCC,CACH,EAIG,SAASE,GAAgC,CAC9C,IAAMC,KAAU,cAAWN,CAAmB,EAC9C,GAAIM,IAAY,KACd,MAAM,IAAI,MACR,oEACF,EAEF,OAAOA,CACT","names":["init_esm_shims","import_react","init_esm_shims","init_esm_shims","wixConfigSchema","z","readWixConfig","projectFolder","configFile","readJson","getWixConfigFilePath","config","wixConfigSchema","CliError","CliErrorCode","WIX_CONFIG_FILENAME","loadProjectModel","projectFolder","config","readWixConfig","ProjectModelContext","ProjectModelProvider","model","children","React","useProjectModel","context"]}
@@ -1,4 +1,4 @@
1
1
  import { createRequire as _createRequire } from 'node:module';
2
2
  const require = _createRequire(import.meta.url);
3
- import{b as a,c as n}from"./chunk-JGPN7XZF.js";import{m as c}from"./chunk-TLPEI3DE.js";import{g as s}from"./chunk-TCTTRAWM.js";import{i as t}from"./chunk-UO4ZAUJK.js";var l="1.1.52";var d={name:"@wix/cli",description:"CLI tool for building Wix sites and applications",version:l,bin:{wix:"bin/wix.cjs"},dependencies:{"node-gyp":"^8.4.1"},devDependencies:{"@commander-js/extra-typings":"^12.1.0","@types/columnify":"^1.5.4","@types/react":"^18.3.3","@types/update-notifier":"^6.0.8","@wix/bi-logger-wix-cli":"^1.44.0","@wix/cli-auth":"workspace:*","@wix/cli-command-contract":"workspace:*","@wix/cli-core-definitions":"workspace:*","@wix/cli-debug-log":"workspace:*","@wix/cli-error":"workspace:*","@wix/cli-error-reporting":"workspace:*","@wix/cli-fs":"workspace:*","@wix/cli-fs-cache":"workspace:*","@wix/cli-i18n":"workspace:*","@wix/cli-logger":"workspace:*","@wix/cli-site":"workspace:*","@wix/cli-site-live":"workspace:*","@wix/cli-site-old":"workspace:*","@wix/cli-telemetry":"workspace:*","@wix/cli-telemetry-react":"workspace:*","@wix/cli-test-overrides":"workspace:*","@wix/cli-ui-kit":"workspace:*","@wix/cli-user-config":"workspace:*","@wix/tsup-configs":"workspace:*",chalk:"^5.3.0",columnify:"^1.6.0",commander:"^12.1.0","p-timeout":"^6.1.2","package-json":"^8.1.1",react:"^18.3.1",semver:"^7.6.2","type-fest":"^4.18.1","update-notifier":"^7.0.0",variant:"^3.0.0-dev.27",zod:"^3.23.8"},engines:{node:">= 18.16"},files:["bin","build"],optionalDependencies:{fsevents:"^2.3.2"},perfer:{bundleSize:{files:[{glob:"./build/index.js",maxSize:"925kb"}]}},publishConfig:{registry:"https://registry.npmjs.org/",access:"public",versionBumpStrategy:"manual",logLevel:"verbose"},scripts:{build:"run -T tsup","build:watch":"run -T build:watch --filter='@wix/cli'",test:"yarn workspace @wix/cli-core-spec run test","test:watch":"yarn workspace @wix/cli-core-spec run test:watch",typecheck:"run -T tsc --noEmit"},type:"module",wix:{artifact:{groupId:"com.wixpress.npm",artifactId:"wix-cli"},validations:{postBuild:["typecheck"]}}};t();import{randomUUID as w}from"node:crypto";var b=async(e,r)=>{let o=await a({cliSessionId:w()},r);return e.on("errorReported",i=>{o.report(c({errorMessage:i.message,errorType:s(i)?"SystemError":"UserError",errorName:i.name}))}),{biLogger:o}},v=(e,r)=>n({biLogger:e,command:r,cliVersion:l,flow:null});export{l as a,d as b,b as c,v as d};
4
- //# sourceMappingURL=chunk-R5TGEMJ4.js.map
3
+ import{b as a,c as n}from"./chunk-GV2I3G6V.js";import{m as c}from"./chunk-TLPEI3DE.js";import{g as s}from"./chunk-QR6CA3JS.js";import{i as t}from"./chunk-UO4ZAUJK.js";var l="1.1.53";var d={name:"@wix/cli",description:"CLI tool for building Wix sites and applications",version:l,bin:{wix:"bin/wix.cjs"},dependencies:{"node-gyp":"^8.4.1"},devDependencies:{"@commander-js/extra-typings":"^12.1.0","@types/columnify":"^1.5.4","@types/react":"^18.3.3","@types/update-notifier":"^6.0.8","@wix/bi-logger-wix-cli":"^1.44.0","@wix/cli-auth":"workspace:*","@wix/cli-command-contract":"workspace:*","@wix/cli-core-definitions":"workspace:*","@wix/cli-debug-log":"workspace:*","@wix/cli-error":"workspace:*","@wix/cli-error-reporting":"workspace:*","@wix/cli-fs":"workspace:*","@wix/cli-fs-cache":"workspace:*","@wix/cli-i18n":"workspace:*","@wix/cli-logger":"workspace:*","@wix/cli-site":"workspace:*","@wix/cli-site-live":"workspace:*","@wix/cli-site-old":"workspace:*","@wix/cli-telemetry":"workspace:*","@wix/cli-telemetry-react":"workspace:*","@wix/cli-test-overrides":"workspace:*","@wix/cli-ui-kit":"workspace:*","@wix/cli-user-config":"workspace:*","@wix/tsup-configs":"workspace:*",chalk:"^5.3.0",columnify:"^1.6.0",commander:"^12.1.0","p-timeout":"^6.1.2","package-json":"^8.1.1",react:"^18.3.1",semver:"^7.6.2","type-fest":"^4.18.1","update-notifier":"^7.0.0",variant:"^3.0.0-dev.27",zod:"^3.23.8"},engines:{node:">= 18.16"},files:["bin","build"],optionalDependencies:{fsevents:"^2.3.2"},perfer:{bundleSize:{files:[{glob:"./build/index.js",maxSize:"925kb"}]}},publishConfig:{registry:"https://registry.npmjs.org/",access:"public",versionBumpStrategy:"manual",logLevel:"verbose"},scripts:{build:"run -T tsup","build:watch":"run -T build:watch --filter='@wix/cli'",test:"yarn workspace @wix/cli-core-spec run test","test:watch":"yarn workspace @wix/cli-core-spec run test:watch",typecheck:"run -T tsc --noEmit"},type:"module",wix:{artifact:{groupId:"com.wixpress.npm",artifactId:"wix-cli"},validations:{postBuild:["typecheck"]}}};t();import{randomUUID as w}from"node:crypto";var b=async(e,r)=>{let o=await a({cliSessionId:w()},r);return e.on("errorReported",i=>{o.report(c({errorMessage:i.message,errorType:s(i)?"SystemError":"UserError",errorName:i.name}))}),{biLogger:o}},v=(e,r)=>n({biLogger:e,command:r,cliVersion:l,flow:null});export{l as a,d as b,b as c,v as d};
4
+ //# sourceMappingURL=chunk-IJZKXMQR.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../package.json","../src/bi.ts"],"sourcesContent":["{\n \"name\": \"@wix/cli\",\n \"description\": \"CLI tool for building Wix sites and applications\",\n \"version\": \"1.1.52\",\n \"bin\": {\n \"wix\": \"bin/wix.cjs\"\n },\n \"dependencies\": {\n \"node-gyp\": \"^8.4.1\"\n },\n \"devDependencies\": {\n \"@commander-js/extra-typings\": \"^12.1.0\",\n \"@types/columnify\": \"^1.5.4\",\n \"@types/react\": \"^18.3.3\",\n \"@types/update-notifier\": \"^6.0.8\",\n \"@wix/bi-logger-wix-cli\": \"^1.44.0\",\n \"@wix/cli-auth\": \"workspace:*\",\n \"@wix/cli-command-contract\": \"workspace:*\",\n \"@wix/cli-core-definitions\": \"workspace:*\",\n \"@wix/cli-debug-log\": \"workspace:*\",\n \"@wix/cli-error\": \"workspace:*\",\n \"@wix/cli-error-reporting\": \"workspace:*\",\n \"@wix/cli-fs\": \"workspace:*\",\n \"@wix/cli-fs-cache\": \"workspace:*\",\n \"@wix/cli-i18n\": \"workspace:*\",\n \"@wix/cli-logger\": \"workspace:*\",\n \"@wix/cli-site\": \"workspace:*\",\n \"@wix/cli-site-live\": \"workspace:*\",\n \"@wix/cli-site-old\": \"workspace:*\",\n \"@wix/cli-telemetry\": \"workspace:*\",\n \"@wix/cli-telemetry-react\": \"workspace:*\",\n \"@wix/cli-test-overrides\": \"workspace:*\",\n \"@wix/cli-ui-kit\": \"workspace:*\",\n \"@wix/cli-user-config\": \"workspace:*\",\n \"@wix/tsup-configs\": \"workspace:*\",\n \"chalk\": \"^5.3.0\",\n \"columnify\": \"^1.6.0\",\n \"commander\": \"^12.1.0\",\n \"p-timeout\": \"^6.1.2\",\n \"package-json\": \"^8.1.1\",\n \"react\": \"^18.3.1\",\n \"semver\": \"^7.6.2\",\n \"type-fest\": \"^4.18.1\",\n \"update-notifier\": \"^7.0.0\",\n \"variant\": \"^3.0.0-dev.27\",\n \"zod\": \"^3.23.8\"\n },\n \"engines\": {\n \"node\": \">= 18.16\"\n },\n \"files\": [\n \"bin\",\n \"build\"\n ],\n \"optionalDependencies\": {\n \"fsevents\": \"^2.3.2\"\n },\n \"perfer\": {\n \"bundleSize\": {\n \"files\": [\n {\n \"glob\": \"./build/index.js\",\n \"maxSize\": \"925kb\"\n }\n ]\n }\n },\n \"publishConfig\": {\n \"registry\": \"https://registry.npmjs.org/\",\n \"access\": \"public\",\n \"versionBumpStrategy\": \"manual\",\n \"logLevel\": \"verbose\"\n },\n \"scripts\": {\n \"build\": \"run -T tsup\",\n \"build:watch\": \"run -T build:watch --filter='@wix/cli'\",\n \"test\": \"yarn workspace @wix/cli-core-spec run test\",\n \"test:watch\": \"yarn workspace @wix/cli-core-spec run test:watch\",\n \"typecheck\": \"run -T tsc --noEmit\"\n },\n \"type\": \"module\",\n \"wix\": {\n \"artifact\": {\n \"groupId\": \"com.wixpress.npm\",\n \"artifactId\": \"wix-cli\"\n },\n \"validations\": {\n \"postBuild\": [\n \"typecheck\"\n ]\n }\n }\n}\n","import { randomUUID } from 'node:crypto';\nimport type { BiLogger } from '@wix/cli-telemetry';\nimport {\n createBiLogger as createCliBiLogger,\n reportCommandStartEvent as originalReportCommandStartEvent,\n} from '@wix/cli-telemetry';\nimport { isCliSystemError } from '@wix/cli-error';\nimport type { ErrorReporter } from '@wix/cli-error-reporting';\nimport { wixCliCliError } from '@wix/bi-logger-wix-cli/v2';\nimport type { Command } from '@commander-js/extra-typings';\nimport { version } from '../package.json';\n\nexport { addUserFields } from '@wix/cli-telemetry';\n\nexport const createBiLogger = async (\n errorReporter: ErrorReporter,\n userId?: string\n) => {\n const biLogger = await createCliBiLogger(\n {\n cliSessionId: randomUUID(),\n },\n userId\n );\n\n errorReporter.on('errorReported', (error) => {\n void biLogger.report(\n wixCliCliError({\n errorMessage: error.message,\n errorType: isCliSystemError(error) ? 'SystemError' : 'UserError',\n errorName: error.name,\n })\n );\n });\n\n return {\n biLogger,\n };\n};\n\nexport const reportCommandStartEvent = (\n biLogger: BiLogger,\n command: Command<unknown[]>\n) => {\n return originalReportCommandStartEvent({\n biLogger,\n command,\n cliVersion: version,\n flow: null,\n });\n};\n"],"mappings":";;uKAGE,IAAAA,EAAW,SAHb,IAAAC,EAAA,CACE,KAAQ,WACR,YAAe,mDACf,QAAAC,EACA,IAAO,CACL,IAAO,aACT,EACA,aAAgB,CACd,WAAY,QACd,EACA,gBAAmB,CACjB,8BAA+B,UAC/B,mBAAoB,SACpB,eAAgB,UAChB,yBAA0B,SAC1B,yBAA0B,UAC1B,gBAAiB,cACjB,4BAA6B,cAC7B,4BAA6B,cAC7B,qBAAsB,cACtB,iBAAkB,cAClB,2BAA4B,cAC5B,cAAe,cACf,oBAAqB,cACrB,gBAAiB,cACjB,kBAAmB,cACnB,gBAAiB,cACjB,qBAAsB,cACtB,oBAAqB,cACrB,qBAAsB,cACtB,2BAA4B,cAC5B,0BAA2B,cAC3B,kBAAmB,cACnB,uBAAwB,cACxB,oBAAqB,cACrB,MAAS,SACT,UAAa,SACb,UAAa,UACb,YAAa,SACb,eAAgB,SAChB,MAAS,UACT,OAAU,SACV,YAAa,UACb,kBAAmB,SACnB,QAAW,gBACX,IAAO,SACT,EACA,QAAW,CACT,KAAQ,UACV,EACA,MAAS,CACP,MACA,OACF,EACA,qBAAwB,CACtB,SAAY,QACd,EACA,OAAU,CACR,WAAc,CACZ,MAAS,CACP,CACE,KAAQ,mBACR,QAAW,OACb,CACF,CACF,CACF,EACA,cAAiB,CACf,SAAY,8BACZ,OAAU,SACV,oBAAuB,SACvB,SAAY,SACd,EACA,QAAW,CACT,MAAS,cACT,cAAe,yCACf,KAAQ,6CACR,aAAc,mDACd,UAAa,qBACf,EACA,KAAQ,SACR,IAAO,CACL,SAAY,CACV,QAAW,mBACX,WAAc,SAChB,EACA,YAAe,CACb,UAAa,CACX,WACF,CACF,CACF,CACF,EC5FAC,IAAA,OAAS,cAAAC,MAAkB,cAcpB,IAAMC,EAAiB,MAC5BC,EACAC,IACG,CACH,IAAMC,EAAW,MAAMH,EACrB,CACE,aAAcI,EAAW,CAC3B,EACAF,CACF,EAEA,OAAAD,EAAc,GAAG,gBAAkBI,GAAU,CACtCF,EAAS,OACZG,EAAe,CACb,aAAcD,EAAM,QACpB,UAAWE,EAAiBF,CAAK,EAAI,cAAgB,YACrD,UAAWA,EAAM,IACnB,CAAC,CACH,CACF,CAAC,EAEM,CACL,SAAAF,CACF,CACF,EAEaK,EAA0B,CACrCL,EACAM,IAEOD,EAAgC,CACrC,SAAAL,EACA,QAAAM,EACA,WAAYC,EACZ,KAAM,IACR,CAAC","names":["version","package_default","version","init_esm_shims","randomUUID","createBiLogger","errorReporter","userId","biLogger","randomUUID","error","wixCliCliError","isCliSystemError","reportCommandStartEvent","command","version"]}
1
+ {"version":3,"sources":["../package.json","../src/bi.ts"],"sourcesContent":["{\n \"name\": \"@wix/cli\",\n \"description\": \"CLI tool for building Wix sites and applications\",\n \"version\": \"1.1.53\",\n \"bin\": {\n \"wix\": \"bin/wix.cjs\"\n },\n \"dependencies\": {\n \"node-gyp\": \"^8.4.1\"\n },\n \"devDependencies\": {\n \"@commander-js/extra-typings\": \"^12.1.0\",\n \"@types/columnify\": \"^1.5.4\",\n \"@types/react\": \"^18.3.3\",\n \"@types/update-notifier\": \"^6.0.8\",\n \"@wix/bi-logger-wix-cli\": \"^1.44.0\",\n \"@wix/cli-auth\": \"workspace:*\",\n \"@wix/cli-command-contract\": \"workspace:*\",\n \"@wix/cli-core-definitions\": \"workspace:*\",\n \"@wix/cli-debug-log\": \"workspace:*\",\n \"@wix/cli-error\": \"workspace:*\",\n \"@wix/cli-error-reporting\": \"workspace:*\",\n \"@wix/cli-fs\": \"workspace:*\",\n \"@wix/cli-fs-cache\": \"workspace:*\",\n \"@wix/cli-i18n\": \"workspace:*\",\n \"@wix/cli-logger\": \"workspace:*\",\n \"@wix/cli-site\": \"workspace:*\",\n \"@wix/cli-site-live\": \"workspace:*\",\n \"@wix/cli-site-old\": \"workspace:*\",\n \"@wix/cli-telemetry\": \"workspace:*\",\n \"@wix/cli-telemetry-react\": \"workspace:*\",\n \"@wix/cli-test-overrides\": \"workspace:*\",\n \"@wix/cli-ui-kit\": \"workspace:*\",\n \"@wix/cli-user-config\": \"workspace:*\",\n \"@wix/tsup-configs\": \"workspace:*\",\n \"chalk\": \"^5.3.0\",\n \"columnify\": \"^1.6.0\",\n \"commander\": \"^12.1.0\",\n \"p-timeout\": \"^6.1.2\",\n \"package-json\": \"^8.1.1\",\n \"react\": \"^18.3.1\",\n \"semver\": \"^7.6.2\",\n \"type-fest\": \"^4.18.1\",\n \"update-notifier\": \"^7.0.0\",\n \"variant\": \"^3.0.0-dev.27\",\n \"zod\": \"^3.23.8\"\n },\n \"engines\": {\n \"node\": \">= 18.16\"\n },\n \"files\": [\n \"bin\",\n \"build\"\n ],\n \"optionalDependencies\": {\n \"fsevents\": \"^2.3.2\"\n },\n \"perfer\": {\n \"bundleSize\": {\n \"files\": [\n {\n \"glob\": \"./build/index.js\",\n \"maxSize\": \"925kb\"\n }\n ]\n }\n },\n \"publishConfig\": {\n \"registry\": \"https://registry.npmjs.org/\",\n \"access\": \"public\",\n \"versionBumpStrategy\": \"manual\",\n \"logLevel\": \"verbose\"\n },\n \"scripts\": {\n \"build\": \"run -T tsup\",\n \"build:watch\": \"run -T build:watch --filter='@wix/cli'\",\n \"test\": \"yarn workspace @wix/cli-core-spec run test\",\n \"test:watch\": \"yarn workspace @wix/cli-core-spec run test:watch\",\n \"typecheck\": \"run -T tsc --noEmit\"\n },\n \"type\": \"module\",\n \"wix\": {\n \"artifact\": {\n \"groupId\": \"com.wixpress.npm\",\n \"artifactId\": \"wix-cli\"\n },\n \"validations\": {\n \"postBuild\": [\n \"typecheck\"\n ]\n }\n }\n}\n","import { randomUUID } from 'node:crypto';\nimport type { BiLogger } from '@wix/cli-telemetry';\nimport {\n createBiLogger as createCliBiLogger,\n reportCommandStartEvent as originalReportCommandStartEvent,\n} from '@wix/cli-telemetry';\nimport { isCliSystemError } from '@wix/cli-error';\nimport type { ErrorReporter } from '@wix/cli-error-reporting';\nimport { wixCliCliError } from '@wix/bi-logger-wix-cli/v2';\nimport type { Command } from '@commander-js/extra-typings';\nimport { version } from '../package.json';\n\nexport { addUserFields } from '@wix/cli-telemetry';\n\nexport const createBiLogger = async (\n errorReporter: ErrorReporter,\n userId?: string\n) => {\n const biLogger = await createCliBiLogger(\n {\n cliSessionId: randomUUID(),\n },\n userId\n );\n\n errorReporter.on('errorReported', (error) => {\n void biLogger.report(\n wixCliCliError({\n errorMessage: error.message,\n errorType: isCliSystemError(error) ? 'SystemError' : 'UserError',\n errorName: error.name,\n })\n );\n });\n\n return {\n biLogger,\n };\n};\n\nexport const reportCommandStartEvent = (\n biLogger: BiLogger,\n command: Command<unknown[]>\n) => {\n return originalReportCommandStartEvent({\n biLogger,\n command,\n cliVersion: version,\n flow: null,\n });\n};\n"],"mappings":";;uKAGE,IAAAA,EAAW,SAHb,IAAAC,EAAA,CACE,KAAQ,WACR,YAAe,mDACf,QAAAC,EACA,IAAO,CACL,IAAO,aACT,EACA,aAAgB,CACd,WAAY,QACd,EACA,gBAAmB,CACjB,8BAA+B,UAC/B,mBAAoB,SACpB,eAAgB,UAChB,yBAA0B,SAC1B,yBAA0B,UAC1B,gBAAiB,cACjB,4BAA6B,cAC7B,4BAA6B,cAC7B,qBAAsB,cACtB,iBAAkB,cAClB,2BAA4B,cAC5B,cAAe,cACf,oBAAqB,cACrB,gBAAiB,cACjB,kBAAmB,cACnB,gBAAiB,cACjB,qBAAsB,cACtB,oBAAqB,cACrB,qBAAsB,cACtB,2BAA4B,cAC5B,0BAA2B,cAC3B,kBAAmB,cACnB,uBAAwB,cACxB,oBAAqB,cACrB,MAAS,SACT,UAAa,SACb,UAAa,UACb,YAAa,SACb,eAAgB,SAChB,MAAS,UACT,OAAU,SACV,YAAa,UACb,kBAAmB,SACnB,QAAW,gBACX,IAAO,SACT,EACA,QAAW,CACT,KAAQ,UACV,EACA,MAAS,CACP,MACA,OACF,EACA,qBAAwB,CACtB,SAAY,QACd,EACA,OAAU,CACR,WAAc,CACZ,MAAS,CACP,CACE,KAAQ,mBACR,QAAW,OACb,CACF,CACF,CACF,EACA,cAAiB,CACf,SAAY,8BACZ,OAAU,SACV,oBAAuB,SACvB,SAAY,SACd,EACA,QAAW,CACT,MAAS,cACT,cAAe,yCACf,KAAQ,6CACR,aAAc,mDACd,UAAa,qBACf,EACA,KAAQ,SACR,IAAO,CACL,SAAY,CACV,QAAW,mBACX,WAAc,SAChB,EACA,YAAe,CACb,UAAa,CACX,WACF,CACF,CACF,CACF,EC5FAC,IAAA,OAAS,cAAAC,MAAkB,cAcpB,IAAMC,EAAiB,MAC5BC,EACAC,IACG,CACH,IAAMC,EAAW,MAAMH,EACrB,CACE,aAAcI,EAAW,CAC3B,EACAF,CACF,EAEA,OAAAD,EAAc,GAAG,gBAAkBI,GAAU,CACtCF,EAAS,OACZG,EAAe,CACb,aAAcD,EAAM,QACpB,UAAWE,EAAiBF,CAAK,EAAI,cAAgB,YACrD,UAAWA,EAAM,IACnB,CAAC,CACH,CACF,CAAC,EAEM,CACL,SAAAF,CACF,CACF,EAEaK,EAA0B,CACrCL,EACAM,IAEOD,EAAgC,CACrC,SAAAL,EACA,QAAAM,EACA,WAAYC,EACZ,KAAM,IACR,CAAC","names":["version","package_default","version","init_esm_shims","randomUUID","createBiLogger","errorReporter","userId","biLogger","randomUUID","error","wixCliCliError","isCliSystemError","reportCommandStartEvent","command","version"]}
@@ -0,0 +1,4 @@
1
+ import { createRequire as _createRequire } from 'node:module';
2
+ const require = _createRequire(import.meta.url);
3
+ import{h as n,i as r}from"./chunk-L3KGS4EW.js";import{a as e,b as s,c as a,f}from"./chunk-VL5SOKL4.js";import{i as t}from"./chunk-UO4ZAUJK.js";t();t();import{join as p}from"node:path";function c(){return p(f(),n)}async function C(){let o=c(),i=await a(o)?await s(o):{};return r.parse(i)}async function E(o){let i={...await C(),...o},m=c();await e(m,i)}export{C as a,E as b};
4
+ //# sourceMappingURL=chunk-IWNMSC26.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../cli-user-config/src/index.ts","../../cli-user-config/src/user-config.ts"],"sourcesContent":["export * from './user-config.js';\n","import { join } from 'node:path';\nimport { getDataDirPath } from '@wix/cli-data-dir';\nimport { pathExists, readJson, writeJson } from '@wix/cli-fs';\nimport {\n userConfigSchema,\n USER_CONFIG_FILENAME,\n} from '@wix/cli-core-definitions';\nimport type { UserConfig } from '@wix/cli-core-definitions';\n\nfunction getUserConfigPath() {\n return join(getDataDirPath(), USER_CONFIG_FILENAME);\n}\n\nexport async function readUserConfig() {\n const configPath = getUserConfigPath();\n const isConfigExist = await pathExists(configPath);\n const json = isConfigExist ? await readJson(configPath) : {};\n return userConfigSchema.parse(json);\n}\n\nexport async function updateUserConfig(config: Partial<UserConfig>) {\n const currentConfig = await readUserConfig();\n const newConfig = {\n ...currentConfig,\n ...config,\n };\n\n const configPath = getUserConfigPath();\n await writeJson(configPath, newConfig);\n}\n"],"mappings":";;oJAAAA,ICAAC,IAAA,OAAS,QAAAC,MAAY,YASrB,SAASC,GAAoB,CAC3B,OAAOC,EAAKC,EAAe,EAAGC,CAAoB,CACpD,CAEA,eAAsBC,GAAiB,CACrC,IAAMC,EAAaL,EAAkB,EAE/BM,EADgB,MAAMC,EAAWF,CAAU,EACpB,MAAMG,EAASH,CAAU,EAAI,CAAC,EAC3D,OAAOI,EAAiB,MAAMH,CAAI,CACpC,CAEA,eAAsBI,EAAiBC,EAA6B,CAElE,IAAMC,EAAY,CAChB,GAFoB,MAAMR,EAAe,EAGzC,GAAGO,CACL,EAEMN,EAAaL,EAAkB,EACrC,MAAMa,EAAUR,EAAYO,CAAS,CACvC","names":["init_esm_shims","init_esm_shims","join","getUserConfigPath","join","getDataDirPath","USER_CONFIG_FILENAME","readUserConfig","configPath","json","pathExists","readJson","userConfigSchema","updateUserConfig","config","newConfig","writeJson"]}
1
+ {"version":3,"sources":["../../cli-user-config/src/index.ts","../../cli-user-config/src/user-config.ts"],"sourcesContent":["export * from './user-config.js';\n","import { join } from 'node:path';\nimport { getDataDirPath } from '@wix/cli-data-dir';\nimport { pathExists, readJson, writeJson } from '@wix/cli-fs';\nimport {\n userConfigSchema,\n USER_CONFIG_FILENAME,\n} from '@wix/cli-core-definitions';\nimport type { UserConfig } from '@wix/cli-core-definitions';\n\nfunction getUserConfigPath() {\n return join(getDataDirPath(), USER_CONFIG_FILENAME);\n}\n\nexport async function readUserConfig() {\n const configPath = getUserConfigPath();\n const isConfigExist = await pathExists(configPath);\n const json = isConfigExist ? await readJson(configPath) : {};\n return userConfigSchema.parse(json);\n}\n\nexport async function updateUserConfig(config: Partial<UserConfig>) {\n const currentConfig = await readUserConfig();\n const newConfig = {\n ...currentConfig,\n ...config,\n };\n\n const configPath = getUserConfigPath();\n await writeJson(configPath, newConfig);\n}\n"],"mappings":";;+IAAAA,ICAAC,IAAA,OAAS,QAAAC,MAAY,YASrB,SAASC,GAAoB,CAC3B,OAAOC,EAAKC,EAAe,EAAGC,CAAoB,CACpD,CAEA,eAAsBC,GAAiB,CACrC,IAAMC,EAAaL,EAAkB,EAE/BM,EADgB,MAAMC,EAAWF,CAAU,EACpB,MAAMG,EAASH,CAAU,EAAI,CAAC,EAC3D,OAAOI,EAAiB,MAAMH,CAAI,CACpC,CAEA,eAAsBI,EAAiBC,EAA6B,CAElE,IAAMC,EAAY,CAChB,GAFoB,MAAMR,EAAe,EAGzC,GAAGO,CACL,EAEMN,EAAaL,EAAkB,EACrC,MAAMa,EAAUR,EAAYO,CAAS,CACvC","names":["init_esm_shims","init_esm_shims","join","getUserConfigPath","join","getDataDirPath","USER_CONFIG_FILENAME","readUserConfig","configPath","json","pathExists","readJson","userConfigSchema","updateUserConfig","config","newConfig","writeJson"]}
@@ -1,4 +1,4 @@
1
1
  import { createRequire as _createRequire } from 'node:module';
2
2
  const require = _createRequire(import.meta.url);
3
- import{a as n}from"./chunk-CUZEHDNU.js";import{i as t}from"./chunk-UO4ZAUJK.js";t();import{join as i}from"node:path";t();import{join as o}from"node:path";function r(e=""){return o(e,".wix")}function a(e){return o(r(e),"types")}function c(e){return o(e,"src")}function f(e=""){return o(c(e),"pages")}var b="https://d15bb47ad34c428f92d0ac434a5734eb@o37417.ingest.sentry.io/4504116669317120",g="wix.config.json",x="wix.lock",j="version.cache.json",C="user.config.json",E=n.object({telemetry:n.boolean().default(!0),tunneling:n.boolean().default(!1)});function h(e){return i(e,g)}function m(e){return i(r(e),"debug.log")}function I(e){return i(r(e),"user-feedback.cache.json")}export{a,c as b,f as c,b as d,g as e,x as f,j as g,C as h,E as i,h as j,m as k,I as l};
4
- //# sourceMappingURL=chunk-WICGWF4N.js.map
3
+ import{a as n}from"./chunk-ZKQ4ECXC.js";import{i as t}from"./chunk-UO4ZAUJK.js";t();import{join as i}from"node:path";t();import{join as o}from"node:path";function r(e=""){return o(e,".wix")}function a(e){return o(r(e),"types")}function c(e){return o(e,"src")}function f(e=""){return o(c(e),"pages")}var b="https://d15bb47ad34c428f92d0ac434a5734eb@o37417.ingest.sentry.io/4504116669317120",g="wix.config.json",x="wix.lock",j="version.cache.json",C="user.config.json",E=n.object({telemetry:n.boolean().default(!0),tunneling:n.boolean().default(!1)});function h(e){return i(e,g)}function m(e){return i(r(e),"debug.log")}function I(e){return i(r(e),"user-feedback.cache.json")}export{a,c as b,f as c,b as d,g as e,x as f,j as g,C as h,E as i,h as j,m as k,I as l};
4
+ //# sourceMappingURL=chunk-L3KGS4EW.js.map