@maka/maka-cli 4.7.6 → 4.7.7
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 a78n=a78d;(function(a,b){const l=a78d,c=a();while(!![]){try{const d=-parseInt(l(0x9a))/0x1*(parseInt(l(0xa2))/0x2)+-parseInt(l(0xaa))/0x3+-parseInt(l(0x98))/0x4+-parseInt(l(0x9c))/0x5*(-parseInt(l(0xac))/0x6)+parseInt(l(0xb3))/0x7*(parseInt(l(0x9d))/0x8)+parseInt(l(0xad))/0x9+parseInt(l(0xb9))/0xa*(parseInt(l(0xa4))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0x3da07));function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x98;let f=c[d];return f;},a78d(a,b);}const a78b=(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;};}()),a78a=a78b(this,function(){const m=a78d;return a78a[m(0xa6)]()['search'](m(0xb0))['toString']()['constructor'](a78a)[m(0xb7)](m(0xb0));});a78a();function a78c(){const p=['2121327TvLODj','authToken','assign','(((.+)+)+)+$','fsi','setGlobalConfig','301217DinlGo','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','env','/api/v1/status','search','cacert','260BhuRHE','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','/api/v1/logoutAll','getGlobalConfig','Using\x20CA\x20Cert\x20','https://','success','withSpinner','Logging\x20out\x20of\x20https://','logout','start','MAKA_DEV','Preflight\x20Check','1003600OkJYSc','www.maka-cli.com','25fQVaOS','True','5705MMaahD','40uiIpaZ','maka\x20logout','notice','header','isFile','17454bdIzIY','create','106249MDkeab','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','toString','error','failure','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','95517phpbzL','get','270EBMpnX'];a78c=function(){return p;};return a78c();}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a78n(0xb5)][a78n(0xc4)]===a78n(0x9b)?'localhost':a78n(0x99);Command[a78n(0xa3)]({'name':a78n(0xc2),'validOpts':[a78n(0xb8)],'usage':'maka\x20logout','maxArgLength':0x2,'shortDesc':'Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','disableAuthCheck':!![],'examples':[a78n(0x9e)]},async function(a,b){const o=a78n,c=Log[o(0xc0)]();try{let d='';b[o(0xb8)]&&(this[o(0xb1)][o(0xa1)](b[o(0xb8)])?(d=b[o(0xb8)],Log[o(0x9f)](o(0xbd)+d)):Log[o(0xa7)]('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+d));const f=await this[o(0xb1)][o(0xbc)]();if(f['cert']){if(this[o(0xb1)][o(0xa1)](f['cert']))d=f['cert'];else{c[o(0xa8)]();throw Log[o(0xa7)](o(0xb4)+d);}}Log[o(0xa0)](o(0xc1)+hostname);const g={'url':o(0xbe)+hostname+o(0xb6)};b[o(0xb8)]&&Object['assign'](g,{'cert':d});c['start'](o(0xc5));const {statusCode:h}=await HTTPS[o(0xab)](g);if(h===0x198){c[o(0xa8)]();throw o(0xa5);}c[o(0xbf)]();if(h!==0xc8){c['failure']();throw o(0xba);}if(!f?.['token']?.['authToken'])throw Log[o(0xa7)](o(0xa9));c[o(0xc3)]('Logging\x20out');const i={'hostname':hostname,'path':o(0xbb),'data':{},'headers':{'x-auth-token':f['token'][o(0xae)]}};b[o(0xb8)]&&Object[o(0xaf)](i,{'cert':d});const {statusCode:j}=await HTTPS['post'](i);if(j===0x198){c['failure']('\x0a');throw o(0xa5);}this[o(0xb1)][o(0xb2)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[o(0xbf)]();}catch(k){k&&console['error'](k),process['exit'](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a79l=a79d;(function(a,b){const j=a79d,c=a();while(!![]){try{const d=-parseInt(j(0x153))/0x1*(parseInt(j(0x162))/0x2)+parseInt(j(0x15b))/0x3*(-parseInt(j(0x150))/0x4)+parseInt(j(0x14b))/0x5*(-parseInt(j(0x158))/0x6)+-parseInt(j(0x156))/0x7+parseInt(j(0x168))/0x8+-parseInt(j(0x161))/0x9*(parseInt(j(0x15e))/0xa)+parseInt(j(0x159))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0xeedf7));const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const k=a79d;return a79a['toString']()['search'](k(0x14c))[k(0x163)]()[k(0x15a)](a79a)['search'](k(0x14c));});a79a();import a79e from'fs';import a79f from'path';import{Command}from'../command.js';function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x14b;let f=c[d];return f;},a79d(a,b);}import{SSH}from'../tools/ssh/ssh.class.js';function a79c(){const n=['maka\x20logs\x20--env\x20staging','View\x20the\x20PM2\x20logs','50roVSYb','parse','pm2\x20logs','1576287SmyKap','2uQftip','toString','assign','readFileSync','ssh.json','logs','2757536baWloX','82795QxSZEj','(((.+)+)+)+$','env','getAppConfigPath','log','461980FYUXXB','maka\x20l\x20-e\x20p','fsi','99565PCvNlN','sshSync','maka\x20logs','2537654KzzYYq','join','696xSnVMg','47897927PKAAuT','constructor','12TeyahN'];a79c=function(){return n;};return a79c();}import{Log}from'../tools/log/log.class.js';Command['create']({'name':a79l(0x167),'aliases':['l',a79l(0x14f)],'usage':a79l(0x155),'requiredOpts':[a79l(0x14d)],'mustBeInMakaProject':!![],'validOpts':['verbose'],'shortDesc':a79l(0x15d),'isPro':!![],'examples':['maka\x20logs\x20--env\x20dev',a79l(0x15c),a79l(0x151)]},function(a,b){const m=a79l;try{const c=m(0x160),d=this[m(0x152)][m(0x14e)](b[m(0x14d)]),f=a79f[m(0x157)](d,m(0x166)),g=a79e[m(0x165)](f),h=JSON[m(0x15f)](g[m(0x163)]());Object[m(0x164)](h,{'env':d}),SSH[m(0x154)](c,h,{'tty':!![],'verbose':!![]});}catch(i){Log['error'](i);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a80h=a80d;(function(a,b){const f=a80d,c=a();while(!![]){try{const d=parseInt(f(0xf7))/0x1+parseInt(f(0xf2))/0x2+parseInt(f(0xf8))/0x3+parseInt(f(0xf6))/0x4+-parseInt(f(0xf1))/0x5+-parseInt(f(0xed))/0x6*(-parseInt(f(0xef))/0x7)+-parseInt(f(0xf9))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0xb3928));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(0xee)]()['search'](g(0xf5))['toString']()[g(0xfb)](a80a)[g(0xfa)](g(0xf5));});a80a();function a80c(){const j=['constructor','\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','maka\x20install\x20meteor','processAndRunCommand','splice','maka\x20<command>\x20[<args>]\x20[<opts>]','9312ssYSVm','toString','4613PwNBKa','maka\x20create\x20Todo','6302320txkhTU','1957872nVVRGM','maka\x20run','maka\x20--help','(((.+)+)+)+$','3497752ZPyGnA','1452VJAGgc','4221033eFgRRq','18308904WqGqGb','search'];a80c=function(){return j;};return a80c();}function a80d(a,b){const c=a80c();return a80d=function(d,e){d=d-0xe9;let f=c[d];return f;},a80d(a,b);}import{Command}from'../command.js';const Maka=new Command({'name':'maka','minArgLength':0x1,'shortDesc':'A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','validOpts':[],'usage':a80h(0xec),'disableAuthCheck':!![],'examples':[a80h(0xf4),a80h(0xe9),a80h(0xf0),a80h(0xf3)],'description':a80h(0xfc)},async function(a,b){const i=a80h;try{const c=a[0x0];a[i(0xeb)](0x0,0x1),this[i(0xea)](c,a,b);}catch(d){process['exit'](0x1);}});export default Maka;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var a81i=a81d;(function(a,b){var f=a81d,c=a();while(!![]){try{var d
|
|
1
|
+
var a81i=a81d;function a81d(a,b){var c=a81c();return a81d=function(d,e){d=d-0x1c1;var f=c[d];return f;},a81d(a,b);}(function(a,b){var f=a81d,c=a();while(!![]){try{var d=-parseInt(f(0x1c1))/0x1+-parseInt(f(0x1d0))/0x2*(-parseInt(f(0x1ca))/0x3)+-parseInt(f(0x1cc))/0x4*(-parseInt(f(0x1c6))/0x5)+-parseInt(f(0x1cf))/0x6+-parseInt(f(0x1cb))/0x7*(parseInt(f(0x1d2))/0x8)+parseInt(f(0x1cd))/0x9*(-parseInt(f(0x1ce))/0xa)+parseInt(f(0x1c8))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0xa7ce7));var a81b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a81d;if(c){var e=c[g(0x1c5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){var h=a81d;return a81a[h(0x1c4)]()[h(0x1c9)]('(((.+)+)+)+$')['toString']()['constructor'](a81a)[h(0x1c9)]('(((.+)+)+)+$');});function a81c(){var k=['apply','5olMAUA','maka\x20murder','32614230DbskkM','search','1354602WLIQbu','5054TsqmBp','1674796OlIMpP','738KDyyTi','93880WhsEnG','6125538orOFQI','2lUrZHA','log','12584YTVxEj','create','221383OHhjxa','exit','%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','toString'];a81c=function(){return k;};return a81c();}a81a();import{Command}from'../command.js';Command[a81i(0x1d3)]({'name':'murder','usage':a81i(0x1c7),'maxArgLength':0x1,'shortDesc':'Murrrrderrrrr','validOpts':[]},async function(){var j=a81i;try{console[j(0x1d1)](j(0x1c3),'font-family:\x20monospace');}catch(a){console['error'](a),process[j(0x1c2)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a82o=a82d;(function(a,b){const m=a82d,c=a();while(!![]){try{const d=parseInt(m(0x16a))/0x1+-parseInt(m(0x15e))/0x2+parseInt(m(0x14c))/0x3*(parseInt(m(0x16c))/0x4)+parseInt(m(0x158))/0x5*(parseInt(m(0x16f))/0x6)+parseInt(m(0x157))/0x7+parseInt(m(0x162))/0x8+parseInt(m(0x14d))/0x9*(-parseInt(m(0x165))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x7af36));function a82c(){const q=['join','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','1249171hFNAsG','4567775kUPiNc','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','bright','toString','development','453246EUKkUa','utf8','.crt','.key','2131256jgrhTs','targetPort','\x20to\x20','20jByCHm','createProxyServer','\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','targetHost','processAndRunGenerator','50551piZCPy','listen','249820VzkdeH','getAppConfigPath','proxy','6GKcxYJ','=>\x20SSL\x20Proxy\x20forwarding\x20','fsi','error','help','appName','search','.csr','maka\x20proxy\x20--target-host\x20http://192.168.1.20','9zqAdPc','3897459bBXcUd','(((.+)+)+)+$','create','readFileSync','maka\x20proxy','genCSR','mkKeysDir','listenPort'];a82c=function(){return q;};return a82c();}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 n=a82d;return a82a[n(0x15c)]()[n(0x149)](n(0x14e))[n(0x15c)]()['constructor'](a82a)['search'](n(0x14e));});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';function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x148;let f=c[d];return f;},a82d(a,b);}import a82h from'../generators/maka.gen.js';Command[a82o(0x14f)]({'name':a82o(0x16e),'usage':'maka\x20proxy','mustBeInMakaProject':!![],'validOpts':[a82o(0x173),a82o(0x163),a82o(0x154),a82o(0x168)],'maxArgLength':0x1,'shortDesc':a82o(0x15a),'description':a82o(0x167),'examples':[a82o(0x151),a82o(0x159),a82o(0x14b)]},async function(a,b){const p=a82o,c=this[p(0x171)]['getMakaProjectConfig'](),d=p(0x15d),e=this[p(0x171)][p(0x16d)](d),f=this[p(0x171)][p(0x153)]({'configPath':e}),g=b[p(0x163)]?Number(b[p(0x163)]):0xbb8,h=b[p(0x154)]?Number(b[p(0x154)]):0xd73,i=b[p(0x168)]?b[p(0x168)]:'localhost',j=a82f[p(0x155)](f,c[p(0x148)]+p(0x161)),k=a82f['join'](f,c[p(0x148)]+'.crt');(!this[p(0x171)]['isFile'](j)||!this[p(0x171)]['isFile'](k))&&(await a82h[p(0x169)]('sslconfig',[],{'env':d}),SSL[p(0x152)]({'keyName':c[p(0x148)]+p(0x161),'csrName':c[p(0x148)]+p(0x14a),'cwd':f}),SSL['genSSC']({'keyName':c[p(0x148)]+p(0x161),'crtName':c[p(0x148)]+p(0x160),'cwd':f}));if(g===h){Log[p(0x172)](p(0x156));throw new UsageError();}const l={'ssl':{'key':a82e[p(0x150)](j,p(0x15f)),'cert':a82e[p(0x150)](k,p(0x15f))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a82g[p(0x166)](l)[p(0x16b)](Number(h)),Log[p(0x15b)](p(0x170)+h+p(0x164)+g);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a83p=a83d;(function(a,b){const n=a83d,c=a();while(!![]){try{const d=parseInt(n(0x152))/0x1*(-parseInt(n(0x15c))/0x2)+parseInt(n(0x148))/0x3*(-parseInt(n(0x143))/0x4)+-parseInt(n(0x13c))/0x5+parseInt(n(0x136))/0x6+parseInt(n(0x145))/0x7*(parseInt(n(0x159))/0x8)+-parseInt(n(0x150))/0x9+parseInt(n(0x134))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0x4ac88));const a83b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){const o=a83d;return a83a[o(0x133)]()[o(0x146)](o(0x13b))[o(0x133)]()[o(0x139)](a83a)['search'](o(0x13b));});a83a();import a83e from'fs';function a83c(){const r=['784444seQqxo','~/settings.json','7yPjuMx','search','_keys','3tQLROU','sshSync','notice','scp','pm2.config.js','Remote\x20host\x20connection\x20successful','fsi','join','2612124Xchdgg','parse','778MbkCfO','ssh.json','create','existsSync','getAppConfigPath','success','env','3817496VauNBx','pm2\x20delete\x20all','ssh','1402jnfTSy','toString','6832170PRLeHU','error','1883898wIyTUr','assign','maka\x20reconfig\x20--env\x20prod','constructor','Checking\x20remote\x20host\x20availability','(((.+)+)+)+$','681750tMhhPD','\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','reconfig','ping','exit','maka\x20reconfig','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.'];a83c=function(){return r;};return a83c();}import a83f from'path';import{Command}from'../command.js';function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0x133;let f=c[d];return f;},a83d(a,b);}import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a83p(0x154)]({'name':a83p(0x13e),'validOpts':[''],'requiredOpts':['env'],'mustBeInMakaProject':!![],'usage':a83p(0x141),'isPro':!![],'shortDesc':'Reconfigure\x20your\x20deployed\x20applications','description':a83p(0x13d),'examples':[a83p(0x138)]},async function(a,b){const q=a83p;try{const c=this[q(0x14e)][q(0x156)](b[q(0x158)]),d=a83f[q(0x14f)](c,q(0x153)),f=a83e['readFileSync'](d)[q(0x133)](),g=JSON[q(0x151)](f);Object[q(0x137)](g,{'env':c}),Log[q(0x14a)](q(0x13a));const h=SSH[q(0x13f)]('uname\x20-a',g);if(!h)throw q(0x142);if(h)Log[q(0x157)](q(0x14d));const i=a83f[q(0x14f)](c,q(0x147),'ses.json');if(a83e[q(0x155)](i)){const l={'source':i,'dest':'~/ses.json','verbose':!![]};SSH[q(0x14b)](l,{...g});}const j=a83f[q(0x14f)](c,q(0x14c));SSH['scp']({'source':j,'dest':'~/pm2.config.js','verbose':!![]},{...g});const k=a83f['join'](c,'settings.json');SSH[q(0x14b)]({'source':k,'dest':q(0x144),'verbose':!![]},{...g}),SSH[q(0x149)](q(0x15a),g),await SSH[q(0x15b)]('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[q(0x135)](m),process[q(0x140)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a84d,c=a();while(!![]){try{var d=parseInt(f(0x7a))/0x1*(parseInt(f(0x72))/0x2)+parseInt(f(0x79))/0x3+-parseInt(f(0x77))/0x4*(parseInt(f(0x73))/0x5)+-parseInt(f(0x7c))/0x6+parseInt(f(0x78))/0x7*(parseInt(f(0x75))/0x8)+parseInt(f(0x7b))/0x9+parseInt(f(0x70))/0xa*(-parseInt(f(0x71))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0x74884));var a84b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a84d;if(c){var e=c[g(0x6f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){var h=a84d;return a84a['toString']()['search'](h(0x7d))[h(0x7e)]()[h(0x76)](a84a)[h(0x74)](h(0x7d));});a84a();function a84c(){var i=['constructor','311276glXdPG','65506NENbbd','2789205KajZzY','21035CZqdRl','5950476cBYxeH','587688jpOoOk','(((.+)+)+)+$','toString','apply','2770FGgSBd','74569jMAKNI','38hlVyoq','25awmuUb','search','728zqBgGr'];a84c=function(){return i;};return a84c();}import'./run.command.js';function a84d(a,b){var c=a84c();return a84d=function(d,e){d=d-0x6f;var f=c[d];return f;},a84d(a,b);}import'./docker.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a85m=a85d;function a85d(a,b){const c=a85c();return a85d=function(d,e){d=d-0x6b;let f=c[d];return f;},a85d(a,b);}(function(a,b){const j=a85d,c=a();while(!![]){try{const d=parseInt(j(0x85))/0x1+-parseInt(j(0x78))/0x2+parseInt(j(0x72))/0x3+-parseInt(j(0x83))/0x4*(-parseInt(j(0x88))/0x5)+-parseInt(j(0x6c))/0x6+parseInt(j(0x71))/0x7+-parseInt(j(0x6b))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0x91417));const a85b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a85d;if(c){const e=c[k(0x86)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){const l=a85d;return a85a['toString']()[l(0x7f)](l(0x7a))[l(0x75)]()[l(0x6f)](a85a)[l(0x7f)](l(0x7a));});function a85c(){const o=['docker-compose\x20--project-directory\x20','5JPZpjO','maka\x20run\x20docker','8113416GMbewg','3014310ejxsrs','join','pm2.config.js','constructor','notice','4198047CBraRL','1738113ArNatW','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','existsSync','toString','config/docker-compose.yaml','PM2\x20Config\x20File:\x20','1967582hqusFV','templateContent','(((.+)+)+)+$','create','appName','getMakaProjectConfig','fsi','search','docker','getAppConfigPath','Docker\x20Compose\x20Path:\x20','3736796aVNEdl','exit','982029lHhmho','apply'];a85c=function(){return o;};return a85c();}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(0x7b)]({'name':a85m(0x80),'aliases':['d'],'shortDesc':a85m(0x73),'description':'\x0a\x20\x20Run\x20your\x20application\x20in\x20a\x20Docker\x20container.\x20\x20Docker\x20Desktop\x20or\x20Colmia\x20is\x20required.\x0a\x0a\x20\x20Colima\x20is\x20a\x20great\x20alternative\x20to\x20Docker\x20Desktop,\x20and\x20it\x20is\x20free!\x0a\x20\x20Colima:\x20https://github.com/abiosoft/colima\x0a\x0a\x20\x20A\x20docker-compose.yml\x20file\x20(location\x20defaulted\x20to\x20the\x20\x22config/docker\x22\x20folder)\x0a\x20\x20is\x20used\x20to\x20startup\x20mongo\x20and\x20load\x20the\x20built\x20image\x27\x0a\x20\x20','usage':a85m(0x89),'isPro':!![],'validOpts':['']},async function(){const n=a85m;try{const a=this[n(0x7e)][n(0x7d)](),b=this[n(0x7e)][n(0x81)](n(0x80)),c=a85f['join'](b,'docker-compose.yaml'),d=a85f[n(0x6d)](b,n(0x6e));Log[n(0x70)](n(0x77)+d),Log[n(0x70)](n(0x82)+c);if(!a85g[n(0x74)](c)){const f={'app':a['appName'],'appFileCase':paramCase(a[n(0x7c)])},g=this[n(0x7e)][n(0x79)]({'srcPath':n(0x76),'context':f})+'\x0a';this[n(0x7e)]['createFile']({'filePath':c,'data':g});}try{await a85h('http://localhost');}catch(h){}execSync(n(0x87)+b+'\x20up\x20--remove-orphans',{'stdio':'inherit'});}catch(i){process[n(0x84)](0x1);}},a85e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a86s=a86d;(function(a,b){const p=a86d,c=a();while(!![]){try{const d=-parseInt(p(0xbf))/0x1*(-parseInt(p(0xec))/0x2)+parseInt(p(0xce))/0x3+parseInt(p(0xb1))/0x4*(parseInt(p(0xdf))/0x5)+parseInt(p(0xd7))/0x6+parseInt(p(0xcb))/0x7+parseInt(p(0xdc))/0x8*(-parseInt(p(0xd3))/0x9)+-parseInt(p(0xbb))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0xb7dea));const a86b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a86d;if(c){const e=c[q(0xb9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const r=a86d;return a86a[r(0xc7)]()[r(0xb6)](r(0xe5))[r(0xc7)]()[r(0xde)](a86a)[r(0xb6)](r(0xe5));});function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0xb0;let f=c[d];return f;},a86d(a,b);}a86a();import a86e from'path';import a86f from'fs';function a86c(){const v=['cordova-build','440WmDyJM','create','excludeArchs','fsi','findProjectDirectory','search','length','inspect','apply','Run\x20your\x20Meteor\x20application','31816620taMyTA','argv','--settings','getAppConfigPath','9yEVCrw','settings','--exclude-archs','--env','ios','settings.json','filter','warn','toString','notice','splice','run','2209074boTZiD','production','\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','1926240VIQFlw','split','slice','env','allowIncompatibleUpdate','9wDVzog','app','web.browser.legacy','concat','6209826QLxecI','checkMeteorPackage','push','mobileServer','verbose','2243496MHYgSq','local','constructor','64105npoxlW','invokeMeteorCommand','extraPackages','Cannot\x20find\x20Node\x20Environment\x20File:\x20','isDirectory','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','(((.+)+)+)+$','isFile','compareMakaToLatest','port','.meteor','rawLogs','join','180508TGPENF','boolean','autoupdate','development','Node\x20Env\x20Config:\x20'];a86c=function(){return v;};return a86c();}import a86g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import a86h from'open';const syncSource=function(a){a86f['openSync'](a,'r'),a86g['config']({'path':a});},Run=Command[a86s(0xb2)]({'name':a86s(0xca),'mustBeInMakaProject':!![],'shortDesc':a86s(0xba),'description':a86s(0xcd),'validOpts':[a86s(0xd1),'docker',a86s(0xea),a86s(0xe8),a86s(0xb8),'mobileServer',a86s(0xdb),a86s(0xd2),a86s(0xe1),'x',a86s(0xb3),a86s(0xcc),'ci']},async function(a,b){const t=a86s;try{await this[t(0xb4)][t(0xd8)](t(0xee),{'shouldInstall':!![]});const c=a[0x0];if(c===t(0xc3)){const l=this['fsi'][t(0xb5)](),m=a86e[t(0xeb)](l,t(0xd4),t(0xe9),t(0xdd),t(0xb0));this['fsi'][t(0xe3)](m)&&await rimraf(m);}!b[t(0xb3)]&&!b['x']&&(a=a['concat']([t(0xc1),t(0xd5)]));if(b[t(0xda)]&&typeof b[t(0xda)]===t(0xed))throw'Please\x20provide\x20a\x20URL\x20where\x20your\x20mobile\x20app\x20should\x20connect\x20to\x20your\x20server\x20(e.g.,\x20-m\x20|\x20--mobile-server=https://example-server.com)';await this['fsi'][t(0xe7)]();const d=b[t(0xd1)]?b['env']:t(0xef),f=this['fsi'][t(0xbe)](d),g=a86e['join'](f,'process.env');let h=a86e[t(0xeb)](f,t(0xc4));b[t(0xc0)]?h=b[t(0xc0)]:h=a86e['join'](f,t(0xc4));if(this[t(0xb4)]['isFile'](g)&&!b['docker'])Log[t(0xc8)](t(0xf0)+g),syncSource(g);else!b['docker']&&Log[t(0xc6)](t(0xe2)+g);this[t(0xb4)][t(0xe6)](h)?(Log[t(0xc8)]('Meteor\x20Settings:\x20'+h),a=a[t(0xd6)]([t(0xbd),h])):Log[t(0xc6)](t(0xe4)+h);const i=f[t(0xcf)](a86e['sep']),j=i[i[t(0xb7)]-0x1];j===t(0xcc)&&a[t(0xd9)]('--production');const k=process[t(0xbc)][t(0xd0)](0x2)[t(0xc5)](n=>n!==t(0xca))[t(0xc5)](n=>n!==a[0x0]);k['forEach']((n,o)=>{const u=t;n===u(0xc2)&&k['splice'](o,0x2),n==='-e'&&k[u(0xc9)](o,0x2);});try{await a86h('http://localhost:'+(b[t(0xe8)]||0xbb8));}catch(n){}this[t(0xb4)][t(0xe0)](t(0xca),a['concat'](k));}catch(o){Log['error'](o),process['exit'](0x1);}});export default Run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a87d,c=a();while(!![]){try{var d=parseInt(f(
|
|
1
|
+
(function(a,b){var f=a87d,c=a();while(!![]){try{var d=parseInt(f(0xf7))/0x1+parseInt(f(0xf3))/0x2+parseInt(f(0xed))/0x3*(parseInt(f(0xf8))/0x4)+-parseInt(f(0xf1))/0x5*(parseInt(f(0xf5))/0x6)+parseInt(f(0xf6))/0x7*(parseInt(f(0xf0))/0x8)+-parseInt(f(0xf9))/0x9+parseInt(f(0xee))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0x9b51c));var a87b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a87d;if(c){var e=c[g(0xf4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){var h=a87d;return a87a[h(0xef)]()[h(0xf2)]('(((.+)+)+)+$')['toString']()[h(0xec)](a87a)[h(0xf2)]('(((.+)+)+)+$');});a87a();function a87c(){var i=['4749480Ntgatq','toString','1016epeUGY','25iUTAco','search','929638utEHcV','apply','1266042rvOzAd','46067RQNhyj','1021204EQOsQl','4LFsLBv','10254546HuQEJH','constructor','101577Flmpms'];a87c=function(){return i;};return a87c();}import'./set.command.js';function a87d(a,b){var c=a87c();return a87d=function(d,e){d=d-0xec;var f=c[d];return f;},a87d(a,b);}import'./global.sub.cmd.js';import'./local.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x1c3;let f=c[d];return f;},a88d(a,b);}function a88c(){const l=['maka\x20set:gc\x20--workspace\x20<path>','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','2bYdTPI','1791036syhtKK','help','dark','8sbziGf','isFile','384126SWAnfH','(((.+)+)+)+$','762492lzZIxP','boolean','openai','constructor','Set\x20workspace:\x20','disallowInsecure','1260980toMghJ','exit','success','5awpaCQ','fsi','Set\x20CA\x20Cert\x20Path:\x20','\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','118019jPRNEA','workspace','toString','2208850mfpqAV','search','Set\x20color\x20pallet\x20to:\x20','allowInsecure','maka\x20set:gc\x20--insecure\x20<path>','setGlobalConfig','global-config','error','Set\x20OpenAI\x20Key:\x20','maka\x20set:global-config','pallet','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','cacert','Could\x20not\x20find\x20directory','Set\x20allowInsecure:\x20','Set\x20global\x20Maka-CLI\x20settings','9640610DCKFiW'];a88c=function(){return l;};return a88c();}const a88j=a88d;(function(a,b){const h=a88d,c=a();while(!![]){try{const d=parseInt(h(0x1d9))/0x1+-parseInt(h(0x1c4))/0x2*(-parseInt(h(0x1cc))/0x3)+parseInt(h(0x1d2))/0x4*(parseInt(h(0x1d5))/0x5)+-parseInt(h(0x1ca))/0x6+-parseInt(h(0x1dc))/0x7*(-parseInt(h(0x1c8))/0x8)+parseInt(h(0x1c5))/0x9+-parseInt(h(0x1ec))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0x2a74c));const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const i=a88d;return a88a[i(0x1db)]()[i(0x1dd)](i(0x1cb))[i(0x1db)]()[i(0x1cf)](a88a)[i(0x1dd)](i(0x1cb));});a88a();import a88e from'path';import a88f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a88j(0x1e2),'usage':a88j(0x1e5),'aliases':['gc'],'maxOptsLength':0x3,'validOpts':[{'name':a88j(0x1e8),'boolFlag':![]},{'name':a88j(0x1df),'boolFlag':!![]},{'name':a88j(0x1d1),'boolFlag':!![]},{'name':a88j(0x1da),'boolFlag':![]},{'name':a88j(0x1ce),'boolFlag':![]},{'name':a88j(0x1c6),'boolFlag':!![]},{'name':'pallet','values':['light',a88j(0x1c7)]}],'shortDesc':a88j(0x1eb),'description':a88j(0x1d8),'examples':['maka\x20set:global-config\x20--cacert\x20<path>',a88j(0x1e0),a88j(0x1ed)]},async function(a,b){const k=a88j;try{if(b['cacert']){if(this['fsi'][k(0x1c9)](b[k(0x1e8)]))await this[k(0x1d6)][k(0x1e1)]({'cert':b[k(0x1e8)]}),Log['success'](k(0x1d7)+b['cacert']);else{const c=typeof b['cacert']===k(0x1cd)?k(0x1e7):k(0x1c3)+b[k(0x1e8)];throw Log[k(0x1e3)](c);}}if(b[k(0x1da)]){const d=this[k(0x1d6)]['isDirectory'](b[k(0x1da)]);if(d)await this[k(0x1d6)][k(0x1e1)]({'workspace':a88e['resolve'](b[k(0x1da)])}),Log[k(0x1d4)](k(0x1d0)+a88e['resolve'](b[k(0x1da)]));else throw Log['error'](k(0x1e9));}b[k(0x1ce)]&&(await this['fsi'][k(0x1e1)]({'openai':b['openai']}),Log[k(0x1d4)](k(0x1e4)+b['openai']));b[k(0x1e6)]&&(await this['fsi']['setGlobalConfig']({'pallet':b[k(0x1e6)]}),Log[k(0x1d4)](k(0x1de)+b['pallet']));if(b[k(0x1df)]){if(b['allowInsecure']&&b[k(0x1d1)])throw Log[k(0x1e3)]('One\x20or\x20the\x20other\x20buddy');let f=b[k(0x1df)];b[k(0x1d1)]&&(f=![]),await this[k(0x1d6)]['setGlobalConfig']({'allowInsecure':f}),Log['success'](k(0x1ea)+f);}process[k(0x1d3)](0x0);}catch(g){console[k(0x1e3)](g),process[k(0x1d3)](0x0);}},a88f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a89i=a89d;(function(a,b){var f=a89d,c=a();while(!![]){try{var d=-parseInt(f(0x78))/0x1*(parseInt(f(0x7f))/0x2)+-parseInt(f(0x81))/0x3*(-parseInt(f(0x75))/0x4)+-parseInt(f(0x7e))/0x5*(-parseInt(f(0x84))/0x6)+parseInt(f(0x74))/0x7+-parseInt(f(0x85))/0x8*(parseInt(f(0x79))/0x9)+parseInt(f(0x7d))/0xa+parseInt(f(0x7b))/0xb*(-parseInt(f(0x7c))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0x937e1));var a89b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a89d;if(c){var e=c[g(0x76)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){var h=a89d;return a89a['toString']()[h(0x80)](h(0x86))[h(0x87)]()['constructor'](a89a)['search']('(((.+)+)+)+$');});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-0x73;var f=c[d];return f;},a89d(a,b);}import{Log}from'../../tools/log/log.class.js';function a89c(){var k=['search','101271iTZtNX','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','Set\x20local\x20maka\x20app\x20settings','438972IAajvX','792PULoPO','(((.+)+)+)+$','toString','Sorry,\x20not\x20implemented\x20yet','228151cIwrAv','4LHbwCr','apply','local-config','9EnsJfk','12717ORZNIq','maka\x20set:local-config','4950riueRz','16584wEclES','10446400VnFUYp','50cUhXpC','105932xrbBjb'];a89c=function(){return k;};return a89c();}Command['create']({'name':a89i(0x77),'usage':a89i(0x7a),'examples':[],'aliases':['lc'],'mustBeInMakaProject':!![],'shortDesc':a89i(0x83),'validOpts':[],'description':a89i(0x82)},async function(){var j=a89i;Log['notice'](j(0x73));},a89e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a90c(){const j=['(((.+)+)+)+$','search','create','640176vkLaPF','343168puRbpC','findSubCommand','4007416XwlBcq','toString','234796HHEUav','90836vZVdYV','3gzvWEV','maka\x20set:<sub-command>','set','754000dhwKRV','\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','808374amNRGU'];a90c=function(){return j;};return a90c();}const a90h=a90d;(function(a,b){const f=a90d,c=a();while(!![]){try{const d=-parseInt(f(0x16e))/0x1+parseInt(f(0x16d))/0x2*(-parseInt(f(0x16f))/0x3)+parseInt(f(0x168))/0x4+-parseInt(f(0x172))/0x5+-parseInt(f(0x164))/0x6+-parseInt(f(0x169))/0x7+parseInt(f(0x16b))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0x1cda8));const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const g=a90d;return a90a[g(0x16c)]()[g(0x166)]('(((.+)+)+)+$')[g(0x16c)]()['constructor'](a90a)[g(0x166)](g(0x165));});a90a();import{Command}from'../../command.js';const SetCommand=Command[a90h(0x167)]({'name':a90h(0x171),'usage':a90h(0x170),'shortDesc':'Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','description':a90h(0x173),'validOpts':[]},async function(a,b){const i=a90h,c=a[0x0],d=this[i(0x16a)](c);d&&this['runSubCommand'](c,a,b);});function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0x164;let f=c[d];return f;},a90d(a,b);}export default SetCommand;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a91m=a91d;function a91d(a,b){const c=a91c();return a91d=function(d,e){d=d-
|
|
1
|
+
const a91m=a91d;function a91d(a,b){const c=a91c();return a91d=function(d,e){d=d-0xb4;let f=c[d];return f;},a91d(a,b);}(function(a,b){const j=a91d,c=a();while(!![]){try{const d=parseInt(j(0xd6))/0x1*(-parseInt(j(0xd8))/0x2)+-parseInt(j(0xbf))/0x3*(parseInt(j(0xc8))/0x4)+parseInt(j(0xba))/0x5*(parseInt(j(0xd3))/0x6)+-parseInt(j(0xb4))/0x7*(parseInt(j(0xc0))/0x8)+parseInt(j(0xce))/0x9*(parseInt(j(0xbb))/0xa)+parseInt(j(0xc2))/0xb*(parseInt(j(0xcd))/0xc)+-parseInt(j(0xd5))/0xd*(-parseInt(j(0xc4))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0x9a0fc));const a91b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a91d;if(c){const e=c[k(0xb7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){const l=a91d;return a91a[l(0xc5)]()[l(0xd0)](l(0xcf))['toString']()[l(0xc6)](a91a)['search'](l(0xcf));});a91a();function a91c(){const o=['6lZNidP','16UmaZdy','env','8371759aqcOAV','join','5460BqeWyV','toString','constructor','readFileSync','2076316FlZvzP','sshSync','fsi','ssh.json','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','12JlkxJy','393093BVaVvY','(((.+)+)+)+$','search','ssh','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','2625528iaZtzP','verbose','12974XpCUTX','369308XRHXyG','maka\x20ssh\x20--env\x20staging','4NAHiHe','2483530JLQFyV','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','getAppConfigPath','apply','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','maka\x20ssh\x20<command>','10pHQKew','250ujTRnO','error','maka\x20ssh\x20--env\x20dev','create'];a91c=function(){return o;};return a91c();}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';Command[a91m(0xbe)]({'name':a91m(0xd1),'usage':a91m(0xb9),'mustBeInMakaProject':!![],'requiredOpts':[a91m(0xc1)],'validOpts':[a91m(0xc1),a91m(0xd4)],'isPro':!![],'shortDesc':a91m(0xb5),'examples':[a91m(0xbd),a91m(0xd7),'maka\x20ssh\x20--env\x20prod',a91m(0xd2),a91m(0xcc),a91m(0xb8)]},async function(a,b){const n=a91m;try{const c=this[n(0xca)][n(0xb6)](b[n(0xc1)]);let d='';a['length']>0x0&&(d=a[0x0]);const f=a91f[n(0xc3)](c,n(0xcb)),g=a91e[n(0xc7)](f)['toString'](),h=JSON['parse'](g);Object['assign'](h,{'env':c}),SSH[n(0xc9)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b[n(0xd4)]});}catch(i){Log[n(0xbc)](i),process['exit'](0x1);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a92y=a92d;(function(a,b){const v=a92d,c=a();while(!![]){try{const d=parseInt(v(
|
|
1
|
+
function a92c(){const A=['sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','1357384XGyVHy','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','join','uname\x20-a','fsi','592142mQClvl','genCSR','.key','Email\x20to\x20use\x20for\x20auto-updates:\x20','(((.+)+)+)+$','2683920qnRuKd','env','maka\x20ssl\x20[command]','\x20--email\x20','ssh','Verifying\x20Letsencrypt\x20configuration','apply','exit','4GUFMAy','sudo\x20snap\x20install\x20--classic\x20certbot','ask','appName','toString','maka\x20ssl\x20--env\x20dev\x20generate-csr','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','withSpinner','emailUpdate','ping','Please\x20provide\x20a\x20command.','Checking\x20remote\x20host\x20availability','parse','38580rUvIzr','error','start','domainNames','ssl','/ssh.json','Using\x20saved\x20letsencrypt\x20config','[?]\x20Domains\x20to\x20register:\x20','52176wGQvYZ','27gwXHNl','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','Remote\x20host\x20connection\x20successful','5781275xrHUfq','assign','letsencrypt','letsencrypt.json','21QGYelW','notice','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','18MfuRmX','genSSC','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','.csr','existsSync','search','email','2227832xhETGv','readFileSync','success','3696FUCGsO','constructor','domains','create','getMakaProjectConfig'];a92c=function(){return A;};return a92c();}const a92y=a92d;function a92d(a,b){const c=a92c();return a92d=function(d,e){d=d-0x1ad;let f=c[d];return f;},a92d(a,b);}(function(a,b){const v=a92d,c=a();while(!![]){try{const d=parseInt(v(0x1ca))/0x1*(-parseInt(v(0x1bd))/0x2)+parseInt(v(0x1e7))/0x3*(parseInt(v(0x1df))/0x4)+-parseInt(v(0x1e3))/0x5+parseInt(v(0x1eb))/0x6*(parseInt(v(0x1b8))/0x7)+-parseInt(v(0x1af))/0x8*(-parseInt(v(0x1e0))/0x9)+parseInt(v(0x1d7))/0xa*(parseInt(v(0x1b2))/0xb)+parseInt(v(0x1c2))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0xa7f12));const a92b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a92d;if(c){const e=c[w(0x1c8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){const x=a92d;return a92a[x(0x1ce)]()[x(0x1ad)](x(0x1c1))[x(0x1ce)]()[x(0x1b3)](a92a)[x(0x1ad)](x(0x1c1));});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';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command[a92y(0x1b5)]({'name':a92y(0x1db),'usage':a92y(0x1c4),'validOpts':['domains',a92y(0x1ae)],'requiredOpts':['env'],'shortDesc':'Create\x20and\x20manage\x20your\x20SSL\x20operations.','mustBeInMakaProject':!![],'minArgLength':0x1,'isPro':!![],'examples':[a92y(0x1cf),'maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate',a92y(0x1ed)]},async function(a,b){const z=a92y,c=this[z(0x1bc)][z(0x1b6)](),d=this[z(0x1bc)]['getAppConfigPath'](b[z(0x1c3)]),f=this[z(0x1bc)]['mkKeysDir']({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g==='generate-csr')SSL[z(0x1be)]({'keyName':c[z(0x1cd)]+z(0x1bf),'csrName':c['appName']+z(0x1ee),'cwd':f});else{if(g==='generate-ssc'){if(!a92e[z(0x1ef)](a92f[z(0x1ba)](f,c[z(0x1cd)]+z(0x1bf))))throw z(0x1d0)+a92f[z(0x1ba)](f,c[z(0x1cd)]+'.key');if(!a92e['existsSync'](a92f[z(0x1ba)](f,c[z(0x1cd)]+'.csr')))throw z(0x1ea)+a92f['join'](f,c[z(0x1cd)]+z(0x1ee));SSL[z(0x1ec)]({'keyName':c[z(0x1cd)]+'.key','crtName':c['appName']+'.crt','cwd':f}),Log[z(0x1e8)]('New\x20CSR\x20written\x20to\x20'+f);}else{if(g===z(0x1e5)){let h=b[z(0x1b4)],i=b['email'];try{const p=a92e[z(0x1b0)](a92f[z(0x1ba)](d,'letsencrypt.json'))[z(0x1ce)](),q=JSON[z(0x1d6)](p);h=b['domains']?b[z(0x1b4)]:q[z(0x1da)],i=b[z(0x1ae)]?b[z(0x1ae)]:q[z(0x1d2)],(!b[z(0x1ae)]||!b[z(0x1b4)])&&Log[z(0x1e8)](z(0x1dd));}catch(r){}const j=JSON[z(0x1d6)](a92e[z(0x1b0)](d+z(0x1dc))[z(0x1ce)]());Object[z(0x1e4)](j,{'env':d}),Log['notice'](z(0x1d5));try{const s=SSH[z(0x1d3)](z(0x1bb),j);if(!s)throw z(0x1e9);if(s)Log[z(0x1b1)](z(0x1e2));}catch(t){Log[z(0x1d8)](t);return;}const k=Log[z(0x1d1)]();k[z(0x1d9)](z(0x1c7)),SSH['ssh'](z(0x1b7),{...j}),SSH[z(0x1c6)](z(0x1cb),{...j}),SSH[z(0x1c6)](z(0x1b9),{...j}),k[z(0x1b1)]();const l=h?h:await Actions[z(0x1cc)](z(0x1de)),m=i?i:await Actions[z(0x1cc)](z(0x1c0));SSH['ssh'](z(0x1e1)+l+z(0x1c5)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON['stringify'](n,null,0x2);a92e['writeFileSync'](a92f[z(0x1ba)](d,z(0x1e6)),o);}else throw z(0x1d4);}}}catch(u){console['error'](u),process[z(0x1c9)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a93q=a93d;
|
|
1
|
+
const a93q=a93d;(function(a,b){const m=a93d,c=a();while(!![]){try{const d=parseInt(m(0x85))/0x1+-parseInt(m(0x81))/0x2*(parseInt(m(0x84))/0x3)+parseInt(m(0x94))/0x4+-parseInt(m(0x87))/0x5+-parseInt(m(0xa2))/0x6*(-parseInt(m(0x74))/0x7)+parseInt(m(0x72))/0x8*(parseInt(m(0x9a))/0x9)+parseInt(m(0x8a))/0xa*(-parseInt(m(0x8b))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0x279f9));const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a93d;if(c){const e=c[n(0xa8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const o=a93d;return a93a[o(0xa4)]()['search'](o(0x8f))[o(0xa4)]()[o(0x6f)](a93a)[o(0x99)](o(0x8f));});a93a();import a93e from'fs';import a93f from'path';import a93g from'dotenv';function a93c(){const t=['933055XUvvLg','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','port','30MEpDLt','2167473ygFOHb','concat','--full-app','.maka','(((.+)+)+)+$','Cannot\x20find\x20Node\x20Environment\x20File:\x20','utf8','development','forEach','1164060CLwHfQ','findProjectDirectory','config.json','test','none','search','18MYduMj','env','mocha','--driver-package','splice','packages','process.env','test-packages','318630XpZuEM','filter','toString','join','--env','Meteor\x20Settings:\x20','apply','meteortesting:mocha','inspect','warn','openSync','testAppPath','fsi','getAppConfigPath','--packages','constructor','notice','driver','1276480GNYVdJ','engines','7aSCcIb','readFileSync','invokeMeteorCommand','error','exit','config','sanjo:jasmine','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','maka\x20test\x20<opts>','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','parse','--driver','once','46694XTvXHU','unit','Node\x20Env\x20Config:\x20','3bSarkG','300144LgTjuN','driverPackage'];a93c=function(){return t;};return a93c();}function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x6b;let f=c[d];return f;},a93d(a,b);}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const p=a93d;a93e[p(0xac)](a,'r'),a93g[p(0x79)]({'path':a});};Command['create']({'name':a93q(0x97),'mustBeInMakaProject':!![],'validOpts':[a93q(0x80),a93q(0x9f),a93q(0x71),a93q(0x86),a93q(0x82),a93q(0x9b),'rawLogs',a93q(0x89),a93q(0xaa),a93q(0x6b)],'usage':a93q(0x7c),'shortDesc':a93q(0x88),'examples':[]},function(a,b){const r=a93q;try{let c=this['fsi'][r(0x6d)](r(0x92));b['env']&&(c=this['fsi'][r(0x6d)](b[r(0x9b)]));(!b[r(0x82)]||!!b['once'])&&(a=a['concat']([r(0x8d)]));b['unit']&&delete b['unit'];let d=b['driver-package']||b[r(0x71)]||r(0x98);if(d===r(0x98)){const j=JSON[r(0x7e)](a93e[r(0x75)](a93f['join'](this[r(0x6c)][r(0x95)](),r(0x8e),r(0x96)),r(0x91)));if(j['engines'][r(0x97)]==='jasmine')d=r(0x7a);else j[r(0x73)][r(0x97)]===r(0x9c)&&(d=r(0xa9));}if(d===r(0x98))throw r(0x7d);(!b['driver-package']||!b[r(0x71)])&&(a=a[r(0x8c)]([r(0x9d),d]));const f=a93f[r(0xa5)](c,'settings.json');this[r(0x6c)]['isFile'](f)?(Log[r(0x70)](r(0xa7)+f),a=a[r(0x8c)](['--settings',f])):Log[r(0xab)](r(0x7b)+f);const g=a93f[r(0xa5)](c,r(0xa0));this[r(0x6c)]['isFile'](g)?(Log['notice'](r(0x83)+g),syncSource(g)):Log[r(0xab)](r(0x90)+g);const h=process['argv']['slice'](0x2)[r(0xa3)](k=>k!==r(0xa6))[r(0xa3)](k=>k!==r(0x97))['filter'](k=>k!==a[0x0]);h[r(0x93)]((k,l)=>{const s=r;(k===s(0xa6)||k===s(0x7f))&&h[s(0x9e)](l,0x2),k===s(0x6e)&&h[s(0x9e)](l,0x1);});const i=b[r(0x9f)]?r(0xa1):r(0x97);this['fsi'][r(0x76)](i,a[r(0x8c)](h));}catch(k){console[r(0x77)](k),process[r(0x78)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a94m=a94d;(function(a,b){const k=a94d,c=a();while(!![]){try{const d=parseInt(k(0x11e))/0x1*(-parseInt(k(0x119))/0x2)+-parseInt(k(0x109))/0x3+parseInt(k(0x132))/0x4+parseInt(k(0x122))/0x5*(parseInt(k(0x130))/0x6)+parseInt(k(0x108))/0x7*(parseInt(k(0x125))/0x8)+parseInt(k(0x106))/0x9+-parseInt(k(0x10e))/0xa*(parseInt(k(0x115))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0x6aa5f));const a94b=(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;};}()),a94a=a94b(this,function(){const l=a94d;return a94a['toString']()[l(0x128)]('(((.+)+)+)+$')['toString']()[l(0x12c)](a94a)[l(0x128)](l(0x10a));});a94a();function a94c(){const o=['getProjectMeteorVersion','55BeHROm','version','bright','majestic','26JfHVCu','node\x20-v','\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','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','toString','22307aseuzy','getProjectsMeteorNodeVersion','Project\x27s\x20Meteor\x20Node\x20Version\x20','fsi','1088725ItAZfb','verbose','meteor.bat','72nopmPy','replace','compareMakaToLatest','search','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','maka\x20version','Maka\x20','constructor','warn','maka\x20version\x20--verbose','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','6UZRyxg','create','1800028pmEMYC','6654708NsOIxv','4.7.7','590947SqeaLB','2357103eQiULW','(((.+)+)+)+$','notice','System\x27s\x20Node\x20Version\x20','----------------------Project----------------------------','1308860lDdBIy','win32','getGlobalMeteorVersion','Project\x27s\x20Meteor\x20Version\x20','isMakaProject','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20'];a94c=function(){return o;};return a94c();}function a94d(a,b){const c=a94c();return a94d=function(d,e){d=d-0x106;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':a94m(0x107)};Command[a94m(0x131)]({'name':a94m(0x116),'aliases':['v'],'usage':a94m(0x12a),'maxArgLength':0x1,'validOpts':[a94m(0x123)],'shortDesc':a94m(0x12f),'examples':['maka\x20v',a94m(0x12a),a94m(0x12e)],'description':'\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'},async function(a,b){const n=a94m;try{const c=process['platform']===n(0x10f)?n(0x124):'meteor';Log[n(0x118)](n(0x12b)+pjson[n(0x116)]),await this[n(0x121)][n(0x127)]();if(b[n(0x123)]){await this[n(0x121)][n(0x127)](),Log[n(0x117)]('----------------------System----------------------------');const d=this[n(0x121)][n(0x110)]();Log[n(0x117)](('System\x27s\x20Meteor\x20Version\x20'+d)[n(0x126)]('\x0a',''));const f=execSync(c+'\x20node\x20-v')[n(0x11d)]()['replace'](/\r?\n|\r/,'')[n(0x126)]('v','');Log[n(0x117)](n(0x11c)+f);const g=execSync(n(0x11a))[n(0x11d)]()[n(0x126)](/\r?\n|\r/,'')[n(0x126)]('v','');a94e['gt'](f,g)?(Log[n(0x12d)](n(0x10c)+g),Log['warn'](n(0x129)+g+')\x20to\x20at\x20least\x20meteor\x27s\x20('+f+')')):Log[n(0x117)]('System\x27s\x20Node\x20Version\x20'+g);if(this[n(0x121)][n(0x112)]()){Log[n(0x117)](n(0x10d));const h=this[n(0x121)][n(0x114)]();a94e['gt'](d,h)?(Log['warn'](n(0x111)+h['replace']('\x0a','')),Log[n(0x12d)](n(0x113)+d+'\x22')):Log[n(0x10b)](('Project\x27s\x20Meteor\x20Version\x20'+h)[n(0x126)]('\x0a',''));const i=await this[n(0x121)][n(0x11f)]();i==='N/A'?(Log[n(0x12d)](n(0x120)+i),Log[n(0x12d)]('\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.')):Log[n(0x117)](n(0x120)+i),Log['bright'](n(0x11b));}}}catch(j){console['error'](j),process['exit'](0x0);}});
|
package/bundle/obf/src/error.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a95d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
function a95c(){var i=['16DjlKbU','14986ETvlZx','toString','126rIAzHI','53272BeWsUw','constructor','27mDvAtv','(((.+)+)+)+$','search','apply','796985EOTVuu','24440nBZiEG','4048620jYZnVm','177846SHBYdH','1093362jkAWwS'];a95c=function(){return i;};return a95c();}(function(a,b){var f=a95d,c=a();while(!![]){try{var d=-parseInt(f(0x84))/0x1+parseInt(f(0x78))/0x2*(parseInt(f(0x7d))/0x3)+-parseInt(f(0x77))/0x4*(parseInt(f(0x82))/0x5)+-parseInt(f(0x76))/0x6+parseInt(f(0x81))/0x7+parseInt(f(0x7b))/0x8*(-parseInt(f(0x7a))/0x9)+parseInt(f(0x83))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a95c,0x1ba97));var a95b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a95d;if(c){var e=c[g(0x80)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a95a=a95b(this,function(){var h=a95d;return a95a[h(0x79)]()[h(0x7f)](h(0x7e))['toString']()[h(0x7c)](a95a)[h(0x7f)](h(0x7e));});a95a();export class UsageError{}function a95d(a,b){var c=a95c();return a95d=function(d,e){d=d-0x76;var f=c[d];return f;},a95d(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 a96i=a96d;function a96d(a,b){var c=a96c();return a96d=function(d,e){d=d-
|
|
2
|
+
function a96c(){var j=['toString','63ycYNZm','274682ImyQMe','constructor','search','753696hLcMfH','NODE_OPTIONS','9YQyFQf','382728rQNlvg','12fksICO','(((.+)+)+)+$','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','20tgLUns','9264IxVRft','apply','env','2194450buqXpb','9843537JAMnws','210363EOzAKA'];a96c=function(){return j;};return a96c();}var a96i=a96d;function a96d(a,b){var c=a96c();return a96d=function(d,e){d=d-0x1e1;var f=c[d];return f;},a96d(a,b);}(function(a,b){var f=a96d,c=a();while(!![]){try{var d=parseInt(f(0x1e9))/0x1+-parseInt(f(0x1ec))/0x2+-parseInt(f(0x1e4))/0x3*(-parseInt(f(0x1f3))/0x4)+parseInt(f(0x1e3))/0x5*(-parseInt(f(0x1ef))/0x6)+-parseInt(f(0x1eb))/0x7*(parseInt(f(0x1f2))/0x8)+-parseInt(f(0x1f1))/0x9*(-parseInt(f(0x1e7))/0xa)+parseInt(f(0x1e8))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a96c,0x4058d));var a96b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a96d;if(c){var e=c[g(0x1e5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a96a=a96b(this,function(){var h=a96d;return a96a[h(0x1ea)]()[h(0x1ee)](h(0x1e1))[h(0x1ea)]()[h(0x1ed)](a96a)[h(0x1ee)](h(0x1e1));});a96a(),process[a96i(0x1e6)][a96i(0x1f0)]=a96i(0x1e2);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(0x1a2))/0x1*(-parseInt(q(0x170))/0x2)+parseInt(q(0x18a))/0x3*(-parseInt(q(0x19b))/0x4)+parseInt(q(0x16b))/0x5*(parseInt(q(0x1ba))/0x6)+-parseInt(q(0x1ad))/0x7+-parseInt(q(0x179))/0x8*(parseInt(q(0x181))/0x9)+-parseInt(q(0x1c1))/0xa+parseInt(q(0x1c9))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a97c,0xc8560));function a97c(){const E=['number','assign','join','noNeedResource','chdir','toString','16143970xhAUTO','validateEngines','keys','error','Both','Please\x20run\x20\x22maka\x20install\x20meteor\x22','mustHaveMeteorInstalled','validateParams','29903302ooitZO','Location','(((.+)+)+)+$','replace','Generator.create\x20requires\x20a\x20handler\x20function!','pallet','where','sort','minArgLength','25QtyBIP','requiredEngines','handleGenerateError','aliases','maxArgLength','685510wctsTI','There\x20is\x20no\x20Meteor\x20application\x20here','Too\x20many\x20arguments','--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27','resourceName','cwd','addGenerator','push','Generator\x20not\x20found','686200bGmCtN','maxOptsLength','invoke','colLocAnswer','Generators:','apply','validateMakaProject','slice','9uVOOLZ','checkWhere','bind','Too\x20many\x20options','includes','Generator\x20requires\x20a\x20name','length','match','Too\x20few\x20arguments','9DWqDDt','Client','Too\x20few\x20options','notice','usage','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','validateMakaSubscription','constructor','server','root','options','Description','pop','Alias','find','search','processAndRunGenerator','1642240BLQNHk','split','sep','No\x20resource\x20name\x20specified','help','client','getGlobalConfig','1tDHpMt','lib','forEach','mustBeInMakaProject','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','Name','light','fsi','map','appPathPrefix','name','616238gxflHJ','list','minOptsLength','addGenerator\x20requires\x20a\x20Generator\x20instance','setColorMode','Generator\x20format\x20is\x20incorrect','\x20not\x20found','_generators','shortDesc','listGenerators','_handler','LIGHT','DARK','935070NtRvTl'];a97c=function(){return E;};return a97c();}const a97b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a97d;if(c){const e=c[r(0x17e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a97a=a97b(this,function(){const s=a97d;return a97a[s(0x1c0)]()['search']('(((.+)+)+)+$')[s(0x1c0)]()[s(0x191)](a97a)[s(0x199)](s(0x1cb));});a97a();import a97e from'path';import a97f from'cli-table';import{paramCase}from'change-case';function a97d(a,b){const c=a97c();return a97d=function(d,e){d=d-0x16b;let f=c[d];return f;},a97d(a,b);}import a97g from'./generators/maka.gen.js';import{Log,ColorMode}from'./tools/log/log.class.js';import{Tool}from'./tool.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError,UsageErrorWithSubs}from'./error.js';let _prevGen='';async function inside(a='.',b){const t=a97d,c=process[t(0x175)]();let d=null;try{process[t(0x1bf)](a),d=await b();}finally{process[t(0x1bf)](c);}return d;}export class Generator extends Tool{[a97u(0x194)];[a97u(0x1b4)];constructor(a,b){const v=a97u;super();if(!a)throw new Error(v(0x1a6));if(!a[v(0x1ac)])throw new Error(v(0x186));if(typeof b!=='function')throw new Error('Generator\x20requires\x20a\x20handler\x20function');this[v(0x1b4)]=[],this['options']=Object[v(0x1bc)]({},a),this[v(0x1ac)]=this[v(0x194)][v(0x1ac)],this['_handler']=b[v(0x183)](this);}static['create'](a,b,c){const w=a97u;if(!a)throw new Error('Generator.create\x20requires\x20some\x20options!');if(typeof b!=='function')throw new Error(w(0x1cd));const d=new Generator(a,b);return c=c||a97g,Object[w(0x1bc)](d,{'parent':c?.[w(0x194)]?.[w(0x1ac)]}),c[w(0x176)](d),d;}['addGenerator'](a){const x=a97u;if(!(a instanceof Generator))throw new Error(x(0x1b0));this[x(0x1b4)][x(0x177)](a);}async[a97u(0x19a)](a,b=[],c={}){const y=a97u;let d;try{const f=a?.[y(0x19c)](':');if(!f||f[y(0x187)]===0x0)throw y(0x1b2);let g=this[y(0x1b4)],h;for(const i of f){h=g[y(0x198)](j=>j[y(0x188)](i));if(!h)throw'Generator\x20'+i+y(0x1b3);await this[y(0x190)](h),g=h['_generators'];}if(h)d=await h[y(0x17b)](b,c);else throw y(0x178);}catch(j){Log[y(0x1c4)](j);}return d;}async[a97u(0x17b)](a,b){const z=a97u,c=a[z(0x180)]();b[z(0x174)]=c[0x0];try{const d=await this[z(0x1a9)][z(0x1a1)](),f=d[z(0x1ce)]===z(0x1a8)?ColorMode[z(0x1b8)]:ColorMode[z(0x1b9)];Log[z(0x1b1)](f),await this[z(0x190)](this);const g=a[0x0]===_prevGen||a[z(0x187)]===0x0&&this[z(0x1b4)]['length']>=0x0,h=b[z(0x19f)]||b['h'];if(g&&h){if(this[z(0x1b4)][z(0x187)]>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!h){if(this[z(0x194)][z(0x1a5)]){const i=this[z(0x17f)]();if(!i)throw new MustBeInProjectError();}if(this[z(0x194)][z(0x1c7)]){const j=this['validateMeteorInstall']();if(!j)throw new NoMeteorFoundError();}if(typeof this[z(0x194)][z(0x1d1)]===z(0x1bb)){if(a[z(0x187)]<this[z(0x194)][z(0x1d1)]){Log[z(0x1c4)](z(0x189));throw new UsageError();}}if(typeof this[z(0x194)][z(0x16f)]===z(0x1bb)){if(a[z(0x187)]>this['options'][z(0x16f)]){Log['error'](z(0x172));throw new UsageError();}}if(typeof this[z(0x194)][z(0x1af)]===z(0x1bb)){if(Object[z(0x1c3)](b)[z(0x187)]<this[z(0x194)][z(0x1af)]){Log[z(0x1c4)](z(0x18c));throw new UsageError();}}if(typeof this[z(0x194)][z(0x17a)]==='number'){if(Object['keys'](b)['length']>=this[z(0x194)][z(0x17a)]){Log[z(0x1c4)](z(0x184));throw new UsageError();}}}this['options']['requiredEngines']&&this[z(0x1c2)](this['options'][z(0x16c)]);await this[z(0x1c8)](a,b,this['options']);if(!b[z(0x174)]&&!this[z(0x194)][z(0x1be)]){Log[z(0x1c4)](z(0x19e));throw new UsageError();}_prevGen=a[0x0];}catch(k){this[z(0x16d)](k),process['exit'](0x1);}return await inside(b['cwd'],async()=>{const A=z;try{if(!b[A(0x193)]&&!this[A(0x1a9)]['findProjectDirectory']())throw new MustBeInProjectError();const l=b[A(0x174)]?.[A(0x1cc)](/\\/g,'/')[A(0x19c)]('/');!b['dir']&&(l?.['length']>0x1?(b['resourceName']=l[A(0x196)](),c[0x0]=b[A(0x174)],b['dir']=l[A(0x1aa)](m=>{return paramCase(m);})[A(0x1bd)](a97e[A(0x19d)])):b['dir']='');if(this[A(0x194)][A(0x182)]){if(!b[A(0x1cf)]){const n={'type':A(0x1ae),'name':A(0x17c),'message':A(0x1ca),'choices':[{'name':A(0x18b),'value':A(0x1a0)},{'name':'Server','value':A(0x192)},{'name':A(0x1c5),'value':'both'}]},{colLocAnswer:o}=await Actions[A(0x194)](n);o?b[A(0x1cf)]=o:b[A(0x1cf)]='both';}const m=['both',A(0x1a0),A(0x192)];if(!m[A(0x185)](b[A(0x1cf)])){Log[A(0x1c4)](A(0x173));throw new UsageError();}switch(b[A(0x1cf)]){case'both':b[A(0x1ab)]=A(0x1a3);break;case'server':b[A(0x1ab)]=A(0x192);break;case A(0x1a0):b[A(0x1ab)]=A(0x1a0);break;default:b[A(0x1ab)]='';}}return await this[A(0x1b7)]['call'](this,c,b);}catch(p){this[A(0x16d)](p);}});}[a97u(0x1b6)](){this['tableList'](this['_generators']);}['handleGenerateError'](a){const B=a97u,{usage:usage='',description:description='',examples:examples=[],shortDesc:b,requiredOpts:requiredOpts=[],validOpts:c}=this[B(0x194)];Log[B(0x18e)](description,examples,usage,b,requiredOpts,c);if(a instanceof UsageErrorWithSubs)Log[B(0x18d)](B(0x17d)),this['tableList'](this[B(0x1b4)]);else{if(a instanceof MustBeInProjectError)Log[B(0x1c4)]('You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator');else{if(a instanceof NoMeteorFoundError)Log[B(0x1c4)](B(0x18f)),Log['notice'](B(0x1c6));else a instanceof NoMeteorAppFoundError&&Log[B(0x1c4)](B(0x171));}}}['tableList'](a){const C=a97u,b=new a97f({});b['push']([C(0x1a7),C(0x197),C(0x195)]),a[C(0x1d0)]()[C(0x1a4)](c=>{const D=C;b[D(0x177)]([c[D(0x1ac)],c[D(0x16e)](),c[D(0x1b5)]()]);}),Log['bright'](b[C(0x1c0)]());}}
|
|
@@ -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(0x1cf))/0x1+parseInt(f(0x1cb))/0x2+-parseInt(f(0x1c9))/0x3*(parseInt(f(0x1c1))/0x4)+parseInt(f(0x1c3))/0x5*(-parseInt(f(0x1ca))/0x6)+-parseInt(f(0x1cc))/0x7*(parseInt(f(0x1c5))/0x8)+parseInt(f(0x1d0))/0x9*(-parseInt(f(0x1c8))/0xa)+parseInt(f(0x1c4))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a98c,0xdaf96));var a98b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a98d;if(c){var e=c[g(0x1c6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a98a=a98b(this,function(){var h=a98d;return a98a[h(0x1cd)]()[h(0x1c2)](h(0x1c7))['toString']()[h(0x1ce)](a98a)[h(0x1c2)]('(((.+)+)+)+$');});a98a();import'./services/_index.js';import'./api.js';import'./collection.js';import'./component.js';import'./config.js';import'./dbc.js';function a98c(){var i=['1847706xJvgAz','518wSmDca','toString','constructor','252590MAbLGp','9WwTQre','52juRJrN','search','483110yRgAgj','28840999jJlwWP','40232WurEav','apply','(((.+)+)+)+$','2852510XbanjB','245193hKNhFA','42enVsbH'];a98c=function(){return i;};return a98c();}import'./hook.js';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';import'./maka.gen.js';import'./dockerfile.js';function a98d(a,b){var c=a98c();return a98d=function(d,e){d=d-0x1c1;var f=c[d];return f;},a98d(a,b);}import'./maka.gen.js';
|