@maka/maka-cli 4.8.9 → 4.8.11
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 +2 -2
- package/bundle/obf/src/command.js +1 -1
- package/bundle/obf/src/commands/_index.js +1 -1
- package/bundle/obf/src/commands/ai.js +1 -1
- package/bundle/obf/src/commands/aws/_index.js +1 -1
- package/bundle/obf/src/commands/aws/aws.command.js +1 -1
- package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/build/_index.js +1 -1
- package/bundle/obf/src/commands/build/build.js +1 -1
- package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/create.js +1 -1
- package/bundle/obf/src/commands/debug.js +1 -1
- package/bundle/obf/src/commands/deploy/_index.js +1 -1
- package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
- package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/_index.js +1 -1
- package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/play.command.js +1 -1
- package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/generate.js +1 -1
- package/bundle/obf/src/commands/get/_index.js +1 -1
- package/bundle/obf/src/commands/get/get.command.js +1 -1
- package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/help.js +1 -1
- package/bundle/obf/src/commands/install.js +1 -1
- package/bundle/obf/src/commands/jsdoc.js +1 -1
- package/bundle/obf/src/commands/lint.js +1 -1
- package/bundle/obf/src/commands/login.js +1 -1
- package/bundle/obf/src/commands/logout.js +1 -1
- package/bundle/obf/src/commands/logs.js +1 -1
- package/bundle/obf/src/commands/maka.cmd.js +1 -1
- package/bundle/obf/src/commands/murder.js +1 -1
- package/bundle/obf/src/commands/proxy.js +1 -1
- package/bundle/obf/src/commands/reconfig.js +1 -1
- package/bundle/obf/src/commands/run/_index.js +1 -1
- package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/run/run.command.js +1 -1
- package/bundle/obf/src/commands/set/_index.js +1 -1
- package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/set.command.js +1 -1
- package/bundle/obf/src/commands/ssh.js +1 -1
- package/bundle/obf/src/commands/ssl.js +1 -1
- package/bundle/obf/src/commands/test.js +1 -1
- package/bundle/obf/src/commands/version.js +1 -1
- package/bundle/obf/src/error.js +1 -1
- package/bundle/obf/src/exec.js +1 -1
- package/bundle/obf/src/generator.js +1 -1
- package/bundle/obf/src/generators/_index.js +1 -1
- package/bundle/obf/src/generators/api.js +1 -1
- package/bundle/obf/src/generators/collection.js +1 -1
- package/bundle/obf/src/generators/component.js +1 -1
- package/bundle/obf/src/generators/config.js +1 -1
- package/bundle/obf/src/generators/dbc.js +1 -1
- package/bundle/obf/src/generators/dockerfile.js +1 -1
- package/bundle/obf/src/generators/hook.js +1 -1
- package/bundle/obf/src/generators/kits/_index.js +1 -1
- package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
- package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
- package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
- package/bundle/obf/src/generators/kits/kit.js +1 -1
- package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
- package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
- package/bundle/obf/src/generators/layout.js +1 -1
- package/bundle/obf/src/generators/maka.gen.js +1 -1
- package/bundle/obf/src/generators/methods.js +1 -1
- package/bundle/obf/src/generators/package.js +1 -1
- package/bundle/obf/src/generators/page.js +1 -1
- package/bundle/obf/src/generators/publish.js +1 -1
- package/bundle/obf/src/generators/route.js +1 -1
- package/bundle/obf/src/generators/service.js +1 -1
- package/bundle/obf/src/generators/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/translation.js +1 -1
- package/bundle/obf/src/maka.js +1 -1
- package/bundle/obf/src/templates/meteor/project/package.json +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 +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
const a77z=a77d;(function(a,b){const w=a77d,c=a();while(!![]){try{const d=-parseInt(w(
|
|
1
|
+
function a77c(){const B=['exit','env','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','isFile','header','MAKA_DEV','620921YWlETM','cacert','547708azNQje','6136MdALrv','Logging\x20into\x20https://','Logging\x20in','debug','email','(((.+)+)+)+$','toHex','cert','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','Password:\x20','apply','withSpinner','assign','setGlobalConfig','True','Using\x20CA\x20Cert\x20','https://','parse','4172655TXPtyx','22689ULXWRX','create','localhost','search','maka\x20login','/api/v1/encodeJwt','334iESdSk','fsi','7622118rZAkup','success','help','error','authToken','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','update','digest','ask','sha256','toString','www.maka-cli.com','Preflight\x20Check','Logs\x20in\x20to\x20www.maka-cli.com','1251780jABYTV','login','failure','/api/v1/login','password','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','start','post','2616VpjJvJ'];a77c=function(){return B;};return a77c();}const a77z=a77d;function a77d(a,b){const c=a77c();return a77d=function(d,e){d=d-0x18e;let f=c[d];return f;},a77d(a,b);}(function(a,b){const w=a77d,c=a();while(!![]){try{const d=-parseInt(w(0x1b1))/0x1*(parseInt(w(0x199))/0x2)+parseInt(w(0x192))/0x3+parseInt(w(0x1ba))/0x4+parseInt(w(0x1a9))/0x5+parseInt(w(0x19b))/0x6+parseInt(w(0x1b8))/0x7+-parseInt(w(0x1bb))/0x8*(parseInt(w(0x193))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0xbb319));const a77b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a77d;if(c){const e=c[x(0x1c5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a77a=a77b(this,function(){const y=a77d;return a77a[y(0x1a5)]()['search']('(((.+)+)+)+$')[y(0x1a5)]()['constructor'](a77a)[y(0x196)](y(0x1c0));});a77a();import a77e from'node-forge';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a77z(0x1b3)][a77z(0x1b7)]===a77z(0x18e)?a77z(0x195):a77z(0x1a6);Command[a77z(0x194)]({'name':a77z(0x1aa),'validOpts':[a77z(0x1bf),a77z(0x1ad),a77z(0x19d),a77z(0x1b9),a77z(0x1be)],'usage':a77z(0x197),'maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a77z(0x1a8),'examples':[a77z(0x197),a77z(0x1c3)]},async function(a,b){const A=a77z,c=Log[A(0x1c6)]();try{let d='';b['cacert']&&(this[A(0x19a)][A(0x1b5)](b[A(0x1b9)])?(d=b['cacert'],Log['notice'](A(0x18f)+d)):Log['error'](A(0x1b4)+d));const f=await this[A(0x19a)]['getGlobalConfig']();if(f['cert']){if(this[A(0x19a)]['isFile'](f['cert']))d=f[A(0x1c2)];else{Log[A(0x19e)](A(0x1a0)+d);return;}}Log[A(0x1b6)](A(0x1bc)+hostname);const g={'url':A(0x190)+hostname+'/api/v1/status'};b[A(0x1b9)]&&Object['assign'](g,{'cert':d});c[A(0x1af)](A(0x1a7));const {statusCode:h}=await HTTPS['get'](g);if(h===0x198){c[A(0x1ab)]();throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}if(h!==0xc8){c[A(0x1ab)]();throw A(0x190)+hostname+'\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli';}c['success']();const i=b[A(0x1bf)]?b[A(0x1bf)]:await Actions[A(0x1a3)]('Email:'),j=b['password']?b['password']:await Actions[A(0x1a3)](A(0x1c4),!![]),k=a77e['md'][A(0x1a4)]['create']();k[A(0x1a1)](j);const l=k[A(0x1a2)]()[A(0x1c1)](),m={'hostname':hostname,'path':A(0x1ac),'data':{'email':i,'password':l,'hashed':!![]}};b['cacert']&&Object[A(0x1c7)](m,{'cert':d});c[A(0x1af)](A(0x1bd));const {data:n,statusCode:o}=await HTTPS[A(0x1b0)](m);if(o===0x198){c[A(0x1ab)]('\x0a');throw A(0x1ae)+hostname;}const p=JSON[A(0x191)](n);if(p[A(0x19f)]){const q={'hostname':hostname,'path':A(0x198),'headers':{'x-auth-token':p[A(0x19f)]},'data':{}};b[A(0x1b9)]&&Object[A(0x1c7)](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS[A(0x1b0)](q),{token:t}=JSON['parse'](r);if(s===0x198)throw A(0x1ae)+hostname;const u={'token':p,'hash':t};this[A(0x19a)][A(0x1c8)](u);}else{c[A(0x1ab)]();throw p;}c[A(0x19c)]();}catch(v){c['failure'](),console['error'](v),process[A(0x1b2)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a78n=a78d;(function(a,b){const l=a78d,c=a();while(!![]){try{const d=parseInt(l(
|
|
1
|
+
const a78n=a78d;function a78c(){const p=['assign','logout','setGlobalConfig','toString','Logging\x20out\x20of\x20https://','https://','failure','get','Logging\x20out','post','localhost','fsi','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','58146XLGDdX','search','error','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','True','(((.+)+)+)+$','235ffaaaI','932019StCOwn','success','authToken','/api/v1/logoutAll','getGlobalConfig','create','maka\x20logout','32004naOZfz','8MRtfZf','70aUVgzF','withSpinner','env','cert','3748892VMhlMy','Using\x20CA\x20Cert\x20','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','cacert','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','10559YwYrZZ','token','Preflight\x20Check','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','6493683tArbLg','notice','isFile','44PxeswK','constructor','1071585BwFWtA','www.maka-cli.com','start','header','exit'];a78c=function(){return p;};return a78c();}(function(a,b){const l=a78d,c=a();while(!![]){try{const d=parseInt(l(0x10d))/0x1*(parseInt(l(0x114))/0x2)+parseInt(l(0x102))/0x3+parseInt(l(0x108))/0x4+-parseInt(l(0xfa))/0x5*(parseInt(l(0x128))/0x6)+-parseInt(l(0x111))/0x7+parseInt(l(0x103))/0x8*(parseInt(l(0x116))/0x9)+-parseInt(l(0x104))/0xa*(-parseInt(l(0xfb))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0x7c51b));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(0x11e)]()[m(0x129)](m(0xf9))['toString']()[m(0x115)](a78a)[m(0x129)](m(0xf9));});a78a();function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0xf6;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[a78n(0x106)]['MAKA_DEV']===a78n(0xf8)?a78n(0x125):a78n(0x117);Command[a78n(0x100)]({'name':a78n(0x11c),'validOpts':[a78n(0x10b)],'usage':a78n(0x101),'maxArgLength':0x2,'shortDesc':a78n(0x10c),'disableAuthCheck':!![],'examples':[a78n(0x101)]},async function(a,b){const o=a78n,c=Log[o(0x105)]();try{let d='';b[o(0x10b)]&&(this[o(0x126)]['isFile'](b[o(0x10b)])?(d=b[o(0x10b)],Log[o(0x112)](o(0x109)+d)):Log[o(0xf6)](o(0x110)+d));const f=await this[o(0x126)][o(0xff)]();if(f[o(0x107)]){if(this[o(0x126)][o(0x113)](f['cert']))d=f[o(0x107)];else{c[o(0x121)]();throw Log[o(0xf6)]('CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+d);}}Log[o(0x119)](o(0x11f)+hostname);const g={'url':o(0x120)+hostname+'/api/v1/status'};b['cacert']&&Object[o(0x11b)](g,{'cert':d});c[o(0x118)](o(0x10f));const {statusCode:h}=await HTTPS[o(0x122)](g);if(h===0x198){c[o(0x121)]();throw o(0xf7);}c[o(0xfc)]();if(h!==0xc8){c[o(0x121)]();throw o(0x127);}if(!f?.[o(0x10e)]?.['authToken'])throw Log['error'](o(0x10a));c[o(0x118)](o(0x123));const i={'hostname':hostname,'path':o(0xfe),'data':{},'headers':{'x-auth-token':f['token'][o(0xfd)]}};b[o(0x10b)]&&Object[o(0x11b)](i,{'cert':d});const {statusCode:j}=await HTTPS[o(0x124)](i);if(j===0x198){c['failure']('\x0a');throw o(0xf7);}this[o(0x126)][o(0x11d)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[o(0xfc)]();}catch(k){k&&console[o(0xf6)](k),process[o(0x11a)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a79m=a79d;(function(a,b){const j=a79d,c=a();while(!![]){try{const d=parseInt(j(
|
|
1
|
+
const a79m=a79d;(function(a,b){const j=a79d,c=a();while(!![]){try{const d=parseInt(j(0xd3))/0x1*(-parseInt(j(0xc3))/0x2)+parseInt(j(0xbf))/0x3*(-parseInt(j(0xc6))/0x4)+-parseInt(j(0xca))/0x5*(parseInt(j(0xcb))/0x6)+-parseInt(j(0xba))/0x7+parseInt(j(0xbc))/0x8+parseInt(j(0xc7))/0x9+parseInt(j(0xbb))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0x42133));const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a79d;if(c){const e=c[k(0xb9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const l=a79d;return a79a[l(0xd5)]()[l(0xd0)](l(0xc8))['toString']()['constructor'](a79a)[l(0xd0)](l(0xc8));});a79a();function a79c(){const o=['6uXcCSk','sshSync','verbose','env','10198lTvwli','maka\x20logs\x20--env\x20dev','getAppConfigPath','335336XAUkDK','1941012dqwZjP','(((.+)+)+)+$','log','20sWHEtN','548466FjgFOx','error','maka\x20l\x20-e\x20p','pm2\x20logs','logs','search','create','maka\x20logs\x20--env\x20staging','62jVcKhS','ssh.json','toString','apply','3030573BKWtMp','13225730wdtMnk','118328UbVDkA','join','readFileSync'];a79c=function(){return o;};return a79c();}import a79e from'fs';import a79f from'path';function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0xb9;let f=c[d];return f;},a79d(a,b);}import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{Log}from'../tools/log/log.class.js';Command[a79m(0xd1)]({'name':a79m(0xcf),'aliases':['l',a79m(0xc9)],'usage':'maka\x20logs','requiredOpts':[a79m(0xc2)],'mustBeInMakaProject':!![],'validOpts':[a79m(0xc1)],'shortDesc':'View\x20the\x20PM2\x20logs','examples':[a79m(0xc4),a79m(0xd2),a79m(0xcd)]},function(a,b){const n=a79m;try{const c=n(0xce),d=this['fsi'][n(0xc5)](b[n(0xc2)]),f=a79f[n(0xbd)](d,n(0xd4)),g=a79e[n(0xbe)](f),h=JSON['parse'](g['toString']());Object['assign'](h,{'env':d}),SSH[n(0xc0)](c,h,{'tty':!![],'verbose':!![]});}catch(i){Log[n(0xcc)](i);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a80c(){const
|
|
1
|
+
function a80d(a,b){const c=a80c();return a80d=function(d,e){d=d-0x1ea;let f=c[d];return f;},a80d(a,b);}const a80h=a80d;(function(a,b){const f=a80d,c=a();while(!![]){try{const d=-parseInt(f(0x1f5))/0x1+parseInt(f(0x1f3))/0x2*(-parseInt(f(0x1ee))/0x3)+-parseInt(f(0x1f4))/0x4+parseInt(f(0x1ef))/0x5+parseInt(f(0x1f0))/0x6+parseInt(f(0x1eb))/0x7*(parseInt(f(0x1ed))/0x8)+parseInt(f(0x1f8))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0x191e8));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(0x1f9)]()['search'](g(0x1ea))[g(0x1f9)]()[g(0x1f6)](a80a)[g(0x1f1)](g(0x1ea));});a80a();import{Command}from'../command.js';function a80c(){const j=['724YXbLQj','225104QygLej','136301zyzZPN','constructor','maka\x20install\x20meteor','942705DtQNvJ','toString','processAndRunCommand','maka\x20<command>\x20[<args>]\x20[<opts>]','maka\x20--help','(((.+)+)+)+$','129661QpFJYp','exit','16Kodizi','342ltfiRy','721420lnmcBJ','303948pGzPcM','search','splice'];a80c=function(){return j;};return a80c();}const Maka=new Command({'name':'maka','minArgLength':0x1,'shortDesc':'A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','validOpts':[],'usage':a80h(0x1fb),'disableAuthCheck':!![],'examples':[a80h(0x1fc),a80h(0x1f7),'maka\x20create\x20Todo','maka\x20run'],'description':'\x0a\x0a\x20\x20Scaffold\x20Web\x20Applications\x20with\x20Meteor\x20and\x20Maka-CLI\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.-:\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20:-.\x20\x20\x20\x20\x20:--\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::\x20\x20::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::::::\x20.:::::::\x20..\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20..:.....\x20.::..::.\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20.::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::::::\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20\x20::::::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::..-::.\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::....\x20\x20::..---:..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20.\x20.:::::::\x20\x20::..::.\x20..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20\x20:.\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:--\x20\x20\x20\x20\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-:\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20:\x0a.:..::...::.\x20\x20\x20....:\x20\x20\x20.:\x20\x20\x20::\x20\x20....:.\x20\x20\x20\x20\x20\x20\x20\x20.::::\x20\x20.:\x20\x20::\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20\x20....:-\x20\x20.-..:.\x20\x20\x20....:-\x20\x20...\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20.:\x20\x20\x20:-\x20\x20.-\x20\x20.:\x20\x20.:\x20\x20\x20:-\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a.:.\x20\x20\x20:.\x20\x20\x20.:\x20\x20....\x20:.\x20.:.\x20\x20..\x20\x20....\x20:.\x20\x20\x20\x20\x20\x20\x20.....\x20\x20.:.\x20.:.\x0a\x0a\x20\x20'},async function(a,b){const i=a80h;try{const c=a[0x0];a[i(0x1f2)](0x0,0x1),await this[i(0x1fa)](c,a,b);}catch(d){process[i(0x1ec)](0x1);}});export default Maka;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var a81i=a81d;(function(a,b){var f=a81d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
var a81i=a81d;(function(a,b){var f=a81d,c=a();while(!![]){try{var d=-parseInt(f(0xe2))/0x1*(-parseInt(f(0xdb))/0x2)+-parseInt(f(0xd5))/0x3*(-parseInt(f(0xd0))/0x4)+parseInt(f(0xce))/0x5*(-parseInt(f(0xd4))/0x6)+-parseInt(f(0xd1))/0x7*(parseInt(f(0xd3))/0x8)+parseInt(f(0xe3))/0x9+-parseInt(f(0xde))/0xa*(-parseInt(f(0xd2))/0xb)+parseInt(f(0xda))/0xc*(-parseInt(f(0xdd))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0xe3d80));var a81b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a81d;if(c){var e=c[g(0xd7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){var h=a81d;return a81a[h(0xd8)]()[h(0xcb)](h(0xcd))['toString']()[h(0xcf)](a81a)[h(0xcb)](h(0xcd));});function a81d(a,b){var c=a81c();return a81d=function(d,e){d=d-0xcb;var f=c[d];return f;},a81d(a,b);}a81a();function a81c(){var k=['59734HzuDuX','9278604TDNlHS','log','search','error','(((.+)+)+)+$','3865puIKAl','constructor','32dCeeii','7FhjRgg','2090cYnpjR','5510056tCObpT','6018nmSwkv','195621Mvnqkw','exit','apply','toString','create','4683168KPIHeZ','46cFweSX','Murrrrderrrrr','65kfuRBk','74850VtCHnh','murder','font-family:\x20monospace','%c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.___.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20,-^\x20\x20\x20\x20\x20^-.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x0a.-------|\x20|--------------/\x20\x20__\x20\x20\x20\x20\x20__\x20\x20\x5c-------------------.__\x0a|WMWMWMW|\x20|>>>>>>>>>>>>>\x20|\x20/>>\x5c\x20\x20\x20/>>\x5c\x20|>>>>>>>>>>>>>>>>>>>>>>:>\x0a`-------|\x20|--------------|\x20\x5c__/\x20\x20\x20\x5c__/\x20|-------------------\x27^^\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x5c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20/|\x5c\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x5c_/\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\x20|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|+H+H+H+|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20^-----^\x0a\x0a'];a81c=function(){return k;};return a81c();}import{Command}from'../command.js';Command[a81i(0xd9)]({'name':a81i(0xdf),'usage':'maka\x20murder','maxArgLength':0x1,'shortDesc':a81i(0xdc),'validOpts':[]},async function(){var j=a81i;try{console[j(0xe4)](j(0xe1),j(0xe0));}catch(a){console[j(0xcc)](a),process[j(0xd6)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a82y=a82d;function a82c(){const J=['createProxyServer','search','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','utf8','maka\x20proxy','targetHost','path','.key',']\x20WebSocket\x20connection\x20established',']\x20=>\x20','method','11845VhRBvO','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','.csr','statusMessage','855230FwmhVc','headers','writeHead','.crt','\x20request\x20to\x20','headersSent','exit',']\x20WS\x20','12816846xFJuVj','create','maka\x20proxy\x20--target-host\x20http://192.168.1.20',']\x20WebSocket\x20connection\x20closed','genCSR','help','\x20from\x20','readFileSync','Internal\x20server\x20error.','297fyXqkG','withSpinner','getAppConfigPath','text/plain','sslconfig','proxyRes','\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','SSC\x20file\x20created:\x20','Key\x20file\x20created:\x20','Proxy\x20error:\x20','appName','fsi','=>\x20SSL\x20Proxy\x20forwarding\x20','10208086TzEQNP','join','\x20-\x20Starting\x20WebSocket\x20handshake','toISOString','5797348sABfty','processAndRunGenerator','getMakaProjectConfig','genSSC','open','targetPort','isFile','Shutting\x20down\x20proxy\x20server...','918656KnabCL','14wjlgra','error','host','close','url','listenPort','proxy',']\x20<=\x20Sending\x20','3qtsHsT','info','SIGINT','success','proxyReq','getHeader','\x20to\x20','(((.+)+)+)+$','warn','237999QJWPou','localhost','mkKeysDir','4446qtasjg','message','end','bright'];a82c=function(){return J;};return a82c();}function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0xa9;let f=c[d];return f;},a82d(a,b);}(function(a,b){const w=a82d,c=a();while(!![]){try{const d=parseInt(w(0xd3))/0x1*(parseInt(w(0xc2))/0x2)+-parseInt(w(0xca))/0x3*(-parseInt(w(0xb9))/0x4)+parseInt(w(0xe5))/0x5*(-parseInt(w(0xd6))/0x6)+-parseInt(w(0xb5))/0x7+parseInt(w(0xc1))/0x8+-parseInt(w(0xf1))/0x9+-parseInt(w(0xe9))/0xa*(-parseInt(w(0xfa))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0xdc156));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 x=a82d;return a82a['toString']()[x(0xdb)](x(0xd1))['toString']()['constructor'](a82a)[x(0xdb)](x(0xd1));});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[a82y(0xf2)]({'name':a82y(0xc8),'usage':a82y(0xde),'mustBeInMakaProject':!![],'validOpts':[a82y(0xf6),a82y(0xbe),a82y(0xc7),a82y(0xdf)],'maxArgLength':0x1,'shortDesc':a82y(0xdc),'description':a82y(0xae),'examples':[a82y(0xde),'maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000',a82y(0xf3)]},async function(a,b){const z=a82y,c=this[z(0xb3)][z(0xbb)](),d='development',e=this['fsi'][z(0xaa)](d),f=this[z(0xb3)][z(0xd5)]({'configPath':e}),g=b[z(0xbe)]?Number(b[z(0xbe)]):0xbb8,h=b[z(0xc7)]?Number(b[z(0xc7)]):0xd73,i=b[z(0xdf)]?b[z(0xdf)]:z(0xd4),j=a82f['join'](f,c[z(0xb2)]+z(0xe1)),k=a82f[z(0xb6)](f,c[z(0xb2)]+z(0xec));(!this['fsi']['isFile'](j)||!this['fsi'][z(0xbf)](k))&&(await a82h[z(0xba)](z(0xac),[],{'env':d}),SSL[z(0xf5)]({'keyName':c['appName']+'.key','csrName':c[z(0xb2)]+z(0xe7),'cwd':f,'useConfig':!![]}),this[z(0xb3)]['isFile'](a82f[z(0xb6)](f,c[z(0xb2)]+z(0xe7)))&&Log['info']('CSR\x20file\x20created:\x20'+a82f[z(0xb6)](f,c['appName']+'.csr')),SSL[z(0xbc)]({'keyName':c[z(0xb2)]+z(0xe1),'crtName':c[z(0xb2)]+'.crt','cwd':f,'useConfig':!![]}),this[z(0xb3)][z(0xbf)](a82f[z(0xb6)](f,c['appName']+'.crt'))&&Log['info'](z(0xaf)+a82f['join'](f,c[z(0xb2)]+z(0xec))),Log[z(0xcb)](z(0xb0)+j));if(g===h){Log[z(0xc3)](z(0xe6));throw new UsageError();}const l={'ssl':{'key':a82e['readFileSync'](j,z(0xdd)),'cert':a82e[z(0xf8)](k,z(0xdd))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]},m=a82g[z(0xda)](l);m['on'](z(0xc3),(o,p,q)=>{const A=z;'writeHead'in q&&(Log[A(0xc3)](A(0xb1)+o[A(0xd7)]),!q[A(0xee)]&&(q[A(0xeb)](0x1f4,{'content-type':A(0xab)}),q[A(0xd8)](A(0xf9))));}),m['on'](z(0xad),(o,p)=>{const B=z,q=new Date()[B(0xb8)](),r=p[B(0xe4)],s=p[B(0xc6)],t=p[B(0xea)][B(0xc4)],u=o['statusCode'],v=o[B(0xe8)];Log[B(0xd2)]('['+q+B(0xe3)+r+'\x20'+s+B(0xf7)+t+'\x20responded\x20with\x20'+u+'\x20'+v);}),m['on'](z(0xce),o=>{const C=z,p=new Date()[C(0xb8)](),q=o[C(0xe4)],r=o[C(0xe0)],s=o[C(0xcf)](C(0xc4));Log[C(0xcb)]('['+p+C(0xc9)+q+C(0xed)+r+'\x20on\x20'+s);}),m['on']('proxyReqWs',(o,p)=>{const D=z,q=new Date()[D(0xb8)](),r=p[D(0xe4)],s=p[D(0xc6)],t=p[D(0xea)]['host'];Log[D(0xcd)]('['+q+D(0xf0)+r+'\x20'+s+D(0xf7)+t+D(0xb7));}),m['on'](z(0xbd),()=>{const E=z,o=new Date()[E(0xb8)]();Log[E(0xcd)]('['+o+E(0xe2));}),m['on']('close',()=>{const F=z,o=new Date()[F(0xb8)]();Log[F(0xc3)]('['+o+F(0xf4));}),m['listen'](Number(h)),Log[z(0xd9)](z(0xb4)+h+z(0xd0)+g);const n=0x7d0;process['on'](z(0xcc),()=>{const G=z,o=Log[G(0xa9)]();o['start'](G(0xc0));const p=setTimeout(()=>{const H=G;o[H(0xcd)](),process[H(0xef)](0x1);},n);m[G(0xc5)](()=>{const I=G;clearTimeout(p),Log[I(0xcb)]('Proxy\x20server\x20closed.'),process['exit'](0x0);});});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a83q=a83d;(function(a,b){const n=a83d,c=a();while(!![]){try{const d
|
|
1
|
+
const a83q=a83d;(function(a,b){const n=a83d,c=a();while(!![]){try{const d=-parseInt(n(0x1ee))/0x1*(parseInt(n(0x1dc))/0x2)+parseInt(n(0x1f0))/0x3*(parseInt(n(0x1f6))/0x4)+parseInt(n(0x1ef))/0x5+-parseInt(n(0x1dd))/0x6+-parseInt(n(0x1da))/0x7+parseInt(n(0x1f9))/0x8*(-parseInt(n(0x1d9))/0x9)+parseInt(n(0x1e2))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0x2f406));const a83b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a83d;if(c){const e=c[o(0x1ea)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){const p=a83d;return a83a[p(0x1db)]()[p(0x1ec)](p(0x1d6))[p(0x1db)]()[p(0x1f1)](a83a)['search'](p(0x1d6));});a83a();function a83c(){const s=['constructor','_keys','maka\x20reconfig\x20--env\x20prod','~/settings.json','getAppConfigPath','64852zvAyym','parse','ssh','24mayVeL','~/pm2.config.js','Remote\x20host\x20connection\x20successful','\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\x0a\x20\x20This\x20does\x20not\x20restart\x20the\x20nginx\x20server\x20and\x20is\x20much\x20faster\x20than\x20deploying\x0a\x20\x20a\x20new\x20build.\x0a\x20\x20','scp','(((.+)+)+)+$','existsSync','env','724617pnsGbW','2420425PkqgDp','toString','2VUgnmZ','1536186tSZIgS','sshSync','uname\x20-a','success','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','7428830QZpdkZ','exit','reconfig','join','settings.json','Checking\x20remote\x20host\x20availability','fsi','assign','apply','ssh.json','search','error','335193QGmmgG','1605750wCDVWm','57qgxLuE'];a83c=function(){return s;};return a83c();}import a83e from'fs';import a83f from'path';function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0x1d5;let f=c[d];return f;},a83d(a,b);}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command['create']({'name':'reconfigure','aliases':[a83q(0x1e4)],'validOpts':[''],'requiredOpts':[a83q(0x1d8)],'mustBeInMakaProject':!![],'usage':'maka\x20reconfig','shortDesc':'Reconfigure\x20your\x20deployed\x20applications\x20w/o\x20rebuild\x20or\x20redploy','description':a83q(0x1fc),'examples':[a83q(0x1f3)]},async function(a,b){const r=a83q;try{const c=this[r(0x1e8)][r(0x1f5)](b['env']),d=a83f[r(0x1e5)](c,r(0x1eb)),f=a83e['readFileSync'](d)[r(0x1db)](),g=JSON[r(0x1f7)](f);Object[r(0x1e9)](g,{'env':c}),Log['notice'](r(0x1e7));const h=SSH['ping'](r(0x1df),g);if(!h)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(h)Log[r(0x1e0)](r(0x1fb));const i=a83f[r(0x1e5)](c,r(0x1f2),'ses.json');if(a83e[r(0x1d7)](i)){const l={'source':i,'dest':'~/ses.json','verbose':!![]};SSH[r(0x1d5)](l,{...g});}const j=a83f[r(0x1e5)](c,'pm2.config.js');SSH[r(0x1d5)]({'source':j,'dest':r(0x1fa),'verbose':!![]},{...g});const k=a83f[r(0x1e5)](c,r(0x1e6));SSH[r(0x1d5)]({'source':k,'dest':r(0x1f4),'verbose':!![]},{...g}),SSH[r(0x1de)]('pm2\x20delete\x20all',g),await SSH[r(0x1f8)](r(0x1e1),{...g},{'verbose':!![]});}catch(m){console[r(0x1ed)](m),process[r(0x1e3)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a84d,c=a();while(!![]){try{var d=parseInt(f(0x19d))/0x1*(-parseInt(f(0x19c))/0x2)+-parseInt(f(0x1ab))/0x3*(-parseInt(f(0x1aa))/0x4)+parseInt(f(0x1a7))/0x5+-parseInt(f(0x1a4))/0x6+-parseInt(f(0x1a2))/0x7+-parseInt(f(0x1a6))/0x8*(-parseInt(f(0x1a1))/0x9)+-parseInt(f(0x1a5))/0xa*(-parseInt(f(0x1a8))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0x52896));var a84b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a84d;if(c){var e=c[g(0x19e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){var h=a84d;return a84a[h(0x1a3)]()[h(0x1a9)](h(0x1a0))[h(0x1a3)]()[h(0x19f)](a84a)[h(0x1a9)](h(0x1a0));});function a84c(){var i=['429025RNbfCY','2155307YeQcZt','search','933560cAhhlp','3JOgojT','4628epFZDi','155FQuXbR','apply','constructor','(((.+)+)+)+$','9jQqmZn','4556657fbuAtc','toString','1660056LyHdZg','50lExxNg','2603896KJXkTn'];a84c=function(){return i;};return a84c();}a84a();import'./run.command.js';function a84d(a,b){var c=a84c();return a84d=function(d,e){d=d-0x19c;var f=c[d];return f;},a84d(a,b);}import'./docker.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a85d(a,b){const c=a85c();return a85d=function(d,e){d=d-
|
|
1
|
+
function a85c(){const m=['templateContent','join','Docker\x20Compose\x20Path:\x20','createFile','478565bBHnDG','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','config/docker-compose.yaml','515734syBbCK','existsSync','6xhsyRr','exit','\x20up\x20--remove-orphans','16UXIrMV','toString','3663999wHHNsb','1128422VODxRI','5996158WoAzXJ','128227NonChu','docker-compose.yaml','docker-compose\x20--project-directory\x20','search','appName','(((.+)+)+)+$','1770oWZBcg','6WdqCjn','pm2.config.js','getAppConfigPath','getMakaProjectConfig','notice','\x0a\x20\x20Run\x20your\x20application\x20in\x20a\x20Docker\x20container.\x20\x20Docker\x20Desktop,\x20Rancher,\x20or\x20Colmia\x20is\x20required.\x0a\x0a\x20\x20Colima\x20is\x20a\x20great\x20alternative\x20to\x20Docker\x20Desktop,\x20and\x20it\x20is\x20free!\x20(On\x20a\x20Mac)\x0a\x20\x20Colima:\x20https://github.com/abiosoft/colima\x0a\x0a\x20\x20Rancher\x20is\x20a\x20great\x20alternative\x20to\x20Docker\x20Desktop,\x20and\x20it\x20is\x20free!\x20(On\x20Windows\x20or\x20Mac)\x0a\x20\x20Rancher:\x20https://rancherdesktop.io/\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','1572048yOCbXb','fsi','docker'];a85c=function(){return m;};return a85c();}function a85d(a,b){const c=a85c();return a85d=function(d,e){d=d-0xb7;let f=c[d];return f;},a85d(a,b);}const a85k=a85d;(function(a,b){const i=a85d,c=a();while(!![]){try{const d=parseInt(i(0xd3))/0x1+parseInt(i(0xba))/0x2*(parseInt(i(0xd5))/0x3)+-parseInt(i(0xb7))/0x4*(-parseInt(i(0xd0))/0x5)+-parseInt(i(0xc3))/0x6*(-parseInt(i(0xbb))/0x7)+parseInt(i(0xc9))/0x8+-parseInt(i(0xb9))/0x9+parseInt(i(0xc2))/0xa*(-parseInt(i(0xbc))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0x94dac));const a85b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){const j=a85d;return a85a[j(0xb8)]()[j(0xbf)](j(0xc1))[j(0xb8)]()['constructor'](a85a)[j(0xbf)](j(0xc1));});a85a();import a85e from'./run.command.js';import{execSync}from'child_process';import a85f from'path';import a85g from'fs';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';Command['create']({'name':a85k(0xcb),'aliases':['d'],'shortDesc':a85k(0xd1),'description':a85k(0xc8),'usage':'maka\x20run\x20docker','isPro':![],'validOpts':['']},async function(){const l=a85k;try{const a=this[l(0xca)][l(0xc6)]();await this['fsi']['ensureAllDependenciesInstalled']();const b=this[l(0xca)][l(0xc5)](l(0xcb)),c=a85f['join'](b,l(0xbd)),d=a85f[l(0xcd)](b,l(0xc4));Log[l(0xc7)]('PM2\x20Config\x20File:\x20'+d),Log[l(0xc7)](l(0xce)+c);if(!a85g[l(0xd4)](c)){const f={'app':a[l(0xc0)],'appFileCase':paramCase(a[l(0xc0)])},g=this[l(0xca)][l(0xcc)]({'srcPath':l(0xd2),'context':f})+'\x0a';this['fsi'][l(0xcf)]({'filePath':c,'data':g});}execSync(l(0xbe)+b+l(0xd7),{'stdio':'inherit'});}catch(h){process[l(0xd6)](0x1);}},a85e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a86t=a86d;
|
|
1
|
+
const a86t=a86d;(function(a,b){const p=a86d,c=a();while(!![]){try{const d=parseInt(p(0x110))/0x1*(-parseInt(p(0xd8))/0x2)+parseInt(p(0x107))/0x3*(parseInt(p(0xf9))/0x4)+parseInt(p(0xe3))/0x5*(-parseInt(p(0xf4))/0x6)+parseInt(p(0x10c))/0x7*(parseInt(p(0xeb))/0x8)+-parseInt(p(0xdd))/0x9+-parseInt(p(0xe2))/0xa+parseInt(p(0x10e))/0xb*(parseInt(p(0xe8))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0x4f0ab));function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0xd8;let f=c[d];return f;},a86d(a,b);}const a86b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a86d;if(c){const e=c[q(0x10b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const r=a86d;return a86a[r(0xe6)]()['search'](r(0xe5))['toString']()[r(0x113)](a86a)[r(0xf8)]('(((.+)+)+)+$');});a86a();import a86e from'path';function a86c(){const w=['search','12Otxwim','local','rawLogs','Run\x20your\x20Meteor\x20application','notice','splice','development','settings.json','sep','autoupdate','error','process.env','createFile','mobileServer','550755NbHLdl','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','argv','split','apply','273XkWKaQ','env','11hpEDhf','extraPackages','1954DuFlky','filter','allowIncompatibleUpdate','constructor','inspect','\x22web.browser.legacy\x22','--env','40zHYEGl','openSync','\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\x0a\x20\x20-o\x20|\x20--open\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Opens\x20the\x20application\x20in\x20your\x20default\x20browser.\x0a\x20\x20','concat','invokeMeteorCommand','784575USzGnL','fsi','ios','excludeArchs','.meteor','2702790IdUZbj','5rfyhAN','checkMeteorPackage','(((.+)+)+)+$','toString','--production','5535828CxxglO','cordova-build','info','59360BBHrGl','settings','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)','slice','getAppConfigPath','join','isFile','app','findProjectDirectory','3486990bMlgwn','run','config','exit'];a86c=function(){return w;};return a86c();}import a86f from'fs';import a86g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const s=a86d;a86f[s(0xd9)](a,'r'),a86g[s(0xf6)]({'path':a});},Run=Command['create']({'name':'run','mustBeInMakaProject':!![],'aliases':['r'],'shortDesc':a86t(0xfc),'description':a86t(0xda),'validOpts':[a86t(0x10d),a86t(0xfb),'port',a86t(0x114),a86t(0x106),'verbose',a86t(0x112),a86t(0x10f),'x',a86t(0xe0),'production','ci','open']},async function(a,b){const u=a86t;try{await this[u(0xde)][u(0xe4)](u(0x102),{'shouldInstall':!![]}),await this[u(0xde)]['ensureAllDependenciesInstalled']();const c=a[0x0];if(c===u(0xdf)){const l=this[u(0xde)][u(0xf3)](),m=a86e[u(0xf0)](l,u(0xf2),u(0xe1),u(0xfa),u(0xe9));this[u(0xde)]['isDirectory'](m)&&await rimraf(m);}!b[u(0xe0)]&&!b['x']&&(a=a[u(0xdb)](['--exclude-archs',u(0x115)]));if(b[u(0x106)]&&typeof b['mobileServer']==='boolean')throw u(0xed);const d=b[u(0x10d)]?b[u(0x10d)]:u(0xff),f=this['fsi'][u(0xef)](d),g=a86e['join'](f,u(0x104));let h=a86e[u(0xf0)](f,u(0x100));b[u(0xec)]?h=b[u(0xec)]:h=a86e['join'](f,u(0x100));this[u(0xde)][u(0xf1)](g)?(Log['notice']('Node\x20Env\x20Config:\x20'+g),syncSource(g)):(Log[u(0xea)]('Cannot\x20find\x20Node\x20Environment\x20file,\x20creating:\x20'+g),this[u(0xde)][u(0x105)]({'filePath':g,'data':''}));this[u(0xde)][u(0xf1)](h)?(Log[u(0xfd)]('Meteor\x20Settings:\x20'+h),a=a[u(0xdb)](['--settings',h])):Log['warn'](u(0x108)+h);const i=f[u(0x10a)](a86e[u(0x101)]),j=i[i['length']-0x1];j==='production'&&a['push'](u(0xe7));const k=process[u(0x109)][u(0xee)](0x2)[u(0x111)](n=>n!==u(0xf5))[u(0x111)](n=>n!==a[0x0]);k['forEach']((n,o)=>{const v=u;n===v(0x116)&&k['splice'](o,0x2),n==='-e'&&k[v(0xfe)](o,0x2);}),this[u(0xde)][u(0xdc)](u(0xf5),a['concat'](k));}catch(n){Log[u(0x103)](n),process[u(0xf7)](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(0xac))/0x1+-parseInt(f(0xaf))/0x2+-parseInt(f(0xaa))/0x3*(parseInt(f(0xab))/0x4)+-parseInt(f(0xb0))/0x5+parseInt(f(0xae))/0x6+parseInt(f(0xa8))/0x7+parseInt(f(0xb3))/0x8*(parseInt(f(0xb1))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0xc8898));function a87c(){var h=['45DFNowm','constructor','8350624lWHwPP','toString','4286912oKJhts','search','47247ipyZrL','340DKQBkV','1639325JQsiGZ','(((.+)+)+)+$','1722642YqcSsC','2277966oQBnTD','5901450NsphgW'];a87c=function(){return h;};return a87c();}function a87d(a,b){var c=a87c();return a87d=function(d,e){d=d-0xa8;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(0xb4)]()[g(0xa9)](g(0xad))[g(0xb4)]()[g(0xb2)](a87a)[g(0xa9)](g(0xad));});a87a();import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a88j=a88d;(function(a,b){const h=a88d,c=a();while(!![]){try{const d=-parseInt(h(0x21a))/0x1*(parseInt(h(0x1f5))/0x2)+parseInt(h(0x1f6))/0x3+parseInt(h(0x1f8))/0x4*(parseInt(h(0x1fa))/0x5)+parseInt(h(0x1fd))/0x6*(parseInt(h(0x200))/0x7)+parseInt(h(0x211))/0x8*(parseInt(h(0x1f7))/0x9)+parseInt(h(0x21b))/0xa*(-parseInt(h(0x204))/0xb)+-parseInt(h(0x214))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0x43518));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(0x1f9)]()[i(0x20f)]('(((.+)+)+)+$')[i(0x1f9)]()[i(0x20b)](a88a)[i(0x20f)](i(0x1fc));});a88a();function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x1ef;let f=c[d];return f;},a88d(a,b);}import a88e from'path';function a88c(){const l=['constructor','exit','maka\x20set:gc\x20--insecure\x20<path>','cacert','search','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','136UUCCNZ','Set\x20CA\x20Cert\x20Path:\x20','allowInsecure','4353624aJkjwH','light','Set\x20color\x20pallet\x20to:\x20','disallowInsecure','help','Set\x20OpenAI\x20Key:\x20','330963SgwLFB','9550RrfrAz','global-config','isFile','maka\x20set:gc\x20--workspace\x20<path>','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','openai','resolve','pallet','success','2lRqSWX','186117tXjCof','259974asrPat','4ZbytHU','toString','1598705hDtkHh','One\x20or\x20the\x20other\x20buddy','(((.+)+)+)+$','2831844QUIXER','create','isDirectory','7GleRZz','setGlobalConfig','boolean','workspace','4323Zrbfvg','maka\x20set:global-config\x20--cacert\x20<path>','maka\x20set:global-config','fsi','error','\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','Could\x20not\x20find\x20directory'];a88c=function(){return l;};return a88c();}import a88f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a88j(0x1fe)]({'name':a88j(0x21c),'usage':a88j(0x206),'aliases':['gc'],'maxOptsLength':0x3,'validOpts':[{'name':a88j(0x20e),'boolFlag':![]},{'name':a88j(0x213),'boolFlag':!![]},{'name':a88j(0x217),'boolFlag':!![]},{'name':a88j(0x203),'boolFlag':![]},{'name':'openai','boolFlag':![]},{'name':a88j(0x218),'boolFlag':!![]},{'name':'pallet','values':[a88j(0x215),'dark']}],'shortDesc':'Set\x20global\x20Maka-CLI\x20settings','description':a88j(0x209),'examples':[a88j(0x205),a88j(0x20d),a88j(0x1ef)]},async function(a,b){const k=a88j;try{if(b[k(0x20e)]){if(this[k(0x207)][k(0x21d)](b[k(0x20e)]))await this['fsi'][k(0x201)]({'cert':b['cacert']}),Log[k(0x1f4)](k(0x212)+b['cacert']);else{const c=typeof b[k(0x20e)]===k(0x202)?k(0x1f0):k(0x210)+b['cacert'];throw Log[k(0x208)](c);}}if(b[k(0x203)]){const d=this[k(0x207)][k(0x1ff)](b['workspace']);if(d)await this[k(0x207)][k(0x201)]({'workspace':a88e['resolve'](b[k(0x203)])}),Log[k(0x1f4)]('Set\x20workspace:\x20'+a88e[k(0x1f2)](b['workspace']));else throw Log[k(0x208)](k(0x20a));}b[k(0x1f1)]&&(await this[k(0x207)][k(0x201)]({'openai':b[k(0x1f1)]}),Log[k(0x1f4)](k(0x219)+b['openai']));b[k(0x1f3)]&&(await this['fsi'][k(0x201)]({'pallet':b[k(0x1f3)]}),Log['success'](k(0x216)+b[k(0x1f3)]));if(b['allowInsecure']){if(b['allowInsecure']&&b[k(0x217)])throw Log['error'](k(0x1fb));let f=b[k(0x213)];b['disallowInsecure']&&(f=![]),await this[k(0x207)][k(0x201)]({'allowInsecure':f}),Log[k(0x1f4)]('Set\x20allowInsecure:\x20'+f);}process[k(0x20c)](0x0);}catch(g){console[k(0x208)](g),process[k(0x20c)](0x0);}},a88f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a89i=a89d;(function(a,b){var f=a89d,c=a();while(!![]){try{var d=parseInt(f(0x12d))/0x1*(-parseInt(f(0x126))/0x2)+parseInt(f(0x130))/0x3+-parseInt(f(0x125))/0x4+-parseInt(f(0x121))/0x5+parseInt(f(0x122))/0x6+-parseInt(f(0x12b))/0x7+parseInt(f(0x120))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0xe7c38));function a89c(){var k=['(((.+)+)+)+$','Set\x20local\x20maka\x20app\x20settings','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','5390840KscYBM','notice','2aucUbj','apply','create','1284783pgLMBd','11392816dUOAfq','1409100kNkaaA','2098782kHfyAz','toString','maka\x20set:local-config','672472bYtVVX','32798ygFFAO','search'];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(0x12e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){var h=a89d;return a89a['toString']()[h(0x127)](h(0x128))[h(0x123)]()['constructor'](a89a)[h(0x127)](h(0x128));});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-0x120;var f=c[d];return f;},a89d(a,b);}import{Log}from'../../tools/log/log.class.js';Command[a89i(0x12f)]({'name':'local-config','usage':a89i(0x124),'examples':[],'aliases':['lc'],'mustBeInMakaProject':!![],'shortDesc':a89i(0x129),'validOpts':[],'description':a89i(0x12a)},async function(){var j=a89i;Log[j(0x12c)]('Sorry,\x20not\x20implemented\x20yet');},a89e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0x1f1;let f=c[d];return f;},a90d(a,b);}const a90h=a90d;(function(a,b){const f=a90d,c=a();while(!![]){try{const d=parseInt(f(0x1f8))/0x1+-parseInt(f(0x1ff))/0x2+parseInt(f(0x1fb))/0x3*(parseInt(f(0x1f2))/0x4)+-parseInt(f(0x1fc))/0x5+parseInt(f(0x1f7))/0x6+-parseInt(f(0x1f4))/0x7+-parseInt(f(0x1f3))/0x8*(parseInt(f(0x1f6))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0x83bfc));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(0x200)]()[g(0x1fa)](g(0x1f9))['toString']()['constructor'](a90a)[g(0x1fa)](g(0x1f9));});a90a();function a90c(){const j=['maka\x20set:<sub-command>','findSubCommand','create','212156mtbYyt','635176bOlJqR','59171NNzVGF','set','81FtneDY','2377080jYxqSY','170381EPQfHw','(((.+)+)+)+$','search','45rZVadD','371790DpDHgI','runSubCommand','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','50236hjDBOV','toString'];a90c=function(){return j;};return a90c();}import{Command}from'../../command.js';const SetCommand=Command[a90h(0x1f1)]({'name':a90h(0x1f5),'usage':a90h(0x201),'shortDesc':a90h(0x1fe),'description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','validOpts':[]},async function(a,b){const i=a90h,c=a[0x0],d=this[i(0x202)](c);d&&this[i(0x1fd)](c,a,b);});export default SetCommand;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a91m=a91d;(function(a,b){const j=a91d,c=a();while(!![]){try{const d=-parseInt(j(
|
|
1
|
+
const a91m=a91d;(function(a,b){const j=a91d,c=a();while(!![]){try{const d=-parseInt(j(0xd4))/0x1+parseInt(j(0xe6))/0x2*(-parseInt(j(0xc9))/0x3)+-parseInt(j(0xc8))/0x4+parseInt(j(0xdb))/0x5*(-parseInt(j(0xde))/0x6)+-parseInt(j(0xd5))/0x7+-parseInt(j(0xd8))/0x8+parseInt(j(0xd7))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0x8e820));const a91b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a91d;if(c){const e=c[k(0xd6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){const l=a91d;return a91a[l(0xcc)]()['search'](l(0xd2))[l(0xcc)]()[l(0xe8)](a91a)[l(0xd9)](l(0xd2));});a91a();function a91d(a,b){const c=a91c();return a91d=function(d,e){d=d-0xc7;let f=c[d];return f;},a91d(a,b);}import a91e from'fs';import a91f from'path';import{Command}from'../command.js';function a91c(){const o=['parse','sshSync','verbose','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','(((.+)+)+)+$','readFileSync','12514NNmUvT','7731486kXTaIn','apply','32904288MlQZAP','243632KXjXuz','search','error','575NehAyI','create','ssh.json','10194CGjZRM','exit','length','maka\x20ssh\x20--env\x20staging','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','maka\x20ssh\x20<command>','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','maka\x20ssh\x20--env\x20prod','776646PEGBDq','ssh','constructor','fsi','env','3811292hDwnpA','6eUIrDd','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','getAppConfigPath','toString','join'];a91c=function(){return o;};return a91c();}import{SSH}from'../tools/ssh/ssh.class.js';import{Log}from'../tools/log/log.class.js';Command[a91m(0xdc)]({'name':a91m(0xe7),'usage':a91m(0xe3),'mustBeInMakaProject':!![],'requiredOpts':[a91m(0xc7)],'validOpts':[a91m(0xc7),'verbose'],'shortDesc':a91m(0xe2),'examples':['maka\x20ssh\x20--env\x20dev',a91m(0xe1),a91m(0xe5),a91m(0xd1),a91m(0xca),a91m(0xe4)]},async function(a,b){const n=a91m;try{const c=this[n(0xe9)][n(0xcb)](b[n(0xc7)]);let d='';a[n(0xe0)]>0x0&&(d=a[0x0]);const f=a91f[n(0xcd)](c,n(0xdd)),g=a91e[n(0xd3)](f)[n(0xcc)](),h=JSON[n(0xce)](g);Object['assign'](h,{'env':c}),SSH[n(0xcf)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b[n(0xd0)]});}catch(i){Log[n(0xda)](i),process[n(0xdf)](0x1);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a92y=a92d;
|
|
1
|
+
const a92y=a92d;(function(a,b){const v=a92d,c=a();while(!![]){try{const d=-parseInt(v(0x1f7))/0x1*(parseInt(v(0x1e2))/0x2)+-parseInt(v(0x1ef))/0x3*(parseInt(v(0x205))/0x4)+parseInt(v(0x211))/0x5*(parseInt(v(0x1e6))/0x6)+parseInt(v(0x1d9))/0x7*(-parseInt(v(0x1e4))/0x8)+-parseInt(v(0x1e0))/0x9+-parseInt(v(0x20f))/0xa*(parseInt(v(0x1f8))/0xb)+parseInt(v(0x1f1))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0xd4fdc));function a92c(){const A=['11hKXuXL','Using\x20saved\x20letsencrypt\x20config','withSpinner','Verifying\x20Letsencrypt\x20configuration','env','/ssh.json','ssl','email','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','create','apply','mkKeysDir','notice','16mkAmhH','letsencrypt','letsencrypt.json','.crt','assign','fsi','ask','[?]\x20Domains\x20to\x20register:\x20','genCSR','stringify','5933500oTXFsJ','sudo\x20snap\x20install\x20--classic\x20certbot','7674865POjAbl','Email\x20to\x20use\x20for\x20auto-updates:\x20','.key','constructor','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','parse','10346PUucsM','maka\x20ssl\x20[command]','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','New\x20CSR\x20written\x20to\x20','toString','Checking\x20remote\x20host\x20availability','ssh','2535552MlpjPP','ping','334668ryPghq','appName','6344JyEJEO','Create\x20and\x20manage\x20your\x20SSL\x20operations.','6LxntOK','Remote\x20host\x20connection\x20successful','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','maka\x20ssl\x20--env\x20dev\x20generate-csr','join','error','getAppConfigPath','.csr','713916vNbToQ','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','36069540lSvwfh','domains','\x20--email\x20','getMakaProjectConfig','(((.+)+)+)+$','search','4GOlKYm'];a92c=function(){return A;};return a92c();}const a92b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a92d;if(c){const e=c[w(0x202)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){const x=a92d;return a92a[x(0x1dd)]()[x(0x1f6)](x(0x1f5))['toString']()[x(0x1d6)](a92a)[x(0x1f6)]('(((.+)+)+)+$');});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';function a92d(a,b){const c=a92c();return a92d=function(d,e){d=d-0x1d5;let f=c[d];return f;},a92d(a,b);}import{SSL}from'../tools/ssl/ssl.class.js';Command[a92y(0x201)]({'name':a92y(0x1fe),'usage':a92y(0x1da),'validOpts':['domains','email'],'requiredOpts':[a92y(0x1fc)],'shortDesc':a92y(0x1e5),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a92y(0x1ea),a92y(0x1e8),a92y(0x200)]},async function(a,b){const z=a92y,c=this[z(0x20a)][z(0x1f4)](),d=this[z(0x20a)][z(0x1ed)](b[z(0x1fc)]),f=this[z(0x20a)][z(0x203)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g==='generate-csr')SSL[z(0x20d)]({'keyName':c[z(0x1e3)]+z(0x1d5),'csrName':c[z(0x1e3)]+z(0x1ee),'cwd':f});else{if(g==='generate-ssc'){if(!a92e['existsSync'](a92f[z(0x1eb)](f,c['appName']+z(0x1d5))))throw z(0x1d7)+a92f[z(0x1eb)](f,c[z(0x1e3)]+z(0x1d5));if(!a92e['existsSync'](a92f[z(0x1eb)](f,c[z(0x1e3)]+z(0x1ee))))throw z(0x1db)+a92f['join'](f,c[z(0x1e3)]+z(0x1ee));SSL['genSSC']({'keyName':c['appName']+z(0x1d5),'crtName':c['appName']+z(0x208),'cwd':f}),Log[z(0x204)](z(0x1dc)+f);}else{if(g===z(0x206)){let h=b[z(0x1f2)],i=b['email'];try{const p=a92e['readFileSync'](a92f[z(0x1eb)](d,'letsencrypt.json'))[z(0x1dd)](),q=JSON[z(0x1d8)](p);h=b['domains']?b['domains']:q['domainNames'],i=b[z(0x1ff)]?b['email']:q['emailUpdate'],(!b[z(0x1ff)]||!b[z(0x1f2)])&&Log['notice'](z(0x1f9));}catch(r){}const j=JSON[z(0x1d8)](a92e['readFileSync'](d+z(0x1fd))[z(0x1dd)]());Object[z(0x209)](j,{'env':d}),Log[z(0x204)](z(0x1de));try{const s=SSH[z(0x1e1)]('uname\x20-a',j);if(!s)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(s)Log['success'](z(0x1e7));}catch(t){Log[z(0x1ec)](t);return;}const k=Log[z(0x1fa)]();k['start'](z(0x1fb)),SSH[z(0x1df)]('sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core',{...j}),SSH[z(0x1df)](z(0x210),{...j}),SSH[z(0x1df)](z(0x1f0),{...j}),k['success']();const l=h?h:await Actions[z(0x20b)](z(0x20c)),m=i?i:await Actions[z(0x20b)](z(0x212));SSH[z(0x1df)](z(0x1e9)+l+z(0x1f3)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0x20e)](n,null,0x2);a92e['writeFileSync'](a92f[z(0x1eb)](d,z(0x207)),o);}else throw'Please\x20provide\x20a\x20command.';}}}catch(u){console['error'](u),process['exit'](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a93p=a93d;(function(a,b){const m=a93d,c=a();while(!![]){try{const d=parseInt(m(0xd8))/0x1+-parseInt(m(0xe3))/0x2+-parseInt(m(0xd3))/0x3+parseInt(m(0xe1))/0x4*(-parseInt(m(0xc9))/0x5)+parseInt(m(0xc3))/0x6+-parseInt(m(0xbd))/0x7+parseInt(m(0xdb))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0x752ba));const a93b=(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;};}()),a93a=a93b(this,function(){const n=a93d;return a93a[n(0xed)]()[n(0xf0)]('(((.+)+)+)+$')['toString']()[n(0xf5)](a93a)[n(0xf0)](n(0xcc));});a93a();function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0xb9;let f=c[d];return f;},a93d(a,b);}function a93c(){const s=['concat','config','2188857lyFiXj','Cannot\x20find\x20Node\x20Environment\x20File:\x20','utf8','--driver-package','splice','821654wpkHNF','driver','getAppConfigPath','8623032FAyrMS','--full-app','Meteor\x20Settings:\x20','join','tests','settings.json','943476LbVInM','rawLogs','808942DQmKqj','invokeMeteorCommand','isFile','--packages','test','port','openSync','unit','slice','error','toString','driverPackage','mocha','search','warn','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','development','once','constructor','packages','filter','.maka','parse','findProjectDirectory','none','--settings','2619057NCBokq','inspect','env','testAppPath','maka\x20test','test-packages','1947042vXZnYx','--driver','readFileSync','argv','sanjo:jasmine','driver-package','5BpbPYD','engines','meteortesting:mocha','(((.+)+)+)+$','fsi','jasmine','--env','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.'];a93c=function(){return s;};return a93c();}import a93e from'fs';import a93f from'path';import a93g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const o=a93d;a93e[o(0xe9)](a,'r'),a93g[o(0xd2)]({'path':a});};Command['create']({'name':a93p(0xe7),'mustBeInMakaProject':!![],'validOpts':[a93p(0xf4),a93p(0xf6),a93p(0xd9),a93p(0xee),a93p(0xea),a93p(0xbf),a93p(0xe2),a93p(0xe8),a93p(0xbe),a93p(0xc0)],'usage':a93p(0xc1),'aliases':['t',a93p(0xdf)],'shortDesc':a93p(0xd0),'examples':[]},function(a,b){const q=a93p;try{let c=this[q(0xcd)][q(0xda)](q(0xf3));b['env']&&(c=this[q(0xcd)]['getAppConfigPath'](b['env']));(!b[q(0xea)]||!!b['once'])&&(a=a[q(0xd1)]([q(0xdc)]));b[q(0xea)]&&delete b[q(0xea)];let d=b['driver-package']||b['driver']||q(0xbb);if(d===q(0xbb)){const j=JSON[q(0xb9)](a93e[q(0xc5)](a93f[q(0xde)](this['fsi'][q(0xba)](),q(0xf8),'config.json'),q(0xd5)));if(j['engines']['test']===q(0xce))d=q(0xc7);else j[q(0xca)][q(0xe7)]===q(0xef)&&(d=q(0xcb));}if(d===q(0xbb))throw q(0xf2);(!b[q(0xc8)]||!b[q(0xd9)])&&(a=a[q(0xd1)]([q(0xd6),d]));const f=a93f[q(0xde)](c,q(0xe0));this[q(0xcd)][q(0xe5)](f)?(Log['notice'](q(0xdd)+f),a=a[q(0xd1)]([q(0xbc),f])):Log['warn']('Cannot\x20find\x20Meteor\x20Settings\x20File:\x20'+f);const g=a93f[q(0xde)](c,'process.env');this[q(0xcd)][q(0xe5)](g)?(Log['notice']('Node\x20Env\x20Config:\x20'+g),syncSource(g)):Log[q(0xf1)](q(0xd4)+g);const h=process[q(0xc6)][q(0xeb)](0x2)[q(0xf7)](k=>k!==q(0xcf))[q(0xf7)](k=>k!==q(0xe7))[q(0xf7)](k=>k!==a[0x0]);h['forEach']((k,l)=>{const r=q;(k===r(0xcf)||k===r(0xc4))&&h[r(0xd7)](l,0x2),k===r(0xe6)&&h['splice'](l,0x1);});const i=b['packages']?q(0xc2):q(0xe7);this[q(0xcd)][q(0xe4)](i,a[q(0xd1)](h));}catch(k){console[q(0xec)](k),process['exit'](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a94n=a94d;(function(a,b){const k=a94d,c=a();while(!![]){try{const d=-parseInt(k(
|
|
1
|
+
const a94n=a94d;(function(a,b){const k=a94d,c=a();while(!![]){try{const d=-parseInt(k(0x170))/0x1*(-parseInt(k(0x18c))/0x2)+parseInt(k(0x181))/0x3*(parseInt(k(0x19f))/0x4)+-parseInt(k(0x177))/0x5+parseInt(k(0x172))/0x6+parseInt(k(0x17b))/0x7+parseInt(k(0x173))/0x8+parseInt(k(0x189))/0x9*(-parseInt(k(0x19d))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0x4d099));const a94b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a94d;if(c){const e=c[l(0x193)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){const m=a94d;return a94a['toString']()[m(0x19a)](m(0x18b))[m(0x174)]()[m(0x19e)](a94a)[m(0x19a)](m(0x18b));});a94a();import{execSync}from'child_process';import a94e from'semver';import{Command}from'../command.js';function a94c(){const p=['10thlzol','constructor','14488cultoK','----------------------Project----------------------------','getProjectsMeteorNodeVersion','Project\x27s\x20Meteor\x20Version\x20','4.8.11','win32','1761sivJyT','platform','3342558EvPJxI','5002128xlWXBs','toString','warn','replace','2156800IDxdOW','\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','verbose','\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','3453534rqDvJI','majestic','error','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','meteor','valid','207FIghbd','fsi','getProjectMeteorVersion','create','node\x20-v','System\x27s\x20Meteor\x20Version\x20','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','----------------------System----------------------------','14824440JdVdDO','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','(((.+)+)+)+$','532gZzosy','version','meteor.bat','notice','maka\x20version\x20--verbose','System\x27s\x20Node\x20Version\x20','bright','apply','maka\x20v','Project\x27s\x20Meteor\x20Node\x20Version\x20','exit','maka\x20version','compareMakaToLatest','\x20node\x20-v','search','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','isMakaProject'];a94c=function(){return p;};return a94c();}import{Log}from'../tools/log/log.class.js';function a94d(a,b){const c=a94c();return a94d=function(d,e){d=d-0x170;let f=c[d];return f;},a94d(a,b);}const pjson={'version':a94n(0x1a3)};Command[a94n(0x184)]({'name':a94n(0x18d),'aliases':['v'],'usage':a94n(0x197),'maxArgLength':0x1,'validOpts':[a94n(0x179)],'shortDesc':a94n(0x19b),'examples':[a94n(0x194),'maka\x20version',a94n(0x190)],'description':a94n(0x178)},async function(a,b){const o=a94n;try{const c=process[o(0x171)]===o(0x1a4)?o(0x18e):o(0x17f);Log[o(0x17c)]('Maka\x20'+pjson[o(0x18d)]),await this[o(0x182)][o(0x198)]();if(b[o(0x179)]){await this[o(0x182)][o(0x198)](),Log[o(0x192)](o(0x188));const d=this[o(0x182)]['getGlobalMeteorVersion']();Log[o(0x192)]((o(0x186)+d)[o(0x176)]('\x0a',''));const f=execSync(c+o(0x199))[o(0x174)]()[o(0x176)](/\r?\n|\r/,'')[o(0x176)]('v','');Log[o(0x192)](o(0x187)+f);const g=execSync(o(0x185))[o(0x174)]()['replace'](/\r?\n|\r/,'')[o(0x176)]('v','');a94e['gt'](f,g)?(Log[o(0x175)](o(0x191)+g),Log[o(0x175)](o(0x17e)+g+')\x20to\x20at\x20least\x20meteor\x27s\x20('+f+')')):Log[o(0x192)]('System\x27s\x20Node\x20Version\x20'+g);if(this['fsi'][o(0x19c)]()){Log[o(0x192)](o(0x1a0));const h=this[o(0x182)][o(0x183)]();if(!a94e[o(0x180)](h))Log[o(0x175)](o(0x1a2)+h[o(0x176)]('\x0a',''));else a94e['gt'](d,h)?(Log[o(0x175)](o(0x1a2)+h['replace']('\x0a','')),Log[o(0x175)](o(0x18a)+d+'\x22')):Log[o(0x18f)]((o(0x1a2)+h)[o(0x176)]('\x0a',''));const i=await this[o(0x182)][o(0x1a1)]();i==='N/A'?(Log[o(0x175)](o(0x195)+i),Log[o(0x175)]('\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.')):Log[o(0x192)](o(0x195)+i),Log[o(0x192)](o(0x17a));}}}catch(j){console[o(0x17d)](j),process[o(0x196)](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=['940588FyoWMt','toString','9xwBboC','715066fZkQKk','2452610mtceXQ','apply','20740VrtxDi','8xIuhAW','(((.+)+)+)+$','18bUspKs','90ZoLLZb','constructor','346262xCtTmC','148782jWRcxh','1061BuoyPq','12ScyCRp','search'];a95c=function(){return i;};return a95c();}function a95d(a,b){var c=a95c();return a95d=function(d,e){d=d-0x10e;var f=c[d];return f;},a95d(a,b);}(function(a,b){var f=a95d,c=a();while(!![]){try{var d=-parseInt(f(0x10e))/0x1*(-parseInt(f(0x11a))/0x2)+parseInt(f(0x11e))/0x3+-parseInt(f(0x111))/0x4+-parseInt(f(0x117))/0x5*(-parseInt(f(0x11b))/0x6)+-parseInt(f(0x11d))/0x7*(parseInt(f(0x118))/0x8)+-parseInt(f(0x113))/0x9*(-parseInt(f(0x115))/0xa)+-parseInt(f(0x114))/0xb*(-parseInt(f(0x10f))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a95c,0x23e49));var a95b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a95d;if(c){var e=c[g(0x116)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a95a=a95b(this,function(){var h=a95d;return a95a[h(0x112)]()[h(0x110)](h(0x119))[h(0x112)]()[h(0x11c)](a95a)[h(0x110)](h(0x119));});a95a();export class UsageError{}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
|
-
|
|
2
|
+
var a96i=a96d;(function(a,b){var f=a96d,c=a();while(!![]){try{var d=-parseInt(f(0xeb))/0x1+-parseInt(f(0xe0))/0x2*(parseInt(f(0xe8))/0x3)+-parseInt(f(0xe2))/0x4+parseInt(f(0xea))/0x5+-parseInt(f(0xe7))/0x6+-parseInt(f(0xe3))/0x7+parseInt(f(0xe1))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a96c,0xa0090));function a96c(){var j=['NODE_OPTIONS','apply','4844394GCjbXA','3RytIDL','toString','2753775JKvHiW','420373RiNrwy','(((.+)+)+)+$','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','13996zcbqKN','29604216YljEAs','4903640WlDOGW','7945686XmCnXS','search'];a96c=function(){return j;};return a96c();}var a96b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a96d;if(c){var e=c[g(0xe6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a96a=a96b(this,function(){var h=a96d;return a96a[h(0xe9)]()[h(0xe4)](h(0xde))['toString']()['constructor'](a96a)[h(0xe4)](h(0xde));});function a96d(a,b){var c=a96c();return a96d=function(d,e){d=d-0xde;var f=c[d];return f;},a96d(a,b);}a96a(),process['env'][a96i(0xe5)]=a96i(0xdf);import'./maka.js';
|