@maka/maka-cli 4.2.1 → 4.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/command.js +1 -1
- package/dist/commands/_index.js +1 -1
- package/dist/commands/aws/_index.js +1 -1
- package/dist/commands/aws/aws.command.js +1 -1
- package/dist/commands/aws/ci.sub.cmd.js +1 -1
- package/dist/commands/aws/ckp.sub.cmd.js +1 -1
- package/dist/commands/aws/csg.sub.cmd.js +1 -1
- package/dist/commands/aws/di.sub.cmd.js +1 -1
- package/dist/commands/aws/dks.sub.cmd.js +1 -1
- package/dist/commands/aws/rbi.sub.cmd.js +1 -1
- package/dist/commands/aws/sth.sub.cmd.js +1 -1
- package/dist/commands/aws/ti.sub.cmd.js +1 -1
- package/dist/commands/build/_index.js +1 -1
- package/dist/commands/build/build.js +1 -1
- package/dist/commands/build/docker.sub.cmd.js +1 -1
- package/dist/commands/create.js +1 -1
- package/dist/commands/debug.js +1 -1
- package/dist/commands/deploy.js +1 -1
- package/dist/commands/game/_index.js +1 -1
- package/dist/commands/game/battleship.sub.cmd.js +1 -1
- package/dist/commands/game/play.command.js +1 -1
- package/dist/commands/game/pong.sub.cmd.js +1 -1
- package/dist/commands/game/snake.sub.cmd.js +1 -1
- package/dist/commands/game/tetris.sub.cmd.js +1 -1
- package/dist/commands/generate.js +1 -1
- package/dist/commands/get/_index.js +1 -1
- package/dist/commands/get/get.command.js +1 -1
- package/dist/commands/get/global.sub.cmd.js +1 -1
- package/dist/commands/get/local.sub.cmd.js +1 -1
- package/dist/commands/help.js +1 -1
- package/dist/commands/install.js +1 -1
- package/dist/commands/jsdoc.js +1 -1
- package/dist/commands/login.js +1 -1
- package/dist/commands/logout.js +1 -1
- package/dist/commands/logs.js +1 -1
- package/dist/commands/maka.cmd.js +1 -1
- package/dist/commands/murder.js +1 -1
- package/dist/commands/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/translation.js +1 -1
- package/dist/maka.js +1 -1
- package/dist/tool.js +1 -1
- package/dist/tools/actions/actions.class.js +1 -1
- package/dist/tools/actions/actions.test.js +1 -1
- package/dist/tools/aws/aws.class.js +1 -1
- package/dist/tools/aws/aws.interfaces.js +1 -1
- package/dist/tools/docker/docker.class.js +1 -1
- package/dist/tools/docker/docker.interfaces.js +1 -1
- package/dist/tools/fsi/fsi.class.js +1 -1
- package/dist/tools/fsi/fsi.interfaces.js +1 -1
- package/dist/tools/https/https.class.js +1 -1
- package/dist/tools/https/https.interface.js +1 -1
- package/dist/tools/log/log.class.js +1 -1
- package/dist/tools/log/log.interfaces.js +1 -1
- package/dist/tools/spawn-async/spawn-async.class.js +1 -1
- package/dist/tools/spawn-async/spawn-async.interfaces.js +1 -1
- package/dist/tools/ssh/ssh.class.js +1 -1
- package/dist/tools/ssh/ssh.interfaces.js +1 -1
- package/dist/tools/ssl/ssl.class.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a28y=a28d;(function(a,b){var v=a28d,c=a();while(!![]){try{var d=parseInt(v(0x1d5))/0x1*(-parseInt(v(0x1db))/0x2)+-parseInt(v(0x1de))/0x3+-parseInt(v(0x1da))/0x4+parseInt(v(0x1c6))/0x5*(parseInt(v(0x1d8))/0x6)+-parseInt(v(0x1cb))/0x7+parseInt(v(0x1e4))/0x8+parseInt(v(0x1c5))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a28c,0xd2b02));function a28d(a,b){var c=a28c();return a28d=function(d,e){d=d-0x1c5;var f=c[d];return f;},a28d(a,b);}var a28b=(function(){var a=!![];return function(b,c){var d=a?function(){var w=a28d;if(w(0x1d0)===w(0x1d0)){if(c){if(w(0x1cf)===w(0x1cf)){var e=c[w(0x1d7)](b,arguments);return c=null,e;}else d[w(0x1e0)](e),f[w(0x1d6)](0x0);}}else d(e[w(0x1d1)](f));}:function(){};return a=![],d;};}()),a28a=a28b(this,function(){var x=a28d;return a28a['toString']()[x(0x1c7)](x(0x1dd))[x(0x1d2)]()['constructor'](a28a)[x(0x1c7)]('(((.+)+)+)+$');});a28a();function a28c(){var F=['wwqWL','6806412qHogEL','5RgUOdr','search','eingZ','create','maka\x20get:local','6622987ApYRDI','local','throw','Get\x20maka\x20configurations\x20in\x20the\x20local\x20.maka/config.json\x20file','qBmdH','Rxxrr','next','toString','yACME','rMQqo','47869vUCdGd','exit','apply','9913236ZjoiqU','gRRjP','5622708BluYHN','30vewFNB','__awaiter','(((.+)+)+)+$','509868nkJfej','yGOIA','error','then','getProjectConfig','fsi','13554504BTnlUb','bLhtl','EVwNn'];a28c=function(){return F;};return a28c();}var __awaiter=this&&this[a28y(0x1dc)]||function(a,b,c,d){function e(f){var z=a28d;return'yGOIA'===z(0x1df)?f instanceof c?f:new c(function(g){g(f);}):f instanceof g?h:new i(function(m){m(k);});}return new(c||(c=Promise))(function(f,g){var D=a28d;function h(k){var A=a28d;if('bLhtl'===A(0x1e5))try{j(d['next'](k));}catch(l){g(l);}else c(d);}function i(k){var B=a28d;if(B(0x1e7)===B(0x1e7))try{B(0x1d3)!=='aoFfO'?j(d[B(0x1cd)](k)):c(d);}catch(m){if(B(0x1c8)!==B(0x1d4))g(m);else{if(m){var o=i['apply'](j,arguments);return k=null,o;}}}else try{i(j['next'](k));}catch(p){m(p);}}function j(k){var C=a28d;k['done']?f(k['value']):e(k['value'])[C(0x1e1)](h,i);}j((d=d[D(0x1d7)](a,b||[]))[D(0x1d1)]());});};import a28u from'./get.command.js';import{Command}from'../../command.js';Command[a28y(0x1c9)]({'name':a28y(0x1cc),'usage':a28y(0x1ca),'mustBeInMakaProject':!![],'description':a28y(0x1ce)},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){var E=a28d;try{const c=yield this[E(0x1e3)][E(0x1e2)]();console['log'](c);}catch(d){E(0x1e6)!==E(0x1d9)?(console['error'](d),process[E(0x1d6)](0x0)):c(d);}});},a28u);
|
package/dist/commands/help.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a29B=a29d;(function(a,b){var u=a29d,c=a();while(!![]){try{var d=parseInt(u(0xf5))/0x1*(parseInt(u(0xf6))/0x2)+parseInt(u(0xef))/0x3+parseInt(u(0xf9))/0x4*(-parseInt(u(0xe8))/0x5)+-parseInt(u(0xfc))/0x6+parseInt(u(0xfb))/0x7*(parseInt(u(0xe3))/0x8)+parseInt(u(0xfa))/0x9*(parseInt(u(0xf8))/0xa)+-parseInt(u(0xe4))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a29c,0x52aa4));var a29b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a29d;if(c){if('fMkee'!==v(0xfd)){var e=c[v(0xe1)](b,arguments);return c=null,e;}else try{i(j[v(0xe2)](k));}catch(g){m(g);}}}:function(){};return a=![],d;};}()),a29a=a29b(this,function(){var w=a29d;return a29a[w(0xec)]()['search'](w(0xf7))[w(0xec)]()[w(0xe7)](a29a)[w(0xf4)]('(((.+)+)+)+$');});a29a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){var A=a29d;function h(k){var x=a29d;if('jQnpo'===x(0xe9))try{j(d['next'](k));}catch(l){g(l);}else c(d);}function i(k){var y=a29d;if(y(0xf0)!==y(0xf0))return f instanceof g?h:new i(function(m){m(k);});else try{if(y(0xeb)!=='oCLbc')return c[y(0xec)]()[y(0xf4)]('(((.+)+)+)+$')[y(0xec)]()[y(0xe7)](d)['search'](y(0xf7));else j(d[y(0xe2)](k));}catch(n){g(n);}}function j(k){var z=a29d;z(0xea)!==z(0xf3)?k[z(0xee)]?f(k[z(0xf2)]):e(k[z(0xf2)])[z(0xed)](h,i):d(e[z(0xe2)](f));}j((d=d[A(0xe1)](a,b||[]))[A(0xf1)]());});};function a29c(){var C=['lIuns','apply','throw','8kYdRDg','2021327SFVzNN','Try,\x20maka\x20--help','create','constructor','17645LxFDce','jQnpo','GljnX','oCLbc','toString','then','done','1202451hvoyMc','kxdiB','next','value','WDZDL','search','167akhAQc','4346PUcBen','(((.+)+)+)+$','807790lNYhKX','48TSVNjq','36KYwKpu','1014419HCEVAh','4002240vTneaY'];a29c=function(){return C;};return a29c();}function a29d(a,b){var c=a29c();return a29d=function(d,e){d=d-0xe1;var f=c[d];return f;},a29d(a,b);}import{Command}from'../command.js';import{UsageError}from'../error.js';Command[a29B(0xe6)]({'name':'help','description':a29B(0xe5),'aliases':['h']},function(){return __awaiter(this,void 0x0,void 0x0,function*(){throw new UsageError();});});
|
package/dist/commands/install.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a30E=a30d;(function(a,b){const B=a30d,c=a();while(!![]){try{const d=parseInt(B(0x1b6))/0x1*(-parseInt(B(0x1f5))/0x2)+parseInt(B(0x1c1))/0x3*(parseInt(B(0x1f9))/0x4)+parseInt(B(0x1b2))/0x5*(-parseInt(B(0x1f2))/0x6)+parseInt(B(0x1e3))/0x7+parseInt(B(0x1ef))/0x8+parseInt(B(0x1e2))/0x9*(parseInt(B(0x203))/0xa)+-parseInt(B(0x1cf))/0xb*(parseInt(B(0x1d4))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a30c,0x95cec));function a30c(){const K=['force','error','constructor','-xzf','mkdir\x20-p\x20','platform','Meteor\x20version\x20','exit','ZxWoF','9692670cvqOPT','Removing\x20previous\x20install\x20of\x20meteor','ignore','-rf','tVsRE','sync','keepInstall','maka\x20install','drMhn','withSpinner','.tar.gz','toString','\x20installed.\x0a','homedir','success','5355HNMJbh','cacert','ETfcl','Installing\x20meteor\x20','1IUOVgK','getGlobalConfig','This\x20command\x20should\x20NOT\x20be\x20run\x20as\x20sudo\x20or\x20with\x20administrative\x20privileges.\x20\x20Are\x20you\x20ready\x20to\x20proceed?','Using\x20CA\x20Cert\x20','--output','maka\x20install\x20meteor','confirm','cert','wOAXq','Downloading\x20meteor\x20version\x20','WSEAl','85689PVGdEn','then','maka\x20i','value','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','RUaZa','Aborted','maka\x20install\x20meteor\x20--force','allowInsecure','version','replace','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka.cert,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','install','bLolw','18395498WsTacp','__awaiter','debug','https://static-meteor.netdna-ssl.com/packages-bootstrap/','(((.+)+)+)+$','12jboqzX','existsSync','Install\x20a\x20meteor.\x20\x22maka\x20install\x22\x20defaults\x20to\x20\x22maka\x20install\x20meteor\x22','search','Allowing\x20insecure\x20curl\x20connections.','/.local/bin','--cacert','\x20-s\x20https://install.meteor.com/','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','join','win32','string','apply','throw','9aKwofc','8092945dTRTmd','IVtHe','fsi','printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.zshrc','cKadn','pTDfr','Please\x20use\x20\x22npm\x20i\x20-g\x20meteor\x22\x20to\x20install\x20on\x20windows','zSFzs','isFile','os.linux.x86_64','next','printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.bashrc','2804560sHAaJe','darwin','UPoGb','2688syjNej','maka\x20install\x20meteor\x20--version\x201.12.1','warn','1077122cGWZAO','meteor.tar.gz','notice','printf\x20\x27export\x20PATH=$PATH:$HOME/.local/bin\x27\x20>>\x20$HOME/.profile\x20&&\x20source\x20$HOME/.profile','116ZZPCXG'];a30c=function(){return K;};return a30c();}const a30b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a30d;if('ETfcl'===C(0x1b4)){if(c){if(C(0x1e8)!==C(0x1e8)){if(this[C(0x1e5)][C(0x1eb)](g[C(0x1bd)]))m=n[C(0x1bd)],o=[C(0x1da),p];else throw'CA\x20Cert\x20is\x20configured\x20in\x20~/.maka.cert,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+q;}else{const f=c[C(0x1e0)](b,arguments);return c=null,f;}}}else throw C(0x1cc)+b;}:function(){};return a=![],d;};}()),a30a=a30b(this,function(){const D=a30d;return a30a[D(0x1ae)]()[D(0x1d7)]('(((.+)+)+)+$')['toString']()[D(0x1fc)](a30a)[D(0x1d7)](D(0x1d3));});a30a();var __awaiter=this&&this[a30E(0x1d0)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const F=a30d;'AWrlf'==='vwUZN'?(g(F(0x1fe)+h+F(0x1d9),{'stdio':F(0x205)}),i(F(0x1dc),{'stdio':F(0x205)}),j('printf\x20\x27export\x20PATH=$PATH:$HOME/.local/bin\x27\x20>>\x20$HOME/.profile\x20&&\x20source\x20$HOME/.profile',{'stdio':'ignore'}),k(F(0x1ee),{'stdio':'ignore'}),l(F(0x1e6),{'stdio':F(0x205)})):g(f);});}return new(c||(c=Promise))(function(f,g){const I=a30d;function h(k){const G=a30d;if(G(0x1e7)===G(0x1e7))try{j(d['next'](k));}catch(l){g(l);}else throw G(0x1c5)+b;}function i(k){try{j(d['throw'](k));}catch(l){g(l);}}function j(k){const H=a30d;k['done']?f(k['value']):e(k[H(0x1c4)])[H(0x1c2)](h,i);}j((d=d['apply'](a,b||[]))[I(0x1ed)]());});};function a30d(a,b){const c=a30c();return a30d=function(d,e){d=d-0x1ad;let f=c[d];return f;},a30d(a,b);}import a30x from'os';import a30y from'path';import a30z from'fs';import a30A from'delete';import{execSync}from'child_process';import{SpawnAsync}from'../tools/spawn-async/spawn-async.class.js';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';const homeDir=a30x[a30E(0x1b0)]();Command['create']({'name':a30E(0x1cd),'aliases':['i'],'validOpts':['f',a30E(0x1fa),'v',a30E(0x1ca),a30E(0x1d1),a30E(0x1b3),a30E(0x209)],'usage':a30E(0x20a),'description':a30E(0x1d6),'examples':[a30E(0x1bb),a30E(0x1c8),'maka\x20install\x20meteor\x20-v\x202.3.6',a30E(0x1f3),a30E(0x1c3)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const J=a30d;try{if('LJtlp'!=='aPwHs'){let c=[],d='';if(b[J(0x1b3)]){if(this[J(0x1e5)][J(0x1eb)](b['cacert']))Log[J(0x1f7)](J(0x1b9)+b['cacert']),d=b[J(0x1b3)],c=[J(0x1da),d];else throw'CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+d;}const f=yield this['fsi'][J(0x1b7)]();if(f['cert']){if(this[J(0x1e5)][J(0x1eb)](f[J(0x1bd)]))J(0x1ea)!==J(0x1ea)?c(d):(d=f[J(0x1bd)],c=[J(0x1da),d]);else{if(J(0x1ce)===J(0x1be))b['warn']('Please\x20use\x20\x22npm\x20i\x20-g\x20meteor\x22\x20to\x20install\x20on\x20windows');else throw'CA\x20Cert\x20is\x20configured\x20in\x20~/.maka.cert,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+d;}}f[J(0x1c9)]&&(Log[J(0x1f4)](J(0x1d8)),c=['-k']);let g=![];b['f']||b[J(0x1fa)]?g=!![]:g=yield Actions[J(0x1bc)](J(0x1b8));if(!g){if(J(0x1f1)!==J(0x20b))throw J(0x1c7);else throw'Network\x20error,\x20please\x20try\x20again.';}const h=process[J(0x1ff)]===J(0x1de),i=process[J(0x1ff)]===J(0x1f0);let j=execSync('curl\x20'+c[J(0x1dd)]('\x20')+J(0x1db))[J(0x1ae)](),k=yield this[J(0x1e5)]['grep'](j,'RELEASE=');if(k['length']===0x0){if('ZxWoF'!==J(0x202))d[J(0x1fb)](e),f[J(0x201)](0x0);else throw'Network\x20error,\x20please\x20try\x20again.';}let l=k[0x0][J(0x1cb)](/[^0-9.]/gi,'')[J(0x1cb)](/\r?\n|\r/,'');(typeof b['v']===J(0x1df)||typeof b[J(0x1ca)]===J(0x1df))&&(l=b['v']||b[J(0x1ca)]);let m=a30y[J(0x1dd)](homeDir,'.meteor');if(h)J(0x1e4)!==J(0x1e4)?d(e[J(0x1e1)](f)):Log['warn'](J(0x1e9));else{if(J(0x1c0)===J(0x1c0)){a30z[J(0x1d5)](m)&&(J(0x1c6)===J(0x207)?d(e[J(0x1ed)](f)):yield SpawnAsync[J(0x20c)]('rm',[J(0x206),m],{'message':J(0x204)}));try{const t=i?'os.osx.x86_64':J(0x1ec);yield SpawnAsync[J(0x20c)]('curl',[...c,'-s',J(0x1d2)+l+'/meteor-bootstrap-'+t+J(0x1ad),J(0x1ba),a30y[J(0x1dd)](homeDir,J(0x1f6))],{'message':J(0x1bf)+l});const u=[J(0x1fd),a30y['join'](homeDir,J(0x1f6)),'-C',homeDir];yield SpawnAsync[J(0x20c)]('tar',u,{'message':J(0x1b5)+l}),a30A[J(0x208)](a30y[J(0x1dd)](homeDir,'meteor.tar.gz'),{'force':!![]});}catch(v){console[J(0x1fb)](v);}try{execSync('mkdir\x20-p\x20'+homeDir+'/.local/bin',{'stdio':'ignore'}),execSync(J(0x1dc),{'stdio':J(0x205)}),execSync(J(0x1f8),{'stdio':J(0x205)}),execSync('printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.bashrc',{'stdio':'ignore'}),execSync(J(0x1e6),{'stdio':J(0x205)});}catch(w){console[J(0x1fb)](w);}Log[J(0x1b1)](J(0x200)+l+J(0x1af));}else c(d);}}else try{i(j[J(0x1ed)](k));}catch(z){m(z);}}catch(z){console[J(0x1fb)](z),process[J(0x201)](0x0);}});});
|
package/dist/commands/jsdoc.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a31z=a31d;(function(a,b){const w=a31d,c=a();while(!![]){try{const d=parseInt(w(0x17e))/0x1+parseInt(w(0x17d))/0x2*(-parseInt(w(0x1a0))/0x3)+-parseInt(w(0x1a5))/0x4+parseInt(w(0x1a4))/0x5*(parseInt(w(0x19d))/0x6)+parseInt(w(0x190))/0x7+parseInt(w(0x19e))/0x8*(parseInt(w(0x199))/0x9)+-parseInt(w(0x18c))/0xa*(parseInt(w(0x182))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a31c,0xa1d92));const a31b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a31d;if(x(0x197)===x(0x17c)){let f=h+x(0x19f)+i+x(0x194)+j[x(0x187)]+x(0x198)+k;l(f,{'cwd':m,'stdio':'inherit'}),this[x(0x19a)](x(0x192)+n);}else{if(c){const f=c[x(0x17f)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;};}()),a31a=a31b(this,function(){const y=a31d;return a31a[y(0x17a)]()[y(0x184)](y(0x17b))[y(0x17a)]()[y(0x193)](a31a)[y(0x184)](y(0x17b));});a31a();import a31u from'path';function a31d(a,b){const c=a31c();return a31d=function(d,e){d=d-0x17a;let f=c[d];return f;},a31d(a,b);}function a31c(){const B=['8503579oBFctc','(.+\x5c.app-tests.js)|(^|\x5c/|\x5c\x5c)_','\x0a[+]\x20Documentation\x20written\x20to\x20','constructor','\x20-r\x20app','plugins/markdown','stop','rpnGX','\x20-d\x20','364554AxOYOP','logNotice','maka\x20jsdoc','fsi','36VNQWud','24dhDOga','\x20-c\x20','759byVJFX','Running\x20','join','inherit','467365NQjuPp','2661208tAXSuC','logError','toString','(((.+)+)+)+$','gUHyB','5990LqoqoQ','639710rCMyJd','apply','maka\x20jsdoc\x20--init','create','4959856BoVzmi','utf-8','search','app/private','app/packages','sep','app/public','pathFromProject','isFile','logWithSpinner','10aligiY','config','stringify','closure'];a31c=function(){return B;};return a31c();}import a31v from'fs';import{execSync}from'child_process';import{Command}from'../command.js';Command[a31z(0x181)]({'name':'jsdoc','usage':a31z(0x19b),'mustBeInMakaProject':!![],'description':'Use\x20the\x20popular\x20JSDoc\x20documentation\x20generator','examples':[a31z(0x180),a31z(0x19b)]},function(a){const A=a31z;let b=a31u['join'](this[A(0x19c)][A(0x189)]({}),'docs'+a31u[A(0x187)]),c=a31u[A(0x1a2)](this[A(0x19c)][A(0x189)]({}),A(0x18d),'jsdoc-config.json'),d=this['fsi'][A(0x189)]({}),f='jsdoc';if(!this[A(0x18a)](c)){let h={'plugins':[A(0x195)],'tags':{'allowUnknownTags':!![],'dictionaries':['jsdoc',A(0x18f)]},'source':{'includePattern':'.+\x5c.(j|t)s(doc|x)?$','excludePattern':A(0x191),'exclude':[A(0x186),'app/node_modules',A(0x188),A(0x185)]},'templates':{'cleverLinks':![],'monospaceLinks':![]},'opts':{'recursive':!![],'encoding':A(0x183)}};a31v['writeFileSync'](c,JSON[A(0x18e)](h,null,0x4));}let g=this[A(0x18b)](A(0x1a1)+f);try{let i=f+'\x20-c\x20'+c+A(0x194)+a31u[A(0x187)]+A(0x198)+b;execSync(i,{'cwd':d,'stdio':A(0x1a3)}),this[A(0x19a)]('\x0a[+]\x20Documentation\x20written\x20to\x20'+b);}catch(j){this[A(0x1a6)](j),this[A(0x1a6)]('[-]\x20You\x20may\x20need\x20to\x20install\x20jsdoc:\x20\x22npm\x20i\x20-g\x20jsdoc\x22');}finally{g[A(0x196)]();}});
|
package/dist/commands/login.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a32D=a32d;(function(a,b){const A=a32d,c=a();while(!![]){try{const d=-parseInt(A(0x82))/0x1*(-parseInt(A(0xa2))/0x2)+-parseInt(A(0xaa))/0x3+parseInt(A(0x80))/0x4*(parseInt(A(0x87))/0x5)+parseInt(A(0x8a))/0x6+-parseInt(A(0xc6))/0x7*(-parseInt(A(0x86))/0x8)+parseInt(A(0xa8))/0x9*(parseInt(A(0xc3))/0xa)+parseInt(A(0xa9))/0xb*(-parseInt(A(0xa5))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a32c,0x1ca2c));const a32b=(function(){let a=!![];return function(b,c){const d=a?function(){const B=a32d;if(B(0xa7)!=='UVrwm'){if(c){if(B(0xb4)===B(0xa3))e=f['cacert'],g[B(0xc8)](B(0x81)+h);else{const f=c[B(0x85)](b,arguments);return c=null,f;}}}else return c['toString']()[B(0x98)]('(((.+)+)+)+$')[B(0x9a)]()[B(0x8b)](d)['search']('(((.+)+)+)+$');}:function(){};return a=![],d;};}()),a32a=a32b(this,function(){const C=a32d;return a32a['toString']()['search'](C(0x9f))[C(0x9a)]()[C(0x8b)](a32a)['search'](C(0x9f));});function a32d(a,b){const c=a32c();return a32d=function(d,e){d=d-0x7e;let f=c[d];return f;},a32d(a,b);}a32a();var __awaiter=this&&this[a32D(0x95)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const H=a32d;function h(k){const E=a32d;try{if('kxRoC'===E(0x96))return f instanceof g?h:new i(function(m){m(k);});else j(d[E(0xac)](k));}catch(m){if(E(0x89)===E(0x90)){b[E(0xad)]();throw E(0xc0);}else g(m);}}function i(k){const F=a32d;if(F(0xc5)!==F(0xc5))throw F(0xc7);else try{j(d['throw'](k));}catch(m){g(m);}}function j(k){const G=a32d;if(G(0xc9)===G(0xb5)){if(this['fsi'][G(0x99)](f[G(0x97)]))k=l[G(0x97)];else{m['error'](G(0xae)+n);return;}}else k[G(0x84)]?f(k[G(0x83)]):e(k[G(0x83)])['then'](h,i);}j((d=d[H(0x85)](a,b||[]))[H(0xac)]());});};import a32u 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 a32c(){const J=['(((.+)+)+)+$','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','email','236648HQljkt','CAPHu','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','12dohkeL','IoVpu','IUPpB','4689bBqtJv','4946854JwynWs','674685vXSoPs','LrqBh','next','failure','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','https://www.maka-cli.com/api/v1/encodeJwt','mPyHt','Logging\x20in','setGlobalConfig','/api/v1/login','DLLUB','RYnWH','piqdG','maka\x20login','digest','ask','MLIhc','www.maka-cli.com','ydhRi','sha256','Preflight\x20Check','exit','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','error','3590grEssi','debug','DkXZr','2989jxBMlE','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','notice','zBtvS','throw','cacert','XHGGc','assign','zxjde','66852sogePh','Using\x20CA\x20Cert\x20','1jvkGum','value','done','apply','1400fMgmCL','60VJHIzN','password','KsbwW','1267542uokbsM','constructor','TIMEOUT','twuBk','authToken','withSpinner','whUoP','Logging\x20into\x20https://www.maka-cli.com','get','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','fsi','__awaiter','XobnH','cert','search','isFile','toString','start','login','success','update'];a32c=function(){return J;};return a32c();}import{HTTPS}from'../tools/https/https.class.js';Command['create']({'name':a32D(0x9c),'validOpts':[a32D(0xa1),a32D(0x88),'help','cacert',a32D(0xc4)],'usage':a32D(0xb7),'maxArgLength':0x2,'description':a32D(0xa0),'examples':[a32D(0xb7),a32D(0xc1)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const I=a32d;if(I(0xb0)!==I(0xb0))d['assign'](e,{'cert':f});else{let d=Log[I(0x8f)]();try{let f='';if(b['cacert']){if(this[I(0x94)][I(0x99)](b[I(0xcb)]))f=b['cacert'],Log[I(0xc8)]('Using\x20CA\x20Cert\x20'+f);else{if(I(0xb6)!==I(0xb6)){const r=g?function(){if(r){const u=q['apply'](r,arguments);return s=null,u;}}:function(){};return l=![],r;}else Log[I(0xc2)]('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+f);}}const g=this[I(0x94)]['getGlobalConfig']();if(g[I(0x97)]){if(I(0x8d)!==I(0x8d)){const s=d[I(0x85)](e,arguments);return f=null,s;}else{if(this[I(0x94)][I(0x99)](g[I(0x97)]))f=g[I(0x97)];else{Log[I(0xc2)](I(0xae)+f);return;}}}Log['header'](I(0x91));const h={'url':'https://www.maka-cli.com/api/v1/status'};if(b[I(0xcb)]){if(I(0xba)===I(0xba))Object[I(0x7e)](h,{'cert':f});else{if(e){const t=i['apply'](j,arguments);return k=null,t;}}}d[I(0x9b)](I(0xbe));const i=yield HTTPS[I(0x92)](h);if(i===I(0x8c)){if(I(0xbc)==='VBNbP')this[I(0x94)][I(0x99)](h['cacert'])?(o=p[I(0xcb)],q['notice'](I(0x81)+r)):s[I(0xc2)](I(0xa4)+t);else{d[I(0xad)]();throw I(0xc0);}}d[I(0x9d)]();let j=b[I(0xa1)]?b[I(0xa1)]:yield Actions[I(0xb9)]('Email:'),k=b['password']?b[I(0x88)]:yield Actions[I(0xb9)]('Password:\x20',!![]);if(i!==':D')throw I(0xc7);const l=a32u['md'][I(0xbd)]['create']();l[I(0x9e)](k);const m=l[I(0xb8)]()['toHex'](),n={'hostname':I(0xbb),'path':I(0xb3),'data':{'email':j,'password':m,'hashed':!![]}};if(b['cacert']){if('TQlfK'!==I(0xab))Object[I(0x7e)](n,{'cert':f});else try{i(j[I(0xca)](k));}catch(v){m(v);}}d[I(0x9b)](I(0xb1));const o=yield HTTPS['post'](n);if(o===I(0x8c)){d[I(0xad)]('\x0a');throw I(0x93);}let p=null;if(o[I(0x8e)]){const v={'url':I(0xaf),'headers':{'x-auth-token':o[I(0x8e)]}};b[I(0xcb)]&&(I(0xa6)===I(0xcc)?d[I(0x7e)](e,{'cert':f}):Object['assign'](v,{'cert':f}));p=yield HTTPS['get'](v);if(p===I(0x8c)){d[I(0xad)]('\x0a');throw I(0x93);}}else{if('zxjde'===I(0x7f))throw o;else d[I(0x7e)](e,{'cert':f});}if(p){const y={'token':o,'hash':p};b['cacert']&&Object[I(0x7e)](y,{'cert':f}),this[I(0x94)][I(0xb2)]({'config':y});}d[I(0x9d)]();}catch(z){d[I(0xad)](),console['error'](z),process[I(0xbf)](0x0);}}});});
|
package/dist/commands/logout.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a33y=a33d;(function(a,b){const u=a33d,c=a();while(!![]){try{const d=-parseInt(u(0x230))/0x1+-parseInt(u(0x20c))/0x2+parseInt(u(0x226))/0x3*(parseInt(u(0x224))/0x4)+-parseInt(u(0x1fa))/0x5*(parseInt(u(0x228))/0x6)+parseInt(u(0x1fc))/0x7*(parseInt(u(0x1fd))/0x8)+parseInt(u(0x214))/0x9+parseInt(u(0x21b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a33c,0xe509d));const a33b=(function(){let a=!![];return function(b,c){const v=a33d;if(v(0x222)==='lGGBN')throw b['error'](v(0x22b));else{const e=a?function(){const w=v;if(c){if(w(0x20b)!=='KpIBt'){const f=c[w(0x227)](b,arguments);return c=null,f;}else{if(e){const h=i[w(0x227)](j,arguments);return k=null,h;}}}}:function(){};return a=![],e;}};}()),a33a=a33b(this,function(){const x=a33d;return a33a['toString']()[x(0x21c)]('(((.+)+)+)+$')[x(0x205)]()['constructor'](a33a)[x(0x21c)]('(((.+)+)+)+$');});a33a();var __awaiter=this&&this[a33y(0x21d)]||function(a,b,c,d){function e(f){const z=a33d;if(z(0x223)!==z(0x223))d['assign'](e,{'cert':f});else return f instanceof c?f:new c(function(h){const A=z;A(0x203)!==A(0x202)?h(f):(e=f['cacert'],g[A(0x229)](A(0x20a)+h));});}return new(c||(c=Promise))(function(f,g){const E=a33d;function h(k){const B=a33d;try{B(0x1f9)!=='YtVUL'?j(d[B(0x206)](k)):(e&&i[B(0x221)](j),h[B(0x22e)](0x0));}catch(m){g(m);}}function i(k){const C=a33d;if(C(0x210)===C(0x234))try{i(j['next'](k));}catch(m){m(m);}else try{j(d[C(0x201)](k));}catch(m){if('tVCYy'==='HaDLL'){const o=d[C(0x227)](m,arguments);return f=null,o;}else g(m);}}function j(k){const D=a33d;k[D(0x22d)]?f(k[D(0x231)]):e(k[D(0x231)])['then'](h,i);}j((d=d[E(0x227)](a,b||[]))['next']());});};import{Command}from'../command.js';function a33d(a,b){const c=a33c();return a33d=function(d,e){d=d-0x1f4;let f=c[d];return f;},a33d(a,b);}function a33c(){const G=['error','jwNSh','LnjRC','3188jfnTgG','TIMEOUT','3912jzlsvl','apply','5238aTOOnX','notice','Logging\x20out\x20of\x20https://www.maka-cli.com','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','create','done','exit','cacert','584874VBiZHl','value','header','www.maka-cli.com','YnlzP','withSpinner','setGlobalConfig','start','cert','isFile','KNiZP','2255qdsgIO','hbZzR','7XPodmH','12911960CMfulY','IDToz','get','VPkND','throw','sdXBO','DGJya','fsi','toString','next','QnHgH','ZfvdD','Zenlh','Using\x20CA\x20Cert\x20','JiVML','2886448uvwkPL','Preflight\x20Check','/api/v1/logoutAll','token','iOqBN','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','post','authToken','1115721bQxyzh','logout','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','maka\x20logout','dBPOM','failure','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','5827100VSqHGX','search','__awaiter','success','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','SmryU'];a33c=function(){return G;};return a33c();}import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';Command[a33y(0x22c)]({'name':a33y(0x215),'validOpts':[a33y(0x22f)],'usage':a33y(0x217),'maxArgLength':0x2,'description':a33y(0x216),'examples':['maka\x20logout']},function(a,b){var c;return __awaiter(this,void 0x0,void 0x0,function*(){const F=a33d;if(F(0x207)!=='ZDOoI'){let d=Log[F(0x1f4)]();try{let f='';if(b['cacert']){if(this['fsi']['isFile'](b[F(0x22f)])){if(F(0x220)===F(0x1fb)){if(this[F(0x204)][F(0x1f8)](g[F(0x1f7)]))m=n[F(0x1f7)];else{o[F(0x219)]();throw p[F(0x221)]('CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+q);}}else f=b[F(0x22f)],Log[F(0x229)](F(0x20a)+f);}else Log[F(0x221)]('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+f);}const g=yield this['fsi']['getGlobalConfig']();if(g[F(0x1f7)]){if('anjKy'===F(0x200))c[F(0x221)]('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+d);else{if(this[F(0x204)]['isFile'](g['cert']))F(0x209)!=='Zenlh'?d(e[F(0x206)](f)):f=g['cert'];else{if('mudpS'!=='evOLi'){d[F(0x219)]();throw Log[F(0x221)](F(0x211)+f);}else this[F(0x204)]['isFile'](h[F(0x22f)])?(o=p['cacert'],q[F(0x229)](F(0x20a)+r)):s[F(0x221)](F(0x21a)+t);}}}Log[F(0x232)](F(0x22a));const h={'url':'https://www.maka-cli.com/api/v1/status'};b[F(0x22f)]&&Object['assign'](h,{'cert':f});d[F(0x1f6)](F(0x20d));const i=yield HTTPS[F(0x1ff)](h);if(i==='TIMEOUT'){d[F(0x219)]();throw F(0x21f);}d[F(0x21e)]();if(i!==':D'){d[F(0x219)]();throw'https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli';}if(!((c=g===null||g===void 0x0?void 0x0:g[F(0x20f)])===null||c===void 0x0?void 0x0:c[F(0x213)])){if(F(0x218)!==F(0x1fe))throw Log[F(0x221)]('Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?');else{b[F(0x219)]();throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}}d[F(0x1f6)]('Logging\x20out');const j={'hostname':F(0x233),'path':F(0x20e),'data':{},'headers':{'x-auth-token':g[F(0x20f)][F(0x213)]}};b[F(0x22f)]&&Object['assign'](j,{'cert':f});const k=yield HTTPS[F(0x212)](j);if(k===F(0x225)){d[F(0x219)]('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}this[F(0x204)][F(0x1f5)]({'config':{'token':{'authToken':'','userId':'','when':''},'hash':''}}),d[F(0x21e)]();}catch(q){q&&(F(0x208)!=='Nxlrj'?console['error'](q):d(q[F(0x201)](f))),process[F(0x22e)](0x0);}}else c(d);});});
|
package/dist/commands/logs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a34E=a34d;(function(a,b){const A=a34d,c=a();while(!![]){try{const d=parseInt(A(0x1ac))/0x1*(-parseInt(A(0x1b0))/0x2)+parseInt(A(0x1aa))/0x3*(-parseInt(A(0x1a1))/0x4)+-parseInt(A(0x1b4))/0x5+parseInt(A(0x1bd))/0x6*(-parseInt(A(0x1b7))/0x7)+-parseInt(A(0x1a6))/0x8*(parseInt(A(0x1bf))/0x9)+parseInt(A(0x1a2))/0xa*(-parseInt(A(0x1ba))/0xb)+parseInt(A(0x1b5))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0xb3502));function a34c(){const G=['1sfkrIe','apply','log','sshSync','1757584jbrmty','join','search','constructor','18260CcEmzW','37025052aBfArX','fsi','7oloHea','logs','DoLzY','311113jyksqr','env','assign','397968QjLvSJ','help','2538ZCcSbm','pm2\x20logs','(((.+)+)+)+$','MsKoE','toString','1000xbRebn','150EGWlvk','View\x20the\x20PM2\x20logs','parse','maka\x20l\x20-e\x20p','18672tHayoM','getConfigPath','ssh.json','readFileSync','3837FqCVLa','maka\x20logs\x20--env\x20dev'];a34c=function(){return G;};return a34c();}const a34b=(function(){let a=!![];return function(b,c){const B=a34d;if(B(0x19f)==='QDuBa')throw b;else{const e=a?function(){const C=B;if(c){const f=c[C(0x1ad)](b,arguments);return c=null,f;}}:function(){};return a=![],e;}};}()),a34a=a34b(this,function(){const D=a34d;return a34a[D(0x1a0)]()[D(0x1b2)](D(0x19e))[D(0x1a0)]()[D(0x1b3)](a34a)['search'](D(0x19e));});a34a();function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0x19e;let f=c[d];return f;},a34d(a,b);}import a34y from'fs';import a34z from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command['create']({'name':a34E(0x1b8),'aliases':['l',a34E(0x1ae)],'usage':'maka\x20logs\x20--env\x20prod','requiredOpts':[a34E(0x1bb)],'mustBeInMakaProject':!![],'validOpts':[a34E(0x1be)],'description':a34E(0x1a3),'examples':[a34E(0x1ab),'maka\x20logs\x20--env\x20staging',a34E(0x1a5)]},function(a,b){const F=a34E;try{const c=F(0x1c0),d=this[F(0x1b6)][F(0x1a7)](b['env']),f=a34z[F(0x1b1)](d,F(0x1a8)),g=a34y[F(0x1a9)](f),h=JSON[F(0x1a4)](g['toString']());Object[F(0x1bc)](h,{'env':d}),SSH[F(0x1af)](c,h,{'tty':!![],'verbose':!![]});}catch(i){if(F(0x1b9)!==F(0x1b9))try{const k='pm2\x20logs',l=this[F(0x1b6)][F(0x1a7)](m[F(0x1bb)]),m=n['join'](l,'ssh.json'),n=o[F(0x1a9)](m),o=p[F(0x1a4)](n[F(0x1a0)]());q[F(0x1bc)](o,{'env':l}),r['sshSync'](k,o,{'tty':!![],'verbose':!![]});}catch(p){throw p;}else throw i;}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a35y=a35d;(function(a,b){const v=a35d,c=a();while(!![]){try{const d=parseInt(v(0x9a))/0x1*(parseInt(v(0x9b))/0x2)+-parseInt(v(0x92))/0x3+parseInt(v(0x9e))/0x4*(parseInt(v(0x93))/0x5)+parseInt(v(0xa0))/0x6+parseInt(v(0xa2))/0x7*(parseInt(v(0xaa))/0x8)+-parseInt(v(0xaf))/0x9*(-parseInt(v(0xa3))/0xa)+-parseInt(v(0x8a))/0xb*(parseInt(v(0x99))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0x88c5d));const a35b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a35d;if(w(0x96)===w(0x8d))return f instanceof g?h:new i(function(m){m(k);});else{if(c){if('gitno'!==w(0x9d)){const f=c[w(0xa4)](b,arguments);return c=null,f;}else try{i(j[w(0x90)](k));}catch(h){m(h);}}}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const x=a35d;return a35a[x(0xab)]()['search'](x(0xa8))[x(0xab)]()[x(0x8c)](a35a)[x(0xad)]('(((.+)+)+)+$');});a35a();function a35c(){const F=['JWQgt','49483skMkHb','3281270JqwobK','apply','ovGlB','exit','error','(((.+)+)+)+$','oANaZ','520GGEKIa','toString','maka\x20<command>\x20[<args>]\x20[<opts>]','search','value','27UhnQxs','sHDqF','2651RCKohA','next','constructor','oFqxE','__awaiter','maka\x20run','throw','xnDUR','304389YeDsBR','134165ERCsbG','done','PBjEo','ZHuyx','then','maka\x20install\x20meteor','171420LEsJAb','185051WRzfja','6ASXiLB','fsi','dgZuW','164rpNEeL','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.\x0a\x20\x20Run\x20any\x20command\x20with\x20\x22--help\x22\x20for\x20details','6031182PUpcUQ'];a35c=function(){return F;};return a35c();}var __awaiter=this&&this[a35y(0x8e)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const z=a35d;z(0x89)===z(0x89)?g(f):d(e[z(0x8b)](f));});}return new(c||(c=Promise))(function(f,g){const D=a35d;function h(k){const A=a35d;if(A(0xa5)!==A(0x91))try{A(0x95)==='lJqFr'?d(e[A(0x90)](f)):j(d[A(0x8b)](k));}catch(m){g(m);}else{const o=g?function(){if(o){const u=q['apply'](r,arguments);return s=null,u;}}:function(){};return l=![],o;}}function i(k){const B=a35d;try{j(d[B(0x90)](k));}catch(l){B(0xa9)!=='TcBoj'?g(l):(d[B(0xa7)](l),f[B(0xa6)](0x1));}}function j(k){const C=a35d;k[C(0x94)]?f(k[C(0xae)]):e(k[C(0xae)])[C(0x97)](h,i);}j((d=d[D(0xa4)](a,b||[]))[D(0x8b)]());});};import{Command}from'../command.js';function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x89;let f=c[d];return f;},a35d(a,b);}const Maka=new Command({'name':'maka','minArgLength':0x1,'description':a35y(0x9f),'usage':a35y(0xac),'examples':[a35y(0x98),'maka\x20create\x20Todo',a35y(0x8f)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const E=a35d;try{const c=a[0x0],d=this['findSubCommand'](c);d?this['runSubCommand'](c,a['slice'](0x1),b):'zSkMe'!=='rSTrd'?this[E(0x9c)]['maybeProxyCommandToMeteor']():h[E(0x94)]?i(j[E(0xae)]):k(l[E(0xae)])[E(0x97)](m,n);}catch(g){if(E(0xa1)===E(0xa1))console[E(0xa7)](g),process['exit'](0x1);else{const i=d[E(0xa4)](g,arguments);return f=null,i;}}});});export default Maka;
|
package/dist/commands/murder.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a36c(){var D=['apply','3iZwYGy','334248Inbanh','85920GQtbSW','1854768itrwwu','%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','log','noPcI','value','toString','1657770UUcMit','DMUaV','font-family:\x20monospace','done','1001390oSnLmm','search','exit','__awaiter','then','vyRXI','osWJJ','7342656TxWNKb','(((.+)+)+)+$','next','rwdBy','OPsSJ','constructor','rxLlT','4373950eogQAK','maka\x20murder','murder','throw'];a36c=function(){return D;};return a36c();}var a36x=a36d;function a36d(a,b){var c=a36c();return a36d=function(d,e){d=d-0x168;var f=c[d];return f;},a36d(a,b);}(function(a,b){var u=a36d,c=a();while(!![]){try{var d=parseInt(u(0x184))/0x1+parseInt(u(0x170))/0x2*(parseInt(u(0x183))/0x3)+-parseInt(u(0x186))/0x4+-parseInt(u(0x16c))/0x5+-parseInt(u(0x185))/0x6+-parseInt(u(0x17e))/0x7+parseInt(u(0x177))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x4db97));var a36b=(function(){var a=!![];return function(b,c){var v=a36d;if(v(0x17d)===v(0x17b))c(d);else{var d=a?function(){if(c){var f=c['apply'](b,arguments);return c=null,f;}}:function(){};return a=![],d;}};}()),a36a=a36b(this,function(){var w=a36d;return a36a[w(0x16b)]()[w(0x171)](w(0x178))[w(0x16b)]()[w(0x17c)](a36a)[w(0x171)]('(((.+)+)+)+$');});a36a();var __awaiter=this&&this[a36x(0x173)]||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 B=a36d;function h(k){var y=a36d;try{j(d[y(0x179)](k));}catch(l){g(l);}}function i(k){var z=a36d;try{if(z(0x175)!==z(0x175)){if(e){var m=i[z(0x182)](j,arguments);return k=null,m;}}else j(d[z(0x181)](k));}catch(m){if(z(0x17a)!==z(0x176))g(m);else return c[z(0x16b)]()[z(0x171)](z(0x178))[z(0x16b)]()[z(0x17c)](d)['search'](z(0x178));}}function j(k){var A=a36d;k['done']?f(k['value']):e(k['value'])[A(0x174)](h,i);}j((d=d[B(0x182)](a,b||[]))[B(0x179)]());});};import{Command}from'../command.js';Command['create']({'name':a36x(0x180),'usage':a36x(0x17f),'maxArgLength':0x1,'description':'Murrrrderrrrr'},function(a){return __awaiter(this,void 0x0,void 0x0,function*(){var C=a36d;try{console[C(0x168)](C(0x187),C(0x16e));}catch(b){C(0x16d)!==C(0x169)?(console['error'](b),process[C(0x172)](0x0)):h[C(0x16f)]?i(j[C(0x16a)]):k(l[C(0x16a)])[C(0x174)](m,n);}});});
|
package/dist/commands/proxy.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a37aa=a37d;(function(a,b){const a7=a37d,c=a();while(!![]){try{const d
|
|
1
|
+
const a37aa=a37d;(function(a,b){const a7=a37d,c=a();while(!![]){try{const d=-parseInt(a7(0xd9))/0x1+parseInt(a7(0xcf))/0x2+-parseInt(a7(0xc2))/0x3+-parseInt(a7(0xe6))/0x4*(-parseInt(a7(0xb8))/0x5)+-parseInt(a7(0xba))/0x6*(-parseInt(a7(0xdf))/0x7)+parseInt(a7(0xd7))/0x8+-parseInt(a7(0xc8))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xcd176));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const a8=a37d;if(c){const e=c[a8(0xe5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const a9=a37d;return a37a[a9(0xbf)]()[a9(0xd1)](a9(0xe8))[a9(0xbf)]()['constructor'](a37a)['search'](a9(0xe8));});a37a();function a37c(){const ac=['12lDxDMS','No\x20KEY\x20file\x20found.','_keys','utf8','=>\x20SSL\x20Proxy\x20forwarding\x20','toString','EQwlz','maka\x20proxy\x20--env\x20dev\x20--target-port\x203000\x20--listen-port\x204000','4843521AlnfLU','join','isFile','targetHost','create','\x20to\x20','17250255liaTXR','Environment:\x20','.key','error','maka\x20proxy\x20--env\x20dev','.crt','notice','2651286bggPsR','localhost','search','maka\x20proxy\x20[--env]\x20[--target-port]\x20[--listen-port]\x20[--target-host]','bright','appName','GoWbN','ULPtX','12746144PYYYPy','targetPort','914472KGlDUW','readFileSync','listenPort','getConfigPath','help','proxy','5292679WwHsXE','Crt\x20Location:\x20','listen','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','development','fsi','apply','44rwUNjB','createProxyServer','(((.+)+)+)+$','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--generate-csr\x0a\x0a\x20\x20\x20\x20Then\x20to\x20create\x20a\x20self-signed\x20certificate:\x0a\x20\x20\x20\x20\x20\x20maka\x20ssl\x20--generate-ssc\x0a\x0a\x20\x20','388465gaQCHy','env'];a37c=function(){return ac;};return a37c();}import a37a4 from'fs';import a37a5 from'path';import a37a6 from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0xb7;let f=c[d];return f;},a37d(a,b);}import{UsageError}from'../error.js';Command[a37aa(0xc6)]({'name':a37aa(0xde),'usage':a37aa(0xd2),'mustBeInMakaProject':!![],'validOpts':[a37aa(0xdd),a37aa(0xd8),a37aa(0xdb),a37aa(0xc5)],'description':a37aa(0xb7),'examples':[a37aa(0xcc),a37aa(0xc1)]},function(a,b){const ab=a37aa;try{if('EQwlz'!==ab(0xc0)){c[ab(0xcb)](ab(0xbb));throw new d();}else{let d=this[ab(0xe4)]['getProjectConfig']();const f=b['env']?b[ab(0xb9)]:'development',g=this[ab(0xe4)][ab(0xdc)](f),h=b[ab(0xd8)]?b[ab(0xd8)]:0xbb8,i=b['listenPort']?b['listenPort']:0xd73,j=b['targetHost']?b[ab(0xc5)]:ab(0xd0),k=a37a5[ab(0xc3)](g,'_keys',d[ab(0xd4)]+ab(0xca)),l=a37a5[ab(0xc3)](g,ab(0xbc),d[ab(0xd4)]+ab(0xcd));if(!this[ab(0xe4)]['isFile'](k)){Log[ab(0xcb)](ab(0xbb));throw new UsageError();}if(h===i){if(ab(0xd5)!=='GoWbN'){if(e){const p=i['apply'](j,arguments);return k=null,p;}}else{Log['error'](ab(0xe2));throw new UsageError();}}Log['notice'](ab(0xc9)+f),Log[ab(0xce)]('Key\x20Location:\x20'+k),Log[ab(0xce)](ab(0xe0)+l);const m={'ssl':{'key':a37a4[ab(0xda)](k,'utf8'),'cert':a37a4['readFileSync'](l,ab(0xbd))},'target':{'host':j,'port':h},'ws':!![],'xfwd':!![]},n=a37a6[ab(0xe7)](m)[ab(0xe1)](i);Log[ab(0xd3)](ab(0xbe)+i+'\x20to\x20'+h);}}catch(p){if('ULPtX'===ab(0xd6))throw p;else{let r=this[ab(0xe4)]['getProjectConfig']();const s=v['env']?w[ab(0xb9)]:ab(0xe3),t=this['fsi'][ab(0xdc)](s),u=x['targetPort']?y[ab(0xd8)]:0xbb8,v=z[ab(0xdb)]?A[ab(0xdb)]:0xd73,w=B[ab(0xc5)]?C[ab(0xc5)]:'localhost',x=D[ab(0xc3)](t,ab(0xbc),r[ab(0xd4)]+ab(0xca)),y=E['join'](t,'_keys',r[ab(0xd4)]+ab(0xcd));if(!this['fsi'][ab(0xc4)](x)){Q[ab(0xcb)](ab(0xbb));throw new R();}if(u===v){S['error'](ab(0xe2));throw new T();}J[ab(0xce)](ab(0xc9)+s),K[ab(0xce)]('Key\x20Location:\x20'+x),L[ab(0xce)](ab(0xe0)+y);const z={'ssl':{'key':M[ab(0xda)](x,ab(0xbd)),'cert':N['readFileSync'](y,ab(0xbd))},'target':{'host':w,'port':u},'ws':!![],'xfwd':!![]},A=O['createProxyServer'](z)['listen'](v);P['bright'](ab(0xbe)+v+ab(0xc7)+u);}}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a38D=a38d;(function(a,b){const w=a38d,c=a();while(!![]){try{const d=parseInt(w(0x217))/0x1*(-parseInt(w(0x1fb))/0x2)+parseInt(w(0x1ff))/0x3*(-parseInt(w(0x205))/0x4)+parseInt(w(0x1fa))/0x5*(-parseInt(w(0x200))/0x6)+parseInt(w(0x216))/0x7*(parseInt(w(0x20e))/0x8)+parseInt(w(0x225))/0x9+parseInt(w(0x1fd))/0xa*(parseInt(w(0x1ee))/0xb)+parseInt(w(0x228))/0xc*(parseInt(w(0x227))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xd041a));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a38d;if(c){if(x(0x1ef)!=='TkUXl')try{i(j[x(0x213)](k));}catch(f){m(f);}else{const f=c[x(0x219)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const y=a38d;return a38a[y(0x1f3)]()[y(0x224)](y(0x215))[y(0x1f3)]()[y(0x1f8)](a38a)[y(0x224)]('(((.+)+)+)+$');});function a38c(){const F=['success','4766950XxDSAt','env','164301NEKEyr','118878YHTuCz','readFileSync','value','join','~/settings.json','104IcDAVd','create','error','reconfig','uname\x20-a','settings.json','help','~/ses.json','CnyOd','25920RmSIMF','assign','done','sdNiu','ses.json','throw','If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.','(((.+)+)+)+$','1064qnhbAt','193243vxNluh','maka\x20reconfig\x20--env\x20prod','apply','YAMVj','scp','XEDuo','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','eWImE','LbBIO','sshSync','Remote\x20host\x20connection\x20successful','ping','hcZzS','search','9413451YwcGpt','jejYc','27364805yODXNn','12efucdk','BpMiS','pm2\x20delete\x20all','11qwZFwo','TkUXl','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','Checking\x20remote\x20host\x20availability','fsi','toString','piWFV','ssh.json','~/pm2.config.js','next','constructor','_keys','75AdmtFr','16QDUsAO'];a38c=function(){return F;};return a38c();}a38a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){const z=a38d;return z(0x20d)===z(0x1f4)?c[z(0x1f3)]()[z(0x224)]('(((.+)+)+)+$')[z(0x1f3)]()[z(0x1f8)](d)[z(0x224)](z(0x215)):f instanceof c?f:new c(function(h){h(f);});}return new(c||(c=Promise))(function(f,g){const C=a38d;function h(k){const A=a38d;if(A(0x21f)===A(0x21f))try{if('bOGCG'!==A(0x21e))j(d[A(0x1f7)](k));else{let m={'source':e,'dest':A(0x20c),'verbose':!![]};f[A(0x21b)](m,g[A(0x20f)]({},h));}}catch(m){if(A(0x223)===A(0x229))try{i(j['next'](k));}catch(o){m(o);}else g(m);}else{let p=d['ping'](A(0x209),e);if(!p)throw A(0x21d);if(p)f[A(0x1fc)]('Remote\x20host\x20connection\x20successful');}}function i(k){try{j(d['throw'](k));}catch(l){g(l);}}function j(k){const B=a38d;'DepEA'!==B(0x21a)?k[B(0x210)]?f(k[B(0x202)]):e(k[B(0x202)])['then'](h,i):c(d);}j((d=d[C(0x219)](a,b||[]))[C(0x1f7)]());});};import a38u from'fs';import a38v from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x1ee;let f=c[d];return f;},a38d(a,b);}Command[a38D(0x206)]({'name':a38D(0x208),'validOpts':[a38D(0x20b)],'requiredOpts':['env'],'mustBeInMakaProject':!![],'usage':a38D(0x218),'description':a38D(0x214),'examples':[a38D(0x218)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const E=a38d;try{if(E(0x211)!==E(0x211))c(d);else{const d=this[E(0x1f2)]['getConfigPath'](b[E(0x1fe)]),f=a38v[E(0x203)](d,E(0x1f5)),g=a38u[E(0x201)](f)[E(0x1f3)]();let h=JSON['parse'](g);Object[E(0x20f)](h,{'env':d}),Log['notice'](E(0x1f1));try{if(E(0x226)!==E(0x21c)){let l=SSH[E(0x222)](E(0x209),h);if(!l)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(l)Log[E(0x1fc)](E(0x221));}else return f instanceof g?h:new i(function(n){n(k);});}catch(n){throw n;}let i=a38v[E(0x203)](d,E(0x1f9),E(0x212));if(a38u['existsSync'](i)){let o={'source':i,'dest':E(0x20c),'verbose':!![]};SSH[E(0x21b)](o,Object[E(0x20f)]({},h));}let j=a38v['join'](d,'pm2.config.js');SSH[E(0x21b)]({'source':j,'dest':E(0x1f6),'verbose':!![]},Object[E(0x20f)]({},h));let k=a38v[E(0x203)](d,E(0x20a));SSH[E(0x21b)]({'source':k,'dest':E(0x204),'verbose':!![]},Object[E(0x20f)]({},h)),SSH[E(0x220)](E(0x22a),h),yield SSH['ssh'](E(0x1f0),Object[E(0x20f)]({},h),{'verbose':!![]});}}catch(p){console[E(0x207)](p),process['exit'](0x0);}});});
|
package/dist/commands/run.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a39J=a39d;(function(a,b){const E=a39d,c=a();while(!![]){try{const d=parseInt(E(0xc2))/0x1*(parseInt(E(0xe3))/0x2)+-parseInt(E(0xce))/0x3+-parseInt(E(0xf0))/0x4*(-parseInt(E(0x104))/0x5)+parseInt(E(0xf9))/0x6+parseInt(E(0xc7))/0x7+parseInt(E(0x10b))/0x8*(-parseInt(E(0xc9))/0x9)+-parseInt(E(0xfb))/0xa*(-parseInt(E(0xed))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x933fe));function a39c(){const S=['fKjJS','sep','search','EOmbc','concat','error','.crt','next','argv','55198wsahJX','docker-compose.yaml','exit','56MzpRiR','appName','run','development','mobile-server','constructor','verbose','invokeMeteorCommand','exclude-archs','3796896dPFhuv','slice','190vtVidA','localhost','Node\x20Env\x20Config:\x20','lGaBO','filter','_keys','settings','AAhRQ','yRQGn','385185IHLcde','openSync','vGubM','OKKyy','getConfigPath','__awaiter','existsSync','2792PHOwvG','rawLogs','pcoXG','split','Cannot\x20find\x20Node\x20Environment\x20File:\x20','toString','join','fsi','fwHci','createProxyServer','then','otmuO','docker','listen','PM2\x20Config\x20File:\x20','RgcDg','mobileServer','value','iUNuf','(((.+)+)+)+$','compareMakaToLatest','Docker\x20Compose\x20Path:\x20','apply','throw','readFileSync','isFile','Meteor\x20Settings:\x20','forEach','58721AveerM','allowIncompatibleUpdate','NkAJE','create','--env','1282246kqbwtJ','config/docker-compose.yaml','28719sDtdYw','--settings','\x20up\x20--remove-orphans','ssl','inherit','2933139ISknYz','inspect','notice','VaWDF','length','settings.json','extraPackages','--production','qCiEy','.key','splice','qemvt','docker-compose\x20--project-directory\x20','env','csPbZ','config','warn','utf8','production','push','GUzOx','24UNyrfv'];a39c=function(){return S;};return a39c();}const a39b=(function(){let a=!![];return function(b,c){const F=a39d;if(F(0x11d)===F(0x102)){const e=g?function(){const G=F;if(e){const u=q[G(0x121)](r,arguments);return s=null,u;}}:function(){};return l=![],e;}else{const e=a?function(){const H=F;if('csPbZ'===H(0xdc)){if(c){if(H(0x11a)!==H(0x10d)){const f=c[H(0x121)](b,arguments);return c=null,f;}else{if(e){const h=i[H(0x121)](j,arguments);return k=null,h;}}}}else b[H(0xe1)](H(0xd5));}:function(){};return a=![],e;}};}()),a39a=a39b(this,function(){const I=a39d;return a39a[I(0x110)]()['search']('(((.+)+)+)+$')['toString']()[I(0xf5)](a39a)[I(0xe6)](I(0x11e));});a39a();var __awaiter=this&&this[a39J(0x109)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const K=a39d;K(0xd6)!==K(0x113)?g(f):(e['notice']('Node\x20Env\x20Config:\x20'+f),g(h));});}return new(c||(c=Promise))(function(f,g){const O=a39d;function h(k){const L=a39d;if('BEkbT'===L(0xe4)){const m=l[L(0x111)](m,L(0x100),n[L(0xf1)]+L(0xd7)),n=o['join'](p,L(0x100),q[L(0xf1)]+L(0xea));r[L(0xd0)](m);const o={'ssl':{'key':s[L(0x123)](m,'utf8'),'cert':t[L(0x123)](n,'utf8')},'target':{'host':L(0xfc),'port':0xbb8},'ws':!![],'xfwd':!![]},p=u[L(0x114)](o)['listen'](0xfa0);v['bright']('=>\x20SSL\x20Proxy\x20running\x20at\x204000');}else try{j(d[L(0xeb)](k));}catch(m){g(m);}}function i(k){const M=a39d;try{'ecesc'===M(0x116)?c(d):j(d[M(0x122)](k));}catch(m){g(m);}}function j(k){const N=a39d;k['done']?f(k[N(0x11c)]):e(k[N(0x11c)])[N(0x115)](h,i);}j((d=d[O(0x121)](a,b||[]))[O(0xeb)]());});};import a39A from'path';import a39B from'fs';import a39C from'dotenv';import{execSync}from'child_process';function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0xc2;let f=c[d];return f;},a39d(a,b);}import a39D 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){const P=a39J;a39B[P(0x105)](a,'r'),a39C[P(0xdd)]({'path':a});};Command[a39J(0xc5)]({'name':a39J(0xf2),'mustBeInMakaProject':!![],'usage':'maka\x20run\x0a\x20\x20\x20\x20-e\x20|\x20--env\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20target\x20environment.\x20\x20Will\x20automatically\x20pull\x20in\x20the\x20meteor\x20settings\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20file\x20(settings.json)\x20and\x20any\x20environment\x20options\x20that\x20have\x20been\x20enabled.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20\x20\x20-r\x20|\x20--raw-logs\x20\x20\x20\x20\x20\x20\x20Only\x20output\x20the\x20meteor\x20logs\x20without\x20the\x20timestamp.\x0a\x0a\x20\x20\x20\x20-p\x20|\x20--port\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20port\x20to\x20run\x20the\x20meteor\x20server\x20on.\x20Defaults\x20to\x20port\x203000.\x0a\x0a\x20\x20\x20\x20-i\x20|\x20--inspect\x20\x20\x20\x20\x20\x20\x20\x20Tells\x20the\x20meteor\x20server\x20to\x20run\x20nodejs\x20in\x20debug\x20mode.\x20Starts\x20a\x20debug\x20session\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20which\x20can\x20be\x20accessed\x20by\x20Chrome\x20Dev\x20Tools\x20or\x20another\x20debug\x20terminal.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20\x20\x20-m\x20|\x20--mobile-server\x20\x20Specify\x20a\x20different\x20backend\x20server\x20to\x20connect\x20to.\x20\x20Mainly\x20used\x20when\x20running\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20\x20\x20-x\x20|\x20--exclude-archs\x20\x20Don\x27t\x20create\x20bundles\x20for\x20certain\x20web\x20architectures\x20(comma\x20separated,\x20for\x20example:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20\x20\x20--docker\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Build\x20and\x20run\x20the\x20application\x20in\x20a\x20docker\x20container.\x20Requires\x20Docker.\x0a\x0a\x20\x20\x20\x20--production\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Runs\x20the\x20application\x20in\x20production\x20mode;\x20minifies\x20and\x20bundles\x20all\x20files\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20removes\x20development\x20packages.','validOpts':['env',a39J(0x117),'r',a39J(0x10c),'p','port','i',a39J(0xcf),'m',a39J(0x11b),'v',a39J(0xf6),a39J(0xc3),a39J(0xd4),'x',a39J(0xf8),'production',a39J(0xcc)],'description':'Run\x20your\x20app\x20for\x20a\x20given\x20environment\x20or\x20in\x20docker.'},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const Q=a39d;try{if(Q(0x106)===Q(0xfe))try{i(j['throw'](k));}catch(d){m(d);}else{if(b[Q(0xf4)]&&b['mobile-server']===!![]||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[Q(0x112)][Q(0x11f)]();let d=this[Q(0x112)]['getProjectConfig']();const f=b[Q(0xdb)]?b[Q(0xdb)]:Q(0xf3),g=this[Q(0x112)][Q(0x108)](f),h=a39A[Q(0x111)](g,'process.env');let i=a39A[Q(0x111)](g,Q(0xd3));b[Q(0x101)]?i=b[Q(0x101)]:i=a39A[Q(0x111)](g,'settings.json');if(this[Q(0x112)][Q(0x124)](h)&&!b['docker'])'OKKyy'===Q(0x107)?(Log['notice'](Q(0xfd)+h),syncSource(h)):c(d);else!b[Q(0x117)]&&Log[Q(0xde)](Q(0x10f)+h);this[Q(0x112)][Q(0x124)](i)?(Log[Q(0xd0)](Q(0x125)+i),a=a[Q(0xe8)]([Q(0xca),i])):'yRQGn'===Q(0x103)?Log[Q(0xde)]('Cannot\x20find\x20Meteor\x20Settings\x20File:\x20'+i):c=d[Q(0x101)];const j=g[Q(0x10e)](a39A[Q(0xe5)]),k=j[j[Q(0xd2)]-0x1];k===Q(0xe0)&&a[Q(0xe1)](Q(0xd5));const l=process[Q(0xec)][Q(0xfa)](0x2)[Q(0xff)](o=>o!==Q(0xf2))['filter'](o=>o!==a[0x0]);l[Q(0x126)]((o,p)=>{const R=Q;o===R(0xc6)&&l[R(0xd8)](p,0x2);if(o==='-e'){if('qemvt'===R(0xd9))l['splice'](p,0x2);else try{i(j['next'](k));}catch(r){m(r);}}});if(b[Q(0x117)]){const o=this[Q(0x112)][Q(0x108)](Q(0x117)),p=a39A[Q(0x111)](o,Q(0xee)),q=a39A[Q(0x111)](o,'pm2.config.js');Log['notice'](Q(0x119)+q),Log[Q(0xd0)](Q(0x120)+p);if(!a39B[Q(0x10a)](p)){const r={'app':d[Q(0xf1)],'appFileCase':paramCase(d[Q(0xf1)])};let s=this[Q(0x112)]['templateContent']({'srcPath':Q(0xc8),'context':r})+'\x0a';this[Q(0x112)]['createFile']({'filePath':p,'data':s});}execSync(Q(0xda)+o+Q(0xcb),{'stdio':Q(0xcd)});}else{if(b[Q(0xcc)]){if(Q(0xd1)===Q(0xd1)){const t=a39A[Q(0x111)](g,Q(0x100),d[Q(0xf1)]+Q(0xd7)),u=a39A[Q(0x111)](g,Q(0x100),d[Q(0xf1)]+Q(0xea));Log[Q(0xd0)](t);const v={'ssl':{'key':a39B[Q(0x123)](t,'utf8'),'cert':a39B['readFileSync'](u,Q(0xdf))},'target':{'host':Q(0xfc),'port':0xbb8},'ws':!![],'xfwd':!![]},w=a39D[Q(0x114)](v)[Q(0x118)](0xfa0);Log['bright']('=>\x20SSL\x20Proxy\x20running\x20at\x204000');}else f['notice']('Meteor\x20Settings:\x20'+g),h=i[Q(0xe8)]([Q(0xca),j]);}else Q(0xe7)==='EOmbc'?this[Q(0x112)][Q(0xf7)](Q(0xf2),a[Q(0xe8)](l)):(g===Q(0xc6)&&m['splice'](n,0x2),j==='-e'&&o[Q(0xd8)](p,0x2));}}}catch(z){Q(0xe2)===Q(0xc4)?h['done']?i(j[Q(0x11c)]):k(l['value'])['then'](m,n):(console[Q(0xe9)](z),process[Q(0xef)](0x0));}});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var u=a40d,c=a();while(!![]){try{var d=parseInt(u(
|
|
1
|
+
(function(a,b){var u=a40d,c=a();while(!![]){try{var d=parseInt(u(0x18d))/0x1*(-parseInt(u(0x18e))/0x2)+parseInt(u(0x186))/0x3+parseInt(u(0x187))/0x4+-parseInt(u(0x189))/0x5+-parseInt(u(0x183))/0x6*(-parseInt(u(0x184))/0x7)+-parseInt(u(0x188))/0x8+-parseInt(u(0x18b))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x868d8));var a40b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a40d;if(c){var e=c[v(0x185)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){var w=a40d;return a40a[w(0x18f)]()[w(0x18c)](w(0x18a))[w(0x18f)]()['constructor'](a40a)['search'](w(0x18a));});function a40d(a,b){var c=a40c();return a40d=function(d,e){d=d-0x183;var f=c[d];return f;},a40d(a,b);}a40a();import'./set.command.js';function a40c(){var x=['1095627dekjiT','2854744wMTJKN','757656PBkgWJ','2046690IjQfjD','(((.+)+)+)+$','4029381aFIosA','search','23iTLZyZ','40574tVgPqK','toString','24dEeKMF','1558529NzglLX','apply'];a40c=function(){return x;};return a40c();}import'./global.sub.cmd.js';import'./local.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a41A=a41d;(function(a,b){const x=a41d,c=a();while(!![]){try{const d=parseInt(x(
|
|
1
|
+
const a41A=a41d;(function(a,b){const x=a41d,c=a();while(!![]){try{const d=parseInt(x(0x7b))/0x1*(parseInt(x(0x89))/0x2)+parseInt(x(0x93))/0x3*(parseInt(x(0x8b))/0x4)+-parseInt(x(0x70))/0x5*(parseInt(x(0x87))/0x6)+parseInt(x(0x8d))/0x7+-parseInt(x(0x6e))/0x8*(parseInt(x(0x8c))/0x9)+parseInt(x(0x69))/0xa+parseInt(x(0x79))/0xb*(-parseInt(x(0x94))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x8cf14));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a41d;if(c){const e=c[y(0x88)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const z=a41d;return a41a[z(0x6a)]()['search']('(((.+)+)+)+$')[z(0x6a)]()[z(0x9b)](a41a)[z(0x7e)](z(0x7c));});a41a();var __awaiter=this&&this[a41A(0x72)]||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(0x80)!==B(0x80))throw b[B(0x67)](B(0x65));else try{j(d[B(0x68)](k));}catch(m){if(B(0x8a)!=='TOvnZ'){const o=d[B(0x88)](m,arguments);return f=null,o;}else g(m);}}function i(k){const C=a41d;try{j(d[C(0x6c)](k));}catch(l){g(l);}}function j(k){const D=a41d;'jZkjh'!==D(0x71)?d(e[D(0x6c)](f)):k[D(0x8e)]?f(k[D(0x9a)]):e(k[D(0x9a)])[D(0x97)](h,i);}j((d=d[E(0x88)](a,b||[]))[E(0x68)]());});};import a41v from'path';import a41w from'./set.command.js';function a41c(){const G=['throw','isDirectory','2872536tRoocf','Set\x20allowInsecure:\x20','5DRZwFm','jZkjh','__awaiter','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','exit','\x0a\x20\x20\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','maka\x20set:global\x20--cacert\x20<path>','qHTJB','disallowInsecure','340021fDELWW','maka\x20set:global\x20<args>','55309JTcLED','(((.+)+)+)+$','workspace','search','GvGsA','LbjCf','IgJTG','Set\x20workspace:\x20','FQgIi','create','One\x20or\x20the\x20other\x20buddy','ZSWoS','3096732nKTNbb','apply','10tltOrp','TOvnZ','1122292sQNdPv','18FjUXxK','4303929kuxqRE','done','maka\x20set:g\x20--insecure\x20<path>','allowInsecure','success','setGlobalConfig','9EmwOdE','228DQTZAH','dTJqk','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','then','cacert','boolean','value','constructor','fsi','Set\x20CA\x20Cert\x20Path:\x20','Could\x20not\x20find\x20directory','resolve','error','next','6657540akAdif','toString','maka\x20set:g\x20--workspace\x20<path>'];a41c=function(){return G;};return a41c();}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x65;let f=c[d];return f;},a41d(a,b);}Command[a41A(0x84)]({'name':'global','usage':a41A(0x7a),'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a41A(0x98),a41A(0x90),a41A(0x78),a41A(0x7d)],'description':a41A(0x75),'examples':[a41A(0x76),a41A(0x8f),a41A(0x6b)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const F=a41d;try{if(F(0x83)!==F(0x7f)){if(b[F(0x98)]){if(this[F(0x9c)]['isFile'](b[F(0x98)])){if(F(0x86)!=='ioTYC')this['fsi']['setGlobalConfig']({'config':{'cert':b[F(0x98)]}}),Log['success'](F(0x9d)+b['cacert']);else{const d=typeof d['cacert']===F(0x99)?'Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.':'CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+e['cacert'];throw f[F(0x67)](d);}}else{const d=typeof b[F(0x98)]===F(0x99)?F(0x73):F(0x96)+b['cacert'];throw Log[F(0x67)](d);}}if(b[F(0x7d)]){const f=this[F(0x9c)][F(0x6d)](b['workspace']);if(f)F(0x81)===F(0x95)?d(e[F(0x68)](f)):(this[F(0x9c)][F(0x92)]({'config':{'workspace':a41v[F(0x66)](b[F(0x7d)])}}),Log[F(0x91)](F(0x82)+a41v[F(0x66)](b[F(0x7d)])));else throw Log['error'](F(0x65));}if(b['allowInsecure']){if(b['allowInsecure']&&b[F(0x78)])throw Log['error'](F(0x85));let h=b['allowInsecure'];b['disallowInsecure']&&(h=![]),this[F(0x9c)][F(0x92)]({'config':{'allowInsecure':h}}),Log['success'](F(0x6f)+h);}}else{const j=this['fsi'][F(0x6d)](h[F(0x7d)]);if(j)this[F(0x9c)][F(0x92)]({'config':{'workspace':o['resolve'](p[F(0x7d)])}}),q[F(0x91)](F(0x82)+r[F(0x66)](s['workspace']));else throw t[F(0x67)]('Could\x20not\x20find\x20directory');}}catch(j){F(0x77)==='PXZns'?c(d):(console[F(0x67)](j),process[F(0x74)](0x0));}});},a41w);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a42z=a42d;(function(a,b){var v=a42d,c=a();while(!![]){try{var d=-parseInt(v(0xbf))/0x1+-parseInt(v(0xbc))/0x2*(parseInt(v(0xca))/0x3)+parseInt(v(0xba))/0x4+parseInt(v(0xb7))/0x5*(-parseInt(v(0xaf))/0x6)+-parseInt(v(0xc8))/0x7+parseInt(v(0xbd))/0x8+parseInt(v(0xae))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x19f05));function a42d(a,b){var c=a42c();return a42d=function(d,e){d=d-0xae;var f=c[d];return f;},a42d(a,b);}var a42b=(function(){var a=!![];return function(b,c){var w=a42d;if(w(0xb3)!=='oIQXc'){var d=a?function(){var x=w;if('yrtqe'!==x(0xc7))try{}catch(g){g[x(0xbe)](g),h[x(0xc0)](0x0);}else{if(c){var e=c[x(0xc1)](b,arguments);return c=null,e;}}}:function(){};return a=![],d;}else return c[w(0xbb)]()[w(0xb8)](w(0xb5))['toString']()[w(0xcb)](d)[w(0xb8)](w(0xb5));};}()),a42a=a42b(this,function(){var y=a42d;return a42a[y(0xbb)]()[y(0xb8)](y(0xb5))[y(0xbb)]()[y(0xcb)](a42a)[y(0xb8)](y(0xb5));});a42a();function a42c(){var G=['then','5ParQfI','search','create','723956fpsbOP','toString','189982PaRAnV','60120ypfzGH','error','205184oYvetD','exit','apply','__awaiter','HKzQg','mwXAi','\x0a\x20\x20\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','value','yrtqe','933219JrwSBg','next','3sNWWnZ','constructor','EqNxd','4581540WAdjKw','946962VhcQtk','GLLmx','ZFozL','local','rtolO','maka\x20set:local\x20<opts>','(((.+)+)+)+$'];a42c=function(){return G;};return a42c();}var __awaiter=this&&this[a42z(0xc2)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){var A=a42d;A(0xc3)==='HKzQg'?g(f):h['done']?i(j[A(0xc6)]):k(l['value'])[A(0xb6)](m,n);});}return new(c||(c=Promise))(function(f,g){var D=a42d;function h(k){var B=a42d;if(B(0xcc)===B(0xcc))try{j(d[B(0xc9)](k));}catch(l){'GLLmx'===B(0xb0)?g(l):c(d);}else{if(e){var o=i[B(0xc1)](j,arguments);return k=null,o;}}}function i(k){try{j(d['throw'](k));}catch(l){g(l);}}function j(k){var C=a42d;k['done']?f(k[C(0xc6)]):e(k[C(0xc6)])[C(0xb6)](h,i);}j((d=d['apply'](a,b||[]))[D(0xc9)]());});};import a42u from'./set.command.js';import{Command}from'../../command.js';Command[a42z(0xb9)]({'name':a42z(0xb2),'usage':a42z(0xb4),'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'description':a42z(0xc5)},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){var E=a42d;if(E(0xc4)!=='gKQMC')try{}catch(c){if(E(0xb1)!==E(0xb1))return d(this,void 0x0,void 0x0,function*(){var F=E;try{}catch(n){k[F(0xbe)](n),l['exit'](0x0);}});else console[E(0xbe)](c),process['exit'](0x0);}else d(e['next'](f));});},a42u);
|