@nice-move/cli 0.9.2 → 0.9.5
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/dist/402.mjs +1 -1
- package/dist/600.mjs +1 -0
- package/dist/750.mjs +1 -0
- package/dist/cli.mjs +1 -1
- package/package.json +3 -3
- package/dist/824.mjs +0 -1
- package/dist/841.mjs +0 -1
package/dist/600.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const id=600;export const ids=[600];export const modules={22209:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.formatResult=t.format=void 0;const o=n(r(2645)),s=[" ","\u26a0","\u2716"],l=["white","yellow","red"];function i(e={},t={}){const{results:r=[]}=e,n=e=>function(e,t={}){const{color:r=!0}=t,{errors:n=[],warnings:s=[],input:l=""}=e;if(!l)return[""];const i="\u29d7",c=r?o.default.gray(i):i,u=n.length>0?l:l.split("\n")[0],a=r?o.default.bold(u):u,f=n.length>0||s.length>0;return t.verbose||f?[`${c} input: ${a}`]:[]}(e,t),s=e=>c(e,t);return r.filter((e=>Array.isArray(e.warnings)||Array.isArray(e.errors))).map((e=>[...n(e),...s(e)])).reduce(((e,t)=>Array.isArray(t)?[...e,...t]:[...e,t]),[]).join("\n")}function c(e={},t={}){const{signs:r=s,colors:n=l,color:i=!0}=t,{errors:c=[],warnings:u=[]}=e,a=[...c,...u].map((e=>{const t=r[e.level]||"",s=n[e.level]||"white",l=i?o.default[s](t):t,c=i?o.default.grey(`[${e.name}]`):`[${e.name}]`;return`${l} ${e.message} ${c}`})),f=function(e){if((e.errors||[]).length>0)return"\u2716";return(e.warnings||[]).length?"\u26a0":"\u2714"}(e),p=function(e){if((e.errors||[]).length>0)return"red";return(e.warnings||[]).length?"yellow":"green"}(e),h=i?o.default[p](f):f,d=c.length,g=u.length,v=a.length>0,O=t.verbose||v?`${h} found ${d} problems, ${g} warnings`:void 0,m=i&&"string"==typeof O?o.default.bold(O):O,y=v&&t.helpUrl?`\u24d8 Get help: ${t.helpUrl}`:void 0;return[...a,v?"":void 0,m,y,v?"":void 0].filter((e=>"string"==typeof e))}t.format=i,t.formatResult=c,t.default=i},93794:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=r(22209);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s(l).default}}),o(r(22209),t)},14388:(e,t)=>{t.trailerExists=void 0},76183:(e,t,r)=>{const n=r(22037),o=r(76224),s=r(28137),{env:l}=process;let i;function c(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function u(e,t){if(0===i)return 0;if(s("color=16m")||s("color=full")||s("color=truecolor"))return 3;if(s("color=256"))return 2;if(e&&!t&&void 0===i)return 0;const r=i||0;if("dumb"===l.TERM)return r;if("win32"===process.platform){const e=n.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in l)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((e=>e in l))||"codeship"===l.CI_NAME?1:r;if("TEAMCITY_VERSION"in l)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(l.TEAMCITY_VERSION)?1:0;if("truecolor"===l.COLORTERM)return 3;if("TERM_PROGRAM"in l){const e=parseInt((l.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(l.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(l.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(l.TERM)||"COLORTERM"in l?1:r}s("no-color")||s("no-colors")||s("color=false")||s("color=never")?i=0:(s("color")||s("colors")||s("color=true")||s("color=always"))&&(i=1),"FORCE_COLOR"in l&&(i="true"===l.FORCE_COLOR?1:"false"===l.FORCE_COLOR?0:0===l.FORCE_COLOR.length?1:Math.min(parseInt(l.FORCE_COLOR,10),3)),e.exports={supportsColor:function(e){return c(u(e,e&&e.isTTY))},stdout:c(u(!0,o.isatty(1))),stderr:c(u(!0,o.isatty(2)))}},2645:(e,t,r)=>{const n=r(49640),{stdout:o,stderr:s}=r(76183),{stringReplaceAll:l,stringEncaseCRLFWithFirstIndex:i}=r(51957),{isArray:c}=Array,u=["ansi","ansi","ansi256","ansi16m"],a=Object.create(null);class f{constructor(e){return p(e)}}const p=e=>{const t={};return((e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");const r=o?o.level:0;e.level=void 0===t.level?r:t.level})(t,e),t.template=(...e)=>b(t.template,...e),Object.setPrototypeOf(t,h.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},t.template.Instance=f,t.template};function h(e){return p(e)}for(const[e,t]of Object.entries(n))a[e]={get(){const r=O(this,v(t.open,t.close,this._styler),this._isEmpty);return Object.defineProperty(this,e,{value:r}),r}};a.visible={get(){const e=O(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};const d=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const e of d)a[e]={get(){const{level:t}=this;return function(...r){const o=v(n.color[u[t]][e](...r),n.color.close,this._styler);return O(this,o,this._isEmpty)}}};for(const e of d){a["bg"+e[0].toUpperCase()+e.slice(1)]={get(){const{level:t}=this;return function(...r){const o=v(n.bgColor[u[t]][e](...r),n.bgColor.close,this._styler);return O(this,o,this._isEmpty)}}}}const g=Object.defineProperties((()=>{}),{...a,level:{enumerable:!0,get(){return this._generator.level},set(e){this._generator.level=e}}}),v=(e,t,r)=>{let n,o;return void 0===r?(n=e,o=t):(n=r.openAll+e,o=t+r.closeAll),{open:e,close:t,openAll:n,closeAll:o,parent:r}},O=(e,t,r)=>{const n=(...e)=>c(e[0])&&c(e[0].raw)?m(n,b(n,...e)):m(n,1===e.length?""+e[0]:e.join(" "));return Object.setPrototypeOf(n,g),n._generator=e,n._styler=t,n._isEmpty=r,n},m=(e,t)=>{if(e.level<=0||!t)return e._isEmpty?"":t;let r=e._styler;if(void 0===r)return t;const{openAll:n,closeAll:o}=r;if(-1!==t.indexOf("\x1b"))for(;void 0!==r;)t=l(t,r.close,r.open),r=r.parent;const s=t.indexOf("\n");return-1!==s&&(t=i(t,o,n,s)),n+t+o};let y;const b=(e,...t)=>{const[n]=t;if(!c(n)||!c(n.raw))return t.join(" ");const o=t.slice(1),s=[n.raw[0]];for(let e=1;e<n.length;e++)s.push(String(o[e-1]).replace(/[{}\\]/g,"\\$&"),String(n.raw[e]));return void 0===y&&(y=r(1070)),y(e,s.join(""))};Object.defineProperties(h.prototype,a);const _=h();_.supportsColor=o,_.stderr=h({level:s?s.level:0}),_.stderr.supportsColor=s,e.exports=_},1070:e=>{const t=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,r=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,n=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,o=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,s=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1b"],["a","\x07"]]);function l(e){const t="u"===e[0],r="{"===e[1];return t&&!r&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):t&&r?String.fromCodePoint(parseInt(e.slice(2,-1),16)):s.get(e)||e}function i(e,t){const r=[],s=t.trim().split(/\s*,\s*/g);let i;for(const t of s){const s=Number(t);if(Number.isNaN(s)){if(!(i=t.match(n)))throw new Error(`Invalid Chalk template style argument: ${t} (in style '${e}')`);r.push(i[2].replace(o,((e,t,r)=>t?l(t):r)))}else r.push(s)}return r}function c(e){r.lastIndex=0;const t=[];let n;for(;null!==(n=r.exec(e));){const e=n[1];if(n[2]){const r=i(e,n[2]);t.push([e].concat(r))}else t.push([e])}return t}function u(e,t){const r={};for(const e of t)for(const t of e.styles)r[t[0]]=e.inverse?null:t.slice(1);let n=e;for(const[e,t]of Object.entries(r))if(Array.isArray(t)){if(!(e in n))throw new Error(`Unknown Chalk style: ${e}`);n=t.length>0?n[e](...t):n[e]}return n}e.exports=(e,r)=>{const n=[],o=[];let s=[];if(r.replace(t,((t,r,i,a,f,p)=>{if(r)s.push(l(r));else if(a){const t=s.join("");s=[],o.push(0===n.length?t:u(e,n)(t)),n.push({inverse:i,styles:c(a)})}else if(f){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");o.push(u(e,n)(s.join(""))),s=[],n.pop()}else s.push(p)})),o.push(s.join("")),n.length>0){const e=`Chalk template literal is missing ${n.length} closing bracket${1===n.length?"":"s"} (\`}\`)`;throw new Error(e)}return o.join("")}},51957:e=>{e.exports={stringReplaceAll:(e,t,r)=>{let n=e.indexOf(t);if(-1===n)return e;const o=t.length;let s=0,l="";do{l+=e.substr(s,n-s)+t+r,s=n+o,n=e.indexOf(t,s)}while(-1!==n);return l+=e.substr(s),l},stringEncaseCRLFWithFirstIndex:(e,t,r,n)=>{let o=0,s="";do{const l="\r"===e[n-1];s+=e.substr(o,(l?n-1:n)-o)+t+(l?"\r\n":"\n")+r,o=n+1,n=e.indexOf("\n",o)}while(-1!==n);return s+=e.substr(o),s}}},8554:e=>{e.exports=()=>{}},28137:e=>{e.exports=(e,t=process.argv)=>{const r=e.startsWith("-")?"":1===e.length?"-":"--",n=t.indexOf(r+e),o=t.indexOf("--");return-1!==n&&(-1===o||n<o)}},85138:(e,t,r)=>{r.d(t,{M:()=>n,k:()=>o});const n=async()=>{},o=[]}};
|