@jeromefitz/conventional-gitmoji 3.0.4 → 3.1.0-canary.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- var q=Object.create;var u=Object.defineProperty;var Z=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var Y=Object.getPrototypeOf,ee=Object.prototype.hasOwnProperty;var te=(t,e)=>()=>(t&&(e=t(t=0)),e);var k=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),oe=(t,e)=>{for(var o in e)u(t,o,{get:e[o],enumerable:!0})},S=(t,e,o,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Q(e))!ee.call(t,i)&&i!==o&&u(t,i,{get:()=>e[i],enumerable:!(n=Z(e,i))||n.enumerable});return t};var j=(t,e,o)=>(o=t!=null?q(Y(t)):{},S(e||!t||!t.__esModule?u(o,"default",{value:t,enumerable:!0}):o,t)),re=t=>S(u({},"__esModule",{value:!0}),t);var r=te(()=>{});var M=k((Ye,D)=>{r();var ye=["for","and","nor","but","or","yet","so"],ve=["a","an","the"],be=["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"];D.exports=new Set([...ye,...ve,...be])});var U=k((et,N)=>{r();var ge=["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"];N.exports=ge});var L=k((tt,H)=>{r();var xe=M(),we=U(),y=`[^\\s'\u2019\\(\\)!?;:"-]`,ke=new RegExp(`(?:(?:(\\s?(?:^|[.\\(\\)!?;:"-])\\s*)(${y}))|(${y}))(${y}*[\u2019']*${y}*)`,"g"),je=t=>t.map(e=>[new RegExp(`\\b${e}\\b`,"gi"),e]);function Re(t){let e=t[0];return/\s/.test(e)?t.substr(1):/[\(\)]/.test(e)?null:t}H.exports=(t,e={})=>{t=t.toLowerCase().replace(ke,(a,c="",b,l,m,g,x)=>{let w=a.length+g>=x.length,A=Re(a);if(!A)return a;if(!b){let X=l+m;if(xe.has(X)&&!w)return A}return c+(l||b).toUpperCase()+m});let o=e.special||[],n=[...we,...o];return je(n).forEach(([a,c])=>{t=t.replace(a,c)}),t}});var Ae={};oe(Ae,{default:()=>R});module.exports=re(Ae);r();var V=j(require("grapheme-splitter"),1),_=j(require("lodash/pullAt.js"),1);r();r();r();r();var ne={headerPattern:/^(.*?)(?:\((.*)\))?:?\s(.*)$/,headerCorrespondence:["type","scope","subject","ticket"],noteKeywords:["BREAKING CHANGE","BREAKING CHANGES"],revertPattern:/^Revert\s"([\s\S]*)"\s*This reverts commit (\w*)\./,issuePrefixes:["1b9fe48b-292c-46e7-bfde-0599639d0ec0"],referenceActions:["b6db85c1-4860-4275-88e3-bd9917a0b29f"]},d=ne;r();var ie={transform:(t,e)=>R(t,e),groupBy:"type",commitGroupsSort:["order","title"],commitsSort:["scope","subject"],noteGroupsSort:["title"],notesSort:["title"]},f=ie;var se={parserOpts:d,writerOpts:f},C=se;r();var ae={parserOpts:d,whatBump:t=>{let e=2,o=0,n=0;return t.forEach(i=>{i.notes.length>0?(o+=i.notes.length,e=0):i.type==="feat"&&(n+=1,e===2&&(e=1))}),{level:e,reason:o===1?`There is ${o} BREAKING CHANGE and ${n} features`:`There are ${o} BREAKING CHANGES and ${n} features`}}},P=ae;r();var ce={format:"%B%n-hash-%n%H%n-gitTags-%n%d%n-committerDate-%n%ci%n-authorName-%n%an%n-authorEmail-%n%ae"},E=ce;var me={conventionalChangelog:C,parserOpts:d,recommendedBumpOpts:P,writerOpts:f,gitRawCommitsOpts:E},F=me;r();var de=[{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:"&#1F4E6;",code:":package:",description:"Add or update compiled files or packages.",name:"package",semver:"patch"},{emoji:"\u{1F47D}\uFE0F",entity:"&#1F47D;",code:":alien:",description:"Update code due to external API changes.",name:"alien",semver:"patch"},{emoji:"\u{1F69A}",entity:"&#1F69A;",code:":truck:",description:"Move or rename resources (e.g.: files, paths, routes).",name:"truck",semver:null},{emoji:"\u{1F4C4}",entity:"&#1F4C4;",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:"&#1F371",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:"&#1f3d7;",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:"&#8bdfe7;",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}],T={gitmojis:de};r();var pe=[{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"}],G=pe;r();var le={chore:{branch:"chore",code:":computer_disk:",commit:"chore",description:"Changes that don\u2019t modify src or test files",emoji:"\u{1F4BD}\uFE0F",entity:"💽",name:"computer-disk",semver:null},rollforward:{branch:null,code:":fast_forward:",commit:"rollforward",description:"Create rollforward version.",emoji:"\u23E9\uFE0F",entity:"&#23E9;",name:"rollforward",semver:null},"run-build":{branch:null,code:":rocket:",commit:"run-build",description:"Custom type for CI/CD to hook into run build override.",emoji:"\u{1F680}\uFE0F",entity:"&#1F680;",name:"run-build",semver:"patch"}},h=le;var{gitmojis:ue}=T,fe=()=>(ue.map(e=>{let o=G.find(n=>(n==null?void 0:n.from)===e.name);if(o){let n=o.semver===void 0?(e==null?void 0:e.semver)||null:o.semver||(e==null?void 0:e.semver)||null;h[o.to]={branch:Boolean(o==null?void 0:o.branch)?o.branch:null,code:e==null?void 0:e.code,commit:o.to,description:e==null?void 0:e.description,emoji:e==null?void 0:e.emoji,entity:e==null?void 0:e.entity,name:e==null?void 0:e.name,semver:n?n.replace("fix","patch").replace("feature","minor").replace("breaking","major"):null}}else console.dir(`@todo(conventional-gitmoji) create rewrite for: ${e.name}`)}),Object.keys(h).sort().reduce((e,o)=>(e[o]=h[o],e),{})),B=fe;r();var p=[],he=t=>(Object.keys(t).map(e=>{let o=t[e];!!o&&!!o.semver&&(p.push({release:o.semver,type:o==null?void 0:o.code.replace(/(:[^:]*):/g,"$1")}),p.push({release:o.semver,type:o==null?void 0:o.code}),p.push({release:o.semver,type:o.commit}),p.push({release:o.semver,type:o.emoji}))}),p),$=he;r();var z=j(L(),1),W=[],Ie=t=>(Object.keys(t).map(e=>{W.push({code:t[e].code,description:(0,z.default)(t[e].description.replace(".","")),emoji:t[e].emoji,semver:t[e].semver,type:t[e].commit,value:t[e].commit})}),W),K=Ie;var{parserOpts:at,writerOpts:ct}=F,J=B(),mt=$(J),v=K(J);var I=new V.default,_e=(t,e)=>{let{type:o}=t,n=o,i=v.findIndex(({code:m,emoji:g,type:x,value:w})=>{if(n!==null)return n.replace(/\:/g,"")===m.replace(/\:/g,"")||n===x||n===w||n===g});if(i===-1&&(n=I.splitGraphemes(o)[0],i=v.findIndex(({emoji:m})=>{if(n!==null)return n[0]===m[0]||n[0]===I.splitGraphemes(m)[0]})),i===-1)return;let a=v[i];t.type=`${a.emoji} ${a.description}`,t.typeSpecIndex=i,t.typeSpec=a,typeof t.hash=="string"&&(t.hash=t.hash.substring(0,7));let c=I.splitGraphemes(t.subject),l=c[0]===a.emoji?t.subject.replace((0,_.default)(c,[0]),"").replace((0,_.default)(c,[0]),""):t.subject;return t.subject=l.trim(),t},R=_e;0&&(module.exports={});
1
+ var V=Object.create;var u=Object.defineProperty;var X=Object.getOwnPropertyDescriptor;var Z=Object.getOwnPropertyNames;var Q=Object.getPrototypeOf,Y=Object.prototype.hasOwnProperty;var ee=(t,e)=>()=>(t&&(e=t(t=0)),e);var f=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),te=(t,e)=>{for(var o in e)u(t,o,{get:e[o],enumerable:!0})},S=(t,e,o,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Z(e))!Y.call(t,i)&&i!==o&&u(t,i,{get:()=>e[i],enumerable:!(n=X(e,i))||n.enumerable});return t};var j=(t,e,o)=>(o=t!=null?V(Q(t)):{},S(e||!t||!t.__esModule?u(o,"default",{value:t,enumerable:!0}):o,t)),oe=t=>S(u({},"__esModule",{value:!0}),t);var r=ee(()=>{});var T=f((Je,pe)=>{pe.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:"&#1F4E6;",code:":package:",description:"Add or update compiled files or packages.",name:"package",semver:"patch"},{emoji:"\u{1F47D}\uFE0F",entity:"&#1F47D;",code:":alien:",description:"Update code due to external API changes.",name:"alien",semver:"patch"},{emoji:"\u{1F69A}",entity:"&#1F69A;",code:":truck:",description:"Move or rename resources (e.g.: files, paths, routes).",name:"truck",semver:null},{emoji:"\u{1F4C4}",entity:"&#1F4C4;",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:"&#1F371",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:"&#1f3d7;",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:"&#8bdfe7;",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 D=f((Qe,$)=>{r();var ye=["for","and","nor","but","or","yet","so"],ve=["a","an","the"],be=["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([...ye,...ve,...be])});var N=f((Ye,M)=>{r();var ge=["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"];M.exports=ge});var H=f((et,U)=>{r();var xe=D(),we=N(),v=`[^\\s'\u2019\\(\\)!?;:"-]`,ke=new RegExp(`(?:(?:(\\s?(?:^|[.\\(\\)!?;:"-])\\s*)(${v}))|(${v}))(${v}*[\u2019']*${v}*)`,"g"),je=t=>t.map(e=>[new RegExp(`\\b${e}\\b`,"gi"),e]);function Re(t){let e=t[0];return/\s/.test(e)?t.substr(1):/[\(\)]/.test(e)?null:t}U.exports=(t,e={})=>{t=t.toLowerCase().replace(ke,(a,c="",g,l,m,x,w)=>{let k=a.length+x>=w.length,A=Re(a);if(!A)return a;if(!g){let q=l+m;if(xe.has(q)&&!k)return A}return c+(l||g).toUpperCase()+m});let o=e.special||[],n=[...we,...o];return je(n).forEach(([a,c])=>{t=t.replace(a,c)}),t}});var Ae={};te(Ae,{default:()=>R});module.exports=oe(Ae);r();var J=j(require("grapheme-splitter"),1),_=j(require("lodash/pullAt.js"),1);r();r();r();r();var re={headerPattern:/^(.*?)(?:\((.*)\))?:?\s(.*)$/,headerCorrespondence:["type","scope","subject","ticket"],noteKeywords:["BREAKING CHANGE","BREAKING CHANGES"],revertPattern:/^Revert\s"([\s\S]*)"\s*This reverts commit (\w*)\./,issuePrefixes:["1b9fe48b-292c-46e7-bfde-0599639d0ec0"],referenceActions:["b6db85c1-4860-4275-88e3-bd9917a0b29f"]},d=re;r();var ne={transform:(t,e)=>R(t,e),groupBy:"type",commitGroupsSort:["order","title"],commitsSort:["scope","subject"],noteGroupsSort:["title"],notesSort:["title"]},h=ne;var ie={parserOpts:d,writerOpts:h},C=ie;r();var se={parserOpts:d,whatBump:t=>{let e=2,o=0,n=0;return t.forEach(i=>{i.notes.length>0?(o+=i.notes.length,e=0):i.type==="feat"&&(n+=1,e===2&&(e=1))}),{level:e,reason:o===1?`There is ${o} BREAKING CHANGE and ${n} features`:`There are ${o} BREAKING CHANGES and ${n} features`}}},P=se;r();var ae={format:"%B%n-hash-%n%H%n-gitTags-%n%d%n-committerDate-%n%ci%n-authorName-%n%an%n-authorEmail-%n%ae"},E=ae;var ce={conventionalChangelog:C,parserOpts:d,recommendedBumpOpts:P,writerOpts:h,gitRawCommitsOpts:E},F=ce;r();r();var me=[{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"}],O=me;r();var de={chore:{branch:"chore",code:":computer_disk:",commit:"chore",description:"Changes that don\u2019t modify src or test files",emoji:"\u{1F4BD}\uFE0F",entity:"💽",name:"computer-disk",semver:null},rollforward:{branch:null,code:":fast_forward:",commit:"rollforward",description:"Create rollforward version.",emoji:"\u23E9\uFE0F",entity:"&#23E9;",name:"rollforward",semver:null},"run-build":{branch:null,code:":rocket:",commit:"run-build",description:"Custom type for CI/CD to hook into run build override.",emoji:"\u{1F680}\uFE0F",entity:"&#1F680;",name:"run-build",semver:"patch"}},y=de;var le=T(),{gitmojis:ue}=le,fe=()=>(ue.map(e=>{let o=O.find(n=>(n==null?void 0:n.from)===e.name);if(o){let n=o.semver===void 0?(e==null?void 0:e.semver)||null:o.semver||(e==null?void 0:e.semver)||null;y[o.to]={branch:Boolean(o==null?void 0:o.branch)?o.branch:null,code:e==null?void 0:e.code,commit:o.to,description:e==null?void 0:e.description,emoji:e==null?void 0:e.emoji,entity:e==null?void 0:e.entity,name:e==null?void 0:e.name,semver:n?n.replace("fix","patch").replace("feature","minor").replace("breaking","major"):null}}else console.dir(`@todo(conventional-gitmoji) create rewrite for: ${e.name}`)}),Object.keys(y).sort().reduce((e,o)=>(e[o]=y[o],e),{})),G=fe;r();var p=[],he=t=>(Object.keys(t).map(e=>{let o=t[e];!!o&&!!o.semver&&(p.push({release:o.semver,type:o==null?void 0:o.code.replace(/(:[^:]*):/g,"$1")}),p.push({release:o.semver,type:o==null?void 0:o.code}),p.push({release:o.semver,type:o.commit}),p.push({release:o.semver,type:o.emoji}))}),p),B=he;r();var W=j(H(),1),L=[],Ie=t=>(Object.keys(t).map(e=>{L.push({code:t[e].code,description:(0,W.default)(t[e].description.replace(".","")),emoji:t[e].emoji,semver:t[e].semver,type:t[e].commit,value:t[e].commit})}),L),z=Ie;var{parserOpts:st,writerOpts:at}=F,K=G(),ct=B(K),b=z(K);var I=new J.default,_e=(t,e)=>{let{type:o}=t,n=o,i=b.findIndex(({code:m,emoji:x,type:w,value:k})=>{if(n!==null)return n.replace(/\:/g,"")===m.replace(/\:/g,"")||n===w||n===k||n===x});if(i===-1&&(n=I.splitGraphemes(o)[0],i=b.findIndex(({emoji:m})=>{if(n!==null)return n[0]===m[0]||n[0]===I.splitGraphemes(m)[0]})),i===-1)return;let a=b[i];t.type=`${a.emoji} ${a.description}`,t.typeSpecIndex=i,t.typeSpec=a,typeof t.hash=="string"&&(t.hash=t.hash.substring(0,7));let c=I.splitGraphemes(t.subject),l=c[0]===a.emoji?t.subject.replace((0,_.default)(c,[0]),"").replace((0,_.default)(c,[0]),""):t.subject;return t.subject=l.trim(),t},R=_e;0&&(module.exports={});
@@ -1 +1 @@
1
- var V=Object.create;var _=Object.defineProperty;var X=Object.getOwnPropertyDescriptor;var q=Object.getOwnPropertyNames;var Z=Object.getPrototypeOf,Q=Object.prototype.hasOwnProperty;var Y=(t,e)=>()=>(t&&(e=t(t=0)),e);var k=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var ee=(t,e,o,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of q(e))!Q.call(t,i)&&i!==o&&_(t,i,{get:()=>e[i],enumerable:!(n=X(e,i))||n.enumerable});return t};var te=(t,e,o)=>(o=t!=null?V(Z(t)):{},ee(e||!t||!t.__esModule?_(o,"default",{value:t,enumerable:!0}):o,t));var r=Y(()=>{});var D=k((Ze,B)=>{r();var fe=["for","and","nor","but","or","yet","so"],he=["a","an","the"],ye=["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([...fe,...he,...ye])});var N=k((Qe,$)=>{r();var ve=["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"];$.exports=ve});var H=k((Ye,M)=>{r();var be=D(),ge=N(),y=`[^\\s'\u2019\\(\\)!?;:"-]`,xe=new RegExp(`(?:(?:(\\s?(?:^|[.\\(\\)!?;:"-])\\s*)(${y}))|(${y}))(${y}*[\u2019']*${y}*)`,"g"),we=t=>t.map(e=>[new RegExp(`\\b${e}\\b`,"gi"),e]);function ke(t){let e=t[0];return/\s/.test(e)?t.substr(1):/[\(\)]/.test(e)?null:t}M.exports=(t,e={})=>{t=t.toLowerCase().replace(xe,(c,m="",b,u,d,g,x)=>{let w=c.length+g>=x.length,R=ke(c);if(!R)return c;if(!b){let J=u+d;if(be.has(J)&&!w)return R}return m+(u||b).toUpperCase()+d});let o=e.special||[],n=[...ge,...o];return we(n).forEach(([c,m])=>{t=t.replace(c,m)}),t}});r();import Re from"grapheme-splitter";import K from"lodash/pullAt.js";r();r();r();r();var oe={headerPattern:/^(.*?)(?:\((.*)\))?:?\s(.*)$/,headerCorrespondence:["type","scope","subject","ticket"],noteKeywords:["BREAKING CHANGE","BREAKING CHANGES"],revertPattern:/^Revert\s"([\s\S]*)"\s*This reverts commit (\w*)\./,issuePrefixes:["1b9fe48b-292c-46e7-bfde-0599639d0ec0"],referenceActions:["b6db85c1-4860-4275-88e3-bd9917a0b29f"]},p=oe;r();var re={transform:(t,e)=>I(t,e),groupBy:"type",commitGroupsSort:["order","title"],commitsSort:["scope","subject"],noteGroupsSort:["title"],notesSort:["title"]},f=re;var ne={parserOpts:p,writerOpts:f},A=ne;r();var ie={parserOpts:p,whatBump:t=>{let e=2,o=0,n=0;return t.forEach(i=>{i.notes.length>0?(o+=i.notes.length,e=0):i.type==="feat"&&(n+=1,e===2&&(e=1))}),{level:e,reason:o===1?`There is ${o} BREAKING CHANGE and ${n} features`:`There are ${o} BREAKING CHANGES and ${n} features`}}},C=ie;r();var se={format:"%B%n-hash-%n%H%n-gitTags-%n%d%n-committerDate-%n%ci%n-authorName-%n%an%n-authorEmail-%n%ae"},S=se;var ae={conventionalChangelog:A,parserOpts:p,recommendedBumpOpts:C,writerOpts:f,gitRawCommitsOpts:S},P=ae;r();var ce=[{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:"&#1F4E6;",code:":package:",description:"Add or update compiled files or packages.",name:"package",semver:"patch"},{emoji:"\u{1F47D}\uFE0F",entity:"&#1F47D;",code:":alien:",description:"Update code due to external API changes.",name:"alien",semver:"patch"},{emoji:"\u{1F69A}",entity:"&#1F69A;",code:":truck:",description:"Move or rename resources (e.g.: files, paths, routes).",name:"truck",semver:null},{emoji:"\u{1F4C4}",entity:"&#1F4C4;",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:"&#1F371",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:"&#1f3d7;",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:"&#8bdfe7;",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}],F={gitmojis:ce};r();var me=[{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"}],O=me;r();var de={chore:{branch:"chore",code:":computer_disk:",commit:"chore",description:"Changes that don\u2019t modify src or test files",emoji:"\u{1F4BD}\uFE0F",entity:"💽",name:"computer-disk",semver:null},rollforward:{branch:null,code:":fast_forward:",commit:"rollforward",description:"Create rollforward version.",emoji:"\u23E9\uFE0F",entity:"&#23E9;",name:"rollforward",semver:null},"run-build":{branch:null,code:":rocket:",commit:"run-build",description:"Custom type for CI/CD to hook into run build override.",emoji:"\u{1F680}\uFE0F",entity:"&#1F680;",name:"run-build",semver:"patch"}},h=de;var{gitmojis:pe}=F,le=()=>(pe.map(e=>{let o=O.find(n=>(n==null?void 0:n.from)===e.name);if(o){let n=o.semver===void 0?(e==null?void 0:e.semver)||null:o.semver||(e==null?void 0:e.semver)||null;h[o.to]={branch:Boolean(o==null?void 0:o.branch)?o.branch:null,code:e==null?void 0:e.code,commit:o.to,description:e==null?void 0:e.description,emoji:e==null?void 0:e.emoji,entity:e==null?void 0:e.entity,name:e==null?void 0:e.name,semver:n?n.replace("fix","patch").replace("feature","minor").replace("breaking","major"):null}}else console.dir(`@todo(conventional-gitmoji) create rewrite for: ${e.name}`)}),Object.keys(h).sort().reduce((e,o)=>(e[o]=h[o],e),{})),T=le;r();var l=[],ue=t=>(Object.keys(t).map(e=>{let o=t[e];!!o&&!!o.semver&&(l.push({release:o.semver,type:o==null?void 0:o.code.replace(/(:[^:]*):/g,"$1")}),l.push({release:o.semver,type:o==null?void 0:o.code}),l.push({release:o.semver,type:o.commit}),l.push({release:o.semver,type:o.emoji}))}),l),G=ue;r();var z=te(H(),1),W=[],je=t=>(Object.keys(t).map(e=>{W.push({code:t[e].code,description:(0,z.default)(t[e].description.replace(".","")),emoji:t[e].emoji,semver:t[e].semver,type:t[e].commit,value:t[e].commit})}),W),L=je;var{parserOpts:it,writerOpts:st}=P,U=T(),at=G(U),v=L(U);var j=new Re,_e=(t,e)=>{let{type:o}=t,n=o,i=v.findIndex(({code:d,emoji:g,type:x,value:w})=>{if(n!==null)return n.replace(/\:/g,"")===d.replace(/\:/g,"")||n===x||n===w||n===g});if(i===-1&&(n=j.splitGraphemes(o)[0],i=v.findIndex(({emoji:d})=>{if(n!==null)return n[0]===d[0]||n[0]===j.splitGraphemes(d)[0]})),i===-1)return;let c=v[i];t.type=`${c.emoji} ${c.description}`,t.typeSpecIndex=i,t.typeSpec=c,typeof t.hash=="string"&&(t.hash=t.hash.substring(0,7));let m=j.splitGraphemes(t.subject),u=m[0]===c.emoji?t.subject.replace(K(m,[0]),"").replace(K(m,[0]),""):t.subject;return t.subject=u.trim(),t},I=_e;export{I as default};
1
+ var J=Object.create;var _=Object.defineProperty;var q=Object.getOwnPropertyDescriptor;var V=Object.getOwnPropertyNames;var X=Object.getPrototypeOf,Z=Object.prototype.hasOwnProperty;var Q=(t,e)=>()=>(t&&(e=t(t=0)),e);var f=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Y=(t,e,o,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of V(e))!Z.call(t,i)&&i!==o&&_(t,i,{get:()=>e[i],enumerable:!(n=q(e,i))||n.enumerable});return t};var ee=(t,e,o)=>(o=t!=null?J(X(t)):{},Y(e||!t||!t.__esModule?_(o,"default",{value:t,enumerable:!0}):o,t));var r=Q(()=>{});var F=f((Ue,me)=>{me.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:"&#1F4E6;",code:":package:",description:"Add or update compiled files or packages.",name:"package",semver:"patch"},{emoji:"\u{1F47D}\uFE0F",entity:"&#1F47D;",code:":alien:",description:"Update code due to external API changes.",name:"alien",semver:"patch"},{emoji:"\u{1F69A}",entity:"&#1F69A;",code:":truck:",description:"Move or rename resources (e.g.: files, paths, routes).",name:"truck",semver:null},{emoji:"\u{1F4C4}",entity:"&#1F4C4;",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:"&#1F371",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:"&#1f3d7;",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:"&#8bdfe7;",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 B=f((Xe,G)=>{r();var fe=["for","and","nor","but","or","yet","so"],he=["a","an","the"],ye=["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"];G.exports=new Set([...fe,...he,...ye])});var $=f((Ze,D)=>{r();var ve=["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"];D.exports=ve});var M=f((Qe,N)=>{r();var be=B(),ge=$(),v=`[^\\s'\u2019\\(\\)!?;:"-]`,xe=new RegExp(`(?:(?:(\\s?(?:^|[.\\(\\)!?;:"-])\\s*)(${v}))|(${v}))(${v}*[\u2019']*${v}*)`,"g"),we=t=>t.map(e=>[new RegExp(`\\b${e}\\b`,"gi"),e]);function ke(t){let e=t[0];return/\s/.test(e)?t.substr(1):/[\(\)]/.test(e)?null:t}N.exports=(t,e={})=>{t=t.toLowerCase().replace(xe,(c,m="",g,u,d,x,w)=>{let k=c.length+x>=w.length,R=ke(c);if(!R)return c;if(!g){let K=u+d;if(be.has(K)&&!k)return R}return m+(u||g).toUpperCase()+d});let o=e.special||[],n=[...ge,...o];return we(n).forEach(([c,m])=>{t=t.replace(c,m)}),t}});r();import Re from"grapheme-splitter";import U from"lodash/pullAt.js";r();r();r();r();var te={headerPattern:/^(.*?)(?:\((.*)\))?:?\s(.*)$/,headerCorrespondence:["type","scope","subject","ticket"],noteKeywords:["BREAKING CHANGE","BREAKING CHANGES"],revertPattern:/^Revert\s"([\s\S]*)"\s*This reverts commit (\w*)\./,issuePrefixes:["1b9fe48b-292c-46e7-bfde-0599639d0ec0"],referenceActions:["b6db85c1-4860-4275-88e3-bd9917a0b29f"]},p=te;r();var oe={transform:(t,e)=>I(t,e),groupBy:"type",commitGroupsSort:["order","title"],commitsSort:["scope","subject"],noteGroupsSort:["title"],notesSort:["title"]},h=oe;var re={parserOpts:p,writerOpts:h},A=re;r();var ne={parserOpts:p,whatBump:t=>{let e=2,o=0,n=0;return t.forEach(i=>{i.notes.length>0?(o+=i.notes.length,e=0):i.type==="feat"&&(n+=1,e===2&&(e=1))}),{level:e,reason:o===1?`There is ${o} BREAKING CHANGE and ${n} features`:`There are ${o} BREAKING CHANGES and ${n} features`}}},C=ne;r();var ie={format:"%B%n-hash-%n%H%n-gitTags-%n%d%n-committerDate-%n%ci%n-authorName-%n%an%n-authorEmail-%n%ae"},S=ie;var se={conventionalChangelog:A,parserOpts:p,recommendedBumpOpts:C,writerOpts:h,gitRawCommitsOpts:S},P=se;r();r();var ae=[{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=ae;r();var ce={chore:{branch:"chore",code:":computer_disk:",commit:"chore",description:"Changes that don\u2019t modify src or test files",emoji:"\u{1F4BD}\uFE0F",entity:"💽",name:"computer-disk",semver:null},rollforward:{branch:null,code:":fast_forward:",commit:"rollforward",description:"Create rollforward version.",emoji:"\u23E9\uFE0F",entity:"&#23E9;",name:"rollforward",semver:null},"run-build":{branch:null,code:":rocket:",commit:"run-build",description:"Custom type for CI/CD to hook into run build override.",emoji:"\u{1F680}\uFE0F",entity:"&#1F680;",name:"run-build",semver:"patch"}},y=ce;var de=F(),{gitmojis:pe}=de,le=()=>(pe.map(e=>{let o=E.find(n=>(n==null?void 0:n.from)===e.name);if(o){let n=o.semver===void 0?(e==null?void 0:e.semver)||null:o.semver||(e==null?void 0:e.semver)||null;y[o.to]={branch:Boolean(o==null?void 0:o.branch)?o.branch:null,code:e==null?void 0:e.code,commit:o.to,description:e==null?void 0:e.description,emoji:e==null?void 0:e.emoji,entity:e==null?void 0:e.entity,name:e==null?void 0:e.name,semver:n?n.replace("fix","patch").replace("feature","minor").replace("breaking","major"):null}}else console.dir(`@todo(conventional-gitmoji) create rewrite for: ${e.name}`)}),Object.keys(y).sort().reduce((e,o)=>(e[o]=y[o],e),{})),O=le;r();var l=[],ue=t=>(Object.keys(t).map(e=>{let o=t[e];!!o&&!!o.semver&&(l.push({release:o.semver,type:o==null?void 0:o.code.replace(/(:[^:]*):/g,"$1")}),l.push({release:o.semver,type:o==null?void 0:o.code}),l.push({release:o.semver,type:o.commit}),l.push({release:o.semver,type:o.emoji}))}),l),T=ue;r();var W=ee(M(),1),H=[],je=t=>(Object.keys(t).map(e=>{H.push({code:t[e].code,description:(0,W.default)(t[e].description.replace(".","")),emoji:t[e].emoji,semver:t[e].semver,type:t[e].commit,value:t[e].commit})}),H),z=je;var{parserOpts:nt,writerOpts:it}=P,L=O(),st=T(L),b=z(L);var j=new Re,_e=(t,e)=>{let{type:o}=t,n=o,i=b.findIndex(({code:d,emoji:x,type:w,value:k})=>{if(n!==null)return n.replace(/\:/g,"")===d.replace(/\:/g,"")||n===w||n===k||n===x});if(i===-1&&(n=j.splitGraphemes(o)[0],i=b.findIndex(({emoji:d})=>{if(n!==null)return n[0]===d[0]||n[0]===j.splitGraphemes(d)[0]})),i===-1)return;let c=b[i];t.type=`${c.emoji} ${c.description}`,t.typeSpecIndex=i,t.typeSpec=c,typeof t.hash=="string"&&(t.hash=t.hash.substring(0,7));let m=j.splitGraphemes(t.subject),u=m[0]===c.emoji?t.subject.replace(U(m,[0]),"").replace(U(m,[0]),""):t.subject;return t.subject=u.trim(),t},I=_e;export{I as default};
@@ -1 +1 @@
1
- var q=Object.create;var f=Object.defineProperty;var Z=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var Y=Object.getPrototypeOf,ee=Object.prototype.hasOwnProperty;var te=(t,e)=>()=>(t&&(e=t(t=0)),e);var k=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),oe=(t,e)=>{for(var o in e)f(t,o,{get:e[o],enumerable:!0})},A=(t,e,o,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Q(e))!ee.call(t,i)&&i!==o&&f(t,i,{get:()=>e[i],enumerable:!(n=Z(e,i))||n.enumerable});return t};var j=(t,e,o)=>(o=t!=null?q(Y(t)):{},A(e||!t||!t.__esModule?f(o,"default",{value:t,enumerable:!0}):o,t)),re=t=>A(f({},"__esModule",{value:!0}),t);var r=te(()=>{});var D=k((Ze,$)=>{r();var he=["for","and","nor","but","or","yet","so"],ye=["a","an","the"],ve=["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([...he,...ye,...ve])});var N=k((Qe,M)=>{r();var be=["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"];M.exports=be});var H=k((Ye,U)=>{r();var ge=D(),xe=N(),y=`[^\\s'\u2019\\(\\)!?;:"-]`,we=new RegExp(`(?:(?:(\\s?(?:^|[.\\(\\)!?;:"-])\\s*)(${y}))|(${y}))(${y}*[\u2019']*${y}*)`,"g"),ke=t=>t.map(e=>[new RegExp(`\\b${e}\\b`,"gi"),e]);function je(t){let e=t[0];return/\s/.test(e)?t.substr(1):/[\(\)]/.test(e)?null:t}U.exports=(t,e={})=>{t=t.toLowerCase().replace(we,(a,c="",b,u,m,g,x)=>{let w=a.length+g>=x.length,_=je(a);if(!_)return a;if(!b){let X=u+m;if(ge.has(X)&&!w)return _}return c+(u||b).toUpperCase()+m});let o=e.special||[],n=[...xe,...o];return ke(n).forEach(([a,c])=>{t=t.replace(a,c)}),t}});var Ae={};oe(Ae,{default:()=>p});module.exports=re(Ae);r();r();var J=j(require("grapheme-splitter"),1),I=j(require("lodash/pullAt.js"),1);r();r();r();r();var ne={headerPattern:/^(.*?)(?:\((.*)\))?:?\s(.*)$/,headerCorrespondence:["type","scope","subject","ticket"],noteKeywords:["BREAKING CHANGE","BREAKING CHANGES"],revertPattern:/^Revert\s"([\s\S]*)"\s*This reverts commit (\w*)\./,issuePrefixes:["1b9fe48b-292c-46e7-bfde-0599639d0ec0"],referenceActions:["b6db85c1-4860-4275-88e3-bd9917a0b29f"]},d=ne;var ie={parserOpts:d,writerOpts:p},S=ie;r();var se={parserOpts:d,whatBump:t=>{let e=2,o=0,n=0;return t.forEach(i=>{i.notes.length>0?(o+=i.notes.length,e=0):i.type==="feat"&&(n+=1,e===2&&(e=1))}),{level:e,reason:o===1?`There is ${o} BREAKING CHANGE and ${n} features`:`There are ${o} BREAKING CHANGES and ${n} features`}}},C=se;r();var ae={format:"%B%n-hash-%n%H%n-gitTags-%n%d%n-committerDate-%n%ci%n-authorName-%n%an%n-authorEmail-%n%ae"},P=ae;var ce={conventionalChangelog:S,parserOpts:d,recommendedBumpOpts:C,writerOpts:p,gitRawCommitsOpts:P},E=ce;r();var me=[{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:"&#1F4E6;",code:":package:",description:"Add or update compiled files or packages.",name:"package",semver:"patch"},{emoji:"\u{1F47D}\uFE0F",entity:"&#1F47D;",code:":alien:",description:"Update code due to external API changes.",name:"alien",semver:"patch"},{emoji:"\u{1F69A}",entity:"&#1F69A;",code:":truck:",description:"Move or rename resources (e.g.: files, paths, routes).",name:"truck",semver:null},{emoji:"\u{1F4C4}",entity:"&#1F4C4;",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:"&#1F371",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:"&#1f3d7;",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:"&#8bdfe7;",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}],O={gitmojis:me};r();var de=[{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"}],T=de;r();var pe={chore:{branch:"chore",code:":computer_disk:",commit:"chore",description:"Changes that don\u2019t modify src or test files",emoji:"\u{1F4BD}\uFE0F",entity:"💽",name:"computer-disk",semver:null},rollforward:{branch:null,code:":fast_forward:",commit:"rollforward",description:"Create rollforward version.",emoji:"\u23E9\uFE0F",entity:"&#23E9;",name:"rollforward",semver:null},"run-build":{branch:null,code:":rocket:",commit:"run-build",description:"Custom type for CI/CD to hook into run build override.",emoji:"\u{1F680}\uFE0F",entity:"&#1F680;",name:"run-build",semver:"patch"}},h=pe;var{gitmojis:le}=O,ue=()=>(le.map(e=>{let o=T.find(n=>(n==null?void 0:n.from)===e.name);if(o){let n=o.semver===void 0?(e==null?void 0:e.semver)||null:o.semver||(e==null?void 0:e.semver)||null;h[o.to]={branch:Boolean(o==null?void 0:o.branch)?o.branch:null,code:e==null?void 0:e.code,commit:o.to,description:e==null?void 0:e.description,emoji:e==null?void 0:e.emoji,entity:e==null?void 0:e.entity,name:e==null?void 0:e.name,semver:n?n.replace("fix","patch").replace("feature","minor").replace("breaking","major"):null}}else console.dir(`@todo(conventional-gitmoji) create rewrite for: ${e.name}`)}),Object.keys(h).sort().reduce((e,o)=>(e[o]=h[o],e),{})),G=ue;r();var l=[],fe=t=>(Object.keys(t).map(e=>{let o=t[e];!!o&&!!o.semver&&(l.push({release:o.semver,type:o==null?void 0:o.code.replace(/(:[^:]*):/g,"$1")}),l.push({release:o.semver,type:o==null?void 0:o.code}),l.push({release:o.semver,type:o.commit}),l.push({release:o.semver,type:o.emoji}))}),l),B=fe;r();var W=j(H(),1),L=[],Re=t=>(Object.keys(t).map(e=>{L.push({code:t[e].code,description:(0,W.default)(t[e].description.replace(".","")),emoji:t[e].emoji,semver:t[e].semver,type:t[e].commit,value:t[e].commit})}),L),z=Re;var{parserOpts:it,writerOpts:st}=E,K=G(),at=B(K),v=z(K);var R=new J.default,Ie=(t,e)=>{let{type:o}=t,n=o,i=v.findIndex(({code:m,emoji:g,type:x,value:w})=>{if(n!==null)return n.replace(/\:/g,"")===m.replace(/\:/g,"")||n===x||n===w||n===g});if(i===-1&&(n=R.splitGraphemes(o)[0],i=v.findIndex(({emoji:m})=>{if(n!==null)return n[0]===m[0]||n[0]===R.splitGraphemes(m)[0]})),i===-1)return;let a=v[i];t.type=`${a.emoji} ${a.description}`,t.typeSpecIndex=i,t.typeSpec=a,typeof t.hash=="string"&&(t.hash=t.hash.substring(0,7));let c=R.splitGraphemes(t.subject),u=c[0]===a.emoji?t.subject.replace((0,I.default)(c,[0]),"").replace((0,I.default)(c,[0]),""):t.subject;return t.subject=u.trim(),t},V=Ie;var _e={transform:(t,e)=>V(t,e),groupBy:"type",commitGroupsSort:["order","title"],commitsSort:["scope","subject"],noteGroupsSort:["title"],notesSort:["title"]},p=_e;0&&(module.exports={});
1
+ var V=Object.create;var f=Object.defineProperty;var X=Object.getOwnPropertyDescriptor;var Z=Object.getOwnPropertyNames;var Q=Object.getPrototypeOf,Y=Object.prototype.hasOwnProperty;var ee=(t,e)=>()=>(t&&(e=t(t=0)),e);var h=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),te=(t,e)=>{for(var o in e)f(t,o,{get:e[o],enumerable:!0})},A=(t,e,o,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Z(e))!Y.call(t,i)&&i!==o&&f(t,i,{get:()=>e[i],enumerable:!(n=X(e,i))||n.enumerable});return t};var j=(t,e,o)=>(o=t!=null?V(Q(t)):{},A(e||!t||!t.__esModule?f(o,"default",{value:t,enumerable:!0}):o,t)),oe=t=>A(f({},"__esModule",{value:!0}),t);var r=ee(()=>{});var O=h((ze,de)=>{de.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:"&#1F4E6;",code:":package:",description:"Add or update compiled files or packages.",name:"package",semver:"patch"},{emoji:"\u{1F47D}\uFE0F",entity:"&#1F47D;",code:":alien:",description:"Update code due to external API changes.",name:"alien",semver:"patch"},{emoji:"\u{1F69A}",entity:"&#1F69A;",code:":truck:",description:"Move or rename resources (e.g.: files, paths, routes).",name:"truck",semver:null},{emoji:"\u{1F4C4}",entity:"&#1F4C4;",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:"&#1F371",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:"&#1f3d7;",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:"&#8bdfe7;",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((Xe,B)=>{r();var he=["for","and","nor","but","or","yet","so"],ye=["a","an","the"],ve=["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([...he,...ye,...ve])});var M=h((Ze,D)=>{r();var be=["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"];D.exports=be});var U=h((Qe,N)=>{r();var ge=$(),xe=M(),v=`[^\\s'\u2019\\(\\)!?;:"-]`,we=new RegExp(`(?:(?:(\\s?(?:^|[.\\(\\)!?;:"-])\\s*)(${v}))|(${v}))(${v}*[\u2019']*${v}*)`,"g"),ke=t=>t.map(e=>[new RegExp(`\\b${e}\\b`,"gi"),e]);function je(t){let e=t[0];return/\s/.test(e)?t.substr(1):/[\(\)]/.test(e)?null:t}N.exports=(t,e={})=>{t=t.toLowerCase().replace(we,(a,c="",g,u,m,x,w)=>{let k=a.length+x>=w.length,_=je(a);if(!_)return a;if(!g){let q=u+m;if(ge.has(q)&&!k)return _}return c+(u||g).toUpperCase()+m});let o=e.special||[],n=[...xe,...o];return ke(n).forEach(([a,c])=>{t=t.replace(a,c)}),t}});var Ae={};te(Ae,{default:()=>p});module.exports=oe(Ae);r();r();var K=j(require("grapheme-splitter"),1),I=j(require("lodash/pullAt.js"),1);r();r();r();r();var re={headerPattern:/^(.*?)(?:\((.*)\))?:?\s(.*)$/,headerCorrespondence:["type","scope","subject","ticket"],noteKeywords:["BREAKING CHANGE","BREAKING CHANGES"],revertPattern:/^Revert\s"([\s\S]*)"\s*This reverts commit (\w*)\./,issuePrefixes:["1b9fe48b-292c-46e7-bfde-0599639d0ec0"],referenceActions:["b6db85c1-4860-4275-88e3-bd9917a0b29f"]},d=re;var ne={parserOpts:d,writerOpts:p},S=ne;r();var ie={parserOpts:d,whatBump:t=>{let e=2,o=0,n=0;return t.forEach(i=>{i.notes.length>0?(o+=i.notes.length,e=0):i.type==="feat"&&(n+=1,e===2&&(e=1))}),{level:e,reason:o===1?`There is ${o} BREAKING CHANGE and ${n} features`:`There are ${o} BREAKING CHANGES and ${n} features`}}},C=ie;r();var se={format:"%B%n-hash-%n%H%n-gitTags-%n%d%n-committerDate-%n%ci%n-authorName-%n%an%n-authorEmail-%n%ae"},P=se;var ae={conventionalChangelog:S,parserOpts:d,recommendedBumpOpts:C,writerOpts:p,gitRawCommitsOpts:P},E=ae;r();r();var ce=[{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"}],F=ce;r();var me={chore:{branch:"chore",code:":computer_disk:",commit:"chore",description:"Changes that don\u2019t modify src or test files",emoji:"\u{1F4BD}\uFE0F",entity:"💽",name:"computer-disk",semver:null},rollforward:{branch:null,code:":fast_forward:",commit:"rollforward",description:"Create rollforward version.",emoji:"\u23E9\uFE0F",entity:"&#23E9;",name:"rollforward",semver:null},"run-build":{branch:null,code:":rocket:",commit:"run-build",description:"Custom type for CI/CD to hook into run build override.",emoji:"\u{1F680}\uFE0F",entity:"&#1F680;",name:"run-build",semver:"patch"}},y=me;var pe=O(),{gitmojis:le}=pe,ue=()=>(le.map(e=>{let o=F.find(n=>(n==null?void 0:n.from)===e.name);if(o){let n=o.semver===void 0?(e==null?void 0:e.semver)||null:o.semver||(e==null?void 0:e.semver)||null;y[o.to]={branch:Boolean(o==null?void 0:o.branch)?o.branch:null,code:e==null?void 0:e.code,commit:o.to,description:e==null?void 0:e.description,emoji:e==null?void 0:e.emoji,entity:e==null?void 0:e.entity,name:e==null?void 0:e.name,semver:n?n.replace("fix","patch").replace("feature","minor").replace("breaking","major"):null}}else console.dir(`@todo(conventional-gitmoji) create rewrite for: ${e.name}`)}),Object.keys(y).sort().reduce((e,o)=>(e[o]=y[o],e),{})),T=ue;r();var l=[],fe=t=>(Object.keys(t).map(e=>{let o=t[e];!!o&&!!o.semver&&(l.push({release:o.semver,type:o==null?void 0:o.code.replace(/(:[^:]*):/g,"$1")}),l.push({release:o.semver,type:o==null?void 0:o.code}),l.push({release:o.semver,type:o.commit}),l.push({release:o.semver,type:o.emoji}))}),l),G=fe;r();var L=j(U(),1),H=[],Re=t=>(Object.keys(t).map(e=>{H.push({code:t[e].code,description:(0,L.default)(t[e].description.replace(".","")),emoji:t[e].emoji,semver:t[e].semver,type:t[e].commit,value:t[e].commit})}),H),W=Re;var{parserOpts:nt,writerOpts:it}=E,z=T(),st=G(z),b=W(z);var R=new K.default,Ie=(t,e)=>{let{type:o}=t,n=o,i=b.findIndex(({code:m,emoji:x,type:w,value:k})=>{if(n!==null)return n.replace(/\:/g,"")===m.replace(/\:/g,"")||n===w||n===k||n===x});if(i===-1&&(n=R.splitGraphemes(o)[0],i=b.findIndex(({emoji:m})=>{if(n!==null)return n[0]===m[0]||n[0]===R.splitGraphemes(m)[0]})),i===-1)return;let a=b[i];t.type=`${a.emoji} ${a.description}`,t.typeSpecIndex=i,t.typeSpec=a,typeof t.hash=="string"&&(t.hash=t.hash.substring(0,7));let c=R.splitGraphemes(t.subject),u=c[0]===a.emoji?t.subject.replace((0,I.default)(c,[0]),"").replace((0,I.default)(c,[0]),""):t.subject;return t.subject=u.trim(),t},J=Ie;var _e={transform:(t,e)=>J(t,e),groupBy:"type",commitGroupsSort:["order","title"],commitsSort:["scope","subject"],noteGroupsSort:["title"],notesSort:["title"]},p=_e;0&&(module.exports={});
@@ -1 +1 @@
1
- var V=Object.create;var _=Object.defineProperty;var X=Object.getOwnPropertyDescriptor;var q=Object.getOwnPropertyNames;var Z=Object.getPrototypeOf,Q=Object.prototype.hasOwnProperty;var Y=(t,e)=>()=>(t&&(e=t(t=0)),e);var k=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var ee=(t,e,o,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of q(e))!Q.call(t,i)&&i!==o&&_(t,i,{get:()=>e[i],enumerable:!(n=X(e,i))||n.enumerable});return t};var te=(t,e,o)=>(o=t!=null?V(Z(t)):{},ee(e||!t||!t.__esModule?_(o,"default",{value:t,enumerable:!0}):o,t));var r=Y(()=>{});var B=k((Xe,G)=>{r();var ue=["for","and","nor","but","or","yet","so"],fe=["a","an","the"],he=["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"];G.exports=new Set([...ue,...fe,...he])});var $=k((qe,D)=>{r();var ye=["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"];D.exports=ye});var M=k((Ze,N)=>{r();var ve=B(),be=$(),y=`[^\\s'\u2019\\(\\)!?;:"-]`,ge=new RegExp(`(?:(?:(\\s?(?:^|[.\\(\\)!?;:"-])\\s*)(${y}))|(${y}))(${y}*[\u2019']*${y}*)`,"g"),xe=t=>t.map(e=>[new RegExp(`\\b${e}\\b`,"gi"),e]);function we(t){let e=t[0];return/\s/.test(e)?t.substr(1):/[\(\)]/.test(e)?null:t}N.exports=(t,e={})=>{t=t.toLowerCase().replace(ge,(c,m="",b,u,d,g,x)=>{let w=c.length+g>=x.length,R=we(c);if(!R)return c;if(!b){let J=u+d;if(ve.has(J)&&!w)return R}return m+(u||b).toUpperCase()+d});let o=e.special||[],n=[...be,...o];return xe(n).forEach(([c,m])=>{t=t.replace(c,m)}),t}});r();r();import je from"grapheme-splitter";import U from"lodash/pullAt.js";r();r();r();r();var oe={headerPattern:/^(.*?)(?:\((.*)\))?:?\s(.*)$/,headerCorrespondence:["type","scope","subject","ticket"],noteKeywords:["BREAKING CHANGE","BREAKING CHANGES"],revertPattern:/^Revert\s"([\s\S]*)"\s*This reverts commit (\w*)\./,issuePrefixes:["1b9fe48b-292c-46e7-bfde-0599639d0ec0"],referenceActions:["b6db85c1-4860-4275-88e3-bd9917a0b29f"]},p=oe;var re={parserOpts:p,writerOpts:f},I=re;r();var ne={parserOpts:p,whatBump:t=>{let e=2,o=0,n=0;return t.forEach(i=>{i.notes.length>0?(o+=i.notes.length,e=0):i.type==="feat"&&(n+=1,e===2&&(e=1))}),{level:e,reason:o===1?`There is ${o} BREAKING CHANGE and ${n} features`:`There are ${o} BREAKING CHANGES and ${n} features`}}},A=ne;r();var ie={format:"%B%n-hash-%n%H%n-gitTags-%n%d%n-committerDate-%n%ci%n-authorName-%n%an%n-authorEmail-%n%ae"},C=ie;var se={conventionalChangelog:I,parserOpts:p,recommendedBumpOpts:A,writerOpts:f,gitRawCommitsOpts:C},S=se;r();var ae=[{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:"&#1F4E6;",code:":package:",description:"Add or update compiled files or packages.",name:"package",semver:"patch"},{emoji:"\u{1F47D}\uFE0F",entity:"&#1F47D;",code:":alien:",description:"Update code due to external API changes.",name:"alien",semver:"patch"},{emoji:"\u{1F69A}",entity:"&#1F69A;",code:":truck:",description:"Move or rename resources (e.g.: files, paths, routes).",name:"truck",semver:null},{emoji:"\u{1F4C4}",entity:"&#1F4C4;",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:"&#1F371",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:"&#1f3d7;",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:"&#8bdfe7;",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}],E={gitmojis:ae};r();var ce=[{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"}],F=ce;r();var me={chore:{branch:"chore",code:":computer_disk:",commit:"chore",description:"Changes that don\u2019t modify src or test files",emoji:"\u{1F4BD}\uFE0F",entity:"💽",name:"computer-disk",semver:null},rollforward:{branch:null,code:":fast_forward:",commit:"rollforward",description:"Create rollforward version.",emoji:"\u23E9\uFE0F",entity:"&#23E9;",name:"rollforward",semver:null},"run-build":{branch:null,code:":rocket:",commit:"run-build",description:"Custom type for CI/CD to hook into run build override.",emoji:"\u{1F680}\uFE0F",entity:"&#1F680;",name:"run-build",semver:"patch"}},h=me;var{gitmojis:de}=E,pe=()=>(de.map(e=>{let o=F.find(n=>(n==null?void 0:n.from)===e.name);if(o){let n=o.semver===void 0?(e==null?void 0:e.semver)||null:o.semver||(e==null?void 0:e.semver)||null;h[o.to]={branch:Boolean(o==null?void 0:o.branch)?o.branch:null,code:e==null?void 0:e.code,commit:o.to,description:e==null?void 0:e.description,emoji:e==null?void 0:e.emoji,entity:e==null?void 0:e.entity,name:e==null?void 0:e.name,semver:n?n.replace("fix","patch").replace("feature","minor").replace("breaking","major"):null}}else console.dir(`@todo(conventional-gitmoji) create rewrite for: ${e.name}`)}),Object.keys(h).sort().reduce((e,o)=>(e[o]=h[o],e),{})),O=pe;r();var l=[],le=t=>(Object.keys(t).map(e=>{let o=t[e];!!o&&!!o.semver&&(l.push({release:o.semver,type:o==null?void 0:o.code.replace(/(:[^:]*):/g,"$1")}),l.push({release:o.semver,type:o==null?void 0:o.code}),l.push({release:o.semver,type:o.commit}),l.push({release:o.semver,type:o.emoji}))}),l),T=le;r();var W=te(M(),1),H=[],ke=t=>(Object.keys(t).map(e=>{H.push({code:t[e].code,description:(0,W.default)(t[e].description.replace(".","")),emoji:t[e].emoji,semver:t[e].semver,type:t[e].commit,value:t[e].commit})}),H),z=ke;var{parserOpts:rt,writerOpts:nt}=S,L=O(),it=T(L),v=z(L);var j=new je,Re=(t,e)=>{let{type:o}=t,n=o,i=v.findIndex(({code:d,emoji:g,type:x,value:w})=>{if(n!==null)return n.replace(/\:/g,"")===d.replace(/\:/g,"")||n===x||n===w||n===g});if(i===-1&&(n=j.splitGraphemes(o)[0],i=v.findIndex(({emoji:d})=>{if(n!==null)return n[0]===d[0]||n[0]===j.splitGraphemes(d)[0]})),i===-1)return;let c=v[i];t.type=`${c.emoji} ${c.description}`,t.typeSpecIndex=i,t.typeSpec=c,typeof t.hash=="string"&&(t.hash=t.hash.substring(0,7));let m=j.splitGraphemes(t.subject),u=m[0]===c.emoji?t.subject.replace(U(m,[0]),"").replace(U(m,[0]),""):t.subject;return t.subject=u.trim(),t},K=Re;var _e={transform:(t,e)=>K(t,e),groupBy:"type",commitGroupsSort:["order","title"],commitsSort:["scope","subject"],noteGroupsSort:["title"],notesSort:["title"]},f=_e;export{f as default};
1
+ var J=Object.create;var _=Object.defineProperty;var q=Object.getOwnPropertyDescriptor;var V=Object.getOwnPropertyNames;var X=Object.getPrototypeOf,Z=Object.prototype.hasOwnProperty;var Q=(t,e)=>()=>(t&&(e=t(t=0)),e);var f=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Y=(t,e,o,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of V(e))!Z.call(t,i)&&i!==o&&_(t,i,{get:()=>e[i],enumerable:!(n=q(e,i))||n.enumerable});return t};var ee=(t,e,o)=>(o=t!=null?J(X(t)):{},Y(e||!t||!t.__esModule?_(o,"default",{value:t,enumerable:!0}):o,t));var r=Q(()=>{});var E=f((ze,ce)=>{ce.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:"&#1F4E6;",code:":package:",description:"Add or update compiled files or packages.",name:"package",semver:"patch"},{emoji:"\u{1F47D}\uFE0F",entity:"&#1F47D;",code:":alien:",description:"Update code due to external API changes.",name:"alien",semver:"patch"},{emoji:"\u{1F69A}",entity:"&#1F69A;",code:":truck:",description:"Move or rename resources (e.g.: files, paths, routes).",name:"truck",semver:null},{emoji:"\u{1F4C4}",entity:"&#1F4C4;",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:"&#1F371",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:"&#1f3d7;",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:"&#8bdfe7;",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 G=f((qe,T)=>{r();var ue=["for","and","nor","but","or","yet","so"],fe=["a","an","the"],he=["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"];T.exports=new Set([...ue,...fe,...he])});var D=f((Ve,B)=>{r();var ye=["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"];B.exports=ye});var N=f((Xe,$)=>{r();var ve=G(),be=D(),v=`[^\\s'\u2019\\(\\)!?;:"-]`,ge=new RegExp(`(?:(?:(\\s?(?:^|[.\\(\\)!?;:"-])\\s*)(${v}))|(${v}))(${v}*[\u2019']*${v}*)`,"g"),xe=t=>t.map(e=>[new RegExp(`\\b${e}\\b`,"gi"),e]);function we(t){let e=t[0];return/\s/.test(e)?t.substr(1):/[\(\)]/.test(e)?null:t}$.exports=(t,e={})=>{t=t.toLowerCase().replace(ge,(c,m="",g,u,d,x,w)=>{let k=c.length+x>=w.length,R=we(c);if(!R)return c;if(!g){let K=u+d;if(ve.has(K)&&!k)return R}return m+(u||g).toUpperCase()+d});let o=e.special||[],n=[...be,...o];return xe(n).forEach(([c,m])=>{t=t.replace(c,m)}),t}});r();r();import je from"grapheme-splitter";import L from"lodash/pullAt.js";r();r();r();r();var te={headerPattern:/^(.*?)(?:\((.*)\))?:?\s(.*)$/,headerCorrespondence:["type","scope","subject","ticket"],noteKeywords:["BREAKING CHANGE","BREAKING CHANGES"],revertPattern:/^Revert\s"([\s\S]*)"\s*This reverts commit (\w*)\./,issuePrefixes:["1b9fe48b-292c-46e7-bfde-0599639d0ec0"],referenceActions:["b6db85c1-4860-4275-88e3-bd9917a0b29f"]},p=te;var oe={parserOpts:p,writerOpts:h},I=oe;r();var re={parserOpts:p,whatBump:t=>{let e=2,o=0,n=0;return t.forEach(i=>{i.notes.length>0?(o+=i.notes.length,e=0):i.type==="feat"&&(n+=1,e===2&&(e=1))}),{level:e,reason:o===1?`There is ${o} BREAKING CHANGE and ${n} features`:`There are ${o} BREAKING CHANGES and ${n} features`}}},A=re;r();var ne={format:"%B%n-hash-%n%H%n-gitTags-%n%d%n-committerDate-%n%ci%n-authorName-%n%an%n-authorEmail-%n%ae"},C=ne;var ie={conventionalChangelog:I,parserOpts:p,recommendedBumpOpts:A,writerOpts:h,gitRawCommitsOpts:C},S=ie;r();r();var se=[{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"}],P=se;r();var ae={chore:{branch:"chore",code:":computer_disk:",commit:"chore",description:"Changes that don\u2019t modify src or test files",emoji:"\u{1F4BD}\uFE0F",entity:"💽",name:"computer-disk",semver:null},rollforward:{branch:null,code:":fast_forward:",commit:"rollforward",description:"Create rollforward version.",emoji:"\u23E9\uFE0F",entity:"&#23E9;",name:"rollforward",semver:null},"run-build":{branch:null,code:":rocket:",commit:"run-build",description:"Custom type for CI/CD to hook into run build override.",emoji:"\u{1F680}\uFE0F",entity:"&#1F680;",name:"run-build",semver:"patch"}},y=ae;var me=E(),{gitmojis:de}=me,pe=()=>(de.map(e=>{let o=P.find(n=>(n==null?void 0:n.from)===e.name);if(o){let n=o.semver===void 0?(e==null?void 0:e.semver)||null:o.semver||(e==null?void 0:e.semver)||null;y[o.to]={branch:Boolean(o==null?void 0:o.branch)?o.branch:null,code:e==null?void 0:e.code,commit:o.to,description:e==null?void 0:e.description,emoji:e==null?void 0:e.emoji,entity:e==null?void 0:e.entity,name:e==null?void 0:e.name,semver:n?n.replace("fix","patch").replace("feature","minor").replace("breaking","major"):null}}else console.dir(`@todo(conventional-gitmoji) create rewrite for: ${e.name}`)}),Object.keys(y).sort().reduce((e,o)=>(e[o]=y[o],e),{})),F=pe;r();var l=[],le=t=>(Object.keys(t).map(e=>{let o=t[e];!!o&&!!o.semver&&(l.push({release:o.semver,type:o==null?void 0:o.code.replace(/(:[^:]*):/g,"$1")}),l.push({release:o.semver,type:o==null?void 0:o.code}),l.push({release:o.semver,type:o.commit}),l.push({release:o.semver,type:o.emoji}))}),l),O=le;r();var H=ee(N(),1),M=[],ke=t=>(Object.keys(t).map(e=>{M.push({code:t[e].code,description:(0,H.default)(t[e].description.replace(".","")),emoji:t[e].emoji,semver:t[e].semver,type:t[e].commit,value:t[e].commit})}),M),W=ke;var{parserOpts:ot,writerOpts:rt}=S,z=F(),nt=O(z),b=W(z);var j=new je,Re=(t,e)=>{let{type:o}=t,n=o,i=b.findIndex(({code:d,emoji:x,type:w,value:k})=>{if(n!==null)return n.replace(/\:/g,"")===d.replace(/\:/g,"")||n===w||n===k||n===x});if(i===-1&&(n=j.splitGraphemes(o)[0],i=b.findIndex(({emoji:d})=>{if(n!==null)return n[0]===d[0]||n[0]===j.splitGraphemes(d)[0]})),i===-1)return;let c=b[i];t.type=`${c.emoji} ${c.description}`,t.typeSpecIndex=i,t.typeSpec=c,typeof t.hash=="string"&&(t.hash=t.hash.substring(0,7));let m=j.splitGraphemes(t.subject),u=m[0]===c.emoji?t.subject.replace(L(m,[0]),"").replace(L(m,[0]),""):t.subject;return t.subject=u.trim(),t},U=Re;var _e={transform:(t,e)=>U(t,e),groupBy:"type",commitGroupsSort:["order","title"],commitsSort:["scope","subject"],noteGroupsSort:["title"],notesSort:["title"]},h=_e;export{h as default};