@maka/maka-cli 4.13.16 → 4.13.17
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 +1 -1
- 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/cecr.sub.cmd.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/decr.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/lecr.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/patreon.js +1 -1
- package/bundle/obf/src/commands/profile.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/register.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/undo.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/aws/_index.js +1 -1
- package/bundle/obf/src/generators/aws/aws.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
- package/bundle/obf/src/generators/collection.js +1 -1
- package/bundle/obf/src/generators/component.js +1 -1
- package/bundle/obf/src/generators/config.js +1 -1
- package/bundle/obf/src/generators/dbc.js +1 -1
- package/bundle/obf/src/generators/dockerfile.js +1 -1
- package/bundle/obf/src/generators/hook.js +1 -1
- package/bundle/obf/src/generators/kits/_index.js +1 -1
- package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
- package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
- package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
- package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
- package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
- package/bundle/obf/src/generators/kits/kit.js +1 -1
- package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
- package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
- package/bundle/obf/src/generators/layout.js +1 -1
- package/bundle/obf/src/generators/maka.gen.js +1 -1
- package/bundle/obf/src/generators/methods.js +1 -1
- package/bundle/obf/src/generators/package.js +1 -1
- package/bundle/obf/src/generators/page.js +1 -1
- package/bundle/obf/src/generators/publish.js +1 -1
- package/bundle/obf/src/generators/route.js +1 -1
- package/bundle/obf/src/generators/service.js +1 -1
- package/bundle/obf/src/generators/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/translation.js +1 -1
- package/bundle/obf/src/maka.js +1 -1
- package/bundle/obf/src/tool.js +1 -1
- package/bundle/obf/src/tools/actions/actions.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
- package/bundle/obf/src/tools/docker/docker.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
- package/bundle/obf/src/tools/https/https.class.js +1 -1
- package/bundle/obf/src/tools/https/https.interface.js +1 -1
- package/bundle/obf/src/tools/log/log.class.js +1 -1
- package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
- package/bundle/obf/src/tools/options/options.class.js +1 -1
- package/bundle/obf/src/tools/progress/progress.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a96i=a96d;
|
|
1
|
+
const a96i=a96d;(function(a,b){const f=a96d,c=a();while(!![]){try{const d=parseInt(f(0x1aa))/0x1*(parseInt(f(0x1a1))/0x2)+-parseInt(f(0x19f))/0x3*(-parseInt(f(0x1a3))/0x4)+parseInt(f(0x1a7))/0x5+-parseInt(f(0x1a5))/0x6*(-parseInt(f(0x1a2))/0x7)+-parseInt(f(0x1ad))/0x8*(parseInt(f(0x1a4))/0x9)+-parseInt(f(0x1a9))/0xa+parseInt(f(0x1ac))/0xb*(parseInt(f(0x1b0))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a96c,0xe7463));const a96b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a96d;if(c){const e=c[g(0x1a8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a96a=a96b(this,function(){const h=a96d;return a96a[h(0x1ae)]()[h(0x1af)](h(0x1a6))[h(0x1ae)]()[h(0x19c)](a96a)[h(0x1af)](h(0x1a6));});a96a();function a96d(a,b){const c=a96c();return a96d=function(d,e){d=d-0x19b;let f=c[d];return f;},a96d(a,b);}function a96c(){const k=['\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','runSubCommand','69YRaqlP','set','5374qNORgo','2220953BFfWrX','10908wiNpxk','966582LwbaSZ','6tIlFXX','(((.+)+)+)+$','4668145PjUvVX','apply','17744580uyllee','237xAbZWx','create','10847155WmPpID','16ihZySL','toString','search','12sgAGiE','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','constructor'];a96c=function(){return k;};return a96c();}import{Command}from'../../command.js';const SetCommand=Command[a96i(0x1ab)]({'name':a96i(0x1a0),'usage':'maka\x20set:<sub-command>','shortDesc':a96i(0x19b),'description':a96i(0x19d),'validOpts':[]},async function(a,b){const j=a96i,c=a[0x0],d=this['findSubCommand'](c);d&&this[j(0x19e)](c,a,b);});export default SetCommand;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a97n=a97d;(function(a,b){const k=a97d,c=a();while(!![]){try{const d=parseInt(k(
|
|
1
|
+
const a97n=a97d;(function(a,b){const k=a97d,c=a();while(!![]){try{const d=parseInt(k(0x146))/0x1+-parseInt(k(0x134))/0x2*(parseInt(k(0x14c))/0x3)+parseInt(k(0x153))/0x4+-parseInt(k(0x14a))/0x5+-parseInt(k(0x139))/0x6*(-parseInt(k(0x13c))/0x7)+parseInt(k(0x140))/0x8+-parseInt(k(0x147))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a97c,0xe1ad4));const a97b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a97d;if(c){const e=c[l(0x141)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a97a=a97b(this,function(){const m=a97d;return a97a[m(0x150)]()[m(0x14e)](m(0x136))['toString']()[m(0x143)](a97a)['search'](m(0x136));});a97a();import a97e from'fs';import a97f from'path';function a97c(){const p=['env','constructor','maka\x20ssh\x20--env\x20staging','getAppConfigPath','1203810jueBfm','22603563hSgitP','verbose','sshSync','2432960MDnHrj','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','15369PzEDAl','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','search','maka\x20ssh\x20--env\x20dev','toString','join','error','4428892oXvOnY','parse','ssh.json','length','122QwBYDG','ssh','(((.+)+)+)+$','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','maka\x20ssh\x20--env\x20prod','213324jTEGau','getEnvFromShorthand','fsi','77nJFcLB','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','assign','exit','12262776UimtWv','apply'];a97c=function(){return p;};return a97c();}import{Command}from'../command.js';function a97d(a,b){const c=a97c();return a97d=function(d,e){d=d-0x131;let f=c[d];return f;},a97d(a,b);}import{SSH}from'../tools/ssh/ssh.class.js';import{Log}from'../tools/log/log.class.js';Command['create']({'name':a97n(0x135),'usage':'maka\x20ssh\x20<command>','mustBeInMakaProject':!![],'requiredOpts':[a97n(0x142)],'validOpts':[a97n(0x142),a97n(0x148)],'shortDesc':a97n(0x137),'examples':[a97n(0x14f),a97n(0x144),a97n(0x138),a97n(0x14d),a97n(0x13d),a97n(0x14b)]},async function(a,b){const o=a97n;try{const c=this[o(0x13b)][o(0x13a)](b[o(0x142)]),d=this[o(0x13b)][o(0x145)](c);let f='';a[o(0x133)]>0x0&&(f=a[0x0]);const g=a97f[o(0x151)](c,o(0x132)),h=a97e['readFileSync'](g)[o(0x150)](),i=JSON[o(0x131)](h);Object[o(0x13e)](i,{'env':d}),SSH[o(0x149)](f,i,{'tty':!![],'verbose':!![],'sshVerbose':b[o(0x148)]});}catch(j){Log[o(0x152)](j),process[o(0x13f)](0x1);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a98z=a98d;
|
|
1
|
+
const a98z=a98d;(function(a,b){const w=a98d,c=a();while(!![]){try{const d=parseInt(w(0x208))/0x1+-parseInt(w(0x1d7))/0x2+parseInt(w(0x1e1))/0x3+-parseInt(w(0x1e3))/0x4+parseInt(w(0x1f0))/0x5+parseInt(w(0x209))/0x6*(-parseInt(w(0x1d9))/0x7)+parseInt(w(0x1dc))/0x8*(parseInt(w(0x1f3))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a98c,0x88933));const a98b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a98d;if(c){const e=c[x(0x1db)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a98a=a98b(this,function(){const y=a98d;return a98a[y(0x1ea)]()[y(0x1dd)]('(((.+)+)+)+$')['toString']()[y(0x1ed)](a98a)[y(0x1dd)](y(0x1d6));});a98a();function a98d(a,b){const c=a98c();return a98d=function(d,e){d=d-0x1d3;let f=c[d];return f;},a98d(a,b);}import a98e from'fs';import a98f 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';function a98c(){const B=['genSSC','exit','emailUpdate','getMakaProjectConfig','uname\x20-a','Please\x20provide\x20a\x20command.','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','success','(((.+)+)+)+$','68198tpVNpF','\x20--email\x20','35zYGJVz','ssh','apply','1312UKHpfO','search','getAppConfigPath','letsencrypt','env','2965824hjOIIi','join','2447340EfPVpw','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','.csr','.key','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','Verifying\x20Letsencrypt\x20configuration','toString','stringify','appName','constructor','domains','ask','474230SBCxhK','/ssh.json','ping','9369SpaHpF','withSpinner','New\x20CSR\x20written\x20to\x20','parse','ssl','maka\x20ssl\x20--env\x20dev\x20generate-csr','writeFileSync','fsi','maka\x20ssl\x20[command]','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','Remote\x20host\x20connection\x20successful','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','.crt','notice','getEnvFromShorthand','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','existsSync','create','letsencrypt.json','Create\x20and\x20manage\x20your\x20SSL\x20operations.','Using\x20saved\x20letsencrypt\x20config','35932EgpeYw','101718CeFhmv','email','[?]\x20Domains\x20to\x20register:\x20','generate-ssc','error'];a98c=function(){return B;};return a98c();}import{SSL}from'../tools/ssl/ssl.class.js';Command[a98z(0x204)]({'name':a98z(0x1f7),'usage':a98z(0x1fb),'validOpts':[a98z(0x1ee),a98z(0x20a)],'requiredOpts':[a98z(0x1e0)],'shortDesc':a98z(0x206),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a98z(0x1f8),a98z(0x1e4),a98z(0x1e8)]},async function(a,b){const A=a98z,c=this[A(0x1fa)][A(0x211)](),d=this['fsi'][A(0x201)](b['env']),f=this[A(0x1fa)][A(0x1de)](d),g=this[A(0x1fa)]['mkKeysDir']({'configPath':f});let h='';a&&(h=a[0x0]);try{if(h==='generate-csr')SSL['genCSR']({'keyName':c[A(0x1ec)]+A(0x1e7),'csrName':c[A(0x1ec)]+A(0x1e6),'cwd':g});else{if(h===A(0x20c)){if(!a98e[A(0x203)](a98f['join'](g,c[A(0x1ec)]+'.key')))throw A(0x1e5)+a98f[A(0x1e2)](g,c[A(0x1ec)]+A(0x1e7));if(!a98e['existsSync'](a98f[A(0x1e2)](g,c['appName']+'.csr')))throw A(0x1fc)+a98f[A(0x1e2)](g,c[A(0x1ec)]+'.csr');SSL[A(0x20e)]({'keyName':c[A(0x1ec)]+A(0x1e7),'crtName':c['appName']+A(0x1ff),'cwd':g}),Log[A(0x200)](A(0x1f5)+g);}else{if(h===A(0x1df)){let i=b['domains'],j=b[A(0x20a)];try{const q=a98e['readFileSync'](a98f[A(0x1e2)](f,A(0x205)))['toString'](),r=JSON[A(0x1f6)](q);i=b['domains']?b[A(0x1ee)]:r['domainNames'],j=b[A(0x20a)]?b[A(0x20a)]:r[A(0x210)],(!b[A(0x20a)]||!b[A(0x1ee)])&&Log[A(0x200)](A(0x207));}catch(s){}const k=JSON['parse'](a98e['readFileSync'](f+A(0x1f1))['toString']());Object['assign'](k,{'env':f}),Log[A(0x200)]('Checking\x20remote\x20host\x20availability');try{const t=SSH[A(0x1f2)](A(0x212),k);if(!t)throw A(0x1fe);if(t)Log[A(0x1d5)](A(0x1fd));}catch(u){Log[A(0x20d)](u);return;}const l=Log[A(0x1f4)]();l['start'](A(0x1e9)),SSH['ssh'](A(0x202),{...k}),SSH[A(0x1da)]('sudo\x20snap\x20install\x20--classic\x20certbot',{...k}),SSH['ssh']('sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot',{...k}),l['success']();const m=i?i:await Actions[A(0x1ef)](A(0x20b)),n=j?j:await Actions[A(0x1ef)]('Email\x20to\x20use\x20for\x20auto-updates:\x20');SSH['ssh'](A(0x1d4)+m+A(0x1d8)+n,{...k},{'verbose':!![]});const o={'domainNames':m,'emailUpdate':n},p=JSON[A(0x1eb)](o,null,0x2);a98e[A(0x1f9)](a98f[A(0x1e2)](f,A(0x205)),p);}else throw A(0x1d3);}}}catch(v){console[A(0x20d)](v),process[A(0x20f)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a99q=a99d;(function(a,b){const n=a99d,c=a();while(!![]){try{const d=-parseInt(n(0x1e1))/0x1*(-parseInt(n(0x1c9))/0x2)+parseInt(n(0x1c7))/0x3+-parseInt(n(0x1ea))/0x4+parseInt(n(0x1ee))/0x5+-parseInt(n(0x1ef))/0x6+parseInt(n(0x1e0))/0x7+parseInt(n(0x1e9))/0x8*(-parseInt(n(0x1f5))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a99c,0x90b04));const a99b=(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;};}()),a99a=a99b(this,function(){const o=a99d;return a99a['toString']()[o(0x1f2)](o(0x1b7))['toString']()[o(0x1d3)](a99a)[o(0x1f2)](o(0x1b7));});function a99c(){const t=['once','fsi','filter','rawLogs','engines','3327016MBwdAF','920QkxAcx','--env','Meteor\x20is\x20not\x20installed\x20or\x20cannot\x20be\x20found\x20in\x20your\x20path.\x20Installing...','none','--driver-package','Cannot\x20find\x20Node\x20Environment\x20File:\x20','env','Meteor\x20Settings:\x20','88YnmZsz','1127708TECHFC','readFileSync','.maka','Node\x20Env\x20Config:\x20','830230ZrAcHx','4719054geKjtU','parse','create','search','splice','process.env','99621PtdLvf','jasmine','test','--settings','isMeteorInstalled','error','(((.+)+)+)+$','packages','driver-package','testAppPath','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','--driver','Meteor\x20is\x20installed.','concat','driverPackage','tests','getAppConfigPath','inspect','maka\x20test','join','isFile','findProjectDirectory','2751075rcyohv','--packages','488qWmfad','config','driver','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','port','warn','notice','settings.json','utf8','maka\x20install\x20--force','constructor','exit','inherit','--full-app','openSync','local','forEach','unit'];a99c=function(){return t;};return a99c();}a99a();import a99e from'fs';import a99f from'path';import a99g from'dotenv';import{execSync}from'child_process';function a99d(a,b){const c=a99c();return a99d=function(d,e){d=d-0x1b6;let f=c[d];return f;},a99d(a,b);}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const p=a99d;a99e[p(0x1d7)](a,'r'),a99g[p(0x1ca)]({'path':a});};Command[a99q(0x1f1)]({'name':'test','mustBeInMakaProject':!![],'validOpts':['once','packages',a99q(0x1cb),a99q(0x1bf),a99q(0x1da),a99q(0x1e7),a99q(0x1de),a99q(0x1cd),a99q(0x1c2),a99q(0x1ba)],'usage':a99q(0x1c3),'aliases':['t',a99q(0x1c0)],'shortDesc':a99q(0x1bb),'examples':[]},async function(a,b){const r=a99q;try{this[r(0x1dc)][r(0x1f9)]()?Log[r(0x1cf)](r(0x1bd)):(Log[r(0x1ce)](r(0x1e3)),execSync(r(0x1d2),{'stdio':r(0x1d5)}));const c=b[r(0x1e7)]?this[r(0x1dc)]['getEnvFromShorthand'](b['env']):r(0x1d8),d=this['fsi'][r(0x1c1)](c);(!b['unit']||!!b[r(0x1db)])&&(a=a['concat']([r(0x1d6)]));b[r(0x1da)]&&delete b[r(0x1da)];let f=b[r(0x1b9)]||b[r(0x1cb)]||r(0x1e4);if(f===r(0x1e4)){const k=JSON[r(0x1f0)](a99e[r(0x1eb)](a99f['join'](this[r(0x1dc)][r(0x1c6)](),r(0x1ec),'config.json'),r(0x1d1)));if(k[r(0x1df)]['test']===r(0x1f6))f='sanjo:jasmine';else k['engines'][r(0x1f7)]==='mocha'&&(f='meteortesting:mocha');}if(f==='none')throw'This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)';(!b['driver-package']||!b[r(0x1cb)])&&(a=a[r(0x1be)]([r(0x1e5),f]));const g=a99f[r(0x1c4)](d,r(0x1d0));this['fsi'][r(0x1c5)](g)?(Log[r(0x1cf)](r(0x1e8)+g),a=a['concat']([r(0x1f8),g])):Log['warn'](r(0x1cc)+g);const h=a99f['join'](d,r(0x1f4));this['fsi'][r(0x1c5)](d)?(Log['notice'](r(0x1ed)+h),syncSource(h)):Log[r(0x1ce)](r(0x1e6)+h);const i=process['argv']['slice'](0x2)[r(0x1dd)](l=>l!==r(0x1e2))[r(0x1dd)](l=>l!==r(0x1f7))['filter'](l=>l!==a[0x0]);i[r(0x1d9)]((l,m)=>{const s=r;(l===s(0x1e2)||l===s(0x1bc))&&i[s(0x1f3)](m,0x2),l===s(0x1c8)&&i[s(0x1f3)](m,0x1);});const j=b[r(0x1b8)]?'test-packages':'test';this[r(0x1dc)]['invokeMeteorCommand'](j,a[r(0x1be)](i));}catch(l){console[r(0x1b6)](l),process[r(0x1d4)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var a100i=a100d;(function(a,b){var f=a100d,c=a();while(!![]){try{var d=parseInt(f(
|
|
1
|
+
var a100i=a100d;(function(a,b){var f=a100d,c=a();while(!![]){try{var d=parseInt(f(0x185))/0x1+-parseInt(f(0x186))/0x2*(-parseInt(f(0x18b))/0x3)+-parseInt(f(0x187))/0x4+parseInt(f(0x18d))/0x5+-parseInt(f(0x183))/0x6+parseInt(f(0x18a))/0x7*(parseInt(f(0x190))/0x8)+-parseInt(f(0x18f))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a100c,0x88e4a));function a100c(){var j=['3yjmdEa','Read\x20the\x20project\x27s\x20history\x20and\x20attempt\x20to\x20undo\x20the\x20last\x20action','1117420Drofuo','apply','17151606wteLim','32tquDba','undo','toString','260094YswSMl','(((.+)+)+)+$','1117065foaCBX','2061262XrxgAO','3141500qPFGnS','create','search','1616986GiYNfN'];a100c=function(){return j;};return a100c();}var a100b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a100d;if(c){var e=c[g(0x18e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a100a=a100b(this,function(){var h=a100d;return a100a[h(0x182)]()[h(0x189)](h(0x184))[h(0x182)]()['constructor'](a100a)[h(0x189)](h(0x184));});function a100d(a,b){var c=a100c();return a100d=function(d,e){d=d-0x182;var f=c[d];return f;},a100d(a,b);}a100a();import{Command}from'../command.js';import a100e from'../generators/maka.gen.js';Command[a100i(0x188)]({'name':a100i(0x191),'aliases':['u'],'validOpts':[],'shortDesc':a100i(0x18c),'experimental':!![]},async function(){a100e['undo']();});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a101n=a101d;
|
|
1
|
+
const a101n=a101d;function a101d(a,b){const c=a101c();return a101d=function(d,e){d=d-0x1f1;let f=c[d];return f;},a101d(a,b);}function a101c(){const p=['498281fpqQsr','node\x20-v','isMakaProject','maka\x20version\x20--verbose','bright','getGlobalMeteorVersion','\x20node\x20-v','maka\x20v','maka\x20version','Project\x27s\x20Meteor\x20Node\x20Version\x20','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','exit','361473JkvnRa','Maka\x20','apply','994730DSREVn','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','valid','replace','1671170dGXVNK','getMeteorExePath','6878148hTGfXK','error','Project\x27s\x20Meteor\x20Version\x20','\x0a\x20\x20When\x20using\x20the\x20--verbose\x20flag,\x20maka\x20will\x20also\x20check\x20the\x20version\x20of\x20the\x20system\x27s\x20meteor\x20and\x20node\x20versions\x0a\x20\x20along\x20with\x20the\x20project\x27s\x20meteor\x20and\x20node\x20versions.\x20If\x20the\x20system\x27s\x20meteor\x20version\x20is\x20greater\x20than\x20the\x0a\x20\x20project\x27s\x20meteor\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20meteor\x20version.\x20If\x20the\x20system\x27s\x20node\x0a\x20\x20version\x20is\x20greater\x20than\x20the\x20project\x27s\x20node\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20node\x20version.\x0a\x20\x20','9236zZXIQV',')\x20to\x20at\x20least\x20meteor\x27s\x20(','----------------------Project----------------------------','create','fsi','constructor','getProjectsMeteorNodeVersion','System\x27s\x20Meteor\x20Version\x20','notice','17728104ACCfzS','toString','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','compareMakaToLatest','version','----------------------System----------------------------','warn','verbose','305QrzJZc','N/A','search','(((.+)+)+)+$'];a101c=function(){return p;};return a101c();}(function(a,b){const k=a101d,c=a();while(!![]){try{const d=-parseInt(k(0x203))/0x1+-parseInt(k(0x1ff))/0x2+-parseInt(k(0x1fc))/0x3+parseInt(k(0x209))/0x4*(-parseInt(k(0x21a))/0x5)+parseInt(k(0x205))/0x6+-parseInt(k(0x21e))/0x7+parseInt(k(0x212))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a101c,0xd2481));const a101b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a101d;if(c){const e=c[l(0x1fe)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a101a=a101b(this,function(){const m=a101d;return a101a[m(0x213)]()[m(0x21c)](m(0x21d))[m(0x213)]()[m(0x20e)](a101a)[m(0x21c)](m(0x21d));});a101a();import{execSync}from'child_process';import a101e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const pjson={'version':'4.13.17'};Command[a101n(0x20c)]({'name':a101n(0x216),'aliases':['v'],'usage':a101n(0x1f8),'maxArgLength':0x1,'validOpts':[a101n(0x219)],'shortDesc':'Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','examples':[a101n(0x1f7),a101n(0x1f8),a101n(0x1f3)],'description':a101n(0x208)},async function(a,b){const o=a101n;try{const c=this[o(0x20d)][o(0x204)]();Log['majestic'](o(0x1fd)+pjson[o(0x216)]),await this['fsi']['compareMakaToLatest']();if(b[o(0x219)]){await this[o(0x20d)][o(0x215)](),Log[o(0x1f4)](o(0x217));const d=this['fsi'][o(0x1f5)]();Log['bright']((o(0x210)+d)[o(0x202)]('\x0a',''));const f=execSync(c+o(0x1f6))[o(0x213)]()[o(0x202)](/\r?\n|\r/,'')[o(0x202)]('v','');Log[o(0x1f4)](o(0x214)+f);const g=execSync(o(0x1f1))['toString']()[o(0x202)](/\r?\n|\r/,'')[o(0x202)]('v','');a101e['gt'](f,g)?(Log['warn']('System\x27s\x20Node\x20Version\x20'+g),Log[o(0x218)](o(0x1fa)+g+o(0x20a)+f+')')):Log[o(0x1f4)]('System\x27s\x20Node\x20Version\x20'+g);if(this['fsi'][o(0x1f2)]()){Log[o(0x1f4)](o(0x20b));const h=this[o(0x20d)]['getProjectMeteorVersion']();if(!a101e[o(0x201)](h))Log[o(0x218)](o(0x207)+h[o(0x202)]('\x0a',''));else a101e['gt'](d,h)?(Log[o(0x218)](o(0x207)+h['replace']('\x0a','')),Log['warn'](o(0x200)+d+'\x22')):Log[o(0x211)]((o(0x207)+h)[o(0x202)]('\x0a',''));const i=await this[o(0x20d)][o(0x20f)]();i===o(0x21b)?(Log[o(0x218)]('Project\x27s\x20Meteor\x20Node\x20Version\x20'+i),Log['warn']('\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.')):Log[o(0x1f4)](o(0x1f9)+i),Log[o(0x1f4)]('\x0a\x20To\x20get\x20the\x20mongo\x20version\x20in\x20use\x20by\x20meteor:\x0a\x201)\x20Run\x20the\x20project,\x20\x22maka\x20run\x22\x0a\x202)\x20In\x20a\x20new\x20terminal\x20open\x20the\x20mongo\x20shell,\x20\x22maka\x20mongo\x22');}}}catch(j){console[o(0x206)](j),process[o(0x1fb)](0x0);}});
|
package/bundle/obf/src/error.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a102d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
(function(a,b){var f=a102d,c=a();while(!![]){try{var d=-parseInt(f(0x1c8))/0x1*(-parseInt(f(0x1c6))/0x2)+parseInt(f(0x1c1))/0x3*(-parseInt(f(0x1bb))/0x4)+parseInt(f(0x1c3))/0x5*(-parseInt(f(0x1be))/0x6)+-parseInt(f(0x1c4))/0x7+parseInt(f(0x1bd))/0x8+-parseInt(f(0x1c5))/0x9+parseInt(f(0x1bf))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a102c,0xe07d4));var a102b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a102d;if(c){var e=c[g(0x1bc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a102a=a102b(this,function(){var h=a102d;return a102a[h(0x1c0)]()[h(0x1c9)](h(0x1c2))[h(0x1c0)]()[h(0x1c7)](a102a)[h(0x1c9)](h(0x1c2));});a102a();export class UsageError{}function a102c(){var i=['42183rkoUWY','2KtRaWl','constructor','621910mqsvCG','search','48JodooN','apply','4818760DTCcjX','20598shTdgR','20769170KIVMLn','toString','169845sBdSEi','(((.+)+)+)+$','2290byrmmM','876981xSyUbg'];a102c=function(){return i;};return a102c();}function a102d(a,b){var c=a102c();return a102d=function(d,e){d=d-0x1bb;var f=c[d];return f;},a102d(a,b);}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}export class MustBeLoggedIn{}
|
package/bundle/obf/src/exec.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
|
|
2
|
+
var a103h=a103d;(function(a,b){var f=a103d,c=a();while(!![]){try{var d=parseInt(f(0xea))/0x1+-parseInt(f(0xe3))/0x2+parseInt(f(0xe9))/0x3*(-parseInt(f(0xe8))/0x4)+-parseInt(f(0xee))/0x5+-parseInt(f(0xed))/0x6*(parseInt(f(0xe7))/0x7)+-parseInt(f(0xec))/0x8+-parseInt(f(0xe6))/0x9*(-parseInt(f(0xe4))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a103c,0x2739a));var a103b=(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;};}()),a103a=a103b(this,function(){var g=a103d;return a103a[g(0xe5)]()[g(0xeb)](g(0xe2))[g(0xe5)]()['constructor'](a103a)['search'](g(0xe2));});function a103c(){var i=['1162985bvMBZO','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','NODE_OPTIONS','(((.+)+)+)+$','555140DMhLmx','10szUyIR','toString','6437511RIiZMa','7UCUvkj','1324tSfCQe','402PntjOY','290944DJvcWw','search','1931512dXtyuS','297582wAcVOc'];a103c=function(){return i;};return a103c();}a103a(),process['env'][a103h(0xe1)]=a103h(0xe0);function a103d(a,b){var c=a103c();return a103d=function(d,e){d=d-0xe0;var f=c[d];return f;},a103d(a,b);}import'./maka.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a104c(){const N=['(((.+)+)+)+$','replace','\x20generator.\x20Skipping\x20undo.','(expermiental)\x20','_historyFilePath','\x20not\x20found','pop','findGeneratorByName','success','constructor','dir','localeCompare','shortDesc','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','message','validateParams','keys','setColorMode','Generator\x20requires\x20a\x20handler\x20function','tableList','Server','1cbLcHX','writeFileSync','aliases','.maka','find','experimental','15236840cxCGfy','colLocAnswer','history.json','_undoHandler','transactionId','name','14hvlcJm','error','2454004sQKBnI','1460428jJJnoO','sort','noNeedResource','toString','invoke','minOptsLength','Generator.create\x20requires\x20a\x20handler\x20function!','pallet','root','findProjectDirectory','size','2851285yRCtSu','exit','reverse','Please\x20run\x20\x22maka\x20install\x20meteor\x22','function','writeHistory','Too\x20few\x20options','Description','minArgLength','where','addGenerator','config','resourceName','12wgIdXw','apply','server','map','mustHaveMeteorInstalled','number','lib','both','split','validateMakaSubscription','params','listGenerators','warn','notice','5739840UuQfxM','length','push','options','slice','parse','Too\x20many\x20options','from','handleGenerateError','Location','1322504tkOeiW','includes','chdir','pathFromProject','Generator\x20','usage','There\x20is\x20no\x20Meteor\x20application\x20here','fsi','search','call','_genTransactionId','Client','2773710IgcuKK','undo','_generators','_handler','validateMakaProject','getHistoryFileSize','Generator\x20not\x20found','bright','Name','LIGHT','utf-8','shift','stringify','Generator\x20format\x20is\x20incorrect','readHistory','match','maxArgLength','getGlobalConfig','Generator.create\x20requires\x20some\x20options!','generatorName','Generators:','readFileSync','assign','opts','join','checkWhere','Both','client','addGenerator\x20requires\x20a\x20Generator\x20instance','maxOptsLength','appPathPrefix','fullNameChain','details','existsSync','--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27','No\x20undo\x20handler\x20defined\x20for\x20','sep','addToHistory','DARK','filter','cwd','bind','help','requiredEngines'];a104c=function(){return N;};return a104c();}const a104v=a104d;(function(a,b){const r=a104d,c=a();while(!![]){try{const d=parseInt(r(0x216))/0x1*(parseInt(r(0x224))/0x2)+-parseInt(r(0x23d))/0x3*(-parseInt(r(0x225))/0x4)+-parseInt(r(0x230))/0x5+parseInt(r(0x261))/0x6+-parseInt(r(0x222))/0x7*(-parseInt(r(0x255))/0x8)+-parseInt(r(0x24b))/0x9+-parseInt(r(0x21c))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a104c,0xb6c60));const a104b=(function(){let a=!![];return function(b,c){const d=a?function(){const s=a104d;if(c){const e=c[s(0x23e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a104a=a104b(this,function(){const t=a104d;return a104a[t(0x228)]()[t(0x25d)](t(0x201))[t(0x228)]()[t(0x20a)](a104a)[t(0x25d)](t(0x201));});a104a();import a104e from'path';import a104f from'fs';import a104g from'cli-table';import{v4 as a104h}from'uuid';import{paramCase}from'change-case';import a104i from'./generators/maka.gen.js';import{Log,ColorMode}from'./tools/log/log.class.js';function a104d(a,b){const c=a104c();return a104d=function(d,e){d=d-0x1dd;let f=c[d];return f;},a104d(a,b);}import{Tool}from'./tool.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError,UsageErrorWithSubs}from'./error.js';let _prevGen='';const MAX_HISTORY_SIZE=0x64*0x400,TRANSACTION_ID=a104h();async function inside(a='.',b){const u=a104d,c=process['cwd']();let d=null;try{process['chdir'](a),d=await b();}finally{process[u(0x257)](c);}return d;}export class Generator extends Tool{['options'];[a104v(0x1f4)];[a104v(0x263)];[a104v(0x205)];[a104v(0x21f)];[a104v(0x25f)];constructor(a,b,c){const w=a104v;super();if(!a)throw new Error('Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object');if(!a['name'])throw new Error('Generator\x20requires\x20a\x20name');if(typeof b!==w(0x234))throw new Error(w(0x213));this[w(0x263)]=[],this[w(0x24e)]=Object['assign']({},a),this['name']=this[w(0x24e)]['name'],this['_handler']=b[w(0x1fe)](this);try{this[w(0x205)]=this[w(0x25c)][w(0x258)]({'pathParts':['.maka','history.json']})||a104e[w(0x1ed)]('.',w(0x219),w(0x21e));}catch(d){Log[w(0x223)](d);}c&&(this['_undoHandler']=c[w(0x1fe)](this));}[a104v(0x266)](){const x=a104v;if(a104f[x(0x1f6)](this[x(0x205)])){const a=a104f['statSync'](this['_historyFilePath']);return a[x(0x22f)];}return 0x0;}[a104v(0x1e3)](){const y=a104v;if(!a104f[y(0x1f6)](this[y(0x205)]))return[];return JSON[y(0x250)](a104f[y(0x1ea)](this[y(0x205)],y(0x1df)));}['writeHistory'](a){const z=a104v;this[z(0x205)]&&!a104f[z(0x1f6)](this[z(0x205)])&&a104f['writeFileSync'](this['_historyFilePath'],JSON[z(0x1e1)]([])),a104f[z(0x217)](this[z(0x205)],JSON['stringify'](a,null,0x2));}[a104v(0x1fa)](a){const A=a104v;try{a?.[A(0x247)]?.[A(0x1ec)][A(0x23b)]&&delete a[A(0x247)][A(0x1ec)]['config'];const b=this[A(0x1e3)](),c={'generatorName':this[A(0x1f4)],'transactionId':TRANSACTION_ID,'details':a};b[A(0x24d)](c);const d=Buffer[A(0x252)](JSON[A(0x1e1)](b))['length'];while(d>MAX_HISTORY_SIZE&&b[A(0x24c)]>0x0){b[A(0x1e0)]();}this[A(0x235)](b);}catch(f){Log['error'](f);}}async[a104v(0x262)](){const B=a104v,a=this[B(0x1e3)]();if(a[B(0x24c)]===0x0){Log['warn']('Nothing\x20to\x20undo.');return;}const b=a[B(0x207)](),c=b[B(0x220)],d=a[B(0x1fc)](e=>e['transactionId']===c);d[B(0x24d)](b),d[B(0x232)]();for(const e of d){const f=this[B(0x208)](e[B(0x1e8)]);if(!f){Log[B(0x223)]('Generator\x20'+e[B(0x1e8)]+'\x20not\x20found.\x20Cannot\x20undo.');continue;}f[B(0x21f)]?await f[B(0x21f)](e[B(0x1f5)]):Log[B(0x249)](B(0x1f8)+e['generatorName']+B(0x203));}this[B(0x235)](a[B(0x1fc)](g=>g['transactionId']!==c));}static['create'](a,b,c,d){const C=a104v;if(!a)throw new Error(C(0x1e7));if(typeof b!==C(0x234))throw new Error(C(0x22b));const e=new Generator(a,b);c&&(e[C(0x21f)]=c['bind'](e));d=d||a104i;const f=d?d['fullNameChain']:'';return e[C(0x1f4)]=f?f+':'+a['name']:a[C(0x221)],Object[C(0x1eb)](e,{'parent':d?.['options']?.['name']}),d['addGenerator'](e),e;}[a104v(0x23a)](a){const D=a104v;if(!(a instanceof Generator))throw new Error(D(0x1f1));this[D(0x263)]['push'](a);}async['processAndRunGenerator'](a,b=[],c={}){const E=a104v;let d;try{const f=a?.[E(0x245)](':');if(!f||f[E(0x24c)]===0x0)throw E(0x1e2);let g=this[E(0x263)],h;for(const i of f){h=g[E(0x21a)](j=>j['match'](i));if(!h)throw E(0x259)+i+E(0x206);await this[E(0x246)](h),g=h[E(0x263)];}if(h)d=await h[E(0x229)](b,c);else throw E(0x267);}catch(j){Log[E(0x223)](j);}return d;}['findGeneratorByName'](a){const F=a104v,b=a?.['split'](':');if(!b||b[F(0x24c)]===0x0)return Log[F(0x223)]('Generator\x20format\x20is\x20incorrect'),null;let c=this[F(0x263)],d;for(const e of b){d=c[F(0x21a)](f=>f[F(0x1e4)](e));if(!d)return Log[F(0x223)](F(0x259)+e+'\x20not\x20found'),null;c=d[F(0x263)];}return d||null;}async[a104v(0x229)](a,b){const G=a104v,c=a[G(0x24f)]();b['resourceName']=c[0x0];try{const d=await this[G(0x25c)][G(0x1e6)](),f=d[G(0x22c)]==='light'?ColorMode[G(0x1de)]:ColorMode[G(0x1fb)];Log[G(0x212)](f),await this[G(0x246)](this);const g=a[0x0]===_prevGen||a[G(0x24c)]===0x0&&this[G(0x263)][G(0x24c)]>=0x0,h=b[G(0x1ff)]||b['h'];if(g&&h){if(this[G(0x263)][G(0x24c)]>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!h){if(this[G(0x24e)]['mustBeInMakaProject']){const i=this[G(0x265)]();if(!i)throw new MustBeInProjectError();}if(this[G(0x24e)][G(0x241)]){const j=this['validateMeteorInstall']();if(!j)throw new NoMeteorFoundError();}if(typeof this[G(0x24e)][G(0x238)]===G(0x242)){if(a[G(0x24c)]<this[G(0x24e)][G(0x238)]){Log[G(0x223)]('Too\x20few\x20arguments');throw new UsageError();}}if(typeof this[G(0x24e)]['maxArgLength']===G(0x242)){if(a[G(0x24c)]>this['options'][G(0x1e5)]){Log[G(0x223)]('Too\x20many\x20arguments');throw new UsageError();}}if(typeof this[G(0x24e)][G(0x22a)]===G(0x242)){if(Object['keys'](b)[G(0x24c)]<this[G(0x24e)][G(0x22a)]){Log['error'](G(0x236));throw new UsageError();}}if(typeof this[G(0x24e)][G(0x1f2)]==='number'){if(Object[G(0x211)](b)[G(0x24c)]>=this[G(0x24e)][G(0x1f2)]){Log[G(0x223)](G(0x251));throw new UsageError();}}}this[G(0x24e)][G(0x200)]&&this['validateEngines'](this['options']['requiredEngines']);await this[G(0x210)](a,b,this['options']);if(!b[G(0x23c)]&&!this[G(0x24e)][G(0x227)]){Log[G(0x223)]('No\x20resource\x20name\x20specified');throw new UsageError();}_prevGen=a[0x0];}catch(k){this['handleGenerateError'](k),process[G(0x231)](0x1);}return await inside(b[G(0x1fd)],async()=>{const H=G;try{if(!b[H(0x22d)]&&!this[H(0x25c)][H(0x22e)]())throw new MustBeInProjectError();const l=b[H(0x23c)]?.[H(0x202)](/\\/g,'/')[H(0x245)]('/');!b[H(0x20b)]&&(l?.[H(0x24c)]>0x1?(b[H(0x23c)]=l['pop'](),c[0x0]=b[H(0x23c)],b['dir']=l[H(0x240)](n=>{return paramCase(n);})[H(0x1ed)](a104e[H(0x1f9)])):b[H(0x20b)]='');if(this[H(0x24e)][H(0x1ee)]){if(!b[H(0x239)]){const o={'type':'list','name':H(0x21d),'message':H(0x254),'choices':[{'name':H(0x260),'value':'client'},{'name':H(0x215),'value':'server'},{'name':H(0x1ef),'value':H(0x244)}]},{colLocAnswer:p}=await Actions['options'](o);p?b['where']=p:b[H(0x239)]=H(0x244);}const n=[H(0x244),H(0x1f0),'server'];if(!n[H(0x256)](b[H(0x239)])){Log['error'](H(0x1f7));throw new UsageError();}switch(b[H(0x239)]){case'both':b[H(0x1f3)]=H(0x243);break;case H(0x23f):b['appPathPrefix']=H(0x23f);break;case H(0x1f0):b[H(0x1f3)]=H(0x1f0);break;default:b[H(0x1f3)]='';}}const m=await this[H(0x264)][H(0x25e)](this,c,b);return m&&this[H(0x1fa)]({'params':{'args':c,'opts':this[H(0x25c)]['deepen'](b)},'success':m?.[H(0x209)],'message':m?.[H(0x20f)],'details':m?.[H(0x1f5)]}),m;}catch(q){this['handleGenerateError'](q);}});}[a104v(0x248)](){const I=a104v;this[I(0x214)](this['_generators']);}[a104v(0x253)](a){const J=a104v,{usage:usage='',description:description='',examples:examples=[],shortDesc:b,requiredOpts:requiredOpts=[],validOpts:c,experimental:d}=this['options'];Log[J(0x25a)](description,examples,usage,b,requiredOpts,c,d);if(a instanceof UsageErrorWithSubs)Log['notice'](J(0x1e9)),this[J(0x214)](this['_generators']);else{if(a instanceof MustBeInProjectError)Log[J(0x223)]('You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator');else{if(a instanceof NoMeteorFoundError)Log[J(0x223)](J(0x20e)),Log[J(0x24a)](J(0x233));else a instanceof NoMeteorAppFoundError&&Log['error'](J(0x25b));}}}[a104v(0x214)](a){const K=a104v,b=new a104g({});b[K(0x24d)]([K(0x1dd),'Alias',K(0x237)]),a[K(0x226)]((c,d)=>{const L=K;return c['name'][L(0x20c)](d[L(0x221)]);})['forEach'](c=>{const M=K,d=c[M(0x21b)](),e=d?M(0x204)+c[M(0x20d)]():c[M(0x20d)]();b[M(0x24d)]([c['name'],c[M(0x218)](),e]);}),Log[K(0x268)](b[K(0x228)]());}}
|
|
1
|
+
const a104u=a104d;(function(a,b){const r=a104d,c=a();while(!![]){try{const d=-parseInt(r(0xee))/0x1*(-parseInt(r(0xc4))/0x2)+parseInt(r(0x97))/0x3+-parseInt(r(0xae))/0x4+parseInt(r(0xdf))/0x5+-parseInt(r(0xaf))/0x6+parseInt(r(0xf1))/0x7*(parseInt(r(0x11c))/0x8)+-parseInt(r(0xba))/0x9*(-parseInt(r(0xa8))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a104c,0xdc82c));const a104b=(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;};}()),a104a=a104b(this,function(){const s=a104d;return a104a[s(0xc9)]()['search'](s(0xec))['toString']()[s(0xe6)](a104a)[s(0xa9)](s(0xec));});function a104d(a,b){const c=a104c();return a104d=function(d,e){d=d-0x95;let f=c[d];return f;},a104d(a,b);}a104a();import a104e from'path';import a104f from'fs';import a104g from'cli-table';import{v4 as a104h}from'uuid';import{paramCase}from'change-case';import a104i from'./generators/maka.gen.js';import{Log,ColorMode}from'./tools/log/log.class.js';import{Tool}from'./tool.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError,UsageErrorWithSubs}from'./error.js';function a104c(){const M=['replace','success','existsSync','generatorName','1626apaEMC','both','_generators','validateMakaProject','pallet','toString','Too\x20few\x20arguments','Generator\x20not\x20found','maxArgLength','utf-8','stringify','number','opts','create','_undoHandler','There\x20is\x20no\x20Meteor\x20application\x20here','forEach','Generators:','filter','bright','history.json','deepen','Generator\x20requires\x20a\x20handler\x20function','from','findProjectDirectory','length','where','3280635oYNmet','find','reverse','shortDesc','validateMakaSubscription','transactionId','aliases','constructor','(expermiental)\x20','undo','push','dir','pop','(((.+)+)+)+$','handleGenerateError','46cexWzf','slice','_historyFilePath','14NRFLXj','No\x20undo\x20handler\x20defined\x20for\x20','mustBeInMakaProject','params','tableList','DARK','Generator.create\x20requires\x20a\x20handler\x20function!','resourceName','Description','shift','join','_handler','colLocAnswer','details','invoke','maxOptsLength','\x20not\x20found','addGenerator','Both','Please\x20run\x20\x22maka\x20install\x20meteor\x22','--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27','writeHistory','Generator\x20format\x20is\x20incorrect','assign','options','pathFromProject','statSync','error','requiredEngines','setColorMode','appPathPrefix','fsi','Nothing\x20to\x20undo.','match','message','Server','server','LIGHT','mustHaveMeteorInstalled','listGenerators','config','usage','map','1526152tOVkNq','getHistoryFileSize','addToHistory','findGeneratorByName','list','writeFileSync','Name','_genTransactionId','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','parse','2075457hoWgtY','minArgLength','chdir','Generator.create\x20requires\x20some\x20options!','noNeedResource','call','name','bind','size','.maka','sep','addGenerator\x20requires\x20a\x20Generator\x20instance','warn','Too\x20many\x20options','split','checkWhere','keys','10gneKij','search','Generator\x20requires\x20a\x20name','validateParams','readHistory','notice','3363760VcaElG','8554722lbxoDf','client','lib','minOptsLength','validateMeteorInstall','Client','cwd','processAndRunGenerator','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','localeCompare','Too\x20many\x20arguments','12627513eOTGZJ','Generator\x20','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator','exit','\x20generator.\x20Skipping\x20undo.','fullNameChain'];a104c=function(){return M;};return a104c();}let _prevGen='';const MAX_HISTORY_SIZE=0x64*0x400,TRANSACTION_ID=a104h();async function inside(a='.',b){const t=a104d,c=process[t(0xb5)]();let d=null;try{process[t(0x99)](a),d=await b();}finally{process['chdir'](c);}return d;}export class Generator extends Tool{[a104u(0x109)];['fullNameChain'];['_generators'];[a104u(0xf0)];[a104u(0xd2)];[a104u(0x123)];constructor(a,b,c){const v=a104u;super();if(!a)throw new Error(v(0x95));if(!a[v(0x9d)])throw new Error(v(0xaa));if(typeof b!=='function')throw new Error(v(0xda));this[v(0xc6)]=[],this[v(0x109)]=Object[v(0x108)]({},a),this['name']=this[v(0x109)][v(0x9d)],this['_handler']=b[v(0x9e)](this);try{this['_historyFilePath']=this[v(0x110)][v(0x10a)]({'pathParts':[v(0xa0),v(0xd8)]})||a104e[v(0xfb)]('.',v(0xa0),v(0xd8));}catch(d){Log['error'](d);}c&&(this[v(0xd2)]=c['bind'](this));}[a104u(0x11d)](){const w=a104u;if(a104f['existsSync'](this['_historyFilePath'])){const a=a104f[w(0x10b)](this[w(0xf0)]);return a[w(0x9f)];}return 0x0;}[a104u(0xac)](){const x=a104u;if(!a104f[x(0xc2)](this[x(0xf0)]))return[];return JSON[x(0x96)](a104f['readFileSync'](this[x(0xf0)],x(0xcd)));}[a104u(0x106)](a){const y=a104u;this[y(0xf0)]&&!a104f[y(0xc2)](this[y(0xf0)])&&a104f[y(0x121)](this[y(0xf0)],JSON[y(0xce)]([])),a104f[y(0x121)](this[y(0xf0)],JSON[y(0xce)](a,null,0x2));}[a104u(0x11e)](a){const z=a104u;try{a?.[z(0xf4)]?.[z(0xd0)][z(0x119)]&&delete a[z(0xf4)][z(0xd0)][z(0x119)];const b=this[z(0xac)](),c={'generatorName':this[z(0xbf)],'transactionId':TRANSACTION_ID,'details':a};b[z(0xe9)](c);const d=Buffer[z(0xdb)](JSON['stringify'](b))['length'];while(d>MAX_HISTORY_SIZE&&b[z(0xdd)]>0x0){b[z(0xfa)]();}this[z(0x106)](b);}catch(f){Log[z(0x10c)](f);}}async[a104u(0xe8)](){const A=a104u,a=this[A(0xac)]();if(a['length']===0x0){Log[A(0xa3)](A(0x111));return;}const b=a[A(0xeb)](),c=b['transactionId'],d=a[A(0xd6)](e=>e[A(0xe4)]===c);d[A(0xe9)](b),d[A(0xe1)]();for(const e of d){const f=this[A(0x11f)](e['generatorName']);if(!f){Log[A(0x10c)](A(0xbb)+e[A(0xc3)]+'\x20not\x20found.\x20Cannot\x20undo.');continue;}f[A(0xd2)]?await f[A(0xd2)](e[A(0xfe)]):Log[A(0xa3)](A(0xf2)+e[A(0xc3)]+A(0xbe));}this[A(0x106)](a[A(0xd6)](g=>g[A(0xe4)]!==c));}static[a104u(0xd1)](a,b,c,d){const B=a104u;if(!a)throw new Error(B(0x9a));if(typeof b!=='function')throw new Error(B(0xf7));const e=new Generator(a,b);c&&(e[B(0xd2)]=c[B(0x9e)](e));d=d||a104i;const f=d?d['fullNameChain']:'';return e['fullNameChain']=f?f+':'+a[B(0x9d)]:a[B(0x9d)],Object[B(0x108)](e,{'parent':d?.[B(0x109)]?.[B(0x9d)]}),d['addGenerator'](e),e;}[a104u(0x102)](a){const C=a104u;if(!(a instanceof Generator))throw new Error(C(0xa2));this[C(0xc6)][C(0xe9)](a);}async[a104u(0xb6)](a,b=[],c={}){const D=a104u;let d;try{const f=a?.['split'](':');if(!f||f['length']===0x0)throw D(0x107);let g=this[D(0xc6)],h;for(const i of f){h=g[D(0xe0)](j=>j['match'](i));if(!h)throw D(0xbb)+i+D(0x101);await this[D(0xe3)](h),g=h[D(0xc6)];}if(h)d=await h[D(0xff)](b,c);else throw D(0xcb);}catch(j){Log['error'](j);}return d;}[a104u(0x11f)](a){const E=a104u,b=a?.['split'](':');if(!b||b[E(0xdd)]===0x0)return Log[E(0x10c)](E(0x107)),null;let c=this[E(0xc6)],d;for(const e of b){d=c[E(0xe0)](f=>f[E(0x112)](e));if(!d)return Log[E(0x10c)](E(0xbb)+e+E(0x101)),null;c=d[E(0xc6)];}return d||null;}async[a104u(0xff)](a,b){const F=a104u,c=a[F(0xef)]();b['resourceName']=c[0x0];try{const d=await this['fsi']['getGlobalConfig'](),f=d[F(0xc8)]==='light'?ColorMode[F(0x116)]:ColorMode[F(0xf6)];Log[F(0x10e)](f),await this[F(0xe3)](this);const g=a[0x0]===_prevGen||a[F(0xdd)]===0x0&&this[F(0xc6)]['length']>=0x0,h=b['help']||b['h'];if(g&&h){if(this[F(0xc6)][F(0xdd)]>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!h){if(this[F(0x109)][F(0xf3)]){const i=this[F(0xc7)]();if(!i)throw new MustBeInProjectError();}if(this[F(0x109)][F(0x117)]){const j=this[F(0xb3)]();if(!j)throw new NoMeteorFoundError();}if(typeof this['options']['minArgLength']==='number'){if(a['length']<this[F(0x109)][F(0x98)]){Log[F(0x10c)](F(0xca));throw new UsageError();}}if(typeof this[F(0x109)][F(0xcc)]===F(0xcf)){if(a[F(0xdd)]>this['options'][F(0xcc)]){Log[F(0x10c)](F(0xb9));throw new UsageError();}}if(typeof this[F(0x109)][F(0xb2)]===F(0xcf)){if(Object[F(0xa7)](b)[F(0xdd)]<this[F(0x109)][F(0xb2)]){Log[F(0x10c)]('Too\x20few\x20options');throw new UsageError();}}if(typeof this[F(0x109)][F(0x100)]===F(0xcf)){if(Object['keys'](b)[F(0xdd)]>=this[F(0x109)]['maxOptsLength']){Log[F(0x10c)](F(0xa4));throw new UsageError();}}}this[F(0x109)][F(0x10d)]&&this['validateEngines'](this[F(0x109)][F(0x10d)]);await this[F(0xab)](a,b,this[F(0x109)]);if(!b[F(0xf8)]&&!this[F(0x109)][F(0x9b)]){Log[F(0x10c)]('No\x20resource\x20name\x20specified');throw new UsageError();}_prevGen=a[0x0];}catch(k){this[F(0xed)](k),process[F(0xbd)](0x1);}return await inside(b[F(0xb5)],async()=>{const G=F;try{if(!b['root']&&!this[G(0x110)][G(0xdc)]())throw new MustBeInProjectError();const l=b[G(0xf8)]?.[G(0xc0)](/\\/g,'/')[G(0xa5)]('/');!b['dir']&&(l?.[G(0xdd)]>0x1?(b[G(0xf8)]=l['pop'](),c[0x0]=b[G(0xf8)],b['dir']=l[G(0x11b)](n=>{return paramCase(n);})[G(0xfb)](a104e[G(0xa1)])):b[G(0xea)]='');if(this['options'][G(0xa6)]){if(!b[G(0xde)]){const o={'type':G(0x120),'name':G(0xfd),'message':'Location','choices':[{'name':G(0xb4),'value':G(0xb0)},{'name':G(0x114),'value':G(0x115)},{'name':G(0x103),'value':G(0xc5)}]},{colLocAnswer:p}=await Actions[G(0x109)](o);p?b[G(0xde)]=p:b['where']='both';}const n=[G(0xc5),G(0xb0),G(0x115)];if(!n['includes'](b[G(0xde)])){Log[G(0x10c)](G(0x105));throw new UsageError();}switch(b[G(0xde)]){case G(0xc5):b['appPathPrefix']=G(0xb1);break;case'server':b['appPathPrefix']='server';break;case G(0xb0):b['appPathPrefix']=G(0xb0);break;default:b[G(0x10f)]='';}}const m=await this[G(0xfc)][G(0x9c)](this,c,b);return m&&this[G(0x11e)]({'params':{'args':c,'opts':this[G(0x110)][G(0xd9)](b)},'success':m?.[G(0xc1)],'message':m?.[G(0x113)],'details':m?.[G(0xfe)]}),m;}catch(q){this[G(0xed)](q);}});}[a104u(0x118)](){const H=a104u;this[H(0xf5)](this[H(0xc6)]);}[a104u(0xed)](a){const I=a104u,{usage:usage='',description:description='',examples:examples=[],shortDesc:b,requiredOpts:requiredOpts=[],validOpts:c,experimental:d}=this[I(0x109)];Log[I(0x11a)](description,examples,usage,b,requiredOpts,c,d);if(a instanceof UsageErrorWithSubs)Log[I(0xad)](I(0xd5)),this[I(0xf5)](this[I(0xc6)]);else{if(a instanceof MustBeInProjectError)Log[I(0x10c)](I(0xbc));else{if(a instanceof NoMeteorFoundError)Log['error'](I(0xb7)),Log[I(0xad)](I(0x104));else a instanceof NoMeteorAppFoundError&&Log['error'](I(0xd3));}}}[a104u(0xf5)](a){const J=a104u,b=new a104g({});b[J(0xe9)]([J(0x122),'Alias',J(0xf9)]),a['sort']((c,d)=>{const K=J;return c[K(0x9d)][K(0xb8)](d[K(0x9d)]);})[J(0xd4)](c=>{const L=J,d=c['experimental'](),e=d?L(0xe7)+c[L(0xe2)]():c[L(0xe2)]();b[L(0xe9)]([c[L(0x9d)],c[L(0xe5)](),e]);}),Log[J(0xd7)](b[J(0xc9)]());}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a105d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
(function(a,b){var f=a105d,c=a();while(!![]){try{var d=-parseInt(f(0x8d))/0x1*(-parseInt(f(0x8f))/0x2)+-parseInt(f(0x96))/0x3+parseInt(f(0x8c))/0x4*(parseInt(f(0x8e))/0x5)+parseInt(f(0x97))/0x6*(-parseInt(f(0x90))/0x7)+-parseInt(f(0x8b))/0x8+-parseInt(f(0x95))/0x9*(-parseInt(f(0x8a))/0xa)+parseInt(f(0x98))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a105c,0x1ecfa));var a105b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a105d;if(c){var e=c[g(0x99)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a105a=a105b(this,function(){var h=a105d;return a105a[h(0x92)]()[h(0x94)]('(((.+)+)+)+$')['toString']()[h(0x91)](a105a)['search'](h(0x93));});a105a();import'./services/_index.js';import'./api.js';function a105c(){var i=['search','1193013kUIdCs','538290OBAfyM','6pXbglL','1169201bdxCla','apply','10TtUFSN','820024cOoymQ','69684RovobN','17OzBprb','35vXlwto','11294KSgfNA','340613HjnTBN','constructor','toString','(((.+)+)+)+$'];a105c=function(){return i;};return a105c();}import'./collection.js';import'./component.js';import'./config.js';import'./dbc.js';import'./hook.js';import'./kits/_index.js';import'./layout.js';import'./methods.js';function a105d(a,b){var c=a105c();return a105d=function(d,e){d=d-0x8a;var f=c[d];return f;},a105d(a,b);}import'./package.js';import'./publish.js';import'./route.js';import'./service.js';import'./page.js';import'./maka.gen.js';import'./dockerfile.js';import'./maka.gen.js';import'./aws/_index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a106y=a106d;(function(a,b){const v=a106d,c=a();while(!![]){try{const d
|
|
1
|
+
const a106y=a106d;(function(a,b){const v=a106d,c=a();while(!![]){try{const d=-parseInt(v(0xba))/0x1*(parseInt(v(0x8a))/0x2)+parseInt(v(0xa5))/0x3*(-parseInt(v(0xb1))/0x4)+-parseInt(v(0x6d))/0x5+parseInt(v(0xaa))/0x6*(-parseInt(v(0x9d))/0x7)+-parseInt(v(0x9e))/0x8*(-parseInt(v(0x99))/0x9)+parseInt(v(0x80))/0xa*(parseInt(v(0x68))/0xb)+parseInt(v(0x69))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a106c,0x8209c));const a106b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a106d;if(c){const e=c[w(0xaf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a106a=a106b(this,function(){const x=a106d;return a106a['toString']()['search']('(((.+)+)+)+$')[x(0x79)]()[x(0x73)](a106a)[x(0xa7)](x(0xb7));});a106a();function a106d(a,b){const c=a106c();return a106d=function(d,e){d=d-0x66;let f=c[d];return f;},a106d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';function a106c(){const B=['96972secZGk','apollo','search','fsi','withValue','12lBOTiH','mdg:validated-method','api/typeDefs.js','RPC\x20(Methods)','/graphql/resolvers','apply','GraphQL','48hqKMNa','maka:rest','pathFromApp','typeDefs.','\x27;\x0a','push','(((.+)+)+)+$','server','api/tests.js','206TxPDff','checkbox','engines','14069BEqWfT','6151608ADSHxC','injectAtBeginningOfFile','startup','options','491695PASnBn','maka\x20g:api\x20Todos','-rest-api.','template','error','resourceName','constructor','TypeDefs\x20}\x20from\x20\x27','import\x20{\x20typeDefs\x20as\x20','TypeDefs);\x0a','Resolvers);\x0a\x0a','Scaffolding\x20for\x20an\x20API\x20boundary\x20(i.e.\x20Todos).','toString','/imports/api/','apiAnswers','includes','Resolvers\x20}\x20from\x20\x27','ask','checkMeteorPackage','4740QqDBMX','none','if\x20\x5c(typeList','.app-tests.','REST\x20API','API\x20boundaries\x20to\x20create','imports','dir','graphql','exit','688ccubUS','injectIntoFile','length','rest','typeList.push(','api/resolvers.js','index.','No\x20API\x20boundaries\x20selected','create','test','ddp-rate-limiter','setProjectConfig','register-','-api.','withMethods','9IMvZJz','withRest','rewriteDestinationPathForEngine','const','601797MedWyZ','1142312vFVRbK','import\x20\x27./register-','-rpc-methods.','api','-api\x27;','withGql','\x0a\x20\x20Scaffolding\x20for\x20an\x20API\x20boundary\x20(i.e.\x20Todos).\x0a\x0a\x20\x20The\x20API\x20generator\x20will\x20create\x20publications,\x20methods,\x20fixtures,\x20and\x20tests\x0a\x20\x20for\x20the\x20given\x20resource\x20name.\x0a\x0a\x20\x20The\x20API\x20generator\x20will\x20ask\x20which\x20boundaries\x20to\x20create.\x20The\x20choices\x20are:\x0a\x20\x20\x20\x20-\x20RPC\x20(Methods)\x0a\x20\x20\x20\x20-\x20REST\x20API\x0a\x20\x20\x20\x20-\x20GraphQL\x0a\x0a\x20\x20'];a106c=function(){return B;};return a106c();}import{camelCase,paramCase,pascalCase}from'change-case';Generator[a106y(0x92)]({'name':a106y(0xa1),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{api}\x20<resource-name>','shortDesc':a106y(0x78),'validOpts':[a106y(0x87)],'examples':[a106y(0x6e)],'description':a106y(0xa4)},async function(a,b){const z=a106y;try{const c=this[z(0xa8)]['getMakaProjectConfig'](),d=[{'name':z(0xad),'value':z(0x98)}];d['push']({'name':z(0x84),'value':z(0x9a)});c['engines'][z(0x88)]===z(0xa6)&&d[z(0xb6)]({'name':z(0xb0),'value':z(0xa3)});const f={'type':z(0x66),'name':z(0x7b),'message':z(0x85),'pageSize':0x64,'choices':d},g=await Actions[z(0x7e)]('API\x20Version?\x20[v1]')||'v1',{apiAnswers:h}=await Actions[z(0x6c)](f);h[z(0x8c)]===0x0&&(Log['error'](z(0x91)),process[z(0x89)](0x1)),await this[z(0xa8)][z(0xa9)](c,async()=>{const A=z,i=b[A(0x72)],j=paramCase(i),k=camelCase(i),l=b[A(0x87)]?'/'+b[A(0x87)]+'/':'/',m={'name':pascalCase(i),'apiVersion':g,'fileName':j,'camelCase':pascalCase(i),'optsDir':l,'api':c[A(0x67)][A(0xa1)],'graphql':c[A(0x67)][A(0x88)],'test':c[A(0x67)][A(0x93)],'noRename':!![],'withMethods':h['includes']('withMethods'),'withRest':h[A(0x7c)](A(0x9a))};let n='js';c['engines']['js']==='tsx'&&(n='ts');m[A(0x9a)]&&(this[A(0xa8)][A(0x95)]({'engines':{'api':A(0x8d)}}),await this['fsi'][A(0x7f)]([A(0xb2),'ddp-rate-limiter',A(0xab)],{'shouldInstall':!![]}),await this[A(0xa8)]['template']({'srcPath':'api/api.js','destPath':this[A(0xa8)]['pathFromApp']({'pathParts':['imports','api',g,b['dir'],j,j+'-'+g+A(0x6f)+n]}),'context':m,'config':c}));m[A(0x98)]&&(await this['fsi'][A(0x7f)]([A(0x94),A(0xab)],{'shouldInstall':!![]}),await this[A(0xa8)]['template']({'srcPath':'api/methods.js','destPath':this[A(0xa8)][A(0xb3)]({'pathParts':[A(0x86),A(0xa1),g,b[A(0x87)],j,j+'-'+g+A(0xa0)+n]}),'context':m,'config':c}));c[A(0x67)][A(0x93)]!==A(0x81)&&await this['fsi'][A(0x70)]({'srcPath':A(0xb9),'destPath':this[A(0xa8)][A(0xb3)]({'pathParts':[A(0x86),A(0xa1),g,b['dir'],j,j+'-'+g+A(0x83)+n]}),'context':m,'config':c});if(c[A(0x67)]['graphql']===A(0xa6)){if(h[A(0x7c)](A(0xa3))){const p=this[A(0xa8)]['pathFromApp']({'pathParts':['imports',A(0x6b),A(0xb8),A(0x90)+c[A(0x67)]['js']]}),q=this[A(0xa8)][A(0x9b)]({'pathParts':[p],'config':c}),r=this[A(0xa8)]['pathFromApp']({'pathParts':[A(0x86),A(0xa1),g,b['dir'],j,A(0x88),A(0xb4)+n]}),s=A(0x7a)+g+l+j+'/graphql/typeDefs';await this[A(0xa8)][A(0x70)]({'srcPath':A(0xac),'destPath':r,'context':m,'config':c}),await this[A(0xa8)][A(0x6a)]({'filePath':q,'content':A(0x75)+k+A(0x74)+s+A(0xb5)}),await this[A(0xa8)][A(0x8b)]({'filePath':q,'content':A(0x8e)+k+A(0x76),'begin':A(0x9c),'end':A(0x82)});const t=this[A(0xa8)][A(0xb3)]({'pathParts':[A(0x86),A(0xa1),g,b[A(0x87)],j,A(0x88),'resolvers.'+n]}),u='/imports/api/'+g+l+j+A(0xae);await this[A(0xa8)][A(0x70)]({'srcPath':A(0x8f),'destPath':t,'context':m,'config':c}),await this[A(0xa8)]['injectAtBeginningOfFile']({'filePath':q,'content':'\x0aimport\x20{\x20resolvers\x20as\x20'+k+A(0x7d)+u+'\x27;'}),await this['fsi'][A(0x8b)]({'filePath':q,'content':'resolverList.push('+k+A(0x77),'begin':A(0x9c),'end':A(0x82)});}}await this[A(0xa8)][A(0x70)]({'srcPath':'api/register-api.js','destPath':this[A(0xa8)][A(0xb3)]({'pathParts':[A(0x86),A(0x6b),'server',A(0x96)+j+A(0x97)+n]}),'context':m,'config':c,'force':!![]});const o=this['fsi'][A(0xb3)]({'pathParts':[A(0x86),'startup',A(0xb8),A(0x90)+c[A(0x67)]['js']]});await this[A(0xa8)]['injectAtEndOfFile']({'filePath':o,'content':A(0x9f)+j+A(0xa2)});});}catch(i){console[z(0x71)](i),process[z(0x89)](0x1);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a107d,c=a();while(!![]){try{var d=-parseInt(f(0x1af))/0x1+-parseInt(f(0x1b0))/0x2*(-parseInt(f(0x1a8))/0x3)+parseInt(f(0x1b4))/0x4*(-parseInt(f(0x1a9))/0x5)+parseInt(f(0x1b5))/0x6+parseInt(f(0x1ac))/0x7*(-parseInt(f(0x1ab))/0x8)+-parseInt(f(0x1aa))/0x9*(parseInt(f(0x1ad))/0xa)+-parseInt(f(0x1b3))/0xb*(-parseInt(f(0x1b2))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a107c,0xb0d89));var a107b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a107d;if(c){var e=c[g(0x1b1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a107a=a107b(this,function(){var h=a107d;return a107a['toString']()['search']('(((.+)+)+)+$')[h(0x1b6)]()['constructor'](a107a)[h(0x1ae)]('(((.+)+)+)+$');});function a107c(){var i=['160dfWOau','51828jKEzSu','80QyPeLu','search','1011958DRidMW','38vCRztm','apply','2089572nHsdNQ','11iTrpyE','44860SVFnVr','8502498wXmKbI','toString','66423Ehopdo','50UfCBtS','17262HYCMIz'];a107c=function(){return i;};return a107c();}function a107d(a,b){var c=a107c();return a107d=function(d,e){d=d-0x1a8;var f=c[d];return f;},a107d(a,b);}a107a();import'./aws.js';import'./cloudformation/_index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a108i=a108d;(function(a,b){const f=a108d,c=a();while(!![]){try{const d=parseInt(f(
|
|
1
|
+
const a108i=a108d;function a108d(a,b){const c=a108c();return a108d=function(d,e){d=d-0x186;let f=c[d];return f;},a108d(a,b);}(function(a,b){const f=a108d,c=a();while(!![]){try{const d=parseInt(f(0x191))/0x1+parseInt(f(0x187))/0x2*(-parseInt(f(0x18c))/0x3)+parseInt(f(0x196))/0x4+-parseInt(f(0x197))/0x5*(parseInt(f(0x195))/0x6)+-parseInt(f(0x188))/0x7+parseInt(f(0x18b))/0x8+-parseInt(f(0x189))/0x9*(parseInt(f(0x18f))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a108c,0x8c451));function a108c(){const j=['maka\x20g:aws','aws','6735350DQDaNI','apply','792920WdKAjv','(((.+)+)+)+$','search','constructor','9354EjUCwl','3476944XGByUY','3550Griwjw','toString','4196jgaedu','2585821idzwKt','9ZlSTIX','create','8866984HagMDw','66kwMzsL'];a108c=function(){return j;};return a108c();}const a108b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a108d;if(c){const e=c[g(0x190)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a108a=a108b(this,function(){const h=a108d;return a108a[h(0x186)]()[h(0x193)](h(0x192))[h(0x186)]()[h(0x194)](a108a)[h(0x193)](h(0x192));});a108a();import{Generator}from'../../generator.js';const AWSGen=Generator[a108i(0x18a)]({'name':a108i(0x18e),'usage':'maka\x20{generate,\x20g}:{aws}:<name>','shortDesc':'Generate\x20AWS\x20templates','minArgLength':0x1,'isPro':![],'validOpts':[],'noNeedResource':!![],'examples':[a108i(0x18d)],'experimental':!![]},async function(){});export default AWSGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a109d,c=a();while(!![]){try{var d=parseInt(f(0xed))/0x1*(-parseInt(f(0xea))/0x2)+-parseInt(f(0xe3))/0x3+parseInt(f(0xe4))/0x4*(-parseInt(f(0xef))/0x5)+-parseInt(f(0xe1))/0x6*(parseInt(f(0xe9))/0x7)+parseInt(f(0xe2))/0x8+parseInt(f(0xe8))/0x9*(parseInt(f(0xe7))/0xa)+parseInt(f(0xf0))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a109c,0xae9f1));function a109c(){var i=['(((.+)+)+)+$','550010nTpILV','72xtNrrg','101731uTIruT','208366mszJqG','apply','constructor','5qPSxaF','search','455zNsodI','30140451ePnMaJ','330xrMTQH','7208960apZDWK','3132159PBmPif','44028lPbHlF','toString'];a109c=function(){return i;};return a109c();}var a109b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a109d;if(c){var e=c[g(0xeb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a109a=a109b(this,function(){var h=a109d;return a109a[h(0xe5)]()[h(0xee)](h(0xe6))[h(0xe5)]()[h(0xec)](a109a)[h(0xee)](h(0xe6));});function a109d(a,b){var c=a109c();return a109d=function(d,e){d=d-0xe1;var f=c[d];return f;},a109d(a,b);}a109a();import'./cloudformation.js';import'./create-ec2-instance.cf.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a110i=a110d;(function(a,b){const f=a110d,c=a();while(!![]){try{const d=-parseInt(f(
|
|
1
|
+
const a110i=a110d;(function(a,b){const f=a110d,c=a();while(!![]){try{const d=-parseInt(f(0x146))/0x1+-parseInt(f(0x14d))/0x2*(-parseInt(f(0x148))/0x3)+-parseInt(f(0x14a))/0x4+parseInt(f(0x155))/0x5*(-parseInt(f(0x149))/0x6)+-parseInt(f(0x156))/0x7*(parseInt(f(0x152))/0x8)+parseInt(f(0x14f))/0x9*(-parseInt(f(0x147))/0xa)+parseInt(f(0x153))/0xb*(parseInt(f(0x14e))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a110c,0x5f6be));const a110b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a110d;if(c){const e=c[g(0x151)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a110a=a110b(this,function(){const h=a110d;return a110a['toString']()[h(0x157)](h(0x14b))['toString']()[h(0x14c)](a110a)[h(0x157)]('(((.+)+)+)+$');});a110a();import{Generator}from'../../../generator.js';import a110e from'../aws.js';const CFGen=Generator[a110i(0x150)]({'name':'cloudformation','aliases':['cf'],'usage':'maka\x20{generate,\x20g}:{aws}:{cloudformation,\x20cf}','noNeedResource':!![],'shortDesc':'AWS\x20Cloudformation\x20templates','validOpts':[''],'isPro':![],'examples':[a110i(0x154)],'experimental':!![]},async function(){},async function(){},a110e);function a110d(a,b){const c=a110c();return a110d=function(d,e){d=d-0x146;let f=c[d];return f;},a110d(a,b);}function a110c(){const j=['(((.+)+)+)+$','constructor','2pmOoOT','101196YzFICq','297AFMfRp','create','apply','64bgJXoI','3564xLaPsp','maka\x20g:aws:cf','1301395dsRnaC','484708sAUWig','search','491400gaCdZv','178840Elwksd','1569921FXRzWM','18oJAmrr','1793568FkuPFe'];a110c=function(){return j;};return a110c();}export default CFGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a111p=a111d;(function(a,b){const m=a111d,c=a();while(!![]){try{const d
|
|
1
|
+
const a111p=a111d;function a111d(a,b){const c=a111c();return a111d=function(d,e){d=d-0xa9;let f=c[d];return f;},a111d(a,b);}(function(a,b){const m=a111d,c=a();while(!![]){try{const d=-parseInt(m(0xcf))/0x1*(-parseInt(m(0xcc))/0x2)+parseInt(m(0xd2))/0x3*(parseInt(m(0xb9))/0x4)+-parseInt(m(0xb2))/0x5+-parseInt(m(0xb3))/0x6*(parseInt(m(0xaa))/0x7)+-parseInt(m(0xb8))/0x8*(parseInt(m(0xb0))/0x9)+parseInt(m(0xc1))/0xa*(-parseInt(m(0xab))/0xb)+parseInt(m(0xad))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a111c,0xc693d));const a111b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a111d;if(c){const e=c[n(0xc0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a111a=a111b(this,function(){const o=a111d;return a111a[o(0xc2)]()[o(0xb5)](o(0xc4))[o(0xc2)]()[o(0xd0)](a111a)[o(0xb5)]('(((.+)+)+)+$');});function a111c(){const s=['ask','create-ec2-instance.template','432gNKyQw','create','2432505wqEHhL','12vtihHH','findProjectDirectory','search','appName','error','190192XSfHze','1374084Btklhl','getMakaProjectConfig','ami-055744c75048d8296','chooseSecurityGroup','cloudformation','AWS\x20Cloudformation\x20template\x20for\x20creating\x20an\x20EC2\x20instance','Please\x20choose\x20a\x20key\x20to\x20use:\x20','apply','9851700YJbCDj','toString','name','(((.+)+)+)+$','aws','cloudformation/create-ec2-instance.template','maka\x20g:aws:cf:cec2i','replaceAll','ec2describeKeys','join','withValue','6fyLKrN','No\x20instance\x20has\x20been\x20created.','create-ec2-instance','60655ifQlBO','constructor','notice','6uMoGev','success','Setting\x20the\x20key-pair\x20to:\x20','5133919RrxYXk','11cLDmCC','fsi','48288276vsbhQL'];a111c=function(){return s;};return a111c();}a111a();import a111e from'path';import{AWS}from'../../../tools/aws/aws.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import{headerCase}from'change-case';import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a111f from'./cloudformation.js';const CEC2Gen=Generator[a111p(0xb1)]({'name':a111p(0xce),'aliases':['cec2i'],'usage':'maka\x20{generate,\x20g}:{aws}:{cloudformation,\x20cf}:cec2i','noNeedResource':!![],'shortDesc':a111p(0xbe),'validOpts':[''],'isPro':![],'examples':[a111p(0xc7)],'experimental':!![]},async function(){const q=a111p,a=new AWS();try{const b=this[q(0xac)][q(0xba)](),c=this[q(0xac)][q(0xb4)](),d=a111e[q(0xca)](c,q(0xbd)),f=await a[q(0xc9)](),g=await Actions[q(0xae)](q(0xbf))||'-1';if(parseInt(g)<0x0){Log[q(0xb7)]('You\x20must\x20have\x20a\x20key-pair.\x20\x20Please\x20run\x20\x22maka\x20aws\x20create-key-pair\x20--env\x20<env-name>\x22\x20to\x20generate\x20a\x20new\x20key'),Log[q(0xd1)](q(0xcd));return;}let h='';if(f)for(const k of f){if(parseInt(g)===k['id']){h=k[q(0xc3)],Log[q(0xd3)](q(0xa9)+h);break;}}const i=await a[q(0xbc)](),j={'amiId':q(0xbb),'keyPair':h,'sgId':i,'instanceName':headerCase(b[q(0xb6)])[q(0xc8)]('-','\x20')};await this[q(0xac)][q(0xcb)](b,async()=>{const r=q;await this[r(0xac)]['template']({'srcPath':r(0xc6),'destPath':a111e['join'](d,r(0xaf)),'framework':r(0xc5),'context':j,'config':b,'ignore':![]});});}catch(l){Log[q(0xb7)](l),process['exit'](0x1);}},async function(){},a111f);export default CEC2Gen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a112m=a112d;(function(a,b){const j=a112d,c=a();while(!![]){try{const d
|
|
1
|
+
const a112m=a112d;(function(a,b){const j=a112d,c=a();while(!![]){try{const d=-parseInt(j(0x7c))/0x1+parseInt(j(0x7a))/0x2*(-parseInt(j(0x88))/0x3)+parseInt(j(0x68))/0x4+-parseInt(j(0x8a))/0x5+-parseInt(j(0x78))/0x6+-parseInt(j(0x81))/0x7+parseInt(j(0x6f))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a112c,0x3db0b));const a112b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a112d;if(c){const e=c[k(0x6e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a112a=a112b(this,function(){const l=a112d;return a112a[l(0x71)]()[l(0x70)]('(((.+)+)+)+$')[l(0x71)]()['constructor'](a112a)[l(0x70)]('(((.+)+)+)+$');});a112a();import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a112d(a,b){const c=a112c();return a112d=function(d,e){d=d-0x67;let f=c[d];return f;},a112d(a,b);}function a112c(){const p=['apply','11776200rYBEtM','search','toString','appPathPrefix','tsx','collection/tests.js','dir','create','import\x20\x27./collections','841956dVCeIJ','injectAtEndOfFile','6sGasaV','getMakaProjectConfig','267357hAqmtZ','maka\x20g:collection\x20todos','test','.app-tests.','engines','2789304mBiHdS','withValue','error','col','collection/collection.js','fsi','none','387069niJliK','startup','2389280wspwXr','collection','collections','checkMeteorPackage','1806952PVxqQO','resourceName','imports','pathFromApp','where','mongo'];a112c=function(){return p;};return a112c();}Generator[a112m(0x76)]({'name':a112m(0x8b),'aliases':[a112m(0x84)],'usage':'maka\x20{generate,\x20g}:{collection,\x20col}\x20<name>','checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection','validOpts':[a112m(0x75),a112m(0x6c)],'description':'\x0a\x20\x20\x20\x20Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection.\x0ahttps://docs.meteor.com/api/collections.html\x0a\x0a\x20\x20\x20\x20Collections\x20are\x20generated\x20in\x20the\x20\x22lib\x22\x20or\x20\x22common\x22\x20directory\x20by\x20default.\x20\x20This\x20location\x20is\x20accessible\x0a\x20\x20\x20\x20to\x20BOTH\x20client\x20and\x20server\x20(--where=both).\x20\x20Other\x20options\x20are\x20\x22--where=server\x22\x20and\x20\x22--where=client\x22\x20which\x0a\x20\x20\x20\x20will\x20setup\x20the\x20collection\x20in\x20their\x20respective\x20locations.\x0a\x20\x20','examples':[a112m(0x7d)]},async function(a,b){const n=a112m;try{const c=this[n(0x86)][n(0x7b)]();await this[n(0x86)][n(0x82)](c,async()=>{const o=n,d=paramCase(b['resourceName']),f={'name':pascalCase(b[o(0x69)]),'collectionName':pascalCase(b[o(0x69)]),'fileName':d,'where':b[o(0x6c)],'test':c[o(0x80)][o(0x7e)],'noRename':!![]};let g='js';c[o(0x80)]['js']===o(0x73)&&(g='ts');await this[o(0x86)][o(0x67)]([o(0x6d)],{'shouldInstall':!![]}),await this[o(0x86)]['template']({'srcPath':o(0x85),'destPath':this[o(0x86)][o(0x6b)]({'pathParts':[o(0x6a),'startup',b[o(0x72)],o(0x8c),b[o(0x75)],d+'.'+g]}),'context':f,'config':c});c['engines'][o(0x7e)]!==o(0x87)&&await this[o(0x86)]['template']({'srcPath':o(0x74),'destPath':this[o(0x86)][o(0x6b)]({'pathParts':[o(0x6a),'startup',b[o(0x72)],o(0x8c),b['dir'],d+o(0x7f)+g]}),'context':f,'config':c});const h=b[o(0x75)]?'/'+b['dir']+'/':'/',i=this[o(0x86)]['pathFromApp']({'pathParts':[o(0x6a),o(0x89),b[o(0x72)],'index.'+c[o(0x80)]['js']]});await this[o(0x86)][o(0x79)]({'filePath':i,'content':o(0x77)+h+d+'\x27;'});});}catch(d){Log[n(0x83)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a113m=a113d;function a113d(a,b){const c=a113c();return a113d=function(d,e){d=d-0x9f;let f=c[d];return f;},a113d(a,b);}function a113c(){const p=['assign','baseDir','injectTemplateModule','ramda','constructor','template/template.css','theme','test','toString','fsi','Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','relative','579ImtPCs','pathFromProject','.js','css','/imports/ui/components','dir','21616pMEfVm','withValue','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','cssCaseName','error','7119847lGNlVL','search','component/component.js','none','getMakaProjectConfig','root','733326nzCeri','api','1308056lOLlVs','findAppDirectory','setTemplate','engines','test/test.js','3527288lOeidW','comp','4394358cueFjI','features','(((.+)+)+)+$','checkNpmPackage','template','withTranslations','maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','installNpmPackage','import\x20\x27./','react','3758435iOaLHQ','resourceName','injectAtBeginningOfFile','warn','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','fileName','true','string'];a113c=function(){return p;};return a113c();}(function(a,b){const k=a113d,c=a();while(!![]){try{const d=parseInt(k(0xa2))/0x1+-parseInt(k(0xa4))/0x2+parseInt(k(0xc9))/0x3*(parseInt(k(0xcf))/0x4)+-parseInt(k(0xb5))/0x5+parseInt(k(0xab))/0x6+-parseInt(k(0xd4))/0x7+parseInt(k(0xa9))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a113c,0x809ae));const a113b=(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;};}()),a113a=a113b(this,function(){const l=a113d;return a113a[l(0xc5)]()['search'](l(0xad))[l(0xc5)]()[l(0xc1)](a113a)[l(0xd5)](l(0xad));});a113a();import a113e from'path';import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';const aliases=[a113m(0xaa)];Generator['create']({'name':'component','aliases':aliases,'usage':a113m(0xb1),'shortDesc':a113m(0xc7),'validOpts':[{'name':a113m(0xbe)}],'examples':['maka\x20g:comp\x20todos/todos-item']},async function(a,b){const n=a113m;try{const c=this[n(0xc6)][n(0xa5)](),d=b[n(0xbe)]?'/imports/ui/'+b[n(0xbe)]:n(0xcd),f=this[n(0xc6)]['pathFromApp']({'pathParts':[d,b['dir'],paramCase(b[n(0xb6)]),paramCase(b['resourceName'])]}),g=await this[n(0xc6)][n(0xa0)]();await this['fsi'][n(0xd0)](g,async()=>{const o=n;typeof g[o(0xaf)][o(0xc4)]===o(0xbc)&&(g[o(0xaf)][o(0xc4)]=g[o(0xaf)][o(0xc4)]==='true'?!![]:![],this[o(0xc6)]['setTemplate'](o(0xc4),g['template']['test']));typeof g[o(0xaf)][o(0xcc)]===o(0xbc)&&(g[o(0xaf)]['css']=g[o(0xaf)][o(0xcc)]===o(0xbb)?!![]:![],this[o(0xc6)][o(0xa6)](o(0xcc),g['template']['css']));typeof g['template']['js']==='string'&&(g['template']['js']=g[o(0xaf)]['js']===o(0xbb)?!![]:![],this['fsi']['setTemplate']('js',g[o(0xaf)]['js']));!g[o(0xac)]&&(g[o(0xac)]={});!b[o(0xa1)]&&!this[o(0xc6)]['checkNpmPackage']('ramda')&&(Log[o(0xb8)](o(0xb9)),await this[o(0xc6)][o(0xb2)](o(0xc0),{'cwd':c}));if(!b[o(0xa1)]&&!this[o(0xc6)][o(0xae)](o(0xb4))){Log[o(0xd3)](o(0xd1));return;}const h={'name':pascalCase(b['resourceName']),'myPath':a113e[o(0xc8)](this[o(0xc6)][o(0xca)]({}),f),'cssCaseName':paramCase(b[o(0xb6)]),'className':pascalCase(b[o(0xb6)]),'camelCaseName':camelCase(b[o(0xb6)]),'fileName':paramCase(b['resourceName']),'graphql':g[o(0xa7)]['graphql'],'features':g[o(0xac)],'client':g['engines']['client'],'api':g['engines'][o(0xa3)],'ssr':g['engines']['ssr'],'test':g['engines'][o(0xc4)],'theme':g[o(0xa7)][o(0xc3)],'isLayout':![],'isComponent':!![],'withTranslations':g[o(0xac)][o(0xb0)]};await this[o(0xc6)][o(0xaf)]({'srcPath':o(0xd6),'destPath':f+o(0xcb),'context':h,'framework':o(0xb4),'config':g});g['engines'][o(0xc4)]!==o(0x9f)&&await this[o(0xc6)][o(0xaf)]({'srcPath':o(0xa8),'destPath':f+'.tests.js','context':h,'framework':o(0xb4),'config':g});g[o(0xaf)]['css']&&(await this[o(0xc6)][o(0xaf)]({'srcPath':o(0xc2),'destPath':f+'.css','context':Object[o(0xbd)]({},h,{'className':paramCase(b[o(0xb6)])}),'config':g}),await this['fsi'][o(0xb7)]({'filePath':f+'.'+g['engines']['js'],'content':o(0xb3)+h[o(0xd2)]+'.'+g[o(0xa7)][o(0xcc)]+'\x27;'}));const i=b[o(0xce)]?'/'+b[o(0xce)]+'/':'/',j=''+d+i+h[o(0xba)]+'/'+h[o(0xba)];await this[o(0xc6)][o(0xbf)](h['className'],g,j);});}catch(h){Log[n(0xd3)](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a114l=a114d;(function(a,b){const i=a114d,c=a();while(!![]){try{const d=-parseInt(i(
|
|
1
|
+
function a114c(){const o=['apply','10vBEUqc','6WFbbmw','appName','246420iTMDJE','479565OAqCky','getMakaProjectConfig','constructor','1206829sBKRrl','local','prod','Generate\x20configuration\x20settings.','template','pathFromProject','31203JiPTFc','search','error','924946dXrfJP','24LSoJyN','isDocker','pm2.config.js','8THUyYO','fsi','maka\x20{generate,\x20g}:{config}\x20<name>','maka\x20g:config\x20production','development','dev','(((.+)+)+)+$','create','config','withValue','6zRYQOS','resourceName','config/settings.json','toString','config/process.env','1291416NkpOrC','38749erdgiY','48CCCZBJ'];a114c=function(){return o;};return a114c();}const a114l=a114d;(function(a,b){const i=a114d,c=a();while(!![]){try{const d=-parseInt(i(0x144))/0x1*(parseInt(i(0x13e))/0x2)+-parseInt(i(0x154))/0x3*(parseInt(i(0x15b))/0x4)+parseInt(i(0x14b))/0x5+parseInt(i(0x148))/0x6*(-parseInt(i(0x143))/0x7)+-parseInt(i(0x158))/0x8*(parseInt(i(0x14a))/0x9)+-parseInt(i(0x147))/0xa*(-parseInt(i(0x157))/0xb)+-parseInt(i(0x145))/0xc*(-parseInt(i(0x14e))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a114c,0x240c6));const a114b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a114d;if(c){const e=c[j(0x146)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a114a=a114b(this,function(){const k=a114d;return a114a[k(0x141)]()[k(0x155)](k(0x161))['toString']()[k(0x14d)](a114a)[k(0x155)](k(0x161));});a114a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';function a114d(a,b){const c=a114c();return a114d=function(d,e){d=d-0x13e;let f=c[d];return f;},a114d(a,b);}Generator[a114l(0x162)]({'name':a114l(0x163),'usage':a114l(0x15d),'shortDesc':a114l(0x151),'validOpts':[a114l(0x159)],'examples':[a114l(0x15e)]},async function(a,b){const m=a114l;try{const c=this['fsi'][m(0x14c)]();await this['fsi'][m(0x164)](c,async()=>{const n=m,d={'app':c[n(0x149)],'appFileCase':paramCase(c[n(0x149)]),'name':pascalCase(b[n(0x13f)]),'fileName':paramCase(b[n(0x13f)]),'camelCase':camelCase(b[n(0x13f)]),'userName':'ubuntu','isDocker':b['isDocker']};let e=b[n(0x13f)];if(e===n(0x160))e=n(0x15f);else e===n(0x150)&&(e='production');const f=this[n(0x15c)][n(0x153)]({'pathParts':['config',e,'settings.json']});await this[n(0x15c)][n(0x152)]({'srcPath':n(0x140),'destPath':f,'context':d,'config':c});if(e!==n(0x14f)){const g=this[n(0x15c)][n(0x153)]({'pathParts':[n(0x163),e,n(0x15a)]});await this['fsi'][n(0x152)]({'srcPath':'config/pm2.config.js','destPath':g,'context':{'app':c['appName'],'isDocker':!![]},'config':c});}if(e==='local'){const h=this['fsi'][n(0x153)]({'pathParts':['config',e,'process.env']});await this[n(0x15c)][n(0x152)]({'srcPath':n(0x142),'destPath':h,'context':d,'config':c});}});}catch(d){Log[m(0x156)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a115l=a115d;function a115c(){const o=['maka\x20g:dbc\x20geoserver\x20--type=pgsql','index.','sqlite','injectAtEndOfFile','tsx','932164CynVDN','import\x20\x27./register-','withValue','409266wGiqDs','5790RIEPWu','24iSFKSy','dbc/config.js','3mQHTCb','checkNpmPackage','(((.+)+)+)+$','196415LOuAyH','1036692queZAT','better-sqlite3','server','-dbc.','maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','715GSZUpL','apply','imports','2469511sEXdnh','engines','type','Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','-dbc\x27;','toString','10ehdKqE','221389LXrjig','constructor','error','dbc/conn.js','search','dir','fsi','conn.','maka\x20g:dbc\x20azure\x20--type=mssql','startup','template','config.','mssql','dbc','pgsql','pathFromApp','resourceName'];a115c=function(){return o;};return a115c();}(function(a,b){const i=a115d,c=a();while(!![]){try{const d=-parseInt(i(0x81))/0x1+parseInt(i(0x7a))/0x2+-parseInt(i(0x7e))/0x3*(-parseInt(i(0x77))/0x4)+-parseInt(i(0x87))/0x5*(-parseInt(i(0x7b))/0x6)+-parseInt(i(0x91))/0x7*(-parseInt(i(0x7c))/0x8)+-parseInt(i(0x82))/0x9+-parseInt(i(0x90))/0xa*(parseInt(i(0x8a))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0x20d2e));const a115b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a115d;if(c){const e=c[j(0x88)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a115a=a115b(this,function(){const k=a115d;return a115a['toString']()[k(0x95)](k(0x80))[k(0x8f)]()[k(0x92)](a115a)[k(0x95)]('(((.+)+)+)+$');});function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-0x76;let f=c[d];return f;},a115d(a,b);}a115a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator['create']({'name':a115l(0x9e),'usage':a115l(0x86),'shortDesc':a115l(0x8d),'validOpts':[a115l(0x96)],'mustBeInMakaProject':!![],'requiredOpts':[{'name':'type','values':[a115l(0x9f),a115l(0x9d),a115l(0xa4)]}],'examples':[a115l(0xa2),a115l(0x99),'maka\x20g:dbc\x20todos\x20--type=sqlite']},async function(a,b){const m=a115l;try{const c=await this[m(0x97)]['getMakaProjectConfig'](),d=paramCase(b['resourceName']),f={'name':pascalCase(b[m(0xa1)]),'fileName':paramCase(b[m(0xa1)]),'camelCase':camelCase(b[m(0xa1)]),'type':b['type'],'engine':c[m(0x8b)]['js'],'noRename':!![]};await this[m(0x97)][m(0x79)](c,async()=>{const n=m;let g='js';c[n(0x8b)]['js']===n(0x76)&&(g='ts');b[n(0x8c)]===n(0x9f)&&await this[n(0x97)][n(0x7f)]('pg',{'shouldInstall':!![]});b[n(0x8c)]===n(0x9d)&&await this[n(0x97)][n(0x7f)](n(0x9d),{'shouldInstall':!![]});b[n(0x8c)]==='sqlite'&&await this[n(0x97)][n(0x7f)](n(0x83),{'shouldInstall':!![]});await this['fsi'][n(0x9b)]({'srcPath':n(0x7d),'destPath':this[n(0x97)]['pathFromApp']({'pathParts':[n(0x89),'startup','server','dbc',b['dir'],d,n(0x9c)+g]}),'context':f,'config':c}),await this['fsi']['template']({'srcPath':n(0x94),'destPath':this[n(0x97)][n(0xa0)]({'pathParts':[n(0x89),'startup','server','dbc',b[n(0x96)],d,n(0x98)+g]}),'context':f,'config':c}),await this[n(0x97)][n(0x9b)]({'srcPath':'dbc/register-dbc.js','destPath':this[n(0x97)][n(0xa0)]({'pathParts':[n(0x89),n(0x9a),n(0x84),'register-'+d+n(0x85)+g]}),'context':f,'config':c});const h=this['fsi'][n(0xa0)]({'pathParts':['imports',n(0x9a),n(0x84),n(0xa3)+c[n(0x8b)]['js']]});await this[n(0x97)][n(0xa5)]({'filePath':h,'content':n(0x78)+d+n(0x8e)});});}catch(g){Log[m(0x93)](g);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a116k=a116d;(function(a,b){const h=a116d,c=a();while(!![]){try{const d=parseInt(h(0x1cb))/0x1*(parseInt(h(0x1c7))/0x2)+-parseInt(h(0x1c9))/0x3*(-parseInt(h(0x1d7))/0x4)+-parseInt(h(0x1c8))/0x5*(parseInt(h(0x1df))/0x6)+-parseInt(h(0x1c1))/0x7+parseInt(h(0x1d6))/0x8*(parseInt(h(0x1c0))/0x9)+-parseInt(h(0x1c4))/0xa*(-parseInt(h(0x1be))/0xb)+parseInt(h(0x1c3))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x9ece0));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a116d;if(c){const e=c[i(0x1d2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const j=a116d;return a116a['toString']()[j(0x1bc)](j(0x1cc))['toString']()[j(0x1d0)](a116a)['search'](j(0x1cc));});function a116c(){const n=['Dockerfile','join','Generate\x20an\x20updated\x20dockerfile','682336OUcCQV','4xJkCmO','app.tar.gz','fsi','template','dockerfile','cert','getGlobalConfig','maka\x20{generate,\x20g}:dockerfile','7018146misYjT','search','appName','2761KStDEM','withValue','99jpCVwF','7929446JyMybe','docker/Dockerfile','3978996QJUCAe','9620HXRSBQ','error','force','2LpIpLH','5oaEVQa','950529xppfqX','getMakaProjectConfig','1124833keGiUG','(((.+)+)+)+$','app','create','service','constructor','build','apply'];a116c=function(){return n;};return a116c();}function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x1bc;let f=c[d];return f;},a116d(a,b);}a116a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a116e from'path';Generator[a116k(0x1ce)]({'name':a116k(0x1db),'usage':a116k(0x1de),'shortDesc':a116k(0x1d5),'validOpts':[{'name':a116k(0x1c6),'boolFlag':!![]}],'noNeedResource':!![],'examples':['maka\x20g:dockerfile']},async function(a,b){const l=a116k;try{const c=await this[l(0x1d9)][l(0x1ca)](),d=await this[l(0x1d9)][l(0x1dd)](),f=this['fsi']['findProjectDirectory']();await this[l(0x1d9)][l(0x1bf)](c,async()=>{const m=l,g={'app':d[m(0x1bd)],'config':c,'appPath':a116e[m(0x1d4)](f,m(0x1cd)),'bundlePath':a116e[m(0x1d4)](f,m(0x1d1),m(0x1d8)),'useCert':this[m(0x1d9)]['isFile'](d[m(0x1dc)])};await this[m(0x1d9)][m(0x1da)]({'srcPath':m(0x1c2),'destPath':a116e[m(0x1d4)](f,m(0x1d3)),'framework':m(0x1cf),'context':g,'config':c,'force':b['force']});});}catch(g){Log[l(0x1c5)](g);}});
|