@maka/maka-cli 4.13.15 → 4.13.16
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;(function(a,b){const f=a96d,c=a();while(!![]){try{const d=-parseInt(f(
|
|
1
|
+
const a96i=a96d;function a96d(a,b){const c=a96c();return a96d=function(d,e){d=d-0x1c0;let f=c[d];return f;},a96d(a,b);}function a96c(){const k=['set','8FqjkFf','constructor','235595VZcNou','toString','11679984VRZkxs','apply','runSubCommand','683907SsCwEn','maka\x20set:<sub-command>','182872BrOwes','385530FfzeLK','\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','2234064BbYWmF','3XyPTQG','(((.+)+)+)+$','search','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','2182984hZeHIE','findSubCommand'];a96c=function(){return k;};return a96c();}(function(a,b){const f=a96d,c=a();while(!![]){try{const d=-parseInt(f(0x1cd))/0x1+parseInt(f(0x1cf))/0x2*(-parseInt(f(0x1d3))/0x3)+-parseInt(f(0x1c6))/0x4*(parseInt(f(0x1c8))/0x5)+-parseInt(f(0x1d0))/0x6+parseInt(f(0x1d2))/0x7+-parseInt(f(0x1c3))/0x8+parseInt(f(0x1ca))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a96c,0x6426b));const a96b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a96d;if(c){const e=c[g(0x1cb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a96a=a96b(this,function(){const h=a96d;return a96a[h(0x1c9)]()[h(0x1c1)](h(0x1c0))[h(0x1c9)]()[h(0x1c7)](a96a)['search'](h(0x1c0));});a96a();import{Command}from'../../command.js';const SetCommand=Command['create']({'name':a96i(0x1c5),'usage':a96i(0x1ce),'shortDesc':a96i(0x1c2),'description':a96i(0x1d1),'validOpts':[]},async function(a,b){const j=a96i,c=a[0x0],d=this[j(0x1c4)](c);d&&this[j(0x1cc)](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(0x18d))/0x1*(-parseInt(k(0x17c))/0x2)+parseInt(k(0x196))/0x3*(parseInt(k(0x193))/0x4)+-parseInt(k(0x189))/0x5*(-parseInt(k(0x183))/0x6)+parseInt(k(0x179))/0x7*(-parseInt(k(0x184))/0x8)+-parseInt(k(0x182))/0x9+parseInt(k(0x185))/0xa+-parseInt(k(0x18b))/0xb*(-parseInt(k(0x18e))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a97c,0xf17fd));function a97c(){const p=['15105834WkbQcI','7764vqwxxl','11629048MvBdvE','154390Bilaal','getAppConfigPath','maka\x20ssh\x20<command>','constructor','3285NvWrRU','apply','12927299UlERjJ','search','18203xiClrT','48PYdEvp','env','create','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','exit','1005052ZdsUxj','maka\x20ssh\x20--env\x20prod','toString','6CmtKhc','(((.+)+)+)+$','7WKsxeK','assign','verbose','214RZpzUI','maka\x20ssh\x20--env\x20dev','sshSync','length','readFileSync','maka\x20ssh\x20--env\x20staging'];a97c=function(){return p;};return a97c();}const a97b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a97d;if(c){const e=c[l(0x18a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a97a=a97b(this,function(){const m=a97d;return a97a[m(0x195)]()[m(0x18c)](m(0x197))[m(0x195)]()[m(0x188)](a97a)[m(0x18c)](m(0x197));});a97a();import a97e from'fs';import a97f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{Log}from'../tools/log/log.class.js';function a97d(a,b){const c=a97c();return a97d=function(d,e){d=d-0x179;let f=c[d];return f;},a97d(a,b);}Command[a97n(0x190)]({'name':'ssh','usage':a97n(0x187),'mustBeInMakaProject':!![],'requiredOpts':[a97n(0x18f)],'validOpts':['env','verbose'],'shortDesc':'Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','examples':[a97n(0x17d),a97n(0x181),a97n(0x194),'maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22',a97n(0x191)]},async function(a,b){const o=a97n;try{const c=this['fsi']['getEnvFromShorthand'](b['env']),d=this['fsi'][o(0x186)](c);let f='';a[o(0x17f)]>0x0&&(f=a[0x0]);const g=a97f['join'](c,'ssh.json'),h=a97e[o(0x180)](g)[o(0x195)](),i=JSON['parse'](h);Object[o(0x17a)](i,{'env':d}),SSH[o(0x17e)](f,i,{'tty':!![],'verbose':!![],'sshVerbose':b[o(0x17b)]});}catch(j){Log['error'](j),process[o(0x192)](0x1);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a98z=a98d;(function(a,b){const w=a98d,c=a();while(!![]){try{const d=-parseInt(w(
|
|
1
|
+
const a98z=a98d;function a98d(a,b){const c=a98c();return a98d=function(d,e){d=d-0x1a8;let f=c[d];return f;},a98d(a,b);}(function(a,b){const w=a98d,c=a();while(!![]){try{const d=-parseInt(w(0x1d5))/0x1*(-parseInt(w(0x1b5))/0x2)+-parseInt(w(0x1ad))/0x3*(parseInt(w(0x1bb))/0x4)+-parseInt(w(0x1be))/0x5+-parseInt(w(0x1e3))/0x6*(parseInt(w(0x1db))/0x7)+parseInt(w(0x1b8))/0x8+parseInt(w(0x1dc))/0x9*(-parseInt(w(0x1b4))/0xa)+-parseInt(w(0x1e0))/0xb*(-parseInt(w(0x1c9))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a98c,0x24b81));function a98c(){const B=['Checking\x20remote\x20host\x20availability','parse','assign','domains','appName','.crt','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','email','withSpinner','notice','toString','63790vDhUQi','(((.+)+)+)+$','search','ssh','ping','create','1954638vvUAYO','4149eTpNWk','letsencrypt','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','Using\x20saved\x20letsencrypt\x20config','7723419gcRQYy','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','error','6fzeFFa','apply','ssl','start','Remote\x20host\x20connection\x20successful','maka\x20ssl\x20--env\x20dev\x20generate-csr','Verifying\x20Letsencrypt\x20configuration','Please\x20provide\x20a\x20command.','genSSC','\x20--email\x20','existsSync','3xYxNLN','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','success','fsi','ask','stringify','readFileSync','5770Pngrfo','2ZtHhIS','New\x20CSR\x20written\x20to\x20','env','2148976ezfFoY','getAppConfigPath','letsencrypt.json','401816UPWOnR','Email\x20to\x20use\x20for\x20auto-updates:\x20','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','1192275CsShlz','.csr','[?]\x20Domains\x20to\x20register:\x20','exit','uname\x20-a','/ssh.json','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','.key','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','join','generate-ssc','12dWgoaL'];a98c=function(){return B;};return a98c();}const a98b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a98d;if(c){const e=c[x(0x1e4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a98a=a98b(this,function(){const y=a98d;return a98a[y(0x1d4)]()[y(0x1d7)](y(0x1d6))[y(0x1d4)]()['constructor'](a98a)['search'](y(0x1d6));});a98a();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';import{SSL}from'../tools/ssl/ssl.class.js';Command[a98z(0x1da)]({'name':a98z(0x1e5),'usage':'maka\x20ssl\x20[command]','validOpts':[a98z(0x1cd),a98z(0x1d1)],'requiredOpts':['env'],'shortDesc':'Create\x20and\x20manage\x20your\x20SSL\x20operations.','mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a98z(0x1e8),a98z(0x1c6),a98z(0x1e1)]},async function(a,b){const A=a98z,c=this[A(0x1b0)]['getMakaProjectConfig'](),d=this[A(0x1b0)]['getEnvFromShorthand'](b[A(0x1b7)]),f=this[A(0x1b0)][A(0x1b9)](d),g=this[A(0x1b0)]['mkKeysDir']({'configPath':f});let h='';a&&(h=a[0x0]);try{if(h==='generate-csr')SSL['genCSR']({'keyName':c[A(0x1ce)]+A(0x1c5),'csrName':c[A(0x1ce)]+A(0x1bf),'cwd':g});else{if(h===A(0x1c8)){if(!a98e[A(0x1ac)](a98f['join'](g,c[A(0x1ce)]+'.key')))throw'The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20'+a98f[A(0x1c7)](g,c[A(0x1ce)]+A(0x1c5));if(!a98e[A(0x1ac)](a98f[A(0x1c7)](g,c[A(0x1ce)]+'.csr')))throw A(0x1bd)+a98f[A(0x1c7)](g,c[A(0x1ce)]+A(0x1bf));SSL[A(0x1aa)]({'keyName':c['appName']+A(0x1c5),'crtName':c[A(0x1ce)]+A(0x1cf),'cwd':g}),Log['notice'](A(0x1b6)+g);}else{if(h===A(0x1dd)){let i=b[A(0x1cd)],j=b[A(0x1d1)];try{const q=a98e[A(0x1b3)](a98f[A(0x1c7)](f,A(0x1ba)))['toString'](),r=JSON[A(0x1cb)](q);i=b[A(0x1cd)]?b[A(0x1cd)]:r['domainNames'],j=b[A(0x1d1)]?b[A(0x1d1)]:r['emailUpdate'],(!b[A(0x1d1)]||!b[A(0x1cd)])&&Log[A(0x1d3)](A(0x1df));}catch(s){}const k=JSON[A(0x1cb)](a98e['readFileSync'](f+A(0x1c3))[A(0x1d4)]());Object[A(0x1cc)](k,{'env':f}),Log[A(0x1d3)](A(0x1ca));try{const t=SSH[A(0x1d9)](A(0x1c2),k);if(!t)throw A(0x1ae);if(t)Log[A(0x1af)](A(0x1e7));}catch(u){Log[A(0x1e2)](u);return;}const l=Log[A(0x1d2)]();l[A(0x1e6)](A(0x1a8)),SSH[A(0x1d8)](A(0x1c4),{...k}),SSH[A(0x1d8)]('sudo\x20snap\x20install\x20--classic\x20certbot',{...k}),SSH[A(0x1d8)](A(0x1d0),{...k}),l['success']();const m=i?i:await Actions['ask'](A(0x1c0)),n=j?j:await Actions[A(0x1b1)](A(0x1bc));SSH['ssh'](A(0x1de)+m+A(0x1ab)+n,{...k},{'verbose':!![]});const o={'domainNames':m,'emailUpdate':n},p=JSON[A(0x1b2)](o,null,0x2);a98e['writeFileSync'](a98f[A(0x1c7)](f,A(0x1ba)),p);}else throw A(0x1a9);}}}catch(v){console[A(0x1e2)](v),process[A(0x1c1)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a99r=a99d;(function(a,b){const n=a99d,c=a();while(!![]){try{const d=parseInt(n(
|
|
1
|
+
const a99r=a99d;(function(a,b){const n=a99d,c=a();while(!![]){try{const d=parseInt(n(0x18a))/0x1*(-parseInt(n(0x17e))/0x2)+parseInt(n(0x184))/0x3+-parseInt(n(0x171))/0x4+-parseInt(n(0x185))/0x5*(-parseInt(n(0x194))/0x6)+parseInt(n(0x182))/0x7+parseInt(n(0x179))/0x8*(-parseInt(n(0x192))/0x9)+parseInt(n(0x15a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a99c,0xf2908));const a99b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a99d;if(c){const e=c[o(0x18d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a99a=a99b(this,function(){const p=a99d;return a99a['toString']()[p(0x19c)](p(0x18c))[p(0x17b)]()[p(0x187)](a99a)['search'](p(0x18c));});a99a();import a99e from'fs';function a99c(){const u=['.maka','meteortesting:mocha','driver','slice','driverPackage','engines','13583048lQVVfa','filter','toString','Meteor\x20is\x20installed.','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','161066muUBdG','concat','config','--driver-package','11218494NCaMCU','Meteor\x20is\x20not\x20installed\x20or\x20cannot\x20be\x20found\x20in\x20your\x20path.\x20Installing','2867646GnuvFq','10hoRGxO','--driver','constructor','sanjo:jasmine','--packages','22wYQbOZ','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','(((.+)+)+)+$','apply','none','splice','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','config.json','9nGAWAM','tests','4022556lxMvtW','getEnvFromShorthand','findProjectDirectory','test','maka\x20install\x20--force','--env','--settings','maka\x20test','search','driver-package','utf8','isFile','forEach','15614110HasPbK','create','inspect','argv','inherit','packages','unit','error','jasmine','notice','parse','warn','exit','settings.json','Meteor\x20Settings:\x20','once','local','getAppConfigPath','--full-app','join','fsi','env','process.env','3990544MLOQON','rawLogs'];a99c=function(){return u;};return a99c();}import a99f from'path';import a99g from'dotenv';import{execSync}from'child_process';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const q=a99d;a99e['openSync'](a,'r'),a99g[q(0x180)]({'path':a});};function a99d(a,b){const c=a99c();return a99d=function(d,e){d=d-0x156;let f=c[d];return f;},a99d(a,b);}Command[a99r(0x15b)]({'name':a99r(0x197),'mustBeInMakaProject':!![],'validOpts':[a99r(0x169),a99r(0x15f),a99r(0x175),a99r(0x177),'unit',a99r(0x16f),a99r(0x172),'port',a99r(0x15c),'testAppPath'],'usage':a99r(0x19b),'aliases':['t',a99r(0x193)],'shortDesc':a99r(0x17d),'examples':[]},async function(a,b){const s=a99r;try{this['fsi']['isMeteorInstalled']()?Log[s(0x163)](s(0x17c)):(Log[s(0x165)](s(0x183)),execSync(s(0x198),{'stdio':s(0x15e)}));const c=b[s(0x16f)]?this['fsi'][s(0x195)](b[s(0x16f)]):s(0x16a),d=this[s(0x16e)][s(0x16b)](c);(!b[s(0x160)]||!!b['once'])&&(a=a['concat']([s(0x16c)]));b['unit']&&delete b[s(0x160)];let f=b['driver-package']||b[s(0x175)]||'none';if(f===s(0x18e)){const k=JSON[s(0x164)](a99e['readFileSync'](a99f[s(0x16d)](this['fsi'][s(0x196)](),s(0x173),s(0x191)),s(0x157)));if(k[s(0x178)][s(0x197)]===s(0x162))f=s(0x188);else k[s(0x178)][s(0x197)]==='mocha'&&(f=s(0x174));}if(f===s(0x18e))throw s(0x190);(!b[s(0x156)]||!b['driver'])&&(a=a[s(0x17f)]([s(0x181),f]));const g=a99f['join'](d,s(0x167));this[s(0x16e)][s(0x158)](g)?(Log['notice'](s(0x168)+g),a=a['concat']([s(0x19a),g])):Log[s(0x165)](s(0x18b)+g);const h=a99f[s(0x16d)](d,s(0x170));this[s(0x16e)][s(0x158)](d)?(Log[s(0x163)]('Node\x20Env\x20Config:\x20'+h),syncSource(h)):Log['warn']('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+h);const i=process[s(0x15d)][s(0x176)](0x2)['filter'](l=>l!==s(0x199))[s(0x17a)](l=>l!=='test')[s(0x17a)](l=>l!==a[0x0]);i[s(0x159)]((l,m)=>{const t=s;(l===t(0x199)||l===t(0x186))&&i[t(0x18f)](m,0x2),l===t(0x189)&&i[t(0x18f)](m,0x1);});const j=b[s(0x15f)]?'test-packages':s(0x197);this['fsi']['invokeMeteorCommand'](j,a['concat'](i));}catch(l){console[s(0x161)](l),process[s(0x166)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var a100i=a100d;
|
|
1
|
+
var a100i=a100d;(function(a,b){var f=a100d,c=a();while(!![]){try{var d=parseInt(f(0x1be))/0x1*(-parseInt(f(0x1b5))/0x2)+-parseInt(f(0x1bb))/0x3*(parseInt(f(0x1bc))/0x4)+parseInt(f(0x1b4))/0x5+parseInt(f(0x1af))/0x6+-parseInt(f(0x1b3))/0x7+-parseInt(f(0x1b0))/0x8*(parseInt(f(0x1ba))/0x9)+parseInt(f(0x1bd))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a100c,0x195d3));var a100b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a100d;if(c){var e=c[g(0x1b8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a100a=a100b(this,function(){var h=a100d;return a100a['toString']()['search'](h(0x1b2))[h(0x1b1)]()['constructor'](a100a)['search'](h(0x1b2));});function a100d(a,b){var c=a100c();return a100d=function(d,e){d=d-0x1af;var f=c[d];return f;},a100d(a,b);}a100a();import{Command}from'../command.js';function a100c(){var k=['8952QUCplC','undo','Read\x20the\x20project\x27s\x20history\x20and\x20attempt\x20to\x20undo\x20the\x20last\x20action','apply','create','1792701PSMeWU','8343fqOxdu','152NTVmrA','3682030LRJmOr','12unqpGO','962988ClQRjO','8gDPqBQ','toString','(((.+)+)+)+$','699335zgLAnl','168370jACsHf'];a100c=function(){return k;};return a100c();}import a100e from'../generators/maka.gen.js';Command[a100i(0x1b9)]({'name':a100i(0x1b6),'aliases':['u'],'validOpts':[],'shortDesc':a100i(0x1b7),'experimental':!![]},async function(){var j=a100i;a100e[j(0x1b6)]();});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a101n=a101d;(function(a,b){const k=a101d,c=a();while(!![]){try{const d=parseInt(k(0xf1))/0x1+-parseInt(k(0xdd))/0x2*(parseInt(k(0xe9))/0x3)+parseInt(k(0xda))/0x4*(parseInt(k(0xf4))/0x5)+-parseInt(k(0xd5))/0x6+-parseInt(k(0xdb))/0x7+parseInt(k(0xf5))/0x8*(-parseInt(k(0xfd))/0x9)+parseInt(k(0xd4))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a101c,0x2d538));const a101b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a101d;if(c){const e=c[l(0xe0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a101a=a101b(this,function(){const m=a101d;return a101a[m(0xde)]()[m(0xd3)]('(((.+)+)+)+$')[m(0xde)]()[m(0xf0)](a101a)[m(0xd3)](m(0xe1));});a101a();function a101c(){const p=['exit','search','4711210RnVGVs','2076894uviKbr','N/A','System\x27s\x20Node\x20Version\x20','Project\x27s\x20Meteor\x20Version\x20','fsi','1084nvQOMo','1347304CmjCYD','bright','2mvIXqO','toString','getMeteorExePath','apply','(((.+)+)+)+$','compareMakaToLatest','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','warn','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','maka\x20v','create','119331ugVrTK','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','version','error','majestic','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','valid','constructor','199366zKTygb','\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','getGlobalMeteorVersion','4605IaekMk','1576oczzEa','node\x20-v','\x20node\x20-v','replace','maka\x20version','Maka\x20','getProjectsMeteorNodeVersion','----------------------System----------------------------','7128UFSpYk','\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','Project\x27s\x20Meteor\x20Node\x20Version\x20',')\x20to\x20at\x20least\x20meteor\x27s\x20('];a101c=function(){return p;};return a101c();}import{execSync}from'child_process';function a101d(a,b){const c=a101c();return a101d=function(d,e){d=d-0xd2;let f=c[d];return f;},a101d(a,b);}import a101e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const pjson={'version':'4.13.16'};Command[a101n(0xe8)]({'name':a101n(0xeb),'aliases':['v'],'usage':a101n(0xf9),'maxArgLength':0x1,'validOpts':['verbose'],'shortDesc':a101n(0xe3),'examples':[a101n(0xe7),a101n(0xf9),'maka\x20version\x20--verbose'],'description':a101n(0xfe)},async function(a,b){const o=a101n;try{const c=this[o(0xd9)][o(0xdf)]();Log[o(0xed)](o(0xfa)+pjson[o(0xeb)]),await this[o(0xd9)][o(0xe2)]();if(b['verbose']){await this[o(0xd9)][o(0xe2)](),Log[o(0xdc)](o(0xfc));const d=this['fsi'][o(0xf3)]();Log[o(0xdc)](('System\x27s\x20Meteor\x20Version\x20'+d)[o(0xf8)]('\x0a',''));const f=execSync(c+o(0xf7))[o(0xde)]()[o(0xf8)](/\r?\n|\r/,'')['replace']('v','');Log[o(0xdc)](o(0xe4)+f);const g=execSync(o(0xf6))[o(0xde)]()[o(0xf8)](/\r?\n|\r/,'')[o(0xf8)]('v','');a101e['gt'](f,g)?(Log[o(0xe5)](o(0xd7)+g),Log['warn'](o(0xe6)+g+o(0x100)+f+')')):Log[o(0xdc)](o(0xd7)+g);if(this[o(0xd9)]['isMakaProject']()){Log[o(0xdc)]('----------------------Project----------------------------');const h=this[o(0xd9)]['getProjectMeteorVersion']();if(!a101e[o(0xef)](h))Log[o(0xe5)](o(0xd8)+h['replace']('\x0a',''));else a101e['gt'](d,h)?(Log[o(0xe5)](o(0xd8)+h[o(0xf8)]('\x0a','')),Log[o(0xe5)](o(0xea)+d+'\x22')):Log['notice']((o(0xd8)+h)[o(0xf8)]('\x0a',''));const i=await this[o(0xd9)][o(0xfb)]();i===o(0xd6)?(Log['warn']('Project\x27s\x20Meteor\x20Node\x20Version\x20'+i),Log['warn'](o(0xee))):Log[o(0xdc)](o(0xff)+i),Log[o(0xdc)](o(0xf2));}}}catch(j){console[o(0xec)](j),process[o(0xd2)](0x0);}});
|
package/bundle/obf/src/error.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a102d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a102d,c=a();while(!![]){try{var d=-parseInt(f(0xd3))/0x1+parseInt(f(0xd0))/0x2+parseInt(f(0xd7))/0x3+parseInt(f(0xd6))/0x4*(-parseInt(f(0xd9))/0x5)+parseInt(f(0xcf))/0x6+parseInt(f(0xd5))/0x7*(-parseInt(f(0xd2))/0x8)+parseInt(f(0xd4))/0x9*(parseInt(f(0xdb))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a102c,0x8d04d));var a102b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a102d;if(c){var e=c[g(0xda)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a102a=a102b(this,function(){var h=a102d;return a102a['toString']()[h(0xd8)]('(((.+)+)+)+$')['toString']()[h(0xd1)](a102a)['search'](h(0xce));});a102a();export class UsageError{}function a102d(a,b){var c=a102c();return a102d=function(d,e){d=d-0xce;var f=c[d];return f;},a102d(a,b);}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}function a102c(){var i=['3669533wmBZxo','68nrQvvD','3049887yqDUnR','search','74735BfwiDT','apply','4005530CWMJzY','(((.+)+)+)+$','611928jMVcwd','2199946hHImeM','constructor','16CESlOr','1139546AhUCJr','18diriMP'];a102c=function(){return i;};return a102c();}export class MustBeLoggedIn{}
|
package/bundle/obf/src/exec.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
function a103c(){var
|
|
2
|
+
function a103c(){var i=['2810886vqqNsO','search','5338010mangPp','324616nnlnJt','216446BzTnxU','NODE_OPTIONS','4139476YzMlnD','9VnMFnj','133CTodhF','17715756RGPTmd','toString','33jlGdLD','11jjTbxx','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','613485SjMXLJ','constructor','5DgBode'];a103c=function(){return i;};return a103c();}var a103h=a103d;(function(a,b){var f=a103d,c=a();while(!![]){try{var d=parseInt(f(0xda))/0x1+-parseInt(f(0xe1))/0x2*(parseInt(f(0xd7))/0x3)+parseInt(f(0xe3))/0x4+-parseInt(f(0xdc))/0x5*(-parseInt(f(0xdd))/0x6)+parseInt(f(0xe5))/0x7*(parseInt(f(0xe0))/0x8)+parseInt(f(0xe4))/0x9*(parseInt(f(0xdf))/0xa)+parseInt(f(0xd8))/0xb*(-parseInt(f(0xd5))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a103c,0xb8491));function a103d(a,b){var c=a103c();return a103d=function(d,e){d=d-0xd5;var f=c[d];return f;},a103d(a,b);}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['toString']()[g(0xde)]('(((.+)+)+)+$')[g(0xd6)]()[g(0xdb)](a103a)[g(0xde)]('(((.+)+)+)+$');});a103a(),process['env'][a103h(0xe2)]=a103h(0xd9);import'./maka.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a104v=a104d;(function(a,b){const r=a104d,c=a();while(!![]){try{const d=-parseInt(r(0x21d))/0x1+-parseInt(r(0x22a))/0x2+parseInt(r(0x1d4))/0x3+-parseInt(r(0x1f4))/0x4*(parseInt(r(0x1e6))/0x5)+-parseInt(r(0x1d9))/0x6*(-parseInt(r(0x1c6))/0x7)+-parseInt(r(0x1e2))/0x8*(parseInt(r(0x1c5))/0x9)+parseInt(r(0x21b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a104c,0xd6896));const a104b=(function(){let a=!![];return function(b,c){const d=a?function(){const s=a104d;if(c){const e=c[s(0x1bf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a104a=a104b(this,function(){const t=a104d;return a104a[t(0x1d7)]()['search']('(((.+)+)+)+$')[t(0x1d7)]()['constructor'](a104a)[t(0x21f)](t(0x210));});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 a104c(){const N=['success','Please\x20run\x20\x22maka\x20install\x20meteor\x22','params','match','name','assign','reverse','minOptsLength','existsSync','options','_historyFilePath','--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27','history.json','config','size','shortDesc','apply','validateEngines','light','transactionId','opts','dir','88785vdYLyh','213990cLjXkZ','Name','fullNameChain','validateMakaProject','colLocAnswer','sort','cwd','setColorMode','(expermiental)\x20','minArgLength','_genTransactionId','maxArgLength','chdir','push','4634880jCbGrg','find','list','toString','details','132DNzeBI','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','bind','validateMakaSubscription','sep','readFileSync','Client','Generators:','help','1224FSsXRR','findGeneratorByName','server','localeCompare','5liNsSm','tableList','addToHistory','generatorName','\x20not\x20found','shift','resourceName','Generator.create\x20requires\x20a\x20handler\x20function!','_handler','\x20generator.\x20Skipping\x20undo.','.maka','addGenerator\x20requires\x20a\x20Generator\x20instance','parse','Generator\x20requires\x20a\x20name','6142128YdxpDw','handleGenerateError','writeHistory','Server','experimental','filter','create','statSync','deepen','aliases','checkWhere','_generators','Both','error','Generator.create\x20requires\x20some\x20options!','warn','bright','findProjectDirectory','requiredEngines','Nothing\x20to\x20undo.','keys','maxOptsLength','split','slice','Too\x20many\x20options','pop','LIGHT','length','(((.+)+)+)+$','Generator\x20','client','There\x20is\x20no\x20Meteor\x20application\x20here','invoke','utf-8','addGenerator','both','join','Alias','getHistoryFileSize','42702970ccDZEN','pathFromProject','1516524mQksOo','validateMeteorInstall','search','function','validateParams','usage','appPathPrefix','Location','fsi','number','No\x20undo\x20handler\x20defined\x20for\x20','readHistory','_undoHandler','2095308CZewZk','stringify','pallet','getGlobalConfig','exit','where','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','\x20not\x20found.\x20Cannot\x20undo.','Too\x20few\x20arguments','writeFileSync','Generator\x20format\x20is\x20incorrect','No\x20resource\x20name\x20specified','Generator\x20requires\x20a\x20handler\x20function','root','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator','replace'];a104c=function(){return N;};return a104c();}import{Tool}from'./tool.js';import{Actions}from'./tools/actions/actions.class.js';function a104d(a,b){const c=a104c();return a104d=function(d,e){d=d-0x1b2;let f=c[d];return f;},a104d(a,b);}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[u(0x1cc)]();let d=null;try{process[u(0x1d2)](a),d=await b();}finally{process[u(0x1d2)](c);}return d;}export class Generator extends Tool{[a104v(0x1b8)];[a104v(0x1c8)];[a104v(0x1ff)];['_historyFilePath'];['_undoHandler'];[a104v(0x1d0)];constructor(a,b,c){const w=a104v;super();if(!a)throw new Error(w(0x230));if(!a[w(0x1b3)])throw new Error(w(0x1f3));if(typeof b!==w(0x220))throw new Error(w(0x236));this[w(0x1ff)]=[],this['options']=Object[w(0x1b4)]({},a),this[w(0x1b3)]=this[w(0x1b8)][w(0x1b3)],this[w(0x1ee)]=b[w(0x1db)](this);try{this[w(0x1b9)]=this[w(0x225)][w(0x21c)]({'pathParts':[w(0x1f0),w(0x1bb)]})||a104e['join']('.',w(0x1f0),w(0x1bb));}catch(d){Log[w(0x201)](d);}c&&(this[w(0x229)]=c[w(0x1db)](this));}[a104v(0x21a)](){const x=a104v;if(a104f[x(0x1b7)](this[x(0x1b9)])){const a=a104f[x(0x1fb)](this['_historyFilePath']);return a[x(0x1bd)];}return 0x0;}[a104v(0x228)](){const y=a104v;if(!a104f[y(0x1b7)](this[y(0x1b9)]))return[];return JSON[y(0x1f2)](a104f[y(0x1de)](this[y(0x1b9)],y(0x215)));}[a104v(0x1f6)](a){const z=a104v;this[z(0x1b9)]&&!a104f['existsSync'](this[z(0x1b9)])&&a104f['writeFileSync'](this['_historyFilePath'],JSON[z(0x22b)]([])),a104f[z(0x233)](this[z(0x1b9)],JSON['stringify'](a,null,0x2));}[a104v(0x1e8)](a){const A=a104v;try{a?.['params']?.['opts'][A(0x1bc)]&&delete a[A(0x23c)][A(0x1c3)][A(0x1bc)];const b=this[A(0x228)](),c={'generatorName':this[A(0x1c8)],'transactionId':TRANSACTION_ID,'details':a};b[A(0x1d3)](c);const d=Buffer['from'](JSON[A(0x22b)](b))[A(0x20f)];while(d>MAX_HISTORY_SIZE&&b['length']>0x0){b[A(0x1eb)]();}this[A(0x1f6)](b);}catch(f){Log[A(0x201)](f);}}async['undo'](){const B=a104v,a=this[B(0x228)]();if(a['length']===0x0){Log[B(0x203)](B(0x207));return;}const b=a[B(0x20d)](),c=b[B(0x1c2)],d=a[B(0x1f9)](e=>e[B(0x1c2)]===c);d[B(0x1d3)](b),d[B(0x1b5)]();for(const e of d){const f=this[B(0x1e3)](e['generatorName']);if(!f){Log[B(0x201)](B(0x211)+e[B(0x1e9)]+B(0x231));continue;}f[B(0x229)]?await f[B(0x229)](e[B(0x1d8)]):Log[B(0x203)](B(0x227)+e['generatorName']+B(0x1ef));}this[B(0x1f6)](a[B(0x1f9)](g=>g[B(0x1c2)]!==c));}static[a104v(0x1fa)](a,b,c,d){const C=a104v;if(!a)throw new Error(C(0x202));if(typeof b!==C(0x220))throw new Error(C(0x1ed));const e=new Generator(a,b);c&&(e[C(0x229)]=c['bind'](e));d=d||a104i;const f=d?d[C(0x1c8)]:'';return e[C(0x1c8)]=f?f+':'+a[C(0x1b3)]:a[C(0x1b3)],Object[C(0x1b4)](e,{'parent':d?.[C(0x1b8)]?.[C(0x1b3)]}),d[C(0x216)](e),e;}[a104v(0x216)](a){const D=a104v;if(!(a instanceof Generator))throw new Error(D(0x1f1));this[D(0x1ff)][D(0x1d3)](a);}async['processAndRunGenerator'](a,b=[],c={}){const E=a104v;let d;try{const f=a?.[E(0x20a)](':');if(!f||f[E(0x20f)]===0x0)throw E(0x234);let g=this[E(0x1ff)],h;for(const i of f){h=g[E(0x1d5)](j=>j['match'](i));if(!h)throw E(0x211)+i+E(0x1ea);await this['validateMakaSubscription'](h),g=h[E(0x1ff)];}if(h)d=await h[E(0x214)](b,c);else throw'Generator\x20not\x20found';}catch(j){Log[E(0x201)](j);}return d;}['findGeneratorByName'](a){const F=a104v,b=a?.[F(0x20a)](':');if(!b||b[F(0x20f)]===0x0)return Log['error']('Generator\x20format\x20is\x20incorrect'),null;let c=this[F(0x1ff)],d;for(const e of b){d=c[F(0x1d5)](f=>f[F(0x1b2)](e));if(!d)return Log[F(0x201)](F(0x211)+e+F(0x1ea)),null;c=d['_generators'];}return d||null;}async[a104v(0x214)](a,b){const G=a104v,c=a[G(0x20b)]();b['resourceName']=c[0x0];try{const d=await this[G(0x225)][G(0x22d)](),f=d[G(0x22c)]===G(0x1c1)?ColorMode[G(0x20e)]:ColorMode['DARK'];Log[G(0x1cd)](f),await this[G(0x1dc)](this);const g=a[0x0]===_prevGen||a[G(0x20f)]===0x0&&this[G(0x1ff)][G(0x20f)]>=0x0,h=b[G(0x1e1)]||b['h'];if(g&&h){if(this[G(0x1ff)][G(0x20f)]>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!h){if(this[G(0x1b8)]['mustBeInMakaProject']){const i=this[G(0x1c9)]();if(!i)throw new MustBeInProjectError();}if(this[G(0x1b8)]['mustHaveMeteorInstalled']){const j=this[G(0x21e)]();if(!j)throw new NoMeteorFoundError();}if(typeof this[G(0x1b8)][G(0x1cf)]==='number'){if(a[G(0x20f)]<this[G(0x1b8)]['minArgLength']){Log[G(0x201)](G(0x232));throw new UsageError();}}if(typeof this['options'][G(0x1d1)]===G(0x226)){if(a[G(0x20f)]>this[G(0x1b8)][G(0x1d1)]){Log[G(0x201)]('Too\x20many\x20arguments');throw new UsageError();}}if(typeof this[G(0x1b8)][G(0x1b6)]===G(0x226)){if(Object[G(0x208)](b)['length']<this['options']['minOptsLength']){Log['error']('Too\x20few\x20options');throw new UsageError();}}if(typeof this[G(0x1b8)][G(0x209)]===G(0x226)){if(Object['keys'](b)['length']>=this[G(0x1b8)]['maxOptsLength']){Log[G(0x201)](G(0x20c));throw new UsageError();}}}this[G(0x1b8)][G(0x206)]&&this[G(0x1c0)](this[G(0x1b8)][G(0x206)]);await this[G(0x221)](a,b,this['options']);if(!b[G(0x1ec)]&&!this[G(0x1b8)]['noNeedResource']){Log[G(0x201)](G(0x235));throw new UsageError();}_prevGen=a[0x0];}catch(k){this[G(0x1f5)](k),process[G(0x22e)](0x1);}return await inside(b[G(0x1cc)],async()=>{const H=G;try{if(!b[H(0x237)]&&!this[H(0x225)][H(0x205)]())throw new MustBeInProjectError();const l=b[H(0x1ec)]?.[H(0x239)](/\\/g,'/')[H(0x20a)]('/');!b['dir']&&(l?.['length']>0x1?(b[H(0x1ec)]=l[H(0x20d)](),c[0x0]=b['resourceName'],b[H(0x1c4)]=l['map'](n=>{return paramCase(n);})[H(0x218)](a104e[H(0x1dd)])):b[H(0x1c4)]='');if(this[H(0x1b8)][H(0x1fe)]){if(!b[H(0x22f)]){const o={'type':H(0x1d6),'name':H(0x1ca),'message':H(0x224),'choices':[{'name':H(0x1df),'value':H(0x212)},{'name':H(0x1f7),'value':H(0x1e4)},{'name':H(0x200),'value':H(0x217)}]},{colLocAnswer:p}=await Actions[H(0x1b8)](o);p?b[H(0x22f)]=p:b[H(0x22f)]=H(0x217);}const n=[H(0x217),H(0x212),H(0x1e4)];if(!n['includes'](b[H(0x22f)])){Log[H(0x201)](H(0x1ba));throw new UsageError();}switch(b[H(0x22f)]){case'both':b[H(0x223)]='lib';break;case H(0x1e4):b['appPathPrefix']=H(0x1e4);break;case'client':b[H(0x223)]='client';break;default:b[H(0x223)]='';}}const m=await this['_handler']['call'](this,c,b);return m&&this[H(0x1e8)]({'params':{'args':c,'opts':this[H(0x225)][H(0x1fc)](b)},'success':m?.[H(0x23a)],'message':m?.['message'],'details':m?.['details']}),m;}catch(q){this['handleGenerateError'](q);}});}['listGenerators'](){const I=a104v;this[I(0x1e7)](this[I(0x1ff)]);}[a104v(0x1f5)](a){const J=a104v,{usage:usage='',description:description='',examples:examples=[],shortDesc:b,requiredOpts:requiredOpts=[],validOpts:c,experimental:d}=this[J(0x1b8)];Log[J(0x222)](description,examples,usage,b,requiredOpts,c,d);if(a instanceof UsageErrorWithSubs)Log['notice'](J(0x1e0)),this[J(0x1e7)](this[J(0x1ff)]);else{if(a instanceof MustBeInProjectError)Log[J(0x201)](J(0x238));else{if(a instanceof NoMeteorFoundError)Log[J(0x201)](J(0x1da)),Log['notice'](J(0x23b));else a instanceof NoMeteorAppFoundError&&Log['error'](J(0x213));}}}[a104v(0x1e7)](a){const K=a104v,b=new a104g({});b[K(0x1d3)]([K(0x1c7),K(0x219),'Description']),a[K(0x1cb)]((c,d)=>{const L=K;return c[L(0x1b3)][L(0x1e5)](d[L(0x1b3)]);})['forEach'](c=>{const M=K,d=c[M(0x1f8)](),e=d?M(0x1ce)+c[M(0x1be)]():c['shortDesc']();b[M(0x1d3)]([c[M(0x1b3)],c[M(0x1fd)](),e]);}),Log[K(0x204)](b['toString']());}}
|
|
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 +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(0x1e9))/0x1*(parseInt(f(0x1de))/0x2)+parseInt(f(0x1df))/0x3+parseInt(f(0x1e6))/0x4*(parseInt(f(0x1e7))/0x5)+parseInt(f(0x1e1))/0x6+-parseInt(f(0x1eb))/0x7*(-parseInt(f(0x1e0))/0x8)+parseInt(f(0x1ec))/0x9*(-parseInt(f(0x1e4))/0xa)+parseInt(f(0x1e3))/0xb*(parseInt(f(0x1e8))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a105c,0x65494));var a105b=(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;};}()),a105a=a105b(this,function(){var g=a105d;return a105a[g(0x1e2)]()[g(0x1e5)]('(((.+)+)+)+$')[g(0x1e2)]()['constructor'](a105a)[g(0x1e5)](g(0x1ea));});a105a();import'./services/_index.js';import'./api.js';import'./collection.js';import'./component.js';import'./config.js';import'./dbc.js';import'./hook.js';function a105c(){var h=['2BPhlGT','1506438VUserZ','149368YKTgnK','3487566SDECOb','toString','103609iCgacW','130XUyhAS','search','18292fFdMjS','130ZBFGiK','60sJMZRA','667343FmADcZ','(((.+)+)+)+$','70sVsAvT','245007CuGxfg'];a105c=function(){return h;};return a105c();}import'./kits/_index.js';import'./layout.js';import'./methods.js';import'./package.js';import'./publish.js';import'./route.js';import'./service.js';import'./page.js';import'./maka.gen.js';import'./dockerfile.js';function a105d(a,b){var c=a105c();return a105d=function(d,e){d=d-0x1de;var f=c[d];return f;},a105d(a,b);}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=parseInt(v(
|
|
1
|
+
const a106y=a106d;(function(a,b){const v=a106d,c=a();while(!![]){try{const d=parseInt(v(0xf4))/0x1*(parseInt(v(0xef))/0x2)+parseInt(v(0x12d))/0x3+-parseInt(v(0x12f))/0x4+parseInt(v(0xfe))/0x5*(parseInt(v(0xff))/0x6)+-parseInt(v(0xec))/0x7*(parseInt(v(0x12e))/0x8)+parseInt(v(0xeb))/0x9*(-parseInt(v(0xe8))/0xa)+parseInt(v(0x113))/0xb*(-parseInt(v(0x111))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a106c,0x57282));const a106b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a106d;if(c){const e=c[w(0xfa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a106a=a106b(this,function(){const x=a106d;return a106a[x(0xf9)]()['search'](x(0x100))['toString']()[x(0x115)](a106a)[x(0x10c)](x(0x100));});function a106d(a,b){const c=a106c();return a106d=function(d,e){d=d-0xe3;let f=c[d];return f;},a106d(a,b);}a106a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import{camelCase,paramCase,pascalCase}from'change-case';function a106c(){const B=['ddp-rate-limiter','api/resolvers.js','create','apiAnswers','/graphql/typeDefs','api/tests.js','dir','pathFromApp','error','typeList.push(','1088076gRPNjk','640216BqhOgd','206652qqPJQo','api/methods.js','Scaffolding\x20for\x20an\x20API\x20boundary\x20(i.e.\x20Todos).','\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','engines','index.','rewriteDestinationPathForEngine','-rpc-methods.','GraphQL','Resolvers\x20}\x20from\x20\x27','withMethods','RPC\x20(Methods)','withGql','-api.','api/typeDefs.js','mdg:validated-method','push','const','tsx','maka\x20g:api\x20Todos','import\x20\x27./register-','6638950PPEoBc','template','options','9OTvuyv','21fZPUja','includes','TypeDefs\x20}\x20from\x20\x27','2MMyLub','-rest-api.','injectIntoFile','maka:rest','server','702271owSKXX','test','api/register-api.js','imports','withRest','toString','apply','none','withValue','maka\x20{generate,\x20g}:{api}\x20<resource-name>','3555405gtnfRL','6vLZpPq','(((.+)+)+)+$','ask','injectAtBeginningOfFile','setProjectConfig','fsi','\x0aimport\x20{\x20resolvers\x20as\x20','REST\x20API','injectAtEndOfFile','checkMeteorPackage','api','/imports/api/','length','search','/graphql/resolvers','typeDefs.','getMakaProjectConfig','resolvers.','6708rbdBrx','Resolvers);\x0a\x0a','9119QNflSE','api/api.js','constructor','TypeDefs);\x0a','resourceName','API\x20boundaries\x20to\x20create','exit','graphql','import\x20{\x20typeDefs\x20as\x20','resolverList.push(','API\x20Version?\x20[v1]','checkbox','startup','if\x20\x5c(typeList','.app-tests.','apollo'];a106c=function(){return B;};return a106c();}Generator[a106y(0x125)]({'name':a106y(0x109),'aliases':['a'],'usage':a106y(0xfd),'shortDesc':a106y(0x131),'validOpts':[a106y(0x129)],'examples':[a106y(0xe6)],'description':a106y(0x132)},async function(a,b){const z=a106y;try{const c=this[z(0x104)][z(0x10f)](),d=[{'name':z(0x13a),'value':z(0x139)}];d['push']({'name':z(0x106),'value':z(0xf8)});c[z(0x133)]['graphql']===z(0x122)&&d[z(0xe3)]({'name':z(0x137),'value':z(0x13b)});const f={'type':z(0x11e),'name':z(0x126),'message':z(0x118),'pageSize':0x64,'choices':d},g=await Actions[z(0x101)](z(0x11d))||'v1',{apiAnswers:h}=await Actions[z(0xea)](f);h[z(0x10b)]===0x0&&(Log['error']('No\x20API\x20boundaries\x20selected'),process[z(0x119)](0x1)),await this[z(0x104)][z(0xfc)](c,async()=>{const A=z,i=b[A(0x117)],j=paramCase(i),k=camelCase(i),l=b[A(0x129)]?'/'+b[A(0x129)]+'/':'/',m={'name':pascalCase(i),'apiVersion':g,'fileName':j,'camelCase':pascalCase(i),'optsDir':l,'api':c[A(0x133)][A(0x109)],'graphql':c[A(0x133)][A(0x11a)],'test':c[A(0x133)][A(0xf5)],'noRename':!![],'withMethods':h[A(0xed)](A(0x139)),'withRest':h[A(0xed)](A(0xf8))};let n='js';c[A(0x133)]['js']===A(0xe5)&&(n='ts');m['withRest']&&(this['fsi'][A(0x103)]({'engines':{'api':'rest'}}),await this[A(0x104)][A(0x108)]([A(0xf2),A(0x123),A(0x13e)],{'shouldInstall':!![]}),await this[A(0x104)][A(0xe9)]({'srcPath':A(0x114),'destPath':this[A(0x104)][A(0x12a)]({'pathParts':[A(0xf7),'api',g,b[A(0x129)],j,j+'-'+g+A(0xf0)+n]}),'context':m,'config':c}));m[A(0x139)]&&(await this['fsi'][A(0x108)]([A(0x123),'mdg:validated-method'],{'shouldInstall':!![]}),await this[A(0x104)]['template']({'srcPath':A(0x130),'destPath':this[A(0x104)][A(0x12a)]({'pathParts':[A(0xf7),'api',g,b['dir'],j,j+'-'+g+A(0x136)+n]}),'context':m,'config':c}));c['engines']['test']!==A(0xfb)&&await this[A(0x104)]['template']({'srcPath':A(0x128),'destPath':this['fsi'][A(0x12a)]({'pathParts':['imports',A(0x109),g,b['dir'],j,j+'-'+g+A(0x121)+n]}),'context':m,'config':c});if(c['engines'][A(0x11a)]==='apollo'){if(h[A(0xed)]('withGql')){const p=this[A(0x104)]['pathFromApp']({'pathParts':[A(0xf7),A(0x11f),A(0xf3),A(0x134)+c[A(0x133)]['js']]}),q=this[A(0x104)][A(0x135)]({'pathParts':[p],'config':c}),r=this[A(0x104)][A(0x12a)]({'pathParts':['imports',A(0x109),g,b[A(0x129)],j,'graphql',A(0x10e)+n]}),s=A(0x10a)+g+l+j+A(0x127);await this['fsi']['template']({'srcPath':A(0x13d),'destPath':r,'context':m,'config':c}),await this[A(0x104)][A(0x102)]({'filePath':q,'content':A(0x11b)+k+A(0xee)+s+'\x27;\x0a'}),await this[A(0x104)][A(0xf1)]({'filePath':q,'content':A(0x12c)+k+A(0x116),'begin':A(0xe4),'end':'if\x20\x5c(typeList'});const t=this[A(0x104)][A(0x12a)]({'pathParts':[A(0xf7),A(0x109),g,b['dir'],j,A(0x11a),A(0x110)+n]}),u=A(0x10a)+g+l+j+A(0x10d);await this[A(0x104)][A(0xe9)]({'srcPath':A(0x124),'destPath':t,'context':m,'config':c}),await this[A(0x104)][A(0x102)]({'filePath':q,'content':A(0x105)+k+A(0x138)+u+'\x27;'}),await this['fsi'][A(0xf1)]({'filePath':q,'content':A(0x11c)+k+A(0x112),'begin':A(0xe4),'end':A(0x120)});}}await this[A(0x104)][A(0xe9)]({'srcPath':A(0xf6),'destPath':this[A(0x104)][A(0x12a)]({'pathParts':[A(0xf7),A(0x11f),A(0xf3),'register-'+j+A(0x13c)+n]}),'context':m,'config':c,'force':!![]});const o=this[A(0x104)][A(0x12a)]({'pathParts':[A(0xf7),'startup','server',A(0x134)+c[A(0x133)]['js']]});await this[A(0x104)][A(0x107)]({'filePath':o,'content':A(0xe7)+j+'-api\x27;'});});}catch(i){console[z(0x12b)](i),process[z(0x119)](0x1);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a107d,c=a();while(!![]){try{var d
|
|
1
|
+
function a107d(a,b){var c=a107c();return a107d=function(d,e){d=d-0x72;var f=c[d];return f;},a107d(a,b);}function a107c(){var i=['8nAmCka','10483879huNMwq','2328540THgxWW','606QjOUfy','11510Wqhwvw','apply','69556bOhPTR','19jZKGzX','search','toString','33ywhUau','820089RSONtY','(((.+)+)+)+$','6593200fNzXNL','10299528PwkEJc'];a107c=function(){return i;};return a107c();}(function(a,b){var f=a107d,c=a();while(!![]){try{var d=-parseInt(f(0x75))/0x1*(-parseInt(f(0x74))/0x2)+parseInt(f(0x7f))/0x3*(-parseInt(f(0x7d))/0x4)+parseInt(f(0x72))/0x5*(-parseInt(f(0x80))/0x6)+parseInt(f(0x7e))/0x7+-parseInt(f(0x7c))/0x8+-parseInt(f(0x79))/0x9+-parseInt(f(0x7b))/0xa*(-parseInt(f(0x78))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a107c,0xed8d7));var a107b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a107d;if(c){var e=c[g(0x73)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a107a=a107b(this,function(){var h=a107d;return a107a[h(0x77)]()[h(0x76)](h(0x7a))[h(0x77)]()['constructor'](a107a)['search'](h(0x7a));});a107a();import'./aws.js';import'./cloudformation/_index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a108i=a108d;
|
|
1
|
+
const a108i=a108d;(function(a,b){const f=a108d,c=a();while(!![]){try{const d=parseInt(f(0x6c))/0x1*(-parseInt(f(0x76))/0x2)+-parseInt(f(0x78))/0x3*(-parseInt(f(0x71))/0x4)+parseInt(f(0x75))/0x5*(-parseInt(f(0x79))/0x6)+-parseInt(f(0x7c))/0x7+parseInt(f(0x7d))/0x8*(parseInt(f(0x6b))/0x9)+-parseInt(f(0x73))/0xa+parseInt(f(0x74))/0xb*(parseInt(f(0x68))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a108c,0xa5910));const a108b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a108d;if(c){const e=c[g(0x6d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a108a=a108b(this,function(){const h=a108d;return a108a[h(0x72)]()[h(0x70)](h(0x7a))[h(0x72)]()[h(0x7b)](a108a)[h(0x70)]('(((.+)+)+)+$');});a108a();import{Generator}from'../../generator.js';function a108d(a,b){const c=a108c();return a108d=function(d,e){d=d-0x68;let f=c[d];return f;},a108d(a,b);}const AWSGen=Generator[a108i(0x6e)]({'name':a108i(0x69),'usage':a108i(0x6f),'shortDesc':a108i(0x77),'minArgLength':0x1,'isPro':![],'validOpts':[],'noNeedResource':!![],'examples':[a108i(0x6a)],'experimental':!![]},async function(){});function a108c(){const j=['constructor','7787668giupxC','706424ANtNRo','33664908WiacwC','aws','maka\x20g:aws','45vZdppU','664868htOLUi','apply','create','maka\x20{generate,\x20g}:{aws}:<name>','search','1434764wmwiRs','toString','9450160iHROVK','11BNWlZo','4612145fYVErf','2AcISZo','Generate\x20AWS\x20templates','9nJRgCv','6HIOsep','(((.+)+)+)+$'];a108c=function(){return j;};return a108c();}export default AWSGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a109d,c=a();while(!![]){try{var d=parseInt(f(
|
|
1
|
+
function a109c(){var h=['289101LNcBhu','6264wDUNgD','9kaCQpG','2584232iNKCUP','constructor','951124UhjpVG','toString','644288GmPJJI','100795bUGWyh','(((.+)+)+)+$','60vKVnCi','search','912457ruvhEc'];a109c=function(){return h;};return a109c();}(function(a,b){var f=a109d,c=a();while(!![]){try{var d=parseInt(f(0xaf))/0x1+parseInt(f(0xa9))/0x2+parseInt(f(0xa3))/0x3+parseInt(f(0xa7))/0x4+parseInt(f(0xaa))/0x5*(-parseInt(f(0xac))/0x6)+-parseInt(f(0xae))/0x7+parseInt(f(0xa5))/0x8*(-parseInt(f(0xa4))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a109c,0x2fe30));var a109b=(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;};}()),a109a=a109b(this,function(){var g=a109d;return a109a[g(0xa8)]()[g(0xad)]('(((.+)+)+)+$')[g(0xa8)]()[g(0xa6)](a109a)[g(0xad)](g(0xab));});function a109d(a,b){var c=a109c();return a109d=function(d,e){d=d-0xa3;var f=c[d];return f;},a109d(a,b);}a109a();import'./cloudformation.js';import'./create-ec2-instance.cf.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a110i=a110d;(function(a,b){const f=a110d,c=a();while(!![]){try{const d=-parseInt(f(0x130))/0x1+parseInt(f(0x131))/0x2*(-parseInt(f(0x129))/0x3)+parseInt(f(0x127))/0x4*(parseInt(f(0x135))/0x5)+parseInt(f(0x133))/0x6+-parseInt(f(0x134))/0x7+-parseInt(f(0x12b))/0x8+parseInt(f(0x12a))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a110c,0xde025));function a110c(){const j=['4373994qNXtSE','12563712SOygQA','15SfzEXh','cloudformation','maka\x20{generate,\x20g}:{aws}:{cloudformation,\x20cf}','AWS\x20Cloudformation\x20templates','search','1869788RJRDuK','constructor','147kgtCEX','35900685FBZjqv','12116704wlyFfW','(((.+)+)+)+$','maka\x20g:aws:cf','create','toString','153673xHWXlV','71342HbHCbi','apply'];a110c=function(){return j;};return a110c();}const a110b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a110d;if(c){const e=c[g(0x132)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a110a=a110b(this,function(){const h=a110d;return a110a[h(0x12f)]()[h(0x126)](h(0x12c))[h(0x12f)]()[h(0x128)](a110a)['search']('(((.+)+)+)+$');});a110a();import{Generator}from'../../../generator.js';function a110d(a,b){const c=a110c();return a110d=function(d,e){d=d-0x125;let f=c[d];return f;},a110d(a,b);}import a110e from'../aws.js';const CFGen=Generator[a110i(0x12e)]({'name':a110i(0x136),'aliases':['cf'],'usage':a110i(0x137),'noNeedResource':!![],'shortDesc':a110i(0x125),'validOpts':[''],'isPro':![],'examples':[a110i(0x12d)],'experimental':!![]},async function(){},async function(){},a110e);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(a,b){const m=a111d,c=a();while(!![]){try{const d=parseInt(m(0x176))/0x1*(parseInt(m(0x17e))/0x2)+-parseInt(m(0x17b))/0x3*(-parseInt(m(0x17d))/0x4)+-parseInt(m(0x18d))/0x5+parseInt(m(0x183))/0x6*(parseInt(m(0x197))/0x7)+parseInt(m(0x185))/0x8+parseInt(m(0x198))/0x9+parseInt(m(0x186))/0xa*(-parseInt(m(0x193))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a111c,0xa251b));const a111b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a111d;if(c){const e=c[n(0x199)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a111a=a111b(this,function(){const o=a111d;return a111a[o(0x174)]()[o(0x18c)]('(((.+)+)+)+$')[o(0x174)]()[o(0x191)](a111a)[o(0x18c)](o(0x194));});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';function a111c(){const s=['ec2describeKeys','Setting\x20the\x20key-pair\x20to:\x20','constructor','ask','2200PoeCnd','(((.+)+)+)+$','AWS\x20Cloudformation\x20template\x20for\x20creating\x20an\x20EC2\x20instance','chooseSecurityGroup','7VrXgvH','8218359OqYrjP','apply','create-ec2-instance','replaceAll','toString','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','32MxKard','maka\x20g:aws:cf:cec2i','No\x20instance\x20has\x20been\x20created.','Please\x20choose\x20a\x20key\x20to\x20use:\x20','fsi','9cIFiOC','findProjectDirectory','884608rRJEVM','67146lAEshX','cloudformation','join','maka\x20{generate,\x20g}:{aws}:{cloudformation,\x20cf}:cec2i','create','1219572axcamF','success','9765984RdYpks','158320IShHWw','create-ec2-instance.template','name','notice','error','template','search','1218470pschsH','withValue'];a111c=function(){return s;};return a111c();}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a111f from'./cloudformation.js';function a111d(a,b){const c=a111c();return a111d=function(d,e){d=d-0x173;let f=c[d];return f;},a111d(a,b);}const CEC2Gen=Generator[a111p(0x182)]({'name':a111p(0x19a),'aliases':['cec2i'],'usage':a111p(0x181),'noNeedResource':!![],'shortDesc':a111p(0x195),'validOpts':[''],'isPro':![],'examples':[a111p(0x177)],'experimental':!![]},async function(){const q=a111p,a=new AWS();try{const b=this[q(0x17a)]['getMakaProjectConfig'](),c=this['fsi'][q(0x17c)](),d=a111e[q(0x180)](c,q(0x17f)),f=await a[q(0x18f)](),g=await Actions[q(0x192)](q(0x179))||'-1';if(parseInt(g)<0x0){Log[q(0x18a)](q(0x175)),Log[q(0x189)](q(0x178));return;}let h='';if(f)for(const k of f){if(parseInt(g)===k['id']){h=k[q(0x188)],Log[q(0x184)](q(0x190)+h);break;}}const i=await a[q(0x196)](),j={'amiId':'ami-055744c75048d8296','keyPair':h,'sgId':i,'instanceName':headerCase(b['appName'])[q(0x173)]('-','\x20')};await this['fsi'][q(0x18e)](b,async()=>{const r=q;await this['fsi'][r(0x18b)]({'srcPath':'cloudformation/create-ec2-instance.template','destPath':a111e['join'](d,r(0x187)),'framework':'aws','context':j,'config':b,'ignore':![]});});}catch(l){Log[q(0x18a)](l),process['exit'](0x1);}},async function(){},a111f);export default CEC2Gen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a112m=a112d;(function(a,b){const j=a112d,c=a();while(!![]){try{const d=parseInt(j(0xf9))/0x1*(-parseInt(j(0xf6))/0x2)+parseInt(j(0x104))/0x3*(parseInt(j(0x113))/0x4)+parseInt(j(0xf2))/0x5*(-parseInt(j(0xf8))/0x6)+-parseInt(j(0x108))/0x7+parseInt(j(0x116))/0x8+-parseInt(j(0x106))/0x9+parseInt(j(0xfd))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a112c,0x38c6d));const a112b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a112d;if(c){const e=c[k(0xf3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a112a=a112b(this,function(){const l=a112d;return a112a['toString']()[l(0x109)]('(((.+)+)+)+$')[l(0x107)]()['constructor'](a112a)[l(0x109)](l(0xfe));});a112a();function a112c(){const p=['190GSsMFr','apply','withValue','mongo','2qcAzkO','imports','70998mYpnJT','295506JTfGTe','Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection','import\x20\x27./collections','template','8921250XfRKFk','(((.+)+)+)+$','getMakaProjectConfig','engines','none','collection/collection.js','fsi','4869IcHWFi','col','3373281TEmrOz','toString','48615nfZEbU','search','\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','dir','maka\x20g:collection\x20todos','test','maka\x20{generate,\x20g}:{collection,\x20col}\x20<name>','injectAtEndOfFile','tsx','startup','collection/tests.js','1128INxNKE','resourceName','pathFromApp','77280SMgEUQ','.app-tests.','error','collections','appPathPrefix','where'];a112c=function(){return p;};return a112c();}import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a112d(a,b){const c=a112c();return a112d=function(d,e){d=d-0xef;let f=c[d];return f;},a112d(a,b);}import{Log}from'../tools/log/log.class.js';Generator['create']({'name':'collection','aliases':[a112m(0x105)],'usage':a112m(0x10e),'checkWhere':!![],'shortDesc':a112m(0xfa),'validOpts':[a112m(0x10b),a112m(0xf1)],'description':a112m(0x10a),'examples':[a112m(0x10c)]},async function(a,b){const n=a112m;try{const c=this[n(0x103)][n(0xff)]();await this[n(0x103)][n(0xf4)](c,async()=>{const o=n,d=paramCase(b['resourceName']),f={'name':pascalCase(b[o(0x114)]),'collectionName':pascalCase(b[o(0x114)]),'fileName':d,'where':b['where'],'test':c[o(0x100)][o(0x10d)],'noRename':!![]};let g='js';c[o(0x100)]['js']===o(0x110)&&(g='ts');await this[o(0x103)]['checkMeteorPackage']([o(0xf5)],{'shouldInstall':!![]}),await this[o(0x103)][o(0xfc)]({'srcPath':o(0x102),'destPath':this['fsi'][o(0x115)]({'pathParts':[o(0xf7),o(0x111),b[o(0xf0)],o(0xef),b[o(0x10b)],d+'.'+g]}),'context':f,'config':c});c[o(0x100)][o(0x10d)]!==o(0x101)&&await this[o(0x103)][o(0xfc)]({'srcPath':o(0x112),'destPath':this[o(0x103)][o(0x115)]({'pathParts':[o(0xf7),o(0x111),b[o(0xf0)],o(0xef),b[o(0x10b)],d+o(0x117)+g]}),'context':f,'config':c});const h=b[o(0x10b)]?'/'+b['dir']+'/':'/',i=this[o(0x103)][o(0x115)]({'pathParts':[o(0xf7),'startup',b[o(0xf0)],'index.'+c[o(0x100)]['js']]});await this[o(0x103)][o(0x10f)]({'filePath':i,'content':o(0xfb)+h+d+'\x27;'});});}catch(d){Log[n(0x118)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a113n=a113d;(function(a,b){const k=a113d,c=a();while(!![]){try{const d
|
|
1
|
+
const a113n=a113d;(function(a,b){const k=a113d,c=a();while(!![]){try{const d=-parseInt(k(0x116))/0x1*(-parseInt(k(0x12a))/0x2)+-parseInt(k(0xfd))/0x3*(parseInt(k(0x11f))/0x4)+parseInt(k(0x110))/0x5*(parseInt(k(0x132))/0x6)+parseInt(k(0x10f))/0x7*(parseInt(k(0x133))/0x8)+-parseInt(k(0x111))/0x9*(-parseInt(k(0x11e))/0xa)+-parseInt(k(0x120))/0xb*(parseInt(k(0x11a))/0xc)+-parseInt(k(0x12f))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a113c,0xdc4a0));const a113b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a113d;if(c){const e=c[l(0x10c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a113a=a113b(this,function(){const m=a113d;return a113a[m(0x117)]()['search']('(((.+)+)+)+$')['toString']()[m(0xfc)](a113a)['search'](m(0x123));});a113a();function a113d(a,b){const c=a113c();return a113d=function(d,e){d=d-0xf7;let f=c[d];return f;},a113d(a,b);}function a113c(){const q=['.js','apply','setTemplate','none','14oxsHZu','10KHECJu','27IKgmkD','.css','cssCaseName','error','withTranslations','20407AtHRqn','toString','relative','withValue','493908dFRJdA','fileName','checkNpmPackage','css','2755180RCixog','1008Orbysh','352MYHVtk','maka\x20g:comp\x20todos/todos-item','create','(((.+)+)+)+$','installNpmPackage','assign','dir','client','/imports/ui/','component','66UiELMk','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','resourceName','injectTemplateModule','fsi','19717477ZrvoJY','/imports/ui/components','component/component.js','5037804kBmHgA','6548768zCDDpJ','react','ssr','pathFromProject','import\x20\x27./','Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','template','pathFromApp','constructor','12861GdvONG','injectAtBeginningOfFile','root','features','baseDir','className','warn','ramda','engines','string','maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','true','template/template.css','test'];a113c=function(){return q;};return a113c();}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=['comp'];Generator[a113n(0x122)]({'name':a113n(0x129),'aliases':aliases,'usage':a113n(0x107),'shortDesc':a113n(0xf9),'validOpts':[{'name':'baseDir'}],'examples':[a113n(0x121)]},async function(a,b){const o=a113n;try{const c=this[o(0x12e)]['findAppDirectory'](),d=b[o(0x101)]?o(0x128)+b[o(0x101)]:o(0x130),f=this[o(0x12e)][o(0xfb)]({'pathParts':[d,b[o(0x126)],paramCase(b['resourceName']),paramCase(b[o(0x12c)])]}),g=await this[o(0x12e)]['getMakaProjectConfig']();await this[o(0x12e)][o(0x119)](g,async()=>{const p=o;typeof g[p(0xfa)][p(0x10a)]==='string'&&(g[p(0xfa)]['test']=g[p(0xfa)]['test']===p(0x108)?!![]:![],this[p(0x12e)][p(0x10d)]('test',g[p(0xfa)][p(0x10a)]));typeof g[p(0xfa)][p(0x11d)]===p(0x106)&&(g[p(0xfa)]['css']=g[p(0xfa)][p(0x11d)]==='true'?!![]:![],this[p(0x12e)]['setTemplate'](p(0x11d),g['template'][p(0x11d)]));typeof g[p(0xfa)]['js']===p(0x106)&&(g[p(0xfa)]['js']=g['template']['js']===p(0x108)?!![]:![],this[p(0x12e)]['setTemplate']('js',g[p(0xfa)]['js']));!g[p(0x100)]&&(g[p(0x100)]={});!b[p(0xff)]&&!this[p(0x12e)]['checkNpmPackage'](p(0x104))&&(Log[p(0x103)](p(0x12b)),await this[p(0x12e)][p(0x124)](p(0x104),{'cwd':c}));if(!b[p(0xff)]&&!this[p(0x12e)][p(0x11c)](p(0x134))){Log['error']('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');return;}const h={'name':pascalCase(b[p(0x12c)]),'myPath':a113e[p(0x118)](this[p(0x12e)][p(0xf7)]({}),f),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[p(0x12c)]),'camelCaseName':camelCase(b[p(0x12c)]),'fileName':paramCase(b[p(0x12c)]),'graphql':g[p(0x105)]['graphql'],'features':g[p(0x100)],'client':g[p(0x105)][p(0x127)],'api':g[p(0x105)]['api'],'ssr':g[p(0x105)][p(0x135)],'test':g[p(0x105)]['test'],'theme':g[p(0x105)]['theme'],'isLayout':![],'isComponent':!![],'withTranslations':g['features'][p(0x115)]};await this[p(0x12e)][p(0xfa)]({'srcPath':p(0x131),'destPath':f+p(0x10b),'context':h,'framework':'react','config':g});g[p(0x105)][p(0x10a)]!==p(0x10e)&&await this['fsi']['template']({'srcPath':'test/test.js','destPath':f+'.tests.js','context':h,'framework':p(0x134),'config':g});g[p(0xfa)][p(0x11d)]&&(await this[p(0x12e)][p(0xfa)]({'srcPath':p(0x109),'destPath':f+p(0x112),'context':Object[p(0x125)]({},h,{'className':paramCase(b[p(0x12c)])}),'config':g}),await this[p(0x12e)][p(0xfe)]({'filePath':f+'.'+g[p(0x105)]['js'],'content':p(0xf8)+h[p(0x113)]+'.'+g['engines'][p(0x11d)]+'\x27;'}));const i=b['dir']?'/'+b[p(0x126)]+'/':'/',j=''+d+i+h[p(0x11b)]+'/'+h[p(0x11b)];await this[p(0x12e)][p(0x12d)](h[p(0x102)],g,j);});}catch(h){Log[o(0x114)](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a114l=a114d;(function(a,b){const i=a114d,c=a();while(!![]){try{const d=-parseInt(i(0x1c0))/0x1+parseInt(i(0x1c8))/0x2*(parseInt(i(0x1d0))/0x3)+-parseInt(i(0x1bb))/0x4*(-parseInt(i(0x1d1))/0x5)+parseInt(i(0x1cd))/0x6*(parseInt(i(0x1ba))/0x7)+parseInt(i(0x1c1))/0x8*(parseInt(i(0x1af))/0x9)+-parseInt(i(0x1b4))/0xa+-parseInt(i(0x1c9))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a114c,0x34f90));const a114b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a114d;if(c){const e=c[j(0x1ca)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a114a=a114b(this,function(){const k=a114d;return a114a[k(0x1b6)]()[k(0x1ce)](k(0x1b3))['toString']()['constructor'](a114a)['search'](k(0x1b3));});function a114c(){const o=['error','config/process.env','7dKTSJB','209604CalcbU','maka\x20{generate,\x20g}:{config}\x20<name>','process.env','pm2.config.js','create','290743QZYPpX','8QgnhzT','config/settings.json','fsi','prod','production','pathFromProject','appName','2HOfyJe','6923763VTiQhD','apply','local','maka\x20g:config\x20production','1574634fyGEft','search','isDocker','1259931nEAYbE','20uoEmxE','dev','template','development','config/pm2.config.js','3642417pzCNnO','resourceName','getMakaProjectConfig','settings.json','(((.+)+)+)+$','1595810bKoEny','config','toString','withValue'];a114c=function(){return o;};return a114c();}a114a();function a114d(a,b){const c=a114c();return a114d=function(d,e){d=d-0x1af;let f=c[d];return f;},a114d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a114l(0x1bf)]({'name':a114l(0x1b5),'usage':a114l(0x1bc),'shortDesc':'Generate\x20configuration\x20settings.','validOpts':[a114l(0x1cf)],'examples':[a114l(0x1cc)]},async function(a,b){const m=a114l;try{const c=this[m(0x1c3)][m(0x1b1)]();await this[m(0x1c3)][m(0x1b7)](c,async()=>{const n=m,d={'app':c[n(0x1c7)],'appFileCase':paramCase(c[n(0x1c7)]),'name':pascalCase(b[n(0x1b0)]),'fileName':paramCase(b[n(0x1b0)]),'camelCase':camelCase(b[n(0x1b0)]),'userName':'ubuntu','isDocker':b['isDocker']};let e=b['resourceName'];if(e===n(0x1d2))e=n(0x1d4);else e===n(0x1c4)&&(e=n(0x1c5));const f=this[n(0x1c3)][n(0x1c6)]({'pathParts':[n(0x1b5),e,n(0x1b2)]});await this[n(0x1c3)][n(0x1d3)]({'srcPath':n(0x1c2),'destPath':f,'context':d,'config':c});if(e!==n(0x1cb)){const g=this[n(0x1c3)][n(0x1c6)]({'pathParts':[n(0x1b5),e,n(0x1be)]});await this[n(0x1c3)]['template']({'srcPath':n(0x1d5),'destPath':g,'context':{'app':c['appName'],'isDocker':!![]},'config':c});}if(e==='local'){const h=this[n(0x1c3)][n(0x1c6)]({'pathParts':[n(0x1b5),e,n(0x1bd)]});await this[n(0x1c3)]['template']({'srcPath':n(0x1b9),'destPath':h,'context':d,'config':c});}});}catch(d){Log[m(0x1b8)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a115k=a115d;(function(a,b){const i=a115d,c=a();while(!![]){try{const d
|
|
1
|
+
const a115k=a115d;(function(a,b){const i=a115d,c=a();while(!![]){try{const d=-parseInt(i(0x120))/0x1*(-parseInt(i(0x118))/0x2)+parseInt(i(0x116))/0x3*(-parseInt(i(0x134))/0x4)+parseInt(i(0x10f))/0x5*(parseInt(i(0x13b))/0x6)+-parseInt(i(0x130))/0x7*(-parseInt(i(0x138))/0x8)+-parseInt(i(0x12b))/0x9+-parseInt(i(0x128))/0xa+parseInt(i(0x119))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0x659b7));const a115b=(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;};}()),a115a=a115b(this,function(){const j=a115d;return a115a['toString']()[j(0x132)](j(0x139))[j(0x137)]()['constructor'](a115a)[j(0x132)]('(((.+)+)+)+$');});a115a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a115c(){const n=['startup','50aaUkht','resourceName','dir','maka\x20g:dbc\x20azure\x20--type=mssql','tsx','engines','pathFromApp','33SROOEG','imports','172166aDywqT','7726400uPzHGA','checkNpmPackage','maka\x20g:dbc\x20geoserver\x20--type=pgsql','conn.','mssql','fsi','server','5olVWpc','maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','dbc','sqlite','import\x20\x27./register-','withValue','getMakaProjectConfig','7944400OvPNcZ','injectAtEndOfFile','type','3310542EyraWJ','create','template','register-','-dbc.','7CfGnqq','-dbc\x27;','search','dbc/register-dbc.js','117268mUyzzq','better-sqlite3','config.','toString','5829144ZEcbtN','(((.+)+)+)+$','pgsql','23694smgvws'];a115c=function(){return n;};return a115c();}function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-0x10e;let f=c[d];return f;},a115d(a,b);}import{Log}from'../tools/log/log.class.js';Generator[a115k(0x12c)]({'name':'dbc','usage':a115k(0x121),'shortDesc':a115k(0x122),'validOpts':['dir'],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a115k(0x12a),'values':[a115k(0x13a),'mssql',a115k(0x124)]}],'examples':[a115k(0x11b),a115k(0x112),'maka\x20g:dbc\x20todos\x20--type=sqlite']},async function(a,b){const l=a115k;try{const c=await this[l(0x11e)][l(0x127)](),d=paramCase(b[l(0x110)]),f={'name':pascalCase(b['resourceName']),'fileName':paramCase(b['resourceName']),'camelCase':camelCase(b['resourceName']),'type':b[l(0x12a)],'engine':c[l(0x114)]['js'],'noRename':!![]};await this[l(0x11e)][l(0x126)](c,async()=>{const m=l;let g='js';c[m(0x114)]['js']===m(0x113)&&(g='ts');b[m(0x12a)]==='pgsql'&&await this[m(0x11e)][m(0x11a)]('pg',{'shouldInstall':!![]});b['type']===m(0x11d)&&await this[m(0x11e)][m(0x11a)](m(0x11d),{'shouldInstall':!![]});b[m(0x12a)]===m(0x124)&&await this[m(0x11e)][m(0x11a)](m(0x135),{'shouldInstall':!![]});await this['fsi']['template']({'srcPath':'dbc/config.js','destPath':this[m(0x11e)][m(0x115)]({'pathParts':[m(0x117),m(0x10e),m(0x11f),m(0x123),b[m(0x111)],d,m(0x136)+g]}),'context':f,'config':c}),await this['fsi'][m(0x12d)]({'srcPath':'dbc/conn.js','destPath':this['fsi'][m(0x115)]({'pathParts':[m(0x117),'startup',m(0x11f),'dbc',b[m(0x111)],d,m(0x11c)+g]}),'context':f,'config':c}),await this['fsi'][m(0x12d)]({'srcPath':m(0x133),'destPath':this[m(0x11e)]['pathFromApp']({'pathParts':[m(0x117),'startup',m(0x11f),m(0x12e)+d+m(0x12f)+g]}),'context':f,'config':c});const h=this[m(0x11e)][m(0x115)]({'pathParts':['imports',m(0x10e),m(0x11f),'index.'+c[m(0x114)]['js']]});await this[m(0x11e)][m(0x129)]({'filePath':h,'content':m(0x125)+d+m(0x131)});});}catch(g){Log['error'](g);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a116j=a116d;(function(a,b){const h=a116d,c=a();while(!![]){try{const d=parseInt(h(0x16e))/0x1*(parseInt(h(0x179))/0x2)+parseInt(h(0x176))/0x3*(parseInt(h(0x163))/0x4)+-parseInt(h(0x16b))/0x5+parseInt(h(0x15f))/0x6*(-parseInt(h(0x15b))/0x7)+parseInt(h(0x167))/0x8*(parseInt(h(0x161))/0x9)+parseInt(h(0x175))/0xa+-parseInt(h(0x15d))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x57339));const a116b=(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;};}()),a116a=a116b(this,function(){const i=a116d;return a116a[i(0x169)]()[i(0x17a)]('(((.+)+)+)+$')[i(0x169)]()[i(0x15c)](a116a)[i(0x17a)](i(0x172));});a116a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x15a;let f=c[d];return f;},a116d(a,b);}function a116c(){const m=['getMakaProjectConfig','toString','force','2444935ELbDTc','app.tar.gz','create','8pZCMRr','join','getGlobalConfig','Dockerfile','(((.+)+)+)+$','app','isFile','5755560qWWnrx','24YacgpK','error','maka\x20{generate,\x20g}:dockerfile','113810qlCPcp','search','cert','449897JvrtfW','constructor','8836718rhMibe','findProjectDirectory','30MMrnRg','build','9qmJEtE','service','349772ogUlVY','fsi','appName','withValue','1924136EIKZHf'];a116c=function(){return m;};return a116c();}import a116e from'path';Generator[a116j(0x16d)]({'name':'dockerfile','usage':a116j(0x178),'shortDesc':'Generate\x20an\x20updated\x20dockerfile','validOpts':[{'name':a116j(0x16a),'boolFlag':!![]}],'noNeedResource':!![],'examples':['maka\x20g:dockerfile']},async function(a,b){const k=a116j;try{const c=await this[k(0x164)][k(0x168)](),d=await this['fsi'][k(0x170)](),f=this[k(0x164)][k(0x15e)]();await this[k(0x164)][k(0x166)](c,async()=>{const l=k,g={'app':d[l(0x165)],'config':c,'appPath':a116e[l(0x16f)](f,l(0x173)),'bundlePath':a116e[l(0x16f)](f,l(0x160),l(0x16c)),'useCert':this['fsi'][l(0x174)](d[l(0x15a)])};await this[l(0x164)]['template']({'srcPath':'docker/Dockerfile','destPath':a116e[l(0x16f)](f,l(0x171)),'framework':l(0x162),'context':g,'config':c,'force':b['force']});});}catch(g){Log[k(0x177)](g);}});
|