@shopify/cli 3.59.0 → 3.59.1

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 (84) hide show
  1. package/dist/assets/cli-ruby/lib/shopify_cli/theme/dev_server/proxy.rb +17 -12
  2. package/dist/assets/cli-ruby/lib/shopify_cli/theme/repl/api.rb +3 -1
  3. package/dist/assets/cli-ruby/lib/shopify_cli/theme/repl/auth_middleware.rb +1 -1
  4. package/dist/assets/cli-ruby/test/shopify-cli/theme/dev_server/integration_test.rb +1 -1
  5. package/dist/assets/cli-ruby/test/shopify-cli/theme/dev_server/proxy_test.rb +14 -14
  6. package/dist/assets/cli-ruby/test/shopify-cli/theme/repl/api_test.rb +3 -2
  7. package/dist/{chunk-HYTSORDJ.js → chunk-46VGUYHL.js} +4 -4
  8. package/dist/{chunk-A3PWVEGU.js → chunk-474I4TNL.js} +1 -1
  9. package/dist/{chunk-MALZ76OP.js → chunk-5FVTOE7H.js} +3 -3
  10. package/dist/{chunk-24HS7TWV.js → chunk-5PRVQL5W.js} +1 -1
  11. package/dist/{chunk-PIMN67IT.js → chunk-5Q5JPLAQ.js} +3 -3
  12. package/dist/{chunk-3N5TYEOJ.js → chunk-6VZG567Q.js} +1 -1
  13. package/dist/{chunk-5Y3PYHUV.js → chunk-AIMRWD2B.js} +1 -1
  14. package/dist/{chunk-3FAYPDRE.js → chunk-BQPGK47Z.js} +3 -3
  15. package/dist/{chunk-VRVCUORY.js → chunk-DNXLPUNM.js} +1 -1
  16. package/dist/{chunk-LX5XSNJA.js → chunk-E5SJTLHV.js} +2 -2
  17. package/dist/{chunk-WOXAXDMN.js → chunk-EEBRWEML.js} +2 -2
  18. package/dist/{chunk-IQHXR2SR.js → chunk-GUG5KVQ6.js} +2 -2
  19. package/dist/{chunk-RY6HWBIC.js → chunk-JSBTYUEY.js} +2 -2
  20. package/dist/{chunk-IEB4F2KL.js → chunk-KHNWSWRU.js} +4 -4
  21. package/dist/{chunk-W6C6L4NU.js → chunk-KVSDXR4N.js} +2 -2
  22. package/dist/{chunk-VIZQZ55O.js → chunk-M4KCCI7R.js} +5 -5
  23. package/dist/{chunk-X6A6KRIL.js → chunk-NEHSJUDS.js} +1 -1
  24. package/dist/{chunk-AL5Y74NR.js → chunk-OPMRCCAR.js} +1 -1
  25. package/dist/{chunk-UNHOUSEY.js → chunk-Q4XYWLXO.js} +3 -3
  26. package/dist/{chunk-5INB6W36.js → chunk-QL4CKEQX.js} +2 -2
  27. package/dist/{chunk-4B2YUKUA.js → chunk-QUG53NP3.js} +3 -3
  28. package/dist/{chunk-S7GFY3LX.js → chunk-RDH73H62.js} +2 -2
  29. package/dist/{chunk-OK52H3G3.js → chunk-RJ2SJHQV.js} +1 -1
  30. package/dist/{chunk-O54SR2VW.js → chunk-VU576BU3.js} +1 -1
  31. package/dist/{chunk-YFA2TIGX.js → chunk-VZSOGTSS.js} +2 -2
  32. package/dist/{chunk-LKVSWZE2.js → chunk-W7UHREAK.js} +5 -5
  33. package/dist/{chunk-5RO6P4KC.js → chunk-WF3T42FP.js} +3 -3
  34. package/dist/{chunk-Q4DJPQVJ.js → chunk-WLI2DSQT.js} +1 -1
  35. package/dist/{chunk-O6G6LT7G.js → chunk-XDRGS6BV.js} +3 -3
  36. package/dist/{chunk-LXSVXK4X.js → chunk-XPPFOOYS.js} +2 -2
  37. package/dist/{chunk-VQ7HIBHK.js → chunk-YIDMIL55.js} +1 -1
  38. package/dist/cli/commands/auth/logout.js +9 -9
  39. package/dist/cli/commands/auth/logout.test.js +10 -10
  40. package/dist/cli/commands/debug/command-flags.js +9 -9
  41. package/dist/cli/commands/demo/catalog.js +10 -10
  42. package/dist/cli/commands/demo/generate-file.js +10 -10
  43. package/dist/cli/commands/demo/index.js +9 -9
  44. package/dist/cli/commands/demo/print-ai-prompt.js +10 -10
  45. package/dist/cli/commands/docs/generate.js +9 -9
  46. package/dist/cli/commands/docs/generate.test.js +9 -9
  47. package/dist/cli/commands/help.js +9 -9
  48. package/dist/cli/commands/hydrogen/init.js +9 -9
  49. package/dist/cli/commands/kitchen-sink/async.js +10 -10
  50. package/dist/cli/commands/kitchen-sink/async.test.js +10 -10
  51. package/dist/cli/commands/kitchen-sink/index.js +12 -12
  52. package/dist/cli/commands/kitchen-sink/index.test.js +12 -12
  53. package/dist/cli/commands/kitchen-sink/prompts.js +10 -10
  54. package/dist/cli/commands/kitchen-sink/prompts.test.js +10 -10
  55. package/dist/cli/commands/kitchen-sink/static.js +10 -10
  56. package/dist/cli/commands/kitchen-sink/static.test.js +10 -10
  57. package/dist/cli/commands/search.js +10 -10
  58. package/dist/cli/commands/upgrade.js +9 -9
  59. package/dist/cli/commands/version.js +10 -10
  60. package/dist/cli/commands/version.test.js +10 -10
  61. package/dist/cli/services/commands/search.js +2 -2
  62. package/dist/cli/services/commands/search.test.js +2 -2
  63. package/dist/cli/services/commands/version.js +4 -4
  64. package/dist/cli/services/commands/version.test.js +5 -5
  65. package/dist/cli/services/demo.js +2 -2
  66. package/dist/cli/services/demo.test.js +2 -2
  67. package/dist/cli/services/kitchen-sink/async.js +2 -2
  68. package/dist/cli/services/kitchen-sink/prompts.js +2 -2
  69. package/dist/cli/services/kitchen-sink/static.js +2 -2
  70. package/dist/cli/services/upgrade.js +3 -3
  71. package/dist/cli/services/upgrade.test.js +5 -5
  72. package/dist/{custom-oclif-loader-UTMYCFLJ.js → custom-oclif-loader-PEDCR5Q4.js} +1 -1
  73. package/dist/{error-handler-MZEB7CLD.js → error-handler-RT4TFLRY.js} +7 -7
  74. package/dist/hooks/init.js +1 -1
  75. package/dist/hooks/postrun.js +6 -6
  76. package/dist/hooks/prerun.js +4 -4
  77. package/dist/index.js +35 -35
  78. package/dist/{local-SH2XLH36.js → local-4BEULIQX.js} +1 -1
  79. package/dist/{node-package-manager-6XDVWLBL.js → node-package-manager-2NYMYQSZ.js} +2 -2
  80. package/dist/{system-CVNXYMLE.js → system-6RRP4ATR.js} +1 -1
  81. package/dist/tsconfig.tsbuildinfo +1 -1
  82. package/dist/{ui-4BJ4KPWN.js → ui-AMNHFGRM.js} +1 -1
  83. package/oclif.manifest.json +1 -1
  84. package/package.json +3 -3
