@maka/maka-cli 4.5.1 → 4.5.2

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.
Files changed (97) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/aws/_index.js +1 -1
  5. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  6. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  7. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/build/_index.js +1 -1
  17. package/bundle/obf/src/commands/build/build.js +1 -1
  18. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/create.js +1 -1
  20. package/bundle/obf/src/commands/debug.js +1 -1
  21. package/bundle/obf/src/commands/deploy.js +1 -1
  22. package/bundle/obf/src/commands/game/_index.js +1 -1
  23. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  24. package/bundle/obf/src/commands/game/play.command.js +1 -1
  25. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  26. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  28. package/bundle/obf/src/commands/generate.js +1 -1
  29. package/bundle/obf/src/commands/get/_index.js +1 -1
  30. package/bundle/obf/src/commands/get/get.command.js +1 -1
  31. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  32. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  34. package/bundle/obf/src/commands/help.js +1 -1
  35. package/bundle/obf/src/commands/install.js +1 -1
  36. package/bundle/obf/src/commands/jsdoc.js +1 -1
  37. package/bundle/obf/src/commands/lint.js +1 -1
  38. package/bundle/obf/src/commands/login.js +1 -1
  39. package/bundle/obf/src/commands/logout.js +1 -1
  40. package/bundle/obf/src/commands/logs.js +1 -1
  41. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  42. package/bundle/obf/src/commands/murder.js +1 -1
  43. package/bundle/obf/src/commands/proxy.js +1 -1
  44. package/bundle/obf/src/commands/reconfig.js +1 -1
  45. package/bundle/obf/src/commands/run/_index.js +1 -1
  46. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  47. package/bundle/obf/src/commands/run/run.command.js +1 -1
  48. package/bundle/obf/src/commands/set/_index.js +1 -1
  49. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  50. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  51. package/bundle/obf/src/commands/set/set.command.js +1 -1
  52. package/bundle/obf/src/commands/ssh.js +1 -1
  53. package/bundle/obf/src/commands/ssl.js +1 -1
  54. package/bundle/obf/src/commands/test.js +1 -1
  55. package/bundle/obf/src/commands/version.js +1 -1
  56. package/bundle/obf/src/error.js +1 -1
  57. package/bundle/obf/src/generator.js +1 -1
  58. package/bundle/obf/src/generators/_index.js +1 -1
  59. package/bundle/obf/src/generators/api.js +1 -1
  60. package/bundle/obf/src/generators/collection.js +1 -1
  61. package/bundle/obf/src/generators/component.js +1 -1
  62. package/bundle/obf/src/generators/config.js +1 -1
  63. package/bundle/obf/src/generators/dbc.js +1 -1
  64. package/bundle/obf/src/generators/dockerfile.js +1 -1
  65. package/bundle/obf/src/generators/hook.js +1 -1
  66. package/bundle/obf/src/generators/kit.js +1 -1
  67. package/bundle/obf/src/generators/layout.js +1 -1
  68. package/bundle/obf/src/generators/maka.gen.js +1 -1
  69. package/bundle/obf/src/generators/methods.js +1 -1
  70. package/bundle/obf/src/generators/package.js +1 -1
  71. package/bundle/obf/src/generators/page.js +1 -1
  72. package/bundle/obf/src/generators/publish.js +1 -1
  73. package/bundle/obf/src/generators/route.js +1 -1
  74. package/bundle/obf/src/generators/service.js +1 -1
  75. package/bundle/obf/src/generators/services/_index.js +1 -1
  76. package/bundle/obf/src/generators/services/openssl.js +1 -1
  77. package/bundle/obf/src/generators/services/translation.js +1 -1
  78. package/bundle/obf/src/maka.js +1 -1
  79. package/bundle/obf/src/tool.js +1 -1
  80. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  81. package/bundle/obf/src/tools/actions/actions.test.js +1 -1
  82. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  83. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  84. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  85. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  86. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  87. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  88. package/bundle/obf/src/tools/https/https.class.js +1 -1
  89. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  90. package/bundle/obf/src/tools/log/log.class.js +1 -1
  91. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  92. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  93. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  94. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  95. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  96. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  97. package/package.json +1 -1
