@maka/maka-cli 4.2.19 → 4.2.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/command.js +1 -1
- package/dist/commands/_index.js +1 -1
- package/dist/commands/aws/_index.js +1 -1
- package/dist/commands/aws/aws.command.js +1 -1
- package/dist/commands/aws/ci.sub.cmd.js +1 -1
- package/dist/commands/aws/ckp.sub.cmd.js +1 -1
- package/dist/commands/aws/csg.sub.cmd.js +1 -1
- package/dist/commands/aws/di.sub.cmd.js +1 -1
- package/dist/commands/aws/dks.sub.cmd.js +1 -1
- package/dist/commands/aws/rbi.sub.cmd.js +1 -1
- package/dist/commands/aws/sth.sub.cmd.js +1 -1
- package/dist/commands/aws/ti.sub.cmd.js +1 -1
- package/dist/commands/build/_index.js +1 -1
- package/dist/commands/build/build.js +1 -1
- package/dist/commands/build/docker.sub.cmd.js +1 -1
- package/dist/commands/create.js +1 -1
- package/dist/commands/debug.js +1 -1
- package/dist/commands/deploy.js +1 -1
- package/dist/commands/game/_index.js +1 -1
- package/dist/commands/game/battleship.sub.cmd.js +1 -1
- package/dist/commands/game/play.command.js +1 -1
- package/dist/commands/game/pong.sub.cmd.js +1 -1
- package/dist/commands/game/snake.sub.cmd.js +1 -1
- package/dist/commands/game/tetris.sub.cmd.js +1 -1
- package/dist/commands/generate.js +1 -1
- package/dist/commands/get/_index.js +1 -1
- package/dist/commands/get/get.command.js +1 -1
- package/dist/commands/get/global.sub.cmd.js +1 -1
- package/dist/commands/get/local.sub.cmd.js +1 -1
- package/dist/commands/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 +20 -20
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a28F=a28d;(function(a,b){var v=a28d,c=a();while(!![]){try{var d=-parseInt(v(0x20b))/0x1*(parseInt(v(0x205))/0x2)+-parseInt(v(0x20f))/0x3*(-parseInt(v(0x1f5))/0x4)+parseInt(v(0x1f0))/0x5+parseInt(v(0x1fd))/0x6+-parseInt(v(0x20e))/0x7*(parseInt(v(0x1f4))/0x8)+-parseInt(v(0x1f3))/0x9+parseInt(v(0x1ef))/0xa*(parseInt(v(0x20c))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a28c,0xf1cd3));var a28b=(function(){var a=!![];return function(b,c){var w=a28d;if(w(0x202)===w(0x202)){var d=a?function(){var x=w;if(c){if(x(0x1f2)===x(0x20a))c(d);else{var e=c[x(0x204)](b,arguments);return c=null,e;}}}:function(){};return a=![],d;}else h[w(0x1f1)]?i(j[w(0x207)]):k(l[w(0x207)])[w(0x1fe)](m,n);};}()),a28a=a28b(this,function(){var y=a28d;return a28a['toString']()[y(0x1ff)](y(0x20d))[y(0x1f7)]()[y(0x200)](a28a)[y(0x1ff)](y(0x20d));});a28a();function a28d(a,b){var c=a28c();return a28d=function(d,e){d=d-0x1ec;var f=c[d];return f;},a28d(a,b);}var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){var z=a28d;return'mAiBo'==='IokoB'?c[z(0x1f7)]()[z(0x1ff)]('(((.+)+)+)+$')[z(0x1f7)]()[z(0x200)](d)[z(0x1ff)]('(((.+)+)+)+$'):f instanceof c?f:new c(function(h){var A=z;if('LvRAb'===A(0x1ed)){var j=g?function(){if(j){var u=q['apply'](r,arguments);return s=null,u;}}:function(){};return l=![],j;}else h(f);});}return new(c||(c=Promise))(function(f,g){var E=a28d;function h(k){var B=a28d;try{j(d[B(0x210)](k));}catch(l){g(l);}}function i(k){var C=a28d;try{j(d[C(0x206)](k));}catch(l){if(C(0x1ec)==='RmfMN'){if(l){var n=i[C(0x204)](j,arguments);return k=null,n;}}else g(l);}}function j(k){var D=a28d;k[D(0x1f1)]?f(k[D(0x207)]):e(k[D(0x207)])[D(0x1fe)](h,i);}j((d=d['apply'](a,b||[]))[E(0x210)]());});};import a28u from'./get.command.js';import{Command}from'../../command.js';Command[a28F(0x203)]({'name':a28F(0x1fc),'usage':a28F(0x1fa),'mustBeInMakaProject':!![],'description':a28F(0x1f9)},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){var G=a28d;if(G(0x1f8)==='YODkQ')try{if('PqlCE'!==G(0x1fb)){const c=yield this[G(0x1f6)][G(0x208)]();console['log'](c);}else c(d);}catch(f){G(0x1ee)===G(0x1ee)?(console[G(0x201)](f),process[G(0x209)](0x0)):(d[G(0x201)](f),f['exit'](0x0));}else return f instanceof g?h:new i(function(m){m(k);});});},a28u);function a28c(){var H=['POqAx','30oqUPUS','4574795TNSDnG','done','GUYIr','3599154cqWbfw','285528hSphgD','4kyJVcu','fsi','toString','YODkQ','Get\x20maka\x20configurations\x20in\x20the\x20local\x20.maka/config.json\x20file','maka\x20get:local-config','QQWQU','local-config','805212ttmlTv','then','search','constructor','error','gzCQO','create','apply','16EzxdpT','throw','value','getProjectConfig','exit','GMlcT','50845XftHmR','7075486lCnyEU','(((.+)+)+)+$','301VokwEh','1058877dHLnLM','next','gYNsh','lsVrK'];a28c=function(){return H;};return a28c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a29A=a29d;(function(a,b){const w=a29d,c=a();while(!![]){try{const d=-parseInt(w(0x196))/0x1*(parseInt(w(0x18f))/0x2)+-parseInt(w(0x190))/0x3*(-parseInt(w(0x1a8))/0x4)+parseInt(w(0x1ac))/0x5*(parseInt(w(0x198))/0x6)+parseInt(w(0x18c))/0x7*(-parseInt(w(0x19b))/0x8)+parseInt(w(0x195))/0x9+-parseInt(w(0x1a1))/0xa+parseInt(w(0x1b0))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a29c,0x72caf));const a29b=(function(){let a=!![];return function(b,c){const x=a29d;if(x(0x1b4)===x(0x1a6))return c['toString']()[x(0x191)]('(((.+)+)+)+$')[x(0x199)]()['constructor'](d)[x(0x191)]('(((.+)+)+)+$');else{const e=a?function(){const y=x;if(c){const f=c[y(0x18e)](b,arguments);return c=null,f;}}:function(){};return a=![],e;}};}()),a29a=a29b(this,function(){const z=a29d;return a29a[z(0x199)]()[z(0x191)](z(0x1a0))[z(0x199)]()[z(0x1aa)](a29a)[z(0x191)](z(0x1a0));});a29a();var __awaiter=this&&this[a29A(0x19f)]||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=a29d;function h(k){const B=a29d;try{j(d['next'](k));}catch(l){B(0x1b6)==='aTNVO'?g(l):c(d);}}function i(k){const C=a29d;if(C(0x19c)!==C(0x19c)){const m=i[C(0x1b3)](j[C(0x1a7)]);k[C(0x1a2)]('User\x20Email:\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(m===null||m===void 0x0?void 0x0:m[C(0x1b1)])),l[C(0x1a2)](C(0x192)+m[C(0x1a9)][C(0x1b9)]),n[C(0x1a2)]('User\x20Access\x20Token:\x20\x20'+o['token']['authToken']),p[C(0x1a2)](C(0x194)+(m===null||m===void 0x0?void 0x0:m[C(0x1ae)]['join'](',\x20')));}else try{j(d['throw'](k));}catch(m){g(m);}}function j(k){const D=a29d;k[D(0x1b7)]?f(k[D(0x1a3)]):e(k[D(0x1a3)])[D(0x1ba)](h,i);}j((d=d['apply'](a,b||[]))[E(0x1a5)]());});};import a29u from'./get.command.js';function a29c(){const G=['70lwsLCg','create','roles','MKgHc','17626235pzAhqc','user','getGlobalConfig','decode','QeeHf','User\x20Email:\x20\x20\x20\x20\x20\x20\x20\x20\x20','aTNVO','done','hpKBC','userId','then','fsi','5197836JufnwB','throw','apply','887572bxrFOn','48BMavSZ','search','User\x20ID:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','NnNlE','Licenses:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','50076RAWMUZ','1bzndiU','exit','176964UXRkHe','toString','User\x20Access\x20Token:\x20\x20','8HequoJ','FKCIC','join','error','__awaiter','(((.+)+)+)+$','7229160wzfaAf','notice','value','whoami','next','gLKTp','hash','89644DNNHea','token','constructor','maka\x20get:whoami'];a29c=function(){return G;};return a29c();}function a29d(a,b){const c=a29c();return a29d=function(d,e){d=d-0x18c;let f=c[d];return f;},a29d(a,b);}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import a29v from'jsonwebtoken';Command[a29A(0x1ad)]({'name':a29A(0x1a4),'usage':a29A(0x1ab),'description':'If\x20logged\x20in,\x20get\x20the\x20current\x20user\x27s\x20information'},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const F=a29d;if(F(0x1b8)!=='CXZjm')try{if(F(0x193)!=='NnNlE')h[F(0x1b7)]?i(j[F(0x1a3)]):k(l[F(0x1a3)])[F(0x1ba)](m,n);else{const d=yield this[F(0x1bb)][F(0x1b2)]();if(d[F(0x1a7)]){const f=a29v[F(0x1b3)](d[F(0x1a7)]);Log['notice'](F(0x1b5)+(f===null||f===void 0x0?void 0x0:f[F(0x1b1)])),Log['notice'](F(0x192)+d[F(0x1a9)][F(0x1b9)]),Log[F(0x1a2)](F(0x19a)+d['token']['authToken']),Log[F(0x1a2)](F(0x194)+(f===null||f===void 0x0?void 0x0:f['roles'][F(0x19d)](',\x20')));}}}catch(g){F(0x1af)===F(0x1af)?(console[F(0x19e)](g),process[F(0x197)](0x0)):d(g[F(0x18d)](f));}else try{i(j['next'](k));}catch(j){m(j);}});},a29u);
|
package/dist/commands/help.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var a30x=a30d;(function(a,b){var u=a30d,c=a();while(!![]){try{var d
|
|
1
|
+
var a30x=a30d;(function(a,b){var u=a30d,c=a();while(!![]){try{var d=-parseInt(u(0xa0))/0x1*(parseInt(u(0xa1))/0x2)+parseInt(u(0x8b))/0x3+parseInt(u(0x9d))/0x4*(-parseInt(u(0x93))/0x5)+parseInt(u(0x9b))/0x6*(-parseInt(u(0x94))/0x7)+-parseInt(u(0x97))/0x8+-parseInt(u(0x89))/0x9*(-parseInt(u(0x95))/0xa)+parseInt(u(0x8a))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a30c,0x2fb5f));var a30b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a30d;if(v(0x9f)===v(0x9f)){if(c){var e=c[v(0xa2)](b,arguments);return c=null,e;}}else{if(e){var g=i[v(0xa2)](j,arguments);return k=null,g;}}}:function(){};return a=![],d;};}()),a30a=a30b(this,function(){var w=a30d;return a30a[w(0x8d)]()[w(0x9a)](w(0xa3))[w(0x8d)]()['constructor'](a30a)[w(0x9a)]('(((.+)+)+)+$');});a30a();function a30d(a,b){var c=a30c();return a30d=function(d,e){d=d-0x87;var f=c[d];return f;},a30d(a,b);}var __awaiter=this&&this[a30x(0x8f)]||function(a,b,c,d){function e(f){var y=a30d;if(y(0x9c)===y(0x90))h[y(0x87)]?i(j[y(0x98)]):k(l[y(0x98)])[y(0x88)](m,n);else return f instanceof c?f:new c(function(h){h(f);});}return new(c||(c=Promise))(function(f,g){var C=a30d;function h(k){var z=a30d;try{j(d[z(0x8e)](k));}catch(l){g(l);}}function i(k){var A=a30d;try{j(d[A(0x8c)](k));}catch(l){if('dtaGj'!==A(0x99))g(l);else return c[A(0x8d)]()[A(0x9a)](A(0xa3))[A(0x8d)]()[A(0x9e)](d)[A(0x9a)](A(0xa3));}}function j(k){var B=a30d;if(B(0x92)!==B(0x92))throw new b();else k[B(0x87)]?f(k[B(0x98)]):e(k['value'])[B(0x88)](h,i);}j((d=d[C(0xa2)](a,b||[]))['next']());});};import{Command}from'../command.js';import{UsageError}from'../error.js';Command['create']({'name':'help','description':a30x(0x96),'aliases':['h']},function(){return __awaiter(this,void 0x0,void 0x0,function*(){var D=a30d;if(D(0x91)===D(0x91))throw new UsageError();else c(d);});});function a30c(){var E=['2822460dLDtIq','Try,\x20maka\x20--help','941776PXXaBC','value','eJYrT','search','450LBkUSS','APnrv','8zLhxVp','constructor','Kznvi','7914QQayHF','92pEjNud','apply','(((.+)+)+)+$','done','then','9cEEbMj','6663459NaROEd','668067UjyLIS','throw','toString','next','__awaiter','ntJgZ','UABpl','AcNKq','722850nvGJYs','13475XAHBnh'];a30c=function(){return E;};return a30c();}
|
package/dist/commands/install.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a31K=a31d;function a31d(a,b){const c=a31c();return a31d=function(d,e){d=d-0x141;let f=c[d];return f;},a31d(a,b);}(function(a,b){const B=a31d,c=a();while(!![]){try{const d=parseInt(B(0x14c))/0x1*(parseInt(B(0x190))/0x2)+-parseInt(B(0x188))/0x3*(parseInt(B(0x161))/0x4)+parseInt(B(0x19d))/0x5*(-parseInt(B(0x19c))/0x6)+-parseInt(B(0x16b))/0x7+-parseInt(B(0x181))/0x8*(-parseInt(B(0x18e))/0x9)+-parseInt(B(0x176))/0xa+-parseInt(B(0x17e))/0xb*(-parseInt(B(0x143))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a31c,0x64106));const a31b=(function(){let a=!![];return function(b,c){const C=a31d;if(C(0x141)===C(0x141)){const d=a?function(){const D=C;if(c){if(D(0x17d)===D(0x17d)){const e=c[D(0x17c)](b,arguments);return c=null,e;}else throw D(0x177)+b;}}:function(){};return a=![],d;}else g[C(0x160)](C(0x15d)+h[C(0x182)]),i=j['cacert'],k=[C(0x146),l];};}()),a31a=a31b(this,function(){const E=a31d;return a31a[E(0x183)]()[E(0x157)](E(0x169))['toString']()[E(0x170)](a31a)[E(0x157)](E(0x169));});a31a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){const F=a31d;if(F(0x15e)!==F(0x15e)){const h=d[F(0x17c)](e,arguments);return f=null,h;}else return f instanceof c?f:new c(function(h){h(f);});}return new(c||(c=Promise))(function(f,g){const J=a31d;function h(k){const G=a31d;try{G(0x142)===G(0x142)?j(d[G(0x15a)](k)):c[G(0x152)](d);}catch(m){g(m);}}function i(k){const H=a31d;try{if(H(0x173)!==H(0x164))j(d[H(0x185)](k));else return c[H(0x183)]()[H(0x157)](H(0x169))[H(0x183)]()[H(0x170)](d)[H(0x157)](H(0x169));}catch(m){H(0x198)!==H(0x198)?c(d):g(m);}}function j(k){const I=a31d;k[I(0x199)]?f(k[I(0x17b)]):e(k[I(0x17b)])[I(0x184)](h,i);}j((d=d['apply'](a,b||[]))[J(0x15a)]());});};import a31x from'os';function a31c(){const M=['maka\x20install','create','Allowing\x20insecure\x20curl\x20connections.','xRUWI','Installing\x20meteor\x20','IdzmB','done','mkdir\x20-p\x20','\x20-s\x20https://install.meteor.com/','24fgqExn','251840NjupjS','maka\x20install\x20meteor','sync','success','YfiVt','XulEu','22632uZHoRF','keepInstall','-rf','--cacert','printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.bashrc','fsi','ignore','maka\x20install\x20meteor\x20--force','string','56157aPifVv','warn','https://static-meteor.netdna-ssl.com/packages-bootstrap/','Downloading\x20meteor\x20version\x20','OkzbK','meteor.tar.gz','error','force','nxsqR','maka\x20install\x20meteor\x20-v\x202.3.6','Aborted','search','Install\x20a\x20meteor.\x20\x22maka\x20install\x22\x20defaults\x20to\x20\x22maka\x20install\x20meteor\x22','platform','next','Bmclq','hmhmX','Using\x20CA\x20Cert\x20','Wwfod','isFile','notice','20AtvOzg','tar','RXXZu','jTRJD','Removing\x20previous\x20install\x20of\x20meteor','join','gAZge','replace','(((.+)+)+)+$','bvSYY','1587502QXFwxn','version','length','maka\x20install\x20meteor\x20--version\x201.12.1','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka.cert,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','constructor','printf\x20\x27export\x20PATH=$PATH:$HOME/.local/bin\x27\x20>>\x20$HOME/.profile\x20&&\x20source\x20$HOME/.profile','Hjakt','mEFzP','grep','curl','5324670kGnNsp','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','GSVRw','cert','-xzf','value','apply','zqUGn','2607sicBPF','existsSync','This\x20command\x20should\x20NOT\x20be\x20run\x20as\x20sudo\x20or\x20with\x20administrative\x20privileges.\x20\x20Are\x20you\x20ready\x20to\x20proceed?','304zRTXZt','cacert','toString','then','throw','.tar.gz','/.local/bin','9600DCnCNR','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','Network\x20error,\x20please\x20try\x20again.','\x20installed.\x0a','.meteor','os.osx.x86_64','182637mvvBcx','allowInsecure','6ZXQFkx','withSpinner','--output'];a31c=function(){return M;};return a31c();}import a31y from'path';import a31z from'fs';import a31A 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=a31x['homedir']();Command[a31K(0x194)]({'name':'install','aliases':['i'],'validOpts':['f',a31K(0x153),'v',a31K(0x16c),'debug',a31K(0x182),a31K(0x144)],'usage':a31K(0x193),'description':a31K(0x158),'examples':[a31K(0x19e),a31K(0x14a),a31K(0x155),a31K(0x16e),'maka\x20i']},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const L=a31d;try{let c=[],d='';if(b[L(0x182)]){if(L(0x15c)===L(0x150))e=f['cert'],g=['--cacert',h];else{if(this[L(0x148)][L(0x15f)](b[L(0x182)]))L(0x196)!=='hMbLc'?(Log[L(0x160)](L(0x15d)+b[L(0x182)]),d=b[L(0x182)],c=['--cacert',d]):d=e['v']||f['version'];else throw L(0x177)+d;}}const f=yield this[L(0x148)]['getGlobalConfig']();if(f[L(0x179)]){if(this[L(0x148)]['isFile'](f['cert']))L(0x154)===L(0x154)?(d=f['cert'],c=['--cacert',d]):(g(L(0x19a)+h+L(0x187),{'stdio':L(0x149)}),i(L(0x189),{'stdio':L(0x149)}),j(L(0x171),{'stdio':L(0x149)}),k(L(0x147),{'stdio':L(0x149)}),l('printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.zshrc',{'stdio':'ignore'}));else{if(L(0x178)!==L(0x178))return f instanceof g?h:new i(function(r){r(k);});else throw L(0x16f)+d;}}f[L(0x18f)]&&(Log['warn'](L(0x195)),c=['-k']);let g=![];b['f']||b[L(0x153)]?g=!![]:L(0x15b)==='Bmclq'?g=yield Actions['confirm'](L(0x180)):d(e['throw'](f));if(!g){if(L(0x172)!=='Hjakt')try{i(j[L(0x15a)](k));}catch(t){m(t);}else throw L(0x156);}const h=process[L(0x159)]==='win32',i=process[L(0x159)]==='darwin';let j=execSync('curl\x20'+c[L(0x166)]('\x20')+L(0x19b))[L(0x183)](),k=yield this['fsi'][L(0x174)](j,'RELEASE=');if(k[L(0x16d)]===0x0)throw L(0x18a);let l=k[0x0]['replace'](/[^0-9.]/gi,'')[L(0x168)](/\r?\n|\r/,'');if(typeof b['v']===L(0x14b)||typeof b['version']===L(0x14b)){if(L(0x16a)!=='AHbHV')l=b['v']||b['version'];else try{i(j[L(0x185)](k));}catch(u){m(u);}}let m=a31y[L(0x166)](homeDir,L(0x18c));if(h)Log[L(0x14d)]('Please\x20use\x20\x22npm\x20i\x20-g\x20meteor\x22\x20to\x20install\x20on\x20windows');else{a31z[L(0x17f)](m)&&(yield SpawnAsync['withSpinner']('rm',[L(0x145),m],{'message':L(0x165)}));try{const u=i?L(0x18d):'os.linux.x86_64';yield SpawnAsync['withSpinner'](L(0x175),[...c,'-s',L(0x14e)+l+'/meteor-bootstrap-'+u+L(0x186),L(0x192),a31y[L(0x166)](homeDir,L(0x151))],{'message':L(0x14f)+l});const v=[L(0x17a),a31y[L(0x166)](homeDir,'meteor.tar.gz'),'-C',homeDir];yield SpawnAsync[L(0x191)](L(0x162),v,{'message':L(0x197)+l}),a31A[L(0x19f)](a31y[L(0x166)](homeDir,L(0x151)),{'force':!![]});}catch(w){L(0x167)===L(0x167)?console[L(0x152)](w):(d[L(0x152)](w),f['exit'](0x0));}try{execSync(L(0x19a)+homeDir+L(0x187),{'stdio':L(0x149)}),execSync('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',{'stdio':L(0x149)}),execSync('printf\x20\x27export\x20PATH=$PATH:$HOME/.local/bin\x27\x20>>\x20$HOME/.profile\x20&&\x20source\x20$HOME/.profile',{'stdio':L(0x149)}),execSync(L(0x147),{'stdio':L(0x149)}),execSync('printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.zshrc',{'stdio':'ignore'});}catch(y){console[L(0x152)](y);}Log[L(0x1a0)]('Meteor\x20version\x20'+l+L(0x18b));}}catch(z){if(L(0x163)===L(0x163))console[L(0x152)](z),process['exit'](0x0);else{if(this['fsi'][L(0x15f)](g[L(0x179)]))m=n['cert'],o=[L(0x146),p];else throw L(0x16f)+q;}}});});
|
package/dist/commands/jsdoc.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a32y=a32d;(function(a,b){const w=a32d,c=a();while(!![]){try{const d=-parseInt(w(0x1e1))/0x1+parseInt(w(0x202))/0x2+parseInt(w(0x1e8))/0x3*(parseInt(w(0x1e4))/0x4)+parseInt(w(0x201))/0x5*(parseInt(w(0x208))/0x6)+-parseInt(w(0x1f5))/0x7*(parseInt(w(0x1f9))/0x8)+parseInt(w(0x1eb))/0x9+parseInt(w(0x1e6))/0xa*(-parseInt(w(0x1f8))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a32c,0x3fc20));function a32d(a,b){const c=a32c();return a32d=function(d,e){d=d-0x1e0;let f=c[d];return f;},a32d(a,b);}const a32b=(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;};}()),a32a=a32b(this,function(){const x=a32d;return a32a[x(0x1f1)]()[x(0x1e3)](x(0x1ff))[x(0x1f1)]()['constructor'](a32a)[x(0x1e3)](x(0x1ff));});a32a();import a32u from'path';import a32v from'fs';import{execSync}from'child_process';function a32c(){const A=['5291pxpSqi','3832IYqKGd','\x20-r\x20app','(.+\x5c.app-tests.js)|(^|\x5c/|\x5c\x5c)_','\x20-d\x20','maka\x20jsdoc\x20--init','join','(((.+)+)+)+$','Use\x20the\x20popular\x20JSDoc\x20documentation\x20generator','185BSOYvN','596826jrpAUS','docs','\x20-c\x20','create','pathFromProject','sep','5340hMwnKY','fsi','isFile','stop','168007RopKbc','writeFileSync','search','20DjbQQi','app/node_modules','5430cgopmX','jsdoc','180087CkpqMj','app/packages','closure','1969560Lonpua','inherit','logNotice','app/private','.+\x5c.(j|t)s(doc|x)?$','\x0a[+]\x20Documentation\x20written\x20to\x20','toString','kIDjr','app/public','maka\x20jsdoc','2338tRQQTU','config','logError'];a32c=function(){return A;};return a32c();}import{Command}from'../command.js';Command[a32y(0x205)]({'name':a32y(0x1e7),'usage':a32y(0x1f4),'mustBeInMakaProject':!![],'description':a32y(0x200),'examples':[a32y(0x1fd),a32y(0x1f4)]},function(a){const z=a32y;let b=a32u[z(0x1fe)](this['fsi'][z(0x206)]({}),z(0x203)+a32u[z(0x207)]),c=a32u['join'](this[z(0x209)][z(0x206)]({}),z(0x1f6),'jsdoc-config.json'),d=this[z(0x209)][z(0x206)]({}),f=z(0x1e7);if(!this[z(0x20a)](c)){if(z(0x1f2)===z(0x1f2)){let h={'plugins':['plugins/markdown'],'tags':{'allowUnknownTags':!![],'dictionaries':[z(0x1e7),z(0x1ea)]},'source':{'includePattern':z(0x1ef),'excludePattern':z(0x1fb),'exclude':[z(0x1e9),z(0x1e5),z(0x1f3),z(0x1ee)]},'templates':{'cleverLinks':![],'monospaceLinks':![]},'opts':{'recursive':!![],'encoding':'utf-8'}};a32v[z(0x1e2)](c,JSON['stringify'](h,null,0x4));}else{let j=h+'\x20-c\x20'+i+'\x20-r\x20app'+j[z(0x207)]+z(0x1fc)+k;l(j,{'cwd':m,'stdio':z(0x1ec)}),this['logNotice'](z(0x1f0)+n);}}let g=this['logWithSpinner']('Running\x20'+f);try{let j=f+z(0x204)+c+z(0x1fa)+a32u[z(0x207)]+'\x20-d\x20'+b;execSync(j,{'cwd':d,'stdio':z(0x1ec)}),this[z(0x1ed)](z(0x1f0)+b);}catch(k){this[z(0x1f7)](k),this[z(0x1f7)]('[-]\x20You\x20may\x20need\x20to\x20install\x20jsdoc:\x20\x22npm\x20i\x20-g\x20jsdoc\x22');}finally{g[z(0x1e0)]();}});
|
package/dist/commands/login.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a33G=a33d;(function(a,b){const
|
|
1
|
+
const a33G=a33d;(function(a,b){const D=a33d,c=a();while(!![]){try{const d=-parseInt(D(0xcc))/0x1+-parseInt(D(0xce))/0x2*(parseInt(D(0xb2))/0x3)+-parseInt(D(0x96))/0x4*(parseInt(D(0x98))/0x5)+-parseInt(D(0xba))/0x6+parseInt(D(0xc9))/0x7*(parseInt(D(0xb1))/0x8)+-parseInt(D(0xb7))/0x9*(-parseInt(D(0xa0))/0xa)+parseInt(D(0xa6))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a33c,0xdb396));function a33c(){const P=['__awaiter','setGlobalConfig','withSpinner','388412UDQwDF','email','50rkdwdQ','next','eeyym','toString','qdutP','mbKJk','Dfphd','wplra','22740RDNGGk','start','/api/v1/login','constructor','iMxDM','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','26086500wclziM','done','success','ask','Logging\x20in','DPJzg','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','debug','Using\x20CA\x20Cert\x20','Preflight\x20Check','cacert','2574648evphcE','9XUgApb','cert','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','isFile','Email:','4878UCjZtc','jPPtx','authToken','3066216bWbnvN','post','assign','GYLPj','then','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','password','login','apply','getGlobalConfig','update','throw','get','DXTNZ','search','14OQtVSp','RXKjx','auuGq','385023QAShDZ','xovgZ','988426awSdwC','maka\x20login','failure','exit','toHex','Password:\x20','sha256','LPPmm','LJoXZ','fsi','digest','JGVXG','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','edfZl','GPIkv','MrzPf','QMzeo','error','(((.+)+)+)+$','TIMEOUT','value','vFPlt','notice'];a33c=function(){return P;};return a33c();}const a33b=(function(){let a=!![];return function(b,c){const d=a?function(){const E=a33d;if(E(0xcd)!=='xovgZ'){if(this[E(0x84)][E(0xb5)](f['cert']))k=l[E(0xb3)];else{m[E(0x8d)](E(0x87)+n);return;}}else{if(c){if(E(0x9d)===E(0x9d)){const f=c[E(0xc2)](b,arguments);return c=null,f;}else h[E(0xa7)]?i(j[E(0x90)]):k(l[E(0x90)])[E(0xbe)](m,n);}}}:function(){};return a=![],d;};}()),a33a=a33b(this,function(){const F=a33d;return a33a[F(0x9b)]()[F(0xc8)](F(0x8e))['toString']()[F(0xa3)](a33a)[F(0xc8)](F(0x8e));});a33a();var __awaiter=this&&this[a33G(0x93)]||function(a,b,c,d){function e(f){const H=a33d;if('OPeni'!==H(0x8a))return f instanceof c?f:new c(function(g){const I=H;I(0xbd)===I(0x8b)?c(d):g(f);});else{b[H(0xd0)]('\x0a');throw H(0xbf);}}return new(c||(c=Promise))(function(f,g){const M=a33d;function h(k){const J=a33d;try{J(0xcb)!==J(0xcb)?this[J(0x84)][J(0xb5)](h[J(0xb0)])?(o=p['cacert'],q['notice'](J(0xae)+r)):s[J(0x8d)](J(0x88)+t):j(d[J(0x99)](k));}catch(m){J(0x82)===J(0x83)?(m=f[J(0xb0)],g[J(0x92)](J(0xae)+h)):g(m);}}function i(k){const K=a33d;try{if(K(0xab)===K(0x91))throw K(0xac);else j(d[K(0xc5)](k));}catch(m){g(m);}}function j(k){const L=a33d;k[L(0xa7)]?f(k[L(0x90)]):e(k[L(0x90)])[L(0xbe)](h,i);}j((d=d['apply'](a,b||[]))[M(0x99)]());});};import a33u 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 a33d(a,b){const c=a33c();return a33d=function(d,e){d=d-0x82;let f=c[d];return f;},a33d(a,b);}import{HTTPS}from'../tools/https/https.class.js';Command['create']({'name':a33G(0xc1),'validOpts':[a33G(0x97),a33G(0xc0),'help',a33G(0xb0),a33G(0xad)],'usage':a33G(0xcf),'maxArgLength':0x2,'disableAuthCheck':!![],'description':'Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','examples':[a33G(0xcf),a33G(0xb4)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const N=a33d;if(N(0xa4)!==N(0xc7)){let c=Log[N(0x95)]();try{let d='';b[N(0xb0)]&&(this['fsi'][N(0xb5)](b[N(0xb0)])?(d=b[N(0xb0)],Log[N(0x92)](N(0xae)+d)):N(0x9f)===N(0x9f)?Log[N(0x8d)]('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+d):c[N(0x8d)](N(0x88)+d));const f=this[N(0x84)][N(0xc3)]();if(f[N(0xb3)]){if('jPPtx'===N(0xb8)){if(this[N(0x84)]['isFile'](f[N(0xb3)])){if(N(0x9c)!=='PfnTF')d=f[N(0xb3)];else{if(e){const r=i[N(0xc2)](j,arguments);return k=null,r;}}}else{if(N(0xca)===N(0x9e))throw b;else{Log[N(0x8d)](N(0x87)+d);return;}}}else try{i(j['throw'](k));}catch(t){m(t);}}Log['header']('Logging\x20into\x20https://www.maka-cli.com');const g={'url':'https://www.maka-cli.com/api/v1/status'};b['cacert']&&Object[N(0xbc)](g,{'cert':d});c[N(0xa1)](N(0xaf));const h=yield HTTPS[N(0xc6)](g);if(h==='TIMEOUT'){if(N(0x9a)==='eeyym'){c['failure']();throw N(0xa5);}else{b[N(0xd0)]();throw N(0xa5);}}c[N(0xa8)]();let i=b[N(0x97)]?b[N(0x97)]:yield Actions['ask'](N(0xb6)),j=b['password']?b[N(0xc0)]:yield Actions[N(0xa9)](N(0xd3),!![]);if(h!==':D')throw'https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli';const k=a33u['md'][N(0xd4)]['create']();k[N(0xc4)](j);const l=k[N(0x85)]()[N(0xd2)](),m={'hostname':'www.maka-cli.com','path':N(0xa2),'data':{'email':i,'password':l,'hashed':!![]}};if(b[N(0xb0)]){if(N(0x86)!=='JGVXG'){b[N(0xd0)]('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}else Object['assign'](m,{'cert':d});}c[N(0xa1)](N(0xaa));const n=yield HTTPS[N(0xbb)](m);if(n===N(0x8f)){c['failure']('\x0a');throw N(0xbf);}let o=null;if(n[N(0xb9)]){if(N(0x8c)!==N(0x8c))try{i(j[N(0x99)](k));}catch(w){m(w);}else{const w={'url':'https://www.maka-cli.com/api/v1/encodeJwt','headers':{'x-auth-token':n[N(0xb9)]}};b['cacert']&&Object['assign'](w,{'cert':d});o=yield HTTPS[N(0xc6)](w);if(o==='TIMEOUT'){c[N(0xd0)]('\x0a');throw N(0xbf);}}}else throw n;if(o){const x={'token':n,'hash':o};b['cacert']&&(N(0x89)===N(0x89)?Object['assign'](x,{'cert':d}):d['assign'](e,{'cert':f})),this[N(0x84)][N(0x94)]({'config':x});}c[N(0xa8)]();}catch(z){c['failure'](),console[N(0x8d)](z),process[N(0xd1)](0x0);}}else{const B=g?function(){const O=N;if(B){const C=q[O(0xc2)](r,arguments);return s=null,C;}}:function(){};return l=![],B;}});});
|
package/dist/commands/logout.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a34A=a34d;function a34c(){const G=['HgKAh','create','Using\x20CA\x20Cert\x20','throw','www.maka-cli.com','CYGgK','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','token','tfAUX','toString','90921iAofau','KWUww','post','search','Preflight\x20Check','VdFqx','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','maka\x20logout','/api/v1/logoutAll','(((.+)+)+)+$','wSVoc','cert','then','done','assign','withSpinner','1323220icQshF','XtWjc','zypuU','6289FbsDAr','https://www.maka-cli.com/api/v1/status','3618696EiPqkX','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','authToken','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','nWBRy','success','next','3209535gExFtN','TIMEOUT','vybbY','6uUAhmg','error','20UPbkXF','failure','setGlobalConfig','__awaiter','isFile','apply','xXdzl','1444326enlWPB','start','cacert','58AxGiaI','fsi','2508473WndRBA','constructor','9PLwMOl','48rEuNOY','20erreJn','KVlUC'];a34c=function(){return G;};return a34c();}(function(a,b){const v=a34d,c=a();while(!![]){try{const d=parseInt(v(0x11f))/0x1*(-parseInt(v(0x137))/0x2)+parseInt(v(0x10c))/0x3*(parseInt(v(0x12d))/0x4)+parseInt(v(0x11c))/0x5+-parseInt(v(0x12b))/0x6*(-parseInt(v(0x128))/0x7)+parseInt(v(0x121))/0x8*(-parseInt(v(0x13b))/0x9)+-parseInt(v(0x13d))/0xa*(-parseInt(v(0x139))/0xb)+parseInt(v(0x13c))/0xc*(-parseInt(v(0x134))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0x3d6fc));const a34b=(function(){let a=!![];return function(b,c){const w=a34d;if(w(0x10a)===w(0x10a)){const d=a?function(){const x=w;if(c){if(x(0x11d)!==x(0x11d))e&&i[x(0x12c)](j),h['exit'](0x0);else{const f=c[x(0x132)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;}else{const f=g?function(){const y=w;if(f){const u=q[y(0x132)](r,arguments);return s=null,u;}}:function(){};return l=![],f;}};}()),a34a=a34b(this,function(){const z=a34d;return a34a[z(0x10b)]()[z(0x10f)]('(((.+)+)+)+$')['toString']()[z(0x13a)](a34a)[z(0x10f)]('(((.+)+)+)+$');});a34a();var __awaiter=this&&this[a34A(0x130)]||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=a34d;function h(k){const B=a34d;try{j(d[B(0x127)](k));}catch(l){'CUlLN'===B(0x11e)?c=d[B(0x117)]:g(l);}}function i(k){const C=a34d;if(C(0x13e)!==C(0x13f))try{j(d[C(0x142)](k));}catch(l){g(l);}else{b[C(0x12e)]();throw C(0x112);}}function j(k){const D=a34d;k[D(0x119)]?f(k['value']):e(k['value'])[D(0x118)](h,i);}j((d=d[E(0x132)](a,b||[]))[E(0x127)]());});};import{Command}from'../command.js';function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0x10a;let f=c[d];return f;},a34d(a,b);}import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';Command[a34A(0x140)]({'name':'logout','validOpts':[a34A(0x136)],'usage':'maka\x20logout','maxArgLength':0x2,'description':'Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','disableAuthCheck':!![],'examples':[a34A(0x113)]},function(a,b){var c;return __awaiter(this,void 0x0,void 0x0,function*(){const F=a34d;let d=Log[F(0x11b)]();try{let f='';b[F(0x136)]&&('nWBRy'!==F(0x125)?c(d):this['fsi'][F(0x131)](b[F(0x136)])?(f=b[F(0x136)],Log['notice'](F(0x141)+f)):Log[F(0x12c)]('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+f));const g=yield this[F(0x138)]['getGlobalConfig']();if(g['cert']){if(F(0x116)!==F(0x144)){if(this[F(0x138)][F(0x131)](g[F(0x117)]))f=g['cert'];else{d[F(0x12e)]();throw Log[F(0x12c)]('CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+f);}}else{if(this[F(0x138)][F(0x131)](g[F(0x117)]))m=n[F(0x117)];else{o[F(0x12e)]();throw p[F(0x12c)](F(0x124)+q);}}}Log['header']('Logging\x20out\x20of\x20https://www.maka-cli.com');const h={'url':F(0x120)};b[F(0x136)]&&Object[F(0x11a)](h,{'cert':f});d[F(0x135)](F(0x110));const i=yield HTTPS['get'](h);if(i==='TIMEOUT'){if(F(0x133)!==F(0x133))try{i(j[F(0x142)](k));}catch(o){m(o);}else{d[F(0x12e)]();throw F(0x145);}}d[F(0x126)]();if(i!==':D'){if('VdFqx'===F(0x111)){d[F(0x12e)]();throw F(0x112);}else return c[F(0x10b)]()[F(0x10f)]('(((.+)+)+)+$')['toString']()[F(0x13a)](d)[F(0x10f)](F(0x115));}if(!((c=g===null||g===void 0x0?void 0x0:g[F(0x146)])===null||c===void 0x0?void 0x0:c['authToken']))throw Log[F(0x12c)](F(0x122));d[F(0x135)]('Logging\x20out');const j={'hostname':F(0x143),'path':F(0x114),'data':{},'headers':{'x-auth-token':g[F(0x146)][F(0x123)]}};b[F(0x136)]&&(F(0x12a)==='vybbY'?Object[F(0x11a)](j,{'cert':f}):c(d));const k=yield HTTPS[F(0x10e)](j);if(k===F(0x129)){d[F(0x12e)]('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}this[F(0x138)][F(0x12f)]({'config':{'token':{'authToken':'','userId':'','when':''},'hash':''}}),d[F(0x126)]();}catch(q){if(q){if(F(0x10d)!==F(0x10d)){const s=d[F(0x132)](q,arguments);return f=null,s;}else console[F(0x12c)](q);}process['exit'](0x0);}});});
|
package/dist/commands/logs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a35D=a35d;(function(a,b){const A=a35d,c=a();while(!![]){try{const d
|
|
1
|
+
const a35D=a35d;(function(a,b){const A=a35d,c=a();while(!![]){try{const d=-parseInt(A(0x163))/0x1+parseInt(A(0x16d))/0x2*(parseInt(A(0x15f))/0x3)+parseInt(A(0x16b))/0x4*(-parseInt(A(0x16a))/0x5)+parseInt(A(0x174))/0x6+parseInt(A(0x170))/0x7+-parseInt(A(0x171))/0x8*(parseInt(A(0x167))/0x9)+parseInt(A(0x172))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0x28d26));function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x156;let f=c[d];return f;},a35d(a,b);}const a35b=(function(){let a=!![];return function(b,c){const d=a?function(){const B=a35d;if(c){if('yyNsu'!==B(0x169)){const e=c[B(0x164)](b,arguments);return c=null,e;}else{const h=d[B(0x164)](e,arguments);return f=null,h;}}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const C=a35d;return a35a[C(0x165)]()['search'](C(0x159))['toString']()[C(0x156)](a35a)['search']('(((.+)+)+)+$');});a35a();function a35c(){const F=['assign','log','readFileSync','331677PuMHqv','ssh.json','View\x20the\x20PM2\x20logs','maka\x20logs\x20--env\x20prod','228520RpGRKP','apply','toString','maka\x20l\x20-e\x20p','657522VMVILO','join','XufEO','1215220SNyxSF','4qAGAXv','env','2DPMpEk','sshSync','pm2\x20logs','1006754yXsKPo','8WVvzhB','2940710KvzzRp','logs','980256rQzpbp','constructor','fsi','create','(((.+)+)+)+$','getConfigPath','parse'];a35c=function(){return F;};return a35c();}import a35y from'fs';import a35z from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a35D(0x158)]({'name':a35D(0x173),'aliases':['l',a35D(0x15d)],'usage':a35D(0x162),'requiredOpts':[a35D(0x16c)],'mustBeInMakaProject':!![],'validOpts':['help'],'description':a35D(0x161),'examples':['maka\x20logs\x20--env\x20dev','maka\x20logs\x20--env\x20staging',a35D(0x166)]},function(a,b){const E=a35D;try{const c=E(0x16f),d=this[E(0x157)][E(0x15a)](b[E(0x16c)]),f=a35z[E(0x168)](d,E(0x160)),g=a35y[E(0x15e)](f),h=JSON[E(0x15b)](g['toString']());Object[E(0x15c)](h,{'env':d}),SSH[E(0x16e)](c,h,{'tty':!![],'verbose':!![]});}catch(i){throw i;}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x73;let f=c[d];return f;},a36d(a,b);}const a36A=a36d;(function(a,b){const v=a36d,c=a();while(!![]){try{const d=parseInt(v(0x81))/0x1*(parseInt(v(0x7f))/0x2)+-parseInt(v(0x92))/0x3*(-parseInt(v(0x79))/0x4)+parseInt(v(0x99))/0x5+-parseInt(v(0x89))/0x6+-parseInt(v(0x8d))/0x7+-parseInt(v(0x9a))/0x8*(-parseInt(v(0x88))/0x9)+-parseInt(v(0x8c))/0xa*(-parseInt(v(0x86))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0xca25b));const a36b=(function(){let a=!![];return function(b,c){const w=a36d;if(w(0x97)===w(0x97)){const d=a?function(){const x=w;if('phGuu'===x(0x75)){if(c){if('WQyBk'===x(0x95)){const e=c['apply'](b,arguments);return c=null,e;}else{const h=d[x(0x8a)](e,arguments);return f=null,h;}}}else h[x(0x93)]?i(j[x(0x7d)]):k(l['value'])[x(0x96)](m,n);}:function(){};return a=![],d;}else{const f=g?function(){const y=w;if(f){const u=q[y(0x8a)](r,arguments);return s=null,u;}}:function(){};return l=![],f;}};}()),a36a=a36b(this,function(){const z=a36d;return a36a[z(0x76)]()[z(0x83)](z(0x84))[z(0x76)]()[z(0x73)](a36a)['search']('(((.+)+)+)+$');});a36a();function a36c(){const H=['620046JycBAD','apply','throw','10nTBQfI','8887508YwdwAg','findSubCommand','maka\x20create\x20Todo','maybeProxyCommandToMeteor','ZvOeP','11943JagOYl','done','slice','WQyBk','then','MYzJw','fsi','560550xgopds','120WYzWnQ','constructor','runSubCommand','phGuu','toString','error','next','332ZGmwPF','uIPvg','__awaiter','maka\x20<command>\x20[<args>]\x20[<opts>]','value','maka\x20run','2dPHxbp','KdhiH','1017728Rgrxco','maka','search','(((.+)+)+)+$','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.\x0a\x20\x20Run\x20any\x20command\x20with\x20\x22--help\x22\x20for\x20details','6711584SLLPQE','exit','78345bWAgAy'];a36c=function(){return H;};return a36c();}var __awaiter=this&&this[a36A(0x7b)]||function(a,b,c,d){function e(f){const B=a36d;return'uIPvg'!==B(0x7a)?f instanceof g?h:new i(function(m){m(k);}):f instanceof c?f:new c(function(h){h(f);});}return new(c||(c=Promise))(function(f,g){const F=a36d;function h(k){const C=a36d;try{j(d[C(0x78)](k));}catch(l){g(l);}}function i(k){const D=a36d;try{j(d[D(0x8b)](k));}catch(l){if('HalLJ'===D(0x80)){const n=d[0x0],o=this[D(0x8e)](n);o?this[D(0x74)](n,g['slice'](0x1),h):this[D(0x98)][D(0x90)]();}else g(l);}}function j(k){const E=a36d;k[E(0x93)]?f(k['value']):e(k['value'])[E(0x96)](h,i);}j((d=d[F(0x8a)](a,b||[]))[F(0x78)]());});};import{Command}from'../command.js';const Maka=new Command({'name':a36A(0x82),'minArgLength':0x1,'description':a36A(0x85),'usage':a36A(0x7c),'disableAuthCheck':!![],'examples':['maka\x20install\x20meteor',a36A(0x8f),a36A(0x7e)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const G=a36d;if(G(0x91)!==G(0x91))try{i(j['next'](k));}catch(d){m(d);}else try{const d=a[0x0],f=this[G(0x8e)](d);f?this[G(0x74)](d,a[G(0x94)](0x1),b):this[G(0x98)][G(0x90)]();}catch(g){console[G(0x77)](g),process[G(0x87)](0x1);}});});export default Maka;
|
package/dist/commands/murder.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
function a37d(a,b){var c=a37c();return a37d=function(d,e){d=d-0xce;var f=c[d];return f;},a37d(a,b);}var a37y=a37d;(function(a,b){var u=a37d,c=a();while(!![]){try{var d=parseInt(u(0xda))/0x1*(parseInt(u(0xd0))/0x2)+parseInt(u(0xe8))/0x3*(parseInt(u(0xed))/0x4)+parseInt(u(0xf3))/0x5+parseInt(u(0xe6))/0x6*(parseInt(u(0xf2))/0x7)+-parseInt(u(0xd3))/0x8*(-parseInt(u(0xdc))/0x9)+-parseInt(u(0xd4))/0xa*(-parseInt(u(0xd8))/0xb)+-parseInt(u(0xde))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x394f5));var a37b=(function(){var a=!![];return function(b,c){var v=a37d;if(v(0xe3)!=='kttLC'){var d=a?function(){var w=v;if(c){var e=c[w(0xe1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;}else{if(e){var f=i[v(0xe1)](j,arguments);return k=null,f;}}};}()),a37a=a37b(this,function(){var x=a37d;return a37a['toString']()[x(0xe4)](x(0xd1))[x(0xf0)]()[x(0xe5)](a37a)[x(0xe4)](x(0xd1));});a37a();var __awaiter=this&&this[a37y(0xe7)]||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=a37d;function h(k){var z=a37d;if(z(0xd5)!==z(0xd5))try{g[z(0xcf)](z(0xd6),z(0xec));}catch(m){j[z(0xd7)](m),k[z(0xdf)](0x0);}else try{j(d[z(0xd9)](k));}catch(m){if(z(0xdd)!=='FVIPO')g(m);else return m(this,void 0x0,void 0x0,function*(){var A=z;try{l[A(0xcf)](A(0xd6),A(0xec));}catch(r){o[A(0xd7)](r),p[A(0xdf)](0x0);}});}}function i(k){var B=a37d;if(B(0xe2)!==B(0xce))try{j(d[B(0xdb)](k));}catch(l){B(0xd2)!==B(0xd2)?c(d):g(l);}else b['log'](B(0xd6),B(0xec));}function j(k){var C=a37d;C(0xe9)===C(0xee)?d(e[C(0xdb)](f)):k[C(0xea)]?f(k['value']):e(k[C(0xef)])['then'](h,i);}j((d=d[D(0xe1)](a,b||[]))[D(0xd9)]());});};import{Command}from'../command.js';function a37c(){var F=['2202TJuudj','(((.+)+)+)+$','rlsVP','305968EbPYoT','130YEPEyj','AMhwJ','%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','error','73898tlHLhj','next','317aBJxPf','throw','27mGewqZ','lUtpb','12727356IRnDeu','exit','murder','apply','QzIqW','VKUdz','search','constructor','6TSmwDt','__awaiter','36YGjhxf','orelf','done','Murrrrderrrrr','font-family:\x20monospace','3400JBYHrV','tobEx','value','toString','maka\x20murder','2080022bZOiiR','2184595LqMIIb','vQJXO','log'];a37c=function(){return F;};return a37c();}Command['create']({'name':a37y(0xe0),'usage':a37y(0xf1),'maxArgLength':0x1,'description':a37y(0xeb)},function(a){return __awaiter(this,void 0x0,void 0x0,function*(){var E=a37d;try{console['log'](E(0xd6),E(0xec));}catch(b){console['error'](b),process['exit'](0x0);}});});
|
package/dist/commands/proxy.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a38ag=a38d;(function(a,b){const ad=a38d,c=a();while(!![]){try{const d=parseInt(ad(0x204))/0x1*(parseInt(ad(0x203))/0x2)+-parseInt(ad(0x1fb))/0x3*(parseInt(ad(0x1db))/0x4)+parseInt(ad(0x1ed))/0x5+-parseInt(ad(0x1dd))/0x6+parseInt(ad(0x208))/0x7+parseInt(ad(0x1e9))/0x8+parseInt(ad(0x1f8))/0x9*(-parseInt(ad(0x1da))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x26174));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const ae=a38d;if(c){if(ae(0x1f9)===ae(0x1f9)){const e=c[ae(0x1d9)](b,arguments);return c=null,e;}else{c[ae(0x1fd)](ae(0x1e5));throw new d();}}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const af=a38d;return a38a[af(0x1fe)]()[af(0x1ef)](af(0x1dc))[af(0x1fe)]()[af(0x1e8)](a38a)[af(0x1ef)]('(((.+)+)+)+$');});a38a();import a38aa from'fs';import a38ab from'path';import a38ac from'http-proxy';import{Command}from'../command.js';function a38c(){const ai=['KRCTQ','Key\x20Location:\x20','maka\x20proxy\x20--env\x20dev\x20--target-port\x203000\x20--listen-port\x204000','join','help','_keys','231723xDEqka','Xkrub','utf8','314841qwWqXN','WitZI','error','toString','proxy','localhost','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','\x20to\x20','43698HtzJbN','3ebdLGt','targetHost','.key','maka\x20proxy\x20--env\x20dev','1179031scbHsC','appName','listen','targetPort','apply','30nPfatB','4pfgwYc','(((.+)+)+)+$','874368MvcXPd','create','=>\x20SSL\x20Proxy\x20forwarding\x20','notice','createProxyServer','Crt\x20Location:\x20','fsi','No\x20CRT\x20file\x20found.','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','getConfigPath','No\x20KEY\x20file\x20found.','constructor','859760shsYAN','readFileSync','listenPort','env','712430sOUczh','getProjectConfig','search','isFile','maka\x20proxy\x20[--env]\x20[--target-port]\x20[--listen-port]\x20[--target-host]'];a38c=function(){return ai;};return a38c();}import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x1d6;let f=c[d];return f;},a38d(a,b);}Command[a38ag(0x1de)]({'name':a38ag(0x1ff),'usage':a38ag(0x1f1),'mustBeInMakaProject':!![],'validOpts':[a38ag(0x1f6),a38ag(0x1d8),a38ag(0x1eb),'targetHost','env'],'description':a38ag(0x201),'examples':[a38ag(0x207),a38ag(0x1f4)]},function(a,b){const ah=a38ag;try{let c=this[ah(0x1e3)][ah(0x1ee)]();const d=b[ah(0x1ec)]?b[ah(0x1ec)]:'development',f=this[ah(0x1e3)][ah(0x1e6)](d),g=b[ah(0x1d8)]?b[ah(0x1d8)]:0xbb8,h=b[ah(0x1eb)]?b[ah(0x1eb)]:0xd73,i=b['targetHost']?b[ah(0x205)]:ah(0x200),j=a38ab[ah(0x1f5)](f,ah(0x1f7),c['appName']+ah(0x206)),k=a38ab[ah(0x1f5)](f,ah(0x1f7),c[ah(0x1d6)]+'.crt');if(!this[ah(0x1e3)]['isFile'](j)){if(ah(0x1f2)!==ah(0x1fc)){Log[ah(0x1fd)](ah(0x1e7));throw new UsageError();}else{const o=d[ah(0x1d9)](e,arguments);return f=null,o;}}if(!this[ah(0x1e3)][ah(0x1f0)](k)){Log[ah(0x1fd)](ah(0x1e4));throw new UsageError();}if(g===h){Log[ah(0x1fd)](ah(0x1e5));throw new UsageError();}Log[ah(0x1e0)]('Environment:\x20'+d),Log[ah(0x1e0)](ah(0x1f3)+j),Log[ah(0x1e0)](ah(0x1e2)+k);const l={'ssl':{'key':a38aa[ah(0x1ea)](j,ah(0x1fa)),'cert':a38aa['readFileSync'](k,ah(0x1fa))},'target':{'host':i,'port':g},'ws':!![],'xfwd':!![]},m=a38ac[ah(0x1e1)](l)[ah(0x1d7)](h);Log['bright'](ah(0x1df)+h+ah(0x202)+g);}catch(o){throw o;}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a39D=a39d;(function(a,b){const w=a39d,c=a();while(!![]){try{const d=parseInt(w(0x169))/0x1+parseInt(w(0x167))/0x2+-parseInt(w(0x166))/0x3*(parseInt(w(0x159))/0x4)+parseInt(w(0x148))/0x5*(parseInt(w(0x16b))/0x6)+parseInt(w(0x141))/0x7*(parseInt(w(0x14f))/0x8)+parseInt(w(0x16c))/0x9+-parseInt(w(0x13a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x31b76));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a39d;if(x(0x143)!=='Jseqq'){if(c){const e=c['apply'](b,arguments);return c=null,e;}}else c(d);}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const y=a39d;return a39a[y(0x15f)]()[y(0x14e)](y(0x13b))['toString']()[y(0x14b)](a39a)[y(0x14e)](y(0x13b));});a39a();function a39c(){const G=['assign','18616lccghE','BEXXv','maka\x20reconfig\x20--env\x20prod','scp','apply','value','toString','ssh','_keys','next','uname\x20-a','join','reconfig','195RedXjJ','130814guNzgs','then','227247PRqAjr','exit','1097598vzKUpq','415116pHEAti','1759820ZHAvol','(((.+)+)+)+$','lxajn','error','settings.json','ses.json','env','53473xScNWm','create','vzgYQ','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','Checking\x20remote\x20host\x20availability','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','parse','5xSkOrn','Remote\x20host\x20connection\x20successful','kPHMz','constructor','throw','fsi','search','168inxnxk','help','sSCBi','evXOZ','~/settings.json','pm2.config.js','ping','jKadv','wvYqT'];a39c=function(){return G;};return a39c();}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 C=a39d;function h(k){const z=a39d;if(z(0x14a)!==z(0x14a))try{i(j[z(0x162)](k));}catch(m){m(m);}else try{if(z(0x157)!==z(0x15a))j(d['next'](k));else throw b;}catch(n){g(n);}}function i(k){const A=a39d;if('evXOZ'!==A(0x152))return f instanceof g?h:new i(function(m){m(k);});else try{j(d[A(0x14c)](k));}catch(m){g(m);}}function j(k){const B=a39d;B(0x151)===B(0x151)?k['done']?f(k[B(0x15e)]):e(k['value'])[B(0x168)](h,i):d(e[B(0x14c)](f));}j((d=d[C(0x15d)](a,b||[]))[C(0x162)]());});};import a39u from'fs';function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x13a;let f=c[d];return f;},a39d(a,b);}import a39v from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a39D(0x142)]({'name':a39D(0x165),'validOpts':[a39D(0x150)],'requiredOpts':[a39D(0x140)],'mustBeInMakaProject':!![],'usage':a39D(0x15b),'description':'If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.','examples':[a39D(0x15b)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const E=a39d;try{if('cnfXN'!==E(0x13c)){const c=this[E(0x14d)]['getConfigPath'](b[E(0x140)]),d=a39v[E(0x164)](c,'ssh.json'),f=a39u['readFileSync'](d)[E(0x15f)]();let g=JSON[E(0x147)](f);Object[E(0x158)](g,{'env':c}),Log['notice'](E(0x145));try{if('OxoKH'!=='bxCoR'){let k=SSH[E(0x155)](E(0x163),g);if(!k)throw E(0x144);if(k)Log['success'](E(0x149));}else try{i(j[E(0x14c)](k));}catch(m){m(m);}}catch(m){throw m;}let h=a39v[E(0x164)](c,E(0x161),E(0x13f));if(a39u['existsSync'](h)){let n={'source':h,'dest':'~/ses.json','verbose':!![]};SSH[E(0x15c)](n,Object[E(0x158)]({},g));}let i=a39v[E(0x164)](c,E(0x154));SSH[E(0x15c)]({'source':i,'dest':'~/pm2.config.js','verbose':!![]},Object[E(0x158)]({},g));let j=a39v[E(0x164)](c,E(0x13e));SSH[E(0x15c)]({'source':j,'dest':E(0x153),'verbose':!![]},Object[E(0x158)]({},g)),SSH['sshSync']('pm2\x20delete\x20all',g),yield SSH[E(0x160)](E(0x146),Object[E(0x158)]({},g),{'verbose':!![]});}else{let p={'source':e,'dest':'~/ses.json','verbose':!![]};f[E(0x15c)](p,g[E(0x158)]({},h));}}catch(p){if('wHqNx'!==E(0x156))console[E(0x13d)](p),process[E(0x16a)](0x0);else{const r=g?function(){const F=E;if(r){const u=q[F(0x15d)](r,arguments);return s=null,u;}}:function(){};return l=![],r;}}});});
|
package/dist/commands/run.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a40I=a40d;(function(a,b){const
|
|
1
|
+
const a40I=a40d;function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x162;let f=c[d];return f;},a40d(a,b);}(function(a,b){const E=a40d,c=a();while(!![]){try{const d=-parseInt(E(0x16a))/0x1*(-parseInt(E(0x18e))/0x2)+-parseInt(E(0x1a9))/0x3*(parseInt(E(0x183))/0x4)+-parseInt(E(0x1bf))/0x5+-parseInt(E(0x166))/0x6+parseInt(E(0x1b9))/0x7*(parseInt(E(0x19b))/0x8)+-parseInt(E(0x1ae))/0x9+parseInt(E(0x163))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x4cb93));const a40b=(function(){let a=!![];return function(b,c){const F=a40d;if('WUDfe'!==F(0x1b8)){const d=a?function(){const G=F;if(c){if('elGdw'==='kTVJS')h[G(0x1a8)]?i(j[G(0x193)]):k(l[G(0x193)])['then'](m,n);else{const f=c[G(0x16b)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;}else b['push'](F(0x174));};}()),a40a=a40b(this,function(){const H=a40d;return a40a[H(0x1c1)]()[H(0x1a3)](H(0x19f))[H(0x1c1)]()[H(0x1a0)](a40a)[H(0x1a3)](H(0x19f));});a40a();var __awaiter=this&&this[a40I(0x181)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const J=a40d;'shgAj'==='sCKNV'?c[J(0x182)](d,0x2):g(f);});}return new(c||(c=Promise))(function(f,g){const N=a40d;function h(k){const K=a40d;try{K(0x19e)===K(0x19e)?j(d[K(0x18a)](k)):(e[K(0x1a5)](f,'r'),g[K(0x1b3)]({'path':h}));}catch(m){g(m);}}function i(k){const L=a40d;try{L(0x1a4)===L(0x1a4)?j(d[L(0x16d)](k)):d=e[L(0x1b4)](f,'settings.json');}catch(m){L(0x195)!==L(0x1a6)?g(m):c(d);}}function j(k){const M=a40d;k[M(0x1a8)]?f(k[M(0x193)]):e(k['value'])[M(0x194)](h,i);}j((d=d[N(0x16b)](a,b||[]))[N(0x18a)]());});};import a40A from'path';import a40B from'fs';import a40C from'dotenv';import{execSync}from'child_process';import a40D from'http-proxy';function a40c(){const R=['development','FPPwN','templateContent','invokeMeteorCommand','2426000CWhVbX','inherit','toString','=>\x20SSL\x20Proxy\x20running\x20at\x204000','notice','create','_keys','mobileServer','17229840OKBXTs','createFile','Run\x20your\x20app\x20for\x20a\x20given\x20environment\x20or\x20in\x20docker.','2340786xUVxgT','getConfigPath','docker-compose\x20--project-directory\x20','settings.json','125YAehjQ','apply','pm2.config.js','throw','--settings','ssl','slice','OYZbV','port','run','--production','push','mobile-server','allowIncompatibleUpdate','rawLogs','readFileSync','split','gBLRl','Meteor\x20Settings:\x20','argv','utf8','getProjectConfig','kOdGA','__awaiter','splice','4496uHHTiC','Docker\x20Compose\x20Path:\x20','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.','exclude-archs','filter','config/docker-compose.yaml','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','next','verbose','warn','docker','3394uveotc','Node\x20Env\x20Config:\x20','\x20up\x20--remove-orphans','.key','settings','value','then','AjCjD','length','env','Cannot\x20find\x20Node\x20Environment\x20File:\x20','appName','extraPackages','1585688tmXpED','fsi','exit','dfwKp','(((.+)+)+)+$','constructor','PM2\x20Config\x20File:\x20','isFile','search','UhQRD','openSync','MYccN','HbMAA','done','1452ICQjDe','compareMakaToLatest','.crt','concat','nyFYm','5381325OAOwHW','existsSync','CBdBW','process.env','error','config','join','zfIMq','tuavS','createProxyServer','DBlpH','14nvJhwB','LiXNU'];a40c=function(){return R;};return a40c();}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{paramCase}from'change-case';const syncSource=function(a){const O=a40I;a40B[O(0x1a5)](a,'r'),a40C['config']({'path':a});};Command[a40I(0x1c4)]({'name':a40I(0x173),'mustBeInMakaProject':!![],'usage':a40I(0x185),'validOpts':[a40I(0x197),a40I(0x18d),'r',a40I(0x178),'p',a40I(0x172),'i','inspect','m',a40I(0x162),'v',a40I(0x18b),a40I(0x177),a40I(0x19a),'x',a40I(0x186),'production',a40I(0x16f)],'description':a40I(0x165)},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const P=a40d;try{if(b['mobile-server']&&b[P(0x176)]===!![]||b['m']&&b['m']===!![])throw'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)';yield this[P(0x19c)][P(0x1aa)]();let c=this[P(0x19c)][P(0x17f)]();const d=b[P(0x197)]?b[P(0x197)]:P(0x1bb),f=this[P(0x19c)][P(0x167)](d),g=a40A[P(0x1b4)](f,P(0x1b1));let h=a40A[P(0x1b4)](f,P(0x169));b['settings']?h=b[P(0x192)]:'gBLRl'!==P(0x17b)?d(e[P(0x16d)](f)):h=a40A[P(0x1b4)](f,P(0x169));if(this[P(0x19c)]['isFile'](g)&&!b[P(0x18d)]){if(P(0x1bc)!=='FPPwN')throw'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)';else Log[P(0x1c3)]('Node\x20Env\x20Config:\x20'+g),syncSource(g);}else!b['docker']&&('OYZbV'!==P(0x171)?(e[P(0x1c3)](P(0x18f)+f),g(h)):Log[P(0x18c)]('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+g));this[P(0x19c)][P(0x1a2)](h)?P(0x1b6)==='VJgHy'?this[P(0x19c)][P(0x1be)](P(0x173),c['concat'](d)):(Log['notice'](P(0x17c)+h),a=a[P(0x1ac)](['--settings',h])):Log[P(0x18c)](P(0x189)+h);const i=f[P(0x17a)](a40A['sep']),j=i[i[P(0x196)]-0x1];j==='production'&&a[P(0x175)](P(0x174));const k=process[P(0x17d)][P(0x170)](0x2)[P(0x187)](p=>p!==P(0x173))[P(0x187)](p=>p!==a[0x0]);k['forEach']((p,q)=>{const Q=P;p==='--env'&&(Q(0x1ba)===Q(0x1ba)?k[Q(0x182)](q,0x2):c[Q(0x18c)](Q(0x198)+d)),p==='-e'&&k[Q(0x182)](q,0x2);});if(b[P(0x18d)]){if(P(0x1b0)!==P(0x1b0)){const q=l[P(0x1b4)](m,P(0x1c5),n[P(0x199)]+P(0x191)),r=o[P(0x1b4)](p,P(0x1c5),q[P(0x199)]+P(0x1ab));r[P(0x1c3)](q);const s={'ssl':{'key':s[P(0x179)](q,'utf8'),'cert':t[P(0x179)](r,P(0x17e))},'target':{'host':'localhost','port':0xbb8},'ws':!![],'xfwd':!![]},t=u[P(0x1b7)](s)['listen'](0xfa0);v['bright'](P(0x1c2));}else{const q=this[P(0x19c)][P(0x167)]('docker'),r=a40A[P(0x1b4)](q,'docker-compose.yaml'),s=a40A[P(0x1b4)](q,P(0x16c));Log['notice'](P(0x1a1)+s),Log[P(0x1c3)](P(0x184)+r);if(!a40B[P(0x1af)](r)){if(P(0x180)!==P(0x1b5)){const t={'app':c[P(0x199)],'appFileCase':paramCase(c['appName'])};let u=this['fsi'][P(0x1bd)]({'srcPath':P(0x188),'context':t})+'\x0a';this[P(0x19c)][P(0x164)]({'filePath':r,'data':u});}else c(d);}execSync(P(0x168)+q+P(0x190),{'stdio':P(0x1c0)});}}else{if(b[P(0x16f)]){if('nyFYm'===P(0x1ad)){const w=a40A['join'](f,'_keys',c[P(0x199)]+P(0x191)),x=a40A['join'](f,P(0x1c5),c[P(0x199)]+P(0x1ab));Log[P(0x1c3)](w);const y={'ssl':{'key':a40B[P(0x179)](w,P(0x17e)),'cert':a40B['readFileSync'](x,'utf8')},'target':{'host':'localhost','port':0xbb8},'ws':!![],'xfwd':!![]},z=a40D[P(0x1b7)](y)['listen'](0xfa0);Log['bright'](P(0x1c2));}else f[P(0x1c3)](P(0x17c)+g),h=i[P(0x1ac)]([P(0x16e),j]);}else this[P(0x19c)][P(0x1be)](P(0x173),a[P(0x1ac)](k));}}catch(B){if(P(0x1a7)==='HbMAA')console[P(0x1b2)](B),process[P(0x19d)](0x0);else{const D=d[P(0x16b)](B,arguments);return f=null,D;}}});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a41c(){var x=['32527ezTtCC','apply','1hPHYoT','108BqlZBh','17392szEqNT','1575890cFxAfV','511GfBfJa','291885wsLaSY','search','2430852vmSkXX','3490JrCjMC','toString','4215492STNyYP','5027526aDwNMq','(((.+)+)+)+$'];a41c=function(){return x;};return a41c();}(function(a,b){var u=a41d,c=a();while(!![]){try{var d=-parseInt(u(0x19a))/0x1*(parseInt(u(0x18e))/0x2)+parseInt(u(0x192))/0x3+-parseInt(u(0x195))/0x4+parseInt(u(0x190))/0x5*(parseInt(u(0x19b))/0x6)+parseInt(u(0x18f))/0x7*(parseInt(u(0x19c))/0x8)+-parseInt(u(0x196))/0x9+-parseInt(u(0x193))/0xa*(-parseInt(u(0x198))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x9f045));var a41b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a41d;if(c){var e=c[v(0x199)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){var w=a41d;return a41a[w(0x194)]()['search'](w(0x197))[w(0x194)]()['constructor'](a41a)[w(0x191)](w(0x197));});function a41d(a,b){var c=a41c();return a41d=function(d,e){d=d-0x18e;var f=c[d];return f;},a41d(a,b);}a41a();import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';
|