@@ -25,8 +25,8 @@ module ShopifyCLI
25
25
  ]
26
26
 
27
27
  class Proxy
28
- SESSION_COOKIE_NAME = "_secure_session_id"
29
- SESSION_COOKIE_REGEXP = /#{SESSION_COOKIE_NAME}=(\h+)/
28
+ SESSION_COOKIE_NAME = "_shopify_essential"
29
+ SESSION_COOKIE_REGEXP = /#{SESSION_COOKIE_NAME}=([^;]*)(;|$)/
30
30
  SESSION_COOKIE_MAX_AGE = 60 * 60 * 23 # 1 day - leeway of 1h
31
31
  IGNORED_ENDPOINTS = %w[
32
32
  shopify/monorail
@@ -58,7 +58,8 @@ module ShopifyCLI
58
58
  query = URI.decode_www_form(env["QUERY_STRING"])
59
59
  replace_templates = build_replacement_param(env)
60
60
 
61
- clean_sfr_cache(env, query, headers)
61
+ response = set_preview_theme_id(env, query, headers)
62
+ return serve_response(response, env) if response
62
63
 
63
64
  response = if replace_templates.any?
64
65
  # Pass to SFR the recently modified templates in `replace_templates` or
@@ -87,16 +88,14 @@ module ShopifyCLI
87
88
  @core_endpoints << env["PATH_INFO"]
88
89
  end
89
90
 
90
- body = patch_body(env, response.body)
91
- body = [body] unless body.respond_to?(:each)
92
- [response.code, headers, body]
91
+ serve_response(response, env, headers)
93
92
  end
94
93
 
95
94
  def secure_session_id
96
95
  if secure_session_id_expired?
97
- @ctx.debug("Refreshing preview _secure_session_id cookie")
96
+ @ctx.debug("Refreshing preview _shopify_essential cookie")
98
97
  response = request("HEAD", "/", query: [[:preview_theme_id, theme_id]])
99
- @secure_session_id = extract_secure_session_id_from_response_headers(response)
98
+ @secure_session_id = extract_shopify_essential_from_response_headers(response)
100
99
  @last_session_cookie_refresh = Time.now
101
100
  end
102
101
 
@@ -105,7 +104,13 @@ module ShopifyCLI
105
104
 
106
105
  private
107
106
 
108
- def clean_sfr_cache(env, query, headers)
107
+ def serve_response(response, env, headers = get_response_headers(response, env))
108
+ body = patch_body(env, response.body)
109
+ body = [body] unless body.respond_to?(:each)
110
+ [response.code, headers, body]
111
+ end
112
+
113
+ def set_preview_theme_id(env, query, headers)
109
114
  if env["PATH_INFO"].start_with?("/password")
110
115
  @cache_cleaned = false
111
116
  return
@@ -215,7 +220,7 @@ module ShopifyCLI
215
220
  Time.now - @last_session_cookie_refresh >= SESSION_COOKIE_MAX_AGE
216
221
  end
217
222
 
218
- def extract_secure_session_id_from_response_headers(headers)
223
+ def extract_shopify_essential_from_response_headers(headers)
219
224
  return unless headers["set-cookie"]
220
225
 
221
226
  headers["set-cookie"][SESSION_COOKIE_REGEXP, 1]
@@ -235,9 +240,9 @@ module ShopifyCLI
235
240
  response_headers["location"].gsub!(%r{(https://#{shop})}, "http://#{host(env)}")
236
241
  end
237
242
 
238
- new_session_id = extract_secure_session_id_from_response_headers(response_headers)
243
+ new_session_id = extract_shopify_essential_from_response_headers(response_headers)
239
244
  if new_session_id
240
- @ctx.debug("New _secure_session_id cookie from response")
245
+ @ctx.debug("New _shopify_essential cookie from response")
241
246
  @secure_session_id = new_session_id
242
247
  @last_session_cookie_refresh = Time.now
243
248
  end
@@ -4,6 +4,8 @@ module ShopifyCLI
4
4
  module Theme
5
5
  class Repl
6
6
  class Api
7
+ SESSION_COOKIE_NAME = DevServer::Proxy::SESSION_COOKIE_NAME
8
+
7
9
  attr_reader :ctx, :url, :repl
8
10
 
9
11
  def initialize(ctx, url, repl)
@@ -60,7 +62,7 @@ module ShopifyCLI
60
62
  end
61
63
 
62
64
  def cookie
63
- @cookie ||= "storefront_digest=#{repl.storefront_digest}; _secure_session_id=#{repl.secure_session_id}"
65
+ @cookie ||= "storefront_digest=#{repl.storefront_digest}; #{SESSION_COOKIE_NAME}=#{repl.secure_session_id}"
64
66
  end
65
67
 
66
68
  def shop
@@ -17,7 +17,7 @@ module ShopifyCLI
17
17
  @env = env
18
18
  @env["PATH_INFO"] = PASSWORD_PAGE_PATH if redirect_to_password?(@env)
19
19
 
20
- return @app.call(@env) if password_page?(@env)
20
+ return @app.call(@env) if password_page?(@env) || (storefront_session.nil? || secure_session.nil?)
21
21
 
22
22
  authenticate!
23
23
 
@@ -49,7 +49,7 @@ module ShopifyCLI
49
49
  .to_return(
50
50
  status: 200,
51
51
  headers: {
52
- "Set-Cookie" => "_secure_session_id=abcd1234",
52
+ "Set-Cookie" => "_shopify_essential=abcd1234",
53
53
  }
54
54
  )
55
55
  stub_sfr = stub_request(:get, "https://dev-theme-server-store.myshopify.com/?_fd=0&pb=0")
@@ -104,13 +104,13 @@ module ShopifyCLI
104
104
  .with(headers: { "X-Shopify-Shop" => store })
105
105
  .to_return(
106
106
  status: 200,
107
- headers: { "Set-Cookie" => "_secure_session_id=#{SECURE_SESSION_ID}" },
107
+ headers: { "Set-Cookie" => "_shopify_essential=#{SECURE_SESSION_ID}" },
108
108
  )
109
109
  stub_request(:get, "https://theme-kit-access.shopifyapps.com/cli/sfr/?_fd=0&pb=0")
110
110
  .with(
111
111
  headers: {
112
112
  "Content-Length" => "0",
113
- "Cookie" => "_secure_session_id=deadbeef",
113
+ "Cookie" => "_shopify_essential=deadbeef",
114
114
  "X-Shopify-Shop" => store,
115
115
  },
116
116
  )
@@ -163,20 +163,20 @@ module ShopifyCLI
163
163
 
164
164
  def test_update_session_cookie_when_returned_from_backend
165
165
  stub_session_id_request
166
- new_secure_session_id = "#{SECURE_SESSION_ID}2"
166
+ new_shopify_essential = "#{SECURE_SESSION_ID}2"
167
167
 
168
168
  # POST response returning a new session cookie (Set-Cookie)
169
169
  stub_request(:post, "https://dev-theme-server-store.myshopify.com/account/login?_fd=0&pb=0")
170
170
  .with(
171
171
  headers: {
172
- "Cookie" => "_secure_session_id=#{SECURE_SESSION_ID}",
172
+ "Cookie" => "_shopify_essential=#{SECURE_SESSION_ID}",
173
173
  },
174
174
  )
175
175
  .to_return(
176
176
  status: 200,
177
177
  body: "",
178
178
  headers: {
179
- "Set-Cookie" => "_secure_session_id=#{new_secure_session_id}",
179
+ "Set-Cookie" => "_shopify_essential=#{new_shopify_essential}",
180
180
  },
181
181
  )
182
182
 
@@ -184,7 +184,7 @@ module ShopifyCLI
184
184
  stub_request(:get, "https://dev-theme-server-store.myshopify.com/?_fd=0&pb=0")
185
185
  .with(
186
186
  headers: {
187
- "Cookie" => "_secure_session_id=#{new_secure_session_id}",
187
+ "Cookie" => "_shopify_essential=#{new_shopify_essential}",
188
188
  },
189
189
  )
190
190
  .to_return(status: 200)
@@ -319,24 +319,24 @@ module ShopifyCLI
319
319
  end
320
320
  end
321
321
 
322
- def test_replaces_secure_session_id_cookie
322
+ def test_replaces_shopify_essential_cookie
323
323
  stub_request(:get, "https://dev-theme-server-store.myshopify.com/?_fd=0&pb=0")
324
324
  .with(
325
325
  headers: {
326
- "Cookie" => "_secure_session_id=#{SECURE_SESSION_ID}",
326
+ "Cookie" => "_shopify_essential=#{SECURE_SESSION_ID}",
327
327
  },
328
328
  )
329
329
 
330
330
  stub_session_id_request
331
331
  request.get("/",
332
- "HTTP_COOKIE" => "_secure_session_id=a12cef")
332
+ "HTTP_COOKIE" => "_shopify_essential=a12cef")
333
333
  end
334
334
 
335
- def test_appends_secure_session_id_cookie
335
+ def test_appends_shopify_essential_cookie
336
336
  stub_request(:get, "https://dev-theme-server-store.myshopify.com/?_fd=0&pb=0")
337
337
  .with(
338
338
  headers: {
339
- "Cookie" => "cart_currency=CAD; secure_customer_sig=; _secure_session_id=#{SECURE_SESSION_ID}",
339
+ "Cookie" => "cart_currency=CAD; secure_customer_sig=; _shopify_essential=#{SECURE_SESSION_ID}",
340
340
  },
341
341
  )
342
342
 
@@ -373,7 +373,7 @@ module ShopifyCLI
373
373
  "Accept-Encoding" => "none",
374
374
  "Authorization" => "Bearer TOKEN",
375
375
  "Content-Type" => "application/x-www-form-urlencoded",
376
- "Cookie" => "_secure_session_id=#{SECURE_SESSION_ID}",
376
+ "Cookie" => "_shopify_essential=#{SECURE_SESSION_ID}",
377
377
  "Host" => "dev-theme-server-store.myshopify.com",
378
378
  "X-Forwarded-For" => "",
379
379
  "User-Agent" => "Shopify CLI",
@@ -597,7 +597,7 @@ module ShopifyCLI
597
597
  def default_proxy_headers(domain = "myshopify.com")
598
598
  {
599
599
  "Accept-Encoding" => "none",
600
- "Cookie" => "_secure_session_id=#{SECURE_SESSION_ID}",
600
+ "Cookie" => "_shopify_essential=#{SECURE_SESSION_ID}",
601
601
  "Host" => "dev-theme-server-store.#{domain}",
602
602
  "X-Forwarded-For" => "",
603
603
  "User-Agent" => "Shopify CLI",
@@ -614,7 +614,7 @@ module ShopifyCLI
614
614
  .to_return(
615
615
  status: 200,
616
616
  headers: {
617
- "Set-Cookie" => "_secure_session_id=#{SECURE_SESSION_ID}",
617
+ "Set-Cookie" => "_shopify_essential=#{SECURE_SESSION_ID}",
618
618
  },
619
619
  )
620
620
  end
@@ -2,6 +2,7 @@
2
2
 
3
3
  require "test_helper"
4
4
 
5
+ require "shopify_cli/theme/dev_server/proxy"
5
6
  require "shopify_cli/theme/theme_admin_api"
6
7
  require "shopify_cli/theme/repl/api"
7
8
 
@@ -31,7 +32,7 @@ module ShopifyCLI
31
32
  headers: {
32
33
  "Authorization" => "Bearer",
33
34
  "Content-Type" => "application/x-www-form-urlencoded",
34
- "Cookie" => "storefront_digest=storefront_session_5678; _secure_session_id=secure_session_id_1234",
35
+ "Cookie" => "storefront_digest=storefront_session_5678; _shopify_essential=secure_session_id_1234",
35
36
  "User-Agent" => "Shopify CLI",
36
37
  },
37
38
  )
@@ -57,7 +58,7 @@ module ShopifyCLI
57
58
  },
58
59
  headers: {
59
60
  "Content-Type" => "application/x-www-form-urlencoded",
60
- "Cookie" => "storefront_digest=storefront_session_5678; _secure_session_id=secure_session_id_1234",
61
+ "Cookie" => "storefront_digest=storefront_session_5678; _shopify_essential=secure_session_id_1234",
61
62
  "X-Shopify-Shop" => "store.myshopify.com",
62
63
  },
63
64
  )
@@ -4,13 +4,13 @@ import {
4
4
  import {
5
5
  fanoutHooks,
6
6
  reportAnalyticsEvent
7
- } from "./chunk-LKVSWZE2.js";
7
+ } from "./chunk-W7UHREAK.js";
8
8
  import {
9
9
  getEnvironmentData
10
- } from "./chunk-MALZ76OP.js";
10
+ } from "./chunk-5FVTOE7H.js";
11
11
  import {
12
12
  CLI_KIT_VERSION
13
- } from "./chunk-A3PWVEGU.js";
13
+ } from "./chunk-474I4TNL.js";
14
14
  import {
15
15
  AbortSilentError,
16
16
  CancelExecution,
@@ -24,7 +24,7 @@ import {
24
24
  printEventsJson,
25
25
  require_stacktracey,
26
26
  shouldReportError
27
- } from "./chunk-3N5TYEOJ.js";
27
+ } from "./chunk-6VZG567Q.js";
28
28
  import {
29
29
  bugsnagApiKey
30
30
  } from "./chunk-QI5VKSMW.js";
