@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
package/dist/index.cjs CHANGED
@@ -1,173 +1 @@
1
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
2
- const require_runtime = require('./_virtual/_rolldown/runtime.cjs');
3
- const require_index = require('./packages/plugin-changelog/dist/index.cjs');
4
- const require_components_banner_builtin = require('./components/banner-builtin.cjs');
5
- const require_components_command_router = require('./components/command-router.cjs');
6
- const require_components_virtual_command_entry = require('./components/virtual-command-entry.cjs');
7
- const require_components_command_entry = require('./components/command-entry.cjs');
8
- const require_components_upgrade_builtin = require('./components/upgrade-builtin.cjs');
9
- const require_get_global_options = require('./helpers/get-global-options.cjs');
10
- let _alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
11
- let _alloy_js_core = require("@alloy-js/core");
12
- let _alloy_js_typescript = require("@alloy-js/typescript");
13
- let _powerlines_plugin_alloy_core_components = require("@powerlines/plugin-alloy/core/components");
14
- let _powerlines_plugin_alloy_render = require("@powerlines/plugin-alloy/render");
15
- let _shell_shock_core_plugin_utils = require("@shell-shock/core/plugin-utils");
16
- let _shell_shock_plugin_completions = require("@shell-shock/plugin-completions");
17
- _shell_shock_plugin_completions = require_runtime.__toESM(_shell_shock_plugin_completions);
18
- let _shell_shock_plugin_console = require("@shell-shock/plugin-console");
19
- _shell_shock_plugin_console = require_runtime.__toESM(_shell_shock_plugin_console);
20
- let _shell_shock_plugin_help = require("@shell-shock/plugin-help");
21
- _shell_shock_plugin_help = require_runtime.__toESM(_shell_shock_plugin_help);
22
- let _shell_shock_plugin_prompts = require("@shell-shock/plugin-prompts");
23
- _shell_shock_plugin_prompts = require_runtime.__toESM(_shell_shock_plugin_prompts);
24
- let _shell_shock_plugin_upgrade = require("@shell-shock/plugin-upgrade");
25
- _shell_shock_plugin_upgrade = require_runtime.__toESM(_shell_shock_plugin_upgrade);
26
- let _shell_shock_preset_script_components_bin_entry = require("@shell-shock/preset-script/components/bin-entry");
27
-
28
- //#region src/index.tsx
29
- /**
30
- * The Shell Shock CLI Preset plugin.
31
- *
32
- * @remarks
33
- * This preset includes a set of built-in modules and commands to create a CLI application, as well as configuration options to customize the generated code. It also includes the `prompts` plugin to provide interactive prompts in the CLI application, and the `upgrade` plugin to manage upgrading the local application's version.
34
- */
35
- const plugin = (options = {}) => {
36
- return [
37
- ...(0, _shell_shock_plugin_console.default)(options),
38
- ...(0, _shell_shock_plugin_help.default)(options),
39
- ...(0, _shell_shock_plugin_prompts.default)(options),
40
- ...options.changelog !== false ? [require_index.plugin(options.changelog)] : [],
41
- ...options.completions !== false ? (0, _shell_shock_plugin_completions.default)(options.completions) : [],
42
- (0, _shell_shock_plugin_upgrade.default)(options),
43
- {
44
- name: "shell-shock:cli-preset",
45
- config() {
46
- this.debug("Providing default configuration for the Shell Shock `cli` preset.");
47
- return {
48
- globalOptions: require_get_global_options.getGlobalOptions,
49
- isCaseSensitive: false,
50
- ...options
51
- };
52
- },
53
- prepare: {
54
- order: "post",
55
- async handler() {
56
- const _self$ = this;
57
- this.debug("Rendering built-in modules.");
58
- const commands = await (0, _shell_shock_core_plugin_utils.getCommandList)(this);
59
- this.debug(`Rendering \`banner\` built-ins for each of the ${commands.length} command modules.`);
60
- return (0, _powerlines_plugin_alloy_render.render)(this, [
61
- (0, _alloy_js_core_jsx_runtime.createComponent)(require_components_upgrade_builtin.UpgradeBuiltin, {}),
62
- (0, _alloy_js_core_jsx_runtime.createComponent)(require_components_banner_builtin.BannerBuiltin, { get command() {
63
- return (0, _shell_shock_core_plugin_utils.computeBin)(_self$);
64
- } }),
65
- (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.For, {
66
- get each() {
67
- return commands.sort((a, b) => a.name.localeCompare(b.name));
68
- },
69
- doubleHardline: true,
70
- children: (command) => (0, _alloy_js_core_jsx_runtime.createComponent)(require_components_banner_builtin.BannerBuiltin, { command })
71
- })
72
- ]);
73
- }
74
- }
75
- },
76
- {
77
- name: "shell-shock:cli-preset:generate-entrypoint",
78
- prepare: {
79
- order: "post",
80
- async handler() {
81
- const _self$2 = this;
82
- this.debug("Rendering entrypoint modules for the Shell Shock `cli` preset.");
83
- return (0, _powerlines_plugin_alloy_render.render)(this, [(0, _alloy_js_core_jsx_runtime.createComponent)(_shell_shock_preset_script_components_bin_entry.BinEntry, {
84
- builtinImports: {
85
- console: [
86
- "info",
87
- "debug",
88
- "warn",
89
- "help",
90
- "error",
91
- "cursor",
92
- "divider",
93
- "stripAnsi",
94
- "writeLine",
95
- "splitText"
96
- ],
97
- utils: ["isMinimal", "isInteractive"],
98
- state: ["useArgs", "isHelp"],
99
- prompts: [
100
- "text",
101
- "numeric",
102
- "toggle",
103
- "select",
104
- "confirm",
105
- "isCancel"
106
- ],
107
- env: ["env", "paths"],
108
- upgrade: ["executeUpgrade"]
109
- },
110
- get children() {
111
- return [
112
- (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
113
- get when() {
114
- return Object.keys(_self$2.commands).length > 0;
115
- },
116
- get children() {
117
- return [
118
- (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.VarDeclaration, {
119
- "let": true,
120
- name: "args",
121
- type: "string[]",
122
- initializer: _alloy_js_core.code`useArgs();`
123
- }),
124
- (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
125
- (0, _alloy_js_core_jsx_runtime.createComponent)(require_components_command_router.CommandRouter, {
126
- segments: [],
127
- get commands() {
128
- return _self$2.commands ?? {};
129
- }
130
- }),
131
- (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {})
132
- ];
133
- }
134
- }),
135
- (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
136
- _alloy_js_core.code`await showBanner(0);`,
137
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components.Spacing, {}),
138
- _alloy_js_core.code`return showHelp(); `
139
- ];
140
- }
141
- }), (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
142
- get when() {
143
- return Object.values(_self$2.commands).length > 0;
144
- },
145
- get children() {
146
- return (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.For, {
147
- get each() {
148
- return Object.values(_self$2.commands);
149
- },
150
- doubleHardline: true,
151
- children: (child) => (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
152
- get when() {
153
- return child.isVirtual;
154
- },
155
- get fallback() {
156
- return (0, _alloy_js_core_jsx_runtime.createComponent)(require_components_command_entry.CommandEntry, { command: child });
157
- },
158
- get children() {
159
- return (0, _alloy_js_core_jsx_runtime.createComponent)(require_components_virtual_command_entry.VirtualCommandEntry, { command: child });
160
- }
161
- })
162
- });
163
- }
164
- })]);
165
- }
166
- }
167
- }
168
- ];
169
- };
170
-
171
- //#endregion
172
- exports.default = plugin;
173
- exports.plugin = plugin;
1
+ Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require(`./_virtual/_rolldown/runtime.cjs`),t=require(`./components/banner-builtin.cjs`),n=require(`./components/command-router.cjs`),r=require(`./components/virtual-command-entry.cjs`),i=require(`./components/command-entry.cjs`),a=require(`./components/upgrade-builtin.cjs`),o=require(`./helpers/get-global-options.cjs`);let s=require(`@alloy-js/core/jsx-runtime`),c=require(`@alloy-js/core`),l=require(`@alloy-js/typescript`),u=require(`@powerlines/plugin-alloy/core/components`),d=require(`@powerlines/plugin-alloy/render`),f=require(`@shell-shock/core/plugin-utils`),p=require(`@shell-shock/plugin-changelog`);p=e.__toESM(p);let m=require(`@shell-shock/plugin-completions`);m=e.__toESM(m);let h=require(`@shell-shock/plugin-console`);h=e.__toESM(h);let g=require(`@shell-shock/plugin-help`);g=e.__toESM(g);let _=require(`@shell-shock/plugin-prompts`);_=e.__toESM(_);let v=require(`@shell-shock/plugin-upgrade`);v=e.__toESM(v);let y=require(`@shell-shock/preset-script/components/bin-entry`);const b=(e={})=>[...(0,h.default)(e),...(0,g.default)(e),...(0,_.default)(e),...e.changelog===!1?[]:[(0,p.default)(e.changelog)],...e.completions===!1?[]:(0,m.default)(e.completions),(0,v.default)(e),{name:`shell-shock:cli-preset`,config(){return this.debug("Providing default configuration for the Shell Shock `cli` preset."),{globalOptions:o.getGlobalOptions,isCaseSensitive:!1,...e,env:{types:`@shell-shock/plugin-upgrade/types/env#ShellShockUpgradePluginEnv`,validate:!1}}},prepare:{order:`post`,async handler(){let e=this;this.debug(`Rendering built-in modules.`);let n=await(0,f.getCommandList)(this);return this.debug(`Rendering \`banner\` built-ins for each of the ${n.length} command modules.`),(0,d.render)(this,[(0,s.createComponent)(a.UpgradeBuiltin,{}),(0,s.createComponent)(t.BannerBuiltin,{get command(){return(0,f.computeBin)(e)}}),(0,s.createComponent)(c.For,{get each(){return n.sort((e,t)=>e.name.localeCompare(t.name))},doubleHardline:!0,children:e=>(0,s.createComponent)(t.BannerBuiltin,{command:e})})])}}},{name:`shell-shock:cli-preset:generate-entrypoint`,prepare:{order:`post`,async handler(){let e=this;return this.debug("Rendering entrypoint modules for the Shell Shock `cli` preset."),(0,d.render)(this,[(0,s.createComponent)(y.BinEntry,{builtinImports:{console:[`info`,`debug`,`warn`,`help`,`error`,`cursor`,`divider`,`stripAnsi`,`writeLine`,`splitText`],utils:[`isMinimal`,`isInteractive`],state:[`useArgs`,`isHelp`],prompts:[`text`,`numeric`,`toggle`,`select`,`confirm`,`isCancel`],env:[`env`,`paths`],upgrade:[`executeUpgrade`]},get children(){return[(0,s.createComponent)(c.Show,{get when(){return Object.keys(e.commands).length>0},get children(){return[(0,s.createComponent)(l.VarDeclaration,{let:!0,name:`args`,type:`string[]`,initializer:c.code`useArgs();`}),(0,s.createIntrinsic)(`hbr`,{}),(0,s.createComponent)(n.CommandRouter,{segments:[],get commands(){return e.commands??{}}}),(0,s.createIntrinsic)(`hbr`,{})]}}),(0,s.createIntrinsic)(`hbr`,{}),c.code`await showBanner(0);`,(0,s.createComponent)(u.Spacing,{}),c.code`return showHelp(); `]}}),(0,s.createComponent)(c.Show,{get when(){return Object.values(e.commands).length>0},get children(){return(0,s.createComponent)(c.For,{get each(){return Object.values(e.commands)},doubleHardline:!0,children:e=>(0,s.createComponent)(c.Show,{get when(){return e.isVirtual},get fallback(){return(0,s.createComponent)(i.CommandEntry,{command:e})},get children(){return(0,s.createComponent)(r.VirtualCommandEntry,{command:e})}})})}})])}}}];exports.default=b,exports.plugin=b;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.tsx"],"mappings":";;;;;;AA6CA;;;;cAAa,MAAA,oBAA2B,gBAAA,GAAmB,gBAAA,EACzD,OAAA,GAAS,gBAAA,KACR,MAAA,CAAO,QAAA"}
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.tsx"],"mappings":";;;;;;AA8CA;;;;cAAa,MAAA,oBAA2B,gBAAA,GAAmB,gBAAA,EACzD,OAAA,GAAS,gBAAA,KACR,MAAA,CAAO,QAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.tsx"],"mappings":";;;;;;AA6CA;;;;cAAa,MAAA,oBAA2B,gBAAA,GAAmB,gBAAA,EACzD,OAAA,GAAS,gBAAA,KACR,MAAA,CAAO,QAAA"}
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.tsx"],"mappings":";;;;;;AA8CA;;;;cAAa,MAAA,oBAA2B,gBAAA,GAAmB,gBAAA,EACzD,OAAA,GAAS,gBAAA,KACR,MAAA,CAAO,QAAA"}
package/dist/index.mjs CHANGED
@@ -1,166 +1,2 @@
1
- import { plugin as plugin$1 } from "./packages/plugin-changelog/dist/index.mjs";
2
- import { BannerBuiltin } from "./components/banner-builtin.mjs";
3
- import { CommandRouter } from "./components/command-router.mjs";
4
- import { VirtualCommandEntry } from "./components/virtual-command-entry.mjs";
5
- import { CommandEntry } from "./components/command-entry.mjs";
6
- import { UpgradeBuiltin } from "./components/upgrade-builtin.mjs";
7
- import { getGlobalOptions } from "./helpers/get-global-options.mjs";
8
- import { createComponent, createIntrinsic, memo } from "@alloy-js/core/jsx-runtime";
9
- import { For, Show, code } from "@alloy-js/core";
10
- import { VarDeclaration } from "@alloy-js/typescript";
11
- import { Spacing } from "@powerlines/plugin-alloy/core/components";
12
- import { render } from "@powerlines/plugin-alloy/render";
13
- import { computeBin, getCommandList } from "@shell-shock/core/plugin-utils";
14
- import completions from "@shell-shock/plugin-completions";
15
- import console from "@shell-shock/plugin-console";
16
- import help from "@shell-shock/plugin-help";
17
- import prompts from "@shell-shock/plugin-prompts";
18
- import upgrade from "@shell-shock/plugin-upgrade";
19
- import { BinEntry } from "@shell-shock/preset-script/components/bin-entry";
20
-
21
- //#region src/index.tsx
22
- /**
23
- * The Shell Shock CLI Preset plugin.
24
- *
25
- * @remarks
26
- * This preset includes a set of built-in modules and commands to create a CLI application, as well as configuration options to customize the generated code. It also includes the `prompts` plugin to provide interactive prompts in the CLI application, and the `upgrade` plugin to manage upgrading the local application's version.
27
- */
28
- const plugin = (options = {}) => {
29
- return [
30
- ...console(options),
31
- ...help(options),
32
- ...prompts(options),
33
- ...options.changelog !== false ? [plugin$1(options.changelog)] : [],
34
- ...options.completions !== false ? completions(options.completions) : [],
35
- upgrade(options),
36
- {
37
- name: "shell-shock:cli-preset",
38
- config() {
39
- this.debug("Providing default configuration for the Shell Shock `cli` preset.");
40
- return {
41
- globalOptions: getGlobalOptions,
42
- isCaseSensitive: false,
43
- ...options
44
- };
45
- },
46
- prepare: {
47
- order: "post",
48
- async handler() {
49
- const _self$ = this;
50
- this.debug("Rendering built-in modules.");
51
- const commands = await getCommandList(this);
52
- this.debug(`Rendering \`banner\` built-ins for each of the ${commands.length} command modules.`);
53
- return render(this, [
54
- createComponent(UpgradeBuiltin, {}),
55
- createComponent(BannerBuiltin, { get command() {
56
- return computeBin(_self$);
57
- } }),
58
- createComponent(For, {
59
- get each() {
60
- return commands.sort((a, b) => a.name.localeCompare(b.name));
61
- },
62
- doubleHardline: true,
63
- children: (command) => createComponent(BannerBuiltin, { command })
64
- })
65
- ]);
66
- }
67
- }
68
- },
69
- {
70
- name: "shell-shock:cli-preset:generate-entrypoint",
71
- prepare: {
72
- order: "post",
73
- async handler() {
74
- const _self$2 = this;
75
- this.debug("Rendering entrypoint modules for the Shell Shock `cli` preset.");
76
- return render(this, [createComponent(BinEntry, {
77
- builtinImports: {
78
- console: [
79
- "info",
80
- "debug",
81
- "warn",
82
- "help",
83
- "error",
84
- "cursor",
85
- "divider",
86
- "stripAnsi",
87
- "writeLine",
88
- "splitText"
89
- ],
90
- utils: ["isMinimal", "isInteractive"],
91
- state: ["useArgs", "isHelp"],
92
- prompts: [
93
- "text",
94
- "numeric",
95
- "toggle",
96
- "select",
97
- "confirm",
98
- "isCancel"
99
- ],
100
- env: ["env", "paths"],
101
- upgrade: ["executeUpgrade"]
102
- },
103
- get children() {
104
- return [
105
- createComponent(Show, {
106
- get when() {
107
- return Object.keys(_self$2.commands).length > 0;
108
- },
109
- get children() {
110
- return [
111
- createComponent(VarDeclaration, {
112
- "let": true,
113
- name: "args",
114
- type: "string[]",
115
- initializer: code`useArgs();`
116
- }),
117
- createIntrinsic("hbr", {}),
118
- createComponent(CommandRouter, {
119
- segments: [],
120
- get commands() {
121
- return _self$2.commands ?? {};
122
- }
123
- }),
124
- createIntrinsic("hbr", {})
125
- ];
126
- }
127
- }),
128
- createIntrinsic("hbr", {}),
129
- code`await showBanner(0);`,
130
- createComponent(Spacing, {}),
131
- code`return showHelp(); `
132
- ];
133
- }
134
- }), createComponent(Show, {
135
- get when() {
136
- return Object.values(_self$2.commands).length > 0;
137
- },
138
- get children() {
139
- return createComponent(For, {
140
- get each() {
141
- return Object.values(_self$2.commands);
142
- },
143
- doubleHardline: true,
144
- children: (child) => createComponent(Show, {
145
- get when() {
146
- return child.isVirtual;
147
- },
148
- get fallback() {
149
- return createComponent(CommandEntry, { command: child });
150
- },
151
- get children() {
152
- return createComponent(VirtualCommandEntry, { command: child });
153
- }
154
- })
155
- });
156
- }
157
- })]);
158
- }
159
- }
160
- }
161
- ];
162
- };
163
-
164
- //#endregion
165
- export { plugin as default, plugin };
1
+ import{BannerBuiltin as e}from"./components/banner-builtin.mjs";import{CommandRouter as t}from"./components/command-router.mjs";import{VirtualCommandEntry as n}from"./components/virtual-command-entry.mjs";import{CommandEntry as r}from"./components/command-entry.mjs";import{UpgradeBuiltin as i}from"./components/upgrade-builtin.mjs";import{getGlobalOptions as a}from"./helpers/get-global-options.mjs";import{createComponent as o,createIntrinsic as s}from"@alloy-js/core/jsx-runtime";import{For as c,Show as l,code as u}from"@alloy-js/core";import{VarDeclaration as d}from"@alloy-js/typescript";import{Spacing as f}from"@powerlines/plugin-alloy/core/components";import{render as p}from"@powerlines/plugin-alloy/render";import{computeBin as m,getCommandList as h}from"@shell-shock/core/plugin-utils";import g from"@shell-shock/plugin-changelog";import _ from"@shell-shock/plugin-completions";import v from"@shell-shock/plugin-console";import y from"@shell-shock/plugin-help";import b from"@shell-shock/plugin-prompts";import x from"@shell-shock/plugin-upgrade";import{BinEntry as S}from"@shell-shock/preset-script/components/bin-entry";const C=(C={})=>[...v(C),...y(C),...b(C),...C.changelog===!1?[]:[g(C.changelog)],...C.completions===!1?[]:_(C.completions),x(C),{name:`shell-shock:cli-preset`,config(){return this.debug("Providing default configuration for the Shell Shock `cli` preset."),{globalOptions:a,isCaseSensitive:!1,...C,env:{types:`@shell-shock/plugin-upgrade/types/env#ShellShockUpgradePluginEnv`,validate:!1}}},prepare:{order:`post`,async handler(){let t=this;this.debug(`Rendering built-in modules.`);let n=await h(this);return this.debug(`Rendering \`banner\` built-ins for each of the ${n.length} command modules.`),p(this,[o(i,{}),o(e,{get command(){return m(t)}}),o(c,{get each(){return n.sort((e,t)=>e.name.localeCompare(t.name))},doubleHardline:!0,children:t=>o(e,{command:t})})])}}},{name:`shell-shock:cli-preset:generate-entrypoint`,prepare:{order:`post`,async handler(){let e=this;return this.debug("Rendering entrypoint modules for the Shell Shock `cli` preset."),p(this,[o(S,{builtinImports:{console:[`info`,`debug`,`warn`,`help`,`error`,`cursor`,`divider`,`stripAnsi`,`writeLine`,`splitText`],utils:[`isMinimal`,`isInteractive`],state:[`useArgs`,`isHelp`],prompts:[`text`,`numeric`,`toggle`,`select`,`confirm`,`isCancel`],env:[`env`,`paths`],upgrade:[`executeUpgrade`]},get children(){return[o(l,{get when(){return Object.keys(e.commands).length>0},get children(){return[o(d,{let:!0,name:`args`,type:`string[]`,initializer:u`useArgs();`}),s(`hbr`,{}),o(t,{segments:[],get commands(){return e.commands??{}}}),s(`hbr`,{})]}}),s(`hbr`,{}),u`await showBanner(0);`,o(f,{}),u`return showHelp(); `]}}),o(l,{get when(){return Object.values(e.commands).length>0},get children(){return o(c,{get each(){return Object.values(e.commands)},doubleHardline:!0,children:e=>o(l,{get when(){return e.isVirtual},get fallback(){return o(r,{command:e})},get children(){return o(n,{command:e})}})})}})])}}}];export{C as default,C as plugin};
166
2
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","names":[],"sources":["../src/index.tsx"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Shell Shock\n\n This code was released as part of the Shell Shock project. Shell Shock\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/shell-shock.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/shell-shock\n Documentation: https://docs.stormsoftware.com/projects/shell-shock\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { code, For, Show } from \"@alloy-js/core\";\nimport { VarDeclaration } from \"@alloy-js/typescript\";\nimport { Spacing } from \"@powerlines/plugin-alloy/core/components\";\nimport { render } from \"@powerlines/plugin-alloy/render\";\nimport { computeBin, getCommandList } from \"@shell-shock/core/plugin-utils\";\nimport changelog from \"@shell-shock/plugin-changelog\";\nimport completions from \"@shell-shock/plugin-completions\";\nimport console from \"@shell-shock/plugin-console\";\nimport help from \"@shell-shock/plugin-help\";\nimport prompts from \"@shell-shock/plugin-prompts\";\nimport upgrade from \"@shell-shock/plugin-upgrade\";\nimport { BinEntry } from \"@shell-shock/preset-script/components/bin-entry\";\nimport type { Plugin } from \"powerlines\";\nimport { BannerBuiltin } from \"./components/banner-builtin\";\nimport { CommandEntry } from \"./components/command-entry\";\nimport { CommandRouter } from \"./components/command-router\";\nimport { UpgradeBuiltin } from \"./components/upgrade-builtin\";\nimport { VirtualCommandEntry } from \"./components/virtual-command-entry\";\nimport { getGlobalOptions } from \"./helpers/get-global-options\";\nimport type { CLIPresetContext, CLIPresetOptions } from \"./types/plugin\";\n\n/**\n * The Shell Shock CLI Preset plugin.\n *\n * @remarks\n * This preset includes a set of built-in modules and commands to create a CLI application, as well as configuration options to customize the generated code. It also includes the `prompts` plugin to provide interactive prompts in the CLI application, and the `upgrade` plugin to manage upgrading the local application's version.\n */\nexport const plugin = <TContext extends CLIPresetContext = CLIPresetContext>(\n options: CLIPresetOptions = {}\n): Plugin<TContext>[] => {\n return [\n ...console<TContext>(options),\n ...help<TContext>(options),\n ...prompts<TContext>(options),\n ...(options.changelog !== false\n ? [changelog<TContext>(options.changelog)]\n : []),\n ...(options.completions !== false\n ? completions<TContext>(options.completions)\n : []),\n upgrade<TContext>(options),\n {\n name: \"shell-shock:cli-preset\",\n config() {\n this.debug(\n \"Providing default configuration for the Shell Shock `cli` preset.\"\n );\n\n return {\n globalOptions: getGlobalOptions,\n isCaseSensitive: false,\n ...options\n };\n },\n prepare: {\n order: \"post\",\n async handler() {\n this.debug(\"Rendering built-in modules.\");\n\n const commands = await getCommandList(this);\n this.debug(\n `Rendering \\`banner\\` built-ins for each of the ${\n commands.length\n } command modules.`\n );\n\n return render(\n this,\n <>\n <UpgradeBuiltin />\n <BannerBuiltin command={computeBin(this)} />\n <For\n each={commands.sort((a, b) => a.name.localeCompare(b.name))}\n doubleHardline>\n {command => <BannerBuiltin command={command} />}\n </For>\n </>\n );\n }\n }\n },\n {\n name: \"shell-shock:cli-preset:generate-entrypoint\",\n prepare: {\n order: \"post\",\n async handler() {\n this.debug(\n \"Rendering entrypoint modules for the Shell Shock `cli` preset.\"\n );\n\n return render(\n this,\n <>\n <BinEntry\n builtinImports={{\n console: [\n \"info\",\n \"debug\",\n \"warn\",\n \"help\",\n \"error\",\n \"cursor\",\n \"divider\",\n \"stripAnsi\",\n \"writeLine\",\n \"splitText\"\n ],\n utils: [\"isMinimal\", \"isInteractive\"],\n state: [\"useArgs\", \"isHelp\"],\n prompts: [\n \"text\",\n \"numeric\",\n \"toggle\",\n \"select\",\n \"confirm\",\n \"isCancel\"\n ],\n env: [\"env\", \"paths\"],\n upgrade: [\"executeUpgrade\"]\n }}>\n <Show when={Object.keys(this.commands).length > 0}>\n <VarDeclaration\n let\n name=\"args\"\n type=\"string[]\"\n initializer={code`useArgs();`}\n />\n <hbr />\n <CommandRouter segments={[]} commands={this.commands ?? {}} />\n <hbr />\n </Show>\n <hbr />\n {code`await showBanner(0);`}\n <Spacing />\n {code`return showHelp(); `}\n </BinEntry>\n <Show when={Object.values(this.commands).length > 0}>\n <For each={Object.values(this.commands)} doubleHardline>\n {child => (\n <Show\n when={child.isVirtual}\n fallback={<CommandEntry command={child} />}>\n <VirtualCommandEntry command={child} />\n </Show>\n )}\n </For>\n </Show>\n </>\n );\n }\n }\n }\n ];\n};\n\nexport default plugin;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AA8CA,MAAW,UAAoB,UAAA,EAAA,KAAA;AAC7B,QAAO;EAAC,GAAA,QAAe,QAAA;EAAA,GAAA,KAAA,QAAA;EAAA,GAAA,QAAA,QAAA;EAAA,GAAA,QAAA,cAAA,QAAA,CAAA,SAAA,QAAA,UAAA,CAAA,GAAA,EAAA;EAAA,GAAA,QAAA,gBAAA,QAAA,YAAA,QAAA,YAAA,GAAA,EAAA;EAAA,QAAA,QAAA;EAAA;GACvB,MAAO;GACL,SAAG;AACD,SAAK,MAAC,oEAAkB;AACxB,WAAC;KACC,eAAQ;KACR,iBAAW;KACX,GAAG;KACJ;;GAEH,SAAO;IACP,OAAQ;IACR,MAAA,UAAA;KACE,MAAO,SAAM;AACb,UAAO,MAAE,8BAAA;KACP,MAAK,WAAK,MAAA,eAAA,KAAA;AACV,UAAG,MAAA,kDAA0D,SAAO,OAAA,mBAAA;AACpE,YAAC,OAAA,MAAA;MAAA,gBAAA,gBAAA,EAAA,CAAA;MAAA,gBAAA,eAAA;AAED,cAAO,WAAA,OAAA;SAEN,CAAC;MAAA,gBAAiB,KAAK;OACtB,IAAG,OAAA;AACJ,eAAA,SAAA,MAAA,GAAA,MAAA,EAAA,KAAA,cAAA,EAAA,KAAA,CAAA;;OAEH,gBAAS;OACP,WAAY,YAAC,gBAAA,eAAA,EACA,SACX,CAAA;;;;IAGL;GACF;EAAE;GACD,MAAM;GACN,SAAS;IACP,OAAK;;KAEH,MAAE,UAAa;AACf,UAAI,MAAI,iEAAA;AACR,YAAK,OAAA,MAAA,CAAA,gBAAA,UAAA;MACH,gBAAK;OACH,SAAG;QAAA;QAAc;QAAS;QAAA;QAAiB;QAAE;QAAA;QAAA;QAAA;QAAA;QAAA;OAC7C,OAAG,CAAA,aAAA,gBAAA;OACH,OAAI,CAAI,WAAW,SAAS;OAC5B,SAAI;QAAA;QAAc;QAAA;QAAA;QAAA;QAAA;QAAA;OAClB,KAAK,CAAA,OAAQ,QAAI;OACjB,SAAO,CAAA,iBAAA;OACR;MACD,IAAC,WAAA;AACH,cAAA;QAAA,gBAAA,MAAA;SACF,IAAA,OAAA;AACD,iBAAA,OAAA,KAAA,QAAA,SAAA,CAAA,SAAA;;SAEQ,IAAK,WAAW;AACd,iBAAA;WAAA,gBAAA,gBAAA;YACC,OAAK;YACP,MAAU;YACT,MAAK;YACP,aAAU,IAAW;YACvB,CAAA;WAAA,gBAAA,OAAA,EAAA,CAAA;WAAA,gBAAA,eAAA;;YAEM,IAAA,WAAM;AACP,oBAAA,QAAA,YAAA,EAAA;;YAED,CAAA;WAAA,gBAAA,OAAA,EAAA,CAAA;WAAA;;SAEF,CAAC;QAAE,gBAAW,OAAA,EAAA,CAAA;QAAA,IAAA;QAAA,gBAAA,SAAA,EAAA,CAAA;QAAA,IAAA;QAAA;;MAElB,CAAC,EAAE,gBAAe,MAAA;MACjB,IAAI,OAAO;AACT,cAAO,OAAO,OAAA,QAAA,SAAA,CAAA,SAAA;;MAEhB,IAAI,WAAO;AACT,cAAO,gBAAU,KAAA;QACf,IAAI,OAAG;AACL,gBAAK,OAAS,OAAC,QAAA,SAAA;;QAEjB,gBAAK;QACL,WAAU,UAAG,gBAAa,MAAe;SACvC,IAAE,OAAS;AACT,iBAAO,MAAE;;SAEX,IAAI,WAAS;AACX,iBAAG,gBAAO,cAAA,EACR,SAAQ,OACT,CAAC;;SAEJ,IAAG,WAAA;AACD,iBAAO,gBAAc,qBAAA,EACrB,SAAW,OACX,CAAA;;SAEH,CAAC;QACH,CAAC;;MAEL,CAAC,CAAC,CAAC;;IAEP;GACF;EAAC"}
1
+ {"version":3,"file":"index.mjs","names":[],"sources":["../src/index.tsx"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Shell Shock\n\n This code was released as part of the Shell Shock project. Shell Shock\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/shell-shock.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/shell-shock\n Documentation: https://docs.stormsoftware.com/projects/shell-shock\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { code, For, Show } from \"@alloy-js/core\";\nimport { VarDeclaration } from \"@alloy-js/typescript\";\nimport { Spacing } from \"@powerlines/plugin-alloy/core/components\";\nimport { render } from \"@powerlines/plugin-alloy/render\";\nimport { computeBin, getCommandList } from \"@shell-shock/core/plugin-utils\";\nimport type { CommandTree } from \"@shell-shock/core/types/command\";\nimport changelog from \"@shell-shock/plugin-changelog\";\nimport completions from \"@shell-shock/plugin-completions\";\nimport console from \"@shell-shock/plugin-console\";\nimport help from \"@shell-shock/plugin-help\";\nimport prompts from \"@shell-shock/plugin-prompts\";\nimport upgrade from \"@shell-shock/plugin-upgrade\";\nimport { BinEntry } from \"@shell-shock/preset-script/components/bin-entry\";\nimport type { Plugin } from \"powerlines\";\nimport { BannerBuiltin } from \"./components/banner-builtin\";\nimport { CommandEntry } from \"./components/command-entry\";\nimport { CommandRouter } from \"./components/command-router\";\nimport { UpgradeBuiltin } from \"./components/upgrade-builtin\";\nimport { VirtualCommandEntry } from \"./components/virtual-command-entry\";\nimport { getGlobalOptions } from \"./helpers/get-global-options\";\nimport type { CLIPresetContext, CLIPresetOptions } from \"./types/plugin\";\n\n/**\n * The Shell Shock CLI Preset plugin.\n *\n * @remarks\n * This preset includes a set of built-in modules and commands to create a CLI application, as well as configuration options to customize the generated code. It also includes the `prompts` plugin to provide interactive prompts in the CLI application, and the `upgrade` plugin to manage upgrading the local application's version.\n */\nexport const plugin = <TContext extends CLIPresetContext = CLIPresetContext>(\n options: CLIPresetOptions = {}\n): Plugin<TContext>[] => {\n return [\n ...console<TContext>(options),\n ...help<TContext>(options),\n ...prompts<TContext>(options),\n ...(options.changelog !== false\n ? [changelog<TContext>(options.changelog)]\n : []),\n ...(options.completions !== false\n ? completions<TContext>(options.completions)\n : []),\n upgrade<TContext>(options),\n {\n name: \"shell-shock:cli-preset\",\n config() {\n this.debug(\n \"Providing default configuration for the Shell Shock `cli` preset.\"\n );\n\n return {\n globalOptions: getGlobalOptions,\n isCaseSensitive: false,\n ...options,\n env: {\n types:\n \"@shell-shock/plugin-upgrade/types/env#ShellShockUpgradePluginEnv\",\n validate: false\n }\n };\n },\n prepare: {\n order: \"post\",\n async handler() {\n this.debug(\"Rendering built-in modules.\");\n\n const commands = await getCommandList(this);\n this.debug(\n `Rendering \\`banner\\` built-ins for each of the ${\n commands.length\n } command modules.`\n );\n\n return render(\n this,\n <>\n <UpgradeBuiltin />\n <BannerBuiltin command={computeBin(this)} />\n <For\n each={commands.sort((a, b) => a.name.localeCompare(b.name))}\n doubleHardline>\n {command => <BannerBuiltin command={command} />}\n </For>\n </>\n );\n }\n }\n },\n {\n name: \"shell-shock:cli-preset:generate-entrypoint\",\n prepare: {\n order: \"post\",\n async handler() {\n this.debug(\n \"Rendering entrypoint modules for the Shell Shock `cli` preset.\"\n );\n\n return render(\n this,\n <>\n <BinEntry\n builtinImports={{\n console: [\n \"info\",\n \"debug\",\n \"warn\",\n \"help\",\n \"error\",\n \"cursor\",\n \"divider\",\n \"stripAnsi\",\n \"writeLine\",\n \"splitText\"\n ],\n utils: [\"isMinimal\", \"isInteractive\"],\n state: [\"useArgs\", \"isHelp\"],\n prompts: [\n \"text\",\n \"numeric\",\n \"toggle\",\n \"select\",\n \"confirm\",\n \"isCancel\"\n ],\n env: [\"env\", \"paths\"],\n upgrade: [\"executeUpgrade\"]\n }}>\n <Show when={Object.keys(this.commands).length > 0}>\n <VarDeclaration\n let\n name=\"args\"\n type=\"string[]\"\n initializer={code`useArgs();`}\n />\n <hbr />\n <CommandRouter segments={[]} commands={this.commands ?? {}} />\n <hbr />\n </Show>\n <hbr />\n {code`await showBanner(0);`}\n <Spacing />\n {code`return showHelp(); `}\n </BinEntry>\n <Show when={Object.values(this.commands).length > 0}>\n <For\n each={Object.values(\n this.commands as Record<string, CommandTree>\n )}\n doubleHardline>\n {child => (\n <Show\n when={child.isVirtual}\n fallback={<CommandEntry command={child} />}>\n <VirtualCommandEntry command={child} />\n </Show>\n )}\n </For>\n </Show>\n </>\n );\n }\n }\n }\n ];\n};\n\nexport default plugin;\n"],"mappings":"8mCA2CA,MAAI,GAAA,EAAA,EAAA,GACI,CAAA,GAAA,EAAO,EAAc,CAAC,GAAG,EAAM,EAAG,CAAO,GAAC,EAAI,EAAY,CAAA,GAAQ,EAAK,YAAgB,GAA0C,EAAC,CAAnC,CAAA,EAAA,EAAc,UAAW,CAAA,CAAc,GAAA,EAAU,cAAc,GAAyC,EAAA,CAA7B,EAAW,EAAS,YAAS,CAAW,EAAQ,EAAQ,CAAA,CACxO,KAAA,yBACF,QAAa,CAEV,OADD,KAAS,MAAA,oEAAoB,CACrB,CACF,cAAC,EACF,gBAAkB,GAClB,GAAI,EACJ,IAAA,CACC,MAAQ,mEACP,SAAU,GACV,CACF,EAEH,QAAO,CACP,MAAQ,OACR,MAAA,SAAA,CACE,IAAO,EAAM,KACb,KAAO,MAAE,8BAAA,CACP,IAAK,EAAK,MAAA,EAAA,KAAA,CAEV,OADA,KAAG,MAAA,kDAA0D,EAAO,OAAA,mBAAA,CACnE,EAAA,KAAA,CAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA,EAAA,CAAA,IAAA,SAAA,CAED,OAAO,EAAA,EAAA,EAEN,CAAC,CAAA,EAAiB,EAAK,CACtB,IAAG,MAAO,CACV,OAAK,EAAA,MAAA,EAAA,IAAA,EAAA,KAAA,cAAA,EAAA,KAAA,CAAA,EAEL,eAAY,GACZ,SAAU,GAAE,EAAA,EAAA,CACZ,UACD,CAAA,CACF,CAAA,CAAA,CAAA,EAEF,CACF,CAAE,CACD,KAAM,sDAEJ,MAAI,OACJ,MAAI,SAAU,CACZ,IAAK,EAAW,KAEhB,OADA,KAAK,MAAC,iEAAS,CACT,EAAQ,KAAA,CAAO,EAAC,EAAA,CACpB,eAAC,uGAED,MAAO,CAAA,YAAM,gBAAA,CACX,MAAI,CAAA,UAAA,SAAA,CACJ,QAAC,CAAA,OAAA,UAAA,SAAA,SAAA,UAAA,WAAA,CACD,IAAG,CAAA,MAAA,QAAgB,CACnB,QAAG,CAAA,iBAAuB,CAC3B,CACD,IAAI,UAAQ,CACV,MAAI,CAAA,EAAc,EAAA,CAChB,IAAG,MAAQ,CACT,OAAG,OAAA,KAAA,EAAA,SAAA,CAAA,OAAA,GAER,IAAA,UAAA,CACH,MAAA,CAAA,EAAA,EAAA,CACF,IAAA,GACD,KAAA,OACD,KAAA,WACc,YAAW,CAAM,aACpB,CAAA,CAAA,EAAA,MAAA,EAAA,CAAA,CAAA,EAAA,EAAA,CACC,SAAK,EAAA,CACP,IAAQ,UAAE,CACJ,OAAA,EAAA,UAAA,EAAA,EAET,CAAA,CAAA,EAAA,MAAA,EAAA,CAAA,CAAA,EAED,CAAA,CAAM,EAAO,MAAA,EAAA,CAAA,CAAA,CAAA,uBAAA,EAAA,EAAA,EAAA,CAAA,CAAA,CAAA,sBAAA,EAEd,CAAC,CAAE,EAAC,EAAA,CACH,IAAI,MAAC,CACH,OAAI,OAAA,OAAgB,EAAA,SAAA,CAAA,OAAA,GAEtB,IAAI,UAAW,CACb,OAAO,EAAQ,EAAA,CACb,IAAI,MAAO,CACT,OAAK,OAAK,OAAA,EAAA,SAAA,EAEZ,eAAc,GACd,SAAO,GAAQ,EAAA,EAAA,CACb,IAAI,MAAC,CACH,OAAG,EAAU,WAEf,IAAG,UAAA,CACD,OAAO,EAAe,EAAe,CACrC,QAAS,EACT,CAAA,EAEF,IAAI,UAAS,CACX,OAAG,EAAO,EAAA,CACR,QAAQ,EACT,CAAC,EAEL,CAAC,CACH,CAAC,EAEL,CAAC,CAAC,CAAC,EAEP,CACF,CAAC"}
@@ -1 +1 @@
1
- export { };
1
+ export{};
@@ -1,7 +1,7 @@
1
- import { ChangelogPluginContext, ChangelogPluginOptions, ChangelogPluginResolvedConfig, ChangelogPluginUserConfig } from "../packages/plugin-changelog/dist/types/plugin.cjs";
2
1
  import { CommandBase, CommandOption, Context, UserConfig } from "@shell-shock/core";
3
- import { ResolvedConfig as ResolvedConfig$1 } from "powerlines";
2
+ import { ResolvedConfig } from "powerlines";
4
3
  import { BannerPluginContext, BannerPluginOptions, BannerPluginResolvedConfig, BannerPluginUserConfig } from "@shell-shock/plugin-banner";
4
+ import { ChangelogPluginContext, ChangelogPluginOptions, ChangelogPluginResolvedConfig, ChangelogPluginUserConfig } from "@shell-shock/plugin-changelog";
5
5
  import { CompletionsPluginContext, CompletionsPluginOptions, CompletionsPluginResolvedConfig, CompletionsPluginUserConfig } from "@shell-shock/plugin-completions";
6
6
  import { ConsolePluginContext, ConsolePluginResolvedConfig, ConsolePluginUserConfig } from "@shell-shock/plugin-console";
7
7
  import { HelpPluginContext, HelpPluginOptions, HelpPluginResolvedConfig, HelpPluginUserConfig } from "@shell-shock/plugin-help";
@@ -66,7 +66,7 @@ type CLIPresetOptions = Omit<ScriptPresetOptions, "globalOptions"> & HelpPluginO
66
66
  changelog?: ChangelogPluginOptions | false;
67
67
  };
68
68
  type CLIPresetUserConfig = UserConfig & ThemePluginUserConfig & ConsolePluginUserConfig & PromptsPluginUserConfig & BannerPluginUserConfig & HelpPluginUserConfig & CompletionsPluginUserConfig & ChangelogPluginUserConfig & UpgradePluginUserConfig & CLIPresetOptions;
69
- type CLIPresetResolvedConfig = ResolvedConfig$1 & ThemePluginResolvedConfig & ConsolePluginResolvedConfig & PromptsPluginResolvedConfig & BannerPluginResolvedConfig & HelpPluginResolvedConfig & CompletionsPluginResolvedConfig & ChangelogPluginResolvedConfig & UpgradePluginResolvedConfig & Required<CLIPresetOptions>;
69
+ type CLIPresetResolvedConfig = ResolvedConfig & ThemePluginResolvedConfig & ConsolePluginResolvedConfig & PromptsPluginResolvedConfig & BannerPluginResolvedConfig & HelpPluginResolvedConfig & CompletionsPluginResolvedConfig & ChangelogPluginResolvedConfig & UpgradePluginResolvedConfig & Required<CLIPresetOptions>;
70
70
  type CLIPresetContext<TResolvedConfig extends CLIPresetResolvedConfig = CLIPresetResolvedConfig> = Context<TResolvedConfig> & ThemePluginContext<TResolvedConfig> & ConsolePluginContext<TResolvedConfig> & PromptsPluginContext<TResolvedConfig> & BannerPluginContext<TResolvedConfig> & HelpPluginContext<TResolvedConfig> & CompletionsPluginContext<TResolvedConfig> & ChangelogPluginContext<TResolvedConfig> & UpgradePluginContext<TResolvedConfig>;
71
71
  //#endregion
72
72
  export { CLIPresetContext, CLIPresetOptions, CLIPresetResolvedConfig, CLIPresetUserConfig, UpgradeType };
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;;;;;;;;;;;;KAyEY,WAAA;AAAA,KAEA,gBAAA,GAAmB,IAAA,CAAK,mBAAA,qBAClC,iBAAA,GACA,oBAAA,GACA,oBAAA;;AALF;;;;;AAEA;;;;;EAeI,WAAA;EAbF;;;;;;;;;;;;;;EA6BE,aAAA,GACI,aAAA,OACE,OAAA,EAAS,OAAA,EAAS,KAAA,EAAO,WAAA,KAAgB,aAAA;EAjCf;;;;;;;;;;;EA+ChC,WAAA,GAAc,WAAA;EAAd;;;EAKA,MAAA,GAAS,IAAA,CAAK,mBAAA;EAAA;;;EAKd,WAAA,GAAc,IAAA,CAAK,wBAAA;EAKnB;;;EAAA,SAAA,GAAY,sBAAA;AAAA;AAAA,KAGJ,mBAAA,GAAsB,UAAA,GAChC,qBAAA,GACA,uBAAA,GACA,uBAAA,GACA,sBAAA,GACA,oBAAA,GACA,2BAAA,GACA,yBAAA,GACA,uBAAA,GACA,gBAAA;AAAA,KAEU,uBAAA,GAA0B,gBAAA,GACpC,yBAAA,GACA,2BAAA,GACA,2BAAA,GACA,0BAAA,GACA,wBAAA,GACA,+BAAA,GACA,6BAAA,GACA,2BAAA,GACA,QAAA,CAAS,gBAAA;AAAA,KAEC,gBAAA,yBACc,uBAAA,GAA0B,uBAAA,IAChD,OAAA,CAAQ,eAAA,IACV,kBAAA,CAAmB,eAAA,IACnB,oBAAA,CAAqB,eAAA,IACrB,oBAAA,CAAqB,eAAA,IACrB,mBAAA,CAAoB,eAAA,IACpB,iBAAA,CAAkB,eAAA,IAClB,wBAAA,CAAyB,eAAA,IACzB,sBAAA,CAAuB,eAAA,IACvB,oBAAA,CAAqB,eAAA"}
1
+ {"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;;;;;;;;;;;;KAyEY,WAAA;AAAA,KAEA,gBAAA,GAAmB,IAAA,CAAK,mBAAA,qBAClC,iBAAA,GACA,oBAAA,GACA,oBAAA;EALU;;;;;AAEZ;;;;;;EAeI,WAAA;EAZF;;;;;;;;;;;;;;EA4BE,aAAA,GACI,aAAA,OACE,OAAA,EAAS,OAAA,EAAS,KAAA,EAAO,WAAA,KAAgB,aAAA;EAhCjD;;;;;;;;;;;EA8CE,WAAA,GAAc,WAAA;EAAA;;;EAKd,MAAA,GAAS,IAAA,CAAK,mBAAA;EAKd;;;EAAA,WAAA,GAAc,IAAA,CAAK,wBAAA;EAKP;;;EAAZ,SAAA,GAAY,sBAAA;AAAA;AAAA,KAGJ,mBAAA,GAAsB,UAAA,GAChC,qBAAA,GACA,uBAAA,GACA,uBAAA,GACA,sBAAA,GACA,oBAAA,GACA,2BAAA,GACA,yBAAA,GACA,uBAAA,GACA,gBAAA;AAAA,KAEU,uBAAA,GAA0B,cAAA,GACpC,yBAAA,GACA,2BAAA,GACA,2BAAA,GACA,0BAAA,GACA,wBAAA,GACA,+BAAA,GACA,6BAAA,GACA,2BAAA,GACA,QAAA,CAAS,gBAAA;AAAA,KAEC,gBAAA,yBACc,uBAAA,GAA0B,uBAAA,IAChD,OAAA,CAAQ,eAAA,IACV,kBAAA,CAAmB,eAAA,IACnB,oBAAA,CAAqB,eAAA,IACrB,oBAAA,CAAqB,eAAA,IACrB,mBAAA,CAAoB,eAAA,IACpB,iBAAA,CAAkB,eAAA,IAClB,wBAAA,CAAyB,eAAA,IACzB,sBAAA,CAAuB,eAAA,IACvB,oBAAA,CAAqB,eAAA"}
@@ -1,9 +1,9 @@
1
- import { ChangelogPluginContext, ChangelogPluginOptions, ChangelogPluginResolvedConfig, ChangelogPluginUserConfig } from "../packages/plugin-changelog/dist/types/plugin.mjs";
1
+ import { ChangelogPluginContext, ChangelogPluginOptions, ChangelogPluginResolvedConfig, ChangelogPluginUserConfig } from "@shell-shock/plugin-changelog";
2
2
  import { CompletionsPluginContext, CompletionsPluginOptions, CompletionsPluginResolvedConfig, CompletionsPluginUserConfig } from "@shell-shock/plugin-completions";
3
3
  import { ConsolePluginContext, ConsolePluginResolvedConfig, ConsolePluginUserConfig } from "@shell-shock/plugin-console";
4
4
  import { HelpPluginContext, HelpPluginOptions, HelpPluginResolvedConfig, HelpPluginUserConfig } from "@shell-shock/plugin-help";
5
5
  import { CommandBase, CommandOption, Context, UserConfig } from "@shell-shock/core";
6
- import { ResolvedConfig as ResolvedConfig$1 } from "powerlines";
6
+ import { ResolvedConfig } from "powerlines";
7
7
  import { BannerPluginContext, BannerPluginOptions, BannerPluginResolvedConfig, BannerPluginUserConfig } from "@shell-shock/plugin-banner";
8
8
  import { PromptsPluginContext, PromptsPluginOptions, PromptsPluginResolvedConfig, PromptsPluginUserConfig } from "@shell-shock/plugin-prompts/types/plugin";
9
9
  import { ThemePluginContext, ThemePluginResolvedConfig, ThemePluginUserConfig } from "@shell-shock/plugin-theme/types/plugin";
@@ -66,7 +66,7 @@ type CLIPresetOptions = Omit<ScriptPresetOptions, "globalOptions"> & HelpPluginO
66
66
  changelog?: ChangelogPluginOptions | false;
67
67
  };
