@shopify/cli 3.67.3 → 3.68.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 (85) hide show
  1. package/dist/{chunk-QK4M5NLW.js → chunk-3M35CLHM.js} +2 -2
  2. package/dist/{chunk-FPTBJGSU.js → chunk-3Q52FLVU.js} +3 -3
  3. package/dist/{chunk-FMTK2DLI.js → chunk-43SYBNY3.js} +4 -4
  4. package/dist/{chunk-ADIIAXPI.js → chunk-6H3CV7RL.js} +3 -3
  5. package/dist/{chunk-NV2K2JNI.js → chunk-6MAEOVS3.js} +15 -3
  6. package/dist/{chunk-SK3QXUXV.js → chunk-6RT7XCLB.js} +4 -4
  7. package/dist/{chunk-67E32Z72.js → chunk-6ZDQFSSJ.js} +5528 -17168
  8. package/dist/{chunk-QQWDDZPJ.js → chunk-72AFLINH.js} +4 -4
  9. package/dist/{chunk-OVBHC7XZ.js → chunk-7MDO7W7X.js} +3 -3
  10. package/dist/{chunk-ESCACI7K.js → chunk-7S76TS4X.js} +5 -5
  11. package/dist/{chunk-IVO3C5LM.js → chunk-BZ2F2UZZ.js} +3 -3
  12. package/dist/chunk-EPBXQ43B.js +15959 -0
  13. package/dist/{chunk-XHO4O3WD.js → chunk-GKSNOFYA.js} +2 -2
  14. package/dist/{chunk-MP5JBUFB.js → chunk-GLV27A4V.js} +2 -2
  15. package/dist/{chunk-J44K26AK.js → chunk-HWFFJANJ.js} +3 -3
  16. package/dist/{chunk-GBZFBWCM.js → chunk-JEUAVIWO.js} +14 -12
  17. package/dist/{chunk-UE5ILNA5.js → chunk-JF3XJON5.js} +4 -4
  18. package/dist/{chunk-Y6XYGV3K.js → chunk-M7RWRKXK.js} +3 -3
  19. package/dist/{chunk-YZHXAE4H.js → chunk-MS2XBA2O.js} +4 -4
  20. package/dist/{chunk-UOH7XDLM.js → chunk-N2B5M33U.js} +3 -3
  21. package/dist/{chunk-F2FF5RRS.js → chunk-NOB736ZC.js} +3 -3
  22. package/dist/{chunk-NBY455BA.js → chunk-NPVFC3AI.js} +4 -4
  23. package/dist/chunk-O2TXYCMU.js +103 -0
  24. package/dist/{chunk-SERYSNVE.js → chunk-QAP5YFY6.js} +2 -2
  25. package/dist/{chunk-UTJGWPED.js → chunk-QNE3KDXA.js} +2 -2
  26. package/dist/{chunk-VVCAHOHL.js → chunk-RUY5HVC5.js} +2 -2
  27. package/dist/{chunk-EMUNMNK7.js → chunk-S3KCQ67R.js} +6 -6
  28. package/dist/{chunk-X2LIPDBQ.js → chunk-SARPUMOJ.js} +4 -4
  29. package/dist/{chunk-SAKJRSNZ.js → chunk-SFSTMK3J.js} +3 -3
  30. package/dist/{chunk-7BK74JM2.js → chunk-V54N7BU5.js} +3 -3
  31. package/dist/{chunk-AYJMV2UJ.js → chunk-X4VIZNM7.js} +2 -2
  32. package/dist/{chunk-UI7DIACQ.js → chunk-XPDRDFSD.js} +2 -2
  33. package/dist/{chunk-5GMBDXCT.js → chunk-YESRKQ2L.js} +2 -2
  34. package/dist/{chunk-CL6KB3RG.js → chunk-YGWIVVUL.js} +7 -3
  35. package/dist/cli/commands/auth/logout.js +11 -12
  36. package/dist/cli/commands/auth/logout.test.js +12 -13
  37. package/dist/cli/commands/debug/command-flags.js +10 -9
  38. package/dist/cli/commands/demo/catalog.js +11 -11
  39. package/dist/cli/commands/demo/generate-file.js +11 -11
  40. package/dist/cli/commands/demo/index.js +11 -11
  41. package/dist/cli/commands/demo/print-ai-prompt.js +11 -11
  42. package/dist/cli/commands/docs/generate.js +10 -9
  43. package/dist/cli/commands/docs/generate.test.js +10 -9
  44. package/dist/cli/commands/help.js +10 -9
  45. package/dist/cli/commands/kitchen-sink/async.js +11 -10
  46. package/dist/cli/commands/kitchen-sink/async.test.js +11 -10
  47. package/dist/cli/commands/kitchen-sink/index.js +13 -12
  48. package/dist/cli/commands/kitchen-sink/index.test.js +13 -12
  49. package/dist/cli/commands/kitchen-sink/prompts.js +11 -10
  50. package/dist/cli/commands/kitchen-sink/prompts.test.js +11 -10
  51. package/dist/cli/commands/kitchen-sink/static.js +11 -10
  52. package/dist/cli/commands/kitchen-sink/static.test.js +11 -10
  53. package/dist/cli/commands/search.js +11 -10
  54. package/dist/cli/commands/upgrade.js +11 -10
  55. package/dist/cli/commands/version.js +11 -10
  56. package/dist/cli/commands/version.test.js +11 -10
  57. package/dist/cli/services/commands/search.js +2 -2
  58. package/dist/cli/services/commands/search.test.js +2 -2
  59. package/dist/cli/services/commands/version.js +3 -3
  60. package/dist/cli/services/commands/version.test.js +4 -4
  61. package/dist/cli/services/demo.js +2 -2
  62. package/dist/cli/services/demo.test.js +3 -3
  63. package/dist/cli/services/kitchen-sink/async.js +2 -2
  64. package/dist/cli/services/kitchen-sink/prompts.js +2 -2
  65. package/dist/cli/services/kitchen-sink/static.js +2 -2
  66. package/dist/cli/services/upgrade.js +3 -3
  67. package/dist/cli/services/upgrade.test.js +5 -5
  68. package/dist/{custom-oclif-loader-ROCHTOS5.js → custom-oclif-loader-KLQXTO4F.js} +2 -2
  69. package/dist/{error-handler-GT7C27BQ.js → error-handler-5FD7IHCB.js} +9 -8
  70. package/dist/hooks/postrun.js +9 -9
  71. package/dist/hooks/prerun.js +8 -6
  72. package/dist/index.d.ts +1 -0
  73. package/dist/index.js +593 -692
  74. package/dist/{local-T3UMODTX.js → local-LNHYBD2A.js} +4 -2
  75. package/dist/{node-V2ZJPWY5.js → node-Y6VIULWD.js} +12 -13
  76. package/dist/{node-package-manager-PYU7QL5O.js → node-package-manager-6CQ6226U.js} +5 -3
  77. package/dist/{system-CEM4NSPG.js → system-LDMV4BPS.js} +2 -2
  78. package/dist/tsconfig.tsbuildinfo +1 -1
  79. package/dist/{ui-KGCQLCOJ.js → ui-PA5ER7II.js} +2 -2
  80. package/dist/{workerd-TOCBV52P.js → workerd-APENUASI.js} +12 -13
  81. package/oclif.manifest.json +15 -52
  82. package/package.json +6 -6
  83. package/dist/chunk-3E44DPAU.js +0 -118
  84. package/dist/chunk-EMJI2MUZ.js +0 -4244
  85. package/dist/chunk-LCWH3FW5.js +0 -33
