@jeromefitz/conventional-gitmoji 2.1.0-changelog.1 → 2.1.2-kbar-from-website.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/README.md +2 -0
- package/config/rewrites.cjs +1 -1
- package/config/rewrites.js +1 -1
- package/getGitmojiConventional.cjs +1 -1
- package/getGitmojiConventional.js +1 -1
- package/getReleaseRules.cjs +1 -1
- package/getReleaseRules.d.ts +4 -2
- package/getReleaseRules.js +1 -1
- package/getTypeSpecs.cjs +1 -1
- package/getTypeSpecs.js +1 -1
- package/index.cjs +1 -1
- package/index.d.ts +4 -2
- package/index.js +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
package/config/rewrites.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var m=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var n=Object.prototype.hasOwnProperty;var s=r=>m(r,"__esModule",{value:!0});var c=(r,o)=>{for(var t in o)m(r,t,{get:o[t],enumerable:!0})},l=(r,o,t,f)=>{if(o&&typeof o=="object"||typeof o=="function")for(let e of i(o))!n.call(r,e)&&(t||e!=="default")&&m(r,e,{get:()=>o[e],enumerable:!(f=a(o,e))||f.enumerable});return r};var p=(r=>(o,t)=>r&&r.get(o)||(t=l(s({}),o,1),r&&r.set(o,t),t))(typeof WeakMap!="undefined"?new WeakMap:0);var g={};c(g,{default:()=>d});var h=[{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"}],d=h;module.exports=p(g);0&&(module.exports={});
|
|
1
|
+
var m=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var n=Object.prototype.hasOwnProperty;var s=r=>m(r,"__esModule",{value:!0});var c=(r,o)=>{for(var t in o)m(r,t,{get:o[t],enumerable:!0})},l=(r,o,t,f)=>{if(o&&typeof o=="object"||typeof o=="function")for(let e of i(o))!n.call(r,e)&&(t||e!=="default")&&m(r,e,{get:()=>o[e],enumerable:!(f=a(o,e))||f.enumerable});return r};var p=(r=>(o,t)=>r&&r.get(o)||(t=l(s({}),o,1),r&&r.set(o,t),t))(typeof WeakMap!="undefined"?new WeakMap:0);var g={};c(g,{default:()=>d});var h=[{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=h;module.exports=p(g);0&&(module.exports={});
|
package/config/rewrites.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var o=[{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"}],e=o;export{e as default};
|
|
1
|
+
var o=[{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"}],e=o;export{e as default};
|
|
@@ -1 +1 @@
|
|
|
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,x)=>{x.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{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"}],c=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 k=m().gitmojis,w=()=>(k.map(e=>{let o=c.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=w;module.exports=y(_);0&&(module.exports={});
|
|
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={});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var c=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var s=c((y,p)=>{p.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{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 m=[{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"}],a=m;var d={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"}},r=d;var l=s().gitmojis,u=()=>(l.map(e=>{let o=a.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:!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(r).sort().reduce((e,o)=>(e[o]=r[o],e),{})),x=u;export{x as default};
|
|
1
|
+
var s=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var c=s((y,p)=>{p.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 m=[{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"}],a=m;var d={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"}},r=d;var l=c().gitmojis,u=()=>(l.map(e=>{let o=a.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:!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(r).sort().reduce((e,o)=>(e[o]=r[o],e),{})),k=u;export{k as default};
|
package/getReleaseRules.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
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
CHANGED
|
@@ -2,8 +2,10 @@ import { TypesProps } from './index';
|
|
|
2
2
|
import './getGitmojiConventional';
|
|
3
3
|
|
|
4
4
|
declare type ReleaseRulesProps = {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
message?: string | null;
|
|
6
|
+
release?: string | null;
|
|
7
|
+
tag?: string | null;
|
|
8
|
+
type?: string | null;
|
|
7
9
|
};
|
|
8
10
|
declare const getReleaseRules: (types: TypesProps) => ReleaseRulesProps[];
|
|
9
11
|
|
package/getReleaseRules.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
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
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var U=Object.create;var c=Object.defineProperty;var
|
|
1
|
+
var U=Object.create;var c=Object.defineProperty;var E=Object.getOwnPropertyDescriptor;var M=Object.getOwnPropertyNames;var y=Object.getPrototypeOf,H=Object.prototype.hasOwnProperty;var S=e=>c(e,"__esModule",{value:!0});var O=(e,o)=>()=>(e&&(o=e(e=0)),o);var u=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports),$=(e,o)=>{for(var n in o)c(e,n,{get:o[n],enumerable:!0})},b=(e,o,n,i)=>{if(o&&typeof o=="object"||typeof o=="function")for(let t of M(o))!H.call(e,t)&&(n||t!=="default")&&c(e,t,{get:()=>o[t],enumerable:!(i=E(o,t))||i.enumerable});return e},D=(e,o)=>b(S(c(e!=null?U(y(e)):{},"default",!o&&e&&e.__esModule?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e),J=(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 r=O(()=>{});var w=u((Y,h)=>{r();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"];h.exports=new Set([...N,...W,...X])});var T=u((ee,x)=>{r();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","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"];x.exports=q});var j=u((oe,v)=>{r();var G=w(),V=T(),a=`[^\\s'\u2019\\(\\)!?;:"-]`,Z=new RegExp(`(?:(?:(\\s?(?:^|[.\\(\\)!?;:"-])\\s*)(${a}))|(${a}))(${a}*[\u2019']*${a}*)`,"g"),_=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}v.exports=(e,o={})=>{e=e.toLowerCase().replace(Z,(s,p="",l,g,m,C,I)=>{let R=s.length+C>=I.length,f=A(s);if(!f)return s;if(!l){let L=g+m;if(G.has(L)&&!R)return f}return p+(g||l).toUpperCase()+m});let n=o.special||[],i=[...V,...n];return _(i).forEach(([s,p])=>{e=e.replace(s,p)}),e}});var z={};$(z,{default:()=>K});r();var k=D(j(),1),P=[],B=e=>(Object.keys(e).map(o=>{P.push({code:e[o].code,description:(0,k.default)(e[o].description.replace(".","")),emoji:e[o].emoji,semver:e[o].semver,type:e[o].commit,value:e[o].commit})}),P),K=B;module.exports=J(z);0&&(module.exports={});
|
package/getTypeSpecs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var L=Object.create;var p=Object.defineProperty;var R=Object.getOwnPropertyDescriptor;var y=Object.getOwnPropertyNames;var D=Object.getPrototypeOf,H=Object.prototype.hasOwnProperty;var M=e=>p(e,"__esModule",{value:!0});var O=(e,o)=>()=>(e&&(o=e(e=0)),o);var u=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var U=(e,o,a,s)=>{if(o&&typeof o=="object"||typeof o=="function")for(let r of y(o))!H.call(e,r)&&(a||r!=="default")&&p(e,r,{get:()=>o[r],enumerable:!(s=R(o,r))||s.enumerable});return e},$=(e,o)=>U(M(p(e!=null?L(D(e)):{},"default",!o&&e&&e.__esModule?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var n=O(()=>{});var h=u((K,b)=>{n();var J=["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"];b.exports=new Set([...J,...N,...W])});var x=u((z,w)=>{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","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=_});var v=u((Q,T)=>{n();var X=h(),q=x(),i=`[^\\s'\u2019\\(\\)!?;:"-]`,G=new RegExp(`(?:(?:(\\s?(?:^|[.\\(\\)!?;:"-])\\s*)(${i}))|(${i}))(${i}*[\u2019']*${i}*)`,"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,c="",g,m,f,k,C)=>{let E=t.length+k>=C.length,S=Z(t);if(!S)return t;if(!g){let I=m+f;if(X.has(I)&&!E)return S}return c+(m||g).toUpperCase()+f});let a=o.special||[],s=[...q,...a];return V(s).forEach(([t,c])=>{e=e.replace(t,c)}),e}});n();var j=$(v(),1),P=[],A=e=>(Object.keys(e).map(o=>{P.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})}),P),Y=A;export{Y as default};
|
package/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var L=Object.create;var c=Object.defineProperty;var W=Object.getOwnPropertyDescriptor;var z=Object.getOwnPropertyNames;var O=Object.getPrototypeOf,B=Object.prototype.hasOwnProperty;var y=e=>c(e,"__esModule",{value:!0});var G=(e,o)=>()=>(e&&(o=e(e=0)),o);var m=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports),H=(e,o)=>{for(var t in o)c(e,t,{get:o[t],enumerable:!0})},x=(e,o,t,a)=>{if(o&&typeof o=="object"||typeof o=="function")for(let i of z(o))!B.call(e,i)&&(t||i!=="default")&&c(e,i,{get:()=>o[i],enumerable:!(a=W(o,i))||a.enumerable});return e},J=(e,o)=>x(y(c(e!=null?L(O(e)):{},"default",!o&&e&&e.__esModule?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e),N=(e=>(o,t)=>e&&e.get(o)||(t=x(y({}),o,1),e&&e.set(o,t),t))(typeof WeakMap!="undefined"?new WeakMap:0);var r=G(()=>{});var k=m((ve,X)=>{X.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{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 A=m((we,_)=>{r();var Q=["for","and","nor","but","or","yet","so"],Y=["a","an","the"],ee=["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"];_.exports=new Set([...Q,...Y,...ee])});var R=m((ke,S)=>{r();var oe=["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"];S.exports=oe});var C=m((je,P)=>{r();var te=A(),re=R(),ne=/(?:(?:(\s?(?:^|[.\(\)!?;:"-])\s*)(\w))|(\w))(\w*[’']*\w*)/g,ie=e=>e.map(o=>[new RegExp(`\\b${o}\\b`,"gi"),o]);function se(e){let o=e[0];return/\s/.test(o)?e.substr(1):/[\(\)]/.test(o)?null:e}P.exports=(e,o={})=>{e=e.toLowerCase().replace(ne,(s,l="",h,v,b,D,U)=>{let E=s.length+D>=U.length,g=se(s);if(!g)return s;if(!h){let M=v+b;if(te.has(M)&&!E)return g}return l+(v||h).toUpperCase()+b});let t=o.special||[],a=[...re,...t];return ie(a).forEach(([s,l])=>{e=e.replace(s,l)}),e}});var pe={};H(pe,{default:()=>de,releaseRules:()=>ce,typeSpecs:()=>me,types:()=>f});r();r();r();var q=[{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"}],w=q;r();var V={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"}},d=V;var $=k().gitmojis,Z=()=>($.map(e=>{let o=w.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;d[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(d).sort().reduce((e,o)=>(e[o]=d[o],e),{})),u=Z;r();var p=[],K=e=>(Object.keys(e).map(o=>{var t;p.push({release:e[o].semver,type:!!e[o]&&((t=e[o])==null?void 0:t.code.replace(/(:[^:]*):/g,"$1"))}),p.push({release:e[o].semver,type:e[o].commit}),p.push({release:e[o].semver,type:e[o].emoji})}),p),j=K;r();var I=J(C(),1),T=[],ae=e=>(Object.keys(e).map(o=>{T.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})}),T),F=ae;var f=u(),ce=j(f),me=F(f);var de=u;module.exports=N(pe);0&&(module.exports={releaseRules,typeSpecs,types});
|
|
1
|
+
var W=Object.create;var c=Object.defineProperty;var z=Object.getOwnPropertyDescriptor;var O=Object.getOwnPropertyNames;var $=Object.getPrototypeOf,B=Object.prototype.hasOwnProperty;var x=e=>c(e,"__esModule",{value:!0});var H=(e,o)=>()=>(e&&(o=e(e=0)),o);var m=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports),G=(e,o)=>{for(var t in o)c(e,t,{get:o[t],enumerable:!0})},w=(e,o,t,a)=>{if(o&&typeof o=="object"||typeof o=="function")for(let i of O(o))!B.call(e,i)&&(t||i!=="default")&&c(e,i,{get:()=>o[i],enumerable:!(a=z(o,i))||a.enumerable});return e},J=(e,o)=>w(x(c(e!=null?W($(e)):{},"default",!o&&e&&e.__esModule?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e),N=(e=>(o,t)=>e&&e.get(o)||(t=w(x({}),o,1),e&&e.set(o,t),t))(typeof WeakMap!="undefined"?new WeakMap:0);var r=H(()=>{});var j=m((ge,X)=>{X.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 S=m((ke,A)=>{r();var Y=["for","and","nor","but","or","yet","so"],ee=["a","an","the"],oe=["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"];A.exports=new Set([...Y,...ee,...oe])});var P=m((je,R)=>{r();var te=["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=te});var I=m((_e,C)=>{r();var re=S(),ne=P(),l=`[^\\s'\u2019\\(\\)!?;:"-]`,ie=new RegExp(`(?:(?:(\\s?(?:^|[.\\(\\)!?;:"-])\\s*)(${l}))|(${l}))(${l}*[\u2019']*${l}*)`,"g"),se=e=>e.map(o=>[new RegExp(`\\b${o}\\b`,"gi"),o]);function ae(e){let o=e[0];return/\s/.test(o)?e.substr(1):/[\(\)]/.test(o)?null:e}C.exports=(e,o={})=>{e=e.toLowerCase().replace(ie,(s,u="",v,g,b,E,U)=>{let M=s.length+E>=U.length,y=ae(s);if(!y)return s;if(!v){let L=g+b;if(re.has(L)&&!M)return y}return u+(g||v).toUpperCase()+b});let t=o.special||[],a=[...ne,...t];return se(a).forEach(([s,u])=>{e=e.replace(s,u)}),e}});var le={};G(le,{default:()=>pe,releaseRules:()=>me,typeSpecs:()=>de,types:()=>h});r();r();r();var q=[{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"}],k=q;r();var V={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"}},d=V;var Z=j().gitmojis,K=()=>(Z.map(e=>{let o=k.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;d[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(d).sort().reduce((e,o)=>(e[o]=d[o],e),{})),f=K;r();var p=[],Q=e=>(Object.keys(e).map(o=>{var t;p.push({release:e[o].semver,type:!!e[o]&&((t=e[o])==null?void 0:t.code.replace(/(:[^:]*):/g,"$1"))}),p.push({release:e[o].semver,type:e[o].commit}),p.push({release:e[o].semver,type:e[o].emoji})}),p),_=Q;r();var F=J(I(),1),T=[],ce=e=>(Object.keys(e).map(o=>{T.push({code:e[o].code,description:(0,F.default)(e[o].description.replace(".","")),emoji:e[o].emoji,semver:e[o].semver,type:e[o].commit,value:e[o].commit})}),T),D=ce;var h=f(),me=_(h),de=D(h);var pe=f;module.exports=N(le);0&&(module.exports={releaseRules,typeSpecs,types});
|
package/index.d.ts
CHANGED
|
@@ -15,8 +15,10 @@ interface TypesProps {
|
|
|
15
15
|
}
|
|
16
16
|
declare const types: TypesProps;
|
|
17
17
|
declare const releaseRules: {
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
message?: string | null | undefined;
|
|
19
|
+
release?: string | null | undefined;
|
|
20
|
+
tag?: string | null | undefined;
|
|
21
|
+
type?: string | null | undefined;
|
|
20
22
|
}[];
|
|
21
23
|
declare const typeSpecs: {
|
|
22
24
|
code: string;
|
package/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var z=Object.create;var u=Object.defineProperty;var L=Object.getOwnPropertyDescriptor;var M=Object.getOwnPropertyNames;var O=Object.getPrototypeOf,U=Object.prototype.hasOwnProperty;var B=e=>u(e,"__esModule",{value:!0});var G=(e,o)=>()=>(e&&(o=e(e=0)),o);var m=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var H=(e,o,r,c)=>{if(o&&typeof o=="object"||typeof o=="function")for(let s of M(o))!U.call(e,s)&&(r||s!=="default")&&u(e,s,{get:()=>o[s],enumerable:!(c=L(o,s))||c.enumerable});return e},J=(e,o)=>H(B(u(e!=null?z(O(e)):{},"default",!o&&e&&e.__esModule?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var t=G(()=>{});var x=m((pe,V)=>{V.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{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 j=m((ve,k)=>{t();var K=["for","and","nor","but","or","yet","so"],Q=["a","an","the"],Y=["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"];k.exports=new Set([...K,...Q,...Y])});var A=m((ge,_)=>{t();var ee=["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"];_.exports=ee});var P=m((be,S)=>{t();var oe=j(),te=A(),re=/(?:(?:(\s?(?:^|[.\(\)!?;:"-])\s*)(\w))|(\w))(\w*[’']*\w*)/g,ne=e=>e.map(o=>[new RegExp(`\\b${o}\\b`,"gi"),o]);function ie(e){let o=e[0];return/\s/.test(o)?e.substr(1):/[\(\)]/.test(o)?null:e}S.exports=(e,o={})=>{e=e.toLowerCase().replace(re,(a,l="",h,v,g,F,D)=>{let E=a.length+F>=D.length,b=ie(a);if(!b)return a;if(!h){let W=v+g;if(oe.has(W)&&!E)return b}return l+(v||h).toUpperCase()+g});let r=o.special||[],c=[...te,...r];return ne(c).forEach(([a,l])=>{e=e.replace(a,l)}),e}});t();t();t();var N=[{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"}],y=N;t();var q={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"}},d=q;var X=x().gitmojis,$=()=>(X.map(e=>{let o=y.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;d[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: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(d).sort().reduce((e,o)=>(e[o]=d[o],e),{})),f=$;t();var p=[],Z=e=>(Object.keys(e).map(o=>{var r;p.push({release:e[o].semver,type:!!e[o]&&((r=e[o])==null?void 0:r.code.replace(/(:[^:]*):/g,"$1"))}),p.push({release:e[o].semver,type:e[o].commit}),p.push({release:e[o].semver,type:e[o].emoji})}),p),w=Z;t();var R=J(P(),1),T=[],se=e=>(Object.keys(e).map(o=>{T.push({code:e[o].code,description:(0,R.default)(e[o].description.replace(".","")),emoji:e[o].emoji,semver:e[o].semver,type:e[o].commit,value:e[o].commit})}),T),C=se;var I=f(),je=w(I),_e=C(I);var Ae=f;export{Ae as default,je as releaseRules,_e as typeSpecs,I as types};
|
|
1
|
+
var z=Object.create;var f=Object.defineProperty;var L=Object.getOwnPropertyDescriptor;var O=Object.getOwnPropertyNames;var U=Object.getPrototypeOf,$=Object.prototype.hasOwnProperty;var B=e=>f(e,"__esModule",{value:!0});var H=(e,o)=>()=>(e&&(o=e(e=0)),o);var m=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var G=(e,o,r,c)=>{if(o&&typeof o=="object"||typeof o=="function")for(let s of O(o))!$.call(e,s)&&(r||s!=="default")&&f(e,s,{get:()=>o[s],enumerable:!(c=L(o,s))||c.enumerable});return e},J=(e,o)=>G(B(f(e!=null?z(U(e)):{},"default",!o&&e&&e.__esModule?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var t=H(()=>{});var w=m((le,V)=>{V.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 _=m((ve,j)=>{t();var Q=["for","and","nor","but","or","yet","so"],Y=["a","an","the"],ee=["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"];j.exports=new Set([...Q,...Y,...ee])});var P=m((be,A)=>{t();var oe=["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"];A.exports=oe});var R=m((ye,S)=>{t();var te=_(),re=P(),l=`[^\\s'\u2019\\(\\)!?;:"-]`,ne=new RegExp(`(?:(?:(\\s?(?:^|[.\\(\\)!?;:"-])\\s*)(${l}))|(${l}))(${l}*[\u2019']*${l}*)`,"g"),ie=e=>e.map(o=>[new RegExp(`\\b${o}\\b`,"gi"),o]);function se(e){let o=e[0];return/\s/.test(o)?e.substr(1):/[\(\)]/.test(o)?null:e}S.exports=(e,o={})=>{e=e.toLowerCase().replace(ne,(a,u="",g,v,b,D,E)=>{let M=a.length+D>=E.length,y=se(a);if(!y)return a;if(!g){let W=v+b;if(te.has(W)&&!M)return y}return u+(v||g).toUpperCase()+b});let r=o.special||[],c=[...re,...r];return ie(c).forEach(([a,u])=>{e=e.replace(a,u)}),e}});t();t();t();var N=[{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"}],x=N;t();var q={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"}},d=q;var X=w().gitmojis,Z=()=>(X.map(e=>{let o=x.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;d[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: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(d).sort().reduce((e,o)=>(e[o]=d[o],e),{})),h=Z;t();var p=[],K=e=>(Object.keys(e).map(o=>{var r;p.push({release:e[o].semver,type:!!e[o]&&((r=e[o])==null?void 0:r.code.replace(/(:[^:]*):/g,"$1"))}),p.push({release:e[o].semver,type:e[o].commit}),p.push({release:e[o].semver,type:e[o].emoji})}),p),k=K;t();var T=J(R(),1),C=[],ae=e=>(Object.keys(e).map(o=>{C.push({code:e[o].code,description:(0,T.default)(e[o].description.replace(".","")),emoji:e[o].emoji,semver:e[o].semver,type:e[o].commit,value:e[o].commit})}),C),I=ae;var F=h(),_e=k(F),Ae=I(F);var Pe=h;export{Pe as default,_e as releaseRules,Ae as typeSpecs,F as types};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jeromefitz/conventional-gitmoji",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.2-kbar-from-website.1",
|
|
4
4
|
"description": "Helper package for dual gitmoji / conventional commits",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Jerome Fitzgerald",
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/title": "3.4.1",
|
|
41
|
-
"gitmojis": "3.
|
|
42
|
-
"title": "3.4.
|
|
41
|
+
"gitmojis": "3.9.0",
|
|
42
|
+
"title": "3.4.4"
|
|
43
43
|
},
|
|
44
44
|
"type": "module",
|
|
45
45
|
"sideEffects": false,
|