@shopify/cli 3.85.5 → 3.86.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 (99) hide show
  1. package/dist/assets/dev-console/extensions/dev-console/assets/index-Cj8WCHlM.js +64 -0
  2. package/dist/assets/dev-console/index.html +1 -1
  3. package/dist/assets/hydrogen/starter/package.json +1 -1
  4. package/dist/{brotli-EDFLSXX4.js → brotli-2OKV26Y6.js} +3 -3
  5. package/dist/{chunk-FRHZJBJZ.js → chunk-2LK4JXAI.js} +27 -19
  6. package/dist/{chunk-O2O5GRI6.js → chunk-2WTSZOXI.js} +3 -3
  7. package/dist/{chunk-BQ3PZIHZ.js → chunk-4MSYMXAX.js} +16 -16
  8. package/dist/{chunk-MUZ7NPCX.js → chunk-4WBTBFNC.js} +4 -4
  9. package/dist/{chunk-IAX3IWUQ.js → chunk-52OB52S5.js} +5 -5
  10. package/dist/{chunk-UATXMR5F.js → chunk-6FH6AJI5.js} +3 -3
  11. package/dist/{chunk-75LV6AQS.js → chunk-6ONJEX7Y.js} +8 -8
  12. package/dist/{chunk-TE4CUUT4.js → chunk-6VIQUXXO.js} +2 -2
  13. package/dist/{chunk-SMBX232U.js → chunk-A5RXDG36.js} +205 -183
  14. package/dist/{chunk-ODJ7LSLO.js → chunk-AAHIUMCI.js} +3 -3
  15. package/dist/{chunk-RZPYG7LO.js → chunk-AU6C5SPW.js} +25 -25
  16. package/dist/{chunk-UF2X5VHR.js → chunk-AXMPBUZL.js} +3 -3
  17. package/dist/{chunk-NTCXWD2Q.js → chunk-B7H344JI.js} +583 -585
  18. package/dist/{chunk-VVDGGMKJ.js → chunk-CZE7TCFI.js} +3 -3
  19. package/dist/{chunk-PZUWEJO3.js → chunk-E7SRX5ME.js} +4 -4
  20. package/dist/{chunk-IG5SOACB.js → chunk-F2V6FX7R.js} +3 -3
  21. package/dist/{chunk-J6T7KVRL.js → chunk-GNW7DUJ5.js} +2 -2
  22. package/dist/{chunk-3ULYQTX3.js → chunk-HUR6MF6D.js} +8 -8
  23. package/dist/{chunk-DHW4GI57.js → chunk-IPWP4QG4.js} +5 -5
  24. package/dist/{chunk-MR763CPY.js → chunk-J4HWHB57.js} +6 -6
  25. package/dist/{chunk-GQ63RYWN.js → chunk-J6JPAWCE.js} +2 -2
  26. package/dist/{chunk-NMGJYSTC.js → chunk-K45JWD7H.js} +6 -6
  27. package/dist/{chunk-P46WMXBU.js → chunk-KCMYZRDH.js} +5 -5
  28. package/dist/{chunk-G2I4CD5D.js → chunk-MZWHWEIR.js} +2 -2
  29. package/dist/{chunk-AVSSZ6MY.js → chunk-NAPXIWWP.js} +7 -7
  30. package/dist/{chunk-FGSQR4VQ.js → chunk-NOHJOQVR.js} +3 -3
  31. package/dist/{chunk-JF6DQIJR.js → chunk-PANEHHGV.js} +16 -16
  32. package/dist/{chunk-GG2ELY5O.js → chunk-PBZI5MOK.js} +146 -125
  33. package/dist/{chunk-R6BNSDGA.js → chunk-PPM7JU6X.js} +3 -3
  34. package/dist/{chunk-B5EXYCV3.js → chunk-Q2H6D2MH.js} +5 -5
  35. package/dist/{chunk-CQSO2B3C.js → chunk-QZSPMSF2.js} +81 -30
  36. package/dist/{chunk-PFBQBDNU.js → chunk-RQD77XVF.js} +3 -3
  37. package/dist/{chunk-TYHJPUOR.js → chunk-SQNWVF3V.js} +2 -2
  38. package/dist/{chunk-MDDWB46W.js → chunk-TDSRWKL2.js} +6 -6
  39. package/dist/{chunk-RAZVOMJW.js → chunk-UB7QY2VF.js} +3 -3
  40. package/dist/{chunk-UQT7B7DM.js → chunk-VGDJLENI.js} +3 -3
  41. package/dist/{chunk-F7F4BQYW.js → chunk-X2YIODUW.js} +56 -58
  42. package/dist/{chunk-25IMI7TH.js → chunk-XD3LXUGW.js} +5 -5
  43. package/dist/{chunk-TXX6R3WL.js → chunk-YRJLM3MZ.js} +2 -2
  44. package/dist/{chunk-FMD2ETAR.js → chunk-YXTZTRRV.js} +4 -4
  45. package/dist/{chunk-CHLX44DR.js → chunk-ZKG22PUU.js} +4 -4
  46. package/dist/cli/commands/auth/login.js +15 -15
  47. package/dist/cli/commands/auth/login.test.js +17 -17
  48. package/dist/cli/commands/auth/logout.js +15 -15
  49. package/dist/cli/commands/auth/logout.test.js +17 -17
  50. package/dist/cli/commands/cache/clear.js +15 -15
  51. package/dist/cli/commands/debug/command-flags.js +15 -15
  52. package/dist/cli/commands/docs/generate.js +15 -15
  53. package/dist/cli/commands/docs/generate.test.js +16 -16
  54. package/dist/cli/commands/help.js +15 -15
  55. package/dist/cli/commands/kitchen-sink/async.js +16 -16
  56. package/dist/cli/commands/kitchen-sink/async.test.js +17 -17
  57. package/dist/cli/commands/kitchen-sink/index.js +18 -18
  58. package/dist/cli/commands/kitchen-sink/index.test.js +19 -19
  59. package/dist/cli/commands/kitchen-sink/prompts.js +16 -16
  60. package/dist/cli/commands/kitchen-sink/prompts.test.js +17 -17
  61. package/dist/cli/commands/kitchen-sink/static.js +16 -16
  62. package/dist/cli/commands/kitchen-sink/static.test.js +17 -17
  63. package/dist/cli/commands/notifications/generate.js +16 -16
  64. package/dist/cli/commands/notifications/list.js +16 -16
  65. package/dist/cli/commands/search.js +16 -16
  66. package/dist/cli/commands/upgrade.js +16 -16
  67. package/dist/cli/commands/upgrade.test.js +1 -1
  68. package/dist/cli/commands/version.js +16 -16
  69. package/dist/cli/commands/version.test.js +17 -17
  70. package/dist/cli/services/commands/notifications.js +11 -11
  71. package/dist/cli/services/commands/search.js +6 -6
  72. package/dist/cli/services/commands/search.test.js +7 -7
  73. package/dist/cli/services/commands/version.js +7 -7
  74. package/dist/cli/services/commands/version.test.js +9 -9
  75. package/dist/cli/services/kitchen-sink/async.js +6 -6
  76. package/dist/cli/services/kitchen-sink/prompts.js +6 -6
  77. package/dist/cli/services/kitchen-sink/static.js +6 -6
  78. package/dist/cli/services/upgrade.js +7 -7
  79. package/dist/cli/services/upgrade.test.js +9 -9
  80. package/dist/{custom-oclif-loader-X7GLA66E.js → custom-oclif-loader-IB5J422L.js} +6 -6
  81. package/dist/{del-DNZ7X2HW.js → del-DIPVIUR3.js} +3 -3
  82. package/dist/{error-handler-QOTWDLMF.js → error-handler-CU4DBAA4.js} +13 -13
  83. package/dist/hooks/postrun.js +11 -11
  84. package/dist/hooks/prerun.js +12 -12
  85. package/dist/{http-proxy-node16-T623PGD4.js → http-proxy-node16-K5X7BUK5.js} +3 -3
  86. package/dist/index.js +1659 -2649
  87. package/dist/{lib-DEEC6IKU.js → lib-EMZRCLCJ.js} +3 -3
  88. package/dist/{lib-JVEIEXYB.js → lib-WHI5XOGD.js} +2 -2
  89. package/dist/{local-FS3UI7PE.js → local-PYV7PNUD.js} +6 -6
  90. package/dist/{morph-D4BXY376.js → morph-EGK76SED.js} +17 -18
  91. package/dist/{multipart-parser-WSNBP656.js → multipart-parser-IYYNISJK.js} +2 -2
  92. package/dist/{node-package-manager-TX3WZQGI.js → node-package-manager-BCGA26RH.js} +7 -7
  93. package/dist/{source-map-QCVC46UY.js → source-map-UFUVQCYE.js} +5 -5
  94. package/dist/tsconfig.tsbuildinfo +1 -1
  95. package/dist/{ui-PUN5STUM.js → ui-7POT36Q5.js} +6 -6
  96. package/dist/{workerd-GJFM5MYN.js → workerd-UA5IB4IF.js} +17 -17
  97. package/oclif.manifest.json +17 -104
  98. package/package.json +8 -12
  99. package/dist/assets/dev-console/extensions/dev-console/assets/index-ohOjvIJh.js +0 -64