@@ -4,7 +4,7 @@ import {
4
4
 
5
5
  // ../cli-kit/src/public/common/version.ts
6
6
  init_cjs_shims();
7
- var CLI_KIT_VERSION = "3.59.0";
7
+ var CLI_KIT_VERSION = "3.59.1";
8
8
 
9
9
  export {
10
10
  CLI_KIT_VERSION
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  platformAndArch
3
- } from "./chunk-O54SR2VW.js";
3
+ } from "./chunk-VU576BU3.js";
4
4
  import {
5
5
  getPackageManager,
6
6
  packageManagerFromUserAgent
7
- } from "./chunk-OK52H3G3.js";
7
+ } from "./chunk-RJ2SJHQV.js";
8
8
  import {
9
9
  addPublicMetadata,
10
10
  addSensitiveMetadata,
@@ -12,7 +12,7 @@ import {
12
12
  cloudEnvironment,
13
13
  currentProcessIsGlobal,
14
14
  macAddress
15
- } from "./chunk-3N5TYEOJ.js";
15
+ } from "./chunk-6VZG567Q.js";
16
16
  import {
17
17
  cwd
18
18
  } from "./chunk-M336AND6.js";
@@ -7,7 +7,7 @@ import {
7
7
  renderSuccess,
8
8
  renderTable,
9
9
  renderWarning
10
- } from "./chunk-3N5TYEOJ.js";
10
+ } from "./chunk-6VZG567Q.js";
11
11
  import {
12
12
  init_cjs_shims
13
13
  } from "./chunk-BVGYIZ3O.js";
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  base_command_default
3
- } from "./chunk-5RO6P4KC.js";
3
+ } from "./chunk-WF3T42FP.js";
4
4
  import {
5
5
  packageManagerFromUserAgent
6
- } from "./chunk-OK52H3G3.js";
6
+ } from "./chunk-RJ2SJHQV.js";
7
7
  import {
8
8
  currentProcessIsGlobal,
9
9
  inferPackageManagerForGlobalCLI,
10
10
  renderInfo
11
- } from "./chunk-3N5TYEOJ.js";
11
+ } from "./chunk-6VZG567Q.js";
12
12
  import {
13
13
  init_cjs_shims
14
14
  } from "./chunk-BVGYIZ3O.js";
