@maka/maka-cli 4.7.7 → 4.7.9
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/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
|
|
1
|
+
const a78o=a78d;(function(a,b){const l=a78d,c=a();while(!![]){try{const d=-parseInt(l(0xa6))/0x1+-parseInt(l(0x96))/0x2+-parseInt(l(0xac))/0x3+parseInt(l(0xbd))/0x4+-parseInt(l(0x9c))/0x5*(-parseInt(l(0xa3))/0x6)+-parseInt(l(0xb6))/0x7+parseInt(l(0xb8))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0x657a7));function a78c(){const q=['setGlobalConfig','toString','get','constructor','432XbXNWr','withSpinner','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','332194RnAGBL','isFile','fsi','https://','header','token','1381818buXkmE','cert','notice','start','cacert','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','apply','Preflight\x20Check','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','search','3731448UYHAlS','Logging\x20out','13976032BXUGRj','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','maka\x20logout','post','success','1126792wCZFkT','/api/v1/logoutAll','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','MAKA_DEV','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','failure','1051870eYsNDv','(((.+)+)+)+$','assign','error','authToken','create','16580EEFTHG','Logging\x20out\x20of\x20https://','Using\x20CA\x20Cert\x20'];a78c=function(){return q;};return a78c();}const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a78d;if(c){const e=c[m(0xb2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const n=a78d;return a78a[n(0xa0)]()[n(0xb5)]('(((.+)+)+)+$')[n(0xa0)]()[n(0xa2)](a78a)['search'](n(0x97));});a78a();function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x91;let f=c[d];return f;},a78d(a,b);}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(0x93)]==='True'?'localhost':'www.maka-cli.com';Command[a78o(0x9b)]({'name':'logout','validOpts':['cacert'],'usage':a78o(0xba),'maxArgLength':0x2,'shortDesc':a78o(0xb9),'disableAuthCheck':!![],'examples':[a78o(0xba)]},async function(a,b){const p=a78o,c=Log[p(0xa4)]();try{let d='';b[p(0xb0)]&&(this[p(0xa8)][p(0xa7)](b[p(0xb0)])?(d=b[p(0xb0)],Log[p(0xae)](p(0x9e)+d)):Log[p(0x99)](p(0x92)+d));const f=await this[p(0xa8)]['getGlobalConfig']();if(f[p(0xad)]){if(this[p(0xa8)]['isFile'](f['cert']))d=f['cert'];else{c[p(0x95)]();throw Log[p(0x99)](p(0x94)+d);}}Log[p(0xaa)](p(0x9d)+hostname);const g={'url':p(0xa9)+hostname+'/api/v1/status'};b[p(0xb0)]&&Object[p(0x98)](g,{'cert':d});c['start'](p(0xb3));const {statusCode:h}=await HTTPS[p(0xa1)](g);if(h===0x198){c[p(0x95)]();throw p(0xb1);}c['success']();if(h!==0xc8){c['failure']();throw p(0xa5);}if(!f?.[p(0xab)]?.[p(0x9a)])throw Log[p(0x99)](p(0xb4));c[p(0xaf)](p(0xb7));const i={'hostname':hostname,'path':p(0x91),'data':{},'headers':{'x-auth-token':f['token'][p(0x9a)]}};b['cacert']&&Object[p(0x98)](i,{'cert':d});const {statusCode:j}=await HTTPS[p(0xbb)](i);if(j===0x198){c[p(0x95)]('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}this['fsi'][p(0x9f)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[p(0xbc)]();}catch(k){k&&console['error'](k),process['exit'](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a79m=a79d;(function(a,b){const j=a79d,c=a();while(!![]){try{const d=-parseInt(j(0x89))/0x1*(-parseInt(j(0x87))/0x2)+-parseInt(j(0x83))/0x3+parseInt(j(0x8c))/0x4+parseInt(j(0x7b))/0x5+parseInt(j(0x80))/0x6*(parseInt(j(0x8b))/0x7)+parseInt(j(0x7d))/0x8*(-parseInt(j(0x84))/0x9)+parseInt(j(0x88))/0xa*(-parseInt(j(0x8e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0x80f7e));const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a79d;if(c){const e=c[k(0x73)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const l=a79d;return a79a[l(0x79)]()[l(0x78)]('(((.+)+)+)+$')[l(0x79)]()[l(0x74)](a79a)[l(0x78)](l(0x75));});a79a();import a79e from'fs';function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x72;let f=c[d];return f;},a79d(a,b);}import a79f from'path';import{Command}from'../command.js';function a79c(){const o=['4108664EimKAt','env','132KPEtBl','ssh.json','maka\x20logs\x20--env\x20dev','apply','constructor','(((.+)+)+)+$','pm2\x20logs','maka\x20logs','search','toString','error','4975425GmeFtH','assign','660248nIoxhG','logs','sshSync','61650piFMfw','join','maka\x20logs\x20--env\x20staging','46257FNnjMC','45NIfbxb','log','parse','1792520tuFuMK','1900590vEFOoy','1YcOmvZ','fsi','217ImXvwx'];a79c=function(){return o;};return a79c();}import{SSH}from'../tools/ssh/ssh.class.js';import{Log}from'../tools/log/log.class.js';Command['create']({'name':a79m(0x7e),'aliases':['l',a79m(0x85)],'usage':a79m(0x77),'requiredOpts':[a79m(0x8d)],'mustBeInMakaProject':!![],'validOpts':['verbose'],'shortDesc':'View\x20the\x20PM2\x20logs','isPro':!![],'examples':[a79m(0x72),a79m(0x82),'maka\x20l\x20-e\x20p']},function(a,b){const n=a79m;try{const c=n(0x76),d=this[n(0x8a)]['getAppConfigPath'](b[n(0x8d)]),f=a79f[n(0x81)](d,n(0x8f)),g=a79e['readFileSync'](f),h=JSON[n(0x86)](g[n(0x79)]());Object[n(0x7c)](h,{'env':d}),SSH[n(0x7f)](c,h,{'tty':!![],'verbose':!![]});}catch(i){Log[n(0x7a)](i);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a80h=a80d;(function(a,b){const f=a80d,c=a();while(!![]){try{const d=parseInt(f(
|
|
1
|
+
const a80h=a80d;(function(a,b){const f=a80d,c=a();while(!![]){try{const d=parseInt(f(0x1ad))/0x1*(parseInt(f(0x1b4))/0x2)+-parseInt(f(0x1be))/0x3*(parseInt(f(0x1b7))/0x4)+parseInt(f(0x1b5))/0x5*(-parseInt(f(0x1b9))/0x6)+parseInt(f(0x1bf))/0x7*(-parseInt(f(0x1ab))/0x8)+-parseInt(f(0x1b1))/0x9+parseInt(f(0x1bc))/0xa+parseInt(f(0x1ba))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0x75197));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(0x1b8)]()['search'](g(0x1bb))[g(0x1b8)]()[g(0x1b6)](a80a)[g(0x1aa)]('(((.+)+)+)+$');});a80a();function a80c(){const j=['(((.+)+)+)+$','2454580RLUWJE','maka','3GpfBlq','3297lqNCxf','search','664SRIYKP','processAndRunCommand','4726LBxiCO','maka\x20install\x20meteor','maka\x20create\x20Todo','maka\x20<command>\x20[<args>]\x20[<opts>]','1772559wzdfdQ','splice','\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','116DxpQIu','5cLVTim','constructor','630092YMfQcc','toString','2674566YlMdYZ','8793411KidZwQ'];a80c=function(){return j;};return a80c();}import{Command}from'../command.js';function a80d(a,b){const c=a80c();return a80d=function(d,e){d=d-0x1aa;let f=c[d];return f;},a80d(a,b);}const Maka=new Command({'name':a80h(0x1bd),'minArgLength':0x1,'shortDesc':'A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','validOpts':[],'usage':a80h(0x1b0),'disableAuthCheck':!![],'examples':['maka\x20--help',a80h(0x1ae),a80h(0x1af),'maka\x20run'],'description':a80h(0x1b3)},async function(a,b){const i=a80h;try{const c=a[0x0];a[i(0x1b2)](0x0,0x1),await this[i(0x1ac)](c,a,b);}catch(d){process['exit'](0x1);}});export default Maka;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var a81i=a81d;
|
|
1
|
+
var a81i=a81d;(function(a,b){var f=a81d,c=a();while(!![]){try{var d=parseInt(f(0x1d7))/0x1+-parseInt(f(0x1d3))/0x2*(-parseInt(f(0x1cf))/0x3)+parseInt(f(0x1c8))/0x4+-parseInt(f(0x1c5))/0x5+-parseInt(f(0x1ca))/0x6*(-parseInt(f(0x1d2))/0x7)+-parseInt(f(0x1cd))/0x8+parseInt(f(0x1cb))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0x3b5d7));var a81b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a81d;if(c){var e=c[g(0x1d4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){var h=a81d;return a81a[h(0x1d0)]()[h(0x1ce)](h(0x1d6))['toString']()[h(0x1cc)](a81a)[h(0x1ce)]('(((.+)+)+)+$');});a81a();import{Command}from'../command.js';function a81d(a,b){var c=a81c();return a81d=function(d,e){d=d-0x1c5;var f=c[d];return f;},a81d(a,b);}function a81c(){var k=['54BOnumk','667251BVwOZU','constructor','986720GOrHKd','search','374547LqbgWZ','toString','log','65086bwcYjf','6VJUbfX','apply','error','(((.+)+)+)+$','187576IgVvfA','create','2236115CBOXFI','Murrrrderrrrr','murder','375112aUBBLI','%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'];a81c=function(){return k;};return a81c();}Command[a81i(0x1d8)]({'name':a81i(0x1c7),'usage':'maka\x20murder','maxArgLength':0x1,'shortDesc':a81i(0x1c6),'validOpts':[]},async function(){var j=a81i;try{console[j(0x1d1)](j(0x1c9),'font-family:\x20monospace');}catch(a){console[j(0x1d5)](a),process['exit'](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a82p=a82d;function a82c(){const r=['development','genSSC','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','search','toString','getMakaProjectConfig','13379VKrtrJ','maka\x20proxy','5vGrvBD','genCSR','fsi','1107996byORop','58RLywcS','2157858NLXuiU','listenPort','maka\x20proxy\x20--target-host\x20http://192.168.1.20','proxy','targetHost','1217412NCmNry','targetPort','551637cxoIPI','utf8','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','processAndRunGenerator','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','appName','join','help','mkKeysDir','(((.+)+)+)+$','getAppConfigPath','apply','1336870JwfLqd','sslconfig','listen','readFileSync','.key','.crt','=>\x20SSL\x20Proxy\x20forwarding\x20','.csr','1547496gKzrbe','9oTuhQh','isFile'];a82c=function(){return r;};return a82c();}(function(a,b){const m=a82d,c=a();while(!![]){try{const d=-parseInt(m(0x68))/0x1*(-parseInt(m(0x6e))/0x2)+parseInt(m(0x76))/0x3+parseInt(m(0x6d))/0x4*(parseInt(m(0x6a))/0x5)+-parseInt(m(0x6f))/0x6+-parseInt(m(0x74))/0x7+-parseInt(m(0x8a))/0x8+parseInt(m(0x8b))/0x9*(parseInt(m(0x82))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x3e648));function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x67;let f=c[d];return f;},a82d(a,b);}const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a82d;if(c){const e=c[n(0x81)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const o=a82d;return a82a[o(0x91)]()[o(0x90)](o(0x7f))[o(0x91)]()['constructor'](a82a)['search'](o(0x7f));});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';Command['create']({'name':a82p(0x72),'usage':a82p(0x69),'mustBeInMakaProject':!![],'validOpts':[a82p(0x7d),'targetPort',a82p(0x70),a82p(0x73)],'maxArgLength':0x1,'shortDesc':a82p(0x78),'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':[a82p(0x69),a82p(0x7a),a82p(0x71)]},async function(a,b){const q=a82p,c=this[q(0x6c)][q(0x67)](),d=q(0x8d),e=this[q(0x6c)][q(0x80)](d),f=this['fsi'][q(0x7e)]({'configPath':e}),g=b[q(0x75)]?Number(b['targetPort']):0xbb8,h=b[q(0x70)]?Number(b[q(0x70)]):0xd73,i=b[q(0x73)]?b[q(0x73)]:'localhost',j=a82f[q(0x7c)](f,c[q(0x7b)]+'.key'),k=a82f[q(0x7c)](f,c[q(0x7b)]+q(0x87));(!this[q(0x6c)][q(0x8c)](j)||!this[q(0x6c)][q(0x8c)](k))&&(await a82h[q(0x79)](q(0x83),[],{'env':d}),SSL[q(0x6b)]({'keyName':c[q(0x7b)]+q(0x86),'csrName':c[q(0x7b)]+q(0x89),'cwd':f}),SSL[q(0x8e)]({'keyName':c[q(0x7b)]+'.key','crtName':c[q(0x7b)]+q(0x87),'cwd':f}));if(g===h){Log['error'](q(0x8f));throw new UsageError();}const l={'ssl':{'key':a82e[q(0x85)](j,q(0x77)),'cert':a82e[q(0x85)](k,q(0x77))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a82g['createProxyServer'](l)[q(0x84)](Number(h)),Log['bright'](q(0x88)+h+'\x20to\x20'+g);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a83q=a83d;(function(a,b){const n=a83d,c=a();while(!![]){try{const d=parseInt(n(0xe1))/0x1*(-parseInt(n(0xf8))/0x2)+-parseInt(n(0xf9))/0x3+parseInt(n(0xf7))/0x4+-parseInt(n(0xdb))/0x5*(-parseInt(n(0x105))/0x6)+parseInt(n(0xf4))/0x7*(parseInt(n(0x100))/0x8)+-parseInt(n(0xf5))/0x9*(parseInt(n(0x103))/0xa)+-parseInt(n(0xf0))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0x66931));const a83b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a83d;if(c){const e=c[o(0xef)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){const p=a83d;return a83a[p(0xdf)]()[p(0xeb)](p(0xff))[p(0xdf)]()[p(0xfd)](a83a)[p(0xeb)]('(((.+)+)+)+$');});a83a();import a83e from'fs';function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0xda;let f=c[d];return f;},a83d(a,b);}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';function a83c(){const s=['ses.json','existsSync','error','toString','maka\x20reconfig\x20--env\x20prod','163198ECbLiv','Checking\x20remote\x20host\x20availability','\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','getAppConfigPath','join','ping','pm2\x20delete\x20all','ssh','_keys','ssh.json','search','~/ses.json','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','uname\x20-a','apply','4865036GQgkTE','exit','fsi','~/pm2.config.js','5383NliKWs','9NBgdlO','scp','680152OSgSwV','2KPDlez','163236QhBpaY','success','notice','env','constructor','pm2.config.js','(((.+)+)+)+$','4640xoxsfo','sshSync','~/settings.json','1128020YKVmez','Remote\x20host\x20connection\x20successful','692130XnaKMc','maka\x20reconfig','25DTJduN'];a83c=function(){return s;};return a83c();}Command['create']({'name':'reconfig','validOpts':[''],'requiredOpts':[a83q(0xfc)],'mustBeInMakaProject':!![],'usage':a83q(0xda),'isPro':!![],'shortDesc':'Reconfigure\x20your\x20deployed\x20applications','description':a83q(0xe3),'examples':[a83q(0xe0)]},async function(a,b){const r=a83q;try{const c=this[r(0xf2)][r(0xe4)](b['env']),d=a83f[r(0xe5)](c,r(0xea)),f=a83e['readFileSync'](d)['toString'](),g=JSON['parse'](f);Object['assign'](g,{'env':c}),Log[r(0xfb)](r(0xe2));const h=SSH[r(0xe6)](r(0xee),g);if(!h)throw r(0xed);if(h)Log[r(0xfa)](r(0x104));const i=a83f[r(0xe5)](c,r(0xe9),r(0xdc));if(a83e[r(0xdd)](i)){const l={'source':i,'dest':r(0xec),'verbose':!![]};SSH[r(0xf6)](l,{...g});}const j=a83f[r(0xe5)](c,r(0xfe));SSH[r(0xf6)]({'source':j,'dest':r(0xf3),'verbose':!![]},{...g});const k=a83f[r(0xe5)](c,'settings.json');SSH[r(0xf6)]({'source':k,'dest':r(0x102),'verbose':!![]},{...g}),SSH[r(0x101)](r(0xe7),g),await SSH[r(0xe8)]('echo\x20\x22\x22\x20&&\x20pm2\x20start\x20pm2.config.js\x20&&\x20echo\x20\x22\x22\x20||\x20echo\x20\x22Cound\x20not\x20find\x20PM2,\x20have\x20you\x20deployed\x20the\x20app\x20yet?\x22',{...g},{'verbose':!![]});}catch(m){console[r(0xde)](m),process[r(0xf1)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a84d,c=a();while(!![]){try{var d=parseInt(f(
|
|
1
|
+
function a84d(a,b){var c=a84c();return a84d=function(d,e){d=d-0x177;var f=c[d];return f;},a84d(a,b);}(function(a,b){var f=a84d,c=a();while(!![]){try{var d=parseInt(f(0x183))/0x1+-parseInt(f(0x17e))/0x2*(parseInt(f(0x17a))/0x3)+-parseInt(f(0x177))/0x4+parseInt(f(0x17f))/0x5*(parseInt(f(0x182))/0x6)+parseInt(f(0x17c))/0x7+-parseInt(f(0x179))/0x8*(-parseInt(f(0x178))/0x9)+-parseInt(f(0x17d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0x6b7a1));var a84b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a84d;if(c){var e=c[g(0x185)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){var h=a84d;return a84a[h(0x180)]()[h(0x184)](h(0x17b))['toString']()[h(0x181)](a84a)[h(0x184)](h(0x17b));});function a84c(){var i=['1386249YesyYv','(((.+)+)+)+$','5659311XwVyhS','7930730veGYYY','2QrsnUt','1790CEuZZH','toString','constructor','9282oGffeR','434553ikUfDH','search','apply','2371936wSiHmw','4423617ksVyTN','8sGpMEt'];a84c=function(){return i;};return a84c();}a84a();import'./run.command.js';import'./docker.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a85c(){const o=['toString','3SHgNTn','\x20up\x20--remove-orphans','constructor','docker','inherit','appName','354110XcdTCF','1660568oizUpY','\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','8KFdbHR','pm2.config.js','1268090djOJZr','fsi','apply','createFile','create','230ChWQbN','join','config/docker-compose.yaml','(((.+)+)+)+$','1761249jenFmz','3841560CglODd','docker-compose\x20--project-directory\x20','notice','search','3170040MyLVGP','exit','maka\x20run\x20docker','794haDgHH','Docker\x20Compose\x20Path:\x20','http://localhost','11ddpYao'];a85c=function(){return o;};return a85c();}const a85m=a85d;(function(a,b){const j=a85d,c=a();while(!![]){try{const d=parseInt(j(0x136))/0x1*(-parseInt(j(0x142))/0x2)+-parseInt(j(0x147))/0x3*(-parseInt(j(0x14e))/0x4)+-parseInt(j(0x14d))/0x5+-parseInt(j(0x13f))/0x6+parseInt(j(0x13a))/0x7*(parseInt(j(0x150))/0x8)+parseInt(j(0x13b))/0x9+parseInt(j(0x152))/0xa*(-parseInt(j(0x145))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0x43754));const a85b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a85d;if(c){const e=c[k(0x154)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){const l=a85d;return a85a[l(0x146)]()[l(0x13e)](l(0x139))[l(0x146)]()[l(0x149)](a85a)[l(0x13e)](l(0x139));});function a85d(a,b){const c=a85c();return a85d=function(d,e){d=d-0x135;let f=c[d];return f;},a85d(a,b);}a85a();import a85e from'./run.command.js';import{execSync}from'child_process';import a85f from'path';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(0x135)]({'name':a85m(0x14a),'aliases':['d'],'shortDesc':'Run\x20your\x20application\x20in\x20a\x20Docker\x20container','description':a85m(0x14f),'usage':a85m(0x141),'isPro':!![],'validOpts':['']},async function(){const n=a85m;try{const a=this[n(0x153)]['getMakaProjectConfig'](),b=this[n(0x153)]['getAppConfigPath']('docker'),c=a85f[n(0x137)](b,'docker-compose.yaml'),d=a85f[n(0x137)](b,n(0x151));Log['notice']('PM2\x20Config\x20File:\x20'+d),Log[n(0x13d)](n(0x143)+c);if(!a85g['existsSync'](c)){const f={'app':a[n(0x14c)],'appFileCase':paramCase(a[n(0x14c)])},g=this[n(0x153)]['templateContent']({'srcPath':n(0x138),'context':f})+'\x0a';this[n(0x153)][n(0x155)]({'filePath':c,'data':g});}try{await a85h(n(0x144));}catch(h){}execSync(n(0x13c)+b+n(0x148),{'stdio':n(0x14b)});}catch(i){process[n(0x140)](0x1);}},a85e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a86s=a86d;(function(a,b){const p=a86d,c=a();while(!![]){try{const d=-parseInt(p(
|
|
1
|
+
const a86s=a86d;(function(a,b){const p=a86d,c=a();while(!![]){try{const d=-parseInt(p(0x128))/0x1*(parseInt(p(0x134))/0x2)+-parseInt(p(0x143))/0x3+parseInt(p(0x129))/0x4*(parseInt(p(0x155))/0x5)+-parseInt(p(0x144))/0x6+-parseInt(p(0x164))/0x7*(parseInt(p(0x159))/0x8)+parseInt(p(0x148))/0x9*(parseInt(p(0x13d))/0xa)+parseInt(p(0x12f))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0xeb5e3));const a86b=(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;};}()),a86a=a86b(this,function(){const q=a86d;return a86a['toString']()[q(0x163)](q(0x158))[q(0x137)]()[q(0x157)](a86a)[q(0x163)]('(((.+)+)+)+$');});a86a();import a86e from'path';import a86f from'fs';function a86c(){const v=['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)','18eQbewQ','concat','Cannot\x20find\x20Node\x20Environment\x20File:\x20','extraPackages','config','exit','checkMeteorPackage','create','getAppConfigPath','docker','.meteor','cordova-build','web.browser.legacy','596770eVNjLA','settings','constructor','(((.+)+)+)+$','5996744ncwrZa','process.env','ios','isDirectory','env','mobileServer','excludeArchs','--production','compareMakaToLatest','http://localhost:','search','7vosTiB','fsi','split','join','Node\x20Env\x20Config:\x20','splice','4ddrEqe','44fwxHKP','length','invokeMeteorCommand','android','local','allowIncompatibleUpdate','20827334mXwjSr','isFile','--settings','Run\x20your\x20Meteor\x20application','inspect','354790QaJvVG','boolean','settings.json','toString','slice','port','verbose','push','notice','5517030vaXbsF','app','--exclude-archs','production','rawLogs','warn','593547tBPpsS','10131630ELSYbf','filter','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20'];a86c=function(){return v;};return a86c();}import a86g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0x127;let f=c[d];return f;},a86d(a,b);}import{Log}from'../../tools/log/log.class.js';import a86h from'open';const syncSource=function(a){const r=a86d;a86f['openSync'](a,'r'),a86g[r(0x14c)]({'path':a});},Run=Command[a86s(0x14f)]({'name':'run','mustBeInMakaProject':!![],'shortDesc':a86s(0x132),'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':[a86s(0x15d),a86s(0x151),a86s(0x141),a86s(0x139),a86s(0x133),'mobileServer',a86s(0x13a),a86s(0x12e),a86s(0x14b),'x','excludeArchs',a86s(0x140),'ci']},async function(a,b){const t=a86s;try{await this['fsi'][t(0x14e)]('autoupdate',{'shouldInstall':!![]});const c=a[0x0];if(c===t(0x15b)){const l=this['fsi']['findProjectDirectory'](),m=a86e[t(0x167)](l,t(0x13e),t(0x152),t(0x12d),t(0x153));this[t(0x165)][t(0x15c)](m)&&await rimraf(m);}!b[t(0x15f)]&&!b['x']&&(a=a[t(0x149)]([t(0x13f),t(0x154)]));if(b['mobileServer']&&typeof b[t(0x15e)]===t(0x135))throw t(0x147);await this[t(0x165)][t(0x161)]();const d=b[t(0x15d)]?b['env']:'development',f=this[t(0x165)][t(0x150)](d),g=a86e[t(0x167)](f,t(0x15a));let h=a86e['join'](f,t(0x136));b['settings']?h=b[t(0x156)]:h=a86e[t(0x167)](f,t(0x136));if(this[t(0x165)][t(0x130)](g)&&!b[t(0x151)])Log['notice'](t(0x168)+g),syncSource(g);else!b['docker']&&Log['warn'](t(0x14a)+g);this['fsi'][t(0x130)](h)?(Log[t(0x13c)]('Meteor\x20Settings:\x20'+h),a=a[t(0x149)]([t(0x131),h])):Log[t(0x142)](t(0x146)+h);const i=f[t(0x166)](a86e['sep']),j=i[i[t(0x12a)]-0x1];j===t(0x140)&&a[t(0x13b)](t(0x160));const k=process['argv'][t(0x138)](0x2)[t(0x145)](n=>n!=='run')[t(0x145)](n=>n!==a[0x0]);k['forEach']((n,o)=>{const u=t;n==='--env'&&k[u(0x127)](o,0x2),n==='-e'&&k[u(0x127)](o,0x2);});try{c!==t(0x15b)&&c!==t(0x12c)&&await a86h(t(0x162)+(b['port']||0xbb8));}catch(n){}this[t(0x165)][t(0x12b)]('run',a['concat'](k));}catch(o){Log['error'](o),process[t(0x14d)](0x1);}});export default Run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a87d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a87d,c=a();while(!![]){try{var d=-parseInt(f(0x11e))/0x1*(parseInt(f(0x11b))/0x2)+parseInt(f(0x113))/0x3+parseInt(f(0x116))/0x4*(-parseInt(f(0x11f))/0x5)+parseInt(f(0x120))/0x6*(-parseInt(f(0x11d))/0x7)+parseInt(f(0x114))/0x8+parseInt(f(0x11a))/0x9*(parseInt(f(0x115))/0xa)+parseInt(f(0x118))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0x5f8f5));function a87d(a,b){var c=a87c();return a87d=function(d,e){d=d-0x113;var f=c[d];return f;},a87d(a,b);}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(0x11c)]()[g(0x119)](g(0x117))[g(0x11c)]()[g(0x121)](a87a)['search'](g(0x117));});a87a();import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';function a87c(){var h=['4QQTEmv','(((.+)+)+)+$','6686944gCDGGG','search','9NeLcrX','2mWZsKk','toString','7jeESnB','244055NJPBvg','2197295KiIWRZ','2043660LEtvzO','constructor','644490ReLDrg','559792fmVldw','5228290edHhQV'];a87c=function(){return h;};return a87c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a88j=a88d;(function(a,b){const h=a88d,c=a();while(!![]){try{const d=parseInt(h(0xd4))/0x1+parseInt(h(0xe5))/0x2+-parseInt(h(0xd6))/0x3+parseInt(h(0xcf))/0x4*(parseInt(h(0xda))/0x5)+parseInt(h(0xdc))/0x6+-parseInt(h(0xc6))/0x7*(-parseInt(h(0xd1))/0x8)+-parseInt(h(0xcd))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0xb4283));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['toString']()[i(0xdf)](i(0xc7))[i(0xc3)]()[i(0xd2)](a88a)['search']('(((.+)+)+)+$');});function a88c(){const l=['98546gWIPPb','Set\x20workspace:\x20','global-config','Could\x20not\x20find\x20directory','maka\x20set:gc\x20--workspace\x20<path>','Set\x20color\x20pallet\x20to:\x20','success','toString','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','resolve','7lWKoMx','(((.+)+)+)+$','cacert','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','Set\x20global\x20Maka-CLI\x20settings','create','isDirectory','10490571kwmLtU','\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','8DTMgNB','boolean','3540120lGIwBH','constructor','disallowInsecure','311692ooGYgg','error','304863XodIXm','help','light','setGlobalConfig','2186230hsTJWs','dark','1963146FrLocL','workspace','openai','search','fsi','allowInsecure','pallet','Set\x20allowInsecure:\x20','Set\x20OpenAI\x20Key:\x20'];a88c=function(){return l;};return a88c();}a88a();import a88e from'path';import a88f from'./set.command.js';import{Command}from'../../command.js';function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0xbe;let f=c[d];return f;},a88d(a,b);}import{Log}from'../../tools/log/log.class.js';Command[a88j(0xcb)]({'name':a88j(0xbe),'usage':'maka\x20set:global-config','aliases':['gc'],'maxOptsLength':0x3,'validOpts':[{'name':a88j(0xc8),'boolFlag':![]},{'name':a88j(0xe1),'boolFlag':!![]},{'name':a88j(0xd3),'boolFlag':!![]},{'name':a88j(0xdd),'boolFlag':![]},{'name':a88j(0xde),'boolFlag':![]},{'name':a88j(0xd7),'boolFlag':!![]},{'name':a88j(0xe2),'values':[a88j(0xd8),a88j(0xdb)]}],'shortDesc':a88j(0xca),'description':a88j(0xce),'examples':['maka\x20set:global-config\x20--cacert\x20<path>','maka\x20set:gc\x20--insecure\x20<path>',a88j(0xc0)]},async function(a,b){const k=a88j;try{if(b[k(0xc8)]){if(this['fsi']['isFile'](b[k(0xc8)]))await this[k(0xe0)][k(0xd9)]({'cert':b[k(0xc8)]}),Log[k(0xc2)]('Set\x20CA\x20Cert\x20Path:\x20'+b['cacert']);else{const c=typeof b[k(0xc8)]===k(0xd0)?k(0xc9):k(0xc4)+b[k(0xc8)];throw Log[k(0xd5)](c);}}if(b[k(0xdd)]){const d=this[k(0xe0)][k(0xcc)](b['workspace']);if(d)await this[k(0xe0)][k(0xd9)]({'workspace':a88e['resolve'](b[k(0xdd)])}),Log['success'](k(0xe6)+a88e[k(0xc5)](b[k(0xdd)]));else throw Log[k(0xd5)](k(0xbf));}b[k(0xde)]&&(await this[k(0xe0)]['setGlobalConfig']({'openai':b[k(0xde)]}),Log[k(0xc2)](k(0xe4)+b['openai']));b[k(0xe2)]&&(await this[k(0xe0)]['setGlobalConfig']({'pallet':b[k(0xe2)]}),Log[k(0xc2)](k(0xc1)+b[k(0xe2)]));if(b[k(0xe1)]){if(b[k(0xe1)]&&b[k(0xd3)])throw Log['error']('One\x20or\x20the\x20other\x20buddy');let f=b[k(0xe1)];b[k(0xd3)]&&(f=![]),await this['fsi'][k(0xd9)]({'allowInsecure':f}),Log[k(0xc2)](k(0xe3)+f);}process['exit'](0x0);}catch(g){console['error'](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(0x1a9))/0x1*(-parseInt(f(0x1ab))/0x2)+-parseInt(f(0x19d))/0x3*(parseInt(f(0x1a6))/0x4)+-parseInt(f(0x1ad))/0x5+parseInt(f(0x1ae))/0x6+parseInt(f(0x1a2))/0x7+parseInt(f(0x1a1))/0x8+-parseInt(f(0x19c))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0xf27fb));function a89c(){var k=['67324WDIeVK','search','(((.+)+)+)+$','1Ljtpkh','notice','3535838gWUvOo','constructor','2658835UEaalB','8417376PqYKUW','16662159HyutrX','285zHjXgZ','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','local-config','toString','10271984MylrZK','3643675rShUza','apply','maka\x20set:local-config','Sorry,\x20not\x20implemented\x20yet'];a89c=function(){return k;};return a89c();}var a89b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a89d;if(c){var e=c[g(0x1a3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){var h=a89d;return a89a[h(0x1a0)]()[h(0x1a7)]('(((.+)+)+)+$')[h(0x1a0)]()[h(0x1ac)](a89a)[h(0x1a7)](h(0x1a8));});a89a();import a89e from'./set.command.js';import{Command}from'../../command.js';function a89d(a,b){var c=a89c();return a89d=function(d,e){d=d-0x19c;var f=c[d];return f;},a89d(a,b);}import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a89i(0x19f),'usage':a89i(0x1a4),'examples':[],'aliases':['lc'],'mustBeInMakaProject':!![],'shortDesc':'Set\x20local\x20maka\x20app\x20settings','validOpts':[],'description':a89i(0x19e)},async function(){var j=a89i;Log[j(0x1aa)](j(0x1a5));},a89e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a90i=a90d;(function(a,b){const f=a90d,c=a();while(!![]){try{const d=parseInt(f(0x1ac))/0x1*(parseInt(f(0x1a5))/0x2)+parseInt(f(0x19d))/0x3*(-parseInt(f(0x1a0))/0x4)+parseInt(f(0x1a2))/0x5*(parseInt(f(0x19e))/0x6)+parseInt(f(0x19c))/0x7*(parseInt(f(0x1ab))/0x8)+parseInt(f(0x1a9))/0x9*(-parseInt(f(0x1ae))/0xa)+parseInt(f(0x1aa))/0xb+-parseInt(f(0x1a4))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0xcb866));const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a90d;if(c){const e=c[g(0x19b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const h=a90d;return a90a[h(0x1a3)]()['search']('(((.+)+)+)+$')['toString']()[h(0x1a7)](a90a)[h(0x1b0)]('(((.+)+)+)+$');});a90a();function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0x19b;let f=c[d];return f;},a90d(a,b);}import{Command}from'../../command.js';const SetCommand=Command[a90i(0x1a6)]({'name':a90i(0x1a8),'usage':'maka\x20set:<sub-command>','shortDesc':a90i(0x19f),'description':a90i(0x1af),'validOpts':[]},async function(a,b){const j=a90i,c=a[0x0],d=this[j(0x1ad)](c);d&&this[j(0x1a1)](c,a,b);});function a90c(){const k=['8POKmtR','runSubCommand','564040ABvmYn','toString','13069032crwRNL','835570nQcNCa','create','constructor','set','108UQgDdb','16613531OspgWO','8pkuzPI','2ifWRgv','findSubCommand','1129430RIYxvb','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','search','apply','9725807bclQtB','2208786DZbsTN','54WmyfvR','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally'];a90c=function(){return k;};return a90c();}export default SetCommand;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a91m=a91d;function
|
|
1
|
+
const a91m=a91d;function a91c(){const o=['maka\x20ssh\x20--env\x20dev','join','144640XrtZzQ','toString','(((.+)+)+)+$','33607GgMrqi','verbose','error','readFileSync','apply','fsi','env','455736INIhVN','6024771EEuLgh','99459LdjNzz','8fciEQy','parse','1430436gWlUPA','create','exit','736014nDlFJj','getAppConfigPath','240EZLgYy','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','ssh','search','ssh.json','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.'];a91c=function(){return o;};return a91c();}(function(a,b){const j=a91d,c=a();while(!![]){try{const d=-parseInt(j(0x93))/0x1+-parseInt(j(0x99))/0x2+parseInt(j(0x91))/0x3+-parseInt(j(0x96))/0x4+parseInt(j(0x87))/0x5+parseInt(j(0x9b))/0x6*(parseInt(j(0x8a))/0x7)+parseInt(j(0x94))/0x8*(parseInt(j(0x92))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0x35088));const a91b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a91d;if(c){const e=c[k(0x8e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){const l=a91d;return a91a[l(0x88)]()[l(0x82)](l(0x89))['toString']()['constructor'](a91a)['search'](l(0x89));});a91a();import a91e from'fs';import a91f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{Log}from'../tools/log/log.class.js';function a91d(a,b){const c=a91c();return a91d=function(d,e){d=d-0x82;let f=c[d];return f;},a91d(a,b);}Command[a91m(0x97)]({'name':a91m(0x9d),'usage':'maka\x20ssh\x20<command>','mustBeInMakaProject':!![],'requiredOpts':[a91m(0x90)],'validOpts':[a91m(0x90),a91m(0x8b)],'isPro':!![],'shortDesc':a91m(0x84),'examples':[a91m(0x85),'maka\x20ssh\x20--env\x20staging','maka\x20ssh\x20--env\x20prod',a91m(0x9c),'maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22']},async function(a,b){const n=a91m;try{const c=this[n(0x8f)][n(0x9a)](b[n(0x90)]);let d='';a['length']>0x0&&(d=a[0x0]);const f=a91f[n(0x86)](c,n(0x83)),g=a91e[n(0x8d)](f)[n(0x88)](),h=JSON[n(0x95)](g);Object['assign'](h,{'env':c}),SSH['sshSync'](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b[n(0x8b)]});}catch(i){Log[n(0x8c)](i),process[n(0x98)](0x1);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a92y=a92d;(function(a,b){const v=a92d,c=a();while(!![]){try{const d=-parseInt(v(0xa5))/0x1+-parseInt(v(0xb0))/0x2*(-parseInt(v(0xaa))/0x3)+-parseInt(v(0x98))/0x4*(-parseInt(v(0xae))/0x5)+-parseInt(v(0xb4))/0x6+-parseInt(v(0x8f))/0x7+-parseInt(v(0xab))/0x8*(-parseInt(v(0xb1))/0x9)+parseInt(v(0xb6))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0xe07af));const a92b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a92d;if(c){const e=c[w(0x8d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){const x=a92d;return a92a['toString']()[x(0x9d)](x(0x90))['toString']()[x(0x7a)](a92a)['search'](x(0x90));});a92a();import a92e from'fs';import a92f from'path';import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';function a92c(){const A=['uname\x20-a','sudo\x20snap\x20install\x20--classic\x20certbot','ask','readFileSync','start','New\x20CSR\x20written\x20to\x20','stringify','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','apply','env','6827576QUWhdF','(((.+)+)+)+$','.key','maka\x20ssl\x20[command]','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','mkKeysDir','generate-ssc','maka\x20ssl\x20--env\x20dev\x20generate-csr','assign','4TbkRHs','emailUpdate','parse','letsencrypt','.crt','search','\x20--email\x20','getMakaProjectConfig','letsencrypt.json','generate-csr','.csr','getAppConfigPath','Remote\x20host\x20connection\x20successful','1707885jVHlYy','domains','toString','Checking\x20remote\x20host\x20availability','genCSR','942453TEhZZM','56uTWqux','Verifying\x20Letsencrypt\x20configuration','fsi','2551595vDNoXy','ssh','6UvSsCY','2003535GgLtth','/ssh.json','create','10415556ymrELU','notice','23275730vFiGHH','domainNames','[?]\x20Domains\x20to\x20register:\x20','success','constructor','Email\x20to\x20use\x20for\x20auto-updates:\x20','existsSync','Please\x20provide\x20a\x20command.','ssl','appName','Using\x20saved\x20letsencrypt\x20config','genSSC','writeFileSync','join','email'];a92c=function(){return A;};return a92c();}import{Command}from'../command.js';function a92d(a,b){const c=a92c();return a92d=function(d,e){d=d-0x77;let f=c[d];return f;},a92d(a,b);}import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command[a92y(0xb3)]({'name':a92y(0x7e),'usage':a92y(0x92),'validOpts':[a92y(0xa6),'email'],'requiredOpts':['env'],'shortDesc':'Create\x20and\x20manage\x20your\x20SSL\x20operations.','mustBeInMakaProject':!![],'minArgLength':0x1,'isPro':!![],'examples':[a92y(0x96),a92y(0x8c),'maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process']},async function(a,b){const z=a92y,c=this[z(0xad)][z(0x9f)](),d=this[z(0xad)][z(0xa3)](b[z(0x8e)]),f=this[z(0xad)][z(0x94)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0xa1))SSL[z(0xa9)]({'keyName':c['appName']+z(0x91),'csrName':c[z(0x7f)]+z(0xa2),'cwd':f});else{if(g===z(0x95)){if(!a92e[z(0x7c)](a92f['join'](f,c['appName']+'.key')))throw'The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20'+a92f[z(0x83)](f,c[z(0x7f)]+'.key');if(!a92e[z(0x7c)](a92f[z(0x83)](f,c[z(0x7f)]+'.csr')))throw'The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20'+a92f[z(0x83)](f,c[z(0x7f)]+z(0xa2));SSL[z(0x81)]({'keyName':c['appName']+z(0x91),'crtName':c[z(0x7f)]+z(0x9c),'cwd':f}),Log['notice'](z(0x8a)+f);}else{if(g===z(0x9b)){let h=b[z(0xa6)],i=b[z(0x84)];try{const p=a92e['readFileSync'](a92f['join'](d,z(0xa0)))[z(0xa7)](),q=JSON[z(0x9a)](p);h=b['domains']?b[z(0xa6)]:q[z(0x77)],i=b[z(0x84)]?b[z(0x84)]:q[z(0x99)],(!b[z(0x84)]||!b[z(0xa6)])&&Log[z(0xb5)](z(0x80));}catch(r){}const j=JSON[z(0x9a)](a92e[z(0x88)](d+z(0xb2))[z(0xa7)]());Object[z(0x97)](j,{'env':d}),Log[z(0xb5)](z(0xa8));try{const s=SSH['ping'](z(0x85),j);if(!s)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(s)Log['success'](z(0xa4));}catch(t){Log['error'](t);return;}const k=Log['withSpinner']();k[z(0x89)](z(0xac)),SSH['ssh']('sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core',{...j}),SSH[z(0xaf)](z(0x86),{...j}),SSH['ssh']('sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot',{...j}),k[z(0x79)]();const l=h?h:await Actions['ask'](z(0x78)),m=i?i:await Actions[z(0x87)](z(0x7b));SSH[z(0xaf)](z(0x93)+l+z(0x9e)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0x8b)](n,null,0x2);a92e[z(0x82)](a92f[z(0x83)](d,z(0xa0)),o);}else throw z(0x7d);}}}catch(u){console['error'](u),process['exit'](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a93q=a93d;(function(a,b){const m=a93d,c=a();while(!![]){try{const d
|
|
1
|
+
const a93q=a93d;(function(a,b){const m=a93d,c=a();while(!![]){try{const d=-parseInt(m(0x217))/0x1+-parseInt(m(0x200))/0x2+parseInt(m(0x209))/0x3+-parseInt(m(0x206))/0x4*(parseInt(m(0x212))/0x5)+-parseInt(m(0x1fe))/0x6+parseInt(m(0x1da))/0x7+parseInt(m(0x1e5))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0xf1c9b));const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a93d;if(c){const e=c[n(0x1ec)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const o=a93d;return a93a[o(0x208)]()[o(0x1dd)](o(0x1fa))[o(0x208)]()[o(0x213)](a93a)['search'](o(0x1fa));});function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x1d9;let f=c[d];return f;},a93d(a,b);}a93a();import a93e from'fs';import a93f from'path';import a93g from'dotenv';function a93c(){const t=['forEach','test-packages','maka\x20test\x20<opts>','mocha','13073136PcdrCc','utf8','concat','isFile','fsi','development','--full-app','apply','jasmine','testAppPath','once','config.json','parse','join','openSync','driver-package','--packages','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','argv','readFileSync','process.env','(((.+)+)+)+$','exit','engines','getAppConfigPath','6233592VNfuVt','none','1057070FXoqxH','Meteor\x20Settings:\x20','slice','error','.maka','Node\x20Env\x20Config:\x20','2548148xJZOyn','unit','toString','4821384bzKnbu','--settings','sanjo:jasmine','rawLogs','--driver-package','filter','splice','test','driver','5JeeTzC','constructor','--env','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','env','516223uLsHSi','findProjectDirectory','packages','config','3288740nDKZqD','meteortesting:mocha','Cannot\x20find\x20Node\x20Environment\x20File:\x20','search','notice','--driver','warn'];a93c=function(){return t;};return a93c();}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const p=a93d;a93e[p(0x1f3)](a,'r'),a93g[p(0x1d9)]({'path':a});};Command['create']({'name':a93q(0x210),'mustBeInMakaProject':!![],'validOpts':[a93q(0x1ef),a93q(0x219),a93q(0x211),'driverPackage',a93q(0x207),'env',a93q(0x20c),'port','inspect',a93q(0x1ee)],'usage':a93q(0x1e3),'shortDesc':a93q(0x1f6),'examples':[]},function(a,b){const r=a93q;try{let c=this[r(0x1e9)][r(0x1fd)](r(0x1ea));b[r(0x216)]&&(c=this[r(0x1e9)][r(0x1fd)](b[r(0x216)]));(!b[r(0x207)]||!!b[r(0x1ef)])&&(a=a[r(0x1e7)]([r(0x1eb)]));b[r(0x207)]&&delete b['unit'];let d=b[r(0x1f4)]||b[r(0x211)]||r(0x1ff);if(d===r(0x1ff)){const j=JSON[r(0x1f1)](a93e[r(0x1f8)](a93f[r(0x1f2)](this[r(0x1e9)][r(0x218)](),r(0x204),r(0x1f0)),r(0x1e6)));if(j[r(0x1fc)]['test']===r(0x1ed))d=r(0x20b);else j[r(0x1fc)][r(0x210)]===r(0x1e4)&&(d=r(0x1db));}if(d===r(0x1ff))throw r(0x215);(!b['driver-package']||!b[r(0x211)])&&(a=a['concat']([r(0x20d),d]));const f=a93f[r(0x1f2)](c,'settings.json');this[r(0x1e9)]['isFile'](f)?(Log[r(0x1de)](r(0x201)+f),a=a[r(0x1e7)]([r(0x20a),f])):Log[r(0x1e0)]('Cannot\x20find\x20Meteor\x20Settings\x20File:\x20'+f);const g=a93f[r(0x1f2)](c,r(0x1f9));this['fsi'][r(0x1e8)](g)?(Log['notice'](r(0x205)+g),syncSource(g)):Log[r(0x1e0)](r(0x1dc)+g);const h=process[r(0x1f7)][r(0x202)](0x2)[r(0x20e)](k=>k!==r(0x214))[r(0x20e)](k=>k!==r(0x210))[r(0x20e)](k=>k!==a[0x0]);h[r(0x1e1)]((k,l)=>{const s=r;(k===s(0x214)||k===s(0x1df))&&h[s(0x20f)](l,0x2),k===s(0x1f5)&&h[s(0x20f)](l,0x1);});const i=b[r(0x219)]?r(0x1e2):r(0x210);this['fsi']['invokeMeteorCommand'](i,a[r(0x1e7)](h));}catch(k){console[r(0x203)](k),process[r(0x1fb)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a94n=a94d;(function(a,b){const k=a94d,c=a();while(!![]){try{const d=parseInt(k(0x102))/0x1*(parseInt(k(0xeb))/0x2)+-parseInt(k(0xec))/0x3*(parseInt(k(0x104))/0x4)+-parseInt(k(0x10b))/0x5*(-parseInt(k(0xfa))/0x6)+-parseInt(k(0xe2))/0x7*(parseInt(k(0xe0))/0x8)+parseInt(k(0xe3))/0x9*(-parseInt(k(0xe7))/0xa)+-parseInt(k(0xfe))/0xb+-parseInt(k(0x106))/0xc*(-parseInt(k(0x105))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0x7649b));const a94b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a94d;if(c){const e=c[l(0x108)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){const m=a94d;return a94a['toString']()[m(0xe9)](m(0xe6))[m(0xee)]()['constructor'](a94a)[m(0xe9)](m(0xe6));});a94a();function a94d(a,b){const c=a94c();return a94d=function(d,e){d=d-0xdc;let f=c[d];return f;},a94d(a,b);}import{execSync}from'child_process';import a94e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const pjson={'version':'4.7.9'};function a94c(){const p=['(((.+)+)+)+$','28550PCFeuD','isMakaProject','search','version','34UTzhYI','15bkglQx','notice','toString','System\x27s\x20Node\x20Version\x20','majestic','getProjectsMeteorNodeVersion','warn','platform','Project\x27s\x20Meteor\x20Node\x20Version\x20','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','win32',')\x20to\x20at\x20least\x20meteor\x27s\x20(','\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','fsi','6axvaAE','meteor','maka\x20version','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','2112176JysvzH','verbose','getProjectMeteorVersion','Maka\x20','44879MstSwz','\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','661004FYuWgz','2327WGeluW','42288YPCUyS','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','apply','N/A','exit','4674055ANgneV','replace','getGlobalMeteorVersion','\x20node\x20-v','compareMakaToLatest','3112gYvIwI','error','10801EUVNlY','711FdybtC','maka\x20v','bright'];a94c=function(){return p;};return a94c();}Command['create']({'name':a94n(0xea),'aliases':['v'],'usage':a94n(0xfc),'maxArgLength':0x1,'validOpts':[a94n(0xff)],'shortDesc':'Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','examples':[a94n(0xe4),a94n(0xfc),'maka\x20version\x20--verbose'],'description':a94n(0xf8)},async function(a,b){const o=a94n;try{const c=process[o(0xf3)]===o(0xf6)?'meteor.bat':o(0xfb);Log[o(0xf0)](o(0x101)+pjson[o(0xea)]),await this[o(0xf9)][o(0xdf)]();if(b[o(0xff)]){await this[o(0xf9)][o(0xdf)](),Log[o(0xe5)]('----------------------System----------------------------');const d=this[o(0xf9)][o(0xdd)]();Log['bright'](('System\x27s\x20Meteor\x20Version\x20'+d)[o(0xdc)]('\x0a',''));const f=execSync(c+o(0xde))['toString']()[o(0xdc)](/\r?\n|\r/,'')[o(0xdc)]('v','');Log['bright'](o(0xfd)+f);const g=execSync('node\x20-v')['toString']()[o(0xdc)](/\r?\n|\r/,'')[o(0xdc)]('v','');a94e['gt'](f,g)?(Log[o(0xf2)](o(0xef)+g),Log['warn'](o(0x107)+g+o(0xf7)+f+')')):Log[o(0xe5)](o(0xef)+g);if(this[o(0xf9)][o(0xe8)]()){Log[o(0xe5)]('----------------------Project----------------------------');const h=this[o(0xf9)][o(0x100)]();a94e['gt'](d,h)?(Log['warn']('Project\x27s\x20Meteor\x20Version\x20'+h['replace']('\x0a','')),Log[o(0xf2)]('\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20'+d+'\x22')):Log[o(0xed)](('Project\x27s\x20Meteor\x20Version\x20'+h)[o(0xdc)]('\x0a',''));const i=await this['fsi'][o(0xf1)]();i===o(0x109)?(Log[o(0xf2)](o(0xf4)+i),Log[o(0xf2)](o(0xf5))):Log['bright']('Project\x27s\x20Meteor\x20Node\x20Version\x20'+i),Log[o(0xe5)](o(0x103));}}}catch(j){console[o(0xe1)](j),process[o(0x10a)](0x0);}});
|
package/bundle/obf/src/error.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a95d,c=a();while(!![]){try{var d=parseInt(f(0xa4))/0x1*(-parseInt(f(0xa2))/0x2)+-parseInt(f(0xad))/0x3+-parseInt(f(0xaa))/0x4+-parseInt(f(0xa7))/0x5+-parseInt(f(0xac))/0x6+parseInt(f(0xa9))/0x7*(-parseInt(f(0xa1))/0x8)+parseInt(f(0xa3))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a95c,0x6d87b));var a95b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a95d;if(c){var e=c[g(0xa8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a95a=a95b(this,function(){var h=a95d;return a95a['toString']()['search'](h(0xa5))[h(0xa6)]()['constructor'](a95a)[h(0xab)](h(0xa5));});a95a();function a95d(a,b){var c=a95c();return a95d=function(d,e){d=d-0xa1;var f=c[d];return f;},a95d(a,b);}export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}function a95c(){var i=['apply','11326oCeUNL','1108684nMohZY','search','4689294ZRDaXc','2338338FejxpO','1728znzMaX','146746AUxCLk','36581490CUlxyZ','11hCdvej','(((.+)+)+)+$','toString','3106090DCZvXm'];a95c=function(){return i;};return a95c();}
|
package/bundle/obf/src/exec.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
function a96c(){var j=['
|
|
2
|
+
function a96c(){var j=['(((.+)+)+)+$','191868qvlEEV','toString','1774167FLuZKo','5148rDMwYJ','NODE_OPTIONS','3516328ErqKnk','106314UFvpqy','apply','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','45BiwWRV','2321165cnAZds','124RXgvCB','constructor','629058sxVxzT','env','20370SlPqXK'];a96c=function(){return j;};return a96c();}var a96i=a96d;(function(a,b){var f=a96d,c=a();while(!![]){try{var d=parseInt(f(0x112))/0x1+-parseInt(f(0x110))/0x2+-parseInt(f(0x105))/0x3*(parseInt(f(0x10a))/0x4)+-parseInt(f(0x108))/0x5*(parseInt(f(0x10c))/0x6)+-parseInt(f(0x109))/0x7+parseInt(f(0x115))/0x8+-parseInt(f(0x113))/0x9*(-parseInt(f(0x10e))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a96c,0xddf7a));function a96d(a,b){var c=a96c();return a96d=function(d,e){d=d-0x105;var f=c[d];return f;},a96d(a,b);}var a96b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a96d;if(c){var e=c[g(0x106)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a96a=a96b(this,function(){var h=a96d;return a96a[h(0x111)]()['search'](h(0x10f))[h(0x111)]()[h(0x10b)](a96a)['search'](h(0x10f));});a96a(),process[a96i(0x10d)][a96i(0x114)]=a96i(0x107);import'./maka.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a97u=a97d;(function(a,b){const q=a97d,c=a();while(!![]){try{const d
|
|
1
|
+
const a97u=a97d;(function(a,b){const q=a97d,c=a();while(!![]){try{const d=parseInt(q(0x77))/0x1*(parseInt(q(0x7e))/0x2)+-parseInt(q(0xb7))/0x3*(parseInt(q(0xa9))/0x4)+-parseInt(q(0x90))/0x5*(parseInt(q(0xb8))/0x6)+-parseInt(q(0x80))/0x7*(parseInt(q(0xcf))/0x8)+parseInt(q(0xc8))/0x9+parseInt(q(0xa2))/0xa+parseInt(q(0xb1))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a97c,0x6a6ba));const a97b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a97d;if(c){const e=c[r(0x91)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a97a=a97b(this,function(){const s=a97d;return a97a['toString']()[s(0xbc)](s(0x86))['toString']()[s(0xbf)](a97a)[s(0xbc)](s(0x86));});a97a();import a97e from'path';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';function a97c(){const F=['notice','validateMakaSubscription','push','84008UEVhig','where','2086rOpBNc','validateMeteorInstall','client','Too\x20few\x20options','sort','length','(((.+)+)+)+$','findProjectDirectory','validateParams','exit','Generator\x20requires\x20a\x20handler\x20function','invoke','server','number','Location','tableList','6215DPMbws','apply','checkWhere','slice','fsi','appPathPrefix','Alias','function','Client','split','maxArgLength','cwd','options','Both','Generator\x20not\x20found','\x20not\x20found','minArgLength','handleGenerateError','821920blVulp','both','addGenerator\x20requires\x20a\x20Generator\x20instance','Server','forEach','Too\x20many\x20options','keys','422836mEZPMj','validateMakaProject','maxOptsLength','usage','error','chdir','requiredEngines','getGlobalConfig','2474461BCYULq','LIGHT','_handler','minOptsLength','Generator.create\x20requires\x20a\x20handler\x20function!','includes','12RpcyqY','2742YpqcJC','assign','_generators','shortDesc','search','Generator\x20requires\x20a\x20name','bright','constructor','dir','pallet','toString','name','DARK','resourceName','list','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator','5254128TrcjbV','pop','mustHaveMeteorInstalled','light','sep','call','setColorMode','5912nKmpac','No\x20resource\x20name\x20specified','bind','Generator\x20format\x20is\x20incorrect','create','replace','processAndRunGenerator','18qEbKHR','addGenerator','colLocAnswer','validateEngines'];a97c=function(){return F;};return a97c();}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 t=a97d,c=process[t(0x9b)]();let d=null;try{process['chdir'](a),d=await b();}finally{process[t(0xae)](c);}return d;}function a97d(a,b){const c=a97c();return a97d=function(d,e){d=d-0x76;let f=c[d];return f;},a97d(a,b);}export class Generator extends Tool{[a97u(0x9c)];[a97u(0xba)];constructor(a,b){const v=a97u;super();if(!a)throw new Error('Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object');if(!a[v(0xc3)])throw new Error(v(0xbd));if(typeof b!=='function')throw new Error(v(0x8a));this['_generators']=[],this[v(0x9c)]=Object[v(0xb9)]({},a),this[v(0xc3)]=this['options'][v(0xc3)],this[v(0xb3)]=b[v(0xd1)](this);}static[a97u(0xd3)](a,b,c){const w=a97u;if(!a)throw new Error('Generator.create\x20requires\x20some\x20options!');if(typeof b!==w(0x97))throw new Error(w(0xb5));const d=new Generator(a,b);return c=c||a97g,Object['assign'](d,{'parent':c?.[w(0x9c)]?.[w(0xc3)]}),c[w(0x78)](d),d;}[a97u(0x78)](a){const x=a97u;if(!(a instanceof Generator))throw new Error(x(0xa4));this['_generators']['push'](a);}async[a97u(0x76)](a,b=[],c={}){const y=a97u;let d;try{const f=a?.[y(0x99)](':');if(!f||f[y(0x85)]===0x0)throw y(0xd2);let g=this[y(0xba)],h;for(const i of f){h=g['find'](j=>j['match'](i));if(!h)throw'Generator\x20'+i+y(0x9f);await this[y(0x7c)](h),g=h['_generators'];}if(h)d=await h[y(0x8b)](b,c);else throw y(0x9e);}catch(j){Log['error'](j);}return d;}async['invoke'](a,b){const z=a97u,c=a[z(0x93)]();b[z(0xc5)]=c[0x0];try{const d=await this[z(0x94)][z(0xb0)](),f=d[z(0xc1)]===z(0xcb)?ColorMode[z(0xb2)]:ColorMode[z(0xc4)];Log[z(0xce)](f),await this['validateMakaSubscription'](this);const g=a[0x0]===_prevGen||a[z(0x85)]===0x0&&this[z(0xba)]['length']>=0x0,h=b['help']||b['h'];if(g&&h){if(this[z(0xba)][z(0x85)]>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!h){if(this[z(0x9c)]['mustBeInMakaProject']){const i=this[z(0xaa)]();if(!i)throw new MustBeInProjectError();}if(this[z(0x9c)][z(0xca)]){const j=this[z(0x81)]();if(!j)throw new NoMeteorFoundError();}if(typeof this[z(0x9c)][z(0xa0)]===z(0x8d)){if(a['length']<this['options'][z(0xa0)]){Log['error']('Too\x20few\x20arguments');throw new UsageError();}}if(typeof this['options'][z(0x9a)]===z(0x8d)){if(a[z(0x85)]>this[z(0x9c)][z(0x9a)]){Log[z(0xad)]('Too\x20many\x20arguments');throw new UsageError();}}if(typeof this[z(0x9c)][z(0xb4)]===z(0x8d)){if(Object[z(0xa8)](b)[z(0x85)]<this['options'][z(0xb4)]){Log['error'](z(0x83));throw new UsageError();}}if(typeof this[z(0x9c)][z(0xab)]===z(0x8d)){if(Object[z(0xa8)](b)['length']>=this[z(0x9c)][z(0xab)]){Log[z(0xad)](z(0xa7));throw new UsageError();}}}this[z(0x9c)]['requiredEngines']&&this[z(0x7a)](this[z(0x9c)][z(0xaf)]);await this[z(0x88)](a,b,this['options']);if(!b[z(0xc5)]&&!this['options']['noNeedResource']){Log[z(0xad)](z(0xd0));throw new UsageError();}_prevGen=a[0x0];}catch(k){this[z(0xa1)](k),process[z(0x89)](0x1);}return await inside(b['cwd'],async()=>{const A=z;try{if(!b['root']&&!this[A(0x94)][A(0x87)]())throw new MustBeInProjectError();const l=b[A(0xc5)]?.[A(0xd4)](/\\/g,'/')[A(0x99)]('/');!b[A(0xc0)]&&(l?.[A(0x85)]>0x1?(b[A(0xc5)]=l[A(0xc9)](),c[0x0]=b[A(0xc5)],b[A(0xc0)]=l['map'](m=>{return paramCase(m);})['join'](a97e[A(0xcc)])):b[A(0xc0)]='');if(this[A(0x9c)][A(0x92)]){if(!b['where']){const n={'type':A(0xc6),'name':A(0x79),'message':A(0x8e),'choices':[{'name':A(0x98),'value':A(0x82)},{'name':A(0xa5),'value':A(0x8c)},{'name':A(0x9d),'value':'both'}]},{colLocAnswer:o}=await Actions[A(0x9c)](n);o?b[A(0x7f)]=o:b[A(0x7f)]='both';}const m=[A(0xa3),A(0x82),A(0x8c)];if(!m[A(0xb6)](b[A(0x7f)])){Log[A(0xad)]('--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27');throw new UsageError();}switch(b['where']){case A(0xa3):b[A(0x95)]='lib';break;case A(0x8c):b[A(0x95)]=A(0x8c);break;case A(0x82):b[A(0x95)]=A(0x82);break;default:b[A(0x95)]='';}}return await this['_handler'][A(0xcd)](this,c,b);}catch(p){this[A(0xa1)](p);}});}['listGenerators'](){const B=a97u;this[B(0x8f)](this[B(0xba)]);}['handleGenerateError'](a){const C=a97u,{usage:usage='',description:description='',examples:examples=[],shortDesc:b,requiredOpts:requiredOpts=[],validOpts:c}=this[C(0x9c)];Log[C(0xac)](description,examples,usage,b,requiredOpts,c);if(a instanceof UsageErrorWithSubs)Log[C(0x7b)]('Generators:'),this[C(0x8f)](this['_generators']);else{if(a instanceof MustBeInProjectError)Log[C(0xad)](C(0xc7));else{if(a instanceof NoMeteorFoundError)Log[C(0xad)]('Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly'),Log['notice']('Please\x20run\x20\x22maka\x20install\x20meteor\x22');else a instanceof NoMeteorAppFoundError&&Log[C(0xad)]('There\x20is\x20no\x20Meteor\x20application\x20here');}}}['tableList'](a){const D=a97u,b=new a97f({});b[D(0x7d)](['Name',D(0x96),'Description']),a[D(0x84)]()[D(0xa6)](c=>{const E=D;b[E(0x7d)]([c['name'],c['aliases'](),c[E(0xbb)]()]);}),Log[D(0xbe)](b[D(0xc2)]());}}
|
|
@@ -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(0x14b))/0x1*(parseInt(f(0x155))/0x2)+parseInt(f(0x14d))/0x3+-parseInt(f(0x148))/0x4+-parseInt(f(0x150))/0x5*(parseInt(f(0x14c))/0x6)+parseInt(f(0x154))/0x7+-parseInt(f(0x152))/0x8*(parseInt(f(0x149))/0x9)+parseInt(f(0x151))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a98c,0x81235));var a98b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a98d;if(c){var e=c[g(0x14e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a98a=a98b(this,function(){var h=a98d;return a98a[h(0x14f)]()[h(0x147)](h(0x153))[h(0x14f)]()[h(0x14a)](a98a)['search'](h(0x153));});a98a();import'./services/_index.js';import'./api.js';import'./collection.js';import'./component.js';import'./config.js';import'./dbc.js';import'./hook.js';function a98d(a,b){var c=a98c();return a98d=function(d,e){d=d-0x147;var f=c[d];return f;},a98d(a,b);}import'./kits/_index.js';import'./layout.js';import'./methods.js';import'./package.js';import'./publish.js';import'./route.js';import'./service.js';import'./page.js';function a98c(){var i=['search','2891532hWHESZ','31113aDSgqQ','constructor','87766kpcCjV','5549466xIuuwL','762BtYFZV','apply','toString','5WCFLdH','19479370lnyVuB','1216dfQvbC','(((.+)+)+)+$','2820664gcnyyo','8XgflaB'];a98c=function(){return i;};return a98c();}import'./maka.gen.js';import'./dockerfile.js';import'./maka.gen.js';
|