@shell-shock/preset-cli 0.9.19 → 0.9.22

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 (386) hide show
  1. package/dist/_virtual/_rolldown/runtime.cjs +0 -16
  2. package/dist/components/banner-builtin.cjs +1 -1
  3. package/dist/components/banner-builtin.mjs +1 -1
  4. package/dist/components/banner-builtin.mjs.map +1 -1
  5. package/dist/components/command-entry.cjs +8 -5
  6. package/dist/components/command-entry.mjs +7 -4
  7. package/dist/components/command-entry.mjs.map +1 -1
  8. package/dist/components/command-router.cjs +1 -1
  9. package/dist/components/command-router.mjs +1 -1
  10. package/dist/components/command-router.mjs.map +1 -1
  11. package/dist/components/upgrade-builtin.cjs +1 -1
  12. package/dist/components/upgrade-builtin.mjs +1 -1
  13. package/dist/components/upgrade-builtin.mjs.map +1 -1
  14. package/dist/components/virtual-command-entry.cjs +5 -2
  15. package/dist/components/virtual-command-entry.mjs +5 -2
  16. package/dist/components/virtual-command-entry.mjs.map +1 -1
  17. package/dist/helpers/get-global-options.mjs.map +1 -1
  18. package/dist/index.cjs +8 -3
  19. package/dist/index.d.cts.map +1 -1
  20. package/dist/index.d.mts.map +1 -1
  21. package/dist/index.mjs +7 -3
  22. package/dist/index.mjs.map +1 -1
  23. package/dist/types/plugin.d.cts +3 -3
  24. package/dist/types/plugin.d.cts.map +1 -1
  25. package/dist/types/plugin.d.mts +3 -3
  26. package/dist/types/plugin.d.mts.map +1 -1
  27. package/package.json +22 -74
  28. package/dist/_virtual/_rolldown/runtime.mjs +0 -42
  29. package/dist/node_modules/.pnpm/@mdit_plugin-alert@0.23.2_markdown-it@14.1.1/node_modules/@mdit/plugin-alert/dist/index.cjs +0 -94
  30. package/dist/node_modules/.pnpm/@mdit_plugin-alert@0.23.2_markdown-it@14.1.1/node_modules/@mdit/plugin-alert/dist/index.mjs +0 -94
  31. package/dist/node_modules/.pnpm/@mdit_plugin-alert@0.23.2_markdown-it@14.1.1/node_modules/@mdit/plugin-alert/dist/index.mjs.map +0 -1
  32. package/dist/node_modules/.pnpm/@stryke_types@0.11.3/node_modules/@stryke/types/dist/base.d.cts +0 -17
  33. package/dist/node_modules/.pnpm/@stryke_types@0.11.3/node_modules/@stryke/types/dist/base.d.cts.map +0 -1
  34. package/dist/node_modules/.pnpm/@stryke_types@0.11.3/node_modules/@stryke/types/dist/base.d.mts +0 -17
  35. package/dist/node_modules/.pnpm/@stryke_types@0.11.3/node_modules/@stryke/types/dist/base.d.mts.map +0 -1
  36. package/dist/node_modules/.pnpm/ansi-regex@6.2.2/node_modules/ansi-regex/index.cjs +0 -8
  37. package/dist/node_modules/.pnpm/ansi-regex@6.2.2/node_modules/ansi-regex/index.mjs +0 -8
  38. package/dist/node_modules/.pnpm/ansi-regex@6.2.2/node_modules/ansi-regex/index.mjs.map +0 -1
  39. package/dist/node_modules/.pnpm/ansi-styles@6.2.3/node_modules/ansi-styles/index.cjs +0 -167
  40. package/dist/node_modules/.pnpm/ansi-styles@6.2.3/node_modules/ansi-styles/index.mjs +0 -167
  41. package/dist/node_modules/.pnpm/ansi-styles@6.2.3/node_modules/ansi-styles/index.mjs.map +0 -1
  42. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.cjs +0 -373
  43. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.mjs +0 -374
  44. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.mjs.map +0 -1
  45. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.cjs +0 -60
  46. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.mjs +0 -59
  47. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.mjs.map +0 -1
  48. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.cjs +0 -6
  49. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.mjs +0 -6
  50. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.mjs.map +0 -1
  51. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.cjs +0 -6
  52. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.mjs +0 -6
  53. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.mjs.map +0 -1
  54. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode-codepoint.cjs +0 -59
  55. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode-codepoint.mjs +0 -59
  56. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode-codepoint.mjs.map +0 -1
  57. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode.cjs +0 -338
  58. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode.mjs +0 -333
  59. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode.mjs.map +0 -1
  60. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/generated/decode-data-html.cjs +0 -6
  61. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/generated/decode-data-html.mjs +0 -6
  62. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/generated/decode-data-html.mjs.map +0 -1
  63. package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/index.cjs +0 -14
  64. package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/index.mjs +0 -15
  65. package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/index.mjs.map +0 -1
  66. package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/lookup-data.cjs +0 -655
  67. package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/lookup-data.mjs +0 -651
  68. package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/lookup-data.mjs.map +0 -1
  69. package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/lookup.cjs +0 -48
  70. package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/lookup.mjs +0 -47
  71. package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/lookup.mjs.map +0 -1
  72. package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/utilities.cjs +0 -24
  73. package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/utilities.mjs +0 -24
  74. package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/utilities.mjs.map +0 -1
  75. package/dist/node_modules/.pnpm/he@1.2.0/node_modules/he/he.cjs +0 -4095
  76. package/dist/node_modules/.pnpm/he@1.2.0/node_modules/he/he.mjs +0 -4093
  77. package/dist/node_modules/.pnpm/he@1.2.0/node_modules/he/he.mjs.map +0 -1
  78. package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.cjs +0 -449
  79. package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.mjs +0 -450
  80. package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.mjs.map +0 -1
  81. package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.cjs +0 -47
  82. package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.mjs +0 -48
  83. package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.mjs.map +0 -1
  84. package/dist/node_modules/.pnpm/markdown-it-abbr@2.0.0/node_modules/markdown-it-abbr/index.cjs +0 -94
  85. package/dist/node_modules/.pnpm/markdown-it-abbr@2.0.0/node_modules/markdown-it-abbr/index.mjs +0 -94
  86. package/dist/node_modules/.pnpm/markdown-it-abbr@2.0.0/node_modules/markdown-it-abbr/index.mjs.map +0 -1
  87. package/dist/node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.cjs +0 -78
  88. package/dist/node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.mjs +0 -78
  89. package/dist/node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.mjs.map +0 -1
  90. package/dist/node_modules/.pnpm/markdown-it-deflist@3.0.0/node_modules/markdown-it-deflist/index.cjs +0 -123
  91. package/dist/node_modules/.pnpm/markdown-it-deflist@3.0.0/node_modules/markdown-it-deflist/index.mjs +0 -123
  92. package/dist/node_modules/.pnpm/markdown-it-deflist@3.0.0/node_modules/markdown-it-deflist/index.mjs.map +0 -1
  93. package/dist/node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.cjs +0 -246
  94. package/dist/node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.mjs +0 -244
  95. package/dist/node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.mjs.map +0 -1
  96. package/dist/node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.cjs +0 -80
  97. package/dist/node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.mjs +0 -80
  98. package/dist/node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.mjs.map +0 -1
  99. package/dist/node_modules/.pnpm/markdown-it-mark@4.0.0/node_modules/markdown-it-mark/index.cjs +0 -80
  100. package/dist/node_modules/.pnpm/markdown-it-mark@4.0.0/node_modules/markdown-it-mark/index.mjs +0 -80
  101. package/dist/node_modules/.pnpm/markdown-it-mark@4.0.0/node_modules/markdown-it-mark/index.mjs.map +0 -1
  102. package/dist/node_modules/.pnpm/markdown-it-sub@2.0.0/node_modules/markdown-it-sub/index.cjs +0 -45
  103. package/dist/node_modules/.pnpm/markdown-it-sub@2.0.0/node_modules/markdown-it-sub/index.mjs +0 -45
  104. package/dist/node_modules/.pnpm/markdown-it-sub@2.0.0/node_modules/markdown-it-sub/index.mjs.map +0 -1
  105. package/dist/node_modules/.pnpm/markdown-it-sup@2.0.0/node_modules/markdown-it-sup/index.cjs +0 -45
  106. package/dist/node_modules/.pnpm/markdown-it-sup@2.0.0/node_modules/markdown-it-sup/index.mjs +0 -45
  107. package/dist/node_modules/.pnpm/markdown-it-sup@2.0.0/node_modules/markdown-it-sup/index.mjs.map +0 -1
  108. package/dist/node_modules/.pnpm/markdown-it-task-lists@2.1.1/node_modules/markdown-it-task-lists/index.cjs +0 -94
  109. package/dist/node_modules/.pnpm/markdown-it-task-lists@2.1.1/node_modules/markdown-it-task-lists/index.mjs +0 -92
  110. package/dist/node_modules/.pnpm/markdown-it-task-lists@2.1.1/node_modules/markdown-it-task-lists/index.mjs.map +0 -1
  111. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/index.cjs +0 -1
  112. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/index.mjs +0 -3
  113. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_blocks.cjs +0 -69
  114. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_blocks.mjs +0 -69
  115. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_blocks.mjs.map +0 -1
  116. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_re.cjs +0 -9
  117. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_re.mjs +0 -8
  118. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_re.mjs.map +0 -1
  119. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/utils.cjs +0 -205
  120. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/utils.mjs +0 -189
  121. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/utils.mjs.map +0 -1
  122. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/index.cjs +0 -19
  123. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/index.mjs +0 -15
  124. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/index.mjs.map +0 -1
  125. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_destination.cjs +0 -61
  126. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs +0 -62
  127. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs.map +0 -1
  128. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_label.cjs +0 -35
  129. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_label.mjs +0 -35
  130. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_label.mjs.map +0 -1
  131. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_title.cjs +0 -43
  132. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_title.mjs +0 -44
  133. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_title.mjs.map +0 -1
  134. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/index.cjs +0 -488
  135. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/index.mjs +0 -489
  136. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/index.mjs.map +0 -1
  137. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_block.cjs +0 -148
  138. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_block.mjs +0 -149
  139. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_block.mjs.map +0 -1
  140. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_core.cjs +0 -51
  141. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_core.mjs +0 -52
  142. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_core.mjs.map +0 -1
  143. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_inline.cjs +0 -126
  144. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_inline.mjs +0 -127
  145. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_inline.mjs.map +0 -1
  146. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/commonmark.cjs +0 -57
  147. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/commonmark.mjs +0 -57
  148. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/commonmark.mjs.map +0 -1
  149. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/default.cjs +0 -23
  150. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/default.mjs +0 -23
  151. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/default.mjs.map +0 -1
  152. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/zero.cjs +0 -31
  153. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/zero.mjs +0 -31
  154. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/zero.mjs.map +0 -1
  155. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/renderer.cjs +0 -217
  156. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/renderer.mjs +0 -218
  157. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/renderer.mjs.map +0 -1
  158. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/ruler.cjs +0 -274
  159. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/ruler.mjs +0 -274
  160. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/ruler.mjs.map +0 -1
  161. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/blockquote.cjs +0 -107
  162. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/blockquote.mjs +0 -108
  163. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/blockquote.mjs.map +0 -1
  164. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/code.cjs +0 -27
  165. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/code.mjs +0 -27
  166. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/code.mjs.map +0 -1
  167. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/fence.cjs +0 -48
  168. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/fence.mjs +0 -48
  169. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/fence.mjs.map +0 -1
  170. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/heading.cjs +0 -35
  171. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/heading.mjs +0 -36
  172. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/heading.mjs.map +0 -1
  173. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/hr.cjs +0 -26
  174. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/hr.mjs +0 -27
  175. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/hr.mjs.map +0 -1
  176. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/html_block.cjs +0 -72
  177. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/html_block.mjs +0 -73
  178. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/html_block.mjs.map +0 -1
  179. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/lheading.cjs +0 -53
  180. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/lheading.mjs +0 -53
  181. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/lheading.mjs.map +0 -1
  182. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/list.cjs +0 -157
  183. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/list.mjs +0 -158
  184. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/list.mjs.map +0 -1
  185. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/paragraph.cjs +0 -32
  186. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/paragraph.mjs +0 -32
  187. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/paragraph.mjs.map +0 -1
  188. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/reference.cjs +0 -140
  189. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/reference.mjs +0 -141
  190. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/reference.mjs.map +0 -1
  191. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/state_block.cjs +0 -112
  192. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/state_block.mjs +0 -113
  193. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/state_block.mjs.map +0 -1
  194. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/table.cjs +0 -139
  195. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/table.mjs +0 -140
  196. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/table.mjs.map +0 -1
  197. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/block.cjs +0 -15
  198. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/block.mjs +0 -15
  199. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/block.mjs.map +0 -1
  200. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/inline.cjs +0 -12
  201. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/inline.mjs +0 -12
  202. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/inline.mjs.map +0 -1
  203. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/linkify.cjs +0 -81
  204. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/linkify.mjs +0 -82
  205. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/linkify.mjs.map +0 -1
  206. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/normalize.cjs +0 -13
  207. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/normalize.mjs +0 -13
  208. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/normalize.mjs.map +0 -1
  209. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/replacements.cjs +0 -45
  210. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/replacements.mjs +0 -45
  211. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/replacements.mjs.map +0 -1
  212. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/smartquotes.cjs +0 -112
  213. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/smartquotes.mjs +0 -113
  214. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/smartquotes.mjs.map +0 -1
  215. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/state_core.cjs +0 -14
  216. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/state_core.mjs +0 -15
  217. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/state_core.mjs.map +0 -1
  218. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/text_join.cjs +0 -22
  219. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/text_join.mjs +0 -22
  220. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/text_join.mjs.map +0 -1
  221. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/autolink.cjs +0 -55
  222. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/autolink.mjs +0 -55
  223. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/autolink.mjs.map +0 -1
  224. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/backticks.cjs +0 -41
  225. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/backticks.mjs +0 -41
  226. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/backticks.mjs.map +0 -1
  227. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/balance_pairs.cjs +0 -62
  228. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs +0 -62
  229. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs.map +0 -1
  230. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/emphasis.cjs +0 -64
  231. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/emphasis.mjs +0 -64
  232. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/emphasis.mjs.map +0 -1
  233. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/entity.cjs +0 -45
  234. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/entity.mjs +0 -46
  235. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/entity.mjs.map +0 -1
  236. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/escape.cjs +0 -48
  237. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/escape.mjs +0 -49
  238. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/escape.mjs.map +0 -1
  239. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/fragments_join.cjs +0 -22
  240. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/fragments_join.mjs +0 -22
  241. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/fragments_join.mjs.map +0 -1
  242. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/html_inline.cjs +0 -34
  243. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/html_inline.mjs +0 -35
  244. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/html_inline.mjs.map +0 -1
  245. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/image.cjs +0 -82
  246. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/image.mjs +0 -83
  247. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/image.mjs.map +0 -1
  248. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/link.cjs +0 -84
  249. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/link.mjs +0 -85
  250. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/link.mjs.map +0 -1
  251. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/linkify.cjs +0 -42
  252. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/linkify.mjs +0 -42
  253. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/linkify.mjs.map +0 -1
  254. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/newline.cjs +0 -26
  255. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/newline.mjs +0 -27
  256. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/newline.mjs.map +0 -1
  257. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/state_inline.cjs +0 -74
  258. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/state_inline.mjs +0 -75
  259. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/state_inline.mjs.map +0 -1
  260. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/strikethrough.cjs +0 -80
  261. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs +0 -80
  262. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs.map +0 -1
  263. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/text.cjs +0 -41
  264. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/text.mjs +0 -41
  265. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/text.mjs.map +0 -1
  266. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/token.cjs +0 -157
  267. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/token.mjs +0 -157
  268. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/token.mjs.map +0 -1
  269. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.cjs +0 -21
  270. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.mjs +0 -17
  271. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.mjs.map +0 -1
  272. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.cjs +0 -74
  273. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.mjs +0 -74
  274. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.mjs.map +0 -1
  275. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.cjs +0 -57
  276. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.mjs +0 -57
  277. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.mjs.map +0 -1
  278. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.cjs +0 -18
  279. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.mjs +0 -18
  280. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.mjs.map +0 -1
  281. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.cjs +0 -175
  282. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.mjs +0 -175
  283. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.mjs.map +0 -1
  284. package/dist/node_modules/.pnpm/normalize-html-whitespace@1.0.0/node_modules/normalize-html-whitespace/index.cjs +0 -19
  285. package/dist/node_modules/.pnpm/normalize-html-whitespace@1.0.0/node_modules/normalize-html-whitespace/index.mjs +0 -15
  286. package/dist/node_modules/.pnpm/normalize-html-whitespace@1.0.0/node_modules/normalize-html-whitespace/index.mjs.map +0 -1
  287. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/doctype.cjs +0 -104
  288. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/doctype.mjs +0 -104
  289. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/doctype.mjs.map +0 -1
  290. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/error-codes.cjs +0 -73
  291. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/error-codes.mjs +0 -68
  292. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/error-codes.mjs.map +0 -1
  293. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/foreign-content.cjs +0 -266
  294. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/foreign-content.mjs +0 -262
  295. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/foreign-content.mjs.map +0 -1
  296. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/html.cjs +0 -575
  297. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/html.mjs +0 -543
  298. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/html.mjs.map +0 -1
  299. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/token.cjs +0 -27
  300. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/token.mjs +0 -21
  301. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/token.mjs.map +0 -1
  302. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/unicode.cjs +0 -105
  303. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/unicode.mjs +0 -94
  304. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/unicode.mjs.map +0 -1
  305. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/index.cjs +0 -33
  306. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/index.mjs +0 -34
  307. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/index.mjs.map +0 -1
  308. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/formatting-element-list.cjs +0 -99
  309. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/formatting-element-list.mjs +0 -93
  310. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/formatting-element-list.mjs.map +0 -1
  311. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/index.cjs +0 -2544
  312. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/index.mjs +0 -2545
  313. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/index.mjs.map +0 -1
  314. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/open-element-stack.cjs +0 -296
  315. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/open-element-stack.mjs +0 -297
  316. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/open-element-stack.mjs.map +0 -1
  317. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/serializer/index.cjs +0 -26
  318. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/serializer/index.mjs +0 -28
  319. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/serializer/index.mjs.map +0 -1
  320. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/index.cjs +0 -2069
  321. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/index.mjs +0 -2069
  322. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/index.mjs.map +0 -1
  323. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/preprocessor.cjs +0 -156
  324. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/preprocessor.mjs +0 -157
  325. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/preprocessor.mjs.map +0 -1
  326. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tree-adapters/default.cjs +0 -166
  327. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tree-adapters/default.mjs +0 -167
  328. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tree-adapters/default.mjs.map +0 -1
  329. package/dist/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.cjs +0 -299
  330. package/dist/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.mjs +0 -295
  331. package/dist/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.mjs.map +0 -1
  332. package/dist/node_modules/.pnpm/string-width@8.2.0/node_modules/string-width/index.cjs +0 -65
  333. package/dist/node_modules/.pnpm/string-width@8.2.0/node_modules/string-width/index.mjs +0 -66
  334. package/dist/node_modules/.pnpm/string-width@8.2.0/node_modules/string-width/index.mjs.map +0 -1
  335. package/dist/node_modules/.pnpm/strip-ansi@7.2.0/node_modules/strip-ansi/index.cjs +0 -12
  336. package/dist/node_modules/.pnpm/strip-ansi@7.2.0/node_modules/strip-ansi/index.mjs +0 -13
  337. package/dist/node_modules/.pnpm/strip-ansi@7.2.0/node_modules/strip-ansi/index.mjs.map +0 -1
  338. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.cjs +0 -6
  339. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.mjs +0 -6
  340. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.mjs.map +0 -1
  341. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.cjs +0 -6
  342. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.mjs +0 -6
  343. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.mjs.map +0 -1
  344. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.cjs +0 -6
  345. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.mjs +0 -6
  346. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.mjs.map +0 -1
  347. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.cjs +0 -6
  348. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.mjs +0 -6
  349. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.mjs.map +0 -1
  350. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.cjs +0 -6
  351. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.mjs +0 -6
  352. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.mjs.map +0 -1
  353. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.cjs +0 -25
  354. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.mjs +0 -21
  355. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.mjs.map +0 -1
  356. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.cjs +0 -6
  357. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.mjs +0 -6
  358. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.mjs.map +0 -1
  359. package/dist/node_modules/.pnpm/wrap-ansi@10.0.0/node_modules/wrap-ansi/index.cjs +0 -302
  360. package/dist/node_modules/.pnpm/wrap-ansi@10.0.0/node_modules/wrap-ansi/index.mjs +0 -303
  361. package/dist/node_modules/.pnpm/wrap-ansi@10.0.0/node_modules/wrap-ansi/index.mjs.map +0 -1
  362. package/dist/packages/plugin-changelog/dist/components/changelog-command.cjs +0 -106
  363. package/dist/packages/plugin-changelog/dist/components/changelog-command.mjs +0 -106
  364. package/dist/packages/plugin-changelog/dist/components/changelog-command.mjs.map +0 -1
  365. package/dist/packages/plugin-changelog/dist/components/index.cjs +0 -1
  366. package/dist/packages/plugin-changelog/dist/components/index.mjs +0 -3
  367. package/dist/packages/plugin-changelog/dist/helpers/resolve-changelog.cjs +0 -51
  368. package/dist/packages/plugin-changelog/dist/helpers/resolve-changelog.mjs +0 -51
  369. package/dist/packages/plugin-changelog/dist/helpers/resolve-changelog.mjs.map +0 -1
  370. package/dist/packages/plugin-changelog/dist/index.cjs +0 -65
  371. package/dist/packages/plugin-changelog/dist/index.d.cts +0 -2
  372. package/dist/packages/plugin-changelog/dist/index.d.mts +0 -2
  373. package/dist/packages/plugin-changelog/dist/index.mjs +0 -64
  374. package/dist/packages/plugin-changelog/dist/index.mjs.map +0 -1
  375. package/dist/packages/plugin-changelog/dist/types/plugin.d.cts +0 -91
  376. package/dist/packages/plugin-changelog/dist/types/plugin.d.cts.map +0 -1
  377. package/dist/packages/plugin-changelog/dist/types/plugin.d.mts +0 -91
  378. package/dist/packages/plugin-changelog/dist/types/plugin.d.mts.map +0 -1
  379. package/dist/packages/unified/dist/html-DzwMMQv6.cjs +0 -612
  380. package/dist/packages/unified/dist/html-DzwMMQv6.mjs +0 -613
  381. package/dist/packages/unified/dist/html-DzwMMQv6.mjs.map +0 -1
  382. package/dist/packages/unified/dist/markdown/index.cjs +0 -1
  383. package/dist/packages/unified/dist/markdown/index.mjs +0 -3
  384. package/dist/packages/unified/dist/markdown-CLMRZZ3Y.cjs +0 -46
  385. package/dist/packages/unified/dist/markdown-CLMRZZ3Y.mjs +0 -47
  386. package/dist/packages/unified/dist/markdown-CLMRZZ3Y.mjs.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.mjs","names":[],"sources":["../../../../../../../../node_modules/.pnpm/wrap-ansi@10.0.0/node_modules/wrap-ansi/index.js"],"sourcesContent":["import stringWidth from 'string-width';\nimport stripAnsi from 'strip-ansi';\nimport ansiStyles from 'ansi-styles';\n\nconst ANSI_ESCAPE = '\\u001B';\nconst ANSI_ESCAPE_CSI = '\\u009B';\nconst ESCAPES = new Set([\n\tANSI_ESCAPE,\n\tANSI_ESCAPE_CSI,\n]);\n\nconst ANSI_ESCAPE_BELL = '\\u0007';\nconst ANSI_CSI = '[';\nconst ANSI_OSC = ']';\nconst ANSI_SGR_TERMINATOR = 'm';\nconst ANSI_SGR_RESET = 0;\nconst ANSI_SGR_RESET_FOREGROUND = 39;\nconst ANSI_SGR_RESET_BACKGROUND = 49;\nconst ANSI_SGR_RESET_UNDERLINE_COLOR = 59;\nconst ANSI_SGR_FOREGROUND_EXTENDED = 38;\nconst ANSI_SGR_BACKGROUND_EXTENDED = 48;\nconst ANSI_SGR_UNDERLINE_COLOR_EXTENDED = 58;\nconst ANSI_SGR_COLOR_MODE_256 = 5;\nconst ANSI_SGR_COLOR_MODE_RGB = 2;\nconst ANSI_ESCAPE_LINK = `${ANSI_OSC}8;;`;\nconst ANSI_ESCAPE_REGEX = new RegExp(`^\\\\u001B(?:\\\\${ANSI_CSI}(?<sgr>[0-9;]*)${ANSI_SGR_TERMINATOR}|${ANSI_ESCAPE_LINK}(?<uri>[^\\\\u0007\\\\u001B]*)(?:\\\\u0007|\\\\u001B\\\\\\\\))`);\nconst ANSI_ESCAPE_CSI_REGEX = new RegExp(`^\\\\u009B(?<sgr>[0-9;]*)${ANSI_SGR_TERMINATOR}`);\nconst ANSI_SGR_MODIFIER_CLOSE_CODES = new Set(ansiStyles.codes.values());\nANSI_SGR_MODIFIER_CLOSE_CODES.delete(ANSI_SGR_RESET);\n\nconst segmenter = new Intl.Segmenter();\nconst getGraphemes = string => Array.from(segmenter.segment(string), ({segment}) => segment);\nconst TAB_SIZE = 8;\n\nconst wrapAnsiCode = code => `${ANSI_ESCAPE}${ANSI_CSI}${code}${ANSI_SGR_TERMINATOR}`;\nconst wrapAnsiHyperlink = url => `${ANSI_ESCAPE}${ANSI_ESCAPE_LINK}${url}${ANSI_ESCAPE_BELL}`;\n\nconst getSgrTokens = sgrParameters => {\n\tconst codes = sgrParameters.split(';').map(sgrParameter => sgrParameter === '' ? ANSI_SGR_RESET : Number.parseInt(sgrParameter, 10));\n\tconst sgrTokens = [];\n\n\tfor (let index = 0; index < codes.length; index++) {\n\t\tconst code = codes[index];\n\n\t\tif (!Number.isFinite(code)) {\n\t\t\tcontinue;\n\t\t}\n\n\t\tif (\n\t\t\t(\n\t\t\t\tcode === ANSI_SGR_FOREGROUND_EXTENDED\n\t\t\t\t|| code === ANSI_SGR_BACKGROUND_EXTENDED\n\t\t\t\t|| code === ANSI_SGR_UNDERLINE_COLOR_EXTENDED\n\t\t\t)\n\t\t) {\n\t\t\tif (index + 1 >= codes.length) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tconst mode = codes[index + 1];\n\n\t\t\tif (mode === ANSI_SGR_COLOR_MODE_256 && Number.isFinite(codes[index + 2])) {\n\t\t\t\tsgrTokens.push([code, mode, codes[index + 2]]);\n\t\t\t\tindex += 2;\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tconst red = codes[index + 2];\n\t\t\tconst green = codes[index + 3];\n\t\t\tconst blue = codes[index + 4];\n\t\t\tif (\n\t\t\t\tmode === ANSI_SGR_COLOR_MODE_RGB\n\t\t\t\t&& Number.isFinite(red)\n\t\t\t\t&& Number.isFinite(green)\n\t\t\t\t&& Number.isFinite(blue)\n\t\t\t) {\n\t\t\t\tsgrTokens.push([code, mode, red, green, blue]);\n\t\t\t\tindex += 4;\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tbreak;\n\t\t}\n\n\t\tsgrTokens.push([code]);\n\t}\n\n\treturn sgrTokens;\n};\n\nconst removeActiveStyle = (activeStyles, family) => {\n\tconst activeStyleIndex = activeStyles.findIndex(activeStyle => activeStyle.family === family);\n\n\tif (activeStyleIndex !== -1) {\n\t\tactiveStyles.splice(activeStyleIndex, 1);\n\t}\n};\n\nconst upsertActiveStyle = (activeStyles, nextActiveStyle) => {\n\tremoveActiveStyle(activeStyles, nextActiveStyle.family);\n\tactiveStyles.push(nextActiveStyle);\n};\n\nconst removeModifierStylesByClose = (activeStyles, closeCode) => {\n\tfor (let index = activeStyles.length - 1; index >= 0; index--) {\n\t\tconst activeStyle = activeStyles[index];\n\t\tif (activeStyle.family.startsWith('modifier-') && activeStyle.close === closeCode) {\n\t\t\tactiveStyles.splice(index, 1);\n\t\t}\n\t}\n};\n\nconst getColorStyle = (code, sgrToken) => {\n\tif ((code >= 30 && code <= 37) || (code >= 90 && code <= 97) || (code === ANSI_SGR_FOREGROUND_EXTENDED && sgrToken.length > 1)) {\n\t\treturn {\n\t\t\tfamily: 'foreground',\n\t\t\topen: sgrToken.join(';'),\n\t\t\tclose: ANSI_SGR_RESET_FOREGROUND,\n\t\t};\n\t}\n\n\tif ((code >= 40 && code <= 47) || (code >= 100 && code <= 107) || (code === ANSI_SGR_BACKGROUND_EXTENDED && sgrToken.length > 1)) {\n\t\treturn {\n\t\t\tfamily: 'background',\n\t\t\topen: sgrToken.join(';'),\n\t\t\tclose: ANSI_SGR_RESET_BACKGROUND,\n\t\t};\n\t}\n\n\tif (code === ANSI_SGR_UNDERLINE_COLOR_EXTENDED && sgrToken.length > 1) {\n\t\treturn {\n\t\t\tfamily: 'underlineColor',\n\t\t\topen: sgrToken.join(';'),\n\t\t\tclose: ANSI_SGR_RESET_UNDERLINE_COLOR,\n\t\t};\n\t}\n};\n\nconst applySgrResetCode = (code, activeStyles) => {\n\tif (code === ANSI_SGR_RESET) {\n\t\tactiveStyles.length = 0;\n\t\treturn true;\n\t}\n\n\tif (code === ANSI_SGR_RESET_FOREGROUND) {\n\t\tremoveActiveStyle(activeStyles, 'foreground');\n\t\treturn true;\n\t}\n\n\tif (code === ANSI_SGR_RESET_BACKGROUND) {\n\t\tremoveActiveStyle(activeStyles, 'background');\n\t\treturn true;\n\t}\n\n\tif (code === ANSI_SGR_RESET_UNDERLINE_COLOR) {\n\t\tremoveActiveStyle(activeStyles, 'underlineColor');\n\t\treturn true;\n\t}\n\n\tif (ANSI_SGR_MODIFIER_CLOSE_CODES.has(code)) {\n\t\tremoveModifierStylesByClose(activeStyles, code);\n\t\treturn true;\n\t}\n\n\treturn false;\n};\n\nconst applySgrToken = (sgrToken, activeStyles) => {\n\tconst [code] = sgrToken;\n\n\tif (applySgrResetCode(code, activeStyles)) {\n\t\treturn;\n\t}\n\n\tconst colorStyle = getColorStyle(code, sgrToken);\n\tif (colorStyle) {\n\t\tupsertActiveStyle(activeStyles, colorStyle);\n\t\treturn;\n\t}\n\n\tconst close = ansiStyles.codes.get(code);\n\tif (close !== undefined && close !== ANSI_SGR_RESET) {\n\t\tupsertActiveStyle(activeStyles, {\n\t\t\tfamily: `modifier-${code}`,\n\t\t\topen: sgrToken.join(';'),\n\t\t\tclose,\n\t\t});\n\t}\n};\n\nconst applySgrParameters = (sgrParameters, activeStyles) => {\n\tfor (const sgrToken of getSgrTokens(sgrParameters)) {\n\t\tapplySgrToken(sgrToken, activeStyles);\n\t}\n};\n\nconst applySgrResets = (sgrParameters, activeStyles) => {\n\tfor (const sgrToken of getSgrTokens(sgrParameters)) {\n\t\tconst [code] = sgrToken;\n\t\tapplySgrResetCode(code, activeStyles);\n\t}\n};\n\nconst applyLeadingSgrResets = (string, activeStyles) => {\n\tlet remainder = string;\n\n\twhile (remainder.length > 0) {\n\t\tif (remainder.startsWith(ANSI_ESCAPE) && remainder[1] !== '\\\\') {\n\t\t\tconst match = ANSI_ESCAPE_REGEX.exec(remainder);\n\t\t\tif (!match) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif (match.groups.sgr !== undefined) {\n\t\t\t\tapplySgrResets(match.groups.sgr, activeStyles);\n\t\t\t}\n\n\t\t\tremainder = remainder.slice(match[0].length);\n\t\t\tcontinue;\n\t\t}\n\n\t\tif (remainder.startsWith(ANSI_ESCAPE_CSI)) {\n\t\t\tconst match = ANSI_ESCAPE_CSI_REGEX.exec(remainder);\n\t\t\tif (!match || match.groups.sgr === undefined) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tapplySgrResets(match.groups.sgr, activeStyles);\n\t\t\tremainder = remainder.slice(match[0].length);\n\t\t\tcontinue;\n\t\t}\n\n\t\tbreak;\n\t}\n};\n\nconst getClosingSgrSequence = activeStyles => [...activeStyles].reverse().map(activeStyle => wrapAnsiCode(activeStyle.close)).join('');\nconst getOpeningSgrSequence = activeStyles => activeStyles.map(activeStyle => wrapAnsiCode(activeStyle.open)).join('');\n\n// Calculate the length of words split on ' ', ignoring\n// the extra characters added by ANSI escape codes\nconst wordLengths = string => string.split(' ').map(word => stringWidth(word));\n\n// Wrap a long word across multiple rows\n// ANSI escape codes do not count towards length\nconst wrapWord = (rows, word, columns) => {\n\tconst characters = getGraphemes(word);\n\n\tlet isInsideEscape = false;\n\tlet isInsideLinkEscape = false;\n\tlet visible = stringWidth(stripAnsi(rows.at(-1)));\n\n\tfor (const [index, character] of characters.entries()) {\n\t\tconst characterLength = stringWidth(character);\n\n\t\tif (visible + characterLength <= columns) {\n\t\t\trows[rows.length - 1] += character;\n\t\t} else {\n\t\t\trows.push(character);\n\t\t\tvisible = 0;\n\t\t}\n\n\t\tif (ESCAPES.has(character) && !(isInsideLinkEscape && character === ANSI_ESCAPE && characters[index + 1] === '\\\\')) {\n\t\t\tisInsideEscape = true;\n\n\t\t\tconst ansiEscapeLinkCandidate = characters.slice(index + 1, index + 1 + ANSI_ESCAPE_LINK.length).join('');\n\t\t\tisInsideLinkEscape = ansiEscapeLinkCandidate === ANSI_ESCAPE_LINK;\n\t\t}\n\n\t\tif (isInsideEscape) {\n\t\t\tif (isInsideLinkEscape) {\n\t\t\t\tif (\n\t\t\t\t\tcharacter === ANSI_ESCAPE_BELL\n\t\t\t\t\t|| (character === '\\\\' && index > 0 && characters[index - 1] === ANSI_ESCAPE) // ST terminator (ESC \\)\n\t\t\t\t) {\n\t\t\t\t\tisInsideEscape = false;\n\t\t\t\t\tisInsideLinkEscape = false;\n\t\t\t\t}\n\t\t\t} else if (character === ANSI_SGR_TERMINATOR) {\n\t\t\t\tisInsideEscape = false;\n\t\t\t}\n\n\t\t\tcontinue;\n\t\t}\n\n\t\tvisible += characterLength;\n\n\t\tif (visible === columns && index < characters.length - 1) {\n\t\t\trows.push('');\n\t\t\tvisible = 0;\n\t\t}\n\t}\n\n\t// It's possible that the last row we copy over is only\n\t// ANSI escape characters, handle this edge-case\n\tif (!visible && rows.at(-1).length > 0 && rows.length > 1) {\n\t\trows[rows.length - 2] += rows.pop();\n\t}\n};\n\n// Trims spaces from a string ignoring invisible sequences\nconst stringVisibleTrimSpacesRight = string => {\n\tconst words = string.split(' ');\n\tlet last = words.length;\n\n\twhile (last > 0) {\n\t\tif (stringWidth(words[last - 1]) > 0) {\n\t\t\tbreak;\n\t\t}\n\n\t\tlast--;\n\t}\n\n\tif (last === words.length) {\n\t\treturn string;\n\t}\n\n\treturn words.slice(0, last).join(' ') + words.slice(last).join('');\n};\n\nconst expandTabs = line => {\n\tif (!line.includes('\\t')) {\n\t\treturn line;\n\t}\n\n\tconst segments = line.split('\\t');\n\tlet visible = 0;\n\tlet expandedLine = '';\n\n\tfor (const [index, segment] of segments.entries()) {\n\t\texpandedLine += segment;\n\t\tvisible += stringWidth(segment);\n\n\t\tif (index < segments.length - 1) {\n\t\t\tconst spaces = TAB_SIZE - (visible % TAB_SIZE);\n\t\t\texpandedLine += ' '.repeat(spaces);\n\t\t\tvisible += spaces;\n\t\t}\n\t}\n\n\treturn expandedLine;\n};\n\n// The wrap-ansi module can be invoked in either 'hard' or 'soft' wrap mode.\n//\n// 'hard' will never allow a string to take up more than columns characters.\n//\n// 'soft' allows long words to expand past the column length.\nconst exec = (string, columns, options = {}) => {\n\tif (options.trim !== false && string.trim() === '') {\n\t\treturn '';\n\t}\n\n\tlet returnValue = '';\n\tlet escapeUrl;\n\tconst activeStyles = [];\n\n\tconst lengths = wordLengths(string);\n\tlet rows = [''];\n\n\tfor (const [index, word] of string.split(' ').entries()) {\n\t\tif (options.trim !== false) {\n\t\t\trows[rows.length - 1] = rows.at(-1).trimStart();\n\t\t}\n\n\t\tlet rowLength = stringWidth(rows.at(-1));\n\n\t\tif (index !== 0) {\n\t\t\tif (rowLength >= columns && (options.wordWrap === false || options.trim === false)) {\n\t\t\t\t// If we start with a new word but the current row length equals the length of the columns, add a new row\n\t\t\t\trows.push('');\n\t\t\t\trowLength = 0;\n\t\t\t}\n\n\t\t\tif (rowLength > 0 || options.trim === false) {\n\t\t\t\trows[rows.length - 1] += ' ';\n\t\t\t\trowLength++;\n\t\t\t}\n\t\t}\n\n\t\t// In 'hard' wrap mode, the length of a line is never allowed to extend past 'columns'\n\t\tif (options.hard && options.wordWrap !== false && lengths[index] > columns) {\n\t\t\tconst remainingColumns = columns - rowLength;\n\t\t\tconst breaksStartingThisLine = 1 + Math.floor((lengths[index] - remainingColumns - 1) / columns);\n\t\t\tconst breaksStartingNextLine = Math.floor((lengths[index] - 1) / columns);\n\t\t\tif (breaksStartingNextLine < breaksStartingThisLine) {\n\t\t\t\trows.push('');\n\t\t\t}\n\n\t\t\twrapWord(rows, word, columns);\n\t\t\tcontinue;\n\t\t}\n\n\t\tif (rowLength + lengths[index] > columns && rowLength > 0 && lengths[index] > 0) {\n\t\t\tif (options.wordWrap === false && rowLength < columns) {\n\t\t\t\twrapWord(rows, word, columns);\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\trows.push('');\n\t\t}\n\n\t\tif (rowLength + lengths[index] > columns && options.wordWrap === false) {\n\t\t\twrapWord(rows, word, columns);\n\t\t\tcontinue;\n\t\t}\n\n\t\trows[rows.length - 1] += word;\n\t}\n\n\tif (options.trim !== false) {\n\t\trows = rows.map(row => stringVisibleTrimSpacesRight(row));\n\t}\n\n\tconst preString = rows.join('\\n');\n\tconst pre = getGraphemes(preString);\n\n\t// We need to keep a separate index as `String#slice()` works on Unicode code units, while `pre` is an array of grapheme clusters.\n\tlet preStringIndex = 0;\n\n\tfor (const [index, character] of pre.entries()) {\n\t\treturnValue += character;\n\n\t\tif (character === ANSI_ESCAPE && pre[index + 1] !== '\\\\') {\n\t\t\tconst {groups} = ANSI_ESCAPE_REGEX.exec(preString.slice(preStringIndex)) || {groups: {}};\n\t\t\tif (groups.sgr !== undefined) {\n\t\t\t\tapplySgrParameters(groups.sgr, activeStyles);\n\t\t\t} else if (groups.uri !== undefined) {\n\t\t\t\tescapeUrl = groups.uri.length === 0 ? undefined : groups.uri;\n\t\t\t}\n\t\t} else if (character === ANSI_ESCAPE_CSI) {\n\t\t\tconst {groups} = ANSI_ESCAPE_CSI_REGEX.exec(preString.slice(preStringIndex)) || {groups: {}};\n\t\t\tif (groups.sgr !== undefined) {\n\t\t\t\tapplySgrParameters(groups.sgr, activeStyles);\n\t\t\t}\n\t\t}\n\n\t\tif (pre[index + 1] === '\\n') {\n\t\t\tif (escapeUrl) {\n\t\t\t\treturnValue += wrapAnsiHyperlink('');\n\t\t\t}\n\n\t\t\treturnValue += getClosingSgrSequence(activeStyles);\n\t\t} else if (character === '\\n') {\n\t\t\tconst openingStyles = [...activeStyles];\n\t\t\tapplyLeadingSgrResets(preString.slice(preStringIndex + 1), openingStyles);\n\t\t\treturnValue += getOpeningSgrSequence(openingStyles);\n\n\t\t\tif (escapeUrl) {\n\t\t\t\treturnValue += wrapAnsiHyperlink(escapeUrl);\n\t\t\t}\n\t\t}\n\n\t\tpreStringIndex += character.length;\n\t}\n\n\treturn returnValue;\n};\n\n// For each newline, invoke the method separately\nexport default function wrapAnsi(string, columns, options) {\n\treturn String(string)\n\t\t.normalize()\n\t\t.replaceAll('\\r\\n', '\\n')\n\t\t.split('\\n')\n\t\t.map(line => exec(expandTabs(line), columns, options))\n\t\t.join('\\n');\n}\n"],"x_google_ignoreList":[0],"mappings":";;;;;AAIA,MAAM,cAAc;AACpB,MAAM,kBAAkB;AACxB,MAAM,UAAU,IAAI,IAAI,CACvB,aACA,gBACA,CAAC;AAEF,MAAM,mBAAmB;AACzB,MAAM,WAAW;AACjB,MAAM,WAAW;AACjB,MAAM,sBAAsB;AAC5B,MAAM,iBAAiB;AACvB,MAAM,4BAA4B;AAClC,MAAM,4BAA4B;AAClC,MAAM,iCAAiC;AACvC,MAAM,+BAA+B;AACrC,MAAM,+BAA+B;AACrC,MAAM,oCAAoC;AAC1C,MAAM,0BAA0B;AAChC,MAAM,0BAA0B;AAChC,MAAM,mBAAmB,GAAG,SAAS;AACrC,MAAM,oBAAoB,IAAI,OAAO,gBAAgB,SAAS,iBAAiB,oBAAoB,GAAG,iBAAiB,oDAAoD;AAC3K,MAAM,wBAAwB,IAAI,OAAO,0BAA0B,sBAAsB;AACzF,MAAM,gCAAgC,IAAI,IAAI,WAAW,MAAM,QAAQ,CAAC;AACxE,8BAA8B,OAAO,eAAe;AAEpD,MAAM,YAAY,IAAI,KAAK,WAAW;AACtC,MAAM,gBAAe,WAAU,MA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I,UACH,gBAAe,kBAAkB,GAAG;AAGrC,kBAAe,sBAAsB,aAAa;aACxC,cAAc,MAAM;GAC9B,MAAM,gBAAgB,CAAC,GAAG,aAAa;AACvC,yBAAsB,UAAU,MAAM,iBAAiB,EAAE,EAAE,cAAc;AACzE,kBAAe,sBAAsB,cAAc;AAEnD,OAAI,UACH,gBAAe,kBAAkB,UAAU;;AAI7C,oBAAkB,UAAU;;AAG7B,QAAO;;AAIR,SAAwB,SAAS,QAAQ,SAAS,SAAS;AAC1D,QAAO,OAAO,OAAO,CACnB,WAAW,CACX,WAAW,QAAQ,KAAK,CACxB,MAAM,KAAK,CACX,KAAI,SAAQ,KAAK,WAAW,KAAK,EAAE,SAAS,QAAQ,CAAC,CACrD,KAAK,KAAK"}
@@ -1,106 +0,0 @@
1
- const require_runtime = require('../../../../_virtual/_rolldown/runtime.cjs');
2
- let _alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
3
- let _alloy_js_core = require("@alloy-js/core");
4
- let _alloy_js_typescript = require("@alloy-js/typescript");
5
- let _shell_shock_core_plugin_utils = require("@shell-shock/core/plugin-utils");
6
- let _stryke_type_checks_is_set_string = require("@stryke/type-checks/is-set-string");
7
- let _powerlines_deepkit_vendor_type = require("@powerlines/deepkit/vendor/type");
8
- let _powerlines_plugin_alloy_core = require("@powerlines/plugin-alloy/core");
9
- let _powerlines_plugin_alloy_core_contexts_context = require("@powerlines/plugin-alloy/core/contexts/context");
10
- let _powerlines_plugin_alloy_typescript = require("@powerlines/plugin-alloy/typescript");
11
- let _powerlines_plugin_alloy_typescript_components_tsdoc = require("@powerlines/plugin-alloy/typescript/components/tsdoc");
12
- let _stryke_path = require("@stryke/path");
13
-
14
- //#region ../plugin-changelog/dist/components/changelog-command.mjs
15
- /**
16
- * The Changelog command's handler wrapper for the Shell Shock project.
17
- */
18
- function ChangelogCommand({ changelog }) {
19
- const context = (0, _powerlines_plugin_alloy_core_contexts_context.usePowerlines)();
20
- return (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.TypescriptFile, {
21
- get path() {
22
- return (0, _stryke_path.joinPaths)(context.entryPath, "changelog", "command.ts");
23
- },
24
- imports: {
25
- "node:os": "os",
26
- "node:fs/promises": ["readFile", "writeFile"]
27
- },
28
- builtinImports: { console: [
29
- "textColors",
30
- "bold",
31
- "writeLine",
32
- "error",
33
- "warn"
34
- ] },
35
- get children() {
36
- return [
37
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript_components_tsdoc.TSDoc, { heading: "Options for the Changelog command." }),
38
- (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.InterfaceDeclaration, {
39
- "export": true,
40
- name: "ChangelogOptions",
41
- get children() {
42
- return [
43
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript_components_tsdoc.TSDoc, { heading: "An optional starting version for the changelog. The command will attempt to display changes starting from the specified version. The version should be a valid semantic version string. If not specified, the changelog will start from the earliest version available." }),
44
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.InterfaceMember, {
45
- name: "start",
46
- optional: true,
47
- type: "string"
48
- }),
49
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core.Spacing, {}),
50
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript_components_tsdoc.TSDoc, {
51
- heading: "An optional ending version for the changelog. The command will attempt to display changes up to the specified version. The version should be a valid semantic version string. If not specified, the changelog will display changes up to the latest version available.",
52
- get children() {
53
- return (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript_components_tsdoc.TSDocDefaultValue, {
54
- get type() {
55
- return _powerlines_deepkit_vendor_type.ReflectionKind.string;
56
- },
57
- defaultValue: "latest"
58
- });
59
- }
60
- }),
61
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.InterfaceMember, {
62
- name: "end",
63
- optional: true,
64
- type: "string"
65
- })
66
- ];
67
- }
68
- }),
69
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core.Spacing, {}),
70
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript_components_tsdoc.TSDoc, {
71
- get heading() {
72
- return `Display the ${(0, _shell_shock_core_plugin_utils.getAppTitle)(context)} changelog.`;
73
- },
74
- get children() {
75
- return (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript_components_tsdoc.TSDocParam, {
76
- name: "options",
77
- children: _alloy_js_core.code`An object containing options for displaying the changelog.`
78
- });
79
- }
80
- }),
81
- (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.FunctionDeclaration, {
82
- "export": true,
83
- "default": true,
84
- async: true,
85
- name: "handler",
86
- parameters: [{
87
- name: "options",
88
- type: "ChangelogOptions"
89
- }],
90
- get children() {
91
- return (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
92
- get when() {
93
- return (0, _stryke_type_checks_is_set_string.isSetString)(changelog);
94
- },
95
- fallback: _alloy_js_core.code` return warn("There is no changelog available for display."); `,
96
- children: changelog
97
- });
98
- }
99
- })
100
- ];
101
- }
102
- });
103
- }
104
-
105
- //#endregion
106
- exports.ChangelogCommand = ChangelogCommand;
@@ -1,106 +0,0 @@
1
- import { createComponent } from "@alloy-js/core/jsx-runtime";
2
- import { Show, code } from "@alloy-js/core";
3
- import { FunctionDeclaration, InterfaceDeclaration } from "@alloy-js/typescript";
4
- import { getAppTitle } from "@shell-shock/core/plugin-utils";
5
- import { isSetString } from "@stryke/type-checks/is-set-string";
6
- import { ReflectionKind } from "@powerlines/deepkit/vendor/type";
7
- import { Spacing } from "@powerlines/plugin-alloy/core";
8
- import { usePowerlines } from "@powerlines/plugin-alloy/core/contexts/context";
9
- import { InterfaceMember, TypescriptFile } from "@powerlines/plugin-alloy/typescript";
10
- import { TSDoc, TSDocDefaultValue, TSDocParam } from "@powerlines/plugin-alloy/typescript/components/tsdoc";
11
- import { joinPaths } from "@stryke/path";
12
-
13
- //#region ../plugin-changelog/dist/components/changelog-command.mjs
14
- /**
15
- * The Changelog command's handler wrapper for the Shell Shock project.
16
- */
17
- function ChangelogCommand({ changelog }) {
18
- const context = usePowerlines();
19
- return createComponent(TypescriptFile, {
20
- get path() {
21
- return joinPaths(context.entryPath, "changelog", "command.ts");
22
- },
23
- imports: {
24
- "node:os": "os",
25
- "node:fs/promises": ["readFile", "writeFile"]
26
- },
27
- builtinImports: { console: [
28
- "textColors",
29
- "bold",
30
- "writeLine",
31
- "error",
32
- "warn"
33
- ] },
34
- get children() {
35
- return [
36
- createComponent(TSDoc, { heading: "Options for the Changelog command." }),
37
- createComponent(InterfaceDeclaration, {
38
- "export": true,
39
- name: "ChangelogOptions",
40
- get children() {
41
- return [
42
- createComponent(TSDoc, { heading: "An optional starting version for the changelog. The command will attempt to display changes starting from the specified version. The version should be a valid semantic version string. If not specified, the changelog will start from the earliest version available." }),
43
- createComponent(InterfaceMember, {
44
- name: "start",
45
- optional: true,
46
- type: "string"
47
- }),
48
- createComponent(Spacing, {}),
49
- createComponent(TSDoc, {
50
- heading: "An optional ending version for the changelog. The command will attempt to display changes up to the specified version. The version should be a valid semantic version string. If not specified, the changelog will display changes up to the latest version available.",
51
- get children() {
52
- return createComponent(TSDocDefaultValue, {
53
- get type() {
54
- return ReflectionKind.string;
55
- },
56
- defaultValue: "latest"
57
- });
58
- }
59
- }),
60
- createComponent(InterfaceMember, {
61
- name: "end",
62
- optional: true,
63
- type: "string"
64
- })
65
- ];
66
- }
67
- }),
68
- createComponent(Spacing, {}),
69
- createComponent(TSDoc, {
70
- get heading() {
71
- return `Display the ${getAppTitle(context)} changelog.`;
72
- },
73
- get children() {
74
- return createComponent(TSDocParam, {
75
- name: "options",
76
- children: code`An object containing options for displaying the changelog.`
77
- });
78
- }
79
- }),
80
- createComponent(FunctionDeclaration, {
81
- "export": true,
82
- "default": true,
83
- async: true,
84
- name: "handler",
85
- parameters: [{
86
- name: "options",
87
- type: "ChangelogOptions"
88
- }],
89
- get children() {
90
- return createComponent(Show, {
91
- get when() {
92
- return isSetString(changelog);
93
- },
94
- fallback: code` return warn("There is no changelog available for display."); `,
95
- children: changelog
96
- });
97
- }
98
- })
99
- ];
100
- }
101
- });
102
- }
103
-
104
- //#endregion
105
- export { ChangelogCommand };
106
- //# sourceMappingURL=changelog-command.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"changelog-command.mjs","names":[],"sources":["../../../../../../plugin-changelog/dist/components/changelog-command.mjs"],"sourcesContent":["import { createComponent } from \"@alloy-js/core/jsx-runtime\";\nimport { getAppTitle } from \"@shell-shock/core/plugin-utils\";\nimport { isSetString } from \"@stryke/type-checks/is-set-string\";\nimport { Show, code } from \"@alloy-js/core\";\nimport { FunctionDeclaration, InterfaceDeclaration } from \"@alloy-js/typescript\";\nimport { ReflectionKind } from \"@powerlines/deepkit/vendor/type\";\nimport { Spacing } from \"@powerlines/plugin-alloy/core\";\nimport { usePowerlines } from \"@powerlines/plugin-alloy/core/contexts/context\";\nimport { InterfaceMember, TypescriptFile } from \"@powerlines/plugin-alloy/typescript\";\nimport { TSDoc, TSDocDefaultValue, TSDocParam } from \"@powerlines/plugin-alloy/typescript/components/tsdoc\";\nimport { joinPaths } from \"@stryke/path\";\n\n//#region src/components/changelog-command.tsx\n/**\n* The Changelog command's handler wrapper for the Shell Shock project.\n*/\nfunction ChangelogCommand({ changelog }) {\n\tconst context = usePowerlines();\n\treturn createComponent(TypescriptFile, {\n\t\tget path() {\n\t\t\treturn joinPaths(context.entryPath, \"changelog\", \"command.ts\");\n\t\t},\n\t\timports: {\n\t\t\t\"node:os\": \"os\",\n\t\t\t\"node:fs/promises\": [\"readFile\", \"writeFile\"]\n\t\t},\n\t\tbuiltinImports: { console: [\n\t\t\t\"textColors\",\n\t\t\t\"bold\",\n\t\t\t\"writeLine\",\n\t\t\t\"error\",\n\t\t\t\"warn\"\n\t\t] },\n\t\tget children() {\n\t\t\treturn [\n\t\t\t\tcreateComponent(TSDoc, { heading: \"Options for the Changelog command.\" }),\n\t\t\t\tcreateComponent(InterfaceDeclaration, {\n\t\t\t\t\t\"export\": true,\n\t\t\t\t\tname: \"ChangelogOptions\",\n\t\t\t\t\tget children() {\n\t\t\t\t\t\treturn [\n\t\t\t\t\t\t\tcreateComponent(TSDoc, { heading: \"An optional starting version for the changelog. The command will attempt to display changes starting from the specified version. The version should be a valid semantic version string. If not specified, the changelog will start from the earliest version available.\" }),\n\t\t\t\t\t\t\tcreateComponent(InterfaceMember, {\n\t\t\t\t\t\t\t\tname: \"start\",\n\t\t\t\t\t\t\t\toptional: true,\n\t\t\t\t\t\t\t\ttype: \"string\"\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\tcreateComponent(Spacing, {}),\n\t\t\t\t\t\t\tcreateComponent(TSDoc, {\n\t\t\t\t\t\t\t\theading: \"An optional ending version for the changelog. The command will attempt to display changes up to the specified version. The version should be a valid semantic version string. If not specified, the changelog will display changes up to the latest version available.\",\n\t\t\t\t\t\t\t\tget children() {\n\t\t\t\t\t\t\t\t\treturn createComponent(TSDocDefaultValue, {\n\t\t\t\t\t\t\t\t\t\tget type() {\n\t\t\t\t\t\t\t\t\t\t\treturn ReflectionKind.string;\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\tdefaultValue: \"latest\"\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\tcreateComponent(InterfaceMember, {\n\t\t\t\t\t\t\t\tname: \"end\",\n\t\t\t\t\t\t\t\toptional: true,\n\t\t\t\t\t\t\t\ttype: \"string\"\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t];\n\t\t\t\t\t}\n\t\t\t\t}),\n\t\t\t\tcreateComponent(Spacing, {}),\n\t\t\t\tcreateComponent(TSDoc, {\n\t\t\t\t\tget heading() {\n\t\t\t\t\t\treturn `Display the ${getAppTitle(context)} changelog.`;\n\t\t\t\t\t},\n\t\t\t\t\tget children() {\n\t\t\t\t\t\treturn createComponent(TSDocParam, {\n\t\t\t\t\t\t\tname: \"options\",\n\t\t\t\t\t\t\tchildren: code`An object containing options for displaying the changelog.`\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t}),\n\t\t\t\tcreateComponent(FunctionDeclaration, {\n\t\t\t\t\t\"export\": true,\n\t\t\t\t\t\"default\": true,\n\t\t\t\t\tasync: true,\n\t\t\t\t\tname: \"handler\",\n\t\t\t\t\tparameters: [{\n\t\t\t\t\t\tname: \"options\",\n\t\t\t\t\t\ttype: \"ChangelogOptions\"\n\t\t\t\t\t}],\n\t\t\t\t\tget children() {\n\t\t\t\t\t\treturn createComponent(Show, {\n\t\t\t\t\t\t\tget when() {\n\t\t\t\t\t\t\t\treturn isSetString(changelog);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfallback: code` return warn(\"There is no changelog available for display.\"); `,\n\t\t\t\t\t\t\tchildren: changelog\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t];\n\t\t}\n\t});\n}\n\n//#endregion\nexport { ChangelogCommand };\n//# sourceMappingURL=changelog-command.mjs.map"],"mappings":";;;;;;;;;;;;;;;;AAgBA,SAAS,iBAAiB,EAAE,aAAa;CACxC,MAAM,UAAU,eAAe;AAC/B,QAAO,gBAAgB,gBAAgB;EACtC,IAAI,OAAO;AACV,UAAO,UAAU,QAAQ,WAAW,aAAa,aAAa;;EAE/D,SAAS;GACR,WAAW;GACX,oBAAoB,CAAC,YAAY,YAAY;GAC7C;EACD,gBAAgB,EAAE,SAAS;GAC1B;GACA;GACA;GACA;GACA;GACA,EAAE;EACH,IAAI,WAAW;AACd,UAAO;IACN,gBAAgB,OAAO,EAAE,SAAS,sCAAsC,CAAC;IACzE,gBAAgB,sBAAsB;KACrC,UAAU;KACV,MAAM;KACN,IAAI,WAAW;AACd,aAAO;OACN,gBAAgB,OAAO,EAAE,SAAS,2QAA2Q,CAAC;OAC9S,gBAAgB,iBAAiB;QAChC,MAAM;QACN,UAAU;QACV,MAAM;QACN,CAAC;OACF,gBAAgB,SAAS,EAAE,CAAC;OAC5B,gBAAgB,OAAO;QACtB,SAAS;QACT,IAAI,WAAW;AACd,gBAAO,gBAAgB,mBAAmB;UACzC,IAAI,OAAO;AACV,kBAAO,eAAe;;UAEvB,cAAc;UACd,CAAC;;QAEH,CAAC;OACF,gBAAgB,iBAAiB;QAChC,MAAM;QACN,UAAU;QACV,MAAM;QACN,CAAC;OACF;;KAEF,CAAC;IACF,gBAAgB,SAAS,EAAE,CAAC;IAC5B,gBAAgB,OAAO;KACtB,IAAI,UAAU;AACb,aAAO,eAAe,YAAY,QAAQ,CAAC;;KAE5C,IAAI,WAAW;AACd,aAAO,gBAAgB,YAAY;OAClC,MAAM;OACN,UAAU,IAAI;OACd,CAAC;;KAEH,CAAC;IACF,gBAAgB,qBAAqB;KACpC,UAAU;KACV,WAAW;KACX,OAAO;KACP,MAAM;KACN,YAAY,CAAC;MACZ,MAAM;MACN,MAAM;MACN,CAAC;KACF,IAAI,WAAW;AACd,aAAO,gBAAgB,MAAM;OAC5B,IAAI,OAAO;AACV,eAAO,YAAY,UAAU;;OAE9B,UAAU,IAAI;OACd,UAAU;OACV,CAAC;;KAEH,CAAC;IACF;;EAEF,CAAC"}
@@ -1 +0,0 @@
1
- const require_changelog_command = require('./changelog-command.cjs');
@@ -1,3 +0,0 @@
1
- import { ChangelogCommand } from "./changelog-command.mjs";
2
-
3
- export { };
@@ -1,51 +0,0 @@
1
- const require_runtime = require('../../../../_virtual/_rolldown/runtime.cjs');
2
- let _stryke_path = require("@stryke/path");
3
- let _stryke_path_join = require("@stryke/path/join");
4
- let powerlines_plugin_utils = require("powerlines/plugin-utils");
5
- let node_fs = require("node:fs");
6
-
7
- //#region ../plugin-changelog/dist/helpers/resolve-changelog.mjs
8
- const CHANGELOG_FILE_EXTENSIONS = [
9
- "md",
10
- "markdown",
11
- "txt"
12
- ];
13
- const CHANGELOG_FILE_NAMES = [
14
- "CHANGELOG",
15
- "changelog",
16
- "Changelog",
17
- "RELEASE-NOTES",
18
- "release-notes",
19
- "Release-Notes",
20
- "RELEASE_NOTES",
21
- "release_notes",
22
- "Release_Notes",
23
- "RELEASES",
24
- "releases",
25
- "Releases",
26
- "HISTORY",
27
- "history",
28
- "History"
29
- ];
30
- function resolveChangelogFile(context, fileName) {
31
- for (const ext of CHANGELOG_FILE_EXTENSIONS) if (fileName && (0, node_fs.existsSync)((0, powerlines_plugin_utils.replacePathTokens)(context, (0, _stryke_path_join.joinPaths)("{root}", (0, _stryke_path.appendExtension)(fileName, ext))))) return (0, _stryke_path_join.joinPaths)("{root}", (0, _stryke_path.appendExtension)(fileName, ext));
32
- }
33
- /**
34
- * Resolves the path to the changelog file based on the provided options and context. If a specific file is provided in the options, it will attempt to resolve that file first. If not, it will look for common changelog file names in the application's root directory.
35
- *
36
- * @param context - The unresolved context of the plugin, which includes information about the application's root directory and other relevant data for resolving paths.
37
- * @param options - The options provided for the changelog plugin, which may include a specific file name to look for.
38
- * @returns The resolved path to the changelog file if found, or undefined if no valid changelog file could be resolved.
39
- */
40
- function resolveChangelog(context, options) {
41
- let changelogFile = resolveChangelogFile(context, options.file);
42
- if (changelogFile) return changelogFile;
43
- for (const name of CHANGELOG_FILE_NAMES) {
44
- changelogFile = resolveChangelogFile(context, name);
45
- if (changelogFile) return changelogFile;
46
- }
47
- return changelogFile;
48
- }
49
-
50
- //#endregion
51
- exports.resolveChangelog = resolveChangelog;
@@ -1,51 +0,0 @@
1
- import { appendExtension } from "@stryke/path";
2
- import { joinPaths as joinPaths$1 } from "@stryke/path/join";
3
- import { replacePathTokens } from "powerlines/plugin-utils";
4
- import { existsSync } from "node:fs";
5
-
6
- //#region ../plugin-changelog/dist/helpers/resolve-changelog.mjs
7
- const CHANGELOG_FILE_EXTENSIONS = [
8
- "md",
9
- "markdown",
10
- "txt"
11
- ];
12
- const CHANGELOG_FILE_NAMES = [
13
- "CHANGELOG",
14
- "changelog",
15
- "Changelog",
16
- "RELEASE-NOTES",
17
- "release-notes",
18
- "Release-Notes",
19
- "RELEASE_NOTES",
20
- "release_notes",
21
- "Release_Notes",
22
- "RELEASES",
23
- "releases",
24
- "Releases",
25
- "HISTORY",
26
- "history",
27
- "History"
28
- ];
29
- function resolveChangelogFile(context, fileName) {
30
- for (const ext of CHANGELOG_FILE_EXTENSIONS) if (fileName && existsSync(replacePathTokens(context, joinPaths$1("{root}", appendExtension(fileName, ext))))) return joinPaths$1("{root}", appendExtension(fileName, ext));
31
- }
32
- /**
33
- * Resolves the path to the changelog file based on the provided options and context. If a specific file is provided in the options, it will attempt to resolve that file first. If not, it will look for common changelog file names in the application's root directory.
34
- *
35
- * @param context - The unresolved context of the plugin, which includes information about the application's root directory and other relevant data for resolving paths.
36
- * @param options - The options provided for the changelog plugin, which may include a specific file name to look for.
37
- * @returns The resolved path to the changelog file if found, or undefined if no valid changelog file could be resolved.
38
- */
39
- function resolveChangelog(context, options) {
40
- let changelogFile = resolveChangelogFile(context, options.file);
41
- if (changelogFile) return changelogFile;
42
- for (const name of CHANGELOG_FILE_NAMES) {
43
- changelogFile = resolveChangelogFile(context, name);
44
- if (changelogFile) return changelogFile;
45
- }
46
- return changelogFile;
47
- }
48
-
49
- //#endregion
50
- export { resolveChangelog };
51
- //# sourceMappingURL=resolve-changelog.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"resolve-changelog.mjs","names":["joinPaths"],"sources":["../../../../../../plugin-changelog/dist/helpers/resolve-changelog.mjs"],"sourcesContent":["import { joinPaths } from \"@stryke/path/join\";\nimport { replacePathTokens } from \"powerlines/plugin-utils\";\nimport { appendExtension } from \"@stryke/path\";\nimport { existsSync } from \"node:fs\";\n\n//#region src/helpers/resolve-changelog.ts\nconst CHANGELOG_FILE_EXTENSIONS = [\n\t\"md\",\n\t\"markdown\",\n\t\"txt\"\n];\nconst CHANGELOG_FILE_NAMES = [\n\t\"CHANGELOG\",\n\t\"changelog\",\n\t\"Changelog\",\n\t\"RELEASE-NOTES\",\n\t\"release-notes\",\n\t\"Release-Notes\",\n\t\"RELEASE_NOTES\",\n\t\"release_notes\",\n\t\"Release_Notes\",\n\t\"RELEASES\",\n\t\"releases\",\n\t\"Releases\",\n\t\"HISTORY\",\n\t\"history\",\n\t\"History\"\n];\nfunction resolveChangelogFile(context, fileName) {\n\tfor (const ext of CHANGELOG_FILE_EXTENSIONS) if (fileName && existsSync(replacePathTokens(context, joinPaths(\"{root}\", appendExtension(fileName, ext))))) return joinPaths(\"{root}\", appendExtension(fileName, ext));\n}\n/**\n* Resolves the path to the changelog file based on the provided options and context. If a specific file is provided in the options, it will attempt to resolve that file first. If not, it will look for common changelog file names in the application's root directory.\n*\n* @param context - The unresolved context of the plugin, which includes information about the application's root directory and other relevant data for resolving paths.\n* @param options - The options provided for the changelog plugin, which may include a specific file name to look for.\n* @returns The resolved path to the changelog file if found, or undefined if no valid changelog file could be resolved.\n*/\nfunction resolveChangelog(context, options) {\n\tlet changelogFile = resolveChangelogFile(context, options.file);\n\tif (changelogFile) return changelogFile;\n\tfor (const name of CHANGELOG_FILE_NAMES) {\n\t\tchangelogFile = resolveChangelogFile(context, name);\n\t\tif (changelogFile) return changelogFile;\n\t}\n\treturn changelogFile;\n}\n\n//#endregion\nexport { resolveChangelog };\n//# sourceMappingURL=resolve-changelog.mjs.map"],"mappings":";;;;;;AAMA,MAAM,4BAA4B;CACjC;CACA;CACA;CACA;AACD,MAAM,uBAAuB;CAC5B;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD,SAAS,qBAAqB,SAAS,UAAU;AAChD,MAAK,MAAM,OAAO,0BAA2B,KAAI,YAAY,WAAW,kBAAkB,SAASA,YAAU,UAAU,gBAAgB,UAAU,IAAI,CAAC,CAAC,CAAC,CAAE,QAAOA,YAAU,UAAU,gBAAgB,UAAU,IAAI,CAAC;;;;;;;;;AASrN,SAAS,iBAAiB,SAAS,SAAS;CAC3C,IAAI,gBAAgB,qBAAqB,SAAS,QAAQ,KAAK;AAC/D,KAAI,cAAe,QAAO;AAC1B,MAAK,MAAM,QAAQ,sBAAsB;AACxC,kBAAgB,qBAAqB,SAAS,KAAK;AACnD,MAAI,cAAe,QAAO;;AAE3B,QAAO"}
@@ -1,65 +0,0 @@
1
- const require_runtime = require('../../../_virtual/_rolldown/runtime.cjs');
2
- const require_changelog_command = require('./components/changelog-command.cjs');
3
- require('./components/index.cjs');
4
- const require_resolve_changelog = require('./helpers/resolve-changelog.cjs');
5
- const require_markdown_CLMRZZ3Y = require('../../unified/dist/markdown-CLMRZZ3Y.cjs');
6
- require('../../unified/dist/markdown/index.cjs');
7
- let _alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
8
- let _powerlines_plugin_alloy_render = require("@powerlines/plugin-alloy/render");
9
- let _shell_shock_core_plugin_utils = require("@shell-shock/core/plugin-utils");
10
- let _stryke_type_checks_is_set_string = require("@stryke/type-checks/is-set-string");
11
- let _stryke_path_join = require("@stryke/path/join");
12
- let powerlines_plugin_utils = require("powerlines/plugin-utils");
13
- let defu = require("defu");
14
- defu = require_runtime.__toESM(defu, 1);
15
-
16
- //#region ../plugin-changelog/dist/index.mjs
17
- /**
18
- * The Changelog - Shell Shock plugin to add version check functionality and changelog commands to a Shell Shock application.
19
- */
20
- const plugin = (options = {}) => {
21
- return {
22
- name: "shell-shock:changelog",
23
- config() {
24
- this.debug("Providing default configuration for the Shell Shock `changelog` plugin.");
25
- return { changelog: (0, defu.default)({ command: { name: (0, _stryke_type_checks_is_set_string.isSetString)(options.command) ? options.command : "changelog" } }, options) };
26
- },
27
- async configResolved() {
28
- this.debug("Adding the CLI changelog commands to the application context.");
29
- if (!(0, _stryke_type_checks_is_set_string.isSetString)(this.config.changelog.file)) this.config.changelog.file = require_resolve_changelog.resolveChangelog(this, options);
30
- if ((0, _stryke_type_checks_is_set_string.isSetString)(this.config.changelog.file)) this.config.changelog.file = (0, powerlines_plugin_utils.replacePathTokens)(this, this.config.changelog.file);
31
- if (!(0, _stryke_type_checks_is_set_string.isSetString)(this.config.changelog.file) || !this.fs.existsSync(this.config.changelog.file)) {
32
- this.warn(`The changelog file could not be found at the resolved path: ${this.config.changelog.file}. The \`${this.config.changelog.command.name}\` command will not be added to the application. Please ensure that the changelog file exists at the specified path or adjust the \`changelog.file\` option to point to the correct location.`);
33
- return;
34
- }
35
- this.inputs ??= [];
36
- if (this.inputs.some((input) => input.id === this.config.changelog.command.name)) this.info("The `changelog` command already exists in the commands list. If you would like the changelog command to be managed by the `@shell-shock/plugin-changelog` package, please remove or rename the command.");
37
- else {
38
- this.inputs.push({
39
- id: this.config.changelog.command.name,
40
- path: this.config.changelog.command.name,
41
- segments: [this.config.changelog.command.name],
42
- title: "Changelog",
43
- icon: "🗃",
44
- tags: ["Utility"],
45
- description: `Display the ${(0, _shell_shock_core_plugin_utils.getAppTitle)(this)} changelog.`,
46
- entry: {
47
- file: (0, _stryke_path_join.joinPaths)(this.entryPath, "changelog", "index.ts"),
48
- input: { file: (0, _stryke_path_join.joinPaths)(this.entryPath, "changelog", "command.ts") }
49
- },
50
- isVirtual: false,
51
- source: "changelog-plugin",
52
- ...this.config.changelog.command
53
- });
54
- this.debug("Rendering changelog command module for the Shell Shock `changelog` plugin.");
55
- const content = await this.fs.read(this.config.changelog.file);
56
- if (content) await (0, _powerlines_plugin_alloy_render.render)(this, (0, _alloy_js_core_jsx_runtime.createComponent)(require_changelog_command.ChangelogCommand, { get changelog() {
57
- return require_markdown_CLMRZZ3Y.g(content);
58
- } }));
59
- }
60
- }
61
- };
62
- };
63
-
64
- //#endregion
65
- exports.plugin = plugin;
@@ -1,2 +0,0 @@
1
- import { ChangelogPluginContext, ChangelogPluginOptions, ChangelogPluginResolvedConfig, ChangelogPluginUserConfig } from "./types/plugin.cjs";
2
- import { Plugin } from "powerlines";
@@ -1,2 +0,0 @@
1
- import { ChangelogPluginContext, ChangelogPluginOptions, ChangelogPluginResolvedConfig, ChangelogPluginUserConfig } from "./types/plugin.mjs";
2
- import { Plugin } from "powerlines";
@@ -1,64 +0,0 @@
1
- import { ChangelogCommand } from "./components/changelog-command.mjs";
2
- import "./components/index.mjs";
3
- import { resolveChangelog } from "./helpers/resolve-changelog.mjs";
4
- import { g } from "../../unified/dist/markdown-CLMRZZ3Y.mjs";
5
- import "../../unified/dist/markdown/index.mjs";
6
- import { createComponent } from "@alloy-js/core/jsx-runtime";
7
- import { render } from "@powerlines/plugin-alloy/render";
8
- import { getAppTitle } from "@shell-shock/core/plugin-utils";
9
- import { isSetString } from "@stryke/type-checks/is-set-string";
10
- import { joinPaths } from "@stryke/path/join";
11
- import { replacePathTokens } from "powerlines/plugin-utils";
12
- import defu from "defu";
13
-
14
- //#region ../plugin-changelog/dist/index.mjs
15
- /**
16
- * The Changelog - Shell Shock plugin to add version check functionality and changelog commands to a Shell Shock application.
17
- */
18
- const plugin = (options = {}) => {
19
- return {
20
- name: "shell-shock:changelog",
21
- config() {
22
- this.debug("Providing default configuration for the Shell Shock `changelog` plugin.");
23
- return { changelog: defu({ command: { name: isSetString(options.command) ? options.command : "changelog" } }, options) };
24
- },
25
- async configResolved() {
26
- this.debug("Adding the CLI changelog commands to the application context.");
27
- if (!isSetString(this.config.changelog.file)) this.config.changelog.file = resolveChangelog(this, options);
28
- if (isSetString(this.config.changelog.file)) this.config.changelog.file = replacePathTokens(this, this.config.changelog.file);
29
- if (!isSetString(this.config.changelog.file) || !this.fs.existsSync(this.config.changelog.file)) {
30
- this.warn(`The changelog file could not be found at the resolved path: ${this.config.changelog.file}. The \`${this.config.changelog.command.name}\` command will not be added to the application. Please ensure that the changelog file exists at the specified path or adjust the \`changelog.file\` option to point to the correct location.`);
31
- return;
32
- }
33
- this.inputs ??= [];
34
- if (this.inputs.some((input) => input.id === this.config.changelog.command.name)) this.info("The `changelog` command already exists in the commands list. If you would like the changelog command to be managed by the `@shell-shock/plugin-changelog` package, please remove or rename the command.");
35
- else {
36
- this.inputs.push({
37
- id: this.config.changelog.command.name,
38
- path: this.config.changelog.command.name,
39
- segments: [this.config.changelog.command.name],
40
- title: "Changelog",
41
- icon: "🗃",
42
- tags: ["Utility"],
43
- description: `Display the ${getAppTitle(this)} changelog.`,
44
- entry: {
45
- file: joinPaths(this.entryPath, "changelog", "index.ts"),
46
- input: { file: joinPaths(this.entryPath, "changelog", "command.ts") }
47
- },
48
- isVirtual: false,
49
- source: "changelog-plugin",
50
- ...this.config.changelog.command
51
- });
52
- this.debug("Rendering changelog command module for the Shell Shock `changelog` plugin.");
53
- const content = await this.fs.read(this.config.changelog.file);
54
- if (content) await render(this, createComponent(ChangelogCommand, { get changelog() {
55
- return g(content);
56
- } }));
57
- }
58
- }
59
- };
60
- };
61
-
62
- //#endregion
63
- export { plugin };
64
- //# sourceMappingURL=index.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.mjs","names":["renderMarkdown"],"sources":["../../../../../plugin-changelog/dist/index.mjs"],"sourcesContent":["import { ChangelogCommand } from \"./components/changelog-command.mjs\";\nimport \"./components/index.mjs\";\nimport { resolveChangelog } from \"./helpers/resolve-changelog.mjs\";\nimport { createComponent } from \"@alloy-js/core/jsx-runtime\";\nimport { render } from \"@powerlines/plugin-alloy/render\";\nimport { getAppTitle } from \"@shell-shock/core/plugin-utils\";\nimport { renderMarkdown } from \"@shell-shock/unified/markdown\";\nimport { joinPaths } from \"@stryke/path/join\";\nimport { isSetString } from \"@stryke/type-checks/is-set-string\";\nimport defu from \"defu\";\nimport { replacePathTokens } from \"powerlines/plugin-utils\";\n\n//#region src/index.tsx\n/**\n* The Changelog - Shell Shock plugin to add version check functionality and changelog commands to a Shell Shock application.\n*/\nconst plugin = (options = {}) => {\n\treturn {\n\t\tname: \"shell-shock:changelog\",\n\t\tconfig() {\n\t\t\tthis.debug(\"Providing default configuration for the Shell Shock `changelog` plugin.\");\n\t\t\treturn { changelog: defu({ command: { name: isSetString(options.command) ? options.command : \"changelog\" } }, options) };\n\t\t},\n\t\tasync configResolved() {\n\t\t\tthis.debug(\"Adding the CLI changelog commands to the application context.\");\n\t\t\tif (!isSetString(this.config.changelog.file)) this.config.changelog.file = resolveChangelog(this, options);\n\t\t\tif (isSetString(this.config.changelog.file)) this.config.changelog.file = replacePathTokens(this, this.config.changelog.file);\n\t\t\tif (!isSetString(this.config.changelog.file) || !this.fs.existsSync(this.config.changelog.file)) {\n\t\t\t\tthis.warn(`The changelog file could not be found at the resolved path: ${this.config.changelog.file}. The \\`${this.config.changelog.command.name}\\` command will not be added to the application. Please ensure that the changelog file exists at the specified path or adjust the \\`changelog.file\\` option to point to the correct location.`);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tthis.inputs ??= [];\n\t\t\tif (this.inputs.some((input) => input.id === this.config.changelog.command.name)) this.info(\"The `changelog` command already exists in the commands list. If you would like the changelog command to be managed by the `@shell-shock/plugin-changelog` package, please remove or rename the command.\");\n\t\t\telse {\n\t\t\t\tthis.inputs.push({\n\t\t\t\t\tid: this.config.changelog.command.name,\n\t\t\t\t\tpath: this.config.changelog.command.name,\n\t\t\t\t\tsegments: [this.config.changelog.command.name],\n\t\t\t\t\ttitle: \"Changelog\",\n\t\t\t\t\ticon: \"🗃\",\n\t\t\t\t\ttags: [\"Utility\"],\n\t\t\t\t\tdescription: `Display the ${getAppTitle(this)} changelog.`,\n\t\t\t\t\tentry: {\n\t\t\t\t\t\tfile: joinPaths(this.entryPath, \"changelog\", \"index.ts\"),\n\t\t\t\t\t\tinput: { file: joinPaths(this.entryPath, \"changelog\", \"command.ts\") }\n\t\t\t\t\t},\n\t\t\t\t\tisVirtual: false,\n\t\t\t\t\tsource: \"changelog-plugin\",\n\t\t\t\t\t...this.config.changelog.command\n\t\t\t\t});\n\t\t\t\tthis.debug(\"Rendering changelog command module for the Shell Shock `changelog` plugin.\");\n\t\t\t\tconst content = await this.fs.read(this.config.changelog.file);\n\t\t\t\tif (content) await render(this, createComponent(ChangelogCommand, { get changelog() {\n\t\t\t\t\treturn renderMarkdown(content);\n\t\t\t\t} }));\n\t\t\t}\n\t\t}\n\t};\n};\n\n//#endregion\nexport { plugin as default, plugin };\n//# sourceMappingURL=index.mjs.map"],"mappings":";;;;;;;;;;;;;;;;;AAgBA,MAAM,UAAU,UAAU,EAAE,KAAK;AAChC,QAAO;EACN,MAAM;EACN,SAAS;AACR,QAAK,MAAM,0EAA0E;AACrF,UAAO,EAAE,WAAW,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,QAAQ,QAAQ,GAAG,QAAQ,UAAU,aAAa,EAAE,EAAE,QAAQ,EAAE;;EAEzH,MAAM,iBAAiB;AACtB,QAAK,MAAM,gEAAgE;AAC3E,OAAI,CAAC,YAAY,KAAK,OAAO,UAAU,KAAK,CAAE,MAAK,OAAO,UAAU,OAAO,iBAAiB,MAAM,QAAQ;AAC1G,OAAI,YAAY,KAAK,OAAO,UAAU,KAAK,CAAE,MAAK,OAAO,UAAU,OAAO,kBAAkB,MAAM,KAAK,OAAO,UAAU,KAAK;AAC7H,OAAI,CAAC,YAAY,KAAK,OAAO,UAAU,KAAK,IAAI,CAAC,KAAK,GAAG,WAAW,KAAK,OAAO,UAAU,KAAK,EAAE;AAChG,SAAK,KAAK,+DAA+D,KAAK,OAAO,UAAU,KAAK,UAAU,KAAK,OAAO,UAAU,QAAQ,KAAK,+LAA+L;AAChV;;AAED,QAAK,WAAW,EAAE;AAClB,OAAI,KAAK,OAAO,MAAM,UAAU,MAAM,OAAO,KAAK,OAAO,UAAU,QAAQ,KAAK,CAAE,MAAK,KAAK,0MAA0M;QACjS;AACJ,SAAK,OAAO,KAAK;KAChB,IAAI,KAAK,OAAO,UAAU,QAAQ;KAClC,MAAM,KAAK,OAAO,UAAU,QAAQ;KACpC,UAAU,CAAC,KAAK,OAAO,UAAU,QAAQ,KAAK;KAC9C,OAAO;KACP,MAAM;KACN,MAAM,CAAC,UAAU;KACjB,aAAa,eAAe,YAAY,KAAK,CAAC;KAC9C,OAAO;MACN,MAAM,UAAU,KAAK,WAAW,aAAa,WAAW;MACxD,OAAO,EAAE,MAAM,UAAU,KAAK,WAAW,aAAa,aAAa,EAAE;MACrE;KACD,WAAW;KACX,QAAQ;KACR,GAAG,KAAK,OAAO,UAAU;KACzB,CAAC;AACF,SAAK,MAAM,6EAA6E;IACxF,MAAM,UAAU,MAAM,KAAK,GAAG,KAAK,KAAK,OAAO,UAAU,KAAK;AAC9D,QAAI,QAAS,OAAM,OAAO,MAAM,gBAAgB,kBAAkB,EAAE,IAAI,YAAY;AACnF,YAAOA,EAAe,QAAQ;OAC5B,CAAC,CAAC;;;EAGP"}
@@ -1,91 +0,0 @@
1
- import { RequiredKeys } from "../../../../node_modules/.pnpm/@stryke_types@0.11.3/node_modules/@stryke/types/dist/base.cjs";
2
- import { CommandConfig, Context, ResolvedConfig, UserConfig } from "@shell-shock/core";
3
-
4
- //#region ../plugin-changelog/dist/types/plugin.d.cts
5
- //#region src/types/plugin.d.ts
6
- interface ChangelogPluginOptions {
7
- /**
8
- * The path to the changelog file to read when executing the `changelog` command. This can be an absolute path or a path relative to the application's root directory.
9
- *
10
- * @remarks
11
- * If not provided, the plugin will attempt to resolve the changelog file by looking for common changelog file names (e.g., `CHANGELOG.md`, `RELEASE-NOTES.md`, etc.) in the application's root directory. If a specific file name is provided but cannot be found, it will fall back to looking for common changelog file names. If no valid changelog file can be resolved, the `changelog` command will not be added to the application. The following list of common changelog file names will be used for resolution:
12
- * - `CHANGELOG.md`
13
- * - `changelog.md`
14
- * - `Changelog.md`
15
- * - `CHANGELOG.markdown`
16
- * - `changelog.markdown`
17
- * - `Changelog.markdown`
18
- * - `CHANGELOG.txt`
19
- * - `changelog.txt`
20
- * - `Changelog.txt`
21
- * - `RELEASE-NOTES.md`
22
- * - `release-notes.md`
23
- * - `Release-Notes.md`
24
- * - `RELEASE-NOTES.markdown`
25
- * - `release-notes.markdown`
26
- * - `Release-Notes.markdown`
27
- * - `RELEASE-NOTES.txt`
28
- * - `release-notes.txt`
29
- * - `Release-Notes.txt`
30
- * - `RELEASE_NOTES.md`
31
- * - `release_notes.md`
32
- * - `Release_Notes.md`
33
- * - `RELEASE_NOTES.markdown`
34
- * - `release_notes.markdown`
35
- * - `Release_Notes.markdown`
36
- * - `RELEASE_NOTES.txt`
37
- * - `release_notes.txt`
38
- * - `Release_Notes.txt`
39
- * - `RELEASES.md`
40
- * - `releases.md`
41
- * - `Releases.md`
42
- * - `RELEASES.markdown`
43
- * - `releases.markdown`
44
- * - `Releases.markdown`
45
- * - `RELEASES.txt`
46
- * - `releases.txt`
47
- * - `Releases.txt`
48
- * - `HISTORY.md`
49
- * - `history.md`
50
- * - `History.md`
51
- * - `HISTORY.markdown`
52
- * - `history.markdown`
53
- * - `History.markdown`
54
- * - `HISTORY.txt`
55
- * - `history.txt`
56
- * - `History.txt`
57
- *
58
- * @defaultValue "\{root\}/CHANGELOG.md"
59
- */
60
- file?: string;
61
- /**
62
- * Should the plugin add the `changelog` command?
63
- *
64
- * @remarks
65
- * This can be set to a string to specify a custom command name for the `changelog` command or an object to override the default command configuration. By default, the command name will be `"changelog"`.
66
- *
67
- * @defaultValue "changelog"
68
- */
69
- command?: Partial<CommandConfig> | string;
70
- }
71
- type ChangelogPluginUserConfig = UserConfig & {
72
- /**
73
- * Resolved changelog configuration for the plugin.
74
- */
75
- changelog: ChangelogPluginOptions;
76
- };
77
- type ChangelogPluginResolvedConfig = ResolvedConfig & {
78
- /**
79
- * Resolved changelog configuration for the plugin.
80
- */
81
- changelog: Required<Omit<ChangelogPluginOptions, "command">> & {
82
- /**
83
- * Resolved command configuration for the changelog command.
84
- */
85
- command: RequiredKeys<Partial<CommandConfig>, "name">;
86
- };
87
- };
88
- type ChangelogPluginContext<TResolvedConfig extends ChangelogPluginResolvedConfig = ChangelogPluginResolvedConfig> = Context<TResolvedConfig>; //#endregion
89
- //#endregion
90
- export { ChangelogPluginContext, ChangelogPluginOptions, ChangelogPluginResolvedConfig, ChangelogPluginUserConfig };
91
- //# sourceMappingURL=plugin.d.cts.map