@h2nguyen/arc42-node-mcp-server 2.0.0 → 2.1.0

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 (222) hide show
  1. package/CHANGELOG.md +63 -0
  2. package/README.md +81 -5
  3. package/dist/templates/formats/asciidoc/index.d.ts +178 -0
  4. package/dist/templates/formats/asciidoc/index.d.ts.map +1 -0
  5. package/dist/templates/formats/asciidoc/index.js +225 -0
  6. package/dist/templates/formats/asciidoc/index.js.map +1 -0
  7. package/dist/templates/formats/index.d.ts +108 -0
  8. package/dist/templates/formats/index.d.ts.map +1 -0
  9. package/dist/templates/formats/index.js +149 -0
  10. package/dist/templates/formats/index.js.map +1 -0
  11. package/dist/templates/formats/markdown/index.d.ts +172 -0
  12. package/dist/templates/formats/markdown/index.d.ts.map +1 -0
  13. package/dist/templates/formats/markdown/index.js +211 -0
  14. package/dist/templates/formats/markdown/index.js.map +1 -0
  15. package/dist/templates/formats/output-format-factory.d.ts +125 -0
  16. package/dist/templates/formats/output-format-factory.d.ts.map +1 -0
  17. package/dist/templates/formats/output-format-factory.js +166 -0
  18. package/dist/templates/formats/output-format-factory.js.map +1 -0
  19. package/dist/templates/formats/output-format-registry.d.ts +114 -0
  20. package/dist/templates/formats/output-format-registry.d.ts.map +1 -0
  21. package/dist/templates/formats/output-format-registry.js +147 -0
  22. package/dist/templates/formats/output-format-registry.js.map +1 -0
  23. package/dist/templates/formats/output-format-strategy.d.ts +195 -0
  24. package/dist/templates/formats/output-format-strategy.d.ts.map +1 -0
  25. package/dist/templates/formats/output-format-strategy.js +69 -0
  26. package/dist/templates/formats/output-format-strategy.js.map +1 -0
  27. package/dist/templates/index.d.ts +9 -8
  28. package/dist/templates/index.d.ts.map +1 -1
  29. package/dist/templates/index.js +21 -10
  30. package/dist/templates/index.js.map +1 -1
  31. package/dist/templates/locales/cz/index.d.ts +25 -3
  32. package/dist/templates/locales/cz/index.d.ts.map +1 -1
  33. package/dist/templates/locales/cz/index.js +34 -18
  34. package/dist/templates/locales/cz/index.js.map +1 -1
  35. package/dist/templates/locales/cz/templates-asciidoc.d.ts +22 -0
  36. package/dist/templates/locales/cz/templates-asciidoc.d.ts.map +1 -0
  37. package/dist/templates/locales/cz/templates-asciidoc.js +764 -0
  38. package/dist/templates/locales/cz/templates-asciidoc.js.map +1 -0
  39. package/dist/templates/locales/cz/{templates.d.ts → templates-markdown.d.ts} +1 -1
  40. package/dist/templates/locales/cz/templates-markdown.d.ts.map +1 -0
  41. package/dist/templates/locales/cz/{templates.js → templates-markdown.js} +1 -1
  42. package/dist/templates/locales/cz/templates-markdown.js.map +1 -0
  43. package/dist/templates/locales/de/index.d.ts +14 -4
  44. package/dist/templates/locales/de/index.d.ts.map +1 -1
  45. package/dist/templates/locales/de/index.js +22 -25
  46. package/dist/templates/locales/de/index.js.map +1 -1
  47. package/dist/templates/locales/de/templates-asciidoc.d.ts +22 -0
  48. package/dist/templates/locales/de/templates-asciidoc.d.ts.map +1 -0
  49. package/dist/templates/locales/de/templates-asciidoc.js +814 -0
  50. package/dist/templates/locales/de/templates-asciidoc.js.map +1 -0
  51. package/dist/templates/locales/de/{templates.d.ts → templates-markdown.d.ts} +1 -1
  52. package/dist/templates/locales/de/templates-markdown.d.ts.map +1 -0
  53. package/dist/templates/locales/de/{templates.js → templates-markdown.js} +1 -1
  54. package/dist/templates/locales/de/templates-markdown.js.map +1 -0
  55. package/dist/templates/locales/en/index.d.ts +14 -4
  56. package/dist/templates/locales/en/index.d.ts.map +1 -1
  57. package/dist/templates/locales/en/index.js +22 -25
  58. package/dist/templates/locales/en/index.js.map +1 -1
  59. package/dist/templates/locales/en/templates-asciidoc.d.ts +22 -0
  60. package/dist/templates/locales/en/templates-asciidoc.d.ts.map +1 -0
  61. package/dist/templates/locales/en/templates-asciidoc.js +764 -0
  62. package/dist/templates/locales/en/templates-asciidoc.js.map +1 -0
  63. package/dist/templates/locales/en/{templates.d.ts → templates-markdown.d.ts} +1 -1
  64. package/dist/templates/locales/en/templates-markdown.d.ts.map +1 -0
  65. package/dist/templates/locales/en/{templates.js → templates-markdown.js} +1 -1
  66. package/dist/templates/locales/en/templates-markdown.js.map +1 -0
  67. package/dist/templates/locales/es/index.d.ts +15 -10
  68. package/dist/templates/locales/es/index.d.ts.map +1 -1
  69. package/dist/templates/locales/es/index.js +23 -31
  70. package/dist/templates/locales/es/index.js.map +1 -1
  71. package/dist/templates/locales/es/templates-asciidoc.d.ts +22 -0
  72. package/dist/templates/locales/es/templates-asciidoc.d.ts.map +1 -0
  73. package/dist/templates/locales/es/templates-asciidoc.js +764 -0
  74. package/dist/templates/locales/es/templates-asciidoc.js.map +1 -0
  75. package/dist/templates/locales/es/{templates.d.ts → templates-markdown.d.ts} +1 -1
  76. package/dist/templates/locales/es/templates-markdown.d.ts.map +1 -0
  77. package/dist/templates/locales/es/{templates.js → templates-markdown.js} +1 -1
  78. package/dist/templates/locales/es/templates-markdown.js.map +1 -0
  79. package/dist/templates/locales/fr/index.d.ts +14 -9
  80. package/dist/templates/locales/fr/index.d.ts.map +1 -1
  81. package/dist/templates/locales/fr/index.js +22 -30
  82. package/dist/templates/locales/fr/index.js.map +1 -1
  83. package/dist/templates/locales/fr/templates-asciidoc.d.ts +22 -0
  84. package/dist/templates/locales/fr/templates-asciidoc.d.ts.map +1 -0
  85. package/dist/templates/locales/fr/templates-asciidoc.js +764 -0
  86. package/dist/templates/locales/fr/templates-asciidoc.js.map +1 -0
  87. package/dist/templates/locales/fr/{templates.d.ts → templates-markdown.d.ts} +1 -1
  88. package/dist/templates/locales/fr/templates-markdown.d.ts.map +1 -0
  89. package/dist/templates/locales/fr/{templates.js → templates-markdown.js} +1 -1
  90. package/dist/templates/locales/fr/templates-markdown.js.map +1 -0
  91. package/dist/templates/locales/it/index.d.ts +14 -9
  92. package/dist/templates/locales/it/index.d.ts.map +1 -1
  93. package/dist/templates/locales/it/index.js +22 -30
  94. package/dist/templates/locales/it/index.js.map +1 -1
  95. package/dist/templates/locales/it/templates-asciidoc.d.ts +22 -0
  96. package/dist/templates/locales/it/templates-asciidoc.d.ts.map +1 -0
  97. package/dist/templates/locales/it/templates-asciidoc.js +764 -0
  98. package/dist/templates/locales/it/templates-asciidoc.js.map +1 -0
  99. package/dist/templates/locales/it/{templates.d.ts → templates-markdown.d.ts} +1 -1
  100. package/dist/templates/locales/it/templates-markdown.d.ts.map +1 -0
  101. package/dist/templates/locales/it/{templates.js → templates-markdown.js} +1 -1
  102. package/dist/templates/locales/it/templates-markdown.js.map +1 -0
  103. package/dist/templates/locales/language-strategy-factory.d.ts +120 -0
  104. package/dist/templates/locales/language-strategy-factory.d.ts.map +1 -0
  105. package/dist/templates/locales/language-strategy-factory.js +127 -0
  106. package/dist/templates/locales/language-strategy-factory.js.map +1 -0
  107. package/dist/templates/locales/language-strategy.d.ts +16 -12
  108. package/dist/templates/locales/language-strategy.d.ts.map +1 -1
  109. package/dist/templates/locales/language-strategy.js.map +1 -1
  110. package/dist/templates/locales/nl/index.d.ts +14 -9
  111. package/dist/templates/locales/nl/index.d.ts.map +1 -1
  112. package/dist/templates/locales/nl/index.js +22 -30
  113. package/dist/templates/locales/nl/index.js.map +1 -1
  114. package/dist/templates/locales/nl/templates-asciidoc.d.ts +22 -0
  115. package/dist/templates/locales/nl/templates-asciidoc.d.ts.map +1 -0
  116. package/dist/templates/locales/nl/templates-asciidoc.js +764 -0
  117. package/dist/templates/locales/nl/templates-asciidoc.js.map +1 -0
  118. package/dist/templates/locales/nl/{templates.d.ts → templates-markdown.d.ts} +1 -1
  119. package/dist/templates/locales/nl/templates-markdown.d.ts.map +1 -0
  120. package/dist/templates/locales/nl/{templates.js → templates-markdown.js} +1 -1
  121. package/dist/templates/locales/nl/templates-markdown.js.map +1 -0
  122. package/dist/templates/locales/pt/index.d.ts +14 -9
  123. package/dist/templates/locales/pt/index.d.ts.map +1 -1
  124. package/dist/templates/locales/pt/index.js +22 -30
  125. package/dist/templates/locales/pt/index.js.map +1 -1
  126. package/dist/templates/locales/pt/templates-asciidoc.d.ts +22 -0
  127. package/dist/templates/locales/pt/templates-asciidoc.d.ts.map +1 -0
  128. package/dist/templates/locales/pt/templates-asciidoc.js +764 -0
  129. package/dist/templates/locales/pt/templates-asciidoc.js.map +1 -0
  130. package/dist/templates/locales/pt/{templates.d.ts → templates-markdown.d.ts} +1 -1
  131. package/dist/templates/locales/pt/templates-markdown.d.ts.map +1 -0
  132. package/dist/templates/locales/pt/{templates.js → templates-markdown.js} +1 -1
  133. package/dist/templates/locales/pt/templates-markdown.js.map +1 -0
  134. package/dist/templates/locales/ru/index.d.ts +19 -3
  135. package/dist/templates/locales/ru/index.d.ts.map +1 -1
  136. package/dist/templates/locales/ru/index.js +28 -24
  137. package/dist/templates/locales/ru/index.js.map +1 -1
  138. package/dist/templates/locales/ru/templates-asciidoc.d.ts +22 -0
  139. package/dist/templates/locales/ru/templates-asciidoc.d.ts.map +1 -0
  140. package/dist/templates/locales/ru/templates-asciidoc.js +996 -0
  141. package/dist/templates/locales/ru/templates-asciidoc.js.map +1 -0
  142. package/dist/templates/locales/ru/{templates.d.ts → templates-markdown.d.ts} +1 -1
  143. package/dist/templates/locales/ru/templates-markdown.d.ts.map +1 -0
  144. package/dist/templates/locales/ru/{templates.js → templates-markdown.js} +1 -1
  145. package/dist/templates/locales/ru/templates-markdown.js.map +1 -0
  146. package/dist/templates/locales/template-provider.d.ts +22 -10
  147. package/dist/templates/locales/template-provider.d.ts.map +1 -1
  148. package/dist/templates/locales/template-provider.js +53 -14
  149. package/dist/templates/locales/template-provider.js.map +1 -1
  150. package/dist/templates/locales/ukr/index.d.ts +25 -3
  151. package/dist/templates/locales/ukr/index.d.ts.map +1 -1
  152. package/dist/templates/locales/ukr/index.js +34 -18
  153. package/dist/templates/locales/ukr/index.js.map +1 -1
  154. package/dist/templates/locales/ukr/templates-asciidoc.d.ts +22 -0
  155. package/dist/templates/locales/ukr/templates-asciidoc.d.ts.map +1 -0
  156. package/dist/templates/locales/ukr/templates-asciidoc.js +764 -0
  157. package/dist/templates/locales/ukr/templates-asciidoc.js.map +1 -0
  158. package/dist/templates/locales/ukr/{templates.d.ts → templates-markdown.d.ts} +1 -1
  159. package/dist/templates/locales/ukr/templates-markdown.d.ts.map +1 -0
  160. package/dist/templates/locales/ukr/{templates.js → templates-markdown.js} +1 -1
  161. package/dist/templates/locales/ukr/templates-markdown.js.map +1 -0
  162. package/dist/templates/locales/zh/index.d.ts +25 -3
  163. package/dist/templates/locales/zh/index.d.ts.map +1 -1
  164. package/dist/templates/locales/zh/index.js +34 -18
  165. package/dist/templates/locales/zh/index.js.map +1 -1
  166. package/dist/templates/locales/zh/templates-asciidoc.d.ts +22 -0
  167. package/dist/templates/locales/zh/templates-asciidoc.d.ts.map +1 -0
  168. package/dist/templates/locales/zh/templates-asciidoc.js +764 -0
  169. package/dist/templates/locales/zh/templates-asciidoc.js.map +1 -0
  170. package/dist/templates/locales/zh/{templates.d.ts → templates-markdown.d.ts} +1 -1
  171. package/dist/templates/locales/zh/templates-markdown.d.ts.map +1 -0
  172. package/dist/templates/locales/zh/{templates.js → templates-markdown.js} +1 -1
  173. package/dist/templates/locales/zh/templates-markdown.js.map +1 -0
  174. package/dist/tools/arc42-init.d.ts +2 -1
  175. package/dist/tools/arc42-init.d.ts.map +1 -1
  176. package/dist/tools/arc42-init.js +154 -24
  177. package/dist/tools/arc42-init.js.map +1 -1
  178. package/dist/tools/arc42-status.d.ts.map +1 -1
  179. package/dist/tools/arc42-status.js +66 -10
  180. package/dist/tools/arc42-status.js.map +1 -1
  181. package/dist/tools/arc42-workflow-guide.d.ts +1 -0
  182. package/dist/tools/arc42-workflow-guide.d.ts.map +1 -1
  183. package/dist/tools/arc42-workflow-guide.js +16 -14
  184. package/dist/tools/arc42-workflow-guide.js.map +1 -1
  185. package/dist/tools/generate-template.d.ts +1 -0
  186. package/dist/tools/generate-template.d.ts.map +1 -1
  187. package/dist/tools/generate-template.js +16 -5
  188. package/dist/tools/generate-template.js.map +1 -1
  189. package/dist/tools/get-section.d.ts.map +1 -1
  190. package/dist/tools/get-section.js +28 -7
  191. package/dist/tools/get-section.js.map +1 -1
  192. package/dist/tools/update-section.d.ts +1 -1
  193. package/dist/tools/update-section.d.ts.map +1 -1
  194. package/dist/tools/update-section.js +71 -8
  195. package/dist/tools/update-section.js.map +1 -1
  196. package/dist/types.d.ts +2 -0
  197. package/dist/types.d.ts.map +1 -1
  198. package/dist/types.js +1 -0
  199. package/dist/types.js.map +1 -1
  200. package/package.json +1 -1
  201. package/dist/templates/locales/cz/templates.d.ts.map +0 -1
  202. package/dist/templates/locales/cz/templates.js.map +0 -1
  203. package/dist/templates/locales/de/templates.d.ts.map +0 -1
  204. package/dist/templates/locales/de/templates.js.map +0 -1
  205. package/dist/templates/locales/en/templates.d.ts.map +0 -1
  206. package/dist/templates/locales/en/templates.js.map +0 -1
  207. package/dist/templates/locales/es/templates.d.ts.map +0 -1
  208. package/dist/templates/locales/es/templates.js.map +0 -1
  209. package/dist/templates/locales/fr/templates.d.ts.map +0 -1
  210. package/dist/templates/locales/fr/templates.js.map +0 -1
  211. package/dist/templates/locales/it/templates.d.ts.map +0 -1
  212. package/dist/templates/locales/it/templates.js.map +0 -1
  213. package/dist/templates/locales/nl/templates.d.ts.map +0 -1
  214. package/dist/templates/locales/nl/templates.js.map +0 -1
  215. package/dist/templates/locales/pt/templates.d.ts.map +0 -1
  216. package/dist/templates/locales/pt/templates.js.map +0 -1
  217. package/dist/templates/locales/ru/templates.d.ts.map +0 -1
  218. package/dist/templates/locales/ru/templates.js.map +0 -1
  219. package/dist/templates/locales/ukr/templates.d.ts.map +0 -1
  220. package/dist/templates/locales/ukr/templates.js.map +0 -1
  221. package/dist/templates/locales/zh/templates.d.ts.map +0 -1
  222. package/dist/templates/locales/zh/templates.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"templates-asciidoc.js","sourceRoot":"","sources":["../../../../src/templates/locales/en/templates-asciidoc.ts"],"names":[],"mappings":"AAAA;;;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;;;;;;;CAmDR,CAAC;AACF,CAAC;AAED,SAAS,mBAAmB;IAC1B,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiER,CAAC;AACF,CAAC;AAED,SAAS,gCAAgC;IACvC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+CR,CAAC;AACF,CAAC;AAED,SAAS,8BAA8B;IACrC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuDR,CAAC;AACF,CAAC;AAED,SAAS,yBAAyB;IAChC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+BR,CAAC;AACF,CAAC;AAED,SAAS,mBAAmB;IAC1B,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkCR,CAAC;AACF,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,gBAAgB;IAC9B,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8FR,CAAC;AACF,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,gBAAgB,CAAC,WAAoB;IACnD,MAAM,IAAI,GAAG,WAAW,IAAI,SAAS,CAAC;IACtC,OAAO,KAAK,IAAI;;6DAE2C,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4ChE,CAAC;AACF,CAAC"}
