@eui/mcp 1.5.0 → 1.5.2

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 (481) hide show
  1. package/dist/main.js +539 -208
  2. package/package.json +9 -6
  3. package/dist/config/__tests__/schema.property.test.d.ts +0 -2
  4. package/dist/config/__tests__/schema.property.test.d.ts.map +0 -1
  5. package/dist/config/__tests__/schema.property.test.js +0 -203
  6. package/dist/config/__tests__/schema.property.test.js.map +0 -1
  7. package/dist/config/__tests__/schema.test.d.ts +0 -2
  8. package/dist/config/__tests__/schema.test.d.ts.map +0 -1
  9. package/dist/config/__tests__/schema.test.js +0 -454
  10. package/dist/config/__tests__/schema.test.js.map +0 -1
  11. package/dist/config/index.d.ts +0 -6
  12. package/dist/config/index.d.ts.map +0 -1
  13. package/dist/config/index.js +0 -6
  14. package/dist/config/index.js.map +0 -1
  15. package/dist/config/loader.d.ts +0 -27
  16. package/dist/config/loader.d.ts.map +0 -1
  17. package/dist/config/loader.js +0 -224
  18. package/dist/config/loader.js.map +0 -1
  19. package/dist/config/schema.d.ts +0 -171
  20. package/dist/config/schema.d.ts.map +0 -1
  21. package/dist/config/schema.js +0 -100
  22. package/dist/config/schema.js.map +0 -1
  23. package/dist/index.d.ts +0 -3
  24. package/dist/index.d.ts.map +0 -1
  25. package/dist/index.js +0 -45
  26. package/dist/index.js.map +0 -1
  27. package/dist/loader/__tests__/cache-manager.property.test.d.ts +0 -2
  28. package/dist/loader/__tests__/cache-manager.property.test.d.ts.map +0 -1
  29. package/dist/loader/__tests__/cache-manager.property.test.js +0 -245
  30. package/dist/loader/__tests__/cache-manager.property.test.js.map +0 -1
  31. package/dist/loader/__tests__/cache-manager.test.d.ts +0 -2
  32. package/dist/loader/__tests__/cache-manager.test.d.ts.map +0 -1
  33. package/dist/loader/__tests__/cache-manager.test.js +0 -256
  34. package/dist/loader/__tests__/cache-manager.test.js.map +0 -1
  35. package/dist/loader/__tests__/documentation-loader.integration.test.d.ts +0 -2
  36. package/dist/loader/__tests__/documentation-loader.integration.test.d.ts.map +0 -1
  37. package/dist/loader/__tests__/documentation-loader.integration.test.js +0 -498
  38. package/dist/loader/__tests__/documentation-loader.integration.test.js.map +0 -1
  39. package/dist/loader/__tests__/documentation-loader.property.test.d.ts +0 -2
  40. package/dist/loader/__tests__/documentation-loader.property.test.d.ts.map +0 -1
  41. package/dist/loader/__tests__/documentation-loader.property.test.js +0 -258
  42. package/dist/loader/__tests__/documentation-loader.property.test.js.map +0 -1
  43. package/dist/loader/__tests__/errors.test.d.ts +0 -2
  44. package/dist/loader/__tests__/errors.test.d.ts.map +0 -1
  45. package/dist/loader/__tests__/errors.test.js +0 -132
  46. package/dist/loader/__tests__/errors.test.js.map +0 -1
  47. package/dist/loader/__tests__/http-client.property.test.d.ts +0 -2
  48. package/dist/loader/__tests__/http-client.property.test.d.ts.map +0 -1
  49. package/dist/loader/__tests__/http-client.property.test.js +0 -288
  50. package/dist/loader/__tests__/http-client.property.test.js.map +0 -1
  51. package/dist/loader/__tests__/http-client.test.d.ts +0 -2
  52. package/dist/loader/__tests__/http-client.test.d.ts.map +0 -1
  53. package/dist/loader/__tests__/http-client.test.js +0 -497
  54. package/dist/loader/__tests__/http-client.test.js.map +0 -1
  55. package/dist/loader/__tests__/local-documentation-source.property.test.d.ts +0 -2
  56. package/dist/loader/__tests__/local-documentation-source.property.test.d.ts.map +0 -1
  57. package/dist/loader/__tests__/local-documentation-source.property.test.js +0 -373
  58. package/dist/loader/__tests__/local-documentation-source.property.test.js.map +0 -1
  59. package/dist/loader/__tests__/local-documentation-source.test.d.ts +0 -2
  60. package/dist/loader/__tests__/local-documentation-source.test.d.ts.map +0 -1
  61. package/dist/loader/__tests__/local-documentation-source.test.js +0 -544
  62. package/dist/loader/__tests__/local-documentation-source.test.js.map +0 -1
  63. package/dist/loader/__tests__/path-type-detector.property.test.d.ts +0 -2
  64. package/dist/loader/__tests__/path-type-detector.property.test.d.ts.map +0 -1
  65. package/dist/loader/__tests__/path-type-detector.property.test.js +0 -245
  66. package/dist/loader/__tests__/path-type-detector.property.test.js.map +0 -1
  67. package/dist/loader/__tests__/path-type-detector.test.d.ts +0 -2
  68. package/dist/loader/__tests__/path-type-detector.test.d.ts.map +0 -1
  69. package/dist/loader/__tests__/path-type-detector.test.js +0 -390
  70. package/dist/loader/__tests__/path-type-detector.test.js.map +0 -1
  71. package/dist/loader/__tests__/remote-documentation-source.property.test.d.ts +0 -2
  72. package/dist/loader/__tests__/remote-documentation-source.property.test.d.ts.map +0 -1
  73. package/dist/loader/__tests__/remote-documentation-source.property.test.js +0 -462
  74. package/dist/loader/__tests__/remote-documentation-source.property.test.js.map +0 -1
  75. package/dist/loader/__tests__/remote-documentation-source.test.d.ts +0 -2
  76. package/dist/loader/__tests__/remote-documentation-source.test.d.ts.map +0 -1
  77. package/dist/loader/__tests__/remote-documentation-source.test.js +0 -707
  78. package/dist/loader/__tests__/remote-documentation-source.test.js.map +0 -1
  79. package/dist/loader/cache-manager.d.ts +0 -74
  80. package/dist/loader/cache-manager.d.ts.map +0 -1
  81. package/dist/loader/cache-manager.js +0 -107
  82. package/dist/loader/cache-manager.js.map +0 -1
  83. package/dist/loader/documentation-loader.d.ts +0 -57
  84. package/dist/loader/documentation-loader.d.ts.map +0 -1
  85. package/dist/loader/documentation-loader.js +0 -81
  86. package/dist/loader/documentation-loader.js.map +0 -1
  87. package/dist/loader/documentation-source.d.ts +0 -37
  88. package/dist/loader/documentation-source.d.ts.map +0 -1
  89. package/dist/loader/documentation-source.js +0 -2
  90. package/dist/loader/documentation-source.js.map +0 -1
  91. package/dist/loader/errors.d.ts +0 -34
  92. package/dist/loader/errors.d.ts.map +0 -1
  93. package/dist/loader/errors.js +0 -65
  94. package/dist/loader/errors.js.map +0 -1
  95. package/dist/loader/http-client.d.ts +0 -43
  96. package/dist/loader/http-client.d.ts.map +0 -1
  97. package/dist/loader/http-client.js +0 -144
  98. package/dist/loader/http-client.js.map +0 -1
  99. package/dist/loader/index.d.ts +0 -6
  100. package/dist/loader/index.d.ts.map +0 -1
  101. package/dist/loader/index.js +0 -5
  102. package/dist/loader/index.js.map +0 -1
  103. package/dist/loader/local-documentation-source.d.ts +0 -62
  104. package/dist/loader/local-documentation-source.d.ts.map +0 -1
  105. package/dist/loader/local-documentation-source.js +0 -190
  106. package/dist/loader/local-documentation-source.js.map +0 -1
  107. package/dist/loader/path-type-detector.d.ts +0 -34
  108. package/dist/loader/path-type-detector.d.ts.map +0 -1
  109. package/dist/loader/path-type-detector.js +0 -78
  110. package/dist/loader/path-type-detector.js.map +0 -1
  111. package/dist/loader/remote-documentation-source.d.ts +0 -108
  112. package/dist/loader/remote-documentation-source.d.ts.map +0 -1
  113. package/dist/loader/remote-documentation-source.js +0 -249
  114. package/dist/loader/remote-documentation-source.js.map +0 -1
  115. package/dist/main.d.ts +0 -3
  116. package/dist/main.d.ts.map +0 -1
  117. package/dist/main.js.map +0 -1
  118. package/dist/mcp/__tests__/server.property.test.d.ts +0 -2
  119. package/dist/mcp/__tests__/server.property.test.d.ts.map +0 -1
  120. package/dist/mcp/__tests__/server.property.test.js +0 -286
  121. package/dist/mcp/__tests__/server.property.test.js.map +0 -1
  122. package/dist/mcp/__tests__/server.test.d.ts +0 -2
  123. package/dist/mcp/__tests__/server.test.d.ts.map +0 -1
  124. package/dist/mcp/__tests__/server.test.js +0 -101
  125. package/dist/mcp/__tests__/server.test.js.map +0 -1
  126. package/dist/mcp/index.d.ts +0 -5
  127. package/dist/mcp/index.d.ts.map +0 -1
  128. package/dist/mcp/index.js +0 -5
  129. package/dist/mcp/index.js.map +0 -1
  130. package/dist/mcp/server.d.ts +0 -65
  131. package/dist/mcp/server.d.ts.map +0 -1
  132. package/dist/mcp/server.js +0 -242
  133. package/dist/mcp/server.js.map +0 -1
  134. package/dist/publish/__tests__/publish-utils.test.d.ts +0 -5
  135. package/dist/publish/__tests__/publish-utils.test.d.ts.map +0 -1
  136. package/dist/publish/__tests__/publish-utils.test.js +0 -189
  137. package/dist/publish/__tests__/publish-utils.test.js.map +0 -1
  138. package/dist/publish/index.d.ts +0 -8
  139. package/dist/publish/index.d.ts.map +0 -1
  140. package/dist/publish/index.js +0 -8
  141. package/dist/publish/index.js.map +0 -1
  142. package/dist/publish/publish-utils.d.ts +0 -74
  143. package/dist/publish/publish-utils.d.ts.map +0 -1
  144. package/dist/publish/publish-utils.js +0 -170
  145. package/dist/publish/publish-utils.js.map +0 -1
  146. package/dist/query/__tests__/deprecation-parser.test.d.ts +0 -2
  147. package/dist/query/__tests__/deprecation-parser.test.d.ts.map +0 -1
  148. package/dist/query/__tests__/deprecation-parser.test.js +0 -154
  149. package/dist/query/__tests__/deprecation-parser.test.js.map +0 -1
  150. package/dist/query/__tests__/deprecation-query.test.d.ts +0 -2
  151. package/dist/query/__tests__/deprecation-query.test.d.ts.map +0 -1
  152. package/dist/query/__tests__/deprecation-query.test.js +0 -199
  153. package/dist/query/__tests__/deprecation-query.test.js.map +0 -1
  154. package/dist/query/__tests__/index-builder-debug.test.d.ts +0 -2
  155. package/dist/query/__tests__/index-builder-debug.test.d.ts.map +0 -1
  156. package/dist/query/__tests__/index-builder-debug.test.js +0 -34
  157. package/dist/query/__tests__/index-builder-debug.test.js.map +0 -1
  158. package/dist/query/__tests__/index-builder.property.test.d.ts +0 -2
  159. package/dist/query/__tests__/index-builder.property.test.d.ts.map +0 -1
  160. package/dist/query/__tests__/index-builder.property.test.js +0 -422
  161. package/dist/query/__tests__/index-builder.property.test.js.map +0 -1
  162. package/dist/query/__tests__/index-builder.test.d.ts +0 -2
  163. package/dist/query/__tests__/index-builder.test.d.ts.map +0 -1
  164. package/dist/query/__tests__/index-builder.test.js +0 -55
  165. package/dist/query/__tests__/index-builder.test.js.map +0 -1
  166. package/dist/query/__tests__/result-formatter-deprecation.test.d.ts +0 -2
  167. package/dist/query/__tests__/result-formatter-deprecation.test.d.ts.map +0 -1
  168. package/dist/query/__tests__/result-formatter-deprecation.test.js +0 -159
  169. package/dist/query/__tests__/result-formatter-deprecation.test.js.map +0 -1
  170. package/dist/query/__tests__/result-formatter.integration.test.d.ts +0 -2
  171. package/dist/query/__tests__/result-formatter.integration.test.d.ts.map +0 -1
  172. package/dist/query/__tests__/result-formatter.integration.test.js +0 -140
  173. package/dist/query/__tests__/result-formatter.integration.test.js.map +0 -1
  174. package/dist/query/__tests__/result-formatter.property.test.d.ts +0 -2
  175. package/dist/query/__tests__/result-formatter.property.test.d.ts.map +0 -1
  176. package/dist/query/__tests__/result-formatter.property.test.js +0 -163
  177. package/dist/query/__tests__/result-formatter.property.test.js.map +0 -1
  178. package/dist/query/__tests__/result-formatter.test.d.ts +0 -2
  179. package/dist/query/__tests__/result-formatter.test.d.ts.map +0 -1
  180. package/dist/query/__tests__/result-formatter.test.js +0 -85
  181. package/dist/query/__tests__/result-formatter.test.js.map +0 -1
  182. package/dist/query/__tests__/search-engine.property.test.d.ts +0 -2
  183. package/dist/query/__tests__/search-engine.property.test.d.ts.map +0 -1
  184. package/dist/query/__tests__/search-engine.property.test.js +0 -389
  185. package/dist/query/__tests__/search-engine.property.test.js.map +0 -1
  186. package/dist/query/component-query.d.ts +0 -33
  187. package/dist/query/component-query.d.ts.map +0 -1
  188. package/dist/query/component-query.js +0 -63
  189. package/dist/query/component-query.js.map +0 -1
  190. package/dist/query/deprecation-parser.d.ts +0 -46
  191. package/dist/query/deprecation-parser.d.ts.map +0 -1
  192. package/dist/query/deprecation-parser.js +0 -81
  193. package/dist/query/deprecation-parser.js.map +0 -1
  194. package/dist/query/deprecation-query.d.ts +0 -19
  195. package/dist/query/deprecation-query.d.ts.map +0 -1
  196. package/dist/query/deprecation-query.js +0 -73
  197. package/dist/query/deprecation-query.js.map +0 -1
  198. package/dist/query/index-builder.d.ts +0 -79
  199. package/dist/query/index-builder.d.ts.map +0 -1
  200. package/dist/query/index-builder.js +0 -217
  201. package/dist/query/index-builder.js.map +0 -1
  202. package/dist/query/index.d.ts +0 -5
  203. package/dist/query/index.d.ts.map +0 -1
  204. package/dist/query/index.js +0 -6
  205. package/dist/query/index.js.map +0 -1
  206. package/dist/query/result-formatter.d.ts +0 -135
  207. package/dist/query/result-formatter.d.ts.map +0 -1
  208. package/dist/query/result-formatter.js +0 -224
  209. package/dist/query/result-formatter.js.map +0 -1
  210. package/dist/query/search-engine.d.ts +0 -54
  211. package/dist/query/search-engine.d.ts.map +0 -1
  212. package/dist/query/search-engine.js +0 -178
  213. package/dist/query/search-engine.js.map +0 -1
  214. package/dist/tools/__tests__/deprecation-tools.test.d.ts +0 -2
  215. package/dist/tools/__tests__/deprecation-tools.test.d.ts.map +0 -1
  216. package/dist/tools/__tests__/deprecation-tools.test.js +0 -178
  217. package/dist/tools/__tests__/deprecation-tools.test.js.map +0 -1
  218. package/dist/tools/__tests__/get-component-docs.property.test.d.ts +0 -2
  219. package/dist/tools/__tests__/get-component-docs.property.test.d.ts.map +0 -1
  220. package/dist/tools/__tests__/get-component-docs.property.test.js +0 -594
  221. package/dist/tools/__tests__/get-component-docs.property.test.js.map +0 -1
  222. package/dist/tools/__tests__/get-component-docs.test.d.ts +0 -2
  223. package/dist/tools/__tests__/get-component-docs.test.d.ts.map +0 -1
  224. package/dist/tools/__tests__/get-component-docs.test.js +0 -137
  225. package/dist/tools/__tests__/get-component-docs.test.js.map +0 -1
  226. package/dist/tools/__tests__/get-component-examples.property.test.d.ts +0 -2
  227. package/dist/tools/__tests__/get-component-examples.property.test.d.ts.map +0 -1
  228. package/dist/tools/__tests__/get-component-examples.property.test.js +0 -245
  229. package/dist/tools/__tests__/get-component-examples.property.test.js.map +0 -1
  230. package/dist/tools/__tests__/get-component-examples.test.d.ts +0 -2
  231. package/dist/tools/__tests__/get-component-examples.test.d.ts.map +0 -1
  232. package/dist/tools/__tests__/get-component-examples.test.js +0 -128
  233. package/dist/tools/__tests__/get-component-examples.test.js.map +0 -1
  234. package/dist/tools/__tests__/get-component-inputs.property.test.d.ts +0 -2
  235. package/dist/tools/__tests__/get-component-inputs.property.test.d.ts.map +0 -1
  236. package/dist/tools/__tests__/get-component-inputs.property.test.js +0 -310
  237. package/dist/tools/__tests__/get-component-inputs.property.test.js.map +0 -1
  238. package/dist/tools/__tests__/get-component-inputs.test.d.ts +0 -2
  239. package/dist/tools/__tests__/get-component-inputs.test.d.ts.map +0 -1
  240. package/dist/tools/__tests__/get-component-inputs.test.js +0 -245
  241. package/dist/tools/__tests__/get-component-inputs.test.js.map +0 -1
  242. package/dist/tools/__tests__/get-component-outputs.property.test.d.ts +0 -2
  243. package/dist/tools/__tests__/get-component-outputs.property.test.d.ts.map +0 -1
  244. package/dist/tools/__tests__/get-component-outputs.property.test.js +0 -227
  245. package/dist/tools/__tests__/get-component-outputs.property.test.js.map +0 -1
  246. package/dist/tools/__tests__/get-component-outputs.test.d.ts +0 -2
  247. package/dist/tools/__tests__/get-component-outputs.test.d.ts.map +0 -1
  248. package/dist/tools/__tests__/get-component-outputs.test.js +0 -189
  249. package/dist/tools/__tests__/get-component-outputs.test.js.map +0 -1
  250. package/dist/tools/__tests__/get-library-version.property.test.d.ts +0 -2
  251. package/dist/tools/__tests__/get-library-version.property.test.d.ts.map +0 -1
  252. package/dist/tools/__tests__/get-library-version.property.test.js +0 -115
  253. package/dist/tools/__tests__/get-library-version.property.test.js.map +0 -1
  254. package/dist/tools/__tests__/get-library-version.test.d.ts +0 -2
  255. package/dist/tools/__tests__/get-library-version.test.d.ts.map +0 -1
  256. package/dist/tools/__tests__/get-library-version.test.js +0 -97
  257. package/dist/tools/__tests__/get-library-version.test.js.map +0 -1
  258. package/dist/tools/__tests__/list-components.property.test.d.ts +0 -2
  259. package/dist/tools/__tests__/list-components.property.test.d.ts.map +0 -1
  260. package/dist/tools/__tests__/list-components.property.test.js +0 -241
  261. package/dist/tools/__tests__/list-components.property.test.js.map +0 -1
  262. package/dist/tools/__tests__/list-components.test.d.ts +0 -2
  263. package/dist/tools/__tests__/list-components.test.d.ts.map +0 -1
  264. package/dist/tools/__tests__/list-components.test.js +0 -170
  265. package/dist/tools/__tests__/list-components.test.js.map +0 -1
  266. package/dist/tools/__tests__/search-components.test.d.ts +0 -2
  267. package/dist/tools/__tests__/search-components.test.d.ts.map +0 -1
  268. package/dist/tools/__tests__/search-components.test.js +0 -239
  269. package/dist/tools/__tests__/search-components.test.js.map +0 -1
  270. package/dist/tools/get-component-docs.d.ts +0 -43
  271. package/dist/tools/get-component-docs.d.ts.map +0 -1
  272. package/dist/tools/get-component-docs.js +0 -55
  273. package/dist/tools/get-component-docs.js.map +0 -1
  274. package/dist/tools/get-component-examples.d.ts +0 -45
  275. package/dist/tools/get-component-examples.d.ts.map +0 -1
  276. package/dist/tools/get-component-examples.js +0 -56
  277. package/dist/tools/get-component-examples.js.map +0 -1
  278. package/dist/tools/get-component-inputs.d.ts +0 -44
  279. package/dist/tools/get-component-inputs.d.ts.map +0 -1
  280. package/dist/tools/get-component-inputs.js +0 -55
  281. package/dist/tools/get-component-inputs.js.map +0 -1
  282. package/dist/tools/get-component-outputs.d.ts +0 -44
  283. package/dist/tools/get-component-outputs.d.ts.map +0 -1
  284. package/dist/tools/get-component-outputs.js +0 -55
  285. package/dist/tools/get-component-outputs.js.map +0 -1
  286. package/dist/tools/get-deprecation-info.d.ts +0 -42
  287. package/dist/tools/get-deprecation-info.d.ts.map +0 -1
  288. package/dist/tools/get-deprecation-info.js +0 -55
  289. package/dist/tools/get-deprecation-info.js.map +0 -1
  290. package/dist/tools/get-eui-cli-guide.d.ts +0 -32
  291. package/dist/tools/get-eui-cli-guide.d.ts.map +0 -1
  292. package/dist/tools/get-eui-cli-guide.js +0 -160
  293. package/dist/tools/get-eui-cli-guide.js.map +0 -1
  294. package/dist/tools/get-eui-cli-instructions.d.ts +0 -32
  295. package/dist/tools/get-eui-cli-instructions.d.ts.map +0 -1
  296. package/dist/tools/get-eui-cli-instructions.js +0 -375
  297. package/dist/tools/get-eui-cli-instructions.js.map +0 -1
  298. package/dist/tools/get-library-version.d.ts +0 -33
  299. package/dist/tools/get-library-version.d.ts.map +0 -1
  300. package/dist/tools/get-library-version.js +0 -62
  301. package/dist/tools/get-library-version.js.map +0 -1
  302. package/dist/tools/index.d.ts +0 -12
  303. package/dist/tools/index.d.ts.map +0 -1
  304. package/dist/tools/index.js +0 -13
  305. package/dist/tools/index.js.map +0 -1
  306. package/dist/tools/list-components.d.ts +0 -69
  307. package/dist/tools/list-components.d.ts.map +0 -1
  308. package/dist/tools/list-components.js +0 -84
  309. package/dist/tools/list-components.js.map +0 -1
  310. package/dist/tools/list-deprecated.d.ts +0 -47
  311. package/dist/tools/list-deprecated.d.ts.map +0 -1
  312. package/dist/tools/list-deprecated.js +0 -56
  313. package/dist/tools/list-deprecated.js.map +0 -1
  314. package/dist/tools/search-components.d.ts +0 -69
  315. package/dist/tools/search-components.d.ts.map +0 -1
  316. package/dist/tools/search-components.js +0 -98
  317. package/dist/tools/search-components.js.map +0 -1
  318. package/dist/types/compodoc.d.ts +0 -262
  319. package/dist/types/compodoc.d.ts.map +0 -1
  320. package/dist/types/compodoc.js +0 -5
  321. package/dist/types/compodoc.js.map +0 -1
  322. package/dist/types/deprecation.d.ts +0 -33
  323. package/dist/types/deprecation.d.ts.map +0 -1
  324. package/dist/types/deprecation.js +0 -5
  325. package/dist/types/deprecation.js.map +0 -1
  326. package/dist/types/index.d.ts +0 -5
  327. package/dist/types/index.d.ts.map +0 -1
  328. package/dist/types/index.js +0 -5
  329. package/dist/types/index.js.map +0 -1
  330. package/dist/utils/__tests__/credential-masking.property.test.d.ts +0 -2
  331. package/dist/utils/__tests__/credential-masking.property.test.d.ts.map +0 -1
  332. package/dist/utils/__tests__/credential-masking.property.test.js +0 -145
  333. package/dist/utils/__tests__/credential-masking.property.test.js.map +0 -1
  334. package/dist/utils/__tests__/credential-masking.test.d.ts +0 -2
  335. package/dist/utils/__tests__/credential-masking.test.d.ts.map +0 -1
  336. package/dist/utils/__tests__/credential-masking.test.js +0 -188
  337. package/dist/utils/__tests__/credential-masking.test.js.map +0 -1
  338. package/dist/utils/__tests__/errors.test.d.ts +0 -2
  339. package/dist/utils/__tests__/errors.test.d.ts.map +0 -1
  340. package/dist/utils/__tests__/errors.test.js +0 -110
  341. package/dist/utils/__tests__/errors.test.js.map +0 -1
  342. package/dist/utils/__tests__/integration.test.d.ts +0 -2
  343. package/dist/utils/__tests__/integration.test.d.ts.map +0 -1
  344. package/dist/utils/__tests__/integration.test.js +0 -142
  345. package/dist/utils/__tests__/integration.test.js.map +0 -1
  346. package/dist/utils/__tests__/logger.test.d.ts +0 -2
  347. package/dist/utils/__tests__/logger.test.d.ts.map +0 -1
  348. package/dist/utils/__tests__/logger.test.js +0 -119
  349. package/dist/utils/__tests__/logger.test.js.map +0 -1
  350. package/dist/utils/__tests__/retry.test.d.ts +0 -2
  351. package/dist/utils/__tests__/retry.test.d.ts.map +0 -1
  352. package/dist/utils/__tests__/retry.test.js +0 -84
  353. package/dist/utils/__tests__/retry.test.js.map +0 -1
  354. package/dist/utils/circuit-breaker.d.ts +0 -91
  355. package/dist/utils/circuit-breaker.d.ts.map +0 -1
  356. package/dist/utils/circuit-breaker.js +0 -186
  357. package/dist/utils/circuit-breaker.js.map +0 -1
  358. package/dist/utils/credential-masking.d.ts +0 -90
  359. package/dist/utils/credential-masking.d.ts.map +0 -1
  360. package/dist/utils/credential-masking.js +0 -202
  361. package/dist/utils/credential-masking.js.map +0 -1
  362. package/dist/utils/error-handler.d.ts +0 -68
  363. package/dist/utils/error-handler.d.ts.map +0 -1
  364. package/dist/utils/error-handler.js +0 -184
  365. package/dist/utils/error-handler.js.map +0 -1
  366. package/dist/utils/errors.d.ts +0 -156
  367. package/dist/utils/errors.d.ts.map +0 -1
  368. package/dist/utils/errors.js +0 -242
  369. package/dist/utils/errors.js.map +0 -1
  370. package/dist/utils/index.d.ts +0 -10
  371. package/dist/utils/index.d.ts.map +0 -1
  372. package/dist/utils/index.js +0 -16
  373. package/dist/utils/index.js.map +0 -1
  374. package/dist/utils/logger.d.ts +0 -76
  375. package/dist/utils/logger.d.ts.map +0 -1
  376. package/dist/utils/logger.js +0 -150
  377. package/dist/utils/logger.js.map +0 -1
  378. package/dist/utils/retry.d.ts +0 -19
  379. package/dist/utils/retry.d.ts.map +0 -1
  380. package/dist/utils/retry.js +0 -81
  381. package/dist/utils/retry.js.map +0 -1
  382. package/dist/version/__tests__/changelog-commit-grouping.property.test.d.ts +0 -2
  383. package/dist/version/__tests__/changelog-commit-grouping.property.test.d.ts.map +0 -1
  384. package/dist/version/__tests__/changelog-commit-grouping.property.test.js +0 -297
  385. package/dist/version/__tests__/changelog-commit-grouping.property.test.js.map +0 -1
  386. package/dist/version/__tests__/changelog-commit-parsing.property.test.d.ts +0 -2
  387. package/dist/version/__tests__/changelog-commit-parsing.property.test.d.ts.map +0 -1
  388. package/dist/version/__tests__/changelog-commit-parsing.property.test.js +0 -396
  389. package/dist/version/__tests__/changelog-commit-parsing.property.test.js.map +0 -1
  390. package/dist/version/__tests__/changelog-file-updates.property.test.d.ts +0 -11
  391. package/dist/version/__tests__/changelog-file-updates.property.test.d.ts.map +0 -1
  392. package/dist/version/__tests__/changelog-file-updates.property.test.js +0 -452
  393. package/dist/version/__tests__/changelog-file-updates.property.test.js.map +0 -1
  394. package/dist/version/__tests__/dry-run-action.property.test.d.ts +0 -8
  395. package/dist/version/__tests__/dry-run-action.property.test.d.ts.map +0 -1
  396. package/dist/version/__tests__/dry-run-action.property.test.js +0 -50
  397. package/dist/version/__tests__/dry-run-action.property.test.js.map +0 -1
  398. package/dist/version/__tests__/dry-run-changelog.property.test.d.ts +0 -8
  399. package/dist/version/__tests__/dry-run-changelog.property.test.d.ts.map +0 -1
  400. package/dist/version/__tests__/dry-run-changelog.property.test.js +0 -53
  401. package/dist/version/__tests__/dry-run-changelog.property.test.js.map +0 -1
  402. package/dist/version/__tests__/dry-run-utils.test.d.ts +0 -7
  403. package/dist/version/__tests__/dry-run-utils.test.d.ts.map +0 -1
  404. package/dist/version/__tests__/dry-run-utils.test.js +0 -205
  405. package/dist/version/__tests__/dry-run-utils.test.js.map +0 -1
  406. package/dist/version/__tests__/dry-run-version.property.test.d.ts +0 -8
  407. package/dist/version/__tests__/dry-run-version.property.test.d.ts.map +0 -1
  408. package/dist/version/__tests__/dry-run-version.property.test.js +0 -59
  409. package/dist/version/__tests__/dry-run-version.property.test.js.map +0 -1
  410. package/dist/version/__tests__/git-tag-annotation.property.test.d.ts +0 -11
  411. package/dist/version/__tests__/git-tag-annotation.property.test.d.ts.map +0 -1
  412. package/dist/version/__tests__/git-tag-annotation.property.test.js +0 -271
  413. package/dist/version/__tests__/git-tag-annotation.property.test.js.map +0 -1
  414. package/dist/version/__tests__/git-tag-format.property.test.d.ts +0 -11
  415. package/dist/version/__tests__/git-tag-format.property.test.d.ts.map +0 -1
  416. package/dist/version/__tests__/git-tag-format.property.test.js +0 -411
  417. package/dist/version/__tests__/git-tag-format.property.test.js.map +0 -1
  418. package/dist/version/__tests__/git-tag-utils.test.d.ts +0 -2
  419. package/dist/version/__tests__/git-tag-utils.test.d.ts.map +0 -1
  420. package/dist/version/__tests__/git-tag-utils.test.js +0 -142
  421. package/dist/version/__tests__/git-tag-utils.test.js.map +0 -1
  422. package/dist/version/__tests__/npm-tag-selection.property.test.d.ts +0 -2
  423. package/dist/version/__tests__/npm-tag-selection.property.test.d.ts.map +0 -1
  424. package/dist/version/__tests__/npm-tag-selection.property.test.js +0 -79
  425. package/dist/version/__tests__/npm-tag-selection.property.test.js.map +0 -1
  426. package/dist/version/__tests__/release-title-format.property.test.d.ts +0 -11
  427. package/dist/version/__tests__/release-title-format.property.test.d.ts.map +0 -1
  428. package/dist/version/__tests__/release-title-format.property.test.js +0 -422
  429. package/dist/version/__tests__/release-title-format.property.test.js.map +0 -1
  430. package/dist/version/__tests__/release-utils.test.d.ts +0 -7
  431. package/dist/version/__tests__/release-utils.test.d.ts.map +0 -1
  432. package/dist/version/__tests__/release-utils.test.js +0 -176
  433. package/dist/version/__tests__/release-utils.test.js.map +0 -1
  434. package/dist/version/__tests__/rollback-changelog.property.test.d.ts +0 -8
  435. package/dist/version/__tests__/rollback-changelog.property.test.d.ts.map +0 -1
  436. package/dist/version/__tests__/rollback-changelog.property.test.js +0 -61
  437. package/dist/version/__tests__/rollback-changelog.property.test.js.map +0 -1
  438. package/dist/version/__tests__/rollback-utils.test.d.ts +0 -7
  439. package/dist/version/__tests__/rollback-utils.test.d.ts.map +0 -1
  440. package/dist/version/__tests__/rollback-utils.test.js +0 -74
  441. package/dist/version/__tests__/rollback-utils.test.js.map +0 -1
  442. package/dist/version/__tests__/version-manager.property.test.d.ts +0 -2
  443. package/dist/version/__tests__/version-manager.property.test.d.ts.map +0 -1
  444. package/dist/version/__tests__/version-manager.property.test.js +0 -143
  445. package/dist/version/__tests__/version-manager.property.test.js.map +0 -1
  446. package/dist/version/__tests__/version-manager.test.d.ts +0 -2
  447. package/dist/version/__tests__/version-manager.test.d.ts.map +0 -1
  448. package/dist/version/__tests__/version-manager.test.js +0 -203
  449. package/dist/version/__tests__/version-manager.test.js.map +0 -1
  450. package/dist/version/changelog-file-utils.d.ts +0 -69
  451. package/dist/version/changelog-file-utils.d.ts.map +0 -1
  452. package/dist/version/changelog-file-utils.js +0 -161
  453. package/dist/version/changelog-file-utils.js.map +0 -1
  454. package/dist/version/changelog-utils.d.ts +0 -98
  455. package/dist/version/changelog-utils.d.ts.map +0 -1
  456. package/dist/version/changelog-utils.js +0 -198
  457. package/dist/version/changelog-utils.js.map +0 -1
  458. package/dist/version/dry-run-utils.d.ts +0 -108
  459. package/dist/version/dry-run-utils.d.ts.map +0 -1
  460. package/dist/version/dry-run-utils.js +0 -126
  461. package/dist/version/dry-run-utils.js.map +0 -1
  462. package/dist/version/git-tag-utils.d.ts +0 -50
  463. package/dist/version/git-tag-utils.d.ts.map +0 -1
  464. package/dist/version/git-tag-utils.js +0 -66
  465. package/dist/version/git-tag-utils.js.map +0 -1
  466. package/dist/version/index.d.ts +0 -11
  467. package/dist/version/index.d.ts.map +0 -1
  468. package/dist/version/index.js +0 -11
  469. package/dist/version/index.js.map +0 -1
  470. package/dist/version/release-utils.d.ts +0 -94
  471. package/dist/version/release-utils.d.ts.map +0 -1
  472. package/dist/version/release-utils.js +0 -170
  473. package/dist/version/release-utils.js.map +0 -1
  474. package/dist/version/rollback-utils.d.ts +0 -47
  475. package/dist/version/rollback-utils.d.ts.map +0 -1
  476. package/dist/version/rollback-utils.js +0 -73
  477. package/dist/version/rollback-utils.js.map +0 -1
  478. package/dist/version/version-manager.d.ts +0 -98
  479. package/dist/version/version-manager.d.ts.map +0 -1
  480. package/dist/version/version-manager.js +0 -154
  481. package/dist/version/version-manager.js.map +0 -1