@@ -4,9 +4,9 @@ import {
4
4
 
5
5
  // ../cli-kit/dist/public/common/version.js
6
6
  init_cjs_shims();
7
- var CLI_KIT_VERSION = "3.67.3";
7
+ var CLI_KIT_VERSION = "3.68.1";
8
8
 
9
9
  export {
10
10
  CLI_KIT_VERSION
11
11
  };
12
- //# sourceMappingURL=chunk-XHO4O3WD.js.map
12
+ //# sourceMappingURL=chunk-GKSNOFYA.js.map
@@ -5,7 +5,7 @@ import {
5
5
  renderDangerousConfirmationPrompt,
6
6
  renderSelectPrompt,
7
7
  renderTextPrompt
8
- } from "./chunk-CL6KB3RG.js";
8
+ } from "./chunk-YGWIVVUL.js";
9
9
  import {
10
10
  init_cjs_shims
11
11
  } from "./chunk-POZ5MGPT.js";
@@ -176,4 +176,4 @@ async function prompts() {
176
176
  export {
177
177
  prompts
178
178
  };
179
- //# sourceMappingURL=chunk-MP5JBUFB.js.map
179
+ //# sourceMappingURL=chunk-GLV27A4V.js.map
@@ -4,7 +4,7 @@ import {
4
4
  findUpAndReadPackageJson,
5
5
  getPackageManager,
6
6
  usesWorkspaces
7
- } from "./chunk-NV2K2JNI.js";
7
+ } from "./chunk-6MAEOVS3.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-CL6KB3RG.js";
18
+ } from "./chunk-YGWIVVUL.js";
19
19
  import {
20
20
  dirname,
21
21
  joinPath,
@@ -140,4 +140,4 @@ function usingPackageManager({ env } = { env: process.env }) {
140
140
  export {
141
141
  upgrade
142
142
  };
143
- //# sourceMappingURL=chunk-J44K26AK.js.map
143
+ //# sourceMappingURL=chunk-HWFFJANJ.js.map
@@ -1,19 +1,21 @@
1
1
  import {
2
- businessPlatformFqdn,
3
2
  ensureAuthenticatedAdmin,
4
3
  ensureAuthenticatedBusinessPlatform,
5
- graphqlRequest,
6
- graphqlRequestDoc,
7
- handleDeprecations,
8
- logout,
9
- normalizeStoreFqdn
10
- } from "./chunk-EMJI2MUZ.js";
4
+ logout
5
+ } from "./chunk-O2TXYCMU.js";
11
6
  import {
12
7
  base_command_default
13
- } from "./chunk-YZHXAE4H.js";
8
+ } from "./chunk-MS2XBA2O.js";
14
9
  import {
15
10
  fanoutHooks
16
- } from "./chunk-67E32Z72.js";
11
+ } from "./chunk-EPBXQ43B.js";
12
+ import {
13
+ businessPlatformFqdn,
14
+ graphqlRequest,
15
+ graphqlRequestDoc,
16
+ handleDeprecations,
17
+ normalizeStoreFqdn
18
+ } from "./chunk-6ZDQFSSJ.js";
17
19
  import {
18
20
  findUpAndReadPackageJson,
19
21
  getPackageManager,
@@ -21,7 +23,7 @@ import {
21
23
  packageManagerFromUserAgent,
22
24
  readAndParsePackageJson,
23
25
  writePackageJSON
24
- } from "./chunk-NV2K2JNI.js";
26
+ } from "./chunk-6MAEOVS3.js";
25
27
  import {
26
28
  AbortError,
27
29
  BugError,
@@ -59,7 +61,7 @@ import {
59
61
  runWithTimer,
60
62
  source_default,
61
63
  writeFile
62
- } from "./chunk-CL6KB3RG.js";
64
+ } from "./chunk-YGWIVVUL.js";
63
65
  import {
64
66
  require_lib
65
67
  } from "./chunk-BFQFJ7IZ.js";
