@shopify/cli 3.86.0 → 3.87.0

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 (101) hide show
  1. package/README.md +2 -1
  2. package/dist/assets/dev-console/extensions/dev-console/assets/index-0hw3R_TS.css +1 -0
  3. package/dist/assets/dev-console/index.html +2 -2
  4. package/dist/{chunk-NMH42STK.js → chunk-43MAAODZ.js} +29 -17
  5. package/dist/{chunk-O32LAXNO.js → chunk-4RMT22ZG.js} +116 -97
  6. package/dist/{chunk-UAYSVXRU.js → chunk-4X3OSIUW.js} +19 -7
  7. package/dist/{chunk-WZTQS5NN.js → chunk-6CKI4ZVA.js} +8 -8
  8. package/dist/{chunk-J5WELXX6.js → chunk-77FBLQSY.js} +3 -3
  9. package/dist/{chunk-7VKRIIXT.js → chunk-DX2IC6MA.js} +25 -8
  10. package/dist/chunk-EZQWZ57B.js +53 -0
  11. package/dist/{chunk-NIZJP24I.js → chunk-FBDL6M34.js} +4 -4
  12. package/dist/{chunk-TCTK5NQE.js → chunk-GK3L6WCO.js} +8 -8
  13. package/dist/{chunk-4MSYMXAX.js → chunk-GPKHDSF5.js} +2 -2
  14. package/dist/{chunk-5RBPM5MR.js → chunk-GV3VXLHN.js} +7 -7
  15. package/dist/{chunk-6UMZO4DD.js → chunk-H3HXI5FI.js} +5 -5
  16. package/dist/{chunk-LPSHXR57.js → chunk-H5JSK6HV.js} +2 -2
  17. package/dist/{chunk-AM4QB5OM.js → chunk-HMDWNGIV.js} +100 -206
  18. package/dist/{chunk-4YT3BY2B.js → chunk-HMJUSDS7.js} +2 -2
  19. package/dist/{chunk-LOWKEYZ4.js → chunk-ILCR5V7H.js} +2 -2
  20. package/dist/{chunk-GAPPN3SH.js → chunk-JJ3N36EZ.js} +3 -3
  21. package/dist/{chunk-6FH6AJI5.js → chunk-KUJQ4AB6.js} +103 -2
  22. package/dist/{chunk-ZRLTG3SU.js → chunk-KW37WO42.js} +4 -4
  23. package/dist/{chunk-7TE554OT.js → chunk-LMVYXPIS.js} +22 -9
  24. package/dist/{chunk-IZMUO44N.js → chunk-LVH6EINO.js} +5 -5
  25. package/dist/{chunk-G3RY2PNL.js → chunk-LWFYEQVC.js} +4 -4
  26. package/dist/{chunk-KIMPXWRC.js → chunk-MJ2CC5UF.js} +4 -4
  27. package/dist/{chunk-LDJGMHXE.js → chunk-NKJY5K45.js} +4 -4
  28. package/dist/{chunk-DKRTUP7T.js → chunk-PE3YDRXC.js} +2 -2
  29. package/dist/{chunk-PFWYGIIB.js → chunk-PU7263L3.js} +4 -4
  30. package/dist/{chunk-E25JAFOX.js → chunk-PW5V2LBK.js} +3 -3
  31. package/dist/{chunk-JMQJQNH7.js → chunk-QIIIG73M.js} +60 -186
  32. package/dist/{chunk-LDFPMZVN.js → chunk-R7GPNRH3.js} +2 -2
  33. package/dist/{chunk-4TSN5PHA.js → chunk-TVAQLJIT.js} +3 -3
  34. package/dist/{chunk-AA57B6YW.js → chunk-TY4JIQTU.js} +3 -3
  35. package/dist/{chunk-2KZOUSPH.js → chunk-U4EHUN6F.js} +5 -5
  36. package/dist/{chunk-AQK2VHTY.js → chunk-U6SKVYZN.js} +3 -3
  37. package/dist/{chunk-UKECTTQZ.js → chunk-UQLUAYP7.js} +2 -2
  38. package/dist/{chunk-ZZGMPT2W.js → chunk-VDMWZFUE.js} +3 -3
  39. package/dist/{chunk-X2YIODUW.js → chunk-VLBE545G.js} +15 -1237
  40. package/dist/{chunk-5Q7CDSRK.js → chunk-VQVENW26.js} +6 -6
  41. package/dist/{chunk-GU76E24D.js → chunk-VRRM2VMH.js} +6 -6
  42. package/dist/{chunk-F2V6FX7R.js → chunk-WM77PTR2.js} +4 -4
  43. package/dist/chunk-XB6A45UN.js +80 -0
  44. package/dist/{chunk-EG6MBBEN.js → chunk-Y2JP6WFP.js} +2 -2
  45. package/dist/{chunk-UXJEPFC3.js → chunk-ZWG6Y7VK.js} +3 -3
  46. package/dist/cli/commands/auth/login.js +16 -13
  47. package/dist/cli/commands/auth/login.test.js +18 -15
  48. package/dist/cli/commands/auth/logout.js +16 -13
  49. package/dist/cli/commands/auth/logout.test.js +18 -15
  50. package/dist/cli/commands/cache/clear.js +16 -13
  51. package/dist/cli/commands/debug/command-flags.js +16 -13
  52. package/dist/cli/commands/docs/generate.js +16 -13
  53. package/dist/cli/commands/docs/generate.test.js +17 -14
  54. package/dist/cli/commands/help.js +16 -13
  55. package/dist/cli/commands/kitchen-sink/async.js +17 -14
  56. package/dist/cli/commands/kitchen-sink/async.test.js +18 -15
  57. package/dist/cli/commands/kitchen-sink/index.js +19 -16
  58. package/dist/cli/commands/kitchen-sink/index.test.js +20 -17
  59. package/dist/cli/commands/kitchen-sink/prompts.js +17 -14
  60. package/dist/cli/commands/kitchen-sink/prompts.test.js +18 -15
  61. package/dist/cli/commands/kitchen-sink/static.js +17 -14
  62. package/dist/cli/commands/kitchen-sink/static.test.js +18 -15
  63. package/dist/cli/commands/notifications/generate.js +17 -14
  64. package/dist/cli/commands/notifications/list.js +17 -14
  65. package/dist/cli/commands/search.js +17 -14
  66. package/dist/cli/commands/upgrade.js +17 -14
  67. package/dist/cli/commands/upgrade.test.js +1 -1
  68. package/dist/cli/commands/version.js +17 -14
  69. package/dist/cli/commands/version.test.js +18 -15
  70. package/dist/cli/services/commands/notifications.js +12 -9
  71. package/dist/cli/services/commands/search.js +8 -5
  72. package/dist/cli/services/commands/search.test.js +9 -6
  73. package/dist/cli/services/commands/version.js +9 -6
  74. package/dist/cli/services/commands/version.test.js +11 -8
  75. package/dist/cli/services/kitchen-sink/async.js +8 -5
  76. package/dist/cli/services/kitchen-sink/prompts.js +8 -5
  77. package/dist/cli/services/kitchen-sink/static.js +8 -5
  78. package/dist/cli/services/upgrade.js +9 -6
  79. package/dist/cli/services/upgrade.test.js +11 -8
  80. package/dist/{custom-oclif-loader-Y4GWKKAU.js → custom-oclif-loader-QBK7WNIL.js} +18 -11
  81. package/dist/{del-DIPVIUR3.js → del-E4LJOSMR.js} +6 -6
  82. package/dist/{error-handler-WPYX52XY.js → error-handler-YWRJD3ZX.js} +14 -11
  83. package/dist/hooks/postrun.js +14 -72
  84. package/dist/hooks/prerun.js +13 -10
  85. package/dist/{http-proxy-node16-K5X7BUK5.js → http-proxy-node16-VGGP6PLA.js} +5 -5
  86. package/dist/index.js +2882 -1679
  87. package/dist/{lib-EMZRCLCJ.js → lib-G7Q5M6VX.js} +4 -3
  88. package/dist/{local-ZMOSXANE.js → local-DU2CZ6Z3.js} +8 -5
  89. package/dist/{magic-string.es-UZAAPNRE.js → magic-string.es-S5HKFBJX.js} +5 -6
  90. package/dist/{morph-EGK76SED.js → morph-37GC7LQM.js} +16 -20
  91. package/dist/{node-package-manager-4KOKGFQG.js → node-package-manager-W22PEMMM.js} +9 -6
  92. package/dist/{npa-LHT53SWR.js → npa-E675GQOI.js} +5 -3
  93. package/dist/{path-GB4VIEM6.js → path-COZT77T2.js} +2 -2
  94. package/dist/tsconfig.tsbuildinfo +1 -1
  95. package/dist/{ui-YYVT2VLD.js → ui-GTBNK773.js} +8 -5
  96. package/dist/{workerd-35SAC4OI.js → workerd-CT4T6SDW.js} +18 -17
  97. package/oclif.manifest.json +95 -127
  98. package/package.json +8 -8
  99. package/dist/assets/dev-console/extensions/dev-console/assets/index-BteeGmYf.css +0 -1
  100. package/dist/chunk-IWFYXDPH.js +0 -109
  101. /package/dist/assets/dev-console/extensions/dev-console/assets/{index-Cj8WCHlM.js → index-C12jKScn.js} +0 -0
