@shopify/create-app 3.74.0 → 3.75.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 (26) hide show
  1. package/dist/{chunk-VK6YB4CW.js → chunk-3YDOTMPD.js} +3 -3
  2. package/dist/{chunk-ZUCWDIGE.js → chunk-57Q6OQG4.js} +2 -2
  3. package/dist/{chunk-QPEQYFIE.js → chunk-5SC2R6CT.js} +10053 -10052
  4. package/dist/{chunk-A2CUF3IE.js → chunk-C5GINFDG.js} +2 -2
  5. package/dist/{chunk-PNW5KDM2.js → chunk-EPQ2L6IW.js} +7 -7
  6. package/dist/{chunk-MFOTVT4R.js → chunk-ICQBXF5V.js} +83 -20
  7. package/dist/{chunk-ZKGBK6WQ.js → chunk-IVFBSLUD.js} +15 -8
  8. package/dist/{chunk-RVS7NPOH.js → chunk-L7GASDV2.js} +4 -4
  9. package/dist/{chunk-NBA3G6YQ.js → chunk-S3QEOIDU.js} +33 -28
  10. package/dist/{custom-oclif-loader-3WFQ2GRD.js → custom-oclif-loader-CXVA2M3L.js} +5 -6
  11. package/dist/{del-CKAQ44SX.js → del-G6PUU7PY.js} +3 -3
  12. package/dist/{error-handler-N6P2X42R.js → error-handler-GC4GWYD5.js} +9 -10
  13. package/dist/hooks/postrun.js +7 -8
  14. package/dist/hooks/prerun.js +6 -7
  15. package/dist/index.js +5972 -5283
  16. package/dist/index.test.js +34 -35
  17. package/dist/{lib-ZAUU5FOJ.js → lib-GSZAN7VA.js} +3 -3
  18. package/dist/{local-EBAW6AUD.js → local-6CQLDUCI.js} +7 -6
  19. package/dist/{magic-string.es-PJMYOE6F.js → magic-string.es-BSVDQOZI.js} +32 -20
  20. package/dist/{node-package-manager-VTG2B4KW.js → node-package-manager-DQ4PU7OM.js} +6 -7
  21. package/dist/{path-GWAZZN2N.js → path-2K5HIMHZ.js} +2 -2
  22. package/dist/tsconfig.tsbuildinfo +1 -1
  23. package/dist/{ui-QBKDPUJX.js → ui-PWRERZXU.js} +5 -6
  24. package/oclif.manifest.json +1 -1
  25. package/package.json +5 -4
  26. package/dist/chunk-CFIKVUNW.js +0 -45
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-SHWOPMLQ.js";
5
5
  import {
6
6
  require_balanced_match
7
- } from "./chunk-ZKGBK6WQ.js";
7
+ } from "./chunk-IVFBSLUD.js";
8
8
  import {
9
9
  __commonJS,
10
10
  __require,
@@ -1458,4 +1458,4 @@ export {
1458
1458
  require_inflight,
1459
1459
  require_glob
1460
1460
  };
1461
- //# sourceMappingURL=chunk-A2CUF3IE.js.map
1461
+ //# sourceMappingURL=chunk-C5GINFDG.js.map
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  fanoutHooks,
3
3
  reportAnalyticsEvent
4
- } from "./chunk-RVS7NPOH.js";
4
+ } from "./chunk-L7GASDV2.js";
5
5
  import {
6
6
  CLI_KIT_VERSION,
7
7
  getEnvironmentData
8
- } from "./chunk-QPEQYFIE.js";
8
+ } from "./chunk-5SC2R6CT.js";
9
9
  import {
10
10
  runWithRateLimit
11
- } from "./chunk-VK6YB4CW.js";
11
+ } from "./chunk-3YDOTMPD.js";
12
12
  import {
13
13
  AbortSilentError,
14
14
  CancelExecution,
@@ -23,17 +23,17 @@ import {
23
23
  reportingRateLimit,
24
24
  require_stacktracey,
25
25
  shouldReportErrorAsUnexpected
26
- } from "./chunk-MFOTVT4R.js";
26
+ } from "./chunk-ICQBXF5V.js";
27
27
  import {
28
28
  require_lib
29
- } from "./chunk-NBA3G6YQ.js";
29
+ } from "./chunk-S3QEOIDU.js";
30
30
  import {
31
31
  cwd,
32
32
  isAbsolutePath,
33
33
  joinPath,
34
34
  normalizePath,
35
35
  relativePath
36
- } from "./chunk-ZUCWDIGE.js";
36
+ } from "./chunk-57Q6OQG4.js";
37
37
  import {
38
38
  require_once
39
39
  } from "./chunk-SHWOPMLQ.js";
@@ -2129,4 +2129,4 @@ export {
2129
2129
  registerCleanBugsnagErrorsFromWithinPlugins,
2130
2130
  addBugsnagMetadata
2131
2131
  };
2132
- //# sourceMappingURL=chunk-PNW5KDM2.js.map
2132
+ //# sourceMappingURL=chunk-EPQ2L6IW.js.map
@@ -5,10 +5,7 @@ import {
5
5
  require_source,
6
6
  require_source_map,
7
7
  require_supports_hyperlinks
8
- } from "./chunk-NBA3G6YQ.js";
9
- import {
10
- Queue
11
- } from "./chunk-CFIKVUNW.js";
8
+ } from "./chunk-S3QEOIDU.js";
12
9
  import {
13
10
  cwd,
14
11
  dirname,
@@ -17,7 +14,7 @@ import {
17
14
  relativizePath,
18
15
  sniffForJson,
19
16
  sniffForPath
20
- } from "./chunk-ZUCWDIGE.js";
17
+ } from "./chunk-57Q6OQG4.js";
21
18
  import {
22
19
  delimiter
23
20
  } from "./chunk-CDBXAE2F.js";
