@maka/maka-cli 4.12.13 → 4.12.15
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/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(0x1db))/0x1*(-parseInt(f(0x1ea))/0x2)+-parseInt(f(0x1e7))/0x3*(parseInt(f(0x1eb))/0x4)+parseInt(f(0x1df))/0x5+-parseInt(f(0x1e5))/0x6*(parseInt(f(0x1e3))/0x7)+-parseInt(f(0x1de))/0x8*(-parseInt(f(0x1e1))/0x9)+parseInt(f(0x1e4))/0xa*(-parseInt(f(0x1e0))/0xb)+-parseInt(f(0x1e9))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a96c,0x9b009));function a96d(a,b){const c=a96c();return a96d=function(d,e){d=d-0x1da;let f=c[d];return f;},a96d(a,b);}function a96c(){const k=['Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','91KwKHxN','290HVLbbE','278634WxbtIh','(((.+)+)+)+$','3FwplxW','apply','1718484cRbKqK','82OtPfXO','813544Npfrms','create','13249cnLygQ','runSubCommand','findSubCommand','6641080cSjEzJ','5194045amPyVV','313676UfFokG','9QpUZqt'];a96c=function(){return k;};return a96c();}const a96b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a96d;if(c){const e=c[g(0x1e8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a96a=a96b(this,function(){const h=a96d;return a96a['toString']()['search'](h(0x1e6))['toString']()['constructor'](a96a)['search'](h(0x1e6));});a96a();import{Command}from'../../command.js';const SetCommand=Command[a96i(0x1da)]({'name':'set','usage':'maka\x20set:<sub-command>','shortDesc':a96i(0x1e2),'description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','validOpts':[]},async function(a,b){const j=a96i,c=a[0x0],d=this[j(0x1dd)](c);d&&this[j(0x1dc)](c,a,b);});export default SetCommand;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a97m=a97d;(function(a,b){const j=a97d,c=a();while(!![]){try{const d=parseInt(j(0x20f))/0x1+parseInt(j(0x1f8))/0x2*(-parseInt(j(0x210))/0x3)+-parseInt(j(0x211))/0x4*(-parseInt(j(0x204))/0x5)+parseInt(j(0x1f9))/0x6+-parseInt(j(0x206))/0x7*(parseInt(j(0x214))/0x8)+-parseInt(j(0x1fa))/0x9*(parseInt(j(0x1f6))/0xa)+-parseInt(j(0x205))/0xb*(parseInt(j(0x20e))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a97c,0x22272));const a97b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a97d;if(c){const e=c[k(0x1fd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a97a=a97b(this,function(){const l=a97d;return a97a[l(0x20a)]()['search'](l(0x201))[l(0x20a)]()[l(0x218)](a97a)[l(0x1f7)](l(0x201));});a97a();import a97e from'fs';function a97d(a,b){const c=a97c();return a97d=function(d,e){d=d-0x1f4;let f=c[d];return f;},a97d(a,b);}import a97f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';function a97c(){const o=['3joAtBX','4CAPYbg','length','sshSync','12984PrLLLP','join','env','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','constructor','maka\x20ssh\x20<command>','parse','7730tNMGGj','search','286072xAiZQg','288492IvyVUH','2097qKQxvV','assign','ssh.json','apply','exit','maka\x20ssh\x20--env\x20dev','create','(((.+)+)+)+$','readFileSync','fsi','1316335WjoOeK','869gchGIs','287NfjvUg','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','getAppConfigPath','maka\x20ssh\x20--env\x20staging','toString','error','maka\x20ssh\x20--env\x20prod','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','8664pAmVce','275267chsXhF'];a97c=function(){return o;};return a97c();}import{Log}from'../tools/log/log.class.js';Command[a97m(0x200)]({'name':'ssh','usage':a97m(0x1f4),'mustBeInMakaProject':!![],'requiredOpts':[a97m(0x216)],'validOpts':[a97m(0x216),'verbose'],'shortDesc':a97m(0x207),'examples':[a97m(0x1ff),a97m(0x209),a97m(0x20c),a97m(0x20d),a97m(0x217),'maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22']},async function(a,b){const n=a97m;try{const c=this[n(0x203)][n(0x208)](b[n(0x216)]);let d='';a[n(0x212)]>0x0&&(d=a[0x0]);const f=a97f[n(0x215)](c,n(0x1fc)),g=a97e[n(0x202)](f)[n(0x20a)](),h=JSON[n(0x1f5)](g);Object[n(0x1fb)](h,{'env':c}),SSH[n(0x213)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['verbose']});}catch(i){Log[n(0x20b)](i),process[n(0x1fe)](0x1);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a98x=a98d;(function(a,b){const v=a98d,c=a();while(!![]){try{const d=-parseInt(v(0xa7))/0x1+parseInt(v(0x92))/0x2+-parseInt(v(0x8c))/0x3+-parseInt(v(0xbe))/0x4+parseInt(v(0xb3))/0x5+-parseInt(v(0xa5))/0x6+parseInt(v(0x97))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a98c,0x71a45));const a98b=(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;};}()),a98a=a98b(this,function(){const w=a98d;return a98a[w(0x8d)]()[w(0xb2)](w(0x95))[w(0x8d)]()['constructor'](a98a)[w(0xb2)](w(0x95));});a98a();import a98e from'fs';function a98d(a,b){const c=a98c();return a98d=function(d,e){d=d-0x8b;let f=c[d];return f;},a98d(a,b);}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['create']({'name':a98x(0xb0),'usage':a98x(0xc1),'validOpts':['domains',a98x(0xc5)],'requiredOpts':[a98x(0xbd)],'shortDesc':a98x(0xae),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a98x(0xa2),a98x(0xba),a98x(0xa9)]},async function(a,b){const y=a98x,c=this['fsi'][y(0x9a)](),d=this[y(0x9e)][y(0x8e)](b[y(0xbd)]),f=this[y(0x9e)][y(0xc3)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g==='generate-csr')SSL[y(0xa4)]({'keyName':c['appName']+y(0x94),'csrName':c[y(0x91)]+y(0xb8),'cwd':f});else{if(g===y(0x9b)){if(!a98e['existsSync'](a98f[y(0xc0)](f,c[y(0x91)]+y(0x94))))throw y(0xaf)+a98f[y(0xc0)](f,c[y(0x91)]+'.key');if(!a98e[y(0xc4)](a98f[y(0xc0)](f,c[y(0x91)]+'.csr')))throw y(0xbb)+a98f['join'](f,c[y(0x91)]+y(0xb8));SSL[y(0x8b)]({'keyName':c[y(0x91)]+y(0x94),'crtName':c[y(0x91)]+y(0xbc),'cwd':f}),Log[y(0x99)](y(0xb9)+f);}else{if(g===y(0x9d)){let h=b[y(0xb4)],i=b[y(0xc5)];try{const p=a98e[y(0x9f)](a98f[y(0xc0)](d,y(0xc7)))['toString'](),q=JSON[y(0x98)](p);h=b[y(0xb4)]?b['domains']:q[y(0xa6)],i=b[y(0xc5)]?b['email']:q['emailUpdate'],(!b[y(0xc5)]||!b[y(0xb4)])&&Log[y(0x99)]('Using\x20saved\x20letsencrypt\x20config');}catch(r){}const j=JSON[y(0x98)](a98e[y(0x9f)](d+'/ssh.json')[y(0x8d)]());Object[y(0xa0)](j,{'env':d}),Log[y(0x99)](y(0x8f));try{const s=SSH[y(0x93)](y(0xac),j);if(!s)throw y(0xa3);if(s)Log[y(0x96)](y(0xad));}catch(t){Log[y(0xb7)](t);return;}const k=Log[y(0x90)]();k[y(0xa8)](y(0xbf)),SSH['ssh'](y(0xb6),{...j}),SSH['ssh']('sudo\x20snap\x20install\x20--classic\x20certbot',{...j}),SSH['ssh'](y(0x9c),{...j}),k[y(0x96)]();const l=h?h:await Actions[y(0xab)](y(0xaa)),m=i?i:await Actions['ask'](y(0xa1));SSH['ssh'](y(0xc6)+l+y(0xb1)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON['stringify'](n,null,0x2);a98e[y(0xc2)](a98f[y(0xc0)](d,y(0xc7)),o);}else throw'Please\x20provide\x20a\x20command.';}}}catch(u){console['error'](u),process[y(0xb5)](0x0);}});function a98c(){const z=['Create\x20and\x20manage\x20your\x20SSL\x20operations.','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','ssl','\x20--email\x20','search','4139510nlAxkG','domains','exit','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','error','.csr','New\x20CSR\x20written\x20to\x20','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','.crt','env','1446572rxszco','Verifying\x20Letsencrypt\x20configuration','join','maka\x20ssl\x20[command]','writeFileSync','mkKeysDir','existsSync','email','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','letsencrypt.json','genSSC','547209QZOlnX','toString','getAppConfigPath','Checking\x20remote\x20host\x20availability','withSpinner','appName','260222QpFNog','ping','.key','(((.+)+)+)+$','success','4774140cnTJxn','parse','notice','getMakaProjectConfig','generate-ssc','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','letsencrypt','fsi','readFileSync','assign','Email\x20to\x20use\x20for\x20auto-updates:\x20','maka\x20ssl\x20--env\x20dev\x20generate-csr','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','genCSR','1090506pfWPsP','domainNames','448759LRVcBc','start','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','[?]\x20Domains\x20to\x20register:\x20','ask','uname\x20-a','Remote\x20host\x20connection\x20successful'];a98c=function(){return z;};return a98c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a99p=a99d;(function(a,b){const m=a99d,c=a();while(!![]){try{const d=parseInt(m(0xa7))/0x1+parseInt(m(0xbb))/0x2*(-parseInt(m(0xc9))/0x3)+-parseInt(m(0xa0))/0x4+parseInt(m(0xc5))/0x5*(-parseInt(m(0xb7))/0x6)+-parseInt(m(0xa4))/0x7*(-parseInt(m(0xc6))/0x8)+parseInt(m(0xb2))/0x9+parseInt(m(0xa2))/0xa*(parseInt(m(0x9a))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a99c,0xf3b84));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 n=a99d;return a99a[n(0xb1)]()[n(0xad)]('(((.+)+)+)+$')['toString']()[n(0xa3)](a99a)[n(0xad)](n(0xba));});a99a();import a99e from'fs';function a99d(a,b){const c=a99c();return a99d=function(d,e){d=d-0x8e;let f=c[d];return f;},a99d(a,b);}import a99f from'path';import a99g from'dotenv';function a99c(){const s=['150755swHNHb','once','none','--driver-package','env','testAppPath','3979636QelBCt','development','1460PyuHKk','constructor','622006jlbwQX','mocha','driver-package','1031925fxgGzT','create','driverPackage','--env','tests','--driver','search','--full-app','readFileSync','exit','toString','6068745nsesOB','getAppConfigPath','--packages','rawLogs','inspect','213294itQPJg','openSync','notice','(((.+)+)+)+$','132VOCJwA','config.json','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','parse','maka\x20test','filter','join','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','jasmine','--settings','75aaomJy','24uQKfnn','driver','unit','65787hnHPyi','error','packages','port','concat','warn','test','settings.json','.maka','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','argv','engines','fsi','Node\x20Env\x20Config:\x20'];a99c=function(){return s;};return a99c();}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const o=a99d;a99e[o(0xb8)](a,'r'),a99g['config']({'path':a});};Command[a99p(0xa8)]({'name':'test','mustBeInMakaProject':!![],'validOpts':[a99p(0x9b),'packages',a99p(0xc7),a99p(0xa9),a99p(0xc8),a99p(0x9e),a99p(0xb5),a99p(0x8f),a99p(0xb6),a99p(0x9f)],'usage':a99p(0xbf),'aliases':['t',a99p(0xab)],'shortDesc':a99p(0x95),'examples':[]},function(a,b){const q=a99p;try{let c=this[q(0x98)]['getAppConfigPath'](q(0xa1));b[q(0x9e)]&&(c=this[q(0x98)][q(0xb3)](b[q(0x9e)]));(!b[q(0xc8)]||!!b['once'])&&(a=a[q(0x90)]([q(0xae)]));b['unit']&&delete b[q(0xc8)];let d=b[q(0xa6)]||b['driver']||q(0x9c);if(d===q(0x9c)){const j=JSON[q(0xbe)](a99e[q(0xaf)](a99f[q(0xc1)](this[q(0x98)]['findProjectDirectory'](),q(0x94),q(0xbc)),'utf8'));if(j[q(0x97)][q(0x92)]===q(0xc3))d='sanjo:jasmine';else j[q(0x97)]['test']===q(0xa5)&&(d='meteortesting:mocha');}if(d==='none')throw q(0xbd);(!b[q(0xa6)]||!b[q(0xc7)])&&(a=a[q(0x90)]([q(0x9d),d]));const f=a99f[q(0xc1)](c,q(0x93));this[q(0x98)]['isFile'](f)?(Log['notice']('Meteor\x20Settings:\x20'+f),a=a['concat']([q(0xc4),f])):Log[q(0x91)](q(0xc2)+f);const g=a99f[q(0xc1)](c,'process.env');this[q(0x98)]['isFile'](g)?(Log[q(0xb9)](q(0x99)+g),syncSource(g)):Log[q(0x91)]('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+g);const h=process[q(0x96)]['slice'](0x2)['filter'](k=>k!==q(0xaa))[q(0xc0)](k=>k!==q(0x92))[q(0xc0)](k=>k!==a[0x0]);h['forEach']((k,l)=>{const r=q;(k===r(0xaa)||k===r(0xac))&&h['splice'](l,0x2),k===r(0xb4)&&h['splice'](l,0x1);});const i=b[q(0x8e)]?'test-packages':q(0x92);this[q(0x98)]['invokeMeteorCommand'](i,a[q(0x90)](h));}catch(k){console[q(0xca)](k),process[q(0xb0)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a100d,c=a();while(!![]){try{var d
|
|
1
|
+
var a100i=a100d;(function(a,b){var f=a100d,c=a();while(!![]){try{var d=parseInt(f(0xae))/0x1*(parseInt(f(0xa9))/0x2)+-parseInt(f(0xb1))/0x3*(parseInt(f(0xb5))/0x4)+-parseInt(f(0xab))/0x5+parseInt(f(0xb4))/0x6+parseInt(f(0xb3))/0x7*(parseInt(f(0xa8))/0x8)+-parseInt(f(0xb2))/0x9*(parseInt(f(0xad))/0xa)+-parseInt(f(0xaa))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a100c,0xd997d));function a100d(a,b){var c=a100c();return a100d=function(d,e){d=d-0xa8;var f=c[d];return f;},a100d(a,b);}var a100b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a100d;if(c){var e=c[g(0xb7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a100a=a100b(this,function(){var h=a100d;return a100a[h(0xac)]()[h(0xb9)](h(0xb6))[h(0xac)]()['constructor'](a100a)[h(0xb9)](h(0xb6));});a100a();import{Command}from'../command.js';import a100e from'../generators/maka.gen.js';Command[a100i(0xaf)]({'name':a100i(0xb0),'aliases':['u'],'validOpts':[],'shortDesc':a100i(0xb8)},async function(){a100e['undo']();});function a100c(){var j=['4304260GlpEDK','(((.+)+)+)+$','apply','Read\x20the\x20project\x27s\x20history\x20and\x20attempt\x20to\x20under\x20the\x20last\x20action','search','6252096MHgwGd','22564FOBIQy','3653078wnuoYX','7325280mzBXQT','toString','14950dRLnhd','124ZjOKDa','create','undo','3bdjrlz','1530rKcGjg','14sZBKjv','6339828qVlIIZ'];a100c=function(){return j;};return a100c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a101n=a101d;(function(a,b){const k=a101d,c=a();while(!![]){try{const d=parseInt(k(
|
|
1
|
+
const a101n=a101d;(function(a,b){const k=a101d,c=a();while(!![]){try{const d=parseInt(k(0x19d))/0x1+parseInt(k(0x19b))/0x2+parseInt(k(0x178))/0x3+-parseInt(k(0x179))/0x4+-parseInt(k(0x192))/0x5*(parseInt(k(0x186))/0x6)+parseInt(k(0x18f))/0x7*(-parseInt(k(0x19e))/0x8)+parseInt(k(0x18a))/0x9*(parseInt(k(0x1a1))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a101c,0x2540a));function a101d(a,b){const c=a101c();return a101d=function(d,e){d=d-0x177;let f=c[d];return f;},a101d(a,b);}const a101b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a101d;if(c){const e=c[l(0x184)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a101a=a101b(this,function(){const m=a101d;return a101a[m(0x198)]()[m(0x180)](m(0x19a))['toString']()['constructor'](a101a)[m(0x180)](m(0x19a));});a101a();import{execSync}from'child_process';import a101e from'semver';import{Command}from'../command.js';function a101c(){const p=[')\x20to\x20at\x20least\x20meteor\x27s\x20(','6ondUjw','getMeteorExePath','warn','4.12.15','9ncnnvm','bright','fsi','replace','maka\x20version','24241oARzLc','version','exit','1194855udwlXo','\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','maka\x20v','getProjectsMeteorNodeVersion','node\x20-v','toString','N/A','(((.+)+)+)+$','96556QAjHPF','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','5668VOIZhX','552bEpZkm','isMakaProject','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','6715470bqkKtV','maka\x20version\x20--verbose','compareMakaToLatest','majestic','159690EAQTbS','592876JzlGwP','\x20node\x20-v','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','getProjectMeteorVersion','System\x27s\x20Meteor\x20Version\x20','Project\x27s\x20Meteor\x20Version\x20','verbose','search','create','valid','System\x27s\x20Node\x20Version\x20','apply'];a101c=function(){return p;};return a101c();}import{Log}from'../tools/log/log.class.js';const pjson={'version':a101n(0x189)};Command[a101n(0x181)]({'name':a101n(0x190),'aliases':['v'],'usage':'maka\x20version','maxArgLength':0x1,'validOpts':[a101n(0x17f)],'shortDesc':'Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','examples':[a101n(0x195),a101n(0x18e),a101n(0x1a2)],'description':a101n(0x193)},async function(a,b){const o=a101n;try{const c=this[o(0x18c)][o(0x187)]();Log[o(0x177)]('Maka\x20'+pjson[o(0x190)]),await this[o(0x18c)]['compareMakaToLatest']();if(b[o(0x17f)]){await this[o(0x18c)][o(0x1a3)](),Log[o(0x18b)]('----------------------System----------------------------');const d=this['fsi']['getGlobalMeteorVersion']();Log[o(0x18b)]((o(0x17d)+d)[o(0x18d)]('\x0a',''));const f=execSync(c+o(0x17a))[o(0x198)]()[o(0x18d)](/\r?\n|\r/,'')[o(0x18d)]('v','');Log['bright']('System\x27s\x20Meteor\x27s\x20Node\x20Version\x20'+f);const g=execSync(o(0x197))[o(0x198)]()[o(0x18d)](/\r?\n|\r/,'')['replace']('v','');a101e['gt'](f,g)?(Log[o(0x188)]('System\x27s\x20Node\x20Version\x20'+g),Log[o(0x188)](o(0x1a0)+g+o(0x185)+f+')')):Log[o(0x18b)](o(0x183)+g);if(this[o(0x18c)][o(0x19f)]()){Log[o(0x18b)]('----------------------Project----------------------------');const h=this[o(0x18c)][o(0x17c)]();if(!a101e[o(0x182)](h))Log[o(0x188)](o(0x17e)+h[o(0x18d)]('\x0a',''));else a101e['gt'](d,h)?(Log[o(0x188)]('Project\x27s\x20Meteor\x20Version\x20'+h['replace']('\x0a','')),Log['warn'](o(0x19c)+d+'\x22')):Log['notice']((o(0x17e)+h)[o(0x18d)]('\x0a',''));const i=await this['fsi'][o(0x196)]();i===o(0x199)?(Log[o(0x188)](o(0x194)+i),Log[o(0x188)](o(0x17b))):Log[o(0x18b)]('Project\x27s\x20Meteor\x20Node\x20Version\x20'+i),Log[o(0x18b)]('\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['error'](j),process[o(0x191)](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(0x134))/0x1+parseInt(f(0x12d))/0x2+parseInt(f(0x130))/0x3*(parseInt(f(0x135))/0x4)+parseInt(f(0x136))/0x5*(-parseInt(f(0x13a))/0x6)+parseInt(f(0x138))/0x7+-parseInt(f(0x139))/0x8*(parseInt(f(0x131))/0x9)+-parseInt(f(0x133))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a102c,0x5d041));function a102c(){var h=['282CSxwRs','1326448aUDbqg','search','constructor','93jJVqWE','569871wSmwyA','(((.+)+)+)+$','1292400pmdwqq','472422AfFdWv','90940ZiEpCM','39335AfdtAk','toString','777231wQovHZ','16kbUeUA'];a102c=function(){return h;};return a102c();}var a102b=(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;};}()),a102a=a102b(this,function(){var g=a102d;return a102a['toString']()[g(0x12e)]('(((.+)+)+)+$')[g(0x137)]()[g(0x12f)](a102a)[g(0x12e)](g(0x132));});a102a();export class UsageError{}export class UsageErrorWithSubs{}function a102d(a,b){var c=a102c();return a102d=function(d,e){d=d-0x12d;var f=c[d];return f;},a102d(a,b);}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
|
-
var
|
|
2
|
+
var a103h=a103d;function a103d(a,b){var c=a103c();return a103d=function(d,e){d=d-0x176;var f=c[d];return f;},a103d(a,b);}function a103c(){var i=['2043060hYnxSv','240jVlMlF','toString','search','28MlKBEa','1278768KTJFyh','12778490MNRhcN','33nJdwgV','3394iUBYRw','42136AkDJev','NODE_OPTIONS','3448845XnGIUt','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','1923174uLNnPV','512moVUkn','env'];a103c=function(){return i;};return a103c();}(function(a,b){var f=a103d,c=a();while(!![]){try{var d=parseInt(f(0x185))/0x1*(-parseInt(f(0x17b))/0x2)+-parseInt(f(0x17a))/0x3+parseInt(f(0x176))/0x4*(-parseInt(f(0x17e))/0x5)+-parseInt(f(0x17d))/0x6+-parseInt(f(0x181))/0x7*(parseInt(f(0x182))/0x8)+-parseInt(f(0x178))/0x9+-parseInt(f(0x183))/0xa*(-parseInt(f(0x184))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a103c,0x6f0ee));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']()['search']('(((.+)+)+)+$')[g(0x17f)]()['constructor'](a103a)[g(0x180)]('(((.+)+)+)+$');});a103a(),process[a103h(0x17c)][a103h(0x177)]=a103h(0x179);import'./maka.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a104u=a104d;(function(a,b){const r=a104d,c=a();while(!![]){try{const d=parseInt(r(0x16d))/0x1*(parseInt(r(0x1b1))/0x2)+parseInt(r(0x1b2))/0x3*(parseInt(r(0x1e5))/0x4)+-parseInt(r(0x19c))/0x5+-parseInt(r(0x1d7))/0x6*(parseInt(r(0x1c2))/0x7)+parseInt(r(0x186))/0x8*(parseInt(r(0x1af))/0x9)+-parseInt(r(0x1ae))/0xa*(-parseInt(r(0x1cb))/0xb)+-parseInt(r(0x168))/0xc*(parseInt(r(0x1bc))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a104c,0x717cb));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(0x1c0)]()[s(0x1d2)](s(0x19f))[s(0x1c0)]()[s(0x1cd)](a104a)[s(0x1d2)](s(0x19f));});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';let _prevGen='';const MAX_HISTORY_SIZE=0x64*0x400,TRANSACTION_ID=a104h();async function inside(a='.',b){const t=a104d,c=process[t(0x178)]();let d=null;try{process[t(0x1b7)](a),d=await b();}finally{process['chdir'](c);}return d;}export class Generator extends Tool{[a104u(0x170)];[a104u(0x1c3)];['_generators'];[a104u(0x1ac)];[a104u(0x18f)];[a104u(0x1a0)];constructor(a,b,c){const v=a104u;super();if(!a)throw new Error(v(0x1e3));if(!a[v(0x1d1)])throw new Error(v(0x1d8));if(typeof b!=='function')throw new Error(v(0x193));this[v(0x1b6)]=[],this[v(0x170)]=Object[v(0x1a9)]({},a),this[v(0x1d1)]=this[v(0x170)][v(0x1d1)],this['_handler']=b[v(0x1c7)](this);try{this[v(0x1ac)]=this[v(0x166)][v(0x1c4)]({'pathParts':[v(0x1e6),v(0x164)]})||a104e[v(0x17e)]('.','.maka','history.json');}catch(d){Log[v(0x167)](d);}c&&(this[v(0x18f)]=c[v(0x1c7)](this));}[a104u(0x1d4)](){const w=a104u;if(a104f[w(0x1a8)](this[w(0x1ac)])){const a=a104f[w(0x184)](this[w(0x1ac)]);return a['size'];}return 0x0;}['readHistory'](){const x=a104u;if(!a104f[x(0x1a8)](this['_historyFilePath']))return[];return JSON['parse'](a104f[x(0x18d)](this[x(0x1ac)],'utf-8'));}[a104u(0x172)](a){const y=a104u;this['_historyFilePath']&&!a104f[y(0x1a8)](this[y(0x1ac)])&&a104f[y(0x19a)](this[y(0x1ac)],JSON['stringify']([])),a104f['writeFileSync'](this[y(0x1ac)],JSON[y(0x1a5)](a,null,0x2));}[a104u(0x197)](a){const z=a104u;try{a?.[z(0x174)]?.[z(0x1db)][z(0x165)]&&delete a[z(0x174)][z(0x1db)]['config'];const b=this['readHistory'](),c={'generatorName':this[z(0x1c3)],'transactionId':TRANSACTION_ID,'details':a};b[z(0x18c)](c);const d=Buffer[z(0x17d)](JSON[z(0x1a5)](b))[z(0x1c9)];while(d>MAX_HISTORY_SIZE&&b[z(0x1c9)]>0x0){b[z(0x199)]();}this[z(0x172)](b);}catch(f){Log[z(0x167)](f);}}async[a104u(0x1bb)](){const A=a104u,a=this['readHistory']();if(a[A(0x1c9)]===0x0){Log[A(0x190)]('Nothing\x20to\x20undo.');return;}const b=a[A(0x18e)](),c=b['transactionId'],d=a[A(0x1d6)](e=>e[A(0x198)]===c);d[A(0x18c)](b),d['reverse']();for(const e of d){const f=this[A(0x16f)](e[A(0x1d9)]);if(!f){Log['error'](A(0x175)+e[A(0x1d9)]+A(0x1df));continue;}f[A(0x18f)]?await f[A(0x18f)](e[A(0x1a3)]):Log['warn'](A(0x1d3)+e['generatorName']+A(0x16e));}this[A(0x172)](a['filter'](g=>g[A(0x198)]!==c));}static[a104u(0x1de)](a,b,c,d){const B=a104u;if(!a)throw new Error(B(0x1b5));if(typeof b!=='function')throw new Error('Generator.create\x20requires\x20a\x20handler\x20function!');const e=new Generator(a,b);c&&(e['_undoHandler']=c['bind'](e));d=d||a104i;const f=d?d['fullNameChain']:'';return e[B(0x1c3)]=f?f+':'+a[B(0x1d1)]:a[B(0x1d1)],Object[B(0x1a9)](e,{'parent':d?.[B(0x170)]?.[B(0x1d1)]}),d[B(0x18b)](e),e;}[a104u(0x18b)](a){const C=a104u;if(!(a instanceof Generator))throw new Error(C(0x191));this[C(0x1b6)]['push'](a);}async[a104u(0x185)](a,b=[],c={}){const D=a104u;let d;try{const f=a?.[D(0x180)](':');if(!f||f[D(0x1c9)]===0x0)throw D(0x187);let g=this[D(0x1b6)],h;for(const i of f){h=g[D(0x19d)](j=>j[D(0x1c5)](i));if(!h)throw D(0x175)+i+'\x20not\x20found';await this[D(0x1b0)](h),g=h['_generators'];}if(h)d=await h[D(0x19e)](b,c);else throw D(0x171);}catch(j){Log['error'](j);}return d;}[a104u(0x16f)](a){const E=a104u,b=a?.[E(0x180)](':');if(!b||b[E(0x1c9)]===0x0)return Log['error'](E(0x187)),null;let c=this[E(0x1b6)],d;for(const e of b){d=c['find'](f=>f[E(0x1c5)](e));if(!d)return Log[E(0x167)](E(0x175)+e+'\x20not\x20found'),null;c=d[E(0x1b6)];}return d||null;}async[a104u(0x19e)](a,b){const F=a104u,c=a[F(0x1e7)]();b['resourceName']=c[0x0];try{const d=await this[F(0x166)][F(0x1e2)](),f=d[F(0x1e1)]===F(0x16a)?ColorMode[F(0x1bd)]:ColorMode[F(0x1bf)];Log[F(0x1ba)](f),await this[F(0x1b0)](this);const g=a[0x0]===_prevGen||a[F(0x1c9)]===0x0&&this[F(0x1b6)][F(0x1c9)]>=0x0,h=b[F(0x161)]||b['h'];if(g&&h){if(this['_generators'][F(0x1c9)]>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!h){if(this[F(0x170)]['mustBeInMakaProject']){const i=this[F(0x17f)]();if(!i)throw new MustBeInProjectError();}if(this['options'][F(0x1d5)]){const j=this['validateMeteorInstall']();if(!j)throw new NoMeteorFoundError();}if(typeof this['options'][F(0x1b9)]==='number'){if(a[F(0x1c9)]<this['options'][F(0x1b9)]){Log[F(0x167)](F(0x196));throw new UsageError();}}if(typeof this[F(0x170)][F(0x188)]===F(0x17b)){if(a[F(0x1c9)]>this['options'][F(0x188)]){Log[F(0x167)](F(0x1ce));throw new UsageError();}}if(typeof this[F(0x170)][F(0x182)]===F(0x17b)){if(Object[F(0x169)](b)[F(0x1c9)]<this[F(0x170)]['minOptsLength']){Log[F(0x167)](F(0x1e0));throw new UsageError();}}if(typeof this['options'][F(0x1da)]===F(0x17b)){if(Object['keys'](b)[F(0x1c9)]>=this[F(0x170)][F(0x1da)]){Log[F(0x167)](F(0x183));throw new UsageError();}}}this[F(0x170)][F(0x17c)]&&this[F(0x1ab)](this[F(0x170)]['requiredEngines']);await this[F(0x1cc)](a,b,this['options']);if(!b[F(0x19b)]&&!this['options'][F(0x181)]){Log['error']('No\x20resource\x20name\x20specified');throw new UsageError();}_prevGen=a[0x0];}catch(k){this['handleGenerateError'](k),process[F(0x16b)](0x1);}return await inside(b[F(0x178)],async()=>{const G=F;try{if(!b[G(0x1a4)]&&!this[G(0x166)]['findProjectDirectory']())throw new MustBeInProjectError();const l=b[G(0x19b)]?.['replace'](/\\/g,'/')[G(0x180)]('/');!b[G(0x1a1)]&&(l?.['length']>0x1?(b[G(0x19b)]=l[G(0x18e)](),c[0x0]=b[G(0x19b)],b[G(0x1a1)]=l[G(0x192)](n=>{return paramCase(n);})[G(0x17e)](a104e['sep'])):b['dir']='');if(this[G(0x170)][G(0x1a7)]){if(!b[G(0x1ad)]){const o={'type':G(0x18a),'name':G(0x179),'message':G(0x1a2),'choices':[{'name':G(0x1cf),'value':G(0x1c6)},{'name':'Server','value':G(0x194)},{'name':G(0x173),'value':G(0x160)}]},{colLocAnswer:p}=await Actions[G(0x170)](o);p?b[G(0x1ad)]=p:b[G(0x1ad)]=G(0x160);}const n=[G(0x160),G(0x1c6),G(0x194)];if(!n[G(0x1be)](b[G(0x1ad)])){Log['error'](G(0x1dc));throw new UsageError();}switch(b['where']){case G(0x160):b[G(0x1e4)]=G(0x176);break;case G(0x194):b[G(0x1e4)]='server';break;case G(0x1c6):b['appPathPrefix']=G(0x1c6);break;default:b[G(0x1e4)]='';}}const m=await this['_handler']['call'](this,c,b);return m&&this['addToHistory']({'params':{'args':c,'opts':this[G(0x166)]['deepen'](b)},'success':m?.[G(0x1c1)],'message':m?.[G(0x1dd)],'details':m?.[G(0x1a3)]}),m;}catch(q){this[G(0x17a)](q);}});}['listGenerators'](){const H=a104u;this[H(0x1b4)](this[H(0x1b6)]);}['handleGenerateError'](a){const I=a104u,{usage:usage='',description:description='',examples:examples=[],shortDesc:b,requiredOpts:requiredOpts=[],validOpts:c}=this[I(0x170)];Log[I(0x16c)](description,examples,usage,b,requiredOpts,c);if(a instanceof UsageErrorWithSubs)Log[I(0x1aa)](I(0x1ca)),this['tableList'](this[I(0x1b6)]);else{if(a instanceof MustBeInProjectError)Log[I(0x167)](I(0x1b3));else{if(a instanceof NoMeteorFoundError)Log[I(0x167)]('Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly'),Log[I(0x1aa)](I(0x177));else a instanceof NoMeteorAppFoundError&&Log[I(0x167)](I(0x162));}}}[a104u(0x1b4)](a){const J=a104u,b=new a104g({});b[J(0x18c)](['Name','Alias',J(0x1a6)]),a[J(0x195)]((c,d)=>{const K=J;return c['name'][K(0x189)](d[K(0x1d1)]);})[J(0x1d0)](c=>{const L=J;b[L(0x18c)]([c[L(0x1d1)],c[L(0x1b8)](),c[L(0x1c8)]()]);}),Log[J(0x163)](b['toString']());}}function a104d(a,b){const c=a104c();return a104d=function(d,e){d=d-0x160;let f=c[d];return f;},a104d(a,b);}function a104c(){const M=['Generator\x20requires\x20a\x20name','generatorName','maxOptsLength','opts','--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27','message','create','\x20not\x20found.\x20Cannot\x20undo.','Too\x20few\x20options','pallet','getGlobalConfig','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','appPathPrefix','1013080NXUdMM','.maka','slice','both','help','There\x20is\x20no\x20Meteor\x20application\x20here','bright','history.json','config','fsi','error','252YrSWRr','keys','light','exit','usage','4QWfuim','\x20generator.\x20Skipping\x20undo.','findGeneratorByName','options','Generator\x20not\x20found','writeHistory','Both','params','Generator\x20','lib','Please\x20run\x20\x22maka\x20install\x20meteor\x22','cwd','colLocAnswer','handleGenerateError','number','requiredEngines','from','join','validateMakaProject','split','noNeedResource','minOptsLength','Too\x20many\x20options','statSync','processAndRunGenerator','8TEakeh','Generator\x20format\x20is\x20incorrect','maxArgLength','localeCompare','list','addGenerator','push','readFileSync','pop','_undoHandler','warn','addGenerator\x20requires\x20a\x20Generator\x20instance','map','Generator\x20requires\x20a\x20handler\x20function','server','sort','Too\x20few\x20arguments','addToHistory','transactionId','shift','writeFileSync','resourceName','1091750TcjWJM','find','invoke','(((.+)+)+)+$','_genTransactionId','dir','Location','details','root','stringify','Description','checkWhere','existsSync','assign','notice','validateEngines','_historyFilePath','where','20SeYoQT','6971193aaZWnI','validateMakaSubscription','374936QOGpnq','6vyRiVJ','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator','tableList','Generator.create\x20requires\x20some\x20options!','_generators','chdir','aliases','minArgLength','setColorMode','undo','1033539wsywty','LIGHT','includes','DARK','toString','success','7MFTRsW','fullNameChain','pathFromProject','match','client','bind','shortDesc','length','Generators:','3418239GjwETA','validateParams','constructor','Too\x20many\x20arguments','Client','forEach','name','search','No\x20undo\x20handler\x20defined\x20for\x20','getHistoryFileSize','mustHaveMeteorInstalled','filter','1798386nhRFxS'];a104c=function(){return M;};return a104c();}
|
|
1
|
+
const a104v=a104d;(function(a,b){const r=a104d,c=a();while(!![]){try{const d=parseInt(r(0x14c))/0x1*(-parseInt(r(0x126))/0x2)+parseInt(r(0xdc))/0x3+parseInt(r(0xde))/0x4+-parseInt(r(0xcc))/0x5*(-parseInt(r(0x108))/0x6)+-parseInt(r(0x110))/0x7+parseInt(r(0x12a))/0x8+parseInt(r(0x105))/0x9*(-parseInt(r(0xdd))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a104c,0xc8256));const a104b=(function(){let a=!![];return function(b,c){const d=a?function(){const s=a104d;if(c){const e=c[s(0xf4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a104a=a104b(this,function(){const t=a104d;return a104a[t(0x138)]()[t(0x149)](t(0xd9))[t(0x138)]()[t(0x12d)](a104a)['search'](t(0xd9));});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-0xcc;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();function a104c(){const N=['params','existsSync','message','colLocAnswer','forEach','split','Description','bright','Generator.create\x20requires\x20some\x20options!','Client','--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27','error','statSync','LIGHT','getGlobalConfig','_handler','search','join','number','193xHZvRb','create','3530CkNgIw','server','maxOptsLength','function','writeHistory','readHistory','size','pop','appPathPrefix','undo','Too\x20many\x20options','There\x20is\x20no\x20Meteor\x20application\x20here','pallet','(((.+)+)+)+$','filter','both','2222130jAcgTK','10uutbeL','5039556ZNRajc','requiredEngines','_historyFilePath','fullNameChain','generatorName','mustBeInMakaProject','sort','Generator\x20','name','Nothing\x20to\x20undo.','addGenerator','fsi','success','readFileSync','handleGenerateError','tableList','mustHaveMeteorInstalled','\x20generator.\x20Skipping\x20undo.','.maka','_generators','\x20not\x20found.\x20Cannot\x20undo.','checkWhere','apply','where','config','addToHistory','Too\x20many\x20arguments','Please\x20run\x20\x22maka\x20install\x20meteor\x22','notice','findProjectDirectory','writeFileSync','match','validateMakaProject','cwd','length','_genTransactionId','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','minOptsLength','exit','27079749zqyaOB','validateMakaSubscription','Generator\x20not\x20found','12234wAjZbc','findGeneratorByName','\x20not\x20found','shift','transactionId','from','Server','stringify','3704974MbxZsF','options','maxArgLength','usage','call','addGenerator\x20requires\x20a\x20Generator\x20instance','history.json','localeCompare','details','Generators:','shortDesc','lib','dir','resourceName','validateParams','noNeedResource','validateEngines','opts','keys','getHistoryFileSize','Generator\x20requires\x20a\x20handler\x20function','help','3852GnJAzh','No\x20resource\x20name\x20specified','client','aliases','10316208EDJKsz','bind','Too\x20few\x20options','constructor','push','_undoHandler','No\x20undo\x20handler\x20defined\x20for\x20','minArgLength','warn','Location','chdir','Both','Generator.create\x20requires\x20a\x20handler\x20function!','find','toString'];a104c=function(){return N;};return a104c();}async function inside(a='.',b){const u=a104d,c=process[u(0xff)]();let d=null;try{process[u(0x134)](a),d=await b();}finally{process[u(0x134)](c);}return d;}export class Generator extends Tool{[a104v(0x111)];[a104v(0xe1)];[a104v(0xf1)];[a104v(0xe0)];[a104v(0x12f)];[a104v(0x101)];constructor(a,b,c){const w=a104v;super();if(!a)throw new Error(w(0x102));if(!a[w(0xe6)])throw new Error('Generator\x20requires\x20a\x20name');if(typeof b!==w(0xcf))throw new Error(w(0x124));this[w(0xf1)]=[],this[w(0x111)]=Object['assign']({},a),this[w(0xe6)]=this['options'][w(0xe6)],this[w(0x148)]=b[w(0x12b)](this);try{this[w(0xe0)]=this[w(0xe9)]['pathFromProject']({'pathParts':[w(0xf0),w(0x116)]})||a104e['join']('.',w(0xf0),w(0x116));}catch(d){Log[w(0x144)](d);}c&&(this[w(0x12f)]=c['bind'](this));}[a104v(0x123)](){const x=a104v;if(a104f[x(0x13a)](this[x(0xe0)])){const a=a104f[x(0x145)](this[x(0xe0)]);return a[x(0xd2)];}return 0x0;}[a104v(0xd1)](){const y=a104v;if(!a104f[y(0x13a)](this[y(0xe0)]))return[];return JSON['parse'](a104f[y(0xeb)](this[y(0xe0)],'utf-8'));}[a104v(0xd0)](a){const z=a104v;this[z(0xe0)]&&!a104f['existsSync'](this[z(0xe0)])&&a104f[z(0xfc)](this[z(0xe0)],JSON[z(0x10f)]([])),a104f[z(0xfc)](this['_historyFilePath'],JSON['stringify'](a,null,0x2));}[a104v(0xf7)](a){const A=a104v;try{a?.[A(0x139)]?.['opts'][A(0xf6)]&&delete a['params'][A(0x121)]['config'];const b=this[A(0xd1)](),c={'generatorName':this[A(0xe1)],'transactionId':TRANSACTION_ID,'details':a};b[A(0x12e)](c);const d=Buffer[A(0x10d)](JSON[A(0x10f)](b))['length'];while(d>MAX_HISTORY_SIZE&&b['length']>0x0){b[A(0x10b)]();}this[A(0xd0)](b);}catch(f){Log[A(0x144)](f);}}async[a104v(0xd5)](){const B=a104v,a=this[B(0xd1)]();if(a['length']===0x0){Log[B(0x132)](B(0xe7));return;}const b=a[B(0xd3)](),c=b[B(0x10c)],d=a[B(0xda)](e=>e[B(0x10c)]===c);d[B(0x12e)](b),d['reverse']();for(const e of d){const f=this[B(0x109)](e[B(0xe2)]);if(!f){Log[B(0x144)](B(0xe5)+e['generatorName']+B(0xf2));continue;}f['_undoHandler']?await f[B(0x12f)](e[B(0x118)]):Log[B(0x132)](B(0x130)+e[B(0xe2)]+B(0xef));}this[B(0xd0)](a['filter'](g=>g['transactionId']!==c));}static[a104v(0x14d)](a,b,c,d){const C=a104v;if(!a)throw new Error(C(0x141));if(typeof b!==C(0xcf))throw new Error(C(0x136));const e=new Generator(a,b);c&&(e[C(0x12f)]=c[C(0x12b)](e));d=d||a104i;const f=d?d[C(0xe1)]:'';return e[C(0xe1)]=f?f+':'+a['name']:a[C(0xe6)],Object['assign'](e,{'parent':d?.['options']?.[C(0xe6)]}),d[C(0xe8)](e),e;}[a104v(0xe8)](a){const D=a104v;if(!(a instanceof Generator))throw new Error(D(0x115));this[D(0xf1)][D(0x12e)](a);}async['processAndRunGenerator'](a,b=[],c={}){const E=a104v;let d;try{const f=a?.[E(0x13e)](':');if(!f||f[E(0x100)]===0x0)throw'Generator\x20format\x20is\x20incorrect';let g=this[E(0xf1)],h;for(const i of f){h=g[E(0x137)](j=>j['match'](i));if(!h)throw E(0xe5)+i+E(0x10a);await this[E(0x106)](h),g=h[E(0xf1)];}if(h)d=await h['invoke'](b,c);else throw E(0x107);}catch(j){Log[E(0x144)](j);}return d;}[a104v(0x109)](a){const F=a104v,b=a?.[F(0x13e)](':');if(!b||b['length']===0x0)return Log['error']('Generator\x20format\x20is\x20incorrect'),null;let c=this[F(0xf1)],d;for(const e of b){d=c[F(0x137)](f=>f[F(0xfd)](e));if(!d)return Log[F(0x144)](F(0xe5)+e+'\x20not\x20found'),null;c=d[F(0xf1)];}return d||null;}async['invoke'](a,b){const G=a104v,c=a['slice']();b[G(0x11d)]=c[0x0];try{const d=await this['fsi'][G(0x147)](),f=d[G(0xd8)]==='light'?ColorMode[G(0x146)]:ColorMode['DARK'];Log['setColorMode'](f),await this[G(0x106)](this);const g=a[0x0]===_prevGen||a[G(0x100)]===0x0&&this[G(0xf1)][G(0x100)]>=0x0,h=b[G(0x125)]||b['h'];if(g&&h){if(this[G(0xf1)]['length']>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!h){if(this[G(0x111)][G(0xe3)]){const i=this[G(0xfe)]();if(!i)throw new MustBeInProjectError();}if(this['options'][G(0xee)]){const j=this['validateMeteorInstall']();if(!j)throw new NoMeteorFoundError();}if(typeof this[G(0x111)][G(0x131)]===G(0x14b)){if(a['length']<this[G(0x111)]['minArgLength']){Log[G(0x144)]('Too\x20few\x20arguments');throw new UsageError();}}if(typeof this[G(0x111)][G(0x112)]===G(0x14b)){if(a['length']>this[G(0x111)]['maxArgLength']){Log[G(0x144)](G(0xf8));throw new UsageError();}}if(typeof this[G(0x111)][G(0x103)]===G(0x14b)){if(Object[G(0x122)](b)[G(0x100)]<this[G(0x111)]['minOptsLength']){Log[G(0x144)](G(0x12c));throw new UsageError();}}if(typeof this[G(0x111)][G(0xce)]==='number'){if(Object[G(0x122)](b)[G(0x100)]>=this[G(0x111)][G(0xce)]){Log[G(0x144)](G(0xd6));throw new UsageError();}}}this['options'][G(0xdf)]&&this[G(0x120)](this[G(0x111)][G(0xdf)]);await this[G(0x11e)](a,b,this['options']);if(!b[G(0x11d)]&&!this['options'][G(0x11f)]){Log[G(0x144)](G(0x127));throw new UsageError();}_prevGen=a[0x0];}catch(k){this[G(0xec)](k),process[G(0x104)](0x1);}return await inside(b[G(0xff)],async()=>{const H=G;try{if(!b['root']&&!this[H(0xe9)][H(0xfb)]())throw new MustBeInProjectError();const l=b['resourceName']?.['replace'](/\\/g,'/')[H(0x13e)]('/');!b[H(0x11c)]&&(l?.[H(0x100)]>0x1?(b['resourceName']=l[H(0xd3)](),c[0x0]=b[H(0x11d)],b[H(0x11c)]=l['map'](n=>{return paramCase(n);})[H(0x14a)](a104e['sep'])):b[H(0x11c)]='');if(this['options'][H(0xf3)]){if(!b[H(0xf5)]){const o={'type':'list','name':H(0x13c),'message':H(0x133),'choices':[{'name':H(0x142),'value':H(0x128)},{'name':H(0x10e),'value':H(0xcd)},{'name':H(0x135),'value':H(0xdb)}]},{colLocAnswer:p}=await Actions['options'](o);p?b[H(0xf5)]=p:b['where']=H(0xdb);}const n=[H(0xdb),'client',H(0xcd)];if(!n['includes'](b[H(0xf5)])){Log[H(0x144)](H(0x143));throw new UsageError();}switch(b['where']){case H(0xdb):b['appPathPrefix']=H(0x11b);break;case H(0xcd):b[H(0xd4)]=H(0xcd);break;case H(0x128):b[H(0xd4)]=H(0x128);break;default:b[H(0xd4)]='';}}const m=await this[H(0x148)][H(0x114)](this,c,b);return m&&this[H(0xf7)]({'params':{'args':c,'opts':this['fsi']['deepen'](b)},'success':m?.[H(0xea)],'message':m?.[H(0x13b)],'details':m?.[H(0x118)]}),m;}catch(q){this['handleGenerateError'](q);}});}['listGenerators'](){const I=a104v;this[I(0xed)](this[I(0xf1)]);}[a104v(0xec)](a){const J=a104v,{usage:usage='',description:description='',examples:examples=[],shortDesc:b,requiredOpts:requiredOpts=[],validOpts:c}=this[J(0x111)];Log[J(0x113)](description,examples,usage,b,requiredOpts,c);if(a instanceof UsageErrorWithSubs)Log[J(0xfa)](J(0x119)),this['tableList'](this[J(0xf1)]);else{if(a instanceof MustBeInProjectError)Log['error']('You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator');else{if(a instanceof NoMeteorFoundError)Log[J(0x144)]('Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly'),Log[J(0xfa)](J(0xf9));else a instanceof NoMeteorAppFoundError&&Log[J(0x144)](J(0xd7));}}}[a104v(0xed)](a){const K=a104v,b=new a104g({});b[K(0x12e)](['Name','Alias',K(0x13f)]),a[K(0xe4)]((c,d)=>{const L=K;return c['name'][L(0x117)](d[L(0xe6)]);})[K(0x13d)](c=>{const M=K;b[M(0x12e)]([c[M(0xe6)],c[M(0x129)](),c[M(0x11a)]()]);}),Log[K(0x140)](b['toString']());}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a105d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
function a105c(){var i=['search','52050bywpzu','767JBAWgO','constructor','(((.+)+)+)+$','438oKsMQD','428uWCAcE','toString','247308wlvrmv','231764nHvIsR','315OQwzmJ','407uwqfdn','apply','1107248fIuwpF','18515qxvmFw','10yIRDaK','735429QpUueS'];a105c=function(){return i;};return a105c();}(function(a,b){var f=a105d,c=a();while(!![]){try{var d=-parseInt(f(0x159))/0x1*(parseInt(f(0x15d))/0x2)+-parseInt(f(0x156))/0x3+-parseInt(f(0x14f))/0x4*(-parseInt(f(0x155))/0x5)+-parseInt(f(0x15c))/0x6*(parseInt(f(0x154))/0x7)+parseInt(f(0x153))/0x8+-parseInt(f(0x150))/0x9*(parseInt(f(0x158))/0xa)+parseInt(f(0x151))/0xb*(parseInt(f(0x14e))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a105c,0x38b58));var a105b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a105d;if(c){var e=c[g(0x152)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a105a=a105b(this,function(){var h=a105d;return a105a[h(0x15e)]()['search'](h(0x15b))['toString']()[h(0x15a)](a105a)[h(0x157)](h(0x15b));});a105a();import'./services/_index.js';import'./api.js';import'./collection.js';import'./component.js';import'./config.js';import'./dbc.js';import'./hook.js';import'./kits/_index.js';function a105d(a,b){var c=a105c();return a105d=function(d,e){d=d-0x14e;var f=c[d];return f;},a105d(a,b);}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';import'./maka.gen.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(0x15d))/0x1*(parseInt(v(0x143))/0x2)+parseInt(v(0x15f))/0x3+-parseInt(v(0x15a))/0x4*(parseInt(v(0x135))/0x5)+parseInt(v(0x126))/0x6*(-parseInt(v(0x11f))/0x7)+-parseInt(v(0x120))/0x8*(-parseInt(v(0x15c))/0x9)+parseInt(v(0x13a))/0xa+-parseInt(v(0x137))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a106c,0x67ae2));const a106b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a106d;if(c){const e=c[w(0x12a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a106a=a106b(this,function(){const x=a106d;return a106a[x(0x151)]()[x(0x140)](x(0x13f))[x(0x151)]()[x(0x12b)](a106a)[x(0x140)](x(0x13f));});function a106d(a,b){const c=a106c();return a106d=function(d,e){d=d-0x10d;let f=c[d];return f;},a106d(a,b);}a106a();import{Generator}from'../generator.js';function a106c(){const B=['const','496756JBwKhf','withGql','7091577YqwOdo','129643VVsMtp','error','1571388gYLMla','checkMeteorPackage','\x27;\x0a','injectAtEndOfFile','register-','withRest','apollo','typeDefs.','TypeDefs\x20}\x20from\x20\x27','includes','\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','rewriteDestinationPathForEngine','create','injectIntoFile','server','maka:rest','import\x20\x27./register-','maka\x20{generate,\x20g}:{api}\x20<resource-name>','api/methods.js','API\x20boundaries\x20to\x20create','Resolvers);\x0a\x0a','ask','61558mSyRCP','8wXuooa','getMakaProjectConfig','\x0aimport\x20{\x20resolvers\x20as\x20','resolverList.push(','resourceName','rest','12dUimEw','-rest-api.','length','api/api.js','apply','constructor','REST\x20API','push','/graphql/typeDefs','imports','pathFromApp','engines','mdg:validated-method','api/resolvers.js','fsi','5vMKJus','RPC\x20(Methods)','20861071ajwNbx','-api\x27;','api/tests.js','7622340lilfJe','exit','api','dir','api/register-api.js','(((.+)+)+)+$','search','injectAtBeginningOfFile','/imports/api/','6ilhhkR','index.','Resolvers\x20}\x20from\x20\x27','-api.','TypeDefs);\x0a','.app-tests.','graphql','test','GraphQL','checkbox','template','apiAnswers','/graphql/resolvers','Scaffolding\x20for\x20an\x20API\x20boundary\x20(i.e.\x20Todos).','toString','withMethods','resolvers.','import\x20{\x20typeDefs\x20as\x20','startup','none','ddp-rate-limiter','tsx'];a106c=function(){return B;};return a106c();}import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a106y(0x115)]({'name':a106y(0x13c),'aliases':['a'],'usage':a106y(0x11a),'shortDesc':a106y(0x150),'validOpts':[a106y(0x13d)],'examples':['maka\x20g:api\x20Todos'],'description':a106y(0x113)},async function(a,b){const z=a106y;try{const c=this[z(0x134)][z(0x121)](),d=[{'name':z(0x136),'value':'withMethods'}];d[z(0x12d)]({'name':z(0x12c),'value':'withRest'});c[z(0x131)][z(0x149)]==='apollo'&&d[z(0x12d)]({'name':z(0x14b),'value':z(0x15b)});const f={'type':z(0x14c),'name':z(0x14e),'message':z(0x11c),'pageSize':0x64,'choices':d},g=await Actions[z(0x11e)]('API\x20Version?\x20[v1]')||'v1',{apiAnswers:h}=await Actions['options'](f);h[z(0x128)]===0x0&&(Log[z(0x15e)]('No\x20API\x20boundaries\x20selected'),process[z(0x13b)](0x1)),await this[z(0x134)]['withValue'](c,async()=>{const A=z,i=b[A(0x124)],j=paramCase(i),k=camelCase(i),l=b[A(0x13d)]?'/'+b[A(0x13d)]+'/':'/',m={'name':pascalCase(i),'apiVersion':g,'fileName':j,'camelCase':pascalCase(i),'optsDir':l,'api':c[A(0x131)][A(0x13c)],'graphql':c[A(0x131)][A(0x149)],'test':c['engines'][A(0x14a)],'noRename':!![],'withMethods':h[A(0x112)](A(0x152)),'withRest':h['includes'](A(0x10e))};let n='js';c['engines']['js']===A(0x158)&&(n='ts');m[A(0x10e)]&&(this[A(0x134)]['setProjectConfig']({'engines':{'api':A(0x125)}}),await this[A(0x134)][A(0x160)]([A(0x118),A(0x157),A(0x132)],{'shouldInstall':!![]}),await this[A(0x134)][A(0x14d)]({'srcPath':A(0x129),'destPath':this[A(0x134)][A(0x130)]({'pathParts':[A(0x12f),A(0x13c),g,b[A(0x13d)],j,j+'-'+g+A(0x127)+n]}),'context':m,'config':c}));m[A(0x152)]&&(await this[A(0x134)][A(0x160)]([A(0x157),A(0x132)],{'shouldInstall':!![]}),await this[A(0x134)][A(0x14d)]({'srcPath':A(0x11b),'destPath':this[A(0x134)]['pathFromApp']({'pathParts':[A(0x12f),A(0x13c),g,b[A(0x13d)],j,j+'-'+g+'-rpc-methods.'+n]}),'context':m,'config':c}));c[A(0x131)][A(0x14a)]!==A(0x156)&&await this['fsi'][A(0x14d)]({'srcPath':A(0x139),'destPath':this['fsi'][A(0x130)]({'pathParts':[A(0x12f),A(0x13c),g,b[A(0x13d)],j,j+'-'+g+A(0x148)+n]}),'context':m,'config':c});if(c[A(0x131)][A(0x149)]===A(0x10f)){if(h[A(0x112)](A(0x15b))){const p=this['fsi'][A(0x130)]({'pathParts':['imports',A(0x155),'server',A(0x144)+c[A(0x131)]['js']]}),q=this[A(0x134)][A(0x114)]({'pathParts':[p],'config':c}),r=this[A(0x134)][A(0x130)]({'pathParts':[A(0x12f),A(0x13c),g,b[A(0x13d)],j,A(0x149),A(0x110)+n]}),s=A(0x142)+g+l+j+A(0x12e);await this[A(0x134)][A(0x14d)]({'srcPath':'api/typeDefs.js','destPath':r,'context':m,'config':c}),await this['fsi']['injectAtBeginningOfFile']({'filePath':q,'content':A(0x154)+k+A(0x111)+s+A(0x161)}),await this[A(0x134)][A(0x116)]({'filePath':q,'content':'typeList.push('+k+A(0x147),'begin':A(0x159),'end':'if\x20\x5c(typeList'});const t=this[A(0x134)]['pathFromApp']({'pathParts':[A(0x12f),A(0x13c),g,b[A(0x13d)],j,A(0x149),A(0x153)+n]}),u=A(0x142)+g+l+j+A(0x14f);await this[A(0x134)][A(0x14d)]({'srcPath':A(0x133),'destPath':t,'context':m,'config':c}),await this[A(0x134)][A(0x141)]({'filePath':q,'content':A(0x122)+k+A(0x145)+u+'\x27;'}),await this[A(0x134)][A(0x116)]({'filePath':q,'content':A(0x123)+k+A(0x11d),'begin':A(0x159),'end':'if\x20\x5c(typeList'});}}await this[A(0x134)][A(0x14d)]({'srcPath':A(0x13e),'destPath':this[A(0x134)]['pathFromApp']({'pathParts':[A(0x12f),A(0x155),A(0x117),A(0x10d)+j+A(0x146)+n]}),'context':m,'config':c,'force':!![]});const o=this['fsi'][A(0x130)]({'pathParts':[A(0x12f),A(0x155),'server','index.'+c[A(0x131)]['js']]});await this[A(0x134)][A(0x162)]({'filePath':o,'content':A(0x119)+j+A(0x138)});});}catch(i){console['error'](i),process[z(0x13b)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a107m=a107d;(function(a,b){const j=a107d,c=a();while(!![]){try{const d=-parseInt(j(
|
|
1
|
+
const a107m=a107d;(function(a,b){const j=a107d,c=a();while(!![]){try{const d=-parseInt(j(0xb8))/0x1+-parseInt(j(0xb9))/0x2+-parseInt(j(0xb6))/0x3*(-parseInt(j(0xcd))/0x4)+-parseInt(j(0xd0))/0x5*(-parseInt(j(0xc7))/0x6)+parseInt(j(0xce))/0x7*(-parseInt(j(0xca))/0x8)+parseInt(j(0xc0))/0x9*(parseInt(j(0xaa))/0xa)+parseInt(j(0xb4))/0xb*(parseInt(j(0xd1))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a107c,0x7d5f8));const a107b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a107d;if(c){const e=c[k(0xc2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a107a=a107b(this,function(){const l=a107d;return a107a['toString']()[l(0xbe)]('(((.+)+)+)+$')[l(0xc3)]()[l(0xb0)](a107a)[l(0xbe)](l(0xcc));});function a107d(a,b){const c=a107c();return a107d=function(d,e){d=d-0xa9;let f=c[d];return f;},a107d(a,b);}a107a();import{paramCase,pascalCase}from'change-case';function a107c(){const p=['5CEpGJZ','588OJrDGE','\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','57690aBzppg','checkMeteorPackage','collection','create','appPathPrefix','resourceName','constructor','tsx','import\x20\x27./collections','none','99121JvcJny','where','6uYVitj','test','419969dFhHMN','1810740tgZoaW','collections','collection/collection.js','dir','injectAtEndOfFile','search','template','747tQZcsL','col','apply','toString','pathFromApp','imports','index.','3483414GvqTeM','collection/tests.js','startup','232VEQgdb','fsi','(((.+)+)+)+$','1960448ZPYPYb','155036SPpGDq','engines'];a107c=function(){return p;};return a107c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a107m(0xad)]({'name':a107m(0xac),'aliases':[a107m(0xc1)],'usage':'maka\x20{generate,\x20g}:{collection,\x20col}\x20<name>','checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection','validOpts':['dir',a107m(0xb5)],'description':a107m(0xa9),'examples':['maka\x20g:collection\x20todos']},async function(a,b){const n=a107m;try{const c=this[n(0xcb)]['getMakaProjectConfig']();await this[n(0xcb)]['withValue'](c,async()=>{const o=n,d=paramCase(b['resourceName']),f={'name':pascalCase(b[o(0xaf)]),'collectionName':pascalCase(b[o(0xaf)]),'fileName':d,'where':b['where'],'test':c[o(0xcf)][o(0xb7)],'noRename':!![]};let g='js';c[o(0xcf)]['js']===o(0xb1)&&(g='ts');await this[o(0xcb)][o(0xab)](['mongo'],{'shouldInstall':!![]}),await this[o(0xcb)][o(0xbf)]({'srcPath':o(0xbb),'destPath':this[o(0xcb)][o(0xc4)]({'pathParts':['imports','startup',b[o(0xae)],o(0xba),b[o(0xbc)],d+'.'+g]}),'context':f,'config':c});c[o(0xcf)][o(0xb7)]!==o(0xb3)&&await this[o(0xcb)]['template']({'srcPath':o(0xc8),'destPath':this[o(0xcb)][o(0xc4)]({'pathParts':[o(0xc5),'startup',b['appPathPrefix'],o(0xba),b[o(0xbc)],d+'.app-tests.'+g]}),'context':f,'config':c});const h=b[o(0xbc)]?'/'+b[o(0xbc)]+'/':'/',i=this[o(0xcb)][o(0xc4)]({'pathParts':[o(0xc5),o(0xc9),b[o(0xae)],o(0xc6)+c[o(0xcf)]['js']]});await this[o(0xcb)][o(0xbd)]({'filePath':i,'content':o(0xb2)+h+d+'\x27;'});});}catch(d){Log['error'](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a108n=a108d;(function(a,b){const k=a108d,c=a();while(!![]){try{const d
|
|
1
|
+
const a108n=a108d;(function(a,b){const k=a108d,c=a();while(!![]){try{const d=parseInt(k(0x12c))/0x1*(-parseInt(k(0x118))/0x2)+parseInt(k(0x109))/0x3+-parseInt(k(0x139))/0x4+-parseInt(k(0x13a))/0x5*(-parseInt(k(0x112))/0x6)+parseInt(k(0x101))/0x7*(parseInt(k(0x136))/0x8)+-parseInt(k(0x123))/0x9+parseInt(k(0x100))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a108c,0xbab8d));const a108b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a108d;if(c){const e=c[l(0x125)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a108a=a108b(this,function(){const m=a108d;return a108a['toString']()[m(0x11f)]('(((.+)+)+)+$')['toString']()[m(0x107)](a108a)[m(0x11f)](m(0x103));});a108a();import a108e from'path';function a108c(){const q=['ssr','engines','Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','baseDir','theme','css','test/test.js','true','48400FWEmJJ','maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','className','5493320VECOSi','90385ekHhHm','template','fsi','14908880bKYrhX','469nDWOwH','template/template.css','(((.+)+)+)+$','react','pathFromApp','graphql','constructor','.js','3236838WLYUIi','string','injectAtBeginningOfFile','maka\x20g:comp\x20todos/todos-item','api','client','.css','warn','/imports/ui/','150dZDBBN','dir','pathFromProject','withValue','findAppDirectory','setTemplate','1182xUlVNh','installNpmPackage','relative','none','fileName','import\x20\x27./','features','search','getMakaProjectConfig','test','error','10201797FtrGSe','assign','apply','component/component.js','component','cssCaseName','injectTemplateModule','root','resourceName','263TXAubP','checkNpmPackage'];a108c=function(){return q;};return a108c();}import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a108d(a,b){const c=a108c();return a108d=function(d,e){d=d-0xfe;let f=c[d];return f;},a108d(a,b);}import{Log}from'../tools/log/log.class.js';const aliases=['comp'];Generator['create']({'name':a108n(0x127),'aliases':aliases,'usage':a108n(0x137),'shortDesc':a108n(0x130),'validOpts':[{'name':a108n(0x131)}],'examples':[a108n(0x10c)]},async function(a,b){const o=a108n;try{const c=this[o(0xff)][o(0x116)](),d=b[o(0x131)]?o(0x111)+b['baseDir']:'/imports/ui/components',f=this[o(0xff)][o(0x105)]({'pathParts':[d,b[o(0x113)],paramCase(b[o(0x12b)]),paramCase(b[o(0x12b)])]}),g=await this['fsi'][o(0x120)]();await this['fsi'][o(0x115)](g,async()=>{const p=o;typeof g[p(0xfe)]['test']===p(0x10a)&&(g[p(0xfe)][p(0x121)]=g[p(0xfe)][p(0x121)]==='true'?!![]:![],this['fsi']['setTemplate'](p(0x121),g[p(0xfe)][p(0x121)]));typeof g['template'][p(0x133)]===p(0x10a)&&(g['template'][p(0x133)]=g[p(0xfe)][p(0x133)]==='true'?!![]:![],this['fsi']['setTemplate'](p(0x133),g['template']['css']));typeof g['template']['js']===p(0x10a)&&(g[p(0xfe)]['js']=g[p(0xfe)]['js']===p(0x135)?!![]:![],this[p(0xff)][p(0x117)]('js',g[p(0xfe)]['js']));!g[p(0x11e)]&&(g['features']={});!b[p(0x12a)]&&!this[p(0xff)][p(0x12d)]('ramda')&&(Log[p(0x110)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),await this[p(0xff)][p(0x119)]('ramda',{'cwd':c}));if(!b[p(0x12a)]&&!this['fsi'][p(0x12d)]('react')){Log[p(0x122)]('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');return;}const h={'name':pascalCase(b['resourceName']),'myPath':a108e[p(0x11a)](this[p(0xff)][p(0x114)]({}),f),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[p(0x12b)]),'camelCaseName':camelCase(b[p(0x12b)]),'fileName':paramCase(b[p(0x12b)]),'graphql':g['engines'][p(0x106)],'features':g['features'],'client':g[p(0x12f)][p(0x10e)],'api':g[p(0x12f)][p(0x10d)],'ssr':g['engines'][p(0x12e)],'test':g[p(0x12f)][p(0x121)],'theme':g[p(0x12f)][p(0x132)],'isLayout':![],'isComponent':!![],'withTranslations':g[p(0x11e)]['withTranslations']};await this[p(0xff)]['template']({'srcPath':p(0x126),'destPath':f+p(0x108),'context':h,'framework':p(0x104),'config':g});g[p(0x12f)][p(0x121)]!==p(0x11b)&&await this['fsi'][p(0xfe)]({'srcPath':p(0x134),'destPath':f+'.tests.js','context':h,'framework':p(0x104),'config':g});g[p(0xfe)]['css']&&(await this['fsi'][p(0xfe)]({'srcPath':p(0x102),'destPath':f+p(0x10f),'context':Object[p(0x124)]({},h,{'className':paramCase(b[p(0x12b)])}),'config':g}),await this[p(0xff)][p(0x10b)]({'filePath':f+'.'+g[p(0x12f)]['js'],'content':p(0x11d)+h[p(0x128)]+'.'+g[p(0x12f)][p(0x133)]+'\x27;'}));const i=b[p(0x113)]?'/'+b[p(0x113)]+'/':'/',j=''+d+i+h[p(0x11c)]+'/'+h[p(0x11c)];await this[p(0xff)][p(0x129)](h[p(0x138)],g,j);});}catch(h){Log[o(0x122)](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a109c(){const m=['constructor','(((.+)+)+)+$','template','pathFromProject','3306640ksEgyS','26714mhqAix','process.env','6027039lnJaZc','development','config/settings.json','search','maka\x20g:config\x20production','7264070Ibnzdj','3KGBijF','config','Generate\x20configuration\x20settings.','isDocker','appName','maka\x20{generate,\x20g}:{config}\x20<name>','prod','ubuntu','246YfRmbn','settings.json','fsi','dev','61jYIHKY','574216HZPhsd','77ZJeVTs','88425buISIK','toString','5114813gLwqoW','withValue'];a109c=function(){return m;};return a109c();}const a109j=a109d;(function(a,b){const h=a109d,c=a();while(!![]){try{const d=parseInt(h(0xa4))/0x1*(parseInt(h(0x90))/0x2)+parseInt(h(0x98))/0x3*(parseInt(h(0x8f))/0x4)+-parseInt(h(0xa7))/0x5*(-parseInt(h(0xa0))/0x6)+parseInt(h(0xa6))/0x7*(-parseInt(h(0xa5))/0x8)+-parseInt(h(0x92))/0x9+-parseInt(h(0x97))/0xa+parseInt(h(0xa9))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a109c,0x9daf8));const a109b=(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;};}()),a109a=a109b(this,function(){const i=a109d;return a109a[i(0xa8)]()[i(0x95)](i(0x8c))['toString']()[i(0xab)](a109a)[i(0x95)](i(0x8c));});a109a();import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';function a109d(a,b){const c=a109c();return a109d=function(d,e){d=d-0x8c;let f=c[d];return f;},a109d(a,b);}Generator['create']({'name':a109j(0x99),'usage':a109j(0x9d),'shortDesc':a109j(0x9a),'validOpts':[a109j(0x9b)],'examples':[a109j(0x96)]},async function(a,b){const k=a109j,c=this[k(0xa2)]['getMakaProjectConfig']();await this['fsi'][k(0xaa)](c,async()=>{const l=k,d={'app':c['appName'],'appFileCase':paramCase(c[l(0x9c)]),'name':pascalCase(b['resourceName']),'fileName':paramCase(b['resourceName']),'camelCase':camelCase(b['resourceName']),'userName':l(0x9f),'isDocker':b[l(0x9b)]};let e=b['resourceName'];if(e===l(0xa3))e=l(0x93);else e===l(0x9e)&&(e='production');const f=this[l(0xa2)][l(0x8e)]({'pathParts':['config',e,l(0xa1)]});await this[l(0xa2)][l(0x8d)]({'srcPath':l(0x94),'destPath':f,'context':d,'config':c});if(!b['isDocker']){const g=this['fsi']['pathFromProject']({'pathParts':[l(0x99),e,l(0x91)]});await this[l(0xa2)]['template']({'srcPath':'config/process.env','destPath':g,'context':d,'config':c});}});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a110m=a110d;(function(a,b){const j=a110d,c=a();while(!![]){try{const d=parseInt(j(0x79))/0x1*(parseInt(j(0x70))/0x2)+parseInt(j(0x8e))/0x3*(parseInt(j(0x6b))/0x4)+-parseInt(j(0x72))/0x5+parseInt(j(0x71))/0x6*(parseInt(j(0x74))/0x7)+-parseInt(j(0x94))/0x8+parseInt(j(0x93))/0x9*(parseInt(j(0x7f))/0xa)+parseInt(j(0x87))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a110c,0xea354));const a110b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a110d;if(c){const e=c[k(0x91)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a110a=a110b(this,function(){const l=a110d;return a110a[l(0x84)]()[l(0x6c)](l(0x6a))[l(0x84)]()[l(0x78)](a110a)[l(0x6c)]('(((.+)+)+)+$');});a110a();import{camelCase,paramCase,pascalCase}from'change-case';function a110d(a,b){const c=a110c();return a110d=function(d,e){d=d-0x66;let f=c[d];return f;},a110d(a,b);}import{Generator}from'../generator.js';function a110c(){const p=['better-sqlite3','(((.+)+)+)+$','29196YsGRdy','search','sqlite','injectAtEndOfFile','Npm\x20package\x20\x22pg\x22\x20not\x20installed,\x20installing...','9518hPPdKf','6TjArsi','8700850wzNJRL','withValue','3532676DUZiHq','tsx','pgsql','maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','constructor','92REoIRr','type','server','pathFromApp','index.','resourceName','100nMmFoj','Npm\x20package\x20\x22mssql\x22\x20not\x20installed,\x20installing...','engines','-dbc.','error','toString','config.','template','11817234BiHHQF','Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','register-','fsi','warn','checkNpmPackage','imports','381CNZftl','installNpmPackage','dbc/conn.js','apply','maka\x20g:dbc\x20todos\x20--type=sqlite','1284084RtjSfH','13368296tkZUlo','conn.','mssql','maka\x20g:dbc\x20geoserver\x20--type=pgsql','create','dir','dbc','startup','Npm\x20package\x20\x22better-sqlite3\x22\x20not\x20installed,\x20installing...'];a110c=function(){return p;};return a110c();}import{Log}from'../tools/log/log.class.js';Generator[a110m(0x98)]({'name':a110m(0x66),'usage':a110m(0x77),'shortDesc':a110m(0x88),'validOpts':['dir'],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a110m(0x7a),'values':[a110m(0x76),a110m(0x96),a110m(0x6d)]}],'examples':[a110m(0x97),'maka\x20g:dbc\x20azure\x20--type=mssql',a110m(0x92)]},async function(a,b){const n=a110m;try{const c=await this[n(0x8a)]['getMakaProjectConfig'](),d=this[n(0x8a)][n(0x7c)]({}),f=paramCase(b['resourceName']),g={'name':pascalCase(b[n(0x7e)]),'fileName':paramCase(b[n(0x7e)]),'camelCase':camelCase(b[n(0x7e)]),'type':b[n(0x7a)],'engine':c[n(0x81)]['js'],'noRename':!![]};await this['fsi'][n(0x73)](c,async()=>{const o=n;let h='js';c[o(0x81)]['js']===o(0x75)&&(h='ts');b[o(0x7a)]===o(0x76)&&!this[o(0x8a)][o(0x8c)]('pg')&&(Log[o(0x8b)](o(0x6f)),await this[o(0x8a)][o(0x8f)]('pg',{'cwd':d}));b['type']===o(0x96)&&!this['fsi']['checkNpmPackage'](o(0x96))&&(Log[o(0x8b)](o(0x80)),await this['fsi'][o(0x8f)](o(0x96),{'cwd':d}));b[o(0x7a)]===o(0x6d)&&!this[o(0x8a)][o(0x8c)](o(0x69))&&(Log[o(0x8b)](o(0x68)),await this[o(0x8a)][o(0x8f)]('better-sqlite3',{'cwd':d}));await this[o(0x8a)]['template']({'srcPath':'dbc/config.js','destPath':this['fsi']['pathFromApp']({'pathParts':[o(0x8d),'startup',o(0x7b),'dbc',b['dir'],f,o(0x85)+h]}),'context':g,'config':c}),await this['fsi'][o(0x86)]({'srcPath':o(0x90),'destPath':this[o(0x8a)]['pathFromApp']({'pathParts':[o(0x8d),o(0x67),o(0x7b),o(0x66),b[o(0x99)],f,o(0x95)+h]}),'context':g,'config':c}),await this['fsi'][o(0x86)]({'srcPath':'dbc/register-dbc.js','destPath':this[o(0x8a)][o(0x7c)]({'pathParts':['imports',o(0x67),o(0x7b),o(0x89)+f+o(0x82)+h]}),'context':g,'config':c});const i=this[o(0x8a)]['pathFromApp']({'pathParts':[o(0x8d),o(0x67),o(0x7b),o(0x7d)+c[o(0x81)]['js']]});await this[o(0x8a)][o(0x6e)]({'filePath':i,'content':'import\x20\x27./register-'+f+'-dbc\x27;'});});}catch(h){Log[n(0x83)](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a111i=a111d;
|
|
1
|
+
const a111i=a111d;(function(a,b){const f=a111d,c=a();while(!![]){try{const d=-parseInt(f(0xf7))/0x1*(parseInt(f(0xf1))/0x2)+-parseInt(f(0xe9))/0x3+parseInt(f(0xed))/0x4*(parseInt(f(0xeb))/0x5)+parseInt(f(0xf3))/0x6+-parseInt(f(0xf9))/0x7+parseInt(f(0xf8))/0x8+parseInt(f(0xe6))/0x9*(-parseInt(f(0xe5))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a111c,0x934a7));const a111b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a111d;if(c){const e=c[g(0xe8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a111a=a111b(this,function(){const h=a111d;return a111a[h(0xfa)]()['search'](h(0xef))[h(0xfa)]()[h(0xe4)](a111a)['search'](h(0xef));});function a111c(){const l=['maka\x20g:dockerfile','constructor','40rrhIDs','225297doHHcg','isFile','apply','352608YNIsJh','maka\x20{generate,\x20g}:dockerfile','1875470AxsHhS','getMakaProjectConfig','12hlrkVZ','error','(((.+)+)+)+$','join','723326WIsMEZ','Generate\x20an\x20updated\x20dockerfile','3847542amxlcF','cert','Dockerfile','app.tar.gz','2iMxuqP','2246728mAhhpj','3521581XGscZT','toString','build','withValue','getGlobalConfig','app','fsi','findProjectDirectory','service'];a111c=function(){return l;};return a111c();}a111a();function a111d(a,b){const c=a111c();return a111d=function(d,e){d=d-0xdf;let f=c[d];return f;},a111d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a111e from'path';Generator['create']({'name':'dockerfile','usage':a111i(0xea),'shortDesc':a111i(0xf2),'validOpts':[],'noNeedResource':!![],'examples':[a111i(0xe3)]},async function(){const j=a111i;try{const a=await this[j(0xe0)][j(0xec)](),b=await this[j(0xe0)][j(0xfd)](),c=this['fsi'][j(0xe1)]();await this[j(0xe0)][j(0xfc)](a,async()=>{const k=j,d={'app':b['appName'],'config':a,'appPath':a111e[k(0xf0)](c,k(0xdf)),'bundlePath':a111e[k(0xf0)](c,k(0xfb),k(0xf6)),'useCert':this['fsi'][k(0xe7)](b[k(0xf4)])};await this[k(0xe0)]['template']({'srcPath':'docker/Dockerfile','destPath':a111e[k(0xf0)](c,k(0xf5)),'framework':k(0xe2),'context':d,'config':a});});}catch(d){Log[j(0xee)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a112n=a112d;(function(a,b){const l=a112d,c=a();while(!![]){try{const d
|
|
1
|
+
const a112n=a112d;(function(a,b){const l=a112d,c=a();while(!![]){try{const d=parseInt(l(0xb7))/0x1*(parseInt(l(0x90))/0x2)+-parseInt(l(0xa3))/0x3+parseInt(l(0x82))/0x4*(parseInt(l(0x9a))/0x5)+parseInt(l(0xb6))/0x6*(-parseInt(l(0x7f))/0x7)+parseInt(l(0x9b))/0x8+parseInt(l(0xa4))/0x9*(-parseInt(l(0x98))/0xa)+parseInt(l(0x9c))/0xb*(parseInt(l(0x96))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a112c,0x5eeb7));const a112b=(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;};}()),a112a=a112b(this,function(){const m=a112d;return a112a[m(0x7e)]()[m(0x95)](m(0xb3))[m(0x7e)]()['constructor'](a112a)[m(0x95)](m(0xb3));});function a112d(a,b){const c=a112c();return a112d=function(d,e){d=d-0x7c;let f=c[d];return f;},a112d(a,b);}function a112c(){const q=['engines','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','hook/hook.js','template/template.css','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','css','966189NSxYos','513JUJDVY','baseDir','none','relative','test/test.js','assign','Creating\x20','\x20hook...','error','injectAtBeginningOfFile','setTemplate','pathFromProject','fsi','resourceName','pages','(((.+)+)+)+$','installNpmPackage','template','1860732JVAQcV','5627OTzDjO','.css','react','string','notice','toString','7oQQvzQ','dir','.app-tests.js','4CjaPVW','withValue','graphql','checkNpmPackage','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','force','import\x20\x27./','cssCaseName','layouts','maka\x20g:hook\x20cool-hook','pathFromApp','\x0a\x20\x20Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html\x0a\x0a\x20\x20If\x20you\x27d\x20like\x20a\x20hook\x20created\x20as\x20part\x20of\x20an\x20existing\x20page,\x20component,\x20or\x20layout,\x0a\x20\x20use\x20the\x20maka\x20g:hook\x20command\x20with\x20the\x20--baseDir\x20option.\x20For\x20example,\x0a\x0a\x20\x20\x20\x20maka\x20g:hook\x20--baseDir=pages\x20myPage/useCoolHook\x0a\x0a\x20\x20will\x20create\x20a\x20hook\x20in\x20imports/ui/pages/my-page/use-cool-hook.jsx\x0a\x0a\x20\x20','withTranslations','.js','46xrkrjs','features','/imports/ui/','@apollo/client','injectTemplateModule','search','12HBeucH','fileName','114110SgDSGl','className','1232035iwwAJM','6196176ceqXnp','5731583zzLuVI'];a112c=function(){return q;};return a112c();}a112a();import a112e from'path';import{paramCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Generator['create']({'name':'hook','aliases':['h'],'checkWhere':![],'usage':a112n(0x9e),'shortDesc':a112n(0xa1),'validOpts':[{'name':a112n(0xa5),'values':['hooks','components',a112n(0xb2),a112n(0x8a)]},{'name':a112n(0x87),'boolFlag':!![]}],'examples':[a112n(0x8b)],'description':a112n(0x8d)},async function(a,b){const o=a112n;Log[o(0x7d)](o(0xaa)+b[o(0xb1)]+o(0xab));try{const c=this[o(0xb0)][o(0x85)](o(0xb9));if(!c){Log[o(0xac)]('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');throw new UsageError();}const d=this[o(0xb0)]['findAppDirectory'](),f=b['baseDir']?o(0x92)+b[o(0xa5)]:'/imports/ui/components',g=this[o(0xb0)][o(0x8c)]({'pathParts':[f,b[o(0x80)],paramCase(b['resourceName']),paramCase(b['resourceName'])]}),h=await this[o(0xb0)]['getMakaProjectConfig']();await this['fsi'][o(0x83)](h,async()=>{const p=o;typeof h[p(0xb5)][p(0xa2)]===p(0x7c)&&(h[p(0xb5)][p(0xa2)]=h['template'][p(0xa2)]==='true'?!![]:![],this[p(0xb0)][p(0xae)](p(0xa2),h[p(0xb5)]['css']));h[p(0x9d)][p(0x84)]==='apollo'&&!this[p(0xb0)][p(0x85)](p(0x93))&&(Log['warn'](p(0x86)),await this[p(0xb0)][p(0xb4)]('@apollo/client\x20isomorphic-fetch',{'cwd':d}));const i={'cssCaseName':paramCase(b['resourceName']),'camelCaseName':camelCase(b['resourceName']),'className':pascalCase(b[p(0xb1)]),'name':pascalCase(b[p(0xb1)]),'graphql':h[p(0x9d)][p(0x84)],'theme':h[p(0x9d)]['theme'],'features':h['features'],'myPath':a112e[p(0xa7)](this[p(0xb0)][p(0xaf)]({}),g),'fileName':paramCase(b[p(0xb1)]),'isComponent':![],'isLayout':![],'withTranslations':h[p(0x91)][p(0x8e)]};await this['fsi'][p(0xb5)]({'srcPath':p(0x9f),'destPath':g+p(0x8f),'context':i,'config':h,'framework':p(0xb9),'force':b['force']});h[p(0xb5)][p(0xa2)]&&(await this[p(0xb0)]['template']({'srcPath':p(0xa0),'destPath':g+p(0xb8),'context':Object[p(0xa9)]({},i,{'className':i[p(0x89)]}),'config':h,'force':b[p(0x87)]}),await this[p(0xb0)][p(0xad)]({'filePath':g+'.'+h['engines']['js'],'content':p(0x88)+i[p(0x97)]+'.'+h[p(0x9d)]['css']+'\x27;'}));h[p(0x9d)]['test']!==p(0xa6)&&await this[p(0xb0)][p(0xb5)]({'srcPath':p(0xa8),'destPath':g+p(0x81),'framework':p(0xb9),'context':i,'config':h,'force':b['force']});const j=b[p(0x80)]?'/'+b[p(0x80)]+'/':'/',k=''+f+j+i[p(0x97)]+'/'+i[p(0x97)];await this[p(0xb0)][p(0x94)](i[p(0x99)],h,k);});}catch(i){Log[o(0xac)](i);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a113d,c=a();while(!![]){try{var d=parseInt(f(
|
|
1
|
+
function a113d(a,b){var c=a113c();return a113d=function(d,e){d=d-0x18a;var f=c[d];return f;},a113d(a,b);}(function(a,b){var f=a113d,c=a();while(!![]){try{var d=parseInt(f(0x18e))/0x1*(-parseInt(f(0x194))/0x2)+-parseInt(f(0x198))/0x3*(-parseInt(f(0x18b))/0x4)+-parseInt(f(0x18a))/0x5+parseInt(f(0x18c))/0x6*(-parseInt(f(0x190))/0x7)+parseInt(f(0x191))/0x8+parseInt(f(0x18f))/0x9+parseInt(f(0x18d))/0xa*(parseInt(f(0x192))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a113c,0x77037));var a113b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a113d;if(c){var e=c[g(0x196)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a113a=a113b(this,function(){var h=a113d;return a113a[h(0x193)]()['search'](h(0x195))[h(0x193)]()[h(0x199)](a113a)[h(0x197)]('(((.+)+)+)+$');});function a113c(){var i=['68075WwEpkg','4259320NzTYfA','6133886cGKfyu','toString','224186mYAONp','(((.+)+)+)+$','apply','search','24573vTkQkN','constructor','2323975oviCba','148zVCAti','294Fixgnr','10yUcUGN','2ADdQqM','2338893kSNpgF'];a113c=function(){return i;};return a113c();}a113a();import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';import'./auth/_index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a114d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a114d,c=a();while(!![]){try{var d=-parseInt(f(0x1ef))/0x1+-parseInt(f(0x1eb))/0x2*(parseInt(f(0x1f9))/0x3)+parseInt(f(0x1f3))/0x4*(parseInt(f(0x1f1))/0x5)+-parseInt(f(0x1ed))/0x6+-parseInt(f(0x1ec))/0x7*(parseInt(f(0x1f5))/0x8)+-parseInt(f(0x1f0))/0x9*(-parseInt(f(0x1f4))/0xa)+-parseInt(f(0x1ee))/0xb*(-parseInt(f(0x1f7))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a114c,0xa8095));var a114b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a114d;if(c){var e=c[g(0x1f8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a114a=a114b(this,function(){var h=a114d;return a114a[h(0x1fa)]()['search']('(((.+)+)+)+$')[h(0x1fa)]()[h(0x1f6)](a114a)[h(0x1ea)](h(0x1f2));});function a114c(){var i=['3951624DJptLo','apply','9VqIvYe','toString','search','812312fMEsBQ','7melAKY','2589834IrzQng','77uGKDef','883827VspMvB','9PdrWTA','435165ukxpjd','(((.+)+)+)+$','12JvYFVB','13087340aHTTfb','5221888ltZgaY','constructor'];a114c=function(){return i;};return a114c();}a114a();import'./auth.generator.js';import'./provider.auth.gen.js';function a114d(a,b){var c=a114c();return a114d=function(d,e){d=d-0x1ea;var f=c[d];return f;},a114d(a,b);}import'./basic-meteor.auth.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a115i=a115d;(function(a,b){const f=a115d,c=a();while(!![]){try{const d=-parseInt(f(
|
|
1
|
+
const a115i=a115d;function a115c(){const k=['8fWVrIT','toString','search','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','2577735QnbzmK','apply','1468362HCeSCw','1025vtPzOy','32561oJWXvC','auth','430464WMbtxe','create','123447xBPHdu','44AbhmoW','constructor','NIE','4590gPQtih','(((.+)+)+)+$','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','6133670FpPfIQ'];a115c=function(){return k;};return a115c();}(function(a,b){const f=a115d,c=a();while(!![]){try{const d=-parseInt(f(0x185))/0x1+-parseInt(f(0x187))/0x2+parseInt(f(0x189))/0x3*(-parseInt(f(0x18a))/0x4)+-parseInt(f(0x184))/0x5*(parseInt(f(0x18d))/0x6)+parseInt(f(0x183))/0x7+parseInt(f(0x17d))/0x8*(parseInt(f(0x181))/0x9)+parseInt(f(0x17c))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0x3d983));const a115b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a115d;if(c){const e=c[g(0x182)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a115a=a115b(this,function(){const h=a115d;return a115a['toString']()[h(0x17f)](h(0x17a))[h(0x17e)]()[h(0x18b)](a115a)[h(0x17f)](h(0x17a));});a115a();import{Generator}from'../../../generator.js';import a115e from'../kit.js';function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-0x17a;let f=c[d];return f;},a115d(a,b);}const AuthGen=Generator[a115i(0x188)]({'name':a115i(0x186),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','noNeedResource':!![],'shortDesc':a115i(0x180),'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:a'],'description':a115i(0x17b)},async function(){const j=a115i;throw j(0x18c);},async function(){},a115e);export default AuthGen;
|