@@ -19,4 +19,4 @@ export declare function getWorkflowGuide(): string;
19
19
  * Get the English README content
20
20
  */
21
21
  export declare function getReadmeContent(projectName?: string): string;
22
- //# sourceMappingURL=templates.d.ts.map
22
+ //# sourceMappingURL=templates-markdown.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"templates-markdown.d.ts","sourceRoot":"","sources":["../../../../src/templates/locales/en/templates-markdown.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD;;GAEG;AACH,wBAAgB,WAAW,CAAC,OAAO,EAAE,YAAY,GAAG,MAAM,CAiBzD;AAk4BD;;GAEG;AACH,wBAAgB,gBAAgB,IAAI,MAAM,CA2FzC;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAgD7D"}
@@ -1057,4 +1057,4 @@ Use the MCP tools to:
1057
1057
  - [arc42 Examples](https://arc42.org/examples)
1058
1058
  `;
1059
1059
  }
1060
- //# sourceMappingURL=templates.js.map
1060
+ //# sourceMappingURL=templates-markdown.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"templates-markdown.js","sourceRoot":"","sources":["../../../../src/templates/locales/en/templates-markdown.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH;;GAEG;AACH,MAAM,UAAU,WAAW,CAAC,OAAqB;IAC/C,MAAM,SAAS,GAAuC;QACpD,2BAA2B,EAAE,+BAA+B;QAC5D,6BAA6B,EAAE,kCAAkC;QACjE,sBAAsB,EAAE,0BAA0B;QAClD,sBAAsB,EAAE,2BAA2B;QACnD,wBAAwB,EAAE,4BAA4B;QACtD,iBAAiB,EAAE,sBAAsB;QACzC,oBAAoB,EAAE,yBAAyB;QAC/C,aAAa,EAAE,mBAAmB;QAClC,2BAA2B,EAAE,gCAAgC;QAC7D,yBAAyB,EAAE,8BAA8B;QACzD,oBAAoB,EAAE,yBAAyB;QAC/C,aAAa,EAAE,mBAAmB;KACnC,CAAC;IAEF,OAAO,SAAS,CAAC,OAAO,CAAC,EAAE,CAAC;AAC9B,CAAC;AAED,SAAS,+BAA+B;IACtC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqDR,CAAC;AACF,CAAC;AAED,SAAS,kCAAkC;IAC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;;;;;;;;;;;CAkGR,CAAC;AACF,CAAC;AAED,SAAS,yBAAyB;IAChC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgFR,CAAC;AACF,CAAC;AAED,SAAS,mBAAmB;IAC1B,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+CR,CAAC;AACF,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,gBAAgB;IAC9B,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyFR,CAAC;AACF,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,gBAAgB,CAAC,WAAoB;IACnD,MAAM,IAAI,GAAG,WAAW,IAAI,SAAS,CAAC;IACtC,OAAO,KAAK,IAAI;;6DAE2C,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2ChE,CAAC;AACF,CAAC"}
@@ -1,26 +1,31 @@
1
1
  /**
2
2
  * Spanish Language Strategy
3
3
  *
4
- * Implements the LanguageStrategy interface for Spanish (Espanol).
5
- * Provides Spanish section titles, descriptions, and templates.
4
+ * Implements the LanguageStrategy interface for Spanish (Español).
5
+ * Provides Spanish section titles, descriptions, and templates in both Markdown and AsciiDoc formats.
6
6
  *
7
7
  * @module templates/locales/es
8
8
  *
9
- * S.O.L.I.D Principles:
10
- * - LSP (Liskov Substitution Principle): SpanishStrategy is substitutable for LanguageStrategy
11
- * - OCP (Open/Closed Principle): Implements interface without modifying it
12
- *
13
9
  * Design Patterns:
14
10
  * - Strategy Pattern: Concrete implementation for Spanish language
11
+ * - Plugin Pattern: Format-specific templates are provided via plugins
12
+ */
13
+ import { type FormatTemplatePlugin } from '../language-strategy-factory.js';
14
+ /**
15
+ * Spanish Markdown format plugin
16
+ */
17
+ export declare const spanishMarkdownPlugin: FormatTemplatePlugin;
18
+ /**
19
+ * Spanish AsciiDoc format plugin
15
20
  */
16
- import type { LanguageStrategy } from '../language-strategy.js';
21
+ export declare const spanishAsciidocPlugin: FormatTemplatePlugin;
17
22
  /**
18
23
  * Spanish Language Strategy
19
24
  *
20
25
  * Provides Spanish translations for arc42 documentation.
21
- * Based on official arc42 Spanish template from vendor/arc42-template/ES/.
22
26
  */
23
- export declare const spanishStrategy: LanguageStrategy;
27
+ export declare const spanishStrategy: import("../language-strategy.js").LanguageStrategy;
24
28
  export { getSectionTitle, getSectionDescription } from './sections.js';
25
- export { getTemplate, getWorkflowGuide, getReadmeContent } from './templates.js';
29
+ export { getTemplate as getTemplateMarkdown, getWorkflowGuide as getWorkflowGuideMarkdown, getReadmeContent as getReadmeContentMarkdown } from './templates-markdown.js';
30
+ export { getTemplate as getTemplateAsciidoc, getWorkflowGuide as getWorkflowGuideAsciidoc, getReadmeContent as getReadmeContentAsciidoc } from './templates-asciidoc.js';
26
31
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/templates/locales/es/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,gBAAgB,EAAoC,MAAM,yBAAyB,CAAC;AAIlG;;;;;GAKG;AACH,eAAO,MAAM,eAAe,EAAE,gBA8B7B,CAAC;AAGF,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AACvE,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/templates/locales/es/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAaH,OAAO,EAGL,KAAK,oBAAoB,EAC1B,MAAM,iCAAiC,CAAC;AAEzC;;GAEG;AACH,eAAO,MAAM,qBAAqB,EAAE,oBAInC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,qBAAqB,EAAE,oBAInC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,eAAe,oDAU1B,CAAC;AAGH,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AACvE,OAAO,EACL,WAAW,IAAI,mBAAmB,EAClC,gBAAgB,IAAI,wBAAwB,EAC5C,gBAAgB,IAAI,wBAAwB,EAC7C,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,WAAW,IAAI,mBAAmB,EAClC,gBAAgB,IAAI,wBAAwB,EAC5C,gBAAgB,IAAI,wBAAwB,EAC7C,MAAM,yBAAyB,CAAC"}
@@ -1,53 +1,45 @@
1
1
  /**
2
2
  * Spanish Language Strategy
3
3
  *
4
- * Implements the LanguageStrategy interface for Spanish (Espanol).
5
- * Provides Spanish section titles, descriptions, and templates.
4
+ * Implements the LanguageStrategy interface for Spanish (Español).
5
+ * Provides Spanish section titles, descriptions, and templates in both Markdown and AsciiDoc formats.
6
6
  *
7
7
  * @module templates/locales/es
8
8
  *
9
- * S.O.L.I.D Principles:
10
- * - LSP (Liskov Substitution Principle): SpanishStrategy is substitutable for LanguageStrategy
11
- * - OCP (Open/Closed Principle): Implements interface without modifying it
12
- *
13
9
  * Design Patterns:
14
10
  * - Strategy Pattern: Concrete implementation for Spanish language
11
+ * - Plugin Pattern: Format-specific templates are provided via plugins
15
12
  */
16
13
  import { getSectionTitle, getSectionDescription } from './sections.js';
17
- import { getTemplate, getWorkflowGuide, getReadmeContent } from './templates.js';
14
+ import { getTemplate as getTemplateMarkdown, getWorkflowGuide as getWorkflowGuideMarkdown, getReadmeContent as getReadmeContentMarkdown } from './templates-markdown.js';
15
+ import { getTemplate as getTemplateAsciidoc, getWorkflowGuide as getWorkflowGuideAsciidoc, getReadmeContent as getReadmeContentAsciidoc } from './templates-asciidoc.js';
16
+ import { createLanguageStrategy, createFormatPlugin } from '../language-strategy-factory.js';
17
+ /**
18
+ * Spanish Markdown format plugin
19
+ */
20
+ export const spanishMarkdownPlugin = createFormatPlugin(getTemplateMarkdown, getWorkflowGuideMarkdown, getReadmeContentMarkdown);
21
+ /**
22
+ * Spanish AsciiDoc format plugin
23
+ */
24
+ export const spanishAsciidocPlugin = createFormatPlugin(getTemplateAsciidoc, getWorkflowGuideAsciidoc, getReadmeContentAsciidoc);
18
25
  /**
19
26
  * Spanish Language Strategy
20
27
  *
21
28
  * Provides Spanish translations for arc42 documentation.
22
- * Based on official arc42 Spanish template from vendor/arc42-template/ES/.
23
29
  */
24
- export const spanishStrategy = {
30
+ export const spanishStrategy = createLanguageStrategy({
25
31
  code: 'ES',
26
32
  name: 'Spanish',
27
33
  nativeName: 'Español',
28
- getSectionTitle(section) {
29
- return {
30
- title: getSectionTitle(section),
31
- section
32
- };
33
- },
34
- getSectionDescription(section) {
35
- return {
36
- description: getSectionDescription(section),
37
- section
38
- };
39
- },
40
- getTemplate(section) {
41
- return getTemplate(section);
42
- },
43
- getWorkflowGuide() {
44
- return getWorkflowGuide();
45
- },
46
- getReadmeContent(projectName) {
47
- return getReadmeContent(projectName);
34
+ getSectionTitle,
35
+ getSectionDescription,
36
+ formatPlugins: {
37
+ markdown: spanishMarkdownPlugin,
38
+ asciidoc: spanishAsciidocPlugin
48
39
  }
49
- };
40
+ });
50
41
  // Re-export for convenience
51
42
  export { getSectionTitle, getSectionDescription } from './sections.js';
52
- export { getTemplate, getWorkflowGuide, getReadmeContent } from './templates.js';
43
+ export { getTemplate as getTemplateMarkdown, getWorkflowGuide as getWorkflowGuideMarkdown, getReadmeContent as getReadmeContentMarkdown } from './templates-markdown.js';
44
+ export { getTemplate as getTemplateAsciidoc, getWorkflowGuide as getWorkflowGuideAsciidoc, getReadmeContent as getReadmeContentAsciidoc } from './templates-asciidoc.js';
53
45
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/templates/locales/es/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AACvE,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAEjF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,eAAe,GAAqB;IAC/C,IAAI,EAAE,IAAI;IACV,IAAI,EAAE,SAAS;IACf,UAAU,EAAE,SAAS;IAErB,eAAe,CAAC,OAAqB;QACnC,OAAO;YACL,KAAK,EAAE,eAAe,CAAC,OAAO,CAAC;YAC/B,OAAO;SACR,CAAC;IACJ,CAAC;IAED,qBAAqB,CAAC,OAAqB;QACzC,OAAO;YACL,WAAW,EAAE,qBAAqB,CAAC,OAAO,CAAC;YAC3C,OAAO;SACR,CAAC;IACJ,CAAC;IAED,WAAW,CAAC,OAAqB;QAC/B,OAAO,WAAW,CAAC,OAAO,CAAC,CAAC;IAC9B,CAAC;IAED,gBAAgB;QACd,OAAO,gBAAgB,EAAE,CAAC;IAC5B,CAAC;IAED,gBAAgB,CAAC,WAAoB;QACnC,OAAO,gBAAgB,CAAC,WAAW,CAAC,CAAC;IACvC,CAAC;CACF,CAAC;AAEF,4BAA4B;AAC5B,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AACvE,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/templates/locales/es/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AACvE,OAAO,EACL,WAAW,IAAI,mBAAmB,EAClC,gBAAgB,IAAI,wBAAwB,EAC5C,gBAAgB,IAAI,wBAAwB,EAC7C,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,WAAW,IAAI,mBAAmB,EAClC,gBAAgB,IAAI,wBAAwB,EAC5C,gBAAgB,IAAI,wBAAwB,EAC7C,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,sBAAsB,EACtB,kBAAkB,EAEnB,MAAM,iCAAiC,CAAC;AAEzC;;GAEG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAyB,kBAAkB,CAC3E,mBAAmB,EACnB,wBAAwB,EACxB,wBAAwB,CACzB,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAyB,kBAAkB,CAC3E,mBAAmB,EACnB,wBAAwB,EACxB,wBAAwB,CACzB,CAAC;AAEF;;;;GAIG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,sBAAsB,CAAC;IACpD,IAAI,EAAE,IAAI;IACV,IAAI,EAAE,SAAS;IACf,UAAU,EAAE,SAAS;IACrB,eAAe;IACf,qBAAqB;IACrB,aAAa,EAAE;QACb,QAAQ,EAAE,qBAAqB;QAC/B,QAAQ,EAAE,qBAAqB;KAChC;CACF,CAAC,CAAC;AAEH,4BAA4B;AAC5B,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AACvE,OAAO,EACL,WAAW,IAAI,mBAAmB,EAClC,gBAAgB,IAAI,wBAAwB,EAC5C,gBAAgB,IAAI,wBAAwB,EAC7C,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,WAAW,IAAI,mBAAmB,EAClC,gBAAgB,IAAI,wBAAwB,EAC5C,gBAAgB,IAAI,wBAAwB,EAC7C,MAAM,yBAAyB,CAAC"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Spanish Templates - AsciiDoc Format
3
+ *
4
+ * Contains all arc42 section templates in Spanish using AsciiDoc syntax.
5
+ * Based on the official arc42 templates from vendor/arc42-template.
6
+ *
7
+ * @module templates/locales/es/templates-asciidoc
8
+ */
9
+ import type { Arc42Section } from '../../../types.js';
10
+ /**
11
+ * Get the Spanish AsciiDoc template for a specific section
12
+ */
13
+ export declare function getTemplate(section: Arc42Section): string;
14
+ /**
15
+ * Get the Spanish workflow guide in AsciiDoc format
16
+ */
17
+ export declare function getWorkflowGuide(): string;
18
+ /**
19
+ * Get the Spanish README content in AsciiDoc format
20
+ */
21
+ export declare function getReadmeContent(projectName?: string): string;
22
+ //# sourceMappingURL=templates-asciidoc.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"templates-asciidoc.d.ts","sourceRoot":"","sources":["../../../../src/templates/locales/es/templates-asciidoc.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD;;GAEG;AACH,wBAAgB,WAAW,CAAC,OAAO,EAAE,YAAY,GAAG,MAAM,CAiBzD;AAolBD;;GAEG;AACH,wBAAgB,gBAAgB,IAAI,MAAM,CAgGzC;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAiD7D"}