@shell-shock/preset-cli 0.9.19 → 0.9.20

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 (392) hide show
  1. package/dist/_virtual/_rolldown/runtime.cjs +1 -45
  2. package/dist/components/banner-builtin.cjs +5 -93
  3. package/dist/components/banner-builtin.mjs +5 -90
  4. package/dist/components/banner-builtin.mjs.map +1 -1
  5. package/dist/components/command-entry.cjs +56 -356
  6. package/dist/components/command-entry.mjs +56 -353
  7. package/dist/components/command-entry.mjs.map +1 -1
  8. package/dist/components/command-router.cjs +4 -60
  9. package/dist/components/command-router.mjs +4 -57
  10. package/dist/components/command-router.mjs.map +1 -1
  11. package/dist/components/index.cjs +1 -15
  12. package/dist/components/index.mjs +1 -7
  13. package/dist/components/upgrade-builtin.cjs +14 -135
  14. package/dist/components/upgrade-builtin.mjs +14 -132
  15. package/dist/components/upgrade-builtin.mjs.map +1 -1
  16. package/dist/components/virtual-command-entry.cjs +1 -113
  17. package/dist/components/virtual-command-entry.mjs +1 -110
  18. package/dist/components/virtual-command-entry.mjs.map +1 -1
  19. package/dist/helpers/get-global-options.cjs +1 -39
  20. package/dist/helpers/get-global-options.mjs +1 -38
  21. package/dist/helpers/get-global-options.mjs.map +1 -1
  22. package/dist/index.cjs +1 -173
  23. package/dist/index.d.cts.map +1 -1
  24. package/dist/index.d.mts.map +1 -1
  25. package/dist/index.mjs +1 -165
  26. package/dist/index.mjs.map +1 -1
  27. package/dist/types/index.mjs +1 -1
  28. package/dist/types/plugin.d.cts +3 -3
  29. package/dist/types/plugin.d.cts.map +1 -1
  30. package/dist/types/plugin.d.mts +3 -3
  31. package/dist/types/plugin.d.mts.map +1 -1
  32. package/dist/types/plugin.mjs +1 -1
  33. package/package.json +22 -74
  34. package/dist/_virtual/_rolldown/runtime.mjs +0 -42
  35. 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
  36. 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
  37. 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
  38. package/dist/node_modules/.pnpm/@stryke_types@0.11.3/node_modules/@stryke/types/dist/base.d.cts +0 -17
  39. package/dist/node_modules/.pnpm/@stryke_types@0.11.3/node_modules/@stryke/types/dist/base.d.cts.map +0 -1
  40. package/dist/node_modules/.pnpm/@stryke_types@0.11.3/node_modules/@stryke/types/dist/base.d.mts +0 -17
  41. package/dist/node_modules/.pnpm/@stryke_types@0.11.3/node_modules/@stryke/types/dist/base.d.mts.map +0 -1
  42. package/dist/node_modules/.pnpm/ansi-regex@6.2.2/node_modules/ansi-regex/index.cjs +0 -8
  43. package/dist/node_modules/.pnpm/ansi-regex@6.2.2/node_modules/ansi-regex/index.mjs +0 -8
  44. package/dist/node_modules/.pnpm/ansi-regex@6.2.2/node_modules/ansi-regex/index.mjs.map +0 -1
  45. package/dist/node_modules/.pnpm/ansi-styles@6.2.3/node_modules/ansi-styles/index.cjs +0 -167
  46. package/dist/node_modules/.pnpm/ansi-styles@6.2.3/node_modules/ansi-styles/index.mjs +0 -167
  47. package/dist/node_modules/.pnpm/ansi-styles@6.2.3/node_modules/ansi-styles/index.mjs.map +0 -1
  48. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.cjs +0 -373
  49. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.mjs +0 -374
  50. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.mjs.map +0 -1
  51. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.cjs +0 -60
  52. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.mjs +0 -59
  53. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.mjs.map +0 -1
  54. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.cjs +0 -6
  55. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.mjs +0 -6
  56. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.mjs.map +0 -1
  57. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.cjs +0 -6
  58. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.mjs +0 -6
  59. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.mjs.map +0 -1
  60. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode-codepoint.cjs +0 -59
  61. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode-codepoint.mjs +0 -59
  62. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode-codepoint.mjs.map +0 -1
  63. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode.cjs +0 -338
  64. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode.mjs +0 -333
  65. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode.mjs.map +0 -1
  66. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/generated/decode-data-html.cjs +0 -6
  67. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/generated/decode-data-html.mjs +0 -6
  68. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/generated/decode-data-html.mjs.map +0 -1
  69. package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/index.cjs +0 -14
  70. package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/index.mjs +0 -15
  71. package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/index.mjs.map +0 -1
  72. package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/lookup-data.cjs +0 -655
  73. package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/lookup-data.mjs +0 -651
  74. package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/lookup-data.mjs.map +0 -1
  75. package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/lookup.cjs +0 -48
  76. package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/lookup.mjs +0 -47
  77. package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/lookup.mjs.map +0 -1
  78. package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/utilities.cjs +0 -24
  79. package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/utilities.mjs +0 -24
  80. package/dist/node_modules/.pnpm/get-east-asian-width@1.5.0/node_modules/get-east-asian-width/utilities.mjs.map +0 -1
  81. package/dist/node_modules/.pnpm/he@1.2.0/node_modules/he/he.cjs +0 -4095
  82. package/dist/node_modules/.pnpm/he@1.2.0/node_modules/he/he.mjs +0 -4093
  83. package/dist/node_modules/.pnpm/he@1.2.0/node_modules/he/he.mjs.map +0 -1
  84. package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.cjs +0 -449
  85. package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.mjs +0 -450
  86. package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.mjs.map +0 -1
  87. package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.cjs +0 -47
  88. package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.mjs +0 -48
  89. package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.mjs.map +0 -1
  90. package/dist/node_modules/.pnpm/markdown-it-abbr@2.0.0/node_modules/markdown-it-abbr/index.cjs +0 -94
  91. package/dist/node_modules/.pnpm/markdown-it-abbr@2.0.0/node_modules/markdown-it-abbr/index.mjs +0 -94
  92. package/dist/node_modules/.pnpm/markdown-it-abbr@2.0.0/node_modules/markdown-it-abbr/index.mjs.map +0 -1
  93. package/dist/node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.cjs +0 -78
  94. package/dist/node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.mjs +0 -78
  95. package/dist/node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.mjs.map +0 -1
  96. package/dist/node_modules/.pnpm/markdown-it-deflist@3.0.0/node_modules/markdown-it-deflist/index.cjs +0 -123
  97. package/dist/node_modules/.pnpm/markdown-it-deflist@3.0.0/node_modules/markdown-it-deflist/index.mjs +0 -123
  98. package/dist/node_modules/.pnpm/markdown-it-deflist@3.0.0/node_modules/markdown-it-deflist/index.mjs.map +0 -1
  99. package/dist/node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.cjs +0 -246
  100. package/dist/node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.mjs +0 -244
  101. package/dist/node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.mjs.map +0 -1
  102. package/dist/node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.cjs +0 -80
  103. package/dist/node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.mjs +0 -80
  104. package/dist/node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.mjs.map +0 -1
  105. package/dist/node_modules/.pnpm/markdown-it-mark@4.0.0/node_modules/markdown-it-mark/index.cjs +0 -80
  106. package/dist/node_modules/.pnpm/markdown-it-mark@4.0.0/node_modules/markdown-it-mark/index.mjs +0 -80
  107. package/dist/node_modules/.pnpm/markdown-it-mark@4.0.0/node_modules/markdown-it-mark/index.mjs.map +0 -1
  108. package/dist/node_modules/.pnpm/markdown-it-sub@2.0.0/node_modules/markdown-it-sub/index.cjs +0 -45
  109. package/dist/node_modules/.pnpm/markdown-it-sub@2.0.0/node_modules/markdown-it-sub/index.mjs +0 -45
  110. package/dist/node_modules/.pnpm/markdown-it-sub@2.0.0/node_modules/markdown-it-sub/index.mjs.map +0 -1
  111. package/dist/node_modules/.pnpm/markdown-it-sup@2.0.0/node_modules/markdown-it-sup/index.cjs +0 -45
  112. package/dist/node_modules/.pnpm/markdown-it-sup@2.0.0/node_modules/markdown-it-sup/index.mjs +0 -45
  113. package/dist/node_modules/.pnpm/markdown-it-sup@2.0.0/node_modules/markdown-it-sup/index.mjs.map +0 -1
  114. package/dist/node_modules/.pnpm/markdown-it-task-lists@2.1.1/node_modules/markdown-it-task-lists/index.cjs +0 -94
  115. package/dist/node_modules/.pnpm/markdown-it-task-lists@2.1.1/node_modules/markdown-it-task-lists/index.mjs +0 -92
  116. package/dist/node_modules/.pnpm/markdown-it-task-lists@2.1.1/node_modules/markdown-it-task-lists/index.mjs.map +0 -1
  117. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/index.cjs +0 -1
  118. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/index.mjs +0 -3
  119. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_blocks.cjs +0 -69
  120. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_blocks.mjs +0 -69
  121. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_blocks.mjs.map +0 -1
  122. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_re.cjs +0 -9
  123. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_re.mjs +0 -8
  124. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_re.mjs.map +0 -1
  125. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/utils.cjs +0 -205
  126. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/utils.mjs +0 -189
  127. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/utils.mjs.map +0 -1
  128. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/index.cjs +0 -19
  129. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/index.mjs +0 -15
  130. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/index.mjs.map +0 -1
  131. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_destination.cjs +0 -61
  132. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs +0 -62
  133. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs.map +0 -1
  134. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_label.cjs +0 -35
  135. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_label.mjs +0 -35
  136. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_label.mjs.map +0 -1
  137. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_title.cjs +0 -43
  138. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_title.mjs +0 -44
  139. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_title.mjs.map +0 -1
  140. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/index.cjs +0 -488
  141. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/index.mjs +0 -489
  142. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/index.mjs.map +0 -1
  143. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_block.cjs +0 -148
  144. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_block.mjs +0 -149
  145. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_block.mjs.map +0 -1
  146. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_core.cjs +0 -51
  147. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_core.mjs +0 -52
  148. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_core.mjs.map +0 -1
  149. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_inline.cjs +0 -126
  150. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_inline.mjs +0 -127
  151. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_inline.mjs.map +0 -1
  152. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/commonmark.cjs +0 -57
  153. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/commonmark.mjs +0 -57
  154. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/commonmark.mjs.map +0 -1
  155. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/default.cjs +0 -23
  156. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/default.mjs +0 -23
  157. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/default.mjs.map +0 -1
  158. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/zero.cjs +0 -31
  159. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/zero.mjs +0 -31
  160. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/zero.mjs.map +0 -1
  161. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/renderer.cjs +0 -217
  162. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/renderer.mjs +0 -218
  163. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/renderer.mjs.map +0 -1
  164. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/ruler.cjs +0 -274
  165. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/ruler.mjs +0 -274
  166. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/ruler.mjs.map +0 -1
  167. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/blockquote.cjs +0 -107
  168. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/blockquote.mjs +0 -108
  169. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/blockquote.mjs.map +0 -1
  170. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/code.cjs +0 -27
  171. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/code.mjs +0 -27
  172. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/code.mjs.map +0 -1
  173. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/fence.cjs +0 -48
  174. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/fence.mjs +0 -48
  175. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/fence.mjs.map +0 -1
  176. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/heading.cjs +0 -35
  177. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/heading.mjs +0 -36
  178. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/heading.mjs.map +0 -1
  179. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/hr.cjs +0 -26
  180. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/hr.mjs +0 -27
  181. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/hr.mjs.map +0 -1
  182. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/html_block.cjs +0 -72
  183. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/html_block.mjs +0 -73
  184. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/html_block.mjs.map +0 -1
  185. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/lheading.cjs +0 -53
  186. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/lheading.mjs +0 -53
  187. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/lheading.mjs.map +0 -1
  188. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/list.cjs +0 -157
  189. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/list.mjs +0 -158
  190. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/list.mjs.map +0 -1
  191. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/paragraph.cjs +0 -32
  192. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/paragraph.mjs +0 -32
  193. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/paragraph.mjs.map +0 -1
  194. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/reference.cjs +0 -140
  195. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/reference.mjs +0 -141
  196. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/reference.mjs.map +0 -1
  197. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/state_block.cjs +0 -112
  198. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/state_block.mjs +0 -113
  199. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/state_block.mjs.map +0 -1
  200. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/table.cjs +0 -139
  201. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/table.mjs +0 -140
  202. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/table.mjs.map +0 -1
  203. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/block.cjs +0 -15
  204. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/block.mjs +0 -15
  205. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/block.mjs.map +0 -1
  206. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/inline.cjs +0 -12
  207. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/inline.mjs +0 -12
  208. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/inline.mjs.map +0 -1
  209. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/linkify.cjs +0 -81
  210. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/linkify.mjs +0 -82
  211. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/linkify.mjs.map +0 -1
  212. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/normalize.cjs +0 -13
  213. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/normalize.mjs +0 -13
  214. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/normalize.mjs.map +0 -1
  215. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/replacements.cjs +0 -45
  216. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/replacements.mjs +0 -45
  217. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/replacements.mjs.map +0 -1
  218. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/smartquotes.cjs +0 -112
  219. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/smartquotes.mjs +0 -113
  220. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/smartquotes.mjs.map +0 -1
  221. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/state_core.cjs +0 -14
  222. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/state_core.mjs +0 -15
  223. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/state_core.mjs.map +0 -1
  224. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/text_join.cjs +0 -22
  225. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/text_join.mjs +0 -22
  226. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/text_join.mjs.map +0 -1
  227. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/autolink.cjs +0 -55
  228. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/autolink.mjs +0 -55
  229. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/autolink.mjs.map +0 -1
  230. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/backticks.cjs +0 -41
  231. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/backticks.mjs +0 -41
  232. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/backticks.mjs.map +0 -1
  233. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/balance_pairs.cjs +0 -62
  234. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs +0 -62
  235. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs.map +0 -1
  236. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/emphasis.cjs +0 -64
  237. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/emphasis.mjs +0 -64
  238. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/emphasis.mjs.map +0 -1
  239. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/entity.cjs +0 -45
  240. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/entity.mjs +0 -46
  241. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/entity.mjs.map +0 -1
  242. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/escape.cjs +0 -48
  243. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/escape.mjs +0 -49
  244. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/escape.mjs.map +0 -1
  245. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/fragments_join.cjs +0 -22
  246. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/fragments_join.mjs +0 -22
  247. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/fragments_join.mjs.map +0 -1
  248. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/html_inline.cjs +0 -34
  249. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/html_inline.mjs +0 -35
  250. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/html_inline.mjs.map +0 -1
  251. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/image.cjs +0 -82
  252. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/image.mjs +0 -83
  253. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/image.mjs.map +0 -1
  254. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/link.cjs +0 -84
  255. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/link.mjs +0 -85
  256. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/link.mjs.map +0 -1
  257. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/linkify.cjs +0 -42
  258. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/linkify.mjs +0 -42
  259. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/linkify.mjs.map +0 -1
  260. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/newline.cjs +0 -26
  261. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/newline.mjs +0 -27
  262. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/newline.mjs.map +0 -1
  263. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/state_inline.cjs +0 -74
  264. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/state_inline.mjs +0 -75
  265. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/state_inline.mjs.map +0 -1
  266. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/strikethrough.cjs +0 -80
  267. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs +0 -80
  268. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs.map +0 -1
  269. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/text.cjs +0 -41
  270. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/text.mjs +0 -41
  271. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/text.mjs.map +0 -1
  272. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/token.cjs +0 -157
  273. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/token.mjs +0 -157
  274. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/token.mjs.map +0 -1
  275. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.cjs +0 -21
  276. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.mjs +0 -17
  277. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.mjs.map +0 -1
  278. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.cjs +0 -74
  279. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.mjs +0 -74
  280. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.mjs.map +0 -1
  281. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.cjs +0 -57
  282. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.mjs +0 -57
  283. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.mjs.map +0 -1
  284. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.cjs +0 -18
  285. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.mjs +0 -18
  286. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.mjs.map +0 -1
  287. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.cjs +0 -175
  288. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.mjs +0 -175
  289. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.mjs.map +0 -1
  290. package/dist/node_modules/.pnpm/normalize-html-whitespace@1.0.0/node_modules/normalize-html-whitespace/index.cjs +0 -19
  291. package/dist/node_modules/.pnpm/normalize-html-whitespace@1.0.0/node_modules/normalize-html-whitespace/index.mjs +0 -15
  292. package/dist/node_modules/.pnpm/normalize-html-whitespace@1.0.0/node_modules/normalize-html-whitespace/index.mjs.map +0 -1
  293. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/doctype.cjs +0 -104
  294. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/doctype.mjs +0 -104
  295. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/doctype.mjs.map +0 -1
  296. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/error-codes.cjs +0 -73
  297. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/error-codes.mjs +0 -68
  298. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/error-codes.mjs.map +0 -1
  299. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/foreign-content.cjs +0 -266
  300. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/foreign-content.mjs +0 -262
  301. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/foreign-content.mjs.map +0 -1
  302. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/html.cjs +0 -575
  303. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/html.mjs +0 -543
  304. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/html.mjs.map +0 -1
  305. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/token.cjs +0 -27
  306. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/token.mjs +0 -21
  307. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/token.mjs.map +0 -1
  308. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/unicode.cjs +0 -105
  309. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/unicode.mjs +0 -94
  310. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/unicode.mjs.map +0 -1
  311. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/index.cjs +0 -33
  312. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/index.mjs +0 -34
  313. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/index.mjs.map +0 -1
  314. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/formatting-element-list.cjs +0 -99
  315. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/formatting-element-list.mjs +0 -93
  316. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/formatting-element-list.mjs.map +0 -1
  317. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/index.cjs +0 -2544
  318. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/index.mjs +0 -2545
  319. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/index.mjs.map +0 -1
  320. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/open-element-stack.cjs +0 -296
  321. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/open-element-stack.mjs +0 -297
  322. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/open-element-stack.mjs.map +0 -1
  323. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/serializer/index.cjs +0 -26
  324. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/serializer/index.mjs +0 -28
  325. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/serializer/index.mjs.map +0 -1
  326. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/index.cjs +0 -2069
  327. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/index.mjs +0 -2069
  328. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/index.mjs.map +0 -1
  329. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/preprocessor.cjs +0 -156
  330. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/preprocessor.mjs +0 -157
  331. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/preprocessor.mjs.map +0 -1
  332. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tree-adapters/default.cjs +0 -166
  333. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tree-adapters/default.mjs +0 -167
  334. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tree-adapters/default.mjs.map +0 -1
  335. package/dist/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.cjs +0 -299
  336. package/dist/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.mjs +0 -295
  337. package/dist/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.mjs.map +0 -1
  338. package/dist/node_modules/.pnpm/string-width@8.2.0/node_modules/string-width/index.cjs +0 -65
  339. package/dist/node_modules/.pnpm/string-width@8.2.0/node_modules/string-width/index.mjs +0 -66
  340. package/dist/node_modules/.pnpm/string-width@8.2.0/node_modules/string-width/index.mjs.map +0 -1
  341. package/dist/node_modules/.pnpm/strip-ansi@7.2.0/node_modules/strip-ansi/index.cjs +0 -12
  342. package/dist/node_modules/.pnpm/strip-ansi@7.2.0/node_modules/strip-ansi/index.mjs +0 -13
  343. package/dist/node_modules/.pnpm/strip-ansi@7.2.0/node_modules/strip-ansi/index.mjs.map +0 -1
  344. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.cjs +0 -6
  345. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.mjs +0 -6
  346. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.mjs.map +0 -1
  347. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.cjs +0 -6
  348. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.mjs +0 -6
  349. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.mjs.map +0 -1
  350. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.cjs +0 -6
  351. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.mjs +0 -6
  352. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.mjs.map +0 -1
  353. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.cjs +0 -6
  354. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.mjs +0 -6
  355. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.mjs.map +0 -1
  356. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.cjs +0 -6
  357. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.mjs +0 -6
  358. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.mjs.map +0 -1
  359. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.cjs +0 -25
  360. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.mjs +0 -21
  361. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.mjs.map +0 -1
  362. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.cjs +0 -6
  363. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.mjs +0 -6
  364. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.mjs.map +0 -1
  365. package/dist/node_modules/.pnpm/wrap-ansi@10.0.0/node_modules/wrap-ansi/index.cjs +0 -302
  366. package/dist/node_modules/.pnpm/wrap-ansi@10.0.0/node_modules/wrap-ansi/index.mjs +0 -303
  367. package/dist/node_modules/.pnpm/wrap-ansi@10.0.0/node_modules/wrap-ansi/index.mjs.map +0 -1
  368. package/dist/packages/plugin-changelog/dist/components/changelog-command.cjs +0 -106
  369. package/dist/packages/plugin-changelog/dist/components/changelog-command.mjs +0 -106
  370. package/dist/packages/plugin-changelog/dist/components/changelog-command.mjs.map +0 -1
  371. package/dist/packages/plugin-changelog/dist/components/index.cjs +0 -1
  372. package/dist/packages/plugin-changelog/dist/components/index.mjs +0 -3
  373. package/dist/packages/plugin-changelog/dist/helpers/resolve-changelog.cjs +0 -51
  374. package/dist/packages/plugin-changelog/dist/helpers/resolve-changelog.mjs +0 -51
  375. package/dist/packages/plugin-changelog/dist/helpers/resolve-changelog.mjs.map +0 -1
  376. package/dist/packages/plugin-changelog/dist/index.cjs +0 -65
  377. package/dist/packages/plugin-changelog/dist/index.d.cts +0 -2
  378. package/dist/packages/plugin-changelog/dist/index.d.mts +0 -2
  379. package/dist/packages/plugin-changelog/dist/index.mjs +0 -64
  380. package/dist/packages/plugin-changelog/dist/index.mjs.map +0 -1
  381. package/dist/packages/plugin-changelog/dist/types/plugin.d.cts +0 -91
  382. package/dist/packages/plugin-changelog/dist/types/plugin.d.cts.map +0 -1
  383. package/dist/packages/plugin-changelog/dist/types/plugin.d.mts +0 -91
  384. package/dist/packages/plugin-changelog/dist/types/plugin.d.mts.map +0 -1
  385. package/dist/packages/unified/dist/html-DzwMMQv6.cjs +0 -612
  386. package/dist/packages/unified/dist/html-DzwMMQv6.mjs +0 -613
  387. package/dist/packages/unified/dist/html-DzwMMQv6.mjs.map +0 -1
  388. package/dist/packages/unified/dist/markdown/index.cjs +0 -1
  389. package/dist/packages/unified/dist/markdown/index.mjs +0 -3
  390. package/dist/packages/unified/dist/markdown-CLMRZZ3Y.cjs +0 -46
  391. package/dist/packages/unified/dist/markdown-CLMRZZ3Y.mjs +0 -47
  392. package/dist/packages/unified/dist/markdown-CLMRZZ3Y.mjs.map +0 -1
