@hyperfrontend/versioning 0.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 (353) hide show
  1. package/ARCHITECTURE.md +593 -0
  2. package/CHANGELOG.md +35 -0
  3. package/FUNDING.md +141 -0
  4. package/LICENSE.md +21 -0
  5. package/README.md +195 -0
  6. package/SECURITY.md +82 -0
  7. package/changelog/compare/diff.d.ts +128 -0
  8. package/changelog/compare/diff.d.ts.map +1 -0
  9. package/changelog/compare/index.cjs.js +628 -0
  10. package/changelog/compare/index.cjs.js.map +1 -0
  11. package/changelog/compare/index.d.ts +4 -0
  12. package/changelog/compare/index.d.ts.map +1 -0
  13. package/changelog/compare/index.esm.js +612 -0
  14. package/changelog/compare/index.esm.js.map +1 -0
  15. package/changelog/compare/is-equal.d.ts +114 -0
  16. package/changelog/compare/is-equal.d.ts.map +1 -0
  17. package/changelog/index.cjs.js +6448 -0
  18. package/changelog/index.cjs.js.map +1 -0
  19. package/changelog/index.d.ts +6 -0
  20. package/changelog/index.d.ts.map +1 -0
  21. package/changelog/index.esm.js +6358 -0
  22. package/changelog/index.esm.js.map +1 -0
  23. package/changelog/models/changelog.d.ts +86 -0
  24. package/changelog/models/changelog.d.ts.map +1 -0
  25. package/changelog/models/commit-ref.d.ts +51 -0
  26. package/changelog/models/commit-ref.d.ts.map +1 -0
  27. package/changelog/models/entry.d.ts +84 -0
  28. package/changelog/models/entry.d.ts.map +1 -0
  29. package/changelog/models/index.cjs.js +2043 -0
  30. package/changelog/models/index.cjs.js.map +1 -0
  31. package/changelog/models/index.d.ts +11 -0
  32. package/changelog/models/index.d.ts.map +1 -0
  33. package/changelog/models/index.esm.js +2026 -0
  34. package/changelog/models/index.esm.js.map +1 -0
  35. package/changelog/models/schema.d.ts +68 -0
  36. package/changelog/models/schema.d.ts.map +1 -0
  37. package/changelog/models/section.d.ts +25 -0
  38. package/changelog/models/section.d.ts.map +1 -0
  39. package/changelog/operations/add-entry.d.ts +56 -0
  40. package/changelog/operations/add-entry.d.ts.map +1 -0
  41. package/changelog/operations/add-item.d.ts +18 -0
  42. package/changelog/operations/add-item.d.ts.map +1 -0
  43. package/changelog/operations/filter-by-predicate.d.ts +81 -0
  44. package/changelog/operations/filter-by-predicate.d.ts.map +1 -0
  45. package/changelog/operations/filter-by-range.d.ts +63 -0
  46. package/changelog/operations/filter-by-range.d.ts.map +1 -0
  47. package/changelog/operations/filter-entries.d.ts +9 -0
  48. package/changelog/operations/filter-entries.d.ts.map +1 -0
  49. package/changelog/operations/index.cjs.js +2455 -0
  50. package/changelog/operations/index.cjs.js.map +1 -0
  51. package/changelog/operations/index.d.ts +15 -0
  52. package/changelog/operations/index.d.ts.map +1 -0
  53. package/changelog/operations/index.esm.js +2411 -0
  54. package/changelog/operations/index.esm.js.map +1 -0
  55. package/changelog/operations/merge.d.ts +88 -0
  56. package/changelog/operations/merge.d.ts.map +1 -0
  57. package/changelog/operations/remove-entry.d.ts +45 -0
  58. package/changelog/operations/remove-entry.d.ts.map +1 -0
  59. package/changelog/operations/remove-section.d.ts +50 -0
  60. package/changelog/operations/remove-section.d.ts.map +1 -0
  61. package/changelog/operations/transform.d.ts +143 -0
  62. package/changelog/operations/transform.d.ts.map +1 -0
  63. package/changelog/parse/index.cjs.js +1282 -0
  64. package/changelog/parse/index.cjs.js.map +1 -0
  65. package/changelog/parse/index.d.ts +5 -0
  66. package/changelog/parse/index.d.ts.map +1 -0
  67. package/changelog/parse/index.esm.js +1275 -0
  68. package/changelog/parse/index.esm.js.map +1 -0
  69. package/changelog/parse/line.d.ts +48 -0
  70. package/changelog/parse/line.d.ts.map +1 -0
  71. package/changelog/parse/parser.d.ts +16 -0
  72. package/changelog/parse/parser.d.ts.map +1 -0
  73. package/changelog/parse/tokenizer.d.ts +49 -0
  74. package/changelog/parse/tokenizer.d.ts.map +1 -0
  75. package/changelog/serialize/index.cjs.js +574 -0
  76. package/changelog/serialize/index.cjs.js.map +1 -0
  77. package/changelog/serialize/index.d.ts +6 -0
  78. package/changelog/serialize/index.d.ts.map +1 -0
  79. package/changelog/serialize/index.esm.js +564 -0
  80. package/changelog/serialize/index.esm.js.map +1 -0
  81. package/changelog/serialize/templates.d.ts +81 -0
  82. package/changelog/serialize/templates.d.ts.map +1 -0
  83. package/changelog/serialize/to-json.d.ts +57 -0
  84. package/changelog/serialize/to-json.d.ts.map +1 -0
  85. package/changelog/serialize/to-string.d.ts +30 -0
  86. package/changelog/serialize/to-string.d.ts.map +1 -0
  87. package/commits/index.cjs.js +648 -0
  88. package/commits/index.cjs.js.map +1 -0
  89. package/commits/index.d.ts +3 -0
  90. package/commits/index.d.ts.map +1 -0
  91. package/commits/index.esm.js +629 -0
  92. package/commits/index.esm.js.map +1 -0
  93. package/commits/models/breaking.d.ts +39 -0
  94. package/commits/models/breaking.d.ts.map +1 -0
  95. package/commits/models/commit-type.d.ts +32 -0
  96. package/commits/models/commit-type.d.ts.map +1 -0
  97. package/commits/models/conventional.d.ts +49 -0
  98. package/commits/models/conventional.d.ts.map +1 -0
  99. package/commits/models/index.cjs.js +207 -0
  100. package/commits/models/index.cjs.js.map +1 -0
  101. package/commits/models/index.d.ts +7 -0
  102. package/commits/models/index.d.ts.map +1 -0
  103. package/commits/models/index.esm.js +193 -0
  104. package/commits/models/index.esm.js.map +1 -0
  105. package/commits/parse/body.d.ts +18 -0
  106. package/commits/parse/body.d.ts.map +1 -0
  107. package/commits/parse/footer.d.ts +16 -0
  108. package/commits/parse/footer.d.ts.map +1 -0
  109. package/commits/parse/header.d.ts +15 -0
  110. package/commits/parse/header.d.ts.map +1 -0
  111. package/commits/parse/index.cjs.js +505 -0
  112. package/commits/parse/index.cjs.js.map +1 -0
  113. package/commits/parse/index.d.ts +5 -0
  114. package/commits/parse/index.d.ts.map +1 -0
  115. package/commits/parse/index.esm.js +499 -0
  116. package/commits/parse/index.esm.js.map +1 -0
  117. package/commits/parse/message.d.ts +17 -0
  118. package/commits/parse/message.d.ts.map +1 -0
  119. package/commits/utils/replace-char.d.ts +19 -0
  120. package/commits/utils/replace-char.d.ts.map +1 -0
  121. package/flow/executor/execute.d.ts +72 -0
  122. package/flow/executor/execute.d.ts.map +1 -0
  123. package/flow/executor/index.cjs.js +4402 -0
  124. package/flow/executor/index.cjs.js.map +1 -0
  125. package/flow/executor/index.d.ts +3 -0
  126. package/flow/executor/index.d.ts.map +1 -0
  127. package/flow/executor/index.esm.js +4398 -0
  128. package/flow/executor/index.esm.js.map +1 -0
  129. package/flow/factory.d.ts +58 -0
  130. package/flow/factory.d.ts.map +1 -0
  131. package/flow/index.cjs.js +8506 -0
  132. package/flow/index.cjs.js.map +1 -0
  133. package/flow/index.d.ts +7 -0
  134. package/flow/index.d.ts.map +1 -0
  135. package/flow/index.esm.js +8451 -0
  136. package/flow/index.esm.js.map +1 -0
  137. package/flow/models/flow.d.ts +130 -0
  138. package/flow/models/flow.d.ts.map +1 -0
  139. package/flow/models/index.cjs.js +285 -0
  140. package/flow/models/index.cjs.js.map +1 -0
  141. package/flow/models/index.d.ts +7 -0
  142. package/flow/models/index.d.ts.map +1 -0
  143. package/flow/models/index.esm.js +268 -0
  144. package/flow/models/index.esm.js.map +1 -0
  145. package/flow/models/step.d.ts +108 -0
  146. package/flow/models/step.d.ts.map +1 -0
  147. package/flow/models/types.d.ts +150 -0
  148. package/flow/models/types.d.ts.map +1 -0
  149. package/flow/presets/conventional.d.ts +59 -0
  150. package/flow/presets/conventional.d.ts.map +1 -0
  151. package/flow/presets/independent.d.ts +61 -0
  152. package/flow/presets/independent.d.ts.map +1 -0
  153. package/flow/presets/index.cjs.js +3903 -0
  154. package/flow/presets/index.cjs.js.map +1 -0
  155. package/flow/presets/index.d.ts +4 -0
  156. package/flow/presets/index.d.ts.map +1 -0
  157. package/flow/presets/index.esm.js +3889 -0
  158. package/flow/presets/index.esm.js.map +1 -0
  159. package/flow/presets/synced.d.ts +65 -0
  160. package/flow/presets/synced.d.ts.map +1 -0
  161. package/flow/steps/analyze-commits.d.ts +19 -0
  162. package/flow/steps/analyze-commits.d.ts.map +1 -0
  163. package/flow/steps/calculate-bump.d.ts +27 -0
  164. package/flow/steps/calculate-bump.d.ts.map +1 -0
  165. package/flow/steps/create-commit.d.ts +16 -0
  166. package/flow/steps/create-commit.d.ts.map +1 -0
  167. package/flow/steps/create-tag.d.ts +22 -0
  168. package/flow/steps/create-tag.d.ts.map +1 -0
  169. package/flow/steps/fetch-registry.d.ts +19 -0
  170. package/flow/steps/fetch-registry.d.ts.map +1 -0
  171. package/flow/steps/generate-changelog.d.ts +25 -0
  172. package/flow/steps/generate-changelog.d.ts.map +1 -0
  173. package/flow/steps/index.cjs.js +3523 -0
  174. package/flow/steps/index.cjs.js.map +1 -0
  175. package/flow/steps/index.d.ts +8 -0
  176. package/flow/steps/index.d.ts.map +1 -0
  177. package/flow/steps/index.esm.js +3504 -0
  178. package/flow/steps/index.esm.js.map +1 -0
  179. package/flow/steps/update-packages.d.ts +25 -0
  180. package/flow/steps/update-packages.d.ts.map +1 -0
  181. package/flow/utils/interpolate.d.ts +11 -0
  182. package/flow/utils/interpolate.d.ts.map +1 -0
  183. package/git/factory.d.ts +233 -0
  184. package/git/factory.d.ts.map +1 -0
  185. package/git/index.cjs.js +2863 -0
  186. package/git/index.cjs.js.map +1 -0
  187. package/git/index.d.ts +5 -0
  188. package/git/index.d.ts.map +1 -0
  189. package/git/index.esm.js +2785 -0
  190. package/git/index.esm.js.map +1 -0
  191. package/git/models/commit.d.ts +129 -0
  192. package/git/models/commit.d.ts.map +1 -0
  193. package/git/models/index.cjs.js +755 -0
  194. package/git/models/index.cjs.js.map +1 -0
  195. package/git/models/index.d.ts +7 -0
  196. package/git/models/index.d.ts.map +1 -0
  197. package/git/models/index.esm.js +729 -0
  198. package/git/models/index.esm.js.map +1 -0
  199. package/git/models/ref.d.ts +120 -0
  200. package/git/models/ref.d.ts.map +1 -0
  201. package/git/models/tag.d.ts +141 -0
  202. package/git/models/tag.d.ts.map +1 -0
  203. package/git/operations/commit.d.ts +97 -0
  204. package/git/operations/commit.d.ts.map +1 -0
  205. package/git/operations/head-info.d.ts +29 -0
  206. package/git/operations/head-info.d.ts.map +1 -0
  207. package/git/operations/index.cjs.js +1954 -0
  208. package/git/operations/index.cjs.js.map +1 -0
  209. package/git/operations/index.d.ts +14 -0
  210. package/git/operations/index.d.ts.map +1 -0
  211. package/git/operations/index.esm.js +1903 -0
  212. package/git/operations/index.esm.js.map +1 -0
  213. package/git/operations/log.d.ts +104 -0
  214. package/git/operations/log.d.ts.map +1 -0
  215. package/git/operations/manage-tags.d.ts +60 -0
  216. package/git/operations/manage-tags.d.ts.map +1 -0
  217. package/git/operations/query-tags.d.ts +88 -0
  218. package/git/operations/query-tags.d.ts.map +1 -0
  219. package/git/operations/stage.d.ts +66 -0
  220. package/git/operations/stage.d.ts.map +1 -0
  221. package/git/operations/status.d.ts +173 -0
  222. package/git/operations/status.d.ts.map +1 -0
  223. package/index.cjs.js +16761 -0
  224. package/index.cjs.js.map +1 -0
  225. package/index.d.ts +102 -0
  226. package/index.d.ts.map +1 -0
  227. package/index.esm.js +16427 -0
  228. package/index.esm.js.map +1 -0
  229. package/package.json +200 -0
  230. package/registry/factory.d.ts +18 -0
  231. package/registry/factory.d.ts.map +1 -0
  232. package/registry/index.cjs.js +543 -0
  233. package/registry/index.cjs.js.map +1 -0
  234. package/registry/index.d.ts +5 -0
  235. package/registry/index.d.ts.map +1 -0
  236. package/registry/index.esm.js +535 -0
  237. package/registry/index.esm.js.map +1 -0
  238. package/registry/models/index.cjs.js +69 -0
  239. package/registry/models/index.cjs.js.map +1 -0
  240. package/registry/models/index.d.ts +6 -0
  241. package/registry/models/index.d.ts.map +1 -0
  242. package/registry/models/index.esm.js +66 -0
  243. package/registry/models/index.esm.js.map +1 -0
  244. package/registry/models/package-info.d.ts +55 -0
  245. package/registry/models/package-info.d.ts.map +1 -0
  246. package/registry/models/registry.d.ts +62 -0
  247. package/registry/models/registry.d.ts.map +1 -0
  248. package/registry/models/version-info.d.ts +67 -0
  249. package/registry/models/version-info.d.ts.map +1 -0
  250. package/registry/npm/cache.d.ts +50 -0
  251. package/registry/npm/cache.d.ts.map +1 -0
  252. package/registry/npm/client.d.ts +30 -0
  253. package/registry/npm/client.d.ts.map +1 -0
  254. package/registry/npm/index.cjs.js +456 -0
  255. package/registry/npm/index.cjs.js.map +1 -0
  256. package/registry/npm/index.d.ts +4 -0
  257. package/registry/npm/index.d.ts.map +1 -0
  258. package/registry/npm/index.esm.js +451 -0
  259. package/registry/npm/index.esm.js.map +1 -0
  260. package/semver/compare/compare.d.ts +100 -0
  261. package/semver/compare/compare.d.ts.map +1 -0
  262. package/semver/compare/index.cjs.js +386 -0
  263. package/semver/compare/index.cjs.js.map +1 -0
  264. package/semver/compare/index.d.ts +3 -0
  265. package/semver/compare/index.d.ts.map +1 -0
  266. package/semver/compare/index.esm.js +370 -0
  267. package/semver/compare/index.esm.js.map +1 -0
  268. package/semver/compare/sort.d.ts +36 -0
  269. package/semver/compare/sort.d.ts.map +1 -0
  270. package/semver/format/index.cjs.js +58 -0
  271. package/semver/format/index.cjs.js.map +1 -0
  272. package/semver/format/index.d.ts +2 -0
  273. package/semver/format/index.d.ts.map +1 -0
  274. package/semver/format/index.esm.js +53 -0
  275. package/semver/format/index.esm.js.map +1 -0
  276. package/semver/format/to-string.d.ts +31 -0
  277. package/semver/format/to-string.d.ts.map +1 -0
  278. package/semver/increment/bump.d.ts +37 -0
  279. package/semver/increment/bump.d.ts.map +1 -0
  280. package/semver/increment/index.cjs.js +223 -0
  281. package/semver/increment/index.cjs.js.map +1 -0
  282. package/semver/increment/index.d.ts +2 -0
  283. package/semver/increment/index.d.ts.map +1 -0
  284. package/semver/increment/index.esm.js +219 -0
  285. package/semver/increment/index.esm.js.map +1 -0
  286. package/semver/index.cjs.js +1499 -0
  287. package/semver/index.cjs.js.map +1 -0
  288. package/semver/index.d.ts +6 -0
  289. package/semver/index.d.ts.map +1 -0
  290. package/semver/index.esm.js +1458 -0
  291. package/semver/index.esm.js.map +1 -0
  292. package/semver/models/index.cjs.js +153 -0
  293. package/semver/models/index.cjs.js.map +1 -0
  294. package/semver/models/index.d.ts +5 -0
  295. package/semver/models/index.d.ts.map +1 -0
  296. package/semver/models/index.esm.js +139 -0
  297. package/semver/models/index.esm.js.map +1 -0
  298. package/semver/models/range.d.ts +83 -0
  299. package/semver/models/range.d.ts.map +1 -0
  300. package/semver/models/version.d.ts +78 -0
  301. package/semver/models/version.d.ts.map +1 -0
  302. package/semver/parse/index.cjs.js +799 -0
  303. package/semver/parse/index.cjs.js.map +1 -0
  304. package/semver/parse/index.d.ts +5 -0
  305. package/semver/parse/index.d.ts.map +1 -0
  306. package/semver/parse/index.esm.js +793 -0
  307. package/semver/parse/index.esm.js.map +1 -0
  308. package/semver/parse/range.d.ts +38 -0
  309. package/semver/parse/range.d.ts.map +1 -0
  310. package/semver/parse/version.d.ts +49 -0
  311. package/semver/parse/version.d.ts.map +1 -0
  312. package/workspace/discovery/changelog-path.d.ts +21 -0
  313. package/workspace/discovery/changelog-path.d.ts.map +1 -0
  314. package/workspace/discovery/dependencies.d.ts +145 -0
  315. package/workspace/discovery/dependencies.d.ts.map +1 -0
  316. package/workspace/discovery/discover-changelogs.d.ts +76 -0
  317. package/workspace/discovery/discover-changelogs.d.ts.map +1 -0
  318. package/workspace/discovery/index.cjs.js +2300 -0
  319. package/workspace/discovery/index.cjs.js.map +1 -0
  320. package/workspace/discovery/index.d.ts +13 -0
  321. package/workspace/discovery/index.d.ts.map +1 -0
  322. package/workspace/discovery/index.esm.js +2283 -0
  323. package/workspace/discovery/index.esm.js.map +1 -0
  324. package/workspace/discovery/packages.d.ts +83 -0
  325. package/workspace/discovery/packages.d.ts.map +1 -0
  326. package/workspace/index.cjs.js +4445 -0
  327. package/workspace/index.cjs.js.map +1 -0
  328. package/workspace/index.d.ts +52 -0
  329. package/workspace/index.d.ts.map +1 -0
  330. package/workspace/index.esm.js +4394 -0
  331. package/workspace/index.esm.js.map +1 -0
  332. package/workspace/models/index.cjs.js +284 -0
  333. package/workspace/models/index.cjs.js.map +1 -0
  334. package/workspace/models/index.d.ts +10 -0
  335. package/workspace/models/index.d.ts.map +1 -0
  336. package/workspace/models/index.esm.js +261 -0
  337. package/workspace/models/index.esm.js.map +1 -0
  338. package/workspace/models/project.d.ts +118 -0
  339. package/workspace/models/project.d.ts.map +1 -0
  340. package/workspace/models/workspace.d.ts +139 -0
  341. package/workspace/models/workspace.d.ts.map +1 -0
  342. package/workspace/operations/batch-update.d.ts +99 -0
  343. package/workspace/operations/batch-update.d.ts.map +1 -0
  344. package/workspace/operations/cascade-bump.d.ts +125 -0
  345. package/workspace/operations/cascade-bump.d.ts.map +1 -0
  346. package/workspace/operations/index.cjs.js +2675 -0
  347. package/workspace/operations/index.cjs.js.map +1 -0
  348. package/workspace/operations/index.d.ts +12 -0
  349. package/workspace/operations/index.d.ts.map +1 -0
  350. package/workspace/operations/index.esm.js +2663 -0
  351. package/workspace/operations/index.esm.js.map +1 -0
  352. package/workspace/operations/validate.d.ts +85 -0
  353. package/workspace/operations/validate.d.ts.map +1 -0