@@ -43238,7 +43238,7 @@ function createRuntimeMetadataContainer(defaultPublicMetadata = {}) {
43238
43238
  try {
43239
43239
  await getAndSet();
43240
43240
  } catch (error) {
43241
- const { sendErrorToBugsnag } = await import("./error-handler-MZEB7CLD.js");
43241
+ const { sendErrorToBugsnag } = await import("./error-handler-RT4TFLRY.js");
43242
43242
  await sendErrorToBugsnag(error, "unexpected_error");
43243
43243
  }
43244
43244
  }
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  renderConcurrent,
3
3
  renderTasks
4
- } from "./chunk-3N5TYEOJ.js";
4
+ } from "./chunk-6VZG567Q.js";
5
5
  import {
6
6
  init_cjs_shims
7
7
  } from "./chunk-BVGYIZ3O.js";
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  CLI_KIT_VERSION
3
- } from "./chunk-A3PWVEGU.js";
3
+ } from "./chunk-474I4TNL.js";
4
4
  import {
5
5
  checkForNewVersion,
6
6
  packageManagerFromUserAgent
7
- } from "./chunk-OK52H3G3.js";
7
+ } from "./chunk-RJ2SJHQV.js";
8
8
  import {
9
9
  getOutputUpdateCLIReminder,
10
10
  outputContent,
11
11
  outputInfo,
12
12
  outputToken
13
- } from "./chunk-3N5TYEOJ.js";
13
+ } from "./chunk-6VZG567Q.js";
14
14
  import {
15
15
  init_cjs_shims
16
16
  } from "./chunk-BVGYIZ3O.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  openURL
