@jeromefitz/conventional-gitmoji 2.1.1 → 3.0.0-contribs.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 +0 -0
- package/README.md +0 -0
- package/changelog/config.cjs +1 -0
- package/changelog/config.d.ts +17 -0
- package/changelog/config.js +1 -0
- package/{getGitmojiConventional.js → changelog/index.cjs} +1 -1
- package/changelog/index.d.ts +55 -0
- package/changelog/index.js +1 -0
- package/changelog/utils/conventionalChangelog.cjs +1 -0
- package/changelog/utils/conventionalChangelog.d.ts +20 -0
- package/changelog/utils/conventionalChangelog.js +1 -0
- package/changelog/utils/conventionalRecommendedBump.cjs +1 -0
- package/changelog/utils/conventionalRecommendedBump.d.ts +16 -0
- package/changelog/utils/conventionalRecommendedBump.js +1 -0
- package/changelog/utils/gitRawCommit.cjs +1 -0
- package/changelog/utils/gitRawCommit.d.ts +8 -0
- package/changelog/utils/gitRawCommit.js +1 -0
- package/changelog/utils/parserOpts.cjs +1 -0
- package/changelog/utils/parserOpts.d.ts +10 -0
- package/changelog/utils/parserOpts.js +1 -0
- package/changelog/utils/transformer.cjs +1 -0
- package/changelog/utils/transformer.d.ts +3 -0
- package/changelog/utils/transformer.js +1 -0
- package/changelog/utils/writerOpts.cjs +1 -0
- package/changelog/utils/writerOpts.d.ts +22 -0
- package/changelog/utils/writerOpts.js +1 -0
- package/config/rewrites.cjs +0 -0
- package/config/rewrites.d.ts +0 -0
- package/config/rewrites.js +0 -0
- package/config/types.cjs +1 -1
- package/config/types.d.ts +13 -14
- package/config/types.js +1 -1
- package/index.cjs +1 -1
- package/index.d.ts +24 -24
- package/index.js +1 -1
- package/package.json +11 -3
- package/types/commit.cjs +1 -0
- package/types/commit.d.ts +5 -0
- package/types/commit.js +1 -0
- package/types/commit.types.cjs +1 -0
- package/types/commit.types.d.ts +3 -0
- package/types/commit.types.js +0 -0
- package/types/index.cjs +1 -0
- package/types/index.d.ts +4 -0
- package/types/index.js +1 -0
- package/types/releaseRule.cjs +1 -0
- package/types/releaseRule.d.ts +6 -0
- package/types/releaseRule.js +1 -0
- package/types/releaseRule.types.cjs +1 -0
- package/types/releaseRule.types.d.ts +19 -0
- package/types/releaseRule.types.js +0 -0
- package/utils/getGitmojiConventional.cjs +1 -0
- package/utils/getGitmojiConventional.d.ts +6 -0
- package/utils/getGitmojiConventional.js +1 -0
- package/utils/getReleaseRules.cjs +1 -0
- package/utils/getReleaseRules.d.ts +12 -0
- package/utils/getReleaseRules.js +1 -0
- package/utils/getTypeSpecs.cjs +1 -0
- package/utils/getTypeSpecs.d.ts +6 -0
- package/utils/getTypeSpecs.js +1 -0
- package/getGitmojiConventional.cjs +0 -1
- package/getGitmojiConventional.d.ts +0 -3
- package/getReleaseRules.cjs +0 -1
- package/getReleaseRules.d.ts +0 -12
- package/getReleaseRules.js +0 -1
- package/getTypeSpecs.cjs +0 -1
- package/getTypeSpecs.d.ts +0 -14
- package/getTypeSpecs.js +0 -1
package/types/index.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var n=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var d=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var p=t=>n(t,"__esModule",{value:!0});var u=(t,e)=>{for(var i in e)n(t,i,{get:e[i],enumerable:!0})},h=(t,e,i,c)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of d(e))!l.call(t,o)&&(i||o!=="default")&&n(t,o,{get:()=>e[o],enumerable:!(c=s(e,o))||c.enumerable});return t};var b=(t=>(e,i)=>t&&t.get(e)||(i=h(p({}),e,1),t&&t.set(e,i),i))(typeof WeakMap!="undefined"?new WeakMap:0);var y={};u(y,{commitTypes:()=>a,releaseRuleTypes:()=>m});var a=["access","analytics","animation","arch","assets","beer","breaking","build","catch","chore","ci","clean","compat","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","patch","perf","poo","prune","pushpin","refactor","release","revert","rip","roles","rollforward","run-build","secrets","security","seed","seo","snapshot","style","test","test-fail","texts","types","typo","ui","upgrade","ux","wip"];var m={access:{branch:null,code:":wheelchair:",commit:"access",description:"Improve accessibility.",emoji:"\u267F\uFE0F",entity:"♿",name:"wheelchair",semver:"patch"},analytics:{branch:null,code:":chart_with_upwards_trend:",commit:"analytics",description:"Add or update analytics or track code.",emoji:"\u{1F4C8}",entity:"📈",name:"chart-with-upwards-trend",semver:"patch"},animation:{branch:null,code:":dizzy:",commit:"animation",description:"Add or update animations and transitions.",emoji:"\u{1F4AB}",entity:"💫",name:"animation",semver:"patch"},arch:{branch:null,code:":building_construction:",commit:"arch",description:"Make architectural changes.",emoji:"\u{1F3D7}\uFE0F",entity:"f3d7;",name:"building-construction",semver:null},assets:{branch:null,code:":bento:",commit:"assets",description:"Add or update assets.",emoji:"\u{1F371}",entity:"F371",name:"bento",semver:"patch"},beer:{branch:null,code:":beers:",commit:"beer",description:"Write code drunkenly.",emoji:"\u{1F37B}",entity:"🍻",name:"beers",semver:null},breaking:{branch:null,code:":boom:",commit:"breaking",description:"Introduce breaking changes.",emoji:"\u{1F4A5}",entity:"💥",name:"boom",semver:"major"},build:{branch:null,code:":hammer:",commit:"build",description:"Add or update development scripts.",emoji:"\u{1F528}",entity:"🔨",name:"hammer",semver:null},catch:{branch:null,code:":goal_net:",commit:"catch",description:"Catch errors.",emoji:"\u{1F945}",entity:"🥅",name:"goal-net",semver:"patch"},chore:{branch:"chore",code:":computer_disk:",commit:"chore",description:"Changes that don\u2019t modify src or test files",emoji:"\u{1F4BD}\uFE0F",entity:"💽",name:"computer-disk",semver:null},ci:{branch:"ci",code:":construction_worker:",commit:"ci",description:"Add or update CI build system.",emoji:"\u{1F477}",entity:"👷",name:"construction-worker",semver:null},clean:{branch:null,code:":wastebasket:",commit:"clean",description:"Deprecate code that needs to be cleaned up.",emoji:"\u{1F5D1}\uFE0F",entity:"🗑",name:"wastebasket",semver:"patch"},compat:{branch:null,code:":alien:",commit:"compat",description:"Update code due to external API changes.",emoji:"\u{1F47D}\uFE0F",entity:"F47D;",name:"alien",semver:"patch"},config:{branch:null,code:":wrench:",commit:"config",description:"Add or update configuration files.",emoji:"\u{1F527}",entity:"🔧",name:"wrench",semver:"patch"},"contrib-add":{branch:null,code:":busts_in_silhouette:",commit:"contrib-add",description:"Add or update contributor(s).",emoji:"\u{1F465}",entity:"👥",name:"busts-in-silhouette",semver:null},data:{branch:null,code:":monocle_face:",commit:"data",description:"Data exploration/inspection.",emoji:"\u{1F9D0}",entity:"🧐",name:"monocle-face",semver:null},db:{branch:null,code:":card_file_box:",commit:"db",description:"Perform database related changes.",emoji:"\u{1F5C3}\uFE0F",entity:"🗃",name:"card-file-box",semver:"patch"},"dep-add":{branch:null,code:":heavy_plus_sign:",commit:"dep-add",description:"Add a dependency.",emoji:"\u2795",entity:"➕",name:"heavy-plus-sign",semver:"patch"},"dep-rm":{branch:null,code:":heavy_minus_sign:",commit:"dep-rm",description:"Remove a dependency.",emoji:"\u2796",entity:"➖",name:"heavy-minus-sign",semver:"patch"},"dep-up":{branch:null,code:":package:",commit:"dep-up",description:"Add or update compiled files or packages.",emoji:"\u{1F4E6}\uFE0F",entity:"F4E6;",name:"package",semver:"patch"},deploy:{branch:null,code:":rocket:",commit:"deploy",description:"Deploy stuff.",emoji:"\u{1F680}",entity:"🚀",name:"rocket",semver:null},docs:{branch:null,code:":memo:",commit:"docs",description:"Add or update documentation.",emoji:"\u{1F4DD}",entity:"📝",name:"memo",semver:null},"docs-code":{branch:null,code:":bulb:",commit:"docs-code",description:"Add or update comments in source code.",emoji:"\u{1F4A1}",entity:"💡",name:"bulb",semver:null},downgrade:{branch:null,code:":arrow_down:",commit:"downgrade",description:"Downgrade dependencies.",emoji:"\u2B07\uFE0F",entity:"\u2B07\uFE0F",name:"arrow-down",semver:"patch"},dx:{branch:null,code:":technologist:",commit:"dx",description:"Improve developer experience",emoji:"\u{1F9D1}\u200D\u{1F4BB}",entity:"🧑‍💻",name:"technologist",semver:null},egg:{branch:null,code:":egg:",commit:"egg",description:"Add or update an easter egg.",emoji:"\u{1F95A}",entity:"🥚",name:"egg",semver:"patch"},experiment:{branch:null,code:":alembic:",commit:"experiment",description:"Perform experiments.",emoji:"\u2697\uFE0F",entity:"📸",name:"alembic",semver:"patch"},feat:{branch:"feature",code:":sparkles:",commit:"feat",description:"Introduce new features.",emoji:"\u2728",entity:"✨",name:"sparkles",semver:"minor"},fix:{branch:"fix",code:":bug:",commit:"fix",description:"Fix a bug.",emoji:"\u{1F41B}",entity:"🐛",name:"bug",semver:"patch"},"fix-ci":{branch:null,code:":green_heart:",commit:"fix-ci",description:"Fix CI Build.",emoji:"\u{1F49A}",entity:"💚",name:"green-heart",semver:null},flags:{branch:null,code:":triangular_flag_on_post:",commit:"flags",description:"Add, update, or remove feature flags.",emoji:"\u{1F6A9}",entity:"🚩",name:"triangular-flag-on-post",semver:"patch"},healthcheck:{branch:null,code:":stethoscope:",commit:"healthcheck",description:"Add or update healthcheck.",emoji:"\u{1FA7A}",entity:"🩺",name:"stethoscope",semver:null},hotfix:{branch:"hotfix",code:":ambulance:",commit:"hotfix",description:"Critical hotfix.",emoji:"\u{1F691}\uFE0F",entity:"🚑",name:"ambulance",semver:"patch"},i18n:{branch:null,code:":globe_with_meridians:",commit:"i18n",description:"Internationalization and localization.",emoji:"\u{1F310}",entity:"🌐",name:"globe-with-meridians",semver:"patch"},ignore:{branch:null,code:":see_no_evil:",commit:"ignore",description:"Add or update a .gitignore file.",emoji:"\u{1F648}",entity:"bdfe7;",name:"see-no-evil",semver:null},inf:{branch:null,code:":bricks:",commit:"inf",description:"Infrastructure related changes.",emoji:"\u{1F9F1}",entity:"🧱",name:"bricks",semver:null},init:{branch:null,code:":tada:",commit:"init",description:"Begin a project.",emoji:"\u{1F389}",entity:"🎉",name:"tada",semver:"patch"},iphone:{branch:null,code:":iphone:",commit:"iphone",description:"Work on responsive design.",emoji:"\u{1F4F1}",entity:"📱",name:"iphone",semver:"patch"},license:{branch:null,code:":page_facing_up:",commit:"license",description:"Add or update license.",emoji:"\u{1F4C4}",entity:"F4C4;",name:"page-facing-up",semver:null},lint:{branch:null,code:":rotating_light:",commit:"lint",description:"Fix compiler / linter warnings.",emoji:"\u{1F6A8}",entity:"🚨",name:"rotating-light",semver:null},"log-add":{branch:null,code:":loud_sound:",commit:"log-add",description:"Add or update logs.",emoji:"\u{1F50A}",entity:"🔊",name:"loud-sound",semver:null},"log-rm":{branch:null,code:":mute:",commit:"log-rm",description:"Remove logs.",emoji:"\u{1F507}",entity:"🔇",name:"mute",semver:null},logic:{branch:null,code:":necktie:",commit:"logic",description:"Add or update business logic",emoji:"\u{1F454}",entity:"👔",name:"necktie",semver:"patch"},merge:{branch:null,code:":twisted_rightwards_arrows:",commit:"merge",description:"Merge branches.",emoji:"\u{1F500}",entity:"🔀",name:"twisted-rightwards-arrows",semver:null},mock:{branch:null,code:":clown_face:",commit:"mock",description:"Mock things.",emoji:"\u{1F921}",entity:"🤡",name:"clown-face",semver:null},mv:{branch:null,code:":truck:",commit:"mv",description:"Move or rename resources (e.g.: files, paths, routes).",emoji:"\u{1F69A}",entity:"F69A;",name:"truck",semver:null},patch:{branch:null,code:":adhesive_bandage:",commit:"patch",description:"Simple fix for a non-critical issue.",emoji:"\u{1FA79}",entity:"🩹",name:"adhesive-bandage",semver:"patch"},perf:{branch:null,code:":zap:",commit:"perf",description:"Improve performance.",emoji:"\u26A1\uFE0F",entity:"⚡",name:"zap",semver:"patch"},poo:{branch:null,code:":poop:",commit:"poo",description:"Write bad code that needs to be improved.",emoji:"\u{1F4A9}",entity:"",name:"poop",semver:null},prune:{branch:null,code:":fire:",commit:"prune",description:"Remove code or files.",emoji:"\u{1F525}",entity:"🔥",name:"fire",semver:null},pushpin:{branch:null,code:":pushpin:",commit:"pushpin",description:"Pin dependencies to specific versions.",emoji:"\u{1F4CC}",entity:"📌",name:"pushpin",semver:"patch"},refactor:{branch:"refactor",code:":recycle:",commit:"refactor",description:"Refactor code.",emoji:"\u267B\uFE0F",entity:"♲",name:"recycle",semver:null},release:{branch:"release",code:":bookmark:",commit:"release",description:"Release / Version tags.",emoji:"\u{1F516}",entity:"🔖",name:"bookmark",semver:null},revert:{branch:null,code:":rewind:",commit:"revert",description:"Revert changes.",emoji:"\u23EA\uFE0F",entity:"⏪",name:"rewind",semver:"patch"},rip:{branch:null,code:":coffin:",commit:"rip",description:"Remove dead code.",emoji:"\u26B0\uFE0F",entity:"⚰",name:"coffin",semver:null},roles:{branch:null,code:":passport_control:",commit:"roles",description:"Work on code related to authorization, roles and permissions.",emoji:"\u{1F6C2}",entity:"🛂",name:"passport-control",semver:"patch"},rollforward:{branch:null,code:":fast_forward:",commit:"rollforward",description:"Create rollforward version.",emoji:"\u23E9\uFE0F",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:"\u{1F680}\uFE0F",entity:"F680;",name:"run-build",semver:"patch"},secrets:{branch:null,code:":closed_lock_with_key:",commit:"secrets",description:"Add or update secrets.",emoji:"\u{1F510}",entity:"🔐",name:"closed-lock-with-key",semver:null},security:{branch:null,code:":lock:",commit:"security",description:"Fix security issues.",emoji:"\u{1F512}\uFE0F",entity:"🔒",name:"lock",semver:"patch"},seed:{branch:null,code:":seedling:",commit:"seed",description:"Add or update seed files.",emoji:"\u{1F331}",entity:"🌱",name:"seedling",semver:null},seo:{branch:null,code:":mag:",commit:"seo",description:"Improve SEO.",emoji:"\u{1F50D}\uFE0F",entity:"🔍",name:"mag",semver:"patch"},snapshot:{branch:null,code:":camera_flash:",commit:"snapshot",description:"Add or update snapshots.",emoji:"\u{1F4F8}",entity:"📸",name:"camera-flash",semver:null},style:{branch:null,code:":art:",commit:"style",description:"Improve structure / format of the code.",emoji:"\u{1F3A8}",entity:"🎨",name:"art",semver:null},test:{branch:"test",code:":white_check_mark:",commit:"test",description:"Add, update, or pass tests.",emoji:"\u2705",entity:"✅",name:"white-check-mark",semver:null},"test-fail":{branch:null,code:":test_tube:",commit:"test-fail",description:"Add a failing test.",emoji:"\u{1F9EA}",entity:"🧪",name:"test-tube",semver:null},texts:{branch:null,code:":speech_balloon:",commit:"texts",description:"Add or update text and literals.",emoji:"\u{1F4AC}",entity:"💬",name:"speech-balloon",semver:"patch"},types:{branch:null,code:":label:",commit:"types",description:"Add or update types.",emoji:"\u{1F3F7}\uFE0F",entity:"🏷",name:"label",semver:"patch"},typo:{branch:null,code:":pencil2:",commit:"typo",description:"Fix typos.",emoji:"\u270F\uFE0F",entity:"",name:"pencil2",semver:"patch"},ui:{branch:null,code:":lipstick:",commit:"ui",description:"Add or update the UI and style files.",emoji:"\u{1F484}",entity:"&#ff99cc;",name:"lipstick",semver:"patch"},upgrade:{branch:null,code:":arrow_up:",commit:"upgrade",description:"Upgrade dependencies.",emoji:"\u2B06\uFE0F",entity:"\u2B06\uFE0F",name:"arrow-up",semver:"patch"},ux:{branch:null,code:":children_crossing:",commit:"ux",description:"Improve user experience / usability.",emoji:"\u{1F6B8}",entity:"🚸",name:"children-crossing",semver:"patch"},wip:{branch:null,code:":construction:",commit:"wip",description:"Work in progress.",emoji:"\u{1F6A7}",entity:"🚧",name:"construction",semver:null}};module.exports=b(y);0&&(module.exports={commitTypes,releaseRuleTypes});
|
package/types/index.d.ts
ADDED
package/types/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var i=["access","analytics","animation","arch","assets","beer","breaking","build","catch","chore","ci","clean","compat","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","patch","perf","poo","prune","pushpin","refactor","release","revert","rip","roles","rollforward","run-build","secrets","security","seed","seo","snapshot","style","test","test-fail","texts","types","typo","ui","upgrade","ux","wip"];var o={access:{branch:null,code:":wheelchair:",commit:"access",description:"Improve accessibility.",emoji:"\u267F\uFE0F",entity:"♿",name:"wheelchair",semver:"patch"},analytics:{branch:null,code:":chart_with_upwards_trend:",commit:"analytics",description:"Add or update analytics or track code.",emoji:"\u{1F4C8}",entity:"📈",name:"chart-with-upwards-trend",semver:"patch"},animation:{branch:null,code:":dizzy:",commit:"animation",description:"Add or update animations and transitions.",emoji:"\u{1F4AB}",entity:"💫",name:"animation",semver:"patch"},arch:{branch:null,code:":building_construction:",commit:"arch",description:"Make architectural changes.",emoji:"\u{1F3D7}\uFE0F",entity:"f3d7;",name:"building-construction",semver:null},assets:{branch:null,code:":bento:",commit:"assets",description:"Add or update assets.",emoji:"\u{1F371}",entity:"F371",name:"bento",semver:"patch"},beer:{branch:null,code:":beers:",commit:"beer",description:"Write code drunkenly.",emoji:"\u{1F37B}",entity:"🍻",name:"beers",semver:null},breaking:{branch:null,code:":boom:",commit:"breaking",description:"Introduce breaking changes.",emoji:"\u{1F4A5}",entity:"💥",name:"boom",semver:"major"},build:{branch:null,code:":hammer:",commit:"build",description:"Add or update development scripts.",emoji:"\u{1F528}",entity:"🔨",name:"hammer",semver:null},catch:{branch:null,code:":goal_net:",commit:"catch",description:"Catch errors.",emoji:"\u{1F945}",entity:"🥅",name:"goal-net",semver:"patch"},chore:{branch:"chore",code:":computer_disk:",commit:"chore",description:"Changes that don\u2019t modify src or test files",emoji:"\u{1F4BD}\uFE0F",entity:"💽",name:"computer-disk",semver:null},ci:{branch:"ci",code:":construction_worker:",commit:"ci",description:"Add or update CI build system.",emoji:"\u{1F477}",entity:"👷",name:"construction-worker",semver:null},clean:{branch:null,code:":wastebasket:",commit:"clean",description:"Deprecate code that needs to be cleaned up.",emoji:"\u{1F5D1}\uFE0F",entity:"🗑",name:"wastebasket",semver:"patch"},compat:{branch:null,code:":alien:",commit:"compat",description:"Update code due to external API changes.",emoji:"\u{1F47D}\uFE0F",entity:"F47D;",name:"alien",semver:"patch"},config:{branch:null,code:":wrench:",commit:"config",description:"Add or update configuration files.",emoji:"\u{1F527}",entity:"🔧",name:"wrench",semver:"patch"},"contrib-add":{branch:null,code:":busts_in_silhouette:",commit:"contrib-add",description:"Add or update contributor(s).",emoji:"\u{1F465}",entity:"👥",name:"busts-in-silhouette",semver:null},data:{branch:null,code:":monocle_face:",commit:"data",description:"Data exploration/inspection.",emoji:"\u{1F9D0}",entity:"🧐",name:"monocle-face",semver:null},db:{branch:null,code:":card_file_box:",commit:"db",description:"Perform database related changes.",emoji:"\u{1F5C3}\uFE0F",entity:"🗃",name:"card-file-box",semver:"patch"},"dep-add":{branch:null,code:":heavy_plus_sign:",commit:"dep-add",description:"Add a dependency.",emoji:"\u2795",entity:"➕",name:"heavy-plus-sign",semver:"patch"},"dep-rm":{branch:null,code:":heavy_minus_sign:",commit:"dep-rm",description:"Remove a dependency.",emoji:"\u2796",entity:"➖",name:"heavy-minus-sign",semver:"patch"},"dep-up":{branch:null,code:":package:",commit:"dep-up",description:"Add or update compiled files or packages.",emoji:"\u{1F4E6}\uFE0F",entity:"F4E6;",name:"package",semver:"patch"},deploy:{branch:null,code:":rocket:",commit:"deploy",description:"Deploy stuff.",emoji:"\u{1F680}",entity:"🚀",name:"rocket",semver:null},docs:{branch:null,code:":memo:",commit:"docs",description:"Add or update documentation.",emoji:"\u{1F4DD}",entity:"📝",name:"memo",semver:null},"docs-code":{branch:null,code:":bulb:",commit:"docs-code",description:"Add or update comments in source code.",emoji:"\u{1F4A1}",entity:"💡",name:"bulb",semver:null},downgrade:{branch:null,code:":arrow_down:",commit:"downgrade",description:"Downgrade dependencies.",emoji:"\u2B07\uFE0F",entity:"\u2B07\uFE0F",name:"arrow-down",semver:"patch"},dx:{branch:null,code:":technologist:",commit:"dx",description:"Improve developer experience",emoji:"\u{1F9D1}\u200D\u{1F4BB}",entity:"🧑‍💻",name:"technologist",semver:null},egg:{branch:null,code:":egg:",commit:"egg",description:"Add or update an easter egg.",emoji:"\u{1F95A}",entity:"🥚",name:"egg",semver:"patch"},experiment:{branch:null,code:":alembic:",commit:"experiment",description:"Perform experiments.",emoji:"\u2697\uFE0F",entity:"📸",name:"alembic",semver:"patch"},feat:{branch:"feature",code:":sparkles:",commit:"feat",description:"Introduce new features.",emoji:"\u2728",entity:"✨",name:"sparkles",semver:"minor"},fix:{branch:"fix",code:":bug:",commit:"fix",description:"Fix a bug.",emoji:"\u{1F41B}",entity:"🐛",name:"bug",semver:"patch"},"fix-ci":{branch:null,code:":green_heart:",commit:"fix-ci",description:"Fix CI Build.",emoji:"\u{1F49A}",entity:"💚",name:"green-heart",semver:null},flags:{branch:null,code:":triangular_flag_on_post:",commit:"flags",description:"Add, update, or remove feature flags.",emoji:"\u{1F6A9}",entity:"🚩",name:"triangular-flag-on-post",semver:"patch"},healthcheck:{branch:null,code:":stethoscope:",commit:"healthcheck",description:"Add or update healthcheck.",emoji:"\u{1FA7A}",entity:"🩺",name:"stethoscope",semver:null},hotfix:{branch:"hotfix",code:":ambulance:",commit:"hotfix",description:"Critical hotfix.",emoji:"\u{1F691}\uFE0F",entity:"🚑",name:"ambulance",semver:"patch"},i18n:{branch:null,code:":globe_with_meridians:",commit:"i18n",description:"Internationalization and localization.",emoji:"\u{1F310}",entity:"🌐",name:"globe-with-meridians",semver:"patch"},ignore:{branch:null,code:":see_no_evil:",commit:"ignore",description:"Add or update a .gitignore file.",emoji:"\u{1F648}",entity:"bdfe7;",name:"see-no-evil",semver:null},inf:{branch:null,code:":bricks:",commit:"inf",description:"Infrastructure related changes.",emoji:"\u{1F9F1}",entity:"🧱",name:"bricks",semver:null},init:{branch:null,code:":tada:",commit:"init",description:"Begin a project.",emoji:"\u{1F389}",entity:"🎉",name:"tada",semver:"patch"},iphone:{branch:null,code:":iphone:",commit:"iphone",description:"Work on responsive design.",emoji:"\u{1F4F1}",entity:"📱",name:"iphone",semver:"patch"},license:{branch:null,code:":page_facing_up:",commit:"license",description:"Add or update license.",emoji:"\u{1F4C4}",entity:"F4C4;",name:"page-facing-up",semver:null},lint:{branch:null,code:":rotating_light:",commit:"lint",description:"Fix compiler / linter warnings.",emoji:"\u{1F6A8}",entity:"🚨",name:"rotating-light",semver:null},"log-add":{branch:null,code:":loud_sound:",commit:"log-add",description:"Add or update logs.",emoji:"\u{1F50A}",entity:"🔊",name:"loud-sound",semver:null},"log-rm":{branch:null,code:":mute:",commit:"log-rm",description:"Remove logs.",emoji:"\u{1F507}",entity:"🔇",name:"mute",semver:null},logic:{branch:null,code:":necktie:",commit:"logic",description:"Add or update business logic",emoji:"\u{1F454}",entity:"👔",name:"necktie",semver:"patch"},merge:{branch:null,code:":twisted_rightwards_arrows:",commit:"merge",description:"Merge branches.",emoji:"\u{1F500}",entity:"🔀",name:"twisted-rightwards-arrows",semver:null},mock:{branch:null,code:":clown_face:",commit:"mock",description:"Mock things.",emoji:"\u{1F921}",entity:"🤡",name:"clown-face",semver:null},mv:{branch:null,code:":truck:",commit:"mv",description:"Move or rename resources (e.g.: files, paths, routes).",emoji:"\u{1F69A}",entity:"F69A;",name:"truck",semver:null},patch:{branch:null,code:":adhesive_bandage:",commit:"patch",description:"Simple fix for a non-critical issue.",emoji:"\u{1FA79}",entity:"🩹",name:"adhesive-bandage",semver:"patch"},perf:{branch:null,code:":zap:",commit:"perf",description:"Improve performance.",emoji:"\u26A1\uFE0F",entity:"⚡",name:"zap",semver:"patch"},poo:{branch:null,code:":poop:",commit:"poo",description:"Write bad code that needs to be improved.",emoji:"\u{1F4A9}",entity:"",name:"poop",semver:null},prune:{branch:null,code:":fire:",commit:"prune",description:"Remove code or files.",emoji:"\u{1F525}",entity:"🔥",name:"fire",semver:null},pushpin:{branch:null,code:":pushpin:",commit:"pushpin",description:"Pin dependencies to specific versions.",emoji:"\u{1F4CC}",entity:"📌",name:"pushpin",semver:"patch"},refactor:{branch:"refactor",code:":recycle:",commit:"refactor",description:"Refactor code.",emoji:"\u267B\uFE0F",entity:"♲",name:"recycle",semver:null},release:{branch:"release",code:":bookmark:",commit:"release",description:"Release / Version tags.",emoji:"\u{1F516}",entity:"🔖",name:"bookmark",semver:null},revert:{branch:null,code:":rewind:",commit:"revert",description:"Revert changes.",emoji:"\u23EA\uFE0F",entity:"⏪",name:"rewind",semver:"patch"},rip:{branch:null,code:":coffin:",commit:"rip",description:"Remove dead code.",emoji:"\u26B0\uFE0F",entity:"⚰",name:"coffin",semver:null},roles:{branch:null,code:":passport_control:",commit:"roles",description:"Work on code related to authorization, roles and permissions.",emoji:"\u{1F6C2}",entity:"🛂",name:"passport-control",semver:"patch"},rollforward:{branch:null,code:":fast_forward:",commit:"rollforward",description:"Create rollforward version.",emoji:"\u23E9\uFE0F",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:"\u{1F680}\uFE0F",entity:"F680;",name:"run-build",semver:"patch"},secrets:{branch:null,code:":closed_lock_with_key:",commit:"secrets",description:"Add or update secrets.",emoji:"\u{1F510}",entity:"🔐",name:"closed-lock-with-key",semver:null},security:{branch:null,code:":lock:",commit:"security",description:"Fix security issues.",emoji:"\u{1F512}\uFE0F",entity:"🔒",name:"lock",semver:"patch"},seed:{branch:null,code:":seedling:",commit:"seed",description:"Add or update seed files.",emoji:"\u{1F331}",entity:"🌱",name:"seedling",semver:null},seo:{branch:null,code:":mag:",commit:"seo",description:"Improve SEO.",emoji:"\u{1F50D}\uFE0F",entity:"🔍",name:"mag",semver:"patch"},snapshot:{branch:null,code:":camera_flash:",commit:"snapshot",description:"Add or update snapshots.",emoji:"\u{1F4F8}",entity:"📸",name:"camera-flash",semver:null},style:{branch:null,code:":art:",commit:"style",description:"Improve structure / format of the code.",emoji:"\u{1F3A8}",entity:"🎨",name:"art",semver:null},test:{branch:"test",code:":white_check_mark:",commit:"test",description:"Add, update, or pass tests.",emoji:"\u2705",entity:"✅",name:"white-check-mark",semver:null},"test-fail":{branch:null,code:":test_tube:",commit:"test-fail",description:"Add a failing test.",emoji:"\u{1F9EA}",entity:"🧪",name:"test-tube",semver:null},texts:{branch:null,code:":speech_balloon:",commit:"texts",description:"Add or update text and literals.",emoji:"\u{1F4AC}",entity:"💬",name:"speech-balloon",semver:"patch"},types:{branch:null,code:":label:",commit:"types",description:"Add or update types.",emoji:"\u{1F3F7}\uFE0F",entity:"🏷",name:"label",semver:"patch"},typo:{branch:null,code:":pencil2:",commit:"typo",description:"Fix typos.",emoji:"\u270F\uFE0F",entity:"",name:"pencil2",semver:"patch"},ui:{branch:null,code:":lipstick:",commit:"ui",description:"Add or update the UI and style files.",emoji:"\u{1F484}",entity:"&#ff99cc;",name:"lipstick",semver:"patch"},upgrade:{branch:null,code:":arrow_up:",commit:"upgrade",description:"Upgrade dependencies.",emoji:"\u2B06\uFE0F",entity:"\u2B06\uFE0F",name:"arrow-up",semver:"patch"},ux:{branch:null,code:":children_crossing:",commit:"ux",description:"Improve user experience / usability.",emoji:"\u{1F6B8}",entity:"🚸",name:"children-crossing",semver:"patch"},wip:{branch:null,code:":construction:",commit:"wip",description:"Work in progress.",emoji:"\u{1F6A7}",entity:"🚧",name:"construction",semver:null}};export{i as commitTypes,o as releaseRuleTypes};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var o=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var m=Object.prototype.hasOwnProperty;var s=i=>o(i,"__esModule",{value:!0});var d=(i,e)=>{for(var t in e)o(i,t,{get:e[t],enumerable:!0})},l=(i,e,t,c)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of a(e))!m.call(i,n)&&(t||n!=="default")&&o(i,n,{get:()=>e[n],enumerable:!(c=r(e,n))||c.enumerable});return i};var p=(i=>(e,t)=>i&&i.get(e)||(t=l(s({}),e,1),i&&i.set(e,t),t))(typeof WeakMap!="undefined"?new WeakMap:0);var h={};d(h,{releaseRule:()=>u});var u={access:{branch:null,code:":wheelchair:",commit:"access",description:"Improve accessibility.",emoji:"\u267F\uFE0F",entity:"♿",name:"wheelchair",semver:"patch"},analytics:{branch:null,code:":chart_with_upwards_trend:",commit:"analytics",description:"Add or update analytics or track code.",emoji:"\u{1F4C8}",entity:"📈",name:"chart-with-upwards-trend",semver:"patch"},animation:{branch:null,code:":dizzy:",commit:"animation",description:"Add or update animations and transitions.",emoji:"\u{1F4AB}",entity:"💫",name:"animation",semver:"patch"},arch:{branch:null,code:":building_construction:",commit:"arch",description:"Make architectural changes.",emoji:"\u{1F3D7}\uFE0F",entity:"f3d7;",name:"building-construction",semver:null},assets:{branch:null,code:":bento:",commit:"assets",description:"Add or update assets.",emoji:"\u{1F371}",entity:"F371",name:"bento",semver:"patch"},beer:{branch:null,code:":beers:",commit:"beer",description:"Write code drunkenly.",emoji:"\u{1F37B}",entity:"🍻",name:"beers",semver:null},breaking:{branch:null,code:":boom:",commit:"breaking",description:"Introduce breaking changes.",emoji:"\u{1F4A5}",entity:"💥",name:"boom",semver:"major"},build:{branch:null,code:":hammer:",commit:"build",description:"Add or update development scripts.",emoji:"\u{1F528}",entity:"🔨",name:"hammer",semver:null},catch:{branch:null,code:":goal_net:",commit:"catch",description:"Catch errors.",emoji:"\u{1F945}",entity:"🥅",name:"goal-net",semver:"patch"},chore:{branch:"chore",code:":computer_disk:",commit:"chore",description:"Changes that don\u2019t modify src or test files",emoji:"\u{1F4BD}\uFE0F",entity:"💽",name:"computer-disk",semver:null},ci:{branch:"ci",code:":construction_worker:",commit:"ci",description:"Add or update CI build system.",emoji:"\u{1F477}",entity:"👷",name:"construction-worker",semver:null},clean:{branch:null,code:":wastebasket:",commit:"clean",description:"Deprecate code that needs to be cleaned up.",emoji:"\u{1F5D1}\uFE0F",entity:"🗑",name:"wastebasket",semver:"patch"},compat:{branch:null,code:":alien:",commit:"compat",description:"Update code due to external API changes.",emoji:"\u{1F47D}\uFE0F",entity:"F47D;",name:"alien",semver:"patch"},config:{branch:null,code:":wrench:",commit:"config",description:"Add or update configuration files.",emoji:"\u{1F527}",entity:"🔧",name:"wrench",semver:"patch"},"contrib-add":{branch:null,code:":busts_in_silhouette:",commit:"contrib-add",description:"Add or update contributor(s).",emoji:"\u{1F465}",entity:"👥",name:"busts-in-silhouette",semver:null},data:{branch:null,code:":monocle_face:",commit:"data",description:"Data exploration/inspection.",emoji:"\u{1F9D0}",entity:"🧐",name:"monocle-face",semver:null},db:{branch:null,code:":card_file_box:",commit:"db",description:"Perform database related changes.",emoji:"\u{1F5C3}\uFE0F",entity:"🗃",name:"card-file-box",semver:"patch"},"dep-add":{branch:null,code:":heavy_plus_sign:",commit:"dep-add",description:"Add a dependency.",emoji:"\u2795",entity:"➕",name:"heavy-plus-sign",semver:"patch"},"dep-rm":{branch:null,code:":heavy_minus_sign:",commit:"dep-rm",description:"Remove a dependency.",emoji:"\u2796",entity:"➖",name:"heavy-minus-sign",semver:"patch"},"dep-up":{branch:null,code:":package:",commit:"dep-up",description:"Add or update compiled files or packages.",emoji:"\u{1F4E6}\uFE0F",entity:"F4E6;",name:"package",semver:"patch"},deploy:{branch:null,code:":rocket:",commit:"deploy",description:"Deploy stuff.",emoji:"\u{1F680}",entity:"🚀",name:"rocket",semver:null},docs:{branch:null,code:":memo:",commit:"docs",description:"Add or update documentation.",emoji:"\u{1F4DD}",entity:"📝",name:"memo",semver:null},"docs-code":{branch:null,code:":bulb:",commit:"docs-code",description:"Add or update comments in source code.",emoji:"\u{1F4A1}",entity:"💡",name:"bulb",semver:null},downgrade:{branch:null,code:":arrow_down:",commit:"downgrade",description:"Downgrade dependencies.",emoji:"\u2B07\uFE0F",entity:"\u2B07\uFE0F",name:"arrow-down",semver:"patch"},dx:{branch:null,code:":technologist:",commit:"dx",description:"Improve developer experience",emoji:"\u{1F9D1}\u200D\u{1F4BB}",entity:"🧑‍💻",name:"technologist",semver:null},egg:{branch:null,code:":egg:",commit:"egg",description:"Add or update an easter egg.",emoji:"\u{1F95A}",entity:"🥚",name:"egg",semver:"patch"},experiment:{branch:null,code:":alembic:",commit:"experiment",description:"Perform experiments.",emoji:"\u2697\uFE0F",entity:"📸",name:"alembic",semver:"patch"},feat:{branch:"feature",code:":sparkles:",commit:"feat",description:"Introduce new features.",emoji:"\u2728",entity:"✨",name:"sparkles",semver:"minor"},fix:{branch:"fix",code:":bug:",commit:"fix",description:"Fix a bug.",emoji:"\u{1F41B}",entity:"🐛",name:"bug",semver:"patch"},"fix-ci":{branch:null,code:":green_heart:",commit:"fix-ci",description:"Fix CI Build.",emoji:"\u{1F49A}",entity:"💚",name:"green-heart",semver:null},flags:{branch:null,code:":triangular_flag_on_post:",commit:"flags",description:"Add, update, or remove feature flags.",emoji:"\u{1F6A9}",entity:"🚩",name:"triangular-flag-on-post",semver:"patch"},healthcheck:{branch:null,code:":stethoscope:",commit:"healthcheck",description:"Add or update healthcheck.",emoji:"\u{1FA7A}",entity:"🩺",name:"stethoscope",semver:null},hotfix:{branch:"hotfix",code:":ambulance:",commit:"hotfix",description:"Critical hotfix.",emoji:"\u{1F691}\uFE0F",entity:"🚑",name:"ambulance",semver:"patch"},i18n:{branch:null,code:":globe_with_meridians:",commit:"i18n",description:"Internationalization and localization.",emoji:"\u{1F310}",entity:"🌐",name:"globe-with-meridians",semver:"patch"},ignore:{branch:null,code:":see_no_evil:",commit:"ignore",description:"Add or update a .gitignore file.",emoji:"\u{1F648}",entity:"bdfe7;",name:"see-no-evil",semver:null},inf:{branch:null,code:":bricks:",commit:"inf",description:"Infrastructure related changes.",emoji:"\u{1F9F1}",entity:"🧱",name:"bricks",semver:null},init:{branch:null,code:":tada:",commit:"init",description:"Begin a project.",emoji:"\u{1F389}",entity:"🎉",name:"tada",semver:"patch"},iphone:{branch:null,code:":iphone:",commit:"iphone",description:"Work on responsive design.",emoji:"\u{1F4F1}",entity:"📱",name:"iphone",semver:"patch"},license:{branch:null,code:":page_facing_up:",commit:"license",description:"Add or update license.",emoji:"\u{1F4C4}",entity:"F4C4;",name:"page-facing-up",semver:null},lint:{branch:null,code:":rotating_light:",commit:"lint",description:"Fix compiler / linter warnings.",emoji:"\u{1F6A8}",entity:"🚨",name:"rotating-light",semver:null},"log-add":{branch:null,code:":loud_sound:",commit:"log-add",description:"Add or update logs.",emoji:"\u{1F50A}",entity:"🔊",name:"loud-sound",semver:null},"log-rm":{branch:null,code:":mute:",commit:"log-rm",description:"Remove logs.",emoji:"\u{1F507}",entity:"🔇",name:"mute",semver:null},logic:{branch:null,code:":necktie:",commit:"logic",description:"Add or update business logic",emoji:"\u{1F454}",entity:"👔",name:"necktie",semver:"patch"},merge:{branch:null,code:":twisted_rightwards_arrows:",commit:"merge",description:"Merge branches.",emoji:"\u{1F500}",entity:"🔀",name:"twisted-rightwards-arrows",semver:null},mock:{branch:null,code:":clown_face:",commit:"mock",description:"Mock things.",emoji:"\u{1F921}",entity:"🤡",name:"clown-face",semver:null},mv:{branch:null,code:":truck:",commit:"mv",description:"Move or rename resources (e.g.: files, paths, routes).",emoji:"\u{1F69A}",entity:"F69A;",name:"truck",semver:null},patch:{branch:null,code:":adhesive_bandage:",commit:"patch",description:"Simple fix for a non-critical issue.",emoji:"\u{1FA79}",entity:"🩹",name:"adhesive-bandage",semver:"patch"},perf:{branch:null,code:":zap:",commit:"perf",description:"Improve performance.",emoji:"\u26A1\uFE0F",entity:"⚡",name:"zap",semver:"patch"},poo:{branch:null,code:":poop:",commit:"poo",description:"Write bad code that needs to be improved.",emoji:"\u{1F4A9}",entity:"",name:"poop",semver:null},prune:{branch:null,code:":fire:",commit:"prune",description:"Remove code or files.",emoji:"\u{1F525}",entity:"🔥",name:"fire",semver:null},pushpin:{branch:null,code:":pushpin:",commit:"pushpin",description:"Pin dependencies to specific versions.",emoji:"\u{1F4CC}",entity:"📌",name:"pushpin",semver:"patch"},refactor:{branch:"refactor",code:":recycle:",commit:"refactor",description:"Refactor code.",emoji:"\u267B\uFE0F",entity:"♲",name:"recycle",semver:null},release:{branch:"release",code:":bookmark:",commit:"release",description:"Release / Version tags.",emoji:"\u{1F516}",entity:"🔖",name:"bookmark",semver:null},revert:{branch:null,code:":rewind:",commit:"revert",description:"Revert changes.",emoji:"\u23EA\uFE0F",entity:"⏪",name:"rewind",semver:"patch"},rip:{branch:null,code:":coffin:",commit:"rip",description:"Remove dead code.",emoji:"\u26B0\uFE0F",entity:"⚰",name:"coffin",semver:null},roles:{branch:null,code:":passport_control:",commit:"roles",description:"Work on code related to authorization, roles and permissions.",emoji:"\u{1F6C2}",entity:"🛂",name:"passport-control",semver:"patch"},rollforward:{branch:null,code:":fast_forward:",commit:"rollforward",description:"Create rollforward version.",emoji:"\u23E9\uFE0F",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:"\u{1F680}\uFE0F",entity:"F680;",name:"run-build",semver:"patch"},secrets:{branch:null,code:":closed_lock_with_key:",commit:"secrets",description:"Add or update secrets.",emoji:"\u{1F510}",entity:"🔐",name:"closed-lock-with-key",semver:null},security:{branch:null,code:":lock:",commit:"security",description:"Fix security issues.",emoji:"\u{1F512}\uFE0F",entity:"🔒",name:"lock",semver:"patch"},seed:{branch:null,code:":seedling:",commit:"seed",description:"Add or update seed files.",emoji:"\u{1F331}",entity:"🌱",name:"seedling",semver:null},seo:{branch:null,code:":mag:",commit:"seo",description:"Improve SEO.",emoji:"\u{1F50D}\uFE0F",entity:"🔍",name:"mag",semver:"patch"},snapshot:{branch:null,code:":camera_flash:",commit:"snapshot",description:"Add or update snapshots.",emoji:"\u{1F4F8}",entity:"📸",name:"camera-flash",semver:null},style:{branch:null,code:":art:",commit:"style",description:"Improve structure / format of the code.",emoji:"\u{1F3A8}",entity:"🎨",name:"art",semver:null},test:{branch:"test",code:":white_check_mark:",commit:"test",description:"Add, update, or pass tests.",emoji:"\u2705",entity:"✅",name:"white-check-mark",semver:null},"test-fail":{branch:null,code:":test_tube:",commit:"test-fail",description:"Add a failing test.",emoji:"\u{1F9EA}",entity:"🧪",name:"test-tube",semver:null},texts:{branch:null,code:":speech_balloon:",commit:"texts",description:"Add or update text and literals.",emoji:"\u{1F4AC}",entity:"💬",name:"speech-balloon",semver:"patch"},types:{branch:null,code:":label:",commit:"types",description:"Add or update types.",emoji:"\u{1F3F7}\uFE0F",entity:"🏷",name:"label",semver:"patch"},typo:{branch:null,code:":pencil2:",commit:"typo",description:"Fix typos.",emoji:"\u270F\uFE0F",entity:"",name:"pencil2",semver:"patch"},ui:{branch:null,code:":lipstick:",commit:"ui",description:"Add or update the UI and style files.",emoji:"\u{1F484}",entity:"&#ff99cc;",name:"lipstick",semver:"patch"},upgrade:{branch:null,code:":arrow_up:",commit:"upgrade",description:"Upgrade dependencies.",emoji:"\u2B06\uFE0F",entity:"\u2B06\uFE0F",name:"arrow-up",semver:"patch"},ux:{branch:null,code:":children_crossing:",commit:"ux",description:"Improve user experience / usability.",emoji:"\u{1F6B8}",entity:"🚸",name:"children-crossing",semver:"patch"},wip:{branch:null,code:":construction:",commit:"wip",description:"Work in progress.",emoji:"\u{1F6A7}",entity:"🚧",name:"construction",semver:null}};module.exports=p(h);0&&(module.exports={releaseRule});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var t={access:{branch:null,code:":wheelchair:",commit:"access",description:"Improve accessibility.",emoji:"\u267F\uFE0F",entity:"♿",name:"wheelchair",semver:"patch"},analytics:{branch:null,code:":chart_with_upwards_trend:",commit:"analytics",description:"Add or update analytics or track code.",emoji:"\u{1F4C8}",entity:"📈",name:"chart-with-upwards-trend",semver:"patch"},animation:{branch:null,code:":dizzy:",commit:"animation",description:"Add or update animations and transitions.",emoji:"\u{1F4AB}",entity:"💫",name:"animation",semver:"patch"},arch:{branch:null,code:":building_construction:",commit:"arch",description:"Make architectural changes.",emoji:"\u{1F3D7}\uFE0F",entity:"f3d7;",name:"building-construction",semver:null},assets:{branch:null,code:":bento:",commit:"assets",description:"Add or update assets.",emoji:"\u{1F371}",entity:"F371",name:"bento",semver:"patch"},beer:{branch:null,code:":beers:",commit:"beer",description:"Write code drunkenly.",emoji:"\u{1F37B}",entity:"🍻",name:"beers",semver:null},breaking:{branch:null,code:":boom:",commit:"breaking",description:"Introduce breaking changes.",emoji:"\u{1F4A5}",entity:"💥",name:"boom",semver:"major"},build:{branch:null,code:":hammer:",commit:"build",description:"Add or update development scripts.",emoji:"\u{1F528}",entity:"🔨",name:"hammer",semver:null},catch:{branch:null,code:":goal_net:",commit:"catch",description:"Catch errors.",emoji:"\u{1F945}",entity:"🥅",name:"goal-net",semver:"patch"},chore:{branch:"chore",code:":computer_disk:",commit:"chore",description:"Changes that don\u2019t modify src or test files",emoji:"\u{1F4BD}\uFE0F",entity:"💽",name:"computer-disk",semver:null},ci:{branch:"ci",code:":construction_worker:",commit:"ci",description:"Add or update CI build system.",emoji:"\u{1F477}",entity:"👷",name:"construction-worker",semver:null},clean:{branch:null,code:":wastebasket:",commit:"clean",description:"Deprecate code that needs to be cleaned up.",emoji:"\u{1F5D1}\uFE0F",entity:"🗑",name:"wastebasket",semver:"patch"},compat:{branch:null,code:":alien:",commit:"compat",description:"Update code due to external API changes.",emoji:"\u{1F47D}\uFE0F",entity:"F47D;",name:"alien",semver:"patch"},config:{branch:null,code:":wrench:",commit:"config",description:"Add or update configuration files.",emoji:"\u{1F527}",entity:"🔧",name:"wrench",semver:"patch"},"contrib-add":{branch:null,code:":busts_in_silhouette:",commit:"contrib-add",description:"Add or update contributor(s).",emoji:"\u{1F465}",entity:"👥",name:"busts-in-silhouette",semver:null},data:{branch:null,code:":monocle_face:",commit:"data",description:"Data exploration/inspection.",emoji:"\u{1F9D0}",entity:"🧐",name:"monocle-face",semver:null},db:{branch:null,code:":card_file_box:",commit:"db",description:"Perform database related changes.",emoji:"\u{1F5C3}\uFE0F",entity:"🗃",name:"card-file-box",semver:"patch"},"dep-add":{branch:null,code:":heavy_plus_sign:",commit:"dep-add",description:"Add a dependency.",emoji:"\u2795",entity:"➕",name:"heavy-plus-sign",semver:"patch"},"dep-rm":{branch:null,code:":heavy_minus_sign:",commit:"dep-rm",description:"Remove a dependency.",emoji:"\u2796",entity:"➖",name:"heavy-minus-sign",semver:"patch"},"dep-up":{branch:null,code:":package:",commit:"dep-up",description:"Add or update compiled files or packages.",emoji:"\u{1F4E6}\uFE0F",entity:"F4E6;",name:"package",semver:"patch"},deploy:{branch:null,code:":rocket:",commit:"deploy",description:"Deploy stuff.",emoji:"\u{1F680}",entity:"🚀",name:"rocket",semver:null},docs:{branch:null,code:":memo:",commit:"docs",description:"Add or update documentation.",emoji:"\u{1F4DD}",entity:"📝",name:"memo",semver:null},"docs-code":{branch:null,code:":bulb:",commit:"docs-code",description:"Add or update comments in source code.",emoji:"\u{1F4A1}",entity:"💡",name:"bulb",semver:null},downgrade:{branch:null,code:":arrow_down:",commit:"downgrade",description:"Downgrade dependencies.",emoji:"\u2B07\uFE0F",entity:"\u2B07\uFE0F",name:"arrow-down",semver:"patch"},dx:{branch:null,code:":technologist:",commit:"dx",description:"Improve developer experience",emoji:"\u{1F9D1}\u200D\u{1F4BB}",entity:"🧑‍💻",name:"technologist",semver:null},egg:{branch:null,code:":egg:",commit:"egg",description:"Add or update an easter egg.",emoji:"\u{1F95A}",entity:"🥚",name:"egg",semver:"patch"},experiment:{branch:null,code:":alembic:",commit:"experiment",description:"Perform experiments.",emoji:"\u2697\uFE0F",entity:"📸",name:"alembic",semver:"patch"},feat:{branch:"feature",code:":sparkles:",commit:"feat",description:"Introduce new features.",emoji:"\u2728",entity:"✨",name:"sparkles",semver:"minor"},fix:{branch:"fix",code:":bug:",commit:"fix",description:"Fix a bug.",emoji:"\u{1F41B}",entity:"🐛",name:"bug",semver:"patch"},"fix-ci":{branch:null,code:":green_heart:",commit:"fix-ci",description:"Fix CI Build.",emoji:"\u{1F49A}",entity:"💚",name:"green-heart",semver:null},flags:{branch:null,code:":triangular_flag_on_post:",commit:"flags",description:"Add, update, or remove feature flags.",emoji:"\u{1F6A9}",entity:"🚩",name:"triangular-flag-on-post",semver:"patch"},healthcheck:{branch:null,code:":stethoscope:",commit:"healthcheck",description:"Add or update healthcheck.",emoji:"\u{1FA7A}",entity:"🩺",name:"stethoscope",semver:null},hotfix:{branch:"hotfix",code:":ambulance:",commit:"hotfix",description:"Critical hotfix.",emoji:"\u{1F691}\uFE0F",entity:"🚑",name:"ambulance",semver:"patch"},i18n:{branch:null,code:":globe_with_meridians:",commit:"i18n",description:"Internationalization and localization.",emoji:"\u{1F310}",entity:"🌐",name:"globe-with-meridians",semver:"patch"},ignore:{branch:null,code:":see_no_evil:",commit:"ignore",description:"Add or update a .gitignore file.",emoji:"\u{1F648}",entity:"bdfe7;",name:"see-no-evil",semver:null},inf:{branch:null,code:":bricks:",commit:"inf",description:"Infrastructure related changes.",emoji:"\u{1F9F1}",entity:"🧱",name:"bricks",semver:null},init:{branch:null,code:":tada:",commit:"init",description:"Begin a project.",emoji:"\u{1F389}",entity:"🎉",name:"tada",semver:"patch"},iphone:{branch:null,code:":iphone:",commit:"iphone",description:"Work on responsive design.",emoji:"\u{1F4F1}",entity:"📱",name:"iphone",semver:"patch"},license:{branch:null,code:":page_facing_up:",commit:"license",description:"Add or update license.",emoji:"\u{1F4C4}",entity:"F4C4;",name:"page-facing-up",semver:null},lint:{branch:null,code:":rotating_light:",commit:"lint",description:"Fix compiler / linter warnings.",emoji:"\u{1F6A8}",entity:"🚨",name:"rotating-light",semver:null},"log-add":{branch:null,code:":loud_sound:",commit:"log-add",description:"Add or update logs.",emoji:"\u{1F50A}",entity:"🔊",name:"loud-sound",semver:null},"log-rm":{branch:null,code:":mute:",commit:"log-rm",description:"Remove logs.",emoji:"\u{1F507}",entity:"🔇",name:"mute",semver:null},logic:{branch:null,code:":necktie:",commit:"logic",description:"Add or update business logic",emoji:"\u{1F454}",entity:"👔",name:"necktie",semver:"patch"},merge:{branch:null,code:":twisted_rightwards_arrows:",commit:"merge",description:"Merge branches.",emoji:"\u{1F500}",entity:"🔀",name:"twisted-rightwards-arrows",semver:null},mock:{branch:null,code:":clown_face:",commit:"mock",description:"Mock things.",emoji:"\u{1F921}",entity:"🤡",name:"clown-face",semver:null},mv:{branch:null,code:":truck:",commit:"mv",description:"Move or rename resources (e.g.: files, paths, routes).",emoji:"\u{1F69A}",entity:"F69A;",name:"truck",semver:null},patch:{branch:null,code:":adhesive_bandage:",commit:"patch",description:"Simple fix for a non-critical issue.",emoji:"\u{1FA79}",entity:"🩹",name:"adhesive-bandage",semver:"patch"},perf:{branch:null,code:":zap:",commit:"perf",description:"Improve performance.",emoji:"\u26A1\uFE0F",entity:"⚡",name:"zap",semver:"patch"},poo:{branch:null,code:":poop:",commit:"poo",description:"Write bad code that needs to be improved.",emoji:"\u{1F4A9}",entity:"",name:"poop",semver:null},prune:{branch:null,code:":fire:",commit:"prune",description:"Remove code or files.",emoji:"\u{1F525}",entity:"🔥",name:"fire",semver:null},pushpin:{branch:null,code:":pushpin:",commit:"pushpin",description:"Pin dependencies to specific versions.",emoji:"\u{1F4CC}",entity:"📌",name:"pushpin",semver:"patch"},refactor:{branch:"refactor",code:":recycle:",commit:"refactor",description:"Refactor code.",emoji:"\u267B\uFE0F",entity:"♲",name:"recycle",semver:null},release:{branch:"release",code:":bookmark:",commit:"release",description:"Release / Version tags.",emoji:"\u{1F516}",entity:"🔖",name:"bookmark",semver:null},revert:{branch:null,code:":rewind:",commit:"revert",description:"Revert changes.",emoji:"\u23EA\uFE0F",entity:"⏪",name:"rewind",semver:"patch"},rip:{branch:null,code:":coffin:",commit:"rip",description:"Remove dead code.",emoji:"\u26B0\uFE0F",entity:"⚰",name:"coffin",semver:null},roles:{branch:null,code:":passport_control:",commit:"roles",description:"Work on code related to authorization, roles and permissions.",emoji:"\u{1F6C2}",entity:"🛂",name:"passport-control",semver:"patch"},rollforward:{branch:null,code:":fast_forward:",commit:"rollforward",description:"Create rollforward version.",emoji:"\u23E9\uFE0F",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:"\u{1F680}\uFE0F",entity:"F680;",name:"run-build",semver:"patch"},secrets:{branch:null,code:":closed_lock_with_key:",commit:"secrets",description:"Add or update secrets.",emoji:"\u{1F510}",entity:"🔐",name:"closed-lock-with-key",semver:null},security:{branch:null,code:":lock:",commit:"security",description:"Fix security issues.",emoji:"\u{1F512}\uFE0F",entity:"🔒",name:"lock",semver:"patch"},seed:{branch:null,code:":seedling:",commit:"seed",description:"Add or update seed files.",emoji:"\u{1F331}",entity:"🌱",name:"seedling",semver:null},seo:{branch:null,code:":mag:",commit:"seo",description:"Improve SEO.",emoji:"\u{1F50D}\uFE0F",entity:"🔍",name:"mag",semver:"patch"},snapshot:{branch:null,code:":camera_flash:",commit:"snapshot",description:"Add or update snapshots.",emoji:"\u{1F4F8}",entity:"📸",name:"camera-flash",semver:null},style:{branch:null,code:":art:",commit:"style",description:"Improve structure / format of the code.",emoji:"\u{1F3A8}",entity:"🎨",name:"art",semver:null},test:{branch:"test",code:":white_check_mark:",commit:"test",description:"Add, update, or pass tests.",emoji:"\u2705",entity:"✅",name:"white-check-mark",semver:null},"test-fail":{branch:null,code:":test_tube:",commit:"test-fail",description:"Add a failing test.",emoji:"\u{1F9EA}",entity:"🧪",name:"test-tube",semver:null},texts:{branch:null,code:":speech_balloon:",commit:"texts",description:"Add or update text and literals.",emoji:"\u{1F4AC}",entity:"💬",name:"speech-balloon",semver:"patch"},types:{branch:null,code:":label:",commit:"types",description:"Add or update types.",emoji:"\u{1F3F7}\uFE0F",entity:"🏷",name:"label",semver:"patch"},typo:{branch:null,code:":pencil2:",commit:"typo",description:"Fix typos.",emoji:"\u270F\uFE0F",entity:"",name:"pencil2",semver:"patch"},ui:{branch:null,code:":lipstick:",commit:"ui",description:"Add or update the UI and style files.",emoji:"\u{1F484}",entity:"&#ff99cc;",name:"lipstick",semver:"patch"},upgrade:{branch:null,code:":arrow_up:",commit:"upgrade",description:"Upgrade dependencies.",emoji:"\u2B06\uFE0F",entity:"\u2B06\uFE0F",name:"arrow-up",semver:"patch"},ux:{branch:null,code:":children_crossing:",commit:"ux",description:"Improve user experience / usability.",emoji:"\u{1F6B8}",entity:"🚸",name:"children-crossing",semver:"patch"},wip:{branch:null,code:":construction:",commit:"wip",description:"Work in progress.",emoji:"\u{1F6A7}",entity:"🚧",name:"construction",semver:null}};export{t as releaseRule};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var o=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var n=Object.prototype.hasOwnProperty;var p=e=>o(e,"__esModule",{value:!0});var a=(e,t,i,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let m of l(t))!n.call(e,m)&&(i||m!=="default")&&o(e,m,{get:()=>t[m],enumerable:!(r=s(t,m))||r.enumerable});return e};var I=(e=>(t,i)=>e&&e.get(t)||(i=a(p({}),t,1),e&&e.set(t,i),i))(typeof WeakMap!="undefined"?new WeakMap:0);var R={};module.exports=I(R);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ICommit } from './commit.types';
|
|
2
|
+
|
|
3
|
+
declare type IReleaseRuleProps = {
|
|
4
|
+
branch: string | null;
|
|
5
|
+
code: string;
|
|
6
|
+
commit: ICommit;
|
|
7
|
+
description: string;
|
|
8
|
+
emoji: string;
|
|
9
|
+
entity: string;
|
|
10
|
+
name: string;
|
|
11
|
+
semver: 'breaking' | 'feature' | 'fix' | 'major' | 'minor' | 'patch' | null;
|
|
12
|
+
type?: ICommit;
|
|
13
|
+
value?: ICommit;
|
|
14
|
+
};
|
|
15
|
+
declare type IReleaseRule = {
|
|
16
|
+
[key in ICommit]?: IReleaseRuleProps;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
export { IReleaseRule, IReleaseRuleProps };
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var a=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var u=Object.prototype.hasOwnProperty;var f=t=>a(t,"__esModule",{value:!0});var h=(t,e)=>{for(var o in e)a(t,o,{get:e[o],enumerable:!0})},v=(t,e,o,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of p(e))!u.call(t,n)&&(o||n!=="default")&&a(t,n,{get:()=>e[n],enumerable:!(r=l(e,n))||r.enumerable});return t};var y=(t=>(e,o)=>t&&t.get(e)||(o=v(f({}),e,1),t&&t.set(e,o),o))(typeof WeakMap!="undefined"?new WeakMap:0);var _={};h(_,{default:()=>j});var b=[{emoji:"\u{1F3A8}",entity:"🎨",code:":art:",description:"Improve structure / format of the code.",name:"art",semver:null},{emoji:"\u26A1\uFE0F",entity:"⚡",code:":zap:",description:"Improve performance.",name:"zap",semver:"patch"},{emoji:"\u{1F525}",entity:"🔥",code:":fire:",description:"Remove code or files.",name:"fire",semver:null},{emoji:"\u{1F41B}",entity:"🐛",code:":bug:",description:"Fix a bug.",name:"bug",semver:"patch"},{emoji:"\u{1F691}\uFE0F",entity:"🚑",code:":ambulance:",description:"Critical hotfix.",name:"ambulance",semver:"patch"},{emoji:"\u2728",entity:"✨",code:":sparkles:",description:"Introduce new features.",name:"sparkles",semver:"minor"},{emoji:"\u{1F4DD}",entity:"📝",code:":memo:",description:"Add or update documentation.",name:"memo",semver:null},{emoji:"\u{1F680}",entity:"🚀",code:":rocket:",description:"Deploy stuff.",name:"rocket",semver:null},{emoji:"\u{1F484}",entity:"&#ff99cc;",code:":lipstick:",description:"Add or update the UI and style files.",name:"lipstick",semver:"patch"},{emoji:"\u{1F389}",entity:"🎉",code:":tada:",description:"Begin a project.",name:"tada",semver:null},{emoji:"\u2705",entity:"✅",code:":white_check_mark:",description:"Add, update, or pass tests.",name:"white-check-mark",semver:null},{emoji:"\u{1F512}\uFE0F",entity:"🔒",code:":lock:",description:"Fix security issues.",name:"lock",semver:"patch"},{emoji:"\u{1F510}",entity:"🔐",code:":closed_lock_with_key:",description:"Add or update secrets.",name:"closed-lock-with-key",semver:null},{emoji:"\u{1F516}",entity:"🔖",code:":bookmark:",description:"Release / Version tags.",name:"bookmark",semver:null},{emoji:"\u{1F6A8}",entity:"🚨",code:":rotating_light:",description:"Fix compiler / linter warnings.",name:"rotating-light",semver:null},{emoji:"\u{1F6A7}",entity:"🚧",code:":construction:",description:"Work in progress.",name:"construction",semver:null},{emoji:"\u{1F49A}",entity:"💚",code:":green_heart:",description:"Fix CI Build.",name:"green-heart",semver:null},{emoji:"\u2B07\uFE0F",entity:"\u2B07\uFE0F",code:":arrow_down:",description:"Downgrade dependencies.",name:"arrow-down",semver:"patch"},{emoji:"\u2B06\uFE0F",entity:"\u2B06\uFE0F",code:":arrow_up:",description:"Upgrade dependencies.",name:"arrow-up",semver:"patch"},{emoji:"\u{1F4CC}",entity:"📌",code:":pushpin:",description:"Pin dependencies to specific versions.",name:"pushpin",semver:"patch"},{emoji:"\u{1F477}",entity:"👷",code:":construction_worker:",description:"Add or update CI build system.",name:"construction-worker",semver:null},{emoji:"\u{1F4C8}",entity:"📈",code:":chart_with_upwards_trend:",description:"Add or update analytics or track code.",name:"chart-with-upwards-trend",semver:"patch"},{emoji:"\u267B\uFE0F",entity:"♲",code:":recycle:",description:"Refactor code.",name:"recycle",semver:null},{emoji:"\u2795",entity:"➕",code:":heavy_plus_sign:",description:"Add a dependency.",name:"heavy-plus-sign",semver:"patch"},{emoji:"\u2796",entity:"➖",code:":heavy_minus_sign:",description:"Remove a dependency.",name:"heavy-minus-sign",semver:"patch"},{emoji:"\u{1F527}",entity:"🔧",code:":wrench:",description:"Add or update configuration files.",name:"wrench",semver:"patch"},{emoji:"\u{1F528}",entity:"🔨",code:":hammer:",description:"Add or update development scripts.",name:"hammer",semver:null},{emoji:"\u{1F310}",entity:"🌐",code:":globe_with_meridians:",description:"Internationalization and localization.",name:"globe-with-meridians",semver:"patch"},{emoji:"\u270F\uFE0F",entity:"",code:":pencil2:",description:"Fix typos.",name:"pencil2",semver:"patch"},{emoji:"\u{1F4A9}",entity:"",code:":poop:",description:"Write bad code that needs to be improved.",name:"poop",semver:null},{emoji:"\u23EA\uFE0F",entity:"⏪",code:":rewind:",description:"Revert changes.",name:"rewind",semver:"patch"},{emoji:"\u{1F500}",entity:"🔀",code:":twisted_rightwards_arrows:",description:"Merge branches.",name:"twisted-rightwards-arrows",semver:null},{emoji:"\u{1F4E6}\uFE0F",entity:"F4E6;",code:":package:",description:"Add or update compiled files or packages.",name:"package",semver:"patch"},{emoji:"\u{1F47D}\uFE0F",entity:"F47D;",code:":alien:",description:"Update code due to external API changes.",name:"alien",semver:"patch"},{emoji:"\u{1F69A}",entity:"F69A;",code:":truck:",description:"Move or rename resources (e.g.: files, paths, routes).",name:"truck",semver:null},{emoji:"\u{1F4C4}",entity:"F4C4;",code:":page_facing_up:",description:"Add or update license.",name:"page-facing-up",semver:null},{emoji:"\u{1F4A5}",entity:"💥",code:":boom:",description:"Introduce breaking changes.",name:"boom",semver:"major"},{emoji:"\u{1F371}",entity:"F371",code:":bento:",description:"Add or update assets.",name:"bento",semver:"patch"},{emoji:"\u267F\uFE0F",entity:"♿",code:":wheelchair:",description:"Improve accessibility.",name:"wheelchair",semver:"patch"},{emoji:"\u{1F4A1}",entity:"💡",code:":bulb:",description:"Add or update comments in source code.",name:"bulb",semver:null},{emoji:"\u{1F37B}",entity:"🍻",code:":beers:",description:"Write code drunkenly.",name:"beers",semver:null},{emoji:"\u{1F4AC}",entity:"💬",code:":speech_balloon:",description:"Add or update text and literals.",name:"speech-balloon",semver:"patch"},{emoji:"\u{1F5C3}\uFE0F",entity:"🗃",code:":card_file_box:",description:"Perform database related changes.",name:"card-file-box",semver:"patch"},{emoji:"\u{1F50A}",entity:"🔊",code:":loud_sound:",description:"Add or update logs.",name:"loud-sound",semver:null},{emoji:"\u{1F507}",entity:"🔇",code:":mute:",description:"Remove logs.",name:"mute",semver:null},{emoji:"\u{1F465}",entity:"👥",code:":busts_in_silhouette:",description:"Add or update contributor(s).",name:"busts-in-silhouette",semver:null},{emoji:"\u{1F6B8}",entity:"🚸",code:":children_crossing:",description:"Improve user experience / usability.",name:"children-crossing",semver:"patch"},{emoji:"\u{1F3D7}\uFE0F",entity:"f3d7;",code:":building_construction:",description:"Make architectural changes.",name:"building-construction",semver:null},{emoji:"\u{1F4F1}",entity:"📱",code:":iphone:",description:"Work on responsive design.",name:"iphone",semver:"patch"},{emoji:"\u{1F921}",entity:"🤡",code:":clown_face:",description:"Mock things.",name:"clown-face",semver:null},{emoji:"\u{1F95A}",entity:"🥚",code:":egg:",description:"Add or update an easter egg.",name:"egg",semver:"patch"},{emoji:"\u{1F648}",entity:"bdfe7;",code:":see_no_evil:",description:"Add or update a .gitignore file.",name:"see-no-evil",semver:null},{emoji:"\u{1F4F8}",entity:"📸",code:":camera_flash:",description:"Add or update snapshots.",name:"camera-flash",semver:null},{emoji:"\u2697\uFE0F",entity:"📸",code:":alembic:",description:"Perform experiments.",name:"alembic",semver:"patch"},{emoji:"\u{1F50D}\uFE0F",entity:"🔍",code:":mag:",description:"Improve SEO.",name:"mag",semver:"patch"},{emoji:"\u{1F3F7}\uFE0F",entity:"🏷",code:":label:",description:"Add or update types.",name:"label",semver:"patch"},{emoji:"\u{1F331}",entity:"🌱",code:":seedling:",description:"Add or update seed files.",name:"seedling",semver:null},{emoji:"\u{1F6A9}",entity:"🚩",code:":triangular_flag_on_post:",description:"Add, update, or remove feature flags.",name:"triangular-flag-on-post",semver:"patch"},{emoji:"\u{1F945}",entity:"🥅",code:":goal_net:",description:"Catch errors.",name:"goal-net",semver:"patch"},{emoji:"\u{1F4AB}",entity:"💫",code:":dizzy:",description:"Add or update animations and transitions.",name:"animation",semver:"patch"},{emoji:"\u{1F5D1}\uFE0F",entity:"🗑",code:":wastebasket:",description:"Deprecate code that needs to be cleaned up.",name:"wastebasket",semver:"patch"},{emoji:"\u{1F6C2}",entity:"🛂",code:":passport_control:",description:"Work on code related to authorization, roles and permissions.",name:"passport-control",semver:"patch"},{emoji:"\u{1FA79}",entity:"🩹",code:":adhesive_bandage:",description:"Simple fix for a non-critical issue.",name:"adhesive-bandage",semver:"patch"},{emoji:"\u{1F9D0}",entity:"🧐",code:":monocle_face:",description:"Data exploration/inspection.",name:"monocle-face",semver:null},{emoji:"\u26B0\uFE0F",entity:"⚰",code:":coffin:",description:"Remove dead code.",name:"coffin",semver:null},{emoji:"\u{1F9EA}",entity:"🧪",code:":test_tube:",description:"Add a failing test.",name:"test-tube",semver:null},{emoji:"\u{1F454}",entity:"👔",code:":necktie:",description:"Add or update business logic",name:"necktie",semver:"patch"},{emoji:"\u{1FA7A}",entity:"🩺",code:":stethoscope:",description:"Add or update healthcheck.",name:"stethoscope",semver:null},{emoji:"\u{1F9F1}",entity:"🧱",code:":bricks:",description:"Infrastructure related changes.",name:"bricks",semver:null},{emoji:"\u{1F9D1}\u200D\u{1F4BB}",entity:"🧑‍💻",code:":technologist:",description:"Improve developer experience",name:"technologist",semver:null}],s={gitmojis:b};var g=[{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:"animation",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"}],d=g;var k={chore:{branch:"chore",code:":computer_disk:",commit:"chore",description:"Changes that don\u2019t modify src or test files",emoji:"\u{1F4BD}\uFE0F",entity:"💽",name:"computer-disk",semver:null},rollforward:{branch:null,code:":fast_forward:",commit:"rollforward",description:"Create rollforward version.",emoji:"\u23E9\uFE0F",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:"\u{1F680}\uFE0F",entity:"F680;",name:"run-build",semver:"patch"}},i=k;var{gitmojis:w}=s,x=()=>(w.map(e=>{let o=d.find(r=>(r==null?void 0:r.from)===e.name);if(o){let r=o.semver===void 0?(e==null?void 0:e.semver)||null:o.semver||(e==null?void 0:e.semver)||null;i[o.to]={branch:Boolean(o==null?void 0:o.branch)?o.branch:null,code:e==null?void 0:e.code,commit:o.to,description:e==null?void 0:e.description,emoji:e==null?void 0:e.emoji,entity:e==null?void 0:e.entity,name:e==null?void 0:e.name,semver:r?r.replace("fix","patch").replace("feature","minor").replace("breaking","major"):null}}else console.dir(`@todo(conventional-gitmoji) create rewrite for: ${e.name}`)}),Object.keys(i).sort().reduce((e,o)=>(e[o]=i[o],e),{})),j=x;module.exports=y(_);0&&(module.exports={});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var m=[{emoji:"\u{1F3A8}",entity:"🎨",code:":art:",description:"Improve structure / format of the code.",name:"art",semver:null},{emoji:"\u26A1\uFE0F",entity:"⚡",code:":zap:",description:"Improve performance.",name:"zap",semver:"patch"},{emoji:"\u{1F525}",entity:"🔥",code:":fire:",description:"Remove code or files.",name:"fire",semver:null},{emoji:"\u{1F41B}",entity:"🐛",code:":bug:",description:"Fix a bug.",name:"bug",semver:"patch"},{emoji:"\u{1F691}\uFE0F",entity:"🚑",code:":ambulance:",description:"Critical hotfix.",name:"ambulance",semver:"patch"},{emoji:"\u2728",entity:"✨",code:":sparkles:",description:"Introduce new features.",name:"sparkles",semver:"minor"},{emoji:"\u{1F4DD}",entity:"📝",code:":memo:",description:"Add or update documentation.",name:"memo",semver:null},{emoji:"\u{1F680}",entity:"🚀",code:":rocket:",description:"Deploy stuff.",name:"rocket",semver:null},{emoji:"\u{1F484}",entity:"&#ff99cc;",code:":lipstick:",description:"Add or update the UI and style files.",name:"lipstick",semver:"patch"},{emoji:"\u{1F389}",entity:"🎉",code:":tada:",description:"Begin a project.",name:"tada",semver:null},{emoji:"\u2705",entity:"✅",code:":white_check_mark:",description:"Add, update, or pass tests.",name:"white-check-mark",semver:null},{emoji:"\u{1F512}\uFE0F",entity:"🔒",code:":lock:",description:"Fix security issues.",name:"lock",semver:"patch"},{emoji:"\u{1F510}",entity:"🔐",code:":closed_lock_with_key:",description:"Add or update secrets.",name:"closed-lock-with-key",semver:null},{emoji:"\u{1F516}",entity:"🔖",code:":bookmark:",description:"Release / Version tags.",name:"bookmark",semver:null},{emoji:"\u{1F6A8}",entity:"🚨",code:":rotating_light:",description:"Fix compiler / linter warnings.",name:"rotating-light",semver:null},{emoji:"\u{1F6A7}",entity:"🚧",code:":construction:",description:"Work in progress.",name:"construction",semver:null},{emoji:"\u{1F49A}",entity:"💚",code:":green_heart:",description:"Fix CI Build.",name:"green-heart",semver:null},{emoji:"\u2B07\uFE0F",entity:"\u2B07\uFE0F",code:":arrow_down:",description:"Downgrade dependencies.",name:"arrow-down",semver:"patch"},{emoji:"\u2B06\uFE0F",entity:"\u2B06\uFE0F",code:":arrow_up:",description:"Upgrade dependencies.",name:"arrow-up",semver:"patch"},{emoji:"\u{1F4CC}",entity:"📌",code:":pushpin:",description:"Pin dependencies to specific versions.",name:"pushpin",semver:"patch"},{emoji:"\u{1F477}",entity:"👷",code:":construction_worker:",description:"Add or update CI build system.",name:"construction-worker",semver:null},{emoji:"\u{1F4C8}",entity:"📈",code:":chart_with_upwards_trend:",description:"Add or update analytics or track code.",name:"chart-with-upwards-trend",semver:"patch"},{emoji:"\u267B\uFE0F",entity:"♲",code:":recycle:",description:"Refactor code.",name:"recycle",semver:null},{emoji:"\u2795",entity:"➕",code:":heavy_plus_sign:",description:"Add a dependency.",name:"heavy-plus-sign",semver:"patch"},{emoji:"\u2796",entity:"➖",code:":heavy_minus_sign:",description:"Remove a dependency.",name:"heavy-minus-sign",semver:"patch"},{emoji:"\u{1F527}",entity:"🔧",code:":wrench:",description:"Add or update configuration files.",name:"wrench",semver:"patch"},{emoji:"\u{1F528}",entity:"🔨",code:":hammer:",description:"Add or update development scripts.",name:"hammer",semver:null},{emoji:"\u{1F310}",entity:"🌐",code:":globe_with_meridians:",description:"Internationalization and localization.",name:"globe-with-meridians",semver:"patch"},{emoji:"\u270F\uFE0F",entity:"",code:":pencil2:",description:"Fix typos.",name:"pencil2",semver:"patch"},{emoji:"\u{1F4A9}",entity:"",code:":poop:",description:"Write bad code that needs to be improved.",name:"poop",semver:null},{emoji:"\u23EA\uFE0F",entity:"⏪",code:":rewind:",description:"Revert changes.",name:"rewind",semver:"patch"},{emoji:"\u{1F500}",entity:"🔀",code:":twisted_rightwards_arrows:",description:"Merge branches.",name:"twisted-rightwards-arrows",semver:null},{emoji:"\u{1F4E6}\uFE0F",entity:"F4E6;",code:":package:",description:"Add or update compiled files or packages.",name:"package",semver:"patch"},{emoji:"\u{1F47D}\uFE0F",entity:"F47D;",code:":alien:",description:"Update code due to external API changes.",name:"alien",semver:"patch"},{emoji:"\u{1F69A}",entity:"F69A;",code:":truck:",description:"Move or rename resources (e.g.: files, paths, routes).",name:"truck",semver:null},{emoji:"\u{1F4C4}",entity:"F4C4;",code:":page_facing_up:",description:"Add or update license.",name:"page-facing-up",semver:null},{emoji:"\u{1F4A5}",entity:"💥",code:":boom:",description:"Introduce breaking changes.",name:"boom",semver:"major"},{emoji:"\u{1F371}",entity:"F371",code:":bento:",description:"Add or update assets.",name:"bento",semver:"patch"},{emoji:"\u267F\uFE0F",entity:"♿",code:":wheelchair:",description:"Improve accessibility.",name:"wheelchair",semver:"patch"},{emoji:"\u{1F4A1}",entity:"💡",code:":bulb:",description:"Add or update comments in source code.",name:"bulb",semver:null},{emoji:"\u{1F37B}",entity:"🍻",code:":beers:",description:"Write code drunkenly.",name:"beers",semver:null},{emoji:"\u{1F4AC}",entity:"💬",code:":speech_balloon:",description:"Add or update text and literals.",name:"speech-balloon",semver:"patch"},{emoji:"\u{1F5C3}\uFE0F",entity:"🗃",code:":card_file_box:",description:"Perform database related changes.",name:"card-file-box",semver:"patch"},{emoji:"\u{1F50A}",entity:"🔊",code:":loud_sound:",description:"Add or update logs.",name:"loud-sound",semver:null},{emoji:"\u{1F507}",entity:"🔇",code:":mute:",description:"Remove logs.",name:"mute",semver:null},{emoji:"\u{1F465}",entity:"👥",code:":busts_in_silhouette:",description:"Add or update contributor(s).",name:"busts-in-silhouette",semver:null},{emoji:"\u{1F6B8}",entity:"🚸",code:":children_crossing:",description:"Improve user experience / usability.",name:"children-crossing",semver:"patch"},{emoji:"\u{1F3D7}\uFE0F",entity:"f3d7;",code:":building_construction:",description:"Make architectural changes.",name:"building-construction",semver:null},{emoji:"\u{1F4F1}",entity:"📱",code:":iphone:",description:"Work on responsive design.",name:"iphone",semver:"patch"},{emoji:"\u{1F921}",entity:"🤡",code:":clown_face:",description:"Mock things.",name:"clown-face",semver:null},{emoji:"\u{1F95A}",entity:"🥚",code:":egg:",description:"Add or update an easter egg.",name:"egg",semver:"patch"},{emoji:"\u{1F648}",entity:"bdfe7;",code:":see_no_evil:",description:"Add or update a .gitignore file.",name:"see-no-evil",semver:null},{emoji:"\u{1F4F8}",entity:"📸",code:":camera_flash:",description:"Add or update snapshots.",name:"camera-flash",semver:null},{emoji:"\u2697\uFE0F",entity:"📸",code:":alembic:",description:"Perform experiments.",name:"alembic",semver:"patch"},{emoji:"\u{1F50D}\uFE0F",entity:"🔍",code:":mag:",description:"Improve SEO.",name:"mag",semver:"patch"},{emoji:"\u{1F3F7}\uFE0F",entity:"🏷",code:":label:",description:"Add or update types.",name:"label",semver:"patch"},{emoji:"\u{1F331}",entity:"🌱",code:":seedling:",description:"Add or update seed files.",name:"seedling",semver:null},{emoji:"\u{1F6A9}",entity:"🚩",code:":triangular_flag_on_post:",description:"Add, update, or remove feature flags.",name:"triangular-flag-on-post",semver:"patch"},{emoji:"\u{1F945}",entity:"🥅",code:":goal_net:",description:"Catch errors.",name:"goal-net",semver:"patch"},{emoji:"\u{1F4AB}",entity:"💫",code:":dizzy:",description:"Add or update animations and transitions.",name:"animation",semver:"patch"},{emoji:"\u{1F5D1}\uFE0F",entity:"🗑",code:":wastebasket:",description:"Deprecate code that needs to be cleaned up.",name:"wastebasket",semver:"patch"},{emoji:"\u{1F6C2}",entity:"🛂",code:":passport_control:",description:"Work on code related to authorization, roles and permissions.",name:"passport-control",semver:"patch"},{emoji:"\u{1FA79}",entity:"🩹",code:":adhesive_bandage:",description:"Simple fix for a non-critical issue.",name:"adhesive-bandage",semver:"patch"},{emoji:"\u{1F9D0}",entity:"🧐",code:":monocle_face:",description:"Data exploration/inspection.",name:"monocle-face",semver:null},{emoji:"\u26B0\uFE0F",entity:"⚰",code:":coffin:",description:"Remove dead code.",name:"coffin",semver:null},{emoji:"\u{1F9EA}",entity:"🧪",code:":test_tube:",description:"Add a failing test.",name:"test-tube",semver:null},{emoji:"\u{1F454}",entity:"👔",code:":necktie:",description:"Add or update business logic",name:"necktie",semver:"patch"},{emoji:"\u{1FA7A}",entity:"🩺",code:":stethoscope:",description:"Add or update healthcheck.",name:"stethoscope",semver:null},{emoji:"\u{1F9F1}",entity:"🧱",code:":bricks:",description:"Infrastructure related changes.",name:"bricks",semver:null},{emoji:"\u{1F9D1}\u200D\u{1F4BB}",entity:"🧑‍💻",code:":technologist:",description:"Improve developer experience",name:"technologist",semver:null}],i={gitmojis:m};var d=[{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:"animation",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"}],s=d;var l={chore:{branch:"chore",code:":computer_disk:",commit:"chore",description:"Changes that don\u2019t modify src or test files",emoji:"\u{1F4BD}\uFE0F",entity:"💽",name:"computer-disk",semver:null},rollforward:{branch:null,code:":fast_forward:",commit:"rollforward",description:"Create rollforward version.",emoji:"\u23E9\uFE0F",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:"\u{1F680}\uFE0F",entity:"F680;",name:"run-build",semver:"patch"}},r=l;var{gitmojis:p}=i,u=()=>(p.map(e=>{let o=s.find(t=>(t==null?void 0:t.from)===e.name);if(o){let t=o.semver===void 0?(e==null?void 0:e.semver)||null:o.semver||(e==null?void 0:e.semver)||null;r[o.to]={branch:Boolean(o==null?void 0:o.branch)?o.branch:null,code:e==null?void 0:e.code,commit:o.to,description:e==null?void 0:e.description,emoji:e==null?void 0:e.emoji,entity:e==null?void 0:e.entity,name:e==null?void 0: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(r).sort().reduce((e,o)=>(e[o]=r[o],e),{})),w=u;export{w as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var p=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var m=Object.prototype.hasOwnProperty;var n=s=>p(s,"__esModule",{value:!0});var R=(s,l)=>{for(var e in l)p(s,e,{get:l[e],enumerable:!0})},i=(s,l,e,u)=>{if(l&&typeof l=="object"||typeof l=="function")for(let t of a(l))!m.call(s,t)&&(e||t!=="default")&&p(s,t,{get:()=>l[t],enumerable:!(u=o(l,t))||u.enumerable});return s};var c=(s=>(l,e)=>s&&s.get(l)||(e=i(n({}),l,1),s&&s.set(l,e),e))(typeof WeakMap!="undefined"?new WeakMap:0);var v={};R(v,{default:()=>y});var r=[],g=s=>(Object.keys(s).map(l=>{let e=s[l];!!e&&!!e.semver&&(r.push({release:e.semver,type:e==null?void 0:e.code.replace(/(:[^:]*):/g,"$1")}),r.push({release:e.semver,type:e==null?void 0:e.code}),r.push({release:e.semver,type:e.commit}),r.push({release:e.semver,type:e.emoji}))}),r),y=g;module.exports=c(v);0&&(module.exports={});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IReleaseRule } from '../types/releaseRule.types';
|
|
2
|
+
import '../types/commit.types';
|
|
3
|
+
|
|
4
|
+
declare type CustomReleaseRulesProps = {
|
|
5
|
+
message?: string | null;
|
|
6
|
+
release?: string | null;
|
|
7
|
+
tag?: string | null;
|
|
8
|
+
type?: string | null;
|
|
9
|
+
};
|
|
10
|
+
declare const getReleaseRules: (types: IReleaseRule) => CustomReleaseRulesProps[];
|
|
11
|
+
|
|
12
|
+
export { getReleaseRules as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var s=[],r=l=>(Object.keys(l).map(t=>{let e=l[t];!!e&&!!e.semver&&(s.push({release:e.semver,type:e==null?void 0:e.code.replace(/(:[^:]*):/g,"$1")}),s.push({release:e.semver,type:e==null?void 0:e.code}),s.push({release:e.semver,type:e.commit}),s.push({release:e.semver,type:e.emoji}))}),s),o=r;export{o as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var U=Object.create;var a=Object.defineProperty;var E=Object.getOwnPropertyDescriptor;var M=Object.getOwnPropertyNames;var O=Object.getPrototypeOf,H=Object.prototype.hasOwnProperty;var S=e=>a(e,"__esModule",{value:!0});var $=(e,o)=>()=>(e&&(o=e(e=0)),o);var u=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports),D=(e,o)=>{for(var n in o)a(e,n,{get:o[n],enumerable:!0})},b=(e,o,n,c)=>{if(o&&typeof o=="object"||typeof o=="function")for(let r of M(o))!H.call(e,r)&&(n||r!=="default")&&a(e,r,{get:()=>o[r],enumerable:!(c=E(o,r))||c.enumerable});return e},J=(e,o)=>b(S(a(e!=null?U(O(e)):{},"default",!o&&e&&e.__esModule?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e),N=(e=>(o,n)=>e&&e.get(o)||(n=b(S({}),o,1),e&&e.set(o,n),n))(typeof WeakMap!="undefined"?new WeakMap:0);var t=$(()=>{});var w=u((Y,h)=>{t();var W=["for","and","nor","but","or","yet","so"],X=["a","an","the"],q=["aboard","about","above","across","after","against","along","amid","among","anti","around","as","at","before","behind","below","beneath","beside","besides","between","beyond","but","by","concerning","considering","despite","down","during","except","excepting","excluding","following","for","from","in","inside","into","like","minus","near","of","off","on","onto","opposite","over","past","per","plus","regarding","round","save","since","than","through","to","toward","towards","under","underneath","unlike","until","up","upon","versus","via","with","within","without"];h.exports=new Set([...W,...X,...q])});var x=u((ee,R)=>{t();var G=["ZEIT","ZEIT Inc.","Vercel","Vercel Inc.","CLI","API","HTTP","HTTPS","JSX","DNS","URL","now.sh","now.json","vercel.app","vercel.json","CI","CD","CDN","package.json","package.lock","yarn.lock","GitHub","GitLab","CSS","Sass","JS","JavaScript","TypeScript","HTML","WordPress","JavaScript","Next.js","Node.js","Webpack","Docker","Bash","Kubernetes","SWR","TinaCMS","UI","UX","TS","TSX","iPhone","iPad","watchOS","iOS","iPadOS","macOS","PHP","composer.json","composer.lock","CMS"];R.exports=G});var v=u((oe,I)=>{t();var V=w(),Z=x(),i=`[^\\s'\u2019\\(\\)!?;:"-]`,_=new RegExp(`(?:(?:(\\s?(?:^|[.\\(\\)!?;:"-])\\s*)(${i}))|(${i}))(${i}*[\u2019']*${i}*)`,"g"),y=e=>e.map(o=>[new RegExp(`\\b${o}\\b`,"gi"),o]);function A(e){let o=e[0];return/\s/.test(o)?e.substr(1):/[\(\)]/.test(o)?null:e}I.exports=(e,o={})=>{e=e.toLowerCase().replace(_,(s,p="",d,m,f,C,P)=>{let k=s.length+C>=P.length,g=A(s);if(!g)return s;if(!d){let L=m+f;if(V.has(L)&&!k)return g}return p+(m||d).toUpperCase()+f});let n=o.special||[],c=[...Z,...n];return y(c).forEach(([s,p])=>{e=e.replace(s,p)}),e}});var z={};D(z,{default:()=>K});t();var j=J(v(),1),T=[],B=e=>(Object.keys(e).map(o=>{T.push({code:e[o].code,description:(0,j.default)(e[o].description.replace(".","")),emoji:e[o].emoji,semver:e[o].semver,type:e[o].commit,value:e[o].commit})}),T),K=B;module.exports=N(z);0&&(module.exports={});
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { IReleaseRule, IReleaseRuleProps } from '../types/releaseRule.types';
|
|
2
|
+
import '../types/commit.types';
|
|
3
|
+
|
|
4
|
+
declare const getTypeSpecs: (types: IReleaseRule) => Omit<IReleaseRuleProps, "branch" | "commit" | "entity" | "name">[];
|
|
5
|
+
|
|
6
|
+
export { getTypeSpecs as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var E=Object.create;var p=Object.defineProperty;var L=Object.getOwnPropertyDescriptor;var O=Object.getOwnPropertyNames;var D=Object.getPrototypeOf,H=Object.prototype.hasOwnProperty;var M=e=>p(e,"__esModule",{value:!0});var U=(e,o)=>()=>(e&&(o=e(e=0)),o);var l=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var $=(e,o,i,s)=>{if(o&&typeof o=="object"||typeof o=="function")for(let t of O(o))!H.call(e,t)&&(i||t!=="default")&&p(e,t,{get:()=>o[t],enumerable:!(s=L(o,t))||s.enumerable});return e},J=(e,o)=>$(M(p(e!=null?E(D(e)):{},"default",!o&&e&&e.__esModule?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var n=U(()=>{});var S=l((y,h)=>{n();var N=["for","and","nor","but","or","yet","so"],W=["a","an","the"],_=["aboard","about","above","across","after","against","along","amid","among","anti","around","as","at","before","behind","below","beneath","beside","besides","between","beyond","but","by","concerning","considering","despite","down","during","except","excepting","excluding","following","for","from","in","inside","into","like","minus","near","of","off","on","onto","opposite","over","past","per","plus","regarding","round","save","since","than","through","to","toward","towards","under","underneath","unlike","until","up","upon","versus","via","with","within","without"];h.exports=new Set([...N,...W,..._])});var x=l((z,w)=>{n();var X=["ZEIT","ZEIT Inc.","Vercel","Vercel Inc.","CLI","API","HTTP","HTTPS","JSX","DNS","URL","now.sh","now.json","vercel.app","vercel.json","CI","CD","CDN","package.json","package.lock","yarn.lock","GitHub","GitLab","CSS","Sass","JS","JavaScript","TypeScript","HTML","WordPress","JavaScript","Next.js","Node.js","Webpack","Docker","Bash","Kubernetes","SWR","TinaCMS","UI","UX","TS","TSX","iPhone","iPad","watchOS","iOS","iPadOS","macOS","PHP","composer.json","composer.lock","CMS"];w.exports=X});var T=l((Q,R)=>{n();var q=S(),G=x(),a=`[^\\s'\u2019\\(\\)!?;:"-]`,V=new RegExp(`(?:(?:(\\s?(?:^|[.\\(\\)!?;:"-])\\s*)(${a}))|(${a}))(${a}*[\u2019']*${a}*)`,"g"),Z=e=>e.map(o=>[new RegExp(`\\b${o}\\b`,"gi"),o]);function A(e){let o=e[0];return/\s/.test(o)?e.substr(1):/[\(\)]/.test(o)?null:e}R.exports=(e,o={})=>{e=e.toLowerCase().replace(V,(r,c="",m,g,f,P,C)=>{let j=r.length+P>=C.length,b=A(r);if(!b)return r;if(!m){let k=g+f;if(q.has(k)&&!j)return b}return c+(g||m).toUpperCase()+f});let i=o.special||[],s=[...G,...i];return Z(s).forEach(([r,c])=>{e=e.replace(r,c)}),e}});n();var I=J(T(),1),v=[],B=e=>(Object.keys(e).map(o=>{v.push({code:e[o].code,description:(0,I.default)(e[o].description.replace(".","")),emoji:e[o].emoji,semver:e[o].semver,type:e[o].commit,value:e[o].commit})}),v),Y=B;export{Y as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var i=Object.defineProperty;var d=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var u=e=>i(e,"__esModule",{value:!0});var f=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports),h=(e,o)=>{for(var t in o)i(e,t,{get:o[t],enumerable:!0})},v=(e,o,t,a)=>{if(o&&typeof o=="object"||typeof o=="function")for(let r of p(o))!l.call(e,r)&&(t||r!=="default")&&i(e,r,{get:()=>o[r],enumerable:!(a=d(o,r))||a.enumerable});return e};var y=(e=>(o,t)=>e&&e.get(o)||(t=v(u({}),o,1),e&&e.set(o,t),t))(typeof WeakMap!="undefined"?new WeakMap:0);var m=f((C,k)=>{k.exports={gitmojis:[{emoji:"\u{1F3A8}",entity:"🎨",code:":art:",description:"Improve structure / format of the code.",name:"art",semver:null},{emoji:"\u26A1\uFE0F",entity:"⚡",code:":zap:",description:"Improve performance.",name:"zap",semver:"patch"},{emoji:"\u{1F525}",entity:"🔥",code:":fire:",description:"Remove code or files.",name:"fire",semver:null},{emoji:"\u{1F41B}",entity:"🐛",code:":bug:",description:"Fix a bug.",name:"bug",semver:"patch"},{emoji:"\u{1F691}\uFE0F",entity:"🚑",code:":ambulance:",description:"Critical hotfix.",name:"ambulance",semver:"patch"},{emoji:"\u2728",entity:"✨",code:":sparkles:",description:"Introduce new features.",name:"sparkles",semver:"minor"},{emoji:"\u{1F4DD}",entity:"📝",code:":memo:",description:"Add or update documentation.",name:"memo",semver:null},{emoji:"\u{1F680}",entity:"🚀",code:":rocket:",description:"Deploy stuff.",name:"rocket",semver:null},{emoji:"\u{1F484}",entity:"&#ff99cc;",code:":lipstick:",description:"Add or update the UI and style files.",name:"lipstick",semver:"patch"},{emoji:"\u{1F389}",entity:"🎉",code:":tada:",description:"Begin a project.",name:"tada",semver:null},{emoji:"\u2705",entity:"✅",code:":white_check_mark:",description:"Add, update, or pass tests.",name:"white-check-mark",semver:null},{emoji:"\u{1F512}\uFE0F",entity:"🔒",code:":lock:",description:"Fix security issues.",name:"lock",semver:"patch"},{emoji:"\u{1F510}",entity:"🔐",code:":closed_lock_with_key:",description:"Add or update secrets.",name:"closed-lock-with-key",semver:null},{emoji:"\u{1F516}",entity:"🔖",code:":bookmark:",description:"Release / Version tags.",name:"bookmark",semver:null},{emoji:"\u{1F6A8}",entity:"🚨",code:":rotating_light:",description:"Fix compiler / linter warnings.",name:"rotating-light",semver:null},{emoji:"\u{1F6A7}",entity:"🚧",code:":construction:",description:"Work in progress.",name:"construction",semver:null},{emoji:"\u{1F49A}",entity:"💚",code:":green_heart:",description:"Fix CI Build.",name:"green-heart",semver:null},{emoji:"\u2B07\uFE0F",entity:"\u2B07\uFE0F",code:":arrow_down:",description:"Downgrade dependencies.",name:"arrow-down",semver:"patch"},{emoji:"\u2B06\uFE0F",entity:"\u2B06\uFE0F",code:":arrow_up:",description:"Upgrade dependencies.",name:"arrow-up",semver:"patch"},{emoji:"\u{1F4CC}",entity:"📌",code:":pushpin:",description:"Pin dependencies to specific versions.",name:"pushpin",semver:"patch"},{emoji:"\u{1F477}",entity:"👷",code:":construction_worker:",description:"Add or update CI build system.",name:"construction-worker",semver:null},{emoji:"\u{1F4C8}",entity:"📈",code:":chart_with_upwards_trend:",description:"Add or update analytics or track code.",name:"chart-with-upwards-trend",semver:"patch"},{emoji:"\u267B\uFE0F",entity:"♲",code:":recycle:",description:"Refactor code.",name:"recycle",semver:null},{emoji:"\u2795",entity:"➕",code:":heavy_plus_sign:",description:"Add a dependency.",name:"heavy-plus-sign",semver:"patch"},{emoji:"\u2796",entity:"➖",code:":heavy_minus_sign:",description:"Remove a dependency.",name:"heavy-minus-sign",semver:"patch"},{emoji:"\u{1F527}",entity:"🔧",code:":wrench:",description:"Add or update configuration files.",name:"wrench",semver:"patch"},{emoji:"\u{1F528}",entity:"🔨",code:":hammer:",description:"Add or update development scripts.",name:"hammer",semver:null},{emoji:"\u{1F310}",entity:"🌐",code:":globe_with_meridians:",description:"Internationalization and localization.",name:"globe-with-meridians",semver:"patch"},{emoji:"\u270F\uFE0F",entity:"",code:":pencil2:",description:"Fix typos.",name:"pencil2",semver:"patch"},{emoji:"\u{1F4A9}",entity:"",code:":poop:",description:"Write bad code that needs to be improved.",name:"poop",semver:null},{emoji:"\u23EA\uFE0F",entity:"⏪",code:":rewind:",description:"Revert changes.",name:"rewind",semver:"patch"},{emoji:"\u{1F500}",entity:"🔀",code:":twisted_rightwards_arrows:",description:"Merge branches.",name:"twisted-rightwards-arrows",semver:null},{emoji:"\u{1F4E6}\uFE0F",entity:"F4E6;",code:":package:",description:"Add or update compiled files or packages.",name:"package",semver:"patch"},{emoji:"\u{1F47D}\uFE0F",entity:"F47D;",code:":alien:",description:"Update code due to external API changes.",name:"alien",semver:"patch"},{emoji:"\u{1F69A}",entity:"F69A;",code:":truck:",description:"Move or rename resources (e.g.: files, paths, routes).",name:"truck",semver:null},{emoji:"\u{1F4C4}",entity:"F4C4;",code:":page_facing_up:",description:"Add or update license.",name:"page-facing-up",semver:null},{emoji:"\u{1F4A5}",entity:"💥",code:":boom:",description:"Introduce breaking changes.",name:"boom",semver:"major"},{emoji:"\u{1F371}",entity:"F371",code:":bento:",description:"Add or update assets.",name:"bento",semver:"patch"},{emoji:"\u267F\uFE0F",entity:"♿",code:":wheelchair:",description:"Improve accessibility.",name:"wheelchair",semver:"patch"},{emoji:"\u{1F4A1}",entity:"💡",code:":bulb:",description:"Add or update comments in source code.",name:"bulb",semver:null},{emoji:"\u{1F37B}",entity:"🍻",code:":beers:",description:"Write code drunkenly.",name:"beers",semver:null},{emoji:"\u{1F4AC}",entity:"💬",code:":speech_balloon:",description:"Add or update text and literals.",name:"speech-balloon",semver:"patch"},{emoji:"\u{1F5C3}\uFE0F",entity:"🗃",code:":card_file_box:",description:"Perform database related changes.",name:"card-file-box",semver:"patch"},{emoji:"\u{1F50A}",entity:"🔊",code:":loud_sound:",description:"Add or update logs.",name:"loud-sound",semver:null},{emoji:"\u{1F507}",entity:"🔇",code:":mute:",description:"Remove logs.",name:"mute",semver:null},{emoji:"\u{1F465}",entity:"👥",code:":busts_in_silhouette:",description:"Add or update contributor(s).",name:"busts-in-silhouette",semver:null},{emoji:"\u{1F6B8}",entity:"🚸",code:":children_crossing:",description:"Improve user experience / usability.",name:"children-crossing",semver:"patch"},{emoji:"\u{1F3D7}\uFE0F",entity:"f3d7;",code:":building_construction:",description:"Make architectural changes.",name:"building-construction",semver:null},{emoji:"\u{1F4F1}",entity:"📱",code:":iphone:",description:"Work on responsive design.",name:"iphone",semver:"patch"},{emoji:"\u{1F921}",entity:"🤡",code:":clown_face:",description:"Mock things.",name:"clown-face",semver:null},{emoji:"\u{1F95A}",entity:"🥚",code:":egg:",description:"Add or update an easter egg.",name:"egg",semver:"patch"},{emoji:"\u{1F648}",entity:"bdfe7;",code:":see_no_evil:",description:"Add or update a .gitignore file.",name:"see-no-evil",semver:null},{emoji:"\u{1F4F8}",entity:"📸",code:":camera_flash:",description:"Add or update snapshots.",name:"camera-flash",semver:null},{emoji:"\u2697\uFE0F",entity:"📸",code:":alembic:",description:"Perform experiments.",name:"alembic",semver:"patch"},{emoji:"\u{1F50D}\uFE0F",entity:"🔍",code:":mag:",description:"Improve SEO.",name:"mag",semver:"patch"},{emoji:"\u{1F3F7}\uFE0F",entity:"🏷",code:":label:",description:"Add or update types.",name:"label",semver:"patch"},{emoji:"\u{1F331}",entity:"🌱",code:":seedling:",description:"Add or update seed files.",name:"seedling",semver:null},{emoji:"\u{1F6A9}",entity:"🚩",code:":triangular_flag_on_post:",description:"Add, update, or remove feature flags.",name:"triangular-flag-on-post",semver:"patch"},{emoji:"\u{1F945}",entity:"🥅",code:":goal_net:",description:"Catch errors.",name:"goal-net",semver:"patch"},{emoji:"\u{1F4AB}",entity:"💫",code:":dizzy:",description:"Add or update animations and transitions.",name:"animation",semver:"patch"},{emoji:"\u{1F5D1}\uFE0F",entity:"🗑",code:":wastebasket:",description:"Deprecate code that needs to be cleaned up.",name:"wastebasket",semver:"patch"},{emoji:"\u{1F6C2}",entity:"🛂",code:":passport_control:",description:"Work on code related to authorization, roles and permissions.",name:"passport-control",semver:"patch"},{emoji:"\u{1FA79}",entity:"🩹",code:":adhesive_bandage:",description:"Simple fix for a non-critical issue.",name:"adhesive-bandage",semver:"patch"},{emoji:"\u{1F9D0}",entity:"🧐",code:":monocle_face:",description:"Data exploration/inspection.",name:"monocle-face",semver:null},{emoji:"\u26B0\uFE0F",entity:"⚰",code:":coffin:",description:"Remove dead code.",name:"coffin",semver:null},{emoji:"\u{1F9EA}",entity:"🧪",code:":test_tube:",description:"Add a failing test.",name:"test-tube",semver:null},{emoji:"\u{1F454}",entity:"👔",code:":necktie:",description:"Add or update business logic",name:"necktie",semver:"patch"},{emoji:"\u{1FA7A}",entity:"🩺",code:":stethoscope:",description:"Add or update healthcheck.",name:"stethoscope",semver:null},{emoji:"\u{1F9F1}",entity:"🧱",code:":bricks:",description:"Infrastructure related changes.",name:"bricks",semver:null},{emoji:"\u{1F9D1}\u200D\u{1F4BB}",entity:"🧑‍💻",code:":technologist:",description:"Improve developer experience",name:"technologist",semver:null}]}});var _={};h(_,{default:()=>j});var b=[{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:"animation",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"}],s=b;var g={chore:{branch:"chore",code:":computer_disk:",commit:"chore",description:"Changes that don\u2019t modify src or test files",emoji:"\u{1F4BD}\uFE0F",entity:"💽",name:"computer-disk",semver:null},rollforward:{branch:!1,code:":fast_forward:",commit:"rollforward",description:"Create rollforward version.",emoji:"\u23E9\uFE0F",entity:"E9;",name:"rollforward",semver:null},"run-build":{branch:!1,code:":rocket:",commit:"run-build",description:"Custom type for CI/CD to hook into run build override.",emoji:"\u{1F680}\uFE0F",entity:"F680;",name:"run-build",semver:"patch"}},n=g;var w=m().gitmojis,x=()=>(w.map(e=>{let o=s.find(t=>(t==null?void 0:t.from)===e.name);if(o){let t=o.semver===void 0?(e==null?void 0:e.semver)||null:o.semver||(e==null?void 0:e.semver)||null;n[o.to]={branch:Boolean(o==null?void 0:o.branch)?o.branch:!1,code:e==null?void 0:e.code,commit:o.to,description:e==null?void 0:e.description,emoji:e==null?void 0:e.emoji,entity:e==null?void 0:e.entity,name:e==null?void 0: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,o)=>(e[o]=n[o],e),{})),j=x;module.exports=y(_);0&&(module.exports={});
|
package/getReleaseRules.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var u=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var m=Object.getOwnPropertyNames;var g=Object.prototype.hasOwnProperty;var i=e=>u(e,"__esModule",{value:!0});var t=(e,s)=>{for(var l in s)u(e,l,{get:s[l],enumerable:!0})},R=(e,s,l,n)=>{if(s&&typeof s=="object"||typeof s=="function")for(let r of m(s))!g.call(e,r)&&(l||r!=="default")&&u(e,r,{get:()=>s[r],enumerable:!(n=o(s,r))||n.enumerable});return e};var c=(e=>(s,l)=>e&&e.get(s)||(l=R(i({}),s,1),e&&e.set(s,l),l))(typeof WeakMap!="undefined"?new WeakMap:0);var d={};t(d,{default:()=>P});var a=[],p=e=>(Object.keys(e).map(s=>{var l;a.push({release:e[s].semver,type:!!e[s]&&((l=e[s])==null?void 0:l.code.replace(/(:[^:]*):/g,"$1"))}),a.push({release:e[s].semver,type:e[s].commit}),a.push({release:e[s].semver,type:e[s].emoji})}),a),P=p;module.exports=c(d);0&&(module.exports={});
|
package/getReleaseRules.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { TypesProps } from './index';
|
|
2
|
-
import './getGitmojiConventional';
|
|
3
|
-
|
|
4
|
-
declare type ReleaseRulesProps = {
|
|
5
|
-
message?: string | null;
|
|
6
|
-
release?: string | null;
|
|
7
|
-
tag?: string | null;
|
|
8
|
-
type?: string | null;
|
|
9
|
-
};
|
|
10
|
-
declare const getReleaseRules: (types: TypesProps) => ReleaseRulesProps[];
|
|
11
|
-
|
|
12
|
-
export { getReleaseRules as default };
|
package/getReleaseRules.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var l=[],a=e=>(Object.keys(e).map(s=>{var r;l.push({release:e[s].semver,type:!!e[s]&&((r=e[s])==null?void 0:r.code.replace(/(:[^:]*):/g,"$1"))}),l.push({release:e[s].semver,type:e[s].commit}),l.push({release:e[s].semver,type:e[s].emoji})}),l),o=a;export{o as default};
|
package/getTypeSpecs.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var U=Object.create;var c=Object.defineProperty;var k=Object.getOwnPropertyDescriptor;var E=Object.getOwnPropertyNames;var M=Object.getPrototypeOf,y=Object.prototype.hasOwnProperty;var m=e=>c(e,"__esModule",{value:!0});var O=(e,n)=>()=>(e&&(n=e(e=0)),n);var p=(e,n)=>()=>(n||e((n={exports:{}}).exports,n),n.exports),D=(e,n)=>{for(var r in n)c(e,r,{get:n[r],enumerable:!0})},S=(e,n,r,i)=>{if(n&&typeof n=="object"||typeof n=="function")for(let t of E(n))!y.call(e,t)&&(r||t!=="default")&&c(e,t,{get:()=>n[t],enumerable:!(i=k(n,t))||i.enumerable});return e},H=(e,n)=>S(m(c(e!=null?U(M(e)):{},"default",!n&&e&&e.__esModule?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e),J=(e=>(n,r)=>e&&e.get(n)||(r=S(m({}),n,1),e&&e.set(n,r),r))(typeof WeakMap!="undefined"?new WeakMap:0);var o=O(()=>{});var h=p((Q,b)=>{o();var N=["for","and","nor","but","or","yet","so"],W=["a","an","the"],X=["aboard","about","above","across","after","against","along","amid","among","anti","around","as","at","before","behind","below","beneath","beside","besides","between","beyond","but","by","concerning","considering","despite","down","during","except","excepting","excluding","following","for","from","in","inside","into","like","minus","near","of","off","on","onto","opposite","over","past","per","plus","regarding","round","save","since","than","through","to","toward","towards","under","underneath","unlike","until","up","upon","versus","via","with","within","without"];b.exports=new Set([...N,...W,...X])});var T=p((Y,w)=>{o();var q=["ZEIT","ZEIT Inc.","Vercel","Vercel Inc.","CLI","API","HTTP","HTTPS","JSX","DNS","URL","now.sh","now.json","vercel.app","vercel.json","CI","CD","CDN","package.json","GitHub","GitLab","CSS","Sass","JS","JavaScript","TypeScript","HTML","WordPress","JavaScript","Next.js","Node.js","Webpack","Docker","Bash","Kubernetes","SWR","TinaCMS","UI","UX","TS","TSX","iPhone","iPad","watchOS","iOS","iPadOS","macOS"];w.exports=q});var v=p((ee,x)=>{o();var G=h(),V=T(),Z=/(?:(?:(\s?(?:^|[.\(\)!?;:"-])\s*)(\w))|(\w))(\w*[’']*\w*)/g,_=e=>e.map(n=>[new RegExp(`\\b${n}\\b`,"gi"),n]);function A(e){let n=e[0];return/\s/.test(n)?e.substr(1):/[\(\)]/.test(n)?null:e}x.exports=(e,n={})=>{e=e.toLowerCase().replace(Z,(s,a="",d,l,g,C,I)=>{let L=s.length+C>=I.length,f=A(s);if(!f)return s;if(!d){let R=l+g;if(G.has(R)&&!L)return f}return a+(l||d).toUpperCase()+g});let r=n.special||[],i=[...V,...r];return _(i).forEach(([s,a])=>{e=e.replace(s,a)}),e}});var $={};D($,{default:()=>K});o();var P=H(v(),1),j=[],B=e=>(Object.keys(e).map(n=>{j.push({code:e[n].code,description:(0,P.default)(e[n].description.replace(".","")),emoji:e[n].emoji,semver:e[n].semver,type:e[n].commit,value:e[n].commit})}),j),K=B;module.exports=J($);0&&(module.exports={});
|
package/getTypeSpecs.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { TypesProps } from './index';
|
|
2
|
-
import './getGitmojiConventional';
|
|
3
|
-
|
|
4
|
-
declare type TypeSpecsProps = {
|
|
5
|
-
code: string;
|
|
6
|
-
description: string;
|
|
7
|
-
emoji: string;
|
|
8
|
-
semver: 'breaking' | 'feature' | 'fix' | 'major' | 'minor' | 'patch' | null;
|
|
9
|
-
type: string;
|
|
10
|
-
value: string;
|
|
11
|
-
};
|
|
12
|
-
declare const getTypeSpecs: (types: TypesProps) => TypeSpecsProps[];
|
|
13
|
-
|
|
14
|
-
export { getTypeSpecs as default };
|
package/getTypeSpecs.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var k=Object.create;var c=Object.defineProperty;var E=Object.getOwnPropertyDescriptor;var R=Object.getOwnPropertyNames;var D=Object.getPrototypeOf,O=Object.prototype.hasOwnProperty;var U=e=>c(e,"__esModule",{value:!0});var y=(e,o)=>()=>(e&&(o=e(e=0)),o);var p=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var H=(e,o,i,s)=>{if(o&&typeof o=="object"||typeof o=="function")for(let r of R(o))!O.call(e,r)&&(i||r!=="default")&&c(e,r,{get:()=>o[r],enumerable:!(s=E(o,r))||s.enumerable});return e},J=(e,o)=>H(U(c(e!=null?k(D(e)):{},"default",!o&&e&&e.__esModule?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var n=y(()=>{});var b=p((K,S)=>{n();var M=["for","and","nor","but","or","yet","so"],N=["a","an","the"],W=["aboard","about","above","across","after","against","along","amid","among","anti","around","as","at","before","behind","below","beneath","beside","besides","between","beyond","but","by","concerning","considering","despite","down","during","except","excepting","excluding","following","for","from","in","inside","into","like","minus","near","of","off","on","onto","opposite","over","past","per","plus","regarding","round","save","since","than","through","to","toward","towards","under","underneath","unlike","until","up","upon","versus","via","with","within","without"];S.exports=new Set([...M,...N,...W])});var w=p(($,h)=>{n();var _=["ZEIT","ZEIT Inc.","Vercel","Vercel Inc.","CLI","API","HTTP","HTTPS","JSX","DNS","URL","now.sh","now.json","vercel.app","vercel.json","CI","CD","CDN","package.json","GitHub","GitLab","CSS","Sass","JS","JavaScript","TypeScript","HTML","WordPress","JavaScript","Next.js","Node.js","Webpack","Docker","Bash","Kubernetes","SWR","TinaCMS","UI","UX","TS","TSX","iPhone","iPad","watchOS","iOS","iPadOS","macOS"];h.exports=_});var x=p((z,T)=>{n();var X=b(),q=w(),G=/(?:(?:(\s?(?:^|[.\(\)!?;:"-])\s*)(\w))|(\w))(\w*[’']*\w*)/g,V=e=>e.map(o=>[new RegExp(`\\b${o}\\b`,"gi"),o]);function Z(e){let o=e[0];return/\s/.test(o)?e.substr(1):/[\(\)]/.test(o)?null:e}T.exports=(e,o={})=>{e=e.toLowerCase().replace(G,(t,a="",d,g,m,j,C)=>{let I=t.length+j>=C.length,f=Z(t);if(!f)return t;if(!d){let L=g+m;if(X.has(L)&&!I)return f}return a+(g||d).toUpperCase()+m});let i=o.special||[],s=[...q,...i];return V(s).forEach(([t,a])=>{e=e.replace(t,a)}),e}});n();var P=J(x(),1),v=[],A=e=>(Object.keys(e).map(o=>{v.push({code:e[o].code,description:(0,P.default)(e[o].description.replace(".","")),emoji:e[o].emoji,semver:e[o].semver,type:e[o].commit,value:e[o].commit})}),v),Q=A;export{Q as default};
|