@shell-shock/core 0.17.8 → 0.17.11

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 (272) hide show
  1. package/dist/_virtual/_rolldown/runtime.cjs +29 -1
  2. package/dist/api.cjs +36 -1
  3. package/dist/api.cjs.map +1 -0
  4. package/dist/api.d.cts +2 -77
  5. package/dist/api.d.cts.map +1 -1
  6. package/dist/api.d.mts +2 -76
  7. package/dist/api.d.mts.map +1 -1
  8. package/dist/api.mjs +35 -1
  9. package/dist/api.mjs.map +1 -1
  10. package/dist/components/command-validation-logic.cjs +291 -1
  11. package/dist/components/command-validation-logic.cjs.map +1 -0
  12. package/dist/components/command-validation-logic.d.cts +1 -3
  13. package/dist/components/command-validation-logic.d.cts.map +1 -1
  14. package/dist/components/command-validation-logic.d.mts +1 -3
  15. package/dist/components/command-validation-logic.d.mts.map +1 -1
  16. package/dist/components/command-validation-logic.mjs +288 -1
  17. package/dist/components/command-validation-logic.mjs.map +1 -1
  18. package/dist/components/docs.cjs +265 -1
  19. package/dist/components/docs.cjs.map +1 -0
  20. package/dist/components/docs.d.cts +4 -5
  21. package/dist/components/docs.d.cts.map +1 -1
  22. package/dist/components/docs.d.mts +4 -5
  23. package/dist/components/docs.d.mts.map +1 -1
  24. package/dist/components/docs.mjs +256 -1
  25. package/dist/components/docs.mjs.map +1 -1
  26. package/dist/components/exec-builtin.cjs +429 -15
  27. package/dist/components/exec-builtin.cjs.map +1 -0
  28. package/dist/components/exec-builtin.d.cts +1 -2
  29. package/dist/components/exec-builtin.d.cts.map +1 -1
  30. package/dist/components/exec-builtin.d.mts +1 -2
  31. package/dist/components/exec-builtin.d.mts.map +1 -1
  32. package/dist/components/exec-builtin.mjs +424 -15
  33. package/dist/components/exec-builtin.mjs.map +1 -1
  34. package/dist/components/helpers.cjs +119 -1
  35. package/dist/components/helpers.cjs.map +1 -0
  36. package/dist/components/helpers.d.cts +6 -8
  37. package/dist/components/helpers.d.cts.map +1 -1
  38. package/dist/components/helpers.d.mts +6 -8
  39. package/dist/components/helpers.d.mts.map +1 -1
  40. package/dist/components/helpers.mjs +111 -1
  41. package/dist/components/helpers.mjs.map +1 -1
  42. package/dist/components/index.cjs +58 -1
  43. package/dist/components/index.mjs +10 -1
  44. package/dist/components/options-parser-logic.cjs +959 -5
  45. package/dist/components/options-parser-logic.cjs.map +1 -0
  46. package/dist/components/options-parser-logic.d.cts +8 -9
  47. package/dist/components/options-parser-logic.d.cts.map +1 -1
  48. package/dist/components/options-parser-logic.d.mts +8 -9
  49. package/dist/components/options-parser-logic.d.mts.map +1 -1
  50. package/dist/components/options-parser-logic.mjs +944 -5
  51. package/dist/components/options-parser-logic.mjs.map +1 -1
  52. package/dist/components/state-builtin.cjs +630 -8
  53. package/dist/components/state-builtin.cjs.map +1 -0
  54. package/dist/components/state-builtin.d.cts +4 -5
  55. package/dist/components/state-builtin.d.cts.map +1 -1
  56. package/dist/components/state-builtin.d.mts +4 -5
  57. package/dist/components/state-builtin.d.mts.map +1 -1
  58. package/dist/components/state-builtin.mjs +622 -8
  59. package/dist/components/state-builtin.mjs.map +1 -1
  60. package/dist/components/usage.cjs +116 -1
  61. package/dist/components/usage.cjs.map +1 -0
  62. package/dist/components/usage.d.cts +1 -2
  63. package/dist/components/usage.d.cts.map +1 -1
  64. package/dist/components/usage.d.mts +1 -2
  65. package/dist/components/usage.d.mts.map +1 -1
  66. package/dist/components/usage.mjs +113 -1
  67. package/dist/components/usage.mjs.map +1 -1
  68. package/dist/components/utils-builtin.cjs +839 -33
  69. package/dist/components/utils-builtin.cjs.map +1 -0
  70. package/dist/components/utils-builtin.d.cts +7 -8
  71. package/dist/components/utils-builtin.d.cts.map +1 -1
  72. package/dist/components/utils-builtin.d.mts +7 -8
  73. package/dist/components/utils-builtin.d.mts.map +1 -1
  74. package/dist/components/utils-builtin.mjs +828 -33
  75. package/dist/components/utils-builtin.mjs.map +1 -1
  76. package/dist/config.cjs +65 -1
  77. package/dist/config.cjs.map +1 -0
  78. package/dist/config.d.cts +29 -8
  79. package/dist/config.d.cts.map +1 -1
  80. package/dist/config.d.mts +29 -8
  81. package/dist/config.d.mts.map +1 -1
  82. package/dist/config.mjs +62 -1
  83. package/dist/config.mjs.map +1 -1
  84. package/dist/contexts/command.cjs +26 -1
  85. package/dist/contexts/command.cjs.map +1 -0
  86. package/dist/contexts/command.d.cts.map +1 -1
  87. package/dist/contexts/command.d.mts.map +1 -1
  88. package/dist/contexts/command.mjs +23 -1
  89. package/dist/contexts/command.mjs.map +1 -1
  90. package/dist/contexts/index.cjs +9 -1
  91. package/dist/contexts/index.mjs +4 -1
  92. package/dist/contexts/options.cjs +63 -1
  93. package/dist/contexts/options.cjs.map +1 -0
  94. package/dist/contexts/options.d.cts.map +1 -1
  95. package/dist/contexts/options.d.mts.map +1 -1
  96. package/dist/contexts/options.mjs +57 -1
  97. package/dist/contexts/options.mjs.map +1 -1
  98. package/dist/engine.cjs +138 -0
  99. package/dist/engine.cjs.map +1 -0
  100. package/dist/engine.d.cts +79 -0
  101. package/dist/engine.d.cts.map +1 -0
  102. package/dist/engine.d.mts +79 -0
  103. package/dist/engine.d.mts.map +1 -0
  104. package/dist/engine.mjs +136 -0
  105. package/dist/engine.mjs.map +1 -0
  106. package/dist/helpers/automd.cjs +70 -1
  107. package/dist/helpers/automd.cjs.map +1 -0
  108. package/dist/helpers/automd.mjs +69 -1
  109. package/dist/helpers/automd.mjs.map +1 -1
  110. package/dist/helpers/docs-helpers.cjs +23 -1
  111. package/dist/helpers/docs-helpers.cjs.map +1 -0
  112. package/dist/helpers/docs-helpers.mjs +22 -1
  113. package/dist/helpers/docs-helpers.mjs.map +1 -1
  114. package/dist/helpers/get-framework.cjs +24 -0
  115. package/dist/helpers/get-framework.cjs.map +1 -0
  116. package/dist/helpers/get-framework.mjs +24 -0
  117. package/dist/helpers/get-framework.mjs.map +1 -0
  118. package/dist/helpers/paths.cjs +137 -1
  119. package/dist/helpers/paths.cjs.map +1 -0
  120. package/dist/helpers/paths.mjs +133 -1
  121. package/dist/helpers/paths.mjs.map +1 -1
  122. package/dist/helpers/persistence.cjs +113 -1
  123. package/dist/helpers/persistence.cjs.map +1 -0
  124. package/dist/helpers/persistence.mjs +112 -1
  125. package/dist/helpers/persistence.mjs.map +1 -1
  126. package/dist/helpers/update-package-json.cjs +65 -1
  127. package/dist/helpers/update-package-json.cjs.map +1 -0
  128. package/dist/helpers/update-package-json.mjs +63 -1
  129. package/dist/helpers/update-package-json.mjs.map +1 -1
  130. package/dist/helpers/utilities.cjs +95 -1
  131. package/dist/helpers/utilities.cjs.map +1 -0
  132. package/dist/helpers/utilities.mjs +93 -1
  133. package/dist/helpers/utilities.mjs.map +1 -1
  134. package/dist/helpers/validations.cjs +71 -1
  135. package/dist/helpers/validations.cjs.map +1 -0
  136. package/dist/helpers/validations.mjs +69 -1
  137. package/dist/helpers/validations.mjs.map +1 -1
  138. package/dist/index.cjs +123 -1
  139. package/dist/index.cjs.map +1 -0
  140. package/dist/index.d.cts +80 -5
  141. package/dist/index.d.cts.map +1 -0
  142. package/dist/index.d.mts +80 -5
  143. package/dist/index.d.mts.map +1 -0
  144. package/dist/index.mjs +119 -1
  145. package/dist/index.mjs.map +1 -0
  146. package/dist/package.cjs +12 -0
  147. package/dist/package.cjs.map +1 -0
  148. package/dist/package.mjs +6 -0
  149. package/dist/package.mjs.map +1 -0
  150. package/dist/plugin-utils/compute-bin.cjs +48 -1
  151. package/dist/plugin-utils/compute-bin.cjs.map +1 -0
  152. package/dist/plugin-utils/compute-bin.d.cts +2 -2
  153. package/dist/plugin-utils/compute-bin.d.cts.map +1 -1
  154. package/dist/plugin-utils/compute-bin.d.mts +2 -2
  155. package/dist/plugin-utils/compute-bin.d.mts.map +1 -1
  156. package/dist/plugin-utils/compute-bin.mjs +47 -1
  157. package/dist/plugin-utils/compute-bin.mjs.map +1 -1
  158. package/dist/plugin-utils/context-helpers.cjs +224 -1
  159. package/dist/plugin-utils/context-helpers.cjs.map +1 -0
  160. package/dist/plugin-utils/context-helpers.d.cts +4 -4
  161. package/dist/plugin-utils/context-helpers.d.cts.map +1 -1
  162. package/dist/plugin-utils/context-helpers.d.mts +4 -4
  163. package/dist/plugin-utils/context-helpers.d.mts.map +1 -1
  164. package/dist/plugin-utils/context-helpers.mjs +214 -1
  165. package/dist/plugin-utils/context-helpers.mjs.map +1 -1
  166. package/dist/plugin-utils/deepkit.cjs +70 -1
  167. package/dist/plugin-utils/deepkit.cjs.map +1 -0
  168. package/dist/plugin-utils/deepkit.d.cts +5 -5
  169. package/dist/plugin-utils/deepkit.d.cts.map +1 -1
  170. package/dist/plugin-utils/deepkit.d.mts +5 -5
  171. package/dist/plugin-utils/deepkit.d.mts.map +1 -1
  172. package/dist/plugin-utils/deepkit.mjs +68 -1
  173. package/dist/plugin-utils/deepkit.mjs.map +1 -1
  174. package/dist/plugin-utils/description-helpers.cjs +112 -2
  175. package/dist/plugin-utils/description-helpers.cjs.map +1 -0
  176. package/dist/plugin-utils/description-helpers.d.cts.map +1 -1
  177. package/dist/plugin-utils/description-helpers.d.mts.map +1 -1
  178. package/dist/plugin-utils/description-helpers.mjs +107 -2
  179. package/dist/plugin-utils/description-helpers.mjs.map +1 -1
  180. package/dist/plugin-utils/get-command-tree.cjs +118 -1
  181. package/dist/plugin-utils/get-command-tree.cjs.map +1 -0
  182. package/dist/plugin-utils/get-command-tree.d.cts.map +1 -1
  183. package/dist/plugin-utils/get-command-tree.d.mts.map +1 -1
  184. package/dist/plugin-utils/get-command-tree.mjs +114 -1
  185. package/dist/plugin-utils/get-command-tree.mjs.map +1 -1
  186. package/dist/plugin-utils/index.cjs +39 -1
  187. package/dist/plugin-utils/index.d.cts +2 -2
  188. package/dist/plugin-utils/index.d.mts +2 -2
  189. package/dist/plugin-utils/index.mjs +10 -1
  190. package/dist/plugin-utils/reflect.cjs +52 -1
  191. package/dist/plugin-utils/reflect.cjs.map +1 -0
  192. package/dist/plugin-utils/reflect.d.cts.map +1 -1
  193. package/dist/plugin-utils/reflect.d.mts.map +1 -1
  194. package/dist/plugin-utils/reflect.mjs +50 -1
  195. package/dist/plugin-utils/reflect.mjs.map +1 -1
  196. package/dist/plugin-utils/traverse-command-tree.cjs +65 -1
  197. package/dist/plugin-utils/traverse-command-tree.cjs.map +1 -0
  198. package/dist/plugin-utils/traverse-command-tree.d.cts.map +1 -1
  199. package/dist/plugin-utils/traverse-command-tree.d.mts.map +1 -1
  200. package/dist/plugin-utils/traverse-command-tree.mjs +62 -1
  201. package/dist/plugin-utils/traverse-command-tree.mjs.map +1 -1
  202. package/dist/plugin-utils/type-checks.cjs +222 -1
  203. package/dist/plugin-utils/type-checks.cjs.map +1 -0
  204. package/dist/plugin-utils/type-checks.d.cts +5 -5
  205. package/dist/plugin-utils/type-checks.d.cts.map +1 -1
  206. package/dist/plugin-utils/type-checks.d.mts +5 -5
  207. package/dist/plugin-utils/type-checks.d.mts.map +1 -1
  208. package/dist/plugin-utils/type-checks.mjs +217 -1
  209. package/dist/plugin-utils/type-checks.mjs.map +1 -1
  210. package/dist/plugin.cjs +495 -4
  211. package/dist/plugin.cjs.map +1 -0
  212. package/dist/plugin.d.cts.map +1 -1
  213. package/dist/plugin.d.mts.map +1 -1
  214. package/dist/plugin.mjs +488 -4
  215. package/dist/plugin.mjs.map +1 -1
  216. package/dist/resolver/helpers.cjs +182 -1
  217. package/dist/resolver/helpers.cjs.map +1 -0
  218. package/dist/resolver/helpers.mjs +178 -1
  219. package/dist/resolver/helpers.mjs.map +1 -1
  220. package/dist/resolver/resolve.cjs +479 -1
  221. package/dist/resolver/resolve.cjs.map +1 -0
  222. package/dist/resolver/resolve.mjs +478 -1
  223. package/dist/resolver/resolve.mjs.map +1 -1
  224. package/dist/types/command.cjs +402 -1
  225. package/dist/types/command.cjs.map +1 -0
  226. package/dist/types/command.d.cts +61 -119
  227. package/dist/types/command.d.cts.map +1 -1
  228. package/dist/types/command.d.mts +61 -119
  229. package/dist/types/command.d.mts.map +1 -1
  230. package/dist/types/command.mjs +367 -1
  231. package/dist/types/command.mjs.map +1 -1
  232. package/dist/types/config.cjs +175 -1
  233. package/dist/types/config.cjs.map +1 -0
  234. package/dist/types/config.d.cts +19 -12
  235. package/dist/types/config.d.cts.map +1 -1
  236. package/dist/types/config.d.mts +19 -12
  237. package/dist/types/config.d.mts.map +1 -1
  238. package/dist/types/config.mjs +163 -1
  239. package/dist/types/config.mjs.map +1 -1
  240. package/dist/types/context.cjs +45 -1
  241. package/dist/types/context.cjs.map +1 -0
  242. package/dist/types/context.d.cts +3 -2
  243. package/dist/types/context.d.cts.map +1 -1
  244. package/dist/types/context.d.mts +3 -2
  245. package/dist/types/context.d.mts.map +1 -1
  246. package/dist/types/context.mjs +40 -1
  247. package/dist/types/context.mjs.map +1 -1
  248. package/dist/types/env.cjs +53 -1
  249. package/dist/types/env.cjs.map +1 -0
  250. package/dist/types/env.d.cts +1 -1
  251. package/dist/types/env.d.cts.map +1 -1
  252. package/dist/types/env.d.mts +1 -1
  253. package/dist/types/env.d.mts.map +1 -1
  254. package/dist/types/env.mjs +50 -1
  255. package/dist/types/env.mjs.map +1 -1
  256. package/dist/types/index.cjs +53 -1
  257. package/dist/types/index.d.cts +4 -4
  258. package/dist/types/index.d.mts +4 -4
  259. package/dist/types/index.mjs +6 -1
  260. package/dist/types/options.cjs +13 -1
  261. package/dist/types/options.cjs.map +1 -0
  262. package/dist/types/options.d.cts.map +1 -1
  263. package/dist/types/options.d.mts.map +1 -1
  264. package/dist/types/options.mjs +10 -1
  265. package/dist/types/options.mjs.map +1 -1
  266. package/package.json +43 -34
  267. package/dist/resolver/deepkit.cjs +0 -1
  268. package/dist/resolver/deepkit.mjs +0 -2
  269. package/dist/resolver/deepkit.mjs.map +0 -1
  270. package/dist/resolver/module.cjs +0 -1
  271. package/dist/resolver/module.mjs +0 -2
  272. package/dist/resolver/module.mjs.map +0 -1
