@maka/maka-cli 4.7.13 → 4.7.15
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/VSWorkspaceState.json +5 -2
- package/.vs/maka-cli-src/FileContentIndex/f530d0eb-18c4-4b49-9f77-9bef59b119f3.vsidx +0 -0
- package/.vs/maka-cli-src/v17/.wsuo +0 -0
- package/.vs/maka-cli-src/v17/workspaceFileList.bin +0 -0
- package/.vs/slnx.sqlite +0 -0
- package/bundle/obf/package.json +2 -2
- package/bundle/obf/src/command.js +1 -1
- package/bundle/obf/src/commands/_index.js +1 -1
- package/bundle/obf/src/commands/ai.js +1 -1
- package/bundle/obf/src/commands/aws/_index.js +1 -1
- package/bundle/obf/src/commands/aws/aws.command.js +1 -1
- package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/build/_index.js +1 -1
- package/bundle/obf/src/commands/build/build.js +1 -1
- package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/create.js +1 -1
- package/bundle/obf/src/commands/debug.js +1 -1
- package/bundle/obf/src/commands/deploy/_index.js +1 -1
- package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
- package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/_index.js +1 -1
- package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/play.command.js +1 -1
- package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/generate.js +1 -1
- package/bundle/obf/src/commands/get/_index.js +1 -1
- package/bundle/obf/src/commands/get/get.command.js +1 -1
- package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/help.js +1 -1
- package/bundle/obf/src/commands/install.js +1 -1
- package/bundle/obf/src/commands/jsdoc.js +1 -1
- package/bundle/obf/src/commands/lint.js +1 -1
- package/bundle/obf/src/commands/login.js +1 -1
- package/bundle/obf/src/commands/logout.js +1 -1
- package/bundle/obf/src/commands/logs.js +1 -1
- package/bundle/obf/src/commands/maka.cmd.js +1 -1
- package/bundle/obf/src/commands/murder.js +1 -1
- package/bundle/obf/src/commands/proxy.js +1 -1
- package/bundle/obf/src/commands/reconfig.js +1 -1
- package/bundle/obf/src/commands/run/_index.js +1 -1
- package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/run/run.command.js +1 -1
- package/bundle/obf/src/commands/set/_index.js +1 -1
- package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/set.command.js +1 -1
- package/bundle/obf/src/commands/ssh.js +1 -1
- package/bundle/obf/src/commands/ssl.js +1 -1
- package/bundle/obf/src/commands/test.js +1 -1
- package/bundle/obf/src/commands/version.js +1 -1
- package/bundle/obf/src/error.js +1 -1
- package/bundle/obf/src/exec.js +1 -1
- package/bundle/obf/src/generator.js +1 -1
- package/bundle/obf/src/generators/_index.js +1 -1
- package/bundle/obf/src/generators/api.js +1 -1
- package/bundle/obf/src/generators/collection.js +1 -1
- package/bundle/obf/src/generators/component.js +1 -1
- package/bundle/obf/src/generators/config.js +1 -1
- package/bundle/obf/src/generators/dbc.js +1 -1
- package/bundle/obf/src/generators/dockerfile.js +1 -1
- package/bundle/obf/src/generators/hook.js +1 -1
- package/bundle/obf/src/generators/kits/_index.js +1 -1
- package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
- package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
- package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
- package/bundle/obf/src/generators/kits/kit.js +1 -1
- package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
- package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
- package/bundle/obf/src/generators/layout.js +1 -1
- package/bundle/obf/src/generators/maka.gen.js +1 -1
- package/bundle/obf/src/generators/methods.js +1 -1
- package/bundle/obf/src/generators/package.js +1 -1
- package/bundle/obf/src/generators/page.js +1 -1
- package/bundle/obf/src/generators/publish.js +1 -1
- package/bundle/obf/src/generators/route.js +1 -1
- package/bundle/obf/src/generators/service.js +1 -1
- package/bundle/obf/src/generators/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/translation.js +1 -1
- package/bundle/obf/src/maka.js +1 -1
- package/bundle/obf/src/tool.js +1 -1
- package/bundle/obf/src/tools/actions/actions.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
- package/bundle/obf/src/tools/docker/docker.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
- package/bundle/obf/src/tools/https/https.class.js +1 -1
- package/bundle/obf/src/tools/https/https.interface.js +1 -1
- package/bundle/obf/src/tools/log/log.class.js +1 -1
- package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
- package/bundle/obf/src/tools/options/options.class.js +1 -1
- package/bundle/obf/src/tools/progress/progress.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
- package/package.json +2 -2
- package/.vs/maka-cli-src/FileContentIndex/69d2de39-b193-48d9-b520-96bdb73b7b61.vsidx +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a75s=a75d;(function(a,b){const p=a75d,c=a();while(!![]){try{const d=-parseInt(p(0xc1))/0x1+parseInt(p(0xc0))/0x2+-parseInt(p(0xe0))/0x3+-parseInt(p(0xe9))/0x4*(parseInt(p(0xc3))/0x5)+-parseInt(p(0xca))/0x6*(parseInt(p(0xd1))/0x7)+-parseInt(p(0xe6))/0x8*(-parseInt(p(0xe8))/0x9)+parseInt(p(0xce))/0xa*(parseInt(p(0xdf))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a75c,0x9452d));const a75b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a75d;if(c){const e=c[q(0xd3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a75a=a75b(this,function(){const r=a75d;return a75a[r(0xda)]()[r(0xdd)]('(((.+)+)+)+$')[r(0xda)]()[r(0xc8)](a75a)[r(0xdd)](r(0xcd));});function a75c(){const u=['constructor','fsi','8478tHMMDi','lintFiles','push','(((.+)+)+)+$','52790NJrJdK','stylish','length','5929WpWLJN','maka\x20lint','apply','isFile','maka\x20lint\x20--fix','notice','create','error','join','toString','loadFormatter','format','search','checkNpmPackage','4323iyOLzs','1945692WallDX','Use\x20ESLint\x20to\x20lint\x20the\x20imports\x20directory','eslint','lint','bright','eslint/eslintrc.json','184QDzebp','\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','368019ppowNi','2404nupqEk','.eslintrc.json','findAppDirectory','installNpmPackage','template','439300UjUDnM','324521nwQphp','All\x20good!\x20:)','3805Ayaaxm','eslint-plugin-css','Lint\x20results\x20for\x20','success','fix'];a75c=function(){return u;};return a75c();}a75a();import a75e from'path';import{ESLint}from'eslint';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';function a75d(a,b){const c=a75c();return a75d=function(d,e){d=d-0xbc;let f=c[d];return f;},a75d(a,b);}Command[a75s(0xd7)]({'name':a75s(0xe3),'usage':a75s(0xd2),'maxArgLength':0x1,'validOpts':[a75s(0xc7)],'mustBeInMakaProject':!![],'shortDesc':a75s(0xe1),'description':a75s(0xe7),'examples':[a75s(0xd5)]},async function(a,b){const t=a75s;try{const c=this[t(0xc9)][t(0xbd)](),d=this[t(0xc9)][t(0xde)](t(0xe2)),f=this[t(0xc9)][t(0xde)]('eslint-plugin-react'),g=this['fsi'][t(0xde)](t(0xc4)),h=[];!d&&h[t(0xcc)](t(0xe2));!f&&h[t(0xcc)]('eslint-plugin-react');!g&&h['push']('eslint-plugin-css');h[t(0xd0)]>0x0&&await this['fsi'][t(0xbe)](h[t(0xd9)]('\x20'),{'dev':!![]});const i=this[t(0xc9)][t(0xd4)](a75e[t(0xd9)](c,t(0xbc)));if(!i){const n={'noRename':!![]};await this['fsi'][t(0xbf)]({'srcPath':t(0xe5),'destPath':a75e[t(0xd9)](c,'.eslintrc.json'),'framework':'service','context':n});}const j=new ESLint(),k=await j[t(0xcb)]([a75e['join'](c,'imports','**')]),l=await j[t(0xdb)](t(0xcf)),m=await l[t(0xdc)](k);m[t(0xd0)]>0x0?Log[t(0xe4)](m):Log[t(0xc6)](t(0xc2)),Log[t(0xd6)](t(0xc5)+c+'/imports'),b[t(0xc7)]?await ESLint['outputFixes'](k):Log[t(0xd6)]('Run\x20\x22maka\x20lint\x20--fix\x22\x20to\x20auto\x20fix');}catch(o){console[t(0xd8)](o);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a76c(){const B=['Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','fsi','maka\x20login','Logging\x20in','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','authToken','post','update','True','135905piqqdH','995939akVpIh','failure','error','Logging\x20into\x20https://','setGlobalConfig','notice','1784184CSBSCf','Preflight\x20Check','constructor','cert','create','ask','https://','isFile','apply','cacert','toHex','localhost','start','Using\x20CA\x20Cert\x20','get','(((.+)+)+)+$','798444UqQceP','/api/v1/encodeJwt','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','247922Crccsb','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','exit','email','withSpinner','help','debug','login','3rTJTSN','Email:','assign','parse','sha256','search','password','/api/v1/status','Logs\x20in\x20to\x20www.maka-cli.com','header','640630vUgQlE','digest','success','12XNcGDN','49605EQJpCb','36vVPOAz','toString','getGlobalConfig'];a76c=function(){return B;};return a76c();}const a76z=a76d;(function(a,b){const w=a76d,c=a();while(!![]){try{const d=parseInt(w(0x21e))/0x1+parseInt(w(0x1fa))/0x2*(-parseInt(w(0x203))/0x3)+-parseInt(w(0x1f7))/0x4+-parseInt(w(0x211))/0x5*(parseInt(w(0x210))/0x6)+-parseInt(w(0x21f))/0x7+parseInt(w(0x225))/0x8+-parseInt(w(0x212))/0x9*(-parseInt(w(0x20d))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a76c,0x1f9d1));const a76b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a76d;if(c){const e=c[x(0x1ef)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a76a=a76b(this,function(){const y=a76d;return a76a[y(0x213)]()[y(0x208)](y(0x1f6))[y(0x213)]()[y(0x227)](a76a)[y(0x208)](y(0x1f6));});a76a();import a76e from'node-forge';function a76d(a,b){const c=a76c();return a76d=function(d,e){d=d-0x1ea;let f=c[d];return f;},a76d(a,b);}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']['MAKA_DEV']===a76z(0x21d)?a76z(0x1f2):'www.maka-cli.com';Command['create']({'name':a76z(0x202),'validOpts':[a76z(0x1fe),a76z(0x209),a76z(0x200),a76z(0x1f0),a76z(0x201)],'usage':a76z(0x217),'maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a76z(0x20b),'examples':[a76z(0x217),a76z(0x1fb)]},async function(a,b){const A=a76z,c=Log[A(0x1ff)]();try{let d='';b[A(0x1f0)]&&(this['fsi'][A(0x1ee)](b[A(0x1f0)])?(d=b[A(0x1f0)],Log[A(0x224)](A(0x1f4)+d)):Log[A(0x221)](A(0x219)+d));const f=await this[A(0x216)][A(0x214)]();if(f[A(0x1ea)]){if(this['fsi'][A(0x1ee)](f[A(0x1ea)]))d=f['cert'];else{Log[A(0x221)]('CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+d);return;}}Log[A(0x20c)](A(0x222)+hostname);const g={'url':'https://'+hostname+A(0x20a)};b[A(0x1f0)]&&Object[A(0x205)](g,{'cert':d});c[A(0x1f3)](A(0x226));const {statusCode:h}=await HTTPS[A(0x1f5)](g);if(h===0x198){c[A(0x220)]();throw A(0x215);}if(h!==0xc8){c['failure']();throw A(0x1ed)+hostname+A(0x1fc);}c[A(0x20f)]();const i=b[A(0x1fe)]?b[A(0x1fe)]:await Actions[A(0x1ec)](A(0x204)),j=b[A(0x209)]?b[A(0x209)]:await Actions[A(0x1ec)]('Password:\x20',!![]),k=a76e['md'][A(0x207)][A(0x1eb)]();k[A(0x21c)](j);const l=k[A(0x20e)]()[A(0x1f1)](),m={'hostname':hostname,'path':'/api/v1/login','data':{'email':i,'password':l,'hashed':!![]}};b[A(0x1f0)]&&Object[A(0x205)](m,{'cert':d});c[A(0x1f3)](A(0x218));const {data:n,statusCode:o}=await HTTPS['post'](m);if(o===0x198){c[A(0x220)]('\x0a');throw A(0x1f9)+hostname;}const p=JSON[A(0x206)](n);if(p['authToken']){const q={'hostname':hostname,'path':A(0x1f8),'headers':{'x-auth-token':p[A(0x21a)]},'data':{}};b[A(0x1f0)]&&Object[A(0x205)](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS[A(0x21b)](q),{token:t}=JSON[A(0x206)](r);if(s===0x198)throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://'+hostname;const u={'token':p,'hash':t};this[A(0x216)][A(0x223)](u);}else{c[A(0x220)]();throw p;}c[A(0x20f)]();}catch(v){c['failure'](),console[A(0x221)](v),process[A(0x1fd)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a77o=a77d;(function(a,b){const l=a77d,c=a();while(!![]){try{const d
|
|
1
|
+
const a77o=a77d;function a77c(){const q=['apply','setGlobalConfig','3352XIaeIF','success','start','6277230CWBUwR','1392702knvmHb','assign','6839546JyPtCq','cacert','2706276cUQfhk','localhost','8wXFcfZ','failure','maka\x20logout','exit','True','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','token','/api/v1/status','env','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','Logging\x20out','error','/api/v1/logoutAll','Using\x20CA\x20Cert\x20','toString','2635VGGglu','withSpinner','isFile','authToken','Logging\x20out\x20of\x20https://','fsi','MAKA_DEV','header','21792627gMWxUX','search','cert','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','logout','https://','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','(((.+)+)+)+$','get','getGlobalConfig','30479KXjBBj','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).'];a77c=function(){return q;};return a77c();}(function(a,b){const l=a77d,c=a();while(!![]){try{const d=parseInt(l(0x80))/0x1+parseInt(l(0x88))/0x2+-parseInt(l(0x8c))/0x3+parseInt(l(0x84))/0x4*(parseInt(l(0x9d))/0x5)+-parseInt(l(0x87))/0x6+parseInt(l(0x8a))/0x7*(-parseInt(l(0x8e))/0x8)+parseInt(l(0xa5))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0xa23a4));const a77b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a77d;if(c){const e=c[m(0x82)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a77a=a77b(this,function(){const n=a77d;return a77a['toString']()['search'](n(0x7d))[n(0x9c)]()['constructor'](a77a)[n(0xa6)](n(0x7d));});a77a();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-0x79;let f=c[d];return f;},a77d(a,b);}import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a77o(0x96)][a77o(0xa3)]===a77o(0x92)?a77o(0x8d):'www.maka-cli.com';Command['create']({'name':a77o(0x7a),'validOpts':[a77o(0x8b)],'usage':a77o(0x90),'maxArgLength':0x2,'shortDesc':a77o(0x81),'disableAuthCheck':!![],'examples':[a77o(0x90)]},async function(a,b){const p=a77o,c=Log[p(0x9e)]();try{let d='';b[p(0x8b)]&&(this[p(0xa2)][p(0x9f)](b[p(0x8b)])?(d=b['cacert'],Log['notice'](p(0x9b)+d)):Log['error'](p(0x7c)+d));const f=await this[p(0xa2)][p(0x7f)]();if(f[p(0xa7)]){if(this[p(0xa2)]['isFile'](f[p(0xa7)]))d=f[p(0xa7)];else{c[p(0x8f)]();throw Log['error']('CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+d);}}Log[p(0xa4)](p(0xa1)+hostname);const g={'url':p(0x7b)+hostname+p(0x95)};b['cacert']&&Object[p(0x89)](g,{'cert':d});c[p(0x86)]('Preflight\x20Check');const {statusCode:h}=await HTTPS[p(0x7e)](g);if(h===0x198){c[p(0x8f)]();throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}c[p(0x85)]();if(h!==0xc8){c[p(0x8f)]();throw p(0x79);}if(!f?.['token']?.[p(0xa0)])throw Log[p(0x99)](p(0x93));c[p(0x86)](p(0x98));const i={'hostname':hostname,'path':p(0x9a),'data':{},'headers':{'x-auth-token':f[p(0x94)][p(0xa0)]}};b[p(0x8b)]&&Object[p(0x89)](i,{'cert':d});const {statusCode:j}=await HTTPS['post'](i);if(j===0x198){c['failure']('\x0a');throw p(0x97);}this[p(0xa2)][p(0x83)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c['success']();}catch(k){k&&console['error'](k),process[p(0x91)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a78m=a78d;(function(a,b){const j=a78d,c=a();while(!![]){try{const d=-parseInt(j(0x124))/0x1+parseInt(j(0x123))/0x2+-parseInt(j(0x114))/0x3+-parseInt(j(0x10c))/0x4*(-parseInt(j(0x115))/0x5)+parseInt(j(0x125))/0x6*(parseInt(j(0x113))/0x7)+-parseInt(j(0x119))/0x8+parseInt(j(0x118))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0x65f17));const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a78d;if(c){const e=c[k(0x126)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const l=a78d;return a78a[l(0x127)]()['search'](l(0x10e))[l(0x127)]()[l(0x112)](a78a)[l(0x10f)](l(0x10e));});a78a();import a78e from'fs';import a78f from'path';import{Command}from'../command.js';function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x10c;let f=c[d];return f;},a78d(a,b);}function a78c(){const o=['965016ztaEQP','517800tRifmC','6AudIYP','apply','toString','548mhkDwI','View\x20the\x20PM2\x20logs','(((.+)+)+)+$','search','logs','env','constructor','990479eTtWkc','1489929hAFumt','1775iRUJAX','create','sshSync','7253307fQCvZh','372488JUZyIT','error','parse','getAppConfigPath','maka\x20logs\x20--env\x20staging','pm2\x20logs','readFileSync','maka\x20logs\x20--env\x20dev','join','maka\x20logs'];a78c=function(){return o;};return a78c();}import{SSH}from'../tools/ssh/ssh.class.js';import{Log}from'../tools/log/log.class.js';Command[a78m(0x116)]({'name':a78m(0x110),'aliases':['l','log'],'usage':a78m(0x122),'requiredOpts':[a78m(0x111)],'mustBeInMakaProject':!![],'validOpts':['verbose'],'shortDesc':a78m(0x10d),'isPro':!![],'examples':[a78m(0x120),a78m(0x11d),'maka\x20l\x20-e\x20p']},function(a,b){const n=a78m;try{const c=n(0x11e),d=this['fsi'][n(0x11c)](b['env']),f=a78f[n(0x121)](d,'ssh.json'),g=a78e[n(0x11f)](f),h=JSON[n(0x11b)](g[n(0x127)]());Object['assign'](h,{'env':d}),SSH[n(0x117)](c,h,{'tty':!![],'verbose':!![]});}catch(i){Log[n(0x11a)](i);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a79i=a79d;(function(a,b){const f=a79d,c=a();while(!![]){try{const d=-parseInt(f(
|
|
1
|
+
const a79i=a79d;(function(a,b){const f=a79d,c=a();while(!![]){try{const d=-parseInt(f(0x104))/0x1+parseInt(f(0x113))/0x2*(-parseInt(f(0x103))/0x3)+-parseInt(f(0xff))/0x4+-parseInt(f(0x107))/0x5*(-parseInt(f(0xfe))/0x6)+parseInt(f(0x111))/0x7*(-parseInt(f(0x10f))/0x8)+parseInt(f(0x114))/0x9+parseInt(f(0x10b))/0xa*(parseInt(f(0x109))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0x7d8ab));const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a79d;if(c){const e=c[g(0x101)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const h=a79d;return a79a[h(0x10a)]()[h(0x10e)](h(0x106))[h(0x10a)]()[h(0x100)](a79a)['search']('(((.+)+)+)+$');});function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0xfe;let f=c[d];return f;},a79d(a,b);}function a79c(){const k=['3948ydSWbj','1004116smqLrb','maka\x20create\x20Todo','(((.+)+)+)+$','524165YEbLCR','splice','27765155pGvmed','toString','10GwQUwp','maka\x20install\x20meteor','exit','search','4348216WoyNOw','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','7dVHwxA','\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','1546lyUpcZ','6476418EyhfMO','maka\x20run','30cMtPLN','2754968FDYUOo','constructor','apply','processAndRunCommand'];a79c=function(){return k;};return a79c();}a79a();import{Command}from'../command.js';const Maka=new Command({'name':'maka','minArgLength':0x1,'shortDesc':a79i(0x110),'validOpts':[],'usage':'maka\x20<command>\x20[<args>]\x20[<opts>]','disableAuthCheck':!![],'examples':['maka\x20--help',a79i(0x10c),a79i(0x105),a79i(0x115)],'description':a79i(0x112)},async function(a,b){const j=a79i;try{const c=a[0x0];a[j(0x108)](0x0,0x1),await this[j(0x102)](c,a,b);}catch(d){process[j(0x10d)](0x1);}});export default Maka;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var a80i=a80d;(function(a,b){var f=a80d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
var a80i=a80d;(function(a,b){var f=a80d,c=a();while(!![]){try{var d=-parseInt(f(0x130))/0x1*(parseInt(f(0x13a))/0x2)+parseInt(f(0x12b))/0x3*(parseInt(f(0x131))/0x4)+-parseInt(f(0x129))/0x5*(parseInt(f(0x127))/0x6)+parseInt(f(0x132))/0x7+-parseInt(f(0x12a))/0x8*(parseInt(f(0x137))/0x9)+parseInt(f(0x12c))/0xa+-parseInt(f(0x13b))/0xb*(-parseInt(f(0x12f))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0x56c9e));function a80c(){var k=['error','maka\x20murder','9DtXxog','search','log','14zjQHvQ','1164141gjgLIB','480YtoozG','create','2425jOfEKE','2545352UYuria','438rSyCYs','2806690yPqZcP','%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','apply','72VmcgEh','47651fkMdCN','3144JMhGUk','109207wwBcXF','(((.+)+)+)+$','font-family:\x20monospace'];a80c=function(){return k;};return a80c();}var a80b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a80d;if(c){var e=c[g(0x12e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){var h=a80d;return a80a['toString']()[h(0x138)](h(0x133))['toString']()['constructor'](a80a)[h(0x138)]('(((.+)+)+)+$');});a80a();function a80d(a,b){var c=a80c();return a80d=function(d,e){d=d-0x127;var f=c[d];return f;},a80d(a,b);}import{Command}from'../command.js';Command[a80i(0x128)]({'name':'murder','usage':a80i(0x136),'maxArgLength':0x1,'shortDesc':'Murrrrderrrrr','validOpts':[]},async function(){var j=a80i;try{console[j(0x139)](j(0x12d),j(0x134));}catch(a){console[j(0x135)](a),process['exit'](0x0);}});
|
|
@@ -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(0x10b))/0x1+-parseInt(m(0x10d))/0x2+parseInt(m(0x10e))/0x3+parseInt(m(0xf2))/0x4+parseInt(m(0x102))/0x5*(parseInt(m(0xfa))/0x6)+-parseInt(m(0x101))/0x7+-parseInt(m(0xf7))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0x44567));const a81b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a81d;if(c){const e=c[n(0x10c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){const o=a81d;return a81a[o(0xf0)]()[o(0xf4)](o(0xee))[o(0xf0)]()[o(0x113)](a81a)[o(0xf4)](o(0xee));});a81a();import a81e from'fs';import a81f from'path';import a81g from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a81c(){const r=['createProxyServer','listenPort','(((.+)+)+)+$','processAndRunGenerator','toString','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','1879332LaxtKK','proxy','search','.crt','.key','4372928qNiDrn','development','error','12yPnYGX','maka\x20proxy','getAppConfigPath','maka\x20proxy\x20--target-host\x20http://192.168.1.20','bright','=>\x20SSL\x20Proxy\x20forwarding\x20','join','966098UtOLQc','1219420cnAPAu','\x20to\x20','help','readFileSync','genSSC','.csr','appName','localhost','targetPort','8853xINrwt','apply','863182ujzLmi','1289034CYqxgE','fsi','\x0a\x20\x20If\x20you\x27re\x20running\x20your\x20Meteor\x20service,\x20and\x20need\x20to\x20stand\x20up\x20an\x20SSL\x0a\x20\x20Proxy,\x20this\x20command\x20will\x20automatically\x20create\x20a\x20key\x20pair\x20for\x20use\x20in\x20an\x20HTTPS\x0a\x20\x20proxy.\x0a\x0a\x20\x20For\x20example,\x20you\x27re\x20running\x20http://localhost:3000\x20with\x20\x22maka\x20run\x22\x20then\x20open\x20a\x20new\x0a\x20\x20terminal\x20and\x20run\x20\x22maka\x20proxy\x22\x20to\x20standup\x20https://localhost:3443.\x0a\x20\x20Then\x20open\x20your\x20browser\x20to\x20that\x20URL\x20(you\x20may\x20need\x20to\x20trust\x20the\x20certificates\x0a\x20\x20because\x20they\x20are\x20self-signed)\x20and\x20you\x27ll\x20have\x20an\x20SSL\x20connection\x20to\x20your\x0a\x20\x20http://localhost:3000.\x0a\x0a\x20\x20To\x20avoid\x20possibly\x20overwriting\x20PKI\x20files\x20in\x20higher\x20environments,\x20\x22maka\x20proxy\x22\x0a\x20\x20will\x20try\x20to\x20only\x20generate\x20/\x20store\x20PKI\x20keys\x20in\x20the\x20development\x20environment.\x0a\x20\x20','listen','utf8','constructor','targetHost','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.'];a81c=function(){return r;};return a81c();}function a81d(a,b){const c=a81c();return a81d=function(d,e){d=d-0xee;let f=c[d];return f;},a81d(a,b);}import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';import a81h from'../generators/maka.gen.js';Command['create']({'name':a81p(0xf3),'usage':'maka\x20proxy','mustBeInMakaProject':!![],'validOpts':[a81p(0x104),a81p(0x10a),a81p(0x117),'targetHost'],'maxArgLength':0x1,'shortDesc':a81p(0xf1),'description':a81p(0x110),'examples':[a81p(0xfb),'maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000',a81p(0xfd)]},async function(a,b){const q=a81p,c=this[q(0x10f)]['getMakaProjectConfig'](),d=q(0xf8),e=this['fsi'][q(0xfc)](d),f=this[q(0x10f)]['mkKeysDir']({'configPath':e}),g=b[q(0x10a)]?Number(b[q(0x10a)]):0xbb8,h=b[q(0x117)]?Number(b[q(0x117)]):0xd73,i=b['targetHost']?b[q(0x114)]:q(0x109),j=a81f['join'](f,c[q(0x108)]+q(0xf6)),k=a81f[q(0x100)](f,c['appName']+q(0xf5));(!this['fsi']['isFile'](j)||!this['fsi']['isFile'](k))&&(await a81h[q(0xef)]('sslconfig',[],{'env':d}),SSL['genCSR']({'keyName':c[q(0x108)]+q(0xf6),'csrName':c['appName']+q(0x107),'cwd':f}),SSL[q(0x106)]({'keyName':c[q(0x108)]+q(0xf6),'crtName':c[q(0x108)]+q(0xf5),'cwd':f}));if(g===h){Log[q(0xf9)](q(0x115));throw new UsageError();}const l={'ssl':{'key':a81e[q(0x105)](j,q(0x112)),'cert':a81e[q(0x105)](k,'utf8')},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a81g[q(0x116)](l)[q(0x111)](Number(h)),Log[q(0xfe)](q(0xff)+h+q(0x103)+g);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a82q=a82d;(function(a,b){const n=a82d,c=a();while(!![]){try{const d=parseInt(n(0x16b))/0x1+parseInt(n(0x17f))/0x2*(-parseInt(n(0x16e))/0x3)+-parseInt(n(0x166))/0x4*(parseInt(n(0x162))/0x5)+parseInt(n(0x15f))/0x6+-parseInt(n(0x17c))/0x7+parseInt(n(0x16a))/0x8+parseInt(n(0x168))/0x9*(parseInt(n(0x164))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x43f1d));const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a82d;if(c){const e=c[o(0x172)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const p=a82d;return a82a[p(0x17e)]()[p(0x16f)](p(0x163))[p(0x17e)]()[p(0x179)](a82a)[p(0x16f)]('(((.+)+)+)+$');});a82a();import a82e from'fs';import a82f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x15d;let f=c[d];return f;},a82d(a,b);}import{SSH}from'../tools/ssh/ssh.class.js';function a82c(){const s=['100180YCBlSc','(((.+)+)+)+$','120FfIGdx','pm2.config.js','36sWXqVd','exit','418437gctlvU','fsi','1178568LEVAaI','273492tOCBJL','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','Checking\x20remote\x20host\x20availability','75459QNcxYN','search','error','ssh.json','apply','~/ses.json','success','assign','_keys','create','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','constructor','env','\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','2346869opSfxI','scp','toString','34LtTDkp','reconfig','ssh','getAppConfigPath','ses.json','1456584cUbMSA','join','Remote\x20host\x20connection\x20successful'];a82c=function(){return s;};return a82c();}Command[a82q(0x177)]({'name':'reconfigure','aliases':[a82q(0x180)],'validOpts':[''],'requiredOpts':[a82q(0x17a)],'mustBeInMakaProject':!![],'usage':'maka\x20reconfig','isPro':!![],'shortDesc':'Reconfigure\x20your\x20deployed\x20applications\x20w/o\x20rebuild\x20or\x20redploy','description':a82q(0x17b),'examples':['maka\x20reconfig\x20--env\x20prod']},async function(a,b){const r=a82q;try{const c=this[r(0x169)][r(0x15d)](b[r(0x17a)]),d=a82f['join'](c,r(0x171)),f=a82e['readFileSync'](d)[r(0x17e)](),g=JSON['parse'](f);Object[r(0x175)](g,{'env':c}),Log['notice'](r(0x16d));const h=SSH['ping']('uname\x20-a',g);if(!h)throw r(0x178);if(h)Log[r(0x174)](r(0x161));const i=a82f[r(0x160)](c,r(0x176),r(0x15e));if(a82e['existsSync'](i)){const l={'source':i,'dest':r(0x173),'verbose':!![]};SSH[r(0x17d)](l,{...g});}const j=a82f[r(0x160)](c,r(0x165));SSH[r(0x17d)]({'source':j,'dest':'~/pm2.config.js','verbose':!![]},{...g});const k=a82f[r(0x160)](c,'settings.json');SSH[r(0x17d)]({'source':k,'dest':'~/settings.json','verbose':!![]},{...g}),SSH['sshSync']('pm2\x20delete\x20all',g),await SSH[r(0x181)](r(0x16c),{...g},{'verbose':!![]});}catch(m){console[r(0x170)](m),process[r(0x167)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a85d,c=a();while(!![]){try{var d=parseInt(f(
|
|
1
|
+
function a85d(a,b){var c=a85c();return a85d=function(d,e){d=d-0x1db;var f=c[d];return f;},a85d(a,b);}(function(a,b){var f=a85d,c=a();while(!![]){try{var d=parseInt(f(0x1e9))/0x1*(parseInt(f(0x1e1))/0x2)+-parseInt(f(0x1e6))/0x3*(parseInt(f(0x1e4))/0x4)+parseInt(f(0x1dd))/0x5*(parseInt(f(0x1e0))/0x6)+-parseInt(f(0x1e5))/0x7*(parseInt(f(0x1e3))/0x8)+-parseInt(f(0x1db))/0x9+parseInt(f(0x1dc))/0xa+parseInt(f(0x1de))/0xb*(parseInt(f(0x1eb))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0xd15f9));var a85b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a85d;if(c){var e=c[g(0x1e8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){var h=a85d;return a85a[h(0x1ea)]()[h(0x1e7)](h(0x1df))[h(0x1ea)]()[h(0x1e2)](a85a)[h(0x1e7)](h(0x1df));});a85a();import'./run.command.js';function a85c(){var i=['7117130vcRAdx','7074825mzuBKq','143mpjOHt','(((.+)+)+)+$','6jXBJdC','147684PUWOYX','constructor','610872UMWEee','24LipoHh','119syoZJL','855243HtKKoD','search','apply','5ekyAlg','toString','1793004IXHZMq','5149143XcXExu'];a85c=function(){return i;};return a85c();}import'./docker.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a83m=a83d;(function(a,b){const j=a83d,c=a();while(!![]){try{const d=parseInt(j(
|
|
1
|
+
function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0x78;let f=c[d];return f;},a83d(a,b);}const a83m=a83d;(function(a,b){const j=a83d,c=a();while(!![]){try{const d=parseInt(j(0x91))/0x1+parseInt(j(0x7b))/0x2*(-parseInt(j(0x96))/0x3)+-parseInt(j(0x93))/0x4+parseInt(j(0x95))/0x5+-parseInt(j(0x81))/0x6*(-parseInt(j(0x82))/0x7)+parseInt(j(0x80))/0x8+-parseInt(j(0x84))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0xa0d98));function a83c(){const o=['docker','maka\x20run\x20docker','constructor','1474912HZZIUD','45696aaabLj','1029SBmRbf','toString','311706bYkveA','apply','appName','getMakaProjectConfig','search','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','notice','\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','(((.+)+)+)+$','config/docker-compose.yaml','fsi','\x20up\x20--remove-orphans','inherit','645973bKuYEh','exit','2825580sJNJAb','templateContent','17345aYxOxv','3kDJagD','create','getAppConfigPath','join','1106978xgoBNk','http://localhost'];a83c=function(){return o;};return a83c();}const a83b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a83d;if(c){const e=c[k(0x85)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){const l=a83d;return a83a[l(0x83)]()[l(0x88)](l(0x8c))[l(0x83)]()[l(0x7f)](a83a)[l(0x88)](l(0x8c));});a83a();import a83e from'./run.command.js';import{execSync}from'child_process';import a83f from'path';import a83g from'fs';import a83h from'open';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';Command[a83m(0x78)]({'name':'docker','aliases':['d'],'shortDesc':a83m(0x89),'description':a83m(0x8b),'usage':a83m(0x7e),'isPro':!![],'validOpts':['']},async function(){const n=a83m;try{const a=this['fsi'][n(0x87)](),b=this['fsi'][n(0x79)](n(0x7d)),c=a83f[n(0x7a)](b,'docker-compose.yaml'),d=a83f['join'](b,'pm2.config.js');Log[n(0x8a)]('PM2\x20Config\x20File:\x20'+d),Log['notice']('Docker\x20Compose\x20Path:\x20'+c);if(!a83g['existsSync'](c)){const f={'app':a[n(0x86)],'appFileCase':paramCase(a['appName'])},g=this[n(0x8e)][n(0x94)]({'srcPath':n(0x8d),'context':f})+'\x0a';this[n(0x8e)]['createFile']({'filePath':c,'data':g});}try{await a83h(n(0x7c));}catch(h){}execSync('docker-compose\x20--project-directory\x20'+b+n(0x8f),{'stdio':n(0x90)});}catch(i){process[n(0x92)](0x1);}},a83e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a84s=a84d;(function(a,b){const p=a84d,c=a();while(!![]){try{const d=-parseInt(p(0x160))/0x1*(parseInt(p(0x12c))/0x2)+-parseInt(p(0x144))/0x3*(parseInt(p(0x12e))/0x4)+-parseInt(p(0x164))/0x5*(-parseInt(p(0x132))/0x6)+parseInt(p(0x13f))/0x7*(parseInt(p(0x141))/0x8)+parseInt(p(0x149))/0x9*(-parseInt(p(0x135))/0xa)+-parseInt(p(0x12b))/0xb*(parseInt(p(0x152))/0xc)+parseInt(p(0x16c))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0xba592));const a84b=(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;};}()),a84a=a84b(this,function(){const q=a84d;return a84a[q(0x159)]()[q(0x13c)](q(0x130))['toString']()[q(0x168)](a84a)['search'](q(0x130));});function a84d(a,b){const c=a84c();return a84d=function(d,e){d=d-0x128;let f=c[d];return f;},a84d(a,b);}a84a();import a84e from'path';import a84f from'fs';import a84g from'dotenv';import{rimraf}from'rimraf';function a84c(){const v=['extraPackages','constructor','length','allowIncompatibleUpdate','Meteor\x20Settings:\x20','44706207gcLroX','sep','config','env','14672251RSNuJq','2mWxTAl','excludeArchs','1109036HibiZb','checkMeteorPackage','(((.+)+)+)+$','forEach','6rYQvde','isFile','--settings','3690EmRVIT','.meteor','boolean','cordova-build','exit','notice','port','search','fsi','concat','343CXmcYb','verbose','45224HWlAVV','Cannot\x20find\x20Node\x20Environment\x20file,\x20creating:\x20','process.env','6ciZtoU','--production','production','settings','android','1512Ishvvc','http://localhost:','--env','invokeMeteorCommand','mobileServer','web.browser.legacy','argv','splice','split','12YQEgcI','Node\x20Env\x20Config:\x20','info','\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','join','filter','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)','toString','create','run','development','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','getAppConfigPath','settings.json','1046053ScssTL','isDirectory','findProjectDirectory','warn','218750dNfZGc','createFile','ios'];a84c=function(){return v;};return a84c();}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import a84h from'open';const syncSource=function(a){const r=a84d;a84f['openSync'](a,'r'),a84g[r(0x129)]({'path':a});},Run=Command[a84s(0x15a)]({'name':'run','mustBeInMakaProject':!![],'aliases':['r'],'shortDesc':'Run\x20your\x20Meteor\x20application','description':a84s(0x155),'validOpts':[a84s(0x12a),'rawLogs',a84s(0x13b),'inspect',a84s(0x14d),a84s(0x140),a84s(0x16a),a84s(0x167),'x',a84s(0x12d),a84s(0x146),'ci']},async function(a,b){const t=a84s;try{await this[t(0x13d)][t(0x12f)]('autoupdate',{'shouldInstall':!![]});const c=a[0x0];if(c===t(0x166)){const l=this[t(0x13d)][t(0x162)](),m=a84e[t(0x156)](l,'app',t(0x136),'local',t(0x138));this['fsi'][t(0x161)](m)&&await rimraf(m);}!b[t(0x12d)]&&!b['x']&&(a=a[t(0x13e)](['--exclude-archs',t(0x14e)]));if(b[t(0x14d)]&&typeof b['mobileServer']===t(0x137))throw t(0x158);const d=b['env']?b['env']:t(0x15c),f=this[t(0x13d)][t(0x15e)](d),g=a84e[t(0x156)](f,t(0x143));let h=a84e[t(0x156)](f,t(0x15f));b[t(0x147)]?h=b[t(0x147)]:h=a84e[t(0x156)](f,t(0x15f));this['fsi']['isFile'](g)?(Log[t(0x13a)](t(0x153)+g),syncSource(g)):(Log[t(0x154)](t(0x142)+g),this[t(0x13d)][t(0x165)]({'filePath':g,'data':''}));this[t(0x13d)][t(0x133)](h)?(Log[t(0x13a)](t(0x16b)+h),a=a['concat']([t(0x134),h])):Log[t(0x163)](t(0x15d)+h);const i=f[t(0x151)](a84e[t(0x128)]),j=i[i[t(0x169)]-0x1];j==='production'&&a['push'](t(0x145));const k=process[t(0x14f)]['slice'](0x2)[t(0x157)](n=>n!==t(0x15b))['filter'](n=>n!==a[0x0]);k[t(0x131)]((n,o)=>{const u=t;n===u(0x14b)&&k[u(0x150)](o,0x2),n==='-e'&&k[u(0x150)](o,0x2);});try{c!=='ios'&&c!==t(0x148)&&await a84h(t(0x14a)+(b[t(0x13b)]||0xbb8));}catch(n){}this[t(0x13d)][t(0x14c)](t(0x15b),a[t(0x13e)](k));}catch(o){Log['error'](o),process[t(0x139)](0x1);}});export default Run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a89d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
(function(a,b){var f=a89d,c=a();while(!![]){try{var d=-parseInt(f(0x108))/0x1*(parseInt(f(0x111))/0x2)+-parseInt(f(0x10c))/0x3+parseInt(f(0x106))/0x4*(-parseInt(f(0x107))/0x5)+-parseInt(f(0x10a))/0x6+-parseInt(f(0x113))/0x7*(parseInt(f(0x110))/0x8)+parseInt(f(0x10e))/0x9+parseInt(f(0x112))/0xa*(parseInt(f(0x10d))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0xe9b78));var a89b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a89d;if(c){var e=c[g(0x10b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){var h=a89d;return a89a[h(0x10f)]()['search']('(((.+)+)+)+$')[h(0x10f)]()[h(0x105)](a89a)[h(0x109)](h(0x114));});a89a();import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';function a89d(a,b){var c=a89c();return a89d=function(d,e){d=d-0x105;var f=c[d];return f;},a89d(a,b);}function a89c(){var i=['constructor','7176108KUzLHV','5xBQwUa','8zXYjPn','search','1418034DMOdpc','apply','929922pAPpzc','28177589RrYcRH','2355201lmuOBM','toString','418056IdugLs','64562AzyFaE','20dUfMZe','245zKcCtY','(((.+)+)+)+$'];a89c=function(){return i;};return a89c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a86k=a86d;(function(a,b){const h=a86d,c=a();while(!![]){try{const d
|
|
1
|
+
const a86k=a86d;(function(a,b){const h=a86d,c=a();while(!![]){try{const d=parseInt(h(0x1d2))/0x1+parseInt(h(0x1f3))/0x2+-parseInt(h(0x1e6))/0x3*(parseInt(h(0x1ea))/0x4)+-parseInt(h(0x1cf))/0x5+-parseInt(h(0x1cc))/0x6*(parseInt(h(0x1e5))/0x7)+-parseInt(h(0x1c9))/0x8*(parseInt(h(0x1de))/0x9)+-parseInt(h(0x1f2))/0xa*(-parseInt(h(0x1dc))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0x5f406));const a86b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a86d;if(c){const e=c[i(0x1d7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const j=a86d;return a86a['toString']()['search'](j(0x1e9))[j(0x1e2)]()[j(0x1ed)](a86a)['search']('(((.+)+)+)+$');});function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0x1c7;let f=c[d];return f;},a86d(a,b);}a86a();import a86e from'path';import a86f from'./set.command.js';function a86c(){const m=['9110EbjOnT','47400EeXnpJ','Set\x20workspace:\x20','create','43040dEneyY','dark','cacert','588vtUUqA','light','maka\x20set:global-config','2584180xaEnsp','boolean','global-config','326465eHJURv','setGlobalConfig','help','error','exit','apply','disallowInsecure','maka\x20set:global-config\x20--cacert\x20<path>','Set\x20CA\x20Cert\x20Path:\x20','maka\x20set:gc\x20--insecure\x20<path>','20427aSZEwU','success','909tWTPLz','Set\x20global\x20Maka-CLI\x20settings','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','Set\x20color\x20pallet\x20to:\x20','toString','openai','allowInsecure','11179fnRTMs','326265cZXuCr','maka\x20set:gc\x20--workspace\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','(((.+)+)+)+$','16MZshUi','Set\x20OpenAI\x20Key:\x20','pallet','constructor','workspace','resolve','fsi','One\x20or\x20the\x20other\x20buddy'];a86c=function(){return m;};return a86c();}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a86k(0x1c8)]({'name':a86k(0x1d1),'usage':a86k(0x1ce),'aliases':['gc'],'maxOptsLength':0x3,'validOpts':[{'name':'cacert','boolFlag':![]},{'name':a86k(0x1e4),'boolFlag':!![]},{'name':a86k(0x1d8),'boolFlag':!![]},{'name':a86k(0x1ee),'boolFlag':![]},{'name':'openai','boolFlag':![]},{'name':a86k(0x1d4),'boolFlag':!![]},{'name':a86k(0x1ec),'values':[a86k(0x1cd),a86k(0x1ca)]}],'shortDesc':a86k(0x1df),'description':a86k(0x1e8),'examples':[a86k(0x1d9),a86k(0x1db),a86k(0x1e7)]},async function(a,b){const l=a86k;try{if(b[l(0x1cb)]){if(this[l(0x1f0)]['isFile'](b[l(0x1cb)]))await this[l(0x1f0)]['setGlobalConfig']({'cert':b['cacert']}),Log['success'](l(0x1da)+b[l(0x1cb)]);else{const c=typeof b[l(0x1cb)]===l(0x1d0)?l(0x1e0):'CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+b[l(0x1cb)];throw Log[l(0x1d5)](c);}}if(b['workspace']){const d=this[l(0x1f0)]['isDirectory'](b[l(0x1ee)]);if(d)await this[l(0x1f0)][l(0x1d3)]({'workspace':a86e[l(0x1ef)](b[l(0x1ee)])}),Log['success'](l(0x1c7)+a86e[l(0x1ef)](b[l(0x1ee)]));else throw Log[l(0x1d5)]('Could\x20not\x20find\x20directory');}b['openai']&&(await this[l(0x1f0)][l(0x1d3)]({'openai':b[l(0x1e3)]}),Log[l(0x1dd)](l(0x1eb)+b[l(0x1e3)]));b['pallet']&&(await this['fsi'][l(0x1d3)]({'pallet':b[l(0x1ec)]}),Log[l(0x1dd)](l(0x1e1)+b['pallet']));if(b['allowInsecure']){if(b[l(0x1e4)]&&b[l(0x1d8)])throw Log[l(0x1d5)](l(0x1f1));let f=b[l(0x1e4)];b[l(0x1d8)]&&(f=![]),await this['fsi'][l(0x1d3)]({'allowInsecure':f}),Log[l(0x1dd)]('Set\x20allowInsecure:\x20'+f);}process['exit'](0x0);}catch(g){console[l(0x1d5)](g),process[l(0x1d6)](0x0);}},a86f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a87i=a87d;(function(a,b){var f=a87d,c=a();while(!![]){try{var d=-parseInt(f(0xe5))/0x1+parseInt(f(0xe1))/0x2+parseInt(f(0xe4))/0x3+-parseInt(f(0xe8))/0x4*(-parseInt(f(0xf0))/0x5)+-parseInt(f(0xe2))/0x6+-parseInt(f(0xef))/0x7*(-parseInt(f(0xec))/0x8)+parseInt(f(0xee))/0x9*(-parseInt(f(0xe0))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0xbc4ca));var a87b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a87d;if(c){var e=c[g(0xe6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){var h=a87d;return a87a[h(0xde)]()[h(0xeb)](h(0xe9))[h(0xde)]()[h(0xea)](a87a)[h(0xeb)]('(((.+)+)+)+$');});function a87c(){var k=['local-config','20VHseox','940388MASwqw','2529534VZlWLF','notice','1442295ZNeXVW','688924GfYeJR','apply','Sorry,\x20not\x20implemented\x20yet','4805476DHRbAt','(((.+)+)+)+$','constructor','search','24QGQHYj','create','1586484RqCymh','191359HUlobI','5OzUZhA','toString'];a87c=function(){return k;};return a87c();}a87a();function a87d(a,b){var c=a87c();return a87d=function(d,e){d=d-0xde;var f=c[d];return f;},a87d(a,b);}import a87e from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a87i(0xed)]({'name':a87i(0xdf),'usage':'maka\x20set:local-config','examples':[],'aliases':['lc'],'mustBeInMakaProject':!![],'shortDesc':'Set\x20local\x20maka\x20app\x20settings','validOpts':[],'description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20'},async function(){var j=a87i;Log[j(0xe3)](j(0xe7));},a87e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a88i=a88d;(function(a,b){const f=a88d,c=a();while(!![]){try{const d
|
|
1
|
+
const a88i=a88d;(function(a,b){const f=a88d,c=a();while(!![]){try{const d=parseInt(f(0x1ef))/0x1+-parseInt(f(0x1f4))/0x2+-parseInt(f(0x1f0))/0x3+-parseInt(f(0x1f7))/0x4*(-parseInt(f(0x1fc))/0x5)+-parseInt(f(0x1f8))/0x6*(-parseInt(f(0x1e9))/0x7)+parseInt(f(0x1f1))/0x8*(-parseInt(f(0x1ee))/0x9)+parseInt(f(0x1ea))/0xa*(-parseInt(f(0x1fa))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0xb13d6));const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a88d;if(c){const e=c[g(0x1ed)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const h=a88d;return a88a[h(0x1eb)]()['search'](h(0x1f3))['toString']()[h(0x1f2)](a88a)[h(0x1f9)](h(0x1f3));});a88a();function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x1e9;let f=c[d];return f;},a88d(a,b);}import{Command}from'../../command.js';function a88c(){const k=['maka\x20set:<sub-command>','apply','9DIxDpM','1313603jlDqFD','1104972oEagUM','4140896XknbHw','constructor','(((.+)+)+)+$','1363280UhMPsm','findSubCommand','create','4XEsiFt','13506maFdTL','search','16841HKIkzY','set','2380795aTMoWD','2695ZvYscW','2370QcIfMj','toString'];a88c=function(){return k;};return a88c();}const SetCommand=Command[a88i(0x1f6)]({'name':a88i(0x1fb),'usage':a88i(0x1ec),'shortDesc':'Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','validOpts':[]},async function(a,b){const j=a88i,c=a[0x0],d=this[j(0x1f5)](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
|
+
function a90c(){const o=['maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','33zmbcyb','ssh.json','fsi','parse','env','457788yumvAd','constructor','65OxKXEE','30058UtPxXK','exit','204420kNzeqb','ssh','70194drvRRG','1196109yvNOYm','apply','(((.+)+)+)+$','assign','toString','search','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','1043160tvJNCB','7CNMYrX','length','getAppConfigPath','verbose','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','1796104BelQsP','maka\x20ssh\x20--env\x20dev','sshSync','create','maka\x20ssh\x20--env\x20staging'];a90c=function(){return o;};return a90c();}const a90m=a90d;(function(a,b){const j=a90d,c=a();while(!![]){try{const d=-parseInt(j(0xe9))/0x1+parseInt(j(0x107))/0x2*(parseInt(j(0xff))/0x3)+parseInt(j(0x104))/0x4+parseInt(j(0x106))/0x5*(-parseInt(j(0xeb))/0x6)+parseInt(j(0xf4))/0x7*(parseInt(j(0xf9))/0x8)+-parseInt(j(0xec))/0x9+parseInt(j(0xf3))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0x1d193));const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a90d;if(c){const e=c[k(0xed)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const l=a90d;return a90a[l(0xf0)]()[l(0xf1)](l(0xee))[l(0xf0)]()[l(0x105)](a90a)['search'](l(0xee));});a90a();function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0xe9;let f=c[d];return f;},a90d(a,b);}import a90e from'fs';import a90f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{Log}from'../tools/log/log.class.js';Command[a90m(0xfc)]({'name':a90m(0xea),'usage':'maka\x20ssh\x20<command>','mustBeInMakaProject':!![],'requiredOpts':[a90m(0x103)],'validOpts':['env',a90m(0xf7)],'isPro':!![],'shortDesc':a90m(0xf8),'examples':[a90m(0xfa),a90m(0xfd),'maka\x20ssh\x20--env\x20prod','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22',a90m(0xf2),a90m(0xfe)]},async function(a,b){const n=a90m;try{const c=this[n(0x101)][n(0xf6)](b['env']);let d='';a[n(0xf5)]>0x0&&(d=a[0x0]);const f=a90f['join'](c,n(0x100)),g=a90e['readFileSync'](f)[n(0xf0)](),h=JSON[n(0x102)](g);Object[n(0xef)](h,{'env':c}),SSH[n(0xfb)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b[n(0xf7)]});}catch(i){Log['error'](i),process[n(0x108)](0x1);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a91c(){const A=['ssh','.key','Please\x20provide\x20a\x20command.','parse','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','success','toString','Verifying\x20Letsencrypt\x20configuration','error','genCSR','join','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','appName','exit','mkKeysDir','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','genSSC','\x20--email\x20','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','apply','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','constructor','generate-csr','domainNames','uname\x20-a','generate-ssc','16424KCKMNm','11Lhkghj','.csr','New\x20CSR\x20written\x20to\x20','ping','Using\x20saved\x20letsencrypt\x20config','67169gYUFDE','letsencrypt.json','150taaHsY','existsSync','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','34VSpZYN','191924mVrmeA','Checking\x20remote\x20host\x20availability','2822877DlpBYQ','domains','readFileSync','[?]\x20Domains\x20to\x20register:\x20','assign','create','Email\x20to\x20use\x20for\x20auto-updates:\x20','7305234FgRWiX','(((.+)+)+)+$','letsencrypt','1532496pucEqQ','Create\x20and\x20manage\x20your\x20SSL\x20operations.','10dpmCQh','stringify','email','5999HcnvEo','/ssh.json','ask','notice','88559364hACuRA','fsi','maka\x20ssl\x20--env\x20dev\x20generate-csr','sudo\x20snap\x20install\x20--classic\x20certbot','search','env','withSpinner','maka\x20ssl\x20[command]','.crt','emailUpdate'];a91c=function(){return A;};return a91c();}const a91y=a91d;(function(a,b){const v=a91d,c=a();while(!![]){try{const d=parseInt(v(0x1b9))/0x1*(-parseInt(v(0x1be))/0x2)+-parseInt(v(0x186))/0x3+-parseInt(v(0x1bf))/0x4*(parseInt(v(0x1bb))/0x5)+-parseInt(v(0x1c8))/0x6+parseInt(v(0x18b))/0x7*(-parseInt(v(0x1b3))/0x8)+-parseInt(v(0x1c1))/0x9*(parseInt(v(0x188))/0xa)+-parseInt(v(0x1b4))/0xb*(-parseInt(v(0x18f))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0xf374f));const a91b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a91d;if(c){const e=c[w(0x1ac)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){const x=a91d;return a91a[x(0x19f)]()[x(0x193)](x(0x1c9))[x(0x19f)]()[x(0x1ae)](a91a)[x(0x193)](x(0x1c9));});a91a();import a91e from'fs';import a91f from'path';import{Actions}from'../tools/actions/actions.class.js';function a91d(a,b){const c=a91c();return a91d=function(d,e){d=d-0x185;let f=c[d];return f;},a91d(a,b);}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(0x1c6)]({'name':'ssl','usage':a91y(0x196),'validOpts':[a91y(0x1c2),a91y(0x18a)],'requiredOpts':['env'],'shortDesc':a91y(0x187),'mustBeInMakaProject':!![],'minArgLength':0x1,'isPro':!![],'examples':[a91y(0x191),a91y(0x19d),'maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process']},async function(a,b){const z=a91y,c=this['fsi']['getMakaProjectConfig'](),d=this[z(0x190)]['getAppConfigPath'](b[z(0x194)]),f=this['fsi'][z(0x1a7)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0x1af))SSL[z(0x1a2)]({'keyName':c[z(0x1a5)]+'.key','csrName':c[z(0x1a5)]+z(0x1b5),'cwd':f});else{if(g===z(0x1b2)){if(!a91e[z(0x1bc)](a91f[z(0x1a3)](f,c[z(0x1a5)]+z(0x19a))))throw z(0x1a8)+a91f[z(0x1a3)](f,c[z(0x1a5)]+z(0x19a));if(!a91e['existsSync'](a91f[z(0x1a3)](f,c[z(0x1a5)]+z(0x1b5))))throw z(0x1ad)+a91f[z(0x1a3)](f,c[z(0x1a5)]+z(0x1b5));SSL[z(0x1a9)]({'keyName':c[z(0x1a5)]+z(0x19a),'crtName':c[z(0x1a5)]+z(0x197),'cwd':f}),Log[z(0x18e)](z(0x1b6)+f);}else{if(g===z(0x185)){let h=b['domains'],i=b[z(0x18a)];try{const p=a91e['readFileSync'](a91f[z(0x1a3)](d,'letsencrypt.json'))[z(0x19f)](),q=JSON[z(0x19c)](p);h=b['domains']?b[z(0x1c2)]:q[z(0x1b0)],i=b['email']?b[z(0x18a)]:q[z(0x198)],(!b[z(0x18a)]||!b[z(0x1c2)])&&Log[z(0x18e)](z(0x1b8));}catch(r){}const j=JSON[z(0x19c)](a91e[z(0x1c3)](d+z(0x18c))[z(0x19f)]());Object[z(0x1c5)](j,{'env':d}),Log['notice'](z(0x1c0));try{const s=SSH[z(0x1b7)](z(0x1b1),j);if(!s)throw z(0x1bd);if(s)Log[z(0x19e)]('Remote\x20host\x20connection\x20successful');}catch(t){Log[z(0x1a1)](t);return;}const k=Log[z(0x195)]();k['start'](z(0x1a0)),SSH[z(0x199)](z(0x1a4),{...j}),SSH[z(0x199)](z(0x192),{...j}),SSH['ssh'](z(0x1ab),{...j}),k['success']();const l=h?h:await Actions['ask'](z(0x1c4)),m=i?i:await Actions[z(0x18d)](z(0x1c7));SSH[z(0x199)]('sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20'+l+z(0x1aa)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0x189)](n,null,0x2);a91e['writeFileSync'](a91f[z(0x1a3)](d,z(0x1ba)),o);}else throw z(0x19b);}}}catch(u){console[z(0x1a1)](u),process[z(0x1a6)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a92p=a92d;(function(a,b){const m=a92d,c=a();while(!![]){try{const d=-parseInt(m(0x1c8))/0x1+parseInt(m(0x1cb))/0x2*(parseInt(m(0x1ee))/0x3)+-parseInt(m(0x1d4))/0x4+parseInt(m(0x1cf))/0x5+parseInt(m(0x1ea))/0x6*(-parseInt(m(0x1e5))/0x7)+parseInt(m(0x1e1))/0x8*(-parseInt(m(0x1b8))/0x9)+parseInt(m(0x1d7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0x7b1bc));function a92c(){const s=['--env','1605052vzPHDh','splice','driver','21167200ZKvLvK','once','port','readFileSync','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','search','filter','env','test-packages','--driver','2224PNVSZU','parse','--full-app','--driver-package','668598XXKjvU','engines','exit','test','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','24gVwLIa','isFile','error','packages','3eWZVMH','tests','(((.+)+)+)+$','notice','argv','mocha','inspect','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','14967kpvUMj','create','openSync','jasmine','forEach','meteortesting:mocha','driverPackage','utf8','development','getAppConfigPath','--settings','slice','settings.json','process.env','none','fsi','500233UsxZNs','config','.maka','207532ANeTxn','warn','concat','Node\x20Env\x20Config:\x20','148160gEYxHd','unit','join','toString'];a92c=function(){return s;};return a92c();}const a92b=(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;};}()),a92a=a92b(this,function(){const n=a92d;return a92a[n(0x1d2)]()[n(0x1dc)](n(0x1f0))[n(0x1d2)]()['constructor'](a92a)[n(0x1dc)](n(0x1f0));});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';function a92d(a,b){const c=a92c();return a92d=function(d,e){d=d-0x1b4;let f=c[d];return f;},a92d(a,b);}const syncSource=function(a){const o=a92d;a92e[o(0x1ba)](a,'r'),a92g[o(0x1c9)]({'path':a});};Command[a92p(0x1b9)]({'name':'test','mustBeInMakaProject':!![],'validOpts':[a92p(0x1d8),a92p(0x1ed),a92p(0x1d6),a92p(0x1be),a92p(0x1d0),a92p(0x1de),'rawLogs',a92p(0x1d9),a92p(0x1b6),'testAppPath'],'usage':'maka\x20test','aliases':['t',a92p(0x1ef)],'shortDesc':a92p(0x1e9),'examples':[]},function(a,b){const q=a92p;try{let c=this[q(0x1c7)][q(0x1c1)](q(0x1c0));b[q(0x1de)]&&(c=this[q(0x1c7)][q(0x1c1)](b[q(0x1de)]));(!b[q(0x1d0)]||!!b['once'])&&(a=a[q(0x1cd)]([q(0x1e3)]));b[q(0x1d0)]&&delete b[q(0x1d0)];let d=b['driver-package']||b['driver']||q(0x1c6);if(d===q(0x1c6)){const j=JSON[q(0x1e2)](a92e[q(0x1da)](a92f[q(0x1d1)](this[q(0x1c7)]['findProjectDirectory'](),q(0x1ca),'config.json'),q(0x1bf)));if(j[q(0x1e6)][q(0x1e8)]===q(0x1bb))d='sanjo:jasmine';else j[q(0x1e6)]['test']===q(0x1b5)&&(d=q(0x1bd));}if(d===q(0x1c6))throw q(0x1b7);(!b['driver-package']||!b[q(0x1d6)])&&(a=a['concat']([q(0x1e4),d]));const f=a92f[q(0x1d1)](c,q(0x1c4));this[q(0x1c7)][q(0x1eb)](f)?(Log[q(0x1f1)]('Meteor\x20Settings:\x20'+f),a=a['concat']([q(0x1c2),f])):Log[q(0x1cc)](q(0x1db)+f);const g=a92f[q(0x1d1)](c,q(0x1c5));this['fsi'][q(0x1eb)](g)?(Log[q(0x1f1)](q(0x1ce)+g),syncSource(g)):Log[q(0x1cc)]('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+g);const h=process[q(0x1b4)][q(0x1c3)](0x2)['filter'](k=>k!==q(0x1d3))['filter'](k=>k!==q(0x1e8))[q(0x1dd)](k=>k!==a[0x0]);h[q(0x1bc)]((k,l)=>{const r=q;(k===r(0x1d3)||k===r(0x1e0))&&h[r(0x1d5)](l,0x2),k==='--packages'&&h[r(0x1d5)](l,0x1);});const i=b[q(0x1ed)]?q(0x1df):q(0x1e8);this[q(0x1c7)]['invokeMeteorCommand'](i,a[q(0x1cd)](h));}catch(k){console[q(0x1ec)](k),process[q(0x1e7)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a93n=a93d;(function(a,b){const k=a93d,c=a();while(!![]){try{const d
|
|
1
|
+
const a93n=a93d;(function(a,b){const k=a93d,c=a();while(!![]){try{const d=parseInt(k(0x1b1))/0x1*(-parseInt(k(0x1b2))/0x2)+-parseInt(k(0x1be))/0x3+parseInt(k(0x1ba))/0x4*(-parseInt(k(0x1d3))/0x5)+parseInt(k(0x1d0))/0x6*(-parseInt(k(0x1c6))/0x7)+parseInt(k(0x1c3))/0x8*(parseInt(k(0x1c7))/0x9)+parseInt(k(0x1c2))/0xa*(parseInt(k(0x1d5))/0xb)+parseInt(k(0x1b0))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0x2b87b));const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a93d;if(c){const e=c[l(0x1bf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const m=a93d;return a93a[m(0x1d7)]()[m(0x1a8)](m(0x1ad))[m(0x1d7)]()['constructor'](a93a)[m(0x1a8)](m(0x1ad));});a93a();import{execSync}from'child_process';import a93e from'semver';import{Command}from'../command.js';function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x1a7;let f=c[d];return f;},a93d(a,b);}import{Log}from'../tools/log/log.class.js';const pjson={'version':a93n(0x1c8)};function a93c(){const p=['verbose','platform','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','compareMakaToLatest','Project\x27s\x20Meteor\x20Version\x20','maka\x20v','\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','1104UuntZA','fsi','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','5CCuVsR','notice','131329lRjhYp','version','toString','maka\x20version','maka\x20version\x20--verbose','exit','search','replace','win32','----------------------Project----------------------------','\x20node\x20-v','(((.+)+)+)+$','----------------------System----------------------------','error','8256612BKnLUF','635bMWKok','1042KWBSBp','getProjectMeteorVersion','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','System\x27s\x20Meteor\x20Version\x20','majestic','node\x20-v','Project\x27s\x20Meteor\x20Node\x20Version\x20','create','128828kvUHiR','warn','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','bright','68460tBKMKo','apply','\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','getProjectsMeteorNodeVersion','20daNgqU','16GqCvKN','isMakaProject','System\x27s\x20Node\x20Version\x20','6202TOlDCF','68652tOrRoN','4.7.15'];a93c=function(){return p;};return a93c();}Command[a93n(0x1b9)]({'name':a93n(0x1d6),'aliases':['v'],'usage':a93n(0x1d8),'maxArgLength':0x1,'validOpts':['verbose'],'shortDesc':a93n(0x1d2),'examples':[a93n(0x1ce),'maka\x20version',a93n(0x1d9)],'description':a93n(0x1cf)},async function(a,b){const o=a93n;try{const c=process[o(0x1ca)]===o(0x1aa)?'meteor.bat':'meteor';Log[o(0x1b6)]('Maka\x20'+pjson['version']),await this[o(0x1d1)][o(0x1cc)]();if(b[o(0x1c9)]){await this[o(0x1d1)][o(0x1cc)](),Log['bright'](o(0x1ae));const d=this['fsi']['getGlobalMeteorVersion']();Log[o(0x1bd)]((o(0x1b5)+d)[o(0x1a9)]('\x0a',''));const f=execSync(c+o(0x1ac))[o(0x1d7)]()[o(0x1a9)](/\r?\n|\r/,'')[o(0x1a9)]('v','');Log['bright'](o(0x1cb)+f);const g=execSync(o(0x1b7))[o(0x1d7)]()[o(0x1a9)](/\r?\n|\r/,'')[o(0x1a9)]('v','');a93e['gt'](f,g)?(Log[o(0x1bb)]('System\x27s\x20Node\x20Version\x20'+g),Log['warn']('\x20!\x20consider\x20updating\x20your\x20node\x20version\x20('+g+')\x20to\x20at\x20least\x20meteor\x27s\x20('+f+')')):Log[o(0x1bd)](o(0x1c5)+g);if(this['fsi'][o(0x1c4)]()){Log[o(0x1bd)](o(0x1ab));const h=this[o(0x1d1)][o(0x1b3)]();a93e['gt'](d,h)?(Log[o(0x1bb)](o(0x1cd)+h[o(0x1a9)]('\x0a','')),Log[o(0x1bb)](o(0x1b4)+d+'\x22')):Log[o(0x1d4)]((o(0x1cd)+h)['replace']('\x0a',''));const i=await this['fsi'][o(0x1c1)]();i==='N/A'?(Log[o(0x1bb)](o(0x1b8)+i),Log[o(0x1bb)](o(0x1bc))):Log[o(0x1bd)]('Project\x27s\x20Meteor\x20Node\x20Version\x20'+i),Log[o(0x1bd)](o(0x1c0));}}}catch(j){console[o(0x1af)](j),process[o(0x1a7)](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(0x19c))/0x1*(parseInt(f(0x19b))/0x2)+parseInt(f(0x1a6))/0x3*(parseInt(f(0x1ab))/0x4)+parseInt(f(0x1a7))/0x5*(-parseInt(f(0x1a2))/0x6)+parseInt(f(0x19e))/0x7*(-parseInt(f(0x1a8))/0x8)+-parseInt(f(0x1a0))/0x9*(parseInt(f(0x1a1))/0xa)+parseInt(f(0x1a4))/0xb*(parseInt(f(0x1a3))/0xc)+parseInt(f(0x1a9))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a95c,0x3703c));function a95c(){var i=['constructor','7euGnld','apply','6102ZlSoTv','5410MsfOMZ','186PqlmCd','12NXVhmV','3781679VrNEDn','search','15SiDUWO','41435cfyZdQ','1274680RZPmko','4484467baYmkP','(((.+)+)+)+$','328568KfuuCL','toString','8nNJtIe','22772dXexDR'];a95c=function(){return i;};return a95c();}var a95b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a95d;if(c){var e=c[g(0x19f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a95a=a95b(this,function(){var h=a95d;return a95a[h(0x1ac)]()[h(0x1a5)]('(((.+)+)+)+$')[h(0x1ac)]()[h(0x19d)](a95a)['search'](h(0x1aa));});a95a();export class UsageError{}function a95d(a,b){var c=a95c();return a95d=function(d,e){d=d-0x19b;var f=c[d];return f;},a95d(a,b);}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
|
package/bundle/obf/src/exec.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
var
|
|
2
|
+
var a96h=a96d;function a96c(){var i=['683253sTOPrG','15jjYead','10OXiqAw','search','1421833OceEcb','constructor','437716vgAGVM','NODE_OPTIONS','16IQInqP','276LXDkMj','toString','10965658LeeaUL','(((.+)+)+)+$','233967pqJMxX','445692QCBTbs','4137nymEIT'];a96c=function(){return i;};return a96c();}(function(a,b){var f=a96d,c=a();while(!![]){try{var d=-parseInt(f(0xce))/0x1+parseInt(f(0xca))/0x2*(parseInt(f(0xd0))/0x3)+-parseInt(f(0xd7))/0x4*(parseInt(f(0xd2))/0x5)+-parseInt(f(0xcf))/0x6+-parseInt(f(0xd5))/0x7*(parseInt(f(0xc9))/0x8)+parseInt(f(0xd1))/0x9+parseInt(f(0xd3))/0xa*(parseInt(f(0xcc))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a96c,0x35ca3));function a96d(a,b){var c=a96c();return a96d=function(d,e){d=d-0xc8;var f=c[d];return f;},a96d(a,b);}var a96b=(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;};}()),a96a=a96b(this,function(){var g=a96d;return a96a['toString']()[g(0xd4)]('(((.+)+)+)+$')[g(0xcb)]()[g(0xd6)](a96a)[g(0xd4)](g(0xcd));});a96a(),process['env'][a96h(0xc8)]='--experimental-modules\x20--no-warnings\x20--experimental-json-modules';import'./maka.js';
|