@maka/maka-cli 4.4.3 → 4.4.5

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 +2 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/aws/_index.js +1 -1
  5. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  6. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  7. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/build/_index.js +1 -1
  17. package/bundle/obf/src/commands/build/build.js +1 -1
  18. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/create.js +1 -1
  20. package/bundle/obf/src/commands/debug.js +1 -1
  21. package/bundle/obf/src/commands/deploy.js +1 -1
  22. package/bundle/obf/src/commands/game/_index.js +1 -1
  23. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  24. package/bundle/obf/src/commands/game/play.command.js +1 -1
  25. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  26. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  28. package/bundle/obf/src/commands/generate.js +1 -1
  29. package/bundle/obf/src/commands/get/_index.js +1 -1
  30. package/bundle/obf/src/commands/get/get.command.js +1 -1
  31. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  32. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  34. package/bundle/obf/src/commands/help.js +1 -1
  35. package/bundle/obf/src/commands/install.js +1 -1
  36. package/bundle/obf/src/commands/jsdoc.js +1 -1
  37. package/bundle/obf/src/commands/lint.js +1 -1
  38. package/bundle/obf/src/commands/login.js +1 -1
  39. package/bundle/obf/src/commands/logout.js +1 -1
  40. package/bundle/obf/src/commands/logs.js +1 -1
  41. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  42. package/bundle/obf/src/commands/murder.js +1 -1
  43. package/bundle/obf/src/commands/proxy.js +1 -1
  44. package/bundle/obf/src/commands/reconfig.js +1 -1
  45. package/bundle/obf/src/commands/run/_index.js +1 -1
  46. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  47. package/bundle/obf/src/commands/run/run.command.js +1 -1
  48. package/bundle/obf/src/commands/set/_index.js +1 -1
  49. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  50. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  51. package/bundle/obf/src/commands/set/set.command.js +1 -1
  52. package/bundle/obf/src/commands/ssh.js +1 -1
  53. package/bundle/obf/src/commands/ssl.js +1 -1
  54. package/bundle/obf/src/commands/test.js +1 -1
  55. package/bundle/obf/src/commands/version.js +1 -1
  56. package/bundle/obf/src/error.js +1 -1
  57. package/bundle/obf/src/generator.js +1 -1
  58. package/bundle/obf/src/generators/_index.js +1 -1
  59. package/bundle/obf/src/generators/api.js +1 -1
  60. package/bundle/obf/src/generators/collection.js +1 -1
  61. package/bundle/obf/src/generators/component.js +1 -1
  62. package/bundle/obf/src/generators/config.js +1 -1
  63. package/bundle/obf/src/generators/dbc.js +1 -1
  64. package/bundle/obf/src/generators/dockerfile.js +1 -1
  65. package/bundle/obf/src/generators/hook.js +1 -1
  66. package/bundle/obf/src/generators/kit.js +1 -1
  67. package/bundle/obf/src/generators/layout.js +1 -1
  68. package/bundle/obf/src/generators/maka.gen.js +1 -1
  69. package/bundle/obf/src/generators/methods.js +1 -1
  70. package/bundle/obf/src/generators/package.js +1 -1
  71. package/bundle/obf/src/generators/page.js +1 -1
  72. package/bundle/obf/src/generators/publish.js +1 -1
  73. package/bundle/obf/src/generators/route.js +1 -1
  74. package/bundle/obf/src/generators/service.js +1 -1
  75. package/bundle/obf/src/generators/services/_index.js +1 -1
  76. package/bundle/obf/src/generators/services/openssl.js +1 -1
  77. package/bundle/obf/src/generators/services/translation.js +1 -1
  78. package/bundle/obf/src/maka.js +1 -1
  79. package/bundle/obf/src/tool.js +1 -1
  80. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  81. package/bundle/obf/src/tools/actions/actions.test.js +1 -1
  82. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  83. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  84. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  85. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  86. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  87. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  88. package/bundle/obf/src/tools/https/https.class.js +1 -1
  89. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  90. package/bundle/obf/src/tools/log/log.class.js +1 -1
  91. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  92. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  93. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  94. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  95. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  96. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  97. package/package.json +1 -1
