@maka/maka-cli 4.8.16 → 4.9.0
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 +2 -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 -0
- 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 +8 -4
- package/bundle/obf/src/templates/meteor/api/api.js.ts +8 -4
- package/bundle/obf/src/templates/meteor/project/package.json +1 -1
- package/bundle/obf/src/tool.js +1 -1
- package/bundle/obf/src/tools/actions/actions.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
- package/bundle/obf/src/tools/docker/docker.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
- package/bundle/obf/src/tools/https/https.class.js +1 -1
- package/bundle/obf/src/tools/https/https.interface.js +1 -1
- package/bundle/obf/src/tools/log/log.class.js +1 -1
- package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
- package/bundle/obf/src/tools/options/options.class.js +1 -1
- package/bundle/obf/src/tools/progress/progress.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
- package/package.json +2 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a115A=a115d;(function(a,b){const x=a115d,c=a();while(!![]){try{const d=-parseInt(x(0x205))/0x1*(-parseInt(x(0x20d))/0x2)+-parseInt(x(0x21f))/0x3*(parseInt(x(0x20b))/0x4)+parseInt(x(0x201))/0x5+-parseInt(x(0x1ec))/0x6+parseInt(x(0x1fe))/0x7*(parseInt(x(0x208))/0x8)+-parseInt(x(0x1e8))/0x9+parseInt(x(0x204))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0xdd6e3));function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-0x1e6;let f=c[d];return f;},a115d(a,b);}const a115b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a115d;if(c){const e=c[y(0x21c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a115a=a115b(this,function(){const z=a115d;return a115a[z(0x1f1)]()[z(0x21a)]('(((.+)+)+)+$')[z(0x1f1)]()[z(0x1f2)](a115a)[z(0x21a)](z(0x206));});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';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';function a115c(){const E=['create','injectIntoFile','REACT','{\x20this.props.children\x20}','toString','constructor','dir','length','MATERIAL','layouts','appName','engines','join','baseDir','pathFromApp','\x20/>\x0a','ssr','63NDwMUT','/imports/startup/lib/templates','getMakaProjectConfig','4710870WSqoEN','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','No\x20layouts\x20selected','16717160FiHKlw','4782yRWKNu','(((.+)+)+)+$','<div\x20id=\x22','1034248JdXSeZ','true','fsi','2224GzXsCq','Cleaning\x20up...','308bLScQk','template','react','/imports/ui/hooks','withValue','getDirectories','injectTemplateModule','maka\x20generate:kit:mui:frame','app-tests','session','jsx','checkMeteorPackage','{\x20props.children\x20}','search','{props.children}','apply','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','log','8631xEFgjU','maka\x20g:k:m:f','{this.props.children}','injectImport','error','tsx','-hook\x22>','/imports/startup/client/templates','5594373Lqcujj','basic-app-bar','.js','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','8313954WFppDd'];a115c=function(){return E;};return a115c();}Generator[a115A(0x1ed)]({'name':'frame','aliases':['f'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','shortDesc':a115A(0x21d),'validOpts':[a115A(0x1f6)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a115A(0x1f5)],'client':ClientEngines[a115A(0x1ef)]},'examples':[a115A(0x214),a115A(0x220)],'description':a115A(0x202)},async function(a,b){const B=a115A;try{const c=B(0x1e9),d='basic-drawer',f=this[B(0x20a)][B(0x200)](),g=f[B(0x1f8)][B(0x1fd)]===B(0x209);await this['fsi'][B(0x218)](B(0x216),{'shouldInstall':!![]});const h=this[B(0x20a)]['findAppDirectory'](),i=a115e[B(0x1f9)](h,'imports','ui',B(0x1f6)),j=this['fsi'][B(0x212)](i),k=await Actions['options']({'type':'checkbox','name':'layouts','message':B(0x1eb),'choices':j});if(k[B(0x1f6)][B(0x1f4)]===0x0){Log['error'](B(0x203));return;}const l=b['baseDir']?'/imports/ui/'+b[B(0x1fa)]:B(0x210),m=this[B(0x20a)][B(0x1fb)]({'pathParts':[l,b[B(0x1f3)],paramCase(c),paramCase(c)]}),n=this[B(0x20a)][B(0x1fb)]({'pathParts':[l,b['dir'],paramCase(d),paramCase(d)]}),o={'name':headerCase(f[B(0x1f7)])['replaceAll']('-','\x20')};await this[B(0x20a)][B(0x211)](f,async()=>{const C=B;await this[C(0x20a)][C(0x20e)]({'srcPath':'kit/mui/frame/app-bars/'+c+C(0x1ea),'destPath':m+C(0x1ea),'framework':C(0x20f),'context':o,'config':f,'force':![],'ignore':![]}),await this[C(0x20a)][C(0x20e)]({'srcPath':'kit/mui/frame/drawers/'+d+C(0x1ea),'destPath':n+C(0x1ea),'framework':C(0x20f),'context':o,'config':f,'force':![],'ignore':![]});});const p=''+l+b[B(0x1f3)]+'/'+c+'/'+c;await this['fsi']['injectTemplateModule'](c,f,p);const q=''+l+b[B(0x1f3)]+'/'+d+'/'+d;await this[B(0x20a)][B(0x213)](d,f,q);const {layouts:r}=k;for(const s of r){const t=this[B(0x20a)]['getFiles'](a115e[B(0x1f9)](i,s),{'extensions':[B(0x217),B(0x224)],'omit':[B(0x215),'tests','test']});for(const u of t){const v=a115e[B(0x1f9)](i,s,u);await this[B(0x20a)][B(0x222)]({'filePath':v,'importName':pascalCase(c),'modulePath':g?B(0x1ff):B(0x1e7),'isNamedExport':!![]}),await this[B(0x20a)]['injectIntoFile']({'filePath':v,'content':'<'+pascalCase(c)+B(0x1fc),'begin':[B(0x207)+s+'\x22>',B(0x207)+s+'-hook\x22>'],'end':['{this.props.children}',B(0x1f0),B(0x21b),B(0x219)]}),await this[B(0x20a)][B(0x222)]({'filePath':v,'importName':pascalCase(d),'modulePath':g?B(0x1ff):B(0x1e7),'isNamedExport':!![]}),await this[B(0x20a)][B(0x1ee)]({'filePath':v,'content':'<'+pascalCase(d)+B(0x1fc),'begin':[B(0x207)+s+'\x22>',B(0x207)+s+B(0x1e6)],'end':[B(0x221),'{\x20this.props.children\x20}','{props.children}',B(0x219)]});}}return!![];}catch(w){Log[B(0x223)](w);}},async function(){const D=a115A;console[D(0x21e)](D(0x20c));},a115f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a116i=a116d;function a116c(){const k=['56QElMVT','846706VLKQXV','maka\x20g:kit:m','107510XXkUuL','34mcoFfR','(((.+)+)+)+$','search','3857022WZWmeW','apply','create','549JboHUT','NIE','67533wePZZz','28BKowvv','336365vScUGg','11915904VNVzQw','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','773895GnfGUO','toString'];a116c=function(){return k;};return a116c();}(function(a,b){const f=a116d,c=a();while(!![]){try{const d=parseInt(f(0xf0))/0x1+parseInt(f(0xf6))/0x2*(parseInt(f(0xeb))/0x3)+parseInt(f(0xec))/0x4*(-parseInt(f(0xed))/0x5)+parseInt(f(0xf9))/0x6+-parseInt(f(0xf3))/0x7*(-parseInt(f(0xf2))/0x8)+-parseInt(f(0xe9))/0x9*(parseInt(f(0xf5))/0xa)+-parseInt(f(0xee))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x6a7ab));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a116d;if(c){const e=c[g(0xfa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const h=a116d;return a116a[h(0xf1)]()[h(0xf8)](h(0xf7))[h(0xf1)]()['constructor'](a116a)[h(0xf8)](h(0xf7));});a116a();import{Generator}from'../../../generator.js';import a116e from'../kit.js';const MuiGen=Generator[a116i(0xe8)]({'name':'mui','aliases':['m'],'usage':a116i(0xef),'noNeedResource':!![],'shortDesc':'Material-UI\x20Kit','validOpts':[''],'isPro':![],'examples':[a116i(0xf4)]},async function(){const j=a116i;throw j(0xea);},async function(){},a116e);function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0xe8;let f=c[d];return f;},a116d(a,b);}export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a117n=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d=parseInt(l(0x1c7))/0x1+parseInt(l(0x194))/0x2+parseInt(l(0x1aa))/0x3+-parseInt(l(0x1bc))/0x4*(-parseInt(l(0x1c4))/0x5)+parseInt(l(0x19b))/0x6+parseInt(l(0x1bd))/0x7+parseInt(l(0x1bb))/0x8*(-parseInt(l(0x1b0))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x30895));const a117b=(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;};}()),a117a=a117b(this,function(){const m=a117d;return a117a[m(0x1b8)]()[m(0x1a8)]('(((.+)+)+)+$')['toString']()[m(0x1cb)](a117a)['search'](m(0x1b6));});a117a();import a117e from'path';function a117c(){const q=['checkNpmPackage','hook/hook.js','className','9dNefsQ','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','test','getMakaProjectConfig','fsi','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','(((.+)+)+)+$','setTemplate','toString','theme','/imports/ui/layouts','7297496sJaljv','4seObdv','782796xbkAfT','import\x20\x27./','true','graphql','.css','Scaffolding\x20for\x20a\x20React\x20Layout.','resourceName','1710185AmdTPk','css','maka\x20g:l\x20web/safari','156225nijMjH','.js','ramda','warn','constructor','pathFromApp','257220siGwHN','relative','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','create','react','pathFromProject','withValue','1109748JDPgwz','assign','features','split','layout','findAppDirectory','test/test.js','dir','string','injectAtBeginningOfFile','engines','includes','template','search','maka\x20g:layout\x20mobile/iPhone8','562002BTtuPw','component/component.js','fileName'];a117c=function(){return q;};return a117c();}function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x193;let f=c[d];return f;},a117d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator[a117n(0x197)]({'name':a117n(0x19f),'aliases':aliases,'usage':a117n(0x1b5),'shortDesc':a117n(0x1c2),'validOpts':[],'examples':[a117n(0x1a9),a117n(0x1c6)]},async function(a,b){const o=a117n,c=o(0x1ba),d=this[o(0x1b4)][o(0x1a0)](),e=this[o(0x1b4)][o(0x193)]({'pathParts':[c,b[o(0x1a2)],paramCase(b[o(0x1c3)]),paramCase(b[o(0x1c3)])]}),f=this[o(0x1b4)][o(0x1b3)]();await this[o(0x1b4)][o(0x19a)](f,async()=>{const p=o;typeof f[p(0x1a7)][p(0x1b2)]===p(0x1a3)&&(f[p(0x1a7)][p(0x1b2)]=f['template'][p(0x1b2)]===p(0x1bf)?!![]:![],this['fsi'][p(0x1b7)](p(0x1b2),f[p(0x1a7)][p(0x1b2)]));typeof f['template'][p(0x1c5)]===p(0x1a3)&&(f['template'][p(0x1c5)]=f['template'][p(0x1c5)]===p(0x1bf)?!![]:![],this[p(0x1b4)]['setTemplate']('css',f[p(0x1a7)][p(0x1c5)]));typeof f['template']['js']===p(0x1a3)&&(f['template']['js']=f['template']['js']==='true'?!![]:![],this[p(0x1b4)][p(0x1b7)]('js',f['template']['js']));!f[p(0x19d)]&&(f[p(0x19d)]={});const g=b['_']?b['_'][0x0][p(0x19e)](':')[0x1]:![],h=b['_']&&aliases[p(0x1a6)](g);h&&!this['checkNpmPackage'](p(0x1c9))&&(Log[p(0x1ca)](p(0x1b1)),this[p(0x1b4)]['installNpmPackage'](p(0x1c9),{'cwd':d}));if(h&&!this[p(0x1ad)](p(0x198))){Log['warn'](p(0x196));return;}const i={'name':pascalCase(b[p(0x1c3)]),'myPath':a117e[p(0x195)](this[p(0x1b4)][p(0x199)]({}),e),'cssCaseName':paramCase(b[p(0x1c3)]),'className':pascalCase(b[p(0x1c3)]),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b[p(0x1c3)]),'graphql':f[p(0x1a5)][p(0x1c0)],'features':f[p(0x19d)],'client':f[p(0x1a5)]['client'],'api':f[p(0x1a5)]['api'],'ssr':f[p(0x1a5)]['ssr'],'test':f[p(0x1a5)][p(0x1b2)],'theme':f[p(0x1a5)][p(0x1b9)],'isComponent':![],'isLayout':!![],'withTranslations':f[p(0x19d)]['withTranslations']};f[p(0x19d)]?.['withHooks']||b['withHook']?await this[p(0x1b4)]['template']({'srcPath':p(0x1ae),'destPath':e+p(0x1c8),'framework':p(0x198),'context':i,'config':f}):await this[p(0x1b4)][p(0x1a7)]({'srcPath':p(0x1ab),'destPath':e+'.js','framework':'react','context':i,'config':f});f[p(0x1a5)][p(0x1b2)]!=='none'&&await this[p(0x1b4)][p(0x1a7)]({'srcPath':p(0x1a1),'destPath':e+'.app-tests.js','framework':p(0x198),'context':i,'config':f});f[p(0x1a7)][p(0x1c5)]&&(await this[p(0x1b4)][p(0x1a7)]({'srcPath':'template/template.css','destPath':e+p(0x1c1),'context':Object[p(0x19c)]({},i,{'className':paramCase(b[p(0x1c3)])}),'config':f}),await this[p(0x1b4)][p(0x1a4)]({'filePath':e+'.'+f[p(0x1a5)]['js'],'content':p(0x1be)+i['fileName']+'.'+f[p(0x1a5)][p(0x1c5)]+'\x27;'}));const j=b['dir']?'/'+b[p(0x1a2)]+'/':'/',k=''+c+j+i[p(0x1ac)]+'/'+i['fileName'];await this[p(0x1b4)]['injectTemplateModule'](i[p(0x1af)],f,k);});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a118h=a118d;(function(a,b){const f=a118d,c=a();while(!![]){try{const d=-parseInt(f(0x105))/0x1+parseInt(f(0x106))/0x2+-parseInt(f(0x114))/0x3+parseInt(f(0x111))/0x4+parseInt(f(0x112))/0x5*(-parseInt(f(0x10c))/0x6)+parseInt(f(0x113))/0x7*(parseInt(f(0x109))/0x8)+-parseInt(f(0x103))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0xb43f3));const a118b=(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;};}()),a118a=a118b(this,function(){const g=a118d;return a118a[g(0x10e)]()['search'](g(0x107))[g(0x10e)]()[g(0x108)](a118a)[g(0x104)]('(((.+)+)+)+$');});a118a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':'generate','aliases':['g'],'usage':a118h(0x115),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a118h(0x10d),'examples':[a118h(0x110),a118h(0x10b),'maka\x20g:template\x20todos/todo_item',a118h(0x10a),a118h(0x10f),'maka\x20g:api\x20trucks','maka\x20g:dbc\x20geoserver\x20--type=pgsql']},function(){});function a118d(a,b){const c=a118c();return a118d=function(d,e){d=d-0x103;let f=c[d];return f;},a118d(a,b);}export default MakaGen;function a118c(){const i=['maka\x20g:package\x20package:name','maka\x20g:scaffold\x20todos','6VITdGE','Scaffold\x20various\x20parts\x20of\x20your\x20application','toString','maka\x20g:route\x20todos/edit','maka\x20generate:scaffold\x20todos','3089180qegZee','1298320JjchFb','14mLmnfg','258375eAfwoP','maka\x20{generate,\x20g}:<generator>\x20<name>','8028639mxUVLy','search','1008839vzJfAy','2554306dVIXfS','(((.+)+)+)+$','constructor','3742168XMTyfQ'];a118c=function(){return i;};return a118c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a119m=a119d;(function(a,b){const j=a119d,c=a();while(!![]){try{const d=-parseInt(j(0xdb))/0x1+-parseInt(j(0xce))/0x2*(-parseInt(j(0xe0))/0x3)+parseInt(j(0xcf))/0x4*(parseInt(j(0xd0))/0x5)+-parseInt(j(0xed))/0x6+parseInt(j(0xf3))/0x7+-parseInt(j(0xeb))/0x8+parseInt(j(0xf2))/0x9*(parseInt(j(0xe9))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xa8714));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a119d;if(c){const e=c[k(0xd5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const l=a119d;return a119a[l(0xe5)]()[l(0xe4)]('(((.+)+)+)+$')[l(0xe5)]()[l(0xee)](a119a)[l(0xe4)](l(0xdd));});function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0xce;let f=c[d];return f;},a119d(a,b);}function a119c(){const p=['-rpc-method\x27;','4850712djuoqC','constructor','resourceName','checkMeteorPackage','import\x20\x27./methods','19064097EUieRi','346213QayzVK','2ZNVvWW','110548swqloy','10KkBnzT','appPathPrefix','startup','maka\x20{generate,\x20g}:{method,\x20m}\x20name','template','apply','method','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','injectAtEndOfFile','dir','withValue','343558AYyMEP','mdg:validated-method','(((.+)+)+)+$','fsi','maka\x20g:method\x20todos','1201005StzYGH','imports','error','engines','search','toString','getMakaProjectConfig','pathFromApp','create','10UkdPMy','index.','6250808vQCJrl'];a119c=function(){return p;};return a119c();}a119a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a119m(0xe8)]({'name':a119m(0xd6),'aliases':['m'],'usage':a119m(0xd3),'checkWhere':!![],'shortDesc':a119m(0xd7),'validOpts':[a119m(0xd9)],'examples':[a119m(0xdf)]},async function(a,b){const n=a119m;try{const c=this[n(0xde)][n(0xe6)]();await this[n(0xde)][n(0xda)](c,async()=>{const o=n,d=paramCase(b[o(0xef)]),f={'name':b['resourceName'],'fileName':d,'className':pascalCase(b['resourceName']),'camelCase':camelCase(b['resourceName']),'noRename':!![]};let g='js';c[o(0xe3)]['js']==='tsx'&&(g='ts');await this[o(0xde)][o(0xf0)](['maka:check','ddp-rate-limiter',o(0xdc)],{'shouldInstall':!![]}),await this[o(0xde)][o(0xd4)]({'srcPath':'method/method.js','destPath':this[o(0xde)][o(0xe7)]({'pathParts':['imports',o(0xd2),b[o(0xd1)],'methods',b[o(0xd9)],d+'-rpc-method.'+g]}),'context':f,'config':c});const h=b['dir']?'/'+b[o(0xd9)]+'/':'/',i=this[o(0xde)][o(0xe7)]({'pathParts':[o(0xe1),o(0xd2),b[o(0xd1)],o(0xea)+c['engines']['js']]});await this[o(0xde)][o(0xd8)]({'filePath':i,'content':o(0xf1)+h+d+o(0xec)});});}catch(d){Log[n(0xe2)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a120o=a120d;(function(a,b){const l=a120d,c=a();while(!![]){try{const d=-parseInt(l(0x1a3))/0x1*(-parseInt(l(0x1a5))/0x2)+parseInt(l(0x1ba))/0x3*(-parseInt(l(0x1b2))/0x4)+parseInt(l(0x1ad))/0x5+-parseInt(l(0x1b8))/0x6+parseInt(l(0x1be))/0x7*(-parseInt(l(0x1b0))/0x8)+-parseInt(l(0x1c2))/0x9+parseInt(l(0x19a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x711e9));function a120c(){const r=['packages','/client/','layout','pathFromProject','component','15393hVdZlr','graphql','30DwiSrx','template/template.js','apply','tests/client','package','template','fsi','resourceName','986300SQHlXB','toString','tests/server','2884088rmpSwP','noRename','63884gDtKww','pathFromApp','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','lib','engines','getMakaProjectConfig','2682414sCBMne','withValue','87VVSmFX','hasOwnProperty','constructor','relative','14imvRhh','package/','dir','search','7937883qcDxJS','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','package/package.js','maka\x20g:package\x20todos:package','theme','/package.js','server','.js','create','client','25484190BxjyPW','features','(((.+)+)+)+$','ssr'];a120c=function(){return r;};return a120c();}const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a120d;if(c){const e=c[m(0x1a7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const n=a120d;return a120a[n(0x1ae)]()[n(0x1c1)](n(0x19c))[n(0x1ae)]()[n(0x1bc)](a120a)['search'](n(0x19c));});a120a();import a120e from'path';import{Generator}from'../generator.js';function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x193;let f=c[d];return f;},a120d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';Generator[a120o(0x198)]({'name':a120o(0x1a9),'aliases':['p'],'usage':a120o(0x1c3),'shortDesc':a120o(0x1b4),'validOpts':[a120o(0x1c0)],'examples':[a120o(0x193)]},async function(a,b){const p=a120o,c=paramCase(b[p(0x1ac)]),d=this['fsi'][p(0x1b3)]({'pathParts':[p(0x19e),b[p(0x1c0)],c]}),e=this[p(0x1ab)]['pathFromAppWithNoReWrite']({'pathParts':[p(0x19e),b['dir'],c,'package.js']}),f=this[p(0x1ab)][p(0x1b7)]();await this[p(0x1ab)][p(0x1b9)](f,async()=>{const q=p,g={'name':paramCase(b['resourceName']),'myPath':a120e[q(0x1bd)](this['fsi'][q(0x1a1)]({}),d),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[q(0x1ac)]),'camelCaseName':camelCase(b['resourceName']),'fileName':c,'client':f[q(0x1b6)][q(0x199)],'graphql':f[q(0x1b6)][q(0x1a4)],'ssr':f[q(0x1b6)][q(0x19d)],'isComponent':b['hasOwnProperty'](q(0x1a2)),'isLayout':b[q(0x1bb)](q(0x1a0)),'isStore':b[q(0x1bb)]('store'),'features':f[q(0x19b)],'noRename':!![],'theme':f[q(0x1b6)][q(0x194)]};await this[q(0x1ab)][q(0x1aa)]({'srcPath':q(0x1c4),'destPath':e,'context':g,'config':f}),g[q(0x1b1)]=![];const h=d+q(0x19f)+c+q(0x197);await this[q(0x1ab)][q(0x1aa)]({'srcPath':q(0x1a6),'destPath':h,'context':g,'config':f});const i=[q(0x1b5),q(0x196),q(0x1a8),q(0x1af)];for(const j of i){const k=d+'/'+j+'/'+c+q(0x197);await this[q(0x1ab)][q(0x1aa)]({'srcPath':q(0x1bf)+j+q(0x195),'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(0xcd))/0x1*(parseInt(j(0x95))/0x2)+-parseInt(j(0x9a))/0x3+-parseInt(j(0xbe))/0x4+-parseInt(j(0x94))/0x5+-parseInt(j(0xca))/0x6+parseInt(j(0xb4))/0x7+-parseInt(j(0xcb))/0x8*(-parseInt(j(0xc9))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x2b9b2));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a121d;if(c){const e=c[k(0x97)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const l=a121d;return a121a[l(0x98)]()['search']('(((.+)+)+)+$')[l(0x98)]()[l(0xa3)](a121a)['search'](l(0xa9));});a121a();function a121c(){const p=['string','fileName','api','resourceName','html','template/template.html','root','hasOwnProperty','graphql','pathFromProject','test/test.js','import\x20\x27./','vanilla','components','Updating\x20npm\x20packages\x20...','setTemplate','1061645ZcmIUe','2RSpMJy','.app-tests.js','apply','toString','layout','44643tWPwGi','features','checkNpmPackage','engines','withHooks','/imports/ui/','hooks','installNpmPackage','ssr','constructor','theme','hook/hook.js','pathFromApp','withTranslations','template','(((.+)+)+)+$','.js','className','Generate\x20a\x20page.','client','baseDir','component/component.js','.html','dir','test','withHook','1642319kFrSoc','fsi','layouts','/imports/ui/pages','pages','injectTemplateModule','store','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','ramda','processAndRunGenerator','1014076sRrYZj','warn','assign','css','getMakaProjectConfig','none','route','react','true','injectAtBeginningOfFile','maka\x20g:page\x20todos/todos-item','4332654rFxCPU','1122474pCYWXg','8BVCYzu','.css','130395QFEeLm','create'];a121c=function(){return p;};return a121c();}import a121e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a121f from'../generators/maka.gen.js';function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x88;let f=c[d];return f;},a121d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator[a121m(0xce)]({'name':'page','aliases':aliases,'usage':a121m(0xbb),'shortDesc':a121m(0xac),'validOpts':[{'name':a121m(0xae),'values':[a121m(0xa0),a121m(0x91),a121m(0xb8),a121m(0xb6)]},{'name':'withHook','boolFlag':!![]}],'examples':[a121m(0xc8)]},async function(a,b){const n=a121m,c=b[n(0xae)]?n(0x9f)+b[n(0xae)]:n(0xb7),d=this[n(0xb5)][n(0xa6)](b),e=this[n(0xb5)][n(0xa6)]({'pathParts':[c,b['dir'],paramCase(b[n(0xd2)]),paramCase(b[n(0xd2)])]}),f=this[n(0xb5)][n(0xc2)]();let g='';return await this[n(0xb5)]['withValue'](f,async()=>{const o=n;typeof f[o(0xa8)][o(0x88)]===o(0xcf)&&(f['template'][o(0x88)]=f[o(0xa8)][o(0x88)]==='true'?!![]:![],this[o(0xb5)][o(0x93)](o(0x88),f['template'][o(0x88)]));typeof f['template'][o(0xb2)]===o(0xcf)&&(f[o(0xa8)][o(0xb2)]=f[o(0xa8)][o(0xb2)]==='true'?!![]:![],this[o(0xb5)][o(0x93)](o(0xb2),f[o(0xa8)][o(0xb2)]));typeof f['template'][o(0xc1)]===o(0xcf)&&(f[o(0xa8)]['css']=f[o(0xa8)]['css']===o(0xc6)?!![]:![],this[o(0xb5)][o(0x93)](o(0xc1),f[o(0xa8)][o(0xc1)]));typeof f[o(0xa8)]['js']===o(0xcf)&&(f[o(0xa8)]['js']=f[o(0xa8)]['js']===o(0xc6)?!![]:![],this[o(0xb5)][o(0x93)]('js',f[o(0xa8)]['js']));!f[o(0x9b)]&&(f[o(0x9b)]={});!b[o(0x8a)]&&!this['fsi'][o(0x9c)](o(0xbc))&&(Log[o(0xbf)](o(0x92)),this[o(0xb5)][o(0xa1)](o(0xbc),{'cwd':d}));const h={'name':pascalCase(b['resourceName']),'myPath':a121e['relative'](this['fsi'][o(0x8d)]({}),e),'cssCaseName':paramCase(b[o(0xd2)]),'className':pascalCase(b[o(0xd2)]),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b[o(0xd2)]),'graphql':f[o(0x9d)][o(0x8c)],'features':f[o(0x9b)],'client':f[o(0x9d)][o(0xad)],'api':f[o(0x9d)][o(0xd1)],'ssr':f['engines'][o(0xa2)],'isStore':b['hasOwnProperty'](o(0xba)),'isComponent':b[o(0x8b)]('component'),'isLayout':b[o(0x8b)](o(0x99)),'withTranslations':f['features'][o(0xa7)],'test':f[o(0x9d)]['test'],'theme':f[o(0x9d)][o(0xa4)]};f[o(0xa8)][o(0x88)]&&await this['fsi']['template']({'srcPath':o(0x89),'destPath':e+o(0xb0),'context':h,'config':f});f[o(0x9b)]?.[o(0x9e)]||b[o(0xb3)]?await this[o(0xb5)][o(0xa8)]({'srcPath':o(0xa5),'destPath':e+o(0xaa),'framework':o(0xc5),'context':h,'config':f}):await this['fsi'][o(0xa8)]({'srcPath':o(0xaf),'destPath':e+o(0xaa),'framework':'react','context':h,'config':f});f[o(0x9d)][o(0xb2)]!==o(0xc3)&&await this[o(0xb5)][o(0xa8)]({'srcPath':o(0x8e),'destPath':e+o(0x96),'framework':'react','context':h,'config':f});f[o(0xa8)][o(0xc1)]&&await this['fsi']['template']({'srcPath':'template/template.css','destPath':e+o(0xcc),'context':Object[o(0xc0)]({},h,{'className':paramCase(b['resourceName'])}),'config':f});f[o(0x9d)][o(0xad)]!==o(0xc5)&&f[o(0x9d)][o(0xad)]!==o(0x90)?(f[o(0xa8)][o(0xc1)]&&await this[o(0xb5)][o(0xc7)]({'filePath':e+'.'+f[o(0x9d)]['js'],'content':o(0x8f)+h[o(0xd0)]+'.'+f[o(0x9d)]['html']+'\x27;\x0a'+o(0x8f)+h[o(0xd0)]+'.'+f[o(0x9d)][o(0xc1)]+'\x27;'}),!f[o(0xa8)]['css']&&await this[o(0xb5)]['injectAtBeginningOfFile']({'filePath':e+'.'+f[o(0x9d)]['js'],'content':'import\x20\x27./'+h[o(0xd0)]+'.'+f[o(0x9d)]['html']+'\x27;'})):f['template'][o(0xc1)]&&await this['fsi'][o(0xc7)]({'filePath':e+'.'+f['engines']['js'],'content':o(0x8f)+h[o(0xd0)]+'.'+f[o(0x9d)]['css']+'\x27;'});const i=b[o(0xb1)]?'/'+b[o(0xb1)]+'/':'/';g=''+c+i+h[o(0xd0)]+'/'+h[o(0xd0)],await this[o(0xb5)][o(0xb9)](h[o(0xab)],f,g),!b[o(0x8a)]&&await a121f[o(0xbd)](o(0xc4),[i+b[o(0xd2)]],b);}),g+'.'+f[n(0x9d)]['js'];});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x141;let f=c[d];return f;},a122d(a,b);}function a122c(){const n=['publish/publish.','templateContent','injectAtEndOfFile','1029114dOASqf','2748235wbdygk','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','161525SIBxtX','7260HjfzJO','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','rewriteDestinationPathForEngine','1HAkZoq','create','tsx','fsi','102oxcBiY','withValue','15172740eQAVpT','7285203ZiPQBH','publish','maka\x20g:publish\x20todos','apply','1179JOzCar','resourceName','(((.+)+)+)+$','getMakaProjectConfig','search','2158168gYUoKi','toString'];a122c=function(){return n;};return a122c();}const a122k=a122d;(function(a,b){const h=a122d,c=a();while(!![]){try{const d=parseInt(h(0x152))/0x1*(-parseInt(h(0x14b))/0x2)+-parseInt(h(0x141))/0x3*(parseInt(h(0x14f))/0x4)+-parseInt(h(0x14c))/0x5+parseInt(h(0x156))/0x6*(-parseInt(h(0x14e))/0x7)+parseInt(h(0x146))/0x8+parseInt(h(0x159))/0x9+parseInt(h(0x158))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x682f2));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a122d;if(c){const e=c[i(0x15c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const j=a122d;return a122a[j(0x147)]()[j(0x145)](j(0x143))[j(0x147)]()['constructor'](a122a)['search'](j(0x143));});a122a();import{paramCase}from'change-case';import{Generator}from'../generator.js';Generator[a122k(0x153)]({'name':a122k(0x15a),'aliases':['p'],'usage':a122k(0x150),'shortDesc':a122k(0x14d),'validOpts':[],'examples':[a122k(0x15b)]},async function(a,b){const l=a122k,c=this[l(0x155)][l(0x144)]();await this[l(0x155)][l(0x157)](c,async()=>{const m=l,d={'name':b['resourceName'],'collection':paramCase(b[m(0x142)]),'noRename':!![]};let e='js';c['engines']['js']===m(0x154)&&(e='ts');const f=this[m(0x155)][m(0x151)]({'pathParts':['server/publish.'+c['engines']['js']]}),g=this[m(0x155)][m(0x149)]({'srcPath':m(0x148)+e,'context':d,'config':c});await this[m(0x155)][m(0x14a)]({'filePath':f,'content':'\x0a'+g});});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a123A=a123d;(function(a,b){const y=a123d,c=a();while(!![]){try{const d=-parseInt(y(0x1ec))/0x1+parseInt(y(0x1d2))/0x2*(-parseInt(y(0x1d4))/0x3)+-parseInt(y(0x1f3))/0x4+parseInt(y(0x210))/0x5*(-parseInt(y(0x1df))/0x6)+-parseInt(y(0x1d3))/0x7*(parseInt(y(0x1c4))/0x8)+-parseInt(y(0x1ee))/0x9+parseInt(y(0x1ca))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x9a419));const a123b=(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;};}()),a123a=a123b(this,function(){const z=a123d;return a123a['toString']()[z(0x1fd)](z(0x1ff))[z(0x1cb)]()[z(0x208)](a123a)[z(0x1fd)](z(0x1ff));});a123a();import a123e from'path';function a123c(){const J=['templateName','url','MasterLayout','lib','fsi','pages','pathFromApp','\x20to\x20','/imports/ui/pages','search','length','(((.+)+)+)+$','Route\x20','route','dir','map','</Router>','newForm','route/route.js','ssr','constructor','split','Please\x20specify\x20a\x20name\x20for\x20the\x20route.','injectIntoFile','routes.js','pop','injectAtEndOfFile','<Route','1797455GgXbyt','replace','const\x20publicRoutes\x20=\x20(<>','rewriteDestinationPathForEngine','104PKoKOA','pathFromProject','react','layout','filter','withHook','31890440lBtcSP','toString','Invalid\x20directory\x20option\x20\x22','<Router','maka\x20g:route\x20usersShow\x20users/:id/show\x20--layout\x20userView','templateContent','error','Scaffolding\x20for\x20a\x20Route.','878744bBRPck','297983xWydxQ','3OCOZHu','engines','Valid\x20options\x20are:\x20','only','client','const\x20privateRoutes\x20=\x20(<>','imports','Adding\x20route\x20','PrivateLayout','withValue','maka\x20g:route\x20pages/lists/listIndex\x20lists','18atSTId','baseDir','\x0a\x09\x09','includes','readFileLines','join','\x20already\x20exists.\x20\x20Skipping.','create','features','import\x20*\x20as\x20Component\x20from\x20\x27./templates\x27;','vanilla','injectAfterLineNumber','maka\x20{generate,\x20g}:{route,\x20r}\x20[path/]<name>','50430ySfQwK','maka\x20g:route\x20todosEdit\x20todos/:id/edit','3526560ynLmak','layouts','maka\x20g:route\x20todosIndex\x20todos','warn','startup','174796aQEhpg'];a123c=function(){return J;};return a123c();}function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x1c4;let f=c[d];return f;},a123d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['r'];Generator[a123A(0x1e6)]({'name':a123A(0x201),'aliases':aliases,'validOpts':['private',a123A(0x1c7),a123A(0x1d7),'cwd','config','root',a123A(0x1c9),a123A(0x1f5),'baseDir'],'usage':a123A(0x1eb),'shortDesc':a123A(0x1d1),'examples':[a123A(0x1f0),a123A(0x1ed),a123A(0x1ce),a123A(0x1de),'maka\x20g:route\x20pages/about']},async function(a,b){const B=a123A;try{const c=['hooks','components',B(0x1f9),B(0x1ef)];if(b[B(0x1e0)]&&!c[B(0x1e2)](b['baseDir'])){Log[B(0x1d0)](B(0x1cc)+b[B(0x1e0)]+'\x22'),Log[B(0x1d0)](B(0x1d6)+c[B(0x1e4)](',\x20'));throw new UsageError();}const d=this['fsi']['getMakaProjectConfig']();await this[B(0x1f8)][B(0x1dd)](d,async()=>{const C=B,f=b['private']??![];let g=b['resourceName'][C(0x209)]('/')[C(0x20d)]();if(!g){Log['error'](C(0x20a));throw new UsageError();}g=pascalCase(g);let h='/'+b['resourceName'];a[C(0x1fe)]>0x1&&(h='/'+a[C(0x1c8)](function(n){return n!=='/';})[C(0x1e4)]('/')['toLowerCase']());h=h['replace'](/\/\//g,'/');b[C(0x1c7)]&&(b[C(0x1c7)]=camelCase(b[C(0x1c7)]));const i=b[C(0x1e0)]?'/imports/ui/'+b[C(0x1e0)]:C(0x1fc),j=a123e[C(0x1e4)](i,b[C(0x202)],g,paramCase(g)),k={'name':g,'fileCase':paramCase(g),'camelCaseName':camelCase(g),'url':h,'layout':b['layout']||C(0x1f6),'templatePath':j,'templateName':pascalCase(g),'client':d[C(0x1d5)][C(0x1d8)],'newForm':![],'withTranslations':d[C(0x1e7)]['withTranslations']};f&&(k[C(0x1c7)]=C(0x1dc));let l,m;if(d[C(0x1d5)]['client']===C(0x1c6)){if(d[C(0x1d5)][C(0x207)]==='true'){const r=this[C(0x1f8)]['pathFromApp']({'pathParts':['imports','startup',C(0x1f7),C(0x20c)]});l=this[C(0x1f8)][C(0x213)]({'pathParts':[r],'config':d});}else{const s=this[C(0x1f8)][C(0x1fa)]({'pathParts':[C(0x1da),C(0x1f2),C(0x1d8),C(0x20c)]});l=this[C(0x1f8)][C(0x213)]({'pathParts':[s],'config':d});}const n=await this[C(0x1f8)]['fileContainsString'](l,g);if(n){Log['warn'](C(0x200)+g+C(0x1e5));return;}else{const t=this[C(0x1f8)][C(0x1c5)](l);Log['info'](C(0x1db)+g+C(0x1fb)+l[C(0x211)](t,''));}const o=this[C(0x1f8)]['readFileLines'](l)['map']((u,v)=>{const D=C;return u[D(0x1e2)](D(0x1e8))?v+0x1:null;})['filter'](u=>u!==null);let p=this[C(0x1f8)][C(0x1e3)](l)[C(0x203)]((u,v)=>{const E=C;return u[E(0x1e2)](E(0x212))?v+0x1:null;})[C(0x1c8)](u=>u!==null),q=this[C(0x1f8)]['readFileLines'](l)[C(0x203)]((u,v)=>{const F=C;return u['includes'](F(0x1d9))?v+0x1:null;})[C(0x1c8)](u=>u!==null);p['length']>0x0&&q['length']>0x0&&(k[C(0x205)]=!![]);m=this[C(0x1f8)][C(0x1cf)]({'srcPath':C(0x206),'framework':C(0x1c6),'context':k,'config':d});if(p[C(0x1fe)]>0x0||q['length']>0x0){this['fsi'][C(0x1ea)]({'filePath':l,'content':m,'lineNumber':o[0x0]});if(f&&q[C(0x1fe)]>0x0)q=this[C(0x1f8)][C(0x1e3)](l)['map']((u,v)=>{const G=C;return u[G(0x1e2)](G(0x1d9))?v+0x1:null;})['filter'](u=>u!==null),this[C(0x1f8)][C(0x1ea)]({'filePath':l,'content':'\x09{'+k[C(0x1f4)]+'}','lineNumber':q[0x0]});else p['length']>0x0?(p=this[C(0x1f8)][C(0x1e3)](l)['map']((u,v)=>{const H=C;return u[H(0x1e2)]('const\x20publicRoutes\x20=\x20(<>')?v+0x1:null;})[C(0x1c8)](u=>u!==null),this[C(0x1f8)][C(0x1ea)]({'filePath':l,'content':'\x09{'+k['templateName']+'}','lineNumber':p[0x0]})):Log[C(0x1f1)]('Could\x20not\x20find\x20a\x20suitable\x20location\x20to\x20enable\x20this\x20route.\x20\x20Please\x20inspect\x20'+l);}else{const u=this['fsi'][C(0x1e3)](l)['map'](x=>{const I=C;return x[I(0x1e2)]('\x22*\x22');}),v=u['indexOf'](!![])>-0x1,w=v?C(0x20f):C(0x204);await this['fsi'][C(0x20b)]({'filePath':l,'content':C(0x1e1)+m+C(0x1e1),'begin':C(0x1cd),'end':w});}}else{if(d[C(0x1d5)][C(0x1d8)]===C(0x1e9)){const x=this[C(0x1f8)][C(0x1fa)]({'pathParts':[C(0x1da),'startup','client','routes.js']});l=this[C(0x1f8)]['rewriteDestinationPathForEngine']({'pathParts':[x],'config':d}),m=this[C(0x1f8)][C(0x1cf)]({'srcPath':C(0x206),'context':k}),await this[C(0x1f8)][C(0x20e)]({'filePath':l,'content':'\x0a'+m});}}});}catch(f){Log[B(0x1d0)](f);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a124m=a124d;function a124c(){const p=['615416SXQPps','imports','checkNpmPackage','service/logger/logger.js','49snnsyw','maka\x20{generate,\x20g}:{service}\x20<resource-name>','installNpmPackage','resourceName','(((.+)+)+)+$','241689PtZDMB','apply','pathFromApp','services','409756UTWRES','7515zNtzIA','withValue','fsi','type','376962keCWDy','Installing\x20winston','1268LuXTYJ','349928oYuApM','Generate\x20a\x20service\x20to\x20run\x20within\x20your\x20meteor\x20application.','lib','startup','service','winston','12123747ZEmRBf','logger','constructor','create','engines','search','error','10FyqrYC','svc','maka\x20g:svc\x20service-logger\x20--type=logger','toString'];a124c=function(){return p;};return a124c();}(function(a,b){const j=a124d,c=a();while(!![]){try{const d=-parseInt(j(0xc7))/0x1+parseInt(j(0xba))/0x2+-parseInt(j(0xc3))/0x3+-parseInt(j(0xce))/0x4*(parseInt(j(0xc8))/0x5)+-parseInt(j(0xcc))/0x6+-parseInt(j(0xbe))/0x7*(parseInt(j(0xcf))/0x8)+-parseInt(j(0xaf))/0x9*(-parseInt(j(0xb6))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x4de1f));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a124d;if(c){const e=c[k(0xc4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const l=a124d;return a124a['toString']()[l(0xb4)](l(0xc2))[l(0xb9)]()[l(0xb1)](a124a)[l(0xb4)](l(0xc2));});a124a();function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0xac;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[a124m(0xb2)]({'name':a124m(0xad),'aliases':[a124m(0xb7)],'usage':a124m(0xbf),'shortDesc':a124m(0xd0),'requiredOpts':[{'name':a124m(0xcb),'values':[a124m(0xb0)]}],'validOpts':[],'maxArgLength':0x1,'examples':[a124m(0xb8)]},async function(a,b){const n=a124m;try{const c=this['fsi']['getMakaProjectConfig']();await this[n(0xca)][n(0xc9)](c,async()=>{const o=n,d=this[o(0xca)][o(0xc5)]({}),f=paramCase(b[o(0xc1)]),g={'name':pascalCase(b[o(0xc1)]),'fileName':f,'camelCase':camelCase(b[o(0xc1)]),'type':b[o(0xcb)],'engine':c[o(0xb3)]['js'],'noRename':!![]};let h='js';c[o(0xb3)]['js']==='tsx'&&(h='ts');if(b[o(0xcb)]===o(0xb0)){!this[o(0xca)][o(0xbc)](o(0xae))&&await this['fsi'][o(0xc0)]('winston\x20setimmediate',{'cwd':d,'msg':o(0xcd)});const i=this[o(0xca)]['pathFromApp']({'pathParts':[o(0xbb),o(0xac),o(0xd1),o(0xc6),f+'.'+h]});await this[o(0xca)]['template']({'srcPath':o(0xbd),'destPath':i,'context':g,'config':c});}});}catch(d){Log[n(0xb5)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a125d,c=a();while(!![]){try{var d=-parseInt(f(0x8a))/0x1+parseInt(f(0x88))/0x2*(-parseInt(f(0x8e))/0x3)+parseInt(f(0x93))/0x4+-parseInt(f(0x87))/0x5*(-parseInt(f(0x8d))/0x6)+-parseInt(f(0x91))/0x7+-parseInt(f(0x85))/0x8*(parseInt(f(0x92))/0x9)+parseInt(f(0x89))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x5c91c));var a125b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a125d;if(c){var e=c[g(0x8b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){var h=a125d;return a125a[h(0x8f)]()['search']('(((.+)+)+)+$')[h(0x8f)]()[h(0x90)](a125a)[h(0x8c)](h(0x86));});a125a();function a125c(){var i=['toString','constructor','3427956WjcxNv','9bsZBbT','506948wIbmni','3376456ttcDeX','(((.+)+)+)+$','151615eksaFd','658334JfQUxd','10244590GbQBFM','107237DETPDw','apply','search','114NnbfFO','3yDAvPl'];a125c=function(){return i;};return a125c();}function a125d(a,b){var c=a125c();return a125d=function(d,e){d=d-0x85;var f=c[d];return f;},a125d(a,b);}import'./translation.js';import'./openssl.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a126c(){const n=['Generate\x20a\x20new\x20openssl\x20config\x20file','constructor','create','openssl/openssl.conf','getGlobalConfig','10LHXAvL','144488lfLcRk','4iJCoIe','10RUHFdN','36fAzEig','6QjuiHs','service','1131639biwrtA','fsi','maka\x20{generate,\x20g}:sslconfig','maka\x20g:sslconfig\x20--env\x20dev','3975900jftxyN','8988049mNboXy','getMakaProjectConfig','3257040FrNzBT','env','sslconfig','appName','toString','138929KByvIy','search','(((.+)+)+)+$','template','4922720klRmiR'];a126c=function(){return n;};return a126c();}const a126k=a126d;(function(a,b){const i=a126d,c=a();while(!![]){try{const d=-parseInt(i(0x1a6))/0x1*(-parseInt(i(0x196))/0x2)+parseInt(i(0x19a))/0x3*(parseInt(i(0x195))/0x4)+-parseInt(i(0x1a1))/0x5+-parseInt(i(0x198))/0x6*(-parseInt(i(0x19f))/0x7)+-parseInt(i(0x194))/0x8*(-parseInt(i(0x197))/0x9)+parseInt(i(0x1b0))/0xa*(-parseInt(i(0x1aa))/0xb)+-parseInt(i(0x19e))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0xf39e0));const a126b=(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;};}()),a126a=a126b(this,function(){const j=a126d;return a126a['toString']()[j(0x1a7)](j(0x1a8))[j(0x1a5)]()[j(0x1ac)](a126a)[j(0x1a7)](j(0x1a8));});a126a();import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';import a126e from'path';function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x194;let f=c[d];return f;},a126d(a,b);}Generator[a126k(0x1ad)]({'name':a126k(0x1a3),'usage':a126k(0x19c),'shortDesc':a126k(0x1ab),'noNeedResource':!![],'requiredOpts':['env'],'examples':[a126k(0x19d)],'validOpts':[]},async function(a,b){const l=a126k;try{const c=await this[l(0x19b)][l(0x1a0)](),d=await this[l(0x19b)][l(0x1af)](),f=this[l(0x19b)]['getAppConfigPath'](b[l(0x1a2)]),g=a126e['join'](f,'_keys','openssl.conf');await this[l(0x19b)]['withValue'](c,async()=>{const m=l,h={'app':d[m(0x1a4)],'noRename':!![]};await this['fsi'][m(0x1a9)]({'srcPath':m(0x1ae),'destPath':g,'framework':m(0x199),'context':h,'config':c});});}catch(h){Log['error'](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a127A=a127d;(function(a,b){const x=a127d,c=a();while(!![]){try{const d=parseInt(x(0x155))/0x1*(parseInt(x(0x13b))/0x2)+-parseInt(x(0x130))/0x3*(-parseInt(x(0x148))/0x4)+-parseInt(x(0x159))/0x5+parseInt(x(0x136))/0x6+parseInt(x(0x150))/0x7+-parseInt(x(0x12e))/0x8*(parseInt(x(0x15a))/0x9)+-parseInt(x(0x122))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x8d06f));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a127d;if(c){const e=c[y(0x119)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const z=a127d;return a127a[z(0x13d)]()['search'](z(0x14a))['toString']()[z(0x142)](a127a)[z(0x13f)](z(0x14a));});a127a();import{Generator}from'../../generator.js';function a127c(){const D=['translation','engines','exit','readFileSync','lang','ssr','injectAtBeginningOfFile','4064330ofhVIQ','i18n/i18n.js','services','pathFromApp','checkNpmPackage','findAppDirectory','features.withTranslations','\x20}\x20from\x20\x27./','default\x20as\x20','locales','i18n/locales.js','template','688ToDxqo','injectAtEndOfFile','9eMgNwe','true','Verifying\x20npm\x20package\x20requirements:\x20i18next\x20...','import\x20\x27../lib/services/translations/i18n\x27;','warn','Generate\x20a\x20new\x20locale\x20translation','3160890kfzLYD','i18n/index.js','\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','import\x20\x27../lib/services/translations/i18n\x27;\x0a','server','6yzgYtH','maka\x20{generate,\x20g}:translation','toString','i18n.js','search','service','appName','constructor','export\x20{\x20default\x20as\x20','setProjectConfig','error','index.','isFile','419916IwceAg','translations','(((.+)+)+)+$','maka\x20g:translation\x20--lang=de','lib','index.js','grep','rewriteDestinationPathForEngine','6181028zpRfbO','startup','i18next','withValue','fsi','106907WurAIh','installNpmPackage','maka\x20g:translation\x20--lang=en\x20(default)','imports','4106425bJcmHI','25128nyAyaU','apply','i18next\x20i18next-browser-languagedetector\x20react-i18next'];a127c=function(){return D;};return a127c();}import{Log}from'../../tools/log/log.class.js';function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x119;let f=c[d];return f;},a127d(a,b);}import a127e from'fs';Generator['create']({'name':a127A(0x11b),'usage':a127A(0x13c),'aliases':['t'],'noNeedResource':!![],'requiredOpts':[{'name':a127A(0x11f),'boolFlag':![],'regex':/^[a-z]{2}$/}],'shortDesc':a127A(0x135),'description':a127A(0x138),'examples':[a127A(0x157),'maka\x20g:translation\x20--lang=fr',a127A(0x14b)],'validOpts':[]},async function(a,b){const B=a127A;try{const c=this[B(0x154)]['getMakaProjectConfig'](),d=this[B(0x154)]['getGlobalConfig'](),f=this['fsi'][B(0x127)]();await this[B(0x154)][B(0x153)](c,async()=>{const C=B;try{!b['lang']&&(b[C(0x11f)]='en');!b['root']&&!this[C(0x154)][C(0x126)](C(0x152))&&(Log[C(0x134)](C(0x132)),this[C(0x154)][C(0x156)](C(0x11a),{'cwd':f}),this[C(0x154)][C(0x144)](C(0x128),!![]));const g=this[C(0x154)][C(0x125)]({'pathParts':[C(0x158),C(0x151),'client',C(0x14d)]}),h=this['fsi'][C(0x14f)]({'pathParts':[g],'config':c}),i=this[C(0x154)][C(0x14e)](a127e[C(0x11e)](h)[C(0x13d)](),C(0x133))[0x0]&&!![];if(c[C(0x11c)][C(0x120)]===C(0x131)){!i&&this[C(0x154)][C(0x121)]({'filePath':h,'content':C(0x139)});const t=this['fsi'][C(0x125)]({'pathParts':[C(0x158),C(0x151),C(0x13a),C(0x14d)]}),u=this[C(0x154)][C(0x14f)]({'pathParts':[t],'config':c}),v=this['fsi'][C(0x14e)](a127e[C(0x11e)](u)['toString'](),C(0x133))[0x0]&&!![];!v&&this[C(0x154)]['injectAtBeginningOfFile']({'filePath':u,'content':'import\x20\x27../lib/services/translations/i18n\x27;\x0a'});}else!i&&this[C(0x154)][C(0x121)]({'filePath':h,'content':C(0x139)});const j={'app':d[C(0x141)],'config':c},k=this[C(0x154)][C(0x125)]({'pathParts':[C(0x158),'startup',C(0x14c),C(0x124),C(0x149),C(0x13e)]}),l=this[C(0x154)][C(0x147)](this['fsi']['rewriteDestinationPathForEngine']({'pathParts':[k],'config':c}));!l&&await this[C(0x154)][C(0x12d)]({'srcPath':C(0x123),'destPath':k,'framework':C(0x140),'context':j,'config':c});const m=this['fsi']['pathFromApp']({'pathParts':[C(0x158),C(0x151),'lib','services',C(0x149),C(0x12b),b[C(0x11f)]+'.js']}),n=this[C(0x154)]['rewriteDestinationPathForEngine']({'pathParts':[m],'config':c}),o=this[C(0x154)][C(0x147)](n);!o?await this[C(0x154)][C(0x12d)]({'srcPath':C(0x12c),'destPath':m,'framework':C(0x140),'context':j,'config':c}):Log[C(0x134)]('Locale\x20already\x20defined:\x20'+n);const p=this[C(0x154)][C(0x125)]({'pathParts':[C(0x158),C(0x151),C(0x14c),C(0x124),C(0x149),'locales',C(0x146)+c[C(0x11c)]['js']]}),q=this[C(0x154)][C(0x14f)]({'pathParts':[p],'config':c}),r=this[C(0x154)][C(0x147)](q);!r&&await this[C(0x154)]['template']({'srcPath':C(0x137),'destPath':p,'framework':C(0x140),'context':j,'config':c});const s=this['fsi'][C(0x14e)](a127e[C(0x11e)](p)[C(0x13d)](),C(0x12a)+b[C(0x11f)])[0x0]&&!![];!s?await this['fsi'][C(0x12f)]({'filePath':p,'content':C(0x143)+b[C(0x11f)]+C(0x129)+b[C(0x11f)]+'\x27;'}):Log[C(0x134)]('Locale\x20already\x20exported:\x20'+p);}catch(w){Log[C(0x145)](w),process[C(0x11d)](0x1);}});}catch(g){Log[B(0x145)](g),process['exit'](0x1);}});
|
package/bundle/obf/src/maka.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a128m=a128d;(function(a,b){const j=a128d,c=a();while(!![]){try{const d=parseInt(j(0x1a5))/0x1+-parseInt(j(0x1bc))/0x2+-parseInt(j(0x1ab))/0x3+-parseInt(j(0x1ba))/0x4+parseInt(j(0x1b7))/0x5*(parseInt(j(0x1a4))/0x6)+-parseInt(j(0x1a2))/0x7*(-parseInt(j(0x1bb))/0x8)+-parseInt(j(0x1ac))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x61f1e));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a128d;if(c){const e=c[k(0x1b1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const l=a128d;return a128a[l(0x1a3)]()[l(0x1b0)]('(((.+)+)+)+$')['toString']()[l(0x1ad)](a128a)[l(0x1b0)](l(0x1a7));});a128a();function a128c(){const n=['apply','MAKA_COMMAND_PATH','NODE_NO_WARNINGS','totalmem','parse','argv','5WIXipM','dirname','floor','1840284ZeYPml','688xpYgZb','52814dDRQGw','13727ovXLRf','toString','4697526QafiBL','524605UoiLFG','TOOL_NODE_FLAGS','(((.+)+)+)+$','--max-old-space-size=','run','BROWSERSLIST_IGNORE_OLD_DATA','1273455qjWXKr','1476243FSAdTZ','constructor','env','slice','search'];a128c=function(){return n;};return a128c();}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';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x1a2;let f=c[d];return f;},a128d(a,b);}const __filename=fileURLToPath(import.meta['url']),__dirname=a128g[a128m(0x1b8)](__filename);global[a128m(0x1b2)]=__dirname;const total_memory=a128f[a128m(0x1b4)](),total_mem_in_kb=total_memory/0x400;let total_mem_in_mb=total_mem_in_kb/0x400;total_mem_in_mb=Math[a128m(0x1b9)](total_mem_in_mb),process['env'][a128m(0x1a6)]=a128m(0x1a8)+total_mem_in_mb,process[a128m(0x1ae)][a128m(0x1aa)]='1',process[a128m(0x1ae)][a128m(0x1b3)]='1';const argv=a128e(process[a128m(0x1b6)][a128m(0x1af)](0x2)),args=argv['_'],deepCopyArgv=JSON[a128m(0x1b5)](JSON['stringify'](argv));delete deepCopyArgv['_'];const opts=a128h['camelizeKeys'](deepCopyArgv);a128i[a128m(0x1a9)](args,opts);
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import { Meteor } from 'meteor/meteor';
|
|
2
|
-
|
|
3
|
-
import <%= name %> from '/imports/startup/server/collections/<%= fileName %>';
|
|
2
|
+
import MakaRest, { Codes } from 'meteor/maka:rest';
|
|
4
3
|
|
|
5
|
-
const <%= name %>ApiV1 = new
|
|
4
|
+
const <%= name %> ApiV1 = new MakaRest({
|
|
6
5
|
version: 'v1',
|
|
7
6
|
useDefaultAuth: false,
|
|
7
|
+
apiPath: '<%= name %>',
|
|
8
8
|
prettyJson: Meteor.isDevelopment
|
|
9
9
|
});
|
|
10
10
|
|
|
11
|
-
<%= name %>ApiV1.
|
|
11
|
+
<%= name %>ApiV1.addRoute('status', {
|
|
12
|
+
get() {
|
|
13
|
+
return Codes.success200({ message: 'OK' });
|
|
14
|
+
}
|
|
15
|
+
});
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import { Meteor } from 'meteor/meteor';
|
|
2
|
-
|
|
3
|
-
import <%= name %> from '/imports/startup/server/collections/<%= fileName %>';
|
|
2
|
+
import MakaRest, { Codes } from 'meteor/maka:rest';
|
|
4
3
|
|
|
5
|
-
const <%= name %>ApiV1 = new
|
|
4
|
+
const <%= name %> ApiV1 = new MakaRest({
|
|
6
5
|
version: 'v1',
|
|
7
6
|
useDefaultAuth: false,
|
|
7
|
+
apiPath: '<%= name %>',
|
|
8
8
|
prettyJson: Meteor.isDevelopment
|
|
9
9
|
});
|
|
10
10
|
|
|
11
|
-
<%= name %>ApiV1.
|
|
11
|
+
<%= name %>ApiV1.addRoute('status', {
|
|
12
|
+
get() {
|
|
13
|
+
return Codes.success200({ message: 'OK' });
|
|
14
|
+
}
|
|
15
|
+
});
|
package/bundle/obf/src/tool.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a129L=a129d;(function(a,b){const I=a129d,c=a();while(!![]){try{const d=parseInt(I(0x10c))/0x1*(-parseInt(I(0x132))/0x2)+-parseInt(I(0x121))/0x3*(parseInt(I(0xdd))/0x4)+-parseInt(I(0x124))/0x5+parseInt(I(0x126))/0x6*(-parseInt(I(0xfb))/0x7)+-parseInt(I(0x12e))/0x8*(parseInt(I(0x107))/0x9)+parseInt(I(0x122))/0xa+parseInt(I(0xfc))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x40175));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const J=a129d;if(c){const e=c[J(0x10e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const K=a129d;return a129a[K(0xe9)]()[K(0xe4)](K(0x10b))['toString']()[K(0xea)](a129a)[K(0xe4)](K(0x10b));});a129a();import a129e from'path';function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0xdc;let f=c[d];return f;},a129d(a,b);}import a129f from'os';import a129g from'fs';const homeDir=a129f[a129L(0x10f)]();import{Docker}from'./tools/docker/docker.class.js';import{FSI}from'./tools/fsi/fsi.class.js';import{Log}from'./tools/log/log.class.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError}from'./error.js';function a129c(){const a0=['help','Please\x20choose\x20an\x20environment','validateMakaProject','remapShortToLong','platform','1403752DZaNSM','dir','proCommands','formatToNamedParam','263096ROrQxl','Please\x20provide\x20a\x20valid\x20argument\x20for\x20','match','4PKcYKR','Please\x20choose\x20a\x20value\x20for\x20','options','Invalid\x20option:\x20','isCommand','disableAuthCheck','You\x20must\x20have\x20','search','roles','No\x20description\x20provided.','_handler','map','toString','constructor','getShortName','ask','getMakaProjectConfig','parent','env','includes','cwd','proGenerators','win32','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.meteor/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','string','concat','length','isPro','isGenerator','exit','55559YmsjxE','12875357lBzrim','existsSync','name','validateEngines','To\x20use\x20this\x20generator,\x20\x22','Invalid\x20value\x20for\x20','examples','validateMeteorInstall','shortDesc','aliases','description','18LWBdFR','None','\x22,\x20please\x20upgrade\x20to\x20PRO\x20by\x20becoming\x20a\x20pateron\x20@\x20patreon.com/user?u=110174702,\x20then\x20issue:\x20\x27maka\x20login\x27','Invalid\x20argument:\x20','(((.+)+)+)+$','3NSNzPx','keys','apply','homedir','Local','list','config','join','every','push','indexOf','NIE','error','domainLicense','No\x20usage\x20provided.','Please\x20choose\x20a\x20valid\x20value\x20for\x20','fsi','AppData','.meteor','assign','usage','1436523ElnXAo','5018170eSAWak','resourceName','172805YxgisM','Please\x20provide\x20a\x20value\x20for\x20','114ZmepHI','findProjectDirectory','engines'];a129c=function(){return a0;};return a129c();}export class Tool{['docker'];[a129L(0x11c)];[a129L(0xdf)];[a129L(0xfe)];[a129L(0xee)];[a129L(0xe7)];constructor(){const M=a129L;this['docker']=new Docker(),this[M(0x11c)]=new FSI();}['getShortName'](a){return a['charAt'](0x0);}[a129L(0x12c)](a,b){const N=a129L,c=this[N(0x131)](b),d={...a};for(const e of c){const f=this[N(0xeb)](e[N(0xfe)]);a[f]&&(d[e[N(0xfe)]]=a[f],delete d[f]);}return d;}[a129L(0x131)](a){const O=a129L;if(a[O(0x114)](b=>typeof b===O(0xf5)))return a[O(0xe8)](b=>({'name':b}));return a;}[a129L(0xdc)](a){const P=a129L,b=[this[P(0xfe)]][P(0xf6)](this[P(0xdf)][P(0x105)]||[]);return this[P(0xee)]&&b['push'](this[P(0xee)]),b[P(0xf0)](a);}[a129L(0x12b)](){const Q=a129L,a=this[Q(0x11c)][Q(0x127)]();return a!==![]?!![]:![];}[a129L(0x103)](){const R=a129L;let a=a129e[R(0x113)](homeDir,R(0x11e));const b=process[R(0x12d)]===R(0xf3);if(b){a=a129e[R(0x113)](homeDir,R(0x11d),R(0x110),R(0x11e));if(!a129g[R(0xfd)](a))return![];}else{if(!a129g['existsSync'](a))return![];}return!![];}[a129L(0xff)](a){const S=a129L,b=this[S(0x11c)][S(0xed)](),c=b[S(0x128)],d=Object[S(0x10d)](a);if(d[S(0xf7)]>0x0)for(const e of d){const f=c[e];if(f!==a[e]){Log[S(0x118)](S(0xe3)+e+'\x20version\x20'+a[e]+'\x20installed\x20to\x20use\x20this\x20command.');throw UsageError;}}}async['validateParams'](a,b,c){const T=a129L,{requiredOpts:d,validArgs:e,validOpts:f,noNeedResource:g}=c,h=Object[T(0x10d)](b);if(h['includes'](T(0x123))&&b[T(0x123)]===undefined&&!g){const m=await Actions[T(0xec)]('Please\x20provide\x20a\x20resource\x20name:');b[T(0x123)]=m;}let i=[],j=b;if(d){i=this[T(0x131)](d),j=this[T(0x12c)](b,i);if(i&&i?.[T(0xf7)]>0x0)for(const n of i){const {name:o,values:p,regex:q}=n;if(!Object[T(0x10d)](j)['includes'](o)){if(o===T(0xef)){const r=this['fsi']['getAppProjectConfigs'](),s=await Actions[T(0xdf)]({'type':T(0x111),'name':T(0xef),'message':T(0x12a),'choices':r});b[T(0xef)]=s[T(0xef)];}else{const t=p;if(t){const u=await Actions[T(0xdf)]({'type':T(0x111),'name':o,'message':T(0xde)+o,'choices':p});b[o]=u[o];}else{if(q){const v=await Actions[T(0xec)](T(0x125)+o);if(v[T(0xdc)](q))b[o]=v;else{Log['error'](T(0x101)+o+':\x20'+v);throw new UsageError();}}else{const w=await Actions[T(0xec)](T(0x125)+o);b[o]=w;}}}}else{const x=j[o];if(p&&!p['includes'](x)){Log[T(0x118)](T(0x101)+o+':\x20'+x);throw new UsageError();}}}}let k=this[T(0x131)](f),l=b;if(k&&Object[T(0x10d)](k)?.[T(0xf7)]>0x0){k=k[T(0xf6)](i||[]),k[T(0x115)]({'name':T(0x123),'hidden':!![]}),k['push']({'name':T(0x129),'boolFlag':!![]}),k[T(0x115)]({'name':T(0x12f),'hidden':!![]}),k[T(0x115)]({'name':T(0xf1),'hidden':!![]}),k['push']({'name':'root','hidden':!![]}),k[T(0x115)]({'name':T(0x112),'hidden':!![]}),l=this[T(0x12c)](b,k);for(const y of k){const {name:z,values:A}=y,B=l[z];if(B!==undefined&&(!A||!A[T(0xf0)](B))){const C=A;if(C){const D=await Actions[T(0xdf)]({'type':T(0x111),'name':z,'message':T(0x11b)+z,'choices':A});l[z]=D[z];}}if(k['length']>0x0)for(const E of Object[T(0x10d)](l)){const F=k['find'](G=>G[T(0xfe)]===E);if(!F){Log[T(0x118)](T(0xe0)+E);throw new UsageError();}}}}if(e&&e?.['length']>0x0)for(const G of e){if(!e[T(0xf0)](G)){Log[T(0x118)](T(0x10a)+G);const H=await Actions[T(0xec)](T(0x133)+G);a[a[T(0x116)](G)]=H;}}return Object[T(0x11f)](j,l);}async['validateMakaSubscription'](a){const U=a129L;try{if(!a)return;const b=await this[U(0x11c)]['getPro']();!b&&(Log[U(0x118)](U(0xf4)),process[U(0xfa)](0x1));const c=!b?.[U(0xe5)][U(0xf0)]('singleLicense')&&!b?.['roles'][U(0xf0)](U(0x119));if(this['isCommand'](a)){const d='To\x20use\x20this\x20command,\x20\x22'+a['name']+'\x22,\x20please\x20upgrade\x20to\x20PRO\x20by\x20becoming\x20a\x20pateron\x20@\x20patreon.com/user?u=110174702,\x20then\x20issue:\x20\x27maka\x20login\x27';if(a[U(0xdf)][U(0xe2)])return;const f=b?.[U(0x130)]['includes'](a[U(0xfe)])||b?.[U(0x130)]['includes'](a[U(0xee)]||'')||this[U(0xdf)][U(0xf8)];if(f&&c)throw d;}else{if(this[U(0xf9)](a)){const g=b?.['proGenerators'][U(0xf0)](a[U(0xfe)])||b?.[U(0xf2)][U(0xf0)](a['parent']||'');if(g&&c)throw U(0x100)+a[U(0xfe)]+U(0x109);}}}catch(h){Log[U(0x118)](h),process[U(0xfa)](0x1);}}[a129L(0xe1)](a){return'options'in a;}['isGenerator'](a){return!('options'in a);}[a129L(0x106)](){const V=a129L;return this['options'][V(0x106)]||this[V(0xdf)][V(0x104)]||V(0xe6);}[a129L(0x104)](){const W=a129L;return this['options']['shortDesc']||W(0x117);}[a129L(0x120)](){const X=a129L;return this[X(0xdf)]['usage']||X(0x11a);}[a129L(0x102)](){const Y=a129L;return this[Y(0xdf)][Y(0x102)]||[];}[a129L(0x105)](){const Z=a129L;return this[Z(0xdf)][Z(0x105)]||Z(0x108);}}
|