@maka/maka-cli 4.5.2 → 4.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 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
+ const a35s=a35d;(function(a,b){const p=a35d,c=a();while(!![]){try{const d=parseInt(p(0x1c6))/0x1+parseInt(p(0x1aa))/0x2*(-parseInt(p(0x1a4))/0x3)+-parseInt(p(0x1bc))/0x4*(-parseInt(p(0x1bb))/0x5)+parseInt(p(0x1c9))/0x6+parseInt(p(0x1b3))/0x7+parseInt(p(0x1bd))/0x8*(-parseInt(p(0x1b8))/0x9)+-parseInt(p(0x1b9))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0x84a6d));function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x19f;let f=c[d];return f;},a35d(a,b);}const a35b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a35d;if(c){const e=c[q(0x1c7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const r=a35d;return a35a[r(0x1b7)]()[r(0x1ad)]('(((.+)+)+)+$')[r(0x1b7)]()[r(0x1ab)](a35a)['search']('(((.+)+)+)+$');});a35a();import a35e from'path';import{ESLint}from'eslint';import{Log}from'../tools/log/log.class.js';function a35c(){const u=['length','maka\x20lint\x20--fix','bright','3qjnRYQ','lint','format','fsi','imports','All\x20good!\x20:)','1641716OkseCU','constructor','findAppDirectory','search','installNpmPackage','.eslintrc.json','eslint-plugin-css','lintFiles','Lint\x20results\x20for\x20','5572511eXBDho','fix','maka\x20lint','notice','toString','9oovbeS','23547170eeJChX','push','5155JBgbeY','3728BHGUbn','43152yKXkHu','error','service','join','outputFixes','success','\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','stylish','isFile','903239aeTLUq','apply','eslint','6384636MWIPin','eslint-plugin-react','checkNpmPackage'];a35c=function(){return u;};return a35c();}import{Command}from'../command.js';Command['create']({'name':a35s(0x1a5),'usage':a35s(0x1b5),'maxArgLength':0x1,'validOpts':[a35s(0x1b4)],'mustBeInMakaProject':!![],'shortDesc':'Use\x20ESLint\x20to\x20lint\x20the\x20imports\x20directory','description':a35s(0x1c3),'examples':[a35s(0x1a2)]},async function(a,b){const t=a35s;try{const c=this[t(0x1a7)][t(0x1ac)](),d=this[t(0x1a7)][t(0x1a0)](t(0x1c8)),f=this[t(0x1a7)]['checkNpmPackage']('eslint-plugin-react'),g=this[t(0x1a7)][t(0x1a0)](t(0x1b0)),h=[];!d&&h[t(0x1ba)](t(0x1c8));!f&&h[t(0x1ba)](t(0x19f));!g&&h['push'](t(0x1b0));h[t(0x1a1)]>0x0&&await this[t(0x1a7)][t(0x1ae)](h[t(0x1c0)]('\x20'),{'dev':!![]});const i=this['fsi'][t(0x1c5)](a35e[t(0x1c0)](c,t(0x1af)));if(!i){const n={'noRename':!![]};await this['fsi']['template']({'srcPath':'eslint/eslintrc.json','destPath':a35e[t(0x1c0)](c,'.eslintrc.json'),'framework':t(0x1bf),'context':n});}const j=new ESLint(),k=await j[t(0x1b1)]([a35e[t(0x1c0)](c,t(0x1a8),'**')]),l=await j['loadFormatter'](t(0x1c4)),m=l[t(0x1a6)](k);m[t(0x1a1)]>0x0?Log[t(0x1a3)](m):Log[t(0x1c2)](t(0x1a9)),Log[t(0x1b6)](t(0x1b2)+c+'/imports'),b[t(0x1b4)]?await ESLint[t(0x1c1)](k):Log[t(0x1b6)]('Run\x20\x22maka\x20lint\x20--fix\x22\x20to\x20auto\x20fix');}catch(o){console[t(0x1be)](o);}});
@@ -1 +1 @@
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
+ const a36z=a36d;function a36c(){const B=['678538erIWFm','www.maka-cli.com','post','1660620lFrpzm','isFile','email','123QypiwT','password','5IIKfkz','91WWLpmB','get','(((.+)+)+)+$','constructor','header','create','login','/api/v1/encodeJwt','297hPJuju','assign','MAKA_DEV','https://','getGlobalConfig','toString','env','success','3666690FFkJCY','withSpinner','help','9NWfwYE','Logging\x20into\x20https://','failure','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','cacert','/api/v1/status','digest','39768YmRHns','688536lhRiOX','setGlobalConfig','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','fsi','exit','\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','localhost','2939068DddazG','Email:','authToken','notice','start','/api/v1/login','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','2110AeiLss','search','ask','Preflight\x20Check','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','error','toHex','cert','Logging\x20in','16lftXsY','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','apply','Using\x20CA\x20Cert\x20','maka\x20login','parse'];a36c=function(){return B;};return a36c();}(function(a,b){const w=a36d,c=a();while(!![]){try{const d=-parseInt(w(0x1fa))/0x1*(-parseInt(w(0x1da))/0x2)+-parseInt(w(0x1ef))/0x3*(parseInt(w(0x1ca))/0x4)+-parseInt(w(0x1f1))/0x5*(-parseInt(w(0x1ec))/0x6)+parseInt(w(0x1e9))/0x7*(-parseInt(w(0x1e3))/0x8)+parseInt(w(0x1c3))/0x9*(parseInt(w(0x1c0))/0xa)+parseInt(w(0x1d3))/0xb+parseInt(w(0x1cb))/0xc*(-parseInt(w(0x1f2))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x35e9a));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a36d;if(c){const e=c[x(0x1e5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const y=a36d;return a36a[y(0x1bd)]()['search'](y(0x1f4))[y(0x1bd)]()[y(0x1f5)](a36a)[y(0x1db)](y(0x1f4));});a36a();import a36e from'node-forge';import{Command}from'../command.js';function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x1bc;let f=c[d];return f;},a36d(a,b);}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(0x1be)][a36z(0x1fc)]==='True'?a36z(0x1d2):a36z(0x1ea);Command[a36z(0x1f7)]({'name':a36z(0x1f8),'validOpts':[a36z(0x1ee),'password',a36z(0x1c2),'cacert','debug'],'usage':a36z(0x1e7),'maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a36z(0x1e4),'examples':[a36z(0x1e7),a36z(0x1c6)]},async function(a,b){const A=a36z,c=Log[A(0x1c1)]();try{let d='';b[A(0x1c7)]&&(this[A(0x1ce)][A(0x1ed)](b['cacert'])?(d=b[A(0x1c7)],Log[A(0x1d6)](A(0x1e6)+d)):Log['error'](A(0x1de)+d));const f=await this[A(0x1ce)][A(0x1bc)]();if(f[A(0x1e1)]){if(this['fsi'][A(0x1ed)](f[A(0x1e1)]))d=f['cert'];else{Log[A(0x1df)](A(0x1d9)+d);return;}}Log[A(0x1f6)](A(0x1c4)+hostname);const g={'url':A(0x1fd)+hostname+A(0x1c8)};b[A(0x1c7)]&&Object[A(0x1fb)](g,{'cert':d});c[A(0x1d7)](A(0x1dd));const {statusCode:h}=await HTTPS[A(0x1f3)](g);if(h===0x198){c['failure']();throw A(0x1cd);}if(h!==0xc8){c[A(0x1c5)]();throw A(0x1fd)+hostname+A(0x1d0);}c[A(0x1bf)]();const i=b['email']?b[A(0x1ee)]:await Actions[A(0x1dc)](A(0x1d4)),j=b[A(0x1f0)]?b[A(0x1f0)]:await Actions[A(0x1dc)]('Password:\x20',!![]),k=a36e['md']['sha256'][A(0x1f7)]();k['update'](j);const l=k[A(0x1c9)]()[A(0x1e0)](),m={'hostname':hostname,'path':A(0x1d8),'data':{'email':i,'password':l,'hashed':!![]}};b[A(0x1c7)]&&Object['assign'](m,{'cert':d});c[A(0x1d7)](A(0x1e2));const {data:n,statusCode:o}=await HTTPS[A(0x1eb)](m);if(o===0x198){c[A(0x1c5)]('\x0a');throw A(0x1d1)+hostname;}const p=JSON[A(0x1e8)](n);if(p[A(0x1d5)]){const q={'hostname':hostname,'path':A(0x1f9),'headers':{'x-auth-token':p[A(0x1d5)]},'data':{}};b['cacert']&&Object[A(0x1fb)](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS[A(0x1eb)](q),{token:t}=JSON[A(0x1e8)](r);if(s===0x198)throw A(0x1d1)+hostname;const u={'token':p,'hash':t};this[A(0x1ce)][A(0x1cc)](u);}else{c[A(0x1c5)]();throw p;}c[A(0x1bf)]();}catch(v){c[A(0x1c5)](),console['error'](v),process[A(0x1cf)](0x0);}});
@@ -1 +1 @@
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
+ const a37o=a37d;(function(a,b){const l=a37d,c=a();while(!![]){try{const d=-parseInt(l(0x104))/0x1*(parseInt(l(0x107))/0x2)+-parseInt(l(0x132))/0x3*(parseInt(l(0x108))/0x4)+-parseInt(l(0x12f))/0x5*(-parseInt(l(0x116))/0x6)+-parseInt(l(0x103))/0x7+-parseInt(l(0x113))/0x8*(parseInt(l(0x12e))/0x9)+-parseInt(l(0x118))/0xa+parseInt(l(0x10a))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xc497b));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a37d;if(c){const e=c[m(0x10d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const n=a37d;return a37a[n(0x12b)]()[n(0x106)](n(0x123))['toString']()[n(0x129)](a37a)[n(0x106)]('(((.+)+)+)+$');});function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x103;let f=c[d];return f;},a37d(a,b);}a37a();import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';function a37c(){const q=['env','45659691DtHlJV','get','Preflight\x20Check','apply','/api/v1/status','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','https://','getGlobalConfig','7784152NEUThU','post','assign','1944uUqnYO','authToken','1886380GHpTCE','isFile','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','error','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','exit','fsi','failure','MAKA_DEV','header','/api/v1/logoutAll','(((.+)+)+)+$','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','withSpinner','cacert','cert','setGlobalConfig','constructor','maka\x20logout','toString','start','success','9KAFLbQ','3420bfHYLX','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','www.maka-cli.com','39AZkNiz','localhost','486360QIjGKu','1wkjXlm','token','search','2682740GVwCzS','306076fBYVCr'];a37c=function(){return q;};return a37c();}const hostname=process[a37o(0x109)][a37o(0x120)]==='True'?a37o(0x133):a37o(0x131);Command['create']({'name':'logout','validOpts':['cacert'],'usage':a37o(0x12a),'maxArgLength':0x2,'shortDesc':a37o(0x11c),'disableAuthCheck':!![],'examples':[a37o(0x12a)]},async function(a,b){const p=a37o,c=Log[p(0x125)]();try{let d='';b[p(0x126)]&&(this[p(0x11e)][p(0x119)](b[p(0x126)])?(d=b[p(0x126)],Log['notice']('Using\x20CA\x20Cert\x20'+d)):Log[p(0x11b)](p(0x11a)+d));const f=await this[p(0x11e)][p(0x112)]();if(f[p(0x127)]){if(this[p(0x11e)][p(0x119)](f['cert']))d=f[p(0x127)];else{c['failure']();throw Log[p(0x11b)](p(0x130)+d);}}Log[p(0x121)]('Logging\x20out\x20of\x20https://'+hostname);const g={'url':p(0x111)+hostname+p(0x10e)};b[p(0x126)]&&Object[p(0x115)](g,{'cert':d});c[p(0x12c)](p(0x10c));const {statusCode:h}=await HTTPS[p(0x10b)](g);if(h===0x198){c[p(0x11f)]();throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}c['success']();if(h!==0xc8){c[p(0x11f)]();throw p(0x10f);}if(!f?.[p(0x105)]?.[p(0x117)])throw Log['error'](p(0x124));c[p(0x12c)]('Logging\x20out');const i={'hostname':hostname,'path':p(0x122),'data':{},'headers':{'x-auth-token':f[p(0x105)][p(0x117)]}};b[p(0x126)]&&Object[p(0x115)](i,{'cert':d});const {statusCode:j}=await HTTPS[p(0x114)](i);if(j===0x198){c[p(0x11f)]('\x0a');throw p(0x110);}this[p(0x11e)][p(0x128)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[p(0x12d)]();}catch(k){k&&console[p(0x11b)](k),process[p(0x11d)](0x0);}});
@@ -1 +1 @@
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
+ const a38k=a38d;(function(a,b){const h=a38d,c=a();while(!![]){try{const d=-parseInt(h(0x128))/0x1+-parseInt(h(0x129))/0x2+parseInt(h(0x133))/0x3+-parseInt(h(0x11d))/0x4*(parseInt(h(0x11e))/0x5)+parseInt(h(0x126))/0x6+parseInt(h(0x12e))/0x7*(-parseInt(h(0x11b))/0x8)+parseInt(h(0x12d))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xdb5ea));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a38d;if(c){const e=c[i(0x12b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const j=a38d;return a38a['toString']()['search'](j(0x130))[j(0x134)]()[j(0x11c)](a38a)['search'](j(0x130));});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-0x11b;let f=c[d];return f;},a38d(a,b);}Command[a38k(0x122)]({'name':a38k(0x120),'aliases':['l','log'],'usage':a38k(0x124),'requiredOpts':[a38k(0x125)],'mustBeInMakaProject':!![],'validOpts':[''],'shortDesc':a38k(0x12a),'examples':[a38k(0x132),a38k(0x131),a38k(0x135)]},function(a,b){const l=a38k,c=l(0x12f),d=this[l(0x123)]['getConfigPath'](b['env']),e=a38f[l(0x121)](d,l(0x12c)),f=a38e['readFileSync'](e),g=JSON[l(0x11f)](f[l(0x134)]());Object[l(0x127)](g,{'env':d}),SSH['sshSync'](c,g,{'tty':!![],'verbose':!![]});});function a38c(){const m=['ssh.json','14744124IyNyGu','7eSHhHC','pm2\x20logs','(((.+)+)+)+$','maka\x20logs\x20--env\x20staging','maka\x20logs\x20--env\x20dev','1470618GtLAbx','toString','maka\x20l\x20-e\x20p','13843024iLLebJ','constructor','1047188XAkGRq','5htsViO','parse','logs','join','create','fsi','maka\x20logs','env','9907782cvYRmP','assign','509055XWNZyM','759942ExyoYO','View\x20the\x20PM2\x20logs','apply'];a38c=function(){return m;};return a38c();}
@@ -1 +1 @@
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
+ const a39i=a39d;(function(a,b){const g=a39d,c=a();while(!![]){try{const d=-parseInt(g(0x1a0))/0x1+parseInt(g(0x19f))/0x2+parseInt(g(0x1a3))/0x3*(parseInt(g(0x1a9))/0x4)+-parseInt(g(0x1a8))/0x5+-parseInt(g(0x1a5))/0x6+-parseInt(g(0x194))/0x7+parseInt(g(0x198))/0x8*(parseInt(g(0x196))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xc382b));function a39c(){const k=['toString','2279378fRCXig','956198PJIMWx','findSubCommand','constructor','2630658ffCMfm','maka\x20run','5848548WccilA','(((.+)+)+)+$','exit','4810580slXaRy','4SMFzFQ','maka\x20<command>\x20[<args>]\x20[<opts>]','maka\x20install\x20meteor','9187563PPvfGN','runSubCommand','26908353XBucqI','maka','8hoSPDF','search','maka\x20create\x20Todo','fsi','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','maka\x20--help'];a39c=function(){return k;};return a39c();}const a39b=(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;};}()),a39a=a39b(this,function(){const h=a39d;return a39a['toString']()['search']('(((.+)+)+)+$')[h(0x19e)]()[h(0x1a2)](a39a)[h(0x199)](h(0x1a6));});function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x192;let f=c[d];return f;},a39d(a,b);}a39a();import{Command}from'../command.js';const Maka=new Command({'name':a39i(0x197),'minArgLength':0x1,'shortDesc':a39i(0x19c),'validOpts':[],'usage':a39i(0x192),'disableAuthCheck':!![],'examples':[a39i(0x19d),a39i(0x193),a39i(0x19a),a39i(0x1a4)],'description':'\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'},async function(a,b){const j=a39i;try{const c=a[0x0],d=this[j(0x1a1)](c);d?this[j(0x195)](c,a['slice'](0x1),b):this[j(0x19b)]['maybeProxyCommandToMeteor']();}catch(f){console['error'](f),process[j(0x1a7)](0x1);}});export default Maka;
@@ -1 +1 @@
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
+ var a40h=a40d;(function(a,b){var f=a40d,c=a();while(!![]){try{var d=parseInt(f(0x122))/0x1+-parseInt(f(0x125))/0x2*(parseInt(f(0x120))/0x3)+-parseInt(f(0x11f))/0x4*(-parseInt(f(0x12d))/0x5)+parseInt(f(0x12a))/0x6*(parseInt(f(0x12e))/0x7)+parseInt(f(0x126))/0x8+-parseInt(f(0x11b))/0x9*(parseInt(f(0x11e))/0xa)+-parseInt(f(0x121))/0xb*(-parseInt(f(0x119))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x815ce));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[g(0x128)]()['search'](g(0x129))[g(0x128)]()[g(0x123)](a40a)[g(0x11c)]('(((.+)+)+)+$');});a40a();function a40d(a,b){var c=a40c();return a40d=function(d,e){d=d-0x118;var f=c[d];return f;},a40d(a,b);}import{Command}from'../command.js';function a40c(){var j=['exit','maka\x20murder','216110qNnGtY','1568RsiRAO','create','font-family:\x20monospace','1110948qeJNDe','%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','9GCwzXn','search','murder','10059570wdYRBJ','12aXjimE','75vKhsyy','44GrOkEA','813405gWNeXO','constructor','Murrrrderrrrr','48460frXiRa','6568176DLuQjr','error','toString','(((.+)+)+)+$','192EGezPi'];a40c=function(){return j;};return a40c();}Command[a40h(0x12f)]({'name':a40h(0x11d),'usage':a40h(0x12c),'maxArgLength':0x1,'shortDesc':a40h(0x124),'validOpts':[]},async function(){var i=a40h;try{console['log'](i(0x11a),i(0x118));}catch(a){console[i(0x127)](a),process[i(0x12b)](0x0);}});
@@ -1 +1 @@
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
+ const a41q=a41d;(function(a,b){const n=a41d,c=a();while(!![]){try{const d=-parseInt(n(0x12c))/0x1*(parseInt(n(0x130))/0x2)+-parseInt(n(0x124))/0x3*(parseInt(n(0x125))/0x4)+parseInt(n(0x143))/0x5*(-parseInt(n(0x140))/0x6)+-parseInt(n(0x127))/0x7+-parseInt(n(0x132))/0x8*(-parseInt(n(0x134))/0x9)+-parseInt(n(0x14d))/0xa*(parseInt(n(0x14b))/0xb)+parseInt(n(0x12e))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xb242e));function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x11c;let f=c[d];return f;},a41d(a,b);}const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a41d;if(c){const e=c[o(0x128)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const p=a41d;return a41a['toString']()[p(0x13f)](p(0x145))[p(0x13b)]()[p(0x14c)](a41a)[p(0x13f)](p(0x145));});a41a();import a41e from'fs';import a41f from'path';import a41g from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a41c(){const s=['error','.csr','targetHost','maka\x20proxy\x20--target-host\x20http://192.168.1.20','createProxyServer','3sMFdte','2063000yqLdGB','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','2688126OXckUR','apply','development','localhost','sslconfig','795943FpBnlV','findGenerator','40008012HeCnmq','isFile','2hUfdHy','listenPort','14720rOjvGC','genCSR','2304iZMedg','.crt','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','targetPort','bright','fsi','join','toString','help','genSSC','=>\x20SSL\x20Proxy\x20forwarding\x20','search','685578fQqKqG','utf8','readFileSync','35rAGAwD','mkKeysDir','(((.+)+)+)+$','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','getConfigPath','appName','create','\x20to\x20','6372641wFbRol','constructor','10MProbR','maka\x20proxy','listen','.key'];a41c=function(){return s;};return a41c();}import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';import a41h from'../generators/maka.gen.js';Command[a41q(0x149)]({'name':'proxy','usage':a41q(0x11c),'mustBeInMakaProject':!![],'validOpts':[a41q(0x13c),a41q(0x137),a41q(0x131),a41q(0x121)],'maxArgLength':0x1,'shortDesc':a41q(0x126),'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':[a41q(0x11c),a41q(0x146),a41q(0x122)]},async function(a,b){const r=a41q,c=this[r(0x139)]['getProjectConfig'](),d=r(0x129),e=this[r(0x139)][r(0x147)](d),f=this[r(0x139)][r(0x144)]({'configPath':e}),g=b[r(0x137)]?b['targetPort']:0xbb8,h=b[r(0x131)]?b['listenPort']:0xd73,i=b[r(0x121)]?b['targetHost']:r(0x12a),j=a41f[r(0x13a)](f,c[r(0x148)]+r(0x11e)),k=a41f['join'](f,c[r(0x148)]+'.crt');if(!this['fsi'][r(0x12f)](j)||!this[r(0x139)][r(0x12f)](k)){const m=a41h[r(0x12d)](r(0x12b));m&&await m['invoke']([r(0x12b)],{'env':d}),SSL[r(0x133)]({'keyName':c[r(0x148)]+r(0x11e),'csrName':c[r(0x148)]+r(0x120),'cwd':f}),SSL[r(0x13d)]({'keyName':c[r(0x148)]+r(0x11e),'crtName':c[r(0x148)]+r(0x135),'cwd':f});}if(g===h){Log[r(0x11f)](r(0x136));throw new UsageError();}const l={'ssl':{'key':a41e['readFileSync'](j,'utf8'),'cert':a41e[r(0x142)](k,r(0x141))},'target':{'host':i,'port':g},'ws':!![],'xfwd':!![]};a41g[r(0x123)](l)[r(0x11d)](h),Log[r(0x138)](r(0x13e)+h+r(0x14a)+g);});
@@ -1 +1 @@
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
+ const a42q=a42d;(function(a,b){const n=a42d,c=a();while(!![]){try{const d=parseInt(n(0x131))/0x1*(-parseInt(n(0x142))/0x2)+parseInt(n(0x13d))/0x3+-parseInt(n(0x12a))/0x4+-parseInt(n(0x12b))/0x5*(parseInt(n(0x13f))/0x6)+-parseInt(n(0x139))/0x7+-parseInt(n(0x13c))/0x8*(-parseInt(n(0x128))/0x9)+-parseInt(n(0x130))/0xa*(-parseInt(n(0x127))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x98d9b));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a42d;if(c){const e=c[o(0x132)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const p=a42d;return a42a[p(0x14f)]()['search'](p(0x146))[p(0x14f)]()[p(0x14a)](a42a)[p(0x134)](p(0x146));});a42a();import a42e from'fs';import a42f from'path';function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x125;let f=c[d];return f;},a42d(a,b);}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a42c(){const s=['sshSync','(((.+)+)+)+$','Reconfigure\x20your\x20deployed\x20applications','ssh','getConfigPath','constructor','notice','reconfig','~/settings.json','readFileSync','toString','ssh.json','scp','error','7078797FGYanY','9zwfxuy','~/ses.json','4172544jjpQBY','295YxfGDl','settings.json','maka\x20reconfig\x20--env\x20prod','~/pm2.config.js','pm2.config.js','20UcQvaD','2yXeOjH','apply','uname\x20-a','search','Remote\x20host\x20connection\x20successful','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','assign','exit','1986033ZSQhdc','join','_keys','7892440HETKya','2344956wicuBJ','env','95058sIpxxn','maka\x20reconfig','Checking\x20remote\x20host\x20availability','167594rODSLk','pm2\x20delete\x20all','create'];a42c=function(){return s;};return a42c();}import{SSH}from'../tools/ssh/ssh.class.js';Command[a42q(0x144)]({'name':a42q(0x14c),'validOpts':[''],'requiredOpts':['env'],'mustBeInMakaProject':!![],'usage':a42q(0x140),'shortDesc':a42q(0x147),'description':'\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','examples':[a42q(0x12d)]},async function(a,b){const r=a42q;try{const c=this['fsi'][r(0x149)](b[r(0x13e)]),d=a42f['join'](c,r(0x150)),f=a42e[r(0x14e)](d)[r(0x14f)](),g=JSON['parse'](f);Object[r(0x137)](g,{'env':c}),Log[r(0x14b)](r(0x141));const h=SSH['ping'](r(0x133),g);if(!h)throw r(0x136);if(h)Log['success'](r(0x135));const i=a42f[r(0x13a)](c,r(0x13b),'ses.json');if(a42e['existsSync'](i)){const l={'source':i,'dest':r(0x129),'verbose':!![]};SSH[r(0x125)](l,{...g});}const j=a42f['join'](c,r(0x12f));SSH[r(0x125)]({'source':j,'dest':r(0x12e),'verbose':!![]},{...g});const k=a42f[r(0x13a)](c,r(0x12c));SSH['scp']({'source':k,'dest':r(0x14d),'verbose':!![]},{...g}),SSH[r(0x145)](r(0x143),g),await SSH[r(0x148)]('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[r(0x126)](m),process[r(0x138)](0x0);}});
@@ -1 +1 @@
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
+ (function(a,b){var f=a43d,c=a();while(!![]){try{var d=parseInt(f(0x97))/0x1*(-parseInt(f(0x9c))/0x2)+-parseInt(f(0xa0))/0x3+-parseInt(f(0x98))/0x4*(-parseInt(f(0x9f))/0x5)+parseInt(f(0x95))/0x6*(parseInt(f(0x92))/0x7)+-parseInt(f(0x9d))/0x8+parseInt(f(0x9b))/0x9*(parseInt(f(0x9e))/0xa)+-parseInt(f(0x93))/0xb*(-parseInt(f(0x9a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x7207b));function a43c(){var i=['39960XZBkMo','19725ApxWOX','2234406Dvavuh','(((.+)+)+)+$','apply','7sSzDNC','374qXBoMK','toString','4856034PRmNiH','constructor','143251buqpqC','284rOTeMt','search','161676eobscf','1350FoAluK','2msjczq','6334368JFnVjO'];a43c=function(){return i;};return a43c();}var a43b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a43d;if(c){var e=c[g(0x91)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){var h=a43d;return a43a[h(0x94)]()[h(0x99)](h(0xa1))[h(0x94)]()[h(0x96)](a43a)[h(0x99)](h(0xa1));});function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0x91;var f=c[d];return f;},a43d(a,b);}a43a();import'./run.command.js';import'./docker.sub.cmd.js';
@@ -1 +1 @@
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
+ const a44l=a44d;(function(a,b){const i=a44d,c=a();while(!![]){try{const d=-parseInt(i(0x1fe))/0x1+-parseInt(i(0x1ee))/0x2*(parseInt(i(0x1e5))/0x3)+-parseInt(i(0x1f4))/0x4+-parseInt(i(0x1e2))/0x5+parseInt(i(0x1e8))/0x6*(parseInt(i(0x1f5))/0x7)+parseInt(i(0x1fa))/0x8*(parseInt(i(0x1e3))/0x9)+parseInt(i(0x1eb))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x451d0));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a44d;if(c){const e=c[j(0x1fb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const k=a44d;return a44a[k(0x1f0)]()[k(0x1e9)](k(0x1f8))[k(0x1f0)]()[k(0x1ff)](a44a)[k(0x1e9)]('(((.+)+)+)+$');});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 a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x1de;let f=c[d];return f;},a44d(a,b);}import{Command}from'../../command.js';import{paramCase}from'change-case';function a44c(){const n=['fsi','notice','1586824cLrkvV','2298289QUyddp','\x20up\x20--remove-orphans','PM2\x20Config\x20File:\x20','(((.+)+)+)+$','docker','547888YSzWNQ','apply','createFile','getConfigPath','127826CrvEtd','constructor','templateContent','existsSync','config/docker-compose.yaml','docker-compose.yaml','442210CfvOjU','63CsSyAL','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','3iuOmus','inherit','pm2.config.js','6iukRON','search','join','2578040HxsGri','exit','Docker\x20Compose\x20Path:\x20','338942CBcPUw','docker-compose\x20--project-directory\x20','toString','appName'];a44c=function(){return n;};return a44c();}Command['create']({'name':a44l(0x1f9),'aliases':['d'],'shortDesc':a44l(0x1e4),'description':'\x0a\x20\x20Run\x20your\x20application\x20in\x20a\x20Docker\x20container.\x20\x20Docker\x20Desktop\x20or\x20Colmia\x20is\x20required.\x0a\x0a\x20\x20Colima\x20is\x20a\x20great\x20alternative\x20to\x20Docker\x20Desktop,\x20and\x20it\x20is\x20free!\x0a\x20\x20Colima:\x20https://github.com/abiosoft/colima\x0a\x0a\x0a\x20\x20A\x20docker-compose.yml\x20file\x20(location\x20defaulted\x20to\x20the\x20\x22config/docker\x22\x20folder)\x0a\x20\x20is\x20used\x20to\x20startup\x20mongo\x20and\x20load\x20the\x20built\x20image\x27\x0a\x20\x20','usage':'maka\x20run\x20docker','validOpts':['']},async function(){const m=a44l;try{const a=this[m(0x1f2)]['getProjectConfig'](),b=this['fsi'][m(0x1fd)](m(0x1f9)),c=a44f[m(0x1ea)](b,m(0x1e1)),d=a44f[m(0x1ea)](b,m(0x1e7));Log['notice'](m(0x1f7)+d),Log[m(0x1f3)](m(0x1ed)+c);if(!a44g[m(0x1df)](c)){const f={'app':a['appName'],'appFileCase':paramCase(a[m(0x1f1)])},g=this[m(0x1f2)][m(0x1de)]({'srcPath':m(0x1e0),'context':f})+'\x0a';this[m(0x1f2)][m(0x1fc)]({'filePath':c,'data':g});}execSync(m(0x1ef)+b+m(0x1f6),{'stdio':m(0x1e6)});}catch(h){process[m(0x1ec)](0x1);}},a44e);
@@ -1 +1 @@
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
+ function a45c(){const w=['notice','findProjectDirectory','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','ios','findSubCommand','join','(((.+)+)+)+$','splice','forEach','mobile-server','port','930467uGqJHM','invokeMeteorCommand','inspect','rawLogs','search','runSubCommand','6473173XvghRK','slice','concat','Meteor\x20Settings:\x20','5100417YHOBUt','process.env','3335584OWMxeX','--env','exit','push','compareMakaToLatest','Node\x20Env\x20Config:\x20','length','docker','config','allowIncompatibleUpdate','577708DZvMAD','.meteor','cordova-build','exclude-archs','--production','6KSiAtJ','production','settings.json','argv','sep','getConfigPath','env','3DjfTyD','local','6539170dPKnuo','verbose','error','Cannot\x20find\x20Node\x20Environment\x20File:\x20','openSync','isFile','run','app','extraPackages','5721920SFwRHV','toString','fsi','filter','isDirectory','settings'];a45c=function(){return w;};return a45c();}const a45t=a45d;function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x90;let f=c[d];return f;},a45d(a,b);}(function(a,b){const q=a45d,c=a();while(!![]){try{const d=-parseInt(q(0xcd))/0x1+parseInt(q(0xa5))/0x2*(-parseInt(q(0xb1))/0x3)+parseInt(q(0xbc))/0x4+-parseInt(q(0xb3))/0x5*(-parseInt(q(0xaa))/0x6)+-parseInt(q(0x95))/0x7+-parseInt(q(0x9b))/0x8+parseInt(q(0x99))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xb5a53));const a45b=(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;};}()),a45a=a45b(this,function(){const r=a45d;return a45a[r(0xbd)]()[r(0x93)](r(0xc8))[r(0xbd)]()['constructor'](a45a)[r(0x93)](r(0xc8));});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){const s=a45d;a45f[s(0xb7)](a,'r'),a45g[s(0xa3)]({'path':a});},Run=Command['create']({'name':a45t(0xb9),'mustBeInMakaProject':!![],'shortDesc':'Run\x20your\x20Meteor\x20application','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(0xb0),'docker','r',a45t(0x92),'p',a45t(0xcc),'i',a45t(0x91),'m','mobileServer','v',a45t(0xb4),a45t(0xa4),a45t(0xbb),'x',a45t(0xa8),a45t(0xab)]},async function(a,b){const u=a45t;try{const c=a[0x0],d=this[u(0xc6)](c);d&&this[u(0x94)](c,a,b);if(c===u(0xc5)){const m=this[u(0xbe)][u(0xc3)](),n=a45e['join'](m,u(0xba),u(0xa6),u(0xb2),u(0xa7));this[u(0xbe)][u(0xc0)](n)&&await rimraf(n);}if(b[u(0xcb)]&&b[u(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[u(0xbe)][u(0x9f)]();const f=b[u(0xb0)]?b[u(0xb0)]:'development',g=this['fsi'][u(0xaf)](f),h=a45e[u(0xc7)](g,u(0x9a));let i=a45e[u(0xc7)](g,u(0xac));b['settings']?i=b[u(0xc1)]:i=a45e['join'](g,u(0xac));if(this['fsi'][u(0xb8)](h)&&!b[u(0xa2)])Log[u(0xc2)](u(0xa0)+h),syncSource(h);else!b[u(0xa2)]&&Log['warn'](u(0xb6)+h);this[u(0xbe)]['isFile'](i)?(Log[u(0xc2)](u(0x98)+i),a=a[u(0x97)](['--settings',i])):Log['warn'](u(0xc4)+i);const j=g['split'](a45e[u(0xae)]),k=j[j[u(0xa1)]-0x1];k===u(0xab)&&a[u(0x9e)](u(0xa9));const l=process[u(0xad)][u(0x96)](0x2)[u(0xbf)](o=>o!==u(0xb9))[u(0xbf)](o=>o!==a[0x0]);l[u(0xca)]((o,p)=>{const v=u;o===v(0x9c)&&l['splice'](p,0x2),o==='-e'&&l[v(0xc9)](p,0x2);}),this[u(0xbe)][u(0x90)](u(0xb9),a['concat'](l));}catch(o){console[u(0xb5)](o),process[u(0x9d)](0x1);}});export default Run;
@@ -1 +1 @@
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
+ (function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x71))/0x1*(parseInt(f(0x70))/0x2)+-parseInt(f(0x6b))/0x3*(parseInt(f(0x6e))/0x4)+parseInt(f(0x73))/0x5+parseInt(f(0x6a))/0x6+parseInt(f(0x72))/0x7+parseInt(f(0x77))/0x8+-parseInt(f(0x6d))/0x9*(parseInt(f(0x76))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x72d31));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x74)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0x6c)]()[h(0x6f)]('(((.+)+)+)+$')['toString']()[h(0x75)](a46a)[h(0x6f)](h(0x78));});function a46c(){var i=['886762jGPffQ','1452164EAjtgh','3563840oGTxWJ','apply','constructor','10250sZNMcE','4853592yeHcGz','(((.+)+)+)+$','5320644osEUlB','33voasqw','toString','20043hehiiG','199076cUhTbH','search','2ZxFYVB'];a46c=function(){return i;};return a46c();}a46a();import'./set.command.js';import'./global.sub.cmd.js';function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x6a;var f=c[d];return f;},a46d(a,b);}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(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
+ function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x1b6;let f=c[d];return f;},a47d(a,b);}const a47j=a47d;(function(a,b){const h=a47d,c=a();while(!![]){try{const d=parseInt(h(0x1db))/0x1+-parseInt(h(0x1bd))/0x2+parseInt(h(0x1d6))/0x3*(parseInt(h(0x1c7))/0x4)+parseInt(h(0x1b8))/0x5+parseInt(h(0x1d4))/0x6*(parseInt(h(0x1c6))/0x7)+parseInt(h(0x1da))/0x8+parseInt(h(0x1c0))/0x9*(-parseInt(h(0x1b9))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x40ceb));const a47b=(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;};}()),a47a=a47b(this,function(){const i=a47d;return a47a[i(0x1cf)]()[i(0x1d7)](i(0x1d8))[i(0x1cf)]()[i(0x1cd)](a47a)[i(0x1d7)](i(0x1d8));});a47a();import a47e from'path';import a47f from'./set.command.js';function a47c(){const l=['303734BoHBLw','fsi','maka\x20set:gc\x20--insecure\x20<path>','623445kQDhTy','464470xqiPPf','Set\x20CA\x20Cert\x20Path:\x20','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','disallowInsecure','557726yNKZQV','\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','maka\x20set:global-config\x20<args>','90VJaxWe','exit','maka\x20set:gc\x20--workspace\x20<path>','success','error','Set\x20global\x20Maka-CLI\x20settings','7exbtOM','44shkDiS','cacert','One\x20or\x20the\x20other\x20buddy','workspace','resolve','Could\x20not\x20find\x20directory','constructor','create','toString','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','boolean','setGlobalConfig','Set\x20workspace:\x20','11106PhkxOP','allowInsecure','56415dozorx','search','(((.+)+)+)+$','maka\x20set:global-config\x20--cacert\x20<path>','2973240DBarCb'];a47c=function(){return l;};return a47c();}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a47j(0x1ce)]({'name':'global-config','usage':a47j(0x1bf),'aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a47j(0x1c8),a47j(0x1d5),a47j(0x1bc),a47j(0x1ca),'help'],'shortDesc':a47j(0x1c5),'description':a47j(0x1be),'examples':[a47j(0x1d9),a47j(0x1b7),a47j(0x1c2)]},async function(a,b){const k=a47j;try{if(b[k(0x1c8)]){if(this[k(0x1b6)]['isFile'](b[k(0x1c8)]))this['fsi'][k(0x1d2)]({'cert':b[k(0x1c8)]}),Log[k(0x1c3)](k(0x1ba)+b[k(0x1c8)]);else{const c=typeof b[k(0x1c8)]===k(0x1d1)?k(0x1d0):k(0x1bb)+b[k(0x1c8)];throw Log[k(0x1c4)](c);}}if(b[k(0x1ca)]){const d=this['fsi']['isDirectory'](b['workspace']);if(d)this[k(0x1b6)][k(0x1d2)]({'workspace':a47e[k(0x1cb)](b[k(0x1ca)])}),Log[k(0x1c3)](k(0x1d3)+a47e['resolve'](b[k(0x1ca)]));else throw Log[k(0x1c4)](k(0x1cc));}if(b[k(0x1d5)]){if(b[k(0x1d5)]&&b[k(0x1bc)])throw Log[k(0x1c4)](k(0x1c9));let f=b[k(0x1d5)];b['disallowInsecure']&&(f=![]),this[k(0x1b6)]['setGlobalConfig']({'allowInsecure':f}),Log['success']('Set\x20allowInsecure:\x20'+f);}}catch(g){console[k(0x1c4)](g),process[k(0x1c1)](0x0);}},a47f);
@@ -1 +1 @@
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
+ function a48c(){var j=['4KbQDHE','search','1542699lmTTzA','1350727KrsLqa','constructor','76107HjwgBR','Sorry,\x20not\x20implemented\x20yet','878608NEARDT','maka\x20set:local-config\x20<opts>','951162zqlMbE','(((.+)+)+)+$','Set\x20local\x20maka\x20app\x20settings','toString','32368taMTjW','create','5nJupFV','8lvyAVm','2069690TASgru'];a48c=function(){return j;};return a48c();}var a48h=a48d;(function(a,b){var f=a48d,c=a();while(!![]){try{var d=-parseInt(f(0x17c))/0x1+parseInt(f(0x181))/0x2*(-parseInt(f(0x186))/0x3)+-parseInt(f(0x188))/0x4*(-parseInt(f(0x17e))/0x5)+parseInt(f(0x18a))/0x6+parseInt(f(0x184))/0x7*(-parseInt(f(0x17f))/0x8)+-parseInt(f(0x183))/0x9+parseInt(f(0x180))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x219c6));var a48b=(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;};}()),a48a=a48b(this,function(){var g=a48d;return a48a[g(0x17b)]()[g(0x182)](g(0x18b))['toString']()[g(0x185)](a48a)[g(0x182)](g(0x18b));});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-0x17a;var f=c[d];return f;},a48d(a,b);}Command[a48h(0x17d)]({'name':'local-config','usage':a48h(0x189),'examples':['maka\x20set:lc\x20<opts>',a48h(0x189)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':a48h(0x17a),'validOpts':[],'description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20'},async function(){var i=a48h;Log['notice'](i(0x187));},a48e);
@@ -1 +1 @@
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
+ const a49i=a49d;(function(a,b){const f=a49d,c=a();while(!![]){try{const d=parseInt(f(0x1ca))/0x1+-parseInt(f(0x1c9))/0x2+-parseInt(f(0x1d0))/0x3*(-parseInt(f(0x1d1))/0x4)+-parseInt(f(0x1c4))/0x5*(parseInt(f(0x1c1))/0x6)+parseInt(f(0x1cf))/0x7+-parseInt(f(0x1c5))/0x8+-parseInt(f(0x1cd))/0x9*(-parseInt(f(0x1c3))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xb3cf7));const a49b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a49d;if(c){const e=c[g(0x1c7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){const h=a49d;return a49a['toString']()[h(0x1d3)](h(0x1c6))[h(0x1c8)]()[h(0x1c2)](a49a)[h(0x1d3)](h(0x1c6));});function a49d(a,b){const c=a49c();return a49d=function(d,e){d=d-0x1c1;let f=c[d];return f;},a49d(a,b);}a49a();function a49c(){const k=['(((.+)+)+)+$','apply','toString','2216346CVmjEh','1374875yAIDyD','set','create','1179xzBuJT','\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','2612764BAkeOt','935265AUOghJ','12agQkvm','runSubCommand','search','1254LNNWcn','constructor','117830iGiCnP','24835EnFkiY','10753488wUgLeB'];a49c=function(){return k;};return a49c();}import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command[a49i(0x1cc)]({'name':a49i(0x1cb),'usage':'maka\x20set:<sub-command>\x20<opts>','minArgLength':0x1,'shortDesc':'Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','description':a49i(0x1ce),'validOpts':[]},async function(a,b){const j=a49i,c=a[0x0];if(b['help'])throw new UsageError();const d=this['findSubCommand'](c);d&&this[j(0x1d2)](c,a,b);});export default SetCommand;
@@ -1 +1 @@
1
- const a50m=a50d;(function(a,b){const j=a50d,c=a();while(!![]){try{const d=parseInt(j(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
+ const a50l=a50d;function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0xc4;let f=c[d];return f;},a50d(a,b);}(function(a,b){const j=a50d,c=a();while(!![]){try{const d=-parseInt(j(0xd5))/0x1*(parseInt(j(0xdc))/0x2)+parseInt(j(0xd0))/0x3+-parseInt(j(0xc7))/0x4*(-parseInt(j(0xdb))/0x5)+parseInt(j(0xd7))/0x6*(parseInt(j(0xe1))/0x7)+-parseInt(j(0xcd))/0x8+-parseInt(j(0xd3))/0x9+parseInt(j(0xe3))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x7c139));function a50c(){const n=['7kuPCYr','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','8039690NReztU','ssh.json','(((.+)+)+)+$','length','env','1604780imgReM','readFileSync','create','maka\x20ssh\x20--env\x20prod','maka\x20ssh\x20--env\x20dev','constructor','6552568ZueaEk','maka\x20ssh\x20<command>','assign','382455vlnUSU','ssh','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','4906620oSBgLL','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','113yrWjuI','error','2860998TcqTbC','toString','maka\x20ssh\x20--env\x20staging','exit','10vIyGTv','5986UrYQLo','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','fsi','sshSync','join'];a50c=function(){return n;};return a50c();}const a50b=(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;};}()),a50a=a50b(this,function(){const k=a50d;return a50a[k(0xd8)]()['search']('(((.+)+)+)+$')['toString']()[k(0xcc)](a50a)['search'](k(0xc4));});a50a();import a50e from'fs';import a50f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a50l(0xc9)]({'name':a50l(0xd1),'usage':a50l(0xce),'mustBeInMakaProject':!![],'requiredOpts':[a50l(0xc6)],'validOpts':[a50l(0xc6),'v'],'shortDesc':a50l(0xdd),'examples':[a50l(0xcb),a50l(0xd9),a50l(0xca),a50l(0xd2),a50l(0xd4),a50l(0xe2)]},async function(a,b){const m=a50l;try{const c=this[m(0xde)]['getConfigPath'](b[m(0xc6)]);let d='';a[m(0xc5)]>0x0&&(d=a[0x0]);const f=a50f[m(0xe0)](c,m(0xe4)),g=a50e[m(0xc8)](f)[m(0xd8)](),h=JSON['parse'](g);Object[m(0xcf)](h,{'env':c}),SSH[m(0xdf)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['v']});}catch(i){console[m(0xd6)](i),process[m(0xda)](0x0);}});
@@ -1 +1 @@
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
+ const a51y=a51d;(function(a,b){const v=a51d,c=a();while(!![]){try{const d=parseInt(v(0x15e))/0x1+parseInt(v(0x14e))/0x2+parseInt(v(0x158))/0x3+-parseInt(v(0x145))/0x4+-parseInt(v(0x140))/0x5*(parseInt(v(0x144))/0x6)+-parseInt(v(0x169))/0x7*(-parseInt(v(0x150))/0x8)+-parseInt(v(0x160))/0x9*(parseInt(v(0x172))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xc74f0));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a51d;if(c){const e=c[w(0x147)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const x=a51d;return a51a[x(0x152)]()['search'](x(0x161))[x(0x152)]()['constructor'](a51a)[x(0x16d)]('(((.+)+)+)+$');});a51a();function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x139;let f=c[d];return f;},a51d(a,b);}function a51c(){const A=['apply','parse','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','join','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','\x20--email\x20','/ssh.json','1973048XRyAPw','uname\x20-a','11434152pjotmS','Using\x20saved\x20letsencrypt\x20config','toString','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','error','letsencrypt','writeFileSync','Verifying\x20Letsencrypt\x20configuration','3523638MPPzkH','domainNames','Please\x20provide\x20a\x20command.','letsencrypt.json','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','305012wAAuLi','New\x20CSR\x20written\x20to\x20','9wjECEH','(((.+)+)+)+$','mkKeysDir','Checking\x20remote\x20host\x20availability','stringify','exit','[?]\x20Domains\x20to\x20register:\x20','ping','fsi','7PcBZga','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','ssl','search','appName','Email\x20to\x20use\x20for\x20auto-updates:\x20','domains','success','22336520xYbCFa','existsSync','Remote\x20host\x20connection\x20successful','ask','notice','withSpinner','ssh','email','getConfigPath','2865kdfcSZ','env','maka\x20ssl\x20--env\x20dev\x20generate-csr','sudo\x20snap\x20install\x20--classic\x20certbot','6846NBMFnc','766152EmPdqQ','.key'];a51c=function(){return A;};return a51c();}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';import{SSL}from'../tools/ssl/ssl.class.js';Command['create']({'name':a51y(0x16c),'usage':'maka\x20ssl\x20[command]','validOpts':['domains',a51y(0x13e)],'requiredOpts':[a51y(0x141)],'shortDesc':'Create\x20and\x20manage\x20your\x20SSL\x20operations.','mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a51y(0x142),a51y(0x14b),a51y(0x16a)]},async function(a,b){const z=a51y,c=this[z(0x168)]['getProjectConfig'](),d=this[z(0x168)][z(0x13f)](b[z(0x141)]),f=this[z(0x168)][z(0x162)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g==='generate-csr')SSL['genCSR']({'keyName':c[z(0x16e)]+z(0x146),'csrName':c[z(0x16e)]+'.csr','cwd':f});else{if(g==='generate-ssc'){if(!a51e[z(0x173)](a51f[z(0x14a)](f,c[z(0x16e)]+'.key')))throw z(0x15c)+a51f[z(0x14a)](f,c[z(0x16e)]+z(0x146));if(!a51e[z(0x173)](a51f['join'](f,c[z(0x16e)]+'.csr')))throw'The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20'+a51f[z(0x14a)](f,c[z(0x16e)]+'.csr');SSL['genSSC']({'keyName':c[z(0x16e)]+z(0x146),'crtName':c[z(0x16e)]+'.crt','cwd':f}),Log[z(0x13b)](z(0x15f)+f);}else{if(g===z(0x155)){let h=b[z(0x170)],i=b[z(0x13e)];try{const p=a51e['readFileSync'](a51f[z(0x14a)](d,z(0x15b)))[z(0x152)](),q=JSON[z(0x148)](p);h=b['domains']?b[z(0x170)]:q[z(0x159)],i=b['email']?b[z(0x13e)]:q['emailUpdate'],(!b['email']||!b['domains'])&&Log[z(0x13b)](z(0x151));}catch(r){}const j=JSON[z(0x148)](a51e['readFileSync'](d+z(0x14d))[z(0x152)]());Object['assign'](j,{'env':d}),Log[z(0x13b)](z(0x163));try{const s=SSH[z(0x167)](z(0x14f),j);if(!s)throw z(0x15d);if(s)Log[z(0x171)](z(0x139));}catch(t){Log['error'](t);return;}const k=Log[z(0x13c)]();k['start'](z(0x157)),SSH[z(0x13d)](z(0x149),{...j}),SSH[z(0x13d)](z(0x143),{...j}),SSH[z(0x13d)](z(0x153),{...j}),k['success']();const l=h?h:await Actions[z(0x13a)](z(0x166)),m=i?i:await Actions[z(0x13a)](z(0x16f));SSH[z(0x13d)](z(0x16b)+l+z(0x14c)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0x164)](n,null,0x2);a51e[z(0x156)](a51f[z(0x14a)](d,'letsencrypt.json'),o);}else throw z(0x15a);}}}catch(u){console[z(0x154)](u),process[z(0x165)](0x0);}});
@@ -1 +1 @@
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
+ function a52c(){const t=['forEach','398896AhmpbP','(((.+)+)+)+$','splice','error','264483RkhYPK','4180197vWHvWU','--full-app','development','driver','244110UjqNFL','toString','findProjectDirectory','474970VTPZJZ','invokeMeteorCommand','inspect','engines','constructor','rawLogs','join','test-packages','parse','config','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','isFile','settings.json','none','warn','search','104283gEpCQX','process.env','readFileSync','env','create','getConfigPath','utf8','openSync','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','filter','config.json','concat','testAppPath','notice','--env','--driver','.maka','sanjo:jasmine','Node\x20Env\x20Config:\x20','once','Cannot\x20find\x20Node\x20Environment\x20File:\x20','12HZhoXu','test','--driver-package','--settings','193384RcSgtn','driver-package','--packages','unit','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','jasmine','fsi','maka\x20test\x20<opts>','packages','slice','argv','apply','8piKPIe','port'];a52c=function(){return t;};return a52c();}const a52q=a52d;(function(a,b){const m=a52d,c=a();while(!![]){try{const d=-parseInt(m(0xca))/0x1+parseInt(m(0xd3))/0x2+-parseInt(m(0xce))/0x3+-parseInt(m(0xff))/0x4+-parseInt(m(0xd6))/0x5*(-parseInt(m(0xfb))/0x6)+parseInt(m(0xcf))/0x7+parseInt(m(0xc7))/0x8*(parseInt(m(0xe6))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x5e176));const a52b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a52d;if(c){const e=c[n(0xc6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){const o=a52d;return a52a[o(0xd4)]()['search'](o(0xcb))[o(0xd4)]()[o(0xda)](a52a)[o(0xe5)](o(0xcb));});a52a();import a52e from'fs';import a52f from'path';function a52d(a,b){const c=a52c();return a52d=function(d,e){d=d-0xc2;let f=c[d];return f;},a52d(a,b);}import a52g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const p=a52d;a52e[p(0xed)](a,'r'),a52g[p(0xdf)]({'path':a});};Command[a52q(0xea)]({'name':a52q(0xfc),'mustBeInMakaProject':!![],'validOpts':[a52q(0xf9),a52q(0xc3),a52q(0xd2),'driverPackage','unit',a52q(0xe9),a52q(0xdb),a52q(0xc8),a52q(0xd8),a52q(0xf2)],'usage':a52q(0xc2),'shortDesc':a52q(0xee),'examples':[]},function(a,b){const r=a52q;try{let c=this[r(0x105)][r(0xeb)](r(0xd1));b[r(0xe9)]&&(c=this[r(0x105)][r(0xeb)](b['env']));(!b[r(0x102)]||!!b[r(0xf9)])&&(a=a[r(0xf1)]([r(0xd0)]));b[r(0x102)]&&delete b[r(0x102)];let d=b[r(0x100)]||b[r(0xd2)]||r(0xe3);if(d===r(0xe3)){const j=JSON[r(0xde)](a52e[r(0xe8)](a52f['join'](this[r(0x105)][r(0xd5)](),r(0xf6),r(0xf0)),r(0xec)));if(j['engines'][r(0xfc)]===r(0x104))d=r(0xf7);else j[r(0xd9)][r(0xfc)]==='mocha'&&(d='meteortesting:mocha');}if(d===r(0xe3))throw r(0x103);(!b['driver-package']||!b[r(0xd2)])&&(a=a[r(0xf1)]([r(0xfd),d]));const f=a52f[r(0xdc)](c,r(0xe2));this['fsi'][r(0xe1)](f)?(Log[r(0xf3)]('Meteor\x20Settings:\x20'+f),a=a[r(0xf1)]([r(0xfe),f])):Log[r(0xe4)](r(0xe0)+f);const g=a52f['join'](c,r(0xe7));this[r(0x105)][r(0xe1)](g)?(Log['notice'](r(0xf8)+g),syncSource(g)):Log[r(0xe4)](r(0xfa)+g);const h=process[r(0xc5)][r(0xc4)](0x2)[r(0xef)](k=>k!=='--env')['filter'](k=>k!=='test')['filter'](k=>k!==a[0x0]);h[r(0xc9)]((k,l)=>{const s=r;(k===s(0xf4)||k===s(0xf5))&&h[s(0xcc)](l,0x2),k===s(0x101)&&h[s(0xcc)](l,0x1);});const i=b['packages']?r(0xdd):r(0xfc);this[r(0x105)][r(0xd7)](i,a[r(0xf1)](h));}catch(k){console[r(0xcd)](k),process['exit'](0x0);}});
@@ -1 +1 @@
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
+ const a53l=a53d;(function(a,b){const i=a53d,c=a();while(!![]){try{const d=-parseInt(i(0x12f))/0x1+parseInt(i(0x107))/0x2*(-parseInt(i(0x123))/0x3)+parseInt(i(0x11b))/0x4*(parseInt(i(0x100))/0x5)+-parseInt(i(0x10b))/0x6*(-parseInt(i(0x101))/0x7)+parseInt(i(0x128))/0x8*(-parseInt(i(0x12d))/0x9)+-parseInt(i(0x112))/0xa*(parseInt(i(0x121))/0xb)+parseInt(i(0x110))/0xc*(parseInt(i(0x125))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xec8e3));function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0xff;let f=c[d];return f;},a53d(a,b);}function a53c(){const n=['\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','exit','8jJuzcy','create','----------------------System----------------------------','bright','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','16522767sBpgEt','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','574289MvVNbY',')\x20to\x20at\x20least\x20meteor\x27s\x20(','50DPXMsc','608454UHnGMK','maka\x20v','Maka\x20','Project\x27s\x20Meteor\x20Version\x20','\x20node\x20-v','System\x27s\x20Node\x20Version\x20','232808WeRsZY','apply','meteor.bat','warn','18bWaOzo','getGlobalMeteorVersion','toString','Project\x27s\x20Meteor\x20Node\x20Version\x20','search','12ffBJyb','(((.+)+)+)+$','2460TxTYkx','getProjectMeteorVersion','System\x27s\x20Meteor\x20Version\x20','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','N/A','maka\x20version','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','isMakaProject','fsi','650860kETcMz','notice','version','constructor','platform','replace','69619IPbaeO','4.5.3','3wUuxuf','compareMakaToLatest','41138565TugTxY'];a53c=function(){return n;};return a53c();}const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a53d;if(c){const e=c[j(0x108)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const k=a53d;return a53a['toString']()[k(0x10f)](k(0x111))[k(0x10d)]()[k(0x11e)](a53a)['search'](k(0x111));});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(0x122)};Command[a53l(0x129)]({'name':a53l(0x11d),'aliases':['v'],'usage':a53l(0x117),'maxArgLength':0x1,'validOpts':[],'shortDesc':'Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','examples':[a53l(0x102),a53l(0x117)]},async function(){const m=a53l;try{const a=process[m(0x11f)]==='win32'?m(0x109):'meteor';Log['majestic'](m(0x103)+pjson['version']),await this['fsi'][m(0x124)](),Log[m(0x12b)](m(0x12a));const b=this['fsi'][m(0x10c)]();Log['bright']((m(0x114)+b)[m(0x120)]('\x0a',''));const c=execSync(a+m(0x105))[m(0x10d)]()[m(0x120)](/\r?\n|\r/,'')[m(0x120)]('v','');Log[m(0x12b)](m(0x118)+c);const d=execSync('node\x20-v')[m(0x10d)]()[m(0x120)](/\r?\n|\r/,'')[m(0x120)]('v','');a53e['gt'](c,d)?(Log[m(0x10a)](m(0x106)+d),Log['warn'](m(0x12c)+d+m(0xff)+c+')')):Log[m(0x12b)](m(0x106)+d);if(this[m(0x11a)][m(0x119)]()){Log[m(0x12b)]('----------------------Project----------------------------');const f=this[m(0x11a)][m(0x113)]();a53e['gt'](b,f)?(Log[m(0x10a)](m(0x104)+f[m(0x120)]('\x0a','')),Log[m(0x10a)](m(0x12e)+b+'\x22')):Log[m(0x11c)]((m(0x104)+f)[m(0x120)]('\x0a',''));const g=await this[m(0x11a)]['getProjectsMeteorNodeVersion']();g===m(0x116)?(Log[m(0x10a)](m(0x10e)+g),Log[m(0x10a)](m(0x115))):Log[m(0x12b)](m(0x10e)+g),Log['bright'](m(0x126));}}catch(h){console['error'](h),process[m(0x127)](0x0);}});
@@ -1 +1 @@
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{}
1
+ (function(a,b){var f=a54d,c=a();while(!![]){try{var d=-parseInt(f(0x1ba))/0x1*(parseInt(f(0x1b3))/0x2)+parseInt(f(0x1af))/0x3+-parseInt(f(0x1b2))/0x4*(parseInt(f(0x1bb))/0x5)+parseInt(f(0x1ae))/0x6+-parseInt(f(0x1b5))/0x7+parseInt(f(0x1b6))/0x8+parseInt(f(0x1b4))/0x9*(parseInt(f(0x1b8))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xa81a4));var a54b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a54d;if(c){var e=c[g(0x1bc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){var h=a54d;return a54a[h(0x1b0)]()[h(0x1b7)](h(0x1b9))[h(0x1b0)]()[h(0x1b1)](a54a)[h(0x1b7)](h(0x1b9));});function a54c(){var i=['1526440RzcjzS','(((.+)+)+)+$','177909RAcAjy','8985xIdBGV','apply','3458874wsJSZs','2807490ueFTRi','toString','constructor','2564BAYmrn','2ntZvNo','45fyhBff','7707973ZWOxaP','6751552uAsPxt','search'];a54c=function(){return i;};return a54c();}a54a();export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}function a54d(a,b){var c=a54c();return a54d=function(d,e){d=d-0x1ae;var f=c[d];return f;},a54d(a,b);}export class NoMeteorFoundError{}