@maka/maka-cli 4.3.30 → 4.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/aws/_index.js +1 -1
  5. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  6. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  7. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/build/_index.js +1 -1
  17. package/bundle/obf/src/commands/build/build.js +1 -1
  18. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/create.js +1 -1
  20. package/bundle/obf/src/commands/debug.js +1 -1
  21. package/bundle/obf/src/commands/deploy.js +1 -1
  22. package/bundle/obf/src/commands/game/_index.js +1 -1
  23. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  24. package/bundle/obf/src/commands/game/play.command.js +1 -1
  25. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  26. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  28. package/bundle/obf/src/commands/generate.js +1 -1
  29. package/bundle/obf/src/commands/get/_index.js +1 -1
  30. package/bundle/obf/src/commands/get/get.command.js +1 -1
  31. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  32. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  34. package/bundle/obf/src/commands/help.js +1 -1
  35. package/bundle/obf/src/commands/install.js +1 -1
  36. package/bundle/obf/src/commands/jsdoc.js +1 -1
  37. package/bundle/obf/src/commands/lint.js +1 -1
  38. package/bundle/obf/src/commands/login.js +1 -1
  39. package/bundle/obf/src/commands/logout.js +1 -1
  40. package/bundle/obf/src/commands/logs.js +1 -1
  41. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  42. package/bundle/obf/src/commands/murder.js +1 -1
  43. package/bundle/obf/src/commands/proxy.js +1 -1
  44. package/bundle/obf/src/commands/reconfig.js +1 -1
  45. package/bundle/obf/src/commands/run/_index.js +1 -1
  46. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  47. package/bundle/obf/src/commands/run/run.command.js +1 -1
  48. package/bundle/obf/src/commands/set/_index.js +1 -1
  49. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  50. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  51. package/bundle/obf/src/commands/set/set.command.js +1 -1
  52. package/bundle/obf/src/commands/ssh.js +1 -1
  53. package/bundle/obf/src/commands/ssl.js +1 -1
  54. package/bundle/obf/src/commands/test.js +1 -1
  55. package/bundle/obf/src/commands/version.js +1 -1
  56. package/bundle/obf/src/error.js +1 -1
  57. package/bundle/obf/src/generator.js +1 -1
  58. package/bundle/obf/src/generators/_index.js +1 -1
  59. package/bundle/obf/src/generators/api.js +1 -1
  60. package/bundle/obf/src/generators/collection.js +1 -1
  61. package/bundle/obf/src/generators/component.js +1 -1
  62. package/bundle/obf/src/generators/config.js +1 -1
  63. package/bundle/obf/src/generators/dbc.js +1 -1
  64. package/bundle/obf/src/generators/dockerfile.js +1 -1
  65. package/bundle/obf/src/generators/hook.js +1 -1
  66. package/bundle/obf/src/generators/kit.js +1 -1
  67. package/bundle/obf/src/generators/layout.js +1 -1
  68. package/bundle/obf/src/generators/maka.gen.js +1 -1
  69. package/bundle/obf/src/generators/methods.js +1 -1
  70. package/bundle/obf/src/generators/package.js +1 -1
  71. package/bundle/obf/src/generators/page.js +1 -1
  72. package/bundle/obf/src/generators/publish.js +1 -1
  73. package/bundle/obf/src/generators/route.js +1 -1
  74. package/bundle/obf/src/generators/service.js +1 -1
  75. package/bundle/obf/src/generators/services/_index.js +1 -1
  76. package/bundle/obf/src/generators/services/openssl.js +1 -1
  77. package/bundle/obf/src/generators/services/translation.js +1 -1
  78. package/bundle/obf/src/maka.js +1 -1
  79. package/bundle/obf/src/tool.js +1 -1
  80. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  81. package/bundle/obf/src/tools/actions/actions.test.js +1 -1
  82. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  83. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  84. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  85. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  86. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  87. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  88. package/bundle/obf/src/tools/https/https.class.js +1 -1
  89. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  90. package/bundle/obf/src/tools/log/log.class.js +1 -1
  91. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  92. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  93. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  94. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  95. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  96. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  97. package/package.json +1 -1
