@maka/maka-cli 4.5.0 → 4.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/aws/_index.js +1 -1
  5. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  6. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  7. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/build/_index.js +1 -1
  17. package/bundle/obf/src/commands/build/build.js +1 -1
  18. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/create.js +1 -1
  20. package/bundle/obf/src/commands/debug.js +1 -1
  21. package/bundle/obf/src/commands/deploy.js +1 -1
  22. package/bundle/obf/src/commands/game/_index.js +1 -1
  23. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  24. package/bundle/obf/src/commands/game/play.command.js +1 -1
  25. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  26. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  28. package/bundle/obf/src/commands/generate.js +1 -1
  29. package/bundle/obf/src/commands/get/_index.js +1 -1
  30. package/bundle/obf/src/commands/get/get.command.js +1 -1
  31. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  32. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  34. package/bundle/obf/src/commands/help.js +1 -1
  35. package/bundle/obf/src/commands/install.js +1 -1
  36. package/bundle/obf/src/commands/jsdoc.js +1 -1
  37. package/bundle/obf/src/commands/lint.js +1 -1
  38. package/bundle/obf/src/commands/login.js +1 -1
  39. package/bundle/obf/src/commands/logout.js +1 -1
  40. package/bundle/obf/src/commands/logs.js +1 -1
  41. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  42. package/bundle/obf/src/commands/murder.js +1 -1
  43. package/bundle/obf/src/commands/proxy.js +1 -1
  44. package/bundle/obf/src/commands/reconfig.js +1 -1
  45. package/bundle/obf/src/commands/run/_index.js +1 -1
  46. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  47. package/bundle/obf/src/commands/run/run.command.js +1 -1
  48. package/bundle/obf/src/commands/set/_index.js +1 -1
  49. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  50. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  51. package/bundle/obf/src/commands/set/set.command.js +1 -1
  52. package/bundle/obf/src/commands/ssh.js +1 -1
  53. package/bundle/obf/src/commands/ssl.js +1 -1
  54. package/bundle/obf/src/commands/test.js +1 -1
  55. package/bundle/obf/src/commands/version.js +1 -1
  56. package/bundle/obf/src/error.js +1 -1
  57. package/bundle/obf/src/generator.js +1 -1
  58. package/bundle/obf/src/generators/_index.js +1 -1
  59. package/bundle/obf/src/generators/api.js +1 -1
  60. package/bundle/obf/src/generators/collection.js +1 -1
  61. package/bundle/obf/src/generators/component.js +1 -1
  62. package/bundle/obf/src/generators/config.js +1 -1
  63. package/bundle/obf/src/generators/dbc.js +1 -1
  64. package/bundle/obf/src/generators/dockerfile.js +1 -1
  65. package/bundle/obf/src/generators/hook.js +1 -1
  66. package/bundle/obf/src/generators/kit.js +1 -1
  67. package/bundle/obf/src/generators/layout.js +1 -1
  68. package/bundle/obf/src/generators/maka.gen.js +1 -1
  69. package/bundle/obf/src/generators/methods.js +1 -1
  70. package/bundle/obf/src/generators/package.js +1 -1
  71. package/bundle/obf/src/generators/page.js +1 -1
  72. package/bundle/obf/src/generators/publish.js +1 -1
  73. package/bundle/obf/src/generators/route.js +1 -1
  74. package/bundle/obf/src/generators/service.js +1 -1
  75. package/bundle/obf/src/generators/services/_index.js +1 -1
  76. package/bundle/obf/src/generators/services/openssl.js +1 -1
  77. package/bundle/obf/src/generators/services/translation.js +1 -1
  78. package/bundle/obf/src/maka.js +1 -1
  79. package/bundle/obf/src/tool.js +1 -1
  80. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  81. package/bundle/obf/src/tools/actions/actions.test.js +1 -1
  82. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  83. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  84. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  85. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  86. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  87. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  88. package/bundle/obf/src/tools/https/https.class.js +1 -1
  89. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  90. package/bundle/obf/src/tools/log/log.class.js +1 -1
  91. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  92. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  93. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  94. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  95. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  96. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  97. package/package.json +1 -1
