@maka/maka-cli 4.6.4 → 4.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/https/progress.class.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/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
|
-
|
|
1
|
+
function a78c(){var k=['667010ihNpng','1148iiVoaa','apply','30cnucXd','font-family:\x20monospace','268147keJskp','search','5844684ylBAfx','11886fuYLYx','maka\x20murder','error','122877ViGAxw','5904CXoFXo','toString','104qqSNdl','148920znYafJ','22xwUALz','(((.+)+)+)+$','create','%c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.___.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20,-^\x20\x20\x20\x20\x20^-.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x0a.-------|\x20|--------------/\x20\x20__\x20\x20\x20\x20\x20__\x20\x20\x5c-------------------.__\x0a|WMWMWMW|\x20|>>>>>>>>>>>>>\x20|\x20/>>\x5c\x20\x20\x20/>>\x5c\x20|>>>>>>>>>>>>>>>>>>>>>>:>\x0a`-------|\x20|--------------|\x20\x5c__/\x20\x20\x20\x5c__/\x20|-------------------\x27^^\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x5c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20/|\x5c\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x5c_/\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\x20|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|+H+H+H+|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20^-----^\x0a\x0a','87wUjxZJ','log','constructor'];a78c=function(){return k;};return a78c();}function a78d(a,b){var c=a78c();return a78d=function(d,e){d=d-0x1df;var f=c[d];return f;},a78d(a,b);}var a78i=a78d;(function(a,b){var f=a78d,c=a();while(!![]){try{var d=parseInt(f(0x1e2))/0x1+parseInt(f(0x1e9))/0x2*(parseInt(f(0x1f1))/0x3)+-parseInt(f(0x1ec))/0x4*(parseInt(f(0x1e0))/0x5)+parseInt(f(0x1e5))/0x6*(parseInt(f(0x1f5))/0x7)+parseInt(f(0x1eb))/0x8*(parseInt(f(0x1e8))/0x9)+-parseInt(f(0x1f4))/0xa*(-parseInt(f(0x1ed))/0xb)+-parseInt(f(0x1e4))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0x44235));var a78b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a78d;if(c){var e=c[g(0x1df)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){var h=a78d;return a78a[h(0x1ea)]()[h(0x1e3)](h(0x1ee))[h(0x1ea)]()[h(0x1f3)](a78a)[h(0x1e3)](h(0x1ee));});a78a();import{Command}from'../command.js';Command[a78i(0x1ef)]({'name':'murder','usage':a78i(0x1e6),'maxArgLength':0x1,'shortDesc':'Murrrrderrrrr','validOpts':[]},async function(){var j=a78i;try{console[j(0x1f2)](j(0x1f0),j(0x1e1));}catch(a){console[j(0x1e7)](a),process['exit'](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a79p=a79d;function a79c(){const r=['development','isFile','647916hxocbt','855519DMokGY','invoke','5JrMAAr','=>\x20SSL\x20Proxy\x20forwarding\x20','sslconfig','923768vnMLPp','targetPort','.csr','(((.+)+)+)+$','2606746DypfVI','join','421288aWUPwL','5043260FUSjSa','proxy','.key','listenPort','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','targetHost','bright','search','findGenerator','listen','mkKeysDir','77cPIafE','appName','readFileSync','createProxyServer','fsi','localhost','getProjectConfig','error','maka\x20proxy\x20--target-host\x20http://192.168.1.20','toString','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','.crt','create','maka\x20proxy','utf8','13811688JIBdjE','9vHWtyt','genCSR','3veGKje','\x20to\x20'];a79c=function(){return r;};return a79c();}function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x191;let f=c[d];return f;},a79d(a,b);}(function(a,b){const n=a79d,c=a();while(!![]){try{const d=-parseInt(n(0x1bd))/0x1+-parseInt(n(0x198))/0x2*(-parseInt(n(0x1b8))/0x3)+parseInt(n(0x19a))/0x4*(-parseInt(n(0x191))/0x5)+-parseInt(n(0x1bc))/0x6+-parseInt(n(0x1a6))/0x7*(-parseInt(n(0x194))/0x8)+parseInt(n(0x1b6))/0x9*(parseInt(n(0x19b))/0xa)+-parseInt(n(0x1b5))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0xb7f25));const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const o=a79d;return a79a['toString']()[o(0x1a2)]('(((.+)+)+)+$')[o(0x1af)]()['constructor'](a79a)['search'](o(0x197));});a79a();import a79e from'fs';import a79f from'path';import a79g from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';import a79h from'../generators/maka.gen.js';Command[a79p(0x1b2)]({'name':a79p(0x19c),'usage':a79p(0x1b3),'mustBeInMakaProject':!![],'validOpts':['help',a79p(0x195),a79p(0x19e),a79p(0x1a0)],'maxArgLength':0x1,'shortDesc':a79p(0x19f),'description':'\x0a\x20\x20If\x20you\x27re\x20running\x20your\x20Meteor\x20service,\x20and\x20need\x20to\x20stand\x20up\x20an\x20SSL\x0a\x20\x20Proxy,\x20this\x20command\x20will\x20automatically\x20create\x20a\x20key\x20pair\x20for\x20use\x20in\x20an\x20HTTPS\x0a\x20\x20proxy.\x0a\x0a\x20\x20For\x20example,\x20you\x27re\x20running\x20http://localhost:3000\x20with\x20\x22maka\x20run\x22\x20then\x20open\x20a\x20new\x0a\x20\x20terminal\x20and\x20run\x20\x22maka\x20proxy\x22\x20to\x20standup\x20https://localhost:3443.\x0a\x20\x20Then\x20open\x20your\x20browser\x20to\x20that\x20URL\x20(you\x20may\x20need\x20to\x20trust\x20the\x20certificates\x0a\x20\x20because\x20they\x20are\x20self-signed)\x20and\x20you\x27ll\x20have\x20an\x20SSL\x20connection\x20to\x20your\x0a\x20\x20http://localhost:3000.\x0a\x0a\x20\x20To\x20avoid\x20possibly\x20overwriting\x20PKI\x20files\x20in\x20higher\x20environments,\x20\x22maka\x20proxy\x22\x0a\x20\x20will\x20try\x20to\x20only\x20generate\x20/\x20store\x20PKI\x20keys\x20in\x20the\x20development\x20environment.\x0a\x20\x20','examples':['maka\x20proxy','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000',a79p(0x1ae)]},async function(a,b){const q=a79p,c=this[q(0x1aa)][q(0x1ac)](),d=q(0x1ba),e=this['fsi']['getConfigPath'](d),f=this[q(0x1aa)][q(0x1a5)]({'configPath':e}),g=b['targetPort']?Number(b[q(0x195)]):0xbb8,h=b['listenPort']?Number(b[q(0x19e)]):0xd73,i=b['targetHost']?b[q(0x1a0)]:q(0x1ab),j=a79f[q(0x199)](f,c['appName']+q(0x19d)),k=a79f['join'](f,c[q(0x1a7)]+q(0x1b1));if(!this[q(0x1aa)]['isFile'](j)||!this[q(0x1aa)][q(0x1bb)](k)){const m=a79h[q(0x1a3)](q(0x193));m&&await m[q(0x1be)](['sslconfig'],{'env':d}),SSL[q(0x1b7)]({'keyName':c[q(0x1a7)]+q(0x19d),'csrName':c[q(0x1a7)]+q(0x196),'cwd':f}),SSL['genSSC']({'keyName':c[q(0x1a7)]+'.key','crtName':c[q(0x1a7)]+'.crt','cwd':f});}if(g===h){Log[q(0x1ad)](q(0x1b0));throw new UsageError();}const l={'ssl':{'key':a79e[q(0x1a8)](j,q(0x1b4)),'cert':a79e[q(0x1a8)](k,q(0x1b4))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a79g[q(0x1a9)](l)[q(0x1a4)](Number(h)),Log[q(0x1a1)](q(0x192)+h+q(0x1b9)+g);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a80q=a80d;(function(a,b){const n=a80d,c=a();while(!![]){try{const d=parseInt(n(0xb5))/0x1*(-parseInt(n(0xa9))/0x2)+parseInt(n(0x96))/0x3+parseInt(n(0xa1))/0x4+parseInt(n(0x8d))/0x5*(parseInt(n(0xaf))/0x6)+parseInt(n(0x92))/0x7+parseInt(n(0x9e))/0x8+-parseInt(n(0xb6))/0x9*(parseInt(n(0x8c))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0xd099a));const a80b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a80d;if(c){const e=c[o(0x9a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){const p=a80d;return a80a[p(0x99)]()[p(0x9f)](p(0x93))[p(0x99)]()[p(0xa3)](a80a)['search'](p(0x93));});a80a();import a80e from'fs';import a80f from'path';function a80c(){const s=['~/pm2.config.js','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','toString','apply','\x0a\x20\x20If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x0a\x20\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.\x0a\x20\x20','~/settings.json','Reconfigure\x20your\x20deployed\x20applications','10162128xZbCtI','search','join','2120416sziFDK','ssh','constructor','scp','ses.json','Checking\x20remote\x20host\x20availability','~/ses.json','ssh.json','5972vNOhyF','reconfig','exit','maka\x20reconfig','pm2\x20delete\x20all','pm2.config.js','6PfOAbD','notice','Remote\x20host\x20connection\x20successful','maka\x20reconfig\x20--env\x20prod','settings.json','uname\x20-a','265bzCvoD','27eyGFXO','5663530OtcmuS','2311805gwnMds','ping','env','create','error','3046743tOpSoP','(((.+)+)+)+$','success','existsSync','1940385oLYQUW'];a80c=function(){return s;};return a80c();}function a80d(a,b){const c=a80c();return a80d=function(d,e){d=d-0x8c;let f=c[d];return f;},a80d(a,b);}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a80q(0x90)]({'name':a80q(0xaa),'validOpts':[''],'requiredOpts':[a80q(0x8f)],'mustBeInMakaProject':!![],'usage':a80q(0xac),'shortDesc':a80q(0x9d),'description':a80q(0x9b),'examples':[a80q(0xb2)]},async function(a,b){const r=a80q;try{const c=this['fsi']['getConfigPath'](b[r(0x8f)]),d=a80f[r(0xa0)](c,r(0xa8)),f=a80e['readFileSync'](d)[r(0x99)](),g=JSON['parse'](f);Object['assign'](g,{'env':c}),Log[r(0xb0)](r(0xa6));const h=SSH[r(0x8e)](r(0xb4),g);if(!h)throw r(0x98);if(h)Log[r(0x94)](r(0xb1));const i=a80f[r(0xa0)](c,'_keys',r(0xa5));if(a80e[r(0x95)](i)){const l={'source':i,'dest':r(0xa7),'verbose':!![]};SSH['scp'](l,{...g});}const j=a80f[r(0xa0)](c,r(0xae));SSH['scp']({'source':j,'dest':r(0x97),'verbose':!![]},{...g});const k=a80f[r(0xa0)](c,r(0xb3));SSH[r(0xa4)]({'source':k,'dest':r(0x9c),'verbose':!![]},{...g}),SSH['sshSync'](r(0xad),g),await SSH[r(0xa2)]('echo\x20\x22\x22\x20&&\x20pm2\x20start\x20pm2.config.js\x20&&\x20echo\x20\x22\x22\x20||\x20echo\x20\x22Cound\x20not\x20find\x20PM2,\x20have\x20you\x20deployed\x20the\x20app\x20yet?\x22',{...g},{'verbose':!![]});}catch(m){console[r(0x91)](m),process[r(0xab)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a81c(){var i=['635496GtKfmJ','161GMPaLK','7WWRchM','6803766nEOvRc','toString','5nSpDaq','53338ddRwIe','(((.+)+)+)+$','constructor','3568734CgogmJ','5158860SUMXDa','apply','20130hyYNiS','6240908ndiVlf','search','31251KWFRat'];a81c=function(){return i;};return a81c();}(function(a,b){var f=a81d,c=a();while(!![]){try{var d=parseInt(f(0x1ca))/0x1*(parseInt(f(0x1ce))/0x2)+-parseInt(f(0x1d2))/0x3+-parseInt(f(0x1d5))/0x4*(parseInt(f(0x1cd))/0x5)+-parseInt(f(0x1d1))/0x6+parseInt(f(0x1c9))/0x7*(-parseInt(f(0x1d8))/0x8)+parseInt(f(0x1cb))/0x9+-parseInt(f(0x1d4))/0xa*(-parseInt(f(0x1d7))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0xea59f));var a81b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a81d;if(c){var e=c[g(0x1d3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){var h=a81d;return a81a[h(0x1cc)]()[h(0x1d6)](h(0x1cf))[h(0x1cc)]()[h(0x1d0)](a81a)[h(0x1d6)](h(0x1cf));});function a81d(a,b){var c=a81c();return a81d=function(d,e){d=d-0x1c9;var f=c[d];return f;},a81d(a,b);}a81a();import'./run.command.js';import'./docker.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a82l=a82d;(function(a,b){const i=a82d,c=a();while(!![]){try{const d=-parseInt(i(
|
|
1
|
+
const a82l=a82d;(function(a,b){const i=a82d,c=a();while(!![]){try{const d=-parseInt(i(0x1b0))/0x1*(parseInt(i(0x1b7))/0x2)+parseInt(i(0x1b3))/0x3+parseInt(i(0x1bb))/0x4+-parseInt(i(0x1cd))/0x5*(parseInt(i(0x1bc))/0x6)+parseInt(i(0x1be))/0x7*(parseInt(i(0x1b8))/0x8)+-parseInt(i(0x1ca))/0x9*(parseInt(i(0x1c0))/0xa)+-parseInt(i(0x1c6))/0xb*(-parseInt(i(0x1bd))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x79c53));const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a82d;if(c){const e=c[j(0x1d1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const k=a82d;return a82a[k(0x1c4)]()['search'](k(0x1c5))[k(0x1c4)]()[k(0x1b1)](a82a)['search'](k(0x1c5));});function a82c(){const n=['appName','fsi','apply','1VolvmQ','constructor','PM2\x20Config\x20File:\x20','1180671olTYcn','config/docker-compose.yaml','existsSync','templateContent','997714UnpKHK','8WHILKi','docker-compose.yaml','\x20up\x20--remove-orphans','3857232CPXsbW','1898964iVHJxn','803688fhWPoH','2024883NIIPVM','inherit','93020iazetA','join','pm2.config.js','docker-compose\x20--project-directory\x20','toString','(((.+)+)+)+$','11skGVYu','maka\x20run\x20docker','getConfigPath','exit','387tZGtZI','docker','getProjectConfig','5Znrczo','createFile'];a82c=function(){return n;};return a82c();}a82a();import a82e from'./run.command.js';import{execSync}from'child_process';import a82f from'path';import a82g from'fs';import{Log}from'../../tools/log/log.class.js';function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x1b0;let f=c[d];return f;},a82d(a,b);}import{Command}from'../../command.js';import{paramCase}from'change-case';Command['create']({'name':'docker','aliases':['d'],'shortDesc':'Run\x20your\x20application\x20in\x20a\x20Docker\x20container','description':'\x0a\x20\x20Run\x20your\x20application\x20in\x20a\x20Docker\x20container.\x20\x20Docker\x20Desktop\x20or\x20Colmia\x20is\x20required.\x0a\x0a\x20\x20Colima\x20is\x20a\x20great\x20alternative\x20to\x20Docker\x20Desktop,\x20and\x20it\x20is\x20free!\x0a\x20\x20Colima:\x20https://github.com/abiosoft/colima\x0a\x0a\x0a\x20\x20A\x20docker-compose.yml\x20file\x20(location\x20defaulted\x20to\x20the\x20\x22config/docker\x22\x20folder)\x0a\x20\x20is\x20used\x20to\x20startup\x20mongo\x20and\x20load\x20the\x20built\x20image\x27\x0a\x20\x20','usage':a82l(0x1c7),'validOpts':['']},async function(){const m=a82l;try{const a=this['fsi'][m(0x1cc)](),b=this[m(0x1d0)][m(0x1c8)](m(0x1cb)),c=a82f[m(0x1c1)](b,m(0x1b9)),d=a82f['join'](b,m(0x1c2));Log['notice'](m(0x1b2)+d),Log['notice']('Docker\x20Compose\x20Path:\x20'+c);if(!a82g[m(0x1b5)](c)){const f={'app':a[m(0x1cf)],'appFileCase':paramCase(a[m(0x1cf)])},g=this[m(0x1d0)][m(0x1b6)]({'srcPath':m(0x1b4),'context':f})+'\x0a';this[m(0x1d0)][m(0x1ce)]({'filePath':c,'data':g});}execSync(m(0x1c3)+b+m(0x1ba),{'stdio':m(0x1bf)});}catch(h){process[m(0x1c9)](0x1);}},a82e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a83v=a83d;(function(a,b){const r=a83d,c=a();while(!![]){try{const d
|
|
1
|
+
const a83v=a83d;(function(a,b){const r=a83d,c=a();while(!![]){try{const d=-parseInt(r(0xb1))/0x1+parseInt(r(0xa7))/0x2+parseInt(r(0xd8))/0x3*(parseInt(r(0xc1))/0x4)+parseInt(r(0xc9))/0x5+parseInt(r(0xa1))/0x6*(-parseInt(r(0xc0))/0x7)+parseInt(r(0xbf))/0x8+-parseInt(r(0xd1))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0x8f211));const a83b=(function(){let a=!![];return function(b,c){const d=a?function(){const s=a83d;if(c){const e=c[s(0xb0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){const t=a83d;return a83a[t(0xb3)]()[t(0xce)](t(0x9e))[t(0xb3)]()[t(0xb5)](a83a)['search']('(((.+)+)+)+$');});a83a();import a83e from'path';import a83f from'fs';import a83g from'dotenv';function a83c(){const y=['1545615qsSKWe','ios','checkMeteorPackage','runSubCommand','--production','search','port','splice','8174016DJVYvp','autoupdate','argv','join','notice','openSync','sep','12qXtFZr','isDirectory','(((.+)+)+)+$','mobileServer','docker','24xMaPPc','settings','development','concat','local','Please\x20provide\x20a\x20URL\x20where\x20your\x20mobile\x20app\x20should\x20connect\x20to\x20your\x20server\x20(e.g.,\x20-m\x20|\x20--mobile-server=https://example-server.com)','1188046PFovUN','warn','findProjectDirectory','env','allowIncompatibleUpdate','exclude-archs','Node\x20Env\x20Config:\x20','production','extraPackages','apply','344113gtxjhm','verbose','toString','split','constructor','inspect','app','Run\x20your\x20Meteor\x20application','--settings','run','\x0a\x20\x20maka\x20run\x0a\x20\x20-e\x20|\x20--env\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20target\x20environment.\x20\x20Will\x20automatically\x20pull\x20in\x20the\x20meteor\x20settings\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20file\x20(settings.json)\x20and\x20any\x20environment\x20options\x20that\x20have\x20been\x20enabled.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20-r\x20|\x20--raw-logs\x20\x20\x20\x20\x20\x20\x20Only\x20output\x20the\x20meteor\x20logs\x20without\x20the\x20timestamp.\x0a\x0a\x20\x20-p\x20|\x20--port\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20port\x20to\x20run\x20the\x20meteor\x20server\x20on.\x20Defaults\x20to\x20port\x203000.\x0a\x0a\x20\x20-i\x20|\x20--inspect\x20\x20\x20\x20\x20\x20\x20\x20Tells\x20the\x20meteor\x20server\x20to\x20run\x20nodejs\x20in\x20debug\x20mode.\x20Starts\x20a\x20debug\x20session\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20which\x20can\x20be\x20accessed\x20by\x20Chrome\x20Dev\x20Tools\x20or\x20another\x20debug\x20terminal.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20-m\x20|\x20--mobile-server\x20\x20Specify\x20a\x20different\x20backend\x20server\x20to\x20connect\x20to.\x20\x20Mainly\x20used\x20when\x20running\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20-x\x20|\x20--exclude-archs\x20\x20Don\x27t\x20create\x20bundles\x20for\x20certain\x20web\x20architectures\x20(comma\x20separated,\x20for\x20example:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20--production\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Runs\x20the\x20application\x20in\x20production\x20mode;\x20minifies\x20and\x20bundles\x20all\x20files\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20removes\x20development\x20packages.','fsi','slice','forEach','3257216vnjdAZ','190239KXlWGb','637004BFpvlP','Meteor\x20Settings:\x20','filter','settings.json','--env','compareMakaToLatest','Verifying\x20meteor\x20package\x20requirements\x20...','.meteor'];a83c=function(){return y;};return a83c();}import{rimraf}from'rimraf';function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0x9d;let f=c[d];return f;},a83d(a,b);}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const u=a83d;a83f[u(0xd6)](a,'r'),a83g['config']({'path':a});},Run=Command['create']({'name':'run','mustBeInMakaProject':!![],'shortDesc':a83v(0xb8),'description':a83v(0xbb),'validOpts':[a83v(0xaa),a83v(0xa0),'r','rawLogs','p',a83v(0xcf),'i',a83v(0xb6),'m',a83v(0x9f),'v',a83v(0xb2),a83v(0xab),a83v(0xaf),'x',a83v(0xac),a83v(0xae)]},async function(a,b){const w=a83v;try{const c=this[w(0xbc)][w(0xa9)]();!this['fsi'][w(0xcb)]('autoupdate')&&(Log[w(0xd5)](w(0xc7)),await this[w(0xbc)]['installMeteorPackage'](w(0xd2),{'cwd':c}));const d=a[0x0],f=this['findSubCommand'](d);f&&this[w(0xcc)](d,a,b);if(d===w(0xca)){const n=this['fsi'][w(0xa9)](),o=a83e[w(0xd4)](n,w(0xb7),w(0xc8),w(0xa5),'cordova-build');this[w(0xbc)][w(0x9d)](o)&&await rimraf(o);}if(b['mobile-server']&&b['mobile-server']===!![]||b['m']&&b['m']===!![])throw w(0xa6);await this[w(0xbc)][w(0xc6)]();const g=b[w(0xaa)]?b['env']:w(0xa3),h=this[w(0xbc)]['getConfigPath'](g),i=a83e[w(0xd4)](h,'process.env');let j=a83e[w(0xd4)](h,w(0xc4));b[w(0xa2)]?j=b[w(0xa2)]:j=a83e[w(0xd4)](h,'settings.json');if(this[w(0xbc)]['isFile'](i)&&!b[w(0xa0)])Log[w(0xd5)](w(0xad)+i),syncSource(i);else!b[w(0xa0)]&&Log[w(0xa8)]('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+i);this['fsi']['isFile'](j)?(Log[w(0xd5)](w(0xc2)+j),a=a[w(0xa4)]([w(0xb9),j])):Log['warn']('Cannot\x20find\x20Meteor\x20Settings\x20File:\x20'+j);const k=h[w(0xb4)](a83e[w(0xd7)]),l=k[k['length']-0x1];l===w(0xae)&&a['push'](w(0xcd));const m=process[w(0xd3)][w(0xbd)](0x2)[w(0xc3)](p=>p!==w(0xba))[w(0xc3)](p=>p!==a[0x0]);m[w(0xbe)]((p,q)=>{const x=w;p===x(0xc5)&&m[x(0xd0)](q,0x2),p==='-e'&&m['splice'](q,0x2);}),this['fsi']['invokeMeteorCommand'](w(0xba),a[w(0xa4)](m));}catch(p){console['error'](p),process['exit'](0x1);}});export default Run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a84d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a84d,c=a();while(!![]){try{var d=parseInt(f(0x11e))/0x1+-parseInt(f(0x11b))/0x2+parseInt(f(0x118))/0x3*(parseInt(f(0x121))/0x4)+parseInt(f(0x11c))/0x5+parseInt(f(0x11a))/0x6+-parseInt(f(0x115))/0x7*(-parseInt(f(0x11d))/0x8)+-parseInt(f(0x117))/0x9*(parseInt(f(0x114))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0xab523));function a84c(){var i=['30116BJhhQC','345430cZQJde','6328763eGNnbs','apply','927yNiaPW','381DnyLyx','(((.+)+)+)+$','316332jAnjPw','619478gKWJIR','6414165RGWARP','8GXTkDg','1373552matNOo','search','toString'];a84c=function(){return i;};return a84c();}var a84b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a84d;if(c){var e=c[g(0x116)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){var h=a84d;return a84a[h(0x120)]()[h(0x11f)](h(0x119))[h(0x120)]()['constructor'](a84a)[h(0x11f)](h(0x119));});a84a();function a84d(a,b){var c=a84c();return a84d=function(d,e){d=d-0x114;var f=c[d];return f;},a84d(a,b);}import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a85k=a85d;(function(a,b){const h=a85d,c=a();while(!![]){try{const d
|
|
1
|
+
const a85k=a85d;(function(a,b){const h=a85d,c=a();while(!![]){try{const d=parseInt(h(0x1fd))/0x1*(-parseInt(h(0x1dc))/0x2)+parseInt(h(0x1e0))/0x3*(parseInt(h(0x1fa))/0x4)+parseInt(h(0x1db))/0x5+parseInt(h(0x1e4))/0x6+-parseInt(h(0x201))/0x7*(parseInt(h(0x205))/0x8)+-parseInt(h(0x1fe))/0x9*(-parseInt(h(0x1e7))/0xa)+-parseInt(h(0x1f0))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0x5622b));function a85c(){const m=['error','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','setGlobalConfig','1117164kYeCBe','apply','fsi','1790430XlNsPY','create','allowInsecure','pallet','cacert','disallowInsecure','dark','Set\x20global\x20Maka-CLI\x20settings','resolve','2138675OOgfPu','One\x20or\x20the\x20other\x20buddy','search','toString','Set\x20workspace:\x20','boolean','maka\x20set:global-config\x20<args>','isFile','success','Set\x20OpenAI\x20Key:\x20','10808NTeuCS','Set\x20color\x20pallet\x20to:\x20','openai','71948pKQosG','9kwwGzF','maka\x20set:gc\x20--workspace\x20<path>','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x0a\x20\x20There\x20are\x20occasions\x20where\x20your\x20network\x20may\x20need\x20an\x20intermediate\x20certificate\x0a\x20\x20to\x20allow\x20connections\x20outside.\x20\x20You\x20may\x20set\x20your\x20certificate\x20path\x20using\x20the\x20command:\x0a\x0a\x20\x20maka\x20set:gc\x20--cacert\x0a\x20\x20','64771QobRKD','maka\x20set:global-config\x20--cacert\x20<path>','global-config','exit','120uXGRqJ','1776440ekpMPs','12sTiRKh','workspace','maka\x20set:gc\x20--insecure\x20<path>','isDirectory','441TvNJjt'];a85c=function(){return m;};return a85c();}const a85b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a85d;if(c){const e=c[i(0x1e5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){const j=a85d;return a85a['toString']()['search']('(((.+)+)+)+$')[j(0x1f3)]()['constructor'](a85a)[j(0x1f2)]('(((.+)+)+)+$');});function a85d(a,b){const c=a85c();return a85d=function(d,e){d=d-0x1db;let f=c[d];return f;},a85d(a,b);}a85a();import a85e from'path';import a85f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a85k(0x1e8)]({'name':a85k(0x203),'usage':a85k(0x1f6),'aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[{'name':a85k(0x1eb),'boolFlag':![]},{'name':a85k(0x1e9),'boolFlag':!![]},{'name':a85k(0x1ec),'boolFlag':!![]},{'name':a85k(0x1dd),'boolFlag':![]},{'name':a85k(0x1fc),'boolFlag':![]},{'name':'help','boolFlag':!![]},{'name':a85k(0x1ea),'values':['light',a85k(0x1ed)]}],'shortDesc':a85k(0x1ee),'description':a85k(0x200),'examples':[a85k(0x202),a85k(0x1de),a85k(0x1ff)]},async function(a,b){const l=a85k;try{if(b[l(0x1eb)]){if(this[l(0x1e6)][l(0x1f7)](b[l(0x1eb)]))await this[l(0x1e6)][l(0x1e3)]({'cert':b[l(0x1eb)]}),Log['success']('Set\x20CA\x20Cert\x20Path:\x20'+b['cacert']);else{const c=typeof b[l(0x1eb)]===l(0x1f5)?l(0x1e2):'CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+b['cacert'];throw Log[l(0x1e1)](c);}}if(b[l(0x1dd)]){const d=this[l(0x1e6)][l(0x1df)](b['workspace']);if(d)await this[l(0x1e6)]['setGlobalConfig']({'workspace':a85e[l(0x1ef)](b[l(0x1dd)])}),Log[l(0x1f8)](l(0x1f4)+a85e[l(0x1ef)](b[l(0x1dd)]));else throw Log['error']('Could\x20not\x20find\x20directory');}b['openai']&&(await this[l(0x1e6)]['setGlobalConfig']({'openai':b['openai']}),Log[l(0x1f8)](l(0x1f9)+b[l(0x1fc)]));b['pallet']&&(await this[l(0x1e6)][l(0x1e3)]({'pallet':b[l(0x1ea)]}),Log['success'](l(0x1fb)+b['pallet']));if(b['allowInsecure']){if(b[l(0x1e9)]&&b[l(0x1ec)])throw Log[l(0x1e1)](l(0x1f1));let f=b[l(0x1e9)];b[l(0x1ec)]&&(f=![]),await this[l(0x1e6)]['setGlobalConfig']({'allowInsecure':f}),Log[l(0x1f8)]('Set\x20allowInsecure:\x20'+f);}process[l(0x204)](0x0);}catch(g){console[l(0x1e1)](g),process[l(0x204)](0x0);}},a85f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var a86i=a86d;(function(a,b){var f=a86d,c=a();while(!![]){try{var d
|
|
1
|
+
function a86d(a,b){var c=a86c();return a86d=function(d,e){d=d-0x1cb;var f=c[d];return f;},a86d(a,b);}function a86c(){var k=['10BOILVt','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','6CRicyx','notice','local-config','create','(((.+)+)+)+$','constructor','Sorry,\x20not\x20implemented\x20yet','maka\x20set:local-config\x20<opts>','74680VNTNgO','apply','207eJIozd','187YqPQTT','338264RcdOGz','261774FdVZKW','5821529QIljji','7753335FDhZGR','search','3106684lEeAcH','1150001VPxXJw'];a86c=function(){return k;};return a86c();}var a86i=a86d;(function(a,b){var f=a86d,c=a();while(!![]){try{var d=parseInt(f(0x1cb))/0x1+parseInt(f(0x1cc))/0x2*(parseInt(f(0x1db))/0x3)+parseInt(f(0x1df))/0x4+-parseInt(f(0x1dd))/0x5+-parseInt(f(0x1ce))/0x6*(parseInt(f(0x1dc))/0x7)+-parseInt(f(0x1da))/0x8*(-parseInt(f(0x1d8))/0x9)+-parseInt(f(0x1d6))/0xa*(parseInt(f(0x1d9))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0xc9b59));var a86b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a86d;if(c){var e=c[g(0x1d7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){var h=a86d;return a86a['toString']()[h(0x1de)](h(0x1d2))['toString']()[h(0x1d3)](a86a)[h(0x1de)]('(((.+)+)+)+$');});a86a();import a86e from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a86i(0x1d1)]({'name':a86i(0x1d0),'usage':a86i(0x1d5),'examples':['maka\x20set:lc\x20<opts>',a86i(0x1d5)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':'Set\x20local\x20maka\x20app\x20settings','validOpts':[],'description':a86i(0x1cd)},async function(){var j=a86i;Log[j(0x1cf)](j(0x1d4));},a86e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a87h=a87d;(function(a,b){const f=a87d,c=a();while(!![]){try{const d=parseInt(f(0x8f))/0x1+-parseInt(f(0x8c))/0x2+-parseInt(f(0x91))/0x3*(-parseInt(f(0x86))/0x4)+-parseInt(f(0x8a))/0x5+-parseInt(f(0x87))/0x6+-parseInt(f(0x84))/0x7+parseInt(f(0x90))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0xba920));const a87b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){const g=a87d;return a87a['toString']()[g(0x89)]('(((.+)+)+)+$')['toString']()[g(0x8d)](a87a)['search']('(((.+)+)+)+$');});function a87c(){const j=['3443012dgplqc','7692048LNhxlr','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','search','3690940biSoZM','findSubCommand','2041448XvZmTn','constructor','create','1435612KoUNor','23709584fLedJK','3JeUJbz','runSubCommand','10184657SrzuJi','help'];a87c=function(){return j;};return a87c();}a87a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';function a87d(a,b){const c=a87c();return a87d=function(d,e){d=d-0x83;let f=c[d];return f;},a87d(a,b);}const SetCommand=Command[a87h(0x8e)]({'name':'set','usage':'maka\x20set:<sub-command>\x20<opts>','minArgLength':0x1,'shortDesc':a87h(0x88),'description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','validOpts':[]},async function(a,b){const i=a87h,c=a[0x0];if(b[i(0x85)])throw new UsageError();const d=this[i(0x8b)](c);d&&this[i(0x83)](c,a,b);});export default SetCommand;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a88m=a88d;(function(a,b){const j=a88d,c=a();while(!![]){try{const d=parseInt(j(0x169))/0x1*(-parseInt(j(0x175))/0x2)+-parseInt(j(0x176))/0x3+-parseInt(j(0x174))/0x4+parseInt(j(0x173))/0x5+-parseInt(j(0x171))/0x6+-parseInt(j(0x15b))/0x7+-parseInt(j(0x15f))/0x8*(-parseInt(j(0x163))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0xdf5c2));const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a88d;if(c){const e=c[k(0x16a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const l=a88d;return a88a[l(0x162)]()[l(0x16f)](l(0x164))[l(0x162)]()['constructor'](a88a)['search']('(((.+)+)+)+$');});a88a();import a88e from'fs';import a88f from'path';function a88c(){const o=['length','902940XMWuHu','388152zMrPRU','24834qDmZIc','5175951vyjIKU','assign','getConfigPath','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','error','verbose','875854dMxAhf','sshSync','maka\x20ssh\x20--env\x20prod','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','8456TdMdUm','maka\x20ssh\x20--env\x20staging','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','toString','43128HuSLPx','(((.+)+)+)+$','ssh','env','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','exit','112sCqAbp','apply','parse','ssh.json','fsi','join','search','readFileSync','5956014FDgDXC'];a88c=function(){return o;};return a88c();}import{Command}from'../command.js';function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x156;let f=c[d];return f;},a88d(a,b);}import{SSH}from'../tools/ssh/ssh.class.js';Command['create']({'name':a88m(0x165),'usage':'maka\x20ssh\x20<command>','mustBeInMakaProject':!![],'requiredOpts':[a88m(0x166)],'validOpts':[a88m(0x166),a88m(0x15a)],'shortDesc':a88m(0x161),'examples':['maka\x20ssh\x20--env\x20dev',a88m(0x160),a88m(0x15d),a88m(0x167),a88m(0x158),a88m(0x15e)]},async function(a,b){const n=a88m;try{const c=this[n(0x16d)][n(0x157)](b['env']);let d='';a[n(0x172)]>0x0&&(d=a[0x0]);const f=a88f[n(0x16e)](c,n(0x16c)),g=a88e[n(0x170)](f)[n(0x162)](),h=JSON[n(0x16b)](g);Object[n(0x156)](h,{'env':c}),SSH[n(0x15c)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b[n(0x15a)]});}catch(i){console[n(0x159)](i),process[n(0x168)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a89y=a89d;(function(a,b){const v=a89d,c=a();while(!![]){try{const d
|
|
1
|
+
const a89y=a89d;(function(a,b){const v=a89d,c=a();while(!![]){try{const d=parseInt(v(0xf6))/0x1*(-parseInt(v(0xf5))/0x2)+parseInt(v(0xdc))/0x3+-parseInt(v(0xd4))/0x4*(parseInt(v(0xe2))/0x5)+parseInt(v(0xc6))/0x6*(parseInt(v(0xd7))/0x7)+parseInt(v(0xfa))/0x8+-parseInt(v(0xd1))/0x9*(-parseInt(v(0xe6))/0xa)+parseInt(v(0xf9))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0x337eb));const a89b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a89d;if(c){const e=c[w(0xf7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){const x=a89d;return a89a[x(0xf8)]()['search'](x(0xce))[x(0xf8)]()['constructor'](a89a)[x(0xc8)]('(((.+)+)+)+$');});a89a();import a89e from'fs';import a89f from'path';function a89d(a,b){const c=a89c();return a89d=function(d,e){d=d-0xc1;let f=c[d];return f;},a89d(a,b);}import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';function a89c(){const A=['exit','692548EWUaID','maka\x20ssl\x20[command]','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','220129xRdvLW','letsencrypt','success','email','env','54576sKaean','genSSC','writeFileSync','Using\x20saved\x20letsencrypt\x20config','ssl','notice','5FWWIXV','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','create','Checking\x20remote\x20host\x20availability','322550NHgZcv','fsi','existsSync','.crt','start','[?]\x20Domains\x20to\x20register:\x20','Create\x20and\x20manage\x20your\x20SSL\x20operations.','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','withSpinner','error','domainNames','generate-ssc','ssh','uname\x20-a','join','12RQuqcp','61329ehsPTH','apply','toString','184855emrQIN','620744PcfYTq','sudo\x20snap\x20install\x20--classic\x20certbot','ask','\x20--email\x20','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','New\x20CSR\x20written\x20to\x20','readFileSync','stringify','appName','letsencrypt.json','domains','42NZSkBi','.csr','search','mkKeysDir','parse','ping','getConfigPath','Please\x20provide\x20a\x20command.','(((.+)+)+)+$','assign','.key','117kjWqbJ','getProjectConfig'];a89c=function(){return A;};return a89c();}import{SSL}from'../tools/ssl/ssl.class.js';Command[a89y(0xe4)]({'name':a89y(0xe0),'usage':a89y(0xd5),'validOpts':[a89y(0xc5),a89y(0xda)],'requiredOpts':['env'],'shortDesc':a89y(0xec),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':['maka\x20ssl\x20--env\x20dev\x20generate-csr','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process']},async function(a,b){const z=a89y,c=this[z(0xe7)][z(0xd2)](),d=this['fsi'][z(0xcc)](b[z(0xdb)]),f=this[z(0xe7)][z(0xc9)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g==='generate-csr')SSL['genCSR']({'keyName':c['appName']+z(0xd0),'csrName':c[z(0xc3)]+z(0xc7),'cwd':f});else{if(g===z(0xf1)){if(!a89e[z(0xe8)](a89f['join'](f,c[z(0xc3)]+z(0xd0))))throw'The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20'+a89f[z(0xf4)](f,c[z(0xc3)]+'.key');if(!a89e[z(0xe8)](a89f[z(0xf4)](f,c[z(0xc3)]+z(0xc7))))throw z(0xe3)+a89f[z(0xf4)](f,c[z(0xc3)]+z(0xc7));SSL[z(0xdd)]({'keyName':c['appName']+z(0xd0),'crtName':c['appName']+z(0xe9),'cwd':f}),Log[z(0xe1)](z(0xff)+f);}else{if(g===z(0xd8)){let h=b['domains'],i=b[z(0xda)];try{const p=a89e[z(0xc1)](a89f[z(0xf4)](d,z(0xc4)))[z(0xf8)](),q=JSON['parse'](p);h=b[z(0xc5)]?b['domains']:q[z(0xf0)],i=b[z(0xda)]?b[z(0xda)]:q['emailUpdate'],(!b[z(0xda)]||!b[z(0xc5)])&&Log['notice'](z(0xdf));}catch(r){}const j=JSON[z(0xca)](a89e[z(0xc1)](d+'/ssh.json')[z(0xf8)]());Object[z(0xcf)](j,{'env':d}),Log['notice'](z(0xe5));try{const s=SSH[z(0xcb)](z(0xf3),j);if(!s)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(s)Log[z(0xd9)]('Remote\x20host\x20connection\x20successful');}catch(t){Log[z(0xef)](t);return;}const k=Log[z(0xee)]();k[z(0xea)]('Verifying\x20Letsencrypt\x20configuration'),SSH[z(0xf2)](z(0xed),{...j}),SSH[z(0xf2)](z(0xfb),{...j}),SSH[z(0xf2)](z(0xfe),{...j}),k[z(0xd9)]();const l=h?h:await Actions[z(0xfc)](z(0xeb)),m=i?i:await Actions['ask']('Email\x20to\x20use\x20for\x20auto-updates:\x20');SSH[z(0xf2)](z(0xd6)+l+z(0xfd)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0xc2)](n,null,0x2);a89e[z(0xde)](a89f[z(0xf4)](d,z(0xc4)),o);}else throw z(0xcd);}}}catch(u){console[z(0xef)](u),process[z(0xd3)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a90q=a90d;(function(a,b){const m=a90d,c=a();while(!![]){try{const d=parseInt(m(0x1ef))/0x1+-parseInt(m(0x211))/0x2+parseInt(m(0x210))/0x3*(-parseInt(m(0x1f6))/0x4)+-parseInt(m(0x1fe))/0x5+-parseInt(m(0x1df))/0x6+-parseInt(m(0x214))/0x7*(parseInt(m(0x209))/0x8)+-parseInt(m(0x1ff))/0x9*(-parseInt(m(0x1e5))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0xdc73a));const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a90d;if(c){const e=c[n(0x1e8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const o=a90d;return a90a[o(0x1de)]()['search'](o(0x1e3))['toString']()[o(0x1f1)](a90a)[o(0x212)](o(0x1e3));});a90a();import a90e from'fs';import a90f from'path';import a90g from'dotenv';function a90c(){const t=['24870VBIgjS','join','create','apply','port','--driver-package','--full-app','--settings','driver-package','exit','181983BPzbVo','config.json','constructor','env','Node\x20Env\x20Config:\x20','testAppPath','inspect','6924zyeBQt','config','splice','Meteor\x20Settings:\x20','utf8','argv','--driver','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','7681480GGkLAE','17289zLncYQ','mocha','settings.json','once','test-packages','jasmine','fsi','packages','findProjectDirectory','Cannot\x20find\x20Node\x20Environment\x20File:\x20','32nUbJBW','parse','unit','none','getConfigPath','test','warn','1878vLQNEt','1417972HWSsFn','search','rawLogs','694358NgoZwi','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','driver','filter','error','isFile','maka\x20test\x20<opts>','--packages','toString','1985256XkStJo','--env','slice','engines','(((.+)+)+)+$','concat'];a90c=function(){return t;};return a90c();}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const p=a90d;a90e['openSync'](a,'r'),a90g[p(0x1f7)]({'path':a});};function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0x1de;let f=c[d];return f;},a90d(a,b);}Command[a90q(0x1e7)]({'name':a90q(0x20e),'mustBeInMakaProject':!![],'validOpts':[a90q(0x202),a90q(0x206),a90q(0x216),'driverPackage',a90q(0x20b),a90q(0x1f2),a90q(0x213),a90q(0x1e9),a90q(0x1f5),a90q(0x1f4)],'usage':a90q(0x21a),'shortDesc':a90q(0x1fd),'examples':[]},function(a,b){const r=a90q;try{let c=this[r(0x205)][r(0x20d)]('development');b[r(0x1f2)]&&(c=this['fsi'][r(0x20d)](b[r(0x1f2)]));(!b[r(0x20b)]||!!b[r(0x202)])&&(a=a[r(0x1e4)]([r(0x1eb)]));b[r(0x20b)]&&delete b['unit'];let d=b[r(0x1ed)]||b[r(0x216)]||r(0x20c);if(d===r(0x20c)){const j=JSON[r(0x20a)](a90e['readFileSync'](a90f[r(0x1e6)](this[r(0x205)][r(0x207)](),'.maka',r(0x1f0)),r(0x1fa)));if(j['engines'][r(0x20e)]===r(0x204))d='sanjo:jasmine';else j[r(0x1e2)][r(0x20e)]===r(0x200)&&(d='meteortesting:mocha');}if(d===r(0x20c))throw'This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)';(!b['driver-package']||!b[r(0x216)])&&(a=a[r(0x1e4)]([r(0x1ea),d]));const f=a90f[r(0x1e6)](c,r(0x201));this['fsi'][r(0x219)](f)?(Log['notice'](r(0x1f9)+f),a=a[r(0x1e4)]([r(0x1ec),f])):Log[r(0x20f)](r(0x215)+f);const g=a90f[r(0x1e6)](c,'process.env');this['fsi'][r(0x219)](g)?(Log['notice'](r(0x1f3)+g),syncSource(g)):Log[r(0x20f)](r(0x208)+g);const h=process[r(0x1fb)][r(0x1e1)](0x2)['filter'](k=>k!==r(0x1e0))['filter'](k=>k!=='test')[r(0x217)](k=>k!==a[0x0]);h['forEach']((k,l)=>{const s=r;(k==='--env'||k===s(0x1fc))&&h[s(0x1f8)](l,0x2),k===s(0x21b)&&h[s(0x1f8)](l,0x1);});const i=b[r(0x206)]?r(0x203):r(0x20e);this[r(0x205)]['invokeMeteorCommand'](i,a[r(0x1e4)](h));}catch(k){console[r(0x218)](k),process[r(0x1ee)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a91c(){const p=['
|
|
1
|
+
function a91d(a,b){const c=a91c();return a91d=function(d,e){d=d-0x1c0;let f=c[d];return f;},a91d(a,b);}const a91n=a91d;(function(a,b){const k=a91d,c=a();while(!![]){try{const d=-parseInt(k(0x1c7))/0x1*(-parseInt(k(0x1d7))/0x2)+parseInt(k(0x1cc))/0x3*(parseInt(k(0x1dd))/0x4)+-parseInt(k(0x1d1))/0x5+-parseInt(k(0x1ec))/0x6*(parseInt(k(0x1dc))/0x7)+parseInt(k(0x1e1))/0x8+-parseInt(k(0x1d2))/0x9*(parseInt(k(0x1db))/0xa)+parseInt(k(0x1d9))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0x8dd33));const a91b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a91d;if(c){const e=c[l(0x1d0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){const m=a91d;return a91a['toString']()[m(0x1c4)](m(0x1ed))[m(0x1c9)]()[m(0x1eb)](a91a)[m(0x1c4)](m(0x1ed));});a91a();import{execSync}from'child_process';function a91c(){const p=['(((.+)+)+)+$','N/A','maka\x20version\x20--verbose','----------------------Project----------------------------','getProjectMeteorVersion','meteor','compareMakaToLatest','version','search','\x20node\x20-v','verbose','2txHHsy','Maka\x20','toString','\x0a\x20\x20When\x20using\x20the\x20--verbose\x20flag,\x20maka\x20will\x20also\x20check\x20the\x20version\x20of\x20the\x20system\x27s\x20meteor\x20and\x20node\x20versions\x0a\x20\x20along\x20with\x20the\x20project\x27s\x20meteor\x20and\x20node\x20versions.\x20If\x20the\x20system\x27s\x20meteor\x20version\x20is\x20greater\x20than\x20the\x0a\x20\x20project\x27s\x20meteor\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20meteor\x20version.\x20If\x20the\x20system\x27s\x20node\x0a\x20\x20version\x20is\x20greater\x20than\x20the\x20project\x27s\x20node\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20node\x20version.\x0a\x20\x20','Project\x27s\x20Meteor\x20Node\x20Version\x20','15HOUUzp','error','majestic','----------------------System----------------------------','apply','4723620YXPpiE','1026aJBtDG','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','maka\x20version','bright','create','138766HpcTIU','Project\x27s\x20Meteor\x20Version\x20','13426490hbakoj','fsi','11640IetyPY','2180528uTLefA','9352QvAOQX','4.6.5','meteor.bat','maka\x20v','4790344tleiUG','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','\x0a\x20To\x20get\x20the\x20mongo\x20version\x20in\x20use\x20by\x20meteor:\x0a\x201)\x20Run\x20the\x20project,\x20\x22maka\x20run\x22\x0a\x202)\x20In\x20a\x20new\x20terminal\x20open\x20the\x20mongo\x20shell,\x20\x22maka\x20mongo\x22','warn','isMakaProject','System\x27s\x20Node\x20Version\x20','node\x20-v','getProjectsMeteorNodeVersion','getGlobalMeteorVersion','replace','constructor','6ibdDsJ'];a91c=function(){return p;};return a91c();}import a91e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const pjson={'version':a91n(0x1de)};Command[a91n(0x1d6)]({'name':a91n(0x1c3),'aliases':['v'],'usage':a91n(0x1d4),'maxArgLength':0x1,'validOpts':['verbose'],'shortDesc':'Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','examples':[a91n(0x1e0),a91n(0x1d4),a91n(0x1ef)],'description':a91n(0x1ca)},async function(a,b){const o=a91n;try{const c=process['platform']==='win32'?o(0x1df):o(0x1c1);Log[o(0x1ce)](o(0x1c8)+pjson[o(0x1c3)]),await this[o(0x1da)][o(0x1c2)]();if(b[o(0x1c6)]){await this[o(0x1da)][o(0x1c2)](),Log[o(0x1d5)](o(0x1cf));const d=this[o(0x1da)][o(0x1e9)]();Log[o(0x1d5)](('System\x27s\x20Meteor\x20Version\x20'+d)[o(0x1ea)]('\x0a',''));const f=execSync(c+o(0x1c5))[o(0x1c9)]()[o(0x1ea)](/\r?\n|\r/,'')['replace']('v','');Log[o(0x1d5)]('System\x27s\x20Meteor\x27s\x20Node\x20Version\x20'+f);const g=execSync(o(0x1e7))['toString']()[o(0x1ea)](/\r?\n|\r/,'')['replace']('v','');a91e['gt'](f,g)?(Log[o(0x1e4)](o(0x1e6)+g),Log[o(0x1e4)](o(0x1d3)+g+')\x20to\x20at\x20least\x20meteor\x27s\x20('+f+')')):Log[o(0x1d5)](o(0x1e6)+g);if(this['fsi'][o(0x1e5)]()){Log['bright'](o(0x1f0));const h=this['fsi'][o(0x1c0)]();a91e['gt'](d,h)?(Log['warn'](o(0x1d8)+h[o(0x1ea)]('\x0a','')),Log[o(0x1e4)](o(0x1e2)+d+'\x22')):Log['notice']((o(0x1d8)+h)[o(0x1ea)]('\x0a',''));const i=await this['fsi'][o(0x1e8)]();i===o(0x1ee)?(Log[o(0x1e4)](o(0x1cb)+i),Log['warn']('\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.')):Log[o(0x1d5)](o(0x1cb)+i),Log[o(0x1d5)](o(0x1e3));}}}catch(j){console[o(0x1cd)](j),process['exit'](0x0);}});
|
package/bundle/obf/src/error.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a92d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a92d,c=a();while(!![]){try{var d=parseInt(f(0x1e9))/0x1*(parseInt(f(0x1e7))/0x2)+parseInt(f(0x1ee))/0x3+parseInt(f(0x1f2))/0x4+parseInt(f(0x1eb))/0x5+-parseInt(f(0x1ed))/0x6+parseInt(f(0x1f4))/0x7*(parseInt(f(0x1ea))/0x8)+parseInt(f(0x1e8))/0x9*(-parseInt(f(0x1f3))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0x32d48));var a92b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a92d;if(c){var e=c[g(0x1e6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){var h=a92d;return a92a[h(0x1f0)]()[h(0x1ef)](h(0x1f1))[h(0x1f0)]()[h(0x1ec)](a92a)[h(0x1ef)](h(0x1f1));});a92a();export class UsageError{}export class UsageErrorWithSubs{}function a92d(a,b){var c=a92c();return a92d=function(d,e){d=d-0x1e6;var f=c[d];return f;},a92d(a,b);}export class MustBeInProjectError{}function a92c(){var i=['search','toString','(((.+)+)+)+$','1036720DswVUt','130tRXrvO','37982FwxmLa','apply','130yswpxe','225684blmFuC','547NvTqdZ','296BMMNKE','980145hylmua','constructor','1541040wPAjGi','298506ssyaaN'];a92c=function(){return i;};return a92c();}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
|
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=parseInt(f(
|
|
2
|
+
function a93c(){var j=['env','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','search','1314388PgSfqT','4gFEwCx','NODE_OPTIONS','85nrhsCO','2339352lKLQty','1729497BpxNKD','232689OpTnCy','toString','constructor','apply','252210lnRCke','295237FIWMxj','3575358XhilPU','(((.+)+)+)+$'];a93c=function(){return j;};return a93c();}var a93i=a93d;(function(a,b){var f=a93d,c=a();while(!![]){try{var d=parseInt(f(0x1bf))/0x1+parseInt(f(0x1c6))/0x2*(-parseInt(f(0x1cb))/0x3)+-parseInt(f(0x1c5))/0x4+-parseInt(f(0x1c8))/0x5*(-parseInt(f(0x1cf))/0x6)+-parseInt(f(0x1ca))/0x7+-parseInt(f(0x1c9))/0x8+parseInt(f(0x1c0))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0x5db89));function a93d(a,b){var c=a93c();return a93d=function(d,e){d=d-0x1bf;var f=c[d];return f;},a93d(a,b);}var a93b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a93d;if(c){var e=c[g(0x1ce)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){var h=a93d;return a93a[h(0x1cc)]()[h(0x1c4)](h(0x1c1))[h(0x1cc)]()[h(0x1cd)](a93a)['search'](h(0x1c1));});a93a(),process[a93i(0x1c2)][a93i(0x1c7)]=a93i(0x1c3);import'./maka.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a94w=a94d;(function(a,b){const s=a94d,c=a();while(!![]){try{const d
|
|
1
|
+
const a94w=a94d;(function(a,b){const s=a94d,c=a();while(!![]){try{const d=-parseInt(s(0x1f3))/0x1*(parseInt(s(0x1e5))/0x2)+parseInt(s(0x1aa))/0x3*(parseInt(s(0x1a6))/0x4)+-parseInt(s(0x1d3))/0x5+-parseInt(s(0x1c1))/0x6*(-parseInt(s(0x1b3))/0x7)+parseInt(s(0x19e))/0x8*(-parseInt(s(0x1c9))/0x9)+parseInt(s(0x1f9))/0xa+parseInt(s(0x1f8))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0x72a29));const a94b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a94d;if(c){const e=c[t(0x1ff)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){const u=a94d;return a94a[u(0x1f7)]()['search'](u(0x1be))['toString']()[u(0x1b9)](a94a)[u(0x1ec)](u(0x1be));});a94a();import a94e from'path';import a94f from'cli-table';import{paramCase}from'change-case';import a94g from'./generators/maka.gen.js';import{Log,ColorMode}from'./tools/log/log.class.js';function a94d(a,b){const c=a94c();return a94d=function(d,e){d=d-0x19c;let f=c[d];return f;},a94d(a,b);}import{Tool}from'./tool.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError}from'./error.js';let _prevGen='';function inside(a='.',b){const v=a94d,c=process[v(0x1ef)]();let d=null;try{process['chdir'](a),d=b();}finally{process['chdir'](c);}return d;}function a94c(){const I=['checkWhere','listGenerators','proFlags','dir','setColorMode','Generator.create\x20requires\x20a\x20handler\x20function!','validateMakaProject','maxArgLength','options','includes','validateParams','492566cVkrfI','tableList','forEach','noResource','create','notice','bind','search','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator','Both','cwd','Location','error','slice','1xnlliY','proGenerators','assign','_generators','toString','7023258THYkez','1927900UzXDjH','Name','exit','There\x20is\x20no\x20Meteor\x20application\x20here','getPro','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','apply','parent','DARK','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','maxOptsLength','number','root','1924904fSFdnD','function','fsi','Description','minArgLength','join','validateMeteorInstall','pallet','4pNeMjF','Server','Too\x20many\x20options','Please\x20run\x20\x22maka\x20install\x20meteor\x22','662253BsDpAL','client','Too\x20few\x20arguments','map','roles','server','find','colLocAnswer','keys','42847OXfNhp','appPathPrefix','match','mustHaveMeteorInstalled','name','Generators:','constructor','both','length','aliases','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','(((.+)+)+)+$','push','_handler','474MlEuPn','pop','help','addGenerator\x20requires\x20a\x20Generator\x20instance','Too\x20many\x20arguments','minOptsLength','lib','findGenerator','9LlAIxz','invoke','resourceName','singleLicense','getGlobalConfig','shortDesc','bright','To\x20use\x20this\x20generator,\x20\x22','Too\x20few\x20options','sort','2895685PPArpS','To\x20use\x20these\x20pro\x20flags,\x20\x22','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','where','No\x20resource\x20name\x20specified','validateMakaSubscription','mustBeInMakaProject'];a94c=function(){return I;};return a94c();}export class Generator extends Tool{[a94w(0x1e2)];['_generators'];constructor(a,b){const x=a94w;super();if(!a)throw new Error(x(0x1d5));if(!a[x(0x1b7)])throw new Error('Generator\x20requires\x20a\x20name');if(typeof b!=='function')throw new Error('Generator\x20requires\x20a\x20handler\x20function');this[x(0x1f6)]=[],this[x(0x1e2)]=Object['assign']({},a),this['name']=this[x(0x1e2)]['name'],this[x(0x1c0)]=b[x(0x1eb)](this);}static[a94w(0x1e9)](a,b,c){const y=a94w;if(!a)throw new Error('Generator.create\x20requires\x20some\x20options!');if(typeof b!==y(0x19f))throw new Error(y(0x1df));const d=new Generator(a,b);return c=c||a94g,Object[y(0x1f5)](d,{'parent':c?.[y(0x1e2)]?.['name']}),c['addGenerator'](d),d;}['addGenerator'](a){const z=a94w;if(!(a instanceof Generator))throw new Error(z(0x1c4));this[z(0x1f6)]['push'](a);}[a94w(0x1c8)](a){const A=a94w,b=this['_generators'][A(0x1b0)](c=>c[A(0x1b5)](a));return b;}async[a94w(0x1d8)](a,b){const B=a94w,c=this[B(0x1c8)](a[0x0]);if(c){const d=c?.[B(0x1b7)]||a[0x0],e=c?.[B(0x200)]||'',f=Object[B(0x1b2)](b),g=await this['fsi'][B(0x1fd)]();!g&&(Log[B(0x1f1)](B(0x1fe)),process[B(0x1fb)](0x1));const h=!g?.[B(0x1ae)][B(0x1e3)](B(0x1cc))&&!g?.[B(0x1ae)][B(0x1e3)]('domainLicense'),i=g?.[B(0x1f4)][B(0x1e3)](d)||g?.[B(0x1f4)][B(0x1e3)](e);if(i&&h)throw B(0x1d0)+d+B(0x1bd);if(f[B(0x1bb)]>0x0){const j=g?.[B(0x1dc)]['filter'](k=>f[B(0x1e3)](k));if(j&&j[B(0x1bb)]>0x0&&h)throw B(0x1d4)+j?.[B(0x1a3)](',\x20')+B(0x1bd);}}}async[a94w(0x1ca)](a,b){const C=a94w,{usage:usage='',description:description='',examples:examples=[],shortDesc:c,requiredOpts:requiredOpts=[],validOpts:d}=this[C(0x1e2)],f=await this[C(0x1a0)][C(0x1cd)](),g=f[C(0x1a5)]==='light'?ColorMode['LIGHT']:ColorMode[C(0x201)];Log[C(0x1de)](g);try{await this[C(0x1d8)](a,b);}catch(i){Log[C(0x1f1)](i),process[C(0x1fb)](0x1);}const h=a[C(0x1f2)]();b[C(0x1cb)]=h[0x0];try{if((a[0x0]===_prevGen||a[C(0x1bb)]===0x0)&&b['help'])throw new UsageError();if(this[C(0x1e2)][C(0x1d9)]){const j=this[C(0x1e0)]();if(!j)throw new MustBeInProjectError();}if(this[C(0x1e2)][C(0x1b6)]){const k=this[C(0x1a4)]();if(!k)throw new NoMeteorFoundError();}if(typeof this[C(0x1e2)][C(0x1a2)]===C(0x19c)){if(a[C(0x1bb)]<this[C(0x1e2)][C(0x1a2)]){Log[C(0x1f1)](C(0x1ac));throw new UsageError();}}if(typeof this[C(0x1e2)][C(0x1e1)]==='number'){if(a[C(0x1bb)]>this[C(0x1e2)]['maxArgLength']){Log['error'](C(0x1c5));throw new UsageError();}}if(typeof this[C(0x1e2)][C(0x1c6)]===C(0x19c)){if(Object[C(0x1b2)](b)['length']<this[C(0x1e2)][C(0x1c6)]){Log[C(0x1f1)](C(0x1d1));throw new UsageError();}}if(typeof this[C(0x1e2)][C(0x203)]===C(0x19c)){if(Object[C(0x1b2)](b)[C(0x1bb)]>=this[C(0x1e2)][C(0x203)]){Log[C(0x1f1)](C(0x1a8));throw new UsageError();}}await this[C(0x1e4)](a,b,this[C(0x1e2)]);if(!b[C(0x1cb)]&&!this[C(0x1e2)][C(0x1e8)]){Log[C(0x1f1)](C(0x1d7));throw new UsageError();}_prevGen=a[0x0];}catch(l){Log['usage'](description,examples,usage,c,requiredOpts,d);if(l instanceof UsageError)this[C(0x1f6)][C(0x1bb)]>0x0&&b[C(0x1c3)]&&(Log[C(0x1ea)](C(0x1b8)),this['tableList'](this['_generators']));else{if(l instanceof MustBeInProjectError)Log[C(0x1f1)](C(0x1ed));else{if(l instanceof NoMeteorFoundError)Log[C(0x1f1)](C(0x202)),Log['notice'](C(0x1a9));else{if(l instanceof NoMeteorAppFoundError)Log[C(0x1f1)](C(0x1fc));else throw l;}}}process['exit'](0x1);}return new Promise(m=>{const D=C;inside(b[D(0x1ef)],async()=>{const E=D;try{if(!b[E(0x19d)]&&!this[E(0x1a0)]['findProjectDirectory']())throw new MustBeInProjectError();const n=b[E(0x1cb)]?.['replace'](/\\/g,'/')['split']('/');!b['dir']&&(n?.[E(0x1bb)]>0x1?(b[E(0x1cb)]=n[E(0x1c2)](),h[0x0]=b[E(0x1cb)],b[E(0x1dd)]=n[E(0x1ad)](o=>{return paramCase(o);})[E(0x1a3)](a94e['sep'])):b[E(0x1dd)]='');if(this[E(0x1e2)][E(0x1da)]){if(!b[E(0x1d6)]){const p={'type':'list','name':E(0x1b1),'message':E(0x1f0),'choices':[{'name':'Client','value':E(0x1ab)},{'name':E(0x1a7),'value':E(0x1af)},{'name':E(0x1ee),'value':E(0x1ba)}]},{colLocAnswer:q}=await Actions[E(0x1e2)](p);q?b[E(0x1d6)]=q:b[E(0x1d6)]=E(0x1ba);}const o=['both','client',E(0x1af)];if(!o[E(0x1e3)](b[E(0x1d6)])){Log[E(0x1f1)]('--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27');throw new UsageError();}switch(b[E(0x1d6)]){case E(0x1ba):b[E(0x1b4)]=E(0x1c7);break;case E(0x1af):b['appPathPrefix']='server';break;case E(0x1ab):b['appPathPrefix']=E(0x1ab);break;default:b[E(0x1b4)]='';}}m(this[E(0x1c0)]['call'](this,h,b));}catch(r){console[E(0x1f1)](r);}});});}[a94w(0x1db)](){const F=a94w;this[F(0x1e6)](this[F(0x1f6)]);}['tableList'](a){const G=a94w,b=new a94f({});b[G(0x1bf)]([G(0x1fa),'Alias',G(0x1a1)]),a[G(0x1d2)]()[G(0x1e7)](c=>{const H=G;b[H(0x1bf)]([c[H(0x1b7)],c[H(0x1bc)](),c[H(0x1ce)]()]);}),Log[G(0x1cf)](b[G(0x1f7)]());}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a95d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a95d,c=a();while(!![]){try{var d=parseInt(f(0x1d1))/0x1+parseInt(f(0x1d0))/0x2+parseInt(f(0x1c7))/0x3+-parseInt(f(0x1cf))/0x4+parseInt(f(0x1c6))/0x5+-parseInt(f(0x1c9))/0x6+-parseInt(f(0x1c8))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a95c,0xec298));var a95b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a95d;if(c){var e=c[g(0x1ce)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a95a=a95b(this,function(){var h=a95d;return a95a[h(0x1cd)]()['search'](h(0x1cc))[h(0x1cd)]()[h(0x1cb)](a95a)[h(0x1ca)](h(0x1cc));});a95a();import'./services/_index.js';import'./api.js';import'./collection.js';function a95d(a,b){var c=a95c();return a95d=function(d,e){d=d-0x1c6;var f=c[d];return f;},a95d(a,b);}import'./component.js';import'./config.js';function a95c(){var i=['1801346kMQkRj','8263630XwwHFm','3563178RCxiuO','10140886GGdQRt','9304200rDDygC','search','constructor','(((.+)+)+)+$','toString','apply','6058992IETzmq','1679336fpxOmu'];a95c=function(){return i;};return a95c();}import'./dbc.js';import'./hook.js';import'./kit.js';import'./layout.js';import'./methods.js';import'./package.js';import'./publish.js';import'./route.js';import'./service.js';import'./page.js';import'./maka.gen.js';import'./dockerfile.js';import'./maka.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a96z=a96d;(function(a,b){const w=a96d,c=a();while(!![]){try{const d=-parseInt(w(
|
|
1
|
+
const a96z=a96d;(function(a,b){const w=a96d,c=a();while(!![]){try{const d=-parseInt(w(0xd5))/0x1+parseInt(w(0x10c))/0x2+parseInt(w(0xbc))/0x3*(-parseInt(w(0xf1))/0x4)+-parseInt(w(0x115))/0x5*(parseInt(w(0x10e))/0x6)+parseInt(w(0xb8))/0x7+parseInt(w(0xe0))/0x8*(parseInt(w(0xf3))/0x9)+-parseInt(w(0xfb))/0xa*(parseInt(w(0x113))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a96c,0xad1ec));function a96c(){const C=['checkMeteorPackage','fsi','TypeDefs\x20}\x20from\x20\x27','api/api.js','maka:rest\x20maka:check\x20ddp-rate-limiter\x20mdg:validated-method\x20mongo','length','2806710LmYHAN','engines','apply','/imports/api','injectIntoFile','import\x20{\x20typeDefs\x20as\x20','REST\x20API','push','.app-tests.','withRest','api','graphql','injectAtBeginningOfFile','GraphQL','\x27;\x0a','rpc-methods.','api/publications.js','2704640ADqlDm','\x0aimport\x20{\x20resolvers\x20as\x20','36LoMbos','tsx','index.','imports','invoke','11QKGfNB','-api.','768485WrJiAO','import\x20\x27./register-','options','pathFromApp','api/fixtures.js','9703715eEPeQE','resolverList.push(','rewriteDestinationPathForEngine','error','6IGkoJj','ddp-rate-limiter','maka\x20g:api\x20Todos','Verifying\x20meteor\x20package\x20requirements\x20...','template','typeList.push(','Scaffolding\x20for\x20an\x20api\x20concept\x20(i.e.\x20Todos).','withPubs','includes','exit','installMeteorPackage','api/typeDefs.js','Resolvers\x20}\x20from\x20\x27','RPC\x20(Methods)','\x0a\x20\x20Scaffolding\x20for\x20an\x20api\x20concept\x20(i.e.\x20Todos).\x0a\x0a\x20\x20The\x20api\x20generator\x20will\x20create\x20a\x20collection,\x20publications,\x20methods,\x20fixtures,\x20and\x20tests\x0a\x20\x20for\x20the\x20given\x20resource\x20name.\x0a\x0a\x20\x20The\x20api\x20generator\x20will\x20ask\x20which\x20boundaries\x20to\x20create.\x20The\x20choices\x20are:\x0a\x20\x20\x20\x20-\x20RPC\x20(Methods)\x0a\x20\x20\x20\x20-\x20Fixtures\x0a\x20\x20\x20\x20-\x20Publications\x0a\x20\x20\x20\x20-\x20REST\x20API\x0a\x20\x20\x20\x20-\x20GraphQL\x0a\x0a\x20\x20','apollo','publications.','maka\x20{generate,\x20g}:{api}\x20<resource-name>','withMethods','const','/graphql/typeDefs','withValue','findGenerator','collection','api/tests.js','746553FhYmck','mdg:validated-method','dir','rest-api.','-api\x27;','toString','(((.+)+)+)+$','maka:rest','No\x20API\x20boundaries\x20selected','withFixtures','fixtures.','232QUEWBx','search','getProjectConfig','TypeDefs);\x0a','withGql','api/register-api.js','Resolvers);\x0a\x0a','notice','none','API\x20boundaries\x20to\x20create','if\x20\x5c(typeList','apiAnswers','create','rest','startup','server','mongo','1863056fCwPoK','resourceName','264249nRQmUr','test'];a96c=function(){return C;};return a96c();}const a96b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a96d;if(c){const e=c[x(0xfd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a96a=a96b(this,function(){const y=a96d;return a96a[y(0xda)]()['search'](y(0xdb))['toString']()['constructor'](a96a)[y(0xe1)](y(0xdb));});a96a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import a96e from'../generators/maka.gen.js';function a96d(a,b){const c=a96c();return a96d=function(d,e){d=d-0xb4;let f=c[d];return f;},a96d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';Generator[a96z(0xec)]({'name':a96z(0x105),'aliases':['a'],'usage':a96z(0xcd),'shortDesc':a96z(0xc2),'validOpts':['dir'],'examples':[a96z(0xbe)],'description':a96z(0xca)},async function(a,b){const A=a96z;try{const c=this[A(0xf6)][A(0xe2)](),d=[{'name':A(0xc9),'value':A(0xce)},{'name':'Fixtures','value':'withFixtures'},{'name':'Publications','value':'withPubs'}];c[A(0xfc)][A(0x105)]===A(0xed)&&d[A(0x102)]({'name':A(0x101),'value':A(0x104)});c[A(0xfc)][A(0x106)]==='apollo'&&d['push']({'name':A(0x108),'value':A(0xe4)});const f={'type':'checkbox','name':A(0xeb),'message':A(0xe9),'pageSize':0x64,'choices':d},{apiAnswers:g}=await Actions[A(0xb5)](f);g[A(0xfa)]===0x0&&(Log['error'](A(0xdd)),process['exit'](0x1)),this[A(0xf6)][A(0xd1)](c,async()=>{const B=A,h=this[B(0xf6)][B(0xb6)]({}),i=b[B(0xf2)],j=paramCase(i),k=camelCase(i),l=b[B(0xd7)]?'/'+b[B(0xd7)]+'/':'/',m={'name':pascalCase(i),'fileName':j,'camelCase':pascalCase(i),'optsDir':l,'api':c[B(0xfc)][B(0x105)],'graphql':c[B(0xfc)][B(0x106)],'test':c[B(0xfc)][B(0xf4)],'noRename':!![],'withPubs':g['includes'](B(0xc3)),'withFixtures':g[B(0xc4)](B(0xde)),'withMethods':g['includes']('withMethods'),'withRest':g['includes']('withRest')};let n='js';c['engines']['js']===B(0x10f)&&(n='ts');(!this['fsi'][B(0xf5)](B(0xdc))||!this[B(0xf6)]['checkMeteorPackage']('maka:check')||!this[B(0xf6)][B(0xf5)](B(0xbd))||!this[B(0xf6)][B(0xf5)](B(0xd6))||!this[B(0xf6)][B(0xf5)](B(0xf0)))&&(Log[B(0xe7)](B(0xbf)),await this[B(0xf6)][B(0xc6)](B(0xf9),{'cwd':h}));const o=a96e[B(0xd2)](B(0xd3));o&&await o[B(0x112)]([j],{'config':c,'where':B(0xef)});c[B(0xfc)][B(0x105)]===B(0xed)&&(m[B(0x104)]&&this[B(0xf6)][B(0xc0)]({'srcPath':B(0xf8),'destPath':this[B(0xf6)][B(0xb6)]({'pathParts':[B(0x111),B(0x105),b[B(0xd7)],j,B(0xd8)+n]}),'context':m,'config':c}));m[B(0xce)]&&this['fsi']['template']({'srcPath':'api/methods.js','destPath':this[B(0xf6)][B(0xb6)]({'pathParts':['imports',B(0x105),b[B(0xd7)],j,B(0x10a)+n]}),'context':m,'config':c});m['withFixtures']&&this['fsi']['template']({'srcPath':B(0xb7),'destPath':this[B(0xf6)][B(0xb6)]({'pathParts':[B(0x111),B(0x105),b['dir'],j,B(0xdf)+n]}),'context':m,'config':c});c[B(0xfc)][B(0xf4)]!==B(0xe8)&&this[B(0xf6)][B(0xc0)]({'srcPath':B(0xd4),'destPath':this['fsi'][B(0xb6)]({'pathParts':[B(0x111),B(0x105),b[B(0xd7)],j,j+B(0x103)+n]}),'context':m,'config':c});m['withPubs']&&this[B(0xf6)][B(0xc0)]({'srcPath':B(0x10b),'destPath':this[B(0xf6)][B(0xb6)]({'pathParts':[B(0x111),'api',b[B(0xd7)],j,B(0xcc)+n]}),'context':m,'config':c});if(c[B(0xfc)][B(0x106)]===B(0xcb)){if(g[B(0xc4)](B(0xe4))){const q=this[B(0xf6)][B(0xb6)]({'pathParts':[B(0x111),B(0xee),B(0xef),B(0x110)+c[B(0xfc)]['js']]}),r=this[B(0xf6)][B(0xba)]({'pathParts':[q],'config':c}),s=this[B(0xf6)][B(0xb6)]({'pathParts':[B(0x111),B(0x105),b[B(0xd7)],j,'graphql','typeDefs.'+n]}),t=B(0xfe)+l+j+B(0xd0);this['fsi'][B(0xc0)]({'srcPath':B(0xc7),'destPath':s,'context':m,'config':c}),this['fsi']['injectAtBeginningOfFile']({'filePath':r,'content':B(0x100)+k+B(0xf7)+t+B(0x109)}),this[B(0xf6)][B(0xff)]({'filePath':r,'content':B(0xc1)+k+B(0xe3),'begin':B(0xcf),'end':'if\x20\x5c(typeList'});const u=this[B(0xf6)][B(0xb6)]({'pathParts':[B(0x111),'api',b['dir'],j,B(0x106),'resolvers.'+n]}),v=B(0xfe)+l+j+'/graphql/resolvers';this[B(0xf6)][B(0xc0)]({'srcPath':'api/resolvers.js','destPath':u,'context':m,'config':c}),this[B(0xf6)][B(0x107)]({'filePath':r,'content':B(0x10d)+k+B(0xc8)+v+'\x27;'}),this[B(0xf6)][B(0xff)]({'filePath':r,'content':B(0xb9)+k+B(0xe6),'begin':B(0xcf),'end':B(0xea)});}}this[B(0xf6)]['template']({'srcPath':B(0xe5),'destPath':this[B(0xf6)][B(0xb6)]({'pathParts':['imports','startup',B(0xef),'register-'+j+B(0x114)+n]}),'context':m,'config':c,'force':!![]});const p=this[B(0xf6)][B(0xb6)]({'pathParts':['imports','startup',B(0xef),'index.'+c[B(0xfc)]['js']]});this[B(0xf6)]['injectAtEndOfFile']({'filePath':p,'content':B(0xb4)+j+B(0xd9)});});}catch(h){console[A(0xbb)](h),process[A(0xc5)](0x0);}});
|