@@ -22458,7 +22455,7 @@ function createRuntimeMetadataContainer(defaultPublicMetadata = {}) {
22458
22455
  try {
22459
22456
  await getAndSet();
22460
22457
  } catch (error) {
22461
- let { sendErrorToBugsnag } = await import("./error-handler-N6P2X42R.js");
22458
+ let { sendErrorToBugsnag } = await import("./error-handler-GC4GWYD5.js");
22462
22459
  await sendErrorToBugsnag(error, "unexpected_error");
22463
22460
  }
22464
22461
  }, durationStack = [];
@@ -27173,7 +27170,6 @@ var import_change_case = __toESM(require_dist16(), 1), SAFE_RANDOM_BUSINESS_ADJE
27173
27170
  "franchise",
27174
27171
  "subsidiary",
27175
27172
  "logistics",
27176
- "infrastructure",
27177
27173
  "sponsorship",
27178
27174
  "partnership",
27179
27175
  "tax",
@@ -27847,13 +27843,20 @@ function rainbow(text, frame) {
27847
27843
  let hue = 5 * frame, leftColor = { h: hue % 360, s: 0.8, v: 1 }, rightColor = { h: (hue + 1) % 360, s: 0.8, v: 1 };
27848
27844
  return (0, import_gradient_string.default)(leftColor, rightColor)(text, { interpolation: "hsv", hsvSpin: "long" });
27849
27845
  }