@@ -146620,4 +146622,4 @@ export {
146620
146622
  getDebugBannerLine,
146621
146623
  getUtilityBannerlines
146622
146624
  };
146623
- //# sourceMappingURL=chunk-GBZFBWCM.js.map
146625
+ //# sourceMappingURL=chunk-JEUAVIWO.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  demo
3
- } from "./chunk-AYJMV2UJ.js";
3
+ } from "./chunk-X4VIZNM7.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-YZHXAE4H.js";
6
+ } from "./chunk-MS2XBA2O.js";
7
7
  import {
8
8
  readFile
9
- } from "./chunk-CL6KB3RG.js";
9
+ } from "./chunk-YGWIVVUL.js";
10
10
  import {
11
11
  require_lib
12
12
  } from "./chunk-BFQFJ7IZ.js";
@@ -56,4 +56,4 @@ var Demo = class _Demo extends base_command_default {
56
56
  export {
57
57
  Demo
58
58
  };
59
- //# sourceMappingURL=chunk-UE5ILNA5.js.map
59
+ //# sourceMappingURL=chunk-JF3XJON5.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  searchService
3
- } from "./chunk-5GMBDXCT.js";
3
+ } from "./chunk-YESRKQ2L.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-YZHXAE4H.js";
6
+ } from "./chunk-MS2XBA2O.js";
7
7
  import {
8
8
  require_lib
9
9
  } from "./chunk-BFQFJ7IZ.js";
@@ -45,4 +45,4 @@ var import_core = __toESM(require_lib(), 1), Search = class _Search extends base
45
45
  export {
46
46
  Search
47
47
  };
48
- //# sourceMappingURL=chunk-Y6XYGV3K.js.map
48
+ //# sourceMappingURL=chunk-M7RWRKXK.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  errorHandler,
3
3
  registerCleanBugsnagErrorsFromWithinPlugins
