@wix/cli-app 1.1.66 → 1.1.68
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/{CreateVersionCommand-3APRL3VU.js → CreateVersionCommand-5TCBPGIH.js} +34 -15
- package/build/CreateVersionCommand-5TCBPGIH.js.map +1 -0
- package/build/{DevCommand-ETOGX7TQ.js → DevCommand-FLAJVB76.js} +12 -12
- package/build/{GenerateCommand-WI4QHFLI.js → GenerateCommand-6PVPCG4X.js} +8 -8
- package/build/{LogsCommand-EI2OGC45.js → LogsCommand-Q4WSZLCC.js} +4 -4
- package/build/PreviewCommand-JXM3D4JA.js +23 -0
- package/build/{ReleaseCommand-A7OLS7VK.js → ReleaseCommand-QGLNTIVN.js} +15 -15
- package/build/{ServeCommand-HZFAQ76D.js → ServeCommand-A4L62RVV.js} +13 -13
- package/build/{build-3YQ4WRAD.js → build-KR3EAJNN.js} +7 -7
- package/build/{chunk-YAB2U4Z2.js → chunk-3N4ZTGAX.js} +2 -2
- package/build/{chunk-B2ICYFSY.js → chunk-3W7G4CY6.js} +194 -142
- package/build/chunk-3W7G4CY6.js.map +1 -0
- package/build/{chunk-NKZUVIGH.js → chunk-4JMXQDKZ.js} +275 -199
- package/build/chunk-4JMXQDKZ.js.map +1 -0
- package/build/{chunk-R25C65PI.js → chunk-4Z2Y4QFV.js} +3 -3
- package/build/{chunk-YV7I3J5W.js → chunk-5I2WY4IL.js} +3 -3
- package/build/{chunk-YV7I3J5W.js.map → chunk-5I2WY4IL.js.map} +1 -1
- package/build/{chunk-KCNDPIBT.js → chunk-7L3A24PA.js} +5 -5
- package/build/{chunk-UGZ4HW7C.js → chunk-E53SQF6W.js} +3 -3
- package/build/{chunk-JRT7D3FW.js → chunk-GFUM3WRG.js} +5 -5
- package/build/{chunk-UPFJUERL.js → chunk-HNVEYZGS.js} +3 -3
- package/build/{chunk-IEPRQY35.js → chunk-JEZZKWEY.js} +3 -3
- package/build/{chunk-GAJ7KUCP.js → chunk-MZAGFEZR.js} +3 -3
- package/build/{chunk-EXLMLNEA.js → chunk-SOL3VBMN.js} +288 -85
- package/build/chunk-SOL3VBMN.js.map +1 -0
- package/build/{chunk-CXSHOO4P.js → chunk-T4BWYKQC.js} +8 -8
- package/build/{chunk-NOA57HIN.js → chunk-TM67N2ME.js} +326 -272
- package/build/{chunk-NOA57HIN.js.map → chunk-TM67N2ME.js.map} +1 -1
- package/build/{chunk-THBDIBD6.js → chunk-UPFNRFVG.js} +3 -3
- package/build/{chunk-NU2C42KF.js → chunk-VLBYLUUI.js} +3 -3
- package/build/{chunk-ONNVSN6Z.js → chunk-WBL3HKNC.js} +3 -3
- package/build/{chunk-P4IYXOMH.js → chunk-ZSY3YR6T.js} +3 -1
- package/build/chunk-ZSY3YR6T.js.map +1 -0
- package/build/cloudflare-runtime/entry.js +5 -5
- package/build/cloudflare-runtime/getRegisteredExtensions.js +5 -5
- package/build/index.js +24 -24
- package/build/index.js.map +1 -1
- package/build/platform-sdk/chunk-42XIZ4MH.js +2 -0
- package/build/platform-sdk/chunk-42XIZ4MH.js.map +1 -0
- package/build/platform-sdk/chunk-CR7DIEFQ.js +2 -0
- package/build/platform-sdk/chunk-CR7DIEFQ.js.map +1 -0
- package/build/platform-sdk/{chunk-XYIDODIB.js → chunk-EERHWVVD.js} +2 -2
- package/build/platform-sdk/dashboard.js +1 -1
- package/build/platform-sdk/editor.js +1 -1
- package/build/platform-sdk/sdk-context.js +1 -1
- package/build/platform-sdk/sdk-context.js.map +1 -1
- package/build/platform-sdk/site.js +1 -1
- package/build/{preview-CYO6EQDP.js → preview-FXTWJXYH.js} +12 -12
- package/build/{render-command-NFVEABET.js → render-command-HS7XMEYE.js} +6 -6
- package/package.json +4 -3
- package/build/CreateVersionCommand-3APRL3VU.js.map +0 -1
- package/build/PreviewCommand-NELA5NRX.js +0 -23
- package/build/chunk-B2ICYFSY.js.map +0 -1
- package/build/chunk-EXLMLNEA.js.map +0 -1
- package/build/chunk-NKZUVIGH.js.map +0 -1
- package/build/chunk-P4IYXOMH.js.map +0 -1
- package/build/platform-sdk/chunk-BGTZ3RNN.js +0 -2
- package/build/platform-sdk/chunk-BGTZ3RNN.js.map +0 -1
- package/build/platform-sdk/chunk-BY4JACX6.js +0 -2
- package/build/platform-sdk/chunk-BY4JACX6.js.map +0 -1
- /package/build/{DevCommand-ETOGX7TQ.js.map → DevCommand-FLAJVB76.js.map} +0 -0
- /package/build/{GenerateCommand-WI4QHFLI.js.map → GenerateCommand-6PVPCG4X.js.map} +0 -0
- /package/build/{LogsCommand-EI2OGC45.js.map → LogsCommand-Q4WSZLCC.js.map} +0 -0
- /package/build/{PreviewCommand-NELA5NRX.js.map → PreviewCommand-JXM3D4JA.js.map} +0 -0
- /package/build/{ReleaseCommand-A7OLS7VK.js.map → ReleaseCommand-QGLNTIVN.js.map} +0 -0
- /package/build/{ServeCommand-HZFAQ76D.js.map → ServeCommand-A4L62RVV.js.map} +0 -0
- /package/build/{build-3YQ4WRAD.js.map → build-KR3EAJNN.js.map} +0 -0
- /package/build/{chunk-YAB2U4Z2.js.map → chunk-3N4ZTGAX.js.map} +0 -0
- /package/build/{chunk-R25C65PI.js.map → chunk-4Z2Y4QFV.js.map} +0 -0
- /package/build/{chunk-KCNDPIBT.js.map → chunk-7L3A24PA.js.map} +0 -0
- /package/build/{chunk-UGZ4HW7C.js.map → chunk-E53SQF6W.js.map} +0 -0
- /package/build/{chunk-JRT7D3FW.js.map → chunk-GFUM3WRG.js.map} +0 -0
- /package/build/{chunk-UPFJUERL.js.map → chunk-HNVEYZGS.js.map} +0 -0
- /package/build/{chunk-IEPRQY35.js.map → chunk-JEZZKWEY.js.map} +0 -0
- /package/build/{chunk-GAJ7KUCP.js.map → chunk-MZAGFEZR.js.map} +0 -0
- /package/build/{chunk-CXSHOO4P.js.map → chunk-T4BWYKQC.js.map} +0 -0
- /package/build/{chunk-THBDIBD6.js.map → chunk-UPFNRFVG.js.map} +0 -0
- /package/build/{chunk-NU2C42KF.js.map → chunk-VLBYLUUI.js.map} +0 -0
- /package/build/{chunk-ONNVSN6Z.js.map → chunk-WBL3HKNC.js.map} +0 -0
- /package/build/platform-sdk/{chunk-XYIDODIB.js.map → chunk-EERHWVVD.js.map} +0 -0
- /package/build/{preview-CYO6EQDP.js.map → preview-FXTWJXYH.js.map} +0 -0
- /package/build/{render-command-NFVEABET.js.map → render-command-HS7XMEYE.js.map} +0 -0
|
@@ -3,10 +3,10 @@ const require = _createRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
useBiLogger,
|
|
5
5
|
wixCliAppBiEvents
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TM67N2ME.js";
|
|
7
7
|
import {
|
|
8
8
|
require_react
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-4JMXQDKZ.js";
|
|
10
10
|
import {
|
|
11
11
|
__toESM,
|
|
12
12
|
init_esm_shims
|
|
@@ -26,4 +26,4 @@ init_esm_shims();
|
|
|
26
26
|
export {
|
|
27
27
|
useWixCliAppBi
|
|
28
28
|
};
|
|
29
|
-
//# sourceMappingURL=chunk-
|
|
29
|
+
//# sourceMappingURL=chunk-UPFNRFVG.js.map
|
|
@@ -2,12 +2,12 @@ import { createRequire as _createRequire } from 'node:module';
|
|
|
2
2
|
const require = _createRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
ErrorViewer
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-TM67N2ME.js";
|
|
6
6
|
import {
|
|
7
7
|
createRendererToString,
|
|
8
8
|
isCliError,
|
|
9
9
|
require_react
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4JMXQDKZ.js";
|
|
11
11
|
import {
|
|
12
12
|
__toESM,
|
|
13
13
|
init_esm_shims
|
|
@@ -60,4 +60,4 @@ function createLogger({
|
|
|
60
60
|
export {
|
|
61
61
|
createLogger
|
|
62
62
|
};
|
|
63
|
-
//# sourceMappingURL=chunk-
|
|
63
|
+
//# sourceMappingURL=chunk-VLBYLUUI.js.map
|
|
@@ -2,13 +2,13 @@ import { createRequire as _createRequire } from 'node:module';
|
|
|
2
2
|
const require = _createRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
readAppManifestFile
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-E53SQF6W.js";
|
|
6
6
|
import {
|
|
7
7
|
updateAppManifestWithBaseUrl,
|
|
8
8
|
updateBlocksComponents,
|
|
9
9
|
updateMonitoring,
|
|
10
10
|
updateTopology
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-3W7G4CY6.js";
|
|
12
12
|
import {
|
|
13
13
|
init_esm_shims
|
|
14
14
|
} from "./chunk-PYIAC2GK.js";
|
|
@@ -49,4 +49,4 @@ var createPreviewTag = async ({
|
|
|
49
49
|
export {
|
|
50
50
|
createPreviewTag
|
|
51
51
|
};
|
|
52
|
-
//# sourceMappingURL=chunk-
|
|
52
|
+
//# sourceMappingURL=chunk-WBL3HKNC.js.map
|
|
@@ -67,6 +67,8 @@ var messages_default = {
|
|
|
67
67
|
"serve_command.starting_serve_environment": "Starting serve environment...",
|
|
68
68
|
"serve_command.starting_serve_environment_success": "Serve environment started! <0/>",
|
|
69
69
|
"serve_command.production_build": "Application is using a production build",
|
|
70
|
+
"create_version_command.deprecated.warn": "Deprecation Notice \u2013 The <0>create-version</0> command is being replaced by the <1>release</1> command and will soon no longer be supported. Learn more in <2>our docs</2>.",
|
|
71
|
+
"create_version_command.deprecated.description": 'This command is deprecated, please use "release" command instead',
|
|
70
72
|
"create_version_command.creating_version": "Creating a version...",
|
|
71
73
|
"create_version_command.creating_version_success": "Successfully created v{version}",
|
|
72
74
|
"create_version_command.current_version": "Your current version is: v{version}",
|
|
@@ -251,4 +253,4 @@ var messages_default = {
|
|
|
251
253
|
export {
|
|
252
254
|
messages_default
|
|
253
255
|
};
|
|
254
|
-
//# sourceMappingURL=chunk-
|
|
256
|
+
//# sourceMappingURL=chunk-ZSY3YR6T.js.map
|
|
@@ -0,0 +1 @@
|
|
|
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.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.blocks_editor\": \"Blocks Editor\",\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 \"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\": \"Development environment ready\",\n \"dev_command.dev_site.change\": \"(Press <0/> to switch)\",\n \"dev_command.dev_site.current\": \"Current Dev Site: <0>{siteName}</0>\",\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.required_apps.loading\": \"Checking required apps...\",\n \"dev_command.required_apps.warning\": \"Make sure you have {requiredAppNames} installed on your site\",\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.blocks_revision_updated\": \"Blocks revision updated.\",\n \"dev_command.blocks_editor_connected\": \"Blocks Editor connected.\",\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 \"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.deprecated.warn\": \"Deprecation Notice – The <0>create-version</0> command is being replaced by the <1>release</1> command and will soon no longer be supported. Learn more in <2>our docs</2>.\",\n \"create_version_command.deprecated.description\": \"This command is deprecated, please use \\\"release\\\" command instead\",\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.web_method.title\": \"Web Method\",\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.ecommerce_notification\": \"ℹ️ eCommerce plugins can require more than one business solution to be installed. To add additional required business solutions, navigate to your app's dashboard.\",\n \"generate_command.generation.learn_more\": \"<0/> Learn more about {extensionType}: <1/>\",\n \"generate_command.generation.install_dependencies_question\": \"Would you like to install dependencies now?\",\n \"generate_command.generation.new_dependencies\": \"⚠️ New app dependencies have been added. Please run <0>{pkgManagerName} install</0> before continuing to work.\",\n \"generate_command.generation.dependencies_installed\": \"✅ Dependencies installed\",\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 {extensionType} folder must be unique, please choose a name that has yet to be used in your application.\",\n \"generate_command.custom_element.validation.element_invalid\": \"The {extensionType} folder name must include a hyphen (-) and contain only lowercase letters and numbers.\",\n \"generate_command.custom_element.choose_folder\": \"Enter a folder name for your site widget:\",\n \"generate_command.custom_element.folder_placeholder\": \"my-widget\",\n \"generate_command.custom_element.choose_name\": \"Enter a name for your site widget:\",\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.custom_element.link_dashboard_page\": \"Link dashboard page to custom element?\",\n \"generate_command.custom_element.choose_dashboard_page\": \"Choose dashboard page:\",\n \"generate_command.site_plugin.choose_folder\": \"Enter a folder name for your site plugin:\",\n \"generate_command.site_plugin.folder_placeholder\": \"my-site-plugin\",\n \"generate_command.site_plugin.choose_name\": \"Enter a name for your site plugin:\",\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.required_business_solution\": \"Select a business solution your extension requires\",\n \"generate_command.required_business_solution.loading\": \"Checking required apps...\",\n \"generate_command.required_business_solution.none\": \"None\",\n \"generate_command.required_business_solution.already_required\": \"app is already configured as required\",\n \"generate_command.required_business_solution.description\": \"(you can add more required business solutions later)\",\n \"generate_command.required_business_solution.error\": \"Unable to retrieve the required apps from the App Dashboard\",\n \"generate_command.required_business_solution.error.hint\": \"Please manually add required apps directly from the <0>app audience page</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.web_method.choose_filename.placeholder\": \"backend/my-web-method\",\n \"generate_command.web_method.choose_filename\": \"Web Method file name (relative to the src folder):\",\n \"generate_command.web_method.choose_filename.error\": \"Web Method file name must be unique, can not include special characters or spaces, and must be shorter than 20 characters\",\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_def.option.version\": \"Specify the app version to fetch production logs from\",\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 \"release_command_def.description\": \"Release a new version of your application\",\n \"release_command_def.option.site\": \"The site id to use for Application Preview urls, defaults to the current selected development site\",\n \"release_command_def.option.base_url\": \"The base url for when static files have been uploaded to an external cdn\",\n \"release_command_def.option.comment\": \"The comment for your release version, not visible by users\",\n \"release_command_def.option.version_type\": \"The type of version you would like to create\",\n \"release_command_def.option.approve_minor\": \"Approve minor version release automatically\",\n \"release_command.loading_app_details\": \"Loading application details...\",\n \"release_command.creating_draft\": \"Updating draft application version\",\n \"release_command.check_preview_before_version_release\": \"Before creating a new version, let's create a preview of your app\",\n \"release_command.confirm_version_events_warning\": \"Your project includes backend events. Once you proceed, any changes to events will be immediately deployed to production and take effect automatically, even without a new version release.\",\n \"release_command.enter_release_comment\": \"Enter a comment describing any changes made to this version. This won't be shown to users (optional)\",\n \"release_command.release_comment_requirement\": \"The comment is limited to a maximum of 250 characters\",\n \"release_command.version_type_question\": \"What type of version would you like to create?\",\n \"release_command.next_steps\": \"Next Steps:\",\n \"release_command.open_stats\": \"<0/> View your app reviews and statistics in the <1>app dashboard</1>\",\n \"release_command.distribute_other\": \"<0/> Learn other ways to <1>distribute your app</1>\",\n \"release_command.distribute\": \"<0/> Choose your distribution method from the <1>app dashboard</1>\",\n \"release_command.version.minor\": \"Minor ({version})\",\n \"release_command.version.minor_disabled\": \"Minor\",\n \"release_command.version.minor.description\": \"update doesn’t require Wix user consent\",\n \"release_command.version.minor.disabled\": \"Recent changes you made require this release to be a major release. <0>Learn more</0>\",\n \"release_command.version.major\": \"Major ({version})\",\n \"release_command.version.major.description\": \"update requires Wix user consent\",\n \"release_command.confirm_version_creation\": \"Changes will be visible to your app users immediately and can’t be undone. Do you want to continue?\",\n \"release_command.releasing\": \"Releasing...\",\n \"release_command.released\": \"Version {version} was created\"\n}\n"],"mappings":";;;;AAAA;AAAA,EACE,kDAAkD;AAAA,EAClD,qDAAqD;AAAA,EACrD,8CAA8C;AAAA,EAC9C,0CAA0C;AAAA,EAC1C,gCAAgC;AAAA,EAChC,uCAAuC;AAAA,EACvC,2CAA2C;AAAA,EAC3C,2CAA2C;AAAA,EAC3C,mBAAmB;AAAA,EACnB,iCAAiC;AAAA,EACjC,6BAA6B;AAAA,EAC7B,+BAA+B;AAAA,EAC/B,qCAAqC;AAAA,EACrC,wBAAwB;AAAA,EACxB,sBAAsB;AAAA,EACtB,2BAA2B;AAAA,EAC3B,wCAAwC;AAAA,EACxC,0CAA0C;AAAA,EAC1C,+CAA+C;AAAA,EAC/C,oCAAoC;AAAA,EACpC,uCAAuC;AAAA,EACvC,uCAAuC;AAAA,EACvC,oCAAoC;AAAA,EACpC,yBAAyB;AAAA,EACzB,qCAAqC;AAAA,EACrC,2BAA2B;AAAA,EAC3B,8BAA8B;AAAA,EAC9B,kCAAkC;AAAA,EAClC,4BAA4B;AAAA,EAC5B,yBAAyB;AAAA,EACzB,4BAA4B;AAAA,EAC5B,wBAAwB;AAAA,EACxB,qCAAqC;AAAA,EACrC,uCAAuC;AAAA,EACvC,oCAAoC;AAAA,EACpC,4CAA4C;AAAA,EAC5C,mCAAmC;AAAA,EACnC,2CAA2C;AAAA,EAC3C,qCAAqC;AAAA,EACrC,gDAAgD;AAAA,EAChD,uCAAuC;AAAA,EACvC,uCAAuC;AAAA,EACvC,+BAA+B;AAAA,EAC/B,gCAAgC;AAAA,EAChC,mCAAmC;AAAA,EACnC,mDAAmD;AAAA,EACnD,yDAAyD;AAAA,EAC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C;AAAA,EAC5C,uCAAuC;AAAA,EACvC,kCAAkC;AAAA,EAClC,wDAAwD;AAAA,EACxD,kDAAkD;AAAA,EAClD,yCAAyC;AAAA,EACzC,+CAA+C;AAAA,EAC/C,yCAAyC;AAAA,EACzC,8BAA8B;AAAA,EAC9B,8BAA8B;AAAA,EAC9B,oCAAoC;AAAA,EACpC,8BAA8B;AAAA,EAC9B,iCAAiC;AAAA,EACjC,0CAA0C;AAAA,EAC1C,6CAA6C;AAAA,EAC7C,0CAA0C;AAAA,EAC1C,iCAAiC;AAAA,EACjC,6CAA6C;AAAA,EAC7C,4CAA4C;AAAA,EAC5C,6BAA6B;AAAA,EAC7B,4BAA4B;AAC9B;","names":[]}
|
|
@@ -11613,7 +11613,7 @@ function objectToKeyValue(input) {
|
|
|
11613
11613
|
return Object.entries(input).filter(([_, value]) => Boolean(value)).map(([key, value]) => `${key}=${value}`).join(",");
|
|
11614
11614
|
}
|
|
11615
11615
|
|
|
11616
|
-
// ../../node_modules/@wix/sdk
|
|
11616
|
+
// ../../node_modules/@wix/sdk-runtime/build/context.js
|
|
11617
11617
|
function runWithoutContext(fn) {
|
|
11618
11618
|
const globalContext = globalThis.__wix_context__;
|
|
11619
11619
|
const moduleContext = {
|
|
@@ -12142,7 +12142,7 @@ function AppStrategy(opts) {
|
|
|
12142
12142
|
})
|
|
12143
12143
|
});
|
|
12144
12144
|
if (tokensRes.status !== 200) {
|
|
12145
|
-
throw new Error(`Failed to exchange authorization code for refresh token. Unexpected status code from Wix OAuth API: ${tokensRes.status}`);
|
|
12145
|
+
throw new Error(`Failed to exchange authorization code for refresh token. Unexpected status code from Wix OAuth API: ${tokensRes.status}, request id: ${tokensRes.headers.get("x-wix-request-id")}`);
|
|
12146
12146
|
}
|
|
12147
12147
|
const tokens = await tokensRes.json();
|
|
12148
12148
|
refreshToken = tokens.refresh_token;
|
|
@@ -12177,7 +12177,7 @@ function AppStrategy(opts) {
|
|
|
12177
12177
|
})
|
|
12178
12178
|
});
|
|
12179
12179
|
if (tokensRes.status !== 200) {
|
|
12180
|
-
throw new Error(`Failed to exchange refresh token for access token. Unexpected status code from Wix OAuth API: ${tokensRes.status}`);
|
|
12180
|
+
throw new Error(`Failed to exchange refresh token for access token. Unexpected status code from Wix OAuth API: ${tokensRes.status}, request id: ${tokensRes.headers.get("x-wix-request-id")}`);
|
|
12181
12181
|
}
|
|
12182
12182
|
const tokens = await tokensRes.json();
|
|
12183
12183
|
refreshToken = tokens.refresh_token;
|
|
@@ -12203,7 +12203,7 @@ function AppStrategy(opts) {
|
|
|
12203
12203
|
})
|
|
12204
12204
|
});
|
|
12205
12205
|
if (tokensRes.status !== 200) {
|
|
12206
|
-
throw new Error(`Failed to exchange instance ID for access token. Unexpected status code from Wix OAuth API: ${tokensRes.status}`);
|
|
12206
|
+
throw new Error(`Failed to exchange instance ID for access token. Unexpected status code from Wix OAuth API: ${tokensRes.status}, request id: ${tokensRes.headers.get("x-wix-request-id")}`);
|
|
12207
12207
|
}
|
|
12208
12208
|
const tokens = await tokensRes.json();
|
|
12209
12209
|
cachedToken = {
|
|
@@ -12228,7 +12228,7 @@ function AppStrategy(opts) {
|
|
|
12228
12228
|
})
|
|
12229
12229
|
});
|
|
12230
12230
|
if (tokenRes.status !== 200) {
|
|
12231
|
-
throw new Error(`Failed to get unbound token. Unexpected status code from Wix OAuth API: ${tokenRes.status}`);
|
|
12231
|
+
throw new Error(`Failed to get unbound token. Unexpected status code from Wix OAuth API: ${tokenRes.status}, request id: ${tokenRes.headers.get("x-wix-request-id")}`);
|
|
12232
12232
|
}
|
|
12233
12233
|
const { access_token, expires_in } = await tokenRes.json();
|
|
12234
12234
|
cachedToken = {
|
|
@@ -4414,7 +4414,7 @@ function objectToKeyValue(input) {
|
|
|
4414
4414
|
return Object.entries(input).filter(([_, value]) => Boolean(value)).map(([key, value]) => `${key}=${value}`).join(",");
|
|
4415
4415
|
}
|
|
4416
4416
|
|
|
4417
|
-
// ../../node_modules/@wix/sdk
|
|
4417
|
+
// ../../node_modules/@wix/sdk-runtime/build/context.js
|
|
4418
4418
|
function runWithoutContext(fn) {
|
|
4419
4419
|
const globalContext = globalThis.__wix_context__;
|
|
4420
4420
|
const moduleContext = {
|
|
@@ -4943,7 +4943,7 @@ function AppStrategy(opts) {
|
|
|
4943
4943
|
})
|
|
4944
4944
|
});
|
|
4945
4945
|
if (tokensRes.status !== 200) {
|
|
4946
|
-
throw new Error(`Failed to exchange authorization code for refresh token. Unexpected status code from Wix OAuth API: ${tokensRes.status}`);
|
|
4946
|
+
throw new Error(`Failed to exchange authorization code for refresh token. Unexpected status code from Wix OAuth API: ${tokensRes.status}, request id: ${tokensRes.headers.get("x-wix-request-id")}`);
|
|
4947
4947
|
}
|
|
4948
4948
|
const tokens = await tokensRes.json();
|
|
4949
4949
|
refreshToken = tokens.refresh_token;
|
|
@@ -4978,7 +4978,7 @@ function AppStrategy(opts) {
|
|
|
4978
4978
|
})
|
|
4979
4979
|
});
|
|
4980
4980
|
if (tokensRes.status !== 200) {
|
|
4981
|
-
throw new Error(`Failed to exchange refresh token for access token. Unexpected status code from Wix OAuth API: ${tokensRes.status}`);
|
|
4981
|
+
throw new Error(`Failed to exchange refresh token for access token. Unexpected status code from Wix OAuth API: ${tokensRes.status}, request id: ${tokensRes.headers.get("x-wix-request-id")}`);
|
|
4982
4982
|
}
|
|
4983
4983
|
const tokens = await tokensRes.json();
|
|
4984
4984
|
refreshToken = tokens.refresh_token;
|
|
@@ -5004,7 +5004,7 @@ function AppStrategy(opts) {
|
|
|
5004
5004
|
})
|
|
5005
5005
|
});
|
|
5006
5006
|
if (tokensRes.status !== 200) {
|
|
5007
|
-
throw new Error(`Failed to exchange instance ID for access token. Unexpected status code from Wix OAuth API: ${tokensRes.status}`);
|
|
5007
|
+
throw new Error(`Failed to exchange instance ID for access token. Unexpected status code from Wix OAuth API: ${tokensRes.status}, request id: ${tokensRes.headers.get("x-wix-request-id")}`);
|
|
5008
5008
|
}
|
|
5009
5009
|
const tokens = await tokensRes.json();
|
|
5010
5010
|
cachedToken = {
|
|
@@ -5029,7 +5029,7 @@ function AppStrategy(opts) {
|
|
|
5029
5029
|
})
|
|
5030
5030
|
});
|
|
5031
5031
|
if (tokenRes.status !== 200) {
|
|
5032
|
-
throw new Error(`Failed to get unbound token. Unexpected status code from Wix OAuth API: ${tokenRes.status}`);
|
|
5032
|
+
throw new Error(`Failed to get unbound token. Unexpected status code from Wix OAuth API: ${tokenRes.status}, request id: ${tokenRes.headers.get("x-wix-request-id")}`);
|
|
5033
5033
|
}
|
|
5034
5034
|
const { access_token, expires_in } = await tokenRes.json();
|
|
5035
5035
|
cachedToken = {
|
package/build/index.js
CHANGED
|
@@ -2,13 +2,13 @@ import { createRequire as _createRequire } from 'node:module';
|
|
|
2
2
|
const require = _createRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
createI18nT
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-JEZZKWEY.js";
|
|
6
|
+
import "./chunk-ZSY3YR6T.js";
|
|
7
7
|
import {
|
|
8
8
|
require_react,
|
|
9
9
|
version,
|
|
10
10
|
z
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-4JMXQDKZ.js";
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__require,
|
|
@@ -3371,8 +3371,8 @@ var {
|
|
|
3371
3371
|
// src/commands/build.ts
|
|
3372
3372
|
init_esm_shims();
|
|
3373
3373
|
var buildCommand = (services) => createCommand("build").action(async (_, command) => {
|
|
3374
|
-
const { runCommand } = await import("./render-command-
|
|
3375
|
-
const { build } = await import("./build-
|
|
3374
|
+
const { runCommand } = await import("./render-command-HS7XMEYE.js");
|
|
3375
|
+
const { build } = await import("./build-KR3EAJNN.js");
|
|
3376
3376
|
await runCommand(command, services, build);
|
|
3377
3377
|
});
|
|
3378
3378
|
|
|
@@ -3382,8 +3382,8 @@ var import_react = __toESM(require_react(), 1);
|
|
|
3382
3382
|
var devCommand = (services) => {
|
|
3383
3383
|
const t = createI18nT();
|
|
3384
3384
|
return createCommand("dev").option("-s, --https", t("dev_command_def.option.https")).action(async (options, command) => {
|
|
3385
|
-
const { DevCommand } = await import("./DevCommand-
|
|
3386
|
-
const { renderCommand } = await import("./render-command-
|
|
3385
|
+
const { DevCommand } = await import("./DevCommand-FLAJVB76.js");
|
|
3386
|
+
const { renderCommand } = await import("./render-command-HS7XMEYE.js");
|
|
3387
3387
|
const { https = false } = options;
|
|
3388
3388
|
await renderCommand(command, services, /* @__PURE__ */ import_react.default.createElement(DevCommand, { https }), {
|
|
3389
3389
|
watchForModelChanges: true
|
|
@@ -3443,10 +3443,10 @@ var previewCommand = (services) => {
|
|
|
3443
3443
|
validateBase
|
|
3444
3444
|
).option("--no-input", t("app_preview_command_def.option.no_input")).action(async (options, command) => {
|
|
3445
3445
|
const { site, baseUrl, input } = options;
|
|
3446
|
-
const { renderCommand, runCommand } = await import("./render-command-
|
|
3446
|
+
const { renderCommand, runCommand } = await import("./render-command-HS7XMEYE.js");
|
|
3447
3447
|
if (!input) {
|
|
3448
3448
|
return runCommand(command, services, async (model) => {
|
|
3449
|
-
const { nonInteractivePreview } = await import("./preview-
|
|
3449
|
+
const { nonInteractivePreview } = await import("./preview-FXTWJXYH.js");
|
|
3450
3450
|
return nonInteractivePreview(
|
|
3451
3451
|
{ siteId: site, baseUrl },
|
|
3452
3452
|
model,
|
|
@@ -3454,7 +3454,7 @@ var previewCommand = (services) => {
|
|
|
3454
3454
|
);
|
|
3455
3455
|
});
|
|
3456
3456
|
}
|
|
3457
|
-
const { PreviewCommand } = await import("./PreviewCommand-
|
|
3457
|
+
const { PreviewCommand } = await import("./PreviewCommand-JXM3D4JA.js");
|
|
3458
3458
|
await renderCommand(
|
|
3459
3459
|
command,
|
|
3460
3460
|
services,
|
|
@@ -3468,7 +3468,7 @@ init_esm_shims();
|
|
|
3468
3468
|
var import_react3 = __toESM(require_react(), 1);
|
|
3469
3469
|
var createVersionCommand = (services) => {
|
|
3470
3470
|
const t = createI18nT();
|
|
3471
|
-
return createCommand("create-version").addOption(
|
|
3471
|
+
return createCommand("create-version").description(t("create_version_command.deprecated.description")).addOption(
|
|
3472
3472
|
new Option(
|
|
3473
3473
|
"-t, --version-type <type>",
|
|
3474
3474
|
t("create_version_command_def.option.version_type")
|
|
@@ -3486,8 +3486,8 @@ var createVersionCommand = (services) => {
|
|
|
3486
3486
|
validateBase
|
|
3487
3487
|
).action(async (options, command) => {
|
|
3488
3488
|
const { VersionType } = await import("./types.impl-CD4WWRUK.js");
|
|
3489
|
-
const { renderCommand } = await import("./render-command-
|
|
3490
|
-
const { CreateVersionCommand } = await import("./CreateVersionCommand-
|
|
3489
|
+
const { renderCommand } = await import("./render-command-HS7XMEYE.js");
|
|
3490
|
+
const { CreateVersionCommand, CreateVersionCommandDeprecated } = await import("./CreateVersionCommand-5TCBPGIH.js");
|
|
3491
3491
|
const {
|
|
3492
3492
|
approvePreview = false,
|
|
3493
3493
|
versionType: versionTypeString,
|
|
@@ -3502,7 +3502,7 @@ var createVersionCommand = (services) => {
|
|
|
3502
3502
|
await renderCommand(
|
|
3503
3503
|
command,
|
|
3504
3504
|
services,
|
|
3505
|
-
/* @__PURE__ */ import_react3.default.createElement(
|
|
3505
|
+
/* @__PURE__ */ import_react3.default.createElement(CreateVersionCommandDeprecated, null, /* @__PURE__ */ import_react3.default.createElement(
|
|
3506
3506
|
CreateVersionCommand,
|
|
3507
3507
|
{
|
|
3508
3508
|
baseUrl,
|
|
@@ -3510,7 +3510,7 @@ var createVersionCommand = (services) => {
|
|
|
3510
3510
|
preApprovePreview: approvePreview,
|
|
3511
3511
|
versionType
|
|
3512
3512
|
}
|
|
3513
|
-
)
|
|
3513
|
+
))
|
|
3514
3514
|
);
|
|
3515
3515
|
});
|
|
3516
3516
|
};
|
|
@@ -3519,8 +3519,8 @@ var createVersionCommand = (services) => {
|
|
|
3519
3519
|
init_esm_shims();
|
|
3520
3520
|
var import_react4 = __toESM(require_react(), 1);
|
|
3521
3521
|
var serveCommand = (services) => createCommand("serve").action(async (_, command) => {
|
|
3522
|
-
const { renderCommand } = await import("./render-command-
|
|
3523
|
-
const { ServeCommand } = await import("./ServeCommand-
|
|
3522
|
+
const { renderCommand } = await import("./render-command-HS7XMEYE.js");
|
|
3523
|
+
const { ServeCommand } = await import("./ServeCommand-A4L62RVV.js");
|
|
3524
3524
|
await renderCommand(command, services, /* @__PURE__ */ import_react4.default.createElement(ServeCommand, null));
|
|
3525
3525
|
});
|
|
3526
3526
|
|
|
@@ -3530,8 +3530,8 @@ var import_react5 = __toESM(require_react(), 1);
|
|
|
3530
3530
|
var generateCommand = (services) => {
|
|
3531
3531
|
const t = createI18nT();
|
|
3532
3532
|
return createCommand("generate").description(t("generate_command.description")).action(async (options, command) => {
|
|
3533
|
-
const { GenerateCommand } = await import("./GenerateCommand-
|
|
3534
|
-
const { renderCommand } = await import("./render-command-
|
|
3533
|
+
const { GenerateCommand } = await import("./GenerateCommand-6PVPCG4X.js");
|
|
3534
|
+
const { renderCommand } = await import("./render-command-HS7XMEYE.js");
|
|
3535
3535
|
await renderCommand(command, services, /* @__PURE__ */ import_react5.default.createElement(GenerateCommand, null), {
|
|
3536
3536
|
skipProjectValidation: true
|
|
3537
3537
|
});
|
|
@@ -3549,8 +3549,8 @@ var logsCommand = (services) => {
|
|
|
3549
3549
|
validateVersion
|
|
3550
3550
|
).action(async (options, command) => {
|
|
3551
3551
|
const { version: version2 } = options;
|
|
3552
|
-
const { renderCommand } = await import("./render-command-
|
|
3553
|
-
const { LogsCommand } = await import("./LogsCommand-
|
|
3552
|
+
const { renderCommand } = await import("./render-command-HS7XMEYE.js");
|
|
3553
|
+
const { LogsCommand } = await import("./LogsCommand-Q4WSZLCC.js");
|
|
3554
3554
|
await renderCommand(command, services, /* @__PURE__ */ import_react6.default.createElement(LogsCommand, { version: version2 }));
|
|
3555
3555
|
});
|
|
3556
3556
|
};
|
|
@@ -3581,8 +3581,8 @@ var releaseCommand = (services) => {
|
|
|
3581
3581
|
"-y, --approve-minor",
|
|
3582
3582
|
t("release_command_def.option.approve_minor")
|
|
3583
3583
|
).action(async (options, command) => {
|
|
3584
|
-
const { renderCommand } = await import("./render-command-
|
|
3585
|
-
const { ReleaseCommand, ReleaseVersionType } = await import("./ReleaseCommand-
|
|
3584
|
+
const { renderCommand } = await import("./render-command-HS7XMEYE.js");
|
|
3585
|
+
const { ReleaseCommand, ReleaseVersionType } = await import("./ReleaseCommand-QGLNTIVN.js");
|
|
3586
3586
|
const { baseUrl, site, comment, approveMinor = false } = options;
|
|
3587
3587
|
const versionType = options.versionType ? {
|
|
3588
3588
|
major: ReleaseVersionType.MAJOR,
|
|
@@ -3607,7 +3607,7 @@ var releaseCommand = (services) => {
|
|
|
3607
3607
|
|
|
3608
3608
|
// src/commands/root-command.ts
|
|
3609
3609
|
var getRootCommand = async (services) => {
|
|
3610
|
-
return createCommand("app").version(version, "-v, --version", "Output the version number").enablePositionalOptions(true).helpOption("-h, --help", "Display help for command").helpCommand(false).addCommand(devCommand(services)).addCommand(buildCommand(services)).addCommand(serveCommand(services)).addCommand(previewCommand(services)).addCommand(createVersionCommand(services)).addCommand(generateCommand(services)).addCommand(logsCommand(services)).addCommand(releaseCommand(services)
|
|
3610
|
+
return createCommand("app").version(version, "-v, --version", "Output the version number").enablePositionalOptions(true).helpOption("-h, --help", "Display help for command").helpCommand(false).addCommand(devCommand(services)).addCommand(buildCommand(services)).addCommand(serveCommand(services)).addCommand(previewCommand(services)).addCommand(createVersionCommand(services)).addCommand(generateCommand(services)).addCommand(logsCommand(services)).addCommand(releaseCommand(services));
|
|
3611
3611
|
};
|
|
3612
3612
|
export {
|
|
3613
3613
|
getRootCommand
|