@@ -1 +1 @@
1
- const a35r=a35d;function 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
+ const a35r=a35d;function a35c(){const t=['format','maka\x20lint\x20--fix','978178RygCya','toString','imports','error','.eslintrc.json','fsi','\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','109060XxEoIq','loadFormatter','15nneYWQ','eslint','findAppDirectory','1299599NeoYsf','maka\x20lint\x20<opts>','eslint/eslintrc.json','33PEGxrH','4564608BRBwRx','bright','checkNpmPackage','Run\x20\x22maka\x20lint\x20--fix\x22\x20to\x20auto\x20fix','738042ojkmuE','117txRrwv','length','521617ujDBTt','success','join','isFile','create','lintFiles','constructor','eslint-plugin-css','notice','fix','installNpmPackage','(((.+)+)+)+$','Use\x20ESLint\x20to\x20lint\x20the\x20imports\x20directory','push','297200OpmOqO','stylish','All\x20good!\x20:)','lint'];a35c=function(){return t;};return a35c();}(function(a,b){const p=a35d,c=a();while(!![]){try{const d=parseInt(p(0x1e4))/0x1+parseInt(p(0x1f8))/0x2+-parseInt(p(0x1dc))/0x3*(parseInt(p(0x200))/0x4)+-parseInt(p(0x202))/0x5*(parseInt(p(0x1e1))/0x6)+parseInt(p(0x205))/0x7+-parseInt(p(0x1dd))/0x8+parseInt(p(0x1e2))/0x9*(parseInt(p(0x1f2))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0x53cab));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(0x1f9)]()[q(0x1ff)](q(0x1ef))['toString']()[q(0x1ea)](a35a)[q(0x1ff)]('(((.+)+)+)+$');});a35a();import a35e from'path';import{ESLint}from'eslint';import{Log}from'../tools/log/log.class.js';function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x1db;let f=c[d];return f;},a35d(a,b);}import{Command}from'../command.js';Command[a35r(0x1e8)]({'name':a35r(0x1f5),'usage':a35r(0x206),'maxArgLength':0x1,'validOpts':[a35r(0x1ed)],'mustBeInMakaProject':!![],'shortDesc':a35r(0x1f0),'description':a35r(0x1fe),'examples':[a35r(0x1f7)]},async function(a,b){const s=a35r;try{const c=this[s(0x1fd)][s(0x204)](),d=this[s(0x1fd)][s(0x1df)](s(0x203)),f=this['fsi'][s(0x1df)]('eslint-plugin-react'),g=this[s(0x1fd)][s(0x1df)](s(0x1eb)),h=[];!d&&h[s(0x1f1)](s(0x203));!f&&h[s(0x1f1)]('eslint-plugin-react');!g&&h['push']('eslint-plugin-css');h[s(0x1e3)]>0x0&&await this['fsi'][s(0x1ee)](h[s(0x1e6)]('\x20'),{'dev':!![]});const i=this[s(0x1fd)][s(0x1e7)](a35e['join'](c,'.eslintrc.json'));if(!i){const n={'noRename':!![]};await this['fsi']['template']({'srcPath':s(0x1db),'destPath':a35e[s(0x1e6)](c,s(0x1fc)),'framework':'service','context':n});}const j=new ESLint(),k=await j[s(0x1e9)]([a35e[s(0x1e6)](c,s(0x1fa),'**')]),l=await j[s(0x201)](s(0x1f3)),m=l[s(0x1f6)](k);m['length']>0x0?Log[s(0x1de)](m):Log[s(0x1e5)](s(0x1f4)),Log[s(0x1ec)]('Lint\x20results\x20for\x20'+c+'/imports'),b[s(0x1ed)]?await ESLint['outputFixes'](k):Log['notice'](s(0x1e0));}catch(o){console[s(0x1fb)](o);}});
@@ -1 +1 @@
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
+ const a36z=a36d;(function(a,b){const w=a36d,c=a();while(!![]){try{const d=parseInt(w(0x7b))/0x1*(parseInt(w(0x75))/0x2)+-parseInt(w(0xa7))/0x3*(-parseInt(w(0xa0))/0x4)+-parseInt(w(0x70))/0x5*(-parseInt(w(0x80))/0x6)+-parseInt(w(0x73))/0x7*(-parseInt(w(0x91))/0x8)+-parseInt(w(0x82))/0x9+parseInt(w(0x9e))/0xa+-parseInt(w(0x96))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x3ebf2));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a36d;if(c){const e=c[x(0xaa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const y=a36d;return a36a[y(0x98)]()[y(0x95)]('(((.+)+)+)+$')[y(0x98)]()[y(0xab)](a36a)['search'](y(0x8e));});function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x6f;let f=c[d];return f;},a36d(a,b);}a36a();import a36e from'node-forge';function a36c(){const B=['email','search','6122842GCQoMC','exit','toString','www.maka-cli.com','localhost','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','failure','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','4947120PpASBZ','MAKA_DEV','2364GaLqmf','isFile','cacert','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','withSpinner','update','fsi','1974NPZLqq','/api/v1/login','help','apply','constructor','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','/api/v1/encodeJwt','Password:\x20','47910ssNzAt','parse','error','1043UEVtLK','https://','241646PONcbU','getGlobalConfig','Logging\x20into\x20https://','maka\x20login','password','authToken','2MIuuvn','create','maka\x20login\x20<opts>','env','assign','102TJcwGq','post','4573548hUdoaj','start','ask','success','get','toHex','Using\x20CA\x20Cert\x20','/api/v1/status','sha256','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','login','cert','(((.+)+)+)+$','\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','setGlobalConfig','1808Vpqtnq','Preflight\x20Check','digest'];a36c=function(){return B;};return a36c();}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a36z(0x7e)][a36z(0x9f)]==='True'?a36z(0x9a):a36z(0x99);Command[a36z(0x7c)]({'name':a36z(0x8c),'validOpts':[a36z(0x94),'password',a36z(0xa9),'cacert','debug'],'usage':a36z(0x7d),'maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a36z(0xac),'examples':[a36z(0x78),'maka\x20login\x20--email\x20<address>\x20--password\x20<password>']},async function(a,b){const A=a36z,c=Log[A(0xa4)]();try{let d='';b[A(0xa2)]&&(this[A(0xa6)]['isFile'](b[A(0xa2)])?(d=b[A(0xa2)],Log['notice'](A(0x88)+d)):Log['error'](A(0x8b)+d));const f=await this[A(0xa6)][A(0x76)]();if(f['cert']){if(this['fsi'][A(0xa1)](f[A(0x8d)]))d=f[A(0x8d)];else{Log[A(0x72)](A(0x9b)+d);return;}}Log['header'](A(0x77)+hostname);const g={'url':A(0x74)+hostname+A(0x89)};b[A(0xa2)]&&Object[A(0x7f)](g,{'cert':d});c['start'](A(0x92));const {statusCode:h}=await HTTPS[A(0x86)](g);if(h===0x198){c[A(0x9c)]();throw A(0xa3);}if(h!==0xc8){c['failure']();throw A(0x74)+hostname+A(0x8f);}c['success']();const i=b[A(0x94)]?b[A(0x94)]:await Actions['ask']('Email:'),j=b[A(0x79)]?b[A(0x79)]:await Actions[A(0x84)](A(0x6f),!![]),k=a36e['md'][A(0x8a)][A(0x7c)]();k[A(0xa5)](j);const l=k[A(0x93)]()[A(0x87)](),m={'hostname':hostname,'path':A(0xa8),'data':{'email':i,'password':l,'hashed':!![]}};b[A(0xa2)]&&Object[A(0x7f)](m,{'cert':d});c[A(0x83)]('Logging\x20in');const {data:n,statusCode:o}=await HTTPS[A(0x81)](m);if(o===0x198){c[A(0x9c)]('\x0a');throw A(0x9d)+hostname;}const p=JSON[A(0x71)](n);if(p[A(0x7a)]){const q={'hostname':hostname,'path':A(0xad),'headers':{'x-auth-token':p['authToken']},'data':{}};b[A(0xa2)]&&Object[A(0x7f)](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS['post'](q),{token:t}=JSON[A(0x71)](r);if(s===0x198)throw A(0x9d)+hostname;const u={'token':p,'hash':t};this[A(0xa6)][A(0x90)](u);}else{c[A(0x9c)]();throw p;}c[A(0x85)]();}catch(v){c[A(0x9c)](),console['error'](v),process[A(0x97)](0x0);}});
@@ -1 +1 @@
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
+ const a37o=a37d;(function(a,b){const l=a37d,c=a();while(!![]){try{const d=-parseInt(l(0x18f))/0x1*(parseInt(l(0x160))/0x2)+parseInt(l(0x171))/0x3*(-parseInt(l(0x16e))/0x4)+parseInt(l(0x185))/0x5*(parseInt(l(0x175))/0x6)+parseInt(l(0x166))/0x7+parseInt(l(0x15f))/0x8+-parseInt(l(0x18b))/0x9*(-parseInt(l(0x17b))/0xa)+parseInt(l(0x164))/0xb*(parseInt(l(0x162))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x7ba5a));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a37d;if(c){const e=c[m(0x165)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const n=a37d;return a37a[n(0x182)]()[n(0x190)]('(((.+)+)+)+$')[n(0x182)]()[n(0x167)](a37a)[n(0x190)](n(0x15e));});function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x15e;let f=c[d];return f;},a37d(a,b);}a37a();import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a37o(0x17a)][a37o(0x170)]===a37o(0x178)?a37o(0x189):a37o(0x18c);Command[a37o(0x187)]({'name':a37o(0x18d),'validOpts':[a37o(0x18e)],'usage':'maka\x20logout\x20<opts>','maxArgLength':0x2,'shortDesc':a37o(0x183),'disableAuthCheck':!![],'examples':[a37o(0x16d)]},async function(a,b){const p=a37o,c=Log['withSpinner']();try{let d='';b[p(0x18e)]&&(this[p(0x17e)][p(0x191)](b[p(0x18e)])?(d=b[p(0x18e)],Log[p(0x192)](p(0x188)+d)):Log[p(0x161)](p(0x184)+d));const f=await this[p(0x17e)][p(0x169)]();if(f['cert']){if(this[p(0x17e)][p(0x191)](f[p(0x18a)]))d=f[p(0x18a)];else{c[p(0x179)]();throw Log['error'](p(0x176)+d);}}Log[p(0x193)](p(0x16f)+hostname);const g={'url':'https://'+hostname+p(0x180)};b[p(0x18e)]&&Object[p(0x181)](g,{'cert':d});c[p(0x168)](p(0x17f));const {statusCode:h}=await HTTPS['get'](g);if(h===0x198){c[p(0x179)]();throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}c[p(0x16c)]();if(h!==0xc8){c['failure']();throw p(0x186);}if(!f?.[p(0x163)]?.['authToken'])throw Log[p(0x161)](p(0x172));c[p(0x168)](p(0x16b));const i={'hostname':hostname,'path':p(0x17d),'data':{},'headers':{'x-auth-token':f[p(0x163)][p(0x17c)]}};b[p(0x18e)]&&Object[p(0x181)](i,{'cert':d});const {statusCode:j}=await HTTPS[p(0x177)](i);if(j===0x198){c['failure']('\x0a');throw p(0x173);}this[p(0x17e)][p(0x16a)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[p(0x16c)]();}catch(k){k&&console[p(0x161)](k),process[p(0x174)](0x0);}});function a37c(){const q=['Preflight\x20Check','/api/v1/status','assign','toString','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','874765GDugpA','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','create','Using\x20CA\x20Cert\x20','localhost','cert','9dgzlWf','www.maka-cli.com','logout','cacert','20fnRPqu','search','isFile','notice','header','(((.+)+)+)+$','2713112WpAtmn','31124jInlZG','error','1575996cGgGJM','token','22cxMPcE','apply','998851nhLWEv','constructor','start','getGlobalConfig','setGlobalConfig','Logging\x20out','success','maka\x20logout','356jeegIR','Logging\x20out\x20of\x20https://','MAKA_DEV','18324vIPxJL','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','exit','18ZSCzaV','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','post','True','failure','env','919530yNRLuz','authToken','/api/v1/logoutAll','fsi'];a37c=function(){return q;};return a37c();}
@@ -1 +1 @@
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
+ const a38k=a38d;(function(a,b){const h=a38d,c=a();while(!![]){try{const d=-parseInt(h(0x95))/0x1+parseInt(h(0x80))/0x2*(-parseInt(h(0x98))/0x3)+-parseInt(h(0x81))/0x4+-parseInt(h(0x88))/0x5+-parseInt(h(0x94))/0x6*(-parseInt(h(0x85))/0x7)+-parseInt(h(0x96))/0x8+parseInt(h(0x90))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x4ce79));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a38d;if(c){const e=c[i(0x87)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const j=a38d;return a38a[j(0x7f)]()[j(0x97)](j(0x92))[j(0x7f)]()[j(0x89)](a38a)['search'](j(0x92));});a38a();function a38c(){const m=['(((.+)+)+)+$','create','975282DuMQVV','511066aHMfzj','2816696kBfnPZ','search','78228tUmovz','toString','16qCRNlG','274324JzRGOq','assign','getConfigPath','logs','14MpEOSz','env','apply','2495375YgViAg','constructor','ssh.json','parse','join','fsi','View\x20the\x20PM2\x20logs','sshSync','14663916ZnnCnL','readFileSync'];a38c=function(){return m;};return a38c();}function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x7f;let f=c[d];return f;},a38d(a,b);}import a38e from'fs';import a38f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a38k(0x93)]({'name':a38k(0x84),'aliases':['l','log'],'usage':'maka\x20logs\x20--env\x20prod','requiredOpts':['env'],'mustBeInMakaProject':!![],'validOpts':[''],'shortDesc':a38k(0x8e),'examples':['maka\x20logs\x20--env\x20dev','maka\x20logs\x20--env\x20staging','maka\x20l\x20-e\x20p']},function(a,b){const l=a38k,c='pm2\x20logs',d=this[l(0x8d)][l(0x83)](b[l(0x86)]),e=a38f[l(0x8c)](d,l(0x8a)),f=a38e[l(0x91)](e),g=JSON[l(0x8b)](f[l(0x7f)]());Object[l(0x82)](g,{'env':d}),SSH[l(0x8f)](c,g,{'tty':!![],'verbose':!![]});});
@@ -1 +1 @@
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
+ const a39j=a39d;(function(a,b){const g=a39d,c=a();while(!![]){try{const d=parseInt(g(0x145))/0x1+-parseInt(g(0x141))/0x2+-parseInt(g(0x149))/0x3*(parseInt(g(0x13f))/0x4)+-parseInt(g(0x14a))/0x5*(-parseInt(g(0x144))/0x6)+-parseInt(g(0x13c))/0x7*(parseInt(g(0x148))/0x8)+-parseInt(g(0x136))/0x9*(parseInt(g(0x14b))/0xa)+parseInt(g(0x143))/0xb*(parseInt(g(0x140))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x9a109));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a39d;if(c){const e=c[h(0x13d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const i=a39d;return a39a[i(0x138)]()[i(0x135)](i(0x134))[i(0x138)]()[i(0x13b)](a39a)[i(0x135)](i(0x134));});a39a();import{Command}from'../command.js';const Maka=new Command({'name':'maka','minArgLength':0x1,'shortDesc':a39j(0x142),'validOpts':[],'usage':'maka\x20<command>\x20[<args>]\x20[<opts>]','disableAuthCheck':!![],'examples':['maka\x20--help',a39j(0x133),a39j(0x139),a39j(0x13a)],'description':a39j(0x147)},async function(a,b){const k=a39j;try{const c=a[0x0],d=this[k(0x146)](c);d?this[k(0x137)](c,a[k(0x14c)](0x1),b):this['fsi']['maybeProxyCommandToMeteor']();}catch(f){console['error'](f),process[k(0x13e)](0x1);}});function a39c(){const l=['1511237VdpMjw','apply','exit','644XWNZJT','1061916YOblua','2446680xhUyYr','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','253SEOdyq','12IAriok','1239344HPRuHZ','findSubCommand','\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','16rnFPea','15897UZpmSv','232425oMpXcq','5870nPwyas','slice','maka\x20install\x20meteor','(((.+)+)+)+$','search','3501tVSRky','runSubCommand','toString','maka\x20create\x20Todo','maka\x20run','constructor'];a39c=function(){return l;};return a39c();}function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x133;let f=c[d];return f;},a39d(a,b);}export default Maka;
@@ -1 +1 @@
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
+ var a40i=a40d;function a40c(){var k=['toString','21416vPmowp','11hShdbB','create','424260oWNAnT','30YFWtir','427546ZioUSr','14973DqtvUT','52RxNjvt','log','constructor','184581wjgrpO','font-family:\x20monospace','(((.+)+)+)+$','191773PXDieF','murder','search','6wIOhcx','2543244akrLvz','exit','2XCLyzj','apply'];a40c=function(){return k;};return a40c();}function a40d(a,b){var c=a40c();return a40d=function(d,e){d=d-0x94;var f=c[d];return f;},a40d(a,b);}(function(a,b){var f=a40d,c=a();while(!![]){try{var d=parseInt(f(0xa0))/0x1*(parseInt(f(0xa6))/0x2)+-parseInt(f(0x99))/0x3*(parseInt(f(0x9a))/0x4)+parseInt(f(0x96))/0x5+-parseInt(f(0xa3))/0x6*(-parseInt(f(0x98))/0x7)+-parseInt(f(0xa9))/0x8+-parseInt(f(0x9d))/0x9*(-parseInt(f(0x97))/0xa)+-parseInt(f(0x94))/0xb*(parseInt(f(0xa4))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x1d3b5));var a40b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a40d;if(c){var e=c[g(0xa7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){var h=a40d;return a40a[h(0xa8)]()[h(0xa2)]('(((.+)+)+)+$')[h(0xa8)]()[h(0x9c)](a40a)[h(0xa2)](h(0x9f));});a40a();import{Command}from'../command.js';Command[a40i(0x95)]({'name':a40i(0xa1),'usage':'maka\x20murder','maxArgLength':0x1,'shortDesc':'Murrrrderrrrr','validOpts':[]},async function(){var j=a40i;try{console[j(0x9b)]('%c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.___.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20,-^\x20\x20\x20\x20\x20^-.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x0a.-------|\x20|--------------/\x20\x20__\x20\x20\x20\x20\x20__\x20\x20\x5c-------------------.__\x0a|WMWMWMW|\x20|>>>>>>>>>>>>>\x20|\x20/>>\x5c\x20\x20\x20/>>\x5c\x20|>>>>>>>>>>>>>>>>>>>>>>:>\x0a`-------|\x20|--------------|\x20\x5c__/\x20\x20\x20\x5c__/\x20|-------------------\x27^^\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x5c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20/|\x5c\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x5c_/\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\x20|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|+H+H+H+|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20^-----^\x0a\x0a',j(0x9e));}catch(a){console['error'](a),process[j(0xa5)](0x0);}});
@@ -1 +1 @@
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
+ function a41c(){const s=['utf8','localhost','toString','maka\x20proxy\x20<options>','getProjectConfig','listenPort','90hFLxiq','334829XdKKZi','990465iQDlXk','constructor','fsi','join','=>\x20SSL\x20Proxy\x20forwarding\x20','.key','maka\x20proxy\x20--target-host\x20http://192.168.1.20','error','search','568bKpHqj','2yTkwQt','readFileSync','isFile','78708CALvGQ','create','getConfigPath','findGenerator','development','41461yJhvUo','targetHost','apply','proxy','sslconfig','6fszrHe','\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','help','createProxyServer','.crt','appName','genSSC','targetPort','mkKeysDir','1271945Qpdclu','3159198wSWpgk','66589XJzdOT'];a41c=function(){return s;};return a41c();}const a41q=a41d;(function(a,b){const n=a41d,c=a();while(!![]){try{const d=parseInt(n(0x166))/0x1*(-parseInt(n(0x14e))/0x2)+parseInt(n(0x16f))/0x3+-parseInt(n(0x151))/0x4+parseInt(n(0x164))/0x5*(parseInt(n(0x15b))/0x6)+parseInt(n(0x156))/0x7*(parseInt(n(0x14d))/0x8)+-parseInt(n(0x165))/0x9+-parseInt(n(0x16d))/0xa*(parseInt(n(0x16e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x47bce));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a41d;if(c){const e=c[o(0x158)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const p=a41d;return a41a['toString']()[p(0x14c)]('(((.+)+)+)+$')[p(0x169)]()[p(0x170)](a41a)[p(0x14c)]('(((.+)+)+)+$');});a41a();import a41e from'fs';import a41f from'path';import a41g from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';import a41h from'../generators/maka.gen.js';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x149;let f=c[d];return f;},a41d(a,b);}Command[a41q(0x152)]({'name':a41q(0x159),'usage':a41q(0x16a),'mustBeInMakaProject':!![],'validOpts':[a41q(0x15d),a41q(0x162),'listenPort','targetHost'],'maxArgLength':0x1,'shortDesc':'Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','description':a41q(0x15c),'examples':['maka\x20proxy','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000',a41q(0x14a)]},async function(a,b){const r=a41q,c=this['fsi'][r(0x16b)](),d=r(0x155),e=this[r(0x171)][r(0x153)](d),f=this[r(0x171)][r(0x163)]({'configPath':e}),g=b[r(0x162)]?b[r(0x162)]:0xbb8,h=b[r(0x16c)]?b[r(0x16c)]:0xd73,i=b[r(0x157)]?b[r(0x157)]:r(0x168),j=a41f[r(0x172)](f,c[r(0x160)]+r(0x149)),k=a41f[r(0x172)](f,c['appName']+r(0x15f));if(!this[r(0x171)][r(0x150)](j)||!this['fsi'][r(0x150)](k)){const m=a41h[r(0x154)](r(0x15a));m&&await m['invoke']([r(0x15a)],{'env':d}),SSL['genCSR']({'keyName':c[r(0x160)]+r(0x149),'csrName':c[r(0x160)]+'.csr','cwd':f}),SSL[r(0x161)]({'keyName':c['appName']+'.key','crtName':c[r(0x160)]+r(0x15f),'cwd':f});}if(g===h){Log[r(0x14b)]('Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.');throw new UsageError();}const l={'ssl':{'key':a41e[r(0x14f)](j,'utf8'),'cert':a41e[r(0x14f)](k,r(0x167))},'target':{'host':i,'port':g},'ws':!![],'xfwd':!![]};a41g[r(0x15e)](l)['listen'](h),Log['bright'](r(0x173)+h+'\x20to\x20'+g);});
@@ -1 +1 @@
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
+ const a42q=a42d;(function(a,b){const n=a42d,c=a();while(!![]){try{const d=parseInt(n(0x1c9))/0x1*(-parseInt(n(0x1f0))/0x2)+parseInt(n(0x1d1))/0x3+-parseInt(n(0x1cd))/0x4*(parseInt(n(0x1d0))/0x5)+parseInt(n(0x1e4))/0x6+parseInt(n(0x1e7))/0x7*(parseInt(n(0x1ef))/0x8)+-parseInt(n(0x1dd))/0x9+-parseInt(n(0x1e8))/0xa*(-parseInt(n(0x1ed))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x45d43));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a42d;if(c){const e=c[o(0x1d4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const p=a42d;return a42a[p(0x1d3)]()[p(0x1db)](p(0x1d9))['toString']()[p(0x1cb)](a42a)[p(0x1db)](p(0x1d9));});a42a();import a42e from'fs';import a42f from'path';import{Command}from'../command.js';function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x1c9;let f=c[d];return f;},a42d(a,b);}import{Log}from'../tools/log/log.class.js';function a42c(){const s=['existsSync','~/settings.json','(((.+)+)+)+$','parse','search','uname\x20-a','2879145VnjqYQ','~/pm2.config.js','Remote\x20host\x20connection\x20successful','_keys','ssh','reconfig','ses.json','2647980DylMyz','scp','fsi','987LowhRP','5910AnmsiV','readFileSync','ssh.json','join','Reconfigure\x20your\x20deployed\x20applications','2387kwJLqp','notice','28936HnbEIW','6542mOTmRD','141vtjFta','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','constructor','success','4RvninL','exit','error','252530FnuvNt','114201jUUQnB','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','toString','apply','env','~/ses.json'];a42c=function(){return s;};return a42c();}import{SSH}from'../tools/ssh/ssh.class.js';Command['create']({'name':a42q(0x1e2),'validOpts':[''],'requiredOpts':[a42q(0x1d5)],'mustBeInMakaProject':!![],'usage':'maka\x20reconfig\x20--env\x20prod','shortDesc':a42q(0x1ec),'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[r(0x1e6)]['getConfigPath'](b[r(0x1d5)]),d=a42f[r(0x1eb)](c,r(0x1ea)),f=a42e[r(0x1e9)](d)[r(0x1d3)](),g=JSON[r(0x1da)](f);Object['assign'](g,{'env':c}),Log[r(0x1ee)]('Checking\x20remote\x20host\x20availability');const h=SSH['ping'](r(0x1dc),g);if(!h)throw r(0x1d2);if(h)Log[r(0x1cc)](r(0x1df));const i=a42f[r(0x1eb)](c,r(0x1e0),r(0x1e3));if(a42e[r(0x1d7)](i)){const l={'source':i,'dest':r(0x1d6),'verbose':!![]};SSH[r(0x1e5)](l,{...g});}const j=a42f[r(0x1eb)](c,'pm2.config.js');SSH[r(0x1e5)]({'source':j,'dest':r(0x1de),'verbose':!![]},{...g});const k=a42f[r(0x1eb)](c,'settings.json');SSH[r(0x1e5)]({'source':k,'dest':r(0x1d8),'verbose':!![]},{...g}),SSH['sshSync']('pm2\x20delete\x20all',g),await SSH[r(0x1e1)](r(0x1ca),{...g},{'verbose':!![]});}catch(m){console[r(0x1cf)](m),process[r(0x1ce)](0x0);}});
@@ -1 +1 @@
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
+ (function(a,b){var f=a43d,c=a();while(!![]){try{var d=parseInt(f(0xda))/0x1+parseInt(f(0xde))/0x2+-parseInt(f(0xd0))/0x3*(-parseInt(f(0xd5))/0x4)+parseInt(f(0xd1))/0x5*(parseInt(f(0xd4))/0x6)+-parseInt(f(0xdd))/0x7*(-parseInt(f(0xd8))/0x8)+parseInt(f(0xd7))/0x9+-parseInt(f(0xd6))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xe47ac));var a43b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a43d;if(c){var e=c[g(0xdc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){var h=a43d;return a43a[h(0xd3)]()[h(0xd2)](h(0xd9))[h(0xd3)]()[h(0xdb)](a43a)[h(0xd2)]('(((.+)+)+)+$');});a43a();function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0xd0;var f=c[d];return f;},a43d(a,b);}import'./run.command.js';function a43c(){var i=['5949444sqNOjF','108076IauPrJ','49852490SkBymN','73377peBVru','40bcMCfw','(((.+)+)+)+$','1847220iUGYnf','constructor','apply','1111138AhoppX','994460QyvRTA','198WWrEKz','5YDdmvg','search','toString'];a43c=function(){return i;};return a43c();}import'./docker.sub.cmd.js';
@@ -1 +1 @@
1
- const a44k=a44d;(function(a,b){const i=a44d,c=a();while(!![]){try{const d=-parseInt(i(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
+ const a44l=a44d;function a44c(){const n=['existsSync','333wZqqgo','toString','notice','appName','4fhWrks','templateContent','apply','204136DtflcT','856636BBbxAE','docker-compose.yaml','PM2\x20Config\x20File:\x20','(((.+)+)+)+$','\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','docker','maka\x20run\x20docker','create','\x20up\x20--remove-orphans','2577672rocrRs','getConfigPath','1026004wdjArw','pm2.config.js','createFile','Docker\x20Compose\x20Path:\x20','1673144pqlipH','213450NrWidT','3606SFTWPi','fsi','search','config/docker-compose.yaml','join','2705udORJz','16KdBzlF','inherit'];a44c=function(){return n;};return a44c();}(function(a,b){const i=a44d,c=a();while(!![]){try{const d=parseInt(i(0x14b))/0x1+-parseInt(i(0x14a))/0x2+-parseInt(i(0x132))/0x3*(parseInt(i(0x147))/0x4)+-parseInt(i(0x13f))/0x5*(parseInt(i(0x13a))/0x6)+parseInt(i(0x134))/0x7*(parseInt(i(0x140))/0x8)+-parseInt(i(0x143))/0x9*(-parseInt(i(0x139))/0xa)+-parseInt(i(0x138))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x7a510));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a44d;if(c){const e=c[j(0x149)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const k=a44d;return a44a['toString']()['search'](k(0x14e))[k(0x144)]()['constructor'](a44a)[k(0x13c)](k(0x14e));});a44a();import a44e from'./run.command.js';import{execSync}from'child_process';import a44f from'path';import a44g from'fs';import{Log}from'../../tools/log/log.class.js';function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x12e;let f=c[d];return f;},a44d(a,b);}import{Command}from'../../command.js';import{paramCase}from'change-case';Command[a44l(0x130)]({'name':a44l(0x12e),'aliases':['d'],'shortDesc':'Run\x20your\x20application\x20in\x20a\x20Docker\x20container','description':a44l(0x14f),'usage':a44l(0x12f),'validOpts':['']},async function(){const m=a44l;try{const a=this['fsi']['getProjectConfig'](),b=this[m(0x13b)][m(0x133)]('docker'),c=a44f[m(0x13e)](b,m(0x14c)),d=a44f[m(0x13e)](b,m(0x135));Log['notice'](m(0x14d)+d),Log[m(0x145)](m(0x137)+c);if(!a44g[m(0x142)](c)){const f={'app':a[m(0x146)],'appFileCase':paramCase(a[m(0x146)])},g=this[m(0x13b)][m(0x148)]({'srcPath':m(0x13d),'context':f})+'\x0a';this[m(0x13b)][m(0x136)]({'filePath':c,'data':g});}execSync('docker-compose\x20--project-directory\x20'+b+m(0x131),{'stdio':m(0x141)});}catch(h){process['exit'](0x1);}},a44e);
@@ -1 +1 @@
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
+ const a45u=a45d;function a45c(){const x=['invokeMeteorCommand','toString','findProjectDirectory','4njnBxk','isDirectory','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','openSync','apply','4032880wyUPyQ','exclude-archs','9fAFfSL','notice','env','mobile-server','split','3915541NDolmc','filter','argv','getConfigPath','join','--settings','rawLogs','runSubCommand','4UZgBdI','length','port','create','settings','compareMakaToLatest','1083945PpRfWq','fsi','exit','extraPackages','sep','302639AxDsia','warn','production','local','app','371240AmzRdk','search','2342250RrqZGU','slice','26524500Guqfok','config','(((.+)+)+)+$','settings.json','development','--env','mobileServer','docker','ios','isFile','concat','Cannot\x20find\x20Node\x20Environment\x20File:\x20','forEach','run','Meteor\x20Settings:\x20','splice'];a45c=function(){return x;};return a45c();}(function(a,b){const q=a45d,c=a();while(!![]){try{const d=parseInt(q(0x197))/0x1*(-parseInt(q(0x18c))/0x2)+-parseInt(q(0x192))/0x3+parseInt(q(0x178))/0x4*(parseInt(q(0x19c))/0x5)+-parseInt(q(0x163))/0x6+-parseInt(q(0x184))/0x7+parseInt(q(0x17d))/0x8*(-parseInt(q(0x17f))/0x9)+parseInt(q(0x165))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x4ac51));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a45d;if(c){const e=c[r(0x17c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const s=a45d;return a45a[s(0x176)]()[s(0x19d)]('(((.+)+)+)+$')[s(0x176)]()['constructor'](a45a)[s(0x19d)](s(0x167));});a45a();import a45e from'path';import a45f from'fs';import a45g from'dotenv';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x163;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(0x17b)](a,'r'),a45g[t(0x166)]({'path':a});},Run=Command[a45u(0x18f)]({'name':'run','mustBeInMakaProject':!![],'shortDesc':'Run\x20your\x20Meteor\x20application','description':'\x0a\x20\x20maka\x20run\x0a\x20\x20-e\x20|\x20--env\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20target\x20environment.\x20\x20Will\x20automatically\x20pull\x20in\x20the\x20meteor\x20settings\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20file\x20(settings.json)\x20and\x20any\x20environment\x20options\x20that\x20have\x20been\x20enabled.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20-r\x20|\x20--raw-logs\x20\x20\x20\x20\x20\x20\x20Only\x20output\x20the\x20meteor\x20logs\x20without\x20the\x20timestamp.\x0a\x0a\x20\x20-p\x20|\x20--port\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20port\x20to\x20run\x20the\x20meteor\x20server\x20on.\x20Defaults\x20to\x20port\x203000.\x0a\x0a\x20\x20-i\x20|\x20--inspect\x20\x20\x20\x20\x20\x20\x20\x20Tells\x20the\x20meteor\x20server\x20to\x20run\x20nodejs\x20in\x20debug\x20mode.\x20Starts\x20a\x20debug\x20session\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20which\x20can\x20be\x20accessed\x20by\x20Chrome\x20Dev\x20Tools\x20or\x20another\x20debug\x20terminal.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20-m\x20|\x20--mobile-server\x20\x20Specify\x20a\x20different\x20backend\x20server\x20to\x20connect\x20to.\x20\x20Mainly\x20used\x20when\x20running\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20-x\x20|\x20--exclude-archs\x20\x20Don\x27t\x20create\x20bundles\x20for\x20certain\x20web\x20architectures\x20(comma\x20separated,\x20for\x20example:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20--production\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Runs\x20the\x20application\x20in\x20production\x20mode;\x20minifies\x20and\x20bundles\x20all\x20files\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20removes\x20development\x20packages.','validOpts':[a45u(0x181),a45u(0x16c),'r',a45u(0x18a),'p',a45u(0x18e),'i','inspect','m',a45u(0x16b),'v','verbose','allowIncompatibleUpdate',a45u(0x195),'x',a45u(0x17e),a45u(0x199)]},async function(a,b){const v=a45u;try{const c=a[0x0],d=this['findSubCommand'](c);d&&this[v(0x18b)](c,a,b);if(c===v(0x16d)){const m=this['fsi'][v(0x177)](),n=a45e[v(0x188)](m,v(0x19b),'.meteor',v(0x19a),'cordova-build');this[v(0x193)][v(0x179)](n)&&await rimraf(n);}if(b[v(0x182)]&&b['mobile-server']===!![]||b['m']&&b['m']===!![])throw'Please\x20provide\x20a\x20URL\x20where\x20your\x20mobile\x20app\x20should\x20connect\x20to\x20your\x20server\x20(e.g.,\x20-m\x20|\x20--mobile-server=https://example-server.com)';await this['fsi'][v(0x191)]();const f=b['env']?b[v(0x181)]:v(0x169),g=this[v(0x193)][v(0x187)](f),h=a45e['join'](g,'process.env');let i=a45e[v(0x188)](g,v(0x168));b['settings']?i=b[v(0x190)]:i=a45e['join'](g,v(0x168));if(this[v(0x193)][v(0x16e)](h)&&!b[v(0x16c)])Log[v(0x180)]('Node\x20Env\x20Config:\x20'+h),syncSource(h);else!b['docker']&&Log['warn'](v(0x170)+h);this['fsi'][v(0x16e)](i)?(Log['notice'](v(0x173)+i),a=a[v(0x16f)]([v(0x189),i])):Log[v(0x198)](v(0x17a)+i);const j=g[v(0x183)](a45e[v(0x196)]),k=j[j[v(0x18d)]-0x1];k===v(0x199)&&a['push']('--production');const l=process[v(0x186)][v(0x164)](0x2)[v(0x185)](o=>o!==v(0x172))['filter'](o=>o!==a[0x0]);l[v(0x171)]((o,p)=>{const w=v;o===w(0x16a)&&l[w(0x174)](p,0x2),o==='-e'&&l['splice'](p,0x2);}),this[v(0x193)][v(0x175)](v(0x172),a['concat'](l));}catch(o){console['error'](o),process[v(0x194)](0x1);}});export default Run;
@@ -1 +1 @@
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
+ (function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x167))/0x1+-parseInt(f(0x15c))/0x2+parseInt(f(0x162))/0x3*(-parseInt(f(0x160))/0x4)+-parseInt(f(0x166))/0x5*(-parseInt(f(0x15e))/0x6)+parseInt(f(0x164))/0x7+parseInt(f(0x161))/0x8+-parseInt(f(0x15f))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x8bcad));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x168)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0x169)]()[h(0x163)](h(0x15d))[h(0x169)]()[h(0x165)](a46a)[h(0x163)](h(0x15d));});function a46c(){var i=['(((.+)+)+)+$','6rsoGJS','6228702dGiHce','1478060AlvLvd','906656XtHQuU','3LymiuG','search','4819535BBgUhs','constructor','5008785ZzKfMc','607018xuJDaM','apply','toString','1552860YhdhDS'];a46c=function(){return i;};return a46c();}a46a();import'./set.command.js';function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x15c;var f=c[d];return f;},a46d(a,b);}import'./global.sub.cmd.js';import'./local.sub.cmd.js';
@@ -1 +1 @@
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
+ const a47j=a47d;(function(a,b){const h=a47d,c=a();while(!![]){try{const d=-parseInt(h(0x95))/0x1*(-parseInt(h(0x8f))/0x2)+-parseInt(h(0x92))/0x3*(parseInt(h(0xa0))/0x4)+parseInt(h(0x88))/0x5*(-parseInt(h(0xaa))/0x6)+parseInt(h(0x93))/0x7*(-parseInt(h(0x8b))/0x8)+parseInt(h(0x85))/0x9*(-parseInt(h(0x9b))/0xa)+parseInt(h(0x9c))/0xb*(-parseInt(h(0x9f))/0xc)+parseInt(h(0x9d))/0xd*(parseInt(h(0xa1))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x3e730));function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x7f;let f=c[d];return f;},a47d(a,b);}function a47c(){const l=['(((.+)+)+)+$','constructor','37435spOmxp','help','allowInsecure','51352PHBnzq','resolve','fsi','maka\x20set:gc\x20--workspace\x20<path>','650660aaRhIs','maka\x20set:global-config\x20--cacert\x20<path>','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','3BBSVKn','210ScuEYH','cacert','1mogZGP','disallowInsecure','Could\x20not\x20find\x20directory','Set\x20CA\x20Cert\x20Path:\x20','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x0a\x20\x20There\x20are\x20occasions\x20where\x20your\x20network\x20may\x20need\x20an\x20intermediate\x20certificate\x0a\x20\x20to\x20allow\x20connections\x20outside.\x20\x20You\x20may\x20set\x20your\x20certificate\x20path\x20using\x20the\x20command:\x0a\x0a\x20\x20maka\x20set:gc\x20--cacert\x0a\x20\x20','exit','635050UDpZEn','1397YDFjFi','1248TKyYpi','Set\x20allowInsecure:\x20','25884OxkKwJ','1363944zcqAiF','133784NVCSGl','setGlobalConfig','success','maka\x20set:gc\x20--insecure\x20<path>','maka\x20set:global-config\x20<args>','Set\x20workspace:\x20','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','toString','error','42LMZDXE','boolean','Set\x20global\x20Maka-CLI\x20settings','global-config','search','workspace','isFile','18FWSkun'];a47c=function(){return l;};return a47c();}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(0xa8)]()[i(0x82)]('(((.+)+)+)+$')[i(0xa8)]()[i(0x87)](a47a)['search'](i(0x86));});a47a();import a47e from'path';import a47f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a47j(0x81),'usage':a47j(0xa5),'aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a47j(0x94),a47j(0x8a),a47j(0x96),a47j(0x83),a47j(0x89)],'shortDesc':a47j(0x80),'description':a47j(0x99),'examples':[a47j(0x90),a47j(0xa4),a47j(0x8e)]},async function(a,b){const k=a47j;try{if(b[k(0x94)]){if(this[k(0x8d)][k(0x84)](b['cacert']))this['fsi'][k(0xa2)]({'cert':b[k(0x94)]}),Log[k(0xa3)](k(0x98)+b['cacert']);else{const c=typeof b['cacert']===k(0x7f)?k(0xa7):k(0x91)+b[k(0x94)];throw Log[k(0xa9)](c);}}if(b[k(0x83)]){const d=this[k(0x8d)]['isDirectory'](b[k(0x83)]);if(d)this[k(0x8d)][k(0xa2)]({'workspace':a47e[k(0x8c)](b[k(0x83)])}),Log[k(0xa3)](k(0xa6)+a47e[k(0x8c)](b['workspace']));else throw Log['error'](k(0x97));}if(b[k(0x8a)]){if(b[k(0x8a)]&&b['disallowInsecure'])throw Log[k(0xa9)]('One\x20or\x20the\x20other\x20buddy');let f=b[k(0x8a)];b[k(0x96)]&&(f=![]),this[k(0x8d)][k(0xa2)]({'allowInsecure':f}),Log[k(0xa3)](k(0x9e)+f);}}catch(g){console['error'](g),process[k(0x9a)](0x0);}},a47f);
@@ -1 +1 @@
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
+ var a48i=a48d;(function(a,b){var f=a48d,c=a();while(!![]){try{var d=-parseInt(f(0x139))/0x1+-parseInt(f(0x140))/0x2*(-parseInt(f(0x145))/0x3)+parseInt(f(0x13d))/0x4*(parseInt(f(0x141))/0x5)+-parseInt(f(0x14a))/0x6*(parseInt(f(0x14c))/0x7)+parseInt(f(0x146))/0x8*(parseInt(f(0x14d))/0x9)+-parseInt(f(0x13f))/0xa*(parseInt(f(0x149))/0xb)+-parseInt(f(0x148))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xf0668));var a48b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a48d;if(c){var e=c[g(0x13a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){var h=a48d;return a48a[h(0x142)]()[h(0x138)]('(((.+)+)+)+$')[h(0x142)]()[h(0x143)](a48a)[h(0x138)](h(0x13e));});a48a();import a48e from'./set.command.js';import{Command}from'../../command.js';function a48c(){var k=['maka\x20set:local-config\x20<opts>','31606704aHsUJb','38093GWwzQO','600IZpELf','local-config','20951yhxpvO','3429rHJJSD','search','406572oWAhsS','apply','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','Sorry,\x20not\x20implemented\x20yet','1089668GfncXI','(((.+)+)+)+$','890jnOSzH','74066QuhdtG','15eTcsfu','toString','constructor','notice','153cclUGr','40456dgmbsx'];a48c=function(){return k;};return a48c();}import{Log}from'../../tools/log/log.class.js';function a48d(a,b){var c=a48c();return a48d=function(d,e){d=d-0x138;var f=c[d];return f;},a48d(a,b);}Command['create']({'name':a48i(0x14b),'usage':a48i(0x147),'examples':['maka\x20set:lc\x20<opts>',a48i(0x147)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':'Set\x20local\x20maka\x20app\x20settings','validOpts':[],'description':a48i(0x13b)},async function(){var j=a48i;Log[j(0x144)](j(0x13c));},a48e);
@@ -1 +1 @@
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
+ const a49i=a49d;(function(a,b){const f=a49d,c=a();while(!![]){try{const d=parseInt(f(0x168))/0x1+-parseInt(f(0x163))/0x2*(-parseInt(f(0x174))/0x3)+-parseInt(f(0x177))/0x4*(-parseInt(f(0x16d))/0x5)+parseInt(f(0x166))/0x6+-parseInt(f(0x171))/0x7+parseInt(f(0x16c))/0x8*(parseInt(f(0x173))/0x9)+parseInt(f(0x16f))/0xa*(-parseInt(f(0x164))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x1ed6e));const a49b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a49d;if(c){const e=c[g(0x176)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){const h=a49d;return a49a[h(0x16a)]()[h(0x169)](h(0x172))[h(0x16a)]()['constructor'](a49a)[h(0x169)]('(((.+)+)+)+$');});a49a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command[a49i(0x16b)]({'name':a49i(0x167),'usage':'maka\x20set:<sub-command>\x20<opts>','minArgLength':0x1,'shortDesc':a49i(0x175),'description':a49i(0x16e),'validOpts':[]},async function(a,b){const j=a49i,c=a[0x0];if(b[j(0x170)])throw new UsageError();const d=this[j(0x165)](c);d&&this[j(0x178)](c,a,b);});function a49c(){const k=['483040RQwDFl','15rWuefC','\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','89220pIhANW','help','1446186lgCidG','(((.+)+)+)+$','18ZjcvBy','33129HNaiVK','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','apply','302580MLKJge','runSubCommand','36hVyvBY','407fVjOuw','findSubCommand','643608skyvKh','set','9293hBVQiA','search','toString','create'];a49c=function(){return k;};return a49c();}function a49d(a,b){const c=a49c();return a49d=function(d,e){d=d-0x163;let f=c[d];return f;},a49d(a,b);}export default SetCommand;
@@ -1 +1 @@
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
+ const a50m=a50d;(function(a,b){const j=a50d,c=a();while(!![]){try{const d=parseInt(j(0x16a))/0x1*(-parseInt(j(0x173))/0x2)+-parseInt(j(0x16b))/0x3+parseInt(j(0x174))/0x4+parseInt(j(0x176))/0x5*(-parseInt(j(0x16e))/0x6)+-parseInt(j(0x165))/0x7*(-parseInt(j(0x171))/0x8)+-parseInt(j(0x166))/0x9*(parseInt(j(0x17d))/0xa)+parseInt(j(0x163))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xca6b7));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a50d;if(c){const e=c[k(0x175)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const l=a50d;return a50a[l(0x172)]()[l(0x17b)](l(0x168))[l(0x172)]()[l(0x178)](a50a)['search'](l(0x168));});a50a();import a50e from'fs';import a50f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x15f;let f=c[d];return f;},a50d(a,b);}Command[a50m(0x161)]({'name':'ssh','usage':a50m(0x179),'mustBeInMakaProject':!![],'requiredOpts':[a50m(0x167)],'validOpts':['env','v'],'shortDesc':a50m(0x160),'examples':[a50m(0x17f),a50m(0x17e),a50m(0x17c),a50m(0x16d),a50m(0x15f),a50m(0x162)]},async function(a,b){const n=a50m;try{const c=this[n(0x170)]['getConfigPath'](b[n(0x167)]);let d='';a[n(0x16c)]>0x0&&(d=a[0x0]);const f=a50f[n(0x17a)](c,'ssh.json'),g=a50e[n(0x177)](f)[n(0x172)](),h=JSON[n(0x16f)](g);Object[n(0x169)](h,{'env':c}),SSH[n(0x164)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['v']});}catch(i){console['error'](i),process['exit'](0x0);}});function a50c(){const o=['constructor','maka\x20ssh\x20--env\x20<env>\x20[command]','join','search','maka\x20ssh\x20--env\x20prod','30QjLsKq','maka\x20ssh\x20--env\x20staging','maka\x20ssh\x20--env\x20dev','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','create','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','36964719HcVDJc','sshSync','14CHrcZu','4713777krDOYY','env','(((.+)+)+)+$','assign','972941JxghoP','3645678BsGHBF','length','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','684498fxCGts','parse','fsi','2421664rAiVQb','toString','2LOmInQ','5685092YxoXbW','apply','35cZZZed','readFileSync'];a50c=function(){return o;};return a50c();}
@@ -1 +1 @@
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
+ function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x1c8;let f=c[d];return f;},a51d(a,b);}const a51x=a51d;(function(a,b){const v=a51d,c=a();while(!![]){try{const d=parseInt(v(0x1de))/0x1+parseInt(v(0x1fa))/0x2+parseInt(v(0x1cf))/0x3+-parseInt(v(0x1e2))/0x4+-parseInt(v(0x1ee))/0x5+parseInt(v(0x200))/0x6*(-parseInt(v(0x1d9))/0x7)+parseInt(v(0x1fd))/0x8*(parseInt(v(0x1e6))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x84e38));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(0x1e3)]()[w(0x202)](w(0x1d5))[w(0x1e3)]()[w(0x1fb)](a51a)[w(0x202)]('(((.+)+)+)+$');});a51a();import a51e from'fs';function a51c(){const z=['The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','stringify','getProjectConfig','maka\x20ssl\x20<opts>\x20[command]','letsencrypt.json','email','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','282254YnLGRD','constructor','success','24qTcNmE','/ssh.json','maka\x20ssl\x20--env\x20dev\x20generate-csr','60HSnXZx','domains','search','ask','New\x20CSR\x20written\x20to\x20','appName','[?]\x20Domains\x20to\x20register:\x20','fsi','ping','genSSC','Create\x20and\x20manage\x20your\x20SSL\x20operations.','.key','498303Ywdfsd','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','Using\x20saved\x20letsencrypt\x20config','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','writeFileSync','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','(((.+)+)+)+$','withSpinner','start','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','121492IRqSCR','create','domainNames','emailUpdate','Checking\x20remote\x20host\x20availability','9854EmhTUm','Verifying\x20Letsencrypt\x20configuration','readFileSync','ssh','671540kIMNHv','toString','notice','assign','1990917ZpPhWl','.csr','uname\x20-a','join','getConfigPath','Email\x20to\x20use\x20for\x20auto-updates:\x20','\x20--email\x20','existsSync','474820mTxxQx','parse','generate-csr','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','generate-ssc'];a51c=function(){return z;};return a51c();}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[a51x(0x1da)]({'name':'ssl','usage':a51x(0x1f6),'validOpts':['domains',a51x(0x1f8)],'requiredOpts':['env'],'shortDesc':a51x(0x1cd),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a51x(0x1ff),a51x(0x1d4),'maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process']},async function(a,b){const y=a51x,c=this['fsi'][y(0x1f5)](),d=this[y(0x1ca)][y(0x1ea)](b['env']),f=this[y(0x1ca)]['mkKeysDir']({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===y(0x1f0))SSL['genCSR']({'keyName':c['appName']+y(0x1ce),'csrName':c[y(0x1c8)]+y(0x1e7),'cwd':f});else{if(g===y(0x1f2)){if(!a51e[y(0x1ed)](a51f['join'](f,c[y(0x1c8)]+'.key')))throw y(0x1f3)+a51f['join'](f,c['appName']+'.key');if(!a51e[y(0x1ed)](a51f[y(0x1e9)](f,c[y(0x1c8)]+y(0x1e7))))throw y(0x1d2)+a51f['join'](f,c['appName']+y(0x1e7));SSL[y(0x1cc)]({'keyName':c[y(0x1c8)]+'.key','crtName':c['appName']+'.crt','cwd':f}),Log[y(0x1e4)](y(0x204)+f);}else{if(g==='letsencrypt'){let h=b[y(0x201)],i=b[y(0x1f8)];try{const p=a51e[y(0x1e0)](a51f[y(0x1e9)](d,y(0x1f7)))[y(0x1e3)](),q=JSON[y(0x1ef)](p);h=b[y(0x201)]?b['domains']:q[y(0x1db)],i=b[y(0x1f8)]?b[y(0x1f8)]:q[y(0x1dc)],(!b['email']||!b[y(0x201)])&&Log[y(0x1e4)](y(0x1d1));}catch(r){}const j=JSON[y(0x1ef)](a51e[y(0x1e0)](d+y(0x1fe))[y(0x1e3)]());Object[y(0x1e5)](j,{'env':d}),Log[y(0x1e4)](y(0x1dd));try{const s=SSH[y(0x1cb)](y(0x1e8),j);if(!s)throw y(0x1d8);if(s)Log['success']('Remote\x20host\x20connection\x20successful');}catch(t){Log['error'](t);return;}const k=Log[y(0x1d6)]();k[y(0x1d7)](y(0x1df)),SSH[y(0x1e1)](y(0x1f9),{...j}),SSH['ssh']('sudo\x20snap\x20install\x20--classic\x20certbot',{...j}),SSH[y(0x1e1)](y(0x1d0),{...j}),k[y(0x1fc)]();const l=h?h:await Actions[y(0x203)](y(0x1c9)),m=i?i:await Actions[y(0x203)](y(0x1eb));SSH['ssh'](y(0x1f1)+l+y(0x1ec)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[y(0x1f4)](n,null,0x2);a51e[y(0x1d3)](a51f[y(0x1e9)](d,'letsencrypt.json'),o);}else throw'Please\x20provide\x20a\x20command.';}}}catch(u){console['error'](u),process['exit'](0x0);}});
@@ -1 +1 @@
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
+ const a52q=a52d;(function(a,b){const m=a52d,c=a();while(!![]){try{const d=parseInt(m(0x22e))/0x1*(-parseInt(m(0x223))/0x2)+-parseInt(m(0x201))/0x3+-parseInt(m(0x20a))/0x4+parseInt(m(0x1fc))/0x5*(-parseInt(m(0x200))/0x6)+-parseInt(m(0x21f))/0x7*(parseInt(m(0x205))/0x8)+-parseInt(m(0x225))/0x9+parseInt(m(0x227))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x1ff0a));const a52b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a52d;if(c){const e=c[n(0x229)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){const o=a52d;return a52a[o(0x1f5)]()[o(0x226)](o(0x214))[o(0x1f5)]()[o(0x22f)](a52a)[o(0x226)](o(0x214));});a52a();import a52e from'fs';import a52f from'path';import a52g from'dotenv';function a52d(a,b){const c=a52c();return a52d=function(d,e){d=d-0x1f3;let f=c[d];return f;},a52d(a,b);}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const p=a52d;a52e[p(0x20b)](a,'r'),a52g[p(0x20f)]({'path':a});};function a52c(){const t=['constructor','mocha','driverPackage','--env','toString','unit','driver-package','argv','create','engines','settings.json','10JoEdCB','splice','filter','isFile','123216pztLaF','454107xCskZe','sanjo:jasmine','inspect','--driver-package','4880wHAEPF','driver','getConfigPath','once','concat','303164ilhxtp','openSync','slice','maka\x20test\x20<opts>','utf8','config','jasmine','development','none','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','(((.+)+)+)+$','--packages','rawLogs','fsi','invokeMeteorCommand','parse','join','test','test-packages','packages','config.json','126hzwuYt','meteortesting:mocha','readFileSync','.maka','382HahtaZ','Node\x20Env\x20Config:\x20','215712zQLeeL','search','5258770QtlsSe','error','apply','warn','forEach','notice','env','481sKmeIZ'];a52c=function(){return t;};return a52c();}Command[a52q(0x1f9)]({'name':a52q(0x21b),'mustBeInMakaProject':!![],'validOpts':[a52q(0x208),a52q(0x21d),a52q(0x206),a52q(0x1f3),a52q(0x1f6),a52q(0x22d),a52q(0x216),'port',a52q(0x203),'testAppPath'],'usage':a52q(0x20d),'shortDesc':a52q(0x213),'examples':[]},function(a,b){const r=a52q;try{let c=this['fsi'][r(0x207)](r(0x211));b[r(0x22d)]&&(c=this[r(0x217)][r(0x207)](b[r(0x22d)]));(!b['unit']||!!b['once'])&&(a=a[r(0x209)](['--full-app']));b[r(0x1f6)]&&delete b['unit'];let d=b['driver-package']||b[r(0x206)]||r(0x212);if(d==='none'){const j=JSON[r(0x219)](a52e[r(0x221)](a52f[r(0x21a)](this[r(0x217)]['findProjectDirectory'](),r(0x222),r(0x21e)),r(0x20e)));if(j[r(0x1fa)][r(0x21b)]===r(0x210))d=r(0x202);else j[r(0x1fa)]['test']===r(0x230)&&(d=r(0x220));}if(d==='none')throw'This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)';(!b[r(0x1f7)]||!b['driver'])&&(a=a['concat']([r(0x204),d]));const f=a52f[r(0x21a)](c,r(0x1fb));this['fsi']['isFile'](f)?(Log[r(0x22c)]('Meteor\x20Settings:\x20'+f),a=a[r(0x209)](['--settings',f])):Log[r(0x22a)]('Cannot\x20find\x20Meteor\x20Settings\x20File:\x20'+f);const g=a52f[r(0x21a)](c,'process.env');this[r(0x217)][r(0x1ff)](g)?(Log[r(0x22c)](r(0x224)+g),syncSource(g)):Log['warn']('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+g);const h=process[r(0x1f8)][r(0x20c)](0x2)[r(0x1fe)](k=>k!==r(0x1f4))[r(0x1fe)](k=>k!==r(0x21b))[r(0x1fe)](k=>k!==a[0x0]);h[r(0x22b)]((k,l)=>{const s=r;(k===s(0x1f4)||k==='--driver')&&h[s(0x1fd)](l,0x2),k===s(0x215)&&h[s(0x1fd)](l,0x1);});const i=b['packages']?r(0x21c):r(0x21b);this[r(0x217)][r(0x218)](i,a['concat'](h));}catch(k){console[r(0x228)](k),process['exit'](0x0);}});
@@ -1 +1 @@
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
+ const a53l=a53d;(function(a,b){const i=a53d,c=a();while(!![]){try{const d=-parseInt(i(0x1e2))/0x1*(-parseInt(i(0x1c5))/0x2)+-parseInt(i(0x1ce))/0x3*(parseInt(i(0x1c3))/0x4)+-parseInt(i(0x1d4))/0x5+-parseInt(i(0x1e0))/0x6+-parseInt(i(0x1da))/0x7+-parseInt(i(0x1e5))/0x8+parseInt(i(0x1c6))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x55692));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a53d;if(c){const e=c[j(0x1ea)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const k=a53d;return a53a[k(0x1d7)]()[k(0x1dd)](k(0x1eb))[k(0x1d7)]()[k(0x1c2)](a53a)[k(0x1dd)](k(0x1eb));});a53a();import{execSync}from'child_process';import a53e from'semver';import{Command}from'../command.js';function a53c(){const n=['maka\x20version','toString','getGlobalMeteorVersion','notice','2754871SqZupn','maka\x20v','create','search','\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','3534486RuRVmV','Project\x27s\x20Meteor\x20Version\x20','127SLnfbX','\x20node\x20-v','compareMakaToLatest','5114152ajtnYp','4.4.5','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','warn','exit','apply','(((.+)+)+)+$','System\x27s\x20Meteor\x20Version\x20','isMakaProject','error','fsi','----------------------System----------------------------','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','Project\x27s\x20Meteor\x20Node\x20Version\x20','constructor','292mlIZFk','win32','4496uorEWH','23057460ehlGFL','----------------------Project----------------------------','meteor.bat','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','getProjectsMeteorNodeVersion','platform','majestic','version','25959yMeqKp','getProjectMeteorVersion','bright','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','System\x27s\x20Node\x20Version\x20','replace','1220110nGGSoT','Maka\x20'];a53c=function(){return n;};return a53c();}import{Log}from'../tools/log/log.class.js';function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x1bb;let f=c[d];return f;},a53d(a,b);}const pjson={'version':a53l(0x1e6)};Command[a53l(0x1dc)]({'name':a53l(0x1cd),'aliases':['v'],'usage':a53l(0x1d6),'maxArgLength':0x1,'validOpts':[],'shortDesc':a53l(0x1c0),'examples':[a53l(0x1db),a53l(0x1d6)]},async function(){const m=a53l;try{const a=process[m(0x1cb)]===m(0x1c4)?m(0x1c8):m(0x1df);Log[m(0x1cc)](m(0x1d5)+pjson['version']),await this[m(0x1be)][m(0x1e4)](),Log['bright'](m(0x1bf));const b=this[m(0x1be)][m(0x1d8)]();Log[m(0x1d0)]((m(0x1bb)+b)[m(0x1d3)]('\x0a',''));const c=execSync(a+m(0x1e3))['toString']()[m(0x1d3)](/\r?\n|\r/,'')['replace']('v','');Log[m(0x1d0)](m(0x1c9)+c);const d=execSync('node\x20-v')[m(0x1d7)]()[m(0x1d3)](/\r?\n|\r/,'')['replace']('v','');a53e['gt'](c,d)?(Log[m(0x1e8)](m(0x1d2)+d),Log[m(0x1e8)](m(0x1e7)+d+')\x20to\x20at\x20least\x20meteor\x27s\x20('+c+')')):Log[m(0x1d0)](m(0x1d2)+d);if(this[m(0x1be)][m(0x1bc)]()){Log[m(0x1d0)](m(0x1c7));const f=this[m(0x1be)][m(0x1cf)]();a53e['gt'](b,f)?(Log['warn'](m(0x1e1)+f['replace']('\x0a','')),Log[m(0x1e8)](m(0x1d1)+b+'\x22')):Log[m(0x1d9)](('Project\x27s\x20Meteor\x20Version\x20'+f)[m(0x1d3)]('\x0a',''));const g=await this[m(0x1be)][m(0x1ca)]();g==='N/A'?(Log['warn'](m(0x1c1)+g),Log[m(0x1e8)]('\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.')):Log['bright']('Project\x27s\x20Meteor\x20Node\x20Version\x20'+g),Log['bright'](m(0x1de));}}catch(h){console[m(0x1bd)](h),process[m(0x1e9)](0x0);}});
@@ -1 +1 @@
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{}
1
+ function a54c(){var i=['2031pWRamp','apply','101524iXBMBO','(((.+)+)+)+$','search','1852165AqmkZV','1129304gzdHlb','6482640YPAwDT','toString','214565VCXDlW','2696622bykZGS','1556vlKKVx','constructor'];a54c=function(){return i;};return a54c();}function a54d(a,b){var c=a54c();return a54d=function(d,e){d=d-0xb7;var f=c[d];return f;},a54d(a,b);}(function(a,b){var f=a54d,c=a();while(!![]){try{var d=parseInt(f(0xc0))/0x1+parseInt(f(0xbc))/0x2*(parseInt(f(0xbe))/0x3)+parseInt(f(0xb7))/0x4+parseInt(f(0xba))/0x5+parseInt(f(0xbb))/0x6+-parseInt(f(0xc3))/0x7+-parseInt(f(0xb8))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x5012d));var a54b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a54d;if(c){var e=c[g(0xbf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){var h=a54d;return a54a[h(0xb9)]()[h(0xc2)](h(0xc1))[h(0xb9)]()[h(0xbd)](a54a)[h(0xc2)](h(0xc1));});a54a();export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}