@wix/cli-app 1.1.50 → 1.1.52

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 (96) hide show
  1. package/build/CreateVersionCommand-HVC5JTAL.js +4 -0
  2. package/build/{CreateVersionCommand-G4JMAUB5.js.map → CreateVersionCommand-HVC5JTAL.js.map} +1 -1
  3. package/build/DevCommand-RTZ66W3P.js +4 -0
  4. package/build/DevCommand-RTZ66W3P.js.map +1 -0
  5. package/build/GenerateCommand-J4FYPLSB.js +128 -0
  6. package/build/GenerateCommand-J4FYPLSB.js.map +1 -0
  7. package/build/LogsCommand-J3PHRUGE.js +4 -0
  8. package/build/{LogsCommand-7CMV7VDA.js.map → LogsCommand-J3PHRUGE.js.map} +1 -1
  9. package/build/PreviewCommand-JYIGS25E.js +4 -0
  10. package/build/ServeCommand-LEJRJ2CR.js +4 -0
  11. package/build/ServeCommand-LEJRJ2CR.js.map +1 -0
  12. package/build/build-YPC7VLOB.js +4 -0
  13. package/build/build-YPC7VLOB.js.map +1 -0
  14. package/build/{chunk-U3X4QFEY.js → chunk-2LPICRGU.js} +2 -2
  15. package/build/chunk-2R6WOCA4.js +4 -0
  16. package/build/chunk-2R6WOCA4.js.map +1 -0
  17. package/build/{chunk-LUN6J4D4.js → chunk-2YXY5Y3Z.js} +2 -2
  18. package/build/chunk-522ULCVX.js +100 -0
  19. package/build/chunk-522ULCVX.js.map +1 -0
  20. package/build/{chunk-JTFBYI5Z.js → chunk-6ZJVIMV7.js} +2 -2
  21. package/build/{chunk-AT67JTKR.js → chunk-ATQCL6AZ.js} +59 -59
  22. package/build/{chunk-AT67JTKR.js.map → chunk-ATQCL6AZ.js.map} +1 -1
  23. package/build/chunk-CMBEPCWL.js +4 -0
  24. package/build/chunk-CMBEPCWL.js.map +1 -0
  25. package/build/chunk-EWA6OFAF.js +5 -0
  26. package/build/chunk-EWA6OFAF.js.map +1 -0
  27. package/build/chunk-FMTROGFZ.js +4 -0
  28. package/build/chunk-FMTROGFZ.js.map +1 -0
  29. package/build/chunk-KNH7RNAZ.js +11 -0
  30. package/build/chunk-KNH7RNAZ.js.map +1 -0
  31. package/build/chunk-MXLCRTVZ.js +4 -0
  32. package/build/{chunk-VMPGY3XD.js → chunk-NEWE3FX5.js} +2 -2
  33. package/build/chunk-RWTMPGYF.js +4 -0
  34. package/build/chunk-RWTMPGYF.js.map +1 -0
  35. package/build/{chunk-PZBAQL52.js → chunk-UKELYG5A.js} +2 -2
  36. package/build/chunk-WJTPY35F.js +9 -0
  37. package/build/chunk-WJTPY35F.js.map +1 -0
  38. package/build/{chunk-SUKF3ONU.js → chunk-WLHVYK7Z.js} +2 -2
  39. package/build/{chunk-QPGCBW5R.js → chunk-WRYRVOZP.js} +2 -2
  40. package/build/chunk-X3ZYER2U.js +115 -0
  41. package/build/chunk-X3ZYER2U.js.map +1 -0
  42. package/build/{chunk-RSCSYMHP.js → chunk-ZCIEKIRM.js} +2 -2
  43. package/build/index.js +2 -2
  44. package/build/index.js.map +1 -1
  45. package/build/platform-sdk/editor.js +6 -6
  46. package/build/platform-sdk/editor.js.map +1 -1
  47. package/build/preview-VAP5AF4W.js +4 -0
  48. package/build/{preview-CLW3KECJ.js.map → preview-VAP5AF4W.js.map} +1 -1
  49. package/build/render-command-NE2QILSS.js +4 -0
  50. package/build/render-command-NE2QILSS.js.map +1 -0
  51. package/package.json +5 -4
  52. package/schemas/wix-config.json +1 -1
  53. package/templates/custom-element/dependencies.json +1 -1
  54. package/templates/dashboard-modal/files/modal.tsx.ejs +2 -2
  55. package/templates/dashboard-plugin/files/plugin.tsx.ejs +1 -1
  56. package/templates/site-plugin/dependencies.json +1 -1
  57. package/templates/site-plugin/files/plugin.tsx.ejs +1 -0
  58. package/build/CreateVersionCommand-G4JMAUB5.js +0 -4
  59. package/build/DevCommand-ICJ7HWGE.js +0 -4
  60. package/build/DevCommand-ICJ7HWGE.js.map +0 -1
  61. package/build/GenerateCommand-IGBPVFUN.js +0 -99
  62. package/build/GenerateCommand-IGBPVFUN.js.map +0 -1
  63. package/build/LogsCommand-7CMV7VDA.js +0 -4
  64. package/build/PreviewCommand-4JOWYN2H.js +0 -4
  65. package/build/ServeCommand-I5CZCTC2.js +0 -4
  66. package/build/ServeCommand-I5CZCTC2.js.map +0 -1
  67. package/build/build-F7QA4DJU.js +0 -4
  68. package/build/build-F7QA4DJU.js.map +0 -1
  69. package/build/chunk-AKOLPD6V.js +0 -4
  70. package/build/chunk-AKOLPD6V.js.map +0 -1
  71. package/build/chunk-AODPLKHZ.js +0 -4
  72. package/build/chunk-AODPLKHZ.js.map +0 -1
  73. package/build/chunk-AQLOAQFB.js +0 -4
  74. package/build/chunk-AQLOAQFB.js.map +0 -1
  75. package/build/chunk-PWIPMRWY.js +0 -4
  76. package/build/chunk-TT7ANJ37.js +0 -115
  77. package/build/chunk-TT7ANJ37.js.map +0 -1
  78. package/build/chunk-WPDKHYDX.js +0 -10
  79. package/build/chunk-WPDKHYDX.js.map +0 -1
  80. package/build/chunk-Z6KGERGI.js +0 -100
  81. package/build/chunk-Z6KGERGI.js.map +0 -1
  82. package/build/chunk-ZN6WU4UI.js +0 -11
  83. package/build/chunk-ZN6WU4UI.js.map +0 -1
  84. package/build/preview-CLW3KECJ.js +0 -4
  85. package/build/render-command-MDMVZZWK.js +0 -4
  86. package/build/render-command-MDMVZZWK.js.map +0 -1
  87. /package/build/{PreviewCommand-4JOWYN2H.js.map → PreviewCommand-JYIGS25E.js.map} +0 -0
  88. /package/build/{chunk-U3X4QFEY.js.map → chunk-2LPICRGU.js.map} +0 -0
  89. /package/build/{chunk-LUN6J4D4.js.map → chunk-2YXY5Y3Z.js.map} +0 -0
  90. /package/build/{chunk-JTFBYI5Z.js.map → chunk-6ZJVIMV7.js.map} +0 -0
  91. /package/build/{chunk-PWIPMRWY.js.map → chunk-MXLCRTVZ.js.map} +0 -0
  92. /package/build/{chunk-VMPGY3XD.js.map → chunk-NEWE3FX5.js.map} +0 -0
  93. /package/build/{chunk-PZBAQL52.js.map → chunk-UKELYG5A.js.map} +0 -0
  94. /package/build/{chunk-SUKF3ONU.js.map → chunk-WLHVYK7Z.js.map} +0 -0
  95. /package/build/{chunk-QPGCBW5R.js.map → chunk-WRYRVOZP.js.map} +0 -0
  96. /package/build/{chunk-RSCSYMHP.js.map → chunk-ZCIEKIRM.js.map} +0 -0
