@maka/maka-cli 4.6.4 → 4.6.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (136) 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/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/build/_index.js +1 -1
  20. package/bundle/obf/src/commands/build/build.js +1 -1
  21. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/create.js +1 -1
  23. package/bundle/obf/src/commands/debug.js +1 -1
  24. package/bundle/obf/src/commands/deploy.js +1 -1
  25. package/bundle/obf/src/commands/game/_index.js +1 -1
  26. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/game/play.command.js +1 -1
  28. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  29. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  30. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  31. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  63. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  64. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  65. package/bundle/obf/src/commands/generate.js +1 -1
  66. package/bundle/obf/src/commands/get/_index.js +1 -1
  67. package/bundle/obf/src/commands/get/get.command.js +1 -1
  68. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/help.js +1 -1
  72. package/bundle/obf/src/commands/install.js +1 -1
  73. package/bundle/obf/src/commands/jsdoc.js +1 -1
  74. package/bundle/obf/src/commands/lint.js +1 -1
  75. package/bundle/obf/src/commands/login.js +1 -1
  76. package/bundle/obf/src/commands/logout.js +1 -1
  77. package/bundle/obf/src/commands/logs.js +1 -1
  78. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  79. package/bundle/obf/src/commands/murder.js +1 -1
  80. package/bundle/obf/src/commands/proxy.js +1 -1
  81. package/bundle/obf/src/commands/reconfig.js +1 -1
  82. package/bundle/obf/src/commands/run/_index.js +1 -1
  83. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  84. package/bundle/obf/src/commands/run/run.command.js +1 -1
  85. package/bundle/obf/src/commands/set/_index.js +1 -1
  86. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  87. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  88. package/bundle/obf/src/commands/set/set.command.js +1 -1
  89. package/bundle/obf/src/commands/ssh.js +1 -1
  90. package/bundle/obf/src/commands/ssl.js +1 -1
  91. package/bundle/obf/src/commands/test.js +1 -1
  92. package/bundle/obf/src/commands/version.js +1 -1
  93. package/bundle/obf/src/error.js +1 -1
  94. package/bundle/obf/src/exec.js +1 -1
  95. package/bundle/obf/src/generator.js +1 -1
  96. package/bundle/obf/src/generators/_index.js +1 -1
  97. package/bundle/obf/src/generators/api.js +1 -1
  98. package/bundle/obf/src/generators/collection.js +1 -1
  99. package/bundle/obf/src/generators/component.js +1 -1
  100. package/bundle/obf/src/generators/config.js +1 -1
  101. package/bundle/obf/src/generators/dbc.js +1 -1
  102. package/bundle/obf/src/generators/dockerfile.js +1 -1
  103. package/bundle/obf/src/generators/hook.js +1 -1
  104. package/bundle/obf/src/generators/kit.js +1 -1
  105. package/bundle/obf/src/generators/layout.js +1 -1
  106. package/bundle/obf/src/generators/maka.gen.js +1 -1
  107. package/bundle/obf/src/generators/methods.js +1 -1
  108. package/bundle/obf/src/generators/package.js +1 -1
  109. package/bundle/obf/src/generators/page.js +1 -1
  110. package/bundle/obf/src/generators/publish.js +1 -1
  111. package/bundle/obf/src/generators/route.js +1 -1
  112. package/bundle/obf/src/generators/service.js +1 -1
  113. package/bundle/obf/src/generators/services/_index.js +1 -1
  114. package/bundle/obf/src/generators/services/openssl.js +1 -1
  115. package/bundle/obf/src/generators/services/translation.js +1 -1
  116. package/bundle/obf/src/maka.js +1 -1
  117. package/bundle/obf/src/tool.js +1 -1
  118. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  119. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  120. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  121. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  122. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  123. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  124. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  125. package/bundle/obf/src/tools/https/https.class.js +1 -1
  126. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  127. package/bundle/obf/src/tools/https/progress.class.js +1 -1
  128. package/bundle/obf/src/tools/log/log.class.js +1 -1
  129. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  130. package/bundle/obf/src/tools/options/options.class.js +1 -1
  131. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  132. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  133. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  134. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  135. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  136. package/package.json +1 -1