@@ -1 +1 @@
1
- const a36z=a36d;(function(a,b){const w=a36d,c=a();while(!![]){try{const d=parseInt(w(0x72))/0x1*(parseInt(w(0x95))/0x2)+-parseInt(w(0x78))/0x3*(parseInt(w(0x80))/0x4)+-parseInt(w(0x9a))/0x5*(-parseInt(w(0x9d))/0x6)+-parseInt(w(0x7e))/0x7+-parseInt(w(0x88))/0x8*(-parseInt(w(0x8f))/0x9)+parseInt(w(0xa6))/0xa+-parseInt(w(0x75))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0xe2e5a));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a36d;if(c){const e=c[x(0x82)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const y=a36d;return a36a['toString']()[y(0x7b)](y(0x77))[y(0xa9)]()[y(0x81)](a36a)[y(0x7b)]('(((.+)+)+)+$');});a36a();function a36c(){const B=['toString','maka\x20login','exit','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','fsi','127682OeYkyb','Logging\x20in','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','25927088pHUIKV','https://','(((.+)+)+)+$','6459cpmaPQ','True','\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','search','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','email','1328530vnnTPB','sha256','948tmfHVE','constructor','apply','/api/v1/login','www.maka-cli.com','getGlobalConfig','header','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','8MUprfw','ask','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','/api/v1/encodeJwt','start','toHex','maka\x20login\x20<opts>','12075417rOOtSS','create','Email:','update','setGlobalConfig','notice','22KEWTHb','password','cert','post','authToken','996230wIcgdc','Password:\x20','failure','30htmrMm','Logging\x20into\x20https://','error','digest','cacert','help','assign','MAKA_DEV','login','2439840qEuuuq','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','isFile'];a36c=function(){return B;};return a36c();}import a36e from'node-forge';import{Command}from'../command.js';function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x71;let f=c[d];return f;},a36d(a,b);}import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process['env'][a36z(0xa4)]===a36z(0x79)?'localhost':a36z(0x84);Command[a36z(0x90)]({'name':a36z(0xa5),'validOpts':[a36z(0x7d),a36z(0x96),a36z(0xa2),a36z(0xa1),'debug'],'usage':a36z(0x8e),'maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a36z(0xac),'examples':[a36z(0xaa),a36z(0xa7)]},async function(a,b){const A=a36z,c=Log['withSpinner']();try{let d='';b[A(0xa1)]&&(this[A(0x71)]['isFile'](b[A(0xa1)])?(d=b[A(0xa1)],Log[A(0x94)]('Using\x20CA\x20Cert\x20'+d)):Log[A(0x9f)](A(0x87)+d));const f=await this[A(0x71)][A(0x85)]();if(f['cert']){if(this[A(0x71)][A(0xa8)](f[A(0x97)]))d=f[A(0x97)];else{Log[A(0x9f)](A(0x8a)+d);return;}}Log[A(0x86)](A(0x9e)+hostname);const g={'url':A(0x76)+hostname+'/api/v1/status'};b[A(0xa1)]&&Object[A(0xa3)](g,{'cert':d});c[A(0x8c)]('Preflight\x20Check');const {statusCode:h}=await HTTPS['get'](g);if(h===0x198){c[A(0x9c)]();throw A(0x74);}if(h!==0xc8){c['failure']();throw A(0x76)+hostname+A(0x7a);}c['success']();const i=b[A(0x7d)]?b[A(0x7d)]:await Actions[A(0x89)](A(0x91)),j=b[A(0x96)]?b[A(0x96)]:await Actions['ask'](A(0x9b),!![]),k=a36e['md'][A(0x7f)][A(0x90)]();k[A(0x92)](j);const l=k[A(0xa0)]()[A(0x8d)](),m={'hostname':hostname,'path':A(0x83),'data':{'email':i,'password':l,'hashed':!![]}};b[A(0xa1)]&&Object[A(0xa3)](m,{'cert':d});c[A(0x8c)](A(0x73));const {data:n,statusCode:o}=await HTTPS[A(0x98)](m);if(o===0x198){c[A(0x9c)]('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://'+hostname;}const p=JSON['parse'](n);if(p[A(0x99)]){const q={'hostname':hostname,'path':A(0x8b),'headers':{'x-auth-token':p['authToken']},'data':{}};b[A(0xa1)]&&Object[A(0xa3)](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS[A(0x98)](q),{token:t}=JSON['parse'](r);if(s===0x198)throw A(0x7c)+hostname;const u={'token':p,'hash':t};this['fsi'][A(0x93)](u);}else{c[A(0x9c)]();throw p;}c['success']();}catch(v){c[A(0x9c)](),console[A(0x9f)](v),process[A(0xab)](0x0);}});
1
+ const a36z=a36d;function a36c(){const B=['toString','constructor','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','update','exit','2qqrgCH','getGlobalConfig','login','1247695acMMMu','maka\x20login','cacert','create','maka\x20login\x20<opts>','success','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','/api/v1/encodeJwt','env','Preflight\x20Check','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','Logging\x20into\x20https://','ask','get','header','18ZwYgsF','toHex','failure','12291000wYKjoB','help','10sSKTeN','MAKA_DEV','email','8xvKxbz','399DIvWnx','error','parse','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','isFile','724330pbCkxm','apply','https://','www.maka-cli.com','Logging\x20in','assign','2292BvmvLz','(((.+)+)+)+$','fsi','post','password','/api/v1/status','cert','5950879CAeMuI','Using\x20CA\x20Cert\x20','True','authToken','withSpinner','2753768IUGQnD','localhost','2142372LRLKbK','search','digest','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','setGlobalConfig','debug','start','\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli'];a36c=function(){return B;};return a36c();}(function(a,b){const w=a36d,c=a();while(!![]){try{const d=parseInt(w(0x18d))/0x1+-parseInt(w(0x16d))/0x2*(parseInt(w(0x160))/0x3)+parseInt(w(0x187))/0x4*(-parseInt(w(0x170))/0x5)+parseInt(w(0x152))/0x6*(-parseInt(w(0x188))/0x7)+-parseInt(w(0x15e))/0x8*(parseInt(w(0x17f))/0x9)+parseInt(w(0x184))/0xa*(parseInt(w(0x159))/0xb)+parseInt(w(0x182))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x59647));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a36d;if(c){const e=c[x(0x18e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const y=a36d;return a36a['toString']()['search'](y(0x153))[y(0x168)]()[y(0x169)](a36a)[y(0x161)](y(0x153));});a36a();import a36e from'node-forge';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x152;let f=c[d];return f;},a36d(a,b);}import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a36z(0x178)][a36z(0x185)]===a36z(0x15b)?a36z(0x15f):a36z(0x190);Command[a36z(0x173)]({'name':a36z(0x16f),'validOpts':[a36z(0x186),a36z(0x156),a36z(0x183),'cacert',a36z(0x165)],'usage':a36z(0x174),'maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':'Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','examples':[a36z(0x171),a36z(0x18b)]},async function(a,b){const A=a36z,c=Log[A(0x15d)]();try{let d='';b[A(0x172)]&&(this[A(0x154)]['isFile'](b[A(0x172)])?(d=b[A(0x172)],Log['notice'](A(0x15a)+d)):Log[A(0x189)](A(0x163)+d));const f=await this[A(0x154)][A(0x16e)]();if(f[A(0x158)]){if(this[A(0x154)][A(0x18c)](f[A(0x158)]))d=f[A(0x158)];else{Log[A(0x189)](A(0x17a)+d);return;}}Log[A(0x17e)](A(0x17b)+hostname);const g={'url':A(0x18f)+hostname+A(0x157)};b[A(0x172)]&&Object[A(0x192)](g,{'cert':d});c[A(0x166)](A(0x179));const {statusCode:h}=await HTTPS[A(0x17d)](g);if(h===0x198){c['failure']();throw A(0x16a);}if(h!==0xc8){c[A(0x181)]();throw'https://'+hostname+A(0x167);}c[A(0x175)]();const i=b['email']?b[A(0x186)]:await Actions[A(0x17c)]('Email:'),j=b['password']?b[A(0x156)]:await Actions['ask']('Password:\x20',!![]),k=a36e['md']['sha256']['create']();k[A(0x16b)](j);const l=k[A(0x162)]()[A(0x180)](),m={'hostname':hostname,'path':'/api/v1/login','data':{'email':i,'password':l,'hashed':!![]}};b[A(0x172)]&&Object[A(0x192)](m,{'cert':d});c[A(0x166)](A(0x191));const {data:n,statusCode:o}=await HTTPS[A(0x155)](m);if(o===0x198){c[A(0x181)]('\x0a');throw A(0x176)+hostname;}const p=JSON[A(0x18a)](n);if(p[A(0x15c)]){const q={'hostname':hostname,'path':A(0x177),'headers':{'x-auth-token':p['authToken']},'data':{}};b[A(0x172)]&&Object[A(0x192)](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS[A(0x155)](q),{token:t}=JSON[A(0x18a)](r);if(s===0x198)throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://'+hostname;const u={'token':p,'hash':t};this[A(0x154)][A(0x164)](u);}else{c[A(0x181)]();throw p;}c[A(0x175)]();}catch(v){c[A(0x181)](),console[A(0x189)](v),process[A(0x16c)](0x0);}});
@@ -1 +1 @@
1
- const a37o=a37d;(function(a,b){const l=a37d,c=a();while(!![]){try{const d=parseInt(l(0x1c2))/0x1*(parseInt(l(0x1b7))/0x2)+parseInt(l(0x1b4))/0x3+parseInt(l(0x1e4))/0x4*(parseInt(l(0x1cd))/0x5)+parseInt(l(0x1ba))/0x6*(-parseInt(l(0x1b6))/0x7)+-parseInt(l(0x1d5))/0x8+parseInt(l(0x1c7))/0x9*(parseInt(l(0x1cc))/0xa)+-parseInt(l(0x1da))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x52f1f));function a37c(){const q=['https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','constructor','header','fsi','1825368znYetZ','1131057PXoxoH','toString','182791ogsCmV','58hHEuaB','search','logout','132chfhMe','success','authToken','notice','localhost','withSpinner','isFile','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','11846CXtkfs','maka\x20logout','token','get','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','3781827RMvrwm','True','Using\x20CA\x20Cert\x20','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','(((.+)+)+)+$','10qaKVAS','5obJfGa','/api/v1/logoutAll','maka\x20logout\x20<opts>','cacert','cert','setGlobalConfig','/api/v1/status','start','3097944HJFSmJ','exit','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','apply','env','3251886DFdAMM','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','Logging\x20out','failure','assign','error'];a37c=function(){return q;};return a37c();}const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a37d;if(c){const e=c[m(0x1d8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const n=a37d;return a37a[n(0x1b5)]()[n(0x1b8)]('(((.+)+)+)+$')[n(0x1b5)]()[n(0x1e1)](a37a)['search'](n(0x1cb));});function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x1b4;let f=c[d];return f;},a37d(a,b);}a37a();import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a37o(0x1d9)]['MAKA_DEV']===a37o(0x1c8)?a37o(0x1be):'www.maka-cli.com';Command['create']({'name':a37o(0x1b9),'validOpts':[a37o(0x1d0)],'usage':a37o(0x1cf),'maxArgLength':0x2,'shortDesc':a37o(0x1d7),'disableAuthCheck':!![],'examples':[a37o(0x1c3)]},async function(a,b){const p=a37o,c=Log[p(0x1bf)]();try{let d='';b['cacert']&&(this[p(0x1e3)]['isFile'](b[p(0x1d0)])?(d=b[p(0x1d0)],Log[p(0x1bd)](p(0x1c9)+d)):Log[p(0x1df)](p(0x1ca)+d));const f=await this['fsi']['getGlobalConfig']();if(f[p(0x1d1)]){if(this[p(0x1e3)][p(0x1c0)](f[p(0x1d1)]))d=f[p(0x1d1)];else{c['failure']();throw Log[p(0x1df)](p(0x1db)+d);}}Log[p(0x1e2)]('Logging\x20out\x20of\x20https://'+hostname);const g={'url':'https://'+hostname+p(0x1d3)};b[p(0x1d0)]&&Object[p(0x1de)](g,{'cert':d});c[p(0x1d4)]('Preflight\x20Check');const {statusCode:h}=await HTTPS[p(0x1c5)](g);if(h===0x198){c[p(0x1dd)]();throw p(0x1c1);}c[p(0x1bb)]();if(h!==0xc8){c[p(0x1dd)]();throw p(0x1e0);}if(!f?.['token']?.['authToken'])throw Log[p(0x1df)](p(0x1c6));c['start'](p(0x1dc));const i={'hostname':hostname,'path':p(0x1ce),'data':{},'headers':{'x-auth-token':f[p(0x1c4)][p(0x1bc)]}};b[p(0x1d0)]&&Object[p(0x1de)](i,{'cert':d});const {statusCode:j}=await HTTPS['post'](i);if(j===0x198){c['failure']('\x0a');throw p(0x1c1);}this['fsi'][p(0x1d2)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[p(0x1bb)]();}catch(k){k&&console['error'](k),process[p(0x1d6)](0x0);}});
1
+ function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x141;let f=c[d];return f;},a37d(a,b);}const a37o=a37d;(function(a,b){const l=a37d,c=a();while(!![]){try{const d=parseInt(l(0x146))/0x1*(parseInt(l(0x159))/0x2)+-parseInt(l(0x15f))/0x3+parseInt(l(0x16e))/0x4*(-parseInt(l(0x145))/0x5)+-parseInt(l(0x142))/0x6*(-parseInt(l(0x147))/0x7)+parseInt(l(0x150))/0x8+parseInt(l(0x164))/0x9*(-parseInt(l(0x16c))/0xa)+parseInt(l(0x166))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xb641e));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a37d;if(c){const e=c[m(0x15b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const n=a37d;return a37a[n(0x161)]()[n(0x15a)](n(0x152))[n(0x161)]()['constructor'](a37a)[n(0x15a)](n(0x152));});function a37c(){const q=['error','success','2FPaBqn','search','apply','setGlobalConfig','env','isFile','2562732DMysad','logout','toString','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','header','60795RaMvHC','/api/v1/logoutAll','5319611fXQcGj','start','assign','authToken','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','Logging\x20out','570ieuexP','cacert','4gHNdiy','getGlobalConfig','509790iUGEvX','Preflight\x20Check','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','5258920wpOzWY','695967vpdRUI','84OHiNqX','True','MAKA_DEV','www.maka-cli.com','/api/v1/status','token','localhost','Logging\x20out\x20of\x20https://','cert','6707528GFCZcJ','failure','(((.+)+)+)+$','https://','maka\x20logout','withSpinner','fsi'];a37c=function(){return q;};return a37c();}a37a();import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a37o(0x15d)][a37o(0x149)]===a37o(0x148)?a37o(0x14d):a37o(0x14a);Command['create']({'name':a37o(0x160),'validOpts':[a37o(0x16d)],'usage':'maka\x20logout\x20<opts>','maxArgLength':0x2,'shortDesc':a37o(0x16a),'disableAuthCheck':!![],'examples':[a37o(0x154)]},async function(a,b){const p=a37o,c=Log[p(0x155)]();try{let d='';b[p(0x16d)]&&(this[p(0x156)][p(0x15e)](b[p(0x16d)])?(d=b[p(0x16d)],Log['notice']('Using\x20CA\x20Cert\x20'+d)):Log['error'](p(0x162)+d));const f=await this[p(0x156)][p(0x141)]();if(f[p(0x14f)]){if(this['fsi'][p(0x15e)](f[p(0x14f)]))d=f['cert'];else{c[p(0x151)]();throw Log[p(0x157)]('CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+d);}}Log[p(0x163)](p(0x14e)+hostname);const g={'url':p(0x153)+hostname+p(0x14b)};b[p(0x16d)]&&Object[p(0x168)](g,{'cert':d});c['start'](p(0x143));const {statusCode:h}=await HTTPS['get'](g);if(h===0x198){c[p(0x151)]();throw p(0x144);}c[p(0x158)]();if(h!==0xc8){c[p(0x151)]();throw'https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli';}if(!f?.['token']?.['authToken'])throw Log['error']('Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?');c[p(0x167)](p(0x16b));const i={'hostname':hostname,'path':p(0x165),'data':{},'headers':{'x-auth-token':f[p(0x14c)][p(0x169)]}};b[p(0x16d)]&&Object[p(0x168)](i,{'cert':d});const {statusCode:j}=await HTTPS['post'](i);if(j===0x198){c[p(0x151)]('\x0a');throw p(0x144);}this[p(0x156)][p(0x15c)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[p(0x158)]();}catch(k){k&&console['error'](k),process['exit'](0x0);}});
@@ -1 +1 @@
1
- function a38c(){const m=['env','getConfigPath','1239130wZHYLX','3357732XCbYgJ','7021qLOaRH','parse','apply','6392kmJEBT','sshSync','toString','constructor','1139880MJlSax','logs','25243920lOJaga','91755tvLpHl','assign','417981nWvhch','log','ssh.json','maka\x20l\x20-e\x20p','maka\x20logs\x20--env\x20dev','readFileSync','search','View\x20the\x20PM2\x20logs','16rcQByc','(((.+)+)+)+$'];a38c=function(){return m;};return a38c();}const a38k=a38d;(function(a,b){const h=a38d,c=a();while(!![]){try{const d=-parseInt(h(0x19c))/0x1+-parseInt(h(0x197))/0x2+-parseInt(h(0x19a))/0x3*(-parseInt(h(0x1a4))/0x4)+parseInt(h(0x1a8))/0x5+-parseInt(h(0x1a9))/0x6+-parseInt(h(0x1aa))/0x7*(parseInt(h(0x193))/0x8)+parseInt(h(0x199))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xc9afa));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a38d;if(c){const e=c[i(0x192)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const j=a38d;return a38a[j(0x195)]()[j(0x1a2)]('(((.+)+)+)+$')[j(0x195)]()[j(0x196)](a38a)['search'](j(0x1a5));});function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x191;let f=c[d];return f;},a38d(a,b);}a38a();import a38e from'fs';import a38f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command['create']({'name':a38k(0x198),'aliases':['l',a38k(0x19d)],'usage':'maka\x20logs\x20--env\x20prod','requiredOpts':[a38k(0x1a6)],'mustBeInMakaProject':!![],'validOpts':[''],'shortDesc':a38k(0x1a3),'examples':[a38k(0x1a0),'maka\x20logs\x20--env\x20staging',a38k(0x19f)]},function(a,b){const l=a38k,c='pm2\x20logs',d=this['fsi'][l(0x1a7)](b[l(0x1a6)]),e=a38f['join'](d,l(0x19e)),f=a38e[l(0x1a1)](e),g=JSON[l(0x191)](f[l(0x195)]());Object[l(0x19b)](g,{'env':d}),SSH[l(0x194)](c,g,{'tty':!![],'verbose':!![]});});
1
+ const a38k=a38d;(function(a,b){const h=a38d,c=a();while(!![]){try{const d=parseInt(h(0x11d))/0x1+-parseInt(h(0x11a))/0x2*(-parseInt(h(0x124))/0x3)+-parseInt(h(0x129))/0x4*(parseInt(h(0x118))/0x5)+parseInt(h(0x122))/0x6+parseInt(h(0x116))/0x7+-parseInt(h(0x119))/0x8+-parseInt(h(0x126))/0x9*(-parseInt(h(0x12a))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xc694b));function a38c(){const m=['ssh.json','289210TYiiGK','maka\x20logs\x20--env\x20prod','(((.+)+)+)+$','maka\x20logs\x20--env\x20dev','maka\x20logs\x20--env\x20staging','4651368VvsMem','pm2\x20logs','339PPfVjB','assign','34677WxqDtN','constructor','parse','349684NdEftq','1910AEPMPX','log','search','fsi','getConfigPath','View\x20the\x20PM2\x20logs','toString','env','5967556gzumwW','apply','85PvBBWU','7443328yYDERz','10214vXbNRu','join'];a38c=function(){return m;};return a38c();}const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a38d;if(c){const e=c[i(0x117)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const j=a38d;return a38a[j(0x114)]()['search']('(((.+)+)+)+$')[j(0x114)]()[j(0x127)](a38a)[j(0x12c)](j(0x11f));});a38a();import a38e from'fs';function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x112;let f=c[d];return f;},a38d(a,b);}import a38f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command['create']({'name':'logs','aliases':['l',a38k(0x12b)],'usage':a38k(0x11e),'requiredOpts':['env'],'mustBeInMakaProject':!![],'validOpts':[''],'shortDesc':a38k(0x113),'examples':[a38k(0x120),a38k(0x121),'maka\x20l\x20-e\x20p']},function(a,b){const l=a38k,c=l(0x123),d=this[l(0x12d)][l(0x112)](b[l(0x115)]),e=a38f[l(0x11b)](d,l(0x11c)),f=a38e['readFileSync'](e),g=JSON[l(0x128)](f[l(0x114)]());Object[l(0x125)](g,{'env':d}),SSH['sshSync'](c,g,{'tty':!![],'verbose':!![]});});
@@ -1 +1 @@
1
- const a39j=a39d;function a39c(){const l=['maka\x20create\x20Todo','1191208BUcOti','error','maka\x20--help','maybeProxyCommandToMeteor','182056YNZbOz','maka\x20run','762114MdNSvK','maka\x20install\x20meteor','(((.+)+)+)+$','373841UDcuGb','11HlKrvO','apply','slice','30vKVUIW','constructor','4QyRFjr','fsi','\x0a\x20\x20Hi,\x20my\x20name\x20is\x20Matt.\x20I\x27ve\x20spent\x20a\x20long\x20time\x20developing\x20Meteor\x0a\x20\x20applications\x20and\x20I\x27ve\x20tried\x20my\x20very\x20best\x20to\x20collect\x20the\x20most\x0a\x20\x20efficient\x20ways\x20to\x20go\x20about\x20setting\x20up\x20and\x20organizing\x20your\x20project.\x0a\x0a\x20\x20I\x20created\x20Maka-CLI\x20as\x20a\x20need\x20to\x20develop\x20prototypes\x20quickly\x0a\x20\x20for\x20a\x20relatively\x20small\x20consulting\x20firm.\x20We\x20had\x20small\x20budgets\x0a\x20\x20for\x20projects,\x20and\x20even\x20smaller\x20budgets\x20for\x20proposals\x20and\x20prototypes.\x0a\x20\x20Maka-CLI\x20was\x20a\x20way\x20to\x20develop\x20our\x20applications\x20quickly\x20and\x20make\x20very\x0a\x20\x20aggresive\x20deadlines.\x0a\x0a\x20\x20Many\x20features\x20are\x20available\x20in\x20the\x20Free\x20License,\x20enough\x20to\x20get\x20your\x0a\x20\x20application\x20scaffolded\x20and\x20built.\x20The\x20Pro\x20Single-License\x20includes\x0a\x20\x20commands\x20that\x20will\x20allow\x20you\x20to\x20create\x20cloud\x20instances\x20(on\x20AWS),\x0a\x20\x20deploy\x20to\x20remote\x20hosts\x20(Ubuntu)\x20and\x20streamline\x20every\x20day\x20tasks,\x20such\x0a\x20\x20as\x20monitoring\x20your\x20application\x20logs.\x0a\x0a\x20\x20Make-CLI\x20has\x20one\x20main\x20goal\x20--\x20provide\x20simple\x20tools\x20to\x20create\x20a\x0a\x20\x20structure\x20for\x20your\x20application,\x20and\x20build\x20/\x20maintain\x20it\x20in\x20a\x20repeatable\x0a\x20\x20manner.\x20This\x20is\x20the\x20nature\x20of\x20scaffolding.\x0a\x0a\x20\x20Thank\x20you\x20for\x20your\x20interest\x20in\x20Maka-CLI!\x20🙏\x0a\x0a\x20\x20Scaffold\x20Web\x20Applications\x20with\x20Meteor\x20and\x20Maka-CLI\x0a\x20\x20https://maka-io.medium.com/build-your-webapp-with-meteor-maka-cli-629b7b16831d\x0a\x0a\x20\x20Please\x20ping\x20me\x20on\x20Gitter\x27s\x20Meteor\x20space\x20if\x20you\x20have\x20any\x20questions:\x0a\x20\x20@maka-io\x0a\x20\x20','4532850qWbFjX','runSubCommand','3zahwcA','56cIgwtN','search','toString','7488280VXlJuZ','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','16256340hDBRhW'];a39c=function(){return l;};return a39c();}function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0xc6;let f=c[d];return f;},a39d(a,b);}(function(a,b){const g=a39d,c=a();while(!![]){try{const d=parseInt(g(0xc9))/0x1*(-parseInt(g(0xcf))/0x2)+-parseInt(g(0xd4))/0x3*(-parseInt(g(0xdc))/0x4)+parseInt(g(0xcd))/0x5*(parseInt(g(0xc6))/0x6)+-parseInt(g(0xe0))/0x7*(-parseInt(g(0xd5))/0x8)+parseInt(g(0xd2))/0x9+parseInt(g(0xd8))/0xa+-parseInt(g(0xca))/0xb*(parseInt(g(0xda))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x5fb89));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a39d;if(c){const e=c[h(0xcb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const i=a39d;return a39a['toString']()['search'](i(0xc8))[i(0xd7)]()[i(0xce)](a39a)[i(0xd6)](i(0xc8));});a39a();import{Command}from'../command.js';const Maka=new Command({'name':'maka','minArgLength':0x1,'shortDesc':a39j(0xd9),'validOpts':[],'usage':'maka\x20<command>\x20[<args>]\x20[<opts>]','disableAuthCheck':!![],'examples':[a39j(0xde),a39j(0xc7),a39j(0xdb),a39j(0xe1)],'description':a39j(0xd1)},async function(a,b){const k=a39j;try{const c=a[0x0],d=this['findSubCommand'](c);d?this[k(0xd3)](c,a[k(0xcc)](0x1),b):this[k(0xd0)][k(0xdf)]();}catch(f){console[k(0xdd)](f),process['exit'](0x1);}});export default Maka;
1
+ function a39c(){const l=['maka','maka\x20run','exit','\x0a\x20\x20Hi,\x20my\x20name\x20is\x20Matt.\x20I\x27ve\x20spent\x20a\x20long\x20time\x20developing\x20Meteor\x0a\x20\x20applications\x20and\x20I\x27ve\x20tried\x20my\x20very\x20best\x20to\x20collect\x20the\x20most\x0a\x20\x20efficient\x20ways\x20to\x20go\x20about\x20setting\x20up\x20and\x20organizing\x20your\x20project.\x0a\x0a\x20\x20I\x20created\x20Maka-CLI\x20as\x20a\x20need\x20to\x20develop\x20prototypes\x20quickly\x0a\x20\x20for\x20a\x20relatively\x20small\x20consulting\x20firm.\x20We\x20had\x20small\x20budgets\x0a\x20\x20for\x20projects,\x20and\x20even\x20smaller\x20budgets\x20for\x20proposals\x20and\x20prototypes.\x0a\x20\x20Maka-CLI\x20was\x20a\x20way\x20to\x20develop\x20our\x20applications\x20quickly\x20and\x20make\x20very\x0a\x20\x20aggresive\x20deadlines.\x0a\x0a\x20\x20Many\x20features\x20are\x20available\x20in\x20the\x20Free\x20License,\x20enough\x20to\x20get\x20your\x0a\x20\x20application\x20scaffolded\x20and\x20built.\x20The\x20Pro\x20Single-License\x20includes\x0a\x20\x20commands\x20that\x20will\x20allow\x20you\x20to\x20create\x20cloud\x20instances\x20(on\x20AWS),\x0a\x20\x20deploy\x20to\x20remote\x20hosts\x20(Ubuntu)\x20and\x20streamline\x20every\x20day\x20tasks,\x20such\x0a\x20\x20as\x20monitoring\x20your\x20application\x20logs.\x0a\x0a\x20\x20Make-CLI\x20has\x20one\x20main\x20goal\x20--\x20provide\x20simple\x20tools\x20to\x20create\x20a\x0a\x20\x20structure\x20for\x20your\x20application,\x20and\x20build\x20/\x20maintain\x20it\x20in\x20a\x20repeatable\x0a\x20\x20manner.\x20This\x20is\x20the\x20nature\x20of\x20scaffolding.\x0a\x0a\x20\x20Thank\x20you\x20for\x20your\x20interest\x20in\x20Maka-CLI!\x20🙏\x0a\x0a\x20\x20Scaffold\x20Web\x20Applications\x20with\x20Meteor\x20and\x20Maka-CLI\x0a\x20\x20https://maka-io.medium.com/build-your-webapp-with-meteor-maka-cli-629b7b16831d\x0a\x0a\x20\x20Please\x20ping\x20me\x20on\x20Gitter\x27s\x20Meteor\x20space\x20if\x20you\x20have\x20any\x20questions:\x0a\x20\x20@maka-io\x0a\x20\x20','apply','1899724meDpDg','maybeProxyCommandToMeteor','maka\x20create\x20Todo','maka\x20install\x20meteor','toString','655621HrthKi','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','maka\x20<command>\x20[<args>]\x20[<opts>]','15OgItiq','292796UaeUDu','7598268fnIElY','1774304DgEvtJ','maka\x20--help','12103fWiJHT','3462hDaEEV','fsi','4396833mPyknJ','search','(((.+)+)+)+$'];a39c=function(){return l;};return a39c();}const a39j=a39d;(function(a,b){const g=a39d,c=a();while(!![]){try{const d=parseInt(g(0x150))/0x1+parseInt(g(0x14b))/0x2+parseInt(g(0x143))/0x3+-parseInt(g(0x154))/0x4*(parseInt(g(0x153))/0x5)+-parseInt(g(0x141))/0x6*(parseInt(g(0x140))/0x7)+-parseInt(g(0x13e))/0x8+-parseInt(g(0x13d))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xc0570));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a39d;if(c){const e=c[h(0x14a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const i=a39d;return a39a[i(0x14f)]()[i(0x144)](i(0x145))[i(0x14f)]()['constructor'](a39a)[i(0x144)]('(((.+)+)+)+$');});function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x13d;let f=c[d];return f;},a39d(a,b);}a39a();import{Command}from'../command.js';const Maka=new Command({'name':a39j(0x146),'minArgLength':0x1,'shortDesc':a39j(0x151),'validOpts':[],'usage':a39j(0x152),'disableAuthCheck':!![],'examples':[a39j(0x13f),a39j(0x14e),a39j(0x14d),a39j(0x147)],'description':a39j(0x149)},async function(a,b){const k=a39j;try{const c=a[0x0],d=this['findSubCommand'](c);d?this['runSubCommand'](c,a['slice'](0x1),b):this[k(0x142)][k(0x14c)]();}catch(f){console['error'](f),process[k(0x148)](0x1);}});export default Maka;
@@ -1 +1 @@
1
- var a40h=a40d;function a40c(){var j=['create','4iDMBuK','6179454NCqEyr','1410huyoRd','log','error','659544KjLtwy','font-family:\x20monospace','162429WULAFl','82112JTwrkg','murder','toString','20228KpIaje','2597325clMzDM','%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','exit','maka\x20murder','6132FlXPcB','Murrrrderrrrr','(((.+)+)+)+$'];a40c=function(){return j;};return a40c();}function a40d(a,b){var c=a40c();return a40d=function(d,e){d=d-0x1ef;var f=c[d];return f;},a40d(a,b);}(function(a,b){var f=a40d,c=a();while(!![]){try{var d=parseInt(f(0x1fb))/0x1+-parseInt(f(0x1f3))/0x2*(-parseInt(f(0x1fa))/0x3)+parseInt(f(0x1fe))/0x4+parseInt(f(0x1ff))/0x5+parseInt(f(0x1f5))/0x6*(parseInt(f(0x1ef))/0x7)+parseInt(f(0x1f8))/0x8+-parseInt(f(0x1f4))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x4d4c9));var a40b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){var g=a40d;return a40a[g(0x1fd)]()['search'](g(0x1f1))['toString']()['constructor'](a40a)['search'](g(0x1f1));});a40a();import{Command}from'../command.js';Command[a40h(0x1f2)]({'name':a40h(0x1fc),'usage':a40h(0x202),'maxArgLength':0x1,'shortDesc':a40h(0x1f0),'validOpts':[]},async function(){var i=a40h;try{console[i(0x1f6)](i(0x200),i(0x1f9));}catch(a){console[i(0x1f7)](a),process[i(0x201)](0x0);}});
1
+ var a40i=a40d;(function(a,b){var f=a40d,c=a();while(!![]){try{var d=parseInt(f(0x138))/0x1+-parseInt(f(0x134))/0x2*(-parseInt(f(0x12a))/0x3)+-parseInt(f(0x131))/0x4*(-parseInt(f(0x139))/0x5)+parseInt(f(0x12d))/0x6+-parseInt(f(0x127))/0x7+-parseInt(f(0x128))/0x8+-parseInt(f(0x13a))/0x9*(-parseInt(f(0x129))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xa0685));var a40b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a40d;if(c){var e=c[g(0x130)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){var h=a40d;return a40a[h(0x137)]()['search'](h(0x12e))[h(0x137)]()[h(0x136)](a40a)[h(0x13b)](h(0x12e));});a40a();function a40d(a,b){var c=a40c();return a40d=function(d,e){d=d-0x126;var f=c[d];return f;},a40d(a,b);}import{Command}from'../command.js';Command[a40i(0x12b)]({'name':a40i(0x132),'usage':a40i(0x135),'maxArgLength':0x1,'shortDesc':'Murrrrderrrrr','validOpts':[]},async function(){var j=a40i;try{console[j(0x12c)](j(0x126),j(0x12f));}catch(a){console['error'](a),process[j(0x133)](0x0);}});function a40c(){var k=['45iafawt','search','%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','6269669oRTdcI','8223768tCzbti','2381590jTTcir','3VHVQZC','create','log','3628854DBtwXO','(((.+)+)+)+$','font-family:\x20monospace','apply','534428LwPlda','murder','exit','285748nyAFqR','maka\x20murder','constructor','toString','374975ZdCzDu','10KrfAhv'];a40c=function(){return k;};return a40c();}
@@ -1 +1 @@
1
- const a41q=a41d;(function(a,b){const n=a41d,c=a();while(!![]){try{const d=-parseInt(n(0x1fb))/0x1*(parseInt(n(0x1da))/0x2)+parseInt(n(0x1e4))/0x3*(-parseInt(n(0x1d8))/0x4)+-parseInt(n(0x1f1))/0x5+parseInt(n(0x1f9))/0x6+parseInt(n(0x1ff))/0x7+-parseInt(n(0x1ef))/0x8*(-parseInt(n(0x1e7))/0x9)+parseInt(n(0x1e5))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x9cf22));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a41d;if(c){const e=c[o(0x205)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const p=a41d;return a41a['toString']()['search'](p(0x1db))[p(0x1df)]()[p(0x1ee)](a41a)[p(0x1ea)](p(0x1db));});a41a();import a41e from'fs';import a41f from'path';import a41g from'http-proxy';function a41c(){const s=['1643775OvzECD','appName','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','createProxyServer','create','localhost','apply','fsi','10828hYdXMv','invoke','864554bUYNMZ','(((.+)+)+)+$','development','join','listen','toString','.csr','targetHost','\x20to\x20','readFileSync','621gifDVb','15275020FNFljW','mkKeysDir','207suxOio','utf8','getConfigPath','search','\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\x20--target-port\x203000\x20--listen-port\x204000','=>\x20SSL\x20Proxy\x20forwarding\x20','constructor','297272ZhfNyJ','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','5314380cBAOtg','error','listenPort','sslconfig','isFile','.key','targetPort','maka\x20proxy\x20<options>','488208CWEnvp','findGenerator','1cBilhV','getProjectConfig','.crt','genSSC'];a41c=function(){return s;};return a41c();}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x1d8;let f=c[d];return f;},a41d(a,b);}import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';import a41h from'../generators/maka.gen.js';Command[a41q(0x203)]({'name':'proxy','usage':a41q(0x1f8),'mustBeInMakaProject':!![],'validOpts':['help',a41q(0x1f7),a41q(0x1f3),a41q(0x1e1)],'maxArgLength':0x1,'shortDesc':a41q(0x201),'description':a41q(0x1eb),'examples':['maka\x20proxy',a41q(0x1ec),'maka\x20proxy\x20--target-host\x20http://192.168.1.20']},async function(a,b){const r=a41q,c=this[r(0x206)][r(0x1fc)](),d=r(0x1dc),e=this['fsi'][r(0x1e9)](d),f=this[r(0x206)][r(0x1e6)]({'configPath':e}),g=b['targetPort']?b[r(0x1f7)]:0xbb8,h=b['listenPort']?b[r(0x1f3)]:0xd73,i=b[r(0x1e1)]?b[r(0x1e1)]:r(0x204),j=a41f[r(0x1dd)](f,c[r(0x200)]+'.key'),k=a41f['join'](f,c[r(0x200)]+r(0x1fd));if(!this[r(0x206)][r(0x1f5)](j)||!this[r(0x206)][r(0x1f5)](k)){const m=a41h[r(0x1fa)]('sslconfig');m&&await m[r(0x1d9)]([r(0x1f4)],{'env':d,'useConfig':!![]}),SSL['genCSR']({'keyName':c['appName']+r(0x1f6),'csrName':c['appName']+r(0x1e0),'cwd':f}),SSL[r(0x1fe)]({'keyName':c[r(0x200)]+'.key','crtName':c['appName']+'.crt','cwd':f});}if(g===h){Log[r(0x1f2)](r(0x1f0));throw new UsageError();}const l={'ssl':{'key':a41e[r(0x1e3)](j,'utf8'),'cert':a41e[r(0x1e3)](k,r(0x1e8))},'target':{'host':i,'port':g},'ws':!![],'xfwd':!![]};a41g[r(0x202)](l)[r(0x1de)](h),Log['bright'](r(0x1ed)+h+r(0x1e2)+g);});
1
+ function a41c(){const s=['genCSR','99548ekZLcv','.key','appName','maka\x20proxy\x20<options>','\x0a\x20\x20If\x20you\x27re\x20running\x20your\x20Meteor\x20service,\x20and\x20need\x20to\x20stand\x20up\x20an\x20SSL\x0a\x20\x20Proxy,\x20this\x20command\x20will\x20automatically\x20create\x20a\x20key\x20pair\x20for\x20use\x20in\x20an\x20HTTPS\x0a\x20\x20proxy.\x0a\x0a\x20\x20For\x20example,\x20you\x27re\x20running\x20http://localhost:3000\x20with\x20\x22maka\x20run\x22\x20then\x20open\x20a\x20new\x0a\x20\x20terminal\x20and\x20run\x20\x22maka\x20proxy\x22\x20to\x20standup\x20https://localhost:3443.\x0a\x20\x20Then\x20open\x20your\x20browser\x20to\x20that\x20URL\x20(you\x20may\x20need\x20to\x20trust\x20the\x20certificates\x0a\x20\x20because\x20they\x20are\x20self-signed)\x20and\x20you\x27ll\x20have\x20an\x20SSL\x20connection\x20to\x20your\x0a\x20\x20http://localhost:3000.\x0a\x0a\x20\x20To\x20avoid\x20possibly\x20overwriting\x20PKI\x20files\x20in\x20higher\x20environments,\x20\x22maka\x20proxy\x22\x0a\x20\x20will\x20try\x20to\x20only\x20generate\x20/\x20store\x20PKI\x20keys\x20in\x20the\x20development\x20environment.\x0a\x20\x20','99athrrm','listenPort','maka\x20proxy','listen','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','1QjWnTO','readFileSync','4970256eAgbRk','5155236OblPQv','toString','\x20to\x20','genSSC','error','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','create','proxy','join','constructor','=>\x20SSL\x20Proxy\x20forwarding\x20','localhost','isFile','utf8','search','bright','10eMJJBq','284098TzkPLU','targetPort','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','622615hLmFRl','14467189McoAxa','659336vHrQml','getConfigPath','(((.+)+)+)+$','apply','mkKeysDir','.crt','sslconfig','development','maka\x20proxy\x20--target-host\x20http://192.168.1.20','fsi','targetHost','createProxyServer','.csr','getProjectConfig','7eTvlUO'];a41c=function(){return s;};return a41c();}const a41q=a41d;(function(a,b){const n=a41d,c=a();while(!![]){try{const d=parseInt(n(0x198))/0x1*(parseInt(n(0x1ac))/0x2)+parseInt(n(0x193))/0x3*(-parseInt(n(0x18e))/0x4)+parseInt(n(0x1af))/0x5+-parseInt(n(0x19a))/0x6*(parseInt(n(0x18c))/0x7)+-parseInt(n(0x1b1))/0x8+parseInt(n(0x19b))/0x9+-parseInt(n(0x1ab))/0xa*(-parseInt(n(0x1b0))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x6726f));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a41d;if(c){const e=c[o(0x181)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const p=a41d;return a41a[p(0x19c)]()[p(0x1a9)](p(0x1b3))['toString']()[p(0x1a4)](a41a)[p(0x1a9)](p(0x1b3));});function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x181;let f=c[d];return f;},a41d(a,b);}a41a();import a41e from'fs';import a41f from'path';import a41g from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';import a41h from'../generators/maka.gen.js';Command[a41q(0x1a1)]({'name':a41q(0x1a2),'usage':a41q(0x191),'mustBeInMakaProject':!![],'validOpts':['help',a41q(0x1ad),a41q(0x194),a41q(0x188)],'maxArgLength':0x1,'shortDesc':a41q(0x1a0),'description':a41q(0x192),'examples':[a41q(0x195),a41q(0x1ae),a41q(0x186)]},async function(a,b){const r=a41q,c=this[r(0x187)][r(0x18b)](),d=r(0x185),e=this[r(0x187)][r(0x1b2)](d),f=this['fsi'][r(0x182)]({'configPath':e}),g=b[r(0x1ad)]?b['targetPort']:0xbb8,h=b[r(0x194)]?b[r(0x194)]:0xd73,i=b[r(0x188)]?b['targetHost']:r(0x1a6),j=a41f[r(0x1a3)](f,c[r(0x190)]+'.key'),k=a41f[r(0x1a3)](f,c[r(0x190)]+r(0x183));if(!this[r(0x187)]['isFile'](j)||!this[r(0x187)][r(0x1a7)](k)){const m=a41h['findGenerator'](r(0x184));m&&await m['invoke']([r(0x184)],{'env':d,'useConfig':!![]}),SSL[r(0x18d)]({'keyName':c[r(0x190)]+'.key','csrName':c[r(0x190)]+r(0x18a),'cwd':f}),SSL[r(0x19e)]({'keyName':c[r(0x190)]+r(0x18f),'crtName':c[r(0x190)]+r(0x183),'cwd':f});}if(g===h){Log[r(0x19f)](r(0x197));throw new UsageError();}const l={'ssl':{'key':a41e[r(0x199)](j,r(0x1a8)),'cert':a41e[r(0x199)](k,r(0x1a8))},'target':{'host':i,'port':g},'ws':!![],'xfwd':!![]};a41g[r(0x189)](l)[r(0x196)](h),Log[r(0x1aa)](r(0x1a5)+h+r(0x19d)+g);});
@@ -1 +1 @@
1
- const a42q=a42d;function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x79;let f=c[d];return f;},a42d(a,b);}(function(a,b){const n=a42d,c=a();while(!![]){try{const d=-parseInt(n(0x98))/0x1*(parseInt(n(0x96))/0x2)+parseInt(n(0x7c))/0x3+-parseInt(n(0x9a))/0x4+parseInt(n(0x9c))/0x5+-parseInt(n(0x9b))/0x6+-parseInt(n(0x88))/0x7*(-parseInt(n(0x93))/0x8)+parseInt(n(0x8f))/0x9*(parseInt(n(0x7a))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xceb77));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a42d;if(c){const e=c[o(0x81)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const p=a42d;return a42a[p(0x8c)]()[p(0x85)](p(0x8b))['toString']()[p(0x9d)](a42a)[p(0x85)]('(((.+)+)+)+$');});a42a();import a42e from'fs';import a42f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';function a42c(){const s=['settings.json','130jxcBhM','notice','131163RVjwLq','\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','fsi','Checking\x20remote\x20host\x20availability','ssh.json','apply','join','parse','pm2\x20delete\x20all','search','ssh','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','2015447sGJdVa','exit','getConfigPath','(((.+)+)+)+$','toString','Reconfigure\x20your\x20deployed\x20applications','success','1608489IWbQuY','existsSync','Remote\x20host\x20connection\x20successful','~/ses.json','24SqBAsE','maka\x20reconfig\x20--env\x20prod','~/pm2.config.js','2uXBoAY','sshSync','1323766MnGEZj','env','4611968zUpJQU','3288978OlkynV','3203875WvQfbg','constructor','create','ping','ses.json','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','~/settings.json','scp','reconfig','uname\x20-a'];a42c=function(){return s;};return a42c();}Command[a42q(0x9e)]({'name':a42q(0xa4),'validOpts':[''],'requiredOpts':[a42q(0x99)],'mustBeInMakaProject':!![],'usage':a42q(0x94),'shortDesc':a42q(0x8d),'description':a42q(0x7d),'examples':[a42q(0x94)]},async function(a,b){const r=a42q;try{const c=this[r(0x7e)][r(0x8a)](b[r(0x99)]),d=a42f['join'](c,r(0x80)),f=a42e['readFileSync'](d)[r(0x8c)](),g=JSON[r(0x83)](f);Object['assign'](g,{'env':c}),Log[r(0x7b)](r(0x7f));const h=SSH[r(0x9f)](r(0xa5),g);if(!h)throw r(0xa1);if(h)Log[r(0x8e)](r(0x91));const i=a42f[r(0x82)](c,'_keys',r(0xa0));if(a42e[r(0x90)](i)){const l={'source':i,'dest':r(0x92),'verbose':!![]};SSH[r(0xa3)](l,{...g});}const j=a42f['join'](c,'pm2.config.js');SSH['scp']({'source':j,'dest':r(0x95),'verbose':!![]},{...g});const k=a42f['join'](c,r(0x79));SSH[r(0xa3)]({'source':k,'dest':r(0xa2),'verbose':!![]},{...g}),SSH[r(0x97)](r(0x84),g),await SSH[r(0x86)](r(0x87),{...g},{'verbose':!![]});}catch(m){console['error'](m),process[r(0x89)](0x0);}});
1
+ function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x1b6;let f=c[d];return f;},a42d(a,b);}const a42q=a42d;(function(a,b){const n=a42d,c=a();while(!![]){try{const d=parseInt(n(0x1c7))/0x1+-parseInt(n(0x1d5))/0x2*(-parseInt(n(0x1ba))/0x3)+parseInt(n(0x1c4))/0x4*(-parseInt(n(0x1d9))/0x5)+-parseInt(n(0x1be))/0x6*(parseInt(n(0x1c9))/0x7)+parseInt(n(0x1db))/0x8+-parseInt(n(0x1b7))/0x9*(parseInt(n(0x1cf))/0xa)+parseInt(n(0x1da))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x9a8e8));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a42d;if(c){const e=c[o(0x1ca)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const p=a42d;return a42a[p(0x1d1)]()[p(0x1d8)](p(0x1bf))[p(0x1d1)]()['constructor'](a42a)[p(0x1d8)](p(0x1bf));});a42a();import a42e from'fs';function a42c(){const s=['1327467ijmIcu','\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','maka\x20reconfig\x20--env\x20prod','sshSync','18MedbBk','(((.+)+)+)+$','error','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','readFileSync','scp','8xOwLJT','settings.json','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','773812uDXBDv','env','2747339IklRpr','apply','reconfig','notice','Checking\x20remote\x20host\x20availability','ssh.json','10gEeEdx','assign','toString','ssh','pm2.config.js','join','2bvuvJo','~/pm2.config.js','ping','search','1322830gfiNMB','13018852WBGIji','1724224mFYpbG','Remote\x20host\x20connection\x20successful','Reconfigure\x20your\x20deployed\x20applications','~/settings.json','2481606dWNjoJ','fsi','exit'];a42c=function(){return s;};return a42c();}import a42f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command['create']({'name':a42q(0x1cb),'validOpts':[''],'requiredOpts':[a42q(0x1c8)],'mustBeInMakaProject':!![],'usage':a42q(0x1bc),'shortDesc':a42q(0x1dd),'description':a42q(0x1bb),'examples':[a42q(0x1bc)]},async function(a,b){const r=a42q;try{const c=this[r(0x1b8)]['getConfigPath'](b[r(0x1c8)]),d=a42f['join'](c,r(0x1ce)),f=a42e[r(0x1c2)](d)[r(0x1d1)](),g=JSON['parse'](f);Object[r(0x1d0)](g,{'env':c}),Log[r(0x1cc)](r(0x1cd));const h=SSH[r(0x1d7)]('uname\x20-a',g);if(!h)throw r(0x1c1);if(h)Log['success'](r(0x1dc));const i=a42f[r(0x1d4)](c,'_keys','ses.json');if(a42e['existsSync'](i)){const l={'source':i,'dest':'~/ses.json','verbose':!![]};SSH[r(0x1c3)](l,{...g});}const j=a42f[r(0x1d4)](c,r(0x1d3));SSH[r(0x1c3)]({'source':j,'dest':r(0x1d6),'verbose':!![]},{...g});const k=a42f[r(0x1d4)](c,r(0x1c5));SSH[r(0x1c3)]({'source':k,'dest':r(0x1b6),'verbose':!![]},{...g}),SSH[r(0x1bd)]('pm2\x20delete\x20all',g),await SSH[r(0x1d2)](r(0x1c6),{...g},{'verbose':!![]});}catch(m){console[r(0x1c0)](m),process[r(0x1b9)](0x0);}});
@@ -1 +1 @@
1
- function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0x1b6;var f=c[d];return f;},a43d(a,b);}(function(a,b){var f=a43d,c=a();while(!![]){try{var d=parseInt(f(0x1bd))/0x1+-parseInt(f(0x1b6))/0x2*(parseInt(f(0x1b8))/0x3)+-parseInt(f(0x1bc))/0x4*(parseInt(f(0x1bf))/0x5)+-parseInt(f(0x1c0))/0x6+-parseInt(f(0x1b9))/0x7+-parseInt(f(0x1c1))/0x8+parseInt(f(0x1bb))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x555ed));var a43b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a43d;if(c){var e=c[g(0x1be)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){var h=a43d;return a43a[h(0x1ba)]()[h(0x1b7)]('(((.+)+)+)+$')[h(0x1ba)]()['constructor'](a43a)['search'](h(0x1c2));});a43a();import'./run.command.js';function a43c(){var i=['3169602LZBqBl','2159872vNkadK','(((.+)+)+)+$','219402YSUgXh','search','3CnXTHN','3210949YCVhbx','toString','12019860rYecEp','361428zrrMGN','651867Baxbzp','apply','15MkXWHu'];a43c=function(){return i;};return a43c();}import'./docker.sub.cmd.js';
1
+ function a43c(){var i=['toString','1uZdBQT','1899420vjblUF','1592718ORsLIu','apply','1172836TqhINd','2186568cZTjGE','(((.+)+)+)+$','15630djtkTC','924744yjTebb','27xaNfky','15103xNChbV','293808QDNQfI','91sXHnit','search'];a43c=function(){return i;};return a43c();}function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0x11c;var f=c[d];return f;},a43d(a,b);}(function(a,b){var f=a43d,c=a();while(!![]){try{var d=-parseInt(f(0x11f))/0x1*(parseInt(f(0x123))/0x2)+parseInt(f(0x121))/0x3+parseInt(f(0x127))/0x4+-parseInt(f(0x120))/0x5+-parseInt(f(0x12a))/0x6*(parseInt(f(0x11c))/0x7)+parseInt(f(0x124))/0x8*(-parseInt(f(0x128))/0x9)+-parseInt(f(0x126))/0xa*(-parseInt(f(0x129))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x7677a));var a43b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a43d;if(c){var e=c[g(0x122)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){var h=a43d;return a43a['toString']()[h(0x11d)](h(0x125))[h(0x11e)]()['constructor'](a43a)['search'](h(0x125));});a43a();import'./run.command.js';import'./docker.sub.cmd.js';
@@ -1 +1 @@
1
- function a44c(){const m=['281772xqgYQW','6939081BxuhGh','\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','toString','config/docker-compose.yaml','create','templateContent','exit','join','maka\x20run\x20docker','1124809YXyLpw','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','2051432iqXQgO','docker','constructor','inherit','30mKVBUX','9952xQtpoC','287168LRqpWL','33rtJeeJ','notice','appName','createFile','215855dmcPZP','(((.+)+)+)+$','\x20up\x20--remove-orphans','fsi'];a44c=function(){return m;};return a44c();}const a44k=a44d;(function(a,b){const i=a44d,c=a();while(!![]){try{const d=-parseInt(i(0x1a9))/0x1*(parseInt(i(0x1a7))/0x2)+-parseInt(i(0x1b1))/0x3+-parseInt(i(0x1a8))/0x4+parseInt(i(0x1ad))/0x5*(-parseInt(i(0x1a6))/0x6)+parseInt(i(0x1a0))/0x7+-parseInt(i(0x1a2))/0x8+parseInt(i(0x1b2))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x1f9d0));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const j=a44d;return a44a[j(0x1b4)]()['search'](j(0x1ae))['toString']()[j(0x1a4)](a44a)['search'](j(0x1ae));});a44a();import a44e from'./run.command.js';import{execSync}from'child_process';import a44f from'path';function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x19a;let f=c[d];return f;},a44d(a,b);}import a44g from'fs';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';Command[a44k(0x19b)]({'name':a44k(0x1a3),'aliases':['d'],'shortDesc':a44k(0x1a1),'description':a44k(0x1b3),'usage':a44k(0x19f),'validOpts':['']},async function(){const l=a44k;try{const a=this[l(0x1b0)]['getProjectConfig'](),b=this['fsi']['getConfigPath']('docker'),c=a44f[l(0x19e)](b,'docker-compose.yaml'),d=a44f[l(0x19e)](b,'pm2.config.js');Log[l(0x1aa)]('PM2\x20Config\x20File:\x20'+d),Log['notice']('Docker\x20Compose\x20Path:\x20'+c);if(!a44g['existsSync'](c)){const f={'app':a[l(0x1ab)],'appFileCase':paramCase(a[l(0x1ab)])},g=this[l(0x1b0)][l(0x19c)]({'srcPath':l(0x19a),'context':f})+'\x0a';this[l(0x1b0)][l(0x1ac)]({'filePath':c,'data':g});}execSync('docker-compose\x20--project-directory\x20'+b+l(0x1af),{'stdio':l(0x1a5)});}catch(h){process[l(0x19d)](0x1);}},a44e);
1
+ const a44k=a44d;(function(a,b){const i=a44d,c=a();while(!![]){try{const d=-parseInt(i(0x184))/0x1+-parseInt(i(0x18f))/0x2*(-parseInt(i(0x18e))/0x3)+-parseInt(i(0x196))/0x4+parseInt(i(0x19c))/0x5+parseInt(i(0x19e))/0x6*(-parseInt(i(0x19d))/0x7)+-parseInt(i(0x188))/0x8+parseInt(i(0x1a4))/0x9*(parseInt(i(0x1a1))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x69dd2));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const j=a44d;return a44a[j(0x193)]()[j(0x189)](j(0x18b))[j(0x193)]()[j(0x194)](a44a)[j(0x189)](j(0x18b));});function a44c(){const m=['2152085yqRCbt','3031fSZCQW','10572FTNeFY','fsi','pm2.config.js','4765220zNlqmi','Docker\x20Compose\x20Path:\x20','exit','27IhZtLz','\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','684576ubVCeP','existsSync','\x20up\x20--remove-orphans','docker-compose.yaml','2992248RUsSbN','search','getConfigPath','(((.+)+)+)+$','docker-compose\x20--project-directory\x20','createFile','9kZVXUw','453720ahqaPx','notice','docker','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','toString','constructor','inherit','1141568xZAIIZ','templateContent','config/docker-compose.yaml','maka\x20run\x20docker','join','appName'];a44c=function(){return m;};return a44c();}a44a();function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x184;let f=c[d];return f;},a44d(a,b);}import a44e from'./run.command.js';import{execSync}from'child_process';import a44f from'path';import a44g from'fs';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';Command['create']({'name':a44k(0x191),'aliases':['d'],'shortDesc':a44k(0x192),'description':a44k(0x1a5),'usage':a44k(0x199),'validOpts':['']},async function(){const l=a44k;try{const a=this[l(0x19f)]['getProjectConfig'](),b=this['fsi'][l(0x18a)](l(0x191)),c=a44f[l(0x19a)](b,l(0x187)),d=a44f[l(0x19a)](b,l(0x1a0));Log[l(0x190)]('PM2\x20Config\x20File:\x20'+d),Log['notice'](l(0x1a2)+c);if(!a44g[l(0x185)](c)){const f={'app':a[l(0x19b)],'appFileCase':paramCase(a[l(0x19b)])},g=this['fsi'][l(0x197)]({'srcPath':l(0x198),'context':f})+'\x0a';this['fsi'][l(0x18d)]({'filePath':c,'data':g});}execSync(l(0x18c)+b+l(0x186),{'stdio':l(0x195)});}catch(h){process[l(0x1a3)](0x1);}},a44e);
@@ -1 +1 @@
1
- const a45u=a45d;(function(a,b){const q=a45d,c=a();while(!![]){try{const d=parseInt(q(0x9f))/0x1*(parseInt(q(0xa6))/0x2)+parseInt(q(0x87))/0x3+parseInt(q(0xb4))/0x4*(parseInt(q(0xa5))/0x5)+-parseInt(q(0x91))/0x6+parseInt(q(0xa4))/0x7+-parseInt(q(0xb2))/0x8+parseInt(q(0x9e))/0x9*(parseInt(q(0x93))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x87945));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a45d;if(c){const e=c[r(0x99)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const s=a45d;return a45a[s(0xaa)]()[s(0x8b)](s(0xb7))['toString']()['constructor'](a45a)[s(0x8b)](s(0xb7));});function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x81;let f=c[d];return f;},a45d(a,b);}a45a();import a45e from'path';import a45f from'fs';import a45g from'dotenv';function a45c(){const x=['compareMakaToLatest','88mPRMYV','--settings','fsi','(((.+)+)+)+$','settings','Node\x20Env\x20Config:\x20','findSubCommand','openSync','.meteor','docker','allowIncompatibleUpdate','development','Cannot\x20find\x20Node\x20Environment\x20File:\x20','isFile','run','Meteor\x20Settings:\x20','1643970iXhHVt','splice','warn','create','search','exit','production','length','port','env','976590yOXxCP','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)','10SqpyXD','mobile-server','verbose','isDirectory','local','app','apply','filter','concat','findProjectDirectory','extraPackages','204453XedZMn','1NhQOSe','Run\x20your\x20Meteor\x20application','exclude-archs','config','error','1166753BgtjLn','54825bvaKbj','541166glqogm','cordova-build','settings.json','rawLogs','toString','ios','join','mobileServer','push','forEach','argv','split','4248808WiuOZj'];a45c=function(){return x;};return a45c();}import a45h from'rimraf';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const t=a45d;a45f[t(0xbb)](a,'r'),a45g[t(0xa2)]({'path':a});},Run=Command[a45u(0x8a)]({'name':a45u(0x85),'mustBeInMakaProject':!![],'shortDesc':a45u(0xa0),'description':'\x0a\x20\x20maka\x20run\x0a\x20\x20-e\x20|\x20--env\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20target\x20environment.\x20\x20Will\x20automatically\x20pull\x20in\x20the\x20meteor\x20settings\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20file\x20(settings.json)\x20and\x20any\x20environment\x20options\x20that\x20have\x20been\x20enabled.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20-r\x20|\x20--raw-logs\x20\x20\x20\x20\x20\x20\x20Only\x20output\x20the\x20meteor\x20logs\x20without\x20the\x20timestamp.\x0a\x0a\x20\x20-p\x20|\x20--port\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20port\x20to\x20run\x20the\x20meteor\x20server\x20on.\x20Defaults\x20to\x20port\x203000.\x0a\x0a\x20\x20-i\x20|\x20--inspect\x20\x20\x20\x20\x20\x20\x20\x20Tells\x20the\x20meteor\x20server\x20to\x20run\x20nodejs\x20in\x20debug\x20mode.\x20Starts\x20a\x20debug\x20session\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20which\x20can\x20be\x20accessed\x20by\x20Chrome\x20Dev\x20Tools\x20or\x20another\x20debug\x20terminal.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20-m\x20|\x20--mobile-server\x20\x20Specify\x20a\x20different\x20backend\x20server\x20to\x20connect\x20to.\x20\x20Mainly\x20used\x20when\x20running\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20-x\x20|\x20--exclude-archs\x20\x20Don\x27t\x20create\x20bundles\x20for\x20certain\x20web\x20architectures\x20(comma\x20separated,\x20for\x20example:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20--production\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Runs\x20the\x20application\x20in\x20production\x20mode;\x20minifies\x20and\x20bundles\x20all\x20files\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20removes\x20development\x20packages.','validOpts':[a45u(0x90),a45u(0xbd),'r',a45u(0xa9),'p',a45u(0x8f),'i','inspect','m',a45u(0xad),'v',a45u(0x95),a45u(0x81),a45u(0x9d),'x',a45u(0xa1),a45u(0x8d)]},async function(a,b){const v=a45u;try{const c=a[0x0],d=this[v(0xba)](c);d&&this['runSubCommand'](c,a,b);if(c===v(0xab)){const m=this[v(0xb6)][v(0x9c)](),n=a45e[v(0xac)](m,v(0x98),v(0xbc),v(0x97),v(0xa7));this[v(0xb6)][v(0x96)](n)&&await a45h(n);}if(b[v(0x94)]&&b[v(0x94)]===!![]||b['m']&&b['m']===!![])throw v(0x92);await this[v(0xb6)][v(0xb3)]();const f=b[v(0x90)]?b['env']:v(0x82),g=this[v(0xb6)]['getConfigPath'](f),h=a45e[v(0xac)](g,'process.env');let i=a45e[v(0xac)](g,v(0xa8));b[v(0xb8)]?i=b['settings']:i=a45e['join'](g,'settings.json');if(this['fsi'][v(0x84)](h)&&!b[v(0xbd)])Log['notice'](v(0xb9)+h),syncSource(h);else!b[v(0xbd)]&&Log[v(0x89)](v(0x83)+h);this[v(0xb6)][v(0x84)](i)?(Log['notice'](v(0x86)+i),a=a[v(0x9b)]([v(0xb5),i])):Log['warn']('Cannot\x20find\x20Meteor\x20Settings\x20File:\x20'+i);const j=g[v(0xb1)](a45e['sep']),k=j[j[v(0x8e)]-0x1];k===v(0x8d)&&a[v(0xae)]('--production');const l=process[v(0xb0)]['slice'](0x2)[v(0x9a)](o=>o!==v(0x85))[v(0x9a)](o=>o!==a[0x0]);l[v(0xaf)]((o,p)=>{const w=v;o==='--env'&&l[w(0x88)](p,0x2),o==='-e'&&l['splice'](p,0x2);}),this[v(0xb6)]['invokeMeteorCommand'](v(0x85),a[v(0x9b)](l));}catch(o){console[v(0xa3)](o),process[v(0x8c)](0x1);}});export default Run;
1
+ function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x106;let f=c[d];return f;},a45d(a,b);}const a45t=a45d;(function(a,b){const q=a45d,c=a();while(!![]){try{const d=-parseInt(q(0x126))/0x1+parseInt(q(0x109))/0x2+-parseInt(q(0x13e))/0x3*(-parseInt(q(0x142))/0x4)+parseInt(q(0x13c))/0x5*(parseInt(q(0x10f))/0x6)+-parseInt(q(0x10c))/0x7*(parseInt(q(0x107))/0x8)+-parseInt(q(0x112))/0x9+-parseInt(q(0x141))/0xa*(-parseInt(q(0x133))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x4320a));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const r=a45d;return a45a[r(0x137)]()['search']('(((.+)+)+)+$')[r(0x137)]()[r(0x122)](a45a)[r(0x11a)](r(0x130));});a45a();import a45e from'path';function a45c(){const w=['notice','openSync','compareMakaToLatest','invokeMeteorCommand','push','inspect','constructor','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)','exclude-archs','isFile','129586IqjIdC','argv','slice','runSubCommand','--settings','isDirectory','cordova-build','filter','exit','process.env','(((.+)+)+)+$','allowIncompatibleUpdate','findProjectDirectory','22MfUbmq','split','settings','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','toString','join','forEach','run','findSubCommand','10WOdtTZ','docker','10311fhGaba','getConfigPath','port','4100120kKiejK','20zgMOfV','Cannot\x20find\x20Node\x20Environment\x20File:\x20','fsi','splice','16rrvgiz','mobileServer','326646jqjTlg','--production','warn','1290919FBOuIs','sep','mobile-server','908940yuCZax','env','settings.json','4771242rHIZbX','config','extraPackages','.meteor','concat','ios','\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.','error','search','local'];a45c=function(){return w;};return a45c();}import a45f from'fs';import a45g from'dotenv';import a45h from'rimraf';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const s=a45d;a45f[s(0x11d)](a,'r'),a45g[s(0x113)]({'path':a});},Run=Command['create']({'name':a45t(0x13a),'mustBeInMakaProject':!![],'shortDesc':'Run\x20your\x20Meteor\x20application','description':a45t(0x118),'validOpts':['env',a45t(0x13d),'r','rawLogs','p',a45t(0x140),'i',a45t(0x121),'m',a45t(0x108),'v','verbose',a45t(0x131),a45t(0x114),'x',a45t(0x124),'production']},async function(a,b){const u=a45t;try{const c=a[0x0],d=this[u(0x13b)](c);d&&this[u(0x129)](c,a,b);if(c===u(0x117)){const m=this[u(0x144)][u(0x132)](),n=a45e[u(0x138)](m,'app',u(0x115),u(0x11b),u(0x12c));this[u(0x144)][u(0x12b)](n)&&await a45h(n,{},()=>{});}if(b['mobile-server']&&b[u(0x10e)]===!![]||b['m']&&b['m']===!![])throw u(0x123);await this[u(0x144)][u(0x11e)]();const f=b['env']?b[u(0x110)]:'development',g=this['fsi'][u(0x13f)](f),h=a45e[u(0x138)](g,u(0x12f));let i=a45e[u(0x138)](g,u(0x111));b['settings']?i=b[u(0x135)]:i=a45e['join'](g,'settings.json');if(this[u(0x144)][u(0x125)](h)&&!b[u(0x13d)])Log['notice']('Node\x20Env\x20Config:\x20'+h),syncSource(h);else!b['docker']&&Log[u(0x10b)](u(0x143)+h);this[u(0x144)][u(0x125)](i)?(Log[u(0x11c)]('Meteor\x20Settings:\x20'+i),a=a[u(0x116)]([u(0x12a),i])):Log[u(0x10b)](u(0x136)+i);const j=g[u(0x134)](a45e[u(0x10d)]),k=j[j['length']-0x1];k==='production'&&a[u(0x120)](u(0x10a));const l=process[u(0x127)][u(0x128)](0x2)['filter'](o=>o!==u(0x13a))[u(0x12d)](o=>o!==a[0x0]);l[u(0x139)]((o,p)=>{const v=u;o==='--env'&&l[v(0x106)](p,0x2),o==='-e'&&l[v(0x106)](p,0x2);}),this[u(0x144)][u(0x11f)](u(0x13a),a[u(0x116)](l));}catch(o){console[u(0x119)](o),process[u(0x12e)](0x1);}});export default Run;
@@ -1 +1 @@
1
- (function(a,b){var f=a46d,c=a();while(!![]){try{var d=-parseInt(f(0x1a2))/0x1*(-parseInt(f(0x1a7))/0x2)+parseInt(f(0x1ab))/0x3+-parseInt(f(0x1ac))/0x4*(-parseInt(f(0x1a5))/0x5)+-parseInt(f(0x19f))/0x6*(-parseInt(f(0x1a6))/0x7)+-parseInt(f(0x1ad))/0x8+-parseInt(f(0x1a8))/0x9*(-parseInt(f(0x1a0))/0xa)+-parseInt(f(0x1a9))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x2914c));function a46c(){var i=['345912jSONmD','constructor','1757778RLWmMV','18540glMmBh','(((.+)+)+)+$','12494vbnCUX','toString','search','5epqBdx','7cyfRtl','6FXkOxs','882VUAGfb','4520593URMFSj','apply','90162raaJqL','321116mtVCKu'];a46c=function(){return i;};return a46c();}var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x1aa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0x1a3)]()[h(0x1a4)](h(0x1a1))[h(0x1a3)]()[h(0x19e)](a46a)[h(0x1a4)]('(((.+)+)+)+$');});function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x19e;var f=c[d];return f;},a46d(a,b);}a46a();import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';
1
+ (function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x6e))/0x1*(parseInt(f(0x71))/0x2)+parseInt(f(0x7a))/0x3*(-parseInt(f(0x7c))/0x4)+parseInt(f(0x77))/0x5*(parseInt(f(0x7d))/0x6)+parseInt(f(0x73))/0x7+parseInt(f(0x76))/0x8+parseInt(f(0x7b))/0x9+parseInt(f(0x6f))/0xa*(-parseInt(f(0x78))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x962c4));function a46c(){var i=['apply','24212wIeTJA','toString','3439695nanMRr','search','(((.+)+)+)+$','1088464XSDQrA','45MVqOLp','44fOiqcw','constructor','12Hrvspx','6462054QRHiHB','438560LbOhtO','632994VjRCTc','72rmPAyq','5282260GKnVNn'];a46c=function(){return i;};return a46c();}var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x70)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a['toString']()[h(0x74)]('(((.+)+)+)+$')[h(0x72)]()[h(0x79)](a46a)[h(0x74)](h(0x75));});function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x6e;var f=c[d];return f;},a46d(a,b);}a46a();import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';
@@ -1 +1 @@
1
- const a47j=a47d;function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x1ed;let f=c[d];return f;},a47d(a,b);}(function(a,b){const h=a47d,c=a();while(!![]){try{const d=parseInt(h(0x212))/0x1*(-parseInt(h(0x1f5))/0x2)+-parseInt(h(0x1fa))/0x3*(parseInt(h(0x1fb))/0x4)+-parseInt(h(0x201))/0x5+parseInt(h(0x1fc))/0x6*(parseInt(h(0x1f6))/0x7)+parseInt(h(0x203))/0x8*(-parseInt(h(0x206))/0x9)+parseInt(h(0x1ef))/0xa+parseInt(h(0x204))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x63fef));function a47c(){const l=['3846785EeWKbT','allowInsecure','10936ztoJrX','13010657gQUOjM','isFile','1440jzxirx','Set\x20allowInsecure:\x20','success','boolean','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','disallowInsecure','cacert','toString','constructor','help','maka\x20set:global-config\x20--cacert\x20<path>','maka\x20set:gc\x20--insecure\x20<path>','2WTsYXu','error','exit','5165320RrLXQx','Could\x20not\x20find\x20directory','resolve','(((.+)+)+)+$','search','One\x20or\x20the\x20other\x20buddy','13486hfyPGC','1179164rMAPKV','fsi','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x0a\x20\x20There\x20are\x20occasions\x20where\x20your\x20network\x20may\x20need\x20an\x20intermediate\x20certificate\x0a\x20\x20to\x20allow\x20connections\x20outside.\x20\x20You\x20may\x20set\x20your\x20certificate\x20path\x20using\x20the\x20command:\x0a\x0a\x20\x20maka\x20set:gc\x20--cacert\x0a\x20\x20','maka\x20set:global-config\x20<args>','21075jmMaAw','260nVCjMk','6XZxuMw','isDirectory','Set\x20workspace:\x20','setGlobalConfig','workspace'];a47c=function(){return l;};return a47c();}const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const i=a47d;return a47a[i(0x20d)]()[i(0x1f3)](i(0x1f2))[i(0x20d)]()[i(0x20e)](a47a)[i(0x1f3)](i(0x1f2));});a47a();import a47e from'path';import a47f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':'global-config','usage':a47j(0x1f9),'aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':['cacert',a47j(0x202),a47j(0x20b),a47j(0x200),a47j(0x20f)],'shortDesc':'Set\x20global\x20Maka-CLI\x20settings','description':a47j(0x1f8),'examples':[a47j(0x210),a47j(0x211),'maka\x20set:gc\x20--workspace\x20<path>']},async function(a,b){const k=a47j;try{if(b[k(0x20c)]){if(this[k(0x1f7)][k(0x205)](b[k(0x20c)]))this[k(0x1f7)][k(0x1ff)]({'cert':b['cacert']}),Log[k(0x208)]('Set\x20CA\x20Cert\x20Path:\x20'+b[k(0x20c)]);else{const c=typeof b[k(0x20c)]===k(0x209)?k(0x20a):'CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+b[k(0x20c)];throw Log[k(0x1ed)](c);}}if(b['workspace']){const d=this['fsi'][k(0x1fd)](b['workspace']);if(d)this[k(0x1f7)][k(0x1ff)]({'workspace':a47e[k(0x1f1)](b['workspace'])}),Log[k(0x208)](k(0x1fe)+a47e['resolve'](b[k(0x200)]));else throw Log[k(0x1ed)](k(0x1f0));}if(b['allowInsecure']){if(b['allowInsecure']&&b[k(0x20b)])throw Log['error'](k(0x1f4));let f=b['allowInsecure'];b[k(0x20b)]&&(f=![]),this['fsi']['setGlobalConfig']({'allowInsecure':f}),Log[k(0x208)](k(0x207)+f);}}catch(g){console[k(0x1ed)](g),process[k(0x1ee)](0x0);}},a47f);
1
+ const a47k=a47d;(function(a,b){const h=a47d,c=a();while(!![]){try{const d=parseInt(h(0x15c))/0x1+-parseInt(h(0x158))/0x2+-parseInt(h(0x13b))/0x3*(-parseInt(h(0x13a))/0x4)+-parseInt(h(0x15b))/0x5*(-parseInt(h(0x156))/0x6)+-parseInt(h(0x154))/0x7+-parseInt(h(0x13e))/0x8*(parseInt(h(0x142))/0x9)+parseInt(h(0x14e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xd6057));function a47c(){const m=['toString','(((.+)+)+)+$','disallowInsecure','isDirectory','exit','Set\x20CA\x20Cert\x20Path:\x20','Set\x20workspace:\x20','cacert','7558010NLkcGF','error','maka\x20set:global-config\x20--cacert\x20<path>','constructor','fsi','maka\x20set:gc\x20--workspace\x20<path>','2246069XZjPXU','success','102GaIlke','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','29920VrdxPl','create','global-config','173270sFHcJc','419889dDjPmy','Could\x20not\x20find\x20directory','maka\x20set:gc\x20--insecure\x20<path>','setGlobalConfig','4XNFgwX','1489452eMqieq','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x0a\x20\x20There\x20are\x20occasions\x20where\x20your\x20network\x20may\x20need\x20an\x20intermediate\x20certificate\x0a\x20\x20to\x20allow\x20connections\x20outside.\x20\x20You\x20may\x20set\x20your\x20certificate\x20path\x20using\x20the\x20command:\x0a\x0a\x20\x20maka\x20set:gc\x20--cacert\x0a\x20\x20','maka\x20set:global-config\x20<args>','137552iYWaHn','apply','allowInsecure','boolean','549xGbxdD','search','workspace','isFile'];a47c=function(){return m;};return a47c();}const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a47d;if(c){const e=c[i(0x13f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const j=a47d;return a47a[j(0x146)]()[j(0x143)](j(0x147))[j(0x146)]()[j(0x151)](a47a)[j(0x143)](j(0x147));});a47a();import a47e from'path';function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x139;let f=c[d];return f;},a47d(a,b);}import a47f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a47k(0x159)]({'name':a47k(0x15a),'usage':a47k(0x13d),'aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a47k(0x14d),a47k(0x140),a47k(0x148),a47k(0x144),'help'],'shortDesc':'Set\x20global\x20Maka-CLI\x20settings','description':a47k(0x13c),'examples':[a47k(0x150),a47k(0x15e),a47k(0x153)]},async function(a,b){const l=a47k;try{if(b[l(0x14d)]){if(this[l(0x152)][l(0x145)](b[l(0x14d)]))this[l(0x152)][l(0x139)]({'cert':b[l(0x14d)]}),Log[l(0x155)](l(0x14b)+b[l(0x14d)]);else{const c=typeof b['cacert']===l(0x141)?l(0x157):'CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+b[l(0x14d)];throw Log[l(0x14f)](c);}}if(b[l(0x144)]){const d=this[l(0x152)][l(0x149)](b[l(0x144)]);if(d)this[l(0x152)]['setGlobalConfig']({'workspace':a47e['resolve'](b['workspace'])}),Log[l(0x155)](l(0x14c)+a47e['resolve'](b[l(0x144)]));else throw Log[l(0x14f)](l(0x15d));}if(b[l(0x140)]){if(b[l(0x140)]&&b[l(0x148)])throw Log['error']('One\x20or\x20the\x20other\x20buddy');let f=b['allowInsecure'];b[l(0x148)]&&(f=![]),this[l(0x152)]['setGlobalConfig']({'allowInsecure':f}),Log[l(0x155)]('Set\x20allowInsecure:\x20'+f);}}catch(g){console[l(0x14f)](g),process[l(0x14a)](0x0);}},a47f);
@@ -1 +1 @@
1
- var a48i=a48d;(function(a,b){var f=a48d,c=a();while(!![]){try{var d=-parseInt(f(0x1fd))/0x1*(parseInt(f(0x1f7))/0x2)+-parseInt(f(0x1f5))/0x3*(parseInt(f(0x1ea))/0x4)+-parseInt(f(0x1eb))/0x5*(parseInt(f(0x1f6))/0x6)+-parseInt(f(0x1f0))/0x7*(-parseInt(f(0x1e8))/0x8)+-parseInt(f(0x1f1))/0x9+parseInt(f(0x1f9))/0xa*(parseInt(f(0x1f3))/0xb)+parseInt(f(0x1e9))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x30924));function a48d(a,b){var c=a48c();return a48d=function(d,e){d=d-0x1e7;var f=c[d];return f;},a48d(a,b);}function a48c(){var k=['apply','19490yVWfJZ','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','create','(((.+)+)+)+$','1yKjNIt','constructor','986152qlHBXX','8274768OTnLBL','3884NgEVhW','36760lcVDuS','maka\x20set:lc\x20<opts>','maka\x20set:local-config\x20<opts>','toString','notice','14vgpBhs','1972332QUsCbV','search','11NyxemE','local-config','501qQzcgf','258aHpuVb','83324vyohxw'];a48c=function(){return k;};return a48c();}var a48b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a48d;if(c){var e=c[g(0x1f8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){var h=a48d;return a48a[h(0x1ee)]()[h(0x1f2)](h(0x1fc))[h(0x1ee)]()[h(0x1e7)](a48a)[h(0x1f2)]('(((.+)+)+)+$');});a48a();import a48e from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a48i(0x1fb)]({'name':a48i(0x1f4),'usage':'maka\x20set:local-config\x20<opts>','examples':[a48i(0x1ec),a48i(0x1ed)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':'Set\x20local\x20maka\x20app\x20settings','validOpts':[],'description':a48i(0x1fa)},async function(){var j=a48i;Log[j(0x1ef)]('Sorry,\x20not\x20implemented\x20yet');},a48e);
1
+ var a48h=a48d;(function(a,b){var f=a48d,c=a();while(!![]){try{var d=parseInt(f(0x1d1))/0x1+-parseInt(f(0x1d8))/0x2+parseInt(f(0x1dc))/0x3*(-parseInt(f(0x1cf))/0x4)+parseInt(f(0x1da))/0x5*(parseInt(f(0x1e2))/0x6)+parseInt(f(0x1d4))/0x7+-parseInt(f(0x1d0))/0x8+-parseInt(f(0x1dd))/0x9*(-parseInt(f(0x1d7))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x2b07c));var a48b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){var g=a48d;return a48a[g(0x1ce)]()['search'](g(0x1df))[g(0x1ce)]()[g(0x1d9)](a48a)[g(0x1d6)](g(0x1df));});function a48c(){var j=['147798gUjWPs','constructor','25CWceix','create','4038BlhOis','45VDRbnM','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','(((.+)+)+)+$','Set\x20local\x20maka\x20app\x20settings','local-config','95208frwRsy','toString','76GhHozN','1353600THPkWG','207046jvnLCc','maka\x20set:local-config\x20<opts>','Sorry,\x20not\x20implemented\x20yet','941913JoQkcv','maka\x20set:lc\x20<opts>','search','47960BwOssc'];a48c=function(){return j;};return a48c();}a48a();import a48e from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a48d(a,b){var c=a48c();return a48d=function(d,e){d=d-0x1ce;var f=c[d];return f;},a48d(a,b);}Command[a48h(0x1db)]({'name':a48h(0x1e1),'usage':a48h(0x1d2),'examples':[a48h(0x1d5),a48h(0x1d2)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':a48h(0x1e0),'validOpts':[],'description':a48h(0x1de)},async function(){var i=a48h;Log['notice'](i(0x1d3));},a48e);
@@ -1 +1 @@
1
- const a49i=a49d;function a49d(a,b){const c=a49c();return a49d=function(d,e){d=d-0x173;let f=c[d];return f;},a49d(a,b);}(function(a,b){const f=a49d,c=a();while(!![]){try{const d=parseInt(f(0x181))/0x1+parseInt(f(0x176))/0x2*(-parseInt(f(0x17d))/0x3)+-parseInt(f(0x17b))/0x4+parseInt(f(0x17a))/0x5+parseInt(f(0x175))/0x6*(-parseInt(f(0x179))/0x7)+parseInt(f(0x17c))/0x8+parseInt(f(0x177))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x94913));const a49b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a49d;if(c){const e=c[g(0x185)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){const h=a49d;return a49a[h(0x173)]()['search'](h(0x184))[h(0x173)]()[h(0x180)](a49a)['search']('(((.+)+)+)+$');});a49a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command[a49i(0x17f)]({'name':a49i(0x174),'usage':a49i(0x17e),'minArgLength':0x1,'shortDesc':'Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','description':a49i(0x183),'validOpts':[]},async function(a,b){const j=a49i,c=a[0x0];if(b[j(0x178)])throw new UsageError();const d=this[j(0x186)](c);d&&this[j(0x182)](c,a,b);});function a49c(){const k=['toString','set','119052DFAlWN','992834OyMRPT','559737WCsDUL','help','217gTtqNt','2273110QPAVUb','3283740IjhebF','9540120VOBGbL','3gofsxY','maka\x20set:<sub-command>\x20<opts>','create','constructor','831655NFuROv','runSubCommand','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','(((.+)+)+)+$','apply','findSubCommand'];a49c=function(){return k;};return a49c();}export default SetCommand;
1
+ function a49d(a,b){const c=a49c();return a49d=function(d,e){d=d-0x14d;let f=c[d];return f;},a49d(a,b);}function a49c(){const k=['138PMPpvN','31653jjTadL','set','maka\x20set:<sub-command>\x20<opts>','help','11768JmaGtK','6609558zYPRvC','apply','runSubCommand','1103704FhAvRM','6791925ZvjfeE','\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','search','4669465DKAkYI','34209328BkREkL','(((.+)+)+)+$','toString'];a49c=function(){return k;};return a49c();}const a49i=a49d;(function(a,b){const f=a49d,c=a();while(!![]){try{const d=parseInt(f(0x150))/0x1+parseInt(f(0x158))/0x2*(parseInt(f(0x159))/0x3)+parseInt(f(0x15d))/0x4+parseInt(f(0x154))/0x5+parseInt(f(0x14d))/0x6+parseInt(f(0x151))/0x7+-parseInt(f(0x155))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x89c24));const a49b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a49d;if(c){const e=c[g(0x14e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){const h=a49d;return a49a[h(0x157)]()[h(0x153)]('(((.+)+)+)+$')[h(0x157)]()['constructor'](a49a)[h(0x153)](h(0x156));});a49a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command['create']({'name':a49i(0x15a),'usage':a49i(0x15b),'minArgLength':0x1,'shortDesc':'Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','description':a49i(0x152),'validOpts':[]},async function(a,b){const j=a49i,c=a[0x0];if(b[j(0x15c)])throw new UsageError();const d=this['findSubCommand'](c);d&&this[j(0x14f)](c,a,b);});export default SetCommand;
@@ -1 +1 @@
1
- const a50m=a50d;(function(a,b){const j=a50d,c=a();while(!![]){try{const d=-parseInt(j(0x1aa))/0x1*(parseInt(j(0x1b1))/0x2)+parseInt(j(0x1b4))/0x3+-parseInt(j(0x1a9))/0x4*(parseInt(j(0x1b9))/0x5)+parseInt(j(0x1ad))/0x6*(-parseInt(j(0x1a6))/0x7)+-parseInt(j(0x1af))/0x8+parseInt(j(0x1b6))/0x9+-parseInt(j(0x1b8))/0xa*(-parseInt(j(0x1bb))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x21dea));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a50d;if(c){const e=c[k(0x1c1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const l=a50d;return a50a[l(0x1c2)]()['search'](l(0x1b2))[l(0x1c2)]()['constructor'](a50a)['search'](l(0x1b2));});a50a();import a50e from'fs';function a50c(){const o=['toString','env','523789JYGFGr','sshSync','maka\x20ssh\x20--env\x20staging','18188kpQPjB','2KFgnkk','readFileSync','length','18nfgYDS','error','196792NesRez','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','68710hRsmxw','(((.+)+)+)+$','getConfigPath','555708LISMQO','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','311661xsAJoM','assign','81440ARNQzV','295fHJWcQ','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','682TGKqbg','create','ssh.json','exit','parse','maka\x20ssh\x20--env\x20<env>\x20[command]','apply'];a50c=function(){return o;};return a50c();}import a50f from'path';import{Command}from'../command.js';function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x1a6;let f=c[d];return f;},a50d(a,b);}import{SSH}from'../tools/ssh/ssh.class.js';Command[a50m(0x1bc)]({'name':'ssh','usage':a50m(0x1c0),'mustBeInMakaProject':!![],'requiredOpts':[a50m(0x1c3)],'validOpts':[a50m(0x1c3),'v'],'shortDesc':a50m(0x1b0),'examples':['maka\x20ssh\x20--env\x20dev',a50m(0x1a8),'maka\x20ssh\x20--env\x20prod',a50m(0x1ba),a50m(0x1b5),'maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22']},async function(a,b){const n=a50m;try{const c=this['fsi'][n(0x1b3)](b['env']);let d='';a[n(0x1ac)]>0x0&&(d=a[0x0]);const f=a50f['join'](c,n(0x1bd)),g=a50e[n(0x1ab)](f)[n(0x1c2)](),h=JSON[n(0x1bf)](g);Object[n(0x1b7)](h,{'env':c}),SSH[n(0x1a7)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['v']});}catch(i){console[n(0x1ae)](i),process[n(0x1be)](0x0);}});
1
+ const a50m=a50d;function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x1e6;let f=c[d];return f;},a50d(a,b);}(function(a,b){const j=a50d,c=a();while(!![]){try{const d=parseInt(j(0x1e7))/0x1+parseInt(j(0x1f6))/0x2*(parseInt(j(0x1f7))/0x3)+-parseInt(j(0x1f9))/0x4*(parseInt(j(0x1ef))/0x5)+-parseInt(j(0x1fe))/0x6*(-parseInt(j(0x201))/0x7)+parseInt(j(0x1e6))/0x8+-parseInt(j(0x1ed))/0x9*(-parseInt(j(0x1f5))/0xa)+parseInt(j(0x202))/0xb*(-parseInt(j(0x203))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xf19a3));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a50d;if(c){const e=c[k(0x1e9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const l=a50d;return a50a[l(0x1ff)]()[l(0x1f2)](l(0x1f4))[l(0x1ff)]()[l(0x200)](a50a)[l(0x1f2)](l(0x1f4));});a50a();import a50e from'fs';import a50f from'path';function a50c(){const o=['maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','380cmdCUN','maka\x20ssh\x20--env\x20staging','ssh.json','search','assign','(((.+)+)+)+$','20xKYAvY','2585624SZWjhy','3OsdyLm','parse','37096pHhHJW','exit','getConfigPath','maka\x20ssh\x20--env\x20<env>\x20[command]','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','48MGXItj','toString','constructor','1464232ZjOmlC','33uCDYcL','21860712SvzknW','create','8614488POqwvQ','1399242pOFBdf','env','apply','join','maka\x20ssh\x20--env\x20dev','length','7727994meBuXd'];a50c=function(){return o;};return a50c();}import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a50m(0x204)]({'name':'ssh','usage':a50m(0x1fc),'mustBeInMakaProject':!![],'requiredOpts':[a50m(0x1e8)],'validOpts':['env','v'],'shortDesc':a50m(0x1fd),'examples':[a50m(0x1eb),a50m(0x1f0),'maka\x20ssh\x20--env\x20prod','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22',a50m(0x1ee),'maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22']},async function(a,b){const n=a50m;try{const c=this['fsi'][n(0x1fb)](b['env']);let d='';a[n(0x1ec)]>0x0&&(d=a[0x0]);const f=a50f[n(0x1ea)](c,n(0x1f1)),g=a50e['readFileSync'](f)['toString'](),h=JSON[n(0x1f8)](g);Object[n(0x1f3)](h,{'env':c}),SSH['sshSync'](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['v']});}catch(i){console['error'](i),process[n(0x1fa)](0x0);}});
@@ -1 +1 @@
1
- const a51y=a51d;(function(a,b){const v=a51d,c=a();while(!![]){try{const d=-parseInt(v(0xd3))/0x1*(parseInt(v(0xc4))/0x2)+parseInt(v(0xdc))/0x3+-parseInt(v(0xc7))/0x4+parseInt(v(0xef))/0x5*(parseInt(v(0xda))/0x6)+-parseInt(v(0xfe))/0x7+-parseInt(v(0xf4))/0x8*(-parseInt(v(0xce))/0x9)+-parseInt(v(0xca))/0xa*(-parseInt(v(0xc6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x6ff4a));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a51d;if(c){const e=c[w(0xf7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const x=a51d;return a51a[x(0xf8)]()[x(0xff)](x(0xc1))[x(0xf8)]()[x(0xc2)](a51a)[x(0xff)](x(0xc1));});a51a();import a51e from'fs';import a51f from'path';import{Actions}from'../tools/actions/actions.class.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0xc0;let f=c[d];return f;},a51d(a,b);}import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';function a51c(){const A=['ssl','1106268WnAkGi','create','notice','genSSC','emailUpdate','letsencrypt.json','\x20--email\x20','getConfigPath','New\x20CSR\x20written\x20to\x20','writeFileSync','join','generate-ssc','success','mkKeysDir','.key','email','assign','domains','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','5Lhseep','Remote\x20host\x20connection\x20successful','appName','Verifying\x20Letsencrypt\x20configuration','sudo\x20snap\x20install\x20--classic\x20certbot','8QPYAQc','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','apply','toString','existsSync','.crt','ping','letsencrypt','readFileSync','2771643bagpGK','search','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','Please\x20provide\x20a\x20command.','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','ask','(((.+)+)+)+$','constructor','error','136LMcnQE','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','11ThusKr','2191892xTMbYu','domainNames','fsi','242570jLaglR','maka\x20ssl\x20--env\x20dev\x20generate-csr','generate-csr','ssh','2699514Agkzmi','maka\x20ssl\x20<opts>\x20[command]','Using\x20saved\x20letsencrypt\x20config','Email\x20to\x20use\x20for\x20auto-updates:\x20','stringify','2929onhgUM','.csr','env','[?]\x20Domains\x20to\x20register:\x20','parse','/ssh.json','getProjectConfig','5452230htJZdd'];a51c=function(){return A;};return a51c();}Command[a51y(0xdd)]({'name':a51y(0xdb),'usage':a51y(0xcf),'validOpts':['domains',a51y(0xeb)],'requiredOpts':[a51y(0xd5)],'shortDesc':'Create\x20and\x20manage\x20your\x20SSL\x20operations.','mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a51y(0xcb),a51y(0x102),a51y(0xc5)]},async function(a,b){const z=a51y,c=this[z(0xc9)][z(0xd9)](),d=this[z(0xc9)][z(0xe3)](b[z(0xd5)]),f=this['fsi'][z(0xe9)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0xcc))SSL['genCSR']({'keyName':c[z(0xf1)]+'.key','csrName':c[z(0xf1)]+z(0xd4),'cwd':f});else{if(g===z(0xe7)){if(!a51e[z(0xf9)](a51f['join'](f,c[z(0xf1)]+z(0xea))))throw'The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20'+a51f[z(0xe6)](f,c[z(0xf1)]+z(0xea));if(!a51e[z(0xf9)](a51f[z(0xe6)](f,c[z(0xf1)]+z(0xd4))))throw'The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20'+a51f['join'](f,c[z(0xf1)]+z(0xd4));SSL[z(0xdf)]({'keyName':c['appName']+z(0xea),'crtName':c[z(0xf1)]+z(0xfa),'cwd':f}),Log[z(0xde)](z(0xe4)+f);}else{if(g===z(0xfc)){let h=b[z(0xed)],i=b[z(0xeb)];try{const p=a51e['readFileSync'](a51f[z(0xe6)](d,z(0xe1)))['toString'](),q=JSON[z(0xd7)](p);h=b[z(0xed)]?b[z(0xed)]:q[z(0xc8)],i=b['email']?b[z(0xeb)]:q[z(0xe0)],(!b[z(0xeb)]||!b[z(0xed)])&&Log['notice'](z(0xd0));}catch(r){}const j=JSON[z(0xd7)](a51e[z(0xfd)](d+z(0xd8))[z(0xf8)]());Object[z(0xec)](j,{'env':d}),Log[z(0xde)]('Checking\x20remote\x20host\x20availability');try{const s=SSH[z(0xfb)]('uname\x20-a',j);if(!s)throw z(0xee);if(s)Log[z(0xe8)](z(0xf0));}catch(t){Log[z(0xc3)](t);return;}const k=Log['withSpinner']();k['start'](z(0xf2)),SSH[z(0xcd)](z(0xf5),{...j}),SSH['ssh'](z(0xf3),{...j}),SSH[z(0xcd)](z(0xf6),{...j}),k[z(0xe8)]();const l=h?h:await Actions['ask'](z(0xd6)),m=i?i:await Actions[z(0xc0)](z(0xd1));SSH['ssh'](z(0x100)+l+z(0xe2)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0xd2)](n,null,0x2);a51e[z(0xe5)](a51f[z(0xe6)](d,'letsencrypt.json'),o);}else throw z(0x101);}}}catch(u){console[z(0xc3)](u),process['exit'](0x0);}});
1
+ const a51x=a51d;(function(a,b){const v=a51d,c=a();while(!![]){try{const d=-parseInt(v(0x86))/0x1+-parseInt(v(0xa5))/0x2+-parseInt(v(0x7f))/0x3+-parseInt(v(0x97))/0x4*(-parseInt(v(0xa0))/0x5)+-parseInt(v(0x8b))/0x6+-parseInt(v(0xb0))/0x7+-parseInt(v(0x94))/0x8*(-parseInt(v(0x99))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x2f92b));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const w=a51d;return a51a[w(0xaf)]()[w(0xa2)](w(0xa9))[w(0xaf)]()[w(0x91)](a51a)['search'](w(0xa9));});a51a();import a51e from'fs';import a51f from'path';function a51c(){const z=['sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','generate-csr','[?]\x20Domains\x20to\x20register:\x20','sudo\x20snap\x20install\x20--classic\x20certbot','622845Vllwxj','/ssh.json','letsencrypt.json','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','mkKeysDir','readFileSync','withSpinner','331872RhocXr','join','writeFileSync','success','domains','1948026UVSIMB','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','getConfigPath','notice','uname\x20-a','fsi','constructor','error','emailUpdate','11302392vpFXSE','create','ask','212WAiHTH','Please\x20provide\x20a\x20command.','9fpZtvc','.key','email','ssh','Verifying\x20Letsencrypt\x20configuration','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','exit','7690FFtvAO','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','search','Using\x20saved\x20letsencrypt\x20config','domainNames','235326FtOaMy','maka\x20ssl\x20<opts>\x20[command]','env','stringify','(((.+)+)+)+$','ping','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','.csr','New\x20CSR\x20written\x20to\x20','existsSync','toString','2223431HRxBAX','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','.crt','ssl','appName','parse'];a51c=function(){return z;};return a51c();}import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x77;let f=c[d];return f;},a51d(a,b);}import{SSL}from'../tools/ssl/ssl.class.js';Command[a51x(0x95)]({'name':a51x(0x78),'usage':a51x(0xa6),'validOpts':['domains',a51x(0x9b)],'requiredOpts':[a51x(0xa7)],'shortDesc':'Create\x20and\x20manage\x20your\x20SSL\x20operations.','mustBeInMakaProject':!![],'minArgLength':0x1,'examples':['maka\x20ssl\x20--env\x20dev\x20generate-csr','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate',a51x(0x82)]},async function(a,b){const y=a51x,c=this[y(0x90)]['getProjectConfig'](),d=this[y(0x90)][y(0x8d)](b[y(0xa7)]),f=this[y(0x90)][y(0x83)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===y(0x7c))SSL['genCSR']({'keyName':c[y(0x79)]+'.key','csrName':c[y(0x79)]+y(0xac),'cwd':f});else{if(g==='generate-ssc'){if(!a51e[y(0xae)](a51f[y(0x87)](f,c['appName']+'.key')))throw y(0xb1)+a51f['join'](f,c[y(0x79)]+y(0x9a));if(!a51e[y(0xae)](a51f[y(0x87)](f,c[y(0x79)]+'.csr')))throw y(0xab)+a51f['join'](f,c['appName']+y(0xac));SSL['genSSC']({'keyName':c[y(0x79)]+y(0x9a),'crtName':c[y(0x79)]+y(0x77),'cwd':f}),Log[y(0x8e)](y(0xad)+f);}else{if(g==='letsencrypt'){let h=b['domains'],i=b[y(0x9b)];try{const p=a51e[y(0x84)](a51f[y(0x87)](d,'letsencrypt.json'))[y(0xaf)](),q=JSON[y(0x7a)](p);h=b[y(0x8a)]?b[y(0x8a)]:q[y(0xa4)],i=b[y(0x9b)]?b[y(0x9b)]:q[y(0x93)],(!b[y(0x9b)]||!b[y(0x8a)])&&Log[y(0x8e)](y(0xa3));}catch(r){}const j=JSON[y(0x7a)](a51e[y(0x84)](d+y(0x80))[y(0xaf)]());Object['assign'](j,{'env':d}),Log[y(0x8e)]('Checking\x20remote\x20host\x20availability');try{const s=SSH[y(0xaa)](y(0x8f),j);if(!s)throw y(0x8c);if(s)Log[y(0x89)]('Remote\x20host\x20connection\x20successful');}catch(t){Log[y(0x92)](t);return;}const k=Log[y(0x85)]();k['start'](y(0x9d)),SSH[y(0x9c)](y(0x9e),{...j}),SSH[y(0x9c)](y(0x7e),{...j}),SSH[y(0x9c)](y(0xa1),{...j}),k['success']();const l=h?h:await Actions[y(0x96)](y(0x7d)),m=i?i:await Actions[y(0x96)]('Email\x20to\x20use\x20for\x20auto-updates:\x20');SSH[y(0x9c)](y(0x7b)+l+'\x20--email\x20'+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[y(0xa8)](n,null,0x2);a51e[y(0x88)](a51f[y(0x87)](d,y(0x81)),o);}else throw y(0x98);}}}catch(u){console[y(0x92)](u),process[y(0x9f)](0x0);}});
@@ -1 +1 @@
1
- const a52q=a52d;(function(a,b){const m=a52d,c=a();while(!![]){try{const d=parseInt(m(0x17e))/0x1+parseInt(m(0x18e))/0x2*(parseInt(m(0x1aa))/0x3)+parseInt(m(0x180))/0x4+-parseInt(m(0x190))/0x5*(-parseInt(m(0x16e))/0x6)+-parseInt(m(0x193))/0x7+parseInt(m(0x1ab))/0x8+-parseInt(m(0x19e))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xa5fc0));function a52d(a,b){const c=a52c();return a52d=function(d,e){d=d-0x16e;let f=c[d];return f;},a52d(a,b);}const a52b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a52d;if(c){const e=c[n(0x19b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){const o=a52d;return a52a[o(0x198)]()['search']('(((.+)+)+)+$')['toString']()[o(0x1ac)](a52a)[o(0x195)](o(0x186));});function a52c(){const t=['maka\x20test\x20<opts>','--env','933885LwbCRs','7775544oLpGRk','constructor','1181688sOADYh','filter','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','fsi','driver','join','Meteor\x20Settings:\x20','isFile','getConfigPath','concat','development','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','once','testAppPath','forEach','argv','637824srngfG','splice','4530176XRkDMO','port','none','unit','invokeMeteorCommand','packages','(((.+)+)+)+$','--settings','settings.json','engines','utf8','rawLogs','exit','test-packages','2WZjtVw','parse','5KUjjoW','driver-package','env','8877057qbSzDX','mocha','search','Cannot\x20find\x20Node\x20Environment\x20File:\x20','process.env','toString','sanjo:jasmine','test','apply','jasmine','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','11722779QbZEOr','openSync','warn','--full-app','.maka','--driver','--packages','notice','meteortesting:mocha','findProjectDirectory'];a52c=function(){return t;};return a52c();}a52a();import a52e from'fs';import a52f from'path';import a52g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const p=a52d;a52e[p(0x19f)](a,'r'),a52g['config']({'path':a});};Command['create']({'name':'test','mustBeInMakaProject':!![],'validOpts':[a52q(0x17a),a52q(0x185),a52q(0x172),'driverPackage',a52q(0x183),'env',a52q(0x18b),a52q(0x181),'inspect',a52q(0x17b)],'usage':a52q(0x1a8),'shortDesc':a52q(0x19d),'examples':[]},function(a,b){const r=a52q;try{let c=this[r(0x171)][r(0x176)](r(0x178));b['env']&&(c=this[r(0x171)][r(0x176)](b[r(0x192)]));(!b[r(0x183)]||!!b[r(0x17a)])&&(a=a[r(0x177)]([r(0x1a1)]));b[r(0x183)]&&delete b[r(0x183)];let d=b[r(0x191)]||b['driver']||r(0x182);if(d===r(0x182)){const j=JSON[r(0x18f)](a52e['readFileSync'](a52f[r(0x173)](this[r(0x171)][r(0x1a7)](),r(0x1a2),'config.json'),r(0x18a)));if(j[r(0x189)][r(0x19a)]===r(0x19c))d=r(0x199);else j[r(0x189)][r(0x19a)]===r(0x194)&&(d=r(0x1a6));}if(d===r(0x182))throw r(0x179);(!b['driver-package']||!b[r(0x172)])&&(a=a[r(0x177)](['--driver-package',d]));const f=a52f[r(0x173)](c,r(0x188));this['fsi'][r(0x175)](f)?(Log[r(0x1a5)](r(0x174)+f),a=a[r(0x177)]([r(0x187),f])):Log[r(0x1a0)](r(0x170)+f);const g=a52f[r(0x173)](c,r(0x197));this[r(0x171)][r(0x175)](g)?(Log[r(0x1a5)]('Node\x20Env\x20Config:\x20'+g),syncSource(g)):Log[r(0x1a0)](r(0x196)+g);const h=process[r(0x17d)]['slice'](0x2)[r(0x16f)](k=>k!==r(0x1a9))['filter'](k=>k!==r(0x19a))[r(0x16f)](k=>k!==a[0x0]);h[r(0x17c)]((k,l)=>{const s=r;(k===s(0x1a9)||k===s(0x1a3))&&h[s(0x17f)](l,0x2),k===s(0x1a4)&&h[s(0x17f)](l,0x1);});const i=b[r(0x185)]?r(0x18d):r(0x19a);this['fsi'][r(0x184)](i,a['concat'](h));}catch(k){console['error'](k),process[r(0x18c)](0x0);}});
1
+ function a52c(){const s=['Meteor\x20Settings:\x20','env','test','config.json','search','4312065DJlxfF','settings.json','port','splice','argv','getConfigPath','none','isFile','driverPackage','create','findProjectDirectory','concat','unit','toString','warn','902014cHOzUr','8201958UJjLKl','engines','packages','mocha','utf8','error','development','fsi','jasmine','inspect','Node\x20Env\x20Config:\x20','apply','readFileSync','rawLogs','19797876eHkORn','constructor','--full-app','--driver-package','2319160MxrREm','1096496BiKDZv','--driver','exit','driver-package','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','testAppPath','filter','notice','once','join','driver','meteortesting:mocha','--packages','(((.+)+)+)+$','4502772fMoDDY','.maka','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','process.env','--env','parse'];a52c=function(){return s;};return a52c();}const a52p=a52d;(function(a,b){const m=a52d,c=a();while(!![]){try{const d=parseInt(m(0x1be))/0x1+parseInt(m(0x1aa))/0x2+-parseInt(m(0x19b))/0x3+-parseInt(m(0x190))/0x4+parseInt(m(0x1bd))/0x5+-parseInt(m(0x1ab))/0x6+parseInt(m(0x1b9))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xde0fa));const a52b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a52d;if(c){const e=c[n(0x1b6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){const o=a52d;return a52a[o(0x1a8)]()['search'](o(0x18f))[o(0x1a8)]()[o(0x1ba)](a52a)[o(0x19a)]('(((.+)+)+)+$');});a52a();import a52e from'fs';function a52d(a,b){const c=a52c();return a52d=function(d,e){d=d-0x189;let f=c[d];return f;},a52d(a,b);}import a52f from'path';import a52g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){a52e['openSync'](a,'r'),a52g['config']({'path':a});};Command[a52p(0x1a4)]({'name':a52p(0x198),'mustBeInMakaProject':!![],'validOpts':[a52p(0x18a),a52p(0x1ad),a52p(0x18c),a52p(0x1a3),'unit',a52p(0x197),a52p(0x1b8),a52p(0x19d),a52p(0x1b4),a52p(0x1c3)],'usage':'maka\x20test\x20<opts>','shortDesc':a52p(0x1c2),'examples':[]},function(a,b){const q=a52p;try{let c=this[q(0x1b2)]['getConfigPath'](q(0x1b1));b[q(0x197)]&&(c=this[q(0x1b2)][q(0x1a0)](b[q(0x197)]));(!b[q(0x1a7)]||!!b[q(0x18a)])&&(a=a['concat']([q(0x1bb)]));b[q(0x1a7)]&&delete b[q(0x1a7)];let d=b['driver-package']||b[q(0x18c)]||q(0x1a1);if(d==='none'){const j=JSON[q(0x195)](a52e[q(0x1b7)](a52f[q(0x18b)](this[q(0x1b2)][q(0x1a5)](),q(0x191),q(0x199)),q(0x1af)));if(j[q(0x1ac)][q(0x198)]===q(0x1b3))d='sanjo:jasmine';else j['engines'][q(0x198)]===q(0x1ae)&&(d=q(0x18d));}if(d===q(0x1a1))throw q(0x192);(!b[q(0x1c1)]||!b[q(0x18c)])&&(a=a[q(0x1a6)]([q(0x1bc),d]));const f=a52f[q(0x18b)](c,q(0x19c));this['fsi']['isFile'](f)?(Log[q(0x189)](q(0x196)+f),a=a['concat'](['--settings',f])):Log[q(0x1a9)]('Cannot\x20find\x20Meteor\x20Settings\x20File:\x20'+f);const g=a52f[q(0x18b)](c,q(0x193));this[q(0x1b2)][q(0x1a2)](g)?(Log[q(0x189)](q(0x1b5)+g),syncSource(g)):Log['warn']('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+g);const h=process[q(0x19f)]['slice'](0x2)[q(0x1c4)](k=>k!==q(0x194))[q(0x1c4)](k=>k!=='test')[q(0x1c4)](k=>k!==a[0x0]);h['forEach']((k,l)=>{const r=q;(k===r(0x194)||k===r(0x1bf))&&h['splice'](l,0x2),k===r(0x18e)&&h[r(0x19e)](l,0x1);});const i=b[q(0x1ad)]?'test-packages':q(0x198);this[q(0x1b2)]['invokeMeteorCommand'](i,a[q(0x1a6)](h));}catch(k){console[q(0x1b0)](k),process[q(0x1c0)](0x0);}});
@@ -1 +1 @@
1
- const a53l=a53d;(function(a,b){const i=a53d,c=a();while(!![]){try{const d=-parseInt(i(0xfc))/0x1*(parseInt(i(0xf2))/0x2)+parseInt(i(0x104))/0x3+-parseInt(i(0x102))/0x4*(parseInt(i(0xf6))/0x5)+-parseInt(i(0xfd))/0x6*(parseInt(i(0xe0))/0x7)+parseInt(i(0xe2))/0x8+parseInt(i(0xd6))/0x9+-parseInt(i(0xeb))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xdea0c));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a53d;if(c){const e=c[j(0xdb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const k=a53d;return a53a[k(0x100)]()['search']('(((.+)+)+)+$')[k(0x100)]()[k(0xde)](a53a)[k(0xf8)](k(0xe1));});function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0xd6;let f=c[d];return f;},a53d(a,b);}a53a();import{execSync}from'child_process';import a53e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import a53f from'../../package.json';function a53c(){const n=['getProjectsMeteorNodeVersion','20203490hJUUbx','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','System\x27s\x20Node\x20Version\x20','compareMakaToLatest','replace','\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','fsi','4aihzru',')\x20to\x20at\x20least\x20meteor\x27s\x20(','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','meteor','54515NhAIPU','getGlobalMeteorVersion','search','platform','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','majestic','451268YNmQcw','254574iinBMQ','Project\x27s\x20Meteor\x20Node\x20Version\x20','bright','toString','\x20node\x20-v','164OAlLOt','warn','5054772FmgDvJ','----------------------System----------------------------','create','9764640pKenZO','N/A','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','error','isMakaProject','apply','Project\x27s\x20Meteor\x20Version\x20','exit','constructor','win32','28rfOKQi','(((.+)+)+)+$','13452992crlaye','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','notice','maka\x20version','meteor.bat','version','----------------------Project----------------------------','getProjectMeteorVersion'];a53c=function(){return n;};return a53c();}Command[a53l(0x106)]({'name':a53l(0xe7),'aliases':['v'],'usage':'maka\x20version','maxArgLength':0x1,'validOpts':[],'shortDesc':a53l(0xec),'examples':['maka\x20v',a53l(0xe5)]},async function(){const m=a53l;try{const a=process[m(0xf9)]===m(0xdf)?m(0xe6):m(0xf5);Log[m(0xfb)]('Maka\x20'+a53f['version']),await this[m(0xf1)][m(0xee)](),Log['bright'](m(0x105));const b=this[m(0xf1)][m(0xf7)]();Log[m(0xff)](('System\x27s\x20Meteor\x20Version\x20'+b)[m(0xef)]('\x0a',''));const c=execSync(a+m(0x101))[m(0x100)]()[m(0xef)](/\r?\n|\r/,'')['replace']('v','');Log[m(0xff)](m(0xf4)+c);const d=execSync('node\x20-v')[m(0x100)]()[m(0xef)](/\r?\n|\r/,'')[m(0xef)]('v','');a53e['gt'](c,d)?(Log['warn'](m(0xed)+d),Log[m(0x103)](m(0xd8)+d+m(0xf3)+c+')')):Log[m(0xff)](m(0xed)+d);if(this[m(0xf1)][m(0xda)]()){Log[m(0xff)](m(0xe8));const f=this[m(0xf1)][m(0xe9)]();a53e['gt'](b,f)?(Log[m(0x103)](m(0xdc)+f[m(0xef)]('\x0a','')),Log['warn'](m(0xe3)+b+'\x22')):Log[m(0xe4)]((m(0xdc)+f)[m(0xef)]('\x0a',''));const g=await this[m(0xf1)][m(0xea)]();g===m(0xd7)?(Log[m(0x103)](m(0xfe)+g),Log[m(0x103)](m(0xfa))):Log['bright'](m(0xfe)+g),Log[m(0xff)](m(0xf0));}}catch(h){console[m(0xd9)](h),process[m(0xdd)](0x0);}});
1
+ const a53l=a53d;(function(a,b){const i=a53d,c=a();while(!![]){try{const d=-parseInt(i(0x13f))/0x1*(-parseInt(i(0x13e))/0x2)+parseInt(i(0x14e))/0x3*(parseInt(i(0x13a))/0x4)+parseInt(i(0x13d))/0x5*(parseInt(i(0x139))/0x6)+-parseInt(i(0x156))/0x7*(-parseInt(i(0x154))/0x8)+parseInt(i(0x14c))/0x9*(-parseInt(i(0x13b))/0xa)+-parseInt(i(0x153))/0xb*(parseInt(i(0x150))/0xc)+-parseInt(i(0x147))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xc32fc));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a53d;if(c){const e=c[j(0x155)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const k=a53d;return a53a['toString']()[k(0x146)]('(((.+)+)+)+$')['toString']()[k(0x145)](a53a)[k(0x146)](k(0x157));});a53a();function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x132;let f=c[d];return f;},a53d(a,b);}import{execSync}from'child_process';import a53e from'semver';import{Command}from'../command.js';function a53c(){const n=['2474458apouMY','1HznzbQ','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','fsi','Project\x27s\x20Meteor\x20Version\x20','replace','maka\x20v','constructor','search','19339294LUVBlK','Project\x27s\x20Meteor\x20Node\x20Version\x20','toString','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','getProjectMeteorVersion','9jzSybd','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','3seoCRw','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','9192Whrhxb',')\x20to\x20at\x20least\x20meteor\x27s\x20(','----------------------System----------------------------','429XuIuCX','11419832nVlHEj','apply','7FEauqx','(((.+)+)+)+$','meteor','win32','warn','----------------------Project----------------------------','isMakaProject','bright','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','System\x27s\x20Node\x20Version\x20','platform','version','18mglbdS','1924016tkeZtC','14947370LjxugX','maka\x20version','1110035yRXLcd'];a53c=function(){return n;};return a53c();}import{Log}from'../tools/log/log.class.js';import a53f from'../../package.json';Command['create']({'name':a53l(0x138),'aliases':['v'],'usage':a53l(0x13c),'maxArgLength':0x1,'validOpts':[],'shortDesc':a53l(0x140),'examples':[a53l(0x144),a53l(0x13c)]},async function(){const m=a53l;try{const a=process[m(0x137)]===m(0x159)?'meteor.bat':m(0x158);Log['majestic']('Maka\x20'+a53f['version']),await this[m(0x141)]['compareMakaToLatest'](),Log[m(0x134)](m(0x152));const b=this['fsi']['getGlobalMeteorVersion']();Log[m(0x134)](('System\x27s\x20Meteor\x20Version\x20'+b)[m(0x143)]('\x0a',''));const c=execSync(a+'\x20node\x20-v')[m(0x149)]()['replace'](/\r?\n|\r/,'')[m(0x143)]('v','');Log[m(0x134)](m(0x135)+c);const d=execSync('node\x20-v')[m(0x149)]()[m(0x143)](/\r?\n|\r/,'')[m(0x143)]('v','');a53e['gt'](c,d)?(Log['warn']('System\x27s\x20Node\x20Version\x20'+d),Log[m(0x15a)](m(0x14d)+d+m(0x151)+c+')')):Log[m(0x134)](m(0x136)+d);if(this[m(0x141)][m(0x133)]()){Log[m(0x134)](m(0x132));const f=this[m(0x141)][m(0x14b)]();a53e['gt'](b,f)?(Log[m(0x15a)](m(0x142)+f[m(0x143)]('\x0a','')),Log['warn'](m(0x14f)+b+'\x22')):Log['notice']((m(0x142)+f)[m(0x143)]('\x0a',''));const g=await this[m(0x141)]['getProjectsMeteorNodeVersion']();g==='N/A'?(Log['warn'](m(0x148)+g),Log[m(0x15a)](m(0x14a))):Log['bright']('Project\x27s\x20Meteor\x20Node\x20Version\x20'+g),Log[m(0x134)]('\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');}}catch(h){console['error'](h),process['exit'](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a54d,c=a();while(!![]){try{var d=-parseInt(f(0x100))/0x1+-parseInt(f(0xf9))/0x2*(-parseInt(f(0x105))/0x3)+parseInt(f(0x102))/0x4*(-parseInt(f(0xfd))/0x5)+parseInt(f(0x101))/0x6*(-parseInt(f(0xf7))/0x7)+-parseInt(f(0xfc))/0x8*(-parseInt(f(0x103))/0x9)+-parseInt(f(0x106))/0xa+parseInt(f(0xfe))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x9cb18));var a54b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a54d;if(c){var e=c[g(0xfa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){var h=a54d;return a54a[h(0xff)]()[h(0xfb)]('(((.+)+)+)+$')['toString']()[h(0xf8)](a54a)[h(0xfb)](h(0x104));});function a54d(a,b){var c=a54c();return a54d=function(d,e){d=d-0xf7;var f=c[d];return f;},a54d(a,b);}function a54c(){var i=['910961ALBqhx','6xWePIs','4rjnUYv','9vsBnyq','(((.+)+)+)+$','33mYeofk','1142300bDiQaE','5574296qRhwzy','constructor','43090SuBiWZ','apply','search','9137944EEfOBr','2711440yAhkoB','17890235SYOggm','toString'];a54c=function(){return i;};return a54c();}a54a();export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
1
+ (function(a,b){var f=a54d,c=a();while(!![]){try{var d=-parseInt(f(0x16b))/0x1*(-parseInt(f(0x16c))/0x2)+parseInt(f(0x168))/0x3+parseInt(f(0x164))/0x4+parseInt(f(0x165))/0x5*(parseInt(f(0x167))/0x6)+-parseInt(f(0x166))/0x7+parseInt(f(0x16d))/0x8*(-parseInt(f(0x162))/0x9)+-parseInt(f(0x15f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x76532));function a54c(){var i=['547705ikMmDT','2119810pHTpKo','48WkTArt','751287HlgfFc','(((.+)+)+)+$','search','8210jVfXGy','22wjFSXE','1325976iGnVrp','5100830kejfsM','apply','constructor','9WGxwUI','toString','985004lzMcOX'];a54c=function(){return i;};return a54c();}function a54d(a,b){var c=a54c();return a54d=function(d,e){d=d-0x15f;var f=c[d];return f;},a54d(a,b);}var a54b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a54d;if(c){var e=c[g(0x160)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){var h=a54d;return a54a[h(0x163)]()[h(0x16a)]('(((.+)+)+)+$')['toString']()[h(0x161)](a54a)[h(0x16a)](h(0x169));});a54a();export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
@@ -1 +1 @@
1
- const a55t=a55d;(function(a,b){const p=a55d,c=a();while(!![]){try{const d=parseInt(p(0x218))/0x1*(parseInt(p(0x20c))/0x2)+parseInt(p(0x233))/0x3+-parseInt(p(0x1ea))/0x4+-parseInt(p(0x1ed))/0x5+parseInt(p(0x1f6))/0x6*(-parseInt(p(0x22f))/0x7)+-parseInt(p(0x213))/0x8+parseInt(p(0x23f))/0x9*(parseInt(p(0x23a))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0xb4ef4));const a55b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a55d;if(c){const e=c[q(0x238)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){const r=a55d;return a55a['toString']()[r(0x1ec)](r(0x1f3))[r(0x210)]()['constructor'](a55a)['search'](r(0x1f3));});a55a();import a55e from'path';function a55d(a,b){const c=a55c();return a55d=function(d,e){d=d-0x1e6;let f=c[d];return f;},a55d(a,b);}import a55f from'cli-table';import{paramCase}from'change-case';import a55g from'./generators/maka.gen.js';import{Log}from'./tools/log/log.class.js';import{Tool}from'./tool.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError}from'./error.js';let _prevGen='';function inside(a='.',b){const s=a55d,c=process[s(0x211)]();let d=null;try{process[s(0x21f)](a),d=b();}finally{process['chdir'](c);}return d;}export class Generator extends Tool{[a55t(0x20f)];[a55t(0x207)];constructor(a,b){const u=a55t;super();if(!a)throw new Error(u(0x212));if(!a[u(0x224)])throw new Error(u(0x237));if(typeof b!==u(0x1f0))throw new Error('Generator\x20requires\x20a\x20handler\x20function');this[u(0x207)]=[],this['options']=Object[u(0x201)]({},a),this['name']=this[u(0x20f)][u(0x224)],this[u(0x1f1)]=b[u(0x229)](this);}static[a55t(0x219)](a,b,c){const v=a55t;if(!a)throw new Error(v(0x22b));if(typeof b!==v(0x1f0))throw new Error(v(0x209));const d=new Generator(a,b);return c=c||a55g,Object[v(0x201)](d,{'parent':c?.[v(0x20f)]?.[v(0x224)]}),c[v(0x220)](d),d;}[a55t(0x220)](a){const w=a55t;if(!(a instanceof Generator))throw new Error(w(0x231));this[w(0x207)][w(0x1e7)](a);}['findGenerator'](a){const x=a55t,b=this[x(0x207)]['find'](c=>c['match'](a));return b;}async['validateMakaSubscription'](a,b){const y=a55t,c=this[y(0x205)](a[0x0]);if(c){const d=c?.['name']||a[0x0],e=c?.[y(0x208)]||'',f=Object[y(0x236)](b),g=await this[y(0x1e8)][y(0x1eb)]();!g&&(Log[y(0x1ff)]('License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.'),process['exit'](0x1));const h=!g?.[y(0x1fb)]['includes'](y(0x226))&&!g?.[y(0x1fb)]['includes'](y(0x232)),i=g?.['proGenerators'][y(0x222)](d)||g?.[y(0x20a)][y(0x222)](e);if(i&&h)throw y(0x1f4)+d+'\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27';if(f[y(0x21b)]>0x0){const j=g?.['proFlags'][y(0x1f9)](k=>f[y(0x222)](k));if(j&&j[y(0x21b)]>0x0&&h)throw y(0x1fa)+j?.['join'](',\x20')+'\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27';}}}async[a55t(0x225)](a,b){const z=a55t,{usage:usage='',description:description='',examples:examples=[],shortDesc:c}=this[z(0x20f)];try{await this[z(0x20d)](a,b);}catch(f){Log[z(0x1ff)](f),process[z(0x1ef)](0x1);}const d=a['slice']();b[z(0x1fe)]=d[0x0];try{if((a[0x0]===_prevGen||a[z(0x21b)]===0x0)&&b[z(0x215)])throw new UsageError();if(this[z(0x20f)][z(0x223)]){const g=this[z(0x217)]();if(!g)throw new MustBeInProjectError();}if(this[z(0x20f)][z(0x23b)]){const h=this['validateMeteorInstall']();if(!h)throw new NoMeteorFoundError();}if(typeof this['options'][z(0x235)]===z(0x21a)){if(a[z(0x21b)]<this[z(0x20f)][z(0x235)]){Log[z(0x1ff)](z(0x1e9));throw new UsageError();}}if(typeof this[z(0x20f)]['maxArgLength']==='number'){if(a[z(0x21b)]>this[z(0x20f)][z(0x1f5)]){Log['error'](z(0x214));throw new UsageError();}}if(typeof this[z(0x20f)][z(0x227)]===z(0x21a)){if(Object[z(0x236)](b)[z(0x21b)]<this[z(0x20f)][z(0x227)]){Log[z(0x1ff)]('Too\x20few\x20options');throw new UsageError();}}if(typeof this[z(0x20f)]['maxOptsLength']===z(0x21a)){if(Object[z(0x236)](b)[z(0x21b)]>=this[z(0x20f)]['maxOptsLength']){Log[z(0x1ff)](z(0x21e));throw new UsageError();}}this[z(0x230)](a,b,this[z(0x20f)]);if(!b['resourceName']&&!this['options']['noResource']){Log[z(0x1ff)](z(0x23e));throw new UsageError();}_prevGen=a[0x0];}catch(i){Log[z(0x206)](description,examples,usage,c);if(i instanceof UsageError)this[z(0x207)][z(0x21b)]>0x0&&b['help']&&(Log['notice']('Generators:'),this[z(0x22c)](this[z(0x207)]));else{if(i instanceof MustBeInProjectError)Log['error'](z(0x22d));else{if(i instanceof NoMeteorFoundError)Log[z(0x1ff)](z(0x20b)),Log[z(0x23c)]('Please\x20run\x20\x22maka\x20install\x20meteor\x22');else{if(i instanceof NoMeteorAppFoundError)Log['error']('There\x20is\x20no\x20Meteor\x20application\x20here');else throw i;}}}process['exit'](0x1);}return new Promise(j=>{const A=z;inside(b[A(0x211)],async()=>{const B=A;try{if(!b[B(0x21d)]&&!this[B(0x1e8)][B(0x1e6)]())throw new MustBeInProjectError();const k=b['resourceName']?.['replace'](/\\/g,'/')[B(0x23d)]('/');!b[B(0x1fd)]&&(k?.['length']>0x1?(b[B(0x1fe)]=k[B(0x22a)](),d[0x0]=b[B(0x1fe)],b[B(0x1fd)]=k[B(0x228)](l=>{return paramCase(l);})['join'](a55e['sep'])):b[B(0x1fd)]='');if(this[B(0x20f)]['checkWhere']){if(!b[B(0x1f7)]){const m={'type':'list','name':B(0x1fc),'message':B(0x1f8),'choices':[{'name':B(0x1f2),'value':B(0x216)},{'name':B(0x21c),'value':B(0x1ee)},{'name':B(0x240),'value':B(0x239)}]},{colLocAnswer:n}=await Actions['options'](m);n?b[B(0x1f7)]=n:b[B(0x1f7)]=B(0x239);}const l=[B(0x239),B(0x216),B(0x1ee)];if(!l[B(0x222)](b[B(0x1f7)])){Log[B(0x1ff)](B(0x22e));throw new UsageError();}switch(b['where']){case B(0x239):b[B(0x234)]=B(0x221);break;case B(0x1ee):b[B(0x234)]=B(0x1ee);break;case'client':b[B(0x234)]=B(0x216);break;default:b[B(0x234)]='';}}j(this['_handler']['call'](this,d,b));}catch(o){console[B(0x1ff)](o);}});});}['listGenerators'](){const C=a55t;this[C(0x22c)](this[C(0x207)]);}[a55t(0x22c)](a){const D=a55t,b=new a55f({});b[D(0x1e7)]([D(0x204),'Alias',D(0x200)]),a[D(0x20e)]()[D(0x202)](c=>{const E=D;b[E(0x1e7)]([c['name'],c['aliases'](),c['shortDesc']()]);}),Log[D(0x203)](b['toString']());}}function a55c(){const F=['addGenerator','lib','includes','mustBeInMakaProject','name','invoke','singleLicense','minOptsLength','map','bind','pop','Generator.create\x20requires\x20some\x20options!','tableList','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator','--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27','133490YbFTGo','validateParams','addGenerator\x20requires\x20a\x20Generator\x20instance','domainLicense','558480nnuGFZ','appPathPrefix','minArgLength','keys','Generator\x20requires\x20a\x20name','apply','both','76900NqqMjM','mustHaveMeteorInstalled','notice','split','No\x20resource\x20name\x20specified','3231Jsgmbh','Both','findProjectDirectory','push','fsi','Too\x20few\x20arguments','5072204OcKowU','getPro','search','1019095wPTXGL','server','exit','function','_handler','Client','(((.+)+)+)+$','To\x20use\x20this\x20generator,\x20\x22','maxArgLength','60eXMKua','where','Location','filter','To\x20use\x20these\x20pro\x20flags,\x20\x22','roles','colLocAnswer','dir','resourceName','error','Description','assign','forEach','bright','Name','findGenerator','usage','_generators','parent','Generator.create\x20requires\x20a\x20handler\x20function!','proGenerators','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','71242gILDzE','validateMakaSubscription','sort','options','toString','cwd','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','6340312QGwsbd','Too\x20many\x20arguments','help','client','validateMakaProject','7NwOAFE','create','number','length','Server','root','Too\x20many\x20options','chdir'];a55c=function(){return F;};return a55c();}
1
+ const a55t=a55d;function a55c(){const F=['Too\x20many\x20arguments','To\x20use\x20this\x20generator,\x20\x22','11RXZlxg','Generator.create\x20requires\x20a\x20handler\x20function!','list','40637990nbEJiF','_generators','number','Location','Too\x20few\x20options','validateMakaProject','maxOptsLength','find','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','singleLicense','Too\x20many\x20options','bright','shortDesc','name','server','slice','validateMakaSubscription','call','push','4711145pHOqkc','filter','toString','split','keys','No\x20resource\x20name\x20specified','Please\x20run\x20\x22maka\x20install\x20meteor\x22','cwd','bind','domainLicense','dir','Server','14847Rxisqa','42633ogMStC','1156506JLfqWH','replace','join','appPathPrefix','addGenerator\x20requires\x20a\x20Generator\x20instance','Alias','help','assign','1752PyfURv','proFlags','mustHaveMeteorInstalled','map','resourceName','exit','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','findProjectDirectory','includes','function','getPro','where','Name','_handler','error','client','pop','apply','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator','forEach','sort','2298dSeIdM','tableList','length','search','--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27','To\x20use\x20these\x20pro\x20flags,\x20\x22','options','342381gEWtQo','listGenerators','notice','maxArgLength','parent','both','4NJBZXy','proGenerators','minOptsLength','Too\x20few\x20arguments','1164339BRlblj','colLocAnswer','chdir','checkWhere','roles','(((.+)+)+)+$','minArgLength','usage','aliases','Generators:','addGenerator','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.'];a55c=function(){return F;};return a55c();}(function(a,b){const p=a55d,c=a();while(!![]){try{const d=-parseInt(p(0xeb))/0x1+-parseInt(p(0xc7))/0x2+-parseInt(p(0xf5))/0x3*(-parseInt(p(0xf1))/0x4)+-parseInt(p(0x119))/0x5+parseInt(p(0xe4))/0x6*(-parseInt(p(0x125))/0x7)+parseInt(p(0xcf))/0x8*(-parseInt(p(0xc6))/0x9)+parseInt(p(0x106))/0xa*(parseInt(p(0x103))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0xb47e7));const a55b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a55d;if(c){const e=c[q(0xe0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){const r=a55d;return a55a[r(0x11b)]()['search'](r(0xfa))[r(0x11b)]()['constructor'](a55a)[r(0xe7)]('(((.+)+)+)+$');});a55a();import a55e from'path';import a55f from'cli-table';function a55d(a,b){const c=a55c();return a55d=function(d,e){d=d-0xc6;let f=c[d];return f;},a55d(a,b);}import{paramCase}from'change-case';import a55g from'./generators/maka.gen.js';import{Log}from'./tools/log/log.class.js';import{Tool}from'./tool.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError}from'./error.js';let _prevGen='';function inside(a='.',b){const s=a55d,c=process['cwd']();let d=null;try{process[s(0xf7)](a),d=b();}finally{process[s(0xf7)](c);}return d;}export class Generator extends Tool{[a55t(0xea)];[a55t(0x107)];constructor(a,b){const u=a55t;super();if(!a)throw new Error('Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object');if(!a[u(0x113)])throw new Error('Generator\x20requires\x20a\x20name');if(typeof b!==u(0xd8))throw new Error('Generator\x20requires\x20a\x20handler\x20function');this[u(0x107)]=[],this[u(0xea)]=Object['assign']({},a),this[u(0x113)]=this['options'][u(0x113)],this[u(0xdc)]=b[u(0x121)](this);}static['create'](a,b,c){const v=a55t;if(!a)throw new Error('Generator.create\x20requires\x20some\x20options!');if(typeof b!==v(0xd8))throw new Error(v(0x104));const d=new Generator(a,b);return c=c||a55g,Object[v(0xce)](d,{'parent':c?.[v(0xea)]?.[v(0x113)]}),c[v(0xff)](d),d;}[a55t(0xff)](a){const w=a55t;if(!(a instanceof Generator))throw new Error(w(0xcb));this[w(0x107)][w(0x118)](a);}['findGenerator'](a){const x=a55t,b=this[x(0x107)][x(0x10d)](c=>c['match'](a));return b;}async['validateMakaSubscription'](a,b){const y=a55t,c=this['findGenerator'](a[0x0]);if(c){const d=c?.[y(0x113)]||a[0x0],e=c?.[y(0xef)]||'',f=Object[y(0x11d)](b),g=await this['fsi'][y(0xd9)]();!g&&(Log[y(0xdd)](y(0x100)),process[y(0xd4)](0x1));const h=!g?.[y(0xf9)][y(0xd7)](y(0x10f))&&!g?.[y(0xf9)]['includes'](y(0x122)),i=g?.[y(0xf2)][y(0xd7)](d)||g?.[y(0xf2)]['includes'](e);if(i&&h)throw y(0x102)+d+y(0xd5);if(f[y(0xe6)]>0x0){const j=g?.[y(0xd0)][y(0x11a)](k=>f[y(0xd7)](k));if(j&&j[y(0xe6)]>0x0&&h)throw y(0xe9)+j?.[y(0xc9)](',\x20')+y(0xd5);}}}async['invoke'](a,b){const z=a55t,{usage:usage='',description:description='',examples:examples=[],shortDesc:c}=this[z(0xea)];try{await this[z(0x116)](a,b);}catch(f){Log['error'](f),process[z(0xd4)](0x1);}const d=a[z(0x115)]();b['resourceName']=d[0x0];try{if((a[0x0]===_prevGen||a['length']===0x0)&&b['help'])throw new UsageError();if(this[z(0xea)]['mustBeInMakaProject']){const g=this[z(0x10b)]();if(!g)throw new MustBeInProjectError();}if(this[z(0xea)][z(0xd1)]){const h=this['validateMeteorInstall']();if(!h)throw new NoMeteorFoundError();}if(typeof this['options'][z(0xfb)]==='number'){if(a[z(0xe6)]<this[z(0xea)][z(0xfb)]){Log[z(0xdd)](z(0xf4));throw new UsageError();}}if(typeof this[z(0xea)][z(0xee)]==='number'){if(a[z(0xe6)]>this[z(0xea)][z(0xee)]){Log[z(0xdd)](z(0x101));throw new UsageError();}}if(typeof this['options'][z(0xf3)]===z(0x108)){if(Object['keys'](b)[z(0xe6)]<this[z(0xea)][z(0xf3)]){Log['error'](z(0x10a));throw new UsageError();}}if(typeof this[z(0xea)]['maxOptsLength']===z(0x108)){if(Object['keys'](b)[z(0xe6)]>=this[z(0xea)][z(0x10c)]){Log['error'](z(0x110));throw new UsageError();}}this['validateParams'](a,b,this[z(0xea)]);if(!b[z(0xd3)]&&!this[z(0xea)]['noResource']){Log[z(0xdd)](z(0x11e));throw new UsageError();}_prevGen=a[0x0];}catch(i){Log[z(0xfc)](description,examples,usage,c);if(i instanceof UsageError)this['_generators']['length']>0x0&&b[z(0xcd)]&&(Log[z(0xed)](z(0xfe)),this[z(0xe5)](this[z(0x107)]));else{if(i instanceof MustBeInProjectError)Log[z(0xdd)](z(0xe1));else{if(i instanceof NoMeteorFoundError)Log[z(0xdd)](z(0x10e)),Log['notice'](z(0x11f));else{if(i instanceof NoMeteorAppFoundError)Log[z(0xdd)]('There\x20is\x20no\x20Meteor\x20application\x20here');else throw i;}}}process['exit'](0x1);}return new Promise(j=>{const A=z;inside(b[A(0x120)],async()=>{const B=A;try{if(!b['root']&&!this['fsi'][B(0xd6)]())throw new MustBeInProjectError();const k=b['resourceName']?.[B(0xc8)](/\\/g,'/')[B(0x11c)]('/');!b[B(0x123)]&&(k?.['length']>0x1?(b['resourceName']=k[B(0xdf)](),d[0x0]=b[B(0xd3)],b['dir']=k[B(0xd2)](l=>{return paramCase(l);})['join'](a55e['sep'])):b[B(0x123)]='');if(this['options'][B(0xf8)]){if(!b[B(0xda)]){const m={'type':B(0x105),'name':B(0xf6),'message':B(0x109),'choices':[{'name':'Client','value':B(0xde)},{'name':B(0x124),'value':B(0x114)},{'name':'Both','value':'both'}]},{colLocAnswer:n}=await Actions[B(0xea)](m);n?b['where']=n:b[B(0xda)]=B(0xf0);}const l=[B(0xf0),B(0xde),B(0x114)];if(!l['includes'](b[B(0xda)])){Log['error'](B(0xe8));throw new UsageError();}switch(b[B(0xda)]){case B(0xf0):b['appPathPrefix']='lib';break;case B(0x114):b[B(0xca)]=B(0x114);break;case B(0xde):b[B(0xca)]=B(0xde);break;default:b[B(0xca)]='';}}j(this[B(0xdc)][B(0x117)](this,d,b));}catch(o){console[B(0xdd)](o);}});});}[a55t(0xec)](){const C=a55t;this['tableList'](this[C(0x107)]);}[a55t(0xe5)](a){const D=a55t,b=new a55f({});b[D(0x118)]([D(0xdb),D(0xcc),'Description']),a[D(0xe3)]()[D(0xe2)](c=>{const E=D;b['push']([c['name'],c[E(0xfd)](),c[E(0x112)]()]);}),Log[D(0x111)](b[D(0x11b)]());}}