@maka/maka-cli 4.0.71 → 4.0.76
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/dist/command.js +1 -1
- package/dist/commands/_index.js +1 -1
- package/dist/commands/aws/_index.js +1 -1
- package/dist/commands/aws/aws.command.js +1 -1
- package/dist/commands/aws/ci.sub.cmd.js +1 -1
- package/dist/commands/aws/ckp.sub.cmd.js +1 -1
- package/dist/commands/aws/csg.sub.cmd.js +1 -1
- package/dist/commands/aws/di.sub.cmd.js +1 -1
- package/dist/commands/aws/dks.sub.cmd.js +1 -1
- package/dist/commands/aws/rbi.sub.cmd.js +1 -1
- package/dist/commands/aws/sth.sub.cmd.js +1 -1
- package/dist/commands/aws/ti.sub.cmd.js +1 -1
- package/dist/commands/build/_index.js +1 -1
- package/dist/commands/build/build.js +1 -1
- package/dist/commands/build/docker.sub.cmd.js +1 -1
- package/dist/commands/create.js +1 -1
- package/dist/commands/debug.js +1 -1
- package/dist/commands/deploy.js +1 -1
- package/dist/commands/game/_index.js +1 -1
- package/dist/commands/game/battleship.sub.cmd.js +1 -1
- package/dist/commands/game/play.command.js +1 -0
- package/dist/commands/game/pong.sub.cmd.js +1 -1
- package/dist/commands/game/snake.sub.cmd.js +1 -1
- package/dist/commands/game/tetris.sub.cmd.js +1 -1
- package/dist/commands/generate.js +1 -1
- package/dist/commands/get/_index.js +1 -1
- package/dist/commands/get/get.command.js +1 -1
- package/dist/commands/get/global.sub.cmd.js +1 -1
- package/dist/commands/get/local.sub.cmd.js +1 -1
- package/dist/commands/help.js +1 -1
- package/dist/commands/install.js +1 -1
- package/dist/commands/jsdoc.js +1 -1
- package/dist/commands/login.js +1 -1
- package/dist/commands/logout.js +1 -1
- package/dist/commands/logs.js +1 -1
- package/dist/commands/maka.cmd.js +1 -1
- package/dist/commands/murder.js +1 -1
- package/dist/commands/reconfig.js +1 -1
- package/dist/commands/run.js +1 -1
- package/dist/commands/set/_index.js +1 -1
- package/dist/commands/set/global.sub.cmd.js +1 -1
- package/dist/commands/set/local.sub.cmd.js +1 -1
- package/dist/commands/set/set.command.js +1 -1
- package/dist/commands/ssh.js +1 -1
- package/dist/commands/ssl.js +1 -1
- package/dist/commands/test.js +1 -1
- package/dist/commands/version.js +1 -1
- package/dist/error.js +1 -1
- package/dist/generator.js +1 -1
- package/dist/generators/_index.js +1 -1
- package/dist/generators/api.js +1 -1
- package/dist/generators/collection.js +1 -1
- package/dist/generators/component.js +1 -1
- package/dist/generators/config.js +1 -1
- package/dist/generators/dbc.js +1 -1
- package/dist/generators/dockerfile.js +1 -1
- package/dist/generators/hook.js +1 -1
- package/dist/generators/kit.js +1 -1
- package/dist/generators/layout.js +1 -1
- package/dist/generators/maka.gen.js +1 -1
- package/dist/generators/methods.js +1 -1
- package/dist/generators/package.js +1 -1
- package/dist/generators/page.js +1 -1
- package/dist/generators/publish.js +1 -1
- package/dist/generators/route.js +1 -1
- package/dist/generators/scaffold.js +1 -1
- package/dist/generators/service.js +1 -1
- package/dist/maka.js +1 -1
- package/dist/templates/meteor/app/client/head.html +3 -3
- package/dist/templates/meteor/app/imports/startup/client/index.js.jsx +4 -3
- package/dist/templates/meteor/app/imports/startup/client/index.js.tsx +5 -4
- package/dist/tool.js +1 -1
- package/dist/tools/actions/actions.class.js +1 -1
- package/dist/tools/actions/actions.test.js +1 -1
- package/dist/tools/aws/aws.class.js +1 -1
- package/dist/tools/aws/aws.interfaces.js +1 -1
- package/dist/tools/docker/docker.class.js +1 -1
- package/dist/tools/docker/docker.interfaces.js +1 -1
- package/dist/tools/fsi/fsi.class.js +1 -1
- package/dist/tools/fsi/fsi.interfaces.js +1 -1
- package/dist/tools/https/https.class.js +1 -1
- package/dist/tools/https/https.interface.js +1 -1
- package/dist/tools/log/log.class.js +1 -1
- package/dist/tools/log/log.interfaces.js +1 -1
- package/dist/tools/spawn-async/spawn-async.class.js +1 -1
- package/dist/tools/spawn-async/spawn-async.interfaces.js +1 -1
- package/dist/tools/ssh/ssh.class.js +1 -1
- package/dist/tools/ssh/ssh.interfaces.js +1 -1
- package/dist/tools/ssl/ssl.class.js +1 -1
- package/package.json +3 -3
- package/dist/commands/game/game.command.js +0 -1
package/dist/commands/install.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a30a8=a30d;(function(a,b){const a1=a30d,c=a();while(!![]){try{const d=-parseInt(a1(0xdf))/0x1+-parseInt(a1(0xea))/0x2+-parseInt(a1(0x13f))/0x3+parseInt(a1(0xfa))/0x4*(parseInt(a1(0xe3))/0x5)+-parseInt(a1(0x12d))/0x6+-parseInt(a1(0x104))/0x7+parseInt(a1(0xe6))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a30c,0x8c33b));function a30d(a,b){const c=a30c();return a30d=function(d,e){d=d-0xb7;let f=c[d];return f;},a30d(a,b);}const a30b=(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;};}()),a30a=a30b(this,function(){const a2=a30d;return a30a[a2(0xc7)]()[a2(0xed)](a2(0xd2))[a2(0xc7)]()[a2(0x107)](a30a)[a2(0xed)](a2(0xd2));});a30a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){const a3=a30d;if('Csuqv'===a3(0xdb))try{i(j['throw'](k));}catch(h){m(h);}else return f instanceof c?f:new c(function(h){h(f);});}return new(c||(c=Promise))(function(f,g){const a7=a30d;function h(k){const a4=a30d;if('NUatn'==='OULNr')c['error'](d);else try{if(a4(0x108)!=='CErGU')try{i(j['next'](k));}catch(o){m(o);}else j(d[a4(0xe2)](k));}catch(n){g(n);}}function i(k){const a5=a30d;if('EVtxx'!==a5(0x13c))throw a5(0xbc);else try{j(d[a5(0x11e)](k));}catch(m){a5(0xf3)===a5(0xf3)?g(m):(q[a5(0xce)](a5(0xe1)+r),s[a5(0xce)](a5(0xdc)+t),u['bright']('NPM\x20Path:\x20'+v),w['bright'](a5(0x122)+x),y[a5(0xce)](a5(0xc2)),z[a5(0xce)](a5(0xba)+A[a5(0x13b)]('\x20')),B[a5(0xce)](a5(0x11a)+C[a5(0x13b)]('\x20')),D[a5(0xce)]('----------------------------------'),E['bright'](F));}}function j(k){const a6=a30d;k[a6(0xf4)]?f(k[a6(0x11c)]):e(k[a6(0x11c)])[a6(0xf8)](h,i);}j((d=d[a7(0xbf)](a,b||[]))[a7(0xe2)]());});};import a30M from'os';function a30c(){const ad=['keepInstall','yqSfV','jKpVh','printf\x20\x27export\x20PATH=$PATH:$HOME/.local/bin\x27\x20>>\x20$HOME/.profile\x20&&\x20source\x20$HOME/.profile','toString','cacert','For\x20improved\x20performance,\x20consider\x20whitelisting\x20the\x20following\x20from\x20windows\x20defender.','/meteor-bootstrap-','start','os.osx.x86_64','maka\x20i','bright','confirm','I\x20cannot\x20find\x20your\x20Path\x20or\x20PATH\x20variable.','Roaming','(((.+)+)+)+$','ySkbB','maka\x20install\x20meteor\x20-v\x202.3.6','\x20installed.\x0a','homedir','Removing\x20previous\x20install\x20of\x20meteor','\x22\x202>\x20nul','size','warn','IZkJV','App\x20Local\x20Dir:\x20','Backed\x20up\x20PATH\x20to\x20','Installing\x20meteor\x20version\x20','164881xBWmCS','jdLdZ','Meteor\x20Path:\x20','next','555iAJaiI','curl','Please\x20close\x20this\x20command\x20prompt\x20or\x20powershell\x20window\x20and\x20open\x20a\x20new\x20one\x20to\x20finalize\x20install.','19610504CcnwUN','jJEWh','cert','length','2276068kFNnuu','npm','tar','search','notice','meteor.tar.gz','os.linux.x86_64','cuJbx','printf\x20\x27%s\x5cn\x27\x20\x27#!/bin/sh\x27\x20\x27exec\x20\x22$HOME/.meteor/meteor\x22\x20\x22$@\x22\x27\x20>\x20$HOME/.local/bin/meteor\x20&&\x20chmod\x20+x\x20$HOME/.local/bin/meteor','GrQxu','done','sfkly','fsi','Local','then','--cacert','29572GaIYYY','existsSync','win32','setx\x20PATH\x20\x22','NUzAL','User\x20Path:\x20','.maka','Setting\x20Node\x20Flags:\x20','RELEASE=','\x20\x20\x20\x20Add-MpPreference\x20-ExclusionProcess\x20node.exe,7z.exe,cmd.exe,powershell.exe','6091778diJpXC','debug','Python','constructor','CErGU','vkiaw','concat','Downloading\x20meteor\x20version\x20','printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.bashrc','https://static-meteor.netdna-ssl.com/packages-bootstrap/','No\x20Python\x20install\x20found,\x20if\x20you\x20experience\x20build\x20/\x20install\x20failures,\x20consider\x20installing\x20python.\x20https://visualstudio.microsoft.com/downloads/','--force-local','platform','allowInsecure','exit','QDiBj','getGlobalConfig','sync','Aborted','version','isFile','NKJgl','tar\x20','AppData','value','Allowing\x20insecure\x20curl\x20connections.','throw','Removing\x20old\x20version\x20of\x20meteor','Installing\x20meteor\x20','ZYvnR','Total\x20Memory:\x20','vYLjx','YkHCj','path_backup.txt','Meteor\x20version\x20','mkdir\x20-p\x20','Path','maka\x20install\x20meteor','-rf','create','printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.zshrc','445974odGsfj','withSpinner','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka.cert,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','.meteor','unlinkSync','mlNMv','writeFileSync','\x20-s\x20https://install.meteor.com/','error','/meteor-bootstrap-os.windows.x86_64.tar.gz','EsZiK','GhQLe','-xzf','string','join','EVtxx','maka\x20install\x20meteor\x20--version\x201.12.1','install','1350513mPDKbX','force','totalmem','success','Using\x20CA\x20Cert\x20','ignore','python\x20--version\x203>nul','Meteor\x20download\x20failed.','grep','replace','Install\x20a\x20meteor.\x20\x22maka\x20install\x22\x20defaults\x20to\x20\x22maka\x20install\x20meteor\x22','NPM\x20Path:\x20','hScrX','PATH','curl\x20','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','Network\x20error,\x20please\x20try\x20again.','Setting\x20Path:\x20','includes','apply','RTsYi','setx\x20TOOL_NODE_FLAGS\x20\x22--max-old-space-size=','----------------------------------'];a30c=function(){return ad;};return a30c();}import a30N from'path';import a30O from'fs';import a30P from'delete';import{execSync}from'child_process';import{SpawnAsync}from'../tools/spawn-async/spawn-async.class.js';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';const homeDir=a30M[a30a8(0xd6)]();Command[a30a8(0x12b)]({'name':a30a8(0x13e),'aliases':['i'],'validOpts':['f',a30a8(0x140),'v',a30a8(0x117),a30a8(0x105),a30a8(0xc8),a30a8(0xc3)],'usage':'maka\x20install','description':a30a8(0x149),'examples':[a30a8(0x129),'maka\x20install\x20meteor\x20--force',a30a8(0xd4),a30a8(0x13d),a30a8(0xcd)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const a9=a30d;try{let g=[],h='';if(b['cacert']){if('QjCVA'!==a9(0xe7)){if(this[a9(0xf6)][a9(0x118)](b['cacert'])){if(a9(0x123)!==a9(0xf5))Log['notice'](a9(0x143)+b[a9(0xc8)]),h=b[a9(0xc8)],g=[a9(0xf9),h];else{const r=e['withSpinner']();r['start'](a9(0x11f)),f(g,{'force':!![]},()=>{r['success'](),r();});}}else{if(a9(0xc4)===a9(0xc4))throw a9(0xbb)+h;else b=!![];}}else e[a9(0x135)](a9(0x146)),f['unlinkSync'](g),h[a9(0x112)](0x1);}const i=yield this[a9(0xf6)][a9(0x114)]();if(i[a9(0xe8)]){if(this[a9(0xf6)]['isFile'](i[a9(0xe8)]))'OJxec'===a9(0xc0)?(g(a9(0x127)+h+'/.local/bin',{'stdio':a9(0x144)}),i(a9(0xf2),{'stdio':a9(0x144)}),j('printf\x20\x27export\x20PATH=$PATH:$HOME/.local/bin\x27\x20>>\x20$HOME/.profile\x20&&\x20source\x20$HOME/.profile',{'stdio':a9(0x144)}),k(a9(0x10c),{'stdio':a9(0x144)}),l('printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.zshrc',{'stdio':a9(0x144)})):(h=i[a9(0xe8)],g=['--cacert',h]);else{if(a9(0xd3)===a9(0xd3))throw a9(0x12f)+h;else c[a9(0x135)](d);}}i[a9(0x111)]&&('vkiaw'===a9(0x109)?(Log[a9(0xda)](a9(0x11d)),g=['-k']):(g[a9(0xce)](a9(0xff)+h),i[a9(0xce)](a9(0xbd)+j),k['bright'](a9(0x101)+l)));let j=![];b['f']||b[a9(0x140)]?a9(0x137)===a9(0x137)?j=!![]:(c[a9(0x142)](),d()):j=yield Actions[a9(0xcf)]('This\x20command\x20should\x20NOT\x20be\x20run\x20as\x20sudo\x20or\x20with\x20administrative\x20privileges.\x20\x20Are\x20you\x20ready\x20to\x20proceed?');if(!j){if('MWNio'===a9(0xfe))b[a9(0xda)]('No\x20Python\x20install\x20found,\x20if\x20you\x20experience\x20build\x20/\x20install\x20failures,\x20consider\x20installing\x20python.\x20https://visualstudio.microsoft.com/downloads/');else throw a9(0x116);}const k=process[a9(0x110)]===a9(0xfc),l=process[a9(0x110)]==='darwin';let m=execSync(a9(0xba)+g['join']('\x20')+a9(0x134))[a9(0xc7)](),n=yield this[a9(0xf6)][a9(0x147)](m,a9(0x102));if(n[a9(0xe9)]===0x0)throw a9(0xbc);let o=n[0x0][a9(0x148)](/[^0-9.]/gi,'')[a9(0x148)](/\r?\n|\r/,'');if(typeof b['v']==='string'||typeof b[a9(0x117)]===a9(0x13a)){if('NKJgl'===a9(0x119))o=b['v']||b[a9(0x117)];else{if(this[a9(0xf6)][a9(0x118)](i[a9(0xc8)]))q['notice']('Using\x20CA\x20Cert\x20'+r['cacert']),s=t[a9(0xc8)],u=[a9(0xf9),v];else throw a9(0xbb)+w;}}let p=a30N['join'](homeDir,a9(0x130));if(k){const z=execSync(a9(0x145))[a9(0xc7)](),A=yield this[a9(0xf6)][a9(0x147)](z,a9(0x106))[0x0];!(A===null||A===void 0x0?void 0x0:A[a9(0xbe)](a9(0x106)))&&Log[a9(0xda)](a9(0x10e));p=a30N[a9(0x13b)](homeDir,a9(0x11b),a9(0xf7),'.meteor');const B=a30N[a9(0x13b)](homeDir,a9(0x11b),a9(0xf7)),C=a30N[a9(0x13b)](homeDir,a9(0x11b),a9(0xd1),a9(0xeb));var c=a30M[a9(0x141)](),d=c/0x400,f=d/0x400;f=Math['floor'](f/0x4);const D=a30N['join'](B,a9(0xef));let E=['-s',a9(0x10d)+o+a9(0x136),'--output',D];E=g[a9(0x10a)](E);const F=[a9(0x139),D,'-C',B,a9(0x10f)],G=execSync('FOR\x20/F\x20\x22tokens=1,3*\x20skip=2\x22\x20%G\x20IN\x20(\x27reg\x20query\x20HKCU\x5cEnvironment\x27)\x20DO\x20@echo\x20%G=%H\x20%I')['toString']();if(b['debug']){if(a9(0x138)!==a9(0x124))Log[a9(0xce)](a9(0xe1)+p),Log[a9(0xce)]('App\x20Local\x20Dir:\x20'+B),Log[a9(0xce)](a9(0xb7)+C),Log[a9(0xce)](a9(0x122)+f),Log[a9(0xce)](a9(0xc2)),Log[a9(0xce)](a9(0xba)+E[a9(0x13b)]('\x20')),Log[a9(0xce)](a9(0x11a)+F[a9(0x13b)]('\x20')),Log[a9(0xce)]('----------------------------------'),Log[a9(0xce)](G);else return c[a9(0xc7)]()['search'](a9(0xd2))[a9(0xc7)]()[a9(0x107)](d)[a9(0xed)](a9(0xd2));}const H=K=>{const aa=a9;if(aa(0xf1)!=='cuJbx')throw aa(0x116);else return new Promise((M,N)=>{const ab=aa,O=Log[ab(0x12e)]();O[ab(0xcb)](ab(0x11f)),a30P(p,{'force':!![]},()=>{const ac=ab;O[ac(0x142)](),M();});});};a30O[a9(0xfb)](p)&&('jKpVh'===a9(0xc5)?yield H(p):c[a9(0x115)](d,{'force':!![]}));yield SpawnAsync[a9(0x12e)](a9(0xe4),E,{'message':a9(0x10b)+o});const I=a30O['statSync'](D);if(I[a9(0xd9)]<0x1388){if(a9(0x132)===a9(0xb8)){let M=this[a9(0xf6)][a9(0x147)](p,a9(0x128))[0x0];if(!M){M=this[a9(0xf6)]['grep'](E,a9(0xb9))[0x0];if(!M)throw a9(0xd0);}const N=r[a9(0x13b)](s,a9(0x100),a9(0x125));M=M[a9(0x148)](/PATH=/,'')[a9(0x148)](/Path=/,'')[a9(0x148)](t+';',''),u[a9(0x133)](N,M),v[a9(0xee)](a9(0xdd)+N);const O='setx\x20PATH\x20\x22'+w+';'+M+a9(0xd8),P=a9(0xc1)+x+a9(0xd8);y['debug']&&(F['bright']('User\x20Path:\x20'+M),G['bright'](a9(0xbd)+O),H[a9(0xce)](a9(0x101)+P)),C(O,{'stdio':a9(0x144)}),D(P,{'stdio':a9(0x144)});}else Log[a9(0x135)]('Meteor\x20download\x20failed.'),a30O[a9(0x131)](D),process['exit'](0x1);}yield SpawnAsync[a9(0x12e)](a9(0xec),F,{'message':a9(0xde)+o});try{let M=this[a9(0xf6)]['grep'](G,a9(0x128))[0x0];if(!M){M=this[a9(0xf6)][a9(0x147)](G,'PATH')[0x0];if(!M)throw'I\x20cannot\x20find\x20your\x20Path\x20or\x20PATH\x20variable.';}const N=a30N[a9(0x13b)](homeDir,'.maka',a9(0x125));M=M['replace'](/PATH=/,'')['replace'](/Path=/,'')[a9(0x148)](p+';',''),a30O[a9(0x133)](N,M),Log[a9(0xee)](a9(0xdd)+N);const O=a9(0xfd)+p+';'+M+a9(0xd8),P=a9(0xc1)+f+a9(0xd8);b[a9(0x105)]&&(Log[a9(0xce)](a9(0xff)+M),Log[a9(0xce)]('Setting\x20Path:\x20'+O),Log[a9(0xce)]('Setting\x20Node\x20Flags:\x20'+P)),execSync(O,{'stdio':a9(0x144)}),execSync(P,{'stdio':a9(0x144)});}catch(Q){console[a9(0x135)](Q);}try{const R=a30N[a9(0x13b)](B,a9(0xef));!b[a9(0xc3)]&&this[a9(0xf6)][a9(0x118)](R)&&a30P[a9(0x115)](R,{'force':!![]});}catch(S){console[a9(0x135)](S);}Log[a9(0x142)](a9(0x126)+o+a9(0xd5)),Log[a9(0xee)](a9(0xc9)),Log[a9(0xee)]('\x20\x20Open\x20an\x20administrative\x20PowerShell\x20terminal,\x20then\x20run:\x20'),Log['notice']('\x20\x20\x20\x20Add-MpPreference\x20-ExclusionPath\x20\x22'+p+'\x22'),Log[a9(0xee)](a9(0x103)),Log[a9(0xee)](a9(0xe5));}else{if(a9(0xe0)===a9(0xe0)){a30O[a9(0xfb)](p)&&(yield SpawnAsync[a9(0x12e)]('rm',[a9(0x12a),p],{'message':a9(0xd7)}));try{const T=l?a9(0xcc):a9(0xf0);yield SpawnAsync[a9(0x12e)]('curl',[...g,'-s','https://static-meteor.netdna-ssl.com/packages-bootstrap/'+o+a9(0xca)+T+'.tar.gz','--output',a30N[a9(0x13b)](homeDir,a9(0xef))],{'message':a9(0x10b)+o});const U=['-xzf',a30N[a9(0x13b)](homeDir,a9(0xef)),'-C',homeDir];yield SpawnAsync[a9(0x12e)](a9(0xec),U,{'message':a9(0x120)+o}),a30P['sync'](a30N[a9(0x13b)](homeDir,'meteor.tar.gz'),{'force':!![]});}catch(V){console[a9(0x135)](V);}try{execSync('mkdir\x20-p\x20'+homeDir+'/.local/bin',{'stdio':a9(0x144)}),execSync(a9(0xf2),{'stdio':'ignore'}),execSync(a9(0xc6),{'stdio':a9(0x144)}),execSync(a9(0x10c),{'stdio':a9(0x144)}),execSync(a9(0x12c),{'stdio':a9(0x144)});}catch(W){if('ZYvnR'!==a9(0x121))return f instanceof g?h:new i(function(Y){Y(k);});else console[a9(0x135)](W);}Log[a9(0x142)](a9(0x126)+o+'\x20installed.\x0a');}else c(d);}}catch(Z){a9(0x113)!==a9(0x113)?c(d):(console[a9(0x135)](Z),process[a9(0x112)](0x0));}});});
|
|
1
|
+
const a30a8=a30d;function a30d(a,b){const c=a30c();return a30d=function(d,e){d=d-0x1de;let f=c[d];return f;},a30d(a,b);}(function(a,b){const a5=a30d,c=a();while(!![]){try{const d=-parseInt(a5(0x205))/0x1*(parseInt(a5(0x225))/0x2)+parseInt(a5(0x1de))/0x3*(parseInt(a5(0x202))/0x4)+parseInt(a5(0x266))/0x5+parseInt(a5(0x240))/0x6*(-parseInt(a5(0x25a))/0x7)+-parseInt(a5(0x272))/0x8+-parseInt(a5(0x232))/0x9+parseInt(a5(0x235))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a30c,0xdb8a0));const a30b=(function(){let a=!![];return function(b,c){const d=a?function(){const a6=a30d;if(c){if(a6(0x271)===a6(0x216))return f instanceof g?h:new i(function(m){m(k);});else{const f=c[a6(0x248)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;};}()),a30a=a30b(this,function(){const a7=a30d;return a30a[a7(0x233)]()[a7(0x257)](a7(0x234))[a7(0x233)]()[a7(0x23f)](a30a)[a7(0x257)](a7(0x234));});a30a();function a30c(){const ag=['Meteor\x20Path:\x20','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','success','--output','keepInstall','dEZYx','withSpinner','create','start','.tar.gz','Using\x20CA\x20Cert\x20','throw','JbmFc','search','uWMpA','AppData','79226XRzaOr','EcVUG','--force-local','GkHGY','platform','-rf','hNueb','wdSIQ','npm','notice','darwin','AVDzE','810725lEwFDb','HEqpZ','tar','/meteor-bootstrap-','caGHC','VAVHm','Removing\x20old\x20version\x20of\x20meteor','Removing\x20previous\x20install\x20of\x20meteor','debug','maka\x20i','Roaming','zmlRg','7630008eUbPhc','PATH','30huqkIc','size','jnOoM','exit','printf\x20\x27%s\x5cn\x27\x20\x27#!/bin/sh\x27\x20\x27exec\x20\x22$HOME/.meteor/meteor\x22\x20\x22$@\x22\x27\x20>\x20$HOME/.local/bin/meteor\x20&&\x20chmod\x20+x\x20$HOME/.local/bin/meteor','\x20\x20\x20\x20Add-MpPreference\x20-ExclusionPath\x20\x22','then','homedir','VpdnV','Aborted','Path','oNcqC','Python','Allowing\x20insecure\x20curl\x20connections.','printf\x20\x27export\x20PATH=$PATH:$HOME/.local/bin\x27\x20>>\x20$HOME/.profile\x20&&\x20source\x20$HOME/.profile','Setting\x20Node\x20Flags:\x20','NPM\x20Path:\x20','length','sync','join','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka.cert,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','KUYXs','curl','JqhqY','grep','/.local/bin','xmWQt','maka\x20install\x20meteor\x20--force','setx\x20PATH\x20\x22','Installing\x20meteor\x20','cert','__awaiter','FbXdH','done','\x20\x20\x20\x20Add-MpPreference\x20-ExclusionProcess\x20node.exe,7z.exe,cmd.exe,powershell.exe','vvWxV','428136BAbiEu','warn','allowInsecure','7538LaxhHr','Tbtaw','replace','statSync','Install\x20a\x20meteor.\x20\x22maka\x20install\x22\x20defaults\x20to\x20\x22maka\x20install\x20meteor\x22','totalmem','zxMYw','IvWRU','cacert','TNBTk','error','next','----------------------------------','os.linux.x86_64','setx\x20TOOL_NODE_FLAGS\x20\x22--max-old-space-size=','xjmYK','string','SZpyE','noGkr','Backed\x20up\x20PATH\x20to\x20','Network\x20error,\x20please\x20try\x20again.','ZKsap','I\x20cannot\x20find\x20your\x20Path\x20or\x20PATH\x20variable.','maka\x20install','Please\x20close\x20this\x20command\x20prompt\x20or\x20powershell\x20window\x20and\x20open\x20a\x20new\x20one\x20to\x20finalize\x20install.','mkdir\x20-p\x20','Meteor\x20version\x20','meteor.tar.gz','floor','force','.meteor','Installing\x20meteor\x20version\x20','30wTQHlU','existsSync','ignore','bright','version','RELEASE=','/meteor-bootstrap-os.windows.x86_64.tar.gz','path_backup.txt','fsi','concat','value','wGolO','Local','7073811yufUOs','toString','(((.+)+)+)+$','19269950XgFyUP','getGlobalConfig','isFile','Downloading\x20meteor\x20version\x20','UVzYN','-xzf','User\x20Path:\x20','--cacert','win32','Total\x20Memory:\x20','constructor','216XfxNTO','printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.zshrc','kZSwX','\x20installed.\x0a','install','\x22\x202>\x20nul','python\x20--version\x203>nul','Setting\x20Path:\x20','apply','NhWmg'];a30c=function(){return ag;};return a30c();}var __awaiter=this&&this[a30a8(0x1fd)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const a9=a30d;a9(0x26a)!==a9(0x26a)?c[a9(0x20f)](d):g(f);});}return new(c||(c=Promise))(function(f,g){const ad=a30d;function h(k){const aa=a30d;if(aa(0x20b)!==aa(0x258))try{aa(0x1f3)===aa(0x21a)?d=e['v']||f[aa(0x229)]:j(d[aa(0x210)](k));}catch(m){g(m);}else c(d);}function i(k){const ab=a30d;try{j(d[ab(0x255)](k));}catch(l){g(l);}}function j(k){const ac=a30d;ac(0x24f)!==ac(0x230)?k[ac(0x1ff)]?f(k[ac(0x22f)]):e(k[ac(0x22f)])[ac(0x1e4)](h,i):c(d);}j((d=d[ad(0x248)](a,b||[]))['next']());});};import a30M from'os';import a30N from'path';import a30O from'fs';import a30P from'delete';import{execSync}from'child_process';import{SpawnAsync}from'../tools/spawn-async/spawn-async.class.js';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';const homeDir=a30M[a30a8(0x1e5)]();Command[a30a8(0x251)]({'name':a30a8(0x244),'aliases':['i'],'validOpts':['f',a30a8(0x222),'v',a30a8(0x229),a30a8(0x26e),'cacert',a30a8(0x24e)],'usage':a30a8(0x21c),'description':a30a8(0x209),'examples':['maka\x20install\x20meteor',a30a8(0x1f9),'maka\x20install\x20meteor\x20-v\x202.3.6','maka\x20install\x20meteor\x20--version\x201.12.1',a30a8(0x26f)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const ae=a30d;try{let g=[],h='';if(b[ae(0x20d)]){if(this['fsi']['isFile'](b[ae(0x20d)]))ae(0x1e9)!==ae(0x1e9)?c[ae(0x20f)](d):(Log[ae(0x263)](ae(0x254)+b[ae(0x20d)]),h=b[ae(0x20d)],g=['--cacert',h]);else{if(ae(0x265)===ae(0x239))h['done']?i(j[ae(0x22f)]):k(l[ae(0x22f)])[ae(0x1e4)](m,n);else throw ae(0x24b)+h;}}const i=yield this[ae(0x22d)][ae(0x236)]();if(i[ae(0x1fc)]){if('GSGLU'!=='GSGLU'){if(e){const t=i[ae(0x248)](j,arguments);return k=null,t;}}else{if(this[ae(0x22d)][ae(0x237)](i[ae(0x1fc)]))h=i[ae(0x1fc)],g=['--cacert',h];else throw ae(0x1f2)+h;}}i[ae(0x204)]&&(Log[ae(0x203)](ae(0x1eb)),g=['-k']);let j=![];b['f']||b['force']?j=!![]:j=yield Actions['confirm']('This\x20command\x20should\x20NOT\x20be\x20run\x20as\x20sudo\x20or\x20with\x20administrative\x20privileges.\x20\x20Are\x20you\x20ready\x20to\x20proceed?');if(!j){if(ae(0x206)===ae(0x206))throw ae(0x1e7);else{if(this[ae(0x22d)][ae(0x237)](i[ae(0x20d)]))q[ae(0x263)]('Using\x20CA\x20Cert\x20'+r['cacert']),s=t[ae(0x20d)],u=['--cacert',v];else throw ae(0x24b)+w;}}const k=process[ae(0x25e)]===ae(0x23d),l=process[ae(0x25e)]===ae(0x264);let m=execSync('curl\x20'+g[ae(0x1f1)]('\x20')+'\x20-s\x20https://install.meteor.com/')[ae(0x233)](),n=yield this[ae(0x22d)][ae(0x1f6)](m,ae(0x22a));if(n[ae(0x1ef)]===0x0)throw ae(0x219);let o=n[0x0][ae(0x207)](/[^0-9.]/gi,'')[ae(0x207)](/\r?\n|\r/,'');(typeof b['v']===ae(0x215)||typeof b[ae(0x229)]===ae(0x215))&&(ae(0x25d)===ae(0x25d)?o=b['v']||b[ae(0x229)]:(d[ae(0x20f)](e),f[ae(0x1e1)](0x0)));let p=a30N[ae(0x1f1)](homeDir,ae(0x223));if(k){if(ae(0x20e)!==ae(0x261)){const v=execSync(ae(0x246))['toString'](),w=yield this['fsi']['grep'](v,ae(0x1ea))[0x0];if(!(w===null||w===void 0x0?void 0x0:w['includes'](ae(0x1ea)))){if(ae(0x242)===ae(0x201)){if(this[ae(0x22d)]['isFile'](g[ae(0x1fc)]))m=n[ae(0x1fc)],o=[ae(0x23c),p];else throw ae(0x1f2)+q;}else Log[ae(0x203)]('No\x20Python\x20install\x20found,\x20if\x20you\x20experience\x20build\x20/\x20install\x20failures,\x20consider\x20installing\x20python.\x20https://visualstudio.microsoft.com/downloads/');}p=a30N[ae(0x1f1)](homeDir,'AppData',ae(0x231),'.meteor');const x=a30N[ae(0x1f1)](homeDir,ae(0x259),ae(0x231)),y=a30N[ae(0x1f1)](homeDir,ae(0x259),ae(0x270),ae(0x262));var c=a30M[ae(0x20a)](),d=c/0x400,f=d/0x400;f=Math[ae(0x221)](f/0x4);const z=a30N['join'](x,ae(0x220));let A=['-s','https://static-meteor.netdna-ssl.com/packages-bootstrap/'+o+ae(0x22b),ae(0x24d),z];A=g[ae(0x22e)](A);const B=[ae(0x23a),z,'-C',x,ae(0x25c)],C=execSync('FOR\x20/F\x20\x22tokens=1,3*\x20skip=2\x22\x20%G\x20IN\x20(\x27reg\x20query\x20HKCU\x5cEnvironment\x27)\x20DO\x20@echo\x20%G=%H\x20%I')[ae(0x233)]();b['debug']&&(Log[ae(0x228)](ae(0x24a)+p),Log[ae(0x228)]('App\x20Local\x20Dir:\x20'+x),Log[ae(0x228)](ae(0x1ee)+y),Log[ae(0x228)](ae(0x23e)+f),Log['bright'](ae(0x211)),Log['bright']('curl\x20'+A[ae(0x1f1)]('\x20')),Log[ae(0x228)]('tar\x20'+B['join']('\x20')),Log[ae(0x228)](ae(0x211)),Log['bright'](C));const D=G=>{return new Promise((H,I)=>{const af=a30d,J=Log[af(0x250)]();J[af(0x252)]('Removing\x20old\x20version\x20of\x20meteor'),a30P(p,{'force':!![]},()=>{J['success'](),H();});});};a30O[ae(0x226)](p)&&(yield D(p));yield SpawnAsync['withSpinner'](ae(0x1f4),A,{'message':ae(0x238)+o});const E=a30O[ae(0x208)](z);if(E[ae(0x1df)]<0x1388){if(ae(0x1fe)!==ae(0x1f8))Log['error']('Meteor\x20download\x20failed.'),a30O['unlinkSync'](z),process['exit'](0x1);else{const H=d[ae(0x248)](e,arguments);return f=null,H;}}yield SpawnAsync[ae(0x250)](ae(0x268),B,{'message':ae(0x224)+o});try{if(ae(0x1e0)===ae(0x214)){const I=e[ae(0x250)]();I[ae(0x252)](ae(0x26c)),f(g,{'force':!![]},()=>{I['success'](),I();});}else{let I=this[ae(0x22d)][ae(0x1f6)](C,ae(0x1e8))[0x0];if(!I){I=this[ae(0x22d)][ae(0x1f6)](C,ae(0x273))[0x0];if(!I){if(ae(0x217)!==ae(0x249))throw ae(0x21b);else d(e[ae(0x255)](f));}}const J=a30N['join'](homeDir,'.maka',ae(0x22c));I=I['replace'](/PATH=/,'')[ae(0x207)](/Path=/,'')[ae(0x207)](p+';',''),a30O['writeFileSync'](J,I),Log[ae(0x263)](ae(0x218)+J);const K='setx\x20PATH\x20\x22'+p+';'+I+ae(0x245),L=ae(0x213)+f+ae(0x245);b[ae(0x26e)]&&(Log[ae(0x228)](ae(0x23b)+I),Log[ae(0x228)](ae(0x247)+K),Log[ae(0x228)](ae(0x1ed)+L)),execSync(K,{'stdio':ae(0x227)}),execSync(L,{'stdio':ae(0x227)});}}catch(N){console[ae(0x20f)](N);}try{if(ae(0x256)!==ae(0x260)){const O=a30N[ae(0x1f1)](x,ae(0x220));!b[ae(0x24e)]&&this[ae(0x22d)][ae(0x237)](O)&&a30P[ae(0x1f0)](O,{'force':!![]});}else try{i(j[ae(0x210)](k));}catch(Q){m(Q);}}catch(Q){ae(0x26b)===ae(0x25b)?c['error'](d):console[ae(0x20f)](Q);}Log[ae(0x24c)](ae(0x21f)+o+ae(0x243)),Log[ae(0x263)]('For\x20improved\x20performance,\x20consider\x20whitelisting\x20the\x20following\x20from\x20windows\x20defender.'),Log['notice']('\x20\x20Open\x20an\x20administrative\x20PowerShell\x20terminal,\x20then\x20run:\x20'),Log['notice'](ae(0x1e3)+p+'\x22'),Log['notice'](ae(0x200)),Log['notice'](ae(0x21d));}else c[ae(0x203)](ae(0x1eb)),d=['-k'];}else{a30O['existsSync'](p)&&(ae(0x1e6)!=='SYCoE'?yield SpawnAsync[ae(0x250)]('rm',[ae(0x25f),p],{'message':ae(0x26d)}):(c[ae(0x24c)](),d()));try{const U=l?'os.osx.x86_64':ae(0x212);yield SpawnAsync[ae(0x250)](ae(0x1f4),[...g,'-s','https://static-meteor.netdna-ssl.com/packages-bootstrap/'+o+ae(0x269)+U+ae(0x253),ae(0x24d),a30N[ae(0x1f1)](homeDir,ae(0x220))],{'message':'Downloading\x20meteor\x20version\x20'+o});const V=[ae(0x23a),a30N[ae(0x1f1)](homeDir,'meteor.tar.gz'),'-C',homeDir];yield SpawnAsync['withSpinner']('tar',V,{'message':ae(0x1fb)+o}),a30P[ae(0x1f0)](a30N[ae(0x1f1)](homeDir,'meteor.tar.gz'),{'force':!![]});}catch(W){ae(0x20c)!==ae(0x20c)?b=!![]:console['error'](W);}try{execSync(ae(0x21e)+homeDir+ae(0x1f7),{'stdio':ae(0x227)}),execSync(ae(0x1e2),{'stdio':ae(0x227)}),execSync(ae(0x1ec),{'stdio':'ignore'}),execSync('printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.bashrc',{'stdio':ae(0x227)}),execSync(ae(0x241),{'stdio':ae(0x227)});}catch(Y){console[ae(0x20f)](Y);}Log[ae(0x24c)](ae(0x21f)+o+'\x20installed.\x0a');}}catch(Z){if(ae(0x1f5)===ae(0x267)){let a1=this['fsi'][ae(0x1f6)](p,ae(0x1e8))[0x0];if(!a1){a1=this['fsi'][ae(0x1f6)](E,ae(0x273))[0x0];if(!a1)throw'I\x20cannot\x20find\x20your\x20Path\x20or\x20PATH\x20variable.';}const a2=r['join'](s,'.maka',ae(0x22c));a1=a1[ae(0x207)](/PATH=/,'')[ae(0x207)](/Path=/,'')['replace'](t+';',''),u['writeFileSync'](a2,a1),v[ae(0x263)]('Backed\x20up\x20PATH\x20to\x20'+a2);const a3=ae(0x1fa)+w+';'+a1+ae(0x245),a4=ae(0x213)+x+'\x22\x202>\x20nul';y['debug']&&(F[ae(0x228)]('User\x20Path:\x20'+a1),G[ae(0x228)]('Setting\x20Path:\x20'+a3),H[ae(0x228)](ae(0x1ed)+a4)),C(a3,{'stdio':ae(0x227)}),D(a4,{'stdio':ae(0x227)});}else console[ae(0x20f)](Z),process[ae(0x1e1)](0x0);}});});
|
package/dist/commands/jsdoc.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function a31d(a,b){const c=a31c();return a31d=function(d,e){d=d-
|
|
1
|
+
function a31d(a,b){const c=a31c();return a31d=function(d,e){d=d-0x1f3;let f=c[d];return f;},a31d(a,b);}const a31A=a31d;function a31c(){const D=['54874rppRrq','oekHF','app/private','plugins/markdown','\x20-c\x20','WYQBz','apply','writeFileSync','1063392HddAmD','1409615zyOOxA','33568430VDfFax','kUHnO','isFile','AfWhj','closure','\x0a[+]\x20Documentation\x20written\x20to\x20','(.+\x5c.app-tests.js)|(^|\x5c/|\x5c\x5c)_','\x20-d\x20','7qHWLSo','create','20FYPJte','docs','pathFromProject','logError','logNotice','Running\x20','inherit','app/packages','3056088GOdxWE','constructor','51DTBuMR','5094552nAsSdo','\x20-r\x20app','sep','app/public','search','stop','Use\x20the\x20popular\x20JSDoc\x20documentation\x20generator','iOdsz','(((.+)+)+)+$','logWithSpinner','toString','aedVh','BzrTh','fsi','utf-8','[-]\x20You\x20may\x20need\x20to\x20install\x20jsdoc:\x20\x22npm\x20i\x20-g\x20jsdoc\x22','jsdoc','maka\x20jsdoc','12023559bLiCeC'];a31c=function(){return D;};return a31c();}(function(a,b){const w=a31d,c=a();while(!![]){try{const d=parseInt(w(0x20f))/0x1*(parseInt(w(0x223))/0x2)+parseInt(w(0x20d))/0x3+-parseInt(w(0x205))/0x4*(-parseInt(w(0x1fa))/0x5)+-parseInt(w(0x210))/0x6+-parseInt(w(0x203))/0x7*(parseInt(w(0x1f9))/0x8)+parseInt(w(0x222))/0x9+-parseInt(w(0x1fb))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a31c,0xc9572));const a31b=(function(){let a=!![];return function(b,c){const x=a31d;if(x(0x21b)!==x(0x21b))this['logError'](b),this[x(0x208)](x(0x21f));else{const e=a?function(){const y=x;if(y(0x21c)!=='Gotxf'){if(c){if(y(0x1fc)===y(0x1fc)){const f=c['apply'](b,arguments);return c=null,f;}else{const h=d[y(0x1f7)](e,arguments);return f=null,h;}}}else{let i=h+'\x20-c\x20'+i+y(0x211)+j[y(0x212)]+y(0x202)+k;l(i,{'cwd':m,'stdio':y(0x20b)}),this[y(0x209)](y(0x200)+n);}}:function(){};return a=![],e;}};}()),a31a=a31b(this,function(){const z=a31d;return a31a['toString']()[z(0x214)](z(0x218))[z(0x21a)]()[z(0x20e)](a31a)[z(0x214)](z(0x218));});a31a();import a31u from'path';import a31v from'fs';import{execSync}from'child_process';import{Command}from'../command.js';Command[a31A(0x204)]({'name':'jsdoc','usage':a31A(0x221),'mustBeInMakaProject':!![],'description':a31A(0x216),'examples':['maka\x20jsdoc\x20--init','maka\x20jsdoc']},function(a){const B=a31A;let b=a31u['join'](this[B(0x21d)][B(0x207)]({}),B(0x206)+a31u[B(0x212)]),c=a31u['join'](this[B(0x21d)][B(0x207)]({}),'config','jsdoc-config.json'),d=this[B(0x21d)][B(0x207)]({}),f=B(0x220);if(!this[B(0x1fd)](c)){if(B(0x224)!==B(0x224)){const i=g?function(){const C=B;if(i){const u=q[C(0x1f7)](r,arguments);return s=null,u;}}:function(){};return l=![],i;}else{let i={'plugins':['plugins/markdown'],'tags':{'allowUnknownTags':!![],'dictionaries':[B(0x220),B(0x1ff)]},'source':{'includePattern':'.+\x5c.(j|t)s(doc|x)?$','excludePattern':B(0x201),'exclude':['app/packages','app/node_modules',B(0x213),B(0x1f3)]},'templates':{'cleverLinks':![],'monospaceLinks':![]},'opts':{'recursive':!![],'encoding':B(0x21e)}};a31v[B(0x1f8)](c,JSON['stringify'](i,null,0x4));}}let g=this[B(0x219)](B(0x20a)+f);try{if(B(0x217)==='iOdsz'){let j=f+B(0x1f5)+c+'\x20-r\x20app'+a31u[B(0x212)]+B(0x202)+b;execSync(j,{'cwd':d,'stdio':'inherit'}),this[B(0x209)](B(0x200)+b);}else{let l={'plugins':[B(0x1f4)],'tags':{'allowUnknownTags':!![],'dictionaries':[B(0x220),B(0x1ff)]},'source':{'includePattern':'.+\x5c.(j|t)s(doc|x)?$','excludePattern':'(.+\x5c.app-tests.js)|(^|\x5c/|\x5c\x5c)_','exclude':[B(0x20c),'app/node_modules','app/public',B(0x1f3)]},'templates':{'cleverLinks':![],'monospaceLinks':![]},'opts':{'recursive':!![],'encoding':'utf-8'}};d[B(0x1f8)](e,f['stringify'](l,null,0x4));}}catch(l){if(B(0x1fe)!=='xFdBn')this[B(0x208)](l),this[B(0x208)]('[-]\x20You\x20may\x20need\x20to\x20install\x20jsdoc:\x20\x22npm\x20i\x20-g\x20jsdoc\x22');else{if(l){const n=i[B(0x1f7)](j,arguments);return k=null,n;}}}finally{if(B(0x1f6)!=='FdPKO')g[B(0x215)]();else return c[B(0x21a)]()[B(0x214)](B(0x218))[B(0x21a)]()[B(0x20e)](d)[B(0x214)](B(0x218));}});
|
package/dist/commands/login.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a32c(){const H=['search','digest','value','constructor','(((.+)+)+)+$','438546xAJlJE','next','91pshInu','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','gvSep','done','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','toHex','authToken','36WRMnda','toString','get','Password:\x20','TIMEOUT','3162472DVBeVd','email','start','sha256','getGlobalConfig','maka\x20login','apply','hdXrd','error','exit','57721aSEWqF','fnhuW','RgCgb','failure','42899870TaYogo','4931040RXgKaL','login','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','isFile','cacert','success','throw','update','post','Logging\x20in','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','notice','https://www.maka-cli.com/api/v1/status','ZPPun','Preflight\x20Check','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','472340WLlSjA','ptyMs','create','then','rICQJ','cert','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','password','15DgvxCh','fsi','assign','FgBdb','14324868VzkDgh','XNdGU','Using\x20CA\x20Cert\x20','bRliP','withSpinner','/api/v1/login','ask','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com'];a32c=function(){return H;};return a32c();}function a32d(a,b){const c=a32c();return a32d=function(d,e){d=d-0x1a5;let f=c[d];return f;},a32d(a,b);}const a32F=a32d;(function(a,b){const x=a32d,c=a();while(!![]){try{const d=-parseInt(x(0x1dd))/0x1*(-parseInt(x(0x1ce))/0x2)+parseInt(x(0x1b4))/0x3*(-parseInt(x(0x1ac))/0x4)+-parseInt(x(0x1e2))/0x5+-parseInt(x(0x1c5))/0x6*(parseInt(x(0x1c7))/0x7)+-parseInt(x(0x1d3))/0x8+-parseInt(x(0x1b8))/0x9+parseInt(x(0x1e1))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a32c,0xc7054));const a32b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a32d;if(c){const e=c[y(0x1d9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a32a=a32b(this,function(){const z=a32d;return a32a['toString']()['search']('(((.+)+)+)+$')[z(0x1cf)]()['constructor'](a32a)['search'](z(0x1c4));});a32a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){const A=a32d;if(A(0x1bb)===A(0x1bb))return f instanceof c?f:new c(function(g){g(f);});else{const h=d[A(0x1d9)](e,arguments);return f=null,h;}}return new(c||(c=Promise))(function(f,g){const E=a32d;function h(k){const B=a32d;try{j(d[B(0x1c6)](k));}catch(l){g(l);}}function i(k){const C=a32d;try{C(0x1a9)!=='ZPPun'?d(e[C(0x1c6)](f)):j(d[C(0x1e8)](k));}catch(m){'rnJSO'===C(0x1df)?this['fsi'][C(0x1e5)](h[C(0x1e6)])?(o=p[C(0x1e6)],q['notice'](C(0x1ba)+r)):s['error'](C(0x1cb)+t):g(m);}}function j(k){const D=a32d;k[D(0x1ca)]?f(k[D(0x1c2)]):e(k[D(0x1c2)])[D(0x1af)](h,i);}j((d=d[E(0x1d9)](a,b||[]))[E(0x1c6)]());});};import a32u from'node-forge';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import{HTTPS}from'../tools/https/https.class.js';Command['create']({'name':a32F(0x1e3),'validOpts':['email','password','help',a32F(0x1e6),'debug'],'usage':a32F(0x1d8),'maxArgLength':0x2,'description':a32F(0x1c8),'examples':[a32F(0x1d8),a32F(0x1a6)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const G=a32d;let c=Log[G(0x1bc)]();try{if('amsiF'===G(0x1c9)){const f=g?function(){if(f){const u=q['apply'](r,arguments);return s=null,u;}}:function(){};return l=![],f;}else{let f='';b[G(0x1e6)]&&(this['fsi'][G(0x1e5)](b[G(0x1e6)])?(f=b[G(0x1e6)],Log[G(0x1a7)](G(0x1ba)+f)):Log['error'](G(0x1cb)+f));const g=this[G(0x1b5)][G(0x1d7)]();if(g['cert']){if(G(0x1de)===G(0x1ad))d(e[G(0x1e8)](f));else{if(this[G(0x1b5)][G(0x1e5)](g[G(0x1b1)]))f=g[G(0x1b1)];else{if('FgBdb'===G(0x1b7)){Log[G(0x1db)](G(0x1b2)+f);return;}else return c[G(0x1cf)]()[G(0x1c0)](G(0x1c4))['toString']()[G(0x1c3)](d)[G(0x1c0)](G(0x1c4));}}}Log['header']('Logging\x20into\x20https://www.maka-cli.com');const h={'url':G(0x1a8)};b[G(0x1e6)]&&Object['assign'](h,{'cert':f});c['start'](G(0x1aa));const i=yield HTTPS[G(0x1d0)](h);if(i===G(0x1d2)){c['failure']();throw G(0x1ab);}c[G(0x1e7)]();let j=b[G(0x1d4)]?b[G(0x1d4)]:yield Actions[G(0x1be)]('Email:'),k=b[G(0x1b3)]?b['password']:yield Actions[G(0x1be)](G(0x1d1),!![]);if(i!==':D')throw G(0x1e4);const l=a32u['md'][G(0x1d6)][G(0x1ae)]();l[G(0x1e9)](k);const m=l[G(0x1c1)]()[G(0x1cc)](),n={'hostname':'www.maka-cli.com','path':G(0x1bd),'data':{'email':j,'password':m,'hashed':!![]}};b[G(0x1e6)]&&Object[G(0x1b6)](n,{'cert':f});c[G(0x1d5)](G(0x1a5));const o=yield HTTPS[G(0x1ea)](n);if(o===G(0x1d2)){c[G(0x1e0)]('\x0a');throw G(0x1bf);}let p=null;if(o['authToken']){if(G(0x1b0)==='rICQJ'){const s={'url':'https://www.maka-cli.com/api/v1/encodeJwt','headers':{'x-auth-token':o[G(0x1cd)]}};b[G(0x1e6)]&&Object[G(0x1b6)](s,{'cert':f});p=yield HTTPS[G(0x1d0)](s);if(p==='TIMEOUT'){c['failure']('\x0a');throw G(0x1bf);}}else{if(this['fsi'][G(0x1e5)](f['cert']))k=l['cert'];else{m['error'](G(0x1b2)+n);return;}}}else throw o;if(p){const u={'token':o,'hash':p};b[G(0x1e6)]&&Object[G(0x1b6)](u,{'cert':f}),this[G(0x1b5)]['setGlobalConfig']({'config':u});}c['success']();}}catch(v){G(0x1b9)===G(0x1da)?(v=f[G(0x1e6)],g[G(0x1a7)](G(0x1ba)+h)):(c[G(0x1e0)](),console[G(0x1db)](v),process[G(0x1dc)](0x0));}});});
|
package/dist/commands/logout.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a33x=a33d;(function(a,b){const u=a33d,c=a();while(!![]){try{const d=parseInt(u(0x223))/0x1+-parseInt(u(0x206))/0x2*(parseInt(u(0x20e))/0x3)+-parseInt(u(0x222))/0x4*(parseInt(u(0x22d))/0x5)+-parseInt(u(0x200))/0x6*(-parseInt(u(0x1f4))/0x7)+parseInt(u(0x203))/0x8*(-parseInt(u(0x214))/0x9)+parseInt(u(0x209))/0xa*(parseInt(u(0x224))/0xb)+parseInt(u(0x20c))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a33c,0xb4703));const a33b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a33d;if(v(0x21e)===v(0x1f1)){b[v(0x228)]();throw v(0x21c);}else{if(c){if(v(0x1f2)!==v(0x225)){const f=c[v(0x213)](b,arguments);return c=null,f;}else{d[v(0x228)]();throw e[v(0x1fa)](v(0x22c)+f);}}}}:function(){};return a=![],d;};}()),a33a=a33b(this,function(){const w=a33d;return a33a[w(0x21b)]()['search']('(((.+)+)+)+$')[w(0x21b)]()[w(0x215)](a33a)[w(0x201)](w(0x1fd));});function a33c(){const F=['then','value','turDe','exit','toString','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','cYECa','VnzlC','assign','maka\x20logout','get','4FNPgOT','512685SHkmNU','2046LvNiTt','DniZm','setGlobalConfig','xTSvy','failure','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','logout','/api/v1/logoutAll','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','742730ysoEsd','post','throw','success','ijDYL','vQfnx','next','isFile','token','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','notice','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','OFvzl','GNGGa','alreW','714217fudqJT','Lmfsu','withSpinner','create','cert','start','error','QzFfP','Logging\x20out\x20of\x20https://www.maka-cli.com','(((.+)+)+)+$','__awaiter','WUFXm','54xhXGzt','search','Preflight\x20Check','8848192wZLbKy','www.maka-cli.com','uwowC','912740aEvRBp','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','nIqYe','29730XPYzRo','loIgk','SASsG','5592876SgDEzg','cacert','3NoSYCJ','Using\x20CA\x20Cert\x20','Logging\x20out','TIMEOUT','fsi','apply','9CIHzUR','constructor','LQaFa'];a33c=function(){return F;};return a33c();}a33a();var __awaiter=this&&this[a33x(0x1fe)]||function(a,b,c,d){function e(f){const y=a33d;if(y(0x20b)!==y(0x20b))c(d);else return f instanceof c?f:new c(function(h){const z=y;if(z(0x1f3)===z(0x21d)){if(e){const j=i[z(0x213)](j,arguments);return k=null,j;}}else h(f);});}return new(c||(c=Promise))(function(f,g){const D=a33d;function h(k){const A=a33d;if(A(0x231)===A(0x231))try{j(d[A(0x233)](k));}catch(l){g(l);}else this[A(0x212)][A(0x234)](h[A(0x20d)])?(o=p[A(0x20d)],q['notice'](A(0x20f)+r)):s['error']('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+t);}function i(k){const B=a33d;try{j(d[B(0x22f)](k));}catch(l){if(B(0x1fb)===B(0x232)){b['failure']();throw B(0x236);}else g(l);}}function j(k){const C=a33d;k['done']?f(k[C(0x218)]):e(k[C(0x218)])[C(0x217)](h,i);}j((d=d[D(0x213)](a,b||[]))['next']());});};import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a33d(a,b){const c=a33c();return a33d=function(d,e){d=d-0x1f0;let f=c[d];return f;},a33d(a,b);}import{HTTPS}from'../tools/https/https.class.js';Command[a33x(0x1f7)]({'name':a33x(0x22a),'validOpts':[a33x(0x20d)],'usage':a33x(0x220),'maxArgLength':0x2,'description':a33x(0x229),'examples':[a33x(0x220)]},function(a,b){var c;return __awaiter(this,void 0x0,void 0x0,function*(){const E=a33d;if(E(0x1f5)==='shBMU'){b[E(0x228)]('\x0a');throw E(0x21c);}else{let f=Log[E(0x1f6)]();try{let g='';b[E(0x20d)]&&(this[E(0x212)][E(0x234)](b[E(0x20d)])?(g=b[E(0x20d)],Log[E(0x237)](E(0x20f)+g)):E(0x216)===E(0x216)?Log[E(0x1fa)](E(0x207)+g):(e=f[E(0x20d)],g[E(0x237)]('Using\x20CA\x20Cert\x20'+h)));const h=yield this['fsi']['getGlobalConfig']();if(h[E(0x1f8)]){if(E(0x205)!==E(0x20a)){if(this[E(0x212)]['isFile'](h['cert']))g=h['cert'];else{f[E(0x228)]();throw Log['error'](E(0x22c)+g);}}else c[E(0x1fa)](d);}Log['header'](E(0x1fc));const i={'url':'https://www.maka-cli.com/api/v1/status'};b[E(0x20d)]&&Object[E(0x21f)](i,{'cert':g});f[E(0x1f9)](E(0x202));const j=yield HTTPS[E(0x221)](i);if(j===E(0x211)){f[E(0x228)]();throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}f[E(0x230)]();if(j!==':D'){f[E(0x228)]();throw E(0x236);}if(!((c=h===null||h===void 0x0?void 0x0:h[E(0x235)])===null||c===void 0x0?void 0x0:c['authToken']))throw Log[E(0x1fa)](E(0x1f0));f['start'](E(0x210));const k={'hostname':E(0x204),'path':E(0x22b),'data':{},'headers':{'x-auth-token':h[E(0x235)]['authToken']}};b[E(0x20d)]&&Object['assign'](k,{'cert':g});const l=yield HTTPS[E(0x22e)](k);if(l==='TIMEOUT'){f[E(0x228)]('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}this[E(0x212)][E(0x226)]({'config':{'token':{'authToken':'','userId':'','when':''},'hash':''}}),f['success']();}catch(o){if(E(0x1ff)!==E(0x227)){if(o){if(E(0x219)===E(0x208))throw b['error'](E(0x1f0));else console['error'](o);}process[E(0x21a)](0x0);}else o&&i[E(0x1fa)](j),h[E(0x21a)](0x0);}}});});
|
package/dist/commands/logs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a34E=a34d;(function(a,b){const A=a34d,c=a();while(!![]){try{const d
|
|
1
|
+
const a34E=a34d;function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0x138;let f=c[d];return f;},a34d(a,b);}(function(a,b){const A=a34d,c=a();while(!![]){try{const d=parseInt(A(0x147))/0x1*(parseInt(A(0x140))/0x2)+parseInt(A(0x143))/0x3+parseInt(A(0x153))/0x4+parseInt(A(0x14d))/0x5+parseInt(A(0x13e))/0x6+parseInt(A(0x13c))/0x7+-parseInt(A(0x139))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0xe1b72));const a34b=(function(){let a=!![];return function(b,c){const B=a34d;if(B(0x141)!==B(0x141))throw b;else{const e=a?function(){const C=B;if(C(0x14e)===C(0x14e)){if(c){if(C(0x144)===C(0x144)){const f=c[C(0x148)](b,arguments);return c=null,f;}else{const h=d['apply'](e,arguments);return f=null,h;}}}else{if(e){const i=i[C(0x148)](j,arguments);return k=null,i;}}}:function(){};return a=![],e;}};}()),a34a=a34b(this,function(){const D=a34d;return a34a[D(0x146)]()['search'](D(0x156))[D(0x146)]()[D(0x149)](a34a)[D(0x14b)]('(((.+)+)+)+$');});a34a();import a34y from'fs';function a34c(){const G=['join','8289966NiKLld','env','6uvdddb','SeyWw','pm2\x20logs','5378901OlQDYv','KFIAs','maka\x20l\x20-e\x20p','toString','554269Qqtseq','apply','constructor','View\x20the\x20PM2\x20logs','search','log','841525jzpQYx','kEEOx','help','ssh.json','maka\x20logs\x20--env\x20prod','readFileSync','6274672uDbjla','parse','getConfigPath','(((.+)+)+)+$','logs','46611984SHDnZt','maka\x20logs\x20--env\x20dev','maka\x20logs\x20--env\x20staging','1236340LvAlmL'];a34c=function(){return G;};return a34c();}import a34z from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command['create']({'name':a34E(0x138),'aliases':['l',a34E(0x14c)],'usage':a34E(0x151),'requiredOpts':[a34E(0x13f)],'mustBeInMakaProject':!![],'validOpts':[a34E(0x14f)],'description':a34E(0x14a),'examples':[a34E(0x13a),a34E(0x13b),a34E(0x145)]},function(a,b){const F=a34E;try{if('QWgJm'!=='bGvYn'){const c=F(0x142),d=this['fsi'][F(0x155)](b[F(0x13f)]),f=a34z[F(0x13d)](d,F(0x150)),g=a34y[F(0x152)](f),h=JSON[F(0x154)](g['toString']());Object['assign'](h,{'env':d}),SSH['sshSync'](c,h,{'tty':!![],'verbose':!![]});}else return c[F(0x146)]()['search'](F(0x156))[F(0x146)]()[F(0x149)](d)[F(0x14b)]('(((.+)+)+)+$');}catch(j){throw j;}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a35y=a35d;(function(a,b){const v=a35d,c=a();while(!![]){try{const d=parseInt(v(0x172))/0x1*(-parseInt(v(0x175))/0x2)+parseInt(v(0x171))/0x3*(-parseInt(v(0x182))/0x4)+-parseInt(v(0x18a))/0x5+parseInt(v(0x183))/0x6*(-parseInt(v(0x190))/0x7)+parseInt(v(0x174))/0x8*(-parseInt(v(0x178))/0x9)+parseInt(v(0x187))/0xa+parseInt(v(0x17a))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0x1a8dd));function a35c(){const F=['maka\x20run','runSubCommand','exit','maka','maka\x20<command>\x20[<args>]\x20[<opts>]','A\x20command\x20line\x20scaffolding\x20and\x20DevOpts\x20tool\x20for\x20Meteor\x20applications.\x0a\x20\x20Run\x20any\x20command\x20with\x20\x22--help\x22\x20for\x20details','4MsnUqJ','102hBbYQL','UBSzz','error','toString','1499630chCGeV','then','ojrgP','1048805hMeval','throw','constructor','maybeProxyCommandToMeteor','maka\x20install\x20meteor','next','19523fmZuMj','djFGi','qDmBo','value','tOwWi','huRkK','apply','fsi','554133GKeQNS','73tKmUON','VeqhE','116184nrXjIv','1172uruQdb','(((.+)+)+)+$','__awaiter','117YXDiHD','isGvV','6954904efOIUC','ZBjwq'];a35c=function(){return F;};return a35c();}const a35b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a35d;if(c){if('ojrgP'===w(0x189)){const e=c[w(0x16f)](b,arguments);return c=null,e;}else return f instanceof g?h:new i(function(m){m(k);});}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const x=a35d;return a35a[x(0x186)]()['search'](x(0x176))[x(0x186)]()[x(0x18c)](a35a)['search'](x(0x176));});a35a();var __awaiter=this&&this[a35y(0x177)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const D=a35d;function h(k){const z=a35d;if('VeqhE'!==z(0x173)){const n=g?function(){const A=z;if(n){const u=q[A(0x16f)](r,arguments);return s=null,u;}}:function(){};return l=![],n;}else try{z(0x192)!==z(0x184)?j(d['next'](k)):d(e[z(0x18b)](f));}catch(n){g(n);}}function i(k){const B=a35d;try{if(B(0x195)===B(0x191)){if(e){const m=i[B(0x16f)](j,arguments);return k=null,m;}}else j(d[B(0x18b)](k));}catch(m){'tOwWi'===B(0x194)?g(m):(d['error'](m),f[B(0x17e)](0x0));}}function j(k){const C=a35d;k['done']?f(k['value']):e(k[C(0x193)])[C(0x188)](h,i);}j((d=d[D(0x16f)](a,b||[]))[D(0x18f)]());});};import{Command}from'../command.js';const Maka=new Command({'name':a35y(0x17f),'minArgLength':0x1,'description':a35y(0x181),'usage':a35y(0x180),'examples':[a35y(0x18e),'maka\x20create\x20Todo',a35y(0x17c)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const E=a35d;try{const c=a[0x0],d=this['findSubCommand'](c);d?E(0x17b)!==E(0x179)?this[E(0x17d)](c,a['slice'](0x1),b):c(d):this[E(0x170)][E(0x18d)]();}catch(g){console[E(0x185)](g),process[E(0x17e)](0x0);}});});function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x16f;let f=c[d];return f;},a35d(a,b);}export default Maka;
|
package/dist/commands/murder.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a36y=a36d;(function(a,b){var u=a36d,c=a();while(!![]){try{var d=parseInt(u(0x169))/0x1*(-parseInt(u(0x15c))/0x2)+parseInt(u(0x16f))/0x3+-parseInt(u(0x162))/0x4*(-parseInt(u(0x161))/0x5)+parseInt(u(0x15d))/0x6+parseInt(u(0x17a))/0x7*(-parseInt(u(0x167))/0x8)+parseInt(u(0x163))/0x9+-parseInt(u(0x16e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0xf41a0));function a36d(a,b){var c=a36c();return a36d=function(d,e){d=d-0x15a;var f=c[d];return f;},a36d(a,b);}var a36b=(function(){var a=!![];return function(b,c){var v=a36d;if(v(0x171)===v(0x171)){var d=a?function(){var w=v;if(c){var e=c[w(0x176)](b,arguments);return c=null,e;}}:function(){};return a=![],d;}else return c['toString']()[v(0x166)]('(((.+)+)+)+$')['toString']()[v(0x170)](d)[v(0x166)](v(0x177));};}()),a36a=a36b(this,function(){var x=a36d;return a36a[x(0x173)]()[x(0x166)](x(0x177))['toString']()['constructor'](a36a)[x(0x166)](x(0x177));});a36a();function a36c(){var E=['cOXRl','log','next','bAuui','12284340TzgGzT','3611637ZQZMhm','constructor','jVZIZ','vWByo','toString','done','zIkrU','apply','(((.+)+)+)+$','__awaiter','%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','1955002dvyywT','create','font-family:\x20monospace','exit','12ahzakn','9596286PGOwmT','tawjY','throw','then','7286810ZZXNFh','4XrFwKL','4197744HTLmqu','Murrrrderrrrr','value','search','32NUczHt','error','230270gemkag'];a36c=function(){return E;};return a36c();}var __awaiter=this&&this[a36y(0x178)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){var C=a36d;function h(k){var z=a36d;try{if(z(0x16d)===z(0x16d))j(d['next'](k));else{if(e){var m=i['apply'](j,arguments);return k=null,m;}}}catch(m){z(0x175)==='lUQso'?c(d):g(m);}}function i(k){var A=a36d;if('lGjJt'==='lGjJt')try{j(d[A(0x15f)](k));}catch(l){g(l);}else h[A(0x174)]?i(j[A(0x165)]):k(l['value'])['then'](m,n);}function j(k){var B=a36d;if(B(0x16a)!==B(0x16a)){var m=d[B(0x176)](e,arguments);return f=null,m;}else k[B(0x174)]?f(k[B(0x165)]):e(k[B(0x165)])[B(0x160)](h,i);}j((d=d[C(0x176)](a,b||[]))[C(0x16c)]());});};import{Command}from'../command.js';Command[a36y(0x17b)]({'name':'murder','usage':'maka\x20murder','maxArgLength':0x1,'description':a36y(0x164)},function(a){return __awaiter(this,void 0x0,void 0x0,function*(){var D=a36d;if(D(0x172)!=='whefi')try{console[D(0x16b)](D(0x179),D(0x15a));}catch(b){D(0x15e)!==D(0x15e)?d(b[D(0x15f)](f)):(console[D(0x168)](b),process[D(0x15b)](0x0));}else try{g['log'](D(0x179),D(0x15a));}catch(f){j[D(0x168)](f),k[D(0x15b)](0x0);}});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a37z=a37d;(function(a,b){const w=a37d,c=a();while(!![]){try{const d=-parseInt(w(0x12d))/0x1*(-parseInt(w(0x143))/0x2)+parseInt(w(0x13b))/0x3*(parseInt(w(0x13c))/0x4)+parseInt(w(0x138))/0x5*(parseInt(w(0x13a))/0x6)+parseInt(w(0x123))/0x7+parseInt(w(0x14c))/0x8*(-parseInt(w(0x134))/0x9)+parseInt(w(0x124))/0xa+-parseInt(w(0x14d))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x6a0ca));function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x11f;let f=c[d];return f;},a37d(a,b);}const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a37d;if(x(0x128)!==x(0x152)){if(c){const e=c['apply'](b,arguments);return c=null,e;}}else c(d);}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const y=a37d;return a37a[y(0x149)]()[y(0x145)]('(((.+)+)+)+$')['toString']()[y(0x122)](a37a)[y(0x145)]('(((.+)+)+)+$');});function a37c(){const E=['18968323yrnoWO','success','HiVHc','then','fsi','CrHzP','uname\x20-a','~/pm2.config.js','env','constructor','1546895eLLOfQ','8551400hyLcWQ','apply','ping','value','FwRUt','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','getConfigPath','create','__awaiter','723307RDabFq','DZccC','scp','settings.json','error','help','throw','369QLXohX','If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.','exit','notice','5BSnpCy','ssh','4440336SbYlni','1623hMboJI','2936aVwnZJ','join','assign','next','done','trEpB','maka\x20reconfig\x20--env\x20prod','2BBbqqJ','~/settings.json','search','ejCrX','pm2.config.js','ssh.json','toString','Checking\x20remote\x20host\x20availability','reconfig','151768eEVeAn'];a37c=function(){return E;};return a37c();}a37a();var __awaiter=this&&this[a37z(0x12c)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const C=a37d;function h(k){const A=a37d;if(A(0x146)===A(0x14f))c(d);else try{j(d['next'](k));}catch(m){g(m);}}function i(k){try{j(d['throw'](k));}catch(l){g(l);}}function j(k){const B=a37d;k[B(0x140)]?f(k['value']):e(k[B(0x127)])[B(0x150)](h,i);}j((d=d[C(0x125)](a,b||[]))[C(0x13f)]());});};import a37u from'fs';import a37v from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a37z(0x12b)]({'name':a37z(0x14b),'validOpts':[a37z(0x132)],'requiredOpts':[a37z(0x121)],'mustBeInMakaProject':!![],'usage':a37z(0x142),'description':a37z(0x135),'examples':[a37z(0x142)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const D=a37d;if('puzHZ'!==D(0x141))try{const c=this[D(0x151)][D(0x12a)](b[D(0x121)]),d=a37v['join'](c,D(0x148)),f=a37u['readFileSync'](d)['toString']();let g=JSON['parse'](f);Object['assign'](g,{'env':c}),Log[D(0x137)](D(0x14a));try{if('kBkXP'!=='TxUVv'){let j=SSH[D(0x126)](D(0x11f),g);if(!j)throw D(0x129);if(j)Log[D(0x14e)]('Remote\x20host\x20connection\x20successful');}else d(e[D(0x133)](f));}catch(l){throw l;}let h=a37v[D(0x13d)](c,D(0x147));SSH[D(0x12f)]({'source':h,'dest':D(0x120)},Object[D(0x13e)]({},g));let i=a37v[D(0x13d)](c,D(0x130));SSH['scp']({'source':i,'dest':D(0x144)},Object[D(0x13e)]({},g)),SSH['sshSync']('pm2\x20delete\x20all',g),yield SSH[D(0x139)]('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',Object[D(0x13e)]({},g),{'verbose':!![]});}catch(m){if(D(0x12e)===D(0x12e))console[D(0x131)](m),process[D(0x136)](0x0);else try{i(j[D(0x13f)](k));}catch(o){m(o);}}else h[D(0x140)]?i(j[D(0x127)]):k(l['value'])[D(0x150)](m,n);});});
|
package/dist/commands/run.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a38F=a38d;(function(a,b){const D=a38d,c=a();while(!![]){try{const d=-parseInt(D(0x1d5))/0x1*(parseInt(D(0x1d0))/0x2)+parseInt(D(0x1d1))/0x3+-parseInt(D(0x1c0))/0x4+-parseInt(D(0x1b2))/0x5+parseInt(D(0x1dd))/0x6*(parseInt(D(0x1c2))/0x7)+-parseInt(D(0x1a2))/0x8+parseInt(D(0x1ac))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x1e0d1));const a38b=(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;};}()),a38a=a38b(this,function(){const E=a38d;return a38a[E(0x19b)]()[E(0x1e4)](E(0x1c7))[E(0x19b)]()['constructor'](a38a)[E(0x1e4)]('(((.+)+)+)+$');});a38a();var __awaiter=this&&this[a38F(0x1b8)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const J=a38d;function h(k){const G=a38d;try{j(d[G(0x19a)](k));}catch(l){g(l);}}function i(k){const H=a38d;try{j(d[H(0x1bd)](k));}catch(l){'bXXKR'!=='bXXKR'?c(d):g(l);}}function j(k){const I=a38d;I(0x1cd)===I(0x1cd)?k[I(0x1c4)]?f(k[I(0x1be)]):e(k[I(0x1be)])[I(0x1c1)](h,i):d(e[I(0x1bd)](f));}j((d=d[J(0x1c9)](a,b||[]))['next']());});};import a38A from'path';function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x19a;let f=c[d];return f;},a38d(a,b);}function a38c(){const N=['Run\x20your\x20app\x20for\x20a\x20given\x20environment\x20or\x20in\x20docker.','throw','value','docker-compose.yaml','623832NhRVUx','then','7ktRWDL','mobile-server','done','length','env','(((.+)+)+)+$','Node\x20Env\x20Config:\x20','apply','existsSync','split','getConfigPath','bPHzA','error','getProjectConfig','50KNvjii','206511fOUzpQ','createFile','--production','--env','7994JnrJEy','docker','\x20up\x20--remove-orphans','config','verbose','inspect','Cannot\x20find\x20Node\x20Environment\x20File:\x20','openSync','1347738JRniVX','forEach','exit','concat','extra-packages','port','invokeMeteorCommand','search','appName','FxPcp','create','isFile','allow-incompatible-update','development','run','next','toString','exclude-archs','Docker\x20Compose\x20Path:\x20','production','join','warn','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','1715616knsVqS','notice','splice','settings','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)','maka\x20run\x0a\x20\x20\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\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\x20\x20\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20\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\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\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\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\x20\x20\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20\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\x20\x20\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20\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\x20\x20--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20\x20\x20--docker\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Build\x20and\x20run\x20the\x20application\x20in\x20a\x20docker\x20container.\x20Requires\x20Docker.\x0a\x0a\x20\x20\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\x20\x20\x20removes\x20development\x20packages.','PM2\x20Config\x20File:\x20','process.env','templateContent','4322997KWPAKQ','push','fsi','sep','RtSnT','ZsIwC','402220lRTGck','slice','inherit','Meteor\x20Settings:\x20','settings.json','tupjF','__awaiter','tfSMB','LfhuM','docker-compose\x20--project-directory\x20'];a38c=function(){return N;};return a38c();}import a38B from'fs';import a38C from'dotenv';import{execSync}from'child_process';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{paramCase}from'change-case';const syncSource=function(a){const K=a38F;a38B[K(0x1dc)](a,'r'),a38C[K(0x1d8)]({'path':a});};Command[a38F(0x1e7)]({'name':'run','mustBeInMakaProject':!![],'usage':a38F(0x1a8),'validOpts':[a38F(0x1c6),a38F(0x1d6),'r','raw-logs','p',a38F(0x1e2),'i',a38F(0x1da),'m',a38F(0x1c3),'v',a38F(0x1d9),a38F(0x1e9),a38F(0x1e1),'x',a38F(0x19c),a38F(0x19e)],'description':a38F(0x1bc)},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const L=a38d;if(L(0x1e6)!==L(0x1e6))g===L(0x1d4)&&m[L(0x1a4)](n,0x2),j==='-e'&&o[L(0x1a4)](p,0x2);else try{if(b['mobile-server']&&b[L(0x1c3)]===!![]||b['m']&&b['m']===!![]){if(L(0x1b9)===L(0x1b9))throw L(0x1a7);else c[L(0x1a4)](d,0x2);}let d=this['fsi'][L(0x1cf)]();const f=b['env']?b[L(0x1c6)]:L(0x1ea),g=this[L(0x1ae)][L(0x1cc)](f),h=a38A[L(0x19f)](g,L(0x1aa));let i=a38A['join'](g,L(0x1b6));b[L(0x1a5)]?i=b[L(0x1a5)]:i=a38A[L(0x19f)](g,'settings.json');if(this[L(0x1ae)][L(0x1e8)](h)&&!b[L(0x1d6)])Log[L(0x1a3)](L(0x1c8)+h),syncSource(h);else!b[L(0x1d6)]&&Log['warn'](L(0x1db)+h);this[L(0x1ae)][L(0x1e8)](i)?(Log[L(0x1a3)](L(0x1b5)+i),a=a[L(0x1e0)](['--settings',i])):Log[L(0x1a0)](L(0x1a1)+i);const j=g[L(0x1cb)](a38A[L(0x1af)]),k=j[j[L(0x1c5)]-0x1];if(k===L(0x19e)){if(L(0x1b0)!==L(0x1ba))a[L(0x1ad)](L(0x1d3));else try{i(j[L(0x19a)](k));}catch(o){m(o);}}const l=process['argv'][L(0x1b3)](0x2)[L(0x1a6)](o=>o!==L(0x1eb))[L(0x1a6)](o=>o!==a[0x0]);l[L(0x1de)]((o,p)=>{const M=L;o==='--env'&&(M(0x1b1)===M(0x1b7)?this[M(0x1ae)][M(0x1e3)](M(0x1eb),c['concat'](d)):l[M(0x1a4)](p,0x2)),o==='-e'&&l[M(0x1a4)](p,0x2);});if(b['docker']){if('UApir'!=='lMbob'){const o=this[L(0x1ae)][L(0x1cc)](L(0x1d6)),p=a38A[L(0x19f)](o,L(0x1bf)),q=a38A[L(0x19f)](o,'pm2.config.js');Log[L(0x1a3)](L(0x1a9)+q),Log[L(0x1a3)](L(0x19d)+p);if(!a38B[L(0x1ca)](p)){const r={'app':d[L(0x1e5)],'appFileCase':paramCase(d[L(0x1e5)])};let s=this[L(0x1ae)][L(0x1ab)]({'srcPath':'config/docker-compose.yaml','context':r})+'\x0a';this[L(0x1ae)][L(0x1d2)]({'filePath':p,'data':s});}execSync(L(0x1bb)+o+L(0x1d7),{'stdio':L(0x1b4)});}else c[L(0x1a4)](d,0x2);}else'rAdUS'==='BELQF'?(e[L(0x1dc)](f,'r'),g[L(0x1d8)]({'path':h})):this[L(0x1ae)][L(0x1e3)](L(0x1eb),a[L(0x1e0)](l));}catch(v){console[L(0x1ce)](v),process[L(0x1df)](0x0);}});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var u=a39d,c=a();while(!![]){try{var d=parseInt(u(0xa9))/0x1+parseInt(u(0xa4))/0x2+-parseInt(u(0xaa))/0x3+-parseInt(u(0xaf))/0x4*(-parseInt(u(0xa6))/0x5)+-parseInt(u(0xb0))/0x6+parseInt(u(0xa8))/0x7*(parseInt(u(0xad))/0x8)+-parseInt(u(0xa7))/0x9*(parseInt(u(0xab))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x4ce92));var a39b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a39d;if(c){var e=c[v(0xac)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){var w=a39d;return a39a[w(0xae)]()[w(0xb2)](w(0xb1))[w(0xae)]()[w(0xa5)](a39a)[w(0xb2)](w(0xb1));});a39a();import'./set.command.js';function a39d(a,b){var c=a39c();return a39d=function(d,e){d=d-0xa4;var f=c[d];return f;},a39d(a,b);}import'./global.sub.cmd.js';function a39c(){var x=['search','1168202MLmYRm','constructor','1940790ZIQxMp','72wbEkYF','7RKMQlI','385257hfwqHR','1573083RCFalY','1127090mbmXFW','apply','3878192KLUVsi','toString','4DzVBZO','607386smtZYF','(((.+)+)+)+$'];a39c=function(){return x;};return a39c();}import'./local.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a40B=a40d;(function(a,b){const x=a40d,c=a();while(!![]){try{const d=-parseInt(x(0xa0))/0x1*(parseInt(x(0xbf))/0x2)+parseInt(x(0xa7))/0x3+parseInt(x(0xcc))/0x4+-parseInt(x(0xca))/0x5+-parseInt(x(0xb7))/0x6*(-parseInt(x(0xcf))/0x7)+-parseInt(x(0xab))/0x8+-parseInt(x(0xb1))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x319d7));const a40b=(function(){let a=!![];return function(b,c){const y=a40d;if(y(0xba)===y(0xba)){const d=a?function(){const z=y;if(c){const e=c[z(0xc7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;}else{const f=d[y(0xc7)](e,arguments);return f=null,f;}};}()),a40a=a40b(this,function(){const A=a40d;return a40a[A(0xb0)]()[A(0xc2)]('(((.+)+)+)+$')['toString']()[A(0xce)](a40a)['search']('(((.+)+)+)+$');});a40a();var __awaiter=this&&this[a40B(0xa6)]||function(a,b,c,d){function e(f){const D=a40d;if('bFMfy'==='bFMfy')return f instanceof c?f:new c(function(g){const C=a40d;if('BdEVb'===C(0xa9))return f instanceof g?h:new i(function(m){m(k);});else g(f);});else{if(e){const h=i[D(0xc7)](j,arguments);return k=null,h;}}}return new(c||(c=Promise))(function(f,g){const I=a40d;function h(k){const E=a40d;try{j(d[E(0xb4)](k));}catch(l){E(0xad)!==E(0xa3)?g(l):c(d);}}function i(k){const F=a40d;if(F(0xa8)===F(0xa8))try{j(d[F(0xc0)](k));}catch(l){g(l);}else{if(g['allowInsecure']&&h[F(0xbd)])throw m[F(0xb8)](F(0xd0));let o=j['allowInsecure'];k['disallowInsecure']&&(o=![]),this[F(0xc1)][F(0xb5)]({'config':{'allowInsecure':o}}),l[F(0xc8)](F(0xac)+o);}}function j(k){const G=a40d;if(G(0xb3)==='GkczU'){const n=g?function(){const H=G;if(n){const u=q[H(0xc7)](r,arguments);return s=null,u;}}:function(){};return l=![],n;}else k[G(0xbc)]?f(k[G(0xcd)]):e(k[G(0xcd)])[G(0xbb)](h,i);}j((d=d[I(0xc7)](a,b||[]))['next']());});};import a40v from'path';import a40w from'./set.command.js';import{Command}from'../../command.js';function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x9e;let f=c[d];return f;},a40d(a,b);}import{Log}from'../../tools/log/log.class.js';Command[a40B(0xc3)]({'name':a40B(0x9f),'usage':a40B(0xa4),'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a40B(0xb9),a40B(0xd2),a40B(0xbd),'workspace'],'description':a40B(0xc9),'examples':[a40B(0xb2),'maka\x20set:g\x20insecure\x20<path>',a40B(0xae)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const J=a40d;try{if(J(0xaa)===J(0xaa)){if(b[J(0xb9)]){if(this['fsi'][J(0xd1)](b[J(0xb9)]))J(0xbe)===J(0xbe)?(this[J(0xc1)][J(0xb5)]({'config':{'cert':b[J(0xb9)]}}),Log[J(0xc8)](J(0xcb)+b['cacert'])):d(e[J(0xc0)](f));else{const d=typeof b[J(0xb9)]===J(0x9e)?J(0xc5):J(0xc4)+b[J(0xb9)];throw Log['error'](d);}}if(b[J(0xa2)]){if(J(0xaf)===J(0xaf)){const f=this[J(0xc1)]['isDirectory'](b[J(0xa2)]);if(f)this[J(0xc1)][J(0xb5)]({'config':{'workspace':a40v[J(0xa1)](b[J(0xa2)])}}),Log['success'](J(0xb6)+a40v[J(0xa1)](b[J(0xa2)]));else throw Log['error'](J(0xc6));}else throw b[J(0xb8)](J(0xc6));}if(b[J(0xd2)]){if(b[J(0xd2)]&&b[J(0xbd)]){if(J(0xa5)==='rjmbL')try{i(j[J(0xc0)](k));}catch(j){m(j);}else throw Log['error'](J(0xd0));}let h=b[J(0xd2)];b[J(0xbd)]&&(h=![]),this['fsi'][J(0xb5)]({'config':{'allowInsecure':h}}),Log[J(0xc8)](J(0xac)+h);}}else try{i(j[J(0xb4)](k));}catch(k){m(k);}}catch(k){console['error'](k),process['exit'](0x0);}});},a40w);function a40c(){const K=['error','cacert','Khllg','then','done','disallowInsecure','vlGkW','52376OnGAHv','throw','fsi','search','create','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','Could\x20not\x20find\x20directory','apply','success','\x0a\x20\x20\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','352110fzhbQv','Set\x20CA\x20Cert\x20Path:\x20','972140XBrivR','value','constructor','8155XPOWoY','One\x20or\x20the\x20other\x20buddy','isFile','allowInsecure','boolean','global','1SZUePP','resolve','workspace','tCxgQ','maka\x20set:global\x20<args>','HlGHj','__awaiter','913602UZGLre','Xalcd','iNzPq','HiIIK','2730008IyxIdv','Set\x20allowInsecure:\x20','YJTYJ','maka\x20set:g\x20workspace\x20<path>','WFJfu','toString','1559430RKWRjc','maka\x20set:global\x20cacert\x20<path>','YBQBv','next','setGlobalConfig','Set\x20workspace:\x20','1374IZUDeK'];a40c=function(){return K;};return a40c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a41D=a41d;(function(a,b){var v=a41d,c=a();while(!![]){try{var d=-parseInt(v(0xb0))/0x1*(parseInt(v(0xa2))/0x2)+-parseInt(v(0xa5))/0x3*(-parseInt(v(0xab))/0x4)+-parseInt(v(0x97))/0x5+parseInt(v(0xb3))/0x6*(parseInt(v(0xb6))/0x7)+-parseInt(v(0xad))/0x8*(-parseInt(v(0xa1))/0x9)+parseInt(v(0xb2))/0xa*(-parseInt(v(0xa6))/0xb)+parseInt(v(0x9c))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xe1adc));function a41d(a,b){var c=a41c();return a41d=function(d,e){d=d-0x96;var f=c[d];return f;},a41d(a,b);}var a41b=(function(){var a=!![];return function(b,c){var d=a?function(){var w=a41d;if(w(0x9d)==='EolqA'){if(c){var e=c[w(0xac)](b,arguments);return c=null,e;}}else try{i(j[w(0x99)](k));}catch(g){m(g);}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){var x=a41d;return a41a[x(0x9e)]()['search']('(((.+)+)+)+$')['toString']()[x(0xa3)](a41a)[x(0x96)](x(0x9a));});a41a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){var y=a41d;if(y(0xa0)===y(0xa0))return f instanceof c?f:new c(function(g){g(f);});else try{}catch(h){g[y(0xa9)](h),h[y(0xa8)](0x0);}}return new(c||(c=Promise))(function(f,g){var C=a41d;function h(k){var z=a41d;try{z(0x98)===z(0x98)?j(d['next'](k)):h[z(0xb1)]?i(j[z(0xb4)]):k(l[z(0xb4)])[z(0x9b)](m,n);}catch(m){z(0x9f)==='cBPIw'?g(m):d(m[z(0xaa)](f));}}function i(k){var A=a41d;try{j(d[A(0x99)](k));}catch(l){if(A(0xaf)==='mnGyP')g(l);else return f instanceof g?h:new i(function(n){n(k);});}}function j(k){var B=a41d;k[B(0xb1)]?f(k['value']):e(k[B(0xb4)])[B(0x9b)](h,i);}j((d=d[C(0xac)](a,b||[]))[C(0xaa)]());});};import a41u from'./set.command.js';function a41c(){var F=['error','next','20uPWpcU','apply','2082624FYawMH','maka\x20set:local\x20<opts>','mnGyP','358osXjwu','done','2101090SYhIpJ','12eXHweH','value','local','5313301OkBONV','\x0a\x20\x20\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','search','5623390KIBFtp','Dzgta','throw','(((.+)+)+)+$','then','7930452SdiZBM','EolqA','toString','cBPIw','cPmqM','63GrsNJN','9938bkdrcN','constructor','create','148155wUPSZC','22LxqeVT','FFQDV','exit'];a41c=function(){return F;};return a41c();}import{Command}from'../../command.js';Command[a41D(0xa4)]({'name':a41D(0xb5),'usage':a41D(0xae),'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'description':a41D(0xb7)},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){var E=a41d;if(E(0xa7)==='FFQDV')try{}catch(c){console[E(0xa9)](c),process[E(0xa8)](0x0);}else{var f=d[E(0xac)](e,arguments);return f=null,f;}});},a41u);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a42x=a42d;(function(a,b){const u=a42d,c=a();while(!![]){try{const d=parseInt(u(0xe5))/0x1+-parseInt(u(0xeb))/0x2+-parseInt(u(0xee))/0x3*(parseInt(u(0xf4))/0x4)+-parseInt(u(0xe2))/0x5+parseInt(u(0xfa))/0x6*(parseInt(u(0xfc))/0x7)+-parseInt(u(0xe8))/0x8+parseInt(u(0xf2))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x5ba3a));function a42c(){const D=['set','then','error','1413342OFNUPz','done','21oSFpAG','ZuOpw','constructor','value','maka\x20set:global\x20--cacert\x20<path>','next','HsMJY','\x0a\x20\x20\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','create','runSubCommand','(((.+)+)+)+$','2316845CoMdHx','findSubCommand','NVdkX','586448oluGfb','pvziW','length','3991072vUTSPW','keys','fLmfK','442386EKbkgP','Kcact','apply','6zGdLAx','__awaiter','FHjOr','toString','5779917FgTcrz','exit','753064zGNTTV','throw','YsVED'];a42c=function(){return D;};return a42c();}function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0xd9;let f=c[d];return f;},a42d(a,b);}const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a42d;if(c){if(v(0xe4)!==v(0xec)){const e=c['apply'](b,arguments);return c=null,e;}else d(e[v(0xf5)](f));}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const w=a42d;return a42a[w(0xf1)]()['search'](w(0xe1))[w(0xf1)]()[w(0xd9)](a42a)['search'](w(0xe1));});a42a();var __awaiter=this&&this[a42x(0xef)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const B=a42d;function h(k){const y=a42d;try{j(d[y(0xdc)](k));}catch(l){g(l);}}function i(k){const z=a42d;try{if(z(0xe6)===z(0xf6)){const m=d[z(0xed)](e,arguments);return f=null,m;}else j(d[z(0xf5)](k));}catch(m){g(m);}}function j(k){const A=a42d;if(A(0xfd)!=='ZuOpw')try{i(j['next'](k));}catch(m){m(m);}else k[A(0xfb)]?f(k['value']):e(k[A(0xda)])[A(0xf8)](h,i);}j((d=d[B(0xed)](a,b||[]))['next']());});};import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command[a42x(0xdf)]({'name':a42x(0xf7),'usage':'maka\x20set:<cmd>\x20<opts>','description':a42x(0xde),'examples':[a42x(0xdb)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const C=a42d;try{if('nfEQF'===C(0xf0)){if(e){const d=i[C(0xed)](j,arguments);return k=null,d;}}else{let d=a[0x0];if(Object[C(0xe9)](b)[C(0xe7)]<0x1)throw new UsageError();let f=this[C(0xe3)](d);if(f){if(C(0xea)!==C(0xea))throw new b();else this[C(0xe0)](d,a,b);}}}catch(h){'VvqUn'===C(0xdd)?this[C(0xe0)](d,h,f):(console[C(0xf9)](h),process[C(0xf3)](0x0));}});});export default SetCommand;
|
package/dist/commands/ssh.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a43T=a43d;(function(a,b){const P=a43d,c=a();while(!![]){try{const d=-parseInt(P(0xeb))/0x1+parseInt(P(0xe2))/0x2*(parseInt(P(0xca))/0x3)+-parseInt(P(0xc4))/0x4*(parseInt(P(0xcc))/0x5)+-parseInt(P(0xd4))/0x6+parseInt(P(0xe4))/0x7+-parseInt(P(0xc6))/0x8+parseInt(P(0xdf))/0x9*(parseInt(P(0xe1))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x2ad60));const a43b=(function(){let a=!![];return function(b,c){const Q=a43d;if(Q(0xd8)!=='DNTuv')try{i(j[Q(0xc0)](k));}catch(e){m(e);}else{const e=a?function(){const R=Q;if(R(0xe8)===R(0xf3))d(e['next'](f));else{if(c){if(R(0xd7)===R(0xd7)){const g=c[R(0xd2)](b,arguments);return c=null,g;}else c=d[0x0];}}}:function(){};return a=![],e;}};}()),a43a=a43b(this,function(){const S=a43d;return a43a[S(0xc2)]()[S(0xed)](S(0xf0))[S(0xc2)]()[S(0xda)](a43a)[S(0xed)](S(0xf0));});function a43c(){const a0=['getConfigPath','50DTpTac','56070QACbyg','assign','1220611gAWRep','__awaiter','dmVlh','ssh.json','NVvPF','length','ITOVX','22533dFZuSV','create','search','throw','maka\x20ssh\x20--env\x20dev','(((.+)+)+)+$','zTQNP','mwepl','gjyVD','done','ssh','next','abSRe','toString','env','388644SEQYVB','fsi','1349144LCMWEi','CGxYo','join','readFileSync','3xzypMa','maka\x20ssh\x20--env\x20staging','15hOPZZg','maka\x20ssh\x20--env\x20<env>\x20[command]','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','parse','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','maka\x20ssh\x20--env\x20prod','apply','exit','599328GNnfXg','error','sshSync','dfwJo','DNTuv','OHWDe','constructor','help','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','value','HApwF','1000071IrvQVL'];a43c=function(){return a0;};return a43c();}function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0xc0;let f=c[d];return f;},a43d(a,b);}a43a();var __awaiter=this&&this[a43T(0xe5)]||function(a,b,c,d){function e(f){const U=a43d;if(U(0xf2)!==U(0xf2))d[U(0xd5)](e),f[U(0xd3)](0x0);else return f instanceof c?f:new c(function(h){h(f);});}return new(c||(c=Promise))(function(f,g){const Y=a43d;function h(k){const V=a43d;if(V(0xf1)===V(0xf1))try{j(d[V(0xc0)](k));}catch(l){if(V(0xea)!=='ITOVX'){const n=d[V(0xd2)](l,arguments);return f=null,n;}else g(l);}else try{const o=this['fsi'][V(0xe0)](u[V(0xc3)]);let p='';v[V(0xe9)]>0x0&&(p=C[0x0]);const q=x[V(0xc8)](o,V(0xe7)),r=y['readFileSync'](q)['toString'](),s=z[V(0xcf)](r);A[V(0xe3)](s,{'env':o}),B[V(0xd6)](p,s,{'tty':!![],'verbose':!![]});}catch(t){F[V(0xd5)](t),G[V(0xd3)](0x0);}}function i(k){const W=a43d;try{if(W(0xd9)===W(0xe6))return f instanceof g?h:new i(function(m){m(k);});else j(d[W(0xee)](k));}catch(m){g(m);}}function j(k){const X=a43d;X(0xc1)===X(0xc1)?k[X(0xf4)]?f(k[X(0xdd)]):e(k['value'])['then'](h,i):c(d);}j((d=d[Y(0xd2)](a,b||[]))[Y(0xc0)]());});};import a43N from'fs';import a43O from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a43T(0xec)]({'name':a43T(0xf5),'usage':a43T(0xcd),'mustBeInMakaProject':!![],'requiredOpts':['env'],'validOpts':[a43T(0xc3),a43T(0xdb)],'description':a43T(0xdc),'examples':[a43T(0xef),a43T(0xcb),a43T(0xd1),'maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22',a43T(0xce),a43T(0xd0)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const Z=a43d;if('JgqQw'!==Z(0xde))try{if(Z(0xc7)!=='yPhfV'){const c=this[Z(0xc5)][Z(0xe0)](b[Z(0xc3)]);let d='';a[Z(0xe9)]>0x0&&('RmrFC'==='UekVN'?c(d):d=a[0x0]);const f=a43O[Z(0xc8)](c,Z(0xe7)),g=a43N['readFileSync'](f)[Z(0xc2)](),h=JSON[Z(0xcf)](g);Object[Z(0xe3)](h,{'env':c}),SSH[Z(0xd6)](d,h,{'tty':!![],'verbose':!![]});}else try{i(j[Z(0xee)](k));}catch(k){m(k);}}catch(k){console[Z(0xd5)](k),process['exit'](0x0);}else{const m=this[Z(0xc5)][Z(0xe0)](i[Z(0xc3)]);let n='';j[Z(0xe9)]>0x0&&(n=q[0x0]);const o=l['join'](m,Z(0xe7)),p=m[Z(0xc9)](o)[Z(0xc2)](),q=n[Z(0xcf)](p);o[Z(0xe3)](q,{'env':m}),p['sshSync'](n,q,{'tty':!![],'verbose':!![]});}});});
|