68
68
  type CLIPresetUserConfig = UserConfig & ThemePluginUserConfig & ConsolePluginUserConfig & PromptsPluginUserConfig & BannerPluginUserConfig & HelpPluginUserConfig & CompletionsPluginUserConfig & ChangelogPluginUserConfig & UpgradePluginUserConfig & CLIPresetOptions;
69
- type CLIPresetResolvedConfig = ResolvedConfig$1 & ThemePluginResolvedConfig & ConsolePluginResolvedConfig & PromptsPluginResolvedConfig & BannerPluginResolvedConfig & HelpPluginResolvedConfig & CompletionsPluginResolvedConfig & ChangelogPluginResolvedConfig & UpgradePluginResolvedConfig & Required<CLIPresetOptions>;
69
+ type CLIPresetResolvedConfig = ResolvedConfig & ThemePluginResolvedConfig & ConsolePluginResolvedConfig & PromptsPluginResolvedConfig & BannerPluginResolvedConfig & HelpPluginResolvedConfig & CompletionsPluginResolvedConfig & ChangelogPluginResolvedConfig & UpgradePluginResolvedConfig & Required<CLIPresetOptions>;
70
70
  type CLIPresetContext<TResolvedConfig extends CLIPresetResolvedConfig = CLIPresetResolvedConfig> = Context<TResolvedConfig> & ThemePluginContext<TResolvedConfig> & ConsolePluginContext<TResolvedConfig> & PromptsPluginContext<TResolvedConfig> & BannerPluginContext<TResolvedConfig> & HelpPluginContext<TResolvedConfig> & CompletionsPluginContext<TResolvedConfig> & ChangelogPluginContext<TResolvedConfig> & UpgradePluginContext<TResolvedConfig>;