@@ -1 +1 @@
1
- const a35s=a35d;(function(a,b){const p=a35d,c=a();while(!![]){try{const d=-parseInt(p(0x10f))/0x1*(parseInt(p(0x11b))/0x2)+parseInt(p(0x123))/0x3+parseInt(p(0x11f))/0x4*(parseInt(p(0x104))/0x5)+parseInt(p(0x10b))/0x6+-parseInt(p(0x118))/0x7+-parseInt(p(0x10a))/0x8*(parseInt(p(0x128))/0x9)+-parseInt(p(0x126))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0x718e4));const a35b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a35d;if(c){const e=c[q(0x10d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const r=a35d;return a35a[r(0x114)]()[r(0x105)]('(((.+)+)+)+$')[r(0x114)]()[r(0x110)](a35a)[r(0x105)](r(0x11c));});a35a();function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x101;let f=c[d];return f;},a35d(a,b);}import a35e from'path';function a35c(){const u=['toString','error','lintFiles','\x0a\x20\x20Lint\x20the\x20\x22./app/imports\x22\x20directory.\x0a\x0a\x20\x20This\x20command\x20will\x20install\x20and\x20conigure\x20ESLint\x20if\x20not\x20already\x20setup.\x0a\x0a\x20\x20You\x20can\x20find\x20the\x20eslint\x20config\x20at\x20\x22./app/.eslintrc.json\x22\x0a\x20\x20','4959563MfxXIq','notice','eslint-plugin-css','49466raSpNf','(((.+)+)+)+$','fix','join','20Taywdc','Lint\x20results\x20for\x20','maka\x20lint\x20<opts>','All\x20good!\x20:)','1812090kYgssB','outputFixes','bright','2676670geyKtp','Use\x20ESLint\x20to\x20lint\x20the\x20imports\x20directory','9GQQzVn','findAppDirectory','.eslintrc.json','template','checkNpmPackage','loadFormatter','545165sgxQaS','search','maka\x20lint\x20--fix','fsi','eslint/eslintrc.json','success','3931824uNxPgc','4998294ZVmjCS','eslint-plugin-react','apply','push','2QMweto','constructor','installNpmPackage','service','eslint'];a35c=function(){return u;};return a35c();}import{ESLint}from'eslint';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';Command['create']({'name':'lint','usage':a35s(0x121),'maxArgLength':0x1,'validOpts':[a35s(0x11d)],'mustBeInMakaProject':!![],'shortDesc':a35s(0x127),'description':a35s(0x117),'examples':[a35s(0x106)]},async function(a,b){const t=a35s;try{const c=this[t(0x107)][t(0x129)](),d=this[t(0x107)][t(0x102)](t(0x113)),f=this[t(0x107)][t(0x102)](t(0x10c)),g=this['fsi'][t(0x102)](t(0x11a)),h=[];!d&&h[t(0x10e)](t(0x113));!f&&h['push'](t(0x10c));!g&&h[t(0x10e)](t(0x11a));h['length']>0x0&&await this[t(0x107)][t(0x111)](h['join']('\x20'),{'dev':!![]});const i=this[t(0x107)]['isFile'](a35e[t(0x11e)](c,t(0x12a)));if(!i){const n={'noRename':!![]};await this[t(0x107)][t(0x101)]({'srcPath':t(0x108),'destPath':a35e['join'](c,'.eslintrc.json'),'framework':t(0x112),'context':n});}const j=new ESLint(),k=await j[t(0x116)]([a35e[t(0x11e)](c,'imports','**')]),l=await j[t(0x103)]('stylish'),m=l['format'](k);m['length']>0x0?Log[t(0x125)](m):Log[t(0x109)](t(0x122)),Log[t(0x119)](t(0x120)+c+'/imports'),b[t(0x11d)]?await ESLint[t(0x124)](k):Log[t(0x119)]('Run\x20\x22maka\x20lint\x20--fix\x22\x20to\x20auto\x20fix');}catch(o){console[t(0x115)](o);}});
1
+ const a35r=a35d;(function(a,b){const p=a35d,c=a();while(!![]){try{const d=parseInt(p(0x169))/0x1*(-parseInt(p(0x15f))/0x2)+parseInt(p(0x14a))/0x3*(parseInt(p(0x144))/0x4)+parseInt(p(0x15e))/0x5+-parseInt(p(0x14b))/0x6*(-parseInt(p(0x149))/0x7)+-parseInt(p(0x167))/0x8+parseInt(p(0x16a))/0x9*(-parseInt(p(0x141))/0xa)+parseInt(p(0x166))/0xb*(parseInt(p(0x15c))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0xdef0e));const a35b=(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;};}()),a35a=a35b(this,function(){const q=a35d;return a35a[q(0x154)]()[q(0x160)]('(((.+)+)+)+$')[q(0x154)]()[q(0x14c)](a35a)['search']('(((.+)+)+)+$');});a35a();import a35e from'path';import{ESLint}from'eslint';function a35c(){const t=['bright','loadFormatter','outputFixes','error','11iiHBSm','3349944uQytIL','push','861EHOuCa','6132798pruydd','maka\x20lint\x20<opts>','eslint-plugin-react','notice','10PRkYmH','eslint-plugin-css','Run\x20\x22maka\x20lint\x20--fix\x22\x20to\x20auto\x20fix','5923444cvaYeF','fix','fsi','isFile','.eslintrc.json','56wQpwAR','3WFXBmi','419964jAMILY','constructor','format','lint','lintFiles','\x0a\x20\x20Lint\x20the\x20\x22./app/imports\x22\x20directory.\x0a\x0a\x20\x20This\x20command\x20will\x20install\x20and\x20conigure\x20ESLint\x20if\x20not\x20already\x20setup.\x0a\x0a\x20\x20You\x20can\x20find\x20the\x20eslint\x20config\x20at\x20\x22./app/.eslintrc.json\x22\x0a\x20\x20','installNpmPackage','checkNpmPackage','All\x20good!\x20:)','toString','template','length','success','/imports','imports','findAppDirectory','maka\x20lint\x20--fix','4303248vuXGqN','eslint','3592885cPIRXL','2566ytROSp','search','join'];a35c=function(){return t;};return a35c();}function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x140;let f=c[d];return f;},a35d(a,b);}import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';Command['create']({'name':a35r(0x14e),'usage':a35r(0x16b),'maxArgLength':0x1,'validOpts':[a35r(0x145)],'mustBeInMakaProject':!![],'shortDesc':'Use\x20ESLint\x20to\x20lint\x20the\x20imports\x20directory','description':a35r(0x150),'examples':[a35r(0x15b)]},async function(a,b){const s=a35r;try{const c=this[s(0x146)][s(0x15a)](),d=this[s(0x146)][s(0x152)](s(0x15d)),f=this[s(0x146)]['checkNpmPackage'](s(0x16c)),g=this[s(0x146)][s(0x152)](s(0x142)),h=[];!d&&h[s(0x168)]('eslint');!f&&h[s(0x168)](s(0x16c));!g&&h[s(0x168)]('eslint-plugin-css');h['length']>0x0&&await this[s(0x146)][s(0x151)](h[s(0x161)]('\x20'),{'dev':!![]});const i=this[s(0x146)][s(0x147)](a35e[s(0x161)](c,s(0x148)));if(!i){const n={'noRename':!![]};await this['fsi'][s(0x155)]({'srcPath':'eslint/eslintrc.json','destPath':a35e[s(0x161)](c,s(0x148)),'framework':'service','context':n});}const j=new ESLint(),k=await j[s(0x14f)]([a35e['join'](c,s(0x159),'**')]),l=await j[s(0x163)]('stylish'),m=l[s(0x14d)](k);m[s(0x156)]>0x0?Log[s(0x162)](m):Log[s(0x157)](s(0x153)),Log[s(0x140)]('Lint\x20results\x20for\x20'+c+s(0x158)),b['fix']?await ESLint[s(0x164)](k):Log[s(0x140)](s(0x143));}catch(o){console[s(0x165)](o);}});
@@ -1 +1 @@
1
- const a36z=a36d;(function(a,b){const w=a36d,c=a();while(!![]){try{const d=-parseInt(w(0xea))/0x1*(parseInt(w(0xfd))/0x2)+-parseInt(w(0xd0))/0x3*(-parseInt(w(0xfa))/0x4)+parseInt(w(0xd8))/0x5+parseInt(w(0xef))/0x6*(-parseInt(w(0xff))/0x7)+-parseInt(w(0xf6))/0x8+parseInt(w(0xf5))/0x9*(-parseInt(w(0xd3))/0xa)+parseInt(w(0x10a))/0xb*(parseInt(w(0xd6))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x52564));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a36d;if(c){const e=c[x(0xeb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const y=a36d;return a36a['toString']()[y(0xe8)]('(((.+)+)+)+$')['toString']()[y(0x102)](a36a)[y(0xe8)]('(((.+)+)+)+$');});a36a();import a36e 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 a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0xd0;let f=c[d];return f;},a36d(a,b);}function a36c(){const B=['50AeDCQd','Logging\x20in','create','78012MrjuTP','cacert','1801990OCRnkQ','authToken','update','/api/v1/login','\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','/api/v1/status','post','password','Using\x20CA\x20Cert\x20','success','sha256','maka\x20login\x20<opts>','isFile','notice','Preflight\x20Check','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','search','ask','1309WKMEVP','apply','cert','login','env','40758HtkdAS','getGlobalConfig','Email:','email','start','failure','194319jJpzKv','2681104CGoyfo','header','Logging\x20into\x20https://','https://','264aMTOLz','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','Password:\x20','98jEgYWq','parse','385DMmNxh','localhost','assign','constructor','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','debug','www.maka-cli.com','True','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','error','fsi','869LTnXHa','MAKA_DEV','get','15642aBeMIk','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka'];a36c=function(){return B;};return a36c();}import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a36z(0xee)][a36z(0x10b)]===a36z(0x106)?a36z(0x100):a36z(0x105);Command[a36z(0xd5)]({'name':a36z(0xed),'validOpts':['email','password','help','cacert',a36z(0x104)],'usage':a36z(0xe3),'maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a36z(0xd2),'examples':['maka\x20login',a36z(0x107)]},async function(a,b){const A=a36z,c=Log['withSpinner']();try{let d='';b[A(0xd7)]&&(this[A(0x109)][A(0xe4)](b[A(0xd7)])?(d=b[A(0xd7)],Log[A(0xe5)](A(0xe0)+d)):Log[A(0x108)](A(0xe7)+d));const f=await this['fsi'][A(0xf0)]();if(f[A(0xec)]){if(this[A(0x109)][A(0xe4)](f[A(0xec)]))d=f[A(0xec)];else{Log[A(0x108)](A(0xd1)+d);return;}}Log[A(0xf7)](A(0xf8)+hostname);const g={'url':'https://'+hostname+A(0xdd)};b[A(0xd7)]&&Object[A(0x101)](g,{'cert':d});c[A(0xf3)](A(0xe6));const {statusCode:h}=await HTTPS[A(0x10c)](g);if(h===0x198){c[A(0xf4)]();throw A(0xfb);}if(h!==0xc8){c[A(0xf4)]();throw A(0xf9)+hostname+A(0xdc);}c[A(0xe1)]();const i=b['email']?b[A(0xf2)]:await Actions[A(0xe9)](A(0xf1)),j=b[A(0xdf)]?b[A(0xdf)]:await Actions[A(0xe9)](A(0xfc),!![]),k=a36e['md'][A(0xe2)][A(0xd5)]();k[A(0xda)](j);const l=k['digest']()['toHex'](),m={'hostname':hostname,'path':A(0xdb),'data':{'email':i,'password':l,'hashed':!![]}};b[A(0xd7)]&&Object[A(0x101)](m,{'cert':d});c[A(0xf3)](A(0xd4));const {data:n,statusCode:o}=await HTTPS['post'](m);if(o===0x198){c[A(0xf4)]('\x0a');throw A(0x103)+hostname;}const p=JSON[A(0xfe)](n);if(p[A(0xd9)]){const q={'hostname':hostname,'path':'/api/v1/encodeJwt','headers':{'x-auth-token':p['authToken']},'data':{}};b['cacert']&&Object[A(0x101)](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS[A(0xde)](q),{token:t}=JSON[A(0xfe)](r);if(s===0x198)throw A(0x103)+hostname;const u={'token':p,'hash':t};this['fsi']['setGlobalConfig'](u);}else{c['failure']();throw p;}c[A(0xe1)]();}catch(v){c['failure'](),console[A(0x108)](v),process['exit'](0x0);}});
1
+ function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x1b4;let f=c[d];return f;},a36d(a,b);}const a36z=a36d;(function(a,b){const w=a36d,c=a();while(!![]){try{const d=parseInt(w(0x1da))/0x1+-parseInt(w(0x1bb))/0x2+-parseInt(w(0x1d4))/0x3*(-parseInt(w(0x1e2))/0x4)+parseInt(w(0x1c1))/0x5*(parseInt(w(0x1dd))/0x6)+parseInt(w(0x1c8))/0x7*(-parseInt(w(0x1ca))/0x8)+-parseInt(w(0x1ba))/0x9*(parseInt(w(0x1cd))/0xa)+-parseInt(w(0x1e3))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x4267a));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a36d;if(c){const e=c[x(0x1d5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const y=a36d;return a36a[y(0x1ea)]()[y(0x1d8)](y(0x1ec))[y(0x1ea)]()[y(0x1c3)](a36a)[y(0x1d8)](y(0x1ec));});a36a();import a36e from'node-forge';function a36c(){const B=['setGlobalConfig','cert','9XaGeYX','1028544xTEmRV','cacert','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','success','create','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','5BBOFjk','sha256','constructor','failure','env','update','/api/v1/status','8078IBbhAL','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','232rZomqE','getGlobalConfig','localhost','3593490PfuFCN','www.maka-cli.com','ask','/api/v1/encodeJwt','help','isFile','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','37695SzeJGp','apply','authToken','start','search','True','517219aiKZSv','notice','fsi','1872654depDZH','Logging\x20into\x20https://','Logging\x20in','debug','header','148acXfyK','1266672LJBpdB','error','digest','assign','Preflight\x20Check','https://','Email:','toString','post','(((.+)+)+)+$','parse','toHex','password','email','Using\x20CA\x20Cert\x20'];a36c=function(){return B;};return a36c();}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[a36z(0x1c5)]['MAKA_DEV']===a36z(0x1d9)?a36z(0x1cc):a36z(0x1ce);Command[a36z(0x1bf)]({'name':'login','validOpts':['email',a36z(0x1b5),a36z(0x1d1),'cacert',a36z(0x1e0)],'usage':'maka\x20login\x20<opts>','maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a36z(0x1d3),'examples':['maka\x20login',a36z(0x1c0)]},async function(a,b){const A=a36z,c=Log['withSpinner']();try{let d='';b[A(0x1bc)]&&(this['fsi'][A(0x1d2)](b[A(0x1bc)])?(d=b[A(0x1bc)],Log[A(0x1db)](A(0x1b7)+d)):Log['error']('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+d));const f=await this['fsi'][A(0x1cb)]();if(f[A(0x1b9)]){if(this[A(0x1dc)]['isFile'](f[A(0x1b9)]))d=f[A(0x1b9)];else{Log[A(0x1e4)]('CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+d);return;}}Log[A(0x1e1)](A(0x1de)+hostname);const g={'url':'https://'+hostname+A(0x1c7)};b[A(0x1bc)]&&Object[A(0x1e6)](g,{'cert':d});c[A(0x1d7)](A(0x1e7));const {statusCode:h}=await HTTPS['get'](g);if(h===0x198){c[A(0x1c4)]();throw A(0x1c9);}if(h!==0xc8){c[A(0x1c4)]();throw A(0x1e8)+hostname+'\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli';}c[A(0x1be)]();const i=b[A(0x1b6)]?b[A(0x1b6)]:await Actions[A(0x1cf)](A(0x1e9)),j=b[A(0x1b5)]?b[A(0x1b5)]:await Actions[A(0x1cf)]('Password:\x20',!![]),k=a36e['md'][A(0x1c2)][A(0x1bf)]();k[A(0x1c6)](j);const l=k[A(0x1e5)]()[A(0x1b4)](),m={'hostname':hostname,'path':'/api/v1/login','data':{'email':i,'password':l,'hashed':!![]}};b[A(0x1bc)]&&Object[A(0x1e6)](m,{'cert':d});c[A(0x1d7)](A(0x1df));const {data:n,statusCode:o}=await HTTPS[A(0x1eb)](m);if(o===0x198){c[A(0x1c4)]('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://'+hostname;}const p=JSON[A(0x1ed)](n);if(p[A(0x1d6)]){const q={'hostname':hostname,'path':A(0x1d0),'headers':{'x-auth-token':p['authToken']},'data':{}};b[A(0x1bc)]&&Object[A(0x1e6)](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS[A(0x1eb)](q),{token:t}=JSON['parse'](r);if(s===0x198)throw A(0x1bd)+hostname;const u={'token':p,'hash':t};this[A(0x1dc)][A(0x1b8)](u);}else{c[A(0x1c4)]();throw p;}c['success']();}catch(v){c[A(0x1c4)](),console[A(0x1e4)](v),process['exit'](0x0);}});
@@ -1 +1 @@
1
- const a37o=a37d;(function(a,b){const l=a37d,c=a();while(!![]){try{const d=-parseInt(l(0x1ce))/0x1*(parseInt(l(0x1e6))/0x2)+parseInt(l(0x1e9))/0x3+-parseInt(l(0x1d2))/0x4*(parseInt(l(0x1c0))/0x5)+parseInt(l(0x1ba))/0x6*(-parseInt(l(0x1c4))/0x7)+-parseInt(l(0x1e3))/0x8*(-parseInt(l(0x1d6))/0x9)+-parseInt(l(0x1d8))/0xa+-parseInt(l(0x1bd))/0xb*(-parseInt(l(0x1d4))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xabbf4));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a37d;if(c){const e=c[m(0x1db)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const n=a37d;return a37a['toString']()[n(0x1d7)]('(((.+)+)+)+$')['toString']()[n(0x1ea)](a37a)[n(0x1d7)](n(0x1e0));});a37a();import{Command}from'../command.js';function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x1b7;let f=c[d];return f;},a37d(a,b);}import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a37o(0x1cb)][a37o(0x1e1)]===a37o(0x1cc)?a37o(0x1b9):a37o(0x1df);Command['create']({'name':a37o(0x1d0),'validOpts':[a37o(0x1c3)],'usage':a37o(0x1e4),'maxArgLength':0x2,'shortDesc':a37o(0x1e5),'disableAuthCheck':!![],'examples':['maka\x20logout']},async function(a,b){const p=a37o,c=Log[p(0x1c6)]();try{let d='';b[p(0x1c3)]&&(this[p(0x1e7)]['isFile'](b[p(0x1c3)])?(d=b['cacert'],Log[p(0x1b8)](p(0x1c5)+d)):Log[p(0x1cf)](p(0x1c8)+d));const f=await this[p(0x1e7)][p(0x1e2)]();if(f['cert']){if(this[p(0x1e7)]['isFile'](f[p(0x1dd)]))d=f['cert'];else{c[p(0x1d1)]();throw Log[p(0x1cf)]('CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+d);}}Log[p(0x1d9)](p(0x1de)+hostname);const g={'url':p(0x1bb)+hostname+p(0x1c2)};b[p(0x1c3)]&&Object[p(0x1bc)](g,{'cert':d});c[p(0x1e8)](p(0x1bf));const {statusCode:h}=await HTTPS['get'](g);if(h===0x198){c[p(0x1d1)]();throw p(0x1d3);}c['success']();if(h!==0xc8){c['failure']();throw p(0x1d5);}if(!f?.[p(0x1dc)]?.[p(0x1be)])throw Log['error'](p(0x1c7));c[p(0x1e8)](p(0x1da));const i={'hostname':hostname,'path':p(0x1cd),'data':{},'headers':{'x-auth-token':f['token'][p(0x1be)]}};b[p(0x1c3)]&&Object[p(0x1bc)](i,{'cert':d});const {statusCode:j}=await HTTPS[p(0x1c9)](i);if(j===0x198){c[p(0x1d1)]('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}this[p(0x1e7)][p(0x1ca)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[p(0x1b7)]();}catch(k){k&&console[p(0x1cf)](k),process[p(0x1c1)](0x0);}});function a37c(){const q=['Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','post','setGlobalConfig','env','True','/api/v1/logoutAll','21MNPPYW','error','logout','failure','8248gfCJiO','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','1164vcBcFu','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','449505hdPocV','search','6703780btBmdF','header','Logging\x20out','apply','token','cert','Logging\x20out\x20of\x20https://','www.maka-cli.com','(((.+)+)+)+$','MAKA_DEV','getGlobalConfig','200EGBBIv','maka\x20logout\x20<opts>','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','85510NRuKRu','fsi','start','2370837aOppIe','constructor','success','notice','localhost','12NyxcTe','https://','assign','57497IlnXrr','authToken','Preflight\x20Check','310fEKeQD','exit','/api/v1/status','cacert','512295hOgKlF','Using\x20CA\x20Cert\x20','withSpinner'];a37c=function(){return q;};return a37c();}
1
+ function a37c(){const q=['www.maka-cli.com','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','fsi','4QZPCxk','88hrvBSu','setGlobalConfig','authToken','cert','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','maka\x20logout\x20<opts>','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','/api/v1/logoutAll','exit','apply','get','418533gHodIP','isFile','success','6522465jSaKOc','True','14159180BZVKrr','constructor','/api/v1/status','post','notice','getGlobalConfig','6REDSyk','error','3464gRTJMl','start','(((.+)+)+)+$','toString','token','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','Logging\x20out\x20of\x20https://','269566lwlCwI','https://','5839281WggrHI','cacert','withSpinner','search','26xpgblR','localhost','failure','1449204YZADjc','27342SJerKU','Preflight\x20Check','assign'];a37c=function(){return q;};return a37c();}const a37o=a37d;(function(a,b){const l=a37d,c=a();while(!![]){try{const d=-parseInt(l(0xad))/0x1+-parseInt(l(0xb3))/0x2*(-parseInt(l(0x99))/0x3)+-parseInt(l(0x8d))/0x4*(-parseInt(l(0x9c))/0x5)+-parseInt(l(0xa4))/0x6*(parseInt(l(0xaf))/0x7)+parseInt(l(0xa6))/0x8*(parseInt(l(0x87))/0x9)+-parseInt(l(0x9e))/0xa+parseInt(l(0x8e))/0xb*(-parseInt(l(0x86))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xe764b));function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x85;let f=c[d];return f;},a37d(a,b);}const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a37d;if(c){const e=c[m(0x97)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const n=a37d;return a37a[n(0xa9)]()[n(0xb2)](n(0xa8))['toString']()[n(0x9f)](a37a)[n(0xb2)](n(0xa8));});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']['MAKA_DEV']===a37o(0x9d)?a37o(0xb4):a37o(0x8a);Command['create']({'name':'logout','validOpts':[a37o(0xb0)],'usage':a37o(0x93),'maxArgLength':0x2,'shortDesc':a37o(0x94),'disableAuthCheck':!![],'examples':['maka\x20logout']},async function(a,b){const p=a37o,c=Log[p(0xb1)]();try{let d='';b[p(0xb0)]&&(this[p(0x8c)][p(0x9a)](b[p(0xb0)])?(d=b[p(0xb0)],Log[p(0xa2)]('Using\x20CA\x20Cert\x20'+d)):Log['error'](p(0x8b)+d));const f=await this[p(0x8c)][p(0xa3)]();if(f[p(0x91)]){if(this[p(0x8c)][p(0x9a)](f[p(0x91)]))d=f['cert'];else{c[p(0x85)]();throw Log[p(0xa5)](p(0x92)+d);}}Log['header'](p(0xac)+hostname);const g={'url':p(0xae)+hostname+p(0xa0)};b[p(0xb0)]&&Object['assign'](g,{'cert':d});c['start'](p(0x88));const {statusCode:h}=await HTTPS[p(0x98)](g);if(h===0x198){c[p(0x85)]();throw p(0xab);}c[p(0x9b)]();if(h!==0xc8){c['failure']();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?.[p(0xaa)]?.[p(0x90)])throw Log['error']('Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?');c[p(0xa7)]('Logging\x20out');const i={'hostname':hostname,'path':p(0x95),'data':{},'headers':{'x-auth-token':f[p(0xaa)][p(0x90)]}};b[p(0xb0)]&&Object[p(0x89)](i,{'cert':d});const {statusCode:j}=await HTTPS[p(0xa1)](i);if(j===0x198){c[p(0x85)]('\x0a');throw p(0xab);}this[p(0x8c)][p(0x8f)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[p(0x9b)]();}catch(k){k&&console[p(0xa5)](k),process[p(0x96)](0x0);}});
@@ -1 +1 @@
1
- const a38k=a38d;(function(a,b){const h=a38d,c=a();while(!![]){try{const d=parseInt(h(0x1ff))/0x1+-parseInt(h(0x203))/0x2*(-parseInt(h(0x206))/0x3)+-parseInt(h(0x1f0))/0x4*(-parseInt(h(0x1f9))/0x5)+parseInt(h(0x1f6))/0x6+parseInt(h(0x1fb))/0x7+parseInt(h(0x205))/0x8+-parseInt(h(0x1f2))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xa58c0));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a38d;if(c){const e=c[i(0x202)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const j=a38d;return a38a['toString']()[j(0x201)](j(0x1f3))[j(0x1fe)]()[j(0x200)](a38a)['search'](j(0x1f3));});a38a();import a38e from'fs';import a38f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';function a38c(){const m=['fsi','3948702iRNSMZ','maka\x20l\x20-e\x20p','maka\x20logs\x20--env\x20dev','3485095hcwXop','ssh.json','4700710DYksrL','create','env','toString','881799dymIRA','constructor','search','apply','92MWkfkP','maka\x20logs\x20--env\x20staging','6586272mqfglm','5322KyizLY','log','assign','maka\x20logs\x20--env\x20prod','getConfigPath','pm2\x20logs','4tmZxCW','logs','28217457ThozRW','(((.+)+)+)+$','View\x20the\x20PM2\x20logs'];a38c=function(){return m;};return a38c();}function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x1eb;let f=c[d];return f;},a38d(a,b);}Command[a38k(0x1fc)]({'name':a38k(0x1f1),'aliases':['l',a38k(0x1eb)],'usage':a38k(0x1ed),'requiredOpts':[a38k(0x1fd)],'mustBeInMakaProject':!![],'validOpts':[''],'shortDesc':a38k(0x1f4),'examples':[a38k(0x1f8),a38k(0x204),a38k(0x1f7)]},function(a,b){const l=a38k,c=l(0x1ef),d=this[l(0x1f5)][l(0x1ee)](b['env']),e=a38f['join'](d,l(0x1fa)),f=a38e['readFileSync'](e),g=JSON['parse'](f[l(0x1fe)]());Object[l(0x1ec)](g,{'env':d}),SSH['sshSync'](c,g,{'tty':!![],'verbose':!![]});});
1
+ const a38j=a38d;function a38c(){const l=['logs','10923oxzSGE','625636JUJPfq','fsi','maka\x20logs\x20--env\x20prod','2001152TVcFih','toString','View\x20the\x20PM2\x20logs','(((.+)+)+)+$','readFileSync','log','78LcNVDx','assign','7PkZWhe','parse','1404cszsnp','constructor','maka\x20logs\x20--env\x20dev','search','48uMUlyd','118614hGSZRx','20fHAZbi','1143DoNIzV','create','maka\x20l\x20-e\x20p','160585ceIXyX','env','getConfigPath','433197DCqQCP','ssh.json'];a38c=function(){return l;};return a38c();}(function(a,b){const h=a38d,c=a();while(!![]){try{const d=parseInt(h(0xe3))/0x1*(-parseInt(h(0xf6))/0x2)+parseInt(h(0xff))/0x3+parseInt(h(0xed))/0x4+parseInt(h(0xe6))/0x5*(parseInt(h(0xfe))/0x6)+-parseInt(h(0xf8))/0x7*(parseInt(h(0xf0))/0x8)+parseInt(h(0xe9))/0x9*(-parseInt(h(0x100))/0xa)+parseInt(h(0xec))/0xb*(parseInt(h(0xfa))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x2b79d));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['toString']()[i(0xfd)](i(0xf3))[i(0xf1)]()[i(0xfb)](a38a)[i(0xfd)](i(0xf3));});a38a();import a38e from'fs';import a38f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0xe3;let f=c[d];return f;},a38d(a,b);}Command[a38j(0xe4)]({'name':a38j(0xeb),'aliases':['l',a38j(0xf5)],'usage':a38j(0xef),'requiredOpts':[a38j(0xe7)],'mustBeInMakaProject':!![],'validOpts':[''],'shortDesc':a38j(0xf2),'examples':[a38j(0xfc),'maka\x20logs\x20--env\x20staging',a38j(0xe5)]},function(a,b){const k=a38j,c='pm2\x20logs',d=this[k(0xee)][k(0xe8)](b[k(0xe7)]),e=a38f['join'](d,k(0xea)),f=a38e[k(0xf4)](e),g=JSON[k(0xf9)](f[k(0xf1)]());Object[k(0xf7)](g,{'env':d}),SSH['sshSync'](c,g,{'tty':!![],'verbose':!![]});});
@@ -1 +1 @@
1
- const a39j=a39d;function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x1cd;let f=c[d];return f;},a39d(a,b);}(function(a,b){const g=a39d,c=a();while(!![]){try{const d=parseInt(g(0x1df))/0x1+parseInt(g(0x1cf))/0x2*(parseInt(g(0x1ce))/0x3)+parseInt(g(0x1db))/0x4*(parseInt(g(0x1d9))/0x5)+-parseInt(g(0x1e2))/0x6*(parseInt(g(0x1d2))/0x7)+-parseInt(g(0x1da))/0x8+parseInt(g(0x1dd))/0x9+-parseInt(g(0x1d7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x622fd));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a39d;if(c){const e=c[h(0x1d6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const i=a39d;return a39a[i(0x1d1)]()['search']('(((.+)+)+)+$')[i(0x1d1)]()[i(0x1d4)](a39a)[i(0x1e4)](i(0x1d5));});a39a();import{Command}from'../command.js';const Maka=new Command({'name':'maka','minArgLength':0x1,'shortDesc':a39j(0x1e0),'validOpts':[],'usage':a39j(0x1e3),'disableAuthCheck':!![],'examples':[a39j(0x1d8),'maka\x20install\x20meteor','maka\x20create\x20Todo','maka\x20run'],'description':a39j(0x1d0)},async function(a,b){const k=a39j;try{const c=a[0x0],d=this[k(0x1dc)](c);d?this[k(0x1d3)](c,a['slice'](0x1),b):this[k(0x1de)][k(0x1cd)]();}catch(f){console['error'](f),process[k(0x1e1)](0x1);}});export default Maka;function a39c(){const l=['maka\x20--help','15CZONNr','1314440YYKZry','14020GuyheQ','findSubCommand','209628YxUjPl','fsi','732838hvNnCt','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','exit','768162EPuqtG','maka\x20<command>\x20[<args>]\x20[<opts>]','search','maybeProxyCommandToMeteor','56172KnTwVH','48IFklcy','\x0a\x20\x20Hi,\x20my\x20name\x20is\x20Matt.\x20I\x27ve\x20spent\x20a\x20long\x20time\x20developing\x20Meteor\x0a\x20\x20applications\x20and\x20I\x27ve\x20tried\x20my\x20very\x20best\x20to\x20collect\x20the\x20most\x0a\x20\x20efficient\x20ways\x20to\x20go\x20about\x20setting\x20up\x20and\x20organizing\x20your\x20project.\x0a\x0a\x20\x20I\x20created\x20Maka-CLI\x20as\x20a\x20need\x20to\x20develop\x20prototypes\x20quickly\x0a\x20\x20for\x20a\x20relatively\x20small\x20consulting\x20firm.\x20We\x20had\x20small\x20budgets\x0a\x20\x20for\x20projects,\x20and\x20even\x20smaller\x20budgets\x20for\x20proposals\x20and\x20prototypes.\x0a\x20\x20Maka-CLI\x20was\x20a\x20way\x20to\x20develop\x20our\x20applications\x20quickly\x20and\x20make\x20very\x0a\x20\x20aggresive\x20deadlines.\x0a\x0a\x20\x20Many\x20features\x20are\x20available\x20in\x20the\x20Free\x20License,\x20enough\x20to\x20get\x20your\x0a\x20\x20application\x20scaffolded\x20and\x20built.\x20The\x20Pro\x20Single-License\x20includes\x0a\x20\x20commands\x20that\x20will\x20allow\x20you\x20to\x20create\x20cloud\x20instances\x20(on\x20AWS),\x0a\x20\x20deploy\x20to\x20remote\x20hosts\x20(Ubuntu)\x20and\x20streamline\x20every\x20day\x20tasks,\x20such\x0a\x20\x20as\x20monitoring\x20your\x20application\x20logs.\x0a\x0a\x20\x20Make-CLI\x20has\x20one\x20main\x20goal\x20--\x20provide\x20simple\x20tools\x20to\x20create\x20a\x0a\x20\x20structure\x20for\x20your\x20application,\x20and\x20build\x20/\x20maintain\x20it\x20in\x20a\x20repeatable\x0a\x20\x20manner.\x20This\x20is\x20the\x20nature\x20of\x20scaffolding.\x0a\x0a\x20\x20Thank\x20you\x20for\x20your\x20interest\x20in\x20Maka-CLI!\x20🙏\x0a\x0a\x20\x20Scaffold\x20Web\x20Applications\x20with\x20Meteor\x20and\x20Maka-CLI\x0a\x20\x20https://maka-io.medium.com/build-your-webapp-with-meteor-maka-cli-629b7b16831d\x0a\x0a\x20\x20Please\x20ping\x20me\x20on\x20Gitter\x27s\x20Meteor\x20space\x20if\x20you\x20have\x20any\x20questions:\x0a\x20\x20@maka-io\x0a\x20\x20','toString','28LvaSaI','runSubCommand','constructor','(((.+)+)+)+$','apply','1374350ZQirJi'];a39c=function(){return l;};return a39c();}
1
+ function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0xbe;let f=c[d];return f;},a39d(a,b);}function a39c(){const l=['apply','maka\x20<command>\x20[<args>]\x20[<opts>]','toString','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','search','13206840xyFweW','findSubCommand','32364yszHGC','maybeProxyCommandToMeteor','\x0a\x20\x20Hi,\x20my\x20name\x20is\x20Matt.\x20I\x27ve\x20spent\x20a\x20long\x20time\x20developing\x20Meteor\x0a\x20\x20applications\x20and\x20I\x27ve\x20tried\x20my\x20very\x20best\x20to\x20collect\x20the\x20most\x0a\x20\x20efficient\x20ways\x20to\x20go\x20about\x20setting\x20up\x20and\x20organizing\x20your\x20project.\x0a\x0a\x20\x20I\x20created\x20Maka-CLI\x20as\x20a\x20need\x20to\x20develop\x20prototypes\x20quickly\x0a\x20\x20for\x20a\x20relatively\x20small\x20consulting\x20firm.\x20We\x20had\x20small\x20budgets\x0a\x20\x20for\x20projects,\x20and\x20even\x20smaller\x20budgets\x20for\x20proposals\x20and\x20prototypes.\x0a\x20\x20Maka-CLI\x20was\x20a\x20way\x20to\x20develop\x20our\x20applications\x20quickly\x20and\x20make\x20very\x0a\x20\x20aggresive\x20deadlines.\x0a\x0a\x20\x20Many\x20features\x20are\x20available\x20in\x20the\x20Free\x20License,\x20enough\x20to\x20get\x20your\x0a\x20\x20application\x20scaffolded\x20and\x20built.\x20The\x20Pro\x20Single-License\x20includes\x0a\x20\x20commands\x20that\x20will\x20allow\x20you\x20to\x20create\x20cloud\x20instances\x20(on\x20AWS),\x0a\x20\x20deploy\x20to\x20remote\x20hosts\x20(Ubuntu)\x20and\x20streamline\x20every\x20day\x20tasks,\x20such\x0a\x20\x20as\x20monitoring\x20your\x20application\x20logs.\x0a\x0a\x20\x20Make-CLI\x20has\x20one\x20main\x20goal\x20--\x20provide\x20simple\x20tools\x20to\x20create\x20a\x0a\x20\x20structure\x20for\x20your\x20application,\x20and\x20build\x20/\x20maintain\x20it\x20in\x20a\x20repeatable\x0a\x20\x20manner.\x20This\x20is\x20the\x20nature\x20of\x20scaffolding.\x0a\x0a\x20\x20Thank\x20you\x20for\x20your\x20interest\x20in\x20Maka-CLI!\x20🙏\x0a\x0a\x20\x20Scaffold\x20Web\x20Applications\x20with\x20Meteor\x20and\x20Maka-CLI\x0a\x20\x20https://maka-io.medium.com/build-your-webapp-with-meteor-maka-cli-629b7b16831d\x0a\x0a\x20\x20Please\x20ping\x20me\x20on\x20Gitter\x27s\x20Meteor\x20space\x20if\x20you\x20have\x20any\x20questions:\x0a\x20\x20@maka-io\x0a\x20\x20','maka\x20install\x20meteor','5430ehuwKd','fsi','42719zkNtDU','4JgnwtY','64dfVvkl','4130019kPngea','1472mZFPei','maka\x20run','762ozkCPq','constructor','runSubCommand','7963770DjMdYw','maka\x20create\x20Todo','slice','43561CatUnd','10879pvqmjW','maka'];a39c=function(){return l;};return a39c();}const a39j=a39d;(function(a,b){const g=a39d,c=a();while(!![]){try{const d=-parseInt(g(0xd8))/0x1*(-parseInt(g(0xbe))/0x2)+parseInt(g(0xbf))/0x3*(-parseInt(g(0xd9))/0x4)+parseInt(g(0xc5))/0x5+parseInt(g(0xc2))/0x6*(-parseInt(g(0xc8))/0x7)+-parseInt(g(0xc0))/0x8*(-parseInt(g(0xd2))/0x9)+-parseInt(g(0xd6))/0xa*(-parseInt(g(0xc9))/0xb)+-parseInt(g(0xd0))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xd9809));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a39d;if(c){const e=c[h(0xcb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const i=a39d;return a39a[i(0xcd)]()[i(0xcf)]('(((.+)+)+)+$')[i(0xcd)]()[i(0xc3)](a39a)[i(0xcf)]('(((.+)+)+)+$');});a39a();import{Command}from'../command.js';const Maka=new Command({'name':a39j(0xca),'minArgLength':0x1,'shortDesc':a39j(0xce),'validOpts':[],'usage':a39j(0xcc),'disableAuthCheck':!![],'examples':['maka\x20--help',a39j(0xd5),a39j(0xc6),a39j(0xc1)],'description':a39j(0xd4)},async function(a,b){const k=a39j;try{const c=a[0x0],d=this[k(0xd1)](c);d?this[k(0xc4)](c,a[k(0xc7)](0x1),b):this[k(0xd7)][k(0xd3)]();}catch(f){console['error'](f),process['exit'](0x1);}});export default Maka;
@@ -1 +1 @@
1
- function a40d(a,b){var c=a40c();return a40d=function(d,e){d=d-0x16e;var f=c[d];return f;},a40d(a,b);}var a40h=a40d;(function(a,b){var f=a40d,c=a();while(!![]){try{var d=parseInt(f(0x176))/0x1*(-parseInt(f(0x17f))/0x2)+parseInt(f(0x17e))/0x3+parseInt(f(0x173))/0x4*(parseInt(f(0x170))/0x5)+parseInt(f(0x183))/0x6*(parseInt(f(0x181))/0x7)+parseInt(f(0x180))/0x8+-parseInt(f(0x17c))/0x9+-parseInt(f(0x16f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x2f455));var a40b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){var g=a40d;return a40a['toString']()[g(0x182)](g(0x171))[g(0x174)]()[g(0x178)](a40a)[g(0x182)]('(((.+)+)+)+$');});a40a();import{Command}from'../command.js';Command[a40h(0x172)]({'name':a40h(0x177),'usage':a40h(0x16e),'maxArgLength':0x1,'shortDesc':a40h(0x17a),'validOpts':[]},async function(){var i=a40h;try{console[i(0x175)](i(0x17d),'font-family:\x20monospace');}catch(a){console[i(0x17b)](a),process[i(0x179)](0x0);}});function a40c(){var j=['toString','log','7RFAkAO','murder','constructor','exit','Murrrrderrrrr','error','3418578gziVmw','%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','1137015Rwwgjx','35936GneAhX','2314200VDpSuL','7vFyaBu','search','688968jaHeoc','maka\x20murder','4009650pIPRzr','121960qWZEVI','(((.+)+)+)+$','create','52nBLXxh'];a40c=function(){return j;};return a40c();}
1
+ var a40i=a40d;(function(a,b){var f=a40d,c=a();while(!![]){try{var d=-parseInt(f(0x1e3))/0x1*(parseInt(f(0x1e8))/0x2)+parseInt(f(0x1ed))/0x3*(parseInt(f(0x1f1))/0x4)+-parseInt(f(0x1f2))/0x5*(parseInt(f(0x1f4))/0x6)+-parseInt(f(0x1e6))/0x7+parseInt(f(0x1eb))/0x8+parseInt(f(0x1e1))/0x9+parseInt(f(0x1ee))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x90017));var a40b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a40d;if(c){var e=c[g(0x1e4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){var h=a40d;return a40a[h(0x1f0)]()['search'](h(0x1ec))[h(0x1f0)]()[h(0x1f3)](a40a)[h(0x1ef)]('(((.+)+)+)+$');});function a40c(){var k=['7356JPCQTr','error','1521333IynpbP','create','3467DspvGx','apply','log','2111158fJoHys','murder','194GZHGvv','font-family:\x20monospace','maka\x20murder','4493440jxAjso','(((.+)+)+)+$','2466iwlhrP','10868150WraDcD','search','toString','2028tBKQBS','4105ByaNGO','constructor'];a40c=function(){return k;};return a40c();}a40a();import{Command}from'../command.js';function a40d(a,b){var c=a40c();return a40d=function(d,e){d=d-0x1e1;var f=c[d];return f;},a40d(a,b);}Command[a40i(0x1e2)]({'name':a40i(0x1e7),'usage':a40i(0x1ea),'maxArgLength':0x1,'shortDesc':'Murrrrderrrrr','validOpts':[]},async function(){var j=a40i;try{console[j(0x1e5)]('%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',j(0x1e9));}catch(a){console[j(0x1f5)](a),process['exit'](0x0);}});
@@ -1 +1 @@
1
- const a41p=a41d;(function(a,b){const n=a41d,c=a();while(!![]){try{const d=-parseInt(n(0xde))/0x1*(parseInt(n(0xc5))/0x2)+-parseInt(n(0xbf))/0x3*(-parseInt(n(0xe0))/0x4)+-parseInt(n(0xc1))/0x5*(-parseInt(n(0xc0))/0x6)+-parseInt(n(0xe2))/0x7+-parseInt(n(0xbe))/0x8+-parseInt(n(0xdd))/0x9*(parseInt(n(0xd0))/0xa)+parseInt(n(0xdb))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x20b30));const a41b=(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;};}()),a41a=a41b(this,function(){const o=a41d;return a41a[o(0xbd)]()[o(0xd7)](o(0xb6))[o(0xbd)]()['constructor'](a41a)[o(0xd7)]('(((.+)+)+)+$');});a41a();import a41e from'fs';import a41f from'path';import a41g from'http-proxy';function a41c(){const r=['1160160URLkul','5wCQVVu','readFileSync','maka\x20proxy','=>\x20SSL\x20Proxy\x20forwarding\x20','568RmrGjF','help','.key','genSSC','appName','.crt','getProjectConfig','create','join','utf8','genCSR','805170kXqOYA','findGenerator','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','fsi','localhost','isFile','proxy','search','bright','getConfigPath','maka\x20proxy\x20--target-host\x20http://192.168.1.20','1201387pYSSla','targetPort','9AcpVBk','115GJWYIz','targetHost','35572tksCRE','listen','949977NVQFyT','error','(((.+)+)+)+$','listenPort','maka\x20proxy\x20<options>','\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','createProxyServer','\x20to\x20','sslconfig','toString','140608zxyUgl','33qKCdQj'];a41c=function(){return r;};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-0xb5;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';Command[a41p(0xcc)]({'name':a41p(0xd6),'usage':a41p(0xb8),'mustBeInMakaProject':!![],'validOpts':[a41p(0xc6),a41p(0xdc),'listenPort',a41p(0xdf)],'maxArgLength':0x1,'shortDesc':'Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','description':a41p(0xb9),'examples':[a41p(0xc3),'maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000',a41p(0xda)]},async function(a,b){const q=a41p,c=this[q(0xd3)][q(0xcb)](),d='development',e=this[q(0xd3)][q(0xd9)](d),f=this[q(0xd3)]['mkKeysDir']({'configPath':e}),g=b[q(0xdc)]?b[q(0xdc)]:0xbb8,h=b[q(0xb7)]?b['listenPort']:0xd73,i=b[q(0xdf)]?b[q(0xdf)]:q(0xd4),j=a41f[q(0xcd)](f,c[q(0xc9)]+q(0xc7)),k=a41f['join'](f,c[q(0xc9)]+q(0xca));if(!this[q(0xd3)][q(0xd5)](j)||!this[q(0xd3)][q(0xd5)](k)){const m=a41h[q(0xd1)](q(0xbc));m&&await m['invoke']([q(0xbc)],{'env':d}),SSL[q(0xcf)]({'keyName':c['appName']+q(0xc7),'csrName':c[q(0xc9)]+'.csr','cwd':f}),SSL[q(0xc8)]({'keyName':c[q(0xc9)]+q(0xc7),'crtName':c[q(0xc9)]+q(0xca),'cwd':f});}if(g===h){Log[q(0xb5)](q(0xd2));throw new UsageError();}const l={'ssl':{'key':a41e[q(0xc2)](j,q(0xce)),'cert':a41e[q(0xc2)](k,q(0xce))},'target':{'host':i,'port':g},'ws':!![],'xfwd':!![]};a41g[q(0xba)](l)[q(0xe1)](h),Log[q(0xd8)](q(0xc4)+h+q(0xbb)+g);});
1
+ const a41p=a41d;(function(a,b){const n=a41d,c=a();while(!![]){try{const d=parseInt(n(0x1c1))/0x1*(parseInt(n(0x1b0))/0x2)+-parseInt(n(0x1d3))/0x3+-parseInt(n(0x1ae))/0x4+parseInt(n(0x1d6))/0x5+parseInt(n(0x1ac))/0x6*(-parseInt(n(0x1b6))/0x7)+parseInt(n(0x1b8))/0x8*(-parseInt(n(0x1ba))/0x9)+parseInt(n(0x1bc))/0xa*(parseInt(n(0x1d1))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x6e869));function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x1ab;let f=c[d];return f;},a41d(a,b);}const a41b=(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;};}()),a41a=a41b(this,function(){const o=a41d;return a41a[o(0x1cd)]()[o(0x1bd)]('(((.+)+)+)+$')[o(0x1cd)]()[o(0x1b1)](a41a)[o(0x1bd)](o(0x1d4));});function a41c(){const r=['56409aTTxTB','utf8','getProjectConfig','listenPort','fsi','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','genSSC','readFileSync','error','join','bright','appName','toString','maka\x20proxy\x20--target-host\x20http://192.168.1.20','genCSR','isFile','55uvCTvx','targetHost','1898538wnLUpY','(((.+)+)+)+$','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','457310WKkSke','targetPort','62796hIMqKQ','development','897636BMEOOB','getConfigPath','30leFFpo','constructor','sslconfig','.crt','.csr','findGenerator','455TTAyLd','create','2072MXnmCo','mkKeysDir','10494aBHPGK','listen','2709310AuLHoT','search','maka\x20proxy','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','=>\x20SSL\x20Proxy\x20forwarding\x20'];a41c=function(){return r;};return a41c();}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';import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';import a41h from'../generators/maka.gen.js';Command[a41p(0x1b7)]({'name':'proxy','usage':'maka\x20proxy\x20<options>','mustBeInMakaProject':!![],'validOpts':['help',a41p(0x1ab),a41p(0x1c4),a41p(0x1d2)],'maxArgLength':0x1,'shortDesc':a41p(0x1bf),'description':'\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','examples':[a41p(0x1be),a41p(0x1c6),a41p(0x1ce)]},async function(a,b){const q=a41p,c=this['fsi'][q(0x1c3)](),d=q(0x1ad),e=this['fsi'][q(0x1af)](d),f=this[q(0x1c5)][q(0x1b9)]({'configPath':e}),g=b['targetPort']?b['targetPort']:0xbb8,h=b[q(0x1c4)]?b['listenPort']:0xd73,i=b['targetHost']?b[q(0x1d2)]:'localhost',j=a41f[q(0x1ca)](f,c['appName']+'.key'),k=a41f[q(0x1ca)](f,c[q(0x1cc)]+q(0x1b3));if(!this[q(0x1c5)][q(0x1d0)](j)||!this[q(0x1c5)][q(0x1d0)](k)){const m=a41h[q(0x1b5)](q(0x1b2));m&&await m['invoke'](['sslconfig'],{'env':d}),SSL[q(0x1cf)]({'keyName':c['appName']+'.key','csrName':c['appName']+q(0x1b4),'cwd':f}),SSL[q(0x1c7)]({'keyName':c['appName']+'.key','crtName':c[q(0x1cc)]+q(0x1b3),'cwd':f});}if(g===h){Log[q(0x1c9)](q(0x1d5));throw new UsageError();}const l={'ssl':{'key':a41e[q(0x1c8)](j,q(0x1c2)),'cert':a41e[q(0x1c8)](k,q(0x1c2))},'target':{'host':i,'port':g},'ws':!![],'xfwd':!![]};a41g['createProxyServer'](l)[q(0x1bb)](h),Log[q(0x1cb)](q(0x1c0)+h+'\x20to\x20'+g);});
@@ -1 +1 @@
1
- const a42p=a42d;(function(a,b){const n=a42d,c=a();while(!![]){try{const d=-parseInt(n(0xd0))/0x1+-parseInt(n(0xd5))/0x2*(-parseInt(n(0xd9))/0x3)+-parseInt(n(0xe8))/0x4+-parseInt(n(0xe0))/0x5*(parseInt(n(0xde))/0x6)+-parseInt(n(0xcf))/0x7*(parseInt(n(0xc3))/0x8)+-parseInt(n(0xd3))/0x9*(-parseInt(n(0xe9))/0xa)+parseInt(n(0xc5))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xe2fb8));const a42b=(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;};}()),a42a=a42b(this,function(){const o=a42d;return a42a[o(0xc2)]()[o(0xdd)](o(0xc7))[o(0xc2)]()['constructor'](a42a)[o(0xdd)](o(0xc7));});function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0xc0;let f=c[d];return f;},a42d(a,b);}a42a();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 r=['search','6rJGssr','env','1413785huLYSL','~/settings.json','pm2.config.js','settings.json','notice','\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','~/pm2.config.js','ssh','7091064sJJxhW','42600cdvFKA','Checking\x20remote\x20host\x20availability','scp','toString','1961648kPCsSe','join','59821421ndXjdU','pm2\x20delete\x20all','(((.+)+)+)+$','maka\x20reconfig\x20--env\x20prod','Reconfigure\x20your\x20deployed\x20applications','ses.json','sshSync','assign','_keys','create','35nhjySx','1788237zHXJCU','uname\x20-a','existsSync','117bHGyPV','readFileSync','1011638EMOfhn','exit','success','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','3pCZPcW','Remote\x20host\x20connection\x20successful','ssh.json','ping'];a42c=function(){return r;};return a42c();}Command[a42p(0xce)]({'name':'reconfig','validOpts':[''],'requiredOpts':[a42p(0xdf)],'mustBeInMakaProject':!![],'usage':a42p(0xc8),'shortDesc':a42p(0xc9),'description':a42p(0xe5),'examples':[a42p(0xc8)]},async function(a,b){const q=a42p;try{const c=this['fsi']['getConfigPath'](b[q(0xdf)]),d=a42f[q(0xc4)](c,q(0xdb)),f=a42e[q(0xd4)](d)[q(0xc2)](),g=JSON['parse'](f);Object[q(0xcc)](g,{'env':c}),Log[q(0xe4)](q(0xc0));const h=SSH[q(0xdc)](q(0xd1),g);if(!h)throw q(0xd8);if(h)Log[q(0xd7)](q(0xda));const i=a42f[q(0xc4)](c,q(0xcd),q(0xca));if(a42e[q(0xd2)](i)){const l={'source':i,'dest':'~/ses.json','verbose':!![]};SSH[q(0xc1)](l,{...g});}const j=a42f[q(0xc4)](c,q(0xe2));SSH[q(0xc1)]({'source':j,'dest':q(0xe6),'verbose':!![]},{...g});const k=a42f[q(0xc4)](c,q(0xe3));SSH['scp']({'source':k,'dest':q(0xe1),'verbose':!![]},{...g}),SSH[q(0xcb)](q(0xc6),g),await SSH[q(0xe7)]('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[q(0xd6)](0x0);}});
1
+ const a42p=a42d;(function(a,b){const n=a42d,c=a();while(!![]){try{const d=parseInt(n(0x1a5))/0x1*(-parseInt(n(0x1ba))/0x2)+parseInt(n(0x1cf))/0x3+parseInt(n(0x1a6))/0x4*(parseInt(n(0x1a8))/0x5)+-parseInt(n(0x1b5))/0x6+parseInt(n(0x1cd))/0x7*(parseInt(n(0x1b7))/0x8)+-parseInt(n(0x1a9))/0x9+parseInt(n(0x1c9))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xe83e0));const a42b=(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;};}()),a42a=a42b(this,function(){const o=a42d;return a42a[o(0x1bc)]()['search'](o(0x1c3))['toString']()[o(0x1b4)](a42a)[o(0x1c4)]('(((.+)+)+)+$');});a42a();import a42e from'fs';import a42f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a42c(){const r=['scp','26916eWSBZy','fsi','toString','ssh','Remote\x20host\x20connection\x20successful','sshSync','create','env','uname\x20-a','(((.+)+)+)+$','search','\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','exit','~/ses.json','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','208140rtVASw','~/pm2.config.js','~/settings.json','assign','266jmijTI','getConfigPath','4642992IgyFmH','notice','existsSync','59UqDwUy','1107564hqSIcH','pm2.config.js','25alPkrG','1643256imuJxh','Checking\x20remote\x20host\x20availability','ping','maka\x20reconfig\x20--env\x20prod','Reconfigure\x20your\x20deployed\x20applications','ssh.json','_keys','error','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','ses.json','readFileSync','constructor','10317306jDOEvy','join','146208uuwcqT','pm2\x20delete\x20all'];a42c=function(){return r;};return a42c();}function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x1a4;let f=c[d];return f;},a42d(a,b);}import{SSH}from'../tools/ssh/ssh.class.js';Command[a42p(0x1c0)]({'name':'reconfig','validOpts':[''],'requiredOpts':[a42p(0x1c1)],'mustBeInMakaProject':!![],'usage':'maka\x20reconfig\x20--env\x20prod','shortDesc':a42p(0x1ad),'description':a42p(0x1c5),'examples':[a42p(0x1ac)]},async function(a,b){const q=a42p;try{const c=this[q(0x1bb)][q(0x1ce)](b[q(0x1c1)]),d=a42f[q(0x1b6)](c,q(0x1ae)),f=a42e[q(0x1b3)](d)[q(0x1bc)](),g=JSON['parse'](f);Object[q(0x1cc)](g,{'env':c}),Log[q(0x1d0)](q(0x1aa));const h=SSH[q(0x1ab)](q(0x1c2),g);if(!h)throw q(0x1c8);if(h)Log['success'](q(0x1be));const i=a42f[q(0x1b6)](c,q(0x1af),q(0x1b2));if(a42e[q(0x1a4)](i)){const l={'source':i,'dest':q(0x1c7),'verbose':!![]};SSH[q(0x1b9)](l,{...g});}const j=a42f[q(0x1b6)](c,q(0x1a7));SSH[q(0x1b9)]({'source':j,'dest':q(0x1ca),'verbose':!![]},{...g});const k=a42f['join'](c,'settings.json');SSH[q(0x1b9)]({'source':k,'dest':q(0x1cb),'verbose':!![]},{...g}),SSH[q(0x1bf)](q(0x1b8),g),await SSH[q(0x1bd)](q(0x1b1),{...g},{'verbose':!![]});}catch(m){console[q(0x1b0)](m),process[q(0x1c6)](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a43d,c=a();while(!![]){try{var d=parseInt(f(0x103))/0x1*(parseInt(f(0x101))/0x2)+-parseInt(f(0x100))/0x3*(parseInt(f(0xfe))/0x4)+-parseInt(f(0xfd))/0x5*(-parseInt(f(0x107))/0x6)+-parseInt(f(0x105))/0x7*(-parseInt(f(0xfb))/0x8)+-parseInt(f(0x108))/0x9+-parseInt(f(0x109))/0xa+parseInt(f(0x104))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x68205));var a43b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){var g=a43d;return a43a[g(0x102)]()['search'](g(0xfc))['toString']()[g(0xff)](a43a)[g(0x106)](g(0xfc));});function a43c(){var h=['12tpsWgq','toString','95890hMQBrP','12734084jhebtg','74641nJVMVt','search','18rwYAbP','2602692CEOfUo','6039380cnYPNJ','80vFijkv','(((.+)+)+)+$','35790LKnWyU','12fGheKp','constructor','541461jgrbMX'];a43c=function(){return h;};return a43c();}a43a();function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0xfb;var f=c[d];return f;},a43d(a,b);}import'./run.command.js';import'./docker.sub.cmd.js';
1
+ (function(a,b){var f=a43d,c=a();while(!![]){try{var d=-parseInt(f(0x10a))/0x1+parseInt(f(0x10b))/0x2+parseInt(f(0x10f))/0x3+-parseInt(f(0x107))/0x4+-parseInt(f(0x108))/0x5*(parseInt(f(0x105))/0x6)+-parseInt(f(0x10d))/0x7*(-parseInt(f(0x102))/0x8)+parseInt(f(0x103))/0x9*(parseInt(f(0x10e))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x67fb3));function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0x102;var f=c[d];return f;},a43d(a,b);}var a43b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a43d;if(c){var e=c[g(0x104)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){var h=a43d;return a43a[h(0x106)]()[h(0x10c)]('(((.+)+)+)+$')['toString']()['constructor'](a43a)['search'](h(0x109));});a43a();import'./run.command.js';function a43c(){var i=['5dIlIaj','(((.+)+)+)+$','457379rdmapA','1102400ezDZBO','search','34237ZCcMtB','126960wiHsuv','1173327eFDDbJ','536GNjcsc','405mZQfQv','apply','1539924OCsHRW','toString','2805544Lmyfbv'];a43c=function(){return i;};return a43c();}import'./docker.sub.cmd.js';
@@ -1 +1 @@
1
- const a44k=a44d;(function(a,b){const i=a44d,c=a();while(!![]){try{const d=parseInt(i(0x10b))/0x1*(parseInt(i(0x11a))/0x2)+parseInt(i(0x11b))/0x3+parseInt(i(0x119))/0x4+-parseInt(i(0x114))/0x5+parseInt(i(0x112))/0x6*(parseInt(i(0x121))/0x7)+-parseInt(i(0x115))/0x8*(-parseInt(i(0x11d))/0x9)+-parseInt(i(0x117))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x450a4));const a44b=(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;};}()),a44a=a44b(this,function(){const j=a44d;return a44a[j(0x125)]()[j(0x116)](j(0x120))['toString']()[j(0x109)](a44a)['search'](j(0x120));});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';function a44c(){const m=['9FafZEO','exit','inherit','(((.+)+)+)+$','2611iBTsyU','docker-compose.yaml','existsSync','templateContent','toString','notice','docker','PM2\x20Config\x20File:\x20','appName','docker-compose\x20--project-directory\x20','constructor','create','2039hxlvYd','\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','getProjectConfig','pm2.config.js','config/docker-compose.yaml','getConfigPath','fsi','240UsNydI','join','2378215ONYLDF','30760FAUppR','search','3531130mcReiI','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','1361224mKnIjn','292IaNqKW','1364337MyFsVF','\x20up\x20--remove-orphans'];a44c=function(){return m;};return a44c();}function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x105;let f=c[d];return f;},a44d(a,b);}import{Command}from'../../command.js';import{paramCase}from'change-case';Command[a44k(0x10a)]({'name':'docker','aliases':['d'],'shortDesc':a44k(0x118),'description':a44k(0x10c),'usage':'maka\x20run\x20docker','validOpts':['']},async function(){const l=a44k;try{const a=this[l(0x111)][l(0x10d)](),b=this[l(0x111)][l(0x110)](l(0x105)),c=a44f[l(0x113)](b,l(0x122)),d=a44f[l(0x113)](b,l(0x10e));Log[l(0x126)](l(0x106)+d),Log[l(0x126)]('Docker\x20Compose\x20Path:\x20'+c);if(!a44g[l(0x123)](c)){const f={'app':a[l(0x107)],'appFileCase':paramCase(a[l(0x107)])},g=this[l(0x111)][l(0x124)]({'srcPath':l(0x10f),'context':f})+'\x0a';this[l(0x111)]['createFile']({'filePath':c,'data':g});}execSync(l(0x108)+b+l(0x11c),{'stdio':l(0x11f)});}catch(h){process[l(0x11e)](0x1);}},a44e);
1
+ const a44l=a44d;function a44c(){const n=['PM2\x20Config\x20File:\x20','toString','getProjectConfig','20HwpnGN','docker-compose\x20--project-directory\x20','16KMpbvl','search','docker-compose.yaml','inherit','create','1114806yckvlp','maka\x20run\x20docker','722379QfJLHu','templateContent','16353432AunGUe','363624AeWlOr','fsi','notice','exit','existsSync','4874376fwEEvg','581051HdYFkl','appName','join','(((.+)+)+)+$','451864lmZpcS','getConfigPath','config/docker-compose.yaml','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','apply','\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','constructor'];a44c=function(){return n;};return a44c();}(function(a,b){const i=a44d,c=a();while(!![]){try{const d=parseInt(i(0x82))/0x1+-parseInt(i(0x77))/0x2+parseInt(i(0x7c))/0x3+-parseInt(i(0x86))/0x4*(parseInt(i(0x70))/0x5)+-parseInt(i(0x81))/0x6+-parseInt(i(0x79))/0x7*(parseInt(i(0x72))/0x8)+parseInt(i(0x7b))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x77ef2));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a44d;if(c){const e=c[j(0x8a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const k=a44d;return a44a[k(0x6e)]()[k(0x73)]('(((.+)+)+)+$')[k(0x6e)]()[k(0x6c)](a44a)[k(0x73)](k(0x85));});a44a();import a44e from'./run.command.js';import{execSync}from'child_process';import a44f from'path';function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x6b;let f=c[d];return f;},a44d(a,b);}import a44g from'fs';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';Command[a44l(0x76)]({'name':'docker','aliases':['d'],'shortDesc':a44l(0x89),'description':a44l(0x6b),'usage':a44l(0x78),'validOpts':['']},async function(){const m=a44l;try{const a=this['fsi'][m(0x6f)](),b=this[m(0x7d)][m(0x87)]('docker'),c=a44f[m(0x84)](b,m(0x74)),d=a44f[m(0x84)](b,'pm2.config.js');Log[m(0x7e)](m(0x6d)+d),Log[m(0x7e)]('Docker\x20Compose\x20Path:\x20'+c);if(!a44g[m(0x80)](c)){const f={'app':a[m(0x83)],'appFileCase':paramCase(a['appName'])},g=this['fsi'][m(0x7a)]({'srcPath':m(0x88),'context':f})+'\x0a';this[m(0x7d)]['createFile']({'filePath':c,'data':g});}execSync(m(0x71)+b+'\x20up\x20--remove-orphans',{'stdio':m(0x75)});}catch(h){process[m(0x7f)](0x1);}},a44e);
@@ -1 +1 @@
1
- const a45u=a45d;function a45c(){const x=['2260951QOlNbD','ios','Run\x20your\x20Meteor\x20application','forEach','join','isDirectory','env','106216hCbgvt','error','constructor','verbose','cordova-build','Node\x20Env\x20Config:\x20','\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.','invokeMeteorCommand','settings','docker','inspect','local','getConfigPath','extraPackages','rawLogs','filter','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','run','exit','toString','slice','4490127HwPyiO','port','fsi','settings.json','allowIncompatibleUpdate','process.env','apply','production','argv','5dBcPpu','findProjectDirectory','(((.+)+)+)+$','2997senCTc','app','3184668yVsbgI','.meteor','create','splice','sep','config','886RDUEnI','8NBFLKT','--production','exclude-archs','concat','866803dghnqn','runSubCommand','warn','compareMakaToLatest','20VkvJsV','openSync','mobile-server','length','notice','1181644kHpouE'];a45c=function(){return x;};return a45c();}(function(a,b){const q=a45d,c=a();while(!![]){try{const d=-parseInt(q(0xd6))/0x1+parseInt(q(0xc0))/0x2*(parseInt(q(0xb8))/0x3)+parseInt(q(0xce))/0x4+-parseInt(q(0xf4))/0x5*(parseInt(q(0xba))/0x6)+parseInt(q(0xc5))/0x7+-parseInt(q(0xc1))/0x8*(-parseInt(q(0xeb))/0x9)+parseInt(q(0xc9))/0xa*(-parseInt(q(0xcf))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x4c530));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a45d;if(c){const e=c[r(0xf1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const s=a45d;return a45a[s(0xe9)]()['search'](s(0xf6))['toString']()[s(0xd8)](a45a)['search'](s(0xf6));});a45a();import a45e from'path';import a45f from'fs';import a45g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0xb8;let f=c[d];return f;},a45d(a,b);}import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const t=a45d;a45f[t(0xca)](a,'r'),a45g[t(0xbf)]({'path':a});},Run=Command[a45u(0xbc)]({'name':a45u(0xe7),'mustBeInMakaProject':!![],'shortDesc':a45u(0xd1),'description':a45u(0xdc),'validOpts':[a45u(0xd5),a45u(0xdf),'r',a45u(0xe4),'p',a45u(0xec),'i',a45u(0xe0),'m','mobileServer','v',a45u(0xd9),a45u(0xef),a45u(0xe3),'x',a45u(0xc3),a45u(0xf2)]},async function(a,b){const v=a45u;try{const c=a[0x0],d=this['findSubCommand'](c);d&&this[v(0xc6)](c,a,b);if(c===v(0xd0)){const m=this[v(0xed)][v(0xf5)](),n=a45e[v(0xd3)](m,v(0xb9),v(0xbb),v(0xe1),v(0xda));this[v(0xed)][v(0xd4)](n)&&await rimraf(n);}if(b[v(0xcb)]&&b[v(0xcb)]===!![]||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)';await this[v(0xed)][v(0xc8)]();const f=b[v(0xd5)]?b[v(0xd5)]:'development',g=this[v(0xed)][v(0xe2)](f),h=a45e[v(0xd3)](g,v(0xf0));let i=a45e['join'](g,v(0xee));b[v(0xde)]?i=b['settings']:i=a45e['join'](g,v(0xee));if(this['fsi']['isFile'](h)&&!b[v(0xdf)])Log[v(0xcd)](v(0xdb)+h),syncSource(h);else!b['docker']&&Log['warn']('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+h);this[v(0xed)]['isFile'](i)?(Log['notice']('Meteor\x20Settings:\x20'+i),a=a[v(0xc4)](['--settings',i])):Log[v(0xc7)](v(0xe6)+i);const j=g['split'](a45e[v(0xbe)]),k=j[j[v(0xcc)]-0x1];k===v(0xf2)&&a['push'](v(0xc2));const l=process[v(0xf3)][v(0xea)](0x2)[v(0xe5)](o=>o!=='run')['filter'](o=>o!==a[0x0]);l[v(0xd2)]((o,p)=>{const w=v;o==='--env'&&l[w(0xbd)](p,0x2),o==='-e'&&l['splice'](p,0x2);}),this[v(0xed)][v(0xdd)](v(0xe7),a[v(0xc4)](l));}catch(o){console[v(0xd7)](o),process[v(0xe8)](0x1);}});export default Run;
1
+ const a45t=a45d;(function(a,b){const q=a45d,c=a();while(!![]){try{const d=-parseInt(q(0x119))/0x1+parseInt(q(0x11b))/0x2+parseInt(q(0x116))/0x3*(-parseInt(q(0x149))/0x4)+parseInt(q(0x126))/0x5+parseInt(q(0x12f))/0x6+-parseInt(q(0x14d))/0x7*(-parseInt(q(0x147))/0x8)+parseInt(q(0x133))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x7c9ca));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a45d;if(c){const e=c[r(0x13a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const s=a45d;return a45a[s(0x130)]()['search'](s(0x13e))[s(0x130)]()[s(0x115)](a45a)['search'](s(0x13e));});a45a();import a45e from'path';import a45f from'fs';import a45g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){a45f['openSync'](a,'r'),a45g['config']({'path':a});},Run=Command[a45t(0x11e)]({'name':'run','mustBeInMakaProject':!![],'shortDesc':a45t(0x148),'description':'\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.','validOpts':[a45t(0x124),'docker','r',a45t(0x118),'p',a45t(0x12a),'i',a45t(0x140),'m',a45t(0x129),'v',a45t(0x127),'allowIncompatibleUpdate',a45t(0x150),'x','exclude-archs',a45t(0x120)]},async function(a,b){const u=a45t;try{const c=a[0x0],d=this[u(0x14b)](c);d&&this[u(0x132)](c,a,b);if(c===u(0x138)){const m=this[u(0x146)][u(0x121)](),n=a45e[u(0x11f)](m,u(0x131),u(0x11d),'local',u(0x137));this[u(0x146)][u(0x125)](n)&&await rimraf(n);}if(b[u(0x13d)]&&b[u(0x13d)]===!![]||b['m']&&b['m']===!![])throw u(0x145);await this[u(0x146)][u(0x136)]();const f=b[u(0x124)]?b[u(0x124)]:u(0x13c),g=this[u(0x146)][u(0x143)](f),h=a45e[u(0x11f)](g,u(0x113));let i=a45e[u(0x11f)](g,u(0x117));b[u(0x134)]?i=b[u(0x134)]:i=a45e[u(0x11f)](g,u(0x117));if(this['fsi'][u(0x142)](h)&&!b[u(0x12e)])Log['notice'](u(0x11a)+h),syncSource(h);else!b[u(0x12e)]&&Log[u(0x135)](u(0x12b)+h);this[u(0x146)][u(0x142)](i)?(Log[u(0x144)](u(0x11c)+i),a=a[u(0x122)]([u(0x14a),i])):Log[u(0x135)]('Cannot\x20find\x20Meteor\x20Settings\x20File:\x20'+i);const j=g[u(0x151)](a45e[u(0x139)]),k=j[j[u(0x123)]-0x1];k===u(0x120)&&a[u(0x12c)](u(0x14c));const l=process[u(0x128)]['slice'](0x2)[u(0x141)](o=>o!==u(0x14e))['filter'](o=>o!==a[0x0]);l[u(0x114)]((o,p)=>{const v=u;o===v(0x14f)&&l[v(0x13b)](p,0x2),o==='-e'&&l[v(0x13b)](p,0x2);}),this['fsi']['invokeMeteorCommand']('run',a[u(0x122)](l));}catch(o){console[u(0x13f)](o),process[u(0x12d)](0x1);}});function a45c(){const w=['2192gndFHT','Run\x20your\x20Meteor\x20application','16iWcGlD','--settings','findSubCommand','--production','13027BGnvND','run','--env','extraPackages','split','process.env','forEach','constructor','578106OjHfLu','settings.json','rawLogs','431456wyvTjC','Node\x20Env\x20Config:\x20','514416isExoC','Meteor\x20Settings:\x20','.meteor','create','join','production','findProjectDirectory','concat','length','env','isDirectory','1372755wyzKlU','verbose','argv','mobileServer','port','Cannot\x20find\x20Node\x20Environment\x20File:\x20','push','exit','docker','3983196WgCrhT','toString','app','runSubCommand','64215YIFDDj','settings','warn','compareMakaToLatest','cordova-build','ios','sep','apply','splice','development','mobile-server','(((.+)+)+)+$','error','inspect','filter','isFile','getConfigPath','notice','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)','fsi'];a45c=function(){return w;};return a45c();}function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x113;let f=c[d];return f;},a45d(a,b);}export default Run;
@@ -1 +1 @@
1
- (function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x17a))/0x1*(parseInt(f(0x17f))/0x2)+-parseInt(f(0x17d))/0x3*(parseInt(f(0x183))/0x4)+parseInt(f(0x187))/0x5*(parseInt(f(0x185))/0x6)+parseInt(f(0x18a))/0x7*(parseInt(f(0x18b))/0x8)+parseInt(f(0x186))/0x9*(-parseInt(f(0x17b))/0xa)+-parseInt(f(0x182))/0xb+-parseInt(f(0x17c))/0xc*(-parseInt(f(0x180))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xf2674));function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x17a;var f=c[d];return f;},a46d(a,b);}var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x184)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0x181)]()[h(0x188)](h(0x17e))[h(0x181)]()[h(0x189)](a46a)[h(0x188)](h(0x17e));});a46a();import'./set.command.js';import'./global.sub.cmd.js';function a46c(){var i=['constructor','21EteoVU','4552392JbVvNt','47rPoiTa','340350KBLBdy','84TVnLVl','24339zmUBKX','(((.+)+)+)+$','33224oIBCcf','1875107SVYWsR','toString','5251543OEwoTG','452paEqaK','apply','6BlFyLe','495unMtPf','3807035vlnmWu','search'];a46c=function(){return i;};return a46c();}import'./local.sub.cmd.js';
1
+ (function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0xfe))/0x1*(-parseInt(f(0xfa))/0x2)+-parseInt(f(0x100))/0x3+parseInt(f(0x103))/0x4+parseInt(f(0xfd))/0x5*(parseInt(f(0x101))/0x6)+parseInt(f(0x102))/0x7+-parseInt(f(0xfb))/0x8+parseInt(f(0xff))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x73bee));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var g=a46d;return a46a[g(0x104)]()[g(0xfc)](g(0xf9))['toString']()['constructor'](a46a)[g(0xfc)](g(0xf9));});function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0xf9;var f=c[d];return f;},a46d(a,b);}function a46c(){var h=['1777926BjnbdH','120AaIRUt','1589973tbqYBI','509048CaerLh','toString','(((.+)+)+)+$','765526itqRQy','6848000gzoGoR','search','186425fIYBtX','1NvkypW','10848582uTJtLF'];a46c=function(){return h;};return a46c();}a46a();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(0xde))/0x1+parseInt(h(0xc4))/0x2+-parseInt(h(0xda))/0x3+-parseInt(h(0xe6))/0x4+parseInt(h(0xe0))/0x5+parseInt(h(0xd0))/0x6*(-parseInt(h(0xc5))/0x7)+parseInt(h(0xd5))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x6facd));function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0xc3;let f=c[d];return f;},a47d(a,b);}const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a47d;if(c){const e=c[i(0xcf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const j=a47d;return a47a[j(0xc3)]()[j(0xe5)](j(0xd6))[j(0xc3)]()['constructor'](a47a)[j(0xe5)]('(((.+)+)+)+$');});a47a();import a47e from'path';import a47f from'./set.command.js';import{Command}from'../../command.js';function a47c(){const m=['help','create','One\x20or\x20the\x20other\x20buddy','maka\x20set:gc\x20--insecure\x20<path>','Set\x20CA\x20Cert\x20Path:\x20','isFile','apply','4146BFDSlA','allowInsecure','workspace','boolean','setGlobalConfig','7793392vYBtGV','(((.+)+)+)+$','Set\x20workspace:\x20','\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','Could\x20not\x20find\x20directory','1891722cPdNvq','success','resolve','cacert','76067mGFikA','fsi','3530165pttpeu','exit','Set\x20global\x20Maka-CLI\x20settings','maka\x20set:global-config\x20--cacert\x20<path>','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','search','2815952iqzRCn','error','toString','418528eXXlMA','217ktLKLn','maka\x20set:gc\x20--workspace\x20<path>','global-config','Set\x20allowInsecure:\x20'];a47c=function(){return m;};return a47c();}import{Log}from'../../tools/log/log.class.js';Command[a47k(0xca)]({'name':a47k(0xc7),'usage':'maka\x20set:global-config\x20<args>','aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a47k(0xdd),a47k(0xd1),'disallowInsecure',a47k(0xd2),a47k(0xc9)],'shortDesc':a47k(0xe2),'description':a47k(0xd8),'examples':[a47k(0xe3),a47k(0xcc),a47k(0xc6)]},async function(a,b){const l=a47k;try{if(b[l(0xdd)]){if(this['fsi'][l(0xce)](b['cacert']))this[l(0xdf)][l(0xd4)]({'cert':b[l(0xdd)]}),Log[l(0xdb)](l(0xcd)+b['cacert']);else{const c=typeof b['cacert']===l(0xd3)?l(0xe4):'CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+b[l(0xdd)];throw Log[l(0xe7)](c);}}if(b['workspace']){const d=this[l(0xdf)]['isDirectory'](b['workspace']);if(d)this[l(0xdf)][l(0xd4)]({'workspace':a47e[l(0xdc)](b['workspace'])}),Log[l(0xdb)](l(0xd7)+a47e['resolve'](b['workspace']));else throw Log['error'](l(0xd9));}if(b[l(0xd1)]){if(b[l(0xd1)]&&b['disallowInsecure'])throw Log[l(0xe7)](l(0xcb));let f=b[l(0xd1)];b['disallowInsecure']&&(f=![]),this['fsi'][l(0xd4)]({'allowInsecure':f}),Log[l(0xdb)](l(0xc8)+f);}}catch(g){console[l(0xe7)](g),process[l(0xe1)](0x0);}},a47f);
1
+ const a47k=a47d;(function(a,b){const h=a47d,c=a();while(!![]){try{const d=-parseInt(h(0x1c8))/0x1+parseInt(h(0x1c3))/0x2*(parseInt(h(0x1bb))/0x3)+parseInt(h(0x1b1))/0x4+-parseInt(h(0x1cc))/0x5+parseInt(h(0x1b2))/0x6+-parseInt(h(0x1ba))/0x7+-parseInt(h(0x1c2))/0x8*(-parseInt(h(0x1ca))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x62fbe));function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x1a8;let f=c[d];return f;},a47d(a,b);}function a47c(){const m=['setGlobalConfig','workspace','(((.+)+)+)+$','maka\x20set:gc\x20--insecure\x20<path>','create','toString','search','5566190kHYBUw','289233BZEFXr','maka\x20set:gc\x20--workspace\x20<path>','Set\x20global\x20Maka-CLI\x20settings','help','boolean','\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','isDirectory','8hdGHZT','2dLkczU','isFile','exit','One\x20or\x20the\x20other\x20buddy','cacert','82994HGFStm','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','3795219LkORls','fsi','768915efsfeN','disallowInsecure','allowInsecure','success','resolve','maka\x20set:global-config\x20--cacert\x20<path>','constructor','Could\x20not\x20find\x20directory','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','error','maka\x20set:global-config\x20<args>','Set\x20workspace:\x20','apply','2582456FhbbiR','1642014nBoGQR'];a47c=function(){return m;};return a47c();}const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a47d;if(c){const e=c[i(0x1b0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const j=a47d;return a47a[j(0x1b8)]()[j(0x1b9)](j(0x1b5))[j(0x1b8)]()[j(0x1aa)](a47a)[j(0x1b9)](j(0x1b5));});a47a();import a47e from'path';import a47f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a47k(0x1b7)]({'name':'global-config','usage':a47k(0x1ae),'aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a47k(0x1c7),a47k(0x1ce),a47k(0x1cd),a47k(0x1b4),a47k(0x1be)],'shortDesc':a47k(0x1bd),'description':a47k(0x1c0),'examples':[a47k(0x1a9),a47k(0x1b6),a47k(0x1bc)]},async function(a,b){const l=a47k;try{if(b[l(0x1c7)]){if(this['fsi'][l(0x1c4)](b['cacert']))this[l(0x1cb)][l(0x1b3)]({'cert':b[l(0x1c7)]}),Log[l(0x1cf)]('Set\x20CA\x20Cert\x20Path:\x20'+b[l(0x1c7)]);else{const c=typeof b[l(0x1c7)]===l(0x1bf)?l(0x1c9):l(0x1ac)+b[l(0x1c7)];throw Log['error'](c);}}if(b[l(0x1b4)]){const d=this['fsi'][l(0x1c1)](b[l(0x1b4)]);if(d)this[l(0x1cb)]['setGlobalConfig']({'workspace':a47e[l(0x1a8)](b[l(0x1b4)])}),Log['success'](l(0x1af)+a47e[l(0x1a8)](b['workspace']));else throw Log[l(0x1ad)](l(0x1ab));}if(b['allowInsecure']){if(b[l(0x1ce)]&&b['disallowInsecure'])throw Log[l(0x1ad)](l(0x1c6));let f=b[l(0x1ce)];b['disallowInsecure']&&(f=![]),this['fsi']['setGlobalConfig']({'allowInsecure':f}),Log['success']('Set\x20allowInsecure:\x20'+f);}}catch(g){console[l(0x1ad)](g),process[l(0x1c5)](0x0);}},a47f);
@@ -1 +1 @@
1
- var a48i=a48d;(function(a,b){var f=a48d,c=a();while(!![]){try{var d=-parseInt(f(0xa2))/0x1+parseInt(f(0x97))/0x2*(parseInt(f(0xa8))/0x3)+-parseInt(f(0xab))/0x4*(-parseInt(f(0xa9))/0x5)+-parseInt(f(0xa3))/0x6*(-parseInt(f(0x9e))/0x7)+parseInt(f(0x98))/0x8+-parseInt(f(0xa5))/0x9+-parseInt(f(0xa6))/0xa*(parseInt(f(0x9a))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x4ea3d));var a48b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a48d;if(c){var e=c[g(0x9b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){var h=a48d;return a48a[h(0x9c)]()['search']('(((.+)+)+)+$')[h(0x9c)]()[h(0x9f)](a48a)[h(0xa1)](h(0xaa));});function a48c(){var k=['1591299JJsMoe','20WqOcIl','Set\x20local\x20maka\x20app\x20settings','453YORYwm','2067790LXDPCX','(((.+)+)+)+$','4NEpJeg','4398TmtBsp','2046960sxqFCa','maka\x20set:local-config\x20<opts>','2323222XmXswc','apply','toString','local-config','7fVvaXl','constructor','Sorry,\x20not\x20implemented\x20yet','search','470608RMVFDb','2342730ohkFSx','maka\x20set:lc\x20<opts>'];a48c=function(){return k;};return a48c();}a48a();import a48e from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a48d(a,b){var c=a48c();return a48d=function(d,e){d=d-0x97;var f=c[d];return f;},a48d(a,b);}Command['create']({'name':a48i(0x9d),'usage':a48i(0x99),'examples':[a48i(0xa4),a48i(0x99)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':a48i(0xa7),'validOpts':[],'description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20'},async function(){var j=a48i;Log['notice'](j(0xa0));},a48e);
1
+ var a48i=a48d;(function(a,b){var f=a48d,c=a();while(!![]){try{var d=-parseInt(f(0x12b))/0x1+-parseInt(f(0x134))/0x2+-parseInt(f(0x12f))/0x3+parseInt(f(0x130))/0x4*(-parseInt(f(0x136))/0x5)+-parseInt(f(0x128))/0x6+-parseInt(f(0x137))/0x7+-parseInt(f(0x129))/0x8*(-parseInt(f(0x133))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x9d03c));function a48d(a,b){var c=a48c();return a48d=function(d,e){d=d-0x125;var f=c[d];return f;},a48d(a,b);}var a48b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a48d;if(c){var e=c[g(0x127)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){var h=a48d;return a48a[h(0x12d)]()[h(0x132)](h(0x12e))['toString']()[h(0x125)](a48a)['search'](h(0x12e));});function a48c(){var k=['maka\x20set:lc\x20<opts>','600381RmulNF','maka\x20set:local-config\x20<opts>','toString','(((.+)+)+)+$','1903062EfbcRK','33020tWDntL','Sorry,\x20not\x20implemented\x20yet','search','9YfGhMN','1760446aZDJPt','notice','635dzXqOc','1541435mPzhYX','create','constructor','local-config','apply','1326618dfPiIC','33982264XMGVnG'];a48c=function(){return k;};return a48c();}a48a();import a48e from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a48i(0x138)]({'name':a48i(0x126),'usage':a48i(0x12c),'examples':[a48i(0x12a),a48i(0x12c)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':'Set\x20local\x20maka\x20app\x20settings','validOpts':[],'description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20'},async function(){var j=a48i;Log[j(0x135)](j(0x131));},a48e);
@@ -1 +1 @@
1
- function a49d(a,b){const c=a49c();return a49d=function(d,e){d=d-0x166;let f=c[d];return f;},a49d(a,b);}const a49h=a49d;(function(a,b){const f=a49d,c=a();while(!![]){try{const d=-parseInt(f(0x175))/0x1+-parseInt(f(0x16f))/0x2*(parseInt(f(0x16d))/0x3)+parseInt(f(0x170))/0x4+parseInt(f(0x173))/0x5*(parseInt(f(0x176))/0x6)+parseInt(f(0x168))/0x7*(parseInt(f(0x16b))/0x8)+-parseInt(f(0x16e))/0x9*(-parseInt(f(0x171))/0xa)+-parseInt(f(0x166))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x46c32));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(0x174)]()[g(0x167)](g(0x16c))[g(0x174)]()[g(0x177)](a49a)['search'](g(0x16c));});a49a();function a49c(){const j=['toString','464359hEYiXV','130818GaPlpD','constructor','findSubCommand','875710fHzfwp','search','582883DmosfB','runSubCommand','create','8ZJYwfr','(((.+)+)+)+$','36897zGkTeQ','1336545ewogKP','10ychsva','1972896zBdCBG','20aRPeTJ','maka\x20set:<sub-command>\x20<opts>','5mGrZvG'];a49c=function(){return j;};return a49c();}import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command[a49h(0x16a)]({'name':'set','usage':a49h(0x172),'minArgLength':0x1,'shortDesc':'Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','description':'\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','validOpts':[]},async function(a,b){const i=a49h,c=a[0x0];if(b['help'])throw new UsageError();const d=this[i(0x178)](c);d&&this[i(0x169)](c,a,b);});export default SetCommand;
1
+ function a49d(a,b){const c=a49c();return a49d=function(d,e){d=d-0x73;let f=c[d];return f;},a49d(a,b);}function a49c(){const j=['8dRgVrc','\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','17294517uFoiPU','169248BzySUI','6143396XbzECo','help','findSubCommand','search','35LQtYIO','850704SIBLwK','1930868stmmDG','runSubCommand','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','constructor','174646aBUaUq','maka\x20set:<sub-command>\x20<opts>','2529963NoXmoV','(((.+)+)+)+$','toString','set'];a49c=function(){return j;};return a49c();}const a49h=a49d;(function(a,b){const f=a49d,c=a();while(!![]){try{const d=parseInt(f(0x7d))/0x1*(parseInt(f(0x83))/0x2)+-parseInt(f(0x7f))/0x3+-parseInt(f(0x79))/0x4+parseInt(f(0x77))/0x5*(parseInt(f(0x86))/0x6)+-parseInt(f(0x73))/0x7+-parseInt(f(0x78))/0x8+parseInt(f(0x85))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x7bf01));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(0x81)]()['search'](g(0x80))[g(0x81)]()[g(0x7c)](a49a)[g(0x76)](g(0x80));});a49a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command['create']({'name':a49h(0x82),'usage':a49h(0x7e),'minArgLength':0x1,'shortDesc':a49h(0x7b),'description':a49h(0x84),'validOpts':[]},async function(a,b){const i=a49h,c=a[0x0];if(b[i(0x74)])throw new UsageError();const d=this[i(0x75)](c);d&&this[i(0x7a)](c,a,b);});export default SetCommand;
@@ -1 +1 @@
1
- const a50m=a50d;function a50c(){const o=['168PoJngS','12lBMKoy','67671ydvYTR','4966832oDdbrh','length','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','maka\x20ssh\x20--env\x20dev','assign','maka\x20ssh\x20--env\x20<env>\x20[command]','search','maka\x20ssh\x20--env\x20prod','ssh','1561317nCCcBI','join','getConfigPath','sshSync','662794SRCTsG','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','(((.+)+)+)+$','45UfJVit','ssh.json','4858721XdAgPd','parse','error','20kpQNtT','140578mIZnFl','env','exit','toString','apply','4814535oxSxyT'];a50c=function(){return o;};return a50c();}(function(a,b){const j=a50d,c=a();while(!![]){try{const d=parseInt(j(0xdd))/0x1+parseInt(j(0xeb))/0x2*(parseInt(j(0xe5))/0x3)+-parseInt(j(0xd4))/0x4+parseInt(j(0xf0))/0x5+-parseInt(j(0xd2))/0x6*(parseInt(j(0xe7))/0x7)+-parseInt(j(0xf1))/0x8*(-parseInt(j(0xd3))/0x9)+-parseInt(j(0xea))/0xa*(parseInt(j(0xe1))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xf0bb4));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a50d;if(c){const e=c[k(0xef)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const l=a50d;return a50a['toString']()[l(0xda)]('(((.+)+)+)+$')['toString']()['constructor'](a50a)[l(0xda)](l(0xe4));});a50a();function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0xd2;let f=c[d];return f;},a50d(a,b);}import a50e from'fs';import a50f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command['create']({'name':a50m(0xdc),'usage':a50m(0xd9),'mustBeInMakaProject':!![],'requiredOpts':['env'],'validOpts':[a50m(0xec),'v'],'shortDesc':a50m(0xd6),'examples':[a50m(0xd7),'maka\x20ssh\x20--env\x20staging',a50m(0xdb),a50m(0xe2),'maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22',a50m(0xe3)]},async function(a,b){const n=a50m;try{const c=this['fsi'][n(0xdf)](b[n(0xec)]);let d='';a[n(0xd5)]>0x0&&(d=a[0x0]);const f=a50f[n(0xde)](c,n(0xe6)),g=a50e['readFileSync'](f)[n(0xee)](),h=JSON[n(0xe8)](g);Object[n(0xd8)](h,{'env':c}),SSH[n(0xe0)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['v']});}catch(i){console[n(0xe9)](i),process[n(0xed)](0x0);}});
1
+ const a50m=a50d;(function(a,b){const j=a50d,c=a();while(!![]){try{const d=parseInt(j(0xf1))/0x1*(-parseInt(j(0xea))/0x2)+parseInt(j(0xff))/0x3+-parseInt(j(0xf3))/0x4+-parseInt(j(0xee))/0x5*(-parseInt(j(0x109))/0x6)+parseInt(j(0xfa))/0x7*(-parseInt(j(0x101))/0x8)+-parseInt(j(0xf8))/0x9+parseInt(j(0xf4))/0xa*(parseInt(j(0xec))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xbdc6c));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a50d;if(c){const e=c[k(0xf9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const l=a50d;return a50a[l(0xfc)]()[l(0xfe)](l(0xef))[l(0xfc)]()[l(0xf7)](a50a)['search'](l(0xef));});a50a();function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0xe8;let f=c[d];return f;},a50d(a,b);}import a50e from'fs';import a50f from'path';import{Command}from'../command.js';function a50c(){const o=['1470HrEQMS','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','11XAvXsl','create','5vxcOYt','(((.+)+)+)+$','env','217EYyPop','readFileSync','174504jnZItU','3789860YluMDB','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','parse','constructor','1047861NsNdfC','apply','133HeyqfK','ssh.json','toString','length','search','2287767SXKCUF','sshSync','172144BzsTsz','ssh','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','maka\x20ssh\x20--env\x20dev','maka\x20ssh\x20--env\x20staging','error','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','getConfigPath','2184846tXuWbD','fsi','assign'];a50c=function(){return o;};return a50c();}import{SSH}from'../tools/ssh/ssh.class.js';Command[a50m(0xed)]({'name':a50m(0x102),'usage':'maka\x20ssh\x20--env\x20<env>\x20[command]','mustBeInMakaProject':!![],'requiredOpts':[a50m(0xf0)],'validOpts':[a50m(0xf0),'v'],'shortDesc':a50m(0xf5),'examples':[a50m(0x104),a50m(0x105),'maka\x20ssh\x20--env\x20prod',a50m(0xeb),a50m(0x107),a50m(0x103)]},async function(a,b){const n=a50m;try{const c=this[n(0xe8)][n(0x108)](b[n(0xf0)]);let d='';a[n(0xfd)]>0x0&&(d=a[0x0]);const f=a50f['join'](c,n(0xfb)),g=a50e[n(0xf2)](f)[n(0xfc)](),h=JSON[n(0xf6)](g);Object[n(0xe9)](h,{'env':c}),SSH[n(0x100)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['v']});}catch(i){console[n(0x106)](i),process['exit'](0x0);}});
@@ -1 +1 @@
1
- const a51y=a51d;(function(a,b){const v=a51d,c=a();while(!![]){try{const d=parseInt(v(0x11b))/0x1*(parseInt(v(0x156))/0x2)+-parseInt(v(0x12d))/0x3*(parseInt(v(0x11a))/0x4)+-parseInt(v(0x120))/0x5+parseInt(v(0x12e))/0x6*(parseInt(v(0x157))/0x7)+-parseInt(v(0x13a))/0x8+parseInt(v(0x155))/0x9*(parseInt(v(0x127))/0xa)+parseInt(v(0x12a))/0xb*(parseInt(v(0x14b))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x7bd9d));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a51d;if(c){const e=c[w(0x11e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const x=a51d;return a51a[x(0x148)]()[x(0x159)]('(((.+)+)+)+$')[x(0x148)]()[x(0x13f)](a51a)[x(0x159)](x(0x146));});function a51c(){const A=['ask','readFileSync','letsencrypt','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','emailUpdate','start','ssh','notice','sudo\x20snap\x20install\x20--classic\x20certbot','1629QmJINA','400118FTxJcy','4998syhIJz','existsSync','search','appName','1542136DOgOIk','1bDIekr','letsencrypt.json','Email\x20to\x20use\x20for\x20auto-updates:\x20','apply','genSSC','3144145uDeiks','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','generate-csr','getProjectConfig','maka\x20ssl\x20<opts>\x20[command]','.csr','parse','41350zsTkSl','assign','env','3800170qYTSDW','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','writeFileSync','3mMDegF','1350FseGVG','[?]\x20Domains\x20to\x20register:\x20','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','join','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','exit','.crt','withSpinner','domains','genCSR','success','domainNames','2227424CIAJOi','create','Remote\x20host\x20connection\x20successful','maka\x20ssl\x20--env\x20dev\x20generate-csr','mkKeysDir','constructor','ping','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','stringify','email','New\x20CSR\x20written\x20to\x20','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','(((.+)+)+)+$','error','toString','fsi','.key','24VsBlon'];a51c=function(){return A;};return a51c();}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';import{SSH}from'../tools/ssh/ssh.class.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x11a;let f=c[d];return f;},a51d(a,b);}import{SSL}from'../tools/ssl/ssl.class.js';Command[a51y(0x13b)]({'name':'ssl','usage':a51y(0x124),'validOpts':[a51y(0x136),a51y(0x143)],'requiredOpts':[a51y(0x129)],'shortDesc':'Create\x20and\x20manage\x20your\x20SSL\x20operations.','mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a51y(0x13d),a51y(0x121),a51y(0x130)]},async function(a,b){const z=a51y,c=this['fsi'][z(0x123)](),d=this[z(0x149)]['getConfigPath'](b['env']),f=this[z(0x149)][z(0x13e)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0x122))SSL[z(0x137)]({'keyName':c['appName']+'.key','csrName':c[z(0x15a)]+'.csr','cwd':f});else{if(g==='generate-ssc'){if(!a51e[z(0x158)](a51f[z(0x131)](f,c[z(0x15a)]+z(0x14a))))throw z(0x132)+a51f['join'](f,c[z(0x15a)]+z(0x14a));if(!a51e[z(0x158)](a51f[z(0x131)](f,c[z(0x15a)]+z(0x125))))throw z(0x141)+a51f['join'](f,c[z(0x15a)]+'.csr');SSL[z(0x11f)]({'keyName':c[z(0x15a)]+z(0x14a),'crtName':c[z(0x15a)]+z(0x134),'cwd':f}),Log[z(0x153)](z(0x144)+f);}else{if(g===z(0x14e)){let h=b[z(0x136)],i=b[z(0x143)];try{const p=a51e[z(0x14d)](a51f[z(0x131)](d,z(0x11c)))[z(0x148)](),q=JSON[z(0x126)](p);h=b[z(0x136)]?b[z(0x136)]:q[z(0x139)],i=b['email']?b[z(0x143)]:q[z(0x150)],(!b[z(0x143)]||!b[z(0x136)])&&Log[z(0x153)]('Using\x20saved\x20letsencrypt\x20config');}catch(r){}const j=JSON['parse'](a51e[z(0x14d)](d+'/ssh.json')[z(0x148)]());Object[z(0x128)](j,{'env':d}),Log[z(0x153)]('Checking\x20remote\x20host\x20availability');try{const s=SSH[z(0x140)]('uname\x20-a',j);if(!s)throw z(0x145);if(s)Log[z(0x138)](z(0x13c));}catch(t){Log['error'](t);return;}const k=Log[z(0x135)]();k[z(0x151)]('Verifying\x20Letsencrypt\x20configuration'),SSH[z(0x152)](z(0x14f),{...j}),SSH[z(0x152)](z(0x154),{...j}),SSH[z(0x152)](z(0x12b),{...j}),k['success']();const l=h?h:await Actions[z(0x14c)](z(0x12f)),m=i?i:await Actions[z(0x14c)](z(0x11d));SSH[z(0x152)]('sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20'+l+'\x20--email\x20'+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0x142)](n,null,0x2);a51e[z(0x12c)](a51f[z(0x131)](d,z(0x11c)),o);}else throw'Please\x20provide\x20a\x20command.';}}}catch(u){console[z(0x147)](u),process[z(0x133)](0x0);}});
1
+ const a51y=a51d;(function(a,b){const v=a51d,c=a();while(!![]){try{const d=parseInt(v(0x17d))/0x1*(parseInt(v(0x19d))/0x2)+-parseInt(v(0x188))/0x3*(-parseInt(v(0x183))/0x4)+-parseInt(v(0x197))/0x5*(parseInt(v(0x184))/0x6)+parseInt(v(0x189))/0x7+parseInt(v(0x185))/0x8+-parseInt(v(0x19b))/0x9*(parseInt(v(0x18c))/0xa)+parseInt(v(0x18d))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xdb77f));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a51d;if(c){const e=c[w(0x1a1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const x=a51d;return a51a['toString']()['search']('(((.+)+)+)+$')['toString']()[x(0x18b)](a51a)[x(0x18a)](x(0x16e));});a51a();import a51e from'fs';function a51c(){const A=['readFileSync','genSSC','(((.+)+)+)+$','assign','mkKeysDir','stringify','emailUpdate','join','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','env','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','.csr','ssh','ping','Verifying\x20Letsencrypt\x20configuration','toString','22ACppMZ','\x20--email\x20','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','getConfigPath','domains','create','181292GzAPUF','858boZApl','5691528OgwZsv','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','notice','36FhWXgk','776174rJBPhG','search','constructor','10DanAKv','18998100GuANrF','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','sudo\x20snap\x20install\x20--classic\x20certbot','ask','maka\x20ssl\x20<opts>\x20[command]','withSpinner','/ssh.json','generate-ssc','letsencrypt.json','email','62605kAVDZb','fsi','exit','appName','6575571TOjdqH','parse','29706SmUeaP','Using\x20saved\x20letsencrypt\x20config','Email\x20to\x20use\x20for\x20auto-updates:\x20','domainNames','apply','[?]\x20Domains\x20to\x20register:\x20','Remote\x20host\x20connection\x20successful','error','writeFileSync','success','start','New\x20CSR\x20written\x20to\x20','existsSync','Create\x20and\x20manage\x20your\x20SSL\x20operations.'];a51c=function(){return A;};return a51c();}import a51f from'path';import{Actions}from'../tools/actions/actions.class.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x166;let f=c[d];return f;},a51d(a,b);}import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command[a51y(0x182)]({'name':'ssl','usage':a51y(0x191),'validOpts':[a51y(0x181),a51y(0x196)],'requiredOpts':[a51y(0x176)],'shortDesc':a51y(0x16b),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':['maka\x20ssl\x20--env\x20dev\x20generate-csr','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate',a51y(0x17f)]},async function(a,b){const z=a51y,c=this[z(0x198)]['getProjectConfig'](),d=this['fsi'][z(0x180)](b[z(0x176)]),f=this[z(0x198)][z(0x170)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g==='generate-csr')SSL['genCSR']({'keyName':c[z(0x19a)]+'.key','csrName':c[z(0x19a)]+z(0x178),'cwd':f});else{if(g===z(0x194)){if(!a51e[z(0x16a)](a51f[z(0x173)](f,c[z(0x19a)]+'.key')))throw z(0x175)+a51f[z(0x173)](f,c['appName']+'.key');if(!a51e[z(0x16a)](a51f[z(0x173)](f,c['appName']+z(0x178))))throw'The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20'+a51f[z(0x173)](f,c[z(0x19a)]+z(0x178));SSL[z(0x16d)]({'keyName':c[z(0x19a)]+'.key','crtName':c['appName']+'.crt','cwd':f}),Log[z(0x187)](z(0x169)+f);}else{if(g==='letsencrypt'){let h=b[z(0x181)],i=b[z(0x196)];try{const p=a51e['readFileSync'](a51f[z(0x173)](d,z(0x195)))[z(0x17c)](),q=JSON[z(0x19c)](p);h=b['domains']?b[z(0x181)]:q[z(0x1a0)],i=b[z(0x196)]?b[z(0x196)]:q[z(0x172)],(!b[z(0x196)]||!b['domains'])&&Log['notice'](z(0x19e));}catch(r){}const j=JSON['parse'](a51e[z(0x16c)](d+z(0x193))[z(0x17c)]());Object[z(0x16f)](j,{'env':d}),Log[z(0x187)]('Checking\x20remote\x20host\x20availability');try{const s=SSH[z(0x17a)]('uname\x20-a',j);if(!s)throw z(0x177);if(s)Log[z(0x167)](z(0x1a3));}catch(t){Log[z(0x1a4)](t);return;}const k=Log[z(0x192)]();k[z(0x168)](z(0x17b)),SSH[z(0x179)](z(0x18e),{...j}),SSH[z(0x179)](z(0x18f),{...j}),SSH['ssh'](z(0x186),{...j}),k[z(0x167)]();const l=h?h:await Actions[z(0x190)](z(0x1a2)),m=i?i:await Actions[z(0x190)](z(0x19f));SSH[z(0x179)](z(0x174)+l+z(0x17e)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0x171)](n,null,0x2);a51e[z(0x166)](a51f[z(0x173)](d,'letsencrypt.json'),o);}else throw'Please\x20provide\x20a\x20command.';}}}catch(u){console[z(0x1a4)](u),process[z(0x199)](0x0);}});
@@ -1 +1 @@
1
- const a52q=a52d;(function(a,b){const m=a52d,c=a();while(!![]){try{const d=parseInt(m(0xd9))/0x1+-parseInt(m(0xef))/0x2+-parseInt(m(0xdd))/0x3+-parseInt(m(0xfd))/0x4+parseInt(m(0xed))/0x5+parseInt(m(0xfb))/0x6*(-parseInt(m(0x107))/0x7)+-parseInt(m(0xfa))/0x8*(-parseInt(m(0xdc))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xbf2ec));const a52b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a52d;if(c){const e=c[n(0xf0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){const o=a52d;return a52a[o(0x109)]()['search'](o(0xee))[o(0x109)]()[o(0x104)](a52a)[o(0xda)](o(0xee));});a52a();function a52c(){const t=['utf8','meteortesting:mocha','slice','exit','test','getConfigPath','rawLogs','19944632tmiYYw','174tQvHuh','create','4528324JoPCkC','config','openSync','--packages','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','--driver','constructor','packages','engines','357882XfdfaV','warn','toString','unit','error','driver-package','Cannot\x20find\x20Node\x20Environment\x20File:\x20','port','invokeMeteorCommand','parse','concat','join','maka\x20test\x20<opts>','963588eKYUak','search','findProjectDirectory','9OvdXku','3827328knmGWp','fsi','settings.json','env','filter','argv','inspect','splice','development','Node\x20Env\x20Config:\x20','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','driver','--env','sanjo:jasmine','process.env','--full-app','6235000bevpqC','(((.+)+)+)+$','60144vhKAps','apply','driverPackage','none'];a52c=function(){return t;};return a52c();}import a52e from'fs';function a52d(a,b){const c=a52c();return a52d=function(d,e){d=d-0xcf;let f=c[d];return f;},a52d(a,b);}import a52f from'path';import a52g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const p=a52d;a52e[p(0xff)](a,'r'),a52g[p(0xfe)]({'path':a});};Command[a52q(0xfc)]({'name':'test','mustBeInMakaProject':!![],'validOpts':['once',a52q(0x105),a52q(0xe8),a52q(0xf1),a52q(0xcf),'env',a52q(0xf9),a52q(0xd3),a52q(0xe3),'testAppPath'],'usage':a52q(0xd8),'shortDesc':a52q(0xe7),'examples':[]},function(a,b){const r=a52q;try{let c=this[r(0xde)][r(0xf8)](r(0xe5));b['env']&&(c=this[r(0xde)]['getConfigPath'](b[r(0xe0)]));(!b[r(0xcf)]||!!b['once'])&&(a=a['concat']([r(0xec)]));b['unit']&&delete b['unit'];let d=b[r(0xd1)]||b[r(0xe8)]||r(0xf2);if(d===r(0xf2)){const j=JSON[r(0xd5)](a52e['readFileSync'](a52f['join'](this[r(0xde)][r(0xdb)](),'.maka','config.json'),r(0xf3)));if(j[r(0x106)][r(0xf7)]==='jasmine')d=r(0xea);else j[r(0x106)][r(0xf7)]==='mocha'&&(d=r(0xf4));}if(d===r(0xf2))throw r(0x102);(!b[r(0xd1)]||!b[r(0xe8)])&&(a=a[r(0xd6)](['--driver-package',d]));const f=a52f['join'](c,r(0xdf));this[r(0xde)]['isFile'](f)?(Log['notice']('Meteor\x20Settings:\x20'+f),a=a[r(0xd6)](['--settings',f])):Log[r(0x108)](r(0x101)+f);const g=a52f[r(0xd7)](c,r(0xeb));this[r(0xde)]['isFile'](g)?(Log['notice'](r(0xe6)+g),syncSource(g)):Log[r(0x108)](r(0xd2)+g);const h=process[r(0xe2)][r(0xf5)](0x2)['filter'](k=>k!==r(0xe9))[r(0xe1)](k=>k!==r(0xf7))['filter'](k=>k!==a[0x0]);h['forEach']((k,l)=>{const s=r;(k===s(0xe9)||k===s(0x103))&&h['splice'](l,0x2),k===s(0x100)&&h[s(0xe4)](l,0x1);});const i=b[r(0x105)]?'test-packages':r(0xf7);this[r(0xde)][r(0xd4)](i,a[r(0xd6)](h));}catch(k){console[r(0xd0)](k),process[r(0xf6)](0x0);}});
1
+ const a52q=a52d;(function(a,b){const m=a52d,c=a();while(!![]){try{const d=parseInt(m(0x135))/0x1+-parseInt(m(0x119))/0x2*(parseInt(m(0x13f))/0x3)+parseInt(m(0x129))/0x4+-parseInt(m(0x116))/0x5*(-parseInt(m(0x144))/0x6)+-parseInt(m(0x120))/0x7*(-parseInt(m(0x127))/0x8)+-parseInt(m(0x12d))/0x9*(-parseInt(m(0x140))/0xa)+-parseInt(m(0x12e))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x61122));const a52b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a52d;if(c){const e=c[n(0x13d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){const o=a52d;return a52a[o(0x13e)]()[o(0x14d)](o(0x13b))['toString']()[o(0x12f)](a52a)['search']('(((.+)+)+)+$');});a52a();function a52c(){const t=['Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','2cKCTWz','notice','driver-package','utf8','create','Node\x20Env\x20Config:\x20','test-packages','7xHrJvM','splice','engines','none','findProjectDirectory','--settings','settings.json','8608exisuf','--driver-package','875184zLUwAB','concat','--driver','openSync','387495THlcnk','4261719VHZwjC','constructor','invokeMeteorCommand','slice','join','unit','--packages','580816gDOLbL','port','fsi','exit','development','mocha','(((.+)+)+)+$','--env','apply','toString','2105475VBwADC','110jCbalG','filter','test','driverPackage','1182KoSQgX','error','jasmine','config','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','maka\x20test\x20<opts>','driver','rawLogs','env','search','process.env','warn','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','inspect','argv','testAppPath','packages','Cannot\x20find\x20Node\x20Environment\x20File:\x20','5395ddTGsW','once'];a52c=function(){return t;};return a52c();}function a52d(a,b){const c=a52c();return a52d=function(d,e){d=d-0x114;let f=c[d];return f;},a52d(a,b);}import a52e from'fs';import a52f from'path';import a52g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const p=a52d;a52e[p(0x12c)](a,'r'),a52g[p(0x147)]({'path':a});};Command[a52q(0x11d)]({'name':'test','mustBeInMakaProject':!![],'validOpts':[a52q(0x117),a52q(0x114),a52q(0x14a),a52q(0x143),'unit','env',a52q(0x14b),a52q(0x136),a52q(0x151),a52q(0x153)],'usage':a52q(0x149),'shortDesc':a52q(0x118),'examples':[]},function(a,b){const r=a52q;try{let c=this[r(0x137)]['getConfigPath'](r(0x139));b['env']&&(c=this['fsi']['getConfigPath'](b[r(0x14c)]));(!b[r(0x133)]||!!b[r(0x117)])&&(a=a['concat'](['--full-app']));b[r(0x133)]&&delete b['unit'];let d=b[r(0x11b)]||b[r(0x14a)]||r(0x123);if(d===r(0x123)){const j=JSON['parse'](a52e['readFileSync'](a52f[r(0x132)](this[r(0x137)][r(0x124)](),'.maka','config.json'),r(0x11c)));if(j[r(0x122)][r(0x142)]===r(0x146))d='sanjo:jasmine';else j[r(0x122)]['test']===r(0x13a)&&(d='meteortesting:mocha');}if(d===r(0x123))throw r(0x148);(!b['driver-package']||!b[r(0x14a)])&&(a=a[r(0x12a)]([r(0x128),d]));const f=a52f['join'](c,r(0x126));this[r(0x137)]['isFile'](f)?(Log['notice']('Meteor\x20Settings:\x20'+f),a=a[r(0x12a)]([r(0x125),f])):Log[r(0x14f)](r(0x150)+f);const g=a52f[r(0x132)](c,r(0x14e));this[r(0x137)]['isFile'](g)?(Log[r(0x11a)](r(0x11e)+g),syncSource(g)):Log[r(0x14f)](r(0x115)+g);const h=process[r(0x152)][r(0x131)](0x2)[r(0x141)](k=>k!==r(0x13c))[r(0x141)](k=>k!=='test')['filter'](k=>k!==a[0x0]);h['forEach']((k,l)=>{const s=r;(k===s(0x13c)||k===s(0x12b))&&h[s(0x121)](l,0x2),k===s(0x134)&&h[s(0x121)](l,0x1);});const i=b[r(0x114)]?r(0x11f):'test';this[r(0x137)][r(0x130)](i,a[r(0x12a)](h));}catch(k){console[r(0x145)](k),process[r(0x138)](0x0);}});
@@ -1 +1 @@
1
- const a53l=a53d;function a53c(){const n=['getGlobalMeteorVersion','meteor.bat','5672WFjGIf','System\x27s\x20Meteor\x20Version\x20','Maka\x20','node\x20-v','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','----------------------System----------------------------','575108HNAtWw','getProjectMeteorVersion','constructor','replace','toString','exit','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','\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','38kWMxbn','(((.+)+)+)+$','435wMSBpA','bright','9238350gmizWi','Project\x27s\x20Meteor\x20Version\x20','getProjectsMeteorNodeVersion','maka\x20v','version','majestic','create','Project\x27s\x20Meteor\x20Node\x20Version\x20','2619VocEoW','compareMakaToLatest','error','warn','apply','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','1179045VgSceL','isMakaProject','14106oTewtn','fsi','search','----------------------Project----------------------------','39801EGXGoO','4.5.1','106027DYDgmF','notice','meteor','platform'];a53c=function(){return n;};return a53c();}(function(a,b){const i=a53d,c=a();while(!![]){try{const d=parseInt(i(0xfe))/0x1+parseInt(i(0x112))/0x2*(parseInt(i(0xfc))/0x3)+parseInt(i(0x10a))/0x4+-parseInt(i(0x114))/0x5*(-parseInt(i(0x126))/0x6)+parseInt(i(0x124))/0x7+parseInt(i(0x104))/0x8*(parseInt(i(0x11e))/0x9)+-parseInt(i(0x116))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x26695));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a53d;if(c){const e=c[j(0x122)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const k=a53d;return a53a[k(0x10e)]()[k(0x128)](k(0x113))[k(0x10e)]()[k(0x10c)](a53a)[k(0x128)]('(((.+)+)+)+$');});function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0xfc;let f=c[d];return f;},a53d(a,b);}a53a();import{execSync}from'child_process';import a53e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const pjson={'version':a53l(0xfd)};Command[a53l(0x11c)]({'name':a53l(0x11a),'aliases':['v'],'usage':'maka\x20version','maxArgLength':0x1,'validOpts':[],'shortDesc':'Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','examples':[a53l(0x119),'maka\x20version']},async function(){const m=a53l;try{const a=process[m(0x101)]==='win32'?m(0x103):m(0x100);Log[m(0x11b)](m(0x106)+pjson[m(0x11a)]),await this['fsi'][m(0x11f)](),Log[m(0x115)](m(0x109));const b=this[m(0x127)][m(0x102)]();Log[m(0x115)]((m(0x105)+b)[m(0x10d)]('\x0a',''));const c=execSync(a+'\x20node\x20-v')[m(0x10e)]()[m(0x10d)](/\r?\n|\r/,'')['replace']('v','');Log[m(0x115)]('System\x27s\x20Meteor\x27s\x20Node\x20Version\x20'+c);const d=execSync(m(0x107))[m(0x10e)]()['replace'](/\r?\n|\r/,'')['replace']('v','');a53e['gt'](c,d)?(Log[m(0x121)]('System\x27s\x20Node\x20Version\x20'+d),Log['warn'](m(0x110)+d+')\x20to\x20at\x20least\x20meteor\x27s\x20('+c+')')):Log[m(0x115)]('System\x27s\x20Node\x20Version\x20'+d);if(this[m(0x127)][m(0x125)]()){Log['bright'](m(0x129));const f=this[m(0x127)][m(0x10b)]();a53e['gt'](b,f)?(Log['warn'](m(0x117)+f[m(0x10d)]('\x0a','')),Log[m(0x121)](m(0x123)+b+'\x22')):Log[m(0xff)](('Project\x27s\x20Meteor\x20Version\x20'+f)['replace']('\x0a',''));const g=await this[m(0x127)][m(0x118)]();g==='N/A'?(Log[m(0x121)](m(0x11d)+g),Log['warn'](m(0x108))):Log[m(0x115)](m(0x11d)+g),Log[m(0x115)](m(0x111));}}catch(h){console[m(0x120)](h),process[m(0x10f)](0x0);}});
1
+ const a53l=a53d;(function(a,b){const i=a53d,c=a();while(!![]){try{const d=parseInt(i(0x128))/0x1*(-parseInt(i(0x12e))/0x2)+-parseInt(i(0x127))/0x3+parseInt(i(0x118))/0x4*(-parseInt(i(0x126))/0x5)+parseInt(i(0x122))/0x6*(parseInt(i(0x13f))/0x7)+parseInt(i(0x136))/0x8*(parseInt(i(0x137))/0x9)+parseInt(i(0x11a))/0xa*(-parseInt(i(0x115))/0xb)+parseInt(i(0x13e))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xe35a0));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a53d;if(c){const e=c[j(0x125)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const k=a53d;return a53a[k(0x138)]()[k(0x129)](k(0x11b))[k(0x138)]()[k(0x134)](a53a)['search'](k(0x11b));});a53a();import{execSync}from'child_process';import a53e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x115;let f=c[d];return f;},a53d(a,b);}function a53c(){const n=['\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','4741gCFNjL','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','replace','219884SxyPOx','create','2770gTLUxN','(((.+)+)+)+$','System\x27s\x20Node\x20Version\x20','Project\x27s\x20Meteor\x20Node\x20Version\x20','bright','----------------------Project----------------------------','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','Maka\x20','116772TwHSPn','warn','notice','apply','85iPeJji','2192715qyDKge','541673mryoar','search','----------------------System----------------------------','\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','System\x27s\x20Meteor\x20Version\x20','error','6IwNkHB','exit','Project\x27s\x20Meteor\x20Version\x20','fsi','maka\x20version','win32','constructor','4.5.2','819440JHUppZ','45nxoazR','toString','getGlobalMeteorVersion','isMakaProject','maka\x20v','version','getProjectMeteorVersion','42910728BYWQAC','91kbaUdy'];a53c=function(){return n;};return a53c();}const pjson={'version':a53l(0x135)};Command[a53l(0x119)]({'name':a53l(0x13c),'aliases':['v'],'usage':'maka\x20version','maxArgLength':0x1,'validOpts':[],'shortDesc':'Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','examples':[a53l(0x13b),a53l(0x132)]},async function(){const m=a53l;try{const a=process['platform']===m(0x133)?'meteor.bat':'meteor';Log['majestic'](m(0x121)+pjson[m(0x13c)]),await this[m(0x131)]['compareMakaToLatest'](),Log['bright'](m(0x12a));const b=this['fsi'][m(0x139)]();Log[m(0x11e)]((m(0x12c)+b)[m(0x117)]('\x0a',''));const c=execSync(a+'\x20node\x20-v')[m(0x138)]()[m(0x117)](/\r?\n|\r/,'')[m(0x117)]('v','');Log[m(0x11e)](m(0x116)+c);const d=execSync('node\x20-v')[m(0x138)]()[m(0x117)](/\r?\n|\r/,'')[m(0x117)]('v','');a53e['gt'](c,d)?(Log[m(0x123)](m(0x11c)+d),Log['warn'](m(0x120)+d+')\x20to\x20at\x20least\x20meteor\x27s\x20('+c+')')):Log[m(0x11e)](m(0x11c)+d);if(this[m(0x131)][m(0x13a)]()){Log[m(0x11e)](m(0x11f));const f=this[m(0x131)][m(0x13d)]();a53e['gt'](b,f)?(Log['warn'](m(0x130)+f['replace']('\x0a','')),Log[m(0x123)]('\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20'+b+'\x22')):Log[m(0x124)]((m(0x130)+f)['replace']('\x0a',''));const g=await this[m(0x131)]['getProjectsMeteorNodeVersion']();g==='N/A'?(Log[m(0x123)](m(0x11d)+g),Log[m(0x123)](m(0x140))):Log[m(0x11e)]('Project\x27s\x20Meteor\x20Node\x20Version\x20'+g),Log[m(0x11e)](m(0x12b));}}catch(h){console[m(0x12d)](h),process[m(0x12f)](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a54d,c=a();while(!![]){try{var d=-parseInt(f(0x7a))/0x1+parseInt(f(0x7f))/0x2*(parseInt(f(0x8a))/0x3)+-parseInt(f(0x80))/0x4*(parseInt(f(0x7d))/0x5)+parseInt(f(0x84))/0x6*(parseInt(f(0x7e))/0x7)+-parseInt(f(0x82))/0x8*(parseInt(f(0x87))/0x9)+parseInt(f(0x83))/0xa+-parseInt(f(0x89))/0xb*(-parseInt(f(0x81))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x8cded));function a54d(a,b){var c=a54c();return a54d=function(d,e){d=d-0x7a;var f=c[d];return f;},a54d(a,b);}function a54c(){var i=['1485KPuxSe','(((.+)+)+)+$','165fGPSwi','9366Fqmkil','1103974eCnmLi','apply','toString','245kHVoDr','19537FJYSRL','512wbNGiE','48620OVrpSu','1000044IfyKec','53368xIquZo','9484260lLxrcR','816bopRrb','search','constructor'];a54c=function(){return i;};return a54c();}var a54b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a54d;if(c){var e=c[g(0x7b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){var h=a54d;return a54a[h(0x7c)]()[h(0x85)](h(0x88))[h(0x7c)]()[h(0x86)](a54a)[h(0x85)](h(0x88));});a54a();export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
1
+ function a54d(a,b){var c=a54c();return a54d=function(d,e){d=d-0xec;var f=c[d];return f;},a54d(a,b);}function a54c(){var i=['16030220jKiJhU','4544224HoECdV','672UMBpxd','apply','(((.+)+)+)+$','1356IxCKbd','21130eiVEXJ','toString','5424251pvHTwm','search','14156xAJWMn','9DIXlYv','1836ZZwGIW','15637QfFUrt','10OuDhpb','433081HwkDoI'];a54c=function(){return i;};return a54c();}(function(a,b){var f=a54d,c=a();while(!![]){try{var d=-parseInt(f(0xf8))/0x1*(parseInt(f(0xf9))/0x2)+parseInt(f(0xed))/0x3*(parseInt(f(0xf5))/0x4)+parseInt(f(0xf1))/0x5*(-parseInt(f(0xf7))/0x6)+-parseInt(f(0xf3))/0x7+-parseInt(f(0xec))/0x8+parseInt(f(0xf6))/0x9*(-parseInt(f(0xfb))/0xa)+parseInt(f(0xfa))/0xb*(parseInt(f(0xf0))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xe1ad7));var a54b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a54d;if(c){var e=c[g(0xee)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){var h=a54d;return a54a[h(0xf2)]()[h(0xf4)](h(0xef))[h(0xf2)]()['constructor'](a54a)['search'](h(0xef));});a54a();export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}