3
- } from "./chunk-3N5TYEOJ.js";
3
+ } from "./chunk-6VZG567Q.js";
4
4
  import {
5
5
  init_cjs_shims
6
6
  } from "./chunk-BVGYIZ3O.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  searchService
3
- } from "./chunk-VRVCUORY.js";
3
+ } from "./chunk-DNXLPUNM.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-5RO6P4KC.js";
6
+ } from "./chunk-WF3T42FP.js";
7
7
  import {
8
8
  require_lib
9
9
  } from "./chunk-3MMF34G4.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  prompts
3
- } from "./chunk-VQ7HIBHK.js";
3
+ } from "./chunk-YIDMIL55.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-5RO6P4KC.js";
6
+ } from "./chunk-WF3T42FP.js";
7
7
  import {
8
8
  init_cjs_shims
9
9
  } from "./chunk-BVGYIZ3O.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  staticService
3
- } from "./chunk-24HS7TWV.js";
3
+ } from "./chunk-5PRVQL5W.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-5RO6P4KC.js";
6
+ } from "./chunk-WF3T42FP.js";
7
7
  import {
8
8
  init_cjs_shims
9
9
  } from "./chunk-BVGYIZ3O.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  asyncTasks
3
- } from "./chunk-5Y3PYHUV.js";
3
+ } from "./chunk-AIMRWD2B.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-5RO6P4KC.js";
6
+ } from "./chunk-WF3T42FP.js";
7
7
  import {
8
8
  init_cjs_shims
9
9
  } from "./chunk-BVGYIZ3O.js";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  staticService