71
71
  //#endregion
72
72
  export { CLIPresetContext, CLIPresetOptions, CLIPresetResolvedConfig, CLIPresetUserConfig, UpgradeType };
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.mts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;;;;;;;;;;;;KAyEY,WAAA;AAAA,KAEA,gBAAA,GAAmB,IAAA,CAAK,mBAAA,qBAClC,iBAAA,GACA,oBAAA,GACA,oBAAA;;AALF;;;;;AAEA;;;;;EAeI,WAAA;EAbF;;;;;;;;;;;;;;EA6BE,aAAA,GACI,aAAA,OACE,OAAA,EAAS,OAAA,EAAS,KAAA,EAAO,WAAA,KAAgB,aAAA;EAjCf;;;;;;;;;;;EA+ChC,WAAA,GAAc,WAAA;EAAd;;;EAKA,MAAA,GAAS,IAAA,CAAK,mBAAA;EAAA;;;EAKd,WAAA,GAAc,IAAA,CAAK,wBAAA;EAKnB;;;EAAA,SAAA,GAAY,sBAAA;AAAA;AAAA,KAGJ,mBAAA,GAAsB,UAAA,GAChC,qBAAA,GACA,uBAAA,GACA,uBAAA,GACA,sBAAA,GACA,oBAAA,GACA,2BAAA,GACA,yBAAA,GACA,uBAAA,GACA,gBAAA;AAAA,KAEU,uBAAA,GAA0B,gBAAA,GACpC,yBAAA,GACA,2BAAA,GACA,2BAAA,GACA,0BAAA,GACA,wBAAA,GACA,+BAAA,GACA,6BAAA,GACA,2BAAA,GACA,QAAA,CAAS,gBAAA;AAAA,KAEC,gBAAA,yBACc,uBAAA,GAA0B,uBAAA,IAChD,OAAA,CAAQ,eAAA,IACV,kBAAA,CAAmB,eAAA,IACnB,oBAAA,CAAqB,eAAA,IACrB,oBAAA,CAAqB,eAAA,IACrB,mBAAA,CAAoB,eAAA,IACpB,iBAAA,CAAkB,eAAA,IAClB,wBAAA,CAAyB,eAAA,IACzB,sBAAA,CAAuB,eAAA,IACvB,oBAAA,CAAqB,eAAA"}
1
+ {"version":3,"file":"plugin.d.mts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;;;;;;;;;;;;KAyEY,WAAA;AAAA,KAEA,gBAAA,GAAmB,IAAA,CAAK,mBAAA,qBAClC,iBAAA,GACA,oBAAA,GACA,oBAAA;EALU;;;;;AAEZ;;;;;;EAeI,WAAA;EAZF;;;;;;;;;;;;;;EA4BE,aAAA,GACI,aAAA,OACE,OAAA,EAAS,OAAA,EAAS,KAAA,EAAO,WAAA,KAAgB,aAAA;EAhCjD;;;;;;;;;;;EA8CE,WAAA,GAAc,WAAA;EAAA;;;EAKd,MAAA,GAAS,IAAA,CAAK,mBAAA;EAKd;;;EAAA,WAAA,GAAc,IAAA,CAAK,wBAAA;EAKP;;;EAAZ,SAAA,GAAY,sBAAA;AAAA;AAAA,KAGJ,mBAAA,GAAsB,UAAA,GAChC,qBAAA,GACA,uBAAA,GACA,uBAAA,GACA,sBAAA,GACA,oBAAA,GACA,2BAAA,GACA,yBAAA,GACA,uBAAA,GACA,gBAAA;AAAA,KAEU,uBAAA,GAA0B,cAAA,GACpC,yBAAA,GACA,2BAAA,GACA,2BAAA,GACA,0BAAA,GACA,wBAAA,GACA,+BAAA,GACA,6BAAA,GACA,2BAAA,GACA,QAAA,CAAS,gBAAA;AAAA,KAEC,gBAAA,yBACc,uBAAA,GAA0B,uBAAA,IAChD,OAAA,CAAQ,eAAA,IACV,kBAAA,CAAmB,eAAA,IACnB,oBAAA,CAAqB,eAAA,IACrB,oBAAA,CAAqB,eAAA,IACrB,mBAAA,CAAoB,eAAA,IACpB,iBAAA,CAAkB,eAAA,IAClB,wBAAA,CAAyB,eAAA,IACzB,sBAAA,CAAuB,eAAA,IACvB,oBAAA,CAAqB,eAAA"}
@@ -1 +1 @@
1
- export { };
1
+ export{};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shell-shock/preset-cli",
3
- "version": "0.9.19",
3
+ "version": "0.9.20",
4
4
  "private": false,
