@maka/maka-cli 4.7.14 → 4.7.16
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/.vs/maka-cli-src/FileContentIndex/79ef20d9-272b-4d5b-9ece-bc61eda1bad6.vsidx +0 -0
- package/.vs/slnx.sqlite +0 -0
- package/bundle/obf/package.json +1 -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/tool.js +1 -1
- package/bundle/obf/src/tools/actions/actions.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
- package/bundle/obf/src/tools/docker/docker.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
- package/bundle/obf/src/tools/https/https.class.js +1 -1
- package/bundle/obf/src/tools/https/https.interface.js +1 -1
- package/bundle/obf/src/tools/log/log.class.js +1 -1
- package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
- package/bundle/obf/src/tools/options/options.class.js +1 -1
- package/bundle/obf/src/tools/progress/progress.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
- package/package.json +1 -2
- package/.vs/maka-cli-src/FileContentIndex/4c0a1daa-da96-4fc9-bf6f-ad5a9148b26c.vsidx +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
const a75s=a75d;
|
|
1
|
+
const a75s=a75d;(function(a,b){const p=a75d,c=a();while(!![]){try{const d=parseInt(p(0x19c))/0x1*(parseInt(p(0x19a))/0x2)+parseInt(p(0x185))/0x3*(-parseInt(p(0x196))/0x4)+-parseInt(p(0x188))/0x5*(parseInt(p(0x183))/0x6)+parseInt(p(0x17b))/0x7*(parseInt(p(0x179))/0x8)+parseInt(p(0x19d))/0x9*(parseInt(p(0x18e))/0xa)+-parseInt(p(0x17a))/0xb+-parseInt(p(0x193))/0xc*(-parseInt(p(0x17e))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a75c,0xaa940));const a75b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a75d;if(c){const e=c[q(0x190)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a75a=a75b(this,function(){const r=a75d;return a75a[r(0x192)]()['search'](r(0x187))['toString']()['constructor'](a75a)[r(0x1a1)](r(0x187));});a75a();import a75e from'path';function a75d(a,b){const c=a75c();return a75d=function(d,e){d=d-0x175;let f=c[d];return f;},a75d(a,b);}import{ESLint}from'eslint';function a75c(){const u=['(((.+)+)+)+$','2505VWUdau','fix','checkNpmPackage','Use\x20ESLint\x20to\x20lint\x20the\x20imports\x20directory','/imports','eslint-plugin-react','23860QIWAnK','format','apply','maka\x20lint\x20--fix','toString','8172ChtkXp','success','push','424izeMeV','bright','.eslintrc.json','join','641054pallcd','length','3jsrwLV','387hExHNh','eslint-plugin-css','installNpmPackage','lintFiles','search','All\x20good!\x20:)','maka\x20lint','eslint','imports','outputFixes','Lint\x20results\x20for\x20','3984sqlOtO','15015792OTPGxz','5474IWWBdF','notice','loadFormatter','23777JLLjca','error','lint','findAppDirectory','isFile','4356bHMgtV','template','7689BJyrPG','fsi'];a75c=function(){return u;};return a75c();}import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';Command['create']({'name':a75s(0x180),'usage':a75s(0x1a3),'maxArgLength':0x1,'validOpts':[a75s(0x189)],'mustBeInMakaProject':!![],'shortDesc':a75s(0x18b),'description':'\x0a\x20\x20Lint\x20the\x20\x22./app/imports\x22\x20directory.\x0a\x0a\x20\x20This\x20command\x20will\x20install\x20and\x20conigure\x20ESLint\x20if\x20not\x20already\x20setup.\x0a\x0a\x20\x20You\x20can\x20find\x20the\x20eslint\x20config\x20at\x20\x22./app/.eslintrc.json\x22\x0a\x20\x20','examples':[a75s(0x191)]},async function(a,b){const t=a75s;try{const c=this['fsi'][t(0x181)](),d=this[t(0x186)][t(0x18a)](t(0x175)),f=this['fsi'][t(0x18a)](t(0x18d)),g=this[t(0x186)][t(0x18a)]('eslint-plugin-css'),h=[];!d&&h[t(0x195)]('eslint');!f&&h['push'](t(0x18d));!g&&h[t(0x195)](t(0x19e));h['length']>0x0&&await this['fsi'][t(0x19f)](h[t(0x199)]('\x20'),{'dev':!![]});const i=this[t(0x186)][t(0x182)](a75e[t(0x199)](c,t(0x198)));if(!i){const n={'noRename':!![]};await this[t(0x186)][t(0x184)]({'srcPath':'eslint/eslintrc.json','destPath':a75e[t(0x199)](c,t(0x198)),'framework':'service','context':n});}const j=new ESLint(),k=await j[t(0x1a0)]([a75e[t(0x199)](c,t(0x176),'**')]),l=await j[t(0x17d)]('stylish'),m=await l[t(0x18f)](k);m[t(0x19b)]>0x0?Log[t(0x197)](m):Log[t(0x194)](t(0x1a2)),Log['notice'](t(0x178)+c+t(0x18c)),b[t(0x189)]?await ESLint[t(0x177)](k):Log[t(0x17c)]('Run\x20\x22maka\x20lint\x20--fix\x22\x20to\x20auto\x20fix');}catch(o){console[t(0x17f)](o);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a76z=a76d;(function(a,b){const w=a76d,c=a();while(!![]){try{const d=parseInt(w(0xa8))/0x1+parseInt(w(0x8d))/0x2+parseInt(w(0xb9))/0x3+-parseInt(w(0xc1))/0x4*(parseInt(w(0xa4))/0x5)+-parseInt(w(0xb1))/0x6*(parseInt(w(0xa5))/0x7)+parseInt(w(0xb7))/0x8+-parseInt(w(0xc5))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a76c,0xbd9c9));function a76d(a,b){const c=a76c();return a76d=function(d,e){d=d-0x8d;let f=c[d];return f;},a76d(a,b);}function a76c(){const B=['exit','MAKA_DEV','password','email','44SbDaeo','help','Logs\x20in\x20to\x20www.maka-cli.com','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','1482102GjXFGU','search','2404424FCLoTZ','(((.+)+)+)+$','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','assign','success','start','fsi','Logging\x20into\x20https://','setGlobalConfig','apply','get','True','Password:\x20','header','ask','update','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','constructor','toString','isFile','post','notice','authToken','285605KVPJaW','42tzrxKT','maka\x20login','login','987279FEWXhK','cert','failure','/api/v1/status','cacert','create','error','/api/v1/login','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','1264974mkHjKT','debug','parse','localhost','/api/v1/encodeJwt','sha256','1020344FnFgfA','Using\x20CA\x20Cert\x20','1552794XJNpSe','digest','www.maka-cli.com','Logging\x20in'];a76c=function(){return B;};return a76c();}const a76b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a76d;if(c){const e=c[x(0x96)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a76a=a76b(this,function(){const y=a76d;return a76a[y(0x9f)]()['search'](y(0x8e))['toString']()[y(0x9e)](a76a)[y(0xc6)](y(0x8e));});a76a();import a76e 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['env'][a76z(0xbe)]===a76z(0x98)?a76z(0xb4):a76z(0xbb);Command['create']({'name':a76z(0xa7),'validOpts':[a76z(0xc0),a76z(0xbf),a76z(0xc2),a76z(0xac),a76z(0xb2)],'usage':a76z(0xa6),'maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a76z(0xc3),'examples':[a76z(0xa6),a76z(0xb0)]},async function(a,b){const A=a76z,c=Log['withSpinner']();try{let d='';b[A(0xac)]&&(this[A(0x93)][A(0xa0)](b['cacert'])?(d=b[A(0xac)],Log[A(0xa2)](A(0xb8)+d)):Log[A(0xae)](A(0x8f)+d));const f=await this['fsi']['getGlobalConfig']();if(f['cert']){if(this['fsi'][A(0xa0)](f['cert']))d=f[A(0xa9)];else{Log[A(0xae)]('CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+d);return;}}Log[A(0x9a)](A(0x94)+hostname);const g={'url':'https://'+hostname+A(0xab)};b[A(0xac)]&&Object[A(0x90)](g,{'cert':d});c[A(0x92)]('Preflight\x20Check');const {statusCode:h}=await HTTPS[A(0x97)](g);if(h===0x198){c['failure']();throw A(0x9d);}if(h!==0xc8){c[A(0xaa)]();throw'https://'+hostname+'\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli';}c[A(0x91)]();const i=b['email']?b[A(0xc0)]:await Actions[A(0x9b)]('Email:'),j=b[A(0xbf)]?b[A(0xbf)]:await Actions[A(0x9b)](A(0x99),!![]),k=a76e['md'][A(0xb6)][A(0xad)]();k[A(0x9c)](j);const l=k[A(0xba)]()['toHex'](),m={'hostname':hostname,'path':A(0xaf),'data':{'email':i,'password':l,'hashed':!![]}};b[A(0xac)]&&Object['assign'](m,{'cert':d});c[A(0x92)](A(0xbc));const {data:n,statusCode:o}=await HTTPS['post'](m);if(o===0x198){c['failure']('\x0a');throw A(0xc4)+hostname;}const p=JSON[A(0xb3)](n);if(p[A(0xa3)]){const q={'hostname':hostname,'path':A(0xb5),'headers':{'x-auth-token':p[A(0xa3)]},'data':{}};b[A(0xac)]&&Object['assign'](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS[A(0xa1)](q),{token:t}=JSON['parse'](r);if(s===0x198)throw A(0xc4)+hostname;const u={'token':p,'hash':t};this['fsi'][A(0x95)](u);}else{c[A(0xaa)]();throw p;}c[A(0x91)]();}catch(v){c['failure'](),console[A(0xae)](v),process[A(0xbd)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a77n=a77d;(function(a,b){const l=a77d,c=a();while(!![]){try{const d=-parseInt(l(0x11b))/0x1+-parseInt(l(0x10e))/0x2*(-parseInt(l(0x121))/0x3)+parseInt(l(0x12b))/0x4*(parseInt(l(0x10b))/0x5)+-parseInt(l(0x100))/0x6*(parseInt(l(0x111))/0x7)+parseInt(l(0x106))/0x8*(-parseInt(l(0x104))/0x9)+-parseInt(l(0x10f))/0xa+parseInt(l(0x108))/0xb*(parseInt(l(0x118))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0xd4f39));const a77b=(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;};}()),a77a=a77b(this,function(){const m=a77d;return a77a[m(0x10d)]()[m(0x102)]('(((.+)+)+)+$')[m(0x10d)]()[m(0x123)](a77a)['search'](m(0x10a));});a77a();import{Command}from'../command.js';function a77d(a,b){const c=a77c();return a77d=function(d,e){d=d-0xfb;let f=c[d];return f;},a77d(a,b);}import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';function a77c(){const p=['3nUIlsI','MAKA_DEV','constructor','logout','withSpinner','create','True','token','error','start','13652NATAJh','Logging\x20out\x20of\x20https://','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','get','assign','failure','288zrdCtH','/api/v1/logoutAll','search','www.maka-cli.com','3505401Xnvtii','exit','8miSMHE','https://','8677339Sekvwr','/api/v1/status','(((.+)+)+)+$','2155zIMyBY','cert','toString','472848BipiET','6079940deLqfH','Using\x20CA\x20Cert\x20','205723fSCMhO','setGlobalConfig','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','Logging\x20out','fsi','env','success','36doboNX','cacert','maka\x20logout','793570RgJqAJ','authToken','localhost','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','post','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'];a77c=function(){return p;};return a77c();}const hostname=process[a77n(0x116)][a77n(0x122)]===a77n(0x127)?a77n(0x11d):a77n(0x103);Command[a77n(0x126)]({'name':a77n(0x124),'validOpts':[a77n(0x119)],'usage':'maka\x20logout','maxArgLength':0x2,'shortDesc':'Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','disableAuthCheck':!![],'examples':[a77n(0x11a)]},async function(a,b){const o=a77n,c=Log[o(0x125)]();try{let d='';b['cacert']&&(this[o(0x115)]['isFile'](b['cacert'])?(d=b[o(0x119)],Log['notice'](o(0x110)+d)):Log[o(0x129)](o(0x120)+d));const f=await this['fsi']['getGlobalConfig']();if(f[o(0x10c)]){if(this[o(0x115)]['isFile'](f['cert']))d=f[o(0x10c)];else{c['failure']();throw Log[o(0x129)](o(0xfc)+d);}}Log['header'](o(0xfb)+hostname);const g={'url':o(0x107)+hostname+o(0x109)};b[o(0x119)]&&Object['assign'](g,{'cert':d});c[o(0x12a)]('Preflight\x20Check');const {statusCode:h}=await HTTPS[o(0xfd)](g);if(h===0x198){c[o(0xff)]();throw o(0x113);}c[o(0x117)]();if(h!==0xc8){c[o(0xff)]();throw o(0x11e);}if(!f?.[o(0x128)]?.[o(0x11c)])throw Log[o(0x129)]('Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?');c[o(0x12a)](o(0x114));const i={'hostname':hostname,'path':o(0x101),'data':{},'headers':{'x-auth-token':f[o(0x128)][o(0x11c)]}};b[o(0x119)]&&Object[o(0xfe)](i,{'cert':d});const {statusCode:j}=await HTTPS[o(0x11f)](i);if(j===0x198){c[o(0xff)]('\x0a');throw o(0x113);}this['fsi'][o(0x112)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[o(0x117)]();}catch(k){k&&console[o(0x129)](k),process[o(0x105)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a78m=a78d;(function(a,b){const j=a78d,c=a();while(!![]){try{const d=parseInt(j(0x79))/0x1*(parseInt(j(0x6f))/0x2)+parseInt(j(0x6a))/0x3*(parseInt(j(0x80))/0x4)+-parseInt(j(0x6c))/0x5+-parseInt(j(0x75))/0x6*(-parseInt(j(0x68))/0x7)+parseInt(j(0x82))/0x8+parseInt(j(0x77))/0x9+-parseInt(j(0x72))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0xd1092));function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x68;let f=c[d];return f;},a78d(a,b);}const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a78d;if(c){const e=c[k(0x6b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const l=a78d;return a78a['toString']()[l(0x78)](l(0x7d))['toString']()[l(0x74)](a78a)[l(0x78)](l(0x7d));});a78a();function a78c(){const o=['7169955vGEvML','getAppConfigPath','maka\x20logs\x20--env\x20dev','7928snJaXK','parse','env','13554530mAEPVC','maka\x20l\x20-e\x20p','constructor','2858310MwItLr','assign','4328469vLaYBS','search','421vorQTC','readFileSync','fsi','sshSync','(((.+)+)+)+$','toString','View\x20the\x20PM2\x20logs','1599568nBrGAq','maka\x20logs','1145656kmWItw','logs','14gaQXVl','create','3YirThY','apply'];a78c=function(){return o;};return a78c();}import a78e from'fs';import a78f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{Log}from'../tools/log/log.class.js';Command[a78m(0x69)]({'name':a78m(0x83),'aliases':['l','log'],'usage':a78m(0x81),'requiredOpts':[a78m(0x71)],'mustBeInMakaProject':!![],'validOpts':['verbose'],'shortDesc':a78m(0x7f),'isPro':!![],'examples':[a78m(0x6e),'maka\x20logs\x20--env\x20staging',a78m(0x73)]},function(a,b){const n=a78m;try{const c='pm2\x20logs',d=this[n(0x7b)][n(0x6d)](b[n(0x71)]),f=a78f['join'](d,'ssh.json'),g=a78e[n(0x7a)](f),h=JSON[n(0x70)](g[n(0x7e)]());Object[n(0x76)](h,{'env':d}),SSH[n(0x7c)](c,h,{'tty':!![],'verbose':!![]});}catch(i){Log['error'](i);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a79c(){const
|
|
1
|
+
function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0xc5;let f=c[d];return f;},a79d(a,b);}const a79h=a79d;(function(a,b){const f=a79d,c=a();while(!![]){try{const d=parseInt(f(0xc6))/0x1*(parseInt(f(0xd6))/0x2)+-parseInt(f(0xd8))/0x3*(parseInt(f(0xd1))/0x4)+parseInt(f(0xd2))/0x5+-parseInt(f(0xd0))/0x6+-parseInt(f(0xd9))/0x7+-parseInt(f(0xd7))/0x8+parseInt(f(0xc5))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0xee21e));const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const g=a79d;return a79a[g(0xc8)]()['search'](g(0xd3))[g(0xc8)]()[g(0xd4)](a79a)['search'](g(0xd3));});a79a();import{Command}from'../command.js';const Maka=new Command({'name':'maka','minArgLength':0x1,'shortDesc':a79h(0xc9),'validOpts':[],'usage':a79h(0xcf),'disableAuthCheck':!![],'examples':[a79h(0xc7),a79h(0xca),'maka\x20create\x20Todo',a79h(0xcd)],'description':a79h(0xd5)},async function(a,b){const i=a79h;try{const c=a[0x0];a[i(0xcb)](0x0,0x1),await this[i(0xcc)](c,a,b);}catch(d){process[i(0xce)](0x1);}});export default Maka;function a79c(){const j=['maka\x20install\x20meteor','splice','processAndRunCommand','maka\x20run','exit','maka\x20<command>\x20[<args>]\x20[<opts>]','5281836pEgzez','9792xjzGuX','1254710qlqluf','(((.+)+)+)+$','constructor','\x0a\x0a\x20\x20Scaffold\x20Web\x20Applications\x20with\x20Meteor\x20and\x20Maka-CLI\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.-:\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20:-.\x20\x20\x20\x20\x20:--\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::\x20\x20::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::::::\x20.:::::::\x20..\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20..:.....\x20.::..::.\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20.::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::::::\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20\x20::::::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::..-::.\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::....\x20\x20::..---:..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20.\x20.:::::::\x20\x20::..::.\x20..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20\x20:.\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:--\x20\x20\x20\x20\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-:\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20:\x0a.:..::...::.\x20\x20\x20....:\x20\x20\x20.:\x20\x20\x20::\x20\x20....:.\x20\x20\x20\x20\x20\x20\x20\x20.::::\x20\x20.:\x20\x20::\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20\x20....:-\x20\x20.-..:.\x20\x20\x20....:-\x20\x20...\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20.:\x20\x20\x20:-\x20\x20.-\x20\x20.:\x20\x20.:\x20\x20\x20:-\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a.:.\x20\x20\x20:.\x20\x20\x20.:\x20\x20....\x20:.\x20.:.\x20\x20..\x20\x20....\x20:.\x20\x20\x20\x20\x20\x20\x20.....\x20\x20.:.\x20.:.\x0a\x0a\x20\x20','92pHYTFa','5595104VlCCgY','2058dlfVgy','1382066Hlnaii','31980798jfBSTD','13641nEnpeN','maka\x20--help','toString','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.'];a79c=function(){return j;};return a79c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a80h=a80d;(function(a,b){var f=a80d,c=a();while(!![]){try{var d=-parseInt(f(0x1ad))/0x1+parseInt(f(0x1ab))/0x2+-parseInt(f(0x19d))/0x3+parseInt(f(0x1ac))/0x4+-parseInt(f(0x1a7))/0x5*(parseInt(f(0x1a5))/0x6)+-parseInt(f(0x1a2))/0x7+parseInt(f(0x1a9))/0x8*(parseInt(f(0x1a0))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0x2c328));var a80b=(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;};}()),a80a=a80b(this,function(){var g=a80d;return a80a[g(0x1ae)]()[g(0x19e)](g(0x1a3))[g(0x1ae)]()[g(0x19f)](a80a)[g(0x19e)]('(((.+)+)+)+$');});a80a();import{Command}from'../command.js';function a80d(a,b){var c=a80c();return a80d=function(d,e){d=d-0x19d;var f=c[d];return f;},a80d(a,b);}Command[a80h(0x1a1)]({'name':'murder','usage':a80h(0x1a6),'maxArgLength':0x1,'shortDesc':'Murrrrderrrrr','validOpts':[]},async function(){var i=a80h;try{console['log'](i(0x1a8),i(0x1a4));}catch(a){console[i(0x1aa)](a),process['exit'](0x0);}});function a80c(){var j=['maka\x20murder','40385cZVVGd','%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','173336VMjEaP','error','684858LHYlWe','1331676PyIqsn','252878IgLqTK','toString','886863ifnBjm','search','constructor','90UVkuVm','create','1080870PtSiBK','(((.+)+)+)+$','font-family:\x20monospace','6HiHivF'];a80c=function(){return j;};return a80c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a81p=a81d;(function(a,b){const m=a81d,c=a();while(!![]){try{const d
|
|
1
|
+
const a81p=a81d;(function(a,b){const m=a81d,c=a();while(!![]){try{const d=-parseInt(m(0xdf))/0x1*(-parseInt(m(0xf2))/0x2)+parseInt(m(0x104))/0x3*(parseInt(m(0xdd))/0x4)+parseInt(m(0xf0))/0x5*(-parseInt(m(0xdc))/0x6)+parseInt(m(0xfa))/0x7*(parseInt(m(0xe5))/0x8)+parseInt(m(0xe9))/0x9*(parseInt(m(0xfb))/0xa)+parseInt(m(0xec))/0xb*(parseInt(m(0xe2))/0xc)+-parseInt(m(0xe7))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0x84da3));const a81b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a81d;if(c){const e=c[n(0x101)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){const o=a81d;return a81a['toString']()['search'](o(0xfc))[o(0x100)]()[o(0xe1)](a81a)[o(0xf5)](o(0xfc));});a81a();import a81e from'fs';import a81f from'path';function a81d(a,b){const c=a81c();return a81d=function(d,e){d=d-0xd8;let f=c[d];return f;},a81d(a,b);}import a81g 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 a81h from'../generators/maka.gen.js';function a81c(){const r=['isFile','fsi','55cbwAOw','targetPort','getAppConfigPath','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','700ztvmzp','.key','211610kuAoyx','maka\x20proxy\x20--target-host\x20http://192.168.1.20','targetHost','search','\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','proxy','sslconfig','genCSR','7FiAkwk','13210nypBTz','(((.+)+)+)+$','listen','.crt','create','toString','apply','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','localhost','1473VAqHYp','readFileSync','utf8','listenPort','maka\x20proxy','=>\x20SSL\x20Proxy\x20forwarding\x20','mkKeysDir','processAndRunGenerator','30192FVlNSQ','5364arVGtH','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','9EuIeAv','genSSC','constructor','1828716GqByCE','.csr','appName','5730712ANeWUE','\x20to\x20','37164764LskHbS','join','6939BhxCVB'];a81c=function(){return r;};return a81c();}Command[a81p(0xff)]({'name':a81p(0xf7),'usage':a81p(0xd8),'mustBeInMakaProject':!![],'validOpts':['help',a81p(0xed),'listenPort',a81p(0xf4)],'maxArgLength':0x1,'shortDesc':a81p(0xde),'description':a81p(0xf6),'examples':[a81p(0xd8),a81p(0xef),a81p(0xf3)]},async function(a,b){const q=a81p,c=this[q(0xeb)]['getMakaProjectConfig'](),d='development',e=this[q(0xeb)][q(0xee)](d),f=this[q(0xeb)][q(0xda)]({'configPath':e}),g=b[q(0xed)]?Number(b[q(0xed)]):0xbb8,h=b[q(0x107)]?Number(b[q(0x107)]):0xd73,i=b[q(0xf4)]?b[q(0xf4)]:q(0x103),j=a81f[q(0xe8)](f,c[q(0xe4)]+'.key'),k=a81f[q(0xe8)](f,c[q(0xe4)]+q(0xfe));(!this[q(0xeb)][q(0xea)](j)||!this[q(0xeb)][q(0xea)](k))&&(await a81h[q(0xdb)](q(0xf8),[],{'env':d}),SSL[q(0xf9)]({'keyName':c[q(0xe4)]+q(0xf1),'csrName':c[q(0xe4)]+q(0xe3),'cwd':f}),SSL[q(0xe0)]({'keyName':c[q(0xe4)]+'.key','crtName':c[q(0xe4)]+q(0xfe),'cwd':f}));if(g===h){Log['error'](q(0x102));throw new UsageError();}const l={'ssl':{'key':a81e[q(0x105)](j,q(0x106)),'cert':a81e[q(0x105)](k,q(0x106))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a81g['createProxyServer'](l)[q(0xfd)](Number(h)),Log['bright'](q(0xd9)+h+q(0xe6)+g);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a82q=a82d;(function(a,b){const n=a82d,c=a();while(!![]){try{const d=parseInt(n(0x126))/0x1+parseInt(n(0x122))/0x2*(parseInt(n(0x10e))/0x3)+-parseInt(n(0x12a))/0x4*(-parseInt(n(0x115))/0x5)+-parseInt(n(0x11e))/0x6+-parseInt(n(0x10f))/0x7+-parseInt(n(0x135))/0x8+-parseInt(n(0x11f))/0x9*(-parseInt(n(0x123))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x364bc));const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a82d;if(c){const e=c[o(0x116)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const p=a82d;return a82a[p(0x136)]()[p(0x111)](p(0x110))[p(0x136)]()[p(0x13a)](a82a)[p(0x111)](p(0x110));});function a82c(){const s=['Reconfigure\x20your\x20deployed\x20applications\x20w/o\x20rebuild\x20or\x20redploy','6WnGmmJ','4380NLxmWU','ssh','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','216123NqClLY','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','maka\x20reconfig\x20--env\x20prod','maka\x20reconfig','780772BKDsLF','env','pm2\x20delete\x20all','reconfig','uname\x20-a','getAppConfigPath','readFileSync','success','ses.json','reconfigure','ssh.json','93360nfHCHE','toString','ping','sshSync','pm2.config.js','constructor','notice','_keys','142383IevbvN','1774941rTYXwW','(((.+)+)+)+$','search','Checking\x20remote\x20host\x20availability','existsSync','parse','10SRGJhP','apply','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\x0a\x20\x20This\x20does\x20not\x20restart\x20the\x20nginx\x20server\x20and\x20is\x20much\x20faster\x20than\x20deploying\x0a\x20\x20a\x20new\x20build.\x0a\x20\x20','assign','~/settings.json','~/pm2.config.js','join','settings.json','1662186DiRvEF','324odeYXc','~/ses.json'];a82c=function(){return s;};return a82c();}a82a();function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x10e;let f=c[d];return f;},a82d(a,b);}import a82e from'fs';import a82f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command['create']({'name':a82q(0x133),'aliases':[a82q(0x12d)],'validOpts':[''],'requiredOpts':['env'],'mustBeInMakaProject':!![],'usage':a82q(0x129),'isPro':!![],'shortDesc':a82q(0x121),'description':a82q(0x118),'examples':[a82q(0x128)]},async function(a,b){const r=a82q;try{const c=this['fsi'][r(0x12f)](b[r(0x12b)]),d=a82f[r(0x11c)](c,r(0x134)),f=a82e[r(0x130)](d)['toString'](),g=JSON[r(0x114)](f);Object[r(0x119)](g,{'env':c}),Log[r(0x13b)](r(0x112));const h=SSH[r(0x137)](r(0x12e),g);if(!h)throw r(0x127);if(h)Log[r(0x131)]('Remote\x20host\x20connection\x20successful');const i=a82f[r(0x11c)](c,r(0x13c),r(0x132));if(a82e[r(0x113)](i)){const l={'source':i,'dest':r(0x120),'verbose':!![]};SSH[r(0x117)](l,{...g});}const j=a82f[r(0x11c)](c,r(0x139));SSH[r(0x117)]({'source':j,'dest':r(0x11b),'verbose':!![]},{...g});const k=a82f[r(0x11c)](c,r(0x11d));SSH[r(0x117)]({'source':k,'dest':r(0x11a),'verbose':!![]},{...g}),SSH[r(0x138)](r(0x12c),g),await SSH[r(0x124)](r(0x125),{...g},{'verbose':!![]});}catch(m){console['error'](m),process['exit'](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a85d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a85d,c=a();while(!![]){try{var d=parseInt(f(0x142))/0x1*(-parseInt(f(0x141))/0x2)+-parseInt(f(0x145))/0x3*(parseInt(f(0x148))/0x4)+-parseInt(f(0x143))/0x5+-parseInt(f(0x14b))/0x6*(-parseInt(f(0x147))/0x7)+parseInt(f(0x149))/0x8*(parseInt(f(0x14c))/0x9)+-parseInt(f(0x13e))/0xa+-parseInt(f(0x140))/0xb*(-parseInt(f(0x14a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0x87354));var a85b=(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;};}()),a85a=a85b(this,function(){var g=a85d;return a85a[g(0x13f)]()['search'](g(0x146))[g(0x13f)]()[g(0x144)](a85a)[g(0x13d)](g(0x146));});a85a();import'./run.command.js';import'./docker.sub.cmd.js';function a85d(a,b){var c=a85c();return a85d=function(d,e){d=d-0x13d;var f=c[d];return f;},a85d(a,b);}function a85c(){var h=['3306964WeWEpA','288buOpTz','1620204lZQuoy','4332TiCVTO','247230oyJkGJ','search','432960rxhWQL','toString','22YTHLCT','2qBEFce','439981Yuhrtn','217400KRafPf','constructor','3GoUQss','(((.+)+)+)+$','6286niVTRq'];a85c=function(){return h;};return a85c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a83l=a83d;(function(a,b){const i=a83d,c=a();while(!![]){try{const d=-parseInt(i(0x1a9))/0x1+-parseInt(i(0x1b6))/0x2*(-parseInt(i(0x1b5))/0x3)+-parseInt(i(0x1bf))/0x4+-parseInt(i(0x1b2))/0x5*(-parseInt(i(0x1a3))/0x6)+-parseInt(i(0x1b1))/0x7+-parseInt(i(0x1aa))/0x8+-parseInt(i(0x1a1))/0x9*(-parseInt(i(0x1bb))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0xea036));function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0x1a0;let f=c[d];return f;},a83d(a,b);}const a83b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a83d;if(c){const e=c[j(0x1a8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){const k=a83d;return a83a[k(0x1a5)]()[k(0x1b4)](k(0x1bc))[k(0x1a5)]()[k(0x1b9)](a83a)[k(0x1b4)](k(0x1bc));});a83a();import a83e from'./run.command.js';import{execSync}from'child_process';function a83c(){const n=['42LpeRvv','32740xdPnme','docker-compose\x20--project-directory\x20','existsSync','constructor','templateContent','640RwbvbH','(((.+)+)+)+$','appName','join','539696LrCbAe','notice','inherit','642483OzBZjY','PM2\x20Config\x20File:\x20','675858jQNdrc','create','toString','fsi','docker-compose.yaml','apply','1836600VFWZBo','13811488mVfAZP','exit','\x20up\x20--remove-orphans','docker','createFile','pm2.config.js','Docker\x20Compose\x20Path:\x20','11240803epRFTN','65tsMxKS','maka\x20run\x20docker','search'];a83c=function(){return n;};return a83c();}import a83f from'path';import a83g from'fs';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';Command[a83l(0x1a4)]({'name':a83l(0x1ad),'aliases':['d'],'shortDesc':'Run\x20your\x20application\x20in\x20a\x20Docker\x20container','description':'\x0a\x20\x20Run\x20your\x20application\x20in\x20a\x20Docker\x20container.\x20\x20Docker\x20Desktop\x20or\x20Colmia\x20is\x20required.\x0a\x0a\x20\x20Colima\x20is\x20a\x20great\x20alternative\x20to\x20Docker\x20Desktop,\x20and\x20it\x20is\x20free!\x0a\x20\x20Colima:\x20https://github.com/abiosoft/colima\x0a\x0a\x20\x20A\x20docker-compose.yml\x20file\x20(location\x20defaulted\x20to\x20the\x20\x22config/docker\x22\x20folder)\x0a\x20\x20is\x20used\x20to\x20startup\x20mongo\x20and\x20load\x20the\x20built\x20image\x27\x0a\x20\x20','usage':a83l(0x1b3),'isPro':!![],'validOpts':['']},async function(){const m=a83l;try{const a=this[m(0x1a6)]['getMakaProjectConfig'](),b=this[m(0x1a6)]['getAppConfigPath'](m(0x1ad)),c=a83f[m(0x1be)](b,m(0x1a7)),d=a83f[m(0x1be)](b,m(0x1af));Log['notice'](m(0x1a2)+d),Log[m(0x1c0)](m(0x1b0)+c);if(!a83g[m(0x1b8)](c)){const f={'app':a[m(0x1bd)],'appFileCase':paramCase(a[m(0x1bd)])},g=this[m(0x1a6)][m(0x1ba)]({'srcPath':'config/docker-compose.yaml','context':f})+'\x0a';this['fsi'][m(0x1ae)]({'filePath':c,'data':g});}execSync(m(0x1b7)+b+m(0x1ac),{'stdio':m(0x1a0)});}catch(h){process[m(0x1ab)](0x1);}},a83e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a84t=a84d;(function(a,b){const p=a84d,c=a();while(!![]){try{const d=parseInt(p(
|
|
1
|
+
const a84t=a84d;(function(a,b){const p=a84d,c=a();while(!![]){try{const d=parseInt(p(0x9f))/0x1*(parseInt(p(0xb3))/0x2)+parseInt(p(0xa9))/0x3*(parseInt(p(0x93))/0x4)+-parseInt(p(0x7a))/0x5*(-parseInt(p(0x9b))/0x6)+parseInt(p(0x91))/0x7*(-parseInt(p(0x8c))/0x8)+-parseInt(p(0x8a))/0x9*(-parseInt(p(0x8e))/0xa)+-parseInt(p(0x7e))/0xb*(-parseInt(p(0x8d))/0xc)+parseInt(p(0xa3))/0xd*(-parseInt(p(0x76))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0x9322b));const a84b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a84d;if(c){const e=c[q(0x97)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){const r=a84d;return a84a[r(0xae)]()[r(0xa1)](r(0xac))[r(0xae)]()[r(0x84)](a84a)['search'](r(0xac));});a84a();import a84e from'path';import a84f from'fs';import a84g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a84c(){const w=['inspect','production','verbose','constructor','checkMeteorPackage','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)','web.browser.legacy','mobileServer','isFile','56907eGbuur','push','2008OdUiUO','5613864OtYXvt','1280YLSaHA','fsi','settings.json','31143jKZQzb','concat','4jTICnC','splice','Meteor\x20Settings:\x20','development','apply','run','allowIncompatibleUpdate','split','245640DqCiel','excludeArchs','createFile','findProjectDirectory','1FJsIcL','Run\x20your\x20Meteor\x20application','search','--production','24641084xYfqXQ','error','local','argv','port','Node\x20Env\x20Config:\x20','3556347vNewel','ios','length','(((.+)+)+)+$','extraPackages','toString','rawLogs','slice','process.env','app','1976918XeAJqZ','Cannot\x20find\x20Node\x20Environment\x20file,\x20creating:\x20','--settings','notice','isDirectory','\x0a\x20\x20maka\x20run\x0a\x20\x20-e\x20|\x20--env\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20target\x20environment.\x20\x20Will\x20automatically\x20pull\x20in\x20the\x20meteor\x20settings\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20file\x20(settings.json)\x20and\x20any\x20environment\x20options\x20that\x20have\x20been\x20enabled.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20-r\x20|\x20--raw-logs\x20\x20\x20\x20\x20\x20\x20Only\x20output\x20the\x20meteor\x20logs\x20without\x20the\x20timestamp.\x0a\x0a\x20\x20-p\x20|\x20--port\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20port\x20to\x20run\x20the\x20meteor\x20server\x20on.\x20Defaults\x20to\x20port\x203000.\x0a\x0a\x20\x20-i\x20|\x20--inspect\x20\x20\x20\x20\x20\x20\x20\x20Tells\x20the\x20meteor\x20server\x20to\x20run\x20nodejs\x20in\x20debug\x20mode.\x20Starts\x20a\x20debug\x20session\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20which\x20can\x20be\x20accessed\x20by\x20Chrome\x20Dev\x20Tools\x20or\x20another\x20debug\x20terminal.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20-m\x20|\x20--mobile-server\x20\x20Specify\x20a\x20different\x20backend\x20server\x20to\x20connect\x20to.\x20\x20Mainly\x20used\x20when\x20running\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20-x\x20|\x20--exclude-archs\x20\x20Don\x27t\x20create\x20bundles\x20for\x20certain\x20web\x20architectures\x20(comma\x20separated,\x20for\x20example:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20--production\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Runs\x20the\x20application\x20in\x20production\x20mode;\x20minifies\x20and\x20bundles\x20all\x20files\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20removes\x20development\x20packages.\x0a\x20\x20','14CWpkUI','info','exit','.meteor','20FNGyhI','config','join','filter','11cnKxrw','env','cordova-build'];a84c=function(){return w;};return a84c();}const syncSource=function(a){const s=a84d;a84f['openSync'](a,'r'),a84g[s(0x7b)]({'path':a});},Run=Command['create']({'name':a84t(0x98),'mustBeInMakaProject':!![],'aliases':['r'],'shortDesc':a84t(0xa0),'description':a84t(0x75),'validOpts':[a84t(0x7f),a84t(0xaf),a84t(0xa7),a84t(0x81),a84t(0x88),a84t(0x83),a84t(0x99),a84t(0xad),'x',a84t(0x9c),a84t(0x82),'ci']},async function(a,b){const u=a84t;try{await this[u(0x8f)][u(0x85)]('autoupdate',{'shouldInstall':!![]});const c=a[0x0];if(c===u(0xaa)){const l=this[u(0x8f)][u(0x9e)](),m=a84e[u(0x7c)](l,u(0xb2),u(0x79),u(0xa5),u(0x80));this[u(0x8f)][u(0xb7)](m)&&await rimraf(m);}!b[u(0x9c)]&&!b['x']&&(a=a[u(0x92)](['--exclude-archs',u(0x87)]));if(b[u(0x88)]&&typeof b[u(0x88)]==='boolean')throw u(0x86);const d=b[u(0x7f)]?b['env']:u(0x96),f=this['fsi']['getAppConfigPath'](d),g=a84e[u(0x7c)](f,u(0xb1));let h=a84e['join'](f,u(0x90));b['settings']?h=b['settings']:h=a84e[u(0x7c)](f,u(0x90));this['fsi'][u(0x89)](g)?(Log[u(0xb6)](u(0xa8)+g),syncSource(g)):(Log[u(0x77)](u(0xb4)+g),this['fsi'][u(0x9d)]({'filePath':g,'data':''}));this['fsi'][u(0x89)](h)?(Log[u(0xb6)](u(0x95)+h),a=a[u(0x92)]([u(0xb5),h])):Log['warn']('Cannot\x20find\x20Meteor\x20Settings\x20File:\x20'+h);const i=f[u(0x9a)](a84e['sep']),j=i[i[u(0xab)]-0x1];j==='production'&&a[u(0x8b)](u(0xa2));const k=process[u(0xa6)][u(0xb0)](0x2)[u(0x7d)](n=>n!=='run')['filter'](n=>n!==a[0x0]);k['forEach']((n,o)=>{const v=u;n==='--env'&&k[v(0x94)](o,0x2),n==='-e'&&k['splice'](o,0x2);}),this[u(0x8f)]['invokeMeteorCommand'](u(0x98),a['concat'](k));}catch(n){Log[u(0xa4)](n),process[u(0x78)](0x1);}});function a84d(a,b){const c=a84c();return a84d=function(d,e){d=d-0x75;let f=c[d];return f;},a84d(a,b);}export default Run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a89d,c=a();while(!![]){try{var d
|
|
1
|
+
function a89c(){var h=['737156uWazKa','1220056pJYXcG','3291CnsitZ','62635wokGLz','119042OvSmgM','5577723vyCejk','590YCaPnH','54rNtymU','(((.+)+)+)+$','1908zPZpRE','constructor','toString','1RpqCFf','search','313466tMoJsZ'];a89c=function(){return h;};return a89c();}function a89d(a,b){var c=a89c();return a89d=function(d,e){d=d-0x150;var f=c[d];return f;},a89d(a,b);}(function(a,b){var f=a89d,c=a();while(!![]){try{var d=parseInt(f(0x159))/0x1*(-parseInt(f(0x15b))/0x2)+-parseInt(f(0x15e))/0x3*(parseInt(f(0x156))/0x4)+-parseInt(f(0x150))/0x5*(parseInt(f(0x154))/0x6)+parseInt(f(0x15c))/0x7+-parseInt(f(0x15d))/0x8+parseInt(f(0x152))/0x9+parseInt(f(0x153))/0xa*(parseInt(f(0x151))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0x661fd));var a89b=(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;};}()),a89a=a89b(this,function(){var g=a89d;return a89a[g(0x158)]()['search'](g(0x155))['toString']()[g(0x157)](a89a)[g(0x15a)](g(0x155));});a89a();import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a86j=a86d;(function(a,b){const h=a86d,c=a();while(!![]){try{const d=parseInt(h(0x141))/0x1*(-parseInt(h(0x15d))/0x2)+parseInt(h(0x156))/0x3*(-parseInt(h(0x14e))/0x4)+parseInt(h(0x13d))/0x5+parseInt(h(0x13a))/0x6*(-parseInt(h(0x151))/0x7)+parseInt(h(0x154))/0x8*(parseInt(h(0x152))/0x9)+-parseInt(h(0x158))/0xa*(parseInt(h(0x14b))/0xb)+-parseInt(h(0x150))/0xc*(-parseInt(h(0x15c))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0xd0906));const a86b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const i=a86d;return a86a[i(0x155)]()['search']('(((.+)+)+)+$')['toString']()['constructor'](a86a)[i(0x143)]('(((.+)+)+)+$');});function a86c(){const l=['global-config','13858754AwMuLe','54qelQlb','exit','workspace','openai','setGlobalConfig','Set\x20allowInsecure:\x20','1715634QRpnnR','fsi','Set\x20OpenAI\x20Key:\x20','3197515QZVhZz','\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','Set\x20global\x20Maka-CLI\x20settings','cacert','16091tEsZQL','Set\x20workspace:\x20','search','dark','resolve','pallet','Could\x20not\x20find\x20directory','boolean','isDirectory','disallowInsecure','5981635kvoACa','isFile','create','26328aChEhj','error','24XeKIZP','7pzzDti','9iZBlEF','success','8971672psjvoo','toString','561YDseuq','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','20XDcFqD','maka\x20set:global-config\x20--cacert\x20<path>','allowInsecure'];a86c=function(){return l;};return a86c();}a86a();import a86e from'path';function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0x138;let f=c[d];return f;},a86d(a,b);}import a86f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a86j(0x14d)]({'name':a86j(0x15b),'usage':'maka\x20set:global-config','aliases':['gc'],'maxOptsLength':0x3,'validOpts':[{'name':'cacert','boolFlag':![]},{'name':a86j(0x15a),'boolFlag':!![]},{'name':a86j(0x14a),'boolFlag':!![]},{'name':a86j(0x15f),'boolFlag':![]},{'name':'openai','boolFlag':![]},{'name':'help','boolFlag':!![]},{'name':a86j(0x146),'values':['light',a86j(0x144)]}],'shortDesc':a86j(0x13f),'description':a86j(0x13e),'examples':[a86j(0x159),'maka\x20set:gc\x20--insecure\x20<path>','maka\x20set:gc\x20--workspace\x20<path>']},async function(a,b){const k=a86j;try{if(b[k(0x140)]){if(this['fsi'][k(0x14c)](b[k(0x140)]))await this[k(0x13b)][k(0x138)]({'cert':b['cacert']}),Log[k(0x153)]('Set\x20CA\x20Cert\x20Path:\x20'+b['cacert']);else{const c=typeof b[k(0x140)]===k(0x148)?'Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.':k(0x157)+b[k(0x140)];throw Log['error'](c);}}if(b[k(0x15f)]){const d=this[k(0x13b)][k(0x149)](b[k(0x15f)]);if(d)await this[k(0x13b)][k(0x138)]({'workspace':a86e[k(0x145)](b[k(0x15f)])}),Log[k(0x153)](k(0x142)+a86e[k(0x145)](b[k(0x15f)]));else throw Log['error'](k(0x147));}b[k(0x160)]&&(await this[k(0x13b)][k(0x138)]({'openai':b[k(0x160)]}),Log[k(0x153)](k(0x13c)+b[k(0x160)]));b[k(0x146)]&&(await this['fsi'][k(0x138)]({'pallet':b[k(0x146)]}),Log[k(0x153)]('Set\x20color\x20pallet\x20to:\x20'+b['pallet']));if(b[k(0x15a)]){if(b[k(0x15a)]&&b[k(0x14a)])throw Log[k(0x14f)]('One\x20or\x20the\x20other\x20buddy');let f=b[k(0x15a)];b[k(0x14a)]&&(f=![]),await this['fsi'][k(0x138)]({'allowInsecure':f}),Log[k(0x153)](k(0x139)+f);}process[k(0x15e)](0x0);}catch(g){console[k(0x14f)](g),process[k(0x15e)](0x0);}},a86f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var a87i=a87d;(function(a,b){var f=a87d,c=a();while(!![]){try{var d
|
|
1
|
+
var a87i=a87d;(function(a,b){var f=a87d,c=a();while(!![]){try{var d=-parseInt(f(0xf5))/0x1+parseInt(f(0xf9))/0x2*(parseInt(f(0xfd))/0x3)+-parseInt(f(0xf7))/0x4*(parseInt(f(0xf0))/0x5)+parseInt(f(0xf3))/0x6*(parseInt(f(0xfe))/0x7)+parseInt(f(0xfa))/0x8*(parseInt(f(0xef))/0x9)+parseInt(f(0xf1))/0xa*(-parseInt(f(0xf8))/0xb)+parseInt(f(0xf2))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0x94dcf));var a87b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a87d;if(c){var e=c[g(0xfc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){var h=a87d;return a87a['toString']()[h(0x100)]('(((.+)+)+)+$')[h(0xff)]()[h(0xee)](a87a)[h(0x100)](h(0xfb));});a87a();import a87e from'./set.command.js';function a87c(){var j=['7lIuiDE','toString','search','constructor','6345SfgpyR','541935JWjxEZ','151370ZzQmVY','1904484sqiudy','2082PSVBAX','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','1164838ZELcmX','Set\x20local\x20maka\x20app\x20settings','4VddfFv','209yjSdGu','1052KlMPtP','9384fxBlwr','(((.+)+)+)+$','apply','6756qKXoNY'];a87c=function(){return j;};return a87c();}function a87d(a,b){var c=a87c();return a87d=function(d,e){d=d-0xee;var f=c[d];return f;},a87d(a,b);}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':'local-config','usage':'maka\x20set:local-config','examples':[],'aliases':['lc'],'mustBeInMakaProject':!![],'shortDesc':a87i(0xf6),'validOpts':[],'description':a87i(0xf4)},async function(){Log['notice']('Sorry,\x20not\x20implemented\x20yet');},a87e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a88i=a88d;(function(a,b){const f=a88d,c=a();while(!![]){try{const d
|
|
1
|
+
function a88c(){const k=['toString','apply','6914LGtZZG','7267210MsZDpZ','34917myHqNI','\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','3293939jVHTEk','17269UxNQcN','findSubCommand','220uGOctP','340314PzPgLl','set','7675488HcOdhw','5WjLPXr','maka\x20set:<sub-command>','constructor','search','74PcZVsP','(((.+)+)+)+$','472rCXfQy','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally'];a88c=function(){return k;};return a88c();}function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x111;let f=c[d];return f;},a88d(a,b);}const a88i=a88d;(function(a,b){const f=a88d,c=a();while(!![]){try{const d=-parseInt(f(0x114))/0x1*(-parseInt(f(0x123))/0x2)+-parseInt(f(0x116))/0x3*(-parseInt(f(0x11b))/0x4)+-parseInt(f(0x11f))/0x5*(-parseInt(f(0x11c))/0x6)+parseInt(f(0x119))/0x7*(-parseInt(f(0x125))/0x8)+parseInt(f(0x11e))/0x9+-parseInt(f(0x115))/0xa+-parseInt(f(0x118))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0x9abbf));const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a88d;if(c){const e=c[g(0x113)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const h=a88d;return a88a[h(0x112)]()['search'](h(0x124))[h(0x112)]()[h(0x121)](a88a)[h(0x122)]('(((.+)+)+)+$');});a88a();import{Command}from'../../command.js';const SetCommand=Command['create']({'name':a88i(0x11d),'usage':a88i(0x120),'shortDesc':a88i(0x111),'description':a88i(0x117),'validOpts':[]},async function(a,b){const j=a88i,c=a[0x0],d=this[j(0x11a)](c);d&&this['runSubCommand'](c,a,b);});export default SetCommand;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a90m=a90d;(function(a,b){const j=a90d,c=a();while(!![]){try{const d=parseInt(j(
|
|
1
|
+
const a90m=a90d;(function(a,b){const j=a90d,c=a();while(!![]){try{const d=parseInt(j(0x115))/0x1+parseInt(j(0x12b))/0x2*(parseInt(j(0x123))/0x3)+parseInt(j(0x11d))/0x4+parseInt(j(0x110))/0x5+-parseInt(j(0x117))/0x6*(parseInt(j(0x11c))/0x7)+parseInt(j(0x128))/0x8+-parseInt(j(0x124))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0xa8e2c));const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a90d;if(c){const e=c[k(0x126)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const l=a90d;return a90a['toString']()[l(0x116)](l(0x112))['toString']()[l(0x114)](a90a)['search']('(((.+)+)+)+$');});a90a();import a90e from'fs';function a90c(){const o=['ssh.json','3985355zDVPPq','readFileSync','(((.+)+)+)+$','verbose','constructor','18858cLwVnz','search','6BqFlcV','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','toString','env','maka\x20ssh\x20--env\x20staging','2391697nboFdE','1614676chPjFZ','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','error','create','sshSync','maka\x20ssh\x20--env\x20prod','39567SiTnnj','19718415aStyvr','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','apply','parse','9812904fXPEJJ','maka\x20ssh\x20<command>','exit','118PptXkM'];a90c=function(){return o;};return a90c();}import a90f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0x110;let f=c[d];return f;},a90d(a,b);}import{Log}from'../tools/log/log.class.js';Command[a90m(0x120)]({'name':'ssh','usage':a90m(0x129),'mustBeInMakaProject':!![],'requiredOpts':[a90m(0x11a)],'validOpts':[a90m(0x11a),'verbose'],'isPro':!![],'shortDesc':a90m(0x125),'examples':['maka\x20ssh\x20--env\x20dev',a90m(0x11b),a90m(0x122),'maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22',a90m(0x118),a90m(0x11e)]},async function(a,b){const n=a90m;try{const c=this['fsi']['getAppConfigPath'](b[n(0x11a)]);let d='';a['length']>0x0&&(d=a[0x0]);const f=a90f['join'](c,n(0x12c)),g=a90e[n(0x111)](f)[n(0x119)](),h=JSON[n(0x127)](g);Object['assign'](h,{'env':c}),SSH[n(0x121)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b[n(0x113)]});}catch(i){Log[n(0x11f)](i),process[n(0x12a)](0x1);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a91y=a91d;(function(a,b){const v=a91d,c=a();while(!![]){try{const d=-parseInt(v(0xc6))/0x1*(-parseInt(v(0xdc))/0x2)+parseInt(v(0xd3))/0x3*(-parseInt(v(0xf1))/0x4)+parseInt(v(0xf4))/0x5*(-parseInt(v(0xe0))/0x6)+parseInt(v(0xc8))/0x7+parseInt(v(0xc5))/0x8*(parseInt(v(0xe7))/0x9)+parseInt(v(0xd1))/0xa*(-parseInt(v(0xef))/0xb)+-parseInt(v(0xc7))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0xc5f10));const a91b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a91d;if(c){const e=c[w(0xbf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){const x=a91d;return a91a[x(0xbb)]()[x(0xe2)]('(((.+)+)+)+$')['toString']()[x(0xea)](a91a)[x(0xe2)]('(((.+)+)+)+$');});function a91d(a,b){const c=a91c();return a91d=function(d,e){d=d-0xba;let f=c[d];return f;},a91d(a,b);}function a91c(){const A=['env','Create\x20and\x20manage\x20your\x20SSL\x20operations.','domainNames','sudo\x20snap\x20install\x20--classic\x20certbot','ssh','41960JeDUgt','letsencrypt.json','3XqUZjG','notice','uname\x20-a','fsi','assign','New\x20CSR\x20written\x20to\x20','create','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','mkKeysDir','33566FQNvlv','appName','letsencrypt','success','5298wmtZXg','Checking\x20remote\x20host\x20availability','search','email','ssl','join','[?]\x20Domains\x20to\x20register:\x20','90918ijNGIp','readFileSync','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','constructor','error','.csr','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','.crt','2156gsbCtc','Verifying\x20Letsencrypt\x20configuration','1141892HzMegi','withSpinner','emailUpdate','7510oCIGqU','maka\x20ssl\x20--env\x20dev\x20generate-csr','genSSC','domains','Using\x20saved\x20letsencrypt\x20config','toString','maka\x20ssl\x20[command]','\x20--email\x20','ping','apply','Email\x20to\x20use\x20for\x20auto-updates:\x20','existsSync','.key','Remote\x20host\x20connection\x20successful','parse','920ZjLDpR','90aOwanc','6980820OxszqK','8081206NqwWpO','genCSR','generate-ssc','getAppConfigPath'];a91c=function(){return A;};return a91c();}a91a();import a91e from'fs';import a91f from'path';import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command[a91y(0xd9)]({'name':a91y(0xe4),'usage':a91y(0xbc),'validOpts':[a91y(0xf7),a91y(0xe3)],'requiredOpts':[a91y(0xcc)],'shortDesc':a91y(0xcd),'mustBeInMakaProject':!![],'minArgLength':0x1,'isPro':!![],'examples':[a91y(0xf5),a91y(0xda),'maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process']},async function(a,b){const z=a91y,c=this[z(0xd6)]['getMakaProjectConfig'](),d=this[z(0xd6)][z(0xcb)](b[z(0xcc)]),f=this[z(0xd6)][z(0xdb)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g==='generate-csr')SSL[z(0xc9)]({'keyName':c['appName']+z(0xc2),'csrName':c[z(0xdd)]+z(0xec),'cwd':f});else{if(g===z(0xca)){if(!a91e[z(0xc1)](a91f['join'](f,c[z(0xdd)]+z(0xc2))))throw z(0xe9)+a91f[z(0xe5)](f,c[z(0xdd)]+z(0xc2));if(!a91e[z(0xc1)](a91f[z(0xe5)](f,c[z(0xdd)]+'.csr')))throw'The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20'+a91f['join'](f,c[z(0xdd)]+'.csr');SSL[z(0xf6)]({'keyName':c['appName']+z(0xc2),'crtName':c[z(0xdd)]+z(0xee),'cwd':f}),Log[z(0xd4)](z(0xd8)+f);}else{if(g===z(0xde)){let h=b['domains'],i=b['email'];try{const p=a91e[z(0xe8)](a91f[z(0xe5)](d,z(0xd2)))[z(0xbb)](),q=JSON['parse'](p);h=b['domains']?b[z(0xf7)]:q[z(0xce)],i=b[z(0xe3)]?b[z(0xe3)]:q[z(0xf3)],(!b[z(0xe3)]||!b['domains'])&&Log[z(0xd4)](z(0xba));}catch(r){}const j=JSON[z(0xc4)](a91e[z(0xe8)](d+'/ssh.json')[z(0xbb)]());Object[z(0xd7)](j,{'env':d}),Log[z(0xd4)](z(0xe1));try{const s=SSH[z(0xbe)](z(0xd5),j);if(!s)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(s)Log[z(0xdf)](z(0xc3));}catch(t){Log[z(0xeb)](t);return;}const k=Log[z(0xf2)]();k['start'](z(0xf0)),SSH['ssh'](z(0xed),{...j}),SSH[z(0xd0)](z(0xcf),{...j}),SSH[z(0xd0)]('sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot',{...j}),k[z(0xdf)]();const l=h?h:await Actions['ask'](z(0xe6)),m=i?i:await Actions['ask'](z(0xc0));SSH[z(0xd0)]('sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20'+l+z(0xbd)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON['stringify'](n,null,0x2);a91e['writeFileSync'](a91f[z(0xe5)](d,z(0xd2)),o);}else throw'Please\x20provide\x20a\x20command.';}}}catch(u){console[z(0xeb)](u),process['exit'](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a92c(){const t=['join','test','parse','getAppConfigPath','1038348bwGkxK','tests','--full-app','--settings','apply','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','12343610TkxMHS','exit','38KkLSxW','(((.+)+)+)+$','toString','invokeMeteorCommand','85587IRqzaD','error','jasmine','driverPackage','64840ccHAWG','env','--env','1358917oUOqoq','test-packages','development','unit','Cannot\x20find\x20Node\x20Environment\x20File:\x20','argv','config.json','Node\x20Env\x20Config:\x20','fsi','--packages','create','182752tlhvTR','process.env','utf8','packages','forEach','testAppPath','maka\x20test','driver','inspect','splice','none','isFile','concat','engines','5QVZZmp','readFileSync','meteortesting:mocha','1179CnPZoY','warn','filter','once','slice','driver-package','Meteor\x20Settings:\x20','search','config','findProjectDirectory','5914074iifcrJ','settings.json','.maka','constructor'];a92c=function(){return t;};return a92c();}const a92q=a92d;function a92d(a,b){const c=a92c();return a92d=function(d,e){d=d-0xf4;let f=c[d];return f;},a92d(a,b);}(function(a,b){const m=a92d,c=a();while(!![]){try{const d=-parseInt(m(0x128))/0x1+-parseInt(m(0x130))/0x2*(-parseInt(m(0x134))/0x3)+parseInt(m(0x105))/0x4+parseInt(m(0x113))/0x5*(parseInt(m(0x120))/0x6)+parseInt(m(0xfa))/0x7+parseInt(m(0xf7))/0x8*(parseInt(m(0x116))/0x9)+-parseInt(m(0x12e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0x87e33));const a92b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a92d;if(c){const e=c[n(0x12c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){const o=a92d;return a92a[o(0x132)]()[o(0x11d)](o(0x131))[o(0x132)]()[o(0x123)](a92a)[o(0x11d)](o(0x131));});a92a();import a92e from'fs';import a92f from'path';import a92g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const p=a92d;a92e['openSync'](a,'r'),a92g[p(0x11e)]({'path':a});};Command[a92q(0x104)]({'name':'test','mustBeInMakaProject':!![],'validOpts':[a92q(0x119),a92q(0x108),a92q(0x10c),a92q(0xf6),a92q(0xfd),a92q(0xf8),'rawLogs','port',a92q(0x10d),a92q(0x10a)],'usage':a92q(0x10b),'aliases':['t',a92q(0x129)],'shortDesc':a92q(0x12d),'examples':[]},function(a,b){const r=a92q;try{let c=this[r(0x102)][r(0x127)](r(0xfc));b['env']&&(c=this[r(0x102)][r(0x127)](b[r(0xf8)]));(!b[r(0xfd)]||!!b['once'])&&(a=a['concat']([r(0x12a)]));b[r(0xfd)]&&delete b[r(0xfd)];let d=b[r(0x11b)]||b[r(0x10c)]||r(0x10f);if(d===r(0x10f)){const j=JSON[r(0x126)](a92e[r(0x114)](a92f['join'](this[r(0x102)][r(0x11f)](),r(0x122),r(0x100)),r(0x107)));if(j[r(0x112)]['test']===r(0xf5))d='sanjo:jasmine';else j[r(0x112)][r(0x125)]==='mocha'&&(d=r(0x115));}if(d===r(0x10f))throw'This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)';(!b[r(0x11b)]||!b[r(0x10c)])&&(a=a[r(0x111)](['--driver-package',d]));const f=a92f[r(0x124)](c,r(0x121));this[r(0x102)][r(0x110)](f)?(Log['notice'](r(0x11c)+f),a=a['concat']([r(0x12b),f])):Log[r(0x117)]('Cannot\x20find\x20Meteor\x20Settings\x20File:\x20'+f);const g=a92f[r(0x124)](c,r(0x106));this[r(0x102)][r(0x110)](g)?(Log['notice'](r(0x101)+g),syncSource(g)):Log[r(0x117)](r(0xfe)+g);const h=process[r(0xff)][r(0x11a)](0x2)[r(0x118)](k=>k!==r(0xf9))[r(0x118)](k=>k!==r(0x125))[r(0x118)](k=>k!==a[0x0]);h[r(0x109)]((k,l)=>{const s=r;(k===s(0xf9)||k==='--driver')&&h['splice'](l,0x2),k===s(0x103)&&h[s(0x10e)](l,0x1);});const i=b[r(0x108)]?r(0xfb):'test';this[r(0x102)][r(0x133)](i,a[r(0x111)](h));}catch(k){console[r(0xf4)](k),process[r(0x12f)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a93n=a93d;(function(a,b){const k=a93d,c=a();while(!![]){try{const d=parseInt(k(
|
|
1
|
+
const a93n=a93d;function a93c(){const p=['840844GsGSIR','\x20node\x20-v','error','\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','notice','216768mNkqnr','fsi','974067sIyQoW','win32','Project\x27s\x20Meteor\x20Node\x20Version\x20','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','majestic','(((.+)+)+)+$','7LeqjYd','4.7.16','----------------------System----------------------------','7398944aLjpnm','node\x20-v','exit','version','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','isMakaProject',')\x20to\x20at\x20least\x20meteor\x27s\x20(','platform','Project\x27s\x20Meteor\x20Version\x20','System\x27s\x20Node\x20Version\x20','toString','1673744cBAQqD','verbose','meteor','\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','apply','maka\x20version','maka\x20version\x20--verbose','623945wObzLb','search','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','getProjectsMeteorNodeVersion','2140524igUXSh','warn','bright','maka\x20v','replace','Maka\x20'];a93c=function(){return p;};return a93c();}(function(a,b){const k=a93d,c=a();while(!![]){try{const d=parseInt(k(0xc8))/0x1+-parseInt(k(0xb7))/0x2+-parseInt(k(0xcf))/0x3+parseInt(k(0xcd))/0x4+parseInt(k(0xbe))/0x5+-parseInt(k(0xc2))/0x6*(parseInt(k(0xa8))/0x7)+parseInt(k(0xab))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0x6818a));const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a93d;if(c){const e=c[l(0xbb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const m=a93d;return a93a[m(0xb6)]()['search']('(((.+)+)+)+$')['toString']()['constructor'](a93a)[m(0xbf)](m(0xa7));});function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0xa4;let f=c[d];return f;},a93d(a,b);}a93a();import{execSync}from'child_process';import a93e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const pjson={'version':a93n(0xa9)};Command['create']({'name':'version','aliases':['v'],'usage':a93n(0xbc),'maxArgLength':0x1,'validOpts':[a93n(0xb8)],'shortDesc':a93n(0xa5),'examples':[a93n(0xc5),'maka\x20version',a93n(0xbd)],'description':a93n(0xcb)},async function(a,b){const o=a93n;try{const c=process[o(0xb3)]===o(0xd0)?'meteor.bat':o(0xb9);Log[o(0xa6)](o(0xc7)+pjson[o(0xae)]),await this[o(0xce)]['compareMakaToLatest']();if(b[o(0xb8)]){await this[o(0xce)]['compareMakaToLatest'](),Log['bright'](o(0xaa));const d=this[o(0xce)]['getGlobalMeteorVersion']();Log[o(0xc4)](('System\x27s\x20Meteor\x20Version\x20'+d)[o(0xc6)]('\x0a',''));const f=execSync(c+o(0xc9))[o(0xb6)]()[o(0xc6)](/\r?\n|\r/,'')['replace']('v','');Log[o(0xc4)](o(0xc0)+f);const g=execSync(o(0xac))[o(0xb6)]()[o(0xc6)](/\r?\n|\r/,'')['replace']('v','');a93e['gt'](f,g)?(Log[o(0xc3)](o(0xb5)+g),Log[o(0xc3)]('\x20!\x20consider\x20updating\x20your\x20node\x20version\x20('+g+o(0xb2)+f+')')):Log[o(0xc4)](o(0xb5)+g);if(this[o(0xce)][o(0xb1)]()){Log['bright']('----------------------Project----------------------------');const h=this[o(0xce)]['getProjectMeteorVersion']();a93e['gt'](d,h)?(Log[o(0xc3)](o(0xb4)+h[o(0xc6)]('\x0a','')),Log['warn'](o(0xb0)+d+'\x22')):Log[o(0xcc)]((o(0xb4)+h)['replace']('\x0a',''));const i=await this[o(0xce)][o(0xc1)]();i==='N/A'?(Log[o(0xc3)](o(0xa4)+i),Log[o(0xc3)](o(0xaf))):Log[o(0xc4)](o(0xa4)+i),Log[o(0xc4)](o(0xba));}}}catch(j){console[o(0xca)](j),process[o(0xad)](0x0);}});
|
package/bundle/obf/src/error.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a95d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a95d,c=a();while(!![]){try{var d=parseInt(f(0x10b))/0x1+-parseInt(f(0x110))/0x2+parseInt(f(0x10e))/0x3*(-parseInt(f(0x109))/0x4)+parseInt(f(0x10c))/0x5*(-parseInt(f(0x108))/0x6)+-parseInt(f(0x10d))/0x7*(parseInt(f(0x10f))/0x8)+parseInt(f(0x111))/0x9+parseInt(f(0x10a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a95c,0xcc40e));var a95b=(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;};}()),a95a=a95b(this,function(){var g=a95d;return a95a[g(0x106)]()[g(0x107)]('(((.+)+)+)+$')[g(0x106)]()['constructor'](a95a)[g(0x107)]('(((.+)+)+)+$');});a95a();export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}function a95d(a,b){var c=a95c();return a95d=function(d,e){d=d-0x106;var f=c[d];return f;},a95d(a,b);}function a95c(){var h=['587874LqhOKV','4FcwQUW','1319370VnHmVs','1085647LCjeHD','50AzqWSx','2800kErWMe','174897HdTplu','5232iUBIBE','308eYRWPy','8269929tYTNbc','toString','search'];a95c=function(){return h;};return a95c();}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
|
package/bundle/obf/src/exec.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
function a96d(a,b){var c=a96c();return a96d=function(d,e){d=d-
|
|
2
|
+
var a96i=a96d;function a96d(a,b){var c=a96c();return a96d=function(d,e){d=d-0x1db;var f=c[d];return f;},a96d(a,b);}(function(a,b){var f=a96d,c=a();while(!![]){try{var d=-parseInt(f(0x1dc))/0x1+parseInt(f(0x1df))/0x2*(-parseInt(f(0x1e7))/0x3)+-parseInt(f(0x1e8))/0x4+-parseInt(f(0x1e3))/0x5+parseInt(f(0x1e1))/0x6*(parseInt(f(0x1e4))/0x7)+parseInt(f(0x1e9))/0x8+-parseInt(f(0x1eb))/0x9*(-parseInt(f(0x1e6))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a96c,0xd7b24));var a96b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a96d;if(c){var e=c[g(0x1db)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a96a=a96b(this,function(){var h=a96d;return a96a[h(0x1ea)]()['search'](h(0x1e2))['toString']()[h(0x1e0)](a96a)[h(0x1de)](h(0x1e2));});a96a(),process[a96i(0x1e5)][a96i(0x1dd)]=a96i(0x1ec);import'./maka.js';function a96c(){var j=['apply','544735dvKNwX','NODE_OPTIONS','search','303540WGwxMl','constructor','524526BkzxEI','(((.+)+)+)+$','777715HLNLUL','77idIZhX','env','840TUqHAj','9fSODjY','98348aGfvNA','1008320aIocxp','toString','104571tupwSP','--experimental-modules\x20--no-warnings\x20--experimental-json-modules'];a96c=function(){return j;};return a96c();}
|