27850
- var TextAnimation = (0, import_react50.memo)(({ text }) => {
27846
+ function rotated(text, steps) {
27847
+ let normalizedSteps = steps % text.length, start = text.slice(-normalizedSteps), end = text.slice(0, -normalizedSteps);
27848
+ return start + end;
27849
+ }
27850
+ function truncated(text, maxWidth) {
27851
+ return maxWidth ? text.slice(0, maxWidth) : text;
27852
+ }
27853
+ var TextAnimation = (0, import_react50.memo)(({ text, maxWidth }) => {
27851
27854
  let frame = (0, import_react50.useRef)(0), [renderedFrame, setRenderedFrame] = (0, import_react50.useState)(text), timeout = (0, import_react50.useRef)(), renderAnimation = (0, import_react50.useCallback)(() => {
27852
27855
  let newFrame = frame.current + 1;
27853
- frame.current = newFrame, setRenderedFrame(rainbow(text, frame.current)), timeout.current = setTimeout(() => {
27856
+ frame.current = newFrame, setRenderedFrame(rainbow(truncated(rotated(text, frame.current), maxWidth), frame.current)), timeout.current = setTimeout(() => {
27854
27857
  renderAnimation();
27855
27858
  }, 35);
27856
- }, [text]);
27859
+ }, [text, maxWidth]);
27857
27860
  return (0, import_react50.useLayoutEffect)(() => (renderAnimation(), () => {
27858
27861
  clearTimeout(timeout.current);
27859
27862
  }), [renderAnimation]), import_react50.default.createElement(Text, null, renderedFrame);
@@ -27877,7 +27880,7 @@ function useAsyncAndUnmount(asyncFunction, { onFulfilled = () => {
27877
27880
  }
27878
27881
 
27879
27882
  // ../cli-kit/dist/private/node/ui/components/Tasks.js
27880
- var import_react52 = __toESM(require_react(), 1), loadingBarChar = "\u2580", TasksState;
27883
+ var import_react52 = __toESM(require_react(), 1), loadingBarChar = "\u2580", hillString = "\u2581\u2581\u2582\u2582\u2583\u2583\u2584\u2584\u2585\u2585\u2586\u2586\u2587\u2587\u2588\u2588\u2587\u2587\u2586\u2586\u2585\u2585\u2584\u2584\u2583\u2583\u2582\u2582\u2581\u2581", TasksState;
27881
27884
  (function(TasksState2) {
27882
27885
  TasksState2.Loading = "loading", TasksState2.Success = "success", TasksState2.Failure = "failure";
27883
27886
  })(TasksState || (TasksState = {}));
@@ -27895,8 +27898,10 @@ async function runTask(task, ctx) {
27895
27898
  }
27896
27899
  var noop3 = () => {
27897
27900
  };
27898
- function Tasks({ tasks, silent = isUnitTest(), onComplete = noop3, abortSignal }) {
27899
- let { twoThirds } = useLayout(), loadingBar = new Array(twoThirds).fill(loadingBarChar).join(""), [currentTask, setCurrentTask] = (0, import_react52.useState)(tasks[0]), [state, setState] = (0, import_react52.useState)(TasksState.Loading), ctx = (0, import_react52.useRef)({}), { isRawModeSupported } = use_stdin_default();
27901
+ function Tasks({ tasks, silent = isUnitTest(), onComplete = noop3, abortSignal, noColor }) {
27902
+ let { twoThirds } = useLayout(), loadingBar = new Array(twoThirds).fill(loadingBarChar).join("");
27903
+ (noColor ?? !shouldDisplayColors()) && (loadingBar = hillString.repeat(Math.ceil(twoThirds / hillString.length)));
27904
+ let [currentTask, setCurrentTask] = (0, import_react52.useState)(tasks[0]), [state, setState] = (0, import_react52.useState)(TasksState.Loading), ctx = (0, import_react52.useRef)({}), { isRawModeSupported } = use_stdin_default();
27900
27905
  useAsyncAndUnmount(async () => {
27901
27906
  for (let task of tasks) {
27902
27907
  setCurrentTask(task);
@@ -27920,7 +27925,7 @@ function Tasks({ tasks, silent = isUnitTest(), onComplete = noop3, abortSignal }
27920
27925
  return silent ? null : state === TasksState.Loading && !isAborted ? import_react52.default.createElement(
27921
27926
  Box_default,
27922
27927
  { flexDirection: "column" },
27923
- import_react52.default.createElement(TextAnimation, { text: loadingBar }),
27928
+ import_react52.default.createElement(TextAnimation, { text: loadingBar, maxWidth: twoThirds }),
27924
27929
  import_react52.default.createElement(
27925
27930
  Text,
27926
27931
  null,
@@ -28020,7 +28025,7 @@ init_cjs_shims();
28020
28025
 
28021
28026
  // ../cli-kit/dist/public/common/function.js
28022
28027
  init_cjs_shims();
28023
- var import_memoize = __toESM(require_memoize()), import_debounce = __toESM(require_debounce());
28028
+ var import_memoize = __toESM(require_memoize(), 1), import_debounce = __toESM(require_debounce(), 1);
28024
28029
  function debounce(func, wait, options) {
28025
28030
  return (0, import_debounce.default)(func, wait, options);
28026
28031
  }
@@ -28060,7 +28065,7 @@ function AutocompletePrompt({ message, choices, infoTable, onSubmit, search, has
28060
28065
  }
28061
28066
 
28062
28067
  // ../cli-kit/dist/public/node/ui.js
28063
- var import_react55 = __toESM(require_react(), 1), defaultUIDebugOptions = {
28068
+ var import_react55 = __toESM(require_react()), defaultUIDebugOptions = {
28064
28069
  skipTTYCheck: !1
28065
28070
  };
28066
28071
  async function renderConcurrent({ renderOptions, ...props }) {
@@ -29774,6 +29779,45 @@ init_cjs_shims();
29774
29779
 
29775
29780
  // ../../node_modules/.pnpm/p-limit@4.0.0/node_modules/p-limit/index.js
29776
29781
  init_cjs_shims();
29782
+
29783
+ // ../../node_modules/.pnpm/yocto-queue@1.0.0/node_modules/yocto-queue/index.js
29784
+ init_cjs_shims();
29785
+ var Node = class {
29786
+ value;
29787
+ next;
29788
+ constructor(value) {
29789
+ this.value = value;
29790
+ }
29791
+ }, Queue = class {
29792
+ #head;
29793
+ #tail;
29794
+ #size;
29795
+ constructor() {
29796
+ this.clear();
29797
+ }
29798
+ enqueue(value) {
29799
+ let node = new Node(value);
29800
+ this.#head ? (this.#tail.next = node, this.#tail = node) : (this.#head = node, this.#tail = node), this.#size++;
29801
+ }
29802
+ dequeue() {
29803
+ let current = this.#head;
29804
+ if (current)
29805
+ return this.#head = this.#head.next, this.#size--, current.value;
29806
+ }
29807
+ clear() {
29808
+ this.#head = void 0, this.#tail = void 0, this.#size = 0;
29809
+ }
29810
+ get size() {
29811
+ return this.#size;
29812
+ }
29813
+ *[Symbol.iterator]() {
29814
+ let current = this.#head;
29815
+ for (; current; )
29816
+ yield current.value, current = current.next;
29817
+ }
29818
+ };
29819
+
29820
+ // ../../node_modules/.pnpm/p-limit@4.0.0/node_modules/p-limit/index.js
29777
29821
  function pLimit(concurrency) {
29778
29822
  if (!((Number.isInteger(concurrency) || concurrency === Number.POSITIVE_INFINITY) && concurrency > 0))
29779
29823
  throw new TypeError("Expected `concurrency` to be a number from 1 and up");
@@ -30787,7 +30831,7 @@ async function removeFile(path8) {
30787
30831
  outputDebug(outputContent`Removing file at ${outputToken.path(path8)}...`), await remove(path8);
30788
30832
  }
30789
30833
  async function rmdir(path8, options = {}) {
30790
- let { default: del } = await import("./del-CKAQ44SX.js");
30834
+ let { default: del } = await import("./del-G6PUU7PY.js");
30791
30835
  outputDebug(outputContent`Removing directory at ${outputToken.path(path8)}...`), await del(path8, { force: options.force });
30792
30836
  }
30793
30837
  async function isDirectory(path8) {
@@ -30945,7 +30989,8 @@ var identifier = "shopify-cli", cacheFolder = () => process.env.XDG_CACHE_HOME ?
30945
30989
  refreshToken: "SHOPIFY_CLI_REFRESH_TOKEN",
30946
30990
  otelURL: "SHOPIFY_CLI_OTEL_EXPORTER_OTLP_ENDPOINT",
30947
30991
  themeKitAccessDomain: "SHOPIFY_CLI_THEME_KIT_ACCESS_DOMAIN",
30948
- json: "SHOPIFY_FLAG_JSON"
30992
+ json: "SHOPIFY_FLAG_JSON",
30993
+ neverUsePartnersApi: "SHOPIFY_CLI_NEVER_USE_PARTNERS_API"
30949
30994
  }, defaultThemeKitAccessDomain = "theme-kit-access.shopifyapps.com", systemEnvironmentVariables = {
30950
30995
  backendPort: "BACKEND_PORT"
30951
30996
  }, pathConstants = {
@@ -31159,6 +31204,9 @@ function getIdentityTokenInformation() {
31159
31204
  function jsonOutputEnabled(environment = getEnvironmentVariables()) {
31160
31205
  return sniffForJson() || isTruthy(environment[environmentVariables.json]);
31161
31206
  }
31207
+ function blockPartnersAccess() {
31208
+ return isTruthy(getEnvironmentVariables()[environmentVariables.neverUsePartnersApi]);
31209
+ }
31162
31210
 
31163
31211
  // ../../node_modules/.pnpm/is-interactive@2.0.0/node_modules/is-interactive/index.js
31164
31212
  init_cjs_shims();
@@ -31254,23 +31302,35 @@ function ciPlatform(env3 = process.env) {
31254
31302
  function macAddress() {
31255
31303
  return import_macaddress.default.one();
31256
31304
  }
31305
+ function getThemeKitAccessDomain(env3 = process.env) {
31306
+ let domain = env3[environmentVariables.themeKitAccessDomain];
31307
+ return isSet(domain) ? domain : defaultThemeKitAccessDomain;
31308
+ }
31257
31309
  function opentelemetryDomain(env3 = process.env) {
31258
- return isSet(env3[environmentVariables.otelURL]) ? env3[environmentVariables.otelURL] : "https://otlp-http-production-cli.shopifysvc.com";
31310
+ let domain = env3[environmentVariables.otelURL];
31311
+ return isSet(domain) ? domain : "https://otlp-http-production-cli.shopifysvc.com";
31259
31312
  }
31260
31313
 
31261
31314
  export {
31262
31315
  isTruthy,
31263
31316
  require_eq,
31317
+ require_root,
31318
+ require_Symbol,
31264
31319
  require_isObject,
31320
+ require_Stack,
31321
+ require_Uint8Array,
31265
31322
  require_mapToArray,
31266
31323
  require_arrayPush,
31267
31324
  require_isArray,
31268
31325
  require_baseGetAllKeys,
31269
31326
  require_stubArray,
31270
31327
  require_getSymbols,
31328
+ require_isObjectLike,
31271
31329
  require_isArguments,
31272
31330
  require_isBuffer,
31273
31331
  require_isIndex,
31332
+ require_baseUnary,
31333
+ require_nodeUtil,
31274
31334
  require_isTypedArray,
31275
31335
  require_arrayLikeKeys,
31276
31336
  require_isPrototype,
@@ -31278,6 +31338,7 @@ export {
31278
31338
  require_baseKeys,
31279
31339
  require_isArrayLike,
31280
31340
  require_keys,
31341
+ require_getAllKeys,
31281
31342
  require_getTag,
31282
31343
  require_baseIsEqual,
31283
31344
  require_arrayMap,
@@ -31379,6 +31440,7 @@ export {
31379
31440
  getBackendPort,
31380
31441
  getIdentityTokenInformation,
31381
31442
  jsonOutputEnabled,
31443
+ blockPartnersAccess,
31382
31444
  isTerminalInteractive,
31383
31445
  homeDirectory,
31384
31446
  isDevelopment,
@@ -31401,6 +31463,7 @@ export {
31401
31463
  hasGit,
31402
31464
  ciPlatform,
31403
31465
  macAddress,
31466
+ getThemeKitAccessDomain,
31404
31467
  opentelemetryDomain,
31405
31468
  currentProcessIsGlobal,
31406
31469
  installGlobalShopifyCLI,
@@ -31566,4 +31629,4 @@ react-reconciler/cjs/react-reconciler-constants.development.js:
31566
31629
  * LICENSE file in the root directory of this source tree.
31567
31630
  *)
31568
31631
  */
31569
- //# sourceMappingURL=chunk-MFOTVT4R.js.map
31632
+ //# sourceMappingURL=chunk-ICQBXF5V.js.map
@@ -102,9 +102,9 @@ var require_dir_glob = __commonJS({
102
102
  }
103
103
  });
104
104
 
105
- // ../../node_modules/.pnpm/ignore@5.3.1/node_modules/ignore/index.js
105
+ // ../../node_modules/.pnpm/ignore@5.3.2/node_modules/ignore/index.js
106
106
  var require_ignore = __commonJS({
107
- "../../node_modules/.pnpm/ignore@5.3.1/node_modules/ignore/index.js"(exports, module) {
107
+ "../../node_modules/.pnpm/ignore@5.3.2/node_modules/ignore/index.js"(exports, module) {
108
108
  init_cjs_shims();
109
109
  function makeArray(subject) {
110
110
  return Array.isArray(subject) ? subject : [subject];
@@ -129,14 +129,21 @@ var require_ignore = __commonJS({
129
129
  [
130
130
  // (a\ ) -> (a )
131
131
  // (a ) -> (a)
132
+ // (a ) -> (a)
132
133
  // (a \ ) -> (a )
133
- /\\?\s+$/,
134
- (match) => match.indexOf("\\") === 0 ? SPACE : EMPTY
134
+ /((?:\\\\)*?)(\\?\s+)$/,
135
+ (_, m1, m2) => m1 + (m2.indexOf("\\") === 0 ? SPACE : EMPTY)
135
136
  ],
136
137
  // replace (\ ) with ' '
138
+ // (\ ) -> ' '
139
+ // (\\ ) -> '\\ '
140
+ // (\\\ ) -> '\\ '
137
141
  [
138
- /\\\s/g,
139
- () => SPACE
142
+ /(\\+?)\s/g,
143
+ (_, m1) => {
144
+ let { length } = m1;
145
+ return m1.slice(0, length - length % 2) + SPACE;
146
+ }
140
147
  ],
141
148
  // Escape metacharacters
142
149
  // which is written down by users but means special for regular expressions.
@@ -265,7 +272,7 @@ var require_ignore = __commonJS({
265
272
  ], regexCache = /* @__PURE__ */ Object.create(null), makeRegex = (pattern, ignoreCase) => {
266
273
  let source = regexCache[pattern];
267
274
  return source || (source = REPLACERS.reduce(
268
- (prev, current) => prev.replace(current[0], current[1].bind(pattern)),
275
+ (prev, [matcher, replacer]) => prev.replace(matcher, replacer.bind(pattern)),
269
276
  pattern
270
277
  ), regexCache[pattern] = source), ignoreCase ? new RegExp(source, "i") : new RegExp(source);
271
278
  }, isString = (subject) => typeof subject == "string", checkPattern = (pattern) => pattern && isString(pattern) && !REGEX_TEST_BLANK_LINE.test(pattern) && !REGEX_INVALID_TRAILING_BACKSLASH.test(pattern) && pattern.indexOf("#") !== 0, splitPattern = (pattern) => pattern.split(REGEX_SPLITALL_CRLF), IgnoreRule = class {
@@ -659,4 +666,4 @@ export {
659
666
  require_globby,
660
667
  require_indent_string
661
668
  };
662
- //# sourceMappingURL=chunk-ZKGBK6WQ.js.map
669
+ //# sourceMappingURL=chunk-IVFBSLUD.js.map
@@ -4,10 +4,10 @@ import {
4
4
  getEnvironmentData,
5
5
  getLastSeenUserIdAfterAuth,
6
6
  getSensitiveEnvironmentData
7
- } from "./chunk-QPEQYFIE.js";
7
+ } from "./chunk-5SC2R6CT.js";
8
8
  import {
9
9
  runWithRateLimit
10
- } from "./chunk-VK6YB4CW.js";
10
+ } from "./chunk-3YDOTMPD.js";
11
11
  import {
12
12
  alwaysLogAnalytics,
13
13
  alwaysLogMetrics,
@@ -24,7 +24,7 @@ import {
24
24
  outputDebug,
25
25
  outputToken,
26
26
  reportingRateLimit
27
- } from "./chunk-MFOTVT4R.js";
27
+ } from "./chunk-ICQBXF5V.js";
28
28
  import {
29
29
  __commonJS,
30
30
  __esm,
@@ -15926,4 +15926,4 @@ export {
15926
15926
  requestIdsCollection,
15927
15927
  reportAnalyticsEvent
15928
15928
  };
15929
- //# sourceMappingURL=chunk-RVS7NPOH.js.map
15929
+ //# sourceMappingURL=chunk-L7GASDV2.js.map
@@ -6,7 +6,7 @@ import {
6
6
  require_balanced_match,
7
7
  require_globby,
8
8
  require_indent_string
9
- } from "./chunk-ZKGBK6WQ.js";
9
+ } from "./chunk-IVFBSLUD.js";
10
10
  import {
11
11
  require_is_wsl
12
12
  } from "./chunk-G2ZZKGSV.js";
@@ -4219,9 +4219,9 @@ var require_source_map_support = __commonJS({
4219
4219
  }
4220
4220
  });
4221
4221
 
4222
- // ../../node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/typescript.js
4222
+ // ../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/typescript.js
4223
4223
  var require_typescript = __commonJS({
4224
- "../../node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/typescript.js"(exports, module) {
4224
+ "../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/typescript.js"(exports, module) {
4225
4225
  init_cjs_shims();
4226
4226
  var ts = {};
4227
4227
  ((module2) => {
@@ -6474,7 +6474,7 @@ var require_typescript = __commonJS({
6474
6474
  writeFileEnsuringDirectories: () => writeFileEnsuringDirectories,
6475
6475
  zipWith: () => zipWith
6476
6476
  }), module2.exports = __toCommonJS(typescript_exports);
6477
- var versionMajorMinor = "5.7", version = "5.7.2", Comparison = /* @__PURE__ */ ((Comparison3) => (Comparison3[Comparison3.LessThan = -1] = "LessThan", Comparison3[Comparison3.EqualTo = 0] = "EqualTo", Comparison3[Comparison3.GreaterThan = 1] = "GreaterThan", Comparison3))(Comparison || {}), emptyArray = [], emptyMap = /* @__PURE__ */ new Map();
6477
+ var versionMajorMinor = "5.7", version = "5.7.3", Comparison = /* @__PURE__ */ ((Comparison3) => (Comparison3[Comparison3.LessThan = -1] = "LessThan", Comparison3[Comparison3.EqualTo = 0] = "EqualTo", Comparison3[Comparison3.GreaterThan = 1] = "GreaterThan", Comparison3))(Comparison || {}), emptyArray = [], emptyMap = /* @__PURE__ */ new Map();
6478
6478
  function length(array) {
6479
6479
  return array !== void 0 ? array.length : 0;
6480
6480
  }
@@ -15033,6 +15033,7 @@ ${lanes.join(`
15033
15033
  }
15034
15034
  var targetToLibMap = /* @__PURE__ */ new Map([
15035
15035
  [99, "lib.esnext.full.d.ts"],
15036
+ [11, "lib.es2024.full.d.ts"],
15036
15037
  [10, "lib.es2023.full.d.ts"],
15037
15038
  [9, "lib.es2022.full.d.ts"],
15038
15039
  [8, "lib.es2021.full.d.ts"],
@@ -15048,6 +15049,7 @@ ${lanes.join(`
15048
15049
  let target = getEmitScriptTarget(options);
15049
15050
  switch (target) {
15050
15051
  case 99:
15052
+ case 11:
15051
15053
  case 10:
15052
15054
  case 9:
15053
15055
  case 8:
@@ -46398,6 +46400,11 @@ ${lanes.join(`
46398
46400
  stringType,
46399
46401
  /*isReadonly*/
46400
46402
  !0
46403
+ ), anyBaseTypeIndexInfo = createIndexInfo(
46404
+ stringType,
46405
+ anyType,
46406
+ /*isReadonly*/
46407
+ !1
46401
46408
  ), iterationTypesCache = /* @__PURE__ */ new Map(), noIterationTypes = {
46402
46409
  get yieldType() {
46403
46410
  return Debug.fail("Not supported");
@@ -49109,7 +49116,7 @@ ${lanes.join(`
49109
49116
  let type = (_a = context.enclosingSymbolTypes) == null ? void 0 : _a.get(getSymbolId(symbol));
49110
49117
  type === void 0 && (symbol.flags & 98304 ? type = node.kind === 178 ? getWriteTypeOfSymbol(symbol) : getTypeOfAccessors(symbol) : isValueSignatureDeclaration(node) ? type = getReturnTypeOfSignature(getSignatureFromDeclaration(node)) : type = getTypeOfSymbol(symbol));
49111
49118
  let annotationType = getTypeFromTypeNodeWithoutContext(existing);
49112
- return isErrorType(annotationType) ? !0 : (requiresAddingUndefined && annotationType && (annotationType = getOptionalType(annotationType, !isParameter(node))), !!annotationType && typeNodeIsEquivalentToType(node, type, annotationType) && existingTypeNodeIsNotReferenceOrIsReferenceWithCompatibleTypeArgumentCount(existing, type));
49119
+ return isErrorType(annotationType) ? !0 : (requiresAddingUndefined && annotationType && (annotationType = addOptionality(annotationType, !isParameter(node))), !!annotationType && typeNodeIsEquivalentToType(node, type, annotationType) && existingTypeNodeIsNotReferenceOrIsReferenceWithCompatibleTypeArgumentCount(existing, type));
49113
49120
  }
49114
49121
  },
49115
49122
  typeToTypeNode: (type, enclosingDeclaration, flags, internalFlags, tracker) => withContext2(enclosingDeclaration, flags, internalFlags, tracker, (context) => typeToTypeNodeHelper(type, context)),
@@ -54207,12 +54214,7 @@ ${lanes.join(`
54207
54214
  1
54208
54215
  /* Construct */
54209
54216
  ));
54210
- let inheritedIndexInfos = instantiatedBaseType !== anyType ? getIndexInfosOfType(instantiatedBaseType) : [createIndexInfo(
54211
- stringType,
54212
- anyType,
54213
- /*isReadonly*/
54214
- !1
54215
- )];
54217
+ let inheritedIndexInfos = instantiatedBaseType !== anyType ? getIndexInfosOfType(instantiatedBaseType) : [anyBaseTypeIndexInfo];
54216
54218
  indexInfos = concatenate(indexInfos, filter(inheritedIndexInfos, (info) => !findIndexInfo(indexInfos, info.keyType)));
54217
54219
  }
54218
54220
  }
@@ -54635,12 +54637,7 @@ ${lanes.join(`
54635
54637
  let baseConstructorIndexInfo;
54636
54638
  if (setStructuredTypeMembers(type, members, emptyArray, emptyArray, emptyArray), symbol.flags & 32) {
54637
54639
  let classType = getDeclaredTypeOfClassOrInterface(symbol), baseConstructorType = getBaseConstructorTypeOfClass(classType);
54638
- baseConstructorType.flags & 11272192 ? (members = createSymbolTable(getNamedOrIndexSignatureMembers(members)), addInheritedMembers(members, getPropertiesOfType(baseConstructorType))) : baseConstructorType === anyType && (baseConstructorIndexInfo = createIndexInfo(
54639
- stringType,
54640
- anyType,
54641
- /*isReadonly*/
54642
- !1
54643
- ));
54640
+ baseConstructorType.flags & 11272192 ? (members = createSymbolTable(getNamedOrIndexSignatureMembers(members)), addInheritedMembers(members, getPropertiesOfType(baseConstructorType))) : baseConstructorType === anyType && (baseConstructorIndexInfo = anyBaseTypeIndexInfo);
54644
54641
  }
54645
54642
  let indexSymbol = getIndexSymbolFromSymbolTable(members);
54646
54643
  if (indexSymbol ? indexInfos = getIndexInfosOfIndexSymbol(indexSymbol, arrayFrom(members.values())) : (baseConstructorIndexInfo && (indexInfos = append(indexInfos, baseConstructorIndexInfo)), symbol.flags & 384 && (getDeclaredTypeOfSymbol(symbol).flags & 32 || some(type.properties, (prop) => !!(getTypeOfSymbol(prop).flags & 296))) && (indexInfos = append(indexInfos, enumNumberIndexInfo))), setStructuredTypeMembers(type, members, emptyArray, emptyArray, indexInfos || emptyArray), symbol.flags & 8208 && (type.callSignatures = getSignaturesOfSymbol(symbol)), symbol.flags & 32) {
@@ -65190,11 +65187,11 @@ ${lanes.join(`
65190
65187
  }
65191
65188
  function markJsxAliasReferenced(node) {
65192
65189
  if (!getJsxNamespaceContainerForImplicitImport(node)) {
65193
- let jsxFactoryRefErr = diagnostics && compilerOptions.jsx === 2 ? Diagnostics.This_JSX_tag_requires_0_to_be_in_scope_but_it_could_not_be_found : void 0, jsxFactoryNamespace = getJsxNamespace(node), jsxFactoryLocation = isJsxOpeningLikeElement(node) ? node.tagName : node, jsxFactorySym;
65190
+ let jsxFactoryRefErr = diagnostics && compilerOptions.jsx === 2 ? Diagnostics.This_JSX_tag_requires_0_to_be_in_scope_but_it_could_not_be_found : void 0, jsxFactoryNamespace = getJsxNamespace(node), jsxFactoryLocation = isJsxOpeningLikeElement(node) ? node.tagName : node, shouldFactoryRefErr = compilerOptions.jsx !== 1 && compilerOptions.jsx !== 3, jsxFactorySym;
65194
65191
  if (isJsxOpeningFragment(node) && jsxFactoryNamespace === "null" || (jsxFactorySym = resolveName(
65195
65192
  jsxFactoryLocation,
65196
65193
  jsxFactoryNamespace,
65197
- compilerOptions.jsx === 1 ? 111167 : 111551,
65194
+ shouldFactoryRefErr ? 111551 : 111167,
65198
65195
  jsxFactoryRefErr,
65199
65196
  /*isUse*/
65200
65197
  !0
@@ -65203,7 +65200,7 @@ ${lanes.join(`
65203
65200
  localJsxNamespace && resolveName(
65204
65201
  jsxFactoryLocation,
65205
65202
  localJsxNamespace,
65206
- compilerOptions.jsx === 1 ? 111167 : 111551,
65203
+ shouldFactoryRefErr ? 111551 : 111167,
65207
65204
  jsxFactoryRefErr,
65208
65205
  /*isUse*/
65209
65206
  !0
@@ -67963,6 +67960,10 @@ ${lanes.join(`
67963
67960
  return getIntersectionType(x);
67964
67961
  }
67965
67962
  function reportNonexistentProperty(propNode, containingType, isUncheckedJS) {
67963
+ let links = getNodeLinks(propNode), cache = links.nonExistentPropCheckCache || (links.nonExistentPropCheckCache = /* @__PURE__ */ new Set()), key = `${getTypeId(containingType)}|${isUncheckedJS}`;
67964
+ if (cache.has(key))
67965
+ return;
67966
+ cache.add(key);
67966
67967
  let errorInfo, relatedInfo;
67967
67968
  if (!isPrivateIdentifier(propNode) && containingType.flags & 1048576 && !(containingType.flags & 402784252)) {
67968
67969
  for (let subtype of containingType.types)
@@ -69545,11 +69546,11 @@ ${lanes.join(`
69545
69546
  let sourceFileLinks = getNodeLinks(getSourceFileOfNode(node));
69546
69547
  if (sourceFileLinks.jsxFragmentType !== void 0) return sourceFileLinks.jsxFragmentType;
69547
69548
  let jsxFragmentFactoryName = getJsxNamespace(node);
69548
- if (jsxFragmentFactoryName === "null") return sourceFileLinks.jsxFragmentType = anyType;
69549
- let jsxFactoryRefErr = diagnostics ? Diagnostics.Using_JSX_fragments_requires_fragment_factory_0_to_be_in_scope_but_it_could_not_be_found : void 0, jsxFactorySymbol = getJsxNamespaceContainerForImplicitImport(node) ?? resolveName(
69549
+ if (!((compilerOptions.jsx === 2 || compilerOptions.jsxFragmentFactory !== void 0) && jsxFragmentFactoryName !== "null")) return sourceFileLinks.jsxFragmentType = anyType;
69550
+ let shouldModuleRefErr = compilerOptions.jsx !== 1 && compilerOptions.jsx !== 3, jsxFactoryRefErr = diagnostics ? Diagnostics.Using_JSX_fragments_requires_fragment_factory_0_to_be_in_scope_but_it_could_not_be_found : void 0, jsxFactorySymbol = getJsxNamespaceContainerForImplicitImport(node) ?? resolveName(
69550
69551
  node,
69551
69552
  jsxFragmentFactoryName,
69552
- compilerOptions.jsx === 1 ? 111167 : 111551,
69553
+ shouldModuleRefErr ? 111551 : 111167,
69553
69554
  /*nameNotFoundMessage*/
69554
69555
  jsxFactoryRefErr,
69555
69556
  /*isUse*/
@@ -71622,7 +71623,9 @@ ${lanes.join(`
71622
71623
  switch (node = skipOuterExpressions(node), node.kind) {
71623
71624
  case 223:
71624
71625
  case 213:
71626
+ case 215:
71625
71627
  case 212:
71628
+ case 236:
71626
71629
  case 214:
71627
71630
  case 211:
71628
71631
  case 229:
@@ -71638,6 +71641,8 @@ ${lanes.join(`
71638
71641
  case 56:
71639
71642
  case 77:
71640
71643
  return 3;
71644
+ case 28:
71645
+ return getSyntacticNullishnessSemantics(node.right);
71641
71646
  }
71642
71647
  return 2;
71643
71648
  case 227:
@@ -76302,7 +76307,7 @@ ${lanes.join(`
76302
76307
  node,
76303
76308
  65536
76304
76309
  /* ImportStar */
76305
- )) : (resolvedModule = resolveExternalModuleName(node, node.moduleSpecifier), resolvedModule && forEach(importClause.namedBindings.elements, checkImportBinding))), isOnlyImportableAsDefault(node.moduleSpecifier, resolvedModule) && !hasTypeJsonImportAttribute(node) && error2(node.moduleSpecifier, Diagnostics.Importing_a_JSON_file_into_an_ECMAScript_module_requires_a_type_Colon_json_import_attribute_when_module_is_set_to_0, ModuleKind[moduleKind])) : noUncheckedSideEffectImports && !importClause && resolveExternalModuleName(node, node.moduleSpecifier);
76310
+ )) : (resolvedModule = resolveExternalModuleName(node, node.moduleSpecifier), resolvedModule && forEach(importClause.namedBindings.elements, checkImportBinding))), !importClause.isTypeOnly && moduleKind === 199 && isOnlyImportableAsDefault(node.moduleSpecifier, resolvedModule) && !hasTypeJsonImportAttribute(node) && error2(node.moduleSpecifier, Diagnostics.Importing_a_JSON_file_into_an_ECMAScript_module_requires_a_type_Colon_json_import_attribute_when_module_is_set_to_0, ModuleKind[moduleKind])) : noUncheckedSideEffectImports && !importClause && resolveExternalModuleName(node, node.moduleSpecifier);
76306
76311
  }
76307
76312
  checkImportAttributes(node);
76308
76313
  }
@@ -78193,7 +78198,7 @@ ${lanes.join(`
78193
78198
  if (length(infoList)) {
78194
78199
  result || (result = []);
78195
78200
  for (let info of infoList) {
78196
- if (info.declaration) continue;
78201
+ if (info.declaration || info === anyBaseTypeIndexInfo) continue;
78197
78202
  let node = nodeBuilder.indexInfoToIndexSignatureDeclaration(info, enclosing, flags, internalFlags, tracker);
78198
78203
  node && infoList === staticInfos && (node.modifiers || (node.modifiers = factory.createNodeArray())).unshift(factory.createModifier(
78199
78204
  126
@@ -113910,8 +113915,8 @@ ${lanes.join(`
113910
113915
  function typeFromPropertyAssignment(node, symbol, context) {
113911
113916
  let typeAnnotation = getEffectiveTypeAnnotationNode(node), result;
113912
113917
  if (typeAnnotation && resolver.canReuseTypeNodeAnnotation(context, node, typeAnnotation, symbol) && (result = serializeExistingTypeNode(typeAnnotation, context)), !result && node.kind === 303) {
113913
- let initializer = node.initializer, type = isJSDocTypeAssertion(initializer) ? getJSDocTypeAssertionType(initializer) : initializer.kind === 234 || initializer.kind === 216 ? initializer.type : void 0;
113914
- type && !isConstTypeReference(type) && (result = serializeExistingTypeNode(type, context));
113918
+ let initializer = node.initializer, assertionNode = isJSDocTypeAssertion(initializer) ? getJSDocTypeAssertionType(initializer) : initializer.kind === 234 || initializer.kind === 216 ? initializer.type : void 0;
113919
+ assertionNode && !isConstTypeReference(assertionNode) && resolver.canReuseTypeNodeAnnotation(context, node, assertionNode, symbol) && (result = serializeExistingTypeNode(assertionNode, context));
113915
113920
  }
113916
113921
  return result ?? inferTypeOfDeclaration(
113917
113922
  node,
@@ -176677,4 +176682,4 @@ ejs/lib/ejs.js:
176677
176682
  * @license {@link http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0}
176678
176683
  *)
176679
176684
  */
176680
- //# sourceMappingURL=chunk-NBA3G6YQ.js.map
176685
+ //# sourceMappingURL=chunk-S3QEOIDU.js.map
@@ -1,20 +1,19 @@
1
1
  import {
2
2
  execaSync,
3
3
  fileExistsSync
4
- } from "./chunk-MFOTVT4R.js";
4
+ } from "./chunk-ICQBXF5V.js";
5
5
  import {
6
6
  require_lib
7
- } from "./chunk-NBA3G6YQ.js";
7
+ } from "./chunk-S3QEOIDU.js";
8
8
  import "./chunk-3I3GQNEW.js";
9
- import "./chunk-CFIKVUNW.js";
10
9
  import {
11
10
  cwd,
12
11
  joinPath,
13
12
  sniffForPath
14
- } from "./chunk-ZUCWDIGE.js";
13
+ } from "./chunk-57Q6OQG4.js";
15
14
  import "./chunk-CDBXAE2F.js";
16
15
  import "./chunk-75LV6AQS.js";
17
- import "./chunk-ZKGBK6WQ.js";
16
+ import "./chunk-IVFBSLUD.js";
18
17
  import "./chunk-5DBS6QOU.js";
19
18
  import "./chunk-B3YWYURY.js";
20
19
  import "./chunk-G2ZZKGSV.js";
@@ -44,4 +43,4 @@ var import_core = __toESM(require_lib(), 1), ShopifyConfig = class extends impor
44
43
  export {
45
44
  ShopifyConfig
46
45
  };
47
- //# sourceMappingURL=custom-oclif-loader-3WFQ2GRD.js.map
46
+ //# sourceMappingURL=custom-oclif-loader-CXVA2M3L.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  require_glob
3
- } from "./chunk-A2CUF3IE.js";
3
+ } from "./chunk-C5GINFDG.js";
4
4
  import "./chunk-SHWOPMLQ.js";
5
5
  import {
6
6
  require_graceful_fs
@@ -9,7 +9,7 @@ import {
9
9
  require_globby,
10
10
  require_indent_string,
11
11
  require_slash
12
- } from "./chunk-ZKGBK6WQ.js";
12
+ } from "./chunk-IVFBSLUD.js";
13
13
  import "./chunk-5DBS6QOU.js";
14
14
  import {
15
15
  require_is_glob
@@ -371,4 +371,4 @@ var require_del = __commonJS({
371
371
  }
372
372
  });
373
373
  export default require_del();
374
- //# sourceMappingURL=del-CKAQ44SX.js.map
374
+ //# sourceMappingURL=del-G6PUU7PY.js.map