3
- } from "./chunk-24HS7TWV.js";
3
+ } from "./chunk-5PRVQL5W.js";
4
4
  import {
5
5
  asyncTasks
6
- } from "./chunk-5Y3PYHUV.js";
6
+ } from "./chunk-AIMRWD2B.js";
7
7
  import {
8
8
  prompts
9
- } from "./chunk-VQ7HIBHK.js";
9
+ } from "./chunk-YIDMIL55.js";
10
10
  import {
11
11
  base_command_default
12
- } from "./chunk-5RO6P4KC.js";
12
+ } from "./chunk-WF3T42FP.js";
13
13
  import {
14
14
  init_cjs_shims
15
15
  } from "./chunk-BVGYIZ3O.js";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  base_command_default
3
- } from "./chunk-5RO6P4KC.js";
3
+ } from "./chunk-WF3T42FP.js";
4
4
  import {
5
5
  mkdir,
6
6
  outputInfo,
7
7
  rmdir,
8
8
  writeFile
9
- } from "./chunk-3N5TYEOJ.js";
9
+ } from "./chunk-6VZG567Q.js";
10
10
  import {
11
11
  cwd,
12
12
  joinPath
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-WBWFZ6IT.js";
7
7
  import {
8
8
  base_command_default
9
- } from "./chunk-5RO6P4KC.js";
9
+ } from "./chunk-WF3T42FP.js";
10
10
  import {
11
11
  ClientError,
12
12
  GraphQLClient,
@@ -21,16 +21,16 @@ import {
21
21
  httpsAgent,
22
22
  sanitizedHeadersOutput,
23
23
  shopifyFetch
24
- } from "./chunk-LKVSWZE2.js";
24
+ } from "./chunk-W7UHREAK.js";
25
25
  import {
26
26
  base64URLEncode,
27
27
  randomBytes,
28
28
  randomHex,
29
29
  sha256
30
- } from "./chunk-MALZ76OP.js";
30
+ } from "./chunk-5FVTOE7H.js";
31
31
  import {
32
32
  require_semver
33
- } from "./chunk-OK52H3G3.js";
33
+ } from "./chunk-RJ2SJHQV.js";
34
34
  import {
35
35
  AbortError,
36
36
  BugError,
@@ -57,7 +57,7 @@ import {
57
57
  spinFqdn,
58
58
  stringifyMessage,
59
59
  useDeviceAuth
60
- } from "./chunk-3N5TYEOJ.js";
60
+ } from "./chunk-6VZG567Q.js";
61
61
  import {
62
62
  envPaths,
63
63
  sessionConstants
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  clearCollectedLogs,
3
3
  collectedLogs
4
- } from "./chunk-3N5TYEOJ.js";
4
+ } from "./chunk-6VZG567Q.js";
5
5
  import {
6
6
  init_cjs_shims
7
7
  } from "./chunk-BVGYIZ3O.js";
