@wix/cli-app 1.1.1 → 1.1.2

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 (77) hide show
  1. package/build/CreateVersionCommand-ACZ3W4S4.js +4 -0
  2. package/build/CreateVersionCommand-ACZ3W4S4.js.map +1 -0
  3. package/build/DevCommand-26MBVEGM.js +4 -0
  4. package/build/DevCommand-26MBVEGM.js.map +1 -0
  5. package/build/PreviewCommand-MNP242P6.js +4 -0
  6. package/build/ServeCommand-LKGC43F2.js +4 -0
  7. package/build/{ServeCommand-PBWWH7JV.js.map → ServeCommand-LKGC43F2.js.map} +1 -1
  8. package/build/SiteIdProvider-KTD7B3MF.js +4 -0
  9. package/build/{build-2RGFEOAH.js → build-K7HCLEXF.js} +2 -2
  10. package/build/{chunk-BNCDZAQC.js → chunk-2DYAAR6J.js} +2 -2
  11. package/build/{chunk-ZVAVQTPJ.js → chunk-3CWGDMDQ.js} +2 -2
  12. package/build/chunk-5CKAQAZK.js +23 -0
  13. package/build/{chunk-FJCAYHQL.js.map → chunk-5CKAQAZK.js.map} +1 -1
  14. package/build/chunk-7L53MGM2.js +4 -0
  15. package/build/{chunk-LHKDRLTT.js.map → chunk-7L53MGM2.js.map} +1 -1
  16. package/build/{chunk-L4IT3FJC.js → chunk-BTGENTTK.js} +2 -2
  17. package/build/{chunk-RGPGMVHK.js → chunk-DLDSY2KE.js} +3 -3
  18. package/build/chunk-DLDSY2KE.js.map +1 -0
  19. package/build/{chunk-6G7R73WW.js → chunk-DWQSXNK2.js} +2 -2
  20. package/build/chunk-EUINJR7Q.js +4 -0
  21. package/build/chunk-EUINJR7Q.js.map +1 -0
  22. package/build/{chunk-JDGDMH7E.js → chunk-FBPBJN3V.js} +2 -2
  23. package/build/{chunk-JZEMYLWD.js → chunk-KZZTM2KZ.js} +2 -2
  24. package/build/{chunk-DUZ55BRL.js → chunk-LWF2UMZJ.js} +85 -56
  25. package/build/{chunk-DUZ55BRL.js.map → chunk-LWF2UMZJ.js.map} +1 -1
  26. package/build/chunk-NBPYX6UX.js +106 -0
  27. package/build/chunk-NBPYX6UX.js.map +1 -0
  28. package/build/{chunk-IJ6QC2OQ.js → chunk-SI3YQ623.js} +2 -2
  29. package/build/chunk-TUKI3OEQ.js +4 -0
  30. package/build/chunk-TUKI3OEQ.js.map +1 -0
  31. package/build/chunk-XCS5TRON.js +4 -0
  32. package/build/chunk-XCS5TRON.js.map +1 -0
  33. package/build/chunk-XTSD25NR.js +4 -0
  34. package/build/chunk-XTSD25NR.js.map +1 -0
  35. package/build/chunk-YT3VC22W.js +75 -0
  36. package/build/chunk-YT3VC22W.js.map +1 -0
  37. package/build/index.js +1 -1
  38. package/build/preview-MTYF5TV5.js +4 -0
  39. package/build/preview-MTYF5TV5.js.map +1 -0
  40. package/build/render-command-VR53CY3H.js +4 -0
  41. package/build/{render-command-3GYMO4L2.js.map → render-command-VR53CY3H.js.map} +1 -1
  42. package/package.json +7 -4
  43. package/build/CreateVersionCommand-M57PLQFO.js +0 -4
  44. package/build/CreateVersionCommand-M57PLQFO.js.map +0 -1
  45. package/build/DevCommand-HBIIRNKJ.js +0 -4
  46. package/build/DevCommand-HBIIRNKJ.js.map +0 -1
  47. package/build/PreviewCommand-ISSV3BOT.js +0 -4
  48. package/build/ServeCommand-PBWWH7JV.js +0 -4
  49. package/build/SiteIdProvider-OORASSSR.js +0 -4
  50. package/build/chunk-52CFCSNQ.js +0 -65
  51. package/build/chunk-52CFCSNQ.js.map +0 -1
  52. package/build/chunk-5CJ7KYIU.js +0 -4
  53. package/build/chunk-5CJ7KYIU.js.map +0 -1
  54. package/build/chunk-FGP4AKBM.js +0 -4
  55. package/build/chunk-FGP4AKBM.js.map +0 -1
  56. package/build/chunk-FJCAYHQL.js +0 -23
  57. package/build/chunk-JI4J5GCL.js +0 -4
  58. package/build/chunk-JI4J5GCL.js.map +0 -1
  59. package/build/chunk-LHKDRLTT.js +0 -4
  60. package/build/chunk-RGPGMVHK.js.map +0 -1
  61. package/build/chunk-U6YFRFIX.js +0 -106
  62. package/build/chunk-U6YFRFIX.js.map +0 -1
  63. package/build/chunk-XVSH4K7G.js +0 -4
  64. package/build/chunk-XVSH4K7G.js.map +0 -1
  65. package/build/preview-3532IXSY.js +0 -4
  66. package/build/preview-3532IXSY.js.map +0 -1
  67. package/build/render-command-3GYMO4L2.js +0 -4
  68. /package/build/{PreviewCommand-ISSV3BOT.js.map → PreviewCommand-MNP242P6.js.map} +0 -0
  69. /package/build/{SiteIdProvider-OORASSSR.js.map → SiteIdProvider-KTD7B3MF.js.map} +0 -0
  70. /package/build/{build-2RGFEOAH.js.map → build-K7HCLEXF.js.map} +0 -0
  71. /package/build/{chunk-BNCDZAQC.js.map → chunk-2DYAAR6J.js.map} +0 -0
  72. /package/build/{chunk-ZVAVQTPJ.js.map → chunk-3CWGDMDQ.js.map} +0 -0
  73. /package/build/{chunk-L4IT3FJC.js.map → chunk-BTGENTTK.js.map} +0 -0
  74. /package/build/{chunk-6G7R73WW.js.map → chunk-DWQSXNK2.js.map} +0 -0
  75. /package/build/{chunk-JDGDMH7E.js.map → chunk-FBPBJN3V.js.map} +0 -0
  76. /package/build/{chunk-JZEMYLWD.js.map → chunk-KZZTM2KZ.js.map} +0 -0
  77. /package/build/{chunk-IJ6QC2OQ.js.map → chunk-SI3YQ623.js.map} +0 -0
