@maka/maka-cli 4.9.12 → 4.9.14
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/chz.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/build/_index.js +1 -1
- package/bundle/obf/src/commands/build/build.js +1 -1
- package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/create.js +1 -1
- package/bundle/obf/src/commands/debug.js +1 -1
- package/bundle/obf/src/commands/deploy/_index.js +1 -1
- package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
- package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/_index.js +1 -1
- package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/play.command.js +1 -1
- package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/generate.js +1 -1
- package/bundle/obf/src/commands/get/_index.js +1 -1
- package/bundle/obf/src/commands/get/get.command.js +1 -1
- package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/help.js +1 -1
- package/bundle/obf/src/commands/install.js +1 -1
- package/bundle/obf/src/commands/jsdoc.js +1 -1
- package/bundle/obf/src/commands/lint.js +1 -1
- package/bundle/obf/src/commands/login.js +1 -1
- package/bundle/obf/src/commands/logout.js +1 -1
- package/bundle/obf/src/commands/logs.js +1 -1
- package/bundle/obf/src/commands/maka.cmd.js +1 -1
- package/bundle/obf/src/commands/murder.js +1 -1
- package/bundle/obf/src/commands/patreon.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/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/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/templates/meteor/api/api.js +4 -4
- package/bundle/obf/src/templates/meteor/api/api.js.ts +4 -3
- package/bundle/obf/src/templates/meteor/api/methods.js +8 -104
- package/bundle/obf/src/templates/meteor/api/methods.js.ts +6 -103
- package/bundle/obf/src/templates/meteor/api/register-api.js +2 -15
- package/bundle/obf/src/templates/meteor/api/register-api.js.ts +2 -15
- 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
- package/bundle/obf/src/templates/meteor/api/fixtures.js +0 -23
- package/bundle/obf/src/templates/meteor/api/fixtures.js.ts +0 -23
- package/bundle/obf/src/templates/meteor/api/publications.js +0 -31
- package/bundle/obf/src/templates/meteor/api/publications.js.ts +0 -31
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a115A=a115d;function a115c(){const E=['search','imports','{\x20this.props.children\x20}','63096WepDdw','kit/mui/frame/drawers/','110793XmVjvn','tsx','kit/mui/frame/app-bars/','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','/imports/ui/','-hook\x22>','12bfEPck','appName','checkMeteorPackage','maka\x20generate:kit:mui:frame','tests','engines','app-tests','REACT','findAppDirectory','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','frame','fsi','baseDir','replaceAll','dir','/imports/ui/hooks','11432CaqQpF','log','.js','4350qSVYHg','3371630XGHLTi','injectTemplateModule','checkbox','/imports/startup/client/templates','Cleaning\x20up...','getDirectories','toString','true','error','options','getFiles','ssr','No\x20layouts\x20selected','create','112056OeTSvg','join','\x20/>\x0a','injectImport','1025fqbykU','apply','<div\x20id=\x22','pathFromApp','935dqhTRi','873yuvzSh','maka\x20g:k:m:f','(((.+)+)+)+$','jsx','template','injectIntoFile','2836EgeNRj','withValue','/imports/startup/lib/templates','106dxIuYn','{this.props.children}','{\x20props.children\x20}','layouts','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','basic-app-bar'];a115c=function(){return E;};return a115c();}(function(a,b){const x=a115d,c=a();while(!![]){try{const d=-parseInt(x(0x126))/0x1+-parseInt(x(0x11b))/0x2*(parseInt(x(0x13f))/0x3)+parseInt(x(0x118))/0x4*(parseInt(x(0x10d))/0x5)+parseInt(x(0x12c))/0x6*(-parseInt(x(0x109))/0x7)+-parseInt(x(0x13c))/0x8*(-parseInt(x(0x112))/0x9)+-parseInt(x(0x140))/0xa+-parseInt(x(0x111))/0xb*(-parseInt(x(0x124))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0x2a7f2));const a115b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a115d;if(c){const e=c[y(0x10e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a115a=a115b(this,function(){const z=a115d;return a115a[z(0x146)]()[z(0x121)](z(0x114))[z(0x146)]()['constructor'](a115a)[z(0x121)](z(0x114));});a115a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a115e from'path';import a115f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-0x108;let f=c[d];return f;},a115d(a,b);}import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a115A(0x108)]({'name':a115A(0x136),'aliases':['f'],'usage':a115A(0x135),'shortDesc':a115A(0x11f),'validOpts':['layouts'],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines[a115A(0x133)]},'examples':[a115A(0x12f),a115A(0x113)],'description':'\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20'},async function(a,b){const B=a115A;try{const c=B(0x120),d='basic-drawer',f=this['fsi']['getMakaProjectConfig'](),g=f[B(0x131)][B(0x14b)]===B(0x147);await this['fsi'][B(0x12e)]('session',{'shouldInstall':!![]});const h=this[B(0x137)][B(0x134)](),i=a115e[B(0x10a)](h,B(0x122),'ui','layouts'),j=this[B(0x137)][B(0x145)](i),k=await Actions[B(0x149)]({'type':B(0x142),'name':B(0x11e),'message':B(0x129),'choices':j});if(k[B(0x11e)]['length']===0x0){Log['error'](B(0x14c));return;}const l=b[B(0x138)]?B(0x12a)+b[B(0x138)]:B(0x13b),m=this['fsi']['pathFromApp']({'pathParts':[l,b[B(0x13a)],paramCase(c),paramCase(c)]}),n=this[B(0x137)][B(0x110)]({'pathParts':[l,b['dir'],paramCase(d),paramCase(d)]}),o={'name':headerCase(f[B(0x12d)])[B(0x139)]('-','\x20')};await this[B(0x137)][B(0x119)](f,async()=>{const C=B;await this['fsi'][C(0x116)]({'srcPath':C(0x128)+c+C(0x13e),'destPath':m+C(0x13e),'framework':'react','context':o,'config':f,'force':![],'ignore':![]}),await this[C(0x137)][C(0x116)]({'srcPath':C(0x125)+d+C(0x13e),'destPath':n+C(0x13e),'framework':'react','context':o,'config':f,'force':![],'ignore':![]});});const p=''+l+b[B(0x13a)]+'/'+c+'/'+c;await this[B(0x137)][B(0x141)](c,f,p);const q=''+l+b[B(0x13a)]+'/'+d+'/'+d;await this['fsi'][B(0x141)](d,f,q);const {layouts:r}=k;for(const s of r){const t=this[B(0x137)][B(0x14a)](a115e[B(0x10a)](i,s),{'extensions':[B(0x115),B(0x127)],'omit':[B(0x132),B(0x130),'test']});for(const u of t){const v=a115e['join'](i,s,u);await this[B(0x137)][B(0x10c)]({'filePath':v,'importName':pascalCase(c),'modulePath':g?B(0x11a):B(0x143),'isNamedExport':!![]}),await this[B(0x137)]['injectIntoFile']({'filePath':v,'content':'<'+pascalCase(c)+B(0x10b),'begin':[B(0x10f)+s+'\x22>',B(0x10f)+s+B(0x12b)],'end':[B(0x11c),B(0x123),'{props.children}',B(0x11d)]}),await this['fsi'][B(0x10c)]({'filePath':v,'importName':pascalCase(d),'modulePath':g?'/imports/startup/lib/templates':'/imports/startup/client/templates','isNamedExport':!![]}),await this[B(0x137)][B(0x117)]({'filePath':v,'content':'<'+pascalCase(d)+B(0x10b),'begin':['<div\x20id=\x22'+s+'\x22>',B(0x10f)+s+B(0x12b)],'end':[B(0x11c),'{\x20this.props.children\x20}','{props.children}','{\x20props.children\x20}']});}}return!![];}catch(w){Log[B(0x148)](w);}},async function(){const D=a115A;console[D(0x13d)](D(0x144));},a115f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a116h=a116d;(function(a,b){const f=a116d,c=a();while(!![]){try{const d=parseInt(f(0x159))/0x1+-parseInt(f(0x154))/0x2*(parseInt(f(0x15a))/0x3)+-parseInt(f(0x149))/0x4+parseInt(f(0x155))/0x5*(parseInt(f(0x14c))/0x6)+-parseInt(f(0x15c))/0x7*(parseInt(f(0x14e))/0x8)+-parseInt(f(0x14a))/0x9*(parseInt(f(0x14f))/0xa)+-parseInt(f(0x150))/0xb*(-parseInt(f(0x15b))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x958d0));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const g=a116d;return a116a['toString']()[g(0x148)](g(0x157))[g(0x156)]()['constructor'](a116a)[g(0x148)](g(0x157));});a116a();import{Generator}from'../../../generator.js';function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x148;let f=c[d];return f;},a116d(a,b);}import a116e from'../kit.js';function a116c(){const j=['80olfoLE','15MYAymH','toString','(((.+)+)+)+$','NIE','752731zJRivu','71085ewPTFN','17782524bjYZMN','7inxykv','search','1216736sdeDKn','1485QBCApE','create','1666788fbeaMn','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','8034424uNemcv','12070wLBTOd','11FEZKqB','Material-UI\x20Kit','mui','maka\x20g:kit:m'];a116c=function(){return j;};return a116c();}const MuiGen=Generator[a116h(0x14b)]({'name':a116h(0x152),'aliases':['m'],'usage':a116h(0x14d),'noNeedResource':!![],'shortDesc':a116h(0x151),'validOpts':[''],'isPro':![],'examples':[a116h(0x153)]},async function(){const i=a116h;throw i(0x158);},async function(){},a116e);export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a117o=a117d;function a117c(){const r=['test/test.js','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','css','fileName','api','create','getMakaProjectConfig','Scaffolding\x20for\x20a\x20React\x20Layout.','withHook','template/template.css','fsi','component/component.js','template','string','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','graphql','.css','warn','ramda','903nQwwJo','test','engines','injectAtBeginningOfFile','dir','ssr','setTemplate','withHooks','installNpmPackage','resourceName','constructor','features','withTranslations','pathFromApp','assign','/imports/ui/layouts','react','19245030XUmndE','3878LlpeDX','(((.+)+)+)+$','includes','search','4150713CxJwut','apply','checkNpmPackage','620940KfGCOT','maka\x20g:l\x20web/safari','6qiXdbU','246344xkHmSU','true','4126610ZFFJvq','withValue','injectTemplateModule','5238963HjjAnL','maka\x20g:layout\x20mobile/iPhone8','toString','.js','hook/hook.js','split','className','8tHAPhw','theme','pathFromProject'];a117c=function(){return r;};return a117c();}(function(a,b){const l=a117d,c=a();while(!![]){try{const d=-parseInt(l(0x148))/0x1+parseInt(l(0x13e))/0x2*(-parseInt(l(0x12c))/0x3)+parseInt(l(0x145))/0x4+-parseInt(l(0x14a))/0x5+parseInt(l(0x147))/0x6*(-parseInt(l(0x142))/0x7)+parseInt(l(0x116))/0x8*(parseInt(l(0x14d))/0x9)+parseInt(l(0x13d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x64f8d));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a117d;if(c){const e=c[m(0x143)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const n=a117d;return a117a[n(0x14f)]()[n(0x141)]('(((.+)+)+)+$')['toString']()[n(0x136)](a117a)[n(0x141)](n(0x13f));});function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x114;let f=c[d];return f;},a117d(a,b);}a117a();import a117e 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[a117o(0x11e)]({'name':'layout','aliases':aliases,'usage':a117o(0x11a),'shortDesc':a117o(0x120),'validOpts':[],'examples':[a117o(0x14e),a117o(0x146)]},async function(a,b){const p=a117o,c=p(0x13b),d=this['fsi']['findAppDirectory'](),e=this[p(0x123)][p(0x139)]({'pathParts':[c,b[p(0x130)],paramCase(b[p(0x135)]),paramCase(b[p(0x135)])]}),f=this['fsi'][p(0x11f)]();await this[p(0x123)][p(0x14b)](f,async()=>{const q=p;typeof f[q(0x125)][q(0x12d)]===q(0x126)&&(f[q(0x125)]['test']=f[q(0x125)]['test']===q(0x149)?!![]:![],this[q(0x123)]['setTemplate'](q(0x12d),f['template'][q(0x12d)]));typeof f[q(0x125)][q(0x11b)]==='string'&&(f[q(0x125)][q(0x11b)]=f[q(0x125)]['css']==='true'?!![]:![],this[q(0x123)]['setTemplate'](q(0x11b),f[q(0x125)]['css']));typeof f['template']['js']===q(0x126)&&(f[q(0x125)]['js']=f['template']['js']===q(0x149)?!![]:![],this[q(0x123)][q(0x132)]('js',f[q(0x125)]['js']));!f['features']&&(f['features']={});const g=b['_']?b['_'][0x0][q(0x114)](':')[0x1]:![],h=b['_']&&aliases[q(0x140)](g);h&&!this[q(0x144)](q(0x12b))&&(Log[q(0x12a)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),this[q(0x123)][q(0x134)]('ramda',{'cwd':d}));if(h&&!this[q(0x144)]('react')){Log[q(0x12a)](q(0x127));return;}const i={'name':pascalCase(b[q(0x135)]),'myPath':a117e['relative'](this[q(0x123)][q(0x118)]({}),e),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[q(0x135)]),'camelCaseName':camelCase(b[q(0x135)]),'fileName':paramCase(b[q(0x135)]),'graphql':f['engines'][q(0x128)],'features':f['features'],'client':f[q(0x12e)]['client'],'api':f[q(0x12e)][q(0x11d)],'ssr':f[q(0x12e)][q(0x131)],'test':f[q(0x12e)]['test'],'theme':f['engines'][q(0x117)],'isComponent':![],'isLayout':!![],'withTranslations':f['features'][q(0x138)]};f[q(0x137)]?.[q(0x133)]||b[q(0x121)]?await this[q(0x123)]['template']({'srcPath':q(0x151),'destPath':e+q(0x150),'framework':q(0x13c),'context':i,'config':f}):await this[q(0x123)]['template']({'srcPath':q(0x124),'destPath':e+q(0x150),'framework':'react','context':i,'config':f});f[q(0x12e)][q(0x12d)]!=='none'&&await this[q(0x123)]['template']({'srcPath':q(0x119),'destPath':e+'.app-tests.js','framework':q(0x13c),'context':i,'config':f});f[q(0x125)][q(0x11b)]&&(await this[q(0x123)]['template']({'srcPath':q(0x122),'destPath':e+q(0x129),'context':Object[q(0x13a)]({},i,{'className':paramCase(b[q(0x135)])}),'config':f}),await this['fsi'][q(0x12f)]({'filePath':e+'.'+f[q(0x12e)]['js'],'content':'import\x20\x27./'+i[q(0x11c)]+'.'+f[q(0x12e)][q(0x11b)]+'\x27;'}));const j=b[q(0x130)]?'/'+b[q(0x130)]+'/':'/',k=''+c+j+i[q(0x11c)]+'/'+i[q(0x11c)];await this[q(0x123)][q(0x14c)](i[q(0x115)],f,k);});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a118i=a118d;(function(a,b){const f=a118d,c=a();while(!![]){try{const d
|
|
1
|
+
const a118i=a118d;function a118c(){const j=['1437295BjQgvO','maka\x20g:dbc\x20geoserver\x20--type=pgsql','Scaffold\x20various\x20parts\x20of\x20your\x20application','769265Urungc','maka\x20{generate,\x20g}:<generator>\x20<name>','maka\x20g:scaffold\x20todos','maka\x20g:route\x20todos/edit','6WWkHTm','constructor','apply','1340188wDfGYV','(((.+)+)+)+$','toString','111DddpJR','1185344dzqMZJ','maka\x20g:api\x20trucks','1559151JttQrR','maka\x20g:package\x20package:name','maka\x20g:template\x20todos/todo_item','463228EPHiNX','maka\x20generate:scaffold\x20todos','17596TncWuA','search'];a118c=function(){return j;};return a118c();}(function(a,b){const f=a118d,c=a();while(!![]){try{const d=parseInt(f(0x198))/0x1+-parseInt(f(0x1a6))/0x2+-parseInt(f(0x1a9))/0x3*(-parseInt(f(0x19a))/0x4)+parseInt(f(0x19c))/0x5*(parseInt(f(0x1a3))/0x6)+parseInt(f(0x19f))/0x7+-parseInt(f(0x1aa))/0x8+parseInt(f(0x1ac))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x5c5d2));const a118b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a118d;if(c){const e=c[g(0x1a5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){const h=a118d;return a118a[h(0x1a8)]()[h(0x19b)](h(0x1a7))[h(0x1a8)]()[h(0x1a4)](a118a)['search']('(((.+)+)+)+$');});a118a();function a118d(a,b){const c=a118c();return a118d=function(d,e){d=d-0x196;let f=c[d];return f;},a118d(a,b);}import{Generator}from'../generator.js';const MakaGen=new Generator({'name':'generate','aliases':['g'],'usage':a118i(0x1a0),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a118i(0x19e),'examples':[a118i(0x199),a118i(0x1a1),a118i(0x197),a118i(0x196),a118i(0x1a2),a118i(0x1ab),a118i(0x19d)]},function(){});export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a119m=a119d;(function(a,b){const j=a119d,c=a();while(!![]){try{const d
|
|
1
|
+
const a119m=a119d;(function(a,b){const j=a119d,c=a();while(!![]){try{const d=-parseInt(j(0x7f))/0x1*(-parseInt(j(0x85))/0x2)+parseInt(j(0x86))/0x3*(parseInt(j(0x79))/0x4)+parseInt(j(0x73))/0x5+-parseInt(j(0x78))/0x6+parseInt(j(0x94))/0x7+-parseInt(j(0x8f))/0x8+parseInt(j(0x7c))/0x9*(parseInt(j(0x89))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x41983));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a119d;if(c){const e=c[k(0x95)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const l=a119d;return a119a[l(0x8c)]()[l(0x84)](l(0x8a))['toString']()[l(0x81)](a119a)[l(0x84)](l(0x8a));});a119a();import{Generator}from'../generator.js';function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x6e;let f=c[d];return f;},a119d(a,b);}import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';function a119c(){const p=['checkMeteorPackage','toString','import\x20\x27./methods','tsx','3381152HCysFD','pathFromApp','resourceName','methods','error','251937zvLbKe','apply','method/method.js','mdg:validated-method','injectAtEndOfFile','fsi','maka:check','2444480fpRqep','dir','-rpc-method.','startup','create','992886JkgRlz','30824BEIwSX','appPathPrefix','index.','22149azToxy','imports','engines','3647nBZnLP','maka\x20{generate,\x20g}:{method,\x20m}\x20name','constructor','getMakaProjectConfig','template','search','20uKNiLA','24wJasjj','-rpc-method\x27;','withValue','950ZEjior','(((.+)+)+)+$'];a119c=function(){return p;};return a119c();}Generator[a119m(0x77)]({'name':'method','aliases':['m'],'usage':a119m(0x80),'checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','validOpts':[a119m(0x74)],'examples':['maka\x20g:method\x20todos']},async function(a,b){const n=a119m;try{const c=this['fsi'][n(0x82)]();await this['fsi'][n(0x88)](c,async()=>{const o=n,d=paramCase(b['resourceName']),f={'name':b[o(0x91)],'fileName':d,'className':pascalCase(b[o(0x91)]),'camelCase':camelCase(b[o(0x91)]),'noRename':!![]};let g='js';c[o(0x7e)]['js']===o(0x8e)&&(g='ts');await this[o(0x71)][o(0x8b)]([o(0x72),'ddp-rate-limiter',o(0x6f)],{'shouldInstall':!![]}),await this[o(0x71)][o(0x83)]({'srcPath':o(0x6e),'destPath':this[o(0x71)][o(0x90)]({'pathParts':[o(0x7d),o(0x76),b[o(0x7a)],o(0x92),b[o(0x74)],d+o(0x75)+g]}),'context':f,'config':c});const h=b[o(0x74)]?'/'+b[o(0x74)]+'/':'/',i=this['fsi']['pathFromApp']({'pathParts':[o(0x7d),o(0x76),b[o(0x7a)],o(0x7b)+c[o(0x7e)]['js']]});await this['fsi'][o(0x70)]({'filePath':i,'content':o(0x8d)+h+d+o(0x87)});});}catch(d){Log[n(0x93)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a120o=a120d;(function(a,b){const l=a120d,c=a();while(!![]){try{const d
|
|
1
|
+
function a120c(){const r=['maka\x20g:package\x20todos:package','package.js','tests/client','package','resourceName','noRename','theme','getMakaProjectConfig','pathFromApp','.js','withValue','/client/','57026EnEmnh','/package.js','605412zmZUiJ','apply','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','55RLEjTo','6346515RQUtTl','11VqizSi','packages','2345241jMPHmI','server','client','fsi','3957140fGVuVf','hasOwnProperty','package/','layout','(((.+)+)+)+$','create','ssr','template','dir','component','11HlBmnx','store','3317226JjYPuX','template/template.js','search','pathFromAppWithNoReWrite','constructor','1476nXRwtX','engines','39416YOMzYm','relative','toString'];a120c=function(){return r;};return a120c();}const a120o=a120d;(function(a,b){const l=a120d,c=a();while(!![]){try{const d=-parseInt(l(0x160))/0x1*(-parseInt(l(0x149))/0x2)+parseInt(l(0x152))/0x3+-parseInt(l(0x14b))/0x4*(-parseInt(l(0x14e))/0x5)+-parseInt(l(0x162))/0x6+-parseInt(l(0x14f))/0x7+-parseInt(l(0x169))/0x8*(parseInt(l(0x167))/0x9)+-parseInt(l(0x156))/0xa*(-parseInt(l(0x150))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0xd8e7b));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a120d;if(c){const e=c[m(0x14c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const n=a120d;return a120a[n(0x16b)]()[n(0x164)](n(0x15a))[n(0x16b)]()[n(0x166)](a120a)[n(0x164)](n(0x15a));});function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x143;let f=c[d];return f;},a120d(a,b);}a120a();import a120e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a120o(0x15b)]({'name':a120o(0x16f),'aliases':['p'],'usage':a120o(0x14d),'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','validOpts':[a120o(0x15e)],'examples':[a120o(0x16c)]},async function(a,b){const p=a120o,c=paramCase(b['resourceName']),d=this['fsi'][p(0x145)]({'pathParts':['packages',b['dir'],c]}),e=this[p(0x155)][p(0x165)]({'pathParts':[p(0x151),b['dir'],c,p(0x16d)]}),f=this[p(0x155)][p(0x144)]();await this[p(0x155)][p(0x147)](f,async()=>{const q=p,g={'name':paramCase(b['resourceName']),'myPath':a120e[q(0x16a)](this[q(0x155)]['pathFromProject']({}),d),'cssCaseName':paramCase(b[q(0x170)]),'className':pascalCase(b[q(0x170)]),'camelCaseName':camelCase(b[q(0x170)]),'fileName':c,'client':f[q(0x168)][q(0x154)],'graphql':f[q(0x168)]['graphql'],'ssr':f[q(0x168)][q(0x15c)],'isComponent':b[q(0x157)](q(0x15f)),'isLayout':b['hasOwnProperty'](q(0x159)),'isStore':b['hasOwnProperty'](q(0x161)),'features':f['features'],'noRename':!![],'theme':f[q(0x168)][q(0x143)]};await this[q(0x155)][q(0x15d)]({'srcPath':'package/package.js','destPath':e,'context':g,'config':f}),g[q(0x171)]=![];const h=d+q(0x148)+c+q(0x146);await this[q(0x155)][q(0x15d)]({'srcPath':q(0x163),'destPath':h,'context':g,'config':f});const i=['lib',q(0x153),q(0x16e),'tests/server'];for(const j of i){const k=d+'/'+j+'/'+c+q(0x146);await this['fsi'][q(0x15d)]({'srcPath':q(0x158)+j+q(0x14a),'destPath':k,'context':g,'config':f});}});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a121m=a121d;(function(a,b){const j=a121d,c=a();while(!![]){try{const d=parseInt(j(0x81))/0x1*(parseInt(j(0x6d))/0x2)+parseInt(j(0x9e))/0x3*(parseInt(j(0x89))/0x4)+-parseInt(j(0x94))/0x5+parseInt(j(0x6f))/0x6+-parseInt(j(0x88))/0x7+-parseInt(j(0x96))/0x8+-parseInt(j(0x95))/0x9*(-parseInt(j(0x79))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x1a781));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a121d;if(c){const e=c[k(0x83)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const l=a121d;return a121a[l(0x90)]()['search'](l(0xa7))[l(0x90)]()[l(0x8b)](a121a)[l(0xa9)](l(0xa7));});a121a();function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x66;let f=c[d];return f;},a121d(a,b);}import a121e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a121f from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator[a121m(0x74)]({'name':a121m(0x86),'aliases':aliases,'usage':a121m(0x8a),'shortDesc':'Generate\x20a\x20page.','validOpts':[{'name':a121m(0xa8),'values':['hooks',a121m(0x7b),a121m(0x6e),a121m(0x70)]},{'name':'withHook','boolFlag':!![]}],'examples':[a121m(0x67)]},async function(a,b){const n=a121m,c=b['baseDir']?n(0x69)+b[n(0xa8)]:n(0x8d),d=this[n(0xa6)][n(0x75)](b),e=this['fsi'][n(0x75)]({'pathParts':[c,b[n(0x7a)],paramCase(b[n(0x9c)]),paramCase(b[n(0x9c)])]}),f=this[n(0xa6)]['getMakaProjectConfig']();let g='';return await this[n(0xa6)][n(0x97)](f,async()=>{const o=n;typeof f[o(0x7c)][o(0xa5)]===o(0x9d)&&(f[o(0x7c)][o(0xa5)]=f[o(0x7c)][o(0xa5)]===o(0x6a)?!![]:![],this[o(0xa6)]['setTemplate'](o(0xa5),f['template'][o(0xa5)]));typeof f[o(0x7c)][o(0xa3)]===o(0x9d)&&(f[o(0x7c)][o(0xa3)]=f[o(0x7c)][o(0xa3)]===o(0x6a)?!![]:![],this['fsi']['setTemplate'](o(0xa3),f['template'][o(0xa3)]));typeof f['template']['css']===o(0x9d)&&(f['template'][o(0xa2)]=f[o(0x7c)][o(0xa2)]===o(0x6a)?!![]:![],this[o(0xa6)][o(0x7e)](o(0xa2),f[o(0x7c)][o(0xa2)]));typeof f[o(0x7c)]['js']==='string'&&(f['template']['js']=f['template']['js']===o(0x6a)?!![]:![],this[o(0xa6)][o(0x7e)]('js',f[o(0x7c)]['js']));!f[o(0x8f)]&&(f[o(0x8f)]={});!b[o(0x9a)]&&!this[o(0xa6)][o(0xac)](o(0x87))&&(Log['warn']('Updating\x20npm\x20packages\x20...'),this[o(0xa6)][o(0x85)](o(0x87),{'cwd':d}));const h={'name':pascalCase(b[o(0x9c)]),'myPath':a121e[o(0x7d)](this['fsi'][o(0xaa)]({}),e),'cssCaseName':paramCase(b[o(0x9c)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[o(0x9c)]),'fileName':paramCase(b['resourceName']),'graphql':f[o(0x78)]['graphql'],'features':f[o(0x8f)],'client':f[o(0x78)][o(0xab)],'api':f[o(0x78)]['api'],'ssr':f[o(0x78)]['ssr'],'isStore':b[o(0x92)](o(0x8e)),'isComponent':b[o(0x92)](o(0x9f)),'isLayout':b[o(0x92)]('layout'),'withTranslations':f[o(0x8f)][o(0x99)],'test':f[o(0x78)][o(0xa3)],'theme':f['engines'][o(0x82)]};f[o(0x7c)][o(0xa5)]&&await this[o(0xa6)][o(0x7c)]({'srcPath':o(0xa4),'destPath':e+o(0x6c),'context':h,'config':f});f[o(0x8f)]?.['withHooks']||b[o(0x98)]?await this[o(0xa6)][o(0x7c)]({'srcPath':o(0x8c),'destPath':e+o(0x66),'framework':o(0x7f),'context':h,'config':f}):await this[o(0xa6)][o(0x7c)]({'srcPath':'component/component.js','destPath':e+o(0x66),'framework':'react','context':h,'config':f});f[o(0x78)][o(0xa3)]!=='none'&&await this[o(0xa6)][o(0x7c)]({'srcPath':o(0x9b),'destPath':e+o(0x84),'framework':o(0x7f),'context':h,'config':f});f['template'][o(0xa2)]&&await this[o(0xa6)][o(0x7c)]({'srcPath':o(0x6b),'destPath':e+o(0x80),'context':Object[o(0xa0)]({},h,{'className':paramCase(b[o(0x9c)])}),'config':f});f['engines']['client']!==o(0x7f)&&f['engines'][o(0xab)]!==o(0x71)?(f[o(0x7c)]['css']&&await this[o(0xa6)][o(0x77)]({'filePath':e+'.'+f[o(0x78)]['js'],'content':'import\x20\x27./'+h[o(0x73)]+'.'+f[o(0x78)]['html']+o(0x91)+'import\x20\x27./'+h['fileName']+'.'+f['engines'][o(0xa2)]+'\x27;'}),!f[o(0x7c)][o(0xa2)]&&await this['fsi'][o(0x77)]({'filePath':e+'.'+f[o(0x78)]['js'],'content':o(0xa1)+h[o(0x73)]+'.'+f['engines']['html']+'\x27;'})):f['template'][o(0xa2)]&&await this[o(0xa6)]['injectAtBeginningOfFile']({'filePath':e+'.'+f[o(0x78)]['js'],'content':o(0xa1)+h[o(0x73)]+'.'+f[o(0x78)][o(0xa2)]+'\x27;'});const i=b[o(0x7a)]?'/'+b[o(0x7a)]+'/':'/';g=''+c+i+h[o(0x73)]+'/'+h[o(0x73)],await this[o(0xa6)][o(0x68)](h[o(0x93)],f,g),!b[o(0x9a)]&&await a121f[o(0x76)](o(0x72),[i+b['resourceName']],b);}),g+'.'+f[n(0x78)]['js'];});function a121c(){const p=['theme','apply','.app-tests.js','installNpmPackage','page','ramda','1310673AtBWVi','4lEwKKc','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','constructor','hook/hook.js','/imports/ui/pages','store','features','toString','\x27;\x0a','hasOwnProperty','className','838835lRNzca','18GHnuOK','1016760zXKNwv','withValue','withHook','withTranslations','root','test/test.js','resourceName','string','10083NdEIlj','component','assign','import\x20\x27./','css','test','template/template.html','html','fsi','(((.+)+)+)+$','baseDir','search','pathFromProject','client','checkNpmPackage','.js','maka\x20g:page\x20todos/todos-item','injectTemplateModule','/imports/ui/','true','template/template.css','.html','2JKBedz','pages','1260672wBkzOM','layouts','vanilla','route','fileName','create','pathFromApp','processAndRunGenerator','injectAtBeginningOfFile','engines','1675130otoYvV','dir','components','template','relative','setTemplate','react','.css','42019xWXzRG'];a121c=function(){return p;};return a121c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a122k=a122d;(function(a,b){const h=a122d,c=a();while(!![]){try{const d=parseInt(h(0x8c))/0x1*(-parseInt(h(0x92))/0x2)+parseInt(h(0x93))/0x3*(parseInt(h(0x7b))/0x4)+parseInt(h(0x86))/0x5*(-parseInt(h(0x91))/0x6)+parseInt(h(0x85))/0x7*(parseInt(h(0x84))/0x8)+-parseInt(h(0x8d))/0x9*(-parseInt(h(0x94))/0xa)+-parseInt(h(0x90))/0xb+parseInt(h(0x83))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x59d31));function a122c(){const n=['templateContent','publish/publish.','6804666YJodrE','3408138CAEMGl','484730ZmBJIC','45gDJFDE','10920RVIhWB','resourceName','search','147916PSJFZG','toString','getMakaProjectConfig','withValue','fsi','constructor','server/publish.','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','6386844TgaFVq','56312FrRQPF','301YxuSsS','5TOXCrX','(((.+)+)+)+$','apply','rewriteDestinationPathForEngine','tsx','engines','1lLUVzS','3357GfFrrH'];a122c=function(){return n;};return a122c();}const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a122d;if(c){const e=c[i(0x88)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const j=a122d;return a122a[j(0x7c)]()[j(0x7a)](j(0x87))[j(0x7c)]()[j(0x80)](a122a)['search'](j(0x87));});a122a();import{paramCase}from'change-case';function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x79;let f=c[d];return f;},a122d(a,b);}import{Generator}from'../generator.js';Generator['create']({'name':'publish','aliases':['p'],'usage':'maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','shortDesc':a122k(0x82),'validOpts':[],'examples':['maka\x20g:publish\x20todos']},async function(a,b){const l=a122k,c=this[l(0x7f)][l(0x7d)]();await this[l(0x7f)][l(0x7e)](c,async()=>{const m=l,d={'name':b[m(0x79)],'collection':paramCase(b[m(0x79)]),'noRename':!![]};let e='js';c[m(0x8b)]['js']===m(0x8a)&&(e='ts');const f=this['fsi'][m(0x89)]({'pathParts':[m(0x81)+c[m(0x8b)]['js']]}),g=this[m(0x7f)][m(0x8e)]({'srcPath':m(0x8f)+e,'context':d,'config':c});await this[m(0x7f)]['injectAtEndOfFile']({'filePath':f,'content':'\x0a'+g});});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a123B=a123d;(function(a,b){const y=a123d,c=a();while(!![]){try{const d=parseInt(y(
|
|
1
|
+
const a123B=a123d;(function(a,b){const y=a123d,c=a();while(!![]){try{const d=parseInt(y(0x145))/0x1*(parseInt(y(0x13c))/0x2)+-parseInt(y(0x153))/0x3+-parseInt(y(0x183))/0x4*(parseInt(y(0x17e))/0x5)+parseInt(y(0x18f))/0x6*(parseInt(y(0x13d))/0x7)+parseInt(y(0x188))/0x8+parseInt(y(0x180))/0x9+-parseInt(y(0x173))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xc5048));function a123c(){const K=['Valid\x20options\x20are:\x20','598229uoeEhp','rewriteDestinationPathForEngine','info','error','toLowerCase','Route\x20','client','replace','injectIntoFile','root','apply','const\x20publicRoutes\x20=\x20(<>','startup','injectAtEndOfFile','297108gzSVER','split','PrivateLayout','Could\x20not\x20find\x20a\x20suitable\x20location\x20to\x20enable\x20this\x20route.\x20\x20Please\x20inspect\x20','\x20already\x20exists.\x20\x20Skipping.','injectAfterLineNumber','hooks','engines','withValue','readFileLines','map','maka\x20g:route\x20todosIndex\x20todos','pages','templateContent','create','maka\x20g:route\x20todosEdit\x20todos/:id/edit','join','/imports/ui/','<Router','baseDir','toString','const\x20privateRoutes\x20=\x20(<>','indexOf','length','\x20to\x20','cwd','vanilla','Adding\x20route\x20','<Route','Scaffolding\x20for\x20a\x20Route.','fsi','warn','13024030bUSsME','constructor','maka\x20g:route\x20pages/about','lib','url','fileContainsString','pathFromProject','\x0a\x09\x09','newForm','react','search','3868305Difuqw','layouts','11119617pgPErk','pathFromApp','(((.+)+)+)+$','4FaawfO','templateName','Please\x20specify\x20a\x20name\x20for\x20the\x20route.','includes','only','7839408DzENFb','dir','resourceName','imports','getMakaProjectConfig','maka\x20g:route\x20usersShow\x20users/:id/show\x20--layout\x20userView','private','26592RVugfe','route/route.js','routes.js','withTranslations','</Router>','2MrsXaN','266DqShty','filter','components','layout','route','/imports/ui/pages','ssr'];a123c=function(){return K;};return a123c();}const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const z=a123d;if(c){const e=c[z(0x14f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const A=a123d;return a123a[A(0x167)]()[A(0x17d)](A(0x182))[A(0x167)]()[A(0x174)](a123a)[A(0x17d)](A(0x182));});a123a();import a123e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x13a;let f=c[d];return f;},a123d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['r'];Generator[a123B(0x161)]({'name':a123B(0x141),'aliases':aliases,'validOpts':[a123B(0x18e),'layout',a123B(0x187),a123B(0x16c),'config',a123B(0x14e),'withHook',a123B(0x177),a123B(0x166)],'usage':'maka\x20{generate,\x20g}:{route,\x20r}\x20[path/]<name>','shortDesc':a123B(0x170),'examples':[a123B(0x15e),a123B(0x162),a123B(0x18d),'maka\x20g:route\x20pages/lists/listIndex\x20lists',a123B(0x175)]},async function(a,b){const C=a123B;try{const c=[C(0x159),C(0x13f),C(0x15f),C(0x17f)];if(b['baseDir']&&!c[C(0x186)](b[C(0x166)])){Log[C(0x148)]('Invalid\x20directory\x20option\x20\x22'+b[C(0x166)]+'\x22'),Log[C(0x148)](C(0x144)+c[C(0x163)](',\x20'));throw new UsageError();}const d=this[C(0x171)][C(0x18c)]();await this[C(0x171)][C(0x15b)](d,async()=>{const D=C,f=b[D(0x18e)]??![];let g=b[D(0x18a)][D(0x154)]('/')['pop']();if(!g){Log[D(0x148)](D(0x185));throw new UsageError();}g=pascalCase(g);let h='/'+b[D(0x18a)];a[D(0x16a)]>0x1&&(h='/'+a[D(0x13e)](function(n){return n!=='/';})[D(0x163)]('/')[D(0x149)]());h=h[D(0x14c)](/\/\//g,'/');b[D(0x140)]&&(b[D(0x140)]=camelCase(b[D(0x140)]));const i=b[D(0x166)]?D(0x164)+b[D(0x166)]:D(0x142),j=a123e['join'](i,b[D(0x189)],g,paramCase(g)),k={'name':g,'fileCase':paramCase(g),'camelCaseName':camelCase(g),'url':h,'layout':b[D(0x140)]||'MasterLayout','templatePath':j,'templateName':pascalCase(g),'client':d['engines'][D(0x14b)],'newForm':![],'withTranslations':d['features'][D(0x13a)]};f&&(k[D(0x140)]=D(0x155));let l,m;if(d[D(0x15a)][D(0x14b)]==='react'){if(d[D(0x15a)][D(0x143)]==='true'){const r=this[D(0x171)][D(0x181)]({'pathParts':[D(0x18b),D(0x151),D(0x176),D(0x191)]});l=this[D(0x171)][D(0x146)]({'pathParts':[r],'config':d});}else{const s=this[D(0x171)][D(0x181)]({'pathParts':[D(0x18b),D(0x151),D(0x14b),D(0x191)]});l=this[D(0x171)][D(0x146)]({'pathParts':[s],'config':d});}const n=await this[D(0x171)][D(0x178)](l,g);if(n){Log['warn'](D(0x14a)+g+D(0x157));return;}else{const t=this[D(0x171)][D(0x179)](l);Log[D(0x147)](D(0x16e)+g+D(0x16b)+l[D(0x14c)](t,''));}const o=this['fsi'][D(0x15c)](l)[D(0x15d)]((u,v)=>{const E=D;return u[E(0x186)]('import\x20*\x20as\x20Component\x20from\x20\x27./templates\x27;')?v+0x1:null;})[D(0x13e)](u=>u!==null);let p=this[D(0x171)][D(0x15c)](l)[D(0x15d)]((u,v)=>{const F=D;return u[F(0x186)](F(0x150))?v+0x1:null;})[D(0x13e)](u=>u!==null),q=this[D(0x171)][D(0x15c)](l)[D(0x15d)]((u,v)=>{const G=D;return u['includes'](G(0x168))?v+0x1:null;})[D(0x13e)](u=>u!==null);p['length']>0x0&&q[D(0x16a)]>0x0&&(k[D(0x17b)]=!![]);m=this[D(0x171)][D(0x160)]({'srcPath':D(0x190),'framework':D(0x17c),'context':k,'config':d});if(p[D(0x16a)]>0x0||q[D(0x16a)]>0x0){this[D(0x171)][D(0x158)]({'filePath':l,'content':m,'lineNumber':o[0x0]});if(f&&q[D(0x16a)]>0x0)q=this[D(0x171)][D(0x15c)](l)[D(0x15d)]((u,v)=>{const H=D;return u[H(0x186)](H(0x168))?v+0x1:null;})[D(0x13e)](u=>u!==null),this['fsi'][D(0x158)]({'filePath':l,'content':'\x09{'+k[D(0x184)]+'}','lineNumber':q[0x0]});else p[D(0x16a)]>0x0?(p=this[D(0x171)][D(0x15c)](l)[D(0x15d)]((u,v)=>{const I=D;return u[I(0x186)](I(0x150))?v+0x1:null;})[D(0x13e)](u=>u!==null),this[D(0x171)][D(0x158)]({'filePath':l,'content':'\x09{'+k[D(0x184)]+'}','lineNumber':p[0x0]})):Log[D(0x172)](D(0x156)+l);}else{const u=this[D(0x171)]['readFileLines'](l)[D(0x15d)](x=>{const J=D;return x[J(0x186)]('\x22*\x22');}),v=u[D(0x169)](!![])>-0x1,w=v?D(0x16f):D(0x13b);await this[D(0x171)][D(0x14d)]({'filePath':l,'content':D(0x17a)+m+D(0x17a),'begin':D(0x165),'end':w});}}else{if(d[D(0x15a)]['client']===D(0x16d)){const x=this['fsi'][D(0x181)]({'pathParts':['imports',D(0x151),D(0x14b),D(0x191)]});l=this[D(0x171)][D(0x146)]({'pathParts':[x],'config':d}),m=this[D(0x171)]['templateContent']({'srcPath':'route/route.js','context':k}),await this[D(0x171)][D(0x152)]({'filePath':l,'content':'\x0a'+m});}}});}catch(f){Log[C(0x148)](f);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a124l=a124d;(function(a,b){const j=a124d,c=a();while(!![]){try{const d=parseInt(j(0x201))/0x1+-parseInt(j(0x207))/0x2*(-parseInt(j(0x204))/0x3)+-parseInt(j(0x206))/0x4*(-parseInt(j(0x1f9))/0x5)+parseInt(j(0x20d))/0x6+parseInt(j(0x1fb))/0x7+-parseInt(j(0x1f7))/0x8+parseInt(j(0x1ff))/0x9*(-parseInt(j(0x1f5))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x44d7a));const a124b=(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;};}()),a124a=a124b(this,function(){const k=a124d;return a124a[k(0x210)]()[k(0x1fc)](k(0x202))[k(0x210)]()['constructor'](a124a)['search']('(((.+)+)+)+$');});function a124c(){const o=['fsi','2031ZcoAmz','imports','4JZbAWb','182eDDmOa','installNpmPackage','logger','withValue','winston','service/logger/logger.js','2963430GKQDEB','service','startup','toString','error','type','Installing\x20winston','engines','getMakaProjectConfig','maka\x20g:svc\x20service-logger\x20--type=logger','8706260UVQjqV','pathFromApp','1400280oTjVbV','services','2065970ASemyL','resourceName','1176833uGvnIZ','search','template','lib','9BHaLUZ','maka\x20{generate,\x20g}:{service}\x20<resource-name>','190814XAYVEy','(((.+)+)+)+$'];a124c=function(){return o;};return a124c();}a124a();function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x1f0;let f=c[d];return f;},a124d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator['create']({'name':a124l(0x20e),'aliases':['svc'],'usage':a124l(0x200),'shortDesc':'Generate\x20a\x20service\x20to\x20run\x20within\x20your\x20meteor\x20application.','requiredOpts':[{'name':a124l(0x1f0),'values':[a124l(0x209)]}],'validOpts':[],'maxArgLength':0x1,'examples':[a124l(0x1f4)]},async function(a,b){const m=a124l;try{const c=this[m(0x203)][m(0x1f3)]();await this[m(0x203)][m(0x20a)](c,async()=>{const n=m,d=this[n(0x203)][n(0x1f6)]({}),f=paramCase(b[n(0x1fa)]),g={'name':pascalCase(b[n(0x1fa)]),'fileName':f,'camelCase':camelCase(b['resourceName']),'type':b['type'],'engine':c['engines']['js'],'noRename':!![]};let h='js';c[n(0x1f2)]['js']==='tsx'&&(h='ts');if(b['type']===n(0x209)){!this[n(0x203)]['checkNpmPackage'](n(0x20b))&&await this[n(0x203)][n(0x208)]('winston\x20setimmediate',{'cwd':d,'msg':n(0x1f1)});const i=this['fsi'][n(0x1f6)]({'pathParts':[n(0x205),n(0x20f),n(0x1fe),n(0x1f8),f+'.'+h]});await this[n(0x203)][n(0x1fd)]({'srcPath':n(0x20c),'destPath':i,'context':g,'config':c});}});}catch(d){Log[m(0x211)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a125d(a,b){var c=a125c();return a125d=function(d,e){d=d-
|
|
1
|
+
function a125d(a,b){var c=a125c();return a125d=function(d,e){d=d-0x8f;var f=c[d];return f;},a125d(a,b);}(function(a,b){var f=a125d,c=a();while(!![]){try{var d=parseInt(f(0x95))/0x1*(parseInt(f(0x93))/0x2)+parseInt(f(0x8f))/0x3*(parseInt(f(0x92))/0x4)+parseInt(f(0x9d))/0x5*(-parseInt(f(0x98))/0x6)+parseInt(f(0x99))/0x7*(-parseInt(f(0x9e))/0x8)+-parseInt(f(0x90))/0x9*(-parseInt(f(0x97))/0xa)+-parseInt(f(0x96))/0xb+-parseInt(f(0x9b))/0xc*(parseInt(f(0x91))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0xe7d92));var a125b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a125d;if(c){var e=c[g(0x9c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){var h=a125d;return a125a[h(0x9a)]()['search'](h(0x94))['toString']()['constructor'](a125a)['search'](h(0x94));});a125a();import'./translation.js';import'./openssl.js';function a125c(){var i=['10riZDkF','(((.+)+)+)+$','225067ieZOXi','1293721clavxU','152590mDjZNu','1193958qnisAY','9332379vUqHOP','toString','1402956BtKXhI','apply','5HTcGjk','8byYFVw','1398xRkBhc','423AweGcC','39pljSNF','9508DgDAHw'];a125c=function(){return i;};return a125c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a126l=a126d;(function(a,b){const i=a126d,c=a();while(!![]){try{const d=parseInt(i(0x11c))/0x1*(parseInt(i(0x121))/0x2)+parseInt(i(0x131))/0x3*(-parseInt(i(0x135))/0x4)+parseInt(i(0x129))/0x5+-parseInt(i(0x123))/0x6+parseInt(i(0x11f))/0x7+-parseInt(i(0x12b))/0x8+-parseInt(i(0x136))/0x9*(parseInt(i(0x138))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x64574));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a126d;if(c){const e=c[j(0x137)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const k=a126d;return a126a[k(0x11b)]()[k(0x127)](k(0x12a))[k(0x11b)]()[k(0x124)](a126a)['search'](k(0x12a));});function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x11b;let f=c[d];return f;},a126d(a,b);}a126a();import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';import a126e from'path';Generator['create']({'name':a126l(0x128),'usage':a126l(0x11e),'shortDesc':a126l(0x122),'noNeedResource':!![],'requiredOpts':[a126l(0x12e)],'examples':[a126l(0x12d)],'validOpts':[]},async function(a,b){const m=a126l;try{const c=await this[m(0x134)][m(0x132)](),d=await this['fsi'][m(0x126)](),f=this[m(0x134)]['getAppConfigPath'](b[m(0x12e)]),g=a126e[m(0x12f)](f,m(0x12c),m(0x125));await this[m(0x134)]['withValue'](c,async()=>{const n=m,h={'app':d[n(0x11d)],'noRename':!![]};await this['fsi'][n(0x130)]({'srcPath':'openssl/openssl.conf','destPath':g,'framework':n(0x120),'context':h,'config':c});});}catch(h){Log[m(0x133)](h);}});function a126c(){const o=['service','20AiNmaA','Generate\x20a\x20new\x20openssl\x20config\x20file','500280rpYFFC','constructor','openssl.conf','getGlobalConfig','search','sslconfig','3524205XkphZj','(((.+)+)+)+$','4850560NVtuSD','_keys','maka\x20g:sslconfig\x20--env\x20dev','env','join','template','24zDVQbK','getMakaProjectConfig','error','fsi','305588ZVUrEc','1809vZzGBx','apply','20620ieTfEI','toString','69053lOOqBv','appName','maka\x20{generate,\x20g}:sslconfig','5116741NiUttN'];a126c=function(){return o;};return a126c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a127A=a127d;function a127c(){const D=['engines','isFile','1755542lqExwe','Locale\x20already\x20defined:\x20','pathFromApp','index.js','locales','1884964noDnNR','3489025tDazSG','import\x20\x27../lib/services/translations/i18n\x27;\x0a','fsi','rewriteDestinationPathForEngine','ssr','setProjectConfig','import\x20\x27../lib/services/translations/i18n\x27;','root','exit','server','757127CmPfoK','export\x20{\x20default\x20as\x20','maka\x20{generate,\x20g}:translation','i18n/index.js','withValue','9SCqrVz','44258751TWXuET','lib','6vmBsRR','error','.js','injectAtEndOfFile','readFileSync','checkNpmPackage','getGlobalConfig','maka\x20g:translation\x20--lang=de','i18next\x20i18next-browser-languagedetector\x20react-i18next','122692nSSVfr','appName','getMakaProjectConfig','client','imports','constructor','true','startup','injectAtBeginningOfFile','10722072guupsl','service','maka\x20g:translation\x20--lang=fr','Generate\x20a\x20new\x20locale\x20translation','warn','toString','translations','search','features.withTranslations','apply','findAppDirectory','create','grep','maka\x20g:translation\x20--lang=en\x20(default)','default\x20as\x20','template','lang','services','\x20}\x20from\x20\x27./','Locale\x20already\x20exported:\x20'];a127c=function(){return D;};return a127c();}function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0xbe;let f=c[d];return f;},a127d(a,b);}(function(a,b){const x=a127d,c=a();while(!![]){try{const d=-parseInt(x(0xc2))/0x1+-parseInt(x(0xe3))/0x2+-parseInt(x(0xd7))/0x3*(parseInt(x(0xc7))/0x4)+-parseInt(x(0xc8))/0x5*(-parseInt(x(0xda))/0x6)+-parseInt(x(0xd2))/0x7+-parseInt(x(0xec))/0x8+parseInt(x(0xd8))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0xe49dd));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a127d;if(c){const e=c[y(0xf5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const z=a127d;return a127a[z(0xf1)]()['search']('(((.+)+)+)+$')[z(0xf1)]()[z(0xe8)](a127a)[z(0xf3)]('(((.+)+)+)+$');});a127a();import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';import a127e from'fs';Generator[a127A(0xf7)]({'name':'translation','usage':a127A(0xd4),'aliases':['t'],'noNeedResource':!![],'requiredOpts':[{'name':a127A(0xfc),'boolFlag':![],'regex':/^[a-z]{2}$/}],'shortDesc':a127A(0xef),'description':'\x0a\x20\x20Generate\x20a\x20new\x20locale\x20translation\x20file.\x0a\x0a\x20\x20\x20\x20--lang\x20\x20The\x20language\x20code\x20for\x20the\x20new\x20locale\x20file.\x20(i.e.\x20en,\x20fr,\x20de)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20and\x20must\x20be\x20the\x20two\x20character\x20language\x20code.\x0a\x20\x20','examples':[a127A(0xf9),a127A(0xee),a127A(0xe1)],'validOpts':[]},async function(a,b){const B=a127A;try{const c=this['fsi'][B(0xe5)](),d=this[B(0xca)][B(0xe0)](),f=this[B(0xca)][B(0xf6)]();await this[B(0xca)][B(0xd6)](c,async()=>{const C=B;try{!b[C(0xfc)]&&(b['lang']='en');!b[C(0xcf)]&&!this[C(0xca)][C(0xdf)]('i18next')&&(Log[C(0xf0)]('Verifying\x20npm\x20package\x20requirements:\x20i18next\x20...'),this[C(0xca)]['installNpmPackage'](C(0xe2),{'cwd':f}),this[C(0xca)][C(0xcd)](C(0xf4),!![]));const g=this[C(0xca)][C(0xc4)]({'pathParts':[C(0xe7),C(0xea),C(0xe6),C(0xc5)]}),h=this['fsi'][C(0xcb)]({'pathParts':[g],'config':c}),i=this['fsi'][C(0xf8)](a127e[C(0xde)](h)['toString'](),C(0xce))[0x0]&&!![];if(c[C(0xc0)][C(0xcc)]===C(0xe9)){!i&&this['fsi'][C(0xeb)]({'filePath':h,'content':C(0xc9)});const t=this[C(0xca)][C(0xc4)]({'pathParts':[C(0xe7),C(0xea),C(0xd1),'index.js']}),u=this[C(0xca)][C(0xcb)]({'pathParts':[t],'config':c}),v=this['fsi']['grep'](a127e[C(0xde)](u)['toString'](),'import\x20\x27../lib/services/translations/i18n\x27;')[0x0]&&!![];!v&&this[C(0xca)][C(0xeb)]({'filePath':u,'content':'import\x20\x27../lib/services/translations/i18n\x27;\x0a'});}else!i&&this[C(0xca)]['injectAtBeginningOfFile']({'filePath':h,'content':C(0xc9)});const j={'app':d[C(0xe4)],'config':c},k=this[C(0xca)][C(0xc4)]({'pathParts':['imports','startup',C(0xd9),C(0xfd),C(0xf2),'i18n.js']}),l=this['fsi'][C(0xc1)](this[C(0xca)][C(0xcb)]({'pathParts':[k],'config':c}));!l&&await this[C(0xca)]['template']({'srcPath':'i18n/i18n.js','destPath':k,'framework':C(0xed),'context':j,'config':c});const m=this[C(0xca)][C(0xc4)]({'pathParts':[C(0xe7),C(0xea),C(0xd9),C(0xfd),C(0xf2),C(0xc6),b['lang']+C(0xdc)]}),n=this[C(0xca)]['rewriteDestinationPathForEngine']({'pathParts':[m],'config':c}),o=this[C(0xca)]['isFile'](n);!o?await this['fsi'][C(0xfb)]({'srcPath':'i18n/locales.js','destPath':m,'framework':C(0xed),'context':j,'config':c}):Log['warn'](C(0xc3)+n);const p=this['fsi'][C(0xc4)]({'pathParts':[C(0xe7),'startup',C(0xd9),C(0xfd),C(0xf2),C(0xc6),'index.'+c[C(0xc0)]['js']]}),q=this[C(0xca)][C(0xcb)]({'pathParts':[p],'config':c}),r=this[C(0xca)][C(0xc1)](q);!r&&await this[C(0xca)]['template']({'srcPath':C(0xd5),'destPath':p,'framework':C(0xed),'context':j,'config':c});const s=this[C(0xca)][C(0xf8)](a127e['readFileSync'](p)[C(0xf1)](),C(0xfa)+b[C(0xfc)])[0x0]&&!![];!s?await this[C(0xca)][C(0xdd)]({'filePath':p,'content':C(0xd3)+b[C(0xfc)]+C(0xbe)+b[C(0xfc)]+'\x27;'}):Log['warn'](C(0xbf)+p);}catch(w){Log[C(0xdb)](w),process[C(0xd0)](0x1);}});}catch(g){Log[B(0xdb)](g),process['exit'](0x1);}});
|
package/bundle/obf/src/maka.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a128m=a128d;(function(a,b){const j=a128d,c=a();while(!![]){try{const d=-parseInt(j(
|
|
1
|
+
const a128m=a128d;(function(a,b){const j=a128d,c=a();while(!![]){try{const d=-parseInt(j(0x88))/0x1+parseInt(j(0x89))/0x2+parseInt(j(0x94))/0x3+parseInt(j(0x8c))/0x4*(-parseInt(j(0x9b))/0x5)+parseInt(j(0x99))/0x6*(parseInt(j(0x8f))/0x7)+-parseInt(j(0x9a))/0x8+-parseInt(j(0x96))/0x9*(parseInt(j(0x9c))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x595b7));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a128d;if(c){const e=c[k(0x92)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const l=a128d;return a128a[l(0x90)]()[l(0x8a)]('(((.+)+)+)+$')[l(0x90)]()[l(0x91)](a128a)[l(0x8a)](l(0x98));});a128a();import a128e from'minimist';import a128f from'os';import a128g from'path';import a128h from'humps';import a128i from'./commands/maka.cmd.js';import'./commands/_index.js';import'./generators/_index.js';import{fileURLToPath}from'url';const __filename=fileURLToPath(import.meta['url']),__dirname=a128g[a128m(0x9d)](__filename);global['MAKA_COMMAND_PATH']=__dirname;function a128c(){const n=['constructor','apply','parse','2184852vgEPNM','NODE_NO_WARNINGS','27yjrpwL','env','(((.+)+)+)+$','2240274pBslsq','3376848HXtydT','1555grFole','608070EROkOp','dirname','argv','TOOL_NODE_FLAGS','226297ICahzM','1354098zhttYt','search','totalmem','7484iFYJNt','floor','camelizeKeys','7tLMvwb','toString'];a128c=function(){return n;};return a128c();}const total_memory=a128f[a128m(0x8b)](),total_mem_in_kb=total_memory/0x400;let total_mem_in_mb=total_mem_in_kb/0x400;total_mem_in_mb=Math[a128m(0x8d)](total_mem_in_mb),process['env'][a128m(0x9f)]='--max-old-space-size='+total_mem_in_mb,process[a128m(0x97)]['BROWSERSLIST_IGNORE_OLD_DATA']='1',process[a128m(0x97)][a128m(0x95)]='1';const argv=a128e(process[a128m(0x9e)]['slice'](0x2)),args=argv['_'],deepCopyArgv=JSON[a128m(0x93)](JSON['stringify'](argv));function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x88;let f=c[d];return f;},a128d(a,b);}delete deepCopyArgv['_'];const opts=a128h[a128m(0x8e)](deepCopyArgv);a128i['run'](args,opts);
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { Meteor } from 'meteor/meteor';
|
|
2
2
|
import MakaRest, { Codes } from 'meteor/maka:rest';
|
|
3
3
|
|
|
4
|
-
const <%= name %>
|
|
5
|
-
version: 'v1',
|
|
4
|
+
const <%= name %>Api = new MakaRest({
|
|
6
5
|
apiPath: '<%= fileName %>',
|
|
6
|
+
version: '<%= apiVersion %>',
|
|
7
7
|
prettyJson: Meteor.isDevelopment
|
|
8
8
|
});
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
<%= name %>
|
|
10
|
+
// maps to /api/<%= apiVersion %>/<%= fileName %>/status
|
|
11
|
+
<%= name %>Api.addRoute('status', {
|
|
12
12
|
get() {
|
|
13
13
|
return Codes.success200({ message: 'OK' });
|
|
14
14
|
}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { Meteor } from 'meteor/meteor';
|
|
2
2
|
import MakaRest, { Codes } from 'meteor/maka:rest';
|
|
3
3
|
|
|
4
|
-
const <%= name %>
|
|
5
|
-
version: 'v1',
|
|
4
|
+
const <%= name %>Api = new MakaRest({
|
|
6
5
|
apiPath: '<%= fileName %>',
|
|
6
|
+
version: '<%= apiVersion %>',
|
|
7
7
|
prettyJson: Meteor.isDevelopment
|
|
8
8
|
});
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
// maps to /api/<%= apiVersion %>/<%= fileName %>/status
|
|
11
|
+
<%= name %>Api.addRoute('status', {
|
|
11
12
|
get() {
|
|
12
13
|
return Codes.success200({ message: 'OK' });
|
|
13
14
|
}
|