@maka/maka-cli 4.4.2 → 4.4.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 -2
  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 +2 -1
@@ -1 +1 @@
1
- function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0xdd;let f=c[d];return f;},a35d(a,b);}const a35s=a35d;(function(a,b){const p=a35d,c=a();while(!![]){try{const d=parseInt(p(0xea))/0x1*(-parseInt(p(0x103))/0x2)+-parseInt(p(0x104))/0x3*(-parseInt(p(0xe3))/0x4)+-parseInt(p(0xe0))/0x5+parseInt(p(0xe2))/0x6+parseInt(p(0xf2))/0x7+-parseInt(p(0x101))/0x8*(parseInt(p(0xfa))/0x9)+-parseInt(p(0xdf))/0xa*(-parseInt(p(0xf1))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0xf36a9));const a35b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a35d;if(c){const e=c[q(0xf9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const r=a35d;return a35a['toString']()[r(0xf4)](r(0xe6))[r(0xe1)]()[r(0xed)](a35a)[r(0xf4)]('(((.+)+)+)+$');});function a35c(){const u=['16445hZXLfd','5610696qCgxUg','.eslintrc.json','search','Use\x20ESLint\x20to\x20lint\x20the\x20imports\x20directory','findAppDirectory','service','eslint','apply','2566170NZRCat','eslint/eslintrc.json','maka\x20lint\x20--fix','template','bright','maka\x20lint\x20<opts>','notice','40zcIPBj','push','6LqOAlY','8151pkUlFr','join','success','create','lint','10470IuISmV','1406340OndomA','toString','962652EqcWGv','1844BpZMWP','fix','fsi','(((.+)+)+)+$','stylish','Lint\x20results\x20for\x20','checkNpmPackage','358607dVdWCH','loadFormatter','eslint-plugin-css','constructor','length','isFile','installNpmPackage'];a35c=function(){return u;};return a35c();}a35a();import a35e from'path';import{ESLint}from'eslint';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';Command[a35s(0xdd)]({'name':a35s(0xde),'usage':a35s(0xff),'maxArgLength':0x1,'validOpts':[a35s(0xe4)],'mustBeInMakaProject':!![],'shortDesc':a35s(0xf5),'description':'\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','examples':[a35s(0xfc)]},async function(a,b){const t=a35s;try{const c=this[t(0xe5)][t(0xf6)](),d=this[t(0xe5)][t(0xe9)](t(0xf8)),f=this[t(0xe5)][t(0xe9)]('eslint-plugin-react'),g=this['fsi']['checkNpmPackage'](t(0xec)),h=[];!d&&h[t(0x102)]('eslint');!f&&h['push']('eslint-plugin-react');!g&&h[t(0x102)]('eslint-plugin-css');h['length']>0x0&&await this[t(0xe5)][t(0xf0)](h[t(0x105)]('\x20'),{'dev':!![]});const i=this[t(0xe5)][t(0xef)](a35e[t(0x105)](c,t(0xf3)));if(!i){const n={'noRename':!![]};await this[t(0xe5)][t(0xfd)]({'srcPath':t(0xfb),'destPath':a35e[t(0x105)](c,t(0xf3)),'framework':t(0xf7),'context':n});}const j=new ESLint(),k=await j['lintFiles']([a35e[t(0x105)](c,'imports','**')]),l=await j[t(0xeb)](t(0xe7)),m=l['format'](k);m[t(0xee)]>0x0?Log[t(0xfe)](m):Log[t(0x106)]('All\x20good!\x20:)'),Log[t(0x100)](t(0xe8)+c+'/imports'),b[t(0xe4)]?await ESLint['outputFixes'](k):Log['notice']('Run\x20\x22maka\x20lint\x20--fix\x22\x20to\x20auto\x20fix');}catch(o){console['error'](o);}});
1
+ const a35r=a35d;function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0xcc;let f=c[d];return f;},a35d(a,b);}(function(a,b){const p=a35d,c=a();while(!![]){try{const d=-parseInt(p(0xe1))/0x1+-parseInt(p(0xf0))/0x2*(-parseInt(p(0xdb))/0x3)+-parseInt(p(0xe3))/0x4*(parseInt(p(0xf7))/0x5)+-parseInt(p(0xf5))/0x6+parseInt(p(0xf6))/0x7+parseInt(p(0xd3))/0x8*(-parseInt(p(0xe4))/0x9)+parseInt(p(0xf2))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0x75f3f));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(0xe7)]()[q(0xee)](q(0xd5))[q(0xe7)]()['constructor'](a35a)[q(0xee)]('(((.+)+)+)+$');});function a35c(){const t=['Run\x20\x22maka\x20lint\x20--fix\x22\x20to\x20auto\x20fix','eslint-plugin-css','Lint\x20results\x20for\x20','maka\x20lint\x20<opts>','success','eslint-plugin-react','7432ZMjTHc','checkNpmPackage','(((.+)+)+)+$','outputFixes','create','service','join','lint','24JpJhIN','findAppDirectory','/imports','installNpmPackage','All\x20good!\x20:)','lintFiles','6662QHKFEN','eslint','4jooELH','4383iaVsTd','.eslintrc.json','Use\x20ESLint\x20to\x20lint\x20the\x20imports\x20directory','toString','error','bright','format','notice','fix','\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','search','push','59844TreiwJ','length','16493500UzcHjj','template','fsi','4118370cLmpAi','4552877QmQCHQ','4552610YfFtHI','maka\x20lint\x20--fix'];a35c=function(){return t;};return a35c();}a35a();import a35e from'path';import{ESLint}from'eslint';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';Command[a35r(0xd7)]({'name':a35r(0xda),'usage':a35r(0xd0),'maxArgLength':0x1,'validOpts':[a35r(0xec)],'mustBeInMakaProject':!![],'shortDesc':a35r(0xe6),'description':a35r(0xed),'examples':[a35r(0xcc)]},async function(a,b){const s=a35r;try{const c=this['fsi'][s(0xdc)](),d=this['fsi']['checkNpmPackage'](s(0xe2)),f=this[s(0xf4)][s(0xd4)](s(0xd2)),g=this[s(0xf4)][s(0xd4)](s(0xce)),h=[];!d&&h[s(0xef)](s(0xe2));!f&&h[s(0xef)](s(0xd2));!g&&h['push'](s(0xce));h[s(0xf1)]>0x0&&await this[s(0xf4)][s(0xde)](h[s(0xd9)]('\x20'),{'dev':!![]});const i=this['fsi']['isFile'](a35e[s(0xd9)](c,s(0xe5)));if(!i){const n={'noRename':!![]};await this[s(0xf4)][s(0xf3)]({'srcPath':'eslint/eslintrc.json','destPath':a35e['join'](c,s(0xe5)),'framework':s(0xd8),'context':n});}const j=new ESLint(),k=await j[s(0xe0)]([a35e[s(0xd9)](c,'imports','**')]),l=await j['loadFormatter']('stylish'),m=l[s(0xea)](k);m[s(0xf1)]>0x0?Log[s(0xe9)](m):Log[s(0xd1)](s(0xdf)),Log[s(0xeb)](s(0xcf)+c+s(0xdd)),b['fix']?await ESLint[s(0xd6)](k):Log[s(0xeb)](s(0xcd));}catch(o){console[s(0xe8)](o);}});
@@ -1 +1 @@
1
- const a36z=a36d;(function(a,b){const w=a36d,c=a();while(!![]){try{const d=-parseInt(w(0x1ba))/0x1*(parseInt(w(0x1c1))/0x2)+-parseInt(w(0x1c3))/0x3*(parseInt(w(0x1cc))/0x4)+-parseInt(w(0x1dd))/0x5*(parseInt(w(0x1b4))/0x6)+parseInt(w(0x1b1))/0x7+-parseInt(w(0x1ca))/0x8*(parseInt(w(0x1d9))/0x9)+parseInt(w(0x1bc))/0xa+parseInt(w(0x1b3))/0xb*(parseInt(w(0x1b5))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0xe7f2f));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a36d;if(c){const e=c[x(0x1ac)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const y=a36d;return a36a['toString']()[y(0x1d5)](y(0x1e3))['toString']()[y(0x1cd)](a36a)[y(0x1d5)](y(0x1e3));});function a36c(){const B=['maka\x20login','5zDplRz','sha256','start','parse','toHex','MAKA_DEV','(((.+)+)+)+$','notice','failure','env','digest','isFile','withSpinner','help','True','apply','update','get','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','2521519YqCZDF','Password:\x20','11yEaJTT','2668866fUdmVD','53377224lYNlfs','post','\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','assign','Using\x20CA\x20Cert\x20','576116FAsLBA','maka\x20login\x20<opts>','490050saFNGs','Logging\x20in','create','cert','setGlobalConfig','6BzetPo','/api/v1/encodeJwt','1358499sHjajK','Preflight\x20Check','password','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','/api/v1/login','localhost','success','10250152Nnhmsy','error','4paBcmr','constructor','getGlobalConfig','ask','/api/v1/status','cacert','fsi','https://','email','search','Email:','www.maka-cli.com','authToken','9rglXsa','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com'];a36c=function(){return B;};return a36c();}a36a();import a36e from'node-forge';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x1a4;let f=c[d];return f;},a36d(a,b);}import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a36z(0x1a6)][a36z(0x1e2)]===a36z(0x1ab)?a36z(0x1c8):a36z(0x1d7);Command[a36z(0x1be)]({'name':'login','validOpts':[a36z(0x1d4),a36z(0x1c5),a36z(0x1aa),a36z(0x1d1),'debug'],'usage':a36z(0x1bb),'maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a36z(0x1da),'examples':[a36z(0x1dc),a36z(0x1c6)]},async function(a,b){const A=a36z,c=Log[A(0x1a9)]();try{let d='';b[A(0x1d1)]&&(this[A(0x1d2)][A(0x1a8)](b[A(0x1d1)])?(d=b[A(0x1d1)],Log[A(0x1a4)](A(0x1b9)+d)):Log[A(0x1cb)]('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+d));const f=await this['fsi'][A(0x1ce)]();if(f[A(0x1bf)]){if(this[A(0x1d2)][A(0x1a8)](f[A(0x1bf)]))d=f['cert'];else{Log[A(0x1cb)](A(0x1b0)+d);return;}}Log['header']('Logging\x20into\x20https://'+hostname);const g={'url':A(0x1d3)+hostname+A(0x1d0)};b[A(0x1d1)]&&Object['assign'](g,{'cert':d});c[A(0x1df)](A(0x1c4));const {statusCode:h}=await HTTPS[A(0x1ae)](g);if(h===0x198){c[A(0x1a5)]();throw A(0x1db);}if(h!==0xc8){c['failure']();throw A(0x1d3)+hostname+A(0x1b7);}c['success']();const i=b[A(0x1d4)]?b['email']:await Actions[A(0x1cf)](A(0x1d6)),j=b[A(0x1c5)]?b['password']:await Actions['ask'](A(0x1b2),!![]),k=a36e['md'][A(0x1de)]['create']();k[A(0x1ad)](j);const l=k[A(0x1a7)]()[A(0x1e1)](),m={'hostname':hostname,'path':A(0x1c7),'data':{'email':i,'password':l,'hashed':!![]}};b[A(0x1d1)]&&Object[A(0x1b8)](m,{'cert':d});c[A(0x1df)](A(0x1bd));const {data:n,statusCode:o}=await HTTPS[A(0x1b6)](m);if(o===0x198){c['failure']('\x0a');throw A(0x1af)+hostname;}const p=JSON[A(0x1e0)](n);if(p[A(0x1d8)]){const q={'hostname':hostname,'path':A(0x1c2),'headers':{'x-auth-token':p[A(0x1d8)]},'data':{}};b[A(0x1d1)]&&Object['assign'](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS[A(0x1b6)](q),{token:t}=JSON['parse'](r);if(s===0x198)throw A(0x1af)+hostname;const u={'token':p,'hash':t};this[A(0x1d2)][A(0x1c0)](u);}else{c[A(0x1a5)]();throw p;}c[A(0x1c9)]();}catch(v){c['failure'](),console['error'](v),process['exit'](0x0);}});
1
+ const a36y=a36d;function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x157;let f=c[d];return f;},a36d(a,b);}(function(a,b){const w=a36d,c=a();while(!![]){try{const d=-parseInt(w(0x166))/0x1+parseInt(w(0x18b))/0x2+parseInt(w(0x185))/0x3+-parseInt(w(0x17b))/0x4*(parseInt(w(0x15c))/0x5)+-parseInt(w(0x17f))/0x6*(parseInt(w(0x188))/0x7)+-parseInt(w(0x16f))/0x8*(-parseInt(w(0x15e))/0x9)+parseInt(w(0x18f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0xc453b));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const x=a36d;return a36a[x(0x176)]()[x(0x169)](x(0x16b))[x(0x176)]()['constructor'](a36a)[x(0x169)](x(0x16b));});a36a();import a36e from'node-forge';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import{HTTPS}from'../tools/https/https.class.js';function a36c(){const A=['cert','digest','www.maka-cli.com','error','295579UyKGmU','https://','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','search','debug','(((.+)+)+)+$','create','\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','/api/v1/login','14248OuWoIt','Using\x20CA\x20Cert\x20','notice','success','update','ask','maka\x20login','toString','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','MAKA_DEV','help','Logging\x20into\x20https://','256oejQBM','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','failure','get','702RoZUKr','/api/v1/status','True','login','post','/api/v1/encodeJwt','2988255DwswcL','sha256','start','61887ajOQRw','Logging\x20in','withSpinner','122138pvhOhZ','getGlobalConfig','isFile','localhost','12035030bhGDfG','fsi','maka\x20login\x20<opts>','exit','email','authToken','71385djPMrO','parse','3978bIkdlp','password','cacert','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://'];a36c=function(){return A;};return a36c();}const hostname=process['env'][a36y(0x178)]===a36y(0x181)?a36y(0x18e):a36y(0x164);Command[a36y(0x16c)]({'name':a36y(0x182),'validOpts':[a36y(0x15a),'password',a36y(0x179),'cacert',a36y(0x16a)],'usage':a36y(0x158),'maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a36y(0x177),'examples':[a36y(0x175),'maka\x20login\x20--email\x20<address>\x20--password\x20<password>']},async function(a,b){const z=a36y,c=Log[z(0x18a)]();try{let d='';b[z(0x160)]&&(this[z(0x157)][z(0x18d)](b[z(0x160)])?(d=b[z(0x160)],Log[z(0x171)](z(0x170)+d)):Log['error']('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+d));const f=await this['fsi'][z(0x18c)]();if(f[z(0x162)]){if(this[z(0x157)][z(0x18d)](f[z(0x162)]))d=f[z(0x162)];else{Log[z(0x165)](z(0x17c)+d);return;}}Log['header'](z(0x17a)+hostname);const g={'url':z(0x167)+hostname+z(0x180)};b[z(0x160)]&&Object['assign'](g,{'cert':d});c[z(0x187)]('Preflight\x20Check');const {statusCode:h}=await HTTPS[z(0x17e)](g);if(h===0x198){c[z(0x17d)]();throw z(0x168);}if(h!==0xc8){c[z(0x17d)]();throw z(0x167)+hostname+z(0x16d);}c[z(0x172)]();const i=b[z(0x15a)]?b[z(0x15a)]:await Actions[z(0x174)]('Email:'),j=b[z(0x15f)]?b['password']:await Actions['ask']('Password:\x20',!![]),k=a36e['md'][z(0x186)]['create']();k[z(0x173)](j);const l=k[z(0x163)]()['toHex'](),m={'hostname':hostname,'path':z(0x16e),'data':{'email':i,'password':l,'hashed':!![]}};b[z(0x160)]&&Object['assign'](m,{'cert':d});c[z(0x187)](z(0x189));const {data:n,statusCode:o}=await HTTPS['post'](m);if(o===0x198){c[z(0x17d)]('\x0a');throw z(0x161)+hostname;}const p=JSON['parse'](n);if(p[z(0x15b)]){const q={'hostname':hostname,'path':z(0x184),'headers':{'x-auth-token':p[z(0x15b)]},'data':{}};b['cacert']&&Object['assign'](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS[z(0x183)](q),{token:t}=JSON[z(0x15d)](r);if(s===0x198)throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://'+hostname;const u={'token':p,'hash':t};this[z(0x157)]['setGlobalConfig'](u);}else{c[z(0x17d)]();throw p;}c[z(0x172)]();}catch(v){c['failure'](),console[z(0x165)](v),process[z(0x159)](0x0);}});
@@ -1 +1 @@
1
- const a37o=a37d;(function(a,b){const l=a37d,c=a();while(!![]){try{const d=-parseInt(l(0x169))/0x1*(-parseInt(l(0x185))/0x2)+parseInt(l(0x16c))/0x3+-parseInt(l(0x17e))/0x4+parseInt(l(0x194))/0x5*(-parseInt(l(0x16d))/0x6)+parseInt(l(0x189))/0x7+parseInt(l(0x171))/0x8*(-parseInt(l(0x180))/0x9)+parseInt(l(0x190))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xb0367));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a37d;if(c){const e=c[m(0x18b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const n=a37d;return a37a[n(0x168)]()['search'](n(0x18d))[n(0x168)]()[n(0x191)](a37a)[n(0x181)](n(0x18d));});function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x168;let f=c[d];return f;},a37d(a,b);}a37a();function a37c(){const q=['519730hFtLVG','logout','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','localhost','7434238WIXBPJ','True','apply','failure','(((.+)+)+)+$','cacert','withSpinner','21792740fYWPSs','constructor','Preflight\x20Check','MAKA_DEV','5806685XxahQe','maka\x20logout','toString','1iXcLdl','create','token','328764NwKWLP','6kwoBJT','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','success','https://','16CvlUKs','getGlobalConfig','cert','/api/v1/status','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','assign','env','error','Logging\x20out','Logging\x20out\x20of\x20https://','www.maka-cli.com','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','maka\x20logout\x20<opts>','3137244aQQeEF','isFile','4245057pNXSnk','search','authToken','fsi','post'];a37c=function(){return q;};return a37c();}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a37o(0x177)][a37o(0x193)]===a37o(0x18a)?a37o(0x188):a37o(0x17b);Command[a37o(0x16a)]({'name':a37o(0x186),'validOpts':['cacert'],'usage':a37o(0x17d),'maxArgLength':0x2,'shortDesc':a37o(0x187),'disableAuthCheck':!![],'examples':[a37o(0x195)]},async function(a,b){const p=a37o,c=Log[p(0x18f)]();try{let d='';b[p(0x18e)]&&(this['fsi']['isFile'](b[p(0x18e)])?(d=b[p(0x18e)],Log['notice']('Using\x20CA\x20Cert\x20'+d)):Log[p(0x178)]('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+d));const f=await this['fsi'][p(0x172)]();if(f[p(0x173)]){if(this[p(0x183)][p(0x17f)](f[p(0x173)]))d=f[p(0x173)];else{c['failure']();throw Log['error'](p(0x175)+d);}}Log['header'](p(0x17a)+hostname);const g={'url':p(0x170)+hostname+p(0x174)};b[p(0x18e)]&&Object[p(0x176)](g,{'cert':d});c['start'](p(0x192));const {statusCode:h}=await HTTPS['get'](g);if(h===0x198){c[p(0x18c)]();throw p(0x16e);}c[p(0x16f)]();if(h!==0xc8){c[p(0x18c)]();throw p(0x17c);}if(!f?.[p(0x16b)]?.[p(0x182)])throw Log[p(0x178)]('Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?');c['start'](p(0x179));const i={'hostname':hostname,'path':'/api/v1/logoutAll','data':{},'headers':{'x-auth-token':f[p(0x16b)]['authToken']}};b['cacert']&&Object[p(0x176)](i,{'cert':d});const {statusCode:j}=await HTTPS[p(0x184)](i);if(j===0x198){c['failure']('\x0a');throw p(0x16e);}this[p(0x183)]['setGlobalConfig']({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[p(0x16f)]();}catch(k){k&&console[p(0x178)](k),process['exit'](0x0);}});
1
+ const a37o=a37d;(function(a,b){const l=a37d,c=a();while(!![]){try{const d=parseInt(l(0x14f))/0x1*(parseInt(l(0x145))/0x2)+parseInt(l(0x13a))/0x3+parseInt(l(0x142))/0x4+parseInt(l(0x151))/0x5+-parseInt(l(0x133))/0x6+parseInt(l(0x141))/0x7*(parseInt(l(0x13b))/0x8)+-parseInt(l(0x132))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x5abb3));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a37d;if(c){const e=c[m(0x12b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const n=a37d;return a37a['toString']()[n(0x156)](n(0x148))[n(0x155)]()[n(0x147)](a37a)[n(0x156)](n(0x148));});a37a();function a37c(){const q=['apply','env','localhost','cacert','Logging\x20out\x20of\x20https://','Preflight\x20Check','create','4554558SiCSjk','4380744dpKKjS','getGlobalConfig','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','exit','failure','authToken','start','2041215YuUKvO','1956984iwlGye','get','maka\x20logout','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','assign','7mNalrJ','1147412Nqfdxd','withSpinner','isFile','72218OFPzDN','logout','constructor','(((.+)+)+)+$','https://','success','header','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','/api/v1/logoutAll','fsi','7qxVAkS','/api/v1/status','715885PcVDSA','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','Logging\x20out','error','toString','search','cert'];a37c=function(){return q;};return a37c();}import{Command}from'../command.js';function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x12b;let f=c[d];return f;},a37d(a,b);}import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a37o(0x12c)]['MAKA_DEV']==='True'?a37o(0x12d):'www.maka-cli.com';Command[a37o(0x131)]({'name':a37o(0x146),'validOpts':['cacert'],'usage':'maka\x20logout\x20<opts>','maxArgLength':0x2,'shortDesc':'Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','disableAuthCheck':!![],'examples':[a37o(0x13d)]},async function(a,b){const p=a37o,c=Log[p(0x143)]();try{let d='';b['cacert']&&(this[p(0x14e)][p(0x144)](b['cacert'])?(d=b[p(0x12e)],Log['notice']('Using\x20CA\x20Cert\x20'+d)):Log[p(0x154)](p(0x135)+d));const f=await this[p(0x14e)][p(0x134)]();if(f[p(0x157)]){if(this[p(0x14e)][p(0x144)](f[p(0x157)]))d=f['cert'];else{c[p(0x137)]();throw Log['error'](p(0x13f)+d);}}Log[p(0x14b)](p(0x12f)+hostname);const g={'url':p(0x149)+hostname+p(0x150)};b[p(0x12e)]&&Object['assign'](g,{'cert':d});c[p(0x139)](p(0x130));const {statusCode:h}=await HTTPS[p(0x13c)](g);if(h===0x198){c['failure']();throw p(0x152);}c[p(0x14a)]();if(h!==0xc8){c['failure']();throw p(0x13e);}if(!f?.['token']?.[p(0x138)])throw Log[p(0x154)](p(0x14c));c['start'](p(0x153));const i={'hostname':hostname,'path':p(0x14d),'data':{},'headers':{'x-auth-token':f['token'][p(0x138)]}};b[p(0x12e)]&&Object[p(0x140)](i,{'cert':d});const {statusCode:j}=await HTTPS['post'](i);if(j===0x198){c['failure']('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}this[p(0x14e)]['setGlobalConfig']({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[p(0x14a)]();}catch(k){k&&console[p(0x154)](k),process[p(0x136)](0x0);}});
@@ -1 +1 @@
1
- function a38c(){const m=['14715928HCtjyv','48RgGiUZ','maka\x20logs\x20--env\x20staging','1853190kYUXAT','1019744BxoJIx','maka\x20logs\x20--env\x20prod','fsi','logs','toString','2287271yNEKmI','6sFhIvN','View\x20the\x20PM2\x20logs','env','(((.+)+)+)+$','9ydWnfX','create','apply','search','maka\x20l\x20-e\x20p','readFileSync','constructor','50tNtJMx','405136JvwQKS','ssh.json','7625839EWczWu','47544OnASfs','95GYvLyI','parse','sshSync','pm2\x20logs','log','2nEHEVg'];a38c=function(){return m;};return a38c();}const a38k=a38d;function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0xcd;let f=c[d];return f;},a38d(a,b);}(function(a,b){const h=a38d,c=a();while(!![]){try{const d=parseInt(h(0xd2))/0x1*(parseInt(h(0xdb))/0x2)+parseInt(h(0xdf))/0x3+-parseInt(h(0xd5))/0x4*(-parseInt(h(0xd6))/0x5)+-parseInt(h(0xe6))/0x6*(parseInt(h(0xe5))/0x7)+-parseInt(h(0xdc))/0x8*(parseInt(h(0xea))/0x9)+-parseInt(h(0xd1))/0xa*(parseInt(h(0xe0))/0xb)+parseInt(h(0xdd))/0xc*(parseInt(h(0xd4))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xebae4));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a38d;if(c){const e=c[i(0xec)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const j=a38d;return a38a[j(0xe4)]()[j(0xcd)](j(0xe9))[j(0xe4)]()[j(0xd0)](a38a)[j(0xcd)](j(0xe9));});a38a();import a38e from'fs';import a38f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a38k(0xeb)]({'name':a38k(0xe3),'aliases':['l',a38k(0xda)],'usage':a38k(0xe1),'requiredOpts':['env'],'mustBeInMakaProject':!![],'validOpts':[''],'shortDesc':a38k(0xe7),'examples':['maka\x20logs\x20--env\x20dev',a38k(0xde),a38k(0xce)]},function(a,b){const l=a38k,c=l(0xd9),d=this[l(0xe2)]['getConfigPath'](b[l(0xe8)]),e=a38f['join'](d,l(0xd3)),f=a38e[l(0xcf)](e),g=JSON[l(0xd7)](f[l(0xe4)]());Object['assign'](g,{'env':d}),SSH[l(0xd8)](c,g,{'tty':!![],'verbose':!![]});});
1
+ function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0xad;let f=c[d];return f;},a38d(a,b);}function a38c(){const m=['env','maka\x20l\x20-e\x20p','maka\x20logs\x20--env\x20dev','76MshtVd','join','getConfigPath','22434vKvWhM','maka\x20logs\x20--env\x20prod','60160zwlwru','assign','112gQDoJX','(((.+)+)+)+$','sshSync','4FufneH','constructor','View\x20the\x20PM2\x20logs','2177784hnIIpm','29932tXMXBU','2244pjmeWh','log','readFileSync','search','37445UKEdsz','logs','66157RgWYqL','parse','fsi','33pDGXkg','create','apply','737870plZHYY','18SbwGKn','toString'];a38c=function(){return m;};return a38c();}const a38k=a38d;(function(a,b){const h=a38d,c=a();while(!![]){try{const d=parseInt(h(0xb4))/0x1*(-parseInt(h(0xaf))/0x2)+-parseInt(h(0xad))/0x3*(parseInt(h(0xcb))/0x4)+parseInt(h(0xbd))/0x5*(-parseInt(h(0xc6))/0x6)+parseInt(h(0xb8))/0x7*(-parseInt(h(0xb1))/0x8)+-parseInt(h(0xb7))/0x9+parseInt(h(0xc5))/0xa*(-parseInt(h(0xc2))/0xb)+-parseInt(h(0xb9))/0xc*(-parseInt(h(0xbf))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x230d5));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a38d;if(c){const e=c[i(0xc4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const j=a38d;return a38a['toString']()[j(0xbc)](j(0xb2))[j(0xc7)]()[j(0xb5)](a38a)[j(0xbc)](j(0xb2));});a38a();import a38e from'fs';import a38f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a38k(0xc3)]({'name':a38k(0xbe),'aliases':['l',a38k(0xba)],'usage':a38k(0xae),'requiredOpts':['env'],'mustBeInMakaProject':!![],'validOpts':[''],'shortDesc':a38k(0xb6),'examples':[a38k(0xca),'maka\x20logs\x20--env\x20staging',a38k(0xc9)]},function(a,b){const l=a38k,c='pm2\x20logs',d=this[l(0xc1)][l(0xcd)](b[l(0xc8)]),e=a38f[l(0xcc)](d,'ssh.json'),f=a38e[l(0xbb)](e),g=JSON[l(0xc0)](f[l(0xc7)]());Object[l(0xb0)](g,{'env':d}),SSH[l(0xb3)](c,g,{'tty':!![],'verbose':!![]});});
@@ -1 +1 @@
1
- const a39j=a39d;function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x12e;let f=c[d];return f;},a39d(a,b);}(function(a,b){const g=a39d,c=a();while(!![]){try{const d=-parseInt(g(0x131))/0x1*(-parseInt(g(0x13e))/0x2)+-parseInt(g(0x144))/0x3+parseInt(g(0x133))/0x4*(parseInt(g(0x142))/0x5)+-parseInt(g(0x137))/0x6+parseInt(g(0x13a))/0x7+-parseInt(g(0x130))/0x8*(-parseInt(g(0x13c))/0x9)+parseInt(g(0x12e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xb4d37));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a39d;if(c){const e=c[h(0x146)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const i=a39d;return a39a[i(0x134)]()[i(0x138)]('(((.+)+)+)+$')[i(0x134)]()[i(0x148)](a39a)[i(0x138)](i(0x139));});a39a();import{Command}from'../command.js';const Maka=new Command({'name':'maka','minArgLength':0x1,'shortDesc':a39j(0x135),'validOpts':[],'usage':a39j(0x13f),'disableAuthCheck':!![],'examples':[a39j(0x13d),a39j(0x136),a39j(0x141),a39j(0x13b)],'description':a39j(0x132)},async function(a,b){const k=a39j;try{const c=a[0x0],d=this[k(0x149)](c);d?this[k(0x147)](c,a[k(0x143)](0x1),b):this[k(0x12f)][k(0x145)]();}catch(f){console[k(0x140)](f),process['exit'](0x1);}});export default Maka;function a39c(){const l=['fsi','617512sRuGJN','520627XiFnUX','\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','28BXrQIF','toString','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','maka\x20install\x20meteor','6017082UfhpUL','search','(((.+)+)+)+$','5397504UJEPrP','maka\x20run','9imjDtF','maka\x20--help','2oIVrPt','maka\x20<command>\x20[<args>]\x20[<opts>]','error','maka\x20create\x20Todo','119190deGdEJ','slice','2146758ewsskl','maybeProxyCommandToMeteor','apply','runSubCommand','constructor','findSubCommand','9233420eqoUZy'];a39c=function(){return l;};return a39c();}
1
+ const a39j=a39d;(function(a,b){const g=a39d,c=a();while(!![]){try{const d=-parseInt(g(0x76))/0x1*(parseInt(g(0x69))/0x2)+-parseInt(g(0x74))/0x3*(-parseInt(g(0x7d))/0x4)+-parseInt(g(0x6f))/0x5+parseInt(g(0x72))/0x6+parseInt(g(0x6c))/0x7+-parseInt(g(0x75))/0x8*(parseInt(g(0x78))/0x9)+-parseInt(g(0x71))/0xa*(-parseInt(g(0x7b))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xb2cb4));function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x67;let f=c[d];return f;},a39d(a,b);}const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a39d;if(c){const e=c[h(0x6d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const i=a39d;return a39a['toString']()[i(0x68)](i(0x6e))[i(0x70)]()[i(0x7a)](a39a)[i(0x68)](i(0x6e));});function a39c(){const l=['slice','3hqUzyL','1272YOlbAe','443720yjinyQ','exit','77967nfNTXh','maka','constructor','1177cZBRXX','\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','4747036hZxywP','error','findSubCommand','maybeProxyCommandToMeteor','search','6uSFwtY','runSubCommand','maka\x20run','1937012IlIXtG','apply','(((.+)+)+)+$','3536905dONefc','toString','130470tWLkgM','7732764ohggVc'];a39c=function(){return l;};return a39c();}a39a();import{Command}from'../command.js';const Maka=new Command({'name':a39j(0x79),'minArgLength':0x1,'shortDesc':'A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','validOpts':[],'usage':'maka\x20<command>\x20[<args>]\x20[<opts>]','disableAuthCheck':!![],'examples':['maka\x20--help','maka\x20install\x20meteor','maka\x20create\x20Todo',a39j(0x6b)],'description':a39j(0x7c)},async function(a,b){const k=a39j;try{const c=a[0x0],d=this[k(0x7f)](c);d?this[k(0x6a)](c,a[k(0x73)](0x1),b):this['fsi'][k(0x67)]();}catch(f){console[k(0x7e)](f),process[k(0x77)](0x1);}});export default Maka;
@@ -1 +1 @@
1
- var a40i=a40d;(function(a,b){var f=a40d,c=a();while(!![]){try{var d=-parseInt(f(0x99))/0x1*(-parseInt(f(0x8e))/0x2)+-parseInt(f(0x93))/0x3*(parseInt(f(0x95))/0x4)+-parseInt(f(0x9f))/0x5*(parseInt(f(0x9e))/0x6)+parseInt(f(0x9c))/0x7+-parseInt(f(0xa2))/0x8*(-parseInt(f(0x96))/0x9)+-parseInt(f(0x91))/0xa*(parseInt(f(0xa0))/0xb)+-parseInt(f(0xa1))/0xc*(parseInt(f(0xa3))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x46bed));function a40c(){var k=['72960nCIjTU','error','3jYKpsf','murder','2285812rlMVvm','8919ouLPVV','maka\x20murder','exit','19013zyiDiu','constructor','apply','3896459MVTWvk','Murrrrderrrrr','3456534EoEfSL','5FKPxJo','352QeFSqb','12uLrokV','4616gprvoi','117442YRLCjL','log','search','58MKBbSM','toString','%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'];a40c=function(){return k;};return a40c();}var a40b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a40d;if(c){var e=c[g(0x9b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){var h=a40d;return a40a[h(0x8f)]()[h(0x8d)]('(((.+)+)+)+$')[h(0x8f)]()[h(0x9a)](a40a)['search']('(((.+)+)+)+$');});a40a();import{Command}from'../command.js';function a40d(a,b){var c=a40c();return a40d=function(d,e){d=d-0x8c;var f=c[d];return f;},a40d(a,b);}Command['create']({'name':a40i(0x94),'usage':a40i(0x97),'maxArgLength':0x1,'shortDesc':a40i(0x9d),'validOpts':[]},async function(){var j=a40i;try{console[j(0x8c)](j(0x90),'font-family:\x20monospace');}catch(a){console[j(0x92)](a),process[j(0x98)](0x0);}});
1
+ var a40i=a40d;(function(a,b){var f=a40d,c=a();while(!![]){try{var d=parseInt(f(0x126))/0x1*(-parseInt(f(0x122))/0x2)+parseInt(f(0x116))/0x3*(-parseInt(f(0x11a))/0x4)+-parseInt(f(0x121))/0x5+parseInt(f(0x123))/0x6*(parseInt(f(0x11e))/0x7)+-parseInt(f(0x11d))/0x8+parseInt(f(0x11c))/0x9+parseInt(f(0x117))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xbb161));var a40b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a40d;if(c){var e=c[g(0x115)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){var h=a40d;return a40a['toString']()[h(0x125)](h(0x124))[h(0x120)]()[h(0x118)](a40a)[h(0x125)]('(((.+)+)+)+$');});function a40d(a,b){var c=a40c();return a40d=function(d,e){d=d-0x114;var f=c[d];return f;},a40d(a,b);}a40a();import{Command}from'../command.js';Command['create']({'name':'murder','usage':a40i(0x11f),'maxArgLength':0x1,'shortDesc':'Murrrrderrrrr','validOpts':[]},async function(){var j=a40i;try{console['log'](j(0x11b),j(0x114));}catch(a){console['error'](a),process[j(0x119)](0x0);}});function a40c(){var k=['988240GYxmkG','54efKfLT','991236hgMval','(((.+)+)+)+$','search','24741MRKeMX','font-family:\x20monospace','apply','228wsWywP','10431630jNfJOj','constructor','exit','8924NkSKdN','%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','11371977NZBcOJ','5363248sezoof','7iiRwCh','maka\x20murder','toString'];a40c=function(){return k;};return a40c();}
@@ -1 +1 @@
1
- const a41q=a41d;(function(a,b){const n=a41d,c=a();while(!![]){try{const d=-parseInt(n(0x13c))/0x1+-parseInt(n(0x11c))/0x2+parseInt(n(0x113))/0x3+parseInt(n(0x11e))/0x4+parseInt(n(0x120))/0x5*(parseInt(n(0x139))/0x6)+-parseInt(n(0x12f))/0x7*(parseInt(n(0x114))/0x8)+parseInt(n(0x13e))/0x9*(parseInt(n(0x11f))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x71a9d));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a41d;if(c){const e=c[o(0x138)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const p=a41d;return a41a[p(0x11d)]()['search'](p(0x129))[p(0x11d)]()[p(0x126)](a41a)['search'](p(0x129));});a41a();import a41e from'fs';import a41f from'path';import a41g from'http-proxy';import{Command}from'../command.js';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x113;let f=c[d];return f;},a41d(a,b);}import{Log}from'../tools/log/log.class.js';function a41c(){const s=['\x20to\x20','.key','error','737570HYzarv','toString','1188520VPzCcW','756570EJTdnZ','5YmDBUy','readFileSync','getConfigPath','appName','utf8','.crt','constructor','isFile','maka\x20proxy\x20--target-host\x20http://192.168.1.20','(((.+)+)+)+$','genSSC','join','genCSR','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','development','282681xKKOJt','findGenerator','create','mkKeysDir','maka\x20proxy','sslconfig','listenPort','targetPort','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','apply','1158222noVQND','targetHost','fsi','320245NslVxU','.csr','81BGnIKh','313992OIbzuK','24slovIo','proxy','\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','=>\x20SSL\x20Proxy\x20forwarding\x20','bright'];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(0x131)]({'name':a41q(0x115),'usage':'maka\x20proxy\x20<options>','mustBeInMakaProject':!![],'validOpts':['help',a41q(0x136),a41q(0x135),'targetHost'],'maxArgLength':0x1,'shortDesc':a41q(0x12d),'description':a41q(0x116),'examples':[a41q(0x133),a41q(0x137),a41q(0x128)]},async function(a,b){const r=a41q,c=this[r(0x13b)]['getProjectConfig'](),d=r(0x12e),e=this[r(0x13b)][r(0x122)](d),f=this[r(0x13b)][r(0x132)]({'configPath':e}),g=b[r(0x136)]?b['targetPort']:0xbb8,h=b[r(0x135)]?b['listenPort']:0xd73,i=b[r(0x13a)]?b['targetHost']:'localhost',j=a41f[r(0x12b)](f,c['appName']+'.key'),k=a41f[r(0x12b)](f,c['appName']+r(0x125));if(!this[r(0x13b)][r(0x127)](j)||!this[r(0x13b)]['isFile'](k)){const m=a41h[r(0x130)](r(0x134));m&&await m['invoke']([r(0x134)],{'env':d,'useConfig':!![]}),SSL[r(0x12c)]({'keyName':c[r(0x123)]+r(0x11a),'csrName':c[r(0x123)]+r(0x13d),'cwd':f}),SSL[r(0x12a)]({'keyName':c[r(0x123)]+'.key','crtName':c[r(0x123)]+'.crt','cwd':f});}if(g===h){Log[r(0x11b)]('Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.');throw new UsageError();}const l={'ssl':{'key':a41e[r(0x121)](j,r(0x124)),'cert':a41e[r(0x121)](k,r(0x124))},'target':{'host':i,'port':g},'ws':!![],'xfwd':!![]};a41g['createProxyServer'](l)['listen'](h),Log[r(0x118)](r(0x117)+h+r(0x119)+g);});
1
+ const a41q=a41d;(function(a,b){const n=a41d,c=a();while(!![]){try{const d=-parseInt(n(0x143))/0x1+-parseInt(n(0x13d))/0x2*(parseInt(n(0x146))/0x3)+-parseInt(n(0x159))/0x4+parseInt(n(0x15c))/0x5*(-parseInt(n(0x139))/0x6)+parseInt(n(0x15d))/0x7+parseInt(n(0x141))/0x8*(parseInt(n(0x15a))/0x9)+parseInt(n(0x135))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x26785));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a41d;if(c){const e=c[o(0x148)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const p=a41d;return a41a[p(0x149)]()[p(0x153)]('(((.+)+)+)+$')[p(0x149)]()['constructor'](a41a)[p(0x153)](p(0x14c));});a41a();import a41e from'fs';import a41f from'path';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x134;let f=c[d];return f;},a41d(a,b);}import a41g from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';function a41c(){const s=['.csr','listenPort','(((.+)+)+)+$','=>\x20SSL\x20Proxy\x20forwarding\x20','createProxyServer','.key','utf8','.crt','\x20to\x20','search','genCSR','listen','invoke','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','targetHost','62408hHHorB','388134DlhuFY','readFileSync','10GzBKuD','1188138cccUqp','proxy','targetPort','development','2693250RgSSVl','\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','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','genSSC','70548OfTViQ','isFile','appName','error','36194LZeQKx','maka\x20proxy\x20--target-host\x20http://192.168.1.20','join','maka\x20proxy\x20<options>','48ryXlAl','fsi','265863BiLRxl','help','sslconfig','39XBtJdT','create','apply','toString'];a41c=function(){return s;};return a41c();}import{SSL}from'../tools/ssl/ssl.class.js';import a41h from'../generators/maka.gen.js';Command[a41q(0x147)]({'name':a41q(0x15e),'usage':a41q(0x140),'mustBeInMakaProject':!![],'validOpts':[a41q(0x144),a41q(0x15f),a41q(0x14b),a41q(0x158)],'maxArgLength':0x1,'shortDesc':a41q(0x157),'description':a41q(0x136),'examples':['maka\x20proxy','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000',a41q(0x13e)]},async function(a,b){const r=a41q,c=this[r(0x142)]['getProjectConfig'](),d=r(0x134),e=this[r(0x142)]['getConfigPath'](d),f=this[r(0x142)]['mkKeysDir']({'configPath':e}),g=b[r(0x15f)]?b[r(0x15f)]:0xbb8,h=b[r(0x14b)]?b[r(0x14b)]:0xd73,i=b[r(0x158)]?b[r(0x158)]:'localhost',j=a41f[r(0x13f)](f,c[r(0x13b)]+r(0x14f)),k=a41f[r(0x13f)](f,c['appName']+r(0x151));if(!this[r(0x142)]['isFile'](j)||!this[r(0x142)][r(0x13a)](k)){const m=a41h['findGenerator'](r(0x145));m&&await m[r(0x156)]([r(0x145)],{'env':d,'useConfig':!![]}),SSL[r(0x154)]({'keyName':c[r(0x13b)]+r(0x14f),'csrName':c[r(0x13b)]+r(0x14a),'cwd':f}),SSL[r(0x138)]({'keyName':c['appName']+'.key','crtName':c['appName']+r(0x151),'cwd':f});}if(g===h){Log[r(0x13c)](r(0x137));throw new UsageError();}const l={'ssl':{'key':a41e[r(0x15b)](j,'utf8'),'cert':a41e[r(0x15b)](k,r(0x150))},'target':{'host':i,'port':g},'ws':!![],'xfwd':!![]};a41g[r(0x14e)](l)[r(0x155)](h),Log['bright'](r(0x14d)+h+r(0x152)+g);});
@@ -1 +1 @@
1
- const a42q=a42d;(function(a,b){const n=a42d,c=a();while(!![]){try{const d=-parseInt(n(0x11f))/0x1*(-parseInt(n(0x110))/0x2)+parseInt(n(0x109))/0x3*(-parseInt(n(0x120))/0x4)+-parseInt(n(0x111))/0x5*(-parseInt(n(0x118))/0x6)+parseInt(n(0x12e))/0x7+parseInt(n(0x12b))/0x8*(parseInt(n(0x122))/0x9)+-parseInt(n(0x12d))/0xa*(-parseInt(n(0x103))/0xb)+-parseInt(n(0x10f))/0xc*(parseInt(n(0x114))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x9161a));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a42d;if(c){const e=c[o(0x10a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const p=a42d;return a42a['toString']()[p(0x127)](p(0x128))[p(0x125)]()[p(0x116)](a42a)[p(0x127)](p(0x128));});a42a();function a42c(){const s=['getConfigPath','maka\x20reconfig\x20--env\x20prod','uname\x20-a','error','create','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','1454orTjkL','584vJCKPV','env','4869162LDizQx','notice','pm2\x20delete\x20all','toString','~/ses.json','search','(((.+)+)+)+$','pm2.config.js','scp','16hhWAPM','ses.json','1660VdykZI','1549079MaCewf','existsSync','ssh','6743JZCiwO','sshSync','_keys','ssh.json','assign','settings.json','1290psBPcQ','apply','readFileSync','join','exit','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','437148kHqueI','1044mlORqG','37310qsjMEm','ping','Checking\x20remote\x20host\x20availability','793QPePnF','Remote\x20host\x20connection\x20successful','constructor','success','576gbCsOK'];a42c=function(){return s;};return a42c();}import a42e from'fs';import a42f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x102;let f=c[d];return f;},a42d(a,b);}import{SSH}from'../tools/ssh/ssh.class.js';Command[a42q(0x11d)]({'name':'reconfig','validOpts':[''],'requiredOpts':[a42q(0x121)],'mustBeInMakaProject':!![],'usage':a42q(0x11a),'shortDesc':'Reconfigure\x20your\x20deployed\x20applications','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':['maka\x20reconfig\x20--env\x20prod']},async function(a,b){const r=a42q;try{const c=this['fsi'][r(0x119)](b['env']),d=a42f[r(0x10c)](c,r(0x106)),f=a42e[r(0x10b)](d)[r(0x125)](),g=JSON['parse'](f);Object[r(0x107)](g,{'env':c}),Log[r(0x123)](r(0x113));const h=SSH[r(0x112)](r(0x11b),g);if(!h)throw r(0x10e);if(h)Log[r(0x117)](r(0x115));const i=a42f[r(0x10c)](c,r(0x105),r(0x12c));if(a42e[r(0x12f)](i)){const l={'source':i,'dest':r(0x126),'verbose':!![]};SSH[r(0x12a)](l,{...g});}const j=a42f[r(0x10c)](c,r(0x129));SSH[r(0x12a)]({'source':j,'dest':'~/pm2.config.js','verbose':!![]},{...g});const k=a42f[r(0x10c)](c,r(0x108));SSH['scp']({'source':k,'dest':'~/settings.json','verbose':!![]},{...g}),SSH[r(0x104)](r(0x124),g),await SSH[r(0x102)](r(0x11e),{...g},{'verbose':!![]});}catch(m){console[r(0x11c)](m),process[r(0x10d)](0x0);}});
1
+ const a42q=a42d;(function(a,b){const n=a42d,c=a();while(!![]){try{const d=parseInt(n(0xa4))/0x1+parseInt(n(0xab))/0x2*(parseInt(n(0x9d))/0x3)+-parseInt(n(0x96))/0x4*(parseInt(n(0x99))/0x5)+parseInt(n(0xaa))/0x6+-parseInt(n(0xa7))/0x7+parseInt(n(0x8e))/0x8+-parseInt(n(0x98))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xe8547));function a42c(){const s=['sshSync','parse','notice','constructor','join','pm2\x20delete\x20all','~/ses.json','Checking\x20remote\x20host\x20availability','Remote\x20host\x20connection\x20successful','pm2.config.js','13234976gylOYG','ses.json','assign','success','maka\x20reconfig\x20--env\x20prod','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','(((.+)+)+)+$','\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','720412GUSRFI','fsi','25358643uslHxP','5TcYnOX','reconfig','env','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','2620887uHzIES','apply','create','toString','scp','_keys','existsSync','1090816UhwXUj','settings.json','ssh','3238263mYohAi','exit','search','4758870OBTZCI','2lmaXnE','Reconfigure\x20your\x20deployed\x20applications'];a42c=function(){return s;};return a42c();}const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a42d;if(c){const e=c[o(0x9e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const p=a42d;return a42a[p(0xa0)]()[p(0xa9)](p(0x94))[p(0xa0)]()[p(0xb0)](a42a)[p(0xa9)](p(0x94));});a42a();function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x8e;let f=c[d];return f;},a42d(a,b);}import a42e from'fs';import a42f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a42q(0x9f)]({'name':a42q(0x9a),'validOpts':[''],'requiredOpts':[a42q(0x9b)],'mustBeInMakaProject':!![],'usage':a42q(0x92),'shortDesc':a42q(0xac),'description':a42q(0x95),'examples':[a42q(0x92)]},async function(a,b){const r=a42q;try{const c=this[r(0x97)]['getConfigPath'](b['env']),d=a42f[r(0xb1)](c,'ssh.json'),f=a42e['readFileSync'](d)['toString'](),g=JSON[r(0xae)](f);Object[r(0x90)](g,{'env':c}),Log[r(0xaf)](r(0xb4));const h=SSH['ping']('uname\x20-a',g);if(!h)throw r(0x93);if(h)Log[r(0x91)](r(0xb5));const i=a42f[r(0xb1)](c,r(0xa2),r(0x8f));if(a42e[r(0xa3)](i)){const l={'source':i,'dest':r(0xb3),'verbose':!![]};SSH[r(0xa1)](l,{...g});}const j=a42f[r(0xb1)](c,r(0xb6));SSH[r(0xa1)]({'source':j,'dest':'~/pm2.config.js','verbose':!![]},{...g});const k=a42f['join'](c,r(0xa5));SSH[r(0xa1)]({'source':k,'dest':'~/settings.json','verbose':!![]},{...g}),SSH[r(0xad)](r(0xb2),g),await SSH[r(0xa6)](r(0x9c),{...g},{'verbose':!![]});}catch(m){console['error'](m),process[r(0xa8)](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a43d,c=a();while(!![]){try{var d=parseInt(f(0x89))/0x1+-parseInt(f(0x80))/0x2+-parseInt(f(0x86))/0x3*(-parseInt(f(0x87))/0x4)+-parseInt(f(0x7e))/0x5+parseInt(f(0x88))/0x6+-parseInt(f(0x7d))/0x7*(-parseInt(f(0x7f))/0x8)+parseInt(f(0x82))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xabfc2));var a43b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a43d;if(c){var e=c[g(0x84)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){var h=a43d;return a43a[h(0x83)]()[h(0x85)](h(0x81))['toString']()[h(0x7c)](a43a)[h(0x85)](h(0x81));});a43a();function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0x7c;var f=c[d];return f;},a43d(a,b);}import'./run.command.js';import'./docker.sub.cmd.js';function a43c(){var i=['304396KVQOkQ','3783498oWdLXr','615766CEjwZk','constructor','1211aGLRWS','6133675lOJYnI','49832DQVVNH','2533896jQYxxE','(((.+)+)+)+$','5127939UmSGpp','toString','apply','search','12sOldth'];a43c=function(){return i;};return a43c();}
1
+ (function(a,b){var f=a43d,c=a();while(!![]){try{var d=parseInt(f(0xef))/0x1*(-parseInt(f(0xf3))/0x2)+-parseInt(f(0xec))/0x3*(-parseInt(f(0xee))/0x4)+-parseInt(f(0xf5))/0x5*(-parseInt(f(0xf8))/0x6)+-parseInt(f(0xed))/0x7+-parseInt(f(0xf7))/0x8+parseInt(f(0xf1))/0x9*(-parseInt(f(0xf9))/0xa)+parseInt(f(0xf2))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xbc3e2));var a43b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){var g=a43d;return a43a[g(0xf0)]()[g(0xf4)]('(((.+)+)+)+$')[g(0xf0)]()['constructor'](a43a)[g(0xf4)](g(0xf6));});function a43c(){var h=['1775661nhICtZ','338961aHGzWI','4JLGLen','4lAWfgx','toString','9ZnVnFu','17213097qdPIAj','475908tiuWnJ','search','13005SYaxPn','(((.+)+)+)+$','9181080KqDasT','3168aqSkZe','6111260ByhkaW'];a43c=function(){return h;};return a43c();}a43a();import'./run.command.js';function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0xec;var f=c[d];return f;},a43d(a,b);}import'./docker.sub.cmd.js';
@@ -1 +1 @@
1
- const a44l=a44d;(function(a,b){const i=a44d,c=a();while(!![]){try{const d=parseInt(i(0x1fa))/0x1*(-parseInt(i(0x1f8))/0x2)+parseInt(i(0x1ed))/0x3+-parseInt(i(0x1fb))/0x4+-parseInt(i(0x1e8))/0x5*(-parseInt(i(0x1eb))/0x6)+parseInt(i(0x1f1))/0x7+parseInt(i(0x1f5))/0x8+parseInt(i(0x1f9))/0x9*(-parseInt(i(0x1f0))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x8669a));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a44d;if(c){const e=c[j(0x1e7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const k=a44d;return a44a[k(0x1e2)]()['search'](k(0x1ea))[k(0x1e2)]()[k(0x1e0)](a44a)[k(0x1f3)]('(((.+)+)+)+$');});a44a();import a44e from'./run.command.js';function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x1db;let f=c[d];return f;},a44d(a,b);}import{execSync}from'child_process';import a44f from'path';import a44g from'fs';import{Log}from'../../tools/log/log.class.js';function a44c(){const n=['existsSync','create','552350lTIJIz','1296351PaeCgg','createFile','search','exit','5917904MvVTLh','\x20up\x20--remove-orphans','notice','2QgToMX','216kClwhS','453135bVmkfX','296820KDvqFT','fsi','config/docker-compose.yaml','join','docker-compose.yaml','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','constructor','docker-compose\x20--project-directory\x20','toString','docker','getConfigPath','templateContent','appName','apply','4835605OIvwJD','maka\x20run\x20docker','(((.+)+)+)+$','6UFjlDv','inherit','1534446hMvvcc'];a44c=function(){return n;};return a44c();}import{Command}from'../../command.js';import{paramCase}from'change-case';Command[a44l(0x1ef)]({'name':a44l(0x1e3),'aliases':['d'],'shortDesc':a44l(0x1df),'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':a44l(0x1e9),'validOpts':['']},async function(){const m=a44l;try{const a=this['fsi']['getProjectConfig'](),b=this['fsi'][m(0x1e4)](m(0x1e3)),c=a44f['join'](b,m(0x1de)),d=a44f[m(0x1dd)](b,'pm2.config.js');Log[m(0x1f7)]('PM2\x20Config\x20File:\x20'+d),Log['notice']('Docker\x20Compose\x20Path:\x20'+c);if(!a44g[m(0x1ee)](c)){const f={'app':a['appName'],'appFileCase':paramCase(a[m(0x1e6)])},g=this[m(0x1db)][m(0x1e5)]({'srcPath':m(0x1dc),'context':f})+'\x0a';this[m(0x1db)][m(0x1f2)]({'filePath':c,'data':g});}execSync(m(0x1e1)+b+m(0x1f6),{'stdio':m(0x1ec)});}catch(h){process[m(0x1f4)](0x1);}},a44e);
1
+ const a44k=a44d;(function(a,b){const i=a44d,c=a();while(!![]){try{const d=-parseInt(i(0x110))/0x1*(parseInt(i(0x104))/0x2)+-parseInt(i(0x10b))/0x3+parseInt(i(0x119))/0x4+parseInt(i(0x106))/0x5*(parseInt(i(0x118))/0x6)+parseInt(i(0x10a))/0x7*(-parseInt(i(0xff))/0x8)+-parseInt(i(0x102))/0x9*(parseInt(i(0x103))/0xa)+-parseInt(i(0x113))/0xb*(-parseInt(i(0xfd))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xda617));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const j=a44d;return a44a[j(0x10f)]()[j(0x115)](j(0x10c))[j(0x10f)]()[j(0x114)](a44a)[j(0x115)](j(0x10c));});a44a();import a44e from'./run.command.js';import{execSync}from'child_process';function a44c(){const m=['PM2\x20Config\x20File:\x20','82235eoNImM','getConfigPath','docker-compose\x20--project-directory\x20','Docker\x20Compose\x20Path:\x20','8974QtzBKW','2988078TIVsAd','(((.+)+)+)+$','notice','create','toString','224866EiCEVA','join','getProjectConfig','11hiFxhy','constructor','search','docker','\x20up\x20--remove-orphans','300nWODAr','6343832akLeJf','fsi','createFile','29771220zwityT','appName','8472WsDGab','\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','maka\x20run\x20docker','9ZAvIqg','670300ZwkfuQ','14BJJLAG'];a44c=function(){return m;};return a44c();}import a44f from'path';import a44g from'fs';function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0xfd;let f=c[d];return f;},a44d(a,b);}import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';Command[a44k(0x10e)]({'name':a44k(0x116),'aliases':['d'],'shortDesc':'Run\x20your\x20application\x20in\x20a\x20Docker\x20container','description':a44k(0x100),'usage':a44k(0x101),'validOpts':['']},async function(){const l=a44k;try{const a=this[l(0x11a)][l(0x112)](),b=this[l(0x11a)][l(0x107)](l(0x116)),c=a44f[l(0x111)](b,'docker-compose.yaml'),d=a44f[l(0x111)](b,'pm2.config.js');Log[l(0x10d)](l(0x105)+d),Log['notice'](l(0x109)+c);if(!a44g['existsSync'](c)){const f={'app':a[l(0xfe)],'appFileCase':paramCase(a[l(0xfe)])},g=this['fsi']['templateContent']({'srcPath':'config/docker-compose.yaml','context':f})+'\x0a';this[l(0x11a)][l(0x11b)]({'filePath':c,'data':g});}execSync(l(0x108)+b+l(0x117),{'stdio':'inherit'});}catch(h){process['exit'](0x1);}},a44e);
@@ -1 +1 @@
1
- const a45t=a45d;function a45c(){const w=['invokeMeteorCommand','27eeEAYY','notice','\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.','allowIncompatibleUpdate','config','.meteor','constructor','isFile','process.env','cordova-build','Meteor\x20Settings:\x20','173008CdpOZb','--settings','verbose','splice','forEach','--production','(((.+)+)+)+$','settings.json','slice','toString','port','264vGoScz','sep','app','docker','48727CnYGTl','concat','env','isDirectory','exclude-archs','filter','1576870ibUJMw','argv','openSync','create','fsi','3TuDtQv','1293352FRsLgm','Node\x20Env\x20Config:\x20','extraPackages','1204685WKVQNc','Cannot\x20find\x20Node\x20Environment\x20File:\x20','split','844053zmOxXw','Run\x20your\x20Meteor\x20application','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','rawLogs','findProjectDirectory','ios','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)','error','getConfigPath','search','settings','join','production','development','findSubCommand','--env','warn','159742aLKUUk'];a45c=function(){return w;};return a45c();}(function(a,b){const q=a45d,c=a();while(!![]){try{const d=-parseInt(q(0x21b))/0x1*(-parseInt(q(0x1f4))/0x2)+parseInt(q(0x222))/0x3+-parseInt(q(0x21c))/0x4+-parseInt(q(0x21f))/0x5+parseInt(q(0x20c))/0x6*(parseInt(q(0x210))/0x7)+parseInt(q(0x201))/0x8*(parseInt(q(0x1f6))/0x9)+-parseInt(q(0x216))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x298b4));function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x1ef;let f=c[d];return f;},a45d(a,b);}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(0x20a)]()[r(0x22b)](r(0x207))[r(0x20a)]()[r(0x1fc)](a45a)['search'](r(0x207));});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(0x218)](a,'r'),a45g[s(0x1fa)]({'path':a});},Run=Command[a45t(0x219)]({'name':'run','mustBeInMakaProject':!![],'shortDesc':a45t(0x223),'description':a45t(0x1f8),'validOpts':[a45t(0x212),a45t(0x20f),'r',a45t(0x225),'p',a45t(0x20b),'i','inspect','m','mobileServer','v',a45t(0x203),a45t(0x1f9),a45t(0x21e),'x',a45t(0x214),a45t(0x1ef)]},async function(a,b){const u=a45t;try{const c=a[0x0],d=this[u(0x1f1)](c);d&&this['runSubCommand'](c,a,b);if(c===u(0x227)){const m=this['fsi'][u(0x226)](),n=a45e['join'](m,u(0x20e),u(0x1fb),'local',u(0x1ff));this['fsi'][u(0x213)](n)&&await rimraf(n);}if(b['mobile-server']&&b['mobile-server']===!![]||b['m']&&b['m']===!![])throw u(0x228);await this[u(0x21a)]['compareMakaToLatest']();const f=b[u(0x212)]?b[u(0x212)]:u(0x1f0),g=this[u(0x21a)][u(0x22a)](f),h=a45e[u(0x22d)](g,u(0x1fe));let i=a45e[u(0x22d)](g,u(0x208));b['settings']?i=b[u(0x22c)]:i=a45e[u(0x22d)](g,u(0x208));if(this[u(0x21a)][u(0x1fd)](h)&&!b['docker'])Log[u(0x1f7)](u(0x21d)+h),syncSource(h);else!b[u(0x20f)]&&Log[u(0x1f3)](u(0x220)+h);this['fsi']['isFile'](i)?(Log['notice'](u(0x200)+i),a=a[u(0x211)]([u(0x202),i])):Log[u(0x1f3)](u(0x224)+i);const j=g[u(0x221)](a45e[u(0x20d)]),k=j[j['length']-0x1];k===u(0x1ef)&&a['push'](u(0x206));const l=process[u(0x217)][u(0x209)](0x2)[u(0x215)](o=>o!=='run')['filter'](o=>o!==a[0x0]);l[u(0x205)]((o,p)=>{const v=u;o===v(0x1f2)&&l[v(0x204)](p,0x2),o==='-e'&&l[v(0x204)](p,0x2);}),this['fsi'][u(0x1f5)]('run',a[u(0x211)](l));}catch(o){console[u(0x229)](o),process['exit'](0x1);}});export default Run;
1
+ const a45u=a45d;(function(a,b){const q=a45d,c=a();while(!![]){try{const d=-parseInt(q(0x1c1))/0x1*(parseInt(q(0x1bc))/0x2)+-parseInt(q(0x1be))/0x3*(parseInt(q(0x1ce))/0x4)+parseInt(q(0x19f))/0x5+-parseInt(q(0x1a1))/0x6+parseInt(q(0x1d2))/0x7*(parseInt(q(0x1a9))/0x8)+parseInt(q(0x1b9))/0x9*(parseInt(q(0x1c5))/0xa)+-parseInt(q(0x1c4))/0xb*(-parseInt(q(0x1c8))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x856f4));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a45d;if(c){const e=c[r(0x1af)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const s=a45d;return a45a[s(0x1a3)]()['search'](s(0x1b2))[s(0x1a3)]()[s(0x197)](a45a)['search'](s(0x1b2));});a45a();import a45e from'path';import a45f from'fs';import a45g from'dotenv';function a45c(){const x=['invokeMeteorCommand','cordova-build','runSubCommand','filter','Node\x20Env\x20Config:\x20','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','Run\x20your\x20Meteor\x20application','4337165wauuFg','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)','5503440PsPQuY','env','toString','create','rawLogs','.meteor','mobileServer','app','3304ZtTvfq','production','openSync','slice','argv','mobile-server','apply','fsi','forEach','(((.+)+)+)+$','getConfigPath','notice','push','isDirectory','length','run','3231OMQTwA','--production','local','6326AHwdnz','Meteor\x20Settings:\x20','3Rdgyjd','ios','--settings','92GvyvnZ','split','compareMakaToLatest','5432075GadfSN','26710IHqpQq','splice','exit','12pWcSXS','Cannot\x20find\x20Node\x20Environment\x20File:\x20','port','\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.','findSubCommand','isFile','3209700BCOevR','join','warn','findProjectDirectory','4018tttnPw','docker','settings.json','concat','--env','constructor'];a45c=function(){return x;};return a45c();}function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x196;let f=c[d];return f;},a45d(a,b);}import{rimraf}from'rimraf';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const t=a45d;a45f[t(0x1ab)](a,'r'),a45g['config']({'path':a});},Run=Command[a45u(0x1a4)]({'name':a45u(0x1b8),'mustBeInMakaProject':!![],'shortDesc':a45u(0x19e),'description':a45u(0x1cb),'validOpts':['env',a45u(0x1d3),'r',a45u(0x1a5),'p',a45u(0x1ca),'i','inspect','m',a45u(0x1a7),'v','verbose','allowIncompatibleUpdate','extraPackages','x','exclude-archs',a45u(0x1aa)]},async function(a,b){const v=a45u;try{const c=a[0x0],d=this[v(0x1cc)](c);d&&this[v(0x19a)](c,a,b);if(c===v(0x1bf)){const m=this[v(0x1b0)][v(0x1d1)](),n=a45e[v(0x1cf)](m,v(0x1a8),v(0x1a6),v(0x1bb),v(0x199));this[v(0x1b0)][v(0x1b6)](n)&&await rimraf(n);}if(b[v(0x1ae)]&&b[v(0x1ae)]===!![]||b['m']&&b['m']===!![])throw v(0x1a0);await this[v(0x1b0)][v(0x1c3)]();const f=b['env']?b[v(0x1a2)]:'development',g=this[v(0x1b0)][v(0x1b3)](f),h=a45e['join'](g,'process.env');let i=a45e['join'](g,v(0x1d4));b['settings']?i=b['settings']:i=a45e['join'](g,'settings.json');if(this[v(0x1b0)]['isFile'](h)&&!b[v(0x1d3)])Log[v(0x1b4)](v(0x19c)+h),syncSource(h);else!b[v(0x1d3)]&&Log[v(0x1d0)](v(0x1c9)+h);this[v(0x1b0)][v(0x1cd)](i)?(Log[v(0x1b4)](v(0x1bd)+i),a=a[v(0x1d5)]([v(0x1c0),i])):Log[v(0x1d0)](v(0x19d)+i);const j=g[v(0x1c2)](a45e['sep']),k=j[j[v(0x1b7)]-0x1];k==='production'&&a[v(0x1b5)](v(0x1ba));const l=process[v(0x1ad)][v(0x1ac)](0x2)[v(0x19b)](o=>o!==v(0x1b8))['filter'](o=>o!==a[0x0]);l[v(0x1b1)]((o,p)=>{const w=v;o===w(0x196)&&l[w(0x1c6)](p,0x2),o==='-e'&&l[w(0x1c6)](p,0x2);}),this['fsi'][v(0x198)](v(0x1b8),a[v(0x1d5)](l));}catch(o){console['error'](o),process[v(0x1c7)](0x1);}});export default Run;
@@ -1 +1 @@
1
- (function(a,b){var f=a46d,c=a();while(!![]){try{var d=-parseInt(f(0x106))/0x1*(parseInt(f(0x10d))/0x2)+parseInt(f(0x104))/0x3*(-parseInt(f(0x103))/0x4)+parseInt(f(0x108))/0x5+parseInt(f(0x109))/0x6+-parseInt(f(0x10b))/0x7*(-parseInt(f(0x107))/0x8)+parseInt(f(0x10f))/0x9+parseInt(f(0x10c))/0xa*(-parseInt(f(0x10a))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x46bfb));function a46c(){var h=['1793608YXYgsO','528570nsmFmc','1933842PRveee','2020007hBFfES','7nuTrfy','10LsIFqv','2tdmukG','constructor','3419820IxWllq','toString','636772PMEPYf','9nsnUXe','search','81199FPrpbi'];a46c=function(){return h;};return a46c();}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['toString']()['search']('(((.+)+)+)+$')[g(0x102)]()[g(0x10e)](a46a)[g(0x105)]('(((.+)+)+)+$');});function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x102;var f=c[d];return f;},a46d(a,b);}a46a();import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';
1
+ function a46c(){var i=['151154tYTypO','529218oAtpZO','toString','apply','49540lCjOlc','13540cvPyLW','1788gpDqiP','14lSaume','1261112tModVV','12OvFWcS','14JSSGVk','40482816iTLtIu','3089772SREYce','1826PtsgBe','(((.+)+)+)+$','constructor'];a46c=function(){return i;};return a46c();}(function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x179))/0x1*(-parseInt(f(0x16f))/0x2)+-parseInt(f(0x170))/0x3*(-parseInt(f(0x178))/0x4)+-parseInt(f(0x174))/0x5*(parseInt(f(0x175))/0x6)+parseInt(f(0x176))/0x7*(-parseInt(f(0x177))/0x8)+-parseInt(f(0x17b))/0x9+parseInt(f(0x173))/0xa*(-parseInt(f(0x17c))/0xb)+parseInt(f(0x17a))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x87ee6));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x172)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0x171)]()['search'](h(0x16d))['toString']()[h(0x16e)](a46a)['search'](h(0x16d));});a46a();import'./set.command.js';function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x16d;var f=c[d];return f;},a46d(a,b);}import'./global.sub.cmd.js';import'./local.sub.cmd.js';
@@ -1 +1 @@
1
- function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0xef;let f=c[d];return f;},a47d(a,b);}const a47k=a47d;(function(a,b){const h=a47d,c=a();while(!![]){try{const d=-parseInt(h(0x114))/0x1*(parseInt(h(0xf0))/0x2)+parseInt(h(0x118))/0x3*(-parseInt(h(0xf5))/0x4)+parseInt(h(0xfd))/0x5+-parseInt(h(0x104))/0x6+-parseInt(h(0xfe))/0x7+-parseInt(h(0xf7))/0x8*(-parseInt(h(0xfa))/0x9)+-parseInt(h(0xff))/0xa*(-parseInt(h(0x100))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x55dfd));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a47d;if(c){const e=c[i(0x115)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const j=a47d;return a47a[j(0x111)]()[j(0xfc)](j(0xf9))[j(0x111)]()[j(0x106)](a47a)[j(0xfc)](j(0xf9));});a47a();function a47c(){const m=['cacert','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','Set\x20workspace:\x20','create','188CoMOYE','\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','1535536xKqcRY','maka\x20set:global-config\x20--cacert\x20<path>','(((.+)+)+)+$','18cdXupw','success','search','1408655KnLImF','4200140xPSrNK','14930OJzNwr','9229CTQCoU','Set\x20allowInsecure:\x20','help','allowInsecure','258582xklDPJ','Set\x20CA\x20Cert\x20Path:\x20','constructor','maka\x20set:gc\x20--workspace\x20<path>','error','disallowInsecure','workspace','boolean','resolve','setGlobalConfig','isDirectory','exit','maka\x20set:gc\x20--insecure\x20<path>','toString','Set\x20global\x20Maka-CLI\x20settings','Could\x20not\x20find\x20directory','409063WtdIqv','apply','fsi','maka\x20set:global-config\x20<args>','32829oYjJlP','global-config','2TOlocb'];a47c=function(){return m;};return a47c();}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(0xf4)]({'name':a47k(0xef),'usage':a47k(0x117),'aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a47k(0xf1),'allowInsecure',a47k(0x109),a47k(0x10a),a47k(0x102)],'shortDesc':a47k(0x112),'description':a47k(0xf6),'examples':[a47k(0xf8),a47k(0x110),a47k(0x107)]},async function(a,b){const l=a47k;try{if(b[l(0xf1)]){if(this[l(0x116)]['isFile'](b[l(0xf1)]))this[l(0x116)][l(0x10d)]({'cert':b[l(0xf1)]}),Log[l(0xfb)](l(0x105)+b[l(0xf1)]);else{const c=typeof b[l(0xf1)]===l(0x10b)?'Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.':l(0xf2)+b['cacert'];throw Log[l(0x108)](c);}}if(b[l(0x10a)]){const d=this['fsi'][l(0x10e)](b[l(0x10a)]);if(d)this[l(0x116)][l(0x10d)]({'workspace':a47e['resolve'](b[l(0x10a)])}),Log[l(0xfb)](l(0xf3)+a47e[l(0x10c)](b['workspace']));else throw Log['error'](l(0x113));}if(b[l(0x103)]){if(b[l(0x103)]&&b[l(0x109)])throw Log[l(0x108)]('One\x20or\x20the\x20other\x20buddy');let f=b[l(0x103)];b[l(0x109)]&&(f=![]),this[l(0x116)][l(0x10d)]({'allowInsecure':f}),Log[l(0xfb)](l(0x101)+f);}}catch(g){console[l(0x108)](g),process[l(0x10f)](0x0);}},a47f);
1
+ const a47j=a47d;function a47c(){const l=['search','maka\x20set:gc\x20--workspace\x20<path>','boolean','fsi','8MZyBuk','Set\x20CA\x20Cert\x20Path:\x20','2511279iFCtqb','(((.+)+)+)+$','\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','cacert','isFile','exit','Could\x20not\x20find\x20directory','64444XPdDxg','constructor','Set\x20workspace:\x20','1493080WbmEGf','allowInsecure','95pgWlTY','setGlobalConfig','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','1911534rhWtsE','110mwavmi','2FwihIT','isDirectory','disallowInsecure','workspace','success','One\x20or\x20the\x20other\x20buddy','maka\x20set:global-config\x20--cacert\x20<path>','toString','create','3218761WBPCDd','Set\x20allowInsecure:\x20','error','2623056KMvkJL','resolve','278221VdOKsB'];a47c=function(){return l;};return a47c();}(function(a,b){const h=a47d,c=a();while(!![]){try{const d=-parseInt(h(0x16d))/0x1*(-parseInt(h(0x15f))/0x2)+parseInt(h(0x15d))/0x3+parseInt(h(0x17b))/0x4*(parseInt(h(0x15a))/0x5)+parseInt(h(0x16b))/0x6+-parseInt(h(0x168))/0x7*(-parseInt(h(0x172))/0x8)+-parseInt(h(0x174))/0x9+-parseInt(h(0x158))/0xa*(parseInt(h(0x15e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x5491c));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(0x166)]()[i(0x16e)](i(0x175))[i(0x166)]()[i(0x17c)](a47a)['search'](i(0x175));});a47a();import a47e from'path';import a47f from'./set.command.js';import{Command}from'../../command.js';function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x158;let f=c[d];return f;},a47d(a,b);}import{Log}from'../../tools/log/log.class.js';Command[a47j(0x167)]({'name':'global-config','usage':'maka\x20set:global-config\x20<args>','aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a47j(0x177),a47j(0x159),a47j(0x161),a47j(0x162),'help'],'shortDesc':'Set\x20global\x20Maka-CLI\x20settings','description':a47j(0x176),'examples':[a47j(0x165),'maka\x20set:gc\x20--insecure\x20<path>',a47j(0x16f)]},async function(a,b){const k=a47j;try{if(b[k(0x177)]){if(this['fsi'][k(0x178)](b[k(0x177)]))this['fsi'][k(0x15b)]({'cert':b[k(0x177)]}),Log[k(0x163)](k(0x173)+b[k(0x177)]);else{const c=typeof b['cacert']===k(0x170)?'Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.':k(0x15c)+b[k(0x177)];throw Log['error'](c);}}if(b[k(0x162)]){const d=this[k(0x171)][k(0x160)](b[k(0x162)]);if(d)this[k(0x171)][k(0x15b)]({'workspace':a47e[k(0x16c)](b[k(0x162)])}),Log[k(0x163)](k(0x17d)+a47e['resolve'](b[k(0x162)]));else throw Log['error'](k(0x17a));}if(b[k(0x159)]){if(b[k(0x159)]&&b['disallowInsecure'])throw Log['error'](k(0x164));let f=b[k(0x159)];b[k(0x161)]&&(f=![]),this[k(0x171)][k(0x15b)]({'allowInsecure':f}),Log[k(0x163)](k(0x169)+f);}}catch(g){console[k(0x16a)](g),process[k(0x179)](0x0);}},a47f);
@@ -1 +1 @@
1
- function a48d(a,b){var c=a48c();return a48d=function(d,e){d=d-0xc6;var f=c[d];return f;},a48d(a,b);}var a48i=a48d;(function(a,b){var f=a48d,c=a();while(!![]){try{var d=-parseInt(f(0xd4))/0x1*(-parseInt(f(0xca))/0x2)+parseInt(f(0xdd))/0x3*(parseInt(f(0xd6))/0x4)+parseInt(f(0xc8))/0x5+parseInt(f(0xd2))/0x6+parseInt(f(0xd7))/0x7*(-parseInt(f(0xcb))/0x8)+-parseInt(f(0xdb))/0x9*(-parseInt(f(0xc7))/0xa)+-parseInt(f(0xce))/0xb*(parseInt(f(0xdc))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x55117));var a48b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a48d;if(c){var e=c[g(0xcd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){var h=a48d;return a48a[h(0xd5)]()[h(0xcc)](h(0xd3))[h(0xd5)]()['constructor'](a48a)[h(0xcc)]('(((.+)+)+)+$');});function a48c(){var k=['343010cQUyPi','602150NXVgSP','maka\x20set:local-config\x20<opts>','344UJllhx','85568FzYcSW','search','apply','2398agrpMW','Set\x20local\x20maka\x20app\x20settings','notice','local-config','2667006LCixLy','(((.+)+)+)+$','1858dBggZK','toString','72TBsrIr','112GVpCTl','create','maka\x20set:lc\x20<opts>','Sorry,\x20not\x20implemented\x20yet','54QIvtYY','66384ozrYwz','105873URagfH','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20'];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(0xd8)]({'name':a48i(0xd1),'usage':'maka\x20set:local-config\x20<opts>','examples':[a48i(0xd9),a48i(0xc9)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':a48i(0xcf),'validOpts':[],'description':a48i(0xc6)},async function(){var j=a48i;Log[j(0xd0)](j(0xda));},a48e);
1
+ function a48c(){var k=['search','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','952BWRvvo','apply','create','(((.+)+)+)+$','1145mDHXYR','363fCSmwf','18342vMpmOi','168176SyUpcR','1652616KZkzxU','826580USvqbq','maka\x20set:local-config\x20<opts>','local-config','toString','41978tSOHGf','174QeYJdx','22iJAwYg','Sorry,\x20not\x20implemented\x20yet','5756OPnpYu','constructor'];a48c=function(){return k;};return a48c();}var a48i=a48d;(function(a,b){var f=a48d,c=a();while(!![]){try{var d=parseInt(f(0x19a))/0x1+-parseInt(f(0x1a0))/0x2+parseInt(f(0x1ad))/0x3*(-parseInt(f(0x1a4))/0x4)+-parseInt(f(0x1ac))/0x5*(parseInt(f(0x1a1))/0x6)+parseInt(f(0x19b))/0x7+-parseInt(f(0x1a8))/0x8*(parseInt(f(0x1ae))/0x9)+parseInt(f(0x19c))/0xa*(parseInt(f(0x1a2))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x1e97d));var a48b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a48d;if(c){var e=c[g(0x1a9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){var h=a48d;return a48a[h(0x19f)]()[h(0x1a6)](h(0x1ab))[h(0x19f)]()[h(0x1a5)](a48a)[h(0x1a6)](h(0x1ab));});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-0x19a;var f=c[d];return f;},a48d(a,b);}Command[a48i(0x1aa)]({'name':a48i(0x19e),'usage':'maka\x20set:local-config\x20<opts>','examples':['maka\x20set:lc\x20<opts>',a48i(0x19d)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':'Set\x20local\x20maka\x20app\x20settings','validOpts':[],'description':a48i(0x1a7)},async function(){var j=a48i;Log['notice'](j(0x1a3));},a48e);
@@ -1 +1 @@
1
- const a49h=a49d;(function(a,b){const f=a49d,c=a();while(!![]){try{const d=-parseInt(f(0x9a))/0x1+parseInt(f(0xa4))/0x2*(parseInt(f(0x99))/0x3)+parseInt(f(0x91))/0x4*(-parseInt(f(0x98))/0x5)+parseInt(f(0xa0))/0x6*(parseInt(f(0xa1))/0x7)+-parseInt(f(0x9e))/0x8+-parseInt(f(0x96))/0x9*(parseInt(f(0x94))/0xa)+parseInt(f(0xa3))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x4e915));function a49d(a,b){const c=a49c();return a49d=function(d,e){d=d-0x91;let f=c[d];return f;},a49d(a,b);}function a49c(){const j=['search','21320398uEGElA','62232INVDrK','(((.+)+)+)+$','4JOKsAr','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','help','41640aJCdfg','create','1305JFozFP','maka\x20set:<sub-command>\x20<opts>','696545oncPJF','6ErzFOt','535340PCtHtp','set','runSubCommand','\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','3267920SuudQC','toString','246xnIDsw','1414nWJfuB'];a49c=function(){return j;};return a49c();}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['toString']()[g(0xa2)](g(0xa5))[g(0x9f)]()['constructor'](a49a)[g(0xa2)](g(0xa5));});a49a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command[a49h(0x95)]({'name':a49h(0x9b),'usage':a49h(0x97),'minArgLength':0x1,'shortDesc':a49h(0x92),'description':a49h(0x9d),'validOpts':[]},async function(a,b){const i=a49h,c=a[0x0];if(b[i(0x93)])throw new UsageError();const d=this['findSubCommand'](c);d&&this[i(0x9c)](c,a,b);});export default SetCommand;
1
+ const a49i=a49d;(function(a,b){const f=a49d,c=a();while(!![]){try{const d=-parseInt(f(0x154))/0x1*(-parseInt(f(0x15f))/0x2)+parseInt(f(0x159))/0x3+parseInt(f(0x15a))/0x4*(-parseInt(f(0x163))/0x5)+parseInt(f(0x155))/0x6*(parseInt(f(0x160))/0x7)+parseInt(f(0x15e))/0x8+-parseInt(f(0x161))/0x9*(parseInt(f(0x15d))/0xa)+-parseInt(f(0x153))/0xb*(parseInt(f(0x15b))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xd21fd));const a49b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a49d;if(c){const e=c[g(0x158)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){const h=a49d;return a49a[h(0x156)]()[h(0x162)]('(((.+)+)+)+$')[h(0x156)]()['constructor'](a49a)[h(0x162)]('(((.+)+)+)+$');});a49a();import{Command}from'../../command.js';function a49d(a,b){const c=a49c();return a49d=function(d,e){d=d-0x152;let f=c[d];return f;},a49d(a,b);}import{UsageError}from'../../error.js';const SetCommand=Command['create']({'name':'set','usage':a49i(0x15c),'minArgLength':0x1,'shortDesc':'Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','description':a49i(0x157),'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(0x152)](c,a,b);});export default SetCommand;function a49c(){const k=['\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','apply','4512765iSnfXW','5119556tfjSeK','9988812hSYeLw','maka\x20set:<sub-command>\x20<opts>','10daqYNO','3059480njlznR','2114XNcvEU','2559039DjOlTt','617373hznINS','search','5OeNXCG','runSubCommand','11OPGAcZ','55gwHhdh','18PjkDXh','toString'];a49c=function(){return k;};return a49c();}
@@ -1 +1 @@
1
- const a50m=a50d;(function(a,b){const j=a50d,c=a();while(!![]){try{const d=-parseInt(j(0x162))/0x1*(-parseInt(j(0x179))/0x2)+-parseInt(j(0x169))/0x3+-parseInt(j(0x176))/0x4+-parseInt(j(0x16d))/0x5+-parseInt(j(0x161))/0x6+-parseInt(j(0x16e))/0x7+parseInt(j(0x17a))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x6360a));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a50d;if(c){const e=c[k(0x16a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const l=a50d;return a50a[l(0x175)]()[l(0x166)](l(0x171))[l(0x175)]()['constructor'](a50a)[l(0x166)]('(((.+)+)+)+$');});a50a();function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x15f;let f=c[d];return f;},a50d(a,b);}function a50c(){const o=['search','parse','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','2346924dYzNOO','apply','maka\x20ssh\x20--env\x20prod','env','831190cYuQiI','389536oPquQx','maka\x20ssh\x20--env\x20dev','length','(((.+)+)+)+$','sshSync','getConfigPath','ssh.json','toString','3112796mqhsxW','error','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','394OPFNCV','16222216PFJXlY','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','exit','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','3711906pQiUNC','3961nepRxp','fsi','create','readFileSync'];a50c=function(){return o;};return a50c();}import a50e from'fs';import a50f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a50m(0x164)]({'name':'ssh','usage':'maka\x20ssh\x20--env\x20<env>\x20[command]','mustBeInMakaProject':!![],'requiredOpts':[a50m(0x16c)],'validOpts':[a50m(0x16c),'v'],'shortDesc':a50m(0x168),'examples':[a50m(0x16f),'maka\x20ssh\x20--env\x20staging',a50m(0x16b),a50m(0x17b),a50m(0x178),a50m(0x160)]},async function(a,b){const n=a50m;try{const c=this[n(0x163)][n(0x173)](b[n(0x16c)]);let d='';a[n(0x170)]>0x0&&(d=a[0x0]);const f=a50f['join'](c,n(0x174)),g=a50e[n(0x165)](f)[n(0x175)](),h=JSON[n(0x167)](g);Object['assign'](h,{'env':c}),SSH[n(0x172)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['v']});}catch(i){console[n(0x177)](i),process[n(0x15f)](0x0);}});
1
+ const a50m=a50d;function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0xeb;let f=c[d];return f;},a50d(a,b);}function a50c(){const o=['494570FHbpMr','2RONDeA','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','(((.+)+)+)+$','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','toString','206437nAbFJa','env','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','sshSync','search','1889076HsoGlJ','readFileSync','6225cNQGMp','20UdpNOk','constructor','13aRXijA','maka\x20ssh\x20--env\x20<env>\x20[command]','parse','maka\x20ssh\x20--env\x20staging','70zEeesR','length','error','101421sTUSFP','24lnGgMI','7nePxzC','1259166KJExxI','maka\x20ssh\x20--env\x20dev','apply','14940mIeKDW'];a50c=function(){return o;};return a50c();}(function(a,b){const j=a50d,c=a();while(!![]){try{const d=-parseInt(j(0x108))/0x1*(parseInt(j(0xfc))/0x2)+parseInt(j(0xfa))/0x3*(parseInt(j(0xeb))/0x4)+-parseInt(j(0xfb))/0x5+-parseInt(j(0xf7))/0x6*(-parseInt(j(0xf6))/0x7)+parseInt(j(0xf5))/0x8*(parseInt(j(0xf4))/0x9)+parseInt(j(0xf1))/0xa*(parseInt(j(0x101))/0xb)+parseInt(j(0x106))/0xc*(-parseInt(j(0xed))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x2189f));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(0x100)]()[l(0x105)](l(0xfe))[l(0x100)]()[l(0xec)](a50a)['search'](l(0xfe));});a50a();import a50e from'fs';import a50f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command['create']({'name':'ssh','usage':a50m(0xee),'mustBeInMakaProject':!![],'requiredOpts':['env'],'validOpts':[a50m(0x102),'v'],'shortDesc':a50m(0x103),'examples':[a50m(0xf8),a50m(0xf0),'maka\x20ssh\x20--env\x20prod',a50m(0xfd),a50m(0xff),'maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22']},async function(a,b){const n=a50m;try{const c=this['fsi']['getConfigPath'](b['env']);let d='';a[n(0xf2)]>0x0&&(d=a[0x0]);const f=a50f['join'](c,'ssh.json'),g=a50e[n(0x107)](f)['toString'](),h=JSON[n(0xef)](g);Object['assign'](h,{'env':c}),SSH[n(0x104)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['v']});}catch(i){console[n(0xf3)](i),process['exit'](0x0);}});
@@ -1 +1 @@
1
- const a51x=a51d;function a51c(){const z=['.crt','268662jEQrnv','.csr','1769586DAkpTV','113859nCgAJh','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','Using\x20saved\x20letsencrypt\x20config','Verifying\x20Letsencrypt\x20configuration','letsencrypt.json','toString','390410JjJgTe','ssh','ssl','env','existsSync','Remote\x20host\x20connection\x20successful','assign','letsencrypt','(((.+)+)+)+$','ping','parse','notice','readFileSync','success','writeFileSync','ask','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','2395911jhKWYT','fsi','stringify','616AYxgLV','constructor','generate-csr','email','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','appName','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','domains','50XijGFh','[?]\x20Domains\x20to\x20register:\x20','sudo\x20snap\x20install\x20--classic\x20certbot','withSpinner','genSSC','exit','1SWVIYy','create','getConfigPath','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','.key','join','domainNames','getProjectConfig','/ssh.json','uname\x20-a','New\x20CSR\x20written\x20to\x20','4250170rVkExB','search','Email\x20to\x20use\x20for\x20auto-updates:\x20','genCSR','6360644KYnmdm'];a51c=function(){return z;};return a51c();}(function(a,b){const v=a51d,c=a();while(!![]){try{const d=parseInt(v(0x73))/0x1*(-parseInt(v(0x8d))/0x2)+parseInt(v(0x9e))/0x3+parseInt(v(0x82))/0x4+-parseInt(v(0x6d))/0x5*(-parseInt(v(0x84))/0x6)+-parseInt(v(0x86))/0x7+parseInt(v(0x65))/0x8*(-parseInt(v(0x87))/0x9)+-parseInt(v(0x7e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xf18ed));const a51b=(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;};}()),a51a=a51b(this,function(){const w=a51d;return a51a[w(0x8c)]()[w(0x7f)](w(0x95))[w(0x8c)]()[w(0x66)](a51a)[w(0x7f)](w(0x95));});a51a();import a51e from'fs';import a51f from'path';import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x64;let f=c[d];return f;},a51d(a,b);}Command[a51x(0x74)]({'name':a51x(0x8f),'usage':'maka\x20ssl\x20<opts>\x20[command]','validOpts':['domains',a51x(0x68)],'requiredOpts':[a51x(0x90)],'shortDesc':'Create\x20and\x20manage\x20your\x20SSL\x20operations.','mustBeInMakaProject':!![],'minArgLength':0x1,'examples':['maka\x20ssl\x20--env\x20dev\x20generate-csr',a51x(0x6b),'maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process']},async function(a,b){const y=a51x,c=this['fsi'][y(0x7a)](),d=this['fsi'][y(0x75)](b['env']),f=this[y(0x9f)]['mkKeysDir']({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===y(0x67))SSL[y(0x81)]({'keyName':c[y(0x6a)]+y(0x77),'csrName':c['appName']+'.csr','cwd':f});else{if(g==='generate-ssc'){if(!a51e[y(0x91)](a51f[y(0x78)](f,c[y(0x6a)]+y(0x77))))throw y(0x69)+a51f[y(0x78)](f,c[y(0x6a)]+y(0x77));if(!a51e[y(0x91)](a51f[y(0x78)](f,c[y(0x6a)]+y(0x85))))throw'The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20'+a51f['join'](f,c[y(0x6a)]+y(0x85));SSL[y(0x71)]({'keyName':c[y(0x6a)]+y(0x77),'crtName':c[y(0x6a)]+y(0x83),'cwd':f}),Log['notice'](y(0x7d)+f);}else{if(g===y(0x94)){let h=b['domains'],i=b[y(0x68)];try{const p=a51e['readFileSync'](a51f[y(0x78)](d,'letsencrypt.json'))['toString'](),q=JSON[y(0x97)](p);h=b[y(0x6c)]?b[y(0x6c)]:q[y(0x79)],i=b[y(0x68)]?b['email']:q['emailUpdate'],(!b[y(0x68)]||!b['domains'])&&Log[y(0x98)](y(0x89));}catch(r){}const j=JSON['parse'](a51e[y(0x99)](d+y(0x7b))[y(0x8c)]());Object[y(0x93)](j,{'env':d}),Log[y(0x98)]('Checking\x20remote\x20host\x20availability');try{const s=SSH[y(0x96)](y(0x7c),j);if(!s)throw y(0x9d);if(s)Log[y(0x9a)](y(0x92));}catch(t){Log['error'](t);return;}const k=Log[y(0x70)]();k['start'](y(0x8a)),SSH[y(0x8e)](y(0x76),{...j}),SSH[y(0x8e)](y(0x6f),{...j}),SSH[y(0x8e)]('sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot',{...j}),k['success']();const l=h?h:await Actions[y(0x9c)](y(0x6e)),m=i?i:await Actions[y(0x9c)](y(0x80));SSH[y(0x8e)](y(0x88)+l+'\x20--email\x20'+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[y(0x64)](n,null,0x2);a51e[y(0x9b)](a51f['join'](d,y(0x8b)),o);}else throw'Please\x20provide\x20a\x20command.';}}}catch(u){console['error'](u),process[y(0x72)](0x0);}});
1
+ function a51c(){const A=['readFileSync','Remote\x20host\x20connection\x20successful','mkKeysDir','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','maka\x20ssl\x20<opts>\x20[command]','assign','apply','Create\x20and\x20manage\x20your\x20SSL\x20operations.','letsencrypt','5lOYvmR','domainNames','genSSC','exit','notice','create','ssh','error','New\x20CSR\x20written\x20to\x20','(((.+)+)+)+$','email','ask','existsSync','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','36aAAqHh','withSpinner','parse','domains','3776gXdNEm','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','getConfigPath','getProjectConfig','Please\x20provide\x20a\x20command.','start','constructor','807843WdRjCY','toString','Verifying\x20Letsencrypt\x20configuration','7281258ZAyexw','[?]\x20Domains\x20to\x20register:\x20','fsi','1008iprfXz','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','appName','success','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','letsencrypt.json','ping','7303000lMCiwd','450531nDsoJC','.csr','join','2225464tQdFbm','writeFileSync','.crt','3745240LYVstx','env','Email\x20to\x20use\x20for\x20auto-updates:\x20','maka\x20ssl\x20--env\x20dev\x20generate-csr','emailUpdate','.key','stringify','uname\x20-a','search'];a51c=function(){return A;};return a51c();}function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0xb8;let f=c[d];return f;},a51d(a,b);}const a51y=a51d;(function(a,b){const v=a51d,c=a();while(!![]){try{const d=-parseInt(v(0xe7))/0x1+-parseInt(v(0xb9))/0x2+-parseInt(v(0xf7))/0x3+parseInt(v(0xbc))/0x4+parseInt(v(0xce))/0x5*(-parseInt(v(0xea))/0x6)+-parseInt(v(0xed))/0x7*(-parseInt(v(0xe0))/0x8)+parseInt(v(0xdc))/0x9*(parseInt(v(0xf6))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x9c89f));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a51d;if(c){const e=c[w(0xcb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const x=a51d;return a51a['toString']()[x(0xc4)](x(0xd7))['toString']()[x(0xe6)](a51a)['search'](x(0xd7));});a51a();import a51e from'fs';import a51f from'path';import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command[a51y(0xd3)]({'name':'ssl','usage':a51y(0xc9),'validOpts':['domains','email'],'requiredOpts':[a51y(0xbd)],'shortDesc':a51y(0xcc),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a51y(0xbf),a51y(0xf3),a51y(0xdb)]},async function(a,b){const z=a51y,c=this['fsi'][z(0xe3)](),d=this[z(0xec)][z(0xe2)](b['env']),f=this[z(0xec)][z(0xc7)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g==='generate-csr')SSL['genCSR']({'keyName':c[z(0xf1)]+z(0xc1),'csrName':c['appName']+'.csr','cwd':f});else{if(g==='generate-ssc'){if(!a51e[z(0xda)](a51f[z(0xb8)](f,c[z(0xf1)]+z(0xc1))))throw z(0xef)+a51f[z(0xb8)](f,c[z(0xf1)]+z(0xc1));if(!a51e[z(0xda)](a51f[z(0xb8)](f,c[z(0xf1)]+'.csr')))throw z(0xee)+a51f[z(0xb8)](f,c[z(0xf1)]+z(0xf8));SSL[z(0xd0)]({'keyName':c[z(0xf1)]+'.key','crtName':c['appName']+z(0xbb),'cwd':f}),Log[z(0xd2)](z(0xd6)+f);}else{if(g===z(0xcd)){let h=b[z(0xdf)],i=b[z(0xd8)];try{const p=a51e[z(0xc5)](a51f[z(0xb8)](d,z(0xf4)))[z(0xe8)](),q=JSON[z(0xde)](p);h=b[z(0xdf)]?b['domains']:q[z(0xcf)],i=b['email']?b[z(0xd8)]:q[z(0xc0)],(!b['email']||!b['domains'])&&Log[z(0xd2)]('Using\x20saved\x20letsencrypt\x20config');}catch(r){}const j=JSON[z(0xde)](a51e['readFileSync'](d+'/ssh.json')[z(0xe8)]());Object[z(0xca)](j,{'env':d}),Log['notice']('Checking\x20remote\x20host\x20availability');try{const s=SSH[z(0xf5)](z(0xc3),j);if(!s)throw z(0xc8);if(s)Log[z(0xf2)](z(0xc6));}catch(t){Log['error'](t);return;}const k=Log[z(0xdd)]();k[z(0xe5)](z(0xe9)),SSH[z(0xd4)](z(0xe1),{...j}),SSH['ssh']('sudo\x20snap\x20install\x20--classic\x20certbot',{...j}),SSH[z(0xd4)]('sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot',{...j}),k[z(0xf2)]();const l=h?h:await Actions['ask'](z(0xeb)),m=i?i:await Actions[z(0xd9)](z(0xbe));SSH[z(0xd4)](z(0xf0)+l+'\x20--email\x20'+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0xc2)](n,null,0x2);a51e[z(0xba)](a51f[z(0xb8)](d,z(0xf4)),o);}else throw z(0xe4);}}}catch(u){console[z(0xd5)](u),process[z(0xd1)](0x0);}});
@@ -1 +1 @@
1
- const a52p=a52d;(function(a,b){const m=a52d,c=a();while(!![]){try{const d=-parseInt(m(0x192))/0x1+parseInt(m(0x1b6))/0x2*(parseInt(m(0x1a0))/0x3)+-parseInt(m(0x1aa))/0x4+-parseInt(m(0x1c9))/0x5*(parseInt(m(0x1bc))/0x6)+-parseInt(m(0x1b5))/0x7*(-parseInt(m(0x197))/0x8)+-parseInt(m(0x1c4))/0x9+parseInt(m(0x1a5))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x401d6));const a52b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){const n=a52d;return a52a[n(0x1cb)]()[n(0x19d)](n(0x1c2))[n(0x1cb)]()[n(0x1bf)](a52a)[n(0x19d)](n(0x1c2));});a52a();function a52d(a,b){const c=a52c();return a52d=function(d,e){d=d-0x18f;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 o=a52d;a52e[o(0x1a2)](a,'r'),a52g['config']({'path':a});};Command[a52p(0x1b2)]({'name':a52p(0x1c5),'mustBeInMakaProject':!![],'validOpts':[a52p(0x1c3),a52p(0x193),a52p(0x19f),'driverPackage',a52p(0x1ce),a52p(0x18f),a52p(0x195),a52p(0x1c1),'inspect',a52p(0x1a3)],'usage':a52p(0x1bd),'shortDesc':a52p(0x1bb),'examples':[]},function(a,b){const q=a52p;try{let c=this[q(0x1cd)][q(0x1b8)](q(0x1ae));b[q(0x18f)]&&(c=this[q(0x1cd)][q(0x1b8)](b[q(0x18f)]));(!b[q(0x1ce)]||!!b[q(0x1c3)])&&(a=a[q(0x1c8)]([q(0x1a4)]));b[q(0x1ce)]&&delete b[q(0x1ce)];let d=b[q(0x199)]||b[q(0x19f)]||q(0x1c0);if(d===q(0x1c0)){const j=JSON[q(0x1ca)](a52e[q(0x196)](a52f[q(0x1ab)](this['fsi']['findProjectDirectory'](),q(0x1b4),'config.json'),q(0x1b7)));if(j[q(0x191)][q(0x1c5)]===q(0x1a1))d='sanjo:jasmine';else j['engines'][q(0x1c5)]===q(0x190)&&(d=q(0x19a));}if(d===q(0x1c0))throw q(0x1b9);(!b['driver-package']||!b[q(0x19f)])&&(a=a['concat']([q(0x1b0),d]));const f=a52f['join'](c,q(0x1c6));this[q(0x1cd)][q(0x1ad)](f)?(Log[q(0x1be)]('Meteor\x20Settings:\x20'+f),a=a['concat'](['--settings',f])):Log[q(0x194)](q(0x1cc)+f);const g=a52f['join'](c,q(0x1a8));this[q(0x1cd)][q(0x1ad)](g)?(Log[q(0x1be)](q(0x1b3)+g),syncSource(g)):Log['warn']('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+g);const h=process[q(0x1ba)][q(0x19b)](0x2)['filter'](k=>k!==q(0x1ac))['filter'](k=>k!=='test')[q(0x19c)](k=>k!==a[0x0]);h[q(0x1c7)]((k,l)=>{const r=q;(k==='--env'||k===r(0x1a6))&&h[r(0x19e)](l,0x2),k===r(0x1a7)&&h[r(0x19e)](l,0x1);});const i=b[q(0x193)]?q(0x1af):q(0x1c5);this[q(0x1cd)][q(0x1b1)](i,a[q(0x1c8)](h));}catch(k){console[q(0x198)](k),process[q(0x1a9)](0x0);}});function a52c(){const s=['--packages','process.env','exit','404320gKXFyB','join','--env','isFile','development','test-packages','--driver-package','invokeMeteorCommand','create','Node\x20Env\x20Config:\x20','.maka','189245OYEKNf','60854kXPAYf','utf8','getConfigPath','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','argv','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','1008kDbXzl','maka\x20test\x20<opts>','notice','constructor','none','port','(((.+)+)+)+$','once','139770uoMnsX','test','settings.json','forEach','concat','6050bZWACn','parse','toString','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','fsi','unit','env','mocha','engines','238776xdFeHV','packages','warn','rawLogs','readFileSync','128Qdxqjl','error','driver-package','meteortesting:mocha','slice','filter','search','splice','driver','9QBqglZ','jasmine','openSync','testAppPath','--full-app','2974390uPuEWt','--driver'];a52c=function(){return s;};return a52c();}
1
+ function a52c(){const t=['15oBAEEe','constructor','join','--env','once','unit','test','parse','204GMSSZj','utf8','test-packages','settings.json','config.json','getConfigPath','Meteor\x20Settings:\x20','1228330jzmqaV','--settings','isFile','driver','120DEEFSQ','rawLogs','4vGQIpK','create','driverPackage','2163623Euhzqh','filter','--driver-package','search','testAppPath','maka\x20test\x20<opts>','fsi','concat','port','warn','8546ZMKjoo','jasmine','--full-app','--driver','config','slice','notice','sanjo:jasmine','apply','18sjlXeB','--packages','readFileSync','none','(((.+)+)+)+$','exit','env','6449400hqmeiN','inspect','7293018ztLHPL','forEach','splice','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','3739773MDrgzW','error','Node\x20Env\x20Config:\x20','openSync','564445rQIbfz'];a52c=function(){return t;};return a52c();}const a52q=a52d;(function(a,b){const m=a52d,c=a();while(!![]){try{const d=parseInt(m(0x108))/0x1*(parseInt(m(0xed))/0x2)+parseInt(m(0x103))/0x3*(parseInt(m(0xe0))/0x4)+-parseInt(m(0xfd))/0x5+-parseInt(m(0xff))/0x6+-parseInt(m(0x107))/0x7*(parseInt(m(0xde))/0x8)+parseInt(m(0xf6))/0x9*(-parseInt(m(0x117))/0xa)+parseInt(m(0xe3))/0xb*(parseInt(m(0x110))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xa9685));const a52b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a52d;if(c){const e=c[n(0xf5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){const o=a52d;return a52a['toString']()[o(0xe6)](o(0xfa))['toString']()[o(0x109)](a52a)[o(0xe6)](o(0xfa));});a52a();import a52e from'fs';function a52d(a,b){const c=a52c();return a52d=function(d,e){d=d-0xdc;let f=c[d];return f;},a52d(a,b);}import a52f from'path';import a52g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const p=a52d;a52e[p(0x106)](a,'r'),a52g[p(0xf1)]({'path':a});};Command[a52q(0xe1)]({'name':a52q(0x10e),'mustBeInMakaProject':!![],'validOpts':[a52q(0x10c),'packages',a52q(0xdd),a52q(0xe2),'unit',a52q(0xfc),a52q(0xdf),a52q(0xeb),a52q(0xfe),a52q(0xe7)],'usage':a52q(0xe8),'shortDesc':a52q(0x102),'examples':[]},function(a,b){const r=a52q;try{let c=this[r(0xe9)][r(0x115)]('development');b[r(0xfc)]&&(c=this[r(0xe9)][r(0x115)](b[r(0xfc)]));(!b['unit']||!!b[r(0x10c)])&&(a=a['concat']([r(0xef)]));b[r(0x10d)]&&delete b[r(0x10d)];let d=b['driver-package']||b['driver']||'none';if(d===r(0xf9)){const j=JSON[r(0x10f)](a52e[r(0xf8)](a52f['join'](this[r(0xe9)]['findProjectDirectory'](),'.maka',r(0x114)),r(0x111)));if(j['engines'][r(0x10e)]===r(0xee))d=r(0xf4);else j['engines'][r(0x10e)]==='mocha'&&(d='meteortesting:mocha');}if(d===r(0xf9))throw'This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)';(!b['driver-package']||!b[r(0xdd)])&&(a=a[r(0xea)]([r(0xe5),d]));const f=a52f[r(0x10a)](c,r(0x113));this[r(0xe9)][r(0xdc)](f)?(Log[r(0xf3)](r(0x116)+f),a=a[r(0xea)]([r(0x118),f])):Log[r(0xec)]('Cannot\x20find\x20Meteor\x20Settings\x20File:\x20'+f);const g=a52f[r(0x10a)](c,'process.env');this[r(0xe9)]['isFile'](g)?(Log[r(0xf3)](r(0x105)+g),syncSource(g)):Log[r(0xec)]('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+g);const h=process['argv'][r(0xf2)](0x2)[r(0xe4)](k=>k!==r(0x10b))[r(0xe4)](k=>k!=='test')['filter'](k=>k!==a[0x0]);h[r(0x100)]((k,l)=>{const s=r;(k===s(0x10b)||k===s(0xf0))&&h[s(0x101)](l,0x2),k===s(0xf7)&&h['splice'](l,0x1);});const i=b['packages']?r(0x112):r(0x10e);this['fsi']['invokeMeteorCommand'](i,a[r(0xea)](h));}catch(k){console[r(0x104)](k),process[r(0xfb)](0x0);}});
@@ -1 +1 @@
1
- const a53l=a53d;(function(a,b){const i=a53d,c=a();while(!![]){try{const d=-parseInt(i(0x141))/0x1*(parseInt(i(0x12f))/0x2)+-parseInt(i(0x140))/0x3+-parseInt(i(0x149))/0x4+parseInt(i(0x13d))/0x5*(-parseInt(i(0x148))/0x6)+parseInt(i(0x145))/0x7+parseInt(i(0x14c))/0x8*(parseInt(i(0x133))/0x9)+parseInt(i(0x14a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x8426c));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a53d;if(c){const e=c[j(0x12b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const k=a53d;return a53a[k(0x127)]()['search'](k(0x134))[k(0x127)]()[k(0x14b)](a53a)['search'](k(0x134));});function a53c(){const n=[')\x20to\x20at\x20least\x20meteor\x27s\x20(','20718OdSwgQ','bright','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','Project\x27s\x20Meteor\x20Version\x20','67455tsIxhg','(((.+)+)+)+$','win32','exit','N/A','\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','meteor.bat','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','Maka\x20','create','1405aWLuWA','notice','version','2985996VnBest','67mLGjUo','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','error','compareMakaToLatest','4007780tAQjXp','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','node\x20-v','2604VxFMJb','3722344XDbNlh','24933220CSEbkk','constructor','232lebpZN','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','fsi','warn','replace','isMakaProject','System\x27s\x20Node\x20Version\x20','toString','platform','----------------------Project----------------------------','System\x27s\x20Meteor\x20Version\x20','apply','maka\x20v','maka\x20version'];a53c=function(){return n;};return a53c();}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':'4.4.2'};function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x127;let f=c[d];return f;},a53d(a,b);}Command[a53l(0x13c)]({'name':'version','aliases':['v'],'usage':'maka\x20version','maxArgLength':0x1,'validOpts':[],'shortDesc':a53l(0x13a),'examples':[a53l(0x12c),a53l(0x12d)]},async function(){const m=a53l;try{const a=process[m(0x128)]===m(0x135)?m(0x139):'meteor';Log['majestic'](m(0x13b)+pjson[m(0x13f)]),await this[m(0x14e)][m(0x144)](),Log[m(0x130)]('----------------------System----------------------------');const b=this['fsi']['getGlobalMeteorVersion']();Log[m(0x130)]((m(0x12a)+b)[m(0x150)]('\x0a',''));const c=execSync(a+'\x20node\x20-v')[m(0x127)]()[m(0x150)](/\r?\n|\r/,'')['replace']('v','');Log['bright'](m(0x131)+c);const d=execSync(m(0x147))[m(0x127)]()[m(0x150)](/\r?\n|\r/,'')[m(0x150)]('v','');a53e['gt'](c,d)?(Log['warn']('System\x27s\x20Node\x20Version\x20'+d),Log[m(0x14f)](m(0x14d)+d+m(0x12e)+c+')')):Log[m(0x130)](m(0x152)+d);if(this[m(0x14e)][m(0x151)]()){Log[m(0x130)](m(0x129));const f=this['fsi']['getProjectMeteorVersion']();a53e['gt'](b,f)?(Log[m(0x14f)](m(0x132)+f[m(0x150)]('\x0a','')),Log[m(0x14f)](m(0x146)+b+'\x22')):Log[m(0x13e)]((m(0x132)+f)[m(0x150)]('\x0a',''));const g=await this[m(0x14e)]['getProjectsMeteorNodeVersion']();g===m(0x137)?(Log['warn']('Project\x27s\x20Meteor\x20Node\x20Version\x20'+g),Log[m(0x14f)](m(0x142))):Log['bright']('Project\x27s\x20Meteor\x20Node\x20Version\x20'+g),Log[m(0x130)](m(0x138));}}catch(h){console[m(0x143)](h),process[m(0x136)](0x0);}});
1
+ const a53l=a53d;(function(a,b){const j=a53d,c=a();while(!![]){try{const d=parseInt(j(0x8c))/0x1+parseInt(j(0x83))/0x2+parseInt(j(0x92))/0x3+parseInt(j(0x91))/0x4*(parseInt(j(0x7b))/0x5)+-parseInt(j(0x9f))/0x6+parseInt(j(0x81))/0x7*(-parseInt(j(0x9b))/0x8)+-parseInt(j(0x87))/0x9*(parseInt(j(0x8e))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x327d8));function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x73;let f=c[d];return f;},a53d(a,b);}const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const k=a53d;return a53a[k(0x7e)]()[k(0x88)](k(0x8d))['toString']()['constructor'](a53a)[k(0x88)](k(0x8d));});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(0x8a)};Command['create']({'name':a53l(0x97),'aliases':['v'],'usage':a53l(0x75),'maxArgLength':0x1,'validOpts':[],'shortDesc':a53l(0x8b),'examples':[a53l(0x94),a53l(0x75)]},async function(){const m=a53l;try{const a=process[m(0x74)]===m(0x95)?'meteor.bat':'meteor';Log[m(0x73)](m(0x7d)+pjson[m(0x97)]),await this[m(0x8f)][m(0x76)](),Log[m(0x9c)](m(0x93));const b=this[m(0x8f)][m(0x84)]();Log['bright'](('System\x27s\x20Meteor\x20Version\x20'+b)[m(0x89)]('\x0a',''));const c=execSync(a+m(0x78))[m(0x7e)]()[m(0x89)](/\r?\n|\r/,'')[m(0x89)]('v','');Log[m(0x9c)](m(0x9d)+c);const d=execSync(m(0x7f))['toString']()['replace'](/\r?\n|\r/,'')[m(0x89)]('v','');a53e['gt'](c,d)?(Log[m(0x96)](m(0x79)+d),Log[m(0x96)](m(0x86)+d+m(0x7c)+c+')')):Log[m(0x9c)](m(0x79)+d);if(this[m(0x8f)][m(0x9e)]()){Log[m(0x9c)](m(0x82));let f=this[m(0x8f)]['getProjectMeteorVersion']();const g=(f[m(0x85)](/./g)||[])['length'];g<0x2&&(f=f+'.0');a53e['gt'](b,f)?(Log[m(0x96)](m(0x90)+f[m(0x89)]('\x0a','')),Log['warn']('\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20'+b+'\x22')):Log[m(0x7a)]((m(0x90)+f)[m(0x89)]('\x0a',''));const h=await this[m(0x8f)][m(0x98)]();h===m(0x9a)?(Log[m(0x96)](m(0x77)+h),Log['warn']('\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.')):Log[m(0x9c)]('Project\x27s\x20Meteor\x20Node\x20Version\x20'+h),Log[m(0x9c)](m(0x80));}}catch(i){console['error'](i),process[m(0x99)](0x0);}});function a53c(){const n=['win32','warn','version','getProjectsMeteorNodeVersion','exit','N/A','16EmRjBO','bright','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','isMakaProject','2087832qEVhhs','majestic','platform','maka\x20version','compareMakaToLatest','Project\x27s\x20Meteor\x20Node\x20Version\x20','\x20node\x20-v','System\x27s\x20Node\x20Version\x20','notice','395LRPEbg',')\x20to\x20at\x20least\x20meteor\x27s\x20(','Maka\x20','toString','node\x20-v','\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','707JBkfUR','----------------------Project----------------------------','776620zFBbUZ','getGlobalMeteorVersion','match','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','12969OeDvcb','search','replace','4.4.2','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','182704YTaUEx','(((.+)+)+)+$','3150zRioZU','fsi','Project\x27s\x20Meteor\x20Version\x20','7572NlOAUI','865008lehAYc','----------------------System----------------------------','maka\x20v'];a53c=function(){return n;};return a53c();}
@@ -1 +1 @@
1
- (function(a,b){var f=a54d,c=a();while(!![]){try{var d=-parseInt(f(0x1b6))/0x1+-parseInt(f(0x1ba))/0x2*(parseInt(f(0x1b9))/0x3)+parseInt(f(0x1b4))/0x4+parseInt(f(0x1bd))/0x5*(parseInt(f(0x1bc))/0x6)+-parseInt(f(0x1bb))/0x7+parseInt(f(0x1b7))/0x8*(parseInt(f(0x1bf))/0x9)+parseInt(f(0x1b5))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x7969e));var a54b=(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;};}()),a54a=a54b(this,function(){var g=a54d;return a54a['toString']()[g(0x1c0)](g(0x1b3))[g(0x1b8)]()[g(0x1be)](a54a)[g(0x1c0)]('(((.+)+)+)+$');});a54a();export class UsageError{}export class UsageErrorWithSubs{}function a54c(){var h=['187530nZeZnA','5611571thBHbK','24jpXiwF','630235upKPWk','constructor','36ljPOUZ','search','(((.+)+)+)+$','1514460SahdGS','3749790JsHfmf','107690fhEtVy','1985512VcTILv','toString','27NrvRUL'];a54c=function(){return h;};return a54c();}export class MustBeInProjectError{}function a54d(a,b){var c=a54c();return a54d=function(d,e){d=d-0x1b3;var f=c[d];return f;},a54d(a,b);}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
1
+ (function(a,b){var f=a54d,c=a();while(!![]){try{var d=parseInt(f(0x1e6))/0x1+-parseInt(f(0x1e1))/0x2*(-parseInt(f(0x1dd))/0x3)+parseInt(f(0x1e4))/0x4*(parseInt(f(0x1de))/0x5)+parseInt(f(0x1db))/0x6*(parseInt(f(0x1e7))/0x7)+-parseInt(f(0x1e3))/0x8+-parseInt(f(0x1df))/0x9+-parseInt(f(0x1e2))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x8169f));function a54c(){var i=['312222IRmnjU','constructor','6TWHTyK','3665KLFsHu','4943061BfdyTt','search','772832uimzXs','5381020jYNsyS','8005000lZMqSj','5036BlffEp','toString','454023LNScKL','63xwQqLd','(((.+)+)+)+$','apply'];a54c=function(){return i;};return a54c();}function a54d(a,b){var c=a54c();return a54d=function(d,e){d=d-0x1d9;var f=c[d];return f;},a54d(a,b);}var a54b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a54d;if(c){var e=c[g(0x1da)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){var h=a54d;return a54a['toString']()[h(0x1e0)]('(((.+)+)+)+$')[h(0x1e5)]()[h(0x1dc)](a54a)[h(0x1e0)](h(0x1d9));});a54a();export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}