@@ -1 +1 @@
1
- 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 a39j=a39d;(function(a,b){const g=a39d,c=a();while(!![]){try{const d=parseInt(g(0x70))/0x1*(parseInt(g(0x71))/0x2)+-parseInt(g(0x72))/0x3*(-parseInt(g(0x67))/0x4)+parseInt(g(0x6a))/0x5+-parseInt(g(0x79))/0x6+-parseInt(g(0x6b))/0x7+-parseInt(g(0x76))/0x8+parseInt(g(0x6f))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x950a6));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a39d;if(c){const e=c[h(0x7d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const i=a39d;return a39a[i(0x6e)]()[i(0x6c)](i(0x73))['toString']()[i(0x7e)](a39a)[i(0x6c)](i(0x73));});a39a();import{Command}from'../command.js';const Maka=new Command({'name':'maka','minArgLength':0x1,'shortDesc':'A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','validOpts':[],'usage':a39j(0x7c),'disableAuthCheck':!![],'examples':[a39j(0x78),a39j(0x75),a39j(0x6d),a39j(0x7a)],'description':a39j(0x7b)},async function(a,b){const k=a39j;try{const c=a[0x0],d=this[k(0x68)](c);d?this['runSubCommand'](c,a['slice'](0x1),b):this[k(0x74)]['maybeProxyCommandToMeteor']();}catch(f){console[k(0x77)](f),process[k(0x69)](0x1);}});function a39c(){const l=['fsi','maka\x20install\x20meteor','7369800XGRVwy','error','maka\x20--help','5472330voeQZp','maka\x20run','\x0a\x20\x20Hi,\x20my\x20name\x20is\x20Matt.\x20I\x27ve\x20spent\x20a\x20long\x20time\x20developing\x20Meteor\x0a\x20\x20applications\x20and\x20I\x27ve\x20tried\x20my\x20very\x20best\x20to\x20collect\x20the\x20most\x0a\x20\x20efficient\x20ways\x20to\x20go\x20about\x20setting\x20up\x20and\x20organizing\x20your\x20project.\x0a\x0a\x20\x20I\x20created\x20Maka-CLI\x20as\x20a\x20need\x20to\x20develop\x20prototypes\x20quickly\x0a\x20\x20for\x20a\x20relatively\x20small\x20consulting\x20firm.\x20We\x20had\x20small\x20budgets\x0a\x20\x20for\x20projects,\x20and\x20even\x20smaller\x20budgets\x20for\x20proposals\x20and\x20prototypes.\x0a\x20\x20Maka-CLI\x20was\x20a\x20way\x20to\x20develop\x20our\x20applications\x20quickly\x20and\x20make\x20very\x0a\x20\x20aggresive\x20deadlines.\x0a\x0a\x20\x20Many\x20features\x20are\x20available\x20in\x20the\x20Free\x20License,\x20enough\x20to\x20get\x20your\x0a\x20\x20application\x20scaffolded\x20and\x20built.\x20The\x20Pro\x20Single-License\x20includes\x0a\x20\x20commands\x20that\x20will\x20allow\x20you\x20to\x20create\x20cloud\x20instances\x20(on\x20AWS),\x0a\x20\x20deploy\x20to\x20remote\x20hosts\x20(Ubuntu)\x20and\x20streamline\x20every\x20day\x20tasks,\x20such\x0a\x20\x20as\x20monitoring\x20your\x20application\x20logs.\x0a\x0a\x20\x20Make-CLI\x20has\x20one\x20main\x20goal\x20--\x20provide\x20simple\x20tools\x20to\x20create\x20a\x0a\x20\x20structure\x20for\x20your\x20application,\x20and\x20build\x20/\x20maintain\x20it\x20in\x20a\x20repeatable\x0a\x20\x20manner.\x20This\x20is\x20the\x20nature\x20of\x20scaffolding.\x0a\x0a\x20\x20Thank\x20you\x20for\x20your\x20interest\x20in\x20Maka-CLI!\x20🙏\x0a\x0a\x20\x20Scaffold\x20Web\x20Applications\x20with\x20Meteor\x20and\x20Maka-CLI\x0a\x20\x20https://maka-io.medium.com/build-your-webapp-with-meteor-maka-cli-629b7b16831d\x0a\x0a\x20\x20Please\x20ping\x20me\x20on\x20Gitter\x27s\x20Meteor\x20space\x20if\x20you\x20have\x20any\x20questions:\x0a\x20\x20@maka-io\x0a\x20\x20','maka\x20<command>\x20[<args>]\x20[<opts>]','apply','constructor','175564ESyRjw','findSubCommand','exit','2275445DRPDYy','5026273sgdOZJ','search','maka\x20create\x20Todo','toString','15222807xSANns','37361SPNxei','52NIEPmE','3VpKUXA','(((.+)+)+)+$'];a39c=function(){return l;};return a39c();}export default Maka;
1
+ const a39j=a39d;function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x1cd;let f=c[d];return f;},a39d(a,b);}(function(a,b){const g=a39d,c=a();while(!![]){try{const d=parseInt(g(0x1df))/0x1+parseInt(g(0x1cf))/0x2*(parseInt(g(0x1ce))/0x3)+parseInt(g(0x1db))/0x4*(parseInt(g(0x1d9))/0x5)+-parseInt(g(0x1e2))/0x6*(parseInt(g(0x1d2))/0x7)+-parseInt(g(0x1da))/0x8+parseInt(g(0x1dd))/0x9+-parseInt(g(0x1d7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x622fd));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a39d;if(c){const e=c[h(0x1d6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const i=a39d;return a39a[i(0x1d1)]()['search']('(((.+)+)+)+$')[i(0x1d1)]()[i(0x1d4)](a39a)[i(0x1e4)](i(0x1d5));});a39a();import{Command}from'../command.js';const Maka=new Command({'name':'maka','minArgLength':0x1,'shortDesc':a39j(0x1e0),'validOpts':[],'usage':a39j(0x1e3),'disableAuthCheck':!![],'examples':[a39j(0x1d8),'maka\x20install\x20meteor','maka\x20create\x20Todo','maka\x20run'],'description':a39j(0x1d0)},async function(a,b){const k=a39j;try{const c=a[0x0],d=this[k(0x1dc)](c);d?this[k(0x1d3)](c,a['slice'](0x1),b):this[k(0x1de)][k(0x1cd)]();}catch(f){console['error'](f),process[k(0x1e1)](0x1);}});export default Maka;function a39c(){const l=['maka\x20--help','15CZONNr','1314440YYKZry','14020GuyheQ','findSubCommand','209628YxUjPl','fsi','732838hvNnCt','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','exit','768162EPuqtG','maka\x20<command>\x20[<args>]\x20[<opts>]','search','maybeProxyCommandToMeteor','56172KnTwVH','48IFklcy','\x0a\x20\x20Hi,\x20my\x20name\x20is\x20Matt.\x20I\x27ve\x20spent\x20a\x20long\x20time\x20developing\x20Meteor\x0a\x20\x20applications\x20and\x20I\x27ve\x20tried\x20my\x20very\x20best\x20to\x20collect\x20the\x20most\x0a\x20\x20efficient\x20ways\x20to\x20go\x20about\x20setting\x20up\x20and\x20organizing\x20your\x20project.\x0a\x0a\x20\x20I\x20created\x20Maka-CLI\x20as\x20a\x20need\x20to\x20develop\x20prototypes\x20quickly\x0a\x20\x20for\x20a\x20relatively\x20small\x20consulting\x20firm.\x20We\x20had\x20small\x20budgets\x0a\x20\x20for\x20projects,\x20and\x20even\x20smaller\x20budgets\x20for\x20proposals\x20and\x20prototypes.\x0a\x20\x20Maka-CLI\x20was\x20a\x20way\x20to\x20develop\x20our\x20applications\x20quickly\x20and\x20make\x20very\x0a\x20\x20aggresive\x20deadlines.\x0a\x0a\x20\x20Many\x20features\x20are\x20available\x20in\x20the\x20Free\x20License,\x20enough\x20to\x20get\x20your\x0a\x20\x20application\x20scaffolded\x20and\x20built.\x20The\x20Pro\x20Single-License\x20includes\x0a\x20\x20commands\x20that\x20will\x20allow\x20you\x20to\x20create\x20cloud\x20instances\x20(on\x20AWS),\x0a\x20\x20deploy\x20to\x20remote\x20hosts\x20(Ubuntu)\x20and\x20streamline\x20every\x20day\x20tasks,\x20such\x0a\x20\x20as\x20monitoring\x20your\x20application\x20logs.\x0a\x0a\x20\x20Make-CLI\x20has\x20one\x20main\x20goal\x20--\x20provide\x20simple\x20tools\x20to\x20create\x20a\x0a\x20\x20structure\x20for\x20your\x20application,\x20and\x20build\x20/\x20maintain\x20it\x20in\x20a\x20repeatable\x0a\x20\x20manner.\x20This\x20is\x20the\x20nature\x20of\x20scaffolding.\x0a\x0a\x20\x20Thank\x20you\x20for\x20your\x20interest\x20in\x20Maka-CLI!\x20🙏\x0a\x0a\x20\x20Scaffold\x20Web\x20Applications\x20with\x20Meteor\x20and\x20Maka-CLI\x0a\x20\x20https://maka-io.medium.com/build-your-webapp-with-meteor-maka-cli-629b7b16831d\x0a\x0a\x20\x20Please\x20ping\x20me\x20on\x20Gitter\x27s\x20Meteor\x20space\x20if\x20you\x20have\x20any\x20questions:\x0a\x20\x20@maka-io\x0a\x20\x20','toString','28LvaSaI','runSubCommand','constructor','(((.+)+)+)+$','apply','1374350ZQirJi'];a39c=function(){return l;};return a39c();}
@@ -1 +1 @@
1
- function a40c(){var k=['1118703ghGtBH','%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','2735032wYboss','maka\x20murder','3889172SgjkHi','apply','5aAMYOb','create','2027202IXqPtD','search','constructor','624674CusMLp','1WgIvzp','4488678GNccee','toString','exit','2954182ONifAn','4RZJbET','(((.+)+)+)+$','10HouyRa'];a40c=function(){return k;};return a40c();}function a40d(a,b){var c=a40c();return a40d=function(d,e){d=d-0x18c;var f=c[d];return f;},a40d(a,b);}var a40i=a40d;(function(a,b){var f=a40d,c=a();while(!![]){try{var d=parseInt(f(0x18c))/0x1*(parseInt(f(0x19f))/0x2)+parseInt(f(0x194))/0x3*(parseInt(f(0x191))/0x4)+parseInt(f(0x19a))/0x5*(parseInt(f(0x19c))/0x6)+-parseInt(f(0x198))/0x7+-parseInt(f(0x196))/0x8+parseInt(f(0x18d))/0x9+-parseInt(f(0x193))/0xa*(parseInt(f(0x190))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x56de2));var a40b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a40d;if(c){var e=c[g(0x199)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){var h=a40d;return a40a[h(0x18e)]()[h(0x19d)]('(((.+)+)+)+$')[h(0x18e)]()[h(0x19e)](a40a)[h(0x19d)](h(0x192));});a40a();import{Command}from'../command.js';Command[a40i(0x19b)]({'name':'murder','usage':a40i(0x197),'maxArgLength':0x1,'shortDesc':'Murrrrderrrrr','validOpts':[]},async function(){var j=a40i;try{console['log'](j(0x195),'font-family:\x20monospace');}catch(a){console['error'](a),process[j(0x18f)](0x0);}});
1
+ function a40d(a,b){var c=a40c();return a40d=function(d,e){d=d-0x16e;var f=c[d];return f;},a40d(a,b);}var a40h=a40d;(function(a,b){var f=a40d,c=a();while(!![]){try{var d=parseInt(f(0x176))/0x1*(-parseInt(f(0x17f))/0x2)+parseInt(f(0x17e))/0x3+parseInt(f(0x173))/0x4*(parseInt(f(0x170))/0x5)+parseInt(f(0x183))/0x6*(parseInt(f(0x181))/0x7)+parseInt(f(0x180))/0x8+-parseInt(f(0x17c))/0x9+-parseInt(f(0x16f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x2f455));var a40b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){var g=a40d;return a40a['toString']()[g(0x182)](g(0x171))[g(0x174)]()[g(0x178)](a40a)[g(0x182)]('(((.+)+)+)+$');});a40a();import{Command}from'../command.js';Command[a40h(0x172)]({'name':a40h(0x177),'usage':a40h(0x16e),'maxArgLength':0x1,'shortDesc':a40h(0x17a),'validOpts':[]},async function(){var i=a40h;try{console[i(0x175)](i(0x17d),'font-family:\x20monospace');}catch(a){console[i(0x17b)](a),process[i(0x179)](0x0);}});function a40c(){var j=['toString','log','7RFAkAO','murder','constructor','exit','Murrrrderrrrr','error','3418578gziVmw','%c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.___.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20,-^\x20\x20\x20\x20\x20^-.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x0a.-------|\x20|--------------/\x20\x20__\x20\x20\x20\x20\x20__\x20\x20\x5c-------------------.__\x0a|WMWMWMW|\x20|>>>>>>>>>>>>>\x20|\x20/>>\x5c\x20\x20\x20/>>\x5c\x20|>>>>>>>>>>>>>>>>>>>>>>:>\x0a`-------|\x20|--------------|\x20\x5c__/\x20\x20\x20\x5c__/\x20|-------------------\x27^^\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x5c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20/|\x5c\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x5c_/\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\x20|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|+H+H+H+|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20^-----^\x0a\x0a','1137015Rwwgjx','35936GneAhX','2314200VDpSuL','7vFyaBu','search','688968jaHeoc','maka\x20murder','4009650pIPRzr','121960qWZEVI','(((.+)+)+)+$','create','52nBLXxh'];a40c=function(){return j;};return a40c();}
@@ -1 +1 @@
1
- const a41q=a41d;(function(a,b){const n=a41d,c=a();while(!![]){try{const d=parseInt(n(0x186))/0x1*(parseInt(n(0x18c))/0x2)+parseInt(n(0x188))/0x3*(-parseInt(n(0x197))/0x4)+-parseInt(n(0x189))/0x5*(-parseInt(n(0x1a9))/0x6)+-parseInt(n(0x1a3))/0x7+-parseInt(n(0x18a))/0x8+-parseInt(n(0x196))/0x9+parseInt(n(0x18b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xb03fd));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a41d;if(c){const e=c[o(0x19e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const p=a41d;return a41a['toString']()['search']('(((.+)+)+)+$')[p(0x1a5)]()['constructor'](a41a)[p(0x18e)](p(0x1a0));});a41a();function a41c(){const s=['10XDykjG','5564024PODMwO','33013220OGlvhQ','329674QfMlna','\x20to\x20','search','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','development','sslconfig','invoke','createProxyServer','genCSR','.csr','11223882imlrnP','1708LJvYng','help','.key','targetPort','listenPort','maka\x20proxy\x20--target-host\x20http://192.168.1.20','appName','apply','.crt','(((.+)+)+)+$','listen','error','8674246EbBTwi','targetHost','toString','bright','utf8','readFileSync','2489850elWNJo','proxy','mkKeysDir','maka\x20proxy','join','findGenerator','getConfigPath','localhost','create','getProjectConfig','fsi','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','isFile','\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','1mvLbGC','maka\x20proxy\x20<options>','2757gwVUsh'];a41c=function(){return s;};return a41c();}import a41e from'fs';import a41f from'path';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x17b;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';import{SSL}from'../tools/ssl/ssl.class.js';import a41h from'../generators/maka.gen.js';Command[a41q(0x180)]({'name':a41q(0x1aa),'usage':a41q(0x187),'mustBeInMakaProject':!![],'validOpts':[a41q(0x198),'targetPort','listenPort',a41q(0x1a4)],'maxArgLength':0x1,'shortDesc':a41q(0x18f),'description':a41q(0x185),'examples':[a41q(0x17b),a41q(0x183),a41q(0x19c)]},async function(a,b){const r=a41q,c=this[r(0x182)][r(0x181)](),d=r(0x190),e=this['fsi'][r(0x17e)](d),f=this[r(0x182)][r(0x1ab)]({'configPath':e}),g=b[r(0x19a)]?b[r(0x19a)]:0xbb8,h=b[r(0x19b)]?b['listenPort']:0xd73,i=b[r(0x1a4)]?b[r(0x1a4)]:r(0x17f),j=a41f[r(0x17c)](f,c[r(0x19d)]+r(0x199)),k=a41f[r(0x17c)](f,c['appName']+'.crt');if(!this[r(0x182)][r(0x184)](j)||!this[r(0x182)][r(0x184)](k)){const m=a41h[r(0x17d)](r(0x191));m&&await m[r(0x192)]([r(0x191)],{'env':d}),SSL[r(0x194)]({'keyName':c[r(0x19d)]+r(0x199),'csrName':c[r(0x19d)]+r(0x195),'cwd':f}),SSL['genSSC']({'keyName':c[r(0x19d)]+r(0x199),'crtName':c[r(0x19d)]+r(0x19f),'cwd':f});}if(g===h){Log[r(0x1a2)]('Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.');throw new UsageError();}const l={'ssl':{'key':a41e[r(0x1a8)](j,r(0x1a7)),'cert':a41e[r(0x1a8)](k,r(0x1a7))},'target':{'host':i,'port':g},'ws':!![],'xfwd':!![]};a41g[r(0x193)](l)[r(0x1a1)](h),Log[r(0x1a6)]('=>\x20SSL\x20Proxy\x20forwarding\x20'+h+r(0x18d)+g);});
1
+ const a41p=a41d;(function(a,b){const n=a41d,c=a();while(!![]){try{const d=-parseInt(n(0xde))/0x1*(parseInt(n(0xc5))/0x2)+-parseInt(n(0xbf))/0x3*(-parseInt(n(0xe0))/0x4)+-parseInt(n(0xc1))/0x5*(-parseInt(n(0xc0))/0x6)+-parseInt(n(0xe2))/0x7+-parseInt(n(0xbe))/0x8+-parseInt(n(0xdd))/0x9*(parseInt(n(0xd0))/0xa)+parseInt(n(0xdb))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x20b30));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const o=a41d;return a41a[o(0xbd)]()[o(0xd7)](o(0xb6))[o(0xbd)]()['constructor'](a41a)[o(0xd7)]('(((.+)+)+)+$');});a41a();import a41e from'fs';import a41f from'path';import a41g from'http-proxy';function a41c(){const r=['1160160URLkul','5wCQVVu','readFileSync','maka\x20proxy','=>\x20SSL\x20Proxy\x20forwarding\x20','568RmrGjF','help','.key','genSSC','appName','.crt','getProjectConfig','create','join','utf8','genCSR','805170kXqOYA','findGenerator','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','fsi','localhost','isFile','proxy','search','bright','getConfigPath','maka\x20proxy\x20--target-host\x20http://192.168.1.20','1201387pYSSla','targetPort','9AcpVBk','115GJWYIz','targetHost','35572tksCRE','listen','949977NVQFyT','error','(((.+)+)+)+$','listenPort','maka\x20proxy\x20<options>','\x0a\x20\x20If\x20you\x27re\x20running\x20your\x20Meteor\x20service,\x20and\x20need\x20to\x20stand\x20up\x20an\x20SSL\x0a\x20\x20Proxy,\x20this\x20command\x20will\x20automatically\x20create\x20a\x20key\x20pair\x20for\x20use\x20in\x20an\x20HTTPS\x0a\x20\x20proxy.\x0a\x0a\x20\x20For\x20example,\x20you\x27re\x20running\x20http://localhost:3000\x20with\x20\x22maka\x20run\x22\x20then\x20open\x20a\x20new\x0a\x20\x20terminal\x20and\x20run\x20\x22maka\x20proxy\x22\x20to\x20standup\x20https://localhost:3443.\x0a\x20\x20Then\x20open\x20your\x20browser\x20to\x20that\x20URL\x20(you\x20may\x20need\x20to\x20trust\x20the\x20certificates\x0a\x20\x20because\x20they\x20are\x20self-signed)\x20and\x20you\x27ll\x20have\x20an\x20SSL\x20connection\x20to\x20your\x0a\x20\x20http://localhost:3000.\x0a\x0a\x20\x20To\x20avoid\x20possibly\x20overwriting\x20PKI\x20files\x20in\x20higher\x20environments,\x20\x22maka\x20proxy\x22\x0a\x20\x20will\x20try\x20to\x20only\x20generate\x20/\x20store\x20PKI\x20keys\x20in\x20the\x20development\x20environment.\x0a\x20\x20','createProxyServer','\x20to\x20','sslconfig','toString','140608zxyUgl','33qKCdQj'];a41c=function(){return r;};return a41c();}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0xb5;let f=c[d];return f;},a41d(a,b);}import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';import a41h from'../generators/maka.gen.js';Command[a41p(0xcc)]({'name':a41p(0xd6),'usage':a41p(0xb8),'mustBeInMakaProject':!![],'validOpts':[a41p(0xc6),a41p(0xdc),'listenPort',a41p(0xdf)],'maxArgLength':0x1,'shortDesc':'Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','description':a41p(0xb9),'examples':[a41p(0xc3),'maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000',a41p(0xda)]},async function(a,b){const q=a41p,c=this[q(0xd3)][q(0xcb)](),d='development',e=this[q(0xd3)][q(0xd9)](d),f=this[q(0xd3)]['mkKeysDir']({'configPath':e}),g=b[q(0xdc)]?b[q(0xdc)]:0xbb8,h=b[q(0xb7)]?b['listenPort']:0xd73,i=b[q(0xdf)]?b[q(0xdf)]:q(0xd4),j=a41f[q(0xcd)](f,c[q(0xc9)]+q(0xc7)),k=a41f['join'](f,c[q(0xc9)]+q(0xca));if(!this[q(0xd3)][q(0xd5)](j)||!this[q(0xd3)][q(0xd5)](k)){const m=a41h[q(0xd1)](q(0xbc));m&&await m['invoke']([q(0xbc)],{'env':d}),SSL[q(0xcf)]({'keyName':c['appName']+q(0xc7),'csrName':c[q(0xc9)]+'.csr','cwd':f}),SSL[q(0xc8)]({'keyName':c[q(0xc9)]+q(0xc7),'crtName':c[q(0xc9)]+q(0xca),'cwd':f});}if(g===h){Log[q(0xb5)](q(0xd2));throw new UsageError();}const l={'ssl':{'key':a41e[q(0xc2)](j,q(0xce)),'cert':a41e[q(0xc2)](k,q(0xce))},'target':{'host':i,'port':g},'ws':!![],'xfwd':!![]};a41g[q(0xba)](l)[q(0xe1)](h),Log[q(0xd8)](q(0xc4)+h+q(0xbb)+g);});
@@ -1 +1 @@
1
- const a42p=a42d;(function(a,b){const n=a42d,c=a();while(!![]){try{const d=-parseInt(n(0x198))/0x1*(-parseInt(n(0x1aa))/0x2)+parseInt(n(0x1a7))/0x3+-parseInt(n(0x19c))/0x4*(parseInt(n(0x19e))/0x5)+parseInt(n(0x187))/0x6+parseInt(n(0x1a5))/0x7+-parseInt(n(0x184))/0x8+-parseInt(n(0x1a1))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xe8250));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const o=a42d;return a42a[o(0x18c)]()['search'](o(0x194))[o(0x18c)]()[o(0x19a)](a42a)['search'](o(0x194));});a42a();import a42e from'fs';import a42f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a42p(0x18e)]({'name':a42p(0x197),'validOpts':[''],'requiredOpts':['env'],'mustBeInMakaProject':!![],'usage':'maka\x20reconfig\x20--env\x20prod','shortDesc':a42p(0x191),'description':a42p(0x1ac),'examples':['maka\x20reconfig\x20--env\x20prod']},async function(a,b){const q=a42p;try{const c=this[q(0x18b)]['getConfigPath'](b[q(0x18d)]),d=a42f[q(0x199)](c,q(0x195)),f=a42e['readFileSync'](d)[q(0x18c)](),g=JSON[q(0x189)](f);Object[q(0x1a8)](g,{'env':c}),Log[q(0x1a9)](q(0x196));const h=SSH[q(0x18f)](q(0x1a2),g);if(!h)throw q(0x18a);if(h)Log[q(0x192)](q(0x1a0));const i=a42f[q(0x199)](c,q(0x188),q(0x193));if(a42e[q(0x19b)](i)){const l={'source':i,'dest':q(0x19d),'verbose':!![]};SSH[q(0x1ab)](l,{...g});}const j=a42f[q(0x199)](c,'pm2.config.js');SSH[q(0x1ab)]({'source':j,'dest':q(0x19f),'verbose':!![]},{...g});const k=a42f['join'](c,q(0x1a3));SSH['scp']({'source':k,'dest':q(0x1a4),'verbose':!![]},{...g}),SSH[q(0x185)](q(0x1a6),g),await SSH['ssh'](q(0x190),{...g},{'verbose':!![]});}catch(m){console[q(0x186)](m),process['exit'](0x0);}});function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x184;let f=c[d];return f;},a42d(a,b);}function a42c(){const r=['existsSync','4OzQqKZ','~/ses.json','1241445XQhoVf','~/pm2.config.js','Remote\x20host\x20connection\x20successful','405810ykAScn','uname\x20-a','settings.json','~/settings.json','8537942MXJXMZ','pm2\x20delete\x20all','15297BubjaT','assign','notice','2aBLHho','scp','\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','7390160cCkOKH','sshSync','error','4943454EasfMv','_keys','parse','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','fsi','toString','env','create','ping','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','Reconfigure\x20your\x20deployed\x20applications','success','ses.json','(((.+)+)+)+$','ssh.json','Checking\x20remote\x20host\x20availability','reconfig','119299NMRFBn','join','constructor'];a42c=function(){return r;};return a42c();}
1
+ const a42p=a42d;(function(a,b){const n=a42d,c=a();while(!![]){try{const d=-parseInt(n(0xd0))/0x1+-parseInt(n(0xd5))/0x2*(-parseInt(n(0xd9))/0x3)+-parseInt(n(0xe8))/0x4+-parseInt(n(0xe0))/0x5*(parseInt(n(0xde))/0x6)+-parseInt(n(0xcf))/0x7*(parseInt(n(0xc3))/0x8)+-parseInt(n(0xd3))/0x9*(-parseInt(n(0xe9))/0xa)+parseInt(n(0xc5))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xe2fb8));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const o=a42d;return a42a[o(0xc2)]()[o(0xdd)](o(0xc7))[o(0xc2)]()['constructor'](a42a)[o(0xdd)](o(0xc7));});function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0xc0;let f=c[d];return f;},a42d(a,b);}a42a();import a42e from'fs';import a42f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';function a42c(){const r=['search','6rJGssr','env','1413785huLYSL','~/settings.json','pm2.config.js','settings.json','notice','\x0a\x20\x20If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x0a\x20\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.\x0a\x20\x20','~/pm2.config.js','ssh','7091064sJJxhW','42600cdvFKA','Checking\x20remote\x20host\x20availability','scp','toString','1961648kPCsSe','join','59821421ndXjdU','pm2\x20delete\x20all','(((.+)+)+)+$','maka\x20reconfig\x20--env\x20prod','Reconfigure\x20your\x20deployed\x20applications','ses.json','sshSync','assign','_keys','create','35nhjySx','1788237zHXJCU','uname\x20-a','existsSync','117bHGyPV','readFileSync','1011638EMOfhn','exit','success','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','3pCZPcW','Remote\x20host\x20connection\x20successful','ssh.json','ping'];a42c=function(){return r;};return a42c();}Command[a42p(0xce)]({'name':'reconfig','validOpts':[''],'requiredOpts':[a42p(0xdf)],'mustBeInMakaProject':!![],'usage':a42p(0xc8),'shortDesc':a42p(0xc9),'description':a42p(0xe5),'examples':[a42p(0xc8)]},async function(a,b){const q=a42p;try{const c=this['fsi']['getConfigPath'](b[q(0xdf)]),d=a42f[q(0xc4)](c,q(0xdb)),f=a42e[q(0xd4)](d)[q(0xc2)](),g=JSON['parse'](f);Object[q(0xcc)](g,{'env':c}),Log[q(0xe4)](q(0xc0));const h=SSH[q(0xdc)](q(0xd1),g);if(!h)throw q(0xd8);if(h)Log[q(0xd7)](q(0xda));const i=a42f[q(0xc4)](c,q(0xcd),q(0xca));if(a42e[q(0xd2)](i)){const l={'source':i,'dest':'~/ses.json','verbose':!![]};SSH[q(0xc1)](l,{...g});}const j=a42f[q(0xc4)](c,q(0xe2));SSH[q(0xc1)]({'source':j,'dest':q(0xe6),'verbose':!![]},{...g});const k=a42f[q(0xc4)](c,q(0xe3));SSH['scp']({'source':k,'dest':q(0xe1),'verbose':!![]},{...g}),SSH[q(0xcb)](q(0xc6),g),await SSH[q(0xe7)]('echo\x20\x22\x22\x20&&\x20pm2\x20start\x20pm2.config.js\x20&&\x20echo\x20\x22\x22\x20||\x20echo\x20\x22Cound\x20not\x20find\x20PM2,\x20have\x20you\x20deployed\x20the\x20app\x20yet?\x22',{...g},{'verbose':!![]});}catch(m){console['error'](m),process[q(0xd6)](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a43d,c=a();while(!![]){try{var d=parseInt(f(0x1e1))/0x1*(-parseInt(f(0x1ea))/0x2)+-parseInt(f(0x1e4))/0x3*(parseInt(f(0x1de))/0x4)+-parseInt(f(0x1e5))/0x5+-parseInt(f(0x1eb))/0x6+parseInt(f(0x1e7))/0x7*(parseInt(f(0x1df))/0x8)+-parseInt(f(0x1ec))/0x9+parseInt(f(0x1e8))/0xa*(parseInt(f(0x1e3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xc56ce));var a43b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a43d;if(c){var e=c[g(0x1ed)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){var h=a43d;return a43a[h(0x1e6)]()[h(0x1e2)](h(0x1e9))[h(0x1e6)]()[h(0x1e0)](a43a)[h(0x1e2)]('(((.+)+)+)+$');});a43a();function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0x1de;var f=c[d];return f;},a43d(a,b);}import'./run.command.js';import'./docker.sub.cmd.js';function a43c(){var i=['(((.+)+)+)+$','5970nvsZgw','6699510owoxnT','361035SAHCup','apply','12pWCZUM','7432BaFbPS','constructor','3fGcPky','search','468479pmLNKT','303909zuYdzX','5400475RSysMI','toString','10864asfhxL','450FvCPjn'];a43c=function(){return i;};return a43c();}
1
+ (function(a,b){var f=a43d,c=a();while(!![]){try{var d=parseInt(f(0x103))/0x1*(parseInt(f(0x101))/0x2)+-parseInt(f(0x100))/0x3*(parseInt(f(0xfe))/0x4)+-parseInt(f(0xfd))/0x5*(-parseInt(f(0x107))/0x6)+-parseInt(f(0x105))/0x7*(-parseInt(f(0xfb))/0x8)+-parseInt(f(0x108))/0x9+-parseInt(f(0x109))/0xa+parseInt(f(0x104))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x68205));var a43b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){var g=a43d;return a43a[g(0x102)]()['search'](g(0xfc))['toString']()[g(0xff)](a43a)[g(0x106)](g(0xfc));});function a43c(){var h=['12tpsWgq','toString','95890hMQBrP','12734084jhebtg','74641nJVMVt','search','18rwYAbP','2602692CEOfUo','6039380cnYPNJ','80vFijkv','(((.+)+)+)+$','35790LKnWyU','12fGheKp','constructor','541461jgrbMX'];a43c=function(){return h;};return a43c();}a43a();function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0xfb;var f=c[d];return f;},a43d(a,b);}import'./run.command.js';import'./docker.sub.cmd.js';
@@ -1 +1 @@
1
- const a44l=a44d;(function(a,b){const i=a44d,c=a();while(!![]){try{const d=-parseInt(i(0x1e8))/0x1+-parseInt(i(0x1ff))/0x2+-parseInt(i(0x1ec))/0x3*(-parseInt(i(0x1f5))/0x4)+parseInt(i(0x1ed))/0x5*(parseInt(i(0x1f9))/0x6)+parseInt(i(0x1ea))/0x7+parseInt(i(0x1ef))/0x8+-parseInt(i(0x1fd))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xe3e35));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a44d;if(c){const e=c[j(0x1f3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const k=a44d;return a44a[k(0x1e7)]()['search'](k(0x1e3))[k(0x1e7)]()[k(0x1ee)](a44a)[k(0x1f6)]('(((.+)+)+)+$');});function a44c(){const n=['docker','config/docker-compose.yaml','appName','docker-compose.yaml','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','(((.+)+)+)+$','notice','fsi','create','toString','1707611RWfQdG','exit','8726186ixFDDt','existsSync','415389SoExqI','640ZhcMiD','constructor','3884904xXwWyK','maka\x20run\x20docker','getConfigPath','getProjectConfig','apply','pm2.config.js','48PjXMTj','search','join','createFile','81504bMYdvC','\x20up\x20--remove-orphans','Docker\x20Compose\x20Path:\x20','templateContent','8037900AZYiVR','\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','3196758VkYbLt','inherit'];a44c=function(){return n;};return a44c();}a44a();import a44e from'./run.command.js';import{execSync}from'child_process';import a44f from'path';import a44g from'fs';function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x1e2;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[a44l(0x1e6)]({'name':a44l(0x201),'aliases':['d'],'shortDesc':a44l(0x1e2),'description':a44l(0x1fe),'usage':a44l(0x1f0),'validOpts':['']},async function(){const m=a44l;try{const a=this['fsi'][m(0x1f2)](),b=this['fsi'][m(0x1f1)](m(0x201)),c=a44f[m(0x1f7)](b,m(0x204)),d=a44f[m(0x1f7)](b,m(0x1f4));Log[m(0x1e4)]('PM2\x20Config\x20File:\x20'+d),Log[m(0x1e4)](m(0x1fb)+c);if(!a44g[m(0x1eb)](c)){const f={'app':a[m(0x203)],'appFileCase':paramCase(a[m(0x203)])},g=this[m(0x1e5)][m(0x1fc)]({'srcPath':m(0x202),'context':f})+'\x0a';this[m(0x1e5)][m(0x1f8)]({'filePath':c,'data':g});}execSync('docker-compose\x20--project-directory\x20'+b+m(0x1fa),{'stdio':m(0x200)});}catch(h){process[m(0x1e9)](0x1);}},a44e);
1
+ const a44k=a44d;(function(a,b){const i=a44d,c=a();while(!![]){try{const d=parseInt(i(0x10b))/0x1*(parseInt(i(0x11a))/0x2)+parseInt(i(0x11b))/0x3+parseInt(i(0x119))/0x4+-parseInt(i(0x114))/0x5+parseInt(i(0x112))/0x6*(parseInt(i(0x121))/0x7)+-parseInt(i(0x115))/0x8*(-parseInt(i(0x11d))/0x9)+-parseInt(i(0x117))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x450a4));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const j=a44d;return a44a[j(0x125)]()[j(0x116)](j(0x120))['toString']()[j(0x109)](a44a)['search'](j(0x120));});a44a();import a44e from'./run.command.js';import{execSync}from'child_process';import a44f from'path';import a44g from'fs';import{Log}from'../../tools/log/log.class.js';function a44c(){const m=['9FafZEO','exit','inherit','(((.+)+)+)+$','2611iBTsyU','docker-compose.yaml','existsSync','templateContent','toString','notice','docker','PM2\x20Config\x20File:\x20','appName','docker-compose\x20--project-directory\x20','constructor','create','2039hxlvYd','\x0a\x20\x20Run\x20your\x20application\x20in\x20a\x20Docker\x20container.\x20\x20Docker\x20Desktop\x20or\x20Colmia\x20is\x20required.\x0a\x0a\x20\x20Colima\x20is\x20a\x20great\x20alternative\x20to\x20Docker\x20Desktop,\x20and\x20it\x20is\x20free!\x0a\x20\x20Colima:\x20https://github.com/abiosoft/colima\x0a\x0a\x0a\x20\x20A\x20docker-compose.yml\x20file\x20(location\x20defaulted\x20to\x20the\x20\x22config/docker\x22\x20folder)\x0a\x20\x20is\x20used\x20to\x20startup\x20mongo\x20and\x20load\x20the\x20built\x20image\x27\x0a\x20\x20','getProjectConfig','pm2.config.js','config/docker-compose.yaml','getConfigPath','fsi','240UsNydI','join','2378215ONYLDF','30760FAUppR','search','3531130mcReiI','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','1361224mKnIjn','292IaNqKW','1364337MyFsVF','\x20up\x20--remove-orphans'];a44c=function(){return m;};return a44c();}function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x105;let f=c[d];return f;},a44d(a,b);}import{Command}from'../../command.js';import{paramCase}from'change-case';Command[a44k(0x10a)]({'name':'docker','aliases':['d'],'shortDesc':a44k(0x118),'description':a44k(0x10c),'usage':'maka\x20run\x20docker','validOpts':['']},async function(){const l=a44k;try{const a=this[l(0x111)][l(0x10d)](),b=this[l(0x111)][l(0x110)](l(0x105)),c=a44f[l(0x113)](b,l(0x122)),d=a44f[l(0x113)](b,l(0x10e));Log[l(0x126)](l(0x106)+d),Log[l(0x126)]('Docker\x20Compose\x20Path:\x20'+c);if(!a44g[l(0x123)](c)){const f={'app':a[l(0x107)],'appFileCase':paramCase(a[l(0x107)])},g=this[l(0x111)][l(0x124)]({'srcPath':l(0x10f),'context':f})+'\x0a';this[l(0x111)]['createFile']({'filePath':c,'data':g});}execSync(l(0x108)+b+l(0x11c),{'stdio':l(0x11f)});}catch(h){process[l(0x11e)](0x1);}},a44e);
@@ -1 +1 @@
1
- const a45u=a45d;(function(a,b){const q=a45d,c=a();while(!![]){try{const d=parseInt(q(0x1bb))/0x1*(parseInt(q(0x1b5))/0x2)+parseInt(q(0x1ac))/0x3*(parseInt(q(0x198))/0x4)+parseInt(q(0x1a9))/0x5*(parseInt(q(0x1bd))/0x6)+-parseInt(q(0x1bf))/0x7+parseInt(q(0x1b8))/0x8*(-parseInt(q(0x19b))/0x9)+-parseInt(q(0x197))/0xa*(parseInt(q(0x1ad))/0xb)+parseInt(q(0x1cb))/0xc*(parseInt(q(0x1a0))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xd2b91));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a45d;if(c){const e=c[r(0x1aa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const s=a45d;return a45a['toString']()[s(0x1bc)](s(0x1d3))[s(0x1c2)]()['constructor'](a45a)['search']('(((.+)+)+)+$');});function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x197;let f=c[d];return f;},a45d(a,b);}a45a();import a45e from'path';import a45f from'fs';function a45c(){const x=['\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.','config','runSubCommand','804JvPeAr','.meteor','process.env','development','verbose','run','splice','findSubCommand','(((.+)+)+)+$','--production','notice','allowIncompatibleUpdate','slice','forEach','50huNyUi','43504MhuMsD','local','openSync','15606mgPyWh','join','argv','isFile','settings','6227PsNCFu','settings.json','Meteor\x20Settings:\x20','production','rawLogs','filter','concat','split','--env','1695WYwMdi','apply','fsi','411kcUvuC','653114dnMeHk','warn','env','compareMakaToLatest','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','findProjectDirectory','exclude-archs','port','2908xMfxDT','mobile-server','exit','5528NmVpXq','Run\x20your\x20Meteor\x20application','Cannot\x20find\x20Node\x20Environment\x20File:\x20','537Nayzbh','search','5298RGigVQ','inspect','1708385Rzllad','app','extraPackages','toString','error','ios','--settings','getConfigPath','docker'];a45c=function(){return x;};return a45c();}import a45g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const t=a45d;a45f[t(0x19a)](a,'r'),a45g[t(0x1c9)]({'path':a});},Run=Command['create']({'name':a45u(0x1d0),'mustBeInMakaProject':!![],'shortDesc':a45u(0x1b9),'description':a45u(0x1c8),'validOpts':[a45u(0x1af),'docker','r',a45u(0x1a4),'p',a45u(0x1b4),'i',a45u(0x1be),'m','mobileServer','v',a45u(0x1cf),a45u(0x1d6),a45u(0x1c1),'x',a45u(0x1b3),a45u(0x1a3)]},async function(a,b){const v=a45u;try{const c=a[0x0],d=this[v(0x1d2)](c);d&&this[v(0x1ca)](c,a,b);if(c===v(0x1c4)){const m=this['fsi'][v(0x1b2)](),n=a45e[v(0x19c)](m,v(0x1c0),v(0x1cc),v(0x199),'cordova-build');this['fsi']['isDirectory'](n)&&await rimraf(n);}if(b[v(0x1b6)]&&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[v(0x1ab)][v(0x1b0)]();const f=b[v(0x1af)]?b[v(0x1af)]:v(0x1ce),g=this[v(0x1ab)][v(0x1c6)](f),h=a45e[v(0x19c)](g,v(0x1cd));let i=a45e[v(0x19c)](g,'settings.json');b[v(0x19f)]?i=b[v(0x19f)]:i=a45e[v(0x19c)](g,v(0x1a1));if(this[v(0x1ab)]['isFile'](h)&&!b[v(0x1c7)])Log['notice']('Node\x20Env\x20Config:\x20'+h),syncSource(h);else!b['docker']&&Log['warn'](v(0x1ba)+h);this[v(0x1ab)][v(0x19e)](i)?(Log[v(0x1d5)](v(0x1a2)+i),a=a[v(0x1a6)]([v(0x1c5),i])):Log[v(0x1ae)](v(0x1b1)+i);const j=g[v(0x1a7)](a45e['sep']),k=j[j['length']-0x1];k===v(0x1a3)&&a['push'](v(0x1d4));const l=process[v(0x19d)][v(0x1d7)](0x2)[v(0x1a5)](o=>o!==v(0x1d0))[v(0x1a5)](o=>o!==a[0x0]);l[v(0x1d8)]((o,p)=>{const w=v;o===w(0x1a8)&&l[w(0x1d1)](p,0x2),o==='-e'&&l['splice'](p,0x2);}),this[v(0x1ab)]['invokeMeteorCommand'](v(0x1d0),a['concat'](l));}catch(o){console[v(0x1c3)](o),process[v(0x1b7)](0x1);}});export default Run;
1
+ const a45u=a45d;function a45c(){const x=['2260951QOlNbD','ios','Run\x20your\x20Meteor\x20application','forEach','join','isDirectory','env','106216hCbgvt','error','constructor','verbose','cordova-build','Node\x20Env\x20Config:\x20','\x0a\x20\x20maka\x20run\x0a\x20\x20-e\x20|\x20--env\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20target\x20environment.\x20\x20Will\x20automatically\x20pull\x20in\x20the\x20meteor\x20settings\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20file\x20(settings.json)\x20and\x20any\x20environment\x20options\x20that\x20have\x20been\x20enabled.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20-r\x20|\x20--raw-logs\x20\x20\x20\x20\x20\x20\x20Only\x20output\x20the\x20meteor\x20logs\x20without\x20the\x20timestamp.\x0a\x0a\x20\x20-p\x20|\x20--port\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20port\x20to\x20run\x20the\x20meteor\x20server\x20on.\x20Defaults\x20to\x20port\x203000.\x0a\x0a\x20\x20-i\x20|\x20--inspect\x20\x20\x20\x20\x20\x20\x20\x20Tells\x20the\x20meteor\x20server\x20to\x20run\x20nodejs\x20in\x20debug\x20mode.\x20Starts\x20a\x20debug\x20session\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20which\x20can\x20be\x20accessed\x20by\x20Chrome\x20Dev\x20Tools\x20or\x20another\x20debug\x20terminal.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20-m\x20|\x20--mobile-server\x20\x20Specify\x20a\x20different\x20backend\x20server\x20to\x20connect\x20to.\x20\x20Mainly\x20used\x20when\x20running\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20-x\x20|\x20--exclude-archs\x20\x20Don\x27t\x20create\x20bundles\x20for\x20certain\x20web\x20architectures\x20(comma\x20separated,\x20for\x20example:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20--production\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Runs\x20the\x20application\x20in\x20production\x20mode;\x20minifies\x20and\x20bundles\x20all\x20files\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20removes\x20development\x20packages.','invokeMeteorCommand','settings','docker','inspect','local','getConfigPath','extraPackages','rawLogs','filter','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','run','exit','toString','slice','4490127HwPyiO','port','fsi','settings.json','allowIncompatibleUpdate','process.env','apply','production','argv','5dBcPpu','findProjectDirectory','(((.+)+)+)+$','2997senCTc','app','3184668yVsbgI','.meteor','create','splice','sep','config','886RDUEnI','8NBFLKT','--production','exclude-archs','concat','866803dghnqn','runSubCommand','warn','compareMakaToLatest','20VkvJsV','openSync','mobile-server','length','notice','1181644kHpouE'];a45c=function(){return x;};return a45c();}(function(a,b){const q=a45d,c=a();while(!![]){try{const d=-parseInt(q(0xd6))/0x1+parseInt(q(0xc0))/0x2*(parseInt(q(0xb8))/0x3)+parseInt(q(0xce))/0x4+-parseInt(q(0xf4))/0x5*(parseInt(q(0xba))/0x6)+parseInt(q(0xc5))/0x7+-parseInt(q(0xc1))/0x8*(-parseInt(q(0xeb))/0x9)+parseInt(q(0xc9))/0xa*(-parseInt(q(0xcf))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x4c530));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a45d;if(c){const e=c[r(0xf1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const s=a45d;return a45a[s(0xe9)]()['search'](s(0xf6))['toString']()[s(0xd8)](a45a)['search'](s(0xf6));});a45a();import a45e from'path';import a45f from'fs';import a45g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0xb8;let f=c[d];return f;},a45d(a,b);}import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const t=a45d;a45f[t(0xca)](a,'r'),a45g[t(0xbf)]({'path':a});},Run=Command[a45u(0xbc)]({'name':a45u(0xe7),'mustBeInMakaProject':!![],'shortDesc':a45u(0xd1),'description':a45u(0xdc),'validOpts':[a45u(0xd5),a45u(0xdf),'r',a45u(0xe4),'p',a45u(0xec),'i',a45u(0xe0),'m','mobileServer','v',a45u(0xd9),a45u(0xef),a45u(0xe3),'x',a45u(0xc3),a45u(0xf2)]},async function(a,b){const v=a45u;try{const c=a[0x0],d=this['findSubCommand'](c);d&&this[v(0xc6)](c,a,b);if(c===v(0xd0)){const m=this[v(0xed)][v(0xf5)](),n=a45e[v(0xd3)](m,v(0xb9),v(0xbb),v(0xe1),v(0xda));this[v(0xed)][v(0xd4)](n)&&await rimraf(n);}if(b[v(0xcb)]&&b[v(0xcb)]===!![]||b['m']&&b['m']===!![])throw'Please\x20provide\x20a\x20URL\x20where\x20your\x20mobile\x20app\x20should\x20connect\x20to\x20your\x20server\x20(e.g.,\x20-m\x20|\x20--mobile-server=https://example-server.com)';await this[v(0xed)][v(0xc8)]();const f=b[v(0xd5)]?b[v(0xd5)]:'development',g=this[v(0xed)][v(0xe2)](f),h=a45e[v(0xd3)](g,v(0xf0));let i=a45e['join'](g,v(0xee));b[v(0xde)]?i=b['settings']:i=a45e['join'](g,v(0xee));if(this['fsi']['isFile'](h)&&!b[v(0xdf)])Log[v(0xcd)](v(0xdb)+h),syncSource(h);else!b['docker']&&Log['warn']('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+h);this[v(0xed)]['isFile'](i)?(Log['notice']('Meteor\x20Settings:\x20'+i),a=a[v(0xc4)](['--settings',i])):Log[v(0xc7)](v(0xe6)+i);const j=g['split'](a45e[v(0xbe)]),k=j[j[v(0xcc)]-0x1];k===v(0xf2)&&a['push'](v(0xc2));const l=process[v(0xf3)][v(0xea)](0x2)[v(0xe5)](o=>o!=='run')['filter'](o=>o!==a[0x0]);l[v(0xd2)]((o,p)=>{const w=v;o==='--env'&&l[w(0xbd)](p,0x2),o==='-e'&&l['splice'](p,0x2);}),this[v(0xed)][v(0xdd)](v(0xe7),a[v(0xc4)](l));}catch(o){console[v(0xd7)](o),process[v(0xe8)](0x1);}});export default Run;
@@ -1 +1 @@
1
- (function(a,b){var f=a46d,c=a();while(!![]){try{var d=-parseInt(f(0x172))/0x1+parseInt(f(0x168))/0x2+parseInt(f(0x16c))/0x3+parseInt(f(0x16b))/0x4+parseInt(f(0x16e))/0x5*(-parseInt(f(0x16d))/0x6)+parseInt(f(0x16a))/0x7+parseInt(f(0x171))/0x8*(-parseInt(f(0x169))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xaebbd));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var g=a46d;return a46a[g(0x16f)]()[g(0x173)](g(0x170))[g(0x16f)]()['constructor'](a46a)[g(0x173)](g(0x170));});a46a();function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x168;var f=c[d];return f;},a46d(a,b);}import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';function a46c(){var h=['905yRqMfT','toString','(((.+)+)+)+$','8OvINWT','771803mjJCtu','search','1664996FbLyvA','1224837ARZQGM','7418915wNYshB','431544EWVOZb','89706XbeDNZ','13476uJUqcV'];a46c=function(){return h;};return a46c();}
1
+ (function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x17a))/0x1*(parseInt(f(0x17f))/0x2)+-parseInt(f(0x17d))/0x3*(parseInt(f(0x183))/0x4)+parseInt(f(0x187))/0x5*(parseInt(f(0x185))/0x6)+parseInt(f(0x18a))/0x7*(parseInt(f(0x18b))/0x8)+parseInt(f(0x186))/0x9*(-parseInt(f(0x17b))/0xa)+-parseInt(f(0x182))/0xb+-parseInt(f(0x17c))/0xc*(-parseInt(f(0x180))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xf2674));function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x17a;var f=c[d];return f;},a46d(a,b);}var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x184)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0x181)]()[h(0x188)](h(0x17e))[h(0x181)]()[h(0x189)](a46a)[h(0x188)](h(0x17e));});a46a();import'./set.command.js';import'./global.sub.cmd.js';function a46c(){var i=['constructor','21EteoVU','4552392JbVvNt','47rPoiTa','340350KBLBdy','84TVnLVl','24339zmUBKX','(((.+)+)+)+$','33224oIBCcf','1875107SVYWsR','toString','5251543OEwoTG','452paEqaK','apply','6BlFyLe','495unMtPf','3807035vlnmWu','search'];a46c=function(){return i;};return a46c();}import'./local.sub.cmd.js';
@@ -1 +1 @@
1
- function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x15e;let f=c[d];return f;},a47d(a,b);}const a47k=a47d;(function(a,b){const h=a47d,c=a();while(!![]){try{const d=-parseInt(h(0x183))/0x1*(parseInt(h(0x161))/0x2)+parseInt(h(0x160))/0x3*(parseInt(h(0x182))/0x4)+-parseInt(h(0x16a))/0x5+parseInt(h(0x167))/0x6+-parseInt(h(0x178))/0x7*(-parseInt(h(0x169))/0x8)+-parseInt(h(0x15f))/0x9*(parseInt(h(0x170))/0xa)+parseInt(h(0x164))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x74428));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a47d;if(c){const e=c[i(0x184)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const j=a47d;return a47a[j(0x16c)]()[j(0x17d)](j(0x180))['toString']()[j(0x168)](a47a)[j(0x17d)]('(((.+)+)+)+$');});a47a();import a47e from'path';import a47f from'./set.command.js';function a47c(){const m=['10627254LUdZvL','setGlobalConfig','help','556362xjshpj','constructor','1049880tqSMRq','934070bCrROk','fsi','toString','\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','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','isDirectory','2308580SoqaVc','Set\x20CA\x20Cert\x20Path:\x20','resolve','disallowInsecure','success','create','isFile','maka\x20set:global-config\x20<args>','35pPiWuk','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','workspace','allowInsecure','exit','search','global-config','Set\x20workspace:\x20','(((.+)+)+)+$','Set\x20global\x20Maka-CLI\x20settings','24hrUOzP','422887SakzMH','apply','maka\x20set:global-config\x20--cacert\x20<path>','9GnhHLu','12315HFGxun','4gfRZZd','cacert','error'];a47c=function(){return m;};return a47c();}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a47k(0x175)]({'name':a47k(0x17e),'usage':a47k(0x177),'aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a47k(0x162),a47k(0x17b),a47k(0x173),'workspace',a47k(0x166)],'shortDesc':a47k(0x181),'description':a47k(0x16d),'examples':[a47k(0x15e),'maka\x20set:gc\x20--insecure\x20<path>','maka\x20set:gc\x20--workspace\x20<path>']},async function(a,b){const l=a47k;try{if(b['cacert']){if(this[l(0x16b)][l(0x176)](b[l(0x162)]))this[l(0x16b)]['setGlobalConfig']({'cert':b[l(0x162)]}),Log[l(0x174)](l(0x171)+b[l(0x162)]);else{const c=typeof b[l(0x162)]==='boolean'?l(0x179):l(0x16e)+b[l(0x162)];throw Log[l(0x163)](c);}}if(b[l(0x17a)]){const d=this[l(0x16b)][l(0x16f)](b[l(0x17a)]);if(d)this[l(0x16b)]['setGlobalConfig']({'workspace':a47e['resolve'](b[l(0x17a)])}),Log[l(0x174)](l(0x17f)+a47e[l(0x172)](b[l(0x17a)]));else throw Log[l(0x163)]('Could\x20not\x20find\x20directory');}if(b[l(0x17b)]){if(b[l(0x17b)]&&b[l(0x173)])throw Log[l(0x163)]('One\x20or\x20the\x20other\x20buddy');let f=b[l(0x17b)];b[l(0x173)]&&(f=![]),this[l(0x16b)][l(0x165)]({'allowInsecure':f}),Log[l(0x174)]('Set\x20allowInsecure:\x20'+f);}}catch(g){console[l(0x163)](g),process[l(0x17c)](0x0);}},a47f);
1
+ const a47k=a47d;(function(a,b){const h=a47d,c=a();while(!![]){try{const d=-parseInt(h(0xde))/0x1+parseInt(h(0xc4))/0x2+-parseInt(h(0xda))/0x3+-parseInt(h(0xe6))/0x4+parseInt(h(0xe0))/0x5+parseInt(h(0xd0))/0x6*(-parseInt(h(0xc5))/0x7)+parseInt(h(0xd5))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x6facd));function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0xc3;let f=c[d];return f;},a47d(a,b);}const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a47d;if(c){const e=c[i(0xcf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const j=a47d;return a47a[j(0xc3)]()[j(0xe5)](j(0xd6))[j(0xc3)]()['constructor'](a47a)[j(0xe5)]('(((.+)+)+)+$');});a47a();import a47e from'path';import a47f from'./set.command.js';import{Command}from'../../command.js';function a47c(){const m=['help','create','One\x20or\x20the\x20other\x20buddy','maka\x20set:gc\x20--insecure\x20<path>','Set\x20CA\x20Cert\x20Path:\x20','isFile','apply','4146BFDSlA','allowInsecure','workspace','boolean','setGlobalConfig','7793392vYBtGV','(((.+)+)+)+$','Set\x20workspace:\x20','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x0a\x20\x20There\x20are\x20occasions\x20where\x20your\x20network\x20may\x20need\x20an\x20intermediate\x20certificate\x0a\x20\x20to\x20allow\x20connections\x20outside.\x20\x20You\x20may\x20set\x20your\x20certificate\x20path\x20using\x20the\x20command:\x0a\x0a\x20\x20maka\x20set:gc\x20--cacert\x0a\x20\x20','Could\x20not\x20find\x20directory','1891722cPdNvq','success','resolve','cacert','76067mGFikA','fsi','3530165pttpeu','exit','Set\x20global\x20Maka-CLI\x20settings','maka\x20set:global-config\x20--cacert\x20<path>','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','search','2815952iqzRCn','error','toString','418528eXXlMA','217ktLKLn','maka\x20set:gc\x20--workspace\x20<path>','global-config','Set\x20allowInsecure:\x20'];a47c=function(){return m;};return a47c();}import{Log}from'../../tools/log/log.class.js';Command[a47k(0xca)]({'name':a47k(0xc7),'usage':'maka\x20set:global-config\x20<args>','aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a47k(0xdd),a47k(0xd1),'disallowInsecure',a47k(0xd2),a47k(0xc9)],'shortDesc':a47k(0xe2),'description':a47k(0xd8),'examples':[a47k(0xe3),a47k(0xcc),a47k(0xc6)]},async function(a,b){const l=a47k;try{if(b[l(0xdd)]){if(this['fsi'][l(0xce)](b['cacert']))this[l(0xdf)][l(0xd4)]({'cert':b[l(0xdd)]}),Log[l(0xdb)](l(0xcd)+b['cacert']);else{const c=typeof b['cacert']===l(0xd3)?l(0xe4):'CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+b[l(0xdd)];throw Log[l(0xe7)](c);}}if(b['workspace']){const d=this[l(0xdf)]['isDirectory'](b['workspace']);if(d)this[l(0xdf)][l(0xd4)]({'workspace':a47e[l(0xdc)](b['workspace'])}),Log[l(0xdb)](l(0xd7)+a47e['resolve'](b['workspace']));else throw Log['error'](l(0xd9));}if(b[l(0xd1)]){if(b[l(0xd1)]&&b['disallowInsecure'])throw Log[l(0xe7)](l(0xcb));let f=b[l(0xd1)];b['disallowInsecure']&&(f=![]),this['fsi'][l(0xd4)]({'allowInsecure':f}),Log[l(0xdb)](l(0xc8)+f);}}catch(g){console[l(0xe7)](g),process[l(0xe1)](0x0);}},a47f);
@@ -1 +1 @@
1
- function a48c(){var j=['2898732vBZQio','10FBuIIV','25565BzRLyI','Set\x20local\x20maka\x20app\x20settings','907592ezOHig','185557biWHRE','maka\x20set:lc\x20<opts>','notice','search','(((.+)+)+)+$','2478192ZVjAtH','create','toString','3955228zozvRe','maka\x20set:local-config\x20<opts>','14727190rCeIPu','1440NvIhfQ','9dtqhSb','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20'];a48c=function(){return j;};return a48c();}var a48h=a48d;function a48d(a,b){var c=a48c();return a48d=function(d,e){d=d-0x198;var f=c[d];return f;},a48d(a,b);}(function(a,b){var f=a48d,c=a();while(!![]){try{var d=-parseInt(f(0x1a3))/0x1*(-parseInt(f(0x19f))/0x2)+parseInt(f(0x19e))/0x3+parseInt(f(0x198))/0x4+parseInt(f(0x1a0))/0x5*(-parseInt(f(0x19b))/0x6)+parseInt(f(0x1a2))/0x7+parseInt(f(0x1a8))/0x8+parseInt(f(0x19c))/0x9*(-parseInt(f(0x19a))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x97f5b));var a48b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){var g=a48d;return a48a[g(0x1aa)]()[g(0x1a6)]('(((.+)+)+)+$')[g(0x1aa)]()['constructor'](a48a)[g(0x1a6)](g(0x1a7));});a48a();import a48e from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a48h(0x1a9)]({'name':'local-config','usage':'maka\x20set:local-config\x20<opts>','examples':[a48h(0x1a4),a48h(0x199)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':a48h(0x1a1),'validOpts':[],'description':a48h(0x19d)},async function(){var i=a48h;Log[i(0x1a5)]('Sorry,\x20not\x20implemented\x20yet');},a48e);
1
+ var a48i=a48d;(function(a,b){var f=a48d,c=a();while(!![]){try{var d=-parseInt(f(0xa2))/0x1+parseInt(f(0x97))/0x2*(parseInt(f(0xa8))/0x3)+-parseInt(f(0xab))/0x4*(-parseInt(f(0xa9))/0x5)+-parseInt(f(0xa3))/0x6*(-parseInt(f(0x9e))/0x7)+parseInt(f(0x98))/0x8+-parseInt(f(0xa5))/0x9+-parseInt(f(0xa6))/0xa*(parseInt(f(0x9a))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x4ea3d));var a48b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a48d;if(c){var e=c[g(0x9b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){var h=a48d;return a48a[h(0x9c)]()['search']('(((.+)+)+)+$')[h(0x9c)]()[h(0x9f)](a48a)[h(0xa1)](h(0xaa));});function a48c(){var k=['1591299JJsMoe','20WqOcIl','Set\x20local\x20maka\x20app\x20settings','453YORYwm','2067790LXDPCX','(((.+)+)+)+$','4NEpJeg','4398TmtBsp','2046960sxqFCa','maka\x20set:local-config\x20<opts>','2323222XmXswc','apply','toString','local-config','7fVvaXl','constructor','Sorry,\x20not\x20implemented\x20yet','search','470608RMVFDb','2342730ohkFSx','maka\x20set:lc\x20<opts>'];a48c=function(){return k;};return a48c();}a48a();import a48e from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a48d(a,b){var c=a48c();return a48d=function(d,e){d=d-0x97;var f=c[d];return f;},a48d(a,b);}Command['create']({'name':a48i(0x9d),'usage':a48i(0x99),'examples':[a48i(0xa4),a48i(0x99)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':a48i(0xa7),'validOpts':[],'description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20'},async function(){var j=a48i;Log['notice'](j(0xa0));},a48e);
@@ -1 +1 @@
1
- function a49c(){const k=['23860416hHubMF','307494crsRMM','maka\x20set:<sub-command>\x20<opts>','817166zoBsUl','set','1670676JbJHUm','toString','runSubCommand','create','2289460esxUaF','findSubCommand','constructor','3241168VzKvyU','(((.+)+)+)+$','12ZefKOF','1550759PjyBFy','apply','search'];a49c=function(){return k;};return a49c();}const a49i=a49d;(function(a,b){const f=a49d,c=a();while(!![]){try{const d=-parseInt(f(0x138))/0x1+-parseInt(f(0x128))/0x2+-parseInt(f(0x136))/0x3+-parseInt(f(0x12f))/0x4+parseInt(f(0x12c))/0x5+parseInt(f(0x131))/0x6*(-parseInt(f(0x132))/0x7)+parseInt(f(0x135))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x697cc));const a49b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a49d;if(c){const e=c[g(0x133)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){const h=a49d;return a49a[h(0x129)]()[h(0x134)](h(0x130))[h(0x129)]()[h(0x12e)](a49a)[h(0x134)](h(0x130));});function a49d(a,b){const c=a49c();return a49d=function(d,e){d=d-0x127;let f=c[d];return f;},a49d(a,b);}a49a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command[a49i(0x12b)]({'name':a49i(0x127),'usage':a49i(0x137),'minArgLength':0x1,'shortDesc':'Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','validOpts':[]},async function(a,b){const j=a49i,c=a[0x0];if(b['help'])throw new UsageError();const d=this[j(0x12d)](c);d&&this[j(0x12a)](c,a,b);});export default SetCommand;
1
+ function a49d(a,b){const c=a49c();return a49d=function(d,e){d=d-0x166;let f=c[d];return f;},a49d(a,b);}const a49h=a49d;(function(a,b){const f=a49d,c=a();while(!![]){try{const d=-parseInt(f(0x175))/0x1+-parseInt(f(0x16f))/0x2*(parseInt(f(0x16d))/0x3)+parseInt(f(0x170))/0x4+parseInt(f(0x173))/0x5*(parseInt(f(0x176))/0x6)+parseInt(f(0x168))/0x7*(parseInt(f(0x16b))/0x8)+-parseInt(f(0x16e))/0x9*(-parseInt(f(0x171))/0xa)+-parseInt(f(0x166))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x46c32));const a49b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){const g=a49d;return a49a[g(0x174)]()[g(0x167)](g(0x16c))[g(0x174)]()[g(0x177)](a49a)['search'](g(0x16c));});a49a();function a49c(){const j=['toString','464359hEYiXV','130818GaPlpD','constructor','findSubCommand','875710fHzfwp','search','582883DmosfB','runSubCommand','create','8ZJYwfr','(((.+)+)+)+$','36897zGkTeQ','1336545ewogKP','10ychsva','1972896zBdCBG','20aRPeTJ','maka\x20set:<sub-command>\x20<opts>','5mGrZvG'];a49c=function(){return j;};return a49c();}import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command[a49h(0x16a)]({'name':'set','usage':a49h(0x172),'minArgLength':0x1,'shortDesc':'Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','validOpts':[]},async function(a,b){const i=a49h,c=a[0x0];if(b['help'])throw new UsageError();const d=this[i(0x178)](c);d&&this[i(0x169)](c,a,b);});export default SetCommand;
@@ -1 +1 @@
1
- const a50m=a50d;(function(a,b){const j=a50d,c=a();while(!![]){try{const d=parseInt(j(0xf1))/0x1+parseInt(j(0xe5))/0x2+parseInt(j(0xec))/0x3*(parseInt(j(0xf0))/0x4)+parseInt(j(0xf6))/0x5*(-parseInt(j(0xe8))/0x6)+parseInt(j(0xda))/0x7+parseInt(j(0xe0))/0x8+-parseInt(j(0xdd))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x6498c));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a50d;if(c){const e=c[k(0xe7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const l=a50d;return a50a[l(0xf3)]()[l(0xe2)](l(0xf5))[l(0xf3)]()[l(0xe3)](a50a)['search']('(((.+)+)+)+$');});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-0xd9;let f=c[d];return f;},a50d(a,b);}function a50c(){const o=['Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','exit','6043064GqzYeE','readFileSync','search','constructor','maka\x20ssh\x20--env\x20prod','528428TFNDWV','fsi','apply','18zlecmW','getConfigPath','env','ssh','9651GIxwOC','sshSync','error','maka\x20ssh\x20--env\x20<env>\x20[command]','852GwAcJt','703533HZvzBs','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','toString','maka\x20ssh\x20--env\x20staging','(((.+)+)+)+$','33695WbGTJb','length','3976693AcFcea','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','ssh.json','22897701yHimHp'];a50c=function(){return o;};return a50c();}Command['create']({'name':a50m(0xeb),'usage':a50m(0xef),'mustBeInMakaProject':!![],'requiredOpts':[a50m(0xea)],'validOpts':[a50m(0xea),'v'],'shortDesc':a50m(0xde),'examples':['maka\x20ssh\x20--env\x20dev',a50m(0xf4),a50m(0xe4),a50m(0xdb),'maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22',a50m(0xf2)]},async function(a,b){const n=a50m;try{const c=this[n(0xe6)][n(0xe9)](b['env']);let d='';a[n(0xd9)]>0x0&&(d=a[0x0]);const f=a50f['join'](c,n(0xdc)),g=a50e[n(0xe1)](f)[n(0xf3)](),h=JSON['parse'](g);Object['assign'](h,{'env':c}),SSH[n(0xed)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['v']});}catch(i){console[n(0xee)](i),process[n(0xdf)](0x0);}});
1
+ const a50m=a50d;function a50c(){const o=['168PoJngS','12lBMKoy','67671ydvYTR','4966832oDdbrh','length','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','maka\x20ssh\x20--env\x20dev','assign','maka\x20ssh\x20--env\x20<env>\x20[command]','search','maka\x20ssh\x20--env\x20prod','ssh','1561317nCCcBI','join','getConfigPath','sshSync','662794SRCTsG','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','(((.+)+)+)+$','45UfJVit','ssh.json','4858721XdAgPd','parse','error','20kpQNtT','140578mIZnFl','env','exit','toString','apply','4814535oxSxyT'];a50c=function(){return o;};return a50c();}(function(a,b){const j=a50d,c=a();while(!![]){try{const d=parseInt(j(0xdd))/0x1+parseInt(j(0xeb))/0x2*(parseInt(j(0xe5))/0x3)+-parseInt(j(0xd4))/0x4+parseInt(j(0xf0))/0x5+-parseInt(j(0xd2))/0x6*(parseInt(j(0xe7))/0x7)+-parseInt(j(0xf1))/0x8*(-parseInt(j(0xd3))/0x9)+-parseInt(j(0xea))/0xa*(parseInt(j(0xe1))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xf0bb4));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a50d;if(c){const e=c[k(0xef)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const l=a50d;return a50a['toString']()[l(0xda)]('(((.+)+)+)+$')['toString']()['constructor'](a50a)[l(0xda)](l(0xe4));});a50a();function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0xd2;let f=c[d];return f;},a50d(a,b);}import a50e from'fs';import a50f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command['create']({'name':a50m(0xdc),'usage':a50m(0xd9),'mustBeInMakaProject':!![],'requiredOpts':['env'],'validOpts':[a50m(0xec),'v'],'shortDesc':a50m(0xd6),'examples':[a50m(0xd7),'maka\x20ssh\x20--env\x20staging',a50m(0xdb),a50m(0xe2),'maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22',a50m(0xe3)]},async function(a,b){const n=a50m;try{const c=this['fsi'][n(0xdf)](b[n(0xec)]);let d='';a[n(0xd5)]>0x0&&(d=a[0x0]);const f=a50f[n(0xde)](c,n(0xe6)),g=a50e['readFileSync'](f)[n(0xee)](),h=JSON[n(0xe8)](g);Object[n(0xd8)](h,{'env':c}),SSH[n(0xe0)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['v']});}catch(i){console[n(0xe9)](i),process[n(0xed)](0x0);}});
@@ -1 +1 @@
1
- const a51x=a51d;(function(a,b){const v=a51d,c=a();while(!![]){try{const d=parseInt(v(0xea))/0x1+parseInt(v(0x106))/0x2*(parseInt(v(0xf0))/0x3)+parseInt(v(0x111))/0x4+parseInt(v(0xe9))/0x5+-parseInt(v(0xed))/0x6+parseInt(v(0x119))/0x7+-parseInt(v(0x123))/0x8*(parseInt(v(0x11a))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x78b1d));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(0x112)]()[w(0x124)]('(((.+)+)+)+$')[w(0x112)]()[w(0xf4)](a51a)['search'](w(0xf3));});function a51c(){const z=['withSpinner','5232144mPdxjJ','success','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','183bOWSQH','Checking\x20remote\x20host\x20availability','Remote\x20host\x20connection\x20successful','(((.+)+)+)+$','constructor','Email\x20to\x20use\x20for\x20auto-updates:\x20','getProjectConfig','Verifying\x20Letsencrypt\x20configuration','New\x20CSR\x20written\x20to\x20','domainNames','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','assign','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','domains','error','existsSync','exit','start','parse','env','[?]\x20Domains\x20to\x20register:\x20','create','3546rPxzSy','.csr','Using\x20saved\x20letsencrypt\x20config','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','generate-csr','appName','email','.key','letsencrypt','ssh','letsencrypt.json','2228232NtHZQt','toString','stringify','join','maka\x20ssl\x20--env\x20dev\x20generate-csr','generate-ssc','/ssh.json','maka\x20ssl\x20<opts>\x20[command]','4159449pvbHjk','153IoIGMD','\x20--email\x20','notice','ask','Create\x20and\x20manage\x20your\x20SSL\x20operations.','.crt','genSSC','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','fsi','367088JYBPaH','search','Please\x20provide\x20a\x20command.','writeFileSync','getConfigPath','uname\x20-a','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','genCSR','4268720IanNQY','33289iBgTSw','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20'];a51c=function(){return z;};return a51c();}function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0xe7;let f=c[d];return f;},a51d(a,b);}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[a51x(0x105)]({'name':'ssl','usage':a51x(0x118),'validOpts':[a51x(0xfd),'email'],'requiredOpts':[a51x(0x103)],'shortDesc':a51x(0x11e),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a51x(0x115),a51x(0xe7),a51x(0xfa)]},async function(a,b){const y=a51x,c=this[y(0x122)][y(0xf6)](),d=this[y(0x122)][y(0x127)](b['env']),f=this[y(0x122)]['mkKeysDir']({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===y(0x10a))SSL[y(0xe8)]({'keyName':c[y(0x10b)]+y(0x10d),'csrName':c[y(0x10b)]+'.csr','cwd':f});else{if(g===y(0x116)){if(!a51e[y(0xff)](a51f[y(0x114)](f,c[y(0x10b)]+y(0x10d))))throw y(0xfc)+a51f[y(0x114)](f,c[y(0x10b)]+y(0x10d));if(!a51e['existsSync'](a51f[y(0x114)](f,c[y(0x10b)]+'.csr')))throw y(0xef)+a51f[y(0x114)](f,c[y(0x10b)]+y(0x107));SSL[y(0x120)]({'keyName':c[y(0x10b)]+'.key','crtName':c[y(0x10b)]+y(0x11f),'cwd':f}),Log[y(0x11c)](y(0xf8)+f);}else{if(g===y(0x10e)){let h=b[y(0xfd)],i=b['email'];try{const p=a51e['readFileSync'](a51f[y(0x114)](d,y(0x110)))['toString'](),q=JSON[y(0x102)](p);h=b[y(0xfd)]?b[y(0xfd)]:q[y(0xf9)],i=b[y(0x10c)]?b['email']:q['emailUpdate'],(!b[y(0x10c)]||!b[y(0xfd)])&&Log[y(0x11c)](y(0x108));}catch(r){}const j=JSON[y(0x102)](a51e['readFileSync'](d+y(0x117))[y(0x112)]());Object[y(0xfb)](j,{'env':d}),Log['notice'](y(0xf1));try{const s=SSH['ping'](y(0x128),j);if(!s)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(s)Log[y(0xee)](y(0xf2));}catch(t){Log['error'](t);return;}const k=Log[y(0xec)]();k[y(0x101)](y(0xf7)),SSH[y(0x10f)](y(0x109),{...j}),SSH[y(0x10f)]('sudo\x20snap\x20install\x20--classic\x20certbot',{...j}),SSH[y(0x10f)](y(0x121),{...j}),k['success']();const l=h?h:await Actions[y(0x11d)](y(0x104)),m=i?i:await Actions[y(0x11d)](y(0xf5));SSH[y(0x10f)](y(0xeb)+l+y(0x11b)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[y(0x113)](n,null,0x2);a51e[y(0x126)](a51f['join'](d,y(0x110)),o);}else throw y(0x125);}}}catch(u){console[y(0xfe)](u),process[y(0x100)](0x0);}});
1
+ const a51y=a51d;(function(a,b){const v=a51d,c=a();while(!![]){try{const d=parseInt(v(0x11b))/0x1*(parseInt(v(0x156))/0x2)+-parseInt(v(0x12d))/0x3*(parseInt(v(0x11a))/0x4)+-parseInt(v(0x120))/0x5+parseInt(v(0x12e))/0x6*(parseInt(v(0x157))/0x7)+-parseInt(v(0x13a))/0x8+parseInt(v(0x155))/0x9*(parseInt(v(0x127))/0xa)+parseInt(v(0x12a))/0xb*(parseInt(v(0x14b))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x7bd9d));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a51d;if(c){const e=c[w(0x11e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const x=a51d;return a51a[x(0x148)]()[x(0x159)]('(((.+)+)+)+$')[x(0x148)]()[x(0x13f)](a51a)[x(0x159)](x(0x146));});function a51c(){const A=['ask','readFileSync','letsencrypt','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','emailUpdate','start','ssh','notice','sudo\x20snap\x20install\x20--classic\x20certbot','1629QmJINA','400118FTxJcy','4998syhIJz','existsSync','search','appName','1542136DOgOIk','1bDIekr','letsencrypt.json','Email\x20to\x20use\x20for\x20auto-updates:\x20','apply','genSSC','3144145uDeiks','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','generate-csr','getProjectConfig','maka\x20ssl\x20<opts>\x20[command]','.csr','parse','41350zsTkSl','assign','env','3800170qYTSDW','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','writeFileSync','3mMDegF','1350FseGVG','[?]\x20Domains\x20to\x20register:\x20','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','join','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','exit','.crt','withSpinner','domains','genCSR','success','domainNames','2227424CIAJOi','create','Remote\x20host\x20connection\x20successful','maka\x20ssl\x20--env\x20dev\x20generate-csr','mkKeysDir','constructor','ping','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','stringify','email','New\x20CSR\x20written\x20to\x20','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','(((.+)+)+)+$','error','toString','fsi','.key','24VsBlon'];a51c=function(){return A;};return a51c();}a51a();import a51e from'fs';import a51f from'path';import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x11a;let f=c[d];return f;},a51d(a,b);}import{SSL}from'../tools/ssl/ssl.class.js';Command[a51y(0x13b)]({'name':'ssl','usage':a51y(0x124),'validOpts':[a51y(0x136),a51y(0x143)],'requiredOpts':[a51y(0x129)],'shortDesc':'Create\x20and\x20manage\x20your\x20SSL\x20operations.','mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a51y(0x13d),a51y(0x121),a51y(0x130)]},async function(a,b){const z=a51y,c=this['fsi'][z(0x123)](),d=this[z(0x149)]['getConfigPath'](b['env']),f=this[z(0x149)][z(0x13e)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0x122))SSL[z(0x137)]({'keyName':c['appName']+'.key','csrName':c[z(0x15a)]+'.csr','cwd':f});else{if(g==='generate-ssc'){if(!a51e[z(0x158)](a51f[z(0x131)](f,c[z(0x15a)]+z(0x14a))))throw z(0x132)+a51f['join'](f,c[z(0x15a)]+z(0x14a));if(!a51e[z(0x158)](a51f[z(0x131)](f,c[z(0x15a)]+z(0x125))))throw z(0x141)+a51f['join'](f,c[z(0x15a)]+'.csr');SSL[z(0x11f)]({'keyName':c[z(0x15a)]+z(0x14a),'crtName':c[z(0x15a)]+z(0x134),'cwd':f}),Log[z(0x153)](z(0x144)+f);}else{if(g===z(0x14e)){let h=b[z(0x136)],i=b[z(0x143)];try{const p=a51e[z(0x14d)](a51f[z(0x131)](d,z(0x11c)))[z(0x148)](),q=JSON[z(0x126)](p);h=b[z(0x136)]?b[z(0x136)]:q[z(0x139)],i=b['email']?b[z(0x143)]:q[z(0x150)],(!b[z(0x143)]||!b[z(0x136)])&&Log[z(0x153)]('Using\x20saved\x20letsencrypt\x20config');}catch(r){}const j=JSON['parse'](a51e[z(0x14d)](d+'/ssh.json')[z(0x148)]());Object[z(0x128)](j,{'env':d}),Log[z(0x153)]('Checking\x20remote\x20host\x20availability');try{const s=SSH[z(0x140)]('uname\x20-a',j);if(!s)throw z(0x145);if(s)Log[z(0x138)](z(0x13c));}catch(t){Log['error'](t);return;}const k=Log[z(0x135)]();k[z(0x151)]('Verifying\x20Letsencrypt\x20configuration'),SSH[z(0x152)](z(0x14f),{...j}),SSH[z(0x152)](z(0x154),{...j}),SSH[z(0x152)](z(0x12b),{...j}),k['success']();const l=h?h:await Actions[z(0x14c)](z(0x12f)),m=i?i:await Actions[z(0x14c)](z(0x11d));SSH[z(0x152)]('sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20'+l+'\x20--email\x20'+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0x142)](n,null,0x2);a51e[z(0x12c)](a51f[z(0x131)](d,z(0x11c)),o);}else throw'Please\x20provide\x20a\x20command.';}}}catch(u){console[z(0x147)](u),process[z(0x133)](0x0);}});
@@ -1 +1 @@
1
- const a52q=a52d;(function(a,b){const m=a52d,c=a();while(!![]){try{const d=parseInt(m(0xb1))/0x1+parseInt(m(0x9a))/0x2+parseInt(m(0xc1))/0x3*(-parseInt(m(0xa6))/0x4)+parseInt(m(0xad))/0x5*(-parseInt(m(0x9f))/0x6)+parseInt(m(0xa2))/0x7*(parseInt(m(0xb4))/0x8)+-parseInt(m(0xcb))/0x9+parseInt(m(0xaa))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x959f0));const a52b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a52d;if(c){const e=c[n(0xa4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){const o=a52d;return a52a[o(0xba)]()['search'](o(0xc3))[o(0xba)]()[o(0x9c)](a52a)[o(0xa7)]('(((.+)+)+)+$');});a52a();import a52e from'fs';import a52f from'path';import a52g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a52d(a,b){const c=a52c();return a52d=function(d,e){d=d-0x96;let f=c[d];return f;},a52d(a,b);}function a52c(){const t=['error','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','openSync','fsi','maka\x20test\x20<opts>','jasmine','create','7227279slbryU','process.env','driver','argv','engines','inspect','concat','utf8','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','308542IidwdX','filter','constructor','config.json','env','18FWWbOW','warn','driverPackage','609blXSsg','settings.json','apply','--driver-package','43812UvPlzT','search','--packages','unit','25584690hTMckM','--full-app','findProjectDirectory','843840zSImmt','--settings','test-packages','splice','159549beQUbd','mocha','development','12344iMVtqA','getConfigPath','once','exit','invokeMeteorCommand','none','toString','test','notice','driver-package','.maka','--driver','join','297yZKssA','readFileSync','(((.+)+)+)+$'];a52c=function(){return t;};return a52c();}const syncSource=function(a){const p=a52d;a52e[p(0xc6)](a,'r'),a52g['config']({'path':a});};Command[a52q(0xca)]({'name':'test','mustBeInMakaProject':!![],'validOpts':[a52q(0xb6),'packages',a52q(0xcd),a52q(0xa1),a52q(0xa9),'env','rawLogs','port',a52q(0x96),'testAppPath'],'usage':a52q(0xc8),'shortDesc':a52q(0xc5),'examples':[]},function(a,b){const r=a52q;try{let c=this[r(0xc7)][r(0xb5)](r(0xb3));b[r(0x9e)]&&(c=this['fsi'][r(0xb5)](b[r(0x9e)]));(!b[r(0xa9)]||!!b[r(0xb6)])&&(a=a['concat']([r(0xab)]));b[r(0xa9)]&&delete b[r(0xa9)];let d=b[r(0xbd)]||b[r(0xcd)]||'none';if(d===r(0xb9)){const j=JSON['parse'](a52e[r(0xc2)](a52f[r(0xc0)](this[r(0xc7)][r(0xac)](),r(0xbe),r(0x9d)),r(0x98)));if(j[r(0xcf)][r(0xbb)]===r(0xc9))d='sanjo:jasmine';else j[r(0xcf)][r(0xbb)]===r(0xb2)&&(d='meteortesting:mocha');}if(d==='none')throw r(0x99);(!b[r(0xbd)]||!b[r(0xcd)])&&(a=a[r(0x97)]([r(0xa5),d]));const f=a52f[r(0xc0)](c,r(0xa3));this[r(0xc7)]['isFile'](f)?(Log[r(0xbc)]('Meteor\x20Settings:\x20'+f),a=a[r(0x97)]([r(0xae),f])):Log[r(0xa0)]('Cannot\x20find\x20Meteor\x20Settings\x20File:\x20'+f);const g=a52f[r(0xc0)](c,r(0xcc));this['fsi']['isFile'](g)?(Log[r(0xbc)]('Node\x20Env\x20Config:\x20'+g),syncSource(g)):Log['warn']('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+g);const h=process[r(0xce)]['slice'](0x2)[r(0x9b)](k=>k!=='--env')['filter'](k=>k!==r(0xbb))['filter'](k=>k!==a[0x0]);h['forEach']((k,l)=>{const s=r;(k==='--env'||k===s(0xbf))&&h[s(0xb0)](l,0x2),k===s(0xa8)&&h[s(0xb0)](l,0x1);});const i=b['packages']?r(0xaf):r(0xbb);this['fsi'][r(0xb8)](i,a['concat'](h));}catch(k){console[r(0xc4)](k),process[r(0xb7)](0x0);}});
1
+ const a52q=a52d;(function(a,b){const m=a52d,c=a();while(!![]){try{const d=parseInt(m(0xd9))/0x1+-parseInt(m(0xef))/0x2+-parseInt(m(0xdd))/0x3+-parseInt(m(0xfd))/0x4+parseInt(m(0xed))/0x5+parseInt(m(0xfb))/0x6*(-parseInt(m(0x107))/0x7)+-parseInt(m(0xfa))/0x8*(-parseInt(m(0xdc))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xbf2ec));const a52b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a52d;if(c){const e=c[n(0xf0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){const o=a52d;return a52a[o(0x109)]()['search'](o(0xee))[o(0x109)]()[o(0x104)](a52a)[o(0xda)](o(0xee));});a52a();function a52c(){const t=['utf8','meteortesting:mocha','slice','exit','test','getConfigPath','rawLogs','19944632tmiYYw','174tQvHuh','create','4528324JoPCkC','config','openSync','--packages','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','--driver','constructor','packages','engines','357882XfdfaV','warn','toString','unit','error','driver-package','Cannot\x20find\x20Node\x20Environment\x20File:\x20','port','invokeMeteorCommand','parse','concat','join','maka\x20test\x20<opts>','963588eKYUak','search','findProjectDirectory','9OvdXku','3827328knmGWp','fsi','settings.json','env','filter','argv','inspect','splice','development','Node\x20Env\x20Config:\x20','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','driver','--env','sanjo:jasmine','process.env','--full-app','6235000bevpqC','(((.+)+)+)+$','60144vhKAps','apply','driverPackage','none'];a52c=function(){return t;};return a52c();}import a52e from'fs';function a52d(a,b){const c=a52c();return a52d=function(d,e){d=d-0xcf;let f=c[d];return f;},a52d(a,b);}import a52f from'path';import a52g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const p=a52d;a52e[p(0xff)](a,'r'),a52g[p(0xfe)]({'path':a});};Command[a52q(0xfc)]({'name':'test','mustBeInMakaProject':!![],'validOpts':['once',a52q(0x105),a52q(0xe8),a52q(0xf1),a52q(0xcf),'env',a52q(0xf9),a52q(0xd3),a52q(0xe3),'testAppPath'],'usage':a52q(0xd8),'shortDesc':a52q(0xe7),'examples':[]},function(a,b){const r=a52q;try{let c=this[r(0xde)][r(0xf8)](r(0xe5));b['env']&&(c=this[r(0xde)]['getConfigPath'](b[r(0xe0)]));(!b[r(0xcf)]||!!b['once'])&&(a=a['concat']([r(0xec)]));b['unit']&&delete b['unit'];let d=b[r(0xd1)]||b[r(0xe8)]||r(0xf2);if(d===r(0xf2)){const j=JSON[r(0xd5)](a52e['readFileSync'](a52f['join'](this[r(0xde)][r(0xdb)](),'.maka','config.json'),r(0xf3)));if(j[r(0x106)][r(0xf7)]==='jasmine')d=r(0xea);else j[r(0x106)][r(0xf7)]==='mocha'&&(d=r(0xf4));}if(d===r(0xf2))throw r(0x102);(!b[r(0xd1)]||!b[r(0xe8)])&&(a=a[r(0xd6)](['--driver-package',d]));const f=a52f['join'](c,r(0xdf));this[r(0xde)]['isFile'](f)?(Log['notice']('Meteor\x20Settings:\x20'+f),a=a[r(0xd6)](['--settings',f])):Log[r(0x108)](r(0x101)+f);const g=a52f[r(0xd7)](c,r(0xeb));this[r(0xde)]['isFile'](g)?(Log['notice'](r(0xe6)+g),syncSource(g)):Log[r(0x108)](r(0xd2)+g);const h=process[r(0xe2)][r(0xf5)](0x2)['filter'](k=>k!==r(0xe9))[r(0xe1)](k=>k!==r(0xf7))['filter'](k=>k!==a[0x0]);h['forEach']((k,l)=>{const s=r;(k===s(0xe9)||k===s(0x103))&&h['splice'](l,0x2),k===s(0x100)&&h[s(0xe4)](l,0x1);});const i=b[r(0x105)]?'test-packages':r(0xf7);this[r(0xde)][r(0xd4)](i,a[r(0xd6)](h));}catch(k){console[r(0xd0)](k),process[r(0xf6)](0x0);}});
@@ -1 +1 @@
1
- const a53l=a53d;(function(a,b){const i=a53d,c=a();while(!![]){try{const d=parseInt(i(0xce))/0x1*(-parseInt(i(0xa7))/0x2)+parseInt(i(0xd1))/0x3+-parseInt(i(0xc6))/0x4*(-parseInt(i(0xb6))/0x5)+parseInt(i(0xb0))/0x6+parseInt(i(0xa3))/0x7*(parseInt(i(0xc0))/0x8)+parseInt(i(0xc3))/0x9*(-parseInt(i(0xbd))/0xa)+-parseInt(i(0xab))/0xb*(parseInt(i(0xa8))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xb0030));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a53d;if(c){const e=c[j(0xba)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const k=a53d;return a53a[k(0xa5)]()['search'](k(0xcb))[k(0xa5)]()[k(0xcc)](a53a)[k(0xbc)](k(0xcb));});function a53c(){const n=['1855606hqaegP','12glGPHS','replace','----------------------System----------------------------','14951926VJFiHI','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','getGlobalMeteorVersion','----------------------Project----------------------------','meteor','6572442qeUfvj','Maka\x20','notice','getProjectsMeteorNodeVersion','Project\x27s\x20Meteor\x20Node\x20Version\x20','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','20hEEete','Project\x27s\x20Meteor\x20Version\x20','4.5.0','win32','apply','majestic','search','10TdcDsH','getProjectMeteorVersion','System\x27s\x20Node\x20Version\x20','72umoost','meteor.bat','maka\x20version','4183578RuPOqe','fsi',')\x20to\x20at\x20least\x20meteor\x27s\x20(','986420BCLfxM','isMakaProject','warn','maka\x20v','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','(((.+)+)+)+$','constructor','\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','1qtrpjf','\x20node\x20-v','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','1090953WstnJT','bright','compareMakaToLatest','error','create','node\x20-v','799071qsMUdR','N/A','toString','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20'];a53c=function(){return n;};return a53c();}a53a();function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0xa3;let f=c[d];return f;},a53d(a,b);}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(0xb8)};Command[a53l(0xd5)]({'name':'version','aliases':['v'],'usage':'maka\x20version','maxArgLength':0x1,'validOpts':[],'shortDesc':a53l(0xb5),'examples':[a53l(0xc9),a53l(0xc2)]},async function(){const m=a53l;try{const a=process['platform']===m(0xb9)?m(0xc1):m(0xaf);Log[m(0xbb)](m(0xb1)+pjson['version']),await this[m(0xc4)][m(0xd3)](),Log[m(0xd2)](m(0xaa));const b=this[m(0xc4)][m(0xad)]();Log['bright'](('System\x27s\x20Meteor\x20Version\x20'+b)['replace']('\x0a',''));const c=execSync(a+m(0xcf))[m(0xa5)]()[m(0xa9)](/\r?\n|\r/,'')[m(0xa9)]('v','');Log[m(0xd2)](m(0xca)+c);const d=execSync(m(0xd6))['toString']()[m(0xa9)](/\r?\n|\r/,'')[m(0xa9)]('v','');a53e['gt'](c,d)?(Log[m(0xc8)](m(0xbf)+d),Log[m(0xc8)](m(0xac)+d+m(0xc5)+c+')')):Log[m(0xd2)](m(0xbf)+d);if(this[m(0xc4)][m(0xc7)]()){Log[m(0xd2)](m(0xae));const f=this[m(0xc4)][m(0xbe)]();a53e['gt'](b,f)?(Log['warn']('Project\x27s\x20Meteor\x20Version\x20'+f['replace']('\x0a','')),Log[m(0xc8)](m(0xa6)+b+'\x22')):Log[m(0xb2)]((m(0xb7)+f)[m(0xa9)]('\x0a',''));const g=await this[m(0xc4)][m(0xb3)]();g===m(0xa4)?(Log[m(0xc8)]('Project\x27s\x20Meteor\x20Node\x20Version\x20'+g),Log[m(0xc8)](m(0xd0))):Log[m(0xd2)](m(0xb4)+g),Log[m(0xd2)](m(0xcd));}}catch(h){console[m(0xd4)](h),process['exit'](0x0);}});
1
+ const a53l=a53d;function a53c(){const n=['getGlobalMeteorVersion','meteor.bat','5672WFjGIf','System\x27s\x20Meteor\x20Version\x20','Maka\x20','node\x20-v','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','----------------------System----------------------------','575108HNAtWw','getProjectMeteorVersion','constructor','replace','toString','exit','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','\x0a\x20To\x20get\x20the\x20mongo\x20version\x20in\x20use\x20by\x20meteor:\x0a\x201)\x20Run\x20the\x20project,\x20\x22maka\x20run\x22\x0a\x202)\x20In\x20a\x20new\x20terminal\x20open\x20the\x20mongo\x20shell,\x20\x22maka\x20mongo\x22','38kWMxbn','(((.+)+)+)+$','435wMSBpA','bright','9238350gmizWi','Project\x27s\x20Meteor\x20Version\x20','getProjectsMeteorNodeVersion','maka\x20v','version','majestic','create','Project\x27s\x20Meteor\x20Node\x20Version\x20','2619VocEoW','compareMakaToLatest','error','warn','apply','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','1179045VgSceL','isMakaProject','14106oTewtn','fsi','search','----------------------Project----------------------------','39801EGXGoO','4.5.1','106027DYDgmF','notice','meteor','platform'];a53c=function(){return n;};return a53c();}(function(a,b){const i=a53d,c=a();while(!![]){try{const d=parseInt(i(0xfe))/0x1+parseInt(i(0x112))/0x2*(parseInt(i(0xfc))/0x3)+parseInt(i(0x10a))/0x4+-parseInt(i(0x114))/0x5*(-parseInt(i(0x126))/0x6)+parseInt(i(0x124))/0x7+parseInt(i(0x104))/0x8*(parseInt(i(0x11e))/0x9)+-parseInt(i(0x116))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x26695));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a53d;if(c){const e=c[j(0x122)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const k=a53d;return a53a[k(0x10e)]()[k(0x128)](k(0x113))[k(0x10e)]()[k(0x10c)](a53a)[k(0x128)]('(((.+)+)+)+$');});function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0xfc;let f=c[d];return f;},a53d(a,b);}a53a();import{execSync}from'child_process';import a53e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const pjson={'version':a53l(0xfd)};Command[a53l(0x11c)]({'name':a53l(0x11a),'aliases':['v'],'usage':'maka\x20version','maxArgLength':0x1,'validOpts':[],'shortDesc':'Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','examples':[a53l(0x119),'maka\x20version']},async function(){const m=a53l;try{const a=process[m(0x101)]==='win32'?m(0x103):m(0x100);Log[m(0x11b)](m(0x106)+pjson[m(0x11a)]),await this['fsi'][m(0x11f)](),Log[m(0x115)](m(0x109));const b=this[m(0x127)][m(0x102)]();Log[m(0x115)]((m(0x105)+b)[m(0x10d)]('\x0a',''));const c=execSync(a+'\x20node\x20-v')[m(0x10e)]()[m(0x10d)](/\r?\n|\r/,'')['replace']('v','');Log[m(0x115)]('System\x27s\x20Meteor\x27s\x20Node\x20Version\x20'+c);const d=execSync(m(0x107))[m(0x10e)]()['replace'](/\r?\n|\r/,'')['replace']('v','');a53e['gt'](c,d)?(Log[m(0x121)]('System\x27s\x20Node\x20Version\x20'+d),Log['warn'](m(0x110)+d+')\x20to\x20at\x20least\x20meteor\x27s\x20('+c+')')):Log[m(0x115)]('System\x27s\x20Node\x20Version\x20'+d);if(this[m(0x127)][m(0x125)]()){Log['bright'](m(0x129));const f=this[m(0x127)][m(0x10b)]();a53e['gt'](b,f)?(Log['warn'](m(0x117)+f[m(0x10d)]('\x0a','')),Log[m(0x121)](m(0x123)+b+'\x22')):Log[m(0xff)](('Project\x27s\x20Meteor\x20Version\x20'+f)['replace']('\x0a',''));const g=await this[m(0x127)][m(0x118)]();g==='N/A'?(Log[m(0x121)](m(0x11d)+g),Log['warn'](m(0x108))):Log[m(0x115)](m(0x11d)+g),Log[m(0x115)](m(0x111));}}catch(h){console[m(0x120)](h),process[m(0x10f)](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a54d,c=a();while(!![]){try{var d=-parseInt(f(0x15d))/0x1*(-parseInt(f(0x156))/0x2)+parseInt(f(0x15a))/0x3+parseInt(f(0x15c))/0x4+parseInt(f(0x152))/0x5+parseInt(f(0x154))/0x6*(parseInt(f(0x155))/0x7)+parseInt(f(0x15b))/0x8*(parseInt(f(0x15f))/0x9)+parseInt(f(0x158))/0xa*(-parseInt(f(0x15e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xa77dd));function a54c(){var h=['295316KzsyFK','5422RbeDPj','10990232jWFsDd','5841DIeism','4830970virxrc','toString','6gwlHgS','7288421AQzwht','446HTeFhX','(((.+)+)+)+$','40RIDjqk','constructor','3816288VKCtWw','1480qoUmya'];a54c=function(){return h;};return a54c();}var a54b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){var g=a54d;return a54a[g(0x153)]()['search']('(((.+)+)+)+$')[g(0x153)]()[g(0x159)](a54a)['search'](g(0x157));});function a54d(a,b){var c=a54c();return a54d=function(d,e){d=d-0x152;var f=c[d];return f;},a54d(a,b);}a54a();export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
1
+ (function(a,b){var f=a54d,c=a();while(!![]){try{var d=-parseInt(f(0x7a))/0x1+parseInt(f(0x7f))/0x2*(parseInt(f(0x8a))/0x3)+-parseInt(f(0x80))/0x4*(parseInt(f(0x7d))/0x5)+parseInt(f(0x84))/0x6*(parseInt(f(0x7e))/0x7)+-parseInt(f(0x82))/0x8*(parseInt(f(0x87))/0x9)+parseInt(f(0x83))/0xa+-parseInt(f(0x89))/0xb*(-parseInt(f(0x81))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x8cded));function a54d(a,b){var c=a54c();return a54d=function(d,e){d=d-0x7a;var f=c[d];return f;},a54d(a,b);}function a54c(){var i=['1485KPuxSe','(((.+)+)+)+$','165fGPSwi','9366Fqmkil','1103974eCnmLi','apply','toString','245kHVoDr','19537FJYSRL','512wbNGiE','48620OVrpSu','1000044IfyKec','53368xIquZo','9484260lLxrcR','816bopRrb','search','constructor'];a54c=function(){return i;};return a54c();}var a54b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a54d;if(c){var e=c[g(0x7b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){var h=a54d;return a54a[h(0x7c)]()[h(0x85)](h(0x88))[h(0x7c)]()[h(0x86)](a54a)[h(0x85)](h(0x88));});a54a();export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
@@ -1 +1 @@
1
- const a55t=a55d;(function(a,b){const p=a55d,c=a();while(!![]){try{const d=-parseInt(p(0x10d))/0x1+parseInt(p(0xf4))/0x2*(-parseInt(p(0xc6))/0x3)+parseInt(p(0xf3))/0x4+parseInt(p(0x114))/0x5*(-parseInt(p(0x104))/0x6)+-parseInt(p(0x10e))/0x7*(-parseInt(p(0xbf))/0x8)+-parseInt(p(0x102))/0x9*(-parseInt(p(0xd8))/0xa)+parseInt(p(0xb8))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0xa77db));function a55c(){const E=['client','length','help','minOptsLength','filter','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','exit','50klvanM','bright','lib','chdir','Too\x20few\x20arguments','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','listGenerators','addGenerator','noResource','list','Generator\x20requires\x20a\x20handler\x20function','notice','keys','Generator\x20requires\x20a\x20name','Name','usage','roles','There\x20is\x20no\x20Meteor\x20application\x20here','maxArgLength','_generators','push','function','validateMeteorInstall','search','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','both','fsi','825680mWJlAo','26246kSmtVi','options','validateMakaSubscription','Description','dir','findGenerator','appPathPrefix','Too\x20few\x20options','slice','root','sort','_handler','toString','Client','1818549PpTOhP','mustHaveMeteorInstalled','6WXNjAp','includes','apply','invoke','number','where','sep','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator','proGenerators','874119KubmVa','2665537sKuNFA','findProjectDirectory','Generator.create\x20requires\x20a\x20handler\x20function!','maxOptsLength','No\x20resource\x20name\x20specified','call','5665710ziCtxB','minArgLength','name','24034967dYyVuP','create','addGenerator\x20requires\x20a\x20Generator\x20instance','domainLicense','Both','To\x20use\x20these\x20pro\x20flags,\x20\x22','mustBeInMakaProject','8EWAptp','resourceName','join','error','cwd','tableList','map','249hDwCzz','assign','To\x20use\x20this\x20generator,\x20\x22','shortDesc','parent','Location','(((.+)+)+)+$','validateParams','server','Generator.create\x20requires\x20some\x20options!','proFlags'];a55c=function(){return E;};return a55c();}const a55b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a55d;if(c){const e=c[q(0x106)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){const r=a55d;return a55a['toString']()[r(0xef)](r(0xcc))[r(0x100)]()['constructor'](a55a)['search'](r(0xcc));});a55a();import a55e from'path';import a55f from'cli-table';import{paramCase}from'change-case';import a55g from'./generators/maka.gen.js';import{Log}from'./tools/log/log.class.js';import{Tool}from'./tool.js';function a55d(a,b){const c=a55c();return a55d=function(d,e){d=d-0xb7;let f=c[d];return f;},a55d(a,b);}import{Actions}from'./tools/actions/actions.class.js';import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError}from'./error.js';let _prevGen='';function inside(a='.',b){const s=a55d,c=process[s(0xc3)]();let d=null;try{process[s(0xdb)](a),d=b();}finally{process[s(0xdb)](c);}return d;}export class Generator extends Tool{[a55t(0xf5)];[a55t(0xeb)];constructor(a,b){const u=a55t;super();if(!a)throw new Error(u(0xf0));if(!a['name'])throw new Error(u(0xe5));if(typeof b!==u(0xed))throw new Error(u(0xe2));this[u(0xeb)]=[],this[u(0xf5)]=Object[u(0xc7)]({},a),this['name']=this['options'][u(0xb7)],this[u(0xff)]=b['bind'](this);}static[a55t(0xb9)](a,b,c){const v=a55t;if(!a)throw new Error(v(0xcf));if(typeof b!==v(0xed))throw new Error(v(0x110));const d=new Generator(a,b);return c=c||a55g,Object[v(0xc7)](d,{'parent':c?.[v(0xf5)]?.[v(0xb7)]}),c[v(0xdf)](d),d;}[a55t(0xdf)](a){const w=a55t;if(!(a instanceof Generator))throw new Error(w(0xba));this[w(0xeb)][w(0xec)](a);}[a55t(0xf9)](a){const b=this['_generators']['find'](c=>c['match'](a));return b;}async[a55t(0xf6)](a,b){const x=a55t,c=this[x(0xf9)](a[0x0]);if(c){const d=c?.['name']||a[0x0],e=c?.[x(0xca)]||'',f=Object[x(0xe4)](b),g=await this[x(0xf2)]['getPro']();!g&&(Log[x(0xc2)]('License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.'),process[x(0xd7)](0x1));const h=!g?.[x(0xe8)]['includes']('singleLicense')&&!g?.[x(0xe8)]['includes'](x(0xbb)),i=g?.[x(0x10c)][x(0x105)](d)||g?.['proGenerators'][x(0x105)](e);if(i&&h)throw x(0xc8)+d+x(0xd6);if(f[x(0xd2)]>0x0){const j=g?.[x(0xd0)][x(0xd5)](k=>f[x(0x105)](k));if(j&&j[x(0xd2)]>0x0&&h)throw x(0xbd)+j?.['join'](',\x20')+'\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27';}}}async[a55t(0x107)](a,b){const y=a55t,{usage:usage='',description:description='',examples:examples=[],shortDesc:c}=this[y(0xf5)];try{await this['validateMakaSubscription'](a,b);}catch(f){Log['error'](f),process['exit'](0x1);}const d=a[y(0xfc)]();b[y(0xc0)]=d[0x0];try{if((a[0x0]===_prevGen||a[y(0xd2)]===0x0)&&b[y(0xd3)])throw new UsageError();if(this[y(0xf5)][y(0xbe)]){const g=this['validateMakaProject']();if(!g)throw new MustBeInProjectError();}if(this['options'][y(0x103)]){const h=this[y(0xee)]();if(!h)throw new NoMeteorFoundError();}if(typeof this[y(0xf5)]['minArgLength']===y(0x108)){if(a[y(0xd2)]<this[y(0xf5)][y(0x115)]){Log['error'](y(0xdc));throw new UsageError();}}if(typeof this['options']['maxArgLength']===y(0x108)){if(a[y(0xd2)]>this[y(0xf5)][y(0xea)]){Log[y(0xc2)]('Too\x20many\x20arguments');throw new UsageError();}}if(typeof this[y(0xf5)][y(0xd4)]===y(0x108)){if(Object[y(0xe4)](b)[y(0xd2)]<this[y(0xf5)][y(0xd4)]){Log[y(0xc2)](y(0xfb));throw new UsageError();}}if(typeof this[y(0xf5)][y(0x111)]===y(0x108)){if(Object[y(0xe4)](b)[y(0xd2)]>=this[y(0xf5)][y(0x111)]){Log[y(0xc2)]('Too\x20many\x20options');throw new UsageError();}}this[y(0xcd)](a,b,this[y(0xf5)]);if(!b[y(0xc0)]&&!this['options'][y(0xe0)]){Log[y(0xc2)](y(0x112));throw new UsageError();}_prevGen=a[0x0];}catch(i){Log[y(0xe7)](description,examples,usage,c);if(i instanceof UsageError)this[y(0xeb)][y(0xd2)]>0x0&&b[y(0xd3)]&&(Log[y(0xe3)]('Generators:'),this[y(0xc4)](this[y(0xeb)]));else{if(i instanceof MustBeInProjectError)Log['error'](y(0x10b));else{if(i instanceof NoMeteorFoundError)Log[y(0xc2)](y(0xdd)),Log[y(0xe3)]('Please\x20run\x20\x22maka\x20install\x20meteor\x22');else{if(i instanceof NoMeteorAppFoundError)Log[y(0xc2)](y(0xe9));else throw i;}}}process[y(0xd7)](0x1);}return new Promise(j=>{const z=y;inside(b[z(0xc3)],async()=>{const A=z;try{if(!b[A(0xfd)]&&!this['fsi'][A(0x10f)]())throw new MustBeInProjectError();const k=b[A(0xc0)]?.['replace'](/\\/g,'/')['split']('/');!b[A(0xf8)]&&(k?.[A(0xd2)]>0x1?(b[A(0xc0)]=k['pop'](),d[0x0]=b[A(0xc0)],b[A(0xf8)]=k[A(0xc5)](l=>{return paramCase(l);})[A(0xc1)](a55e[A(0x10a)])):b[A(0xf8)]='');if(this['options']['checkWhere']){if(!b[A(0x109)]){const m={'type':A(0xe1),'name':'colLocAnswer','message':A(0xcb),'choices':[{'name':A(0x101),'value':A(0xd1)},{'name':'Server','value':A(0xce)},{'name':A(0xbc),'value':A(0xf1)}]},{colLocAnswer:n}=await Actions[A(0xf5)](m);n?b[A(0x109)]=n:b[A(0x109)]=A(0xf1);}const l=[A(0xf1),'client',A(0xce)];if(!l['includes'](b[A(0x109)])){Log[A(0xc2)]('--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27');throw new UsageError();}switch(b[A(0x109)]){case A(0xf1):b['appPathPrefix']=A(0xda);break;case A(0xce):b[A(0xfa)]='server';break;case A(0xd1):b[A(0xfa)]=A(0xd1);break;default:b['appPathPrefix']='';}}j(this[A(0xff)][A(0x113)](this,d,b));}catch(o){console[A(0xc2)](o);}});});}[a55t(0xde)](){const B=a55t;this[B(0xc4)](this[B(0xeb)]);}[a55t(0xc4)](a){const C=a55t,b=new a55f({});b[C(0xec)]([C(0xe6),'Alias',C(0xf7)]),a[C(0xfe)]()['forEach'](c=>{const D=C;b[D(0xec)]([c[D(0xb7)],c['aliases'](),c[D(0xc9)]()]);}),Log[C(0xd9)](b['toString']());}}
1
+ function a55d(a,b){const c=a55c();return a55d=function(d,e){d=d-0xf5;let f=c[d];return f;},a55d(a,b);}const a55t=a55d;(function(a,b){const p=a55d,c=a();while(!![]){try{const d=parseInt(p(0x15a))/0x1+parseInt(p(0x103))/0x2+parseInt(p(0xfa))/0x3*(-parseInt(p(0x153))/0x4)+-parseInt(p(0x14c))/0x5+-parseInt(p(0x134))/0x6+parseInt(p(0x104))/0x7*(parseInt(p(0x101))/0x8)+parseInt(p(0xfe))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x5eadc));const a55b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a55d;if(c){const e=c[q(0xf7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){const r=a55d;return a55a[r(0x142)]()[r(0x115)]('(((.+)+)+)+$')[r(0x142)]()[r(0x145)](a55a)[r(0x115)]('(((.+)+)+)+$');});a55a();import a55e from'path';import a55f from'cli-table';import{paramCase}from'change-case';import a55g from'./generators/maka.gen.js';import{Log}from'./tools/log/log.class.js';import{Tool}from'./tool.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError}from'./error.js';let _prevGen='';function inside(a='.',b){const s=a55d,c=process['cwd']();let d=null;try{process[s(0x13a)](a),d=b();}finally{process[s(0x13a)](c);}return d;}function a55c(){const F=['parent','slice','resourceName','name','noResource','Both','Too\x20few\x20options','Location','usage','match','Generator.create\x20requires\x20a\x20handler\x20function!','_handler','proFlags','validateMakaSubscription','filter','addGenerator\x20requires\x20a\x20Generator\x20instance','search','Generator\x20requires\x20a\x20handler\x20function','To\x20use\x20these\x20pro\x20flags,\x20\x22','keys','replace','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','root','lib','Generator.create\x20requires\x20some\x20options!','Description','validateParams','exit','call','Generator\x20requires\x20a\x20name','length','aliases','options','Too\x20few\x20arguments','To\x20use\x20this\x20generator,\x20\x22','Too\x20many\x20options','includes','_generators','findGenerator','find','map','number','pop','server','cwd','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','sep','3448404OAaKBe','assign','findProjectDirectory','minOptsLength','forEach','Please\x20run\x20\x22maka\x20install\x20meteor\x22','chdir','domainLicense','bind','roles','listGenerators','maxOptsLength','checkWhere','No\x20resource\x20name\x20specified','toString','error','maxArgLength','constructor','where','getPro','notice','push','appPathPrefix','join','1604045YKOeMg','mustHaveMeteorInstalled','proGenerators','Server','both','invoke','function','12668eyVHpI','tableList','addGenerator','bright','--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27','client','sort','433552hjlpwQ','validateMakaProject','dir','apply','Name','mustBeInMakaProject','303yprUvB','validateMeteorInstall','colLocAnswer','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','4641255aRydsc','singleLicense','minArgLength','1165704SdwmHM','shortDesc','1016508yfTBLq','7TnUFes'];a55c=function(){return F;};return a55c();}export class Generator extends Tool{['options'];[a55t(0x12a)];constructor(a,b){const u=a55t;super();if(!a)throw new Error('Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object');if(!a[u(0x108)])throw new Error(u(0x122));if(typeof b!==u(0x152))throw new Error(u(0x116));this['_generators']=[],this['options']=Object[u(0x135)]({},a),this['name']=this['options'][u(0x108)],this[u(0x110)]=b[u(0x13c)](this);}static['create'](a,b,c){const v=a55t;if(!a)throw new Error(v(0x11d));if(typeof b!==v(0x152))throw new Error(v(0x10f));const d=new Generator(a,b);return c=c||a55g,Object[v(0x135)](d,{'parent':c?.['options']?.[v(0x108)]}),c[v(0x155)](d),d;}[a55t(0x155)](a){const w=a55t;if(!(a instanceof Generator))throw new Error(w(0x114));this[w(0x12a)][w(0x149)](a);}['findGenerator'](a){const x=a55t,b=this[x(0x12a)][x(0x12c)](c=>c[x(0x10e)](a));return b;}async[a55t(0x112)](a,b){const y=a55t,c=this[y(0x12b)](a[0x0]);if(c){const d=c?.[y(0x108)]||a[0x0],e=c?.[y(0x105)]||'',f=Object[y(0x118)](b),g=await this['fsi'][y(0x147)]();!g&&(Log[y(0x143)](y(0xfd)),process[y(0x120)](0x1));const h=!g?.['roles'][y(0x129)](y(0xff))&&!g?.[y(0x13d)][y(0x129)](y(0x13b)),i=g?.['proGenerators']['includes'](d)||g?.[y(0x14e)][y(0x129)](e);if(i&&h)throw y(0x127)+d+y(0x11a);if(f[y(0x123)]>0x0){const j=g?.[y(0x111)][y(0x113)](k=>f[y(0x129)](k));if(j&&j['length']>0x0&&h)throw y(0x117)+j?.[y(0x14b)](',\x20')+y(0x11a);}}}async[a55t(0x151)](a,b){const z=a55t,{usage:usage='',description:description='',examples:examples=[],shortDesc:c}=this['options'];try{await this[z(0x112)](a,b);}catch(f){Log['error'](f),process[z(0x120)](0x1);}const d=a[z(0x106)]();b[z(0x107)]=d[0x0];try{if((a[0x0]===_prevGen||a['length']===0x0)&&b['help'])throw new UsageError();if(this['options'][z(0xf9)]){const g=this[z(0xf5)]();if(!g)throw new MustBeInProjectError();}if(this[z(0x125)][z(0x14d)]){const h=this[z(0xfb)]();if(!h)throw new NoMeteorFoundError();}if(typeof this[z(0x125)][z(0x100)]==='number'){if(a[z(0x123)]<this['options'][z(0x100)]){Log['error'](z(0x126));throw new UsageError();}}if(typeof this[z(0x125)][z(0x144)]===z(0x12e)){if(a['length']>this[z(0x125)]['maxArgLength']){Log['error']('Too\x20many\x20arguments');throw new UsageError();}}if(typeof this[z(0x125)][z(0x137)]===z(0x12e)){if(Object['keys'](b)[z(0x123)]<this[z(0x125)][z(0x137)]){Log['error'](z(0x10b));throw new UsageError();}}if(typeof this['options'][z(0x13f)]==='number'){if(Object[z(0x118)](b)[z(0x123)]>=this['options'][z(0x13f)]){Log['error'](z(0x128));throw new UsageError();}}this[z(0x11f)](a,b,this[z(0x125)]);if(!b[z(0x107)]&&!this[z(0x125)][z(0x109)]){Log[z(0x143)](z(0x141));throw new UsageError();}_prevGen=a[0x0];}catch(i){Log[z(0x10d)](description,examples,usage,c);if(i instanceof UsageError)this[z(0x12a)][z(0x123)]>0x0&&b['help']&&(Log[z(0x148)]('Generators:'),this[z(0x154)](this['_generators']));else{if(i instanceof MustBeInProjectError)Log[z(0x143)]('You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator');else{if(i instanceof NoMeteorFoundError)Log[z(0x143)](z(0x132)),Log[z(0x148)](z(0x139));else{if(i instanceof NoMeteorAppFoundError)Log['error']('There\x20is\x20no\x20Meteor\x20application\x20here');else throw i;}}}process[z(0x120)](0x1);}return new Promise(j=>{const A=z;inside(b[A(0x131)],async()=>{const B=A;try{if(!b[B(0x11b)]&&!this['fsi'][B(0x136)]())throw new MustBeInProjectError();const k=b['resourceName']?.[B(0x119)](/\\/g,'/')['split']('/');!b[B(0xf6)]&&(k?.[B(0x123)]>0x1?(b['resourceName']=k[B(0x12f)](),d[0x0]=b[B(0x107)],b[B(0xf6)]=k[B(0x12d)](l=>{return paramCase(l);})[B(0x14b)](a55e[B(0x133)])):b[B(0xf6)]='');if(this[B(0x125)][B(0x140)]){if(!b[B(0x146)]){const m={'type':'list','name':B(0xfc),'message':B(0x10c),'choices':[{'name':'Client','value':'client'},{'name':B(0x14f),'value':B(0x130)},{'name':B(0x10a),'value':B(0x150)}]},{colLocAnswer:n}=await Actions['options'](m);n?b[B(0x146)]=n:b[B(0x146)]='both';}const l=[B(0x150),'client',B(0x130)];if(!l[B(0x129)](b[B(0x146)])){Log['error'](B(0x157));throw new UsageError();}switch(b[B(0x146)]){case'both':b[B(0x14a)]=B(0x11c);break;case'server':b[B(0x14a)]=B(0x130);break;case B(0x158):b[B(0x14a)]=B(0x158);break;default:b[B(0x14a)]='';}}j(this['_handler'][B(0x121)](this,d,b));}catch(o){console['error'](o);}});});}[a55t(0x13e)](){const C=a55t;this['tableList'](this[C(0x12a)]);}[a55t(0x154)](a){const D=a55t,b=new a55f({});b[D(0x149)]([D(0xf8),'Alias',D(0x11e)]),a[D(0x159)]()[D(0x138)](c=>{const E=D;b['push']([c[E(0x108)],c[E(0x124)](),c[E(0x102)]()]);}),Log[D(0x156)](b['toString']());}}
@@ -1 +1 @@
1
- (function(a,b){var f=a56d,c=a();while(!![]){try{var d=-parseInt(f(0x89))/0x1+-parseInt(f(0x87))/0x2*(-parseInt(f(0x82))/0x3)+parseInt(f(0x8b))/0x4*(parseInt(f(0x84))/0x5)+parseInt(f(0x7d))/0x6*(-parseInt(f(0x88))/0x7)+parseInt(f(0x8c))/0x8*(-parseInt(f(0x8a))/0x9)+parseInt(f(0x7f))/0xa*(-parseInt(f(0x80))/0xb)+parseInt(f(0x81))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0x8c53b));function a56d(a,b){var c=a56c();return a56d=function(d,e){d=d-0x7d;var f=c[d];return f;},a56d(a,b);}var a56b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a56d;if(c){var e=c[g(0x86)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a56a=a56b(this,function(){var h=a56d;return a56a['toString']()[h(0x8d)](h(0x83))[h(0x7e)]()[h(0x85)](a56a)[h(0x8d)](h(0x83));});a56a();import'./services/_index.js';import'./api.js';import'./collection.js';import'./component.js';import'./config.js';import'./dbc.js';import'./hook.js';import'./kit.js';import'./layout.js';import'./methods.js';function a56c(){var i=['1095618VdwDZW','387cJtKEH','142012KLGPEk','81792xOqquq','search','5568srwOeR','toString','8780mEDsPS','6853zdBdzS','13945812cTQtUV','15exeJvJ','(((.+)+)+)+$','160fKIlwq','constructor','apply','239280eCHmVR','1806DLdCNU'];a56c=function(){return i;};return a56c();}import'./package.js';import'./publish.js';import'./route.js';import'./service.js';import'./page.js';import'./maka.gen.js';import'./dockerfile.js';import'./maka.gen.js';
1
+ (function(a,b){var f=a56d,c=a();while(!![]){try{var d=parseInt(f(0x9f))/0x1*(parseInt(f(0xaa))/0x2)+-parseInt(f(0xa0))/0x3*(parseInt(f(0xa6))/0x4)+-parseInt(f(0x98))/0x5*(-parseInt(f(0xa4))/0x6)+-parseInt(f(0x9a))/0x7*(parseInt(f(0x99))/0x8)+-parseInt(f(0xa3))/0x9*(parseInt(f(0x9c))/0xa)+-parseInt(f(0x9e))/0xb*(-parseInt(f(0xa9))/0xc)+-parseInt(f(0x9d))/0xd*(parseInt(f(0xa7))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0x3d827));var a56b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a56d;if(c){var e=c[g(0x9b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a56a=a56b(this,function(){var h=a56d;return a56a[h(0xa5)]()['search'](h(0xa1))[h(0xa5)]()[h(0xa8)](a56a)[h(0xa2)](h(0xa1));});a56a();function a56c(){var i=['toString','94604TMHvMy','336GbkMDw','constructor','2796204SXPcGL','2LYXrNv','5635uKGnFV','112zWEjCo','70581zPWDEL','apply','4210JrXMuX','109876QMVtyH','11DNOYff','423949dtvkXh','15aTBHtq','(((.+)+)+)+$','search','7281JABsWA','2118qYWUiz'];a56c=function(){return i;};return a56c();}import'./services/_index.js';import'./api.js';import'./collection.js';import'./component.js';function a56d(a,b){var c=a56c();return a56d=function(d,e){d=d-0x98;var f=c[d];return f;},a56d(a,b);}import'./config.js';import'./dbc.js';import'./hook.js';import'./kit.js';import'./layout.js';import'./methods.js';import'./package.js';import'./publish.js';import'./route.js';import'./service.js';import'./page.js';import'./maka.gen.js';import'./dockerfile.js';import'./maka.gen.js';
@@ -1 +1 @@
1
- const a57z=a57d;(function(a,b){const w=a57d,c=a();while(!![]){try{const d=-parseInt(w(0x125))/0x1+-parseInt(w(0x127))/0x2+-parseInt(w(0x140))/0x3*(-parseInt(w(0x155))/0x4)+-parseInt(w(0x142))/0x5*(parseInt(w(0x17b))/0x6)+-parseInt(w(0x12c))/0x7+parseInt(w(0x174))/0x8*(parseInt(w(0x147))/0x9)+parseInt(w(0x158))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0x6998f));const a57b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a57d;if(c){const e=c[x(0x128)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a57a=a57b(this,function(){const y=a57d;return a57a[y(0x16c)]()[y(0x138)](y(0x130))['toString']()[y(0x137)](a57a)[y(0x138)]('(((.+)+)+)+$');});a57a();function a57c(){const C=['api/typeDefs.js','template','pathFromApp','collection','Verifying\x20meteor\x20package\x20requirements\x20...','withMethods','create','api','Scaffolding\x20for\x20an\x20api\x20concept\x20(i.e.\x20Todos).','/graphql/typeDefs','ddp-rate-limiter','maka:check','mongo','maka:rest\x20maka:check\x20ddp-rate-limiter\x20mdg:validated-method\x20mongo','toString','typeDefs.','invoke','/imports/api','typeList.push(','register-','imports','mdg:validated-method','64536piISTQ','checkbox','apiAnswers','api/publications.js','api/fixtures.js','findGenerator','TypeDefs\x20}\x20from\x20\x27','594546BMUpnr','withFixtures','\x0aimport\x20{\x20resolvers\x20as\x20','startup','injectAtBeginningOfFile','-api\x27;','161189fvAfHf','checkMeteorPackage','404828HfARRo','apply','engines','error','publications.','4127494hPlCng','api/api.js','fsi','Resolvers);\x0a\x0a','(((.+)+)+)+$','const','installMeteorPackage','resolvers.','includes','if\x20\x5c(','test','constructor','search','RPC\x20(Methods)','dir','rest-api.','Resolvers\x20}\x20from\x20\x27','fixtures.','notice','withPubs','5826UYQHMl','maka\x20g:api\x20todos','25ArgobR','getProjectConfig','push','withGql','Publications','630Qwarji','exit','withRest','import\x20{\x20typeDefs\x20as\x20','index.','graphql','api/methods.js','No\x20API\x20boundaries\x20selected','server','\x27;\x0a','apollo','tsx','maka:rest','none','1700BcehiT','GraphQL','injectIntoFile','4911870pwzvOS','REST\x20API','Fixtures','TypeDefs);\x0a','rest','rpc-methods.'];a57c=function(){return C;};return a57c();}import{Generator}from'../generator.js';function a57d(a,b){const c=a57c();return a57d=function(d,e){d=d-0x124;let f=c[d];return f;},a57d(a,b);}import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import a57e from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a57z(0x164)]({'name':a57z(0x165),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{api}\x20<resource-name>','shortDesc':a57z(0x166),'validOpts':[a57z(0x13a)],'examples':[a57z(0x141)]},async function(a,b){const A=a57z;try{const c=this[A(0x12e)][A(0x143)](),d=[{'name':A(0x139),'value':A(0x163)},{'name':A(0x15a),'value':A(0x17c)},{'name':A(0x146),'value':A(0x13f)}];c[A(0x129)][A(0x165)]===A(0x15c)&&d[A(0x144)]({'name':A(0x159),'value':'withRest'});c[A(0x129)]['graphql']===A(0x151)&&d[A(0x144)]({'name':A(0x156),'value':A(0x145)});const f={'type':A(0x175),'name':A(0x176),'message':'API\x20boundaries\x20to\x20create','pageSize':0x64,'choices':d},{apiAnswers:g}=await Actions['options'](f);g['length']===0x0&&(Log[A(0x12a)](A(0x14e)),process[A(0x148)](0x1)),this[A(0x12e)]['withValue'](c,async()=>{const B=A,h=this[B(0x12e)]['pathFromApp']({}),i=a[0x0],j=paramCase(i),k=camelCase(i),l=b[B(0x13a)]?'/'+b[B(0x13a)]+'/':'/',m={'name':pascalCase(i),'fileName':j,'camelCase':pascalCase(i),'optsDir':l,'api':c[B(0x129)][B(0x165)],'graphql':c['engines'][B(0x14c)],'test':c['engines'][B(0x136)],'noRename':!![],'withPubs':g['includes'](B(0x13f)),'withFixtures':g['includes'](B(0x17c)),'withMethods':g[B(0x134)](B(0x163)),'withRest':g[B(0x134)](B(0x149))};let n='js';c[B(0x129)]['js']===B(0x152)&&(n='ts');(!this[B(0x12e)][B(0x126)](B(0x153))||!this[B(0x12e)]['checkMeteorPackage'](B(0x169))||!this['fsi'][B(0x126)](B(0x168))||!this['fsi'][B(0x126)](B(0x173))||!this['fsi'][B(0x126)](B(0x16a)))&&(Log[B(0x13e)](B(0x162)),await this['fsi'][B(0x132)](B(0x16b),{'cwd':h}));const o=a57e[B(0x179)](B(0x161));o&&await o[B(0x16e)]([j],{'config':c,'where':B(0x14f)});c[B(0x129)][B(0x165)]===B(0x15c)&&(m['withRest']&&this['fsi'][B(0x15f)]({'srcPath':B(0x12d),'destPath':this[B(0x12e)][B(0x160)]({'pathParts':[B(0x172),B(0x165),b[B(0x13a)],j,B(0x13b)+n]}),'context':m,'config':c}));m[B(0x163)]&&this[B(0x12e)][B(0x15f)]({'srcPath':B(0x14d),'destPath':this[B(0x12e)]['pathFromApp']({'pathParts':['imports',B(0x165),b[B(0x13a)],j,B(0x15d)+n]}),'context':m,'config':c});m[B(0x17c)]&&this[B(0x12e)][B(0x15f)]({'srcPath':B(0x178),'destPath':this[B(0x12e)][B(0x160)]({'pathParts':[B(0x172),B(0x165),b['dir'],j,B(0x13d)+n]}),'context':m,'config':c});c['engines'][B(0x136)]!==B(0x154)&&this[B(0x12e)][B(0x15f)]({'srcPath':'api/tests.js','destPath':this[B(0x12e)][B(0x160)]({'pathParts':['imports',B(0x165),b['dir'],j,j+'.app-tests.'+n]}),'context':m,'config':c});m['withPubs']&&this[B(0x12e)][B(0x15f)]({'srcPath':B(0x177),'destPath':this[B(0x12e)][B(0x160)]({'pathParts':['imports','api',b[B(0x13a)],j,B(0x12b)+n]}),'context':m,'config':c});if(c[B(0x129)][B(0x14c)]===B(0x151)){if(g[B(0x134)](B(0x145))){const q=this[B(0x12e)]['pathFromApp']({'pathParts':[B(0x172),B(0x17e),B(0x14f),'index.'+c[B(0x129)]['js']]}),r=this[B(0x12e)]['rewriteDestinationPathForEngine']({'pathParts':[q],'config':c}),s=this[B(0x12e)]['pathFromApp']({'pathParts':[B(0x172),B(0x165),b[B(0x13a)],j,B(0x14c),B(0x16d)+n]}),t=B(0x16f)+l+j+B(0x167);this[B(0x12e)][B(0x15f)]({'srcPath':B(0x15e),'destPath':s,'context':m,'config':c}),this[B(0x12e)][B(0x17f)]({'filePath':r,'content':B(0x14a)+k+B(0x17a)+t+B(0x150)}),this['fsi'][B(0x157)]({'filePath':r,'content':B(0x170)+k+B(0x15b),'begin':B(0x131),'end':B(0x135)});const u=this[B(0x12e)][B(0x160)]({'pathParts':['imports',B(0x165),b[B(0x13a)],j,B(0x14c),B(0x133)+n]}),v=B(0x16f)+l+j+'/graphql/resolvers';this['fsi'][B(0x15f)]({'srcPath':'api/resolvers.js','destPath':u,'context':m,'config':c}),this[B(0x12e)]['injectAtBeginningOfFile']({'filePath':r,'content':B(0x17d)+k+B(0x13c)+v+'\x27;'}),this[B(0x12e)][B(0x157)]({'filePath':r,'content':'resolverList.push('+k+B(0x12f),'begin':'const','end':B(0x135)});}}this[B(0x12e)]['template']({'srcPath':'api/register-api.js','destPath':this['fsi']['pathFromApp']({'pathParts':[B(0x172),'startup',B(0x14f),B(0x171)+j+'-api.'+n]}),'context':m,'config':c,'force':!![]});const p=this['fsi'][B(0x160)]({'pathParts':[B(0x172),B(0x17e),B(0x14f),B(0x14b)+c[B(0x129)]['js']]});this[B(0x12e)]['injectAtEndOfFile']({'filePath':p,'content':'import\x20\x27./register-'+j+B(0x124)});});}catch(h){console['log'](h),process['exit'](0x0);}});
1
+ function a57d(a,b){const c=a57c();return a57d=function(d,e){d=d-0x18b;let f=c[d];return f;},a57d(a,b);}const a57y=a57d;(function(a,b){const w=a57d,c=a();while(!![]){try{const d=-parseInt(w(0x1a3))/0x1+-parseInt(w(0x19e))/0x2*(-parseInt(w(0x1a1))/0x3)+-parseInt(w(0x18d))/0x4*(-parseInt(w(0x1d9))/0x5)+-parseInt(w(0x1d2))/0x6+parseInt(w(0x1af))/0x7+parseInt(w(0x1ad))/0x8+-parseInt(w(0x1b3))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0x2fb9e));const a57b=(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;};}()),a57a=a57b(this,function(){const x=a57d;return a57a[x(0x19f)]()[x(0x1cd)]('(((.+)+)+)+$')[x(0x19f)]()[x(0x1c1)](a57a)[x(0x1cd)]('(((.+)+)+)+$');});a57a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import a57e from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a57y(0x1ca)]({'name':a57y(0x1b4),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{api}\x20<resource-name>','shortDesc':'Scaffolding\x20for\x20an\x20api\x20concept\x20(i.e.\x20Todos).','validOpts':['dir'],'examples':[a57y(0x18c)]},async function(a,b){const z=a57y;try{const c=this[z(0x1bf)][z(0x1b5)](),d=[{'name':z(0x1a7),'value':z(0x1d1)},{'name':z(0x195),'value':z(0x194)},{'name':z(0x1d6),'value':z(0x19a)}];c['engines'][z(0x1b4)]==='rest'&&d[z(0x190)]({'name':z(0x1a8),'value':'withRest'});c[z(0x1d8)]['graphql']===z(0x1a0)&&d[z(0x190)]({'name':z(0x1b6),'value':z(0x1c5)});const f={'type':z(0x1c9),'name':z(0x18b),'message':z(0x1a2),'pageSize':0x64,'choices':d},{apiAnswers:g}=await Actions[z(0x1be)](f);g['length']===0x0&&(Log['error'](z(0x196)),process[z(0x1ac)](0x1)),this[z(0x1bf)][z(0x1a6)](c,async()=>{const A=z,h=this[A(0x1bf)][A(0x1ab)]({}),i=a[0x0],j=paramCase(i),k=camelCase(i),l=b[A(0x1c0)]?'/'+b[A(0x1c0)]+'/':'/',m={'name':pascalCase(i),'fileName':j,'camelCase':pascalCase(i),'optsDir':l,'api':c[A(0x1d8)]['api'],'graphql':c[A(0x1d8)][A(0x18e)],'test':c[A(0x1d8)][A(0x1ce)],'noRename':!![],'withPubs':g['includes'](A(0x19a)),'withFixtures':g[A(0x198)](A(0x194)),'withMethods':g[A(0x198)](A(0x1d1)),'withRest':g[A(0x198)](A(0x1d3))};let n='js';c[A(0x1d8)]['js']===A(0x1c6)&&(n='ts');(!this[A(0x1bf)][A(0x1a5)](A(0x1cc))||!this[A(0x1bf)]['checkMeteorPackage']('maka:check')||!this[A(0x1bf)][A(0x1a5)](A(0x197))||!this[A(0x1bf)][A(0x1a5)](A(0x1b8))||!this[A(0x1bf)][A(0x1a5)]('mongo'))&&(Log['notice'](A(0x1b1)),await this[A(0x1bf)]['installMeteorPackage'](A(0x1aa),{'cwd':h}));const o=a57e[A(0x1d0)]('collection');o&&await o[A(0x1c3)]([j],{'config':c,'where':'server'});c[A(0x1d8)]['api']===A(0x1c7)&&(m[A(0x1d3)]&&this[A(0x1bf)][A(0x1c4)]({'srcPath':A(0x1b0),'destPath':this[A(0x1bf)][A(0x1ab)]({'pathParts':[A(0x193),A(0x1b4),b[A(0x1c0)],j,A(0x1cf)+n]}),'context':m,'config':c}));m[A(0x1d1)]&&this[A(0x1bf)][A(0x1c4)]({'srcPath':A(0x19b),'destPath':this['fsi'][A(0x1ab)]({'pathParts':[A(0x193),A(0x1b4),b[A(0x1c0)],j,A(0x1a9)+n]}),'context':m,'config':c});m[A(0x194)]&&this['fsi'][A(0x1c4)]({'srcPath':A(0x1da),'destPath':this['fsi'][A(0x1ab)]({'pathParts':[A(0x193),A(0x1b4),b[A(0x1c0)],j,'fixtures.'+n]}),'context':m,'config':c});c[A(0x1d8)][A(0x1ce)]!=='none'&&this[A(0x1bf)][A(0x1c4)]({'srcPath':A(0x192),'destPath':this[A(0x1bf)][A(0x1ab)]({'pathParts':[A(0x193),A(0x1b4),b[A(0x1c0)],j,j+A(0x1bd)+n]}),'context':m,'config':c});m['withPubs']&&this['fsi'][A(0x1c4)]({'srcPath':A(0x1cb),'destPath':this[A(0x1bf)][A(0x1ab)]({'pathParts':[A(0x193),'api',b[A(0x1c0)],j,'publications.'+n]}),'context':m,'config':c});if(c[A(0x1d8)][A(0x18e)]==='apollo'){if(g[A(0x198)](A(0x1c5))){const q=this[A(0x1bf)][A(0x1ab)]({'pathParts':[A(0x193),'startup',A(0x1bb),'index.'+c[A(0x1d8)]['js']]}),r=this[A(0x1bf)][A(0x19c)]({'pathParts':[q],'config':c}),s=this[A(0x1bf)][A(0x1ab)]({'pathParts':[A(0x193),A(0x1b4),b[A(0x1c0)],j,'graphql',A(0x1c2)+n]}),t=A(0x18f)+l+j+'/graphql/typeDefs';this['fsi'][A(0x1c4)]({'srcPath':A(0x1a4),'destPath':s,'context':m,'config':c}),this['fsi'][A(0x199)]({'filePath':r,'content':'import\x20{\x20typeDefs\x20as\x20'+k+A(0x1b9)+t+'\x27;\x0a'}),this['fsi'][A(0x1d7)]({'filePath':r,'content':'typeList.push('+k+'TypeDefs);\x0a','begin':A(0x191),'end':A(0x1ae)});const u=this[A(0x1bf)]['pathFromApp']({'pathParts':[A(0x193),A(0x1b4),b['dir'],j,A(0x18e),'resolvers.'+n]}),v=A(0x18f)+l+j+A(0x1c8);this[A(0x1bf)][A(0x1c4)]({'srcPath':'api/resolvers.js','destPath':u,'context':m,'config':c}),this['fsi'][A(0x199)]({'filePath':r,'content':A(0x1b7)+k+'Resolvers\x20}\x20from\x20\x27'+v+'\x27;'}),this['fsi'][A(0x1d7)]({'filePath':r,'content':'resolverList.push('+k+A(0x1d5),'begin':'const','end':A(0x1ae)});}}this[A(0x1bf)][A(0x1c4)]({'srcPath':A(0x1ba),'destPath':this[A(0x1bf)][A(0x1ab)]({'pathParts':[A(0x193),A(0x19d),A(0x1bb),'register-'+j+A(0x1b2)+n]}),'context':m,'config':c,'force':!![]});const p=this[A(0x1bf)][A(0x1ab)]({'pathParts':[A(0x193),A(0x19d),A(0x1bb),'index.'+c[A(0x1d8)]['js']]});this[A(0x1bf)]['injectAtEndOfFile']({'filePath':p,'content':A(0x1bc)+j+'-api\x27;'});});}catch(h){console[z(0x1d4)](h),process['exit'](0x0);}});function a57c(){const B=['rest','/graphql/resolvers','checkbox','create','api/publications.js','maka:rest','search','test','rest-api.','findGenerator','withMethods','1139406TIEOKZ','withRest','log','Resolvers);\x0a\x0a','Publications','injectIntoFile','engines','34785BAdwql','api/fixtures.js','apiAnswers','maka\x20g:api\x20todos','148xJEBGV','graphql','/imports/api','push','const','api/tests.js','imports','withFixtures','Fixtures','No\x20API\x20boundaries\x20selected','ddp-rate-limiter','includes','injectAtBeginningOfFile','withPubs','api/methods.js','rewriteDestinationPathForEngine','startup','199646RhQxkN','toString','apollo','3qGnbEO','API\x20boundaries\x20to\x20create','326127ZhtVAy','api/typeDefs.js','checkMeteorPackage','withValue','RPC\x20(Methods)','REST\x20API','rpc-methods.','maka:rest\x20maka:check\x20ddp-rate-limiter\x20mdg:validated-method\x20mongo','pathFromApp','exit','2715784mrRXSp','if\x20\x5c(','2055858tDqGzL','api/api.js','Verifying\x20meteor\x20package\x20requirements\x20...','-api.','2509965AVSutt','api','getProjectConfig','GraphQL','\x0aimport\x20{\x20resolvers\x20as\x20','mdg:validated-method','TypeDefs\x20}\x20from\x20\x27','api/register-api.js','server','import\x20\x27./register-','.app-tests.','options','fsi','dir','constructor','typeDefs.','invoke','template','withGql','tsx'];a57c=function(){return B;};return a57c();}