@maka/maka-cli 4.2.24 → 4.2.27
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 -0
- package/dist/commands/aws/dsg.sub.cmd.js +1 -0
- package/dist/commands/aws/rbi.sub.cmd.js +1 -1
- package/dist/commands/aws/rkp.sub.cmd.js +1 -0
- 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/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.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/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 +1 -1
- package/dist/commands/aws/dks.sub.cmd.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
function a30d(a,b){var c=a30c();return a30d=function(d,e){d=d-0x139;var f=c[d];return f;},a30d(a,b);}var a30E=a30d;(function(a,b){var v=a30d,c=a();while(!![]){try{var d=parseInt(v(0x151))/0x1+-parseInt(v(0x15b))/0x2*(parseInt(v(0x147))/0x3)+-parseInt(v(0x140))/0x4+-parseInt(v(0x156))/0x5*(-parseInt(v(0x14c))/0x6)+parseInt(v(0x14f))/0x7*(-parseInt(v(0x142))/0x8)+parseInt(v(0x15c))/0x9*(parseInt(v(0x146))/0xa)+-parseInt(v(0x144))/0xb*(-parseInt(v(0x14a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a30c,0xc67ca));function a30c(){var G=['1355529ekcXtQ','YfHzB','829456ylChRY','done','Get\x20maka\x20configurations\x20in\x20the\x20local\x20.maka/config.json\x20file','log','zjgCo','15UUbmpx','error','getProjectConfig','toString','create','41306TNNsYR','11876868SsSkQD','local-config','gtJLZ','constructor','QPSFg','apply','exit','nSFkf','throw','4077044CmcfDG','MgJPt','56wddiwj','next','4069813veJXuy','value','10xDqVsu','27qmteDZ','search','(((.+)+)+)+$','36nKFKso','maka\x20get:local-config','229224HtebQJ','GyDzT','Zbbuy'];a30c=function(){return G;};return a30c();}var a30b=(function(){var a=!![];return function(b,c){var d=a?function(){var w=a30d;if(w(0x14d)!==w(0x14d))try{i(j[w(0x13f)](k));}catch(g){m(g);}else{if(c){var e=c[w(0x13c)](b,arguments);return c=null,e;}}}:function(){};return a=![],d;};}()),a30a=a30b(this,function(){var x=a30d;return a30a['toString']()[x(0x148)]('(((.+)+)+)+$')[x(0x159)]()[x(0x13a)](a30a)[x(0x148)](x(0x149));});a30a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){var y=a30d;if(y(0x13b)==='xjqUN')d(e[y(0x143)](f));else return f instanceof c?f:new c(function(h){var z=y;if(z(0x13e)!==z(0x13e))return c['toString']()[z(0x148)](z(0x149))['toString']()[z(0x13a)](d)[z(0x148)](z(0x149));else h(f);});}return new(c||(c=Promise))(function(f,g){var D=a30d;function h(k){var A=a30d;if(A(0x14e)===A(0x14e))try{j(d['next'](k));}catch(l){if(A(0x155)!=='mVfaP')g(l);else{var n=d[A(0x13c)](l,arguments);return f=null,n;}}else d[A(0x157)](e),f[A(0x13d)](0x0);}function i(k){var B=a30d;try{if(B(0x150)===B(0x139)){if(e){var m=i[B(0x13c)](j,arguments);return k=null,m;}}else j(d[B(0x13f)](k));}catch(m){g(m);}}function j(k){var C=a30d;k[C(0x152)]?f(k[C(0x145)]):e(k[C(0x145)])['then'](h,i);}j((d=d[D(0x13c)](a,b||[]))[D(0x143)]());});};import a30u from'./get.command.js';import{Command}from'../../command.js';Command[a30E(0x15a)]({'name':a30E(0x15d),'usage':a30E(0x14b),'mustBeInMakaProject':!![],'description':a30E(0x153)},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){var F=a30d;try{if(F(0x141)===F(0x141)){const c=yield this['fsi'][F(0x158)]();console[F(0x154)](c);}else d(e['throw'](f));}catch(f){console[F(0x157)](f),process[F(0x13d)](0x0);}});},a30u);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a31c(){const E=['If\x20logged\x20in,\x20get\x20the\x20current\x20user\x27s\x20information','constructor','jfBvt','throw','User\x20ID:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','then','1037188aVifCc','error','decode','next','4772848tcalLe','toString','User\x20Access\x20Token:\x20\x20','authToken','__awaiter','200705DqaLEe','User\x20Email:\x20\x20\x20\x20\x20\x20\x20\x20\x20','nEqdV','user','userId','roles','search','maka\x20get:whoami','BKEiN','4908464OvUcGs','value','whoami','259715tocaEb','47312820DhbTPh','join','3wXqCaV','done','VcpMt','9rIHhra','token','4505984BoKdYG','create','exit','notice','Licenses:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','138AgkUcD'];a31c=function(){return E;};return a31c();}const a31y=a31d;(function(a,b){const w=a31d,c=a();while(!![]){try{const d=parseInt(w(0x126))/0x1+parseInt(w(0x146))/0x2*(-parseInt(w(0x135))/0x3)+-parseInt(w(0x12f))/0x4+parseInt(w(0x132))/0x5*(-parseInt(w(0x13f))/0x6)+-parseInt(w(0x13a))/0x7+parseInt(w(0x121))/0x8*(-parseInt(w(0x138))/0x9)+parseInt(w(0x133))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a31c,0xb76a6));const a31b=(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;};}()),a31a=a31b(this,function(){const x=a31d;return a31a[x(0x122)]()[x(0x12c)]('(((.+)+)+)+$')[x(0x122)]()[x(0x141)](a31a)[x(0x12c)]('(((.+)+)+)+$');});function a31d(a,b){const c=a31c();return a31d=function(d,e){d=d-0x11f;let f=c[d];return f;},a31d(a,b);}a31a();var __awaiter=this&&this[a31y(0x125)]||function(a,b,c,d){function e(f){const z=a31d;if(z(0x128)!==z(0x137))return f instanceof c?f:new c(function(g){if('kjMgE'==='SHlXV')return f instanceof g?h:new i(function(m){m(k);});else g(f);});else{const h=i[z(0x11f)](j['hash']);k['notice'](z(0x127)+(h===null||h===void 0x0?void 0x0:h[z(0x129)])),l[z(0x13d)](z(0x144)+m[z(0x139)]['userId']),n['notice'](z(0x123)+o['token'][z(0x124)]),p[z(0x13d)](z(0x13e)+(h===null||h===void 0x0?void 0x0:h[z(0x12b)][z(0x134)](',\x20')));}}return new(c||(c=Promise))(function(f,g){function h(k){const A=a31d;if(A(0x12e)!=='BKEiN')try{i(j[A(0x120)](k));}catch(m){m(m);}else try{j(d['next'](k));}catch(m){g(m);}}function i(k){const B=a31d;try{j(d[B(0x143)](k));}catch(l){if('leBcO'==='leBcO')g(l);else try{i(j['throw'](k));}catch(o){m(o);}}}function j(k){const C=a31d;k[C(0x136)]?f(k[C(0x130)]):e(k[C(0x130)])[C(0x145)](h,i);}j((d=d['apply'](a,b||[]))['next']());});};import a31u from'./get.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import a31v from'jsonwebtoken';Command[a31y(0x13b)]({'name':a31y(0x131),'usage':a31y(0x12d),'description':a31y(0x140)},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const D=a31d;try{const c=yield this['fsi']['getGlobalConfig']();if(c['hash']){const d=a31v[D(0x11f)](c['hash']);Log[D(0x13d)](D(0x127)+(d===null||d===void 0x0?void 0x0:d['user'])),Log[D(0x13d)](D(0x144)+c[D(0x139)][D(0x12a)]),Log['notice'](D(0x123)+c[D(0x139)][D(0x124)]),Log[D(0x13d)](D(0x13e)+(d===null||d===void 0x0?void 0x0:d[D(0x12b)][D(0x134)](',\x20')));}}catch(f){'jfBvt'===D(0x142)?(console[D(0x147)](f),process[D(0x13c)](0x0)):(d[D(0x147)](f),f[D(0x13c)](0x0));}});},a31u);
|
package/dist/commands/help.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a32d(a,b){var c=a32c();return a32d=function(d,e){d=d-0x1c6;var f=c[d];return f;},a32d(a,b);}var a32x=a32d;(function(a,b){var u=a32d,c=a();while(!![]){try{var d=-parseInt(u(0x1ce))/0x1*(parseInt(u(0x1df))/0x2)+parseInt(u(0x1dc))/0x3+-parseInt(u(0x1e0))/0x4+-parseInt(u(0x1db))/0x5+parseInt(u(0x1c8))/0x6+parseInt(u(0x1cc))/0x7*(parseInt(u(0x1c9))/0x8)+-parseInt(u(0x1d2))/0x9*(-parseInt(u(0x1d7))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a32c,0x93622));var a32b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a32d;if(v(0x1c6)===v(0x1c7))try{i(j[v(0x1d3)](k));}catch(g){m(g);}else{if(c){if(v(0x1d8)!==v(0x1d4)){var e=c[v(0x1d5)](b,arguments);return c=null,e;}else d(e[v(0x1d3)](f));}}}:function(){};return a=![],d;};}()),a32a=a32b(this,function(){var w=a32d;return a32a['toString']()['search'](w(0x1d1))[w(0x1dd)]()[w(0x1d6)](a32a)['search'](w(0x1d1));});a32a();var __awaiter=this&&this[a32x(0x1d9)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){var y=a32d;'YIhVx'!==y(0x1d0)?g(f):h['done']?i(j[y(0x1de)]):k(l[y(0x1de)])[y(0x1cb)](m,n);});}return new(c||(c=Promise))(function(f,g){var C=a32d;function h(k){var z=a32d;try{j(d[z(0x1d3)](k));}catch(l){g(l);}}function i(k){var A=a32d;try{j(d[A(0x1e1)](k));}catch(l){g(l);}}function j(k){var B=a32d;k[B(0x1cf)]?f(k[B(0x1de)]):e(k[B(0x1de)])[B(0x1cb)](h,i);}j((d=d[C(0x1d5)](a,b||[]))[C(0x1d3)]());});};function a32c(){var E=['help','2sWcGVX','done','PlFuA','(((.+)+)+)+$','1053207dOXEYI','next','ddzJD','apply','constructor','80qmtOnX','zSIlY','__awaiter','create','286925WcqaUB','2328222CVGVkx','toString','value','924710hhvmLL','4732368QFAdaD','throw','xjAXc','dcTGs','2288442NtMieG','32dOTWIs','iwRXx','then','1181607NWWlfE'];a32c=function(){return E;};return a32c();}import{Command}from'../command.js';import{UsageError}from'../error.js';Command[a32x(0x1da)]({'name':a32x(0x1cd),'description':'Try,\x20maka\x20--help','aliases':['h']},function(){return __awaiter(this,void 0x0,void 0x0,function*(){var D=a32d;if('iwRXx'!==D(0x1ca)){if(e){var b=i[D(0x1d5)](j,arguments);return k=null,b;}}else throw new UsageError();});});
|
package/dist/commands/install.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a33J=a33d;(function(a,b){const C=a33d,c=a();while(!![]){try{const d=-parseInt(C(0x6b))/0x1+parseInt(C(0x81))/0x2+-parseInt(C(0x7c))/0x3*(-parseInt(C(0x98))/0x4)+parseInt(C(0xb4))/0x5*(parseInt(C(0x90))/0x6)+-parseInt(C(0x89))/0x7+parseInt(C(0x77))/0x8*(-parseInt(C(0xad))/0x9)+-parseInt(C(0x97))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a33c,0x449cc));const a33b=(function(){let a=!![];return function(b,c){const D=a33d;if(D(0x8e)===D(0x8e)){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;}else return c[D(0xa5)]()['search'](D(0xbe))['toString']()[D(0x79)](d)[D(0x86)](D(0xbe));};}()),a33a=a33b(this,function(){const E=a33d;return a33a['toString']()[E(0x86)](E(0xbe))[E(0xa5)]()['constructor'](a33a)[E(0x86)](E(0xbe));});function a33c(){const L=['1925320KWwdrn','708VojbTg','xyTpf','Aborted','cert','grep','Installing\x20meteor\x20','printf\x20\x27export\x20PATH=$PATH:$HOME/.local/bin\x27\x20>>\x20$HOME/.profile\x20&&\x20source\x20$HOME/.profile','--cacert','BVQVe','KaRUd','Using\x20CA\x20Cert\x20','maka\x20install\x20meteor\x20-v\x202.3.6','foyVX','toString','debug','mkdir\x20-p\x20','next','EEgbR','warn','create','then','9EtkqZl','win32','platform','Network\x20error,\x20please\x20try\x20again.','done','smAAp','string','565XJvXPy','allowInsecure','homedir','os.osx.x86_64','getGlobalConfig','meteor.tar.gz','force','maka\x20install\x20meteor','--output','LXtCL','(((.+)+)+)+$','JxyOF','vVKbd','isFile','maka\x20i','withSpinner','tar','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','apply','VcQdh','Please\x20use\x20\x22npm\x20i\x20-g\x20meteor\x22\x20to\x20install\x20on\x20windows','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','cacert','throw','327290fnbzpg','printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.zshrc','/.local/bin','maka\x20install\x20meteor\x20--version\x201.12.1','notice','os.linux.x86_64','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka.cert,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','fsi','error','maka\x20install\x20meteor\x20--force','iOmtO','ignore','1201768zTpjmp','IXirr','constructor','curl\x20','anGKV','6189QnGyEc','version','curl','length','DZLJG','713516ewrdJL','QWdeP','/meteor-bootstrap-','.meteor','keepInstall','search','value','tFVxQ','1602524dKvCCn','Allowing\x20insecure\x20curl\x20connections.','ZIXGj','Meteor\x20version\x20','Removing\x20previous\x20install\x20of\x20meteor','rOkVS','join','24324eSTrkd','This\x20command\x20should\x20NOT\x20be\x20run\x20as\x20sudo\x20or\x20with\x20administrative\x20privileges.\x20\x20Are\x20you\x20ready\x20to\x20proceed?','SgKJf','exit','printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.bashrc','-xzf','oLEGP'];a33c=function(){return L;};return a33c();}a33a();function a33d(a,b){const c=a33c();return a33d=function(d,e){d=d-0x6a;let f=c[d];return f;},a33d(a,b);}var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){const F=a33d;if(F(0x82)!==F(0x92))return f instanceof c?f:new c(function(g){g(f);});else throw'Aborted';}return new(c||(c=Promise))(function(f,g){const I=a33d;function h(k){try{j(d['next'](k));}catch(l){g(l);}}function i(k){const G=a33d;if(G(0x80)===G(0xa0)){if(this[G(0x72)][G(0xc1)](i[G(0xca)]))q['notice']('Using\x20CA\x20Cert\x20'+r['cacert']),s=t[G(0xca)],u=[G(0x9f),v];else throw G(0xc9)+w;}else try{j(d['throw'](k));}catch(m){g(m);}}function j(k){const H=a33d;if(H(0xc0)===H(0x7b))throw H(0xc9)+b;else k[H(0xb1)]?f(k[H(0x87)]):e(k[H(0x87)])[H(0xac)](h,i);}j((d=d[I(0xc6)](a,b||[]))[I(0xa8)]());});};import a33x from'os';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';import{Actions}from'../tools/actions/actions.class.js';const homeDir=a33x[a33J(0xb6)]();Command[a33J(0xab)]({'name':'install','aliases':['i'],'validOpts':['f',a33J(0xba),'v','version',a33J(0xa6),a33J(0xca),a33J(0x85)],'usage':'maka\x20install','description':'Install\x20a\x20meteor.\x20\x22maka\x20install\x22\x20defaults\x20to\x20\x22maka\x20install\x20meteor\x22','examples':[a33J(0xbb),a33J(0x74),a33J(0xa3),a33J(0x6e),a33J(0xc2)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const K=a33d;if(K(0x99)===K(0xb2))d['error'](e),f['exit'](0x0);else try{let d=[],f='';if(b['cacert']){if(this[K(0x72)][K(0xc1)](b[K(0xca)]))K(0xbd)===K(0xa1)?c(d):(Log[K(0x6f)](K(0xa2)+b['cacert']),f=b[K(0xca)],d=[K(0x9f),f]);else throw K(0xc9)+f;}const g=yield this[K(0x72)][K(0xb8)]();if(g[K(0x9b)]){if(this['fsi']['isFile'](g[K(0x9b)])){if(K(0x96)!=='oLEGP')try{i(j[K(0xa8)](k));}catch(q){m(q);}else f=g[K(0x9b)],d=[K(0x9f),f];}else throw'CA\x20Cert\x20is\x20configured\x20in\x20~/.maka.cert,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+f;}g[K(0xb5)]&&(Log[K(0xaa)](K(0x8a)),d=['-k']);let h=![];if(b['f']||b[K(0xba)])h=!![];else{if(K(0xbf)!==K(0xbf)){if(e){const r=i[K(0xc6)](j,arguments);return k=null,r;}}else h=yield Actions['confirm'](K(0x91));}if(!h){if('hXQTJ'===K(0xa4))e=f[K(0x9b)],g=[K(0x9f),h];else throw K(0x9a);}const i=process[K(0xaf)]===K(0xae),j=process['platform']==='darwin';let k=execSync(K(0x7a)+d[K(0x8f)]('\x20')+'\x20-s\x20https://install.meteor.com/')[K(0xa5)](),l=yield this[K(0x72)][K(0x9c)](k,'RELEASE=');if(l[K(0x7f)]===0x0)throw K(0xb0);let m=l[0x0]['replace'](/[^0-9.]/gi,'')['replace'](/\r?\n|\r/,'');(typeof b['v']===K(0xb3)||typeof b[K(0x7d)]===K(0xb3))&&('iOmtO'===K(0x75)?m=b['v']||b['version']:d(e[K(0x6a)](f)));let n=a33y['join'](homeDir,K(0x84));if(i){if(K(0x78)!==K(0x78))try{i(j[K(0x6a)](k));}catch(u){m(u);}else Log[K(0xaa)](K(0xc8));}else{if(K(0xc7)!=='VcQdh')b=!![];else{if(a33z['existsSync'](n)){if(K(0x8b)==='ISHYF')throw K(0x71)+b;else yield SpawnAsync['withSpinner']('rm',['-rf',n],{'message':K(0x8d)});}try{if(K(0xa9)===K(0x88))g['notice'](K(0xa2)+h['cacert']),i=j[K(0xca)],k=[K(0x9f),l];else{const x=j?K(0xb7):K(0x70);yield SpawnAsync[K(0xc3)](K(0x7e),[...d,'-s','https://static-meteor.netdna-ssl.com/packages-bootstrap/'+m+K(0x83)+x+'.tar.gz',K(0xbc),a33y[K(0x8f)](homeDir,K(0xb9))],{'message':'Downloading\x20meteor\x20version\x20'+m});const y=[K(0x95),a33y['join'](homeDir,K(0xb9)),'-C',homeDir];yield SpawnAsync['withSpinner'](K(0xc4),y,{'message':K(0x9d)+m}),a33A['sync'](a33y[K(0x8f)](homeDir,K(0xb9)),{'force':!![]});}}catch(z){console['error'](z);}try{execSync(K(0xa7)+homeDir+K(0x6d),{'stdio':'ignore'}),execSync(K(0xc5),{'stdio':K(0x76)}),execSync(K(0x9e),{'stdio':K(0x76)}),execSync(K(0x94),{'stdio':'ignore'}),execSync(K(0x6c),{'stdio':K(0x76)});}catch(A){console[K(0x73)](A);}Log['success'](K(0x8c)+m+'\x20installed.\x0a');}}}catch(B){console[K(0x73)](B),process[K(0x93)](0x0);}});});
|
package/dist/commands/jsdoc.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a34z=a34d;(function(a,b){const w=a34d,c=a();while(!![]){try{const d=parseInt(w(0x1d3))/0x1+parseInt(w(0x1c8))/0x2*(parseInt(w(0x1cc))/0x3)+-parseInt(w(0x1c7))/0x4+parseInt(w(0x1df))/0x5*(parseInt(w(0x1cd))/0x6)+-parseInt(w(0x1c9))/0x7+parseInt(w(0x1c6))/0x8*(-parseInt(w(0x1e5))/0x9)+parseInt(w(0x1d0))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0xe6f74));const a34b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a34d;if(c){if('uswcn'!==x(0x1cb))b[x(0x1d5)]();else{const f=c['apply'](b,arguments);return c=null,f;}}}:function(){};return a=![],d;};}()),a34a=a34b(this,function(){const y=a34d;return a34a[y(0x1e8)]()['search'](y(0x1ea))['toString']()[y(0x1e0)](a34a)['search'](y(0x1ea));});function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0x1c3;let f=c[d];return f;},a34d(a,b);}a34a();import a34u from'path';import a34v from'fs';import{execSync}from'child_process';import{Command}from'../command.js';function a34c(){const B=['17969480gwbPap','sKnHx','CtPqz','758021eINeQM','app/public','stop','\x20-d\x20','logWithSpinner','stringify','inherit','create','fsi','app/packages','app/private','Use\x20the\x20popular\x20JSDoc\x20documentation\x20generator','5vujeSs','constructor','docs','app/node_modules','jsdoc','utf-8','1339542vCJHIX','logError','maka\x20jsdoc','toString','pathFromProject','(((.+)+)+)+$','(.+\x5c.app-tests.js)|(^|\x5c/|\x5c\x5c)_','\x20-r\x20app','join','[-]\x20You\x20may\x20need\x20to\x20install\x20jsdoc:\x20\x22npm\x20i\x20-g\x20jsdoc\x22','config','.+\x5c.(j|t)s(doc|x)?$','\x20-c\x20','jsdoc-config.json','isFile','maka\x20jsdoc\x20--init','sep','96uXYiDT','6289736gDBQdZ','1654486uGklzU','10688916MKfFkR','Running\x20','uswcn','6SdrHuI','9732354mBycIE','\x0a[+]\x20Documentation\x20written\x20to\x20','plugins/markdown'];a34c=function(){return B;};return a34c();}Command[a34z(0x1da)]({'name':'jsdoc','usage':a34z(0x1e7),'mustBeInMakaProject':!![],'description':a34z(0x1de),'examples':[a34z(0x1c4),a34z(0x1e7)]},function(a){const A=a34z;let b=a34u[A(0x1ed)](this[A(0x1db)][A(0x1e9)]({}),A(0x1e1)+a34u[A(0x1c5)]),c=a34u['join'](this[A(0x1db)][A(0x1e9)]({}),A(0x1ef),A(0x1f2)),d=this[A(0x1db)][A(0x1e9)]({}),f=A(0x1e3);if(!this[A(0x1c3)](c)){let h={'plugins':[A(0x1cf)],'tags':{'allowUnknownTags':!![],'dictionaries':['jsdoc','closure']},'source':{'includePattern':A(0x1f0),'excludePattern':A(0x1eb),'exclude':[A(0x1dc),A(0x1e2),A(0x1d4),A(0x1dd)]},'templates':{'cleverLinks':![],'monospaceLinks':![]},'opts':{'recursive':!![],'encoding':A(0x1e4)}};a34v['writeFileSync'](c,JSON[A(0x1d8)](h,null,0x4));}let g=this[A(0x1d7)](A(0x1ca)+f);try{if('ltCuZ'===A(0x1d1)){let j=h+'\x20-c\x20'+i+A(0x1ec)+j['sep']+A(0x1d6)+k;l(j,{'cwd':m,'stdio':A(0x1d9)}),this['logNotice'](A(0x1ce)+n);}else{let j=f+A(0x1f1)+c+'\x20-r\x20app'+a34u['sep']+A(0x1d6)+b;execSync(j,{'cwd':d,'stdio':A(0x1d9)}),this['logNotice'](A(0x1ce)+b);}}catch(k){this['logError'](k),this[A(0x1e6)]('[-]\x20You\x20may\x20need\x20to\x20install\x20jsdoc:\x20\x22npm\x20i\x20-g\x20jsdoc\x22');}finally{'CtPqz'!==A(0x1d2)?(this[A(0x1e6)](b),this[A(0x1e6)](A(0x1ee))):g[A(0x1d5)]();}});
|
package/dist/commands/login.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a35E=a35d;(function(a,b){const B=a35d,c=a();while(!![]){try{const d=parseInt(B(0x10c))/0x1+parseInt(B(0x11d))/0x2+parseInt(B(0x108))/0x3+parseInt(B(0x12e))/0x4+-parseInt(B(0x114))/0x5*(parseInt(B(0x139))/0x6)+-parseInt(B(0x113))/0x7*(-parseInt(B(0x14c))/0x8)+-parseInt(B(0x11a))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0x29981));const a35b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a35d;if(c){const e=c[C(0x141)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const D=a35d;return a35a[D(0x10d)]()[D(0x10e)](D(0x136))['toString']()[D(0x122)](a35a)[D(0x10e)](D(0x136));});a35a();var __awaiter=this&&this[a35E(0x140)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const F=a35d;if(F(0x106)!==F(0x131))g(f);else{c['error'](F(0x14a)+d);return;}});}return new(c||(c=Promise))(function(f,g){const J=a35d;function h(k){const G=a35d;if(G(0x134)!==G(0x11f))try{G(0x142)===G(0x120)?d(e[G(0x13f)](f)):j(d['next'](k));}catch(m){g(m);}else this[G(0x104)][G(0x10b)](h[G(0x121)])?(o=p[G(0x121)],q[G(0x135)](G(0x123)+r)):s[G(0x11b)](G(0x146)+t);}function i(k){const H=a35d;if(H(0x12b)!==H(0x12b))d(e[H(0x13a)](f));else try{j(d[H(0x13f)](k));}catch(m){g(m);}}function j(k){const I=a35d;k['done']?f(k[I(0x107)]):e(k[I(0x107)])[I(0x12f)](h,i);}j((d=d[J(0x141)](a,b||[]))[J(0x13a)]());});};import a35u 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 a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0xff;let f=c[d];return f;},a35d(a,b);}function a35c(){const M=['notice','(((.+)+)+)+$','failure','help','474264WfJwaL','next','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','withSpinner','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','DwUaq','throw','__awaiter','apply','AerNp','getGlobalConfig','/api/v1/login','cert','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','debug','maka\x20login','SUuQd','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','Logging\x20into\x20https://','16iOkxWN','Password:\x20','email','authToken','ask','aLTxH','fsi','getSystemInfo','TyNdA','value','807888cSvvmL','exit','update','isFile','37789wBbJFe','toString','search','/api/v1/encodeJwt','digest','post','password','15281nzVwHd','10sdHLbS','\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','Email:','ysItY','QNvdb','lxdfp','2265057IzjIWN','error','/api/v1/status','536106UpoGFf','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','GWDUy','pnCLg','cacert','constructor','Using\x20CA\x20Cert\x20','create','login','www.maka-cli.com','assign','KFfFX','https://','start','QqUEU','jIHMp','setGlobalConfig','2504HjdXVC','then','sha256','znTBe','TIMEOUT','header','MZlpk'];a35c=function(){return M;};return a35c();}import{HTTPS}from'../tools/https/https.class.js';const hostname=a35E(0x126);Command[a35E(0x124)]({'name':a35E(0x125),'validOpts':[a35E(0x100),'password',a35E(0x138),a35E(0x121),a35E(0x147)],'usage':'maka\x20login','maxArgLength':0x2,'disableAuthCheck':!![],'description':a35E(0x13b),'examples':[a35E(0x148),'maka\x20login\x20--email\x20<address>\x20--password\x20<password>']},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const K=a35d;if(K(0x118)!==K(0x118))c(d);else{let d=Log[K(0x13c)]();try{if('ysItY'===K(0x117)){let f='';b['cacert']&&(this['fsi'][K(0x10b)](b[K(0x121)])?(f=b[K(0x121)],Log['notice'](K(0x123)+f)):Log[K(0x11b)](K(0x146)+f));const g=this[K(0x104)][K(0x143)]();if(g['cert']){if(this['fsi']['isFile'](g[K(0x145)]))f=g[K(0x145)];else{if(K(0x12c)==='jIHMp'){Log[K(0x11b)](K(0x14a)+f);return;}else{c[K(0x137)]('\x0a');throw K(0x11e)+d;}}}const h=yield this[K(0x104)][K(0x105)]();Log[K(0x133)](K(0x14b)+hostname);const i={'url':K(0x129)+hostname+K(0x11c)};b[K(0x121)]&&Object[K(0x127)](i,{'cert':f});d[K(0x12a)]('Preflight\x20Check');const j=yield HTTPS['get'](i);if(j===K(0x132)){d[K(0x137)]();throw K(0x13d);}d['success']();let k=b[K(0x100)]?b[K(0x100)]:yield Actions[K(0x102)](K(0x116)),l=b['password']?b[K(0x112)]:yield Actions[K(0x102)](K(0xff),!![]);if(j!==':D'){if('VWEAn'===K(0x13e)){const t=g?function(){const L=K;if(t){const u=q[L(0x141)](r,arguments);return s=null,u;}}:function(){};return l=![],t;}else throw'https://'+hostname+K(0x115);}const m=a35u['md'][K(0x130)]['create']();m[K(0x10a)](l);const n=m[K(0x110)]()['toHex'](),o={'hostname':hostname,'path':K(0x144),'data':{'email':k,'password':n,'hashed':!![]}};b[K(0x121)]&&Object['assign'](o,{'cert':f});d['start']('Logging\x20in');const p=yield HTTPS[K(0x111)](o);if(p===K(0x132)){d[K(0x137)]('\x0a');throw K(0x11e)+hostname;}let q=null;if(p[K(0x101)]){if(K(0x103)==='JZIrc')d[K(0x127)](e,{'cert':f});else{const u={'hostname':hostname,'path':K(0x10f),'headers':{'x-auth-token':p[K(0x101)]},'data':{'uuid':h['uuid']}};b[K(0x121)]&&Object[K(0x127)](u,{'cert':f});q=yield HTTPS[K(0x111)](u);if(q===K(0x132)){if(K(0x119)!==K(0x119))e=f[K(0x121)],g['notice'](K(0x123)+h);else{d[K(0x137)]('\x0a');throw K(0x11e)+hostname;}}}}else{if(K(0x149)!==K(0x149)){b[K(0x137)]();throw K(0x13d);}else throw p;}if(q){const x={'token':p,'hash':q};b[K(0x121)]&&(K(0x128)!=='rNrwz'?Object[K(0x127)](x,{'cert':f}):d[K(0x127)](e,{'cert':f})),this[K(0x104)][K(0x12d)]({'config':x});}d['success']();}else c[K(0x11b)]('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+d);}catch(A){d[K(0x137)](),console[K(0x11b)](A),process[K(0x109)](0x0);}}});});
|
package/dist/commands/logout.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a36x=a36d;(function(a,b){const u=a36d,c=a();while(!![]){try{const d=-parseInt(u(0x92))/0x1*(-parseInt(u(0xa2))/0x2)+parseInt(u(0x6d))/0x3+-parseInt(u(0xa6))/0x4*(-parseInt(u(0x8f))/0x5)+-parseInt(u(0x86))/0x6+-parseInt(u(0x9f))/0x7*(-parseInt(u(0x9a))/0x8)+parseInt(u(0x77))/0x9*(-parseInt(u(0x9b))/0xa)+parseInt(u(0x95))/0xb*(-parseInt(u(0x79))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x3d388));function a36c(){const B=['Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','408527heTFcu','dDVTO','NTZSp','11TGtxqv','sYfpO','__awaiter','Wjevf','notice','55072TFrWNq','700550WjpgQR','TIMEOUT','fMUpu','Logging\x20out','273YZVZWL','exit','assign','2lvpqLI','XKrIK','https://www.maka-cli.com/api/v1/status','done','2084SSIHbf','ACvTb','(((.+)+)+)+$','HPXbi','cert','throw','HTHaf','cacert','vhEis','www.maka-cli.com','594096TgKKPp','Using\x20CA\x20Cert\x20','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','next','maka\x20logout','failure','VOJSk','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','fsi','success','45kTtWMi','search','7385856bOXiOl','value','token','withSpinner','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','qLQwd','apply','gJxFb','logout','create','isFile','get','311202nUfQVN','authToken','toString','JCzHw','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','start','header','constructor','then','3775AONfHr','error'];a36c=function(){return B;};return a36c();}const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a36d;if(v(0x73)===v(0xa9))throw b['error'](v(0x6f));else{if(c){if(v(0x93)===v(0x7f)){d[v(0x72)]();throw e['error']('CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+f);}else{const g=c[v(0x80)](b,arguments);return c=null,g;}}}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const w=a36d;return a36a[w(0x88)]()[w(0x78)](w(0xa8))[w(0x88)]()[w(0x8d)](a36a)['search'](w(0xa8));});a36a();var __awaiter=this&&this[a36x(0x97)]||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){function h(k){try{j(d['next'](k));}catch(l){g(l);}}function i(k){const y=a36d;if(y(0x89)===y(0x89))try{if(y(0x96)===y(0x6b))try{i(j[y(0x70)](k));}catch(m){m(m);}else j(d[y(0x68)](k));}catch(m){y(0xa3)===y(0xa3)?g(m):c(d);}else e&&i[y(0x90)](j),h[y(0xa0)](0x0);}function j(k){const z=a36d;z(0xa7)===z(0xa7)?k[z(0xa5)]?f(k[z(0x7a)]):e(k[z(0x7a)])[z(0x8e)](h,i):(e=f[z(0x6a)],g[z(0x99)](z(0x6e)+h));}j((d=d['apply'](a,b||[]))['next']());});};function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x67;let f=c[d];return f;},a36d(a,b);}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';Command[a36x(0x83)]({'name':a36x(0x82),'validOpts':[a36x(0x6a)],'usage':a36x(0x71),'maxArgLength':0x2,'description':a36x(0x91),'disableAuthCheck':!![],'examples':[a36x(0x71)]},function(a,b){var c;return __awaiter(this,void 0x0,void 0x0,function*(){const A=a36d;let d=Log[A(0x7c)]();try{if('fMUpu'===A(0x9d)){let f='';b[A(0x6a)]&&(this[A(0x75)][A(0x84)](b[A(0x6a)])?(f=b[A(0x6a)],Log[A(0x99)](A(0x6e)+f)):Log[A(0x90)]('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+f));const g=yield this[A(0x75)]['getGlobalConfig']();if(g[A(0x67)]){if(this[A(0x75)][A(0x84)](g['cert'])){if(A(0x94)!==A(0x69))f=g[A(0x67)];else return c['toString']()[A(0x78)](A(0xa8))['toString']()['constructor'](d)[A(0x78)](A(0xa8));}else{if(A(0x98)!==A(0x98)){if(this['fsi'][A(0x84)](g[A(0x67)]))m=n[A(0x67)];else{o[A(0x72)]();throw p[A(0x90)](A(0x74)+q);}}else{d['failure']();throw Log[A(0x90)](A(0x74)+f);}}}Log[A(0x8c)]('Logging\x20out\x20of\x20https://www.maka-cli.com');const h={'url':A(0xa4)};b[A(0x6a)]&&Object[A(0xa1)](h,{'cert':f});d['start']('Preflight\x20Check');const i=yield HTTPS[A(0x85)](h);if(i===A(0x9c)){d[A(0x72)]();throw A(0x7e);}d[A(0x76)]();if(i!==':D'){if(A(0x81)!==A(0x81))c[A(0x90)](A(0x7d)+d);else{d[A(0x72)]();throw A(0x8a);}}if(!((c=g===null||g===void 0x0?void 0x0:g[A(0x7b)])===null||c===void 0x0?void 0x0:c[A(0x87)]))throw Log[A(0x90)](A(0x6f));d[A(0x8b)](A(0x9e));const j={'hostname':A(0x6c),'path':'/api/v1/logoutAll','data':{},'headers':{'x-auth-token':g[A(0x7b)][A(0x87)]}};b[A(0x6a)]&&Object[A(0xa1)](j,{'cert':f});const k=yield HTTPS['post'](j);if(k===A(0x9c)){d['failure']('\x0a');throw A(0x7e);}this['fsi']['setGlobalConfig']({'config':{'token':{'authToken':'','userId':'','when':''},'hash':''}}),d['success']();}else d[A(0xa1)](e,{'cert':f});}catch(p){p&&console[A(0x90)](p),process['exit'](0x0);}});});
|
package/dist/commands/logs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a37F=a37d;(function(a,b){const A=a37d,c=a();while(!![]){try{const d=-parseInt(A(0x89))/0x1*(-parseInt(A(0x92))/0x2)+parseInt(A(0xa0))/0x3*(-parseInt(A(0x9f))/0x4)+parseInt(A(0x8b))/0x5*(-parseInt(A(0x9d))/0x6)+parseInt(A(0x99))/0x7*(-parseInt(A(0x90))/0x8)+-parseInt(A(0x94))/0x9+-parseInt(A(0x88))/0xa*(parseInt(A(0x93))/0xb)+-parseInt(A(0x98))/0xc*(-parseInt(A(0x87))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x899bc));const a37b=(function(){let a=!![];return function(b,c){const B=a37d;if(B(0xa4)!=='dxcIe'){const d=a?function(){const C=B;if(C(0x8a)===C(0x97)){const f=d[C(0x95)](e,arguments);return f=null,f;}else{if(c){const f=c[C(0x95)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;}else{const f=g?function(){const D=B;if(f){const u=q[D(0x95)](r,arguments);return s=null,u;}}:function(){};return l=![],f;}};}()),a37a=a37b(this,function(){const E=a37d;return a37a[E(0x8e)]()['search']('(((.+)+)+)+$')[E(0x8e)]()[E(0x8f)](a37a)[E(0x9b)]('(((.+)+)+)+$');});a37a();function a37c(){const H=['6391UWmkpR','maka\x20logs\x20--env\x20staging','search','maka\x20logs\x20--env\x20prod','24YGvyAe','ssh.json','4WrfakF','212631ejjqDh','maka\x20logs\x20--env\x20dev','parse','readFileSync','sfRzn','assign','help','182BVXQTD','52030FvoRBr','18629XSgCwv','dxLzE','999835oHxJSS','create','logs','toString','constructor','1296BzGYZj','env','2AkwRMk','2233ORhmpy','1210239hUTZEN','apply','View\x20the\x20PM2\x20logs','QPFxd','2360868BjvRnx'];a37c=function(){return H;};return a37c();}import a37y from'fs';import a37z from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x86;let f=c[d];return f;},a37d(a,b);}Command[a37F(0x8c)]({'name':a37F(0x8d),'aliases':['l','log'],'usage':a37F(0x9c),'requiredOpts':[a37F(0x91)],'mustBeInMakaProject':!![],'validOpts':[a37F(0x86)],'description':a37F(0x96),'examples':[a37F(0xa1),a37F(0x9a),'maka\x20l\x20-e\x20p']},function(a,b){const G=a37F;try{const c='pm2\x20logs',d=this['fsi']['getConfigPath'](b[G(0x91)]),f=a37z['join'](d,G(0x9e)),g=a37y[G(0xa3)](f),h=JSON[G(0xa2)](g['toString']());Object[G(0xa5)](h,{'env':d}),SSH['sshSync'](c,h,{'tty':!![],'verbose':!![]});}catch(i){throw i;}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x118;let f=c[d];return f;},a38d(a,b);}const a38B=a38d;(function(a,b){const u=a38d,c=a();while(!![]){try{const d=parseInt(u(0x123))/0x1*(-parseInt(u(0x12e))/0x2)+-parseInt(u(0x126))/0x3*(parseInt(u(0x13a))/0x4)+parseInt(u(0x13c))/0x5*(parseInt(u(0x120))/0x6)+parseInt(u(0x11f))/0x7*(-parseInt(u(0x122))/0x8)+parseInt(u(0x139))/0x9+parseInt(u(0x138))/0xa*(-parseInt(u(0x127))/0xb)+parseInt(u(0x13d))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x99aad));const a38b=(function(){let a=!![];return function(b,c){const v=a38d;if(v(0x12c)!==v(0x12c))this[v(0x134)](d,e['slice'](0x1),f);else{const e=a?function(){if(c){const f=c['apply'](b,arguments);return c=null,f;}}:function(){};return a=![],e;}};}()),a38a=a38b(this,function(){const w=a38d;return a38a[w(0x136)]()[w(0x137)](w(0x11a))['toString']()[w(0x118)](a38a)['search']('(((.+)+)+)+$');});a38a();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 A=a38d;function h(k){const x=a38d;try{j(d['next'](k));}catch(l){if('iVNrc'===x(0x121))g(l);else{const n=d[0x0],o=this[x(0x11b)](n);o?this[x(0x134)](n,g[x(0x12d)](0x1),h):this[x(0x135)][x(0x125)]();}}}function i(k){const y=a38d;try{j(d[y(0x131)](k));}catch(l){g(l);}}function j(k){const z=a38d;z(0x129)!==z(0x129)?c(d):k[z(0x124)]?f(k['value']):e(k['value'])[z(0x13b)](h,i);}j((d=d[A(0x128)](a,b||[]))[A(0x11d)]());});};import{Command}from'../command.js';function a38c(){const D=['maka\x20<command>\x20[<args>]\x20[<opts>]','(((.+)+)+)+$','findSubCommand','TgPzF','next','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.\x0a\x20\x20Run\x20any\x20command\x20with\x20\x22--help\x22\x20for\x20details','4764711UVWsGL','12990JoofsO','iVNrc','8VxpTiT','1166706sOZQXg','done','maybeProxyCommandToMeteor','355896VxMJsr','31416ENORcR','apply','eIzVS','exit','DjnoK','EpDiG','slice','2saUuVy','maka','maka\x20run','throw','maka\x20create\x20Todo','error','runSubCommand','fsi','toString','search','2690ICBdeK','6450093rJnnwa','16HKHFAJ','then','300qVrEKz','34476180uURkOT','constructor'];a38c=function(){return D;};return a38c();}const Maka=new Command({'name':a38B(0x12f),'minArgLength':0x1,'description':a38B(0x11e),'usage':a38B(0x119),'disableAuthCheck':!![],'examples':['maka\x20install\x20meteor',a38B(0x132),a38B(0x130)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const C=a38d;try{if(C(0x11c)!=='aWEdD'){const c=a[0x0],d=this[C(0x11b)](c);if(d)this[C(0x134)](c,a[C(0x12d)](0x1),b);else{if(C(0x12b)!=='DjnoK')return c['toString']()['search']('(((.+)+)+)+$')[C(0x136)]()[C(0x118)](d)['search'](C(0x11a));else this[C(0x135)][C(0x125)]();}}else return f instanceof g?h:new i(function(m){m(k);});}catch(h){console[C(0x133)](h),process[C(0x12a)](0x1);}});});export default Maka;
|
package/dist/commands/murder.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a39F=a39d;function a39c(){var H=['7704rdzxss','value','toString','font-family:\x20monospace','2787498fFwHxE','exit','LVnBr','error','5254665YsSOhZ','search','done','15237992hvTWyH','then','constructor','4KKetKP','4722TKkqCK','olgIx','(((.+)+)+)+$','throw','XcchX','create','VhzoA','9736PfrOkb','Murrrrderrrrr','92myWYJv','qHDWR','BuBxq','aCKKx','JIzDm','ofFzS','murder','2903500ODfbYy','jPJkr','maka\x20murder','IRyRg','SgKSQ','735gKinmX','next','apply','log','18108heFBGe','%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'];a39c=function(){return H;};return a39c();}function a39d(a,b){var c=a39c();return a39d=function(d,e){d=d-0x1b1;var f=c[d];return f;},a39d(a,b);}(function(a,b){var v=a39d,c=a();while(!![]){try{var d=-parseInt(v(0x1b2))/0x1*(-parseInt(v(0x1d3))/0x2)+-parseInt(v(0x1c8))/0x3*(parseInt(v(0x1d2))/0x4)+parseInt(v(0x1cc))/0x5+parseInt(v(0x1c2))/0x6*(-parseInt(v(0x1be))/0x7)+-parseInt(v(0x1da))/0x8*(parseInt(v(0x1c4))/0x9)+parseInt(v(0x1b9))/0xa+parseInt(v(0x1cf))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xa0257));var a39b=(function(){var a=!![];return function(b,c){var d=a?function(){var w=a39d;if('dsaeR'===w(0x1d4))return c[w(0x1c6)]()[w(0x1cd)]('(((.+)+)+)+$')[w(0x1c6)]()[w(0x1d1)](d)[w(0x1cd)](w(0x1d5));else{if(c){var e=c['apply'](b,arguments);return c=null,e;}}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){var x=a39d;return a39a[x(0x1c6)]()['search']('(((.+)+)+)+$')[x(0x1c6)]()[x(0x1d1)](a39a)[x(0x1cd)](x(0x1d5));});a39a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){var y=a39d;return y(0x1b6)===y(0x1b3)?e(this,void 0x0,void 0x0,function*(){var z=y;try{l[z(0x1c1)]('%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',z(0x1c7));}catch(r){o[z(0x1cb)](r),p['exit'](0x0);}}):f instanceof c?f:new c(function(h){var A=y;A(0x1d7)===A(0x1bd)?d(e['throw'](f)):h(f);});}return new(c||(c=Promise))(function(f,g){var E=a39d;function h(k){var B=a39d;if(B(0x1b4)===B(0x1b4))try{j(d[B(0x1bf)](k));}catch(l){B(0x1bc)==='IRyRg'?g(l):c(d);}else c(d);}function i(k){var C=a39d;try{C(0x1b7)==='ofFzS'?j(d[C(0x1d6)](k)):h[C(0x1ce)]?i(j[C(0x1c5)]):k(l['value'])[C(0x1d0)](m,n);}catch(m){if(C(0x1b5)!==C(0x1ca))g(m);else{if(m){var o=i[C(0x1c0)](j,arguments);return k=null,o;}}}}function j(k){var D=a39d;k['done']?f(k['value']):e(k[D(0x1c5)])['then'](h,i);}j((d=d[E(0x1c0)](a,b||[]))[E(0x1bf)]());});};import{Command}from'../command.js';Command[a39F(0x1d8)]({'name':a39F(0x1b8),'usage':a39F(0x1bb),'maxArgLength':0x1,'description':a39F(0x1b1)},function(a){return __awaiter(this,void 0x0,void 0x0,function*(){var G=a39d;try{if(G(0x1d9)===G(0x1d9))console[G(0x1c1)](G(0x1c3),G(0x1c7));else{var c=g?function(){if(c){var u=q['apply'](r,arguments);return s=null,u;}}:function(){};return l=![],c;}}catch(c){if('jPJkr'===G(0x1ba))console['error'](c),process[G(0x1c9)](0x0);else try{i(j[G(0x1d6)](k));}catch(f){m(f);}}});});
|
package/dist/commands/proxy.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a40c(){const aj=['9hMhadm','createProxyServer','development','bright','.crt','apply','846634CvPMWq','isFile','getProjectConfig','IFJfd','help','listenPort','_keys','localhost','fsi','18koaomN','281397oYQAkh','(((.+)+)+)+$','Crt\x20Location:\x20','1682568lKUwiK','bmvVi','targetHost','proxy','wNaku','.key','8sFlKUG','maka\x20proxy\x20[--env]\x20[--target-port]\x20[--listen-port]\x20[--target-host]','No\x20KEY\x20file\x20found.','notice','2736560ODUNea','listen','search','No\x20CRT\x20file\x20found.','Key\x20Location:\x20','17049610nMHSpL','630779RfJsyr','join','WCLGX','env','error','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','utf8','getConfigPath','\x20to\x20','toString','constructor','readFileSync','Environment:\x20','CdAUd','targetPort','fqWvZ','maka\x20proxy\x20--env\x20dev\x20--target-port\x203000\x20--listen-port\x204000','=>\x20SSL\x20Proxy\x20forwarding\x20','appName','1103935Ernaib'];a40c=function(){return aj;};return a40c();}const a40ah=a40d;function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x1ab;let f=c[d];return f;},a40d(a,b);}(function(a,b){const ad=a40d,c=a();while(!![]){try{const d=parseInt(ad(0x1b8))/0x1+parseInt(ad(0x1d2))/0x2+parseInt(ad(0x1dc))/0x3*(parseInt(ad(0x1ae))/0x4)+parseInt(ad(0x1b2))/0x5+-parseInt(ad(0x1db))/0x6*(-parseInt(ad(0x1cb))/0x7)+-parseInt(ad(0x1df))/0x8*(parseInt(ad(0x1cc))/0x9)+-parseInt(ad(0x1b7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x54ad7));const a40b=(function(){let a=!![];return function(b,c){const ae=a40d;if(ae(0x1e0)!=='bmvVi'){let e=this[ae(0x1da)][ae(0x1d4)]();const f=x[ae(0x1bb)]?y[ae(0x1bb)]:'development',g=this['fsi'][ae(0x1bf)](f),h=z[ae(0x1c6)]?A[ae(0x1c6)]:0xbb8,i=B[ae(0x1d7)]?C[ae(0x1d7)]:0xd73,j=D[ae(0x1e1)]?E['targetHost']:ae(0x1d9),k=F[ae(0x1b9)](g,'_keys',e[ae(0x1ca)]+ae(0x1ad)),l=G[ae(0x1b9)](g,'_keys',e[ae(0x1ca)]+ae(0x1d0));if(!this[ae(0x1da)][ae(0x1d3)](k)){U[ae(0x1bc)](ae(0x1b0));throw new V();}if(!this[ae(0x1da)][ae(0x1d3)](l)){W[ae(0x1bc)]('No\x20CRT\x20file\x20found.');throw new X();}if(h===i){Y['error'](ae(0x1bd));throw new Z();}N['notice'](ae(0x1c4)+f),O[ae(0x1b1)](ae(0x1b6)+k),P[ae(0x1b1)](ae(0x1de)+l);const m={'ssl':{'key':Q['readFileSync'](k,ae(0x1be)),'cert':R[ae(0x1c3)](l,'utf8')},'target':{'host':j,'port':h},'ws':!![],'xfwd':!![]},n=S[ae(0x1cd)](m)[ae(0x1b3)](i);T[ae(0x1cf)](ae(0x1c9)+i+ae(0x1c0)+h);}else{const e=a?function(){const af=ae;if(c){if('SEkgn'===af(0x1ba)){c['error'](af(0x1bd));throw new d();}else{const g=c[af(0x1d1)](b,arguments);return c=null,g;}}}:function(){};return a=![],e;}};}()),a40a=a40b(this,function(){const ag=a40d;return a40a[ag(0x1c1)]()[ag(0x1b4)](ag(0x1dd))[ag(0x1c1)]()[ag(0x1c2)](a40a)['search'](ag(0x1dd));});a40a();import a40aa from'fs';import a40ab from'path';import a40ac from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Command['create']({'name':a40ah(0x1ab),'usage':a40ah(0x1af),'mustBeInMakaProject':!![],'validOpts':[a40ah(0x1d6),a40ah(0x1c6),a40ah(0x1d7),a40ah(0x1e1),a40ah(0x1bb)],'description':'Proxy\x20HTTP\x20requests\x20to\x20another\x20Server\x0a\x20\x20\x20\x20The\x20certificates\x20are\x20pulled\x20from\x20the\x20environment\x20_keys\x20directory.\x0a\x20\x20\x20\x20To\x20create\x20a\x20new\x20key,\x20run:\x0a\x20\x20\x20\x20\x20\x20maka\x20ssl\x20--env\x20dev\x20generate-csr\x0a\x0a\x20\x20\x20\x20Then\x20to\x20create\x20a\x20self-signed\x20certificate:\x0a\x20\x20\x20\x20\x20\x20maka\x20ssl\x20--env\x20dev\x20generate-ssc\x0a\x0a\x20\x20','examples':['maka\x20proxy\x20--env\x20dev',a40ah(0x1c8)]},function(a,b){const ai=a40ah;try{if(ai(0x1c5)!==ai(0x1c5))throw b;else{let d=this[ai(0x1da)]['getProjectConfig']();const f=b[ai(0x1bb)]?b['env']:ai(0x1ce),g=this[ai(0x1da)]['getConfigPath'](f),h=b[ai(0x1c6)]?b[ai(0x1c6)]:0xbb8,i=b[ai(0x1d7)]?b[ai(0x1d7)]:0xd73,j=b['targetHost']?b['targetHost']:ai(0x1d9),k=a40ab[ai(0x1b9)](g,ai(0x1d8),d['appName']+'.key'),l=a40ab['join'](g,ai(0x1d8),d[ai(0x1ca)]+ai(0x1d0));if(!this[ai(0x1da)][ai(0x1d3)](k)){Log[ai(0x1bc)](ai(0x1b0));throw new UsageError();}if(!this[ai(0x1da)][ai(0x1d3)](l)){if(ai(0x1c7)!==ai(0x1ac)){Log[ai(0x1bc)]('No\x20CRT\x20file\x20found.');throw new UsageError();}else{c[ai(0x1bc)](ai(0x1b5));throw new d();}}if(h===i){if(ai(0x1d5)===ai(0x1d5)){Log[ai(0x1bc)](ai(0x1bd));throw new UsageError();}else return c[ai(0x1c1)]()[ai(0x1b4)]('(((.+)+)+)+$')[ai(0x1c1)]()['constructor'](d)[ai(0x1b4)]('(((.+)+)+)+$');}Log[ai(0x1b1)](ai(0x1c4)+f),Log[ai(0x1b1)](ai(0x1b6)+k),Log[ai(0x1b1)]('Crt\x20Location:\x20'+l);const m={'ssl':{'key':a40aa[ai(0x1c3)](k,ai(0x1be)),'cert':a40aa['readFileSync'](l,'utf8')},'target':{'host':j,'port':h},'ws':!![],'xfwd':!![]},n=a40ac[ai(0x1cd)](m)[ai(0x1b3)](i);Log[ai(0x1cf)]('=>\x20SSL\x20Proxy\x20forwarding\x20'+i+ai(0x1c0)+h);}}catch(q){throw q;}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a41A=a41d;(function(a,b){const w=a41d,c=a();while(!![]){try{const d=-parseInt(w(0x127))/0x1+parseInt(w(0x122))/0x2*(parseInt(w(0x113))/0x3)+parseInt(w(0x142))/0x4+-parseInt(w(0x115))/0x5+parseInt(w(0x13e))/0x6+parseInt(w(0x125))/0x7+-parseInt(w(0x136))/0x8*(parseInt(w(0x143))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x797c2));const a41b=(function(){let a=!![];return function(b,c){const x=a41d;if(x(0x134)===x(0x134)){const d=a?function(){const y=x;if('RdoRQ'!==y(0x12a)){if(e){const f=i['apply'](j,arguments);return k=null,f;}}else{if(c){if(y(0x126)===y(0x130))d(e[y(0x10f)](f));else{const g=c[y(0x12b)](b,arguments);return c=null,g;}}}}:function(){};return a=![],d;}else try{i(j[x(0x10f)](k));}catch(f){m(f);}};}()),a41a=a41b(this,function(){const z=a41d;return a41a[z(0x11f)]()[z(0x123)](z(0x137))[z(0x11f)]()[z(0x128)](a41a)[z(0x123)]('(((.+)+)+)+$');});a41a();var __awaiter=this&&this[a41A(0x118)]||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=a41d;function h(k){const B=a41d;if(B(0x11a)!==B(0x11a))h[B(0x10a)]?i(j[B(0x116)]):k(l[B(0x116)])[B(0x110)](m,n);else try{j(d[B(0x11d)](k));}catch(m){'uzmak'!==B(0x13c)?c(d):g(m);}}function i(k){const C=a41d;if(C(0x139)!=='JmzUr'){const m=d[C(0x12b)](e,arguments);return f=null,m;}else try{j(d[C(0x10f)](k));}catch(m){if(C(0x111)==='iTuJy'){let o=d[C(0x13b)](C(0x12e),m);if(!o)throw C(0x12c);if(o)f['success'](C(0x12f));}else g(m);}}function j(k){const D=a41d;k['done']?f(k['value']):e(k[D(0x116)])['then'](h,i);}j((d=d['apply'](a,b||[]))[E(0x11d)]());});};import a41u from'fs';import a41v from'path';import{Command}from'../command.js';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x10a;let f=c[d];return f;},a41d(a,b);}function a41c(){const G=['next','error','toString','create','ssh.json','6BzwYBQ','search','~/pm2.config.js','6782090dUIXYQ','HjZBe','49230JNQzym','constructor','NlGhq','RdoRQ','apply','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','~/settings.json','uname\x20-a','Remote\x20host\x20connection\x20successful','Yhwen','ssh','join','ses.json','pPFcb','scp','24OLQQfa','(((.+)+)+)+$','sshSync','JmzUr','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','ping','uzmak','_keys','4118364eBegBv','parse','success','notice','1803072FysYQW','5232888AMMVwA','maka\x20reconfig\x20--env\x20prod','done','assign','jNnbR','exit','getConfigPath','throw','then','UkEwM','pIwcK','760593KWPtqD','env','2877485SHtyVr','value','pm2\x20delete\x20all','__awaiter','reconfig','aXidF','If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.','readFileSync'];a41c=function(){return G;};return a41c();}import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a41A(0x120)]({'name':a41A(0x119),'validOpts':['help'],'requiredOpts':[a41A(0x114)],'mustBeInMakaProject':!![],'usage':a41A(0x144),'description':a41A(0x11b),'examples':[a41A(0x144)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const F=a41d;if(F(0x112)===F(0x129))return c[F(0x11f)]()[F(0x123)]('(((.+)+)+)+$')['toString']()[F(0x128)](d)[F(0x123)](F(0x137));else try{if(F(0x10c)===F(0x10c)){const d=this['fsi'][F(0x10e)](b[F(0x114)]),f=a41v[F(0x132)](d,F(0x121)),g=a41u[F(0x11c)](f)[F(0x11f)]();let h=JSON[F(0x13f)](g);Object[F(0x10b)](h,{'env':d}),Log[F(0x141)]('Checking\x20remote\x20host\x20availability');try{let l=SSH[F(0x13b)]('uname\x20-a',h);if(!l)throw F(0x12c);if(l)Log[F(0x140)](F(0x12f));}catch(m){throw m;}let i=a41v[F(0x132)](d,F(0x13d),F(0x133));if(a41u['existsSync'](i)){let n={'source':i,'dest':'~/ses.json','verbose':!![]};SSH[F(0x135)](n,Object[F(0x10b)]({},h));}let j=a41v[F(0x132)](d,'pm2.config.js');SSH[F(0x135)]({'source':j,'dest':F(0x124),'verbose':!![]},Object[F(0x10b)]({},h));let k=a41v[F(0x132)](d,'settings.json');SSH[F(0x135)]({'source':k,'dest':F(0x12d),'verbose':!![]},Object[F(0x10b)]({},h)),SSH[F(0x138)](F(0x117),h),yield SSH[F(0x131)](F(0x13a),Object[F(0x10b)]({},h),{'verbose':!![]});}else d[F(0x11e)](e),f[F(0x10d)](0x0);}catch(p){console['error'](p),process['exit'](0x0);}});});
|
package/dist/commands/run.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a42L=a42d;(function(a,b){const E=a42d,c=a();while(!![]){try{const d=parseInt(E(0x18c))/0x1+-parseInt(E(0x14b))/0x2*(-parseInt(E(0x166))/0x3)+parseInt(E(0x14d))/0x4+-parseInt(E(0x148))/0x5+parseInt(E(0x162))/0x6*(parseInt(E(0x158))/0x7)+-parseInt(E(0x152))/0x8*(-parseInt(E(0x179))/0x9)+-parseInt(E(0x180))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xaa2f0));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const F=a42d;if(F(0x181)!==F(0x181))c['splice'](d,0x2);else{if(c){const f=c[F(0x177)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const G=a42d;return a42a[G(0x16e)]()[G(0x139)](G(0x18d))[G(0x16e)]()[G(0x184)](a42a)[G(0x139)](G(0x18d));});a42a();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 K=a42d;function h(k){const H=a42d;if('eVHCc'!==H(0x16a))return c[H(0x16e)]()[H(0x139)](H(0x18d))[H(0x16e)]()[H(0x184)](d)[H(0x139)](H(0x18d));else try{H(0x15a)==='FbrNN'?j(d[H(0x13f)](k)):h[H(0x145)]?i(j[H(0x14c)]):k(l['value'])[H(0x163)](m,n);}catch(n){g(n);}}function i(k){const I=a42d;if(I(0x168)!=='OOPaE')f['notice'](I(0x143)+g),h=i[I(0x16b)]([I(0x147),j]);else try{I(0x188)==='ZAFlu'?j(d[I(0x187)](k)):b['push'](I(0x18f));}catch(n){g(n);}}function j(k){const J=a42d;J(0x185)!==J(0x185)?(e[J(0x13c)](f,'r'),g[J(0x151)]({'path':h})):k[J(0x145)]?f(k[J(0x14c)]):e(k[J(0x14c)])[J(0x163)](h,i);}j((d=d['apply'](a,b||[]))[K(0x13f)]());});};function a42c(){const O=['existsSync','bright','Run\x20your\x20app\x20for\x20a\x20given\x20environment\x20or\x20in\x20docker.','verbose','createProxyServer','settings','env','error','apply','docker','9AsCeTb','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.','join','invokeMeteorCommand','run','sep','Docker\x20Compose\x20Path:\x20','10429350wdLrsQ','yxGgr','createFile','warn','constructor','pomAY','settings.json','throw','ZAFlu','inherit','aUUSs','_keys','109570DVoifo','(((.+)+)+)+$','length','--production','--env','isFile','forEach','readFileSync','search','listen','production','openSync','mobileServer','notice','next','Node\x20Env\x20Config:\x20','lRVoW','development','Meteor\x20Settings:\x20','create','done','getProjectConfig','--settings','4552195YfcvOp','rawLogs','extraPackages','383266FjxuBV','value','5302144LlZqLR','filter','Hzozc','config/docker-compose.yaml','config','3777888RBrvLx','fsi','ssl','localhost','port','appName','7Dpewvf','split','FbrNN','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)','splice','slice','templateContent','bqkfT','WqMgA','Cannot\x20find\x20Node\x20Environment\x20File:\x20','3308826wRMrRY','then','exit','inspect','3VhPGpC','getConfigPath','OOPaE','utNHh','eVHCc','concat','mobile-server','push','toString'];a42c=function(){return O;};return a42c();}import a42A from'path';function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x136;let f=c[d];return f;},a42d(a,b);}import a42B from'fs';import a42C from'dotenv';import{execSync}from'child_process';import a42D from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{paramCase}from'change-case';const syncSource=function(a){a42B['openSync'](a,'r'),a42C['config']({'path':a});};Command[a42L(0x144)]({'name':a42L(0x17d),'mustBeInMakaProject':!![],'usage':a42L(0x17a),'validOpts':['env',a42L(0x178),'r',a42L(0x149),'p',a42L(0x156),'i',a42L(0x165),'m',a42L(0x13d),'v',a42L(0x172),'allowIncompatibleUpdate',a42L(0x14a),'x','exclude-archs',a42L(0x13b),a42L(0x154)],'description':a42L(0x171)},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const M=a42d;try{if(b[M(0x16c)]&&b[M(0x16c)]===!![]||b['m']&&b['m']===!![]){if(M(0x14f)!==M(0x14f))c[M(0x183)]('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+d);else throw M(0x15b);}yield this['fsi']['compareMakaToLatest']();let c=this['fsi'][M(0x146)]();const d=b[M(0x175)]?b[M(0x175)]:M(0x142),f=this[M(0x153)][M(0x167)](d),g=a42A[M(0x17b)](f,'process.env');let h=a42A[M(0x17b)](f,'settings.json');b[M(0x174)]?h=b[M(0x174)]:M(0x160)!=='WqMgA'?c(d):h=a42A[M(0x17b)](f,M(0x186));if(this[M(0x153)][M(0x136)](g)&&!b['docker']){if('gjvqs'!==M(0x141))Log[M(0x13e)](M(0x140)+g),syncSource(g);else{const o={'app':e[M(0x157)],'appFileCase':f(g['appName'])};let p=this[M(0x153)][M(0x15e)]({'srcPath':M(0x150),'context':o})+'\x0a';this[M(0x153)][M(0x182)]({'filePath':h,'data':p});}}else!b[M(0x178)]&&Log[M(0x183)](M(0x161)+g);this[M(0x153)][M(0x136)](h)?(Log[M(0x13e)](M(0x143)+h),a=a['concat']([M(0x147),h])):Log[M(0x183)]('Cannot\x20find\x20Meteor\x20Settings\x20File:\x20'+h);const i=f[M(0x159)](a42A[M(0x17e)]),j=i[i[M(0x18e)]-0x1];j===M(0x13b)&&a[M(0x16d)](M(0x18f));const k=process['argv'][M(0x15d)](0x2)['filter'](o=>o!==M(0x17d))[M(0x14e)](o=>o!==a[0x0]);k[M(0x137)]((o,p)=>{const N=M;N(0x18a)===N(0x169)?d(e[N(0x187)](f)):(o===N(0x190)&&k[N(0x15c)](p,0x2),o==='-e'&&k[N(0x15c)](p,0x2));});if(b[M(0x178)]){const o=this['fsi']['getConfigPath'](M(0x178)),p=a42A[M(0x17b)](o,'docker-compose.yaml'),q=a42A[M(0x17b)](o,'pm2.config.js');Log['notice']('PM2\x20Config\x20File:\x20'+q),Log[M(0x13e)](M(0x17f)+p);if(!a42B[M(0x16f)](p)){if('bkVHZ'===M(0x15f))try{i(j['next'](k));}catch(s){m(s);}else{const s={'app':c[M(0x157)],'appFileCase':paramCase(c[M(0x157)])};let t=this[M(0x153)]['templateContent']({'srcPath':M(0x150),'context':s})+'\x0a';this[M(0x153)][M(0x182)]({'filePath':p,'data':t});}}execSync('docker-compose\x20--project-directory\x20'+o+'\x20up\x20--remove-orphans',{'stdio':M(0x189)});}else{if(b[M(0x154)]){if('eUIen'==='eUIen'){const u=a42A[M(0x17b)](f,M(0x18b),c['appName']+'.key'),v=a42A[M(0x17b)](f,M(0x18b),c[M(0x157)]+'.crt');Log['notice'](u);const w={'ssl':{'key':a42B[M(0x138)](u,'utf8'),'cert':a42B['readFileSync'](v,'utf8')},'target':{'host':M(0x155),'port':0xbb8},'ws':!![],'xfwd':!![]},x=a42D[M(0x173)](w)[M(0x13a)](0xfa0);Log[M(0x170)]('=>\x20SSL\x20Proxy\x20running\x20at\x204000');}else{if(e){const z=i[M(0x177)](j,arguments);return k=null,z;}}}else this[M(0x153)][M(0x17c)](M(0x17d),a['concat'](k));}}catch(z){console[M(0x176)](z),process[M(0x164)](0x0);}});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var u=
|
|
1
|
+
(function(a,b){var u=a43d,c=a();while(!![]){try{var d=parseInt(u(0xc1))/0x1+parseInt(u(0xb8))/0x2*(-parseInt(u(0xba))/0x3)+-parseInt(u(0xb7))/0x4*(parseInt(u(0xbb))/0x5)+-parseInt(u(0xb3))/0x6*(-parseInt(u(0xbc))/0x7)+-parseInt(u(0xbe))/0x8*(parseInt(u(0xb9))/0x9)+-parseInt(u(0xc0))/0xa*(parseInt(u(0xbf))/0xb)+parseInt(u(0xb6))/0xc*(parseInt(u(0xb2))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xd5226));function a43c(){var w=['130NjNYzo','455948iyKkIR','11241698IQfjIw','30HEwnfI','search','toString','48wkVeOg','3569012WScmcj','866gRqEGg','361701lgrwRU','2514AMJXQq','5VNPQki','1243193YPatIF','(((.+)+)+)+$','200RDHJdl','1413159qJISeT'];a43c=function(){return w;};return a43c();}function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0xb2;var f=c[d];return f;},a43d(a,b);}var a43b=(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;};}()),a43a=a43b(this,function(){var v=a43d;return a43a[v(0xb5)]()[v(0xb4)](v(0xbd))[v(0xb5)]()['constructor'](a43a)[v(0xb4)](v(0xbd));});a43a();import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';
|