@@ -12,7 +12,7 @@
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-ohOjvIJh.js"></script>
15
+ <script type="module" crossorigin src="/extensions/dev-console/assets/index-Cj8WCHlM.js"></script>
16
16
  <link rel="stylesheet" crossorigin href="/extensions/dev-console/assets/index-BteeGmYf.css">
17
17
  </head>
18
18
  <body>
@@ -30,7 +30,7 @@
30
30
  "@graphql-codegen/cli": "5.0.2",
31
31
  "@react-router/dev": "7.9.2",
32
32
  "@react-router/fs-routes": "7.9.2",
33
- "@shopify/cli": "3.84.1",
33
+ "@shopify/cli": "3.85.4",
34
34
  "@shopify/hydrogen-codegen": "^0.3.3",
35
35
  "@shopify/mini-oxygen": "^4.0.0",
36
36
  "@shopify/oxygen-workers-types": "^4.1.6",
@@ -126532,7 +126532,7 @@ var require_encode = __commonJS({
126532
126532
  ABORT: F,
126533
126533
  cttz_i8: Sa
126534
126534
  };
126535
- var Y = function(global, env, buffer2) {
126535
+ var Y = (function(global, env, buffer2) {
126536
126536
  var a = new global.Int8Array(buffer2), b2 = new global.Int16Array(buffer2), c = new global.Int32Array(buffer2), d = new global.Uint8Array(buffer2), e = new global.Uint16Array(buffer2), f = new global.Uint32Array(buffer2), g2 = new global.Float32Array(buffer2), h = new global.Float64Array(buffer2), i = env.STACKTOP | 0, j = env.STACK_MAX | 0, k = env.tempDoublePtr | 0, l = env.ABORT | 0, m2 = env.cttz_i8 | 0, n = 0, o = 0, p = 0, q = 0, r = global.NaN, s = global.Infinity, t2 = 0, u2 = 0, v2 = 0, w = 0, x2 = 0, y2 = 0, z2 = 0, A2 = 0, B2 = 0, C2 = 0, D2 = 0, E2 = 0, F2 = 0, G2 = 0, H2 = 0, I2 = 0, J2 = 0, K2 = 0, L2 = 0, M = global.Math.floor, N2 = global.Math.abs, O2 = global.Math.sqrt, P2 = global.Math.pow, Q2 = global.Math.cos, R2 = global.Math.sin, S2 = global.Math.tan, T2 = global.Math.acos, U2 = global.Math.asin, V2 = global.Math.atan, W2 = global.Math.atan2, X2 = global.Math.exp, Y2 = global.Math.log, Z2 = global.Math.ceil, _ = global.Math.imul, $ = global.Math.min, aa2 = global.Math.clz32, ba2 = env.abort, ca2 = env.assert, da2 = env.invoke_vii, ea2 = env.invoke_iii, fa2 = env.__exit, ga2 = env._pthread_self, ha2 = env._abort, ia2 = env.___setErrNo, ja2 = env._sysconf, ka2 = env._sbrk, la2 = env._time, ma2 = env._emscripten_memcpy_big, na = env._llvm_trap, oa2 = env._exit, pa2 = env.___assert_fail, qa2 = 0;
126537
126537
  function $a2(e2, f2, g3, h2, j2, k2, l2, m3) {
126538
126538
  e2 = e2 | 0, f2 = f2 | 0, g3 = g3 | 0, h2 = h2 | 0, j2 = j2 | 0, k2 = k2 | 0, l2 = l2 | 0, m3 = m3 | 0;
@@ -136686,7 +136686,7 @@ var require_encode = __commonJS({
136686
136686
  }
136687
136687
  var ra2 = [rc, Mb], sa2 = [sc, Lb];
136688
136688
  return { _i64Subtract: $b, _free: Zb, _i64Add: ec, _memmove: fc, _memset: ac, _malloc: Yb, _encode: Ca2, _memcpy: dc, _bitshift64Lshr: bc, _bitshift64Shl: cc, runPostSets: _b, stackAlloc: ta2, stackSave: ua2, stackRestore: va2, establishStackSpace: wa2, setThrew: xa2, setTempRet0: Aa2, getTempRet0: Ba2, dynCall_vii: pc, dynCall_iii: qc };
136689
- }(b.I, b.J, buffer), Ja = b._i64Subtract = Y._i64Subtract, pa = b._free = Y._free;
136689
+ })(b.I, b.J, buffer), Ja = b._i64Subtract = Y._i64Subtract, pa = b._free = Y._free;
136690
136690
  b.runPostSets = Y.runPostSets;
136691
136691
  var Pa = b._i64Add = Y._i64Add, Qa = b._memmove = Y._memmove, La = b._memset = Y._memset, ia = b._malloc = Y._malloc;
136692
136692
  b._encode = Y._encode;
@@ -136806,4 +136806,4 @@ var require_brotli = __commonJS({
136806
136806
  }
136807
136807
  });
136808
136808
  export default require_brotli();
136809
- //# sourceMappingURL=brotli-EDFLSXX4.js.map
136809
+ //# sourceMappingURL=brotli-2OKV26Y6.js.map
@@ -18,7 +18,7 @@ import {
18
18
  sanitizedHeadersOutput,
19
19
  shopifyFetch,
20
20
  z
21
- } from "./chunk-JF6DQIJR.js";
21
+ } from "./chunk-PANEHHGV.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-CQSO2B3C.js";
33
+ } from "./chunk-QZSPMSF2.js";
34
34
  import {
35
35
  CLI_KIT_VERSION
36
- } from "./chunk-TYHJPUOR.js";
36
+ } from "./chunk-SQNWVF3V.js";
37
37
  import {
38
38
  AbortError,
39
39
  BugError,
@@ -96,7 +96,7 @@ import {
96
96
  sessionConstants,
97
97
  stringifyMessage,
98
98
  themeToken
99
- } from "./chunk-GG2ELY5O.js";
99
+ } from "./chunk-PBZI5MOK.js";
100
100
  import {
101
101
  cwd
102
102
  } from "./chunk-EG6MBBEN.js";
