@maka/maka-cli 4.6.10 → 4.6.12
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 +3 -1
- package/bundle/obf/src/command.js +1 -1
- package/bundle/obf/src/commands/_index.js +1 -1
- package/bundle/obf/src/commands/ai.js +1 -1
- package/bundle/obf/src/commands/aws/_index.js +1 -1
- package/bundle/obf/src/commands/aws/aws.command.js +1 -1
- package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/build/_index.js +1 -1
- package/bundle/obf/src/commands/build/build.js +1 -1
- package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/create.js +1 -1
- package/bundle/obf/src/commands/debug.js +1 -1
- package/bundle/obf/src/commands/deploy.js +1 -1
- package/bundle/obf/src/commands/game/_index.js +1 -1
- package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/play.command.js +1 -1
- package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/generate.js +1 -1
- package/bundle/obf/src/commands/get/_index.js +1 -1
- package/bundle/obf/src/commands/get/get.command.js +1 -1
- package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/help.js +1 -1
- package/bundle/obf/src/commands/install.js +1 -1
- package/bundle/obf/src/commands/jsdoc.js +1 -1
- package/bundle/obf/src/commands/lint.js +1 -1
- package/bundle/obf/src/commands/login.js +1 -1
- package/bundle/obf/src/commands/logout.js +1 -1
- package/bundle/obf/src/commands/logs.js +1 -1
- package/bundle/obf/src/commands/maka.cmd.js +1 -1
- package/bundle/obf/src/commands/murder.js +1 -1
- package/bundle/obf/src/commands/proxy.js +1 -1
- package/bundle/obf/src/commands/reconfig.js +1 -1
- package/bundle/obf/src/commands/run/_index.js +1 -1
- package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/run/run.command.js +1 -1
- package/bundle/obf/src/commands/set/_index.js +1 -1
- package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/set.command.js +1 -1
- package/bundle/obf/src/commands/ssh.js +1 -1
- package/bundle/obf/src/commands/ssl.js +1 -1
- package/bundle/obf/src/commands/test.js +1 -1
- package/bundle/obf/src/commands/version.js +1 -1
- package/bundle/obf/src/error.js +1 -1
- package/bundle/obf/src/exec.js +1 -1
- package/bundle/obf/src/generator.js +1 -1
- package/bundle/obf/src/generators/_index.js +1 -1
- package/bundle/obf/src/generators/api.js +1 -1
- package/bundle/obf/src/generators/collection.js +1 -1
- package/bundle/obf/src/generators/component.js +1 -1
- package/bundle/obf/src/generators/config.js +1 -1
- package/bundle/obf/src/generators/dbc.js +1 -1
- package/bundle/obf/src/generators/dockerfile.js +1 -1
- package/bundle/obf/src/generators/hook.js +1 -1
- package/bundle/obf/src/generators/kit.js +1 -1
- package/bundle/obf/src/generators/layout.js +1 -1
- package/bundle/obf/src/generators/maka.gen.js +1 -1
- package/bundle/obf/src/generators/methods.js +1 -1
- package/bundle/obf/src/generators/package.js +1 -1
- package/bundle/obf/src/generators/page.js +1 -1
- package/bundle/obf/src/generators/publish.js +1 -1
- package/bundle/obf/src/generators/route.js +1 -1
- package/bundle/obf/src/generators/service.js +1 -1
- package/bundle/obf/src/generators/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/translation.js +1 -1
- package/bundle/obf/src/maka.js +1 -1
- package/bundle/obf/src/tool.js +1 -1
- package/bundle/obf/src/tools/actions/actions.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
- package/bundle/obf/src/tools/docker/docker.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
- package/bundle/obf/src/tools/https/https.class.js +1 -1
- package/bundle/obf/src/tools/https/https.interface.js +1 -1
- package/bundle/obf/src/tools/log/log.class.js +1 -1
- package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
- package/bundle/obf/src/tools/options/options.class.js +1 -1
- package/bundle/obf/src/tools/progress/progress.class.js +1 -0
- 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 +3 -1
- package/bundle/obf/src/tools/https/progress.class.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a75o=a75d;(function(a,b){const l=a75d,c=a();while(!![]){try{const d=parseInt(l(0x184))/0x1*(-parseInt(l(0x188))/0x2)+-parseInt(l(0x191))/0x3*(parseInt(l(0x17a))/0x4)+-parseInt(l(0x17d))/0x5*(-parseInt(l(0x172))/0x6)+parseInt(l(0x198))/0x7+-parseInt(l(0x171))/0x8*(parseInt(l(0x199))/0x9)+parseInt(l(0x197))/0xa+parseInt(l(0x194))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a75c,0x4a904));const a75b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a75d;if(c){const e=c[m(0x18e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a75a=a75b(this,function(){const n=a75d;return a75a[n(0x175)]()[n(0x18c)](n(0x186))['toString']()[n(0x16f)](a75a)['search'](n(0x186));});a75a();import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a75o(0x176)][a75o(0x181)]===a75o(0x180)?a75o(0x195):a75o(0x177);function a75c(){const q=['notice','search','logout','apply','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','create','3toRhMu','fsi','token','5208533PpgMDQ','localhost','https://','3647330lCElow','3394076zGCCYf','1648683vwRpsd','Preflight\x20Check','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','maka\x20logout','constructor','header','24RNLdKC','444786XmZkiq','error','/api/v1/status','toString','env','www.maka-cli.com','Using\x20CA\x20Cert\x20','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','1579556qfvIRd','success','withSpinner','10lIBosL','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','Logging\x20out','True','MAKA_DEV','cert','start','13844gVKpXG','cacert','(((.+)+)+)+$','setGlobalConfig','32BsbxWO','failure','exit'];a75c=function(){return q;};return a75c();}function a75d(a,b){const c=a75c();return a75d=function(d,e){d=d-0x16e;let f=c[d];return f;},a75d(a,b);}Command[a75o(0x190)]({'name':a75o(0x18d),'validOpts':[a75o(0x185)],'usage':a75o(0x16e),'maxArgLength':0x2,'shortDesc':'Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','disableAuthCheck':!![],'examples':[a75o(0x16e)]},async function(a,b){const p=a75o,c=Log[p(0x17c)]();try{let d='';b[p(0x185)]&&(this[p(0x192)]['isFile'](b[p(0x185)])?(d=b[p(0x185)],Log[p(0x18b)](p(0x178)+d)):Log[p(0x173)](p(0x19b)+d));const f=await this[p(0x192)]['getGlobalConfig']();if(f[p(0x182)]){if(this[p(0x192)]['isFile'](f[p(0x182)]))d=f[p(0x182)];else{c[p(0x189)]();throw Log[p(0x173)]('CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+d);}}Log[p(0x170)]('Logging\x20out\x20of\x20https://'+hostname);const g={'url':p(0x196)+hostname+p(0x174)};b[p(0x185)]&&Object['assign'](g,{'cert':d});c[p(0x183)](p(0x19a));const {statusCode:h}=await HTTPS['get'](g);if(h===0x198){c[p(0x189)]();throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}c[p(0x17b)]();if(h!==0xc8){c['failure']();throw p(0x179);}if(!f?.[p(0x193)]?.['authToken'])throw Log[p(0x173)](p(0x17e));c[p(0x183)](p(0x17f));const i={'hostname':hostname,'path':'/api/v1/logoutAll','data':{},'headers':{'x-auth-token':f[p(0x193)]['authToken']}};b['cacert']&&Object['assign'](i,{'cert':d});const {statusCode:j}=await HTTPS['post'](i);if(j===0x198){c[p(0x189)]('\x0a');throw p(0x18f);}this[p(0x192)][p(0x187)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[p(0x17b)]();}catch(k){k&&console[p(0x173)](k),process[p(0x18a)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a76j=a76d;(function(a,b){const h=a76d,c=a();while(!![]){try{const d=parseInt(h(0x96))/0x1*(parseInt(h(0x94))/0x2)+-parseInt(h(0x8d))/0x3*(parseInt(h(0x85))/0x4)+parseInt(h(0x8b))/0x5*(-parseInt(h(0x83))/0x6)+parseInt(h(0x80))/0x7+parseInt(h(0x89))/0x8+parseInt(h(0x8c))/0x9+-parseInt(h(0x8f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a76c,0x282a7));const a76b=(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;};}()),a76a=a76b(this,function(){const i=a76d;return a76a['toString']()[i(0x92)](i(0x8a))[i(0x99)]()[i(0x84)](a76a)[i(0x92)](i(0x8a));});a76a();import a76e from'fs';import a76f from'path';function a76d(a,b){const c=a76c();return a76d=function(d,e){d=d-0x80;let f=c[d];return f;},a76d(a,b);}import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command['create']({'name':a76j(0x97),'aliases':['l',a76j(0x95)],'usage':'maka\x20logs','requiredOpts':[a76j(0x82)],'mustBeInMakaProject':!![],'validOpts':[a76j(0x91)],'shortDesc':a76j(0x88),'examples':['maka\x20logs\x20--env\x20dev','maka\x20logs\x20--env\x20staging','maka\x20l\x20-e\x20p']},function(a,b){const k=a76j,c=k(0x8e),d=this['fsi'][k(0x90)](b[k(0x82)]),e=a76f[k(0x93)](d,k(0x81)),f=a76e[k(0x87)](e),g=JSON[k(0x9a)](f[k(0x99)]());Object[k(0x98)](g,{'env':d}),SSH[k(0x86)](c,g,{'tty':!![],'verbose':!![]});});function a76c(){const l=['parse','1068970ZdqOBE','ssh.json','env','6CAbyLi','constructor','4lUFOaj','sshSync','readFileSync','View\x20the\x20PM2\x20logs','177504tzcYaw','(((.+)+)+)+$','952940wHBeru','2794347YDPhPI','967401lGmoVO','pm2\x20logs','1279670wnCnVf','getConfigPath','verbose','search','join','192rRPTud','log','3335QgfVvV','logs','assign','toString'];a76c=function(){return l;};return a76c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a77j=a77d;function a77c(){const l=['206nxVCwZ','exit','886599dsCycv','(((.+)+)+)+$','1144348rKPGWs','constructor','8562770WrfNzE','3004ReFKMr','findSubCommand','2047664nolpLr','588906UQEEhQ','maka\x20<command>\x20[<args>]\x20[<opts>]','maka','maka\x20install\x20meteor','slice','apply','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','5IsTNYU','search','maka\x20create\x20Todo','toString','7QVxunZ','3399750DRFUid','maka\x20--help','fsi'];a77c=function(){return l;};return a77c();}(function(a,b){const g=a77d,c=a();while(!![]){try{const d=-parseInt(g(0x137))/0x1*(-parseInt(g(0x149))/0x2)+parseInt(g(0x132))/0x3+-parseInt(g(0x134))/0x4*(-parseInt(g(0x141))/0x5)+parseInt(g(0x13a))/0x6*(parseInt(g(0x145))/0x7)+-parseInt(g(0x139))/0x8+parseInt(g(0x146))/0x9+-parseInt(g(0x136))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0x3e2ea));const a77b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a77d;if(c){const e=c[h(0x13f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a77a=a77b(this,function(){const i=a77d;return a77a[i(0x144)]()[i(0x142)]('(((.+)+)+)+$')['toString']()[i(0x135)](a77a)[i(0x142)](i(0x133));});a77a();function a77d(a,b){const c=a77c();return a77d=function(d,e){d=d-0x131;let f=c[d];return f;},a77d(a,b);}import{Command}from'../command.js';const Maka=new Command({'name':a77j(0x13c),'minArgLength':0x1,'shortDesc':a77j(0x140),'validOpts':[],'usage':a77j(0x13b),'disableAuthCheck':!![],'examples':[a77j(0x147),a77j(0x13d),a77j(0x143),'maka\x20run'],'description':'\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'},async function(a,b){const k=a77j;try{const c=a[0x0],d=this[k(0x138)](c);d?this['runSubCommand'](c,a[k(0x13e)](0x1),b):this[k(0x148)]['maybeProxyCommandToMeteor']();}catch(f){console['error'](f),process[k(0x131)](0x1);}});export default Maka;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var a78i=a78d;function a78c(){var
|
|
1
|
+
var a78i=a78d;function a78d(a,b){var c=a78c();return a78d=function(d,e){d=d-0xa6;var f=c[d];return f;},a78d(a,b);}(function(a,b){var f=a78d,c=a();while(!![]){try{var d=parseInt(f(0xb5))/0x1*(parseInt(f(0xac))/0x2)+-parseInt(f(0xad))/0x3+-parseInt(f(0xb2))/0x4*(parseInt(f(0xb7))/0x5)+parseInt(f(0xaf))/0x6+parseInt(f(0xb9))/0x7+-parseInt(f(0xa8))/0x8*(-parseInt(f(0xa7))/0x9)+-parseInt(f(0xbb))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0x7aef8));var a78b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a78d;if(c){var e=c[g(0xaa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){var h=a78d;return a78a[h(0xb1)]()[h(0xae)](h(0xb0))[h(0xb1)]()[h(0xb6)](a78a)['search'](h(0xb0));});a78a();function a78c(){var k=['%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','9158fZebem','1533027vFujpw','search','1639386dCeWFH','(((.+)+)+)+$','toString','4FKIMee','murder','log','17fKQVUP','constructor','3655580cekvBk','maka\x20murder','5317788oSrVEh','create','3567820AMFNRB','Murrrrderrrrr','8925237YNwmEU','8RUbasL','error','apply'];a78c=function(){return k;};return a78c();}import{Command}from'../command.js';Command[a78i(0xba)]({'name':a78i(0xb3),'usage':a78i(0xb8),'maxArgLength':0x1,'shortDesc':a78i(0xa6),'validOpts':[]},async function(){var j=a78i;try{console[j(0xb4)](j(0xab),'font-family:\x20monospace');}catch(a){console[j(0xa9)](a),process['exit'](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a79p=a79d;
|
|
1
|
+
const a79p=a79d;(function(a,b){const n=a79d,c=a();while(!![]){try{const d=parseInt(n(0x12f))/0x1*(parseInt(n(0x12d))/0x2)+parseInt(n(0x152))/0x3*(parseInt(n(0x136))/0x4)+parseInt(n(0x13f))/0x5*(parseInt(n(0x138))/0x6)+parseInt(n(0x139))/0x7*(-parseInt(n(0x146))/0x8)+-parseInt(n(0x149))/0x9+parseInt(n(0x150))/0xa+-parseInt(n(0x14b))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0x538da));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[o(0x14d)]()[o(0x145)]('(((.+)+)+)+$')[o(0x14d)]()[o(0x130)](a79a)[o(0x145)](o(0x132));});a79a();import a79e from'fs';import a79f from'path';import a79g from'http-proxy';import{Command}from'../command.js';function a79c(){const r=['Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','invoke','listen','appName','join','utf8','.key','29334gbXaer','maka\x20proxy','1tcZtgX','constructor','targetHost','(((.+)+)+)+$','=>\x20SSL\x20Proxy\x20forwarding\x20','.crt','genCSR','23924atAOTS','.csr','6PiTowU','11641PNpURv','fsi','listenPort','getConfigPath','sslconfig','findGenerator','3273460ETYgdV','localhost','error','mkKeysDir','maka\x20proxy\x20--target-host\x20http://192.168.1.20','isFile','search','824SfKAiw','targetPort','createProxyServer','2240874VDfCXZ','proxy','11676610UJuTNP','readFileSync','toString','bright','help','6103890ATHEIk','\x20to\x20','273zYZmZc'];a79c=function(){return r;};return a79c();}function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x12d;let f=c[d];return f;},a79d(a,b);}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['create']({'name':a79p(0x14a),'usage':a79p(0x12e),'mustBeInMakaProject':!![],'validOpts':[a79p(0x14f),a79p(0x147),a79p(0x13b),a79p(0x131)],'maxArgLength':0x1,'shortDesc':'Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','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':[a79p(0x12e),'maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000',a79p(0x143)]},async function(a,b){const q=a79p,c=this[q(0x13a)]['getProjectConfig'](),d='development',e=this[q(0x13a)][q(0x13c)](d),f=this[q(0x13a)][q(0x142)]({'configPath':e}),g=b[q(0x147)]?Number(b[q(0x147)]):0xbb8,h=b[q(0x13b)]?Number(b[q(0x13b)]):0xd73,i=b[q(0x131)]?b[q(0x131)]:q(0x140),j=a79f[q(0x157)](f,c[q(0x156)]+'.key'),k=a79f['join'](f,c[q(0x156)]+q(0x134));if(!this[q(0x13a)][q(0x144)](j)||!this['fsi'][q(0x144)](k)){const m=a79h[q(0x13e)](q(0x13d));m&&await m[q(0x154)]([q(0x13d)],{'env':d}),SSL[q(0x135)]({'keyName':c[q(0x156)]+q(0x159),'csrName':c[q(0x156)]+q(0x137),'cwd':f}),SSL['genSSC']({'keyName':c[q(0x156)]+q(0x159),'crtName':c[q(0x156)]+'.crt','cwd':f});}if(g===h){Log[q(0x141)](q(0x153));throw new UsageError();}const l={'ssl':{'key':a79e[q(0x14c)](j,q(0x158)),'cert':a79e['readFileSync'](k,q(0x158))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a79g[q(0x148)](l)[q(0x155)](Number(h)),Log[q(0x14e)](q(0x133)+h+q(0x151)+g);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a80p=a80d;(function(a,b){const n=a80d,c=a();while(!![]){try{const d=-parseInt(n(0x1fd))/0x1*(-parseInt(n(0x1f3))/0x2)+-parseInt(n(0x205))/0x3+-parseInt(n(0x211))/0x4*(-parseInt(n(0x1f8))/0x5)+-parseInt(n(0x215))/0x6+-parseInt(n(0x1fb))/0x7+parseInt(n(0x203))/0x8*(parseInt(n(0x218))/0x9)+parseInt(n(0x1f0))/0xa*(parseInt(n(0x20f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0x1ba27));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 o=a80d;return a80a['toString']()[o(0x1f2)](o(0x204))[o(0x201)]()[o(0x1ff)](a80a)[o(0x1f2)](o(0x204));});a80a();import a80e from'fs';import a80f from'path';function a80d(a,b){const c=a80c();return a80d=function(d,e){d=d-0x1f0;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['create']({'name':a80p(0x217),'validOpts':[''],'requiredOpts':['env'],'mustBeInMakaProject':!![],'usage':'maka\x20reconfig','shortDesc':a80p(0x1f4),'description':a80p(0x1fa),'examples':[a80p(0x216)]},async function(a,b){const q=a80p;try{const c=this[q(0x1f6)][q(0x20e)](b[q(0x21b)]),d=a80f[q(0x20c)](c,q(0x200)),f=a80e[q(0x213)](d)['toString'](),g=JSON[q(0x20d)](f);Object[q(0x20b)](g,{'env':c}),Log[q(0x1f5)](q(0x214));const h=SSH[q(0x20a)](q(0x1fe),g);if(!h)throw q(0x1f9);if(h)Log[q(0x208)](q(0x1fc));const i=a80f[q(0x20c)](c,q(0x219),q(0x206));if(a80e[q(0x21a)](i)){const l={'source':i,'dest':q(0x212),'verbose':!![]};SSH[q(0x202)](l,{...g});}const j=a80f[q(0x20c)](c,'pm2.config.js');SSH[q(0x202)]({'source':j,'dest':q(0x210),'verbose':!![]},{...g});const k=a80f['join'](c,'settings.json');SSH[q(0x202)]({'source':k,'dest':q(0x207),'verbose':!![]},{...g}),SSH[q(0x1f1)]('pm2\x20delete\x20all',g),await SSH[q(0x1f7)]('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['error'](m),process[q(0x209)](0x0);}});function a80c(){const r=['scp','173928ljxQpq','(((.+)+)+)+$','459252ROdIku','ses.json','~/settings.json','success','exit','ping','assign','join','parse','getConfigPath','11792wDFnOg','~/pm2.config.js','572YaQRau','~/ses.json','readFileSync','Checking\x20remote\x20host\x20availability','1015500cawXoR','maka\x20reconfig\x20--env\x20prod','reconfig','45CyqPGv','_keys','existsSync','env','2960SEgxlc','sshSync','search','38MjzvUb','Reconfigure\x20your\x20deployed\x20applications','notice','fsi','ssh','3035MJUEIc','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','\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','957873IzrskJ','Remote\x20host\x20connection\x20successful','3134mEmSAY','uname\x20-a','constructor','ssh.json','toString'];a80c=function(){return r;};return a80c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a81d,c=a();while(!![]){try{var d=parseInt(f(
|
|
1
|
+
(function(a,b){var f=a81d,c=a();while(!![]){try{var d=parseInt(f(0x190))/0x1*(parseInt(f(0x18f))/0x2)+-parseInt(f(0x195))/0x3+-parseInt(f(0x194))/0x4+-parseInt(f(0x191))/0x5*(parseInt(f(0x196))/0x6)+parseInt(f(0x19b))/0x7+-parseInt(f(0x19a))/0x8+-parseInt(f(0x193))/0x9*(-parseInt(f(0x198))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0x710ea));function a81d(a,b){var c=a81c();return a81d=function(d,e){d=d-0x18e;var f=c[d];return f;},a81d(a,b);}var a81b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a81d;if(c){var e=c[g(0x18e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){var h=a81d;return a81a[h(0x192)]()['search']('(((.+)+)+)+$')[h(0x192)]()[h(0x197)](a81a)[h(0x19c)](h(0x199));});function a81c(){var i=['1933078pnvZLb','search','apply','2XTufdL','403905xQPOTl','40RocaOB','toString','27IZqkcm','3376200MPsokF','2571759dNAxLD','357036sfmPqb','constructor','7675720KoPQvx','(((.+)+)+)+$','2738736sZSGWY'];a81c=function(){return i;};return a81c();}a81a();import'./run.command.js';import'./docker.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a82k=a82d;(function(a,b){const i=a82d,c=a();while(!![]){try{const d=-parseInt(i(
|
|
1
|
+
const a82k=a82d;function a82c(){const m=['docker','templateContent','createFile','26335wVAsTM','fsi','49xrMPNE','existsSync','(((.+)+)+)+$','exit','docker-compose\x20--project-directory\x20','2511252HVgvNF','maka\x20run\x20docker','search','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','306948ugFAkG','2176338UwGtvn','toString','join','4328230IwEDrc','38621720EsMCOZ','notice','config/docker-compose.yaml','6763112gamlhe','inherit','Docker\x20Compose\x20Path:\x20','\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','getConfigPath','appName','9zUXvys','74FtEiOD'];a82c=function(){return m;};return a82c();}function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0xc5;let f=c[d];return f;},a82d(a,b);}(function(a,b){const i=a82d,c=a();while(!![]){try{const d=-parseInt(i(0xd6))/0x1*(-parseInt(i(0xd2))/0x2)+parseInt(i(0xe2))/0x3+parseInt(i(0xdd))/0x4+parseInt(i(0xc7))/0x5+-parseInt(i(0xe1))/0x6*(-parseInt(i(0xd8))/0x7)+parseInt(i(0xcb))/0x8*(parseInt(i(0xd1))/0x9)+-parseInt(i(0xc8))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x8285f));const a82b=(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;};}()),a82a=a82b(this,function(){const j=a82d;return a82a['toString']()[j(0xdf)](j(0xda))[j(0xc5)]()['constructor'](a82a)['search']('(((.+)+)+)+$');});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';import{Command}from'../../command.js';import{paramCase}from'change-case';Command['create']({'name':'docker','aliases':['d'],'shortDesc':a82k(0xe0),'description':a82k(0xce),'usage':a82k(0xde),'validOpts':['']},async function(){const l=a82k;try{const a=this[l(0xd7)]['getProjectConfig'](),b=this['fsi'][l(0xcf)](l(0xd3)),c=a82f[l(0xc6)](b,'docker-compose.yaml'),d=a82f['join'](b,'pm2.config.js');Log[l(0xc9)]('PM2\x20Config\x20File:\x20'+d),Log[l(0xc9)](l(0xcd)+c);if(!a82g[l(0xd9)](c)){const f={'app':a[l(0xd0)],'appFileCase':paramCase(a[l(0xd0)])},g=this[l(0xd7)][l(0xd4)]({'srcPath':l(0xca),'context':f})+'\x0a';this[l(0xd7)][l(0xd5)]({'filePath':c,'data':g});}execSync(l(0xdc)+b+'\x20up\x20--remove-orphans',{'stdio':l(0xcc)});}catch(h){process[l(0xdb)](0x1);}},a82e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a83v=a83d;(function(a,b){const r=a83d,c=a();while(!![]){try{const d=-parseInt(r(
|
|
1
|
+
const a83v=a83d;(function(a,b){const r=a83d,c=a();while(!![]){try{const d=-parseInt(r(0xe6))/0x1*(parseInt(r(0x111))/0x2)+parseInt(r(0xd4))/0x3+-parseInt(r(0xd6))/0x4*(parseInt(r(0xec))/0x5)+parseInt(r(0xd8))/0x6*(-parseInt(r(0xfb))/0x7)+-parseInt(r(0xe2))/0x8+-parseInt(r(0x104))/0x9+parseInt(r(0x101))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0x28cae));function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0xd2;let f=c[d];return f;},a83d(a,b);}const a83b=(function(){let a=!![];return function(b,c){const d=a?function(){const s=a83d;if(c){const e=c[s(0xff)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){const t=a83d;return a83a['toString']()[t(0xdd)](t(0xf2))[t(0x103)]()[t(0x113)](a83a)[t(0xdd)]('(((.+)+)+)+$');});a83a();import a83e from'path';import a83f from'fs';import a83g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const u=a83d;a83f[u(0xd2)](a,'r'),a83g[u(0xd3)]({'path':a});},Run=Command['create']({'name':a83v(0xe8),'mustBeInMakaProject':!![],'shortDesc':'Run\x20your\x20Meteor\x20application','description':a83v(0xdc),'validOpts':[a83v(0xdb),a83v(0xeb),'r','rawLogs','p',a83v(0xea),'i',a83v(0x10a),'m',a83v(0x105),'v','verbose',a83v(0x110),a83v(0xf6),'x',a83v(0x10e),a83v(0xf0)]},async function(a,b){const w=a83v;try{const c=this[w(0x102)]['findProjectDirectory']();!this['fsi']['checkMeteorPackage'](w(0x10c))&&(Log[w(0xe9)](w(0xf3)),await this[w(0x102)][w(0xf5)]('autoupdate',{'cwd':c}));const d=a[0x0],f=this[w(0xdf)](d);f&&this[w(0x108)](d,a,b);if(d===w(0x10d)){const n=this[w(0x102)]['findProjectDirectory'](),o=a83e[w(0xfc)](n,w(0xd7),w(0xfd),w(0xe3),w(0x10f));this[w(0x102)]['isDirectory'](o)&&await rimraf(o);}if(b[w(0xde)]&&b[w(0xde)]===!![]||b['m']&&b['m']===!![])throw w(0x107);await this['fsi'][w(0x100)]();const g=b[w(0xdb)]?b[w(0xdb)]:'development',h=this['fsi'][w(0xe1)](g),i=a83e[w(0xfc)](h,w(0x112));let j=a83e[w(0xfc)](h,w(0x106));b[w(0xda)]?j=b['settings']:j=a83e[w(0xfc)](h,w(0x106));if(this['fsi']['isFile'](i)&&!b[w(0xeb)])Log[w(0xe9)]('Node\x20Env\x20Config:\x20'+i),syncSource(i);else!b[w(0xeb)]&&Log[w(0x109)](w(0xd5)+i);this[w(0x102)][w(0xef)](j)?(Log['notice'](w(0xf4)+j),a=a['concat']([w(0xee),j])):Log[w(0x109)](w(0xe5)+j);const k=h[w(0xf8)](a83e['sep']),l=k[k[w(0xf9)]-0x1];l==='production'&&a[w(0xfe)](w(0xd9));const m=process['argv'][w(0xe0)](0x2)[w(0xfa)](p=>p!==w(0xe8))[w(0xfa)](p=>p!==a[0x0]);m[w(0xf1)]((p,q)=>{const x=w;p===x(0xf7)&&m[x(0xe7)](q,0x2),p==='-e'&&m[x(0xe7)](q,0x2);}),this[w(0x102)]['invokeMeteorCommand'](w(0xe8),a[w(0x10b)](m));}catch(p){console[w(0xe4)](p),process[w(0xed)](0x1);}});function a83c(){const y=['process.env','constructor','openSync','config','497286qutNTj','Cannot\x20find\x20Node\x20Environment\x20File:\x20','41996UAamJL','app','491196AulKme','--production','settings','env','\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.','search','mobile-server','findSubCommand','slice','getConfigPath','1677568VntoAP','local','error','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','11LQThKr','splice','run','notice','port','docker','115AZBFiQ','exit','--settings','isFile','production','forEach','(((.+)+)+)+$','Verifying\x20meteor\x20package\x20requirements\x20...','Meteor\x20Settings:\x20','installMeteorPackage','extraPackages','--env','split','length','filter','28eCupmh','join','.meteor','push','apply','compareMakaToLatest','12602410KBDQsq','fsi','toString','1541907jdIDOL','mobileServer','settings.json','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)','runSubCommand','warn','inspect','concat','autoupdate','ios','exclude-archs','cordova-build','allowIncompatibleUpdate','56174mxKnMK'];a83c=function(){return y;};return a83c();}export default Run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a84d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
(function(a,b){var f=a84d,c=a();while(!![]){try{var d=-parseInt(f(0x91))/0x1*(parseInt(f(0x96))/0x2)+parseInt(f(0x90))/0x3+-parseInt(f(0x94))/0x4*(parseInt(f(0x95))/0x5)+parseInt(f(0x8e))/0x6+parseInt(f(0x92))/0x7+parseInt(f(0x97))/0x8*(parseInt(f(0x93))/0x9)+-parseInt(f(0x8d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0x96304));var a84b=(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;};}()),a84a=a84b(this,function(){var g=a84d;return a84a[g(0x8b)]()[g(0x8c)]('(((.+)+)+)+$')[g(0x8b)]()[g(0x8f)](a84a)[g(0x8c)](g(0x98));});function a84d(a,b){var c=a84c();return a84d=function(d,e){d=d-0x8b;var f=c[d];return f;},a84d(a,b);}function a84c(){var h=['3821874RAWGSA','constructor','3033012fRxqjb','67651NQjQYL','7159719KUueum','86094dhDKPh','416nmnMSz','24985ZdgVhc','28aZnnYZ','888KKUEtz','(((.+)+)+)+$','toString','search','16506520MjvErc'];a84c=function(){return h;};return a84c();}a84a();import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a85j=a85d;(function(a,b){const h=a85d,c=a();while(!![]){try{const d=parseInt(h(
|
|
1
|
+
const a85j=a85d;(function(a,b){const h=a85d,c=a();while(!![]){try{const d=parseInt(h(0x15e))/0x1+-parseInt(h(0x175))/0x2*(-parseInt(h(0x169))/0x3)+parseInt(h(0x165))/0x4*(parseInt(h(0x178))/0x5)+parseInt(h(0x17c))/0x6*(-parseInt(h(0x158))/0x7)+parseInt(h(0x16e))/0x8*(parseInt(h(0x159))/0x9)+-parseInt(h(0x154))/0xa+-parseInt(h(0x15a))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0x44183));function a85d(a,b){const c=a85c();return a85d=function(d,e){d=d-0x153;let f=c[d];return f;},a85d(a,b);}const a85b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){const i=a85d;return a85a['toString']()[i(0x177)]('(((.+)+)+)+$')['toString']()[i(0x16a)](a85a)[i(0x177)]('(((.+)+)+)+$');});a85a();import a85e from'path';import a85f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a85c(){const l=['83320cyNCVY','Set\x20allowInsecure:\x20','error','resolve','Set\x20global\x20Maka-CLI\x20settings','isFile','Set\x20color\x20pallet\x20to:\x20','952tqibdZ','boolean','search','38345LCoGsc','maka\x20set:global-config\x20<args>','Set\x20workspace:\x20','Set\x20CA\x20Cert\x20Path:\x20','6xscMyl','dark','2567630dCTKgw','success','setGlobalConfig','disallowInsecure','1083950OHslOD','27XUcCPm','526097StHvxR','cacert','isDirectory','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','299759PPMvbi','openai','help','global-config','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','maka\x20set:gc\x20--workspace\x20<path>','allowInsecure','28ecErac','exit','fsi','pallet','2229jDOZwm','constructor','Set\x20OpenAI\x20Key:\x20','create','workspace'];a85c=function(){return l;};return a85c();}Command[a85j(0x16c)]({'name':a85j(0x161),'usage':a85j(0x179),'aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[{'name':a85j(0x15b),'boolFlag':![]},{'name':'allowInsecure','boolFlag':!![]},{'name':a85j(0x157),'boolFlag':!![]},{'name':a85j(0x16d),'boolFlag':![]},{'name':a85j(0x15f),'boolFlag':![]},{'name':a85j(0x160),'boolFlag':!![]},{'name':'pallet','values':['light',a85j(0x153)]}],'shortDesc':a85j(0x172),'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':['maka\x20set:global-config\x20--cacert\x20<path>','maka\x20set:gc\x20--insecure\x20<path>',a85j(0x163)]},async function(a,b){const k=a85j;try{if(b[k(0x15b)]){if(this[k(0x167)][k(0x173)](b[k(0x15b)]))await this[k(0x167)][k(0x156)]({'cert':b[k(0x15b)]}),Log[k(0x155)](k(0x17b)+b[k(0x15b)]);else{const c=typeof b['cacert']===k(0x176)?k(0x162):k(0x15d)+b[k(0x15b)];throw Log[k(0x170)](c);}}if(b[k(0x16d)]){const d=this[k(0x167)][k(0x15c)](b[k(0x16d)]);if(d)await this['fsi']['setGlobalConfig']({'workspace':a85e[k(0x171)](b['workspace'])}),Log[k(0x155)](k(0x17a)+a85e[k(0x171)](b[k(0x16d)]));else throw Log['error']('Could\x20not\x20find\x20directory');}b[k(0x15f)]&&(await this[k(0x167)]['setGlobalConfig']({'openai':b[k(0x15f)]}),Log[k(0x155)](k(0x16b)+b[k(0x15f)]));b[k(0x168)]&&(await this[k(0x167)][k(0x156)]({'pallet':b[k(0x168)]}),Log['success'](k(0x174)+b[k(0x168)]));if(b['allowInsecure']){if(b[k(0x164)]&&b[k(0x157)])throw Log[k(0x170)]('One\x20or\x20the\x20other\x20buddy');let f=b[k(0x164)];b[k(0x157)]&&(f=![]),await this[k(0x167)]['setGlobalConfig']({'allowInsecure':f}),Log[k(0x155)](k(0x16f)+f);}process['exit'](0x0);}catch(g){console[k(0x170)](g),process[k(0x166)](0x0);}},a85f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var a86i=a86d;(function(a,b){var f=a86d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
var a86i=a86d;function a86d(a,b){var c=a86c();return a86d=function(d,e){d=d-0x189;var f=c[d];return f;},a86d(a,b);}(function(a,b){var f=a86d,c=a();while(!![]){try{var d=-parseInt(f(0x19c))/0x1*(-parseInt(f(0x195))/0x2)+-parseInt(f(0x199))/0x3+-parseInt(f(0x19a))/0x4*(-parseInt(f(0x197))/0x5)+parseInt(f(0x193))/0x6+-parseInt(f(0x19b))/0x7*(-parseInt(f(0x191))/0x8)+-parseInt(f(0x18a))/0x9*(parseInt(f(0x189))/0xa)+-parseInt(f(0x18e))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0xcd378));var a86b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a86d;if(c){var e=c[g(0x194)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){var h=a86d;return a86a[h(0x196)]()[h(0x18f)](h(0x18c))[h(0x196)]()[h(0x198)](a86a)[h(0x18f)](h(0x18c));});a86a();import a86e from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a86i(0x192)]({'name':'local-config','usage':'maka\x20set:local-config\x20<opts>','examples':['maka\x20set:lc\x20<opts>','maka\x20set:local-config\x20<opts>'],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':'Set\x20local\x20maka\x20app\x20settings','validOpts':[],'description':a86i(0x18d)},async function(){var j=a86i;Log[j(0x190)](j(0x18b));},a86e);function a86c(){var k=['92SyNQFQ','7FqWrur','863723ULplIW','110GJtOKj','731007RYVjbc','Sorry,\x20not\x20implemented\x20yet','(((.+)+)+)+$','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','21962908sdmWiy','search','notice','11410584EBQVKx','create','8800938EhVrFU','apply','2SrWlmy','toString','303230xOzdfb','constructor','4263234jGyuFD'];a86c=function(){return k;};return a86c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a87i=a87d;function a87c(){const k=['39294krXjNc','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','2828943FMGaIV','constructor','800448KinZrP','164488LFTQxY','(((.+)+)+)+$','findSubCommand','\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','help','75RpOKgg','2eXXqpi','create','search','toString','611439KFkKfh','apply','88825bAwjcZ','set','1025227wTbmCl','maka\x20set:<sub-command>\x20<opts>'];a87c=function(){return k;};return a87c();}(function(a,b){const f=a87d,c=a();while(!![]){try{const d=parseInt(f(0xc5))/0x1+parseInt(f(0xbf))/0x2*(-parseInt(f(0xc3))/0x3)+-parseInt(f(0xce))/0x4+-parseInt(f(0xbe))/0x5*(parseInt(f(0xc9))/0x6)+parseInt(f(0xc7))/0x7+-parseInt(f(0xcd))/0x8+parseInt(f(0xcb))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0x19f93));function a87d(a,b){const c=a87c();return a87d=function(d,e){d=d-0xbd;let f=c[d];return f;},a87d(a,b);}const a87b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a87d;if(c){const e=c[g(0xc4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){const h=a87d;return a87a[h(0xc2)]()[h(0xc1)]('(((.+)+)+)+$')[h(0xc2)]()[h(0xcc)](a87a)[h(0xc1)](h(0xcf));});a87a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command[a87i(0xc0)]({'name':a87i(0xc6),'usage':a87i(0xc8),'minArgLength':0x1,'shortDesc':a87i(0xca),'description':a87i(0xd1),'validOpts':[]},async function(a,b){const j=a87i,c=a[0x0];if(b[j(0xbd)])throw new UsageError();const d=this[j(0xd0)](c);d&&this['runSubCommand'](c,a,b);});export default SetCommand;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a88c(){const n=['69064OiFyuX','fsi','readFileSync','473058bJbVKE','ssh','getConfigPath','1313910ucdeTv','76077jMNvnB','maka\x20ssh\x20<command>','toString','567vLHMzc','error','search','59470xChKNk','maka\x20ssh\x20--env\x20dev','length','(((.+)+)+)+$','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','2988oxprdh','252yByteQ','env','10WktTIC','maka\x20ssh\x20--env\x20staging','ssh.json','10813TbRAwr','verbose','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','2XsbzwC','maka\x20ssh\x20--env\x20prod','assign','join','constructor','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','1642964kjonBB','parse','sshSync','create','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22'];a88c=function(){return n;};return a88c();}const a88l=a88d;(function(a,b){const j=a88d,c=a();while(!![]){try{const d=parseInt(j(0x14f))/0x1*(-parseInt(j(0x13d))/0x2)+parseInt(j(0x14e))/0x3+-parseInt(j(0x143))/0x4+-parseInt(j(0x15d))/0x5*(parseInt(j(0x14b))/0x6)+parseInt(j(0x15b))/0x7*(parseInt(j(0x148))/0x8)+-parseInt(j(0x152))/0x9*(-parseInt(j(0x155))/0xa)+parseInt(j(0x160))/0xb*(-parseInt(j(0x15a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0x392a4));const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const k=a88d;return a88a[k(0x151)]()[k(0x154)]('(((.+)+)+)+$')[k(0x151)]()[k(0x141)](a88a)[k(0x154)](k(0x158));});a88a();import a88e from'fs';import a88f from'path';import{Command}from'../command.js';function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x13d;let f=c[d];return f;},a88d(a,b);}import{SSH}from'../tools/ssh/ssh.class.js';Command[a88l(0x146)]({'name':a88l(0x14c),'usage':a88l(0x150),'mustBeInMakaProject':!![],'requiredOpts':[a88l(0x15c)],'validOpts':['env',a88l(0x161)],'shortDesc':a88l(0x142),'examples':[a88l(0x156),a88l(0x15e),a88l(0x13e),a88l(0x162),a88l(0x147),a88l(0x159)]},async function(a,b){const m=a88l;try{const c=this[m(0x149)][m(0x14d)](b[m(0x15c)]);let d='';a[m(0x157)]>0x0&&(d=a[0x0]);const f=a88f[m(0x140)](c,m(0x15f)),g=a88e[m(0x14a)](f)[m(0x151)](),h=JSON[m(0x144)](g);Object[m(0x13f)](h,{'env':c}),SSH[m(0x145)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b[m(0x161)]});}catch(i){console[m(0x153)](i),process['exit'](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(0xa2))/0x1+parseInt(v(0xbe))/0x2+parseInt(v(0xb1))/0x3*(-parseInt(v(0xd1))/0x4)+-parseInt(v(0xc6))/0x5+parseInt(v(0xaf))/0x6+parseInt(v(0xca))/0x7*(-parseInt(v(0xc0))/0x8)+parseInt(v(0xa0))/0x9*(parseInt(v(0xab))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0x75768));const a89b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a89d;if(c){const e=c[w(0xd0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){const x=a89d;return a89a[x(0xb0)]()[x(0xc9)](x(0x9f))[x(0xb0)]()['constructor'](a89a)[x(0xc9)](x(0x9f));});function a89c(){const A=['Verifying\x20Letsencrypt\x20configuration','success','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','ssh','Email\x20to\x20use\x20for\x20auto-updates:\x20','generate-csr','writeFileSync','create','New\x20CSR\x20written\x20to\x20','\x20--email\x20','notice','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','1326016zyHeNL','mkKeysDir','40gmAAAq','.crt','email','letsencrypt','ssl','env','446545lqykQk','readFileSync','emailUpdate','search','559342HWCIdU','Checking\x20remote\x20host\x20availability','sudo\x20snap\x20install\x20--classic\x20certbot','.key','letsencrypt.json','error','apply','272jRbceK','Remote\x20host\x20connection\x20successful','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','appName','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','maka\x20ssl\x20--env\x20dev\x20generate-csr','Using\x20saved\x20letsencrypt\x20config','(((.+)+)+)+$','54IyzDgD','getProjectConfig','672322AFDuFr','fsi','maka\x20ssl\x20[command]','existsSync','.csr','Please\x20provide\x20a\x20command.','stringify','domainNames','withSpinner','1421190RlKvmP','domains','ask','join','4650498HgmIzC','toString','28611uUPofT'];a89c=function(){return A;};return a89c();}a89a();import a89e from'fs';import a89f from'path';import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';function a89d(a,b){const c=a89c();return a89d=function(d,e){d=d-0x9b;let f=c[d];return f;},a89d(a,b);}import{SSL}from'../tools/ssl/ssl.class.js';Command[a89y(0xb9)]({'name':a89y(0xc4),'usage':a89y(0xa4),'validOpts':[a89y(0xac),'email'],'requiredOpts':['env'],'shortDesc':'Create\x20and\x20manage\x20your\x20SSL\x20operations.','mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a89y(0x9d),'maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate',a89y(0xb4)]},async function(a,b){const z=a89y,c=this[z(0xa3)][z(0xa1)](),d=this['fsi']['getConfigPath'](b[z(0xc5)]),f=this[z(0xa3)][z(0xbf)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0xb7))SSL['genCSR']({'keyName':c[z(0x9b)]+'.key','csrName':c[z(0x9b)]+'.csr','cwd':f});else{if(g==='generate-ssc'){if(!a89e[z(0xa5)](a89f[z(0xae)](f,c[z(0x9b)]+'.key')))throw z(0xbd)+a89f[z(0xae)](f,c['appName']+z(0xcd));if(!a89e[z(0xa5)](a89f[z(0xae)](f,c[z(0x9b)]+z(0xa6))))throw'The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20'+a89f[z(0xae)](f,c[z(0x9b)]+z(0xa6));SSL['genSSC']({'keyName':c[z(0x9b)]+'.key','crtName':c[z(0x9b)]+z(0xc1),'cwd':f}),Log['notice'](z(0xba)+f);}else{if(g===z(0xc3)){let h=b[z(0xac)],i=b[z(0xc2)];try{const p=a89e[z(0xc7)](a89f[z(0xae)](d,z(0xce)))[z(0xb0)](),q=JSON['parse'](p);h=b[z(0xac)]?b[z(0xac)]:q[z(0xa9)],i=b[z(0xc2)]?b[z(0xc2)]:q[z(0xc8)],(!b['email']||!b['domains'])&&Log[z(0xbc)](z(0x9e));}catch(r){}const j=JSON['parse'](a89e[z(0xc7)](d+'/ssh.json')[z(0xb0)]());Object['assign'](j,{'env':d}),Log[z(0xbc)](z(0xcb));try{const s=SSH['ping']('uname\x20-a',j);if(!s)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(s)Log[z(0xb3)](z(0xd2));}catch(t){Log[z(0xcf)](t);return;}const k=Log[z(0xaa)]();k['start'](z(0xb2)),SSH[z(0xb5)](z(0x9c),{...j}),SSH[z(0xb5)](z(0xcc),{...j}),SSH[z(0xb5)](z(0xd3),{...j}),k['success']();const l=h?h:await Actions[z(0xad)]('[?]\x20Domains\x20to\x20register:\x20'),m=i?i:await Actions[z(0xad)](z(0xb6));SSH['ssh']('sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20'+l+z(0xbb)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0xa8)](n,null,0x2);a89e[z(0xb8)](a89f[z(0xae)](d,z(0xce)),o);}else throw z(0xa7);}}}catch(u){console['error'](u),process['exit'](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a90c(){const s=['2328212SZWKIR','join','unit','config.json','slice','--packages','inspect','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','.maka','create','(((.+)+)+)+$','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','sanjo:jasmine','config','Meteor\x20Settings:\x20','search','none','utf8','jasmine','settings.json','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','env','port','167805rYBINo','findProjectDirectory','getConfigPath','warn','--env','driver','once','engines','8130GyslFJ','toString','5474632KMOfFX','process.env','development','test','2172777XSHRIl','--settings','forEach','--driver','Node\x20Env\x20Config:\x20','--driver-package','readFileSync','notice','concat','2jFaUuu','driverPackage','openSync','testAppPath','1475INIKsg','10582893UxPsrb','isFile','mocha','fsi','filter','error','driver-package','345919hkEnLj'];a90c=function(){return s;};return a90c();}const a90p=a90d;(function(a,b){const m=a90d,c=a();while(!![]){try{const d=-parseInt(m(0x116))/0x1*(-parseInt(m(0xf2))/0x2)+-parseInt(m(0xe9))/0x3+-parseInt(m(0xff))/0x4+parseInt(m(0xf6))/0x5*(-parseInt(m(0x11e))/0x6)+parseInt(m(0xfe))/0x7+parseInt(m(0xe5))/0x8+parseInt(m(0xf7))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0x5aabf));const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const n=a90d;return a90a['toString']()[n(0x10e)](n(0x109))[n(0xe4)]()['constructor'](a90a)['search'](n(0x109));});a90a();import a90e from'fs';function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0xe4;let f=c[d];return f;},a90d(a,b);}import a90f from'path';import a90g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const o=a90d;a90e[o(0xf4)](a,'r'),a90g[o(0x10c)]({'path':a});};Command[a90p(0x108)]({'name':a90p(0xe8),'mustBeInMakaProject':!![],'validOpts':[a90p(0x11c),'packages',a90p(0x11b),a90p(0xf3),a90p(0x101),a90p(0x114),'rawLogs',a90p(0x115),a90p(0x105),a90p(0xf5)],'usage':'maka\x20test\x20<opts>','shortDesc':a90p(0x113),'examples':[]},function(a,b){const q=a90p;try{let c=this[q(0xfa)][q(0x118)](q(0xe7));b[q(0x114)]&&(c=this[q(0xfa)][q(0x118)](b['env']));(!b[q(0x101)]||!!b[q(0x11c)])&&(a=a[q(0xf1)](['--full-app']));b[q(0x101)]&&delete b['unit'];let d=b['driver-package']||b['driver']||q(0x10f);if(d===q(0x10f)){const j=JSON['parse'](a90e[q(0xef)](a90f[q(0x100)](this[q(0xfa)][q(0x117)](),q(0x107),q(0x102)),q(0x110)));if(j[q(0x11d)][q(0xe8)]===q(0x111))d=q(0x10b);else j[q(0x11d)]['test']===q(0xf9)&&(d='meteortesting:mocha');}if(d===q(0x10f))throw q(0x106);(!b[q(0xfd)]||!b[q(0x11b)])&&(a=a['concat']([q(0xee),d]));const f=a90f[q(0x100)](c,q(0x112));this[q(0xfa)][q(0xf8)](f)?(Log[q(0xf0)](q(0x10d)+f),a=a[q(0xf1)]([q(0xea),f])):Log[q(0x119)](q(0x10a)+f);const g=a90f[q(0x100)](c,q(0xe6));this[q(0xfa)][q(0xf8)](g)?(Log['notice'](q(0xed)+g),syncSource(g)):Log[q(0x119)]('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+g);const h=process['argv'][q(0x103)](0x2)[q(0xfb)](k=>k!==q(0x11a))['filter'](k=>k!==q(0xe8))[q(0xfb)](k=>k!==a[0x0]);h[q(0xeb)]((k,l)=>{const r=q;(k===r(0x11a)||k===r(0xec))&&h['splice'](l,0x2),k===r(0x104)&&h['splice'](l,0x1);});const i=b['packages']?'test-packages':q(0xe8);this['fsi']['invokeMeteorCommand'](i,a['concat'](h));}catch(k){console[q(0xfc)](k),process['exit'](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a91n=a91d;(function(a,b){const k=a91d,c=a();while(!![]){try{const d=parseInt(k(
|
|
1
|
+
const a91n=a91d;(function(a,b){const k=a91d,c=a();while(!![]){try{const d=parseInt(k(0x19b))/0x1*(-parseInt(k(0x187))/0x2)+parseInt(k(0x1a7))/0x3+parseInt(k(0x1a3))/0x4+-parseInt(k(0x18b))/0x5+parseInt(k(0x186))/0x6*(-parseInt(k(0x189))/0x7)+-parseInt(k(0x19d))/0x8+parseInt(k(0x188))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0x4f54c));function a91c(){const p=['29339ARrVes','Project\x27s\x20Meteor\x20Node\x20Version\x20','254184bOGFxZ','notice','replace','4.6.12','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','----------------------System----------------------------','145200XCHnQG','System\x27s\x20Node\x20Version\x20','getGlobalMeteorVersion','search','1731447ztpoUu','constructor','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','maka\x20version','bright','error','\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','getProjectsMeteorNodeVersion','compareMakaToLatest','N/A','majestic','apply','1512XLUYfY','22vjGLwh','5048703adQkGN','12439vTmXvc','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','235850ntknfm','meteor','create','warn','node\x20-v','\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','toString','version','fsi','verbose','getProjectMeteorVersion','(((.+)+)+)+$','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','isMakaProject','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','exit'];a91c=function(){return p;};return a91c();}const a91b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a91d;if(c){const e=c[l(0x185)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){const m=a91d;return a91a['toString']()[m(0x1a6)](m(0x196))['toString']()[m(0x1a8)](a91a)[m(0x1a6)](m(0x196));});a91a();import{execSync}from'child_process';import a91e from'semver';import{Command}from'../command.js';function a91d(a,b){const c=a91c();return a91d=function(d,e){d=d-0x17d;let f=c[d];return f;},a91d(a,b);}import{Log}from'../tools/log/log.class.js';const pjson={'version':a91n(0x1a0)};Command[a91n(0x18d)]({'name':a91n(0x192),'aliases':['v'],'usage':a91n(0x17d),'maxArgLength':0x1,'validOpts':['verbose'],'shortDesc':a91n(0x1a1),'examples':['maka\x20v','maka\x20version','maka\x20version\x20--verbose'],'description':a91n(0x190)},async function(a,b){const o=a91n;try{const c=process['platform']==='win32'?'meteor.bat':o(0x18c);Log[o(0x184)]('Maka\x20'+pjson[o(0x192)]),await this[o(0x193)][o(0x182)]();if(b[o(0x194)]){await this[o(0x193)][o(0x182)](),Log[o(0x17e)](o(0x1a2));const d=this[o(0x193)][o(0x1a5)]();Log[o(0x17e)](('System\x27s\x20Meteor\x20Version\x20'+d)[o(0x19f)]('\x0a',''));const f=execSync(c+'\x20node\x20-v')['toString']()[o(0x19f)](/\r?\n|\r/,'')['replace']('v','');Log[o(0x17e)](o(0x18a)+f);const g=execSync(o(0x18f))[o(0x191)]()['replace'](/\r?\n|\r/,'')['replace']('v','');a91e['gt'](f,g)?(Log[o(0x18e)](o(0x1a4)+g),Log['warn'](o(0x199)+g+')\x20to\x20at\x20least\x20meteor\x27s\x20('+f+')')):Log['bright']('System\x27s\x20Node\x20Version\x20'+g);if(this[o(0x193)][o(0x198)]()){Log[o(0x17e)]('----------------------Project----------------------------');const h=this[o(0x193)][o(0x195)]();a91e['gt'](d,h)?(Log[o(0x18e)]('Project\x27s\x20Meteor\x20Version\x20'+h[o(0x19f)]('\x0a','')),Log[o(0x18e)](o(0x1a9)+d+'\x22')):Log[o(0x19e)](('Project\x27s\x20Meteor\x20Version\x20'+h)[o(0x19f)]('\x0a',''));const i=await this['fsi'][o(0x181)]();i===o(0x183)?(Log[o(0x18e)](o(0x19c)+i),Log['warn'](o(0x197))):Log['bright'](o(0x19c)+i),Log[o(0x17e)](o(0x180));}}}catch(j){console[o(0x17f)](j),process[o(0x19a)](0x0);}});
|
package/bundle/obf/src/error.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a92d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
function a92c(){var i=['constructor','183094ijvQir','1xGfPEB','24MGLLPV','search','apply','481743BKSyDL','(((.+)+)+)+$','595285xHvOCW','1177194PNrDxE','1479772XXiBAb','toString','442020IWpQij','353430ExZplb'];a92c=function(){return i;};return a92c();}(function(a,b){var f=a92d,c=a();while(!![]){try{var d=-parseInt(f(0x1b9))/0x1*(parseInt(f(0x1b8))/0x2)+parseInt(f(0x1b6))/0x3+parseInt(f(0x1b5))/0x4+parseInt(f(0x1b1))/0x5+-parseInt(f(0x1b2))/0x6+parseInt(f(0x1b3))/0x7+-parseInt(f(0x1ba))/0x8*(parseInt(f(0x1bd))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0x1af69));var a92b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a92d;if(c){var e=c[g(0x1bc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){var h=a92d;return a92a[h(0x1b4)]()[h(0x1bb)](h(0x1be))['toString']()[h(0x1b7)](a92a)[h(0x1bb)](h(0x1be));});a92a();export class UsageError{}function a92d(a,b){var c=a92c();return a92d=function(d,e){d=d-0x1b1;var f=c[d];return f;},a92d(a,b);}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
|
package/bundle/obf/src/exec.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
var a93i=a93d;(function(a,b){var f=a93d,c=a();while(!![]){try{var d
|
|
2
|
+
var a93i=a93d;(function(a,b){var f=a93d,c=a();while(!![]){try{var d=-parseInt(f(0x17d))/0x1+parseInt(f(0x178))/0x2*(parseInt(f(0x186))/0x3)+parseInt(f(0x180))/0x4*(-parseInt(f(0x187))/0x5)+parseInt(f(0x17b))/0x6+-parseInt(f(0x17e))/0x7*(parseInt(f(0x17f))/0x8)+parseInt(f(0x17a))/0x9+-parseInt(f(0x181))/0xa*(-parseInt(f(0x184))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0x8e13c));function a93c(){var j=['constructor','716166fNQYvr','14eZGAyL','2454664jzoHgw','4236172SzsYyl','18770khgKbg','search','NODE_OPTIONS','2827MVzhhK','toString','49719iNGtpe','5pLqjig','apply','54LtWHHs','(((.+)+)+)+$','9660240EtMDKP','5805618hEWtrp'];a93c=function(){return j;};return a93c();}function a93d(a,b){var c=a93c();return a93d=function(d,e){d=d-0x177;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(0x177)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){var h=a93d;return a93a[h(0x185)]()[h(0x182)]('(((.+)+)+)+$')[h(0x185)]()[h(0x17c)](a93a)[h(0x182)](h(0x179));});a93a(),process['env'][a93i(0x183)]='--experimental-modules\x20--no-warnings\x20--experimental-json-modules';import'./maka.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a94x=a94d;(function(a,b){const t=a94d,c=a();while(!![]){try{const d
|
|
1
|
+
const a94x=a94d;(function(a,b){const t=a94d,c=a();while(!![]){try{const d=parseInt(t(0x9c))/0x1+-parseInt(t(0x8a))/0x2+-parseInt(t(0x7b))/0x3+parseInt(t(0x90))/0x4+-parseInt(t(0xb5))/0x5*(-parseInt(t(0x86))/0x6)+parseInt(t(0xa0))/0x7*(parseInt(t(0x84))/0x8)+parseInt(t(0xa1))/0x9*(parseInt(t(0xd2))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0x361e0));function a94c(){const J=['getPro','options','client','shortDesc','toString','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','_handler','match','join','Too\x20few\x20arguments','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','resourceName','DARK','root','proFlags','appPathPrefix','map','maxArgLength','where','126990bwMBQy','name','server','both','call','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator','find','slice','Generators:','lib','tableList','search','filter','chdir','length','maxOptsLength','addGenerator','pop','constructor','apply','There\x20is\x20no\x20Meteor\x20application\x20here','exit','Both','create','(((.+)+)+)+$','function','assign','validateMakaSubscription','notice','88340lNEZpa','bind','singleLicense','keys','bright','minArgLength','Too\x20many\x20options','_generators','949731IsNLaF','Too\x20many\x20arguments','colLocAnswer','To\x20use\x20this\x20generator,\x20\x22','light','checkWhere','Server','help','usage','11768oAUbLm','validateMakaProject','24XYuwBi','proGenerators','Too\x20few\x20options','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','747408yHunIK','error','Generator.create\x20requires\x20a\x20handler\x20function!','minOptsLength','dir','No\x20resource\x20name\x20specified','395924hpBtpz','Client','Alias','split','Generator\x20requires\x20a\x20handler\x20function','includes','addGenerator\x20requires\x20a\x20Generator\x20instance','roles','number','push','forEach','domainLicense','56505mBdzWY','validateParams','Description','cwd','1687DgDmXc','306wcUTxD'];a94c=function(){return J;};return a94c();}const a94b=(function(){let a=!![];return function(b,c){const d=a?function(){const u=a94d;if(c){const e=c[u(0xc8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){const v=a94d;return a94a[v(0xa6)]()['search'](v(0xcd))[v(0xa6)]()[v(0xc7)](a94a)[v(0xc0)](v(0xcd));});a94a();function a94d(a,b){const c=a94c();return a94d=function(d,e){d=d-0x76;let f=c[d];return f;},a94d(a,b);}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';import{Tool}from'./tool.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError}from'./error.js';let _prevGen='';function inside(a='.',b){const w=a94d,c=process['cwd']();let d=null;try{process['chdir'](a),d=b();}finally{process[w(0xc2)](c);}return d;}export class Generator extends Tool{[a94x(0xa3)];[a94x(0x7a)];constructor(a,b){const y=a94x;super();if(!a)throw new Error('Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object');if(!a['name'])throw new Error('Generator\x20requires\x20a\x20name');if(typeof b!=='function')throw new Error(y(0x94));this[y(0x7a)]=[],this['options']=Object[y(0xcf)]({},a),this[y(0xb6)]=this[y(0xa3)]['name'],this['_handler']=b[y(0xd3)](this);}static[a94x(0xcc)](a,b,c){const z=a94x;if(!a)throw new Error('Generator.create\x20requires\x20some\x20options!');if(typeof b!==z(0xce))throw new Error(z(0x8c));const d=new Generator(a,b);return c=c||a94g,Object[z(0xcf)](d,{'parent':c?.['options']?.[z(0xb6)]}),c[z(0xc5)](d),d;}['addGenerator'](a){const A=a94x;if(!(a instanceof Generator))throw new Error(A(0x96));this[A(0x7a)][A(0x99)](a);}['findGenerator'](a){const B=a94x,b=this['_generators'][B(0xbb)](c=>c[B(0xa9)](a));return b;}async['validateMakaSubscription'](a,b){const C=a94x,c=this['findGenerator'](a[0x0]);if(c){const d=c?.[C(0xb6)]||a[0x0],e=c?.['parent']||'',f=Object[C(0x76)](b),g=await this['fsi'][C(0xa2)]();!g&&(Log['error'](C(0xac)),process[C(0xca)](0x1));const h=!g?.[C(0x97)][C(0x95)](C(0xd4))&&!g?.[C(0x97)][C(0x95)](C(0x9b)),i=g?.['proGenerators'][C(0x95)](d)||g?.[C(0x87)][C(0x95)](e);if(i&&h)throw C(0x7e)+d+C(0x89);if(f[C(0xc3)]>0x0){const j=g?.[C(0xb0)][C(0xc1)](k=>f[C(0x95)](k));if(j&&j[C(0xc3)]>0x0&&h)throw'To\x20use\x20these\x20pro\x20flags,\x20\x22'+j?.[C(0xaa)](',\x20')+C(0x89);}}}async['invoke'](a,b){const D=a94x,{usage:usage='',description:description='',examples:examples=[],shortDesc:c,requiredOpts:requiredOpts=[],validOpts:d}=this[D(0xa3)],f=await this['fsi']['getGlobalConfig'](),g=f['pallet']===D(0x7f)?ColorMode['LIGHT']:ColorMode[D(0xae)];Log['setColorMode'](g);try{await this[D(0xd0)](a,b);}catch(j){Log[D(0x8b)](j),process['exit'](0x1);}const h=a[D(0xbc)]();b['resourceName']=h[0x0];const i=b[D(0x82)]||b['h'];try{if((a[0x0]===_prevGen||a[D(0xc3)]===0x0)&&i)throw new UsageError();if(this[D(0xa3)]['mustBeInMakaProject']){const k=this[D(0x85)]();if(!k)throw new MustBeInProjectError();}if(this[D(0xa3)]['mustHaveMeteorInstalled']){const l=this['validateMeteorInstall']();if(!l)throw new NoMeteorFoundError();}if(typeof this['options'][D(0x78)]===D(0x98)){if(a[D(0xc3)]<this[D(0xa3)][D(0x78)]){Log[D(0x8b)](D(0xab));throw new UsageError();}}if(typeof this[D(0xa3)][D(0xb3)]===D(0x98)){if(a[D(0xc3)]>this['options']['maxArgLength']){Log[D(0x8b)](D(0x7c));throw new UsageError();}}if(typeof this[D(0xa3)][D(0x8d)]===D(0x98)){if(Object[D(0x76)](b)[D(0xc3)]<this[D(0xa3)][D(0x8d)]){Log[D(0x8b)](D(0x88));throw new UsageError();}}if(typeof this[D(0xa3)][D(0xc4)]==='number'){if(Object[D(0x76)](b)[D(0xc3)]>=this['options'][D(0xc4)]){Log['error'](D(0x79));throw new UsageError();}}await this[D(0x9d)](a,b,this['options']);if(!b[D(0xad)]&&!this['options']['noResource']){Log[D(0x8b)](D(0x8f));throw new UsageError();}_prevGen=a[0x0];}catch(m){Log[D(0x83)](description,examples,usage,c,requiredOpts,d);if(m instanceof UsageError)this[D(0x7a)][D(0xc3)]>0x0&&i&&(Log[D(0xd1)](D(0xbd)),this[D(0xbf)](this[D(0x7a)]));else{if(m instanceof MustBeInProjectError)Log[D(0x8b)](D(0xba));else{if(m instanceof NoMeteorFoundError)Log[D(0x8b)](D(0xa7)),Log['notice']('Please\x20run\x20\x22maka\x20install\x20meteor\x22');else{if(m instanceof NoMeteorAppFoundError)Log['error'](D(0xc9));else throw m;}}}process[D(0xca)](0x1);}return new Promise(n=>{const E=D;inside(b[E(0x9f)],async()=>{const F=E;try{if(!b[F(0xaf)]&&!this['fsi']['findProjectDirectory']())throw new MustBeInProjectError();const o=b[F(0xad)]?.['replace'](/\\/g,'/')[F(0x93)]('/');!b[F(0x8e)]&&(o?.['length']>0x1?(b['resourceName']=o[F(0xc6)](),h[0x0]=b[F(0xad)],b['dir']=o[F(0xb2)](p=>{return paramCase(p);})[F(0xaa)](a94e['sep'])):b[F(0x8e)]='');if(this['options'][F(0x80)]){if(!b[F(0xb4)]){const q={'type':'list','name':F(0x7d),'message':'Location','choices':[{'name':F(0x91),'value':F(0xa4)},{'name':F(0x81),'value':F(0xb7)},{'name':F(0xcb),'value':'both'}]},{colLocAnswer:r}=await Actions[F(0xa3)](q);r?b[F(0xb4)]=r:b['where']='both';}const p=['both',F(0xa4),F(0xb7)];if(!p[F(0x95)](b['where'])){Log[F(0x8b)]('--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27');throw new UsageError();}switch(b[F(0xb4)]){case F(0xb8):b[F(0xb1)]=F(0xbe);break;case'server':b[F(0xb1)]=F(0xb7);break;case'client':b['appPathPrefix']='client';break;default:b[F(0xb1)]='';}}n(this[F(0xa8)][F(0xb9)](this,h,b));}catch(s){console[F(0x8b)](s);}});});}['listGenerators'](){const G=a94x;this['tableList'](this[G(0x7a)]);}['tableList'](a){const H=a94x,b=new a94f({});b['push'](['Name',H(0x92),H(0x9e)]),a['sort']()[H(0x9a)](c=>{const I=H;b[I(0x99)]([c[I(0xb6)],c['aliases'](),c[I(0xa5)]()]);}),Log[H(0x77)](b[H(0xa6)]());}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a95d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
(function(a,b){var f=a95d,c=a();while(!![]){try{var d=-parseInt(f(0xde))/0x1*(-parseInt(f(0xd8))/0x2)+-parseInt(f(0xe0))/0x3*(parseInt(f(0xe6))/0x4)+-parseInt(f(0xdd))/0x5*(-parseInt(f(0xda))/0x6)+-parseInt(f(0xe2))/0x7*(parseInt(f(0xdf))/0x8)+parseInt(f(0xe5))/0x9+-parseInt(f(0xe3))/0xa+parseInt(f(0xdb))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a95c,0xe3034));var a95b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a95d;if(c){var e=c[g(0xe1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a95a=a95b(this,function(){var h=a95d;return a95a[h(0xdc)]()[h(0xe4)]('(((.+)+)+)+$')['toString']()[h(0xe7)](a95a)[h(0xe4)](h(0xd9));});a95a();function a95c(){var i=['763988erBWWH','constructor','2504LLzxeQ','(((.+)+)+)+$','6lSqTTF','14444540YfQbQc','toString','7049695vVQqwa','241wryLYL','20184hZLywf','15fhLPVz','apply','931RuTZTp','9501860zufMRA','search','1311867JuwFso'];a95c=function(){return i;};return a95c();}import'./services/_index.js';import'./api.js';import'./collection.js';function a95d(a,b){var c=a95c();return a95d=function(d,e){d=d-0xd8;var f=c[d];return f;},a95d(a,b);}import'./component.js';import'./config.js';import'./dbc.js';import'./hook.js';import'./kit.js';import'./layout.js';import'./methods.js';import'./package.js';import'./publish.js';import'./route.js';import'./service.js';import'./page.js';import'./maka.gen.js';import'./dockerfile.js';import'./maka.gen.js';
|