@maka/maka-cli 4.5.8 → 4.5.10
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/bundle/obf/package.json +1 -1
- package/bundle/obf/src/command.js +1 -1
- package/bundle/obf/src/commands/_index.js +1 -1
- package/bundle/obf/src/commands/aws/_index.js +1 -1
- package/bundle/obf/src/commands/aws/aws.command.js +1 -1
- package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/build/_index.js +1 -1
- package/bundle/obf/src/commands/build/build.js +1 -1
- package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/create.js +1 -1
- package/bundle/obf/src/commands/debug.js +1 -1
- package/bundle/obf/src/commands/deploy.js +1 -1
- package/bundle/obf/src/commands/game/_index.js +1 -1
- package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/play.command.js +1 -1
- package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/generate.js +1 -1
- package/bundle/obf/src/commands/get/_index.js +1 -1
- package/bundle/obf/src/commands/get/get.command.js +1 -1
- package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/help.js +1 -1
- package/bundle/obf/src/commands/install.js +1 -1
- package/bundle/obf/src/commands/jsdoc.js +1 -1
- package/bundle/obf/src/commands/lint.js +1 -1
- package/bundle/obf/src/commands/login.js +1 -1
- package/bundle/obf/src/commands/logout.js +1 -1
- package/bundle/obf/src/commands/logs.js +1 -1
- package/bundle/obf/src/commands/maka.cmd.js +1 -1
- package/bundle/obf/src/commands/murder.js +1 -1
- package/bundle/obf/src/commands/proxy.js +1 -1
- package/bundle/obf/src/commands/reconfig.js +1 -1
- package/bundle/obf/src/commands/run/_index.js +1 -1
- package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/run/run.command.js +1 -1
- package/bundle/obf/src/commands/set/_index.js +1 -1
- package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/set.command.js +1 -1
- package/bundle/obf/src/commands/ssh.js +1 -1
- package/bundle/obf/src/commands/ssl.js +1 -1
- package/bundle/obf/src/commands/test.js +1 -1
- package/bundle/obf/src/commands/version.js +1 -1
- package/bundle/obf/src/error.js +1 -1
- package/bundle/obf/src/generator.js +1 -1
- package/bundle/obf/src/generators/_index.js +1 -1
- package/bundle/obf/src/generators/api.js +1 -1
- package/bundle/obf/src/generators/collection.js +1 -1
- package/bundle/obf/src/generators/component.js +1 -1
- package/bundle/obf/src/generators/config.js +1 -1
- package/bundle/obf/src/generators/dbc.js +1 -1
- package/bundle/obf/src/generators/dockerfile.js +1 -1
- package/bundle/obf/src/generators/hook.js +1 -1
- package/bundle/obf/src/generators/kit.js +1 -1
- package/bundle/obf/src/generators/layout.js +1 -1
- package/bundle/obf/src/generators/maka.gen.js +1 -1
- package/bundle/obf/src/generators/methods.js +1 -1
- package/bundle/obf/src/generators/package.js +1 -1
- package/bundle/obf/src/generators/page.js +1 -1
- package/bundle/obf/src/generators/publish.js +1 -1
- package/bundle/obf/src/generators/route.js +1 -1
- package/bundle/obf/src/generators/service.js +1 -1
- package/bundle/obf/src/generators/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/translation.js +1 -1
- package/bundle/obf/src/maka.js +1 -1
- package/bundle/obf/src/tool.js +1 -1
- package/bundle/obf/src/tools/actions/actions.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
- package/bundle/obf/src/tools/docker/docker.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
- package/bundle/obf/src/tools/https/https.class.js +1 -1
- package/bundle/obf/src/tools/https/https.interface.js +1 -1
- package/bundle/obf/src/tools/log/log.class.js +1 -1
- package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a36y=a36d;(function(a,b){const w=a36d,c=a();while(!![]){try{const d=parseInt(w(
|
|
1
|
+
function a36c(){const A=['debug','assign','email','32KPnwkh','login','failure','env','toString','ask','notice','help','parse','\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','withSpinner','56024AMrZvR','search','start','(((.+)+)+)+$','2259FgKyXg','www.maka-cli.com','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','176xFJlbO','create','95992LGadoj','password','cacert','3261Hvmjba','constructor','11514XKYekx','1038150qylmhb','isFile','post','MAKA_DEV','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','exit','1763480SAdXNo','1124BSXCta','authToken','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','85236780jGmBGw','Preflight\x20Check','toHex','/api/v1/login','fsi','6727cmjYoC','sha256','Using\x20CA\x20Cert\x20','Logging\x20into\x20https://','error','cert','success','header','get','https://','localhost','/api/v1/status'];a36c=function(){return A;};return a36c();}const a36y=a36d;(function(a,b){const w=a36d,c=a();while(!![]){try{const d=parseInt(w(0x148))/0x1*(-parseInt(w(0x124))/0x2)+parseInt(w(0x127))/0x3*(parseInt(w(0x131))/0x4)+parseInt(w(0x130))/0x5+-parseInt(w(0x129))/0x6*(parseInt(w(0x139))/0x7)+parseInt(w(0x155))/0x8*(-parseInt(w(0x11f))/0x9)+parseInt(w(0x12a))/0xa*(-parseInt(w(0x122))/0xb)+parseInt(w(0x134))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0xeaf50));const a36b=(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;};}()),a36a=a36b(this,function(){const x=a36d;return a36a[x(0x14c)]()[x(0x156)]('(((.+)+)+)+$')[x(0x14c)]()[x(0x128)](a36a)[x(0x156)](x(0x11e));});a36a();import a36e from'node-forge';function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x11d;let f=c[d];return f;},a36d(a,b);}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a36y(0x14b)][a36y(0x12d)]==='True'?a36y(0x143):a36y(0x120);Command[a36y(0x123)]({'name':a36y(0x149),'validOpts':[a36y(0x147),a36y(0x125),a36y(0x14f),'cacert',a36y(0x145)],'usage':'maka\x20login','maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a36y(0x133),'examples':['maka\x20login',a36y(0x12e)]},async function(a,b){const z=a36y,c=Log[z(0x154)]();try{let d='';b['cacert']&&(this[z(0x138)][z(0x12b)](b['cacert'])?(d=b[z(0x126)],Log[z(0x14e)](z(0x13b)+d)):Log[z(0x13d)](z(0x152)+d));const f=await this[z(0x138)]['getGlobalConfig']();if(f['cert']){if(this['fsi']['isFile'](f[z(0x13e)]))d=f[z(0x13e)];else{Log[z(0x13d)]('CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+d);return;}}Log[z(0x140)](z(0x13c)+hostname);const g={'url':z(0x142)+hostname+z(0x144)};b['cacert']&&Object[z(0x146)](g,{'cert':d});c[z(0x11d)](z(0x135));const {statusCode:h}=await HTTPS[z(0x141)](g);if(h===0x198){c['failure']();throw z(0x121);}if(h!==0xc8){c[z(0x14a)]();throw z(0x142)+hostname+z(0x151);}c[z(0x13f)]();const i=b[z(0x147)]?b['email']:await Actions[z(0x14d)]('Email:'),j=b[z(0x125)]?b['password']:await Actions['ask']('Password:\x20',!![]),k=a36e['md'][z(0x13a)][z(0x123)]();k['update'](j);const l=k['digest']()[z(0x136)](),m={'hostname':hostname,'path':z(0x137),'data':{'email':i,'password':l,'hashed':!![]}};b[z(0x126)]&&Object[z(0x146)](m,{'cert':d});c[z(0x11d)]('Logging\x20in');const {data:n,statusCode:o}=await HTTPS[z(0x12c)](m);if(o===0x198){c[z(0x14a)]('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://'+hostname;}const p=JSON[z(0x150)](n);if(p['authToken']){const q={'hostname':hostname,'path':'/api/v1/encodeJwt','headers':{'x-auth-token':p[z(0x132)]},'data':{}};b[z(0x126)]&&Object[z(0x146)](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS[z(0x12c)](q),{token:t}=JSON[z(0x150)](r);if(s===0x198)throw z(0x153)+hostname;const u={'token':p,'hash':t};this[z(0x138)]['setGlobalConfig'](u);}else{c[z(0x14a)]();throw p;}c[z(0x13f)]();}catch(v){c[z(0x14a)](),console[z(0x13d)](v),process[z(0x12f)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a37c(){const p=['logout','8049980vExKwg','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','failure','528974DnXWNr','83754XvuAKV','Preflight\x20Check','(((.+)+)+)+$','token','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','1YEEvgS','True','Logging\x20out\x20of\x20https://','header','MAKA_DEV','3SGiWBq','get','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','setGlobalConfig','cert','withSpinner','assign','https://','error','maka\x20logout','536RVCaTj','6oLAmen','2630684GJdpUG','668172VcSnQk','localhost','search','exit','notice','cacert','fsi','isFile','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','16224461LbVCRB','start','/api/v1/logoutAll','www.maka-cli.com','toString','authToken','Logging\x20out','67445puYUUa','success'];a37c=function(){return p;};return a37c();}function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0xbc;let f=c[d];return f;},a37d(a,b);}const a37n=a37d;(function(a,b){const l=a37d,c=a();while(!![]){try{const d=-parseInt(l(0xc2))/0x1*(-parseInt(l(0xbc))/0x2)+parseInt(l(0xc7))/0x3*(-parseInt(l(0xd4))/0x4)+parseInt(l(0xe4))/0x5*(-parseInt(l(0xd2))/0x6)+parseInt(l(0xd3))/0x7+-parseInt(l(0xd1))/0x8*(-parseInt(l(0xbd))/0x9)+parseInt(l(0xe7))/0xa+-parseInt(l(0xdd))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x64e84));const a37b=(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;};}()),a37a=a37b(this,function(){const m=a37d;return a37a[m(0xe1)]()[m(0xd6)](m(0xbf))['toString']()['constructor'](a37a)[m(0xd6)](m(0xbf));});a37a();import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process['env'][a37n(0xc6)]===a37n(0xc3)?a37n(0xd5):a37n(0xe0);Command['create']({'name':a37n(0xe6),'validOpts':[a37n(0xd9)],'usage':a37n(0xd0),'maxArgLength':0x2,'shortDesc':'Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','disableAuthCheck':!![],'examples':[a37n(0xd0)]},async function(a,b){const o=a37n,c=Log[o(0xcc)]();try{let d='';b[o(0xd9)]&&(this[o(0xda)][o(0xdb)](b[o(0xd9)])?(d=b[o(0xd9)],Log[o(0xd8)]('Using\x20CA\x20Cert\x20'+d)):Log['error'](o(0xdc)+d));const f=await this[o(0xda)]['getGlobalConfig']();if(f['cert']){if(this['fsi']['isFile'](f[o(0xcb)]))d=f[o(0xcb)];else{c[o(0xe9)]();throw Log[o(0xcf)](o(0xe8)+d);}}Log[o(0xc5)](o(0xc4)+hostname);const g={'url':o(0xce)+hostname+'/api/v1/status'};b[o(0xd9)]&&Object[o(0xcd)](g,{'cert':d});c[o(0xde)](o(0xbe));const {statusCode:h}=await HTTPS[o(0xc8)](g);if(h===0x198){c['failure']();throw o(0xc1);}c[o(0xe5)]();if(h!==0xc8){c[o(0xe9)]();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(!f?.[o(0xc0)]?.[o(0xe2)])throw Log[o(0xcf)](o(0xc9));c['start'](o(0xe3));const i={'hostname':hostname,'path':o(0xdf),'data':{},'headers':{'x-auth-token':f[o(0xc0)][o(0xe2)]}};b['cacert']&&Object[o(0xcd)](i,{'cert':d});const {statusCode:j}=await HTTPS['post'](i);if(j===0x198){c[o(0xe9)]('\x0a');throw o(0xc1);}this['fsi'][o(0xca)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[o(0xe5)]();}catch(k){k&&console['error'](k),process[o(0xd7)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a38j=a38d;(function(a,b){const h=a38d,c=a();while(!![]){try{const d=-parseInt(h(0x7a))/0x1*(parseInt(h(0x71))/0x2)+-parseInt(h(0x6d))/0x3*(parseInt(h(0x72))/0x4)+-parseInt(h(0x79))/0x5+-parseInt(h(0x7f))/0x6*(parseInt(h(0x7b))/0x7)+parseInt(h(0x82))/0x8+parseInt(h(0x78))/0x9+parseInt(h(0x68))/0xa*(parseInt(h(0x75))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xf18e0));function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x67;let f=c[d];return f;},a38d(a,b);}const a38b=(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;};}()),a38a=a38b(this,function(){const i=a38d;return a38a[i(0x73)]()[i(0x74)](i(0x7d))['toString']()['constructor'](a38a)[i(0x74)](i(0x7d));});a38a();import a38e from'fs';import a38f from'path';function a38c(){const l=['6RALels','env','logs','pm2\x20logs','162586uhdXWX','2205100GfoSUR','toString','search','187EkMLXT','maka\x20logs\x20--env\x20dev','maka\x20logs\x20--env\x20staging','15395877BwuHjE','6047445JITfTk','5cfogUW','7vpnmEa','create','(((.+)+)+)+$','readFileSync','4716228brVhot','assign','sshSync','15592176FPklcg','ssh.json','490750ZBtrNQ','parse','join','maka\x20logs','getConfigPath'];a38c=function(){return l;};return a38c();}import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a38j(0x7c)]({'name':a38j(0x6f),'aliases':['l','log'],'usage':a38j(0x6b),'requiredOpts':[a38j(0x6e)],'mustBeInMakaProject':!![],'validOpts':[''],'shortDesc':'View\x20the\x20PM2\x20logs','examples':[a38j(0x76),a38j(0x77),'maka\x20l\x20-e\x20p']},function(a,b){const k=a38j,c=k(0x70),d=this['fsi'][k(0x6c)](b['env']),e=a38f[k(0x6a)](d,k(0x67)),f=a38e[k(0x7e)](e),g=JSON[k(0x69)](f[k(0x73)]());Object[k(0x80)](g,{'env':d}),SSH[k(0x81)](c,g,{'tty':!![],'verbose':!![]});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a39j=a39d;(function(a,b){const g=a39d,c=a();while(!![]){try{const d=parseInt(g(0xd2))/0x1*(-parseInt(g(0xc2))/0x2)+-parseInt(g(0xbc))/0x3*(parseInt(g(0xcc))/0x4)+parseInt(g(0xca))/0x5+-parseInt(g(0xd5))/0x6*(parseInt(g(0xc1))/0x7)+-parseInt(g(0xd6))/0x8*(-parseInt(g(0xbf))/0x9)+parseInt(g(0xd0))/0xa*(-parseInt(g(0xc0))/0xb)+-parseInt(g(0xc4))/0xc*(-parseInt(g(0xc7))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x59ed7));function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0xbb;let f=c[d];return f;},a39d(a,b);}const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a39d;if(c){const e=c[h(0xbe)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const i=a39d;return a39a[i(0xd7)]()[i(0xd4)](i(0xc8))['toString']()[i(0xc3)](a39a)['search'](i(0xc8));});a39a();function a39c(){const l=['582EGADaZ','2069792RikUsA','toString','maybeProxyCommandToMeteor','maka','489ElKcYY','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','apply','9pyZEfR','1063326DPAAav','3668SWvwZP','2qrLyup','constructor','13169256FbaMaN','maka\x20--help','findSubCommand','13OFiYQz','(((.+)+)+)+$','\x0a\x0a\x20\x20Scaffold\x20Web\x20Applications\x20with\x20Meteor\x20and\x20Maka-CLI\x0a\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.\x0a\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:.\x0a\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.-.\x0a\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:.\x0a\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:.\x0a\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.-.\x0a\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.-:\x0a\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:.\x0a\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.-:\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:.\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\x20\x20','2190145vHojgr','runSubCommand','15524KGWadL','error','slice','fsi','60fxBFux','maka\x20install\x20meteor','162421UdwIbW','maka\x20create\x20Todo','search'];a39c=function(){return l;};return a39c();}import{Command}from'../command.js';const Maka=new Command({'name':a39j(0xbb),'minArgLength':0x1,'shortDesc':a39j(0xbd),'validOpts':[],'usage':'maka\x20<command>\x20[<args>]\x20[<opts>]','disableAuthCheck':!![],'examples':[a39j(0xc5),a39j(0xd1),a39j(0xd3),'maka\x20run'],'description':a39j(0xc9)},async function(a,b){const k=a39j;try{const c=a[0x0],d=this[k(0xc6)](c);d?this[k(0xcb)](c,a[k(0xce)](0x1),b):this[k(0xcf)][k(0xd8)]();}catch(f){console[k(0xcd)](f),process['exit'](0x1);}});export default Maka;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a40c(){var
|
|
1
|
+
var a40i=a40d;(function(a,b){var f=a40d,c=a();while(!![]){try{var d=-parseInt(f(0x172))/0x1+-parseInt(f(0x181))/0x2*(-parseInt(f(0x179))/0x3)+parseInt(f(0x16b))/0x4*(parseInt(f(0x174))/0x5)+parseInt(f(0x16c))/0x6*(-parseInt(f(0x17b))/0x7)+parseInt(f(0x16f))/0x8*(parseInt(f(0x17e))/0x9)+parseInt(f(0x170))/0xa*(parseInt(f(0x182))/0xb)+parseInt(f(0x17a))/0xc*(-parseInt(f(0x178))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x47708));var a40b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a40d;if(c){var e=c[g(0x16d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){var h=a40d;return a40a[h(0x177)]()[h(0x175)]('(((.+)+)+)+$')[h(0x177)]()[h(0x176)](a40a)['search'](h(0x16e));});a40a();import{Command}from'../command.js';function a40c(){var k=['2677795WwAVgR','search','constructor','toString','7501YfGclC','27NhtYSk','18468qRRXJb','287enhtRZ','murder','Murrrrderrrrr','246141FSCYGr','%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','exit','26778QiINTa','692494eabjvI','4TRCgmi','21618PBIPRB','apply','(((.+)+)+)+$','160KGwAUA','20mPihqR','maka\x20murder','606LiTsst','error'];a40c=function(){return k;};return a40c();}function a40d(a,b){var c=a40c();return a40d=function(d,e){d=d-0x16b;var f=c[d];return f;},a40d(a,b);}Command['create']({'name':a40i(0x17c),'usage':a40i(0x171),'maxArgLength':0x1,'shortDesc':a40i(0x17d),'validOpts':[]},async function(){var j=a40i;try{console['log'](j(0x17f),'font-family:\x20monospace');}catch(a){console[j(0x173)](a),process[j(0x180)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a41q=a41d;(function(a,b){const n=a41d,c=a();while(!![]){try{const d=parseInt(n(
|
|
1
|
+
const a41q=a41d;(function(a,b){const n=a41d,c=a();while(!![]){try{const d=parseInt(n(0x12f))/0x1+-parseInt(n(0x118))/0x2*(-parseInt(n(0x144))/0x3)+parseInt(n(0x12e))/0x4+parseInt(n(0x139))/0x5*(parseInt(n(0x12c))/0x6)+parseInt(n(0x128))/0x7*(parseInt(n(0x11a))/0x8)+-parseInt(n(0x13c))/0x9*(parseInt(n(0x133))/0xa)+parseInt(n(0x120))/0xb*(-parseInt(n(0x126))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x931fb));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a41d;if(c){const e=c[o(0x12d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const p=a41d;return a41a['toString']()[p(0x11b)](p(0x135))[p(0x11f)]()[p(0x143)](a41a)['search'](p(0x135));});a41a();import a41e from'fs';import a41f from'path';import a41g from'http-proxy';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-0x115;let f=c[d];return f;},a41d(a,b);}import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';import a41h from'../generators/maka.gen.js';function a41c(){const s=['appName','join','4qfjtJV','readFileSync','1293464dCrGEQ','search','maka\x20proxy','getConfigPath','\x20to\x20','toString','55kmChYU','.key','utf8','targetHost','getProjectConfig','error','2402292LzrWfG','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','7mxcRyv','=>\x20SSL\x20Proxy\x20forwarding\x20','sslconfig','localhost','44868bdzbCc','apply','1893192vMGXYt','1084126dnwFGA','genCSR','listenPort','bright','1937530XdKkIt','genSSC','(((.+)+)+)+$','.crt','help','.csr','160gUWXOa','createProxyServer','findGenerator','27BtaKnb','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','isFile','create','proxy','targetPort','\x0a\x20\x20If\x20you\x27re\x20running\x20your\x20Meteor\x20service,\x20and\x20need\x20to\x20stand\x20up\x20an\x20SSL\x0a\x20\x20Proxy,\x20this\x20command\x20will\x20automatically\x20create\x20a\x20key\x20pair\x20for\x20use\x20in\x20an\x20HTTPS\x0a\x20\x20proxy.\x0a\x0a\x20\x20For\x20example,\x20you\x27re\x20running\x20http://localhost:3000\x20with\x20\x22maka\x20run\x22\x20then\x20open\x20a\x20new\x0a\x20\x20terminal\x20and\x20run\x20\x22maka\x20proxy\x22\x20to\x20standup\x20https://localhost:3443.\x0a\x20\x20Then\x20open\x20your\x20browser\x20to\x20that\x20URL\x20(you\x20may\x20need\x20to\x20trust\x20the\x20certificates\x0a\x20\x20because\x20they\x20are\x20self-signed)\x20and\x20you\x27ll\x20have\x20an\x20SSL\x20connection\x20to\x20your\x0a\x20\x20http://localhost:3000.\x0a\x0a\x20\x20To\x20avoid\x20possibly\x20overwriting\x20PKI\x20files\x20in\x20higher\x20environments,\x20\x22maka\x20proxy\x22\x0a\x20\x20will\x20try\x20to\x20only\x20generate\x20/\x20store\x20PKI\x20keys\x20in\x20the\x20development\x20environment.\x0a\x20\x20','constructor','339645pVrdTo','fsi','mkKeysDir'];a41c=function(){return s;};return a41c();}Command[a41q(0x13f)]({'name':a41q(0x140),'usage':'maka\x20proxy','mustBeInMakaProject':!![],'validOpts':[a41q(0x137),a41q(0x141),a41q(0x131),a41q(0x123)],'maxArgLength':0x1,'shortDesc':a41q(0x13d),'description':a41q(0x142),'examples':[a41q(0x11c),a41q(0x127),'maka\x20proxy\x20--target-host\x20http://192.168.1.20']},async function(a,b){const r=a41q,c=this[r(0x145)][r(0x124)](),d='development',e=this[r(0x145)][r(0x11d)](d),f=this[r(0x145)][r(0x115)]({'configPath':e}),g=b[r(0x141)]?b[r(0x141)]:0xbb8,h=b['listenPort']?b[r(0x131)]:0xd73,i=b[r(0x123)]?b[r(0x123)]:r(0x12b),j=a41f[r(0x117)](f,c[r(0x116)]+r(0x121)),k=a41f['join'](f,c[r(0x116)]+'.crt');if(!this[r(0x145)][r(0x13e)](j)||!this[r(0x145)][r(0x13e)](k)){const m=a41h[r(0x13b)](r(0x12a));m&&await m['invoke']([r(0x12a)],{'env':d}),SSL[r(0x130)]({'keyName':c['appName']+'.key','csrName':c['appName']+r(0x138),'cwd':f}),SSL[r(0x134)]({'keyName':c[r(0x116)]+r(0x121),'crtName':c['appName']+r(0x136),'cwd':f});}if(g===h){Log[r(0x125)]('Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.');throw new UsageError();}const l={'ssl':{'key':a41e['readFileSync'](j,'utf8'),'cert':a41e[r(0x119)](k,r(0x122))},'target':{'host':i,'port':g},'ws':!![],'xfwd':!![]};a41g[r(0x13a)](l)['listen'](h),Log[r(0x132)](r(0x129)+h+r(0x11e)+g);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a42q=a42d;(function(a,b){const n=a42d,c=a();while(!![]){try{const d=parseInt(n(0x147))/0x1+-parseInt(n(0x149))/0x2+parseInt(n(0x136))/0x3*(-parseInt(n(0x137))/0x4)+parseInt(n(0x155))/0x5*(-parseInt(n(0x143))/0x6)+-parseInt(n(0x14f))/0x7*(-parseInt(n(0x157))/0x8)+parseInt(n(0x156))/0x9+parseInt(n(0x14d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xe5bc0));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a42d;if(c){const e=c[o(0x141)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const p=a42d;return a42a['toString']()['search'](p(0x146))[p(0x159)]()[p(0x139)](a42a)[p(0x135)](p(0x146));});a42a();function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x135;let f=c[d];return f;},a42d(a,b);}import a42e from'fs';import a42f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';function a42c(){const s=['\x0a\x20\x20If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x0a\x20\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.\x0a\x20\x20','success','11890860lyIMtR','getConfigPath','7YNMihE','~/settings.json','readFileSync','Checking\x20remote\x20host\x20availability','create','maka\x20reconfig','19945bzLnWl','15524172hNXNbV','2157496rJDNgQ','_keys','toString','~/ses.json','join','pm2\x20delete\x20all','sshSync','assign','search','1277889RMWvaN','12eauupk','fsi','constructor','ssh','scp','parse','reconfig','~/pm2.config.js','existsSync','ping','apply','pm2.config.js','186NSWsjf','env','maka\x20reconfig\x20--env\x20prod','(((.+)+)+)+$','322152IpOODO','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','2326586wyPSEC','exit'];a42c=function(){return s;};return a42c();}Command[a42q(0x153)]({'name':a42q(0x13d),'validOpts':[''],'requiredOpts':[a42q(0x144)],'mustBeInMakaProject':!![],'usage':a42q(0x154),'shortDesc':'Reconfigure\x20your\x20deployed\x20applications','description':a42q(0x14b),'examples':[a42q(0x145)]},async function(a,b){const r=a42q;try{const c=this[r(0x138)][r(0x14e)](b[r(0x144)]),d=a42f['join'](c,'ssh.json'),f=a42e[r(0x151)](d)[r(0x159)](),g=JSON[r(0x13c)](f);Object[r(0x15e)](g,{'env':c}),Log['notice'](r(0x152));const h=SSH[r(0x140)]('uname\x20-a',g);if(!h)throw r(0x148);if(h)Log[r(0x14c)]('Remote\x20host\x20connection\x20successful');const i=a42f[r(0x15b)](c,r(0x158),'ses.json');if(a42e[r(0x13f)](i)){const l={'source':i,'dest':r(0x15a),'verbose':!![]};SSH[r(0x13b)](l,{...g});}const j=a42f[r(0x15b)](c,r(0x142));SSH[r(0x13b)]({'source':j,'dest':r(0x13e),'verbose':!![]},{...g});const k=a42f[r(0x15b)](c,'settings.json');SSH[r(0x13b)]({'source':k,'dest':r(0x150),'verbose':!![]},{...g}),SSH[r(0x15d)](r(0x15c),g),await SSH[r(0x13a)]('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',{...g},{'verbose':!![]});}catch(m){console['error'](m),process[r(0x14a)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a43d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
(function(a,b){var f=a43d,c=a();while(!![]){try{var d=-parseInt(f(0x97))/0x1*(parseInt(f(0x93))/0x2)+parseInt(f(0x8f))/0x3+-parseInt(f(0x99))/0x4+parseInt(f(0x91))/0x5*(-parseInt(f(0x96))/0x6)+parseInt(f(0x8e))/0x7*(-parseInt(f(0x92))/0x8)+parseInt(f(0x95))/0x9*(-parseInt(f(0x9b))/0xa)+parseInt(f(0x8d))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x3708e));var a43b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a43d;if(c){var e=c[g(0x90)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){var h=a43d;return a43a['toString']()['search'](h(0x98))[h(0x9a)]()['constructor'](a43a)[h(0x94)]('(((.+)+)+)+$');});a43a();function a43c(){var i=['(((.+)+)+)+$','1099812kSyRjs','toString','490SrSFBg','5248056oPJlao','4277JyialV','1027206yECoCs','apply','2165dHbJfj','464VbEQJG','248342AOtGAC','search','747FmNoWj','2154UqBTer','1umrtGo'];a43c=function(){return i;};return a43c();}import'./run.command.js';function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0x8d;var f=c[d];return f;},a43d(a,b);}import'./docker.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a44l=a44d;
|
|
1
|
+
const a44l=a44d;(function(a,b){const i=a44d,c=a();while(!![]){try{const d=-parseInt(i(0x1cb))/0x1*(parseInt(i(0x1d8))/0x2)+-parseInt(i(0x1e3))/0x3*(-parseInt(i(0x1c5))/0x4)+-parseInt(i(0x1e5))/0x5+-parseInt(i(0x1d7))/0x6+parseInt(i(0x1d6))/0x7*(-parseInt(i(0x1e4))/0x8)+-parseInt(i(0x1d9))/0x9+parseInt(i(0x1c7))/0xa*(parseInt(i(0x1cf))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x81f22));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a44d;if(c){const e=c[j(0x1d3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const k=a44d;return a44a['toString']()['search'](k(0x1c4))[k(0x1dc)]()[k(0x1da)](a44a)[k(0x1d4)](k(0x1c4));});function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x1c3;let f=c[d];return f;},a44d(a,b);}a44a();import a44e from'./run.command.js';import{execSync}from'child_process';import a44f from'path';import a44g from'fs';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';function a44c(){const n=['1895835nGHxcm','docker-compose.yaml','(((.+)+)+)+$','4CpWXyN','appName','90lmFrTW','fsi','\x20up\x20--remove-orphans','create','1453RvfImL','createFile','docker-compose\x20--project-directory\x20','PM2\x20Config\x20File:\x20','4686055lmCIQb','templateContent','existsSync','getConfigPath','apply','search','notice','3452918RRwZaf','2522256HZJGdS','1258LAznWm','6058962ZlcScA','constructor','config/docker-compose.yaml','toString','Docker\x20Compose\x20Path:\x20','getProjectConfig','pm2.config.js','join','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','docker','214377xaTzeV','16PHihnp'];a44c=function(){return n;};return a44c();}Command[a44l(0x1ca)]({'name':a44l(0x1e2),'aliases':['d'],'shortDesc':a44l(0x1e1),'description':'\x0a\x20\x20Run\x20your\x20application\x20in\x20a\x20Docker\x20container.\x20\x20Docker\x20Desktop\x20or\x20Colmia\x20is\x20required.\x0a\x0a\x20\x20Colima\x20is\x20a\x20great\x20alternative\x20to\x20Docker\x20Desktop,\x20and\x20it\x20is\x20free!\x0a\x20\x20Colima:\x20https://github.com/abiosoft/colima\x0a\x0a\x0a\x20\x20A\x20docker-compose.yml\x20file\x20(location\x20defaulted\x20to\x20the\x20\x22config/docker\x22\x20folder)\x0a\x20\x20is\x20used\x20to\x20startup\x20mongo\x20and\x20load\x20the\x20built\x20image\x27\x0a\x20\x20','usage':'maka\x20run\x20docker','validOpts':['']},async function(){const m=a44l;try{const a=this['fsi'][m(0x1de)](),b=this[m(0x1c8)][m(0x1d2)](m(0x1e2)),c=a44f['join'](b,m(0x1c3)),d=a44f[m(0x1e0)](b,m(0x1df));Log['notice'](m(0x1ce)+d),Log[m(0x1d5)](m(0x1dd)+c);if(!a44g[m(0x1d1)](c)){const f={'app':a[m(0x1c6)],'appFileCase':paramCase(a[m(0x1c6)])},g=this[m(0x1c8)][m(0x1d0)]({'srcPath':m(0x1db),'context':f})+'\x0a';this[m(0x1c8)][m(0x1cc)]({'filePath':c,'data':g});}execSync(m(0x1cd)+b+m(0x1c9),{'stdio':'inherit'});}catch(h){process['exit'](0x1);}},a44e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a45u=a45d;(function(a,b){const q=a45d,c=a();while(!![]){try{const d=-parseInt(q(0x201))/0x1*(-parseInt(q(0x1c9))/0x2)+-parseInt(q(0x1cf))/0x3*(-parseInt(q(0x1fa))/0x4)+-parseInt(q(0x1d8))/0x5+parseInt(q(0x1e6))/0x6+parseInt(q(0x1da))/0x7+parseInt(q(0x1f5))/0x8+-parseInt(q(0x1d4))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xd9c16));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a45d;if(c){const e=c[r(0x1cb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const s=a45d;return a45a[s(0x1ea)]()[s(0x1e4)](s(0x1f4))[s(0x1ea)]()[s(0x1f1)](a45a)[s(0x1e4)]('(((.+)+)+)+$');});a45a();import a45e from'path';import a45f from'fs';import a45g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';function a45c(){const x=['findProjectDirectory','warn','Run\x20your\x20Meteor\x20application','inspect','23515362NgisXA','local','exit','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)','3830520hDDsjc','run','5058452HlJfQX','mobile-server','ios','compareMakaToLatest','app','exclude-archs','production','filter','runSubCommand','openSync','search','config','7458240mAOqHM','process.env','slice','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','toString','development','join','cordova-build','env','getConfigPath','allowIncompatibleUpdate','constructor','settings','isFile','(((.+)+)+)+$','5374056xiQuxn','extraPackages','--production','notice','error','166988jEdgIJ','isDirectory','mobileServer','sep','fsi','split','Meteor\x20Settings:\x20','44388MZdUeR','splice','\x0a\x20\x20maka\x20run\x0a\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\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\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\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-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-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\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\x20Default\x20port\x20is\x209229.\x0a\x0a\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\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\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--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\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\x20removes\x20development\x20packages.','settings.json','4LCxatb','Cannot\x20find\x20Node\x20Environment\x20File:\x20','apply','docker','--settings','push','111jfmfQn'];a45c=function(){return x;};return a45c();}import{Log}from'../../tools/log/log.class.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x1c7;let f=c[d];return f;},a45d(a,b);}const syncSource=function(a){const t=a45d;a45f[t(0x1e3)](a,'r'),a45g[t(0x1e5)]({'path':a});},Run=Command['create']({'name':a45u(0x1d9),'mustBeInMakaProject':!![],'shortDesc':a45u(0x1d2),'description':a45u(0x1c7),'validOpts':[a45u(0x1ee),a45u(0x1cc),'r','rawLogs','p','port','i',a45u(0x1d3),'m',a45u(0x1fc),'v','verbose',a45u(0x1f0),a45u(0x1f6),'x',a45u(0x1df),a45u(0x1e0)]},async function(a,b){const v=a45u;try{const c=a[0x0],d=this['findSubCommand'](c);d&&this[v(0x1e2)](c,a,b);if(c===v(0x1dc)){const m=this[v(0x1fe)][v(0x1d0)](),n=a45e[v(0x1ec)](m,v(0x1de),'.meteor',v(0x1d5),v(0x1ed));this[v(0x1fe)][v(0x1fb)](n)&&await rimraf(n);}if(b[v(0x1db)]&&b[v(0x1db)]===!![]||b['m']&&b['m']===!![])throw v(0x1d7);await this[v(0x1fe)][v(0x1dd)]();const f=b['env']?b['env']:v(0x1eb),g=this[v(0x1fe)][v(0x1ef)](f),h=a45e['join'](g,v(0x1e7));let i=a45e[v(0x1ec)](g,v(0x1c8));b[v(0x1f2)]?i=b[v(0x1f2)]:i=a45e[v(0x1ec)](g,v(0x1c8));if(this[v(0x1fe)][v(0x1f3)](h)&&!b['docker'])Log['notice']('Node\x20Env\x20Config:\x20'+h),syncSource(h);else!b['docker']&&Log[v(0x1d1)](v(0x1ca)+h);this[v(0x1fe)]['isFile'](i)?(Log[v(0x1f8)](v(0x200)+i),a=a['concat']([v(0x1cd),i])):Log[v(0x1d1)](v(0x1e9)+i);const j=g[v(0x1ff)](a45e[v(0x1fd)]),k=j[j['length']-0x1];k===v(0x1e0)&&a[v(0x1ce)](v(0x1f7));const l=process['argv'][v(0x1e8)](0x2)[v(0x1e1)](o=>o!=='run')['filter'](o=>o!==a[0x0]);l['forEach']((o,p)=>{const w=v;o==='--env'&&l[w(0x202)](p,0x2),o==='-e'&&l['splice'](p,0x2);}),this[v(0x1fe)]['invokeMeteorCommand'](v(0x1d9),a['concat'](l));}catch(o){console[v(0x1f9)](o),process[v(0x1d6)](0x1);}});export default Run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a46d,c=a();while(!![]){try{var d=-parseInt(f(0x1d2))/0x1*(-parseInt(f(0x1c6))/0x2)+parseInt(f(0x1cc))/0x3*(-parseInt(f(0x1ca))/0x4)+parseInt(f(0x1c7))/0x5+-parseInt(f(0x1ce))/0x6+-parseInt(f(0x1cd))/0x7*(parseInt(f(0x1cb))/0x8)+parseInt(f(0x1c5))/0x9*(-parseInt(f(0x1d1))/0xa)+parseInt(f(0x1c9))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x5d50e));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x1d0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a['toString']()[h(0x1cf)](h(0x1c8))['toString']()[h(0x1c4)](a46a)[h(0x1cf)]('(((.+)+)+)+$');});a46a();function a46c(){var i=['195855ATsFyc','(((.+)+)+)+$','19568417IFhLjB','3788DrYAcv','220984jTsNXE','1989wuzxfE','105dYJyrB','3241806ofaaKu','search','apply','90FwFmPF','38GaGWLA','constructor','77247reWnQl','11782aVqHbK'];a46c=function(){return i;};return a46c();}function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x1c4;var f=c[d];return f;},a46d(a,b);}import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a47k=a47d;(function(a,b){const h=a47d,c=a();while(!![]){try{const d=-parseInt(h(
|
|
1
|
+
const a47k=a47d;(function(a,b){const h=a47d,c=a();while(!![]){try{const d=-parseInt(h(0x168))/0x1*(-parseInt(h(0x17c))/0x2)+parseInt(h(0x182))/0x3+parseInt(h(0x169))/0x4+-parseInt(h(0x183))/0x5+parseInt(h(0x188))/0x6*(parseInt(h(0x184))/0x7)+-parseInt(h(0x16a))/0x8*(-parseInt(h(0x171))/0x9)+-parseInt(h(0x16c))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x60b02));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a47d;if(c){const e=c[i(0x178)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const j=a47d;return a47a['toString']()[j(0x186)]('(((.+)+)+)+$')['toString']()[j(0x179)](a47a)[j(0x186)](j(0x166));});a47a();import a47e from'path';import a47f from'./set.command.js';import{Command}from'../../command.js';function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x165;let f=c[d];return f;},a47d(a,b);}import{Log}from'../../tools/log/log.class.js';function a47c(){const m=['347417EhkdOe','2271636JhfgIQ','696qVdbjy','isDirectory','13813600ZqSaUZ','Set\x20workspace:\x20','maka\x20set:global-config\x20--cacert\x20<path>','maka\x20set:gc\x20--workspace\x20<path>','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','39609VIitPi','global-config','error','create','disallowInsecure','boolean','maka\x20set:global-config\x20<args>','apply','constructor','Set\x20global\x20Maka-CLI\x20settings','workspace','2WDUUXl','allowInsecure','setGlobalConfig','resolve','cacert','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x0a\x20\x20There\x20are\x20occasions\x20where\x20your\x20network\x20may\x20need\x20an\x20intermediate\x20certificate\x0a\x20\x20to\x20allow\x20connections\x20outside.\x20\x20You\x20may\x20set\x20your\x20certificate\x20path\x20using\x20the\x20command:\x0a\x0a\x20\x20maka\x20set:gc\x20--cacert\x0a\x20\x20','2366085znepIG','3711520XPeiYE','7gupyCY','exit','search','maka\x20set:gc\x20--insecure\x20<path>','2596740ahigco','fsi','(((.+)+)+)+$','success'];a47c=function(){return m;};return a47c();}Command[a47k(0x174)]({'name':a47k(0x172),'usage':a47k(0x177),'aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':['cacert','allowInsecure',a47k(0x175),a47k(0x17b),'help'],'shortDesc':a47k(0x17a),'description':a47k(0x181),'examples':[a47k(0x16e),a47k(0x187),a47k(0x16f)]},async function(a,b){const l=a47k;try{if(b[l(0x180)]){if(this[l(0x165)]['isFile'](b['cacert']))this[l(0x165)][l(0x17e)]({'cert':b[l(0x180)]}),Log['success']('Set\x20CA\x20Cert\x20Path:\x20'+b[l(0x180)]);else{const c=typeof b['cacert']===l(0x176)?'Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.':l(0x170)+b[l(0x180)];throw Log[l(0x173)](c);}}if(b[l(0x17b)]){const d=this[l(0x165)][l(0x16b)](b['workspace']);if(d)this['fsi'][l(0x17e)]({'workspace':a47e[l(0x17f)](b[l(0x17b)])}),Log[l(0x167)](l(0x16d)+a47e['resolve'](b[l(0x17b)]));else throw Log[l(0x173)]('Could\x20not\x20find\x20directory');}if(b[l(0x17d)]){if(b[l(0x17d)]&&b[l(0x175)])throw Log[l(0x173)]('One\x20or\x20the\x20other\x20buddy');let f=b['allowInsecure'];b[l(0x175)]&&(f=![]),this['fsi'][l(0x17e)]({'allowInsecure':f}),Log[l(0x167)]('Set\x20allowInsecure:\x20'+f);}}catch(g){console[l(0x173)](g),process[l(0x185)](0x0);}},a47f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a48i=a48d;(function(a,b){var f=a48d,c=a();while(!![]){try{var d=parseInt(f(0x112))/0x1*(-parseInt(f(0x10c))/0x2)+parseInt(f(0x10e))/0x3+-parseInt(f(0x119))/0x4*(-parseInt(f(0x110))/0x5)+-parseInt(f(0x117))/0x6+-parseInt(f(0x11d))/0x7*(-parseInt(f(0x11a))/0x8)+parseInt(f(0x121))/0x9+-parseInt(f(0x118))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x8a94b));var a48b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a48d;if(c){var e=c[g(0x11f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){var h=a48d;return a48a[h(0x115)]()['search'](h(0x111))[h(0x115)]()[h(0x114)](a48a)[h(0x10f)]('(((.+)+)+)+$');});function a48d(a,b){var c=a48c();return a48d=function(d,e){d=d-0x10c;var f=c[d];return f;},a48d(a,b);}a48a();import a48e from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a48c(){var k=['constructor','toString','maka\x20set:local-config\x20<opts>','4191966xwfFeO','7017330VPHwAm','12aIibnK','7045624RZbnLo','notice','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','7jjOYiA','Sorry,\x20not\x20implemented\x20yet','apply','Set\x20local\x20maka\x20app\x20settings','3882528DCYUll','271738xyNiWw','create','512316KGlXOX','search','1487935SZUZyJ','(((.+)+)+)+$','3McUUmS','local-config'];a48c=function(){return k;};return a48c();}Command[a48i(0x10d)]({'name':a48i(0x113),'usage':a48i(0x116),'examples':['maka\x20set:lc\x20<opts>',a48i(0x116)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':a48i(0x120),'validOpts':[],'description':a48i(0x11c)},async function(){var j=a48i;Log[j(0x11b)](j(0x11e));},a48e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a49c(){const j=['749009pcscAp','11NYndTh','1835084naZwLT','toString','help','1088dkyRfq','create','21753sTzQmr','1200600XPWJPC','18AbqkqP','findSubCommand','constructor','maka\x20set:<sub-command>\x20<opts>','2EapQdq','(((.+)+)+)+$','2096890iQUCHt','1253735onwRYy','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','runSubCommand','370050lXyQvv'];a49c=function(){return j;};return a49c();}const a49h=a49d;function a49d(a,b){const c=a49c();return a49d=function(d,e){d=d-0x10a;let f=c[d];return f;},a49d(a,b);}(function(a,b){const f=a49d,c=a();while(!![]){try{const d=-parseInt(f(0x111))/0x1*(-parseInt(f(0x10a))/0x2)+parseInt(f(0x119))/0x3+parseInt(f(0x113))/0x4+-parseInt(f(0x110))/0x5+parseInt(f(0x11a))/0x6*(-parseInt(f(0x10d))/0x7)+parseInt(f(0x116))/0x8*(-parseInt(f(0x118))/0x9)+parseInt(f(0x10c))/0xa*(-parseInt(f(0x112))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x6fe0e));const a49b=(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;};}()),a49a=a49b(this,function(){const g=a49d;return a49a[g(0x114)]()['search'](g(0x10b))['toString']()[g(0x11c)](a49a)['search']('(((.+)+)+)+$');});a49a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command[a49h(0x117)]({'name':'set','usage':a49h(0x11d),'minArgLength':0x1,'shortDesc':'Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','description':a49h(0x10e),'validOpts':[]},async function(a,b){const i=a49h,c=a[0x0];if(b[i(0x115)])throw new UsageError();const d=this[i(0x11b)](c);d&&this[i(0x10f)](c,a,b);});export default SetCommand;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a50m=a50d;(function(a,b){const j=a50d,c=a();while(!![]){try{const d=-parseInt(j(
|
|
1
|
+
const a50m=a50d;(function(a,b){const j=a50d,c=a();while(!![]){try{const d=-parseInt(j(0x1ee))/0x1*(parseInt(j(0x1eb))/0x2)+-parseInt(j(0x1f6))/0x3*(-parseInt(j(0x1f0))/0x4)+parseInt(j(0x1fd))/0x5+-parseInt(j(0x1f2))/0x6+parseInt(j(0x1e7))/0x7*(parseInt(j(0x1e2))/0x8)+parseInt(j(0x1fc))/0x9*(parseInt(j(0x1f7))/0xa)+-parseInt(j(0x1fa))/0xb*(parseInt(j(0x1e4))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x45970));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a50d;if(c){const e=c[k(0x1e5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const l=a50d;return a50a[l(0x1f9)]()['search'](l(0x1f3))[l(0x1f9)]()['constructor'](a50a)[l(0x1ea)](l(0x1f3));});a50a();function a50c(){const o=['env','27475HmwFzP','ssh.json','maka\x20ssh\x20<command>','search','18QHdKjK','sshSync','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','14475kznwzW','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','4HqXZER','exit','2494764UKlayM','(((.+)+)+)+$','maka\x20ssh\x20--env\x20staging','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','884847rEJMRl','252920oqAXqI','maka\x20ssh\x20--env\x20prod','toString','11uYpcBJ','assign','144hlUZFO','1978285MRynAb','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','fsi','readFileSync','create','join','872gGcJGZ','error','8303928pMmajQ','apply'];a50c=function(){return o;};return a50c();}import a50e from'fs';import a50f from'path';import{Command}from'../command.js';function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x1e0;let f=c[d];return f;},a50d(a,b);}import{SSH}from'../tools/ssh/ssh.class.js';Command[a50m(0x1e0)]({'name':'ssh','usage':a50m(0x1e9),'mustBeInMakaProject':!![],'requiredOpts':[a50m(0x1e6)],'validOpts':[a50m(0x1e6),'v'],'shortDesc':a50m(0x1fe),'examples':['maka\x20ssh\x20--env\x20dev',a50m(0x1f4),a50m(0x1f8),a50m(0x1f5),a50m(0x1ed),a50m(0x1ef)]},async function(a,b){const n=a50m;try{const c=this[n(0x1ff)]['getConfigPath'](b[n(0x1e6)]);let d='';a['length']>0x0&&(d=a[0x0]);const f=a50f[n(0x1e1)](c,n(0x1e8)),g=a50e[n(0x200)](f)[n(0x1f9)](),h=JSON['parse'](g);Object[n(0x1fb)](h,{'env':c}),SSH[n(0x1ec)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['v']});}catch(i){console[n(0x1e3)](i),process[n(0x1f1)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a51y=a51d;(function(a,b){const v=a51d,c=a();while(!![]){try{const d
|
|
1
|
+
const a51y=a51d;(function(a,b){const v=a51d,c=a();while(!![]){try{const d=parseInt(v(0x1d3))/0x1+parseInt(v(0x1d1))/0x2+-parseInt(v(0x1eb))/0x3*(-parseInt(v(0x203))/0x4)+-parseInt(v(0x1ed))/0x5*(-parseInt(v(0x1e0))/0x6)+-parseInt(v(0x1f8))/0x7+parseInt(v(0x1de))/0x8*(-parseInt(v(0x1dd))/0x9)+parseInt(v(0x1d6))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x8a9d2));function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x1c8;let f=c[d];return f;},a51d(a,b);}const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a51d;if(c){const e=c[w(0x1cc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const x=a51d;return a51a['toString']()[x(0x1f3)](x(0x1f7))[x(0x1d7)]()[x(0x204)](a51a)[x(0x1f3)](x(0x1f7));});a51a();import a51e from'fs';import a51f from'path';import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';function a51c(){const A=['withSpinner','existsSync','env','\x20--email\x20','672270aaZgFa','letsencrypt.json','4051065gEOxjZ','parse','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','notice','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','search','getProjectConfig','success','Verifying\x20Letsencrypt\x20configuration','(((.+)+)+)+$','6099464NgbuDX','create','domainNames','readFileSync','.crt','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','.csr','appName','assign','mkKeysDir','error','4UUjsOk','constructor','ask','letsencrypt','Please\x20provide\x20a\x20command.','domains','apply','Using\x20saved\x20letsencrypt\x20config','uname\x20-a','Email\x20to\x20use\x20for\x20auto-updates:\x20','email','1972302PTOyJr','stringify','357788hUmbLT','Remote\x20host\x20connection\x20successful','fsi','283250TReppe','toString','[?]\x20Domains\x20to\x20register:\x20','ping','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','.key','8707077usNspe','8ppOUmF','exit','6bsrScY','join','generate-csr','Checking\x20remote\x20host\x20availability','maka\x20ssl\x20[command]','genCSR','ssh'];a51c=function(){return A;};return a51c();}import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command[a51y(0x1f9)]({'name':'ssl','usage':a51y(0x1e4),'validOpts':[a51y(0x1cb),a51y(0x1d0)],'requiredOpts':['env'],'shortDesc':'Create\x20and\x20manage\x20your\x20SSL\x20operations.','mustBeInMakaProject':!![],'minArgLength':0x1,'examples':['maka\x20ssl\x20--env\x20dev\x20generate-csr',a51y(0x1db),'maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process']},async function(a,b){const z=a51y,c=this[z(0x1d5)][z(0x1f4)](),d=this[z(0x1d5)]['getConfigPath'](b[z(0x1e9)]),f=this[z(0x1d5)][z(0x201)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0x1e2))SSL[z(0x1e5)]({'keyName':c[z(0x1ff)]+'.key','csrName':c[z(0x1ff)]+z(0x1fe),'cwd':f});else{if(g==='generate-ssc'){if(!a51e[z(0x1e8)](a51f[z(0x1e1)](f,c[z(0x1ff)]+z(0x1dc))))throw z(0x1f0)+a51f[z(0x1e1)](f,c['appName']+z(0x1dc));if(!a51e[z(0x1e8)](a51f[z(0x1e1)](f,c[z(0x1ff)]+z(0x1fe))))throw'The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20'+a51f[z(0x1e1)](f,c[z(0x1ff)]+z(0x1fe));SSL['genSSC']({'keyName':c[z(0x1ff)]+z(0x1dc),'crtName':c[z(0x1ff)]+z(0x1fc),'cwd':f}),Log[z(0x1f1)]('New\x20CSR\x20written\x20to\x20'+f);}else{if(g===z(0x1c9)){let h=b[z(0x1cb)],i=b[z(0x1d0)];try{const p=a51e[z(0x1fb)](a51f[z(0x1e1)](d,z(0x1ec)))[z(0x1d7)](),q=JSON[z(0x1ee)](p);h=b[z(0x1cb)]?b[z(0x1cb)]:q[z(0x1fa)],i=b[z(0x1d0)]?b[z(0x1d0)]:q['emailUpdate'],(!b[z(0x1d0)]||!b[z(0x1cb)])&&Log[z(0x1f1)](z(0x1cd));}catch(r){}const j=JSON[z(0x1ee)](a51e[z(0x1fb)](d+'/ssh.json')[z(0x1d7)]());Object[z(0x200)](j,{'env':d}),Log[z(0x1f1)](z(0x1e3));try{const s=SSH[z(0x1d9)](z(0x1ce),j);if(!s)throw z(0x1f2);if(s)Log[z(0x1f5)](z(0x1d4));}catch(t){Log[z(0x202)](t);return;}const k=Log[z(0x1e7)]();k['start'](z(0x1f6)),SSH[z(0x1e6)](z(0x1fd),{...j}),SSH[z(0x1e6)]('sudo\x20snap\x20install\x20--classic\x20certbot',{...j}),SSH[z(0x1e6)](z(0x1da),{...j}),k[z(0x1f5)]();const l=h?h:await Actions[z(0x1c8)](z(0x1d8)),m=i?i:await Actions[z(0x1c8)](z(0x1cf));SSH[z(0x1e6)](z(0x1ef)+l+z(0x1ea)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0x1d2)](n,null,0x2);a51e['writeFileSync'](a51f[z(0x1e1)](d,z(0x1ec)),o);}else throw z(0x1ca);}}}catch(u){console[z(0x202)](u),process[z(0x1df)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a52p=a52d;(function(a,b){const m=a52d,c=a();while(!![]){try{const d=-parseInt(m(0x196))/0x1+parseInt(m(0x1a7))/0x2*(parseInt(m(0x1a3))/0x3)+-parseInt(m(0x1b6))/0x4*(-parseInt(m(0x1ab))/0x5)+parseInt(m(0x1aa))/0x6+-parseInt(m(0x190))/0x7*(parseInt(m(0x1b4))/0x8)+parseInt(m(0x18a))/0x9*(parseInt(m(0x18e))/0xa)+parseInt(m(0x17c))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x5e246));const a52b=(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;};}()),a52a=a52b(this,function(){const n=a52d;return a52a[n(0x181)]()[n(0x199)](n(0x1b3))[n(0x181)]()[n(0x19e)](a52a)['search'](n(0x1b3));});a52a();import a52e from'fs';import a52f from'path';function a52c(){const s=['test','Cannot\x20find\x20Node\x20Environment\x20File:\x20','fsi','concat','6015NIsKXQ','Node\x20Env\x20Config:\x20','meteortesting:mocha','development','214nUEDbt','Meteor\x20Settings:\x20','filter','1222704HnfIsV','55lcqUwo','invokeMeteorCommand','rawLogs','findProjectDirectory','getConfigPath','--env','--packages','port','(((.+)+)+)+$','8rmQeko','mocha','75380XKoXNr','notice','driver-package','splice','parse','packages','6861602acPThZ','--driver-package','exit','forEach','sanjo:jasmine','toString','none','maka\x20test\x20<opts>','argv','unit','test-packages','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','--settings','engines','57222EKQUdo','readFileSync','utf8','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','210aukLWe','driver','4977497aDWOLy','warn','--driver','once','openSync','slice','286237eiIYSC','inspect','env','search','isFile','join','process.env','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','constructor'];a52c=function(){return s;};return a52c();}function a52d(a,b){const c=a52c();return a52d=function(d,e){d=d-0x17b;let f=c[d];return f;},a52d(a,b);}import a52g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const o=a52d;a52e[o(0x194)](a,'r'),a52g['config']({'path':a});};Command['create']({'name':a52p(0x19f),'mustBeInMakaProject':!![],'validOpts':[a52p(0x193),'packages',a52p(0x18f),'driverPackage',a52p(0x185),a52p(0x198),a52p(0x1ad),a52p(0x1b2),a52p(0x197),'testAppPath'],'usage':a52p(0x183),'shortDesc':a52p(0x18d),'examples':[]},function(a,b){const q=a52p;try{let c=this[q(0x1a1)][q(0x1af)](q(0x1a6));b[q(0x198)]&&(c=this[q(0x1a1)]['getConfigPath'](b['env']));(!b['unit']||!!b[q(0x193)])&&(a=a[q(0x1a2)](['--full-app']));b[q(0x185)]&&delete b[q(0x185)];let d=b[q(0x1b8)]||b[q(0x18f)]||q(0x182);if(d==='none'){const j=JSON[q(0x1ba)](a52e[q(0x18b)](a52f[q(0x19b)](this[q(0x1a1)][q(0x1ae)](),'.maka','config.json'),q(0x18c)));if(j['engines'][q(0x19f)]==='jasmine')d=q(0x180);else j[q(0x189)]['test']===q(0x1b5)&&(d=q(0x1a5));}if(d===q(0x182))throw q(0x187);(!b[q(0x1b8)]||!b[q(0x18f)])&&(a=a[q(0x1a2)]([q(0x17d),d]));const f=a52f[q(0x19b)](c,'settings.json');this[q(0x1a1)][q(0x19a)](f)?(Log[q(0x1b7)](q(0x1a8)+f),a=a[q(0x1a2)]([q(0x188),f])):Log[q(0x191)](q(0x19d)+f);const g=a52f[q(0x19b)](c,q(0x19c));this[q(0x1a1)][q(0x19a)](g)?(Log[q(0x1b7)](q(0x1a4)+g),syncSource(g)):Log[q(0x191)](q(0x1a0)+g);const h=process[q(0x184)][q(0x195)](0x2)[q(0x1a9)](k=>k!==q(0x1b0))[q(0x1a9)](k=>k!==q(0x19f))[q(0x1a9)](k=>k!==a[0x0]);h[q(0x17f)]((k,l)=>{const r=q;(k===r(0x1b0)||k===r(0x192))&&h[r(0x1b9)](l,0x2),k===r(0x1b1)&&h['splice'](l,0x1);});const i=b[q(0x17b)]?q(0x186):q(0x19f);this[q(0x1a1)][q(0x1ac)](i,a[q(0x1a2)](h));}catch(k){console['error'](k),process[q(0x17e)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a53k=a53d;(function(a,b){const i=a53d,c=a();while(!![]){try{const d=parseInt(i(0xae))/0x1+parseInt(i(0xb3))/0x2+parseInt(i(0xa5))/0x3+parseInt(i(0x9f))/0x4+-parseInt(i(0xa0))/0x5+-parseInt(i(0x89))/0x6*(-parseInt(i(0x8f))/0x7)+-parseInt(i(0x91))/0x8*(parseInt(i(0xac))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x936ea));function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x85;let f=c[d];return f;},a53d(a,b);}const a53b=(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;};}()),a53a=a53b(this,function(){const j=a53d;return a53a[j(0xa9)]()[j(0xa8)](j(0x8a))[j(0xa9)]()[j(0xa3)](a53a)[j(0xa8)](j(0x8a));});a53a();import{execSync}from'child_process';import a53e from'semver';import{Command}from'../command.js';function a53c(){const m=['4.5.9','error','exit','maka\x20v','meteor','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','----------------------System----------------------------','warn','System\x27s\x20Node\x20Version\x20','majestic','platform','fsi','replace','3160156xwlETe','1603440DfggPm','compareMakaToLatest',')\x20to\x20at\x20least\x20meteor\x27s\x20(','constructor','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','200712IMLccN','bright','----------------------Project----------------------------','search','toString','Project\x27s\x20Meteor\x20Version\x20','maka\x20version','1774179CrfUaT','create','728683VoExZx','getProjectsMeteorNodeVersion','node\x20-v','version','Project\x27s\x20Meteor\x20Node\x20Version\x20','1912024XsfiZs','N/A','Maka\x20','System\x27s\x20Meteor\x20Version\x20','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','win32','114OsbUnS','(((.+)+)+)+$','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','isMakaProject','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','\x20node\x20-v','57883VFjPAH','getProjectMeteorVersion','72Xnwnkk'];a53c=function(){return m;};return a53c();}import{Log}from'../tools/log/log.class.js';const pjson={'version':a53k(0x92)};Command[a53k(0xad)]({'name':a53k(0xb1),'aliases':['v'],'usage':a53k(0xab),'maxArgLength':0x1,'validOpts':[],'shortDesc':a53k(0x8d),'examples':[a53k(0x95),a53k(0xab)]},async function(){const l=a53k;try{const a=process[l(0x9c)]===l(0x88)?'meteor.bat':l(0x96);Log[l(0x9b)](l(0x85)+pjson['version']),await this[l(0x9d)][l(0xa1)](),Log['bright'](l(0x98));const b=this[l(0x9d)]['getGlobalMeteorVersion']();Log[l(0xa6)]((l(0x86)+b)[l(0x9e)]('\x0a',''));const c=execSync(a+l(0x8e))[l(0xa9)]()[l(0x9e)](/\r?\n|\r/,'')[l(0x9e)]('v','');Log['bright'](l(0x97)+c);const d=execSync(l(0xb0))[l(0xa9)]()[l(0x9e)](/\r?\n|\r/,'')[l(0x9e)]('v','');a53e['gt'](c,d)?(Log[l(0x99)](l(0x9a)+d),Log['warn'](l(0xa4)+d+l(0xa2)+c+')')):Log[l(0xa6)](l(0x9a)+d);if(this[l(0x9d)][l(0x8c)]()){Log['bright'](l(0xa7));const f=this[l(0x9d)][l(0x90)]();a53e['gt'](b,f)?(Log[l(0x99)](l(0xaa)+f[l(0x9e)]('\x0a','')),Log['warn'](l(0x87)+b+'\x22')):Log['notice']((l(0xaa)+f)[l(0x9e)]('\x0a',''));const g=await this[l(0x9d)][l(0xaf)]();g===l(0xb4)?(Log['warn'](l(0xb2)+g),Log['warn'](l(0x8b))):Log[l(0xa6)](l(0xb2)+g),Log[l(0xa6)]('\x0a\x20To\x20get\x20the\x20mongo\x20version\x20in\x20use\x20by\x20meteor:\x0a\x201)\x20Run\x20the\x20project,\x20\x22maka\x20run\x22\x0a\x202)\x20In\x20a\x20new\x20terminal\x20open\x20the\x20mongo\x20shell,\x20\x22maka\x20mongo\x22');}}catch(h){console[l(0x93)](h),process[l(0x94)](0x0);}});
|
package/bundle/obf/src/error.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a54d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a54d,c=a();while(!![]){try{var d=-parseInt(f(0x16a))/0x1+parseInt(f(0x16d))/0x2+parseInt(f(0x172))/0x3*(parseInt(f(0x168))/0x4)+parseInt(f(0x166))/0x5+parseInt(f(0x16e))/0x6*(parseInt(f(0x170))/0x7)+-parseInt(f(0x167))/0x8*(parseInt(f(0x169))/0x9)+parseInt(f(0x16c))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xc98ca));var a54b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a54d;if(c){var e=c[g(0x16b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){var h=a54d;return a54a[h(0x171)]()['search'](h(0x16f))[h(0x171)]()['constructor'](a54a)['search'](h(0x16f));});function a54d(a,b){var c=a54c();return a54d=function(d,e){d=d-0x166;var f=c[d];return f;},a54d(a,b);}a54a();function a54c(){var i=['434620pvNQoz','2287724dTHxMK','54gdEoAU','(((.+)+)+)+$','304948BXnRMg','toString','12pBwrvL','3619965qWjhah','650752iuPdDc','1019624jKNYdF','171VzAsus','951935togvaO','apply'];a54c=function(){return i;};return a54c();}export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
|