@maka/maka-cli 4.7.13 → 4.7.14
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/{69d2de39-b193-48d9-b520-96bdb73b7b61.vsidx → 4c0a1daa-da96-4fc9-bf6f-ad5a9148b26c.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
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a75s=a75d;function a75c(){const u=['installNpmPackage','imports','fsi','apply','bright','findAppDirectory','length','format','.eslintrc.json','maka\x20lint','166DxymIZ','stylish','2577jGPiFV','eslint','Use\x20ESLint\x20to\x20lint\x20the\x20imports\x20directory','outputFixes','join','1582290wknxhd','112884BWXIQI','checkNpmPackage','eslint-plugin-css','search','service','toString','template','(((.+)+)+)+$','588408evlibb','/imports','fix','eslint/eslintrc.json','lintFiles','maka\x20lint\x20--fix','push','lint','28UpfKfQ','1572180STNvnM','454623KFGQpx','8dXNcpP','error','All\x20good!\x20:)','notice','982425FQJQQS','Lint\x20results\x20for\x20'];a75c=function(){return u;};return a75c();}(function(a,b){const p=a75d,c=a();while(!![]){try{const d=-parseInt(p(0x16e))/0x1*(-parseInt(p(0x16c))/0x2)+-parseInt(p(0x186))/0x3*(parseInt(p(0x187))/0x4)+parseInt(p(0x18b))/0x5+parseInt(p(0x174))/0x6+parseInt(p(0x184))/0x7*(-parseInt(p(0x17c))/0x8)+parseInt(p(0x173))/0x9+parseInt(p(0x185))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a75c,0x28444));const a75b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a75d;if(c){const e=c[q(0x190)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a75a=a75b(this,function(){const r=a75d;return a75a[r(0x179)]()['search'](r(0x17b))['toString']()['constructor'](a75a)[r(0x177)](r(0x17b));});a75a();import a75e from'path';import{ESLint}from'eslint';import{Log}from'../tools/log/log.class.js';function a75d(a,b){const c=a75c();return a75d=function(d,e){d=d-0x16b;let f=c[d];return f;},a75d(a,b);}import{Command}from'../command.js';Command['create']({'name':a75s(0x183),'usage':a75s(0x16b),'maxArgLength':0x1,'validOpts':[a75s(0x17e)],'mustBeInMakaProject':!![],'shortDesc':a75s(0x170),'description':'\x0a\x20\x20Lint\x20the\x20\x22./app/imports\x22\x20directory.\x0a\x0a\x20\x20This\x20command\x20will\x20install\x20and\x20conigure\x20ESLint\x20if\x20not\x20already\x20setup.\x0a\x0a\x20\x20You\x20can\x20find\x20the\x20eslint\x20config\x20at\x20\x22./app/.eslintrc.json\x22\x0a\x20\x20','examples':[a75s(0x181)]},async function(a,b){const t=a75s;try{const c=this[t(0x18f)][t(0x192)](),d=this[t(0x18f)][t(0x175)](t(0x16f)),f=this[t(0x18f)]['checkNpmPackage']('eslint-plugin-react'),g=this['fsi']['checkNpmPackage'](t(0x176)),h=[];!d&&h[t(0x182)](t(0x16f));!f&&h['push']('eslint-plugin-react');!g&&h['push']('eslint-plugin-css');h['length']>0x0&&await this[t(0x18f)][t(0x18d)](h[t(0x172)]('\x20'),{'dev':!![]});const i=this[t(0x18f)]['isFile'](a75e[t(0x172)](c,t(0x195)));if(!i){const n={'noRename':!![]};await this[t(0x18f)][t(0x17a)]({'srcPath':t(0x17f),'destPath':a75e[t(0x172)](c,t(0x195)),'framework':t(0x178),'context':n});}const j=new ESLint(),k=await j[t(0x180)]([a75e[t(0x172)](c,t(0x18e),'**')]),l=await j['loadFormatter'](t(0x16d)),m=await l[t(0x194)](k);m[t(0x193)]>0x0?Log[t(0x191)](m):Log['success'](t(0x189)),Log[t(0x18a)](t(0x18c)+c+t(0x17d)),b[t(0x17e)]?await ESLint[t(0x171)](k):Log[t(0x18a)]('Run\x20\x22maka\x20lint\x20--fix\x22\x20to\x20auto\x20fix');}catch(o){console[t(0x188)](o);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a76c(){const A=['password','cacert','Using\x20CA\x20Cert\x20','error','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','maka\x20login','search','https://','80udIsov','www.maka-cli.com','Preflight\x20Check','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','2541944jGoZlC','/api/v1/encodeJwt','557305BGVckD','sha256','2976kYHySm','parse','authToken','assign','notice','create','failure','MAKA_DEV','post','(((.+)+)+)+$','digest','getGlobalConfig','email','debug','help','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','env','ask','Password:\x20','22DDkmHt','toString','setGlobalConfig','7343uFPqXF','start','42831qRYPBE','isFile','fsi','constructor','/api/v1/status','header','3eneGQR','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','410qGtUpC','exit','47112POHOVd','withSpinner','/api/v1/login','update','7964PfUQGK','737752IUKqCC'];a76c=function(){return A;};return a76c();}const a76y=a76d;(function(a,b){const w=a76d,c=a();while(!![]){try{const d=-parseInt(w(0x1bb))/0x1*(-parseInt(w(0x1b8))/0x2)+parseInt(w(0x1c3))/0x3*(parseInt(w(0x1cc))/0x4)+-parseInt(w(0x19d))/0x5*(parseInt(w(0x1c7))/0x6)+parseInt(w(0x1a3))/0x7+parseInt(w(0x1a1))/0x8+parseInt(w(0x1bd))/0x9*(-parseInt(w(0x1c5))/0xa)+parseInt(w(0x1cb))/0xb*(-parseInt(w(0x1a5))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a76c,0x279da));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 x=a76d;return a76a[x(0x1b9)]()[x(0x19b)](x(0x1ae))[x(0x1b9)]()[x(0x1c0)](a76a)[x(0x19b)](x(0x1ae));});a76a();import a76e from'node-forge';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';function a76d(a,b){const c=a76c();return a76d=function(d,e){d=d-0x19b;let f=c[d];return f;},a76d(a,b);}import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a76y(0x1b5)][a76y(0x1ac)]==='True'?'localhost':a76y(0x19e);Command[a76y(0x1aa)]({'name':'login','validOpts':[a76y(0x1b1),a76y(0x1cd),a76y(0x1b3),a76y(0x1ce),a76y(0x1b2)],'usage':a76y(0x1d2),'maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a76y(0x1c4),'examples':[a76y(0x1d2),'maka\x20login\x20--email\x20<address>\x20--password\x20<password>']},async function(a,b){const z=a76y,c=Log[z(0x1c8)]();try{let d='';b[z(0x1ce)]&&(this[z(0x1bf)][z(0x1be)](b[z(0x1ce)])?(d=b[z(0x1ce)],Log[z(0x1a9)](z(0x1cf)+d)):Log['error'](z(0x1d1)+d));const f=await this['fsi'][z(0x1b0)]();if(f['cert']){if(this[z(0x1bf)]['isFile'](f['cert']))d=f['cert'];else{Log[z(0x1d0)](z(0x1a0)+d);return;}}Log[z(0x1c2)]('Logging\x20into\x20https://'+hostname);const g={'url':'https://'+hostname+z(0x1c1)};b[z(0x1ce)]&&Object[z(0x1a8)](g,{'cert':d});c[z(0x1bc)](z(0x19f));const {statusCode:h}=await HTTPS['get'](g);if(h===0x198){c[z(0x1ab)]();throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}if(h!==0xc8){c[z(0x1ab)]();throw z(0x19c)+hostname+'\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli';}c['success']();const i=b[z(0x1b1)]?b['email']:await Actions['ask']('Email:'),j=b[z(0x1cd)]?b[z(0x1cd)]:await Actions[z(0x1b6)](z(0x1b7),!![]),k=a76e['md'][z(0x1a4)][z(0x1aa)]();k[z(0x1ca)](j);const l=k[z(0x1af)]()['toHex'](),m={'hostname':hostname,'path':z(0x1c9),'data':{'email':i,'password':l,'hashed':!![]}};b[z(0x1ce)]&&Object['assign'](m,{'cert':d});c[z(0x1bc)]('Logging\x20in');const {data:n,statusCode:o}=await HTTPS[z(0x1ad)](m);if(o===0x198){c[z(0x1ab)]('\x0a');throw z(0x1b4)+hostname;}const p=JSON['parse'](n);if(p[z(0x1a7)]){const q={'hostname':hostname,'path':z(0x1a2),'headers':{'x-auth-token':p['authToken']},'data':{}};b[z(0x1ce)]&&Object[z(0x1a8)](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS[z(0x1ad)](q),{token:t}=JSON[z(0x1a6)](r);if(s===0x198)throw z(0x1b4)+hostname;const u={'token':p,'hash':t};this['fsi'][z(0x1ba)](u);}else{c[z(0x1ab)]();throw p;}c['success']();}catch(v){c[z(0x1ab)](),console[z(0x1d0)](v),process[z(0x1c6)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a77o=a77d;(function(a,b){const l=a77d,c=a();while(!![]){try{const d=-parseInt(l(
|
|
1
|
+
const a77o=a77d;(function(a,b){const l=a77d,c=a();while(!![]){try{const d=-parseInt(l(0x86))/0x1*(-parseInt(l(0x7c))/0x2)+-parseInt(l(0x88))/0x3*(-parseInt(l(0x83))/0x4)+parseInt(l(0x65))/0x5*(parseInt(l(0x6d))/0x6)+parseInt(l(0x78))/0x7+parseInt(l(0x6e))/0x8*(parseInt(l(0x8d))/0x9)+parseInt(l(0x85))/0xa+-parseInt(l(0x94))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0xe2a48));const a77b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a77d;if(c){const e=c[m(0x76)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a77a=a77b(this,function(){const n=a77d;return a77a[n(0x7b)]()[n(0x81)]('(((.+)+)+)+$')['toString']()[n(0x6f)](a77a)['search'](n(0x8c));});a77a();import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';function a77d(a,b){const c=a77c();return a77d=function(d,e){d=d-0x65;let f=c[d];return f;},a77d(a,b);}function a77c(){const q=['https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','toString','8NAbIoS','failure','https://','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','Logging\x20out\x20of\x20https://','search','fsi','2408OjQApo','env','16598340EswLXG','40447FUcVhn','assign','822dKBDRS','start','post','cacert','(((.+)+)+)+$','14985387IhXFea','create','notice','withSpinner','header','maka\x20logout','authToken','45842742useRRF','Logging\x20out','www.maka-cli.com','5jQDciX','isFile','cert','get','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','/api/v1/status','/api/v1/logoutAll','success','8524254zZYGnB','8WNFCiG','constructor','logout','getGlobalConfig','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','exit','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','token','apply','error','164696YObXzs','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'];a77c=function(){return q;};return a77c();}const hostname=process[a77o(0x84)]['MAKA_DEV']==='True'?'localhost':a77o(0x96);Command[a77o(0x8e)]({'name':a77o(0x70),'validOpts':[a77o(0x8b)],'usage':'maka\x20logout','maxArgLength':0x2,'shortDesc':a77o(0x7f),'disableAuthCheck':!![],'examples':[a77o(0x92)]},async function(a,b){const p=a77o,c=Log[p(0x90)]();try{let d='';b['cacert']&&(this[p(0x82)][p(0x66)](b[p(0x8b)])?(d=b[p(0x8b)],Log[p(0x8f)]('Using\x20CA\x20Cert\x20'+d)):Log['error'](p(0x69)+d));const f=await this[p(0x82)][p(0x71)]();if(f[p(0x67)]){if(this['fsi'][p(0x66)](f['cert']))d=f[p(0x67)];else{c[p(0x7d)]();throw Log[p(0x77)](p(0x79)+d);}}Log[p(0x91)](p(0x80)+hostname);const g={'url':p(0x7e)+hostname+p(0x6a)};b[p(0x8b)]&&Object[p(0x87)](g,{'cert':d});c['start']('Preflight\x20Check');const {statusCode:h}=await HTTPS[p(0x68)](g);if(h===0x198){c[p(0x7d)]();throw p(0x72);}c[p(0x6c)]();if(h!==0xc8){c[p(0x7d)]();throw p(0x7a);}if(!f?.[p(0x75)]?.[p(0x93)])throw Log[p(0x77)](p(0x74));c[p(0x89)](p(0x95));const i={'hostname':hostname,'path':p(0x6b),'data':{},'headers':{'x-auth-token':f[p(0x75)][p(0x93)]}};b[p(0x8b)]&&Object[p(0x87)](i,{'cert':d});const {statusCode:j}=await HTTPS[p(0x8a)](i);if(j===0x198){c[p(0x7d)]('\x0a');throw p(0x72);}this[p(0x82)]['setGlobalConfig']({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[p(0x6c)]();}catch(k){k&&console[p(0x77)](k),process[p(0x73)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-
|
|
1
|
+
function a78c(){const n=['994399pGgxnf','704fjfHrm','assign','16097851xSnMxh','env','fsi','maka\x20logs\x20--env\x20dev','maka\x20l\x20-e\x20p','sshSync','117omFhcW','11532uIBRDE','getAppConfigPath','join','72rGEDmG','73957xiwmNL','15786zExEgE','maka\x20logs\x20--env\x20staging','81284UrYmlQ','1386566DRAmJA','toString','View\x20the\x20PM2\x20logs','(((.+)+)+)+$','verbose','create','230324frZRrg','logs','10rSjJuD','parse','30SZnORa'];a78c=function(){return n;};return a78c();}function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x1a5;let f=c[d];return f;},a78d(a,b);}const a78l=a78d;(function(a,b){const j=a78d,c=a();while(!![]){try{const d=parseInt(j(0x1bf))/0x1+parseInt(j(0x1be))/0x2*(parseInt(j(0x1b6))/0x3)+parseInt(j(0x1a8))/0x4*(parseInt(j(0x1ac))/0x5)+parseInt(j(0x1ba))/0x6*(parseInt(j(0x1ad))/0x7)+parseInt(j(0x1ae))/0x8*(-parseInt(j(0x1bc))/0x9)+-parseInt(j(0x1aa))/0xa*(-parseInt(j(0x1b0))/0xb)+parseInt(j(0x1b7))/0xc*(-parseInt(j(0x1bb))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0xd2df6));const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const k=a78d;return a78a[k(0x1c0)]()['search'](k(0x1a5))['toString']()['constructor'](a78a)['search']('(((.+)+)+)+$');});a78a();import a78e from'fs';import a78f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{Log}from'../tools/log/log.class.js';Command[a78l(0x1a7)]({'name':a78l(0x1a9),'aliases':['l','log'],'usage':'maka\x20logs','requiredOpts':[a78l(0x1b1)],'mustBeInMakaProject':!![],'validOpts':[a78l(0x1a6)],'shortDesc':a78l(0x1c1),'isPro':!![],'examples':[a78l(0x1b3),a78l(0x1bd),a78l(0x1b4)]},function(a,b){const m=a78l;try{const c='pm2\x20logs',d=this[m(0x1b2)][m(0x1b8)](b['env']),f=a78f[m(0x1b9)](d,'ssh.json'),g=a78e['readFileSync'](f),h=JSON[m(0x1ab)](g[m(0x1c0)]());Object[m(0x1af)](h,{'env':d}),SSH[m(0x1b5)](c,h,{'tty':!![],'verbose':!![]});}catch(i){Log['error'](i);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a79c(){const k=['maka\x20run','splice','processAndRunCommand','625734TZSzyG','1384CWwnPc','maka','8922nAapkp','\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','258VHXlna','toString','4972080WSjkRa','312544WFnfrG','7EZtKzB','search','exit','maka\x20create\x20Todo','constructor','2059150loIbPC','maka\x20install\x20meteor','(((.+)+)+)+$','maka\x20<command>\x20[<args>]\x20[<opts>]','3411bdSUkw','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','apply','31948fWGGvu'];a79c=function(){return k;};return a79c();}function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x140;let f=c[d];return f;},a79d(a,b);}const a79i=a79d;(function(a,b){const f=a79d,c=a();while(!![]){try{const d=-parseInt(f(0x14e))/0x1+-parseInt(f(0x157))/0x2*(-parseInt(f(0x155))/0x3)+-parseInt(f(0x141))/0x4+parseInt(f(0x147))/0x5+parseInt(f(0x152))/0x6*(parseInt(f(0x142))/0x7)+parseInt(f(0x153))/0x8*(-parseInt(f(0x14b))/0x9)+-parseInt(f(0x140))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0x3765a));const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a79d;if(c){const e=c[g(0x14d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const h=a79d;return a79a[h(0x158)]()['search']('(((.+)+)+)+$')[h(0x158)]()[h(0x146)](a79a)[h(0x143)](h(0x149));});a79a();import{Command}from'../command.js';const Maka=new Command({'name':a79i(0x154),'minArgLength':0x1,'shortDesc':a79i(0x14c),'validOpts':[],'usage':a79i(0x14a),'disableAuthCheck':!![],'examples':['maka\x20--help',a79i(0x148),a79i(0x145),a79i(0x14f)],'description':a79i(0x156)},async function(a,b){const j=a79i;try{const c=a[0x0];a[j(0x150)](0x0,0x1),await this[j(0x151)](c,a,b);}catch(d){process[j(0x144)](0x1);}});export default Maka;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a80c(){var k=['search','Murrrrderrrrr','apply','create','6YGwiTE','murder','144WDgFRs','font-family:\x20monospace','50xPBpAh','toString','error','195672bCercO','3916353Tvikgl','409383EZGIyN','636709QCqPsZ','1204932fPQvrZ','maka\x20murder','22dsakxV','731324JjlKYe','%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','4170380ZZktje'];a80c=function(){return k;};return a80c();}function a80d(a,b){var c=a80c();return a80d=function(d,e){d=d-0xb8;var f=c[d];return f;},a80d(a,b);}var a80i=a80d;(function(a,b){var f=a80d,c=a();while(!![]){try{var d=parseInt(f(0xc3))/0x1+parseInt(f(0xc7))/0x2+-parseInt(f(0xc4))/0x3+parseInt(f(0xc0))/0x4*(parseInt(f(0xbd))/0x5)+-parseInt(f(0xb9))/0x6*(parseInt(f(0xc1))/0x7)+-parseInt(f(0xbb))/0x8*(parseInt(f(0xc2))/0x9)+-parseInt(f(0xc9))/0xa*(-parseInt(f(0xc6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0x853ca));var a80b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a80d;if(c){var e=c[g(0xcc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){var h=a80d;return a80a['toString']()['search']('(((.+)+)+)+$')[h(0xbe)]()['constructor'](a80a)[h(0xca)]('(((.+)+)+)+$');});a80a();import{Command}from'../command.js';Command[a80i(0xb8)]({'name':a80i(0xba),'usage':a80i(0xc5),'maxArgLength':0x1,'shortDesc':a80i(0xcb),'validOpts':[]},async function(){var j=a80i;try{console['log'](j(0xc8),j(0xbc));}catch(a){console[j(0xbf)](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(0x199))/0x1*(parseInt(m(0x19f))/0x2)+-parseInt(m(0x1b0))/0x3+parseInt(m(0x1a4))/0x4*(parseInt(m(0x19a))/0x5)+-parseInt(m(0x194))/0x6*(parseInt(m(0x1a8))/0x7)+-parseInt(m(0x198))/0x8*(parseInt(m(0x18d))/0x9)+-parseInt(m(0x1ac))/0xa*(parseInt(m(0x18e))/0xb)+parseInt(m(0x1ad))/0xc*(parseInt(m(0x186))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0x73cd9));const a81b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a81d;if(c){const e=c[n(0x18a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){const o=a81d;return a81a['toString']()['search'](o(0x1aa))['toString']()['constructor'](a81a)[o(0x187)](o(0x1aa));});function a81c(){const r=['proxy','join','9sAvYSd','253obUCEX','.key','maka\x20proxy','targetPort','readFileSync','create','6rWuFhW','targetHost','isFile','=>\x20SSL\x20Proxy\x20forwarding\x20','6768952uwvWSX','2VpyWfn','1641875CqfSAL','getAppConfigPath','.csr','.crt','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','611140ieGzmQ','\x20to\x20','listenPort','genCSR','processAndRunGenerator','4iAAeMn','appName','utf8','localhost','4747393yxTUSM','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','(((.+)+)+)+$','\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','105540CbYeXB','24fUrHLm','help','fsi','416814aVQjEH','listen','getMakaProjectConfig','9365278QYKtYA','search','bright','genSSC','apply'];a81c=function(){return r;};return a81c();}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';import{UsageError}from'../error.js';function a81d(a,b){const c=a81c();return a81d=function(d,e){d=d-0x184;let f=c[d];return f;},a81d(a,b);}import{SSL}from'../tools/ssl/ssl.class.js';import a81h from'../generators/maka.gen.js';Command[a81p(0x193)]({'name':a81p(0x18b),'usage':'maka\x20proxy','mustBeInMakaProject':!![],'validOpts':[a81p(0x1ae),a81p(0x191),a81p(0x1a1),a81p(0x195)],'maxArgLength':0x1,'shortDesc':a81p(0x1a9),'description':a81p(0x1ab),'examples':[a81p(0x190),'maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','maka\x20proxy\x20--target-host\x20http://192.168.1.20']},async function(a,b){const q=a81p,c=this[q(0x1af)][q(0x185)](),d='development',e=this[q(0x1af)][q(0x19b)](d),f=this[q(0x1af)]['mkKeysDir']({'configPath':e}),g=b['targetPort']?Number(b['targetPort']):0xbb8,h=b[q(0x1a1)]?Number(b[q(0x1a1)]):0xd73,i=b['targetHost']?b[q(0x195)]:q(0x1a7),j=a81f[q(0x18c)](f,c[q(0x1a5)]+q(0x18f)),k=a81f['join'](f,c['appName']+'.crt');(!this[q(0x1af)][q(0x196)](j)||!this[q(0x1af)][q(0x196)](k))&&(await a81h[q(0x1a3)]('sslconfig',[],{'env':d}),SSL[q(0x1a2)]({'keyName':c['appName']+q(0x18f),'csrName':c[q(0x1a5)]+q(0x19c),'cwd':f}),SSL[q(0x189)]({'keyName':c[q(0x1a5)]+q(0x18f),'crtName':c['appName']+q(0x19d),'cwd':f}));if(g===h){Log['error'](q(0x19e));throw new UsageError();}const l={'ssl':{'key':a81e[q(0x192)](j,q(0x1a6)),'cert':a81e[q(0x192)](k,q(0x1a6))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a81g['createProxyServer'](l)[q(0x184)](Number(h)),Log[q(0x188)](q(0x197)+h+q(0x1a0)+g);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a82p=a82d;(function(a,b){const n=a82d,c=a();while(!![]){try{const d=parseInt(n(0xe1))/0x1*(-parseInt(n(0xf9))/0x2)+parseInt(n(0x102))/0x3*(-parseInt(n(0xf7))/0x4)+parseInt(n(0xdf))/0x5+-parseInt(n(0xf2))/0x6*(parseInt(n(0xed))/0x7)+parseInt(n(0xdc))/0x8*(-parseInt(n(0xda))/0x9)+parseInt(n(0xf3))/0xa*(parseInt(n(0xf5))/0xb)+parseInt(n(0xe5))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x87d06));const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const o=a82d;return a82a[o(0xd9)]()['search'](o(0xe4))['toString']()[o(0xf1)](a82a)[o(0xeb)](o(0xe4));});a82a();import a82e from'fs';import a82f from'path';function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0xd7;let f=c[d];return f;},a82d(a,b);}function a82c(){const r=['constructor','570846utBmWz','286570yVhHIE','readFileSync','77UkXzLu','Reconfigure\x20your\x20deployed\x20applications','38716ocpeyp','~/pm2.config.js','58424oTnDAP','create','uname\x20-a','fsi','Checking\x20remote\x20host\x20availability','settings.json','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','env','existsSync','327ymBSqd','Remote\x20host\x20connection\x20successful','scp','toString','747XcyPyD','\x0a\x20\x20If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x0a\x20\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.\x0a\x20\x20','5872WbdWTP','notice','error','3334720MjtVbq','~/ses.json','32vopxUI','ssh','maka\x20reconfig','(((.+)+)+)+$','26582076youtUw','ses.json','getAppConfigPath','parse','reconfig','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','search','sshSync','35uMFGiH','pm2.config.js','join','exit'];a82c=function(){return r;};return a82c();}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a82p(0xfa)]({'name':a82p(0xe9),'validOpts':[''],'requiredOpts':[a82p(0x100)],'mustBeInMakaProject':!![],'usage':a82p(0xe3),'isPro':!![],'shortDesc':a82p(0xf6),'description':a82p(0xdb),'examples':['maka\x20reconfig\x20--env\x20prod']},async function(a,b){const q=a82p;try{const c=this[q(0xfc)][q(0xe7)](b[q(0x100)]),d=a82f[q(0xef)](c,'ssh.json'),f=a82e[q(0xf4)](d)['toString'](),g=JSON[q(0xe8)](f);Object['assign'](g,{'env':c}),Log[q(0xdd)](q(0xfd));const h=SSH['ping'](q(0xfb),g);if(!h)throw q(0xff);if(h)Log['success'](q(0xd7));const i=a82f[q(0xef)](c,'_keys',q(0xe6));if(a82e[q(0x101)](i)){const l={'source':i,'dest':q(0xe0),'verbose':!![]};SSH[q(0xd8)](l,{...g});}const j=a82f['join'](c,q(0xee));SSH[q(0xd8)]({'source':j,'dest':q(0xf8),'verbose':!![]},{...g});const k=a82f[q(0xef)](c,q(0xfe));SSH[q(0xd8)]({'source':k,'dest':'~/settings.json','verbose':!![]},{...g}),SSH[q(0xec)]('pm2\x20delete\x20all',g),await SSH[q(0xe2)](q(0xea),{...g},{'verbose':!![]});}catch(m){console[q(0xde)](m),process[q(0xf0)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a85d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a85d,c=a();while(!![]){try{var d=-parseInt(f(0xc5))/0x1*(parseInt(f(0xc0))/0x2)+parseInt(f(0xc7))/0x3*(parseInt(f(0xbf))/0x4)+-parseInt(f(0xca))/0x5*(parseInt(f(0xcb))/0x6)+-parseInt(f(0xc4))/0x7+-parseInt(f(0xc3))/0x8+-parseInt(f(0xc2))/0x9*(-parseInt(f(0xcd))/0xa)+parseInt(f(0xc9))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0xd5676));var a85b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a85d;if(c){var e=c[g(0xbe)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){var h=a85d;return a85a[h(0xc1)]()[h(0xc8)](h(0xcc))[h(0xc1)]()[h(0xc6)](a85a)[h(0xc8)]('(((.+)+)+)+$');});function a85d(a,b){var c=a85c();return a85d=function(d,e){d=d-0xbe;var f=c[d];return f;},a85d(a,b);}a85a();import'./run.command.js';import'./docker.sub.cmd.js';function a85c(){var i=['47440679QMeRDh','188830xFOhIg','174dXDweD','(((.+)+)+)+$','19120XBnkiz','apply','204PNXlSz','6ORrkLT','toString','1386XOGxAX','2955200IsoPSX','10883705FGKMMO','481189Hlivoq','constructor','42933EhjuJi','search'];a85c=function(){return i;};return a85c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a83m=a83d;(function(a,b){const j=a83d,c=a();while(!![]){try{const d
|
|
1
|
+
const a83m=a83d;(function(a,b){const j=a83d,c=a();while(!![]){try{const d=-parseInt(j(0x10d))/0x1+parseInt(j(0x11f))/0x2+parseInt(j(0x120))/0x3*(parseInt(j(0x11e))/0x4)+-parseInt(j(0x117))/0x5*(-parseInt(j(0x113))/0x6)+-parseInt(j(0x123))/0x7+-parseInt(j(0x114))/0x8+parseInt(j(0x10e))/0x9*(parseInt(j(0x122))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0xa654f));const a83b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a83d;if(c){const e=c[k(0x10f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){const l=a83d;return a83a['toString']()[l(0x125)](l(0x124))[l(0x107)]()[l(0x118)](a83a)[l(0x125)](l(0x124));});a83a();import a83e from'./run.command.js';import{execSync}from'child_process';function a83c(){const o=['fsi','\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','20OOqIdK','2400040dFeLOi','69699EskdSq','http://localhost','1153660jgNeSc','5068672yGfPjn','(((.+)+)+)+$','search','docker-compose.yaml','docker','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','toString','inherit','getAppConfigPath','\x20up\x20--remove-orphans','join','maka\x20run\x20docker','513023KTCtKf','63CHmPOS','apply','docker-compose\x20--project-directory\x20','PM2\x20Config\x20File:\x20','getMakaProjectConfig','6HFGjkj','7917136zdCggS','createFile','appName','3921545eBilZC','constructor','notice','templateContent','exit'];a83c=function(){return o;};return a83c();}import a83f from'path';function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0x106;let f=c[d];return f;},a83d(a,b);}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['create']({'name':'docker','aliases':['d'],'shortDesc':a83m(0x106),'description':a83m(0x11d),'usage':a83m(0x10c),'isPro':!![],'validOpts':['']},async function(){const n=a83m;try{const a=this[n(0x11c)][n(0x112)](),b=this['fsi'][n(0x109)](n(0x127)),c=a83f[n(0x10b)](b,n(0x126)),d=a83f[n(0x10b)](b,'pm2.config.js');Log[n(0x119)](n(0x111)+d),Log[n(0x119)]('Docker\x20Compose\x20Path:\x20'+c);if(!a83g['existsSync'](c)){const f={'app':a[n(0x116)],'appFileCase':paramCase(a[n(0x116)])},g=this[n(0x11c)][n(0x11a)]({'srcPath':'config/docker-compose.yaml','context':f})+'\x0a';this[n(0x11c)][n(0x115)]({'filePath':c,'data':g});}try{await a83h(n(0x121));}catch(h){}execSync(n(0x110)+b+n(0x10a),{'stdio':n(0x108)});}catch(i){process[n(0x11b)](0x1);}},a83e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a84t=a84d;(function(a,b){const p=a84d,c=a();while(!![]){try{const d=parseInt(p(0x1f3))/0x1+parseInt(p(0x1fd))/0x2+parseInt(p(0x1ff))/0x3+-parseInt(p(0x1e7))/0x4+-parseInt(p(0x1d8))/0x5+-parseInt(p(0x1dc))/0x6+parseInt(p(0x204))/0x7*(parseInt(p(0x1e0))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0x53209));const a84b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a84d;if(c){const e=c[q(0x1f6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){const r=a84d;return a84a[r(0x1db)]()['search'](r(0x1d2))['toString']()['constructor'](a84a)['search'](r(0x1d2));});function a84c(){const w=['app','Node\x20Env\x20Config:\x20','settings','49wPFMsr','inspect','port','getAppConfigPath','isFile','mobileServer','excludeArchs','android','createFile','run','boolean','local','config','http://localhost:','exit','(((.+)+)+)+$','--production','isDirectory','split','rawLogs','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','1551985hRnbmN','notice','length','toString','2373198CqhykL','fsi','push','filter','131176MsoecC','sep','argv','verbose','splice','Meteor\x20Settings:\x20','forEach','2352808DXGlOY','invokeMeteorCommand','checkMeteorPackage','slice','settings.json','--settings','concat','env','.meteor','\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','production','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)','640605RZdEEq','cordova-build','ios','apply','join','development','web.browser.legacy','warn','extraPackages','findProjectDirectory','812950rJJtgf','autoupdate','1418286XugJuq','error'];a84c=function(){return w;};return a84c();}function a84d(a,b){const c=a84c();return a84d=function(d,e){d=d-0x1d1;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';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import a84h from'open';const syncSource=function(a){const s=a84d;a84f['openSync'](a,'r'),a84g[s(0x210)]({'path':a});},Run=Command['create']({'name':a84t(0x20d),'mustBeInMakaProject':!![],'shortDesc':'Run\x20your\x20Meteor\x20application','description':a84t(0x1f0),'validOpts':[a84t(0x1ee),a84t(0x1d6),a84t(0x206),a84t(0x205),a84t(0x209),a84t(0x1e3),'allowIncompatibleUpdate',a84t(0x1fb),'x',a84t(0x20a),'production','ci']},async function(a,b){const u=a84t;try{await this[u(0x1dd)][u(0x1e9)](u(0x1fe),{'shouldInstall':!![]});const c=a[0x0];if(c===u(0x1f5)){const l=this[u(0x1dd)][u(0x1fc)](),m=a84e[u(0x1f7)](l,u(0x201),u(0x1ef),u(0x20f),u(0x1f4));this['fsi'][u(0x1d4)](m)&&await rimraf(m);}!b['excludeArchs']&&!b['x']&&(a=a[u(0x1ed)](['--exclude-archs',u(0x1f9)]));if(b[u(0x209)]&&typeof b[u(0x209)]===u(0x20e))throw u(0x1f2);const d=b[u(0x1ee)]?b[u(0x1ee)]:u(0x1f8),f=this[u(0x1dd)][u(0x207)](d),g=a84e['join'](f,'process.env');let h=a84e[u(0x1f7)](f,u(0x1eb));b['settings']?h=b[u(0x203)]:h=a84e['join'](f,u(0x1eb));this[u(0x1dd)][u(0x208)](g)?(Log['notice'](u(0x202)+g),syncSource(g)):(Log['info']('Cannot\x20find\x20Node\x20Environment\x20file,\x20creating:\x20'+g),this['fsi'][u(0x20c)]({'filePath':g,'data':''}));this[u(0x1dd)][u(0x208)](h)?(Log[u(0x1d9)](u(0x1e5)+h),a=a[u(0x1ed)]([u(0x1ec),h])):Log[u(0x1fa)](u(0x1d7)+h);const i=f[u(0x1d5)](a84e[u(0x1e1)]),j=i[i[u(0x1da)]-0x1];j===u(0x1f1)&&a[u(0x1de)](u(0x1d3));const k=process[u(0x1e2)][u(0x1ea)](0x2)[u(0x1df)](n=>n!==u(0x20d))['filter'](n=>n!==a[0x0]);k[u(0x1e6)]((n,o)=>{const v=u;n==='--env'&&k[v(0x1e4)](o,0x2),n==='-e'&&k['splice'](o,0x2);});try{c!=='ios'&&c!==u(0x20b)&&await a84h(u(0x211)+(b[u(0x206)]||0xbb8));}catch(n){}this['fsi'][u(0x1e8)](u(0x20d),a[u(0x1ed)](k));}catch(o){Log[u(0x200)](o),process[u(0x1d1)](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(0x95))/0x1+-parseInt(f(0xa3))/0x2*(-parseInt(f(0x96))/0x3)+-parseInt(f(0x9d))/0x4*(parseInt(f(0xa2))/0x5)+-parseInt(f(0x9f))/0x6*(parseInt(f(0x98))/0x7)+-parseInt(f(0x9e))/0x8+-parseInt(f(0x9a))/0x9*(parseInt(f(0x9c))/0xa)+parseInt(f(0xa1))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0x39cee));var a89b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a89d;if(c){var e=c[g(0x9b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){var h=a89d;return a89a['toString']()[h(0x97)](h(0xa0))[h(0x99)]()[h(0xa4)](a89a)[h(0x97)]('(((.+)+)+)+$');});a89a();function a89d(a,b){var c=a89c();return a89d=function(d,e){d=d-0x95;var f=c[d];return f;},a89d(a,b);}function a89c(){var i=['1164256JmdkHp','178962iLtNEw','(((.+)+)+)+$','16105584JTpdSm','335uoZCDN','2TwiHzO','constructor','311458RCgYtn','587415ZjZVnb','search','28qeTZoY','toString','27yoMXYc','apply','1423490NogsUo','25064cZQsaP'];a89c=function(){return i;};return a89c();}import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a86k=a86d;(function(a,b){const h=a86d,c=a();while(!![]){try{const d=-parseInt(h(
|
|
1
|
+
const a86k=a86d;(function(a,b){const h=a86d,c=a();while(!![]){try{const d=-parseInt(h(0x8b))/0x1+-parseInt(h(0xaa))/0x2+parseInt(h(0xb6))/0x3*(-parseInt(h(0x95))/0x4)+parseInt(h(0xa6))/0x5*(-parseInt(h(0x8e))/0x6)+parseInt(h(0xa8))/0x7+parseInt(h(0xac))/0x8+parseInt(h(0xae))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0x98c47));const a86b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a86d;if(c){const e=c[i(0xa1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const j=a86d;return a86a[j(0x8c)]()[j(0x9b)]('(((.+)+)+)+$')[j(0x8c)]()[j(0x96)](a86a)[j(0x9b)](j(0xa9));});a86a();function a86c(){const m=['help','Set\x20workspace:\x20','success','dark','search','maka\x20set:global-config\x20--cacert\x20<path>','isFile','maka\x20set:gc\x20--workspace\x20<path>','setGlobalConfig','allowInsecure','apply','isDirectory','\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','openai','resolve','3773090BYJdtG','maka\x20set:global-config','7727664EDbLQq','(((.+)+)+)+$','2088122iUhtWD','pallet','5650664DAnvAA','maka\x20set:gc\x20--insecure\x20<path>','17417628uSVLTD','cacert','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','Set\x20allowInsecure:\x20','disallowInsecure','One\x20or\x20the\x20other\x20buddy','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','exit','24CPYgtd','722235cROeEA','toString','global-config','6zweNIK','Could\x20not\x20find\x20directory','Set\x20CA\x20Cert\x20Path:\x20','Set\x20color\x20pallet\x20to:\x20','error','workspace','fsi','299464zMAvic','constructor'];a86c=function(){return m;};return a86c();}import a86e from'path';function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0x8b;let f=c[d];return f;},a86d(a,b);}import a86f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a86k(0x8d),'usage':a86k(0xa7),'aliases':['gc'],'maxOptsLength':0x3,'validOpts':[{'name':a86k(0xaf),'boolFlag':![]},{'name':a86k(0xa0),'boolFlag':!![]},{'name':'disallowInsecure','boolFlag':!![]},{'name':a86k(0x93),'boolFlag':![]},{'name':a86k(0xa4),'boolFlag':![]},{'name':a86k(0x97),'boolFlag':!![]},{'name':a86k(0xab),'values':['light',a86k(0x9a)]}],'shortDesc':'Set\x20global\x20Maka-CLI\x20settings','description':a86k(0xa3),'examples':[a86k(0x9c),a86k(0xad),a86k(0x9e)]},async function(a,b){const l=a86k;try{if(b['cacert']){if(this['fsi'][l(0x9d)](b[l(0xaf)]))await this['fsi'][l(0x9f)]({'cert':b['cacert']}),Log[l(0x99)](l(0x90)+b[l(0xaf)]);else{const c=typeof b['cacert']==='boolean'?l(0xb0):l(0xb4)+b[l(0xaf)];throw Log[l(0x92)](c);}}if(b[l(0x93)]){const d=this[l(0x94)][l(0xa2)](b[l(0x93)]);if(d)await this[l(0x94)][l(0x9f)]({'workspace':a86e['resolve'](b[l(0x93)])}),Log[l(0x99)](l(0x98)+a86e[l(0xa5)](b[l(0x93)]));else throw Log['error'](l(0x8f));}b['openai']&&(await this['fsi'][l(0x9f)]({'openai':b[l(0xa4)]}),Log[l(0x99)]('Set\x20OpenAI\x20Key:\x20'+b[l(0xa4)]));b[l(0xab)]&&(await this[l(0x94)]['setGlobalConfig']({'pallet':b[l(0xab)]}),Log['success'](l(0x91)+b[l(0xab)]));if(b['allowInsecure']){if(b[l(0xa0)]&&b[l(0xb2)])throw Log[l(0x92)](l(0xb3));let f=b[l(0xa0)];b[l(0xb2)]&&(f=![]),await this[l(0x94)]['setGlobalConfig']({'allowInsecure':f}),Log[l(0x99)](l(0xb1)+f);}process['exit'](0x0);}catch(g){console[l(0x92)](g),process[l(0xb5)](0x0);}},a86f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a87i=a87d;(function(a,b){var f=a87d,c=a();while(!![]){try{var d=parseInt(f(0x199))/0x1+-parseInt(f(0x197))/0x2+parseInt(f(0x1a3))/0x3+parseInt(f(0x19d))/0x4+parseInt(f(0x1a0))/0x5*(parseInt(f(0x196))/0x6)+parseInt(f(0x1a2))/0x7+parseInt(f(0x19e))/0x8*(-parseInt(f(0x19a))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0x45789));var a87b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a87d;if(c){var e=c[g(0x1a1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){var h=a87d;return a87a[h(0x1a6)]()[h(0x19f)](h(0x1a5))[h(0x1a6)]()[h(0x19b)](a87a)[h(0x19f)](h(0x1a5));});a87a();function a87c(){var k=['840474qhXKTV','local-config','(((.+)+)+)+$','toString','2941134rOSRnU','536228eMVJtJ','notice','173993goxjcL','9adkFxN','constructor','maka\x20set:local-config','978384pEOnQP','8200240MGMpvc','search','5koCHUp','apply','2721327TmiWdb'];a87c=function(){return k;};return a87c();}import a87e from'./set.command.js';function a87d(a,b){var c=a87c();return a87d=function(d,e){d=d-0x196;var f=c[d];return f;},a87d(a,b);}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a87i(0x1a4),'usage':a87i(0x19c),'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(0x198)]('Sorry,\x20not\x20implemented\x20yet');},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(0x10b))/0x1+parseInt(f(0x10a))/0x2*(-parseInt(f(0xfe))/0x3)+parseInt(f(0xff))/0x4*(-parseInt(f(0x104))/0x5)+-parseInt(f(0x10c))/0x6+-parseInt(f(0x105))/0x7*(parseInt(f(0xfd))/0x8)+-parseInt(f(0x106))/0x9+parseInt(f(0x101))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0x5d71f));const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a88d;if(c){const e=c[g(0x102)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const h=a88d;return a88a[h(0x109)]()[h(0x111)](h(0x103))['toString']()[h(0x108)](a88a)[h(0x111)](h(0x103));});a88a();function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0xfd;let f=c[d];return f;},a88d(a,b);}function a88c(){const k=['apply','(((.+)+)+)+$','428555QBLJaQ','175231mcslAo','5357349xumEmh','set','constructor','toString','2HzITJn','26333Zmubhk','4084446RXBQFO','runSubCommand','maka\x20set:<sub-command>','\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','create','search','8OKzgNO','1158444wnyehP','20YXAhQO','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','24721560wrVMDD'];a88c=function(){return k;};return a88c();}import{Command}from'../../command.js';const SetCommand=Command[a88i(0x110)]({'name':a88i(0x107),'usage':a88i(0x10e),'shortDesc':a88i(0x100),'description':a88i(0x10f),'validOpts':[]},async function(a,b){const j=a88i,c=a[0x0],d=this['findSubCommand'](c);d&&this[j(0x10d)](c,a,b);});export default SetCommand;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a90m=a90d;(function(a,b){const j=a90d,c=a();while(!![]){try{const d
|
|
1
|
+
const a90m=a90d;(function(a,b){const j=a90d,c=a();while(!![]){try{const d=parseInt(j(0x19b))/0x1*(parseInt(j(0x19a))/0x2)+-parseInt(j(0x1a0))/0x3+parseInt(j(0x1aa))/0x4*(parseInt(j(0x18e))/0x5)+parseInt(j(0x19e))/0x6*(-parseInt(j(0x192))/0x7)+parseInt(j(0x1a4))/0x8*(parseInt(j(0x18d))/0x9)+-parseInt(j(0x19d))/0xa+parseInt(j(0x196))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0xdd0dd));const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a90d;if(c){const e=c[k(0x18f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const l=a90d;return a90a['toString']()[l(0x190)]('(((.+)+)+)+$')[l(0x197)]()['constructor'](a90a)[l(0x190)](l(0x193));});a90a();function a90c(){const o=['(((.+)+)+)+$','getAppConfigPath','assign','11038731KLWWIL','toString','maka\x20ssh\x20--env\x20prod','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','1299686kSyBIX','2rmzUmr','readFileSync','14031840UmcECX','461190InDsjQ','maka\x20ssh\x20--env\x20staging','2832105cGwJob','maka\x20ssh\x20<command>','ssh','env','16IMprmE','length','error','exit','create','sshSync','5288mRtOwZ','4269123zgKEvM','875cbEbOz','apply','search','verbose','21gwgQZI'];a90c=function(){return o;};return a90c();}import a90e from'fs';import a90f from'path';import{Command}from'../command.js';function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0x18d;let f=c[d];return f;},a90d(a,b);}import{SSH}from'../tools/ssh/ssh.class.js';import{Log}from'../tools/log/log.class.js';Command[a90m(0x1a8)]({'name':a90m(0x1a2),'usage':a90m(0x1a1),'mustBeInMakaProject':!![],'requiredOpts':[a90m(0x1a3)],'validOpts':[a90m(0x1a3),a90m(0x191)],'isPro':!![],'shortDesc':a90m(0x199),'examples':['maka\x20ssh\x20--env\x20dev',a90m(0x19f),a90m(0x198),'maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22']},async function(a,b){const n=a90m;try{const c=this['fsi'][n(0x194)](b[n(0x1a3)]);let d='';a[n(0x1a5)]>0x0&&(d=a[0x0]);const f=a90f['join'](c,'ssh.json'),g=a90e[n(0x19c)](f)[n(0x197)](),h=JSON['parse'](g);Object[n(0x195)](h,{'env':c}),SSH[n(0x1a9)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b[n(0x191)]});}catch(i){Log[n(0x1a6)](i),process[n(0x1a7)](0x1);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a91d(a,b){const c=a91c();return a91d=function(d,e){d=d-0x188;let f=c[d];return f;},a91d(a,b);}const a91y=a91d;(function(a,b){const v=a91d,c=a();while(!![]){try{const d=-parseInt(v(0x1c5))/0x1+-parseInt(v(0x189))/0x2+parseInt(v(0x19d))/0x3*(parseInt(v(0x18b))/0x4)+-parseInt(v(0x1aa))/0x5*(parseInt(v(0x1b2))/0x6)+parseInt(v(0x1c3))/0x7*(-parseInt(v(0x18c))/0x8)+-parseInt(v(0x19f))/0x9+parseInt(v(0x198))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0x4e780));const a91b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a91d;if(c){const e=c[w(0x1b0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){const x=a91d;return a91a[x(0x1c1)]()[x(0x1bc)](x(0x19e))[x(0x1c1)]()[x(0x196)](a91a)[x(0x1bc)](x(0x19e));});a91a();import a91e from'fs';import a91f from'path';import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';function a91c(){const A=['getMakaProjectConfig','26184530zlXpOY','\x20--email\x20','existsSync','writeFileSync','letsencrypt','14103BxOKOf','(((.+)+)+)+$','3862908khHKRl','appName','fsi','Using\x20saved\x20letsencrypt\x20config','letsencrypt.json','Checking\x20remote\x20host\x20availability','parse','domainNames','genSSC','ssh','exit','2689325rcgLUp','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','start','error','.crt','email','apply','stringify','6nJovtw','New\x20CSR\x20written\x20to\x20','Create\x20and\x20manage\x20your\x20SSL\x20operations.','ssl','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','genCSR','[?]\x20Domains\x20to\x20register:\x20','.csr','readFileSync','ask','search','maka\x20ssl\x20--env\x20dev\x20generate-csr','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','assign','env','toString','/ssh.json','965958gAAZGq','create','416477nludzP','Verifying\x20Letsencrypt\x20configuration','Remote\x20host\x20connection\x20successful','success','788844PmzCVe','.key','28epwgpF','32MQvkcS','sudo\x20snap\x20install\x20--classic\x20certbot','Email\x20to\x20use\x20for\x20auto-updates:\x20','domains','withSpinner','join','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','mkKeysDir','constructor'];a91c=function(){return A;};return a91c();}Command[a91y(0x1c4)]({'name':a91y(0x1b5),'usage':'maka\x20ssl\x20[command]','validOpts':[a91y(0x18f),a91y(0x1af)],'requiredOpts':[a91y(0x1c0)],'shortDesc':a91y(0x1b4),'mustBeInMakaProject':!![],'minArgLength':0x1,'isPro':!![],'examples':[a91y(0x1bd),a91y(0x1ab),a91y(0x192)]},async function(a,b){const z=a91y,c=this[z(0x1a1)][z(0x197)](),d=this[z(0x1a1)]['getAppConfigPath'](b['env']),f=this['fsi'][z(0x195)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g==='generate-csr')SSL[z(0x1b7)]({'keyName':c[z(0x1a0)]+z(0x18a),'csrName':c[z(0x1a0)]+z(0x1b9),'cwd':f});else{if(g==='generate-ssc'){if(!a91e[z(0x19a)](a91f[z(0x191)](f,c[z(0x1a0)]+z(0x18a))))throw z(0x1b6)+a91f['join'](f,c[z(0x1a0)]+z(0x18a));if(!a91e[z(0x19a)](a91f[z(0x191)](f,c[z(0x1a0)]+z(0x1b9))))throw'The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20'+a91f[z(0x191)](f,c[z(0x1a0)]+z(0x1b9));SSL[z(0x1a7)]({'keyName':c['appName']+z(0x18a),'crtName':c[z(0x1a0)]+z(0x1ae),'cwd':f}),Log['notice'](z(0x1b3)+f);}else{if(g===z(0x19c)){let h=b[z(0x18f)],i=b[z(0x1af)];try{const p=a91e[z(0x1ba)](a91f[z(0x191)](d,z(0x1a3)))[z(0x1c1)](),q=JSON[z(0x1a5)](p);h=b[z(0x18f)]?b[z(0x18f)]:q[z(0x1a6)],i=b[z(0x1af)]?b[z(0x1af)]:q['emailUpdate'],(!b['email']||!b[z(0x18f)])&&Log['notice'](z(0x1a2));}catch(r){}const j=JSON[z(0x1a5)](a91e[z(0x1ba)](d+z(0x1c2))[z(0x1c1)]());Object[z(0x1bf)](j,{'env':d}),Log['notice'](z(0x1a4));try{const s=SSH['ping']('uname\x20-a',j);if(!s)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(s)Log[z(0x188)](z(0x1c7));}catch(t){Log[z(0x1ad)](t);return;}const k=Log[z(0x190)]();k[z(0x1ac)](z(0x1c6)),SSH[z(0x1a8)](z(0x1be),{...j}),SSH[z(0x1a8)](z(0x18d),{...j}),SSH['ssh'](z(0x193),{...j}),k[z(0x188)]();const l=h?h:await Actions[z(0x1bb)](z(0x1b8)),m=i?i:await Actions[z(0x1bb)](z(0x18e));SSH[z(0x1a8)](z(0x194)+l+z(0x199)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0x1b1)](n,null,0x2);a91e[z(0x19b)](a91f[z(0x191)](d,z(0x1a3)),o);}else throw'Please\x20provide\x20a\x20command.';}}}catch(u){console[z(0x1ad)](u),process[z(0x1a9)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a92q=a92d;(function(a,b){const m=a92d,c=a();while(!![]){try{const d
|
|
1
|
+
function a92d(a,b){const c=a92c();return a92d=function(d,e){d=d-0x195;let f=c[d];return f;},a92d(a,b);}const a92q=a92d;function a92c(){const t=['settings.json','438085ftvxkU','test-packages','toString','parse','Meteor\x20Settings:\x20','openSync','slice','4PcZoGN','(((.+)+)+)+$','--driver','sanjo:jasmine','notice','2488895mrgvSp','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','4013660BmysvO','testAppPath','19640840pXzLeo','driver','engines','invokeMeteorCommand','once','jasmine','554024DSHqXr','--packages','--settings','getAppConfigPath','argv','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','create','driverPackage','splice','constructor','none','Cannot\x20find\x20Node\x20Environment\x20File:\x20','inspect','Node\x20Env\x20Config:\x20','rawLogs','1855842JHMAaV','meteortesting:mocha','unit','isFile','search','mocha','811884jecafy','concat','packages','--env','fsi','join','error','9KLoREl','8lmnuRP','config','env','test','forEach','filter','apply','readFileSync'];a92c=function(){return t;};return a92c();}(function(a,b){const m=a92d,c=a();while(!![]){try{const d=-parseInt(m(0x195))/0x1+-parseInt(m(0x1ab))/0x2+-parseInt(m(0x1ba))/0x3+-parseInt(m(0x19c))/0x4*(-parseInt(m(0x1a1))/0x5)+-parseInt(m(0x1c0))/0x6+-parseInt(m(0x1a3))/0x7*(parseInt(m(0x1c8))/0x8)+-parseInt(m(0x1c7))/0x9*(-parseInt(m(0x1a5))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0x66682));const a92b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a92d;if(c){const e=c[n(0x1ce)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){const o=a92d;return a92a[o(0x197)]()[o(0x1be)]('(((.+)+)+)+$')[o(0x197)]()[o(0x1b4)](a92a)[o(0x1be)](o(0x19d));});a92a();import a92e from'fs';import a92f from'path';import a92g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const p=a92d;a92e[p(0x19a)](a,'r'),a92g[p(0x1c9)]({'path':a});};Command[a92q(0x1b1)]({'name':a92q(0x1cb),'mustBeInMakaProject':!![],'validOpts':[a92q(0x1a9),a92q(0x1c2),a92q(0x1a6),a92q(0x1b2),a92q(0x1bc),a92q(0x1ca),a92q(0x1b9),'port',a92q(0x1b7),a92q(0x1a4)],'usage':'maka\x20test\x20<opts>','shortDesc':'Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','examples':[]},function(a,b){const r=a92q;try{let c=this[r(0x1c4)]['getAppConfigPath']('development');b[r(0x1ca)]&&(c=this[r(0x1c4)][r(0x1ae)](b[r(0x1ca)]));(!b['unit']||!!b[r(0x1a9)])&&(a=a[r(0x1c1)](['--full-app']));b[r(0x1bc)]&&delete b[r(0x1bc)];let d=b['driver-package']||b[r(0x1a6)]||r(0x1b5);if(d==='none'){const j=JSON[r(0x198)](a92e[r(0x1cf)](a92f[r(0x1c5)](this[r(0x1c4)]['findProjectDirectory'](),'.maka','config.json'),'utf8'));if(j[r(0x1a7)][r(0x1cb)]===r(0x1aa))d=r(0x19f);else j[r(0x1a7)][r(0x1cb)]===r(0x1bf)&&(d=r(0x1bb));}if(d===r(0x1b5))throw r(0x1b0);(!b['driver-package']||!b[r(0x1a6)])&&(a=a['concat'](['--driver-package',d]));const f=a92f[r(0x1c5)](c,r(0x1d0));this[r(0x1c4)][r(0x1bd)](f)?(Log[r(0x1a0)](r(0x199)+f),a=a[r(0x1c1)]([r(0x1ad),f])):Log['warn'](r(0x1a2)+f);const g=a92f['join'](c,'process.env');this[r(0x1c4)][r(0x1bd)](g)?(Log[r(0x1a0)](r(0x1b8)+g),syncSource(g)):Log['warn'](r(0x1b6)+g);const h=process[r(0x1af)][r(0x19b)](0x2)[r(0x1cd)](k=>k!==r(0x1c3))[r(0x1cd)](k=>k!=='test')[r(0x1cd)](k=>k!==a[0x0]);h[r(0x1cc)]((k,l)=>{const s=r;(k===s(0x1c3)||k===s(0x19e))&&h['splice'](l,0x2),k===s(0x1ac)&&h[s(0x1b3)](l,0x1);});const i=b['packages']?r(0x196):r(0x1cb);this[r(0x1c4)][r(0x1a8)](i,a['concat'](h));}catch(k){console[r(0x1c6)](k),process['exit'](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(0x165))/0x1*(-parseInt(k(0x16b))/0x2)+-parseInt(k(0x188))/0x3+-parseInt(k(0x16a))/0x4*(parseInt(k(0x161))/0x5)+parseInt(k(0x15f))/0x6+-parseInt(k(0x164))/0x7+parseInt(k(0x170))/0x8*(-parseInt(k(0x168))/0x9)+parseInt(k(0x172))/0xa*(parseInt(k(0x187))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0x8f570));const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a93d;if(c){const e=c[l(0x17f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const m=a93d;return a93a[m(0x15b)]()['search'](m(0x174))[m(0x15b)]()[m(0x184)](a93a)[m(0x15d)](m(0x174));});a93a();function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x15b;let f=c[d];return f;},a93d(a,b);}import{execSync}from'child_process';import a93e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a93c(){const p=['----------------------System----------------------------','constructor','fsi','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','25202573dgLCKt','654777dzMzCJ','replace','\x20node\x20-v','toString','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','search','System\x27s\x20Node\x20Version\x20','4270902WlCIlf','node\x20-v','4390rgSqpU','verbose',')\x20to\x20at\x20least\x20meteor\x27s\x20(','4225655nEqEXR','188886RRGCSi','maka\x20version','isMakaProject','9csOijM','maka\x20version\x20--verbose','4036czFhqu','4YYgTgO','\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','win32','platform','exit','2641936aEqTMx','meteor.bat','10iJPour','majestic','(((.+)+)+)+$','error','Project\x27s\x20Meteor\x20Node\x20Version\x20','bright','System\x27s\x20Meteor\x20Version\x20','getProjectMeteorVersion','warn','version','compareMakaToLatest','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','maka\x20v','apply','Project\x27s\x20Meteor\x20Version\x20','4.7.14','create'];a93c=function(){return p;};return a93c();}const pjson={'version':a93n(0x181)};Command[a93n(0x182)]({'name':a93n(0x17b),'aliases':['v'],'usage':'maka\x20version','maxArgLength':0x1,'validOpts':[a93n(0x162)],'shortDesc':a93n(0x17d),'examples':[a93n(0x17e),a93n(0x166),a93n(0x169)],'description':a93n(0x16c)},async function(a,b){const o=a93n;try{const c=process[o(0x16e)]===o(0x16d)?o(0x171):'meteor';Log[o(0x173)]('Maka\x20'+pjson['version']),await this['fsi']['compareMakaToLatest']();if(b[o(0x162)]){await this[o(0x185)][o(0x17c)](),Log[o(0x177)](o(0x183));const d=this[o(0x185)]['getGlobalMeteorVersion']();Log[o(0x177)]((o(0x178)+d)[o(0x189)]('\x0a',''));const f=execSync(c+o(0x18a))[o(0x15b)]()['replace'](/\r?\n|\r/,'')[o(0x189)]('v','');Log[o(0x177)](o(0x186)+f);const g=execSync(o(0x160))[o(0x15b)]()[o(0x189)](/\r?\n|\r/,'')[o(0x189)]('v','');a93e['gt'](f,g)?(Log[o(0x17a)](o(0x15e)+g),Log[o(0x17a)]('\x20!\x20consider\x20updating\x20your\x20node\x20version\x20('+g+o(0x163)+f+')')):Log[o(0x177)]('System\x27s\x20Node\x20Version\x20'+g);if(this['fsi'][o(0x167)]()){Log[o(0x177)]('----------------------Project----------------------------');const h=this[o(0x185)][o(0x179)]();a93e['gt'](d,h)?(Log[o(0x17a)](o(0x180)+h[o(0x189)]('\x0a','')),Log[o(0x17a)]('\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20'+d+'\x22')):Log['notice']((o(0x180)+h)['replace']('\x0a',''));const i=await this[o(0x185)]['getProjectsMeteorNodeVersion']();i==='N/A'?(Log[o(0x17a)](o(0x176)+i),Log[o(0x17a)](o(0x15c))):Log['bright']('Project\x27s\x20Meteor\x20Node\x20Version\x20'+i),Log[o(0x177)]('\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');}}}catch(j){console[o(0x175)](j),process[o(0x16f)](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(0x157))/0x1*(-parseInt(f(0x15b))/0x2)+-parseInt(f(0x15e))/0x3+-parseInt(f(0x15f))/0x4*(-parseInt(f(0x15c))/0x5)+parseInt(f(0x15d))/0x6+parseInt(f(0x158))/0x7+-parseInt(f(0x161))/0x8+-parseInt(f(0x162))/0x9*(parseInt(f(0x159))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a95c,0x8653a));function a95c(){var h=['54hODozO','5290455GWAWud','2401644HHmcAG','3110274lLwwZq','4GWydQt','constructor','4977968OTqXyK','18hXrwZU','toString','(((.+)+)+)+$','941bUQVWA','7262514XsuLDO','1560340ejwRBj','search'];a95c=function(){return h;};return a95c();}var a95b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a95a=a95b(this,function(){var g=a95d;return a95a[g(0x155)]()[g(0x15a)](g(0x156))['toString']()[g(0x160)](a95a)[g(0x15a)]('(((.+)+)+)+$');});a95a();export class UsageError{}export class UsageErrorWithSubs{}function a95d(a,b){var c=a95c();return a95d=function(d,e){d=d-0x155;var f=c[d];return f;},a95d(a,b);}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 a96i=a96d;(function(a,b){var f=a96d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
2
|
+
function a96d(a,b){var c=a96c();return a96d=function(d,e){d=d-0x6d;var f=c[d];return f;},a96d(a,b);}function a96c(){var j=['47365IVdAzR','1301360htZZLN','2094888rGSYBe','7925640sJAUly','search','18944009LgeguW','env','apply','toString','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','4173066hehHpI','(((.+)+)+)+$','165410qAmTNA'];a96c=function(){return j;};return a96c();}var a96i=a96d;(function(a,b){var f=a96d,c=a();while(!![]){try{var d=-parseInt(f(0x71))/0x1+-parseInt(f(0x70))/0x2+parseInt(f(0x6e))/0x3+parseInt(f(0x72))/0x4+parseInt(f(0x74))/0x5+parseInt(f(0x73))/0x6+-parseInt(f(0x76))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a96c,0xc6cc9));var a96b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a96d;if(c){var e=c[g(0x78)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a96a=a96b(this,function(){var h=a96d;return a96a[h(0x79)]()[h(0x75)](h(0x6f))[h(0x79)]()['constructor'](a96a)[h(0x75)](h(0x6f));});a96a(),process[a96i(0x77)]['NODE_OPTIONS']=a96i(0x6d);import'./maka.js';
|