@@ -1,11 +0,0 @@
1
- import { createRequire as _createRequire } from 'node:module';
2
- const require = _createRequire(import.meta.url);
3
- var o={"create_version_command_def.option.version_type":"The type of version you would like to create","create_version_command_def.option.approve_preview":"Approve preview automatically","create_version_command_def.option.base_url":"The base url for when static files have been uploaded to an external cdn","create_version_command_def.option.site":"The site id to use for Application Preview urls, defaults to the current selected development site","dev_command_def.option.https":"Start local dev server on https","app_preview_command_def.option.site":"The site id to use for Application Preview urls, defaults to the current selected development site","app_preview_command_def.option.base_url":"The base url for when static files have been uploaded to an external cdn","app_preview_command_def.option.no_input":"Disable command interactivity","general.loading":"Loading...","general.no_site_id_configured":"You don't have a Development Site currently configured","general.site_id_not_found":`Your currently configured Development Site was not found ({id})
4
- This may happen because the site was deleted or your access has been revoked.
5
-
6
- Please select another Development Site to continue`,"general.dashboard_page_text":"<0>Click here</0> to open your application in the Wix Dashboard","general.dashboard_page_click_here":"Click here","general.close_screen":"Press <0/> to close","logs.backend.clear":"Press <0/> to clear","general.write_dev_log_failure.message":"Can not write logs to <0>{path}</0>","general.write_dev_log_failure.hint":"Make sure the file has proper permissions and is accessible","general.open_page_error":"Failed to open the browser for <0>{title}</0>, use the following URL to open it in your browser:","general.dashboard_pages_viewer.title":"Press a number key to open a dashboard page:","general.dashboard_plugins_viewer.title":"Press a number key to open a dashboard plugin:","general.dashboard_menu_plugins_viewer.title":"Press a number key to open a dashboard menu plugin:","general.backend_api_viewer.title":"Press a number key to trigger an api:","general.backend_plugin_viewer.title":"Press a number key to trigger an plugin:","general.backend_events_viewer.title":"Press a number key to trigger an event:","general.numeric_viewer.show_more":"View more...","general.platform.site":"Site","general.platform.unpublished_site":"Site (publish the site to enable site preview)","general.platform.editor":"Editor","general.platform.dashboard":"Dashboard","general.platform.backend":"Backend","general.platform.none":`Your project doesn't seem to have any extensions.
7
-
8
- Extensions are the building blocks of your app.
9
- Make sure it is configured properly, or read our <0>documentation</0> to start developing your first extension.`,"general.dev_site.current":"Current Development Site: {name}","general.view_changes":"View your local changes: <0>(Press a key to open)</0>","general.open_preview.title_single":"Open the preview on the","general.open_preview.title_multiple":"Open the preview on:","preview_command.creating_preview":"Creating a preview...","preview_command.creating_preview_success":"Preview created successfully!","preview_command.uploading_files":"Uploading your application files...","preview_command.uploading_files_success":"Uploaded successfully!","dev_command.site_provider.loading":"Resolving development site...","dev_command.custom_elements_migration.loading":"Checking site widgets installation...","preview_command.note_about_temporary_backend":"This preview URL will be available for three days. Afterward, you can create a new preview if you need to.","dev_command.dev_environment.loading":"Starting dev environment...","dev_command.dev_environment.started":"Local development environment ready.","dev_command.dev_environment.url":"Application served on <0/>","dev_command.dev_environment.backend_url":"Backend served on <0/>","dev_command.dev_site.change":"Press <0/> to change your current Development Site","dev_command.site_selector.error":"Failed to change Development Site!","dev_command.dashboard_pages_screen.select_label":"Select a dashboard page to open","dev_command.dashboard_menu_plugin_screen.select_label":"Select a dashboard menu plugin to open","dev_command.dashboard_page_plugin_screen.select_label":"Select a dashboard plugin to open","dev_command.dashboard_modal_screen.select_label":"Select a dashboard modal to open","dev_command.backend_apis_screen.select_label":"Select api to trigger","dev_command.backend_events_screen.select_label":"Select event to trigger","dev_command.backend_plugins_screen.select_label":"Select plugin to trigger","dev_command.dev_env_logs.title":"Dev Environment Logs:","dev_command.required_apps.loading":"Checking required apps...","dev_command.required_apps.warning":"Make sure you have {requiredAppNames} installed on your site","dev_command.dev_env_backend_logs.title":"Press <0/> to view full logs from {path}","dev_command.dev_env_backend_logs_screen.title":"Server Environment Full Logs","dev_command.dev_env_logs.empty":"No logs to show","dev_command.dev_env_logs.listening_to_logs":"Listening to logs...","dev_command.dev_env_logs.scroll_explain":"Use the arrow keys to scroll","dev_command.config_change":"Loading App Manifest changes...","dev_command.config_update":"App Manifest updated. Refresh existing browser tabs to view the latest changes.","dev_command.config_didnt_update":"No App Manifest update occurred","dev_command.tunneling.confirm":"To proceed, we'll set up a secure tunnel from your machine for development purposes","dev_command.tunneling.abort_dev":"Operation aborted. Tunneling is necessary to run your application.","dev_command.new_custom_element.warning":"New site widget detected. Press <0/> to open the Site Editor and complete the installation.","dev_command.new_custom_element.confirm_reinstall":"Press <0/> when you reinstalled app on your dev site","dev_command.new_custom_element.reinstall_error":"We had troubles with adding your new site widget. You can try to do it by yourself. Press <0/> to continue","serve_command.starting_serve_environment":"Starting serve environment...","serve_command.starting_serve_environment_success":"Serve environment started! <0/>","serve_command.production_build":"Application is using a production build","create_version_command.creating_version":"Creating a version...","create_version_command.creating_version_success":"Successfully created v{version}","create_version_command.current_version":"Your current version is: v{version}","create_version_command.confirm_version_events_warning":"Any configured events will be deployed to production and take effect once a new version of your app is created.","create_version_command.confirm_version_creation":"Continue with creating the new version?","create_version_command.confirm_version_creation_aborted":"Version creation aborted","create_version_command.version_type_question":"What type of version would you like to create?","create_version_command.version_type_question_minor":"Minor (v{version})","create_version_command.version_type_question_major":"Major (v{version})","create_version_command.check_preview_before_version_release":"Before creating a new version, let's create a preview of your app","create_version_command.checking_validation_status":"Checking if this version can be submitted\u2026","create_version_command.version_validation_ok":"This version can be submitted for review in the <0>App Dashboard</0>","create_version_command.version_validation_has_failures":`This version has blockers preventing it from being submitted for review.
10
- Please fix them and submit your app in the <0>App Dashboard</0>.`,"embedded_script.type.essential":"Essential","embedded_script.type.essential.description":"Must load regardless of policy","embedded_script.type.functional":"Functional","embedded_script.type.functional.description":"Adds optional functionality to the site","embedded_script.type.analytics":"Analytics","embedded_script.type.analytics.description":"Adds analytics abilities to the site","embedded_script.type.advertising":"Advertising","embedded_script.type.advertising.description":"Adds advertising content or advertising tracking to the site","embedded_script.placement.head":"Head","embedded_script.placement.head.description":"In the document head","embedded_script.placement.body_start":"Body Start","embedded_script.placement.body_start.description":"Prepended in the body","embedded_script.placement.body_end":"Body End","embedded_script.placement.body_end.description":"Appended in the body","generate_command.description":"Add new extensions to your application","generate_command.flow.dashboard_category":"Dashboard","generate_command.flow.site_category":"Site","generate_command.flow.backend_category":"Backend","generate_command.flow.dashboard_page":"Dashboard Page","generate_command.flow.sidebar_category":"Sidebar Category","generate_command.flow.dashboard_plugin":"Dashboard Plugin","generate_command.flow.dashboard_menu_plugin":"Dashboard Menu Plugin","generate_command.flow.embedded_script":"Embedded Script","generate_command.flow.site_plugin":"Site Plugin","generate_command.flow.event":"Event","generate_command.flow.api.title":"API","generate_command.flow.dashboard_modal":"Dashboard Modal","generate_command.flow.custom_element":"Site Widget","generate_command.flow.service_plugin":"Service Plugin","generate_command.flow.choose_flow":"What kind of extension would you like to generate?","generate_command.generation.loading":"Generating {subject}...","generate_command.generation.done":"\u{1F680} The new {extensionType} has been generated successfully.","generate_command.generation.learn_more":"\u{1F4DA} Learn more about {extensionType}: <0/>","generate_command.generation.new_dependencies":"\u26A0\uFE0F New app dependencies have been added. Please run <0>npm install</0> before continuing to work.","generate_command.dashboard_page.choose_route":"Enter the route for the new page:","generate_command.dashboard_page.route_placeholder":"my-page","generate_command.dashboard_page.choose_title":"Page title:","generate_command.dashboard_page.title_placeholder":"My Page","generate_command.dashboard_page.add_to_category":"Add to a sidebar category?","generate_command.dashboard_page.choose_category":"Sidebar category:","generate_command.sidebar_category.choose_label":"Enter the label for the new category:","generate_command.sidebar_category.label_placeholder":"My App","generate_command.custom_element.validation.element_exists":"The custom element folders must be unique, please choose a name that has not been used yet in your application.","generate_command.custom_element.validation.element_invalid":"The custom element folder must be a valid path ([a-z-/]+) and must not start with a dot.","generate_command.custom_element.choose_folder":"Widget folder (relative to src/site/widgets/custom-elements):","generate_command.custom_element.folder_placeholder":"my-widget","generate_command.custom_element.choose_name":"Widget name:","generate_command.custom_element.choose_name.error":"Enter a name that is shorter than 30 characters.","generate_command.custom_element.name_placeholder":"My Widget","generate_command.site_plugin.choose_folder":"Site plugin folder (relative to src/site/plugins/custom-elements):","generate_command.site_plugin.folder_placeholder":"my-site-plugin","generate_command.site_plugin.choose_name":"Site plugin name:","generate_command.site_plugin.name_placeholder":"My Site Plugin","generate_command.site_plugin.plugin_app":"Select a Wix app to view its plugin slots","generate_command.site_plugin.plugin_app.description":"(<0>read more</0>)","generate_command.site_plugin.choose_placement":"Select the slot in which you\u2019d like to place your plugin","generate_command.site_plugin.widget_docs":"<0>read more</0>","generate_command.embedded_script.validation.script_exists":"The script folder must be unique, please choose a name that has not been used yet in your application.","generate_command.embedded_script.validation.script_invalid":"The script folder must be a valid path ([a-z0-9-/]+) and must not start with a dot.","generate_command.embedded_script.choose_folder":"Script folder (relative to src/site/embedded-scripts):","generate_command.embedded_script.folder_placeholder":"my-script","generate_command.embedded_script.choose_name":"Script name:","generate_command.embedded_script.name_placeholder":"My Script","generate_command.embedded_script.choose_type":"Script type:","generate_command.embedded_script.type_info":"Determine if site visitors' consent is needed to run the script, <0>read more</0>","generate_command.embedded_script.choose_placement":"Placement:","generate_command.embedded_script.placement_info":"Will determine where the script is embedded","generate_command.dashboard_modal.validation.folder_exists":"The modal folder must be unique, please choose a folder name that has not been used yet in your application.","generate_command.dashboard_modal.validation.folder_invalid":"The modal folder must be a valid path ([a-z0-9-/]+) and must not start with a dot.","generate_command.dashboard_modal.choose_folder":"Enter the folder name for the new modal:","generate_command.dashboard_modal.folder_placeholder":"my-modal","generate_command.dashboard_modal.choose_title":"Modal title:","generate_command.dashboard_modal.title_placeholder":"My Modal","generate_command.dashboard_plugin.what_to_extend":"What would you like to extend?","generate_command.dashboard_plugin.what_to_extend.description":"Plugins let you extend Wix apps by embedding your UI inside dedicated slots within a dashboard page (<0>read more</0>)","generate_command.dashboard_plugin.what_to_extend.item_description":"<0>read more</0>","generate_command.dashboard_plugin.choose_folder":"Plugin folder (relative to src/dashboard/plugins)","generate_command.dashboard_plugin.folder_placeholder":"my-plugin","generate_command.dashboard_plugin.choose_title":"Plugin title","generate_command.dashboard_plugin.title_placeholder":"My Plugin","generate_command.required_app":"Would you like to set {appsNames} as a requirement for your app?","generate_command.required_app.description":"This means sites must have {appsNames} installed before installing your app (<0>read more</0>)","generate_command.dashboard_menu_plugin.what_to_extend":"What would you like to extend?","generate_command.dashboard_menu_plugin.what_to_extend.description":"Menu Plugins let you extend Wix apps by adding a menu item in a pre-defined slot in a menu on a dashboard page (<0>read more</0>)","generate_command.dashboard_menu_plugin.what_to_extend.item_description":"<0>read more</0>","generate_command.dashboard_menu_plugin.what_to_do":"What action will happen after clicking on the menu item?","generate_command.dashboard_menu_plugin.what_to_do.navigate_to_page":"Navigate to a page","generate_command.dashboard_menu_plugin.what_to_do.open_modal":"Open a modal","generate_command.dashboard_menu_plugin.what_to_do.navigate_to_page.choose_page":"Choose a page the menu item will navigate to:","generate_command.dashboard_menu_plugin.what_to_do.navigate_to_page.choose_page.info":"Choose from a list of available pages in your project or manually add a page from a different app","generate_command.dashboard_menu_plugin.what_to_do.navigate_to_page.choose_page.other":"Use a page from a different app","generate_command.dashboard_menu_plugin.what_to_do.navigate_to_page.choose_page.other.choose_page_id":"What is the unique id of the page?","generate_command.dashboard_menu_plugin.what_to_do.navigate_to_page.choose_page.other.page_id_invalid":"Page id has to be in the format of a uuid","generate_command.dashboard_menu_plugin.what_to_do.open_modal.choose_component":"Choose the modal to open:","generate_command.dashboard_menu_plugin.what_to_do.open_modal.choose_component.info":"Choose from a list of available modals in your project or manually add a modal from a different app","generate_command.dashboard_menu_plugin.what_to_do.open_modal.choose_component.other":"Use a modal from a different app","generate_command.dashboard_menu_plugin.what_to_do.open_modal.choose_component.other.choose_component_id":"What is the unique id of the modal?","generate_command.dashboard_menu_plugin.what_to_do.open_modal.choose_component.other.component_id_invalid":"Modal id has to be in the format of a uuid","generate_command.dashboard_menu_plugin.choose_folder":"Menu Plugin folder (relative to src/dashboard/menu-plugins)","generate_command.dashboard_menu_plugin.folder_placeholder":"my-plugin","generate_command.dashboard_menu_plugin.choose_title":"Menu Plugin title","generate_command.dashboard_menu_plugin.title_placeholder":"My Plugin","generate_command.api.api_placeholder":"my-api","generate_command.api.choose_api_name":"How would you like to name your API?","generate_command.api.choose_folder":"API folder (relative to src/backend/api):","generate_command.api.choose_api_name.error":"API name must be unique, can not include special characters or spaces, and must be shorter than 20 characters","generate_command.api.choose_method":"Choose an API method","generate_command.event.choose_folder":"Event folder (relative to src/backend/events):","generate_command.event.folder_placeholder":"my-event","generate_command.event.choose_folder.error":"Event name must be unique, can not include special characters or spaces, and must be shorter than 20 characters","generate_command.service_plugin.choose_type":"Which service plugin do you want to create","generate_command.service_plugin.choose_name":"How would you like to name your service plugin","generate_command.service_plugin.name_placeholder":"my-service-plugin","generate_command.service_plugin.groups.stores":"Stores","generate_command.service_plugin.ecom_additional_fees":"Ecom Additional Fees","generate_command.service_plugin.ecom_shipping_rates":"Ecom Shipping Rates","generate_command.service_plugin.ecom_discount_triggers":"Ecom Discount Triggers","generate_command.service_plugin.ecom_validations":"Ecom Validations","generate_command.service_plugin.ecom_payment_settings":"Ecom Payment Settings","generate_command.service_plugin.ecom_gift_cards_provider":"Ecom Gift Cards Provider","logs_command.connecting":"Connecting to the log server...","logs_command.listening_to_logs":"Listening to logs from the server.","logs_command.prod_env_logs":"Prod Environment logs for the version: {version}"};export{o as a};
11
- //# sourceMappingURL=chunk-ZN6WU4UI.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/messages.json"],"sourcesContent":["{\n \"create_version_command_def.option.version_type\": \"The type of version you would like to create\",\n \"create_version_command_def.option.approve_preview\": \"Approve preview automatically\",\n \"create_version_command_def.option.base_url\": \"The base url for when static files have been uploaded to an external cdn\",\n \"create_version_command_def.option.site\": \"The site id to use for Application Preview urls, defaults to the current selected development site\",\n \"dev_command_def.option.https\": \"Start local dev server on https\",\n \"app_preview_command_def.option.site\": \"The site id to use for Application Preview urls, defaults to the current selected development site\",\n \"app_preview_command_def.option.base_url\": \"The base url for when static files have been uploaded to an external cdn\",\n \"app_preview_command_def.option.no_input\": \"Disable command interactivity\",\n \"general.loading\": \"Loading...\",\n \"general.no_site_id_configured\": \"You don't have a Development Site currently configured\",\n \"general.site_id_not_found\": \"Your currently configured Development Site was not found ({id})\\nThis may happen because the site was deleted or your access has been revoked.\\n\\nPlease select another Development Site to continue\",\n \"general.dashboard_page_text\": \"<0>Click here</0> to open your application in the Wix Dashboard\",\n \"general.dashboard_page_click_here\": \"Click here\",\n \"general.close_screen\": \"Press <0/> to close\",\n \"logs.backend.clear\": \"Press <0/> to clear\",\n \"general.write_dev_log_failure.message\": \"Can not write logs to <0>{path}</0>\",\n \"general.write_dev_log_failure.hint\": \"Make sure the file has proper permissions and is accessible\",\n \"general.open_page_error\": \"Failed to open the browser for <0>{title}</0>, use the following URL to open it in your browser:\",\n \"general.dashboard_pages_viewer.title\": \"Press a number key to open a dashboard page:\",\n \"general.dashboard_plugins_viewer.title\": \"Press a number key to open a dashboard plugin:\",\n \"general.dashboard_menu_plugins_viewer.title\": \"Press a number key to open a dashboard menu plugin:\",\n \"general.backend_api_viewer.title\": \"Press a number key to trigger an api:\",\n \"general.backend_plugin_viewer.title\": \"Press a number key to trigger an plugin:\",\n \"general.backend_events_viewer.title\": \"Press a number key to trigger an event:\",\n \"general.numeric_viewer.show_more\": \"View more...\",\n \"general.platform.site\": \"Site\",\n \"general.platform.unpublished_site\": \"Site (publish the site to enable site preview)\",\n \"general.platform.editor\": \"Editor\",\n \"general.platform.dashboard\": \"Dashboard\",\n \"general.platform.backend\": \"Backend\",\n \"general.platform.none\": \"Your project doesn't seem to have any extensions.\\n\\nExtensions are the building blocks of your app.\\nMake sure it is configured properly, or read our <0>documentation</0> to start developing your first extension.\",\n \"general.dev_site.current\": \"Current Development Site: {name}\",\n \"general.view_changes\": \"View your local changes: <0>(Press a key to open)</0>\",\n \"general.open_preview.title_single\": \"Open the preview on the\",\n \"general.open_preview.title_multiple\": \"Open the preview on:\",\n \"preview_command.creating_preview\": \"Creating a preview...\",\n \"preview_command.creating_preview_success\": \"Preview created successfully!\",\n \"preview_command.uploading_files\": \"Uploading your application files...\",\n \"preview_command.uploading_files_success\": \"Uploaded successfully!\",\n \"dev_command.site_provider.loading\": \"Resolving development site...\",\n \"dev_command.custom_elements_migration.loading\": \"Checking site widgets installation...\",\n \"preview_command.note_about_temporary_backend\": \"This preview URL will be available for three days. Afterward, you can create a new preview if you need to.\",\n \"dev_command.dev_environment.loading\": \"Starting dev environment...\",\n \"dev_command.dev_environment.started\": \"Local development environment ready.\",\n \"dev_command.dev_environment.url\": \"Application served on <0/>\",\n \"dev_command.dev_environment.backend_url\": \"Backend served on <0/>\",\n \"dev_command.dev_site.change\": \"Press <0/> to change your current Development Site\",\n \"dev_command.site_selector.error\": \"Failed to change Development Site!\",\n \"dev_command.dashboard_pages_screen.select_label\": \"Select a dashboard page to open\",\n \"dev_command.dashboard_menu_plugin_screen.select_label\": \"Select a dashboard menu plugin to open\",\n \"dev_command.dashboard_page_plugin_screen.select_label\": \"Select a dashboard plugin to open\",\n \"dev_command.dashboard_modal_screen.select_label\": \"Select a dashboard modal to open\",\n \"dev_command.backend_apis_screen.select_label\": \"Select api to trigger\",\n \"dev_command.backend_events_screen.select_label\": \"Select event to trigger\",\n \"dev_command.backend_plugins_screen.select_label\": \"Select plugin to trigger\",\n \"dev_command.dev_env_logs.title\": \"Dev Environment Logs:\",\n \"dev_command.required_apps.loading\": \"Checking required apps...\",\n \"dev_command.required_apps.warning\": \"Make sure you have {requiredAppNames} installed on your site\",\n \"dev_command.dev_env_backend_logs.title\": \"Press <0/> to view full logs from {path}\",\n \"dev_command.dev_env_backend_logs_screen.title\": \"Server Environment Full Logs\",\n \"dev_command.dev_env_logs.empty\": \"No logs to show\",\n \"dev_command.dev_env_logs.listening_to_logs\": \"Listening to logs...\",\n \"dev_command.dev_env_logs.scroll_explain\": \"Use the arrow keys to scroll\",\n \"dev_command.config_change\": \"Loading App Manifest changes...\",\n \"dev_command.config_update\": \"App Manifest updated. Refresh existing browser tabs to view the latest changes.\",\n \"dev_command.config_didnt_update\": \"No App Manifest update occurred\",\n \"dev_command.tunneling.confirm\": \"To proceed, we'll set up a secure tunnel from your machine for development purposes\",\n \"dev_command.tunneling.abort_dev\": \"Operation aborted. Tunneling is necessary to run your application.\",\n \"dev_command.new_custom_element.warning\": \"New site widget detected. Press <0/> to open the Site Editor and complete the installation.\",\n \"dev_command.new_custom_element.confirm_reinstall\": \"Press <0/> when you reinstalled app on your dev site\",\n \"dev_command.new_custom_element.reinstall_error\": \"We had troubles with adding your new site widget. You can try to do it by yourself. Press <0/> to continue\",\n \"serve_command.starting_serve_environment\": \"Starting serve environment...\",\n \"serve_command.starting_serve_environment_success\": \"Serve environment started! <0/>\",\n \"serve_command.production_build\": \"Application is using a production build\",\n \"create_version_command.creating_version\": \"Creating a version...\",\n \"create_version_command.creating_version_success\": \"Successfully created v{version}\",\n \"create_version_command.current_version\": \"Your current version is: v{version}\",\n \"create_version_command.confirm_version_events_warning\": \"Any configured events will be deployed to production and take effect once a new version of your app is created.\",\n \"create_version_command.confirm_version_creation\": \"Continue with creating the new version?\",\n \"create_version_command.confirm_version_creation_aborted\": \"Version creation aborted\",\n \"create_version_command.version_type_question\": \"What type of version would you like to create?\",\n \"create_version_command.version_type_question_minor\": \"Minor (v{version})\",\n \"create_version_command.version_type_question_major\": \"Major (v{version})\",\n \"create_version_command.check_preview_before_version_release\": \"Before creating a new version, let's create a preview of your app\",\n \"create_version_command.checking_validation_status\": \"Checking if this version can be submitted…\",\n \"create_version_command.version_validation_ok\": \"This version can be submitted for review in the <0>App Dashboard</0>\",\n \"create_version_command.version_validation_has_failures\": \"This version has blockers preventing it from being submitted for review.\\nPlease fix them and submit your app in the <0>App Dashboard</0>.\",\n \"embedded_script.type.essential\": \"Essential\",\n \"embedded_script.type.essential.description\": \"Must load regardless of policy\",\n \"embedded_script.type.functional\": \"Functional\",\n \"embedded_script.type.functional.description\": \"Adds optional functionality to the site\",\n \"embedded_script.type.analytics\": \"Analytics\",\n \"embedded_script.type.analytics.description\": \"Adds analytics abilities to the site\",\n \"embedded_script.type.advertising\": \"Advertising\",\n \"embedded_script.type.advertising.description\": \"Adds advertising content or advertising tracking to the site\",\n \"embedded_script.placement.head\": \"Head\",\n \"embedded_script.placement.head.description\": \"In the document head\",\n \"embedded_script.placement.body_start\": \"Body Start\",\n \"embedded_script.placement.body_start.description\": \"Prepended in the body\",\n \"embedded_script.placement.body_end\": \"Body End\",\n \"embedded_script.placement.body_end.description\": \"Appended in the body\",\n \"generate_command.description\": \"Add new extensions to your application\",\n \"generate_command.flow.dashboard_category\": \"Dashboard\",\n \"generate_command.flow.site_category\": \"Site\",\n \"generate_command.flow.backend_category\": \"Backend\",\n \"generate_command.flow.dashboard_page\": \"Dashboard Page\",\n \"generate_command.flow.sidebar_category\": \"Sidebar Category\",\n \"generate_command.flow.dashboard_plugin\": \"Dashboard Plugin\",\n \"generate_command.flow.dashboard_menu_plugin\": \"Dashboard Menu Plugin\",\n \"generate_command.flow.embedded_script\": \"Embedded Script\",\n \"generate_command.flow.site_plugin\": \"Site Plugin\",\n \"generate_command.flow.event\": \"Event\",\n \"generate_command.flow.api.title\": \"API\",\n \"generate_command.flow.dashboard_modal\": \"Dashboard Modal\",\n \"generate_command.flow.custom_element\": \"Site Widget\",\n \"generate_command.flow.service_plugin\": \"Service Plugin\",\n \"generate_command.flow.choose_flow\": \"What kind of extension would you like to generate?\",\n \"generate_command.generation.loading\": \"Generating {subject}...\",\n \"generate_command.generation.done\": \"🚀 The new {extensionType} has been generated successfully.\",\n \"generate_command.generation.learn_more\": \"📚 Learn more about {extensionType}: <0/>\",\n \"generate_command.generation.new_dependencies\": \"⚠️ New app dependencies have been added. Please run <0>npm install</0> before continuing to work.\",\n \"generate_command.dashboard_page.choose_route\": \"Enter the route for the new page:\",\n \"generate_command.dashboard_page.route_placeholder\": \"my-page\",\n \"generate_command.dashboard_page.choose_title\": \"Page title:\",\n \"generate_command.dashboard_page.title_placeholder\": \"My Page\",\n \"generate_command.dashboard_page.add_to_category\": \"Add to a sidebar category?\",\n \"generate_command.dashboard_page.choose_category\": \"Sidebar category:\",\n \"generate_command.sidebar_category.choose_label\": \"Enter the label for the new category:\",\n \"generate_command.sidebar_category.label_placeholder\": \"My App\",\n \"generate_command.custom_element.validation.element_exists\": \"The custom element folders must be unique, please choose a name that has not been used yet in your application.\",\n \"generate_command.custom_element.validation.element_invalid\": \"The custom element folder must be a valid path ([a-z-/]+) and must not start with a dot.\",\n \"generate_command.custom_element.choose_folder\": \"Widget folder (relative to src/site/widgets/custom-elements):\",\n \"generate_command.custom_element.folder_placeholder\": \"my-widget\",\n \"generate_command.custom_element.choose_name\": \"Widget name:\",\n \"generate_command.custom_element.choose_name.error\": \"Enter a name that is shorter than 30 characters.\",\n \"generate_command.custom_element.name_placeholder\": \"My Widget\",\n \"generate_command.site_plugin.choose_folder\": \"Site plugin folder (relative to src/site/plugins/custom-elements):\",\n \"generate_command.site_plugin.folder_placeholder\": \"my-site-plugin\",\n \"generate_command.site_plugin.choose_name\": \"Site plugin name:\",\n \"generate_command.site_plugin.name_placeholder\": \"My Site Plugin\",\n \"generate_command.site_plugin.plugin_app\": \"Select a Wix app to view its plugin slots\",\n \"generate_command.site_plugin.plugin_app.description\": \"(<0>read more</0>)\",\n \"generate_command.site_plugin.choose_placement\": \"Select the slot in which you’d like to place your plugin\",\n \"generate_command.site_plugin.widget_docs\": \"<0>read more</0>\",\n \"generate_command.embedded_script.validation.script_exists\": \"The script folder must be unique, please choose a name that has not been used yet in your application.\",\n \"generate_command.embedded_script.validation.script_invalid\": \"The script folder must be a valid path ([a-z0-9-/]+) and must not start with a dot.\",\n \"generate_command.embedded_script.choose_folder\": \"Script folder (relative to src/site/embedded-scripts):\",\n \"generate_command.embedded_script.folder_placeholder\": \"my-script\",\n \"generate_command.embedded_script.choose_name\": \"Script name:\",\n \"generate_command.embedded_script.name_placeholder\": \"My Script\",\n \"generate_command.embedded_script.choose_type\": \"Script type:\",\n \"generate_command.embedded_script.type_info\": \"Determine if site visitors' consent is needed to run the script, <0>read more</0>\",\n \"generate_command.embedded_script.choose_placement\": \"Placement:\",\n \"generate_command.embedded_script.placement_info\": \"Will determine where the script is embedded\",\n \"generate_command.dashboard_modal.validation.folder_exists\": \"The modal folder must be unique, please choose a folder name that has not been used yet in your application.\",\n \"generate_command.dashboard_modal.validation.folder_invalid\": \"The modal folder must be a valid path ([a-z0-9-/]+) and must not start with a dot.\",\n \"generate_command.dashboard_modal.choose_folder\": \"Enter the folder name for the new modal:\",\n \"generate_command.dashboard_modal.folder_placeholder\": \"my-modal\",\n \"generate_command.dashboard_modal.choose_title\": \"Modal title:\",\n \"generate_command.dashboard_modal.title_placeholder\": \"My Modal\",\n \"generate_command.dashboard_plugin.what_to_extend\": \"What would you like to extend?\",\n \"generate_command.dashboard_plugin.what_to_extend.description\": \"Plugins let you extend Wix apps by embedding your UI inside dedicated slots within a dashboard page (<0>read more</0>)\",\n \"generate_command.dashboard_plugin.what_to_extend.item_description\": \"<0>read more</0>\",\n \"generate_command.dashboard_plugin.choose_folder\": \"Plugin folder (relative to src/dashboard/plugins)\",\n \"generate_command.dashboard_plugin.folder_placeholder\": \"my-plugin\",\n \"generate_command.dashboard_plugin.choose_title\": \"Plugin title\",\n \"generate_command.dashboard_plugin.title_placeholder\": \"My Plugin\",\n \"generate_command.required_app\": \"Would you like to set {appsNames} as a requirement for your app?\",\n \"generate_command.required_app.description\": \"This means sites must have {appsNames} installed before installing your app (<0>read more</0>)\",\n \"generate_command.dashboard_menu_plugin.what_to_extend\": \"What would you like to extend?\",\n \"generate_command.dashboard_menu_plugin.what_to_extend.description\": \"Menu Plugins let you extend Wix apps by adding a menu item in a pre-defined slot in a menu on a dashboard page (<0>read more</0>)\",\n \"generate_command.dashboard_menu_plugin.what_to_extend.item_description\": \"<0>read more</0>\",\n \"generate_command.dashboard_menu_plugin.what_to_do\": \"What action will happen after clicking on the menu item?\",\n \"generate_command.dashboard_menu_plugin.what_to_do.navigate_to_page\": \"Navigate to a page\",\n \"generate_command.dashboard_menu_plugin.what_to_do.open_modal\": \"Open a modal\",\n \"generate_command.dashboard_menu_plugin.what_to_do.navigate_to_page.choose_page\": \"Choose a page the menu item will navigate to:\",\n \"generate_command.dashboard_menu_plugin.what_to_do.navigate_to_page.choose_page.info\": \"Choose from a list of available pages in your project or manually add a page from a different app\",\n \"generate_command.dashboard_menu_plugin.what_to_do.navigate_to_page.choose_page.other\": \"Use a page from a different app\",\n \"generate_command.dashboard_menu_plugin.what_to_do.navigate_to_page.choose_page.other.choose_page_id\": \"What is the unique id of the page?\",\n \"generate_command.dashboard_menu_plugin.what_to_do.navigate_to_page.choose_page.other.page_id_invalid\": \"Page id has to be in the format of a uuid\",\n \"generate_command.dashboard_menu_plugin.what_to_do.open_modal.choose_component\": \"Choose the modal to open:\",\n \"generate_command.dashboard_menu_plugin.what_to_do.open_modal.choose_component.info\": \"Choose from a list of available modals in your project or manually add a modal from a different app\",\n \"generate_command.dashboard_menu_plugin.what_to_do.open_modal.choose_component.other\": \"Use a modal from a different app\",\n \"generate_command.dashboard_menu_plugin.what_to_do.open_modal.choose_component.other.choose_component_id\": \"What is the unique id of the modal?\",\n \"generate_command.dashboard_menu_plugin.what_to_do.open_modal.choose_component.other.component_id_invalid\": \"Modal id has to be in the format of a uuid\",\n \"generate_command.dashboard_menu_plugin.choose_folder\": \"Menu Plugin folder (relative to src/dashboard/menu-plugins)\",\n \"generate_command.dashboard_menu_plugin.folder_placeholder\": \"my-plugin\",\n \"generate_command.dashboard_menu_plugin.choose_title\": \"Menu Plugin title\",\n \"generate_command.dashboard_menu_plugin.title_placeholder\": \"My Plugin\",\n \"generate_command.api.api_placeholder\": \"my-api\",\n \"generate_command.api.choose_api_name\": \"How would you like to name your API?\",\n \"generate_command.api.choose_folder\": \"API folder (relative to src/backend/api):\",\n \"generate_command.api.choose_api_name.error\": \"API name must be unique, can not include special characters or spaces, and must be shorter than 20 characters\",\n \"generate_command.api.choose_method\": \"Choose an API method\",\n \"generate_command.event.choose_folder\": \"Event folder (relative to src/backend/events):\",\n \"generate_command.event.folder_placeholder\": \"my-event\",\n \"generate_command.event.choose_folder.error\": \"Event name must be unique, can not include special characters or spaces, and must be shorter than 20 characters\",\n \"generate_command.service_plugin.choose_type\": \"Which service plugin do you want to create\",\n \"generate_command.service_plugin.choose_name\": \"How would you like to name your service plugin\",\n \"generate_command.service_plugin.name_placeholder\": \"my-service-plugin\",\n \"generate_command.service_plugin.groups.stores\": \"Stores\",\n \"generate_command.service_plugin.ecom_additional_fees\": \"Ecom Additional Fees\",\n \"generate_command.service_plugin.ecom_shipping_rates\": \"Ecom Shipping Rates\",\n \"generate_command.service_plugin.ecom_discount_triggers\": \"Ecom Discount Triggers\",\n \"generate_command.service_plugin.ecom_validations\": \"Ecom Validations\",\n \"generate_command.service_plugin.ecom_payment_settings\": \"Ecom Payment Settings\",\n \"generate_command.service_plugin.ecom_gift_cards_provider\": \"Ecom Gift Cards Provider\",\n \"logs_command.connecting\": \"Connecting to the log server...\",\n \"logs_command.listening_to_logs\": \"Listening to logs from the server.\",\n \"logs_command.prod_env_logs\": \"Prod Environment logs for the version: {version}\"\n}\n"],"mappings":"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","names":["messages_default"]}
@@ -1,4 +0,0 @@
1
- import { createRequire as _createRequire } from 'node:module';
2
- const require = _createRequire(import.meta.url);
3
- import{a as D}from"./chunk-AKOLPD6V.js";import{a as b}from"./chunk-JTFBYI5Z.js";import"./chunk-LUN6J4D4.js";import{a as S,e as I,f as y,t as j,w as x}from"./chunk-AODPLKHZ.js";import"./chunk-U3X4QFEY.js";import"./chunk-WPDKHYDX.js";import"./chunk-VMPGY3XD.js";import"./chunk-AT67JTKR.js";import"./chunk-PZBAQL52.js";import{Aa as n,E as v,bb as P,g as w,oa as h,sb as U}from"./chunk-TT7ANJ37.js";import{c as C,e as s,f as l}from"./chunk-Z6KGERGI.js";import{e as u,h as o}from"./chunk-V4TR6DCM.js";o();o();import{cwd as N}from"node:process";var f=u(C(),1);o();var A=u(C(),1);async function E(e,a,r){let t=new S(a),i=await I({siteId:r,projectFolder:e.projectFolder,siteListClient:t});return(0,A.match)(i,{NotConfigured:()=>{throw new s({code:l.SiteConfiguredRequired()})},NotFound:()=>{throw new s({code:l.SiteConfiguredRequired()})},Resolved:({site:m})=>m})}o();var c=u(C(),1);var M=({model:e,site:a,tag:r})=>{let t=e.components.filter(m=>(0,c.isType)(m,n.DashboardPage)||(0,c.isType)(m,n.DashboardPlugin)||(0,c.isType)(m,n.DashboardMenuPlugin)),i={appId:e.config.appId,site:a,tag:r};return t[0]?x(t[0],i):j(h.Dashboard(),i)};o();function T(e){console.log(e)}async function z(e,a){let r=await U(N()),t=await v();if(!t)throw new s({code:l.AuthenticationRequired()});a.errorReporter.setUser({id:t.userInfo.userId}),b(a.biLogger,t.userInfo.userId);let i=w({type:"backoffice",getAppToken:()=>t.getAccessToken()}),m=await E(r,i,e.siteId),k=r.components.filter(g=>(0,f.isType)(g,n.Api)||(0,f.isType)(g,n.Event)||(0,f.isType)(g,n.ServicePlugin)),{serveUrl:R,backendServerUrl:F}=e.baseUrl?{serveUrl:e.baseUrl,backendServerUrl:void 0}:await P(r.config.appId,r.projectFolder,a.biLogger,i,k.length>0),L=new y(i),q=await D({model:r,arm:L,serveUrl:R,backendServerUrl:F}),H=M({site:m,model:r,tag:q});T(H)}export{z as nonInteractivePreview};
4
- //# sourceMappingURL=preview-CLW3KECJ.js.map
@@ -1,4 +0,0 @@
1
- import { createRequire as _createRequire } from 'node:module';
2
- const require = _createRequire(import.meta.url);
3
- import{a as E}from"./chunk-ZN6WU4UI.js";import{a as y,b as I}from"./chunk-JTFBYI5Z.js";import{a as C}from"./chunk-VMPGY3XD.js";import{B as h,D as w,I as j,sb as p,t as g,tb as x}from"./chunk-TT7ANJ37.js";import{U as v,Z as P,a as l,b as D,e as f,f as u}from"./chunk-Z6KGERGI.js";import{e as b,h as c}from"./chunk-V4TR6DCM.js";c();var n=b(D(),1);import{cwd as F}from"node:process";async function S(e,{biLogger:o,errorReporter:r}){r.setContext("app info",{appId:e.config.appId,projectId:e.config.projectId}),o.updateDefaults({_appId:e.config.appId})}function L(e,o){switch(e){case"dev":case"preview":return{is_mocking_values:o.some(r=>r.type==="EmbeddedScript"&&r.paramsOverride)};default:return}}async function T(e,{biLogger:o,errorReporter:r},i,m){await M(e,{biLogger:o,errorReporter:r},async()=>{let t=await p(F());if(t.components.length===0&&!m?.skipProjectValidation)throw new f({code:u.NoExtensionsFound()});o.updateDefaults({command:e.name()});let a=j(t.projectFolder);await v(n.default.createElement(g,{value:o},n.default.createElement(h,{value:r},n.default.createElement(w,{onLogin:s=>{r.setUser({id:s.userId}),y(o,s.userId)}},n.default.createElement(P,{messages:E},n.default.createElement(C,{filePath:a},n.default.createElement(x,{value:t,watchForChanges:m?.watchForModelChanges},i)))))))})}async function M(e,o,r){let i=await p(F());await S(i,o),o.biLogger.updateDefaults({command:e.name()});let m=I({biLogger:o.biLogger,command:e,cliVersion:l,flow:"Apps",projectId:i.config.projectId,extensions:i.components.reduce((t,a)=>{let d=t[a.type];return t[a.type]=d?d+1:1,t},{}),extraFields:L(e.name(),i.components)});try{await r(),m.succeed()}catch(t){throw m.failed(t),t}}export{T as renderCommand,M as runCommand};
4
- //# sourceMappingURL=render-command-MDMVZZWK.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/commands/render-command.tsx"],"sourcesContent":["import { cwd } from 'node:process';\nimport React from 'react';\nimport type { ReactElement } from 'react';\nimport { AccountAuthProvider } from '@wix/cli-auth';\nimport type { UserInfo } from '@wix/cli-auth';\nimport { render } from '@wix/cli-ui-kit';\nimport { I18nProvider } from '@wix/cli-i18n';\nimport { CliError, CliErrorCode } from '@wix/cli-error';\nimport { DebugLogProvider } from '@wix/cli-debug-log';\nimport { getDebugLogFilePath } from '@wix/cli-core-definitions';\nimport { ErrorReporterProvider } from '@wix/cli-error-reporting';\nimport { BiProvider } from '@wix/cli-telemetry-react';\nimport { addUserFields, reportCommandStartEvent } from '@wix/cli-telemetry';\nimport type { CommandServices } from '@wix/cli-command-contract';\nimport type { Command } from '@commander-js/extra-typings';\nimport type { ProjectModel } from '../model.js';\nimport type { DevCenterComponent } from '../dev-center/components/dev-center-component.js';\nimport { loadProjectModel, ProjectModelProvider } from '../model.js';\nimport messages from '../messages.json';\nimport { version } from '../../package.json';\n\ninterface Options {\n watchForModelChanges?: boolean;\n skipProjectValidation?: boolean;\n}\n\nasync function initServices(\n model: ProjectModel,\n { biLogger, errorReporter }: CommandServices\n) {\n errorReporter.setContext('app info', {\n appId: model.config.appId,\n projectId: model.config.projectId,\n });\n\n biLogger.updateDefaults({\n _appId: model.config.appId,\n });\n}\n\nfunction getExtraBiFields(command: string, components: DevCenterComponent[]) {\n switch (command) {\n case 'dev':\n case 'preview':\n return {\n is_mocking_values: components.some(\n (component) =>\n component.type === 'EmbeddedScript' && component.paramsOverride\n ),\n };\n default:\n return undefined;\n }\n}\n\nexport async function renderCommand(\n command: Command,\n { biLogger, errorReporter }: CommandServices,\n tree: ReactElement,\n options?: Options\n) {\n await runCommand(command, { biLogger, errorReporter }, async () => {\n const model = await loadProjectModel(cwd());\n\n if (model.components.length === 0 && !options?.skipProjectValidation) {\n throw new CliError({\n code: CliErrorCode.NoExtensionsFound(),\n });\n }\n\n biLogger.updateDefaults({ command: command.name() });\n\n const debugLogFilePath = getDebugLogFilePath(model.projectFolder);\n\n const handleLogin = (userInfo: UserInfo) => {\n errorReporter.setUser({ id: userInfo.userId });\n addUserFields(biLogger, userInfo.userId);\n };\n\n await render(\n <BiProvider value={biLogger}>\n <ErrorReporterProvider value={errorReporter}>\n <AccountAuthProvider onLogin={handleLogin}>\n <I18nProvider messages={messages}>\n <DebugLogProvider filePath={debugLogFilePath}>\n <ProjectModelProvider\n value={model}\n watchForChanges={options?.watchForModelChanges}\n >\n {tree}\n </ProjectModelProvider>\n </DebugLogProvider>\n </I18nProvider>\n </AccountAuthProvider>\n </ErrorReporterProvider>\n </BiProvider>\n );\n });\n}\n\nexport async function runCommand(\n command: Command,\n services: CommandServices,\n commandFn: () => Promise<void>\n) {\n const model = await loadProjectModel(cwd());\n\n await initServices(model, services);\n\n services.biLogger.updateDefaults({\n command: command.name(),\n });\n\n const commandStatus = reportCommandStartEvent({\n biLogger: services.biLogger,\n command,\n cliVersion: version,\n flow: 'Apps',\n projectId: model.config.projectId,\n extensions: model.components.reduce<Record<string, number>>((acc, item) => {\n const value = acc[item.type];\n acc[item.type] = value ? value + 1 : 1;\n return acc;\n }, {}),\n extraFields: getExtraBiFields(command.name(), model.components),\n });\n\n try {\n await commandFn();\n commandStatus.succeed();\n } catch (e) {\n commandStatus.failed(e);\n throw e;\n }\n}\n"],"mappings":";;sUAAAA,IACA,IAAAC,EAAkB,SADlB,OAAS,OAAAC,MAAW,eA0BpB,eAAeC,EACbC,EACA,CAAE,SAAAC,EAAU,cAAAC,CAAc,EAC1B,CACAA,EAAc,WAAW,WAAY,CACnC,MAAOF,EAAM,OAAO,MACpB,UAAWA,EAAM,OAAO,SAC1B,CAAC,EAEDC,EAAS,eAAe,CACtB,OAAQD,EAAM,OAAO,KACvB,CAAC,CACH,CAEA,SAASG,EAAiBC,EAAiBC,EAAkC,CAC3E,OAAQD,EAAS,CACf,IAAK,MACL,IAAK,UACH,MAAO,CACL,kBAAmBC,EAAW,KAC3BC,GACCA,EAAU,OAAS,kBAAoBA,EAAU,cACrD,CACF,EACF,QACE,MACJ,CACF,CAEA,eAAsBC,EACpBH,EACA,CAAE,SAAAH,EAAU,cAAAC,CAAc,EAC1BM,EACAC,EACA,CACA,MAAMC,EAAWN,EAAS,CAAE,SAAAH,EAAU,cAAAC,CAAc,EAAG,SAAY,CACjE,IAAMF,EAAQ,MAAMW,EAAiBC,EAAI,CAAC,EAE1C,GAAIZ,EAAM,WAAW,SAAW,GAAK,CAACS,GAAS,sBAC7C,MAAM,IAAII,EAAS,CACjB,KAAMC,EAAa,kBAAkB,CACvC,CAAC,EAGHb,EAAS,eAAe,CAAE,QAASG,EAAQ,KAAK,CAAE,CAAC,EAEnD,IAAMW,EAAmBC,EAAoBhB,EAAM,aAAa,EAOhE,MAAMiB,EACJ,EAAAC,QAAA,cAACC,EAAA,CAAW,MAAOlB,GACjB,EAAAiB,QAAA,cAACE,EAAA,CAAsB,MAAOlB,GAC5B,EAAAgB,QAAA,cAACG,EAAA,CAAoB,QARNC,GAAuB,CAC1CpB,EAAc,QAAQ,CAAE,GAAIoB,EAAS,MAAO,CAAC,EAC7CC,EAActB,EAAUqB,EAAS,MAAM,CACzC,GAMQ,EAAAJ,QAAA,cAACM,EAAA,CAAa,SAAUC,GACtB,EAAAP,QAAA,cAACQ,EAAA,CAAiB,SAAUX,GAC1B,EAAAG,QAAA,cAACS,EAAA,CACC,MAAO3B,EACP,gBAAiBS,GAAS,sBAEzBD,CACH,CACF,CACF,CACF,CACF,CACF,CACF,CACF,CAAC,CACH,CAEA,eAAsBE,EACpBN,EACAwB,EACAC,EACA,CACA,IAAM7B,EAAQ,MAAMW,EAAiBC,EAAI,CAAC,EAE1C,MAAMb,EAAaC,EAAO4B,CAAQ,EAElCA,EAAS,SAAS,eAAe,CAC/B,QAASxB,EAAQ,KAAK,CACxB,CAAC,EAED,IAAM0B,EAAgBC,EAAwB,CAC5C,SAAUH,EAAS,SACnB,QAAAxB,EACA,WAAY4B,EACZ,KAAM,OACN,UAAWhC,EAAM,OAAO,UACxB,WAAYA,EAAM,WAAW,OAA+B,CAACiC,EAAKC,IAAS,CACzE,IAAMC,EAAQF,EAAIC,EAAK,IAAI,EAC3B,OAAAD,EAAIC,EAAK,IAAI,EAAIC,EAAQA,EAAQ,EAAI,EAC9BF,CACT,EAAG,CAAC,CAAC,EACL,YAAa9B,EAAiBC,EAAQ,KAAK,EAAGJ,EAAM,UAAU,CAChE,CAAC,EAED,GAAI,CACF,MAAM6B,EAAU,EAChBC,EAAc,QAAQ,CACxB,OAASM,EAAG,CACV,MAAAN,EAAc,OAAOM,CAAC,EAChBA,CACR,CACF","names":["init_esm_shims","import_react","cwd","initServices","model","biLogger","errorReporter","getExtraBiFields","command","components","component","renderCommand","tree","options","runCommand","loadProjectModel","cwd","CliError","CliErrorCode","debugLogFilePath","getDebugLogFilePath","render","React","BiProvider","ErrorReporterProvider","AccountAuthProvider","userInfo","addUserFields","I18nProvider","messages_default","DebugLogProvider","ProjectModelProvider","services","commandFn","commandStatus","reportCommandStartEvent","version","acc","item","value","e"]}