package/README.md CHANGED
@@ -57,7 +57,8 @@ Learn more in the docs: [Shopify CLI for Hydrogen storefronts](https://shopify.d
57
57
 
58
58
  If you encounter issues using the CLI or have feedback you'd like to share with us, below are some options:
59
59
 
60
- - [Open a GitHub issue](https://github.com/Shopify/cli/issues) - To report bugs or request new features, open an issue in the Shopify CLI repository
60
+ - [File a bug report](https://community.shopify.dev/c/shopify-cli-libraries/14) - To report bugs create a post in Shopify CLI and Libraries on the dev community
61
+ - [Ask a question or request a new feature](https://community.shopify.dev/c/dev-platform/32) - To ask a question or request a new feature create a post in Dev Platform on the dev community
61
62
  - [Shopify Community Forums](https://community.shopify.com/) - Visit our forums to connect with the community and learn more about Shopify CLI development
62
63
  - [CLI Documentation - Apps](https://shopify.dev/apps/tools/cli) - To view CLI documentation for app development
63
64
  - [CLI Documentation - Themes](https://shopify.dev/themes/tools/cli) - To view CLI documentation for theme development
@@ -0,0 +1 @@
1
+ ._OuterContainer_15qjc_1{height:100vh;background:var(--dc-color-grey-900);overflow:hidden}._DevTool_15qjc_7{display:flex;flex-direction:column;height:100%;width:100%;color:var(--dc-color-white);font-weight:var(--dc-font-weight);overflow:hidden}._DevTool_15qjc_7 a{color:var(--dc-color-blue-400)}._DevTool_15qjc_7 a:hover,._DevTool_15qjc_7 a:focus{color:var(--dc-color-blue-500)}._DevTool_15qjc_7 main{display:flex;flex:1;overflow:hidden}._DevTool_15qjc_7 svg{width:1.8rem}._Header_15qjc_32{display:flex;justify-content:space-between;height:5.6rem;padding:1.5rem 1.6rem 1rem;background:var(--dc-color-grey-800)}._Header_15qjc_32 svg{fill:var(--dc-color-white)}._Header_15qjc_32 ._HeaderContent_15qjc_42{display:flex;align-items:center;gap:1.3rem}._Header_15qjc_32 h1{font-weight:var(--dc-font-weight-700);font-family:monospace;font-size:1.4rem}._Intro_1aphs_1{height:5.6rem;padding:2.2rem 1.8rem 1.5rem;line-height:1.6rem;color:1px solid var(--dc-color-grey-100);border-bottom:1px solid var(--dc-color-grey-600)}._ExtensionList_1aphs_9{width:100%;overflow:auto;flex:1}._ExtensionList_1aphs_9 table{text-align:left;width:100%;border-collapse:collapse}._ExtensionList_1aphs_9 th{vertical-align:middle}._ExtensionList_1aphs_9._isAppPreview_1aphs_23{font-size:1.1rem}._ExtensionList_1aphs_9._isAppPreview_1aphs_23 th{color:#808689}._ExtensionList_1aphs_9._isAppPreview_1aphs_23 th:first-child,._ExtensionList_1aphs_9._isAppPreview_1aphs_23 td:first-child{padding-left:2rem}._ExtensionList_1aphs_9._isAppPreview_1aphs_23 th,._ExtensionList_1aphs_9._isAppPreview_1aphs_23 td{padding-top:.5rem;padding-bottom:.5rem;vertical-align:middle}._WithIcon_1aphs_39{display:inline-grid;grid-template-columns:auto auto;grid-gap:6px}._Empty_1aphs_45{width:100%;text-align:center;padding:1.5rem}._ActionGroup_1aphs_51{display:flex;justify-content:flex-end}._Button_s4bwx_1{all:unset;padding:.3rem .8rem;display:flex;gap:.6rem;line-height:2rem;font-weight:var(--dc-font-weight-500);background:var(--dc-color-grey-700);border-radius:var(--dc-border-radius);cursor:pointer}._Button_s4bwx_1._WithIcon_s4bwx_12{padding-right:1rem}._Button_s4bwx_1 ._Icon_s4bwx_15{position:relative;top:.1rem}._Button_s4bwx_1:hover,._Button_s4bwx_1:focus{background:var(--dc-color-grey-600)}._Button_s4bwx_1[aria-pressed=true]{background-color:var(--dc-color-blue-500)}._Icon_dakzz_1{display:block;height:2rem;width:2rem;max-height:100%;max-width:100%}svg{position:relative;display:block;max-width:100%;max-height:100%;fill:var(--dc-color-white);margin:0 auto}._Muted_dakzz_18{fill:var(--dc-color-grey-500)}._VisuallyHidden_1p9uv_1{position:absolute!important;width:1px!important;height:1px!important;margin:0!important;padding:0!important;overflow:hidden!important;clip-path:inset(50%)!important;border:0!important;white-space:nowrap!important}._IconButton_wwtfg_1{all:unset;display:flex;align-items:center;width:2.4rem;height:2.4rem;background-color:var(--dc-color-grey-700);border-radius:var(--dc-border-radius);cursor:pointer}._IconButton_wwtfg_1:hover,._IconButton_wwtfg_1:focus{background-color:var(--dc-color-grey-600)}._IconButton_wwtfg_1 ._Icon_wwtfg_1{margin:0 auto;position:relative;top:.1rem}@keyframes _opacity_1yvdu_1{0%{opacity:0}to{opacity:.5}}._Backdrop_1yvdu_9{position:fixed;z-index:10;top:0;right:0;bottom:0;left:0;display:block;background-color:var(--dc-color-grey-900);animation:_opacity_1yvdu_1 .1s 1 forwards}._Container_rwtbo_1{position:fixed;z-index:11;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;justify-content:center;pointer-events:none}._Dialog_rwtbo_14:focus{outline:0}._Modal_rwtbo_18{pointer-events:initial;position:relative;right:0;bottom:0;left:0;display:flex;flex-direction:column;width:62rem;margin:0 auto;max-height:calc(100vh - 6rem);border-radius:var(--dc-border-radius-2);background:var(--dc-color-grey-700);box-shadow:0 0 1px #0003,0 26px 80px #0003}._Modal_rwtbo_18._Width-large_rwtbo_33{width:62rem}._Modal_rwtbo_18._Width-small_rwtbo_36{width:45rem}._animateFadeUp_rwtbo_40{will-change:transform,opacity;opacity:1;transform:translateY(0);transition:transform .2s,opacity .2s}._animateFadeUp_rwtbo_40._entering_rwtbo_46,._animateFadeUp_rwtbo_40._exiting_rwtbo_46,._animateFadeUp_rwtbo_40._exited_rwtbo_46{opacity:0;transform:translateY(20rem)}._animateFadeUp_rwtbo_40._entered_rwtbo_50{opacity:1;transform:translateY(0)}._Header_rltzr_1{display:flex;align-items:center;flex-shrink:0;height:6.2rem;padding:2rem 2rem 1.8rem;border-bottom:1px solid var(--dc-color-grey-600)}._Title_rltzr_10{word-wrap:break-word;word-break:break-word;overflow-wrap:break-word;flex:1;align-self:center;font-size:1.6rem}._Title_rltzr_10 h2{font-weight:var(--dc-font-weight-600)}._BodyWrapper_11cpl_1{display:flex;flex-grow:1;overflow-x:hidden;-webkit-overflow-scrolling:touch;padding:2.6rem 2.4rem}._BodyWrapper_11cpl_1 button{background-color:var(--dc-color-grey-600)}._BodyWrapper_11cpl_1 button:hover,._BodyWrapper_11cpl_1 button:focus{background-color:var(--dc-color-grey-500)}._Title_mda4k_1{font-weight:var(--dc-font-weight-400)}._PreviewLinksTitle_w3znb_1{display:block;padding-bottom:1rem;font-weight:var(--dc-font-weight-500)}._PreviewLinks_w3znb_1{display:flex;flex-direction:column;gap:1rem;padding-left:.8rem;padding-right:.8rem}._PreviewLink_w3znb_1{display:flex;align-items:center;gap:2.6rem}._NotApplicable_d2d93_1{font-weight:var(--dc-font-weight-200)}._PreviewLinksTitle_18l39_1{font-style:italic}._PreviewLinks_18l39_1{display:grid;padding-left:.6rem;padding-right:.6rem}._PreviewLink_18l39_1{display:flex;align-items:center;gap:.6rem;font-weight:var(--dc-font-weight-500)}._Wrapper_1tz7v_1{display:flex;gap:2.4rem}._LeftColumn_1tz7v_6{width:17.5rem;display:flex;flex-direction:column;gap:1.2rem;line-height:1.4rem;font-size:1.2rem}._QRCode_1tz7v_15{display:block;padding:.2rem .2rem 0;background:var(--dc-color-white)}._RightColumn_1tz7v_21{font-size:1.2rem;line-height:1.8rem;display:flex;flex-direction:column;gap:.8rem}._UrlCta_1tz7v_29{display:flex;gap:.8rem;align-items:center}._Url_1tz7v_29{font-size:1.1rem;line-height:1.6rem;word-break:break-all;color:var(--dc-color-grey-400)}._Row_1rpxh_1{border-bottom:1px solid var(--dc-color-grey-600)}._Row_1rpxh_1 th{padding:1.2rem 6.9rem 1.2rem 0;line-height:1.6rem;font-weight:var(--dc-font-weight-600)}._Row_1rpxh_1._Hoverable_1rpxh_9:hover{background-color:#03123133}._Row_1rpxh_1 th:first-child,._Row_1rpxh_1 td:first-child{padding-left:1.8rem}._Row_1rpxh_1 td{padding:1.6rem 6.9rem 1.5rem 0;vertical-align:top}._Row_1rpxh_1 th:last-child,._Row_1rpxh_1 td:last-child{padding-right:1.8rem}._Status_1aimo_1{display:flex;gap:.6rem;align-items:center;white-space:nowrap;font-weight:var(--dc-font-weight-500);color:var(--dc-color-grey-400)}._success_1aimo_10,._disconnected_1aimo_11,._error_1aimo_12{display:inline-block;width:1.2rem;height:1.2rem;border-radius:50%}._success_1aimo_10{background:var(--dc-color-green)}._disconnected_1aimo_11,._error_1aimo_12{background:var(--dc-color-red)}._Tooltip_ru6ke_1{display:inline-block}._Tooltip_ru6ke_1:hover{cursor:help}._TooltipUnderline_ru6ke_9{text-align:baseline;border-bottom:1px dotted var(--dc-color-grey-500);margin-bottom:-1px}:root{--tooltip-popover-max-width: 250px}._Popover_1ehpl_5{position:fixed;background-color:var(--dc-color-grey-600);color:var(--dc-color-white);font-weight:400;padding:1rem;border-radius:4px;width:max-content;max-width:var(--tooltip-popover-max-width);white-space:pre-wrap;word-break:break-word;word-wrap:break-word;z-index:9999;box-shadow:0 3px 6px -3px #17181814,0 8px 20px -4px #1718181f}._Toast_1qbvq_1{--toastify-color-dark: var(--dc-color-grey-700);--toastify-color-info: var(--dc-color-blue-400);--toastify-color-success: var(--dc-color-green);--toastify-color-warning: var(--dc-color-red);--toastify-color-error: var(--dc-color-red);--toastify-color-transparent: rgba(255, 255, 255, .7);--toastify-icon-color-info: var(--dc-color-blue-400);--toastify-icon-color-success: var(--dc-color-green);--toastify-icon-color-warning: var(--dc-color-red);--toastify-icon-color-error: var(--dc-color-red);--toastify-toast-width: 32rem;--toastify-toast-background: var(--dc-color-white);--toastify-toast-min-height: 4.4rem;--toastify-toast-max-height: 4.4rem;--toastify-z-index: 9999;--toastify-text-color-dark: var(--dc-color-white);--toastify-text-color-info: var(--dc-color-white);--toastify-text-color-success: var(--dc-color-white);--toastify-text-color-warning: var(--dc-color-white);--toastify-text-color-error: var(--dc-color-white);--toastify-spinner-color: var(--dc-color-grey-500);--toastify-spinner-color-empty-area: var(--dc-color-white);--toastify-color-progress-dark: var(--dc-color-blue-400);--toastify-color-progress-info: var(--toastify-color-info);--toastify-color-progress-success: var(--toastify-color-success);--toastify-color-progress-warning: var(--toastify-color-warning);--toastify-color-progress-error: var(--toastify-color-error)}:root{--toastify-color-light: #fff;--toastify-color-dark: #121212;--toastify-color-info: #3498db;--toastify-color-success: #07bc0c;--toastify-color-warning: #f1c40f;--toastify-color-error: #e74c3c;--toastify-color-transparent: rgba(255, 255, 255, .7);--toastify-icon-color-info: var(--toastify-color-info);--toastify-icon-color-success: var(--toastify-color-success);--toastify-icon-color-warning: var(--toastify-color-warning);--toastify-icon-color-error: var(--toastify-color-error);--toastify-toast-width: 320px;--toastify-toast-background: #fff;--toastify-toast-min-height: 64px;--toastify-toast-max-height: 800px;--toastify-font-family: sans-serif;--toastify-z-index: 9999;--toastify-text-color-light: #757575;--toastify-text-color-dark: #fff;--toastify-text-color-info: #fff;--toastify-text-color-success: #fff;--toastify-text-color-warning: #fff;--toastify-text-color-error: #fff;--toastify-spinner-color: #616161;--toastify-spinner-color-empty-area: #e0e0e0;--toastify-color-progress-light: linear-gradient( to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55 );--toastify-color-progress-dark: #bb86fc;--toastify-color-progress-info: var(--toastify-color-info);--toastify-color-progress-success: var(--toastify-color-success);--toastify-color-progress-warning: var(--toastify-color-warning);--toastify-color-progress-error: var(--toastify-color-error)}.Toastify__toast-container{z-index:var(--toastify-z-index);-webkit-transform:translate3d(0,0,var(--toastify-z-index));position:fixed;padding:4px;width:var(--toastify-toast-width);box-sizing:border-box;color:#fff}.Toastify__toast-container--top-left{top:1em;left:1em}.Toastify__toast-container--top-center{top:1em;left:50%;transform:translate(-50%)}.Toastify__toast-container--top-right{top:1em;right:1em}.Toastify__toast-container--bottom-left{bottom:1em;left:1em}.Toastify__toast-container--bottom-center{bottom:1em;left:50%;transform:translate(-50%)}.Toastify__toast-container--bottom-right{bottom:1em;right:1em}@media only screen and (max-width:480px){.Toastify__toast-container{width:100vw;padding:0;left:0;margin:0}.Toastify__toast-container--top-left,.Toastify__toast-container--top-center,.Toastify__toast-container--top-right{top:0;transform:translate(0)}.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-right{bottom:0;transform:translate(0)}.Toastify__toast-container--rtl{right:0;left:initial}}.Toastify__toast{position:relative;min-height:var(--toastify-toast-min-height);box-sizing:border-box;margin-bottom:1rem;padding:8px;border-radius:4px;box-shadow:0 1px 10px #0000001a,0 2px 15px #0000000d;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;max-height:var(--toastify-toast-max-height);overflow:hidden;font-family:var(--toastify-font-family);cursor:default;direction:ltr;z-index:0}.Toastify__toast--rtl{direction:rtl}.Toastify__toast--close-on-click{cursor:pointer}.Toastify__toast-body{margin:auto 0;-ms-flex:1 1 auto;flex:1 1 auto;padding:6px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.Toastify__toast-body>div:last-child{word-break:break-word;-ms-flex:1;flex:1}.Toastify__toast-icon{-webkit-margin-end:10px;margin-inline-end:10px;width:20px;-ms-flex-negative:0;flex-shrink:0;display:-ms-flexbox;display:flex}.Toastify--animate{animation-fill-mode:both;animation-duration:.7s}.Toastify--animate-icon{animation-fill-mode:both;animation-duration:.3s}@media only screen and (max-width:480px){.Toastify__toast{margin-bottom:0;border-radius:0}}.Toastify__toast-theme--dark{background:var(--toastify-color-dark);color:var(--toastify-text-color-dark)}.Toastify__toast-theme--light,.Toastify__toast-theme--colored.Toastify__toast--default{background:var(--toastify-color-light);color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--info{color:var(--toastify-text-color-info);background:var(--toastify-color-info)}.Toastify__toast-theme--colored.Toastify__toast--success{color:var(--toastify-text-color-success);background:var(--toastify-color-success)}.Toastify__toast-theme--colored.Toastify__toast--warning{color:var(--toastify-text-color-warning);background:var(--toastify-color-warning)}.Toastify__toast-theme--colored.Toastify__toast--error{color:var(--toastify-text-color-error);background:var(--toastify-color-error)}.Toastify__progress-bar-theme--light{background:var(--toastify-color-progress-light)}.Toastify__progress-bar-theme--dark{background:var(--toastify-color-progress-dark)}.Toastify__progress-bar--info{background:var(--toastify-color-progress-info)}.Toastify__progress-bar--success{background:var(--toastify-color-progress-success)}.Toastify__progress-bar--warning{background:var(--toastify-color-progress-warning)}.Toastify__progress-bar--error{background:var(--toastify-color-progress-error)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error{background:var(--toastify-color-transparent)}.Toastify__close-button{color:#fff;background:transparent;outline:none;border:none;padding:0;cursor:pointer;opacity:.7;transition:.3s ease;-ms-flex-item-align:start;align-self:flex-start}.Toastify__close-button--light{color:#000;opacity:.3}.Toastify__close-button>svg{fill:currentColor;height:16px;width:14px}.Toastify__close-button:hover,.Toastify__close-button:focus{opacity:1}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:5px;z-index:var(--toastify-z-index);opacity:.7;transform-origin:left}.Toastify__progress-bar--animated{animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{right:0;left:initial;transform-origin:right}.Toastify__spinner{width:20px;height:20px;box-sizing:border-box;border:2px solid;border-radius:100%;border-color:var(--toastify-spinner-color-empty-area);border-right-color:var(--toastify-spinner-color);animation:Toastify__spin .65s linear infinite}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(2000px,0,0)}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--top-left,.Toastify__bounce-enter--bottom-left{animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--top-right,.Toastify__bounce-enter--bottom-right{animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--top-left,.Toastify__bounce-exit--bottom-left{animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--top-right,.Toastify__bounce-exit--bottom-right{animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{animation-name:Toastify__bounceOutDown}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:scale3d(.3,.3,.3)}to{opacity:0}}.Toastify__zoom-enter{animation-name:Toastify__zoomIn}.Toastify__zoom-exit{animation-name:Toastify__zoomOut}@keyframes Toastify__flipIn{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipOut{0%{transform:perspective(400px)}30%{transform:perspective(400px) rotateX(-20deg);opacity:1}to{transform:perspective(400px) rotateX(90deg);opacity:0}}.Toastify__flip-enter{animation-name:Toastify__flipIn}.Toastify__flip-exit{animation-name:Toastify__flipOut}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translateZ(0)}}@keyframes Toastify__slideOutRight{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(110%,0,0)}}@keyframes Toastify__slideOutLeft{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(-110%,0,0)}}@keyframes Toastify__slideOutDown{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@keyframes Toastify__slideOutUp{0%{transform:translateZ(0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}.Toastify__slide-enter--top-left,.Toastify__slide-enter--bottom-left{animation-name:Toastify__slideInLeft}.Toastify__slide-enter--top-right,.Toastify__slide-enter--bottom-right{animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{animation-name:Toastify__slideInUp}.Toastify__slide-exit--top-left,.Toastify__slide-exit--bottom-left{animation-name:Toastify__slideOutLeft}.Toastify__slide-exit--top-right,.Toastify__slide-exit--bottom-right{animation-name:Toastify__slideOutRight}.Toastify__slide-exit--top-center{animation-name:Toastify__slideOutUp}.Toastify__slide-exit--bottom-center{animation-name:Toastify__slideOutDown}@keyframes Toastify__spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:root{--polaris-version-number: "6.6.0";--polaris-animation-skeleton-shimmer: polaris-SkeletonShimmerAnimation}html,body{font-size:1.3rem;line-height:2rem;text-transform:initial;letter-spacing:initial;font-weight:400;color:var(--p-text)}html,body,button{font-family:-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif}html{position:relative;font-size:62.5%;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%;text-size-adjust:100%;text-rendering:optimizeLegibility}body{min-height:100%;margin:0;padding:0;background-color:#f4f6f8}@media print{body{background-color:transparent!important}}*,*:before,*:after{box-sizing:border-box}h1,h2,h3,h4,h5,h6,p{margin:0;font-size:1em;font-weight:400}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none}._Theme_1aigu_1{--dc-color-grey-900: rgb(13, 13, 13);--dc-color-grey-800: rgb(25, 25, 25);--dc-color-grey-700: rgb(36, 36, 36);--dc-color-grey-600: rgb(49, 51, 53);--dc-color-grey-500: rgb(120, 125, 129);--dc-color-grey-400: rgb(157, 161, 164);--dc-color-grey-100: rgb(235, 235, 235);--dc-color-blue-500: #36A3FF;--dc-color-blue-400: rgb(91, 206, 255);--dc-color-white: rgb(255, 255, 255);--dc-color-green: rgb(0, 244, 185);--dc-color-red: rgb(255, 87, 77);--dc-font-weight-400: 200;--dc-font-weight-400: 400;--dc-font-weight-500: 600;--dc-font-weight-600: 600;--dc-font-weight-700: 700;--dc-border-radius: .4rem;--dc-border-radius-2: .8rem}
@@ -12,8 +12,8 @@
12
12
  <meta name="theme-color" content="#ffffff">
13
13
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
14
14
  <title>UI Extensions DevConsole</title>
15
- <script type="module" crossorigin src="/extensions/dev-console/assets/index-Cj8WCHlM.js"></script>
16
- <link rel="stylesheet" crossorigin href="/extensions/dev-console/assets/index-BteeGmYf.css">
15
+ <script type="module" crossorigin src="/extensions/dev-console/assets/index-C12jKScn.js"></script>
16
+ <link rel="stylesheet" crossorigin href="/extensions/dev-console/assets/index-0hw3R_TS.css">
17
17
  </head>
18
18
  <body>
19
19
  <div id="root"></div>
@@ -18,7 +18,7 @@ import {
18
18
  sanitizedHeadersOutput,
19
19
  shopifyFetch,
20
20
  z
21
- } from "./chunk-7TE554OT.js";
21
+ } from "./chunk-LMVYXPIS.js";
22
22
  import {
23
23
  cacheRetrieveOrRepopulate,
24
24
  getCurrentSessionId,
@@ -30,10 +30,10 @@ import {
30
30
  setCurrentSessionId,
31
31
  setSessions,
32
32
  timeIntervalToMilliseconds
33
- } from "./chunk-UAYSVXRU.js";
33
+ } from "./chunk-4X3OSIUW.js";
34
34
  import {
35
35
  CLI_KIT_VERSION
36
- } from "./chunk-LDFPMZVN.js";
36
+ } from "./chunk-R7GPNRH3.js";
37
37
  import {
38
38
  AbortError,
39
39
  BugError,
@@ -96,10 +96,10 @@ import {
96
96
  sessionConstants,
97
97
  stringifyMessage,
98
98
  themeToken
99
- } from "./chunk-JMQJQNH7.js";
99
+ } from "./chunk-QIIIG73M.js";
100
100
  import {
101
101
  cwd
102
- } from "./chunk-EG6MBBEN.js";
102
+ } from "./chunk-Y2JP6WFP.js";
103
103
  import {
104
104
  __commonJS,
105
105
  __require,
@@ -3672,11 +3672,18 @@ async function requestDeviceAuthorization(scopes) {
3672
3672
  method: "POST",
3673
3673
  headers: { "Content-type": "application/x-www-form-urlencoded" },
3674
3674
  body: convertRequestToParams(queryParams)
3675
- }), jsonResult;
3675
+ }), responseText;
3676
3676
  try {
3677
- jsonResult = await response.json();
3677
+ responseText = await response.text();
3678
3678
  } catch {
3679
- throw new BugError("Received unexpected response from the authorization service. If this issue persists, please contact support at https://help.shopify.com");
3679
+ throw new BugError(`Failed to read response from authorization service (HTTP ${response.status}). Network or streaming error occurred.`, "Check your network connection and try again.");
3680
+ }
3681
+ let jsonResult;
3682
+ try {
3683
+ jsonResult = JSON.parse(responseText);
3684
+ } catch {
3685
+ let errorMessage = buildAuthorizationParseErrorMessage(response, responseText);
3686
+ throw new BugError(errorMessage);
3680
3687
  }
3681
3688
  if (outputDebug(outputContent`Received device authorization code: ${outputToken.json(jsonResult)}`), !jsonResult.device_code || !jsonResult.verification_uri_complete)
3682
3689
  throw new BugError("Failed to start authorization process");
@@ -3712,15 +3719,12 @@ async function pollForDeviceAuthorization(code, interval = 5) {
3712
3719
  return;
3713
3720
  }
3714
3721
  case "slow_down":
3715
- currentIntervalInSeconds += 5;
3716
- {
3717
- startPolling();
3718
- return;
3719
- }
3722
+ currentIntervalInSeconds += 5, startPolling();
3723
+ return;
3720
3724
  case "access_denied":
3721
3725
  case "expired_token":
3722
3726
  case "unknown_failure":
3723
- reject(result);
3727
+ reject(new Error(`Device authorization failed: ${error}`));
3724
3728
  }
3725
3729
  }, startPolling = () => {
3726
3730
  setTimeout(onPoll, currentIntervalInSeconds * 1e3);
@@ -3731,6 +3735,10 @@ async function pollForDeviceAuthorization(code, interval = 5) {
3731
3735
  function convertRequestToParams(queryParams) {
3732
3736
  return Object.entries(queryParams).map(([key, value]) => value && `${key}=${value}`).filter((hasValue) => !!hasValue).join("&");
3733
3737
  }
3738
+ function buildAuthorizationParseErrorMessage(response, responseText) {
3739
+ let errorMessage = `Received invalid response from authorization service (HTTP ${response.status}).`;
3740
+ return response.status >= 500 ? errorMessage += " The service may be experiencing issues." : response.status >= 400 && (errorMessage += " The request may be malformed or unauthorized."), responseText.trim().startsWith("<!DOCTYPE") || responseText.trim().startsWith("<html") ? errorMessage += " Received HTML instead of JSON - the service endpoint may have changed." : responseText.trim() === "" ? errorMessage += " Received empty response body." : errorMessage += " Response could not be parsed as valid JSON.", `${errorMessage} If this issue persists, please contact support at https://help.shopify.com`;
3741
+ }
3734
3742
 
3735
3743
  // ../cli-kit/dist/private/node/api/rest.js
3736
3744
  init_cjs_shims();
@@ -4421,7 +4429,7 @@ function tokenRequestErrorHandler({ error, store: store2 }) {
4421
4429
  let invalidTargetErrorMessage = `You are not authorized to use the CLI to develop in the provided store${store2 ? `: ${store2}` : "."}`;
4422
4430
  return error === "invalid_grant" ? new InvalidGrantError() : error === "invalid_request" ? new InvalidRequestError() : error === "invalid_target" ? new InvalidTargetError(invalidTargetErrorMessage, "", [
4423
4431
  "Ensure you have logged in to the store using the Shopify admin at least once.",
4424
- "Ensure you are the store owner, or have a staff account if you are attempting to log in to a development store.",
4432
+ "Ensure you are the store owner, or have a staff account if you are attempting to log in to a dev store.",
4425
4433
  "Ensure you are using the permanent store domain, not a vanity domain."
4426
4434
  ]) : new AbortError(error);
4427
4435
  }
@@ -4585,9 +4593,13 @@ async function getEnvironmentData(config) {
4585
4593
  }
4586
4594
  async function getSensitiveEnvironmentData(config) {
4587
4595
  return {
4588
- env_plugin_installed_all: JSON.stringify(getPluginNames(config))
4596
+ env_plugin_installed_all: JSON.stringify(getPluginNames(config)),
4597
+ env_shopify_variables: JSON.stringify(getShopifyEnvironmentVariables())
4589
4598
  };
4590
4599
  }
4600
+ function getShopifyEnvironmentVariables() {
4601
+ return Object.fromEntries(Object.entries(process.env).filter(([key]) => key.startsWith("SHOPIFY_")));
4602
+ }
4591
4603
  function getPluginNames(config) {
4592
4604
  return [...config.plugins.keys()].sort().filter((plugin) => !plugin.startsWith("@oclif/"));
4593
4605
  }
@@ -4659,4 +4671,4 @@ export {
4659
4671
  getEnvironmentData,
4660
4672
  getSensitiveEnvironmentData
4661
4673
  };
4662
- //# sourceMappingURL=chunk-NMH42STK.js.map
4674
+ //# sourceMappingURL=chunk-43MAAODZ.js.map