4
- } from "./chunk-EMUNMNK7.js";
4
+ } from "./chunk-S3KCQ67R.js";
5
5
  import {
6
6
  hashString
7
- } from "./chunk-3E44DPAU.js";
7
+ } from "./chunk-6ZDQFSSJ.js";
8
8
  import {
9
9
  AbortError,
10
10
  addPublicMetadata,
@@ -20,7 +20,7 @@ import {
20
20
  renderWarning,
21
21
  terminalSupportsPrompting,
22
22
  underscore
23
- } from "./chunk-CL6KB3RG.js";
23
+ } from "./chunk-YGWIVVUL.js";
24
24
  import {
25
25
  require_lib
26
26
  } from "./chunk-BFQFJ7IZ.js";
@@ -1682,4 +1682,4 @@ export {
1682
1682
  encodeToml,
1683
1683
  base_command_default
1684
1684
  };
1685
- //# sourceMappingURL=chunk-YZHXAE4H.js.map
1685
+ //# sourceMappingURL=chunk-MS2XBA2O.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  asyncTasks
3
- } from "./chunk-VVCAHOHL.js";
3
+ } from "./chunk-RUY5HVC5.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-YZHXAE4H.js";
6
+ } from "./chunk-MS2XBA2O.js";
7
7
  import {
8
8
  init_cjs_shims
9
9
  } from "./chunk-POZ5MGPT.js";
@@ -25,4 +25,4 @@ var KitchenSinkAsync = class extends base_command_default {
25
25
  export {
26
26
  KitchenSinkAsync
27
27
  };
28
- //# sourceMappingURL=chunk-UOH7XDLM.js.map
28
+ //# sourceMappingURL=chunk-N2B5M33U.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  CLI_KIT_VERSION
3
- } from "./chunk-XHO4O3WD.js";
3
+ } from "./chunk-GKSNOFYA.js";
4
4
  import {
5
5
  outputInfo
6
- } from "./chunk-CL6KB3RG.js";
6
+ } from "./chunk-YGWIVVUL.js";
7
7
  import {
8
8
  init_cjs_shims
9
9
  } from "./chunk-POZ5MGPT.js";
@@ -17,4 +17,4 @@ async function versionService() {
17
17
  export {
18
18
  versionService
19
19
  };
20
- //# sourceMappingURL=chunk-F2FF5RRS.js.map
20
+ //# sourceMappingURL=chunk-NOB736ZC.js.map
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  demo
3
- } from "./chunk-AYJMV2UJ.js";
3
+ } from "./chunk-X4VIZNM7.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-YZHXAE4H.js";
6
+ } from "./chunk-MS2XBA2O.js";
7
7
  import {
8
8
  outputInfo,
9
9
  readFile,
10
10
  renderAutocompletePrompt
11
- } from "./chunk-CL6KB3RG.js";
11
+ } from "./chunk-YGWIVVUL.js";
12
12
  import {
13
13
  joinPath
14
14
  } from "./chunk-T2GATXSP.js";
