cz-adapter-eslint
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -1,2 +0,123 @@ | ||
var t=function(t){if(!Array.isArray(t))throw new TypeError("expected an array");var e=t.length;if(0!==e){var r=t[0];"number"==typeof r&&(r=String(r));for(var n=r.length,o=0;++o<e;){var i=t[o];if(null!=i){"number"==typeof i&&(i=String(i));var a=i.length;"number"==typeof a&&a>n&&(n=a,r=i)}}return r}},e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function r(t,e){return t(e={exports:{}},e.exports),e.exports}var n=r(function(t,r){var n=200,o="Expected a function",i="__lodash_hash_undefined__",a=1,u=2,c=1/0,f=9007199254740991,s="[object Arguments]",l="[object Array]",p="[object Boolean]",h="[object Date]",y="[object Error]",v="[object Function]",d="[object GeneratorFunction]",g="[object Map]",_="[object Number]",b="[object Object]",m="[object RegExp]",w="[object Set]",j="[object String]",A="[object Symbol]",k="[object ArrayBuffer]",O="[object DataView]",E=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,x=/^\w*$/,S=/^\./,B=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,$=/\\(\\)?/g,T=/^\[object .+?Constructor\]$/,D=/^(?:0|[1-9]\d*)$/,I={};I["[object Float32Array]"]=I["[object Float64Array]"]=I["[object Int8Array]"]=I["[object Int16Array]"]=I["[object Int32Array]"]=I["[object Uint8Array]"]=I["[object Uint8ClampedArray]"]=I["[object Uint16Array]"]=I["[object Uint32Array]"]=!0,I[s]=I[l]=I[k]=I[p]=I[O]=I[h]=I[y]=I[v]=I[g]=I[_]=I[b]=I[m]=I[w]=I[j]=I["[object WeakMap]"]=!1;var U="object"==typeof e&&e&&e.Object===Object&&e,F="object"==typeof self&&self&&self.Object===Object&&self,N=U||F||Function("return this")(),P=r&&!r.nodeType&&r,C=P&&t&&!t.nodeType&&t,M=C&&C.exports===P&&U.process,R=function(){try{return M&&M.binding("util")}catch(t){}}(),W=R&&R.isTypedArray;function G(t,e){for(var r=-1,n=t?t.length:0,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o}function L(t,e){for(var r=-1,n=t?t.length:0;++r<n;)if(e(t[r],r,t))return!0;return!1}function z(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}function H(t){var e=-1,r=Array(t.size);return t.forEach(function(t,n){r[++e]=[n,t]}),r}function K(t){var e=-1,r=Array(t.size);return t.forEach(function(t){r[++e]=t}),r}var V,q,J,Q=Array.prototype,X=Function.prototype,Y=Object.prototype,Z=N["__core-js_shared__"],tt=(V=/[^.]+$/.exec(Z&&Z.keys&&Z.keys.IE_PROTO||""))?"Symbol(src)_1."+V:"",et=X.toString,rt=Y.hasOwnProperty,nt=Y.toString,ot=RegExp("^"+et.call(rt).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),it=N.Symbol,at=N.Uint8Array,ut=Y.propertyIsEnumerable,ct=Q.splice,ft=(q=Object.keys,J=Object,function(t){return q(J(t))}),st=Ht(N,"DataView"),lt=Ht(N,"Map"),pt=Ht(N,"Promise"),ht=Ht(N,"Set"),yt=Ht(N,"WeakMap"),vt=Ht(Object,"create"),dt=Zt(st),gt=Zt(lt),_t=Zt(pt),bt=Zt(ht),mt=Zt(yt),wt=it?it.prototype:void 0,jt=wt?wt.valueOf:void 0,At=wt?wt.toString:void 0;function kt(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function Ot(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function Et(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function xt(t){var e=-1,r=t?t.length:0;for(this.__data__=new Et;++e<r;)this.add(t[e])}function St(t){this.__data__=new Ot(t)}function Bt(t,e){var r=ne(t)||re(t)?function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}(t.length,String):[],n=r.length,o=!!n;for(var i in t)!e&&!rt.call(t,i)||o&&("length"==i||Vt(i,n))||r.push(i);return r}function $t(t,e){for(var r=t.length;r--;)if(ee(t[r][0],e))return r;return-1}kt.prototype.clear=function(){this.__data__=vt?vt(null):{}},kt.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},kt.prototype.get=function(t){var e=this.__data__;if(vt){var r=e[t];return r===i?void 0:r}return rt.call(e,t)?e[t]:void 0},kt.prototype.has=function(t){var e=this.__data__;return vt?void 0!==e[t]:rt.call(e,t)},kt.prototype.set=function(t,e){return this.__data__[t]=vt&&void 0===e?i:e,this},Ot.prototype.clear=function(){this.__data__=[]},Ot.prototype.delete=function(t){var e=this.__data__,r=$t(e,t);return!(r<0||(r==e.length-1?e.pop():ct.call(e,r,1),0))},Ot.prototype.get=function(t){var e=this.__data__,r=$t(e,t);return r<0?void 0:e[r][1]},Ot.prototype.has=function(t){return $t(this.__data__,t)>-1},Ot.prototype.set=function(t,e){var r=this.__data__,n=$t(r,t);return n<0?r.push([t,e]):r[n][1]=e,this},Et.prototype.clear=function(){this.__data__={hash:new kt,map:new(lt||Ot),string:new kt}},Et.prototype.delete=function(t){return zt(this,t).delete(t)},Et.prototype.get=function(t){return zt(this,t).get(t)},Et.prototype.has=function(t){return zt(this,t).has(t)},Et.prototype.set=function(t,e){return zt(this,t).set(t,e),this},xt.prototype.add=xt.prototype.push=function(t){return this.__data__.set(t,i),this},xt.prototype.has=function(t){return this.__data__.has(t)},St.prototype.clear=function(){this.__data__=new Ot},St.prototype.delete=function(t){return this.__data__.delete(t)},St.prototype.get=function(t){return this.__data__.get(t)},St.prototype.has=function(t){return this.__data__.has(t)},St.prototype.set=function(t,e){var r=this.__data__;if(r instanceof Ot){var o=r.__data__;if(!lt||o.length<n-1)return o.push([t,e]),this;r=this.__data__=new Et(o)}return r.set(t,e),this};var Tt,Dt,It=(Tt=function(t,e){return t&&Ut(t,e,le)},function(t,e){if(null==t)return t;if(!oe(t))return Tt(t,e);for(var r=t.length,n=Dt?r:-1,o=Object(t);(Dt?n--:++n<r)&&!1!==e(o[n],n,o););return t}),Ut=function(t){return function(e,r,n){for(var o=-1,i=Object(e),a=n(e),u=a.length;u--;){var c=a[t?u:++o];if(!1===r(i[c],c,i))break}return e}}();function Ft(t,e){for(var r=0,n=(e=qt(e,t)?[e]:Gt(e)).length;null!=t&&r<n;)t=t[Yt(e[r++])];return r&&r==n?t:void 0}function Nt(t,e){return null!=t&&e in Object(t)}function Pt(t,e,r,n,o){return t===e||(null==t||null==e||!ue(t)&&!ce(e)?t!=t&&e!=e:function(t,e,r,n,o,i){var c=ne(t),f=ne(e),v=l,d=l;c||(v=(v=Kt(t))==s?b:v);f||(d=(d=Kt(e))==s?b:d);var E=v==b&&!z(t),x=d==b&&!z(e),S=v==d;if(S&&!E)return i||(i=new St),c||se(t)?Lt(t,e,r,n,o,i):function(t,e,r,n,o,i,c){switch(r){case O:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case k:return!(t.byteLength!=e.byteLength||!n(new at(t),new at(e)));case p:case h:case _:return ee(+t,+e);case y:return t.name==e.name&&t.message==e.message;case m:case j:return t==e+"";case g:var f=H;case w:var s=i&u;if(f||(f=K),t.size!=e.size&&!s)return!1;var l=c.get(t);if(l)return l==e;i|=a,c.set(t,e);var v=Lt(f(t),f(e),n,o,i,c);return c.delete(t),v;case A:if(jt)return jt.call(t)==jt.call(e)}return!1}(t,e,v,r,n,o,i);if(!(o&u)){var B=E&&rt.call(t,"__wrapped__"),$=x&&rt.call(e,"__wrapped__");if(B||$){var T=B?t.value():t,D=$?e.value():e;return i||(i=new St),r(T,D,n,o,i)}}if(!S)return!1;return i||(i=new St),function(t,e,r,n,o,i){var a=o&u,c=le(t),f=c.length,s=le(e);if(f!=s.length&&!a)return!1;for(var l=f;l--;){var p=c[l];if(!(a?p in e:rt.call(e,p)))return!1}var h=i.get(t);if(h&&i.get(e))return h==e;var y=!0;i.set(t,e),i.set(e,t);for(var v=a;++l<f;){var d=t[p=c[l]],g=e[p];if(n)var _=a?n(g,d,p,e,t,i):n(d,g,p,t,e,i);if(!(void 0===_?d===g||r(d,g,n,o,i):_)){y=!1;break}v||(v="constructor"==p)}if(y&&!v){var b=t.constructor,m=e.constructor;b!=m&&"constructor"in t&&"constructor"in e&&!("function"==typeof b&&b instanceof b&&"function"==typeof m&&m instanceof m)&&(y=!1)}return i.delete(t),i.delete(e),y}(t,e,r,n,o,i)}(t,e,Pt,r,n,o))}function Ct(t){return!(!ue(t)||tt&&tt in t)&&(ie(t)||z(t)?ot:T).test(Zt(t))}function Mt(t){return"function"==typeof t?t:null==t?pe:"object"==typeof t?ne(t)?function(t,e){if(qt(t)&&Jt(e))return Qt(Yt(t),e);return function(r){var n=function(t,e,r){var n=null==t?void 0:Ft(t,e);return void 0===n?r:n}(r,t);return void 0===n&&n===e?function(t,e){return null!=t&&function(t,e,r){var n,o=-1,i=(e=qt(e,t)?[e]:Gt(e)).length;for(;++o<i;){var a=Yt(e[o]);if(!(n=null!=t&&r(t,a)))break;t=t[a]}if(n)return n;return!!(i=t?t.length:0)&&ae(i)&&Vt(a,i)&&(ne(t)||re(t))}(t,e,Nt)}(r,t):Pt(e,n,void 0,a|u)}}(t[0],t[1]):function(t){var e=function(t){var e=le(t),r=e.length;for(;r--;){var n=e[r],o=t[n];e[r]=[n,o,Jt(o)]}return e}(t);if(1==e.length&&e[0][2])return Qt(e[0][0],e[0][1]);return function(r){return r===t||function(t,e,r,n){var o=r.length,i=o,c=!n;if(null==t)return!i;for(t=Object(t);o--;){var f=r[o];if(c&&f[2]?f[1]!==t[f[0]]:!(f[0]in t))return!1}for(;++o<i;){var s=(f=r[o])[0],l=t[s],p=f[1];if(c&&f[2]){if(void 0===l&&!(s in t))return!1}else{var h=new St;if(n)var y=n(l,p,s,t,e,h);if(!(void 0===y?Pt(p,l,n,a|u,h):y))return!1}}return!0}(r,t,e)}}(t):qt(e=t)?(r=Yt(e),function(t){return null==t?void 0:t[r]}):function(t){return function(e){return Ft(e,t)}}(e);var e,r}function Rt(t){if((e=t)!==("function"==typeof(r=e&&e.constructor)&&r.prototype||Y))return ft(t);var e,r,n=[];for(var o in Object(t))rt.call(t,o)&&"constructor"!=o&&n.push(o);return n}function Wt(t,e){var r=-1,n=oe(t)?Array(t.length):[];return It(t,function(t,o,i){n[++r]=e(t,o,i)}),n}function Gt(t){return ne(t)?t:Xt(t)}function Lt(t,e,r,n,o,i){var c=o&u,f=t.length,s=e.length;if(f!=s&&!(c&&s>f))return!1;var l=i.get(t);if(l&&i.get(e))return l==e;var p=-1,h=!0,y=o&a?new xt:void 0;for(i.set(t,e),i.set(e,t);++p<f;){var v=t[p],d=e[p];if(n)var g=c?n(d,v,p,e,t,i):n(v,d,p,t,e,i);if(void 0!==g){if(g)continue;h=!1;break}if(y){if(!L(e,function(t,e){if(!y.has(e)&&(v===t||r(v,t,n,o,i)))return y.add(e)})){h=!1;break}}else if(v!==d&&!r(v,d,n,o,i)){h=!1;break}}return i.delete(t),i.delete(e),h}function zt(t,e){var r,n,o=t.__data__;return("string"==(n=typeof(r=e))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?o["string"==typeof e?"string":"hash"]:o.map}function Ht(t,e){var r=function(t,e){return null==t?void 0:t[e]}(t,e);return Ct(r)?r:void 0}var Kt=function(t){return nt.call(t)};function Vt(t,e){return!!(e=null==e?f:e)&&("number"==typeof t||D.test(t))&&t>-1&&t%1==0&&t<e}function qt(t,e){if(ne(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!fe(t))||(x.test(t)||!E.test(t)||null!=e&&t in Object(e))}function Jt(t){return t==t&&!ue(t)}function Qt(t,e){return function(r){return null!=r&&(r[t]===e&&(void 0!==e||t in Object(r)))}}(st&&Kt(new st(new ArrayBuffer(1)))!=O||lt&&Kt(new lt)!=g||pt&&"[object Promise]"!=Kt(pt.resolve())||ht&&Kt(new ht)!=w||yt&&"[object WeakMap]"!=Kt(new yt))&&(Kt=function(t){var e=nt.call(t),r=e==b?t.constructor:void 0,n=r?Zt(r):void 0;if(n)switch(n){case dt:return O;case gt:return g;case _t:return"[object Promise]";case bt:return w;case mt:return"[object WeakMap]"}return e});var Xt=te(function(t){var e;t=null==(e=t)?"":function(t){if("string"==typeof t)return t;if(fe(t))return At?At.call(t):"";var e=t+"";return"0"==e&&1/t==-c?"-0":e}(e);var r=[];return S.test(t)&&r.push(""),t.replace(B,function(t,e,n,o){r.push(n?o.replace($,"$1"):e||t)}),r});function Yt(t){if("string"==typeof t||fe(t))return t;var e=t+"";return"0"==e&&1/t==-c?"-0":e}function Zt(t){if(null!=t){try{return et.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function te(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new TypeError(o);var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=t.apply(this,n);return r.cache=i.set(o,a),a};return r.cache=new(te.Cache||Et),r}function ee(t,e){return t===e||t!=t&&e!=e}function re(t){return function(t){return ce(t)&&oe(t)}(t)&&rt.call(t,"callee")&&(!ut.call(t,"callee")||nt.call(t)==s)}te.Cache=Et;var ne=Array.isArray;function oe(t){return null!=t&&ae(t.length)&&!ie(t)}function ie(t){var e=ue(t)?nt.call(t):"";return e==v||e==d}function ae(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=f}function ue(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function ce(t){return!!t&&"object"==typeof t}function fe(t){return"symbol"==typeof t||ce(t)&&nt.call(t)==A}var se=W?function(t){return function(e){return t(e)}}(W):function(t){return ce(t)&&ae(t.length)&&!!I[nt.call(t)]};function le(t){return oe(t)?Bt(t):Rt(t)}function pe(t){return t}t.exports=function(t,e){return(ne(t)?G:Wt)(t,Mt(e))}}),o=r(function(t,e){t.exports=function(t,e,r){if("string"!=typeof t)throw new Error("The string parameter must be a string.");if(t.length<1)throw new Error("The string parameter must be 1 character or longer.");if("number"!=typeof e)throw new Error("The length parameter must be a number.");if("string"!=typeof r&&r)throw new Error("The character parameter must be a string.");var n=-1;for(e-=t.length,r||0===r||(r=" ");++n<e;)t+=r;return t}}),i=function(t,e){if(e=e||{},null==t)return t;var r="string"==typeof e.indent?e.indent:" ",n=e.newline||"\n"+r,o="function"==typeof e.escape?e.escape:a,i=".{1,"+(e.width||50)+"}";!0!==e.cut&&(i+="([\\sâ]+|$)|[^\\sâ]+?([\\sâ]+|$)");var u=new RegExp(i,"g"),c=r+(t.match(u)||[]).map(function(t){return"\n"===t.slice(-1)&&(t=t.slice(0,t.length-1)),o(t)}).join(n);return!0===e.trim&&(c=c.replace(/[ \t]*$/gm,"")),c};function a(t){return t}var u,c,f,s=(u={types:{Fix:{description:"A bug fix",title:"Bug fixes"},Update:{description:"A backwards-compatible enhancement",title:"Updates"},Breaking:{description:"A backwards-incompatible enhancement",title:"Breaking changes"},Docs:{description:"Documentation change",title:"Docs"},Build:{description:"Build process update",title:"Build changes"},New:{description:"A new feature implementation",title:"New features"},Upgrade:{description:"Dependency upgrade",title:"Upgrades"}}}.types,c=t(Object.keys(u)).length+1,f=n(u,function(t,e){return{name:o(e+":",c)+" "+t.description,value:e}}),{prompter:function(t,e){console.log("\nLine 1 will be cropped at 100 characters. All other lines will be wrapped after 100 characters.\n"),t.prompt([{type:"list",name:"type",message:"Select the type of change that you're committing:",choices:f},{type:"input",name:"scope",message:"What is the scope of this change (e.g. component or file name)? (press enter to skip)\n"},{type:"input",name:"subject",message:"Write a short, imperative tense description of the change:\n"},{type:"input",name:"body",message:"Provide a longer description of the change: (press enter to skip)\n"},{type:"confirm",name:"isBreaking",message:"Are there any breaking changes?",default:!1},{type:"input",name:"breaking",message:"Describe the breaking changes:\n",when:function(t){return t.isBreaking}},{type:"confirm",name:"isIssueAffected",message:"Does this change affect any open issues?",default:!1},{type:"input",name:"issues",message:'Add issue references (e.g. "fix #123", "re #123".):\n',when:function(t){return t.isIssueAffected}}]).then(function(t){var r={trim:!0,newline:"\n",indent:"",width:100},n=t.scope.trim();n=n?"("+t.scope.trim()+")":"";var o=(t.type+n+": "+t.subject.trim()).slice(0,100),a=i(t.body,r),u=t.breaking?t.breaking.trim():"";u=u?"BREAKING CHANGE: "+u.replace(/^BREAKING CHANGE: /,""):"",u=i(u,r);var c,f=t.issues?i(t.issues,r):"",s=(c=[u,f],c.filter(function(t){return t})).join("\n\n");e(o+"\n\n"+a+"\n\n"+s)})}});module.exports=s; | ||
//# sourceMappingURL=cz-adapter-eslint.js.map | ||
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } | ||
var longest = _interopDefault(require('longest')); | ||
var map = _interopDefault(require('lodash.map')); | ||
var rightPad = _interopDefault(require('right-pad')); | ||
var wrap = _interopDefault(require('word-wrap')); | ||
function filter(array) { | ||
return array.filter(function (x) { | ||
return x; | ||
}); | ||
} | ||
function engine (options) { | ||
var types = options.types; | ||
var length = longest(Object.keys(types)).length + 1; | ||
var choices = map(types, function (type, key) { | ||
return { | ||
name: rightPad(key + ':', length) + ' ' + type.description, | ||
value: key | ||
}; | ||
}); | ||
return { | ||
prompter: function (cz, commit) { | ||
console.log('\nLine 1 will be cropped at 100 characters. All other lines will be wrapped after 100 characters.\n'); | ||
cz.prompt([{ | ||
type: 'list', | ||
name: 'type', | ||
message: "Select the type of change that you're committing:", | ||
choices: choices | ||
},{ | ||
type: 'input', | ||
name: 'scope', | ||
message: 'What is the scope of this change (e.g. component or file name)? (press enter to skip)\n' | ||
},{ | ||
type: 'input', | ||
name: 'subject', | ||
message: 'Write a short, imperative tense description of the change:\n' | ||
},{ | ||
type: 'input', | ||
name: 'body', | ||
message: 'Provide a longer description of the change: (press enter to skip)\n' | ||
},{ | ||
type: 'confirm', | ||
name: 'isBreaking', | ||
message: 'Are there any breaking changes?', | ||
default: false | ||
},{ | ||
type: 'input', | ||
name: 'breaking', | ||
message: 'Describe the breaking changes:\n', | ||
when: function (answers) { | ||
return answers.isBreaking; | ||
} | ||
},{ | ||
type: 'confirm', | ||
name: 'isIssueAffected', | ||
message: 'Does this change affect any open issues?', | ||
default: false | ||
},{ | ||
type: 'input', | ||
name: 'issues', | ||
message: 'Add issue references (e.g. "fix #123", "re #123".):\n', | ||
when: function (answers) { | ||
return answers.isIssueAffected; | ||
} | ||
}]).then(function (answers) { | ||
var maxLineWidth = 100; | ||
var wrapOptions = { | ||
trim: true, | ||
newline: '\n', | ||
indent: '', | ||
width: maxLineWidth | ||
}; | ||
var scope = answers.scope.trim(); | ||
scope = scope ? '(' + answers.scope.trim() + ')' : ''; | ||
var head = (answers.type + scope + ': ' + answers.subject.trim()).slice(0, maxLineWidth); | ||
var body = wrap(answers.body, wrapOptions); | ||
var breaking = answers.breaking ? answers.breaking.trim() : ''; | ||
breaking = breaking ? 'BREAKING CHANGE: ' + breaking.replace(/^BREAKING CHANGE: /, '') : ''; | ||
breaking = wrap(breaking, wrapOptions); | ||
var issues = answers.issues ? wrap(answers.issues, wrapOptions) : ''; | ||
var footer = filter([breaking,issues]).join('\n\n'); | ||
commit(head + '\n\n' + body + '\n\n' + footer); | ||
}); | ||
} | ||
}; | ||
} | ||
var index = engine({ | ||
types: { | ||
Fix: { | ||
description: 'A bug fix', | ||
title: 'Bug fixes' | ||
}, | ||
Update: { | ||
description: 'A backwards-compatible enhancement', | ||
title: 'Updates' | ||
}, | ||
Breaking: { | ||
description: 'A backwards-incompatible enhancement', | ||
title: 'Breaking changes' | ||
}, | ||
Docs: { | ||
description: 'Documentation change', | ||
title: 'Docs' | ||
}, | ||
Build: { | ||
description: 'Build process update', | ||
title: 'Build changes' | ||
}, | ||
New: { | ||
description: 'A new feature implementation', | ||
title: 'New features' | ||
}, | ||
Upgrade: { | ||
description: 'Dependency upgrade', | ||
title: 'Upgrades' | ||
} | ||
} | ||
}) | ||
module.exports = index; |
@@ -8,11 +8,10 @@ { | ||
"repository": "stormwarning/cz-adapter-eslint", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"main": "dist/cz-adapter-eslint.js", | ||
"files": [ | ||
"dist/cz-adapter-eslint.js", | ||
"dist/cz-adapter-eslint.m.js", | ||
"dist/cz-adapter-eslint.umd.js" | ||
"dist/cz-adapter-eslint.js" | ||
], | ||
"scripts": { | ||
"_precommit": "lint-staged && npm test", | ||
"build": "microbundle -i src/index.js -o dist", | ||
"build": "microbundle --target node --external all --compress false --sourcemap false -i src/index.js -o dist -f cjs", | ||
"cm": "git-cz", | ||
@@ -19,0 +18,0 @@ "lint": "npm-run-all lint:*", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
6805
3
118