git-release-manager 0.0.5 → 0.0.7

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 (167) hide show
  1. package/README.md +47 -47
  2. package/dist/config/defaults/config.json +231 -231
  3. package/dist/core/{changelog/app.js → app.js} +12 -6
  4. package/dist/core/app.js.map +1 -0
  5. package/dist/index.js +2 -2
  6. package/dist/index.js.map +1 -1
  7. package/dist/modules/changelog/templateOperations.js +6 -1
  8. package/dist/modules/changelog/templateOperations.js.map +1 -1
  9. package/dist/modules/version/VersionManager.js +0 -20
  10. package/dist/modules/version/VersionManager.js.map +1 -1
  11. package/dist/templates/defaults/changelog.detailed.ejs +110 -110
  12. package/dist/templates/defaults/changelog.ejs +67 -67
  13. package/package.json +63 -64
  14. package/dist/core/changelog/app.js.map +0 -1
  15. package/dist/src/cli/types/BranchCliArgs.js +0 -3
  16. package/dist/src/cli/types/BranchCliArgs.js.map +0 -1
  17. package/dist/src/cli/types/ChangelogCliArgs.js +0 -3
  18. package/dist/src/cli/types/ChangelogCliArgs.js.map +0 -1
  19. package/dist/src/cli/types/CliArgs.js +0 -3
  20. package/dist/src/cli/types/CliArgs.js.map +0 -1
  21. package/dist/src/cli/types/VersionCliArgs.js +0 -3
  22. package/dist/src/cli/types/VersionCliArgs.js.map +0 -1
  23. package/dist/src/config/configLoader.js +0 -61
  24. package/dist/src/config/configLoader.js.map +0 -1
  25. package/dist/src/config/configManager.js +0 -66
  26. package/dist/src/config/configManager.js.map +0 -1
  27. package/dist/src/config/constants.js +0 -10
  28. package/dist/src/config/constants.js.map +0 -1
  29. package/dist/src/config/defaults/config.json +0 -232
  30. package/dist/src/config/types/ChannelType.js +0 -3
  31. package/dist/src/config/types/ChannelType.js.map +0 -1
  32. package/dist/src/config/types/CommitType.js +0 -3
  33. package/dist/src/config/types/CommitType.js.map +0 -1
  34. package/dist/src/config/types/Config.js +0 -3
  35. package/dist/src/config/types/Config.js.map +0 -1
  36. package/dist/src/config/types/FileGroups.js +0 -3
  37. package/dist/src/config/types/FileGroups.js.map +0 -1
  38. package/dist/src/config/types/LinkType.js +0 -3
  39. package/dist/src/config/types/LinkType.js.map +0 -1
  40. package/dist/src/config/types/MentionType.js +0 -3
  41. package/dist/src/config/types/MentionType.js.map +0 -1
  42. package/dist/src/config/types/NoteType.js +0 -3
  43. package/dist/src/config/types/NoteType.js.map +0 -1
  44. package/dist/src/config/types/Options.js +0 -3
  45. package/dist/src/config/types/Options.js.map +0 -1
  46. package/dist/src/core/changelog/app.js +0 -20
  47. package/dist/src/core/changelog/app.js.map +0 -1
  48. package/dist/src/index.js +0 -208
  49. package/dist/src/index.js.map +0 -1
  50. package/dist/src/modules/changelog/templateOperations.js +0 -142
  51. package/dist/src/modules/changelog/templateOperations.js.map +0 -1
  52. package/dist/src/modules/changes/types/ChangeInformation.js +0 -3
  53. package/dist/src/modules/changes/types/ChangeInformation.js.map +0 -1
  54. package/dist/src/modules/changes/types/Context.js +0 -3
  55. package/dist/src/modules/changes/types/Context.js.map +0 -1
  56. package/dist/src/modules/changes/types/RangeInfo.js +0 -8
  57. package/dist/src/modules/changes/types/RangeInfo.js.map +0 -1
  58. package/dist/src/modules/changes/types/RangeSummary.js +0 -3
  59. package/dist/src/modules/changes/types/RangeSummary.js.map +0 -1
  60. package/dist/src/modules/changes/types/ReferenceTypesEnum.js +0 -12
  61. package/dist/src/modules/changes/types/ReferenceTypesEnum.js.map +0 -1
  62. package/dist/src/modules/git/commits/commitProcessor.js +0 -50
  63. package/dist/src/modules/git/commits/commitProcessor.js.map +0 -1
  64. package/dist/src/modules/git/commits/gitLogFetcher.js +0 -27
  65. package/dist/src/modules/git/commits/gitLogFetcher.js.map +0 -1
  66. package/dist/src/modules/git/commits/index.js +0 -136
  67. package/dist/src/modules/git/commits/index.js.map +0 -1
  68. package/dist/src/modules/git/commits/profileHandler.js +0 -48
  69. package/dist/src/modules/git/commits/profileHandler.js.map +0 -1
  70. package/dist/src/modules/git/commits/regexHandlers.js +0 -27
  71. package/dist/src/modules/git/commits/regexHandlers.js.map +0 -1
  72. package/dist/src/modules/git/context/branchHandler.js +0 -18
  73. package/dist/src/modules/git/context/branchHandler.js.map +0 -1
  74. package/dist/src/modules/git/context/commitHandler.js +0 -29
  75. package/dist/src/modules/git/context/commitHandler.js.map +0 -1
  76. package/dist/src/modules/git/context/index.js +0 -26
  77. package/dist/src/modules/git/context/index.js.map +0 -1
  78. package/dist/src/modules/git/context/remoteHandler.js +0 -20
  79. package/dist/src/modules/git/context/remoteHandler.js.map +0 -1
  80. package/dist/src/modules/git/context/statusHandler.js +0 -16
  81. package/dist/src/modules/git/context/statusHandler.js.map +0 -1
  82. package/dist/src/modules/git/context/tagHandler.js +0 -28
  83. package/dist/src/modules/git/context/tagHandler.js.map +0 -1
  84. package/dist/src/modules/git/gitOperations.js +0 -56
  85. package/dist/src/modules/git/gitOperations.js.map +0 -1
  86. package/dist/src/modules/git/types/Author.js +0 -3
  87. package/dist/src/modules/git/types/Author.js.map +0 -1
  88. package/dist/src/modules/git/types/Branch.js +0 -3
  89. package/dist/src/modules/git/types/Branch.js.map +0 -1
  90. package/dist/src/modules/git/types/BranchInfo.js +0 -3
  91. package/dist/src/modules/git/types/BranchInfo.js.map +0 -1
  92. package/dist/src/modules/git/types/CommitContent.js +0 -3
  93. package/dist/src/modules/git/types/CommitContent.js.map +0 -1
  94. package/dist/src/modules/git/types/CommitInfo.js +0 -3
  95. package/dist/src/modules/git/types/CommitInfo.js.map +0 -1
  96. package/dist/src/modules/git/types/CommitType.js +0 -3
  97. package/dist/src/modules/git/types/CommitType.js.map +0 -1
  98. package/dist/src/modules/git/types/GitCommit.js +0 -3
  99. package/dist/src/modules/git/types/GitCommit.js.map +0 -1
  100. package/dist/src/modules/git/types/GitReference.js +0 -3
  101. package/dist/src/modules/git/types/GitReference.js.map +0 -1
  102. package/dist/src/modules/git/types/Link.js +0 -3
  103. package/dist/src/modules/git/types/Link.js.map +0 -1
  104. package/dist/src/modules/git/types/Mention.js +0 -3
  105. package/dist/src/modules/git/types/Mention.js.map +0 -1
  106. package/dist/src/modules/git/types/Note.js +0 -3
  107. package/dist/src/modules/git/types/Note.js.map +0 -1
  108. package/dist/src/modules/git/types/RemoteInfo.js +0 -3
  109. package/dist/src/modules/git/types/RemoteInfo.js.map +0 -1
  110. package/dist/src/modules/git/types/Repository.js +0 -3
  111. package/dist/src/modules/git/types/Repository.js.map +0 -1
  112. package/dist/src/modules/git/types/StatusInfo.js +0 -3
  113. package/dist/src/modules/git/types/StatusInfo.js.map +0 -1
  114. package/dist/src/modules/git/types/Tag.js +0 -3
  115. package/dist/src/modules/git/types/Tag.js.map +0 -1
  116. package/dist/src/modules/git/types/TagInfo.js +0 -3
  117. package/dist/src/modules/git/types/TagInfo.js.map +0 -1
  118. package/dist/src/modules/git/utils/branchUtils.js +0 -54
  119. package/dist/src/modules/git/utils/branchUtils.js.map +0 -1
  120. package/dist/src/modules/git/utils/commitUtils.js +0 -48
  121. package/dist/src/modules/git/utils/commitUtils.js.map +0 -1
  122. package/dist/src/modules/git/utils/logUtils.js +0 -18
  123. package/dist/src/modules/git/utils/logUtils.js.map +0 -1
  124. package/dist/src/modules/git/utils/rangeOperations.js +0 -14
  125. package/dist/src/modules/git/utils/rangeOperations.js.map +0 -1
  126. package/dist/src/modules/git/utils/refUtils.js +0 -41
  127. package/dist/src/modules/git/utils/refUtils.js.map +0 -1
  128. package/dist/src/modules/git/utils/referenceUtils.js +0 -135
  129. package/dist/src/modules/git/utils/referenceUtils.js.map +0 -1
  130. package/dist/src/modules/git/utils/tagUtils.js +0 -55
  131. package/dist/src/modules/git/utils/tagUtils.js.map +0 -1
  132. package/dist/src/modules/output/writer.js +0 -46
  133. package/dist/src/modules/output/writer.js.map +0 -1
  134. package/dist/src/modules/sections/contributors.js +0 -50
  135. package/dist/src/modules/sections/contributors.js.map +0 -1
  136. package/dist/src/modules/sections/grouping.js +0 -64
  137. package/dist/src/modules/sections/grouping.js.map +0 -1
  138. package/dist/src/modules/sections/index.js +0 -19
  139. package/dist/src/modules/sections/index.js.map +0 -1
  140. package/dist/src/modules/sections/summarizing.js +0 -75
  141. package/dist/src/modules/sections/summarizing.js.map +0 -1
  142. package/dist/src/modules/sections/types/Contributor.js +0 -3
  143. package/dist/src/modules/sections/types/Contributor.js.map +0 -1
  144. package/dist/src/modules/sections/types/Group.js +0 -3
  145. package/dist/src/modules/sections/types/Group.js.map +0 -1
  146. package/dist/src/modules/sections/types/SectionSummary.js +0 -3
  147. package/dist/src/modules/sections/types/SectionSummary.js.map +0 -1
  148. package/dist/src/modules/sections/types/Sections.js +0 -3
  149. package/dist/src/modules/sections/types/Sections.js.map +0 -1
  150. package/dist/src/templates/constants.js +0 -10
  151. package/dist/src/templates/constants.js.map +0 -1
  152. package/dist/src/templates/defaults/changelog.detailed.ejs +0 -111
  153. package/dist/src/templates/defaults/changelog.ejs +0 -68
  154. package/dist/src/templates/templateRenderer.js +0 -46
  155. package/dist/src/templates/templateRenderer.js.map +0 -1
  156. package/dist/src/templates/templateResolver.js +0 -70
  157. package/dist/src/templates/templateResolver.js.map +0 -1
  158. package/dist/src/types/PackageJson.js +0 -3
  159. package/dist/src/types/PackageJson.js.map +0 -1
  160. package/dist/src/utils/cmd.js +0 -42
  161. package/dist/src/utils/cmd.js.map +0 -1
  162. package/dist/src/utils/date.js +0 -20
  163. package/dist/src/utils/date.js.map +0 -1
  164. package/dist/test/config/configLoader/loadConfigFile.test.js +0 -94
  165. package/dist/test/config/configLoader/loadConfigFile.test.js.map +0 -1
  166. package/dist/test/config/configManager/readConfig.test.js +0 -124
  167. package/dist/test/config/configManager/readConfig.test.js.map +0 -1