@@ -42,4 +42,4 @@ var Catalog = class extends base_command_default {
42
42
  export {
43
43
  Catalog
44
44
  };
45
- //# sourceMappingURL=chunk-NBY455BA.js.map
45
+ //# sourceMappingURL=chunk-NPVFC3AI.js.map
@@ -0,0 +1,103 @@
1
+ import {
2
+ ensureAuthenticated,
3
+ exchangeCustomPartnerToken,
4
+ getPartnersToken,
5
+ isThemeAccessSession,
6
+ nonRandomUUID,
7
+ normalizeStoreFqdn,
8
+ remove,
9
+ setLastSeenAuthMethod,
10
+ setLastSeenUserIdAfterAuth
11
+ } from "./chunk-6ZDQFSSJ.js";
12
+ import {
13
+ BugError,
14
+ outputContent,
15
+ outputDebug,
16
+ outputToken
17
+ } from "./chunk-YGWIVVUL.js";
18
+ import {
19
+ init_cjs_shims
20
+ } from "./chunk-POZ5MGPT.js";
21
+
22
+ // ../cli-kit/dist/public/node/session.js
23
+ init_cjs_shims();
24
+ async function ensureAuthenticatedPartners(scopes = [], env = process.env, options = {}) {
25
+ outputDebug(outputContent`Ensuring that the user is authenticated with the Partners API with the following scopes:
26
+ ${outputToken.json(scopes)}
27
+ `);
28
+ let envToken = getPartnersToken();
29
+ if (envToken) {
30
+ let result = await exchangeCustomPartnerToken(envToken);
31
+ return { token: result.accessToken, userId: result.userId };
32
+ }
33
+ let tokens = await ensureAuthenticated({ partnersApi: { scopes } }, env, options);
34
+ if (!tokens.partners)
35
+ throw new BugError("No partners token found after ensuring authenticated");
36
+ return { token: tokens.partners, userId: tokens.userId };
37
+ }
38
+ async function ensureAuthenticatedAppManagement(scopes = [], env = process.env, options = {}) {
39
+ outputDebug(outputContent`Ensuring that the user is authenticated with the App Management API with the following scopes:
40
+ ${outputToken.json(scopes)}
41
+ `);
42
+ let tokens = await ensureAuthenticated({ appManagementApi: { scopes } }, env, options);
43
+ if (!tokens)
44
+ throw new BugError("No App Management token found after ensuring authenticated");
45
+ return { token: tokens.appManagement, userId: tokens.userId };
46
+ }
47
+ async function ensureAuthenticatedStorefront(scopes = [], password = void 0, forceRefresh = !1) {
48
+ if (password) {
49
+ let authMethod = isThemeAccessSession({ token: password, storeFqdn: "" }) ? "theme_access_token" : "custom_app_token";
50
+ return setLastSeenAuthMethod(authMethod), setLastSeenUserIdAfterAuth(nonRandomUUID(password)), password;
51
+ }
52
+ outputDebug(outputContent`Ensuring that the user is authenticated with the Storefront API with the following scopes:
53
+ ${outputToken.json(scopes)}
54
+ `);
55
+ let tokens = await ensureAuthenticated({ storefrontRendererApi: { scopes } }, process.env, { forceRefresh });
56
+ if (!tokens.storefront)
57
+ throw new BugError("No storefront token found after ensuring authenticated");
58
+ return tokens.storefront;
59
+ }
60
+ async function ensureAuthenticatedAdmin(store, scopes = [], forceRefresh = !1, options = {}) {
61
+ outputDebug(outputContent`Ensuring that the user is authenticated with the Admin API with the following scopes for the store ${outputToken.raw(store)}:
62
+ ${outputToken.json(scopes)}
63
+ `);
64
+ let tokens = await ensureAuthenticated({ adminApi: { scopes, storeFqdn: store } }, process.env, {
65
+ forceRefresh,
66
+ ...options
67
+ });
68
+ if (!tokens.admin)
69
+ throw new BugError("No admin token found after ensuring authenticated");
70
+ return tokens.admin;
71
+ }
72
+ async function ensureAuthenticatedThemes(store, password, scopes = [], forceRefresh = !1) {
73
+ if (outputDebug(outputContent`Ensuring that the user is authenticated with the Theme API with the following scopes:
74
+ ${outputToken.json(scopes)}
75
+ `), password) {
76
+ let session = { token: password, storeFqdn: await normalizeStoreFqdn(store) }, authMethod = isThemeAccessSession(session) ? "theme_access_token" : "custom_app_token";
77
+ return setLastSeenAuthMethod(authMethod), setLastSeenUserIdAfterAuth(nonRandomUUID(password)), session;
78
+ }
79
+ return ensureAuthenticatedAdmin(store, scopes, forceRefresh);
80
+ }
81
+ async function ensureAuthenticatedBusinessPlatform(scopes = []) {
82
+ outputDebug(outputContent`Ensuring that the user is authenticated with the Business Platform API with the following scopes:
83
+ ${outputToken.json(scopes)}
84
+ `);
85
+ let tokens = await ensureAuthenticated({ businessPlatformApi: { scopes } }, process.env);
86
+ if (!tokens.businessPlatform)
87
+ throw new BugError("No business-platform token found after ensuring authenticated");
88
+ return tokens.businessPlatform;
89
+ }
90
+ function logout() {
91
+ return remove();
92
+ }
93
+
94
+ export {
95
+ ensureAuthenticatedPartners,
96
+ ensureAuthenticatedAppManagement,
97
+ ensureAuthenticatedStorefront,
98
+ ensureAuthenticatedAdmin,
99
+ ensureAuthenticatedThemes,
100
+ ensureAuthenticatedBusinessPlatform,
101
+ logout
102
+ };
103
+ //# sourceMappingURL=chunk-O2TXYCMU.js.map
@@ -2,7 +2,7 @@ import {
2
2
  execa,
3
3
  outputContent,
4
4
  outputDebug
5
- } from "./chunk-CL6KB3RG.js";
5
+ } from "./chunk-YGWIVVUL.js";
6
6
  import {
7
7
  init_cjs_shims
8
8
  } from "./chunk-POZ5MGPT.js";
@@ -60,4 +60,4 @@ export {
60
60
  username,
61
61
  platformAndArch
62
62
  };
