@jeromefitz/conventional-gitmoji 4.0.19 → 4.0.21-canary.1
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.
- package/LICENSE +1 -1
- package/changelog/{config.d.ts → config.d.mts} +3 -1
- package/changelog/config.d.mts.map +1 -0
- package/changelog/config.mjs +2 -0
- package/changelog/config.mjs.map +1 -0
- package/changelog/index.d.mts +57 -0
- package/changelog/index.d.mts.map +1 -0
- package/changelog/index.mjs +1 -0
- package/changelog/utils/conventionalChangelog.d.mts +22 -0
- package/changelog/utils/conventionalChangelog.d.mts.map +1 -0
- package/changelog/utils/conventionalChangelog.mjs +1 -0
- package/changelog/utils/conventionalRecommendedBump.d.mts +18 -0
- package/changelog/utils/conventionalRecommendedBump.d.mts.map +1 -0
- package/changelog/utils/conventionalRecommendedBump.mjs +2 -0
- package/changelog/utils/conventionalRecommendedBump.mjs.map +1 -0
- package/changelog/utils/{gitRawCommit.d.ts → gitRawCommit.d.mts} +4 -2
- package/changelog/utils/gitRawCommit.d.mts.map +1 -0
- package/changelog/utils/gitRawCommit.mjs +2 -0
- package/changelog/utils/gitRawCommit.mjs.map +1 -0
- package/changelog/utils/parserOpts.d.mts +12 -0
- package/changelog/utils/parserOpts.d.mts.map +1 -0
- package/changelog/utils/parserOpts.mjs +2 -0
- package/changelog/utils/parserOpts.mjs.map +1 -0
- package/changelog/utils/transformer.d.mts +5 -0
- package/changelog/utils/transformer.d.mts.map +1 -0
- package/changelog/utils/transformer.mjs +1 -0
- package/changelog/utils/{writerOpts.d.ts → writerOpts.d.mts} +9 -7
- package/changelog/utils/writerOpts.d.mts.map +1 -0
- package/changelog/utils/writerOpts.mjs +1 -0
- package/chunk-sEf7NbmF.mjs +1 -0
- package/commit-FQNQu-d7.d.mts +7 -0
- package/commit-FQNQu-d7.d.mts.map +1 -0
- package/commit.types-CwGP9mlg.d.mts +5 -0
- package/commit.types-CwGP9mlg.d.mts.map +1 -0
- package/config/rewrites.d.mts +15 -0
- package/config/rewrites.d.mts.map +1 -0
- package/config/rewrites.mjs +2 -0
- package/config/rewrites.mjs.map +1 -0
- package/config/{types.d.ts → types.d.mts} +4 -4
- package/config/types.d.mts.map +1 -0
- package/config/types.mjs +2 -0
- package/config/types.mjs.map +1 -0
- package/getGitmojiConventional-aDc1od8Y.mjs +2 -0
- package/getGitmojiConventional-aDc1od8Y.mjs.map +1 -0
- package/index-DvIJYkSC.d.mts +1 -0
- package/index.d.mts +82 -0
- package/index.d.mts.map +1 -0
- package/index.mjs +1 -0
- package/package.json +39 -16
- package/releaseRule-CBYQ7ZCz.d.mts +7 -0
- package/releaseRule-CBYQ7ZCz.d.mts.map +1 -0
- package/releaseRule.types-BKQjfcDG.d.mts +19 -0
- package/releaseRule.types-BKQjfcDG.d.mts.map +1 -0
- package/src-DEKB35ZR.mjs +2 -0
- package/src-DEKB35ZR.mjs.map +1 -0
- package/types/commit.d.mts +2 -0
- package/types/commit.mjs +2 -0
- package/types/commit.mjs.map +1 -0
- package/types/commit.types.d.mts +2 -0
- package/types/commit.types.mjs +1 -0
- package/types/index.d.mts +5 -0
- package/types/index.mjs +1 -0
- package/types/releaseRule.d.mts +2 -0
- package/types/releaseRule.mjs +2 -0
- package/types/releaseRule.mjs.map +1 -0
- package/types/releaseRule.types.d.mts +2 -0
- package/types/releaseRule.types.mjs +1 -0
- package/utils/getGitmojiConventional.d.mts +6 -0
- package/utils/getGitmojiConventional.d.mts.map +1 -0
- package/utils/getGitmojiConventional.mjs +1 -0
- package/utils/getReleaseRules.d.mts +12 -0
- package/utils/getReleaseRules.d.mts.map +1 -0
- package/utils/getReleaseRules.mjs +2 -0
- package/utils/getReleaseRules.mjs.map +1 -0
- package/utils/getTypeSpecs.d.mts +6 -0
- package/utils/getTypeSpecs.d.mts.map +1 -0
- package/utils/getTypeSpecs.mjs +2 -0
- package/utils/getTypeSpecs.mjs.map +1 -0
- package/changelog/config.js +0 -1
- package/changelog/index.d.ts +0 -55
- package/changelog/index.js +0 -1
- package/changelog/utils/conventionalChangelog.d.ts +0 -20
- package/changelog/utils/conventionalChangelog.js +0 -1
- package/changelog/utils/conventionalRecommendedBump.d.ts +0 -16
- package/changelog/utils/conventionalRecommendedBump.js +0 -1
- package/changelog/utils/gitRawCommit.js +0 -1
- package/changelog/utils/parserOpts.d.ts +0 -10
- package/changelog/utils/parserOpts.js +0 -1
- package/changelog/utils/transformer.d.ts +0 -3
- package/changelog/utils/transformer.js +0 -1
- package/changelog/utils/writerOpts.js +0 -1
- package/config/rewrites.d.ts +0 -12
- package/config/rewrites.js +0 -1
- package/config/types.js +0 -1
- package/index.d.ts +0 -84
- package/index.js +0 -1
- package/types/commit.d.ts +0 -5
- package/types/commit.js +0 -1
- package/types/commit.types.d.ts +0 -3
- package/types/commit.types.js +0 -0
- package/types/index.d.ts +0 -4
- package/types/index.js +0 -1
- package/types/releaseRule.d.ts +0 -6
- package/types/releaseRule.js +0 -1
- package/types/releaseRule.types.d.ts +0 -17
- package/types/releaseRule.types.js +0 -0
- package/utils/getGitmojiConventional.d.ts +0 -6
- package/utils/getGitmojiConventional.js +0 -1
- package/utils/getReleaseRules.d.ts +0 -12
- package/utils/getReleaseRules.js +0 -1
- package/utils/getTypeSpecs.d.ts +0 -6
- package/utils/getTypeSpecs.js +0 -1
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2021-
|
|
3
|
+
Copyright (c) 2021-2026 Nice Group of People, LLC
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.d.mts","names":[],"sources":["../../src/changelog/config.ts"],"mappings":";;;;;;;;;;;;;;;cAeM,MAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.mjs","names":[],"sources":["../../src/changelog/config.ts"],"sourcesContent":["/**\n * @todo pull this from `changelog.config`\n *\n * Search in the repo we are in for the following types of files:\n *\n * * - changelog.config.cs\n * * - changelog.config.js\n * * - changelog.config.ts\n *\n * Then use this to inform the writerOpts\n *\n * * For now we are going to put in the generic defaults\n *\n */\n\nconst config = {}\n\nexport default config\n"],"mappings":"8BAeA,MAAM,EAAS,EAAE"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
//#region src/changelog/index.d.ts
|
|
2
|
+
declare const changelog: {
|
|
3
|
+
conventionalChangelog: {
|
|
4
|
+
parserOpts: {
|
|
5
|
+
headerCorrespondence: string[];
|
|
6
|
+
headerPattern: RegExp;
|
|
7
|
+
issuePrefixes: string[];
|
|
8
|
+
noteKeywords: string[];
|
|
9
|
+
referenceActions: string[];
|
|
10
|
+
revertPattern: RegExp;
|
|
11
|
+
};
|
|
12
|
+
writerOpts: {
|
|
13
|
+
commitGroupsSort: string[];
|
|
14
|
+
commitsSort: string[];
|
|
15
|
+
groupBy: string;
|
|
16
|
+
noteGroupsSort: string[];
|
|
17
|
+
notesSort: string[];
|
|
18
|
+
transform: (commit: any, context: any) => any;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
gitRawCommitsOpts: {
|
|
22
|
+
format: string;
|
|
23
|
+
};
|
|
24
|
+
parserOpts: {
|
|
25
|
+
headerCorrespondence: string[];
|
|
26
|
+
headerPattern: RegExp;
|
|
27
|
+
issuePrefixes: string[];
|
|
28
|
+
noteKeywords: string[];
|
|
29
|
+
referenceActions: string[];
|
|
30
|
+
revertPattern: RegExp;
|
|
31
|
+
};
|
|
32
|
+
recommendedBumpOpts: {
|
|
33
|
+
parserOpts: {
|
|
34
|
+
headerCorrespondence: string[];
|
|
35
|
+
headerPattern: RegExp;
|
|
36
|
+
issuePrefixes: string[];
|
|
37
|
+
noteKeywords: string[];
|
|
38
|
+
referenceActions: string[];
|
|
39
|
+
revertPattern: RegExp;
|
|
40
|
+
};
|
|
41
|
+
whatBump: (commits: any) => {
|
|
42
|
+
level: number;
|
|
43
|
+
reason: string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
writerOpts: {
|
|
47
|
+
commitGroupsSort: string[];
|
|
48
|
+
commitsSort: string[];
|
|
49
|
+
groupBy: string;
|
|
50
|
+
noteGroupsSort: string[];
|
|
51
|
+
notesSort: string[];
|
|
52
|
+
transform: (commit: any, context: any) => any;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
//#endregion
|
|
56
|
+
export { changelog as default };
|
|
57
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../../src/changelog/index.ts"],"mappings":";cAMM,SAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"../chunk-sEf7NbmF.mjs";import{s as e}from"../src-DEKB35ZR.mjs";import"../getGitmojiConventional-aDc1od8Y.mjs";export{e as default};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
//#region src/changelog/utils/conventionalChangelog.d.ts
|
|
2
|
+
declare const conventionalChangelog: {
|
|
3
|
+
parserOpts: {
|
|
4
|
+
headerCorrespondence: string[];
|
|
5
|
+
headerPattern: RegExp;
|
|
6
|
+
issuePrefixes: string[];
|
|
7
|
+
noteKeywords: string[];
|
|
8
|
+
referenceActions: string[];
|
|
9
|
+
revertPattern: RegExp;
|
|
10
|
+
};
|
|
11
|
+
writerOpts: {
|
|
12
|
+
commitGroupsSort: string[];
|
|
13
|
+
commitsSort: string[];
|
|
14
|
+
groupBy: string;
|
|
15
|
+
noteGroupsSort: string[];
|
|
16
|
+
notesSort: string[];
|
|
17
|
+
transform: (commit: any, context: any) => any;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
//#endregion
|
|
21
|
+
export { conventionalChangelog as default };
|
|
22
|
+
//# sourceMappingURL=conventionalChangelog.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conventionalChangelog.d.mts","names":[],"sources":["../../../src/changelog/utils/conventionalChangelog.ts"],"mappings":";cAGM,qBAAA;;;mBAAkD,MAAA;;;;mBAAA,MAAA;EAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"../../chunk-sEf7NbmF.mjs";import{c as e}from"../../src-DEKB35ZR.mjs";import"../../getGitmojiConventional-aDc1od8Y.mjs";export{e as default};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
//#region src/changelog/utils/conventionalRecommendedBump.d.ts
|
|
2
|
+
declare const conventionalRecommendedBump: {
|
|
3
|
+
parserOpts: {
|
|
4
|
+
headerCorrespondence: string[];
|
|
5
|
+
headerPattern: RegExp;
|
|
6
|
+
issuePrefixes: string[];
|
|
7
|
+
noteKeywords: string[];
|
|
8
|
+
referenceActions: string[];
|
|
9
|
+
revertPattern: RegExp;
|
|
10
|
+
};
|
|
11
|
+
whatBump: (commits: any) => {
|
|
12
|
+
level: number;
|
|
13
|
+
reason: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
//#endregion
|
|
17
|
+
export { conventionalRecommendedBump as default };
|
|
18
|
+
//# sourceMappingURL=conventionalRecommendedBump.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conventionalRecommendedBump.d.mts","names":[],"sources":["../../../src/changelog/utils/conventionalRecommendedBump.ts"],"mappings":";cAKM,2BAAA;;;mBA2BL,MAAA;;;;mBAAA,MAAA;EAAA"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import"../../chunk-sEf7NbmF.mjs";import e from"./parserOpts.mjs";const t={parserOpts:e,whatBump:e=>{let t=2,n=0,r=0;return e.forEach(e=>{e.notes.length>0?(n+=e.notes.length,t=0):e.type===`feat`&&(r+=1,t===2&&(t=1))}),{level:t,reason:n===1?`There is ${n} BREAKING CHANGE and ${r} features`:`There are ${n} BREAKING CHANGES and ${r} features`}}};export{t as default};
|
|
2
|
+
//# sourceMappingURL=conventionalRecommendedBump.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conventionalRecommendedBump.mjs","names":[],"sources":["../../../src/changelog/utils/conventionalRecommendedBump.ts"],"sourcesContent":["/**\n * @ref https://github.com/conventional-changelog/conventional-changelog/blob/master/packages/conventional-changelog-angular/conventional-recommended-bump.js\n */\nimport parserOpts from './parserOpts.js'\n\nconst conventionalRecommendedBump = {\n parserOpts,\n whatBump: (commits) => {\n let level = 2\n let breakings = 0\n let features = 0\n\n commits.forEach((commit) => {\n if (commit.notes.length > 0) {\n breakings += commit.notes.length\n level = 0\n } else if (commit.type === `feat`) {\n features += 1\n if (level === 2) {\n level = 1\n }\n }\n })\n\n return {\n level,\n reason:\n breakings === 1\n ? `There is ${breakings} BREAKING CHANGE and ${features} features`\n : `There are ${breakings} BREAKING CHANGES and ${features} features`,\n }\n },\n}\n\nexport default conventionalRecommendedBump\n"],"mappings":"iEAKA,MAAM,EAA8B,CAClC,aACA,SAAW,GAAY,CACrB,IAAI,EAAQ,EACR,EAAY,EACZ,EAAW,EAcf,OAZA,EAAQ,QAAS,GAAW,CACtB,EAAO,MAAM,OAAS,GACxB,GAAa,EAAO,MAAM,OAC1B,EAAQ,GACC,EAAO,OAAS,SACzB,GAAY,EACR,IAAU,IACZ,EAAQ,KAGZ,CAEK,CACL,QACA,OACE,IAAc,EACV,YAAY,EAAU,uBAAuB,EAAS,WACtD,aAAa,EAAU,wBAAwB,EAAS,WAC/D,EAEJ"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
//#region src/changelog/utils/gitRawCommit.d.ts
|
|
1
2
|
/**
|
|
2
3
|
* @ref https://github.com/conventional-changelog/conventional-changelog/issues/349#issuecomment-497686185
|
|
3
4
|
*/
|
|
4
5
|
declare const gitRawCommit: {
|
|
5
|
-
|
|
6
|
+
format: string;
|
|
6
7
|
};
|
|
7
|
-
|
|
8
|
+
//#endregion
|
|
8
9
|
export { gitRawCommit as default };
|
|
10
|
+
//# sourceMappingURL=gitRawCommit.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gitRawCommit.d.mts","names":[],"sources":["../../../src/changelog/utils/gitRawCommit.ts"],"mappings":";;;;cAIM,YAAA;EAGL,MAAA;AAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gitRawCommit.mjs","names":[],"sources":["../../../src/changelog/utils/gitRawCommit.ts"],"sourcesContent":["/**\n * @ref https://github.com/conventional-changelog/conventional-changelog/issues/349#issuecomment-497686185\n */\n\nconst gitRawCommit = {\n format:\n '%B%n-hash-%n%H%n-gitTags-%n%d%n-committerDate-%n%ci%n-authorName-%n%an%n-authorEmail-%n%ae',\n}\n\nexport default gitRawCommit\n"],"mappings":"iCAIA,MAAM,EAAe,CACnB,OACE,6FACH"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
//#region src/changelog/utils/parserOpts.d.ts
|
|
2
|
+
declare const parserOpts: {
|
|
3
|
+
headerCorrespondence: string[];
|
|
4
|
+
headerPattern: RegExp;
|
|
5
|
+
issuePrefixes: string[];
|
|
6
|
+
noteKeywords: string[];
|
|
7
|
+
referenceActions: string[];
|
|
8
|
+
revertPattern: RegExp;
|
|
9
|
+
};
|
|
10
|
+
//#endregion
|
|
11
|
+
export { parserOpts as default };
|
|
12
|
+
//# sourceMappingURL=parserOpts.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parserOpts.d.mts","names":[],"sources":["../../../src/changelog/utils/parserOpts.ts"],"mappings":";cAAM,UAAA;;iBAYL,MAAA;;;;iBAAA,MAAA;AAAA"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import"../../chunk-sEf7NbmF.mjs";const e={headerCorrespondence:[`type`,`scope`,`subject`,`ticket`],headerPattern:/^(.*?)(?:\((.*)\))?:?\s(.*)$/,issuePrefixes:[`1b9fe48b-292c-46e7-bfde-0599639d0ec0`],noteKeywords:[`BREAKING CHANGE`,`BREAKING CHANGES`],referenceActions:[`b6db85c1-4860-4275-88e3-bd9917a0b29f`],revertPattern:/^Revert\s"([\s\S]*)"\s*This reverts commit (\w*)\./};export{e as default};
|
|
2
|
+
//# sourceMappingURL=parserOpts.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parserOpts.mjs","names":[],"sources":["../../../src/changelog/utils/parserOpts.ts"],"sourcesContent":["const parserOpts = {\n headerCorrespondence: ['type', 'scope', 'subject', 'ticket'],\n headerPattern: /^(.*?)(?:\\((.*)\\))?:?\\s(.*)$/,\n // random uuid to ensure these will never get called\n issuePrefixes: ['1b9fe48b-292c-46e7-bfde-0599639d0ec0'],\n noteKeywords: ['BREAKING CHANGE', 'BREAKING CHANGES'],\n //\n // @todo(conventional-commits-parser) can this be removed w/ renovate?\n // @hack(conventional-commits-parser) 🤖️ dependabot workaround\n referenceActions: ['b6db85c1-4860-4275-88e3-bd9917a0b29f'],\n // referenceActions: typeSpecs.map(({ type }) => type),\n revertPattern: /^Revert\\s\"([\\s\\S]*)\"\\s*This reverts commit (\\w*)\\./,\n}\n\nexport default parserOpts\n"],"mappings":"iCAAA,MAAM,EAAa,CACjB,qBAAsB,CAAC,OAAQ,QAAS,UAAW,SAAS,CAC5D,cAAe,+BAEf,cAAe,CAAC,uCAAuC,CACvD,aAAc,CAAC,kBAAmB,mBAAmB,CAIrD,iBAAkB,CAAC,uCAAuC,CAE1D,cAAe,qDAChB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transformer.d.mts","names":[],"sources":["../../../src/changelog/utils/transformer.ts"],"mappings":";cAOM,WAAA,GAAe,MAAA,OAAa,QAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"../../chunk-sEf7NbmF.mjs";import{u as e}from"../../src-DEKB35ZR.mjs";import"../../getGitmojiConventional-aDc1od8Y.mjs";export{e as default};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
//#region src/changelog/utils/writerOpts.d.ts
|
|
1
2
|
/**
|
|
2
3
|
* @note (semantic)
|
|
3
4
|
* templates need to be redone away from handlebars
|
|
@@ -11,12 +12,13 @@
|
|
|
11
12
|
* - i guess we are going _back_ to handlebars haha
|
|
12
13
|
*/
|
|
13
14
|
declare const writerOpts: {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
15
|
+
commitGroupsSort: string[];
|
|
16
|
+
commitsSort: string[];
|
|
17
|
+
groupBy: string;
|
|
18
|
+
noteGroupsSort: string[];
|
|
19
|
+
notesSort: string[];
|
|
20
|
+
transform: (commit: any, context: any) => any;
|
|
20
21
|
};
|
|
21
|
-
|
|
22
|
+
//#endregion
|
|
22
23
|
export { writerOpts as default };
|
|
24
|
+
//# sourceMappingURL=writerOpts.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"writerOpts.d.mts","names":[],"sources":["../../../src/changelog/utils/writerOpts.ts"],"mappings":";;;;;;;;;;;;;cAgBM,UAAA;;;;;;2BAOmB,OAAA;AAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"../../chunk-sEf7NbmF.mjs";import{l as e}from"../../src-DEKB35ZR.mjs";import"../../getGitmojiConventional-aDc1od8Y.mjs";export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"node:module";Object.create,Object.defineProperty,Object.getOwnPropertyDescriptor,Object.getOwnPropertyNames,Object.getPrototypeOf,Object.prototype.hasOwnProperty;var e=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);export{e as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"commit-FQNQu-d7.d.mts","names":[],"sources":["../src/types/commit.ts"],"mappings":";;;cAEM,MAAA,EAAQ,OAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
//#region src/types/commit.types.d.ts
|
|
2
|
+
type ICommit = 'access' | 'analytics' | 'animation' | 'arch' | 'assets' | 'backwards' | 'beer' | 'breaking' | 'build' | 'catch' | 'chore' | 'ci' | 'clean' | 'compat' | 'concurrency' | 'config' | 'contrib-add' | 'data' | 'db' | 'dep-add' | 'dep-rm' | 'dep-up' | 'deploy' | 'docs' | 'docs-code' | 'downgrade' | 'dx' | 'egg' | 'experiment' | 'feat' | 'fix' | 'fix-ci' | 'flags' | 'healthcheck' | 'hotfix' | 'i18n' | 'ignore' | 'inf' | 'init' | 'iphone' | 'license' | 'lint' | 'log-add' | 'log-rm' | 'logic' | 'merge' | 'mock' | 'mv' | 'offline' | 'patch' | 'perf' | 'poo' | 'prune' | 'pushpin' | 'refactor' | 'release' | 'revert' | 'rip' | 'roles' | 'rollforward' | 'run-build' | 'secrets' | 'security' | 'seed' | 'seo' | 'snapshot' | 'sponsor' | 'style' | 'test' | 'test-fail' | 'texts' | 'types' | 'typo' | 'ui' | 'upgrade' | 'ux' | 'validation' | 'wip';
|
|
3
|
+
//#endregion
|
|
4
|
+
export { ICommit as t };
|
|
5
|
+
//# sourceMappingURL=commit.types-CwGP9mlg.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"commit.types-CwGP9mlg.d.mts","names":[],"sources":["../src/types/commit.types.ts"],"mappings":";KAAK,OAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/config/rewrites.d.ts
|
|
2
|
+
/** biome-ignore-all assist/source/useSortedKeys: migrate */
|
|
3
|
+
/**
|
|
4
|
+
* @note pseudo-map to conventional-commits
|
|
5
|
+
*/
|
|
6
|
+
type RewritesProps = {
|
|
7
|
+
branch?: null | string;
|
|
8
|
+
from: string;
|
|
9
|
+
semver?: 'breaking' | 'feature' | 'fix' | 'major' | 'minor' | 'patch' | null;
|
|
10
|
+
to: string;
|
|
11
|
+
};
|
|
12
|
+
declare const rewrites: RewritesProps[];
|
|
13
|
+
//#endregion
|
|
14
|
+
export { rewrites as default };
|
|
15
|
+
//# sourceMappingURL=rewrites.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rewrites.d.mts","names":[],"sources":["../../src/config/rewrites.ts"],"mappings":";;;;;KAOK,aAAA;EACH,MAAA;EACA,IAAA;EACA,MAAA;EACA,EAAA;AAAA;AAAA,cAGI,QAAA,EAAU,aAAA"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import"../chunk-sEf7NbmF.mjs";const e=[{from:`art`,to:`style`},{from:`zap`,to:`perf`},{from:`fire`,to:`prune`},{from:`bug`,to:`fix`,branch:`fix`},{from:`ambulance`,to:`hotfix`,branch:`hotfix`},{from:`sparkles`,to:`feat`,branch:`feature`},{from:`memo`,to:`docs`},{from:`rocket`,to:`deploy`},{from:`lipstick`,to:`ui`},{from:`tada`,to:`init`,semver:`patch`},{from:`white-check-mark`,to:`test`,branch:`test`},{from:`lock`,to:`security`},{from:`bookmark`,to:`release`,branch:`release`},{from:`rotating-light`,to:`lint`},{from:`construction`,to:`wip`},{from:`green-heart`,to:`fix-ci`},{from:`arrow-down`,to:`downgrade`},{from:`arrow-up`,to:`upgrade`},{from:`pushpin`,to:`pushpin`},{from:`construction-worker`,to:`ci`,branch:`ci`},{from:`chart-with-upwards-trend`,to:`analytics`},{from:`recycle`,to:`refactor`,branch:`refactor`},{from:`heavy-plus-sign`,to:`dep-add`},{from:`heavy-minus-sign`,to:`dep-rm`},{from:`wrench`,to:`config`},{from:`hammer`,to:`build`},{from:`globe-with-meridians`,to:`i18n`},{from:`pencil2`,to:`typo`},{from:`poop`,to:`poo`},{from:`rewind`,to:`revert`},{from:`twisted-rightwards-arrows`,to:`merge`},{from:`package`,to:`dep-up`},{from:`alien`,to:`compat`},{from:`truck`,to:`mv`},{from:`page-facing-up`,to:`license`},{from:`boom`,to:`breaking`,semver:`major`},{from:`bento`,to:`assets`},{from:`wheelchair`,to:`access`},{from:`bulb`,to:`docs-code`},{from:`beers`,to:`beer`},{from:`speech-balloon`,to:`texts`},{from:`card-file-box`,to:`db`},{from:`loud-sound`,to:`log-add`},{from:`mute`,to:`log-rm`},{from:`busts-in-silhouette`,to:`contrib-add`},{from:`children-crossing`,to:`ux`},{from:`building-construction`,to:`arch`},{from:`iphone`,to:`iphone`},{from:`clown-face`,to:`mock`},{from:`egg`,to:`egg`},{from:`see-no-evil`,to:`ignore`},{from:`camera-flash`,to:`snapshot`},{from:`alembic`,to:`experiment`},{from:`mag`,to:`seo`},{from:`label`,to:`types`},{from:`seedling`,to:`seed`},{from:`triangular-flag-on-post`,to:`flags`},{from:`goal-net`,to:`catch`},{from:`dizzy`,to:`animation`},{from:`wastebasket`,to:`clean`},{from:`passport-control`,to:`roles`},{from:`adhesive-bandage`,to:`patch`},{from:`monocle-face`,to:`data`},{from:`coffin`,to:`rip`},{from:`test-tube`,to:`test-fail`},{from:`necktie`,to:`logic`},{from:`stethoscope`,to:`healthcheck`},{from:`bricks`,to:`inf`},{from:`technologist`,to:`dx`},{from:`closed-lock-with-key`,to:`secrets`},{from:`money-with-wings`,to:`sponsor`},{from:`thread`,to:`concurrency`},{from:`safety-vest`,to:`validation`},{from:`t-rex`,to:`backwards`},{from:`airplane`,to:`offline`}];export{e as default};
|
|
2
|
+
//# sourceMappingURL=rewrites.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rewrites.mjs","names":[],"sources":["../../src/config/rewrites.ts"],"sourcesContent":["/** biome-ignore-all assist/source/useSortedKeys: migrate */\n\n/**\n * @note pseudo-map to conventional-commits\n */\n\n// biome-ignore lint/style/useConsistentTypeDefinitions: migrate\ntype RewritesProps = {\n branch?: null | string\n from: string\n semver?: 'breaking' | 'feature' | 'fix' | 'major' | 'minor' | 'patch' | null\n to: string\n}\n\nconst rewrites: RewritesProps[] = [\n { from: 'art', to: 'style' },\n { from: 'zap', to: 'perf' },\n { from: 'fire', to: 'prune' },\n { from: 'bug', to: 'fix', branch: 'fix' },\n { from: 'ambulance', to: 'hotfix', branch: 'hotfix' },\n { from: 'sparkles', to: 'feat', branch: 'feature' },\n { from: 'memo', to: 'docs' },\n { from: 'rocket', to: 'deploy' },\n { from: 'lipstick', to: 'ui' },\n { from: 'tada', to: 'init', semver: 'patch' },\n { from: 'white-check-mark', to: 'test', branch: 'test' },\n { from: 'lock', to: 'security' },\n { from: 'bookmark', to: 'release', branch: 'release' },\n { from: 'rotating-light', to: 'lint' },\n { from: 'construction', to: 'wip' },\n { from: 'green-heart', to: 'fix-ci' },\n { from: 'arrow-down', to: 'downgrade' },\n { from: 'arrow-up', to: 'upgrade' },\n { from: 'pushpin', to: 'pushpin' },\n { from: 'construction-worker', to: 'ci', branch: 'ci' },\n { from: 'chart-with-upwards-trend', to: 'analytics' },\n { from: 'recycle', to: 'refactor', branch: 'refactor' },\n { from: 'heavy-plus-sign', to: 'dep-add' },\n { from: 'heavy-minus-sign', to: 'dep-rm' },\n { from: 'wrench', to: 'config' },\n { from: 'hammer', to: 'build' },\n { from: 'globe-with-meridians', to: 'i18n' },\n { from: 'pencil2', to: 'typo' },\n { from: 'poop', to: 'poo' },\n { from: 'rewind', to: 'revert' },\n { from: 'twisted-rightwards-arrows', to: 'merge' },\n { from: 'package', to: 'dep-up' },\n { from: 'alien', to: 'compat' },\n { from: 'truck', to: 'mv' },\n { from: 'page-facing-up', to: 'license' },\n { from: 'boom', to: 'breaking', semver: 'major' },\n { from: 'bento', to: 'assets' },\n { from: 'wheelchair', to: 'access' },\n { from: 'bulb', to: 'docs-code' },\n { from: 'beers', to: 'beer' },\n { from: 'speech-balloon', to: 'texts' },\n { from: 'card-file-box', to: 'db' },\n { from: 'loud-sound', to: 'log-add' },\n { from: 'mute', to: 'log-rm' },\n { from: 'busts-in-silhouette', to: 'contrib-add' },\n { from: 'children-crossing', to: 'ux' },\n { from: 'building-construction', to: 'arch' },\n { from: 'iphone', to: 'iphone' },\n { from: 'clown-face', to: 'mock' },\n { from: 'egg', to: 'egg' },\n { from: 'see-no-evil', to: 'ignore' },\n { from: 'camera-flash', to: 'snapshot' },\n { from: 'alembic', to: 'experiment' },\n { from: 'mag', to: 'seo' },\n { from: 'label', to: 'types' },\n { from: 'seedling', to: 'seed' },\n { from: 'triangular-flag-on-post', to: 'flags' },\n { from: 'goal-net', to: 'catch' },\n { from: 'dizzy', to: 'animation' },\n { from: 'wastebasket', to: 'clean' },\n { from: 'passport-control', to: 'roles' },\n { from: 'adhesive-bandage', to: 'patch' },\n { from: 'monocle-face', to: 'data' },\n { from: 'coffin', to: 'rip' },\n { from: 'test-tube', to: 'test-fail' },\n { from: 'necktie', to: 'logic' },\n { from: 'stethoscope', to: 'healthcheck' },\n { from: 'bricks', to: 'inf' },\n { from: 'technologist', to: 'dx' },\n { from: 'closed-lock-with-key', to: 'secrets' },\n { from: 'money-with-wings', to: 'sponsor' },\n { from: 'thread', to: 'concurrency' },\n { from: 'safety-vest', to: 'validation' },\n { from: 't-rex', to: 'backwards' },\n { from: 'airplane', to: 'offline' },\n]\n\nexport default rewrites\n"],"mappings":"8BAcA,MAAM,EAA4B,CAChC,CAAE,KAAM,MAAO,GAAI,QAAS,CAC5B,CAAE,KAAM,MAAO,GAAI,OAAQ,CAC3B,CAAE,KAAM,OAAQ,GAAI,QAAS,CAC7B,CAAE,KAAM,MAAO,GAAI,MAAO,OAAQ,MAAO,CACzC,CAAE,KAAM,YAAa,GAAI,SAAU,OAAQ,SAAU,CACrD,CAAE,KAAM,WAAY,GAAI,OAAQ,OAAQ,UAAW,CACnD,CAAE,KAAM,OAAQ,GAAI,OAAQ,CAC5B,CAAE,KAAM,SAAU,GAAI,SAAU,CAChC,CAAE,KAAM,WAAY,GAAI,KAAM,CAC9B,CAAE,KAAM,OAAQ,GAAI,OAAQ,OAAQ,QAAS,CAC7C,CAAE,KAAM,mBAAoB,GAAI,OAAQ,OAAQ,OAAQ,CACxD,CAAE,KAAM,OAAQ,GAAI,WAAY,CAChC,CAAE,KAAM,WAAY,GAAI,UAAW,OAAQ,UAAW,CACtD,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aseRule } from "../releaseRule.types-BKQjfcDG.mjs";
|
|
2
|
+
//#region src/config/types.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* @note
|
|
6
5
|
* These are _additional_ types on top of base Gitmoji
|
|
@@ -13,5 +12,6 @@ import '../types/commit.types.js';
|
|
|
13
12
|
*
|
|
14
13
|
*/
|
|
15
14
|
declare const types: IReleaseRule;
|
|
16
|
-
|
|
15
|
+
//#endregion
|
|
17
16
|
export { types as default };
|
|
17
|
+
//# sourceMappingURL=types.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.mts","names":[],"sources":["../../src/config/types.ts"],"mappings":";;;;;;;;;AAAqD;;;;cAc/C,KAAA,EAAO,YAAA"}
|
package/config/types.mjs
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import"../chunk-sEf7NbmF.mjs";const e={chore:{branch:`chore`,code:`:computer_disk:`,commit:`chore`,description:`Changes that don’t modify src or test files`,emoji:`💽️`,entity:`💽`,name:`computer-disk`,semver:null},rollforward:{branch:null,code:`:fast_forward:`,commit:`rollforward`,description:`Create rollforward version.`,emoji:`⏩️`,entity:`E9;`,name:`rollforward`,semver:null},"run-build":{branch:null,code:`:rocket:`,commit:`run-build`,description:`Custom type for CI/CD to hook into run build override.`,emoji:`🚀️`,entity:`F680;`,name:`run-build`,semver:`patch`}};export{e as default};
|
|
2
|
+
//# sourceMappingURL=types.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.mjs","names":[],"sources":["../../src/config/types.ts"],"sourcesContent":["import type { IReleaseRule } from '../types/index.js'\n\n/**\n * @note\n * These are _additional_ types on top of base Gitmoji\n *\n * @todo\n * - These should be accepted through a config for use by:\n * - @jeromefitz/ccommit\n * - @jeromefitz/semantic\n * - @jeromefitz/release-notes\n *\n */\n\nconst types: IReleaseRule = {\n chore: {\n branch: 'chore',\n code: ':computer_disk:',\n commit: 'chore',\n description: 'Changes that don’t modify src or test files',\n emoji: '💽️',\n entity: '💽',\n name: 'computer-disk',\n semver: null,\n },\n rollforward: {\n branch: null,\n code: ':fast_forward:',\n commit: 'rollforward',\n description: 'Create rollforward version.',\n emoji: '⏩️',\n entity: 'E9;',\n name: 'rollforward',\n semver: null,\n },\n 'run-build': {\n branch: null,\n code: ':rocket:',\n commit: 'run-build',\n description: 'Custom type for CI/CD to hook into run build override.',\n emoji: '🚀️',\n entity: 'F680;',\n name: 'run-build',\n semver: 'patch',\n },\n}\n\nexport default types\n"],"mappings":"8BAcA,MAAM,EAAsB,CAC1B,MAAO,CACL,OAAQ,QACR,KAAM,kBACN,OAAQ,QACR,YAAa,8CACb,MAAO,MACP,OAAQ,YACR,KAAM,gBACN,OAAQ,KACT,CACD,YAAa,CACX,OAAQ,KACR,KAAM,iBACN,OAAQ,cACR,YAAa,8BACb,MAAO,KACP,OAAQ,UACR,KAAM,cACN,OAAQ,KACT,CACD,YAAa,CACX,OAAQ,KACR,KAAM,WACN,OAAQ,YACR,YAAa,yDACb,MAAO,MACP,OAAQ,WACR,KAAM,YACN,OAAQ,QACT,CACF"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{t as e}from"./chunk-sEf7NbmF.mjs";import t from"./config/rewrites.mjs";import n from"./config/types.mjs";const{gitmojis:r}=e((e=>{e.gitmojis={gitmojis:[{emoji:`🎨`,entity:`🎨`,code:`:art:`,description:`Improve structure / format of the code.`,name:`art`,semver:null},{emoji:`⚡️`,entity:`⚡`,code:`:zap:`,description:`Improve performance.`,name:`zap`,semver:`patch`},{emoji:`🔥`,entity:`🔥`,code:`:fire:`,description:`Remove code or files.`,name:`fire`,semver:null},{emoji:`🐛`,entity:`🐛`,code:`:bug:`,description:`Fix a bug.`,name:`bug`,semver:`patch`},{emoji:`🚑️`,entity:`🚑`,code:`:ambulance:`,description:`Critical hotfix.`,name:`ambulance`,semver:`patch`},{emoji:`✨`,entity:`✨`,code:`:sparkles:`,description:`Introduce new features.`,name:`sparkles`,semver:`minor`},{emoji:`📝`,entity:`📝`,code:`:memo:`,description:`Add or update documentation.`,name:`memo`,semver:null},{emoji:`🚀`,entity:`🚀`,code:`:rocket:`,description:`Deploy stuff.`,name:`rocket`,semver:null},{emoji:`💄`,entity:`&#ff99cc;`,code:`:lipstick:`,description:`Add or update the UI and style files.`,name:`lipstick`,semver:`patch`},{emoji:`🎉`,entity:`🎉`,code:`:tada:`,description:`Begin a project.`,name:`tada`,semver:null},{emoji:`✅`,entity:`✅`,code:`:white_check_mark:`,description:`Add, update, or pass tests.`,name:`white-check-mark`,semver:null},{emoji:`🔒️`,entity:`🔒`,code:`:lock:`,description:`Fix security or privacy issues.`,name:`lock`,semver:`patch`},{emoji:`🔐`,entity:`🔐`,code:`:closed_lock_with_key:`,description:`Add or update secrets.`,name:`closed-lock-with-key`,semver:null},{emoji:`🔖`,entity:`🔖`,code:`:bookmark:`,description:`Release / Version tags.`,name:`bookmark`,semver:null},{emoji:`🚨`,entity:`🚨`,code:`:rotating_light:`,description:`Fix compiler / linter warnings.`,name:`rotating-light`,semver:null},{emoji:`🚧`,entity:`🚧`,code:`:construction:`,description:`Work in progress.`,name:`construction`,semver:null},{emoji:`💚`,entity:`💚`,code:`:green_heart:`,description:`Fix CI Build.`,name:`green-heart`,semver:null},{emoji:`⬇️`,entity:`⬇️`,code:`:arrow_down:`,description:`Downgrade dependencies.`,name:`arrow-down`,semver:`patch`},{emoji:`⬆️`,entity:`⬆️`,code:`:arrow_up:`,description:`Upgrade dependencies.`,name:`arrow-up`,semver:`patch`},{emoji:`📌`,entity:`📌`,code:`:pushpin:`,description:`Pin dependencies to specific versions.`,name:`pushpin`,semver:`patch`},{emoji:`👷`,entity:`👷`,code:`:construction_worker:`,description:`Add or update CI build system.`,name:`construction-worker`,semver:null},{emoji:`📈`,entity:`📈`,code:`:chart_with_upwards_trend:`,description:`Add or update analytics or track code.`,name:`chart-with-upwards-trend`,semver:`patch`},{emoji:`♻️`,entity:`♻`,code:`:recycle:`,description:`Refactor code.`,name:`recycle`,semver:null},{emoji:`➕`,entity:`➕`,code:`:heavy_plus_sign:`,description:`Add a dependency.`,name:`heavy-plus-sign`,semver:`patch`},{emoji:`➖`,entity:`➖`,code:`:heavy_minus_sign:`,description:`Remove a dependency.`,name:`heavy-minus-sign`,semver:`patch`},{emoji:`🔧`,entity:`🔧`,code:`:wrench:`,description:`Add or update configuration files.`,name:`wrench`,semver:`patch`},{emoji:`🔨`,entity:`🔨`,code:`:hammer:`,description:`Add or update development scripts.`,name:`hammer`,semver:null},{emoji:`🌐`,entity:`🌐`,code:`:globe_with_meridians:`,description:`Internationalization and localization.`,name:`globe-with-meridians`,semver:`patch`},{emoji:`✏️`,entity:``,code:`:pencil2:`,description:`Fix typos.`,name:`pencil2`,semver:`patch`},{emoji:`💩`,entity:``,code:`:poop:`,description:`Write bad code that needs to be improved.`,name:`poop`,semver:null},{emoji:`⏪️`,entity:`⏪`,code:`:rewind:`,description:`Revert changes.`,name:`rewind`,semver:`patch`},{emoji:`🔀`,entity:`🔀`,code:`:twisted_rightwards_arrows:`,description:`Merge branches.`,name:`twisted-rightwards-arrows`,semver:null},{emoji:`📦️`,entity:`F4E6;`,code:`:package:`,description:`Add or update compiled files or packages.`,name:`package`,semver:`patch`},{emoji:`👽️`,entity:`F47D;`,code:`:alien:`,description:`Update code due to external API changes.`,name:`alien`,semver:`patch`},{emoji:`🚚`,entity:`F69A;`,code:`:truck:`,description:`Move or rename resources (e.g.: files, paths, routes).`,name:`truck`,semver:null},{emoji:`📄`,entity:`F4C4;`,code:`:page_facing_up:`,description:`Add or update license.`,name:`page-facing-up`,semver:null},{emoji:`💥`,entity:`💥`,code:`:boom:`,description:`Introduce breaking changes.`,name:`boom`,semver:`major`},{emoji:`🍱`,entity:`F371`,code:`:bento:`,description:`Add or update assets.`,name:`bento`,semver:`patch`},{emoji:`♿️`,entity:`♿`,code:`:wheelchair:`,description:`Improve accessibility.`,name:`wheelchair`,semver:`patch`},{emoji:`💡`,entity:`💡`,code:`:bulb:`,description:`Add or update comments in source code.`,name:`bulb`,semver:null},{emoji:`🍻`,entity:`🍻`,code:`:beers:`,description:`Write code drunkenly.`,name:`beers`,semver:null},{emoji:`💬`,entity:`💬`,code:`:speech_balloon:`,description:`Add or update text and literals.`,name:`speech-balloon`,semver:`patch`},{emoji:`🗃️`,entity:`🗃`,code:`:card_file_box:`,description:`Perform database related changes.`,name:`card-file-box`,semver:`patch`},{emoji:`🔊`,entity:`🔊`,code:`:loud_sound:`,description:`Add or update logs.`,name:`loud-sound`,semver:null},{emoji:`🔇`,entity:`🔇`,code:`:mute:`,description:`Remove logs.`,name:`mute`,semver:null},{emoji:`👥`,entity:`👥`,code:`:busts_in_silhouette:`,description:`Add or update contributor(s).`,name:`busts-in-silhouette`,semver:null},{emoji:`🚸`,entity:`🚸`,code:`:children_crossing:`,description:`Improve user experience / usability.`,name:`children-crossing`,semver:`patch`},{emoji:`🏗️`,entity:`f3d7;`,code:`:building_construction:`,description:`Make architectural changes.`,name:`building-construction`,semver:null},{emoji:`📱`,entity:`📱`,code:`:iphone:`,description:`Work on responsive design.`,name:`iphone`,semver:`patch`},{emoji:`🤡`,entity:`🤡`,code:`:clown_face:`,description:`Mock things.`,name:`clown-face`,semver:null},{emoji:`🥚`,entity:`🥚`,code:`:egg:`,description:`Add or update an easter egg.`,name:`egg`,semver:`patch`},{emoji:`🙈`,entity:`bdfe7;`,code:`:see_no_evil:`,description:`Add or update a .gitignore file.`,name:`see-no-evil`,semver:null},{emoji:`📸`,entity:`📸`,code:`:camera_flash:`,description:`Add or update snapshots.`,name:`camera-flash`,semver:null},{emoji:`⚗️`,entity:`⚗`,code:`:alembic:`,description:`Perform experiments.`,name:`alembic`,semver:`patch`},{emoji:`🔍️`,entity:`🔍`,code:`:mag:`,description:`Improve SEO.`,name:`mag`,semver:`patch`},{emoji:`🏷️`,entity:`🏷`,code:`:label:`,description:`Add or update types.`,name:`label`,semver:`patch`},{emoji:`🌱`,entity:`🌱`,code:`:seedling:`,description:`Add or update seed files.`,name:`seedling`,semver:null},{emoji:`🚩`,entity:`🚩`,code:`:triangular_flag_on_post:`,description:`Add, update, or remove feature flags.`,name:`triangular-flag-on-post`,semver:`patch`},{emoji:`🥅`,entity:`🥅`,code:`:goal_net:`,description:`Catch errors.`,name:`goal-net`,semver:`patch`},{emoji:`💫`,entity:`💫`,code:`:dizzy:`,description:`Add or update animations and transitions.`,name:`dizzy`,semver:`patch`},{emoji:`🗑️`,entity:`🗑`,code:`:wastebasket:`,description:`Deprecate code that needs to be cleaned up.`,name:`wastebasket`,semver:`patch`},{emoji:`🛂`,entity:`🛂`,code:`:passport_control:`,description:`Work on code related to authorization, roles and permissions.`,name:`passport-control`,semver:`patch`},{emoji:`🩹`,entity:`🩹`,code:`:adhesive_bandage:`,description:`Simple fix for a non-critical issue.`,name:`adhesive-bandage`,semver:`patch`},{emoji:`🧐`,entity:`🧐`,code:`:monocle_face:`,description:`Data exploration/inspection.`,name:`monocle-face`,semver:null},{emoji:`⚰️`,entity:`⚰`,code:`:coffin:`,description:`Remove dead code.`,name:`coffin`,semver:null},{emoji:`🧪`,entity:`🧪`,code:`:test_tube:`,description:`Add a failing test.`,name:`test-tube`,semver:null},{emoji:`👔`,entity:`👔`,code:`:necktie:`,description:`Add or update business logic.`,name:`necktie`,semver:`patch`},{emoji:`🩺`,entity:`🩺`,code:`:stethoscope:`,description:`Add or update healthcheck.`,name:`stethoscope`,semver:null},{emoji:`🧱`,entity:`🧱`,code:`:bricks:`,description:`Infrastructure related changes.`,name:`bricks`,semver:null},{emoji:`🧑💻`,entity:`🧑‍💻`,code:`:technologist:`,description:`Improve developer experience.`,name:`technologist`,semver:null},{emoji:`💸`,entity:`💸`,code:`:money_with_wings:`,description:`Add sponsorships or money related infrastructure.`,name:`money-with-wings`,semver:null},{emoji:`🧵`,entity:`🧵`,code:`:thread:`,description:`Add or update code related to multithreading or concurrency.`,name:`thread`,semver:null},{emoji:`🦺`,entity:`🦺`,code:`:safety_vest:`,description:`Add or update code related to validation.`,name:`safety-vest`,semver:null},{emoji:`✈️`,entity:`✈`,code:`:airplane:`,description:`Improve offline support.`,name:`airplane`,semver:null}]}.gitmojis,e.schema={type:`object`,$schema:`https://json-schema.org/draft/2020-12/schema`,required:[`gitmojis`],properties:{gitmojis:{type:`array`,minItems:1,uniqueItems:!0,items:{type:`object`,required:[`emoji`,`entity`,`code`,`description`,`name`,`semver`],properties:{code:{type:`string`},entity:{type:`string`},description:{type:`string`},emoji:{type:`string`},name:{type:`string`},semver:{enum:[`major`,`minor`,`patch`,null]}}}}}}}))(),i=()=>(r.map(e=>{let r=t.find(t=>t?.from===e.name);if(r){let t=r.semver===void 0?e?.semver||null:r.semver||e?.semver||null;n[r.to]={branch:r?.branch?r.branch:null,code:e?.code,commit:r.to,description:e?.description,emoji:e?.emoji,entity:e?.entity,name:e?.name,semver:t?t.replace(`fix`,`patch`).replace(`feature`,`minor`).replace(`breaking`,`major`):null}}else console.dir(`@todo(conventional-gitmoji) create rewrite for: ${e.name}`)}),Object.keys(n).sort().reduce((e,t)=>(e[t]=n[t],e),{}));export{i as t};
|
|
2
|
+
//# sourceMappingURL=getGitmojiConventional-aDc1od8Y.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getGitmojiConventional-aDc1od8Y.mjs","names":["_rewrites","_types"],"sources":["../../../node_modules/.pnpm/gitmojis@3.15.0/node_modules/gitmojis/dist/index.cjs","../src/utils/getGitmojiConventional.ts"],"sourcesContent":["'use strict';\n\nconst gitmojis$1 = [\n\t{\n\t\temoji: \"🎨\",\n\t\tentity: \"🎨\",\n\t\tcode: \":art:\",\n\t\tdescription: \"Improve structure / format of the code.\",\n\t\tname: \"art\",\n\t\tsemver: null\n\t},\n\t{\n\t\temoji: \"⚡️\",\n\t\tentity: \"⚡\",\n\t\tcode: \":zap:\",\n\t\tdescription: \"Improve performance.\",\n\t\tname: \"zap\",\n\t\tsemver: \"patch\"\n\t},\n\t{\n\t\temoji: \"🔥\",\n\t\tentity: \"🔥\",\n\t\tcode: \":fire:\",\n\t\tdescription: \"Remove code or files.\",\n\t\tname: \"fire\",\n\t\tsemver: null\n\t},\n\t{\n\t\temoji: \"🐛\",\n\t\tentity: \"🐛\",\n\t\tcode: \":bug:\",\n\t\tdescription: \"Fix a bug.\",\n\t\tname: \"bug\",\n\t\tsemver: \"patch\"\n\t},\n\t{\n\t\temoji: \"🚑️\",\n\t\tentity: \"🚑\",\n\t\tcode: \":ambulance:\",\n\t\tdescription: \"Critical hotfix.\",\n\t\tname: \"ambulance\",\n\t\tsemver: \"patch\"\n\t},\n\t{\n\t\temoji: \"✨\",\n\t\tentity: \"✨\",\n\t\tcode: \":sparkles:\",\n\t\tdescription: \"Introduce new features.\",\n\t\tname: \"sparkles\",\n\t\tsemver: \"minor\"\n\t},\n\t{\n\t\temoji: \"📝\",\n\t\tentity: \"📝\",\n\t\tcode: \":memo:\",\n\t\tdescription: \"Add or update documentation.\",\n\t\tname: \"memo\",\n\t\tsemver: null\n\t},\n\t{\n\t\temoji: \"🚀\",\n\t\tentity: \"🚀\",\n\t\tcode: \":rocket:\",\n\t\tdescription: \"Deploy stuff.\",\n\t\tname: \"rocket\",\n\t\tsemver: null\n\t},\n\t{\n\t\temoji: \"💄\",\n\t\tentity: \"&#ff99cc;\",\n\t\tcode: \":lipstick:\",\n\t\tdescription: \"Add or update the UI and style files.\",\n\t\tname: \"lipstick\",\n\t\tsemver: \"patch\"\n\t},\n\t{\n\t\temoji: \"🎉\",\n\t\tentity: \"🎉\",\n\t\tcode: \":tada:\",\n\t\tdescription: \"Begin a project.\",\n\t\tname: \"tada\",\n\t\tsemver: null\n\t},\n\t{\n\t\temoji: \"✅\",\n\t\tentity: \"✅\",\n\t\tcode: \":white_check_mark:\",\n\t\tdescription: \"Add, update, or pass tests.\",\n\t\tname: \"white-check-mark\",\n\t\tsemver: null\n\t},\n\t{\n\t\temoji: \"🔒️\",\n\t\tentity: \"🔒\",\n\t\tcode: \":lock:\",\n\t\tdescription: \"Fix security or privacy issues.\",\n\t\tname: \"lock\",\n\t\tsemver: \"patch\"\n\t},\n\t{\n\t\temoji: \"🔐\",\n\t\tentity: \"🔐\",\n\t\tcode: \":closed_lock_with_key:\",\n\t\tdescription: \"Add or update secrets.\",\n\t\tname: \"closed-lock-with-key\",\n\t\tsemver: null\n\t},\n\t{\n\t\temoji: \"🔖\",\n\t\tentity: \"🔖\",\n\t\tcode: \":bookmark:\",\n\t\tdescription: \"Release / Version tags.\",\n\t\tname: \"bookmark\",\n\t\tsemver: null\n\t},\n\t{\n\t\temoji: \"🚨\",\n\t\tentity: \"🚨\",\n\t\tcode: \":rotating_light:\",\n\t\tdescription: \"Fix compiler / linter warnings.\",\n\t\tname: \"rotating-light\",\n\t\tsemver: null\n\t},\n\t{\n\t\temoji: \"🚧\",\n\t\tentity: \"🚧\",\n\t\tcode: \":construction:\",\n\t\tdescription: \"Work in progress.\",\n\t\tname: \"construction\",\n\t\tsemver: null\n\t},\n\t{\n\t\temoji: \"💚\",\n\t\tentity: \"💚\",\n\t\tcode: \":green_heart:\",\n\t\tdescription: \"Fix CI Build.\",\n\t\tname: \"green-heart\",\n\t\tsemver: null\n\t},\n\t{\n\t\temoji: \"⬇️\",\n\t\tentity: \"⬇️\",\n\t\tcode: \":arrow_down:\",\n\t\tdescription: \"Downgrade dependencies.\",\n\t\tname: \"arrow-down\",\n\t\tsemver: \"patch\"\n\t},\n\t{\n\t\temoji: \"⬆️\",\n\t\tentity: \"⬆️\",\n\t\tcode: \":arrow_up:\",\n\t\tdescription: \"Upgrade dependencies.\",\n\t\tname: \"arrow-up\",\n\t\tsemver: \"patch\"\n\t},\n\t{\n\t\temoji: \"📌\",\n\t\tentity: \"📌\",\n\t\tcode: \":pushpin:\",\n\t\tdescription: \"Pin dependencies to specific versions.\",\n\t\tname: \"pushpin\",\n\t\tsemver: \"patch\"\n\t},\n\t{\n\t\temoji: \"👷\",\n\t\tentity: \"👷\",\n\t\tcode: \":construction_worker:\",\n\t\tdescription: \"Add or update CI build system.\",\n\t\tname: \"construction-worker\",\n\t\tsemver: null\n\t},\n\t{\n\t\temoji: \"📈\",\n\t\tentity: \"📈\",\n\t\tcode: \":chart_with_upwards_trend:\",\n\t\tdescription: \"Add or update analytics or track code.\",\n\t\tname: \"chart-with-upwards-trend\",\n\t\tsemver: \"patch\"\n\t},\n\t{\n\t\temoji: \"♻️\",\n\t\tentity: \"♻\",\n\t\tcode: \":recycle:\",\n\t\tdescription: \"Refactor code.\",\n\t\tname: \"recycle\",\n\t\tsemver: null\n\t},\n\t{\n\t\temoji: \"➕\",\n\t\tentity: \"➕\",\n\t\tcode: \":heavy_plus_sign:\",\n\t\tdescription: \"Add a dependency.\",\n\t\tname: \"heavy-plus-sign\",\n\t\tsemver: \"patch\"\n\t},\n\t{\n\t\temoji: \"➖\",\n\t\tentity: \"➖\",\n\t\tcode: \":heavy_minus_sign:\",\n\t\tdescription: \"Remove a dependency.\",\n\t\tname: \"heavy-minus-sign\",\n\t\tsemver: \"patch\"\n\t},\n\t{\n\t\temoji: \"🔧\",\n\t\tentity: \"🔧\",\n\t\tcode: \":wrench:\",\n\t\tdescription: \"Add or update configuration files.\",\n\t\tname: \"wrench\",\n\t\tsemver: \"patch\"\n\t},\n\t{\n\t\temoji: \"🔨\",\n\t\tentity: \"🔨\",\n\t\tcode: \":hammer:\",\n\t\tdescription: \"Add or update development scripts.\",\n\t\tname: \"hammer\",\n\t\tsemver: null\n\t},\n\t{\n\t\temoji: \"🌐\",\n\t\tentity: \"🌐\",\n\t\tcode: \":globe_with_meridians:\",\n\t\tdescription: \"Internationalization and localization.\",\n\t\tname: \"globe-with-meridians\",\n\t\tsemver: \"patch\"\n\t},\n\t{\n\t\temoji: \"✏️\",\n\t\tentity: \"\",\n\t\tcode: \":pencil2:\",\n\t\tdescription: \"Fix typos.\",\n\t\tname: \"pencil2\",\n\t\tsemver: \"patch\"\n\t},\n\t{\n\t\temoji: \"💩\",\n\t\tentity: \"\",\n\t\tcode: \":poop:\",\n\t\tdescription: \"Write bad code that needs to be improved.\",\n\t\tname: \"poop\",\n\t\tsemver: null\n\t},\n\t{\n\t\temoji: \"⏪️\",\n\t\tentity: \"⏪\",\n\t\tcode: \":rewind:\",\n\t\tdescription: \"Revert changes.\",\n\t\tname: \"rewind\",\n\t\tsemver: \"patch\"\n\t},\n\t{\n\t\temoji: \"🔀\",\n\t\tentity: \"🔀\",\n\t\tcode: \":twisted_rightwards_arrows:\",\n\t\tdescription: \"Merge branches.\",\n\t\tname: \"twisted-rightwards-arrows\",\n\t\tsemver: null\n\t},\n\t{\n\t\temoji: \"📦️\",\n\t\tentity: \"F4E6;\",\n\t\tcode: \":package:\",\n\t\tdescription: \"Add or update compiled files or packages.\",\n\t\tname: \"package\",\n\t\tsemver: \"patch\"\n\t},\n\t{\n\t\temoji: \"👽️\",\n\t\tentity: \"F47D;\",\n\t\tcode: \":alien:\",\n\t\tdescription: \"Update code due to external API changes.\",\n\t\tname: \"alien\",\n\t\tsemver: \"patch\"\n\t},\n\t{\n\t\temoji: \"🚚\",\n\t\tentity: \"F69A;\",\n\t\tcode: \":truck:\",\n\t\tdescription: \"Move or rename resources (e.g.: files, paths, routes).\",\n\t\tname: \"truck\",\n\t\tsemver: null\n\t},\n\t{\n\t\temoji: \"📄\",\n\t\tentity: \"F4C4;\",\n\t\tcode: \":page_facing_up:\",\n\t\tdescription: \"Add or update license.\",\n\t\tname: \"page-facing-up\",\n\t\tsemver: null\n\t},\n\t{\n\t\temoji: \"💥\",\n\t\tentity: \"💥\",\n\t\tcode: \":boom:\",\n\t\tdescription: \"Introduce breaking changes.\",\n\t\tname: \"boom\",\n\t\tsemver: \"major\"\n\t},\n\t{\n\t\temoji: \"🍱\",\n\t\tentity: \"F371\",\n\t\tcode: \":bento:\",\n\t\tdescription: \"Add or update assets.\",\n\t\tname: \"bento\",\n\t\tsemver: \"patch\"\n\t},\n\t{\n\t\temoji: \"♿️\",\n\t\tentity: \"♿\",\n\t\tcode: \":wheelchair:\",\n\t\tdescription: \"Improve accessibility.\",\n\t\tname: \"wheelchair\",\n\t\tsemver: \"patch\"\n\t},\n\t{\n\t\temoji: \"💡\",\n\t\tentity: \"💡\",\n\t\tcode: \":bulb:\",\n\t\tdescription: \"Add or update comments in source code.\",\n\t\tname: \"bulb\",\n\t\tsemver: null\n\t},\n\t{\n\t\temoji: \"🍻\",\n\t\tentity: \"🍻\",\n\t\tcode: \":beers:\",\n\t\tdescription: \"Write code drunkenly.\",\n\t\tname: \"beers\",\n\t\tsemver: null\n\t},\n\t{\n\t\temoji: \"💬\",\n\t\tentity: \"💬\",\n\t\tcode: \":speech_balloon:\",\n\t\tdescription: \"Add or update text and literals.\",\n\t\tname: \"speech-balloon\",\n\t\tsemver: \"patch\"\n\t},\n\t{\n\t\temoji: \"🗃️\",\n\t\tentity: \"🗃\",\n\t\tcode: \":card_file_box:\",\n\t\tdescription: \"Perform database related changes.\",\n\t\tname: \"card-file-box\",\n\t\tsemver: \"patch\"\n\t},\n\t{\n\t\temoji: \"🔊\",\n\t\tentity: \"🔊\",\n\t\tcode: \":loud_sound:\",\n\t\tdescription: \"Add or update logs.\",\n\t\tname: \"loud-sound\",\n\t\tsemver: null\n\t},\n\t{\n\t\temoji: \"🔇\",\n\t\tentity: \"🔇\",\n\t\tcode: \":mute:\",\n\t\tdescription: \"Remove logs.\",\n\t\tname: \"mute\",\n\t\tsemver: null\n\t},\n\t{\n\t\temoji: \"👥\",\n\t\tentity: \"👥\",\n\t\tcode: \":busts_in_silhouette:\",\n\t\tdescription: \"Add or update contributor(s).\",\n\t\tname: \"busts-in-silhouette\",\n\t\tsemver: null\n\t},\n\t{\n\t\temoji: \"🚸\",\n\t\tentity: \"🚸\",\n\t\tcode: \":children_crossing:\",\n\t\tdescription: \"Improve user experience / usability.\",\n\t\tname: \"children-crossing\",\n\t\tsemver: \"patch\"\n\t},\n\t{\n\t\temoji: \"🏗️\",\n\t\tentity: \"f3d7;\",\n\t\tcode: \":building_construction:\",\n\t\tdescription: \"Make architectural changes.\",\n\t\tname: \"building-construction\",\n\t\tsemver: null\n\t},\n\t{\n\t\temoji: \"📱\",\n\t\tentity: \"📱\",\n\t\tcode: \":iphone:\",\n\t\tdescription: \"Work on responsive design.\",\n\t\tname: \"iphone\",\n\t\tsemver: \"patch\"\n\t},\n\t{\n\t\temoji: \"🤡\",\n\t\tentity: \"🤡\",\n\t\tcode: \":clown_face:\",\n\t\tdescription: \"Mock things.\",\n\t\tname: \"clown-face\",\n\t\tsemver: null\n\t},\n\t{\n\t\temoji: \"🥚\",\n\t\tentity: \"🥚\",\n\t\tcode: \":egg:\",\n\t\tdescription: \"Add or update an easter egg.\",\n\t\tname: \"egg\",\n\t\tsemver: \"patch\"\n\t},\n\t{\n\t\temoji: \"🙈\",\n\t\tentity: \"bdfe7;\",\n\t\tcode: \":see_no_evil:\",\n\t\tdescription: \"Add or update a .gitignore file.\",\n\t\tname: \"see-no-evil\",\n\t\tsemver: null\n\t},\n\t{\n\t\temoji: \"📸\",\n\t\tentity: \"📸\",\n\t\tcode: \":camera_flash:\",\n\t\tdescription: \"Add or update snapshots.\",\n\t\tname: \"camera-flash\",\n\t\tsemver: null\n\t},\n\t{\n\t\temoji: \"⚗️\",\n\t\tentity: \"⚗\",\n\t\tcode: \":alembic:\",\n\t\tdescription: \"Perform experiments.\",\n\t\tname: \"alembic\",\n\t\tsemver: \"patch\"\n\t},\n\t{\n\t\temoji: \"🔍️\",\n\t\tentity: \"🔍\",\n\t\tcode: \":mag:\",\n\t\tdescription: \"Improve SEO.\",\n\t\tname: \"mag\",\n\t\tsemver: \"patch\"\n\t},\n\t{\n\t\temoji: \"🏷️\",\n\t\tentity: \"🏷\",\n\t\tcode: \":label:\",\n\t\tdescription: \"Add or update types.\",\n\t\tname: \"label\",\n\t\tsemver: \"patch\"\n\t},\n\t{\n\t\temoji: \"🌱\",\n\t\tentity: \"🌱\",\n\t\tcode: \":seedling:\",\n\t\tdescription: \"Add or update seed files.\",\n\t\tname: \"seedling\",\n\t\tsemver: null\n\t},\n\t{\n\t\temoji: \"🚩\",\n\t\tentity: \"🚩\",\n\t\tcode: \":triangular_flag_on_post:\",\n\t\tdescription: \"Add, update, or remove feature flags.\",\n\t\tname: \"triangular-flag-on-post\",\n\t\tsemver: \"patch\"\n\t},\n\t{\n\t\temoji: \"🥅\",\n\t\tentity: \"🥅\",\n\t\tcode: \":goal_net:\",\n\t\tdescription: \"Catch errors.\",\n\t\tname: \"goal-net\",\n\t\tsemver: \"patch\"\n\t},\n\t{\n\t\temoji: \"💫\",\n\t\tentity: \"💫\",\n\t\tcode: \":dizzy:\",\n\t\tdescription: \"Add or update animations and transitions.\",\n\t\tname: \"dizzy\",\n\t\tsemver: \"patch\"\n\t},\n\t{\n\t\temoji: \"🗑️\",\n\t\tentity: \"🗑\",\n\t\tcode: \":wastebasket:\",\n\t\tdescription: \"Deprecate code that needs to be cleaned up.\",\n\t\tname: \"wastebasket\",\n\t\tsemver: \"patch\"\n\t},\n\t{\n\t\temoji: \"🛂\",\n\t\tentity: \"🛂\",\n\t\tcode: \":passport_control:\",\n\t\tdescription: \"Work on code related to authorization, roles and permissions.\",\n\t\tname: \"passport-control\",\n\t\tsemver: \"patch\"\n\t},\n\t{\n\t\temoji: \"🩹\",\n\t\tentity: \"🩹\",\n\t\tcode: \":adhesive_bandage:\",\n\t\tdescription: \"Simple fix for a non-critical issue.\",\n\t\tname: \"adhesive-bandage\",\n\t\tsemver: \"patch\"\n\t},\n\t{\n\t\temoji: \"🧐\",\n\t\tentity: \"🧐\",\n\t\tcode: \":monocle_face:\",\n\t\tdescription: \"Data exploration/inspection.\",\n\t\tname: \"monocle-face\",\n\t\tsemver: null\n\t},\n\t{\n\t\temoji: \"⚰️\",\n\t\tentity: \"⚰\",\n\t\tcode: \":coffin:\",\n\t\tdescription: \"Remove dead code.\",\n\t\tname: \"coffin\",\n\t\tsemver: null\n\t},\n\t{\n\t\temoji: \"🧪\",\n\t\tentity: \"🧪\",\n\t\tcode: \":test_tube:\",\n\t\tdescription: \"Add a failing test.\",\n\t\tname: \"test-tube\",\n\t\tsemver: null\n\t},\n\t{\n\t\temoji: \"👔\",\n\t\tentity: \"👔\",\n\t\tcode: \":necktie:\",\n\t\tdescription: \"Add or update business logic.\",\n\t\tname: \"necktie\",\n\t\tsemver: \"patch\"\n\t},\n\t{\n\t\temoji: \"🩺\",\n\t\tentity: \"🩺\",\n\t\tcode: \":stethoscope:\",\n\t\tdescription: \"Add or update healthcheck.\",\n\t\tname: \"stethoscope\",\n\t\tsemver: null\n\t},\n\t{\n\t\temoji: \"🧱\",\n\t\tentity: \"🧱\",\n\t\tcode: \":bricks:\",\n\t\tdescription: \"Infrastructure related changes.\",\n\t\tname: \"bricks\",\n\t\tsemver: null\n\t},\n\t{\n\t\temoji: \"🧑💻\",\n\t\tentity: \"🧑‍💻\",\n\t\tcode: \":technologist:\",\n\t\tdescription: \"Improve developer experience.\",\n\t\tname: \"technologist\",\n\t\tsemver: null\n\t},\n\t{\n\t\temoji: \"💸\",\n\t\tentity: \"💸\",\n\t\tcode: \":money_with_wings:\",\n\t\tdescription: \"Add sponsorships or money related infrastructure.\",\n\t\tname: \"money-with-wings\",\n\t\tsemver: null\n\t},\n\t{\n\t\temoji: \"🧵\",\n\t\tentity: \"🧵\",\n\t\tcode: \":thread:\",\n\t\tdescription: \"Add or update code related to multithreading or concurrency.\",\n\t\tname: \"thread\",\n\t\tsemver: null\n\t},\n\t{\n\t\temoji: \"🦺\",\n\t\tentity: \"🦺\",\n\t\tcode: \":safety_vest:\",\n\t\tdescription: \"Add or update code related to validation.\",\n\t\tname: \"safety-vest\",\n\t\tsemver: null\n\t},\n\t{\n\t\temoji: \"✈️\",\n\t\tentity: \"✈\",\n\t\tcode: \":airplane:\",\n\t\tdescription: \"Improve offline support.\",\n\t\tname: \"airplane\",\n\t\tsemver: null\n\t}\n];\nconst gitmojisJson = {\n\tgitmojis: gitmojis$1\n};\n\nconst type = \"object\";\nconst $schema = \"https://json-schema.org/draft/2020-12/schema\";\nconst required = [\n\t\"gitmojis\"\n];\nconst properties = {\n\tgitmojis: {\n\t\ttype: \"array\",\n\t\tminItems: 1,\n\t\tuniqueItems: true,\n\t\titems: {\n\t\t\ttype: \"object\",\n\t\t\trequired: [\n\t\t\t\t\"emoji\",\n\t\t\t\t\"entity\",\n\t\t\t\t\"code\",\n\t\t\t\t\"description\",\n\t\t\t\t\"name\",\n\t\t\t\t\"semver\"\n\t\t\t],\n\t\t\tproperties: {\n\t\t\t\tcode: {\n\t\t\t\t\ttype: \"string\"\n\t\t\t\t},\n\t\t\t\tentity: {\n\t\t\t\t\ttype: \"string\"\n\t\t\t\t},\n\t\t\t\tdescription: {\n\t\t\t\t\ttype: \"string\"\n\t\t\t\t},\n\t\t\t\temoji: {\n\t\t\t\t\ttype: \"string\"\n\t\t\t\t},\n\t\t\t\tname: {\n\t\t\t\t\ttype: \"string\"\n\t\t\t\t},\n\t\t\t\tsemver: {\n\t\t\t\t\t\"enum\": [\n\t\t\t\t\t\t\"major\",\n\t\t\t\t\t\t\"minor\",\n\t\t\t\t\t\t\"patch\",\n\t\t\t\t\t\tnull\n\t\t\t\t\t]\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n};\nconst schema = {\n\ttype: type,\n\t$schema: $schema,\n\trequired: required,\n\tproperties: properties\n};\n\nconst gitmojis = gitmojisJson.gitmojis;\n\nexports.gitmojis = gitmojis;\nexports.schema = schema;\n","/** biome-ignore-all lint/suspicious/noConsole: migrate */\nconst data = require('gitmojis')\n\nimport type { IReleaseRule } from '../types/index.js'\n\nimport _rewrites from '../config/rewrites.js'\nimport _types from '../config/types.js'\n\nconst { gitmojis } = data\n\nconst getGitmoji = (): IReleaseRule => {\n // @todo(complexity) 16\n // biome-ignore lint/complexity/noExcessiveCognitiveComplexity: migrate\n gitmojis.map((gitmoji: any) => {\n const rewrite = _rewrites.find((r) => r?.from === gitmoji.name)\n\n // biome-ignore lint/complexity/noExtraBooleanCast: migrate\n if (!!rewrite) {\n const semver =\n rewrite.semver === undefined\n ? gitmoji?.semver || null\n : rewrite.semver || gitmoji?.semver || null\n\n _types[rewrite.to] = {\n // biome-ignore lint/complexity/noExtraBooleanCast: migrate\n branch: Boolean(rewrite?.branch) ? rewrite.branch : null,\n code: gitmoji?.code,\n commit: rewrite.to,\n description: gitmoji?.description,\n emoji: gitmoji?.emoji,\n entity: gitmoji?.entity,\n name: gitmoji?.name,\n /**\n * @note\n * (semantic)\n * big lol, README does not meet requirements:\n * ref: https://github.com/semantic-release/semantic-release#commit-message-format\n *\n * [\"major\",\"premajor\",\"minor\",\"preminor\",\"patch\",\"prepatch\",\"prerelease\"]\n **/\n\n // biome-ignore lint/complexity/noExtraBooleanCast: migrate\n semver: !!semver\n ? semver\n .replace('fix', 'patch')\n .replace('feature', 'minor')\n .replace('breaking', 'major')\n : null,\n }\n } else {\n console.dir(`@todo(conventional-gitmoji) create rewrite for: ${gitmoji.name}`)\n }\n })\n\n const items = Object.keys(_types)\n .sort()\n .reduce((type, key) => {\n type[key] = _types[key]\n\n return type\n }, {})\n\n return items\n}\n\nexport default getGitmoji\n"],"x_google_ignoreList":[0],"mappings":"gHCQA,KAAM,CAAE,mBDyoBR,EAAQ,SA7Da,CACpB,SAnlBkB,CAClB,CACC,MAAO,KACP,OAAQ,YACR,KAAM,QACN,YAAa,0CACb,KAAM,MACN,OAAQ,KACR,CACD,CACC,MAAO,KACP,OAAQ,WACR,KAAM,QACN,YAAa,uBACb,KAAM,MACN,OAAQ,QACR,CACD,CACC,MAAO,KACP,OAAQ,YACR,KAAM,SACN,YAAa,wBACb,KAAM,OACN,OAAQ,KACR,CACD,CACC,MAAO,KACP,OAAQ,YACR,KAAM,QACN,YAAa,aACb,KAAM,MACN,OAAQ,QACR,CACD,CACC,MAAO,MACP,OAAQ,YACR,KAAM,cACN,YAAa,mBACb,KAAM,YACN,OAAQ,QACR,CACD,CACC,MAAO,IACP,OAAQ,WACR,KAAM,aACN,YAAa,0BACb,KAAM,WACN,O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AS,OACjB,KAAM,GAAS,KAWf,OAAU,EACN,EACG,QAAQ,MAAO,QAAQ,CACvB,QAAQ,UAAW,QAAQ,CAC3B,QAAQ,WAAY,QAAQ,CAC/B,KACL,MAED,QAAQ,IAAI,mDAAmD,EAAQ,OAAO,EAEhF,CAEY,OAAO,KAAKC,EAAO,CAC9B,MAAM,CACN,QAAQ,EAAM,KACb,EAAK,GAAOA,EAAO,GAEZ,GACN,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
package/index.d.mts
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { t as ICommit } from "./commit.types-CwGP9mlg.mjs";
|
|
2
|
+
import { n as IReleaseRuleProps, t as IReleaseRule } from "./releaseRule.types-BKQjfcDG.mjs";
|
|
3
|
+
//#region src/index.d.ts
|
|
4
|
+
declare const parserOpts: {
|
|
5
|
+
headerCorrespondence: string[];
|
|
6
|
+
headerPattern: RegExp;
|
|
7
|
+
issuePrefixes: string[];
|
|
8
|
+
noteKeywords: string[];
|
|
9
|
+
referenceActions: string[];
|
|
10
|
+
revertPattern: RegExp;
|
|
11
|
+
}, writerOpts: {
|
|
12
|
+
commitGroupsSort: string[];
|
|
13
|
+
commitsSort: string[];
|
|
14
|
+
groupBy: string;
|
|
15
|
+
noteGroupsSort: string[];
|
|
16
|
+
notesSort: string[];
|
|
17
|
+
transform: (commit: any, context: any) => any;
|
|
18
|
+
};
|
|
19
|
+
declare const types: Partial<Record<ICommit, IReleaseRuleProps>>;
|
|
20
|
+
declare const releaseRules: {
|
|
21
|
+
message?: null | string;
|
|
22
|
+
release?: null | string;
|
|
23
|
+
tag?: null | string;
|
|
24
|
+
type?: null | string;
|
|
25
|
+
}[];
|
|
26
|
+
declare const typeSpecs: Omit<IReleaseRuleProps, "branch" | "commit" | "entity" | "name">[];
|
|
27
|
+
declare const _default: () => {
|
|
28
|
+
conventionalChangelog: {
|
|
29
|
+
parserOpts: {
|
|
30
|
+
headerCorrespondence: string[];
|
|
31
|
+
headerPattern: RegExp;
|
|
32
|
+
issuePrefixes: string[];
|
|
33
|
+
noteKeywords: string[];
|
|
34
|
+
referenceActions: string[];
|
|
35
|
+
revertPattern: RegExp;
|
|
36
|
+
};
|
|
37
|
+
writerOpts: {
|
|
38
|
+
commitGroupsSort: string[];
|
|
39
|
+
commitsSort: string[];
|
|
40
|
+
groupBy: string;
|
|
41
|
+
noteGroupsSort: string[];
|
|
42
|
+
notesSort: string[];
|
|
43
|
+
transform: (commit: any, context: any) => any;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
gitRawCommitsOpts: {
|
|
47
|
+
format: string;
|
|
48
|
+
};
|
|
49
|
+
parserOpts: {
|
|
50
|
+
headerCorrespondence: string[];
|
|
51
|
+
headerPattern: RegExp;
|
|
52
|
+
issuePrefixes: string[];
|
|
53
|
+
noteKeywords: string[];
|
|
54
|
+
referenceActions: string[];
|
|
55
|
+
revertPattern: RegExp;
|
|
56
|
+
};
|
|
57
|
+
recommendedBumpOpts: {
|
|
58
|
+
parserOpts: {
|
|
59
|
+
headerCorrespondence: string[];
|
|
60
|
+
headerPattern: RegExp;
|
|
61
|
+
issuePrefixes: string[];
|
|
62
|
+
noteKeywords: string[];
|
|
63
|
+
referenceActions: string[];
|
|
64
|
+
revertPattern: RegExp;
|
|
65
|
+
};
|
|
66
|
+
whatBump: (commits: any) => {
|
|
67
|
+
level: number;
|
|
68
|
+
reason: string;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
writerOpts: {
|
|
72
|
+
commitGroupsSort: string[];
|
|
73
|
+
commitsSort: string[];
|
|
74
|
+
groupBy: string;
|
|
75
|
+
noteGroupsSort: string[];
|
|
76
|
+
notesSort: string[];
|
|
77
|
+
transform: (commit: any, context: any) => any;
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
//#endregion
|
|
81
|
+
export { type ICommit, type IReleaseRule, type IReleaseRuleProps, _default as default, parserOpts, releaseRules, typeSpecs, types, writerOpts };
|
|
82
|
+
//# sourceMappingURL=index.d.mts.map
|
package/index.d.mts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"mappings":";;;cAOQ,UAAA;;;;;;;KAAY,UAAA;;;;;;;;cACd,KAAA,EAAK,OAAA,CAAA,MAAA,CAAA,OAAA,EAAA,iBAAA;AAAA,cACL,YAAA;;;;;;cACA,SAAA,EAAS,IAAA,CAAA,iBAAA;AAAA,cAGkD,QAAA"}
|
package/index.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./chunk-sEf7NbmF.mjs";import{a as e,i as t,n,o as r,r as i,t as a}from"./src-DEKB35ZR.mjs";import"./getGitmojiConventional-aDc1od8Y.mjs";export{i as default,a as parserOpts,n as releaseRules,t as typeSpecs,e as types,r as writerOpts};
|