@@ -1,5 +1,4 @@
1
1
  import { CommandTree } from "../types/command.cjs";
2
- import * as _$_alloy_js_core0 from "@alloy-js/core";
3
2
  import { MarkdownFileProps } from "@powerlines/plugin-alloy/markdown/components/markdown-file";
4
3
 
5
4
  //#region src/components/docs.d.ts
@@ -12,7 +11,7 @@ interface CommandOptionsDocsProps {
12
11
  /**
13
12
  * Generates the options markdown documentation for a command.
14
13
  */
15
- declare function CommandOptionsDocs(props: CommandOptionsDocsProps): _$_alloy_js_core0.Children;
14
+ declare function CommandOptionsDocs(props: CommandOptionsDocsProps): import("@alloy-js/core").Children;
16
15
  interface CommandDocsUsageExampleProps {
17
16
  /**
18
17
  * The package manager to generate the usage example for.
@@ -31,7 +30,7 @@ interface CommandDocsUsageExampleProps {
31
30
  /**
32
31
  * Generates the markdown documentation for a command.
33
32
  */
34
- declare function CommandDocsUsageExample(props: CommandDocsUsageExampleProps): _$_alloy_js_core0.Children;
33
+ declare function CommandDocsUsageExample(props: CommandDocsUsageExampleProps): import("@alloy-js/core").Children;
35
34
  interface CommandDocsProps {
36
35
  /**
37
36
  * The heading level offset to apply to the generated documentation.
@@ -56,7 +55,7 @@ interface CommandDocsProps {
56
55
  /**
57
56
  * Generates the markdown documentation for a command.
58
57
  */
59
- declare function CommandDocs(props: CommandDocsProps): _$_alloy_js_core0.Children;
58
+ declare function CommandDocs(props: CommandDocsProps): import("@alloy-js/core").Children;
60
59
  interface CommandDocsFileProps extends Partial<MarkdownFileProps> {
61
60
  /**
62
61
  * The heading level offset to apply to the generated documentation.
@@ -75,7 +74,7 @@ interface CommandDocsFileProps extends Partial<MarkdownFileProps> {
75
74
  /**
76
75
  * Generates the markdown documentation file for a command.
77
76
  */
78
- declare function CommandDocsFile(props: CommandDocsFileProps): _$_alloy_js_core0.Children;
77
+ declare function CommandDocsFile(props: CommandDocsFileProps): import("@alloy-js/core").Children;
79
78
  //#endregion
80
79
  export { CommandDocs, CommandDocsFile, CommandDocsFileProps, CommandDocsProps, CommandDocsUsageExample, CommandDocsUsageExampleProps, CommandOptionsDocs, CommandOptionsDocsProps };
81
80
  //# sourceMappingURL=docs.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"docs.d.cts","names":[],"sources":["../../src/components/docs.tsx"],"mappings":";;;;;UAmCiB,uBAAA;;;AAAjB;EAIE,OAAA,EAAS,WAAA;AAAA;;;AAMX;iBAAgB,kBAAA,CAAmB,KAAA,EAAO,uBAAA,GAAuB,iBAAA,CAAA,QAAA;AAAA,UA4BhD,4BAAA;EA5BgD;;;;;;AA4BjE;;EASE,cAAA;EAKoB;;;EAApB,OAAA,EAAS,WAAA;AAAA;;AAMX;;iBAAgB,uBAAA,CAAwB,KAAA,EAAO,4BAAA,GAA4B,iBAAA,CAAA,QAAA;AAAA,UAsB1D,gBAAA;EAtB8B;;;;;AAsB/C;;;EASE,WAAA;EAYyB;;;EAPzB,OAAA,EAAS,WAAA;EALT;;;;;EAYA,aAAA,GAAgB,QAAA,CAAS,4BAAA;AAAA;;AAM3B;;iBAAgB,WAAA,CAAY,KAAA,EAAO,gBAAA,GAAgB,iBAAA,CAAA,QAAA;AAAA,UAwClC,oBAAA,SAA6B,OAAA,CAAQ,iBAAA;EAxCnB;;;;;AAwCnC;;;EASE,WAAA;EAKS;;;EAAT,OAAA,EAAS,WAAA;AAAA;;;;iBAMK,eAAA,CAAgB,KAAA,EAAO,oBAAA,GAAoB,iBAAA,CAAA,QAAA"}
1
+ {"version":3,"file":"docs.d.cts","names":[],"sources":["../../src/components/docs.tsx"],"mappings":";;;;UAmCiB,uBAAA;;AAAjB;;EAIE,OAAA,EAAS,WAAW;AAAA;AAAA;AAMtB;;AANsB,iBAMN,kBAAA,CAAmB,KAAA,EAAO,uBAAuB,4BAAA,QAAA;AAAA,UA4BhD,4BAAA;EA5ByB;;;;AAAuB;AA4BjE;;;EASE,cAAA;EAAA;;;EAKA,OAAA,EAAS,WAAW;AAAA;AAMtB;;;AAAA,iBAAgB,uBAAA,CAAwB,KAAA,EAAO,4BAA4B,4BAAA,QAAA;AAAA,UAsB1D,gBAAA;EAtBuB;;;AAAmC;AAsB3E;;;;EASE,WAAA;EAYgB;;;EAPhB,OAAA,EAAS,WAAA;EAAT;;;;;EAOA,aAAA,GAAgB,QAAA,CAAS,4BAAA;AAAA;AAM3B;;;AAAA,iBAAgB,WAAA,CAAY,KAAA,EAAO,gBAAgB,4BAAA,QAAA;AAAA,UAwClC,oBAAA,SAA6B,OAAA,CAAQ,iBAAA;EAxC1B;;;AAAuB;AAwCnD;;;;EASE,WAAA;EAT4C;;;EAc5C,OAAA,EAAS,WAAA;AAAA;;;;iBAMK,eAAA,CAAgB,KAAA,EAAO,oBAAoB,4BAAA,QAAA"}
@@ -1,5 +1,4 @@
1
1
  import { CommandTree } from "../types/command.mjs";
2
- import * as _$_alloy_js_core0 from "@alloy-js/core";
3
2
  import { MarkdownFileProps } from "@powerlines/plugin-alloy/markdown/components/markdown-file";
4
3
 
5
4
  //#region src/components/docs.d.ts
@@ -12,7 +11,7 @@ interface CommandOptionsDocsProps {
12
11
  /**
13
12
  * Generates the options markdown documentation for a command.
14
13
  */
15
- declare function CommandOptionsDocs(props: CommandOptionsDocsProps): _$_alloy_js_core0.Children;
14
+ declare function CommandOptionsDocs(props: CommandOptionsDocsProps): import("@alloy-js/core").Children;
16
15
  interface CommandDocsUsageExampleProps {
17
16
  /**
18
17
  * The package manager to generate the usage example for.
@@ -31,7 +30,7 @@ interface CommandDocsUsageExampleProps {
31
30
  /**
32
31
  * Generates the markdown documentation for a command.
33
32
  */
34
- declare function CommandDocsUsageExample(props: CommandDocsUsageExampleProps): _$_alloy_js_core0.Children;
33
+ declare function CommandDocsUsageExample(props: CommandDocsUsageExampleProps): import("@alloy-js/core").Children;
35
34
  interface CommandDocsProps {
36
35
  /**
37
36
  * The heading level offset to apply to the generated documentation.
@@ -56,7 +55,7 @@ interface CommandDocsProps {
56
55
  /**
57
56
  * Generates the markdown documentation for a command.
58
57
  */
59
- declare function CommandDocs(props: CommandDocsProps): _$_alloy_js_core0.Children;
58
+ declare function CommandDocs(props: CommandDocsProps): import("@alloy-js/core").Children;
60
59
  interface CommandDocsFileProps extends Partial<MarkdownFileProps> {
61
60
  /**
62
61
  * The heading level offset to apply to the generated documentation.
@@ -75,7 +74,7 @@ interface CommandDocsFileProps extends Partial<MarkdownFileProps> {
75
74
  /**
76
75
  * Generates the markdown documentation file for a command.
77
76
  */
78
- declare function CommandDocsFile(props: CommandDocsFileProps): _$_alloy_js_core0.Children;
77
+ declare function CommandDocsFile(props: CommandDocsFileProps): import("@alloy-js/core").Children;
79
78
  //#endregion
80
79
  export { CommandDocs, CommandDocsFile, CommandDocsFileProps, CommandDocsProps, CommandDocsUsageExample, CommandDocsUsageExampleProps, CommandOptionsDocs, CommandOptionsDocsProps };
81
80
  //# sourceMappingURL=docs.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"docs.d.mts","names":[],"sources":["../../src/components/docs.tsx"],"mappings":";;;;;UAmCiB,uBAAA;;;AAAjB;EAIE,OAAA,EAAS,WAAA;AAAA;;;AAMX;iBAAgB,kBAAA,CAAmB,KAAA,EAAO,uBAAA,GAAuB,iBAAA,CAAA,QAAA;AAAA,UA4BhD,4BAAA;EA5BgD;;;;;;AA4BjE;;EASE,cAAA;EAKoB;;;EAApB,OAAA,EAAS,WAAA;AAAA;;AAMX;;iBAAgB,uBAAA,CAAwB,KAAA,EAAO,4BAAA,GAA4B,iBAAA,CAAA,QAAA;AAAA,UAsB1D,gBAAA;EAtB8B;;;;;AAsB/C;;;EASE,WAAA;EAYyB;;;EAPzB,OAAA,EAAS,WAAA;EALT;;;;;EAYA,aAAA,GAAgB,QAAA,CAAS,4BAAA;AAAA;;AAM3B;;iBAAgB,WAAA,CAAY,KAAA,EAAO,gBAAA,GAAgB,iBAAA,CAAA,QAAA;AAAA,UAwClC,oBAAA,SAA6B,OAAA,CAAQ,iBAAA;EAxCnB;;;;;AAwCnC;;;EASE,WAAA;EAKS;;;EAAT,OAAA,EAAS,WAAA;AAAA;;;;iBAMK,eAAA,CAAgB,KAAA,EAAO,oBAAA,GAAoB,iBAAA,CAAA,QAAA"}
1
+ {"version":3,"file":"docs.d.mts","names":[],"sources":["../../src/components/docs.tsx"],"mappings":""}
@@ -1,2 +1,257 @@
1
- import{CommandContext as e}from"../contexts/command.mjs";import{getDocsOutputPath as t}from"../helpers/docs-helpers.mjs";import{getAppBin as n}from"../plugin-utils/context-helpers.mjs";import{sortOptions as r}from"../plugin-utils/reflect.mjs";import{Usage as i}from"./usage.mjs";import{createComponent as a,createIntrinsic as o,memo as s,mergeProps as c}from"@alloy-js/core/jsx-runtime";import{defu as l}from"defu";import{For as u,Show as d,code as f,memo as p}from"@alloy-js/core";import{Heading as m}from"@alloy-js/markdown";import{Spacing as h}from"@powerlines/plugin-alloy/core/components/spacing";import{usePowerlines as g}from"@powerlines/plugin-alloy/core/contexts/context";import{MarkdownFile as _}from"@powerlines/plugin-alloy/markdown/components/markdown-file";import{MarkdownTable as v}from"@powerlines/plugin-alloy/markdown/components/markdown-table";import{joinPaths as y}from"@stryke/path/join";const b=[`T`,`Required`,`l+e#!e"!fRb!Pde"!gN##w"y`],x=[`T`,`Partial`,`l+e#!e"!fRb!Pde"!gN#"w"y`];function S(e,t){return e.__type=t,e}const C=[`CommandTree`,`command`,`The command to generate options documentation for.`,`CommandOptionsDocsProps`,`P"w!4"?#Mw$y`];function w(e){let{command:t}=e;return Object.keys(t.options).length===0?f`This command does not have any options.`:a(v,{get data(){return r(Object.values(t.options)).map(S(e=>({name:e.name.trim(),description:e.description.trim(),defaultValue:e.default?String(e.default)?.includes(`"`)?e.default:`\`${Array.isArray(e.default)?e.default.join(`, `):e.default}\``:``,required:e.optional||e.default?``:`✔`}),[`option`,``,`P"2!"/"`]))}})}w.__type=[()=>C,`props`,`CommandOptionsDocs`,`Generates the options markdown documentation for a command.`,`Pn!2""/#?$`];const T=[`npm`,`yarn`,`pnpm`,`bun`,`packageManager`,`npm`,`The package manager to generate the usage example for.`,`CommandTree`,`command`,`The command to generate the usage example for.`,`CommandDocsUsageExampleProps`,`PP.!.".#.$J4%8>&?'"w(4)?*Mw+y`];function E(e){let{packageManager:t=`npm`,command:r}=e,s=(g.Ω=[[`Context`,`"w!`]],g());return[o(`hbr`,{}),f`\`\`\`bash `,o(`hbr`,{}),a(i,{command:r,get bin(){return n(s)},packageManager:t}),o(`hbr`,{}),f`\`\`\``,o(`hbr`,{})]}E.__type=[()=>T,`props`,`CommandDocsUsageExample`,`Generates the markdown documentation for a command.`,`Pn!2""/#?$`];const D=[`levelOffset`,0,`The heading level offset to apply to the generated documentation.`,`CommandTree`,`command`,`The command to generate options documentation for.`,()=>b,()=>T,`packageManager`,`usageExamples`,'`["npm"]`',`Optional usage examples to include in the documentation.`,`CommandDocsProps`,`P'4!8>"?#"w$4%?&n(o'".)fF4*8>+?,Mw-y`];function O(e){let{levelOffset:t=0,command:n,usageExamples:r}=e;return[a(m,{level:1+t,get children(){return n.title}}),a(h,{}),s(()=>f`${n.description}`),a(h,{}),a(m,{level:2+t,children:`Usage`}),a(h,{}),s(()=>f`The ${n.name} command can be executed using the following syntax: `),a(h,{}),a(d,{get when(){return r&&r.length>0},get fallback(){return a(E,{packageManager:`npm`,command:n})},get children(){return a(u,{each:r,hardline:!0,get children(){return S(e=>a(E,{packageManager:e,command:n}),[`packageManager`,``,`P"2!"/"`])}})}}),a(h,{}),a(m,{level:2+t,children:`Options`}),a(h,{}),s(()=>f`The following options are available for the ${n.name} command:`),a(h,{}),a(w,{command:n}),a(h,{})]}O.__type=[()=>D,`props`,`CommandDocs`,`Generates the markdown documentation for a command.`,`Pn!2""/#?$`];const k=[()=>x,`levelOffset`,0,`The heading level offset to apply to the generated documentation.`,`CommandTree`,`command`,`The command to generate documentation for.`,`CommandDocsFileProps`,`P!o!"'4"8>#?$"w%4&?'Mw(y`];function A(n){let{levelOffset:r=0,command:i,frontMatter:o,...s}=n,u=(g.Ω=[[`Context`,`"w!`]],g()),d=p(()=>[`npm`,`yarn`,`pnpm`,`bun`]);return a(e.Provider,{value:i,get children(){return a(_,c({get path(){return y(t(u),`${i.path}.md`)}},s,{get frontMatter(){return l(o??{},{id:i.id,name:i.name,path:i.path,reference:i.reference,isVirtual:i.isVirtual,title:i.title,description:i.description,tags:i.tags})},get children(){return a(O,{levelOffset:r,command:i,get usageExamples(){return d()}})}}))}})}A.__type=[()=>k,`props`,`CommandDocsFile`,`Generates the markdown documentation file for a command.`,`Pn!2""/#?$`];export{O as CommandDocs,A as CommandDocsFile,E as CommandDocsUsageExample,w as CommandOptionsDocs,k as __ΩCommandDocsFileProps,D as __ΩCommandDocsProps,T as __ΩCommandDocsUsageExampleProps,C as __ΩCommandOptionsDocsProps};
1
+ import { CommandContext } from "../contexts/command.mjs";
2
+ import { getDocsOutputPath } from "../helpers/docs-helpers.mjs";
3
+ import { getAppBin } from "../plugin-utils/context-helpers.mjs";
4
+ import { sortOptions } from "../plugin-utils/reflect.mjs";
5
+ import { Usage } from "./usage.mjs";
6
+ import { createComponent, createIntrinsic, memo, mergeProps } from "@alloy-js/core/jsx-runtime";
7
+ import { For, Show, code, memo as memo$1 } from "@alloy-js/core";
8
+ import { defu } from "defu";
9
+ import { Heading } from "@alloy-js/markdown";
10
+ import { Spacing } from "@powerlines/plugin-alloy/core/components/spacing";
11
+ import { usePowerlines } from "@powerlines/plugin-alloy/core/contexts/context";
12
+ import { MarkdownFile } from "@powerlines/plugin-alloy/markdown/components/markdown-file";
13
+ import { MarkdownTable } from "@powerlines/plugin-alloy/markdown/components/markdown-table";
14
+ import { joinPaths } from "@stryke/path/join";
15
+
16
+ //#region src/components/docs.tsx
17
+ const __ΩRequired = [
18
+ "T",
19
+ "Required",
20
+ "l+e#!e\"!fRb!Pde\"!gN##w\"y"
21
+ ];
22
+ const __ΩPartial = [
23
+ "T",
24
+ "Partial",
25
+ "l+e#!e\"!fRb!Pde\"!gN#\"w\"y"
26
+ ];
27
+ function __assignType(fn, args) {
28
+ fn.__type = args;
29
+ return fn;
30
+ }
31
+ const __ΩCommandOptionsDocsProps = [
32
+ "CommandTree",
33
+ "command",
34
+ "The command to generate options documentation for.",
35
+ "CommandOptionsDocsProps",
36
+ "P\"w!4\"?#Mw$y"
37
+ ];
38
+ /**
39
+ * Generates the options markdown documentation for a command.
40
+ */
41
+ function CommandOptionsDocs(props) {
42
+ const { command } = props;
43
+ if (Object.keys(command.options).length === 0) return code`This command does not have any options.`;
44
+ return createComponent(MarkdownTable, { get data() {
45
+ return sortOptions(Object.values(command.options)).map(__assignType((option) => {
46
+ return {
47
+ name: option.name.trim(),
48
+ description: option.description.trim(),
49
+ defaultValue: option.default ? String(option.default)?.includes("\"") ? option.default : `\`${Array.isArray(option.default) ? option.default.join(", ") : option.default}\`` : "",
50
+ required: !option.required || option.default ? "" : "✔"
51
+ };
52
+ }, [
53
+ "option",
54
+ "",
55
+ "P\"2!\"/\""
56
+ ]));
57
+ } });
58
+ }
59
+ CommandOptionsDocs.__type = [
60
+ () => __ΩCommandOptionsDocsProps,
61
+ "props",
62
+ "CommandOptionsDocs",
63
+ "Generates the options markdown documentation for a command.",
64
+ "Pn!2\"\"/#?$"
65
+ ];
66
+ const __ΩCommandDocsUsageExampleProps = [
67
+ "npm",
68
+ "yarn",
69
+ "pnpm",
70
+ "bun",
71
+ "packageManager",
72
+ "npm",
73
+ "The package manager to generate the usage example for.",
74
+ "CommandTree",
75
+ "command",
76
+ "The command to generate the usage example for.",
77
+ "CommandDocsUsageExampleProps",
78
+ "PP.!.\".#.$J4%8>&?'\"w(4)?*Mw+y"
79
+ ];
80
+ /**
81
+ * Generates the markdown documentation for a command.
82
+ */
83
+ function CommandDocsUsageExample(props) {
84
+ const { packageManager = "npm", command } = props;
85
+ const context = (usePowerlines.Ω = [["Context", "\"w!"]], usePowerlines());
86
+ return [
87
+ createIntrinsic("hbr", {}),
88
+ code`\`\`\`bash `,
89
+ createIntrinsic("hbr", {}),
90
+ createComponent(Usage, {
91
+ command,
92
+ get bin() {
93
+ return getAppBin(context);
94
+ },
95
+ packageManager
96
+ }),
97
+ createIntrinsic("hbr", {}),
98
+ code`\`\`\``,
99
+ createIntrinsic("hbr", {})
100
+ ];
101
+ }
102
+ CommandDocsUsageExample.__type = [
103
+ () => __ΩCommandDocsUsageExampleProps,
104
+ "props",
105
+ "CommandDocsUsageExample",
106
+ "Generates the markdown documentation for a command.",
107
+ "Pn!2\"\"/#?$"
108
+ ];
109
+ const __ΩCommandDocsProps = [
110
+ "levelOffset",
111
+ 0,
112
+ "The heading level offset to apply to the generated documentation.",
113
+ "CommandTree",
114
+ "command",
115
+ "The command to generate options documentation for.",
116
+ () => __ΩRequired,
117
+ () => __ΩCommandDocsUsageExampleProps,
118
+ "packageManager",
119
+ "usageExamples",
120
+ "`[\"npm\"]`",
121
+ "Optional usage examples to include in the documentation.",
122
+ "CommandDocsProps",
123
+ "P'4!8>\"?#\"w$4%?&n(o'\".)fF4*8>+?,Mw-y"
124
+ ];
125
+ /**
126
+ * Generates the markdown documentation for a command.
127
+ */
128
+ function CommandDocs(props) {
129
+ const { levelOffset = 0, command, usageExamples } = props;
130
+ return [
131
+ createComponent(Heading, {
132
+ level: 1 + levelOffset,
133
+ get children() {
134
+ return command.title;
135
+ }
136
+ }),
137
+ createComponent(Spacing, {}),
138
+ memo(() => code`${command.description}`),
139
+ createComponent(Spacing, {}),
140
+ createComponent(Heading, {
141
+ level: 2 + levelOffset,
142
+ children: "Usage"
143
+ }),
144
+ createComponent(Spacing, {}),
145
+ memo(() => code`The ${command.name} command can be executed using the following syntax: `),
146
+ createComponent(Spacing, {}),
147
+ createComponent(Show, {
148
+ get when() {
149
+ return usageExamples && usageExamples.length > 0;
150
+ },
151
+ get fallback() {
152
+ return createComponent(CommandDocsUsageExample, {
153
+ packageManager: "npm",
154
+ command
155
+ });
156
+ },
157
+ get children() {
158
+ return createComponent(For, {
159
+ each: usageExamples,
160
+ hardline: true,
161
+ get children() {
162
+ return __assignType((packageManager) => createComponent(CommandDocsUsageExample, {
163
+ packageManager,
164
+ command
165
+ }), [
166
+ "packageManager",
167
+ "",
168
+ "P\"2!\"/\""
169
+ ]);
170
+ }
171
+ });
172
+ }
173
+ }),
174
+ createComponent(Spacing, {}),
175
+ createComponent(Heading, {
176
+ level: 2 + levelOffset,
177
+ children: "Options"
178
+ }),
179
+ createComponent(Spacing, {}),
180
+ memo(() => code`The following options are available for the ${command.name} command:`),
181
+ createComponent(Spacing, {}),
182
+ createComponent(CommandOptionsDocs, { command }),
183
+ createComponent(Spacing, {})
184
+ ];
185
+ }
186
+ CommandDocs.__type = [
187
+ () => __ΩCommandDocsProps,
188
+ "props",
189
+ "CommandDocs",
190
+ "Generates the markdown documentation for a command.",
191
+ "Pn!2\"\"/#?$"
192
+ ];
193
+ const __ΩCommandDocsFileProps = [
194
+ () => __ΩPartial,
195
+ "levelOffset",
196
+ 0,
197
+ "The heading level offset to apply to the generated documentation.",
198
+ "CommandTree",
199
+ "command",
200
+ "The command to generate documentation for.",
201
+ "CommandDocsFileProps",
202
+ "P!o!\"'4\"8>#?$\"w%4&?'Mw(y"
203
+ ];
204
+ /**
205
+ * Generates the markdown documentation file for a command.
206
+ */
207
+ function CommandDocsFile(props) {
208
+ const { levelOffset = 0, command, frontMatter, ...rest } = props;
209
+ const context = (usePowerlines.Ω = [["Context", "\"w!"]], usePowerlines());
210
+ const usageExamples = memo$1(() => [
211
+ "npm",
212
+ "yarn",
213
+ "pnpm",
214
+ "bun"
215
+ ]);
216
+ return createComponent(CommandContext.Provider, {
217
+ value: command,
218
+ get children() {
219
+ return createComponent(MarkdownFile, mergeProps({ get path() {
220
+ return joinPaths(getDocsOutputPath(context), `${command.path}.md`);
221
+ } }, rest, {
222
+ get frontMatter() {
223
+ return defu(frontMatter ?? {}, {
224
+ id: command.id,
225
+ name: command.name,
226
+ path: command.path,
227
+ reference: command.docs,
228
+ virtual: command.virtual,
229
+ title: command.title,
230
+ description: command.description,
231
+ tags: command.tags
232
+ });
233
+ },
234
+ get children() {
235
+ return createComponent(CommandDocs, {
236
+ levelOffset,
237
+ command,
238
+ get usageExamples() {
239
+ return usageExamples();
240
+ }
241
+ });
242
+ }
243
+ }));
244
+ }
245
+ });
246
+ }
247
+ CommandDocsFile.__type = [
248
+ () => __ΩCommandDocsFileProps,
249
+ "props",
250
+ "CommandDocsFile",
251
+ "Generates the markdown documentation file for a command.",
252
+ "Pn!2\"\"/#?$"
253
+ ];
254
+
255
+ //#endregion
256
+ export { CommandDocs, CommandDocsFile, CommandDocsUsageExample, CommandOptionsDocs, __ΩCommandDocsFileProps, __ΩCommandDocsProps, __ΩCommandDocsUsageExampleProps, __ΩCommandOptionsDocsProps };
2
257
  //# sourceMappingURL=docs.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"docs.mjs","names":[],"sources":["../../src/components/docs.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, memo, Show } from \"@alloy-js/core\";\nimport { Heading } from \"@alloy-js/markdown\";\nimport { Spacing } from \"@powerlines/plugin-alloy/core/components/spacing\";\nimport { usePowerlines } from \"@powerlines/plugin-alloy/core/contexts/context\";\nimport type { MarkdownFileProps } from \"@powerlines/plugin-alloy/markdown/components/markdown-file\";\nimport { MarkdownFile } from \"@powerlines/plugin-alloy/markdown/components/markdown-file\";\nimport { MarkdownTable } from \"@powerlines/plugin-alloy/markdown/components/markdown-table\";\nimport { joinPaths } from \"@stryke/path/join\";\nimport { defu } from \"defu\";\nimport { CommandContext } from \"../contexts/command\";\nimport { getDocsOutputPath } from \"../helpers/docs-helpers\";\nimport { getAppBin } from \"../plugin-utils/context-helpers\";\nimport { sortOptions } from \"../plugin-utils/reflect\";\nimport type { CommandTree } from \"../types/command\";\nimport type { Context } from \"../types/context\";\nimport { Usage } from \"./usage\";\n\nexport interface CommandOptionsDocsProps {\n /**\n * The command to generate options documentation for.\n */\n command: CommandTree;\n}\n\n/**\n * Generates the options markdown documentation for a command.\n */\nexport function CommandOptionsDocs(props: CommandOptionsDocsProps) {\n const { command } = props;\n if (Object.keys(command.options).length === 0) {\n return code`This command does not have any options.`;\n }\n\n return (\n <MarkdownTable\n data={sortOptions(Object.values(command.options)).map(option => {\n return {\n name: option.name.trim(),\n description: option.description.trim(),\n defaultValue: option.default\n ? String(option.default)?.includes('\"')\n ? option.default\n : `\\`${\n Array.isArray(option.default)\n ? option.default.join(\", \")\n : option.default\n }\\``\n : \"\",\n required: option.optional || option.default ? \"\" : \"✔\"\n };\n })}\n />\n );\n}\n\nexport interface CommandDocsUsageExampleProps {\n /**\n * The package manager to generate the usage example for.\n *\n * @remarks\n * If not specified, examples for all supported package managers will be generated.\n *\n * @defaultValue \"npm\"\n */\n packageManager?: \"npm\" | \"yarn\" | \"pnpm\" | \"bun\";\n\n /**\n * The command to generate the usage example for.\n */\n command: CommandTree;\n}\n\n/**\n * Generates the markdown documentation for a command.\n */\nexport function CommandDocsUsageExample(props: CommandDocsUsageExampleProps) {\n const { packageManager = \"npm\", command } = props;\n\n const context = usePowerlines<Context>();\n\n return (\n <>\n <hbr />\n {code`\\`\\`\\`bash `}\n <hbr />\n <Usage\n command={command}\n bin={getAppBin(context)}\n packageManager={packageManager}\n />\n <hbr />\n {code`\\`\\`\\``}\n <hbr />\n </>\n );\n}\n\nexport interface CommandDocsProps {\n /**\n * The heading level offset to apply to the generated documentation.\n *\n * @remarks\n * This is useful when nesting the documentation within other markdown files.\n *\n * @defaultValue 0\n */\n levelOffset?: number;\n\n /**\n * The command to generate options documentation for.\n */\n command: CommandTree;\n\n /**\n * Optional usage examples to include in the documentation.\n *\n * @defaultValue `[\"npm\"]`\n */\n usageExamples?: Required<CommandDocsUsageExampleProps>[\"packageManager\"][];\n}\n\n/**\n * Generates the markdown documentation for a command.\n */\nexport function CommandDocs(props: CommandDocsProps) {\n const { levelOffset = 0, command, usageExamples } = props;\n\n return (\n <>\n <Heading level={1 + levelOffset}>{command.title}</Heading>\n <Spacing />\n {code`${command.description}`}\n <Spacing />\n <Heading level={2 + levelOffset}>Usage</Heading>\n <Spacing />\n {code`The ${command.name} command can be executed using the following syntax: `}\n <Spacing />\n <Show\n when={usageExamples && usageExamples.length > 0}\n fallback={\n <CommandDocsUsageExample packageManager=\"npm\" command={command} />\n }>\n <For each={usageExamples!} hardline>\n {packageManager => (\n <CommandDocsUsageExample\n packageManager={packageManager}\n command={command}\n />\n )}\n </For>\n </Show>\n <Spacing />\n <Heading level={2 + levelOffset}>Options</Heading>\n <Spacing />\n {code`The following options are available for the ${\n command.name\n } command:`}\n <Spacing />\n <CommandOptionsDocs command={command} />\n <Spacing />\n </>\n );\n}\n\nexport interface CommandDocsFileProps extends Partial<MarkdownFileProps> {\n /**\n * The heading level offset to apply to the generated documentation.\n *\n * @remarks\n * This is useful when nesting the documentation within other markdown files.\n *\n * @defaultValue 0\n */\n levelOffset?: number;\n\n /**\n * The command to generate documentation for.\n */\n command: CommandTree;\n}\n\n/**\n * Generates the markdown documentation file for a command.\n */\nexport function CommandDocsFile(props: CommandDocsFileProps) {\n const { levelOffset = 0, command, frontMatter, ...rest } = props;\n\n const context = usePowerlines<Context>();\n const usageExamples = memo(\n () => [\"npm\", \"yarn\", \"pnpm\", \"bun\"] as CommandDocsProps[\"usageExamples\"]\n );\n\n return (\n <CommandContext.Provider value={command}>\n <MarkdownFile\n path={joinPaths(getDocsOutputPath(context), `${command.path}.md`)}\n {...rest}\n frontMatter={defu(frontMatter ?? {}, {\n id: command.id,\n name: command.name,\n path: command.path,\n reference: command.reference,\n isVirtual: command.isVirtual,\n title: command.title,\n description: command.description,\n tags: command.tags\n })}>\n <CommandDocs\n levelOffset={levelOffset}\n command={command}\n usageExamples={usageExamples()}\n />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