@maka/maka-cli 4.5.9 → 4.5.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 +1 -1
- package/bundle/obf/src/command.js +1 -1
- package/bundle/obf/src/commands/_index.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/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/rkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/build/_index.js +1 -1
- package/bundle/obf/src/commands/build/build.js +1 -1
- package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/create.js +1 -1
- package/bundle/obf/src/commands/debug.js +1 -1
- package/bundle/obf/src/commands/deploy.js +1 -1
- package/bundle/obf/src/commands/game/_index.js +1 -1
- package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/play.command.js +1 -1
- package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/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/generator.js +1 -1
- package/bundle/obf/src/generators/_index.js +1 -1
- package/bundle/obf/src/generators/api.js +1 -1
- package/bundle/obf/src/generators/collection.js +1 -1
- package/bundle/obf/src/generators/component.js +1 -1
- package/bundle/obf/src/generators/config.js +1 -1
- package/bundle/obf/src/generators/dbc.js +1 -1
- package/bundle/obf/src/generators/dockerfile.js +1 -1
- package/bundle/obf/src/generators/hook.js +1 -1
- package/bundle/obf/src/generators/kit.js +1 -1
- package/bundle/obf/src/generators/layout.js +1 -1
- package/bundle/obf/src/generators/maka.gen.js +1 -1
- package/bundle/obf/src/generators/methods.js +1 -1
- package/bundle/obf/src/generators/package.js +1 -1
- package/bundle/obf/src/generators/page.js +1 -1
- package/bundle/obf/src/generators/publish.js +1 -1
- package/bundle/obf/src/generators/route.js +1 -1
- package/bundle/obf/src/generators/service.js +1 -1
- package/bundle/obf/src/generators/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/translation.js +1 -1
- package/bundle/obf/src/maka.js +1 -1
- package/bundle/obf/src/tool.js +1 -1
- package/bundle/obf/src/tools/actions/actions.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
- package/bundle/obf/src/tools/docker/docker.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
- package/bundle/obf/src/tools/https/https.class.js +1 -1
- package/bundle/obf/src/tools/https/https.interface.js +1 -1
- package/bundle/obf/src/tools/log/log.class.js +1 -1
- package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
- package/bundle/obf/src/tools/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 a36z=a36d;(function(a,b){const w=a36d,c=a();while(!![]){try{const d=parseInt(w(0x1e2))/0x1*(-parseInt(w(0x1ed))/0x2)+-parseInt(w(0x1c1))/0x3*(-parseInt(w(0x1d2))/0x4)+-parseInt(w(0x1dd))/0x5+-parseInt(w(0x1da))/0x6*(-parseInt(w(0x1d3))/0x7)+parseInt(w(0x1e8))/0x8*(parseInt(w(0x1b0))/0x9)+-parseInt(w(0x1d7))/0xa*(-parseInt(w(0x1c0))/0xb)+-parseInt(w(0x1d6))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x71d21));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a36d;if(c){const e=c[x(0x1af)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const y=a36d;return a36a[y(0x1ac)]()[y(0x1b3)]('(((.+)+)+)+$')[y(0x1ac)]()[y(0x1ec)](a36a)['search'](y(0x1ca));});a36a();import a36e 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[a36z(0x1ea)][a36z(0x1c8)]===a36z(0x1e3)?a36z(0x1d1):a36z(0x1be);function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x1ac;let f=c[d];return f;},a36d(a,b);}Command['create']({'name':a36z(0x1dc),'validOpts':[a36z(0x1cc),a36z(0x1c7),'help',a36z(0x1b6),a36z(0x1d0)],'usage':a36z(0x1d9),'maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a36z(0x1c6),'examples':[a36z(0x1d9),a36z(0x1c4)]},async function(a,b){const A=a36z,c=Log[A(0x1db)]();try{let d='';b[A(0x1b6)]&&(this['fsi']['isFile'](b[A(0x1b6)])?(d=b[A(0x1b6)],Log[A(0x1eb)](A(0x1bd)+d)):Log[A(0x1e1)](A(0x1d5)+d));const f=await this[A(0x1b8)][A(0x1c3)]();if(f[A(0x1e6)]){if(this[A(0x1b8)][A(0x1e4)](f[A(0x1e6)]))d=f[A(0x1e6)];else{Log[A(0x1e1)](A(0x1b1)+d);return;}}Log[A(0x1b4)](A(0x1d8)+hostname);const g={'url':A(0x1c9)+hostname+'/api/v1/status'};b['cacert']&&Object['assign'](g,{'cert':d});c[A(0x1d4)]('Preflight\x20Check');const {statusCode:h}=await HTTPS[A(0x1e0)](g);if(h===0x198){c[A(0x1bc)]();throw A(0x1bf);}if(h!==0xc8){c[A(0x1bc)]();throw'https://'+hostname+A(0x1e9);}c[A(0x1de)]();const i=b[A(0x1cc)]?b[A(0x1cc)]:await Actions['ask'](A(0x1cd)),j=b[A(0x1c7)]?b[A(0x1c7)]:await Actions[A(0x1e5)](A(0x1ce),!![]),k=a36e['md'][A(0x1b5)][A(0x1b2)]();k[A(0x1e7)](j);const l=k[A(0x1df)]()[A(0x1ba)](),m={'hostname':hostname,'path':A(0x1c5),'data':{'email':i,'password':l,'hashed':!![]}};b[A(0x1b6)]&&Object[A(0x1ae)](m,{'cert':d});c[A(0x1d4)](A(0x1ad));const {data:n,statusCode:o}=await HTTPS[A(0x1b7)](m);if(o===0x198){c[A(0x1bc)]('\x0a');throw A(0x1c2)+hostname;}const p=JSON[A(0x1cf)](n);if(p['authToken']){const q={'hostname':hostname,'path':A(0x1b9),'headers':{'x-auth-token':p[A(0x1cb)]},'data':{}};b['cacert']&&Object[A(0x1ae)](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS[A(0x1b7)](q),{token:t}=JSON[A(0x1cf)](r);if(s===0x198)throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://'+hostname;const u={'token':p,'hash':t};this['fsi'][A(0x1bb)](u);}else{c[A(0x1bc)]();throw p;}c['success']();}catch(v){c[A(0x1bc)](),console['error'](v),process['exit'](0x0);}});function a36c(){const B=['failure','Using\x20CA\x20Cert\x20','www.maka-cli.com','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','391336QarfZQ','199533KpeCvT','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','getGlobalConfig','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','/api/v1/login','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','password','MAKA_DEV','https://','(((.+)+)+)+$','authToken','email','Email:','Password:\x20','parse','debug','localhost','12JuSZab','4067ynfTrY','start','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','508800JsNEAF','260zucPPl','Logging\x20into\x20https://','maka\x20login','4584OsKyib','withSpinner','login','3960205DaUIsg','success','digest','get','error','506747VUeBRZ','True','isFile','ask','cert','update','478008qxRkqq','\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','env','notice','constructor','2uGDvFr','toString','Logging\x20in','assign','apply','36LRgqLM','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','create','search','header','sha256','cacert','post','fsi','/api/v1/encodeJwt','toHex','setGlobalConfig'];a36c=function(){return B;};return a36c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a37o=a37d;(function(a,b){const l=a37d,c=a();while(!![]){try{const d=parseInt(l(
|
|
1
|
+
function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x147;let f=c[d];return f;},a37d(a,b);}const a37o=a37d;(function(a,b){const l=a37d,c=a();while(!![]){try{const d=parseInt(l(0x154))/0x1*(-parseInt(l(0x162))/0x2)+-parseInt(l(0x171))/0x3*(parseInt(l(0x148))/0x4)+-parseInt(l(0x14d))/0x5*(-parseInt(l(0x153))/0x6)+-parseInt(l(0x156))/0x7*(parseInt(l(0x163))/0x8)+-parseInt(l(0x15f))/0x9*(parseInt(l(0x176))/0xa)+-parseInt(l(0x14f))/0xb*(parseInt(l(0x175))/0xc)+parseInt(l(0x166))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x6ce7d));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a37d;if(c){const e=c[m(0x14e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const n=a37d;return a37a[n(0x157)]()[n(0x159)](n(0x14c))[n(0x157)]()['constructor'](a37a)[n(0x159)](n(0x14c));});a37a();function a37c(){const q=['Using\x20CA\x20Cert\x20','create','687045iDmAen','www.maka-cli.com','notice','maka\x20logout','48tYUpCJ','2049730slLhTy','/api/v1/logoutAll','post','isFile','4ftEFFa','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','failure','(((.+)+)+)+$','1383255IYPNiT','apply','1605901JXJMvb','cert','withSpinner','Logging\x20out','18ppfomp','65426NxfkjG','Preflight\x20Check','4919117azpcsn','toString','start','search','localhost','logout','error','https://','authToken','9fYrLSg','exit','setGlobalConfig','14VavkYM','8WRSWqt','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','success','23332257IiypdN','token','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','assign','get','env','getGlobalConfig','cacert','Logging\x20out\x20of\x20https://'];a37c=function(){return q;};return a37c();}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a37o(0x16b)]['MAKA_DEV']==='True'?a37o(0x15a):a37o(0x172);Command[a37o(0x170)]({'name':a37o(0x15b),'validOpts':[a37o(0x16d)],'usage':a37o(0x174),'maxArgLength':0x2,'shortDesc':'Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','disableAuthCheck':!![],'examples':[a37o(0x174)]},async function(a,b){const p=a37o,c=Log[p(0x151)]();try{let d='';b[p(0x16d)]&&(this['fsi'][p(0x147)](b[p(0x16d)])?(d=b[p(0x16d)],Log[p(0x173)](p(0x16f)+d)):Log['error']('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+d));const f=await this[p(0x149)][p(0x16c)]();if(f[p(0x150)]){if(this[p(0x149)][p(0x147)](f[p(0x150)]))d=f[p(0x150)];else{c['failure']();throw Log['error'](p(0x164)+d);}}Log['header'](p(0x16e)+hostname);const g={'url':p(0x15d)+hostname+'/api/v1/status'};b[p(0x16d)]&&Object[p(0x169)](g,{'cert':d});c[p(0x158)](p(0x155));const {statusCode:h}=await HTTPS[p(0x16a)](g);if(h===0x198){c[p(0x14b)]();throw p(0x168);}c['success']();if(h!==0xc8){c[p(0x14b)]();throw p(0x14a);}if(!f?.[p(0x167)]?.[p(0x15e)])throw Log[p(0x15c)]('Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?');c[p(0x158)](p(0x152));const i={'hostname':hostname,'path':p(0x177),'data':{},'headers':{'x-auth-token':f[p(0x167)][p(0x15e)]}};b[p(0x16d)]&&Object[p(0x169)](i,{'cert':d});const {statusCode:j}=await HTTPS[p(0x178)](i);if(j===0x198){c[p(0x14b)]('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}this[p(0x149)][p(0x161)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[p(0x165)]();}catch(k){k&&console[p(0x15c)](k),process[p(0x160)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a38k=a38d;(function(a,b){const h=a38d,c=a();while(!![]){try{const d=-parseInt(h(
|
|
1
|
+
const a38k=a38d;(function(a,b){const h=a38d,c=a();while(!![]){try{const d=-parseInt(h(0x17a))/0x1+parseInt(h(0x17f))/0x2+-parseInt(h(0x17c))/0x3*(parseInt(h(0x184))/0x4)+-parseInt(h(0x17d))/0x5*(parseInt(h(0x18c))/0x6)+-parseInt(h(0x185))/0x7*(parseInt(h(0x191))/0x8)+parseInt(h(0x17b))/0x9+parseInt(h(0x18d))/0xa*(parseInt(h(0x193))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x51405));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a38d;if(c){const e=c[i(0x180)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const j=a38d;return a38a[j(0x189)]()[j(0x194)](j(0x178))[j(0x189)]()[j(0x17e)](a38a)[j(0x194)](j(0x178));});a38a();import a38e from'fs';function a38c(){const m=['apply','fsi','log','join','16XFuXjq','2089941dYfisM','readFileSync','parse','logs','toString','maka\x20logs\x20--env\x20dev','getConfigPath','2796ORVNfs','6080hJdxmb','maka\x20logs','View\x20the\x20PM2\x20logs','pm2\x20logs','16OoTHES','maka\x20l\x20-e\x20p','27247KpVUGS','search','(((.+)+)+)+$','create','655076TRUvGs','3408318OwOHVV','303978MnlwYB','1975EUTxMx','constructor','579326rDGIUN'];a38c=function(){return m;};return a38c();}function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x178;let f=c[d];return f;},a38d(a,b);}import a38f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a38k(0x179)]({'name':a38k(0x188),'aliases':['l',a38k(0x182)],'usage':a38k(0x18e),'requiredOpts':['env'],'mustBeInMakaProject':!![],'validOpts':[''],'shortDesc':a38k(0x18f),'examples':[a38k(0x18a),'maka\x20logs\x20--env\x20staging',a38k(0x192)]},function(a,b){const l=a38k,c=l(0x190),d=this[l(0x181)][l(0x18b)](b['env']),e=a38f[l(0x183)](d,'ssh.json'),f=a38e[l(0x186)](e),g=JSON[l(0x187)](f[l(0x189)]());Object['assign'](g,{'env':d}),SSH['sshSync'](c,g,{'tty':!![],'verbose':!![]});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a39c(){const l=['858372bxSwee','49368jcAPfx','toString','fsi','exit','126FVnIzW','maka','188392lwcInW','runSubCommand','maka\x20create\x20Todo','apply','1089TzbVIq','findSubCommand','maybeProxyCommandToMeteor','search','310213mfUAlV','(((.+)+)+)+$','913pJlnTL','constructor','52080TlqhQl','1072874sUgPvn','62210QHMGdT','\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\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..\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.-:.\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.::.\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\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.--.\x0a\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.--.\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','18ZwuXAv','maka\x20run','15mnECvm','maka\x20<command>\x20[<args>]\x20[<opts>]','maka\x20--help'];a39c=function(){return l;};return a39c();}const a39j=a39d;(function(a,b){const g=a39d,c=a();while(!![]){try{const d=parseInt(g(0xd7))/0x1+parseInt(g(0xdc))/0x2+-parseInt(g(0xc3))/0x3*(parseInt(g(0xcf))/0x4)+-parseInt(g(0xc5))/0x5*(-parseInt(g(0xc8))/0x6)+parseInt(g(0xcd))/0x7*(-parseInt(g(0xdb))/0x8)+-parseInt(g(0xd3))/0x9*(parseInt(g(0xdd))/0xa)+-parseInt(g(0xd9))/0xb*(-parseInt(g(0xc9))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x71795));function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0xc3;let f=c[d];return f;},a39d(a,b);}const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a39d;if(c){const e=c[h(0xd2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const i=a39d;return a39a[i(0xca)]()[i(0xd6)](i(0xd8))[i(0xca)]()[i(0xda)](a39a)[i(0xd6)](i(0xd8));});a39a();import{Command}from'../command.js';const Maka=new Command({'name':a39j(0xce),'minArgLength':0x1,'shortDesc':'A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','validOpts':[],'usage':a39j(0xc6),'disableAuthCheck':!![],'examples':[a39j(0xc7),'maka\x20install\x20meteor',a39j(0xd1),a39j(0xc4)],'description':a39j(0xde)},async function(a,b){const k=a39j;try{const c=a[0x0],d=this[k(0xd4)](c);d?this[k(0xd0)](c,a['slice'](0x1),b):this[k(0xcb)][k(0xd5)]();}catch(f){console['error'](f),process[k(0xcc)](0x1);}});export default Maka;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a40c(){var k=['
|
|
1
|
+
var a40i=a40d;(function(a,b){var f=a40d,c=a();while(!![]){try{var d=parseInt(f(0x1b8))/0x1*(-parseInt(f(0x1b0))/0x2)+parseInt(f(0x1b6))/0x3+parseInt(f(0x1bb))/0x4*(-parseInt(f(0x1ba))/0x5)+parseInt(f(0x1ab))/0x6+-parseInt(f(0x1c0))/0x7*(parseInt(f(0x1ad))/0x8)+parseInt(f(0x1b7))/0x9*(-parseInt(f(0x1b5))/0xa)+parseInt(f(0x1b4))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x8d1f1));function a40d(a,b){var c=a40c();return a40d=function(d,e){d=d-0x1a9;var f=c[d];return f;},a40d(a,b);}var a40b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a40d;if(c){var e=c[g(0x1ae)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){var h=a40d;return a40a[h(0x1aa)]()['search'](h(0x1b3))['toString']()[h(0x1bd)](a40a)['search'](h(0x1b3));});a40a();import{Command}from'../command.js';function a40c(){var k=['137949zLRgkI','maka\x20murder','toString','1169196jSpFTY','log','312qUHLfG','apply','create','2ibnMWM','font-family:\x20monospace','error','(((.+)+)+)+$','23785278qjrcIe','10KVqQOc','3434040JhzcQs','3749553UmDtwK','983342sPBjnN','%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','539485nQsCVG','28xvWgQP','murder','constructor','exit','Murrrrderrrrr'];a40c=function(){return k;};return a40c();}Command[a40i(0x1af)]({'name':a40i(0x1bc),'usage':a40i(0x1a9),'maxArgLength':0x1,'shortDesc':a40i(0x1bf),'validOpts':[]},async function(){var j=a40i;try{console[j(0x1ac)](j(0x1b9),j(0x1b1));}catch(a){console[j(0x1b2)](a),process[j(0x1be)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a41q=a41d;(function(a,b){const n=a41d,c=a();while(!![]){try{const d=parseInt(n(
|
|
1
|
+
const a41q=a41d;(function(a,b){const n=a41d,c=a();while(!![]){try{const d=parseInt(n(0x79))/0x1+parseInt(n(0x74))/0x2*(parseInt(n(0x8f))/0x3)+parseInt(n(0x83))/0x4+parseInt(n(0x94))/0x5*(parseInt(n(0x86))/0x6)+parseInt(n(0x6b))/0x7*(parseInt(n(0x6e))/0x8)+-parseInt(n(0x75))/0x9*(parseInt(n(0x89))/0xa)+-parseInt(n(0x7e))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x83f82));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a41d;if(c){const e=c[o(0x69)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const p=a41d;return a41a[p(0x93)]()[p(0x84)](p(0x81))[p(0x93)]()[p(0x7a)](a41a)[p(0x84)](p(0x81));});a41a();function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x69;let f=c[d];return f;},a41d(a,b);}import a41e from'fs';import a41f from'path';import a41g 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 a41c(){const s=['152YwkEvO','invoke','findGenerator','bright','utf8','create','1484ExFfKE','3675177frZeaN','listenPort','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','help','204255fYABPW','constructor','maka\x20proxy\x20--target-host\x20http://192.168.1.20','readFileSync','.crt','8393209pQTrGX','createProxyServer','genSSC','(((.+)+)+)+$','error','2621852eUZAmC','search','appName','642TKqGVb','sslconfig','proxy','10gBBlMg','\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','listen','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','maka\x20proxy','mkKeysDir','168UtkxWl','=>\x20SSL\x20Proxy\x20forwarding\x20','join','development','toString','2705zpIUYj','genCSR','getProjectConfig','getConfigPath','localhost','.key','targetHost','apply','fsi','277333zXRdsH','targetPort','\x20to\x20'];a41c=function(){return s;};return a41c();}import a41h from'../generators/maka.gen.js';Command[a41q(0x73)]({'name':a41q(0x88),'usage':a41q(0x8d),'mustBeInMakaProject':!![],'validOpts':[a41q(0x78),a41q(0x6c),a41q(0x76),'targetHost'],'maxArgLength':0x1,'shortDesc':'Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','description':a41q(0x8a),'examples':[a41q(0x8d),a41q(0x77),a41q(0x7b)]},async function(a,b){const r=a41q,c=this['fsi'][r(0x96)](),d=r(0x92),e=this[r(0x6a)][r(0x97)](d),f=this[r(0x6a)][r(0x8e)]({'configPath':e}),g=b[r(0x6c)]?b['targetPort']:0xbb8,h=b['listenPort']?b['listenPort']:0xd73,i=b[r(0x9a)]?b[r(0x9a)]:r(0x98),j=a41f[r(0x91)](f,c[r(0x85)]+r(0x99)),k=a41f['join'](f,c[r(0x85)]+r(0x7d));if(!this['fsi']['isFile'](j)||!this[r(0x6a)]['isFile'](k)){const m=a41h[r(0x70)](r(0x87));m&&await m[r(0x6f)]([r(0x87)],{'env':d}),SSL[r(0x95)]({'keyName':c[r(0x85)]+'.key','csrName':c[r(0x85)]+'.csr','cwd':f}),SSL[r(0x80)]({'keyName':c['appName']+'.key','crtName':c[r(0x85)]+r(0x7d),'cwd':f});}if(g===h){Log[r(0x82)](r(0x8c));throw new UsageError();}const l={'ssl':{'key':a41e[r(0x7c)](j,'utf8'),'cert':a41e[r(0x7c)](k,r(0x72))},'target':{'host':i,'port':g},'ws':!![],'xfwd':!![]};a41g[r(0x7f)](l)[r(0x8b)](h),Log[r(0x71)](r(0x90)+h+r(0x6d)+g);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a42q=a42d;(function(a,b){const n=a42d,c=a();while(!![]){try{const d=parseInt(n(
|
|
1
|
+
const a42q=a42d;(function(a,b){const n=a42d,c=a();while(!![]){try{const d=parseInt(n(0x17d))/0x1*(-parseInt(n(0x195))/0x2)+parseInt(n(0x198))/0x3+parseInt(n(0x19a))/0x4+-parseInt(n(0x1a4))/0x5*(-parseInt(n(0x1a1))/0x6)+parseInt(n(0x1a3))/0x7*(parseInt(n(0x192))/0x8)+-parseInt(n(0x19b))/0x9*(-parseInt(n(0x18a))/0xa)+-parseInt(n(0x199))/0xb*(parseInt(n(0x19d))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xb28cd));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a42d;if(c){const e=c[o(0x190)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const p=a42d;return a42a['toString']()[p(0x191)](p(0x180))[p(0x196)]()[p(0x197)](a42a)['search'](p(0x180));});a42a();function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x179;let f=c[d];return f;},a42d(a,b);}import a42e from'fs';import a42f from'path';function a42c(){const s=['~/pm2.config.js','ssh.json','450732KIwMje','readFileSync','Remote\x20host\x20connection\x20successful','(((.+)+)+)+$','create','existsSync','maka\x20reconfig\x20--env\x20prod','pm2\x20delete\x20all','error','parse','assign','Checking\x20remote\x20host\x20availability','join','20cvwDoV','scp','\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','ping','echo\x20\x22\x22\x20&&\x20pm2\x20start\x20pm2.config.js\x20&&\x20echo\x20\x22\x22\x20||\x20echo\x20\x22Cound\x20not\x20find\x20PM2,\x20have\x20you\x20deployed\x20the\x20app\x20yet?\x22','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','apply','search','9549224AOfcVj','_keys','reconfig','2WkQXBs','toString','constructor','4073976fEPHPi','11zvhCLU','3970792qbhgwl','5632749zRtQpu','notice','45651324aKEmMB','maka\x20reconfig','ssh','ses.json','30YltEHW','env','7HuFvpY','190285PSNetc','~/ses.json','fsi'];a42c=function(){return s;};return a42c();}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a42q(0x181)]({'name':a42q(0x194),'validOpts':[''],'requiredOpts':['env'],'mustBeInMakaProject':!![],'usage':a42q(0x19e),'shortDesc':'Reconfigure\x20your\x20deployed\x20applications','description':a42q(0x18c),'examples':[a42q(0x183)]},async function(a,b){const r=a42q;try{const c=this[r(0x17a)]['getConfigPath'](b[r(0x1a2)]),d=a42f[r(0x189)](c,r(0x17c)),f=a42e[r(0x17e)](d)['toString'](),g=JSON[r(0x186)](f);Object[r(0x187)](g,{'env':c}),Log[r(0x19c)](r(0x188));const h=SSH[r(0x18d)]('uname\x20-a',g);if(!h)throw r(0x18f);if(h)Log['success'](r(0x17f));const i=a42f[r(0x189)](c,r(0x193),r(0x1a0));if(a42e[r(0x182)](i)){const l={'source':i,'dest':r(0x179),'verbose':!![]};SSH[r(0x18b)](l,{...g});}const j=a42f[r(0x189)](c,'pm2.config.js');SSH[r(0x18b)]({'source':j,'dest':r(0x17b),'verbose':!![]},{...g});const k=a42f[r(0x189)](c,'settings.json');SSH[r(0x18b)]({'source':k,'dest':'~/settings.json','verbose':!![]},{...g}),SSH['sshSync'](r(0x184),g),await SSH[r(0x19f)](r(0x18e),{...g},{'verbose':!![]});}catch(m){console[r(0x185)](m),process['exit'](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a43d,c=a();while(!![]){try{var d
|
|
1
|
+
function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0xcc;var f=c[d];return f;},a43d(a,b);}function a43c(){var i=['717933sSSwjm','search','16433325Mitqqt','30084jvgcpG','5302536ozGClx','1282536JhYgYJ','constructor','630OPrxHM','159507enNBWf','toString','77EZHKDt','19544TqISZy','apply','(((.+)+)+)+$'];a43c=function(){return i;};return a43c();}(function(a,b){var f=a43d,c=a();while(!![]){try{var d=-parseInt(f(0xd5))/0x1+-parseInt(f(0xcc))/0x2+-parseInt(f(0xcf))/0x3+parseInt(f(0xd2))/0x4*(-parseInt(f(0xce))/0x5)+-parseInt(f(0xd8))/0x6*(-parseInt(f(0xd1))/0x7)+parseInt(f(0xd9))/0x8+parseInt(f(0xd7))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x7df32));var a43b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a43d;if(c){var e=c[g(0xd3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){var h=a43d;return a43a['toString']()[h(0xd6)](h(0xd4))[h(0xd0)]()[h(0xcd)](a43a)[h(0xd6)](h(0xd4));});a43a();import'./run.command.js';import'./docker.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a44l=a44d;(function(a,b){const i=a44d,c=a();while(!![]){try{const d
|
|
1
|
+
const a44l=a44d;(function(a,b){const i=a44d,c=a();while(!![]){try{const d=parseInt(i(0x12f))/0x1+parseInt(i(0x12d))/0x2*(parseInt(i(0x130))/0x3)+-parseInt(i(0x11e))/0x4*(parseInt(i(0x11b))/0x5)+-parseInt(i(0x136))/0x6+parseInt(i(0x138))/0x7+-parseInt(i(0x12a))/0x8+parseInt(i(0x129))/0x9*(parseInt(i(0x13b))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x571ce));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a44d;if(c){const e=c[j(0x120)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const k=a44d;return a44a[k(0x125)]()[k(0x126)](k(0x12e))['toString']()[k(0x134)](a44a)[k(0x126)](k(0x12e));});function a44c(){const n=['createFile','apply','config/docker-compose.yaml','join','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','docker-compose\x20--project-directory\x20','toString','search','getConfigPath','templateContent','855783eaDSVm','1176544NdZUtX','appName','docker-compose.yaml','1146940FmxsIq','(((.+)+)+)+$','374556WrFffu','3QPamYk','\x20up\x20--remove-orphans','getProjectConfig','exit','constructor','create','3875340vmgUMr','fsi','2028831UDTbAr','notice','Docker\x20Compose\x20Path:\x20','50EYZknL','pm2.config.js','existsSync','2817610rJQCjj','maka\x20run\x20docker','inherit','4jqUYEj'];a44c=function(){return n;};return a44c();}a44a();import a44e from'./run.command.js';import{execSync}from'child_process';import a44f from'path';import a44g from'fs';function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x119;let f=c[d];return f;},a44d(a,b);}import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';Command[a44l(0x135)]({'name':'docker','aliases':['d'],'shortDesc':a44l(0x123),'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\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':a44l(0x11c),'validOpts':['']},async function(){const m=a44l;try{const a=this[m(0x137)][m(0x132)](),b=this['fsi'][m(0x127)]('docker'),c=a44f[m(0x122)](b,m(0x12c)),d=a44f[m(0x122)](b,m(0x119));Log[m(0x139)]('PM2\x20Config\x20File:\x20'+d),Log['notice'](m(0x13a)+c);if(!a44g[m(0x11a)](c)){const f={'app':a['appName'],'appFileCase':paramCase(a[m(0x12b)])},g=this[m(0x137)][m(0x128)]({'srcPath':m(0x121),'context':f})+'\x0a';this[m(0x137)][m(0x11f)]({'filePath':c,'data':g});}execSync(m(0x124)+b+m(0x131),{'stdio':m(0x11d)});}catch(h){process[m(0x133)](0x1);}},a44e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a45c(){const x=['notice','3943170hDVBMD','63GSwOPb','Meteor\x20Settings:\x20','create','config','split','extraPackages','154471mVRvLO','development','19172868UWBXwy','\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.','isFile','186528STEcSb','push','concat','settings','forEach','495FZvHwn','run','slice','app','settings.json','env','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)','103114qqaEhQ','docker','local','constructor','sep','findSubCommand','(((.+)+)+)+$','error','length','cordova-build','process.env','search','filter','warn','fsi','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','exit','verbose','35176ystzcT','apply','ios','isDirectory','76732looCVq','openSync','splice','argv','50KvThol','invokeMeteorCommand','production','33CTKfHC','--env','join','mobile-server','.meteor','port'];a45c=function(){return x;};return a45c();}const a45u=a45d;(function(a,b){const q=a45d,c=a();while(!![]){try{const d=-parseInt(q(0x1f1))/0x1+-parseInt(q(0x202))/0x2*(parseInt(q(0x1e3))/0x3)+-parseInt(q(0x1dc))/0x4*(-parseInt(q(0x1e0))/0x5)+parseInt(q(0x1f6))/0x6*(-parseInt(q(0x1eb))/0x7)+parseInt(q(0x1d8))/0x8*(-parseInt(q(0x1fb))/0x9)+-parseInt(q(0x1ea))/0xa+parseInt(q(0x1f3))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x4893c));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a45d;if(c){const e=c[r(0x1d9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const s=a45d;return a45a['toString']()[s(0x1d1)]('(((.+)+)+)+$')['toString']()[s(0x205)](a45a)[s(0x1d1)](s(0x208));});a45a();import a45e from'path';import a45f from'fs';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x1ce;let f=c[d];return f;},a45d(a,b);}import a45g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const t=a45d;a45f[t(0x1dd)](a,'r'),a45g[t(0x1ee)]({'path':a});},Run=Command[a45u(0x1ed)]({'name':a45u(0x1fc),'mustBeInMakaProject':!![],'shortDesc':'Run\x20your\x20Meteor\x20application','description':a45u(0x1f4),'validOpts':[a45u(0x200),a45u(0x203),'r','rawLogs','p',a45u(0x1e8),'i','inspect','m','mobileServer','v',a45u(0x1d7),'allowIncompatibleUpdate',a45u(0x1f0),'x','exclude-archs',a45u(0x1e2)]},async function(a,b){const v=a45u;try{const c=a[0x0],d=this[v(0x207)](c);d&&this['runSubCommand'](c,a,b);if(c===v(0x1da)){const m=this[v(0x1d4)]['findProjectDirectory'](),n=a45e['join'](m,v(0x1fe),v(0x1e7),v(0x204),v(0x1cf));this[v(0x1d4)][v(0x1db)](n)&&await rimraf(n);}if(b[v(0x1e6)]&&b[v(0x1e6)]===!![]||b['m']&&b['m']===!![])throw v(0x201);await this[v(0x1d4)]['compareMakaToLatest']();const f=b[v(0x200)]?b[v(0x200)]:v(0x1f2),g=this[v(0x1d4)]['getConfigPath'](f),h=a45e['join'](g,v(0x1d0));let i=a45e[v(0x1e5)](g,v(0x1ff));b[v(0x1f9)]?i=b[v(0x1f9)]:i=a45e[v(0x1e5)](g,'settings.json');if(this['fsi'][v(0x1f5)](h)&&!b[v(0x203)])Log[v(0x1e9)]('Node\x20Env\x20Config:\x20'+h),syncSource(h);else!b[v(0x203)]&&Log[v(0x1d3)]('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+h);this['fsi'][v(0x1f5)](i)?(Log[v(0x1e9)](v(0x1ec)+i),a=a[v(0x1f8)](['--settings',i])):Log[v(0x1d3)](v(0x1d5)+i);const j=g[v(0x1ef)](a45e[v(0x206)]),k=j[j[v(0x1ce)]-0x1];k===v(0x1e2)&&a[v(0x1f7)]('--production');const l=process[v(0x1df)][v(0x1fd)](0x2)[v(0x1d2)](o=>o!==v(0x1fc))[v(0x1d2)](o=>o!==a[0x0]);l[v(0x1fa)]((o,p)=>{const w=v;o===w(0x1e4)&&l['splice'](p,0x2),o==='-e'&&l[w(0x1de)](p,0x2);}),this[v(0x1d4)][v(0x1e1)](v(0x1fc),a[v(0x1f8)](l));}catch(o){console[v(0x209)](o),process[v(0x1d6)](0x1);}});export default Run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x10c))/0x1+-parseInt(f(0x108))/0x2+-parseInt(f(0x10d))/0x3*(parseInt(f(0x10a))/0x4)+-parseInt(f(0x114))/0x5*(parseInt(f(0x111))/0x6)+-parseInt(f(0x10e))/0x7+-parseInt(f(0x113))/0x8+-parseInt(f(0x109))/0x9*(-parseInt(f(0x10b))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xcb971));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x112)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0x115)]()[h(0x10f)](h(0x110))[h(0x115)]()['constructor'](a46a)[h(0x10f)](h(0x110));});function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x108;var f=c[d];return f;},a46d(a,b);}a46a();import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';function a46c(){var i=['search','(((.+)+)+)+$','6iNlMun','apply','4619872hcXQvT','6478090Vczpop','toString','2040714KfqWzX','9459927XdXNjD','12ttvFed','30MjDuHw','987014PKmMNm','291849FjtMnv','847770bSaoxy'];a46c=function(){return i;};return a46c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a47k=a47d;(function(a,b){const h=a47d,c=a();while(!![]){try{const d=-parseInt(h(0xd7))/0x1+-parseInt(h(0xd4))/0x2+parseInt(h(0xd9))/0x3+-parseInt(h(0xca))/0x4+parseInt(h(0xc9))/0x5*(-parseInt(h(0xd1))/0x6)+-parseInt(h(0xd6))/0x7+parseInt(h(0xc4))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xcc235));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a47d;if(c){const e=c[i(0xc0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const j=a47d;return a47a['toString']()[j(0xce)](j(0xd5))[j(0xbf)]()[j(0xcd)](a47a)[j(0xce)](j(0xd5));});function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0xba;let f=c[d];return f;},a47d(a,b);}a47a();import a47e from'path';import a47f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':'global-config','usage':'maka\x20set:global-config\x20<args>','aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':['cacert','allowInsecure','disallowInsecure',a47k(0xcf),'help'],'shortDesc':a47k(0xd3),'description':a47k(0xc8),'examples':['maka\x20set:global-config\x20--cacert\x20<path>',a47k(0xbe),a47k(0xbc)]},async function(a,b){const l=a47k;try{if(b['cacert']){if(this[l(0xdb)][l(0xd0)](b[l(0xcc)]))this[l(0xdb)][l(0xba)]({'cert':b[l(0xcc)]}),Log['success']('Set\x20CA\x20Cert\x20Path:\x20'+b[l(0xcc)]);else{const c=typeof b['cacert']===l(0xd8)?'Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.':l(0xc3)+b[l(0xcc)];throw Log[l(0xc6)](c);}}if(b[l(0xcf)]){const d=this[l(0xdb)][l(0xc2)](b[l(0xcf)]);if(d)this[l(0xdb)]['setGlobalConfig']({'workspace':a47e['resolve'](b[l(0xcf)])}),Log[l(0xd2)](l(0xcb)+a47e[l(0xbb)](b[l(0xcf)]));else throw Log['error']('Could\x20not\x20find\x20directory');}if(b[l(0xc1)]){if(b[l(0xc1)]&&b[l(0xc5)])throw Log[l(0xc6)](l(0xda));let f=b[l(0xc1)];b[l(0xc5)]&&(f=![]),this[l(0xdb)][l(0xba)]({'allowInsecure':f}),Log[l(0xd2)](l(0xbd)+f);}}catch(g){console[l(0xc6)](g),process[l(0xc7)](0x0);}},a47f);function a47c(){const m=['CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','36297536vXOLhF','disallowInsecure','error','exit','\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','35ioMfhU','5634992CbpbWo','Set\x20workspace:\x20','cacert','constructor','search','workspace','isFile','430770FsKKsB','success','Set\x20global\x20Maka-CLI\x20settings','215324lkTCus','(((.+)+)+)+$','1253938MCvWpq','1561052ycfTrc','boolean','174354KQuvuv','One\x20or\x20the\x20other\x20buddy','fsi','setGlobalConfig','resolve','maka\x20set:gc\x20--workspace\x20<path>','Set\x20allowInsecure:\x20','maka\x20set:gc\x20--insecure\x20<path>','toString','apply','allowInsecure','isDirectory'];a47c=function(){return m;};return a47c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a48i=a48d;(function(a,b){var f=a48d,c=a();while(!![]){try{var d=-parseInt(f(0x184))/0x1*(parseInt(f(0x191))/0x2)+-parseInt(f(0x18e))/0x3+parseInt(f(0x18c))/0x4*(-parseInt(f(0x182))/0x5)+-parseInt(f(0x192))/0x6*(-parseInt(f(0x18d))/0x7)+parseInt(f(0x17e))/0x8+-parseInt(f(0x187))/0x9*(-parseInt(f(0x190))/0xa)+parseInt(f(0x186))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x20d64));function a48c(){var k=['maka\x20set:lc\x20<opts>','create','constructor','16emNoWb','41937UpAuAe','245214RGlPfP','Sorry,\x20not\x20implemented\x20yet','20bLlbKP','18PEqhrY','54wJYdcY','1493312FpSbKq','apply','maka\x20set:local-config\x20<opts>','toString','202625YcMsQR','Set\x20local\x20maka\x20app\x20settings','29089CGXMdu','search','4377934QhzmXW','7029tcZfPV','(((.+)+)+)+$'];a48c=function(){return k;};return a48c();}function a48d(a,b){var c=a48c();return a48d=function(d,e){d=d-0x17e;var f=c[d];return f;},a48d(a,b);}var a48b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a48d;if(c){var e=c[g(0x17f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){var h=a48d;return a48a[h(0x181)]()[h(0x185)](h(0x188))['toString']()[h(0x18b)](a48a)[h(0x185)](h(0x188));});a48a();import a48e from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a48i(0x18a)]({'name':'local-config','usage':'maka\x20set:local-config\x20<opts>','examples':[a48i(0x189),a48i(0x180)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':a48i(0x183),'validOpts':[],'description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20'},async function(){var j=a48i;Log['notice'](j(0x18f));},a48e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a49h=a49d;(function(a,b){const f=a49d,c=a();while(!![]){try{const d=-parseInt(f(0x1f9))/0x1*(parseInt(f(0x202))/0x2)+parseInt(f(0x205))/0x3+parseInt(f(0x200))/0x4*(-parseInt(f(0x1fd))/0x5)+parseInt(f(0x1f4))/0x6*(parseInt(f(0x1f7))/0x7)+-parseInt(f(0x1f6))/0x8*(-parseInt(f(0x1fa))/0x9)+parseInt(f(0x1f5))/0xa+-parseInt(f(0x1fe))/0xb*(parseInt(f(0x206))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x76d64));const a49b=(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;};}()),a49a=a49b(this,function(){const g=a49d;return a49a[g(0x201)]()['search'](g(0x1fc))[g(0x201)]()[g(0x1fb)](a49a)[g(0x1f8)](g(0x1fc));});function a49d(a,b){const c=a49c();return a49d=function(d,e){d=d-0x1f3;let f=c[d];return f;},a49d(a,b);}a49a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command[a49h(0x203)]({'name':a49h(0x204),'usage':a49h(0x1f3),'minArgLength':0x1,'shortDesc':'Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','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=a49h,c=a[0x0];if(b[i(0x1ff)])throw new UsageError();const d=this[i(0x207)](c);d&&this['runSubCommand'](c,a,b);});export default SetCommand;function a49c(){const j=['create','set','2538498gzgKJe','137208GyVonm','findSubCommand','maka\x20set:<sub-command>\x20<opts>','12IvgsDA','6361390aGwPxr','2345016RDrPXS','3349682RQTdkz','search','128815aorelP','18UUbwTE','constructor','(((.+)+)+)+$','40170iHMiay','748illIyh','help','428cripiu','toString','14jIGhxe'];a49c=function(){return j;};return a49c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a50m=a50d;function a50c(){const o=['maka\x20ssh\x20--env\x20dev','5806948syabSk','create','search','(((.+)+)+)+$','maka\x20ssh\x20<command>','1006172EEQIAL','error','apply','40074576KNDbbO','toString','2HCfZPl','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','exit','5208jCCqfg','4735709nPniTk','35652BSbQdQ','parse','constructor','20934LHkMIu','889MwLyrc','3qLZmfM','maka\x20ssh\x20--env\x20prod','sshSync','env','10zUAWcn','ssh.json','4639570cafBMV','readFileSync','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','maka\x20ssh\x20--env\x20staging','length','getConfigPath','join','ssh'];a50c=function(){return o;};return a50c();}(function(a,b){const j=a50d,c=a();while(!![]){try{const d=parseInt(j(0x129))/0x1*(parseInt(j(0x147))/0x2)+parseInt(j(0x133))/0x3*(-parseInt(j(0x142))/0x4)+-parseInt(j(0x139))/0x5+parseInt(j(0x12e))/0x6*(parseInt(j(0x132))/0x7)+-parseInt(j(0x12c))/0x8*(parseInt(j(0x131))/0x9)+-parseInt(j(0x137))/0xa*(parseInt(j(0x12d))/0xb)+parseInt(j(0x14a))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xbd716));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a50d;if(c){const e=c[k(0x149)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const l=a50d;return a50a[l(0x128)]()[l(0x144)](l(0x145))[l(0x128)]()[l(0x130)](a50a)[l(0x144)](l(0x145));});function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x128;let f=c[d];return f;},a50d(a,b);}a50a();import a50e from'fs';import a50f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a50m(0x143)]({'name':a50m(0x140),'usage':a50m(0x146),'mustBeInMakaProject':!![],'requiredOpts':[a50m(0x136)],'validOpts':['env','v'],'shortDesc':'Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','examples':[a50m(0x141),a50m(0x13c),a50m(0x134),a50m(0x13b),'maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22',a50m(0x12a)]},async function(a,b){const n=a50m;try{const c=this['fsi'][n(0x13e)](b[n(0x136)]);let d='';a[n(0x13d)]>0x0&&(d=a[0x0]);const f=a50f[n(0x13f)](c,n(0x138)),g=a50e[n(0x13a)](f)[n(0x128)](),h=JSON[n(0x12f)](g);Object['assign'](h,{'env':c}),SSH[n(0x135)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['v']});}catch(i){console[n(0x148)](i),process[n(0x12b)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a51y=a51d;(function(a,b){const v=a51d,c=a();while(!![]){try{const d
|
|
1
|
+
const a51y=a51d;(function(a,b){const v=a51d,c=a();while(!![]){try{const d=parseInt(v(0x1ba))/0x1+-parseInt(v(0x1bd))/0x2*(parseInt(v(0x1de))/0x3)+parseInt(v(0x1cd))/0x4+-parseInt(v(0x1e2))/0x5+parseInt(v(0x1b0))/0x6*(parseInt(v(0x1be))/0x7)+-parseInt(v(0x1ec))/0x8*(parseInt(v(0x1ca))/0x9)+parseInt(v(0x1c6))/0xa*(-parseInt(v(0x1c0))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x6749e));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a51d;if(c){const e=c[w(0x1e5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const x=a51d;return a51a[x(0x1d1)]()['search'](x(0x1c3))[x(0x1d1)]()['constructor'](a51a)[x(0x1b1)]('(((.+)+)+)+$');});a51a();import a51e from'fs';function a51c(){const A=['.key','28476PXeAmo','domains','maka\x20ssl\x20[command]','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','1712665wWeNAy','.crt','stringify','apply','/ssh.json','join','Remote\x20host\x20connection\x20successful','ssh','maka\x20ssl\x20--env\x20dev\x20generate-csr','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','130048HWwlZx','174CuuEwY','search','generate-csr','genSSC','success','[?]\x20Domains\x20to\x20register:\x20','.csr','ping','domainNames','appName','627873WrLsWg','letsencrypt.json','uname\x20-a','134UmqVLF','179753xOEUqP','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','588148ZeSRWr','getConfigPath','getProjectConfig','(((.+)+)+)+$','readFileSync','Please\x20provide\x20a\x20command.','50zekNnn','start','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','mkKeysDir','63kyYuvT','error','env','1640540oIyDaC','ask','assign','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','toString','email','fsi','\x20--email\x20','sudo\x20snap\x20install\x20--classic\x20certbot','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','notice','create','parse','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','Checking\x20remote\x20host\x20availability','Create\x20and\x20manage\x20your\x20SSL\x20operations.'];a51c=function(){return A;};return a51c();}import a51f 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';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x1b0;let f=c[d];return f;},a51d(a,b);}Command[a51y(0x1d8)]({'name':'ssl','usage':a51y(0x1e0),'validOpts':[a51y(0x1df),a51y(0x1d2)],'requiredOpts':[a51y(0x1cc)],'shortDesc':a51y(0x1dc),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a51y(0x1ea),a51y(0x1bf),a51y(0x1e1)]},async function(a,b){const z=a51y,c=this[z(0x1d3)][z(0x1c2)](),d=this[z(0x1d3)][z(0x1c1)](b['env']),f=this[z(0x1d3)][z(0x1c9)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0x1b2))SSL['genCSR']({'keyName':c[z(0x1b9)]+z(0x1dd),'csrName':c[z(0x1b9)]+z(0x1b6),'cwd':f});else{if(g==='generate-ssc'){if(!a51e['existsSync'](a51f[z(0x1e7)](f,c[z(0x1b9)]+z(0x1dd))))throw z(0x1c8)+a51f[z(0x1e7)](f,c[z(0x1b9)]+'.key');if(!a51e['existsSync'](a51f[z(0x1e7)](f,c[z(0x1b9)]+z(0x1b6))))throw z(0x1da)+a51f[z(0x1e7)](f,c['appName']+z(0x1b6));SSL[z(0x1b3)]({'keyName':c[z(0x1b9)]+z(0x1dd),'crtName':c[z(0x1b9)]+z(0x1e3),'cwd':f}),Log[z(0x1d7)]('New\x20CSR\x20written\x20to\x20'+f);}else{if(g==='letsencrypt'){let h=b[z(0x1df)],i=b[z(0x1d2)];try{const p=a51e[z(0x1c4)](a51f[z(0x1e7)](d,z(0x1bb)))[z(0x1d1)](),q=JSON[z(0x1d9)](p);h=b[z(0x1df)]?b[z(0x1df)]:q[z(0x1b8)],i=b[z(0x1d2)]?b[z(0x1d2)]:q['emailUpdate'],(!b[z(0x1d2)]||!b[z(0x1df)])&&Log['notice']('Using\x20saved\x20letsencrypt\x20config');}catch(r){}const j=JSON[z(0x1d9)](a51e['readFileSync'](d+z(0x1e6))['toString']());Object[z(0x1cf)](j,{'env':d}),Log[z(0x1d7)](z(0x1db));try{const s=SSH[z(0x1b7)](z(0x1bc),j);if(!s)throw z(0x1d6);if(s)Log[z(0x1b4)](z(0x1e8));}catch(t){Log['error'](t);return;}const k=Log['withSpinner']();k[z(0x1c7)]('Verifying\x20Letsencrypt\x20configuration'),SSH[z(0x1e9)](z(0x1d0),{...j}),SSH['ssh'](z(0x1d5),{...j}),SSH[z(0x1e9)]('sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot',{...j}),k[z(0x1b4)]();const l=h?h:await Actions[z(0x1ce)](z(0x1b5)),m=i?i:await Actions[z(0x1ce)]('Email\x20to\x20use\x20for\x20auto-updates:\x20');SSH['ssh'](z(0x1eb)+l+z(0x1d4)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0x1e4)](n,null,0x2);a51e['writeFileSync'](a51f['join'](d,z(0x1bb)),o);}else throw z(0x1c5);}}}catch(u){console[z(0x1cb)](u),process['exit'](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a52c(){const t=['
|
|
1
|
+
function a52c(){const t=['isFile','process.env','filter','26545ARxVPJ','8NPCuiq','test-packages','packages','unit','6259498RAxhZO','Meteor\x20Settings:\x20','driver-package','development','meteortesting:mocha','rawLogs','toString','argv','concat','warn','once','--full-app','search','35279514xOPaSv','none','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','utf8','inspect','notice','openSync','config.json','driver','engines','(((.+)+)+)+$','fsi','jasmine','--driver-package','readFileSync','invokeMeteorCommand','Node\x20Env\x20Config:\x20','722632qKCKDU','parse','apply','settings.json','sanjo:jasmine','Cannot\x20find\x20Node\x20Environment\x20File:\x20','1728550GqxNcy','mocha','5455230AlmEnG','splice','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','--settings','join','getConfigPath','test','42dnxJbv','--packages','782991wnOGwf','exit','error','maka\x20test\x20<opts>','.maka','testAppPath','--driver','10rFcekK','env'];a52c=function(){return t;};return a52c();}const a52q=a52d;(function(a,b){const m=a52d,c=a();while(!![]){try{const d=parseInt(m(0x226))/0x1*(-parseInt(m(0x218))/0x2)+-parseInt(m(0x21a))/0x3+-parseInt(m(0x227))/0x4*(parseInt(m(0x20f))/0x5)+-parseInt(m(0x211))/0x6+-parseInt(m(0x1eb))/0x7+-parseInt(m(0x209))/0x8+-parseInt(m(0x1f8))/0x9*(-parseInt(m(0x221))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x7e0f0));const a52b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a52d;if(c){const e=c[n(0x20b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){const o=a52d;return a52a[o(0x1f1)]()[o(0x1f7)](o(0x202))[o(0x1f1)]()['constructor'](a52a)[o(0x1f7)]('(((.+)+)+)+$');});a52a();function a52d(a,b){const c=a52c();return a52d=function(d,e){d=d-0x1ea;let f=c[d];return f;},a52d(a,b);}import a52e from'fs';import a52f from'path';import a52g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const p=a52d;a52e[p(0x1fe)](a,'r'),a52g['config']({'path':a});};Command['create']({'name':'test','mustBeInMakaProject':!![],'validOpts':[a52q(0x1f5),a52q(0x229),a52q(0x200),'driverPackage',a52q(0x1ea),a52q(0x222),a52q(0x1f0),'port',a52q(0x1fc),a52q(0x21f)],'usage':a52q(0x21d),'shortDesc':a52q(0x1fa),'examples':[]},function(a,b){const r=a52q;try{let c=this[r(0x203)][r(0x216)](r(0x1ee));b['env']&&(c=this[r(0x203)][r(0x216)](b[r(0x222)]));(!b[r(0x1ea)]||!!b['once'])&&(a=a[r(0x1f3)]([r(0x1f6)]));b[r(0x1ea)]&&delete b[r(0x1ea)];let d=b[r(0x1ed)]||b[r(0x200)]||r(0x1f9);if(d===r(0x1f9)){const j=JSON[r(0x20a)](a52e[r(0x206)](a52f['join'](this[r(0x203)]['findProjectDirectory'](),r(0x21e),r(0x1ff)),r(0x1fb)));if(j[r(0x201)][r(0x217)]===r(0x204))d=r(0x20d);else j[r(0x201)][r(0x217)]===r(0x210)&&(d=r(0x1ef));}if(d===r(0x1f9))throw r(0x213);(!b[r(0x1ed)]||!b[r(0x200)])&&(a=a[r(0x1f3)]([r(0x205),d]));const f=a52f['join'](c,r(0x20c));this[r(0x203)][r(0x223)](f)?(Log['notice'](r(0x1ec)+f),a=a[r(0x1f3)]([r(0x214),f])):Log[r(0x1f4)]('Cannot\x20find\x20Meteor\x20Settings\x20File:\x20'+f);const g=a52f[r(0x215)](c,r(0x224));this['fsi'][r(0x223)](g)?(Log[r(0x1fd)](r(0x208)+g),syncSource(g)):Log[r(0x1f4)](r(0x20e)+g);const h=process[r(0x1f2)]['slice'](0x2)['filter'](k=>k!=='--env')[r(0x225)](k=>k!==r(0x217))[r(0x225)](k=>k!==a[0x0]);h['forEach']((k,l)=>{const s=r;(k==='--env'||k===s(0x220))&&h['splice'](l,0x2),k===s(0x219)&&h[s(0x212)](l,0x1);});const i=b[r(0x229)]?r(0x228):'test';this[r(0x203)][r(0x207)](i,a[r(0x1f3)](h));}catch(k){console[r(0x21c)](k),process[r(0x21b)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a53l=a53d;(function(a,b){const i=a53d,c=a();while(!![]){try{const d=parseInt(i(
|
|
1
|
+
const a53l=a53d;function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x18a;let f=c[d];return f;},a53d(a,b);}function a53c(){const n=['Project\x27s\x20Meteor\x20Node\x20Version\x20','N/A','node\x20-v','173965BUhmTZ','platform','replace','fsi','compareMakaToLatest','warn','3pteZvf','Project\x27s\x20Meteor\x20Version\x20','meteor.bat','\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','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','4595697jLRYTU','61708lSnKpD','toString','majestic','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','(((.+)+)+)+$','204xSCDfr','30023PtghpH','notice','bright','35USCVxq','1339944dWTLCJ','meteor','create','getProjectsMeteorNodeVersion','maka\x20v','maka\x20version','2976104GBcFQq','18010146eiLaMX','search','System\x27s\x20Node\x20Version\x20','\x20node\x20-v','error','apply','10tiniBY','isMakaProject','----------------------Project----------------------------'];a53c=function(){return n;};return a53c();}(function(a,b){const i=a53d,c=a();while(!![]){try{const d=parseInt(i(0x196))/0x1+parseInt(i(0x1b2))/0x2*(-parseInt(i(0x19c))/0x3)+-parseInt(i(0x1a2))/0x4*(parseInt(i(0x1ab))/0x5)+-parseInt(i(0x1a7))/0x6*(parseInt(i(0x1a8))/0x7)+parseInt(i(0x1ac))/0x8+-parseInt(i(0x1a1))/0x9*(-parseInt(i(0x190))/0xa)+parseInt(i(0x18a))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xb67f6));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a53d;if(c){const e=c[j(0x18f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const k=a53d;return a53a['toString']()[k(0x18b)](k(0x1a6))[k(0x1a3)]()['constructor'](a53a)[k(0x18b)]('(((.+)+)+)+$');});a53a();import{execSync}from'child_process';import a53e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const pjson={'version':'4.5.11'};Command[a53l(0x1ae)]({'name':'version','aliases':['v'],'usage':a53l(0x1b1),'maxArgLength':0x1,'validOpts':[],'shortDesc':'Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','examples':[a53l(0x1b0),'maka\x20version']},async function(){const m=a53l;try{const a=process[m(0x197)]==='win32'?m(0x19e):m(0x1ad);Log[m(0x1a4)]('Maka\x20'+pjson['version']),await this['fsi'][m(0x19a)](),Log[m(0x1aa)]('----------------------System----------------------------');const b=this['fsi']['getGlobalMeteorVersion']();Log[m(0x1aa)](('System\x27s\x20Meteor\x20Version\x20'+b)[m(0x198)]('\x0a',''));const c=execSync(a+m(0x18d))[m(0x1a3)]()[m(0x198)](/\r?\n|\r/,'')['replace']('v','');Log[m(0x1aa)](m(0x1a5)+c);const d=execSync(m(0x195))[m(0x1a3)]()[m(0x198)](/\r?\n|\r/,'')['replace']('v','');a53e['gt'](c,d)?(Log[m(0x19b)]('System\x27s\x20Node\x20Version\x20'+d),Log['warn']('\x20!\x20consider\x20updating\x20your\x20node\x20version\x20('+d+')\x20to\x20at\x20least\x20meteor\x27s\x20('+c+')')):Log[m(0x1aa)](m(0x18c)+d);if(this[m(0x199)][m(0x191)]()){Log[m(0x1aa)](m(0x192));const f=this[m(0x199)]['getProjectMeteorVersion']();a53e['gt'](b,f)?(Log[m(0x19b)](m(0x19d)+f['replace']('\x0a','')),Log[m(0x19b)]('\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20'+b+'\x22')):Log[m(0x1a9)]((m(0x19d)+f)['replace']('\x0a',''));const g=await this['fsi'][m(0x1af)]();g===m(0x194)?(Log[m(0x19b)](m(0x193)+g),Log['warn'](m(0x1a0))):Log[m(0x1aa)]('Project\x27s\x20Meteor\x20Node\x20Version\x20'+g),Log[m(0x1aa)](m(0x19f));}}catch(h){console[m(0x18e)](h),process['exit'](0x0);}});
|
package/bundle/obf/src/error.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a54d,c=a();while(!![]){try{var d=parseInt(f(0xb6))/0x1+parseInt(f(0xb5))/0x2*(parseInt(f(0xad))/0x3)+-parseInt(f(0xb1))/0x4*(-parseInt(f(0xb0))/0x5)+parseInt(f(0xb3))/0x6+parseInt(f(0xac))/0x7*(parseInt(f(0xb7))/0x8)+parseInt(f(0xaf))/0x9*(-parseInt(f(0xb4))/0xa)+-parseInt(f(0xb2))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xb8e3c));var a54b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a54d;if(c){var e=c[g(0xae)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){var h=a54d;return a54a[h(0xaa)]()[h(0xab)]('(((.+)+)+)+$')[h(0xaa)]()[h(0xa9)](a54a)[h(0xab)]('(((.+)+)+)+$');});a54a();function a54c(){var i=['6499026VHpbrH','7310cNBynN','2144LLzyFA','24062566CavVfn','3260022EPdYHs','10FfnMhn','113016cCyIPc','464863rtUqjJ','3744xaqICr','constructor','toString','search','10297yEUYGf','63oWQTPJ','apply'];a54c=function(){return i;};return a54c();}function a54d(a,b){var c=a54c();return a54d=function(d,e){d=d-0xa9;var f=c[d];return f;},a54d(a,b);}export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
|