@@ -1,4 +0,0 @@
1
- import { createRequire as _createRequire } from 'node:module';
2
- const require = _createRequire(import.meta.url);
3
- import{a as k}from"./chunk-BNCDZAQC.js";import{c as b}from"./chunk-XVSH4K7G.js";import{a as T,b as F}from"./chunk-FJCAYHQL.js";import{b as S}from"./chunk-JDGDMH7E.js";import{a as y}from"./chunk-5CJ7KYIU.js";import{B as C,C as m,F as x,G as P,K as A,w as f,y as v,z as w}from"./chunk-U6YFRFIX.js";import{S as _,a as g}from"./chunk-52CFCSNQ.js";import{e as d,h as o}from"./chunk-HFDLXX7R.js";o();import B from"react";o();import i from"react";var j=d(g(),1);o();var U=d(g(),1);import h from"react";var p=({status:s,loadingText:e,successText:n})=>(0,U.match)(s,{NotRequested:()=>null,Loading:()=>h.createElement(w,{text:e}),Error:()=>null,Success:()=>h.createElement(f,{type:"success"},n)});var E=({onPreviewCreated:s,siteId:e,baseUrl:n})=>{let{model:r}=_(),{t}=P(),M=S(),q=A(),H=y({type:"backoffice"}),u=m(()=>F(r.config.appId,r.projectFolder,q,H)),l=m((a,c)=>T({model:r,siteId:e,arm:M,serveUrl:c})),{status:K}=C(async()=>{await k(r.projectFolder);let a=n??await u.execute(),{dashboardPageUrl:c,tag:N}=await l.execute(a);return s?.(N),c},[]);return i.createElement(i.Fragment,null,i.createElement(p,{status:u.status,loadingText:t("preview_command.uploading_files"),successText:t("preview_command.uploading_files_success")}),i.createElement(p,{status:l.status,loadingText:t("preview_command.creating_preview"),successText:t("preview_command.creating_preview_success")}),(0,j.match)(K,{Loading:()=>null,Error:()=>null,Success:({result:a})=>i.createElement(x,{i18nKey:"general.dashboard_page_text",components:[i.createElement(v,{url:a})]})}))};var at=({baseUrl:s,siteIdOverride:e,onPreviewCreated:n})=>{let r=t=>B.createElement(E,{baseUrl:s,siteId:t,onPreviewCreated:n});return e?r(e):B.createElement(b,null,({id:t})=>r(t))};export{at as a};
4
- //# sourceMappingURL=chunk-LHKDRLTT.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../package.json","../src/messages.json"],"sourcesContent":["{\n \"name\": \"@wix/cli-app\",\n \"description\": \"CLI tool for Wix apps\",\n \"version\": \"1.1.1\",\n \"author\": \"Amit Dahan\",\n \"dependencies\": {\n \"vite\": \"5.0.2\"\n },\n \"devDependencies\": {\n \"@commander-js/extra-typings\": \"^11.1.0\",\n \"@types/lodash\": \"^4.14.200\",\n \"@wix/ambassador-ctp-app-cloud-deployer-service-v1-app-cloud-deployer\": \"^1.0.17\",\n \"@wix/ambassador-ctp-gradual-rollout-v1-app-config\": \"^1.0.64\",\n \"@wix/ambassador-devcenter-components-v1-component\": \"^1.0.355\",\n \"@wix/arm-client\": \"workspace:*\",\n \"@wix/bi-logger-wix-cli\": \"^1.30.0\",\n \"@wix/cli-app-definitions\": \"workspace:*\",\n \"@wix/cli-app-manifest\": \"workspace:*\",\n \"@wix/cli-auth\": \"workspace:*\",\n \"@wix/cli-command-contract\": \"workspace:*\",\n \"@wix/cli-core-definitions\": \"workspace:*\",\n \"@wix/cli-debug-log\": \"workspace:*\",\n \"@wix/cli-error\": \"workspace:*\",\n \"@wix/cli-error-reporting\": \"workspace:*\",\n \"@wix/cli-fs\": \"workspace:*\",\n \"@wix/cli-http-client\": \"workspace:*\",\n \"@wix/cli-http-client-react\": \"workspace:*\",\n \"@wix/cli-i18n\": \"workspace:*\",\n \"@wix/cli-logger\": \"workspace:*\",\n \"@wix/cli-site-selector\": \"workspace:*\",\n \"@wix/cli-ssl\": \"workspace:*\",\n \"@wix/cli-telemetry\": \"workspace:*\",\n \"@wix/cli-telemetry-react\": \"workspace:*\",\n \"@wix/cli-test-overrides\": \"workspace:*\",\n \"@wix/cli-ui-kit\": \"workspace:*\",\n \"@wix/dev-center-client\": \"workspace:*\",\n \"@wix/site-list-client\": \"workspace:*\",\n \"@wix/tsup-configs\": \"workspace:*\",\n \"@wix/user-browser\": \"workspace:*\",\n \"chalk\": \"^5.3.0\",\n \"chokidar\": \"^3.5.3\",\n \"commander\": \"^11.1.0\",\n \"fast-equals\": \"^5.0.1\",\n \"form-data\": \"^4.0.0\",\n \"globby\": \"^13.2.2\",\n \"p-retry\": \"^5.1.2\",\n \"p-wait-for\": \"^5.0.2\",\n \"prompts\": \"^2.4.2\",\n \"semver\": \"^7.5.4\",\n \"tempy\": \"^3.1.0\",\n \"typed-emitter\": \"^2.1.0\",\n \"variant\": \"^3.0.0-dev.26\",\n \"vite-plugin-externals\": \"^0.6.2\",\n \"zod\": \"^3.22.4\"\n },\n \"engines\": {\n \"node\": \">= 18.16\"\n },\n \"exports\": {\n \".\": \"./build/index.js\",\n \"./client\": {\n \"types\": \"./client.d.ts\"\n },\n \"./internal/component-hmr-wrapper\": \"./internal/component-hmr-wrapper.tsx\",\n \"./tsconfig.app.json\": \"./tsconfig.app.json\",\n \"./package.json\": \"./package.json\"\n },\n \"files\": [\n \"build\",\n \"tsconfig.app.json\",\n \"client.d.ts\",\n \"internal\"\n ],\n \"peerDependencies\": {\n \"react\": \"^16.14 || ^17 || ^18\",\n \"react-dom\": \"^16.14 || ^17 || ^18\"\n },\n \"peerDependenciesMeta\": {\n \"react-dom\": {\n \"optional\": true\n }\n },\n \"perfer\": {\n \"bundleSize\": {\n \"files\": [\n {\n \"glob\": \"./build/index.js\",\n \"maxSize\": \"460kb\"\n }\n ]\n }\n },\n \"publishConfig\": {\n \"registry\": \"https://registry.npmjs.org/\",\n \"access\": \"public\",\n \"versionBumpStrategy\": \"manual\",\n \"logLevel\": \"verbose\"\n },\n \"scripts\": {\n \"build\": \"run -T tsup\",\n \"build:watch\": \"run build --watch\",\n \"lint\": \"run -T lint-package\",\n \"test\": \"yarn workspace @wix/cli-app-spec run test\",\n \"test:watch\": \"yarn workspace @wix/cli-app-spec run test:watch\",\n \"typecheck\": \"run -T tsc --noEmit\"\n },\n \"sideEffects\": false,\n \"type\": \"module\",\n \"wix\": {\n \"artifact\": {\n \"groupId\": \"com.wixpress.npm\",\n \"artifactId\": \"wix-cli-app\"\n },\n \"validations\": {\n \"postBuild\": [\n \"typecheck\",\n \"lint\"\n ]\n }\n }\n}\n","{\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 \"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 \"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 \"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.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.https_url.open_info\": \"Press <0/> to open & approve dev server\",\n \"dev_command.dev_environment.https_url.failed_to_open\": \"Unable to open <0/> for approving selfsigned certificate. Please manually access the link.\",\n \"dev_command.dev_site.current\": \"Current Development Site: {name}\",\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.open_page_error\": \"Failed to open the browser for <0>{title}</0>, use the following URL to open it in your browser:\",\n \"dev_command.dashboard_pages_screen.select_label\": \"Select a dashboard page to open\",\n \"dev_command.dashboard_pages_viewer.title\": \"Press a number key to open a dashboard page:\",\n \"dev_command.dashboard_pages_viewer.show_more\": \"View more...\",\n \"dev_command.dev_env_logs.title\": \"Dev Environment Logs: <0>(full logs at {path})</0>\",\n \"dev_command.dev_env_logs.empty\": \"No logs to show\",\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 \"serve_command.starting_serve_environment\": \"Starting serve environment...\",\n \"serve_command.starting_serve_environment_success\": \"Serve environment started! <0/>\",\n \"create_version_command.creating_version\": \"Creating a version...\",\n \"create_version_command.creating_version_success\": \"Successfully created v{version}\",\n \"create_version_command.creating_version_success_publish_message\": \"Go ahead and publish it at <0/>\",\n \"create_version_command.current_version\": \"Your current version is: v{version}\",\n \"create_version_command.confirm_publish\": \"Continue with publish?\",\n \"create_version_command.confirm_publish_aborted\": \"Publishing 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}\n"],"mappings":";;AAGE,IAAAA,EAAW,QCHb,IAAAC,EAAA,CACE,iDAAkD,+CAClD,oDAAqD,gCACrD,6CAA8C,2EAC9C,+BAAgC,kCAChC,sCAAuC,qGACvC,0CAA2C,2EAC3C,0CAA2C,gCAC3C,kBAAmB,aACnB,gCAAiC,yDACjC,4BAA6B;AAAA;AAAA;AAAA,oDAC7B,8BAA+B,kEAC/B,oCAAqC,aACrC,uBAAwB,sBACxB,wCAAyC,sCACzC,qCAAsC,8DACtC,mCAAoC,wBACpC,2CAA4C,gCAC5C,kCAAmC,sCACnC,0CAA2C,yBAC3C,sCAAuC,8BACvC,sCAAuC,uCACvC,kCAAmC,6BACnC,kDAAmD,0CACnD,uDAAwD,6FACxD,+BAAgC,mCAChC,8BAA+B,qDAC/B,kCAAmC,qCACnC,8CAA+C,mGAC/C,kDAAmD,kCACnD,2CAA4C,+CAC5C,+CAAgD,eAChD,iCAAkC,qDAClC,iCAAkC,kBAClC,4BAA6B,kCAC7B,4BAA6B,kFAC7B,kCAAmC,kCACnC,2CAA4C,gCAC5C,mDAAoD,kCACpD,0CAA2C,wBAC3C,kDAAmD,kCACnD,kEAAmE,kCACnE,yCAA0C,sCAC1C,yCAA0C,yBAC1C,iDAAkD,qBAClD,+CAAgD,iDAChD,qDAAsD,qBACtD,qDAAsD,qBACtD,8DAA+D,mEACjE","names":["version","messages_default"]}