@@ -0,0 +1,648 @@
1
+ 'use strict';
2
+
3
+ /**
4
+ * Creates a commit footer.
5
+ *
6
+ * @param key - Footer identifier such as 'Refs', 'Fixes', or 'BREAKING CHANGE'
7
+ * @param value - Associated content for the footer entry
8
+ * @param separator - Delimiter between key and value (':' or ' #')
9
+ * @returns A new CommitFooter object
10
+ */
11
+ function createCommitFooter(key, value, separator = ':') {
12
+ return {
13
+ key,
14
+ value,
15
+ separator,
16
+ };
17
+ }
18
+ /**
19
+ * Creates a conventional commit.
20
+ *
21
+ * @param type - The commit type (e.g., 'feat', 'fix')
22
+ * @param subject - The commit subject line
23
+ * @param options - Optional configuration for scope, body, footers, etc.
24
+ * @returns A new ConventionalCommit object
25
+ */
26
+ function createConventionalCommit(type, subject, options) {
27
+ const raw = options?.raw ?? buildRaw(type, subject, options);
28
+ return {
29
+ type,
30
+ subject,
31
+ scope: options?.scope,
32
+ body: options?.body,
33
+ footers: options?.footers ?? [],
34
+ breaking: options?.breaking ?? false,
35
+ breakingDescription: options?.breakingDescription,
36
+ raw,
37
+ };
38
+ }
39
+ /**
40
+ * Builds the raw commit message from parts.
41
+ *
42
+ * @param type - The commit type
43
+ * @param subject - The commit subject
44
+ * @param options - Optional configuration for building the message
45
+ * @returns The formatted raw commit message string
46
+ */
47
+ function buildRaw(type, subject, options) {
48
+ let header = type;
49
+ if (options?.scope) {
50
+ header += `(${options.scope})`;
51
+ }
52
+ if (options?.breaking) {
53
+ header += '!';
54
+ }
55
+ header += `: ${subject}`;
56
+ const parts = [header];
57
+ if (options?.body) {
58
+ parts.push('');
59
+ parts.push(options.body);
60
+ }
61
+ if (options?.footers?.length) {
62
+ parts.push('');
63
+ for (const footer of options.footers) {
64
+ parts.push(`${footer.key}${footer.separator}${footer.separator === ':' ? ' ' : ''}${footer.value}`);
65
+ }
66
+ }
67
+ return parts.join('\n');
68
+ }
69
+
70
+ const COMMIT_TYPES = {
71
+ feat: { description: 'A new feature', semverBump: 'minor' },
72
+ fix: { description: 'A bug fix', semverBump: 'patch' },
73
+ docs: { description: 'Documentation only changes', semverBump: 'none' },
74
+ style: { description: 'Code style changes (formatting, etc.)', semverBump: 'none' },
75
+ refactor: { description: 'Code refactoring without feature or fix', semverBump: 'none' },
76
+ perf: { description: 'Performance improvements', semverBump: 'patch' },
77
+ test: { description: 'Adding or updating tests', semverBump: 'none' },
78
+ build: { description: 'Build system or dependencies', semverBump: 'none' },
79
+ ci: { description: 'CI/CD configuration', semverBump: 'none' },
80
+ chore: { description: 'Other changes', semverBump: 'none' },
81
+ revert: { description: 'Revert a previous commit', semverBump: 'patch' },
82
+ };
83
+ const RELEASE_TYPES = ['feat', 'fix', 'perf', 'revert'];
84
+ const MINOR_TYPES = ['feat'];
85
+ const PATCH_TYPES = ['fix', 'perf', 'revert'];
86
+ /**
87
+ * Checks if a commit type is a standard type.
88
+ *
89
+ * @param type - The commit type to check
90
+ * @returns True if the type is a standard conventional commit type
91
+ */
92
+ function isStandardType(type) {
93
+ return type in COMMIT_TYPES;
94
+ }
95
+ /**
96
+ * Checks if a commit type triggers a release.
97
+ *
98
+ * @param type - The commit type to check
99
+ * @returns True if the type triggers a release
100
+ */
101
+ function isReleaseType(type) {
102
+ return RELEASE_TYPES.includes(type);
103
+ }
104
+ /**
105
+ * Gets the semver bump level for a commit type.
106
+ * Returns 'none' for types that don't trigger a bump.
107
+ *
108
+ * @param type - The commit type
109
+ * @param breaking - Whether this is a breaking change
110
+ * @returns The semver bump level ('major', 'minor', 'patch', or 'none')
111
+ */
112
+ function getSemverBump(type, breaking) {
113
+ if (breaking)
114
+ return 'major';
115
+ const info = COMMIT_TYPES[type];
116
+ return info?.semverBump ?? 'none';
117
+ }
118
+
119
+ /**
120
+ * Replaces all occurrences of a character in a string.
121
+ * Uses character-by-character iteration to avoid regex (ReDoS-safe).
122
+ *
123
+ * @param input - The input string
124
+ * @param target - The character to replace
125
+ * @param replacement - The replacement character
126
+ * @returns String with all occurrences replaced
127
+ */
128
+ function replaceChar(input, target, replacement) {
129
+ const result = [];
130
+ for (let i = 0; i < input.length; i++) {
131
+ result.push(input[i] === target ? replacement : input[i]);
132
+ }
133
+ return result.join('');
134
+ }
135
+ /**
136
+ * Replaces all hyphens with spaces.
137
+ * Convenience wrapper for normalizing footer keys.
138
+ *
139
+ * @param input - The input string
140
+ * @returns String with hyphens replaced by spaces
141
+ */
142
+ function hyphenToSpace(input) {
143
+ return replaceChar(input, '-', ' ');
144
+ }
145
+
146
+ /**
147
+ * Creates a breaking change from a subject indicator (!).
148
+ *
149
+ * @param description - Optional description of the breaking change
150
+ * @returns A BreakingChange object with source 'subject'
151
+ */
152
+ function createBreakingFromSubject(description) {
153
+ return {
154
+ isBreaking: true,
155
+ description,
156
+ source: 'subject',
157
+ };
158
+ }
159
+ /**
160
+ * Creates a breaking change from a footer.
161
+ *
162
+ * @param description - The description of the breaking change
163
+ * @returns A BreakingChange object with source 'footer'
164
+ */
165
+ function createBreakingFromFooter(description) {
166
+ return {
167
+ isBreaking: true,
168
+ description,
169
+ source: 'footer',
170
+ };
171
+ }
172
+ /**
173
+ * Creates a non-breaking change.
174
+ *
175
+ * @returns A BreakingChange object indicating no breaking change
176
+ */
177
+ function createNonBreaking() {
178
+ return {
179
+ isBreaking: false,
180
+ source: 'none',
181
+ };
182
+ }
183
+ /**
184
+ * Checks if a footer key indicates a breaking change.
185
+ *
186
+ * @param key - The footer key to check
187
+ * @returns True if the key indicates a breaking change
188
+ */
189
+ function isBreakingFooterKey(key) {
190
+ const normalized = hyphenToSpace(key.toUpperCase());
191
+ return normalized === 'BREAKING CHANGE';
192
+ }
193
+
194
+ /**
195
+ * Safe copies of Error built-ins via factory functions.
196
+ *
197
+ * Since constructors cannot be safely captured via Object.assign, this module
198
+ * provides factory functions that use Reflect.construct internally.
199
+ *
200
+ * These references are captured at module initialization time to protect against
201
+ * prototype pollution attacks. Import only what you need for tree-shaking.
202
+ *
203
+ * @module @hyperfrontend/immutable-api-utils/built-in-copy/error
204
+ */
205
+ // Capture references at module initialization time
206
+ const _Error = globalThis.Error;
207
+ const _Reflect = globalThis.Reflect;
208
+ /**
209
+ * (Safe copy) Creates a new Error using the captured Error constructor.
210
+ * Use this instead of `new Error()`.
211
+ *
212
+ * @param message - Optional error message.
213
+ * @param options - Optional error options.
214
+ * @returns A new Error instance.
215
+ */
216
+ const createError = (message, options) => _Reflect.construct(_Error, [message, options]);
217
+
218
+ /**
219
+ * Parses the body section of a commit message.
220
+ *
221
+ * The body starts after the first blank line and continues until
222
+ * we encounter a footer (key: value or key #value pattern) or end of message.
223
+ *
224
+ * @param lines - All lines of the commit message
225
+ * @param startIndex - Index to start looking for body (after header)
226
+ * @returns Parsed body or undefined if no body
227
+ */
228
+ function parseBody(lines, startIndex) {
229
+ // Skip blank lines to find body start
230
+ let pos = startIndex;
231
+ while (pos < lines.length && lines[pos].trim() === '') {
232
+ pos++;
233
+ }
234
+ if (pos >= lines.length) {
235
+ return undefined;
236
+ }
237
+ // If the first non-blank line is a footer, there's no body
238
+ if (isFooterLine(lines[pos])) {
239
+ return undefined;
240
+ }
241
+ const bodyLines = [];
242
+ // Collect body lines until we hit a footer or end
243
+ while (pos < lines.length) {
244
+ const line = lines[pos];
245
+ // Check if this line looks like a footer
246
+ if (isFooterLine(line)) {
247
+ break;
248
+ }
249
+ // Check for blank line followed by a footer
250
+ if (line.trim() === '' && pos + 1 < lines.length && isFooterLine(lines[pos + 1])) {
251
+ break;
252
+ }
253
+ bodyLines.push(line);
254
+ pos++;
255
+ }
256
+ // Trim trailing blank lines from body
257
+ while (bodyLines.length > 0 && bodyLines[bodyLines.length - 1].trim() === '') {
258
+ bodyLines.pop();
259
+ }
260
+ if (bodyLines.length === 0) {
261
+ return undefined;
262
+ }
263
+ return {
264
+ body: bodyLines.join('\n'),
265
+ endIndex: pos,
266
+ };
267
+ }
268
+ /**
269
+ * Checks if a line looks like a footer.
270
+ *
271
+ * Footer format:
272
+ * - key: value
273
+ * - key #value (for issue references)
274
+ * - BREAKING CHANGE: description
275
+ * - BREAKING-CHANGE: description
276
+ *
277
+ * @param line - The line to check
278
+ * @returns True if the line looks like a footer
279
+ */
280
+ function isFooterLine(line) {
281
+ if (!line)
282
+ return false;
283
+ const trimmed = line.trim();
284
+ if (trimmed === '')
285
+ return false;
286
+ // Check for BREAKING CHANGE or BREAKING-CHANGE
287
+ if (trimmed.startsWith('BREAKING CHANGE:') || trimmed.startsWith('BREAKING-CHANGE:')) {
288
+ return true;
289
+ }
290
+ // Check for token: value or token #value pattern
291
+ let pos = 0;
292
+ // Skip leading whitespace
293
+ while (pos < trimmed.length && trimmed[pos] === ' ') {
294
+ pos++;
295
+ }
296
+ // Read token (alphanumeric and hyphens)
297
+ const tokenStart = pos;
298
+ while (pos < trimmed.length) {
299
+ const char = trimmed[pos];
300
+ const code = char.charCodeAt(0);
301
+ if ((code >= 97 && code <= 122) || // a-z
302
+ (code >= 65 && code <= 90) || // A-Z
303
+ (code >= 48 && code <= 57) || // 0-9
304
+ code === 45 // -
305
+ ) {
306
+ pos++;
307
+ }
308
+ else {
309
+ break;
310
+ }
311
+ }
312
+ // Must have at least one character in token
313
+ if (pos === tokenStart)
314
+ return false;
315
+ // Must be followed by : or space-#
316
+ if (trimmed[pos] === ':') {
317
+ return true;
318
+ }
319
+ if (trimmed[pos] === ' ' && trimmed[pos + 1] === '#') {
320
+ return true;
321
+ }
322
+ return false;
323
+ }
324
+
325
+ /**
326
+ * Parses the footer section of a commit message.
327
+ *
328
+ * @param lines - All lines of the commit message
329
+ * @param startIndex - Index where footers start
330
+ * @returns Parsed footers
331
+ */
332
+ function parseFooters(lines, startIndex) {
333
+ const footers = [];
334
+ let breakingDescription;
335
+ let pos = startIndex;
336
+ // Skip blank lines
337
+ while (pos < lines.length && lines[pos].trim() === '') {
338
+ pos++;
339
+ }
340
+ while (pos < lines.length) {
341
+ const line = lines[pos];
342
+ const footer = parseFooterLine(line);
343
+ if (footer) {
344
+ footers.push(footer);
345
+ // Check for breaking change
346
+ if (isBreakingFooterKey(footer.key)) {
347
+ breakingDescription = footer.value;
348
+ // Breaking description may span multiple lines
349
+ pos++;
350
+ while (pos < lines.length && !isNewFooter(lines[pos])) {
351
+ const nextLine = lines[pos];
352
+ if (nextLine.trim() !== '') {
353
+ breakingDescription += '\n' + nextLine;
354
+ }
355
+ pos++;
356
+ }
357
+ continue;
358
+ }
359
+ }
360
+ pos++;
361
+ }
362
+ return { footers, breakingDescription };
363
+ }
364
+ /**
365
+ * Parses a single footer line.
366
+ *
367
+ * @param line - The line to parse
368
+ * @returns The parsed CommitFooter or null if not a valid footer
369
+ */
370
+ function parseFooterLine(line) {
371
+ if (!line)
372
+ return null;
373
+ const trimmed = line.trim();
374
+ if (trimmed === '')
375
+ return null;
376
+ // Check for BREAKING CHANGE or BREAKING-CHANGE
377
+ if (trimmed.startsWith('BREAKING CHANGE:')) {
378
+ return {
379
+ key: 'BREAKING CHANGE',
380
+ value: trimmed.slice(16).trim(),
381
+ separator: ':',
382
+ };
383
+ }
384
+ if (trimmed.startsWith('BREAKING-CHANGE:')) {
385
+ return {
386
+ key: 'BREAKING-CHANGE',
387
+ value: trimmed.slice(16).trim(),
388
+ separator: ':',
389
+ };
390
+ }
391
+ // Parse token: value or token #value
392
+ let pos = 0;
393
+ // Read token
394
+ const tokenStart = pos;
395
+ while (pos < trimmed.length) {
396
+ const char = trimmed[pos];
397
+ const code = char.charCodeAt(0);
398
+ if ((code >= 97 && code <= 122) || // a-z
399
+ (code >= 65 && code <= 90) || // A-Z
400
+ (code >= 48 && code <= 57) || // 0-9
401
+ code === 45 // -
402
+ ) {
403
+ pos++;
404
+ }
405
+ else {
406
+ break;
407
+ }
408
+ }
409
+ if (pos === tokenStart)
410
+ return null;
411
+ const key = trimmed.slice(tokenStart, pos);
412
+ // Check separator
413
+ let separator;
414
+ let valueStart;
415
+ if (trimmed[pos] === ':') {
416
+ separator = ':';
417
+ valueStart = pos + 1;
418
+ }
419
+ else if (trimmed[pos] === ' ' && trimmed[pos + 1] === '#') {
420
+ separator = ' #';
421
+ valueStart = pos + 2;
422
+ }
423
+ else {
424
+ return null;
425
+ }
426
+ // Skip whitespace after separator (for : case)
427
+ if (separator === ':') {
428
+ while (valueStart < trimmed.length && trimmed[valueStart] === ' ') {
429
+ valueStart++;
430
+ }
431
+ }
432
+ const value = trimmed.slice(valueStart);
433
+ return { key, value, separator };
434
+ }
435
+ /**
436
+ * Checks if a line starts a new footer.
437
+ *
438
+ * @param line - The line to check
439
+ * @returns True if the line starts a new footer
440
+ */
441
+ function isNewFooter(line) {
442
+ if (!line)
443
+ return false;
444
+ return parseFooterLine(line) !== null;
445
+ }
446
+
447
+ /**
448
+ * Parses a conventional commit header line.
449
+ *
450
+ * @param line - The first line of the commit message
451
+ * @returns Parsed header with type, scope, subject, and breaking flag
452
+ */
453
+ function parseHeader(line) {
454
+ let pos = 0;
455
+ const len = line.length;
456
+ // Extract type (alphanumeric characters until ( or : or !)
457
+ const typeStart = pos;
458
+ while (pos < len) {
459
+ const char = line[pos];
460
+ const code = char.charCodeAt(0);
461
+ // a-z, A-Z, 0-9
462
+ if ((code >= 97 && code <= 122) || (code >= 65 && code <= 90) || (code >= 48 && code <= 57)) {
463
+ pos++;
464
+ }
465
+ else {
466
+ break;
467
+ }
468
+ }
469
+ const type = line.slice(typeStart, pos).toLowerCase();
470
+ // Check for scope in parentheses
471
+ let scope;
472
+ if (line[pos] === '(') {
473
+ pos++; // skip (
474
+ const scopeStart = pos;
475
+ while (pos < len && line[pos] !== ')') {
476
+ pos++;
477
+ }
478
+ scope = line.slice(scopeStart, pos);
479
+ if (line[pos] === ')') {
480
+ pos++; // skip )
481
+ }
482
+ }
483
+ // Check for breaking change indicator (!)
484
+ const breaking = line[pos] === '!';
485
+ if (breaking) {
486
+ pos++;
487
+ }
488
+ // Expect colon
489
+ if (line[pos] === ':') {
490
+ pos++;
491
+ }
492
+ // Skip whitespace after colon
493
+ while (pos < len && line[pos] === ' ') {
494
+ pos++;
495
+ }
496
+ // Rest is subject
497
+ const subject = line.slice(pos).trim();
498
+ return {
499
+ type,
500
+ scope,
501
+ subject,
502
+ breaking,
503
+ };
504
+ }
505
+
506
+ /**
507
+ * Maximum commit message length (10KB)
508
+ */
509
+ const MAX_MESSAGE_LENGTH = 10 * 1024;
510
+ /**
511
+ * Parses a conventional commit message.
512
+ *
513
+ * @param message - The complete commit message
514
+ * @returns Parsed ConventionalCommit object
515
+ * @throws {Error} If message exceeds maximum length
516
+ */
517
+ function parseConventionalCommit(message) {
518
+ if (message.length > MAX_MESSAGE_LENGTH) {
519
+ throw createError(`Commit message exceeds maximum length of ${MAX_MESSAGE_LENGTH} characters`);
520
+ }
521
+ const lines = splitLines(message);
522
+ if (lines.length === 0) {
523
+ return {
524
+ type: '',
525
+ subject: '',
526
+ footers: [],
527
+ breaking: false,
528
+ raw: message,
529
+ };
530
+ }
531
+ // Parse header (first line)
532
+ const header = parseHeader(lines[0]);
533
+ // Parse body and footers
534
+ let body;
535
+ let footersStartIndex = 1;
536
+ if (lines.length > 1) {
537
+ const bodyResult = parseBody(lines, 1);
538
+ if (bodyResult) {
539
+ body = bodyResult.body;
540
+ footersStartIndex = bodyResult.endIndex;
541
+ }
542
+ }
543
+ // Parse footers
544
+ const footersResult = parseFooters(lines, footersStartIndex);
545
+ const breakingDescriptionFromFooter = footersResult.breakingDescription;
546
+ // Determine breaking status
547
+ const breaking = header.breaking || footersResult.footers.some((f) => hyphenToSpace(f.key.toUpperCase()) === 'BREAKING CHANGE');
548
+ // Determine breaking description
549
+ let breakingDescription;
550
+ if (header.breaking && header.subject) {
551
+ // If breaking via !, the subject may describe the breaking change
552
+ breakingDescription = header.subject;
553
+ }
554
+ if (breakingDescriptionFromFooter) {
555
+ breakingDescription = breakingDescriptionFromFooter;
556
+ }
557
+ return {
558
+ type: header.type,
559
+ scope: header.scope,
560
+ subject: header.subject,
561
+ body,
562
+ footers: footersResult.footers,
563
+ breaking,
564
+ breakingDescription,
565
+ raw: message,
566
+ };
567
+ }
568
+ /**
569
+ * Splits a message into lines, handling different line endings.
570
+ *
571
+ * @param message - The message to split into lines
572
+ * @returns An array of lines from the message
573
+ */
574
+ function splitLines(message) {
575
+ const lines = [];
576
+ let currentLine = '';
577
+ let i = 0;
578
+ while (i < message.length) {
579
+ const char = message[i];
580
+ if (char === '\r') {
581
+ lines.push(currentLine);
582
+ currentLine = '';
583
+ // Skip \n if this is \r\n
584
+ if (message[i + 1] === '\n') {
585
+ i++;
586
+ }
587
+ }
588
+ else if (char === '\n') {
589
+ lines.push(currentLine);
590
+ currentLine = '';
591
+ }
592
+ else {
593
+ currentLine += char;
594
+ }
595
+ i++;
596
+ }
597
+ // Add final line if not empty
598
+ if (currentLine || message.endsWith('\n') || message.endsWith('\r')) {
599
+ lines.push(currentLine);
600
+ }
601
+ return lines;
602
+ }
603
+ /**
604
+ * Checks if a commit message follows conventional commit format.
605
+ *
606
+ * @param message - The commit message to check
607
+ * @returns true if the message appears to be a conventional commit
608
+ */
609
+ function isConventionalCommit(message) {
610
+ if (!message || message.trim() === '') {
611
+ return false;
612
+ }
613
+ const firstLine = message.split('\n')[0] ?? '';
614
+ const header = parseHeader(firstLine);
615
+ // Must have a type and subject
616
+ if (!header.type || !header.subject) {
617
+ return false;
618
+ }
619
+ // Type should not be too long (indicates not a type)
620
+ if (header.type.length > 20) {
621
+ return false;
622
+ }
623
+ // Type should be a recognized conventional commit type
624
+ if (!isStandardType(header.type)) {
625
+ return false;
626
+ }
627
+ return true;
628
+ }
629
+
630
+ exports.COMMIT_TYPES = COMMIT_TYPES;
631
+ exports.MINOR_TYPES = MINOR_TYPES;
632
+ exports.PATCH_TYPES = PATCH_TYPES;
633
+ exports.RELEASE_TYPES = RELEASE_TYPES;
634
+ exports.createBreakingFromFooter = createBreakingFromFooter;
635
+ exports.createBreakingFromSubject = createBreakingFromSubject;
636
+ exports.createCommitFooter = createCommitFooter;
637
+ exports.createConventionalCommit = createConventionalCommit;
638
+ exports.createNonBreaking = createNonBreaking;
639
+ exports.getSemverBump = getSemverBump;
640
+ exports.isBreakingFooterKey = isBreakingFooterKey;
641
+ exports.isConventionalCommit = isConventionalCommit;
642
+ exports.isReleaseType = isReleaseType;
643
+ exports.isStandardType = isStandardType;
644
+ exports.parseBody = parseBody;
645
+ exports.parseConventionalCommit = parseConventionalCommit;
646
+ exports.parseFooters = parseFooters;
647
+ exports.parseHeader = parseHeader;
648
+ //# sourceMappingURL=index.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs.js","sources":["../../../../../../../../libs/versioning/src/commits/models/conventional.ts","../../../../../../../../libs/versioning/src/commits/models/commit-type.ts","../../../../../../../../libs/versioning/src/commits/utils/replace-char.ts","../../../../../../../../libs/versioning/src/commits/models/breaking.ts","../../../../../../../../libs/utils/immutable-api/src/built-in-copy/error/index.ts","../../../../../../../../libs/versioning/src/commits/parse/body.ts","../../../../../../../../libs/versioning/src/commits/parse/footer.ts","../../../../../../../../libs/versioning/src/commits/parse/header.ts","../../../../../../../../libs/versioning/src/commits/parse/message.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null],"names":[],"mappings":";;AAwCA;;;;;;;AAOG;AACG,SAAU,kBAAkB,CAAC,GAAW,EAAE,KAAa,EAAE,YAAwB,GAAG,EAAA;IACxF,OAAO;QACL,GAAG;QACH,KAAK;QACL,SAAS;KACV;AACH;AAEA;;;;;;;AAOG;SACa,wBAAwB,CACtC,IAAgB,EAChB,OAAe,EACf,OAA0F,EAAA;AAE1F,IAAA,MAAM,GAAG,GAAG,OAAO,EAAE,GAAG,IAAI,QAAQ,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,CAAC;IAE5D,OAAO;QACL,IAAI;QACJ,OAAO;QACP,KAAK,EAAE,OAAO,EAAE,KAAK;QACrB,IAAI,EAAE,OAAO,EAAE,IAAI;AACnB,QAAA,OAAO,EAAE,OAAO,EAAE,OAAO,IAAI,EAAE;AAC/B,QAAA,QAAQ,EAAE,OAAO,EAAE,QAAQ,IAAI,KAAK;QACpC,mBAAmB,EAAE,OAAO,EAAE,mBAAmB;QACjD,GAAG;KACJ;AACH;AAEA;;;;;;;AAOG;AACH,SAAS,QAAQ,CAAC,IAAgB,EAAE,OAAe,EAAE,OAAuE,EAAA;IAC1H,IAAI,MAAM,GAAG,IAAI;AAEjB,IAAA,IAAI,OAAO,EAAE,KAAK,EAAE;AAClB,QAAA,MAAM,IAAI,CAAA,CAAA,EAAI,OAAO,CAAC,KAAK,GAAG;IAChC;AAEA,IAAA,IAAI,OAAO,EAAE,QAAQ,EAAE;QACrB,MAAM,IAAI,GAAG;IACf;AAEA,IAAA,MAAM,IAAI,CAAA,EAAA,EAAK,OAAO,CAAA,CAAE;AAExB,IAAA,MAAM,KAAK,GAAG,CAAC,MAAM,CAAC;AAEtB,IAAA,IAAI,OAAO,EAAE,IAAI,EAAE;AACjB,QAAA,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC;AACd,Q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I,CAAC,MAAM,GAAG,EAAE,EAAE;AAC3B,QAAA,OAAO,KAAK;IACd;;IAGA,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE;AAChC,QAAA,OAAO,KAAK;IACd;AAEA,IAAA,OAAO,IAAI;AACb;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,3 @@
1
+ export * from './models';
2
+ export * from './parse';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../libs/versioning/src/commits/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,SAAS,CAAA"}