@maka/maka-cli 4.7.21 → 4.7.23
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/README.md +2 -0
- package/bundle/obf/package.json +1 -1
- package/bundle/obf/src/README.md +2 -0
- package/bundle/obf/src/command.js +1 -1
- package/bundle/obf/src/commands/_index.js +1 -1
- package/bundle/obf/src/commands/ai.js +1 -1
- package/bundle/obf/src/commands/aws/_index.js +1 -1
- package/bundle/obf/src/commands/aws/aws.command.js +1 -1
- package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/build/_index.js +1 -1
- package/bundle/obf/src/commands/build/build.js +1 -1
- package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/create.js +1 -1
- package/bundle/obf/src/commands/debug.js +1 -1
- package/bundle/obf/src/commands/deploy/_index.js +1 -1
- package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
- package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/_index.js +1 -1
- package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/play.command.js +1 -1
- package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/generate.js +1 -1
- package/bundle/obf/src/commands/get/_index.js +1 -1
- package/bundle/obf/src/commands/get/get.command.js +1 -1
- package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/help.js +1 -1
- package/bundle/obf/src/commands/install.js +1 -1
- package/bundle/obf/src/commands/jsdoc.js +1 -1
- package/bundle/obf/src/commands/lint.js +1 -1
- package/bundle/obf/src/commands/login.js +1 -1
- package/bundle/obf/src/commands/logout.js +1 -1
- package/bundle/obf/src/commands/logs.js +1 -1
- package/bundle/obf/src/commands/maka.cmd.js +1 -1
- package/bundle/obf/src/commands/murder.js +1 -1
- package/bundle/obf/src/commands/proxy.js +1 -1
- package/bundle/obf/src/commands/reconfig.js +1 -1
- package/bundle/obf/src/commands/run/_index.js +1 -1
- package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/run/run.command.js +1 -1
- package/bundle/obf/src/commands/set/_index.js +1 -1
- package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/set.command.js +1 -1
- package/bundle/obf/src/commands/ssh.js +1 -1
- package/bundle/obf/src/commands/ssl.js +1 -1
- package/bundle/obf/src/commands/test.js +1 -1
- package/bundle/obf/src/commands/version.js +1 -1
- package/bundle/obf/src/error.js +1 -1
- package/bundle/obf/src/exec.js +1 -1
- package/bundle/obf/src/generator.js +1 -1
- package/bundle/obf/src/generators/_index.js +1 -1
- package/bundle/obf/src/generators/api.js +1 -1
- package/bundle/obf/src/generators/collection.js +1 -1
- package/bundle/obf/src/generators/component.js +1 -1
- package/bundle/obf/src/generators/config.js +1 -1
- package/bundle/obf/src/generators/dbc.js +1 -1
- package/bundle/obf/src/generators/dockerfile.js +1 -1
- package/bundle/obf/src/generators/hook.js +1 -1
- package/bundle/obf/src/generators/kits/_index.js +1 -1
- package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
- package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
- package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
- package/bundle/obf/src/generators/kits/kit.js +1 -1
- package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
- package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
- package/bundle/obf/src/generators/layout.js +1 -1
- package/bundle/obf/src/generators/maka.gen.js +1 -1
- package/bundle/obf/src/generators/methods.js +1 -1
- package/bundle/obf/src/generators/package.js +1 -1
- package/bundle/obf/src/generators/page.js +1 -1
- package/bundle/obf/src/generators/publish.js +1 -1
- package/bundle/obf/src/generators/route.js +1 -1
- package/bundle/obf/src/generators/service.js +1 -1
- package/bundle/obf/src/generators/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/translation.js +1 -1
- package/bundle/obf/src/maka.js +1 -1
- package/bundle/obf/src/templates/meteor/project/package.json +3 -2
- package/bundle/obf/src/tool.js +1 -1
- package/bundle/obf/src/tools/actions/actions.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
- package/bundle/obf/src/tools/docker/docker.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
- package/bundle/obf/src/tools/https/https.class.js +1 -1
- package/bundle/obf/src/tools/https/https.interface.js +1 -1
- package/bundle/obf/src/tools/log/log.class.js +1 -1
- package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
- package/bundle/obf/src/tools/options/options.class.js +1 -1
- package/bundle/obf/src/tools/progress/progress.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a76r=a76d;(function(a,b){const p=a76d,c=a();while(!![]){try{const d=parseInt(p(0x11a))/0x1*(-parseInt(p(0xfc))/0x2)+parseInt(p(0x114))/0x3*(-parseInt(p(0x10a))/0x4)+parseInt(p(0x112))/0x5+-parseInt(p(0x10f))/0x6*(-parseInt(p(0x11b))/0x7)+parseInt(p(0x11e))/0x8*(-parseInt(p(0x125))/0x9)+parseInt(p(0x101))/0xa+-parseInt(p(0x102))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a76c,0x84ec4));const a76b=(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;};}()),a76a=a76b(this,function(){const q=a76d;return a76a[q(0x10b)]()[q(0xff)](q(0x109))[q(0x10b)]()[q(0x111)](a76a)[q(0xff)]('(((.+)+)+)+$');});function a76d(a,b){const c=a76c();return a76d=function(d,e){d=d-0xfc;let f=c[d];return f;},a76d(a,b);}a76a();import a76e from'path';import{ESLint}from'eslint';import{Log}from'../tools/log/log.class.js';function a76c(){const t=['maka\x20lint\x20--fix','Use\x20ESLint\x20to\x20lint\x20the\x20imports\x20directory','success','checkNpmPackage','loadFormatter','Run\x20\x22maka\x20lint\x20--fix\x22\x20to\x20auto\x20fix','321633vyZfGF','lint','eslint/eslintrc.json','bright','22PmxvDo','Lint\x20results\x20for\x20','isFile','search','push','6137420EQxlNx','8130474MJnEDD','join','outputFixes','length','findAppDirectory','fsi','eslint-plugin-css','(((.+)+)+)+$','28ItAXEw','toString','maka\x20lint','format','fix','18GDQsyk','installNpmPackage','constructor','3881780aOyCJQ','eslint','53613IuuKQk','service','.eslintrc.json','eslint-plugin-react','notice','stylish','19393wIhTmN','2125459MOIdUj','create','imports','152IPvEWB'];a76c=function(){return t;};return a76c();}import{Command}from'../command.js';Command[a76r(0x11c)]({'name':a76r(0x126),'usage':a76r(0x10c),'maxArgLength':0x1,'validOpts':[a76r(0x10e)],'mustBeInMakaProject':!![],'shortDesc':a76r(0x120),'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':[a76r(0x11f)]},async function(a,b){const s=a76r;try{const c=this[s(0x107)][s(0x106)](),d=this[s(0x107)][s(0x122)]('eslint'),f=this['fsi'][s(0x122)](s(0x117)),g=this[s(0x107)][s(0x122)](s(0x108)),h=[];!d&&h[s(0x100)](s(0x113));!f&&h[s(0x100)](s(0x117));!g&&h[s(0x100)](s(0x108));h[s(0x105)]>0x0&&await this[s(0x107)][s(0x110)](h['join']('\x20'),{'dev':!![]});const i=this[s(0x107)][s(0xfe)](a76e['join'](c,s(0x116)));if(!i){const n={'noRename':!![]};await this[s(0x107)]['template']({'srcPath':s(0x127),'destPath':a76e[s(0x103)](c,s(0x116)),'framework':s(0x115),'context':n});}const j=new ESLint(),k=await j['lintFiles']([a76e['join'](c,s(0x11d),'**')]),l=await j[s(0x123)](s(0x119)),m=await l[s(0x10d)](k);m['length']>0x0?Log[s(0x128)](m):Log[s(0x121)]('All\x20good!\x20:)'),Log[s(0x118)](s(0xfd)+c+'/imports'),b[s(0x10e)]?await ESLint[s(0x104)](k):Log['notice'](s(0x124));}catch(o){console['error'](o);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a77c(){const B=['Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','env','709586rlHnAg','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','Email:','digest','fsi','constructor','update','Logging\x20into\x20https://','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','14992Sitjsi','toString','password','ask','True','notice','failure','assign','debug','create','isFile','Preflight\x20Check','get','apply','error','post','112656QqnLPZ','4732168iUgVmY','parse','https://','cacert','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','Password:\x20','success','toHex','\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','login','sha256','2354652WpBgBj','3807wdUHPi','235FnFeaH','withSpinner','cert','2287640hvAPRG','exit','getGlobalConfig','(((.+)+)+)+$','Logging\x20in','/api/v1/login','Using\x20CA\x20Cert\x20','email','start','localhost','3834057bBLEKn','4fBzyaq','authToken','Logs\x20in\x20to\x20www.maka-cli.com','maka\x20login'];a77c=function(){return B;};return a77c();}const a77z=a77d;(function(a,b){const w=a77d,c=a();while(!![]){try{const d=parseInt(w(0x1bb))/0x1+parseInt(w(0x1e0))/0x2+-parseInt(w(0x1ef))/0x3*(parseInt(w(0x1b5))/0x4)+parseInt(w(0x1e2))/0x5*(-parseInt(w(0x1d4))/0x6)+parseInt(w(0x1d5))/0x7+-parseInt(w(0x1c4))/0x8*(-parseInt(w(0x1e1))/0x9)+-parseInt(w(0x1e5))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0xebeef));const a77b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a77d;if(c){const e=c[x(0x1d1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a77a=a77b(this,function(){const y=a77d;return a77a[y(0x1c5)]()['search'](y(0x1e8))['toString']()[y(0x1c0)](a77a)['search'](y(0x1e8));});a77a();import a77e from'node-forge';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a77d(a,b){const c=a77c();return a77d=function(d,e){d=d-0x1b5;let f=c[d];return f;},a77d(a,b);}import{Actions}from'../tools/actions/actions.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a77z(0x1ba)]['MAKA_DEV']===a77z(0x1c8)?a77z(0x1ee):'www.maka-cli.com';Command['create']({'name':a77z(0x1de),'validOpts':[a77z(0x1ec),a77z(0x1c6),'help',a77z(0x1d8),a77z(0x1cc)],'usage':'maka\x20login','maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a77z(0x1b7),'examples':[a77z(0x1b8),a77z(0x1d9)]},async function(a,b){const A=a77z,c=Log[A(0x1e3)]();try{let d='';b[A(0x1d8)]&&(this[A(0x1bf)][A(0x1ce)](b[A(0x1d8)])?(d=b['cacert'],Log[A(0x1c9)](A(0x1eb)+d)):Log[A(0x1d2)](A(0x1c3)+d));const f=await this[A(0x1bf)][A(0x1e7)]();if(f[A(0x1e4)]){if(this['fsi'][A(0x1ce)](f[A(0x1e4)]))d=f[A(0x1e4)];else{Log['error']('CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+d);return;}}Log['header'](A(0x1c2)+hostname);const g={'url':'https://'+hostname+'/api/v1/status'};b['cacert']&&Object[A(0x1cb)](g,{'cert':d});c[A(0x1ed)](A(0x1cf));const {statusCode:h}=await HTTPS[A(0x1d0)](g);if(h===0x198){c[A(0x1ca)]();throw A(0x1bc);}if(h!==0xc8){c[A(0x1ca)]();throw A(0x1d7)+hostname+A(0x1dd);}c[A(0x1db)]();const i=b['email']?b[A(0x1ec)]:await Actions[A(0x1c7)](A(0x1bd)),j=b[A(0x1c6)]?b[A(0x1c6)]:await Actions[A(0x1c7)](A(0x1da),!![]),k=a77e['md'][A(0x1df)][A(0x1cd)]();k[A(0x1c1)](j);const l=k[A(0x1be)]()[A(0x1dc)](),m={'hostname':hostname,'path':A(0x1ea),'data':{'email':i,'password':l,'hashed':!![]}};b[A(0x1d8)]&&Object[A(0x1cb)](m,{'cert':d});c['start'](A(0x1e9));const {data:n,statusCode:o}=await HTTPS[A(0x1d3)](m);if(o===0x198){c[A(0x1ca)]('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://'+hostname;}const p=JSON[A(0x1d6)](n);if(p['authToken']){const q={'hostname':hostname,'path':'/api/v1/encodeJwt','headers':{'x-auth-token':p[A(0x1b6)]},'data':{}};b['cacert']&&Object['assign'](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS[A(0x1d3)](q),{token:t}=JSON['parse'](r);if(s===0x198)throw A(0x1b9)+hostname;const u={'token':p,'hash':t};this[A(0x1bf)]['setGlobalConfig'](u);}else{c[A(0x1ca)]();throw p;}c[A(0x1db)]();}catch(v){c[A(0x1ca)](),console['error'](v),process[A(0x1e6)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a78o=a78d;(function(a,b){const l=a78d,c=a();while(!![]){try{const d
|
|
1
|
+
function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x125;let f=c[d];return f;},a78d(a,b);}const a78o=a78d;(function(a,b){const l=a78d,c=a();while(!![]){try{const d=-parseInt(l(0x149))/0x1+parseInt(l(0x153))/0x2+-parseInt(l(0x14a))/0x3*(parseInt(l(0x141))/0x4)+-parseInt(l(0x126))/0x5*(-parseInt(l(0x12d))/0x6)+-parseInt(l(0x139))/0x7*(parseInt(l(0x142))/0x8)+-parseInt(l(0x135))/0x9+parseInt(l(0x12c))/0xa*(parseInt(l(0x13b))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0xf05dd));const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a78d;if(c){const e=c[m(0x144)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const n=a78d;return a78a['toString']()[n(0x14c)](n(0x13c))[n(0x150)]()[n(0x13e)](a78a)[n(0x14c)](n(0x13c));});a78a();import{Command}from'../command.js';function a78c(){const q=['18730zhRQpu','6TLRIPo','fsi','success','/api/v1/logoutAll','cacert','token','maka\x20logout','withSpinner','4054716mhwAyL','logout','failure','cert','336uNflJs','localhost','25421UBSkaM','(((.+)+)+)+$','Logging\x20out\x20of\x20https://','constructor','isFile','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','676tqkjZo','189704ysXcUL','Preflight\x20Check','apply','get','Logging\x20out','https://','start','1755492KwVLGH','17817XtiQts','Using\x20CA\x20Cert\x20','search','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','notice','header','toString','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','www.maka-cli.com','1760122aWdefV','post','619540ujwrcl','assign','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','exit','error','/api/v1/status'];a78c=function(){return q;};return a78c();}import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process['env']['MAKA_DEV']==='True'?a78o(0x13a):a78o(0x152);Command['create']({'name':a78o(0x136),'validOpts':[a78o(0x131)],'usage':a78o(0x133),'maxArgLength':0x2,'shortDesc':a78o(0x128),'disableAuthCheck':!![],'examples':[a78o(0x133)]},async function(a,b){const p=a78o,c=Log[p(0x134)]();try{let d='';b[p(0x131)]&&(this['fsi'][p(0x13f)](b[p(0x131)])?(d=b[p(0x131)],Log[p(0x14e)](p(0x14b)+d)):Log[p(0x12a)](p(0x140)+d));const f=await this[p(0x12e)]['getGlobalConfig']();if(f['cert']){if(this[p(0x12e)][p(0x13f)](f[p(0x138)]))d=f[p(0x138)];else{c[p(0x137)]();throw Log['error']('CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+d);}}Log[p(0x14f)](p(0x13d)+hostname);const g={'url':p(0x147)+hostname+p(0x12b)};b['cacert']&&Object[p(0x127)](g,{'cert':d});c[p(0x148)](p(0x143));const {statusCode:h}=await HTTPS[p(0x145)](g);if(h===0x198){c[p(0x137)]();throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}c[p(0x12f)]();if(h!==0xc8){c[p(0x137)]();throw p(0x14d);}if(!f?.[p(0x132)]?.['authToken'])throw Log[p(0x12a)](p(0x151));c[p(0x148)](p(0x146));const i={'hostname':hostname,'path':p(0x130),'data':{},'headers':{'x-auth-token':f['token']['authToken']}};b[p(0x131)]&&Object['assign'](i,{'cert':d});const {statusCode:j}=await HTTPS[p(0x125)](i);if(j===0x198){c[p(0x137)]('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}this['fsi']['setGlobalConfig']({'token':{'authToken':'','userId':'','when':''},'hash':''}),c['success']();}catch(k){k&&console['error'](k),process[p(0x129)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a79m=a79d;(function(a,b){const j=a79d,c=a();while(!![]){try{const d=-parseInt(j(
|
|
1
|
+
const a79m=a79d;(function(a,b){const j=a79d,c=a();while(!![]){try{const d=-parseInt(j(0x71))/0x1+-parseInt(j(0x74))/0x2*(parseInt(j(0x6b))/0x3)+parseInt(j(0x7a))/0x4*(-parseInt(j(0x6a))/0x5)+parseInt(j(0x77))/0x6+-parseInt(j(0x72))/0x7*(-parseInt(j(0x6e))/0x8)+parseInt(j(0x7c))/0x9+parseInt(j(0x7d))/0xa*(-parseInt(j(0x75))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0x673b0));const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a79d;if(c){const e=c[k(0x7f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const l=a79d;return a79a[l(0x6c)]()['search']('(((.+)+)+)+$')[l(0x6c)]()[l(0x6f)](a79a)['search']('(((.+)+)+)+$');});function a79c(){const o=['error','172951AJMlCY','381535KdQoyU','fsi','2mRlXjj','222211uhEuiW','maka\x20logs\x20--env\x20staging','4683216NDPbNU','logs','create','879712mvyJrq','assign','5523021zbGPMG','260dYuEPP','View\x20the\x20PM2\x20logs','apply','verbose','sshSync','readFileSync','parse','15ZJFSOi','475386TeBkRP','toString','maka\x20logs','80aLYWvB','constructor'];a79c=function(){return o;};return a79c();}a79a();import a79e from'fs';import a79f from'path';import{Command}from'../command.js';function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x67;let f=c[d];return f;},a79d(a,b);}import{SSH}from'../tools/ssh/ssh.class.js';import{Log}from'../tools/log/log.class.js';Command[a79m(0x79)]({'name':a79m(0x78),'aliases':['l','log'],'usage':a79m(0x6d),'requiredOpts':['env'],'mustBeInMakaProject':!![],'validOpts':[a79m(0x80)],'shortDesc':a79m(0x7e),'examples':['maka\x20logs\x20--env\x20dev',a79m(0x76),'maka\x20l\x20-e\x20p']},function(a,b){const n=a79m;try{const c='pm2\x20logs',d=this[n(0x73)]['getAppConfigPath'](b['env']),f=a79f['join'](d,'ssh.json'),g=a79e[n(0x68)](f),h=JSON[n(0x69)](g[n(0x6c)]());Object[n(0x7b)](h,{'env':d}),SSH[n(0x67)](c,h,{'tty':!![],'verbose':!![]});}catch(i){Log[n(0x70)](i);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a80d(a,b){const c=a80c();return a80d=function(d,e){d=d-0xcd;let f=c[d];return f;},a80d(a,b);}const a80i=a80d;function a80c(){const k=['\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','search','8124465uCyduj','maka\x20--help','12609918VJTuVm','exit','(((.+)+)+)+$','501944DuKLvg','maka','44atonKB','2791952psZjCg','8szepVr','63lDkaFN','2lhKaqy','apply','maka\x20install\x20meteor','616830ofZixR','toString','maka\x20run','processAndRunCommand','splice','4521750RXxXrx','3719570JroyVq','constructor','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.'];a80c=function(){return k;};return a80c();}(function(a,b){const f=a80d,c=a();while(!![]){try{const d=-parseInt(f(0xde))/0x1*(parseInt(f(0xd8))/0x2)+parseInt(f(0xcd))/0x3+parseInt(f(0xdb))/0x4+-parseInt(f(0xd3))/0x5+parseInt(f(0xe1))/0x6*(parseInt(f(0xdd))/0x7)+parseInt(f(0xdc))/0x8*(parseInt(f(0xd5))/0x9)+-parseInt(f(0xce))/0xa*(parseInt(f(0xda))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0xdfdb8));const a80b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a80d;if(c){const e=c[g(0xdf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){const h=a80d;return a80a[h(0xe2)]()['search'](h(0xd7))['toString']()[h(0xcf)](a80a)[h(0xd2)](h(0xd7));});a80a();import{Command}from'../command.js';const Maka=new Command({'name':a80i(0xd9),'minArgLength':0x1,'shortDesc':a80i(0xd0),'validOpts':[],'usage':'maka\x20<command>\x20[<args>]\x20[<opts>]','disableAuthCheck':!![],'examples':[a80i(0xd4),a80i(0xe0),'maka\x20create\x20Todo',a80i(0xe3)],'description':a80i(0xd1)},async function(a,b){const j=a80i;try{const c=a[0x0];a[j(0xe5)](0x0,0x1),await this[j(0xe4)](c,a,b);}catch(d){process[j(0xd6)](0x1);}});export default Maka;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a81c(){var j=['%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','create','261868DACzJw','9AzIvKY','exit','1774536lyLeyz','constructor','Murrrrderrrrr','2145565DVriqZ','toString','8869250sbeBiU','42CmTPgO','4TfambE','4189784fLukst','log','51065LOWIvL','search','maka\x20murder','font-family:\x20monospace','610262NNBPRP','(((.+)+)+)+$'];a81c=function(){return j;};return a81c();}var a81h=a81d;(function(a,b){var f=a81d,c=a();while(!![]){try{var d=parseInt(f(0x18b))/0x1+parseInt(f(0x187))/0x2+parseInt(f(0x18e))/0x3+-parseInt(f(0x195))/0x4*(parseInt(f(0x191))/0x5)+-parseInt(f(0x194))/0x6*(-parseInt(f(0x198))/0x7)+-parseInt(f(0x196))/0x8*(-parseInt(f(0x18c))/0x9)+-parseInt(f(0x193))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0x65ded));var a81b=(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;};}()),a81a=a81b(this,function(){var g=a81d;return a81a[g(0x192)]()[g(0x199)](g(0x188))[g(0x192)]()[g(0x18f)](a81a)[g(0x199)]('(((.+)+)+)+$');});a81a();import{Command}from'../command.js';function a81d(a,b){var c=a81c();return a81d=function(d,e){d=d-0x186;var f=c[d];return f;},a81d(a,b);}Command[a81h(0x18a)]({'name':'murder','usage':a81h(0x19a),'maxArgLength':0x1,'shortDesc':a81h(0x190),'validOpts':[]},async function(){var i=a81h;try{console[i(0x197)](i(0x189),i(0x186));}catch(a){console['error'](a),process[i(0x18d)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a82p=a82d;(function(a,b){const m=a82d,c=a();while(!![]){try{const d
|
|
1
|
+
const a82p=a82d;(function(a,b){const m=a82d,c=a();while(!![]){try{const d=-parseInt(m(0x20b))/0x1*(-parseInt(m(0x1fc))/0x2)+-parseInt(m(0x1fa))/0x3+parseInt(m(0x1f9))/0x4*(parseInt(m(0x202))/0x5)+parseInt(m(0x217))/0x6+parseInt(m(0x1ec))/0x7+-parseInt(m(0x204))/0x8*(parseInt(m(0x1f5))/0x9)+parseInt(m(0x215))/0xa*(parseInt(m(0x200))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x5d522));const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a82d;if(c){const e=c[n(0x20d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const o=a82d;return a82a[o(0x211)]()[o(0x1f6)](o(0x1ee))[o(0x211)]()[o(0x208)](a82a)['search'](o(0x1ee));});a82a();import a82e from'fs';import a82f from'path';import a82g from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x1ea;let f=c[d];return f;},a82d(a,b);}function a82c(){const r=['targetPort','\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','.csr','constructor','bright','localhost','1RyPZCM','maka\x20proxy\x20--target-host\x20http://192.168.1.20','apply','proxy','.key','targetHost','toString','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','create','isFile','10lfvknP','readFileSync','890640ztiBSN','.crt','join','4351067MBpSVS','fsi','(((.+)+)+)+$','utf8','help','mkKeysDir','=>\x20SSL\x20Proxy\x20forwarding\x20','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','appName','16218KvUsMR','search','createProxyServer','listenPort','20jxjppP','2078580beafZY','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','108462IoKLWu','getAppConfigPath','development','listen','2570051yYXIXh','maka\x20proxy','581235wyFkIv','\x20to\x20','2504qJfeyY'];a82c=function(){return r;};return a82c();}import a82h from'../generators/maka.gen.js';Command[a82p(0x213)]({'name':a82p(0x20e),'usage':a82p(0x201),'mustBeInMakaProject':!![],'validOpts':[a82p(0x1f0),a82p(0x205),a82p(0x1f8),'targetHost'],'maxArgLength':0x1,'shortDesc':a82p(0x1fb),'description':a82p(0x206),'examples':['maka\x20proxy',a82p(0x1f3),a82p(0x20c)]},async function(a,b){const q=a82p,c=this[q(0x1ed)]['getMakaProjectConfig'](),d=q(0x1fe),e=this[q(0x1ed)][q(0x1fd)](d),f=this['fsi'][q(0x1f1)]({'configPath':e}),g=b['targetPort']?Number(b['targetPort']):0xbb8,h=b[q(0x1f8)]?Number(b[q(0x1f8)]):0xd73,i=b[q(0x210)]?b[q(0x210)]:q(0x20a),j=a82f['join'](f,c[q(0x1f4)]+q(0x20f)),k=a82f[q(0x1eb)](f,c[q(0x1f4)]+q(0x1ea));(!this[q(0x1ed)][q(0x214)](j)||!this[q(0x1ed)]['isFile'](k))&&(await a82h['processAndRunGenerator']('sslconfig',[],{'env':d}),SSL['genCSR']({'keyName':c[q(0x1f4)]+q(0x20f),'csrName':c['appName']+q(0x207),'cwd':f}),SSL['genSSC']({'keyName':c[q(0x1f4)]+q(0x20f),'crtName':c['appName']+'.crt','cwd':f}));if(g===h){Log['error'](q(0x212));throw new UsageError();}const l={'ssl':{'key':a82e[q(0x216)](j,'utf8'),'cert':a82e[q(0x216)](k,q(0x1ef))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a82g[q(0x1f7)](l)[q(0x1ff)](Number(h)),Log[q(0x209)](q(0x1f2)+h+q(0x203)+g);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a83q=a83d;(function(a,b){const n=a83d,c=a();while(!![]){try{const d=-parseInt(n(0x150))/0x1+parseInt(n(0x146))/0x2*(parseInt(n(0x169))/0x3)+-parseInt(n(0x157))/0x4*(-parseInt(n(0x16c))/0x5)+parseInt(n(0x165))/0x6+parseInt(n(0x143))/0x7+parseInt(n(0x158))/0x8*(parseInt(n(0x144))/0x9)+-parseInt(n(0x152))/0xa*(parseInt(n(0x156))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0x30bf5));const a83b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a83d;if(c){const e=c[o(0x16b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){const p=a83d;return a83a[p(0x14a)]()[p(0x163)](p(0x14f))['toString']()[p(0x142)](a83a)['search'](p(0x14f));});function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0x141;let f=c[d];return f;},a83d(a,b);}a83a();import a83e from'fs';import a83f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';function a83c(){const s=['pm2.config.js','maka\x20reconfig','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','ping','join','Checking\x20remote\x20host\x20availability','notice','ses.json','Remote\x20host\x20connection\x20successful','~/settings.json','search','_keys','1284768zivuZb','Reconfigure\x20your\x20deployed\x20applications\x20w/o\x20rebuild\x20or\x20redploy','maka\x20reconfig\x20--env\x20prod','~/pm2.config.js','1077qONssH','reconfig','apply','40auYkaS','pm2\x20delete\x20all','constructor','1338246mfPqpF','36BcVClb','settings.json','344bicyCO','scp','readFileSync','exit','toString','error','\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','~/ses.json','env','(((.+)+)+)+$','271148WVNOMN','existsSync','4773330vGiYOZ','create','success','ssh','11RINCBr','43836oXHLmj','786848yCDuon'];a83c=function(){return s;};return a83c();}Command[a83q(0x153)]({'name':'reconfigure','aliases':[a83q(0x16a)],'validOpts':[''],'requiredOpts':[a83q(0x14e)],'mustBeInMakaProject':!![],'usage':a83q(0x15a),'shortDesc':a83q(0x166),'description':a83q(0x14c),'examples':[a83q(0x167)]},async function(a,b){const r=a83q;try{const c=this['fsi']['getAppConfigPath'](b['env']),d=a83f[r(0x15d)](c,'ssh.json'),f=a83e[r(0x148)](d)[r(0x14a)](),g=JSON['parse'](f);Object['assign'](g,{'env':c}),Log[r(0x15f)](r(0x15e));const h=SSH[r(0x15c)]('uname\x20-a',g);if(!h)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(h)Log[r(0x154)](r(0x161));const i=a83f[r(0x15d)](c,r(0x164),r(0x160));if(a83e[r(0x151)](i)){const l={'source':i,'dest':r(0x14d),'verbose':!![]};SSH[r(0x147)](l,{...g});}const j=a83f[r(0x15d)](c,r(0x159));SSH[r(0x147)]({'source':j,'dest':r(0x168),'verbose':!![]},{...g});const k=a83f[r(0x15d)](c,r(0x145));SSH['scp']({'source':k,'dest':r(0x162),'verbose':!![]},{...g}),SSH['sshSync'](r(0x141),g),await SSH[r(0x155)](r(0x15b),{...g},{'verbose':!![]});}catch(m){console[r(0x14b)](m),process[r(0x149)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a84d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a84d,c=a();while(!![]){try{var d=-parseInt(f(0x147))/0x1*(-parseInt(f(0x145))/0x2)+parseInt(f(0x142))/0x3*(parseInt(f(0x14e))/0x4)+parseInt(f(0x144))/0x5+parseInt(f(0x146))/0x6*(-parseInt(f(0x149))/0x7)+-parseInt(f(0x14b))/0x8+parseInt(f(0x14a))/0x9+-parseInt(f(0x148))/0xa*(-parseInt(f(0x143))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0x73fc3));var a84b=(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;};}()),a84a=a84b(this,function(){var g=a84d;return a84a[g(0x14f)]()[g(0x14d)](g(0x14c))[g(0x14f)]()['constructor'](a84a)[g(0x14d)](g(0x14c));});function a84d(a,b){var c=a84c();return a84d=function(d,e){d=d-0x142;var f=c[d];return f;},a84d(a,b);}a84a();import'./run.command.js';function a84c(){var h=['121792UkdPVC','872155EahWWe','116eFhDxe','42ZqlNum','7366FjRWCC','180VAqSaO','718753ixfhFr','445986zIBMcK','1715176zdbEgG','(((.+)+)+)+$','search','557716HYoYSI','toString','12ZjNWyU'];a84c=function(){return h;};return a84c();}import'./docker.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a85d(a,b){const c=a85c();return a85d=function(d,e){d=d-0x183;let f=c[d];return f;},a85d(a,b);}const a85l=a85d;(function(a,b){const i=a85d,c=a();while(!![]){try{const d=parseInt(i(0x18b))/0x1*(parseInt(i(0x196))/0x2)+parseInt(i(0x199))/0x3*(parseInt(i(0x191))/0x4)+parseInt(i(0x18d))/0x5+parseInt(i(0x198))/0x6+parseInt(i(0x189))/0x7*(-parseInt(i(0x18a))/0x8)+parseInt(i(0x187))/0x9+parseInt(i(0x184))/0xa*(-parseInt(i(0x19c))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0x8852c));const a85b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a85d;if(c){const e=c[j(0x197)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){const k=a85d;return a85a['toString']()[k(0x19d)](k(0x18f))[k(0x1a4)]()['constructor'](a85a)['search'](k(0x18f));});a85a();import a85e from'./run.command.js';function a85c(){const n=['pm2.config.js','getMakaProjectConfig','6404103MtPyAq','docker-compose.yaml','187418uDuzas','120qILZJU','2927QhHsjH','\x20up\x20--remove-orphans','575645kzayBj','exit','(((.+)+)+)+$','\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','1172rSzGzr','notice','config/docker-compose.yaml','appName','create','18vgkPNI','apply','4439370ncuvXD','1707bmNVLQ','PM2\x20Config\x20File:\x20','templateContent','11ZFUAhV','search','fsi','docker-compose\x20--project-directory\x20','inherit','join','getAppConfigPath','docker','toString','createFile','7996610pKnTJh'];a85c=function(){return n;};return a85c();}import{execSync}from'child_process';import a85f from'path';import a85g from'fs';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';Command[a85l(0x195)]({'name':a85l(0x1a3),'aliases':['d'],'shortDesc':'Run\x20your\x20application\x20in\x20a\x20Docker\x20container','description':a85l(0x190),'usage':'maka\x20run\x20docker','isPro':![],'validOpts':['']},async function(){const m=a85l;try{const a=this[m(0x19e)][m(0x186)](),b=this[m(0x19e)][m(0x1a2)]('docker'),c=a85f['join'](b,m(0x188)),d=a85f[m(0x1a1)](b,m(0x185));Log[m(0x192)](m(0x19a)+d),Log[m(0x192)]('Docker\x20Compose\x20Path:\x20'+c);if(!a85g['existsSync'](c)){const f={'app':a[m(0x194)],'appFileCase':paramCase(a[m(0x194)])},g=this['fsi'][m(0x19b)]({'srcPath':m(0x193),'context':f})+'\x0a';this[m(0x19e)][m(0x183)]({'filePath':c,'data':g});}execSync(m(0x19f)+b+m(0x18c),{'stdio':m(0x1a0)});}catch(h){process[m(0x18e)](0x1);}},a85e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a86t=a86d;(function(a,b){const p=a86d,c=a();while(!![]){try{const d=parseInt(p(0x1e9))/0x1*(-parseInt(p(0x1f5))/0x2)+-parseInt(p(0x21b))/0x3+-parseInt(p(0x20e))/0x4+-parseInt(p(0x206))/0x5+parseInt(p(0x21a))/0x6+-parseInt(p(0x1f6))/0x7*(-parseInt(p(0x1f3))/0x8)+parseInt(p(0x20c))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0xdd138));const a86b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a86d;if(c){const e=c[q(0x1fd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const r=a86d;return a86a[r(0x1e6)]()['search'](r(0x209))['toString']()[r(0x1f8)](a86a)['search']('(((.+)+)+)+$');});a86a();import a86e from'path';function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0x1e6;let f=c[d];return f;},a86d(a,b);}import a86f from'fs';import a86g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a86c(){const w=['cordova-build','allowIncompatibleUpdate','\x22web.browser.legacy,web.cordova\x22','notice','toString','--production','fsi','66239DtJAbP','filter','exit','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','join','getAppConfigPath','concat','split','error','isFile','8EqZYPv','slice','24gSGwfv','7100653tEFMPA','run','constructor','splice','inspect','Run\x20your\x20Meteor\x20application','info','apply','--env','findProjectDirectory','sep','autoupdate','Node\x20Env\x20Config:\x20','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)','mobileServer','env','3628200grioNI','rawLogs','--exclude-archs','(((.+)+)+)+$','push','local','23824584GSrmdD','production','1862644UQVPmf','invokeMeteorCommand','config','Cannot\x20find\x20Node\x20Environment\x20file,\x20creating:\x20','boolean','warn','port','app','extraPackages','ios','settings.json','settings','5464212FcNmHq','5041680IbdznQ'];a86c=function(){return w;};return a86c();}const syncSource=function(a){const s=a86d;a86f['openSync'](a,'r'),a86g[s(0x210)]({'path':a});},Run=Command['create']({'name':a86t(0x1f7),'mustBeInMakaProject':!![],'aliases':['r'],'shortDesc':a86t(0x1fb),'description':'\x0a\x20\x20maka\x20run\x0a\x20\x20-e\x20|\x20--env\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20target\x20environment.\x20\x20Will\x20automatically\x20pull\x20in\x20the\x20meteor\x20settings\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20file\x20(settings.json)\x20and\x20any\x20environment\x20options\x20that\x20have\x20been\x20enabled.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20-r\x20|\x20--raw-logs\x20\x20\x20\x20\x20\x20\x20Only\x20output\x20the\x20meteor\x20logs\x20without\x20the\x20timestamp.\x0a\x0a\x20\x20-p\x20|\x20--port\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20port\x20to\x20run\x20the\x20meteor\x20server\x20on.\x20Defaults\x20to\x20port\x203000.\x0a\x0a\x20\x20-i\x20|\x20--inspect\x20\x20\x20\x20\x20\x20\x20\x20Tells\x20the\x20meteor\x20server\x20to\x20run\x20nodejs\x20in\x20debug\x20mode.\x20Starts\x20a\x20debug\x20session\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20which\x20can\x20be\x20accessed\x20by\x20Chrome\x20Dev\x20Tools\x20or\x20another\x20debug\x20terminal.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20-m\x20|\x20--mobile-server\x20\x20Specify\x20a\x20different\x20backend\x20server\x20to\x20connect\x20to.\x20\x20Mainly\x20used\x20when\x20running\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20-x\x20|\x20--exclude-archs\x20\x20Don\x27t\x20create\x20bundles\x20for\x20certain\x20web\x20architectures\x20(comma\x20separated,\x20for\x20example:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20--production\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Runs\x20the\x20application\x20in\x20production\x20mode;\x20minifies\x20and\x20bundles\x20all\x20files\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20removes\x20development\x20packages.\x0a\x20\x20','validOpts':['env',a86t(0x207),a86t(0x214),a86t(0x1fa),'mobileServer','verbose',a86t(0x21d),a86t(0x216),'x','excludeArchs',a86t(0x20d),'ci']},async function(a,b){const u=a86t;try{await this['fsi']['checkMeteorPackage'](u(0x201),{'shouldInstall':!![]});const c=a[0x0];if(c===u(0x217)){const l=this[u(0x1e8)][u(0x1ff)](),m=a86e[u(0x1ed)](l,u(0x215),'.meteor',u(0x20b),u(0x21c));this[u(0x1e8)]['isDirectory'](m)&&await rimraf(m);}!b['excludeArchs']&&!b['x']&&(a=a[u(0x1ef)]([u(0x208),u(0x21e)]));if(b[u(0x204)]&&typeof b[u(0x204)]===u(0x212))throw u(0x203);const d=b[u(0x205)]?b[u(0x205)]:'development',f=this['fsi'][u(0x1ee)](d),g=a86e[u(0x1ed)](f,'process.env');let h=a86e[u(0x1ed)](f,u(0x218));b[u(0x219)]?h=b['settings']:h=a86e[u(0x1ed)](f,u(0x218));this[u(0x1e8)][u(0x1f2)](g)?(Log[u(0x21f)](u(0x202)+g),syncSource(g)):(Log[u(0x1fc)](u(0x211)+g),this[u(0x1e8)]['createFile']({'filePath':g,'data':''}));this[u(0x1e8)]['isFile'](h)?(Log[u(0x21f)]('Meteor\x20Settings:\x20'+h),a=a['concat'](['--settings',h])):Log[u(0x213)](u(0x1ec)+h);const i=f[u(0x1f0)](a86e[u(0x200)]),j=i[i['length']-0x1];j===u(0x20d)&&a[u(0x20a)](u(0x1e7));const k=process['argv'][u(0x1f4)](0x2)[u(0x1ea)](n=>n!=='run')[u(0x1ea)](n=>n!==a[0x0]);k['forEach']((n,o)=>{const v=u;n===v(0x1fe)&&k[v(0x1f9)](o,0x2),n==='-e'&&k[v(0x1f9)](o,0x2);}),this[u(0x1e8)][u(0x20f)]('run',a[u(0x1ef)](k));}catch(n){Log[u(0x1f1)](n),process[u(0x1eb)](0x1);}});export default Run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a87d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
(function(a,b){var f=a87d,c=a();while(!![]){try{var d=-parseInt(f(0x164))/0x1+-parseInt(f(0x161))/0x2*(parseInt(f(0x163))/0x3)+parseInt(f(0x165))/0x4+-parseInt(f(0x16a))/0x5*(-parseInt(f(0x16c))/0x6)+-parseInt(f(0x16b))/0x7+parseInt(f(0x169))/0x8+-parseInt(f(0x167))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0xdb3d3));var a87b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a87d;if(c){var e=c[g(0x168)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){var h=a87d;return a87a[h(0x162)]()[h(0x160)](h(0x166))[h(0x162)]()['constructor'](a87a)[h(0x160)](h(0x166));});a87a();function a87d(a,b){var c=a87c();return a87d=function(d,e){d=d-0x160;var f=c[d];return f;},a87d(a,b);}import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';function a87c(){var i=['80217FDgZfw','429890pkKXXp','4147324tYTIbP','(((.+)+)+)+$','6488883umlwPc','apply','6958920IkBoPc','6389770DnEjmJ','2896719uDTVFJ','6ShMJFh','search','54MkwcHl','toString'];a87c=function(){return i;};return a87c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a88k=a88d;(function(a,b){const h=a88d,c=a();while(!![]){try{const d
|
|
1
|
+
const a88k=a88d;function a88c(){const m=['constructor','6935652SSRQlO','1452KQOpes','apply','2zeEfck','global-config','cacert','error','Set\x20workspace:\x20','maka\x20set:global-config','workspace','isDirectory','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','dark','success','5674664InSevP','maka\x20set:global-config\x20--cacert\x20<path>','\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','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','22547MtypFA','light','boolean','One\x20or\x20the\x20other\x20buddy','fsi','51GoEFTz','disallowInsecure','isFile','openai','exit','create','search','144958znkaqv','Set\x20color\x20pallet\x20to:\x20','allowInsecure','12190610wegPxv','maka\x20set:gc\x20--insecure\x20<path>','maka\x20set:gc\x20--workspace\x20<path>','44636lUofnM','1164580JaIejW','resolve','Set\x20allowInsecure:\x20','setGlobalConfig','toString','pallet','Set\x20OpenAI\x20Key:\x20'];a88c=function(){return m;};return a88c();}(function(a,b){const h=a88d,c=a();while(!![]){try{const d=-parseInt(h(0x1b2))/0x1*(parseInt(h(0x1c4))/0x2)+-parseInt(h(0x1ab))/0x3*(parseInt(h(0x1b8))/0x4)+-parseInt(h(0x1b9))/0x5+-parseInt(h(0x1c2))/0x6*(-parseInt(h(0x1a6))/0x7)+parseInt(h(0x1a2))/0x8+parseInt(h(0x1c1))/0x9+-parseInt(h(0x1b5))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0x736e5));const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a88d;if(c){const e=c[i(0x1c3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const j=a88d;return a88a[j(0x1bd)]()[j(0x1b1)]('(((.+)+)+)+$')[j(0x1bd)]()[j(0x1c0)](a88a)[j(0x1b1)]('(((.+)+)+)+$');});a88a();import a88e from'path';import a88f from'./set.command.js';import{Command}from'../../command.js';function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x19b;let f=c[d];return f;},a88d(a,b);}import{Log}from'../../tools/log/log.class.js';Command[a88k(0x1b0)]({'name':a88k(0x1c5),'usage':a88k(0x19c),'aliases':['gc'],'maxOptsLength':0x3,'validOpts':[{'name':'cacert','boolFlag':![]},{'name':'allowInsecure','boolFlag':!![]},{'name':a88k(0x1ac),'boolFlag':!![]},{'name':a88k(0x19d),'boolFlag':![]},{'name':a88k(0x1ae),'boolFlag':![]},{'name':'help','boolFlag':!![]},{'name':a88k(0x1be),'values':[a88k(0x1a7),a88k(0x1a0)]}],'shortDesc':'Set\x20global\x20Maka-CLI\x20settings','description':a88k(0x1a4),'examples':[a88k(0x1a3),a88k(0x1b6),a88k(0x1b7)]},async function(a,b){const l=a88k;try{if(b[l(0x1c6)]){if(this[l(0x1aa)][l(0x1ad)](b[l(0x1c6)]))await this[l(0x1aa)][l(0x1bc)]({'cert':b['cacert']}),Log['success']('Set\x20CA\x20Cert\x20Path:\x20'+b[l(0x1c6)]);else{const c=typeof b[l(0x1c6)]===l(0x1a8)?l(0x1a5):l(0x19f)+b[l(0x1c6)];throw Log['error'](c);}}if(b['workspace']){const d=this[l(0x1aa)][l(0x19e)](b['workspace']);if(d)await this[l(0x1aa)]['setGlobalConfig']({'workspace':a88e['resolve'](b[l(0x19d)])}),Log['success'](l(0x19b)+a88e[l(0x1ba)](b[l(0x19d)]));else throw Log[l(0x1c7)]('Could\x20not\x20find\x20directory');}b[l(0x1ae)]&&(await this[l(0x1aa)][l(0x1bc)]({'openai':b[l(0x1ae)]}),Log[l(0x1a1)](l(0x1bf)+b[l(0x1ae)]));b[l(0x1be)]&&(await this['fsi'][l(0x1bc)]({'pallet':b[l(0x1be)]}),Log['success'](l(0x1b3)+b[l(0x1be)]));if(b['allowInsecure']){if(b['allowInsecure']&&b['disallowInsecure'])throw Log[l(0x1c7)](l(0x1a9));let f=b[l(0x1b4)];b[l(0x1ac)]&&(f=![]),await this[l(0x1aa)][l(0x1bc)]({'allowInsecure':f}),Log['success'](l(0x1bb)+f);}process[l(0x1af)](0x0);}catch(g){console['error'](g),process['exit'](0x0);}},a88f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a89i=a89d;(function(a,b){var f=a89d,c=a();while(!![]){try{var d=-parseInt(f(0x1cd))/0x1+-parseInt(f(0x1ce))/0x2*(parseInt(f(0x1be))/0x3)+-parseInt(f(0x1c1))/0x4+parseInt(f(0x1c4))/0x5+parseInt(f(0x1c0))/0x6*(parseInt(f(0x1c7))/0x7)+-parseInt(f(0x1c5))/0x8+-parseInt(f(0x1c9))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0x7796a));var a89b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a89d;if(c){var e=c[g(0x1c8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){var h=a89d;return a89a[h(0x1c3)]()[h(0x1c6)](h(0x1c2))[h(0x1c3)]()['constructor'](a89a)[h(0x1c6)](h(0x1c2));});a89a();import a89e from'./set.command.js';function a89c(){var j=['614872SVhxoG','search','946939jdXkZv','apply','4503726TctcbA','local-config','Set\x20local\x20maka\x20app\x20settings','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','113462RpZHrH','55990VCnhEs','69ZXuMZM','maka\x20set:local-config','42eQzfnI','123768QGyeUd','(((.+)+)+)+$','toString','4542285JXUsmo'];a89c=function(){return j;};return a89c();}import{Command}from'../../command.js';function a89d(a,b){var c=a89c();return a89d=function(d,e){d=d-0x1be;var f=c[d];return f;},a89d(a,b);}import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a89i(0x1ca),'usage':a89i(0x1bf),'examples':[],'aliases':['lc'],'mustBeInMakaProject':!![],'shortDesc':a89i(0x1cb),'validOpts':[],'description':a89i(0x1cc)},async function(){Log['notice']('Sorry,\x20not\x20implemented\x20yet');},a89e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a90i=a90d;(function(a,b){const f=a90d,c=a();while(!![]){try{const d
|
|
1
|
+
const a90i=a90d;function a90c(){const k=['7IxKgND','2927820ArjFPo','6335416vglYcZ','findSubCommand','1476688QgbPIC','search','6002920DPIFrY','\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','runSubCommand','apply','maka\x20set:<sub-command>','7514352WYtuXl','6790064jdGfIV','2220122AplSdx','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','(((.+)+)+)+$','set'];a90c=function(){return k;};return a90c();}(function(a,b){const f=a90d,c=a();while(!![]){try{const d=parseInt(f(0x1e0))/0x1+-parseInt(f(0x1d8))/0x2+-parseInt(f(0x1dd))/0x3+-parseInt(f(0x1d7))/0x4+parseInt(f(0x1e2))/0x5+parseInt(f(0x1d6))/0x6+parseInt(f(0x1dc))/0x7*(parseInt(f(0x1de))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0xe505a));const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a90d;if(c){const e=c[g(0x1d4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const h=a90d;return a90a['toString']()[h(0x1e1)](h(0x1da))['toString']()['constructor'](a90a)[h(0x1e1)](h(0x1da));});a90a();function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0x1d2;let f=c[d];return f;},a90d(a,b);}import{Command}from'../../command.js';const SetCommand=Command['create']({'name':a90i(0x1db),'usage':a90i(0x1d5),'shortDesc':a90i(0x1d9),'description':a90i(0x1d2),'validOpts':[]},async function(a,b){const j=a90i,c=a[0x0],d=this[j(0x1df)](c);d&&this[j(0x1d3)](c,a,b);});export default SetCommand;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a91m=a91d;(function(a,b){const j=a91d,c=a();while(!![]){try{const d
|
|
1
|
+
const a91m=a91d;(function(a,b){const j=a91d,c=a();while(!![]){try{const d=parseInt(j(0x1bb))/0x1+-parseInt(j(0x1c6))/0x2*(parseInt(j(0x1c7))/0x3)+-parseInt(j(0x1cf))/0x4*(-parseInt(j(0x1be))/0x5)+-parseInt(j(0x1c5))/0x6+-parseInt(j(0x1c3))/0x7+-parseInt(j(0x1cb))/0x8*(-parseInt(j(0x1d2))/0x9)+-parseInt(j(0x1bc))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0xa7f20));const a91b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a91d;if(c){const e=c[k(0x1bf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){const l=a91d;return a91a[l(0x1d8)]()[l(0x1d5)](l(0x1c1))['toString']()[l(0x1c9)](a91a)['search'](l(0x1c1));});a91a();function a91c(){const o=['getAppConfigPath','fsi','search','maka\x20ssh\x20--env\x20staging','maka\x20ssh\x20--env\x20dev','toString','maka\x20ssh\x20--env\x20prod','ssh','712983XHHIcJ','10861130oibwYc','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','2823715kjiSYe','apply','error','(((.+)+)+)+$','create','4343773MNgJam','length','3334704eAiiZO','19742KhTEBh','66fBxWGX','verbose','constructor','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','248qHgLhC','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','env','sshSync','8LQZgJq','join','maka\x20ssh\x20<command>','384687ATkKdg'];a91c=function(){return o;};return a91c();}import a91e from'fs';import a91f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{Log}from'../tools/log/log.class.js';function a91d(a,b){const c=a91c();return a91d=function(d,e){d=d-0x1b9;let f=c[d];return f;},a91d(a,b);}Command[a91m(0x1c2)]({'name':a91m(0x1ba),'usage':a91m(0x1d1),'mustBeInMakaProject':!![],'requiredOpts':[a91m(0x1cd)],'validOpts':[a91m(0x1cd),'verbose'],'shortDesc':'Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','examples':[a91m(0x1d7),a91m(0x1d6),a91m(0x1b9),a91m(0x1bd),a91m(0x1cc),a91m(0x1ca)]},async function(a,b){const n=a91m;try{const c=this[n(0x1d4)][n(0x1d3)](b['env']);let d='';a[n(0x1c4)]>0x0&&(d=a[0x0]);const f=a91f[n(0x1d0)](c,'ssh.json'),g=a91e['readFileSync'](f)['toString'](),h=JSON['parse'](g);Object['assign'](h,{'env':c}),SSH[n(0x1ce)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b[n(0x1c8)]});}catch(i){Log[n(0x1c0)](i),process['exit'](0x1);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a92y=a92d;(function(a,b){const v=a92d,c=a();while(!![]){try{const d=parseInt(v(0x151))/0x1+-parseInt(v(0x167))/0x2*(-parseInt(v(0x15e))/0x3)+parseInt(v(0x176))/0x4*(-parseInt(v(0x172))/0x5)+parseInt(v(0x13c))/0x6*(parseInt(v(0x144))/0x7)+-parseInt(v(0x140))/0x8+-parseInt(v(0x13d))/0x9*(-parseInt(v(0x15f))/0xa)+-parseInt(v(0x161))/0xb*(parseInt(v(0x177))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0xe927f));const a92b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a92d;if(c){const e=c[w(0x15a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){const x=a92d;return a92a[x(0x165)]()[x(0x15d)](x(0x13b))[x(0x165)]()['constructor'](a92a)[x(0x15d)](x(0x13b));});function a92d(a,b){const c=a92c();return a92d=function(d,e){d=d-0x13b;let f=c[d];return f;},a92d(a,b);}a92a();import a92e from'fs';function a92c(){const A=['ssh','existsSync','writeFileSync','Remote\x20host\x20connection\x20successful','create','emailUpdate','Checking\x20remote\x20host\x20availability','14785aONSLI','exit','maka\x20ssl\x20--env\x20dev\x20generate-csr','sudo\x20snap\x20install\x20--classic\x20certbot','1312pvzXhs','12GoevKp','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','appName','(((.+)+)+)+$','144WFbJde','333TlCLQd','domains','error','3168248NnAGgz','fsi','mkKeysDir','Please\x20provide\x20a\x20command.','228137oBqRKv','Using\x20saved\x20letsencrypt\x20config','.csr','Verifying\x20Letsencrypt\x20configuration','/ssh.json','Create\x20and\x20manage\x20your\x20SSL\x20operations.','generate-ssc','parse','getMakaProjectConfig','Email\x20to\x20use\x20for\x20auto-updates:\x20','env','.crt','getAppConfigPath','1494746DufFzN','email','ping','uname\x20-a','letsencrypt','letsencrypt.json','.key','maka\x20ssl\x20[command]','success','apply','join','genCSR','search','3TPLNCt','224460DqXTrY','generate-csr','21186946LjoqTu','genSSC','domainNames','[?]\x20Domains\x20to\x20register:\x20','toString','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','2279176suPEtc','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','readFileSync','notice'];a92c=function(){return A;};return a92c();}import a92f from'path';import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command[a92y(0x16f)]({'name':'ssl','usage':a92y(0x158),'validOpts':['domains',a92y(0x152)],'requiredOpts':[a92y(0x14e)],'shortDesc':a92y(0x149),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a92y(0x174),'maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process']},async function(a,b){const z=a92y,c=this[z(0x141)][z(0x14c)](),d=this[z(0x141)][z(0x150)](b['env']),f=this[z(0x141)][z(0x142)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0x160))SSL[z(0x15c)]({'keyName':c['appName']+z(0x157),'csrName':c[z(0x179)]+z(0x146),'cwd':f});else{if(g===z(0x14a)){if(!a92e['existsSync'](a92f[z(0x15b)](f,c[z(0x179)]+'.key')))throw z(0x178)+a92f[z(0x15b)](f,c[z(0x179)]+z(0x157));if(!a92e[z(0x16c)](a92f[z(0x15b)](f,c['appName']+z(0x146))))throw'The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20'+a92f[z(0x15b)](f,c[z(0x179)]+z(0x146));SSL[z(0x162)]({'keyName':c[z(0x179)]+z(0x157),'crtName':c[z(0x179)]+z(0x14f),'cwd':f}),Log[z(0x16a)]('New\x20CSR\x20written\x20to\x20'+f);}else{if(g===z(0x155)){let h=b[z(0x13e)],i=b['email'];try{const p=a92e[z(0x169)](a92f[z(0x15b)](d,'letsencrypt.json'))[z(0x165)](),q=JSON['parse'](p);h=b[z(0x13e)]?b[z(0x13e)]:q[z(0x163)],i=b[z(0x152)]?b[z(0x152)]:q[z(0x170)],(!b[z(0x152)]||!b[z(0x13e)])&&Log[z(0x16a)](z(0x145));}catch(r){}const j=JSON[z(0x14b)](a92e['readFileSync'](d+z(0x148))[z(0x165)]());Object['assign'](j,{'env':d}),Log[z(0x16a)](z(0x171));try{const s=SSH[z(0x153)](z(0x154),j);if(!s)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(s)Log[z(0x159)](z(0x16e));}catch(t){Log[z(0x13f)](t);return;}const k=Log['withSpinner']();k['start'](z(0x147)),SSH[z(0x16b)](z(0x166),{...j}),SSH['ssh'](z(0x175),{...j}),SSH[z(0x16b)]('sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot',{...j}),k[z(0x159)]();const l=h?h:await Actions['ask'](z(0x164)),m=i?i:await Actions['ask'](z(0x14d));SSH['ssh'](z(0x168)+l+'\x20--email\x20'+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON['stringify'](n,null,0x2);a92e[z(0x16d)](a92f[z(0x15b)](d,z(0x156)),o);}else throw z(0x143);}}}catch(u){console[z(0x13f)](u),process[z(0x173)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a93q=a93d;(function(a,b){const m=a93d,c=a();while(!![]){try{const d=-parseInt(m(0xcc))/0x1*(-parseInt(m(0xdd))/0x2)+-parseInt(m(0xc0))/0x3*(-parseInt(m(0xf2))/0x4)+parseInt(m(0xd6))/0x5*(parseInt(m(0xe5))/0x6)+parseInt(m(0xf8))/0x7*(-parseInt(m(0xc8))/0x8)+parseInt(m(0xe8))/0x9*(parseInt(m(0xe9))/0xa)+parseInt(m(0xd1))/0xb*(-parseInt(m(0xd2))/0xc)+parseInt(m(0xc7))/0xd*(-parseInt(m(0xc9))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0x82ff6));const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a93d;if(c){const e=c[n(0xd9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const o=a93d;return a93a[o(0xbe)]()[o(0xd4)](o(0xec))[o(0xbe)]()[o(0xf0)](a93a)[o(0xd4)](o(0xec));});function a93c(){const t=['inspect','openSync','12515347mphwVP','8wyDyFV','28vSxZWQ','driver-package','test','141ZTCWJF','Node\x20Env\x20Config:\x20','parse','join','Meteor\x20Settings:\x20','1859izrpdQ','14628OmHBqf','config.json','search','env','5VCTQkH','testAppPath','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','apply','splice','--full-app','notice','13430ZOBWFG','utf8','forEach','filter','create','engines','settings.json','exit','5222442hLNuDu','--settings','concat','819eqsLWf','103140OipHvF','process.env','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','(((.+)+)+)+$','sanjo:jasmine','warn','fsi','constructor','rawLogs','1429212RHNBIk','test-packages','mocha','--env','once','none','5616709vjKQPl','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','findProjectDirectory','port','getAppConfigPath','driver','--driver-package','packages','unit','toString','config','6qufIiv','isFile','tests','Cannot\x20find\x20Node\x20Environment\x20File:\x20','invokeMeteorCommand'];a93c=function(){return t;};return a93c();}a93a();import a93e from'fs';import a93f from'path';import a93g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const p=a93d;a93e[p(0xc6)](a,'r'),a93g[p(0xbf)]({'path':a});};function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0xbb;let f=c[d];return f;},a93d(a,b);}Command[a93q(0xe1)]({'name':a93q(0xcb),'mustBeInMakaProject':!![],'validOpts':[a93q(0xf6),a93q(0xbc),a93q(0xfd),'driverPackage','unit',a93q(0xd5),a93q(0xf1),a93q(0xfb),a93q(0xc5),a93q(0xd7)],'usage':'maka\x20test','aliases':['t',a93q(0xc2)],'shortDesc':a93q(0xf9),'examples':[]},function(a,b){const r=a93q;try{let c=this[r(0xef)]['getAppConfigPath']('development');b[r(0xd5)]&&(c=this[r(0xef)][r(0xfc)](b[r(0xd5)]));(!b['unit']||!!b[r(0xf6)])&&(a=a[r(0xe7)]([r(0xdb)]));b[r(0xbd)]&&delete b[r(0xbd)];let d=b[r(0xca)]||b[r(0xfd)]||'none';if(d==='none'){const j=JSON[r(0xce)](a93e['readFileSync'](a93f['join'](this[r(0xef)][r(0xfa)](),'.maka',r(0xd3)),r(0xde)));if(j['engines'][r(0xcb)]==='jasmine')d=r(0xed);else j[r(0xe2)]['test']===r(0xf4)&&(d='meteortesting:mocha');}if(d===r(0xf7))throw r(0xeb);(!b[r(0xca)]||!b[r(0xfd)])&&(a=a[r(0xe7)]([r(0xbb),d]));const f=a93f[r(0xcf)](c,r(0xe3));this[r(0xef)][r(0xc1)](f)?(Log['notice'](r(0xd0)+f),a=a['concat']([r(0xe6),f])):Log['warn'](r(0xd8)+f);const g=a93f['join'](c,r(0xea));this[r(0xef)][r(0xc1)](g)?(Log[r(0xdc)](r(0xcd)+g),syncSource(g)):Log[r(0xee)](r(0xc3)+g);const h=process['argv']['slice'](0x2)[r(0xe0)](k=>k!==r(0xf5))[r(0xe0)](k=>k!==r(0xcb))[r(0xe0)](k=>k!==a[0x0]);h[r(0xdf)]((k,l)=>{const s=r;(k===s(0xf5)||k==='--driver')&&h[s(0xda)](l,0x2),k==='--packages'&&h['splice'](l,0x1);});const i=b[r(0xbc)]?r(0xf3):r(0xcb);this[r(0xef)][r(0xc4)](i,a['concat'](h));}catch(k){console['error'](k),process[r(0xe4)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a94n=a94d;(function(a,b){const k=a94d,c=a();while(!![]){try{const d
|
|
1
|
+
const a94n=a94d;(function(a,b){const k=a94d,c=a();while(!![]){try{const d=-parseInt(k(0x21c))/0x1+-parseInt(k(0x222))/0x2+parseInt(k(0x219))/0x3*(-parseInt(k(0x213))/0x4)+-parseInt(k(0x1fb))/0x5+-parseInt(k(0x209))/0x6*(parseInt(k(0x200))/0x7)+-parseInt(k(0x1fc))/0x8+parseInt(k(0x215))/0x9*(parseInt(k(0x1f8))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0xbd1e8));const a94b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a94d;if(c){const e=c[l(0x221)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){const m=a94d;return a94a['toString']()[m(0x20a)]('(((.+)+)+)+$')[m(0x220)]()[m(0x1f6)](a94a)[m(0x20a)](m(0x21e));});function a94c(){const p=['9OtvNSE','Project\x27s\x20Meteor\x20Version\x20','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.',')\x20to\x20at\x20least\x20meteor\x27s\x20(','1735446ENujpr','replace','maka\x20version\x20--verbose','1166560SotIqn','isMakaProject','(((.+)+)+)+$','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','toString','apply','3079888cuuFrC','meteor.bat','maka\x20version','node\x20-v','platform','\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','constructor','fsi','55370790pynDwH','bright','4.7.23','1794865HbSdcW','2029024xWWPVU','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','\x0a\x20\x20When\x20using\x20the\x20--verbose\x20flag,\x20maka\x20will\x20also\x20check\x20the\x20version\x20of\x20the\x20system\x27s\x20meteor\x20and\x20node\x20versions\x0a\x20\x20along\x20with\x20the\x20project\x27s\x20meteor\x20and\x20node\x20versions.\x20If\x20the\x20system\x27s\x20meteor\x20version\x20is\x20greater\x20than\x20the\x0a\x20\x20project\x27s\x20meteor\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20meteor\x20version.\x20If\x20the\x20system\x27s\x20node\x0a\x20\x20version\x20is\x20greater\x20than\x20the\x20project\x27s\x20node\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20node\x20version.\x0a\x20\x20','581OgkGsq','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','maka\x20v','N/A','win32','error','System\x27s\x20Node\x20Version\x20','----------------------System----------------------------','version','62520LOUJPA','search','warn','System\x27s\x20Meteor\x20Version\x20','getProjectMeteorVersion','Project\x27s\x20Meteor\x20Node\x20Version\x20','verbose','majestic','compareMakaToLatest','Maka\x20','4qLarOk','exit'];a94c=function(){return p;};return a94c();}a94a();import{execSync}from'child_process';import a94e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const pjson={'version':a94n(0x1fa)};function a94d(a,b){const c=a94c();return a94d=function(d,e){d=d-0x1f2;let f=c[d];return f;},a94d(a,b);}Command['create']({'name':a94n(0x208),'aliases':['v'],'usage':a94n(0x1f2),'maxArgLength':0x1,'validOpts':['verbose'],'shortDesc':a94n(0x1fd),'examples':[a94n(0x202),a94n(0x1f2),a94n(0x21b)],'description':a94n(0x1ff)},async function(a,b){const o=a94n;try{const c=process[o(0x1f4)]===o(0x204)?o(0x223):'meteor';Log[o(0x210)](o(0x212)+pjson[o(0x208)]),await this[o(0x1f7)][o(0x211)]();if(b[o(0x20f)]){await this['fsi'][o(0x211)](),Log['bright'](o(0x207));const d=this[o(0x1f7)]['getGlobalMeteorVersion']();Log[o(0x1f9)]((o(0x20c)+d)['replace']('\x0a',''));const f=execSync(c+'\x20node\x20-v')['toString']()[o(0x21a)](/\r?\n|\r/,'')[o(0x21a)]('v','');Log[o(0x1f9)](o(0x201)+f);const g=execSync(o(0x1f3))[o(0x220)]()['replace'](/\r?\n|\r/,'')[o(0x21a)]('v','');a94e['gt'](f,g)?(Log[o(0x20b)](o(0x206)+g),Log[o(0x20b)](o(0x1fe)+g+o(0x218)+f+')')):Log[o(0x1f9)]('System\x27s\x20Node\x20Version\x20'+g);if(this[o(0x1f7)][o(0x21d)]()){Log['bright']('----------------------Project----------------------------');const h=this[o(0x1f7)][o(0x20d)]();a94e['gt'](d,h)?(Log[o(0x20b)]('Project\x27s\x20Meteor\x20Version\x20'+h[o(0x21a)]('\x0a','')),Log[o(0x20b)](o(0x21f)+d+'\x22')):Log['notice']((o(0x216)+h)[o(0x21a)]('\x0a',''));const i=await this[o(0x1f7)]['getProjectsMeteorNodeVersion']();i===o(0x203)?(Log[o(0x20b)](o(0x20e)+i),Log[o(0x20b)](o(0x217))):Log['bright'](o(0x20e)+i),Log['bright'](o(0x1f5));}}}catch(j){console[o(0x205)](j),process[o(0x214)](0x0);}});
|
package/bundle/obf/src/error.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a95d,c=a();while(!![]){try{var d=-parseInt(f(0xf5))/0x1*(parseInt(f(0xf3))/0x2)+-parseInt(f(0xf9))/0x3+-parseInt(f(0xf2))/0x4+-parseInt(f(0xf1))/0x5*(parseInt(f(0xec))/0x6)+parseInt(f(0xfa))/0x7*(-parseInt(f(0xf6))/0x8)+-parseInt(f(0xf8))/0x9*(parseInt(f(0xf4))/0xa)+parseInt(f(0xef))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a95c,0x5228e));var a95b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a95d;if(c){var e=c[g(0xf7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a95a=a95b(this,function(){var h=a95d;return a95a[h(0xee)]()['search'](h(0xed))['toString']()['constructor'](a95a)[h(0xf0)]('(((.+)+)+)+$');});a95a();export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}function a95d(a,b){var c=a95c();return a95d=function(d,e){d=d-0xec;var f=c[d];return f;},a95d(a,b);}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}function a95c(){var i=['toString','21664841GSIZKK','search','293140lYqgnw','123344mhuXnx','2bGUUDS','80rXZkyN','215549tXncYl','600CFhlcW','apply','388152jJBkwI','1331259fyCOpN','22967pUlRyM','36wuVrhZ','(((.+)+)+)+$'];a95c=function(){return i;};return a95c();}
|
package/bundle/obf/src/exec.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
|
|
2
|
+
var a96i=a96d;(function(a,b){var f=a96d,c=a();while(!![]){try{var d=-parseInt(f(0xf7))/0x1*(parseInt(f(0xf0))/0x2)+parseInt(f(0xf5))/0x3+-parseInt(f(0x100))/0x4*(-parseInt(f(0xf1))/0x5)+parseInt(f(0x102))/0x6+-parseInt(f(0xfd))/0x7*(-parseInt(f(0xf3))/0x8)+parseInt(f(0xf8))/0x9*(-parseInt(f(0xfc))/0xa)+-parseInt(f(0xfe))/0xb*(parseInt(f(0x101))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a96c,0x2e72b));function a96d(a,b){var c=a96c();return a96d=function(d,e){d=d-0xf0;var f=c[d];return f;},a96d(a,b);}var a96b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a96d;if(c){var e=c[g(0xfa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a96a=a96b(this,function(){var h=a96d;return a96a[h(0xf2)]()[h(0xf6)](h(0xff))[h(0xf2)]()['constructor'](a96a)[h(0xf6)](h(0xff));});a96a(),process[a96i(0xf9)][a96i(0xfb)]=a96i(0xf4);import'./maka.js';function a96c(){var j=['5401aAncgx','(((.+)+)+)+$','24HPGgLH','6072pnxyFk','159618XiaEXr','56428ASSsKt','167935AAbymN','toString','1197408GVLjei','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','1112235dvkDBN','search','1KXZMDH','16353wmqkZj','env','apply','NODE_OPTIONS','1550bMReqt','7ElIlze'];a96c=function(){return j;};return a96c();}
|