@@ -1,136 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.enrichCommit = enrichCommit;
4
- exports.getTypeTitle = getTypeTitle;
5
- const regexHandlers_1 = require("./regexHandlers");
6
- const profileHandler_1 = require("./profileHandler");
7
- async function enrichCommit(commit, config) {
8
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3;
9
- const match = RegExp(/^(?<type>\w+)(\((?<scope>[^)]+)\))?(?<modifier>[!+~?*])?:\s(?<summary>.+)$/).exec(commit.message);
10
- const type = (_b = (_a = match === null || match === void 0 ? void 0 : match.groups) === null || _a === void 0 ? void 0 : _a.type) !== null && _b !== void 0 ? _b : null;
11
- const scope = (_d = (_c = match === null || match === void 0 ? void 0 : match.groups) === null || _c === void 0 ? void 0 : _c.scope) !== null && _d !== void 0 ? _d : null;
12
- const modifier = (_f = (_e = match === null || match === void 0 ? void 0 : match.groups) === null || _e === void 0 ? void 0 : _e.modifier) !== null && _f !== void 0 ? _f : null;
13
- const summary = (_h = (_g = match === null || match === void 0 ? void 0 : match.groups) === null || _g === void 0 ? void 0 : _g.summary) !== null && _h !== void 0 ? _h : commit.message;
14
- let description = (_k = (_j = commit.body) === null || _j === void 0 ? void 0 : _j.trim()) !== null && _k !== void 0 ? _k : null;
15
- const tagDescription = (_l = description === null || description === void 0 ? void 0 : description.trim()) !== null && _l !== void 0 ? _l : '';
16
- const tagRegex = /Tags:\s(.+)/i;
17
- const labels = [];
18
- const labelsMatch = RegExp(tagRegex).exec(tagDescription);
19
- if (labelsMatch) {
20
- labels.push(...labelsMatch[1].split(',').map(label => (label === null || label === void 0 ? void 0 : label.trim()) || ''));
21
- description = (_o = (_m = description === null || description === void 0 ? void 0 : description.replace(labelsMatch[0], '')) === null || _m === void 0 ? void 0 : _m.trim()) !== null && _o !== void 0 ? _o : null;
22
- }
23
- const mentionDescription = (_p = description === null || description === void 0 ? void 0 : description.trim()) !== null && _p !== void 0 ? _p : '';
24
- const mentionRegex = (0, regexHandlers_1.createMentionRegex)(config.mentionTypes);
25
- const mentions = [];
26
- let mentionMatch;
27
- if (mentionRegex) {
28
- while ((mentionMatch = mentionRegex.exec(mentionDescription)) !== null) {
29
- const matchedTerm = (_q = mentionMatch[0].split(':')[0]) === null || _q === void 0 ? void 0 : _q.trim();
30
- const matchedType = config.mentionTypes.find(mentionType => mentionType.terms.includes(matchedTerm));
31
- const profileUrl = await (0, profileHandler_1.prepareProfileUrlsByEMail)(((_r = mentionMatch[2]) === null || _r === void 0 ? void 0 : _r.trim()) || '');
32
- if (matchedType) {
33
- mentions.push({
34
- type: matchedType.type,
35
- title: matchedType.title,
36
- name: ((_s = mentionMatch[1]) === null || _s === void 0 ? void 0 : _s.trim()) || '',
37
- email: ((_t = mentionMatch[2]) === null || _t === void 0 ? void 0 : _t.trim()) || '',
38
- profileUrl,
39
- });
40
- description = (_v = (_u = description === null || description === void 0 ? void 0 : description.replace(mentionMatch[0], '')) === null || _u === void 0 ? void 0 : _u.trim()) !== null && _v !== void 0 ? _v : null;
41
- }
42
- }
43
- }
44
- const linkDescription = (_w = description === null || description === void 0 ? void 0 : description.trim()) !== null && _w !== void 0 ? _w : '';
45
- const linkRegex = (0, regexHandlers_1.createLinkRegex)(config.linkTypes);
46
- const links = [];
47
- let linkMatch;
48
- if (linkRegex) {
49
- while ((linkMatch = linkRegex.exec(linkDescription)) !== null) {
50
- const matchedTerm = (_x = linkMatch[1]) === null || _x === void 0 ? void 0 : _x.trim();
51
- const matchedType = config.linkTypes.filter(linkType => linkType.terms).find(linkType => { var _a; return (_a = linkType.terms) === null || _a === void 0 ? void 0 : _a.includes(matchedTerm); });
52
- if (matchedType) {
53
- links.push({
54
- type: matchedType.type,
55
- title: matchedType.title,
56
- id: parseInt(linkMatch[2], 10),
57
- });
58
- description = (_z = (_y = description === null || description === void 0 ? void 0 : description.replace(linkMatch[0], '')) === null || _y === void 0 ? void 0 : _y.trim()) !== null && _z !== void 0 ? _z : null;
59
- }
60
- }
61
- }
62
- const commitMessage = ((_0 = commit.message) === null || _0 === void 0 ? void 0 : _0.trim()) || '';
63
- const processedIds = new Set(links.map(link => link.id));
64
- config.linkTypes.forEach(linkType => {
65
- var _a, _b;
66
- if (linkType.sign) {
67
- const signRegex = new RegExp(`\\${linkType.sign[0]}(\\d+)`);
68
- let signMatch;
69
- while ((signMatch = signRegex.exec(linkDescription)) !== null) {
70
- const matchedId = parseInt(signMatch[1], 10);
71
- if (processedIds.has(matchedId)) {
72
- continue;
73
- }
74
- if (!links.some(link => link.type === linkType.type && link.id === matchedId)) {
75
- links.push({
76
- type: linkType.type,
77
- title: linkType.title,
78
- id: matchedId,
79
- });
80
- }
81
- description = (_b = (_a = description === null || description === void 0 ? void 0 : description.replace(signMatch[0], '')) === null || _a === void 0 ? void 0 : _a.trim()) !== null && _b !== void 0 ? _b : null;
82
- }
83
- while ((signMatch = signRegex.exec(commitMessage)) !== null) {
84
- const matchedId = parseInt(signMatch[1], 10);
85
- if (processedIds.has(matchedId)) {
86
- continue;
87
- }
88
- if (!links.some(link => link.type === linkType.type && link.id === matchedId)) {
89
- links.push({
90
- type: linkType.type,
91
- title: linkType.title,
92
- id: matchedId,
93
- });
94
- }
95
- }
96
- }
97
- });
98
- const noteDescription = (_1 = description === null || description === void 0 ? void 0 : description.trim()) !== null && _1 !== void 0 ? _1 : '';
99
- const notes = [];
100
- const noteRegex = /(.*?):\s(.+)/g;
101
- let noteMatch;
102
- while ((noteMatch = noteRegex.exec(noteDescription)) !== null) {
103
- notes.push({
104
- type: noteMatch[1].toLowerCase(),
105
- content: noteMatch[2],
106
- });
107
- description = (_3 = (_2 = description === null || description === void 0 ? void 0 : description.replace(noteMatch[0], '')) === null || _2 === void 0 ? void 0 : _2.trim()) !== null && _3 !== void 0 ? _3 : null;
108
- }
109
- const typeTitle = getTypeTitle(config.commitTypes, type);
110
- const profileUrl = await (0, profileHandler_1.prepareProfileUrlsByEMail)(commit.authorEmail);
111
- const commitContent = {
112
- type,
113
- typeTitle,
114
- scope,
115
- modifier,
116
- summary,
117
- description,
118
- author: {
119
- name: commit.authorName,
120
- email: commit.authorEmail,
121
- profileUrl,
122
- },
123
- mentions,
124
- links,
125
- notes,
126
- labels,
127
- raw: commit,
128
- files: [],
129
- };
130
- return commitContent;
131
- }
132
- function getTypeTitle(commitTypes, type) {
133
- const matchingType = commitTypes.find(ct => ct.terms.includes(type !== null && type !== void 0 ? type : ''));
134
- return matchingType ? matchingType.title : 'Other Changes';
135
- }
136
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/git/commits/index.ts"],"names":[],"mappings":";;AAUA,oCA4IC;AAED,oCAGC;AApJD,mDAAqE;AACrE,qDAA4D;AAErD,KAAK,UAAU,YAAY,CAAC,MAAiB,EAAE,MAAc;;IAChE,MAAM,KAAK,GAAG,MAAM,CAAC,4EAA4E,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAA;IAEvH,MAAM,IAAI,GAAG,MAAA,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,0CAAE,IAAI,mCAAI,IAAI,CAAA;IACxC,MAAM,KAAK,GAAG,MAAA,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,0CAAE,KAAK,mCAAI,IAAI,CAAA;IAC1C,MAAM,QAAQ,GAAG,MAAA,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,0CAAE,QAAQ,mCAAI,IAAI,CAAA;IAChD,MAAM,OAAO,GAAG,MAAA,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,0CAAE,OAAO,mCAAI,MAAM,CAAC,OAAO,CAAA;IACxD,IAAI,WAAW,GAAG,MAAA,MAAA,MAAM,CAAC,IAAI,0CAAE,IAAI,EAAE,mCAAI,IAAI,CAAA;IAE7C,MAAM,cAAc,GAAG,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,IAAI,EAAE,mCAAI,EAAE,CAAA;IAChD,MAAM,QAAQ,GAAG,cAAc,CAAA;IAC/B,MAAM,MAAM,GAAa,EAAE,CAAA;IAC3B,MAAM,WAAW,G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AC,eAAe,CAAA;AAC9D,CAAC"}
@@ -1,48 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.profileUrlCache = void 0;
4
- exports.prepareProfileUrlsByEMail = prepareProfileUrlsByEMail;
5
- exports.getGitHubProfileUrl = getGitHubProfileUrl;
6
- exports.profileUrlCache = new Map();
7
- async function prepareProfileUrlsByEMail(email) {
8
- if (!email) {
9
- return undefined;
10
- }
11
- if (!exports.profileUrlCache.has(email)) {
12
- let profileUrl = null;
13
- if (process.env.GITHUB_TOKEN) {
14
- profileUrl = await getGitHubProfileUrl(email, process.env.GITHUB_TOKEN);
15
- }
16
- exports.profileUrlCache.set(email, profileUrl !== null && profileUrl !== void 0 ? profileUrl : `mailto:${email}`);
17
- }
18
- return exports.profileUrlCache.get(email);
19
- }
20
- async function getGitHubProfileUrl(email, token) {
21
- const url = `https://api.github.com/search/users?q=${email}`;
22
- try {
23
- const response = await fetch(url, {
24
- headers: token
25
- ? {
26
- Authorization: `token ${token}`,
27
- }
28
- : {},
29
- });
30
- if (!response.ok) {
31
- console.error('API Request Failed:', response.statusText);
32
- return null;
33
- }
34
- const data = await response.json();
35
- if (data.total_count > 0 && data.items[0].html_url) {
36
- return data.items[0].html_url;
37
- }
38
- else {
39
- console.warn('No GitHub profile found for email:', email);
40
- return null;
41
- }
42
- }
43
- catch (error) {
44
- console.error('Error fetching GitHub profile:', error);
45
- return null;
46
- }
47
- }
48
- //# sourceMappingURL=profileHandler.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"profileHandler.js","sourceRoot":"","sources":["../../../../../src/modules/git/commits/profileHandler.ts"],"names":[],"mappings":";;;AAEA,8DAcC;AAED,kDA4BC;AA9CY,QAAA,eAAe,GAAG,IAAI,GAAG,EAAkB,CAAA;AAEjD,KAAK,UAAU,yBAAyB,CAAC,KAAa;IACzD,IAAI,CAAC,KAAK,EAAE,CAAC;QACT,OAAO,SAAS,CAAA;IACpB,CAAC;IAED,IAAI,CA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AAO,IAAI,CAAA;QACf,CAAC;IACL,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACb,OAAO,CAAC,KAAK,CAAC,gCAAgC,EAAE,KAAK,CAAC,CAAA;QACtD,OAAO,IAAI,CAAA;IACf,CAAC;AACL,CAAC"}
@@ -1,27 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.createCommitMessageRegex = createCommitMessageRegex;
4
- exports.createLinkRegex = createLinkRegex;
5
- exports.createMentionRegex = createMentionRegex;
6
- function createCommitMessageRegex(commitTypes) {
7
- if (!(commitTypes === null || commitTypes === void 0 ? void 0 : commitTypes.length))
8
- return null;
9
- const types = commitTypes.flatMap(commitType => commitType.terms);
10
- const joinedTypes = types.map(type => type.replace(/[.*+?^${}()|[\]\\]/g, '\\$&')).join('|');
11
- return new RegExp(`^(${joinedTypes})(\\(.+\\))?[!+~?*]?:\\s.+$`);
12
- }
13
- function createLinkRegex(linkTypes) {
14
- if (!(linkTypes === null || linkTypes === void 0 ? void 0 : linkTypes.length))
15
- return null;
16
- const terms = linkTypes.filter(linkType => linkType.terms).flatMap(linkType => linkType.terms || []);
17
- const joinedTerms = terms.map(term => term.replace(/[.*+?^${}()|[\]\\]/g, '\\$&')).join('|');
18
- return new RegExp(`(${joinedTerms}):?\\s#?(\\d+)`, 'gi');
19
- }
20
- function createMentionRegex(mentionTypes) {
21
- if (!(mentionTypes === null || mentionTypes === void 0 ? void 0 : mentionTypes.length))
22
- return null;
23
- const terms = mentionTypes.flatMap(mentionType => mentionType.terms);
24
- const joinedTerms = terms.map(term => term.replace(/[.*+?^${}()|[\]\\]/g, '\\$&')).join('|');
25
- return new RegExp(`(?:${joinedTerms}):\\s(.+)\\s<(.+)>`, 'gi');
26
- }
27
- //# sourceMappingURL=regexHandlers.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"regexHandlers.js","sourceRoot":"","sources":["../../../../../src/modules/git/commits/regexHandlers.ts"],"names":[],"mappings":";;AA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,GAAG,YAAY,CAAC,OAAO,CAAC,WAAW,CAAC,EAAE,CAAC,WAAW,CAAC,KAAK,CAAC,CAAA;IACpE,MAAM,WAAW,GAAG,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,qBAAqB,EAAE,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;IAC5F,OAAO,IAAI,MAAM,CAAC,MAAM,WAAW,oBAAoB,EAAE,IAAI,CAAC,CAAA;AAClE,CAAC"}
@@ -1,18 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getBranchesAsync = getBranchesAsync;
4
- const cmd_1 = require("../../../utils/cmd");
5
- async function getBranchesAsync() {
6
- const [{ stdout: current }, { stdout: merged }, { stdout: unmerged }] = await Promise.all([
7
- (0, cmd_1.execWithErrorHandling)('git branch --show-current'),
8
- (0, cmd_1.execWithErrorHandling)('git branch --merged'),
9
- (0, cmd_1.execWithErrorHandling)('git branch --no-merged'),
10
- ]);
11
- return {
12
- current: current.trim(),
13
- merged: cleanList(merged),
14
- unmerged: cleanList(unmerged),
15
- };
16
- }
17
- const cleanList = (output) => (output === null || output === void 0 ? void 0 : output.split('\n').map(line => line.trim()).filter(Boolean)) || [];
18
- //# sourceMappingURL=branchHandler.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"branchHandler.js","sourceRoot":"","sources":["../../../../../src/modules/git/context/branchHandler.ts"],"names":[],"mappings":";;AAGA,4CAYC;AAfD,4CAA0D;AAGnD,KAAK,UAAU,gBAAgB;IAClC,MAAM,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;QACtF,IAAA,2BAAqB,EAAC,2BAA2B,CAAC;QAClD,IAAA,2BAAqB,EAAC,qBAAqB,CAAC;QAC5C,IAAA,2BAAqB,EAAC,wBAAwB,CAAC;KAClD,CAAC,CAAA;IAEF,OAAO;QACH,OAAO,EAAE,OAAO,CAAC,IAAI,EAAE;QACvB,MAAM,EAAE,SAAS,CAAC,MAAM,CAAC;QACzB,QAAQ,EAAE,SAAS,CAAC,QAAQ,CAAC;KAChC,CAAA;AACL,CAAC;AAED,MAAM,SAAS,GAAG,CAAC,MAA0B,EAAY,EAAE,CACvD,CAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CACA,KAAK,CAAC,IAAI,EACX,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE,EACvB,MAAM,CAAC,OAAO,CAAC,KAAI,EAAE,CAAA"}
@@ -1,29 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getCommitsAsync = getCommitsAsync;
4
- const cmd_1 = require("../../../utils/cmd");
5
- async function getCommitsAsync() {
6
- const [{ stdout: hash }, { stdout: shortHash }, { stdout: message }, { stdout: body }, { stdout: authorName }, { stdout: authorEmail }, { stdout: date }, { stdout: count }] = await Promise.all([
7
- (0, cmd_1.execWithErrorHandling)("git log -1 --pretty=format:'%H'"),
8
- (0, cmd_1.execWithErrorHandling)("git log -1 --pretty=format:'%h'"),
9
- (0, cmd_1.execWithErrorHandling)("git log -1 --pretty=format:'%s'"),
10
- (0, cmd_1.execWithErrorHandling)("git log -1 --pretty=format:'%b'"),
11
- (0, cmd_1.execWithErrorHandling)('git log -1 --pretty=format:"%an"'),
12
- (0, cmd_1.execWithErrorHandling)('git log -1 --pretty=format:"%ae"'),
13
- (0, cmd_1.execWithErrorHandling)("git log -1 --pretty=format:'%ad'"),
14
- (0, cmd_1.execWithErrorHandling)('git rev-list --count HEAD'),
15
- ]);
16
- return {
17
- latest: {
18
- hash,
19
- shortHash,
20
- message,
21
- body,
22
- authorName,
23
- authorEmail,
24
- date,
25
- },
26
- count: parseInt(count.trim(), 10) || 0,
27
- };
28
- }
29
- //# sourceMappingURL=commitHandler.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"commitHandler.js","sourceRoot":"","sources":["../../../../../src/modules/git/context/commitHandler.ts"],"names":[],"mappings":";;AAGA,0CAwBC;AA3BD,4CAA0D;AAGnD,KAAK,UAAU,eAAe;IACjC,MAAM,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;QAC7L,IAAA,2BAAqB,EAAC,iCAAiC,CAAC;QACxD,IAAA,2BAAqB,EAAC,iCAAiC,CAAC;QACxD,IAAA,2BAAqB,EAAC,iCAAiC,CAAC;QACxD,IAAA,2BAAqB,EAAC,iCAAiC,CAAC;QACxD,IAAA,2BAAqB,EAAC,kCAAkC,CAAC;QACzD,IAAA,2BAAqB,EAAC,kCAAkC,CAAC;QACzD,IAAA,2BAAqB,EAAC,kCAAkC,CAAC;QACzD,IAAA,2BAAqB,EAAC,2BAA2B,CAAC;KACrD,CAAC,CAAA;IAEF,OAAO;QACH,MAAM,EAAE;YACJ,IAAI;YACJ,SAAS;YACT,OAAO;YACP,IAAI;YACJ,UAAU;YACV,WAAW;YACX,IAAI;SACP;QACD,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAC,IAAI,EAAE,EAAE,EAAE,CAAC,IAAI,CAAC;KACzC,CAAA;AACL,CAAC"}
@@ -1,26 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getCurrentRepositoryAsync = getCurrentRepositoryAsync;
4
- const remoteHandler_1 = require("./remoteHandler");
5
- const branchHandler_1 = require("./branchHandler");
6
- const tagHandler_1 = require("./tagHandler");
7
- const commitHandler_1 = require("./commitHandler");
8
- const statusHandler_1 = require("./statusHandler");
9
- const cmd_1 = require("../../../utils/cmd");
10
- async function getCurrentRepositoryAsync() {
11
- const [{ stdout: remoteUrl }, { stdout: name }] = await Promise.all([
12
- (0, cmd_1.execWithErrorHandling)('git config --get remote.origin.url'),
13
- (0, cmd_1.execWithErrorHandling)('git rev-parse --show-toplevel'),
14
- ]);
15
- const result = {
16
- name: name.trim(),
17
- path: name.trim(),
18
- remote: (0, remoteHandler_1.parseRemoteUrl)(remoteUrl.trim()),
19
- branches: await (0, branchHandler_1.getBranchesAsync)(),
20
- tags: await (0, tagHandler_1.getTagsAsync)(),
21
- commits: await (0, commitHandler_1.getCommitsAsync)(),
22
- status: await (0, statusHandler_1.getStatusAsync)(),
23
- };
24
- return result;
25
- }
26
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/git/context/index.ts"],"names":[],"mappings":";;AAQA,8DAiBC;AAzBD,mDAAgD;AAChD,mDAAkD;AAClD,6CAA2C;AAC3C,mDAAiD;AACjD,mDAAgD;AAEhD,4CAA0D;AAEnD,KAAK,UAAU,yBAAyB;IAC3C,MAAM,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;QAChE,IAAA,2BAAqB,EAAC,oCAAoC,CAAC;QAC3D,IAAA,2BAAqB,EAAC,+BAA+B,CAAC;KACzD,CAAC,CAAA;IAEF,MAAM,MAAM,GAAe;QACvB,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE;QACjB,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE;QACjB,MAAM,EAAE,IAAA,8BAAc,EAAC,SAAS,CAAC,IAAI,EAAE,CAAC;QACxC,QAAQ,EAAE,MAAM,IAAA,gCAAgB,GAAE;QAClC,IAAI,EAAE,MAAM,IAAA,yBAAY,GAAE;QAC1B,OAAO,EAAE,MAAM,IAAA,+BAAe,GAAE;QAChC,MAAM,EAAE,MAAM,IAAA,8BAAc,GAAE;KACjC,CAAA;IAED,OAAO,MAAM,CAAA;AACjB,CAAC"}
@@ -1,20 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getRemoteUrl = getRemoteUrl;
4
- exports.parseRemoteUrl = parseRemoteUrl;
5
- const cmd_1 = require("../../../utils/cmd");
6
- async function getRemoteUrl() {
7
- const { stdout: remoteUrl } = await (0, cmd_1.execWithErrorHandling)('git config --get remote.origin.url');
8
- return remoteUrl.trim();
9
- }
10
- function parseRemoteUrl(remoteUrl) {
11
- if (!remoteUrl)
12
- return null;
13
- const match = RegExp(/(?:https?:\/\/|git@)([\w.-]+)(?:[:/])([\w.-]+)\/([\w.-]+?)(?:\.git)?$/i).exec(remoteUrl);
14
- if (!match)
15
- throw new Error(`Could not parse remote URL: ${remoteUrl}`);
16
- const [_, host, owner, repository] = match;
17
- const repoUrl = `https://${host}/${owner}/${repository}`;
18
- return { url: remoteUrl, host, owner, repository, repoUrl };
19
- }
20
- //# sourceMappingURL=remoteHandler.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"remoteHandler.js","sourceRoot":"","sources":["../../../../../src/modules/git/context/remoteHandler.ts"],"names":[],"mappings":";;AAGA,oCAGC;AAED,wCAQC;AAhBD,4CAA0D;AAGnD,KAAK,UAAU,YAAY;IAC9B,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,IAAA,2BAAqB,EAAC,oCAAoC,CAAC,CAAA;IAC/F,OAAO,SAAS,CAAC,IAAI,EAAE,CAAA;AAC3B,CAAC;AAED,SAAgB,cAAc,CAAC,SAAiB;IAC5C,IAAI,CAAC,SAAS;QAAE,OAAO,IAAI,CAAA;IAC3B,MAAM,KAAK,GAAG,MAAM,CAAC,wEAAwE,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAA;IAC9G,IAAI,CAAC,KAAK;QAAE,MAAM,IAAI,KAAK,CAAC,+BAA+B,SAAS,EAAE,CAAC,CAAA;IAEvE,MAAM,CAAC,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,UAAU,CAAC,GAAG,KAAK,CAAA;IAC1C,MAAM,OAAO,GAAG,WAAW,IAAI,IAAI,KAAK,IAAI,UAAU,EAAE,CAAA;IACxD,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,CAAA;AAC/D,CAAC"}
@@ -1,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getStatusAsync = getStatusAsync;
4
- const cmd_1 = require("../../../utils/cmd");
5
- async function getStatusAsync() {
6
- const [{ stdout: modifiedFiles }, { stdout: untrackedFiles }] = await Promise.all([
7
- (0, cmd_1.execWithErrorHandling)('git diff --name-only'),
8
- (0, cmd_1.execWithErrorHandling)('git ls-files --others --exclude-standard'),
9
- ]);
10
- return {
11
- modifiedFiles: cleanList(modifiedFiles),
12
- untrackedFiles: cleanList(untrackedFiles),
13
- };
14
- }
15
- const cleanList = (output) => (output === null || output === void 0 ? void 0 : output.split('\n').map(line => line.trim()).filter(Boolean)) || [];
16
- //# sourceMappingURL=statusHandler.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"statusHandler.js","sourceRoot":"","sources":["../../../../../src/modules/git/context/statusHandler.ts"],"names":[],"mappings":";;AAGA,wCAUC;AAbD,4CAA0D;AAGnD,KAAK,UAAU,cAAc;IAChC,MAAM,CAAC,EAAE,MAAM,EAAE,aAAa,EAAE,EAAE,EAAE,MAAM,EAAE,cAAc,EAAE,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;QAC9E,IAAA,2BAAqB,EAAC,sBAAsB,CAAC;QAC7C,IAAA,2BAAqB,EAAC,0CAA0C,CAAC;KACpE,CAAC,CAAA;IAEF,OAAO;QACH,aAAa,EAAE,SAAS,CAAC,aAAa,CAAC;QACvC,cAAc,EAAE,SAAS,CAAC,cAAc,CAAC;KAC5C,CAAA;AACL,CAAC;AAED,MAAM,SAAS,GAAG,CAAC,MAA0B,EAAY,EAAE,CACvD,CAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CACA,KAAK,CAAC,IAAI,EACX,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE,EACvB,MAAM,CAAC,OAAO,CAAC,KAAI,EAAE,CAAA"}
@@ -1,28 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getTagsAsync = getTagsAsync;
4
- const cmd_1 = require("../../../utils/cmd");
5
- async function getTagsAsync() {
6
- const { stdout: allTagsOutput } = await (0, cmd_1.execWithErrorHandling)('git tag');
7
- const allTags = cleanList(allTagsOutput);
8
- const all = await Promise.all(allTags.map(getTagDetail));
9
- const latest = all.length > 0 ? all[all.length - 1] : null;
10
- return {
11
- latest,
12
- all,
13
- };
14
- }
15
- const cleanList = (output) => (output === null || output === void 0 ? void 0 : output.split('\n').map(line => line.trim()).filter(Boolean)) || [];
16
- async function getTagDetail(tag) {
17
- try {
18
- const command = `git show ${tag} --no-patch --pretty=format:"%h %ai"`;
19
- const { stdout } = await (0, cmd_1.execWithErrorHandling)(command);
20
- const [reference, date] = stdout.split(' ', 2);
21
- return { name: tag, reference, date };
22
- }
23
- catch (error) {
24
- console.error(`Error getting details for tag ${tag}:`, error);
25
- throw error;
26
- }
27
- }
28
- //# sourceMappingURL=tagHandler.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tagHandler.js","sourceRoot":"","sources":["../../../../../src/modules/git/context/tagHandler.ts"],"names":[],"mappings":";;AAIA,oCAYC;AAdD,4CAA0D;AAEnD,KAAK,UAAU,YAAY;IAC9B,MAAM,EAAE,MAAM,EAAE,aAAa,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: true });
3
- exports.resolveGitReferences = resolveGitReferences;
4
- exports.resolveGitReferencesFromRangeSummary = resolveGitReferencesFromRangeSummary;
5
- exports.collectGitInfo = collectGitInfo;
6
- const rangeOperations_1 = require("./utils/rangeOperations");
7
- const referenceUtils_1 = require("./utils/referenceUtils");
8
- const commitUtils_1 = require("./utils/commitUtils");
9
- const tagUtils_1 = require("./utils/tagUtils");
10
- async function resolveGitReferences(options) {
11
- var _a, _b;
12
- let resolvedFrom;
13
- let resolvedTo;
14
- if (options === null || options === void 0 ? void 0 : options.range) {
15
- const { from: f, to: t } = (0, rangeOperations_1.parseRange)(options.range);
16
- resolvedFrom = await (0, referenceUtils_1.resolveReference)(f, true);
17
- resolvedTo = await (0, referenceUtils_1.resolveReference)(t, false);
18
- }
19
- else if (options === null || options === void 0 ? void 0 : options.point) {
20
- resolvedFrom = await (0, referenceUtils_1.resolveReference)(null, true);
21
- resolvedTo = await (0, referenceUtils_1.resolveReference)(options.point, false);
22
- }
23
- else {
24
- resolvedFrom = await (0, referenceUtils_1.resolveReference)((_a = options === null || options === void 0 ? void 0 : options.from) !== null && _a !== void 0 ? _a : null, true);
25
- resolvedTo = await (0, referenceUtils_1.resolveReference)((_b = options === null || options === void 0 ? void 0 : options.to) !== null && _b !== void 0 ? _b : null, false);
26
- }
27
- return { resolvedFrom, resolvedTo };
28
- }
29
- async function resolveGitReferencesFromRangeSummary(rangeInfo, index) {
30
- let resolvedFrom;
31
- let resolvedTo;
32
- const tag = rangeInfo.referenceList[index];
33
- if (rangeInfo.referenceList[rangeInfo.referenceList.length - 1].reference == tag.reference) {
34
- resolvedFrom = rangeInfo.resolvedFrom;
35
- resolvedTo = await (0, referenceUtils_1.resolveReference)(tag.name, false);
36
- }
37
- else if (rangeInfo.referenceList[0].reference == tag.reference) {
38
- const previousTag = rangeInfo.referenceList[index + 1];
39
- resolvedFrom = await (0, referenceUtils_1.resolveReference)(previousTag.name, true);
40
- resolvedTo = rangeInfo.resolvedTo;
41
- }
42
- else {
43
- const previousTag = rangeInfo.referenceList[index + 1];
44
- resolvedFrom = await (0, referenceUtils_1.resolveReference)(previousTag.name, true);
45
- resolvedTo = await (0, referenceUtils_1.resolveReference)(tag.name, false);
46
- }
47
- return { resolvedFrom, resolvedTo };
48
- }
49
- async function collectGitInfo(from, to) {
50
- const resolvedRange = (0, rangeOperations_1.formatRange)(from, to);
51
- const commitCount = await (0, commitUtils_1.getCommitCount)(resolvedRange);
52
- const referenceList = await (0, tagUtils_1.getTags)(resolvedRange);
53
- const latestReference = referenceList.length > 0 ? referenceList[0] : null;
54
- return { resolvedRange, commitCount, referenceList, latestReference };
55
- }
56
- //# sourceMappingURL=gitOperations.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"gitOperations.js","sourceRoot":"","sources":["../../../../src/modules/git/gitOperations.ts"],"names":[],"mappings":";;AASA,oDAiBC;AACD,oFAmBC;AASD,wCAOC;AA5DD,6DAAiE;AACjE,2DAAyD;AACzD,qDAAoD;AACpD,+CAA0C;AAInC,KAAK,UAAU,oBAAoB,CAAC,OAA0B;;IACjE,IAAI,YAAiC,CAAA;IACrC,IAAI,UAA+B,CAAA;IAEnC,IAAI,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,KAAK,EAAE,CAAC;QACjB,MAAM,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,GAAG,IAAA,4BAAU,EAAC,OAAO,CAAC,KAAK,CAAC,CAAA;QACpD,YAAY,GAAG,MAAM,IAAA,iCAAgB,EAAC,CAAC,EAAE,IAAI,CAAC,CAAA;QAC9C,UAAU,GAAG,MAAM,IAAA,iCAAgB,EAAC,CAAC,EAAE,KAAK,CAAC,CAAA;IACjD,CAAC;SAAM,IAAI,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,KAAK,EAAE,CAAC;QACxB,YAAY,GAAG,MAAM,IAAA,iCAAgB,EAAC,IAAI,EAAE,IAAI,CAAC,CAAA;QACjD,UAAU,GAAG,MAAM,IAA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,CAAC,KAAK,GAAG,CAAC,CAAC,CAAA;QACtD,YAAY,GAAG,MAAM,IAAA,iCAAgB,EAAC,WAAW,CAAC,IAAI,EAAE,IAAI,CAAC,CAAA;QAC7D,UAAU,GAAG,MAAM,IAAA,iCAAgB,EAAC,GAAG,CAAC,IAAI,EAAE,KAAK,CAAC,CAAA;IACxD,CAAC;IAED,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,CAAA;AACvC,CAAC;AASM,KAAK,UAAU,cAAc,CAAC,IAAkB,EAAE,EAAgB;IACrE,MAAM,aAAa,GAAG,IAAA,6BAAW,EAAC,IAAI,EAAE,EAAE,CAAC,CAAA;IAC3C,MAAM,WAAW,GAAG,MAAM,IAAA,4BAAc,EAAC,aAAa,CAAC,CAAA;IACvD,MAAM,aAAa,GAAG,MAAM,IAAA,kBAAO,EAAC,aAAa,CAAC,CAAA;IAClD,MAAM,eAAe,GAAG,aAAa,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAA;IAE1E,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,aAAa,EAAE,eAAe,EAAE,CAAA;AACzE,CAAC"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Author.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Author.js","sourceRoot":"","sources":["../../../../../src/modules/git/types/Author.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Branch.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Branch.js","sourceRoot":"","sources":["../../../../../src/modules/git/types/Branch.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=BranchInfo.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BranchInfo.js","sourceRoot":"","sources":["../../../../../src/modules/git/types/BranchInfo.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=CommitContent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CommitContent.js","sourceRoot":"","sources":["../../../../../src/modules/git/types/CommitContent.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=CommitInfo.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CommitInfo.js","sourceRoot":"","sources":["../../../../../src/modules/git/types/CommitInfo.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=CommitType.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CommitType.js","sourceRoot":"","sources":["../../../../../src/modules/git/types/CommitType.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=GitCommit.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GitCommit.js","sourceRoot":"","sources":["../../../../../src/modules/git/types/GitCommit.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=GitReference.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GitReference.js","sourceRoot":"","sources":["../../../../../src/modules/git/types/GitReference.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Link.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Link.js","sourceRoot":"","sources":["../../../../../src/modules/git/types/Link.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Mention.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Mention.js","sourceRoot":"","sources":["../../../../../src/modules/git/types/Mention.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Note.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Note.js","sourceRoot":"","sources":["../../../../../src/modules/git/types/Note.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=RemoteInfo.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RemoteInfo.js","sourceRoot":"","sources":["../../../../../src/modules/git/types/RemoteInfo.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Repository.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Repository.js","sourceRoot":"","sources":["../../../../../src/modules/git/types/Repository.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=StatusInfo.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StatusInfo.js","sourceRoot":"","sources":["../../../../../src/modules/git/types/StatusInfo.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Tag.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Tag.js","sourceRoot":"","sources":["../../../../../src/modules/git/types/Tag.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=TagInfo.js.map