@@ -17,7 +17,7 @@ import {
17
17
  renderTextPrompt,
18
18
  renderWarning,
19
19
  sleep
20
- } from "./chunk-3N5TYEOJ.js";
20
+ } from "./chunk-6VZG567Q.js";
21
21
  import {
22
22
  init_cjs_shims
23
23
  } from "./chunk-BVGYIZ3O.js";
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  demo
3
- } from "./chunk-AL5Y74NR.js";
3
+ } from "./chunk-OPMRCCAR.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-5RO6P4KC.js";
6
+ } from "./chunk-WF3T42FP.js";
7
7
  import {
8
8
  outputInfo,
9
9
  readFile,
10
10
  renderAutocompletePrompt
11
- } from "./chunk-3N5TYEOJ.js";
11
+ } from "./chunk-6VZG567Q.js";
12
12
  import {
13
13
  joinPath
14
14
  } from "./chunk-M336AND6.js";
@@ -4,7 +4,7 @@ import {
4
4
  findUpAndReadPackageJson,
5
5
  getPackageManager,
6
6
  usesWorkspaces
7
- } from "./chunk-OK52H3G3.js";
7
+ } from "./chunk-RJ2SJHQV.js";
8
8
  import {
9
9
  AbortError,
10
10
  exec,
@@ -15,7 +15,7 @@ import {
15
15
  outputSuccess,
16
16
  outputToken,
17
17
  outputWarn
18
- } from "./chunk-3N5TYEOJ.js";
18
+ } from "./chunk-6VZG567Q.js";
19
19
  import {
20
20
  dirname,
21
21
  joinPath,
@@ -3,14 +3,14 @@ import {
3
3
  } from "./chunk-CXG2USMP.js";
4
4
  import {
5
5
  demoStepsSchema
6
- } from "./chunk-AL5Y74NR.js";
6
+ } from "./chunk-OPMRCCAR.js";
7
7
  import {
8
8
  base_command_default
9
- } from "./chunk-5RO6P4KC.js";
9
+ } from "./chunk-WF3T42FP.js";
10
10
  import {
11
11
  outputInfo,
12
12
  renderInfo
13
- } from "./chunk-3N5TYEOJ.js";
13
+ } from "./chunk-6VZG567Q.js";
14
14
  import {
15
15
  __toESM,
16
16
  init_cjs_shims
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  base_command_default
3
- } from "./chunk-5RO6P4KC.js";
3
+ } from "./chunk-WF3T42FP.js";
4
4
  import {
5
5
  exec,
6
6
  outputInfo
7
- } from "./chunk-3N5TYEOJ.js";
7
+ } from "./chunk-6VZG567Q.js";
8
8
  import {
9
9
  init_cjs_shims
10
10
  } from "./chunk-BVGYIZ3O.js";
@@ -13,7 +13,7 @@ import {
13
13
  require_get_stream,
14
14
  runWithTimer,
15
15
  writeFile
16
- } from "./chunk-3N5TYEOJ.js";
16
+ } from "./chunk-6VZG567Q.js";
17
17
  import {
18
18
  dirname,
19
19
  joinPath
@@ -2,7 +2,7 @@ import {
2
2
  execa,
3
3
  outputContent,
4
4
  outputDebug
5
- } from "./chunk-3N5TYEOJ.js";
5
+ } from "./chunk-6VZG567Q.js";
6
6
  import {
7
7
  init_cjs_shims
8
8
  } from "./chunk-BVGYIZ3O.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  versionService
3
- } from "./chunk-3FAYPDRE.js";
3
+ } from "./chunk-BQPGK47Z.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-5RO6P4KC.js";
6
+ } from "./chunk-WF3T42FP.js";
7
7
  import {
8
8
  init_cjs_shims
9
9
  } from "./chunk-BVGYIZ3O.js";