@jeromefitz/conventional-gitmoji 3.0.1 → 3.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/changelog/config.cjs +1 -1
- package/changelog/index.cjs +1 -1
- package/changelog/index.js +1 -1
- package/changelog/utils/conventionalChangelog.cjs +1 -1
- package/changelog/utils/conventionalChangelog.js +1 -1
- package/changelog/utils/conventionalRecommendedBump.cjs +1 -1
- package/changelog/utils/gitRawCommit.cjs +1 -1
- package/changelog/utils/parserOpts.cjs +1 -1
- package/changelog/utils/transformer.cjs +1 -1
- package/changelog/utils/transformer.js +1 -1
- package/changelog/utils/writerOpts.cjs +1 -1
- package/changelog/utils/writerOpts.js +1 -1
- package/config/rewrites.cjs +1 -1
- package/config/types.cjs +1 -1
- package/config/types.d.ts +2 -2
- package/index.cjs +1 -1
- package/index.d.ts +5 -5
- package/index.js +1 -1
- package/package.json +2 -2
- package/types/commit.cjs +1 -1
- package/types/commit.d.ts +1 -1
- package/types/commit.types.cjs +1 -1
- package/types/index.cjs +1 -1
- package/types/index.d.ts +4 -4
- package/types/releaseRule.cjs +1 -1
- package/types/releaseRule.d.ts +2 -2
- package/types/releaseRule.types.cjs +1 -1
- package/types/releaseRule.types.d.ts +1 -1
- package/utils/getGitmojiConventional.cjs +1 -1
- package/utils/getGitmojiConventional.d.ts +2 -2
- package/utils/getReleaseRules.cjs +1 -1
- package/utils/getReleaseRules.d.ts +2 -2
- package/utils/getTypeSpecs.cjs +1 -1
- package/utils/getTypeSpecs.d.ts +2 -2
- package/utils/getTypeSpecs.js +1 -1
package/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var Z=Object.create;var f=Object.defineProperty;var Q=Object.getOwnPropertyDescriptor;var Y=Object.getOwnPropertyNames;var ee=Object.getPrototypeOf,te=Object.prototype.hasOwnProperty;var C=t=>f(t,"__esModule",{value:!0});var oe=(t,e)=>()=>(t&&(e=t(t=0)),e);var k=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),re=(t,e)=>{for(var o in e)f(t,o,{get:e[o],enumerable:!0})},P=(t,e,o,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Y(e))!te.call(t,i)&&(o||i!=="default")&&f(t,i,{get:()=>e[i],enumerable:!(n=Q(e,i))||n.enumerable});return t},j=(t,e)=>P(C(f(t!=null?Z(ee(t)):{},"default",!e&&t&&t.__esModule?{get:()=>t.default,enumerable:!0}:{value:t,enumerable:!0})),t),ne=(t=>(e,o)=>t&&t.get(e)||(o=P(C({}),e,1),t&&t.set(e,o),o))(typeof WeakMap!="undefined"?new WeakMap:0);var r=oe(()=>{});var H=k((st,U)=>{r();var be=["for","and","nor","but","or","yet","so"],ge=["a","an","the"],xe=["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"];U.exports=new Set([...be,...ge,...xe])});var W=k((at,L)=>{r();var we=["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"];L.exports=we});var K=k((ct,z)=>{r();var ke=H(),je=W(),v=`[^\\s'\u2019\\(\\)!?;:"-]`,Re=new RegExp(`(?:(?:(\\s?(?:^|[.\\(\\)!?;:"-])\\s*)(${v}))|(${v}))(${v}*[\u2019']*${v}*)`,"g"),Ie=t=>t.map(e=>[new RegExp(`\\b${e}\\b`,"gi"),e]);function _e(t){let e=t[0];return/\s/.test(e)?t.substr(1):/[\(\)]/.test(e)?null:t}z.exports=(t,e={})=>{t=t.toLowerCase().replace(Re,(a,c="",b,u,m,g,x)=>{let w=a.length+g>=x.length,S=_e(a);if(!S)return a;if(!b){let q=u+m;if(ke.has(q)&&!w)return S}return c+(u||b).toUpperCase()+m});let o=e.special||[],n=[...je,...o];return Ie(n).forEach(([a,c])=>{t=t.replace(a,c)}),t}});var Fe={};re(Fe,{default:()=>Ee,parserOpts:()=>Se,releaseRules:()=>Pe,typeSpecs:()=>p,types:()=>A,writerOpts:()=>Ce});r();r();r();r();var ie={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=ie;r();r();var E=j(require("grapheme-splitter"),1),I=j(require("lodash/pullAt.js"),1);var R=new E.default,se=(t,e)=>{let{type:o}=t,n=o,i=p.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=p.findIndex(({emoji:m})=>{if(n!==null)return n[0]===m[0]||n[0]===R.splitGraphemes(m)[0]})),i===-1)return;let a=p[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},F=se;var ae={transform:(t,e)=>F(t,e),groupBy:"type",commitGroupsSort:["order","title"],commitsSort:["scope","subject"],noteGroupsSort:["title"],notesSort:["title"]},h=ae;var ce={parserOpts:d,writerOpts:h},O=ce;r();var me={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`}}},T=me;r();var de={format:"%B%n-hash-%n%H%n-gitTags-%n%d%n-committerDate-%n%ci%n-authorName-%n%an%n-authorEmail-%n%ae"},G=de;var pe={conventionalChangelog:O,parserOpts:d,recommendedBumpOpts:T,writerOpts:h,gitRawCommitsOpts:G},_=pe;r();var le=[{emoji:"\u{1F3A8}",entity:"🎨",code:":art:",description:"Improve structure / format of the code.",name:"art",semver:null},{emoji:"\u26A1\uFE0F",entity:"⚡",code:":zap:",description:"Improve performance.",name:"zap",semver:"patch"},{emoji:"\u{1F525}",entity:"🔥",code:":fire:",description:"Remove code or files.",name:"fire",semver:null},{emoji:"\u{1F41B}",entity:"🐛",code:":bug:",description:"Fix a bug.",name:"bug",semver:"patch"},{emoji:"\u{1F691}\uFE0F",entity:"🚑",code:":ambulance:",description:"Critical hotfix.",name:"ambulance",semver:"patch"},{emoji:"\u2728",entity:"✨",code:":sparkles:",description:"Introduce new features.",name:"sparkles",semver:"minor"},{emoji:"\u{1F4DD}",entity:"📝",code:":memo:",description:"Add or update documentation.",name:"memo",semver:null},{emoji:"\u{1F680}",entity:"🚀",code:":rocket:",description:"Deploy stuff.",name:"rocket",semver:null},{emoji:"\u{1F484}",entity:"&#ff99cc;",code:":lipstick:",description:"Add or update the UI and style files.",name:"lipstick",semver:"patch"},{emoji:"\u{1F389}",entity:"🎉",code:":tada:",description:"Begin a project.",name:"tada",semver:null},{emoji:"\u2705",entity:"✅",code:":white_check_mark:",description:"Add, update, or pass tests.",name:"white-check-mark",semver:null},{emoji:"\u{1F512}\uFE0F",entity:"🔒",code:":lock:",description:"Fix security issues.",name:"lock",semver:"patch"},{emoji:"\u{1F510}",entity:"🔐",code:":closed_lock_with_key:",description:"Add or update secrets.",name:"closed-lock-with-key",semver:null},{emoji:"\u{1F516}",entity:"🔖",code:":bookmark:",description:"Release / Version tags.",name:"bookmark",semver:null},{emoji:"\u{1F6A8}",entity:"🚨",code:":rotating_light:",description:"Fix compiler / linter warnings.",name:"rotating-light",semver:null},{emoji:"\u{1F6A7}",entity:"🚧",code:":construction:",description:"Work in progress.",name:"construction",semver:null},{emoji:"\u{1F49A}",entity:"💚",code:":green_heart:",description:"Fix CI Build.",name:"green-heart",semver:null},{emoji:"\u2B07\uFE0F",entity:"\u2B07\uFE0F",code:":arrow_down:",description:"Downgrade dependencies.",name:"arrow-down",semver:"patch"},{emoji:"\u2B06\uFE0F",entity:"\u2B06\uFE0F",code:":arrow_up:",description:"Upgrade dependencies.",name:"arrow-up",semver:"patch"},{emoji:"\u{1F4CC}",entity:"📌",code:":pushpin:",description:"Pin dependencies to specific versions.",name:"pushpin",semver:"patch"},{emoji:"\u{1F477}",entity:"👷",code:":construction_worker:",description:"Add or update CI build system.",name:"construction-worker",semver:null},{emoji:"\u{1F4C8}",entity:"📈",code:":chart_with_upwards_trend:",description:"Add or update analytics or track code.",name:"chart-with-upwards-trend",semver:"patch"},{emoji:"\u267B\uFE0F",entity:"♲",code:":recycle:",description:"Refactor code.",name:"recycle",semver:null},{emoji:"\u2795",entity:"➕",code:":heavy_plus_sign:",description:"Add a dependency.",name:"heavy-plus-sign",semver:"patch"},{emoji:"\u2796",entity:"➖",code:":heavy_minus_sign:",description:"Remove a dependency.",name:"heavy-minus-sign",semver:"patch"},{emoji:"\u{1F527}",entity:"🔧",code:":wrench:",description:"Add or update configuration files.",name:"wrench",semver:"patch"},{emoji:"\u{1F528}",entity:"🔨",code:":hammer:",description:"Add or update development scripts.",name:"hammer",semver:null},{emoji:"\u{1F310}",entity:"🌐",code:":globe_with_meridians:",description:"Internationalization and localization.",name:"globe-with-meridians",semver:"patch"},{emoji:"\u270F\uFE0F",entity:"",code:":pencil2:",description:"Fix typos.",name:"pencil2",semver:"patch"},{emoji:"\u{1F4A9}",entity:"",code:":poop:",description:"Write bad code that needs to be improved.",name:"poop",semver:null},{emoji:"\u23EA\uFE0F",entity:"⏪",code:":rewind:",description:"Revert changes.",name:"rewind",semver:"patch"},{emoji:"\u{1F500}",entity:"🔀",code:":twisted_rightwards_arrows:",description:"Merge branches.",name:"twisted-rightwards-arrows",semver:null},{emoji:"\u{1F4E6}\uFE0F",entity:"F4E6;",code:":package:",description:"Add or update compiled files or packages.",name:"package",semver:"patch"},{emoji:"\u{1F47D}\uFE0F",entity:"F47D;",code:":alien:",description:"Update code due to external API changes.",name:"alien",semver:"patch"},{emoji:"\u{1F69A}",entity:"F69A;",code:":truck:",description:"Move or rename resources (e.g.: files, paths, routes).",name:"truck",semver:null},{emoji:"\u{1F4C4}",entity:"F4C4;",code:":page_facing_up:",description:"Add or update license.",name:"page-facing-up",semver:null},{emoji:"\u{1F4A5}",entity:"💥",code:":boom:",description:"Introduce breaking changes.",name:"boom",semver:"major"},{emoji:"\u{1F371}",entity:"F371",code:":bento:",description:"Add or update assets.",name:"bento",semver:"patch"},{emoji:"\u267F\uFE0F",entity:"♿",code:":wheelchair:",description:"Improve accessibility.",name:"wheelchair",semver:"patch"},{emoji:"\u{1F4A1}",entity:"💡",code:":bulb:",description:"Add or update comments in source code.",name:"bulb",semver:null},{emoji:"\u{1F37B}",entity:"🍻",code:":beers:",description:"Write code drunkenly.",name:"beers",semver:null},{emoji:"\u{1F4AC}",entity:"💬",code:":speech_balloon:",description:"Add or update text and literals.",name:"speech-balloon",semver:"patch"},{emoji:"\u{1F5C3}\uFE0F",entity:"🗃",code:":card_file_box:",description:"Perform database related changes.",name:"card-file-box",semver:"patch"},{emoji:"\u{1F50A}",entity:"🔊",code:":loud_sound:",description:"Add or update logs.",name:"loud-sound",semver:null},{emoji:"\u{1F507}",entity:"🔇",code:":mute:",description:"Remove logs.",name:"mute",semver:null},{emoji:"\u{1F465}",entity:"👥",code:":busts_in_silhouette:",description:"Add or update contributor(s).",name:"busts-in-silhouette",semver:null},{emoji:"\u{1F6B8}",entity:"🚸",code:":children_crossing:",description:"Improve user experience / usability.",name:"children-crossing",semver:"patch"},{emoji:"\u{1F3D7}\uFE0F",entity:"f3d7;",code:":building_construction:",description:"Make architectural changes.",name:"building-construction",semver:null},{emoji:"\u{1F4F1}",entity:"📱",code:":iphone:",description:"Work on responsive design.",name:"iphone",semver:"patch"},{emoji:"\u{1F921}",entity:"🤡",code:":clown_face:",description:"Mock things.",name:"clown-face",semver:null},{emoji:"\u{1F95A}",entity:"🥚",code:":egg:",description:"Add or update an easter egg.",name:"egg",semver:"patch"},{emoji:"\u{1F648}",entity:"bdfe7;",code:":see_no_evil:",description:"Add or update a .gitignore file.",name:"see-no-evil",semver:null},{emoji:"\u{1F4F8}",entity:"📸",code:":camera_flash:",description:"Add or update snapshots.",name:"camera-flash",semver:null},{emoji:"\u2697\uFE0F",entity:"📸",code:":alembic:",description:"Perform experiments.",name:"alembic",semver:"patch"},{emoji:"\u{1F50D}\uFE0F",entity:"🔍",code:":mag:",description:"Improve SEO.",name:"mag",semver:"patch"},{emoji:"\u{1F3F7}\uFE0F",entity:"🏷",code:":label:",description:"Add or update types.",name:"label",semver:"patch"},{emoji:"\u{1F331}",entity:"🌱",code:":seedling:",description:"Add or update seed files.",name:"seedling",semver:null},{emoji:"\u{1F6A9}",entity:"🚩",code:":triangular_flag_on_post:",description:"Add, update, or remove feature flags.",name:"triangular-flag-on-post",semver:"patch"},{emoji:"\u{1F945}",entity:"🥅",code:":goal_net:",description:"Catch errors.",name:"goal-net",semver:"patch"},{emoji:"\u{1F4AB}",entity:"💫",code:":dizzy:",description:"Add or update animations and transitions.",name:"animation",semver:"patch"},{emoji:"\u{1F5D1}\uFE0F",entity:"🗑",code:":wastebasket:",description:"Deprecate code that needs to be cleaned up.",name:"wastebasket",semver:"patch"},{emoji:"\u{1F6C2}",entity:"🛂",code:":passport_control:",description:"Work on code related to authorization, roles and permissions.",name:"passport-control",semver:"patch"},{emoji:"\u{1FA79}",entity:"🩹",code:":adhesive_bandage:",description:"Simple fix for a non-critical issue.",name:"adhesive-bandage",semver:"patch"},{emoji:"\u{1F9D0}",entity:"🧐",code:":monocle_face:",description:"Data exploration/inspection.",name:"monocle-face",semver:null},{emoji:"\u26B0\uFE0F",entity:"⚰",code:":coffin:",description:"Remove dead code.",name:"coffin",semver:null},{emoji:"\u{1F9EA}",entity:"🧪",code:":test_tube:",description:"Add a failing test.",name:"test-tube",semver:null},{emoji:"\u{1F454}",entity:"👔",code:":necktie:",description:"Add or update business logic",name:"necktie",semver:"patch"},{emoji:"\u{1FA7A}",entity:"🩺",code:":stethoscope:",description:"Add or update healthcheck.",name:"stethoscope",semver:null},{emoji:"\u{1F9F1}",entity:"🧱",code:":bricks:",description:"Infrastructure related changes.",name:"bricks",semver:null},{emoji:"\u{1F9D1}\u200D\u{1F4BB}",entity:"🧑‍💻",code:":technologist:",description:"Improve developer experience",name:"technologist",semver:null}],$={gitmojis:le};r();var ue=[{from:"art",to:"style"},{from:"zap",to:"perf"},{from:"fire",to:"prune"},{from:"bug",to:"fix",branch:"fix"},{from:"ambulance",to:"hotfix",branch:"hotfix"},{from:"sparkles",to:"feat",branch:"feature"},{from:"memo",to:"docs"},{from:"rocket",to:"deploy"},{from:"lipstick",to:"ui"},{from:"tada",to:"init",semver:"patch"},{from:"white-check-mark",to:"test",branch:"test"},{from:"lock",to:"security"},{from:"bookmark",to:"release",branch:"release"},{from:"rotating-light",to:"lint"},{from:"construction",to:"wip"},{from:"green-heart",to:"fix-ci"},{from:"arrow-down",to:"downgrade"},{from:"arrow-up",to:"upgrade"},{from:"pushpin",to:"pushpin"},{from:"construction-worker",to:"ci",branch:"ci"},{from:"chart-with-upwards-trend",to:"analytics"},{from:"recycle",to:"refactor",branch:"refactor"},{from:"heavy-plus-sign",to:"dep-add"},{from:"heavy-minus-sign",to:"dep-rm"},{from:"wrench",to:"config"},{from:"hammer",to:"build"},{from:"globe-with-meridians",to:"i18n"},{from:"pencil2",to:"typo"},{from:"poop",to:"poo"},{from:"rewind",to:"revert"},{from:"twisted-rightwards-arrows",to:"merge"},{from:"package",to:"dep-up"},{from:"alien",to:"compat"},{from:"truck",to:"mv"},{from:"page-facing-up",to:"license"},{from:"boom",to:"breaking",semver:"major"},{from:"bento",to:"assets"},{from:"wheelchair",to:"access"},{from:"bulb",to:"docs-code"},{from:"beers",to:"beer"},{from:"speech-balloon",to:"texts"},{from:"card-file-box",to:"db"},{from:"loud-sound",to:"log-add"},{from:"mute",to:"log-rm"},{from:"busts-in-silhouette",to:"contrib-add"},{from:"children-crossing",to:"ux"},{from:"building-construction",to:"arch"},{from:"iphone",to:"iphone"},{from:"clown-face",to:"mock"},{from:"egg",to:"egg"},{from:"see-no-evil",to:"ignore"},{from:"camera-flash",to:"snapshot"},{from:"alembic",to:"experiment"},{from:"mag",to:"seo"},{from:"label",to:"types"},{from:"seedling",to:"seed"},{from:"triangular-flag-on-post",to:"flags"},{from:"goal-net",to:"catch"},{from:"animation",to:"animation"},{from:"wastebasket",to:"clean"},{from:"passport-control",to:"roles"},{from:"adhesive-bandage",to:"patch"},{from:"monocle-face",to:"data"},{from:"coffin",to:"rip"},{from:"test-tube",to:"test-fail"},{from:"necktie",to:"logic"},{from:"stethoscope",to:"healthcheck"},{from:"bricks",to:"inf"},{from:"technologist",to:"dx"},{from:"closed-lock-with-key",to:"secrets"}],D=ue;r();var fe={chore:{branch:"chore",code:":computer_disk:",commit:"chore",description:"Changes that don\u2019t modify src or test files",emoji:"\u{1F4BD}\uFE0F",entity:"💽",name:"computer-disk",semver:null},rollforward:{branch:null,code:":fast_forward:",commit:"rollforward",description:"Create rollforward version.",emoji:"\u23E9\uFE0F",entity:"E9;",name:"rollforward",semver:null},"run-build":{branch:null,code:":rocket:",commit:"run-build",description:"Custom type for CI/CD to hook into run build override.",emoji:"\u{1F680}\uFE0F",entity:"F680;",name:"run-build",semver:"patch"}},y=fe;var{gitmojis:he}=$,ye=()=>(he.map(e=>{let o=D.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),{})),M=ye;r();var l=[],ve=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),N=ve;r();var V=j(K(),1),J=[],Ae=t=>(Object.keys(t).map(e=>{J.push({code:t[e].code,description:(0,V.default)(t[e].description.replace(".","")),emoji:t[e].emoji,semver:t[e].semver,type:t[e].commit,value:t[e].commit})}),J),X=Ae;var{parserOpts:Se,writerOpts:Ce}=_,A=M(),Pe=N(A),p=X(A);var Ee=_;module.exports=ne(Fe);0&&(module.exports={parserOpts,releaseRules,typeSpecs,types,writerOpts});
|
|
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})},C=(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)):{},C(e||!t||!t.__esModule?f(o,"default",{value:t,enumerable:!0}):o,t)),re=t=>C(f({},"__esModule",{value:!0}),t);var r=te(()=>{});var U=k((it,N)=>{r();var ve=["for","and","nor","but","or","yet","so"],be=["a","an","the"],ge=["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"];N.exports=new Set([...ve,...be,...ge])});var L=k((st,H)=>{r();var xe=["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"];H.exports=xe});var z=k((at,W)=>{r();var we=U(),ke=L(),v=`[^\\s'\u2019\\(\\)!?;:"-]`,je=new RegExp(`(?:(?:(\\s?(?:^|[.\\(\\)!?;:"-])\\s*)(${v}))|(${v}))(${v}*[\u2019']*${v}*)`,"g"),Re=t=>t.map(e=>[new RegExp(`\\b${e}\\b`,"gi"),e]);function Ie(t){let e=t[0];return/\s/.test(e)?t.substr(1):/[\(\)]/.test(e)?null:t}W.exports=(t,e={})=>{t=t.toLowerCase().replace(je,(a,c="",b,u,m,g,x)=>{let w=a.length+g>=x.length,S=Ie(a);if(!S)return a;if(!b){let X=u+m;if(we.has(X)&&!w)return S}return c+(u||b).toUpperCase()+m});let o=e.special||[],n=[...ke,...o];return Re(n).forEach(([a,c])=>{t=t.replace(a,c)}),t}});var Ee={};oe(Ee,{default:()=>Pe,parserOpts:()=>Ae,releaseRules:()=>Ce,typeSpecs:()=>p,types:()=>A,writerOpts:()=>Se});module.exports=re(Ee);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();r();var P=j(require("grapheme-splitter"),1),I=j(require("lodash/pullAt.js"),1);var R=new P.default,ie=(t,e)=>{let{type:o}=t,n=o,i=p.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=p.findIndex(({emoji:m})=>{if(n!==null)return n[0]===m[0]||n[0]===R.splitGraphemes(m)[0]})),i===-1)return;let a=p[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},E=ie;var se={transform:(t,e)=>E(t,e),groupBy:"type",commitGroupsSort:["order","title"],commitsSort:["scope","subject"],noteGroupsSort:["title"],notesSort:["title"]},h=se;var ae={parserOpts:d,writerOpts:h},F=ae;r();var ce={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`}}},O=ce;r();var me={format:"%B%n-hash-%n%H%n-gitTags-%n%d%n-committerDate-%n%ci%n-authorName-%n%an%n-authorEmail-%n%ae"},T=me;var de={conventionalChangelog:F,parserOpts:d,recommendedBumpOpts:O,writerOpts:h,gitRawCommitsOpts:T},_=de;r();var pe=[{emoji:"\u{1F3A8}",entity:"🎨",code:":art:",description:"Improve structure / format of the code.",name:"art",semver:null},{emoji:"\u26A1\uFE0F",entity:"⚡",code:":zap:",description:"Improve performance.",name:"zap",semver:"patch"},{emoji:"\u{1F525}",entity:"🔥",code:":fire:",description:"Remove code or files.",name:"fire",semver:null},{emoji:"\u{1F41B}",entity:"🐛",code:":bug:",description:"Fix a bug.",name:"bug",semver:"patch"},{emoji:"\u{1F691}\uFE0F",entity:"🚑",code:":ambulance:",description:"Critical hotfix.",name:"ambulance",semver:"patch"},{emoji:"\u2728",entity:"✨",code:":sparkles:",description:"Introduce new features.",name:"sparkles",semver:"minor"},{emoji:"\u{1F4DD}",entity:"📝",code:":memo:",description:"Add or update documentation.",name:"memo",semver:null},{emoji:"\u{1F680}",entity:"🚀",code:":rocket:",description:"Deploy stuff.",name:"rocket",semver:null},{emoji:"\u{1F484}",entity:"&#ff99cc;",code:":lipstick:",description:"Add or update the UI and style files.",name:"lipstick",semver:"patch"},{emoji:"\u{1F389}",entity:"🎉",code:":tada:",description:"Begin a project.",name:"tada",semver:null},{emoji:"\u2705",entity:"✅",code:":white_check_mark:",description:"Add, update, or pass tests.",name:"white-check-mark",semver:null},{emoji:"\u{1F512}\uFE0F",entity:"🔒",code:":lock:",description:"Fix security issues.",name:"lock",semver:"patch"},{emoji:"\u{1F510}",entity:"🔐",code:":closed_lock_with_key:",description:"Add or update secrets.",name:"closed-lock-with-key",semver:null},{emoji:"\u{1F516}",entity:"🔖",code:":bookmark:",description:"Release / Version tags.",name:"bookmark",semver:null},{emoji:"\u{1F6A8}",entity:"🚨",code:":rotating_light:",description:"Fix compiler / linter warnings.",name:"rotating-light",semver:null},{emoji:"\u{1F6A7}",entity:"🚧",code:":construction:",description:"Work in progress.",name:"construction",semver:null},{emoji:"\u{1F49A}",entity:"💚",code:":green_heart:",description:"Fix CI Build.",name:"green-heart",semver:null},{emoji:"\u2B07\uFE0F",entity:"\u2B07\uFE0F",code:":arrow_down:",description:"Downgrade dependencies.",name:"arrow-down",semver:"patch"},{emoji:"\u2B06\uFE0F",entity:"\u2B06\uFE0F",code:":arrow_up:",description:"Upgrade dependencies.",name:"arrow-up",semver:"patch"},{emoji:"\u{1F4CC}",entity:"📌",code:":pushpin:",description:"Pin dependencies to specific versions.",name:"pushpin",semver:"patch"},{emoji:"\u{1F477}",entity:"👷",code:":construction_worker:",description:"Add or update CI build system.",name:"construction-worker",semver:null},{emoji:"\u{1F4C8}",entity:"📈",code:":chart_with_upwards_trend:",description:"Add or update analytics or track code.",name:"chart-with-upwards-trend",semver:"patch"},{emoji:"\u267B\uFE0F",entity:"♲",code:":recycle:",description:"Refactor code.",name:"recycle",semver:null},{emoji:"\u2795",entity:"➕",code:":heavy_plus_sign:",description:"Add a dependency.",name:"heavy-plus-sign",semver:"patch"},{emoji:"\u2796",entity:"➖",code:":heavy_minus_sign:",description:"Remove a dependency.",name:"heavy-minus-sign",semver:"patch"},{emoji:"\u{1F527}",entity:"🔧",code:":wrench:",description:"Add or update configuration files.",name:"wrench",semver:"patch"},{emoji:"\u{1F528}",entity:"🔨",code:":hammer:",description:"Add or update development scripts.",name:"hammer",semver:null},{emoji:"\u{1F310}",entity:"🌐",code:":globe_with_meridians:",description:"Internationalization and localization.",name:"globe-with-meridians",semver:"patch"},{emoji:"\u270F\uFE0F",entity:"",code:":pencil2:",description:"Fix typos.",name:"pencil2",semver:"patch"},{emoji:"\u{1F4A9}",entity:"",code:":poop:",description:"Write bad code that needs to be improved.",name:"poop",semver:null},{emoji:"\u23EA\uFE0F",entity:"⏪",code:":rewind:",description:"Revert changes.",name:"rewind",semver:"patch"},{emoji:"\u{1F500}",entity:"🔀",code:":twisted_rightwards_arrows:",description:"Merge branches.",name:"twisted-rightwards-arrows",semver:null},{emoji:"\u{1F4E6}\uFE0F",entity:"F4E6;",code:":package:",description:"Add or update compiled files or packages.",name:"package",semver:"patch"},{emoji:"\u{1F47D}\uFE0F",entity:"F47D;",code:":alien:",description:"Update code due to external API changes.",name:"alien",semver:"patch"},{emoji:"\u{1F69A}",entity:"F69A;",code:":truck:",description:"Move or rename resources (e.g.: files, paths, routes).",name:"truck",semver:null},{emoji:"\u{1F4C4}",entity:"F4C4;",code:":page_facing_up:",description:"Add or update license.",name:"page-facing-up",semver:null},{emoji:"\u{1F4A5}",entity:"💥",code:":boom:",description:"Introduce breaking changes.",name:"boom",semver:"major"},{emoji:"\u{1F371}",entity:"F371",code:":bento:",description:"Add or update assets.",name:"bento",semver:"patch"},{emoji:"\u267F\uFE0F",entity:"♿",code:":wheelchair:",description:"Improve accessibility.",name:"wheelchair",semver:"patch"},{emoji:"\u{1F4A1}",entity:"💡",code:":bulb:",description:"Add or update comments in source code.",name:"bulb",semver:null},{emoji:"\u{1F37B}",entity:"🍻",code:":beers:",description:"Write code drunkenly.",name:"beers",semver:null},{emoji:"\u{1F4AC}",entity:"💬",code:":speech_balloon:",description:"Add or update text and literals.",name:"speech-balloon",semver:"patch"},{emoji:"\u{1F5C3}\uFE0F",entity:"🗃",code:":card_file_box:",description:"Perform database related changes.",name:"card-file-box",semver:"patch"},{emoji:"\u{1F50A}",entity:"🔊",code:":loud_sound:",description:"Add or update logs.",name:"loud-sound",semver:null},{emoji:"\u{1F507}",entity:"🔇",code:":mute:",description:"Remove logs.",name:"mute",semver:null},{emoji:"\u{1F465}",entity:"👥",code:":busts_in_silhouette:",description:"Add or update contributor(s).",name:"busts-in-silhouette",semver:null},{emoji:"\u{1F6B8}",entity:"🚸",code:":children_crossing:",description:"Improve user experience / usability.",name:"children-crossing",semver:"patch"},{emoji:"\u{1F3D7}\uFE0F",entity:"f3d7;",code:":building_construction:",description:"Make architectural changes.",name:"building-construction",semver:null},{emoji:"\u{1F4F1}",entity:"📱",code:":iphone:",description:"Work on responsive design.",name:"iphone",semver:"patch"},{emoji:"\u{1F921}",entity:"🤡",code:":clown_face:",description:"Mock things.",name:"clown-face",semver:null},{emoji:"\u{1F95A}",entity:"🥚",code:":egg:",description:"Add or update an easter egg.",name:"egg",semver:"patch"},{emoji:"\u{1F648}",entity:"bdfe7;",code:":see_no_evil:",description:"Add or update a .gitignore file.",name:"see-no-evil",semver:null},{emoji:"\u{1F4F8}",entity:"📸",code:":camera_flash:",description:"Add or update snapshots.",name:"camera-flash",semver:null},{emoji:"\u2697\uFE0F",entity:"📸",code:":alembic:",description:"Perform experiments.",name:"alembic",semver:"patch"},{emoji:"\u{1F50D}\uFE0F",entity:"🔍",code:":mag:",description:"Improve SEO.",name:"mag",semver:"patch"},{emoji:"\u{1F3F7}\uFE0F",entity:"🏷",code:":label:",description:"Add or update types.",name:"label",semver:"patch"},{emoji:"\u{1F331}",entity:"🌱",code:":seedling:",description:"Add or update seed files.",name:"seedling",semver:null},{emoji:"\u{1F6A9}",entity:"🚩",code:":triangular_flag_on_post:",description:"Add, update, or remove feature flags.",name:"triangular-flag-on-post",semver:"patch"},{emoji:"\u{1F945}",entity:"🥅",code:":goal_net:",description:"Catch errors.",name:"goal-net",semver:"patch"},{emoji:"\u{1F4AB}",entity:"💫",code:":dizzy:",description:"Add or update animations and transitions.",name:"animation",semver:"patch"},{emoji:"\u{1F5D1}\uFE0F",entity:"🗑",code:":wastebasket:",description:"Deprecate code that needs to be cleaned up.",name:"wastebasket",semver:"patch"},{emoji:"\u{1F6C2}",entity:"🛂",code:":passport_control:",description:"Work on code related to authorization, roles and permissions.",name:"passport-control",semver:"patch"},{emoji:"\u{1FA79}",entity:"🩹",code:":adhesive_bandage:",description:"Simple fix for a non-critical issue.",name:"adhesive-bandage",semver:"patch"},{emoji:"\u{1F9D0}",entity:"🧐",code:":monocle_face:",description:"Data exploration/inspection.",name:"monocle-face",semver:null},{emoji:"\u26B0\uFE0F",entity:"⚰",code:":coffin:",description:"Remove dead code.",name:"coffin",semver:null},{emoji:"\u{1F9EA}",entity:"🧪",code:":test_tube:",description:"Add a failing test.",name:"test-tube",semver:null},{emoji:"\u{1F454}",entity:"👔",code:":necktie:",description:"Add or update business logic",name:"necktie",semver:"patch"},{emoji:"\u{1FA7A}",entity:"🩺",code:":stethoscope:",description:"Add or update healthcheck.",name:"stethoscope",semver:null},{emoji:"\u{1F9F1}",entity:"🧱",code:":bricks:",description:"Infrastructure related changes.",name:"bricks",semver:null},{emoji:"\u{1F9D1}\u200D\u{1F4BB}",entity:"🧑‍💻",code:":technologist:",description:"Improve developer experience",name:"technologist",semver:null}],B={gitmojis:pe};r();var le=[{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"}],$=le;r();var ue={chore:{branch:"chore",code:":computer_disk:",commit:"chore",description:"Changes that don\u2019t modify src or test files",emoji:"\u{1F4BD}\uFE0F",entity:"💽",name:"computer-disk",semver:null},rollforward:{branch:null,code:":fast_forward:",commit:"rollforward",description:"Create rollforward version.",emoji:"\u23E9\uFE0F",entity:"E9;",name:"rollforward",semver:null},"run-build":{branch:null,code:":rocket:",commit:"run-build",description:"Custom type for CI/CD to hook into run build override.",emoji:"\u{1F680}\uFE0F",entity:"F680;",name:"run-build",semver:"patch"}},y=ue;var{gitmojis:fe}=B,he=()=>(fe.map(e=>{let 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),{})),D=he;r();var l=[],ye=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),M=ye;r();var J=j(z(),1),K=[],_e=t=>(Object.keys(t).map(e=>{K.push({code:t[e].code,description:(0,J.default)(t[e].description.replace(".","")),emoji:t[e].emoji,semver:t[e].semver,type:t[e].commit,value:t[e].commit})}),K),V=_e;var{parserOpts:Ae,writerOpts:Se}=_,A=D(),Ce=M(A),p=V(A);var Pe=_;0&&(module.exports={parserOpts,releaseRules,typeSpecs,types,writerOpts});
|
package/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import changelog from './changelog/index';
|
|
2
|
-
export { default } from './changelog/index';
|
|
3
|
-
export { ICommit } from './types/commit.types';
|
|
4
|
-
import { IReleaseRule, IReleaseRuleProps } from './types/releaseRule.types';
|
|
5
|
-
export { IReleaseRule, IReleaseRuleProps } from './types/releaseRule.types';
|
|
1
|
+
import changelog from './changelog/index.js';
|
|
2
|
+
export { default } from './changelog/index.js';
|
|
3
|
+
export { ICommit } from './types/commit.types.js';
|
|
4
|
+
import { IReleaseRule, IReleaseRuleProps } from './types/releaseRule.types.js';
|
|
5
|
+
export { IReleaseRule, IReleaseRuleProps } from './types/releaseRule.types.js';
|
|
6
6
|
|
|
7
7
|
declare const parserOpts: {
|
|
8
8
|
headerPattern: RegExp;
|
package/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var V=Object.create;var k=Object.defineProperty;var X=Object.getOwnPropertyDescriptor;var q=Object.getOwnPropertyNames;var Z=Object.getPrototypeOf,Q=Object.prototype.hasOwnProperty;var Y=t=>k(t,"__esModule",{value:!0});var ee=(t,e)=>()=>(t&&(e=t(t=0)),e);var j=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var te=(t,e,o,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of q(e))!Q.call(t,i)&&(o||i!=="default")&&k(t,i,{get:()=>e[i],enumerable:!(n=X(e,i))||n.enumerable});return t},oe=(t,e)=>te(Y(k(t!=null?V(Z(t)):{},"default",!e&&t&&t.__esModule?{get:()=>t.default,enumerable:!0}:{value:t,enumerable:!0})),t);var r=ee(()=>{});var $=j((ot,D)=>{r();var ve=["for","and","nor","but","or","yet","so"],be=["a","an","the"],ge=["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([...ve,...be,...ge])});var M=j((rt,N)=>{r();var xe=["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=xe});var W=j((nt,H)=>{r();var we=$(),ke=M(),v=`[^\\s'\u2019\\(\\)!?;:"-]`,je=new RegExp(`(?:(?:(\\s?(?:^|[.\\(\\)!?;:"-])\\s*)(${v}))|(${v}))(${v}*[\u2019']*${v}*)`,"g"),Re=t=>t.map(e=>[new RegExp(`\\b${e}\\b`,"gi"),e]);function _e(t){let e=t[0];return/\s/.test(e)?t.substr(1):/[\(\)]/.test(e)?null:t}H.exports=(t,e={})=>{t=t.toLowerCase().replace(je,(c,m="",b,u,d,g,x)=>{let w=c.length+g>=x.length,I=_e(c);if(!I)return c;if(!b){let J=u+d;if(we.has(J)&&!w)return I}return m+(u||b).toUpperCase()+d});let o=e.special||[],n=[...ke,...o];return Re(n).forEach(([c,m])=>{t=t.replace(c,m)}),t}});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"]},p=re;r();r();import ne from"grapheme-splitter";import A from"lodash/pullAt.js";var R=new ne,ie=(t,e)=>{let{type:o}=t,n=o,i=f.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=R.splitGraphemes(o)[0],i=f.findIndex(({emoji:d})=>{if(n!==null)return n[0]===d[0]||n[0]===R.splitGraphemes(d)[0]})),i===-1)return;let c=f[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=R.splitGraphemes(t.subject),u=m[0]===c.emoji?t.subject.replace(A(m,[0]),"").replace(A(m,[0]),""):t.subject;return t.subject=u.trim(),t},C=ie;var se={transform:(t,e)=>C(t,e),groupBy:"type",commitGroupsSort:["order","title"],commitsSort:["scope","subject"],noteGroupsSort:["title"],notesSort:["title"]},h=se;var ae={parserOpts:p,writerOpts:h},S=ae;r();var ce={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`}}},P=ce;r();var me={format:"%B%n-hash-%n%H%n-gitTags-%n%d%n-committerDate-%n%ci%n-authorName-%n%an%n-authorEmail-%n%ae"},E=me;var de={conventionalChangelog:S,parserOpts:p,recommendedBumpOpts:P,writerOpts:h,gitRawCommitsOpts:E},_=de;r();var pe=[{emoji:"\u{1F3A8}",entity:"🎨",code:":art:",description:"Improve structure / format of the code.",name:"art",semver:null},{emoji:"\u26A1\uFE0F",entity:"⚡",code:":zap:",description:"Improve performance.",name:"zap",semver:"patch"},{emoji:"\u{1F525}",entity:"🔥",code:":fire:",description:"Remove code or files.",name:"fire",semver:null},{emoji:"\u{1F41B}",entity:"🐛",code:":bug:",description:"Fix a bug.",name:"bug",semver:"patch"},{emoji:"\u{1F691}\uFE0F",entity:"🚑",code:":ambulance:",description:"Critical hotfix.",name:"ambulance",semver:"patch"},{emoji:"\u2728",entity:"✨",code:":sparkles:",description:"Introduce new features.",name:"sparkles",semver:"minor"},{emoji:"\u{1F4DD}",entity:"📝",code:":memo:",description:"Add or update documentation.",name:"memo",semver:null},{emoji:"\u{1F680}",entity:"🚀",code:":rocket:",description:"Deploy stuff.",name:"rocket",semver:null},{emoji:"\u{1F484}",entity:"&#ff99cc;",code:":lipstick:",description:"Add or update the UI and style files.",name:"lipstick",semver:"patch"},{emoji:"\u{1F389}",entity:"🎉",code:":tada:",description:"Begin a project.",name:"tada",semver:null},{emoji:"\u2705",entity:"✅",code:":white_check_mark:",description:"Add, update, or pass tests.",name:"white-check-mark",semver:null},{emoji:"\u{1F512}\uFE0F",entity:"🔒",code:":lock:",description:"Fix security issues.",name:"lock",semver:"patch"},{emoji:"\u{1F510}",entity:"🔐",code:":closed_lock_with_key:",description:"Add or update secrets.",name:"closed-lock-with-key",semver:null},{emoji:"\u{1F516}",entity:"🔖",code:":bookmark:",description:"Release / Version tags.",name:"bookmark",semver:null},{emoji:"\u{1F6A8}",entity:"🚨",code:":rotating_light:",description:"Fix compiler / linter warnings.",name:"rotating-light",semver:null},{emoji:"\u{1F6A7}",entity:"🚧",code:":construction:",description:"Work in progress.",name:"construction",semver:null},{emoji:"\u{1F49A}",entity:"💚",code:":green_heart:",description:"Fix CI Build.",name:"green-heart",semver:null},{emoji:"\u2B07\uFE0F",entity:"\u2B07\uFE0F",code:":arrow_down:",description:"Downgrade dependencies.",name:"arrow-down",semver:"patch"},{emoji:"\u2B06\uFE0F",entity:"\u2B06\uFE0F",code:":arrow_up:",description:"Upgrade dependencies.",name:"arrow-up",semver:"patch"},{emoji:"\u{1F4CC}",entity:"📌",code:":pushpin:",description:"Pin dependencies to specific versions.",name:"pushpin",semver:"patch"},{emoji:"\u{1F477}",entity:"👷",code:":construction_worker:",description:"Add or update CI build system.",name:"construction-worker",semver:null},{emoji:"\u{1F4C8}",entity:"📈",code:":chart_with_upwards_trend:",description:"Add or update analytics or track code.",name:"chart-with-upwards-trend",semver:"patch"},{emoji:"\u267B\uFE0F",entity:"♲",code:":recycle:",description:"Refactor code.",name:"recycle",semver:null},{emoji:"\u2795",entity:"➕",code:":heavy_plus_sign:",description:"Add a dependency.",name:"heavy-plus-sign",semver:"patch"},{emoji:"\u2796",entity:"➖",code:":heavy_minus_sign:",description:"Remove a dependency.",name:"heavy-minus-sign",semver:"patch"},{emoji:"\u{1F527}",entity:"🔧",code:":wrench:",description:"Add or update configuration files.",name:"wrench",semver:"patch"},{emoji:"\u{1F528}",entity:"🔨",code:":hammer:",description:"Add or update development scripts.",name:"hammer",semver:null},{emoji:"\u{1F310}",entity:"🌐",code:":globe_with_meridians:",description:"Internationalization and localization.",name:"globe-with-meridians",semver:"patch"},{emoji:"\u270F\uFE0F",entity:"",code:":pencil2:",description:"Fix typos.",name:"pencil2",semver:"patch"},{emoji:"\u{1F4A9}",entity:"",code:":poop:",description:"Write bad code that needs to be improved.",name:"poop",semver:null},{emoji:"\u23EA\uFE0F",entity:"⏪",code:":rewind:",description:"Revert changes.",name:"rewind",semver:"patch"},{emoji:"\u{1F500}",entity:"🔀",code:":twisted_rightwards_arrows:",description:"Merge branches.",name:"twisted-rightwards-arrows",semver:null},{emoji:"\u{1F4E6}\uFE0F",entity:"F4E6;",code:":package:",description:"Add or update compiled files or packages.",name:"package",semver:"patch"},{emoji:"\u{1F47D}\uFE0F",entity:"F47D;",code:":alien:",description:"Update code due to external API changes.",name:"alien",semver:"patch"},{emoji:"\u{1F69A}",entity:"F69A;",code:":truck:",description:"Move or rename resources (e.g.: files, paths, routes).",name:"truck",semver:null},{emoji:"\u{1F4C4}",entity:"F4C4;",code:":page_facing_up:",description:"Add or update license.",name:"page-facing-up",semver:null},{emoji:"\u{1F4A5}",entity:"💥",code:":boom:",description:"Introduce breaking changes.",name:"boom",semver:"major"},{emoji:"\u{1F371}",entity:"F371",code:":bento:",description:"Add or update assets.",name:"bento",semver:"patch"},{emoji:"\u267F\uFE0F",entity:"♿",code:":wheelchair:",description:"Improve accessibility.",name:"wheelchair",semver:"patch"},{emoji:"\u{1F4A1}",entity:"💡",code:":bulb:",description:"Add or update comments in source code.",name:"bulb",semver:null},{emoji:"\u{1F37B}",entity:"🍻",code:":beers:",description:"Write code drunkenly.",name:"beers",semver:null},{emoji:"\u{1F4AC}",entity:"💬",code:":speech_balloon:",description:"Add or update text and literals.",name:"speech-balloon",semver:"patch"},{emoji:"\u{1F5C3}\uFE0F",entity:"🗃",code:":card_file_box:",description:"Perform database related changes.",name:"card-file-box",semver:"patch"},{emoji:"\u{1F50A}",entity:"🔊",code:":loud_sound:",description:"Add or update logs.",name:"loud-sound",semver:null},{emoji:"\u{1F507}",entity:"🔇",code:":mute:",description:"Remove logs.",name:"mute",semver:null},{emoji:"\u{1F465}",entity:"👥",code:":busts_in_silhouette:",description:"Add or update contributor(s).",name:"busts-in-silhouette",semver:null},{emoji:"\u{1F6B8}",entity:"🚸",code:":children_crossing:",description:"Improve user experience / usability.",name:"children-crossing",semver:"patch"},{emoji:"\u{1F3D7}\uFE0F",entity:"f3d7;",code:":building_construction:",description:"Make architectural changes.",name:"building-construction",semver:null},{emoji:"\u{1F4F1}",entity:"📱",code:":iphone:",description:"Work on responsive design.",name:"iphone",semver:"patch"},{emoji:"\u{1F921}",entity:"🤡",code:":clown_face:",description:"Mock things.",name:"clown-face",semver:null},{emoji:"\u{1F95A}",entity:"🥚",code:":egg:",description:"Add or update an easter egg.",name:"egg",semver:"patch"},{emoji:"\u{1F648}",entity:"bdfe7;",code:":see_no_evil:",description:"Add or update a .gitignore file.",name:"see-no-evil",semver:null},{emoji:"\u{1F4F8}",entity:"📸",code:":camera_flash:",description:"Add or update snapshots.",name:"camera-flash",semver:null},{emoji:"\u2697\uFE0F",entity:"📸",code:":alembic:",description:"Perform experiments.",name:"alembic",semver:"patch"},{emoji:"\u{1F50D}\uFE0F",entity:"🔍",code:":mag:",description:"Improve SEO.",name:"mag",semver:"patch"},{emoji:"\u{1F3F7}\uFE0F",entity:"🏷",code:":label:",description:"Add or update types.",name:"label",semver:"patch"},{emoji:"\u{1F331}",entity:"🌱",code:":seedling:",description:"Add or update seed files.",name:"seedling",semver:null},{emoji:"\u{1F6A9}",entity:"🚩",code:":triangular_flag_on_post:",description:"Add, update, or remove feature flags.",name:"triangular-flag-on-post",semver:"patch"},{emoji:"\u{1F945}",entity:"🥅",code:":goal_net:",description:"Catch errors.",name:"goal-net",semver:"patch"},{emoji:"\u{1F4AB}",entity:"💫",code:":dizzy:",description:"Add or update animations and transitions.",name:"animation",semver:"patch"},{emoji:"\u{1F5D1}\uFE0F",entity:"🗑",code:":wastebasket:",description:"Deprecate code that needs to be cleaned up.",name:"wastebasket",semver:"patch"},{emoji:"\u{1F6C2}",entity:"🛂",code:":passport_control:",description:"Work on code related to authorization, roles and permissions.",name:"passport-control",semver:"patch"},{emoji:"\u{1FA79}",entity:"🩹",code:":adhesive_bandage:",description:"Simple fix for a non-critical issue.",name:"adhesive-bandage",semver:"patch"},{emoji:"\u{1F9D0}",entity:"🧐",code:":monocle_face:",description:"Data exploration/inspection.",name:"monocle-face",semver:null},{emoji:"\u26B0\uFE0F",entity:"⚰",code:":coffin:",description:"Remove dead code.",name:"coffin",semver:null},{emoji:"\u{1F9EA}",entity:"🧪",code:":test_tube:",description:"Add a failing test.",name:"test-tube",semver:null},{emoji:"\u{1F454}",entity:"👔",code:":necktie:",description:"Add or update business logic",name:"necktie",semver:"patch"},{emoji:"\u{1FA7A}",entity:"🩺",code:":stethoscope:",description:"Add or update healthcheck.",name:"stethoscope",semver:null},{emoji:"\u{1F9F1}",entity:"🧱",code:":bricks:",description:"Infrastructure related changes.",name:"bricks",semver:null},{emoji:"\u{1F9D1}\u200D\u{1F4BB}",entity:"🧑‍💻",code:":technologist:",description:"Improve developer experience",name:"technologist",semver:null}],O={gitmojis:pe};r();var le=[{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=le;r();var ue={chore:{branch:"chore",code:":computer_disk:",commit:"chore",description:"Changes that don\u2019t modify src or test files",emoji:"\u{1F4BD}\uFE0F",entity:"💽",name:"computer-disk",semver:null},rollforward:{branch:null,code:":fast_forward:",commit:"rollforward",description:"Create rollforward version.",emoji:"\u23E9\uFE0F",entity:"E9;",name:"rollforward",semver:null},"run-build":{branch:null,code:":rocket:",commit:"run-build",description:"Custom type for CI/CD to hook into run build override.",emoji:"\u{1F680}\uFE0F",entity:"F680;",name:"run-build",semver:"patch"}},y=ue;var{gitmojis:fe}=O,he=()=>(fe.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;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=he;r();var l=[],ye=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=ye;r();var L=oe(W(),1),z=[],Ie=t=>(Object.keys(t).map(e=>{z.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})}),z),U=Ie;var{parserOpts:dt,writerOpts:pt}=_,K=G(),lt=B(K),f=U(K);var ut=_;export{ut as default,dt as parserOpts,lt as releaseRules,f as typeSpecs,K as types,pt as writerOpts};
|
|
1
|
+
var V=Object.create;var I=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&&I(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?I(o,"default",{value:t,enumerable:!0}):o,t));var r=Y(()=>{});var $=k((tt,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 M=k((ot,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 W=k((rt,H)=>{r();var xe=$(),we=M(),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}H.exports=(t,e={})=>{t=t.toLowerCase().replace(ke,(c,m="",b,u,d,g,x)=>{let w=c.length+g>=x.length,_=Re(c);if(!_)return c;if(!b){let J=u+d;if(xe.has(J)&&!w)return _}return m+(u||b).toUpperCase()+d});let o=e.special||[],n=[...we,...o];return je(n).forEach(([c,m])=>{t=t.replace(c,m)}),t}});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();r();import re from"grapheme-splitter";import A from"lodash/pullAt.js";var j=new re,ne=(t,e)=>{let{type:o}=t,n=o,i=f.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=f.findIndex(({emoji:d})=>{if(n!==null)return n[0]===d[0]||n[0]===j.splitGraphemes(d)[0]})),i===-1)return;let c=f[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(A(m,[0]),"").replace(A(m,[0]),""):t.subject;return t.subject=u.trim(),t},C=ne;var ie={transform:(t,e)=>C(t,e),groupBy:"type",commitGroupsSort:["order","title"],commitsSort:["scope","subject"],noteGroupsSort:["title"],notesSort:["title"]},h=ie;var se={parserOpts:p,writerOpts:h},S=se;r();var ae={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`}}},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:S,parserOpts:p,recommendedBumpOpts:P,writerOpts:h,gitRawCommitsOpts:E},R=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:"F4E6;",code:":package:",description:"Add or update compiled files or packages.",name:"package",semver:"patch"},{emoji:"\u{1F47D}\uFE0F",entity:"F47D;",code:":alien:",description:"Update code due to external API changes.",name:"alien",semver:"patch"},{emoji:"\u{1F69A}",entity:"F69A;",code:":truck:",description:"Move or rename resources (e.g.: files, paths, routes).",name:"truck",semver:null},{emoji:"\u{1F4C4}",entity:"F4C4;",code:":page_facing_up:",description:"Add or update license.",name:"page-facing-up",semver:null},{emoji:"\u{1F4A5}",entity:"💥",code:":boom:",description:"Introduce breaking changes.",name:"boom",semver:"major"},{emoji:"\u{1F371}",entity:"F371",code:":bento:",description:"Add or update assets.",name:"bento",semver:"patch"},{emoji:"\u267F\uFE0F",entity:"♿",code:":wheelchair:",description:"Improve accessibility.",name:"wheelchair",semver:"patch"},{emoji:"\u{1F4A1}",entity:"💡",code:":bulb:",description:"Add or update comments in source code.",name:"bulb",semver:null},{emoji:"\u{1F37B}",entity:"🍻",code:":beers:",description:"Write code drunkenly.",name:"beers",semver:null},{emoji:"\u{1F4AC}",entity:"💬",code:":speech_balloon:",description:"Add or update text and literals.",name:"speech-balloon",semver:"patch"},{emoji:"\u{1F5C3}\uFE0F",entity:"🗃",code:":card_file_box:",description:"Perform database related changes.",name:"card-file-box",semver:"patch"},{emoji:"\u{1F50A}",entity:"🔊",code:":loud_sound:",description:"Add or update logs.",name:"loud-sound",semver:null},{emoji:"\u{1F507}",entity:"🔇",code:":mute:",description:"Remove logs.",name:"mute",semver:null},{emoji:"\u{1F465}",entity:"👥",code:":busts_in_silhouette:",description:"Add or update contributor(s).",name:"busts-in-silhouette",semver:null},{emoji:"\u{1F6B8}",entity:"🚸",code:":children_crossing:",description:"Improve user experience / usability.",name:"children-crossing",semver:"patch"},{emoji:"\u{1F3D7}\uFE0F",entity:"f3d7;",code:":building_construction:",description:"Make architectural changes.",name:"building-construction",semver:null},{emoji:"\u{1F4F1}",entity:"📱",code:":iphone:",description:"Work on responsive design.",name:"iphone",semver:"patch"},{emoji:"\u{1F921}",entity:"🤡",code:":clown_face:",description:"Mock things.",name:"clown-face",semver:null},{emoji:"\u{1F95A}",entity:"🥚",code:":egg:",description:"Add or update an easter egg.",name:"egg",semver:"patch"},{emoji:"\u{1F648}",entity:"bdfe7;",code:":see_no_evil:",description:"Add or update a .gitignore file.",name:"see-no-evil",semver:null},{emoji:"\u{1F4F8}",entity:"📸",code:":camera_flash:",description:"Add or update snapshots.",name:"camera-flash",semver:null},{emoji:"\u2697\uFE0F",entity:"📸",code:":alembic:",description:"Perform experiments.",name:"alembic",semver:"patch"},{emoji:"\u{1F50D}\uFE0F",entity:"🔍",code:":mag:",description:"Improve SEO.",name:"mag",semver:"patch"},{emoji:"\u{1F3F7}\uFE0F",entity:"🏷",code:":label:",description:"Add or update types.",name:"label",semver:"patch"},{emoji:"\u{1F331}",entity:"🌱",code:":seedling:",description:"Add or update seed files.",name:"seedling",semver:null},{emoji:"\u{1F6A9}",entity:"🚩",code:":triangular_flag_on_post:",description:"Add, update, or remove feature flags.",name:"triangular-flag-on-post",semver:"patch"},{emoji:"\u{1F945}",entity:"🥅",code:":goal_net:",description:"Catch errors.",name:"goal-net",semver:"patch"},{emoji:"\u{1F4AB}",entity:"💫",code:":dizzy:",description:"Add or update animations and transitions.",name:"animation",semver:"patch"},{emoji:"\u{1F5D1}\uFE0F",entity:"🗑",code:":wastebasket:",description:"Deprecate code that needs to be cleaned up.",name:"wastebasket",semver:"patch"},{emoji:"\u{1F6C2}",entity:"🛂",code:":passport_control:",description:"Work on code related to authorization, roles and permissions.",name:"passport-control",semver:"patch"},{emoji:"\u{1FA79}",entity:"🩹",code:":adhesive_bandage:",description:"Simple fix for a non-critical issue.",name:"adhesive-bandage",semver:"patch"},{emoji:"\u{1F9D0}",entity:"🧐",code:":monocle_face:",description:"Data exploration/inspection.",name:"monocle-face",semver:null},{emoji:"\u26B0\uFE0F",entity:"⚰",code:":coffin:",description:"Remove dead code.",name:"coffin",semver:null},{emoji:"\u{1F9EA}",entity:"🧪",code:":test_tube:",description:"Add a failing test.",name:"test-tube",semver:null},{emoji:"\u{1F454}",entity:"👔",code:":necktie:",description:"Add or update business logic",name:"necktie",semver:"patch"},{emoji:"\u{1FA7A}",entity:"🩺",code:":stethoscope:",description:"Add or update healthcheck.",name:"stethoscope",semver:null},{emoji:"\u{1F9F1}",entity:"🧱",code:":bricks:",description:"Infrastructure related changes.",name:"bricks",semver:null},{emoji:"\u{1F9D1}\u200D\u{1F4BB}",entity:"🧑‍💻",code:":technologist:",description:"Improve developer experience",name:"technologist",semver:null}],O={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"}],T=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:"E9;",name:"rollforward",semver:null},"run-build":{branch:null,code:":rocket:",commit:"run-build",description:"Custom type for CI/CD to hook into run build override.",emoji:"\u{1F680}\uFE0F",entity:"F680;",name:"run-build",semver:"patch"}},y=le;var{gitmojis:ue}=O,fe=()=>(ue.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;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 l=[],he=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=he;r();var L=te(W(),1),z=[],_e=t=>(Object.keys(t).map(e=>{z.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})}),z),U=_e;var{parserOpts:mt,writerOpts:dt}=R,K=G(),pt=B(K),f=U(K);var lt=R;export{lt as default,mt as parserOpts,pt as releaseRules,f as typeSpecs,K as types,dt as writerOpts};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jeromefitz/conventional-gitmoji",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.4",
|
|
4
4
|
"description": "Helper package for dual gitmoji / conventional commits",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Jerome Fitzgerald",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"title": "3.4.4"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@types/lodash": "4.14.
|
|
47
|
+
"@types/lodash": "4.14.182",
|
|
48
48
|
"@types/semantic-release": "17.2.3",
|
|
49
49
|
"@types/title": "3.4.1",
|
|
50
50
|
"gitmojis": "3.9.0"
|
package/types/commit.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var r=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var p=Object.prototype.hasOwnProperty;var d=
|
|
1
|
+
var r=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var p=Object.prototype.hasOwnProperty;var d=(t,e)=>{for(var o in e)r(t,o,{get:e[o],enumerable:!0})},n=(t,e,o,c)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of s(e))!p.call(t,i)&&i!==o&&r(t,i,{get:()=>e[i],enumerable:!(c=a(e,i))||c.enumerable});return t};var l=t=>n(r({},"__esModule",{value:!0}),t);var f={};d(f,{commit:()=>m});module.exports=l(f);var m=["access","analytics","animation","arch","assets","beer","breaking","build","catch","chore","ci","clean","compat","config","contrib-add","data","db","dep-add","dep-rm","dep-up","deploy","docs","docs-code","downgrade","dx","egg","experiment","feat","fix","fix-ci","flags","healthcheck","hotfix","i18n","ignore","inf","init","iphone","license","lint","log-add","log-rm","logic","merge","mock","mv","patch","perf","poo","prune","pushpin","refactor","release","revert","rip","roles","rollforward","run-build","secrets","security","seed","seo","snapshot","style","test","test-fail","texts","types","typo","ui","upgrade","ux","wip"];0&&(module.exports={commit});
|
package/types/commit.d.ts
CHANGED
package/types/commit.types.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var r=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var p=(t,e,a,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of s(e))!d.call(t,i)&&i!==a&&r(t,i,{get:()=>e[i],enumerable:!(o=c(e,i))||o.enumerable});return t};var n=t=>p(r({},"__esModule",{value:!0}),t);var l={};module.exports=n(l);
|
package/types/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var n=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var d=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var p=t=>n(t,"__esModule",{value:!0});var u=(t,e)=>{for(var i in e)n(t,i,{get:e[i],enumerable:!0})},h=(t,e,i,c)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of d(e))!l.call(t,o)&&(i||o!=="default")&&n(t,o,{get:()=>e[o],enumerable:!(c=s(e,o))||c.enumerable});return t};var b=(t=>(e,i)=>t&&t.get(e)||(i=h(p({}),e,1),t&&t.set(e,i),i))(typeof WeakMap!="undefined"?new WeakMap:0);var y={};u(y,{commitTypes:()=>a,releaseRuleTypes:()=>m});var a=["access","analytics","animation","arch","assets","beer","breaking","build","catch","chore","ci","clean","compat","config","contrib-add","data","db","dep-add","dep-rm","dep-up","deploy","docs","docs-code","downgrade","dx","egg","experiment","feat","fix","fix-ci","flags","healthcheck","hotfix","i18n","ignore","inf","init","iphone","license","lint","log-add","log-rm","logic","merge","mock","mv","patch","perf","poo","prune","pushpin","refactor","release","revert","rip","roles","rollforward","run-build","secrets","security","seed","seo","snapshot","style","test","test-fail","texts","types","typo","ui","upgrade","ux","wip"];var m={access:{branch:null,code:":wheelchair:",commit:"access",description:"Improve accessibility.",emoji:"\u267F\uFE0F",entity:"♿",name:"wheelchair",semver:"patch"},analytics:{branch:null,code:":chart_with_upwards_trend:",commit:"analytics",description:"Add or update analytics or track code.",emoji:"\u{1F4C8}",entity:"📈",name:"chart-with-upwards-trend",semver:"patch"},animation:{branch:null,code:":dizzy:",commit:"animation",description:"Add or update animations and transitions.",emoji:"\u{1F4AB}",entity:"💫",name:"animation",semver:"patch"},arch:{branch:null,code:":building_construction:",commit:"arch",description:"Make architectural changes.",emoji:"\u{1F3D7}\uFE0F",entity:"f3d7;",name:"building-construction",semver:null},assets:{branch:null,code:":bento:",commit:"assets",description:"Add or update assets.",emoji:"\u{1F371}",entity:"F371",name:"bento",semver:"patch"},beer:{branch:null,code:":beers:",commit:"beer",description:"Write code drunkenly.",emoji:"\u{1F37B}",entity:"🍻",name:"beers",semver:null},breaking:{branch:null,code:":boom:",commit:"breaking",description:"Introduce breaking changes.",emoji:"\u{1F4A5}",entity:"💥",name:"boom",semver:"major"},build:{branch:null,code:":hammer:",commit:"build",description:"Add or update development scripts.",emoji:"\u{1F528}",entity:"🔨",name:"hammer",semver:null},catch:{branch:null,code:":goal_net:",commit:"catch",description:"Catch errors.",emoji:"\u{1F945}",entity:"🥅",name:"goal-net",semver:"patch"},chore:{branch:"chore",code:":computer_disk:",commit:"chore",description:"Changes that don\u2019t modify src or test files",emoji:"\u{1F4BD}\uFE0F",entity:"💽",name:"computer-disk",semver:null},ci:{branch:"ci",code:":construction_worker:",commit:"ci",description:"Add or update CI build system.",emoji:"\u{1F477}",entity:"👷",name:"construction-worker",semver:null},clean:{branch:null,code:":wastebasket:",commit:"clean",description:"Deprecate code that needs to be cleaned up.",emoji:"\u{1F5D1}\uFE0F",entity:"🗑",name:"wastebasket",semver:"patch"},compat:{branch:null,code:":alien:",commit:"compat",description:"Update code due to external API changes.",emoji:"\u{1F47D}\uFE0F",entity:"F47D;",name:"alien",semver:"patch"},config:{branch:null,code:":wrench:",commit:"config",description:"Add or update configuration files.",emoji:"\u{1F527}",entity:"🔧",name:"wrench",semver:"patch"},"contrib-add":{branch:null,code:":busts_in_silhouette:",commit:"contrib-add",description:"Add or update contributor(s).",emoji:"\u{1F465}",entity:"👥",name:"busts-in-silhouette",semver:null},data:{branch:null,code:":monocle_face:",commit:"data",description:"Data exploration/inspection.",emoji:"\u{1F9D0}",entity:"🧐",name:"monocle-face",semver:null},db:{branch:null,code:":card_file_box:",commit:"db",description:"Perform database related changes.",emoji:"\u{1F5C3}\uFE0F",entity:"🗃",name:"card-file-box",semver:"patch"},"dep-add":{branch:null,code:":heavy_plus_sign:",commit:"dep-add",description:"Add a dependency.",emoji:"\u2795",entity:"➕",name:"heavy-plus-sign",semver:"patch"},"dep-rm":{branch:null,code:":heavy_minus_sign:",commit:"dep-rm",description:"Remove a dependency.",emoji:"\u2796",entity:"➖",name:"heavy-minus-sign",semver:"patch"},"dep-up":{branch:null,code:":package:",commit:"dep-up",description:"Add or update compiled files or packages.",emoji:"\u{1F4E6}\uFE0F",entity:"F4E6;",name:"package",semver:"patch"},deploy:{branch:null,code:":rocket:",commit:"deploy",description:"Deploy stuff.",emoji:"\u{1F680}",entity:"🚀",name:"rocket",semver:null},docs:{branch:null,code:":memo:",commit:"docs",description:"Add or update documentation.",emoji:"\u{1F4DD}",entity:"📝",name:"memo",semver:null},"docs-code":{branch:null,code:":bulb:",commit:"docs-code",description:"Add or update comments in source code.",emoji:"\u{1F4A1}",entity:"💡",name:"bulb",semver:null},downgrade:{branch:null,code:":arrow_down:",commit:"downgrade",description:"Downgrade dependencies.",emoji:"\u2B07\uFE0F",entity:"\u2B07\uFE0F",name:"arrow-down",semver:"patch"},dx:{branch:null,code:":technologist:",commit:"dx",description:"Improve developer experience",emoji:"\u{1F9D1}\u200D\u{1F4BB}",entity:"🧑‍💻",name:"technologist",semver:null},egg:{branch:null,code:":egg:",commit:"egg",description:"Add or update an easter egg.",emoji:"\u{1F95A}",entity:"🥚",name:"egg",semver:"patch"},experiment:{branch:null,code:":alembic:",commit:"experiment",description:"Perform experiments.",emoji:"\u2697\uFE0F",entity:"📸",name:"alembic",semver:"patch"},feat:{branch:"feature",code:":sparkles:",commit:"feat",description:"Introduce new features.",emoji:"\u2728",entity:"✨",name:"sparkles",semver:"minor"},fix:{branch:"fix",code:":bug:",commit:"fix",description:"Fix a bug.",emoji:"\u{1F41B}",entity:"🐛",name:"bug",semver:"patch"},"fix-ci":{branch:null,code:":green_heart:",commit:"fix-ci",description:"Fix CI Build.",emoji:"\u{1F49A}",entity:"💚",name:"green-heart",semver:null},flags:{branch:null,code:":triangular_flag_on_post:",commit:"flags",description:"Add, update, or remove feature flags.",emoji:"\u{1F6A9}",entity:"🚩",name:"triangular-flag-on-post",semver:"patch"},healthcheck:{branch:null,code:":stethoscope:",commit:"healthcheck",description:"Add or update healthcheck.",emoji:"\u{1FA7A}",entity:"🩺",name:"stethoscope",semver:null},hotfix:{branch:"hotfix",code:":ambulance:",commit:"hotfix",description:"Critical hotfix.",emoji:"\u{1F691}\uFE0F",entity:"🚑",name:"ambulance",semver:"patch"},i18n:{branch:null,code:":globe_with_meridians:",commit:"i18n",description:"Internationalization and localization.",emoji:"\u{1F310}",entity:"🌐",name:"globe-with-meridians",semver:"patch"},ignore:{branch:null,code:":see_no_evil:",commit:"ignore",description:"Add or update a .gitignore file.",emoji:"\u{1F648}",entity:"bdfe7;",name:"see-no-evil",semver:null},inf:{branch:null,code:":bricks:",commit:"inf",description:"Infrastructure related changes.",emoji:"\u{1F9F1}",entity:"🧱",name:"bricks",semver:null},init:{branch:null,code:":tada:",commit:"init",description:"Begin a project.",emoji:"\u{1F389}",entity:"🎉",name:"tada",semver:"patch"},iphone:{branch:null,code:":iphone:",commit:"iphone",description:"Work on responsive design.",emoji:"\u{1F4F1}",entity:"📱",name:"iphone",semver:"patch"},license:{branch:null,code:":page_facing_up:",commit:"license",description:"Add or update license.",emoji:"\u{1F4C4}",entity:"F4C4;",name:"page-facing-up",semver:null},lint:{branch:null,code:":rotating_light:",commit:"lint",description:"Fix compiler / linter warnings.",emoji:"\u{1F6A8}",entity:"🚨",name:"rotating-light",semver:null},"log-add":{branch:null,code:":loud_sound:",commit:"log-add",description:"Add or update logs.",emoji:"\u{1F50A}",entity:"🔊",name:"loud-sound",semver:null},"log-rm":{branch:null,code:":mute:",commit:"log-rm",description:"Remove logs.",emoji:"\u{1F507}",entity:"🔇",name:"mute",semver:null},logic:{branch:null,code:":necktie:",commit:"logic",description:"Add or update business logic",emoji:"\u{1F454}",entity:"👔",name:"necktie",semver:"patch"},merge:{branch:null,code:":twisted_rightwards_arrows:",commit:"merge",description:"Merge branches.",emoji:"\u{1F500}",entity:"🔀",name:"twisted-rightwards-arrows",semver:null},mock:{branch:null,code:":clown_face:",commit:"mock",description:"Mock things.",emoji:"\u{1F921}",entity:"🤡",name:"clown-face",semver:null},mv:{branch:null,code:":truck:",commit:"mv",description:"Move or rename resources (e.g.: files, paths, routes).",emoji:"\u{1F69A}",entity:"F69A;",name:"truck",semver:null},patch:{branch:null,code:":adhesive_bandage:",commit:"patch",description:"Simple fix for a non-critical issue.",emoji:"\u{1FA79}",entity:"🩹",name:"adhesive-bandage",semver:"patch"},perf:{branch:null,code:":zap:",commit:"perf",description:"Improve performance.",emoji:"\u26A1\uFE0F",entity:"⚡",name:"zap",semver:"patch"},poo:{branch:null,code:":poop:",commit:"poo",description:"Write bad code that needs to be improved.",emoji:"\u{1F4A9}",entity:"",name:"poop",semver:null},prune:{branch:null,code:":fire:",commit:"prune",description:"Remove code or files.",emoji:"\u{1F525}",entity:"🔥",name:"fire",semver:null},pushpin:{branch:null,code:":pushpin:",commit:"pushpin",description:"Pin dependencies to specific versions.",emoji:"\u{1F4CC}",entity:"📌",name:"pushpin",semver:"patch"},refactor:{branch:"refactor",code:":recycle:",commit:"refactor",description:"Refactor code.",emoji:"\u267B\uFE0F",entity:"♲",name:"recycle",semver:null},release:{branch:"release",code:":bookmark:",commit:"release",description:"Release / Version tags.",emoji:"\u{1F516}",entity:"🔖",name:"bookmark",semver:null},revert:{branch:null,code:":rewind:",commit:"revert",description:"Revert changes.",emoji:"\u23EA\uFE0F",entity:"⏪",name:"rewind",semver:"patch"},rip:{branch:null,code:":coffin:",commit:"rip",description:"Remove dead code.",emoji:"\u26B0\uFE0F",entity:"⚰",name:"coffin",semver:null},roles:{branch:null,code:":passport_control:",commit:"roles",description:"Work on code related to authorization, roles and permissions.",emoji:"\u{1F6C2}",entity:"🛂",name:"passport-control",semver:"patch"},rollforward:{branch:null,code:":fast_forward:",commit:"rollforward",description:"Create rollforward version.",emoji:"\u23E9\uFE0F",entity:"E9;",name:"rollforward",semver:null},"run-build":{branch:null,code:":rocket:",commit:"run-build",description:"Custom type for CI/CD to hook into run build override.",emoji:"\u{1F680}\uFE0F",entity:"F680;",name:"run-build",semver:"patch"},secrets:{branch:null,code:":closed_lock_with_key:",commit:"secrets",description:"Add or update secrets.",emoji:"\u{1F510}",entity:"🔐",name:"closed-lock-with-key",semver:null},security:{branch:null,code:":lock:",commit:"security",description:"Fix security issues.",emoji:"\u{1F512}\uFE0F",entity:"🔒",name:"lock",semver:"patch"},seed:{branch:null,code:":seedling:",commit:"seed",description:"Add or update seed files.",emoji:"\u{1F331}",entity:"🌱",name:"seedling",semver:null},seo:{branch:null,code:":mag:",commit:"seo",description:"Improve SEO.",emoji:"\u{1F50D}\uFE0F",entity:"🔍",name:"mag",semver:"patch"},snapshot:{branch:null,code:":camera_flash:",commit:"snapshot",description:"Add or update snapshots.",emoji:"\u{1F4F8}",entity:"📸",name:"camera-flash",semver:null},style:{branch:null,code:":art:",commit:"style",description:"Improve structure / format of the code.",emoji:"\u{1F3A8}",entity:"🎨",name:"art",semver:null},test:{branch:"test",code:":white_check_mark:",commit:"test",description:"Add, update, or pass tests.",emoji:"\u2705",entity:"✅",name:"white-check-mark",semver:null},"test-fail":{branch:null,code:":test_tube:",commit:"test-fail",description:"Add a failing test.",emoji:"\u{1F9EA}",entity:"🧪",name:"test-tube",semver:null},texts:{branch:null,code:":speech_balloon:",commit:"texts",description:"Add or update text and literals.",emoji:"\u{1F4AC}",entity:"💬",name:"speech-balloon",semver:"patch"},types:{branch:null,code:":label:",commit:"types",description:"Add or update types.",emoji:"\u{1F3F7}\uFE0F",entity:"🏷",name:"label",semver:"patch"},typo:{branch:null,code:":pencil2:",commit:"typo",description:"Fix typos.",emoji:"\u270F\uFE0F",entity:"",name:"pencil2",semver:"patch"},ui:{branch:null,code:":lipstick:",commit:"ui",description:"Add or update the UI and style files.",emoji:"\u{1F484}",entity:"&#ff99cc;",name:"lipstick",semver:"patch"},upgrade:{branch:null,code:":arrow_up:",commit:"upgrade",description:"Upgrade dependencies.",emoji:"\u2B06\uFE0F",entity:"\u2B06\uFE0F",name:"arrow-up",semver:"patch"},ux:{branch:null,code:":children_crossing:",commit:"ux",description:"Improve user experience / usability.",emoji:"\u{1F6B8}",entity:"🚸",name:"children-crossing",semver:"patch"},wip:{branch:null,code:":construction:",commit:"wip",description:"Work in progress.",emoji:"\u{1F6A7}",entity:"🚧",name:"construction",semver:null}};module.exports=b(y);0&&(module.exports={commitTypes,releaseRuleTypes});
|
|
1
|
+
var n=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var d=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var p=(t,e)=>{for(var o in e)n(t,o,{get:e[o],enumerable:!0})},u=(t,e,o,c)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of d(e))!l.call(t,i)&&i!==o&&n(t,i,{get:()=>e[i],enumerable:!(c=s(e,i))||c.enumerable});return t};var h=t=>u(n({},"__esModule",{value:!0}),t);var b={};p(b,{commitTypes:()=>a,releaseRuleTypes:()=>m});module.exports=h(b);var a=["access","analytics","animation","arch","assets","beer","breaking","build","catch","chore","ci","clean","compat","config","contrib-add","data","db","dep-add","dep-rm","dep-up","deploy","docs","docs-code","downgrade","dx","egg","experiment","feat","fix","fix-ci","flags","healthcheck","hotfix","i18n","ignore","inf","init","iphone","license","lint","log-add","log-rm","logic","merge","mock","mv","patch","perf","poo","prune","pushpin","refactor","release","revert","rip","roles","rollforward","run-build","secrets","security","seed","seo","snapshot","style","test","test-fail","texts","types","typo","ui","upgrade","ux","wip"];var m={access:{branch:null,code:":wheelchair:",commit:"access",description:"Improve accessibility.",emoji:"\u267F\uFE0F",entity:"♿",name:"wheelchair",semver:"patch"},analytics:{branch:null,code:":chart_with_upwards_trend:",commit:"analytics",description:"Add or update analytics or track code.",emoji:"\u{1F4C8}",entity:"📈",name:"chart-with-upwards-trend",semver:"patch"},animation:{branch:null,code:":dizzy:",commit:"animation",description:"Add or update animations and transitions.",emoji:"\u{1F4AB}",entity:"💫",name:"animation",semver:"patch"},arch:{branch:null,code:":building_construction:",commit:"arch",description:"Make architectural changes.",emoji:"\u{1F3D7}\uFE0F",entity:"f3d7;",name:"building-construction",semver:null},assets:{branch:null,code:":bento:",commit:"assets",description:"Add or update assets.",emoji:"\u{1F371}",entity:"F371",name:"bento",semver:"patch"},beer:{branch:null,code:":beers:",commit:"beer",description:"Write code drunkenly.",emoji:"\u{1F37B}",entity:"🍻",name:"beers",semver:null},breaking:{branch:null,code:":boom:",commit:"breaking",description:"Introduce breaking changes.",emoji:"\u{1F4A5}",entity:"💥",name:"boom",semver:"major"},build:{branch:null,code:":hammer:",commit:"build",description:"Add or update development scripts.",emoji:"\u{1F528}",entity:"🔨",name:"hammer",semver:null},catch:{branch:null,code:":goal_net:",commit:"catch",description:"Catch errors.",emoji:"\u{1F945}",entity:"🥅",name:"goal-net",semver:"patch"},chore:{branch:"chore",code:":computer_disk:",commit:"chore",description:"Changes that don\u2019t modify src or test files",emoji:"\u{1F4BD}\uFE0F",entity:"💽",name:"computer-disk",semver:null},ci:{branch:"ci",code:":construction_worker:",commit:"ci",description:"Add or update CI build system.",emoji:"\u{1F477}",entity:"👷",name:"construction-worker",semver:null},clean:{branch:null,code:":wastebasket:",commit:"clean",description:"Deprecate code that needs to be cleaned up.",emoji:"\u{1F5D1}\uFE0F",entity:"🗑",name:"wastebasket",semver:"patch"},compat:{branch:null,code:":alien:",commit:"compat",description:"Update code due to external API changes.",emoji:"\u{1F47D}\uFE0F",entity:"F47D;",name:"alien",semver:"patch"},config:{branch:null,code:":wrench:",commit:"config",description:"Add or update configuration files.",emoji:"\u{1F527}",entity:"🔧",name:"wrench",semver:"patch"},"contrib-add":{branch:null,code:":busts_in_silhouette:",commit:"contrib-add",description:"Add or update contributor(s).",emoji:"\u{1F465}",entity:"👥",name:"busts-in-silhouette",semver:null},data:{branch:null,code:":monocle_face:",commit:"data",description:"Data exploration/inspection.",emoji:"\u{1F9D0}",entity:"🧐",name:"monocle-face",semver:null},db:{branch:null,code:":card_file_box:",commit:"db",description:"Perform database related changes.",emoji:"\u{1F5C3}\uFE0F",entity:"🗃",name:"card-file-box",semver:"patch"},"dep-add":{branch:null,code:":heavy_plus_sign:",commit:"dep-add",description:"Add a dependency.",emoji:"\u2795",entity:"➕",name:"heavy-plus-sign",semver:"patch"},"dep-rm":{branch:null,code:":heavy_minus_sign:",commit:"dep-rm",description:"Remove a dependency.",emoji:"\u2796",entity:"➖",name:"heavy-minus-sign",semver:"patch"},"dep-up":{branch:null,code:":package:",commit:"dep-up",description:"Add or update compiled files or packages.",emoji:"\u{1F4E6}\uFE0F",entity:"F4E6;",name:"package",semver:"patch"},deploy:{branch:null,code:":rocket:",commit:"deploy",description:"Deploy stuff.",emoji:"\u{1F680}",entity:"🚀",name:"rocket",semver:null},docs:{branch:null,code:":memo:",commit:"docs",description:"Add or update documentation.",emoji:"\u{1F4DD}",entity:"📝",name:"memo",semver:null},"docs-code":{branch:null,code:":bulb:",commit:"docs-code",description:"Add or update comments in source code.",emoji:"\u{1F4A1}",entity:"💡",name:"bulb",semver:null},downgrade:{branch:null,code:":arrow_down:",commit:"downgrade",description:"Downgrade dependencies.",emoji:"\u2B07\uFE0F",entity:"\u2B07\uFE0F",name:"arrow-down",semver:"patch"},dx:{branch:null,code:":technologist:",commit:"dx",description:"Improve developer experience",emoji:"\u{1F9D1}\u200D\u{1F4BB}",entity:"🧑‍💻",name:"technologist",semver:null},egg:{branch:null,code:":egg:",commit:"egg",description:"Add or update an easter egg.",emoji:"\u{1F95A}",entity:"🥚",name:"egg",semver:"patch"},experiment:{branch:null,code:":alembic:",commit:"experiment",description:"Perform experiments.",emoji:"\u2697\uFE0F",entity:"📸",name:"alembic",semver:"patch"},feat:{branch:"feature",code:":sparkles:",commit:"feat",description:"Introduce new features.",emoji:"\u2728",entity:"✨",name:"sparkles",semver:"minor"},fix:{branch:"fix",code:":bug:",commit:"fix",description:"Fix a bug.",emoji:"\u{1F41B}",entity:"🐛",name:"bug",semver:"patch"},"fix-ci":{branch:null,code:":green_heart:",commit:"fix-ci",description:"Fix CI Build.",emoji:"\u{1F49A}",entity:"💚",name:"green-heart",semver:null},flags:{branch:null,code:":triangular_flag_on_post:",commit:"flags",description:"Add, update, or remove feature flags.",emoji:"\u{1F6A9}",entity:"🚩",name:"triangular-flag-on-post",semver:"patch"},healthcheck:{branch:null,code:":stethoscope:",commit:"healthcheck",description:"Add or update healthcheck.",emoji:"\u{1FA7A}",entity:"🩺",name:"stethoscope",semver:null},hotfix:{branch:"hotfix",code:":ambulance:",commit:"hotfix",description:"Critical hotfix.",emoji:"\u{1F691}\uFE0F",entity:"🚑",name:"ambulance",semver:"patch"},i18n:{branch:null,code:":globe_with_meridians:",commit:"i18n",description:"Internationalization and localization.",emoji:"\u{1F310}",entity:"🌐",name:"globe-with-meridians",semver:"patch"},ignore:{branch:null,code:":see_no_evil:",commit:"ignore",description:"Add or update a .gitignore file.",emoji:"\u{1F648}",entity:"bdfe7;",name:"see-no-evil",semver:null},inf:{branch:null,code:":bricks:",commit:"inf",description:"Infrastructure related changes.",emoji:"\u{1F9F1}",entity:"🧱",name:"bricks",semver:null},init:{branch:null,code:":tada:",commit:"init",description:"Begin a project.",emoji:"\u{1F389}",entity:"🎉",name:"tada",semver:"patch"},iphone:{branch:null,code:":iphone:",commit:"iphone",description:"Work on responsive design.",emoji:"\u{1F4F1}",entity:"📱",name:"iphone",semver:"patch"},license:{branch:null,code:":page_facing_up:",commit:"license",description:"Add or update license.",emoji:"\u{1F4C4}",entity:"F4C4;",name:"page-facing-up",semver:null},lint:{branch:null,code:":rotating_light:",commit:"lint",description:"Fix compiler / linter warnings.",emoji:"\u{1F6A8}",entity:"🚨",name:"rotating-light",semver:null},"log-add":{branch:null,code:":loud_sound:",commit:"log-add",description:"Add or update logs.",emoji:"\u{1F50A}",entity:"🔊",name:"loud-sound",semver:null},"log-rm":{branch:null,code:":mute:",commit:"log-rm",description:"Remove logs.",emoji:"\u{1F507}",entity:"🔇",name:"mute",semver:null},logic:{branch:null,code:":necktie:",commit:"logic",description:"Add or update business logic",emoji:"\u{1F454}",entity:"👔",name:"necktie",semver:"patch"},merge:{branch:null,code:":twisted_rightwards_arrows:",commit:"merge",description:"Merge branches.",emoji:"\u{1F500}",entity:"🔀",name:"twisted-rightwards-arrows",semver:null},mock:{branch:null,code:":clown_face:",commit:"mock",description:"Mock things.",emoji:"\u{1F921}",entity:"🤡",name:"clown-face",semver:null},mv:{branch:null,code:":truck:",commit:"mv",description:"Move or rename resources (e.g.: files, paths, routes).",emoji:"\u{1F69A}",entity:"F69A;",name:"truck",semver:null},patch:{branch:null,code:":adhesive_bandage:",commit:"patch",description:"Simple fix for a non-critical issue.",emoji:"\u{1FA79}",entity:"🩹",name:"adhesive-bandage",semver:"patch"},perf:{branch:null,code:":zap:",commit:"perf",description:"Improve performance.",emoji:"\u26A1\uFE0F",entity:"⚡",name:"zap",semver:"patch"},poo:{branch:null,code:":poop:",commit:"poo",description:"Write bad code that needs to be improved.",emoji:"\u{1F4A9}",entity:"",name:"poop",semver:null},prune:{branch:null,code:":fire:",commit:"prune",description:"Remove code or files.",emoji:"\u{1F525}",entity:"🔥",name:"fire",semver:null},pushpin:{branch:null,code:":pushpin:",commit:"pushpin",description:"Pin dependencies to specific versions.",emoji:"\u{1F4CC}",entity:"📌",name:"pushpin",semver:"patch"},refactor:{branch:"refactor",code:":recycle:",commit:"refactor",description:"Refactor code.",emoji:"\u267B\uFE0F",entity:"♲",name:"recycle",semver:null},release:{branch:"release",code:":bookmark:",commit:"release",description:"Release / Version tags.",emoji:"\u{1F516}",entity:"🔖",name:"bookmark",semver:null},revert:{branch:null,code:":rewind:",commit:"revert",description:"Revert changes.",emoji:"\u23EA\uFE0F",entity:"⏪",name:"rewind",semver:"patch"},rip:{branch:null,code:":coffin:",commit:"rip",description:"Remove dead code.",emoji:"\u26B0\uFE0F",entity:"⚰",name:"coffin",semver:null},roles:{branch:null,code:":passport_control:",commit:"roles",description:"Work on code related to authorization, roles and permissions.",emoji:"\u{1F6C2}",entity:"🛂",name:"passport-control",semver:"patch"},rollforward:{branch:null,code:":fast_forward:",commit:"rollforward",description:"Create rollforward version.",emoji:"\u23E9\uFE0F",entity:"E9;",name:"rollforward",semver:null},"run-build":{branch:null,code:":rocket:",commit:"run-build",description:"Custom type for CI/CD to hook into run build override.",emoji:"\u{1F680}\uFE0F",entity:"F680;",name:"run-build",semver:"patch"},secrets:{branch:null,code:":closed_lock_with_key:",commit:"secrets",description:"Add or update secrets.",emoji:"\u{1F510}",entity:"🔐",name:"closed-lock-with-key",semver:null},security:{branch:null,code:":lock:",commit:"security",description:"Fix security issues.",emoji:"\u{1F512}\uFE0F",entity:"🔒",name:"lock",semver:"patch"},seed:{branch:null,code:":seedling:",commit:"seed",description:"Add or update seed files.",emoji:"\u{1F331}",entity:"🌱",name:"seedling",semver:null},seo:{branch:null,code:":mag:",commit:"seo",description:"Improve SEO.",emoji:"\u{1F50D}\uFE0F",entity:"🔍",name:"mag",semver:"patch"},snapshot:{branch:null,code:":camera_flash:",commit:"snapshot",description:"Add or update snapshots.",emoji:"\u{1F4F8}",entity:"📸",name:"camera-flash",semver:null},style:{branch:null,code:":art:",commit:"style",description:"Improve structure / format of the code.",emoji:"\u{1F3A8}",entity:"🎨",name:"art",semver:null},test:{branch:"test",code:":white_check_mark:",commit:"test",description:"Add, update, or pass tests.",emoji:"\u2705",entity:"✅",name:"white-check-mark",semver:null},"test-fail":{branch:null,code:":test_tube:",commit:"test-fail",description:"Add a failing test.",emoji:"\u{1F9EA}",entity:"🧪",name:"test-tube",semver:null},texts:{branch:null,code:":speech_balloon:",commit:"texts",description:"Add or update text and literals.",emoji:"\u{1F4AC}",entity:"💬",name:"speech-balloon",semver:"patch"},types:{branch:null,code:":label:",commit:"types",description:"Add or update types.",emoji:"\u{1F3F7}\uFE0F",entity:"🏷",name:"label",semver:"patch"},typo:{branch:null,code:":pencil2:",commit:"typo",description:"Fix typos.",emoji:"\u270F\uFE0F",entity:"",name:"pencil2",semver:"patch"},ui:{branch:null,code:":lipstick:",commit:"ui",description:"Add or update the UI and style files.",emoji:"\u{1F484}",entity:"&#ff99cc;",name:"lipstick",semver:"patch"},upgrade:{branch:null,code:":arrow_up:",commit:"upgrade",description:"Upgrade dependencies.",emoji:"\u2B06\uFE0F",entity:"\u2B06\uFE0F",name:"arrow-up",semver:"patch"},ux:{branch:null,code:":children_crossing:",commit:"ux",description:"Improve user experience / usability.",emoji:"\u{1F6B8}",entity:"🚸",name:"children-crossing",semver:"patch"},wip:{branch:null,code:":construction:",commit:"wip",description:"Work in progress.",emoji:"\u{1F6A7}",entity:"🚧",name:"construction",semver:null}};0&&(module.exports={commitTypes,releaseRuleTypes});
|
package/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ICommit } from './commit.types';
|
|
2
|
-
export { commit as commitTypes } from './commit';
|
|
3
|
-
export { IReleaseRule, IReleaseRuleProps } from './releaseRule.types';
|
|
4
|
-
export { releaseRule as releaseRuleTypes } from './releaseRule';
|
|
1
|
+
export { ICommit } from './commit.types.js';
|
|
2
|
+
export { commit as commitTypes } from './commit.js';
|
|
3
|
+
export { IReleaseRule, IReleaseRuleProps } from './releaseRule.types.js';
|
|
4
|
+
export { releaseRule as releaseRuleTypes } from './releaseRule.js';
|
package/types/releaseRule.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var o=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var m=Object.prototype.hasOwnProperty;var s=i=>o(i,"__esModule",{value:!0});var d=(i,e)=>{for(var t in e)o(i,t,{get:e[t],enumerable:!0})},l=(i,e,t,c)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of a(e))!m.call(i,n)&&(t||n!=="default")&&o(i,n,{get:()=>e[n],enumerable:!(c=r(e,n))||c.enumerable});return i};var p=(i=>(e,t)=>i&&i.get(e)||(t=l(s({}),e,1),i&&i.set(e,t),t))(typeof WeakMap!="undefined"?new WeakMap:0);var h={};d(h,{releaseRule:()=>u});var u={access:{branch:null,code:":wheelchair:",commit:"access",description:"Improve accessibility.",emoji:"\u267F\uFE0F",entity:"♿",name:"wheelchair",semver:"patch"},analytics:{branch:null,code:":chart_with_upwards_trend:",commit:"analytics",description:"Add or update analytics or track code.",emoji:"\u{1F4C8}",entity:"📈",name:"chart-with-upwards-trend",semver:"patch"},animation:{branch:null,code:":dizzy:",commit:"animation",description:"Add or update animations and transitions.",emoji:"\u{1F4AB}",entity:"💫",name:"animation",semver:"patch"},arch:{branch:null,code:":building_construction:",commit:"arch",description:"Make architectural changes.",emoji:"\u{1F3D7}\uFE0F",entity:"f3d7;",name:"building-construction",semver:null},assets:{branch:null,code:":bento:",commit:"assets",description:"Add or update assets.",emoji:"\u{1F371}",entity:"F371",name:"bento",semver:"patch"},beer:{branch:null,code:":beers:",commit:"beer",description:"Write code drunkenly.",emoji:"\u{1F37B}",entity:"🍻",name:"beers",semver:null},breaking:{branch:null,code:":boom:",commit:"breaking",description:"Introduce breaking changes.",emoji:"\u{1F4A5}",entity:"💥",name:"boom",semver:"major"},build:{branch:null,code:":hammer:",commit:"build",description:"Add or update development scripts.",emoji:"\u{1F528}",entity:"🔨",name:"hammer",semver:null},catch:{branch:null,code:":goal_net:",commit:"catch",description:"Catch errors.",emoji:"\u{1F945}",entity:"🥅",name:"goal-net",semver:"patch"},chore:{branch:"chore",code:":computer_disk:",commit:"chore",description:"Changes that don\u2019t modify src or test files",emoji:"\u{1F4BD}\uFE0F",entity:"💽",name:"computer-disk",semver:null},ci:{branch:"ci",code:":construction_worker:",commit:"ci",description:"Add or update CI build system.",emoji:"\u{1F477}",entity:"👷",name:"construction-worker",semver:null},clean:{branch:null,code:":wastebasket:",commit:"clean",description:"Deprecate code that needs to be cleaned up.",emoji:"\u{1F5D1}\uFE0F",entity:"🗑",name:"wastebasket",semver:"patch"},compat:{branch:null,code:":alien:",commit:"compat",description:"Update code due to external API changes.",emoji:"\u{1F47D}\uFE0F",entity:"F47D;",name:"alien",semver:"patch"},config:{branch:null,code:":wrench:",commit:"config",description:"Add or update configuration files.",emoji:"\u{1F527}",entity:"🔧",name:"wrench",semver:"patch"},"contrib-add":{branch:null,code:":busts_in_silhouette:",commit:"contrib-add",description:"Add or update contributor(s).",emoji:"\u{1F465}",entity:"👥",name:"busts-in-silhouette",semver:null},data:{branch:null,code:":monocle_face:",commit:"data",description:"Data exploration/inspection.",emoji:"\u{1F9D0}",entity:"🧐",name:"monocle-face",semver:null},db:{branch:null,code:":card_file_box:",commit:"db",description:"Perform database related changes.",emoji:"\u{1F5C3}\uFE0F",entity:"🗃",name:"card-file-box",semver:"patch"},"dep-add":{branch:null,code:":heavy_plus_sign:",commit:"dep-add",description:"Add a dependency.",emoji:"\u2795",entity:"➕",name:"heavy-plus-sign",semver:"patch"},"dep-rm":{branch:null,code:":heavy_minus_sign:",commit:"dep-rm",description:"Remove a dependency.",emoji:"\u2796",entity:"➖",name:"heavy-minus-sign",semver:"patch"},"dep-up":{branch:null,code:":package:",commit:"dep-up",description:"Add or update compiled files or packages.",emoji:"\u{1F4E6}\uFE0F",entity:"F4E6;",name:"package",semver:"patch"},deploy:{branch:null,code:":rocket:",commit:"deploy",description:"Deploy stuff.",emoji:"\u{1F680}",entity:"🚀",name:"rocket",semver:null},docs:{branch:null,code:":memo:",commit:"docs",description:"Add or update documentation.",emoji:"\u{1F4DD}",entity:"📝",name:"memo",semver:null},"docs-code":{branch:null,code:":bulb:",commit:"docs-code",description:"Add or update comments in source code.",emoji:"\u{1F4A1}",entity:"💡",name:"bulb",semver:null},downgrade:{branch:null,code:":arrow_down:",commit:"downgrade",description:"Downgrade dependencies.",emoji:"\u2B07\uFE0F",entity:"\u2B07\uFE0F",name:"arrow-down",semver:"patch"},dx:{branch:null,code:":technologist:",commit:"dx",description:"Improve developer experience",emoji:"\u{1F9D1}\u200D\u{1F4BB}",entity:"🧑‍💻",name:"technologist",semver:null},egg:{branch:null,code:":egg:",commit:"egg",description:"Add or update an easter egg.",emoji:"\u{1F95A}",entity:"🥚",name:"egg",semver:"patch"},experiment:{branch:null,code:":alembic:",commit:"experiment",description:"Perform experiments.",emoji:"\u2697\uFE0F",entity:"📸",name:"alembic",semver:"patch"},feat:{branch:"feature",code:":sparkles:",commit:"feat",description:"Introduce new features.",emoji:"\u2728",entity:"✨",name:"sparkles",semver:"minor"},fix:{branch:"fix",code:":bug:",commit:"fix",description:"Fix a bug.",emoji:"\u{1F41B}",entity:"🐛",name:"bug",semver:"patch"},"fix-ci":{branch:null,code:":green_heart:",commit:"fix-ci",description:"Fix CI Build.",emoji:"\u{1F49A}",entity:"💚",name:"green-heart",semver:null},flags:{branch:null,code:":triangular_flag_on_post:",commit:"flags",description:"Add, update, or remove feature flags.",emoji:"\u{1F6A9}",entity:"🚩",name:"triangular-flag-on-post",semver:"patch"},healthcheck:{branch:null,code:":stethoscope:",commit:"healthcheck",description:"Add or update healthcheck.",emoji:"\u{1FA7A}",entity:"🩺",name:"stethoscope",semver:null},hotfix:{branch:"hotfix",code:":ambulance:",commit:"hotfix",description:"Critical hotfix.",emoji:"\u{1F691}\uFE0F",entity:"🚑",name:"ambulance",semver:"patch"},i18n:{branch:null,code:":globe_with_meridians:",commit:"i18n",description:"Internationalization and localization.",emoji:"\u{1F310}",entity:"🌐",name:"globe-with-meridians",semver:"patch"},ignore:{branch:null,code:":see_no_evil:",commit:"ignore",description:"Add or update a .gitignore file.",emoji:"\u{1F648}",entity:"bdfe7;",name:"see-no-evil",semver:null},inf:{branch:null,code:":bricks:",commit:"inf",description:"Infrastructure related changes.",emoji:"\u{1F9F1}",entity:"🧱",name:"bricks",semver:null},init:{branch:null,code:":tada:",commit:"init",description:"Begin a project.",emoji:"\u{1F389}",entity:"🎉",name:"tada",semver:"patch"},iphone:{branch:null,code:":iphone:",commit:"iphone",description:"Work on responsive design.",emoji:"\u{1F4F1}",entity:"📱",name:"iphone",semver:"patch"},license:{branch:null,code:":page_facing_up:",commit:"license",description:"Add or update license.",emoji:"\u{1F4C4}",entity:"F4C4;",name:"page-facing-up",semver:null},lint:{branch:null,code:":rotating_light:",commit:"lint",description:"Fix compiler / linter warnings.",emoji:"\u{1F6A8}",entity:"🚨",name:"rotating-light",semver:null},"log-add":{branch:null,code:":loud_sound:",commit:"log-add",description:"Add or update logs.",emoji:"\u{1F50A}",entity:"🔊",name:"loud-sound",semver:null},"log-rm":{branch:null,code:":mute:",commit:"log-rm",description:"Remove logs.",emoji:"\u{1F507}",entity:"🔇",name:"mute",semver:null},logic:{branch:null,code:":necktie:",commit:"logic",description:"Add or update business logic",emoji:"\u{1F454}",entity:"👔",name:"necktie",semver:"patch"},merge:{branch:null,code:":twisted_rightwards_arrows:",commit:"merge",description:"Merge branches.",emoji:"\u{1F500}",entity:"🔀",name:"twisted-rightwards-arrows",semver:null},mock:{branch:null,code:":clown_face:",commit:"mock",description:"Mock things.",emoji:"\u{1F921}",entity:"🤡",name:"clown-face",semver:null},mv:{branch:null,code:":truck:",commit:"mv",description:"Move or rename resources (e.g.: files, paths, routes).",emoji:"\u{1F69A}",entity:"F69A;",name:"truck",semver:null},patch:{branch:null,code:":adhesive_bandage:",commit:"patch",description:"Simple fix for a non-critical issue.",emoji:"\u{1FA79}",entity:"🩹",name:"adhesive-bandage",semver:"patch"},perf:{branch:null,code:":zap:",commit:"perf",description:"Improve performance.",emoji:"\u26A1\uFE0F",entity:"⚡",name:"zap",semver:"patch"},poo:{branch:null,code:":poop:",commit:"poo",description:"Write bad code that needs to be improved.",emoji:"\u{1F4A9}",entity:"",name:"poop",semver:null},prune:{branch:null,code:":fire:",commit:"prune",description:"Remove code or files.",emoji:"\u{1F525}",entity:"🔥",name:"fire",semver:null},pushpin:{branch:null,code:":pushpin:",commit:"pushpin",description:"Pin dependencies to specific versions.",emoji:"\u{1F4CC}",entity:"📌",name:"pushpin",semver:"patch"},refactor:{branch:"refactor",code:":recycle:",commit:"refactor",description:"Refactor code.",emoji:"\u267B\uFE0F",entity:"♲",name:"recycle",semver:null},release:{branch:"release",code:":bookmark:",commit:"release",description:"Release / Version tags.",emoji:"\u{1F516}",entity:"🔖",name:"bookmark",semver:null},revert:{branch:null,code:":rewind:",commit:"revert",description:"Revert changes.",emoji:"\u23EA\uFE0F",entity:"⏪",name:"rewind",semver:"patch"},rip:{branch:null,code:":coffin:",commit:"rip",description:"Remove dead code.",emoji:"\u26B0\uFE0F",entity:"⚰",name:"coffin",semver:null},roles:{branch:null,code:":passport_control:",commit:"roles",description:"Work on code related to authorization, roles and permissions.",emoji:"\u{1F6C2}",entity:"🛂",name:"passport-control",semver:"patch"},rollforward:{branch:null,code:":fast_forward:",commit:"rollforward",description:"Create rollforward version.",emoji:"\u23E9\uFE0F",entity:"E9;",name:"rollforward",semver:null},"run-build":{branch:null,code:":rocket:",commit:"run-build",description:"Custom type for CI/CD to hook into run build override.",emoji:"\u{1F680}\uFE0F",entity:"F680;",name:"run-build",semver:"patch"},secrets:{branch:null,code:":closed_lock_with_key:",commit:"secrets",description:"Add or update secrets.",emoji:"\u{1F510}",entity:"🔐",name:"closed-lock-with-key",semver:null},security:{branch:null,code:":lock:",commit:"security",description:"Fix security issues.",emoji:"\u{1F512}\uFE0F",entity:"🔒",name:"lock",semver:"patch"},seed:{branch:null,code:":seedling:",commit:"seed",description:"Add or update seed files.",emoji:"\u{1F331}",entity:"🌱",name:"seedling",semver:null},seo:{branch:null,code:":mag:",commit:"seo",description:"Improve SEO.",emoji:"\u{1F50D}\uFE0F",entity:"🔍",name:"mag",semver:"patch"},snapshot:{branch:null,code:":camera_flash:",commit:"snapshot",description:"Add or update snapshots.",emoji:"\u{1F4F8}",entity:"📸",name:"camera-flash",semver:null},style:{branch:null,code:":art:",commit:"style",description:"Improve structure / format of the code.",emoji:"\u{1F3A8}",entity:"🎨",name:"art",semver:null},test:{branch:"test",code:":white_check_mark:",commit:"test",description:"Add, update, or pass tests.",emoji:"\u2705",entity:"✅",name:"white-check-mark",semver:null},"test-fail":{branch:null,code:":test_tube:",commit:"test-fail",description:"Add a failing test.",emoji:"\u{1F9EA}",entity:"🧪",name:"test-tube",semver:null},texts:{branch:null,code:":speech_balloon:",commit:"texts",description:"Add or update text and literals.",emoji:"\u{1F4AC}",entity:"💬",name:"speech-balloon",semver:"patch"},types:{branch:null,code:":label:",commit:"types",description:"Add or update types.",emoji:"\u{1F3F7}\uFE0F",entity:"🏷",name:"label",semver:"patch"},typo:{branch:null,code:":pencil2:",commit:"typo",description:"Fix typos.",emoji:"\u270F\uFE0F",entity:"",name:"pencil2",semver:"patch"},ui:{branch:null,code:":lipstick:",commit:"ui",description:"Add or update the UI and style files.",emoji:"\u{1F484}",entity:"&#ff99cc;",name:"lipstick",semver:"patch"},upgrade:{branch:null,code:":arrow_up:",commit:"upgrade",description:"Upgrade dependencies.",emoji:"\u2B06\uFE0F",entity:"\u2B06\uFE0F",name:"arrow-up",semver:"patch"},ux:{branch:null,code:":children_crossing:",commit:"ux",description:"Improve user experience / usability.",emoji:"\u{1F6B8}",entity:"🚸",name:"children-crossing",semver:"patch"},wip:{branch:null,code:":construction:",commit:"wip",description:"Work in progress.",emoji:"\u{1F6A7}",entity:"🚧",name:"construction",semver:null}};module.exports=p(h);0&&(module.exports={releaseRule});
|
|
1
|
+
var o=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var m=Object.prototype.hasOwnProperty;var s=(i,e)=>{for(var n in e)o(i,n,{get:e[n],enumerable:!0})},d=(i,e,n,c)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of a(e))!m.call(i,t)&&t!==n&&o(i,t,{get:()=>e[t],enumerable:!(c=r(e,t))||c.enumerable});return i};var l=i=>d(o({},"__esModule",{value:!0}),i);var u={};s(u,{releaseRule:()=>p});module.exports=l(u);var p={access:{branch:null,code:":wheelchair:",commit:"access",description:"Improve accessibility.",emoji:"\u267F\uFE0F",entity:"♿",name:"wheelchair",semver:"patch"},analytics:{branch:null,code:":chart_with_upwards_trend:",commit:"analytics",description:"Add or update analytics or track code.",emoji:"\u{1F4C8}",entity:"📈",name:"chart-with-upwards-trend",semver:"patch"},animation:{branch:null,code:":dizzy:",commit:"animation",description:"Add or update animations and transitions.",emoji:"\u{1F4AB}",entity:"💫",name:"animation",semver:"patch"},arch:{branch:null,code:":building_construction:",commit:"arch",description:"Make architectural changes.",emoji:"\u{1F3D7}\uFE0F",entity:"f3d7;",name:"building-construction",semver:null},assets:{branch:null,code:":bento:",commit:"assets",description:"Add or update assets.",emoji:"\u{1F371}",entity:"F371",name:"bento",semver:"patch"},beer:{branch:null,code:":beers:",commit:"beer",description:"Write code drunkenly.",emoji:"\u{1F37B}",entity:"🍻",name:"beers",semver:null},breaking:{branch:null,code:":boom:",commit:"breaking",description:"Introduce breaking changes.",emoji:"\u{1F4A5}",entity:"💥",name:"boom",semver:"major"},build:{branch:null,code:":hammer:",commit:"build",description:"Add or update development scripts.",emoji:"\u{1F528}",entity:"🔨",name:"hammer",semver:null},catch:{branch:null,code:":goal_net:",commit:"catch",description:"Catch errors.",emoji:"\u{1F945}",entity:"🥅",name:"goal-net",semver:"patch"},chore:{branch:"chore",code:":computer_disk:",commit:"chore",description:"Changes that don\u2019t modify src or test files",emoji:"\u{1F4BD}\uFE0F",entity:"💽",name:"computer-disk",semver:null},ci:{branch:"ci",code:":construction_worker:",commit:"ci",description:"Add or update CI build system.",emoji:"\u{1F477}",entity:"👷",name:"construction-worker",semver:null},clean:{branch:null,code:":wastebasket:",commit:"clean",description:"Deprecate code that needs to be cleaned up.",emoji:"\u{1F5D1}\uFE0F",entity:"🗑",name:"wastebasket",semver:"patch"},compat:{branch:null,code:":alien:",commit:"compat",description:"Update code due to external API changes.",emoji:"\u{1F47D}\uFE0F",entity:"F47D;",name:"alien",semver:"patch"},config:{branch:null,code:":wrench:",commit:"config",description:"Add or update configuration files.",emoji:"\u{1F527}",entity:"🔧",name:"wrench",semver:"patch"},"contrib-add":{branch:null,code:":busts_in_silhouette:",commit:"contrib-add",description:"Add or update contributor(s).",emoji:"\u{1F465}",entity:"👥",name:"busts-in-silhouette",semver:null},data:{branch:null,code:":monocle_face:",commit:"data",description:"Data exploration/inspection.",emoji:"\u{1F9D0}",entity:"🧐",name:"monocle-face",semver:null},db:{branch:null,code:":card_file_box:",commit:"db",description:"Perform database related changes.",emoji:"\u{1F5C3}\uFE0F",entity:"🗃",name:"card-file-box",semver:"patch"},"dep-add":{branch:null,code:":heavy_plus_sign:",commit:"dep-add",description:"Add a dependency.",emoji:"\u2795",entity:"➕",name:"heavy-plus-sign",semver:"patch"},"dep-rm":{branch:null,code:":heavy_minus_sign:",commit:"dep-rm",description:"Remove a dependency.",emoji:"\u2796",entity:"➖",name:"heavy-minus-sign",semver:"patch"},"dep-up":{branch:null,code:":package:",commit:"dep-up",description:"Add or update compiled files or packages.",emoji:"\u{1F4E6}\uFE0F",entity:"F4E6;",name:"package",semver:"patch"},deploy:{branch:null,code:":rocket:",commit:"deploy",description:"Deploy stuff.",emoji:"\u{1F680}",entity:"🚀",name:"rocket",semver:null},docs:{branch:null,code:":memo:",commit:"docs",description:"Add or update documentation.",emoji:"\u{1F4DD}",entity:"📝",name:"memo",semver:null},"docs-code":{branch:null,code:":bulb:",commit:"docs-code",description:"Add or update comments in source code.",emoji:"\u{1F4A1}",entity:"💡",name:"bulb",semver:null},downgrade:{branch:null,code:":arrow_down:",commit:"downgrade",description:"Downgrade dependencies.",emoji:"\u2B07\uFE0F",entity:"\u2B07\uFE0F",name:"arrow-down",semver:"patch"},dx:{branch:null,code:":technologist:",commit:"dx",description:"Improve developer experience",emoji:"\u{1F9D1}\u200D\u{1F4BB}",entity:"🧑‍💻",name:"technologist",semver:null},egg:{branch:null,code:":egg:",commit:"egg",description:"Add or update an easter egg.",emoji:"\u{1F95A}",entity:"🥚",name:"egg",semver:"patch"},experiment:{branch:null,code:":alembic:",commit:"experiment",description:"Perform experiments.",emoji:"\u2697\uFE0F",entity:"📸",name:"alembic",semver:"patch"},feat:{branch:"feature",code:":sparkles:",commit:"feat",description:"Introduce new features.",emoji:"\u2728",entity:"✨",name:"sparkles",semver:"minor"},fix:{branch:"fix",code:":bug:",commit:"fix",description:"Fix a bug.",emoji:"\u{1F41B}",entity:"🐛",name:"bug",semver:"patch"},"fix-ci":{branch:null,code:":green_heart:",commit:"fix-ci",description:"Fix CI Build.",emoji:"\u{1F49A}",entity:"💚",name:"green-heart",semver:null},flags:{branch:null,code:":triangular_flag_on_post:",commit:"flags",description:"Add, update, or remove feature flags.",emoji:"\u{1F6A9}",entity:"🚩",name:"triangular-flag-on-post",semver:"patch"},healthcheck:{branch:null,code:":stethoscope:",commit:"healthcheck",description:"Add or update healthcheck.",emoji:"\u{1FA7A}",entity:"🩺",name:"stethoscope",semver:null},hotfix:{branch:"hotfix",code:":ambulance:",commit:"hotfix",description:"Critical hotfix.",emoji:"\u{1F691}\uFE0F",entity:"🚑",name:"ambulance",semver:"patch"},i18n:{branch:null,code:":globe_with_meridians:",commit:"i18n",description:"Internationalization and localization.",emoji:"\u{1F310}",entity:"🌐",name:"globe-with-meridians",semver:"patch"},ignore:{branch:null,code:":see_no_evil:",commit:"ignore",description:"Add or update a .gitignore file.",emoji:"\u{1F648}",entity:"bdfe7;",name:"see-no-evil",semver:null},inf:{branch:null,code:":bricks:",commit:"inf",description:"Infrastructure related changes.",emoji:"\u{1F9F1}",entity:"🧱",name:"bricks",semver:null},init:{branch:null,code:":tada:",commit:"init",description:"Begin a project.",emoji:"\u{1F389}",entity:"🎉",name:"tada",semver:"patch"},iphone:{branch:null,code:":iphone:",commit:"iphone",description:"Work on responsive design.",emoji:"\u{1F4F1}",entity:"📱",name:"iphone",semver:"patch"},license:{branch:null,code:":page_facing_up:",commit:"license",description:"Add or update license.",emoji:"\u{1F4C4}",entity:"F4C4;",name:"page-facing-up",semver:null},lint:{branch:null,code:":rotating_light:",commit:"lint",description:"Fix compiler / linter warnings.",emoji:"\u{1F6A8}",entity:"🚨",name:"rotating-light",semver:null},"log-add":{branch:null,code:":loud_sound:",commit:"log-add",description:"Add or update logs.",emoji:"\u{1F50A}",entity:"🔊",name:"loud-sound",semver:null},"log-rm":{branch:null,code:":mute:",commit:"log-rm",description:"Remove logs.",emoji:"\u{1F507}",entity:"🔇",name:"mute",semver:null},logic:{branch:null,code:":necktie:",commit:"logic",description:"Add or update business logic",emoji:"\u{1F454}",entity:"👔",name:"necktie",semver:"patch"},merge:{branch:null,code:":twisted_rightwards_arrows:",commit:"merge",description:"Merge branches.",emoji:"\u{1F500}",entity:"🔀",name:"twisted-rightwards-arrows",semver:null},mock:{branch:null,code:":clown_face:",commit:"mock",description:"Mock things.",emoji:"\u{1F921}",entity:"🤡",name:"clown-face",semver:null},mv:{branch:null,code:":truck:",commit:"mv",description:"Move or rename resources (e.g.: files, paths, routes).",emoji:"\u{1F69A}",entity:"F69A;",name:"truck",semver:null},patch:{branch:null,code:":adhesive_bandage:",commit:"patch",description:"Simple fix for a non-critical issue.",emoji:"\u{1FA79}",entity:"🩹",name:"adhesive-bandage",semver:"patch"},perf:{branch:null,code:":zap:",commit:"perf",description:"Improve performance.",emoji:"\u26A1\uFE0F",entity:"⚡",name:"zap",semver:"patch"},poo:{branch:null,code:":poop:",commit:"poo",description:"Write bad code that needs to be improved.",emoji:"\u{1F4A9}",entity:"",name:"poop",semver:null},prune:{branch:null,code:":fire:",commit:"prune",description:"Remove code or files.",emoji:"\u{1F525}",entity:"🔥",name:"fire",semver:null},pushpin:{branch:null,code:":pushpin:",commit:"pushpin",description:"Pin dependencies to specific versions.",emoji:"\u{1F4CC}",entity:"📌",name:"pushpin",semver:"patch"},refactor:{branch:"refactor",code:":recycle:",commit:"refactor",description:"Refactor code.",emoji:"\u267B\uFE0F",entity:"♲",name:"recycle",semver:null},release:{branch:"release",code:":bookmark:",commit:"release",description:"Release / Version tags.",emoji:"\u{1F516}",entity:"🔖",name:"bookmark",semver:null},revert:{branch:null,code:":rewind:",commit:"revert",description:"Revert changes.",emoji:"\u23EA\uFE0F",entity:"⏪",name:"rewind",semver:"patch"},rip:{branch:null,code:":coffin:",commit:"rip",description:"Remove dead code.",emoji:"\u26B0\uFE0F",entity:"⚰",name:"coffin",semver:null},roles:{branch:null,code:":passport_control:",commit:"roles",description:"Work on code related to authorization, roles and permissions.",emoji:"\u{1F6C2}",entity:"🛂",name:"passport-control",semver:"patch"},rollforward:{branch:null,code:":fast_forward:",commit:"rollforward",description:"Create rollforward version.",emoji:"\u23E9\uFE0F",entity:"E9;",name:"rollforward",semver:null},"run-build":{branch:null,code:":rocket:",commit:"run-build",description:"Custom type for CI/CD to hook into run build override.",emoji:"\u{1F680}\uFE0F",entity:"F680;",name:"run-build",semver:"patch"},secrets:{branch:null,code:":closed_lock_with_key:",commit:"secrets",description:"Add or update secrets.",emoji:"\u{1F510}",entity:"🔐",name:"closed-lock-with-key",semver:null},security:{branch:null,code:":lock:",commit:"security",description:"Fix security issues.",emoji:"\u{1F512}\uFE0F",entity:"🔒",name:"lock",semver:"patch"},seed:{branch:null,code:":seedling:",commit:"seed",description:"Add or update seed files.",emoji:"\u{1F331}",entity:"🌱",name:"seedling",semver:null},seo:{branch:null,code:":mag:",commit:"seo",description:"Improve SEO.",emoji:"\u{1F50D}\uFE0F",entity:"🔍",name:"mag",semver:"patch"},snapshot:{branch:null,code:":camera_flash:",commit:"snapshot",description:"Add or update snapshots.",emoji:"\u{1F4F8}",entity:"📸",name:"camera-flash",semver:null},style:{branch:null,code:":art:",commit:"style",description:"Improve structure / format of the code.",emoji:"\u{1F3A8}",entity:"🎨",name:"art",semver:null},test:{branch:"test",code:":white_check_mark:",commit:"test",description:"Add, update, or pass tests.",emoji:"\u2705",entity:"✅",name:"white-check-mark",semver:null},"test-fail":{branch:null,code:":test_tube:",commit:"test-fail",description:"Add a failing test.",emoji:"\u{1F9EA}",entity:"🧪",name:"test-tube",semver:null},texts:{branch:null,code:":speech_balloon:",commit:"texts",description:"Add or update text and literals.",emoji:"\u{1F4AC}",entity:"💬",name:"speech-balloon",semver:"patch"},types:{branch:null,code:":label:",commit:"types",description:"Add or update types.",emoji:"\u{1F3F7}\uFE0F",entity:"🏷",name:"label",semver:"patch"},typo:{branch:null,code:":pencil2:",commit:"typo",description:"Fix typos.",emoji:"\u270F\uFE0F",entity:"",name:"pencil2",semver:"patch"},ui:{branch:null,code:":lipstick:",commit:"ui",description:"Add or update the UI and style files.",emoji:"\u{1F484}",entity:"&#ff99cc;",name:"lipstick",semver:"patch"},upgrade:{branch:null,code:":arrow_up:",commit:"upgrade",description:"Upgrade dependencies.",emoji:"\u2B06\uFE0F",entity:"\u2B06\uFE0F",name:"arrow-up",semver:"patch"},ux:{branch:null,code:":children_crossing:",commit:"ux",description:"Improve user experience / usability.",emoji:"\u{1F6B8}",entity:"🚸",name:"children-crossing",semver:"patch"},wip:{branch:null,code:":construction:",commit:"wip",description:"Work in progress.",emoji:"\u{1F6A7}",entity:"🚧",name:"construction",semver:null}};0&&(module.exports={releaseRule});
|
package/types/releaseRule.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var r=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var n=Object.prototype.hasOwnProperty;var p=(t,e,o,m)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of l(e))!n.call(t,i)&&i!==o&&r(t,i,{get:()=>e[i],enumerable:!(m=s(e,i))||m.enumerable});return t};var a=t=>p(r({},"__esModule",{value:!0}),t);var I={};module.exports=a(I);
|