@shopify/cli 3.90.1 → 3.91.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 (159) hide show
  1. package/dist/{acorn-45LE5Z2A.js → acorn-WDTBS4B3.js} +2 -2
  2. package/dist/{angular-Z5FPQPLR.js → angular-WLPEGHXZ.js} +4 -4
  3. package/dist/assets/hydrogen/starter/.graphqlrc.ts +4 -2
  4. package/dist/assets/hydrogen/starter/CHANGELOG.md +172 -0
  5. package/dist/assets/hydrogen/starter/app/components/CartLineItem.tsx +67 -38
  6. package/dist/assets/hydrogen/starter/app/components/CartMain.tsx +45 -7
  7. package/dist/assets/hydrogen/starter/app/components/CartSummary.tsx +20 -38
  8. package/dist/assets/hydrogen/starter/app/components/MockShopNotice.tsx +20 -0
  9. package/dist/assets/hydrogen/starter/app/entry.client.tsx +2 -3
  10. package/dist/assets/hydrogen/starter/app/lib/fragments.ts +8 -0
  11. package/dist/assets/hydrogen/starter/app/routes/_index.tsx +4 -5
  12. package/dist/assets/hydrogen/starter/app/routes/account.addresses.tsx +12 -12
  13. package/dist/assets/hydrogen/starter/app/routes/account.tsx +4 -7
  14. package/dist/assets/hydrogen/starter/app/routes/account_.login.tsx +10 -0
  15. package/dist/assets/hydrogen/starter/app/routes/blogs.$blogHandle._index.tsx +2 -9
  16. package/dist/assets/hydrogen/starter/app/routes/blogs._index.tsx +1 -4
  17. package/dist/assets/hydrogen/starter/app/routes/cart.tsx +3 -11
  18. package/dist/assets/hydrogen/starter/app/routes/collections.all.tsx +1 -3
  19. package/dist/assets/hydrogen/starter/app/routes/pages.$handle.tsx +2 -8
  20. package/dist/assets/hydrogen/starter/app/routes/policies.$handle.tsx +1 -4
  21. package/dist/assets/hydrogen/starter/app/routes/policies._index.tsx +1 -1
  22. package/dist/assets/hydrogen/starter/app/routes/products.$handle.tsx +2 -9
  23. package/dist/assets/hydrogen/starter/app/routes/search.tsx +18 -12
  24. package/dist/assets/hydrogen/starter/app/styles/app.css +72 -1
  25. package/dist/assets/hydrogen/starter/eslint.config.js +1 -0
  26. package/dist/assets/hydrogen/starter/guides/predictiveSearch/predictiveSearch.md +3 -3
  27. package/dist/assets/hydrogen/starter/guides/search/search.md +1 -1
  28. package/dist/assets/hydrogen/starter/package.json +14 -13
  29. package/dist/assets/hydrogen/starter/server.ts +5 -7
  30. package/dist/assets/hydrogen/starter/storefrontapi.generated.d.ts +89 -0
  31. package/dist/{babel-TRRZ6QQY.js → babel-LQYCV4NA.js} +2 -7
  32. package/dist/{brotli-2OKV26Y6.js → brotli-6CC7WD4Z.js} +1 -2
  33. package/dist/{chunk-SGU7BPE4.js → chunk-2EQNSO7C.js} +3 -3
  34. package/dist/{chunk-PAU7LKSJ.js → chunk-2YAGQHB2.js} +3 -3
  35. package/dist/{chunk-OZPZBNSB.js → chunk-463KYFYO.js} +2 -2
  36. package/dist/{chunk-IEPPQIPW.js → chunk-54FE2FGU.js} +2 -2
  37. package/dist/{chunk-EFOOQV72.js → chunk-56ELYGPH.js} +2 -2
  38. package/dist/{chunk-6ONJ77I7.js → chunk-5JYQJQ2E.js} +2 -2
  39. package/dist/chunk-5ZDTGPNX.js +28 -0
  40. package/dist/{chunk-6ONJEX7Y.js → chunk-6NVYATES.js} +2 -2
  41. package/dist/chunk-77BDQRQW.js +90 -0
  42. package/dist/{chunk-HMDWNGIV.js → chunk-A27P5CF7.js} +211 -103
  43. package/dist/{chunk-4BBQTKIZ.js → chunk-A2CZGTAP.js} +27763 -25681
  44. package/dist/{chunk-TIYR37XP.js → chunk-ATQVKUJC.js} +4 -4
  45. package/dist/{chunk-3GXB4ZRP.js → chunk-CE4S2SGM.js} +10 -10
  46. package/dist/{chunk-WC5EDB4Z.js → chunk-CEUL3KX5.js} +1190 -144
  47. package/dist/{chunk-2TMOMDXO.js → chunk-DR5R5UTE.js} +6 -6
  48. package/dist/{chunk-IYNLJNFT.js → chunk-DUNGALP3.js} +3 -3
  49. package/dist/{chunk-TGDLXF4K.js → chunk-E44JKFB6.js} +2 -2
  50. package/dist/{chunk-5SJCPOBW.js → chunk-E4GUDBAR.js} +417 -387
  51. package/dist/{chunk-C5STUYKR.js → chunk-FKP67FZI.js} +3 -3
  52. package/dist/{chunk-ZZNQWJUM.js → chunk-HAG3HJ2V.js} +10 -10
  53. package/dist/{chunk-PUMWL67K.js → chunk-HOIU6WRE.js} +3 -3
  54. package/dist/{chunk-GPKHDSF5.js → chunk-HTGTTXQL.js} +24 -26
  55. package/dist/{chunk-3VKS4374.js → chunk-I23GZAC4.js} +15 -17
  56. package/dist/chunk-ITTNM7I4.js +23 -0
  57. package/dist/chunk-IUKBWIQY.js +39 -0
  58. package/dist/{chunk-H3SSAPRP.js → chunk-K45ALTZ7.js} +3 -3
  59. package/dist/chunk-K52ORY26.js +78 -0
  60. package/dist/{prettier-2ITB6I34.js → chunk-KV3364EL.js} +43 -42
  61. package/dist/{chunk-4TOZOCIV.js → chunk-LFMBIRVC.js} +3 -3
  62. package/dist/{chunk-OTD3FRPC.js → chunk-NYP3N62G.js} +2 -2
  63. package/dist/chunk-OIUDJFV2.js +309 -0
  64. package/dist/{chunk-HV4MPORZ.js → chunk-PCNR4TMY.js} +5 -5
  65. package/dist/{chunk-SG2A4CTL.js → chunk-QFO7QSBW.js} +4 -4
  66. package/dist/{chunk-UHBL2XEG.js → chunk-R622IPZN.js} +3 -3
  67. package/dist/{chunk-X7CGUWBF.js → chunk-RKFRXKFE.js} +3 -3
  68. package/dist/{chunk-WYVKPOTO.js → chunk-RLJICWO6.js} +4 -4
  69. package/dist/chunk-SJXHR42U.js +36 -0
  70. package/dist/{chunk-CYPBBNM2.js → chunk-SUFC4ISB.js} +6 -6
  71. package/dist/{chunk-3AF66HDC.js → chunk-SVV4RJVX.js} +4 -4
  72. package/dist/chunk-TH7ZYYDZ.js +20868 -0
  73. package/dist/{chunk-J2CFMYG5.js → chunk-TY5YKCUW.js} +5 -5
  74. package/dist/{chunk-XD3LXUGW.js → chunk-VBBBCVMH.js} +2 -2
  75. package/dist/chunk-VRUH5BDH.js +51 -0
  76. package/dist/{chunk-7FIBLDM2.js → chunk-VUYVHHZY.js} +3 -3
  77. package/dist/{chunk-KC6KOCJ5.js → chunk-WDYPK6VH.js} +7 -7
  78. package/dist/{chunk-JRFL7VGC.js → chunk-XDCBS7SY.js} +3 -3
  79. package/dist/{chunk-6MYWZ7MP.js → chunk-Z5FK5H2M.js} +8 -27
  80. package/dist/{chunk-RHYTM4FE.js → chunk-ZLV2A27J.js} +2 -2
  81. package/dist/cli/commands/auth/login.js +14 -16
  82. package/dist/cli/commands/auth/login.test.js +16 -18
  83. package/dist/cli/commands/auth/logout.js +14 -16
  84. package/dist/cli/commands/auth/logout.test.js +17 -19
  85. package/dist/cli/commands/cache/clear.js +15 -16
  86. package/dist/cli/commands/debug/command-flags.js +14 -16
  87. package/dist/cli/commands/docs/generate.js +14 -16
  88. package/dist/cli/commands/docs/generate.test.js +15 -17
  89. package/dist/cli/commands/doctor-release/doctor-release.d.ts +6 -0
  90. package/dist/cli/commands/doctor-release/doctor-release.js +27 -0
  91. package/dist/cli/commands/doctor-release/theme/index.d.ts +14 -0
  92. package/dist/cli/commands/doctor-release/theme/index.js +33 -0
  93. package/dist/cli/commands/help.js +14 -16
  94. package/dist/cli/commands/kitchen-sink/async.js +15 -17
  95. package/dist/cli/commands/kitchen-sink/async.test.js +16 -18
  96. package/dist/cli/commands/kitchen-sink/index.js +17 -19
  97. package/dist/cli/commands/kitchen-sink/index.test.js +20 -22
  98. package/dist/cli/commands/kitchen-sink/prompts.js +15 -17
  99. package/dist/cli/commands/kitchen-sink/prompts.test.js +16 -18
  100. package/dist/cli/commands/kitchen-sink/static.js +15 -17
  101. package/dist/cli/commands/kitchen-sink/static.test.js +16 -18
  102. package/dist/cli/commands/notifications/generate.js +15 -17
  103. package/dist/cli/commands/notifications/list.js +15 -17
  104. package/dist/cli/commands/search.js +15 -17
  105. package/dist/cli/commands/upgrade.js +15 -17
  106. package/dist/cli/commands/upgrade.test.js +1 -1
  107. package/dist/cli/commands/version.js +15 -17
  108. package/dist/cli/commands/version.test.js +16 -18
  109. package/dist/cli/services/commands/notifications.js +14 -14
  110. package/dist/cli/services/commands/search.js +8 -9
  111. package/dist/cli/services/commands/search.test.js +9 -10
  112. package/dist/cli/services/commands/version.js +9 -10
  113. package/dist/cli/services/commands/version.test.js +11 -12
  114. package/dist/cli/services/doctor-release/context.d.ts +16 -0
  115. package/dist/cli/services/doctor-release/context.js +9 -0
  116. package/dist/cli/services/doctor-release/theme/runner.d.ts +7 -0
  117. package/dist/cli/services/doctor-release/theme/runner.js +24 -0
  118. package/dist/cli/services/doctor-release/theme/tests/init.d.ts +11 -0
  119. package/dist/cli/services/doctor-release/theme/tests/init.js +21 -0
  120. package/dist/cli/services/doctor-release/theme/tests/push.d.ts +10 -0
  121. package/dist/cli/services/doctor-release/theme/tests/push.js +21 -0
  122. package/dist/cli/services/kitchen-sink/async.js +8 -9
  123. package/dist/cli/services/kitchen-sink/prompts.js +8 -9
  124. package/dist/cli/services/kitchen-sink/static.js +8 -9
  125. package/dist/cli/services/upgrade.js +9 -10
  126. package/dist/cli/services/upgrade.test.js +11 -12
  127. package/dist/{custom-oclif-loader-RINU7HR3.js → custom-oclif-loader-AAJZ7WBW.js} +8 -9
  128. package/dist/{del-E4LJOSMR.js → del-63DSU6FP.js} +7 -7
  129. package/dist/{devtools-D47L6HIC.js → devtools-4MXU7BNJ.js} +2 -2
  130. package/dist/{devtools-2SG3BFWJ.js → devtools-BAOTGU3O.js} +2 -2
  131. package/dist/{error-handler-CWNDOJLB.js → error-handler-GSQRFK57.js} +12 -14
  132. package/dist/{estree-PY6WKTNG.js → estree-U57GTUKI.js} +14 -35
  133. package/dist/{flow-YN54TSCB.js → flow-CBPGBIW5.js} +2 -4
  134. package/dist/{glimmer-RMPUUUDS.js → glimmer-VWCK7UCR.js} +2 -6
  135. package/dist/{graphql-PPLVYWBL.js → graphql-2HHXB4VZ.js} +3 -5
  136. package/dist/hooks/postrun.js +13 -13
  137. package/dist/hooks/prerun.js +14 -14
  138. package/dist/{html-3U6QZZZ4.js → html-ST4I6M3K.js} +4 -6
  139. package/dist/index.js +143537 -8573
  140. package/dist/{lib-XGN4IWQ3.js → lib-HAW436ZI.js} +3 -4
  141. package/dist/{local-FQVEYJ4K.js → local-GOP2BHNI.js} +10 -11
  142. package/dist/{markdown-RHRQTUMC.js → markdown-NVTT3U3H.js} +4 -13
  143. package/dist/{meriyah-7MIMHTWQ.js → meriyah-H6RUUN2F.js} +2 -9
  144. package/dist/{morph-37GC7LQM.js → morph-7WAMUK6I.js} +68 -143
  145. package/dist/{multipart-parser-IYYNISJK.js → multipart-parser-WKKMXACL.js} +2 -2
  146. package/dist/{node-package-manager-XIE2HZEQ.js → node-package-manager-W4R4DUTE.js} +9 -10
  147. package/dist/{npa-E675GQOI.js → npa-GRSJKUWS.js} +5 -7
  148. package/dist/{postcss-MSOPGY7M.js → postcss-LKRKUSYR.js} +4 -6
  149. package/dist/prettier-5ODD6NHV.js +36 -0
  150. package/dist/{source-map-UFUVQCYE.js → source-map-KSW2YKNC.js} +2 -2
  151. package/dist/tsconfig.tsbuildinfo +1 -1
  152. package/dist/{ui-UAEFJEFY.js → ui-VRLRLHWH.js} +8 -9
  153. package/dist/{workerd-EPURL4IC.js → workerd-AO3T6IIJ.js} +19 -22
  154. package/dist/{yaml-6GALFXQY.js → yaml-54MHMX7H.js} +6 -9
  155. package/oclif.manifest.json +128 -9
  156. package/package.json +8 -8
  157. package/dist/chunk-DOZD5WAI.js +0 -153039
  158. package/dist/chunk-EZQWZ57B.js +0 -53
  159. package/dist/chunk-W65CJE3X.js +0 -2238