@@ -737,7 +737,7 @@ var require_Events = __commonJS({
737
737
  return name !== "debug" && _this.trigger("debug", `Event triggered: ${name}`, args), _this._events[name] == null ? void 0 : (_this._events[name] = _this._events[name].filter(function(listener) {
738
738
  return listener.status !== "none";
739
739
  }), promises = _this._events[name].map(
740
- /* @__PURE__ */ function() {
740
+ /* @__PURE__ */ (function() {
741
741
  var _ref = _asyncToGenerator2(function* (listener) {
742
742
  var e2, returned;
743
743
  if (listener.status !== "none") {
@@ -752,7 +752,7 @@ var require_Events = __commonJS({
752
752
  return function(_x) {
753
753
  return _ref.apply(this, arguments);
754
754
  };
755
- }()
755
+ })()
756
756
  ), (yield Promise.all(promises)).find(function(x) {
757
757
  return x != null;
758
758
  }));
@@ -1957,7 +1957,7 @@ var require_RedisConnection = __commonJS({
1957
1957
  __removeLimiter__(instance) {
1958
1958
  var _this2 = this;
1959
1959
  return this.Promise.all([instance.channel(), instance.channel_client()].map(
1960
- /* @__PURE__ */ function() {
1960
+ /* @__PURE__ */ (function() {
1961
1961
  var _ref = _asyncToGenerator(function* (channel) {
1962
1962
  return _this2.terminated || (yield new _this2.Promise((resolve, reject) => _this2.subscriber.unsubscribe(channel, function(err2, chan) {
1963
1963
  if (err2 != null)
@@ -1969,7 +1969,7 @@ var require_RedisConnection = __commonJS({
1969
1969
  return function(_x) {
1970
1970
  return _ref.apply(this, arguments);
1971
1971
  };
1972
- }()
1972
+ })()
1973
1973
  ));
1974
1974
  }
1975
1975
  __scriptArgs__(name, id, args, cb) {
@@ -2090,14 +2090,14 @@ var require_IORedisConnection = __commonJS({
2090
2090
  __removeLimiter__(instance) {
2091
2091
  var _this2 = this;
2092
2092
  return [instance.channel(), instance.channel_client()].forEach(
2093
- /* @__PURE__ */ function() {
2093
+ /* @__PURE__ */ (function() {
2094
2094
  var _ref3 = _asyncToGenerator(function* (channel) {
2095
2095
  return _this2.terminated || (yield _this2.subscriber.unsubscribe(channel)), delete _this2.limiters[channel];
2096
2096
  });
2097
2097
  return function(_x) {
2098
2098
  return _ref3.apply(this, arguments);
2099
2099
  };
2100
- }()
2100
+ })()
2101
2101
  );
2102
2102
  }
2103
2103
  __scriptArgs__(name, id, args, cb) {
@@ -3367,8 +3367,8 @@ async function identityFqdn() {
3367
3367
  return productionFqdn;
3368
3368
  }
3369
3369
  }
3370
- async function normalizeStoreFqdn(store2) {
3371
- let storeFqdn = store2.replace(/^https?:\/\//, "").replace(/\/$/, ""), addDomain = async (storeFqdn2) => {
3370
+ function normalizeStoreFqdn(store2) {
3371
+ let storeFqdn = store2.replace(/^https?:\/\//, "").replace(/\/$/, "").replace(/\/admin$/, ""), addDomain = (storeFqdn2) => {
3372
3372
  switch (serviceEnvironment()) {
3373
3373
  case "local":
3374
3374
  return new DevServerCore().host(storeFqdn2);
@@ -4142,7 +4142,7 @@ function setLastSeenAuthMethod(method) {
4142
4142
  async function ensureAuthenticated(applications, _env, { forceRefresh = !1, noPrompt = !1, forceNewSession = !1 } = {}) {
4143
4143
  let fqdn = await identityFqdn(), previousStoreFqdn = applications.adminApi?.storeFqdn;
4144
4144
  if (previousStoreFqdn) {
4145
- let normalizedStoreName = await normalizeStoreFqdn(previousStoreFqdn);
4145
+ let normalizedStoreName = normalizeStoreFqdn(previousStoreFqdn);
4146
4146
  previousStoreFqdn === applications.adminApi?.storeFqdn && (applications.adminApi.storeFqdn = normalizedStoreName);
4147
4147
  }
4148
4148
  let sessions = await fetch() ?? {}, currentSessionId = getCurrentSessionId();
@@ -4255,7 +4255,7 @@ function getExchangeScopes(apps) {
4255
4255
  function buildIdentityTokenFromEnv(scopes, identityTokenInformation) {
4256
4256
  return {
4257
4257
  ...identityTokenInformation,
4258
- expiresAt: new Date(Date.now() + 30 * 24 * 60 * 60 * 1e3),
4258
+ expiresAt: new Date(Date.now() + 720 * 60 * 60 * 1e3),
4259
4259
  scopes,
4260
4260
  alias: identityTokenInformation.userId
4261
4261
  };
@@ -4370,7 +4370,7 @@ async function refreshAccessToken(currentToken) {
4370
4370
  refresh_token: currentToken.refreshToken,
4371
4371
  client_id: clientId2
4372
4372
  }, value = (await tokenRequest(params)).mapError(tokenRequestErrorHandler).valueOrBug();
4373
- return buildIdentityToken(value, currentToken.userId);
4373
+ return buildIdentityToken(value, currentToken.userId, currentToken.alias);
4374
4374
  }
4375
4375
  async function exchangeCliTokenForAccessToken(apiName, token, scopes) {
4376
4376
  let appId = applicationId(apiName);
@@ -4431,7 +4431,7 @@ async function tokenRequest(params) {
4431
4431
  let res = await shopifyFetch(url3.href, { method: "POST" }), payload = await res.json();
4432
4432
  return res.ok ? ok(payload) : err({ error: payload.error, store: params.store });
4433
4433
  }
4434
- function buildIdentityToken(result, existingUserId) {
4434
+ function buildIdentityToken(result, existingUserId, existingAlias) {
4435
4435
  let userId2 = existingUserId ?? (result.id_token ? decodeJwt(result.id_token).sub : void 0);
4436
4436
  if (!userId2)
4437
4437
  throw new BugError("Error setting userId for session. No id_token or pre-existing user ID provided.");
@@ -4440,7 +4440,8 @@ function buildIdentityToken(result, existingUserId) {
4440
4440
  refreshToken: result.refresh_token,
4441
4441
  expiresAt: new Date(Date.now() + result.expires_in * 1e3),
4442
4442
  scopes: result.scope.split(" "),
4443
- userId: userId2
4443
+ userId: userId2,
4444
+ alias: existingAlias
4444
4445
  };
4445
4446
  }
4446
4447
  function buildApplicationToken(result) {
@@ -4452,6 +4453,12 @@ function buildApplicationToken(result) {
4452
4453
  }
4453
4454
 
4454
4455
  // ../cli-kit/dist/public/node/session.js
4456
+ function isUserAccount(account) {
4457
+ return account.type === "UserAccount";
4458
+ }
4459
+ function isServiceAccount(account) {
4460
+ return account.type === "ServiceAccount";
4461
+ }
4455
4462
  async function ensureAuthenticatedUser(env = process.env, options2 = {}) {
4456
4463
  return outputDebug(outputContent`Ensuring that the user is authenticated with no particular scopes`), { userId: (await ensureAuthenticated({}, env, options2)).userId };
4457
4464
  }
@@ -4600,7 +4607,6 @@ export {
4600
4607
  appManagementFqdn,
4601
4608
  appDevFqdn,
4602
4609
  developerDashboardFqdn,
4603
- businessPlatformFqdn,
4604
4610
  identityFqdn,
4605
4611
  normalizeStoreFqdn,
4606
4612
  ok,
@@ -4609,6 +4615,8 @@ export {
4609
4615
  getSessionAlias,
4610
4616
  findSessionByAlias,
4611
4617
  isThemeAccessSession,
4618
+ isUserAccount,
4619
+ isServiceAccount,
4612
4620
  ensureAuthenticatedUser,
4613
4621
  ensureAuthenticatedPartners,
4614
4622
  ensureAuthenticatedAppManagementAndBusinessPlatform,
@@ -4651,4 +4659,4 @@ export {
4651
4659
  getEnvironmentData,
4652
4660
  getSensitiveEnvironmentData
4653
4661
  };
4654
- //# sourceMappingURL=chunk-FRHZJBJZ.js.map
4662
+ //# sourceMappingURL=chunk-2LK4JXAI.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  generate
3
- } from "./chunk-DHW4GI57.js";
3
+ } from "./chunk-IPWP4QG4.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-NMGJYSTC.js";
6
+ } from "./chunk-K45JWD7H.js";
7
7
  import {
8
8
  init_cjs_shims
9
9
  } from "./chunk-PKR7KJ6P.js";
@@ -25,4 +25,4 @@ var Generate = class extends base_command_default {
25
25
  export {
26
26
  Generate
27
27
  };
28
- //# sourceMappingURL=chunk-O2O5GRI6.js.map
28
+ //# sourceMappingURL=chunk-2WTSZOXI.js.map
@@ -48,15 +48,15 @@ var require_dist = __commonJS({
48
48
  "../../node_modules/.pnpm/expect-type@1.2.1/node_modules/expect-type/dist/index.js"(exports) {
49
49
  "use strict";
50
50
  init_cjs_shims();
51
- var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m2, k, k2) {
51
+ var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m2, k, k2) {
52
52
  k2 === void 0 && (k2 = k);
53
53
  var desc = Object.getOwnPropertyDescriptor(m2, k);
54
54
  (!desc || ("get" in desc ? !m2.__esModule : desc.writable || desc.configurable)) && (desc = { enumerable: !0, get: function() {
55
55
  return m2[k];
56
56
  } }), Object.defineProperty(o, k2, desc);
57
- } : function(o, m2, k, k2) {
57
+ }) : (function(o, m2, k, k2) {
58
58
  k2 === void 0 && (k2 = k), o[k2] = m2[k];
59
- }), __exportStar = exports && exports.__exportStar || function(m2, exports2) {
59
+ })), __exportStar = exports && exports.__exportStar || function(m2, exports2) {
60
60
  for (var p3 in m2) p3 !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p3) && __createBinding(exports2, m2, p3);
61
61
  };
62
62
  Object.defineProperty(exports, "__esModule", { value: !0 });
@@ -501,7 +501,7 @@ function requireReactIs_production() {
501
501
  var reactIs_development$1 = {};
502
502
  var hasRequiredReactIs_development$1;
503
503
  function requireReactIs_development$1() {
504
- return hasRequiredReactIs_development$1 || (hasRequiredReactIs_development$1 = 1, process.env.NODE_ENV !== "production" && function() {
504
+ return hasRequiredReactIs_development$1 || (hasRequiredReactIs_development$1 = 1, process.env.NODE_ENV !== "production" && (function() {
505
505
  function typeOf2(object2) {
506
506
  if (typeof object2 == "object" && object2 !== null) {
507
507
  var $$typeof = object2.$$typeof;
@@ -561,7 +561,7 @@ function requireReactIs_development$1() {
561
561
  }, reactIs_development$1.isValidElementType = function(type3) {
562
562
  return typeof type3 == "string" || typeof type3 == "function" || type3 === REACT_FRAGMENT_TYPE || type3 === REACT_PROFILER_TYPE || type3 === REACT_STRICT_MODE_TYPE || type3 === REACT_SUSPENSE_TYPE || type3 === REACT_SUSPENSE_LIST_TYPE || typeof type3 == "object" && type3 !== null && (type3.$$typeof === REACT_LAZY_TYPE || type3.$$typeof === REACT_MEMO_TYPE || type3.$$typeof === REACT_CONTEXT_TYPE || type3.$$typeof === REACT_CONSUMER_TYPE || type3.$$typeof === REACT_FORWARD_REF_TYPE || type3.$$typeof === REACT_CLIENT_REFERENCE || type3.getModuleId !== void 0);
563
563
  }, reactIs_development$1.typeOf = typeOf2;
564
- }()), reactIs_development$1;
564
+ })()), reactIs_development$1;
565
565
  }
566
566
  var hasRequiredReactIs$1;
567
567
  function requireReactIs$1() {
@@ -642,7 +642,7 @@ function requireReactIs_production_min() {
642
642
  var reactIs_development = {};
643
643
  var hasRequiredReactIs_development;
644
644
  function requireReactIs_development() {
645
- return hasRequiredReactIs_development || (hasRequiredReactIs_development = 1, process.env.NODE_ENV !== "production" && function() {
645
+ return hasRequiredReactIs_development || (hasRequiredReactIs_development = 1, process.env.NODE_ENV !== "production" && (function() {
646
646
  var REACT_ELEMENT_TYPE = Symbol.for("react.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_PROVIDER_TYPE = Symbol.for("react.provider"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_SERVER_CONTEXT_TYPE = Symbol.for("react.server_context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), enableScopeAPI = !1, enableCacheElement = !1, enableTransitionTracing = !1, enableLegacyHidden = !1, enableDebugTracing = !1, REACT_MODULE_REFERENCE;
647
647
  REACT_MODULE_REFERENCE = Symbol.for("react.module.reference");
648
648
  function isValidElementType(type3) {
@@ -728,7 +728,7 @@ function requireReactIs_development() {
728
728
  return typeOf2(object2) === REACT_SUSPENSE_LIST_TYPE;
729
729
  }
730
730
  reactIs_development.ContextConsumer = ContextConsumer, reactIs_development.ContextProvider = ContextProvider, reactIs_development.Element = Element2, reactIs_development.ForwardRef = ForwardRef, reactIs_development.Fragment = Fragment, reactIs_development.Lazy = Lazy, reactIs_development.Memo = Memo, reactIs_development.Portal = Portal, reactIs_development.Profiler = Profiler, reactIs_development.StrictMode = StrictMode, reactIs_development.Suspense = Suspense, reactIs_development.SuspenseList = SuspenseList, reactIs_development.isAsyncMode = isAsyncMode, reactIs_development.isConcurrentMode = isConcurrentMode, reactIs_development.isContextConsumer = isContextConsumer, reactIs_development.isContextProvider = isContextProvider, reactIs_development.isElement = isElement, reactIs_development.isForwardRef = isForwardRef, reactIs_development.isFragment = isFragment, reactIs_development.isLazy = isLazy, reactIs_development.isMemo = isMemo, reactIs_development.isPortal = isPortal, reactIs_development.isProfiler = isProfiler, reactIs_development.isStrictMode = isStrictMode, reactIs_development.isSuspense = isSuspense, reactIs_development.isSuspenseList = isSuspenseList, reactIs_development.isValidElementType = isValidElementType, reactIs_development.typeOf = typeOf2;
731
- }()), reactIs_development;
731
+ })()), reactIs_development;
732
732
  }
733
733
  var hasRequiredReactIs;
734
734
  function requireReactIs() {
@@ -9846,7 +9846,7 @@ function commonjsRequire(path) {
9846
9846
  }
9847
9847
  var chaiSubset$1 = { exports: {} }, chaiSubset = chaiSubset$1.exports, hasRequiredChaiSubset;
9848
9848
  function requireChaiSubset() {
9849
- return hasRequiredChaiSubset || (hasRequiredChaiSubset = 1, function(module, exports) {
9849
+ return hasRequiredChaiSubset || (hasRequiredChaiSubset = 1, (function(module, exports) {
9850
9850
  (function() {
9851
9851
  (function(chaiSubset2) {
9852
9852
  return typeof commonjsRequire == "function" ? module.exports = chaiSubset2 : chai.use(chaiSubset2);
@@ -9892,7 +9892,7 @@ function requireChaiSubset() {
9892
9892
  }
9893
9893
  });
9894
9894
  }).call(chaiSubset);
9895
- }(chaiSubset$1)), chaiSubset$1.exports;
9895
+ })(chaiSubset$1)), chaiSubset$1.exports;
9896
9896
  }
9897
9897
  var chaiSubsetExports = requireChaiSubset(), Subset = /* @__PURE__ */ getDefaultExportFromCjs3(chaiSubsetExports);
9898
9898
  function createAssertionMessage2(util, assertion, hasArgs) {
@@ -10156,7 +10156,7 @@ function requireClassName() {
10156
10156
  }
10157
10157
  var deprecated = {}, hasRequiredDeprecated;
10158
10158
  function requireDeprecated() {
10159
- return hasRequiredDeprecated || (hasRequiredDeprecated = 1, function(exports) {
10159
+ return hasRequiredDeprecated || (hasRequiredDeprecated = 1, (function(exports) {
10160
10160
  exports.wrap = function(func, msg) {
10161
10161
  var wrapped = function() {
10162
10162
  return exports.printWarning(msg), func.apply(this, arguments);
@@ -10167,7 +10167,7 @@ function requireDeprecated() {
10167
10167
  }, exports.printWarning = function(msg) {
10168
10168
  typeof process == "object" && process.emitWarning ? process.emitWarning(msg) : console.info ? console.info(msg) : console.log(msg);
10169
10169
  };
10170
- }(deprecated)), deprecated;
10170
+ })(deprecated)), deprecated;
10171
10171
  }
10172
10172
  var every, hasRequiredEvery;
10173
10173
  function requireEvery() {
@@ -10262,10 +10262,10 @@ function requirePrototypes() {
10262
10262
  }
10263
10263
  var typeDetect$1 = { exports: {} }, typeDetect = typeDetect$1.exports, hasRequiredTypeDetect;
10264
10264
  function requireTypeDetect() {
10265
- return hasRequiredTypeDetect || (hasRequiredTypeDetect = 1, function(module, exports) {
10265
+ return hasRequiredTypeDetect || (hasRequiredTypeDetect = 1, (function(module, exports) {
10266
10266
  (function(global3, factory) {
10267
10267
  module.exports = factory();
10268
- })(typeDetect, function() {
10268
+ })(typeDetect, (function() {
10269
10269
  var promiseExists = typeof Promise == "function", globalObject = typeof self == "object" ? self : commonjsGlobal, symbolExists = typeof Symbol < "u", mapExists = typeof Map < "u", setExists = typeof Set < "u", weakMapExists = typeof WeakMap < "u", weakSetExists = typeof WeakSet < "u", dataViewExists = typeof DataView < "u", symbolIteratorExists = symbolExists && typeof Symbol.iterator < "u", symbolToStringTagExists = symbolExists && typeof Symbol.toStringTag < "u", setEntriesExists = setExists && typeof Set.prototype.entries == "function", mapEntriesExists = mapExists && typeof Map.prototype.entries == "function", setIteratorPrototype = setEntriesExists && Object.getPrototypeOf((/* @__PURE__ */ new Set()).entries()), mapIteratorPrototype = mapEntriesExists && Object.getPrototypeOf((/* @__PURE__ */ new Map()).entries()), arrayIteratorExists = symbolIteratorExists && typeof Array.prototype[Symbol.iterator] == "function", arrayIteratorPrototype = arrayIteratorExists && Object.getPrototypeOf([][Symbol.iterator]()), stringIteratorExists = symbolIteratorExists && typeof String.prototype[Symbol.iterator] == "function", stringIteratorPrototype = stringIteratorExists && Object.getPrototypeOf(""[Symbol.iterator]()), toStringLeftSliceLength = 8, toStringRightSliceLength = -1;
10270
10270
  function typeDetect2(obj) {
10271
10271
  var typeofObj = typeof obj;
@@ -10304,8 +10304,8 @@ function requireTypeDetect() {
10304
10304
  return objPrototype === RegExp.prototype ? "RegExp" : objPrototype === Date.prototype ? "Date" : promiseExists && objPrototype === Promise.prototype ? "Promise" : setExists && objPrototype === Set.prototype ? "Set" : mapExists && objPrototype === Map.prototype ? "Map" : weakSetExists && objPrototype === WeakSet.prototype ? "WeakSet" : weakMapExists && objPrototype === WeakMap.prototype ? "WeakMap" : dataViewExists && objPrototype === DataView.prototype ? "DataView" : mapExists && objPrototype === mapIteratorPrototype ? "Map Iterator" : setExists && objPrototype === setIteratorPrototype ? "Set Iterator" : arrayIteratorExists && objPrototype === arrayIteratorPrototype ? "Array Iterator" : stringIteratorExists && objPrototype === stringIteratorPrototype ? "String Iterator" : objPrototype === null ? "Object" : Object.prototype.toString.call(obj).slice(toStringLeftSliceLength, toStringRightSliceLength);
10305
10305
  }
10306
10306
  return typeDetect2;
10307
- });
10308
- }(typeDetect$1)), typeDetect$1.exports;
10307
+ }));
10308
+ })(typeDetect$1)), typeDetect$1.exports;
10309
10309
  }
10310
10310
  var typeOf, hasRequiredTypeOf;
10311
10311
  function requireTypeOf() {
@@ -11802,4 +11802,4 @@ chai/chai.js:
11802
11802
  * @license MIT License
11803
11803
  *)
11804
11804
  */
11805
- //# sourceMappingURL=chunk-BQ3PZIHZ.js.map
11805
+ //# sourceMappingURL=chunk-4MSYMXAX.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  cliInstallCommand
3
- } from "./chunk-ODJ7LSLO.js";
3
+ } from "./chunk-AAHIUMCI.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-NMGJYSTC.js";
6
+ } from "./chunk-K45JWD7H.js";
7
7
  import {
8
8
  renderInfo
9
- } from "./chunk-GG2ELY5O.js";
9
+ } from "./chunk-PBZI5MOK.js";
10
10
  import {
11
11
  init_cjs_shims
12
12
  } from "./chunk-PKR7KJ6P.js";
@@ -34,4 +34,4 @@ var Upgrade = class extends base_command_default {
34
34
  export {
35
35
  Upgrade
36
36
  };
37
- //# sourceMappingURL=chunk-MUZ7NPCX.js.map
37
+ //# sourceMappingURL=chunk-4WBTBFNC.js.map
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  list
3
- } from "./chunk-DHW4GI57.js";
3
+ } from "./chunk-IPWP4QG4.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-NMGJYSTC.js";
6
+ } from "./chunk-K45JWD7H.js";
7
7
  import {
8
8
  sendErrorToBugsnag
9
- } from "./chunk-RZPYG7LO.js";
9
+ } from "./chunk-AU6C5SPW.js";
10
10
  import {
11
11
  require_lib
12
- } from "./chunk-F7F4BQYW.js";
12
+ } from "./chunk-X2YIODUW.js";
13
13
  import {
14
14
  __toESM,
15
15
  init_cjs_shims
@@ -49,4 +49,4 @@ var List = class _List extends base_command_default {
49
49
  export {
50
50
  List
51
51
  };
52
- //# sourceMappingURL=chunk-IAX3IWUQ.js.map
52
+ //# sourceMappingURL=chunk-52OB52S5.js.map
@@ -122,10 +122,10 @@ var require_util = __commonJS({
122
122
  return Array(level + 1).join("../") + aPath.substr(aRoot.length + 1);
123
123
  }
124
124
  exports.relative = relative;
125
- var supportsNullProto = function() {
125
+ var supportsNullProto = (function() {
126
126
  var obj = /* @__PURE__ */ Object.create(null);
127
127
  return !("__proto__" in obj);
128
- }();
128
+ })();
129
129
  function identity(s) {
130
130
  return s;
131
131
  }
@@ -1338,4 +1338,4 @@ export {
1338
1338
  require_buffer_from,
1339
1339
  require_source_map_support
1340
1340
  };
1341
- //# sourceMappingURL=chunk-UATXMR5F.js.map
1341
+ //# sourceMappingURL=chunk-6FH6AJI5.js.map
@@ -28,7 +28,7 @@ var require_polyfills = __commonJS({
28
28
  }), fs.chown && !fs.lchown && (fs.lchown = function(path, uid, gid, cb) {
29
29
  cb && process.nextTick(cb);
30
30
  }, fs.lchownSync = function() {
31
- }), platform === "win32" && (fs.rename = typeof fs.rename != "function" ? fs.rename : function(fs$rename) {
31
+ }), platform === "win32" && (fs.rename = typeof fs.rename != "function" ? fs.rename : (function(fs$rename) {
32
32
  function rename(from, to, cb) {
33
33
  var start = Date.now(), backoff = 0;
34
34
  fs$rename(from, to, function CB(er) {
@@ -44,7 +44,7 @@ var require_polyfills = __commonJS({
44
44
  });
45
45
  }
46
46
  return Object.setPrototypeOf && Object.setPrototypeOf(rename, fs$rename), rename;
47
- }(fs.rename)), fs.read = typeof fs.read != "function" ? fs.read : function(fs$read) {
47
+ })(fs.rename)), fs.read = typeof fs.read != "function" ? fs.read : (function(fs$read) {
48
48
  function read(fd, buffer, offset, length, position, callback_) {
49
49
  var callback;
50
50
  if (callback_ && typeof callback_ == "function") {
@@ -58,7 +58,7 @@ var require_polyfills = __commonJS({
58
58
  return fs$read.call(fs, fd, buffer, offset, length, position, callback);
59
59
  }
60
60
  return Object.setPrototypeOf && Object.setPrototypeOf(read, fs$read), read;
61
- }(fs.read), fs.readSync = typeof fs.readSync != "function" ? fs.readSync : /* @__PURE__ */ function(fs$readSync) {
61
+ })(fs.read), fs.readSync = typeof fs.readSync != "function" ? fs.readSync : /* @__PURE__ */ (function(fs$readSync) {
62
62
  return function(fd, buffer, offset, length, position) {
63
63
  for (var eagCounter = 0; ; )
64
64
  try {
@@ -71,7 +71,7 @@ var require_polyfills = __commonJS({
71
71
  throw er;
72
72
  }
73
73
  };
74
- }(fs.readSync);
74
+ })(fs.readSync);
75
75
  function patchLchmod(fs2) {
76
76
  fs2.lchmod = function(path, mode, callback) {
77
77
  fs2.open(
@@ -304,7 +304,7 @@ var require_graceful_fs = __commonJS({
304
304
  m = "GFS4: " + m.split(/\n/).join(`
305
305
  GFS4: `), console.error(m);
306
306
  });
307
- fs[gracefulQueue] || (queue = global[gracefulQueue] || [], publishQueue(fs, queue), fs.close = function(fs$close) {
307
+ fs[gracefulQueue] || (queue = global[gracefulQueue] || [], publishQueue(fs, queue), fs.close = (function(fs$close) {
308
308
  function close(fd, cb) {
309
309
  return fs$close.call(fs, fd, function(err) {
310
310
  err || resetQueue(), typeof cb == "function" && cb.apply(this, arguments);
@@ -313,14 +313,14 @@ GFS4: `), console.error(m);
313
313
  return Object.defineProperty(close, previousSymbol, {
314
314
  value: fs$close
315
315
  }), close;
316
- }(fs.close), fs.closeSync = function(fs$closeSync) {
316
+ })(fs.close), fs.closeSync = (function(fs$closeSync) {
317
317
  function closeSync(fd) {
318
318
  fs$closeSync.apply(fs, arguments), resetQueue();
319
319
  }
320
320
  return Object.defineProperty(closeSync, previousSymbol, {
321
321
  value: fs$closeSync
322
322
  }), closeSync;
323
- }(fs.closeSync), /\bgfs4\b/i.test(process.env.NODE_DEBUG || "") && process.on("exit", function() {
323
+ })(fs.closeSync), /\bgfs4\b/i.test(process.env.NODE_DEBUG || "") && process.on("exit", function() {
324
324
  debug(fs[gracefulQueue]), __require("assert").equal(fs[gracefulQueue].length, 0);
325
325
  }));
326
326
  var queue;
@@ -517,4 +517,4 @@ GFS4: `), console.error(m);
517
517
  export {
518
518
  require_graceful_fs
519
519
  };
520
- //# sourceMappingURL=chunk-75LV6AQS.js.map
520
+ //# sourceMappingURL=chunk-6ONJEX7Y.js.map
@@ -5,7 +5,7 @@ import {
5
5
  renderDangerousConfirmationPrompt,
6
6
  renderSelectPrompt,
7
7
  renderTextPrompt
8
- } from "./chunk-GG2ELY5O.js";
8
+ } from "./chunk-PBZI5MOK.js";
9
9
  import {
10
10
  init_cjs_shims
11
11
  } from "./chunk-PKR7KJ6P.js";
@@ -175,4 +175,4 @@ async function prompts() {
175
175
  export {
176
176
  prompts
177
177
  };
178
- //# sourceMappingURL=chunk-TE4CUUT4.js.map
178
+ //# sourceMappingURL=chunk-6VIQUXXO.js.map