@@ -1,198 +0,0 @@
1
- /**
2
- * Changelog Utilities
3
- *
4
- * Provides functions for parsing conventional commits and grouping them by type.
5
- * Follows the Conventional Commits specification (conventionalcommits.org).
6
- */
7
- import { isDryRunEnabled, logDryRunAction } from './dry-run-utils.js';
8
- /**
9
- * Standard commit types used in conventional commits
10
- */
11
- export const COMMIT_TYPES = [
12
- 'feat',
13
- 'fix',
14
- 'docs',
15
- 'style',
16
- 'refactor',
17
- 'perf',
18
- 'test',
19
- 'build',
20
- 'ci',
21
- 'chore',
22
- 'revert',
23
- ];
24
- /**
25
- * Parses a conventional commit message.
26
- *
27
- * Format: type(scope): message
28
- * or: type: message
29
- *
30
- * Breaking changes are indicated by:
31
- * - BREAKING CHANGE: in the commit body
32
- * - ! after type/scope: type!: message or type(scope)!: message
33
- *
34
- * @param commitMessage - The commit message to parse
35
- * @returns Parsed conventional commit object, or null if not a valid conventional commit
36
- */
37
- export function parseConventionalCommit(commitMessage) {
38
- if (!commitMessage || typeof commitMessage !== 'string') {
39
- return null;
40
- }
41
- // Split into header and body
42
- const lines = commitMessage.split('\n');
43
- const header = lines[0];
44
- const body = lines.slice(1).join('\n');
45
- // Check for BREAKING CHANGE in body
46
- const hasBreakingInBody = body.includes('BREAKING CHANGE:') || body.includes('BREAKING-CHANGE:');
47
- // Regex to match conventional commit header
48
- // Matches: type(scope)!: message or type!: message or type(scope): message or type: message
49
- // Note: Type must be lowercase (no 'i' flag) per conventional commits spec
50
- // The regex requires at least one space after colon, then captures everything after that first space
51
- const conventionalCommitRegex = /^([a-z]+)(?:\(([^)]+)\))?(!)?:\s(.*)$/;
52
- const match = header.match(conventionalCommitRegex);
53
- if (!match) {
54
- return null;
55
- }
56
- const [, type, scope, breakingMarker, message] = match;
57
- // Message must not be empty (after the required space)
58
- if (!message || message.length === 0) {
59
- return null;
60
- }
61
- return {
62
- type: type,
63
- scope: scope || undefined,
64
- message: message,
65
- breaking: !!breakingMarker || hasBreakingInBody,
66
- raw: commitMessage,
67
- };
68
- }
69
- /**
70
- * Groups an array of conventional commits by their type.
71
- *
72
- * Commits are grouped into sections based on their type prefix:
73
- * - feat: Features
74
- * - fix: Bug Fixes
75
- * - docs: Documentation
76
- * - etc.
77
- *
78
- * @param commits - Array of commit messages to group
79
- * @returns Object with commit types as keys and arrays of commits as values
80
- */
81
- export function groupCommitsByType(commits) {
82
- const grouped = {};
83
- for (const commit of commits) {
84
- const parsed = parseConventionalCommit(commit);
85
- if (parsed) {
86
- const type = parsed.type;
87
- if (!grouped[type]) {
88
- grouped[type] = [];
89
- }
90
- grouped[type].push(parsed);
91
- }
92
- }
93
- return grouped;
94
- }
95
- /**
96
- * Checks if a commit message follows the conventional commit format.
97
- *
98
- * @param commitMessage - The commit message to validate
99
- * @returns true if the message follows conventional commit format, false otherwise
100
- */
101
- export function isConventionalCommit(commitMessage) {
102
- return parseConventionalCommit(commitMessage) !== null;
103
- }
104
- /**
105
- * Gets all unique commit types from an array of commits.
106
- *
107
- * @param commits - Array of commit messages
108
- * @returns Array of unique commit types found
109
- */
110
- export function getCommitTypes(commits) {
111
- const types = new Set();
112
- for (const commit of commits) {
113
- const parsed = parseConventionalCommit(commit);
114
- if (parsed) {
115
- types.add(parsed.type);
116
- }
117
- }
118
- return Array.from(types).sort();
119
- }
120
- /**
121
- * Filters commits by type.
122
- *
123
- * @param commits - Array of commit messages
124
- * @param type - The commit type to filter by (e.g., 'feat', 'fix')
125
- * @returns Array of commits matching the specified type
126
- */
127
- export function filterCommitsByType(commits, type) {
128
- const filtered = [];
129
- for (const commit of commits) {
130
- const parsed = parseConventionalCommit(commit);
131
- if (parsed && parsed.type === type.toLowerCase()) {
132
- filtered.push(parsed);
133
- }
134
- }
135
- return filtered;
136
- }
137
- /**
138
- * Generates a changelog preview without writing to files.
139
- *
140
- * This function is used in dry run mode to preview changelog content.
141
- *
142
- * @param version - The version for this changelog entry
143
- * @param commits - Array of commit messages since last release
144
- * @returns Dry run result with changelog preview
145
- *
146
- * Validates: Requirements 15.3
147
- */
148
- export function generateDryRunChangelog(version, commits) {
149
- const grouped = groupCommitsByType(commits);
150
- const date = new Date().toISOString().split('T')[0];
151
- // Generate markdown preview
152
- let preview = `## ${version} (${date})\n\n`;
153
- // Add breaking changes first if any
154
- const breakingChanges = [];
155
- for (const type in grouped) {
156
- breakingChanges.push(...grouped[type].filter(c => c.breaking));
157
- }
158
- if (breakingChanges.length > 0) {
159
- preview += '### ⚠ BREAKING CHANGES\n\n';
160
- for (const commit of breakingChanges) {
161
- const scope = commit.scope ? `**${commit.scope}**: ` : '';
162
- preview += `* ${scope}${commit.message}\n`;
163
- }
164
- preview += '\n';
165
- }
166
- // Add features
167
- if (grouped['feat']) {
168
- preview += '### Features\n\n';
169
- for (const commit of grouped['feat']) {
170
- const scope = commit.scope ? `**${commit.scope}**: ` : '';
171
- preview += `* ${scope}${commit.message}\n`;
172
- }
173
- preview += '\n';
174
- }
175
- // Add bug fixes
176
- if (grouped['fix']) {
177
- preview += '### Bug Fixes\n\n';
178
- for (const commit of grouped['fix']) {
179
- const scope = commit.scope ? `**${commit.scope}**: ` : '';
180
- preview += `* ${scope}${commit.message}\n`;
181
- }
182
- preview += '\n';
183
- }
184
- if (isDryRunEnabled()) {
185
- logDryRunAction(`Generate changelog for version ${version} with ${commits.length} commits`);
186
- console.log('\n--- Changelog Preview ---\n');
187
- console.log(preview);
188
- console.log('--- End Preview ---\n');
189
- }
190
- return {
191
- version,
192
- date,
193
- commits: grouped,
194
- preview,
195
- isDryRun: true,
196
- };
197
- }
198
- //# sourceMappingURL=changelog-utils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"changelog-utils.js","sourceRoot":"","sources":["../../src/version/changelog-utils.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAoBtE;;GAEG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,MAAM;IACN,KAAK;IACL,MAAM;IACN,OAAO;IACP,UAAU;IACV,MAAM;IACN,MAAM;IACN,OAAO;IACP,IAAI;IACJ,OAAO;IACP,QAAQ;CACA,CAAC;AAEX;;;;;;;;;;;;GAYG;AACH,MAAM,UAAU,uBAAuB,CAAC,aAAqB;IAC3D,IAAI,CAAC,aAAa,IAAI,OAAO,aAAa,KAAK,QAAQ,EAAE,CAAC;QACxD,OAAO,IAAI,CAAC;IACd,CAAC;IAED,6BAA6B;IAC7B,MAAM,KAAK,GAAG,aAAa,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IACxC,MAAM,MAAM,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;IACxB,MAAM,IAAI,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAEvC,oCAAoC;IACpC,MAAM,iBAAiB,GAAG,IAAI,CAAC,QAAQ,CAAC,kBAAkB,CAAC,IAAI,IAAI,CAAC,QAAQ,CAAC,kBAAkB,CAAC,CAAC;IAEjG,4CAA4C;IAC5C,4FAA4F;IAC5F,2EAA2E;IAC3E,qGAAqG;IACrG,MAAM,uBAAuB,GAAG,uCAAuC,CAAC;IACxE,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC;IAEpD,IAAI,CAAC,KAAK,EAAE,CAAC;QACX,OAAO,IAAI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C,OAAO,SAAS,OAAO,CAAC,MAAM,UAAU,CAAC,CAAC;QAC5F,OAAO,CAAC,GAAG,CAAC,+BAA+B,CAAC,CAAC;QAC7C,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;QACrB,OAAO,CAAC,GAAG,CAAC,uBAAuB,CAAC,CAAC;IACvC,CAAC;IAED,OAAO;QACL,OAAO;QACP,IAAI;QACJ,OAAO,EAAE,OAAO;QAChB,OAAO;QACP,QAAQ,EAAE,IAAI;KACf,CAAC;AACJ,CAAC"}
@@ -1,108 +0,0 @@
1
- /**
2
- * Dry Run Mode Utilities
3
- *
4
- * Provides functions for detecting and managing dry run mode in the release pipeline.
5
- * Dry run mode allows testing the release process without actually publishing or making changes.
6
- *
7
- * Validates: Requirements 15.1
8
- */
9
- /**
10
- * Checks if dry run mode is enabled via environment variable.
11
- *
12
- * Dry run mode is enabled when the DRY_RUN environment variable is set to:
13
- * - "true" (case-insensitive)
14
- * - "1"
15
- * - "yes" (case-insensitive)
16
- *
17
- * @returns true if dry run mode is enabled, false otherwise
18
- */
19
- export declare function isDryRunEnabled(): boolean;
20
- /**
21
- * Gets the dry run mode status as a boolean.
22
- *
23
- * This is an alias for isDryRunEnabled() that provides a more explicit API.
24
- *
25
- * @returns true if dry run mode is enabled, false otherwise
26
- */
27
- export declare function getDryRunMode(): boolean;
28
- /**
29
- * Checks if the current execution should perform actual changes.
30
- *
31
- * This is the inverse of isDryRunEnabled() and can be used to guard
32
- * operations that should only execute in non-dry-run mode.
33
- *
34
- * @returns true if actual changes should be made, false if in dry run mode
35
- */
36
- export declare function shouldExecuteChanges(): boolean;
37
- /**
38
- * Configuration object for dry run mode.
39
- */
40
- export interface DryRunConfig {
41
- /**
42
- * Whether dry run mode is enabled
43
- */
44
- enabled: boolean;
45
- /**
46
- * The raw value of the DRY_RUN environment variable
47
- */
48
- rawValue: string | undefined;
49
- }
50
- /**
51
- * Gets the complete dry run configuration.
52
- *
53
- * @returns Configuration object with dry run status and raw environment value
54
- */
55
- export declare function getDryRunConfig(): DryRunConfig;
56
- /**
57
- * Logs a dry run action message to the console.
58
- *
59
- * This helper function formats and logs messages about actions that would
60
- * be performed in a real release but are skipped in dry run mode.
61
- *
62
- * @param action - Description of the action that would be performed
63
- */
64
- export declare function logDryRunAction(action: string): void;
65
- /**
66
- * Logs a dry run skip message to the console.
67
- *
68
- * This helper function formats and logs messages about operations that
69
- * are being skipped due to dry run mode.
70
- *
71
- * @param operation - Description of the operation being skipped
72
- */
73
- export declare function logDryRunSkip(operation: string): void;
74
- /**
75
- * Action that would be performed in a real release
76
- */
77
- export interface DryRunAction {
78
- type: 'version' | 'changelog' | 'git' | 'npm' | 'release';
79
- description: string;
80
- details?: Record<string, unknown>;
81
- }
82
- /**
83
- * Summary of all actions that would be performed in dry run mode
84
- */
85
- export interface DryRunSummary {
86
- actions: DryRunAction[];
87
- totalActions: number;
88
- timestamp: string;
89
- }
90
- /**
91
- * Creates a summary of actions that would be performed in a release.
92
- *
93
- * This function is used in dry run mode to provide a comprehensive overview
94
- * of all operations that would be executed in a real release.
95
- *
96
- * @param actions - Array of actions that would be performed
97
- * @returns Summary object with all actions and metadata
98
- *
99
- * Validates: Requirements 15.5
100
- */
101
- export declare function createDryRunSummary(actions: DryRunAction[]): DryRunSummary;
102
- /**
103
- * Displays a formatted dry run summary to the console.
104
- *
105
- * @param summary - The dry run summary to display
106
- */
107
- export declare function displayDryRunSummary(summary: DryRunSummary): void;
108
- //# sourceMappingURL=dry-run-utils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dry-run-utils.d.ts","sourceRoot":"","sources":["../../src/version/dry-run-utils.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;;;;;;;;GASG;AACH,wBAAgB,eAAe,IAAI,OAAO,CAUzC;AAED;;;;;;GAMG;AACH,wBAAgB,aAAa,IAAI,OAAO,CAEvC;AAED;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,IAAI,OAAO,CAE9C;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B;AAED;;;;GAIG;AACH,wBAAgB,eAAe,IAAI,YAAY,CAK9C;AAED;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAEpD;AAED;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAErD;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,SAAS,GAAG,WAAW,GAAG,KAAK,GAAG,KAAK,GAAG,SAAS,CAAC;IAC1D,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACnC;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,YAAY,EAAE,GAAG,aAAa,CAM1E;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI,CA0BjE"}
@@ -1,126 +0,0 @@
1
- /**
2
- * Dry Run Mode Utilities
3
- *
4
- * Provides functions for detecting and managing dry run mode in the release pipeline.
5
- * Dry run mode allows testing the release process without actually publishing or making changes.
6
- *
7
- * Validates: Requirements 15.1
8
- */
9
- /**
10
- * Checks if dry run mode is enabled via environment variable.
11
- *
12
- * Dry run mode is enabled when the DRY_RUN environment variable is set to:
13
- * - "true" (case-insensitive)
14
- * - "1"
15
- * - "yes" (case-insensitive)
16
- *
17
- * @returns true if dry run mode is enabled, false otherwise
18
- */
19
- export function isDryRunEnabled() {
20
- const dryRunValue = process.env.DRY_RUN;
21
- if (!dryRunValue) {
22
- return false;
23
- }
24
- const normalizedValue = dryRunValue.toLowerCase().trim();
25
- return normalizedValue === 'true' || normalizedValue === '1' || normalizedValue === 'yes';
26
- }
27
- /**
28
- * Gets the dry run mode status as a boolean.
29
- *
30
- * This is an alias for isDryRunEnabled() that provides a more explicit API.
31
- *
32
- * @returns true if dry run mode is enabled, false otherwise
33
- */
34
- export function getDryRunMode() {
35
- return isDryRunEnabled();
36
- }
37
- /**
38
- * Checks if the current execution should perform actual changes.
39
- *
40
- * This is the inverse of isDryRunEnabled() and can be used to guard
41
- * operations that should only execute in non-dry-run mode.
42
- *
43
- * @returns true if actual changes should be made, false if in dry run mode
44
- */
45
- export function shouldExecuteChanges() {
46
- return !isDryRunEnabled();
47
- }
48
- /**
49
- * Gets the complete dry run configuration.
50
- *
51
- * @returns Configuration object with dry run status and raw environment value
52
- */
53
- export function getDryRunConfig() {
54
- return {
55
- enabled: isDryRunEnabled(),
56
- rawValue: process.env.DRY_RUN,
57
- };
58
- }
59
- /**
60
- * Logs a dry run action message to the console.
61
- *
62
- * This helper function formats and logs messages about actions that would
63
- * be performed in a real release but are skipped in dry run mode.
64
- *
65
- * @param action - Description of the action that would be performed
66
- */
67
- export function logDryRunAction(action) {
68
- console.log(`[DRY RUN] Would execute: ${action}`);
69
- }
70
- /**
71
- * Logs a dry run skip message to the console.
72
- *
73
- * This helper function formats and logs messages about operations that
74
- * are being skipped due to dry run mode.
75
- *
76
- * @param operation - Description of the operation being skipped
77
- */
78
- export function logDryRunSkip(operation) {
79
- console.log(`[DRY RUN] Skipping: ${operation}`);
80
- }
81
- /**
82
- * Creates a summary of actions that would be performed in a release.
83
- *
84
- * This function is used in dry run mode to provide a comprehensive overview
85
- * of all operations that would be executed in a real release.
86
- *
87
- * @param actions - Array of actions that would be performed
88
- * @returns Summary object with all actions and metadata
89
- *
90
- * Validates: Requirements 15.5
91
- */
92
- export function createDryRunSummary(actions) {
93
- return {
94
- actions,
95
- totalActions: actions.length,
96
- timestamp: new Date().toISOString(),
97
- };
98
- }
99
- /**
100
- * Displays a formatted dry run summary to the console.
101
- *
102
- * @param summary - The dry run summary to display
103
- */
104
- export function displayDryRunSummary(summary) {
105
- console.log('\n========================================');
106
- console.log('DRY RUN SUMMARY');
107
- console.log('========================================\n');
108
- console.log(`Total Actions: ${summary.totalActions}`);
109
- console.log(`Timestamp: ${summary.timestamp}\n`);
110
- if (summary.actions.length === 0) {
111
- console.log('No actions would be performed.\n');
112
- return;
113
- }
114
- console.log('Actions that would be performed:\n');
115
- for (let i = 0; i < summary.actions.length; i++) {
116
- const action = summary.actions[i];
117
- console.log(`${i + 1}. [${action.type.toUpperCase()}] ${action.description}`);
118
- if (action.details) {
119
- for (const [key, value] of Object.entries(action.details)) {
120
- console.log(` - ${key}: ${JSON.stringify(value)}`);
121
- }
122
- }
123
- }
124
- console.log('\n========================================\n');
125
- }
126
- //# sourceMappingURL=dry-run-utils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dry-run-utils.js","sourceRoot":"","sources":["../../src/version/dry-run-utils.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;;;;;;;;GASG;AACH,MAAM,UAAU,eAAe;IAC7B,MAAM,WAAW,GAAG,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC;IAExC,IAAI,CAAC,WAAW,EAAE,CAAC;QACjB,OAAO,KAAK,CAAC;IACf,CAAC;IAED,MAAM,eAAe,GAAG,WAAW,CAAC,WAAW,EAAE,CAAC,IAAI,EAAE,CAAC;IAEzD,OAAO,eAAe,KAAK,MAAM,IAAI,eAAe,KAAK,GAAG,IAAI,eAAe,KAAK,KAAK,CAAC;AAC5F,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,aAAa;IAC3B,OAAO,eAAe,EAAE,CAAC;AAC3B,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,oBAAoB;IAClC,OAAO,CAAC,eAAe,EAAE,C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,OAAO,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;QAClC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,MAAM,MAAM,CAAC,IAAI,CAAC,WAAW,EAAE,KAAK,MAAM,CAAC,WAAW,EAAE,CAAC,CAAC;QAE9E,IAAI,MAAM,CAAC,OAAO,EAAE,CAAC;YACnB,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,CAAC;gBAC1D,OAAO,CAAC,GAAG,CAAC,QAAQ,GAAG,KAAK,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;YACvD,CAAC;QACH,CAAC;IACH,CAAC;IAED,OAAO,CAAC,GAAG,CAAC,8CAA8C,CAAC,CAAC;AAC9D,CAAC"}
@@ -1,50 +0,0 @@
1
- /**
2
- * Git Tag Utilities
3
- *
4
- * Provides functions for formatting Git tag names and annotations.
5
- * Supports semantic versioning tag format (v{MAJOR}.{MINOR}.{PATCH}).
6
- */
7
- import type { SemanticVersion } from './version-manager.js';
8
- /**
9
- * Formats a semantic version as a Git tag name.
10
- *
11
- * Tag format: v{MAJOR}.{MINOR}.{PATCH}
12
- * Example: v1.2.3
13
- *
14
- * @param version - Semantic version object
15
- * @returns Formatted Git tag name with 'v' prefix
16
- */
17
- export declare function formatTagName(version: SemanticVersion): string;
18
- /**
19
- * Formats a version string as a Git tag name.
20
- *
21
- * @param versionString - Version string in format "MAJOR.MINOR.PATCH"
22
- * @returns Formatted Git tag name with 'v' prefix
23
- */
24
- export declare function formatTagNameFromString(versionString: string): string;
25
- /**
26
- * Formats a timestamp in ISO 8601 format.
27
- *
28
- * @param date - Date object to format (defaults to current date/time)
29
- * @returns ISO 8601 formatted timestamp (e.g., "2024-01-15T10:30:00.000Z")
30
- */
31
- export declare function formatTimestamp(date?: Date): string;
32
- /**
33
- * Creates a Git tag annotation message.
34
- *
35
- * The annotation includes the version number and timestamp in ISO 8601 format.
36
- *
37
- * @param version - Semantic version object
38
- * @param date - Date object for the annotation (defaults to current date/time)
39
- * @returns Formatted tag annotation message
40
- */
41
- export declare function createTagAnnotation(version: SemanticVersion, date?: Date): string;
42
- /**
43
- * Creates a Git tag annotation message from a version string.
44
- *
45
- * @param versionString - Version string in format "MAJOR.MINOR.PATCH" or "vMAJOR.MINOR.PATCH"
46
- * @param date - Date object for the annotation (defaults to current date/time)
47
- * @returns Formatted tag annotation message
48
- */
49
- export declare function createTagAnnotationFromString(versionString: string, date?: Date): string;
50
- //# sourceMappingURL=git-tag-utils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"git-tag-utils.d.ts","sourceRoot":"","sources":["../../src/version/git-tag-utils.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAE5D;;;;;;;;GAQG;AACH,wBAAgB,aAAa,CAAC,OAAO,EAAE,eAAe,GAAG,MAAM,CAE9D;AAED;;;;;GAKG;AACH,wBAAgB,uBAAuB,CAAC,aAAa,EAAE,MAAM,GAAG,MAAM,CAIrE;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,IAAI,GAAE,IAAiB,GAAG,MAAM,CAE/D;AAED;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,eAAe,EAAE,IAAI,GAAE,IAAiB,GAAG,MAAM,CAI7F;AAED;;;;;;GAMG;AACH,wBAAgB,6BAA6B,CAAC,aAAa,EAAE,MAAM,EAAE,IAAI,GAAE,IAAiB,GAAG,MAAM,CAKpG"}
@@ -1,66 +0,0 @@
1
- /**
2
- * Git Tag Utilities
3
- *
4
- * Provides functions for formatting Git tag names and annotations.
5
- * Supports semantic versioning tag format (v{MAJOR}.{MINOR}.{PATCH}).
6
- */
7
- /**
8
- * Formats a semantic version as a Git tag name.
9
- *
10
- * Tag format: v{MAJOR}.{MINOR}.{PATCH}
11
- * Example: v1.2.3
12
- *
13
- * @param version - Semantic version object
14
- * @returns Formatted Git tag name with 'v' prefix
15
- */
16
- export function formatTagName(version) {
17
- return `v${version.major}.${version.minor}.${version.patch}`;
18
- }
19
- /**
20
- * Formats a version string as a Git tag name.
21
- *
22
- * @param versionString - Version string in format "MAJOR.MINOR.PATCH"
23
- * @returns Formatted Git tag name with 'v' prefix
24
- */
25
- export function formatTagNameFromString(versionString) {
26
- // Remove 'v' prefix if already present
27
- const cleanVersion = versionString.startsWith('v') ? versionString.slice(1) : versionString;
28
- return `v${cleanVersion}`;
29
- }
30
- /**
31
- * Formats a timestamp in ISO 8601 format.
32
- *
33
- * @param date - Date object to format (defaults to current date/time)
34
- * @returns ISO 8601 formatted timestamp (e.g., "2024-01-15T10:30:00.000Z")
35
- */
36
- export function formatTimestamp(date = new Date()) {
37
- return date.toISOString();
38
- }
39
- /**
40
- * Creates a Git tag annotation message.
41
- *
42
- * The annotation includes the version number and timestamp in ISO 8601 format.
43
- *
44
- * @param version - Semantic version object
45
- * @param date - Date object for the annotation (defaults to current date/time)
46
- * @returns Formatted tag annotation message
47
- */
48
- export function createTagAnnotation(version, date = new Date()) {
49
- const versionString = `${version.major}.${version.minor}.${version.patch}`;
50
- const timestamp = formatTimestamp(date);
51
- return `Release version ${versionString}\nCreated at: ${timestamp}`;
52
- }
53
- /**
54
- * Creates a Git tag annotation message from a version string.
55
- *
56
- * @param versionString - Version string in format "MAJOR.MINOR.PATCH" or "vMAJOR.MINOR.PATCH"
57
- * @param date - Date object for the annotation (defaults to current date/time)
58
- * @returns Formatted tag annotation message
59
- */
60
- export function createTagAnnotationFromString(versionString, date = new Date()) {
61
- // Remove 'v' prefix if present
62
- const cleanVersion = versionString.startsWith('v') ? versionString.slice(1) : versionString;
63
- const timestamp = formatTimestamp(date);
64
- return `Release version ${cleanVersion}\nCreated at: ${timestamp}`;
65
- }
66
- //# sourceMappingURL=git-tag-utils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"git-tag-utils.js","sourceRoot":"","sources":["../../src/version/git-tag-utils.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH;;;;;;;;GAQG;AACH,MAAM,UAAU,aAAa,CAAC,OAAwB;IACpD,OAAO,IAAI,OAAO,CAAC,KAAK,IAAI,OAAO,CAAC,KAAK,IAAI,OAAO,CAAC,KAAK,EAAE,CAAC;AAC/D,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,uBAAuB,CAAC,aAAqB;IAC3D,uCAAuC;IACvC,MAAM,YAAY,GAAG,aAAa,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC;IAC5F,OAAO,IAAI,YAAY,EAAE,CAAC;AAC5B,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,eAAe,CAAC,OAAa,IAAI,IAAI,EAAE;IACrD,OAAO,IAAI,CAAC,WAAW,EAAE,CAAC;AAC5B,CAAC;AAED;;;;;;;;GAQG;AACH,MAAM,UAAU,mBAAmB,CAAC,OAAwB,EAAE,OAAa,IAAI,IAAI,EAAE;IACnF,MAAM,aAAa,GAAG,GAAG,OAAO,CAAC,KAAK,IAAI,OAAO,CAAC,KAAK,IAAI,OAAO,CAAC,KAAK,EAAE,CAAC;IAC3E,MAAM,SAAS,GAAG,eAAe,CAAC,IAAI,CAAC,CAAC;IACxC,OAAO,mBAAmB,aAAa,iBAAiB,SAAS,EAAE,CAAC;AACtE,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,6BAA6B,CAAC,aAAqB,EAAE,OAAa,IAAI,IAAI,EAAE;IAC1F,+BAA+B;IAC/B,MAAM,YAAY,GAAG,aAAa,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC;IAC5F,MAAM,SAAS,GAAG,eAAe,CAAC,IAAI,CAAC,CAAC;IACxC,OAAO,mBAAmB,YAAY,iBAAiB,SAAS,EAAE,CAAC;AACrE,CAAC"}
@@ -1,11 +0,0 @@
1
- /**
2
- * Version Management Module
3
- *
4
- * Exports utilities for semantic version management and Git tag formatting.
5
- */
6
- export { parseVersion, isValidVersion, formatVersion, bumpVersion, bumpVersionString, type ReleaseType, type SemanticVersion, } from './version-manager.js';
7
- export { formatTagName, formatTagNameFromString, formatTimestamp, createTagAnnotation, createTagAnnotationFromString, } from './git-tag-utils.js';
8
- export { parseConventionalCommit, groupCommitsByType, isConventionalCommit, getCommitTypes, filterCommitsByType, type ConventionalCommit, type GroupedCommits, COMMIT_TYPES, } from './changelog-utils.js';
9
- export { extractVersion, formatReleaseTitle, getChangelogContent, createArtifactLink, createReleasePayload, createRelease, type GitLabReleasePayload, } from './release-utils.js';
10
- export { isDryRunEnabled, getDryRunMode, shouldExecuteChanges, getDryRunConfig, logDryRunAction, logDryRunSkip, type DryRunConfig, } from './dry-run-utils.js';
11
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/version/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACL,YAAY,EACZ,cAAc,EACd,aAAa,EACb,WAAW,EACX,iBAAiB,EACjB,KAAK,WAAW,EAChB,KAAK,eAAe,GACrB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EACL,aAAa,EACb,uBAAuB,EACvB,eAAe,EACf,mBAAmB,EACnB,6BAA6B,GAC9B,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EACL,uBAAuB,EACvB,kBAAkB,EAClB,oBAAoB,EACpB,cAAc,EACd,mBAAmB,EACnB,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,YAAY,GACb,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EACL,cAAc,EACd,kBAAkB,EAClB,mBAAmB,EACnB,kBAAkB,EAClB,oBAAoB,EACpB,aAAa,EACb,KAAK,oBAAoB,GAC1B,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EACL,eAAe,EACf,aAAa,EACb,oBAAoB,EACpB,eAAe,EACf,eAAe,EACf,aAAa,EACb,KAAK,YAAY,GAClB,MAAM,oBAAoB,CAAC"}
@@ -1,11 +0,0 @@
1
- /**
2
- * Version Management Module
3
- *
4
- * Exports utilities for semantic version management and Git tag formatting.
5
- */
6
- export { parseVersion, isValidVersion, formatVersion, bumpVersion, bumpVersionString, } from './version-manager.js';
7
- export { formatTagName, formatTagNameFromString, formatTimestamp, createTagAnnotation, createTagAnnotationFromString, } from './git-tag-utils.js';
8
- export { parseConventionalCommit, groupCommitsByType, isConventionalCommit, getCommitTypes, filterCommitsByType, COMMIT_TYPES, } from './changelog-utils.js';
9
- export { extractVersion, formatReleaseTitle, getChangelogContent, createArtifactLink, createReleasePayload, createRelease, } from './release-utils.js';
10
- export { isDryRunEnabled, getDryRunMode, shouldExecuteChanges, getDryRunConfig, logDryRunAction, logDryRunSkip, } from './dry-run-utils.js';
11
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/version/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACL,YAAY,EACZ,cAAc,EACd,aAAa,EACb,WAAW,EACX,iBAAiB,GAGlB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EACL,aAAa,EACb,uBAAuB,EACvB,eAAe,EACf,mBAAmB,EACnB,6BAA6B,GAC9B,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EACL,uBAAuB,EACvB,kBAAkB,EAClB,oBAAoB,EACpB,cAAc,EACd,mBAAmB,EAGnB,YAAY,GACb,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EACL,cAAc,EACd,kBAAkB,EAClB,mBAAmB,EACnB,kBAAkB,EAClB,oBAAoB,EACpB,aAAa,GAEd,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EACL,eAAe,EACf,aAAa,EACb,oBAAoB,EACpB,eAAe,EACf,eAAe,EACf,aAAa,GAEd,MAAM,oBAAoB,CAAC"}