5
5
  "description": "A package containing a Shell Shock plugin to generate source code given a list design tokens.",
6
6
  "keywords": [
@@ -181,80 +181,28 @@
181
181
  "dependencies": {
182
182
  "@alloy-js/core": "0.23.0-dev.8",
183
183
  "@alloy-js/typescript": "0.23.0-dev.4",
184
- "@powerlines/deepkit": "^0.8.2",
185
- "@powerlines/plugin-alloy": "^0.26.18",
186
- "@powerlines/plugin-plugin": "^0.12.350",
187
- "@shell-shock/core": "^0.17.7",
188
- "@shell-shock/plugin-banner": "^0.1.34",
189
- "@shell-shock/plugin-completions": "^0.4.15",
190
- "@shell-shock/plugin-console": "^0.2.11",
191
- "@shell-shock/plugin-help": "^0.2.25",
192
- "@shell-shock/plugin-prompts": "^0.3.48",
193
- "@shell-shock/plugin-theme": "^0.4.20",
194
- "@shell-shock/plugin-upgrade": "^0.1.52",
195
- "@shell-shock/preset-script": "^0.6.62",
196
- "@stryke/path": "^0.27.4",
197
- "@stryke/string-format": "^0.17.9",
198
- "@stryke/type-checks": "^0.6.1",
184
+ "@powerlines/deepkit": "^0.8.49",
185
+ "@powerlines/plugin-alloy": "^0.26.67",
186
+ "@powerlines/plugin-plugin": "^0.12.399",
187
+ "@shell-shock/core": "^0.17.8",
188
+ "@shell-shock/plugin-banner": "^0.1.35",
189
+ "@shell-shock/plugin-changelog": "^0.1.11",
190
+ "@shell-shock/plugin-completions": "^0.4.16",
191
+ "@shell-shock/plugin-console": "^0.2.12",
192
+ "@shell-shock/plugin-help": "^0.2.26",
193
+ "@shell-shock/plugin-prompts": "^0.3.49",
194
+ "@shell-shock/plugin-theme": "^0.4.21",
195
+ "@shell-shock/plugin-upgrade": "^0.1.53",
196
+ "@shell-shock/preset-script": "^0.6.63",
197
+ "@stryke/path": "^0.28.1",
198
+ "@stryke/string-format": "^0.17.12",
199
+ "@stryke/type-checks": "^0.6.4",
200
+ "@stryke/types": "^0.11.6",
199
201
  "cfonts": "^3.3.1",
200
202
  "defu": "^6.1.7",
201
- "powerlines": "^0.42.40"
203
+ "powerlines": "^0.44.12"
202
204
  },
203
- "devDependencies": {
204
- "@stryke/types": "^0.11.3",
205
- "@types/node": "^25.6.0",
206
- "@types/react": "^19.2.14"
207
- },
208
- "publishConfig": {
209
- "access": "public",
210
- "exports": {
211
- ".": { "require": "./dist/index.cjs", "import": "./dist/index.mjs" },
212
- "./components": {
213
- "require": "./dist/components/index.cjs",
214
- "import": "./dist/components/index.mjs"
215
- },
216
- "./components/banner": {
217
- "require": "./dist/components/banner.cjs",
218
- "import": "./dist/components/banner.mjs"
219
- },
220
- "./types": {
221
- "require": "./dist/types/index.cjs",
222
- "import": "./dist/types/index.mjs"
223
- },
224
- "./types/plugin": {
225
- "require": "./dist/types/plugin.cjs",
226
- "import": "./dist/types/plugin.mjs"
227
- },
228
- "./package.json": "./package.json"
229
- }
230
- },
231
- "inlinedDependencies": {
232
- "@mdit/plugin-alert": "0.23.2",
233
- "@stryke/types": "0.11.3",
234
- "ansi-regex": "6.2.2",
235
- "ansi-styles": "6.2.3",
236
- "entities": ["4.5.0", "6.0.1"],
237
- "get-east-asian-width": "1.5.0",
238
- "he": "1.2.0",
239
- "linkify-it": "5.0.0",
240
- "markdown-it": "14.1.1",
241
- "markdown-it-abbr": "2.0.0",
242
- "markdown-it-container": "4.0.0",
243
- "markdown-it-deflist": "3.0.0",
244
- "markdown-it-footnote": "4.0.0",
245
- "markdown-it-ins": "4.0.0",
246
- "markdown-it-mark": "4.0.0",
247
- "markdown-it-sub": "2.0.0",
248
- "markdown-it-sup": "2.0.0",
249
- "markdown-it-task-lists": "2.1.1",
250
- "mdurl": "2.0.0",
251
- "normalize-html-whitespace": "1.0.0",
252
- "parse5": "8.0.0",
253
- "punycode.js": "2.3.1",
254
- "string-width": "8.2.0",
255
- "strip-ansi": "7.2.0",
256
- "uc.micro": "2.1.0",
257
- "wrap-ansi": "10.0.0"
258
- },
259
- "gitHead": "dcc6ef2c66de17416af3242b25b977c49974b4a1"
205
+ "devDependencies": { "@stryke/types": "^0.11.6", "@types/node": "^25.6.0" },
206
+ "publishConfig": { "access": "public" },
207
+ "gitHead": "832c19e668deb4d29b5e0219a7708d111790f607"
260
208
  }
@@ -1,42 +0,0 @@
1
- //#region \0rolldown/runtime.js
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
9
- var __exportAll = (all, no_symbols) => {
10
- let target = {};
11
- for (var name in all) {
12
- __defProp(target, name, {
13
- get: all[name],
14
- enumerable: true
15
- });
16
- }
17
- if (!no_symbols) {
18
- __defProp(target, Symbol.toStringTag, { value: "Module" });
19
- }
20
- return target;
21
- };
22
- var __copyProps = (to, from, except, desc) => {
23
- if (from && typeof from === "object" || typeof from === "function") {
24
- for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
25
- key = keys[i];
26
- if (!__hasOwnProp.call(to, key) && key !== except) {
27
- __defProp(to, key, {
28
- get: ((k) => from[k]).bind(null, key),
29
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
30
- });
31
- }
32
- }
33
- }
34
- return to;
35
- };
36
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
37
- value: mod,
38
- enumerable: true
39
- }) : target, mod));
40
-
41
- //#endregion
42
- export { __commonJSMin, __exportAll, __toESM };