@maka/maka-cli 4.6.17 → 4.6.18
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/bundle/obf/package.json +31 -31
- 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/kit.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 +31 -31
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a74x=a74d;function a74d(a,b){const c=a74c();return a74d=function(d,e){d=d-0x16d;let f=c[d];return f;},a74d(a,b);}(function(a,b){const v=a74d,c=a();while(!![]){try{const d=-parseInt(v(0x194))/0x1*(parseInt(v(0x1a6))/0x2)+-parseInt(v(0x1b1))/0x3+-parseInt(v(0x17b))/0x4+parseInt(v(0x1ba))/0x5+parseInt(v(0x1ad))/0x6*(-parseInt(v(0x17a))/0x7)+-parseInt(v(0x19d))/0x8*(parseInt(v(0x199))/0x9)+parseInt(v(0x1be))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a74c,0xd12e5));const a74b=(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;};}()),a74a=a74b(this,function(){const w=a74d;return a74a[w(0x186)]()[w(0x1c3)](w(0x1a5))[w(0x186)]()[w(0x175)](a74a)[w(0x1c3)](w(0x1a5));});a74a();function a74c(){const B=['(((.+)+)+)+$','62STDpOy','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','grep','force','extractTarGz','create','includes','85122xWjgEp','keepInstallFile','Meteor\x20version\x20','length','2620602fcHFAz','\x20is\x20not\x20available.','Aborted','/.bashrc','success','Path\x20already\x20set\x20in\x20','env','You\x20are\x20running\x20as\x20root,\x20this\x20is\x20not\x20recommended.','\x20installed.\x0a','8159600fAzdVO','Path\x20already\x20set\x20in\x20/etc/profile','info','-rf','24392940uYYdgg','https://packages.meteor.com/bootstrap-link?arch=os.','meteor','Windows\x20is\x20not\x20supported\x20at\x20this\x20time.','Setting\x20Path\x20in\x20\x20','search','fsi','fileContainsString','RELEASE=','windows','Network\x20error,\x20please\x20try\x20again.','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka.cert,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','osx','isFile','.meteor','constructor','withSpinner','Error\x20extracting\x20meteor.tar.gz\x20file','Setting\x20Path\x20in\x20/etc/profile','Preparing\x20to\x20install\x20Meteor\x20','280IEqcxh','4883220zYmXbv','Removing\x20previous\x20install\x20of\x20meteor\x20(main)','export\x20PATH=','version','zsh','x86_64','Meteor\x20is\x20already\x20installed,\x20continue\x20and\x20remove\x20current\x20install?','string','Cleaning\x20up','Setting\x20Path\x20in\x20','NO_NODE_WARNINGS','toString','maka\x20install\x20meteor','error','/.bash_profile','homedir','/etc/profile','maka\x20install','meteor.tar.gz','arch','/.zshrc','replace','setPath','getuid','Using\x20CA\x20Cert\x20','5807MPVFnb','cert','join',':$PATH','Install\x20meteor.\x20\x22maka\x20install\x22\x20defaults\x20to\x20\x22maka\x20install\x20meteor\x22','243EWyLCP','platform','maka\x20i','exit','110392zWmQKj','maka\x20install\x20meteor\x20--version\x202.13.3','SHELL','checkAvailability','existsSync','cacert','maka\x20install\x20meteor\x20--force','injectAtEndOfFile'];a74c=function(){return B;};return a74c();}import a74e from'os';import a74f from'path';import a74g from'fs';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';import{HTTPS}from'../tools/https/https.class.js';const homeDir=a74e[a74x(0x18a)]();function isRoot(){const y=a74x;return process[y(0x192)]&&process['getuid']()===0x0;}Command[a74x(0x1ab)]({'name':'install','aliases':['i'],'validOpts':['force',a74x(0x17e),a74x(0x1a2),a74x(0x191),a74x(0x1ae)],'usage':a74x(0x18c),'shortDesc':a74x(0x198),'description':'\x0a\x20\x20Install\x20meteor.\x20\x22maka\x20install\x22\x20defaults\x20to\x20\x22maka\x20install\x20meteor\x22\x20and\x20will\x20install\x0a\x20\x20the\x20latest\x20version.\x0a\x0a\x20\x20\x20\x20--force\x20flag\x20will\x20remove\x20the\x20current\x20install\x20of\x20meteor\x20and\x20install\x20the\x20latest\x20version.\x0a\x0a\x20\x20\x20\x20--version\x20flag\x20will\x20install\x20the\x20specified\x20version\x20of\x20meteor.\x0a\x0a\x20\x20\x20\x20--cacert\x20flag\x20will\x20use\x20the\x20specified\x20CA\x20Cert\x20file,\x20useful\x20for\x20corporate\x20networks.\x0a\x0a\x20\x20\x20\x20--setPath\x20flag\x20will\x20set\x20the\x20path\x20to\x20the\x20meteor\x20install\x20in\x20your\x20.bashrc\x20or\x20.zshrc\x20file\x20w/o\x20installing\x20meteor.\x0a\x20\x20','examples':[a74x(0x187),a74x(0x1a3),a74x(0x19e),a74x(0x19b)]},async function(a,b){const z=a74x;try{let c='';if(b[z(0x1a2)]){if(this[z(0x1c4)][z(0x173)](b[z(0x1a2)]))Log['notice'](z(0x193)+b[z(0x1a2)]),c=b['cacert'];else throw z(0x1a7)+c;}const d=await this[z(0x1c4)]['getGlobalConfig']();if(d[z(0x195)]){if(this[z(0x1c4)]['isFile'](d[z(0x195)]))c=d[z(0x195)];else throw z(0x171)+c;}let f=![];if(b['f']||b[z(0x1a9)])f=!![];else{const p=isRoot();p?(Log['warn'](z(0x1b8)),f=await Actions['confirm']('Proceed\x20anyway?',![])):f=!![];}if(!f)throw z(0x1b3);const g=process[z(0x19a)]==='win32',h=await HTTPS['get']({'url':'https://install.meteor.com','cert':c}),i=await this[z(0x1c4)][z(0x1a8)](h['data'],z(0x16e));if(i[z(0x1b0)]===0x0)throw z(0x170);process['env'][z(0x185)]='1',Log['notice'](z(0x179)+i[0x0][z(0x190)](/[^0-9.]/gi,'')['replace'](/\r?\n|\r/,''));let j=i[0x0][z(0x190)](/[^0-9.]/gi,'')[z(0x190)](/\r?\n|\r/,'');(typeof b['v']===z(0x182)||typeof b[z(0x17e)]===z(0x182))&&(j=b['v']||b[z(0x17e)]);const k={'win32':z(0x16f),'darwin':z(0x172),'linux':'linux'},l=z(0x1bf)+k[a74e['platform']()]+'.'+(a74e[z(0x18e)]()==='arm64'?'arm64':z(0x180))+'&release='+j,m=await HTTPS[z(0x1a0)]({'url':l,'cert':c});!m&&(Log['error'](z(0x1af)+j+z(0x1b2)),process['exit'](0x0));const n=a74f['join'](homeDir,z(0x174)),o=async()=>{const A=z,q=A(0x17d)+n+A(0x197);if(process[A(0x1b7)][A(0x19f)]&&process['env'][A(0x19f)][A(0x1ac)](A(0x17f))){const r=await this['fsi'][A(0x16d)](homeDir+A(0x18f),q);if(!r)Log[A(0x1bc)](A(0x1c2)+homeDir+A(0x18f)),this['fsi'][A(0x1a4)]({'filePath':homeDir+A(0x18f),'content':q+'\x0a','opts':{'verbose':!![]}});else b[A(0x191)]&&Log[A(0x1bc)]('Path\x20already\x20set\x20in\x20'+homeDir+'/.zshrc');}else{const s=await this['fsi']['fileContainsString'](homeDir+A(0x1b4),q);if(!s)Log['info'](A(0x184)+homeDir+'/.bashrc'),this[A(0x1c4)][A(0x1a4)]({'filePath':homeDir+A(0x1b4),'content':q+'\x0a','opts':{'verbose':!![]}});else b[A(0x191)]&&Log[A(0x1bc)](A(0x1b6)+homeDir+A(0x1b4));const t=await this[A(0x1c4)][A(0x16d)](homeDir+A(0x189),q);if(!t)Log['info'](A(0x184)+homeDir+A(0x189)),this[A(0x1c4)][A(0x1a4)]({'filePath':homeDir+'/.bash_profile','content':q+'\x0a','opts':{'verbose':!![]}});else b['setPath']&&Log[A(0x1bc)](A(0x1b6)+homeDir+A(0x189));if(isRoot()){const u=await this[A(0x1c4)][A(0x16d)](A(0x18b),q);if(!u)Log[A(0x1bc)](A(0x178)),this['fsi'][A(0x1a4)]({'filePath':A(0x18b),'content':q+'\x0a','opts':{'verbose':!![]}});else b[A(0x191)]&&Log['info'](A(0x1bb));}}};b[z(0x191)]&&(await o(),process['exit'](0x0));if(g)Log[z(0x188)](z(0x1c1)),process[z(0x19c)](0x0);else{if(a74g[z(0x1a1)](n)){let q=![];b['f']||b[z(0x1a9)]?q=!![]:q=await Actions['confirm'](z(0x181),![]),q?(await SpawnAsync[z(0x176)]('rm',['-rf',a74f[z(0x196)](n,'packages')],{'message':'Removing\x20previous\x20install\x20of\x20meteor\x20(packages)'}),await SpawnAsync[z(0x176)]('rm',[z(0x1bd),a74f['join'](n,'package-metadata')],{'message':'Removing\x20previous\x20install\x20of\x20meteor\x20(package-meta)'}),await SpawnAsync[z(0x176)]('rm',['-rf',a74f[z(0x196)](n,z(0x1c0))],{'message':z(0x17c)})):(Log[z(0x1bc)]('Aborting\x20install'),process[z(0x19c)](0x0));}try{await HTTPS['downloadFile']({'url':l,'destPath':a74f[z(0x196)](homeDir,z(0x18d)),'cert':c});try{const r=a74f[z(0x196)](homeDir,'meteor.tar.gz');await this[z(0x1c4)][z(0x1aa)](r,homeDir);}catch(s){Log[z(0x188)](z(0x177));}!b[z(0x1ae)]&&await SpawnAsync['withSpinner']('rm',[z(0x1bd),a74f[z(0x196)](homeDir,z(0x18d))],{'message':z(0x183)}),await o();}catch(t){console[z(0x188)](t),process[z(0x19c)](0x0);}Log[z(0x1b5)](z(0x1af)+j+z(0x1b9));}}catch(u){console[z(0x188)](u),process[z(0x19c)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a75l=a75d;(function(a,b){const j=a75d,c=a();while(!![]){try{const d=parseInt(j(0x12e))/0x1+-parseInt(j(0x12d))/0x2+parseInt(j(0x131))/0x3*(-parseInt(j(0x134))/0x4)+parseInt(j(0x124))/0x5+-parseInt(j(0x144))/0x6+parseInt(j(0x13e))/0x7*(-parseInt(j(0x12c))/0x8)+parseInt(j(0x120))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a75c,0xe89f4));const a75b=(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;};}()),a75a=a75b(this,function(){const k=a75d;return a75a[k(0x142)]()[k(0x141)](k(0x12a))[k(0x142)]()[k(0x146)](a75a)[k(0x141)]('(((.+)+)+)+$');});function a75d(a,b){const c=a75c();return a75d=function(d,e){d=d-0x120;let f=c[d];return f;},a75d(a,b);}a75a();import a75e from'path';import a75f from'fs';function a75c(){const n=['2430012lUcbZr','819725xhuihd','fsi','maka\x20jsdoc','1833AxVHfC','inherit','logError','1740TmtiRn','stringify','[-]\x20You\x20may\x20need\x20to\x20install\x20jsdoc:\x20\x22npm\x20i\x20-g\x20jsdoc\x22','.+\x5c.(j|t)s(doc|x)?$','pathFromProject','maka\x20jsdoc\x20--init','logNotice','app/packages','\x20-c\x20','\x0a[+]\x20Documentation\x20written\x20to\x20','182hkiqMg','sep','(.+\x5c.app-tests.js)|(^|\x5c/|\x5c\x5c)_','search','toString','\x20-r\x20app','8108190UnTdFS','logWithSpinner','constructor','create','closure','36377487UGDcUB','plugins/markdown','isFile','app/node_modules','2103890NxBnsd','config','utf-8','jsdoc','app/private','Use\x20the\x20popular\x20JSDoc\x20documentation\x20generator','(((.+)+)+)+$','jsdoc-config.json','460760briJbo'];a75c=function(){return n;};return a75c();}import{execSync}from'child_process';import{Command}from'../command.js';Command[a75l(0x147)]({'name':'jsdoc','usage':a75l(0x130),'mustBeInMakaProject':!![],'shortDesc':a75l(0x129),'examples':[a75l(0x139),a75l(0x130)],'validOpts':[]},function(){const m=a75l,a=a75e['join'](this[m(0x12f)][m(0x138)]({}),'docs'+a75e[m(0x13f)]),b=a75e['join'](this[m(0x12f)]['pathFromProject']({}),m(0x125),m(0x12b)),c=this[m(0x12f)][m(0x138)]({}),d=m(0x127);if(!this[m(0x122)](b)){const g={'plugins':[m(0x121)],'tags':{'allowUnknownTags':!![],'dictionaries':[m(0x127),m(0x148)]},'source':{'includePattern':m(0x137),'excludePattern':m(0x140),'exclude':[m(0x13b),m(0x123),'app/public',m(0x128)]},'templates':{'cleverLinks':![],'monospaceLinks':![]},'opts':{'recursive':!![],'encoding':m(0x126)}};a75f['writeFileSync'](b,JSON[m(0x135)](g,null,0x4));}const f=this[m(0x145)]('Running\x20'+d);try{const h=d+m(0x13c)+b+m(0x143)+a75e[m(0x13f)]+'\x20-d\x20'+a;execSync(h,{'cwd':c,'stdio':m(0x132)}),this[m(0x13a)](m(0x13d)+a);}catch(i){this[m(0x133)](i),this['logError'](m(0x136));}finally{f['stop']();}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a76s=a76d;(function(a,b){const p=a76d,c=a();while(!![]){try{const d=parseInt(p(
|
|
1
|
+
const a76s=a76d;(function(a,b){const p=a76d,c=a();while(!![]){try{const d=parseInt(p(0x1e8))/0x1*(-parseInt(p(0x1ea))/0x2)+parseInt(p(0x1f6))/0x3+-parseInt(p(0x1ed))/0x4*(-parseInt(p(0x1f7))/0x5)+-parseInt(p(0x1fa))/0x6+-parseInt(p(0x208))/0x7+parseInt(p(0x205))/0x8+parseInt(p(0x200))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a76c,0x3106b));const a76b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a76d;if(c){const e=c[q(0x1e3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a76a=a76b(this,function(){const r=a76d;return a76a[r(0x1e6)]()[r(0x1f3)](r(0x203))[r(0x1e6)]()['constructor'](a76a)[r(0x1f3)](r(0x203));});a76a();function a76d(a,b){const c=a76c();return a76d=function(d,e){d=d-0x1e1;let f=c[d];return f;},a76d(a,b);}import a76e from'path';import{ESLint}from'eslint';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';Command[a76s(0x1e9)]({'name':'lint','usage':a76s(0x1f9),'maxArgLength':0x1,'validOpts':['fix'],'mustBeInMakaProject':!![],'shortDesc':'Use\x20ESLint\x20to\x20lint\x20the\x20imports\x20directory','description':a76s(0x1ee),'examples':[a76s(0x1eb)]},async function(a,b){const t=a76s;try{const c=this[t(0x1fc)][t(0x204)](),d=this[t(0x1fc)][t(0x206)]('eslint'),f=this[t(0x1fc)]['checkNpmPackage']('eslint-plugin-react'),g=this[t(0x1fc)]['checkNpmPackage'](t(0x202)),h=[];!d&&h['push'](t(0x1f8));!f&&h[t(0x1e1)](t(0x1e4));!g&&h['push'](t(0x202));h[t(0x1f4)]>0x0&&await this[t(0x1fc)][t(0x1ef)](h['join']('\x20'),{'dev':!![]});const i=this[t(0x1fc)][t(0x1f5)](a76e[t(0x1e2)](c,t(0x1e7)));if(!i){const n={'noRename':!![]};await this[t(0x1fc)][t(0x1f1)]({'srcPath':t(0x1ec),'destPath':a76e[t(0x1e2)](c,t(0x1e7)),'framework':'service','context':n});}const j=new ESLint(),k=await j[t(0x1f2)]([a76e[t(0x1e2)](c,'imports','**')]),l=await j['loadFormatter'](t(0x1fb)),m=l[t(0x201)](k);m[t(0x1f4)]>0x0?Log['bright'](m):Log['success'](t(0x1ff)),Log[t(0x207)](t(0x1fd)+c+'/imports'),b[t(0x1e5)]?await ESLint[t(0x1fe)](k):Log[t(0x207)](t(0x1f0));}catch(o){console['error'](o);}});function a76c(){const u=['Run\x20\x22maka\x20lint\x20--fix\x22\x20to\x20auto\x20fix','template','lintFiles','search','length','isFile','749376XllfBk','535OILQlK','eslint','maka\x20lint','1228536QuzXmx','stylish','fsi','Lint\x20results\x20for\x20','outputFixes','All\x20good!\x20:)','1455057BBISPB','format','eslint-plugin-css','(((.+)+)+)+$','findAppDirectory','1404944SDMMGg','checkNpmPackage','notice','726180CfpUok','push','join','apply','eslint-plugin-react','fix','toString','.eslintrc.json','11TaKezK','create','35366JbkPNm','maka\x20lint\x20--fix','eslint/eslintrc.json','4364eSQKcF','\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','installNpmPackage'];a76c=function(){return u;};return a76c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a77z=a77d;(function(a,b){const w=a77d,c=a();while(!![]){try{const d=parseInt(w(0x151))/0x1+-parseInt(w(0x12c))/0x2*(parseInt(w(0x14a))/0x3)+-parseInt(w(0x138))/0x4*(parseInt(w(0x12a))/0x5)+-parseInt(w(0x148))/0x6*(-parseInt(w(0x154))/0x7)+parseInt(w(0x127))/0x8+parseInt(w(0x137))/0x9*(-parseInt(w(0x13e))/0xa)+-parseInt(w(0x14d))/0xb*(-parseInt(w(0x125))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0x5ab67));const a77b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a77d;if(c){const e=c[x(0x12e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a77a=a77b(this,function(){const y=a77d;return a77a[y(0x150)]()['search']('(((.+)+)+)+$')[y(0x150)]()[y(0x13c)](a77a)['search']('(((.+)+)+)+$');});a77a();import a77e from'node-forge';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a77d(a,b){const c=a77c();return a77d=function(d,e){d=d-0x11d;let f=c[d];return f;},a77d(a,b);}import{Actions}from'../tools/actions/actions.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process['env'][a77z(0x132)]===a77z(0x14b)?a77z(0x155):'www.maka-cli.com';function a77c(){const B=['withSpinner','getGlobalConfig','header','constructor','/api/v1/login','6083770SqIMUL','create','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','maka\x20login','https://','success','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','failure','Preflight\x20Check','214806hlPhvv','get','570921uOpMTM','True','email','3751wNppYc','toHex','/api/v1/encodeJwt','toString','313132bXnvYY','Logging\x20into\x20https://','help','133BzuLOh','localhost','error','cert','ask','cacert','digest','notice','fsi','assign','password','17076yxRJoL','debug','380792ZJbZnA','start','Using\x20CA\x20Cert\x20','11665vVumrz','setGlobalConfig','4UBWsjJ','authToken','apply','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','update','isFile','MAKA_DEV','Password:\x20','parse','exit','Email:','9RNqQeX','284mbXbgx'];a77c=function(){return B;};return a77c();}Command[a77z(0x13f)]({'name':'login','validOpts':['email',a77z(0x124),a77z(0x153),a77z(0x11f),a77z(0x126)],'usage':a77z(0x142),'maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a77z(0x140),'examples':[a77z(0x142),'maka\x20login\x20--email\x20<address>\x20--password\x20<password>']},async function(a,b){const A=a77z,c=Log[A(0x139)]();try{let d='';b['cacert']&&(this[A(0x122)][A(0x131)](b[A(0x11f)])?(d=b[A(0x11f)],Log[A(0x121)](A(0x129)+d)):Log[A(0x156)](A(0x141)+d));const f=await this[A(0x122)][A(0x13a)]();if(f['cert']){if(this[A(0x122)][A(0x131)](f[A(0x11d)]))d=f['cert'];else{Log[A(0x156)](A(0x12f)+d);return;}}Log[A(0x13b)](A(0x152)+hostname);const g={'url':A(0x143)+hostname+'/api/v1/status'};b[A(0x11f)]&&Object[A(0x123)](g,{'cert':d});c['start'](A(0x147));const {statusCode:h}=await HTTPS[A(0x149)](g);if(h===0x198){c[A(0x146)]();throw A(0x145);}if(h!==0xc8){c[A(0x146)]();throw A(0x143)+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[A(0x14c)]?b['email']:await Actions[A(0x11e)](A(0x136)),j=b['password']?b[A(0x124)]:await Actions[A(0x11e)](A(0x133),!![]),k=a77e['md']['sha256'][A(0x13f)]();k[A(0x130)](j);const l=k[A(0x120)]()[A(0x14e)](),m={'hostname':hostname,'path':A(0x13d),'data':{'email':i,'password':l,'hashed':!![]}};b[A(0x11f)]&&Object['assign'](m,{'cert':d});c[A(0x128)]('Logging\x20in');const {data:n,statusCode:o}=await HTTPS['post'](m);if(o===0x198){c[A(0x146)]('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://'+hostname;}const p=JSON[A(0x134)](n);if(p[A(0x12d)]){const q={'hostname':hostname,'path':A(0x14f),'headers':{'x-auth-token':p['authToken']},'data':{}};b[A(0x11f)]&&Object[A(0x123)](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS['post'](q),{token:t}=JSON[A(0x134)](r);if(s===0x198)throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://'+hostname;const u={'token':p,'hash':t};this[A(0x122)][A(0x12b)](u);}else{c[A(0x146)]();throw p;}c[A(0x144)]();}catch(v){c[A(0x146)](),console[A(0x156)](v),process[A(0x135)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a78o=a78d;(function(a,b){const l=a78d,c=a();while(!![]){try{const d=-parseInt(l(0xf1))/0x1*(parseInt(l(0xdd))/0x2)+-parseInt(l(0xc9))/0x3*(-parseInt(l(0xee))/0x4)+parseInt(l(0xf8))/0x5*(-parseInt(l(0xc7))/0x6)+-parseInt(l(0xea))/0x7*(parseInt(l(0xcf))/0x8)+parseInt(l(0xd4))/0x9*(-parseInt(l(0xd2))/0xa)+-parseInt(l(0xe6))/0xb+-parseInt(l(0xe5))/0xc*(-parseInt(l(0xdb))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0x5f239));const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a78d;if(c){const e=c[m(0xf5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const n=a78d;return a78a[n(0xce)]()[n(0xc3)](n(0xf4))['toString']()['constructor'](a78a)[n(0xc3)](n(0xf4));});a78a();function a78c(){const q=['1504DsPoMk','cert','failure','5020690yfdmTW','authToken','9RnlUdP','maka\x20logout','cacert','Preflight\x20Check','start','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','setGlobalConfig','13uPQPIK','exit','20YMMnhI','True','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','assign','/api/v1/logoutAll','MAKA_DEV','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','isFile','12612624WAzLiB','725989ZfCsum','localhost','https://','/api/v1/status','5278uodCWc','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','logout','fsi','2098996dCTitA','Logging\x20out\x20of\x20https://','withSpinner','31409UNsXww','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','(((.+)+)+)+$','apply','create','post','5dhvmYm','www.maka-cli.com','search','env','token','Using\x20CA\x20Cert\x20','973212HpvrhI','success','3PsImdj','getGlobalConfig','error','get','header','toString'];a78c=function(){return q;};return a78c();}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a78o(0xc4)][a78o(0xe2)]===a78o(0xde)?a78o(0xe7):a78o(0xc2);function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0xc2;let f=c[d];return f;},a78d(a,b);}Command[a78o(0xf6)]({'name':a78o(0xec),'validOpts':[a78o(0xd6)],'usage':a78o(0xd5),'maxArgLength':0x2,'shortDesc':a78o(0xe3),'disableAuthCheck':!![],'examples':['maka\x20logout']},async function(a,b){const p=a78o,c=Log[p(0xf0)]();try{let d='';b[p(0xd6)]&&(this[p(0xed)][p(0xe4)](b['cacert'])?(d=b[p(0xd6)],Log['notice'](p(0xc6)+d)):Log[p(0xcb)](p(0xeb)+d));const f=await this[p(0xed)][p(0xca)]();if(f[p(0xd0)]){if(this[p(0xed)]['isFile'](f[p(0xd0)]))d=f[p(0xd0)];else{c[p(0xd1)]();throw Log[p(0xcb)](p(0xf3)+d);}}Log[p(0xcd)](p(0xef)+hostname);const g={'url':p(0xe8)+hostname+p(0xe9)};b[p(0xd6)]&&Object[p(0xe0)](g,{'cert':d});c[p(0xd8)](p(0xd7));const {statusCode:h}=await HTTPS[p(0xcc)](g);if(h===0x198){c[p(0xd1)]();throw p(0xd9);}c[p(0xc8)]();if(h!==0xc8){c[p(0xd1)]();throw p(0xf2);}if(!f?.[p(0xc5)]?.[p(0xd3)])throw Log[p(0xcb)](p(0xdf));c[p(0xd8)]('Logging\x20out');const i={'hostname':hostname,'path':p(0xe1),'data':{},'headers':{'x-auth-token':f[p(0xc5)][p(0xd3)]}};b[p(0xd6)]&&Object[p(0xe0)](i,{'cert':d});const {statusCode:j}=await HTTPS[p(0xf7)](i);if(j===0x198){c[p(0xd1)]('\x0a');throw p(0xd9);}this[p(0xed)][p(0xda)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[p(0xc8)]();}catch(k){k&&console['error'](k),process[p(0xdc)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a79c(){const m=['(((.+)+)+)+$','23170SHfQXI','254RTonWs','sshSync','31254seUJeX','ssh.json','23381776MHvPxc','apply','verbose','750weDYav','fsi','4136KOzCfW','env','10129aUufaI','pm2\x20logs','maka\x20logs\x20--env\x20dev','parse','2853vXSZdo','toString','View\x20the\x20PM2\x20logs','create','maka\x20logs','search','868827hGLKnj','log','assign','1076DbcGFz','2486040MMiXrn'];a79c=function(){return m;};return a79c();}const a79k=a79d;(function(a,b){const h=a79d,c=a();while(!![]){try{const d=-parseInt(h(0x79))/0x1*(parseInt(h(0x7d))/0x2)+parseInt(h(0x76))/0x3+parseInt(h(0x7a))/0x4+-parseInt(h(0x84))/0x5*(parseInt(h(0x7f))/0x6)+parseInt(h(0x6c))/0x7*(-parseInt(h(0x6a))/0x8)+parseInt(h(0x70))/0x9*(-parseInt(h(0x7c))/0xa)+parseInt(h(0x81))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0x9b4f1));const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a79d;if(c){const e=c[i(0x82)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const j=a79d;return a79a['toString']()[j(0x75)](j(0x7b))[j(0x71)]()['constructor'](a79a)['search']('(((.+)+)+)+$');});a79a();import a79e from'fs';import a79f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x69;let f=c[d];return f;},a79d(a,b);}Command[a79k(0x73)]({'name':'logs','aliases':['l',a79k(0x77)],'usage':a79k(0x74),'requiredOpts':['env'],'mustBeInMakaProject':!![],'validOpts':[a79k(0x83)],'shortDesc':a79k(0x72),'isPro':!![],'examples':[a79k(0x6e),'maka\x20logs\x20--env\x20staging','maka\x20l\x20-e\x20p']},function(a,b){const l=a79k,c=l(0x6d),d=this[l(0x69)]['getConfigPath'](b[l(0x6b)]),e=a79f['join'](d,l(0x80)),f=a79e['readFileSync'](e),g=JSON[l(0x6f)](f[l(0x71)]());Object[l(0x78)](g,{'env':d}),SSH[l(0x7e)](c,g,{'tty':!![],'verbose':!![]});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a80j=a80d;(function(a,b){const g=a80d,c=a();while(!![]){try{const d=-parseInt(g(0x107))/0x1+parseInt(g(0xfb))/0x2*(parseInt(g(0xff))/0x3)+parseInt(g(0xfa))/0x4+-parseInt(g(0x106))/0x5+parseInt(g(0xfc))/0x6+parseInt(g(0xf6))/0x7*(parseInt(g(0x101))/0x8)+parseInt(g(0xfe))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0xbe517));const a80b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a80d;if(c){const e=c[h(0x105)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){const i=a80d;return a80a[i(0x102)]()['search'](i(0x103))[i(0x102)]()[i(0x108)](a80a)[i(0x10d)](i(0x103));});function a80d(a,b){const c=a80c();return a80d=function(d,e){d=d-0xf6;let f=c[d];return f;},a80d(a,b);}function a80c(){const l=['toString','(((.+)+)+)+$','maka\x20--help','apply','424720yLfzaF','1215226sLgUWt','constructor','maybeProxyCommandToMeteor','fsi','maka\x20run','exit','search','205338NkkYVQ','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','error','slice','6664bBveBj','94GLvjIT','2280600RCCCak','maka\x20create\x20Todo','11723985aQqhxX','21486gyPrDG','\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','16nRVhVO'];a80c=function(){return l;};return a80c();}a80a();import{Command}from'../command.js';const Maka=new Command({'name':'maka','minArgLength':0x1,'shortDesc':a80j(0xf7),'validOpts':[],'usage':'maka\x20<command>\x20[<args>]\x20[<opts>]','disableAuthCheck':!![],'examples':[a80j(0x104),'maka\x20install\x20meteor',a80j(0xfd),a80j(0x10b)],'description':a80j(0x100)},async function(a,b){const k=a80j;try{const c=a[0x0],d=this['findSubCommand'](c);d?this['runSubCommand'](c,a[k(0xf9)](0x1),b):this[k(0x10a)][k(0x109)]();}catch(f){console[k(0xf8)](f),process[k(0x10c)](0x1);}});export default Maka;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a81h=a81d;function a81d(a,b){var c=a81c();return a81d=function(d,e){d=d-0xf7;var f=c[d];return f;},a81d(a,b);}(function(a,b){var f=a81d,c=a();while(!![]){try{var d=-parseInt(f(0x10b))/0x1*(parseInt(f(0xf8))/0x2)+parseInt(f(0x10d))/0x3*(-parseInt(f(0x100))/0x4)+parseInt(f(0x103))/0x5*(parseInt(f(0xfe))/0x6)+-parseInt(f(0xfb))/0x7+-parseInt(f(0x106))/0x8+parseInt(f(0x109))/0x9*(-parseInt(f(0x107))/0xa)+parseInt(f(0xf9))/0xb*(parseInt(f(0xf7))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0x9708e));var a81b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){var g=a81d;return a81a['toString']()[g(0x104)]('(((.+)+)+)+$')['toString']()[g(0xfa)](a81a)[g(0x104)](g(0xfc));});a81a();import{Command}from'../command.js';Command[a81h(0x105)]({'name':a81h(0x102),'usage':a81h(0x108),'maxArgLength':0x1,'shortDesc':a81h(0xff),'validOpts':[]},async function(){var i=a81h;try{console[i(0x101)](i(0x10c),i(0x10e));}catch(a){console[i(0x10a)](a),process[i(0xfd)](0x0);}});function a81c(){var j=['9164144znnLmG','118930UwqCII','maka\x20murder','81TNabHa','error','402229yiMLVd','%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','360480KoXgAx','font-family:\x20monospace','24FgOuui','4GViley','21618146rhnGNm','constructor','6316863GNAKls','(((.+)+)+)+$','exit','384imMCRZ','Murrrrderrrrr','40fCMlPL','log','murder','66335DQKCHu','search','create'];a81c=function(){return j;};return a81c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a82q=a82d;
|
|
1
|
+
const a82q=a82d;(function(a,b){const n=a82d,c=a();while(!![]){try{const d=parseInt(n(0x103))/0x1+parseInt(n(0x10c))/0x2+parseInt(n(0xe9))/0x3+-parseInt(n(0x105))/0x4+-parseInt(n(0x10a))/0x5*(parseInt(n(0xfd))/0x6)+-parseInt(n(0x100))/0x7+parseInt(n(0xec))/0x8*(-parseInt(n(0x10d))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0xa130c));const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a82d;if(c){const e=c[o(0xf7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const p=a82d;return a82a[p(0xe7)]()[p(0x102)](p(0xf2))[p(0xe7)]()[p(0x108)](a82a)[p(0x102)](p(0xf2));});a82a();import a82e from'fs';import a82f from'path';import a82g from'http-proxy';function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0xe4;let f=c[d];return f;},a82d(a,b);}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';function a82c(){const s=['(((.+)+)+)+$','.crt','.key','error','maka\x20proxy','apply','listenPort','utf8','genSSC','=>\x20SSL\x20Proxy\x20forwarding\x20','targetHost','6yNVsqz','proxy','createProxyServer','6670083QeTMvK','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','search','1227896fxxxUD','invoke','828708obRCtD','getProjectConfig','.csr','constructor','create','4624520HgeafN','join','2637340wQolzI','13797cjTRPO','readFileSync','appName','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','targetPort','genCSR','toString','maka\x20proxy\x20--target-host\x20http://192.168.1.20','692439jYboKW','getConfigPath','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','168BuzEzg','listen','mkKeysDir','isFile','fsi','development'];a82c=function(){return s;};return a82c();}import{SSL}from'../tools/ssl/ssl.class.js';import a82h from'../generators/maka.gen.js';Command[a82q(0x109)]({'name':a82q(0xfe),'usage':'maka\x20proxy','mustBeInMakaProject':!![],'validOpts':['help','targetPort','listenPort',a82q(0xfc)],'maxArgLength':0x1,'shortDesc':a82q(0x101),'description':'\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','examples':[a82q(0xf6),a82q(0xeb),a82q(0xe8)]},async function(a,b){const r=a82q,c=this[r(0xf0)][r(0x106)](),d=r(0xf1),e=this[r(0xf0)][r(0xea)](d),f=this['fsi'][r(0xee)]({'configPath':e}),g=b[r(0xe5)]?Number(b[r(0xe5)]):0xbb8,h=b[r(0xf8)]?Number(b['listenPort']):0xd73,i=b[r(0xfc)]?b[r(0xfc)]:'localhost',j=a82f[r(0x10b)](f,c[r(0x10f)]+r(0xf4)),k=a82f[r(0x10b)](f,c[r(0x10f)]+r(0xf3));if(!this[r(0xf0)][r(0xef)](j)||!this[r(0xf0)][r(0xef)](k)){const m=a82h['findGenerator']('sslconfig');m&&await m[r(0x104)](['sslconfig'],{'env':d}),SSL[r(0xe6)]({'keyName':c[r(0x10f)]+'.key','csrName':c['appName']+r(0x107),'cwd':f}),SSL[r(0xfa)]({'keyName':c[r(0x10f)]+r(0xf4),'crtName':c[r(0x10f)]+r(0xf3),'cwd':f});}if(g===h){Log[r(0xf5)](r(0xe4));throw new UsageError();}const l={'ssl':{'key':a82e['readFileSync'](j,r(0xf9)),'cert':a82e[r(0x10e)](k,r(0xf9))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a82g[r(0xff)](l)[r(0xed)](Number(h)),Log['bright'](r(0xfb)+h+'\x20to\x20'+g);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a83q=a83d;(function(a,b){const n=a83d,c=a();while(!![]){try{const d=parseInt(n(0x14a))/0x1*(parseInt(n(0x14b))/0x2)+-parseInt(n(0x151))/0x3*(-parseInt(n(0x159))/0x4)+-parseInt(n(0x15a))/0x5*(parseInt(n(0x158))/0x6)+-parseInt(n(0x16c))/0x7+parseInt(n(0x168))/0x8*(-parseInt(n(0x15d))/0x9)+-parseInt(n(0x166))/0xa+-parseInt(n(0x15e))/0xb*(-parseInt(n(0x14e))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0xac814));const a83b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a83d;if(c){const e=c[o(0x167)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){const p=a83d;return a83a[p(0x173)]()[p(0x163)]('(((.+)+)+)+$')[p(0x173)]()['constructor'](a83a)['search'](p(0x174));});function a83c(){const s=['settings.json','notice','env','pm2\x20delete\x20all','search','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','assign','1385300UQqdtQ','apply','8Txnhhc','_keys','uname\x20-a','maka\x20reconfig','9744994dzEEmM','Checking\x20remote\x20host\x20availability','fsi','getConfigPath','Reconfigure\x20your\x20deployed\x20applications','ssh.json','ssh','toString','(((.+)+)+)+$','~/ses.json','1285tpUPlC','2074CILuIt','sshSync','ses.json','12EOEZba','scp','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','357459RcnMxo','maka\x20reconfig\x20--env\x20prod','parse','error','join','Remote\x20host\x20connection\x20successful','~/settings.json','3730890xBqOOe','24yhjXTP','5WUyFPN','\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','create','153927RPnnGA','9115777jxnTuv'];a83c=function(){return s;};return a83c();}a83a();import a83e from'fs';import a83f from'path';import{Command}from'../command.js';function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0x149;let f=c[d];return f;},a83d(a,b);}import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a83q(0x15c)]({'name':'reconfig','validOpts':[''],'requiredOpts':['env'],'mustBeInMakaProject':!![],'usage':a83q(0x16b),'isPro':!![],'shortDesc':a83q(0x170),'description':a83q(0x15b),'examples':[a83q(0x152)]},async function(a,b){const r=a83q;try{const c=this[r(0x16e)][r(0x16f)](b[r(0x161)]),d=a83f[r(0x155)](c,r(0x171)),f=a83e['readFileSync'](d)[r(0x173)](),g=JSON[r(0x153)](f);Object[r(0x165)](g,{'env':c}),Log[r(0x160)](r(0x16d));const h=SSH['ping'](r(0x16a),g);if(!h)throw r(0x150);if(h)Log['success'](r(0x156));const i=a83f[r(0x155)](c,r(0x169),r(0x14d));if(a83e['existsSync'](i)){const l={'source':i,'dest':r(0x149),'verbose':!![]};SSH[r(0x14f)](l,{...g});}const j=a83f[r(0x155)](c,'pm2.config.js');SSH['scp']({'source':j,'dest':'~/pm2.config.js','verbose':!![]},{...g});const k=a83f[r(0x155)](c,r(0x15f));SSH['scp']({'source':k,'dest':r(0x157),'verbose':!![]},{...g}),SSH[r(0x14c)](r(0x162),g),await SSH[r(0x172)](r(0x164),{...g},{'verbose':!![]});}catch(m){console[r(0x154)](m),process['exit'](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a84d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
function a84c(){var i=['constructor','toString','(((.+)+)+)+$','3946607PwiINp','search','38MDLtWR','943425ZXtmzl','38578HgVoyp','6721098qGpvoD','8amiNQK','21569440PxxVTo','5mLMMSQ','apply','5381424oHDKHv','3343404WQZMhb'];a84c=function(){return i;};return a84c();}function a84d(a,b){var c=a84c();return a84d=function(d,e){d=d-0x16d;var f=c[d];return f;},a84d(a,b);}(function(a,b){var f=a84d,c=a();while(!![]){try{var d=-parseInt(f(0x173))/0x1*(parseInt(f(0x175))/0x2)+-parseInt(f(0x16d))/0x3+parseInt(f(0x17b))/0x4*(-parseInt(f(0x179))/0x5)+parseInt(f(0x176))/0x6+-parseInt(f(0x171))/0x7*(-parseInt(f(0x177))/0x8)+parseInt(f(0x174))/0x9+parseInt(f(0x178))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0xb7d33));var a84b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a84d;if(c){var e=c[g(0x17a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){var h=a84d;return a84a[h(0x16f)]()[h(0x172)](h(0x170))[h(0x16f)]()[h(0x16e)](a84a)[h(0x172)](h(0x170));});a84a();import'./run.command.js';import'./docker.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a85l=a85d;(function(a,b){const i=a85d,c=a();while(!![]){try{const d=parseInt(i(0xf6))/0x1+-parseInt(i(0xe8))/0x2+-parseInt(i(0xdd))/0x3*(parseInt(i(0xed))/0x4)+-parseInt(i(0xee))/0x5+parseInt(i(0xf4))/0x6+-parseInt(i(0xf2))/0x7+parseInt(i(0xf0))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0xc7371));const a85b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a85d;if(c){const e=c[j(0xde)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){const k=a85d;return a85a[k(0xe6)]()[k(0xd7)](k(0xe0))[k(0xe6)]()[k(0xf5)](a85a)[k(0xd7)](k(0xe0));});a85a();import a85e from'./run.command.js';function a85d(a,b){const c=a85c();return a85d=function(d,e){d=d-0xd7;let f=c[d];return f;},a85d(a,b);}import{execSync}from'child_process';import a85f from'path';import a85g from'fs';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';function a85c(){const n=['7801170kDRXiv','constructor','1130374qqXNLt','search','\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','getProjectConfig','\x20up\x20--remove-orphans','fsi','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','489BVcfsh','apply','notice','(((.+)+)+)+$','join','maka\x20run\x20docker','Docker\x20Compose\x20Path:\x20','appName','docker-compose.yaml','toString','docker','576966eYKTyL','create','existsSync','config/docker-compose.yaml','templateContent','20716CxFMxz','4226665WnabUx','pm2.config.js','5246328WyXxCY','exit','2046674ZtOUpe','createFile'];a85c=function(){return n;};return a85c();}import{paramCase}from'change-case';Command[a85l(0xe9)]({'name':a85l(0xe7),'aliases':['d'],'shortDesc':a85l(0xdc),'description':a85l(0xd8),'usage':a85l(0xe2),'isPro':!![],'validOpts':['']},async function(){const m=a85l;try{const a=this[m(0xdb)][m(0xd9)](),b=this['fsi']['getConfigPath'](m(0xe7)),c=a85f[m(0xe1)](b,m(0xe5)),d=a85f[m(0xe1)](b,m(0xef));Log[m(0xdf)]('PM2\x20Config\x20File:\x20'+d),Log[m(0xdf)](m(0xe3)+c);if(!a85g[m(0xea)](c)){const f={'app':a[m(0xe4)],'appFileCase':paramCase(a['appName'])},g=this[m(0xdb)][m(0xec)]({'srcPath':m(0xeb),'context':f})+'\x0a';this[m(0xdb)][m(0xf3)]({'filePath':c,'data':g});}execSync('docker-compose\x20--project-directory\x20'+b+m(0xda),{'stdio':'inherit'});}catch(h){process[m(0xf1)](0x1);}},a85e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a86v=a86d;(function(a,b){const r=a86d,c=a();while(!![]){try{const d=parseInt(r(
|
|
1
|
+
const a86v=a86d;(function(a,b){const r=a86d,c=a();while(!![]){try{const d=parseInt(r(0xc6))/0x1+-parseInt(r(0xd1))/0x2+parseInt(r(0xac))/0x3+-parseInt(r(0xd5))/0x4+-parseInt(r(0xbf))/0x5*(parseInt(r(0xb0))/0x6)+parseInt(r(0xd2))/0x7*(parseInt(r(0xc2))/0x8)+-parseInt(r(0xb4))/0x9*(parseInt(r(0xd0))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0x946f1));function a86c(){const y=['rawLogs','production','run','1038canDmi','length','cordova-build','concat','7824411xUZQna','fsi','settings.json','config','findSubCommand','push','create','mobile-server','development','app','autoupdate','17815SkowKC','splice','openSync','11560HVcQHA','isFile','runSubCommand','Cannot\x20find\x20Node\x20Environment\x20File:\x20','838536NNBISE','mobileServer','ios','verbose','apply','local','checkMeteorPackage','error','invokeMeteorCommand','forEach','10HKoKml','1078902svKfmZ','3339MnykJk','--env','argv','27108nSrMys','isDirectory','exclude-archs','sep','toString','inspect','env','notice','--settings','split','slice','constructor','settings','filter','(((.+)+)+)+$','docker','search','join','3336570IlkPwu'];a86c=function(){return y;};return a86c();}const a86b=(function(){let a=!![];return function(b,c){const d=a?function(){const s=a86d;if(c){const e=c[s(0xca)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const t=a86d;return a86a[t(0xd9)]()[t(0xaa)](t(0xa8))['toString']()[t(0xa5)](a86a)[t(0xaa)](t(0xa8));});a86a();import a86e from'path';import a86f from'fs';import a86g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0xa2;let f=c[d];return f;},a86d(a,b);}import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const u=a86d;a86f[u(0xc1)](a,'r'),a86g[u(0xb7)]({'path':a});},Run=Command[a86v(0xba)]({'name':a86v(0xaf),'mustBeInMakaProject':!![],'shortDesc':'Run\x20your\x20Meteor\x20application','description':'\x0a\x20\x20maka\x20run\x0a\x20\x20-e\x20|\x20--env\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20target\x20environment.\x20\x20Will\x20automatically\x20pull\x20in\x20the\x20meteor\x20settings\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20file\x20(settings.json)\x20and\x20any\x20environment\x20options\x20that\x20have\x20been\x20enabled.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20-r\x20|\x20--raw-logs\x20\x20\x20\x20\x20\x20\x20Only\x20output\x20the\x20meteor\x20logs\x20without\x20the\x20timestamp.\x0a\x0a\x20\x20-p\x20|\x20--port\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20port\x20to\x20run\x20the\x20meteor\x20server\x20on.\x20Defaults\x20to\x20port\x203000.\x0a\x0a\x20\x20-i\x20|\x20--inspect\x20\x20\x20\x20\x20\x20\x20\x20Tells\x20the\x20meteor\x20server\x20to\x20run\x20nodejs\x20in\x20debug\x20mode.\x20Starts\x20a\x20debug\x20session\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20which\x20can\x20be\x20accessed\x20by\x20Chrome\x20Dev\x20Tools\x20or\x20another\x20debug\x20terminal.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20-m\x20|\x20--mobile-server\x20\x20Specify\x20a\x20different\x20backend\x20server\x20to\x20connect\x20to.\x20\x20Mainly\x20used\x20when\x20running\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20-x\x20|\x20--exclude-archs\x20\x20Don\x27t\x20create\x20bundles\x20for\x20certain\x20web\x20architectures\x20(comma\x20separated,\x20for\x20example:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20--production\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Runs\x20the\x20application\x20in\x20production\x20mode;\x20minifies\x20and\x20bundles\x20all\x20files\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20removes\x20development\x20packages.','validOpts':[a86v(0xdb),a86v(0xa9),a86v(0xad),'port',a86v(0xda),a86v(0xc7),a86v(0xc9),'allowIncompatibleUpdate','extraPackages','x',a86v(0xd7),a86v(0xae)]},async function(a,b){const w=a86v;try{const c=this[w(0xb5)]['findProjectDirectory']();!this[w(0xb5)][w(0xcc)]('autoupdate')&&(Log[w(0xdc)]('Verifying\x20meteor\x20package\x20requirements\x20...'),await this[w(0xb5)]['installMeteorPackage'](w(0xbe),{'cwd':c}));const d=a[0x0],f=this[w(0xb8)](d);f&&this[w(0xc4)](d,a,b);if(d===w(0xc8)){const n=this['fsi']['findProjectDirectory'](),o=a86e['join'](n,w(0xbd),'.meteor',w(0xcb),w(0xb2));this[w(0xb5)][w(0xd6)](o)&&await rimraf(o);}if(b[w(0xbb)]&&b[w(0xbb)]===!![]||b['m']&&b['m']===!![])throw'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)';await this['fsi']['compareMakaToLatest']();const g=b['env']?b[w(0xdb)]:w(0xbc),h=this[w(0xb5)]['getConfigPath'](g),i=a86e[w(0xab)](h,'process.env');let j=a86e[w(0xab)](h,'settings.json');b[w(0xa6)]?j=b[w(0xa6)]:j=a86e['join'](h,w(0xb6));if(this[w(0xb5)][w(0xc3)](i)&&!b[w(0xa9)])Log[w(0xdc)]('Node\x20Env\x20Config:\x20'+i),syncSource(i);else!b[w(0xa9)]&&Log['warn'](w(0xc5)+i);this[w(0xb5)][w(0xc3)](j)?(Log['notice']('Meteor\x20Settings:\x20'+j),a=a[w(0xb3)]([w(0xa2),j])):Log['warn']('Cannot\x20find\x20Meteor\x20Settings\x20File:\x20'+j);const k=h[w(0xa3)](a86e[w(0xd8)]),l=k[k[w(0xb1)]-0x1];l===w(0xae)&&a[w(0xb9)]('--production');const m=process[w(0xd4)][w(0xa4)](0x2)['filter'](p=>p!==w(0xaf))[w(0xa7)](p=>p!==a[0x0]);m[w(0xcf)]((p,q)=>{const x=w;p===x(0xd3)&&m[x(0xc0)](q,0x2),p==='-e'&&m[x(0xc0)](q,0x2);}),this[w(0xb5)][w(0xce)]('run',a['concat'](m));}catch(p){console[w(0xcd)](p),process['exit'](0x1);}});export default Run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a87d,c=a();while(!![]){try{var d=parseInt(f(
|
|
1
|
+
(function(a,b){var f=a87d,c=a();while(!![]){try{var d=parseInt(f(0xf7))/0x1*(parseInt(f(0xee))/0x2)+parseInt(f(0xf3))/0x3*(-parseInt(f(0xef))/0x4)+parseInt(f(0xf4))/0x5+parseInt(f(0xfa))/0x6+parseInt(f(0xed))/0x7+-parseInt(f(0xec))/0x8+parseInt(f(0xf8))/0x9*(-parseInt(f(0xf1))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0x81fd5));var a87b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a87d;if(c){var e=c[g(0xf0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){var h=a87d;return a87a[h(0xf5)]()[h(0xf6)](h(0xf2))[h(0xf5)]()[h(0xf9)](a87a)[h(0xf6)](h(0xf2));});a87a();import'./set.command.js';import'./global.sub.cmd.js';function a87c(){var i=['apply','339450Luzohs','(((.+)+)+)+$','327rGJDCb','1220975YnzVXw','toString','search','1igbFOB','261qGHcUm','constructor','2241834HhaqiX','5018776eQIXaa','4764039BcEGey','2126030EbpuaE','7972cUlPXx'];a87c=function(){return i;};return a87c();}function a87d(a,b){var c=a87c();return a87d=function(d,e){d=d-0xec;var f=c[d];return f;},a87d(a,b);}import'./local.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-
|
|
1
|
+
function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x1b1;let f=c[d];return f;},a88d(a,b);}function a88c(){const l=['help','success','125576mrkkLE','39994yLofrD','Set\x20CA\x20Cert\x20Path:\x20','464385DRuhjS','light','12YXvWKK','resolve','Set\x20workspace:\x20','142850AHteiR','cacert','20AqVrmK','maka\x20set:gc\x20--workspace\x20<path>','exit','4198032hAZtbh','pallet','maka\x20set:global-config\x20--cacert\x20<path>','toString','disallowInsecure','boolean','\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','(((.+)+)+)+$','isFile','407208BwIALN','maka\x20set:gc\x20--insecure\x20<path>','create','maka\x20set:global-config','workspace','dark','9240381YIXUjm','setGlobalConfig','63iWSjzH','Could\x20not\x20find\x20directory','Set\x20allowInsecure:\x20','Set\x20color\x20pallet\x20to:\x20','search','One\x20or\x20the\x20other\x20buddy','error','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','allowInsecure','openai','fsi'];a88c=function(){return l;};return a88c();}const a88j=a88d;(function(a,b){const h=a88d,c=a();while(!![]){try{const d=parseInt(h(0x1b8))/0x1+parseInt(h(0x1b6))/0x2*(parseInt(h(0x1ba))/0x3)+-parseInt(h(0x1cb))/0x4*(-parseInt(h(0x1bf))/0x5)+parseInt(h(0x1c2))/0x6+-parseInt(h(0x1d3))/0x7*(-parseInt(h(0x1b5))/0x8)+-parseInt(h(0x1d1))/0x9+-parseInt(h(0x1bd))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0xb77ac));const a88b=(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;};}()),a88a=a88b(this,function(){const i=a88d;return a88a[i(0x1c5)]()[i(0x1d7)]('(((.+)+)+)+$')[i(0x1c5)]()['constructor'](a88a)[i(0x1d7)](i(0x1c9));});a88a();import a88e from'path';import a88f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a88j(0x1cd)]({'name':'global-config','usage':a88j(0x1ce),'aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[{'name':a88j(0x1be),'boolFlag':![]},{'name':a88j(0x1db),'boolFlag':!![]},{'name':a88j(0x1c6),'boolFlag':!![]},{'name':'workspace','boolFlag':![]},{'name':a88j(0x1b1),'boolFlag':![]},{'name':a88j(0x1b3),'boolFlag':!![]},{'name':a88j(0x1c3),'values':[a88j(0x1b9),a88j(0x1d0)]}],'shortDesc':'Set\x20global\x20Maka-CLI\x20settings','description':a88j(0x1c8),'examples':[a88j(0x1c4),a88j(0x1cc),a88j(0x1c0)]},async function(a,b){const k=a88j;try{if(b['cacert']){if(this[k(0x1b2)][k(0x1ca)](b[k(0x1be)]))await this['fsi'][k(0x1d2)]({'cert':b[k(0x1be)]}),Log[k(0x1b4)](k(0x1b7)+b[k(0x1be)]);else{const c=typeof b[k(0x1be)]===k(0x1c7)?k(0x1da):'CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+b[k(0x1be)];throw Log[k(0x1d9)](c);}}if(b['workspace']){const d=this[k(0x1b2)]['isDirectory'](b[k(0x1cf)]);if(d)await this[k(0x1b2)][k(0x1d2)]({'workspace':a88e[k(0x1bb)](b[k(0x1cf)])}),Log[k(0x1b4)](k(0x1bc)+a88e[k(0x1bb)](b[k(0x1cf)]));else throw Log[k(0x1d9)](k(0x1d4));}b[k(0x1b1)]&&(await this['fsi'][k(0x1d2)]({'openai':b[k(0x1b1)]}),Log[k(0x1b4)]('Set\x20OpenAI\x20Key:\x20'+b[k(0x1b1)]));b[k(0x1c3)]&&(await this['fsi'][k(0x1d2)]({'pallet':b[k(0x1c3)]}),Log[k(0x1b4)](k(0x1d6)+b['pallet']));if(b[k(0x1db)]){if(b[k(0x1db)]&&b[k(0x1c6)])throw Log['error'](k(0x1d8));let f=b[k(0x1db)];b[k(0x1c6)]&&(f=![]),await this[k(0x1b2)][k(0x1d2)]({'allowInsecure':f}),Log['success'](k(0x1d5)+f);}process[k(0x1c1)](0x0);}catch(g){console[k(0x1d9)](g),process['exit'](0x0);}},a88f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var a89i=a89d;(function(a,b){var f=a89d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
var a89i=a89d;(function(a,b){var f=a89d,c=a();while(!![]){try{var d=-parseInt(f(0x1f0))/0x1+parseInt(f(0x1ee))/0x2+-parseInt(f(0x1fb))/0x3+-parseInt(f(0x1f6))/0x4+parseInt(f(0x1f8))/0x5+-parseInt(f(0x1f7))/0x6+-parseInt(f(0x1f2))/0x7*(-parseInt(f(0x1f9))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0xe2b56));var a89b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a89d;if(c){var e=c[g(0x1eb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){var h=a89d;return a89a['toString']()['search'](h(0x1f3))['toString']()[h(0x1ec)](a89a)[h(0x1f4)]('(((.+)+)+)+$');});a89a();function a89d(a,b){var c=a89c();return a89d=function(d,e){d=d-0x1ea;var f=c[d];return f;},a89d(a,b);}import a89e from'./set.command.js';import{Command}from'../../command.js';function a89c(){var k=['2198775BTSYfv','maka\x20set:local-config','apply','constructor','create','746514iMetGJ','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','536997XZqqOV','Sorry,\x20not\x20implemented\x20yet','7LEtdKk','(((.+)+)+)+$','search','Set\x20local\x20maka\x20app\x20settings','3869308KiEsuA','5669262SqKFVe','453580QsZKMR','29174008LZaskH','local-config'];a89c=function(){return k;};return a89c();}import{Log}from'../../tools/log/log.class.js';Command[a89i(0x1ed)]({'name':a89i(0x1fa),'usage':a89i(0x1ea),'examples':[],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':a89i(0x1f5),'validOpts':[],'description':a89i(0x1ef)},async function(){var j=a89i;Log['notice'](j(0x1f1));},a89e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a90i=a90d;(function(a,b){const f=a90d,c=a();while(!![]){try{const d
|
|
1
|
+
const a90i=a90d;(function(a,b){const f=a90d,c=a();while(!![]){try{const d=parseInt(f(0xa3))/0x1+-parseInt(f(0xa2))/0x2+-parseInt(f(0xa1))/0x3+-parseInt(f(0xac))/0x4+parseInt(f(0x9e))/0x5+-parseInt(f(0xa6))/0x6+parseInt(f(0x9f))/0x7*(parseInt(f(0xaa))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0xa8231));const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a90d;if(c){const e=c[g(0xa0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const h=a90d;return a90a[h(0xa8)]()[h(0xa5)](h(0xa9))['toString']()['constructor'](a90a)[h(0xa5)]('(((.+)+)+)+$');});a90a();import{Command}from'../../command.js';function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0x9d;let f=c[d];return f;},a90d(a,b);}const SetCommand=Command[a90i(0xa7)]({'name':a90i(0x9d),'usage':'maka\x20set:<sub-command>','minArgLength':0x1,'shortDesc':'Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','validOpts':[]},async function(a,b){const j=a90i,c=a[0x0],d=this[j(0xab)](c);d&&this[j(0xa4)](c,a,b);});function a90c(){const k=['203104hxgGLm','findSubCommand','1521244ZfAyJW','set','4329985GytBRk','126mzponl','apply','1111830fccZQs','1834426sWrOES','1250966GgHxNu','runSubCommand','search','1302744NjKLyK','create','toString','(((.+)+)+)+$'];a90c=function(){return k;};return a90c();}export default SetCommand;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a91m=a91d;(function(a,b){const j=a91d,c=a();while(!![]){try{const d=-parseInt(j(
|
|
1
|
+
const a91m=a91d;(function(a,b){const j=a91d,c=a();while(!![]){try{const d=-parseInt(j(0x1da))/0x1*(parseInt(j(0x1d9))/0x2)+parseInt(j(0x1e0))/0x3+-parseInt(j(0x1e5))/0x4*(-parseInt(j(0x1df))/0x5)+parseInt(j(0x1ce))/0x6+-parseInt(j(0x1e3))/0x7*(parseInt(j(0x1d6))/0x8)+-parseInt(j(0x1dc))/0x9*(-parseInt(j(0x1ea))/0xa)+parseInt(j(0x1e9))/0xb*(-parseInt(j(0x1cf))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0x84088));const a91b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a91d;if(c){const e=c[k(0x1e2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){const l=a91d;return a91a[l(0x1e8)]()['search'](l(0x1e1))[l(0x1e8)]()[l(0x1cd)](a91a)['search'](l(0x1e1));});a91a();function a91c(){const o=['getConfigPath','55sTFYut','1231923XBiSDC','(((.+)+)+)+$','apply','83965yMFmYo','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','341924ezjqYm','sshSync','length','toString','583iYrkFW','65290KEJpVd','create','env','parse','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','constructor','397824vVdKOK','139332MmnlAY','readFileSync','exit','ssh','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','join','ssh.json','112tkBrAW','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','maka\x20ssh\x20<command>','2WqtzJe','863537TQcujR','maka\x20ssh\x20--env\x20prod','1062RxQrOJ','maka\x20ssh\x20--env\x20staging'];a91c=function(){return o;};return a91c();}function a91d(a,b){const c=a91c();return a91d=function(d,e){d=d-0x1cc;let f=c[d];return f;},a91d(a,b);}import a91e from'fs';import a91f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a91m(0x1eb)]({'name':a91m(0x1d2),'usage':a91m(0x1d8),'mustBeInMakaProject':!![],'requiredOpts':['env'],'validOpts':[a91m(0x1ec),'verbose'],'isPro':!![],'shortDesc':a91m(0x1cc),'examples':['maka\x20ssh\x20--env\x20dev',a91m(0x1dd),a91m(0x1db),a91m(0x1d3),a91m(0x1e4),a91m(0x1d7)]},async function(a,b){const n=a91m;try{const c=this['fsi'][n(0x1de)](b[n(0x1ec)]);let d='';a[n(0x1e7)]>0x0&&(d=a[0x0]);const f=a91f[n(0x1d4)](c,n(0x1d5)),g=a91e[n(0x1d0)](f)['toString'](),h=JSON[n(0x1ed)](g);Object['assign'](h,{'env':c}),SSH[n(0x1e6)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['verbose']});}catch(i){console['error'](i),process[n(0x1d1)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a92c(){const A=['
|
|
1
|
+
function a92d(a,b){const c=a92c();return a92d=function(d,e){d=d-0x190;let f=c[d];return f;},a92d(a,b);}function a92c(){const A=['letsencrypt','ask','ssh','Create\x20and\x20manage\x20your\x20SSL\x20operations.','Remote\x20host\x20connection\x20successful','constructor','Checking\x20remote\x20host\x20availability','parse','genSSC','apply','Using\x20saved\x20letsencrypt\x20config','readFileSync','getProjectConfig','search','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','error','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','.csr','getConfigPath','maka\x20ssl\x20--env\x20dev\x20generate-csr','stringify','domains','2422587xHtJHq','Email\x20to\x20use\x20for\x20auto-updates:\x20','assign','.key','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','email','notice','4467265FVkQFP','generate-ssc','create','fsi','Please\x20provide\x20a\x20command.','join','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','success','Verifying\x20Letsencrypt\x20configuration','(((.+)+)+)+$','ssl','6256112QabKhj','exit','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','ping','genCSR','existsSync','maka\x20ssl\x20[command]','sudo\x20snap\x20install\x20--classic\x20certbot','env','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','2tSREXx','withSpinner','generate-csr','toString','appName','[?]\x20Domains\x20to\x20register:\x20','letsencrypt.json','New\x20CSR\x20written\x20to\x20','3375774bQvRAi','180246deArRr','3954608YFjOMQ','3349972abOdZD','writeFileSync'];a92c=function(){return A;};return a92c();}const a92y=a92d;(function(a,b){const v=a92d,c=a();while(!![]){try{const d=parseInt(v(0x1be))/0x1+-parseInt(v(0x1b5))/0x2*(-parseInt(v(0x199))/0x3)+parseInt(v(0x1c0))/0x4+parseInt(v(0x1a0))/0x5+-parseInt(v(0x1bd))/0x6+-parseInt(v(0x1bf))/0x7+-parseInt(v(0x1ab))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0xc58ae));const a92b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a92d;if(c){const e=c[w(0x1cb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){const x=a92d;return a92a[x(0x1b8)]()[x(0x190)]('(((.+)+)+)+$')[x(0x1b8)]()[x(0x1c7)](a92a)[x(0x190)](x(0x1a9));});a92a();import a92e from'fs';import a92f from'path';import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command[a92y(0x1a2)]({'name':a92y(0x1aa),'usage':a92y(0x1b1),'validOpts':['domains',a92y(0x19e)],'requiredOpts':[a92y(0x1b3)],'shortDesc':a92y(0x1c5),'mustBeInMakaProject':!![],'minArgLength':0x1,'isPro':!![],'examples':[a92y(0x196),a92y(0x1b4),'maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process']},async function(a,b){const z=a92y,c=this['fsi'][z(0x1ce)](),d=this['fsi'][z(0x195)](b[z(0x1b3)]),f=this[z(0x1a3)]['mkKeysDir']({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0x1b7))SSL[z(0x1af)]({'keyName':c[z(0x1b9)]+'.key','csrName':c['appName']+z(0x194),'cwd':f});else{if(g===z(0x1a1)){if(!a92e[z(0x1b0)](a92f[z(0x1a5)](f,c[z(0x1b9)]+z(0x19c))))throw z(0x1ad)+a92f[z(0x1a5)](f,c['appName']+z(0x19c));if(!a92e[z(0x1b0)](a92f[z(0x1a5)](f,c['appName']+'.csr')))throw z(0x19d)+a92f[z(0x1a5)](f,c[z(0x1b9)]+'.csr');SSL[z(0x1ca)]({'keyName':c['appName']+z(0x19c),'crtName':c[z(0x1b9)]+'.crt','cwd':f}),Log['notice'](z(0x1bc)+f);}else{if(g===z(0x1c2)){let h=b[z(0x198)],i=b[z(0x19e)];try{const p=a92e['readFileSync'](a92f[z(0x1a5)](d,z(0x1bb)))[z(0x1b8)](),q=JSON[z(0x1c9)](p);h=b['domains']?b[z(0x198)]:q['domainNames'],i=b[z(0x19e)]?b[z(0x19e)]:q['emailUpdate'],(!b['email']||!b['domains'])&&Log['notice'](z(0x1cc));}catch(r){}const j=JSON[z(0x1c9)](a92e[z(0x1cd)](d+'/ssh.json')[z(0x1b8)]());Object[z(0x19b)](j,{'env':d}),Log[z(0x19f)](z(0x1c8));try{const s=SSH[z(0x1ae)]('uname\x20-a',j);if(!s)throw z(0x191);if(s)Log[z(0x1a7)](z(0x1c6));}catch(t){Log[z(0x192)](t);return;}const k=Log[z(0x1b6)]();k['start'](z(0x1a8)),SSH['ssh'](z(0x1a6),{...j}),SSH['ssh'](z(0x1b2),{...j}),SSH['ssh']('sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot',{...j}),k[z(0x1a7)]();const l=h?h:await Actions['ask'](z(0x1ba)),m=i?i:await Actions[z(0x1c3)](z(0x19a));SSH[z(0x1c4)](z(0x193)+l+'\x20--email\x20'+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0x197)](n,null,0x2);a92e[z(0x1c1)](a92f[z(0x1a5)](d,'letsencrypt.json'),o);}else throw z(0x1a4);}}}catch(u){console['error'](u),process[z(0x1ac)](0x0);}});
|