63
- //# sourceMappingURL=chunk-SERYSNVE.js.map
63
+ //# sourceMappingURL=chunk-QAP5YFY6.js.map
@@ -7,7 +7,7 @@ import {
7
7
  renderSuccess,
8
8
  renderTable,
9
9
  renderWarning
10
- } from "./chunk-CL6KB3RG.js";
10
+ } from "./chunk-YGWIVVUL.js";
11
11
  import {
12
12
  init_cjs_shims
13
13
  } from "./chunk-POZ5MGPT.js";
@@ -185,4 +185,4 @@ async function staticService() {
185
185
  export {
186
186
  staticService
187
187
  };
188
- //# sourceMappingURL=chunk-UTJGWPED.js.map
188
+ //# sourceMappingURL=chunk-QNE3KDXA.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  renderConcurrent,
3
3
  renderTasks
4
- } from "./chunk-CL6KB3RG.js";
4
+ } from "./chunk-YGWIVVUL.js";
5
5
  import {
6
6
  init_cjs_shims
7
7
  } from "./chunk-POZ5MGPT.js";
@@ -43,4 +43,4 @@ async function asyncTasks() {
43
43
  export {
44
44
  asyncTasks
45
45
  };
46
- //# sourceMappingURL=chunk-VVCAHOHL.js.map
46
+ //# sourceMappingURL=chunk-RUY5HVC5.js.map
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  fanoutHooks,
3
3
  reportAnalyticsEvent
4
- } from "./chunk-67E32Z72.js";
4
+ } from "./chunk-EPBXQ43B.js";
5
5
  import {
6
6
  getEnvironmentData
7
- } from "./chunk-3E44DPAU.js";
7
+ } from "./chunk-6ZDQFSSJ.js";
8
8
  import {
9
9
  runWithRateLimit
10
- } from "./chunk-NV2K2JNI.js";
10
+ } from "./chunk-6MAEOVS3.js";
11
11
  import {
12
12
  require_once
13
13
  } from "./chunk-O5K4AU7Q.js";
14
14
  import {
15
15
  CLI_KIT_VERSION
16
- } from "./chunk-XHO4O3WD.js";
16
+ } from "./chunk-GKSNOFYA.js";
17
17
  import {
18
18
  AbortSilentError,
19
19
  CancelExecution,
@@ -27,7 +27,7 @@ import {
27
27
  printEventsJson,
28
28
  require_stacktracey,
29
29
  shouldReportError
30
- } from "./chunk-CL6KB3RG.js";
30
+ } from "./chunk-YGWIVVUL.js";
31
31
  import {
32
32
  bugsnagApiKey,
33
33
  reportingRateLimit
@@ -2152,4 +2152,4 @@ export {
2152
2152
  registerCleanBugsnagErrorsFromWithinPlugins,
2153
2153
  addBugsnagMetadata
2154
2154
  };
2155
- //# sourceMappingURL=chunk-EMUNMNK7.js.map
2155
+ //# sourceMappingURL=chunk-S3KCQ67R.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  logout
3
- } from "./chunk-EMJI2MUZ.js";
3
+ } from "./chunk-O2TXYCMU.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-YZHXAE4H.js";
6
+ } from "./chunk-MS2XBA2O.js";
7
7
  import {
8
8
  outputSuccess
9
- } from "./chunk-CL6KB3RG.js";
9
+ } from "./chunk-YGWIVVUL.js";
10
10
  import {
11
11
  init_cjs_shims
12
12
  } from "./chunk-POZ5MGPT.js";
@@ -25,4 +25,4 @@ var Logout = class extends base_command_default {
25
25
  export {
26
26
  Logout
27
27
  };
28
- //# sourceMappingURL=chunk-X2LIPDBQ.js.map
28
+ //# sourceMappingURL=chunk-SARPUMOJ.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  versionService
3
- } from "./chunk-F2FF5RRS.js";
3
+ } from "./chunk-NOB736ZC.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-YZHXAE4H.js";
6
+ } from "./chunk-MS2XBA2O.js";
7
7
  import {
8
8
  init_cjs_shims
9
9
  } from "./chunk-POZ5MGPT.js";
@@ -22,4 +22,4 @@ var Version = class extends base_command_default {
22
22
  export {
23
23
  Version
24
24
  };
25
- //# sourceMappingURL=chunk-SAKJRSNZ.js.map
25
+ //# sourceMappingURL=chunk-SFSTMK3J.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  prompts
3
- } from "./chunk-MP5JBUFB.js";
3
+ } from "./chunk-GLV27A4V.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-YZHXAE4H.js";
6
+ } from "./chunk-MS2XBA2O.js";
7
7
  import {
8
8
  init_cjs_shims
9
9
  } from "./chunk-POZ5MGPT.js";