@@ -965,7 +965,7 @@ var __defProp, __export2, public_exports, OPTIONAL_OBJECT, createMethodShim, at,
965
965
  return ROOT_INDENT;
966
966
  }
967
967
  };
968
- MODE_BREAK = Symbol("MODE_BREAK"), MODE_FLAT = Symbol("MODE_FLAT"), DOC_FILL_PRINTED_LENGTH = Symbol("DOC_FILL_PRINTED_LENGTH");
968
+ MODE_BREAK = /* @__PURE__ */ Symbol("MODE_BREAK"), MODE_FLAT = /* @__PURE__ */ Symbol("MODE_FLAT"), DOC_FILL_PRINTED_LENGTH = /* @__PURE__ */ Symbol("DOC_FILL_PRINTED_LENGTH");
969
969
  builders = {
970
970
  join,
971
971
  line,
@@ -2247,7 +2247,7 @@ async function loadConfigFromPackageYaml(file) {
2247
2247
  }
2248
2248
  async function loadYaml(file) {
2249
2249
  let content = await read_file_default(file);
2250
- parseYaml || ({ __parsePrettierYamlConfig: parseYaml } = await import("./yaml-6GALFXQY.js"));
2250
+ parseYaml || ({ __parsePrettierYamlConfig: parseYaml } = await import("./yaml-54MHMX7H.js"));
2251
2251
  try {
2252
2252
  return parseYaml(content);
2253
2253
  } catch (error) {
@@ -3670,7 +3670,7 @@ function printCommentsSeparately(path15, options8) {
3670
3670
  let value = path15.node;
3671
3671
  if (!value)
3672
3672
  return {};
3673
- let ignored = options8[Symbol.for("printedComments")];
3673
+ let ignored = options8[/* @__PURE__ */ Symbol.for("printedComments")];
3674
3674
  if ((value.comments || []).filter((comment) => !ignored.has(comment)).length === 0)
3675
3675
  return {
3676
3676
  leading: "",
@@ -3700,8 +3700,8 @@ function printComments(path15, doc2, options8) {
3700
3700
  }
3701
3701
  function ensureAllCommentsPrinted(options8) {
3702
3702
  let {
3703
- [Symbol.for("comments")]: comments,
3704
- [Symbol.for("printedComments")]: printedComments
3703
+ [/* @__PURE__ */ Symbol.for("comments")]: comments,
3704
+ [/* @__PURE__ */ Symbol.for("printedComments")]: printedComments
3705
3705
  } = options8;
3706
3706
  for (let comment of comments) {
3707
3707
  if (!comment.printed && !printedComments.has(comment))
@@ -4248,10 +4248,10 @@ async function textToDoc(text, partialNextOptions, parentOptions, printAstToDoc2
4248
4248
  function printIgnored(path15, options8, printPath, args) {
4249
4249
  let {
4250
4250
  originalText,
4251
- [Symbol.for("comments")]: comments,
4251
+ [/* @__PURE__ */ Symbol.for("comments")]: comments,
4252
4252
  locStart,
4253
4253
  locEnd,
4254
- [Symbol.for("printedComments")]: printedComments
4254
+ [/* @__PURE__ */ Symbol.for("printedComments")]: printedComments
4255
4255
  } = options8, { node } = path15, start = locStart(node), end = locEnd(node);
4256
4256
  for (let comment of comments)
4257
4257
  locStart(comment) >= start && locEnd(comment) <= end && printedComments.add(comment);
@@ -4308,7 +4308,7 @@ function callPluginPrintFunction(path15, options8, printPath, args, embeds) {
4308
4308
  }
4309
4309
  async function prepareToPrint(ast, options8) {
4310
4310
  let comments = ast.comments ?? [];
4311
- options8[Symbol.for("comments")] = comments, options8[Symbol.for("printedComments")] = /* @__PURE__ */ new Set(), attachComments(ast, options8);
4311
+ options8[/* @__PURE__ */ Symbol.for("comments")] = comments, options8[/* @__PURE__ */ Symbol.for("printedComments")] = /* @__PURE__ */ new Set(), attachComments(ast, options8);
4312
4312
  let {
4313
4313
  printer: {
4314
4314
  preprocess
@@ -4516,7 +4516,7 @@ async function coreFormat(originalText, opts, addAlignmentSize = 0) {
4516
4516
  let trimmed = result.formatted.trim();
4517
4517
  result.cursorNodeStart !== void 0 && (result.cursorNodeStart -= result.formatted.indexOf(trimmed), result.cursorNodeStart < 0 && (result.cursorNodeStart = 0, result.cursorNodeText = result.cursorNodeText.trimStart()), result.cursorNodeStart + result.cursorNodeText.length > trimmed.length && (result.cursorNodeText = result.cursorNodeText.trimEnd())), result.formatted = trimmed + convertEndOfLineOptionToCharacter2(opts.endOfLine);
4518
4518
  }
4519
- let comments = opts[Symbol.for("comments")];
4519
+ let comments = opts[/* @__PURE__ */ Symbol.for("comments")];
4520
4520
  if (opts.cursorOffset >= 0) {
4521
4521
  let oldCursorRegionStart, oldCursorRegionText, newCursorRegionStart, newCursorRegionText;
4522
4522
  if ((opts.cursorNode || opts.nodeBeforeCursor || opts.nodeAfterCursor) && result.cursorNodeText)
@@ -4942,7 +4942,7 @@ async function check(text, options8) {
4942
4942
  async function clearCache3() {
4943
4943
  clearCache(), clearCache2();
4944
4944
  }
4945
- var require2, __filename, __dirname, __create, __defProp2, __getOwnPropDesc, __getOwnPropNames, __getProtoOf, __hasOwnProp, __require, __commonJS, __export3, __copyProps, __toESM, require_array, require_errno, require_fs, require_path, require_is_extglob, require_is_glob, require_glob_parent, require_utils, require_stringify, require_is_number, require_to_regex_range, require_fill_range, require_compile, require_expand, require_constants, require_parse, require_braces, require_constants2, require_utils2, require_scan, require_parse2, require_picomatch, require_picomatch2, require_micromatch, require_pattern, require_merge2, require_stream, require_string, require_utils3, require_tasks, require_async, require_sync, require_fs2, require_settings, require_out, require_queue_microtask, require_run_parallel, require_constants3, require_fs3, require_utils4, require_common, require_async2, require_sync2, require_fs4, require_settings2, require_out2, require_reusify, require_queue, require_common2, require_reader, require_async3, require_async4, require_stream2, require_sync3, require_sync4, require_settings3, require_out3, require_reader2, require_stream3, require_async5, require_matcher, require_partial, require_deep, require_entry, require_error, require_entry2, require_provider, require_async6, require_stream4, require_sync5, require_sync6, require_settings4, require_out4, require_picocolors, require_debug, require_constants4, require_re, require_parse_options, require_identifiers, require_semver, require_compare, require_gte, require_pseudomap, require_map, require_yallist, require_lru_cache, require_sigmund, require_fnmatch, require_ini, require_package, require_src, require_js_tokens, require_readlines, require_ignore, index_exports, Diff, LineDiff, lineDiff, ArrayDiff, arrayDiff, import_fast_glob, array, characterCodeCache, import_picocolors5, apiDescriptor, import_picocolors, commonDeprecatedHandler, import_picocolors2, VALUE_NOT_EXIST, VALUE_UNCHANGED, INDENTATION, commonInvalidHandler, import_picocolors3, levenUnknownHandler, HANDLER_KEYS, Schema, AliasSchema, AnySchema, ArraySchema, BooleanSchema, ChoiceSchema, NumberSchema, IntegerSchema, StringSchema, defaultDescriptor, defaultUnknownHandler, defaultInvalidHandler, defaultDeprecatedHandler, Normalizer, errors_exports, ConfigError, UndefinedParserError, ArgExpansionBailout, create_mockable_default, mockable, mockable_default, import_micromatch, URL_STRING_PREFIX, isUrlInstance, isUrlString, isUrl, toPath, toAbsolutePath, partition_default, import_editorconfig, isFile, isDirectory, iterate_directory_up_default, Searcher, FileSearcher, DirectorySearcher, DIRECTORIES, searcher, isPositiveInteger, editorconfig_to_prettier_default, editorconfigCache, Space_Separator, ID_Start, ID_Continue, unicode, util, source, parseState, stack, pos, line2, column, token, key, root, parse2, lexState, buffer, doubleQuote, sign, c, lexStates, parseStates, dist_default, import_picocolors4, import_js_tokens, nonASCIIidentifierStartChars, nonASCIIidentifierChars, nonASCIIidentifierStart, nonASCIIidentifier, reservedWords, keywords, reservedWordsStrictSet, reservedWordsStrictBindSet, compose, defsOn, defsOff, sometimesKeywords, NEWLINE$1, BRACKET, tokenize2, NEWLINE, getOffsets, getCodePoint, JSONError, getErrorLocation, addCodePointToUnexpectedToken, TomlError, DATE_TIME_RE, TomlDate, INT_REGEX, FLOAT_REGEX, LEADING_ZERO, ESCAPE_REGEX, ESC_MAP, KEY_PART_RE, read_file_default, loadConfigFromPackageJson, parseYaml, loaders, loaders_default, CONFIG_FILE_NAMES, config_searcher_default, own, classRegExp, kTypes, codes, messages, nodeInternalPrefix, userStackTraceLimit, captureLargerStackTrace, hasOwnProperty, ERR_INVALID_PACKAGE_CONFIG, cache, ERR_UNKNOWN_FILE_EXTENSION, hasOwnProperty2, extensionFormatMap, protocolHandlers, ERR_INVALID_ARG_VALUE, DEFAULT_CONDITIONS, DEFAULT_CONDITIONS_SET, RegExpPrototypeSymbolReplace, ERR_NETWORK_IMPORT_DISALLOWED, ERR_INVALID_MODULE_SPECIFIER, ERR_INVALID_PACKAGE_CONFIG2, ERR_INVALID_PACKAGE_TARGET, ERR_MODULE_NOT_FOUND, ERR_PACKAGE_IMPORT_NOT_DEFINED, ERR_PACKAGE_PATH_NOT_EXPORTED, ERR_UNSUPPORTED_DIR_IMPORT, ERR_UNSUPPORTED_RESOLVE_REQUEST, own2, invalidSegmentRegEx, deprecatedInvalidSegmentRegEx, invalidPackageNameRegEx, patternRegEx, encodedSeparatorRegEx, emittedPackageWarnings, doubleSlashRegEx, import_from_file_default, require_from_file_default, requireErrorCodesShouldBeIgnored, load_external_config_default, load_config_default, loadCache, searchCache, OPTIONAL_OBJECT2, createMethodShim2, stringReplaceAll2, replaceAll2, method_replace_all_default2, OPTION_CR2, OPTION_CRLF2, OPTION_LF, DEFAULT_OPTION, CHARACTER_CR2, CHARACTER_CRLF2, CHARACTER_LF2, DEFAULT_EOL2, regexps, END_OF_LINE_REGEXP, at2, method_at_default2, noop2, noop_default2, DOC_TYPE_CURSOR2, DOC_TYPE_INDENT2, DOC_TYPE_ALIGN2, DOC_TYPE_TRIM2, DOC_TYPE_GROUP2, DOC_TYPE_FILL2, DOC_TYPE_IF_BREAK2, DOC_TYPE_INDENT_IF_BREAK2, DOC_TYPE_LINE_SUFFIX2, DOC_TYPE_LINE_SUFFIX_BOUNDARY2, DOC_TYPE_LINE2, DOC_TYPE_LABEL2, DOC_TYPE_BREAK_PARENT2, emoji_regex_default2, narrow_emojis_evaluate_default2, notAsciiRegex2, narrowEmojisSet2, get_string_width_default2, get_alignment_size_default, AstPath, ast_path_default, is_object_default, skipWhitespace, skipSpaces, skipToLineEnd, skipEverythingButNewLine, isNewlineCharacter, skip_newline_default, has_newline_default, is_non_empty_array_default, get_sorted_child_nodes_default, childNodesCache, returnFalse, isAllEmptyAndNoLineBreak, is_previous_line_empty_default, breakParent2, hardline2, indent2, join3, line22, lineSuffix2, create_print_pre_check_function_default, core_options_evaluate_default, arrayToReversed, toReversed, method_to_reversed_default, import_n_readlines, get_interpreter_default, getFileBasename, getLanguageByInterpreter, infer_parser_default, hasDeprecationWarned, normalize_options_default, arrayFindLast, findLast, method_find_last_default, FRONT_MATTER_MARK, FRONT_MATTER_VISITOR_KEYS, is_front_matter_default, hardline22, markAsRoot2, SUPPORTED_EMBED_LANGUAGES, isEmbedFrontMatter, clean_default, print_default, nonTraversableKeys, defaultGetVisitorKeys, create_get_visitor_keys_function_default, normalizedPrinters, PRINTER_NORMALIZED_MARK, PRINTER_FRONT_MATTER_SUPPORT_FEATURES, PRINTER_FRONT_MATTER_SUPPORT_OFF, formatOptionsHiddenDefaults, normalize_format_options_default, parse_default, stripTrailingHardline2, print_ignored_default, cursor2, get_cursor_node_default, massage_ast_default, arrayFindLastIndex, findLastIndex, method_find_last_index_default, isJsonParser, jsonSourceElements, graphqlSourceElements, addAlignmentToDoc2, hardline3, printDocToStringWithoutNormalizeOptions, BOM, CURSOR, option_categories_exports, CATEGORY_CONFIG, CATEGORY_EDITOR, CATEGORY_FORMAT, CATEGORY_OTHER, CATEGORY_OUTPUT, CATEGORY_GLOBAL, CATEGORY_SPECIAL, languages_evaluate_default, common_options_evaluate_default, options, options_default, languages_evaluate_default2, options2, options_default2, languages_evaluate_default3, languages_evaluate_default4, CATEGORY_HTML, options3, options_default3, languages_evaluate_default5, CATEGORY_JAVASCRIPT, options4, options_default4, languages_evaluate_default6, languages_evaluate_default7, options5, options_default5, languages_evaluate_default8, options6, options_default6, estreePlugin, options7, languages, parsers, printers, builtin_plugins_proxy_default, load_builtin_plugins_default, import_from_directory_default, cache2, load_plugins_default, import_ignore, slash, object_omit_default, get_file_info_default, version_evaluate_default, public_exports2, skip_inline_comment_default, skip_trailing_comment_default, get_next_non_space_non_comment_character_index_default, is_next_line_empty_default, get_indent_size_default, get_max_continuous_count_default, get_next_non_space_non_comment_character_default, SINGLE_QUOTE, DOUBLE_QUOTE, SINGLE_QUOTE_DATA, DOUBLE_QUOTE_DATA, SINGLE_QUOTE_SETTINGS, DOUBLE_QUOTE_SETTINGS, get_preferred_quote_default, has_newline_in_range_default, has_spaces_default, formatWithCursor2, getSupportInfo2, inferParser2, sharedWithCli, debugApis, init_prettier = __esm({
4945
+ var require2, __filename, __dirname, __create, __defProp2, __getOwnPropDesc, __getOwnPropNames, __getProtoOf, __hasOwnProp, __require, __commonJS, __export3, __copyProps, __toESM, require_array, require_errno, require_fs, require_path, require_is_extglob, require_is_glob, require_glob_parent, require_utils, require_stringify, require_is_number, require_to_regex_range, require_fill_range, require_compile, require_expand, require_constants, require_parse, require_braces, require_constants2, require_utils2, require_scan, require_parse2, require_picomatch, require_picomatch2, require_micromatch, require_pattern, require_merge2, require_stream, require_string, require_utils3, require_tasks, require_async, require_sync, require_fs2, require_settings, require_out, require_queue_microtask, require_run_parallel, require_constants3, require_fs3, require_utils4, require_common, require_async2, require_sync2, require_fs4, require_settings2, require_out2, require_reusify, require_queue, require_common2, require_reader, require_async3, require_async4, require_stream2, require_sync3, require_sync4, require_settings3, require_out3, require_reader2, require_stream3, require_async5, require_matcher, require_partial, require_deep, require_entry, require_error, require_entry2, require_provider, require_async6, require_stream4, require_sync5, require_sync6, require_settings4, require_out4, require_picocolors, require_debug, require_constants4, require_re, require_parse_options, require_identifiers, require_semver, require_compare, require_gte, require_pseudomap, require_map, require_yallist, require_lru_cache, require_sigmund, require_fnmatch, require_ini, require_package, require_src, require_js_tokens, require_readlines, require_ignore, index_exports, Diff, LineDiff, lineDiff, ArrayDiff, arrayDiff, import_fast_glob, array, characterCodeCache, import_picocolors5, apiDescriptor, import_picocolors, commonDeprecatedHandler, import_picocolors2, VALUE_NOT_EXIST, VALUE_UNCHANGED, INDENTATION, commonInvalidHandler, import_picocolors3, levenUnknownHandler, HANDLER_KEYS, Schema, AliasSchema, AnySchema, ArraySchema, BooleanSchema, ChoiceSchema, NumberSchema, IntegerSchema, StringSchema, defaultDescriptor, defaultUnknownHandler, defaultInvalidHandler, defaultDeprecatedHandler, Normalizer, errors_exports, ConfigError, UndefinedParserError, ArgExpansionBailout, create_mockable_default, mockable, mockable_default, import_micromatch, URL_STRING_PREFIX, isUrlInstance, isUrlString, isUrl, toPath, toAbsolutePath, partition_default, import_editorconfig, isFile, isDirectory, iterate_directory_up_default, Searcher, FileSearcher, DirectorySearcher, DIRECTORIES, searcher, isPositiveInteger, editorconfig_to_prettier_default, editorconfigCache, Space_Separator, ID_Start, ID_Continue, unicode, util, source, parseState, stack, pos, line2, column, token, key, root, parse2, lexState, buffer, doubleQuote, sign, c, lexStates, parseStates, dist_default, import_picocolors4, import_js_tokens, nonASCIIidentifierStartChars, nonASCIIidentifierChars, nonASCIIidentifierStart, nonASCIIidentifier, reservedWords, keywords, reservedWordsStrictSet, reservedWordsStrictBindSet, compose, defsOn, defsOff, sometimesKeywords, NEWLINE$1, BRACKET, tokenize2, NEWLINE, getOffsets, getCodePoint, JSONError, getErrorLocation, addCodePointToUnexpectedToken, TomlError, DATE_TIME_RE, TomlDate, INT_REGEX, FLOAT_REGEX, LEADING_ZERO, ESCAPE_REGEX, ESC_MAP, KEY_PART_RE, read_file_default, loadConfigFromPackageJson, parseYaml, loaders, loaders_default, CONFIG_FILE_NAMES, config_searcher_default, own, classRegExp, kTypes, codes, messages, nodeInternalPrefix, userStackTraceLimit, captureLargerStackTrace, hasOwnProperty, ERR_INVALID_PACKAGE_CONFIG, cache, ERR_UNKNOWN_FILE_EXTENSION, hasOwnProperty2, extensionFormatMap, protocolHandlers, ERR_INVALID_ARG_VALUE, DEFAULT_CONDITIONS, DEFAULT_CONDITIONS_SET, RegExpPrototypeSymbolReplace, ERR_NETWORK_IMPORT_DISALLOWED, ERR_INVALID_MODULE_SPECIFIER, ERR_INVALID_PACKAGE_CONFIG2, ERR_INVALID_PACKAGE_TARGET, ERR_MODULE_NOT_FOUND, ERR_PACKAGE_IMPORT_NOT_DEFINED, ERR_PACKAGE_PATH_NOT_EXPORTED, ERR_UNSUPPORTED_DIR_IMPORT, ERR_UNSUPPORTED_RESOLVE_REQUEST, own2, invalidSegmentRegEx, deprecatedInvalidSegmentRegEx, invalidPackageNameRegEx, patternRegEx, encodedSeparatorRegEx, emittedPackageWarnings, doubleSlashRegEx, import_from_file_default, require_from_file_default, requireErrorCodesShouldBeIgnored, load_external_config_default, load_config_default, loadCache, searchCache, OPTIONAL_OBJECT2, createMethodShim2, stringReplaceAll2, replaceAll2, method_replace_all_default2, OPTION_CR2, OPTION_CRLF2, OPTION_LF, DEFAULT_OPTION, CHARACTER_CR2, CHARACTER_CRLF2, CHARACTER_LF2, DEFAULT_EOL2, regexps, END_OF_LINE_REGEXP, at2, method_at_default2, noop2, noop_default2, DOC_TYPE_CURSOR2, DOC_TYPE_INDENT2, DOC_TYPE_ALIGN2, DOC_TYPE_TRIM2, DOC_TYPE_GROUP2, DOC_TYPE_FILL2, DOC_TYPE_IF_BREAK2, DOC_TYPE_INDENT_IF_BREAK2, DOC_TYPE_LINE_SUFFIX2, DOC_TYPE_LINE_SUFFIX_BOUNDARY2, DOC_TYPE_LINE2, DOC_TYPE_LABEL2, DOC_TYPE_BREAK_PARENT2, emoji_regex_default2, narrow_emojis_evaluate_default2, notAsciiRegex2, narrowEmojisSet2, get_string_width_default2, get_alignment_size_default, AstPath, ast_path_default, is_object_default, skipWhitespace, skipSpaces, skipToLineEnd, skipEverythingButNewLine, isNewlineCharacter, skip_newline_default, has_newline_default, is_non_empty_array_default, get_sorted_child_nodes_default, childNodesCache, returnFalse, isAllEmptyAndNoLineBreak, is_previous_line_empty_default, breakParent2, hardline2, indent2, join3, line22, lineSuffix2, create_print_pre_check_function_default, core_options_evaluate_default, arrayToReversed, toReversed, method_to_reversed_default, import_n_readlines, get_interpreter_default, getFileBasename, getLanguageByInterpreter, infer_parser_default, hasDeprecationWarned, normalize_options_default, arrayFindLast, findLast, method_find_last_default, FRONT_MATTER_MARK, FRONT_MATTER_VISITOR_KEYS, is_front_matter_default, hardline22, markAsRoot2, SUPPORTED_EMBED_LANGUAGES, isEmbedFrontMatter, clean_default, print_default, nonTraversableKeys, defaultGetVisitorKeys, create_get_visitor_keys_function_default, normalizedPrinters, PRINTER_FRONT_MATTER_SUPPORT_FEATURES, PRINTER_FRONT_MATTER_SUPPORT_OFF, formatOptionsHiddenDefaults, normalize_format_options_default, parse_default, stripTrailingHardline2, print_ignored_default, cursor2, get_cursor_node_default, massage_ast_default, arrayFindLastIndex, findLastIndex, method_find_last_index_default, isJsonParser, jsonSourceElements, graphqlSourceElements, addAlignmentToDoc2, hardline3, printDocToStringWithoutNormalizeOptions, BOM, CURSOR, option_categories_exports, CATEGORY_CONFIG, CATEGORY_EDITOR, CATEGORY_FORMAT, CATEGORY_OTHER, CATEGORY_OUTPUT, CATEGORY_GLOBAL, CATEGORY_SPECIAL, languages_evaluate_default, common_options_evaluate_default, options, options_default, languages_evaluate_default2, options2, options_default2, languages_evaluate_default3, languages_evaluate_default4, CATEGORY_HTML, options3, options_default3, languages_evaluate_default5, CATEGORY_JAVASCRIPT, options4, options_default4, languages_evaluate_default6, languages_evaluate_default7, options5, options_default5, languages_evaluate_default8, options6, options_default6, estreePlugin, options7, languages, parsers, printers, builtin_plugins_proxy_default, load_builtin_plugins_default, import_from_directory_default, cache2, load_plugins_default, import_ignore, slash, object_omit_default, get_file_info_default, version_evaluate_default, public_exports2, skip_inline_comment_default, skip_trailing_comment_default, get_next_non_space_non_comment_character_index_default, is_next_line_empty_default, get_indent_size_default, get_max_continuous_count_default, get_next_non_space_non_comment_character_default, SINGLE_QUOTE, DOUBLE_QUOTE, SINGLE_QUOTE_DATA, DOUBLE_QUOTE_DATA, SINGLE_QUOTE_SETTINGS, DOUBLE_QUOTE_SETTINGS, get_preferred_quote_default, has_newline_in_range_default, has_spaces_default, formatWithCursor2, getSupportInfo2, inferParser2, sharedWithCli, debugApis, init_prettier = __esm({
4946
4946
  "../../node_modules/.pnpm/prettier@3.7.4/node_modules/prettier/index.mjs"() {
4947
4947
  init_cjs_shims();
4948
4948
  init_doc();
@@ -10235,7 +10235,7 @@ globstar while`,
10235
10235
  return Array.isArray(subject) ? subject : [subject];
10236
10236
  }
10237
10237
  var UNDEFINED = void 0, EMPTY = "", SPACE = " ", ESCAPE = "\\", REGEX_TEST_BLANK_LINE = /^\s+$/, REGEX_INVALID_TRAILING_BACKSLASH = /(?:[^\\]|^)\\$/, REGEX_REPLACE_LEADING_EXCAPED_EXCLAMATION = /^\\!/, REGEX_REPLACE_LEADING_EXCAPED_HASH = /^\\#/, REGEX_SPLITALL_CRLF = /\r?\n/g, REGEX_TEST_INVALID_PATH = /^\.{0,2}\/|^\.{1,2}$/, REGEX_TEST_TRAILING_SLASH = /\/$/, SLASH = "/", TMP_KEY_IGNORE = "node-ignore";
10238
- typeof Symbol < "u" && (TMP_KEY_IGNORE = Symbol.for("node-ignore"));
10238
+ typeof Symbol < "u" && (TMP_KEY_IGNORE = /* @__PURE__ */ Symbol.for("node-ignore"));
10239
10239
  var KEY_IGNORE = TMP_KEY_IGNORE, define = (object, key2, value) => (Object.defineProperty(object, key2, { value }), value), REGEX_REGEXP_RANGE = /([0-z])-([0-z])/g, RETURN_FALSE = () => !1, sanitizeRange = (range) => range.replace(
10240
10240
  REGEX_REGEXP_RANGE,
10241
10241
  (match, from, to) => from.charCodeAt(0) <= to.charCodeAt(0) ? match : EMPTY
@@ -10561,7 +10561,7 @@ globstar while`,
10561
10561
  checkPath.isNotRelative = (path15) => REGEX_TEST_WINDOWS_PATH_ABSOLUTE.test(path15) || isNotRelative(path15);
10562
10562
  };
10563
10563
  // Detect `process` so that it can run in browsers.
10564
- typeof process < "u" && process.platform === "win32" && setupWindows(), module.exports = factory, factory.default = factory, module.exports.isPathValid = isPathValid, define(module.exports, Symbol.for("setupWindows"), setupWindows);
10564
+ typeof process < "u" && process.platform === "win32" && setupWindows(), module.exports = factory, factory.default = factory, module.exports.isPathValid = isPathValid, define(module.exports, /* @__PURE__ */ Symbol.for("setupWindows"), setupWindows);
10565
10565
  }
10566
10566
  }), index_exports = {};
10567
10567
  __export3(index_exports, {
@@ -10742,7 +10742,7 @@ globstar while`,
10742
10742
  `${import_picocolors.default.yellow(typeof keyOrPair == "string" ? descriptor.key(keyOrPair) : descriptor.pair(keyOrPair))} is deprecated`
10743
10743
  ];
10744
10744
  return redirectTo && messages2.push(`we now treat it as ${import_picocolors.default.blue(typeof redirectTo == "string" ? descriptor.key(redirectTo) : descriptor.pair(redirectTo))}`), messages2.join("; ") + ".";
10745
- }, import_picocolors2 = __toESM(require_picocolors(), 1), VALUE_NOT_EXIST = Symbol.for("vnopts.VALUE_NOT_EXIST"), VALUE_UNCHANGED = Symbol.for("vnopts.VALUE_UNCHANGED"), INDENTATION = " ".repeat(2), commonInvalidHandler = (key2, value, utils2) => {
10745
+ }, import_picocolors2 = __toESM(require_picocolors(), 1), VALUE_NOT_EXIST = /* @__PURE__ */ Symbol.for("vnopts.VALUE_NOT_EXIST"), VALUE_UNCHANGED = /* @__PURE__ */ Symbol.for("vnopts.VALUE_UNCHANGED"), INDENTATION = " ".repeat(2), commonInvalidHandler = (key2, value, utils2) => {
10746
10746
  let { text, list } = utils2.normalizeExpectedResult(utils2.schemas[key2].expected(utils2)), descriptions = [];
10747
10747
  return text && descriptions.push(getDescription(key2, value, text, utils2.descriptor)), list && descriptions.push([getDescription(key2, value, list.title, utils2.descriptor)].concat(list.values.map((valueDescription) => getListDescription(valueDescription, utils2.loggerPrintWidth))).join(`
10748
10748
  `)), chooseDescription(descriptions, utils2.loggerPrintWidth);
@@ -12709,7 +12709,7 @@ The range will extend backwards to the start of the first line containing the se
12709
12709
  }, findLast = createMethodShim2("findLast", function() {
12710
12710
  if (Array.isArray(this))
12711
12711
  return arrayFindLast;
12712
- }), method_find_last_default = findLast, FRONT_MATTER_MARK = Symbol.for("PRETTIER_IS_FRONT_MATTER"), FRONT_MATTER_VISITOR_KEYS = [];
12712
+ }), method_find_last_default = findLast, FRONT_MATTER_MARK = /* @__PURE__ */ Symbol.for("PRETTIER_IS_FRONT_MATTER"), FRONT_MATTER_VISITOR_KEYS = [];
12713
12713
  is_front_matter_default = isFrontMatter, {
12714
12714
  hardline: hardline22,
12715
12715
  markAsRoot: markAsRoot2
@@ -12726,7 +12726,7 @@ The range will extend backwards to the start of the first line containing the se
12726
12726
  "followingNode"
12727
12727
  ]), defaultGetVisitorKeys = (node) => Object.keys(node).filter((key2) => !nonTraversableKeys.has(key2));
12728
12728
  create_get_visitor_keys_function_default = createGetVisitorKeysFunction;
12729
- normalizedPrinters = /* @__PURE__ */ new WeakMap(), PRINTER_NORMALIZED_MARK = Symbol("PRINTER_NORMALIZED_MARK");
12729
+ normalizedPrinters = /* @__PURE__ */ new WeakMap();
12730
12730
  PRINTER_FRONT_MATTER_SUPPORT_FEATURES = ["clean", "embed", "print"], PRINTER_FRONT_MATTER_SUPPORT_OFF = Object.fromEntries(PRINTER_FRONT_MATTER_SUPPORT_FEATURES.map((feature) => [feature, !1]));
12731
12731
  formatOptionsHiddenDefaults = {
12732
12732
  astFormat: "estree",
@@ -12763,7 +12763,7 @@ The range will extend backwards to the start of the first line containing the se
12763
12763
  hardline: hardline3
12764
12764
  } = builders), {
12765
12765
  printDocToString: printDocToStringWithoutNormalizeOptions
12766
- } = printer, BOM = "\uFEFF", CURSOR = Symbol("cursor");
12766
+ } = printer, BOM = "\uFEFF", CURSOR = /* @__PURE__ */ Symbol("cursor");
12767
12767
  option_categories_exports = {};
12768
12768
  __export3(option_categories_exports, {
12769
12769
  CATEGORY_CONFIG: () => CATEGORY_CONFIG,
@@ -13650,7 +13650,7 @@ The range will extend backwards to the start of the first line containing the se
13650
13650
  }, options_default6 = options6;
13651
13651
  estreePlugin = createParsersAndPrinters([
13652
13652
  {
13653
- importPlugin: () => import("./estree-PY6WKTNG.js"),
13653
+ importPlugin: () => import("./estree-U57GTUKI.js"),
13654
13654
  printers: ["estree", "estree-json"]
13655
13655
  }
13656
13656
  ]), options7 = {
@@ -13671,11 +13671,11 @@ The range will extend backwards to the start of the first line containing the se
13671
13671
  ...languages_evaluate_default8
13672
13672
  ], { parsers, printers } = createParsersAndPrinters([
13673
13673
  {
13674
- importPlugin: () => import("./acorn-45LE5Z2A.js"),
13674
+ importPlugin: () => import("./acorn-WDTBS4B3.js"),
13675
13675
  parsers: ["acorn", "espree"]
13676
13676
  },
13677
13677
  {
13678
- importPlugin: () => import("./angular-Z5FPQPLR.js"),
13678
+ importPlugin: () => import("./angular-WLPEGHXZ.js"),
13679
13679
  parsers: [
13680
13680
  "__ng_action",
13681
13681
  "__ng_binding",
@@ -13684,7 +13684,7 @@ The range will extend backwards to the start of the first line containing the se
13684
13684
  ]
13685
13685
  },
13686
13686
  {
13687
- importPlugin: () => import("./babel-TRRZ6QQY.js"),
13687
+ importPlugin: () => import("./babel-LQYCV4NA.js"),
13688
13688
  parsers: [
13689
13689
  "babel",
13690
13690
  "babel-flow",
@@ -13703,35 +13703,35 @@ The range will extend backwards to the start of the first line containing the se
13703
13703
  ]
13704
13704
  },
13705
13705
  {
13706
- importPlugin: () => import("./flow-YN54TSCB.js"),
13706
+ importPlugin: () => import("./flow-CBPGBIW5.js"),
13707
13707
  parsers: ["flow"]
13708
13708
  },
13709
13709
  {
13710
- importPlugin: () => import("./glimmer-RMPUUUDS.js"),
13710
+ importPlugin: () => import("./glimmer-VWCK7UCR.js"),
13711
13711
  parsers: ["glimmer"],
13712
13712
  printers: ["glimmer"]
13713
13713
  },
13714
13714
  {
13715
- importPlugin: () => import("./graphql-PPLVYWBL.js"),
13715
+ importPlugin: () => import("./graphql-2HHXB4VZ.js"),
13716
13716
  parsers: ["graphql"],
13717
13717
  printers: ["graphql"]
13718
13718
  },
13719
13719
  {
13720
- importPlugin: () => import("./html-3U6QZZZ4.js"),
13720
+ importPlugin: () => import("./html-ST4I6M3K.js"),
13721
13721
  parsers: ["html", "angular", "vue", "lwc", "mjml"],
13722
13722
  printers: ["html"]
13723
13723
  },
13724
13724
  {
13725
- importPlugin: () => import("./markdown-RHRQTUMC.js"),
13725
+ importPlugin: () => import("./markdown-NVTT3U3H.js"),
13726
13726
  parsers: ["markdown", "mdx", "remark"],
13727
13727
  printers: ["mdast"]
13728
13728
  },
13729
13729
  {
13730
- importPlugin: () => import("./meriyah-7MIMHTWQ.js"),
13730
+ importPlugin: () => import("./meriyah-H6RUUN2F.js"),
13731
13731
  parsers: ["meriyah"]
13732
13732
  },
13733
13733
  {
13734
- importPlugin: () => import("./postcss-MSOPGY7M.js"),
13734
+ importPlugin: () => import("./postcss-LKRKUSYR.js"),
13735
13735
  parsers: ["css", "less", "scss"],
13736
13736
  printers: ["postcss"]
13737
13737
  },
@@ -13740,7 +13740,7 @@ The range will extend backwards to the start of the first line containing the se
13740
13740
  parsers: ["typescript"]
13741
13741
  },
13742
13742
  {
13743
- importPlugin: () => import("./yaml-6GALFXQY.js"),
13743
+ importPlugin: () => import("./yaml-54MHMX7H.js"),
13744
13744
  parsers: ["yaml"],
13745
13745
  printers: ["yaml"]
13746
13746
  }
@@ -13841,21 +13841,22 @@ The range will extend backwards to the start of the first line containing the se
13841
13841
  };
13842
13842
  }
13843
13843
  });
13844
- init_prettier();
13844
+
13845
13845
  export {
13846
- debugApis as __debug,
13847
- sharedWithCli as __internal,
13848
- check,
13849
- clearCache3 as clearConfigCache,
13850
- index_exports as default,
13851
- doc_exports as doc,
13852
- format2 as format,
13853
- formatWithCursor2 as formatWithCursor,
13854
- get_file_info_default as getFileInfo,
13855
- getSupportInfo2 as getSupportInfo,
13846
+ doc_exports,
13847
+ index_exports,
13856
13848
  resolveConfig,
13857
13849
  resolveConfigFile,
13858
- public_exports2 as util,
13859
- version_evaluate_default as version
13850
+ get_file_info_default,
13851
+ version_evaluate_default,
13852
+ public_exports2 as public_exports,
13853
+ formatWithCursor2,
13854
+ format2,
13855
+ check,
13856
+ clearCache3,
13857
+ getSupportInfo2,
13858
+ sharedWithCli,
13859
+ debugApis,
13860
+ init_prettier
13860
13861
  };
13861
- //# sourceMappingURL=prettier-2ITB6I34.js.map
13862
+ //# sourceMappingURL=chunk-KV3364EL.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  asyncTasks
3
- } from "./chunk-RHYTM4FE.js";
3
+ } from "./chunk-ZLV2A27J.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-3VKS4374.js";
6
+ } from "./chunk-I23GZAC4.js";
7
7
  import {
8
8
  init_cjs_shims
9
9
  } from "./chunk-PKR7KJ6P.js";
@@ -25,4 +25,4 @@ var KitchenSinkAsync = class extends base_command_default {
25
25
  export {
26
26
  KitchenSinkAsync
27
27
  };
28
- //# sourceMappingURL=chunk-4TOZOCIV.js.map
28
+ //# sourceMappingURL=chunk-LFMBIRVC.js.map
@@ -4,9 +4,9 @@ import {
4
4
 
5
5
  // ../cli-kit/dist/public/common/version.js
6
6
  init_cjs_shims();
7
- var CLI_KIT_VERSION = "3.90.1";
7
+ var CLI_KIT_VERSION = "3.91.1";
8
8
 
9
9
  export {
10
10
  CLI_KIT_VERSION
11
11
  };
12
- //# sourceMappingURL=chunk-OTD3FRPC.js.map
12
+ //# sourceMappingURL=chunk-NYP3N62G.js.map
@@ -0,0 +1,309 @@
1
+ import {
2
+ captureCommandWithExitCode,
3
+ execCommand,
4
+ fileExists,
5
+ readFile
6
+ } from "./chunk-E4GUDBAR.js";
7
+ import {
8
+ isAbsolutePath,
9
+ joinPath,
10
+ relativePath
11
+ } from "./chunk-EG6MBBEN.js";
12
+ import {
13
+ init_cjs_shims
14
+ } from "./chunk-PKR7KJ6P.js";
15
+
16
+ // ../cli-kit/dist/public/node/doctor/framework.js
17
+ init_cjs_shims();
18
+ var DoctorSuite = class {
19
+ constructor() {
20
+ this.assertions = [], this.registeredTests = [];
21
+ }
22
+ /**
23
+ * Run the entire test suite.
24
+ *
25
+ * @param context - The doctor context for this suite run.
26
+ */
27
+ async runSuite(context) {
28
+ this.context = context, this.registeredTests = [];
29
+ let results = [];
30
+ this.tests();
31
+ for (let registeredTest of this.registeredTests) {
32
+ this.assertions = [];
33
+ let startTime = Date.now();
34
+ try {
35
+ await registeredTest.fn(), results.push({
36
+ name: registeredTest.name,
37
+ status: this.hasFailures() ? "failed" : "passed",
38
+ duration: Date.now() - startTime,
39
+ assertions: [...this.assertions]
40
+ });
41
+ } catch (error) {
42
+ results.push({
43
+ name: registeredTest.name,
44
+ status: "failed",
45
+ duration: Date.now() - startTime,
46
+ assertions: [...this.assertions],
47
+ error: error instanceof Error ? error : new Error(String(error))
48
+ });
49
+ }
50
+ }
51
+ return results;
52
+ }
53
+ /**
54
+ * Register a test with a name and function.
55
+ *
56
+ * @param name - The test name.
57
+ * @param fn - The async test function.
58
+ */
59
+ test(name, fn) {
60
+ this.registeredTests.push({ name, fn });
61
+ }
62
+ /**
63
+ * Override this method to register tests using this.test().
64
+ */
65
+ tests() {
66
+ }
67
+ // ============================================
68
+ // Command execution
69
+ // ============================================
70
+ /**
71
+ * Run a CLI command and return the result.
72
+ *
73
+ * @param command - The CLI command to run.
74
+ * @param options - Optional cwd and env overrides.
75
+ * @example
76
+ * const result = await this.run('shopify theme init my-theme')
77
+ * const result = await this.run('shopify theme push --json')
78
+ */
79
+ async run(command, options) {
80
+ let cwd = options?.cwd ?? this.context.workingDirectory, result = await captureCommandWithExitCode(command, { cwd, env: options?.env });
81
+ return {
82
+ command,
83
+ exitCode: result.exitCode,
84
+ stdout: result.stdout,
85
+ stderr: result.stderr,
86
+ output: String(result.stdout) + String(result.stderr),
87
+ success: result.exitCode === 0
88
+ };
89
+ }
90
+ /**
91
+ * Run a command without capturing output (for interactive commands).
92
+ * Returns only success/failure.
93
+ *
94
+ * @param command - The CLI command to run.
95
+ * @param options - Optional cwd and env overrides.
96
+ */
97
+ async runInteractive(command, options) {
98
+ let cwd = options?.cwd ?? this.context.workingDirectory, exitCode = 0;
99
+ try {
100
+ await execCommand(command, { cwd, env: options?.env, stdin: "inherit" });
101
+ } catch {
102
+ exitCode = 1;
103
+ }
104
+ return {
105
+ command,
106
+ exitCode,
107
+ stdout: "",
108
+ stderr: "",
109
+ output: "",
110
+ success: exitCode === 0
111
+ };
112
+ }
113
+ // ============================================
114
+ // Assertions
115
+ // ============================================
116
+ /**
117
+ * Assert that a command succeeded (exit code 0).
118
+ *
119
+ * @param result - The command result to check.
120
+ * @param message - Optional custom assertion message.
121
+ */
122
+ assertSuccess(result, message) {
123
+ this.assertions.push({
124
+ description: message ?? `Command succeeded: ${result.command}`,
125
+ passed: result.success,
126
+ expected: "exit code 0",
127
+ actual: `exit code ${result.exitCode}`
128
+ });
129
+ }
130
+ /**
131
+ * Assert that a command failed with an error matching the pattern.
132
+ *
133
+ * @param result - The command result to check.
134
+ * @param pattern - Optional regex or string pattern to match against output.
135
+ * @param message - Optional custom assertion message.
136
+ */
137
+ assertError(result, pattern, message) {
138
+ let failed = !result.success;
139
+ if (pattern) {
140
+ let matches = (typeof pattern == "string" ? new RegExp(pattern) : pattern).test(result.output), actualValue;
141
+ failed ? matches ? actualValue = "matched" : actualValue = `output: ${result.output.slice(0, 200)}` : actualValue = "command succeeded", this.assertions.push({
142
+ description: message ?? `Command failed with expected error: ${pattern}`,
143
+ passed: failed && matches,
144
+ expected: `failure with error matching ${pattern}`,
145
+ actual: actualValue
146
+ });
147
+ } else
148
+ this.assertions.push({
149
+ description: message ?? `Command failed: ${result.command}`,
150
+ passed: failed,
151
+ expected: "non-zero exit code",
152
+ actual: `exit code ${result.exitCode}`
153
+ });
154
+ }
155
+ /**
156
+ * Assert that a file exists and optionally matches content.
157
+ *
158
+ * @param path - The file path to check.
159
+ * @param contentPattern - Optional regex or string to match file content.
160
+ * @param message - Optional custom assertion message.
161
+ */
162
+ async assertFile(path, contentPattern, message) {
163
+ let fullPath = isAbsolutePath(path) ? path : joinPath(this.context.workingDirectory, path), displayPath = relativePath(this.context.workingDirectory, fullPath);
164
+ if (!await fileExists(fullPath)) {
165
+ this.assertions.push({
166
+ description: message ?? `File exists: ${displayPath}`,
167
+ passed: !1,
168
+ expected: "file exists",
169
+ actual: "file not found"
170
+ });
171
+ return;
172
+ }
173
+ if (contentPattern) {
174
+ let content = await readFile(fullPath), matches = (typeof contentPattern == "string" ? new RegExp(contentPattern) : contentPattern).test(content);
175
+ this.assertions.push({
176
+ description: message ?? `File ${displayPath} matches ${contentPattern}`,
177
+ passed: matches,
178
+ expected: `content matching ${contentPattern}`,
179
+ actual: matches ? "matched" : `content: ${content.slice(0, 200)}...`
180
+ });
181
+ } else
182
+ this.assertions.push({
183
+ description: message ?? `File exists: ${displayPath}`,
184
+ passed: !0,
185
+ expected: "file exists",
186
+ actual: "file exists"
187
+ });
188
+ }
189
+ /**
190
+ * Assert that a file does not exist.
191
+ *
192
+ * @param path - The file path to check.
193
+ * @param message - Optional custom assertion message.
194
+ */
195
+ async assertNoFile(path, message) {
196
+ let fullPath = isAbsolutePath(path) ? path : joinPath(this.context.workingDirectory, path), displayPath = relativePath(this.context.workingDirectory, fullPath), exists = await fileExists(fullPath);
197
+ this.assertions.push({
198
+ description: message ?? `File does not exist: ${displayPath}`,
199
+ passed: !exists,
200
+ expected: "file does not exist",
201
+ actual: exists ? "file exists" : "file does not exist"
202
+ });
203
+ }
204
+ /**
205
+ * Assert that a directory exists.
206
+ *
207
+ * @param path - The directory path to check.
208
+ * @param message - Optional custom assertion message.
209
+ */
210
+ async assertDirectory(path, message) {
211
+ let fullPath = isAbsolutePath(path) ? path : joinPath(this.context.workingDirectory, path), displayPath = relativePath(this.context.workingDirectory, fullPath), exists = await fileExists(fullPath);
212
+ this.assertions.push({
213
+ description: message ?? `Directory exists: ${displayPath}`,
214
+ passed: exists,
215
+ expected: "directory exists",
216
+ actual: exists ? "directory exists" : "directory not found"
217
+ });
218
+ }
219
+ /**
220
+ * Assert that output contains a pattern.
221
+ *
222
+ * @param result - The command result to check.
223
+ * @param pattern - Regex or string pattern to match against output.
224
+ * @param message - Optional custom assertion message.
225
+ */
226
+ assertOutput(result, pattern, message) {
227
+ let matches = (typeof pattern == "string" ? new RegExp(pattern) : pattern).test(result.output);
228
+ this.assertions.push({
229
+ description: message ?? `Output matches ${pattern}`,
230
+ passed: matches,
231
+ expected: `output matching ${pattern}`,
232
+ actual: matches ? "matched" : `output: ${result.output.slice(0, 200)}`
233
+ });
234
+ }
235
+ /**
236
+ * Assert that output contains valid JSON and optionally validate it.
237
+ *
238
+ * @param result - The command result to parse.
239
+ * @param validator - Optional function to validate the parsed JSON.
240
+ * @param message - Optional custom assertion message.
241
+ */
242
+ assertJson(result, validator, message) {
243
+ try {
244
+ let json = JSON.parse(result.stdout);
245
+ if (validator) {
246
+ let valid = validator(json);
247
+ this.assertions.push({
248
+ description: message ?? "Output is valid JSON matching validator",
249
+ passed: valid,
250
+ expected: "valid JSON matching validator",
251
+ actual: valid ? "matched" : "validator returned false"
252
+ });
253
+ } else
254
+ this.assertions.push({
255
+ description: message ?? "Output is valid JSON",
256
+ passed: !0,
257
+ expected: "valid JSON",
258
+ actual: "valid JSON"
259
+ });
260
+ return json;
261
+ } catch {
262
+ this.assertions.push({
263
+ description: message ?? "Output is valid JSON",
264
+ passed: !1,
265
+ expected: "valid JSON",
266
+ actual: `invalid JSON: ${result.stdout.slice(0, 100)}`
267
+ });
268
+ return;
269
+ }
270
+ }
271
+ /**
272
+ * Assert a boolean condition.
273
+ *
274
+ * @param condition - The boolean condition to assert.
275
+ * @param message - The assertion description.
276
+ */
277
+ assert(condition, message) {
278
+ this.assertions.push({
279
+ description: message,
280
+ passed: condition,
281
+ expected: "true",
282
+ actual: String(condition)
283
+ });
284
+ }
285
+ /**
286
+ * Assert two values are equal.
287
+ *
288
+ * @param actual - The actual value.
289
+ * @param expected - The expected value.
290
+ * @param message - The assertion description.
291
+ */
292
+ assertEqual(actual, expected, message) {
293
+ this.assertions.push({
294
+ description: message,
295
+ passed: actual === expected,
296
+ expected: String(expected),
297
+ actual: String(actual)
298
+ });
299
+ }
300
+ hasFailures() {
301
+ return this.assertions.some((assertion) => !assertion.passed);
302
+ }
303
+ };
304
+ DoctorSuite.description = "Doctor test suite";
305
+
306
+ export {
307
+ DoctorSuite
308
+ };
309
+ //# sourceMappingURL=chunk-OIUDJFV2.js.map
@@ -2,13 +2,13 @@ import {
2
2
  fetchNotifications,
3
3
  getNotifications,
4
4
  stringifyFilters
5
- } from "./chunk-CYPBBNM2.js";
5
+ } from "./chunk-SUFC4ISB.js";
6
6
  import {
7
7
  randomUUID
8
- } from "./chunk-4BBQTKIZ.js";
8
+ } from "./chunk-A2CZGTAP.js";
9
9
  import {
10
10
  CLI_KIT_VERSION
11
- } from "./chunk-OTD3FRPC.js";
11
+ } from "./chunk-NYP3N62G.js";
12
12
  import {
13
13
  outputInfo,
14
14
  renderSelectPrompt,
@@ -16,7 +16,7 @@ import {
16
16
  renderTable,
17
17
  renderTextPrompt,
18
18
  writeFile
19
- } from "./chunk-5SJCPOBW.js";
19
+ } from "./chunk-E4GUDBAR.js";
20
20
  import {
21
21
  init_cjs_shims
22
22
  } from "./chunk-PKR7KJ6P.js";
@@ -103,4 +103,4 @@ export {
103
103
  generate,
104
104
  list
105
105
  };
106
- //# sourceMappingURL=chunk-HV4MPORZ.js.map
106
+ //# sourceMappingURL=chunk-PCNR4TMY.js.map