@maka/maka-cli 4.5.23 → 4.5.24
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/aws/_index.js +1 -1
- package/bundle/obf/src/commands/aws/aws.command.js +1 -1
- package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/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.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/jsdoc.js +1 -1
- package/bundle/obf/src/commands/lint.js +1 -1
- package/bundle/obf/src/commands/login.js +1 -1
- package/bundle/obf/src/commands/logout.js +1 -1
- package/bundle/obf/src/commands/logs.js +1 -1
- package/bundle/obf/src/commands/maka.cmd.js +1 -1
- package/bundle/obf/src/commands/murder.js +1 -1
- package/bundle/obf/src/commands/proxy.js +1 -1
- package/bundle/obf/src/commands/reconfig.js +1 -1
- package/bundle/obf/src/commands/run/_index.js +1 -1
- package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/run/run.command.js +1 -1
- package/bundle/obf/src/commands/set/_index.js +1 -1
- package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/set.command.js +1 -1
- package/bundle/obf/src/commands/ssh.js +1 -1
- package/bundle/obf/src/commands/ssl.js +1 -1
- package/bundle/obf/src/commands/test.js +1 -1
- package/bundle/obf/src/commands/version.js +1 -1
- package/bundle/obf/src/error.js +1 -1
- package/bundle/obf/src/exec.js +1 -1
- package/bundle/obf/src/generator.js +1 -1
- package/bundle/obf/src/generators/_index.js +1 -1
- package/bundle/obf/src/generators/api.js +1 -1
- package/bundle/obf/src/generators/collection.js +1 -1
- package/bundle/obf/src/generators/component.js +1 -1
- package/bundle/obf/src/generators/config.js +1 -1
- package/bundle/obf/src/generators/dbc.js +1 -1
- package/bundle/obf/src/generators/dockerfile.js +1 -1
- package/bundle/obf/src/generators/hook.js +1 -1
- package/bundle/obf/src/generators/kit.js +1 -1
- package/bundle/obf/src/generators/layout.js +1 -1
- package/bundle/obf/src/generators/maka.gen.js +1 -1
- package/bundle/obf/src/generators/methods.js +1 -1
- package/bundle/obf/src/generators/package.js +1 -1
- package/bundle/obf/src/generators/page.js +1 -1
- package/bundle/obf/src/generators/publish.js +1 -1
- package/bundle/obf/src/generators/route.js +1 -1
- package/bundle/obf/src/generators/service.js +1 -1
- package/bundle/obf/src/generators/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/translation.js +1 -1
- package/bundle/obf/src/maka.js +1 -1
- package/bundle/obf/src/tool.js +1 -1
- package/bundle/obf/src/tools/actions/actions.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
- package/bundle/obf/src/tools/docker/docker.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
- package/bundle/obf/src/tools/https/https.class.js +1 -1
- package/bundle/obf/src/tools/https/https.interface.js +1 -1
- package/bundle/obf/src/tools/log/log.class.js +1 -1
- package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
- package/bundle/obf/src/tools/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 a94p=a94d;(function(a,b){const n=a94d,c=a();while(!![]){try{const d=parseInt(n(
|
|
1
|
+
const a94p=a94d;(function(a,b){const n=a94d,c=a();while(!![]){try{const d=parseInt(n(0x1d6))/0x1+parseInt(n(0x1cb))/0x2*(-parseInt(n(0x1d7))/0x3)+-parseInt(n(0x20d))/0x4*(-parseInt(n(0x1d4))/0x5)+-parseInt(n(0x1c6))/0x6*(parseInt(n(0x200))/0x7)+parseInt(n(0x1e3))/0x8+parseInt(n(0x1da))/0x9*(-parseInt(n(0x208))/0xa)+-parseInt(n(0x1f0))/0xb*(-parseInt(n(0x1d5))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0xa6f29));const a94b=(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;};}()),a94a=a94b(this,function(){const o=a94d;return a94a['toString']()[o(0x1f5)](o(0x1e1))[o(0x1c9)]()['constructor'](a94a)[o(0x1f5)](o(0x1e1));});a94a();import a94e from'path';import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a94d(a,b){const c=a94c();return a94d=function(d,e){d=d-0x1c5;let f=c[d];return f;},a94d(a,b);}const aliases=[a94p(0x1ca)];Generator[a94p(0x1d2)]({'name':a94p(0x1d3),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','shortDesc':'Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','validOpts':[a94p(0x206)],'examples':[a94p(0x1ec)]},async function(a,b){const q=a94p;try{const c=this[q(0x1e9)][q(0x1cf)](),d=q(0x1e5),f=this[q(0x1e9)]['pathFromApp']({'pathParts':[d,b[q(0x206)],paramCase(b[q(0x1c5)]),paramCase(b[q(0x1c5)])]}),g=await this[q(0x1e9)][q(0x201)]();this[q(0x1e9)][q(0x1d0)](g,async()=>{const r=q;typeof g[r(0x204)]['test']===r(0x1e2)&&(g[r(0x204)][r(0x20a)]=g['template'][r(0x20a)]===r(0x1e8)?!![]:![],this[r(0x1e9)][r(0x1d1)](r(0x20a),g[r(0x204)][r(0x20a)]));typeof g[r(0x204)][r(0x1ee)]==='string'&&(g[r(0x204)]['css']=g[r(0x204)][r(0x1ee)]===r(0x1e8)?!![]:![],this['fsi'][r(0x1d1)]('css',g[r(0x204)][r(0x1ee)]));typeof g[r(0x204)]['js']===r(0x1e2)&&(g[r(0x204)]['js']=g[r(0x204)]['js']===r(0x1e8)?!![]:![],this[r(0x1e9)][r(0x1d1)]('js',g[r(0x204)]['js']));!g[r(0x1f3)]&&(g[r(0x1f3)]={});!b[r(0x203)]&&!this[r(0x1e9)]['checkNpmPackage'](r(0x1ef))&&(Log[r(0x1d8)](r(0x1cd)),await this[r(0x1e9)][r(0x202)](r(0x1ef),{'cwd':c}));if(!b['root']&&!this['fsi'][r(0x1d9)]('react')){Log[r(0x1eb)](r(0x1dd));return;}const h={'name':pascalCase(b[r(0x1c5)]),'myPath':a94e[r(0x1fb)](this[r(0x1e9)][r(0x207)]({}),f),'cssCaseName':paramCase(b[r(0x1c5)]),'className':pascalCase(b[r(0x1c5)]),'camelCaseName':camelCase(b[r(0x1c5)]),'fileName':paramCase(b[r(0x1c5)]),'graphql':g['engines'][r(0x1c8)],'features':g[r(0x1f3)],'client':g[r(0x205)][r(0x1df)],'api':g[r(0x205)][r(0x1de)],'ssr':g[r(0x205)]['ssr'],'test':g['engines'][r(0x20a)],'theme':g[r(0x205)][r(0x1f2)],'isLayout':![],'isComponent':!![],'withTranslations':g[r(0x1f3)]['withTranslations']};this[r(0x1e9)][r(0x204)]({'srcPath':r(0x1fd),'destPath':f+r(0x1f6),'context':h,'framework':'react','config':g});g['engines'][r(0x20a)]!==r(0x20b)&&this[r(0x1e9)][r(0x204)]({'srcPath':r(0x20c),'destPath':f+r(0x1e4),'context':h,'framework':r(0x1e0),'config':g});g[r(0x204)][r(0x1ee)]&&(this[r(0x1e9)][r(0x204)]({'srcPath':r(0x1dc),'destPath':f+r(0x1fe),'context':Object[r(0x1f8)]({},h,{'className':paramCase(b[r(0x1c5)])}),'config':g}),this[r(0x1e9)][r(0x1f1)]({'filePath':f+'.'+g[r(0x205)]['js'],'content':r(0x1f4)+h[r(0x1c7)]+'.'+g[r(0x205)][r(0x1ee)]+'\x27;'}));const i=b[r(0x206)]?'/'+b[r(0x206)]+'/':'/',j=''+d+i+h[r(0x209)]+'/'+h[r(0x209)];let k;if(g[r(0x205)][r(0x1fc)]===r(0x1e8)){const l=this[r(0x1e9)]['pathFromApp']({'pathParts':['imports',r(0x1ea),'lib',r(0x1ed)]});k=this[r(0x1e9)]['rewriteDestinationPathForEngine']({'pathParts':[l],'config':g});}else{const m=this[r(0x1e9)]['pathFromApp']({'pathParts':[r(0x1ff),r(0x1ea),'client',r(0x1ed)]});k=this[r(0x1e9)][r(0x1fa)]({'pathParts':[m],'config':g});}g[r(0x205)]['client']===r(0x1e0)||g['engines']['client']===r(0x1ce)?(g[r(0x205)]['js']==='tsx'?this[r(0x1e9)]['injectAtBeginningOfFile']({'filePath':k,'content':r(0x1cc)+h[r(0x1e7)]+r(0x1db)+j+'\x27;\x0a'}):this['fsi'][r(0x1f1)]({'filePath':k,'content':r(0x1cc)+h[r(0x1e7)]+r(0x1db)+j+'.'+g[r(0x205)]['js']+'\x27;\x0a'}),this['fsi']['injectAtEndOfFile']({'filePath':k,'content':r(0x1f9)+h[r(0x1e7)]+r(0x1e6)})):this['fsi'][r(0x1f7)]({'filePath':k,'content':'import\x20\x27'+j+'.'+g[r(0x205)]['js']+'\x27;\x0a'});});}catch(h){Log[q(0x1eb)](h);}});function a94c(){const s=['assign','export\x20{\x20','rewriteDestinationPathForEngine','relative','ssr','component/component.js','.css','imports','14987XjyMXI','getProjectConfig','installNpmPackage','root','template','engines','dir','pathFromProject','20UmnxnV','fileName','test','none','test/test.js','57284VndwRj','resourceName','2202cDudZh','cssCaseName','graphql','toString','comp','4yrWdYE','import\x20{\x20','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','reflux','findAppDirectory','withValue','setTemplate','create','component','15CGeKTj','63984nwKZKJ','582476GZESDW','481215pKaqIW','warn','checkNpmPackage','3210129GEJlbS','\x20}\x20from\x20\x27','template/template.css','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','api','client','react','(((.+)+)+)+$','string','7902824PnDEBQ','.tests.js','/imports/ui/components','\x20};\x0a','className','true','fsi','startup','error','maka\x20g:comp\x20todos/todos-item','templates.js','css','ramda','1837LRVfOC','injectAtBeginningOfFile','theme','features','import\x20\x27./','search','.js','injectAtEndOfFile'];a94c=function(){return s;};return a94c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a95k=a95d;(function(a,b){const h=a95d,c=a();while(!![]){try{const d=-parseInt(h(
|
|
1
|
+
const a95k=a95d;(function(a,b){const h=a95d,c=a();while(!![]){try{const d=-parseInt(h(0x1c6))/0x1*(parseInt(h(0x1ae))/0x2)+-parseInt(h(0x1b5))/0x3*(-parseInt(h(0x1b6))/0x4)+parseInt(h(0x1c0))/0x5*(-parseInt(h(0x1c1))/0x6)+-parseInt(h(0x1bc))/0x7+-parseInt(h(0x1ba))/0x8*(-parseInt(h(0x1a8))/0x9)+parseInt(h(0x1b2))/0xa*(-parseInt(h(0x1c4))/0xb)+-parseInt(h(0x1b8))/0xc*(-parseInt(h(0x1c5))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a95c,0x8aa3a));const a95b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a95d;if(c){const e=c[i(0x1a6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a95a=a95b(this,function(){const j=a95d;return a95a[j(0x1ad)]()['search']('(((.+)+)+)+$')[j(0x1ad)]()[j(0x1be)](a95a)['search']('(((.+)+)+)+$');});function a95d(a,b){const c=a95c();return a95d=function(d,e){d=d-0x1a6;let f=c[d];return f;},a95d(a,b);}a95a();import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a95k(0x1b1)]({'name':a95k(0x1aa),'usage':a95k(0x1bd),'shortDesc':'Generate\x20configuration\x20settings.','validOpts':['isDocker'],'examples':[a95k(0x1bb)]},function(a,b){const l=a95k,c=this[l(0x1a7)][l(0x1b3)]();this[l(0x1a7)][l(0x1bf)](c,async()=>{const m=l,d={'app':c[m(0x1ab)],'appFileCase':paramCase(c['appName']),'name':pascalCase(b[m(0x1c3)]),'fileName':paramCase(b['resourceName']),'camelCase':camelCase(b['resourceName']),'userName':m(0x1ac),'isDocker':b['isDocker']};let e=a[0x0];if(e===m(0x1b0))e=m(0x1b9);else e==='prod'&&(e='production');const f=this[m(0x1a7)][m(0x1b4)]({'pathParts':[m(0x1aa),e,m(0x1a9)]});this[m(0x1a7)][m(0x1b7)]({'srcPath':m(0x1af),'destPath':f,'context':d,'config':c});if(!b['isDocker']){const g=this['fsi'][m(0x1b4)]({'pathParts':[m(0x1aa),e,m(0x1c2)]});this[m(0x1a7)][m(0x1b7)]({'srcPath':'config/process.env','destPath':g,'context':d,'config':c});}});});function a95c(){const n=['11zSjfdn','5313776kpHpyZ','2954hlSrNy','apply','fsi','50823ftCVZu','settings.json','config','appName','ubuntu','toString','182zQPclC','config/settings.json','dev','create','3531050uKrpCY','getProjectConfig','pathFromProject','454611nWGUVS','8UPhCmV','template','24TYFtLB','development','1088AOLVdh','maka\x20g:config\x20production','4480952reLwXT','maka\x20{generate,\x20g}:{config}\x20<name>','constructor','withValue','293245ucvGcI','6fntpIY','process.env','resourceName'];a95c=function(){return n;};return a95c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a96d(a,b){const c=a96c();return a96d=function(d,e){d=d-0x148;let f=c[d];return f;},a96d(a,b);}const a96q=a96d;(function(a,b){const n=a96d,c=a();while(!![]){try{const d=-parseInt(n(0x15a))/0x1*(parseInt(n(0x154))/0x2)+parseInt(n(0x153))/0x3*(-parseInt(n(0x17f))/0x4)+-parseInt(n(0x14b))/0x5*(-parseInt(n(0x163))/0x6)+-parseInt(n(0x175))/0x7+parseInt(n(0x15f))/0x8*(-parseInt(n(0x181))/0x9)+parseInt(n(0x177))/0xa+parseInt(n(0x148))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a96c,0x19f32));const a96b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a96d;if(c){const e=c[o(0x150)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a96a=a96b(this,function(){const p=a96d;return a96a[p(0x14f)]()['search'](p(0x14d))[p(0x14f)]()[p(0x14a)](a96a)[p(0x170)]('(((.+)+)+)+$');});a96a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';Generator[a96q(0x16e)]({'name':'dbc','usage':a96q(0x185),'shortDesc':a96q(0x16b),'validOpts':['type','dir'],'examples':[a96q(0x16a),a96q(0x166),a96q(0x17e)]},async function(a,b){const r=a96q;try{const c=await this['fsi'][r(0x174)](),d=this[r(0x16c)]['pathFromApp']({}),f=paramCase(b['resourceName']);if(!b[r(0x178)]){const h={'type':r(0x152),'name':r(0x161),'message':'DB\x20Driver','choices':[{'name':'PostgreSQL','value':'pgsql'},{'name':r(0x169),'value':'mssql'}]},{dbAnswer:i}=await Actions[r(0x167)](h);i&&(b[r(0x178)]=i);}const g={'name':pascalCase(b[r(0x184)]),'fileName':paramCase(b[r(0x184)]),'camelCase':camelCase(b[r(0x184)]),'type':b[r(0x178)],'engine':c[r(0x155)]['js'],'noRename':!![]};this[r(0x16c)][r(0x168)](c,async()=>{const s=r;let j='js';c['engines']['js']===s(0x16d)&&(j='ts');const k=[s(0x149),'pgsql'];if(k[s(0x17d)](g['type'])<0x0){const m=g[s(0x178)]?g[s(0x178)]:s(0x179);Log[s(0x17b)](s(0x17c)+m+s(0x180));return;}b[s(0x178)]===s(0x15d)&&!this[s(0x16c)][s(0x156)]('pg')&&(Log[s(0x157)](s(0x15b)),await this[s(0x16c)][s(0x172)]('pg',{'cwd':d}));b[s(0x178)]===s(0x149)&&!this[s(0x16c)][s(0x156)](s(0x149))&&(Log[s(0x157)](s(0x151)),await this[s(0x16c)]['installNpmPackage'](s(0x149),{'cwd':d}));b[s(0x178)]===s(0x14e)&&!this[s(0x16c)][s(0x156)]('better-sqlite3')&&(Log[s(0x157)](s(0x15e)),await this[s(0x16c)][s(0x172)](s(0x16f),{'cwd':d}));this[s(0x16c)]['template']({'srcPath':s(0x186),'destPath':this[s(0x16c)][s(0x160)]({'pathParts':[s(0x159),'startup',s(0x176),s(0x183),b[s(0x171)],f,s(0x187)+j]}),'context':g,'config':c}),this[s(0x16c)][s(0x182)]({'srcPath':s(0x173),'destPath':this['fsi'][s(0x160)]({'pathParts':[s(0x159),'startup',s(0x176),s(0x183),b[s(0x171)],f,'conn.'+j]}),'context':g,'config':c}),this[s(0x16c)][s(0x182)]({'srcPath':s(0x165),'destPath':this[s(0x16c)]['pathFromApp']({'pathParts':[s(0x159),s(0x158),s(0x176),s(0x164)+f+s(0x14c)+j]}),'context':g,'config':c});const l=this[s(0x16c)][s(0x160)]({'pathParts':['imports',s(0x158),s(0x176),'index.'+c[s(0x155)]['js']]});this[s(0x16c)][s(0x162)]({'filePath':l,'content':s(0x17a)+f+s(0x15c)});});}catch(j){Log[r(0x17b)](j);}});function a96c(){const t=['list','152289mIQSxq','58312KUDwuZ','engines','checkNpmPackage','warn','startup','imports','5NSSpzS','Npm\x20package\x20\x22pg\x22\x20not\x20installed,\x20installing...','-dbc\x27;','pgsql','Npm\x20package\x20\x22better-sqlite3\x22\x20not\x20installed,\x20installing...','999584tdTVYL','pathFromApp','dbAnswer','injectAtEndOfFile','42kEPBqp','register-','dbc/register-dbc.js','maka\x20g:dbc\x20azure\x20--type=mssql','options','withValue','MS\x20SQL','maka\x20g:dbc\x20geoserver\x20--type=pgsql','Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','fsi','tsx','create','better-sqlite3','search','dir','installNpmPackage','dbc/conn.js','getProjectConfig','143549LyOCje','server','18130wrNeCa','type','(blank)','import\x20\x27./register-','error','Invalid\x20type\x20','indexOf','maka\x20g:dbc\x20todos\x20--type=sqlite','4PvZvMs',',\x20you\x20must\x20provide\x20a\x20valid\x20type\x20as\x20an\x20argument','9AEBTvA','template','dbc','resourceName','maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','dbc/config.js','config.','3186348TgfzAY','mssql','constructor','112005OpJlvq','-dbc.','(((.+)+)+)+$','sqlite','toString','apply','Npm\x20package\x20\x22mssql\x22\x20not\x20installed,\x20installing...'];a96c=function(){return t;};return a96c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a97i=a97d;(function(a,b){const f=a97d,c=a();while(!![]){try{const d=parseInt(f(
|
|
1
|
+
function a97d(a,b){const c=a97c();return a97d=function(d,e){d=d-0x75;let f=c[d];return f;},a97d(a,b);}const a97i=a97d;(function(a,b){const f=a97d,c=a();while(!![]){try{const d=parseInt(f(0x79))/0x1*(parseInt(f(0x8e))/0x2)+-parseInt(f(0x8d))/0x3+parseInt(f(0x77))/0x4*(parseInt(f(0x78))/0x5)+parseInt(f(0x91))/0x6+parseInt(f(0x8b))/0x7*(-parseInt(f(0x87))/0x8)+parseInt(f(0x7c))/0x9+parseInt(f(0x80))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a97c,0x26a67));const a97b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a97d;if(c){const e=c[g(0x90)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a97a=a97b(this,function(){const h=a97d;return a97a[h(0x8a)]()[h(0x84)](h(0x76))[h(0x8a)]()[h(0x7f)](a97a)[h(0x84)](h(0x76));});a97a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a97c(){const l=['search','Generate\x20an\x20updated\x20dockerfile','app.tar.gz','48016hmhCZz','app','service','toString','77pDvwJf','appName','706512eUAooN','113062KsokDA','join','apply','159738aVEHxT','cert','getGlobalConfig','create','withValue','(((.+)+)+)+$','40HnBSqD','75275kLHQuW','3IrfGDV','getProjectConfig','maka\x20{generate,\x20g}:dockerfile','934803dvTQtc','findProjectDirectory','error','constructor','92040AInMxG','fsi','template','maka\x20g:dockerfile'];a97c=function(){return l;};return a97c();}import a97e from'path';Generator[a97i(0x94)]({'name':'dockerfile','usage':a97i(0x7b),'shortDesc':a97i(0x85),'validOpts':[],'noResource':!![],'examples':[a97i(0x83)]},async function(){const j=a97i;try{const a=await this[j(0x81)][j(0x7a)](),b=await this[j(0x81)][j(0x93)](),c=this[j(0x81)][j(0x7d)]();this[j(0x81)][j(0x75)](a,async()=>{const k=j,d={'app':b[k(0x8c)],'config':a,'appPath':a97e[k(0x8f)](c,k(0x88)),'bundlePath':a97e[k(0x8f)](c,'build',k(0x86)),'useCert':this[k(0x81)]['isFile'](b[k(0x92)])};this[k(0x81)][k(0x82)]({'srcPath':'docker/Dockerfile','destPath':a97e[k(0x8f)](c,'Dockerfile'),'framework':k(0x89),'context':d,'config':a});});}catch(d){Log[j(0x7e)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a98r=a98d;(function(a,b){const o=a98d,c=a();while(!![]){try{const d=parseInt(o(0x144))/0x1+parseInt(o(0x139))/0x2+parseInt(o(0x111))/0x3*(-parseInt(o(0x13e))/0x4)+parseInt(o(0x12d))/0x5*(-parseInt(o(0x131))/0x6)+parseInt(o(0x13a))/0x7+-parseInt(o(0x13b))/0x8+parseInt(o(0x11c))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a98c,0xaa7bb));const a98b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a98d;if(c){const e=c[p(0x135)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a98a=a98b(this,function(){const q=a98d;return a98a['toString']()['search'](q(0x128))[q(0x112)]()[q(0x119)](a98a)[q(0x110)](q(0x128));});a98a();function a98d(a,b){const c=a98c();return a98d=function(d,e){d=d-0x106;let f=c[d];return f;},a98d(a,b);}import a98e from'path';import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a98c(){const u=['templates.js','engines','injectAtBeginningOfFile','injectAtEndOfFile','className','dir','constructor','export\x20{\x20','error','4680828yflNVa','\x20}\x20from\x20\x27','fileName','@apollo/client','lib','setTemplate','hook/hook.js','maka\x20g:hook\x20cool-hook','none','@apollo/client\x20isomorphic-fetch','/imports/ui/hooks','ssr','(((.+)+)+)+$','.css','\x27;\x0a','features','startup','20MCoyGp','withValue','test','checkNpmPackage','460014RgVulJ','import\x20\x27','cssCaseName','string','apply','getProjectConfig','import\x20\x27./','resourceName','678894QHESdc','852082adsLQq','1354096PufvqG','.app-tests.js','graphql','8AOCnOH','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','react','test/test.js','client','imports','942654SXAJQN','css','assign','rewriteDestinationPathForEngine','pathFromApp','true','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','theme','import\x20{\x20','fsi','pathFromProject','template','search','1124523TsZrEz','toString'];a98c=function(){return u;};return a98c();}import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Generator['create']({'name':'hook','aliases':['h'],'checkWhere':![],'usage':'maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','shortDesc':a98r(0x13f),'validOpts':['dir'],'examples':[a98r(0x123)]},async function(a,b){const s=a98r;try{const c=this['fsi']['checkNpmPackage'](s(0x140));if(!c){Log[s(0x11b)]('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');throw new UsageError();}const d=this[s(0x10d)][s(0x108)](b),f=s(0x126),g=this[s(0x10d)][s(0x108)]({'pathParts':[f,b['dir'],paramCase(b[s(0x138)]),paramCase(b['resourceName'])]}),h=await this[s(0x10d)][s(0x136)]();this['fsi'][s(0x12e)](h,async()=>{const t=s;typeof h[t(0x10f)][t(0x145)]===t(0x134)&&(h[t(0x10f)][t(0x145)]=h['template'][t(0x145)]===t(0x109)?!![]:![],this[t(0x10d)][t(0x121)](t(0x145),h[t(0x10f)][t(0x145)]));h[t(0x114)][t(0x13d)]==='apollo'&&!this[t(0x130)](t(0x11f))&&(Log['warn'](t(0x10a)),await this[t(0x10d)]['installNpmPackage'](t(0x125),{'cwd':d}));const i={'cssCaseName':paramCase(b[t(0x138)]),'className':pascalCase(b[t(0x138)]),'name':pascalCase(b[t(0x138)]),'graphql':h[t(0x114)][t(0x13d)],'theme':h[t(0x114)][t(0x10b)],'features':h[t(0x12b)],'myPath':a98e['relative'](this[t(0x10d)][t(0x10e)]({}),g),'fileName':paramCase(b[t(0x138)]),'isComponent':![],'isLayout':![],'withTranslations':h[t(0x12b)]['withTranslations']};this[t(0x10d)][t(0x10f)]({'srcPath':t(0x122),'destPath':g+'.js','context':i,'config':h,'framework':t(0x140)});h[t(0x10f)][t(0x145)]&&(this[t(0x10d)]['template']({'srcPath':'template/template.css','destPath':g+t(0x129),'context':Object[t(0x106)]({},i,{'className':i[t(0x133)]}),'config':h}),this[t(0x10d)][t(0x115)]({'filePath':g+'.'+h[t(0x114)]['js'],'content':t(0x137)+i[t(0x11e)]+'.'+h[t(0x114)][t(0x145)]+'\x27;'}));h[t(0x114)][t(0x12f)]!==t(0x124)&&this[t(0x10d)]['template']({'srcPath':t(0x141),'destPath':g+t(0x13c),'framework':t(0x140),'context':i,'config':h});const j=b[t(0x118)]?'/'+b['dir']+'/':'/',k=''+f+j+i[t(0x11e)]+'/'+i[t(0x11e)];let l;if(h['engines'][t(0x127)]===t(0x109)){const m=this[t(0x10d)]['pathFromApp']({'pathParts':[t(0x143),'startup',t(0x120),'templates.js']});l=this[t(0x10d)][t(0x107)]({'pathParts':[m],'config':h});}else{const n=this[t(0x10d)]['pathFromApp']({'pathParts':[t(0x143),t(0x12c),t(0x142),t(0x113)]});l=this[t(0x10d)]['rewriteDestinationPathForEngine']({'pathParts':[n],'config':h});}h['engines'][t(0x142)]===t(0x140)?(h[t(0x114)]['js']==='tsx'?this['fsi'][t(0x115)]({'filePath':l,'content':'import\x20{\x20'+i[t(0x117)]+'\x20}\x20from\x20\x27'+k+t(0x12a)}):this[t(0x10d)][t(0x115)]({'filePath':l,'content':t(0x10c)+i[t(0x117)]+t(0x11d)+k+'.'+h[t(0x114)]['js']+t(0x12a)}),this[t(0x10d)][t(0x116)]({'filePath':l,'content':t(0x11a)+i[t(0x117)]+'\x20};\x0a'})):this[t(0x10d)]['injectAtEndOfFile']({'filePath':l,'content':t(0x132)+k+'.'+h['engines']['js']+t(0x12a)});});}catch(i){Log[s(0x11b)](i);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a99j=a99d;(function(a,b){const h=a99d,c=a();while(!![]){try{const d=-parseInt(h(0x7d))/0x1*(-parseInt(h(0x76))/0x2)+parseInt(h(0x7e))/0x3+parseInt(h(0x77))/0x4+parseInt(h(0x6c))/0x5+parseInt(h(0x7a))/0x6+parseInt(h(0x80))/0x7*(-parseInt(h(0x73))/0x8)+-parseInt(h(0x6d))/0x9*(parseInt(h(0x72))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a99c,0x91ee6));function a99d(a,b){const c=a99c();return a99d=function(d,e){d=d-0x66;let f=c[d];return f;},a99d(a,b);}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 i=a99d;return a99a[i(0x71)]()[i(0x67)](i(0x6b))[i(0x71)]()['constructor'](a99a)['search']('(((.+)+)+)+$');});function a99c(){const m=['5548305FiUvPZ','279keCqvj','maka\x20g:kit\x20--type=map','login','fsi','toString','805510xhzZwJ','120GuLZrF','Invalid\x20type\x20','kit','44mWHaXC','3150108pcEksL','NIE','type','2841222KZPOtf','error','maka\x20{generate,\x20g}:{kit}\x20<kit-name>','25118XDwnpv','1412997FxLDxR','(Placeholder)\x20Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','139769XoEcwK','maka\x20g:k\x20city-map\x20--type=leaflet-map','leaflet-map','search','withValue','resourceName','getProjectConfig','(((.+)+)+)+$'];a99c=function(){return m;};return a99c();}a99a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator['create']({'name':a99j(0x75),'aliases':['k'],'usage':a99j(0x7c),'shortDesc':a99j(0x7f),'validOpts':[a99j(0x79)],'examples':[a99j(0x6e),a99j(0x81)]},async function(a,b){const k=a99j;try{const c=this['fsi'][k(0x6a)]();this[k(0x70)][k(0x68)](c,async()=>{const l=k,d={'name':pascalCase(b[l(0x69)]),'fileName':paramCase(b['resourceName']),'camelCase':camelCase(b[l(0x69)]),'type':b[l(0x79)],'engine':c['engines']['js'],'noRename':!![]},f=[l(0x66),l(0x6f)];if(f['indexOf'](d['type'])<0x0){const g=d[l(0x79)]?d[l(0x79)]:'(blank)';Log[l(0x7b)](l(0x74)+g+',\x20you\x20must\x20provide\x20a\x20valid\x20type\x20as\x20an\x20argument');return;}b['type']==='map'&&Log['notice'](l(0x78)),b[l(0x79)]===l(0x6f)&&Log['notice'](l(0x78));});}catch(d){Log[k(0x7b)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a100c(){const u=['
|
|
1
|
+
function a100d(a,b){const c=a100c();return a100d=function(d,e){d=d-0xe8;let f=c[d];return f;},a100d(a,b);}const a100r=a100d;(function(a,b){const o=a100d,c=a();while(!![]){try{const d=parseInt(o(0xfe))/0x1+parseInt(o(0xec))/0x2+parseInt(o(0x103))/0x3+parseInt(o(0x10a))/0x4+-parseInt(o(0xfa))/0x5+-parseInt(o(0x108))/0x6+-parseInt(o(0x123))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a100c,0xeebaa));function a100c(){const u=['\x20}\x20from\x20\x27','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','8511097EbaXEo','css','import\x20\x27./','test','withHooks','setTemplate','template/template.css','warn','findAppDirectory','fileName','.css','hook/hook.js','withTranslations','toString','resourceName','assign','maka\x20g:layout\x20mobile/iPhone8','create','withValue','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','1292800xIdKLa','templates.js','string','dir','\x27;\x0a','test/test.js','injectAtBeginningOfFile','withHook','import\x20{\x20','checkNpmPackage','.app-tests.js','engines','startup','client','4026535sSPDLK','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','search','maka\x20g:l\x20web/safari','1208479ouvWYG','lib','.js','constructor','features','3578364TBNZTx','export\x20{\x20','template','fsi','theme','8119536SkvqeV','none','5218404rdWeix','(((.+)+)+)+$','api','react','includes','pathFromProject','getProjectConfig','true','/imports/ui/layouts','rewriteDestinationPathForEngine','className','component/component.js','Scaffolding\x20for\x20a\x20React\x20Layout.','pathFromApp','imports','ramda','import\x20\x27','injectAtEndOfFile','installNpmPackage','tsx','apply','relative','ssr'];a100c=function(){return u;};return a100c();}const a100b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a100d;if(c){const e=c[p(0x11e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a100a=a100b(this,function(){const q=a100d;return a100a[q(0x130)]()[q(0xfc)](q(0x10b))[q(0x130)]()[q(0x101)](a100a)['search']('(((.+)+)+)+$');});a100a();import a100e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator[a100r(0xe9)]({'name':'layout','aliases':aliases,'usage':a100r(0xfb),'shortDesc':a100r(0x116),'validOpts':[],'examples':[a100r(0xe8),a100r(0xfd)]},function(a,b){const s=a100r,c=s(0x112),d=this[s(0x106)][s(0x12b)](),e=this[s(0x106)]['pathFromApp']({'pathParts':[c,b['dir'],paramCase(b['resourceName']),paramCase(b[s(0x131)])]}),f=this['fsi'][s(0x110)]();this[s(0x106)][s(0xea)](f,()=>{const t=s;typeof f[t(0x105)][t(0x126)]===t(0xee)&&(f[t(0x105)][t(0x126)]=f[t(0x105)][t(0x126)]===t(0x111)?!![]:![],this[t(0x106)][t(0x128)](t(0x126),f['template'][t(0x126)]));typeof f[t(0x105)][t(0x124)]===t(0xee)&&(f[t(0x105)][t(0x124)]=f[t(0x105)][t(0x124)]===t(0x111)?!![]:![],this[t(0x106)][t(0x128)]('css',f[t(0x105)][t(0x124)]));typeof f[t(0x105)]['js']===t(0xee)&&(f[t(0x105)]['js']=f[t(0x105)]['js']===t(0x111)?!![]:![],this[t(0x106)]['setTemplate']('js',f[t(0x105)]['js']));!f['features']&&(f[t(0x102)]={});const g=b['_']?b['_'][0x0]['split'](':')[0x1]:![],h=b['_']&&aliases[t(0x10e)](g);h&&!this[t(0xf5)](t(0x119))&&(Log[t(0x12a)](t(0xeb)),this['fsi'][t(0x11c)](t(0x119),{'cwd':d}));if(h&&!this[t(0xf5)](t(0x10d))){Log[t(0x12a)](t(0x122));return;}const i={'name':pascalCase(b[t(0x131)]),'myPath':a100e[t(0x11f)](this[t(0x106)][t(0x10f)]({}),e),'cssCaseName':paramCase(b[t(0x131)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[t(0x131)]),'fileName':paramCase(b[t(0x131)]),'graphql':f['engines']['graphql'],'features':f[t(0x102)],'client':f[t(0xf7)][t(0xf9)],'api':f['engines'][t(0x10c)],'ssr':f[t(0xf7)][t(0x120)],'test':f[t(0xf7)]['test'],'theme':f[t(0xf7)][t(0x107)],'isComponent':![],'isLayout':!![],'withTranslations':f[t(0x102)][t(0x12f)]};f[t(0x102)]?.[t(0x127)]||b[t(0xf3)]?this[t(0x106)][t(0x105)]({'srcPath':t(0x12e),'destPath':e+t(0x100),'framework':t(0x10d),'context':i,'config':f}):this['fsi']['template']({'srcPath':t(0x115),'destPath':e+t(0x100),'framework':t(0x10d),'context':i,'config':f});f[t(0xf7)][t(0x126)]!==t(0x109)&&this[t(0x106)][t(0x105)]({'srcPath':t(0xf1),'destPath':e+t(0xf6),'framework':t(0x10d),'context':i,'config':f});f['template'][t(0x124)]&&(this[t(0x106)][t(0x105)]({'srcPath':t(0x129),'destPath':e+t(0x12d),'context':Object[t(0x132)]({},i,{'className':paramCase(b['resourceName'])}),'config':f}),this['fsi'][t(0xf2)]({'filePath':e+'.'+f[t(0xf7)]['js'],'content':t(0x125)+i[t(0x12c)]+'.'+f[t(0xf7)][t(0x124)]+'\x27;'}));const j=b[t(0xef)]?'/'+b[t(0xef)]+'/':'/',k=''+c+j+i[t(0x12c)]+'/'+i[t(0x12c)];let l;if(f['engines']['ssr']===t(0x111)){const m=this['fsi'][t(0x117)]({'pathParts':[t(0x118),'startup',t(0xff),t(0xed)]});l=this['fsi']['rewriteDestinationPathForEngine']({'pathParts':[m],'config':f});}else{const n=this[t(0x106)][t(0x117)]({'pathParts':[t(0x118),t(0xf8),t(0xf9),'templates.js']});l=this['fsi'][t(0x113)]({'pathParts':[n],'config':f});}f[t(0xf7)]['client']===t(0x10d)?(f[t(0xf7)]['js']===t(0x11d)?this[t(0x106)]['injectAtBeginningOfFile']({'filePath':l,'content':t(0xf4)+i['className']+t(0x121)+k+t(0xf0)}):this[t(0x106)][t(0xf2)]({'filePath':l,'content':'import\x20{\x20'+i[t(0x114)]+t(0x121)+k+'.'+f[t(0xf7)]['js']+t(0xf0)}),this[t(0x106)]['injectAtEndOfFile']({'filePath':l,'content':t(0x104)+i['className']+'\x20};\x0a'})):this['fsi'][t(0x11b)]({'filePath':l,'content':t(0x11a)+k+'.'+f[t(0xf7)]['js']+t(0xf0)});});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a101i=a101d;(function(a,b){const f=a101d,c=a();while(!![]){try{const d=-parseInt(f(0x121))/0x1+parseInt(f(0x11e))/0x2+parseInt(f(0x11f))/0x3+parseInt(f(0x118))/0x4+parseInt(f(0x10f))/0x5+-parseInt(f(0x111))/0x6+-parseInt(f(0x120))/0x7*(parseInt(f(0x119))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a101c,0xc0c6f));function a101d(a,b){const c=a101c();return a101d=function(d,e){d=d-0x10f;let f=c[d];return f;},a101d(a,b);}function a101c(){const j=['apply','4770832XxwpId','30280pBOqdj','maka\x20<generate>:<entity>\x20[<args>]\x20[<opts>]','maka\x20g:hook\x20cool-hook','(((.+)+)+)+$','constructor','861250AkYYev','4644402ZmEpTn','3199SxyqpB','478334qPIsHU','2151915xjSZys','toString','3624936rRPpxB','Maka!','maka','\x0a\x20\x20For\x20more\x20information\x20visit:\x0a\x20\x20\x20\x20https://www.maka-cli.com\x0a\x20\x20\x20\x20https://medium.com/@maka-io\x0a\x20\x20\x20\x20https://gitter.im/meteor/meteor\x20(@maka-io)\x0a\x20\x20','search','maka\x20generate:api\x20Trucks'];a101c=function(){return j;};return a101c();}const a101b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a101d;if(c){const e=c[g(0x117)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a101a=a101b(this,function(){const h=a101d;return a101a[h(0x110)]()[h(0x115)]('(((.+)+)+)+$')[h(0x110)]()[h(0x11d)](a101a)[h(0x115)](h(0x11c));});a101a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a101i(0x113),'shortDesc':a101i(0x112),'validOpts':[],'description':a101i(0x114),'usage':a101i(0x11a),'examples':[a101i(0x116),a101i(0x11b)]},function(){return null;});export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a102d(a,b){const c=a102c();return a102d=function(d,e){d=d-0x144;let f=c[d];return f;},a102d(a,b);}const a102n=a102d;function a102c(){const q=['error','355160jCEOBU','search','apply','166IbvWrY','method','430392JJCdbO','(((.+)+)+)+$','1624302QsTUhq','appPathPrefix','maka\x20g:method\x20todos','112BIkTao','3568eiVflY','installMeteorPackage','resourceName','tsx','mdg:validated-method','8gTASRJ','create','ddp-rate-limiter','withValue','toString','checkMeteorPackage','dir','78558JvqclJ','Meteor\x20package\x20\x22check\x22\x20or\x20\x22ddp-rate-limiter\x22\x20or\x20\x22mdg:validated-method\x22\x20is\x20not\x20installed,\x20installing...','5912560DlZwOV','warn','-rpc-method\x27;','-rpc-method.','method/method.js','import\x20\x27./methods','fsi','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','maka\x20{generate,\x20g}:{method,\x20m}\x20name','template','imports','pathFromApp','291304hsCeAG'];a102c=function(){return q;};return a102c();}(function(a,b){const k=a102d,c=a();while(!![]){try{const d=parseInt(k(0x145))/0x1*(-parseInt(k(0x14d))/0x2)+parseInt(k(0x147))/0x3+parseInt(k(0x152))/0x4*(parseInt(k(0x169))/0x5)+-parseInt(k(0x159))/0x6*(parseInt(k(0x14c))/0x7)+-parseInt(k(0x167))/0x8+-parseInt(k(0x149))/0x9+parseInt(k(0x15b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a102c,0x25a95));const a102b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a102d;if(c){const e=c[l(0x144)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a102a=a102b(this,function(){const m=a102d;return a102a[m(0x156)]()[m(0x16a)](m(0x148))[m(0x156)]()['constructor'](a102a)[m(0x16a)](m(0x148));});a102a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a102n(0x153)]({'name':a102n(0x146),'aliases':['m'],'usage':a102n(0x163),'checkWhere':!![],'shortDesc':a102n(0x162),'validOpts':['dir'],'examples':[a102n(0x14b)]},function(a,b){const o=a102n;try{const c=this[o(0x161)]['getProjectConfig']();this[o(0x161)][o(0x155)](c,async()=>{const p=o,d=paramCase(b[p(0x14f)]),f={'name':b['resourceName'],'fileName':d,'className':pascalCase(b[p(0x14f)]),'camelCase':camelCase(b[p(0x14f)]),'noRename':!![]};let g='js';c['engines']['js']===p(0x150)&&(g='ts');const h=this['fsi'][p(0x166)]({});(!this[p(0x161)]['checkMeteorPackage']('check')||!this[p(0x161)][p(0x157)](p(0x154))||!this[p(0x161)][p(0x157)](p(0x151)))&&(Log[p(0x15c)](p(0x15a)),this['fsi'][p(0x14e)]('check\x20ddp-rate-limiter\x20mdg:validated-method',{'cwd':h}));this[p(0x161)][p(0x164)]({'srcPath':p(0x15f),'destPath':this[p(0x161)][p(0x166)]({'pathParts':[p(0x165),'startup',b[p(0x14a)],'methods',b[p(0x158)],d+p(0x15e)+g]}),'context':f,'config':c});const i=b[p(0x158)]?'/'+b[p(0x158)]+'/':'/',j=this['fsi'][p(0x166)]({'pathParts':[p(0x165),'startup',b[p(0x14a)],'index.'+c['engines']['js']]});this[p(0x161)]['injectAtEndOfFile']({'filePath':j,'content':p(0x160)+i+d+p(0x15d)});});}catch(d){Log[o(0x168)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a103n=a103d;(function(a,b){const l=a103d,c=a();while(!![]){try{const d=-parseInt(l(0x1a3))/0x1*(parseInt(l(0x19f))/0x2)+parseInt(l(0x1bc))/0x3+parseInt(l(0x1a0))/0x4*(parseInt(l(0x1b6))/0x5)+parseInt(l(0x1ac))/0x6+parseInt(l(0x1b5))/0x7+-parseInt(l(0x19d))/0x8+parseInt(l(0x194))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a103c,0x530af));const a103b=(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;};}()),a103a=a103b(this,function(){const m=a103d;return a103a[m(0x196)]()['search'](m(0x1ae))[m(0x196)]()[m(0x1a4)](a103a)[m(0x1a8)](m(0x1ae));});a103a();function a103c(){const r=['withValue','.js','relative','package','packages','tests/client','4668440GMsWXT','pathFromApp','2LKRwcC','4RGPLft','getProjectConfig','server','309579pnBVzY','constructor','store','fsi','package.js','search','dir','tests/server','template/template.js','180024mptNbI','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','(((.+)+)+)+$','layout','hasOwnProperty','template','resourceName','features','ssr','2865919sWpZVe','133090PJZmhU','pathFromAppWithNoReWrite','/package.js','theme','package/package.js','/client/','1303974gRutgM','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','engines','package/','2993220YFAnJW','noRename','toString'];a103c=function(){return r;};return a103c();}import a103e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';function a103d(a,b){const c=a103c();return a103d=function(d,e){d=d-0x192;let f=c[d];return f;},a103d(a,b);}Generator['create']({'name':a103n(0x19a),'aliases':['p'],'usage':a103n(0x1bd),'shortDesc':a103n(0x1ad),'validOpts':['dir'],'examples':['maka\x20g:package\x20todos:package']},async function(a,b){const o=a103n,c=paramCase(b['resourceName']),d=this[o(0x1a6)][o(0x19e)]({'pathParts':[o(0x19b),b[o(0x1a9)],c]}),e=this[o(0x1a6)][o(0x1b7)]({'pathParts':[o(0x19b),b[o(0x1a9)],c,o(0x1a7)]}),f=this[o(0x1a6)][o(0x1a1)]();this[o(0x1a6)][o(0x197)](f,async()=>{const p=o,g={'name':paramCase(b[p(0x1b2)]),'myPath':a103e[p(0x199)](this['fsi']['pathFromProject']({}),d),'cssCaseName':paramCase(b[p(0x1b2)]),'className':pascalCase(b[p(0x1b2)]),'camelCaseName':camelCase(b['resourceName']),'fileName':c,'client':f[p(0x192)]['client'],'graphql':f[p(0x192)]['graphql'],'ssr':f['engines'][p(0x1b4)],'isComponent':b['hasOwnProperty']('component'),'isLayout':b[p(0x1b0)](p(0x1af)),'isStore':b[p(0x1b0)](p(0x1a5)),'features':f[p(0x1b3)],'noRename':!![],'theme':f[p(0x192)][p(0x1b9)]};this[p(0x1a6)][p(0x1b1)]({'srcPath':p(0x1ba),'destPath':e,'context':g,'config':f}),g[p(0x195)]=![];const h=d+p(0x1bb)+c+p(0x198);this[p(0x1a6)][p(0x1b1)]({'srcPath':p(0x1ab),'destPath':h,'context':g,'config':f});const i=['lib',p(0x1a2),p(0x19c),p(0x1aa)];i['forEach'](j=>{const q=p,k=d+'/'+j+'/'+c+q(0x198);this[q(0x1a6)][q(0x1b1)]({'srcPath':q(0x193)+j+q(0x1b8),'destPath':k,'context':g,'config':f});});});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a104p=a104d;(function(a,b){const m=a104d,c=a();while(!![]){try{const d
|
|
1
|
+
const a104p=a104d;function a104d(a,b){const c=a104c();return a104d=function(d,e){d=d-0xec;let f=c[d];return f;},a104d(a,b);}(function(a,b){const m=a104d,c=a();while(!![]){try{const d=parseInt(m(0x116))/0x1*(-parseInt(m(0x113))/0x2)+parseInt(m(0xff))/0x3*(-parseInt(m(0x11d))/0x4)+parseInt(m(0x10e))/0x5+-parseInt(m(0x110))/0x6*(parseInt(m(0x132))/0x7)+parseInt(m(0x101))/0x8+parseInt(m(0xf5))/0x9*(parseInt(m(0xf3))/0xa)+parseInt(m(0x118))/0xb*(parseInt(m(0x12e))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a104c,0xf3e8c));const a104b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a104d;if(c){const e=c[n(0x11f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a104a=a104b(this,function(){const o=a104d;return a104a[o(0x12d)]()['search'](o(0x10c))[o(0x12d)]()['constructor'](a104a)['search']('(((.+)+)+)+$');});a104a();import a104e from'path';import{Generator}from'../generator.js';function a104c(){const s=['store','pathFromApp','rewriteDestinationPathForEngine','warn','className','getProjectConfig','3uhnKSK','fsi','8123832BGEkLU','hook/hook.js','dir','startup','vanilla','templates.js','withHook','maka\x20g:page\x20todos/todos-item','theme','fileName','tsx','(((.+)+)+)+$','none','8639695zEZgpd','\x20}\x20from\x20\x27','23934YOodZR','page','assign','59878obMOtf','lib','client','1qREDrb','import\x20\x27./','1595WfpmNo','api','html','injectAtBeginningOfFile','layout','7959788rSlVZh','Generate\x20a\x20page.','apply','features','hasOwnProperty','true','/imports/ui/pages','string','\x27;\x0a','css','create','setTemplate','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','template/template.html','ssr','graphql','toString','25788XDqQad','engines','resourceName','relative','1113QyFZRx','injectAtEndOfFile','\x20};\x0a','.css','.js','imports','template','ramda','Updating\x20npm\x20packages\x20...','1220ZDGUrE','import\x20{\x20','44127DRZmYp','import\x20\x27','test','react'];a104c=function(){return s;};return a104c();}import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator[a104p(0x127)]({'name':a104p(0x111),'aliases':aliases,'usage':a104p(0x129),'shortDesc':a104p(0x11e),'validOpts':[a104p(0x103),a104p(0x107)],'examples':[a104p(0x108)]},function(a,b){const q=a104p,c=q(0x123),d=this[q(0x100)][q(0xfa)](b),e=this[q(0x100)][q(0xfa)]({'pathParts':[c,b[q(0x103)],paramCase(b[q(0x130)]),paramCase(b['resourceName'])]}),f=this[q(0x100)][q(0xfe)]();this[q(0x100)]['withValue'](f,()=>{const r=q;typeof f[r(0xf0)]['html']===r(0x124)&&(f[r(0xf0)][r(0x11a)]=f[r(0xf0)][r(0x11a)]==='true'?!![]:![],this[r(0x100)]['setTemplate'](r(0x11a),f[r(0xf0)][r(0x11a)]));typeof f[r(0xf0)]['test']===r(0x124)&&(f[r(0xf0)]['test']=f[r(0xf0)][r(0xf7)]==='true'?!![]:![],this['fsi'][r(0x128)](r(0xf7),f[r(0xf0)]['test']));typeof f[r(0xf0)][r(0x126)]===r(0x124)&&(f[r(0xf0)][r(0x126)]=f[r(0xf0)]['css']===r(0x122)?!![]:![],this[r(0x100)][r(0x128)](r(0x126),f[r(0xf0)][r(0x126)]));typeof f[r(0xf0)]['js']==='string'&&(f['template']['js']=f[r(0xf0)]['js']===r(0x122)?!![]:![],this['fsi'][r(0x128)]('js',f[r(0xf0)]['js']));!f[r(0x120)]&&(f[r(0x120)]={});!b['root']&&!this[r(0x100)]['checkNpmPackage'](r(0xf1))&&(Log[r(0xfc)](r(0xf2)),this[r(0x100)]['installNpmPackage'](r(0xf1),{'cwd':d}));const g={'name':pascalCase(b['resourceName']),'myPath':a104e[r(0x131)](this['fsi']['pathFromProject']({}),e),'cssCaseName':paramCase(b[r(0x130)]),'className':pascalCase(b[r(0x130)]),'camelCaseName':camelCase(b[r(0x130)]),'fileName':paramCase(b[r(0x130)]),'graphql':f[r(0x12f)][r(0x12c)],'features':f['features'],'client':f['engines'][r(0x115)],'api':f[r(0x12f)][r(0x119)],'ssr':f[r(0x12f)][r(0x12b)],'isStore':b[r(0x121)](r(0xf9)),'isComponent':b[r(0x121)]('component'),'isLayout':b[r(0x121)](r(0x11c)),'withTranslations':f[r(0x120)]['withTranslations'],'test':f[r(0x12f)]['test'],'theme':f['engines'][r(0x109)]};f[r(0xf0)][r(0x11a)]&&this['fsi'][r(0xf0)]({'srcPath':r(0x12a),'destPath':e+'.html','context':g,'config':f});f[r(0x120)]?.['withHooks']||b[r(0x107)]?this['fsi'][r(0xf0)]({'srcPath':r(0x102),'destPath':e+r(0xee),'framework':r(0xf8),'context':g,'config':f}):this[r(0x100)][r(0xf0)]({'srcPath':'component/component.js','destPath':e+'.js','framework':'react','context':g,'config':f});f['engines']['test']!==r(0x10d)&&this[r(0x100)][r(0xf0)]({'srcPath':'test/test.js','destPath':e+'.app-tests.js','framework':r(0xf8),'context':g,'config':f});f[r(0xf0)][r(0x126)]&&this[r(0x100)][r(0xf0)]({'srcPath':'template/template.css','destPath':e+r(0xed),'context':Object[r(0x112)]({},g,{'className':paramCase(b[r(0x130)])}),'config':f});f[r(0x12f)][r(0x115)]!==r(0xf8)&&f[r(0x12f)][r(0x115)]!==r(0x105)?(f['template'][r(0x126)]&&this[r(0x100)][r(0x11b)]({'filePath':e+'.'+f[r(0x12f)]['js'],'content':r(0x117)+g[r(0x10a)]+'.'+f[r(0x12f)]['html']+r(0x125)+r(0x117)+g[r(0x10a)]+'.'+f['engines'][r(0x126)]+'\x27;'}),!f['template'][r(0x126)]&&this[r(0x100)][r(0x11b)]({'filePath':e+'.'+f['engines']['js'],'content':r(0x117)+g['fileName']+'.'+f[r(0x12f)]['html']+'\x27;'})):f['template'][r(0x126)]&&this[r(0x100)][r(0x11b)]({'filePath':e+'.'+f[r(0x12f)]['js'],'content':r(0x117)+g[r(0x10a)]+'.'+f[r(0x12f)][r(0x126)]+'\x27;'});const h=b[r(0x103)]?'/'+b[r(0x103)]+'/':'/',i=''+c+h+g['fileName']+'/'+g['fileName'];let j;if(f['engines'][r(0x12b)]===r(0x122)){const k=this[r(0x100)][r(0xfa)]({'pathParts':['imports',r(0x104),r(0x114),r(0x106)]});j=this[r(0x100)]['rewriteDestinationPathForEngine']({'pathParts':[k],'config':f});}else{const l=this[r(0x100)]['pathFromApp']({'pathParts':[r(0xef),r(0x104),r(0x115),r(0x106)]});j=this[r(0x100)][r(0xfb)]({'pathParts':[l],'config':f});}f[r(0x12f)][r(0x115)]===r(0xf8)?(f[r(0x12f)]['js']===r(0x10b)?this[r(0x100)][r(0x11b)]({'filePath':j,'content':r(0xf4)+g[r(0xfd)]+r(0x10f)+i+'\x27;\x0a'}):this[r(0x100)][r(0x11b)]({'filePath':j,'content':r(0xf4)+g[r(0xfd)]+r(0x10f)+i+'.'+f[r(0x12f)]['js']+'\x27;\x0a'}),this[r(0x100)][r(0x133)]({'filePath':j,'content':'export\x20{\x20'+g[r(0xfd)]+r(0xec)})):this[r(0x100)][r(0x133)]({'filePath':j,'content':r(0xf6)+i+'.'+f['engines']['js']+'\x27;\x0a'});});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a105j=a105d;(function(a,b){const h=a105d,c=a();while(!![]){try{const d=parseInt(h(0x158))/0x1*(parseInt(h(0x15a))/0x2)+-parseInt(h(0x14d))/0x3+parseInt(h(0x155))/0x4+parseInt(h(0x14c))/0x5+-parseInt(h(0x162))/0x6*(parseInt(h(0x156))/0x7)+parseInt(h(0x165))/0x8*(parseInt(h(0x15d))/0x9)+parseInt(h(0x153))/0xa*(parseInt(h(0x15e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a105c,0x94004));function a105c(){const m=['522lQWdFX','11uGMhUK','engines','maka\x20g:publish\x20todos','fsi','23742BguaIG','publish/publish.','search','41432hCQqhN','withValue','toString','tsx','2496810uSveNv','3550107sbdgXk','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','templateContent','(((.+)+)+)+$','rewriteDestinationPathForEngine','constructor','3474060JXQMfI','server/publish.','2723860EgqDCp','707VRkfbf','resourceName','161Cwyivq','getProjectConfig','4486MaiOmm','injectAtEndOfFile','create'];a105c=function(){return m;};return a105c();}const a105b=(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;};}()),a105a=a105b(this,function(){const i=a105d;return a105a[i(0x14a)]()[i(0x164)]('(((.+)+)+)+$')[i(0x14a)]()[i(0x152)](a105a)[i(0x164)](i(0x150));});a105a();import{paramCase}from'change-case';import{Generator}from'../generator.js';function a105d(a,b){const c=a105c();return a105d=function(d,e){d=d-0x14a;let f=c[d];return f;},a105d(a,b);}Generator[a105j(0x15c)]({'name':'publish','aliases':['p'],'usage':a105j(0x14e),'shortDesc':'Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','validOpts':[],'examples':[a105j(0x160)]},async function(a,b){const k=a105j,c=this[k(0x161)][k(0x159)]();this['fsi'][k(0x166)](c,async()=>{const l=k,d={'name':b[l(0x157)],'collection':paramCase(b[l(0x157)]),'noRename':!![]};let e='js';c[l(0x15f)]['js']===l(0x14b)&&(e='ts');const f=this[l(0x161)][l(0x151)]({'pathParts':[l(0x154)+c[l(0x15f)]['js']]}),g=this[l(0x161)][l(0x14f)]({'srcPath':l(0x163)+e,'context':d,'config':c});this['fsi'][l(0x15b)]({'filePath':f,'content':'\x0a'+g});});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a106d(a,b){const c=a106c();return a106d=function(d,e){d=d-0x1a6;let f=c[d];return f;},a106d(a,b);}const a106y=a106d;(function(a,b){const v=a106d,c=a();while(!![]){try{const d=-parseInt(v(0x1cf))/0x1+-parseInt(v(0x1df))/0x2+-parseInt(v(0x1b1))/0x3*(-parseInt(v(0x1a9))/0x4)+parseInt(v(0x1dd))/0x5+-parseInt(v(0x1c4))/0x6+parseInt(v(0x1b9))/0x7+-parseInt(v(0x1db))/0x8*(-parseInt(v(0x1e8))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a106c,0x28b14));const a106b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a106d;if(c){const e=c[w(0x1e0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a106a=a106b(this,function(){const x=a106d;return a106a[x(0x1c8)]()[x(0x1d0)](x(0x1c0))['toString']()['constructor'](a106a)[x(0x1d0)](x(0x1c0));});a106a();function a106c(){const H=['/imports/ui/pages','layout','findGenerator','1017QTzSOI','route','maka\x20g:route\x20todosIndex\x20todos','withHook','templateName','8212AzqCfL','true','</Router>','routes.js','maka\x20g:route\x20usersShow\x20users/:id/show\x20--layout\x20userView','fsi','vanilla','create','327XKhdoK','url','page','pathFromApp','only','Could\x20not\x20find\x20a\x20suitable\x20location\x20to\x20enable\x20this\x20route.\x20\x20Please\x20inspect\x20','join','error','1165101oTtRQC','private','rewriteDestinationPathForEngine','toLowerCase','newForm','config','Scaffolding\x20for\x20a\x20Route.','(((.+)+)+)+$','route/route.js','includes','react','826194HThUMD','templateContent','startup','map','toString','maka\x20g:route\x20todosEdit\x20todos/:id/edit','maka\x20g:route\x20lists/listIndex\x20lists','const\x20publicRoutes\x20=\x20(<>','PrivateLayout','ssr','readFileLines','80890UvBuAL','search','MasterLayout','warn','injectAfterLineNumber','getProjectConfig','import\x20*\x20as\x20Component\x20from\x20\x27./templates\x27;','imports','engines','filter','const\x20privateRoutes\x20=\x20(<>','withTranslations','6936qFGTif','client','590935aVgtNT','root','442226qmQjHK','apply','\x0a\x09\x09','cwd','invoke','length'];a106c=function(){return H;};return a106c();}import a106e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a106f from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['r'];Generator[a106y(0x1b0)]({'name':a106y(0x1e9),'aliases':aliases,'validOpts':['private',a106y(0x1e6),a106y(0x1b5),a106y(0x1e2),a106y(0x1be),a106y(0x1de),a106y(0x1a7),a106y(0x1b2)],'usage':'maka\x20{generate,\x20g}:{route,\x20r}\x20[path/]<name>\x20[url]\x20[--private]','shortDesc':a106y(0x1bf),'examples':[a106y(0x1a6),a106y(0x1c9),a106y(0x1ad),a106y(0x1ca)]},function(a,b){const z=a106y;try{const c=this[z(0x1ae)][z(0x1d4)]();this[z(0x1ae)]['withValue'](c,async()=>{const A=z,d=b[A(0x1ba)]??![];let f=paramCase(a[0x0]),g='/'+f;a['length']>0x1&&(g='/'+a[A(0x1d8)](function(l){return l!=='/';})[A(0x1b7)]('/')[A(0x1bc)]());f=camelCase(f);b['layout']&&(b[A(0x1e6)]=camelCase(b[A(0x1e6)]));const h=a106e['join'](A(0x1e5),f,f),i={'name':f,'fileCase':paramCase(f),'camelCaseName':camelCase(f),'url':g,'layout':b['layout']||A(0x1d1),'templatePath':h,'templateName':pascalCase(f),'client':c[A(0x1d7)][A(0x1dc)],'newForm':![],'withTranslations':c['features'][A(0x1da)]};d&&(i[A(0x1e6)]=A(0x1cc));if(!b[A(0x1de)]){const l=a106f[A(0x1e7)](A(0x1b3));l&&await l[A(0x1e3)](a,b);}let j,k;if(c[A(0x1d7)][A(0x1dc)]===A(0x1c3)){if(c['engines'][A(0x1cd)]===A(0x1aa)){const p=this[A(0x1ae)]['pathFromApp']({'pathParts':[A(0x1d6),'startup','lib',A(0x1ac)]});j=this['fsi'][A(0x1bb)]({'pathParts':[p],'config':c});}else{const q=this['fsi']['pathFromApp']({'pathParts':[A(0x1d6),A(0x1c6),A(0x1dc),A(0x1ac)]});j=this[A(0x1ae)]['rewriteDestinationPathForEngine']({'pathParts':[q],'config':c});}const m=this[A(0x1ae)]['readFileLines'](j)['map']((r,s)=>{const B=A;return r[B(0x1c2)](B(0x1d5))?s+0x1:null;})[A(0x1d8)](r=>r!==null);let n=this[A(0x1ae)][A(0x1ce)](j)[A(0x1c7)]((r,s)=>{const C=A;return r[C(0x1c2)]('const\x20publicRoutes\x20=\x20(<>')?s+0x1:null;})[A(0x1d8)](r=>r!==null),o=this['fsi'][A(0x1ce)](j)['map']((r,s)=>{const D=A;return r[D(0x1c2)](D(0x1d9))?s+0x1:null;})[A(0x1d8)](r=>r!==null);n[A(0x1e4)]>0x0&&o[A(0x1e4)]>0x0&&(i[A(0x1bd)]=!![]);k=this[A(0x1ae)][A(0x1c5)]({'srcPath':'route/route.js','framework':'react','context':i,'config':c});if(n['length']>0x0||o[A(0x1e4)]>0x0){this['fsi'][A(0x1d3)]({'filePath':j,'content':k,'lineNumber':m[0x0]});if(d&&o[A(0x1e4)]>0x0)o=this[A(0x1ae)][A(0x1ce)](j)[A(0x1c7)]((r,s)=>{const E=A;return r['includes'](E(0x1d9))?s+0x1:null;})[A(0x1d8)](r=>r!==null),this[A(0x1ae)][A(0x1d3)]({'filePath':j,'content':'\x09{'+i[A(0x1a8)]+'}','lineNumber':o[0x0]});else n[A(0x1e4)]>0x0?(n=this[A(0x1ae)][A(0x1ce)](j)[A(0x1c7)]((r,s)=>{const F=A;return r['includes'](F(0x1cb))?s+0x1:null;})[A(0x1d8)](r=>r!==null),this[A(0x1ae)][A(0x1d3)]({'filePath':j,'content':'\x09{'+i['templateName']+'}','lineNumber':n[0x0]})):Log[A(0x1d2)](A(0x1b6)+j);}else{const r=this[A(0x1ae)][A(0x1ce)](j)[A(0x1c7)](u=>{const G=A;return u[G(0x1c2)]('\x22*\x22');}),s=r['indexOf'](!![])>-0x1,t=s?'<Route':A(0x1ab);this[A(0x1ae)]['injectIntoFile']({'filePath':j,'content':A(0x1e1)+k+A(0x1e1),'begin':'<Router','end':t});}}else{if(c['engines'][A(0x1dc)]===A(0x1af)){const u=this['fsi'][A(0x1b4)]({'pathParts':[A(0x1d6),A(0x1c6),A(0x1dc),A(0x1ac)]});j=this[A(0x1ae)][A(0x1bb)]({'pathParts':[u],'config':c}),k=this[A(0x1ae)][A(0x1c5)]({'srcPath':A(0x1c1),'context':i}),this[A(0x1ae)]['injectAtEndOfFile']({'filePath':j,'content':'\x0a'+k});}}});}catch(d){Log[z(0x1b8)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a107l=a107d;function a107d(a,b){const c=a107c();return a107d=function(d,e){d=d-0x102;let f=c[d];return f;},a107d(a,b);}(function(a,b){const j=a107d,c=a();while(!![]){try{const d=parseInt(j(0x112))/0x1+parseInt(j(0x109))/0x2+-parseInt(j(0x11c))/0x3+-parseInt(j(0x107))/0x4*(-parseInt(j(0x123))/0x5)+-parseInt(j(0x11d))/0x6+-parseInt(j(0x11e))/0x7+parseInt(j(0x10a))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a107c,0x2723d));const a107b=(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;};}()),a107a=a107b(this,function(){const k=a107d;return a107a['toString']()[k(0x11b)](k(0x110))[k(0x122)]()[k(0x121)](a107a)[k(0x11b)](k(0x110));});function a107c(){const o=['2754392jEMKio','fsi','Installing\x20winston','installNpmPackage','create','services','(((.+)+)+)+$','error','168633bCgdZK','imports','engines','pathFromApp','Generate\x20a\x20service\x20to\x20run\x20within\x20your\x20meteor\x20application.','checkNpmPackage','winston\x20setimmediate','svc','lib','search','758874xyMFUX','906432wXelhP','1587082bUxGOV','getProjectConfig','tsx','constructor','toString','1630TGgQmL','maka\x20{generate,\x20g}:{service}\x20[service-type]','winston','withValue','type','logger','service/logger/logger.js','2044TgIbgl','resourceName','223110sIssdp'];a107c=function(){return o;};return a107c();}a107a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a107l(0x10e)]({'name':'service','aliases':[a107l(0x119)],'usage':a107l(0x124),'shortDesc':a107l(0x116),'validOpts':[a107l(0x104)],'validArgs':[a107l(0x105)],'maxArgLength':0x1,'minArgLength':0x1,'examples':['maka\x20g:svc\x20logger']},async function(a,b){const m=a107l;try{const c=this[m(0x10b)][m(0x11f)]();this['fsi'][m(0x103)](c,async()=>{const n=m,d=this['fsi'][n(0x115)]({}),f=paramCase(b['resourceName']),g={'name':pascalCase(b[n(0x108)]),'fileName':f,'camelCase':camelCase(b[n(0x108)]),'type':a[0x0],'engine':c['engines']['js'],'noRename':!![]};let h='js';c[n(0x114)]['js']===n(0x120)&&(h='ts');if(a[0x0]==='logger'){!this[n(0x10b)][n(0x117)](n(0x102))&&await this[n(0x10b)][n(0x10d)](n(0x118),{'cwd':d,'msg':n(0x10c)});const i=this['fsi'][n(0x115)]({'pathParts':[n(0x113),'startup',n(0x11a),n(0x10f),f+'.'+h]});this[n(0x10b)]['template']({'srcPath':n(0x106),'destPath':i,'context':g,'config':c});}});}catch(d){Log[m(0x111)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a108d,c=a();while(!![]){try{var d=parseInt(f(
|
|
1
|
+
function a108c(){var i=['toString','apply','11706vRHBRn','search','575220DtUCMq','58340VeHPCa','constructor','(((.+)+)+)+$','691120zRoKjZ','580EfZCPu','1057672RrUmoy','93hkqfJr','624198pHkhqO','8awxsWk','119673GzTHbG'];a108c=function(){return i;};return a108c();}(function(a,b){var f=a108d,c=a();while(!![]){try{var d=parseInt(f(0x1ff))/0x1+-parseInt(f(0x1fc))/0x2*(parseInt(f(0x1f6))/0x3)+-parseInt(f(0x1f3))/0x4+-parseInt(f(0x1fe))/0x5+-parseInt(f(0x1f7))/0x6+parseInt(f(0x1f5))/0x7*(-parseInt(f(0x1f8))/0x8)+-parseInt(f(0x1f9))/0x9*(-parseInt(f(0x1f4))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a108c,0x19ad2));var a108b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a108d;if(c){var e=c[g(0x1fb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a108a=a108b(this,function(){var h=a108d;return a108a[h(0x1fa)]()[h(0x1fd)](h(0x201))['toString']()[h(0x200)](a108a)[h(0x1fd)](h(0x201));});function a108d(a,b){var c=a108c();return a108d=function(d,e){d=d-0x1f3;var f=c[d];return f;},a108d(a,b);}a108a();import'./translation.js';import'./openssl.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a109k=a109d;(function(a,b){const i=a109d,c=a();while(!![]){try{const d
|
|
1
|
+
const a109k=a109d;(function(a,b){const i=a109d,c=a();while(!![]){try{const d=parseInt(i(0x149))/0x1+parseInt(i(0x148))/0x2+-parseInt(i(0x146))/0x3*(-parseInt(i(0x14f))/0x4)+-parseInt(i(0x14a))/0x5+parseInt(i(0x13e))/0x6*(-parseInt(i(0x13f))/0x7)+-parseInt(i(0x14b))/0x8+-parseInt(i(0x141))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a109c,0xc81a5));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 j=a109d;return a109a[j(0x13d)]()[j(0x142)](j(0x144))[j(0x13d)]()[j(0x154)](a109a)[j(0x142)](j(0x144));});a109a();import{Generator}from'../../generator.js';function a109c(){const n=['withValue','54288lDBBix','getGlobalConfig','template','getConfigPath','fsi','constructor','openssl.conf','_keys','appName','sslconfig','toString','18aWBADU','1770657pyerxq','maka\x20g:sslconfig\x20--env\x20dev','3919014hvXqLJ','search','env','(((.+)+)+)+$','create','162FTPPca','join','2843128irauzX','101431UWuiLL','847120rNEAON','580312iypcfD','service','openssl/openssl.conf'];a109c=function(){return n;};return a109c();}import{Log}from'../../tools/log/log.class.js';import a109e from'path';function a109d(a,b){const c=a109c();return a109d=function(d,e){d=d-0x13a;let f=c[d];return f;},a109d(a,b);}Generator[a109k(0x145)]({'name':a109k(0x13c),'usage':'maka\x20{generate,\x20g}:sslconfig','shortDesc':'Generate\x20a\x20new\x20openssl\x20config\x20file','noResource':!![],'requiredOpts':[a109k(0x143)],'examples':[a109k(0x140)],'validOpts':[a109k(0x143)]},async function(a,b){const l=a109k;try{const c=await this[l(0x153)]['getProjectConfig'](),d=await this[l(0x153)][l(0x150)](),f=this[l(0x153)][l(0x152)](b[l(0x143)]),g=a109e[l(0x147)](f,l(0x13a),l(0x155));await this['fsi'][l(0x14e)](c,async()=>{const m=l,h={'app':d[m(0x13b)],'noRename':!![]};await this['fsi'][m(0x151)]({'srcPath':m(0x14d),'destPath':g,'framework':m(0x14c),'context':h,'config':c});});}catch(h){Log['error'](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a110A=a110d;(function(a,b){const x=a110d,c=a();while(!![]){try{const d
|
|
1
|
+
const a110A=a110d;function a110d(a,b){const c=a110c();return a110d=function(d,e){d=d-0xe1;let f=c[d];return f;},a110d(a,b);}(function(a,b){const x=a110d,c=a();while(!![]){try{const d=-parseInt(x(0x10b))/0x1+parseInt(x(0xf0))/0x2*(-parseInt(x(0x112))/0x3)+parseInt(x(0xef))/0x4+-parseInt(x(0xf6))/0x5+parseInt(x(0xe3))/0x6+-parseInt(x(0x115))/0x7+-parseInt(x(0x11b))/0x8*(-parseInt(x(0x100))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a110c,0x286b5));const a110b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a110d;if(c){const e=c[y(0x107)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a110a=a110b(this,function(){const z=a110d;return a110a['toString']()[z(0xe8)](z(0x11c))[z(0x102)]()[z(0x10f)](a110a)[z(0xe8)](z(0x11c));});function a110c(){const D=['services','create','\x20}\x20from\x20\x27./','error','526280kkmkqF','isFile','engines','index.js','maka\x20g:translation\x20--lang=de','i18n/i18n.js','import\x20\x27../lib/services/translations/i18n\x27;','Locale\x20already\x20exported:\x20','injectAtEndOfFile','findAppDirectory','72KNuKtL','i18n','toString','appName','grep','injectAtBeginningOfFile','i18n/index.js','apply','exit','Verifying\x20npm\x20package\x20requirements:\x20i18next\x20...','i18next\x20i18next-browser-languagedetector\x20react-i18next','227391DWdKmj','maka\x20{generate,\x20g}:translation\x20--lang=<language>','fsi','imports','constructor','lang','i18n/locales.js','40209MxjhBh','locales','maka\x20g:translation\x20--lang=fr','424697wNMixr','warn','import\x20\x27../lib/services/translations/i18n\x27;\x0a','pathFromApp','service','startup','318608OvTvXK','(((.+)+)+)+$','Generate\x20a\x20new\x20locale\x20translation','translations','export\x20{\x20default\x20as\x20','1822356UwMpUP','rewriteDestinationPathForEngine','root','features.withTranslations','ssr','search','getProjectConfig','setProjectConfig','i18n.js','getGlobalConfig','maka\x20g:translation\x20--lang=en\x20(default)','template','335896ySRCGf','22hBsQkQ','readFileSync'];a110c=function(){return D;};return a110c();}a110a();import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';import a110e from'fs';Generator[a110A(0xf3)]({'name':'translation','usage':a110A(0x10c),'aliases':[a110A(0x101)],'shortDesc':a110A(0x11d),'noResource':!![],'examples':[a110A(0xed),a110A(0x114),a110A(0xfa)],'validOpts':[a110A(0x110)]},function(a,b){const B=a110A;try{const c=this['fsi'][B(0xe9)](),d=this['fsi'][B(0xec)](),f=this['fsi'][B(0xff)]();this['fsi']['withValue'](c,()=>{const C=B;try{!b[C(0x110)]&&(b['lang']='en');!b[C(0xe5)]&&!this[C(0x10d)]['checkNpmPackage']('i18next')&&(Log[C(0x116)](C(0x109)),this['fsi']['installNpmPackage'](C(0x10a),{'cwd':f}),this[C(0x10d)][C(0xea)](C(0xe6),!![]));const g=this[C(0x10d)][C(0x118)]({'pathParts':[C(0x10e),'startup','client',C(0xf9)]}),h=this['fsi'][C(0xe4)]({'pathParts':[g],'config':c}),i=this[C(0x10d)][C(0x104)](a110e[C(0xf1)](h)[C(0x102)](),C(0xfc))[0x0]&&!![];if(c['engines'][C(0xe7)]==='true'){!i&&this[C(0x10d)]['injectAtBeginningOfFile']({'filePath':h,'content':C(0x117)});const t=this[C(0x10d)]['pathFromApp']({'pathParts':[C(0x10e),C(0x11a),'server',C(0xf9)]}),u=this[C(0x10d)][C(0xe4)]({'pathParts':[t],'config':c}),v=this[C(0x10d)]['grep'](a110e['readFileSync'](u)[C(0x102)](),C(0xfc))[0x0]&&!![];!v&&this[C(0x10d)]['injectAtBeginningOfFile']({'filePath':u,'content':C(0x117)});}else!i&&this[C(0x10d)][C(0x105)]({'filePath':h,'content':C(0x117)});const j={'app':d[C(0x103)],'config':c},k=this['fsi']['pathFromApp']({'pathParts':[C(0x10e),C(0x11a),'lib',C(0xf2),C(0xe1),C(0xeb)]}),l=this[C(0x10d)]['isFile'](this['fsi'][C(0xe4)]({'pathParts':[k],'config':c}));!l&&this[C(0x10d)][C(0xee)]({'srcPath':C(0xfb),'destPath':k,'framework':C(0x119),'context':j,'config':c});const m=this[C(0x10d)][C(0x118)]({'pathParts':[C(0x10e),C(0x11a),'lib','services',C(0xe1),C(0x113),b[C(0x110)]+'.js']}),n=this[C(0x10d)][C(0xe4)]({'pathParts':[m],'config':c}),o=this[C(0x10d)][C(0xf7)](n);!o?this[C(0x10d)][C(0xee)]({'srcPath':C(0x111),'destPath':m,'framework':C(0x119),'context':j,'config':c}):Log[C(0x116)]('Locale\x20already\x20defined:\x20'+n);const p=this[C(0x10d)][C(0x118)]({'pathParts':['imports',C(0x11a),'lib',C(0xf2),C(0xe1),C(0x113),'index.'+c[C(0xf8)]['js']]}),q=this[C(0x10d)][C(0xe4)]({'pathParts':[p],'config':c}),r=this[C(0x10d)][C(0xf7)](q);!r&&this[C(0x10d)]['template']({'srcPath':C(0x106),'destPath':p,'framework':C(0x119),'context':j,'config':c});const s=this[C(0x10d)]['grep'](a110e['readFileSync'](p)['toString'](),'default\x20as\x20'+b[C(0x110)])[0x0]&&!![];!s?this[C(0x10d)][C(0xfe)]({'filePath':p,'content':C(0xe2)+b[C(0x110)]+C(0xf4)+b[C(0x110)]+'\x27;'}):Log['warn'](C(0xfd)+p);}catch(w){Log[C(0xf5)](w),process[C(0x108)](0x1);}});}catch(g){Log[B(0xf5)](g),process[B(0x108)](0x1);}});
|
package/bundle/obf/src/maka.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a111m=a111d;(function(a,b){const j=a111d,c=a();while(!![]){try{const d=-parseInt(j(0x176))/0x1+parseInt(j(0x175))/0x2+-parseInt(j(0x16d))/0x3*(parseInt(j(0x16a))/0x4)+parseInt(j(0x17d))/0x5+parseInt(j(0x17f))/0x6+parseInt(j(0x17a))/0x7+-parseInt(j(0x177))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a111c,0x8abdf));const a111b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a111d;if(c){const e=c[k(0x173)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a111a=a111b(this,function(){const l=a111d;return a111a[l(0x170)]()[l(0x179)]('(((.+)+)+)+$')[l(0x170)]()[l(0x174)](a111a)[l(0x179)]('(((.+)+)+)+$');});function a111d(a,b){const c=a111c();return a111d=function(d,e){d=d-0x168;let f=c[d];return f;},a111d(a,b);}a111a();import a111e from'minimist';import a111f from'os';import a111g from'path';import a111h from'humps';import a111i from'./commands/maka.cmd.js';import'./commands/_index.js';import'./generators/_index.js';import{fileURLToPath}from'url';const __filename=fileURLToPath(import.meta[a111m(0x172)]),__dirname=a111g[a111m(0x16e)](__filename);global[a111m(0x178)]=__dirname;const total_memory=a111f['totalmem'](),total_mem_in_kb=total_memory/0x400;function a111c(){const n=['--max-old-space-size=','slice','3bWfrAN','dirname','floor','toString','camelizeKeys','url','apply','constructor','1175954GKZrZo','966579ExiBgY','4238424NFwHWp','MAKA_COMMAND_PATH','search','6523181lQFpdK','run','env','3550575KeakRz','argv','2254938TPOOQa','parse','TOOL_NODE_FLAGS','2164516EQYvay'];a111c=function(){return n;};return a111c();}let total_mem_in_mb=total_mem_in_kb/0x400;total_mem_in_mb=Math[a111m(0x16f)](total_mem_in_mb),process[a111m(0x17c)][a111m(0x169)]=a111m(0x16b)+total_mem_in_mb,process['env']['BROWSERSLIST_IGNORE_OLD_DATA']='1';const argv=a111e(process[a111m(0x17e)][a111m(0x16c)](0x2)),args=argv['_'],deepCopyArgv=JSON[a111m(0x168)](JSON['stringify'](argv));delete deepCopyArgv['_'];const opts=a111h[a111m(0x171)](deepCopyArgv);a111i[a111m(0x17b)](args,opts);
|