@shopify/cli 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 (102) hide show
  1. package/dist/assets/hydrogen/starter/CHANGELOG.md +99 -0
  2. package/dist/assets/hydrogen/starter/app/components/ProductForm.tsx +2 -1
  3. package/dist/assets/hydrogen/starter/app/root.tsx +12 -2
  4. package/dist/assets/hydrogen/starter/app/routes/collections._index.tsx +1 -0
  5. package/dist/assets/hydrogen/starter/package.json +10 -10
  6. package/dist/assets/hydrogen/starter/tsconfig.json +1 -1
  7. package/dist/assets/hydrogen/starter/vite.config.ts +1 -0
  8. package/dist/assets/hydrogen/tailwind/package.json +1 -1
  9. package/dist/assets/hydrogen/tailwind/tailwind.css +1 -1
  10. package/dist/assets/hydrogen/vite/package.json +1 -1
  11. package/dist/assets/hydrogen/vite/vite.config.js +1 -0
  12. package/dist/{chunk-FCWD4NEK.js → chunk-2B5C3QFS.js} +3 -3
  13. package/dist/{chunk-MDJOXUMQ.js → chunk-2FZJER24.js} +4 -4
  14. package/dist/{chunk-IYQNHNNP.js → chunk-57EEPGQZ.js} +3 -3
  15. package/dist/{chunk-R7RENZQC.js → chunk-5KSWCELC.js} +3 -3
  16. package/dist/{chunk-QRARFXIM.js → chunk-6HBKMQLD.js} +15 -14
  17. package/dist/{chunk-5JC3BUPR.js → chunk-6W5TMCT3.js} +3 -3
  18. package/dist/{chunk-MSBZRBI5.js → chunk-6XBYMBOQ.js} +4 -4
  19. package/dist/{chunk-UB7RN523.js → chunk-B7ABTOI4.js} +6 -6
  20. package/dist/{chunk-WKO4CJCL.js → chunk-BDLU7EEZ.js} +14 -10
  21. package/dist/{chunk-XJNTFQIK.js → chunk-BTMRJLQ7.js} +5 -5
  22. package/dist/{chunk-76NEANNG.js → chunk-DV2H7WDY.js} +430 -207
  23. package/dist/{chunk-FMXC2O6H.js → chunk-ESYWXFSK.js} +2 -2
  24. package/dist/{chunk-WBTJ7MQU.js → chunk-GMHA2S7O.js} +3 -3
  25. package/dist/{chunk-BWBSJLZN.js → chunk-GQIMWIIF.js} +9970 -9968
  26. package/dist/{chunk-WNUVUNTL.js → chunk-I3WJF5NM.js} +7 -7
  27. package/dist/{chunk-B27LGWRZ.js → chunk-IAM7IYO3.js} +3 -3
  28. package/dist/{chunk-5JWRABV2.js → chunk-ILXYHK4Q.js} +8 -8
  29. package/dist/{chunk-VI4NVMJH.js → chunk-IML7XVTM.js} +2 -2
  30. package/dist/{chunk-53WQGP7S.js → chunk-KMPW66LQ.js} +4 -4
  31. package/dist/{chunk-I6YWZKVU.js → chunk-L656JYPI.js} +2 -2
  32. package/dist/{chunk-7T4EKFVU.js → chunk-MN33EVV7.js} +2 -2
  33. package/dist/{chunk-LH6BHL6J.js → chunk-MOZOZ3LN.js} +3 -3
  34. package/dist/{chunk-5CLGH5PH.js → chunk-MP5RLDFN.js} +15 -8
  35. package/dist/{chunk-GVMUVIT5.js → chunk-OK2LJ3F3.js} +6 -6
  36. package/dist/{chunk-J673ZU5S.js → chunk-ORGKANED.js} +3 -3
  37. package/dist/{chunk-6JNRBEP6.js → chunk-QJQSCN3A.js} +5 -5
  38. package/dist/{chunk-NUW6LQU4.js → chunk-S4YW77H4.js} +4 -4
  39. package/dist/{chunk-ACIVN2Q4.js → chunk-S576QAPY.js} +2 -2
  40. package/dist/{chunk-JWRRKMF2.js → chunk-S6L5743K.js} +2 -2
  41. package/dist/{chunk-D5AR5HKB.js → chunk-SWQM7ICR.js} +2 -2
  42. package/dist/{chunk-XBIDXV7B.js → chunk-T35HYPVZ.js} +3 -3
  43. package/dist/{chunk-QEUQO265.js → chunk-T4WJXSDW.js} +4 -4
  44. package/dist/{chunk-4QRIOWN3.js → chunk-TJDZDZWG.js} +2 -2
  45. package/dist/{chunk-4W33LVQQ.js → chunk-VM4XPRZK.js} +3 -3
  46. package/dist/{chunk-CDQA3SST.js → chunk-VSKRQ3JT.js} +33 -29
  47. package/dist/{chunk-PMOQBQSE.js → chunk-W6IJP4MY.js} +3 -3
  48. package/dist/{chunk-L3FVJFIT.js → chunk-X3CFSDHA.js} +94 -17
  49. package/dist/{chunk-AKL7T64Q.js → chunk-Y53XECL6.js} +34 -34
  50. package/dist/{chunk-2GCE2GUM.js → chunk-YVTRJWYT.js} +3 -3
  51. package/dist/cli/commands/auth/logout.js +14 -15
  52. package/dist/cli/commands/auth/logout.test.js +16 -17
  53. package/dist/cli/commands/cache/clear.js +13 -14
  54. package/dist/cli/commands/debug/command-flags.js +13 -14
  55. package/dist/cli/commands/docs/generate.js +13 -14
  56. package/dist/cli/commands/docs/generate.test.js +14 -15
  57. package/dist/cli/commands/help.js +13 -14
  58. package/dist/cli/commands/kitchen-sink/async.js +14 -15
  59. package/dist/cli/commands/kitchen-sink/async.test.js +15 -16
  60. package/dist/cli/commands/kitchen-sink/index.js +16 -17
  61. package/dist/cli/commands/kitchen-sink/index.test.js +17 -18
  62. package/dist/cli/commands/kitchen-sink/prompts.js +14 -15
  63. package/dist/cli/commands/kitchen-sink/prompts.test.js +15 -16
  64. package/dist/cli/commands/kitchen-sink/static.js +14 -15
  65. package/dist/cli/commands/kitchen-sink/static.test.js +15 -16
  66. package/dist/cli/commands/notifications/generate.js +14 -15
  67. package/dist/cli/commands/notifications/list.js +14 -15
  68. package/dist/cli/commands/search.js +14 -15
  69. package/dist/cli/commands/upgrade.js +14 -15
  70. package/dist/cli/commands/upgrade.test.js +1 -2
  71. package/dist/cli/commands/version.js +14 -15
  72. package/dist/cli/commands/version.test.js +15 -16
  73. package/dist/cli/services/commands/notifications.js +8 -9
  74. package/dist/cli/services/commands/search.js +4 -5
  75. package/dist/cli/services/commands/search.test.js +5 -6
  76. package/dist/cli/services/commands/version.js +5 -6
  77. package/dist/cli/services/commands/version.test.js +7 -8
  78. package/dist/cli/services/kitchen-sink/async.js +4 -5
  79. package/dist/cli/services/kitchen-sink/prompts.js +4 -5
  80. package/dist/cli/services/kitchen-sink/static.js +4 -5
  81. package/dist/cli/services/upgrade.js +5 -6
  82. package/dist/cli/services/upgrade.test.js +8 -9
  83. package/dist/{custom-oclif-loader-ZY5GUSB3.js → custom-oclif-loader-MPQ33GKJ.js} +4 -5
  84. package/dist/{del-FBU5JYXS.js → del-2SYBVRHB.js} +2 -2
  85. package/dist/devtools-BA4WST2D.js +72 -0
  86. package/dist/{error-handler-YRN4E6SY.js → error-handler-ABXDEJNM.js} +11 -12
  87. package/dist/hooks/postrun.js +9 -10
  88. package/dist/hooks/prerun.js +9 -10
  89. package/dist/index.js +28943 -12546
  90. package/dist/{lib-E2DSNKUX.js → lib-SGEWXU7Z.js} +3 -3
  91. package/dist/{local-VTZT5Q4L.js → local-DGW3VZG7.js} +6 -5
  92. package/dist/{magic-string.es-PJMYOE6F.js → magic-string.es-BSVDQOZI.js} +32 -20
  93. package/dist/{morph-ACVSDUS7.js → morph-BTANDGVW.js} +9 -9
  94. package/dist/{node-ONVZF27D.js → node-GVOKD67H.js} +17 -18
  95. package/dist/{node-package-manager-BZNXJETD.js → node-package-manager-WEN6FJ7Z.js} +5 -6
  96. package/dist/{npa-JAX2F6CO.js → npa-E675GQOI.js} +123 -33
  97. package/dist/tsconfig.tsbuildinfo +1 -1
  98. package/dist/{ui-3RKZNTJR.js → ui-TWIKWYG2.js} +4 -5
  99. package/dist/{workerd-PSNADDQA.js → workerd-SK47YSGA.js} +16 -17
  100. package/oclif.manifest.json +33 -62
  101. package/package.json +11 -10
  102. package/dist/chunk-CFIKVUNW.js +0 -45