@@ -1,164 +1,18 @@
1
- import { VirtualCommandEntry } from "./virtual-command-entry.mjs";
2
- import { createComponent, memo, mergeProps } from "@alloy-js/core/jsx-runtime";
3
- import { For, Match, Show, Switch, code, computed } from "@alloy-js/core";
4
- import { ElseIfClause, IfStatement } from "@alloy-js/typescript";
5
- import { formatDescription, formatShortDescription, isDynamicPathSegment } from "@shell-shock/core/plugin-utils";
6
- import { usePowerlines } from "@powerlines/plugin-alloy/core/contexts/context";
7
- import { joinPaths } from "@stryke/path/join";
8
- import defu from "defu";
9
- import { Spacing } from "@powerlines/plugin-alloy/core/components/spacing";
10
- import { EntryFile } from "@powerlines/plugin-alloy/typescript/components/entry-file";
11
- import { CommandParameterKinds } from "@shell-shock/core";
12
- import { CommandValidationLogic } from "@shell-shock/core/components/command-validation-logic";
13
- import { CommandHandlerDeclaration } from "@shell-shock/preset-script/components/command-entry";
14
- import { findFilePath, relativePath } from "@stryke/path/find";
15
- import { replaceExtension } from "@stryke/path/replace";
16
- import { camelCase } from "@stryke/string-format/camel-case";
17
- import { pascalCase } from "@stryke/string-format/pascal-case";
18
-
19
- //#region src/components/command-entry.tsx
20
- /**
21
- * The command entry point for the Shell Shock project.
22
- */
23
- function CommandEntry(props) {
24
- const { command, imports, builtinImports, ...rest } = props;
25
- const context = usePowerlines();
26
- const filePath = computed(() => joinPaths(command.segments.filter((segment) => !isDynamicPathSegment(segment)).join("/"), "index.ts"));
27
- const commandSourcePath = computed(() => replaceExtension(relativePath(joinPaths(context.entryPath, findFilePath(filePath.value)), command.entry.input?.file || command.entry.file)));
28
- const typeDefinition = computed(() => ({
29
- ...command.entry,
30
- output: command.id
31
- }));
32
- return [createComponent(EntryFile, mergeProps(rest, {
33
- get path() {
34
- return filePath.value;
35
- },
36
- get typeDefinition() {
37
- return typeDefinition.value;
38
- },
39
- get imports() {
40
- return defu(imports ?? {}, { [commandSourcePath.value.startsWith(".") ? commandSourcePath.value : `./${commandSourcePath.value}`]: `handle${pascalCase(command.name)}` });
41
- },
42
- get builtinImports() {
43
- return defu(builtinImports ?? {}, {
44
- env: [
45
- "env",
46
- "isDevelopment",
47
- "isDebug",
48
- "paths"
49
- ],
50
- console: [
51
- "debug",
52
- "info",
53
- "help",
54
- "warn",
55
- "error",
56
- "table",
57
- "italic",
58
- "cursor",
59
- "stripAnsi",
60
- "writeLine",
61
- "splitText",
62
- "textColors",
63
- "createSpinner"
64
- ],
65
- utils: [
66
- "sleep",
67
- "isMinimal",
68
- "isInteractive",
69
- "isUnicodeSupported"
70
- ],
71
- state: [
72
- "useGlobal",
73
- "GlobalOptions",
74
- "useGlobalOptions",
75
- "withCommand",
76
- "useArgs",
77
- "hasFlag",
78
- "isHelp"
79
- ],
80
- prompts: [
81
- "text",
82
- "numeric",
83
- "toggle",
84
- "select",
85
- "confirm",
86
- "waitForKeyPress",
87
- "isCancel"
88
- ],
89
- [joinPaths("help", ...command.segments.filter((segment) => !isDynamicPathSegment(segment)))]: ["showHelp"],
90
- [joinPaths("banner", ...command.segments.filter((segment) => !isDynamicPathSegment(segment)))]: ["showBanner"],
91
- upgrade: ["executeUpgrade"]
92
- });
93
- },
94
- get children() {
95
- return [createComponent(Spacing, {}), createComponent(CommandHandlerDeclaration, {
96
- command,
97
- banner: code`await showBanner();
98
- await executeUpgrade(); `,
99
- get children() {
100
- return [createComponent(IfStatement, {
101
- condition: code`!isInteractive`,
102
- get children() {
103
- return createComponent(CommandValidationLogic, { command });
104
- }
105
- }), createComponent(Show, {
106
- get when() {
107
- return Object.values(command.options ?? {}).filter((option) => !option.optional).length > 0 || Object.values(command.args ?? {}).filter((arg) => !arg.optional).length > 0;
108
- },
109
- get children() {
110
- return createComponent(ElseIfClause, {
111
- get condition() {
112
- return code`!isHelp() && (${Object.values(command.options ?? {}).filter((option) => !option.optional).map((option) => (option.kind === CommandParameterKinds.string || option.kind === CommandParameterKinds.number) && option.variadic ? `(!options${option.name.includes("?") ? `["${option.name}"]` : `.${camelCase(option.name)}`} || options${option.name.includes("?") ? `["${option.name}"]` : `.${camelCase(option.name)}`}.length === 0)` : `options${option.name.includes("?") ? `["${option.name}"]` : `.${camelCase(option.name)}`} === undefined`).join(" || ")}${Object.values(command.options ?? {}).filter((option) => !option.optional).length > 0 && Object.values(command.args ?? {}).filter((arg) => !arg.optional).length > 0 ? " || " : ""}${Object.values(command.args ?? {}).filter((arg) => !arg.optional).map((arg) => (arg.kind === CommandParameterKinds.string || arg.kind === CommandParameterKinds.number) && arg.variadic ? `(!${camelCase(arg.name)} || ${camelCase(arg.name)}.length === 0)` : `${camelCase(arg.name)} === undefined`).join(" || ")}) `;
113
- },
114
- get children() {
115
- return [
116
- code`writeLine(""); `,
117
- createComponent(Spacing, {}),
118
- createComponent(For, {
119
- get each() {
120
- return Object.values(command.options ?? {});
121
- },
122
- doubleHardline: true,
123
- children: (option) => [createComponent(Show, {
124
- get when() {
125
- return !option.optional;
126
- },
127
- get children() {
128
- return [createComponent(IfStatement, {
129
- get condition() {
130
- return code`!options${option.name.includes("?") ? `["${option.name}"]` : `.${camelCase(option.name)}`}`;
131
- },
132
- get children() {
133
- return createComponent(Show, {
134
- get when() {
135
- return option.kind === CommandParameterKinds.boolean || !option.choices || option.choices.length === 0;
136
- },
137
- get fallback() {
138
- return code`const value = await select({
139
- message: \`Please select a value for the \${italic("${option.name}")} option\`, ${option.description ? `description: \`${formatDescription(option.description)}\`,
140
- ` : ""}options: [ ${option.choices?.map((choice) => `{ value: ${JSON.stringify(choice)}, label: "${choice}", ${option.description ? `description: \`${formatShortDescription(option.description)}\`` : ""} }`).join(", ")} ]
1
+ import{VirtualCommandEntry as e}from"./virtual-command-entry.mjs";import{createComponent as t,mergeProps as n}from"@alloy-js/core/jsx-runtime";import{For as r,Match as i,Show as a,Switch as o,code as s,computed as c}from"@alloy-js/core";import{ElseIfClause as l,IfStatement as u}from"@alloy-js/typescript";import{formatDescription as d,formatShortDescription as f,isDynamicPathSegment as p}from"@shell-shock/core/plugin-utils";import{Spacing as m}from"@powerlines/plugin-alloy/core/components/spacing";import{usePowerlines as h}from"@powerlines/plugin-alloy/core/contexts/context";import{EntryFile as g}from"@powerlines/plugin-alloy/typescript/components/entry-file";import{CommandParameterKinds as _}from"@shell-shock/core";import{CommandValidationLogic as v}from"@shell-shock/core/components/command-validation-logic";import{CommandHandlerDeclaration as y}from"@shell-shock/preset-script/components/command-entry";import{findFilePath as b,relativePath as x}from"@stryke/path/find";import{joinPaths as S}from"@stryke/path/join";import{replaceExtension as C}from"@stryke/path/replace";import{camelCase as w}from"@stryke/string-format/camel-case";import{pascalCase as T}from"@stryke/string-format/pascal-case";import E from"defu";function D(O){let{command:k,imports:A,builtinImports:j,...M}=O,N=h(),P=c(()=>S(k.segments.filter(e=>!p(e)).join(`/`),`index.ts`)),F=c(()=>C(x(S(N.entryPath,b(P.value)),k.entry.input?.file||k.entry.file))),I=c(()=>({...k.entry,output:k.id}));return[t(g,n(M,{get path(){return P.value},get typeDefinition(){return I.value},get imports(){return E(A??{},{[F.value.startsWith(`.`)?F.value:`./${F.value}`]:`handle${T(k.name)}`})},get builtinImports(){return E(j??{},{env:[`env`,`isDevelopment`,`isDebug`,`paths`],console:[`debug`,`info`,`help`,`warn`,`error`,`table`,`italic`,`cursor`,`stripAnsi`,`writeLine`,`splitText`,`textColors`,`createSpinner`],utils:[`sleep`,`isMinimal`,`isInteractive`,`isUnicodeSupported`],state:[{name:`GlobalOptions`,type:!0},`useGlobal`,`useGlobalOptions`,`withCommand`,`useArgs`,`hasFlag`,`isHelp`],prompts:[`text`,`numeric`,`toggle`,`select`,`confirm`,`waitForKeyPress`,`isCancel`],[S(`help`,...k.segments.filter(e=>!p(e)))]:[`showHelp`],[S(`banner`,...k.segments.filter(e=>!p(e)))]:[`showBanner`],upgrade:[`executeUpgrade`]})},get children(){return[t(m,{}),t(y,{command:k,banner:s`await showBanner();
2
+ await executeUpgrade(); `,get children(){return[t(u,{condition:s`!isInteractive`,get children(){return t(v,{command:k})}}),t(a,{get when(){return Object.values(k.options??{}).filter(e=>!e.optional).length>0||Object.values(k.args??{}).filter(e=>!e.optional).length>0},get children(){return t(l,{get condition(){return s`!isHelp() && (${Object.values(k.options??{}).filter(e=>!e.optional).map(e=>(e.kind===_.string||e.kind===_.number)&&e.variadic?`(!options${e.name.includes(`?`)?`["${e.name}"]`:`.${w(e.name)}`} || options${e.name.includes(`?`)?`["${e.name}"]`:`.${w(e.name)}`}.length === 0)`:`options${e.name.includes(`?`)?`["${e.name}"]`:`.${w(e.name)}`} === undefined`).join(` || `)}${Object.values(k.options??{}).filter(e=>!e.optional).length>0&&Object.values(k.args??{}).filter(e=>!e.optional).length>0?` || `:``}${Object.values(k.args??{}).filter(e=>!e.optional).map(e=>(e.kind===_.string||e.kind===_.number)&&e.variadic?`(!${w(e.name)} || ${w(e.name)}.length === 0)`:`${w(e.name)} === undefined`).join(` || `)}) `},get children(){return[s`writeLine(""); `,t(m,{}),t(r,{get each(){return Object.values(k.options??{})},doubleHardline:!0,children:e=>[t(a,{get when(){return!e.optional},get children(){return[t(u,{get condition(){return s`!options${e.name.includes(`?`)?`["${e.name}"]`:`.${w(e.name)}`}`},get children(){return t(a,{get when(){return e.kind===_.boolean||!e.choices||e.choices.length===0},get fallback(){return s`const value = await select({
3
+ message: \`Please select a value for the \${italic("${e.name}")} option\`, ${e.description?`description: \`${d(e.description)}\`,
4
+ `:``}options: [ ${e.choices?.map(t=>`{ value: ${JSON.stringify(t)}, label: "${t}", ${e.description?`description: \`${f(e.description)}\``:``} }`).join(`, `)} ]
141
5
  });
142
6
  if (isCancel(value)) {
143
7
  return;
144
8
  }
145
9
 
146
- options${option.name.includes("?") ? `["${option.name}"]` : `.${camelCase(option.name)}`} = value;
147
- `;
148
- },
149
- get children() {
150
- return createComponent(Switch, { get children() {
151
- return [
152
- createComponent(Match, {
153
- get when() {
154
- return option.kind === CommandParameterKinds.string;
155
- },
156
- get children() {
157
- return code`
10
+ options${e.name.includes(`?`)?`["${e.name}"]`:`.${w(e.name)}`} = value;
11
+ `},get children(){return t(o,{get children(){return[t(i,{get when(){return e.kind===_.string},get children(){return s`
158
12
  const value = await text({
159
- message: \`Please provide a value for the \${italic("${option.name}")} option\`,
160
- ${option.description ? `description: \`${formatDescription(option.description)}\`,
161
- ` : ""}validate(val) {
13
+ message: \`Please provide a value for the \${italic("${e.name}")} option\`,
14
+ ${e.description?`description: \`${d(e.description)}\`,
15
+ `:``}validate(val) {
162
16
  if (!val || val.trim() === "") {
163
17
  return "A value must be provided for this option";
164
18
  }
@@ -170,78 +24,44 @@ function CommandEntry(props) {
170
24
  return;
171
25
  }
172
26
 
173
- options${option.name.includes("?") ? `["${option.name}"]` : `.${camelCase(option.name)}`} = value;
174
- `;
175
- }
176
- }),
177
- createComponent(Match, {
178
- get when() {
179
- return option.kind === CommandParameterKinds.number;
180
- },
181
- get children() {
182
- return code`
27
+ options${e.name.includes(`?`)?`["${e.name}"]`:`.${w(e.name)}`} = value;
28
+ `}}),t(i,{get when(){return e.kind===_.number},get children(){return s`
183
29
  const value = await numeric({
184
- message: \`Please provide a numeric value for the \${italic("${option.name}")} option\`,
185
- ${option.description ? `description: \`${formatDescription(option.description)}\`,
186
- ` : ""}
30
+ message: \`Please provide a numeric value for the \${italic("${e.name}")} option\`,
31
+ ${e.description?`description: \`${d(e.description)}\`,
32
+ `:``}
187
33
  });
188
34
  if (isCancel(value)) {
189
35
  return;
190
36
  }
191
37
 
192
- options${option.name.includes("?") ? `["${option.name}"]` : `.${camelCase(option.name)}`} = value;
193
- `;
194
- }
195
- }),
196
- createComponent(Match, {
197
- get when() {
198
- return option.kind === CommandParameterKinds.boolean;
199
- },
200
- get children() {
201
- return code`
38
+ options${e.name.includes(`?`)?`["${e.name}"]`:`.${w(e.name)}`} = value;
39
+ `}}),t(i,{get when(){return e.kind===_.boolean},get children(){return s`
202
40
  const value = await toggle({
203
- message: \`Please select a value for the \${italic("${option.name}")} option\`,
204
- ${option.description ? `description: \`${formatDescription(option.description)}\`,
205
- ` : ""}
41
+ message: \`Please select a value for the \${italic("${e.name}")} option\`,
42
+ ${e.description?`description: \`${d(e.description)}\`,
43
+ `:``}
206
44
  });
207
45
  if (isCancel(value)) {
208
46
  return;
209
47
  }
210
48
 
211
- options${option.name.includes("?") ? `["${option.name}"]` : `.${camelCase(option.name)}`} = value;
212
- `;
213
- }
214
- })
215
- ];
216
- } });
217
- }
218
- });
219
- }
220
- }), createComponent(Show, {
221
- get when() {
222
- return (option.kind === CommandParameterKinds.string || option.kind === CommandParameterKinds.number) && option.variadic;
223
- },
224
- get children() {
225
- return createComponent(ElseIfClause, {
226
- get condition() {
227
- return code`options${option.name.includes("?") ? `["${option.name}"]` : `.${camelCase(option.name)}`}.length === 0`;
228
- },
229
- get children() {
230
- return code`
49
+ options${e.name.includes(`?`)?`["${e.name}"]`:`.${w(e.name)}`} = value;
50
+ `}})]}})}})}}),t(a,{get when(){return(e.kind===_.string||e.kind===_.number)&&e.variadic},get children(){return t(l,{get condition(){return s`options${e.name.includes(`?`)?`["${e.name}"]`:`.${w(e.name)}`}.length === 0`},get children(){return s`
231
51
  const value = await text({
232
- message: \`Please provide one or more${option.kind === CommandParameterKinds.number ? " numeric" : ""} values for the \${italic("${option.name}")} option (values are separated by a \\",\\" character)\`,
233
- ${option.description ? `description: \`${formatDescription(option.description)}\`,
234
- ` : ""}validate(val) {
52
+ message: \`Please provide one or more${e.kind===_.number?` numeric`:``} values for the \${italic("${e.name}")} option (values are separated by a \\",\\" character)\`,
53
+ ${e.description?`description: \`${d(e.description)}\`,
54
+ `:``}validate(val) {
235
55
  if (!val || val.trim() === "") {
236
56
  return "A value must be provided for this option";
237
57
  }
238
58
  if (val.split(",").map(v => v.trim()).filter(Boolean).length === 0) {
239
59
  return "At least one value must be provided for this option";
240
60
  }
241
- ${option.kind === CommandParameterKinds.number ? `const invalidIndex = val.split(",").map(v => v.trim()).filter(Boolean).findIndex(v => Number.isNaN(Number(v));
61
+ ${e.kind===_.number?`const invalidIndex = val.split(",").map(v => v.trim()).filter(Boolean).findIndex(v => Number.isNaN(Number(v));
242
62
  if (invalidIndex !== -1) {
243
63
  return \`Invalid numeric value provided for item #\${invalidIndex + 1} - all provided items must be a valid number\`;
244
- } ` : ""}
64
+ } `:``}
245
65
  return undefined;
246
66
  }
247
67
  });
@@ -249,61 +69,22 @@ function CommandEntry(props) {
249
69
  return;
250
70
  }
251
71
 
252
- options${option.name.includes("?") ? `["${option.name}"]` : `.${camelCase(option.name)}`} = value.split(",").map(value => value.trim()).filter(Boolean)${option.kind === CommandParameterKinds.number ? `.map(Number)` : ""} ;
253
- `;
254
- }
255
- });
256
- }
257
- })];
258
- }
259
- })]
260
- }),
261
- createComponent(Spacing, {}),
262
- createComponent(For, {
263
- get each() {
264
- return command.args;
265
- },
266
- doubleHardline: true,
267
- children: (arg) => [createComponent(Show, {
268
- get when() {
269
- return !arg.optional;
270
- },
271
- get children() {
272
- return [createComponent(IfStatement, {
273
- get condition() {
274
- return code`!${camelCase(arg.name)}`;
275
- },
276
- get children() {
277
- return createComponent(Show, {
278
- get when() {
279
- return arg.kind === CommandParameterKinds.boolean || !arg.choices || arg.choices.length === 0;
280
- },
281
- get fallback() {
282
- return code`const value = await select({
283
- message: \`Please select a value for the \${italic("${arg.name}")} argument\`,${arg.description ? `description: \`${formatDescription(arg.description)}\`,
284
- ` : ""}
285
- options: [ ${arg.choices?.map((choice) => `{ value: ${JSON.stringify(choice)}, label: "${choice}", ${arg.description ? `description: \`${formatShortDescription(arg.description)}\`` : ""} }`).join(", ")} ]
72
+ options${e.name.includes(`?`)?`["${e.name}"]`:`.${w(e.name)}`} = value.split(",").map(value => value.trim()).filter(Boolean)${e.kind===_.number?`.map(Number)`:``} ;
73
+ `}})}})]}})]}),t(m,{}),t(r,{get each(){return k.args},doubleHardline:!0,children:e=>[t(a,{get when(){return!e.optional},get children(){return[t(u,{get condition(){return s`!${w(e.name)}`},get children(){return t(a,{get when(){return e.kind===_.boolean||!e.choices||e.choices.length===0},get fallback(){return s`const value = await select({
74
+ message: \`Please select a value for the \${italic("${e.name}")} argument\`,${e.description?`description: \`${d(e.description)}\`,
75
+ `:``}
76
+ options: [ ${e.choices?.map(t=>`{ value: ${JSON.stringify(t)}, label: "${t}", ${e.description?`description: \`${f(e.description)}\``:``} }`).join(`, `)} ]
286
77
  });
287
78
  if (isCancel(value)) {
288
79
  return;
289
80
  }
290
81
 
291
- ${camelCase(arg.name)} = value;
292
- `;
293
- },
294
- get children() {
295
- return createComponent(Switch, { get children() {
296
- return [
297
- createComponent(Match, {
298
- get when() {
299
- return arg.kind === CommandParameterKinds.string;
300
- },
301
- get children() {
302
- return code`
82
+ ${w(e.name)} = value;
83
+ `},get children(){return t(o,{get children(){return[t(i,{get when(){return e.kind===_.string},get children(){return s`
303
84
  const value = await text({
304
- message: \`Please provide a value for the \${italic("${arg.name}")} argument\`,
305
- ${arg.description ? `description: \`${formatShortDescription(arg.description)}\`,
306
- ` : ""}validate(val) {
85
+ message: \`Please provide a value for the \${italic("${e.name}")} argument\`,
86
+ ${e.description?`description: \`${f(e.description)}\`,
87
+ `:``}validate(val) {
307
88
  if (!val || val.trim() === "") {
308
89
  return "A value must be provided for this argument";
309
90
  }
@@ -315,78 +96,44 @@ function CommandEntry(props) {
315
96
  return;
316
97
  }
317
98
 
318
- ${camelCase(arg.name)} = value;
319
- `;
320
- }
321
- }),
322
- createComponent(Match, {
323
- get when() {
324
- return arg.kind === CommandParameterKinds.number;
325
- },
326
- get children() {
327
- return code`
99
+ ${w(e.name)} = value;
100
+ `}}),t(i,{get when(){return e.kind===_.number},get children(){return s`
328
101
  const value = await numeric({
329
- message: \`Please provide a numeric value for the \${italic("${arg.name}")} argument\`,
330
- ${arg.description ? `description: \`${formatShortDescription(arg.description)}\`,
331
- ` : ""}
102
+ message: \`Please provide a numeric value for the \${italic("${e.name}")} argument\`,
103
+ ${e.description?`description: \`${f(e.description)}\`,
104
+ `:``}
332
105
  });
333
106
  if (isCancel(value)) {
334
107
  return;
335
108
  }
336
109
 
337
- ${camelCase(arg.name)} = value;
338
- `;
339
- }
340
- }),
341
- createComponent(Match, {
342
- get when() {
343
- return arg.kind === CommandParameterKinds.boolean;
344
- },
345
- get children() {
346
- return code`
110
+ ${w(e.name)} = value;
111
+ `}}),t(i,{get when(){return e.kind===_.boolean},get children(){return s`
347
112
  const value = await toggle({
348
- message: \`Please select a value for the \${italic("${arg.name}")} argument\`,
349
- ${arg.description ? `description: \`${formatShortDescription(arg.description)}\`,
350
- ` : ""}
113
+ message: \`Please select a value for the \${italic("${e.name}")} argument\`,
114
+ ${e.description?`description: \`${f(e.description)}\`,
115
+ `:``}
351
116
  });
352
117
  if (isCancel(value)) {
353
118
  return;
354
119
  }
355
120
 
356
- ${camelCase(arg.name)} = value;
357
- `;
358
- }
359
- })
360
- ];
361
- } });
362
- }
363
- });
364
- }
365
- }), createComponent(Show, {
366
- get when() {
367
- return arg.variadic;
368
- },
369
- get children() {
370
- return createComponent(ElseIfClause, {
371
- get condition() {
372
- return code`${camelCase(arg.name)}.length === 0`;
373
- },
374
- get children() {
375
- return code`
121
+ ${w(e.name)} = value;
122
+ `}})]}})}})}}),t(a,{get when(){return e.variadic},get children(){return t(l,{get condition(){return s`${w(e.name)}.length === 0`},get children(){return s`
376
123
  const value = await text({
377
- message: \`Please provide one or more${arg.kind === CommandParameterKinds.number ? " numeric" : ""} values for the \${italic("${arg.name}")} argument (values are separated by a \\",\\" character)\`,
378
- ${arg.description ? `description: \`${formatShortDescription(arg.description)}\`,
379
- ` : ""}validate(val) {
124
+ message: \`Please provide one or more${e.kind===_.number?` numeric`:``} values for the \${italic("${e.name}")} argument (values are separated by a \\",\\" character)\`,
125
+ ${e.description?`description: \`${f(e.description)}\`,
126
+ `:``}validate(val) {
380
127
  if (!val || val.trim() === "") {
381
128
  return "A value must be provided for this argument";
382
129
  }
383
130
  if (val.split(",").map(v => v.trim()).filter(Boolean).length === 0) {
384
131
  return "At least one value must be provided for this argument";
385
132
  }
386
- ${arg.kind === CommandParameterKinds.number ? `const invalidIndex = val.split(",").map(v => v.trim()).filter(Boolean).findIndex(v => Number.isNaN(Number(v));
133
+ ${e.kind===_.number?`const invalidIndex = val.split(",").map(v => v.trim()).filter(Boolean).findIndex(v => Number.isNaN(Number(v));
387
134
  if (invalidIndex !== -1) {
388
135
  return \`Invalid numeric value provided for item #\${invalidIndex + 1} - all provided items must be a valid number\`;
389
- } ` : ""}
136
+ } `:``}
390
137
 
391
138
  return undefined;
392
139
  }
@@ -395,51 +142,7 @@ function CommandEntry(props) {
395
142
  return;
396
143
  }
397
144
 
398
- ${camelCase(arg.name)} = value.split(",").map(value => value.trim()).filter(Boolean)${arg.kind === CommandParameterKinds.number ? `.map(Number)` : arg.kind === CommandParameterKinds.boolean ? `.map(Boolean)` : ""} ;
399
- `;
400
- }
401
- });
402
- }
403
- })];
404
- }
405
- })]
406
- }),
407
- code`writeLine(""); `,
408
- createComponent(Spacing, {}),
409
- createComponent(CommandValidationLogic, { command }),
410
- createComponent(IfStatement, {
411
- condition: code`failures.length > 0`,
412
- get children() {
413
- return code`error(\`The following validation failures were found while processing the user provided input, and must be corrected before the \${italic("${command.title}")} command can be executed: \\n\\n\${failures.map(failure => " - " + failure).join("\\n")}\`);
414
- options.help = true; `;
415
- }
416
- })
417
- ];
418
- }
419
- });
420
- }
421
- })];
422
- }
423
- })];
424
- }
425
- })), createComponent(For, {
426
- get each() {
427
- return Object.values(command.children);
428
- },
429
- children: (child) => createComponent(Show, {
430
- get when() {
431
- return child.isVirtual;
432
- },
433
- get fallback() {
434
- return createComponent(CommandEntry, { command: child });
435
- },
436
- get children() {
437
- return createComponent(VirtualCommandEntry, { command: child });
438
- }
439
- })
440
- })];
441
- }
442
-
443
- //#endregion
444
- export { CommandEntry };
145
+ ${w(e.name)} = value.split(",").map(value => value.trim()).filter(Boolean)${e.kind===_.number?`.map(Number)`:e.kind===_.boolean?`.map(Boolean)`:``} ;
146
+ `}})}})]}})]}),s`writeLine(""); `,t(m,{}),t(v,{command:k}),t(u,{condition:s`failures.length > 0`,get children(){return s`error(\`The following validation failures were found while processing the user provided input, and must be corrected before the \${italic("${k.title}")} command can be executed: \\n\\n\${failures.map(failure => " - " + failure).join("\\n")}\`);
147
+ options.help = true; `}})]}})}})]}})]}})),t(r,{get each(){return Object.values(k.children)},children:n=>t(a,{get when(){return n.isVirtual},get fallback(){return t(D,{command:n})},get children(){return t(e,{command:n})}})})]}export{D as CommandEntry};
445
148
  //# sourceMappingURL=command-entry.mjs.map