@maka/maka-cli 4.0.76 → 4.0.80
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/command.js +1 -1
- package/dist/commands/_index.js +1 -1
- package/dist/commands/aws/_index.js +1 -1
- package/dist/commands/aws/aws.command.js +1 -1
- package/dist/commands/aws/ci.sub.cmd.js +1 -1
- package/dist/commands/aws/ckp.sub.cmd.js +1 -1
- package/dist/commands/aws/csg.sub.cmd.js +1 -1
- package/dist/commands/aws/di.sub.cmd.js +1 -1
- package/dist/commands/aws/dks.sub.cmd.js +1 -1
- package/dist/commands/aws/rbi.sub.cmd.js +1 -1
- package/dist/commands/aws/sth.sub.cmd.js +1 -1
- package/dist/commands/aws/ti.sub.cmd.js +1 -1
- package/dist/commands/build/_index.js +1 -1
- package/dist/commands/build/build.js +1 -1
- package/dist/commands/build/docker.sub.cmd.js +1 -1
- package/dist/commands/create.js +1 -1
- package/dist/commands/debug.js +1 -1
- package/dist/commands/deploy.js +1 -1
- package/dist/commands/game/_index.js +1 -1
- package/dist/commands/game/battleship.sub.cmd.js +1 -1
- package/dist/commands/game/play.command.js +1 -1
- package/dist/commands/game/pong.sub.cmd.js +1 -1
- package/dist/commands/game/snake.sub.cmd.js +1 -1
- package/dist/commands/game/tetris.sub.cmd.js +1 -1
- package/dist/commands/generate.js +1 -1
- package/dist/commands/get/_index.js +1 -1
- package/dist/commands/get/get.command.js +1 -1
- package/dist/commands/get/global.sub.cmd.js +1 -1
- package/dist/commands/get/local.sub.cmd.js +1 -1
- package/dist/commands/help.js +1 -1
- package/dist/commands/install.js +1 -1
- package/dist/commands/jsdoc.js +1 -1
- package/dist/commands/login.js +1 -1
- package/dist/commands/logout.js +1 -1
- package/dist/commands/logs.js +1 -1
- package/dist/commands/maka.cmd.js +1 -1
- package/dist/commands/murder.js +1 -1
- package/dist/commands/reconfig.js +1 -1
- package/dist/commands/run.js +1 -1
- package/dist/commands/set/_index.js +1 -1
- package/dist/commands/set/global.sub.cmd.js +1 -1
- package/dist/commands/set/local.sub.cmd.js +1 -1
- package/dist/commands/set/set.command.js +1 -1
- package/dist/commands/ssh.js +1 -1
- package/dist/commands/ssl.js +1 -1
- package/dist/commands/test.js +1 -1
- package/dist/commands/version.js +1 -1
- package/dist/error.js +1 -1
- package/dist/generator.js +1 -1
- package/dist/generators/_index.js +1 -1
- package/dist/generators/api.js +1 -1
- package/dist/generators/collection.js +1 -1
- package/dist/generators/component.js +1 -1
- package/dist/generators/config.js +1 -1
- package/dist/generators/dbc.js +1 -1
- package/dist/generators/dockerfile.js +1 -1
- package/dist/generators/hook.js +1 -1
- package/dist/generators/kit.js +1 -1
- package/dist/generators/layout.js +1 -1
- package/dist/generators/maka.gen.js +1 -1
- package/dist/generators/methods.js +1 -1
- package/dist/generators/package.js +1 -1
- package/dist/generators/page.js +1 -1
- package/dist/generators/publish.js +1 -1
- package/dist/generators/route.js +1 -1
- package/dist/generators/scaffold.js +1 -1
- package/dist/generators/service.js +1 -1
- package/dist/maka.js +1 -1
- package/dist/tool.js +1 -1
- package/dist/tools/actions/actions.class.js +1 -1
- package/dist/tools/actions/actions.test.js +1 -1
- package/dist/tools/aws/aws.class.js +1 -1
- package/dist/tools/aws/aws.interfaces.js +1 -1
- package/dist/tools/docker/docker.class.js +1 -1
- package/dist/tools/docker/docker.interfaces.js +1 -1
- package/dist/tools/fsi/fsi.class.js +1 -1
- package/dist/tools/fsi/fsi.interfaces.js +1 -1
- package/dist/tools/https/https.class.js +1 -1
- package/dist/tools/https/https.interface.js +1 -1
- package/dist/tools/log/log.class.js +1 -1
- package/dist/tools/log/log.interfaces.js +1 -1
- package/dist/tools/spawn-async/spawn-async.class.js +1 -1
- package/dist/tools/spawn-async/spawn-async.interfaces.js +1 -1
- package/dist/tools/ssh/ssh.class.js +1 -1
- package/dist/tools/ssh/ssh.interfaces.js +1 -1
- package/dist/tools/ssl/ssl.class.js +1 -1
- package/package.json +1 -1
package/dist/commands/help.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a29y=a29d;function a29d(a,b){var c=a29c();return a29d=function(d,e){d=d-0x162;var f=c[d];return f;},a29d(a,b);}(function(a,b){var u=a29d,c=a();while(!![]){try{var d=-parseInt(u(0x168))/0x1+parseInt(u(0x16a))/0x2*(-parseInt(u(0x171))/0x3)+-parseInt(u(0x17c))/0x4*(parseInt(u(0x174))/0x5)+-parseInt(u(0x17a))/0x6*(parseInt(u(0x177))/0x7)+-parseInt(u(0x179))/0x8+parseInt(u(0x16f))/0x9+parseInt(u(0x17b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a29c,0xa0459));function a29c(){var F=['xQhQi','__awaiter','constructor','862659GhDfBR','CQovZ','2nvVKma','YpNNi','next','search','iABhE','7054281GFyBIm','throw','2204871mLffKR','value','(((.+)+)+)+$','313315MclOYS','toString','yhETN','7bzSKZN','then','1967096YLrnYo','6461562AAUERW','31064090goGBJX','20AXHPdK','jJbCX','TQXFb','create','Tddos','apply','done'];a29c=function(){return F;};return a29c();}var a29b=(function(){var a=!![];return function(b,c){var v=a29d;if(v(0x169)===v(0x169)){var d=a?function(){var w=v;if(c){if(w(0x162)===w(0x176))d(e[w(0x16c)](f));else{var e=c[w(0x163)](b,arguments);return c=null,e;}}}:function(){};return a=![],d;}else return f instanceof g?h:new i(function(m){m(k);});};}()),a29a=a29b(this,function(){var x=a29d;return a29a['toString']()[x(0x16d)]('(((.+)+)+)+$')[x(0x175)]()[x(0x167)](a29a)[x(0x16d)](x(0x173));});a29a();var __awaiter=this&&this[a29y(0x166)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){var z=a29d;if('skopF'!=='EMSEc')g(f);else try{i(j[z(0x170)](k));}catch(i){m(i);}});}return new(c||(c=Promise))(function(f,g){var D=a29d;function h(k){var A=a29d;if(A(0x17e)!=='YKkUb')try{j(d[A(0x16c)](k));}catch(l){g(l);}else return c(this,void 0x0,void 0x0,function*(){throw new e();});}function i(k){var B=a29d;if(B(0x17d)!==B(0x17d)){if(e){var m=i[B(0x163)](j,arguments);return k=null,m;}}else try{j(d['throw'](k));}catch(m){'YpNNi'!==B(0x16b)?c(d):g(m);}}function j(k){var C=a29d;C(0x165)!==C(0x165)?h[C(0x164)]?i(j[C(0x172)]):k(l[C(0x172)])[C(0x178)](m,n):k[C(0x164)]?f(k[C(0x172)]):e(k[C(0x172)])['then'](h,i);}j((d=d[D(0x163)](a,b||[]))['next']());});};import{Command}from'../command.js';import{UsageError}from'../error.js';Command[a29y(0x17f)]({'name':'help','aliases':['h']},function(){return __awaiter(this,void 0x0,void 0x0,function*(){var E=a29d;if(E(0x16e)!=='iABhE')try{i(j['next'](k));}catch(b){m(b);}else throw new UsageError();});});
|
package/dist/commands/install.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a30a8=a30d;function a30d(a,b){const c=a30c();return a30d=function(d,e){d=d-0x1de;let f=c[d];return f;},a30d(a,b);}(function(a,b){const a5=a30d,c=a();while(!![]){try{const d=-parseInt(a5(0x205))/0x1*(parseInt(a5(0x225))/0x2)+parseInt(a5(0x1de))/0x3*(parseInt(a5(0x202))/0x4)+parseInt(a5(0x266))/0x5+parseInt(a5(0x240))/0x6*(-parseInt(a5(0x25a))/0x7)+-parseInt(a5(0x272))/0x8+-parseInt(a5(0x232))/0x9+parseInt(a5(0x235))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a30c,0xdb8a0));const a30b=(function(){let a=!![];return function(b,c){const d=a?function(){const a6=a30d;if(c){if(a6(0x271)===a6(0x216))return f instanceof g?h:new i(function(m){m(k);});else{const f=c[a6(0x248)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;};}()),a30a=a30b(this,function(){const a7=a30d;return a30a[a7(0x233)]()[a7(0x257)](a7(0x234))[a7(0x233)]()[a7(0x23f)](a30a)[a7(0x257)](a7(0x234));});a30a();function a30c(){const ag=['Meteor\x20Path:\x20','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','success','--output','keepInstall','dEZYx','withSpinner','create','start','.tar.gz','Using\x20CA\x20Cert\x20','throw','JbmFc','search','uWMpA','AppData','79226XRzaOr','EcVUG','--force-local','GkHGY','platform','-rf','hNueb','wdSIQ','npm','notice','darwin','AVDzE','810725lEwFDb','HEqpZ','tar','/meteor-bootstrap-','caGHC','VAVHm','Removing\x20old\x20version\x20of\x20meteor','Removing\x20previous\x20install\x20of\x20meteor','debug','maka\x20i','Roaming','zmlRg','7630008eUbPhc','PATH','30huqkIc','size','jnOoM','exit','printf\x20\x27%s\x5cn\x27\x20\x27#!/bin/sh\x27\x20\x27exec\x20\x22$HOME/.meteor/meteor\x22\x20\x22$@\x22\x27\x20>\x20$HOME/.local/bin/meteor\x20&&\x20chmod\x20+x\x20$HOME/.local/bin/meteor','\x20\x20\x20\x20Add-MpPreference\x20-ExclusionPath\x20\x22','then','homedir','VpdnV','Aborted','Path','oNcqC','Python','Allowing\x20insecure\x20curl\x20connections.','printf\x20\x27export\x20PATH=$PATH:$HOME/.local/bin\x27\x20>>\x20$HOME/.profile\x20&&\x20source\x20$HOME/.profile','Setting\x20Node\x20Flags:\x20','NPM\x20Path:\x20','length','sync','join','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka.cert,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','KUYXs','curl','JqhqY','grep','/.local/bin','xmWQt','maka\x20install\x20meteor\x20--force','setx\x20PATH\x20\x22','Installing\x20meteor\x20','cert','__awaiter','FbXdH','done','\x20\x20\x20\x20Add-MpPreference\x20-ExclusionProcess\x20node.exe,7z.exe,cmd.exe,powershell.exe','vvWxV','428136BAbiEu','warn','allowInsecure','7538LaxhHr','Tbtaw','replace','statSync','Install\x20a\x20meteor.\x20\x22maka\x20install\x22\x20defaults\x20to\x20\x22maka\x20install\x20meteor\x22','totalmem','zxMYw','IvWRU','cacert','TNBTk','error','next','----------------------------------','os.linux.x86_64','setx\x20TOOL_NODE_FLAGS\x20\x22--max-old-space-size=','xjmYK','string','SZpyE','noGkr','Backed\x20up\x20PATH\x20to\x20','Network\x20error,\x20please\x20try\x20again.','ZKsap','I\x20cannot\x20find\x20your\x20Path\x20or\x20PATH\x20variable.','maka\x20install','Please\x20close\x20this\x20command\x20prompt\x20or\x20powershell\x20window\x20and\x20open\x20a\x20new\x20one\x20to\x20finalize\x20install.','mkdir\x20-p\x20','Meteor\x20version\x20','meteor.tar.gz','floor','force','.meteor','Installing\x20meteor\x20version\x20','30wTQHlU','existsSync','ignore','bright','version','RELEASE=','/meteor-bootstrap-os.windows.x86_64.tar.gz','path_backup.txt','fsi','concat','value','wGolO','Local','7073811yufUOs','toString','(((.+)+)+)+$','19269950XgFyUP','getGlobalConfig','isFile','Downloading\x20meteor\x20version\x20','UVzYN','-xzf','User\x20Path:\x20','--cacert','win32','Total\x20Memory:\x20','constructor','216XfxNTO','printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.zshrc','kZSwX','\x20installed.\x0a','install','\x22\x202>\x20nul','python\x20--version\x203>nul','Setting\x20Path:\x20','apply','NhWmg'];a30c=function(){return ag;};return a30c();}var __awaiter=this&&this[a30a8(0x1fd)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const a9=a30d;a9(0x26a)!==a9(0x26a)?c[a9(0x20f)](d):g(f);});}return new(c||(c=Promise))(function(f,g){const ad=a30d;function h(k){const aa=a30d;if(aa(0x20b)!==aa(0x258))try{aa(0x1f3)===aa(0x21a)?d=e['v']||f[aa(0x229)]:j(d[aa(0x210)](k));}catch(m){g(m);}else c(d);}function i(k){const ab=a30d;try{j(d[ab(0x255)](k));}catch(l){g(l);}}function j(k){const ac=a30d;ac(0x24f)!==ac(0x230)?k[ac(0x1ff)]?f(k[ac(0x22f)]):e(k[ac(0x22f)])[ac(0x1e4)](h,i):c(d);}j((d=d[ad(0x248)](a,b||[]))['next']());});};import a30M from'os';import a30N from'path';import a30O from'fs';import a30P from'delete';import{execSync}from'child_process';import{SpawnAsync}from'../tools/spawn-async/spawn-async.class.js';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';const homeDir=a30M[a30a8(0x1e5)]();Command[a30a8(0x251)]({'name':a30a8(0x244),'aliases':['i'],'validOpts':['f',a30a8(0x222),'v',a30a8(0x229),a30a8(0x26e),'cacert',a30a8(0x24e)],'usage':a30a8(0x21c),'description':a30a8(0x209),'examples':['maka\x20install\x20meteor',a30a8(0x1f9),'maka\x20install\x20meteor\x20-v\x202.3.6','maka\x20install\x20meteor\x20--version\x201.12.1',a30a8(0x26f)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const ae=a30d;try{let g=[],h='';if(b[ae(0x20d)]){if(this['fsi']['isFile'](b[ae(0x20d)]))ae(0x1e9)!==ae(0x1e9)?c[ae(0x20f)](d):(Log[ae(0x263)](ae(0x254)+b[ae(0x20d)]),h=b[ae(0x20d)],g=['--cacert',h]);else{if(ae(0x265)===ae(0x239))h['done']?i(j[ae(0x22f)]):k(l[ae(0x22f)])[ae(0x1e4)](m,n);else throw ae(0x24b)+h;}}const i=yield this[ae(0x22d)][ae(0x236)]();if(i[ae(0x1fc)]){if('GSGLU'!=='GSGLU'){if(e){const t=i[ae(0x248)](j,arguments);return k=null,t;}}else{if(this[ae(0x22d)][ae(0x237)](i[ae(0x1fc)]))h=i[ae(0x1fc)],g=['--cacert',h];else throw ae(0x1f2)+h;}}i[ae(0x204)]&&(Log[ae(0x203)](ae(0x1eb)),g=['-k']);let j=![];b['f']||b['force']?j=!![]:j=yield Actions['confirm']('This\x20command\x20should\x20NOT\x20be\x20run\x20as\x20sudo\x20or\x20with\x20administrative\x20privileges.\x20\x20Are\x20you\x20ready\x20to\x20proceed?');if(!j){if(ae(0x206)===ae(0x206))throw ae(0x1e7);else{if(this[ae(0x22d)][ae(0x237)](i[ae(0x20d)]))q[ae(0x263)]('Using\x20CA\x20Cert\x20'+r['cacert']),s=t[ae(0x20d)],u=['--cacert',v];else throw ae(0x24b)+w;}}const k=process[ae(0x25e)]===ae(0x23d),l=process[ae(0x25e)]===ae(0x264);let m=execSync('curl\x20'+g[ae(0x1f1)]('\x20')+'\x20-s\x20https://install.meteor.com/')[ae(0x233)](),n=yield this[ae(0x22d)][ae(0x1f6)](m,ae(0x22a));if(n[ae(0x1ef)]===0x0)throw ae(0x219);let o=n[0x0][ae(0x207)](/[^0-9.]/gi,'')[ae(0x207)](/\r?\n|\r/,'');(typeof b['v']===ae(0x215)||typeof b[ae(0x229)]===ae(0x215))&&(ae(0x25d)===ae(0x25d)?o=b['v']||b[ae(0x229)]:(d[ae(0x20f)](e),f[ae(0x1e1)](0x0)));let p=a30N[ae(0x1f1)](homeDir,ae(0x223));if(k){if(ae(0x20e)!==ae(0x261)){const v=execSync(ae(0x246))['toString'](),w=yield this['fsi']['grep'](v,ae(0x1ea))[0x0];if(!(w===null||w===void 0x0?void 0x0:w['includes'](ae(0x1ea)))){if(ae(0x242)===ae(0x201)){if(this[ae(0x22d)]['isFile'](g[ae(0x1fc)]))m=n[ae(0x1fc)],o=[ae(0x23c),p];else throw ae(0x1f2)+q;}else Log[ae(0x203)]('No\x20Python\x20install\x20found,\x20if\x20you\x20experience\x20build\x20/\x20install\x20failures,\x20consider\x20installing\x20python.\x20https://visualstudio.microsoft.com/downloads/');}p=a30N[ae(0x1f1)](homeDir,'AppData',ae(0x231),'.meteor');const x=a30N[ae(0x1f1)](homeDir,ae(0x259),ae(0x231)),y=a30N[ae(0x1f1)](homeDir,ae(0x259),ae(0x270),ae(0x262));var c=a30M[ae(0x20a)](),d=c/0x400,f=d/0x400;f=Math[ae(0x221)](f/0x4);const z=a30N['join'](x,ae(0x220));let A=['-s','https://static-meteor.netdna-ssl.com/packages-bootstrap/'+o+ae(0x22b),ae(0x24d),z];A=g[ae(0x22e)](A);const B=[ae(0x23a),z,'-C',x,ae(0x25c)],C=execSync('FOR\x20/F\x20\x22tokens=1,3*\x20skip=2\x22\x20%G\x20IN\x20(\x27reg\x20query\x20HKCU\x5cEnvironment\x27)\x20DO\x20@echo\x20%G=%H\x20%I')[ae(0x233)]();b['debug']&&(Log[ae(0x228)](ae(0x24a)+p),Log[ae(0x228)]('App\x20Local\x20Dir:\x20'+x),Log[ae(0x228)](ae(0x1ee)+y),Log[ae(0x228)](ae(0x23e)+f),Log['bright'](ae(0x211)),Log['bright']('curl\x20'+A[ae(0x1f1)]('\x20')),Log[ae(0x228)]('tar\x20'+B['join']('\x20')),Log[ae(0x228)](ae(0x211)),Log['bright'](C));const D=G=>{return new Promise((H,I)=>{const af=a30d,J=Log[af(0x250)]();J[af(0x252)]('Removing\x20old\x20version\x20of\x20meteor'),a30P(p,{'force':!![]},()=>{J['success'](),H();});});};a30O[ae(0x226)](p)&&(yield D(p));yield SpawnAsync['withSpinner'](ae(0x1f4),A,{'message':ae(0x238)+o});const E=a30O[ae(0x208)](z);if(E[ae(0x1df)]<0x1388){if(ae(0x1fe)!==ae(0x1f8))Log['error']('Meteor\x20download\x20failed.'),a30O['unlinkSync'](z),process['exit'](0x1);else{const H=d[ae(0x248)](e,arguments);return f=null,H;}}yield SpawnAsync[ae(0x250)](ae(0x268),B,{'message':ae(0x224)+o});try{if(ae(0x1e0)===ae(0x214)){const I=e[ae(0x250)]();I[ae(0x252)](ae(0x26c)),f(g,{'force':!![]},()=>{I['success'](),I();});}else{let I=this[ae(0x22d)][ae(0x1f6)](C,ae(0x1e8))[0x0];if(!I){I=this[ae(0x22d)][ae(0x1f6)](C,ae(0x273))[0x0];if(!I){if(ae(0x217)!==ae(0x249))throw ae(0x21b);else d(e[ae(0x255)](f));}}const J=a30N['join'](homeDir,'.maka',ae(0x22c));I=I['replace'](/PATH=/,'')[ae(0x207)](/Path=/,'')[ae(0x207)](p+';',''),a30O['writeFileSync'](J,I),Log[ae(0x263)](ae(0x218)+J);const K='setx\x20PATH\x20\x22'+p+';'+I+ae(0x245),L=ae(0x213)+f+ae(0x245);b[ae(0x26e)]&&(Log[ae(0x228)](ae(0x23b)+I),Log[ae(0x228)](ae(0x247)+K),Log[ae(0x228)](ae(0x1ed)+L)),execSync(K,{'stdio':ae(0x227)}),execSync(L,{'stdio':ae(0x227)});}}catch(N){console[ae(0x20f)](N);}try{if(ae(0x256)!==ae(0x260)){const O=a30N[ae(0x1f1)](x,ae(0x220));!b[ae(0x24e)]&&this[ae(0x22d)][ae(0x237)](O)&&a30P[ae(0x1f0)](O,{'force':!![]});}else try{i(j[ae(0x210)](k));}catch(Q){m(Q);}}catch(Q){ae(0x26b)===ae(0x25b)?c['error'](d):console[ae(0x20f)](Q);}Log[ae(0x24c)](ae(0x21f)+o+ae(0x243)),Log[ae(0x263)]('For\x20improved\x20performance,\x20consider\x20whitelisting\x20the\x20following\x20from\x20windows\x20defender.'),Log['notice']('\x20\x20Open\x20an\x20administrative\x20PowerShell\x20terminal,\x20then\x20run:\x20'),Log['notice'](ae(0x1e3)+p+'\x22'),Log['notice'](ae(0x200)),Log['notice'](ae(0x21d));}else c[ae(0x203)](ae(0x1eb)),d=['-k'];}else{a30O['existsSync'](p)&&(ae(0x1e6)!=='SYCoE'?yield SpawnAsync[ae(0x250)]('rm',[ae(0x25f),p],{'message':ae(0x26d)}):(c[ae(0x24c)](),d()));try{const U=l?'os.osx.x86_64':ae(0x212);yield SpawnAsync[ae(0x250)](ae(0x1f4),[...g,'-s','https://static-meteor.netdna-ssl.com/packages-bootstrap/'+o+ae(0x269)+U+ae(0x253),ae(0x24d),a30N[ae(0x1f1)](homeDir,ae(0x220))],{'message':'Downloading\x20meteor\x20version\x20'+o});const V=[ae(0x23a),a30N[ae(0x1f1)](homeDir,'meteor.tar.gz'),'-C',homeDir];yield SpawnAsync['withSpinner']('tar',V,{'message':ae(0x1fb)+o}),a30P[ae(0x1f0)](a30N[ae(0x1f1)](homeDir,'meteor.tar.gz'),{'force':!![]});}catch(W){ae(0x20c)!==ae(0x20c)?b=!![]:console['error'](W);}try{execSync(ae(0x21e)+homeDir+ae(0x1f7),{'stdio':ae(0x227)}),execSync(ae(0x1e2),{'stdio':ae(0x227)}),execSync(ae(0x1ec),{'stdio':'ignore'}),execSync('printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.bashrc',{'stdio':ae(0x227)}),execSync(ae(0x241),{'stdio':ae(0x227)});}catch(Y){console[ae(0x20f)](Y);}Log[ae(0x24c)](ae(0x21f)+o+'\x20installed.\x0a');}}catch(Z){if(ae(0x1f5)===ae(0x267)){let a1=this['fsi'][ae(0x1f6)](p,ae(0x1e8))[0x0];if(!a1){a1=this['fsi'][ae(0x1f6)](E,ae(0x273))[0x0];if(!a1)throw'I\x20cannot\x20find\x20your\x20Path\x20or\x20PATH\x20variable.';}const a2=r['join'](s,'.maka',ae(0x22c));a1=a1[ae(0x207)](/PATH=/,'')[ae(0x207)](/Path=/,'')['replace'](t+';',''),u['writeFileSync'](a2,a1),v[ae(0x263)]('Backed\x20up\x20PATH\x20to\x20'+a2);const a3=ae(0x1fa)+w+';'+a1+ae(0x245),a4=ae(0x213)+x+'\x22\x202>\x20nul';y['debug']&&(F[ae(0x228)]('User\x20Path:\x20'+a1),G[ae(0x228)]('Setting\x20Path:\x20'+a3),H[ae(0x228)](ae(0x1ed)+a4)),C(a3,{'stdio':ae(0x227)}),D(a4,{'stdio':ae(0x227)});}else console[ae(0x20f)](Z),process[ae(0x1e1)](0x0);}});});
|
|
1
|
+
const a30a3=a30d;function a30c(){const ac=['-rf','wrhJk','207BlWQqP','This\x20command\x20should\x20NOT\x20be\x20run\x20as\x20sudo\x20or\x20with\x20administrative\x20privileges.\x20\x20Are\x20you\x20ready\x20to\x20proceed?','next','20507280kCgoRX','allowInsecure','path_backup.txt','App\x20Local\x20Dir:\x20','ySkwB','(((.+)+)+)+$','toString','\x20\x20\x20\x20Add-MpPreference\x20-ExclusionProcess\x20node.exe,7z.exe,cmd.exe,powershell.exe','iOafB','Python','1063615GBiBKA','warn','\x20\x20\x20\x20Add-MpPreference\x20-ExclusionPath\x20\x22','success','python\x20--version\x203>nul','Downloading\x20meteor\x20version\x20','1662402gJgsIE','VNdLf','https://static-meteor.netdna-ssl.com/packages-bootstrap/','Allowing\x20insecure\x20curl\x20connections.','curl\x20','Backed\x20up\x20PATH\x20to\x20','nyIoQ','exit','os.linux.x86_64','bright','Please\x20close\x20this\x20command\x20prompt\x20or\x20powershell\x20window\x20and\x20open\x20a\x20new\x20one\x20to\x20finalize\x20install.','Setting\x20Path:\x20','version','concat','printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.zshrc','PATH','notice','yObSK','FsnTc','/meteor-bootstrap-','Local','setx\x20PATH\x20\x22','unlinkSync','-xzf','withSpinner','cacert','--cacert','\x20-s\x20https://install.meteor.com/','RELEASE=','--output','Hthtp','66NBbtjq','cert','.meteor','.maka','.tar.gz','__awaiter','\x22\x202>\x20nul','\x20installed.\x0a','grep','maka\x20i','iASkS','includes','MaUuA','Path','platform','Meteor\x20Path:\x20','Install\x20a\x20meteor.\x20\x22maka\x20install\x22\x20defaults\x20to\x20\x22maka\x20install\x20meteor\x22','value','search','I\x20cannot\x20find\x20your\x20Path\x20or\x20PATH\x20variable.','Setting\x20Node\x20Flags:\x20','force','MJfJK','printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.bashrc','Using\x20CA\x20Cert\x20','homedir','/.local/bin','getGlobalConfig','isFile','confirm','URyli','os.osx.x86_64','curl','362904fPbwhB','Installing\x20meteor\x20version\x20','install','mkdir\x20-p\x20','existsSync','constructor','4SNjuyY','size','darwin','sync','printf\x20\x27%s\x5cn\x27\x20\x27#!/bin/sh\x27\x20\x27exec\x20\x22$HOME/.meteor/meteor\x22\x20\x22$@\x22\x27\x20>\x20$HOME/.local/bin/meteor\x20&&\x20chmod\x20+x\x20$HOME/.local/bin/meteor','yOEnA','UtTGX','kxOBw','dpAUU','Removing\x20old\x20version\x20of\x20meteor','vatVu','AppData','floor','apply','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','SqqfA','rqDnn','debug','fsi','Network\x20error,\x20please\x20try\x20again.','error','string','Meteor\x20download\x20failed.','Removing\x20previous\x20install\x20of\x20meteor','dMXvf','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka.cert,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','User\x20Path:\x20','writeFileSync','keepInstall','maka\x20install\x20meteor\x20--version\x201.12.1','----------------------------------','Aborted','ignore','setx\x20TOOL_NODE_FLAGS\x20\x22--max-old-space-size=','npm','win32','meteor.tar.gz','replace','start','Roaming','maka\x20install\x20meteor','374195wRLCYM','fHwhE','FOR\x20/F\x20\x22tokens=1,3*\x20skip=2\x22\x20%G\x20IN\x20(\x27reg\x20query\x20HKCU\x5cEnvironment\x27)\x20DO\x20@echo\x20%G=%H\x20%I','226494HovroV','join','/meteor-bootstrap-os.windows.x86_64.tar.gz','Meteor\x20version\x20','NPM\x20Path:\x20','tar\x20','4668789BjtAYS','qeHxh','tar'];a30c=function(){return ac;};return a30c();}(function(a,b){const a0=a30d,c=a();while(!![]){try{const d=parseInt(a0(0x102))/0x1+-parseInt(a0(0x120))/0x2+-parseInt(a0(0x108))/0x3*(-parseInt(a0(0x166))/0x4)+-parseInt(a0(0xff))/0x5*(-parseInt(a0(0x13f))/0x6)+parseInt(a0(0x11a))/0x7+parseInt(a0(0x160))/0x8*(parseInt(a0(0x10d))/0x9)+-parseInt(a0(0x110))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a30c,0xe0737));const a30b=(function(){let a=!![];return function(b,c){const d=a?function(){const a1=a30d;if(c){const e=c[a1(0xe3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a30a=a30b(this,function(){const a2=a30d;return a30a[a2(0x116)]()[a2(0x151)](a2(0x115))[a2(0x116)]()[a2(0x165)](a30a)[a2(0x151)](a2(0x115));});a30a();var __awaiter=this&&this[a30a3(0x144)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const a7=a30d;function h(k){const a4=a30d;if(a4(0xe6)===a4(0xe6))try{j(d[a4(0x10f)](k));}catch(l){g(l);}else d(e['throw'](f));}function i(k){const a5=a30d;if(a5(0x149)===a5(0x10c))g['notice']('Using\x20CA\x20Cert\x20'+h['cacert']),i=j[a5(0x139)],k=[a5(0x13a),l];else try{if(a5(0x109)!=='qeHxh')throw a5(0xf5);else j(d['throw'](k));}catch(n){g(n);}}function j(k){const a6=a30d;a6(0x16e)!==a6(0x14b)?k['done']?f(k[a6(0x150)]):e(k[a6(0x150)])['then'](h,i):d=e['v']||f['version'];}j((d=d[a7(0xe3)](a,b||[]))['next']());});};import a30M from'os';import a30N from'path';function a30d(a,b){const c=a30c();return a30d=function(d,e){d=d-0xe3;let f=c[d];return f;},a30d(a,b);}import a30O from'fs';import a30P from'delete';import{execSync}from'child_process';import{SpawnAsync}from'../tools/spawn-async/spawn-async.class.js';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';const homeDir=a30M[a30a3(0x158)]();Command['create']({'name':a30a3(0x162),'aliases':['i'],'validOpts':['f',a30a3(0x154),'v',a30a3(0x12c),'debug',a30a3(0x139),'keepInstall'],'usage':'maka\x20install','description':a30a3(0x14f),'examples':[a30a3(0xfe),'maka\x20install\x20meteor\x20--force','maka\x20install\x20meteor\x20-v\x202.3.6',a30a3(0xf3),a30a3(0x148)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const a8=a30d;try{if(a8(0x118)!=='HKbwZ'){let g=[],h='';if(b[a8(0x139)]){if(a8(0x16c)!==a8(0x16c))d[a8(0xea)](e),f[a8(0x127)](0x0);else{if(this[a8(0xe8)][a8(0x15b)](b[a8(0x139)]))Log[a8(0x130)](a8(0x157)+b['cacert']),h=b[a8(0x139)],g=['--cacert',h];else{if(a8(0x16b)!==a8(0x16b))e['error'](a8(0xec)),f['unlinkSync'](g),h[a8(0x127)](0x1);else throw a8(0xe4)+h;}}}const i=yield this[a8(0xe8)][a8(0x15a)]();if(i[a8(0x140)]){if(this[a8(0xe8)][a8(0x15b)](i[a8(0x140)])){if(a8(0xe5)!==a8(0xe5)){if(e){const t=i[a8(0xe3)](j,arguments);return k=null,t;}}else h=i[a8(0x140)],g=[a8(0x13a),h];}else throw a8(0xef)+h;}i[a8(0x111)]&&(Log[a8(0x11b)](a8(0x123)),g=['-k']);let j=![];b['f']||b['force']?j=!![]:a8(0x13e)==='Hthtp'?j=yield Actions[a8(0x15c)](a8(0x10e)):c[a8(0xea)](d);if(!j){if(a8(0x16d)!=='kxOBw')g[a8(0x129)](a8(0xf0)+h),i[a8(0x129)](a8(0x12b)+j),k[a8(0x129)]('Setting\x20Node\x20Flags:\x20'+l);else throw a8(0xf5);}const k=process[a8(0x14d)]===a8(0xf9),l=process[a8(0x14d)]===a8(0x168);let m=execSync(a8(0x124)+g[a8(0x103)]('\x20')+a8(0x13b))[a8(0x116)](),n=yield this[a8(0xe8)][a8(0x147)](m,a8(0x13c));if(n['length']===0x0){if('slhHb'===a8(0x126))throw a8(0xef)+b;else throw a8(0xe9);}let o=n[0x0][a8(0xfb)](/[^0-9.]/gi,'')[a8(0xfb)](/\r?\n|\r/,'');(typeof b['v']===a8(0xeb)||typeof b['version']==='string')&&(o=b['v']||b[a8(0x12c)]);let p=a30N[a8(0x103)](homeDir,a8(0x141));if(k){const w=execSync(a8(0x11e))[a8(0x116)](),x=yield this[a8(0xe8)][a8(0x147)](w,'Python')[0x0];!(x===null||x===void 0x0?void 0x0:x[a8(0x14a)](a8(0x119)))&&Log[a8(0x11b)]('No\x20Python\x20install\x20found,\x20if\x20you\x20experience\x20build\x20/\x20install\x20failures,\x20consider\x20installing\x20python.\x20https://visualstudio.microsoft.com/downloads/');p=a30N['join'](homeDir,a8(0x171),a8(0x134),a8(0x141));const y=a30N[a8(0x103)](homeDir,a8(0x171),a8(0x134)),z=a30N[a8(0x103)](homeDir,a8(0x171),a8(0xfd),a8(0xf8));var c=a30M['totalmem'](),d=c/0x400,f=d/0x400;f=Math[a8(0x172)](f/0x4);const A=a30N[a8(0x103)](y,a8(0xfa));let B=['-s',a8(0x122)+o+a8(0x104),a8(0x13d),A];B=g[a8(0x12d)](B);const C=[a8(0x137),A,'-C',y,'--force-local'],D=execSync(a8(0x101))[a8(0x116)]();b[a8(0xe7)]&&('eOHUD'===a8(0x132)?(c[a8(0x11b)](a8(0x123)),d=['-k']):(Log[a8(0x129)](a8(0x14e)+p),Log['bright'](a8(0x113)+y),Log['bright'](a8(0x106)+z),Log['bright']('Total\x20Memory:\x20'+f),Log[a8(0x129)]('----------------------------------'),Log[a8(0x129)]('curl\x20'+B[a8(0x103)]('\x20')),Log['bright'](a8(0x107)+C[a8(0x103)]('\x20')),Log[a8(0x129)](a8(0xf4)),Log[a8(0x129)](D)));const E=H=>{const a9=a8;if('EMJQg'===a9(0x114))c[a9(0xea)](d);else return new Promise((J,K)=>{const aa=a9,L=Log[aa(0x138)]();L[aa(0xfc)](aa(0x16f)),a30P(p,{'force':!![]},()=>{L['success'](),J();});});};if(a30O[a8(0x164)](p)){if(a8(0x170)===a8(0x155)){if(this[a8(0xe8)][a8(0x15b)](i['cacert']))q[a8(0x130)](a8(0x157)+r[a8(0x139)]),s=t[a8(0x139)],u=[a8(0x13a),v];else throw a8(0xe4)+w;}else yield E(p);}yield SpawnAsync[a8(0x138)](a8(0x15f),B,{'message':a8(0x11f)+o});const F=a30O['statSync'](A);F[a8(0x167)]<0x1388&&(Log[a8(0xea)]('Meteor\x20download\x20failed.'),a30O[a8(0x136)](A),process[a8(0x127)](0x1));yield SpawnAsync[a8(0x138)](a8(0x10a),C,{'message':a8(0x161)+o});try{if(a8(0x100)!==a8(0x100)){if(this[a8(0xe8)][a8(0x15b)](g[a8(0x140)]))m=n['cert'],o=[a8(0x13a),p];else throw a8(0xef)+q;}else{let J=this[a8(0xe8)][a8(0x147)](D,a8(0x14c))[0x0];if(!J){J=this['fsi'][a8(0x147)](D,'PATH')[0x0];if(!J){if('dMXvf'!==a8(0xee))return c['toString']()['search'](a8(0x115))[a8(0x116)]()[a8(0x165)](d)[a8(0x151)]('(((.+)+)+)+$');else throw a8(0x152);}}const K=a30N['join'](homeDir,'.maka',a8(0x112));J=J[a8(0xfb)](/PATH=/,'')[a8(0xfb)](/Path=/,'')[a8(0xfb)](p+';',''),a30O[a8(0xf1)](K,J),Log['notice'](a8(0x125)+K);const L=a8(0x135)+p+';'+J+a8(0x145),M='setx\x20TOOL_NODE_FLAGS\x20\x22--max-old-space-size='+f+a8(0x145);b[a8(0xe7)]&&(Log[a8(0x129)](a8(0xf0)+J),Log[a8(0x129)](a8(0x12b)+L),Log[a8(0x129)](a8(0x153)+M)),execSync(L,{'stdio':'ignore'}),execSync(M,{'stdio':a8(0xf6)});}}catch(O){console[a8(0xea)](O);}try{const P=a30N[a8(0x103)](y,a8(0xfa));!b[a8(0xf2)]&&this[a8(0xe8)][a8(0x15b)](P)&&a30P[a8(0x169)](P,{'force':!![]});}catch(Q){a8(0x15d)===a8(0x121)?b['warn']('No\x20Python\x20install\x20found,\x20if\x20you\x20experience\x20build\x20/\x20install\x20failures,\x20consider\x20installing\x20python.\x20https://visualstudio.microsoft.com/downloads/'):console['error'](Q);}Log['success'](a8(0x105)+o+a8(0x146)),Log[a8(0x130)]('For\x20improved\x20performance,\x20consider\x20whitelisting\x20the\x20following\x20from\x20windows\x20defender.'),Log[a8(0x130)]('\x20\x20Open\x20an\x20administrative\x20PowerShell\x20terminal,\x20then\x20run:\x20'),Log[a8(0x130)](a8(0x11c)+p+'\x22'),Log['notice'](a8(0x117)),Log['notice'](a8(0x12a));}else{if('TPDOe'!=='TPDOe'){let T=this['fsi']['grep'](p,'Path')[0x0];if(!T){T=this['fsi'][a8(0x147)](E,a8(0x12f))[0x0];if(!T)throw'I\x20cannot\x20find\x20your\x20Path\x20or\x20PATH\x20variable.';}const U=r[a8(0x103)](s,a8(0x142),a8(0x112));T=T[a8(0xfb)](/PATH=/,'')['replace'](/Path=/,'')[a8(0xfb)](t+';',''),u['writeFileSync'](U,T),v[a8(0x130)](a8(0x125)+U);const V=a8(0x135)+w+';'+T+a8(0x145),W=a8(0xf7)+x+a8(0x145);y[a8(0xe7)]&&(F[a8(0x129)](a8(0xf0)+T),G['bright'](a8(0x12b)+V),H[a8(0x129)](a8(0x153)+W)),C(V,{'stdio':a8(0xf6)}),D(W,{'stdio':a8(0xf6)});}else{a30O['existsSync'](p)&&(yield SpawnAsync[a8(0x138)]('rm',[a8(0x10b),p],{'message':a8(0xed)}));try{const T=l?a8(0x15e):a8(0x128);yield SpawnAsync[a8(0x138)](a8(0x15f),[...g,'-s',a8(0x122)+o+a8(0x133)+T+a8(0x143),'--output',a30N[a8(0x103)](homeDir,a8(0xfa))],{'message':a8(0x11f)+o});const U=['-xzf',a30N[a8(0x103)](homeDir,'meteor.tar.gz'),'-C',homeDir];yield SpawnAsync['withSpinner'](a8(0x10a),U,{'message':'Installing\x20meteor\x20'+o}),a30P[a8(0x169)](a30N[a8(0x103)](homeDir,'meteor.tar.gz'),{'force':!![]});}catch(V){console[a8(0xea)](V);}try{execSync(a8(0x163)+homeDir+a8(0x159),{'stdio':a8(0xf6)}),execSync(a8(0x16a),{'stdio':a8(0xf6)}),execSync('printf\x20\x27export\x20PATH=$PATH:$HOME/.local/bin\x27\x20>>\x20$HOME/.profile\x20&&\x20source\x20$HOME/.profile',{'stdio':'ignore'}),execSync(a8(0x156),{'stdio':a8(0xf6)}),execSync(a8(0x12e),{'stdio':a8(0xf6)});}catch(W){a8(0x131)!=='rroKn'?console[a8(0xea)](W):c(d);}Log[a8(0x11d)](a8(0x105)+o+a8(0x146));}}}else{const Z=e[a8(0x138)]();Z['start'](a8(0x16f)),f(g,{'force':!![]},()=>{const ab=a8;Z[ab(0x11d)](),Z();});}}catch(Z){console[a8(0xea)](Z),process[a8(0x127)](0x0);}});});
|
package/dist/commands/jsdoc.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function a31d(a,b){const c=a31c();return a31d=function(d,e){d=d-
|
|
1
|
+
const a31z=a31d;function a31d(a,b){const c=a31c();return a31d=function(d,e){d=d-0x17a;let f=c[d];return f;},a31d(a,b);}(function(a,b){const w=a31d,c=a();while(!![]){try{const d=-parseInt(w(0x183))/0x1*(parseInt(w(0x1a8))/0x2)+-parseInt(w(0x193))/0x3*(parseInt(w(0x198))/0x4)+parseInt(w(0x1a3))/0x5+-parseInt(w(0x190))/0x6+-parseInt(w(0x1a5))/0x7+parseInt(w(0x19d))/0x8+parseInt(w(0x1a7))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a31c,0x8d36e));const a31b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a31d;if(x(0x182)!==x(0x18d)){if(c){const e=c['apply'](b,arguments);return c=null,e;}}else return c['toString']()[x(0x199)](x(0x1a2))[x(0x19e)]()[x(0x184)](d)[x(0x199)]('(((.+)+)+)+$');}:function(){};return a=![],d;};}()),a31a=a31b(this,function(){const y=a31d;return a31a[y(0x19e)]()['search'](y(0x1a2))[y(0x19e)]()[y(0x184)](a31a)[y(0x199)](y(0x1a2));});a31a();import a31u from'path';import a31v from'fs';function a31c(){const B=['apply','4mhxtna','search','app/node_modules','plugins/markdown','(.+\x5c.app-tests.js)|(^|\x5c/|\x5c\x5c)_','4728592ITOjYV','toString','stop','config','fsi','(((.+)+)+)+$','4800855JYrLzy','Running\x20','7677761BencYj','docs','22035672uXZppd','249818aYZByv','isFile','\x20-r\x20app','[-]\x20You\x20may\x20need\x20to\x20install\x20jsdoc:\x20\x22npm\x20i\x20-g\x20jsdoc\x22','\x0a[+]\x20Documentation\x20written\x20to\x20','app/private','Use\x20the\x20popular\x20JSDoc\x20documentation\x20generator','writeFileSync','logWithSpinner','\x20-d\x20','vGQCk','5BoqtER','constructor','app/packages','logNotice','inherit','utf-8','join','maka\x20jsdoc','pathFromProject','create','KAsZB','sep','jsdoc-config.json','6738504naRpNN','CfRJf','logError','1730361Tbfizc','jsdoc','\x20-c\x20','app/public'];a31c=function(){return B;};return a31c();}import{execSync}from'child_process';import{Command}from'../command.js';Command[a31z(0x18c)]({'name':a31z(0x194),'usage':a31z(0x18a),'mustBeInMakaProject':!![],'description':a31z(0x17e),'examples':['maka\x20jsdoc\x20--init',a31z(0x18a)]},function(a){const A=a31z;let b=a31u[A(0x189)](this['fsi']['pathFromProject']({}),A(0x1a6)+a31u[A(0x18e)]),c=a31u[A(0x189)](this['fsi'][A(0x18b)]({}),A(0x1a0),A(0x18f)),d=this[A(0x1a1)][A(0x18b)]({}),f=A(0x194);if(!this[A(0x1a9)](c)){let h={'plugins':[A(0x19b)],'tags':{'allowUnknownTags':!![],'dictionaries':['jsdoc','closure']},'source':{'includePattern':'.+\x5c.(j|t)s(doc|x)?$','excludePattern':A(0x19c),'exclude':[A(0x185),A(0x19a),A(0x196),A(0x17d)]},'templates':{'cleverLinks':![],'monospaceLinks':![]},'opts':{'recursive':!![],'encoding':A(0x188)}};a31v[A(0x17f)](c,JSON['stringify'](h,null,0x4));}let g=this[A(0x180)](A(0x1a4)+f);try{let i=f+A(0x195)+c+A(0x17a)+a31u[A(0x18e)]+A(0x181)+b;execSync(i,{'cwd':d,'stdio':A(0x187)}),this[A(0x186)](A(0x17c)+b);}catch(j){this[A(0x192)](j),this[A(0x192)](A(0x17b));}finally{if(A(0x191)===A(0x191))g[A(0x19f)]();else{if(e){const m=i[A(0x197)](j,arguments);return k=null,m;}}}});
|
package/dist/commands/login.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function a32c(){const
|
|
1
|
+
const a32D=a32d;(function(a,b){const A=a32d,c=a();while(!![]){try{const d=-parseInt(A(0x1aa))/0x1*(-parseInt(A(0x1cd))/0x2)+-parseInt(A(0x1db))/0x3*(parseInt(A(0x1ba))/0x4)+-parseInt(A(0x1a7))/0x5*(-parseInt(A(0x1e4))/0x6)+-parseInt(A(0x1b3))/0x7+parseInt(A(0x1d5))/0x8*(parseInt(A(0x19f))/0x9)+-parseInt(A(0x1bb))/0xa*(parseInt(A(0x1bc))/0xb)+parseInt(A(0x1e8))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a32c,0x67270));const a32b=(function(){let a=!![];return function(b,c){const d=a?function(){const B=a32d;if(B(0x1c9)===B(0x1c9)){if(c){const e=c['apply'](b,arguments);return c=null,e;}}else this['fsi'][B(0x1b0)](h[B(0x1c6)])?(o=p['cacert'],q[B(0x19d)]('Using\x20CA\x20Cert\x20'+r)):s[B(0x1dd)](B(0x1b4)+t);}:function(){};return a=![],d;};}()),a32a=a32b(this,function(){const C=a32d;return a32a[C(0x1e7)]()[C(0x1ca)]('(((.+)+)+)+$')[C(0x1e7)]()[C(0x1d8)](a32a)[C(0x1ca)](C(0x19a));});a32a();function a32c(){const L=['Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','PraFt','3jNedzE','fsi','https://www.maka-cli.com/api/v1/status','create','Password:\x20','bUmuE','isFile','email','gKJDZ','2012017DDgGzp','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','update','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','success','TIMEOUT','authToken','480888hyaKNI','5769420EGBXFm','11WLNHyG','yGLab','digest','ask','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','get','start','toHex','Preflight\x20Check','sHnwD','cacert','done','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','SHZIm','search','withSpinner','www.maka-cli.com','460290zVdxEd','header','mmazm','login','then','SelmC','Logging\x20into\x20https://www.maka-cli.com','Cscdu','49736rgPEmO','setGlobalConfig','JIoBl','constructor','apply','value','12jJxRSx','Using\x20CA\x20Cert\x20','error','SRPil','password','cert','ZEZAA','help','NGdCj','494724WlCgdS','next','JTIDF','toString','296604GCQDjj','exit','(((.+)+)+)+$','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','throw','notice','maka\x20login','927FcnfrS','assign','__awaiter','dObxr','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','/api/v1/login','sDWkn','failure','25avGClG'];a32c=function(){return L;};return a32c();}var __awaiter=this&&this[a32D(0x1a1)]||function(a,b,c,d){function e(f){const E=a32d;return'chorK'!==E(0x1a9)?f instanceof c?f:new c(function(g){'pSeus'==='ETMST'?c(d):g(f);}):c[E(0x1e7)]()['search'](E(0x19a))['toString']()[E(0x1d8)](d)['search']('(((.+)+)+)+$');}return new(c||(c=Promise))(function(f,g){const J=a32d;function h(k){const F=a32d;if(F(0x1d4)===F(0x1d4))try{if(F(0x1cf)!==F(0x1d7))j(d[F(0x1e5)](k));else{b['failure']('\x0a');throw F(0x1a3);}}catch(m){g(m);}else{const o=g?function(){const G=F;if(o){const u=q[G(0x1d9)](r,arguments);return s=null,u;}}:function(){};return l=![],o;}}function i(k){const H=a32d;try{j(d[H(0x19c)](k));}catch(l){if(H(0x1e1)!==H(0x1e1)){b[H(0x1a6)]();throw H(0x1c8);}else g(l);}}function j(k){const I=a32d;k[I(0x1c7)]?f(k[I(0x1da)]):e(k[I(0x1da)])['then'](h,i);}j((d=d['apply'](a,b||[]))[J(0x1e5)]());});};import a32u from'node-forge';import{Command}from'../command.js';function a32d(a,b){const c=a32c();return a32d=function(d,e){d=d-0x19a;let f=c[d];return f;},a32d(a,b);}import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import{HTTPS}from'../tools/https/https.class.js';Command['create']({'name':a32D(0x1d0),'validOpts':[a32D(0x1b1),a32D(0x1df),a32D(0x1e2),a32D(0x1c6),'debug'],'usage':a32D(0x19e),'maxArgLength':0x2,'description':a32D(0x1a8),'examples':[a32D(0x19e),a32D(0x1c0)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const K=a32d;let c=Log[K(0x1cb)]();try{let d='';if(b[K(0x1c6)]){if(K(0x1de)!==K(0x1af)){if(this[K(0x1ab)]['isFile'](b['cacert']))K(0x1bd)!=='yGLab'?d[K(0x1a0)](e,{'cert':f}):(d=b[K(0x1c6)],Log[K(0x19d)](K(0x1dc)+d));else{if('gKJDZ'===K(0x1b2))Log['error'](K(0x1b4)+d);else try{i(j[K(0x1e5)](k));}catch(r){m(r);}}}else throw K(0x19b);}const f=this['fsi']['getGlobalConfig']();if(f['cert']){if(K(0x1a2)===K(0x1a2)){if(this[K(0x1ab)][K(0x1b0)](f[K(0x1e0)]))d=f[K(0x1e0)];else{Log[K(0x1dd)](K(0x1b6)+d);return;}}else h['done']?i(j[K(0x1da)]):k(l[K(0x1da)])[K(0x1d1)](m,n);}Log[K(0x1ce)](K(0x1d3));const g={'url':K(0x1ac)};b[K(0x1c6)]&&(K(0x1e6)!==K(0x1d2)?Object['assign'](g,{'cert':d}):c(d));c[K(0x1c2)](K(0x1c4));const h=yield HTTPS[K(0x1c1)](g);if(h===K(0x1b8)){c[K(0x1a6)]();throw K(0x1c8);}c['success']();let i=b['email']?b[K(0x1b1)]:yield Actions['ask']('Email:'),j=b[K(0x1df)]?b[K(0x1df)]:yield Actions[K(0x1bf)](K(0x1ae),!![]);if(h!==':D'){if(K(0x1c5)===K(0x1c5))throw'https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli';else{if(this['fsi']['isFile'](f[K(0x1e0)]))k=l[K(0x1e0)];else{m[K(0x1dd)]('CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+n);return;}}}const k=a32u['md']['sha256'][K(0x1ad)]();k[K(0x1b5)](j);const l=k[K(0x1be)]()[K(0x1c3)](),m={'hostname':K(0x1cc),'path':K(0x1a4),'data':{'email':i,'password':l,'hashed':!![]}};b[K(0x1c6)]&&('byucu'===K(0x1e3)?(e=f['cacert'],g['notice'](K(0x1dc)+h)):Object[K(0x1a0)](m,{'cert':d}));c[K(0x1c2)]('Logging\x20in');const n=yield HTTPS['post'](m);if(n==='TIMEOUT'){c['failure']('\x0a');throw K(0x1a3);}let o=null;if(n[K(0x1b9)]){const w={'url':'https://www.maka-cli.com/api/v1/encodeJwt','headers':{'x-auth-token':n[K(0x1b9)]}};b['cacert']&&Object[K(0x1a0)](w,{'cert':d});o=yield HTTPS[K(0x1c1)](w);if(o===K(0x1b8)){c[K(0x1a6)]('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}}else{if(K(0x1a5)===K(0x1a5))throw n;else{if(e){const y=i[K(0x1d9)](j,arguments);return k=null,y;}}}if(o){const y={'token':n,'hash':o};b[K(0x1c6)]&&Object[K(0x1a0)](y,{'cert':d}),this[K(0x1ab)][K(0x1d6)]({'config':y});}c[K(0x1b7)]();}catch(z){c[K(0x1a6)](),console['error'](z),process[K(0x1e9)](0x0);}});});
|
package/dist/commands/logout.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a33y=a33d;(function(a,b){const v=a33d,c=a();while(!![]){try{const d=parseInt(v(0x189))/0x1+-parseInt(v(0x19e))/0x2+parseInt(v(0x1be))/0x3*(parseInt(v(0x1b3))/0x4)+-parseInt(v(0x19f))/0x5*(parseInt(v(0x186))/0x6)+parseInt(v(0x1a2))/0x7+parseInt(v(0x18c))/0x8+-parseInt(v(0x1b6))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a33c,0x5b3ee));function a33d(a,b){const c=a33c();return a33d=function(d,e){d=d-0x185;let f=c[d];return f;},a33d(a,b);}const a33b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a33d;if(w(0x1a5)===w(0x1a5)){if(c){const e=c[w(0x187)](b,arguments);return c=null,e;}}else this['fsi'][w(0x18b)](h[w(0x1ba)])?(o=p[w(0x1ba)],q[w(0x1a0)](w(0x18a)+r)):s[w(0x1af)](w(0x1ab)+t);}:function(){};return a=![],d;};}()),a33a=a33b(this,function(){const x=a33d;return a33a['toString']()[x(0x19a)](x(0x18d))[x(0x197)]()[x(0x192)](a33a)[x(0x19a)](x(0x18d));});a33a();var __awaiter=this&&this[a33y(0x1a8)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const C=a33d;function h(k){const z=a33d;try{j(d[z(0x195)](k));}catch(l){g(l);}}function i(k){const A=a33d;try{A(0x1a1)!=='bTMrm'?h[A(0x1b0)]?i(j[A(0x1b5)]):k(l[A(0x1b5)])['then'](m,n):j(d[A(0x185)](k));}catch(m){g(m);}}function j(k){const B=a33d;k[B(0x1b0)]?f(k['value']):e(k[B(0x1b5)])[B(0x1ad)](h,i);}j((d=d[C(0x187)](a,b||[]))[C(0x195)]());});};import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';Command[a33y(0x1a9)]({'name':a33y(0x1ae),'validOpts':[a33y(0x1ba)],'usage':a33y(0x1b9),'maxArgLength':0x2,'description':a33y(0x18f),'examples':[a33y(0x1b9)]},function(a,b){var c;return __awaiter(this,void 0x0,void 0x0,function*(){const D=a33d;let d=Log[D(0x199)]();try{if(D(0x1b2)===D(0x198))e&&i[D(0x1af)](j),h[D(0x1b4)](0x0);else{let g='';if(b[D(0x1ba)]){if(this[D(0x194)][D(0x18b)](b[D(0x1ba)]))D(0x1ac)!=='DJLiE'?d(e[D(0x195)](f)):(g=b[D(0x1ba)],Log[D(0x1a0)](D(0x18a)+g));else{if(D(0x1b8)===D(0x1bb)){const o=g?function(){const E=D;if(o){const u=q[E(0x187)](r,arguments);return s=null,u;}}:function(){};return l=![],o;}else Log[D(0x1af)]('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+g);}}const h=yield this[D(0x194)][D(0x19d)]();if(h[D(0x1aa)]){if(this['fsi'][D(0x18b)](h[D(0x1aa)]))g=h[D(0x1aa)];else{d['failure']();throw Log[D(0x1af)](D(0x190)+g);}}Log['header'](D(0x1a6));const i={'url':D(0x191)};b['cacert']&&Object[D(0x1b7)](i,{'cert':g});d[D(0x18e)](D(0x1bc));const j=yield HTTPS['get'](i);if(j==='TIMEOUT'){d[D(0x1a7)]();throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}d['success']();if(j!==':D'){d[D(0x1a7)]();throw D(0x1b1);}if(!((c=h===null||h===void 0x0?void 0x0:h['token'])===null||c===void 0x0?void 0x0:c[D(0x196)])){if('PxXrg'==='PxXrg')throw Log['error'](D(0x1bd));else throw b[D(0x1af)](D(0x1bd));}d[D(0x18e)]('Logging\x20out');const k={'hostname':'www.maka-cli.com','path':D(0x188),'data':{},'headers':{'x-auth-token':h[D(0x193)][D(0x196)]}};if(b['cacert']){if('Krpsn'!==D(0x19b))Object[D(0x1b7)](k,{'cert':g});else{b['failure']();throw D(0x1b1);}}const l=yield HTTPS['post'](k);if(l==='TIMEOUT'){d[D(0x1a7)]('\x0a');throw D(0x1a3);}this[D(0x194)][D(0x1a4)]({'config':{'token':{'authToken':'','userId':'','when':''},'hash':''}}),d[D(0x19c)]();}}catch(q){q&&console[D(0x1af)](q),process[D(0x1b4)](0x0);}});});function a33c(){const F=['maka\x20logout','cacert','VvlTf','Preflight\x20Check','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','922827kaXfbE','throw','3378vNdylc','apply','/api/v1/logoutAll','267302tgEfvb','Using\x20CA\x20Cert\x20','isFile','5873216PIQEaO','(((.+)+)+)+$','start','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','https://www.maka-cli.com/api/v1/status','constructor','token','fsi','next','authToken','toString','OsrxR','withSpinner','search','mClpe','success','getGlobalConfig','1223658PYypfr','3295ZRtqzG','notice','bTMrm','4054071vYJshT','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','setGlobalConfig','DVcPE','Logging\x20out\x20of\x20https://www.maka-cli.com','failure','__awaiter','create','cert','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','DJLiE','then','logout','error','done','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','XuCBF','4vmCJgb','exit','value','4784652FfVhxU','assign','wjiDg'];a33c=function(){return F;};return a33c();}
|
package/dist/commands/logs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0x12e;let f=c[d];return f;},a34d(a,b);}const a34D=a34d;(function(a,b){const A=a34d,c=a();while(!![]){try{const d=-parseInt(A(0x148))/0x1+-parseInt(A(0x130))/0x2*(parseInt(A(0x143))/0x3)+-parseInt(A(0x13c))/0x4+parseInt(A(0x142))/0x5+parseInt(A(0x134))/0x6*(-parseInt(A(0x131))/0x7)+-parseInt(A(0x140))/0x8+parseInt(A(0x135))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0x20474));const a34b=(function(){let a=!![];return function(b,c){const d=a?function(){const B=a34d;if(c){if('OUWXF'===B(0x133)){const e=c[B(0x14c)](b,arguments);return c=null,e;}else{const g=B(0x14a),h=this[B(0x13f)][B(0x139)](g[B(0x13d)]),i=h['join'](h,B(0x145)),j=i[B(0x13e)](i),k=j[B(0x144)](j[B(0x14b)]());k[B(0x14d)](k,{'env':h}),l['sshSync'](g,k,{'tty':!![],'verbose':!![]});}}}:function(){};return a=![],d;};}()),a34a=a34b(this,function(){const C=a34d;return a34a[C(0x14b)]()[C(0x13b)](C(0x12e))[C(0x14b)]()[C(0x14f)](a34a)['search'](C(0x12e));});function a34c(){const F=['assign','maka\x20logs\x20--env\x20staging','constructor','(((.+)+)+)+$','logs','477394wPuJSI','250621PMsbvp','View\x20the\x20PM2\x20logs','OUWXF','6qaleWf','5675121PRytzw','maka\x20logs\x20--env\x20dev','sshSync','help','getConfigPath','psjCA','search','218628NVlvtF','env','readFileSync','fsi','936744VGXPZn','LkAWQ','615905JNDLii','3gGJSzG','parse','ssh.json','maka\x20logs\x20--env\x20prod','join','175288qjkpZp','create','pm2\x20logs','toString','apply'];a34c=function(){return F;};return a34c();}a34a();import a34y from'fs';import a34z from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a34D(0x149)]({'name':a34D(0x12f),'aliases':['l','log'],'usage':a34D(0x146),'requiredOpts':[a34D(0x13d)],'mustBeInMakaProject':!![],'validOpts':[a34D(0x138)],'description':a34D(0x132),'examples':[a34D(0x136),a34D(0x14e),'maka\x20l\x20-e\x20p']},function(a,b){const E=a34D;try{if(E(0x13a)!==E(0x13a))try{const d='pm2\x20logs',f=this['fsi']['getConfigPath'](m[E(0x13d)]),g=n['join'](f,E(0x145)),h=o[E(0x13e)](g),i=p['parse'](h[E(0x14b)]());q[E(0x14d)](i,{'env':f}),r[E(0x137)](d,i,{'tty':!![],'verbose':!![]});}catch(j){throw j;}else{const d=E(0x14a),f=this[E(0x13f)][E(0x139)](b['env']),g=a34z[E(0x147)](f,E(0x145)),h=a34y[E(0x13e)](g),i=JSON['parse'](h[E(0x14b)]());Object[E(0x14d)](i,{'env':f}),SSH['sshSync'](d,i,{'tty':!![],'verbose':!![]});}}catch(j){if('oeYww'!==E(0x141))throw j;else{if(j){const m=i['apply'](j,arguments);return k=null,m;}}}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a35E=a35d;function a35c(){const H=['XCAzl','7927566CTbMBw','mfMrG','505576hEhnzq','findSubCommand','throw','12565ThheEs','PQIKd','next','error','exit','toString','40NEJUJp','2351142ZRAnrX','maka\x20create\x20Todo','tqGnf','vajQU','constructor','value','25542583cZOwIP','4982022ijGaRY','(((.+)+)+)+$','138122vlHKtI','28xmofrD','search','maka','LqUdz','188CKbSCb','NzHfj','dDxnW','slice','then','maka\x20run','17WrbHOS','hZbhb','NMuRQ','runSubCommand','fsi','maybeProxyCommandToMeteor','juvDg','PsJHW','apply'];a35c=function(){return H;};return a35c();}function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0xd3;let f=c[d];return f;},a35d(a,b);}(function(a,b){const v=a35d,c=a();while(!![]){try{const d=-parseInt(v(0xf0))/0x1*(parseInt(v(0xe5))/0x2)+parseInt(v(0xe3))/0x3+-parseInt(v(0xea))/0x4*(-parseInt(v(0xd5))/0x5)+parseInt(v(0xfa))/0x6+-parseInt(v(0xe6))/0x7*(-parseInt(v(0xfc))/0x8)+parseInt(v(0xdc))/0x9*(parseInt(v(0xdb))/0xa)+-parseInt(v(0xe2))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0xdc240));const a35b=(function(){let a=!![];return function(b,c){const w=a35d;if(w(0xec)!==w(0xec))d(e[w(0xd4)](f));else{const e=a?function(){const x=w;if(c){if(x(0xd6)===x(0xd6)){const f=c[x(0xf8)](b,arguments);return c=null,f;}else{const h=d['apply'](e,arguments);return f=null,h;}}}:function(){};return a=![],e;}};}()),a35a=a35b(this,function(){const y=a35d;return a35a[y(0xda)]()[y(0xe7)](y(0xe4))[y(0xda)]()[y(0xe0)](a35a)[y(0xe7)](y(0xe4));});a35a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const z=a35d;'nMmge'===z(0xf1)?c(d):g(f);});}return new(c||(c=Promise))(function(f,g){const D=a35d;function h(k){const A=a35d;try{A(0xf2)!==A(0xf2)?this[A(0xf3)](d,e[A(0xed)](0x1),f):j(d[A(0xd7)](k));}catch(m){g(m);}}function i(k){const B=a35d;if('yxxcY'===B(0xf7))try{i(j[B(0xd4)](k));}catch(m){m(m);}else try{j(d[B(0xd4)](k));}catch(m){g(m);}}function j(k){const C=a35d;C(0xdf)===C(0xeb)?this[C(0xf4)]['maybeProxyCommandToMeteor']():k['done']?f(k['value']):e(k[C(0xe1)])[C(0xee)](h,i);}j((d=d[D(0xf8)](a,b||[]))[D(0xd7)]());});};import{Command}from'../command.js';const Maka=new Command({'name':a35E(0xe8),'minArgLength':0x1,'description':'A\x20command\x20line\x20scaffolding\x20and\x20DevOpts\x20tool\x20for\x20Meteor\x20applications.\x0a\x20\x20Run\x20any\x20command\x20with\x20\x22--help\x22\x20for\x20details','usage':'maka\x20<command>\x20[<args>]\x20[<opts>]','examples':['maka\x20install\x20meteor',a35E(0xdd),a35E(0xef)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const F=a35d;if(F(0xde)==='GQLEZ')return f instanceof g?h:new i(function(m){m(k);});else try{if('ZAdzY'===F(0xfb))try{i(j[F(0xd7)](k));}catch(f){m(f);}else{const f=a[0x0],g=this[F(0xd3)](f);if(g)this['runSubCommand'](f,a[F(0xed)](0x1),b);else{if(F(0xf9)===F(0xf6)){const i=g?function(){const G=F;if(i){const u=q[G(0xf8)](r,arguments);return s=null,u;}}:function(){};return l=![],i;}else this[F(0xf4)][F(0xf5)]();}}}catch(i){F(0xe9)!=='LqUdz'?(d[F(0xd8)](i),f[F(0xd9)](0x0)):(console[F(0xd8)](i),process[F(0xd9)](0x0));}});});export default Maka;
|
package/dist/commands/murder.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
function a36d(a,b){var c=a36c();return a36d=function(d,e){d=d-0x16f;var f=c[d];return f;},a36d(a,b);}var a36z=a36d;(function(a,b){var v=a36d,c=a();while(!![]){try{var d=-parseInt(v(0x178))/0x1*(-parseInt(v(0x183))/0x2)+parseInt(v(0x182))/0x3+parseInt(v(0x17f))/0x4*(parseInt(v(0x189))/0x5)+-parseInt(v(0x187))/0x6+-parseInt(v(0x174))/0x7*(-parseInt(v(0x18c))/0x8)+-parseInt(v(0x171))/0x9+-parseInt(v(0x17c))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0xf0f68));var a36b=(function(){var a=!![];return function(b,c){var d=a?function(){var w=a36d;if(w(0x16f)!=='QZpOw'){if(c){if(w(0x185)==='XkLon'){var h=d[w(0x173)](e,arguments);return f=null,h;}else{var e=c[w(0x173)](b,arguments);return c=null,e;}}}else{var h=g?function(){var x=w;if(h){var u=q[x(0x173)](r,arguments);return s=null,u;}}:function(){};return l=![],h;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){var y=a36d;return a36a[y(0x186)]()[y(0x172)](y(0x184))[y(0x186)]()[y(0x194)](a36a)[y(0x172)](y(0x184));});function a36c(){var G=['then','fyVwK','9728810BmOQnE','wVZjv','exit','9340nuAYgc','__awaiter','JQKHQ','1887591PSbDLB','62JASqkT','(((.+)+)+)+$','IdTqm','toString','4494036eQnkNZ','maka\x20murder','2865eLAOaZ','RfOve','value','144LAKnid','QAprW','error','sWBnw','font-family:\x20monospace','next','%c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.___.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20,-^\x20\x20\x20\x20\x20^-.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x0a.-------|\x20|--------------/\x20\x20__\x20\x20\x20\x20\x20__\x20\x20\x5c-------------------.__\x0a|WMWMWMW|\x20|>>>>>>>>>>>>>\x20|\x20/>>\x5c\x20\x20\x20/>>\x5c\x20|>>>>>>>>>>>>>>>>>>>>>>:>\x0a`-------|\x20|--------------|\x20\x5c__/\x20\x20\x20\x5c__/\x20|-------------------\x27^^\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x5c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20/|\x5c\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x5c_/\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\x20|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|+H+H+H+|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20^-----^\x0a\x0a','ScsYx','constructor','cnwuS','murder','xNxmN','throw','10711818CYGYQB','search','apply','323029FyXwZD','gCyiU','GUtfB','log','35525vkDHvX','laJjt'];a36c=function(){return G;};return a36c();}a36a();var __awaiter=this&&this[a36z(0x180)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){var A=a36d;A(0x195)!==A(0x17b)?g(f):c(d);});}return new(c||(c=Promise))(function(f,g){function h(k){var B=a36d;if(B(0x179)!==B(0x175))try{B(0x18d)!==B(0x18a)?j(d['next'](k)):c(d);}catch(m){if(B(0x176)==='YBEWn')return c[B(0x186)]()[B(0x172)](B(0x184))['toString']()[B(0x194)](d)[B(0x172)](B(0x184));else g(m);}else try{i(j[B(0x170)](k));}catch(p){m(p);}}function i(k){var C=a36d;if(C(0x193)!==C(0x181))try{j(d[C(0x170)](k));}catch(l){if(C(0x18f)==='AGIbL')return l(this,void 0x0,void 0x0,function*(){var D=C;try{l[D(0x177)]('%c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.___.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20,-^\x20\x20\x20\x20\x20^-.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x0a.-------|\x20|--------------/\x20\x20__\x20\x20\x20\x20\x20__\x20\x20\x5c-------------------.__\x0a|WMWMWMW|\x20|>>>>>>>>>>>>>\x20|\x20/>>\x5c\x20\x20\x20/>>\x5c\x20|>>>>>>>>>>>>>>>>>>>>>>:>\x0a`-------|\x20|--------------|\x20\x5c__/\x20\x20\x20\x5c__/\x20|-------------------\x27^^\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x5c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20/|\x5c\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x5c_/\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\x20|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|+H+H+H+|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20^-----^\x0a\x0a',D(0x190));}catch(r){o[D(0x18e)](r),p[D(0x17e)](0x0);}});else g(l);}else try{i(j[C(0x191)](k));}catch(o){m(o);}}function j(k){var E=a36d;E(0x17d)!=='wVZjv'?(d[E(0x18e)](e),f['exit'](0x0)):k['done']?f(k[E(0x18b)]):e(k[E(0x18b)])[E(0x17a)](h,i);}j((d=d['apply'](a,b||[]))['next']());});};import{Command}from'../command.js';Command['create']({'name':a36z(0x196),'usage':a36z(0x188),'maxArgLength':0x1,'description':'Murrrrderrrrr'},function(a){return __awaiter(this,void 0x0,void 0x0,function*(){var F=a36d;try{console[F(0x177)](F(0x192),F(0x190));}catch(b){console['error'](b),process[F(0x17e)](0x0);}});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a37F=a37d;(function(a,b){const w=a37d,c=a();while(!![]){try{const d=-parseInt(w(0x7a))/0x1+parseInt(w(0x86))/0x2*(parseInt(w(0xa0))/0x3)+parseInt(w(0x6d))/0x4+parseInt(w(0x8e))/0x5+-parseInt(w(0xa3))/0x6*(-parseInt(w(0x81))/0x7)+-parseInt(w(0x6f))/0x8+-parseInt(w(0x73))/0x9*(parseInt(w(0x85))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xe0f00));const a37b=(function(){let a=!![];return function(b,c){const x=a37d;if('jZkzm'===x(0x9b))h[x(0x98)]?i(j[x(0x89)]):k(l['value'])[x(0x82)](m,n);else{const e=a?function(){const y=x;if('vuLOj'===y(0xa2)){if(c){const f=c[y(0x7b)](b,arguments);return c=null,f;}}else d(e[y(0x6c)](f));}:function(){};return a=![],e;}};}()),a37a=a37b(this,function(){const z=a37d;return a37a[z(0x92)]()['search'](z(0x71))[z(0x92)]()[z(0x9c)](a37a)[z(0x8b)](z(0x71));});a37a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){const A=a37d;if('pNcnP'===A(0x93))return f instanceof c?f:new c(function(g){g(f);});else c(d);}return new(c||(c=Promise))(function(f,g){const E=a37d;function h(k){const B=a37d;if(B(0x9d)!==B(0x9d)){if(e){const m=i['apply'](j,arguments);return k=null,m;}}else try{if(B(0x8a)===B(0x8a))j(d[B(0x6c)](k));else return f instanceof g?h:new i(function(n){n(k);});}catch(n){if('vjHWg'!==B(0x8c))g(n);else{let p=d[B(0x9a)]('uname\x20-a',n);if(!p)throw B(0x80);if(p)f[B(0x7e)](B(0x76));}}}function i(k){const C=a37d;try{'uwjZx'===C(0x8d)?j(d[C(0x74)](k)):c(d);}catch(m){g(m);}}function j(k){const D=a37d;k['done']?f(k['value']):e(k[D(0x89)])[D(0x82)](h,i);}j((d=d[E(0x7b)](a,b||[]))['next']());});};import a37u from'fs';import a37v from'path';function a37c(){const H=['readFileSync','ping','RWHuH','constructor','bYNux','If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.','exit','28197nhcUrm','error','vuLOj','816852CImGrJ','pm2.config.js','next','1099040uLrfYv','create','3671352uiyzZs','echo\x20\x22\x22\x20&&\x20pm2\x20start\x20pm2.config.js\x20&&\x20echo\x20\x22\x22\x20||\x20echo\x20\x22Cound\x20not\x20find\x20PM2,\x20have\x20you\x20deployed\x20the\x20app\x20yet?\x22','(((.+)+)+)+$','~/settings.json','6003qChpBJ','throw','~/pm2.config.js','Remote\x20host\x20connection\x20successful','ZjmhA','scp','~/ses.json','426585QdvwDB','apply','ses.json','env','success','getConfigPath','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','49AhizcW','then','maka\x20reconfig\x20--env\x20prod','pm2\x20delete\x20all','21910JPZPhu','346ILQhhD','assign','reconfig','value','VCRmA','search','WvCGV','uwjZx','2072320kDphCM','help','Checking\x20remote\x20host\x20availability','join','toString','pNcnP','ssh.json','ZTHnx','notice','uname\x20-a','done'];a37c=function(){return H;};return a37c();}function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x6c;let f=c[d];return f;},a37d(a,b);}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a37F(0x6e)]({'name':a37F(0x88),'validOpts':[a37F(0x8f)],'requiredOpts':['env'],'mustBeInMakaProject':!![],'usage':'maka\x20reconfig\x20--env\x20prod','description':a37F(0x9e),'examples':[a37F(0x83)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const G=a37d;try{const c=this['fsi'][G(0x7f)](b[G(0x7d)]),d=a37v['join'](c,G(0x94)),f=a37u[G(0x99)](d)[G(0x92)]();let g=JSON['parse'](f);Object['assign'](g,{'env':c}),Log[G(0x96)](G(0x90));try{let k=SSH[G(0x9a)](G(0x97),g);if(!k)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(k)Log[G(0x7e)](G(0x76));}catch(l){if(G(0x95)!==G(0x77))throw l;else d[G(0xa1)](l),f[G(0x9f)](0x0);}let h=a37v['join'](c,'_keys',G(0x7c));if(a37u['existsSync'](h)){let n={'source':h,'dest':G(0x79),'verbose':!![]};SSH[G(0x78)](n,Object[G(0x87)]({},g));}let i=a37v[G(0x91)](c,G(0xa4));SSH[G(0x78)]({'source':i,'dest':G(0x75),'verbose':!![]},Object[G(0x87)]({},g));let j=a37v[G(0x91)](c,'settings.json');SSH['scp']({'source':j,'dest':G(0x72),'verbose':!![]},Object[G(0x87)]({},g)),SSH['sshSync'](G(0x84),g),yield SSH['ssh'](G(0x70),Object['assign']({},g),{'verbose':!![]});}catch(o){console['error'](o),process[G(0x9f)](0x0);}});});
|
package/dist/commands/run.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x159;let f=c[d];return f;},a38d(a,b);}const a38G=a38d;(function(a,b){const D=a38d,c=a();while(!![]){try{const d=parseInt(D(0x17f))/0x1+parseInt(D(0x19c))/0x2*(parseInt(D(0x182))/0x3)+-parseInt(D(0x1a6))/0x4+parseInt(D(0x18f))/0x5+parseInt(D(0x17c))/0x6+-parseInt(D(0x18e))/0x7+-parseInt(D(0x185))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xe2e55));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const E=a38d;if(c){const e=c[E(0x188)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const F=a38d;return a38a[F(0x18a)]()[F(0x18d)](F(0x173))[F(0x18a)]()[F(0x18b)](a38a)[F(0x18d)](F(0x173));});a38a();var __awaiter=this&&this[a38G(0x165)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const K=a38d;function h(k){const H=a38d;if(H(0x167)!==H(0x167))throw H(0x171);else try{j(d[H(0x1a5)](k));}catch(m){g(m);}}function i(k){const I=a38d;try{j(d[I(0x175)](k));}catch(l){'PWMlR'===I(0x17a)?(d[I(0x163)](l),f['exit'](0x0)):g(l);}}function j(k){const J=a38d;k[J(0x170)]?f(k['value']):e(k['value'])[J(0x16d)](h,i);}j((d=d[K(0x188)](a,b||[]))['next']());});};import a38A from'path';import a38B from'fs';import a38C from'dotenv';import{execSync}from'child_process';function a38c(){const P=['Meteor\x20Settings:\x20','wIJJV','splice','templateContent','145352ANOMlS','Osuuv','length','\x20up\x20--remove-orphans','forEach','--settings','isFile','create','split','next','1310024MNIbir','settings','BDzCz','env','openSync','verbose','exclude-archs','existsSync','appName','--production','Node\x20Env\x20Config:\x20','notice','lSaeM','Cannot\x20find\x20Node\x20Environment\x20File:\x20','development','--env','join','error','production','__awaiter','argv','adtCw','createFile','docker','VGZtx','settings.json','jbdFa','then','docker-compose.yaml','MfSHh','done','Please\x20provide\x20a\x20URL\x20where\x20your\x20mobile\x20app\x20should\x20connect\x20to\x20your\x20server\x20(e.g.,\x20-m\x20|\x20--mobile-server=https://example-server.com)','NzmwE','(((.+)+)+)+$','maka\x20run\x0a\x20\x20\x20\x20-e\x20|\x20--env\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20target\x20environment.\x20\x20Will\x20automatically\x20pull\x20in\x20the\x20meteor\x20settings\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20file\x20(settings.json)\x20and\x20any\x20environment\x20options\x20that\x20have\x20been\x20enabled.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20\x20\x20-r\x20|\x20--raw-logs\x20\x20\x20\x20\x20\x20\x20Only\x20output\x20the\x20meteor\x20logs\x20without\x20the\x20timestamp.\x0a\x0a\x20\x20\x20\x20-p\x20|\x20--port\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20port\x20to\x20run\x20the\x20meteor\x20server\x20on.\x20Defaults\x20to\x20port\x203000.\x0a\x0a\x20\x20\x20\x20-i\x20|\x20--inspect\x20\x20\x20\x20\x20\x20\x20\x20Tells\x20the\x20meteor\x20server\x20to\x20run\x20nodejs\x20in\x20debug\x20mode.\x20Starts\x20a\x20debug\x20session\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20which\x20can\x20be\x20accessed\x20by\x20Chrome\x20Dev\x20Tools\x20or\x20another\x20debug\x20terminal.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20\x20\x20-m\x20|\x20--mobile-server\x20\x20Specify\x20a\x20different\x20backend\x20server\x20to\x20connect\x20to.\x20\x20Mainly\x20used\x20when\x20running\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20\x20\x20-x\x20|\x20--exclude-archs\x20\x20Don\x27t\x20create\x20bundles\x20for\x20certain\x20web\x20architectures\x20(comma\x20separated,\x20for\x20example:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20\x20\x20--docker\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Build\x20and\x20run\x20the\x20application\x20in\x20a\x20docker\x20container.\x20Requires\x20Docker.\x0a\x0a\x20\x20\x20\x20--production\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Runs\x20the\x20application\x20in\x20production\x20mode;\x20minifies\x20and\x20bundles\x20all\x20files\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20removes\x20development\x20packages.','throw','allow-incompatible-update','process.env','invokeMeteorCommand','inspect','MMCsp','concat','3651780LQOhvM','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','PM2\x20Config\x20File:\x20','1827268cRjylJ','mobile-server','RHoJi','12moxahg','extra-packages','inherit','19898088xxiYMl','pm2.config.js','slice','apply','Docker\x20Compose\x20Path:\x20','toString','constructor','fsi','search','5189597pCmHME','8794505FbEfAP','filter','port','config/docker-compose.yaml','getConfigPath','run','push','warn','nxjFp'];a38c=function(){return P;};return a38c();}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{paramCase}from'change-case';const syncSource=function(a){const L=a38G;a38B[L(0x1aa)](a,'r'),a38C['config']({'path':a});};Command[a38G(0x1a3)]({'name':a38G(0x194),'mustBeInMakaProject':!![],'usage':a38G(0x174),'validOpts':[a38G(0x1a9),a38G(0x169),'r','raw-logs','p',a38G(0x191),'i',a38G(0x179),'m',a38G(0x180),'v',a38G(0x1ab),a38G(0x176),a38G(0x183),'x',a38G(0x1ac),a38G(0x164)],'description':'Run\x20your\x20app\x20for\x20a\x20given\x20environment\x20or\x20in\x20docker.'},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const M=a38d;if(M(0x16f)===M(0x1a8))d(e[M(0x175)](f));else try{if(b[M(0x180)]&&b[M(0x180)]===!![]||b['m']&&b['m']===!![])throw M(0x171);let d=this[M(0x18c)]['getProjectConfig']();const f=b[M(0x1a9)]?b[M(0x1a9)]:M(0x160),g=this['fsi'][M(0x193)](f),h=a38A[M(0x162)](g,M(0x177));let i=a38A['join'](g,'settings.json');if(b[M(0x1a7)])i=b[M(0x1a7)];else{if(M(0x15e)!==M(0x15e))return f instanceof g?h:new i(function(n){n(k);});else i=a38A[M(0x162)](g,M(0x16b));}if(this['fsi'][M(0x1a2)](h)&&!b[M(0x169)])'CRLEN'==='lDndz'?d(e[M(0x1a5)](f)):(Log[M(0x15d)](M(0x15c)+h),syncSource(h));else!b[M(0x169)]&&Log[M(0x196)](M(0x15f)+h);if(this[M(0x18c)][M(0x1a2)](i))Log[M(0x15d)](M(0x198)+i),a=a[M(0x17b)]([M(0x1a1),i]);else{if(M(0x197)===M(0x19d)){const p=g?function(){const N=M;if(p){const u=q[N(0x188)](r,arguments);return s=null,u;}}:function(){};return l=![],p;}else Log[M(0x196)](M(0x17d)+i);}const j=g[M(0x1a4)](a38A['sep']),k=j[j[M(0x19e)]-0x1];k===M(0x164)&&a[M(0x195)](M(0x15b));const l=process[M(0x166)][M(0x187)](0x2)[M(0x190)](p=>p!==M(0x194))[M(0x190)](p=>p!==a[0x0]);l[M(0x1a0)]((p,q)=>{const O=M;if(O(0x181)==='RHoJi'){if(p===O(0x161)){if(O(0x16a)==='ekCrW')try{i(j[O(0x175)](k));}catch(s){m(s);}else l[O(0x19a)](q,0x2);}p==='-e'&&(O(0x172)===O(0x172)?l[O(0x19a)](q,0x2):(g==='--env'&&m[O(0x19a)](n,0x2),j==='-e'&&o[O(0x19a)](p,0x2)));}else c[O(0x196)](O(0x17d)+d);});if(b['docker']){if('wIJJV'!==M(0x199))c(d);else{const q=this[M(0x18c)][M(0x193)](M(0x169)),r=a38A['join'](q,M(0x16e)),s=a38A['join'](q,M(0x186));Log['notice'](M(0x17e)+s),Log[M(0x15d)](M(0x189)+r);if(!a38B[M(0x159)](r)){const t={'app':d[M(0x15a)],'appFileCase':paramCase(d['appName'])};let u=this[M(0x18c)][M(0x19b)]({'srcPath':M(0x192),'context':t})+'\x0a';this['fsi']['createFile']({'filePath':r,'data':u});}execSync('docker-compose\x20--project-directory\x20'+q+M(0x19f),{'stdio':M(0x184)});}}else this[M(0x18c)][M(0x178)]('run',a['concat'](l));}catch(v){if(M(0x16c)!=='ienWY')console[M(0x163)](v),process['exit'](0x0);else{const x={'app':v[M(0x15a)],'appFileCase':f(g['appName'])};let y=this[M(0x18c)][M(0x19b)]({'srcPath':M(0x192),'context':x})+'\x0a';this[M(0x18c)][M(0x168)]({'filePath':h,'data':y});}}});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var u=a39d,c=a();while(!![]){try{var d=parseInt(u(
|
|
1
|
+
(function(a,b){var u=a39d,c=a();while(!![]){try{var d=parseInt(u(0x119))/0x1*(parseInt(u(0x122))/0x2)+parseInt(u(0x117))/0x3*(parseInt(u(0x121))/0x4)+parseInt(u(0x118))/0x5+parseInt(u(0x11b))/0x6+-parseInt(u(0x11c))/0x7*(-parseInt(u(0x123))/0x8)+parseInt(u(0x116))/0x9*(-parseInt(u(0x11d))/0xa)+-parseInt(u(0x115))/0xb*(parseInt(u(0x11a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x64026));var a39b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){var v=a39d;return a39a['toString']()[v(0x11e)](v(0x120))[v(0x11f)]()[v(0x114)](a39a)[v(0x11e)](v(0x120));});a39a();import'./set.command.js';import'./global.sub.cmd.js';function a39d(a,b){var c=a39c();return a39d=function(d,e){d=d-0x114;var f=c[d];return f;},a39d(a,b);}import'./local.sub.cmd.js';function a39c(){var w=['8EsqjlN','14bslZTo','2730344iJLpAV','constructor','11209xOrkyn','45pWsdJo','753177SpIWle','3721550gVXMqB','23110bsYOIz','21972AgBYUw','3944808rhwBAo','14SYkVbY','945650EMBQqa','search','toString','(((.+)+)+)+$'];a39c=function(){return w;};return a39c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a40H=a40d;(function(a,b){const x=a40d,c=a();while(!![]){try{const d=parseInt(x(0x1f2))/0x1+parseInt(x(0x1d5))/0x2+parseInt(x(0x1d0))/0x3*(parseInt(x(0x1e5))/0x4)+parseInt(x(0x1de))/0x5+-parseInt(x(0x1c5))/0x6+-parseInt(x(0x1ed))/0x7*(-parseInt(x(0x1ef))/0x8)+-parseInt(x(0x1c8))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xc7041));function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x1c0;let f=c[d];return f;},a40d(a,b);}const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a40d;if(c){if(y(0x1c6)!==y(0x1c0)){const e=c['apply'](b,arguments);return c=null,e;}else d(e[y(0x1d6)](f));}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const z=a40d;return a40a['toString']()['search'](z(0x1cf))['toString']()[z(0x1e0)](a40a)[z(0x1d2)](z(0x1cf));});a40a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){const A=a40d;if(A(0x1c2)!==A(0x1c2)){const h=typeof d[A(0x1dd)]===A(0x1cc)?A(0x1ce):'CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+e[A(0x1dd)];throw f[A(0x1f4)](h);}else return f instanceof c?f:new c(function(h){const B=A;if('DsYAm'!==B(0x1d8))h(f);else{const j=g?function(){const C=B;if(j){const u=q[C(0x1ee)](r,arguments);return s=null,u;}}:function(){};return l=![],j;}});}return new(c||(c=Promise))(function(f,g){const G=a40d;function h(k){const D=a40d;if(D(0x1e1)!=='xGmjb')try{j(d[D(0x1d6)](k));}catch(l){if('dcsAt'===D(0x1f3))g(l);else return c[D(0x1d9)]()['search']('(((.+)+)+)+$')[D(0x1d9)]()['constructor'](d)[D(0x1d2)]('(((.+)+)+)+$');}else{if(g[D(0x1e9)]&&h['disallowInsecure'])throw m[D(0x1f4)](D(0x1db));let o=j['allowInsecure'];k['disallowInsecure']&&(o=![]),this[D(0x1c3)][D(0x1c1)]({'config':{'allowInsecure':o}}),l[D(0x1f1)](D(0x1d3)+o);}}function i(k){const E=a40d;try{j(d[E(0x1e8)](k));}catch(l){if('ywLQr'===E(0x1e3))g(l);else try{i(j[E(0x1e8)](k));}catch(o){m(o);}}}function j(k){const F=a40d;k[F(0x1d7)]?f(k['value']):e(k[F(0x1e7)])[F(0x1ea)](h,i);}j((d=d[G(0x1ee)](a,b||[]))[G(0x1d6)]());});};import a40v from'path';import a40w from'./set.command.js';function a40c(){const J=['FASEC','fsi','\x0a\x20\x20\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','3692496ADalUM','OpRXa','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','13656186CSPVJN','workspace','maka\x20set:g\x20insecure\x20<path>','Set\x20workspace:\x20','boolean','exit','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','(((.+)+)+)+$','2889735GgNdml','disallowInsecure','search','Set\x20allowInsecure:\x20','maka\x20set:global\x20cacert\x20<path>','508842iaGkem','next','done','OwKtm','toString','resolve','One\x20or\x20the\x20other\x20buddy','isDirectory','cacert','4778190NEcYuY','vyIXY','constructor','NmlQa','eyChK','ywLQr','create','4wVAPqp','global','value','throw','allowInsecure','then','idbAi','Could\x20not\x20find\x20directory','9877VpoBjp','apply','3632WaQikm','maka\x20set:g\x20workspace\x20<path>','success','134041SzIWnP','dcsAt','error','maka\x20set:global\x20<args>','xeVJC','JHSgv','setGlobalConfig'];a40c=function(){return J;};return a40c();}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a40H(0x1e4)]({'name':a40H(0x1e6),'usage':a40H(0x1f5),'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':['cacert',a40H(0x1e9),a40H(0x1d1),a40H(0x1c9)],'description':a40H(0x1c4),'examples':[a40H(0x1d4),a40H(0x1ca),a40H(0x1f0)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const I=a40d;try{if('vyIXY'===I(0x1df)){if(b['cacert']){if(I(0x1f6)!==I(0x1f6))throw b[I(0x1f4)](I(0x1db));else{if(this[I(0x1c3)]['isFile'](b['cacert'])){if(I(0x1eb)!==I(0x1eb)){if(this['fsi']['isFile'](h[I(0x1dd)]))this[I(0x1c3)]['setGlobalConfig']({'config':{'cert':o[I(0x1dd)]}}),p[I(0x1f1)]('Set\x20CA\x20Cert\x20Path:\x20'+q[I(0x1dd)]);else{const f=typeof r[I(0x1dd)]===I(0x1cc)?I(0x1ce):I(0x1c7)+s[I(0x1dd)];throw t[I(0x1f4)](f);}}else this[I(0x1c3)]['setGlobalConfig']({'config':{'cert':b[I(0x1dd)]}}),Log[I(0x1f1)]('Set\x20CA\x20Cert\x20Path:\x20'+b[I(0x1dd)]);}else{if('KdwmT'!==I(0x1e2)){const f=typeof b[I(0x1dd)]===I(0x1cc)?I(0x1ce):'CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+b[I(0x1dd)];throw Log[I(0x1f4)](f);}else d(e['throw'](f));}}}if(b[I(0x1c9)]){const h=this[I(0x1c3)][I(0x1dc)](b[I(0x1c9)]);if(h)this[I(0x1c3)][I(0x1c1)]({'config':{'workspace':a40v[I(0x1da)](b['workspace'])}}),Log[I(0x1f1)](I(0x1cb)+a40v[I(0x1da)](b[I(0x1c9)]));else throw Log[I(0x1f4)](I(0x1ec));}if(b[I(0x1e9)]){if(b[I(0x1e9)]&&b['disallowInsecure'])throw Log[I(0x1f4)]('One\x20or\x20the\x20other\x20buddy');let i=b[I(0x1e9)];b[I(0x1d1)]&&(i=![]),this[I(0x1c3)][I(0x1c1)]({'config':{'allowInsecure':i}}),Log[I(0x1f1)]('Set\x20allowInsecure:\x20'+i);}}else{if(e){const k=i[I(0x1ee)](j,arguments);return k=null,k;}}}catch(k){console[I(0x1f4)](k),process[I(0x1cd)](0x0);}});},a40w);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a41y=a41d;(function(a,b){var v=a41d,c=a();while(!![]){try{var d=-parseInt(v(0xa7))/0x1*(-parseInt(v(0xae))/0x2)+-parseInt(v(0xb0))/0x3*(parseInt(v(0xb3))/0x4)+-parseInt(v(0xa6))/0x5*(-parseInt(v(0xbc))/0x6)+-parseInt(v(0xac))/0x7*(-parseInt(v(0xb4))/0x8)+parseInt(v(0xb8))/0x9*(parseInt(v(0xb9))/0xa)+parseInt(v(0xbb))/0xb+-parseInt(v(0xa1))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xe17eb));var a41b=(function(){var a=!![];return function(b,c){var d=a?function(){var w=a41d;if(c){var e=c[w(0xaa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){var x=a41d;return a41a[x(0xab)]()[x(0xa0)](x(0xa2))[x(0xab)]()[x(0xc0)](a41a)[x(0xa0)](x(0xa2));});a41a();var __awaiter=this&&this[a41y(0xbd)]||function(a,b,c,d){function e(f){var z=a41d;if('IyxzY'===z(0xb5))return f instanceof c?f:new c(function(g){var A=z;if(A(0x9f)==='yQoOR'){if(e){var i=i[A(0xaa)](j,arguments);return k=null,i;}}else g(f);});else d(e[z(0xa5)](f));}return new(c||(c=Promise))(function(f,g){var E=a41d;function h(k){var B=a41d;try{j(d[B(0xba)](k));}catch(l){g(l);}}function i(k){var C=a41d;try{if(C(0xb2)===C(0xb1))try{}catch(m){g[C(0xb7)](m),h[C(0xb6)](0x0);}else j(d[C(0xa5)](k));}catch(m){C(0xad)===C(0xad)?g(m):(d[C(0xb7)](m),f['exit'](0x0));}}function j(k){var D=a41d;k[D(0xa9)]?f(k[D(0xbe)]):e(k[D(0xbe)])[D(0xaf)](h,i);}j((d=d[E(0xaa)](a,b||[]))[E(0xba)]());});};import a41u from'./set.command.js';function a41d(a,b){var c=a41c();return a41d=function(d,e){d=d-0x9f;var f=c[d];return f;},a41d(a,b);}function a41c(){var G=['12GnjKFG','1340640KYeAoo','IyxzY','exit','error','3429finrDF','33990IrAPmn','next','20206373GALTqY','311784qjtlof','__awaiter','value','local','constructor','ywXwp','search','24630672WXNQEf','(((.+)+)+)+$','\x0a\x20\x20\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','create','throw','10Jwagro','23484QIyxCb','maka\x20set:local\x20<opts>','done','apply','toString','14EfzwpA','wemfC','10vSozdW','then','712287FayGXd','QfuUb','mIwbr'];a41c=function(){return G;};return a41c();}import{Command}from'../../command.js';Command[a41y(0xa4)]({'name':a41y(0xbf),'usage':a41y(0xa8),'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'description':a41y(0xa3)},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){var F=a41d;try{}catch(c){console['error'](c),process[F(0xb6)](0x0);}});},a41u);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a42y=a42d;function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0xe3;let f=c[d];return f;},a42d(a,b);}(function(a,b){const u=a42d,c=a();while(!![]){try{const d=-parseInt(u(0x107))/0x1*(-parseInt(u(0x109))/0x2)+-parseInt(u(0xe8))/0x3*(-parseInt(u(0x105))/0x4)+parseInt(u(0xfb))/0x5*(-parseInt(u(0xe6))/0x6)+parseInt(u(0xe5))/0x7*(parseInt(u(0x10d))/0x8)+-parseInt(u(0xfa))/0x9*(parseInt(u(0xf8))/0xa)+parseInt(u(0xfc))/0xb*(-parseInt(u(0xf7))/0xc)+parseInt(u(0x10b))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x65988));const a42b=(function(){let a=!![];return function(b,c){const v=a42d;if(v(0x10a)!=='ExVgY')return c['toString']()[v(0xef)]('(((.+)+)+)+$')[v(0xe3)]()[v(0xf2)](d)['search'](v(0x102));else{const e=a?function(){const w=v;if(c){if('bAhPD'!==w(0xed)){const f=c[w(0xf1)](b,arguments);return c=null,f;}else c(d);}}:function(){};return a=![],e;}};}()),a42a=a42b(this,function(){const x=a42d;return a42a[x(0xe3)]()[x(0xef)]('(((.+)+)+)+$')[x(0xe3)]()[x(0xf2)](a42a)[x(0xef)](x(0x102));});a42a();function a42c(){const G=['then','1891757tXDErg','4653174hOnoaM','set','30198ALPnlX','next','length','WLHwu','value','iIyVG','UuSOw','search','aPVUP','apply','constructor','OGvnV','NDzfP','maka\x20set:<cmd>\x20<opts>','error','12ijzGlN','2963470nAjkSy','IkpXD','9BjTXdV','5ZDDqjN','454949taFMdP','NxnOW','__awaiter','throw','keys','maka\x20set:global\x20--cacert\x20<path>','(((.+)+)+)+$','done','create','220CpeLyS','ldaVp','31nVfjIN','runSubCommand','13038NbGcpt','ExVgY','6544213thoiCT','findSubCommand','8VtpXaI','toString'];a42c=function(){return G;};return a42c();}var __awaiter=this&&this[a42y(0xfe)]||function(a,b,c,d){function e(f){const z=a42d;if('NxnOW'===z(0xfd))return f instanceof c?f:new c(function(g){const A=z;if(A(0xf9)===A(0xf9))g(f);else try{i(j[A(0xff)](k));}catch(i){m(i);}});else d(e['throw'](f));}return new(c||(c=Promise))(function(f,g){const E=a42d;function h(k){const B=a42d;if(B(0xf3)!==B(0xf3)){let m=g[0x0];if(h[B(0x100)](i)['length']<0x1)throw new m();let n=this[B(0x10c)](m);n&&this[B(0x108)](m,n,o);}else try{j(d[B(0xe9)](k));}catch(m){g(m);}}function i(k){const C=a42d;try{j(d[C(0xff)](k));}catch(l){C(0xf0)===C(0xf4)?c(d):g(l);}}function j(k){const D=a42d;k[D(0x103)]?f(k['value']):e(k[D(0xec)])[D(0xe4)](h,i);}j((d=d[E(0xf1)](a,b||[]))[E(0xe9)]());});};import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command[a42y(0x104)]({'name':a42y(0xe7),'usage':a42y(0xf5),'description':'\x0a\x20\x20\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','examples':[a42y(0x101)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const F=a42d;try{if('Hyypn'===F(0xeb)){const d=d['apply'](e,arguments);return f=null,d;}else{let d=a[0x0];if(Object['keys'](b)[F(0xea)]<0x1){if('ldaVp'===F(0x106))throw new UsageError();else throw new b();}let f=this[F(0x10c)](d);f&&(F(0xee)===F(0xee)?this[F(0x108)](d,a,b):this['runSubCommand'](d,e,f));}}catch(i){console[F(0xf6)](i),process['exit'](0x0);}});});export default SetCommand;
|