@@ -25,4 +25,4 @@ var KitchenSinkPrompts = class extends base_command_default {
25
25
  export {
26
26
  KitchenSinkPrompts
27
27
  };
28
- //# sourceMappingURL=chunk-7BK74JM2.js.map
28
+ //# sourceMappingURL=chunk-V54N7BU5.js.map
@@ -17,7 +17,7 @@ import {
17
17
  renderTextPrompt,
18
18
  renderWarning,
19
19
  sleep
20
- } from "./chunk-CL6KB3RG.js";
20
+ } from "./chunk-YGWIVVUL.js";
21
21
  import {
22
22
  init_cjs_shims
23
23
  } from "./chunk-POZ5MGPT.js";
@@ -309,4 +309,4 @@ export {
309
309
  demoStepsSchema,
310
310
  demo
311
311
  };
312
- //# sourceMappingURL=chunk-AYJMV2UJ.js.map
312
+ //# sourceMappingURL=chunk-X4VIZNM7.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  base_command_default
3
- } from "./chunk-YZHXAE4H.js";
3
+ } from "./chunk-MS2XBA2O.js";
4
4
  import {
5
5
  require_lib
6
6
  } from "./chunk-BFQFJ7IZ.js";
@@ -43,4 +43,4 @@ var HelpCommand = class _HelpCommand extends base_command_default {
43
43
  export {
44
44
  HelpCommand
45
45
  };
46
- //# sourceMappingURL=chunk-UI7DIACQ.js.map
46
+ //# sourceMappingURL=chunk-XPDRDFSD.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  openURL
3
- } from "./chunk-CL6KB3RG.js";
3
+ } from "./chunk-YGWIVVUL.js";
4
4
  import {
5
5
  init_cjs_shims
6
6
  } from "./chunk-POZ5MGPT.js";
