@maka/maka-cli 4.3.22 → 4.3.25
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/dkp.sub.cmd.js +1 -1
- package/dist/commands/aws/dsg.sub.cmd.js +1 -1
- package/dist/commands/aws/rbi.sub.cmd.js +1 -1
- package/dist/commands/aws/rkp.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/get/whoami.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/lint.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/proxy.js +1 -1
- package/dist/commands/reconfig.js +1 -1
- package/dist/commands/run/_index.js +1 -1
- package/dist/commands/run/docker.sub.cmd.js +1 -1
- package/dist/commands/run/run.command.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/service.js +1 -1
- package/dist/generators/services/_index.js +1 -1
- package/dist/generators/services/openssl.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 +8 -9
|
@@ -1 +1 @@
|
|
|
1
|
-
const a26y=a26d;(function(a,b){const v=a26d,c=a();while(!![]){try{const d
|
|
1
|
+
const a26y=a26d;function a26d(a,b){const c=a26c();return a26d=function(d,e){d=d-0x10f;let f=c[d];return f;},a26d(a,b);}(function(a,b){const v=a26d,c=a();while(!![]){try{const d=-parseInt(v(0x119))/0x1*(-parseInt(v(0x13a))/0x2)+parseInt(v(0x110))/0x3+parseInt(v(0x11a))/0x4*(parseInt(v(0x13b))/0x5)+-parseInt(v(0x11c))/0x6+-parseInt(v(0x123))/0x7+parseInt(v(0x136))/0x8+parseInt(v(0x12d))/0x9*(-parseInt(v(0x133))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a26c,0xdff05));const a26b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a26d;if(c){if(w(0x131)!==w(0x121)){const e=c['apply'](b,arguments);return c=null,e;}else d(e['next'](f));}}:function(){};return a=![],d;};}()),a26a=a26b(this,function(){const x=a26d;return a26a[x(0x138)]()[x(0x11f)](x(0x120))[x(0x138)]()['constructor'](a26a)['search']('(((.+)+)+)+$');});a26a();var __awaiter=this&&this[a26y(0x115)]||function(a,b,c,d){function e(f){const z=a26d;if(z(0x12c)==='dFnnU')c[z(0x11b)](z(0x125)),d[z(0x137)]();else return f instanceof c?f:new c(function(h){h(f);});}return new(c||(c=Promise))(function(f,g){const D=a26d;function h(k){const A=a26d;if(A(0x112)!=='ZQBLa')try{j(d['next'](k));}catch(l){'llAZJ'===A(0x127)?b[A(0x124)]('Could\x20not\x20find\x20generator'):g(l);}else c(d);}function i(k){const B=a26d;try{'nglAo'===B(0x114)?j(d[B(0x139)](k)):d(e[B(0x139)](f));}catch(m){g(m);}}function j(k){const C=a26d;k[C(0x12b)]?f(k[C(0x12f)]):e(k[C(0x12f)])[C(0x113)](h,i);}j((d=d[D(0x132)](a,b||[]))['next']());});};import{Command}from'../command.js';function a26c(){const F=['dir','4403672bqDyNF','error','Generators:','maka\x20g:route\x20todos/edit','uZzwu','KEBkL','\x0a\x20\x20For\x20a\x20list\x20of\x20generators,\x20run\x20\x22maka\x20generate\x20--help\x22\x20or\x20\x22maka\x20g\x20--help\x22\x0a\x20\x20','maka\x20g:api\x20trucks','done','EuzEf','27uReoNS','maka\x20g:package\x20package:name','value','maka\x20g:scaffold\x20todos','EYYKg','apply','6803570cuqQgr','slice','rmGgU','10939680PFyBEg','listGenerators','toString','throw','2LwbvJB','205BIhZwO','maka\x20generate:scaffold\x20todos','Could\x20not\x20find\x20generator','2323554KgGvHU','maka\x20g:template\x20todos/todo_item','OWoPi','then','nglAo','__awaiter','generate','help','mAUmw','251443MAWtBA','123660wtSexu','notice','441096fHiQsi','findGenerator','maka\x20g:dbc\x20geoserver\x20--type=pgsql','search','(((.+)+)+)+$','tphsc'];a26c=function(){return F;};return a26c();}import{Log}from'../tools/log/log.class.js';import a26u from'../generators/maka.gen.js';import{UsageError}from'../error.js';Command['create']({'name':a26y(0x116),'aliases':['g'],'usage':'maka\x20{generate,\x20g}:<generator>\x20<name>\x20<opts>','validOpts':[a26y(0x122),'where',a26y(0x117)],'mustBeInMakaProject':!![],'isRoot':!![],'shortDesc':'Scaffold\x20various\x20parts\x20of\x20your\x20application','description':a26y(0x129),'examples':[a26y(0x13c),a26y(0x130),a26y(0x111),a26y(0x12e),a26y(0x126),a26y(0x12a),a26y(0x11e)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const E=a26d;if('uueKA'===E(0x135))c(d);else{const d=a[0x0],e=a26u[E(0x11d)](d);if(!e){if('RMBLw'!==E(0x128)){b['help']?(Log[E(0x11b)](E(0x125)),a26u['listGenerators']()):'tQfpi'===E(0x118)?h[E(0x12b)]?i(j[E(0x12f)]):k(l['value'])[E(0x113)](m,n):Log['error'](E(0x10f));throw new UsageError();}else{if(e){const h=i[E(0x132)](j,arguments);return k=null,h;}}}yield e['invoke'](a[E(0x134)](0x1),b);}});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var u=a27d,c=a();while(!![]){try{var d=parseInt(u(
|
|
1
|
+
(function(a,b){var u=a27d,c=a();while(!![]){try{var d=parseInt(u(0x17e))/0x1+-parseInt(u(0x188))/0x2+parseInt(u(0x183))/0x3+parseInt(u(0x180))/0x4*(-parseInt(u(0x181))/0x5)+parseInt(u(0x186))/0x6*(parseInt(u(0x184))/0x7)+-parseInt(u(0x182))/0x8+parseInt(u(0x17c))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a27c,0x7006d));var a27b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a27d;if(c){var e=c[v(0x185)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a27a=a27b(this,function(){var w=a27d;return a27a[w(0x17d)]()[w(0x187)](w(0x17f))[w(0x17d)]()[w(0x17b)](a27a)[w(0x187)](w(0x17f));});a27a();function a27c(){var x=['326786uXjwJS','constructor','2045322rBPnRo','toString','806493zKgnXq','(((.+)+)+)+$','766888vLMlZg','5ilVbci','5630704hXRBKM','340986QopkJl','2779BBPmtZ','apply','5598GaTWnU','search'];a27c=function(){return x;};return a27c();}import'./get.command.js';import'./global.sub.cmd.js';function a27d(a,b){var c=a27c();return a27d=function(d,e){d=d-0x17b;var f=c[d];return f;},a27d(a,b);}import'./local.sub.cmd.js';import'./whoami.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a28c(){const J=['next','toString','dKKUw','then','throw','done','constructor','search','1837UpWqfy','bGBev','pFDHO','26070QToZef','runSubCommand','40RObZjb','error','apply','25830612zQKNVB','xcIRs','maka\x20get:<sub-command>','trDBm','mCvsl','XQtnT','value','hHpSu','krYeD','RycNW','ULWbE','nCckj','BCQac','2539557shDiIe','jYOMj','Sub-Command\x20not\x20found','10173UJvvyS','698TtSary','get','ZIplN','42prgyjq','97220bmvuxv','84222rvHTtc','40gChFZK','(((.+)+)+)+$','create','Get\x20various\x20Maka\x20variables\x20and\x20configurations','HDbwV','891486oLBdYI','rNTWU'];a28c=function(){return J;};return a28c();}const a28H=a28d;(function(a,b){const x=a28d,c=a();while(!![]){try{const d=-parseInt(x(0xb5))/0x1+parseInt(x(0xb0))/0x2*(parseInt(x(0xaf))/0x3)+parseInt(x(0xb4))/0x4*(parseInt(x(0xb6))/0x5)+parseInt(x(0xbb))/0x6*(-parseInt(x(0xb3))/0x7)+-parseInt(x(0xca))/0x8*(parseInt(x(0xac))/0x9)+parseInt(x(0xc8))/0xa*(-parseInt(x(0xc5))/0xb)+parseInt(x(0xcd))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a28c,0xacf9c));const a28b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a28d;if(c){if(y(0xc6)!==y(0xd1)){const e=c['apply'](b,arguments);return c=null,e;}else try{i(j[y(0xc1)](k));}catch(g){m(g);}}}:function(){};return a=![],d;};}()),a28a=a28b(this,function(){const z=a28d;return a28a[z(0xbe)]()[z(0xc4)]('(((.+)+)+)+$')[z(0xbe)]()[z(0xc3)](a28a)[z(0xc4)](z(0xb7));});a28a();function a28d(a,b){const c=a28c();return a28d=function(d,e){d=d-0xa5;let f=c[d];return f;},a28d(a,b);}var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){const A=a28d;if(A(0xc7)!==A(0xd2))return f instanceof c?f:new c(function(g){const B=A;if(B(0xbc)===B(0xbf)){if(e){const i=i[B(0xcc)](j,arguments);return k=null,i;}}else g(f);});else{const h=g?function(){const C=A;if(h){const u=q[C(0xcc)](r,arguments);return s=null,u;}}:function(){};return l=![],h;}}return new(c||(c=Promise))(function(f,g){const G=a28d;function h(k){const D=a28d;if('YjkSA'!==D(0xaa))try{'ULWbE'===D(0xa9)?j(d['next'](k)):d(e[D(0xbd)](f));}catch(m){if(D(0xa6)!==D(0xba))g(m);else{c[D(0xcb)](D(0xae));throw new d();}}else try{i(j['next'](k));}catch(p){m(p);}}function i(k){const E=a28d;try{j(d[E(0xc1)](k));}catch(l){if(E(0xce)!==E(0xb2))g(l);else return c[E(0xbe)]()[E(0xc4)](E(0xb7))['toString']()[E(0xc3)](d)['search'](E(0xb7));}}function j(k){const F=a28d;k[F(0xc2)]?f(k[F(0xa5)]):e(k[F(0xa5)])[F(0xc0)](h,i);}j((d=d[G(0xcc)](a,b||[]))[G(0xbd)]());});};import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import{UsageErrorWithSubs}from'../../error.js';const GetCommand=Command[a28H(0xb8)]({'name':a28H(0xb1),'usage':a28H(0xcf),'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':a28H(0xb9),'validOpts':[]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const I=a28d;if(I(0xa7)!==I(0xd0)){const c=a[0x0],d=this['findSubCommand'](c);if(d)'JiUxS'!==I(0xab)?this['runSubCommand'](c,a,b):d(e[I(0xc1)](f));else{if(I(0xad)===I(0xa8)){const h=d[I(0xcc)](e,arguments);return f=null,h;}else{Log[I(0xcb)]('Sub-Command\x20not\x20found');throw new UsageErrorWithSubs();}}}else this[I(0xc9)](d,e,f);});});export default GetCommand;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a29d(a,b){var c=a29c();return a29d=function(d,e){d=d-0xc4;var f=c[d];return f;},a29d(a,b);}var a29y=a29d;(function(a,b){var v=a29d,c=a();while(!![]){try{var d=-parseInt(v(0xc4))/0x1*(-parseInt(v(0xe2))/0x2)+parseInt(v(0xdc))/0x3+-parseInt(v(0xc9))/0x4+parseInt(v(0xcb))/0x5*(parseInt(v(0xca))/0x6)+parseInt(v(0xc6))/0x7+parseInt(v(0xd3))/0x8+-parseInt(v(0xce))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a29c,0xccb83));var a29b=(function(){var a=!![];return function(b,c){var d=a?function(){var w=a29d;if(c){if('MsUCz'===w(0xd4))try{i(j[w(0xd8)](k));}catch(g){m(g);}else{var e=c['apply'](b,arguments);return c=null,e;}}}:function(){};return a=![],d;};}()),a29a=a29b(this,function(){var x=a29d;return a29a[x(0xde)]()['search']('(((.+)+)+)+$')[x(0xde)]()['constructor'](a29a)[x(0xc5)]('(((.+)+)+)+$');});a29a();var __awaiter=this&&this[a29y(0xd0)]||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 z=a29d;try{if(z(0xd1)===z(0xd1))j(d['next'](k));else{var n=g?function(){var A=z;if(n){var u=q[A(0xda)](r,arguments);return s=null,u;}}:function(){};return l=![],n;}}catch(m){g(m);}}function i(k){var B=a29d;try{B(0xd6)==='UtNSO'?d(e[B(0xdd)](f)):j(d[B(0xdd)](k));}catch(m){g(m);}}function j(k){var C=a29d;k[C(0xd5)]?f(k[C(0xd9)]):e(k[C(0xd9)])[C(0xd7)](h,i);}j((d=d[D(0xda)](a,b||[]))[D(0xd8)]());});};function a29c(){var F=['8153192KBaCBC','LqmEu','done','zehua','then','next','value','apply','global-config','1110534rCRULy','throw','toString','create','hrmIr','exit','301858IidFhy','2MynSmH','search','9209893TTixnV','usAPP','log','4884452izMhCi','1290dZcbfJ','36585ehWMZe','Get\x20maka\x20configurations\x20in\x20the\x20global\x20~/.maka/global-config.json\x20file','maka\x20get:global-config','22683555AhAPOc','XTCip','__awaiter','sRLnO','error'];a29c=function(){return F;};return a29c();}import a29u from'./get.command.js';import{Command}from'../../command.js';Command[a29y(0xdf)]({'name':a29y(0xdb),'usage':a29y(0xcd),'aliases':['gc'],'shortDesc':a29y(0xcc),'validOpts':[],'minArgLength':0x1,'maxArgLength':0x2},function(){return __awaiter(this,void 0x0,void 0x0,function*(){var E=a29d;try{if(E(0xe0)===E(0xe0)){const a=yield this['fsi']['getGlobalConfig']();console[E(0xc8)](a);}else c(d);}catch(c){E(0xc7)!==E(0xcf)?(console[E(0xd2)](c),process[E(0xe1)](0x0)):c(d);}});},a29u);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a30z=a30d;(function(a,b){var v=a30d,c=a();while(!![]){try{var d=-parseInt(v(0xf6))/0x1*(-parseInt(v(0xf1))/0x2)+parseInt(v(0xee))/0x3*(-parseInt(v(0x105))/0x4)+-parseInt(v(0xeb))/0x5+-parseInt(v(0x101))/0x6+parseInt(v(0xf7))/0x7*(-parseInt(v(0xf2))/0x8)+-parseInt(v(0xec))/0x9+parseInt(v(0x106))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a30c,0xc3bb5));var a30b=(function(){var a=!![];return function(b,c){var w=a30d;if(w(0xe8)!=='oOMrL')c(d);else{var d=a?function(){var x=w;if(x(0xfa)===x(0xf5))return c[x(0xff)]()[x(0xe9)](x(0x104))['toString']()['constructor'](d)[x(0xe9)](x(0x104));else{if(c){if(x(0xf0)===x(0xf9))c(d);else{var f=c[x(0xef)](b,arguments);return c=null,f;}}}}:function(){};return a=![],d;}};}()),a30a=a30b(this,function(){var y=a30d;return a30a[y(0xff)]()[y(0xe9)]('(((.+)+)+)+$')[y(0xff)]()[y(0xf4)](a30a)[y(0xe9)](y(0x104));});a30a();var __awaiter=this&&this[a30z(0x100)]||function(a,b,c,d){function e(f){var A=a30d;if('yhGHB'===A(0xfb))c(d);else return f instanceof c?f:new c(function(h){h(f);});}return new(c||(c=Promise))(function(f,g){var D=a30d;function h(k){var B=a30d;try{j(d[B(0xfe)](k));}catch(l){g(l);}}function i(k){try{j(d['throw'](k));}catch(l){g(l);}}function j(k){var C=a30d;C(0xf8)!==C(0xfc)?k[C(0x103)]?f(k[C(0xfd)]):e(k[C(0xfd)])[C(0xe7)](h,i):h[C(0x103)]?i(j[C(0xfd)]):k(l[C(0xfd)])['then'](m,n);}j((d=d[D(0xef)](a,b||[]))[D(0xfe)]());});};import a30u from'./get.command.js';function a30d(a,b){var c=a30c();return a30d=function(d,e){d=d-0xe7;var f=c[d];return f;},a30d(a,b);}import{Command}from'../../command.js';Command[a30z(0xea)]({'name':a30z(0xf3),'usage':a30z(0xed),'mustBeInMakaProject':!![],'aliases':['lc'],'shortDesc':a30z(0x102),'validOpts':[],'minArgLength':0x1,'maxArgLength':0x2},function(){return __awaiter(this,void 0x0,void 0x0,function*(){var E=a30d;const a=yield this['fsi']['getProjectConfig']();console[E(0x107)](a);});},a30u);function a30c(){var F=['177zHTtOv','apply','fAbeF','36502ONNZBr','8Zqvsnn','local-config','constructor','dluof','74qdlquF','5481945xoLHhf','twoOs','oBhzi','GfdnA','eSkdF','YucwW','value','next','toString','__awaiter','956916bJnKaM','Get\x20maka\x20configurations\x20in\x20the\x20local\x20.maka/config.json\x20file','done','(((.+)+)+)+$','26116pXgUmb','23200540xIWulz','log','then','oOMrL','search','create','1426435NXELXm','11302128wbRSWf','maka\x20get:local-config'];a30c=function(){return F;};return a30c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a31J=a31d;(function(a,b){var F=a31d,c=a();while(!![]){try{var d=parseInt(F(0x12f))/0x1*(-parseInt(F(0x115))/0x2)+-parseInt(F(0x139))/0x3+parseInt(F(0x11a))/0x4*(parseInt(F(0x134))/0x5)+-parseInt(F(0x13f))/0x6*(parseInt(F(0x127))/0x7)+-parseInt(F(0x136))/0x8*(-parseInt(F(0x133))/0x9)+-parseInt(F(0x112))/0xa*(parseInt(F(0x128))/0xb)+parseInt(F(0x110))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a31c,0x5140c));var a31b=(function(){var a=!![];return function(b,c){var G=a31d;if('HGafL'!==G(0x13d)){var d=a?function(){var H=G;if('JpmXf'===H(0x123)){if(c){var e=c[H(0x111)](b,arguments);return c=null,e;}}else d(e[H(0x129)](f));}:function(){};return a=![],d;}else c(d);};}()),a31a=a31b(this,function(){var I=a31d;return a31a[I(0x11d)]()['search'](I(0x12a))[I(0x11d)]()[I(0x120)](a31a)[I(0x117)](I(0x12a));});a31a();var __awaiter=this&&this[a31J(0x13c)]||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 N=a31d;function h(k){var K=a31d;if(K(0x124)===K(0x124))try{'LfArh'===K(0x135)?d(e[K(0x119)](f)):j(d[K(0x119)](k));}catch(m){g(m);}else{if(e){var o=i[K(0x111)](j,arguments);return k=null,o;}}}function i(k){var L=a31d;if(L(0x126)===L(0x13e))d[L(0x138)](e),f[L(0x118)](0x0);else try{j(d[L(0x129)](k));}catch(m){if(L(0x121)===L(0x11c))return c[L(0x11d)]()[L(0x117)](L(0x12a))['toString']()[L(0x120)](d)[L(0x117)](L(0x12a));else g(m);}}function j(k){var M=a31d;k[M(0x137)]?f(k[M(0x130)]):e(k[M(0x130)])['then'](h,i);}j((d=d[N(0x111)](a,b||[]))[N(0x119)]());});};function a31d(a,b){var c=a31c();return a31d=function(d,e){d=d-0x10f;var f=c[d];return f;},a31d(a,b);}import a31D from'./get.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import a31E from'jsonwebtoken';function a31c(){var Q=['error','1698522HwKqpL','MCiOp','maka\x20get:whoami','__awaiter','AcnWB','YbdoP','305940YVefpe','User\x20ID:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','getGlobalConfig','12668820Qxnwyy','apply','5734350NXJnOo','roles','If\x20logged\x20in,\x20get\x20the\x20current\x20user\x27s\x20information','26626SzAvYP','decode','search','exit','next','275636nsdElW','notice','wVfQd','toString','Licenses:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','User\x20Access\x20Token:\x20\x20','constructor','jkFPx','userId','JpmXf','DWIcj','User\x20Email:\x20\x20\x20\x20\x20\x20\x20\x20\x20','DfSmX','14VbTFrY','11cRgUKj','throw','(((.+)+)+)+$','hash','whoami','fsi','token','8YTaiBG','value','authToken','RuwLU','1096542GhpTwD','10MCDSpe','jFcYZ','32figInJ','done'];a31c=function(){return Q;};return a31c();}Command['create']({'name':a31J(0x12c),'usage':a31J(0x13b),'shortDesc':a31J(0x114),'validOpts':[],'minArgLength':0x1,'maxArgLength':0x2},function(){var a,b;return __awaiter(this,void 0x0,void 0x0,function*(){var O=a31d;try{if('MCiOp'!==O(0x13a))c(d);else{const d=yield this[O(0x12d)][O(0x10f)]();if(d[O(0x12b)]){if(O(0x132)===O(0x132)){const f=a31E[O(0x116)](d[O(0x12b)]);Log[O(0x11b)](O(0x125)+(f===null||f===void 0x0?void 0x0:f['user'])),Log[O(0x11b)](O(0x140)+((a=d[O(0x12e)])===null||a===void 0x0?void 0x0:a[O(0x122)])),Log[O(0x11b)](O(0x11f)+((b=d[O(0x12e)])===null||b===void 0x0?void 0x0:b[O(0x131)])),Log[O(0x11b)](O(0x11e)+(f===null||f===void 0x0?void 0x0:f[O(0x113)]['join'](',\x20')));}else{var h=g?function(){var P=O;if(h){var u=q[P(0x111)](r,arguments);return s=null,u;}}:function(){};return l=![],h;}}}}catch(h){console[O(0x138)](h),process[O(0x118)](0x0);}});},a31D);
|
package/dist/commands/help.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a32x=a32d;(function(a,b){var u=a32d,c=a();while(!![]){try{var d=-parseInt(u(0x1a9))/0x1+-parseInt(u(0x1bc))/0x2+-parseInt(u(0x1b5))/0x3+-parseInt(u(0x1a5))/0x4*(parseInt(u(0x1bd))/0x5)+-parseInt(u(0x1b0))/0x6*(parseInt(u(0x1a7))/0x7)+parseInt(u(0x1b3))/0x8+parseInt(u(0x1c1))/0x9*(parseInt(u(0x1be))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a32c,0x4a9c9));function a32c(){var D=['help','18eQSTNX','4YLRfTS','value','476igLKVM','throw','181595CIOJdz','apply','(((.+)+)+)+$','ljITy','JyBRn','next','Deprecated:\x20use\x20--help\x20instead','20946ZuGAyY','constructor','search','2440032tlOwbU','LQeKG','1048470QiOhEJ','done','xtQRA','RnjQW','ugtrF','NjSxm','create','703438QHjMjs','502215bqumSY','6106200OJmzIY','__awaiter'];a32c=function(){return D;};return a32c();}function a32d(a,b){var c=a32c();return a32d=function(d,e){d=d-0x1a5;var f=c[d];return f;},a32d(a,b);}var a32b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a32d;if(c){if(v(0x1ac)==='ljITy'){var e=c[v(0x1aa)](b,arguments);return c=null,e;}else c(d);}}:function(){};return a=![],d;};}()),a32a=a32b(this,function(){var w=a32d;return a32a['toString']()['search'](w(0x1ab))['toString']()[w(0x1b1)](a32a)[w(0x1b2)](w(0x1ab));});a32a();var __awaiter=this&&this[a32x(0x1bf)]||function(a,b,c,d){function e(f){var y=a32d;if(y(0x1ba)!=='Cnhlq')return f instanceof c?f:new c(function(g){g(f);});else try{i(j[y(0x1ae)](k));}catch(h){m(h);}}return new(c||(c=Promise))(function(f,g){var C=a32d;function h(k){var z=a32d;if(z(0x1b4)!=='LQeKG')c(d);else try{j(d[z(0x1ae)](k));}catch(m){g(m);}}function i(k){var A=a32d;if('xtQRA'!==A(0x1b7)){var m=d[A(0x1aa)](e,arguments);return f=null,m;}else try{j(d[A(0x1a8)](k));}catch(m){if(A(0x1b9)===A(0x1b9))g(m);else try{i(j['throw'](k));}catch(o){m(o);}}}function j(k){var B=a32d;B(0x1b8)!==B(0x1ad)?k[B(0x1b6)]?f(k[B(0x1a6)]):e(k[B(0x1a6)])['then'](h,i):d(e[B(0x1a8)](f));}j((d=d[C(0x1aa)](a,b||[]))['next']());});};import{Command}from'../command.js';import{UsageError}from'../error.js';Command[a32x(0x1bb)]({'name':a32x(0x1c0),'description':'Try,\x20maka\x20--help','aliases':['h'],'validOpts':[],'shortDesc':a32x(0x1af)},function(){return __awaiter(this,void 0x0,void 0x0,function*(){throw new UsageError();});});
|
package/dist/commands/install.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a33D=a33d;(function(a,b){const B=a33d,c=a();while(!![]){try{const d=-parseInt(B(0x16c))/0x1*(parseInt(B(0x15d))/0x2)+-parseInt(B(0x15a))/0x3+-parseInt(B(0x166))/0x4+parseInt(B(0x12b))/0x5+parseInt(B(0x137))/0x6*(-parseInt(B(0x15f))/0x7)+-parseInt(B(0x11d))/0x8*(parseInt(B(0x11c))/0x9)+parseInt(B(0x135))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a33c,0x65b30));const a33b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a33a=a33b(this,function(){const C=a33d;return a33a[C(0x173)]()['search'](C(0x145))[C(0x173)]()[C(0x13f)](a33a)[C(0x14a)](C(0x145));});a33a();var __awaiter=this&&this[a33D(0x12c)]||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 H=a33d;function h(k){const E=a33d;try{if(E(0x15c)===E(0x15c))j(d[E(0x171)](k));else try{i(j[E(0x171)](k));}catch(m){m(m);}}catch(m){g(m);}}function i(k){const F=a33d;try{if(F(0x16f)!==F(0x16f))throw F(0x175)+b;else j(d[F(0x159)](k));}catch(m){g(m);}}function j(k){const G=a33d;k['done']?f(k['value']):e(k['value'])[G(0x146)](h,i);}j((d=d[H(0x136)](a,b||[]))[H(0x171)]());});};import a33x from'os';function a33d(a,b){const c=a33c();return a33d=function(d,e){d=d-0x119;let f=c[d];return f;},a33d(a,b);}import a33y from'path';import a33z from'fs';import a33A 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';function a33c(){const J=['getGlobalConfig','-rf','install','20054430nvmJnw','apply','4302xpDhBD','isFile','cacert','Removing\x20previous\x20install\x20of\x20meteor','KbrLS','success','/meteor-bootstrap-','printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.bashrc','constructor','darwin','maka\x20install\x20meteor\x20--force','maka\x20install\x20meteor','sVmMt','mkdir\x20-p\x20','(((.+)+)+)+$','then','os.linux.x86_64','join','create','search','keepInstall','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','value','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka.cert,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','maka\x20install\x20meteor\x20-v\x202.3.6','grep','existsSync','exit','tar','.tar.gz','maka\x20install','platform','RELEASE=','Aborted','throw','2094429gZLmaH','meteor.tar.gz','gHxpK','407794KZxoPa','sync','28PBDYFH','fsi','Using\x20CA\x20Cert\x20','maka\x20i','notice','withSpinner','PQIpC','1653232NvGAVa','printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.zshrc','Downloading\x20meteor\x20version\x20','xLLTd','cert','\x20-s\x20https://install.meteor.com/','3vqXypR','confirm','-xzf','fOLmX','/.local/bin','next','This\x20command\x20should\x20NOT\x20be\x20run\x20as\x20sudo\x20or\x20with\x20administrative\x20privileges.\x20\x20Are\x20you\x20ready\x20to\x20proceed?','toString','--cacert','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','https://static-meteor.netdna-ssl.com/packages-bootstrap/','printf\x20\x27export\x20PATH=$PATH:$HOME/.local/bin\x27\x20>>\x20$HOME/.profile\x20&&\x20source\x20$HOME/.profile','string','error','LWiAm','.meteor','9LcOyLG','1799256SeMRnS','replace','poAsN','warn','win32','version','yZCSn','Please\x20use\x20\x22npm\x20i\x20-g\x20meteor\x22\x20to\x20install\x20on\x20windows','length','FQYKQ','os.osx.x86_64','Allowing\x20insecure\x20curl\x20connections.','force','ignore','1810170bTFtfj','__awaiter','Installing\x20meteor\x20','Meteor\x20version\x20','Network\x20error,\x20please\x20try\x20again.','done','\x20installed.\x0a'];a33c=function(){return J;};return a33c();}import{Actions}from'../tools/actions/actions.class.js';const homeDir=a33x['homedir']();Command[a33D(0x149)]({'name':a33D(0x134),'aliases':['i'],'validOpts':['f',a33D(0x129),'v',a33D(0x122),'debug',a33D(0x139),a33D(0x14b)],'usage':a33D(0x155),'shortDesc':'Install\x20a\x20meteor.\x20\x22maka\x20install\x22\x20defaults\x20to\x20\x22maka\x20install\x20meteor\x22','examples':[a33D(0x142),a33D(0x141),a33D(0x14f),'maka\x20install\x20meteor\x20--version\x201.12.1',a33D(0x162)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const I=a33d;try{let c=[],d='';if(b[I(0x139)]){if(this[I(0x160)][I(0x138)](b['cacert'])){if(I(0x13b)!=='KbrLS')throw I(0x14e)+b;else Log[I(0x163)](I(0x161)+b[I(0x139)]),d=b[I(0x139)],c=[I(0x174),d];}else throw I(0x175)+d;}const f=yield this[I(0x160)][I(0x132)]();if(f[I(0x16a)]){if(this[I(0x160)][I(0x138)](f['cert']))d=f[I(0x16a)],c=[I(0x174),d];else throw I(0x14e)+d;}f['allowInsecure']&&('dSDbX'!==I(0x11a)?(Log[I(0x120)](I(0x128)),c=['-k']):c['error'](d));let g=![];if(b['f']||b[I(0x129)])g=!![];else{if(I(0x143)!=='sVmMt')try{i(j[I(0x159)](k));}catch(q){m(q);}else g=yield Actions[I(0x16d)](I(0x172));}if(!g)throw I(0x158);const h=process[I(0x156)]===I(0x121),i=process[I(0x156)]===I(0x140),j=execSync('curl\x20'+c[I(0x148)]('\x20')+I(0x16b))['toString'](),k=yield this['fsi'][I(0x150)](j,I(0x157));if(k[I(0x125)]===0x0)throw I(0x12f);let l=k[0x0][I(0x11e)](/[^0-9.]/gi,'')[I(0x11e)](/\r?\n|\r/,'');(typeof b['v']===I(0x178)||typeof b[I(0x122)]==='string')&&(l=b['v']||b['version']);const m=a33y[I(0x148)](homeDir,I(0x11b));if(h)I(0x11f)==='poAsN'?Log[I(0x120)](I(0x124)):c(d);else{if(I(0x123)!=='yZCSn')h[I(0x130)]?i(j[I(0x14d)]):k(l[I(0x14d)])[I(0x146)](m,n);else{if(a33z[I(0x151)](m)){if('FQYKQ'===I(0x126))yield SpawnAsync[I(0x164)]('rm',[I(0x133),m],{'message':I(0x13a)});else{const t=d[I(0x136)](e,arguments);return f=null,t;}}try{const t=i?I(0x127):I(0x147);yield SpawnAsync[I(0x164)]('curl',[...c,'-s',I(0x176)+l+I(0x13d)+t+I(0x154),'--output',a33y[I(0x148)](homeDir,I(0x15b))],{'message':I(0x168)+l});const u=[I(0x16e),a33y[I(0x148)](homeDir,I(0x15b)),'-C',homeDir];yield SpawnAsync[I(0x164)](I(0x153),u,{'message':I(0x12d)+l}),a33A[I(0x15e)](a33y[I(0x148)](homeDir,I(0x15b)),{'force':!![]});}catch(v){'tCpqd'!==I(0x169)?console[I(0x119)](v):d=v['v']||f['version'];}try{execSync(I(0x144)+homeDir+I(0x170),{'stdio':'ignore'}),execSync(I(0x14c),{'stdio':I(0x12a)}),execSync(I(0x177),{'stdio':I(0x12a)}),execSync(I(0x13e),{'stdio':'ignore'}),execSync(I(0x167),{'stdio':I(0x12a)});}catch(x){console['error'](x);}Log[I(0x13c)](I(0x12e)+l+I(0x131));}}}catch(y){'PQIpC'===I(0x165)?(console[I(0x119)](y),process[I(0x152)](0x0)):c(d);}});});
|
package/dist/commands/jsdoc.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a34A=a34d;(function(a,b){const w=a34d,c=a();while(!![]){try{const d=-parseInt(w(0x12c))/0x1+-parseInt(w(0x12e))/0x2+-parseInt(w(0x141))/0x3+parseInt(w(0x12b))/0x4+-parseInt(w(0x140))/0x5*(parseInt(w(0x119))/0x6)+parseInt(w(0x144))/0x7*(-parseInt(w(0x126))/0x8)+parseInt(w(0x122))/0x9*(parseInt(w(0x11a))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0x82015));const a34b=(function(){let a=!![];return function(b,c){const x=a34d;if(x(0x11e)===x(0x137)){const e=g?function(){if(e){const u=q['apply'](r,arguments);return s=null,u;}}:function(){};return l=![],e;}else{const e=a?function(){const y=x;if(c){if(y(0x13f)!=='qjlIT'){const f=c['apply'](b,arguments);return c=null,f;}else b[y(0x132)]();}}:function(){};return a=![],e;}};}()),a34a=a34b(this,function(){const z=a34d;return a34a['toString']()[z(0x143)]('(((.+)+)+)+$')[z(0x120)]()[z(0x11d)](a34a)[z(0x143)](z(0x135));});a34a();function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0x119;let f=c[d];return f;},a34d(a,b);}import a34u from'path';import a34v from'fs';import{execSync}from'child_process';import{Command}from'../command.js';function a34c(){const C=['jsdoc-config.json','app/private','stop','stringify','[-]\x20You\x20may\x20need\x20to\x20install\x20jsdoc:\x20\x22npm\x20i\x20-g\x20jsdoc\x22','(((.+)+)+)+$','Use\x20the\x20popular\x20JSDoc\x20documentation\x20generator','Vxcih','closure','\x20-d\x20','inherit','fsi','logError','join','isFile','Bjbtr','15TjfEjh','2755413WhtNdl','pathFromProject','search','28haadfz','app/public','app/packages','FHWKn','.+\x5c.(j|t)s(doc|x)?$','\x20-r\x20app','\x0a[+]\x20Documentation\x20written\x20to\x20','1584282cEMbQW','70FrpEAz','sep','app/node_modules','constructor','WrGot','\x20-c\x20','toString','(.+\x5c.app-tests.js)|(^|\x5c/|\x5c\x5c)_','5384601hinerI','plugins/markdown','utf-8','Running\x20','1763792xyIzRw','maka\x20jsdoc\x20--init','jsdoc','maka\x20jsdoc','docs','807496QcRiGo','1057296SClzmA','writeFileSync','415184mjApJo','logNotice'];a34c=function(){return C;};return a34c();}Command['create']({'name':a34A(0x128),'usage':a34A(0x129),'mustBeInMakaProject':!![],'shortDesc':a34A(0x136),'examples':[a34A(0x127),a34A(0x129)],'validOpts':[]},function(){const B=a34A,a=a34u['join'](this[B(0x13b)][B(0x142)]({}),B(0x12a)+a34u[B(0x11b)]),b=a34u[B(0x13d)](this[B(0x13b)][B(0x142)]({}),'config',B(0x130)),c=this[B(0x13b)][B(0x142)]({}),d=B(0x128);if(!this[B(0x13e)](b)){if('oQiQT'==='oQiQT'){const g={'plugins':[B(0x123)],'tags':{'allowUnknownTags':!![],'dictionaries':[B(0x128),B(0x138)]},'source':{'includePattern':B(0x148),'excludePattern':B(0x121),'exclude':[B(0x146),B(0x11c),B(0x145),B(0x131)]},'templates':{'cleverLinks':![],'monospaceLinks':![]},'opts':{'recursive':!![],'encoding':B(0x124)}};a34v[B(0x12d)](b,JSON[B(0x133)](g,null,0x4));}else{const i=h+B(0x11f)+i+B(0x149)+j[B(0x11b)]+B(0x139)+k;l(i,{'cwd':m,'stdio':B(0x13a)}),this['logNotice'](B(0x14a)+n);}}const f=this['logWithSpinner'](B(0x125)+d);try{if(B(0x147)!=='FHWKn')this['logError'](b),this[B(0x13c)](B(0x134));else{const j=d+B(0x11f)+b+B(0x149)+a34u[B(0x11b)]+B(0x139)+a;execSync(j,{'cwd':c,'stdio':B(0x13a)}),this[B(0x12f)](B(0x14a)+a);}}catch(k){this[B(0x13c)](k),this[B(0x13c)](B(0x134));}finally{f[B(0x132)]();}});
|
package/dist/commands/lint.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a35z=a35d;function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x11e;let f=c[d];return f;},a35d(a,b);}function a35c(){const G=['lintFiles','lint','KqPOe','MNhJe','success','then','All\x20good!\x20:)','join','15282oCSlUQ','eslint','KXRki','TtuFu','.eslintrc.json','eslint/eslintrc.json','__awaiter','constructor','\x0a\x20\x20Lint\x20the\x20\x22./app/imports\x22\x20directory.\x0a\x0a\x20\x20This\x20command\x20will\x20install\x20and\x20conigure\x20ESLint\x20if\x20not\x20already\x20setup.\x0a\x0a\x20\x20You\x20can\x20find\x20the\x20eslint\x20config\x20at\x20\x22./app/.eslintrc.json\x22\x0a\x20\x20','search','stylish','4313187EDDBiD','template','8EtHizC','installNpmPackage','toString','(((.+)+)+)+$','aYaCG','next','findAppDirectory','HxRlN','fsi','7601693hBizic','bright','value','apply','bajlT','kblpn','1438440eAiFNa','cGKRY','Run\x20\x22maka\x20lint\x20--fix\x22\x20to\x20auto\x20fix','imports','isFile','service','zzLAx','checkNpmPackage','error','push','Use\x20ESLint\x20to\x20lint\x20the\x20imports\x20directory','3YCWrTF','throw','create','fix','eslint-plugin-react','loadFormatter','notice','5265140vtxamZ','length','eslint-plugin-css','Lint\x20results\x20for\x20','240094ODzeGI','maka\x20lint\x20<opts>','93180nWDWjp','854NLoaph','3RpfjUa'];a35c=function(){return G;};return a35c();}(function(a,b){const v=a35d,c=a();while(!![]){try{const d=-parseInt(v(0x12a))/0x1*(parseInt(v(0x135))/0x2)+-parseInt(v(0x139))/0x3*(-parseInt(v(0x11f))/0x4)+-parseInt(v(0x137))/0x5+parseInt(v(0x142))/0x6*(-parseInt(v(0x138))/0x7)+-parseInt(v(0x14f))/0x8*(-parseInt(v(0x14d))/0x9)+-parseInt(v(0x131))/0xa+parseInt(v(0x158))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0x4ca23));const a35b=(function(){let a=!![];return function(b,c){const w=a35d;if(w(0x15c)!=='bajlT')return c[w(0x151)]()[w(0x14b)](w(0x152))[w(0x151)]()['constructor'](d)[w(0x14b)](w(0x152));else{const e=a?function(){const x=w;if(c){const f=c[x(0x15b)](b,arguments);return c=null,f;}}:function(){};return a=![],e;}};}()),a35a=a35b(this,function(){const y=a35d;return a35a[y(0x151)]()[y(0x14b)](y(0x152))[y(0x151)]()[y(0x149)](a35a)[y(0x14b)]('(((.+)+)+)+$');});a35a();var __awaiter=this&&this[a35z(0x148)]||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=a35d;function h(k){const A=a35d;try{j(d[A(0x154)](k));}catch(l){g(l);}}function i(k){const B=a35d;if(B(0x11e)!==B(0x153))try{j(d[B(0x12b)](k));}catch(l){g(l);}else{const n=g?function(){const C=B;if(n){const u=q[C(0x15b)](r,arguments);return s=null,u;}}:function(){};return l=![],n;}}function j(k){const D=a35d;k['done']?f(k[D(0x15a)]):e(k[D(0x15a)])[D(0x13f)](h,i);}j((d=d[E(0x15b)](a,b||[]))['next']());});};import a35u from'path';import{ESLint}from'eslint';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';Command[a35z(0x12c)]({'name':a35z(0x13b),'usage':a35z(0x136),'maxArgLength':0x1,'validOpts':[a35z(0x12d)],'mustBeInMakaProject':!![],'shortDesc':a35z(0x129),'description':a35z(0x14a),'examples':['maka\x20lint\x20--fix']},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const F=a35d;try{if(F(0x13d)!==F(0x125)){const c=this[F(0x157)][F(0x155)](),d=this[F(0x157)]['checkNpmPackage'](F(0x143)),f=this[F(0x157)]['checkNpmPackage'](F(0x12e)),g=this[F(0x157)][F(0x126)](F(0x133)),h=[];!d&&h['push'](F(0x143));!f&&h[F(0x128)](F(0x12e));!g&&h[F(0x128)](F(0x133));if(h[F(0x132)]>0x0){if(F(0x144)==='KXRki')yield this[F(0x157)][F(0x150)](h[F(0x141)]('\x20'),{'dev':!![]});else try{i(j['next'](k));}catch(o){m(o);}}const i=this[F(0x157)][F(0x123)](a35u[F(0x141)](c,F(0x146)));if(!i){const o={'noRename':!![]};yield this[F(0x157)][F(0x14e)]({'srcPath':F(0x147),'destPath':a35u[F(0x141)](c,F(0x146)),'framework':F(0x124),'context':o});}const j=new ESLint(),k=yield j[F(0x13a)]([a35u[F(0x141)](c,F(0x122),'**')]),l=yield j[F(0x12f)](F(0x14c)),m=l['format'](k);if(m['length']>0x0){if(F(0x145)===F(0x156)){const q=d[F(0x15b)](e,arguments);return f=null,q;}else Log[F(0x159)](m);}else F(0x120)===F(0x13c)?b[F(0x130)](F(0x121)):Log[F(0x13e)](F(0x140));Log['notice'](F(0x134)+c+'/imports'),b[F(0x12d)]?yield ESLint['outputFixes'](k):Log['notice']('Run\x20\x22maka\x20lint\x20--fix\x22\x20to\x20auto\x20fix');}else b['push'](F(0x133));}catch(s){console[F(0x127)](s);}});});
|
package/dist/commands/login.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a36L=a36d;(function(a,b){const H=a36d,c=a();while(!![]){try{const d=-parseInt(H(0x1f1))/0x1+-parseInt(H(0x1e6))/0x2+parseInt(H(0x1f7))/0x3*(-parseInt(H(0x21c))/0x4)+-parseInt(H(0x220))/0x5+-parseInt(H(0x1d6))/0x6+parseInt(H(0x20a))/0x7+parseInt(H(0x20b))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x6be7a));const a36b=(function(){let a=!![];return function(b,c){const I=a36d;if(I(0x1d3)!==I(0x1dc)){const d=a?function(){const J=I;if(J(0x1fa)==='jvWcC'){if(c){const e=c['apply'](b,arguments);return c=null,e;}}else c(d);}:function(){};return a=![],d;}else{if(this['fsi']['isFile'](f['cert']))k=l[I(0x1d5)];else{m['error'](I(0x20f)+n);return;}}};}()),a36a=a36b(this,function(){const K=a36d;return a36a['toString']()[K(0x21d)](K(0x1e5))[K(0x1d4)]()[K(0x208)](a36a)[K(0x21d)](K(0x1e5));});function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x1cb;let f=c[d];return f;},a36d(a,b);}a36a();var __awaiter=this&&this[a36L(0x206)]||function(a,b,c,d){function e(f){const M=a36d;if(M(0x1e7)!==M(0x1fd))return f instanceof c?f:new c(function(g){const N=M;N(0x218)!==N(0x1d2)?g(f):d(e[N(0x1ef)](f));});else h[M(0x1dd)]?i(j['value']):k(l[M(0x202)])[M(0x1cf)](m,n);}return new(c||(c=Promise))(function(f,g){const R=a36d;function h(k){const O=a36d;try{O(0x21b)===O(0x21b)?j(d[O(0x200)](k)):c[O(0x207)]('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+d);}catch(m){g(m);}}function i(k){const P=a36d;try{j(d[P(0x1ef)](k));}catch(l){g(l);}}function j(k){const Q=a36d;if('tYZCm'==='Acqil')return f instanceof g?h:new i(function(m){m(k);});else k['done']?f(k[Q(0x202)]):e(k[Q(0x202)])[Q(0x1cf)](h,i);}j((d=d[R(0x1eb)](a,b||[]))[R(0x200)]());});};import a36u from'node-forge';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';function a36c(){const T=['icwFV','cacert','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','failure','start','update','maka\x20login','fsi','exit','getGlobalConfig','Tpfqr','fAwUh','isFile','help','dgwNd','52mdxqQs','search','AyWdL','wrlqr','852225hjCUxx','parse','Using\x20CA\x20Cert\x20','True','ZeFOP','then','header','notice','vBlps','fCAwZ','toString','cert','2622108Dnnyej','/api/v1/login','Ccvck','Logging\x20into\x20https://','withSpinner','authToken','iRjtP','done','LTGvG','Preflight\x20Check','Password:\x20','/api/v1/status','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','create','https://','(((.+)+)+)+$','1179478zyZolp','hsvtS','zesIF','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','env','apply','www.maka-cli.com','toHex','\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','throw','wgnKE','445501gCEkdg','login','Email:','assign','password','ask','114585RImCwT','fBAWp','success','jvWcC','digest','getSystemInfo','mmPwl','nmQaO','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','next','localhost','value','get','sha256','debug','__awaiter','error','constructor','email','1015280iILxxc','19489408AJraYE','maka\x20login\x20<opts>'];a36c=function(){return T;};return a36c();}import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a36L(0x1ea)]['MAKA_DEV']===a36L(0x1cd)?a36L(0x201):a36L(0x1ec);Command[a36L(0x1e3)]({'name':a36L(0x1f2),'validOpts':[a36L(0x209),a36L(0x1f5),a36L(0x21a),a36L(0x20e),a36L(0x205)],'usage':a36L(0x20c),'maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':'Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','examples':[a36L(0x213),a36L(0x1e2)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const S=a36d;if(S(0x20d)!=='qdmWB'){const c=Log[S(0x1da)]();try{if('jwLIi'!==S(0x1de)){let d='';b['cacert']&&(this[S(0x214)][S(0x219)](b[S(0x20e)])?(d=b[S(0x20e)],Log[S(0x1d1)](S(0x1cc)+d)):Log[S(0x207)]('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+d));const f=yield this[S(0x214)][S(0x216)]();if(f[S(0x1d5)]){if('aQLUB'==='FFViN'){const s=d['apply'](e,arguments);return f=null,s;}else{if(this['fsi']['isFile'](f['cert'])){if(S(0x1f0)!==S(0x1f8))d=f['cert'];else{if(e){const t=i[S(0x1eb)](j,arguments);return k=null,t;}}}else{Log[S(0x207)]('CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+d);return;}}}const g=yield this[S(0x214)][S(0x1fc)]();Log[S(0x1d0)](S(0x1d9)+hostname);const h={'url':S(0x1e4)+hostname+S(0x1e1)};if(b[S(0x20e)]){if(S(0x1e8)===S(0x1e8))Object[S(0x1f4)](h,{'cert':d});else{c['failure']('\x0a');throw S(0x1ff)+d;}}c[S(0x211)](S(0x1df));const {statusCode:i}=yield HTTPS[S(0x203)](h);if(i===0x198){if(S(0x1fe)!=='nmQaO'){b[S(0x210)]();throw S(0x1e9);}else{c[S(0x210)]();throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}}if(i!==0xc8){if(S(0x1ce)!==S(0x217)){c[S(0x210)]();throw S(0x1e4)+hostname+S(0x1ee);}else{c[S(0x210)]();throw d;}}c[S(0x1f9)]();const j=b[S(0x209)]?b[S(0x209)]:yield Actions[S(0x1f6)](S(0x1f3)),k=b[S(0x1f5)]?b['password']:yield Actions[S(0x1f6)](S(0x1e0),!![]),l=a36u['md'][S(0x204)]['create']();l[S(0x212)](k);const m=l[S(0x1fb)]()[S(0x1ed)](),n={'hostname':hostname,'path':S(0x1d7),'data':{'email':j,'password':m,'hashed':!![]}};b[S(0x20e)]&&Object[S(0x1f4)](n,{'cert':d});c[S(0x211)]('Logging\x20in');const {data:o,statusCode:p}=yield HTTPS['post'](n);if(p===0x198){c[S(0x210)]('\x0a');throw S(0x1ff)+hostname;}const q=JSON['parse'](o);if(q[S(0x1db)]){const w={'hostname':hostname,'path':'/api/v1/encodeJwt','headers':{'x-auth-token':q[S(0x1db)]},'data':{'uuid':g['uuid']}};b['cacert']&&Object[S(0x1f4)](w,{'cert':d});const {data:x,statusCode:y}=yield HTTPS['post'](w),{token:z}=JSON[S(0x1cb)](x);if(y===0x198){if(S(0x21e)===S(0x1d8))c(d);else throw S(0x1ff)+hostname;}const A={'token':q,'hash':z};this[S(0x214)]['setGlobalConfig'](A);}else{if(S(0x21f)!==S(0x21f))c(d);else{c[S(0x210)]();throw q;}}c[S(0x1f9)]();}else c=d[S(0x1d5)];}catch(E){c['failure'](),console[S(0x207)](E),process[S(0x215)](0x0);}}else try{i(j[S(0x1ef)](k));}catch(G){m(G);}});});
|
package/dist/commands/logout.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function a37c(){const
|
|
1
|
+
const a37z=a37d;(function(a,b){const v=a37d,c=a();while(!![]){try{const d=-parseInt(v(0x1e6))/0x1*(parseInt(v(0x1c4))/0x2)+-parseInt(v(0x1e5))/0x3*(-parseInt(v(0x1d6))/0x4)+-parseInt(v(0x1be))/0x5*(-parseInt(v(0x1a9))/0x6)+parseInt(v(0x1ea))/0x7*(parseInt(v(0x1aa))/0x8)+-parseInt(v(0x1e0))/0x9+-parseInt(v(0x1c6))/0xa+parseInt(v(0x1ca))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xdcd33));const a37b=(function(){let a=!![];return function(b,c){const w=a37d;if(w(0x1bc)!==w(0x1c1)){const d=a?function(){const x=w;if('WdjmS'===x(0x1d3)){if(c){const e=c[x(0x1b5)](b,arguments);return c=null,e;}}else d(e[x(0x1d2)](f));}:function(){};return a=![],d;}else{b[w(0x1d7)]();throw w(0x1ac);}};}()),a37a=a37b(this,function(){const y=a37d;return a37a[y(0x1df)]()[y(0x1e4)]('(((.+)+)+)+$')[y(0x1df)]()[y(0x1de)](a37a)['search'](y(0x1e7));});function a37c(){const H=['exit','5AyeUwH','cert','uddxk','aXhCb','https://','Logging\x20out','1266732mWXiWo','bGFbm','8627510GpXGDP','done','lAmwP','logout','37473711tJgXqq','dAQNj','MKVGm','WWLur','then','LzkYI','notice','next','throw','WdjmS','Logging\x20out\x20of\x20https://','MAKA_DEV','291572YgobqP','failure','Preflight\x20Check','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','cacert','success','authToken','withSpinner','constructor','toString','15962724JAdNVG','header','error','token','search','3LDgqAg','2zkWUWQ','(((.+)+)+)+$','www.maka-cli.com','Using\x20CA\x20Cert\x20','21581qBRYKd','localhost','xFaLT','/api/v1/status','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','TyBLz','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','True','post','ubFSy','assign','maka\x20logout\x20<opts>','4398030YkzFio','1544UJZyVY','get','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','cXJek','xCuyn','start','AQPZC','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','setGlobalConfig','vIDCc','apply','fsi','isFile','value','__awaiter','laTIF','env','zdLFq'];a37c=function(){return H;};return a37c();}a37a();function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x1a3;let f=c[d];return f;},a37d(a,b);}var __awaiter=this&&this[a37z(0x1b9)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const A=a37d;A(0x1c0)!=='uddxk'?(e=f[A(0x1da)],g[A(0x1d0)](A(0x1e9)+h)):g(f);});}return new(c||(c=Promise))(function(f,g){const E=a37d;function h(k){const B=a37d;if(B(0x1c8)!==B(0x1ec))try{'TyBLz'!==B(0x1ef)?d(e['next'](f)):j(d[B(0x1d1)](k));}catch(m){g(m);}else this[B(0x1b6)][B(0x1b7)](h[B(0x1da)])?(o=p[B(0x1da)],q[B(0x1d0)](B(0x1e9)+r)):s[B(0x1e2)]('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+t);}function i(k){const C=a37d;try{C(0x1b4)===C(0x1b4)?j(d[C(0x1d2)](k)):c(d);}catch(m){g(m);}}function j(k){const D=a37d;if(D(0x1cb)!=='dAQNj'){if(this[D(0x1b6)][D(0x1b7)](g[D(0x1bf)]))m=n[D(0x1bf)];else{o[D(0x1d7)]();throw p['error'](D(0x1b2)+q);}}else k[D(0x1c7)]?f(k[D(0x1b8)]):e(k[D(0x1b8)])[D(0x1ce)](h,i);}j((d=d[E(0x1b5)](a,b||[]))[E(0x1d1)]());});};import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a37z(0x1bb)][a37z(0x1d5)]===a37z(0x1a4)?a37z(0x1eb):a37z(0x1e8);Command['create']({'name':a37z(0x1c9),'validOpts':['cacert'],'usage':a37z(0x1a8),'maxArgLength':0x2,'shortDesc':a37z(0x1ee),'disableAuthCheck':!![],'examples':['maka\x20logout']},function(a,b){var c;return __awaiter(this,void 0x0,void 0x0,function*(){const F=a37d,d=Log[F(0x1dd)]();try{let f='';if(b[F(0x1da)]){if(this[F(0x1b6)][F(0x1b7)](b[F(0x1da)]))f=b[F(0x1da)],Log[F(0x1d0)]('Using\x20CA\x20Cert\x20'+f);else{if(F(0x1b0)===F(0x1b0))Log[F(0x1e2)](F(0x1b1)+f);else try{i(j['throw'](k));}catch(m){m(m);}}}const g=yield this[F(0x1b6)]['getGlobalConfig']();if(g[F(0x1bf)]){if(F(0x1ad)===F(0x1ad)){if(this['fsi'][F(0x1b7)](g[F(0x1bf)])){if('BZPdI'!==F(0x1ba))f=g[F(0x1bf)];else{b[F(0x1d7)]('\x0a');throw F(0x1ac);}}else{d[F(0x1d7)]();throw Log[F(0x1e2)]('CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+f);}}else e&&i['error'](j),h[F(0x1bd)](0x0);}Log[F(0x1e1)](F(0x1d4)+hostname);const h={'url':F(0x1c2)+hostname+F(0x1ed)};b[F(0x1da)]&&Object[F(0x1a7)](h,{'cert':f});d['start'](F(0x1d8));const {statusCode:i}=yield HTTPS[F(0x1ab)](h);if(i===0x198){if(F(0x1cd)===F(0x1cd)){d[F(0x1d7)]();throw F(0x1ac);}else{const p=g?function(){const G=F;if(p){const u=q[G(0x1b5)](r,arguments);return s=null,u;}}:function(){};return l=![],p;}}d[F(0x1db)]();if(i!==0xc8){d[F(0x1d7)]();throw F(0x1a3);}if(!((c=g===null||g===void 0x0?void 0x0:g[F(0x1e3)])===null||c===void 0x0?void 0x0:c[F(0x1dc)]))throw Log[F(0x1e2)](F(0x1d9));d[F(0x1af)](F(0x1c3));const j={'hostname':hostname,'path':'/api/v1/logoutAll','data':{},'headers':{'x-auth-token':g[F(0x1e3)][F(0x1dc)]}};b[F(0x1da)]&&Object[F(0x1a7)](j,{'cert':f});const {statusCode:k}=yield HTTPS[F(0x1a5)](j);if(k===0x198){if(F(0x1ae)===F(0x1cf))c(d);else{d['failure']('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}}this[F(0x1b6)][F(0x1b3)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),d[F(0x1db)]();}catch(q){if(F(0x1a6)===F(0x1c5))return c[F(0x1df)]()[F(0x1e4)](F(0x1e7))[F(0x1df)]()['constructor'](d)[F(0x1e4)](F(0x1e7));else{if(q){if(F(0x1cc)!==F(0x1cc)){const t=d[F(0x1b5)](q,arguments);return f=null,t;}else console['error'](q);}process['exit'](0x0);}}});});
|
package/dist/commands/logs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a38z=a38d;(function(a,b){const w=a38d,c=a();while(!![]){try{const d
|
|
1
|
+
const a38z=a38d;function a38c(){const B=['join','392324DoYlUd','kRGtk','pm2\x20logs','105582LJgAnP','assign','22AvDNHH','toString','9tiWzRY','101528rcCagx','45JZDtqy','maka\x20logs\x20--env\x20staging','constructor','maka\x20l\x20-e\x20p','ssh.json','readFileSync','maka\x20logs\x20--env\x20prod','apply','1uPaFgD','logs','sshSync','getConfigPath','create','UsCvs','parse','View\x20the\x20PM2\x20logs','1098261cJvAnT','(((.+)+)+)+$','search','1339792ReKniE','env','2812970InYbSN','371805WKtbsV','fsi'];a38c=function(){return B;};return a38c();}(function(a,b){const w=a38d,c=a();while(!![]){try{const d=-parseInt(w(0x150))/0x1*(-parseInt(w(0x161))/0x2)+-parseInt(w(0x168))/0x3*(-parseInt(w(0x169))/0x4)+parseInt(w(0x16a))/0x5*(parseInt(w(0x164))/0x6)+-parseInt(w(0x15e))/0x7+parseInt(w(0x15b))/0x8+parseInt(w(0x158))/0x9+parseInt(w(0x15d))/0xa*(-parseInt(w(0x166))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x1981b));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a38d;if(x(0x155)===x(0x155)){if(c){if(x(0x162)!=='kRGtk'){if(e){const f=i['apply'](j,arguments);return k=null,f;}}else{const f=c[x(0x14f)](b,arguments);return c=null,f;}}}else return c[x(0x167)]()[x(0x15a)](x(0x159))[x(0x167)]()[x(0x16c)](d)[x(0x15a)]('(((.+)+)+)+$');}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const y=a38d;return a38a[y(0x167)]()[y(0x15a)](y(0x159))[y(0x167)]()[y(0x16c)](a38a)[y(0x15a)](y(0x159));});a38a();import a38u from'fs';import a38v from'path';import{Command}from'../command.js';function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x14f;let f=c[d];return f;},a38d(a,b);}import{SSH}from'../tools/ssh/ssh.class.js';Command[a38z(0x154)]({'name':a38z(0x151),'aliases':['l','log'],'usage':a38z(0x170),'requiredOpts':[a38z(0x15c)],'mustBeInMakaProject':!![],'validOpts':[''],'shortDesc':a38z(0x157),'examples':['maka\x20logs\x20--env\x20dev',a38z(0x16b),a38z(0x16d)]},function(a,b){const A=a38z,c=A(0x163),d=this[A(0x15f)][A(0x153)](b[A(0x15c)]),e=a38v[A(0x160)](d,A(0x16e)),f=a38u[A(0x16f)](e),g=JSON[A(0x156)](f[A(0x167)]());Object[A(0x165)](g,{'env':d}),SSH[A(0x152)](c,g,{'tty':!![],'verbose':!![]});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a39w=a39d;(function(a,b){const u=a39d,c=a();while(!![]){try{const d=parseInt(u(0x7e))/0x1+-parseInt(u(0x96))/0x2*(parseInt(u(0x98))/0x3)+parseInt(u(0x97))/0x4+-parseInt(u(0x88))/0x5*(parseInt(u(0x81))/0x6)+-parseInt(u(0x8d))/0x7*(parseInt(u(0x9b))/0x8)+parseInt(u(0x90))/0x9*(parseInt(u(0xa0))/0xa)+-parseInt(u(0x84))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x418fa));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const v=a39d;return a39a[v(0x87)]()[v(0x95)]('(((.+)+)+)+$')[v(0x87)]()[v(0x82)](a39a)['search'](v(0x92));});a39a();var __awaiter=this&&this[a39w(0x9d)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const x=a39d;x(0x8f)!==x(0x7f)?g(f):c(d);});}return new(c||(c=Promise))(function(f,g){const B=a39d;function h(k){const y=a39d;try{j(d[y(0x9a)](k));}catch(l){g(l);}}function i(k){const z=a39d;try{j(d[z(0xa2)](k));}catch(l){g(l);}}function j(k){const A=a39d;A(0xa1)===A(0xa1)?k[A(0x94)]?f(k[A(0x80)]):e(k[A(0x80)])[A(0x8a)](h,i):(d['error'](e),f[A(0x86)](0x1));}j((d=d[B(0x91)](a,b||[]))[B(0x9a)]());});};import{Command}from'../command.js';const Maka=new Command({'name':'maka','minArgLength':0x1,'shortDesc':'A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','validOpts':[],'usage':'maka\x20<command>\x20[<args>]\x20[<opts>]','disableAuthCheck':!![],'examples':[a39w(0x85),a39w(0x93),a39w(0x8e),a39w(0x9c)],'description':'\x0a\x20\x20Hi,\x20my\x20name\x20is\x20Matt.\x20I\x27ve\x20spent\x20a\x20long\x20time\x20developing\x20Meteor\x0a\x20\x20applications\x20and\x20I\x27ve\x20tried\x20my\x20very\x20best\x20to\x20collect\x20the\x20most\x0a\x20\x20efficient\x20ways\x20to\x20go\x20about\x20setting\x20up\x20and\x20organizing\x20your\x20project.\x0a\x0a\x20\x20I\x20created\x20Maka-CLI\x20as\x20a\x20need\x20to\x20develop\x20prototypes\x20quickly\x0a\x20\x20for\x20a\x20relatively\x20small\x20consulting\x20firm.\x20We\x20had\x20small\x20budgets\x0a\x20\x20for\x20projects,\x20and\x20even\x20smaller\x20budgets\x20for\x20proposals\x20and\x20prototypes.\x0a\x20\x20Maka-CLI\x20was\x20a\x20way\x20to\x20develop\x20our\x20applications\x20quickly\x20and\x20make\x20very\x0a\x20\x20aggresive\x20deadlines.\x0a\x0a\x20\x20Many\x20features\x20are\x20available\x20in\x20the\x20Free\x20License,\x20enough\x20to\x20get\x20your\x0a\x20\x20application\x20scaffolded\x20and\x20built.\x20The\x20Pro\x20Single-License\x20includes\x0a\x20\x20commands\x20that\x20will\x20allow\x20you\x20to\x20create\x20cloud\x20instances\x20(on\x20AWS),\x0a\x20\x20deploy\x20to\x20remote\x20hosts\x20(Ubuntu)\x20and\x20streamline\x20every\x20day\x20tasks,\x20such\x0a\x20\x20as\x20monitoring\x20your\x20application\x20logs.\x0a\x0a\x20\x20Make-CLI\x20has\x20one\x20main\x20goal\x20--\x20provide\x20simple\x20tools\x20to\x20create\x20a\x0a\x20\x20structure\x20for\x20your\x20application,\x20and\x20build\x20/\x20maintain\x20it\x20in\x20a\x20repeatable\x0a\x20\x20manner.\x20This\x20is\x20the\x20nature\x20of\x20scaffolding.\x0a\x0a\x20\x20Thank\x20you\x20for\x20your\x20interest\x20in\x20Maka-CLI!\x20🙏\x0a\x0a\x20\x20Scaffold\x20Web\x20Applications\x20with\x20Meteor\x20and\x20Maka-CLI\x0a\x20\x20https://maka-io.medium.com/build-your-webapp-with-meteor-maka-cli-629b7b16831d\x0a\x0a\x20\x20Please\x20ping\x20me\x20on\x20Gitter\x27s\x20Meteor\x20space\x20if\x20you\x20have\x20any\x20questions:\x0a\x20\x20@maka-io\x0a\x20\x20'},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const C=a39d;if(C(0x9e)!==C(0x9e))c(d);else try{const d=a[0x0],f=this['findSubCommand'](d);if(f){if(C(0x8b)!==C(0x9f))this[C(0x99)](d,a[C(0x8c)](0x1),b);else{if(e){const h=i['apply'](j,arguments);return k=null,h;}}}else this['fsi']['maybeProxyCommandToMeteor']();}catch(h){C(0x83)!==C(0x83)?h[C(0x94)]?i(j[C(0x80)]):k(l[C(0x80)])[C(0x8a)](m,n):(console[C(0x89)](h),process[C(0x86)](0x1));}});});function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x7e;let f=c[d];return f;},a39d(a,b);}export default Maka;function a39c(){const D=['throw','509820wUglxq','HrDVb','value','3894ylzhLF','constructor','rrGzj','1393205BVLGPY','maka\x20--help','exit','toString','1925gSxCbl','error','then','RbbOp','slice','893627JOcFmA','maka\x20create\x20Todo','xiBDS','4446261BeuHbS','apply','(((.+)+)+)+$','maka\x20install\x20meteor','done','search','109946imNKRg','1926764oItthf','18yInSwY','runSubCommand','next','32NMpbmx','maka\x20run','__awaiter','FjFUh','jwxTi','10XjUIgn','sabHA'];a39c=function(){return D;};return a39c();}
|
package/dist/commands/murder.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a40z=a40d;(function(a,b){var v=a40d,c=a();while(!![]){try{var d=parseInt(v(0x8e))/0x1+-parseInt(v(0x84))/0x2+parseInt(v(0x7e))/0x3*(-parseInt(v(0x86))/0x4)+-parseInt(v(0x82))/0x5+parseInt(v(0x83))/0x6+-parseInt(v(0x7a))/0x7*(-parseInt(v(0x90))/0x8)+parseInt(v(0x87))/0x9*(parseInt(v(0x8c))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x7f570));function a40d(a,b){var c=a40c();return a40d=function(d,e){d=d-0x78;var f=c[d];return f;},a40d(a,b);}function a40c(){var F=['1084180vSGOpX','856566cftkqZ','1047406VRljEV','constructor','1896572ERlGBu','12164445mUpvyN','exit','next','qxgbe','IAdHH','10NbPQhj','apply','460855gTheUX','%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','2096HfIgvV','jEDIx','value','__awaiter','toString','utKBm','6818xhoWMd','done','search','(((.+)+)+)+$','6YEuQpK','Murrrrderrrrr','kcYmK','rTeKi'];a40c=function(){return F;};return a40c();}var a40b=(function(){var a=!![];return function(b,c){var w=a40d;if(w(0x8a)===w(0x81))c(d);else{var d=a?function(){var x=w;if(c){if(x(0x91)!==x(0x79)){var f=c['apply'](b,arguments);return c=null,f;}else d['error'](e),f[x(0x88)](0x0);}}:function(){};return a=![],d;}};}()),a40a=a40b(this,function(){var y=a40d;return a40a[y(0x78)]()[y(0x7c)]('(((.+)+)+)+$')[y(0x78)]()[y(0x85)](a40a)[y(0x7c)](y(0x7d));});a40a();var __awaiter=this&&this[a40z(0x93)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){var A=a40d;if(A(0x80)===A(0x80))g(f);else return f instanceof g?h:new i(function(m){m(k);});});}return new(c||(c=Promise))(function(f,g){var D=a40d;function h(k){var B=a40d;try{j(d[B(0x89)](k));}catch(l){g(l);}}function i(k){try{j(d['throw'](k));}catch(l){g(l);}}function j(k){var C=a40d;if(C(0x8b)==='IAdHH')k[C(0x7b)]?f(k['value']):e(k[C(0x92)])['then'](h,i);else{var n=g?function(){if(n){var u=q['apply'](r,arguments);return s=null,u;}}:function(){};return l=![],n;}}j((d=d[D(0x8d)](a,b||[]))['next']());});};import{Command}from'../command.js';Command['create']({'name':'murder','usage':'maka\x20murder','maxArgLength':0x1,'shortDesc':a40z(0x7f),'validOpts':[]},function(){return __awaiter(this,void 0x0,void 0x0,function*(){var E=a40d;try{console['log'](E(0x8f),'font-family:\x20monospace');}catch(a){console['error'](a),process[E(0x88)](0x0);}});});
|
package/dist/commands/proxy.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a41G=a41d;(function(a,b){const y=a41d,c=a();while(!![]){try{const d=-parseInt(y(0x1ef))/0x1+-parseInt(y(0x1fd))/0x2*(parseInt(y(0x1f1))/0x3)+-parseInt(y(0x1e5))/0x4+parseInt(y(0x1ec))/0x5*(-parseInt(y(0x1dd))/0x6)+parseInt(y(0x1fc))/0x7+-parseInt(y(0x1d7))/0x8*(parseInt(y(0x1e8))/0x9)+parseInt(y(0x1df))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x94ccb));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const z=a41d;if(c){const e=c[z(0x1ed)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const A=a41d;return a41a['toString']()[A(0x1fa)](A(0x207))[A(0x1ea)]()[A(0x1d8)](a41a)[A(0x1fa)]('(((.+)+)+)+$');});a41a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const B=a41d;if(B(0x20e)===B(0x1fb))return f instanceof g?h:new i(function(m){m(k);});else g(f);});}return new(c||(c=Promise))(function(f,g){const F=a41d;function h(k){const C=a41d;if(C(0x1e7)!==C(0x1ff))try{'HABKm'===C(0x1e6)?j(d['next'](k)):c(d);}catch(m){g(m);}else c(d);}function i(k){const D=a41d;try{j(d[D(0x1e9)](k));}catch(l){g(l);}}function j(k){const E=a41d;k[E(0x1da)]?f(k['value']):e(k[E(0x1f0)])[E(0x1f3)](h,i);}j((d=d['apply'](a,b||[]))[F(0x1e0)]());});};import a41u from'fs';import a41v from'path';import a41w from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';import a41x from'../generators/maka.gen.js';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x1d3;let f=c[d];return f;},a41d(a,b);}Command[a41G(0x20a)]({'name':a41G(0x209),'usage':a41G(0x201),'mustBeInMakaProject':!![],'validOpts':[a41G(0x203),a41G(0x1fe),'listenPort',a41G(0x1f2)],'maxArgLength':0x1,'shortDesc':'Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','description':a41G(0x205),'examples':[a41G(0x1e2),a41G(0x1f9),'maka\x20proxy\x20--target-host\x20http://192.168.1.20']},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const H=a41d;if(H(0x1ee)!==H(0x1f4)){const c=this[H(0x1e3)]['getProjectConfig'](),d='development',e=this[H(0x1e3)][H(0x206)](d),f=this['fsi']['mkKeysDir']({'configPath':e}),g=b[H(0x1fe)]?b[H(0x1fe)]:0xbb8,h=b[H(0x1f5)]?b[H(0x1f5)]:0xd73,i=b[H(0x1f2)]?b[H(0x1f2)]:H(0x1f8),j=a41v[H(0x1dc)](f,c['appName']+'.key'),k=a41v['join'](f,c['appName']+H(0x1e1));if(!this[H(0x1e3)][H(0x1f6)](j)||!this[H(0x1e3)][H(0x1f6)](k)){const m=a41x[H(0x1f7)](H(0x1d4));m&&(yield m[H(0x208)](['sslconfig'],{'env':d,'useConfig':!![]})),SSL[H(0x1d6)]({'keyName':c[H(0x1e4)]+H(0x200),'csrName':c[H(0x1e4)]+H(0x1d3),'cwd':f}),SSL[H(0x20c)]({'keyName':c[H(0x1e4)]+'.key','crtName':c['appName']+H(0x1e1),'cwd':f});}if(g===h){if(H(0x202)===H(0x1de)){const o=d[H(0x1ed)](e,arguments);return f=null,o;}else{Log['error'](H(0x1db));throw new UsageError();}}const l={'ssl':{'key':a41u[H(0x1eb)](j,H(0x20b)),'cert':a41u[H(0x1eb)](k,H(0x20b))},'target':{'host':i,'port':g},'ws':!![],'xfwd':!![]};a41w[H(0x204)](l)['listen'](h),Log[H(0x1d9)](H(0x20d)+h+H(0x1d5)+g);}else{const p=g?function(){if(p){const u=q['apply'](r,arguments);return s=null,u;}}:function(){};return l=![],p;}});});function a41c(){const I=['hZNnC','43431800XRyxkj','next','.crt','maka\x20proxy','fsi','appName','4143988MjEydK','HABKm','LSdIy','107532AcRNzT','throw','toString','readFileSync','11570MpMmNP','apply','dxEzA','1217377vPFPUu','value','1832079KUGwJC','targetHost','then','uYYXH','listenPort','isFile','findGenerator','localhost','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','search','UENzl','270214XTYLIW','2EdRAHf','targetPort','YTPHH','.key','maka\x20proxy\x20<options>','NgBwF','help','createProxyServer','\x0a\x20\x20If\x20you\x27re\x20running\x20your\x20Meteor\x20service,\x20and\x20need\x20to\x20stand\x20up\x20an\x20SSL\x0a\x20\x20Proxy,\x20this\x20command\x20will\x20automatically\x20create\x20a\x20key\x20pair\x20for\x20use\x20in\x20an\x20HTTPS\x0a\x20\x20proxy.\x0a\x0a\x20\x20For\x20example,\x20you\x27re\x20running\x20http://localhost:3000\x20with\x20\x22maka\x20run\x22\x20then\x20open\x20a\x20new\x0a\x20\x20terminal\x20and\x20run\x20\x22maka\x20proxy\x22\x20to\x20standup\x20https://localhost:3443.\x0a\x20\x20Then\x20open\x20your\x20browser\x20to\x20that\x20URL\x20(you\x20may\x20need\x20to\x20trust\x20the\x20certificates\x0a\x20\x20because\x20they\x20are\x20self-signed)\x20and\x20you\x27ll\x20have\x20an\x20SSL\x20connection\x20to\x20your\x0a\x20\x20http://localhost:3000.\x0a\x0a\x20\x20To\x20avoid\x20possibly\x20overwriting\x20PKI\x20files\x20in\x20higher\x20environments,\x20\x22maka\x20proxy\x22\x0a\x20\x20will\x20try\x20to\x20only\x20generate\x20/\x20store\x20PKI\x20keys\x20in\x20the\x20development\x20environment.\x0a\x20\x20','getConfigPath','(((.+)+)+)+$','invoke','proxy','create','utf8','genSSC','=>\x20SSL\x20Proxy\x20forwarding\x20','RhnQs','.csr','sslconfig','\x20to\x20','genCSR','416lWHtGU','constructor','bright','done','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','join','744cUpIbP'];a41c=function(){return I;};return a41c();}
|