@maka/maka-cli 4.6.12 → 4.6.13
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.
- package/bundle/obf/package.json +1 -1
- package/bundle/obf/src/command.js +1 -1
- package/bundle/obf/src/commands/_index.js +1 -1
- package/bundle/obf/src/commands/ai.js +1 -1
- package/bundle/obf/src/commands/aws/_index.js +1 -1
- package/bundle/obf/src/commands/aws/aws.command.js +1 -1
- package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/build/_index.js +1 -1
- package/bundle/obf/src/commands/build/build.js +1 -1
- package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/create.js +1 -1
- package/bundle/obf/src/commands/debug.js +1 -1
- package/bundle/obf/src/commands/deploy.js +1 -1
- package/bundle/obf/src/commands/game/_index.js +1 -1
- package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/play.command.js +1 -1
- package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/generate.js +1 -1
- package/bundle/obf/src/commands/get/_index.js +1 -1
- package/bundle/obf/src/commands/get/get.command.js +1 -1
- package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/help.js +1 -1
- package/bundle/obf/src/commands/install.js +1 -1
- package/bundle/obf/src/commands/jsdoc.js +1 -1
- package/bundle/obf/src/commands/lint.js +1 -1
- package/bundle/obf/src/commands/login.js +1 -1
- package/bundle/obf/src/commands/logout.js +1 -1
- package/bundle/obf/src/commands/logs.js +1 -1
- package/bundle/obf/src/commands/maka.cmd.js +1 -1
- package/bundle/obf/src/commands/murder.js +1 -1
- package/bundle/obf/src/commands/proxy.js +1 -1
- package/bundle/obf/src/commands/reconfig.js +1 -1
- package/bundle/obf/src/commands/run/_index.js +1 -1
- package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/run/run.command.js +1 -1
- package/bundle/obf/src/commands/set/_index.js +1 -1
- package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/set.command.js +1 -1
- package/bundle/obf/src/commands/ssh.js +1 -1
- package/bundle/obf/src/commands/ssl.js +1 -1
- package/bundle/obf/src/commands/test.js +1 -1
- package/bundle/obf/src/commands/version.js +1 -1
- package/bundle/obf/src/error.js +1 -1
- package/bundle/obf/src/exec.js +1 -1
- package/bundle/obf/src/generator.js +1 -1
- package/bundle/obf/src/generators/_index.js +1 -1
- package/bundle/obf/src/generators/api.js +1 -1
- package/bundle/obf/src/generators/collection.js +1 -1
- package/bundle/obf/src/generators/component.js +1 -1
- package/bundle/obf/src/generators/config.js +1 -1
- package/bundle/obf/src/generators/dbc.js +1 -1
- package/bundle/obf/src/generators/dockerfile.js +1 -1
- package/bundle/obf/src/generators/hook.js +1 -1
- package/bundle/obf/src/generators/kit.js +1 -1
- package/bundle/obf/src/generators/layout.js +1 -1
- package/bundle/obf/src/generators/maka.gen.js +1 -1
- package/bundle/obf/src/generators/methods.js +1 -1
- package/bundle/obf/src/generators/package.js +1 -1
- package/bundle/obf/src/generators/page.js +1 -1
- package/bundle/obf/src/generators/publish.js +1 -1
- package/bundle/obf/src/generators/route.js +1 -1
- package/bundle/obf/src/generators/service.js +1 -1
- package/bundle/obf/src/generators/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/translation.js +1 -1
- package/bundle/obf/src/maka.js +1 -1
- package/bundle/obf/src/tool.js +1 -1
- package/bundle/obf/src/tools/actions/actions.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
- package/bundle/obf/src/tools/docker/docker.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
- package/bundle/obf/src/tools/https/https.class.js +1 -1
- package/bundle/obf/src/tools/https/https.interface.js +1 -1
- package/bundle/obf/src/tools/log/log.class.js +1 -1
- package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
- package/bundle/obf/src/tools/options/options.class.js +1 -1
- package/bundle/obf/src/tools/progress/progress.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a78h=a78d;(function(a,b){var f=a78d,c=a();while(!![]){try{var d=parseInt(f(0x198))/0x1+-parseInt(f(0x1a1))/0x2*(parseInt(f(0x195))/0x3)+-parseInt(f(0x1a6))/0x4+parseInt(f(0x19c))/0x5*(parseInt(f(0x19f))/0x6)+parseInt(f(0x1a2))/0x7*(parseInt(f(0x19e))/0x8)+parseInt(f(0x1a3))/0x9*(parseInt(f(0x19b))/0xa)+parseInt(f(0x1a7))/0xb*(-parseInt(f(0x194))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0x54b80));var a78b=(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;};}()),a78a=a78b(this,function(){var g=a78d;return a78a[g(0x197)]()['search'](g(0x196))[g(0x197)]()[g(0x19a)](a78a)['search'](g(0x196));});function a78c(){var j=['exit','933456FPsXIn','9YUKmWx','(((.+)+)+)+$','toString','560756ucVhBy','create','constructor','2930CdFcRq','1102595FwuYIi','murder','33688iEPLyW','12UESfwp','maka\x20murder','14478RxuLmf','889daStZi','13554zMylVD','log','error','524608JjXBbd','209IMbIUE'];a78c=function(){return j;};return a78c();}a78a();function a78d(a,b){var c=a78c();return a78d=function(d,e){d=d-0x193;var f=c[d];return f;},a78d(a,b);}import{Command}from'../command.js';Command[a78h(0x199)]({'name':a78h(0x19d),'usage':a78h(0x1a0),'maxArgLength':0x1,'shortDesc':'Murrrrderrrrr','validOpts':[]},async function(){var i=a78h;try{console[i(0x1a4)]('%c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.___.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20,-^\x20\x20\x20\x20\x20^-.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x0a.-------|\x20|--------------/\x20\x20__\x20\x20\x20\x20\x20__\x20\x20\x5c-------------------.__\x0a|WMWMWMW|\x20|>>>>>>>>>>>>>\x20|\x20/>>\x5c\x20\x20\x20/>>\x5c\x20|>>>>>>>>>>>>>>>>>>>>>>:>\x0a`-------|\x20|--------------|\x20\x5c__/\x20\x20\x20\x5c__/\x20|-------------------\x27^^\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x5c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20/|\x5c\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x5c_/\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\x20|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|+H+H+H+|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20^-----^\x0a\x0a','font-family:\x20monospace');}catch(a){console[i(0x1a5)](a),process[i(0x193)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a79q=a79d;function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x169;let f=c[d];return f;},a79d(a,b);}(function(a,b){const n=a79d,c=a();while(!![]){try{const d=-parseInt(n(0x172))/0x1+-parseInt(n(0x185))/0x2*(parseInt(n(0x184))/0x3)+parseInt(n(0x171))/0x4+parseInt(n(0x18d))/0x5+-parseInt(n(0x18a))/0x6+-parseInt(n(0x187))/0x7*(parseInt(n(0x18b))/0x8)+parseInt(n(0x181))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0x1b5ab));const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a79d;if(c){const e=c[o(0x175)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const p=a79d;return a79a[p(0x16f)]()[p(0x16b)]('(((.+)+)+)+$')[p(0x16f)]()['constructor'](a79a)[p(0x16b)](p(0x18c));});a79a();import a79e from'fs';import a79f from'path';import a79g from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';import a79h from'../generators/maka.gen.js';function a79c(){const s=['sslconfig','3FqGMhp','252154TlVrzp','help','14cYqBBg','findGenerator','localhost','1314300LYEcVb','751040usuSff','(((.+)+)+)+$','655250ztaRzD','join','isFile','.crt','genSSC','readFileSync','maka\x20proxy\x20--target-host\x20http://192.168.1.20','fsi','bright','search','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','genCSR','proxy','toString','.key','452592SzpSUP','100848riAEEY','maka\x20proxy','utf8','apply','development','listenPort','targetPort','getConfigPath','appName','create','targetHost','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','createProxyServer','invoke','listen','4514220LRtQnk','\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'];a79c=function(){return s;};return a79c();}Command[a79q(0x17b)]({'name':a79q(0x16e),'usage':'maka\x20proxy','mustBeInMakaProject':!![],'validOpts':[a79q(0x186),'targetPort','listenPort',a79q(0x17c)],'maxArgLength':0x1,'shortDesc':a79q(0x17d),'description':a79q(0x182),'examples':[a79q(0x173),a79q(0x16c),a79q(0x193)]},async function(a,b){const r=a79q,c=this[r(0x169)]['getProjectConfig'](),d=r(0x176),e=this[r(0x169)][r(0x179)](d),f=this[r(0x169)]['mkKeysDir']({'configPath':e}),g=b[r(0x178)]?Number(b[r(0x178)]):0xbb8,h=b[r(0x177)]?Number(b[r(0x177)]):0xd73,i=b[r(0x17c)]?b[r(0x17c)]:r(0x189),j=a79f['join'](f,c[r(0x17a)]+r(0x170)),k=a79f[r(0x18e)](f,c['appName']+'.crt');if(!this[r(0x169)][r(0x18f)](j)||!this['fsi'][r(0x18f)](k)){const m=a79h[r(0x188)](r(0x183));m&&await m[r(0x17f)](['sslconfig'],{'env':d}),SSL[r(0x16d)]({'keyName':c[r(0x17a)]+r(0x170),'csrName':c[r(0x17a)]+'.csr','cwd':f}),SSL[r(0x191)]({'keyName':c[r(0x17a)]+'.key','crtName':c['appName']+r(0x190),'cwd':f});}if(g===h){Log['error']('Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.');throw new UsageError();}const l={'ssl':{'key':a79e[r(0x192)](j,r(0x174)),'cert':a79e[r(0x192)](k,r(0x174))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a79g[r(0x17e)](l)[r(0x180)](Number(h)),Log[r(0x16a)]('=>\x20SSL\x20Proxy\x20forwarding\x20'+h+'\x20to\x20'+g);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a80q=a80d;function a80c(){const s=['success','Reconfigure\x20your\x20deployed\x20applications','~/ses.json','565568qPwhwI','Remote\x20host\x20connection\x20successful','assign','590280RTDtOw','maka\x20reconfig\x20--env\x20prod','ssh','scp','pm2\x20delete\x20all','exit','env','readFileSync','ses.json','2724288QsnPzl','constructor','getConfigPath','5wEcgtI','apply','2414166gqNEIM','join','Checking\x20remote\x20host\x20availability','maka\x20reconfig','887556PzGCjK','fsi','(((.+)+)+)+$','6587700ELvEho','sshSync','reconfig','existsSync','toString','768144apiQou','ssh.json','~/pm2.config.js','settings.json','create','error','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','~/settings.json','search','uname\x20-a'];a80c=function(){return s;};return a80c();}(function(a,b){const n=a80d,c=a();while(!![]){try{const d=parseInt(n(0xde))/0x1+parseInt(n(0xd6))/0x2+-parseInt(n(0xcd))/0x3+-parseInt(n(0xc4))/0x4+parseInt(n(0xd0))/0x5*(-parseInt(n(0xd2))/0x6)+parseInt(n(0xd9))/0x7+-parseInt(n(0xc1))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0x986ab));const a80b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a80d;if(c){const e=c[o(0xd1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){const p=a80d;return a80a[p(0xdd)]()[p(0xbc)](p(0xd8))[p(0xdd)]()[p(0xce)](a80a)[p(0xbc)](p(0xd8));});a80a();import a80e from'fs';import a80f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';function a80d(a,b){const c=a80c();return a80d=function(d,e){d=d-0xba;let f=c[d];return f;},a80d(a,b);}Command[a80q(0xe2)]({'name':a80q(0xdb),'validOpts':[''],'requiredOpts':[a80q(0xca)],'mustBeInMakaProject':!![],'usage':a80q(0xd5),'shortDesc':a80q(0xbf),'description':'\x0a\x20\x20If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x0a\x20\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.\x0a\x20\x20','examples':[a80q(0xc5)]},async function(a,b){const r=a80q;try{const c=this[r(0xd7)][r(0xcf)](b[r(0xca)]),d=a80f['join'](c,r(0xdf)),f=a80e[r(0xcb)](d)['toString'](),g=JSON['parse'](f);Object[r(0xc3)](g,{'env':c}),Log['notice'](r(0xd4));const h=SSH['ping'](r(0xbd),g);if(!h)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(h)Log[r(0xbe)](r(0xc2));const i=a80f[r(0xd3)](c,'_keys',r(0xcc));if(a80e[r(0xdc)](i)){const l={'source':i,'dest':r(0xc0),'verbose':!![]};SSH[r(0xc7)](l,{...g});}const j=a80f['join'](c,'pm2.config.js');SSH[r(0xc7)]({'source':j,'dest':r(0xe0),'verbose':!![]},{...g});const k=a80f[r(0xd3)](c,r(0xe1));SSH[r(0xc7)]({'source':k,'dest':r(0xbb),'verbose':!![]},{...g}),SSH[r(0xda)](r(0xc8),g),await SSH[r(0xc6)](r(0xba),{...g},{'verbose':!![]});}catch(m){console[r(0xe3)](m),process[r(0xc9)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a81d,c=a();while(!![]){try{var d
|
|
1
|
+
function a81d(a,b){var c=a81c();return a81d=function(d,e){d=d-0x188;var f=c[d];return f;},a81d(a,b);}(function(a,b){var f=a81d,c=a();while(!![]){try{var d=-parseInt(f(0x192))/0x1*(parseInt(f(0x188))/0x2)+parseInt(f(0x18f))/0x3+-parseInt(f(0x194))/0x4*(-parseInt(f(0x193))/0x5)+parseInt(f(0x189))/0x6+parseInt(f(0x18a))/0x7+-parseInt(f(0x191))/0x8*(-parseInt(f(0x18d))/0x9)+-parseInt(f(0x18e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0xa864a));var a81b=(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;};}()),a81a=a81b(this,function(){var g=a81d;return a81a[g(0x18b)]()[g(0x190)]('(((.+)+)+)+$')[g(0x18b)]()[g(0x18c)](a81a)[g(0x190)]('(((.+)+)+)+$');});a81a();function a81c(){var h=['search','30760VQankq','63AYiTWV','370BkBRSb','9676BoPuxe','31082jqeQYV','3498486Tejbct','1796984ZUdjCG','toString','constructor','2259bUqYfD','14783790JVLotn','3489918hAnGWv'];a81c=function(){return h;};return a81c();}import'./run.command.js';import'./docker.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a82l=a82d;(function(a,b){const i=a82d,c=a();while(!![]){try{const d=-parseInt(i(0xcf))/0x1*(parseInt(i(0xcc))/0x2)+-parseInt(i(0xd3))/0x3+-parseInt(i(0xd8))/0x4+parseInt(i(0xe5))/0x5+-parseInt(i(0xe1))/0x6+-parseInt(i(0xd6))/0x7*(-parseInt(i(0xdd))/0x8)+parseInt(i(0xd2))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0xd93d5));function a82c(){const n=['37956CZZvBn','getProjectConfig','apply','13ZAgfGA','docker-compose\x20--project-directory\x20','docker-compose.yaml','22029669LbpMoF','2442774zMGoPK','createFile','search','14XBfwUL','\x20up\x20--remove-orphans','5636708SjtXcm','docker','config/docker-compose.yaml','join','pm2.config.js','1423624cBAyce','create','maka\x20run\x20docker','appName','3006882FfYcRL','toString','getConfigPath','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','5287310FiCveM','\x0a\x20\x20Run\x20your\x20application\x20in\x20a\x20Docker\x20container.\x20\x20Docker\x20Desktop\x20or\x20Colmia\x20is\x20required.\x0a\x0a\x20\x20Colima\x20is\x20a\x20great\x20alternative\x20to\x20Docker\x20Desktop,\x20and\x20it\x20is\x20free!\x0a\x20\x20Colima:\x20https://github.com/abiosoft/colima\x0a\x0a\x0a\x20\x20A\x20docker-compose.yml\x20file\x20(location\x20defaulted\x20to\x20the\x20\x22config/docker\x22\x20folder)\x0a\x20\x20is\x20used\x20to\x20startup\x20mongo\x20and\x20load\x20the\x20built\x20image\x27\x0a\x20\x20','(((.+)+)+)+$','Docker\x20Compose\x20Path:\x20','exit','fsi'];a82c=function(){return n;};return a82c();}const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a82d;if(c){const e=c[j(0xce)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const k=a82d;return a82a[k(0xe2)]()[k(0xd5)]('(((.+)+)+)+$')[k(0xe2)]()['constructor'](a82a)['search'](k(0xe7));});a82a();function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0xc9;let f=c[d];return f;},a82d(a,b);}import a82e from'./run.command.js';import{execSync}from'child_process';import a82f from'path';import a82g from'fs';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';Command[a82l(0xde)]({'name':'docker','aliases':['d'],'shortDesc':a82l(0xe4),'description':a82l(0xe6),'usage':a82l(0xdf),'validOpts':['']},async function(){const m=a82l;try{const a=this[m(0xcb)][m(0xcd)](),b=this[m(0xcb)][m(0xe3)](m(0xd9)),c=a82f['join'](b,m(0xd1)),d=a82f[m(0xdb)](b,m(0xdc));Log['notice']('PM2\x20Config\x20File:\x20'+d),Log['notice'](m(0xc9)+c);if(!a82g['existsSync'](c)){const f={'app':a[m(0xe0)],'appFileCase':paramCase(a[m(0xe0)])},g=this['fsi']['templateContent']({'srcPath':m(0xda),'context':f})+'\x0a';this[m(0xcb)][m(0xd4)]({'filePath':c,'data':g});}execSync(m(0xd0)+b+m(0xd7),{'stdio':'inherit'});}catch(h){process[m(0xca)](0x1);}},a82e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a83v=a83d;(function(a,b){const r=a83d,c=a();while(!![]){try{const d=-parseInt(r(
|
|
1
|
+
const a83v=a83d;(function(a,b){const r=a83d,c=a();while(!![]){try{const d=-parseInt(r(0x1ba))/0x1*(parseInt(r(0x1b1))/0x2)+parseInt(r(0x198))/0x3*(-parseInt(r(0x1b8))/0x4)+-parseInt(r(0x19c))/0x5*(-parseInt(r(0x1bc))/0x6)+-parseInt(r(0x1c1))/0x7+-parseInt(r(0x1af))/0x8*(-parseInt(r(0x1c7))/0x9)+-parseInt(r(0x19b))/0xa+parseInt(r(0x1c3))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0xf151d));const a83b=(function(){let a=!![];return function(b,c){const d=a?function(){const s=a83d;if(c){const e=c[s(0x197)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){const t=a83d;return a83a[t(0x1a3)]()[t(0x1aa)]('(((.+)+)+)+$')[t(0x1a3)]()[t(0x1bd)](a83a)[t(0x1aa)]('(((.+)+)+)+$');});a83a();import a83e from'path';import a83f from'fs';import a83g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const u=a83d;a83f['openSync'](a,'r'),a83g[u(0x1b9)]({'path':a});},Run=Command[a83v(0x1a6)]({'name':a83v(0x1ad),'mustBeInMakaProject':!![],'shortDesc':a83v(0x19a),'description':a83v(0x1be),'validOpts':[a83v(0x1a8),'docker','r','rawLogs','p',a83v(0x1ac),'i','inspect','m',a83v(0x1c6),'v',a83v(0x195),a83v(0x1bf),a83v(0x19d),'x',a83v(0x1c2),a83v(0x1b5)]},async function(a,b){const w=a83v;try{const c=this['fsi']['findProjectDirectory']();!this[w(0x1cb)]['checkMeteorPackage'](w(0x199))&&(Log[w(0x1cd)](w(0x19f)),await this[w(0x1cb)][w(0x19e)](w(0x199),{'cwd':c}));const d=a[0x0],f=this[w(0x1c8)](d);f&&this[w(0x1a9)](d,a,b);if(d==='ios'){const n=this['fsi']['findProjectDirectory'](),o=a83e[w(0x1a0)](n,w(0x1bb),w(0x1ca),w(0x1a2),'cordova-build');this[w(0x1cb)][w(0x193)](o)&&await rimraf(o);}if(b[w(0x1c0)]&&b[w(0x1c0)]===!![]||b['m']&&b['m']===!![])throw'Please\x20provide\x20a\x20URL\x20where\x20your\x20mobile\x20app\x20should\x20connect\x20to\x20your\x20server\x20(e.g.,\x20-m\x20|\x20--mobile-server=https://example-server.com)';await this[w(0x1cb)][w(0x1b0)]();const g=b['env']?b[w(0x1a8)]:'development',h=this[w(0x1cb)][w(0x194)](g),i=a83e[w(0x1a0)](h,w(0x1ae));let j=a83e[w(0x1a0)](h,w(0x1b6));b[w(0x1b4)]?j=b['settings']:j=a83e[w(0x1a0)](h,'settings.json');if(this[w(0x1cb)][w(0x1ce)](i)&&!b[w(0x1c9)])Log[w(0x1cd)](w(0x1b3)+i),syncSource(i);else!b[w(0x1c9)]&&Log[w(0x1b7)](w(0x1cf)+i);this[w(0x1cb)][w(0x1ce)](j)?(Log['notice']('Meteor\x20Settings:\x20'+j),a=a[w(0x1a4)]([w(0x1d0),j])):Log[w(0x1b7)]('Cannot\x20find\x20Meteor\x20Settings\x20File:\x20'+j);const k=h[w(0x1b2)](a83e[w(0x1a1)]),l=k[k['length']-0x1];l===w(0x1b5)&&a['push'](w(0x196));const m=process[w(0x1a7)][w(0x1c5)](0x2)[w(0x1c4)](p=>p!==w(0x1ad))[w(0x1c4)](p=>p!==a[0x0]);m['forEach']((p,q)=>{const x=w;p==='--env'&&m['splice'](q,0x2),p==='-e'&&m[x(0x1a5)](q,0x2);}),this[w(0x1cb)][w(0x1cc)](w(0x1ad),a[w(0x1a4)](m));}catch(p){console['error'](p),process[w(0x1ab)](0x1);}});function a83c(){const y=['950BKlivP','extraPackages','installMeteorPackage','Verifying\x20meteor\x20package\x20requirements\x20...','join','sep','local','toString','concat','splice','create','argv','env','runSubCommand','search','exit','port','run','process.env','2276488epgiCG','compareMakaToLatest','218748ndShCd','split','Node\x20Env\x20Config:\x20','settings','production','settings.json','warn','4HQtiBc','config','3pJDSbe','app','54822uXZfcu','constructor','\x0a\x20\x20maka\x20run\x0a\x20\x20-e\x20|\x20--env\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20target\x20environment.\x20\x20Will\x20automatically\x20pull\x20in\x20the\x20meteor\x20settings\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20file\x20(settings.json)\x20and\x20any\x20environment\x20options\x20that\x20have\x20been\x20enabled.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20-r\x20|\x20--raw-logs\x20\x20\x20\x20\x20\x20\x20Only\x20output\x20the\x20meteor\x20logs\x20without\x20the\x20timestamp.\x0a\x0a\x20\x20-p\x20|\x20--port\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20port\x20to\x20run\x20the\x20meteor\x20server\x20on.\x20Defaults\x20to\x20port\x203000.\x0a\x0a\x20\x20-i\x20|\x20--inspect\x20\x20\x20\x20\x20\x20\x20\x20Tells\x20the\x20meteor\x20server\x20to\x20run\x20nodejs\x20in\x20debug\x20mode.\x20Starts\x20a\x20debug\x20session\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20which\x20can\x20be\x20accessed\x20by\x20Chrome\x20Dev\x20Tools\x20or\x20another\x20debug\x20terminal.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20-m\x20|\x20--mobile-server\x20\x20Specify\x20a\x20different\x20backend\x20server\x20to\x20connect\x20to.\x20\x20Mainly\x20used\x20when\x20running\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20-x\x20|\x20--exclude-archs\x20\x20Don\x27t\x20create\x20bundles\x20for\x20certain\x20web\x20architectures\x20(comma\x20separated,\x20for\x20example:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20--production\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Runs\x20the\x20application\x20in\x20production\x20mode;\x20minifies\x20and\x20bundles\x20all\x20files\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20removes\x20development\x20packages.','allowIncompatibleUpdate','mobile-server','12265659GKXznt','exclude-archs','21275122ayirLg','filter','slice','mobileServer','18OOcBvn','findSubCommand','docker','.meteor','fsi','invokeMeteorCommand','notice','isFile','Cannot\x20find\x20Node\x20Environment\x20File:\x20','--settings','isDirectory','getConfigPath','verbose','--production','apply','868359MjsZVM','autoupdate','Run\x20your\x20Meteor\x20application','8809970EfXwHE'];a83c=function(){return y;};return a83c();}function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0x193;let f=c[d];return f;},a83d(a,b);}export default Run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a84d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
function a84c(){var i=['10098063KdrPgf','242mhUYtU','10023536jgQjpW','search','20154ohHrnB','apply','toString','803dsjgzG','1439935pKHEyL','17193XJBoDJ','30652ziEUgu','1405ERmRhP','(((.+)+)+)+$','3220kFLXDV','372yDFBql'];a84c=function(){return i;};return a84c();}(function(a,b){var f=a84d,c=a();while(!![]){try{var d=-parseInt(f(0x133))/0x1*(-parseInt(f(0x12d))/0x2)+-parseInt(f(0x12b))/0x3*(-parseInt(f(0x127))/0x4)+parseInt(f(0x128))/0x5*(-parseInt(f(0x130))/0x6)+parseInt(f(0x134))/0x7+-parseInt(f(0x12e))/0x8+parseInt(f(0x12c))/0x9+parseInt(f(0x12a))/0xa*(parseInt(f(0x135))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0xa6650));function a84d(a,b){var c=a84c();return a84d=function(d,e){d=d-0x127;var f=c[d];return f;},a84d(a,b);}var a84b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a84d;if(c){var e=c[g(0x131)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){var h=a84d;return a84a[h(0x132)]()[h(0x12f)](h(0x129))[h(0x132)]()['constructor'](a84a)[h(0x12f)](h(0x129));});a84a();import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a85j=a85d;(function(a,b){const h=a85d,c=a();while(!![]){try{const d=parseInt(h(
|
|
1
|
+
function a85c(){const l=['toString','constructor','search','161SQpHob','Set\x20allowInsecure:\x20','Could\x20not\x20find\x20directory','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','boolean','Set\x20color\x20pallet\x20to:\x20','openai','42vgFoZW','Set\x20CA\x20Cert\x20Path:\x20','disallowInsecure','9594OCceFR','One\x20or\x20the\x20other\x20buddy','setGlobalConfig','\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:gc\x20--insecure\x20<path>','2856530IHFbcT','global-config','Set\x20global\x20Maka-CLI\x20settings','maka\x20set:global-config\x20<args>','fsi','942993crtrCw','isDirectory','(((.+)+)+)+$','5QmRfmu','92646eoBohi','pallet','126668irHEhs','cacert','maka\x20set:gc\x20--workspace\x20<path>','1056416mdDBot','workspace','exit','isFile','resolve','success','error','13302oQzcwb','allowInsecure','help'];a85c=function(){return l;};return a85c();}const a85j=a85d;(function(a,b){const h=a85d,c=a();while(!![]){try{const d=parseInt(h(0xeb))/0x1+-parseInt(h(0xf7))/0x2*(parseInt(h(0x104))/0x3)+-parseInt(h(0xed))/0x4*(-parseInt(h(0xea))/0x5)+parseInt(h(0x107))/0x6*(parseInt(h(0xfd))/0x7)+-parseInt(h(0xf0))/0x8+-parseInt(h(0xe7))/0x9+parseInt(h(0xe2))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0x1c840));const a85b=(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;};}()),a85a=a85b(this,function(){const i=a85d;return a85a[i(0xfa)]()[i(0xfc)]('(((.+)+)+)+$')[i(0xfa)]()[i(0xfb)](a85a)['search'](i(0xe9));});a85a();import a85e from'path';import a85f from'./set.command.js';import{Command}from'../../command.js';function a85d(a,b){const c=a85c();return a85d=function(d,e){d=d-0xe2;let f=c[d];return f;},a85d(a,b);}import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a85j(0xe3),'usage':a85j(0xe5),'aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[{'name':a85j(0xee),'boolFlag':![]},{'name':a85j(0xf8),'boolFlag':!![]},{'name':a85j(0x106),'boolFlag':!![]},{'name':a85j(0xf1),'boolFlag':![]},{'name':a85j(0x103),'boolFlag':![]},{'name':a85j(0xf9),'boolFlag':!![]},{'name':'pallet','values':['light','dark']}],'shortDesc':a85j(0xe4),'description':a85j(0x10a),'examples':['maka\x20set:global-config\x20--cacert\x20<path>',a85j(0x10b),a85j(0xef)]},async function(a,b){const k=a85j;try{if(b[k(0xee)]){if(this['fsi'][k(0xf3)](b[k(0xee)]))await this[k(0xe6)][k(0x109)]({'cert':b[k(0xee)]}),Log['success'](k(0x105)+b['cacert']);else{const c=typeof b[k(0xee)]===k(0x101)?'Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.':k(0x100)+b['cacert'];throw Log[k(0xf6)](c);}}if(b[k(0xf1)]){const d=this['fsi'][k(0xe8)](b['workspace']);if(d)await this[k(0xe6)]['setGlobalConfig']({'workspace':a85e[k(0xf4)](b['workspace'])}),Log[k(0xf5)]('Set\x20workspace:\x20'+a85e['resolve'](b['workspace']));else throw Log['error'](k(0xff));}b[k(0x103)]&&(await this[k(0xe6)][k(0x109)]({'openai':b[k(0x103)]}),Log[k(0xf5)]('Set\x20OpenAI\x20Key:\x20'+b[k(0x103)]));b['pallet']&&(await this[k(0xe6)]['setGlobalConfig']({'pallet':b[k(0xec)]}),Log[k(0xf5)](k(0x102)+b[k(0xec)]));if(b['allowInsecure']){if(b['allowInsecure']&&b[k(0x106)])throw Log['error'](k(0x108));let f=b[k(0xf8)];b[k(0x106)]&&(f=![]),await this[k(0xe6)]['setGlobalConfig']({'allowInsecure':f}),Log['success'](k(0xfe)+f);}process[k(0xf2)](0x0);}catch(g){console[k(0xf6)](g),process[k(0xf2)](0x0);}},a85f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a86d(a,b){var c=a86c();return a86d=function(d,e){d=d-0x132;var f=c[d];return f;},a86d(a,b);}var a86i=a86d;(function(a,b){var f=a86d,c=a();while(!![]){try{var d=-parseInt(f(0x13a))/0x1*(parseInt(f(0x13b))/0x2)+-parseInt(f(0x13d))/0x3+-parseInt(f(0x142))/0x4*(parseInt(f(0x133))/0x5)+parseInt(f(0x136))/0x6*(parseInt(f(0x145))/0x7)+parseInt(f(0x147))/0x8+-parseInt(f(0x139))/0x9*(parseInt(f(0x148))/0xa)+parseInt(f(0x135))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0x34ebb));var a86b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a86d;if(c){var e=c[g(0x13f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){var h=a86d;return a86a['toString']()[h(0x144)](h(0x141))[h(0x132)]()['constructor'](a86a)[h(0x144)](h(0x141));});a86a();import a86e from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a86i(0x13e)]({'name':a86i(0x140),'usage':'maka\x20set:local-config\x20<opts>','examples':[a86i(0x134),a86i(0x137)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':a86i(0x13c),'validOpts':[],'description':a86i(0x146)},async function(){var j=a86i;Log[j(0x138)](j(0x143));},a86e);function a86c(){var k=['local-config','(((.+)+)+)+$','112Fvbugf','Sorry,\x20not\x20implemented\x20yet','search','14SWPTcn','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','2410176HwPlKM','890XiAajj','toString','41865fVHSGi','maka\x20set:lc\x20<opts>','7713739goWATe','603426aLTjEW','maka\x20set:local-config\x20<opts>','notice','31356LBwihe','2BtjxQZ','117472sSzeFs','Set\x20local\x20maka\x20app\x20settings','974724TjeZKm','create','apply'];a86c=function(){return k;};return a86c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a87i=a87d;
|
|
1
|
+
const a87i=a87d;(function(a,b){const f=a87d,c=a();while(!![]){try{const d=parseInt(f(0x78))/0x1+parseInt(f(0x80))/0x2+parseInt(f(0x7b))/0x3+-parseInt(f(0x84))/0x4+-parseInt(f(0x7a))/0x5+parseInt(f(0x87))/0x6*(-parseInt(f(0x7e))/0x7)+parseInt(f(0x7c))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0xcfd3b));function a87c(){const k=['4231465kirKze','constructor','2577384ZmnbBK','maka\x20set:<sub-command>\x20<opts>','toString','runSubCommand','5701308fiINcT','search','findSubCommand','6IAhiSn','(((.+)+)+)+$','704472qeUGoR','create','2864020uQYIiB','43233mXMylZ','11570480inpCzA','apply'];a87c=function(){return k;};return a87c();}const a87b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a87d;if(c){const e=c[g(0x7d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){const h=a87d;return a87a[h(0x82)]()[h(0x85)](h(0x88))[h(0x82)]()[h(0x7f)](a87a)[h(0x85)](h(0x88));});function a87d(a,b){const c=a87c();return a87d=function(d,e){d=d-0x78;let f=c[d];return f;},a87d(a,b);}a87a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command[a87i(0x79)]({'name':'set','usage':a87i(0x81),'minArgLength':0x1,'shortDesc':'Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','validOpts':[]},async function(a,b){const j=a87i,c=a[0x0];if(b['help'])throw new UsageError();const d=this[j(0x86)](c);d&&this[j(0x83)](c,a,b);});export default SetCommand;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a88l=a88d;(function(a,b){const j=a88d,c=a();while(!![]){try{const d=parseInt(j(0x1d7))/0x1*(-parseInt(j(0x1e2))/0x2)+parseInt(j(0x1dc))/0x3+parseInt(j(0x1e9))/0x4+-parseInt(j(0x1e4))/0x5*(-parseInt(j(0x1e3))/0x6)+-parseInt(j(0x1da))/0x7+-parseInt(j(0x1f0))/0x8*(-parseInt(j(0x1df))/0x9)+-parseInt(j(0x1ef))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0xa0a44));const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const k=a88d;return a88a[k(0x1f1)]()['search'](k(0x1e0))['toString']()[k(0x1e5)](a88a)['search']('(((.+)+)+)+$');});a88a();import a88e from'fs';import a88f from'path';import{Command}from'../command.js';function a88c(){const n=['join','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','sshSync','4287104HsUYDv','parse','create','maka\x20ssh\x20--env\x20dev','exit','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','12643990QyTbHB','21368zngWUP','toString','maka\x20ssh\x20--env\x20prod','ssh','env','ssh.json','readFileSync','verbose','46975ZmaUut','maka\x20ssh\x20<command>','length','4679521NRTWUd','assign','2871378gIGUHJ','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','1143sumHhk','(((.+)+)+)+$','maka\x20ssh\x20--env\x20staging','16vAjJZh','6tuUFGp','2992855esqOpZ','constructor'];a88c=function(){return n;};return a88c();}import{SSH}from'../tools/ssh/ssh.class.js';function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x1d5;let f=c[d];return f;},a88d(a,b);}Command[a88l(0x1eb)]({'name':a88l(0x1f3),'usage':a88l(0x1d8),'mustBeInMakaProject':!![],'requiredOpts':[a88l(0x1f4)],'validOpts':[a88l(0x1f4),a88l(0x1d6)],'shortDesc':a88l(0x1dd),'examples':[a88l(0x1ec),a88l(0x1e1),a88l(0x1f2),a88l(0x1de),a88l(0x1ee),a88l(0x1e7)]},async function(a,b){const m=a88l;try{const c=this['fsi']['getConfigPath'](b['env']);let d='';a[m(0x1d9)]>0x0&&(d=a[0x0]);const f=a88f[m(0x1e6)](c,m(0x1f5)),g=a88e[m(0x1d5)](f)[m(0x1f1)](),h=JSON[m(0x1ea)](g);Object[m(0x1db)](h,{'env':c}),SSH[m(0x1e8)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b[m(0x1d6)]});}catch(i){console['error'](i),process[m(0x1ed)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a89y=a89d;(function(a,b){const v=a89d,c=a();while(!![]){try{const d
|
|
1
|
+
const a89y=a89d;(function(a,b){const v=a89d,c=a();while(!![]){try{const d=parseInt(v(0x126))/0x1+parseInt(v(0x159))/0x2*(parseInt(v(0x130))/0x3)+-parseInt(v(0x15a))/0x4*(parseInt(v(0x15e))/0x5)+-parseInt(v(0x15d))/0x6*(-parseInt(v(0x135))/0x7)+parseInt(v(0x142))/0x8*(parseInt(v(0x15b))/0x9)+parseInt(v(0x125))/0xa+-parseInt(v(0x14e))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0x75f6f));const a89b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a89d;if(c){const e=c[w(0x14c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){const x=a89d;return a89a[x(0x133)]()[x(0x12b)](x(0x156))[x(0x133)]()['constructor'](a89a)[x(0x12b)](x(0x156));});a89a();import a89e from'fs';import a89f from'path';import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';function a89d(a,b){const c=a89c();return a89d=function(d,e){d=d-0x124;let f=c[d];return f;},a89d(a,b);}import{SSL}from'../tools/ssl/ssl.class.js';function a89c(){const A=['The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','109665TLMYWY','\x20--email\x20','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','toString','getConfigPath','6090FmJJPe','.csr','Create\x20and\x20manage\x20your\x20SSL\x20operations.','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','env','email','ask','letsencrypt.json','appName','emailUpdate','withSpinner','readFileSync','maka\x20ssl\x20[command]','8dgUdNj','Email\x20to\x20use\x20for\x20auto-updates:\x20','notice','ssl','.key','ssh','existsSync','genCSR','Checking\x20remote\x20host\x20availability','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','apply','parse','14879623GuBCwZ','domains','error','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','uname\x20-a','generate-csr','/ssh.json','(((.+)+)+)+$','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','[?]\x20Domains\x20to\x20register:\x20','22zIlTeK','2468RWDuMB','3360537edGdeO','exit','4278fBRONd','4485uBJSSc','New\x20CSR\x20written\x20to\x20','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','genSSC','mkKeysDir','Remote\x20host\x20connection\x20successful','success','6848280YehVRF','308689GsEugM','.crt','maka\x20ssl\x20--env\x20dev\x20generate-csr','start','join','search','writeFileSync','generate-ssc','fsi'];a89c=function(){return A;};return a89c();}Command['create']({'name':a89y(0x145),'usage':a89y(0x141),'validOpts':['domains',a89y(0x13a)],'requiredOpts':['env'],'shortDesc':a89y(0x137),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a89y(0x128),a89y(0x138),a89y(0x132)]},async function(a,b){const z=a89y,c=this[z(0x12e)]['getProjectConfig'](),d=this['fsi'][z(0x134)](b[z(0x139)]),f=this[z(0x12e)][z(0x162)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0x154))SSL[z(0x149)]({'keyName':c[z(0x13d)]+z(0x146),'csrName':c['appName']+z(0x136),'cwd':f});else{if(g===z(0x12d)){if(!a89e[z(0x148)](a89f['join'](f,c[z(0x13d)]+'.key')))throw z(0x12f)+a89f[z(0x12a)](f,c['appName']+z(0x146));if(!a89e[z(0x148)](a89f[z(0x12a)](f,c['appName']+z(0x136))))throw z(0x14b)+a89f[z(0x12a)](f,c['appName']+'.csr');SSL[z(0x161)]({'keyName':c[z(0x13d)]+z(0x146),'crtName':c[z(0x13d)]+z(0x127),'cwd':f}),Log['notice'](z(0x15f)+f);}else{if(g==='letsencrypt'){let h=b['domains'],i=b[z(0x13a)];try{const p=a89e[z(0x140)](a89f['join'](d,z(0x13c)))['toString'](),q=JSON[z(0x14d)](p);h=b['domains']?b[z(0x14f)]:q['domainNames'],i=b[z(0x13a)]?b[z(0x13a)]:q[z(0x13e)],(!b[z(0x13a)]||!b[z(0x14f)])&&Log[z(0x144)]('Using\x20saved\x20letsencrypt\x20config');}catch(r){}const j=JSON[z(0x14d)](a89e[z(0x140)](d+z(0x155))[z(0x133)]());Object['assign'](j,{'env':d}),Log[z(0x144)](z(0x14a));try{const s=SSH['ping'](z(0x153),j);if(!s)throw z(0x151);if(s)Log['success'](z(0x163));}catch(t){Log[z(0x150)](t);return;}const k=Log[z(0x13f)]();k[z(0x129)]('Verifying\x20Letsencrypt\x20configuration'),SSH[z(0x147)](z(0x160),{...j}),SSH[z(0x147)]('sudo\x20snap\x20install\x20--classic\x20certbot',{...j}),SSH[z(0x147)](z(0x152),{...j}),k[z(0x124)]();const l=h?h:await Actions[z(0x13b)](z(0x158)),m=i?i:await Actions[z(0x13b)](z(0x143));SSH[z(0x147)](z(0x157)+l+z(0x131)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON['stringify'](n,null,0x2);a89e[z(0x12c)](a89f[z(0x12a)](d,z(0x13c)),o);}else throw'Please\x20provide\x20a\x20command.';}}}catch(u){console[z(0x150)](u),process[z(0x15c)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a90q=a90d;function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0x1ce;let f=c[d];return f;},a90d(a,b);}(function(a,b){const m=a90d,c=a();while(!![]){try{const d=parseInt(m(0x1e6))/0x1+parseInt(m(0x1ec))/0x2+parseInt(m(0x209))/0x3*(parseInt(m(0x1d1))/0x4)+parseInt(m(0x1fd))/0x5+parseInt(m(0x1de))/0x6+-parseInt(m(0x205))/0x7+-parseInt(m(0x1f2))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0xf1437));const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a90d;if(c){const e=c[n(0x1d3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const o=a90d;return a90a[o(0x1e9)]()['search'](o(0x202))['toString']()[o(0x204)](a90a)['search']('(((.+)+)+)+$');});a90a();import a90e from'fs';import a90f from'path';function a90c(){const t=['none','constructor','11501112hkXLUZ','env','process.env','notice','498237zPPBms','create','slice','testAppPath','--driver','rawLogs','sanjo:jasmine','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','12CDjAjH','meteortesting:mocha','apply','splice','findProjectDirectory','Node\x20Env\x20Config:\x20','fsi','argv','unit','test','.maka','development','driver-package','3443856OhIFMy','once','driver','exit','readFileSync','Cannot\x20find\x20Node\x20Environment\x20File:\x20','port','--env','1378267MnaBXR','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','openSync','toString','utf8','mocha','1371926gfadHP','invokeMeteorCommand','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','concat','parse','getConfigPath','14920704dCMnVE','inspect','--settings','filter','warn','settings.json','isFile','config.json','maka\x20test\x20<opts>','config','--full-app','6799380IXYuKT','Meteor\x20Settings:\x20','packages','engines','join','(((.+)+)+)+$'];a90c=function(){return t;};return a90c();}import a90g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const p=a90d;a90e[p(0x1e8)](a,'r'),a90g[p(0x1fb)]({'path':a});};Command[a90q(0x20a)]({'name':'test','mustBeInMakaProject':!![],'validOpts':[a90q(0x1df),a90q(0x1ff),a90q(0x1e0),'driverPackage',a90q(0x1d9),'env',a90q(0x1ce),a90q(0x1e4),a90q(0x1f3),a90q(0x20c)],'usage':a90q(0x1fa),'shortDesc':a90q(0x1d0),'examples':[]},function(a,b){const r=a90q;try{let c=this['fsi'][r(0x1f1)](r(0x1dc));b['env']&&(c=this['fsi'][r(0x1f1)](b[r(0x206)]));(!b[r(0x1d9)]||!!b['once'])&&(a=a[r(0x1ef)]([r(0x1fc)]));b[r(0x1d9)]&&delete b[r(0x1d9)];let d=b['driver-package']||b['driver']||r(0x203);if(d===r(0x203)){const j=JSON[r(0x1f0)](a90e[r(0x1e2)](a90f['join'](this[r(0x1d7)][r(0x1d5)](),r(0x1db),r(0x1f9)),r(0x1ea)));if(j[r(0x200)]['test']==='jasmine')d=r(0x1cf);else j[r(0x200)][r(0x1da)]===r(0x1eb)&&(d=r(0x1d2));}if(d===r(0x203))throw r(0x1ee);(!b[r(0x1dd)]||!b[r(0x1e0)])&&(a=a[r(0x1ef)](['--driver-package',d]));const f=a90f[r(0x201)](c,r(0x1f7));this['fsi'][r(0x1f8)](f)?(Log[r(0x208)](r(0x1fe)+f),a=a[r(0x1ef)]([r(0x1f4),f])):Log['warn'](r(0x1e7)+f);const g=a90f[r(0x201)](c,r(0x207));this[r(0x1d7)][r(0x1f8)](g)?(Log[r(0x208)](r(0x1d6)+g),syncSource(g)):Log[r(0x1f6)](r(0x1e3)+g);const h=process[r(0x1d8)][r(0x20b)](0x2)[r(0x1f5)](k=>k!==r(0x1e5))[r(0x1f5)](k=>k!==r(0x1da))['filter'](k=>k!==a[0x0]);h['forEach']((k,l)=>{const s=r;(k==='--env'||k===s(0x20d))&&h[s(0x1d4)](l,0x2),k==='--packages'&&h[s(0x1d4)](l,0x1);});const i=b[r(0x1ff)]?'test-packages':r(0x1da);this[r(0x1d7)][r(0x1ed)](i,a[r(0x1ef)](h));}catch(k){console['error'](k),process[r(0x1e1)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a91n=a91d;
|
|
1
|
+
const a91n=a91d;function a91c(){const p=['Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','search','node\x20-v','201061YuVtlO','N/A','37221UwTsDM','118oxIIBz','meteor','toString','5421332VXASRl','\x0a\x20\x20When\x20using\x20the\x20--verbose\x20flag,\x20maka\x20will\x20also\x20check\x20the\x20version\x20of\x20the\x20system\x27s\x20meteor\x20and\x20node\x20versions\x0a\x20\x20along\x20with\x20the\x20project\x27s\x20meteor\x20and\x20node\x20versions.\x20If\x20the\x20system\x27s\x20meteor\x20version\x20is\x20greater\x20than\x20the\x0a\x20\x20project\x27s\x20meteor\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20meteor\x20version.\x20If\x20the\x20system\x27s\x20node\x0a\x20\x20version\x20is\x20greater\x20than\x20the\x20project\x27s\x20node\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20node\x20version.\x0a\x20\x20','\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','bright','59364ymSYIh','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','error','meteor.bat','(((.+)+)+)+$','Project\x27s\x20Meteor\x20Version\x20','replace','Maka\x20','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','4884oIyyhj','notice','Project\x27s\x20Meteor\x20Node\x20Version\x20','getGlobalMeteorVersion','apply','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','System\x27s\x20Node\x20Version\x20','warn','getProjectMeteorVersion','9Nlyzpl','104815nWriTh','4.6.13','----------------------Project----------------------------','verbose','96RQdjdE','1031488quniQX','isMakaProject','getProjectsMeteorNodeVersion','8WjJrPC','compareMakaToLatest','System\x27s\x20Meteor\x20Version\x20','win32','create','platform','\x20node\x20-v','fsi','3478670iQcapu','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','version'];a91c=function(){return p;};return a91c();}(function(a,b){const k=a91d,c=a();while(!![]){try{const d=parseInt(k(0x131))/0x1+-parseInt(k(0x134))/0x2*(parseInt(k(0x133))/0x3)+parseInt(k(0x120))/0x4+parseInt(k(0x11b))/0x5*(-parseInt(k(0x11f))/0x6)+parseInt(k(0x137))/0x7*(-parseInt(k(0x123))/0x8)+parseInt(k(0x11a))/0x9*(-parseInt(k(0x12b))/0xa)+-parseInt(k(0x144))/0xb*(-parseInt(k(0x13b))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0x71ae5));const a91b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a91d;if(c){const e=c[l(0x148)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){const m=a91d;return a91a[m(0x136)]()[m(0x12f)](m(0x13f))['toString']()['constructor'](a91a)['search'](m(0x13f));});a91a();import{execSync}from'child_process';import a91e from'semver';import{Command}from'../command.js';function a91d(a,b){const c=a91c();return a91d=function(d,e){d=d-0x11a;let f=c[d];return f;},a91d(a,b);}import{Log}from'../tools/log/log.class.js';const pjson={'version':a91n(0x11c)};Command[a91n(0x127)]({'name':a91n(0x12d),'aliases':['v'],'usage':'maka\x20version','maxArgLength':0x1,'validOpts':[a91n(0x11e)],'shortDesc':a91n(0x12e),'examples':['maka\x20v','maka\x20version','maka\x20version\x20--verbose'],'description':a91n(0x138)},async function(a,b){const o=a91n;try{const c=process[o(0x128)]===o(0x126)?o(0x13e):o(0x135);Log['majestic'](o(0x142)+pjson['version']),await this['fsi'][o(0x124)]();if(b['verbose']){await this[o(0x12a)][o(0x124)](),Log['bright']('----------------------System----------------------------');const d=this[o(0x12a)][o(0x147)]();Log[o(0x13a)]((o(0x125)+d)[o(0x141)]('\x0a',''));const f=execSync(c+o(0x129))[o(0x136)]()['replace'](/\r?\n|\r/,'')[o(0x141)]('v','');Log['bright'](o(0x143)+f);const g=execSync(o(0x130))[o(0x136)]()['replace'](/\r?\n|\r/,'')['replace']('v','');a91e['gt'](f,g)?(Log[o(0x14b)]('System\x27s\x20Node\x20Version\x20'+g),Log[o(0x14b)](o(0x149)+g+')\x20to\x20at\x20least\x20meteor\x27s\x20('+f+')')):Log[o(0x13a)](o(0x14a)+g);if(this[o(0x12a)][o(0x121)]()){Log[o(0x13a)](o(0x11d));const h=this['fsi'][o(0x14c)]();a91e['gt'](d,h)?(Log[o(0x14b)](o(0x140)+h[o(0x141)]('\x0a','')),Log[o(0x14b)](o(0x13c)+d+'\x22')):Log[o(0x145)]((o(0x140)+h)[o(0x141)]('\x0a',''));const i=await this[o(0x12a)][o(0x122)]();i===o(0x132)?(Log[o(0x14b)](o(0x146)+i),Log[o(0x14b)](o(0x12c))):Log['bright']('Project\x27s\x20Meteor\x20Node\x20Version\x20'+i),Log['bright'](o(0x139));}}}catch(j){console[o(0x13d)](j),process['exit'](0x0);}});
|
package/bundle/obf/src/error.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a92d,c=a();while(!![]){try{var d=parseInt(f(0x1e1))/0x1+parseInt(f(0x1df))/0x2*(-parseInt(f(0x1e6))/0x3)+-parseInt(f(0x1e2))/0x4*(parseInt(f(0x1ea))/0x5)+-parseInt(f(0x1e8))/0x6*(-parseInt(f(0x1da))/0x7)+-parseInt(f(0x1db))/0x8*(parseInt(f(0x1dc))/0x9)+-parseInt(f(0x1e0))/0xa+parseInt(f(0x1e5))/0xb*(parseInt(f(0x1e7))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0x77884));var a92b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a92d;if(c){var e=c[g(0x1e3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){var h=a92d;return a92a['toString']()[h(0x1e4)](h(0x1de))[h(0x1e9)]()[h(0x1dd)](a92a)[h(0x1e4)]('(((.+)+)+)+$');});a92a();function a92c(){var i=['constructor','(((.+)+)+)+$','58726ctrACw','4571080IIyoPz','490183cbyuDR','164fDElHT','apply','search','872322NBJljP','57apkKfH','276TZsUXN','3449580RSohld','toString','55355KXlTcN','7DLPpKB','7444312tBKKmT','9RVqsGQ'];a92c=function(){return i;};return a92c();}export class UsageError{}function a92d(a,b){var c=a92c();return a92d=function(d,e){d=d-0x1da;var f=c[d];return f;},a92d(a,b);}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
|
package/bundle/obf/src/exec.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
var a93i=a93d;(function(a,b){var f=a93d,c=a();while(!![]){try{var d
|
|
2
|
+
var a93i=a93d;(function(a,b){var f=a93d,c=a();while(!![]){try{var d=parseInt(f(0x1d8))/0x1+-parseInt(f(0x1d1))/0x2+parseInt(f(0x1db))/0x3*(-parseInt(f(0x1d5))/0x4)+-parseInt(f(0x1cb))/0x5*(-parseInt(f(0x1d3))/0x6)+-parseInt(f(0x1c9))/0x7*(-parseInt(f(0x1cd))/0x8)+-parseInt(f(0x1cc))/0x9*(parseInt(f(0x1da))/0xa)+parseInt(f(0x1ca))/0xb*(-parseInt(f(0x1cf))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0x1f256));function a93c(){var j=['apply','139430iEJOKB','108396lwAjZV','161JOTPED','99iBVCQU','460535rpNUOl','90YMybBp','70648kPhLvo','NODE_OPTIONS','12816NcmZtG','search','261634ByoVMp','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','12lfXEFe','(((.+)+)+)+$','8ZJPVOr','toString','constructor','92370MBOQXF'];a93c=function(){return j;};return a93c();}var a93b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a93d;if(c){var e=c[g(0x1d9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){var h=a93d;return a93a['toString']()[h(0x1d0)](h(0x1d4))[h(0x1d6)]()[h(0x1d7)](a93a)[h(0x1d0)]('(((.+)+)+)+$');});a93a(),process['env'][a93i(0x1ce)]=a93i(0x1d2);function a93d(a,b){var c=a93c();return a93d=function(d,e){d=d-0x1c9;var f=c[d];return f;},a93d(a,b);}import'./maka.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a94x=a94d;(function(a,b){const t=a94d,c=a();while(!![]){try{const d
|
|
1
|
+
const a94x=a94d;(function(a,b){const t=a94d,c=a();while(!![]){try{const d=-parseInt(t(0x15c))/0x1+parseInt(t(0x198))/0x2+-parseInt(t(0x185))/0x3*(-parseInt(t(0x189))/0x4)+parseInt(t(0x188))/0x5*(-parseInt(t(0x18c))/0x6)+parseInt(t(0x19f))/0x7*(parseInt(t(0x195))/0x8)+parseInt(t(0x19b))/0x9+-parseInt(t(0x182))/0xa*(parseInt(t(0x16c))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0xde267));const a94b=(function(){let a=!![];return function(b,c){const d=a?function(){const u=a94d;if(c){const e=c[u(0x154)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){const v=a94d;return a94a[v(0x186)]()[v(0x18d)](v(0x14e))[v(0x186)]()['constructor'](a94a)[v(0x18d)](v(0x14e));});function a94c(){const J=['Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','validateMakaSubscription','roles','number','Both','name','proFlags','shortDesc','singleLicense','addGenerator','notice','help','(((.+)+)+)+$','mustHaveMeteorInstalled','mustBeInMakaProject','function','Generating\x20a\x20new\x20','maxArgLength','apply','where','maxOptsLength','join','Location','resourceName','root','error','1800446zAtWIU','DARK','light','--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27','addGenerator\x20requires\x20a\x20Generator\x20instance','colLocAnswer','pop','sep','checkWhere','validateParams','find','appPathPrefix','Generator\x20requires\x20a\x20handler\x20function','parent','Description','keys','5465339uyvwae','Generator.create\x20requires\x20some\x20options!','dir','domainLicense','There\x20is\x20no\x20Meteor\x20application\x20here','push','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','lib','info','fsi','client','getGlobalConfig','aliases','includes','noResource','chdir','Name','validateMeteorInstall','server','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator','findGenerator','_generators','10WOtLlB','cwd','options','41841YDAJhi','toString','validateMakaProject','5877980Rriwej','388AHqvLc','No\x20resource\x20name\x20specified','Generators:','6BJFYZQ','search','pallet','Generator.create\x20requires\x20a\x20handler\x20function!','To\x20use\x20these\x20pro\x20flags,\x20\x22','_handler','proGenerators','Too\x20few\x20arguments','forEach','7811896IGKyiD','assign','match','3414016caSLDU','exit','...','3118176tYrPHC','minOptsLength','tableList','minArgLength','7oONXtl','Generator\x20requires\x20a\x20name','Too\x20many\x20arguments','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','Client','setColorMode','bright','length','both','list'];a94c=function(){return J;};return a94c();}a94a();import a94e from'path';function a94d(a,b){const c=a94c();return a94d=function(d,e){d=d-0x141;let f=c[d];return f;},a94d(a,b);}import a94f from'cli-table';import{paramCase}from'change-case';import a94g from'./generators/maka.gen.js';import{Log,ColorMode}from'./tools/log/log.class.js';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 w=a94d,c=process[w(0x183)]();let d=null;try{process[w(0x17b)](a),d=b();}finally{process[w(0x17b)](c);}return d;}export class Generator extends Tool{[a94x(0x184)];[a94x(0x181)];constructor(a,b){const y=a94x;super();if(!a)throw new Error(y(0x1a2));if(!a[y(0x147)])throw new Error(y(0x1a0));if(typeof b!=='function')throw new Error(y(0x168));this[y(0x181)]=[],this[y(0x184)]=Object[y(0x196)]({},a),this[y(0x147)]=this['options'][y(0x147)],this[y(0x191)]=b['bind'](this);}static['create'](a,b,c){const z=a94x;if(!a)throw new Error(z(0x16d));if(typeof b!==z(0x151))throw new Error(z(0x18f));const d=new Generator(a,b);return c=c||a94g,Object['assign'](d,{'parent':c?.['options']?.[z(0x147)]}),c[z(0x14b)](d),d;}[a94x(0x14b)](a){const A=a94x;if(!(a instanceof Generator))throw new Error(A(0x160));this[A(0x181)][A(0x171)](a);}[a94x(0x180)](a){const B=a94x,b=this['_generators'][B(0x166)](c=>c[B(0x197)](a));return b;}async[a94x(0x143)](a,b){const C=a94x,c=this[C(0x180)](a[0x0]);if(c){const d=c?.[C(0x147)]||a[0x0],e=c?.[C(0x169)]||'',f=Object[C(0x16b)](b),g=await this[C(0x175)]['getPro']();!g&&(Log[C(0x15b)]('License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.'),process[C(0x199)](0x1));const h=!g?.[C(0x144)][C(0x179)](C(0x14a))&&!g?.['roles'][C(0x179)](C(0x16f)),i=g?.[C(0x192)][C(0x179)](d)||g?.[C(0x192)]['includes'](e);if(i&&h)throw'To\x20use\x20this\x20generator,\x20\x22'+d+C(0x172);if(f[C(0x1a6)]>0x0){const j=g?.[C(0x148)]['filter'](k=>f[C(0x179)](k));if(j&&j[C(0x1a6)]>0x0&&h)throw C(0x190)+j?.[C(0x157)](',\x20')+'\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27';}}}async['invoke'](a,b){const D=a94x,{usage:usage='',description:description='',examples:examples=[],shortDesc:c,requiredOpts:requiredOpts=[],validOpts:d}=this[D(0x184)],f=await this[D(0x175)][D(0x177)](),g=f[D(0x18e)]===D(0x15e)?ColorMode['LIGHT']:ColorMode[D(0x15d)];Log[D(0x1a4)](g);try{await this['validateMakaSubscription'](a,b);}catch(j){Log[D(0x15b)](j),process[D(0x199)](0x1);}const h=a['slice']();b[D(0x159)]=h[0x0],Log[D(0x174)](D(0x152)+this[D(0x147)]+D(0x19a));const i=b[D(0x14d)]||b['h'];try{if((a[0x0]===_prevGen||a[D(0x1a6)]===0x0)&&i)throw new UsageError();if(this[D(0x184)][D(0x150)]){const k=this[D(0x187)]();if(!k)throw new MustBeInProjectError();}if(this['options'][D(0x14f)]){const l=this[D(0x17d)]();if(!l)throw new NoMeteorFoundError();}if(typeof this[D(0x184)][D(0x19e)]===D(0x145)){if(a['length']<this['options']['minArgLength']){Log[D(0x15b)](D(0x193));throw new UsageError();}}if(typeof this[D(0x184)][D(0x153)]==='number'){if(a[D(0x1a6)]>this[D(0x184)][D(0x153)]){Log[D(0x15b)](D(0x1a1));throw new UsageError();}}if(typeof this[D(0x184)][D(0x19c)]==='number'){if(Object['keys'](b)['length']<this[D(0x184)][D(0x19c)]){Log[D(0x15b)]('Too\x20few\x20options');throw new UsageError();}}if(typeof this[D(0x184)][D(0x156)]===D(0x145)){if(Object[D(0x16b)](b)[D(0x1a6)]>=this[D(0x184)][D(0x156)]){Log[D(0x15b)]('Too\x20many\x20options');throw new UsageError();}}await this[D(0x165)](a,b,this['options']);if(!b[D(0x159)]&&!this[D(0x184)][D(0x17a)]){Log[D(0x15b)](D(0x18a));throw new UsageError();}_prevGen=a[0x0];}catch(m){Log['usage'](description,examples,usage,c,requiredOpts,d);if(m instanceof UsageError)this[D(0x181)][D(0x1a6)]>0x0&&i&&(Log[D(0x14c)](D(0x18b)),this[D(0x19d)](this[D(0x181)]));else{if(m instanceof MustBeInProjectError)Log['error'](D(0x17f));else{if(m instanceof NoMeteorFoundError)Log[D(0x15b)](D(0x142)),Log[D(0x14c)]('Please\x20run\x20\x22maka\x20install\x20meteor\x22');else{if(m instanceof NoMeteorAppFoundError)Log[D(0x15b)](D(0x170));else throw m;}}}process[D(0x199)](0x1);}return new Promise(n=>{const E=D;inside(b[E(0x183)],async()=>{const F=E;try{if(!b[F(0x15a)]&&!this[F(0x175)]['findProjectDirectory']())throw new MustBeInProjectError();const o=b['resourceName']?.['replace'](/\\/g,'/')['split']('/');!b[F(0x16e)]&&(o?.[F(0x1a6)]>0x1?(b[F(0x159)]=o[F(0x162)](),h[0x0]=b[F(0x159)],b[F(0x16e)]=o['map'](p=>{return paramCase(p);})[F(0x157)](a94e[F(0x163)])):b[F(0x16e)]='');if(this[F(0x184)][F(0x164)]){if(!b[F(0x155)]){const q={'type':F(0x141),'name':F(0x161),'message':F(0x158),'choices':[{'name':F(0x1a3),'value':F(0x176)},{'name':'Server','value':F(0x17e)},{'name':F(0x146),'value':'both'}]},{colLocAnswer:r}=await Actions[F(0x184)](q);r?b['where']=r:b[F(0x155)]=F(0x1a7);}const p=[F(0x1a7),F(0x176),F(0x17e)];if(!p['includes'](b[F(0x155)])){Log['error'](F(0x15f));throw new UsageError();}switch(b[F(0x155)]){case F(0x1a7):b[F(0x167)]=F(0x173);break;case F(0x17e):b[F(0x167)]=F(0x17e);break;case F(0x176):b[F(0x167)]=F(0x176);break;default:b[F(0x167)]='';}}n(this[F(0x191)]['call'](this,h,b));}catch(s){console['error'](s);}});});}['listGenerators'](){const G=a94x;this[G(0x19d)](this['_generators']);}[a94x(0x19d)](a){const H=a94x,b=new a94f({});b[H(0x171)]([H(0x17c),'Alias',H(0x16a)]),a['sort']()[H(0x194)](c=>{const I=H;b[I(0x171)]([c[I(0x147)],c[I(0x178)](),c[I(0x149)]()]);}),Log[H(0x1a5)](b[H(0x186)]());}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a95d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a95d,c=a();while(!![]){try{var d=parseInt(f(0xe8))/0x1+parseInt(f(0xdb))/0x2*(parseInt(f(0xe1))/0x3)+parseInt(f(0xe9))/0x4*(parseInt(f(0xe0))/0x5)+parseInt(f(0xda))/0x6*(-parseInt(f(0xe3))/0x7)+parseInt(f(0xde))/0x8+-parseInt(f(0xe2))/0x9+-parseInt(f(0xdf))/0xa*(parseInt(f(0xdd))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a95c,0xd7112));var a95b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a95d;if(c){var e=c[g(0xe7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a95a=a95b(this,function(){var h=a95d;return a95a[h(0xe6)]()[h(0xdc)](h(0xe4))[h(0xe6)]()[h(0xe5)](a95a)[h(0xdc)](h(0xe4));});a95a();function a95d(a,b){var c=a95c();return a95d=function(d,e){d=d-0xda;var f=c[d];return f;},a95d(a,b);}import'./services/_index.js';import'./api.js';import'./collection.js';import'./component.js';import'./config.js';function a95c(){var i=['1922838PUeaXF','314bJzNSy','search','561EOFpnJ','5520328nvOXND','72510fJdgRJ','893545aMFebF','19743kehEAd','11290374NZZmvl','14qfEtlQ','(((.+)+)+)+$','constructor','toString','apply','1244180dHduao','4spvGUN'];a95c=function(){return i;};return a95c();}import'./dbc.js';import'./hook.js';import'./kit.js';import'./layout.js';import'./methods.js';import'./package.js';import'./publish.js';import'./route.js';import'./service.js';import'./page.js';import'./maka.gen.js';import'./dockerfile.js';import'./maka.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a96z=a96d;(function(a,b){const w=a96d,c=a();while(!![]){try{const d=-parseInt(w(0x1c5))/0x1+-parseInt(w(0x1ae))/0x2+parseInt(w(0x1a1))/0x3+parseInt(w(0x193))/0x4*(parseInt(w(0x183))/0x5)+-parseInt(w(0x1a6))/0x6*(-parseInt(w(0x1d7))/0x7)+-parseInt(w(0x1d4))/0x8*(-parseInt(w(0x1bc))/0x9)+-parseInt(w(0x195))/0xa*(parseInt(w(0x1c8))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a96c,0x91408));const a96b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a96d;if(c){const e=c[x(0x1ba)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a96a=a96b(this,function(){const y=a96d;return a96a['toString']()[y(0x190)](y(0x196))[y(0x1cb)]()[y(0x1d2)](a96a)[y(0x190)](y(0x196));});a96a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a96d(a,b){const c=a96c();return a96d=function(d,e){d=d-0x17e;let f=c[d];return f;},a96d(a,b);}import{Actions}from'../tools/actions/actions.class.js';import a96e from'../generators/maka.gen.js';function a96c(){const C=['9916819wxDngS','installMeteorPackage','graphql','toString','push','engines','withPubs','none','api/register-api.js','Scaffolding\x20for\x20an\x20api\x20concept\x20(i.e.\x20Todos).','constructor','Resolvers\x20}\x20from\x20\x27','1771224GWNqrM','import\x20\x27./register-','apiAnswers','14aLAynW','mdg:validated-method','typeDefs.','api/api.js','getProjectConfig','api/typeDefs.js','rest','pathFromApp','api/tests.js','rest-api.','typeList.push(','345EwnshL','fixtures.','api','Publications','maka:rest\x20maka:check\x20ddp-rate-limiter\x20mdg:validated-method\x20mongo','-api.','Fixtures','test','TypeDefs);\x0a','rpc-methods.','/graphql/resolvers','apollo','\x0aimport\x20{\x20resolvers\x20as\x20','search','\x0a\x20\x20Scaffolding\x20for\x20an\x20api\x20concept\x20(i.e.\x20Todos).\x0a\x0a\x20\x20The\x20api\x20generator\x20will\x20create\x20a\x20collection,\x20publications,\x20methods,\x20fixtures,\x20and\x20tests\x0a\x20\x20for\x20the\x20given\x20resource\x20name.\x0a\x0a\x20\x20The\x20api\x20generator\x20will\x20ask\x20which\x20boundaries\x20to\x20create.\x20The\x20choices\x20are:\x0a\x20\x20\x20\x20-\x20RPC\x20(Methods)\x0a\x20\x20\x20\x20-\x20Fixtures\x0a\x20\x20\x20\x20-\x20Publications\x0a\x20\x20\x20\x20-\x20REST\x20API\x0a\x20\x20\x20\x20-\x20GraphQL\x0a\x0a\x20\x20','checkbox','56080gskSTi','collection','20lGxyet','(((.+)+)+)+$','injectAtBeginningOfFile','maka\x20{generate,\x20g}:{api}\x20<resource-name>','dir','api/fixtures.js','mongo','resolverList.push(','startup','checkMeteorPackage','template','invoke','1170027ijgSRs','tsx','notice','exit','imports','1274100ayhdEC','API\x20boundaries\x20to\x20create','register-','server','maka\x20g:api\x20Todos','withGql','index.','GraphQL','291922jXzUWg','injectIntoFile','api/resolvers.js','Resolvers);\x0a\x0a','includes','maka:rest','error','.app-tests.','api/publications.js','withRest','options','const','apply','resourceName','45VNXURL','resolvers.','withFixtures','/graphql/typeDefs','Verifying\x20meteor\x20package\x20requirements\x20...','/imports/api','withMethods','ddp-rate-limiter','-api\x27;','345133ezrzLE','if\x20\x5c(typeList','fsi'];a96c=function(){return C;};return a96c();}import{camelCase,paramCase,pascalCase}from'change-case';Generator['create']({'name':'api','aliases':['a'],'usage':a96z(0x198),'shortDesc':a96z(0x1d1),'validOpts':[a96z(0x199)],'examples':[a96z(0x1aa)],'description':a96z(0x191)},async function(a,b){const A=a96z;try{const c=this[A(0x1c7)][A(0x1db)](),d=[{'name':'RPC\x20(Methods)','value':'withMethods'},{'name':A(0x189),'value':'withFixtures'},{'name':A(0x186),'value':'withPubs'}];c['engines'][A(0x185)]===A(0x17e)&&d[A(0x1cc)]({'name':'REST\x20API','value':A(0x1b7)});c[A(0x1cd)][A(0x1ca)]===A(0x18e)&&d[A(0x1cc)]({'name':A(0x1ad),'value':A(0x1ab)});const f={'type':A(0x192),'name':A(0x1d6),'message':A(0x1a7),'pageSize':0x64,'choices':d},{apiAnswers:g}=await Actions[A(0x1b8)](f);g['length']===0x0&&(Log[A(0x1b4)]('No\x20API\x20boundaries\x20selected'),process[A(0x1a4)](0x1)),this[A(0x1c7)]['withValue'](c,async()=>{const B=A,h=this[B(0x1c7)][B(0x17f)]({}),i=b[B(0x1bb)],j=paramCase(i),k=camelCase(i),l=b['dir']?'/'+b[B(0x199)]+'/':'/',m={'name':pascalCase(i),'fileName':j,'camelCase':pascalCase(i),'optsDir':l,'api':c[B(0x1cd)][B(0x185)],'graphql':c[B(0x1cd)][B(0x1ca)],'test':c[B(0x1cd)][B(0x18a)],'noRename':!![],'withPubs':g[B(0x1b2)](B(0x1ce)),'withFixtures':g[B(0x1b2)]('withFixtures'),'withMethods':g[B(0x1b2)](B(0x1c2)),'withRest':g[B(0x1b2)](B(0x1b7))};let n='js';c['engines']['js']===B(0x1a2)&&(n='ts');(!this[B(0x1c7)][B(0x19e)](B(0x1b3))||!this[B(0x1c7)][B(0x19e)]('maka:check')||!this[B(0x1c7)]['checkMeteorPackage'](B(0x1c3))||!this[B(0x1c7)][B(0x19e)](B(0x1d8))||!this[B(0x1c7)][B(0x19e)](B(0x19b)))&&(Log[B(0x1a3)](B(0x1c0)),await this[B(0x1c7)][B(0x1c9)](B(0x187),{'cwd':h}));const o=a96e['findGenerator'](B(0x194));o&&await o[B(0x1a0)]([j],{'config':c,'where':B(0x1a9)});c['engines'][B(0x185)]===B(0x17e)&&(m['withRest']&&this[B(0x1c7)]['template']({'srcPath':B(0x1da),'destPath':this[B(0x1c7)][B(0x17f)]({'pathParts':[B(0x1a5),'api',b[B(0x199)],j,B(0x181)+n]}),'context':m,'config':c}));m['withMethods']&&this[B(0x1c7)][B(0x19f)]({'srcPath':'api/methods.js','destPath':this[B(0x1c7)][B(0x17f)]({'pathParts':[B(0x1a5),B(0x185),b['dir'],j,B(0x18c)+n]}),'context':m,'config':c});m[B(0x1be)]&&this[B(0x1c7)][B(0x19f)]({'srcPath':B(0x19a),'destPath':this[B(0x1c7)][B(0x17f)]({'pathParts':[B(0x1a5),'api',b[B(0x199)],j,B(0x184)+n]}),'context':m,'config':c});c['engines'][B(0x18a)]!==B(0x1cf)&&this[B(0x1c7)][B(0x19f)]({'srcPath':B(0x180),'destPath':this['fsi'][B(0x17f)]({'pathParts':[B(0x1a5),B(0x185),b['dir'],j,j+B(0x1b5)+n]}),'context':m,'config':c});m[B(0x1ce)]&&this['fsi'][B(0x19f)]({'srcPath':B(0x1b6),'destPath':this[B(0x1c7)][B(0x17f)]({'pathParts':['imports','api',b[B(0x199)],j,'publications.'+n]}),'context':m,'config':c});if(c['engines'][B(0x1ca)]===B(0x18e)){if(g[B(0x1b2)](B(0x1ab))){const q=this['fsi'][B(0x17f)]({'pathParts':['imports',B(0x19d),B(0x1a9),B(0x1ac)+c[B(0x1cd)]['js']]}),r=this['fsi']['rewriteDestinationPathForEngine']({'pathParts':[q],'config':c}),s=this[B(0x1c7)][B(0x17f)]({'pathParts':['imports',B(0x185),b[B(0x199)],j,B(0x1ca),B(0x1d9)+n]}),t=B(0x1c1)+l+j+B(0x1bf);this[B(0x1c7)][B(0x19f)]({'srcPath':B(0x1dc),'destPath':s,'context':m,'config':c}),this[B(0x1c7)][B(0x197)]({'filePath':r,'content':'import\x20{\x20typeDefs\x20as\x20'+k+'TypeDefs\x20}\x20from\x20\x27'+t+'\x27;\x0a'}),this[B(0x1c7)][B(0x1af)]({'filePath':r,'content':B(0x182)+k+B(0x18b),'begin':B(0x1b9),'end':B(0x1c6)});const u=this[B(0x1c7)][B(0x17f)]({'pathParts':[B(0x1a5),B(0x185),b['dir'],j,'graphql',B(0x1bd)+n]}),v=B(0x1c1)+l+j+B(0x18d);this[B(0x1c7)][B(0x19f)]({'srcPath':B(0x1b0),'destPath':u,'context':m,'config':c}),this[B(0x1c7)][B(0x197)]({'filePath':r,'content':B(0x18f)+k+B(0x1d3)+v+'\x27;'}),this['fsi']['injectIntoFile']({'filePath':r,'content':B(0x19c)+k+B(0x1b1),'begin':B(0x1b9),'end':B(0x1c6)});}}this[B(0x1c7)][B(0x19f)]({'srcPath':B(0x1d0),'destPath':this[B(0x1c7)]['pathFromApp']({'pathParts':[B(0x1a5),B(0x19d),'server',B(0x1a8)+j+B(0x188)+n]}),'context':m,'config':c,'force':!![]});const p=this[B(0x1c7)][B(0x17f)]({'pathParts':[B(0x1a5),B(0x19d),B(0x1a9),B(0x1ac)+c[B(0x1cd)]['js']]});this[B(0x1c7)]['injectAtEndOfFile']({'filePath':p,'content':B(0x1d5)+j+B(0x1c4)});});}catch(h){console[A(0x1b4)](h),process[A(0x1a4)](0x0);}});
|