@@ -15,4 +15,4 @@ async function searchService(query) {
15
15
  export {
16
16
  searchService
17
17
  };
18
- //# sourceMappingURL=chunk-5GMBDXCT.js.map
18
+ //# sourceMappingURL=chunk-YESRKQ2L.js.map
@@ -24114,7 +24114,7 @@ async function findPathUp(matcher, options) {
24114
24114
  let got = await findUp(matcher, options);
24115
24115
  return got ? normalizePath(got) : void 0;
24116
24116
  }
24117
- function matchGlob(key, pattern, options = { matchBase: !0 }) {
24117
+ function matchGlob(key, pattern, options) {
24118
24118
  return minimatch(key, pattern, options);
24119
24119
  }
24120
24120
 
@@ -25403,6 +25403,9 @@ function codespacePortForwardingDomain(env2 = process.env) {
25403
25403
  function isCloudEnvironment(env2 = process.env) {
25404
25404
  return cloudEnvironment(env2).platform !== "localhost";
25405
25405
  }
25406
+ function themeToken(env2 = process.env) {
25407
+ return env2[environmentVariables.themeToken];
25408
+ }
25406
25409
  function cloudEnvironment(env2 = process.env) {
25407
25410
  return isSet(env2[environmentVariables.codespaces]) ? { platform: "codespaces", editor: !0 } : isSet(env2[environmentVariables.gitpod]) ? { platform: "gitpod", editor: !0 } : isSet(env2[environmentVariables.cloudShell]) ? { platform: "cloudShell", editor: !0 } : isSpin(env2) ? { platform: "spin", editor: !1 } : { platform: "localhost", editor: !1 };
25408
25411
  }
@@ -29805,7 +29808,7 @@ function createRuntimeMetadataContainer(defaultPublicMetadata = {}) {
29805
29808
  try {
29806
29809
  await getAndSet();
29807
29810
  } catch (error) {
29808
- let { sendErrorToBugsnag } = await import("./error-handler-GT7C27BQ.js");
29811
+ let { sendErrorToBugsnag } = await import("./error-handler-5FD7IHCB.js");
29809
29812
  await sendErrorToBugsnag(error, "unexpected_error");
29810
29813
  }
29811
29814
  }, durationStack = [];
@@ -31643,6 +31646,7 @@ export {
31643
31646
  codespaceURL,
31644
31647
  codespacePortForwardingDomain,
31645
31648
  isCloudEnvironment,
31649
+ themeToken,
31646
31650
  cloudEnvironment,
31647
31651
  hasGit,
31648
31652
  ciPlatform,
@@ -31762,4 +31766,4 @@ react-reconciler/cjs/react-reconciler-constants.development.js:
31762
31766
  * LICENSE file in the root directory of this source tree.
31763
31767
  *)
31764
31768
  */
31765
- //# sourceMappingURL=chunk-CL6KB3RG.js.map
31769
+ //# sourceMappingURL=chunk-YGWIVVUL.js.map
@@ -1,20 +1,19 @@
1
1
  import {
2
2
  Logout
3
- } from "../../../chunk-X2LIPDBQ.js";
4
- import "../../../chunk-EMJI2MUZ.js";
5
- import "../../../chunk-LCWH3FW5.js";
6
- import "../../../chunk-NLUGD7PZ.js";
7
- import "../../../chunk-YZHXAE4H.js";
8
- import "../../../chunk-EMUNMNK7.js";
9
- import "../../../chunk-67E32Z72.js";
3
+ } from "../../../chunk-SARPUMOJ.js";
4
+ import "../../../chunk-O2TXYCMU.js";
5
+ import "../../../chunk-MS2XBA2O.js";
6
+ import "../../../chunk-S3KCQ67R.js";
7
+ import "../../../chunk-EPBXQ43B.js";
8
+ import "../../../chunk-6ZDQFSSJ.js";
10
9
  import "../../../chunk-VSLR7ET4.js";
11
- import "../../../chunk-3E44DPAU.js";
12
- import "../../../chunk-SERYSNVE.js";
13
- import "../../../chunk-NV2K2JNI.js";
10
+ import "../../../chunk-QAP5YFY6.js";
11
+ import "../../../chunk-6MAEOVS3.js";
14
12
  import "../../../chunk-BYPQXSAL.js";
15
13
  import "../../../chunk-O5K4AU7Q.js";
16
- import "../../../chunk-XHO4O3WD.js";
17
- import "../../../chunk-CL6KB3RG.js";
14
+ import "../../../chunk-GKSNOFYA.js";
15
+ import "../../../chunk-NLUGD7PZ.js";
16
+ import "../../../chunk-YGWIVVUL.js";
18
17
  import "../../../chunk-QETDXAFX.js";
19
18
  import "../../../chunk-NZDBLGNM.js";
20
19
  import "../../../chunk-BFQFJ7IZ.js";
@@ -1,31 +1,30 @@
1
1
  import {
2
2
  mockAndCaptureOutput
3
- } from "../../../chunk-QK4M5NLW.js";
3
+ } from "../../../chunk-3M35CLHM.js";
4
4
  import {
5
5
  Logout
6
- } from "../../../chunk-X2LIPDBQ.js";
6
+ } from "../../../chunk-SARPUMOJ.js";
7
7
  import {
8
8
  logout
9
- } from "../../../chunk-EMJI2MUZ.js";
10
- import "../../../chunk-LCWH3FW5.js";
11
- import "../../../chunk-NLUGD7PZ.js";
9
+ } from "../../../chunk-O2TXYCMU.js";
12
10
  import {
13
11
  describe,
14
12
  globalExpect,
15
13
  test,
16
14
  vi
17
15
  } from "../../../chunk-ZGHNMRBX.js";
18
- import "../../../chunk-YZHXAE4H.js";
19
- import "../../../chunk-EMUNMNK7.js";
20
- import "../../../chunk-67E32Z72.js";
16
+ import "../../../chunk-MS2XBA2O.js";
17
+ import "../../../chunk-S3KCQ67R.js";
18
+ import "../../../chunk-EPBXQ43B.js";
19
+ import "../../../chunk-6ZDQFSSJ.js";
21
20
  import "../../../chunk-VSLR7ET4.js";
22
- import "../../../chunk-3E44DPAU.js";
23
- import "../../../chunk-SERYSNVE.js";
24
- import "../../../chunk-NV2K2JNI.js";
21
+ import "../../../chunk-QAP5YFY6.js";
22
+ import "../../../chunk-6MAEOVS3.js";
25
23
  import "../../../chunk-BYPQXSAL.js";
26
24
  import "../../../chunk-O5K4AU7Q.js";
27
- import "../../../chunk-XHO4O3WD.js";
28
- import "../../../chunk-CL6KB3RG.js";
25
+ import "../../../chunk-GKSNOFYA.js";
26
+ import "../../../chunk-NLUGD7PZ.js";
27
+ import "../../../chunk-YGWIVVUL.js";
29
28
  import "../../../chunk-QETDXAFX.js";
30
29
  import "../../../chunk-NZDBLGNM.js";
31
30
  import "../../../chunk-BFQFJ7IZ.js";