@maka/maka-cli 4.7.9 → 4.7.10
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/_index.js +1 -1
- package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
- package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.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/kits/_index.js +1 -1
- package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
- package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
- package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
- package/bundle/obf/src/generators/kits/kit.js +1 -1
- package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
- package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/mui.generator.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/templates/meteor/project/package.json +20 -0
- 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
|
-
const a78o=a78d;(function(a,b){const l=a78d,c=a();while(!![]){try{const d=-parseInt(l(
|
|
1
|
+
const a78o=a78d;(function(a,b){const l=a78d,c=a();while(!![]){try{const d=-parseInt(l(0x184))/0x1*(-parseInt(l(0x17a))/0x2)+-parseInt(l(0x17c))/0x3*(-parseInt(l(0x18a))/0x4)+parseInt(l(0x17d))/0x5+parseInt(l(0x16a))/0x6+-parseInt(l(0x17b))/0x7*(parseInt(l(0x171))/0x8)+-parseInt(l(0x181))/0x9*(parseInt(l(0x163))/0xa)+parseInt(l(0x178))/0xb*(-parseInt(l(0x177))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0x49c48));const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a78d;if(c){const e=c[m(0x15b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const n=a78d;return a78a[n(0x175)]()[n(0x16f)](n(0x172))[n(0x175)]()[n(0x15a)](a78a)[n(0x16f)](n(0x172));});a78a();function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x15a;let f=c[d];return f;},a78d(a,b);}function a78c(){const q=['notice','token','43UwQFvD','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','Logging\x20out','logout','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','error','8DMvcZL','constructor','apply','Preflight\x20Check','cert','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','assign','authToken','start','True','558430fJocKJ','MAKA_DEV','getGlobalConfig','cacert','Logging\x20out\x20of\x20https://','failure','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','3303444ZQWwex','exit','success','isFile','https://','search','Using\x20CA\x20Cert\x20','840YktpxY','(((.+)+)+)+$','setGlobalConfig','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','toString','post','5970072WzwvdP','11koxCVb','fsi','13696VSIPMT','28245NHzNkz','775113HhXkla','1541485tEZkNn','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','header','create','72YGejNo'];a78c=function(){return q;};return a78c();}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process['env'][a78o(0x164)]===a78o(0x162)?'localhost':'www.maka-cli.com';Command[a78o(0x180)]({'name':a78o(0x187),'validOpts':[a78o(0x166)],'usage':'maka\x20logout','maxArgLength':0x2,'shortDesc':a78o(0x15e),'disableAuthCheck':!![],'examples':['maka\x20logout']},async function(a,b){const p=a78o,c=Log['withSpinner']();try{let d='';b[p(0x166)]&&(this[p(0x179)][p(0x16d)](b['cacert'])?(d=b[p(0x166)],Log[p(0x182)](p(0x170)+d)):Log['error'](p(0x17e)+d));const f=await this[p(0x179)][p(0x165)]();if(f[p(0x15d)]){if(this[p(0x179)][p(0x16d)](f[p(0x15d)]))d=f['cert'];else{c[p(0x168)]();throw Log[p(0x189)](p(0x188)+d);}}Log[p(0x17f)](p(0x167)+hostname);const g={'url':p(0x16e)+hostname+'/api/v1/status'};b['cacert']&&Object[p(0x15f)](g,{'cert':d});c[p(0x161)](p(0x15c));const {statusCode:h}=await HTTPS['get'](g);if(h===0x198){c[p(0x168)]();throw p(0x169);}c[p(0x16c)]();if(h!==0xc8){c['failure']();throw p(0x185);}if(!f?.[p(0x183)]?.[p(0x160)])throw Log[p(0x189)](p(0x174));c[p(0x161)](p(0x186));const i={'hostname':hostname,'path':'/api/v1/logoutAll','data':{},'headers':{'x-auth-token':f[p(0x183)][p(0x160)]}};b[p(0x166)]&&Object[p(0x15f)](i,{'cert':d});const {statusCode:j}=await HTTPS[p(0x176)](i);if(j===0x198){c['failure']('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}this[p(0x179)][p(0x173)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[p(0x16c)]();}catch(k){k&&console['error'](k),process[p(0x16b)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a79l=a79d;(function(a,b){const j=a79d,c=a();while(!![]){try{const d=parseInt(j(0x137))/0x1+parseInt(j(0x140))/0x2*(-parseInt(j(0x14c))/0x3)+-parseInt(j(0x14b))/0x4*(-parseInt(j(0x147))/0x5)+parseInt(j(0x148))/0x6+-parseInt(j(0x13f))/0x7+parseInt(j(0x142))/0x8*(parseInt(j(0x145))/0x9)+parseInt(j(0x150))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0x4be74));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 k=a79d;return a79a[k(0x13a)]()[k(0x139)](k(0x151))[k(0x13a)]()[k(0x152)](a79a)[k(0x139)](k(0x151));});a79a();function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x137;let f=c[d];return f;},a79d(a,b);}import a79e from'fs';import a79f from'path';import{Command}from'../command.js';function a79c(){const n=['419872PkbGMd','logs','error','18WfQMje','log','562030uHjzGx','3104490XwlosY','fsi','View\x20the\x20PM2\x20logs','12OEkSYu','1490904oeOljF','readFileSync','verbose','maka\x20logs\x20--env\x20staging','698960NcDTND','(((.+)+)+)+$','constructor','maka\x20l\x20-e\x20p','parse','74290nVYRiA','env','search','toString','join','maka\x20logs','ssh.json','sshSync','2071433MjBjYD','2xxhuPb','getAppConfigPath'];a79c=function(){return n;};return a79c();}import{SSH}from'../tools/ssh/ssh.class.js';import{Log}from'../tools/log/log.class.js';Command['create']({'name':a79l(0x143),'aliases':['l',a79l(0x146)],'usage':a79l(0x13c),'requiredOpts':[a79l(0x138)],'mustBeInMakaProject':!![],'validOpts':[a79l(0x14e)],'shortDesc':a79l(0x14a),'isPro':!![],'examples':['maka\x20logs\x20--env\x20dev',a79l(0x14f),a79l(0x153)]},function(a,b){const m=a79l;try{const c='pm2\x20logs',d=this[m(0x149)][m(0x141)](b[m(0x138)]),f=a79f[m(0x13b)](d,m(0x13d)),g=a79e[m(0x14d)](f),h=JSON[m(0x154)](g[m(0x13a)]());Object['assign'](h,{'env':d}),SSH[m(0x13e)](c,h,{'tty':!![],'verbose':!![]});}catch(i){Log[m(0x144)](i);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a80c(){const j=['maka','11cosdsd','189tulkMF','8aeKvPc','maka\x20create\x20Todo','2242312mnuCwg','\x0a\x0a\x20\x20Scaffold\x20Web\x20Applications\x20with\x20Meteor\x20and\x20Maka-CLI\x0a\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--\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.::.\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.::.\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.::.\x0a\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.::.\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.::.\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.-:.\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.::.\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\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.-:.\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.-:.\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\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.-:\x0a\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\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::\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.:\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.:.\x0a\x0a\x20\x20','4VTzhhz','23262gOHKvt','maka\x20--help','constructor','1020034OgqTMI','splice','(((.+)+)+)+$','maka\x20run','26846573qDYBYg','27DEotmk','search','547701VPzjEJ','3823735fIpdEv','12dSpjUw','5696290iwegiO','maka\x20<command>\x20[<args>]\x20[<opts>]','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','toString','maka\x20install\x20meteor','exit'];a80c=function(){return j;};return a80c();}const a80h=a80d;(function(a,b){const f=a80d,c=a();while(!![]){try{const d=parseInt(f(0x11e))/0x1+-parseInt(f(0x116))/0x2*(-parseInt(f(0x125))/0x3)+-parseInt(f(0x11a))/0x4*(-parseInt(f(0x126))/0x5)+-parseInt(f(0x11b))/0x6*(parseInt(f(0x115))/0x7)+parseInt(f(0x118))/0x8*(parseInt(f(0x123))/0x9)+-parseInt(f(0x128))/0xa*(parseInt(f(0x114))/0xb)+parseInt(f(0x127))/0xc*(-parseInt(f(0x122))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0x96827));const a80b=(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;};}()),a80a=a80b(this,function(){const g=a80d;return a80a[g(0x110)]()['search'](g(0x120))[g(0x110)]()[g(0x11d)](a80a)[g(0x124)](g(0x120));});a80a();import{Command}from'../command.js';const Maka=new Command({'name':a80h(0x113),'minArgLength':0x1,'shortDesc':a80h(0x10f),'validOpts':[],'usage':a80h(0x10e),'disableAuthCheck':!![],'examples':[a80h(0x11c),a80h(0x111),a80h(0x117),a80h(0x121)],'description':a80h(0x119)},async function(a,b){const i=a80h;try{const c=a[0x0];a[i(0x11f)](0x0,0x1),await this['processAndRunCommand'](c,a,b);}catch(d){process[i(0x112)](0x1);}});function a80d(a,b){const c=a80c();return a80d=function(d,e){d=d-0x10e;let f=c[d];return f;},a80d(a,b);}export default Maka;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
function a81d(a,b){var c=a81c();return a81d=function(d,e){d=d-0x1a8;var f=c[d];return f;},a81d(a,b);}var a81h=a81d;(function(a,b){var f=a81d,c=a();while(!![]){try{var d=-parseInt(f(0x1b5))/0x1*(parseInt(f(0x1b0))/0x2)+-parseInt(f(0x1bc))/0x3*(parseInt(f(0x1b9))/0x4)+-parseInt(f(0x1ad))/0x5*(parseInt(f(0x1a8))/0x6)+-parseInt(f(0x1af))/0x7+-parseInt(f(0x1b3))/0x8*(parseInt(f(0x1bb))/0x9)+parseInt(f(0x1ba))/0xa+parseInt(f(0x1b2))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0x2fbfa));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(0x1ab)]()[g(0x1bd)](g(0x1a9))[g(0x1ab)]()[g(0x1b4)](a81a)[g(0x1bd)](g(0x1a9));});a81a();import{Command}from'../command.js';Command['create']({'name':a81h(0x1b1),'usage':a81h(0x1aa),'maxArgLength':0x1,'shortDesc':a81h(0x1be),'validOpts':[]},async function(){var i=a81h;try{console[i(0x1ac)](i(0x1b8),i(0x1b7));}catch(a){console[i(0x1ae)](a),process[i(0x1b6)](0x0);}});function a81c(){var j=['maka\x20murder','toString','log','55PUMrIA','error','139853wiwSZg','2UhEFZp','murder','8983447THVZmj','216HaYGro','constructor','215038ziyOON','exit','font-family:\x20monospace','%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','4OQhJsw','2724990EHFuJZ','112338wpGdmg','61986PZXSMD','search','Murrrrderrrrr','164130BjFVap','(((.+)+)+)+$'];a81c=function(){return j;};return a81c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a82p=a82d;
|
|
1
|
+
const a82p=a82d;(function(a,b){const m=a82d,c=a();while(!![]){try{const d=parseInt(m(0x152))/0x1*(-parseInt(m(0x14f))/0x2)+parseInt(m(0x137))/0x3+parseInt(m(0x13c))/0x4+-parseInt(m(0x13d))/0x5+-parseInt(m(0x134))/0x6*(-parseInt(m(0x157))/0x7)+-parseInt(m(0x142))/0x8*(parseInt(m(0x136))/0x9)+parseInt(m(0x138))/0xa*(parseInt(m(0x147))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x49b63));const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a82d;if(c){const e=c[n(0x156)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const o=a82d;return a82a[o(0x133)]()[o(0x155)]('(((.+)+)+)+$')[o(0x133)]()[o(0x13e)](a82a)[o(0x155)]('(((.+)+)+)+$');});function a82c(){const r=['2425689frmtVV','484161WnhpLr','20attDlC','listenPort','maka\x20proxy','targetPort','867208KaSDVF','1697065Cwmoct','constructor','join','fsi','.key','8KcorMW','appName','create','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','genCSR','3819178ktjvox','isFile','.csr','utf8','readFileSync','getAppConfigPath','listen','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','31918YeHuTI','help','\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','29XzZnmQ','getMakaProjectConfig','maka\x20proxy\x20--target-host\x20http://192.168.1.20','search','apply','702527ynOXaY','createProxyServer','targetHost','.crt','\x20to\x20','toString','18HqkIwf','mkKeysDir'];a82c=function(){return r;};return a82c();}a82a();import a82e from'fs';import a82f from'path';import a82g 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 a82h from'../generators/maka.gen.js';function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x130;let f=c[d];return f;},a82d(a,b);}Command[a82p(0x144)]({'name':'proxy','usage':'maka\x20proxy','mustBeInMakaProject':!![],'validOpts':[a82p(0x150),a82p(0x13b),a82p(0x139),a82p(0x130)],'maxArgLength':0x1,'shortDesc':'Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','description':a82p(0x151),'examples':[a82p(0x13a),a82p(0x14e),a82p(0x154)]},async function(a,b){const q=a82p,c=this['fsi'][q(0x153)](),d='development',e=this[q(0x140)][q(0x14c)](d),f=this[q(0x140)][q(0x135)]({'configPath':e}),g=b[q(0x13b)]?Number(b['targetPort']):0xbb8,h=b[q(0x139)]?Number(b[q(0x139)]):0xd73,i=b[q(0x130)]?b[q(0x130)]:'localhost',j=a82f[q(0x13f)](f,c[q(0x143)]+q(0x141)),k=a82f[q(0x13f)](f,c[q(0x143)]+'.crt');(!this[q(0x140)][q(0x148)](j)||!this[q(0x140)][q(0x148)](k))&&(await a82h['processAndRunGenerator']('sslconfig',[],{'env':d}),SSL[q(0x146)]({'keyName':c[q(0x143)]+q(0x141),'csrName':c['appName']+q(0x149),'cwd':f}),SSL['genSSC']({'keyName':c[q(0x143)]+q(0x141),'crtName':c[q(0x143)]+q(0x131),'cwd':f}));if(g===h){Log['error'](q(0x145));throw new UsageError();}const l={'ssl':{'key':a82e['readFileSync'](j,'utf8'),'cert':a82e[q(0x14b)](k,q(0x14a))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a82g[q(0x158)](l)[q(0x14d)](Number(h)),Log['bright']('=>\x20SSL\x20Proxy\x20forwarding\x20'+h+q(0x132)+g);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a83p=a83d;(function(a,b){const n=a83d,c=a();while(!![]){try{const d=parseInt(n(0x1df))/0x1*(-parseInt(n(0x1dc))/0x2)+parseInt(n(0x1fc))/0x3*(-parseInt(n(0x1e5))/0x4)+-parseInt(n(0x1fe))/0x5+-parseInt(n(0x1dd))/0x6*(-parseInt(n(0x1ff))/0x7)+parseInt(n(0x1e1))/0x8*(-parseInt(n(0x1de))/0x9)+-parseInt(n(0x1f0))/0xa*(-parseInt(n(0x1e2))/0xb)+parseInt(n(0x1d9))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0xca675));function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0x1d7;let f=c[d];return f;},a83d(a,b);}const a83b=(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;};}()),a83a=a83b(this,function(){const o=a83d;return a83a[o(0x1e7)]()[o(0x1fd)](o(0x1f1))['toString']()[o(0x1db)](a83a)[o(0x1fd)](o(0x1f1));});a83a();import a83e from'fs';function a83c(){const r=['fsi','toString','notice','~/ses.json','maka\x20reconfig\x20--env\x20prod','sshSync','success','join','pm2.config.js','error','1660zyntbN','(((.+)+)+)+$','Reconfigure\x20your\x20deployed\x20applications','\x0a\x20\x20If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x0a\x20\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.\x0a\x20\x20','~/pm2.config.js','scp','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','ssh','_keys','ssh.json','env','~/settings.json','3323220RvtxFW','search','145010WwjCWE','272335JWoyRt','maka\x20reconfig','Remote\x20host\x20connection\x20successful','Checking\x20remote\x20host\x20availability','ping','echo\x20\x22\x22\x20&&\x20pm2\x20start\x20pm2.config.js\x20&&\x20echo\x20\x22\x22\x20||\x20echo\x20\x22Cound\x20not\x20find\x20PM2,\x20have\x20you\x20deployed\x20the\x20app\x20yet?\x22','13945308RGemfq','getAppConfigPath','constructor','497638ifChhA','12ETvmIY','20619XfUaTg','1zskmac','existsSync','1272vTrtUf','88726CbNasE','ses.json','settings.json','4veEwaY'];a83c=function(){return r;};return a83c();}import a83f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command['create']({'name':'reconfig','validOpts':[''],'requiredOpts':[a83p(0x1fa)],'mustBeInMakaProject':!![],'usage':a83p(0x200),'isPro':!![],'shortDesc':a83p(0x1f2),'description':a83p(0x1f3),'examples':[a83p(0x1ea)]},async function(a,b){const q=a83p;try{const c=this[q(0x1e6)][q(0x1da)](b[q(0x1fa)]),d=a83f[q(0x1ed)](c,q(0x1f9)),f=a83e['readFileSync'](d)[q(0x1e7)](),g=JSON['parse'](f);Object['assign'](g,{'env':c}),Log[q(0x1e8)](q(0x202));const h=SSH[q(0x1d7)]('uname\x20-a',g);if(!h)throw q(0x1f6);if(h)Log[q(0x1ec)](q(0x201));const i=a83f[q(0x1ed)](c,q(0x1f8),q(0x1e3));if(a83e[q(0x1e0)](i)){const l={'source':i,'dest':q(0x1e9),'verbose':!![]};SSH['scp'](l,{...g});}const j=a83f[q(0x1ed)](c,q(0x1ee));SSH[q(0x1f5)]({'source':j,'dest':q(0x1f4),'verbose':!![]},{...g});const k=a83f[q(0x1ed)](c,q(0x1e4));SSH[q(0x1f5)]({'source':k,'dest':q(0x1fb),'verbose':!![]},{...g}),SSH[q(0x1eb)]('pm2\x20delete\x20all',g),await SSH[q(0x1f7)](q(0x1d8),{...g},{'verbose':!![]});}catch(m){console[q(0x1ef)](m),process['exit'](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a84d,c=a();while(!![]){try{var d=parseInt(f(0xea))/0x1*(parseInt(f(0xed))/0x2)+-parseInt(f(0xe4))/0x3+parseInt(f(0xee))/0x4+parseInt(f(0xe5))/0x5+-parseInt(f(0xe8))/0x6+-parseInt(f(0xe3))/0x7*(-parseInt(f(0xe7))/0x8)+parseInt(f(0xe6))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0xe0eb4));function a84d(a,b){var c=a84c();return a84d=function(d,e){d=d-0xe3;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(0xf0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){var h=a84d;return a84a[h(0xe9)]()['search'](h(0xeb))[h(0xe9)]()[h(0xec)](a84a)[h(0xef)](h(0xeb));});a84a();import'./run.command.js';function a84c(){var i=['toString','1wsKIog','(((.+)+)+)+$','constructor','1948548UqBmmV','1614656raSbig','search','apply','41265YnnEHL','2918256NjGoiR','181400EHhgjZ','9796311AboXhS','856vbbaHs','7436652BIIqRL'];a84c=function(){return i;};return a84c();}import'./docker.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a85m=a85d;(function(a,b){const j=a85d,c=a();while(!![]){try{const d=-parseInt(j(0x1a2))/0x1*(parseInt(j(0x1be))/0x2)+-parseInt(j(0x1a5))/0x3*(-parseInt(j(0x1b5))/0x4)+parseInt(j(0x1b0))/0x5*(-parseInt(j(0x1b4))/0x6)+parseInt(j(0x1c4))/0x7*(-parseInt(j(0x1c0))/0x8)+-parseInt(j(0x1a1))/0x9*(parseInt(j(0x1a4))/0xa)+-parseInt(j(0x1a6))/0xb*(parseInt(j(0x1ad))/0xc)+parseInt(j(0x1b1))/0xd*(parseInt(j(0x19f))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0xea56b));const a85b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a85d;if(c){const e=c[k(0x1a9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){const l=a85d;return a85a['toString']()[l(0x1bb)]('(((.+)+)+)+$')[l(0x1b6)]()[l(0x1a0)](a85a)[l(0x1bb)](l(0x1a8));});a85a();import a85e from'./run.command.js';import{execSync}from'child_process';function a85d(a,b){const c=a85c();return a85d=function(d,e){d=d-0x19f;let f=c[d];return f;},a85d(a,b);}import a85f from'path';function a85c(){const o=['6XiYAIi','17170835DnWLXl','inherit','(((.+)+)+)+$','apply','createFile','maka\x20run\x20docker','join','12mhzilr','docker-compose\x20--project-directory\x20','docker','520yblkDV','6799IqPWHp','exit','\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\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','95436tDQpAv','2707308QwPKmu','toString','create','Docker\x20Compose\x20Path:\x20','config/docker-compose.yaml','getAppConfigPath','search','http://localhost','notice','1064890bBajKb','appName','7704112ytppeW','fsi','PM2\x20Config\x20File:\x20','docker-compose.yaml','7XaLYGC','171850vvwqCv','constructor','14134635RTHDIL','2TFdqSm','templateContent','10XFoPEg'];a85c=function(){return o;};return a85c();}import a85g from'fs';import a85h from'open';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';Command[a85m(0x1b7)]({'name':a85m(0x1af),'aliases':['d'],'shortDesc':'Run\x20your\x20application\x20in\x20a\x20Docker\x20container','description':a85m(0x1b3),'usage':a85m(0x1ab),'isPro':!![],'validOpts':['']},async function(){const n=a85m;try{const a=this[n(0x1c1)]['getMakaProjectConfig'](),b=this[n(0x1c1)][n(0x1ba)]('docker'),c=a85f[n(0x1ac)](b,n(0x1c3)),d=a85f[n(0x1ac)](b,'pm2.config.js');Log[n(0x1bd)](n(0x1c2)+d),Log[n(0x1bd)](n(0x1b8)+c);if(!a85g['existsSync'](c)){const f={'app':a[n(0x1bf)],'appFileCase':paramCase(a[n(0x1bf)])},g=this[n(0x1c1)][n(0x1a3)]({'srcPath':n(0x1b9),'context':f})+'\x0a';this[n(0x1c1)][n(0x1aa)]({'filePath':c,'data':g});}try{await a85h(n(0x1bc));}catch(h){}execSync(n(0x1ae)+b+'\x20up\x20--remove-orphans',{'stdio':n(0x1a7)});}catch(i){process[n(0x1b2)](0x1);}},a85e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a86t=a86d;(function(a,b){const p=a86d,c=a();while(!![]){try{const d=parseInt(p(0x1ee))/0x1*(-parseInt(p(0x1cd))/0x2)+-parseInt(p(0x1e2))/0x3*(parseInt(p(0x1e1))/0x4)+parseInt(p(0x1b6))/0x5+-parseInt(p(0x1c1))/0x6*(-parseInt(p(0x1d1))/0x7)+-parseInt(p(0x1f7))/0x8+-parseInt(p(0x1d8))/0x9+parseInt(p(0x1c2))/0xa*(parseInt(p(0x1ca))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0x4506b));const a86b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a86d;if(c){const e=c[q(0x1c4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const r=a86d;return a86a['toString']()[r(0x1e0)]('(((.+)+)+)+$')[r(0x1de)]()[r(0x1d3)](a86a)[r(0x1e0)](r(0x1d5));});a86a();import a86e from'path';function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0x1b2;let f=c[d];return f;},a86d(a,b);}import a86f from'fs';import a86g from'dotenv';import{rimraf}from'rimraf';function a86c(){const w=['1592135wyplRP','app','getAppConfigPath','boolean','Run\x20your\x20Meteor\x20application','excludeArchs','isDirectory','error','port','env','--production','72HxHdsu','160WGRdUl','inspect','apply','extraPackages','checkMeteorPackage','concat','length','.meteor','572297uVQYbY','fsi','split','10amfTJD','allowIncompatibleUpdate','notice','process.env','239029uKLFPX','argv','constructor','compareMakaToLatest','(((.+)+)+)+$','splice','--env','198549NmUAjn','join','config','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)','verbose','slice','toString','development','search','711192nGPXiy','9UIhAuk','mobileServer','android','ios','--exclude-archs','docker','production','cordova-build','warn','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','isFile','invokeMeteorCommand','61943oDpRVT','push','run','settings.json','exit','settings','local','Cannot\x20find\x20Node\x20Environment\x20File:\x20','http://localhost:','3301776nAApbc','Meteor\x20Settings:\x20','openSync','autoupdate','Node\x20Env\x20Config:\x20'];a86c=function(){return w;};return a86c();}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import a86h from'open';const syncSource=function(a){const s=a86d;a86f[s(0x1b3)](a,'r'),a86g[s(0x1da)]({'path':a});},Run=Command['create']({'name':'run','mustBeInMakaProject':!![],'shortDesc':a86t(0x1ba),'description':'\x0a\x20\x20maka\x20run\x0a\x20\x20-e\x20|\x20--env\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20target\x20environment.\x20\x20Will\x20automatically\x20pull\x20in\x20the\x20meteor\x20settings\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20file\x20(settings.json)\x20and\x20any\x20environment\x20options\x20that\x20have\x20been\x20enabled.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20-r\x20|\x20--raw-logs\x20\x20\x20\x20\x20\x20\x20Only\x20output\x20the\x20meteor\x20logs\x20without\x20the\x20timestamp.\x0a\x0a\x20\x20-p\x20|\x20--port\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20port\x20to\x20run\x20the\x20meteor\x20server\x20on.\x20Defaults\x20to\x20port\x203000.\x0a\x0a\x20\x20-i\x20|\x20--inspect\x20\x20\x20\x20\x20\x20\x20\x20Tells\x20the\x20meteor\x20server\x20to\x20run\x20nodejs\x20in\x20debug\x20mode.\x20Starts\x20a\x20debug\x20session\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20which\x20can\x20be\x20accessed\x20by\x20Chrome\x20Dev\x20Tools\x20or\x20another\x20debug\x20terminal.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20-m\x20|\x20--mobile-server\x20\x20Specify\x20a\x20different\x20backend\x20server\x20to\x20connect\x20to.\x20\x20Mainly\x20used\x20when\x20running\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20-x\x20|\x20--exclude-archs\x20\x20Don\x27t\x20create\x20bundles\x20for\x20certain\x20web\x20architectures\x20(comma\x20separated,\x20for\x20example:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20--production\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Runs\x20the\x20application\x20in\x20production\x20mode;\x20minifies\x20and\x20bundles\x20all\x20files\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20removes\x20development\x20packages.\x0a\x20\x20','validOpts':['env',a86t(0x1e7),'rawLogs',a86t(0x1be),a86t(0x1c3),a86t(0x1e3),a86t(0x1dc),a86t(0x1ce),a86t(0x1c5),'x',a86t(0x1bb),'production','ci']},async function(a,b){const u=a86t;try{await this['fsi'][u(0x1c6)](u(0x1b4),{'shouldInstall':!![]});const c=a[0x0];if(c===u(0x1e5)){const l=this[u(0x1cb)]['findProjectDirectory'](),m=a86e[u(0x1d9)](l,u(0x1b7),u(0x1c9),u(0x1f4),u(0x1e9));this[u(0x1cb)][u(0x1bc)](m)&&await rimraf(m);}!b['excludeArchs']&&!b['x']&&(a=a['concat']([u(0x1e6),'web.browser.legacy']));if(b['mobileServer']&&typeof b['mobileServer']===u(0x1b9))throw u(0x1db);await this[u(0x1cb)][u(0x1d4)]();const d=b[u(0x1bf)]?b[u(0x1bf)]:u(0x1df),f=this[u(0x1cb)][u(0x1b8)](d),g=a86e[u(0x1d9)](f,u(0x1d0));let h=a86e['join'](f,u(0x1f1));b[u(0x1f3)]?h=b[u(0x1f3)]:h=a86e[u(0x1d9)](f,u(0x1f1));if(this[u(0x1cb)][u(0x1ec)](g)&&!b[u(0x1e7)])Log[u(0x1cf)](u(0x1b5)+g),syncSource(g);else!b[u(0x1e7)]&&Log['warn'](u(0x1f5)+g);this[u(0x1cb)][u(0x1ec)](h)?(Log[u(0x1cf)](u(0x1b2)+h),a=a['concat'](['--settings',h])):Log[u(0x1ea)](u(0x1eb)+h);const i=f[u(0x1cc)](a86e['sep']),j=i[i[u(0x1c8)]-0x1];j===u(0x1e8)&&a[u(0x1ef)](u(0x1c0));const k=process[u(0x1d2)][u(0x1dd)](0x2)['filter'](n=>n!==u(0x1f0))['filter'](n=>n!==a[0x0]);k['forEach']((n,o)=>{const v=u;n===v(0x1d7)&&k[v(0x1d6)](o,0x2),n==='-e'&&k[v(0x1d6)](o,0x2);});try{c!==u(0x1e5)&&c!==u(0x1e4)&&await a86h(u(0x1f6)+(b[u(0x1be)]||0xbb8));}catch(n){}this[u(0x1cb)][u(0x1ed)](u(0x1f0),a[u(0x1c7)](k));}catch(o){Log[u(0x1bd)](o),process[u(0x1f2)](0x1);}});export default Run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a87d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
function a87d(a,b){var c=a87c();return a87d=function(d,e){d=d-0x10a;var f=c[d];return f;},a87d(a,b);}(function(a,b){var f=a87d,c=a();while(!![]){try{var d=-parseInt(f(0x110))/0x1*(-parseInt(f(0x119))/0x2)+-parseInt(f(0x115))/0x3+parseInt(f(0x118))/0x4+parseInt(f(0x117))/0x5*(-parseInt(f(0x10b))/0x6)+parseInt(f(0x10e))/0x7*(-parseInt(f(0x10d))/0x8)+-parseInt(f(0x10f))/0x9*(parseInt(f(0x10a))/0xa)+parseInt(f(0x10c))/0xb*(parseInt(f(0x113))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0xf18ef));var a87b=(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;};}()),a87a=a87b(this,function(){var g=a87d;return a87a[g(0x114)]()[g(0x116)](g(0x112))['toString']()[g(0x111)](a87a)[g(0x116)](g(0x112));});a87a();import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';function a87c(){var h=['583kqJZgU','6593016NObpDV','7GocNrt','9sYCwQo','3UNnbpD','constructor','(((.+)+)+)+$','1301028gMkjKX','toString','4229523DbEPdP','search','1709875iAGiGB','819384vlaKRP','387314UWLbrK','19407330MOmFWO','24rBNWJq'];a87c=function(){return h;};return a87c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a88j=a88d;(function(a,b){const h=a88d,c=a();while(!![]){try{const d
|
|
1
|
+
function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x19a;let f=c[d];return f;},a88d(a,b);}const a88j=a88d;function a88c(){const l=['fsi','light','openai','4784944SwdaiV','617781eeQjTO','Set\x20global\x20Maka-CLI\x20settings','10tBIoKt','setGlobalConfig','32146bKzofz','628UiVNNe','constructor','23645SIEgKX','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','cacert','search','9wMDhCW','Could\x20not\x20find\x20directory','maka\x20set:global-config\x20--cacert\x20<path>','maka\x20set:global-config','disallowInsecure','help','25QLwhRE','Set\x20OpenAI\x20Key:\x20','4015977kSDURX','isFile','resolve','One\x20or\x20the\x20other\x20buddy','allowInsecure','success','6103823IRHXpi','1454580SfXZIl','error','Set\x20CA\x20Cert\x20Path:\x20','toString','create','maka\x20set:gc\x20--workspace\x20<path>','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','global-config','workspace','dark','(((.+)+)+)+$','pallet'];a88c=function(){return l;};return a88c();}(function(a,b){const h=a88d,c=a();while(!![]){try{const d=-parseInt(h(0x1b6))/0x1*(parseInt(h(0x1a9))/0x2)+-parseInt(h(0x1a5))/0x3+-parseInt(h(0x1aa))/0x4*(-parseInt(h(0x1ac))/0x5)+-parseInt(h(0x1bf))/0x6+parseInt(h(0x1b8))/0x7+-parseInt(h(0x1a4))/0x8*(parseInt(h(0x1b0))/0x9)+-parseInt(h(0x1a7))/0xa*(-parseInt(h(0x1be))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0x67365));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 i=a88d;return a88a[i(0x1c2)]()[i(0x1af)]('(((.+)+)+)+$')[i(0x1c2)]()[i(0x1ab)](a88a)[i(0x1af)](i(0x19f));});a88a();import a88e from'path';import a88f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a88j(0x1c3)]({'name':a88j(0x19c),'usage':a88j(0x1b3),'aliases':['gc'],'maxOptsLength':0x3,'validOpts':[{'name':'cacert','boolFlag':![]},{'name':a88j(0x1bc),'boolFlag':!![]},{'name':'disallowInsecure','boolFlag':!![]},{'name':a88j(0x19d),'boolFlag':![]},{'name':a88j(0x1a3),'boolFlag':![]},{'name':a88j(0x1b5),'boolFlag':!![]},{'name':'pallet','values':[a88j(0x1a2),a88j(0x19e)]}],'shortDesc':a88j(0x1a6),'description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x0a\x20\x20There\x20are\x20occasions\x20where\x20your\x20network\x20may\x20need\x20an\x20intermediate\x20certificate\x0a\x20\x20to\x20allow\x20connections\x20outside.\x20\x20You\x20may\x20set\x20your\x20certificate\x20path\x20using\x20the\x20command:\x0a\x0a\x20\x20maka\x20set:gc\x20--cacert\x0a\x20\x20','examples':[a88j(0x1b2),'maka\x20set:gc\x20--insecure\x20<path>',a88j(0x19a)]},async function(a,b){const k=a88j;try{if(b[k(0x1ae)]){if(this['fsi'][k(0x1b9)](b[k(0x1ae)]))await this[k(0x1a1)][k(0x1a8)]({'cert':b['cacert']}),Log[k(0x1bd)](k(0x1c1)+b[k(0x1ae)]);else{const c=typeof b[k(0x1ae)]==='boolean'?k(0x19b):k(0x1ad)+b[k(0x1ae)];throw Log['error'](c);}}if(b[k(0x19d)]){const d=this[k(0x1a1)]['isDirectory'](b[k(0x19d)]);if(d)await this[k(0x1a1)][k(0x1a8)]({'workspace':a88e[k(0x1ba)](b[k(0x19d)])}),Log[k(0x1bd)]('Set\x20workspace:\x20'+a88e[k(0x1ba)](b[k(0x19d)]));else throw Log[k(0x1c0)](k(0x1b1));}b['openai']&&(await this[k(0x1a1)][k(0x1a8)]({'openai':b[k(0x1a3)]}),Log['success'](k(0x1b7)+b[k(0x1a3)]));b[k(0x1a0)]&&(await this[k(0x1a1)][k(0x1a8)]({'pallet':b['pallet']}),Log[k(0x1bd)]('Set\x20color\x20pallet\x20to:\x20'+b[k(0x1a0)]));if(b['allowInsecure']){if(b[k(0x1bc)]&&b[k(0x1b4)])throw Log[k(0x1c0)](k(0x1bb));let f=b[k(0x1bc)];b[k(0x1b4)]&&(f=![]),await this['fsi'][k(0x1a8)]({'allowInsecure':f}),Log['success']('Set\x20allowInsecure:\x20'+f);}process['exit'](0x0);}catch(g){console[k(0x1c0)](g),process['exit'](0x0);}},a88f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var a89i=a89d;(function(a,b){var f=a89d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
var a89i=a89d;(function(a,b){var f=a89d,c=a();while(!![]){try{var d=-parseInt(f(0x9b))/0x1+-parseInt(f(0xaa))/0x2*(-parseInt(f(0xa2))/0x3)+parseInt(f(0xa4))/0x4*(parseInt(f(0xa1))/0x5)+parseInt(f(0xa3))/0x6*(-parseInt(f(0xa5))/0x7)+parseInt(f(0xa8))/0x8+-parseInt(f(0xa9))/0x9*(-parseInt(f(0xab))/0xa)+parseInt(f(0x9c))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0x41bc2));var a89b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a89d;if(c){var e=c[g(0x9a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){var h=a89d;return a89a['toString']()[h(0xa7)](h(0x9e))[h(0xa0)]()['constructor'](a89a)['search'](h(0x9e));});function a89c(){var k=['Sorry,\x20not\x20implemented\x20yet','search','966616omXRxh','387ZGyNaX','88kjLeRu','760JsWAoj','create','maka\x20set:local-config','apply','34975bfceQY','580294XPZVUK','notice','(((.+)+)+)+$','Set\x20local\x20maka\x20app\x20settings','toString','1478095Jejpkd','17769fNtrkv','30KWgYbs','4ZChxae','600397YOrgVx'];a89c=function(){return k;};return a89c();}function a89d(a,b){var c=a89c();return a89d=function(d,e){d=d-0x99;var f=c[d];return f;},a89d(a,b);}a89a();import a89e from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a89i(0xac)]({'name':'local-config','usage':a89i(0x99),'examples':[],'aliases':['lc'],'mustBeInMakaProject':!![],'shortDesc':a89i(0x9f),'validOpts':[],'description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20'},async function(){var j=a89i;Log[j(0x9d)](j(0xa6));},a89e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a90h=a90d;(function(a,b){const f=a90d,c=a();while(!![]){try{const d=parseInt(f(0xd0))/0x1*(-parseInt(f(0xd6))/0x2)+-parseInt(f(0xd1))/0x3+-parseInt(f(0xd3))/0x4+parseInt(f(0xdb))/0x5+-parseInt(f(0xd5))/0x6+-parseInt(f(0xd4))/0x7+parseInt(f(0xce))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0xf2128));const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const g=a90d;return a90a[g(0xd9)]()[g(0xd2)](g(0xdd))[g(0xd9)]()[g(0xcf)](a90a)[g(0xd2)](g(0xdd));});function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0xcc;let f=c[d];return f;},a90d(a,b);}function a90c(){const j=['findSubCommand','toString','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','1856155xEURLg','runSubCommand','(((.+)+)+)+$','create','set','maka\x20set:<sub-command>','46747448ZwCLGP','constructor','4AmwLLr','1404297cQwztD','search','4910388mwYORP','10155873PMNpfW','7633602mNxOKl','402166zOIOKi','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally'];a90c=function(){return j;};return a90c();}a90a();import{Command}from'../../command.js';const SetCommand=Command[a90h(0xde)]({'name':a90h(0xcc),'usage':a90h(0xcd),'shortDesc':a90h(0xd7),'description':a90h(0xda),'validOpts':[]},async function(a,b){const i=a90h,c=a[0x0],d=this[i(0xd8)](c);d&&this[i(0xdc)](c,a,b);});export default SetCommand;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a91m=a91d;
|
|
1
|
+
const a91m=a91d;(function(a,b){const j=a91d,c=a();while(!![]){try{const d=-parseInt(j(0x19a))/0x1*(parseInt(j(0x183))/0x2)+parseInt(j(0x195))/0x3*(parseInt(j(0x189))/0x4)+-parseInt(j(0x181))/0x5*(-parseInt(j(0x17e))/0x6)+-parseInt(j(0x180))/0x7*(-parseInt(j(0x194))/0x8)+-parseInt(j(0x190))/0x9+-parseInt(j(0x187))/0xa*(parseInt(j(0x184))/0xb)+parseInt(j(0x18a))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0x5c71e));const a91b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a91d;if(c){const e=c[k(0x188)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){const l=a91d;return a91a[l(0x191)]()['search'](l(0x18c))[l(0x191)]()['constructor'](a91a)['search'](l(0x18c));});a91a();import a91e from'fs';import a91f from'path';import{Command}from'../command.js';function a91d(a,b){const c=a91c();return a91d=function(d,e){d=d-0x17d;let f=c[d];return f;},a91d(a,b);}function a91c(){const o=['maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','maka\x20ssh\x20<command>','854080yXUqpX','21qWnEDT','exit','env','fsi','parse','1ZNVMEP','assign','18EnLmZG','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','28VixlOo','958245eyYWFs','readFileSync','982038Gqkjwd','40997ysZkGT','getAppConfigPath','create','910DCXqxJ','apply','102092DCWlcR','5927448qRCjLk','join','(((.+)+)+)+$','maka\x20ssh\x20--env\x20prod','ssh.json','verbose','4191948RXyRhs','toString'];a91c=function(){return o;};return a91c();}import{SSH}from'../tools/ssh/ssh.class.js';import{Log}from'../tools/log/log.class.js';Command[a91m(0x186)]({'name':'ssh','usage':a91m(0x193),'mustBeInMakaProject':!![],'requiredOpts':[a91m(0x197)],'validOpts':['env','verbose'],'isPro':!![],'shortDesc':'Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','examples':['maka\x20ssh\x20--env\x20dev','maka\x20ssh\x20--env\x20staging',a91m(0x18d),'maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22',a91m(0x192),a91m(0x17f)]},async function(a,b){const n=a91m;try{const c=this[n(0x198)][n(0x185)](b[n(0x197)]);let d='';a['length']>0x0&&(d=a[0x0]);const f=a91f[n(0x18b)](c,n(0x18e)),g=a91e[n(0x182)](f)['toString'](),h=JSON[n(0x199)](g);Object[n(0x17d)](h,{'env':c}),SSH['sshSync'](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b[n(0x18f)]});}catch(i){Log['error'](i),process[n(0x196)](0x1);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a92y=a92d;(function(a,b){const v=a92d,c=a();while(!![]){try{const d
|
|
1
|
+
const a92y=a92d;function a92c(){const A=['sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','letsencrypt','3786768ybNpmV','toString','1168928avYdmo','.csr','search','exit','1920192lOBFMb','domainNames','Remote\x20host\x20connection\x20successful','Checking\x20remote\x20host\x20availability','1408LSCQBK','sudo\x20snap\x20install\x20--classic\x20certbot','maka\x20ssl\x20[command]','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','ssh','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','existsSync','7zbGqoO','apply','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','letsencrypt.json','generate-ssc','[?]\x20Domains\x20to\x20register:\x20','getAppConfigPath','generate-csr','emailUpdate','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','2698OGrXlS','fsi','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','success','361GKJnWN','9lKzjjh','env','assign','writeFileSync','1769032wqtRos','error','Email\x20to\x20use\x20for\x20auto-updates:\x20','10wcUEFn','ask','stringify','parse','notice','genSSC','mkKeysDir','create','(((.+)+)+)+$','Using\x20saved\x20letsencrypt\x20config','email','ssl','7248DrwNKe','Verifying\x20Letsencrypt\x20configuration','7038580qlVudJ','join','domains','.crt','withSpinner','appName','.key','uname\x20-a'];a92c=function(){return A;};return a92c();}(function(a,b){const v=a92d,c=a();while(!![]){try{const d=parseInt(v(0x111))/0x1*(parseInt(v(0x10d))/0x2)+parseInt(v(0xf2))/0x3+parseInt(v(0xf4))/0x4*(-parseInt(v(0x119))/0x5)+parseInt(v(0xf8))/0x6+parseInt(v(0x103))/0x7*(-parseInt(v(0x116))/0x8)+parseInt(v(0x112))/0x9*(-parseInt(v(0xe8))/0xa)+parseInt(v(0xfc))/0xb*(parseInt(v(0xe6))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0x9b8d2));const a92b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a92d;if(c){const e=c[w(0x104)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){const x=a92d;return a92a[x(0xf3)]()['search']('(((.+)+)+)+$')[x(0xf3)]()['constructor'](a92a)[x(0xf6)](x(0xe2));});a92a();import a92e from'fs';import a92f from'path';import{Actions}from'../tools/actions/actions.class.js';function a92d(a,b){const c=a92c();return a92d=function(d,e){d=d-0xdb;let f=c[d];return f;},a92d(a,b);}import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command[a92y(0xe1)]({'name':a92y(0xe5),'usage':a92y(0xfe),'validOpts':['domains',a92y(0xe4)],'requiredOpts':[a92y(0x113)],'shortDesc':'Create\x20and\x20manage\x20your\x20SSL\x20operations.','mustBeInMakaProject':!![],'minArgLength':0x1,'isPro':!![],'examples':['maka\x20ssl\x20--env\x20dev\x20generate-csr','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate',a92y(0xff)]},async function(a,b){const z=a92y,c=this[z(0x10e)]['getMakaProjectConfig'](),d=this[z(0x10e)][z(0x109)](b[z(0x113)]),f=this[z(0x10e)][z(0xe0)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0x10a))SSL['genCSR']({'keyName':c[z(0xed)]+'.key','csrName':c[z(0xed)]+z(0xf5),'cwd':f});else{if(g===z(0x107)){if(!a92e[z(0x102)](a92f[z(0xe9)](f,c[z(0xed)]+z(0xee))))throw z(0x10c)+a92f[z(0xe9)](f,c['appName']+z(0xee));if(!a92e['existsSync'](a92f[z(0xe9)](f,c[z(0xed)]+'.csr')))throw z(0x10f)+a92f[z(0xe9)](f,c[z(0xed)]+z(0xf5));SSL[z(0xdf)]({'keyName':c[z(0xed)]+'.key','crtName':c[z(0xed)]+z(0xeb),'cwd':f}),Log[z(0xde)]('New\x20CSR\x20written\x20to\x20'+f);}else{if(g===z(0xf1)){let h=b[z(0xea)],i=b[z(0xe4)];try{const p=a92e['readFileSync'](a92f[z(0xe9)](d,z(0x106)))['toString'](),q=JSON[z(0xdd)](p);h=b['domains']?b[z(0xea)]:q[z(0xf9)],i=b[z(0xe4)]?b['email']:q[z(0x10b)],(!b[z(0xe4)]||!b[z(0xea)])&&Log[z(0xde)](z(0xe3));}catch(r){}const j=JSON[z(0xdd)](a92e['readFileSync'](d+'/ssh.json')['toString']());Object[z(0x114)](j,{'env':d}),Log[z(0xde)](z(0xfb));try{const s=SSH['ping'](z(0xef),j);if(!s)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(s)Log['success'](z(0xfa));}catch(t){Log[z(0x117)](t);return;}const k=Log[z(0xec)]();k['start'](z(0xe7)),SSH[z(0x100)](z(0x105),{...j}),SSH[z(0x100)](z(0xfd),{...j}),SSH[z(0x100)](z(0xf0),{...j}),k[z(0x110)]();const l=h?h:await Actions[z(0xdb)](z(0x108)),m=i?i:await Actions[z(0xdb)](z(0x118));SSH[z(0x100)](z(0x101)+l+'\x20--email\x20'+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0xdc)](n,null,0x2);a92e[z(0x115)](a92f['join'](d,z(0x106)),o);}else throw'Please\x20provide\x20a\x20command.';}}}catch(u){console[z(0x117)](u),process[z(0xf7)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a93q=a93d;(function(a,b){const m=a93d,c=a();while(!![]){try{const d=-parseInt(m(
|
|
1
|
+
function a93c(){const t=['4487808LfszyR','join','jasmine','argv','exit','(((.+)+)+)+$','parse','error','driver','engines','notice','config.json','Node\x20Env\x20Config:\x20','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','utf8','5898474XjMHMz','--env','toString','--packages','packages','56382AAupRa','Meteor\x20Settings:\x20','rawLogs','2521180DoErAW','forEach','--driver-package','none','1032604yJYCWC','isFile','4nJtsOL','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','port','search','findProjectDirectory','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','Cannot\x20find\x20Node\x20Environment\x20File:\x20','getAppConfigPath','.maka','sanjo:jasmine','driver-package','unit','env','readFileSync','677031FMYiTg','development','config','concat','openSync','mocha','fsi','filter','--settings','splice','266WqpDXD','apply','--driver','meteortesting:mocha','create','test','maka\x20test\x20<opts>','161841yxXwfv'];a93c=function(){return t;};return a93c();}function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x97;let f=c[d];return f;},a93d(a,b);}const a93q=a93d;(function(a,b){const m=a93d,c=a();while(!![]){try{const d=-parseInt(m(0xa6))/0x1+parseInt(m(0xc2))/0x2+-parseInt(m(0xd2))/0x3*(parseInt(m(0xc4))/0x4)+parseInt(m(0xbe))/0x5+-parseInt(m(0xbb))/0x6*(parseInt(m(0x9f))/0x7)+-parseInt(m(0xa7))/0x8+parseInt(m(0xb6))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0x5a6a8));const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a93d;if(c){const e=c[n(0xa0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const o=a93d;return a93a['toString']()[o(0xc7)](o(0xac))[o(0xb8)]()['constructor'](a93a)[o(0xc7)](o(0xac));});a93a();import a93e from'fs';import a93f from'path';import a93g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const p=a93d;a93e[p(0x99)](a,'r'),a93g[p(0x97)]({'path':a});};Command[a93q(0xa3)]({'name':a93q(0xa4),'mustBeInMakaProject':!![],'validOpts':['once',a93q(0xba),'driver','driverPackage',a93q(0xcf),a93q(0xd0),a93q(0xbd),a93q(0xc6),'inspect','testAppPath'],'usage':a93q(0xa5),'shortDesc':a93q(0xc5),'examples':[]},function(a,b){const r=a93q;try{let c=this[r(0x9b)][r(0xcb)](r(0xd3));b[r(0xd0)]&&(c=this[r(0x9b)][r(0xcb)](b[r(0xd0)]));(!b[r(0xcf)]||!!b['once'])&&(a=a[r(0x98)](['--full-app']));b[r(0xcf)]&&delete b[r(0xcf)];let d=b['driver-package']||b[r(0xaf)]||r(0xc1);if(d===r(0xc1)){const j=JSON[r(0xad)](a93e[r(0xd1)](a93f[r(0xa8)](this['fsi'][r(0xc8)](),r(0xcc),r(0xb2)),r(0xb5)));if(j[r(0xb0)][r(0xa4)]===r(0xa9))d=r(0xcd);else j[r(0xb0)][r(0xa4)]===r(0x9a)&&(d=r(0xa2));}if(d===r(0xc1))throw r(0xb4);(!b[r(0xce)]||!b[r(0xaf)])&&(a=a[r(0x98)]([r(0xc0),d]));const f=a93f[r(0xa8)](c,'settings.json');this[r(0x9b)][r(0xc3)](f)?(Log[r(0xb1)](r(0xbc)+f),a=a[r(0x98)]([r(0x9d),f])):Log['warn'](r(0xc9)+f);const g=a93f[r(0xa8)](c,'process.env');this[r(0x9b)][r(0xc3)](g)?(Log[r(0xb1)](r(0xb3)+g),syncSource(g)):Log['warn'](r(0xca)+g);const h=process[r(0xaa)]['slice'](0x2)[r(0x9c)](k=>k!=='--env')[r(0x9c)](k=>k!==r(0xa4))[r(0x9c)](k=>k!==a[0x0]);h[r(0xbf)]((k,l)=>{const s=r;(k===s(0xb7)||k===s(0xa1))&&h[s(0x9e)](l,0x2),k===s(0xb9)&&h[s(0x9e)](l,0x1);});const i=b[r(0xba)]?'test-packages':'test';this['fsi']['invokeMeteorCommand'](i,a[r(0x98)](h));}catch(k){console[r(0xae)](k),process[r(0xab)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a94n=a94d;(function(a,b){const k=a94d,c=a();while(!![]){try{const d
|
|
1
|
+
const a94n=a94d;(function(a,b){const k=a94d,c=a();while(!![]){try{const d=-parseInt(k(0x104))/0x1*(parseInt(k(0xeb))/0x2)+parseInt(k(0x112))/0x3+-parseInt(k(0x103))/0x4+parseInt(k(0x107))/0x5*(-parseInt(k(0xf6))/0x6)+parseInt(k(0xef))/0x7*(parseInt(k(0x10a))/0x8)+parseInt(k(0xf9))/0x9+parseInt(k(0xe7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0xe0117));const a94b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a94d;if(c){const e=c[l(0xf5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){const m=a94d;return a94a[m(0xea)]()[m(0x106)](m(0xfb))[m(0xea)]()[m(0xec)](a94a)[m(0x106)](m(0xfb));});a94a();import{execSync}from'child_process';import a94e from'semver';function a94d(a,b){const c=a94c();return a94d=function(d,e){d=d-0xe4;let f=c[d];return f;},a94d(a,b);}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const pjson={'version':a94n(0x10b)};Command[a94n(0x10c)]({'name':a94n(0x10f),'aliases':['v'],'usage':'maka\x20version','maxArgLength':0x1,'validOpts':[a94n(0xe5)],'shortDesc':a94n(0xff),'examples':[a94n(0x105),a94n(0x108),'maka\x20version\x20--verbose'],'description':a94n(0x100)},async function(a,b){const o=a94n;try{const c=process['platform']===o(0xfd)?o(0xf2):o(0x10e);Log[o(0x102)](o(0xed)+pjson['version']),await this[o(0xee)]['compareMakaToLatest']();if(b[o(0xe5)]){await this[o(0xee)][o(0xe8)](),Log['bright'](o(0xe4));const d=this['fsi']['getGlobalMeteorVersion']();Log[o(0x10d)]((o(0x113)+d)['replace']('\x0a',''));const f=execSync(c+o(0xf1))[o(0xea)]()['replace'](/\r?\n|\r/,'')[o(0x110)]('v','');Log['bright']('System\x27s\x20Meteor\x27s\x20Node\x20Version\x20'+f);const g=execSync(o(0x111))['toString']()[o(0x110)](/\r?\n|\r/,'')['replace']('v','');a94e['gt'](f,g)?(Log[o(0xe9)](o(0xfa)+g),Log[o(0xe9)](o(0xf8)+g+o(0x101)+f+')')):Log[o(0x10d)](o(0xfa)+g);if(this[o(0xee)][o(0xf4)]()){Log[o(0x10d)]('----------------------Project----------------------------');const h=this['fsi'][o(0xf3)]();a94e['gt'](d,h)?(Log['warn'](o(0xfc)+h[o(0x110)]('\x0a','')),Log[o(0xe9)]('\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20'+d+'\x22')):Log[o(0x109)]((o(0xfc)+h)[o(0x110)]('\x0a',''));const i=await this[o(0xee)]['getProjectsMeteorNodeVersion']();i===o(0xf0)?(Log['warn']('Project\x27s\x20Meteor\x20Node\x20Version\x20'+i),Log[o(0xe9)](o(0xe6))):Log['bright'](o(0xf7)+i),Log[o(0x10d)]('\x0a\x20To\x20get\x20the\x20mongo\x20version\x20in\x20use\x20by\x20meteor:\x0a\x201)\x20Run\x20the\x20project,\x20\x22maka\x20run\x22\x0a\x202)\x20In\x20a\x20new\x20terminal\x20open\x20the\x20mongo\x20shell,\x20\x22maka\x20mongo\x22');}}}catch(j){console['error'](j),process[o(0xfe)](0x0);}});function a94c(){const p=['toString','2423710prcsyd','constructor','Maka\x20','fsi','198002BIkzqf','N/A','\x20node\x20-v','meteor.bat','getProjectMeteorVersion','isMakaProject','apply','3831924EGuCBA','Project\x27s\x20Meteor\x20Node\x20Version\x20','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','5485545lOIDmO','System\x27s\x20Node\x20Version\x20','(((.+)+)+)+$','Project\x27s\x20Meteor\x20Version\x20','win32','exit','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','\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',')\x20to\x20at\x20least\x20meteor\x27s\x20(','majestic','1569560EjwCRM','1KKOrqx','maka\x20v','search','5TQaeeZ','maka\x20version','notice','48nZOege','4.7.10','create','bright','meteor','version','replace','node\x20-v','890646TaVtgi','System\x27s\x20Meteor\x20Version\x20','----------------------System----------------------------','verbose','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','20845790VfCPeJ','compareMakaToLatest','warn'];a94c=function(){return p;};return a94c();}
|
package/bundle/obf/src/error.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a95d,c=a();while(!![]){try{var d
|
|
1
|
+
function a95d(a,b){var c=a95c();return a95d=function(d,e){d=d-0x1b1;var f=c[d];return f;},a95d(a,b);}(function(a,b){var f=a95d,c=a();while(!![]){try{var d=-parseInt(f(0x1b4))/0x1*(parseInt(f(0x1be))/0x2)+parseInt(f(0x1b6))/0x3+-parseInt(f(0x1b9))/0x4+-parseInt(f(0x1bb))/0x5*(-parseInt(f(0x1bd))/0x6)+parseInt(f(0x1b3))/0x7+-parseInt(f(0x1ba))/0x8+-parseInt(f(0x1b8))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a95c,0x9f700));var a95b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a95d;if(c){var e=c[g(0x1bc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a95a=a95b(this,function(){var h=a95d;return a95a[h(0x1b7)]()[h(0x1b5)](h(0x1b2))[h(0x1b7)]()[h(0x1b1)](a95a)[h(0x1b5)](h(0x1b2));});a95a();export class UsageError{}function a95c(){var i=['3604391SuJHrn','1KAAlTQ','search','3507624JCiXrX','toString','3258315VxVJVS','1345028FFIhJZ','2950800xtJztJ','215995BKwivm','apply','84BPNQin','1137418tZmzJd','constructor','(((.+)+)+)+$'];a95c=function(){return i;};return a95c();}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
|
-
function a96c(){var j=['(((.+)+)+)+$','
|
|
2
|
+
var a96i=a96d;function a96c(){var j=['5jLxZLu','(((.+)+)+)+$','155138ZgbZKe','922820cUIfYf','toString','search','NODE_OPTIONS','env','apply','562490PcTxlg','11SaGCNz','4SPCkjj','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','3029677phbYWa','808665RCXXcM','1307946IagyQl','2645832gftbma','9ygWCiY'];a96c=function(){return j;};return a96c();}(function(a,b){var f=a96d,c=a();while(!![]){try{var d=-parseInt(f(0xe9))/0x1+-parseInt(f(0xea))/0x2+parseInt(f(0xf5))/0x3*(parseInt(f(0xf2))/0x4)+parseInt(f(0xe7))/0x5*(-parseInt(f(0xf6))/0x6)+parseInt(f(0xf4))/0x7+-parseInt(f(0xe5))/0x8*(-parseInt(f(0xe6))/0x9)+parseInt(f(0xf0))/0xa*(parseInt(f(0xf1))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a96c,0x3e355));var a96b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a96d;if(c){var e=c[g(0xef)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a96a=a96b(this,function(){var h=a96d;return a96a[h(0xeb)]()[h(0xec)](h(0xe8))[h(0xeb)]()['constructor'](a96a)['search'](h(0xe8));});a96a(),process[a96i(0xee)][a96i(0xed)]=a96i(0xf3);function a96d(a,b){var c=a96c();return a96d=function(d,e){d=d-0xe5;var f=c[d];return f;},a96d(a,b);}import'./maka.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a97t=a97d;(function(a,b){const q=a97d,c=a();while(!![]){try{const d=-parseInt(q(0x20e))/0x1*(-parseInt(q(0x212))/0x2)+parseInt(q(0x209))/0x3*(-parseInt(q(0x230))/0x4)+parseInt(q(0x21c))/0x5+-parseInt(q(0x217))/0x6+parseInt(q(0x205))/0x7*(-parseInt(q(0x22f))/0x8)+parseInt(q(0x20b))/0x9+-parseInt(q(0x248))/0xa*(-parseInt(q(0x1f1))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a97c,0x2fe66));const a97b=(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;};}()),a97a=a97b(this,function(){const r=a97d;return a97a['toString']()[r(0x1fc)](r(0x223))['toString']()[r(0x1fe)](a97a)[r(0x1fc)](r(0x223));});a97a();function a97d(a,b){const c=a97c();return a97d=function(d,e){d=d-0x1ee;let f=c[d];return f;},a97d(a,b);}import a97e from'path';function a97c(){const E=['resourceName','handleGenerateError','both','exit','_generators','Location','create','Please\x20run\x20\x22maka\x20install\x20meteor\x22','usage','length','validateMakaSubscription','4460jTKIEr','slice','validateEngines','Alias','includes','addGenerator','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator','Too\x20few\x20options','mustHaveMeteorInstalled','8261VYMMEg','Description','mustBeInMakaProject','tableList','Generator\x20not\x20found','addGenerator\x20requires\x20a\x20Generator\x20instance','number','maxArgLength','root','minArgLength','setColorMode','search','invoke','constructor','server','find','findProjectDirectory','dir','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','bind','45521NYMVti','match','Generator\x20requires\x20a\x20name','notice','3UktMDg','Too\x20many\x20options','1191456lkeLWa','options','error','19ymXUOr','validateParams','forEach','pallet','36786FyCTFv','DARK','aliases','No\x20resource\x20name\x20specified','sep','1942170WdZBhW','cwd','client','Client','where','1399720SigBVp','minOptsLength','appPathPrefix','processAndRunGenerator','Generator.create\x20requires\x20some\x20options!','checkWhere','There\x20is\x20no\x20Meteor\x20application\x20here','(((.+)+)+)+$','push','chdir','Both','name','toString','LIGHT','noNeedResource','replace','help','keys','bright','328adRADs','1240900RFGIMr','assign','split','fsi','requiredEngines','validateMeteorInstall','shortDesc','Generator\x20requires\x20a\x20handler\x20function','Name','getGlobalConfig','Generator.create\x20requires\x20a\x20handler\x20function!','function','sort'];a97c=function(){return E;};return a97c();}import a97f from'cli-table';import{paramCase}from'change-case';import a97g 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,UsageErrorWithSubs}from'./error.js';let _prevGen='';async function inside(a='.',b){const s=a97d,c=process[s(0x218)]();let d=null;try{process['chdir'](a),d=await b();}finally{process[s(0x225)](c);}return d;}export class Generator extends Tool{[a97t(0x20c)];[a97t(0x241)];constructor(a,b){const u=a97t;super();if(!a)throw new Error(u(0x203));if(!a[u(0x227)])throw new Error(u(0x207));if(typeof b!==u(0x23b))throw new Error(u(0x237));this['_generators']=[],this[u(0x20c)]=Object[u(0x231)]({},a),this[u(0x227)]=this['options'][u(0x227)],this['_handler']=b[u(0x204)](this);}static[a97t(0x243)](a,b,c){const v=a97t;if(!a)throw new Error(v(0x220));if(typeof b!==v(0x23b))throw new Error(v(0x23a));const d=new Generator(a,b);return c=c||a97g,Object[v(0x231)](d,{'parent':c?.[v(0x20c)]?.[v(0x227)]}),c[v(0x24d)](d),d;}[a97t(0x24d)](a){const w=a97t;if(!(a instanceof Generator))throw new Error(w(0x1f6));this[w(0x241)][w(0x224)](a);}async[a97t(0x21f)](a,b=[],c={}){const x=a97t;let d;try{const f=a?.[x(0x232)](':');if(!f||f[x(0x246)]===0x0)throw'Generator\x20format\x20is\x20incorrect';let g=this['_generators'],h;for(const i of f){h=g[x(0x200)](j=>j[x(0x206)](i));if(!h)throw'Generator\x20'+i+'\x20not\x20found';await this['validateMakaSubscription'](h),g=h[x(0x241)];}if(h)d=await h[x(0x1fd)](b,c);else throw x(0x1f5);}catch(j){Log[x(0x20d)](j);}return d;}async[a97t(0x1fd)](a,b){const y=a97t,c=a[y(0x249)]();b[y(0x23d)]=c[0x0];try{const d=await this[y(0x233)][y(0x239)](),f=d[y(0x211)]==='light'?ColorMode[y(0x229)]:ColorMode[y(0x213)];Log[y(0x1fb)](f),await this[y(0x247)](this);const g=a[0x0]===_prevGen||a[y(0x246)]===0x0&&this[y(0x241)][y(0x246)]>=0x0,h=b[y(0x22c)]||b['h'];if(g&&h){if(this['_generators']['length']>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!h){if(this[y(0x20c)][y(0x1f3)]){const i=this['validateMakaProject']();if(!i)throw new MustBeInProjectError();}if(this[y(0x20c)][y(0x1f0)]){const j=this[y(0x235)]();if(!j)throw new NoMeteorFoundError();}if(typeof this[y(0x20c)][y(0x1fa)]===y(0x1f7)){if(a['length']<this[y(0x20c)][y(0x1fa)]){Log[y(0x20d)]('Too\x20few\x20arguments');throw new UsageError();}}if(typeof this[y(0x20c)][y(0x1f8)]===y(0x1f7)){if(a[y(0x246)]>this[y(0x20c)][y(0x1f8)]){Log['error']('Too\x20many\x20arguments');throw new UsageError();}}if(typeof this[y(0x20c)]['minOptsLength']==='number'){if(Object[y(0x22d)](b)[y(0x246)]<this['options'][y(0x21d)]){Log[y(0x20d)](y(0x1ef));throw new UsageError();}}if(typeof this[y(0x20c)]['maxOptsLength']===y(0x1f7)){if(Object[y(0x22d)](b)['length']>=this['options']['maxOptsLength']){Log['error'](y(0x20a));throw new UsageError();}}}this[y(0x20c)][y(0x234)]&&this[y(0x24a)](this[y(0x20c)]['requiredEngines']);await this[y(0x20f)](a,b,this[y(0x20c)]);if(!b[y(0x23d)]&&!this[y(0x20c)][y(0x22a)]){Log[y(0x20d)](y(0x215));throw new UsageError();}_prevGen=a[0x0];}catch(k){this[y(0x23e)](k),process[y(0x240)](0x1);}return await inside(b[y(0x218)],async()=>{const z=y;try{if(!b[z(0x1f9)]&&!this['fsi'][z(0x201)]())throw new MustBeInProjectError();const l=b[z(0x23d)]?.[z(0x22b)](/\\/g,'/')[z(0x232)]('/');!b['dir']&&(l?.[z(0x246)]>0x1?(b[z(0x23d)]=l['pop'](),c[0x0]=b[z(0x23d)],b['dir']=l['map'](m=>{return paramCase(m);})['join'](a97e[z(0x216)])):b[z(0x202)]='');if(this[z(0x20c)][z(0x221)]){if(!b[z(0x21b)]){const n={'type':'list','name':'colLocAnswer','message':z(0x242),'choices':[{'name':z(0x21a),'value':z(0x219)},{'name':'Server','value':z(0x1ff)},{'name':z(0x226),'value':z(0x23f)}]},{colLocAnswer:o}=await Actions[z(0x20c)](n);o?b[z(0x21b)]=o:b[z(0x21b)]=z(0x23f);}const m=[z(0x23f),z(0x219),z(0x1ff)];if(!m[z(0x24c)](b[z(0x21b)])){Log[z(0x20d)]('--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27');throw new UsageError();}switch(b[z(0x21b)]){case'both':b['appPathPrefix']='lib';break;case'server':b[z(0x21e)]=z(0x1ff);break;case z(0x219):b[z(0x21e)]=z(0x219);break;default:b[z(0x21e)]='';}}return await this['_handler']['call'](this,c,b);}catch(p){this[z(0x23e)](p);}});}['listGenerators'](){const A=a97t;this[A(0x1f4)](this['_generators']);}['handleGenerateError'](a){const B=a97t,{usage:usage='',description:description='',examples:examples=[],shortDesc:b,requiredOpts:requiredOpts=[],validOpts:c}=this['options'];Log[B(0x245)](description,examples,usage,b,requiredOpts,c);if(a instanceof UsageErrorWithSubs)Log[B(0x208)]('Generators:'),this[B(0x1f4)](this[B(0x241)]);else{if(a instanceof MustBeInProjectError)Log[B(0x20d)](B(0x1ee));else{if(a instanceof NoMeteorFoundError)Log[B(0x20d)]('Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly'),Log[B(0x208)](B(0x244));else a instanceof NoMeteorAppFoundError&&Log['error'](B(0x222));}}}[a97t(0x1f4)](a){const C=a97t,b=new a97f({});b[C(0x224)]([C(0x238),C(0x24b),C(0x1f2)]),a[C(0x23c)]()[C(0x210)](c=>{const D=C;b['push']([c[D(0x227)],c[D(0x214)](),c[D(0x236)]()]);}),Log[C(0x22e)](b[C(0x228)]());}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a98d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a98d,c=a();while(!![]){try{var d=-parseInt(f(0x6f))/0x1*(parseInt(f(0x6c))/0x2)+-parseInt(f(0x68))/0x3+-parseInt(f(0x6b))/0x4+-parseInt(f(0x64))/0x5+parseInt(f(0x67))/0x6+parseInt(f(0x66))/0x7+parseInt(f(0x69))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a98c,0xf25d6));var a98b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a98d;if(c){var e=c[g(0x65)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a98a=a98b(this,function(){var h=a98d;return a98a[h(0x6e)]()[h(0x6a)](h(0x6d))['toString']()[h(0x70)](a98a)['search'](h(0x6d));});a98a();import'./services/_index.js';import'./api.js';import'./collection.js';import'./component.js';import'./config.js';import'./dbc.js';function a98d(a,b){var c=a98c();return a98d=function(d,e){d=d-0x64;var f=c[d];return f;},a98d(a,b);}import'./hook.js';import'./kits/_index.js';function a98c(){var i=['toString','30824kZVXxF','constructor','3850975eyyFUu','apply','2855804PODxjO','5231946iCYCTC','5504517dzFuoL','44581456yybPem','search','5128596YNhgEy','128ZWZite','(((.+)+)+)+$'];a98c=function(){return i;};return a98c();}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';
|