@maka/maka-cli 4.1.14 → 4.1.16
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/generators/services/_index.js +1 -1
- package/dist/generators/services/translation.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
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a28y=a28d;function a28c(){var F=['search','3478329cGpPTw','3bHKZie','log','error','PnghS','YJvzt','1471330yiJLOJ','irxhf','BKLXY','throw','2575482RhIUNu','constructor','340702dBGxBN','170224fSiGxb','value','(((.+)+)+)+$','AJimc','fsi','__awaiter','then','WQKDH','maka\x20get:local','856072LkiLWm','getProjectConfig','8UxGdGJ','XwgLC','qHWgN','351742eNbGzB','apply','next','Get\x20maka\x20configurations\x20in\x20the\x20local\x20.maka/config.json\x20file','BWyHs','toString'];a28c=function(){return F;};return a28c();}(function(a,b){var v=a28d,c=a();while(!![]){try{var d=-parseInt(v(0xb2))/0x1+-parseInt(v(0xa3))/0x2*(-parseInt(v(0xba))/0x3)+-parseInt(v(0xa4))/0x4+parseInt(v(0x9d))/0x5+parseInt(v(0xa1))/0x6+parseInt(v(0xad))/0x7*(parseInt(v(0xaf))/0x8)+-parseInt(v(0xb9))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a28c,0x39775));var a28b=(function(){var a=!![];return function(b,c){var d=a?function(){var w=a28d;if(w(0x9f)===w(0xab))c(d);else{if(c){var e=c[w(0xb3)](b,arguments);return c=null,e;}}}:function(){};return a=![],d;};}()),a28a=a28b(this,function(){var x=a28d;return a28a[x(0xb7)]()['search'](x(0xa6))[x(0xb7)]()[x(0xa2)](a28a)[x(0xb8)]('(((.+)+)+)+$');});a28a();function a28d(a,b){var c=a28c();return a28d=function(d,e){d=d-0x9b;var f=c[d];return f;},a28d(a,b);}var __awaiter=this&&this[a28y(0xa9)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){var z=a28d;if(z(0x9e)===z(0x9e))g(f);else try{i(j[z(0xa0)](k));}catch(i){m(i);}});}return new(c||(c=Promise))(function(f,g){var D=a28d;function h(k){var A=a28d;if(A(0xb0)!==A(0xb6))try{if(A(0xb1)===A(0x9c)){var m=d[A(0xb3)](e,arguments);return f=null,m;}else j(d[A(0xb4)](k));}catch(m){A(0x9b)!==A(0xa7)?g(m):d(m['throw'](f));}else return c['toString']()[A(0xb8)](A(0xa6))[A(0xb7)]()['constructor'](d)[A(0xb8)](A(0xa6));}function i(k){var B=a28d;try{j(d[B(0xa0)](k));}catch(l){g(l);}}function j(k){var C=a28d;k['done']?f(k[C(0xa5)]):e(k[C(0xa5)])[C(0xaa)](h,i);}j((d=d['apply'](a,b||[]))[D(0xb4)]());});};import a28u from'./get.command.js';import{Command}from'../../command.js';Command['create']({'name':'local','usage':a28y(0xac),'mustBeInMakaProject':!![],'description':a28y(0xb5)},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){var E=a28d;try{const c=yield this[E(0xa8)][E(0xae)]();console[E(0xbb)](c);}catch(d){console[E(0xbc)](d),process['exit'](0x0);}});},a28u);
|
package/dist/commands/help.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a29E=a29d;(function(a,b){var v=a29d,c=a();while(!![]){try{var d=-parseInt(v(0x114))/0x1+-parseInt(v(0x110))/0x2+-parseInt(v(0x10c))/0x3+-parseInt(v(0x124))/0x4+parseInt(v(0x117))/0x5+-parseInt(v(0x10d))/0x6*(parseInt(v(0x11b))/0x7)+-parseInt(v(0x11a))/0x8*(-parseInt(v(0x122))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a29c,0x2fa94));function a29c(){var F=['fgJNM','done','create','180SdOdcu','next','1268140SMWgkd','957234rodRaU','21744OTeMDw','then','search','215214ZWxoVq','help','Try,\x20maka\x20--help','value','38315KLNtFK','oPIsN','constructor','1127495ivpZEm','throw','toString','316648BMWUEv','77iFeAfb','(((.+)+)+)+$','apply','zwXXB'];a29c=function(){return F;};return a29c();}var a29b=(function(){var a=!![];return function(b,c){var w=a29d;if('qGiNc'===w(0x11f)){if(e){var f=i['apply'](j,arguments);return k=null,f;}}else{var d=a?function(){var x=w;if(c){if(x(0x115)!==x(0x115)){var h=g?function(){var y=x;if(h){var u=q[y(0x11d)](r,arguments);return s=null,u;}}:function(){};return l=![],h;}else{var f=c['apply'](b,arguments);return c=null,f;}}}:function(){};return a=![],d;}};}()),a29a=a29b(this,function(){var z=a29d;return a29a[z(0x119)]()['search'](z(0x11c))['toString']()['constructor'](a29a)[z(0x10f)](z(0x11c));});a29a();var __awaiter=this&&this['__awaiter']||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){var D=a29d;function h(k){var A=a29d;try{A(0x11e)!==A(0x11e)?h[A(0x120)]?i(j[A(0x113)]):k(l[A(0x113)])[A(0x10e)](m,n):j(d[A(0x123)](k));}catch(m){g(m);}}function i(k){var B=a29d;try{j(d[B(0x118)](k));}catch(l){if('ElBAX'==='ElBAX')g(l);else return c['toString']()['search'](B(0x11c))[B(0x119)]()[B(0x116)](d)['search'](B(0x11c));}}function j(k){var C=a29d;k[C(0x120)]?f(k[C(0x113)]):e(k[C(0x113)])['then'](h,i);}j((d=d[D(0x11d)](a,b||[]))[D(0x123)]());});};import{Command}from'../command.js';function a29d(a,b){var c=a29c();return a29d=function(d,e){d=d-0x10c;var f=c[d];return f;},a29d(a,b);}import{UsageError}from'../error.js';Command[a29E(0x121)]({'name':a29E(0x111),'description':a29E(0x112),'aliases':['h']},function(){return __awaiter(this,void 0x0,void 0x0,function*(){throw new UsageError();});});
|
package/dist/commands/install.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a30d(a,b){const c=a30c();return a30d=function(d,e){d=d-0x15e;let f=c[d];return f;},a30d(a,b);}const a30E=a30d;(function(a,b){const B=a30d,c=a();while(!![]){try{const d=-parseInt(B(0x19f))/0x1+-parseInt(B(0x1a7))/0x2*(parseInt(B(0x174))/0x3)+parseInt(B(0x1a2))/0x4*(-parseInt(B(0x1b2))/0x5)+-parseInt(B(0x1a6))/0x6*(-parseInt(B(0x197))/0x7)+-parseInt(B(0x15e))/0x8+parseInt(B(0x16b))/0x9*(parseInt(B(0x183))/0xa)+parseInt(B(0x169))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a30c,0xe2e2b));const a30b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a30d;if(C(0x18e)!=='Swkrj'){if(c){const e=c[C(0x185)](b,arguments);return c=null,e;}}else g(C(0x188)+h+C(0x1b5),{'stdio':C(0x1b9)}),i(C(0x199),{'stdio':C(0x1b9)}),j(C(0x191),{'stdio':'ignore'}),k(C(0x16e),{'stdio':C(0x1b9)}),l(C(0x193),{'stdio':C(0x1b9)});}:function(){};return a=![],d;};}()),a30a=a30b(this,function(){const D=a30d;return a30a['toString']()[D(0x19e)](D(0x171))['toString']()[D(0x1a0)](a30a)[D(0x19e)](D(0x171));});a30a();var __awaiter=this&&this[a30E(0x168)]||function(a,b,c,d){function e(f){const F=a30d;if(F(0x1b0)!==F(0x1a5))return f instanceof c?f:new c(function(g){g(f);});else{if(this['fsi'][F(0x182)](g[F(0x161)]))m=n['cert'],o=[F(0x18a),p];else throw'CA\x20Cert\x20is\x20configured\x20in\x20~/.maka.cert,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+q;}}return new(c||(c=Promise))(function(f,g){const J=a30d;function h(k){const G=a30d;if(G(0x195)==='NpvQd')e=f[G(0x161)],g=[G(0x18a),h];else try{j(d[G(0x17d)](k));}catch(m){g(m);}}function i(k){const H=a30d;try{H(0x1ad)===H(0x1ad)?j(d[H(0x18b)](k)):h[H(0x1af)]?i(j[H(0x181)]):k(l[H(0x181)])[H(0x175)](m,n);}catch(m){g(m);}}function j(k){const I=a30d;k[I(0x1af)]?f(k[I(0x181)]):e(k[I(0x181)])[I(0x175)](h,i);}j((d=d[J(0x185)](a,b||[]))[J(0x17d)]());});};import a30x from'os';import a30y from'path';import a30z from'fs';import a30A 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';function a30c(){const L=['Aborted','printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.zshrc','meteor.tar.gz','Uphgw','WKvrS','609DdrrKR','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','maka\x20install','join','existsSync','maka\x20i','search','124687yXTxbf','constructor','maka\x20install\x20meteor','8ZptFBi','platform','sPXrf','WDhVM','53226QhBnWr','418GVvCvd','maka\x20install\x20meteor\x20--version\x201.12.1','allowInsecure','Please\x20use\x20\x22npm\x20i\x20-g\x20meteor\x22\x20to\x20install\x20on\x20windows','curl','success','vcQwl','This\x20command\x20should\x20NOT\x20be\x20run\x20as\x20sudo\x20or\x20with\x20administrative\x20privileges.\x20\x20Are\x20you\x20ready\x20to\x20proceed?','done','CigPC','Meteor\x20version\x20','1278790UKdYmI','curl\x20','LZQGO','/.local/bin','mHFtG','.tar.gz','win32','ignore','Network\x20error,\x20please\x20try\x20again.','8974712mdbSRs','tar','create','cert','toString','JsQLh','Installing\x20meteor\x20','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka.cert,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','withSpinner','aMMWX','__awaiter','9787602wKYfvf','homedir','11818629cvVpll','\x20-s\x20https://install.meteor.com/','Removing\x20previous\x20install\x20of\x20meteor','printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.bashrc','maka\x20install\x20meteor\x20-v\x202.3.6','-rf','(((.+)+)+)+$','--output','fsi','4125aTZlew','then','os.linux.x86_64','darwin','version','string','Install\x20a\x20meteor.\x20\x22maka\x20install\x22\x20defaults\x20to\x20\x22maka\x20install\x20meteor\x22','force','os.osx.x86_64','next','debug','/meteor-bootstrap-','cacert','value','isFile','10sZNAfw','RELEASE=','apply','error','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','mkdir\x20-p\x20','replace','--cacert','throw','keepInstall','Allowing\x20insecure\x20curl\x20connections.','blzxp','https://static-meteor.netdna-ssl.com/packages-bootstrap/','getGlobalConfig','printf\x20\x27export\x20PATH=$PATH:$HOME/.local/bin\x27\x20>>\x20$HOME/.profile\x20&&\x20source\x20$HOME/.profile'];a30c=function(){return L;};return a30c();}const homeDir=a30x[a30E(0x16a)]();Command[a30E(0x160)]({'name':'install','aliases':['i'],'validOpts':['f',a30E(0x17b),'v',a30E(0x178),a30E(0x17e),a30E(0x180),a30E(0x18c)],'usage':a30E(0x19a),'description':a30E(0x17a),'examples':[a30E(0x1a1),'maka\x20install\x20meteor\x20--force',a30E(0x16f),a30E(0x1a8),a30E(0x19d)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const K=a30d;try{let c=[],d='';if(b[K(0x180)]){if(this[K(0x173)][K(0x182)](b[K(0x180)])){if(K(0x163)!==K(0x167))Log['notice']('Using\x20CA\x20Cert\x20'+b[K(0x180)]),d=b['cacert'],c=['--cacert',d];else throw K(0x187)+b;}else throw'CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+d;}const f=yield this[K(0x173)][K(0x190)]();if(f['cert']){if(this[K(0x173)][K(0x182)](f[K(0x161)]))d=f[K(0x161)],c=['--cacert',d];else{if(K(0x1a4)==='rrPZy')d(e[K(0x18b)](f));else throw K(0x165)+d;}}f[K(0x1a9)]&&('mHFtG'!==K(0x1b6)?c(d):(Log['warn'](K(0x18d)),c=['-k']));let g=![];b['f']||b[K(0x17b)]?K(0x196)!=='WKvrS'?d=e['v']||f[K(0x178)]:g=!![]:g=yield Actions['confirm'](K(0x1ae));if(!g){if('jQUSn'!=='bxGwV')throw K(0x192);else return c[K(0x162)]()[K(0x19e)](K(0x171))[K(0x162)]()[K(0x1a0)](d)[K(0x19e)](K(0x171));}const h=process[K(0x1a3)]===K(0x1b8),i=process[K(0x1a3)]===K(0x177);let j=execSync(K(0x1b3)+c[K(0x19b)]('\x20')+K(0x16c))[K(0x162)](),k=yield this['fsi']['grep'](j,K(0x184));if(k['length']===0x0)throw K(0x1ba);let l=k[0x0]['replace'](/[^0-9.]/gi,'')[K(0x189)](/\r?\n|\r/,'');if(typeof b['v']===K(0x179)||typeof b['version']==='string'){if('jAwMr'==='jAwMr')l=b['v']||b['version'];else{const t=g?function(){if(t){const u=q['apply'](r,arguments);return s=null,u;}}:function(){};return l=![],t;}}let m=a30y[K(0x19b)](homeDir,'.meteor');if(h)Log['warn'](K(0x1aa));else{if(K(0x1b4)==='LZQGO'){a30z[K(0x19c)](m)&&(yield SpawnAsync[K(0x166)]('rm',[K(0x170),m],{'message':K(0x16d)}));try{const t=i?K(0x17c):K(0x176);yield SpawnAsync[K(0x166)](K(0x1ab),[...c,'-s',K(0x18f)+l+K(0x17f)+t+K(0x1b7),K(0x172),a30y[K(0x19b)](homeDir,K(0x194))],{'message':'Downloading\x20meteor\x20version\x20'+l});const u=['-xzf',a30y[K(0x19b)](homeDir,K(0x194)),'-C',homeDir];yield SpawnAsync[K(0x166)](K(0x15f),u,{'message':K(0x164)+l}),a30A[K(0x198)](a30y[K(0x19b)](homeDir,K(0x194)),{'force':!![]});}catch(v){console[K(0x186)](v);}try{execSync('mkdir\x20-p\x20'+homeDir+K(0x1b5),{'stdio':'ignore'}),execSync(K(0x199),{'stdio':K(0x1b9)}),execSync(K(0x191),{'stdio':K(0x1b9)}),execSync('printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.bashrc',{'stdio':K(0x1b9)}),execSync('printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.zshrc',{'stdio':K(0x1b9)});}catch(w){console[K(0x186)](w);}Log[K(0x1ac)](K(0x1b1)+l+'\x20installed.\x0a');}else c(d);}}catch(y){console[K(0x186)](y),process['exit'](0x0);}});});
|
package/dist/commands/jsdoc.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a31d(a,b){const c=a31c();return a31d=function(d,e){d=d-0xd8;let f=c[d];return f;},a31d(a,b);}const a31A=a31d;(function(a,b){const w=a31d,c=a();while(!![]){try{const d=parseInt(w(0x104))/0x1*(parseInt(w(0xda))/0x2)+parseInt(w(0xd8))/0x3*(parseInt(w(0xf8))/0x4)+parseInt(w(0xf7))/0x5+parseInt(w(0xe7))/0x6+parseInt(w(0xf9))/0x7+parseInt(w(0xeb))/0x8+-parseInt(w(0xe3))/0x9*(parseInt(w(0xfc))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a31c,0x41ce9));const a31b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a31d;if(x(0xf5)!==x(0x102)){if(c){const e=c[x(0xdf)](b,arguments);return c=null,e;}}else{const g=g?function(){const y=x;if(g){const u=q[y(0xdf)](r,arguments);return s=null,u;}}:function(){};return l=![],g;}}:function(){};return a=![],d;};}()),a31a=a31b(this,function(){const z=a31d;return a31a[z(0x105)]()[z(0xed)]('(((.+)+)+)+$')[z(0x105)]()['constructor'](a31a)[z(0xed)](z(0xef));});a31a();import a31u from'path';import a31v from'fs';function a31c(){const C=['join','jsdoc-config.json','993180iomUDG','app/node_modules','create','inherit','maka\x20jsdoc','isFile','rZbHx','utf-8','7JPgOKN','toString','plugins/markdown','app/packages','369IWjhIa','logWithSpinner','110966fHEdws','closure','jsdoc','\x20-c\x20','logError','apply','Running\x20','[-]\x20You\x20may\x20need\x20to\x20install\x20jsdoc:\x20\x22npm\x20i\x20-g\x20jsdoc\x22','Ogrel','171ZikOEj','app/private','zvWjk','pathFromProject','651594GxJPLh','app/public','docs','sep','2833032gEcpjH','stringify','search','(.+\x5c.app-tests.js)|(^|\x5c/|\x5c\x5c)_','(((.+)+)+)+$','Use\x20the\x20popular\x20JSDoc\x20documentation\x20generator','writeFileSync','logNotice','config','fsi','sCQRX','\x0a[+]\x20Documentation\x20written\x20to\x20','2248225ysnwhG','14532VQnefC','2862818VQVOrw'];a31c=function(){return C;};return a31c();}import{execSync}from'child_process';import{Command}from'../command.js';Command[a31A(0xfe)]({'name':a31A(0xdc),'usage':a31A(0x100),'mustBeInMakaProject':!![],'description':a31A(0xf0),'examples':['maka\x20jsdoc\x20--init',a31A(0x100)]},function(a){const B=a31A;let b=a31u['join'](this[B(0xf4)]['pathFromProject']({}),B(0xe9)+a31u[B(0xea)]),c=a31u[B(0xfa)](this[B(0xf4)]['pathFromProject']({}),B(0xf3),B(0xfb)),d=this[B(0xf4)][B(0xe6)]({}),f='jsdoc';if(!this[B(0x101)](c)){let h={'plugins':[B(0x106)],'tags':{'allowUnknownTags':!![],'dictionaries':[B(0xdc),B(0xdb)]},'source':{'includePattern':'.+\x5c.(j|t)s(doc|x)?$','excludePattern':B(0xee),'exclude':[B(0x107),B(0xfd),B(0xe8),B(0xe4)]},'templates':{'cleverLinks':![],'monospaceLinks':![]},'opts':{'recursive':!![],'encoding':B(0x103)}};a31v['writeFileSync'](c,JSON[B(0xec)](h,null,0x4));}let g=this[B(0xd9)](B(0xe0)+f);try{let i=f+B(0xdd)+c+'\x20-r\x20app'+a31u[B(0xea)]+'\x20-d\x20'+b;execSync(i,{'cwd':d,'stdio':B(0xff)}),this[B(0xf2)](B(0xf6)+b);}catch(j){if('Fzcld'!==B(0xe2))this[B(0xde)](j),this[B(0xde)](B(0xe1));else{let l={'plugins':['plugins/markdown'],'tags':{'allowUnknownTags':!![],'dictionaries':['jsdoc','closure']},'source':{'includePattern':'.+\x5c.(j|t)s(doc|x)?$','excludePattern':B(0xee),'exclude':[B(0x107),B(0xfd),'app/public',B(0xe4)]},'templates':{'cleverLinks':![],'monospaceLinks':![]},'opts':{'recursive':!![],'encoding':B(0x103)}};d[B(0xf1)](j,f['stringify'](l,null,0x4));}}finally{B(0xe5)!=='zvWjk'?(this['logError'](b),this[B(0xde)]('[-]\x20You\x20may\x20need\x20to\x20install\x20jsdoc:\x20\x22npm\x20i\x20-g\x20jsdoc\x22')):g['stop']();}});
|
package/dist/commands/login.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a32C=a32d;(function(a,b){const z=a32d,c=a();while(!![]){try{const d=parseInt(z(
|
|
1
|
+
const a32C=a32d;(function(a,b){const z=a32d,c=a();while(!![]){try{const d=parseInt(z(0x162))/0x1*(-parseInt(z(0x191))/0x2)+-parseInt(z(0x178))/0x3+-parseInt(z(0x167))/0x4+-parseInt(z(0x19e))/0x5*(-parseInt(z(0x18b))/0x6)+-parseInt(z(0x174))/0x7+parseInt(z(0x179))/0x8*(-parseInt(z(0x16f))/0x9)+parseInt(z(0x185))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a32c,0x7380a));const a32b=(function(){let a=!![];return function(b,c){const d=a?function(){const A=a32d;if(A(0x168)===A(0x168)){if(c){const e=c[A(0x17e)](b,arguments);return c=null,e;}}else d[A(0x194)](e,{'cert':f});}:function(){};return a=![],d;};}()),a32a=a32b(this,function(){const B=a32d;return a32a['toString']()[B(0x19a)](B(0x175))[B(0x17f)]()[B(0x188)](a32a)[B(0x19a)](B(0x175));});a32a();var __awaiter=this&&this[a32C(0x166)]||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 G=a32d;function h(k){const D=a32d;if(D(0x15b)!==D(0x18a))try{j(d[D(0x177)](k));}catch(l){if(D(0x18d)!==D(0x18f))g(l);else return f instanceof g?h:new i(function(n){n(k);});}else try{i(j['throw'](k));}catch(o){m(o);}}function i(k){const E=a32d;try{j(d['throw'](k));}catch(l){if(E(0x19c)===E(0x197)){c[E(0x19b)](E(0x189)+d);return;}else g(l);}}function j(k){const F=a32d;F(0x16b)!==F(0x171)?k[F(0x18c)]?f(k[F(0x176)]):e(k[F(0x176)])[F(0x196)](h,i):d(e[F(0x181)](f));}j((d=d[G(0x17e)](a,b||[]))[G(0x177)]());});};import a32u from'node-forge';import{Command}from'../command.js';function a32d(a,b){const c=a32c();return a32d=function(d,e){d=d-0x151;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';function a32c(){const J=['Password:\x20','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','mHbag','email','BPpcI','help','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','authToken','get','create','wekIz','Preflight\x20Check','https://www.maka-cli.com/api/v1/status','exit','withSpinner','uPQBm','/api/v1/login','1082bqrjgq','digest','yhqAo','getGlobalConfig','__awaiter','1399688Vuidtm','jDqEJ','Bichj','cacert','fVZRh','notice','post','fsi','5931RuunaV','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','semWJ','isFile','toHex','1860803jaPGXk','(((.+)+)+)+$','value','next','1835271vbqrZl','2936RywEtR','www.maka-cli.com','login','password','Logging\x20in','apply','toString','maka\x20login','throw','Email:','ziFSG','ask','16198550IxBaUh','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','https://www.maka-cli.com/api/v1/encodeJwt','constructor','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','OSsSN','564948ZMvLbr','done','fthlK','update','uPiNB','cert','622NftzZd','Logging\x20into\x20https://www.maka-cli.com','wWyHZ','assign','failure','then','vShkJ','debug','setGlobalConfig','search','error','lNwPN','start','35hbIhKg','TIMEOUT','pMWfD','success','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com'];a32c=function(){return J;};return a32c();}Command[a32C(0x15a)]({'name':a32C(0x17b),'validOpts':[a32C(0x154),a32C(0x17c),a32C(0x156),'cacert',a32C(0x198)],'usage':'maka\x20login','maxArgLength':0x2,'description':a32C(0x186),'examples':[a32C(0x180),a32C(0x157)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const H=a32d;let c=Log[H(0x15f)]();try{let d='';b[H(0x16a)]&&(this[H(0x16e)][H(0x172)](b['cacert'])?(d=b['cacert'],Log[H(0x16c)]('Using\x20CA\x20Cert\x20'+d)):H(0x155)===H(0x155)?Log[H(0x19b)](H(0x152)+d):c[H(0x19b)]('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+d));const f=this['fsi'][H(0x165)]();if(f[H(0x190)]){if(this[H(0x16e)][H(0x172)](f[H(0x190)]))d=f[H(0x190)];else{Log[H(0x19b)](H(0x189)+d);return;}}Log['header'](H(0x192));const g={'url':H(0x15d)};b['cacert']&&(H(0x153)!==H(0x153)?d[H(0x194)](e,{'cert':f}):Object[H(0x194)](g,{'cert':d}));c[H(0x19d)](H(0x15c));const h=yield HTTPS[H(0x159)](g);if(h==='TIMEOUT'){if('yhqAo'!==H(0x164))c=d[H(0x190)];else{c['failure']();throw H(0x1a2);}}c[H(0x1a1)]();let i=b[H(0x154)]?b[H(0x154)]:yield Actions[H(0x184)](H(0x182)),j=b[H(0x17c)]?b[H(0x17c)]:yield Actions['ask'](H(0x151),!![]);if(h!==':D')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';const k=a32u['md']['sha256']['create']();k[H(0x18e)](j);const l=k[H(0x163)]()[H(0x173)](),m={'hostname':H(0x17a),'path':H(0x161),'data':{'email':i,'password':l,'hashed':!![]}};if(b[H(0x16a)]){if(H(0x193)===H(0x193))Object[H(0x194)](m,{'cert':d});else{const t=g?function(){const I=H;if(t){const u=q[I(0x17e)](r,arguments);return s=null,u;}}:function(){};return l=![],t;}}c['start'](H(0x17d));const n=yield HTTPS[H(0x16d)](m);if(n===H(0x19f)){c['failure']('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}let o=null;if(n['authToken']){const t={'url':H(0x187),'headers':{'x-auth-token':n[H(0x158)]}};b[H(0x16a)]&&(H(0x1a0)===H(0x169)?d[H(0x194)](e,{'cert':f}):Object[H(0x194)](t,{'cert':d}));o=yield HTTPS[H(0x159)](t);if(o===H(0x19f)){c[H(0x195)]('\x0a');throw H(0x170);}}else throw n;if(o){if(H(0x160)===H(0x160)){const v={'token':n,'hash':o};if(b[H(0x16a)]){if(H(0x183)===H(0x183))Object[H(0x194)](v,{'cert':d});else return c[H(0x17f)]()[H(0x19a)](H(0x175))['toString']()[H(0x188)](d)[H(0x19a)]('(((.+)+)+)+$');}this['fsi'][H(0x199)]({'config':v});}else{const y={'token':f,'hash':g};h[H(0x16a)]&&k[H(0x194)](y,{'cert':l}),this[H(0x16e)]['setGlobalConfig']({'config':y});}}c[H(0x1a1)]();}catch(y){c[H(0x195)](),console[H(0x19b)](y),process[H(0x15e)](0x0);}});});
|
package/dist/commands/logout.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function a33c(){const
|
|
1
|
+
function a33c(){const H=['GAZSP','Logging\x20out\x20of\x20https://www.maka-cli.com','jzjdt','tSORx','assign','uCBoU','ERhpt','lvdSE','735972WANupU','header','toString','https://www.maka-cli.com/api/v1/status','create','XodBm','EpCKL','pRzgo','EMLpE','/api/v1/logoutAll','1105736hMPbMB','start','338YcbHhr','cacert','token','setGlobalConfig','value','35SLjYVx','dsXxS','WSwEE','maka\x20logout','fsi','Using\x20CA\x20Cert\x20','success','56590DOuSJl','authToken','2063850aMxzeJ','then','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','4274vSwrNv','exit','apply','orjXu','__awaiter','bbuyU','dKaSv','vfHaG','Preflight\x20Check','www.maka-cli.com','failure','282468OWhcsT','next','cert','throw','error','done','get','tjfXP','constructor','LOhwn','notice','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','logout','search','TIMEOUT','(((.+)+)+)+$','gyqzS','732690SsLPRr','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','getGlobalConfig','1719EWRedI','isFile','Logging\x20out'];a33c=function(){return H;};return a33c();}const a33A=a33d;(function(a,b){const x=a33d,c=a();while(!![]){try{const d=-parseInt(x(0x135))/0x1*(parseInt(x(0x124))/0x2)+-parseInt(x(0x132))/0x3+parseInt(x(0x118))/0x4+parseInt(x(0x129))/0x5*(parseInt(x(0xf8))/0x6)+parseInt(x(0x10a))/0x7+parseInt(x(0x122))/0x8+parseInt(x(0x10d))/0x9*(parseInt(x(0x130))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a33c,0x6841f));const a33b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a33d;if(y(0xf0)!==y(0xf0))d['assign'](e,{'cert':f});else{if(c){const f=c[y(0xef)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;};}()),a33a=a33b(this,function(){const z=a33d;return a33a[z(0x11a)]()[z(0x106)](z(0x108))['toString']()[z(0x100)](a33a)[z(0x106)](z(0x108));});a33a();function a33d(a,b){const c=a33c();return a33d=function(d,e){d=d-0xef;let f=c[d];return f;},a33d(a,b);}var __awaiter=this&&this[a33A(0xf1)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const B=a33d;B(0x112)!=='pPrKs'?g(f):(e=f['cacert'],g[B(0x102)](B(0x12e)+h));});}return new(c||(c=Promise))(function(f,g){const F=a33d;function h(k){const C=a33d;if(C(0x12b)===C(0x12b))try{j(d[C(0xf9)](k));}catch(l){if(C(0x101)!==C(0xf3))g(l);else try{i(j['throw'](k));}catch(o){m(o);}}else h['done']?i(j['value']):k(l[C(0x128)])[C(0x133)](m,n);}function i(k){const D=a33d;try{D(0x11f)!==D(0xff)?j(d[D(0xfb)](k)):c(d);}catch(m){g(m);}}function j(k){const E=a33d;if(E(0xf2)!=='bbuyU'){const m=d[E(0xef)](e,arguments);return f=null,m;}else k[E(0xfd)]?f(k[E(0x128)]):e(k[E(0x128)])[E(0x133)](h,i);}j((d=d[F(0xef)](a,b||[]))['next']());});};import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';Command[a33A(0x11c)]({'name':a33A(0x105),'validOpts':[a33A(0x125)],'usage':a33A(0x12c),'maxArgLength':0x2,'description':'Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','examples':[a33A(0x12c)]},function(a,b){var c;return __awaiter(this,void 0x0,void 0x0,function*(){const G=a33d;let d=Log['withSpinner']();try{let f='';if(b['cacert']){if(G(0x110)==='jiKbZ')return f instanceof g?h:new i(function(m){m(k);});else this[G(0x12d)][G(0x10e)](b[G(0x125)])?(f=b['cacert'],Log['notice'](G(0x12e)+f)):Log[G(0xfc)](G(0x10b)+f);}const g=yield this[G(0x12d)][G(0x10c)]();if(g[G(0xfa)]){if(G(0x115)===G(0x115)){if(this[G(0x12d)]['isFile'](g[G(0xfa)]))f=g[G(0xfa)];else{if(G(0x113)===G(0x11e)){const n=g?function(){if(n){const u=q['apply'](r,arguments);return s=null,u;}}:function(){};return l=![],n;}else{d['failure']();throw Log[G(0xfc)](G(0x103)+f);}}}else try{i(j['next'](k));}catch(o){m(o);}}Log[G(0x119)](G(0x111));const h={'url':G(0x11b)};if(b[G(0x125)]){if(G(0x11d)===G(0x11d))Object['assign'](h,{'cert':f});else{if(this['fsi'][G(0x10e)](g[G(0xfa)]))m=n[G(0xfa)];else{o[G(0xf7)]();throw p[G(0xfc)](G(0x103)+q);}}}d[G(0x123)](G(0xf5));const i=yield HTTPS[G(0xfe)](h);if(i===G(0x107)){if(G(0x120)!=='EMLpE'){b[G(0xf7)]('\x0a');throw G(0x134);}else{d[G(0xf7)]();throw G(0x134);}}d[G(0x12f)]();if(i!==':D'){if(G(0x12a)!==G(0x12a)){d[G(0xf7)]();throw e['error'](G(0x103)+f);}else{d[G(0xf7)]();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';}}if(!((c=g===null||g===void 0x0?void 0x0:g['token'])===null||c===void 0x0?void 0x0:c[G(0x131)])){if(G(0x109)===G(0x109))throw Log[G(0xfc)](G(0x104));else d(e['next'](f));}d['start'](G(0x10f));const j={'hostname':G(0xf6),'path':G(0x121),'data':{},'headers':{'x-auth-token':g[G(0x126)][G(0x131)]}};b[G(0x125)]&&('lvdSE'!==G(0x117)?c(d):Object[G(0x114)](j,{'cert':f}));const k=yield HTTPS['post'](j);if(k==='TIMEOUT'){if('CSvBd'!=='CSvBd'){b['failure']();throw G(0x134);}else{d[G(0xf7)]('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}}this['fsi'][G(0x127)]({'config':{'token':{'authToken':'','userId':'','when':''},'hash':''}}),d['success']();}catch(u){if(G(0x116)!==G(0x116)){if(u){const w=i[G(0xef)](j,arguments);return k=null,w;}}else u&&(G(0xf4)==='SaBfs'?d(u['throw'](f)):console[G(0xfc)](u)),process[G(0x136)](0x0);}});});
|
package/dist/commands/logs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a34E=a34d;(function(a,b){const A=a34d,c=a();while(!![]){try{const d
|
|
1
|
+
const a34E=a34d;function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0xd9;let f=c[d];return f;},a34d(a,b);}(function(a,b){const A=a34d,c=a();while(!![]){try{const d=parseInt(A(0xf8))/0x1+-parseInt(A(0xe3))/0x2+-parseInt(A(0xef))/0x3+parseInt(A(0xeb))/0x4+-parseInt(A(0xe8))/0x5+-parseInt(A(0xe0))/0x6*(-parseInt(A(0xf4))/0x7)+-parseInt(A(0xdd))/0x8*(parseInt(A(0xde))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0xc1e63));const a34b=(function(){let a=!![];return function(b,c){const B=a34d;if('JNThv'!==B(0xe2)){const d=a?function(){const C=B;if(c){if(C(0xe7)===C(0xd9)){const f=d['apply'](e,arguments);return f=null,f;}else{const f=c['apply'](b,arguments);return c=null,f;}}}:function(){};return a=![],d;}else return c[B(0xec)]()[B(0xed)](B(0xea))[B(0xec)]()[B(0xf6)](d)[B(0xed)](B(0xea));};}()),a34a=a34b(this,function(){const D=a34d;return a34a[D(0xec)]()[D(0xed)]('(((.+)+)+)+$')[D(0xec)]()['constructor'](a34a)[D(0xed)](D(0xea));});a34a();import a34y from'fs';import a34z from'path';import{Command}from'../command.js';function a34c(){const G=['View\x20the\x20PM2\x20logs','PFNkz','readFileSync','assign','logs','8528TlPvEm','4545mEaWvE','maka\x20logs\x20--env\x20prod','1450158anKQqC','log','UlNRk','975658vcWsCy','getConfigPath','ssh.json','help','QgHvE','2450790iCtIXb','env','(((.+)+)+)+$','2981208zHivbU','toString','search','parse','2096817UfeesY','maka\x20logs\x20--env\x20staging','maka\x20logs\x20--env\x20dev','fsi','pm2\x20logs','42hXQlBZ','create','constructor','sshSync','814007jitICm'];a34c=function(){return G;};return a34c();}import{SSH}from'../tools/ssh/ssh.class.js';Command[a34E(0xf5)]({'name':a34E(0xdc),'aliases':['l',a34E(0xe1)],'usage':a34E(0xdf),'requiredOpts':['env'],'mustBeInMakaProject':!![],'validOpts':[a34E(0xe6)],'description':a34E(0xf9),'examples':[a34E(0xf1),a34E(0xf0),'maka\x20l\x20-e\x20p']},function(a,b){const F=a34E;try{const c=F(0xf3),d=this[F(0xf2)][F(0xe4)](b[F(0xe9)]),f=a34z['join'](d,F(0xe5)),g=a34y[F(0xda)](f),h=JSON[F(0xee)](g[F(0xec)]());Object[F(0xdb)](h,{'env':d}),SSH[F(0xf7)](c,h,{'tty':!![],'verbose':!![]});}catch(i){throw i;}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a35C=a35d;(function(a,b){const u=a35d,c=a();while(!![]){try{const d=-parseInt(u(0x14b))/0x1+parseInt(u(0x158))/0x2+parseInt(u(0x155))/0x3*(parseInt(u(0x14a))/0x4)+-parseInt(u(0x152))/0x5+parseInt(u(0x169))/0x6*(parseInt(u(0x161))/0x7)+-parseInt(u(0x166))/0x8+parseInt(u(0x167))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0xbbca9));const a35b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a35d;if('CAmJD'===v(0x14f))this['fsi']['maybeProxyCommandToMeteor']();else{if(c){const f=c[v(0x15f)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const w=a35d;return a35a[w(0x153)]()[w(0x154)](w(0x164))[w(0x153)]()[w(0x148)](a35a)[w(0x154)]('(((.+)+)+)+$');});a35a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){const x=a35d;if(x(0x156)!=='RAHab')c(d);else return f instanceof c?f:new c(function(h){const y=x;y(0x159)!==y(0x163)?h(f):h['done']?i(j[y(0x146)]):k(l[y(0x146)])[y(0x160)](m,n);});}return new(c||(c=Promise))(function(f,g){const B=a35d;function h(k){const z=a35d;if('svekD'!==z(0x165))try{j(d[z(0x15a)](k));}catch(l){g(l);}else this[z(0x145)](d,e['slice'](0x1),f);}function i(k){try{j(d['throw'](k));}catch(l){g(l);}}function j(k){const A=a35d;A(0x151)===A(0x16a)?d(e['next'](f)):k[A(0x15c)]?f(k[A(0x146)]):e(k[A(0x146)])['then'](h,i);}j((d=d[B(0x15f)](a,b||[]))['next']());});};import{Command}from'../command.js';const Maka=new Command({'name':'maka','minArgLength':0x1,'description':a35C(0x162),'usage':'maka\x20<command>\x20[<args>]\x20[<opts>]','examples':['maka\x20install\x20meteor',a35C(0x15b),a35C(0x150)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const D=a35d;try{const c=a[0x0],d=this[D(0x147)](c);if(d)D(0x149)!==D(0x168)?this[D(0x145)](c,a[D(0x14e)](0x1),b):c(d);else{if(D(0x157)!==D(0x15e))this[D(0x14c)][D(0x14d)]();else return c['toString']()[D(0x154)]('(((.+)+)+)+$')[D(0x153)]()['constructor'](d)['search']('(((.+)+)+)+$');}}catch(h){console[D(0x15d)](h),process['exit'](0x0);}});});function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x145;let f=c[d];return f;},a35d(a,b);}export default Maka;function a35c(){const E=['slice','FFXCb','maka\x20run','cemZC','1877190BNnQUG','toString','search','6SjTixB','RAHab','MmKRE','1605164FqDvGS','bshqp','next','maka\x20create\x20Todo','done','error','EQRDZ','apply','then','4716593RldBiz','A\x20command\x20line\x20scaffolding\x20and\x20DevOpts\x20tool\x20for\x20Meteor\x20applications.\x0a\x20\x20Run\x20any\x20command\x20with\x20\x22--help\x22\x20for\x20details','qIQGl','(((.+)+)+)+$','MgfAv','5294648YrmtLu','5152797nNlQiC','BbGaH','6GGIskj','bdkbL','runSubCommand','value','findSubCommand','constructor','KBaLf','651048gqenIj','567976TsOlsX','fsi','maybeProxyCommandToMeteor'];a35c=function(){return E;};return a35c();}
|
package/dist/commands/murder.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var a36y=a36d;(function(a,b){var v=a36d,c=a();while(!![]){try{var d
|
|
1
|
+
var a36y=a36d;function a36d(a,b){var c=a36c();return a36d=function(d,e){d=d-0xe7;var f=c[d];return f;},a36d(a,b);}(function(a,b){var v=a36d,c=a();while(!![]){try{var d=parseInt(v(0xff))/0x1+-parseInt(v(0xf6))/0x2*(-parseInt(v(0xf8))/0x3)+parseInt(v(0x103))/0x4+-parseInt(v(0xfb))/0x5+parseInt(v(0x102))/0x6+parseInt(v(0x104))/0x7*(parseInt(v(0x101))/0x8)+-parseInt(v(0xf4))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0xbd5b1));var a36b=(function(){var a=!![];return function(b,c){var d=a?function(){var w=a36d;if(c){if('jbTIV'==='jbTIV'){var e=c[w(0xf7)](b,arguments);return c=null,e;}else c(d);}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){var x=a36d;return a36a[x(0xfe)]()[x(0xf9)](x(0x100))['toString']()[x(0xfd)](a36a)['search'](x(0x100));});a36a();var __awaiter=this&&this[a36y(0xef)]||function(a,b,c,d){function e(f){var z=a36d;return z(0xe7)!==z(0xe7)?c[z(0xfe)]()[z(0xf9)](z(0x100))[z(0xfe)]()['constructor'](d)[z(0xf9)](z(0x100)):f instanceof c?f:new c(function(h){var A=z;if(A(0xeb)!==A(0xf3))h(f);else{var j=g?function(){var B=A;if(j){var u=q[B(0xf7)](r,arguments);return s=null,u;}}:function(){};return l=![],j;}});}return new(c||(c=Promise))(function(f,g){var F=a36d;function h(k){var C=a36d;try{if('jpYjf'!==C(0xea))j(d[C(0xec)](k));else{var m=d['apply'](e,arguments);return f=null,m;}}catch(m){C(0xe9)===C(0xe9)?g(m):c(d);}}function i(k){var D=a36d;try{j(d[D(0xf2)](k));}catch(l){D(0xe8)!=='fETTB'?g(l):d(l['next'](f));}}function j(k){var E=a36d;if('Orzaj'!==E(0xee))k['done']?f(k[E(0xfc)]):e(k[E(0xfc)])[E(0xf1)](h,i);else try{g['log']('%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',E(0x105));}catch(m){j['error'](m),k['exit'](0x0);}}j((d=d[F(0xf7)](a,b||[]))[F(0xec)]());});};import{Command}from'../command.js';function a36c(){var H=['value','constructor','toString','874899CdsfmR','(((.+)+)+)+$','2207624qEnIGh','4098354nrlUZh','4333184GTWzof','21lnwQMM','font-family:\x20monospace','tzTYu','KVbvc','kseSU','PwUAK','ZmBWU','next','murder','FxJnp','__awaiter','log','then','throw','iqYPo','26839575zrzfTp','error','3022238ubSjEn','apply','3YfNRRD','search','Murrrrderrrrr','6112280jseggm'];a36c=function(){return H;};return a36c();}Command['create']({'name':a36y(0xed),'usage':'maka\x20murder','maxArgLength':0x1,'description':a36y(0xfa)},function(a){return __awaiter(this,void 0x0,void 0x0,function*(){var G=a36d;try{console[G(0xf0)]('%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',G(0x105));}catch(b){console[G(0xf5)](b),process['exit'](0x0);}});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a37z=a37d;(function(a,b){const w=a37d,c=a();while(!![]){try{const d=-parseInt(w(0x102))/0x1+parseInt(w(0xe1))/0x2*(-parseInt(w(0x101))/0x3)+-parseInt(w(0xf4))/0x4*(parseInt(w(0x10f))/0x5)+-parseInt(w(0xfb))/0x6+-parseInt(w(0xe3))/0x7*(parseInt(w(0xdf))/0x8)+-parseInt(w(0xe8))/0x9+-parseInt(w(0xee))/0xa*(-parseInt(w(0x107))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x4c461));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a37d;if(x(0x109)!==x(0x106)){if(c){const e=c[x(0xdc)](b,arguments);return c=null,e;}}else return f instanceof g?h:new i(function(m){m(k);});}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const y=a37d;return a37a[y(0x10c)]()[y(0xf1)](y(0xde))[y(0x10c)]()['constructor'](a37a)['search'](y(0xde));});a37a();function a37c(){const H=['next','ISzho','2712180zxqSqJ','ses.json','exit','join','scp','jgJJr','3CEIXCm','558075OZVMVb','_keys','ping','iWFrN','KunuE','25439359phOHMO','pm2.config.js','lDZnz','fsi','sshSync','toString','value','ssh','32005WdMgRE','SEAfj','reconfig','HShYC','throw','PvJEa','~/settings.json','__awaiter','If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.','apply','settings.json','(((.+)+)+)+$','2208048wYMUzB','env','1026854snePXh','create','7oUwdDO','then','DUBTN','fvmbV','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','366201lSHzaH','IixGK','pm2\x20delete\x20all','~/pm2.config.js','existsSync','PHkWz','10PJsPlH','getConfigPath','maka\x20reconfig\x20--env\x20prod','search','ssh.json','error','100FSMSiR','~/ses.json','assign','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','uname\x20-a'];a37c=function(){return H;};return a37c();}var __awaiter=this&&this[a37z(0xda)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const A=a37d;A(0xe9)===A(0xed)?c(d):g(f);});}return new(c||(c=Promise))(function(f,g){const E=a37d;function h(k){const B=a37d;try{if('BQmtD'==='rnjPr'){if(e){const m=i['apply'](j,arguments);return k=null,m;}}else j(d[B(0xf9)](k));}catch(m){g(m);}}function i(k){const C=a37d;try{C(0x105)!==C(0x105)?d(e[C(0xd7)](f)):j(d['throw'](k));}catch(m){C(0xfa)!==C(0x112)?g(m):c(d);}}function j(k){const D=a37d;if(D(0xd8)!==D(0xd8)){const m=d[D(0xdc)](e,arguments);return f=null,m;}else k['done']?f(k[D(0x10d)]):e(k[D(0x10d)])[D(0xe4)](h,i);}j((d=d[E(0xdc)](a,b||[]))[E(0xf9)]());});};import a37u from'fs';import a37v from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0xd7;let f=c[d];return f;},a37d(a,b);}Command[a37z(0xe2)]({'name':a37z(0x111),'validOpts':['help'],'requiredOpts':[a37z(0xe0)],'mustBeInMakaProject':!![],'usage':'maka\x20reconfig\x20--env\x20prod','description':a37z(0xdb),'examples':[a37z(0xf0)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const F=a37d;try{const c=this[F(0x10a)][F(0xef)](b[F(0xe0)]),d=a37v[F(0xfe)](c,F(0xf2)),f=a37u['readFileSync'](d)[F(0x10c)]();let g=JSON['parse'](f);Object[F(0xf6)](g,{'env':c}),Log['notice']('Checking\x20remote\x20host\x20availability');try{let k=SSH[F(0x104)](F(0xf8),g);if(!k)throw F(0xf7);if(k)Log['success']('Remote\x20host\x20connection\x20successful');}catch(l){throw l;}let h=a37v[F(0xfe)](c,F(0x103),F(0xfc));if(a37u[F(0xec)](h)){if(F(0xe6)!==F(0x110)){let m={'source':h,'dest':F(0xf5),'verbose':!![]};SSH['scp'](m,Object['assign']({},g));}else{const o=g?function(){const G=F;if(o){const u=q[G(0xdc)](r,arguments);return s=null,u;}}:function(){};return l=![],o;}}let i=a37v[F(0xfe)](c,F(0x108));SSH[F(0xff)]({'source':i,'dest':F(0xeb),'verbose':!![]},Object[F(0xf6)]({},g));let j=a37v[F(0xfe)](c,F(0xdd));SSH[F(0xff)]({'source':j,'dest':F(0xd9),'verbose':!![]},Object['assign']({},g)),SSH[F(0x10b)](F(0xea),g),yield SSH[F(0x10e)](F(0xe7),Object[F(0xf6)]({},g),{'verbose':!![]});}catch(o){if(F(0x100)!==F(0xe5))console[F(0xf3)](o),process[F(0xfd)](0x0);else throw b;}});});
|
package/dist/commands/run.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a38N=a38d;(function(a,b){const D=a38d,c=a();while(!![]){try{const d=-parseInt(D(0x1df))/0x1+-parseInt(D(0x1e1))/0x2+parseInt(D(0x1f1))/0x3*(-parseInt(D(0x20c))/0x4)+-parseInt(D(0x1db))/0x5+parseInt(D(0x203))/0x6+parseInt(D(0x1da))/0x7+parseInt(D(0x202))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x3293f));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const E=a38d;if(E(0x1ff)!=='oZHSc')d=e['join'](f,E(0x200));else{if(c){const f=c[E(0x1b8)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const F=a38d;return a38a['toString']()[F(0x1fd)](F(0x1d1))[F(0x201)]()[F(0x1d0)](a38a)[F(0x1fd)](F(0x1d1));});a38a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){const G=a38d;if(G(0x1e5)!==G(0x1e5)){if(e){const h=i[G(0x1b8)](j,arguments);return k=null,h;}}else return f instanceof c?f:new c(function(h){h(f);});}return new(c||(c=Promise))(function(f,g){const L=a38d;function h(k){const H=a38d;if(H(0x20a)===H(0x1f3)){const n=g?function(){const I=H;if(n){const u=q[I(0x1b8)](r,arguments);return s=null,u;}}:function(){};return l=![],n;}else try{H(0x1dd)!=='BXofY'?j(d[H(0x1e8)](k)):c(d);}catch(n){g(n);}}function i(k){const J=a38d;if(J(0x1e6)!=='gGcIK')try{'CafqB'==='PemYu'?(d[J(0x1fa)](e),f[J(0x1be)](0x0)):j(d['throw'](k));}catch(m){if('cJJlg'===J(0x1bc))g(m);else return c['toString']()[J(0x1fd)](J(0x1d1))[J(0x201)]()['constructor'](d)[J(0x1fd)](J(0x1d1));}else b[J(0x1f5)](J(0x1cc));}function j(k){const K=a38d;if(K(0x1c0)!==K(0x1c1))k[K(0x1ba)]?f(k[K(0x1c5)]):e(k[K(0x1c5)])[K(0x1c6)](h,i);else return f instanceof g?h:new i(function(m){m(k);});}j((d=d[L(0x1b8)](a,b||[]))[L(0x1e8)]());});};import a38A from'path';import a38B from'fs';import a38C from'dotenv';function a38c(){const Q=['push','docker','invokeMeteorCommand','splice','join','error','Cannot\x20find\x20Node\x20Environment\x20File:\x20','fsi','search','config/docker-compose.yaml','oZHSc','settings.json','toString','3884752ABfiga','1182558mKuARb','Docker\x20Compose\x20Path:\x20','Meteor\x20Settings:\x20','process.env','filter','getConfigPath','production','BMLFP','PM2\x20Config\x20File:\x20','444ouHfSM','sep','apply','vXoaJ','done','create','cJJlg','\x20up\x20--remove-orphans','exit','qpHpO','iIhJK','JPgTG','templateContent','forEach','raw-logs','value','then','isFile','warn','length','throw','verbose','--production','argv','--env','notice','constructor','(((.+)+)+)+$','slice','JdVjk','dXtJk','split','appName','allow-incompatible-update','Run\x20your\x20app\x20for\x20a\x20given\x20environment\x20or\x20in\x20docker.','run','1500751DgaYMI','684935yMLkwk','openSync','Wmvju','env','185134ArMdGF','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','381050zSfXnS','zYLZc','oHVUA','existsSync','XmIsh','ynopY','docker-compose\x20--project-directory\x20','next','extra-packages','settings','getProjectConfig','qemDI','pm2.config.js','inspect','config','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)','4791iULpQY','mobile-server','VPnxs','development'];a38c=function(){return Q;};return a38c();}import{execSync}from'child_process';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{paramCase}from'change-case';const syncSource=function(a){const M=a38d;a38B[M(0x1dc)](a,'r'),a38C[M(0x1ef)]({'path':a});};function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x1b8;let f=c[d];return f;},a38d(a,b);}Command[a38N(0x1bb)]({'name':a38N(0x1d9),'mustBeInMakaProject':!![],'usage':'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.','validOpts':['env',a38N(0x1f6),'r',a38N(0x1c4),'p','port','i',a38N(0x1ee),'m',a38N(0x1f2),'v',a38N(0x1cb),a38N(0x1d7),a38N(0x1e9),'x','exclude-archs',a38N(0x209)],'description':a38N(0x1d8)},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const O=a38d;try{if('qccxG'!==O(0x1e2)){if(b[O(0x1f2)]&&b['mobile-server']===!![]||b['m']&&b['m']===!![])throw O(0x1f0);let c=this[O(0x1fc)][O(0x1eb)]();const d=b[O(0x1de)]?b[O(0x1de)]:O(0x1f4),f=this['fsi'][O(0x208)](d),g=a38A['join'](f,O(0x206));let h=a38A['join'](f,O(0x200));b[O(0x1ea)]?h=b['settings']:h=a38A[O(0x1f9)](f,O(0x200));if(this[O(0x1fc)][O(0x1c7)](g)&&!b['docker'])Log[O(0x1cf)]('Node\x20Env\x20Config:\x20'+g),syncSource(g);else!b[O(0x1f6)]&&(O(0x1bf)===O(0x1bf)?Log[O(0x1c8)](O(0x1fb)+g):c(d));this[O(0x1fc)]['isFile'](h)?(Log[O(0x1cf)](O(0x205)+h),a=a['concat'](['--settings',h])):Log[O(0x1c8)](O(0x1e0)+h);const i=f[O(0x1d5)](a38A[O(0x20d)]),j=i[i[O(0x1c9)]-0x1];j==='production'&&a[O(0x1f5)]('--production');const k=process[O(0x1cd)][O(0x1d2)](0x2)[O(0x207)](m=>m!==O(0x1d9))[O(0x207)](m=>m!==a[0x0]);k[O(0x1c3)]((m,n)=>{const P=O;'oHVUA'===P(0x1e3)?(m==='--env'&&(P(0x1ec)!=='kNcHm'?k[P(0x1f8)](n,0x2):h[P(0x1ba)]?i(j['value']):k(l[P(0x1c5)])[P(0x1c6)](m,n)),m==='-e'&&k[P(0x1f8)](n,0x2)):(g===P(0x1ce)&&m[P(0x1f8)](n,0x2),j==='-e'&&o[P(0x1f8)](p,0x2));});if(b[O(0x1f6)]){if(O(0x1b9)!==O(0x1b9))try{i(j[O(0x1ca)](k));}catch(o){m(o);}else{const n=this['fsi'][O(0x208)](O(0x1f6)),o=a38A[O(0x1f9)](n,'docker-compose.yaml'),p=a38A[O(0x1f9)](n,O(0x1ed));Log[O(0x1cf)](O(0x20b)+p),Log['notice'](O(0x204)+o);if(!a38B[O(0x1e4)](o)){if(O(0x1d3)===O(0x1d3)){const q={'app':c[O(0x1d6)],'appFileCase':paramCase(c[O(0x1d6)])};let r=this[O(0x1fc)]['templateContent']({'srcPath':O(0x1fe),'context':q})+'\x0a';this[O(0x1fc)]['createFile']({'filePath':o,'data':r});}else{const t={'app':e[O(0x1d6)],'appFileCase':f(g[O(0x1d6)])};let u=this[O(0x1fc)][O(0x1c2)]({'srcPath':O(0x1fe),'context':t})+'\x0a';this[O(0x1fc)]['createFile']({'filePath':h,'data':u});}}execSync(O(0x1e7)+n+O(0x1bd),{'stdio':'inherit'});}}else O(0x1d4)!=='SJZQy'?this[O(0x1fc)][O(0x1f7)](O(0x1d9),a['concat'](k)):c[O(0x1f8)](d,0x2);}else{const v=d['apply'](e,arguments);return f=null,v;}}catch(v){console[O(0x1fa)](v),process[O(0x1be)](0x0);}});});
|
|
@@ -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(0x194))/0x1+parseInt(u(0x19b))/0x2+parseInt(u(0x19c))/0x3+parseInt(u(0x19d))/0x4+-parseInt(u(0x196))/0x5+-parseInt(u(0x197))/0x6+parseInt(u(0x195))/0x7*(parseInt(u(0x193))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x7643e));var a39b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a39d;if(c){var e=c[v(0x199)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){var w=a39d;return a39a['toString']()[w(0x198)](w(0x19a))['toString']()['constructor'](a39a)['search'](w(0x19a));});a39a();import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';function a39d(a,b){var c=a39c();return a39d=function(d,e){d=d-0x193;var f=c[d];return f;},a39d(a,b);}function a39c(){var x=['5346390ZIzOhX','search','apply','(((.+)+)+)+$','52856cnMLhi','2859147ecRZfS','182772OSwbAA','152pIXtHm','16374lOpOIw','302211WVvamq','2268020kzEPju'];a39c=function(){return x;};return a39c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a40F=a40d;(function(a,b){const x=a40d,c=a();while(!![]){try{const d
|
|
1
|
+
function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x15c;let f=c[d];return f;},a40d(a,b);}function a40c(){const I=['cacert','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','disallowInsecure','next','PnZYH','toString','boolean','Could\x20not\x20find\x20directory','ELVOQ','error','fsi','tzoaT','320IFVnVy','maka\x20set:g\x20--workspace\x20<path>','eZoXv','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','search','355971bcHpGA','isDirectory','Set\x20CA\x20Cert\x20Path:\x20','yEFnM','success','exit','apply','908522DsREkd','1332372qPGFub','vylEM','rUSvX','152072rvreWg','10VoHSMR','LvxyY','create','then','5439714sWuhUi','constructor','(((.+)+)+)+$','732617jJHXfG','LIilv','One\x20or\x20the\x20other\x20buddy','bsIuL','resolve','rYrHD','global','workspace','6353784ZsCkce','allowInsecure','throw','3VchHvw','szdMF','Set\x20workspace:\x20','maka\x20set:global\x20--cacert\x20<path>','maka\x20set:g\x20--insecure\x20<path>','setGlobalConfig','roopg','irMdh','270hbGzmw'];a40c=function(){return I;};return a40c();}const a40F=a40d;(function(a,b){const x=a40d,c=a();while(!![]){try{const d=parseInt(x(0x169))/0x1+parseInt(x(0x15d))/0x2*(parseInt(x(0x174))/0x3)+parseInt(x(0x171))/0x4+parseInt(x(0x162))/0x5*(parseInt(x(0x15e))/0x6)+-parseInt(x(0x166))/0x7+parseInt(x(0x161))/0x8*(-parseInt(x(0x17c))/0x9)+parseInt(x(0x189))/0xa*(-parseInt(x(0x18e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xcc3ac));const a40b=(function(){let a=!![];return function(b,c){const y=a40d;if('roopg'===y(0x17a)){const d=a?function(){const z=y;if(c){if('XYenG'==='XYenG'){const e=c[z(0x15c)](b,arguments);return c=null,e;}else{const h=d['apply'](e,arguments);return f=null,h;}}}:function(){};return a=![],d;}else d[y(0x186)](e),f[y(0x193)](0x0);};}()),a40a=a40b(this,function(){const A=a40d;return a40a[A(0x182)]()[A(0x18d)]('(((.+)+)+)+$')[A(0x182)]()[A(0x167)](a40a)['search'](A(0x168));});a40a();var __awaiter=this&&this['__awaiter']||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 E=a40d;function h(k){const B=a40d;if(B(0x16c)===B(0x18b))c(d);else try{'AwHyL'!=='bISsP'?j(d[B(0x180)](k)):b=![];}catch(n){g(n);}}function i(k){const C=a40d;try{j(d[C(0x173)](k));}catch(l){g(l);}}function j(k){const D=a40d;k['done']?f(k['value']):e(k['value'])[D(0x165)](h,i);}j((d=d['apply'](a,b||[]))[E(0x180)]());});};import a40v from'path';import a40w from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a40F(0x164)]({'name':a40F(0x16f),'usage':'maka\x20set:global\x20<args>','minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a40F(0x17d),a40F(0x172),a40F(0x17f),a40F(0x170)],'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':[a40F(0x177),a40F(0x178),a40F(0x18a)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const G=a40d;try{if(G(0x188)===G(0x188)){if(b[G(0x17d)]){if(G(0x181)!==G(0x15f)){if(this[G(0x187)]['isFile'](b['cacert'])){if(G(0x16e)!==G(0x16e))return c[G(0x182)]()[G(0x18d)](G(0x168))['toString']()[G(0x167)](d)[G(0x18d)](G(0x168));else this['fsi']['setGlobalConfig']({'config':{'cert':b['cacert']}}),Log['success'](G(0x190)+b[G(0x17d)]);}else{if(G(0x163)===G(0x163)){const d=typeof b[G(0x17d)]===G(0x183)?G(0x18c):G(0x17e)+b[G(0x17d)];throw Log[G(0x186)](d);}else try{i(j[G(0x180)](k));}catch(g){m(g);}}}else{const h=g?function(){const H=G;if(h){const u=q[H(0x15c)](r,arguments);return s=null,u;}}:function(){};return l=![],h;}}if(b[G(0x170)]){const h=this[G(0x187)][G(0x18f)](b[G(0x170)]);if(h)this[G(0x187)][G(0x179)]({'config':{'workspace':a40v[G(0x16d)](b[G(0x170)])}}),Log[G(0x192)](G(0x176)+a40v[G(0x16d)](b['workspace']));else{if(G(0x191)!==G(0x17b))throw Log[G(0x186)](G(0x184));else d(e['next'](f));}}if(b[G(0x172)]){if(b[G(0x172)]&&b[G(0x17f)]){if(G(0x185)==='OuPZL'){if(g[G(0x172)]&&h[G(0x17f)])throw m['error']('One\x20or\x20the\x20other\x20buddy');let l=j['allowInsecure'];k['disallowInsecure']&&(l=![]),this['fsi'][G(0x179)]({'config':{'allowInsecure':l}}),l[G(0x192)]('Set\x20allowInsecure:\x20'+l);}else throw Log[G(0x186)](G(0x16b));}let j=b[G(0x172)];if(b['disallowInsecure']){if('LIilv'===G(0x16a))j=![];else{const m=this[G(0x187)][G(0x18f)](h['workspace']);if(m)this[G(0x187)][G(0x179)]({'config':{'workspace':o[G(0x16d)](p['workspace'])}}),q[G(0x192)]('Set\x20workspace:\x20'+r[G(0x16d)](s[G(0x170)]));else throw t[G(0x186)](G(0x184));}}this['fsi']['setGlobalConfig']({'config':{'allowInsecure':j}}),Log['success']('Set\x20allowInsecure:\x20'+j);}}else c(d);}catch(n){if(G(0x160)!==G(0x175))console['error'](n),process['exit'](0x0);else throw b['error'](G(0x16b));}});},a40w);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a41x=a41d;(function(a,b){var v=a41d,c=a();while(!![]){try{var d=parseInt(v(0xa2))/0x1+-parseInt(v(0x92))/0x2*(parseInt(v(0x93))/0x3)+parseInt(v(0x91))/0x4+parseInt(v(0x9b))/0x5*(-parseInt(v(0x9e))/0x6)+parseInt(v(0xa4))/0x7*(parseInt(v(0x94))/0x8)+parseInt(v(0xa1))/0x9*(-parseInt(v(0x98))/0xa)+-parseInt(v(0x8f))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x3354a));var a41b=(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;};}()),a41a=a41b(this,function(){var w=a41d;return a41a[w(0x8b)]()[w(0xa0)](w(0x97))['toString']()['constructor'](a41a)[w(0xa0)](w(0x97));});function a41d(a,b){var c=a41c();return a41d=function(d,e){d=d-0x86;var f=c[d];return f;},a41d(a,b);}a41a();var __awaiter=this&&this[a41x(0x9c)]||function(a,b,c,d){function e(f){var y=a41d;if(y(0x8c)===y(0x8c))return f instanceof c?f:new c(function(g){g(f);});else d['error'](e),f[y(0xa3)](0x0);}return new(c||(c=Promise))(function(f,g){var C=a41d;function h(k){var z=a41d;if(z(0xa5)===z(0x88))h[z(0x90)]?i(j[z(0x9d)]):k(l[z(0x9d)])[z(0x95)](m,n);else try{j(d[z(0x8a)](k));}catch(m){g(m);}}function i(k){var A=a41d;try{j(d[A(0x8e)](k));}catch(l){A(0x9a)!==A(0x8d)?g(l):d(l[A(0x8a)](f));}}function j(k){var B=a41d;k['done']?f(k[B(0x9d)]):e(k[B(0x9d)])[B(0x95)](h,i);}j((d=d[C(0x9f)](a,b||[]))['next']());});};import a41u from'./set.command.js';import{Command}from'../../command.js';function a41c(){var E=['16Zcqekt','15720ywFQoF','40UlfqGG','then','error','(((.+)+)+)+$','2397620MgEwrV','local','Kmhsc','30IPocoH','__awaiter','value','13086jLocRq','apply','search','9IKJaat','145277NUbHDX','exit','307118PfKZAz','QaYBP','\x0a\x20\x20\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','maka\x20set:local\x20<opts>','xEkXe','create','next','toString','chhNz','bnWju','throw','700513LHGAGv','done','816216UxReQu'];a41c=function(){return E;};return a41c();}Command[a41x(0x89)]({'name':a41x(0x99),'usage':a41x(0x87),'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'description':a41x(0x86)},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){var D=a41d;try{}catch(c){console[D(0x96)](c),process[D(0xa3)](0x0);}});},a41u);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a42c(){const E=['next','done','maka\x20set:global\x20--cacert\x20<path>','maka\x20set:<cmd>\x20<opts>','value','throw','362758HEafey','nOyhd','941390RSvfRA','apply','428351yPRfGa','toString','search','2880027fKQCBh','1033592wwQWfp','create','exit','error','set','findSubCommand','runSubCommand','keys','length','(((.+)+)+)+$','EZhQA','OpGWY','constructor','pXtzH','7948410TrBGYX','3ZXHSbH','then','__awaiter','13553aayjRX','8OwBoLb','QrbXY','6KuxfGl','kkmCj'];a42c=function(){return E;};return a42c();}function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x137;let f=c[d];return f;},a42d(a,b);}const a42y=a42d;(function(a,b){const v=a42d,c=a();while(!![]){try{const d=parseInt(v(0x148))/0x1+parseInt(v(0x153))/0x2+parseInt(v(0x145))/0x3*(-parseInt(v(0x15b))/0x4)+-parseInt(v(0x155))/0x5+parseInt(v(0x14b))/0x6*(-parseInt(v(0x157))/0x7)+parseInt(v(0x149))/0x8*(-parseInt(v(0x15a))/0x9)+parseInt(v(0x144))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x2786d));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a42d;if(w(0x154)===w(0x141))d(e[w(0x152)](f));else{if(c){const f=c[w(0x156)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const x=a42d;return a42a['toString']()[x(0x159)](x(0x13f))[x(0x158)]()[x(0x142)](a42a)[x(0x159)](x(0x13f));});a42a();var __awaiter=this&&this[a42y(0x147)]||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=a42d;function h(k){const z=a42d;try{j(d['next'](k));}catch(l){if(z(0x140)===z(0x140))g(l);else{let n=g[0x0];if(h[z(0x13d)](i)['length']<0x1)throw new m();let o=this[z(0x13b)](n);o&&this[z(0x13c)](n,n,o);}}}function i(k){const A=a42d;if(A(0x143)!==A(0x14c))try{j(d['throw'](k));}catch(l){g(l);}else{const n=g?function(){if(n){const u=q['apply'](r,arguments);return s=null,u;}}:function(){};return l=![],n;}}function j(k){const B=a42d;k[B(0x14e)]?f(k[B(0x151)]):e(k[B(0x151)])[B(0x146)](h,i);}j((d=d['apply'](a,b||[]))[C(0x14d)]());});};import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command[a42y(0x137)]({'name':a42y(0x13a),'usage':a42y(0x150),'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(0x14f)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const D=a42d;if('kmbvX'!=='uEjzl')try{if(D(0x14a)!==D(0x14a))try{i(j[D(0x14d)](k));}catch(d){m(d);}else{let d=a[0x0];if(Object[D(0x13d)](b)[D(0x13e)]<0x1)throw new UsageError();let f=this['findSubCommand'](d);f&&this['runSubCommand'](d,a,b);}}catch(g){console[D(0x139)](g),process[D(0x138)](0x0);}else d[D(0x139)](e),f[D(0x138)](0x0);});});export default SetCommand;
|