@jeromefitz/conventional-gitmoji 2.0.3 → 2.1.0-changelog.1

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