@@ -1 +1 @@
1
- var a78i=a78d;(function(a,b){var f=a78d,c=a();while(!![]){try{var d=parseInt(f(0x81))/0x1*(parseInt(f(0x88))/0x2)+parseInt(f(0x86))/0x3+parseInt(f(0x80))/0x4*(parseInt(f(0x87))/0x5)+parseInt(f(0x77))/0x6+parseInt(f(0x85))/0x7+parseInt(f(0x7e))/0x8*(parseInt(f(0x78))/0x9)+-parseInt(f(0x7f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0x96aec));var a78b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a78d;if(c){var e=c[g(0x79)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){var h=a78d;return a78a['toString']()[h(0x84)](h(0x7c))[h(0x82)]()[h(0x74)](a78a)[h(0x84)]('(((.+)+)+)+$');});function a78d(a,b){var c=a78c();return a78d=function(d,e){d=d-0x74;var f=c[d];return f;},a78d(a,b);}function a78c(){var k=['630198aajmak','153KHfflD','apply','%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','font-family:\x20monospace','(((.+)+)+)+$','error','235096vZeneG','21406430UoGaoO','556cEscjb','1yxemnW','toString','maka\x20murder','search','2522037OGBnDh','678867uHEdCS','33195vwYiTF','1287652rFXKBK','constructor','murder','log'];a78c=function(){return k;};return a78c();}a78a();import{Command}from'../command.js';Command['create']({'name':a78i(0x75),'usage':a78i(0x83),'maxArgLength':0x1,'shortDesc':'Murrrrderrrrr','validOpts':[]},async function(){var j=a78i;try{console[j(0x76)](j(0x7a),j(0x7b));}catch(a){console[j(0x7d)](a),process['exit'](0x0);}});
1
+ function a78c(){var k=['667010ihNpng','1148iiVoaa','apply','30cnucXd','font-family:\x20monospace','268147keJskp','search','5844684ylBAfx','11886fuYLYx','maka\x20murder','error','122877ViGAxw','5904CXoFXo','toString','104qqSNdl','148920znYafJ','22xwUALz','(((.+)+)+)+$','create','%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','87wUjxZJ','log','constructor'];a78c=function(){return k;};return a78c();}function a78d(a,b){var c=a78c();return a78d=function(d,e){d=d-0x1df;var f=c[d];return f;},a78d(a,b);}var a78i=a78d;(function(a,b){var f=a78d,c=a();while(!![]){try{var d=parseInt(f(0x1e2))/0x1+parseInt(f(0x1e9))/0x2*(parseInt(f(0x1f1))/0x3)+-parseInt(f(0x1ec))/0x4*(parseInt(f(0x1e0))/0x5)+parseInt(f(0x1e5))/0x6*(parseInt(f(0x1f5))/0x7)+parseInt(f(0x1eb))/0x8*(parseInt(f(0x1e8))/0x9)+-parseInt(f(0x1f4))/0xa*(-parseInt(f(0x1ed))/0xb)+-parseInt(f(0x1e4))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0x44235));var a78b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a78d;if(c){var e=c[g(0x1df)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){var h=a78d;return a78a[h(0x1ea)]()[h(0x1e3)](h(0x1ee))[h(0x1ea)]()[h(0x1f3)](a78a)[h(0x1e3)](h(0x1ee));});a78a();import{Command}from'../command.js';Command[a78i(0x1ef)]({'name':'murder','usage':a78i(0x1e6),'maxArgLength':0x1,'shortDesc':'Murrrrderrrrr','validOpts':[]},async function(){var j=a78i;try{console[j(0x1f2)](j(0x1f0),j(0x1e1));}catch(a){console[j(0x1e7)](a),process['exit'](0x0);}});
@@ -1 +1 @@
1
- const a79q=a79d;(function(a,b){const n=a79d,c=a();while(!![]){try{const d=parseInt(n(0x1f3))/0x1*(-parseInt(n(0x1d1))/0x2)+-parseInt(n(0x1f6))/0x3*(-parseInt(n(0x1f2))/0x4)+parseInt(n(0x1d2))/0x5*(-parseInt(n(0x1e4))/0x6)+-parseInt(n(0x1fa))/0x7+-parseInt(n(0x1eb))/0x8*(-parseInt(n(0x1d8))/0x9)+parseInt(n(0x1f9))/0xa+parseInt(n(0x1d0))/0xb*(-parseInt(n(0x1ec))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0x56548));const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a79d;if(c){const e=c[o(0x1d9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const p=a79d;return a79a[p(0x1ce)]()[p(0x1d6)](p(0x1ed))[p(0x1ce)]()[p(0x1ea)](a79a)['search'](p(0x1ed));});a79a();import a79e from'fs';import a79f from'path';import a79g from'http-proxy';import{Command}from'../command.js';function a79c(){const s=['invoke','createProxyServer','\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','maka\x20proxy','maka\x20proxy\x20--target-host\x20http://192.168.1.20','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','.key','\x20to\x20','2065002SLKszA','error','readFileSync','findGenerator','getConfigPath','fsi','constructor','4638560LwhRbW','394164msYmqk','(((.+)+)+)+$','.csr','proxy','bright','join','103996UaATCq','63508uomTlb','sslconfig','.crt','60EZYZRL','localhost','mkKeysDir','3538260AMTFjg','738283CTGKGv','toString','appName','154XxEknU','6zBuSlU','5tpypjD','genSSC','listenPort','=>\x20SSL\x20Proxy\x20forwarding\x20','search','targetPort','9KIOWat','apply','isFile','listen'];a79c=function(){return s;};return a79c();}import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x1ce;let f=c[d];return f;},a79d(a,b);}import a79h from'../generators/maka.gen.js';Command['create']({'name':a79q(0x1ef),'usage':a79q(0x1df),'mustBeInMakaProject':!![],'validOpts':['help',a79q(0x1d7),a79q(0x1d4),'targetHost'],'maxArgLength':0x1,'shortDesc':'Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','description':a79q(0x1de),'examples':[a79q(0x1df),a79q(0x1e1),a79q(0x1e0)]},async function(a,b){const r=a79q,c=this[r(0x1e9)]['getProjectConfig'](),d='development',e=this['fsi'][r(0x1e8)](d),f=this['fsi'][r(0x1f8)]({'configPath':e}),g=b['targetPort']?Number(b['targetPort']):0xbb8,h=b[r(0x1d4)]?Number(b[r(0x1d4)]):0xd73,i=b['targetHost']?b['targetHost']:r(0x1f7),j=a79f['join'](f,c[r(0x1cf)]+r(0x1e2)),k=a79f[r(0x1f1)](f,c['appName']+r(0x1f5));if(!this[r(0x1e9)][r(0x1da)](j)||!this[r(0x1e9)][r(0x1da)](k)){const m=a79h[r(0x1e7)](r(0x1f4));m&&await m[r(0x1dc)]([r(0x1f4)],{'env':d}),SSL['genCSR']({'keyName':c[r(0x1cf)]+r(0x1e2),'csrName':c[r(0x1cf)]+r(0x1ee),'cwd':f}),SSL[r(0x1d3)]({'keyName':c[r(0x1cf)]+'.key','crtName':c[r(0x1cf)]+r(0x1f5),'cwd':f});}if(g===h){Log[r(0x1e5)]('Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.');throw new UsageError();}const l={'ssl':{'key':a79e[r(0x1e6)](j,'utf8'),'cert':a79e[r(0x1e6)](k,'utf8')},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a79g[r(0x1dd)](l)[r(0x1db)](Number(h)),Log[r(0x1f0)](r(0x1d5)+h+r(0x1e3)+g);});
1
+ const a79p=a79d;function a79c(){const r=['development','isFile','647916hxocbt','855519DMokGY','invoke','5JrMAAr','=>\x20SSL\x20Proxy\x20forwarding\x20','sslconfig','923768vnMLPp','targetPort','.csr','(((.+)+)+)+$','2606746DypfVI','join','421288aWUPwL','5043260FUSjSa','proxy','.key','listenPort','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','targetHost','bright','search','findGenerator','listen','mkKeysDir','77cPIafE','appName','readFileSync','createProxyServer','fsi','localhost','getProjectConfig','error','maka\x20proxy\x20--target-host\x20http://192.168.1.20','toString','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','.crt','create','maka\x20proxy','utf8','13811688JIBdjE','9vHWtyt','genCSR','3veGKje','\x20to\x20'];a79c=function(){return r;};return a79c();}function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x191;let f=c[d];return f;},a79d(a,b);}(function(a,b){const n=a79d,c=a();while(!![]){try{const d=-parseInt(n(0x1bd))/0x1+-parseInt(n(0x198))/0x2*(-parseInt(n(0x1b8))/0x3)+parseInt(n(0x19a))/0x4*(-parseInt(n(0x191))/0x5)+-parseInt(n(0x1bc))/0x6+-parseInt(n(0x1a6))/0x7*(-parseInt(n(0x194))/0x8)+parseInt(n(0x1b6))/0x9*(parseInt(n(0x19b))/0xa)+-parseInt(n(0x1b5))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0xb7f25));const a79b=(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;};}()),a79a=a79b(this,function(){const o=a79d;return a79a['toString']()[o(0x1a2)]('(((.+)+)+)+$')[o(0x1af)]()['constructor'](a79a)['search'](o(0x197));});a79a();import a79e from'fs';import a79f from'path';import a79g 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 a79h from'../generators/maka.gen.js';Command[a79p(0x1b2)]({'name':a79p(0x19c),'usage':a79p(0x1b3),'mustBeInMakaProject':!![],'validOpts':['help',a79p(0x195),a79p(0x19e),a79p(0x1a0)],'maxArgLength':0x1,'shortDesc':a79p(0x19f),'description':'\x0a\x20\x20If\x20you\x27re\x20running\x20your\x20Meteor\x20service,\x20and\x20need\x20to\x20stand\x20up\x20an\x20SSL\x0a\x20\x20Proxy,\x20this\x20command\x20will\x20automatically\x20create\x20a\x20key\x20pair\x20for\x20use\x20in\x20an\x20HTTPS\x0a\x20\x20proxy.\x0a\x0a\x20\x20For\x20example,\x20you\x27re\x20running\x20http://localhost:3000\x20with\x20\x22maka\x20run\x22\x20then\x20open\x20a\x20new\x0a\x20\x20terminal\x20and\x20run\x20\x22maka\x20proxy\x22\x20to\x20standup\x20https://localhost:3443.\x0a\x20\x20Then\x20open\x20your\x20browser\x20to\x20that\x20URL\x20(you\x20may\x20need\x20to\x20trust\x20the\x20certificates\x0a\x20\x20because\x20they\x20are\x20self-signed)\x20and\x20you\x27ll\x20have\x20an\x20SSL\x20connection\x20to\x20your\x0a\x20\x20http://localhost:3000.\x0a\x0a\x20\x20To\x20avoid\x20possibly\x20overwriting\x20PKI\x20files\x20in\x20higher\x20environments,\x20\x22maka\x20proxy\x22\x0a\x20\x20will\x20try\x20to\x20only\x20generate\x20/\x20store\x20PKI\x20keys\x20in\x20the\x20development\x20environment.\x0a\x20\x20','examples':['maka\x20proxy','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000',a79p(0x1ae)]},async function(a,b){const q=a79p,c=this[q(0x1aa)][q(0x1ac)](),d=q(0x1ba),e=this['fsi']['getConfigPath'](d),f=this[q(0x1aa)][q(0x1a5)]({'configPath':e}),g=b['targetPort']?Number(b[q(0x195)]):0xbb8,h=b['listenPort']?Number(b[q(0x19e)]):0xd73,i=b['targetHost']?b[q(0x1a0)]:q(0x1ab),j=a79f[q(0x199)](f,c['appName']+q(0x19d)),k=a79f['join'](f,c[q(0x1a7)]+q(0x1b1));if(!this[q(0x1aa)]['isFile'](j)||!this[q(0x1aa)][q(0x1bb)](k)){const m=a79h[q(0x1a3)](q(0x193));m&&await m[q(0x1be)](['sslconfig'],{'env':d}),SSL[q(0x1b7)]({'keyName':c[q(0x1a7)]+q(0x19d),'csrName':c[q(0x1a7)]+q(0x196),'cwd':f}),SSL['genSSC']({'keyName':c[q(0x1a7)]+'.key','crtName':c[q(0x1a7)]+'.crt','cwd':f});}if(g===h){Log[q(0x1ad)](q(0x1b0));throw new UsageError();}const l={'ssl':{'key':a79e[q(0x1a8)](j,q(0x1b4)),'cert':a79e[q(0x1a8)](k,q(0x1b4))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a79g[q(0x1a9)](l)[q(0x1a4)](Number(h)),Log[q(0x1a1)](q(0x192)+h+q(0x1b9)+g);});
@@ -1 +1 @@
1
- function a80c(){const s=['join','parse','notice','ssh.json','uname\x20-a','exit','apply','(((.+)+)+)+$','ping','error','search','9111jJgasG','success','580728LXOufd','create','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','4028370HJgLhU','~/settings.json','existsSync','3948000mWloTJ','8870616ebarDo','_keys','constructor','assign','~/ses.json','Reconfigure\x20your\x20deployed\x20applications','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','env','938440pIFVVY','settings.json','~/pm2.config.js','scp','fsi','maka\x20reconfig','28854kGrxhc','35FAKDzz','214BNtEkj','Remote\x20host\x20connection\x20successful','3400FljwBz','pm2\x20delete\x20all','sshSync','pm2.config.js','toString'];a80c=function(){return s;};return a80c();}const a80q=a80d;function a80d(a,b){const c=a80c();return a80d=function(d,e){d=d-0x136;let f=c[d];return f;},a80d(a,b);}(function(a,b){const n=a80d,c=a();while(!![]){try{const d=-parseInt(n(0x15a))/0x1*(parseInt(n(0x148))/0x2)+parseInt(n(0x137))/0x3+parseInt(n(0x140))/0x4+parseInt(n(0x147))/0x5*(parseInt(n(0x15c))/0x6)+parseInt(n(0x146))/0x7*(-parseInt(n(0x14a))/0x8)+parseInt(n(0x138))/0x9+parseInt(n(0x15f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0xd9404));const a80b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a80d;if(c){const e=c[o(0x155)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){const p=a80d;return a80a[p(0x14e)]()['search'](p(0x156))[p(0x14e)]()[p(0x13a)](a80a)[p(0x159)](p(0x156));});a80a();import a80e from'fs';import a80f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a80q(0x15d)]({'name':'reconfig','validOpts':[''],'requiredOpts':[a80q(0x13f)],'mustBeInMakaProject':!![],'usage':a80q(0x145),'shortDesc':a80q(0x13d),'description':'\x0a\x20\x20If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x0a\x20\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.\x0a\x20\x20','examples':['maka\x20reconfig\x20--env\x20prod']},async function(a,b){const r=a80q;try{const c=this[r(0x144)]['getConfigPath'](b[r(0x13f)]),d=a80f[r(0x14f)](c,r(0x152)),f=a80e['readFileSync'](d)['toString'](),g=JSON[r(0x150)](f);Object[r(0x13b)](g,{'env':c}),Log[r(0x151)]('Checking\x20remote\x20host\x20availability');const h=SSH[r(0x157)](r(0x153),g);if(!h)throw r(0x15e);if(h)Log[r(0x15b)](r(0x149));const i=a80f['join'](c,r(0x139),'ses.json');if(a80e[r(0x136)](i)){const l={'source':i,'dest':r(0x13c),'verbose':!![]};SSH[r(0x143)](l,{...g});}const j=a80f[r(0x14f)](c,r(0x14d));SSH['scp']({'source':j,'dest':r(0x142),'verbose':!![]},{...g});const k=a80f[r(0x14f)](c,r(0x141));SSH[r(0x143)]({'source':k,'dest':r(0x160),'verbose':!![]},{...g}),SSH[r(0x14c)](r(0x14b),g),await SSH['ssh'](r(0x13e),{...g},{'verbose':!![]});}catch(m){console[r(0x158)](m),process[r(0x154)](0x0);}});
1
+ const a80q=a80d;(function(a,b){const n=a80d,c=a();while(!![]){try{const d=parseInt(n(0xb5))/0x1*(-parseInt(n(0xa9))/0x2)+parseInt(n(0x96))/0x3+parseInt(n(0xa1))/0x4+parseInt(n(0x8d))/0x5*(parseInt(n(0xaf))/0x6)+parseInt(n(0x92))/0x7+parseInt(n(0x9e))/0x8+-parseInt(n(0xb6))/0x9*(parseInt(n(0x8c))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0xd099a));const a80b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a80d;if(c){const e=c[o(0x9a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){const p=a80d;return a80a[p(0x99)]()[p(0x9f)](p(0x93))[p(0x99)]()[p(0xa3)](a80a)['search'](p(0x93));});a80a();import a80e from'fs';import a80f from'path';function a80c(){const s=['~/pm2.config.js','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','toString','apply','\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','~/settings.json','Reconfigure\x20your\x20deployed\x20applications','10162128xZbCtI','search','join','2120416sziFDK','ssh','constructor','scp','ses.json','Checking\x20remote\x20host\x20availability','~/ses.json','ssh.json','5972vNOhyF','reconfig','exit','maka\x20reconfig','pm2\x20delete\x20all','pm2.config.js','6PfOAbD','notice','Remote\x20host\x20connection\x20successful','maka\x20reconfig\x20--env\x20prod','settings.json','uname\x20-a','265bzCvoD','27eyGFXO','5663530OtcmuS','2311805gwnMds','ping','env','create','error','3046743tOpSoP','(((.+)+)+)+$','success','existsSync','1940385oLYQUW'];a80c=function(){return s;};return a80c();}function a80d(a,b){const c=a80c();return a80d=function(d,e){d=d-0x8c;let f=c[d];return f;},a80d(a,b);}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a80q(0x90)]({'name':a80q(0xaa),'validOpts':[''],'requiredOpts':[a80q(0x8f)],'mustBeInMakaProject':!![],'usage':a80q(0xac),'shortDesc':a80q(0x9d),'description':a80q(0x9b),'examples':[a80q(0xb2)]},async function(a,b){const r=a80q;try{const c=this['fsi']['getConfigPath'](b[r(0x8f)]),d=a80f[r(0xa0)](c,r(0xa8)),f=a80e['readFileSync'](d)[r(0x99)](),g=JSON['parse'](f);Object['assign'](g,{'env':c}),Log[r(0xb0)](r(0xa6));const h=SSH[r(0x8e)](r(0xb4),g);if(!h)throw r(0x98);if(h)Log[r(0x94)](r(0xb1));const i=a80f[r(0xa0)](c,'_keys',r(0xa5));if(a80e[r(0x95)](i)){const l={'source':i,'dest':r(0xa7),'verbose':!![]};SSH['scp'](l,{...g});}const j=a80f[r(0xa0)](c,r(0xae));SSH['scp']({'source':j,'dest':r(0x97),'verbose':!![]},{...g});const k=a80f[r(0xa0)](c,r(0xb3));SSH[r(0xa4)]({'source':k,'dest':r(0x9c),'verbose':!![]},{...g}),SSH['sshSync'](r(0xad),g),await SSH[r(0xa2)]('echo\x20\x22\x22\x20&&\x20pm2\x20start\x20pm2.config.js\x20&&\x20echo\x20\x22\x22\x20||\x20echo\x20\x22Cound\x20not\x20find\x20PM2,\x20have\x20you\x20deployed\x20the\x20app\x20yet?\x22',{...g},{'verbose':!![]});}catch(m){console[r(0x91)](m),process[r(0xab)](0x0);}});
@@ -1 +1 @@
1
- function a81d(a,b){var c=a81c();return a81d=function(d,e){d=d-0x1f0;var f=c[d];return f;},a81d(a,b);}(function(a,b){var f=a81d,c=a();while(!![]){try{var d=parseInt(f(0x1fb))/0x1+parseInt(f(0x1fc))/0x2*(-parseInt(f(0x1f3))/0x3)+parseInt(f(0x1f0))/0x4+parseInt(f(0x1f6))/0x5+parseInt(f(0x1f7))/0x6+-parseInt(f(0x1f8))/0x7*(parseInt(f(0x1f2))/0x8)+-parseInt(f(0x1f5))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0xe8bb4));var a81b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a81d;if(c){var e=c[g(0x1fa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){var h=a81d;return a81a[h(0x1f9)]()[h(0x1f4)](h(0x1f1))[h(0x1f9)]()['constructor'](a81a)[h(0x1f4)](h(0x1f1));});a81a();import'./run.command.js';function a81c(){var i=['3335145wRGBjd','408120QnaoPj','14mUoKMo','toString','apply','1711125FHnlZn','570162QElugy','3097212fPYlgt','(((.+)+)+)+$','4143000HykVJJ','9oiHsDB','search','3385944eUhAiB'];a81c=function(){return i;};return a81c();}import'./docker.sub.cmd.js';
1
+ function a81c(){var i=['635496GtKfmJ','161GMPaLK','7WWRchM','6803766nEOvRc','toString','5nSpDaq','53338ddRwIe','(((.+)+)+)+$','constructor','3568734CgogmJ','5158860SUMXDa','apply','20130hyYNiS','6240908ndiVlf','search','31251KWFRat'];a81c=function(){return i;};return a81c();}(function(a,b){var f=a81d,c=a();while(!![]){try{var d=parseInt(f(0x1ca))/0x1*(parseInt(f(0x1ce))/0x2)+-parseInt(f(0x1d2))/0x3+-parseInt(f(0x1d5))/0x4*(parseInt(f(0x1cd))/0x5)+-parseInt(f(0x1d1))/0x6+parseInt(f(0x1c9))/0x7*(-parseInt(f(0x1d8))/0x8)+parseInt(f(0x1cb))/0x9+-parseInt(f(0x1d4))/0xa*(-parseInt(f(0x1d7))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0xea59f));var a81b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a81d;if(c){var e=c[g(0x1d3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){var h=a81d;return a81a[h(0x1cc)]()[h(0x1d6)](h(0x1cf))[h(0x1cc)]()[h(0x1d0)](a81a)[h(0x1d6)](h(0x1cf));});function a81d(a,b){var c=a81c();return a81d=function(d,e){d=d-0x1c9;var f=c[d];return f;},a81d(a,b);}a81a();import'./run.command.js';import'./docker.sub.cmd.js';
@@ -1 +1 @@
1
- const a82l=a82d;(function(a,b){const i=a82d,c=a();while(!![]){try{const d=-parseInt(i(0xe7))/0x1*(parseInt(i(0xfa))/0x2)+-parseInt(i(0xee))/0x3*(-parseInt(i(0xeb))/0x4)+parseInt(i(0x103))/0x5+-parseInt(i(0x102))/0x6+parseInt(i(0xf1))/0x7+parseInt(i(0x101))/0x8+-parseInt(i(0xfd))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x6c634));const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a82d;if(c){const e=c[j(0xed)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const k=a82d;return a82a[k(0xe8)]()[k(0xef)](k(0xf8))[k(0xe8)]()[k(0xf3)](a82a)['search'](k(0xf8));});a82a();import a82e from'./run.command.js';function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0xe7;let f=c[d];return f;},a82d(a,b);}function a82c(){const n=['exit','createFile','(((.+)+)+)+$','docker-compose.yaml','2QBFxXA','Docker\x20Compose\x20Path:\x20','getConfigPath','1177434rIYVkh','notice','pm2.config.js','PM2\x20Config\x20File:\x20','722520XShuYA','5272338NylhMF','2488120QsSxmy','create','566661LCYJVe','toString','join','docker-compose\x20--project-directory\x20','31684LIxLsS','inherit','apply','240hIFNWU','search','fsi','5589829ncamGG','appName','constructor','maka\x20run\x20docker','\x20up\x20--remove-orphans'];a82c=function(){return n;};return a82c();}import{execSync}from'child_process';import a82f from'path';import a82g from'fs';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';Command[a82l(0x104)]({'name':'docker','aliases':['d'],'shortDesc':'Run\x20your\x20application\x20in\x20a\x20Docker\x20container','description':'\x0a\x20\x20Run\x20your\x20application\x20in\x20a\x20Docker\x20container.\x20\x20Docker\x20Desktop\x20or\x20Colmia\x20is\x20required.\x0a\x0a\x20\x20Colima\x20is\x20a\x20great\x20alternative\x20to\x20Docker\x20Desktop,\x20and\x20it\x20is\x20free!\x0a\x20\x20Colima:\x20https://github.com/abiosoft/colima\x0a\x0a\x0a\x20\x20A\x20docker-compose.yml\x20file\x20(location\x20defaulted\x20to\x20the\x20\x22config/docker\x22\x20folder)\x0a\x20\x20is\x20used\x20to\x20startup\x20mongo\x20and\x20load\x20the\x20built\x20image\x27\x0a\x20\x20','usage':a82l(0xf4),'validOpts':['']},async function(){const m=a82l;try{const a=this[m(0xf0)]['getProjectConfig'](),b=this[m(0xf0)][m(0xfc)]('docker'),c=a82f[m(0xe9)](b,m(0xf9)),d=a82f[m(0xe9)](b,m(0xff));Log[m(0xfe)](m(0x100)+d),Log['notice'](m(0xfb)+c);if(!a82g['existsSync'](c)){const f={'app':a[m(0xf2)],'appFileCase':paramCase(a['appName'])},g=this[m(0xf0)]['templateContent']({'srcPath':'config/docker-compose.yaml','context':f})+'\x0a';this[m(0xf0)][m(0xf7)]({'filePath':c,'data':g});}execSync(m(0xea)+b+m(0xf5),{'stdio':m(0xec)});}catch(h){process[m(0xf6)](0x1);}},a82e);
1
+ const a82l=a82d;(function(a,b){const i=a82d,c=a();while(!![]){try{const d=-parseInt(i(0x1b0))/0x1*(parseInt(i(0x1b7))/0x2)+parseInt(i(0x1b3))/0x3+parseInt(i(0x1bb))/0x4+-parseInt(i(0x1cd))/0x5*(parseInt(i(0x1bc))/0x6)+parseInt(i(0x1be))/0x7*(parseInt(i(0x1b8))/0x8)+-parseInt(i(0x1ca))/0x9*(parseInt(i(0x1c0))/0xa)+-parseInt(i(0x1c6))/0xb*(-parseInt(i(0x1bd))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x79c53));const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a82d;if(c){const e=c[j(0x1d1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const k=a82d;return a82a[k(0x1c4)]()['search'](k(0x1c5))[k(0x1c4)]()[k(0x1b1)](a82a)['search'](k(0x1c5));});function a82c(){const n=['appName','fsi','apply','1VolvmQ','constructor','PM2\x20Config\x20File:\x20','1180671olTYcn','config/docker-compose.yaml','existsSync','templateContent','997714UnpKHK','8WHILKi','docker-compose.yaml','\x20up\x20--remove-orphans','3857232CPXsbW','1898964iVHJxn','803688fhWPoH','2024883NIIPVM','inherit','93020iazetA','join','pm2.config.js','docker-compose\x20--project-directory\x20','toString','(((.+)+)+)+$','11skGVYu','maka\x20run\x20docker','getConfigPath','exit','387tZGtZI','docker','getProjectConfig','5Znrczo','createFile'];a82c=function(){return n;};return a82c();}a82a();import a82e from'./run.command.js';import{execSync}from'child_process';import a82f from'path';import a82g from'fs';import{Log}from'../../tools/log/log.class.js';function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x1b0;let f=c[d];return f;},a82d(a,b);}import{Command}from'../../command.js';import{paramCase}from'change-case';Command['create']({'name':'docker','aliases':['d'],'shortDesc':'Run\x20your\x20application\x20in\x20a\x20Docker\x20container','description':'\x0a\x20\x20Run\x20your\x20application\x20in\x20a\x20Docker\x20container.\x20\x20Docker\x20Desktop\x20or\x20Colmia\x20is\x20required.\x0a\x0a\x20\x20Colima\x20is\x20a\x20great\x20alternative\x20to\x20Docker\x20Desktop,\x20and\x20it\x20is\x20free!\x0a\x20\x20Colima:\x20https://github.com/abiosoft/colima\x0a\x0a\x0a\x20\x20A\x20docker-compose.yml\x20file\x20(location\x20defaulted\x20to\x20the\x20\x22config/docker\x22\x20folder)\x0a\x20\x20is\x20used\x20to\x20startup\x20mongo\x20and\x20load\x20the\x20built\x20image\x27\x0a\x20\x20','usage':a82l(0x1c7),'validOpts':['']},async function(){const m=a82l;try{const a=this['fsi'][m(0x1cc)](),b=this[m(0x1d0)][m(0x1c8)](m(0x1cb)),c=a82f[m(0x1c1)](b,m(0x1b9)),d=a82f['join'](b,m(0x1c2));Log['notice'](m(0x1b2)+d),Log['notice']('Docker\x20Compose\x20Path:\x20'+c);if(!a82g[m(0x1b5)](c)){const f={'app':a[m(0x1cf)],'appFileCase':paramCase(a[m(0x1cf)])},g=this[m(0x1d0)][m(0x1b6)]({'srcPath':m(0x1b4),'context':f})+'\x0a';this[m(0x1d0)][m(0x1ce)]({'filePath':c,'data':g});}execSync(m(0x1c3)+b+m(0x1ba),{'stdio':m(0x1bf)});}catch(h){process[m(0x1c9)](0x1);}},a82e);
@@ -1 +1 @@
1
- const a83v=a83d;(function(a,b){const r=a83d,c=a();while(!![]){try{const d=parseInt(r(0x1b8))/0x1+parseInt(r(0x1a6))/0x2+-parseInt(r(0x19e))/0x3+parseInt(r(0x1c0))/0x4*(-parseInt(r(0x1ae))/0x5)+parseInt(r(0x1ce))/0x6+-parseInt(r(0x1d0))/0x7+parseInt(r(0x1b3))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0x43f05));const a83b=(function(){let a=!![];return function(b,c){const d=a?function(){const s=a83d;if(c){const e=c[s(0x19c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){const t=a83d;return a83a[t(0x1a9)]()[t(0x1bf)](t(0x1ca))[t(0x1a9)]()[t(0x1b9)](a83a)[t(0x1bf)](t(0x1ca));});a83a();import a83e from'path';import a83f from'fs';import a83g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';function a83c(){const y=['error','exit','production','5qQlUlk','Run\x20your\x20Meteor\x20application','notice','autoupdate','warn','2808144kZEsek','--production','ios','slice','local','203091UJtmoa','constructor','create','settings','app','runSubCommand','fsi','search','1558548TSbAMo','process.env','--settings','splice','config','development','Node\x20Env\x20Config:\x20','findSubCommand','forEach','mobile-server','(((.+)+)+)+$','exclude-archs','verbose','invokeMeteorCommand','1569276dMxMba','allowIncompatibleUpdate','1428126XQxqyR','concat','isFile','openSync','.meteor','\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.','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)','installMeteorPackage','argv','run','findProjectDirectory','checkMeteorPackage','isDirectory','push','apply','sep','1085337MwDRwv','rawLogs','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','mobileServer','docker','extraPackages','--env','settings.json','836112yLSzbH','inspect','join','toString','Meteor\x20Settings:\x20'];a83c=function(){return y;};return a83c();}import{Log}from'../../tools/log/log.class.js';function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0x194;let f=c[d];return f;},a83d(a,b);}const syncSource=function(a){const u=a83d;a83f[u(0x1d3)](a,'r'),a83g[u(0x1c4)]({'path':a});},Run=Command[a83v(0x1ba)]({'name':'run','mustBeInMakaProject':!![],'shortDesc':a83v(0x1af),'description':a83v(0x1d5),'validOpts':['env','docker','r',a83v(0x19f),'p','port','i',a83v(0x1a7),'m',a83v(0x1a1),'v',a83v(0x1cc),a83v(0x1cf),a83v(0x1a3),'x',a83v(0x1cb),a83v(0x1ad)]},async function(a,b){const w=a83v;try{const c=this['fsi'][w(0x198)]();!this['fsi'][w(0x199)](w(0x1b1))&&(Log[w(0x1b0)]('Verifying\x20meteor\x20package\x20requirements\x20...'),await this[w(0x1be)][w(0x195)]('autoupdate',{'cwd':c}));const d=a[0x0],f=this[w(0x1c7)](d);f&&this[w(0x1bd)](d,a,b);if(d===w(0x1b5)){const n=this['fsi']['findProjectDirectory'](),o=a83e['join'](n,w(0x1bc),w(0x1d4),w(0x1b7),'cordova-build');this[w(0x1be)][w(0x19a)](o)&&await rimraf(o);}if(b[w(0x1c9)]&&b['mobile-server']===!![]||b['m']&&b['m']===!![])throw w(0x194);await this['fsi']['compareMakaToLatest']();const g=b['env']?b['env']:w(0x1c5),h=this['fsi']['getConfigPath'](g),i=a83e[w(0x1a8)](h,w(0x1c1));let j=a83e[w(0x1a8)](h,w(0x1a5));b[w(0x1bb)]?j=b['settings']:j=a83e[w(0x1a8)](h,w(0x1a5));if(this[w(0x1be)]['isFile'](i)&&!b[w(0x1a2)])Log[w(0x1b0)](w(0x1c6)+i),syncSource(i);else!b[w(0x1a2)]&&Log['warn']('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+i);this['fsi'][w(0x1d2)](j)?(Log['notice'](w(0x1aa)+j),a=a[w(0x1d1)]([w(0x1c2),j])):Log[w(0x1b2)](w(0x1a0)+j);const k=h['split'](a83e[w(0x19d)]),l=k[k['length']-0x1];l==='production'&&a[w(0x19b)](w(0x1b4));const m=process[w(0x196)][w(0x1b6)](0x2)['filter'](p=>p!==w(0x197))['filter'](p=>p!==a[0x0]);m[w(0x1c8)]((p,q)=>{const x=w;p===x(0x1a4)&&m[x(0x1c3)](q,0x2),p==='-e'&&m['splice'](q,0x2);}),this['fsi'][w(0x1cd)](w(0x197),a[w(0x1d1)](m));}catch(p){console[w(0x1ab)](p),process[w(0x1ac)](0x1);}});export default Run;
1
+ const a83v=a83d;(function(a,b){const r=a83d,c=a();while(!![]){try{const d=-parseInt(r(0xb1))/0x1+parseInt(r(0xa7))/0x2+parseInt(r(0xd8))/0x3*(parseInt(r(0xc1))/0x4)+parseInt(r(0xc9))/0x5+parseInt(r(0xa1))/0x6*(-parseInt(r(0xc0))/0x7)+parseInt(r(0xbf))/0x8+-parseInt(r(0xd1))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0x8f211));const a83b=(function(){let a=!![];return function(b,c){const d=a?function(){const s=a83d;if(c){const e=c[s(0xb0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){const t=a83d;return a83a[t(0xb3)]()[t(0xce)](t(0x9e))[t(0xb3)]()[t(0xb5)](a83a)['search']('(((.+)+)+)+$');});a83a();import a83e from'path';import a83f from'fs';import a83g from'dotenv';function a83c(){const y=['1545615qsSKWe','ios','checkMeteorPackage','runSubCommand','--production','search','port','splice','8174016DJVYvp','autoupdate','argv','join','notice','openSync','sep','12qXtFZr','isDirectory','(((.+)+)+)+$','mobileServer','docker','24xMaPPc','settings','development','concat','local','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)','1188046PFovUN','warn','findProjectDirectory','env','allowIncompatibleUpdate','exclude-archs','Node\x20Env\x20Config:\x20','production','extraPackages','apply','344113gtxjhm','verbose','toString','split','constructor','inspect','app','Run\x20your\x20Meteor\x20application','--settings','run','\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.','fsi','slice','forEach','3257216vnjdAZ','190239KXlWGb','637004BFpvlP','Meteor\x20Settings:\x20','filter','settings.json','--env','compareMakaToLatest','Verifying\x20meteor\x20package\x20requirements\x20...','.meteor'];a83c=function(){return y;};return a83c();}import{rimraf}from'rimraf';function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0x9d;let f=c[d];return f;},a83d(a,b);}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const u=a83d;a83f[u(0xd6)](a,'r'),a83g['config']({'path':a});},Run=Command['create']({'name':'run','mustBeInMakaProject':!![],'shortDesc':a83v(0xb8),'description':a83v(0xbb),'validOpts':[a83v(0xaa),a83v(0xa0),'r','rawLogs','p',a83v(0xcf),'i',a83v(0xb6),'m',a83v(0x9f),'v',a83v(0xb2),a83v(0xab),a83v(0xaf),'x',a83v(0xac),a83v(0xae)]},async function(a,b){const w=a83v;try{const c=this[w(0xbc)][w(0xa9)]();!this['fsi'][w(0xcb)]('autoupdate')&&(Log[w(0xd5)](w(0xc7)),await this[w(0xbc)]['installMeteorPackage'](w(0xd2),{'cwd':c}));const d=a[0x0],f=this['findSubCommand'](d);f&&this[w(0xcc)](d,a,b);if(d===w(0xca)){const n=this['fsi'][w(0xa9)](),o=a83e[w(0xd4)](n,w(0xb7),w(0xc8),w(0xa5),'cordova-build');this[w(0xbc)][w(0x9d)](o)&&await rimraf(o);}if(b['mobile-server']&&b['mobile-server']===!![]||b['m']&&b['m']===!![])throw w(0xa6);await this[w(0xbc)][w(0xc6)]();const g=b[w(0xaa)]?b['env']:w(0xa3),h=this[w(0xbc)]['getConfigPath'](g),i=a83e[w(0xd4)](h,'process.env');let j=a83e[w(0xd4)](h,w(0xc4));b[w(0xa2)]?j=b[w(0xa2)]:j=a83e[w(0xd4)](h,'settings.json');if(this[w(0xbc)]['isFile'](i)&&!b[w(0xa0)])Log[w(0xd5)](w(0xad)+i),syncSource(i);else!b[w(0xa0)]&&Log[w(0xa8)]('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+i);this['fsi']['isFile'](j)?(Log[w(0xd5)](w(0xc2)+j),a=a[w(0xa4)]([w(0xb9),j])):Log['warn']('Cannot\x20find\x20Meteor\x20Settings\x20File:\x20'+j);const k=h[w(0xb4)](a83e[w(0xd7)]),l=k[k['length']-0x1];l===w(0xae)&&a['push'](w(0xcd));const m=process[w(0xd3)][w(0xbd)](0x2)[w(0xc3)](p=>p!==w(0xba))[w(0xc3)](p=>p!==a[0x0]);m[w(0xbe)]((p,q)=>{const x=w;p===x(0xc5)&&m[x(0xd0)](q,0x2),p==='-e'&&m['splice'](q,0x2);}),this['fsi']['invokeMeteorCommand'](w(0xba),a[w(0xa4)](m));}catch(p){console['error'](p),process['exit'](0x1);}});export default Run;
@@ -1 +1 @@
1
- (function(a,b){var f=a84d,c=a();while(!![]){try{var d=-parseInt(f(0xed))/0x1*(parseInt(f(0xec))/0x2)+parseInt(f(0xe9))/0x3*(-parseInt(f(0xeb))/0x4)+parseInt(f(0xf2))/0x5+parseInt(f(0xee))/0x6+parseInt(f(0xea))/0x7+-parseInt(f(0xef))/0x8+parseInt(f(0xf5))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0xa4ee8));var a84b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a84d;if(c){var e=c[g(0xf3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){var h=a84d;return a84a[h(0xf0)]()['search']('(((.+)+)+)+$')[h(0xf0)]()[h(0xf1)](a84a)['search'](h(0xf4));});function a84c(){var i=['503960vjFyAY','toString','constructor','4375985FaqbSP','apply','(((.+)+)+)+$','5271345pjKPdh','80559hKOWBO','1369354HyAHFU','132iDuXoV','2jfmmdM','539442ptPpcN','3045732aMGMmU'];a84c=function(){return i;};return a84c();}a84a();import'./set.command.js';import'./global.sub.cmd.js';function a84d(a,b){var c=a84c();return a84d=function(d,e){d=d-0xe9;var f=c[d];return f;},a84d(a,b);}import'./local.sub.cmd.js';
1
+ (function(a,b){var f=a84d,c=a();while(!![]){try{var d=parseInt(f(0x11e))/0x1+-parseInt(f(0x11b))/0x2+parseInt(f(0x118))/0x3*(parseInt(f(0x121))/0x4)+parseInt(f(0x11c))/0x5+parseInt(f(0x11a))/0x6+-parseInt(f(0x115))/0x7*(-parseInt(f(0x11d))/0x8)+-parseInt(f(0x117))/0x9*(parseInt(f(0x114))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0xab523));function a84c(){var i=['30116BJhhQC','345430cZQJde','6328763eGNnbs','apply','927yNiaPW','381DnyLyx','(((.+)+)+)+$','316332jAnjPw','619478gKWJIR','6414165RGWARP','8GXTkDg','1373552matNOo','search','toString'];a84c=function(){return i;};return a84c();}var a84b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a84d;if(c){var e=c[g(0x116)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){var h=a84d;return a84a[h(0x120)]()[h(0x11f)](h(0x119))[h(0x120)]()['constructor'](a84a)[h(0x11f)](h(0x119));});a84a();function a84d(a,b){var c=a84c();return a84d=function(d,e){d=d-0x114;var f=c[d];return f;},a84d(a,b);}import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';
@@ -1 +1 @@
1
- const a85k=a85d;(function(a,b){const h=a85d,c=a();while(!![]){try{const d=-parseInt(h(0x159))/0x1+parseInt(h(0x163))/0x2*(-parseInt(h(0x175))/0x3)+-parseInt(h(0x15d))/0x4+-parseInt(h(0x16f))/0x5+parseInt(h(0x173))/0x6*(parseInt(h(0x154))/0x7)+-parseInt(h(0x16e))/0x8*(-parseInt(h(0x15a))/0x9)+parseInt(h(0x160))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0xed3d0));function a85d(a,b){const c=a85c();return a85d=function(d,e){d=d-0x151;let f=c[d];return f;},a85d(a,b);}const a85b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a85d;if(c){const e=c[i(0x165)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){const j=a85d;return a85a[j(0x17b)]()[j(0x174)](j(0x15c))['toString']()[j(0x156)](a85a)[j(0x174)](j(0x15c));});a85a();function a85c(){const m=['1602xmSIVp','search','75HRxJPR','maka\x20set:gc\x20--workspace\x20<path>','help','allowInsecure','disallowInsecure','light','toString','Set\x20CA\x20Cert\x20Path:\x20','isDirectory','fsi','boolean','17703DzaDmO','success','constructor','maka\x20set:gc\x20--insecure\x20<path>','workspace','68469yAkPRy','9zrwNnC','exit','(((.+)+)+)+$','2982888LElgaL','Set\x20allowInsecure:\x20','isFile','3192860XhEPol','openai','resolve','10996XWJYtP','Could\x20not\x20find\x20directory','apply','maka\x20set:global-config\x20--cacert\x20<path>','cacert','Set\x20color\x20pallet\x20to:\x20','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','global-config','Set\x20workspace:\x20','Set\x20OpenAI\x20Key:\x20','8475800dJmUWw','653175yITYzm','pallet','error','setGlobalConfig'];a85c=function(){return m;};return a85c();}import a85e from'path';import a85f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a85k(0x16b),'usage':'maka\x20set:global-config\x20<args>','aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[{'name':a85k(0x167),'boolFlag':![]},{'name':'allowInsecure','boolFlag':!![]},{'name':a85k(0x179),'boolFlag':!![]},{'name':a85k(0x158),'boolFlag':![]},{'name':a85k(0x161),'boolFlag':![]},{'name':a85k(0x177),'boolFlag':!![]},{'name':'pallet','values':[a85k(0x17a),'dark']}],'shortDesc':'Set\x20global\x20Maka-CLI\x20settings','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\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','examples':[a85k(0x166),a85k(0x157),a85k(0x176)]},async function(a,b){const l=a85k;try{if(b[l(0x167)]){if(this[l(0x152)][l(0x15f)](b[l(0x167)]))await this[l(0x152)][l(0x172)]({'cert':b['cacert']}),Log[l(0x155)](l(0x17c)+b[l(0x167)]);else{const c=typeof b['cacert']===l(0x153)?l(0x16a):l(0x169)+b[l(0x167)];throw Log[l(0x171)](c);}}if(b[l(0x158)]){const d=this[l(0x152)][l(0x151)](b[l(0x158)]);if(d)await this[l(0x152)][l(0x172)]({'workspace':a85e['resolve'](b['workspace'])}),Log[l(0x155)](l(0x16c)+a85e[l(0x162)](b[l(0x158)]));else throw Log[l(0x171)](l(0x164));}b[l(0x161)]&&(await this[l(0x152)]['setGlobalConfig']({'openai':b['openai']}),Log[l(0x155)](l(0x16d)+b[l(0x161)]));b[l(0x170)]&&(await this[l(0x152)]['setGlobalConfig']({'pallet':b[l(0x170)]}),Log[l(0x155)](l(0x168)+b[l(0x170)]));if(b[l(0x178)]){if(b[l(0x178)]&&b[l(0x179)])throw Log[l(0x171)]('One\x20or\x20the\x20other\x20buddy');let f=b['allowInsecure'];b[l(0x179)]&&(f=![]),await this[l(0x152)][l(0x172)]({'allowInsecure':f}),Log[l(0x155)](l(0x15e)+f);}process['exit'](0x0);}catch(g){console[l(0x171)](g),process[l(0x15b)](0x0);}},a85f);
1
+ const a85k=a85d;(function(a,b){const h=a85d,c=a();while(!![]){try{const d=parseInt(h(0x1fd))/0x1*(-parseInt(h(0x1dc))/0x2)+parseInt(h(0x1e0))/0x3*(parseInt(h(0x1fa))/0x4)+parseInt(h(0x1db))/0x5+parseInt(h(0x1e4))/0x6+-parseInt(h(0x201))/0x7*(parseInt(h(0x205))/0x8)+-parseInt(h(0x1fe))/0x9*(-parseInt(h(0x1e7))/0xa)+-parseInt(h(0x1f0))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0x5622b));function a85c(){const m=['error','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','setGlobalConfig','1117164kYeCBe','apply','fsi','1790430XlNsPY','create','allowInsecure','pallet','cacert','disallowInsecure','dark','Set\x20global\x20Maka-CLI\x20settings','resolve','2138675OOgfPu','One\x20or\x20the\x20other\x20buddy','search','toString','Set\x20workspace:\x20','boolean','maka\x20set:global-config\x20<args>','isFile','success','Set\x20OpenAI\x20Key:\x20','10808NTeuCS','Set\x20color\x20pallet\x20to:\x20','openai','71948pKQosG','9kwwGzF','maka\x20set:gc\x20--workspace\x20<path>','\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','64771QobRKD','maka\x20set:global-config\x20--cacert\x20<path>','global-config','exit','120uXGRqJ','1776440ekpMPs','12sTiRKh','workspace','maka\x20set:gc\x20--insecure\x20<path>','isDirectory','441TvNJjt'];a85c=function(){return m;};return a85c();}const a85b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a85d;if(c){const e=c[i(0x1e5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){const j=a85d;return a85a['toString']()['search']('(((.+)+)+)+$')[j(0x1f3)]()['constructor'](a85a)[j(0x1f2)]('(((.+)+)+)+$');});function a85d(a,b){const c=a85c();return a85d=function(d,e){d=d-0x1db;let f=c[d];return f;},a85d(a,b);}a85a();import a85e from'path';import a85f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a85k(0x1e8)]({'name':a85k(0x203),'usage':a85k(0x1f6),'aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[{'name':a85k(0x1eb),'boolFlag':![]},{'name':a85k(0x1e9),'boolFlag':!![]},{'name':a85k(0x1ec),'boolFlag':!![]},{'name':a85k(0x1dd),'boolFlag':![]},{'name':a85k(0x1fc),'boolFlag':![]},{'name':'help','boolFlag':!![]},{'name':a85k(0x1ea),'values':['light',a85k(0x1ed)]}],'shortDesc':a85k(0x1ee),'description':a85k(0x200),'examples':[a85k(0x202),a85k(0x1de),a85k(0x1ff)]},async function(a,b){const l=a85k;try{if(b[l(0x1eb)]){if(this[l(0x1e6)][l(0x1f7)](b[l(0x1eb)]))await this[l(0x1e6)][l(0x1e3)]({'cert':b[l(0x1eb)]}),Log['success']('Set\x20CA\x20Cert\x20Path:\x20'+b['cacert']);else{const c=typeof b[l(0x1eb)]===l(0x1f5)?l(0x1e2):'CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+b['cacert'];throw Log[l(0x1e1)](c);}}if(b[l(0x1dd)]){const d=this[l(0x1e6)][l(0x1df)](b['workspace']);if(d)await this[l(0x1e6)]['setGlobalConfig']({'workspace':a85e[l(0x1ef)](b[l(0x1dd)])}),Log[l(0x1f8)](l(0x1f4)+a85e[l(0x1ef)](b[l(0x1dd)]));else throw Log['error']('Could\x20not\x20find\x20directory');}b['openai']&&(await this[l(0x1e6)]['setGlobalConfig']({'openai':b['openai']}),Log[l(0x1f8)](l(0x1f9)+b[l(0x1fc)]));b['pallet']&&(await this[l(0x1e6)][l(0x1e3)]({'pallet':b[l(0x1ea)]}),Log['success'](l(0x1fb)+b['pallet']));if(b['allowInsecure']){if(b[l(0x1e9)]&&b[l(0x1ec)])throw Log[l(0x1e1)](l(0x1f1));let f=b[l(0x1e9)];b[l(0x1ec)]&&(f=![]),await this[l(0x1e6)]['setGlobalConfig']({'allowInsecure':f}),Log[l(0x1f8)]('Set\x20allowInsecure:\x20'+f);}process[l(0x204)](0x0);}catch(g){console[l(0x1e1)](g),process[l(0x204)](0x0);}},a85f);
@@ -1 +1 @@
1
- var a86i=a86d;(function(a,b){var f=a86d,c=a();while(!![]){try{var d=-parseInt(f(0x1c5))/0x1*(parseInt(f(0x1ce))/0x2)+parseInt(f(0x1cb))/0x3*(parseInt(f(0x1cd))/0x4)+parseInt(f(0x1c4))/0x5*(-parseInt(f(0x1d7))/0x6)+-parseInt(f(0x1d2))/0x7*(-parseInt(f(0x1d8))/0x8)+-parseInt(f(0x1d9))/0x9*(-parseInt(f(0x1c9))/0xa)+parseInt(f(0x1ca))/0xb*(-parseInt(f(0x1c7))/0xc)+-parseInt(f(0x1cf))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0xea9e8));function a86d(a,b){var c=a86c();return a86d=function(d,e){d=d-0x1c4;var f=c[d];return f;},a86d(a,b);}var a86b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a86d;if(c){var e=c[g(0x1d3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){var h=a86d;return a86a[h(0x1c8)]()[h(0x1d1)](h(0x1d5))['toString']()[h(0x1cc)](a86a)['search']('(((.+)+)+)+$');});function a86c(){var k=['383420QBQJpg','11nnmShF','625557jZEaTN','constructor','24zJqLYU','2yxvQHu','2748889JHNTEG','notice','search','7pCnpKw','apply','Sorry,\x20not\x20implemented\x20yet','(((.+)+)+)+$','create','2542524PZyurD','1903816oLfJRc','369cdZnMB','local-config','Set\x20local\x20maka\x20app\x20settings','maka\x20set:local-config\x20<opts>','5kQskaJ','1152943rlQjUh','maka\x20set:lc\x20<opts>','3743556TdAjfM','toString'];a86c=function(){return k;};return a86c();}a86a();import a86e from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a86i(0x1d6)]({'name':a86i(0x1da),'usage':a86i(0x1dc),'examples':[a86i(0x1c6),a86i(0x1dc)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':a86i(0x1db),'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=a86i;Log[j(0x1d0)](j(0x1d4));},a86e);
1
+ function a86d(a,b){var c=a86c();return a86d=function(d,e){d=d-0x1cb;var f=c[d];return f;},a86d(a,b);}function a86c(){var k=['10BOILVt','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','6CRicyx','notice','local-config','create','(((.+)+)+)+$','constructor','Sorry,\x20not\x20implemented\x20yet','maka\x20set:local-config\x20<opts>','74680VNTNgO','apply','207eJIozd','187YqPQTT','338264RcdOGz','261774FdVZKW','5821529QIljji','7753335FDhZGR','search','3106684lEeAcH','1150001VPxXJw'];a86c=function(){return k;};return a86c();}var a86i=a86d;(function(a,b){var f=a86d,c=a();while(!![]){try{var d=parseInt(f(0x1cb))/0x1+parseInt(f(0x1cc))/0x2*(parseInt(f(0x1db))/0x3)+parseInt(f(0x1df))/0x4+-parseInt(f(0x1dd))/0x5+-parseInt(f(0x1ce))/0x6*(parseInt(f(0x1dc))/0x7)+-parseInt(f(0x1da))/0x8*(-parseInt(f(0x1d8))/0x9)+-parseInt(f(0x1d6))/0xa*(parseInt(f(0x1d9))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0xc9b59));var a86b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a86d;if(c){var e=c[g(0x1d7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){var h=a86d;return a86a['toString']()[h(0x1de)](h(0x1d2))['toString']()[h(0x1d3)](a86a)[h(0x1de)]('(((.+)+)+)+$');});a86a();import a86e from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a86i(0x1d1)]({'name':a86i(0x1d0),'usage':a86i(0x1d5),'examples':['maka\x20set:lc\x20<opts>',a86i(0x1d5)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':'Set\x20local\x20maka\x20app\x20settings','validOpts':[],'description':a86i(0x1cd)},async function(){var j=a86i;Log[j(0x1cf)](j(0x1d4));},a86e);
@@ -1 +1 @@
1
- const a87i=a87d;(function(a,b){const f=a87d,c=a();while(!![]){try{const d=-parseInt(f(0x144))/0x1+parseInt(f(0x147))/0x2+parseInt(f(0x13d))/0x3+-parseInt(f(0x13a))/0x4+parseInt(f(0x13e))/0x5+-parseInt(f(0x136))/0x6*(parseInt(f(0x141))/0x7)+parseInt(f(0x142))/0x8*(parseInt(f(0x140))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0x5f7db));const a87b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a87d;if(c){const e=c[g(0x139)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){const h=a87d;return a87a[h(0x143)]()[h(0x148)](h(0x138))[h(0x143)]()[h(0x135)](a87a)[h(0x148)]('(((.+)+)+)+$');});a87a();function a87d(a,b){const c=a87c();return a87d=function(d,e){d=d-0x135;let f=c[d];return f;},a87d(a,b);}import{Command}from'../../command.js';function a87c(){const k=['create','(((.+)+)+)+$','apply','1611540TKuoqA','set','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','270252ssZtFo','883315zCiDjs','help','171jsxBsk','91ZIrSHw','432728JxOwob','toString','763822BGDkvx','\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','maka\x20set:<sub-command>\x20<opts>','1134422KguZqN','search','constructor','140238nmmrIV'];a87c=function(){return k;};return a87c();}import{UsageError}from'../../error.js';const SetCommand=Command[a87i(0x137)]({'name':a87i(0x13b),'usage':a87i(0x146),'minArgLength':0x1,'shortDesc':a87i(0x13c),'description':a87i(0x145),'validOpts':[]},async function(a,b){const j=a87i,c=a[0x0];if(b[j(0x13f)])throw new UsageError();const d=this['findSubCommand'](c);d&&this['runSubCommand'](c,a,b);});export default SetCommand;
1
+ const a87h=a87d;(function(a,b){const f=a87d,c=a();while(!![]){try{const d=parseInt(f(0x8f))/0x1+-parseInt(f(0x8c))/0x2+-parseInt(f(0x91))/0x3*(-parseInt(f(0x86))/0x4)+-parseInt(f(0x8a))/0x5+-parseInt(f(0x87))/0x6+-parseInt(f(0x84))/0x7+parseInt(f(0x90))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0xba920));const a87b=(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;};}()),a87a=a87b(this,function(){const g=a87d;return a87a['toString']()[g(0x89)]('(((.+)+)+)+$')['toString']()[g(0x8d)](a87a)['search']('(((.+)+)+)+$');});function a87c(){const j=['3443012dgplqc','7692048LNhxlr','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','search','3690940biSoZM','findSubCommand','2041448XvZmTn','constructor','create','1435612KoUNor','23709584fLedJK','3JeUJbz','runSubCommand','10184657SrzuJi','help'];a87c=function(){return j;};return a87c();}a87a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';function a87d(a,b){const c=a87c();return a87d=function(d,e){d=d-0x83;let f=c[d];return f;},a87d(a,b);}const SetCommand=Command[a87h(0x8e)]({'name':'set','usage':'maka\x20set:<sub-command>\x20<opts>','minArgLength':0x1,'shortDesc':a87h(0x88),'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=a87h,c=a[0x0];if(b[i(0x85)])throw new UsageError();const d=this[i(0x8b)](c);d&&this[i(0x83)](c,a,b);});export default SetCommand;
@@ -1 +1 @@
1
- const a88l=a88d;function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0xec;let f=c[d];return f;},a88d(a,b);}(function(a,b){const j=a88d,c=a();while(!![]){try{const d=parseInt(j(0x10c))/0x1+-parseInt(j(0x106))/0x2*(-parseInt(j(0xff))/0x3)+-parseInt(j(0xf5))/0x4+-parseInt(j(0xfa))/0x5*(-parseInt(j(0xf3))/0x6)+-parseInt(j(0xf4))/0x7+-parseInt(j(0xec))/0x8+-parseInt(j(0x105))/0x9*(-parseInt(j(0xf8))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0x1fbee));const a88b=(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;};}()),a88a=a88b(this,function(){const k=a88d;return a88a[k(0x10b)]()[k(0xfd)](k(0xf0))[k(0x10b)]()[k(0xee)](a88a)[k(0xfd)]('(((.+)+)+)+$');});a88a();import a88e from'fs';import a88f from'path';function a88c(){const n=['exit','sshSync','search','verbose','193374SeLbwn','ssh.json','ssh','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','maka\x20ssh\x20--env\x20staging','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','90WNdOWv','2hPMXIm','error','readFileSync','parse','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','toString','229867YChTvq','1932472ZErDdn','assign','constructor','getConfigPath','(((.+)+)+)+$','fsi','maka\x20ssh\x20--env\x20dev','6cVIqxj','1384096HLOtOu','950036YZAGSX','env','create','358990YdoxkH','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','767555ljnnJE'];a88c=function(){return n;};return a88c();}import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a88l(0xf7)]({'name':a88l(0x101),'usage':'maka\x20ssh\x20<command>','mustBeInMakaProject':!![],'requiredOpts':['env'],'validOpts':[a88l(0xf6),'verbose'],'shortDesc':a88l(0x102),'examples':[a88l(0xf2),a88l(0x103),'maka\x20ssh\x20--env\x20prod',a88l(0x10a),a88l(0xf9),a88l(0x104)]},async function(a,b){const m=a88l;try{const c=this[m(0xf1)][m(0xef)](b[m(0xf6)]);let d='';a['length']>0x0&&(d=a[0x0]);const f=a88f['join'](c,m(0x100)),g=a88e[m(0x108)](f)['toString'](),h=JSON[m(0x109)](g);Object[m(0xed)](h,{'env':c}),SSH[m(0xfc)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b[m(0xfe)]});}catch(i){console[m(0x107)](i),process[m(0xfb)](0x0);}});
1
+ const a88m=a88d;(function(a,b){const j=a88d,c=a();while(!![]){try{const d=parseInt(j(0x169))/0x1*(-parseInt(j(0x175))/0x2)+-parseInt(j(0x176))/0x3+-parseInt(j(0x174))/0x4+parseInt(j(0x173))/0x5+-parseInt(j(0x171))/0x6+-parseInt(j(0x15b))/0x7+-parseInt(j(0x15f))/0x8*(-parseInt(j(0x163))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0xdf5c2));const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a88d;if(c){const e=c[k(0x16a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const l=a88d;return a88a[l(0x162)]()[l(0x16f)](l(0x164))[l(0x162)]()['constructor'](a88a)['search']('(((.+)+)+)+$');});a88a();import a88e from'fs';import a88f from'path';function a88c(){const o=['length','902940XMWuHu','388152zMrPRU','24834qDmZIc','5175951vyjIKU','assign','getConfigPath','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','error','verbose','875854dMxAhf','sshSync','maka\x20ssh\x20--env\x20prod','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','8456TdMdUm','maka\x20ssh\x20--env\x20staging','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','toString','43128HuSLPx','(((.+)+)+)+$','ssh','env','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','exit','112sCqAbp','apply','parse','ssh.json','fsi','join','search','readFileSync','5956014FDgDXC'];a88c=function(){return o;};return a88c();}import{Command}from'../command.js';function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x156;let f=c[d];return f;},a88d(a,b);}import{SSH}from'../tools/ssh/ssh.class.js';Command['create']({'name':a88m(0x165),'usage':'maka\x20ssh\x20<command>','mustBeInMakaProject':!![],'requiredOpts':[a88m(0x166)],'validOpts':[a88m(0x166),a88m(0x15a)],'shortDesc':a88m(0x161),'examples':['maka\x20ssh\x20--env\x20dev',a88m(0x160),a88m(0x15d),a88m(0x167),a88m(0x158),a88m(0x15e)]},async function(a,b){const n=a88m;try{const c=this[n(0x16d)][n(0x157)](b['env']);let d='';a[n(0x172)]>0x0&&(d=a[0x0]);const f=a88f[n(0x16e)](c,n(0x16c)),g=a88e[n(0x170)](f)[n(0x162)](),h=JSON[n(0x16b)](g);Object[n(0x156)](h,{'env':c}),SSH[n(0x15c)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b[n(0x15a)]});}catch(i){console[n(0x159)](i),process[n(0x168)](0x0);}});
@@ -1 +1 @@
1
- const a89y=a89d;(function(a,b){const v=a89d,c=a();while(!![]){try{const d=-parseInt(v(0xf7))/0x1+parseInt(v(0xfb))/0x2+-parseInt(v(0xea))/0x3+-parseInt(v(0xf1))/0x4+parseInt(v(0xe9))/0x5*(-parseInt(v(0x100))/0x6)+parseInt(v(0xdd))/0x7*(parseInt(v(0xe1))/0x8)+parseInt(v(0x105))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0xa4ab4));function a89d(a,b){const c=a89c();return a89d=function(d,e){d=d-0xd0;let f=c[d];return f;},a89d(a,b);}const a89b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a89d;if(c){const e=c[w(0xfa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){const x=a89d;return a89a[x(0xf4)]()[x(0xd1)](x(0x107))[x(0xf4)]()[x(0xde)](a89a)[x(0xd1)]('(((.+)+)+)+$');});a89a();import a89e from'fs';import a89f from'path';import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';function a89c(){const A=['Please\x20provide\x20a\x20command.','6311934nTQsbA','domains','(((.+)+)+)+$','Remote\x20host\x20connection\x20successful','.crt','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','[?]\x20Domains\x20to\x20register:\x20','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','search','error','parse','getProjectConfig','.key','maka\x20ssl\x20[command]','maka\x20ssl\x20--env\x20dev\x20generate-csr','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','Using\x20saved\x20letsencrypt\x20config','appName','letsencrypt.json','.csr','1344462PQoKul','constructor','notice','join','48KVijzP','assign','ask','letsencrypt','writeFileSync','email','ssh','genCSR','26045eSpYrI','325917vuiomT','ssl','env','emailUpdate','withSpinner','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','readFileSync','5052396CkCrJf','\x20--email\x20','uname\x20-a','toString','genSSC','generate-csr','595804LvTgoH','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','fsi','apply','1920402HNQsmK','Verifying\x20Letsencrypt\x20configuration','success','Email\x20to\x20use\x20for\x20auto-updates:\x20','New\x20CSR\x20written\x20to\x20','198aWHbZy','domainNames','mkKeysDir','sudo\x20snap\x20install\x20--classic\x20certbot'];a89c=function(){return A;};return a89c();}import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command['create']({'name':a89y(0xeb),'usage':a89y(0xd6),'validOpts':[a89y(0x106),a89y(0xe6)],'requiredOpts':[a89y(0xec)],'shortDesc':'Create\x20and\x20manage\x20your\x20SSL\x20operations.','mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a89y(0xd7),a89y(0xf8),a89y(0x10a)]},async function(a,b){const z=a89y,c=this[z(0xf9)][z(0xd4)](),d=this['fsi']['getConfigPath'](b['env']),f=this[z(0xf9)][z(0x102)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0xf6))SSL[z(0xe8)]({'keyName':c[z(0xda)]+z(0xd5),'csrName':c[z(0xda)]+z(0xdc),'cwd':f});else{if(g==='generate-ssc'){if(!a89e['existsSync'](a89f[z(0xe0)](f,c[z(0xda)]+z(0xd5))))throw z(0xef)+a89f[z(0xe0)](f,c['appName']+z(0xd5));if(!a89e['existsSync'](a89f['join'](f,c[z(0xda)]+z(0xdc))))throw z(0xd0)+a89f[z(0xe0)](f,c['appName']+z(0xdc));SSL[z(0xf5)]({'keyName':c[z(0xda)]+z(0xd5),'crtName':c[z(0xda)]+z(0x109),'cwd':f}),Log[z(0xdf)](z(0xff)+f);}else{if(g===z(0xe4)){let h=b[z(0x106)],i=b[z(0xe6)];try{const p=a89e[z(0xf0)](a89f[z(0xe0)](d,z(0xdb)))[z(0xf4)](),q=JSON[z(0xd3)](p);h=b[z(0x106)]?b[z(0x106)]:q[z(0x101)],i=b[z(0xe6)]?b[z(0xe6)]:q[z(0xed)],(!b[z(0xe6)]||!b[z(0x106)])&&Log[z(0xdf)](z(0xd9));}catch(r){}const j=JSON['parse'](a89e[z(0xf0)](d+'/ssh.json')['toString']());Object[z(0xe2)](j,{'env':d}),Log['notice']('Checking\x20remote\x20host\x20availability');try{const s=SSH['ping'](z(0xf3),j);if(!s)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(s)Log[z(0xfd)](z(0x108));}catch(t){Log[z(0xd2)](t);return;}const k=Log[z(0xee)]();k['start'](z(0xfc)),SSH[z(0xe7)]('sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core',{...j}),SSH[z(0xe7)](z(0x103),{...j}),SSH[z(0xe7)]('sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot',{...j}),k['success']();const l=h?h:await Actions[z(0xe3)](z(0x10b)),m=i?i:await Actions[z(0xe3)](z(0xfe));SSH[z(0xe7)](z(0xd8)+l+z(0xf2)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON['stringify'](n,null,0x2);a89e[z(0xe5)](a89f[z(0xe0)](d,z(0xdb)),o);}else throw z(0x104);}}}catch(u){console[z(0xd2)](u),process['exit'](0x0);}});
1
+ const a89y=a89d;(function(a,b){const v=a89d,c=a();while(!![]){try{const d=parseInt(v(0xf6))/0x1*(-parseInt(v(0xf5))/0x2)+parseInt(v(0xdc))/0x3+-parseInt(v(0xd4))/0x4*(parseInt(v(0xe2))/0x5)+parseInt(v(0xc6))/0x6*(parseInt(v(0xd7))/0x7)+parseInt(v(0xfa))/0x8+-parseInt(v(0xd1))/0x9*(-parseInt(v(0xe6))/0xa)+parseInt(v(0xf9))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0x337eb));const a89b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a89d;if(c){const e=c[w(0xf7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){const x=a89d;return a89a[x(0xf8)]()['search'](x(0xce))[x(0xf8)]()['constructor'](a89a)[x(0xc8)]('(((.+)+)+)+$');});a89a();import a89e from'fs';import a89f from'path';function a89d(a,b){const c=a89c();return a89d=function(d,e){d=d-0xc1;let f=c[d];return f;},a89d(a,b);}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 a89c(){const A=['exit','692548EWUaID','maka\x20ssl\x20[command]','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','220129xRdvLW','letsencrypt','success','email','env','54576sKaean','genSSC','writeFileSync','Using\x20saved\x20letsencrypt\x20config','ssl','notice','5FWWIXV','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','create','Checking\x20remote\x20host\x20availability','322550NHgZcv','fsi','existsSync','.crt','start','[?]\x20Domains\x20to\x20register:\x20','Create\x20and\x20manage\x20your\x20SSL\x20operations.','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','withSpinner','error','domainNames','generate-ssc','ssh','uname\x20-a','join','12RQuqcp','61329ehsPTH','apply','toString','184855emrQIN','620744PcfYTq','sudo\x20snap\x20install\x20--classic\x20certbot','ask','\x20--email\x20','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','New\x20CSR\x20written\x20to\x20','readFileSync','stringify','appName','letsencrypt.json','domains','42NZSkBi','.csr','search','mkKeysDir','parse','ping','getConfigPath','Please\x20provide\x20a\x20command.','(((.+)+)+)+$','assign','.key','117kjWqbJ','getProjectConfig'];a89c=function(){return A;};return a89c();}import{SSL}from'../tools/ssl/ssl.class.js';Command[a89y(0xe4)]({'name':a89y(0xe0),'usage':a89y(0xd5),'validOpts':[a89y(0xc5),a89y(0xda)],'requiredOpts':['env'],'shortDesc':a89y(0xec),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':['maka\x20ssl\x20--env\x20dev\x20generate-csr','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process']},async function(a,b){const z=a89y,c=this[z(0xe7)][z(0xd2)](),d=this['fsi'][z(0xcc)](b[z(0xdb)]),f=this[z(0xe7)][z(0xc9)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g==='generate-csr')SSL['genCSR']({'keyName':c['appName']+z(0xd0),'csrName':c[z(0xc3)]+z(0xc7),'cwd':f});else{if(g===z(0xf1)){if(!a89e[z(0xe8)](a89f['join'](f,c[z(0xc3)]+z(0xd0))))throw'The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20'+a89f[z(0xf4)](f,c[z(0xc3)]+'.key');if(!a89e[z(0xe8)](a89f[z(0xf4)](f,c[z(0xc3)]+z(0xc7))))throw z(0xe3)+a89f[z(0xf4)](f,c[z(0xc3)]+z(0xc7));SSL[z(0xdd)]({'keyName':c['appName']+z(0xd0),'crtName':c['appName']+z(0xe9),'cwd':f}),Log[z(0xe1)](z(0xff)+f);}else{if(g===z(0xd8)){let h=b['domains'],i=b[z(0xda)];try{const p=a89e[z(0xc1)](a89f[z(0xf4)](d,z(0xc4)))[z(0xf8)](),q=JSON['parse'](p);h=b[z(0xc5)]?b['domains']:q[z(0xf0)],i=b[z(0xda)]?b[z(0xda)]:q['emailUpdate'],(!b[z(0xda)]||!b[z(0xc5)])&&Log['notice'](z(0xdf));}catch(r){}const j=JSON[z(0xca)](a89e[z(0xc1)](d+'/ssh.json')[z(0xf8)]());Object[z(0xcf)](j,{'env':d}),Log['notice'](z(0xe5));try{const s=SSH[z(0xcb)](z(0xf3),j);if(!s)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(s)Log[z(0xd9)]('Remote\x20host\x20connection\x20successful');}catch(t){Log[z(0xef)](t);return;}const k=Log[z(0xee)]();k[z(0xea)]('Verifying\x20Letsencrypt\x20configuration'),SSH[z(0xf2)](z(0xed),{...j}),SSH[z(0xf2)](z(0xfb),{...j}),SSH[z(0xf2)](z(0xfe),{...j}),k[z(0xd9)]();const l=h?h:await Actions[z(0xfc)](z(0xeb)),m=i?i:await Actions['ask']('Email\x20to\x20use\x20for\x20auto-updates:\x20');SSH[z(0xf2)](z(0xd6)+l+z(0xfd)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0xc2)](n,null,0x2);a89e[z(0xde)](a89f[z(0xf4)](d,z(0xc4)),o);}else throw z(0xcd);}}}catch(u){console[z(0xef)](u),process[z(0xd3)](0x0);}});
@@ -1 +1 @@
1
- const a90p=a90d;(function(a,b){const m=a90d,c=a();while(!![]){try{const d=parseInt(m(0xd5))/0x1+parseInt(m(0xdf))/0x2*(-parseInt(m(0xe4))/0x3)+parseInt(m(0xf4))/0x4+parseInt(m(0xe3))/0x5+-parseInt(m(0x103))/0x6+parseInt(m(0xf5))/0x7*(parseInt(m(0xf0))/0x8)+-parseInt(m(0x100))/0x9*(parseInt(m(0x110))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0x4f17d));const a90b=(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;};}()),a90a=a90b(this,function(){const n=a90d;return a90a[n(0xdc)]()[n(0x10c)]('(((.+)+)+)+$')['toString']()[n(0xed)](a90a)[n(0x10c)](n(0xeb));});a90a();import a90e from'fs';import a90f from'path';import a90g from'dotenv';import{Command}from'../command.js';function a90c(){const s=['sanjo:jasmine','274511JlxYPk','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','isFile','env','none','development','testAppPath','toString','slice','findProjectDirectory','270318SlguER','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','rawLogs','forEach','2871520VjXsAv','3TdxXZc','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','maka\x20test\x20<opts>','warn','driver','Cannot\x20find\x20Node\x20Environment\x20File:\x20','.maka','(((.+)+)+)+$','test','constructor','join','--env','838672ptgffM','notice','once','parse','1712128Arkwrd','35OmRjfT','config','port','test-packages','utf8','settings.json','process.env','concat','driver-package','--packages','fsi','108yMEavi','config.json','openSync','186510MYUctE','meteortesting:mocha','inspect','unit','--driver-package','mocha','readFileSync','driverPackage','filter','search','packages','engines','Node\x20Env\x20Config:\x20','1092340zgrUjV','argv','jasmine','create'];a90c=function(){return s;};return a90c();}function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0xd5;let f=c[d];return f;},a90d(a,b);}import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const o=a90d;a90e[o(0x102)](a,'r'),a90g[o(0xf6)]({'path':a});};Command[a90p(0x113)]({'name':a90p(0xec),'mustBeInMakaProject':!![],'validOpts':[a90p(0xf2),a90p(0x10d),a90p(0xe8),a90p(0x10a),a90p(0x106),'env',a90p(0xe1),a90p(0xf7),a90p(0x105),a90p(0xdb)],'usage':a90p(0xe6),'shortDesc':a90p(0xe0),'examples':[]},function(a,b){const q=a90p;try{let c=this['fsi']['getConfigPath'](q(0xda));b[q(0xd8)]&&(c=this[q(0xff)]['getConfigPath'](b[q(0xd8)]));(!b[q(0x106)]||!!b[q(0xf2)])&&(a=a[q(0xfc)](['--full-app']));b[q(0x106)]&&delete b[q(0x106)];let d=b[q(0xfd)]||b[q(0xe8)]||q(0xd9);if(d===q(0xd9)){const j=JSON[q(0xf3)](a90e[q(0x109)](a90f[q(0xee)](this[q(0xff)][q(0xde)](),q(0xea),q(0x101)),q(0xf9)));if(j['engines'][q(0xec)]===q(0x112))d=q(0x114);else j[q(0x10e)][q(0xec)]===q(0x108)&&(d=q(0x104));}if(d===q(0xd9))throw q(0xd6);(!b[q(0xfd)]||!b[q(0xe8)])&&(a=a[q(0xfc)]([q(0x107),d]));const f=a90f[q(0xee)](c,q(0xfa));this[q(0xff)]['isFile'](f)?(Log[q(0xf1)]('Meteor\x20Settings:\x20'+f),a=a[q(0xfc)](['--settings',f])):Log['warn'](q(0xe5)+f);const g=a90f[q(0xee)](c,q(0xfb));this[q(0xff)][q(0xd7)](g)?(Log['notice'](q(0x10f)+g),syncSource(g)):Log[q(0xe7)](q(0xe9)+g);const h=process[q(0x111)][q(0xdd)](0x2)[q(0x10b)](k=>k!==q(0xef))[q(0x10b)](k=>k!==q(0xec))[q(0x10b)](k=>k!==a[0x0]);h[q(0xe2)]((k,l)=>{const r=q;(k===r(0xef)||k==='--driver')&&h['splice'](l,0x2),k===r(0xfe)&&h['splice'](l,0x1);});const i=b[q(0x10d)]?q(0xf8):q(0xec);this[q(0xff)]['invokeMeteorCommand'](i,a[q(0xfc)](h));}catch(k){console['error'](k),process['exit'](0x0);}});
1
+ const a90q=a90d;(function(a,b){const m=a90d,c=a();while(!![]){try{const d=parseInt(m(0x1ef))/0x1+-parseInt(m(0x211))/0x2+parseInt(m(0x210))/0x3*(-parseInt(m(0x1f6))/0x4)+-parseInt(m(0x1fe))/0x5+-parseInt(m(0x1df))/0x6+-parseInt(m(0x214))/0x7*(parseInt(m(0x209))/0x8)+-parseInt(m(0x1ff))/0x9*(-parseInt(m(0x1e5))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0xdc73a));const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a90d;if(c){const e=c[n(0x1e8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const o=a90d;return a90a[o(0x1de)]()['search'](o(0x1e3))['toString']()[o(0x1f1)](a90a)[o(0x212)](o(0x1e3));});a90a();import a90e from'fs';import a90f from'path';import a90g from'dotenv';function a90c(){const t=['24870VBIgjS','join','create','apply','port','--driver-package','--full-app','--settings','driver-package','exit','181983BPzbVo','config.json','constructor','env','Node\x20Env\x20Config:\x20','testAppPath','inspect','6924zyeBQt','config','splice','Meteor\x20Settings:\x20','utf8','argv','--driver','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','7681480GGkLAE','17289zLncYQ','mocha','settings.json','once','test-packages','jasmine','fsi','packages','findProjectDirectory','Cannot\x20find\x20Node\x20Environment\x20File:\x20','32nUbJBW','parse','unit','none','getConfigPath','test','warn','1878vLQNEt','1417972HWSsFn','search','rawLogs','694358NgoZwi','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','driver','filter','error','isFile','maka\x20test\x20<opts>','--packages','toString','1985256XkStJo','--env','slice','engines','(((.+)+)+)+$','concat'];a90c=function(){return t;};return a90c();}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const p=a90d;a90e['openSync'](a,'r'),a90g[p(0x1f7)]({'path':a});};function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0x1de;let f=c[d];return f;},a90d(a,b);}Command[a90q(0x1e7)]({'name':a90q(0x20e),'mustBeInMakaProject':!![],'validOpts':[a90q(0x202),a90q(0x206),a90q(0x216),'driverPackage',a90q(0x20b),a90q(0x1f2),a90q(0x213),a90q(0x1e9),a90q(0x1f5),a90q(0x1f4)],'usage':a90q(0x21a),'shortDesc':a90q(0x1fd),'examples':[]},function(a,b){const r=a90q;try{let c=this[r(0x205)][r(0x20d)]('development');b[r(0x1f2)]&&(c=this['fsi'][r(0x20d)](b[r(0x1f2)]));(!b[r(0x20b)]||!!b[r(0x202)])&&(a=a[r(0x1e4)]([r(0x1eb)]));b[r(0x20b)]&&delete b['unit'];let d=b[r(0x1ed)]||b[r(0x216)]||r(0x20c);if(d===r(0x20c)){const j=JSON[r(0x20a)](a90e['readFileSync'](a90f[r(0x1e6)](this[r(0x205)][r(0x207)](),'.maka',r(0x1f0)),r(0x1fa)));if(j['engines'][r(0x20e)]===r(0x204))d='sanjo:jasmine';else j[r(0x1e2)][r(0x20e)]===r(0x200)&&(d='meteortesting:mocha');}if(d===r(0x20c))throw'This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)';(!b['driver-package']||!b[r(0x216)])&&(a=a[r(0x1e4)]([r(0x1ea),d]));const f=a90f[r(0x1e6)](c,r(0x201));this['fsi'][r(0x219)](f)?(Log['notice'](r(0x1f9)+f),a=a[r(0x1e4)]([r(0x1ec),f])):Log[r(0x20f)](r(0x215)+f);const g=a90f[r(0x1e6)](c,'process.env');this['fsi'][r(0x219)](g)?(Log['notice'](r(0x1f3)+g),syncSource(g)):Log[r(0x20f)](r(0x208)+g);const h=process[r(0x1fb)][r(0x1e1)](0x2)['filter'](k=>k!==r(0x1e0))['filter'](k=>k!=='test')[r(0x217)](k=>k!==a[0x0]);h['forEach']((k,l)=>{const s=r;(k==='--env'||k===s(0x1fc))&&h[s(0x1f8)](l,0x2),k===s(0x21b)&&h[s(0x1f8)](l,0x1);});const i=b[r(0x206)]?r(0x203):r(0x20e);this[r(0x205)]['invokeMeteorCommand'](i,a[r(0x1e4)](h));}catch(k){console[r(0x218)](k),process[r(0x1ee)](0x0);}});
@@ -1 +1 @@
1
- function a91c(){const p=['getGlobalMeteorVersion','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.',')\x20to\x20at\x20least\x20meteor\x27s\x20(','maka\x20v','search','compareMakaToLatest','\x0a\x20\x20When\x20using\x20the\x20--verbose\x20flag,\x20maka\x20will\x20also\x20check\x20the\x20version\x20of\x20the\x20system\x27s\x20meteor\x20and\x20node\x20versions\x0a\x20\x20along\x20with\x20the\x20project\x27s\x20meteor\x20and\x20node\x20versions.\x20If\x20the\x20system\x27s\x20meteor\x20version\x20is\x20greater\x20than\x20the\x0a\x20\x20project\x27s\x20meteor\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20meteor\x20version.\x20If\x20the\x20system\x27s\x20node\x0a\x20\x20version\x20is\x20greater\x20than\x20the\x20project\x27s\x20node\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20node\x20version.\x0a\x20\x20','(((.+)+)+)+$','----------------------System----------------------------','5CQpqVe','System\x27s\x20Meteor\x20Version\x20','node\x20-v','4SsgTZQ','4.6.4','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','869682ERkMJj','----------------------Project----------------------------','toString','notice','maka\x20version\x20--verbose','win32','maka\x20version','constructor','Project\x27s\x20Meteor\x20Node\x20Version\x20','meteor.bat','9SHkdgY','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','1185900jsixMB','6396036Cuwanx','bright','warn','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','Project\x27s\x20Meteor\x20Version\x20','error','6528344JSxIhw','platform','version','meteor','isMakaProject','42502889vEYrhA','verbose','apply','28esZEKf','1150360YlbjuS','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','Maka\x20','replace','11807970MTCcXV','System\x27s\x20Node\x20Version\x20','fsi','\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'];a91c=function(){return p;};return a91c();}const a91n=a91d;(function(a,b){const k=a91d,c=a();while(!![]){try{const d=-parseInt(k(0xd3))/0x1+-parseInt(k(0xe7))/0x2*(-parseInt(k(0xf6))/0x3)+parseInt(k(0xf7))/0x4*(-parseInt(k(0xe4))/0x5)+-parseInt(k(0xea))/0x6*(parseInt(k(0xd2))/0x7)+-parseInt(k(0xca))/0x8*(-parseInt(k(0xf4))/0x9)+-parseInt(k(0xd7))/0xa+parseInt(k(0xcf))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0xea84c));const a91b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a91d;if(c){const e=c[l(0xd1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){const m=a91d;return a91a[m(0xec)]()['search'](m(0xe2))['toString']()[m(0xf1)](a91a)[m(0xdf)](m(0xe2));});function a91d(a,b){const c=a91c();return a91d=function(d,e){d=d-0xc7;let f=c[d];return f;},a91d(a,b);}a91a();import{execSync}from'child_process';import a91e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const pjson={'version':a91n(0xe8)};Command['create']({'name':'version','aliases':['v'],'usage':a91n(0xf0),'maxArgLength':0x1,'validOpts':['verbose'],'shortDesc':a91n(0xe9),'examples':[a91n(0xde),'maka\x20version',a91n(0xee)],'description':a91n(0xe1)},async function(a,b){const o=a91n;try{const c=process[o(0xcb)]===o(0xef)?o(0xf3):o(0xcd);Log['majestic'](o(0xd5)+pjson[o(0xcc)]),await this[o(0xd9)]['compareMakaToLatest']();if(b[o(0xd0)]){await this[o(0xd9)][o(0xe0)](),Log[o(0xf8)](o(0xe3));const d=this['fsi'][o(0xdb)]();Log[o(0xf8)]((o(0xe5)+d)['replace']('\x0a',''));const f=execSync(c+'\x20node\x20-v')[o(0xec)]()[o(0xd6)](/\r?\n|\r/,'')['replace']('v','');Log[o(0xf8)](o(0xc7)+f);const g=execSync(o(0xe6))[o(0xec)]()[o(0xd6)](/\r?\n|\r/,'')[o(0xd6)]('v','');a91e['gt'](f,g)?(Log['warn'](o(0xd8)+g),Log[o(0xf9)](o(0xd4)+g+o(0xdd)+f+')')):Log['bright'](o(0xd8)+g);if(this['fsi'][o(0xce)]()){Log['bright'](o(0xeb));const h=this[o(0xd9)]['getProjectMeteorVersion']();a91e['gt'](d,h)?(Log[o(0xf9)]('Project\x27s\x20Meteor\x20Version\x20'+h[o(0xd6)]('\x0a','')),Log[o(0xf9)](o(0xf5)+d+'\x22')):Log[o(0xed)]((o(0xc8)+h)['replace']('\x0a',''));const i=await this[o(0xd9)]['getProjectsMeteorNodeVersion']();i==='N/A'?(Log[o(0xf9)](o(0xf2)+i),Log[o(0xf9)](o(0xdc))):Log['bright']('Project\x27s\x20Meteor\x20Node\x20Version\x20'+i),Log[o(0xf8)](o(0xda));}}}catch(j){console[o(0xc9)](j),process['exit'](0x0);}});
1
+ function a91d(a,b){const c=a91c();return a91d=function(d,e){d=d-0x1c0;let f=c[d];return f;},a91d(a,b);}const a91n=a91d;(function(a,b){const k=a91d,c=a();while(!![]){try{const d=-parseInt(k(0x1c7))/0x1*(-parseInt(k(0x1d7))/0x2)+parseInt(k(0x1cc))/0x3*(parseInt(k(0x1dd))/0x4)+-parseInt(k(0x1d1))/0x5+-parseInt(k(0x1ec))/0x6*(parseInt(k(0x1dc))/0x7)+parseInt(k(0x1e1))/0x8+-parseInt(k(0x1d2))/0x9*(parseInt(k(0x1db))/0xa)+parseInt(k(0x1d9))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0x8dd33));const a91b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a91d;if(c){const e=c[l(0x1d0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){const m=a91d;return a91a['toString']()[m(0x1c4)](m(0x1ed))[m(0x1c9)]()[m(0x1eb)](a91a)[m(0x1c4)](m(0x1ed));});a91a();import{execSync}from'child_process';function a91c(){const p=['(((.+)+)+)+$','N/A','maka\x20version\x20--verbose','----------------------Project----------------------------','getProjectMeteorVersion','meteor','compareMakaToLatest','version','search','\x20node\x20-v','verbose','2txHHsy','Maka\x20','toString','\x0a\x20\x20When\x20using\x20the\x20--verbose\x20flag,\x20maka\x20will\x20also\x20check\x20the\x20version\x20of\x20the\x20system\x27s\x20meteor\x20and\x20node\x20versions\x0a\x20\x20along\x20with\x20the\x20project\x27s\x20meteor\x20and\x20node\x20versions.\x20If\x20the\x20system\x27s\x20meteor\x20version\x20is\x20greater\x20than\x20the\x0a\x20\x20project\x27s\x20meteor\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20meteor\x20version.\x20If\x20the\x20system\x27s\x20node\x0a\x20\x20version\x20is\x20greater\x20than\x20the\x20project\x27s\x20node\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20node\x20version.\x0a\x20\x20','Project\x27s\x20Meteor\x20Node\x20Version\x20','15HOUUzp','error','majestic','----------------------System----------------------------','apply','4723620YXPpiE','1026aJBtDG','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','maka\x20version','bright','create','138766HpcTIU','Project\x27s\x20Meteor\x20Version\x20','13426490hbakoj','fsi','11640IetyPY','2180528uTLefA','9352QvAOQX','4.6.5','meteor.bat','maka\x20v','4790344tleiUG','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\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','warn','isMakaProject','System\x27s\x20Node\x20Version\x20','node\x20-v','getProjectsMeteorNodeVersion','getGlobalMeteorVersion','replace','constructor','6ibdDsJ'];a91c=function(){return p;};return a91c();}import a91e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const pjson={'version':a91n(0x1de)};Command[a91n(0x1d6)]({'name':a91n(0x1c3),'aliases':['v'],'usage':a91n(0x1d4),'maxArgLength':0x1,'validOpts':['verbose'],'shortDesc':'Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','examples':[a91n(0x1e0),a91n(0x1d4),a91n(0x1ef)],'description':a91n(0x1ca)},async function(a,b){const o=a91n;try{const c=process['platform']==='win32'?o(0x1df):o(0x1c1);Log[o(0x1ce)](o(0x1c8)+pjson[o(0x1c3)]),await this[o(0x1da)][o(0x1c2)]();if(b[o(0x1c6)]){await this[o(0x1da)][o(0x1c2)](),Log[o(0x1d5)](o(0x1cf));const d=this[o(0x1da)][o(0x1e9)]();Log[o(0x1d5)](('System\x27s\x20Meteor\x20Version\x20'+d)[o(0x1ea)]('\x0a',''));const f=execSync(c+o(0x1c5))[o(0x1c9)]()[o(0x1ea)](/\r?\n|\r/,'')['replace']('v','');Log[o(0x1d5)]('System\x27s\x20Meteor\x27s\x20Node\x20Version\x20'+f);const g=execSync(o(0x1e7))['toString']()[o(0x1ea)](/\r?\n|\r/,'')['replace']('v','');a91e['gt'](f,g)?(Log[o(0x1e4)](o(0x1e6)+g),Log[o(0x1e4)](o(0x1d3)+g+')\x20to\x20at\x20least\x20meteor\x27s\x20('+f+')')):Log[o(0x1d5)](o(0x1e6)+g);if(this['fsi'][o(0x1e5)]()){Log['bright'](o(0x1f0));const h=this['fsi'][o(0x1c0)]();a91e['gt'](d,h)?(Log['warn'](o(0x1d8)+h[o(0x1ea)]('\x0a','')),Log[o(0x1e4)](o(0x1e2)+d+'\x22')):Log['notice']((o(0x1d8)+h)[o(0x1ea)]('\x0a',''));const i=await this['fsi'][o(0x1e8)]();i===o(0x1ee)?(Log[o(0x1e4)](o(0x1cb)+i),Log['warn']('\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.')):Log[o(0x1d5)](o(0x1cb)+i),Log[o(0x1d5)](o(0x1e3));}}}catch(j){console[o(0x1cd)](j),process['exit'](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a92d,c=a();while(!![]){try{var d=-parseInt(f(0x7f))/0x1*(-parseInt(f(0x86))/0x2)+-parseInt(f(0x79))/0x3+-parseInt(f(0x7c))/0x4*(parseInt(f(0x78))/0x5)+-parseInt(f(0x7b))/0x6+-parseInt(f(0x82))/0x7*(parseInt(f(0x80))/0x8)+-parseInt(f(0x84))/0x9+parseInt(f(0x81))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0x86d36));function a92d(a,b){var c=a92c();return a92d=function(d,e){d=d-0x78;var f=c[d];return f;},a92d(a,b);}var a92b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a92d;if(c){var e=c[g(0x7a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){var h=a92d;return a92a[h(0x7d)]()[h(0x85)](h(0x83))[h(0x7d)]()[h(0x7e)](a92a)['search']('(((.+)+)+)+$');});a92a();export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}function a92c(){var i=['2785518giOQXn','search','35414qAJozC','5RtzrcE','2842224OFdhje','apply','173130jykRqr','4266740cxdurL','toString','constructor','1slfPwu','8njHYQf','33148680oYBkMK','2995153NVkRjq','(((.+)+)+)+$'];a92c=function(){return i;};return a92c();}export class NoMeteorFoundError{}
1
+ (function(a,b){var f=a92d,c=a();while(!![]){try{var d=parseInt(f(0x1e9))/0x1*(parseInt(f(0x1e7))/0x2)+parseInt(f(0x1ee))/0x3+parseInt(f(0x1f2))/0x4+parseInt(f(0x1eb))/0x5+-parseInt(f(0x1ed))/0x6+parseInt(f(0x1f4))/0x7*(parseInt(f(0x1ea))/0x8)+parseInt(f(0x1e8))/0x9*(-parseInt(f(0x1f3))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0x32d48));var a92b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a92d;if(c){var e=c[g(0x1e6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){var h=a92d;return a92a[h(0x1f0)]()[h(0x1ef)](h(0x1f1))[h(0x1f0)]()[h(0x1ec)](a92a)[h(0x1ef)](h(0x1f1));});a92a();export class UsageError{}export class UsageErrorWithSubs{}function a92d(a,b){var c=a92c();return a92d=function(d,e){d=d-0x1e6;var f=c[d];return f;},a92d(a,b);}export class MustBeInProjectError{}function a92c(){var i=['search','toString','(((.+)+)+)+$','1036720DswVUt','130tRXrvO','37982FwxmLa','apply','130yswpxe','225684blmFuC','547NvTqdZ','296BMMNKE','980145hylmua','constructor','1541040wPAjGi','298506ssyaaN'];a92c=function(){return i;};return a92c();}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- var a93i=a93d;(function(a,b){var f=a93d,c=a();while(!![]){try{var d=parseInt(f(0xab))/0x1+-parseInt(f(0xaf))/0x2+parseInt(f(0xa9))/0x3*(parseInt(f(0xb6))/0x4)+parseInt(f(0xb8))/0x5+-parseInt(f(0xb1))/0x6*(-parseInt(f(0xaa))/0x7)+-parseInt(f(0xb7))/0x8+parseInt(f(0xa8))/0x9*(-parseInt(f(0xb0))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0x25b99));var a93b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a93d;if(c){var e=c[g(0xa7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){var h=a93d;return a93a['toString']()[h(0xad)]('(((.+)+)+)+$')[h(0xae)]()[h(0xb2)](a93a)['search'](h(0xb4));});function a93d(a,b){var c=a93c();return a93d=function(d,e){d=d-0xa7;var f=c[d];return f;},a93d(a,b);}a93a(),process[a93i(0xb3)][a93i(0xb5)]=a93i(0xac);function a93c(){var j=['711260XsMDwq','apply','36657xLeDHO','396879ULaRpt','10402wMvPxH','101385zoXVki','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','search','toString','346366HbuvSe','250AiGfbk','276xKcxld','constructor','env','(((.+)+)+)+$','NODE_OPTIONS','4yybLhT','118056UBVakP'];a93c=function(){return j;};return a93c();}import'./maka.js';
2
+ function a93c(){var j=['env','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','search','1314388PgSfqT','4gFEwCx','NODE_OPTIONS','85nrhsCO','2339352lKLQty','1729497BpxNKD','232689OpTnCy','toString','constructor','apply','252210lnRCke','295237FIWMxj','3575358XhilPU','(((.+)+)+)+$'];a93c=function(){return j;};return a93c();}var a93i=a93d;(function(a,b){var f=a93d,c=a();while(!![]){try{var d=parseInt(f(0x1bf))/0x1+parseInt(f(0x1c6))/0x2*(-parseInt(f(0x1cb))/0x3)+-parseInt(f(0x1c5))/0x4+-parseInt(f(0x1c8))/0x5*(-parseInt(f(0x1cf))/0x6)+-parseInt(f(0x1ca))/0x7+-parseInt(f(0x1c9))/0x8+parseInt(f(0x1c0))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0x5db89));function a93d(a,b){var c=a93c();return a93d=function(d,e){d=d-0x1bf;var f=c[d];return f;},a93d(a,b);}var a93b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a93d;if(c){var e=c[g(0x1ce)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){var h=a93d;return a93a[h(0x1cc)]()[h(0x1c4)](h(0x1c1))[h(0x1cc)]()[h(0x1cd)](a93a)['search'](h(0x1c1));});a93a(),process[a93i(0x1c2)][a93i(0x1c7)]=a93i(0x1c3);import'./maka.js';
@@ -1 +1 @@
1
- const a94w=a94d;(function(a,b){const s=a94d,c=a();while(!![]){try{const d=parseInt(s(0x14e))/0x1*(-parseInt(s(0x14a))/0x2)+-parseInt(s(0x148))/0x3+-parseInt(s(0x187))/0x4*(-parseInt(s(0x17f))/0x5)+parseInt(s(0x182))/0x6*(-parseInt(s(0x1a2))/0x7)+-parseInt(s(0x171))/0x8+parseInt(s(0x145))/0x9+parseInt(s(0x174))/0xa*(parseInt(s(0x195))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0xd3c3e));const a94b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a94d;if(c){const e=c[t(0x152)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){const u=a94d;return a94a['toString']()[u(0x140)](u(0x17a))[u(0x16a)]()[u(0x156)](a94a)[u(0x140)](u(0x17a));});a94a();import a94e from'path';import a94f from'cli-table';import{paramCase}from'change-case';function a94d(a,b){const c=a94c();return a94d=function(d,e){d=d-0x13f;let f=c[d];return f;},a94d(a,b);}function a94c(){const I=['pop','bright','sort','getGlobalConfig','3004376IaxVZi','minOptsLength','No\x20resource\x20name\x20specified','Generator\x20requires\x20a\x20name','Generators:','cwd','root','help','slice','_handler','both','LIGHT','name','Both','11jwVtNh','validateMakaSubscription','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','checkWhere','call','Description','Please\x20run\x20\x22maka\x20install\x20meteor\x22','exit','notice','resourceName','create','list','validateParams','7uLvGDg','push','join','search','forEach','shortDesc','findGenerator','Generator.create\x20requires\x20a\x20handler\x20function!','1009881xlfgCn','includes','getPro','2229228CkSIEi','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator','475446rPDkxD','_generators','fsi','maxOptsLength','4sLsmwf','number','--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27','addGenerator','apply','split','appPathPrefix','sep','constructor','There\x20is\x20no\x20Meteor\x20application\x20here','replace','mustBeInMakaProject','tableList','proFlags','usage','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','Too\x20few\x20arguments','server','colLocAnswer','setColorMode','pallet','where','Too\x20many\x20arguments','Name','Generator\x20requires\x20a\x20handler\x20function','function','dir','client','toString','assign','minArgLength','Server','invoke','proGenerators','aliases','11372224FynbOA','mustHaveMeteorInstalled','To\x20use\x20this\x20generator,\x20\x22','37452890tkytgr','chdir','error','Client','filter','length','(((.+)+)+)+$','light','options','lib','Too\x20many\x20options','5mqrnQf','maxArgLength','find','3754236dUSjyP'];a94c=function(){return I;};return a94c();}import a94g from'./generators/maka.gen.js';import{Log,ColorMode}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 v=a94d,c=process['cwd']();let d=null;try{process[v(0x175)](a),d=b();}finally{process['chdir'](c);}return d;}export class Generator extends Tool{[a94w(0x17c)];[a94w(0x14b)];constructor(a,b){const x=a94w;super();if(!a)throw new Error(x(0x15d));if(!a[x(0x193)])throw new Error(x(0x18a));if(typeof b!==x(0x167))throw new Error(x(0x166));this[x(0x14b)]=[],this[x(0x17c)]=Object[x(0x16b)]({},a),this[x(0x193)]=this[x(0x17c)][x(0x193)],this[x(0x190)]=b['bind'](this);}static[a94w(0x19f)](a,b,c){const y=a94w;if(!a)throw new Error('Generator.create\x20requires\x20some\x20options!');if(typeof b!=='function')throw new Error(y(0x144));const d=new Generator(a,b);return c=c||a94g,Object[y(0x16b)](d,{'parent':c?.[y(0x17c)]?.[y(0x193)]}),c['addGenerator'](d),d;}[a94w(0x151)](a){const z=a94w;if(!(a instanceof Generator))throw new Error('addGenerator\x20requires\x20a\x20Generator\x20instance');this[z(0x14b)][z(0x1a3)](a);}[a94w(0x143)](a){const A=a94w,b=this[A(0x14b)][A(0x181)](c=>c['match'](a));return b;}async[a94w(0x196)](a,b){const B=a94w,c=this[B(0x143)](a[0x0]);if(c){const d=c?.[B(0x193)]||a[0x0],e=c?.['parent']||'',f=Object['keys'](b),g=await this['fsi'][B(0x147)]();!g&&(Log[B(0x176)]('License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.'),process[B(0x19c)](0x1));const h=!g?.['roles'][B(0x146)]('singleLicense')&&!g?.['roles'][B(0x146)]('domainLicense'),i=g?.[B(0x16f)]['includes'](d)||g?.[B(0x16f)][B(0x146)](e);if(i&&h)throw B(0x173)+d+B(0x197);if(f['length']>0x0){const j=g?.[B(0x15b)][B(0x178)](k=>f[B(0x146)](k));if(j&&j[B(0x179)]>0x0&&h)throw'To\x20use\x20these\x20pro\x20flags,\x20\x22'+j?.[B(0x13f)](',\x20')+B(0x197);}}}async[a94w(0x16e)](a,b){const C=a94w,{usage:usage='',description:description='',examples:examples=[],shortDesc:c,requiredOpts:requiredOpts=[],validOpts:d}=this[C(0x17c)],f=await this[C(0x14c)][C(0x186)](),g=f[C(0x162)]===C(0x17b)?ColorMode[C(0x192)]:ColorMode['DARK'];Log[C(0x161)](g);try{await this[C(0x196)](a,b);}catch(i){Log[C(0x176)](i),process[C(0x19c)](0x1);}const h=a[C(0x18f)]();b[C(0x19e)]=h[0x0];try{if((a[0x0]===_prevGen||a[C(0x179)]===0x0)&&b[C(0x18e)])throw new UsageError();if(this[C(0x17c)][C(0x159)]){const j=this['validateMakaProject']();if(!j)throw new MustBeInProjectError();}if(this['options'][C(0x172)]){const k=this['validateMeteorInstall']();if(!k)throw new NoMeteorFoundError();}if(typeof this[C(0x17c)][C(0x16c)]===C(0x14f)){if(a[C(0x179)]<this[C(0x17c)]['minArgLength']){Log[C(0x176)](C(0x15e));throw new UsageError();}}if(typeof this[C(0x17c)][C(0x180)]===C(0x14f)){if(a[C(0x179)]>this[C(0x17c)]['maxArgLength']){Log[C(0x176)](C(0x164));throw new UsageError();}}if(typeof this[C(0x17c)]['minOptsLength']===C(0x14f)){if(Object['keys'](b)[C(0x179)]<this['options'][C(0x188)]){Log['error']('Too\x20few\x20options');throw new UsageError();}}if(typeof this[C(0x17c)][C(0x14d)]===C(0x14f)){if(Object['keys'](b)[C(0x179)]>=this[C(0x17c)]['maxOptsLength']){Log['error'](C(0x17e));throw new UsageError();}}await this[C(0x1a1)](a,b,this[C(0x17c)]);if(!b[C(0x19e)]&&!this[C(0x17c)]['noResource']){Log[C(0x176)](C(0x189));throw new UsageError();}_prevGen=a[0x0];}catch(l){Log[C(0x15c)](description,examples,usage,c,requiredOpts,d);if(l instanceof UsageError)this[C(0x14b)][C(0x179)]>0x0&&b['help']&&(Log[C(0x19d)](C(0x18b)),this[C(0x15a)](this['_generators']));else{if(l instanceof MustBeInProjectError)Log['error'](C(0x149));else{if(l instanceof NoMeteorFoundError)Log['error']('Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly'),Log[C(0x19d)](C(0x19b));else{if(l instanceof NoMeteorAppFoundError)Log[C(0x176)](C(0x157));else throw l;}}}process[C(0x19c)](0x1);}return new Promise(m=>{const D=C;inside(b[D(0x18c)],async()=>{const E=D;try{if(!b[E(0x18d)]&&!this[E(0x14c)]['findProjectDirectory']())throw new MustBeInProjectError();const n=b['resourceName']?.[E(0x158)](/\\/g,'/')[E(0x153)]('/');!b['dir']&&(n?.[E(0x179)]>0x1?(b[E(0x19e)]=n[E(0x183)](),h[0x0]=b[E(0x19e)],b[E(0x168)]=n['map'](o=>{return paramCase(o);})[E(0x13f)](a94e[E(0x155)])):b[E(0x168)]='');if(this[E(0x17c)][E(0x198)]){if(!b[E(0x163)]){const p={'type':E(0x1a0),'name':E(0x160),'message':'Location','choices':[{'name':E(0x177),'value':E(0x169)},{'name':E(0x16d),'value':E(0x15f)},{'name':E(0x194),'value':E(0x191)}]},{colLocAnswer:q}=await Actions[E(0x17c)](p);q?b[E(0x163)]=q:b[E(0x163)]='both';}const o=[E(0x191),'client','server'];if(!o[E(0x146)](b[E(0x163)])){Log[E(0x176)](E(0x150));throw new UsageError();}switch(b[E(0x163)]){case E(0x191):b[E(0x154)]=E(0x17d);break;case E(0x15f):b[E(0x154)]=E(0x15f);break;case'client':b[E(0x154)]=E(0x169);break;default:b[E(0x154)]='';}}m(this['_handler'][E(0x199)](this,h,b));}catch(r){console[E(0x176)](r);}});});}['listGenerators'](){const F=a94w;this[F(0x15a)](this[F(0x14b)]);}['tableList'](a){const G=a94w,b=new a94f({});b[G(0x1a3)]([G(0x165),'Alias',G(0x19a)]),a[G(0x185)]()[G(0x141)](c=>{const H=G;b['push']([c[H(0x193)],c[H(0x170)](),c[H(0x142)]()]);}),Log[G(0x184)](b[G(0x16a)]());}}
1
+ const a94w=a94d;(function(a,b){const s=a94d,c=a();while(!![]){try{const d=-parseInt(s(0x1f3))/0x1*(parseInt(s(0x1e5))/0x2)+parseInt(s(0x1aa))/0x3*(parseInt(s(0x1a6))/0x4)+-parseInt(s(0x1d3))/0x5+-parseInt(s(0x1c1))/0x6*(-parseInt(s(0x1b3))/0x7)+parseInt(s(0x19e))/0x8*(-parseInt(s(0x1c9))/0x9)+parseInt(s(0x1f9))/0xa+parseInt(s(0x1f8))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0x72a29));const a94b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a94d;if(c){const e=c[t(0x1ff)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){const u=a94d;return a94a[u(0x1f7)]()['search'](u(0x1be))['toString']()[u(0x1b9)](a94a)[u(0x1ec)](u(0x1be));});a94a();import a94e from'path';import a94f from'cli-table';import{paramCase}from'change-case';import a94g from'./generators/maka.gen.js';import{Log,ColorMode}from'./tools/log/log.class.js';function a94d(a,b){const c=a94c();return a94d=function(d,e){d=d-0x19c;let f=c[d];return f;},a94d(a,b);}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 v=a94d,c=process[v(0x1ef)]();let d=null;try{process['chdir'](a),d=b();}finally{process['chdir'](c);}return d;}function a94c(){const I=['checkWhere','listGenerators','proFlags','dir','setColorMode','Generator.create\x20requires\x20a\x20handler\x20function!','validateMakaProject','maxArgLength','options','includes','validateParams','492566cVkrfI','tableList','forEach','noResource','create','notice','bind','search','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator','Both','cwd','Location','error','slice','1xnlliY','proGenerators','assign','_generators','toString','7023258THYkez','1927900UzXDjH','Name','exit','There\x20is\x20no\x20Meteor\x20application\x20here','getPro','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','apply','parent','DARK','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','maxOptsLength','number','root','1924904fSFdnD','function','fsi','Description','minArgLength','join','validateMeteorInstall','pallet','4pNeMjF','Server','Too\x20many\x20options','Please\x20run\x20\x22maka\x20install\x20meteor\x22','662253BsDpAL','client','Too\x20few\x20arguments','map','roles','server','find','colLocAnswer','keys','42847OXfNhp','appPathPrefix','match','mustHaveMeteorInstalled','name','Generators:','constructor','both','length','aliases','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','(((.+)+)+)+$','push','_handler','474MlEuPn','pop','help','addGenerator\x20requires\x20a\x20Generator\x20instance','Too\x20many\x20arguments','minOptsLength','lib','findGenerator','9LlAIxz','invoke','resourceName','singleLicense','getGlobalConfig','shortDesc','bright','To\x20use\x20this\x20generator,\x20\x22','Too\x20few\x20options','sort','2895685PPArpS','To\x20use\x20these\x20pro\x20flags,\x20\x22','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','where','No\x20resource\x20name\x20specified','validateMakaSubscription','mustBeInMakaProject'];a94c=function(){return I;};return a94c();}export class Generator extends Tool{[a94w(0x1e2)];['_generators'];constructor(a,b){const x=a94w;super();if(!a)throw new Error(x(0x1d5));if(!a[x(0x1b7)])throw new Error('Generator\x20requires\x20a\x20name');if(typeof b!=='function')throw new Error('Generator\x20requires\x20a\x20handler\x20function');this[x(0x1f6)]=[],this[x(0x1e2)]=Object['assign']({},a),this['name']=this[x(0x1e2)]['name'],this[x(0x1c0)]=b[x(0x1eb)](this);}static[a94w(0x1e9)](a,b,c){const y=a94w;if(!a)throw new Error('Generator.create\x20requires\x20some\x20options!');if(typeof b!==y(0x19f))throw new Error(y(0x1df));const d=new Generator(a,b);return c=c||a94g,Object[y(0x1f5)](d,{'parent':c?.[y(0x1e2)]?.['name']}),c['addGenerator'](d),d;}['addGenerator'](a){const z=a94w;if(!(a instanceof Generator))throw new Error(z(0x1c4));this[z(0x1f6)]['push'](a);}[a94w(0x1c8)](a){const A=a94w,b=this['_generators'][A(0x1b0)](c=>c[A(0x1b5)](a));return b;}async[a94w(0x1d8)](a,b){const B=a94w,c=this[B(0x1c8)](a[0x0]);if(c){const d=c?.[B(0x1b7)]||a[0x0],e=c?.[B(0x200)]||'',f=Object[B(0x1b2)](b),g=await this['fsi'][B(0x1fd)]();!g&&(Log[B(0x1f1)](B(0x1fe)),process[B(0x1fb)](0x1));const h=!g?.[B(0x1ae)][B(0x1e3)](B(0x1cc))&&!g?.[B(0x1ae)][B(0x1e3)]('domainLicense'),i=g?.[B(0x1f4)][B(0x1e3)](d)||g?.[B(0x1f4)][B(0x1e3)](e);if(i&&h)throw B(0x1d0)+d+B(0x1bd);if(f[B(0x1bb)]>0x0){const j=g?.[B(0x1dc)]['filter'](k=>f[B(0x1e3)](k));if(j&&j[B(0x1bb)]>0x0&&h)throw B(0x1d4)+j?.[B(0x1a3)](',\x20')+B(0x1bd);}}}async[a94w(0x1ca)](a,b){const C=a94w,{usage:usage='',description:description='',examples:examples=[],shortDesc:c,requiredOpts:requiredOpts=[],validOpts:d}=this[C(0x1e2)],f=await this[C(0x1a0)][C(0x1cd)](),g=f[C(0x1a5)]==='light'?ColorMode['LIGHT']:ColorMode[C(0x201)];Log[C(0x1de)](g);try{await this[C(0x1d8)](a,b);}catch(i){Log[C(0x1f1)](i),process[C(0x1fb)](0x1);}const h=a[C(0x1f2)]();b[C(0x1cb)]=h[0x0];try{if((a[0x0]===_prevGen||a[C(0x1bb)]===0x0)&&b['help'])throw new UsageError();if(this[C(0x1e2)][C(0x1d9)]){const j=this[C(0x1e0)]();if(!j)throw new MustBeInProjectError();}if(this[C(0x1e2)][C(0x1b6)]){const k=this[C(0x1a4)]();if(!k)throw new NoMeteorFoundError();}if(typeof this[C(0x1e2)][C(0x1a2)]===C(0x19c)){if(a[C(0x1bb)]<this[C(0x1e2)][C(0x1a2)]){Log[C(0x1f1)](C(0x1ac));throw new UsageError();}}if(typeof this[C(0x1e2)][C(0x1e1)]==='number'){if(a[C(0x1bb)]>this[C(0x1e2)]['maxArgLength']){Log['error'](C(0x1c5));throw new UsageError();}}if(typeof this[C(0x1e2)][C(0x1c6)]===C(0x19c)){if(Object[C(0x1b2)](b)['length']<this[C(0x1e2)][C(0x1c6)]){Log[C(0x1f1)](C(0x1d1));throw new UsageError();}}if(typeof this[C(0x1e2)][C(0x203)]===C(0x19c)){if(Object[C(0x1b2)](b)[C(0x1bb)]>=this[C(0x1e2)][C(0x203)]){Log[C(0x1f1)](C(0x1a8));throw new UsageError();}}await this[C(0x1e4)](a,b,this[C(0x1e2)]);if(!b[C(0x1cb)]&&!this[C(0x1e2)][C(0x1e8)]){Log[C(0x1f1)](C(0x1d7));throw new UsageError();}_prevGen=a[0x0];}catch(l){Log['usage'](description,examples,usage,c,requiredOpts,d);if(l instanceof UsageError)this[C(0x1f6)][C(0x1bb)]>0x0&&b[C(0x1c3)]&&(Log[C(0x1ea)](C(0x1b8)),this['tableList'](this['_generators']));else{if(l instanceof MustBeInProjectError)Log[C(0x1f1)](C(0x1ed));else{if(l instanceof NoMeteorFoundError)Log[C(0x1f1)](C(0x202)),Log['notice'](C(0x1a9));else{if(l instanceof NoMeteorAppFoundError)Log[C(0x1f1)](C(0x1fc));else throw l;}}}process['exit'](0x1);}return new Promise(m=>{const D=C;inside(b[D(0x1ef)],async()=>{const E=D;try{if(!b[E(0x19d)]&&!this[E(0x1a0)]['findProjectDirectory']())throw new MustBeInProjectError();const n=b[E(0x1cb)]?.['replace'](/\\/g,'/')['split']('/');!b['dir']&&(n?.[E(0x1bb)]>0x1?(b[E(0x1cb)]=n[E(0x1c2)](),h[0x0]=b[E(0x1cb)],b[E(0x1dd)]=n[E(0x1ad)](o=>{return paramCase(o);})[E(0x1a3)](a94e['sep'])):b[E(0x1dd)]='');if(this[E(0x1e2)][E(0x1da)]){if(!b[E(0x1d6)]){const p={'type':'list','name':E(0x1b1),'message':E(0x1f0),'choices':[{'name':'Client','value':E(0x1ab)},{'name':E(0x1a7),'value':E(0x1af)},{'name':E(0x1ee),'value':E(0x1ba)}]},{colLocAnswer:q}=await Actions[E(0x1e2)](p);q?b[E(0x1d6)]=q:b[E(0x1d6)]=E(0x1ba);}const o=['both','client',E(0x1af)];if(!o[E(0x1e3)](b[E(0x1d6)])){Log[E(0x1f1)]('--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27');throw new UsageError();}switch(b[E(0x1d6)]){case E(0x1ba):b[E(0x1b4)]=E(0x1c7);break;case E(0x1af):b['appPathPrefix']='server';break;case E(0x1ab):b['appPathPrefix']=E(0x1ab);break;default:b[E(0x1b4)]='';}}m(this[E(0x1c0)]['call'](this,h,b));}catch(r){console[E(0x1f1)](r);}});});}[a94w(0x1db)](){const F=a94w;this[F(0x1e6)](this[F(0x1f6)]);}['tableList'](a){const G=a94w,b=new a94f({});b[G(0x1bf)]([G(0x1fa),'Alias',G(0x1a1)]),a[G(0x1d2)]()[G(0x1e7)](c=>{const H=G;b[H(0x1bf)]([c[H(0x1b7)],c[H(0x1bc)](),c[H(0x1ce)]()]);}),Log[G(0x1cf)](b[G(0x1f7)]());}}
@@ -1 +1 @@
1
- (function(a,b){var f=a95d,c=a();while(!![]){try{var d=-parseInt(f(0xa4))/0x1+-parseInt(f(0xa7))/0x2*(parseInt(f(0xa0))/0x3)+parseInt(f(0xa5))/0x4+parseInt(f(0x9f))/0x5*(parseInt(f(0xa3))/0x6)+parseInt(f(0xa2))/0x7+parseInt(f(0xa8))/0x8+parseInt(f(0x9c))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a95c,0x7d47e));var a95b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a95d;if(c){var e=c[g(0xa6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a95a=a95b(this,function(){var h=a95d;return a95a['toString']()[h(0x9d)](h(0xa1))[h(0xa9)]()[h(0x9e)](a95a)[h(0x9d)](h(0xa1));});a95a();function a95c(){var i=['779438ihwtTS','710124keZrlL','apply','4DAdPlp','5723792nrxjoP','toString','2201778xHZsEC','search','constructor','15CVSXtK','507933IPjRwy','(((.+)+)+)+$','2095254DIMFvQ','388482veywLg'];a95c=function(){return i;};return a95c();}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';import'./package.js';import'./publish.js';import'./route.js';import'./service.js';import'./page.js';function a95d(a,b){var c=a95c();return a95d=function(d,e){d=d-0x9c;var f=c[d];return f;},a95d(a,b);}import'./maka.gen.js';import'./dockerfile.js';import'./maka.gen.js';
1
+ (function(a,b){var f=a95d,c=a();while(!![]){try{var d=parseInt(f(0x1d1))/0x1+parseInt(f(0x1d0))/0x2+parseInt(f(0x1c7))/0x3+-parseInt(f(0x1cf))/0x4+parseInt(f(0x1c6))/0x5+-parseInt(f(0x1c9))/0x6+-parseInt(f(0x1c8))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a95c,0xec298));var a95b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a95d;if(c){var e=c[g(0x1ce)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a95a=a95b(this,function(){var h=a95d;return a95a[h(0x1cd)]()['search'](h(0x1cc))[h(0x1cd)]()[h(0x1cb)](a95a)[h(0x1ca)](h(0x1cc));});a95a();import'./services/_index.js';import'./api.js';import'./collection.js';function a95d(a,b){var c=a95c();return a95d=function(d,e){d=d-0x1c6;var f=c[d];return f;},a95d(a,b);}import'./component.js';import'./config.js';function a95c(){var i=['1801346kMQkRj','8263630XwwHFm','3563178RCxiuO','10140886GGdQRt','9304200rDDygC','search','constructor','(((.+)+)+)+$','toString','apply','6058992IETzmq','1679336fpxOmu'];a95c=function(){return i;};return a95c();}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 a96z=a96d;(function(a,b){const w=a96d,c=a();while(!![]){try{const d=-parseInt(w(0x115))/0x1*(parseInt(w(0xf8))/0x2)+-parseInt(w(0x109))/0x3*(parseInt(w(0x104))/0x4)+-parseInt(w(0x120))/0x5+-parseInt(w(0xe0))/0x6*(parseInt(w(0xd8))/0x7)+-parseInt(w(0x128))/0x8+-parseInt(w(0x10b))/0x9+parseInt(w(0xe1))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a96c,0x33e6c));const a96b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a96d;if(c){const e=c[x(0x12a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a96a=a96b(this,function(){const y=a96d;return a96a[y(0xe5)]()[y(0x113)]('(((.+)+)+)+$')[y(0xe5)]()['constructor'](a96a)[y(0x113)](y(0x101));});a96a();import{Generator}from'../generator.js';function a96d(a,b){const c=a96c();return a96d=function(d,e){d=d-0xd8;let f=c[d];return f;},a96d(a,b);}import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';function a96c(){const C=['imports','406053wyvhhO','push','withPubs','Scaffolding\x20for\x20an\x20api\x20concept\x20(i.e.\x20Todos).','resolverList.push(','server','includes','/imports/api','search','withMethods','209372EGEMWO','findGenerator','api/methods.js','api/tests.js','withValue','\x0aimport\x20{\x20resolvers\x20as\x20','engines','\x27;\x0a','graphql','apiAnswers','apollo','1625310VtXkym','maka\x20g:api\x20Todos','/graphql/typeDefs','length','resolvers.','startup','notice','maka:check','2102888IWufNs','Resolvers);\x0a\x0a','apply','TypeDefs\x20}\x20from\x20\x27','rest-api.','checkMeteorPackage','REST\x20API','invoke','dir','TypeDefs);\x0a','fixtures.','index.','7IlJxwD','pathFromApp','rest','withFixtures','api/register-api.js','template','create','resourceName','1712202VWYRta','13679790jKuVyB','const','publications.','\x0a\x20\x20Scaffolding\x20for\x20an\x20api\x20concept\x20(i.e.\x20Todos).\x0a\x0a\x20\x20The\x20api\x20generator\x20will\x20create\x20a\x20collection,\x20publications,\x20methods,\x20fixtures,\x20and\x20tests\x0a\x20\x20for\x20the\x20given\x20resource\x20name.\x0a\x0a\x20\x20The\x20api\x20generator\x20will\x20ask\x20which\x20boundaries\x20to\x20create.\x20The\x20choices\x20are:\x0a\x20\x20\x20\x20-\x20RPC\x20(Methods)\x0a\x20\x20\x20\x20-\x20Fixtures\x0a\x20\x20\x20\x20-\x20Publications\x0a\x20\x20\x20\x20-\x20REST\x20API\x0a\x20\x20\x20\x20-\x20GraphQL\x0a\x0a\x20\x20','toString','withGql','import\x20{\x20typeDefs\x20as\x20','checkbox','rpc-methods.','exit','/graphql/resolvers','fsi','Publications','api/api.js','options','tsx','rewriteDestinationPathForEngine','maka:rest','import\x20\x27./register-','api','installMeteorPackage','collection','Verifying\x20meteor\x20package\x20requirements\x20...','2yEEllh','-api.','getProjectConfig','mongo','-api\x27;','injectIntoFile','api/resolvers.js','withRest','Fixtures','(((.+)+)+)+$','test','if\x20\x5c(typeList','55224dCTiWQ','injectAtBeginningOfFile','maka:rest\x20maka:check\x20ddp-rate-limiter\x20mdg:validated-method\x20mongo','injectAtEndOfFile','error','6VRYFKP'];a96c=function(){return C;};return a96c();}import a96e from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a96z(0xde)]({'name':'api','aliases':['a'],'usage':'maka\x20{generate,\x20g}:{api}\x20<resource-name>','shortDesc':a96z(0x10e),'validOpts':[a96z(0x130)],'examples':[a96z(0x121)],'description':a96z(0xe4)},async function(a,b){const A=a96z;try{const c=this[A(0xec)][A(0xfa)](),d=[{'name':'RPC\x20(Methods)','value':A(0x114)},{'name':A(0x100),'value':'withFixtures'},{'name':A(0xed),'value':A(0x10d)}];c['engines'][A(0xf4)]===A(0xda)&&d[A(0x10c)]({'name':A(0x12e),'value':'withRest'});c['engines'][A(0x11d)]===A(0x11f)&&d[A(0x10c)]({'name':'GraphQL','value':A(0xe6)});const f={'type':A(0xe8),'name':A(0x11e),'message':'API\x20boundaries\x20to\x20create','pageSize':0x64,'choices':d},{apiAnswers:g}=await Actions[A(0xef)](f);g[A(0x123)]===0x0&&(Log['error']('No\x20API\x20boundaries\x20selected'),process[A(0xea)](0x1)),this[A(0xec)][A(0x119)](c,async()=>{const B=A,h=this[B(0xec)][B(0xd9)]({}),i=b[B(0xdf)],j=paramCase(i),k=camelCase(i),l=b[B(0x130)]?'/'+b[B(0x130)]+'/':'/',m={'name':pascalCase(i),'fileName':j,'camelCase':pascalCase(i),'optsDir':l,'api':c[B(0x11b)][B(0xf4)],'graphql':c['engines'][B(0x11d)],'test':c[B(0x11b)][B(0x102)],'noRename':!![],'withPubs':g[B(0x111)](B(0x10d)),'withFixtures':g[B(0x111)](B(0xdb)),'withMethods':g['includes'](B(0x114)),'withRest':g['includes'](B(0xff))};let n='js';c[B(0x11b)]['js']===B(0xf0)&&(n='ts');(!this['fsi']['checkMeteorPackage'](B(0xf2))||!this[B(0xec)][B(0x12d)](B(0x127))||!this[B(0xec)][B(0x12d)]('ddp-rate-limiter')||!this[B(0xec)][B(0x12d)]('mdg:validated-method')||!this[B(0xec)][B(0x12d)](B(0xfb)))&&(Log[B(0x126)](B(0xf7)),await this[B(0xec)][B(0xf5)](B(0x106),{'cwd':h}));const o=a96e[B(0x116)](B(0xf6));o&&await o[B(0x12f)]([j],{'config':c,'where':B(0x110)});c[B(0x11b)][B(0xf4)]===B(0xda)&&(m[B(0xff)]&&this[B(0xec)][B(0xdd)]({'srcPath':B(0xee),'destPath':this['fsi']['pathFromApp']({'pathParts':[B(0x10a),B(0xf4),b[B(0x130)],j,B(0x12c)+n]}),'context':m,'config':c}));m['withMethods']&&this[B(0xec)][B(0xdd)]({'srcPath':B(0x117),'destPath':this[B(0xec)][B(0xd9)]({'pathParts':[B(0x10a),B(0xf4),b[B(0x130)],j,B(0xe9)+n]}),'context':m,'config':c});m[B(0xdb)]&&this[B(0xec)][B(0xdd)]({'srcPath':'api/fixtures.js','destPath':this[B(0xec)][B(0xd9)]({'pathParts':[B(0x10a),B(0xf4),b[B(0x130)],j,B(0x132)+n]}),'context':m,'config':c});c[B(0x11b)][B(0x102)]!=='none'&&this[B(0xec)]['template']({'srcPath':B(0x118),'destPath':this[B(0xec)]['pathFromApp']({'pathParts':[B(0x10a),B(0xf4),b['dir'],j,j+'.app-tests.'+n]}),'context':m,'config':c});m[B(0x10d)]&&this['fsi']['template']({'srcPath':'api/publications.js','destPath':this[B(0xec)]['pathFromApp']({'pathParts':['imports',B(0xf4),b[B(0x130)],j,B(0xe3)+n]}),'context':m,'config':c});if(c['engines'][B(0x11d)]===B(0x11f)){if(g[B(0x111)](B(0xe6))){const q=this['fsi'][B(0xd9)]({'pathParts':['imports','startup','server',B(0x133)+c[B(0x11b)]['js']]}),r=this[B(0xec)][B(0xf1)]({'pathParts':[q],'config':c}),s=this[B(0xec)][B(0xd9)]({'pathParts':[B(0x10a),B(0xf4),b[B(0x130)],j,B(0x11d),'typeDefs.'+n]}),t=B(0x112)+l+j+B(0x122);this[B(0xec)][B(0xdd)]({'srcPath':'api/typeDefs.js','destPath':s,'context':m,'config':c}),this[B(0xec)][B(0x105)]({'filePath':r,'content':B(0xe7)+k+B(0x12b)+t+B(0x11c)}),this[B(0xec)][B(0xfd)]({'filePath':r,'content':'typeList.push('+k+B(0x131),'begin':'const','end':B(0x103)});const u=this[B(0xec)][B(0xd9)]({'pathParts':['imports',B(0xf4),b['dir'],j,B(0x11d),B(0x124)+n]}),v=B(0x112)+l+j+B(0xeb);this[B(0xec)][B(0xdd)]({'srcPath':B(0xfe),'destPath':u,'context':m,'config':c}),this[B(0xec)][B(0x105)]({'filePath':r,'content':B(0x11a)+k+'Resolvers\x20}\x20from\x20\x27'+v+'\x27;'}),this[B(0xec)][B(0xfd)]({'filePath':r,'content':B(0x10f)+k+B(0x129),'begin':B(0xe2),'end':B(0x103)});}}this[B(0xec)][B(0xdd)]({'srcPath':B(0xdc),'destPath':this[B(0xec)][B(0xd9)]({'pathParts':[B(0x10a),B(0x125),B(0x110),'register-'+j+B(0xf9)+n]}),'context':m,'config':c,'force':!![]});const p=this['fsi'][B(0xd9)]({'pathParts':[B(0x10a),B(0x125),B(0x110),B(0x133)+c[B(0x11b)]['js']]});this[B(0xec)][B(0x107)]({'filePath':p,'content':B(0xf3)+j+B(0xfc)});});}catch(h){console[A(0x108)](h),process['exit'](0x0);}});
1
+ const a96z=a96d;(function(a,b){const w=a96d,c=a();while(!![]){try{const d=-parseInt(w(0xd5))/0x1+parseInt(w(0x10c))/0x2+parseInt(w(0xbc))/0x3*(-parseInt(w(0xf1))/0x4)+-parseInt(w(0x115))/0x5*(parseInt(w(0x10e))/0x6)+parseInt(w(0xb8))/0x7+parseInt(w(0xe0))/0x8*(parseInt(w(0xf3))/0x9)+-parseInt(w(0xfb))/0xa*(parseInt(w(0x113))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a96c,0xad1ec));function a96c(){const C=['checkMeteorPackage','fsi','TypeDefs\x20}\x20from\x20\x27','api/api.js','maka:rest\x20maka:check\x20ddp-rate-limiter\x20mdg:validated-method\x20mongo','length','2806710LmYHAN','engines','apply','/imports/api','injectIntoFile','import\x20{\x20typeDefs\x20as\x20','REST\x20API','push','.app-tests.','withRest','api','graphql','injectAtBeginningOfFile','GraphQL','\x27;\x0a','rpc-methods.','api/publications.js','2704640ADqlDm','\x0aimport\x20{\x20resolvers\x20as\x20','36LoMbos','tsx','index.','imports','invoke','11QKGfNB','-api.','768485WrJiAO','import\x20\x27./register-','options','pathFromApp','api/fixtures.js','9703715eEPeQE','resolverList.push(','rewriteDestinationPathForEngine','error','6IGkoJj','ddp-rate-limiter','maka\x20g:api\x20Todos','Verifying\x20meteor\x20package\x20requirements\x20...','template','typeList.push(','Scaffolding\x20for\x20an\x20api\x20concept\x20(i.e.\x20Todos).','withPubs','includes','exit','installMeteorPackage','api/typeDefs.js','Resolvers\x20}\x20from\x20\x27','RPC\x20(Methods)','\x0a\x20\x20Scaffolding\x20for\x20an\x20api\x20concept\x20(i.e.\x20Todos).\x0a\x0a\x20\x20The\x20api\x20generator\x20will\x20create\x20a\x20collection,\x20publications,\x20methods,\x20fixtures,\x20and\x20tests\x0a\x20\x20for\x20the\x20given\x20resource\x20name.\x0a\x0a\x20\x20The\x20api\x20generator\x20will\x20ask\x20which\x20boundaries\x20to\x20create.\x20The\x20choices\x20are:\x0a\x20\x20\x20\x20-\x20RPC\x20(Methods)\x0a\x20\x20\x20\x20-\x20Fixtures\x0a\x20\x20\x20\x20-\x20Publications\x0a\x20\x20\x20\x20-\x20REST\x20API\x0a\x20\x20\x20\x20-\x20GraphQL\x0a\x0a\x20\x20','apollo','publications.','maka\x20{generate,\x20g}:{api}\x20<resource-name>','withMethods','const','/graphql/typeDefs','withValue','findGenerator','collection','api/tests.js','746553FhYmck','mdg:validated-method','dir','rest-api.','-api\x27;','toString','(((.+)+)+)+$','maka:rest','No\x20API\x20boundaries\x20selected','withFixtures','fixtures.','232QUEWBx','search','getProjectConfig','TypeDefs);\x0a','withGql','api/register-api.js','Resolvers);\x0a\x0a','notice','none','API\x20boundaries\x20to\x20create','if\x20\x5c(typeList','apiAnswers','create','rest','startup','server','mongo','1863056fCwPoK','resourceName','264249nRQmUr','test'];a96c=function(){return C;};return a96c();}const a96b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a96d;if(c){const e=c[x(0xfd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a96a=a96b(this,function(){const y=a96d;return a96a[y(0xda)]()['search'](y(0xdb))['toString']()['constructor'](a96a)[y(0xe1)](y(0xdb));});a96a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import a96e from'../generators/maka.gen.js';function a96d(a,b){const c=a96c();return a96d=function(d,e){d=d-0xb4;let f=c[d];return f;},a96d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';Generator[a96z(0xec)]({'name':a96z(0x105),'aliases':['a'],'usage':a96z(0xcd),'shortDesc':a96z(0xc2),'validOpts':['dir'],'examples':[a96z(0xbe)],'description':a96z(0xca)},async function(a,b){const A=a96z;try{const c=this[A(0xf6)][A(0xe2)](),d=[{'name':A(0xc9),'value':A(0xce)},{'name':'Fixtures','value':'withFixtures'},{'name':'Publications','value':'withPubs'}];c[A(0xfc)][A(0x105)]===A(0xed)&&d[A(0x102)]({'name':A(0x101),'value':A(0x104)});c[A(0xfc)][A(0x106)]==='apollo'&&d['push']({'name':A(0x108),'value':A(0xe4)});const f={'type':'checkbox','name':A(0xeb),'message':A(0xe9),'pageSize':0x64,'choices':d},{apiAnswers:g}=await Actions[A(0xb5)](f);g[A(0xfa)]===0x0&&(Log['error'](A(0xdd)),process['exit'](0x1)),this[A(0xf6)][A(0xd1)](c,async()=>{const B=A,h=this[B(0xf6)][B(0xb6)]({}),i=b[B(0xf2)],j=paramCase(i),k=camelCase(i),l=b[B(0xd7)]?'/'+b[B(0xd7)]+'/':'/',m={'name':pascalCase(i),'fileName':j,'camelCase':pascalCase(i),'optsDir':l,'api':c[B(0xfc)][B(0x105)],'graphql':c[B(0xfc)][B(0x106)],'test':c[B(0xfc)][B(0xf4)],'noRename':!![],'withPubs':g['includes'](B(0xc3)),'withFixtures':g[B(0xc4)](B(0xde)),'withMethods':g['includes']('withMethods'),'withRest':g['includes']('withRest')};let n='js';c['engines']['js']===B(0x10f)&&(n='ts');(!this['fsi'][B(0xf5)](B(0xdc))||!this[B(0xf6)]['checkMeteorPackage']('maka:check')||!this[B(0xf6)][B(0xf5)](B(0xbd))||!this[B(0xf6)][B(0xf5)](B(0xd6))||!this[B(0xf6)][B(0xf5)](B(0xf0)))&&(Log[B(0xe7)](B(0xbf)),await this[B(0xf6)][B(0xc6)](B(0xf9),{'cwd':h}));const o=a96e[B(0xd2)](B(0xd3));o&&await o[B(0x112)]([j],{'config':c,'where':B(0xef)});c[B(0xfc)][B(0x105)]===B(0xed)&&(m[B(0x104)]&&this[B(0xf6)][B(0xc0)]({'srcPath':B(0xf8),'destPath':this[B(0xf6)][B(0xb6)]({'pathParts':[B(0x111),B(0x105),b[B(0xd7)],j,B(0xd8)+n]}),'context':m,'config':c}));m[B(0xce)]&&this['fsi']['template']({'srcPath':'api/methods.js','destPath':this[B(0xf6)][B(0xb6)]({'pathParts':['imports',B(0x105),b[B(0xd7)],j,B(0x10a)+n]}),'context':m,'config':c});m['withFixtures']&&this['fsi']['template']({'srcPath':B(0xb7),'destPath':this[B(0xf6)][B(0xb6)]({'pathParts':[B(0x111),B(0x105),b['dir'],j,B(0xdf)+n]}),'context':m,'config':c});c[B(0xfc)][B(0xf4)]!==B(0xe8)&&this[B(0xf6)][B(0xc0)]({'srcPath':B(0xd4),'destPath':this['fsi'][B(0xb6)]({'pathParts':[B(0x111),B(0x105),b[B(0xd7)],j,j+B(0x103)+n]}),'context':m,'config':c});m['withPubs']&&this[B(0xf6)][B(0xc0)]({'srcPath':B(0x10b),'destPath':this[B(0xf6)][B(0xb6)]({'pathParts':[B(0x111),'api',b[B(0xd7)],j,B(0xcc)+n]}),'context':m,'config':c});if(c[B(0xfc)][B(0x106)]===B(0xcb)){if(g[B(0xc4)](B(0xe4))){const q=this[B(0xf6)][B(0xb6)]({'pathParts':[B(0x111),B(0xee),B(0xef),B(0x110)+c[B(0xfc)]['js']]}),r=this[B(0xf6)][B(0xba)]({'pathParts':[q],'config':c}),s=this[B(0xf6)][B(0xb6)]({'pathParts':[B(0x111),B(0x105),b[B(0xd7)],j,'graphql','typeDefs.'+n]}),t=B(0xfe)+l+j+B(0xd0);this['fsi'][B(0xc0)]({'srcPath':B(0xc7),'destPath':s,'context':m,'config':c}),this['fsi']['injectAtBeginningOfFile']({'filePath':r,'content':B(0x100)+k+B(0xf7)+t+B(0x109)}),this[B(0xf6)][B(0xff)]({'filePath':r,'content':B(0xc1)+k+B(0xe3),'begin':B(0xcf),'end':'if\x20\x5c(typeList'});const u=this[B(0xf6)][B(0xb6)]({'pathParts':[B(0x111),'api',b['dir'],j,B(0x106),'resolvers.'+n]}),v=B(0xfe)+l+j+'/graphql/resolvers';this[B(0xf6)][B(0xc0)]({'srcPath':'api/resolvers.js','destPath':u,'context':m,'config':c}),this[B(0xf6)][B(0x107)]({'filePath':r,'content':B(0x10d)+k+B(0xc8)+v+'\x27;'}),this[B(0xf6)][B(0xff)]({'filePath':r,'content':B(0xb9)+k+B(0xe6),'begin':B(0xcf),'end':B(0xea)});}}this[B(0xf6)]['template']({'srcPath':B(0xe5),'destPath':this[B(0xf6)][B(0xb6)]({'pathParts':['imports','startup',B(0xef),'register-'+j+B(0x114)+n]}),'context':m,'config':c,'force':!![]});const p=this[B(0xf6)][B(0xb6)]({'pathParts':['imports','startup',B(0xef),'index.'+c[B(0xfc)]['js']]});this[B(0xf6)]['injectAtEndOfFile']({'filePath':p,'content':B(0xb4)+j+B(0xd9)});});}catch(h){console[A(0xbb)](h),process[A(0xc5)](0x0);}});