@@ -12,7 +12,7 @@ import {
12
12
  import {
13
13
  require_globby,
14
14
  require_indent_string
15
- } from "./chunk-5CLGH5PH.js";
15
+ } from "./chunk-MP5RLDFN.js";
16
16
  import {
17
17
  __commonJS,
18
18
  __require,
@@ -2893,9 +2893,9 @@ var require_src = __commonJS({
2893
2893
  }
2894
2894
  });
2895
2895
 
2896
- // ../../node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/typescript.js
2896
+ // ../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/typescript.js
2897
2897
  var require_typescript = __commonJS({
2898
- "../../node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/typescript.js"(exports, module) {
2898
+ "../../node_modules/.pnpm/typescript@5.7.3/node_modules/typescript/lib/typescript.js"(exports, module) {
2899
2899
  init_cjs_shims();
2900
2900
  var ts = {};
2901
2901
  ((module2) => {
@@ -5148,7 +5148,7 @@ var require_typescript = __commonJS({
5148
5148
  writeFileEnsuringDirectories: () => writeFileEnsuringDirectories,
5149
5149
  zipWith: () => zipWith
5150
5150
  }), module2.exports = __toCommonJS(typescript_exports);
5151
- 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();
5151
+ 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();
5152
5152
  function length(array) {
5153
5153
  return array !== void 0 ? array.length : 0;
5154
5154
  }
@@ -13707,6 +13707,7 @@ ${lanes.join(`
13707
13707
  }
13708
13708
  var targetToLibMap = /* @__PURE__ */ new Map([
13709
13709
  [99, "lib.esnext.full.d.ts"],
13710
+ [11, "lib.es2024.full.d.ts"],
13710
13711
  [10, "lib.es2023.full.d.ts"],
13711
13712
  [9, "lib.es2022.full.d.ts"],
13712
13713
  [8, "lib.es2021.full.d.ts"],
@@ -13722,6 +13723,7 @@ ${lanes.join(`
13722
13723
  let target = getEmitScriptTarget(options);
13723
13724
  switch (target) {
13724
13725
  case 99:
13726
+ case 11:
13725
13727
  case 10:
13726
13728
  case 9:
13727
13729
  case 8:
@@ -45072,6 +45074,11 @@ ${lanes.join(`
45072
45074
  stringType,
45073
45075
  /*isReadonly*/
45074
45076
  !0
45077
+ ), anyBaseTypeIndexInfo = createIndexInfo(
45078
+ stringType,
45079
+ anyType,
45080
+ /*isReadonly*/
45081
+ !1
45075
45082
  ), iterationTypesCache = /* @__PURE__ */ new Map(), noIterationTypes = {
45076
45083
  get yieldType() {
45077
45084
  return Debug.fail("Not supported");
@@ -47783,7 +47790,7 @@ ${lanes.join(`
47783
47790
  let type = (_a = context.enclosingSymbolTypes) == null ? void 0 : _a.get(getSymbolId(symbol));
47784
47791
  type === void 0 && (symbol.flags & 98304 ? type = node.kind === 178 ? getWriteTypeOfSymbol(symbol) : getTypeOfAccessors(symbol) : isValueSignatureDeclaration(node) ? type = getReturnTypeOfSignature(getSignatureFromDeclaration(node)) : type = getTypeOfSymbol(symbol));
47785
47792
  let annotationType = getTypeFromTypeNodeWithoutContext(existing);
47786
- return isErrorType(annotationType) ? !0 : (requiresAddingUndefined && annotationType && (annotationType = getOptionalType(annotationType, !isParameter(node))), !!annotationType && typeNodeIsEquivalentToType(node, type, annotationType) && existingTypeNodeIsNotReferenceOrIsReferenceWithCompatibleTypeArgumentCount(existing, type));
47793
+ return isErrorType(annotationType) ? !0 : (requiresAddingUndefined && annotationType && (annotationType = addOptionality(annotationType, !isParameter(node))), !!annotationType && typeNodeIsEquivalentToType(node, type, annotationType) && existingTypeNodeIsNotReferenceOrIsReferenceWithCompatibleTypeArgumentCount(existing, type));
47787
47794
  }
47788
47795
  },
47789
47796
  typeToTypeNode: (type, enclosingDeclaration, flags, internalFlags, tracker) => withContext2(enclosingDeclaration, flags, internalFlags, tracker, (context) => typeToTypeNodeHelper(type, context)),
@@ -52881,12 +52888,7 @@ ${lanes.join(`
52881
52888
  1
52882
52889
  /* Construct */
52883
52890
  ));
52884
- let inheritedIndexInfos = instantiatedBaseType !== anyType ? getIndexInfosOfType(instantiatedBaseType) : [createIndexInfo(
52885
- stringType,
52886
- anyType,
52887
- /*isReadonly*/
52888
- !1
52889
- )];
52891
+ let inheritedIndexInfos = instantiatedBaseType !== anyType ? getIndexInfosOfType(instantiatedBaseType) : [anyBaseTypeIndexInfo];
52890
52892
  indexInfos = concatenate(indexInfos, filter(inheritedIndexInfos, (info) => !findIndexInfo(indexInfos, info.keyType)));
52891
52893
  }
52892
52894
  }
@@ -53309,12 +53311,7 @@ ${lanes.join(`
53309
53311
  let baseConstructorIndexInfo;
53310
53312
  if (setStructuredTypeMembers(type, members, emptyArray, emptyArray, emptyArray), symbol.flags & 32) {
53311
53313
  let classType = getDeclaredTypeOfClassOrInterface(symbol), baseConstructorType = getBaseConstructorTypeOfClass(classType);
53312
- baseConstructorType.flags & 11272192 ? (members = createSymbolTable(getNamedOrIndexSignatureMembers(members)), addInheritedMembers(members, getPropertiesOfType(baseConstructorType))) : baseConstructorType === anyType && (baseConstructorIndexInfo = createIndexInfo(
53313
- stringType,
53314
- anyType,
53315
- /*isReadonly*/
53316
- !1
53317
- ));
53314
+ baseConstructorType.flags & 11272192 ? (members = createSymbolTable(getNamedOrIndexSignatureMembers(members)), addInheritedMembers(members, getPropertiesOfType(baseConstructorType))) : baseConstructorType === anyType && (baseConstructorIndexInfo = anyBaseTypeIndexInfo);
53318
53315
  }
53319
53316
  let indexSymbol = getIndexSymbolFromSymbolTable(members);
53320
53317
  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) {
@@ -63864,11 +63861,11 @@ ${lanes.join(`
63864
63861
  }
63865
63862
  function markJsxAliasReferenced(node) {
63866
63863
  if (!getJsxNamespaceContainerForImplicitImport(node)) {
63867
- 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;
63864
+ 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;
63868
63865
  if (isJsxOpeningFragment(node) && jsxFactoryNamespace === "null" || (jsxFactorySym = resolveName(
63869
63866
  jsxFactoryLocation,
63870
63867
  jsxFactoryNamespace,
63871
- compilerOptions.jsx === 1 ? 111167 : 111551,
63868
+ shouldFactoryRefErr ? 111551 : 111167,
63872
63869
  jsxFactoryRefErr,
63873
63870
  /*isUse*/
63874
63871
  !0
@@ -63877,7 +63874,7 @@ ${lanes.join(`
63877
63874
  localJsxNamespace && resolveName(
63878
63875
  jsxFactoryLocation,
63879
63876
  localJsxNamespace,
63880
- compilerOptions.jsx === 1 ? 111167 : 111551,
63877
+ shouldFactoryRefErr ? 111551 : 111167,
63881
63878
  jsxFactoryRefErr,
63882
63879
  /*isUse*/
63883
63880
  !0
@@ -66637,6 +66634,10 @@ ${lanes.join(`
66637
66634
  return getIntersectionType(x);
66638
66635
  }
66639
66636
  function reportNonexistentProperty(propNode, containingType, isUncheckedJS) {
66637
+ let links = getNodeLinks(propNode), cache = links.nonExistentPropCheckCache || (links.nonExistentPropCheckCache = /* @__PURE__ */ new Set()), key = `${getTypeId(containingType)}|${isUncheckedJS}`;
66638
+ if (cache.has(key))
66639
+ return;
66640
+ cache.add(key);
66640
66641
  let errorInfo, relatedInfo;
66641
66642
  if (!isPrivateIdentifier(propNode) && containingType.flags & 1048576 && !(containingType.flags & 402784252)) {
66642
66643
  for (let subtype of containingType.types)
@@ -68219,11 +68220,11 @@ ${lanes.join(`
68219
68220
  let sourceFileLinks = getNodeLinks(getSourceFileOfNode(node));
68220
68221
  if (sourceFileLinks.jsxFragmentType !== void 0) return sourceFileLinks.jsxFragmentType;
68221
68222
  let jsxFragmentFactoryName = getJsxNamespace(node);
68222
- if (jsxFragmentFactoryName === "null") return sourceFileLinks.jsxFragmentType = anyType;
68223
- 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(
68223
+ if (!((compilerOptions.jsx === 2 || compilerOptions.jsxFragmentFactory !== void 0) && jsxFragmentFactoryName !== "null")) return sourceFileLinks.jsxFragmentType = anyType;
68224
+ 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(
68224
68225
  node,
68225
68226
  jsxFragmentFactoryName,
68226
- compilerOptions.jsx === 1 ? 111167 : 111551,
68227
+ shouldModuleRefErr ? 111551 : 111167,
68227
68228
  /*nameNotFoundMessage*/
68228
68229
  jsxFactoryRefErr,
68229
68230
  /*isUse*/
@@ -70296,7 +70297,9 @@ ${lanes.join(`
70296
70297
  switch (node = skipOuterExpressions(node), node.kind) {
70297
70298
  case 223:
70298
70299
  case 213:
70300
+ case 215:
70299
70301
  case 212:
70302
+ case 236:
70300
70303
  case 214:
70301
70304
  case 211:
70302
70305
  case 229:
@@ -70312,6 +70315,8 @@ ${lanes.join(`
70312
70315
  case 56:
70313
70316
  case 77:
70314
70317
  return 3;
70318
+ case 28:
70319
+ return getSyntacticNullishnessSemantics(node.right);
70315
70320
  }
70316
70321
  return 2;
70317
70322
  case 227:
@@ -74976,7 +74981,7 @@ ${lanes.join(`
74976
74981
  node,
74977
74982
  65536
74978
74983
  /* ImportStar */
74979
- )) : (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);
74984
+ )) : (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);
74980
74985
  }
74981
74986
  checkImportAttributes(node);
74982
74987
  }
@@ -76867,7 +76872,7 @@ ${lanes.join(`
76867
76872
  if (length(infoList)) {
76868
76873
  result || (result = []);
76869
76874
  for (let info of infoList) {
76870
- if (info.declaration) continue;
76875
+ if (info.declaration || info === anyBaseTypeIndexInfo) continue;
76871
76876
  let node = nodeBuilder.indexInfoToIndexSignatureDeclaration(info, enclosing, flags, internalFlags, tracker);
76872
76877
  node && infoList === staticInfos && (node.modifiers || (node.modifiers = factory.createNodeArray())).unshift(factory.createModifier(
76873
76878
  126
@@ -112584,8 +112589,8 @@ ${lanes.join(`
112584
112589
  function typeFromPropertyAssignment(node, symbol, context) {
112585
112590
  let typeAnnotation = getEffectiveTypeAnnotationNode(node), result;
112586
112591
  if (typeAnnotation && resolver.canReuseTypeNodeAnnotation(context, node, typeAnnotation, symbol) && (result = serializeExistingTypeNode(typeAnnotation, context)), !result && node.kind === 303) {
112587
- let initializer = node.initializer, type = isJSDocTypeAssertion(initializer) ? getJSDocTypeAssertionType(initializer) : initializer.kind === 234 || initializer.kind === 216 ? initializer.type : void 0;
112588
- type && !isConstTypeReference(type) && (result = serializeExistingTypeNode(type, context));
112592
+ let initializer = node.initializer, assertionNode = isJSDocTypeAssertion(initializer) ? getJSDocTypeAssertionType(initializer) : initializer.kind === 234 || initializer.kind === 216 ? initializer.type : void 0;
112593
+ assertionNode && !isConstTypeReference(assertionNode) && resolver.canReuseTypeNodeAnnotation(context, node, assertionNode, symbol) && (result = serializeExistingTypeNode(assertionNode, context));
112589
112594
  }
112590
112595
  return result ?? inferTypeOfDeclaration(
112591
112596
  node,
@@ -175222,7 +175227,6 @@ var require_lib2 = __commonJS({
175222
175227
  export {
175223
175228
  require_supports_hyperlinks,
175224
175229
  require_source,
175225
- require_src,
175226
175230
  require_cross_spawn,
175227
175231
  require_lib2 as require_lib
175228
175232
  };
@@ -175253,4 +175257,4 @@ ejs/lib/ejs.js:
175253
175257
  * @license {@link http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0}
175254
175258
  *)
175255
175259
  */
175256
- //# sourceMappingURL=chunk-CDQA3SST.js.map
175260
+ //# sourceMappingURL=chunk-VSKRQ3JT.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  generate
3
- } from "./chunk-QEUQO265.js";
3
+ } from "./chunk-T4WJXSDW.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-6JNRBEP6.js";
6
+ } from "./chunk-QJQSCN3A.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-PMOQBQSE.js.map
28
+ //# sourceMappingURL=chunk-W6IJP4MY.js.map
@@ -18,14 +18,11 @@ import {
18
18
  require_lib,
19
19
  require_source,
20
20
  require_supports_hyperlinks
21
- } from "./chunk-CDQA3SST.js";
21
+ } from "./chunk-VSKRQ3JT.js";
22
22
  import {
23
23
  require_brace_expansion,
24
24
  require_source_map
25
25
  } from "./chunk-G5R6YD27.js";
26
- import {
27
- Queue
28
- } from "./chunk-CFIKVUNW.js";
29
26
  import {
30
27
  delimiter
31
28
  } from "./chunk-CDBXAE2F.js";
@@ -22355,7 +22352,6 @@ var import_change_case = __toESM(require_dist15(), 1), SAFE_RANDOM_BUSINESS_ADJE
22355
22352
  "franchise",
22356
22353
  "subsidiary",
22357
22354
  "logistics",
22358
- "infrastructure",
22359
22355
  "sponsorship",
22360
22356
  "partnership",
22361
22357
  "tax",
@@ -22611,6 +22607,45 @@ init_cjs_shims();
22611
22607
 
22612
22608
  // ../../node_modules/.pnpm/p-limit@4.0.0/node_modules/p-limit/index.js
22613
22609
  init_cjs_shims();
22610
+
22611
+ // ../../node_modules/.pnpm/yocto-queue@1.0.0/node_modules/yocto-queue/index.js
22612
+ init_cjs_shims();
22613
+ var Node = class {
22614
+ value;
22615
+ next;
22616
+ constructor(value) {
22617
+ this.value = value;
22618
+ }
22619
+ }, Queue = class {
22620
+ #head;
22621
+ #tail;
22622
+ #size;
22623
+ constructor() {
22624
+ this.clear();
22625
+ }
22626
+ enqueue(value) {
22627
+ let node = new Node(value);
22628
+ this.#head ? (this.#tail.next = node, this.#tail = node) : (this.#head = node, this.#tail = node), this.#size++;
22629
+ }
22630
+ dequeue() {
22631
+ let current = this.#head;
22632
+ if (current)
22633
+ return this.#head = this.#head.next, this.#size--, current.value;
22634
+ }
22635
+ clear() {
22636
+ this.#head = void 0, this.#tail = void 0, this.#size = 0;
22637
+ }
22638
+ get size() {
22639
+ return this.#size;
22640
+ }
22641
+ *[Symbol.iterator]() {
22642
+ let current = this.#head;
22643
+ for (; current; )
22644
+ yield current.value, current = current.next;
22645
+ }
22646
+ };
22647
+
22648
+ // ../../node_modules/.pnpm/p-limit@4.0.0/node_modules/p-limit/index.js
22614
22649
  function pLimit(concurrency) {
22615
22650
  if (!((Number.isInteger(concurrency) || concurrency === Number.POSITIVE_INFINITY) && concurrency > 0))
22616
22651
  throw new TypeError("Expected `concurrency` to be a number from 1 and up");
@@ -23627,7 +23662,7 @@ async function renameFile(from, to) {
23627
23662
  outputDebug(outputContent`Renaming file from ${outputToken.path(from)} to ${outputToken.path(to)}...`), await fsRename(from, to);
23628
23663
  }
23629
23664
  async function rmdir(path8, options = {}) {
23630
- let { default: del } = await import("./del-FBU5JYXS.js");
23665
+ let { default: del } = await import("./del-2SYBVRHB.js");
23631
23666
  outputDebug(outputContent`Removing directory at ${outputToken.path(path8)}...`), await del(path8, { force: options.force });
23632
23667
  }
23633
23668
  async function isDirectory(path8) {
@@ -23791,7 +23826,8 @@ var identifier = "shopify-cli", cacheFolder = () => process.env.XDG_CACHE_HOME ?
23791
23826
  refreshToken: "SHOPIFY_CLI_REFRESH_TOKEN",
23792
23827
  otelURL: "SHOPIFY_CLI_OTEL_EXPORTER_OTLP_ENDPOINT",
23793
23828
  themeKitAccessDomain: "SHOPIFY_CLI_THEME_KIT_ACCESS_DOMAIN",
23794
- json: "SHOPIFY_FLAG_JSON"
23829
+ json: "SHOPIFY_FLAG_JSON",
23830
+ neverUsePartnersApi: "SHOPIFY_CLI_NEVER_USE_PARTNERS_API"
23795
23831
  }, defaultThemeKitAccessDomain = "theme-kit-access.shopifyapps.com", systemEnvironmentVariables = {
23796
23832
  backendPort: "BACKEND_PORT"
23797
23833
  }, pathConstants = {
@@ -25009,6 +25045,9 @@ function getIdentityTokenInformation() {
25009
25045
  function jsonOutputEnabled(environment = getEnvironmentVariables()) {
25010
25046
  return sniffForJson() || isTruthy(environment[environmentVariables.json]);
25011
25047
  }
25048
+ function blockPartnersAccess() {
25049
+ return isTruthy(getEnvironmentVariables()[environmentVariables.neverUsePartnersApi]);
25050
+ }
25012
25051
 
25013
25052
  // ../../node_modules/.pnpm/is-interactive@2.0.0/node_modules/is-interactive/index.js
25014
25053
  init_cjs_shims();
@@ -25104,8 +25143,13 @@ function ciPlatform(env3 = process.env) {
25104
25143
  function macAddress() {
25105
25144
  return import_macaddress.default.one();
25106
25145
  }
25146
+ function getThemeKitAccessDomain(env3 = process.env) {
25147
+ let domain = env3[environmentVariables.themeKitAccessDomain];
25148
+ return isSet(domain) ? domain : defaultThemeKitAccessDomain;
25149
+ }
25107
25150
  function opentelemetryDomain(env3 = process.env) {
25108
- return isSet(env3[environmentVariables.otelURL]) ? env3[environmentVariables.otelURL] : "https://otlp-http-production-cli.shopifysvc.com";
25151
+ let domain = env3[environmentVariables.otelURL];
25152
+ return isSet(domain) ? domain : "https://otlp-http-production-cli.shopifysvc.com";
25109
25153
  }
25110
25154
 
25111
25155
  // ../cli-kit/dist/public/node/is-global.js
@@ -29427,7 +29471,7 @@ function createRuntimeMetadataContainer(defaultPublicMetadata = {}) {
29427
29471
  try {
29428
29472
  await getAndSet();
29429
29473
  } catch (error) {
29430
- let { sendErrorToBugsnag } = await import("./error-handler-YRN4E6SY.js");
29474
+ let { sendErrorToBugsnag } = await import("./error-handler-ABXDEJNM.js");
29431
29475
  await sendErrorToBugsnag(error, "unexpected_error");
29432
29476
  }
29433
29477
  }, durationStack = [];
@@ -30728,13 +30772,20 @@ function rainbow(text, frame) {
30728
30772
  let hue = 5 * frame, leftColor = { h: hue % 360, s: 0.8, v: 1 }, rightColor = { h: (hue + 1) % 360, s: 0.8, v: 1 };
30729
30773
  return (0, import_gradient_string.default)(leftColor, rightColor)(text, { interpolation: "hsv", hsvSpin: "long" });
30730
30774
  }
30731
- var TextAnimation = (0, import_react50.memo)(({ text }) => {
30775
+ function rotated(text, steps) {
30776
+ let normalizedSteps = steps % text.length, start = text.slice(-normalizedSteps), end = text.slice(0, -normalizedSteps);
30777
+ return start + end;
30778
+ }
30779
+ function truncated(text, maxWidth) {
30780
+ return maxWidth ? text.slice(0, maxWidth) : text;
30781
+ }
30782
+ var TextAnimation = (0, import_react50.memo)(({ text, maxWidth }) => {
30732
30783
  let frame = (0, import_react50.useRef)(0), [renderedFrame, setRenderedFrame] = (0, import_react50.useState)(text), timeout = (0, import_react50.useRef)(), renderAnimation = (0, import_react50.useCallback)(() => {
30733
30784
  let newFrame = frame.current + 1;
30734
- frame.current = newFrame, setRenderedFrame(rainbow(text, frame.current)), timeout.current = setTimeout(() => {
30785
+ frame.current = newFrame, setRenderedFrame(rainbow(truncated(rotated(text, frame.current), maxWidth), frame.current)), timeout.current = setTimeout(() => {
30735
30786
  renderAnimation();
30736
30787
  }, 35);
30737
- }, [text]);
30788
+ }, [text, maxWidth]);
30738
30789
  return (0, import_react50.useLayoutEffect)(() => (renderAnimation(), () => {
30739
30790
  clearTimeout(timeout.current);
30740
30791
  }), [renderAnimation]), import_react50.default.createElement(Text, null, renderedFrame);
@@ -30758,7 +30809,7 @@ function useAsyncAndUnmount(asyncFunction, { onFulfilled = () => {
30758
30809
  }
30759
30810
 
30760
30811
  // ../cli-kit/dist/private/node/ui/components/Tasks.js
30761
- var import_react52 = __toESM(require_react(), 1), loadingBarChar = "\u2580", TasksState;
30812
+ 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;
30762
30813
  (function(TasksState2) {
30763
30814
  TasksState2.Loading = "loading", TasksState2.Success = "success", TasksState2.Failure = "failure";
30764
30815
  })(TasksState || (TasksState = {}));
@@ -30776,8 +30827,10 @@ async function runTask2(task, ctx) {
30776
30827
  }
30777
30828
  var noop3 = () => {
30778
30829
  };
30779
- function Tasks({ tasks, silent = isUnitTest(), onComplete = noop3, abortSignal }) {
30780
- 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();
30830
+ function Tasks({ tasks, silent = isUnitTest(), onComplete = noop3, abortSignal, noColor }) {
30831
+ let { twoThirds } = useLayout(), loadingBar = new Array(twoThirds).fill(loadingBarChar).join("");
30832
+ (noColor ?? !shouldDisplayColors()) && (loadingBar = hillString.repeat(Math.ceil(twoThirds / hillString.length)));
30833
+ 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();
30781
30834
  useAsyncAndUnmount(async () => {
30782
30835
  for (let task of tasks) {
30783
30836
  setCurrentTask(task);
@@ -30801,7 +30854,7 @@ function Tasks({ tasks, silent = isUnitTest(), onComplete = noop3, abortSignal }
30801
30854
  return silent ? null : state === TasksState.Loading && !isAborted ? import_react52.default.createElement(
30802
30855
  Box_default,
30803
30856
  { flexDirection: "column" },
30804
- import_react52.default.createElement(TextAnimation, { text: loadingBar }),
30857
+ import_react52.default.createElement(TextAnimation, { text: loadingBar, maxWidth: twoThirds }),
30805
30858
  import_react52.default.createElement(
30806
30859
  Text,
30807
30860
  null,
@@ -31092,11 +31145,28 @@ export {
31092
31145
  runWithTimer,
31093
31146
  require_react,
31094
31147
  require_isObject,
31148
+ require_root,
31149
+ require_Symbol,
31150
+ require_isObjectLike,
31151
+ require_throttle,
31152
+ ansi_escapes_default2 as ansi_escapes_default,
31153
+ autoBind,
31095
31154
  require_signal_exit,
31155
+ dist_default,
31156
+ Yoga,
31096
31157
  require_scheduler,
31097
31158
  stripAnsi,
31159
+ ansi_styles_default2 as ansi_styles_default,
31098
31160
  sliceAnsi,
31161
+ indentString,
31162
+ require_cli_boxes,
31099
31163
  source_default,
31164
+ styledCharsFromTokens,
31165
+ styledCharsToString,
31166
+ tokenize2 as tokenize,
31167
+ cli_cursor_default,
31168
+ require_stack_utils,
31169
+ dist_default3 as dist_default2,
31100
31170
  Box_default,
31101
31171
  Text,
31102
31172
  Static,
@@ -31110,6 +31180,8 @@ export {
31110
31180
  handleCtrlC,
31111
31181
  require_stacktracey,
31112
31182
  require_eq,
31183
+ require_Stack,
31184
+ require_Uint8Array,
31113
31185
  require_mapToArray,
31114
31186
  require_arrayPush,
31115
31187
  require_isArray,
@@ -31119,6 +31191,8 @@ export {
31119
31191
  require_isArguments,
31120
31192
  require_isBuffer,
31121
31193
  require_isIndex,
31194
+ require_baseUnary,
31195
+ require_nodeUtil,
31122
31196
  require_isTypedArray,
31123
31197
  require_arrayLikeKeys,
31124
31198
  require_isPrototype,
@@ -31126,6 +31200,7 @@ export {
31126
31200
  require_baseKeys,
31127
31201
  require_isArrayLike,
31128
31202
  require_keys,
31203
+ require_getAllKeys,
31129
31204
  require_getTag,
31130
31205
  require_baseIsEqual,
31131
31206
  require_arrayMap,
@@ -31285,6 +31360,7 @@ export {
31285
31360
  getBackendPort,
31286
31361
  getIdentityTokenInformation,
31287
31362
  jsonOutputEnabled,
31363
+ blockPartnersAccess,
31288
31364
  isTerminalInteractive,
31289
31365
  homeDirectory,
31290
31366
  isDevelopment,
@@ -31307,6 +31383,7 @@ export {
31307
31383
  hasGit,
31308
31384
  ciPlatform,
31309
31385
  macAddress,
31386
+ getThemeKitAccessDomain,
31310
31387
  opentelemetryDomain
31311
31388
  };
31312
31389
  /*! Bundled license information:
@@ -31399,4 +31476,4 @@ react-reconciler/cjs/react-reconciler-constants.development.js:
31399
31476
  * LICENSE file in the root directory of this source tree.
31400
31477
  *)
31401
31478
  */
31402
- //# sourceMappingURL=chunk-L3FVJFIT.js.map
31479
+ //# sourceMappingURL=chunk-X3CFSDHA.js.map