@maka/maka-cli 4.9.6 → 4.9.8
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/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 +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a115z=a115d;(function(a,b){const x=a115d,c=a();while(!![]){try{const d=parseInt(x(0x17d))/0x1+parseInt(x(0x187))/0x2*(parseInt(x(0x153))/0x3)+parseInt(x(0x152))/0x4+parseInt(x(0x158))/0x5+-parseInt(x(0x151))/0x6+-parseInt(x(0x175))/0x7+parseInt(x(0x159))/0x8*(-parseInt(x(0x15c))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0x3a412));const a115b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a115a=a115b(this,function(){const y=a115d;return a115a['toString']()[y(0x14d)](y(0x167))[y(0x183)]()['constructor'](a115a)[y(0x14d)](y(0x167));});function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-0x147;let f=c[d];return f;},a115d(a,b);}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';function a115c(){const D=['template','length','log','380156bgIFOn','options','.js','injectTemplateModule','REACT','-hook\x22>','injectImport','appName','216238qnLOQC','dir','<div\x20id=\x22','Cleaning\x20up...','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','create','toString','session','{this.props.children}','baseDir','279326QKXmYh','{\x20props.children\x20}','injectIntoFile','basic-drawer','test','pathFromApp','frame','search','No\x20layouts\x20selected','{\x20this.props.children\x20}','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','2262042xXPIgx','425472OqDRcY','6WQGgJC','/imports/ui/hooks','\x20/>\x0a','error','maka\x20generate:kit:mui:frame','919320Pjftkp','926968fjVaII','maka\x20g:k:m:f','getFiles','9VoKfCt','checkMeteorPackage','join','imports','true','/imports/startup/lib/templates','app-tests','getDirectories','layouts','fsi','/imports/startup/client/templates','(((.+)+)+)+$','tests','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','basic-app-bar','kit/mui/frame/drawers/','findAppDirectory','ssr','{props.children}','MATERIAL','react','kit/mui/frame/app-bars/'];a115c=function(){return D;};return a115c();}import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a115z(0x182)]({'name':a115z(0x14c),'aliases':['f'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','shortDesc':a115z(0x169),'validOpts':[a115z(0x164)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a115z(0x16f)],'client':ClientEngines[a115z(0x179)]},'examples':[a115z(0x157),a115z(0x15a)],'description':a115z(0x181)},async function(a,b){const A=a115z;try{const c=A(0x16a),d=A(0x149),f=this[A(0x165)]['getMakaProjectConfig'](),g=f['engines'][A(0x16d)]===A(0x160);await this[A(0x165)][A(0x15d)](A(0x184),{'shouldInstall':!![]});const h=this[A(0x165)][A(0x16c)](),i=a115e[A(0x15e)](h,A(0x15f),'ui',A(0x164)),j=this[A(0x165)][A(0x163)](i),k=await Actions[A(0x176)]({'type':'checkbox','name':'layouts','message':A(0x150),'choices':j});if(k[A(0x164)][A(0x173)]===0x0){Log[A(0x156)](A(0x14e));return;}const l=b[A(0x186)]?'/imports/ui/'+b[A(0x186)]:A(0x154),m=this[A(0x165)][A(0x14b)]({'pathParts':[l,b[A(0x17e)],paramCase(c),paramCase(c)]}),n=this['fsi'][A(0x14b)]({'pathParts':[l,b[A(0x17e)],paramCase(d),paramCase(d)]}),o={'name':headerCase(f[A(0x17c)])['replaceAll']('-','\x20')};await this[A(0x165)]['withValue'](f,async()=>{const B=A;await this[B(0x165)][B(0x172)]({'srcPath':B(0x171)+c+B(0x177),'destPath':m+B(0x177),'framework':B(0x170),'context':o,'config':f,'force':![],'ignore':![]}),await this[B(0x165)][B(0x172)]({'srcPath':B(0x16b)+d+B(0x177),'destPath':n+B(0x177),'framework':'react','context':o,'config':f,'force':![],'ignore':![]});});const p=''+l+b[A(0x17e)]+'/'+c+'/'+c;await this['fsi'][A(0x178)](c,f,p);const q=''+l+b[A(0x17e)]+'/'+d+'/'+d;await this['fsi']['injectTemplateModule'](d,f,q);const {layouts:r}=k;for(const s of r){const t=this['fsi'][A(0x15b)](a115e[A(0x15e)](i,s),{'extensions':['jsx','tsx'],'omit':[A(0x162),A(0x168),A(0x14a)]});for(const u of t){const v=a115e[A(0x15e)](i,s,u);await this[A(0x165)][A(0x17b)]({'filePath':v,'importName':pascalCase(c),'modulePath':g?'/imports/startup/lib/templates':'/imports/startup/client/templates','isNamedExport':!![]}),await this['fsi']['injectIntoFile']({'filePath':v,'content':'<'+pascalCase(c)+'\x20/>\x0a','begin':[A(0x17f)+s+'\x22>',A(0x17f)+s+A(0x17a)],'end':[A(0x185),'{\x20this.props.children\x20}',A(0x16e),A(0x147)]}),await this[A(0x165)][A(0x17b)]({'filePath':v,'importName':pascalCase(d),'modulePath':g?A(0x161):A(0x166),'isNamedExport':!![]}),await this['fsi'][A(0x148)]({'filePath':v,'content':'<'+pascalCase(d)+A(0x155),'begin':['<div\x20id=\x22'+s+'\x22>','<div\x20id=\x22'+s+A(0x17a)],'end':[A(0x185),A(0x14f),A(0x16e),'{\x20props.children\x20}']});}}return!![];}catch(w){Log['error'](w);}},async function(){const C=a115z;console[C(0x174)](C(0x180));},a115f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a116i=a116d;(function(a,b){const f=a116d,c=a();while(!![]){try{const d
|
|
1
|
+
const a116i=a116d;(function(a,b){const f=a116d,c=a();while(!![]){try{const d=-parseInt(f(0x114))/0x1+-parseInt(f(0x10e))/0x2*(-parseInt(f(0x118))/0x3)+parseInt(f(0x113))/0x4*(-parseInt(f(0x10f))/0x5)+-parseInt(f(0x116))/0x6*(-parseInt(f(0x10d))/0x7)+-parseInt(f(0x108))/0x8+-parseInt(f(0x106))/0x9+-parseInt(f(0x10c))/0xa*(-parseInt(f(0x112))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x6b0b3));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a116d;if(c){const e=c[g(0x10a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const h=a116d;return a116a[h(0x104)]()[h(0x117)](h(0x119))[h(0x104)]()[h(0x110)](a116a)[h(0x117)]('(((.+)+)+)+$');});function a116c(){const k=['6149600BBbkfl','mui','apply','NIE','100mgxivB','5571069gRRVvq','553562WBAQFG','475yNtnfO','constructor','create','1444267JJHrjL','4644utZvan','471036vXMXUN','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','6qxDxzj','search','3koqryu','(((.+)+)+)+$','toString','maka\x20g:kit:m','5374224wZZChF','Material-UI\x20Kit'];a116c=function(){return k;};return a116c();}a116a();import{Generator}from'../../../generator.js';function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x104;let f=c[d];return f;},a116d(a,b);}import a116e from'../kit.js';const MuiGen=Generator[a116i(0x111)]({'name':a116i(0x109),'aliases':['m'],'usage':a116i(0x115),'noNeedResource':!![],'shortDesc':a116i(0x107),'validOpts':[''],'isPro':![],'examples':[a116i(0x105)]},async function(){const j=a116i;throw j(0x10b);},async function(){},a116e);export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a117o=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d=-parseInt(l(
|
|
1
|
+
const a117o=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d=-parseInt(l(0x14d))/0x1*(parseInt(l(0x158))/0x2)+parseInt(l(0x140))/0x3*(-parseInt(l(0x144))/0x4)+parseInt(l(0x16a))/0x5+-parseInt(l(0x163))/0x6*(-parseInt(l(0x162))/0x7)+-parseInt(l(0x174))/0x8*(-parseInt(l(0x149))/0x9)+-parseInt(l(0x175))/0xa+parseInt(l(0x145))/0xb*(parseInt(l(0x15a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x2e44f));function a117c(){const r=['47290rKNJAG','.js','assign','injectTemplateModule','relative','injectAtBeginningOfFile','react','string','graphql','none','constructor','14GljFJD','apply','132Lepxzn','className','resourceName','ramda','toString','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','includes','template','154zTLeAL','96072jCRwXr','.app-tests.js','findAppDirectory','search','test/test.js','maka\x20g:layout\x20mobile/iPhone8','withValue','356580iRZZcy','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','layout','withHook','installNpmPackage','features','fsi','css','Scaffolding\x20for\x20a\x20React\x20Layout.','engines','8eMalYj','2531120GQYDVQ','warn','test','.css','fileName','template/template.css','setTemplate','split','client','api','true','maka\x20g:l\x20web/safari','withTranslations','45gOsdkJ','ssr','pathFromProject','dir','29436InOUOA','189079FAWxRe','pathFromApp','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','getMakaProjectConfig','2442483YOossO','checkNpmPackage','(((.+)+)+)+$','import\x20\x27./'];a117c=function(){return r;};return a117c();}function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x138;let f=c[d];return f;},a117d(a,b);}const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a117d;if(c){const e=c[m(0x159)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const n=a117d;return a117a[n(0x15e)]()[n(0x166)](n(0x14b))[n(0x15e)]()[n(0x157)](a117a)[n(0x166)](n(0x14b));});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['create']({'name':a117o(0x16c),'aliases':aliases,'usage':a117o(0x15f),'shortDesc':a117o(0x172),'validOpts':[],'examples':[a117o(0x168),a117o(0x13e)]},async function(a,b){const p=a117o,c='/imports/ui/layouts',d=this[p(0x170)][p(0x165)](),e=this[p(0x170)][p(0x146)]({'pathParts':[c,b['dir'],paramCase(b['resourceName']),paramCase(b['resourceName'])]}),f=this['fsi'][p(0x148)]();await this['fsi'][p(0x169)](f,async()=>{const q=p;typeof f[q(0x161)][q(0x177)]===q(0x154)&&(f[q(0x161)][q(0x177)]=f['template'][q(0x177)]==='true'?!![]:![],this[q(0x170)][q(0x139)](q(0x177),f['template']['test']));typeof f[q(0x161)]['css']===q(0x154)&&(f[q(0x161)][q(0x171)]=f[q(0x161)]['css']===q(0x13d)?!![]:![],this[q(0x170)][q(0x139)]('css',f[q(0x161)][q(0x171)]));typeof f['template']['js']==='string'&&(f['template']['js']=f['template']['js']===q(0x13d)?!![]:![],this['fsi'][q(0x139)]('js',f[q(0x161)]['js']));!f[q(0x16f)]&&(f['features']={});const g=b['_']?b['_'][0x0][q(0x13a)](':')[0x1]:![],h=b['_']&&aliases[q(0x160)](g);h&&!this[q(0x14a)](q(0x15d))&&(Log['warn'](q(0x16b)),this[q(0x170)][q(0x16e)](q(0x15d),{'cwd':d}));if(h&&!this[q(0x14a)](q(0x153))){Log[q(0x176)](q(0x147));return;}const i={'name':pascalCase(b[q(0x15c)]),'myPath':a117e[q(0x151)](this[q(0x170)][q(0x142)]({}),e),'cssCaseName':paramCase(b[q(0x15c)]),'className':pascalCase(b[q(0x15c)]),'camelCaseName':camelCase(b[q(0x15c)]),'fileName':paramCase(b[q(0x15c)]),'graphql':f['engines'][q(0x155)],'features':f[q(0x16f)],'client':f[q(0x173)][q(0x13b)],'api':f[q(0x173)][q(0x13c)],'ssr':f[q(0x173)][q(0x141)],'test':f[q(0x173)][q(0x177)],'theme':f['engines']['theme'],'isComponent':![],'isLayout':!![],'withTranslations':f[q(0x16f)][q(0x13f)]};f[q(0x16f)]?.['withHooks']||b[q(0x16d)]?await this['fsi'][q(0x161)]({'srcPath':'hook/hook.js','destPath':e+q(0x14e),'framework':q(0x153),'context':i,'config':f}):await this[q(0x170)][q(0x161)]({'srcPath':'component/component.js','destPath':e+q(0x14e),'framework':q(0x153),'context':i,'config':f});f[q(0x173)][q(0x177)]!==q(0x156)&&await this['fsi'][q(0x161)]({'srcPath':q(0x167),'destPath':e+q(0x164),'framework':'react','context':i,'config':f});f[q(0x161)][q(0x171)]&&(await this['fsi'][q(0x161)]({'srcPath':q(0x138),'destPath':e+q(0x178),'context':Object[q(0x14f)]({},i,{'className':paramCase(b['resourceName'])}),'config':f}),await this[q(0x170)][q(0x152)]({'filePath':e+'.'+f[q(0x173)]['js'],'content':q(0x14c)+i[q(0x179)]+'.'+f['engines']['css']+'\x27;'}));const j=b['dir']?'/'+b[q(0x143)]+'/':'/',k=''+c+j+i[q(0x179)]+'/'+i[q(0x179)];await this['fsi'][q(0x150)](i[q(0x15b)],f,k);});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a118i=a118d;
|
|
1
|
+
const a118i=a118d;(function(a,b){const f=a118d,c=a();while(!![]){try{const d=-parseInt(f(0x15e))/0x1*(-parseInt(f(0x172))/0x2)+-parseInt(f(0x16f))/0x3*(-parseInt(f(0x16b))/0x4)+-parseInt(f(0x169))/0x5+-parseInt(f(0x15f))/0x6+parseInt(f(0x16c))/0x7+-parseInt(f(0x160))/0x8*(-parseInt(f(0x16a))/0x9)+-parseInt(f(0x174))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x3f3d8));function a118d(a,b){const c=a118c();return a118d=function(d,e){d=d-0x15d;let f=c[d];return f;},a118d(a,b);}const a118b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a118d;if(c){const e=c[g(0x16e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){const h=a118d;return a118a[h(0x164)]()[h(0x171)](h(0x16d))['toString']()['constructor'](a118a)[h(0x171)](h(0x16d));});a118a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a118i(0x173),'aliases':['g'],'usage':a118i(0x166),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a118i(0x15d),'examples':[a118i(0x168),a118i(0x165),a118i(0x170),a118i(0x162),a118i(0x163),a118i(0x161),a118i(0x167)]},function(){});function a118c(){const j=['maka\x20g:scaffold\x20todos','maka\x20{generate,\x20g}:<generator>\x20<name>','maka\x20g:dbc\x20geoserver\x20--type=pgsql','maka\x20generate:scaffold\x20todos','2433240wTgbaW','1375605pAhCZx','484NKXSEi','1724359szTZae','(((.+)+)+)+$','apply','12612mDTIMD','maka\x20g:template\x20todos/todo_item','search','2JrBXyE','generate','5802120vwqYjV','Scaffold\x20various\x20parts\x20of\x20your\x20application','378094woVdlh','677478pBUfXM','16FXNADt','maka\x20g:api\x20trucks','maka\x20g:package\x20package:name','maka\x20g:route\x20todos/edit','toString'];a118c=function(){return j;};return a118c();}export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a119m=a119d;(function(a,b){const j=a119d,c=a();while(!![]){try{const d=parseInt(j(
|
|
1
|
+
const a119m=a119d;(function(a,b){const j=a119d,c=a();while(!![]){try{const d=parseInt(j(0x8d))/0x1+-parseInt(j(0x9e))/0x2*(parseInt(j(0xa6))/0x3)+parseInt(j(0x8a))/0x4*(parseInt(j(0x94))/0x5)+-parseInt(j(0x8e))/0x6+-parseInt(j(0x87))/0x7*(-parseInt(j(0x8b))/0x8)+parseInt(j(0x91))/0x9*(parseInt(j(0xa8))/0xa)+-parseInt(j(0x98))/0xb*(parseInt(j(0x92))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xb0cd9));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a119d;if(c){const e=c[k(0x9c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const l=a119d;return a119a['toString']()[l(0xa0)]('(((.+)+)+)+$')[l(0xae)]()[l(0x8c)](a119a)[l(0xa0)](l(0x8f));});a119a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x87;let f=c[d];return f;},a119d(a,b);}function a119c(){const p=['constructor','710493skwgPG','2724102VhWkak','(((.+)+)+)+$','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','8216946BTpYRI','12676140eEwJde','dir','6995fDMlKI','import\x20\x27./methods','appPathPrefix','error','11YlIjId','index.','create','pathFromApp','apply','method/method.js','4106bTJIkt','checkMeteorPackage','search','methods','resourceName','imports','getMakaProjectConfig','maka\x20{generate,\x20g}:{method,\x20m}\x20name','579GxnMur','injectAtEndOfFile','10ZznUdb','-rpc-method.','startup','ddp-rate-limiter','fsi','maka\x20g:method\x20todos','toString','7frKcuM','engines','tsx','2612YerLVq','749936mWVvcA'];a119c=function(){return p;};return a119c();}Generator[a119m(0x9a)]({'name':'method','aliases':['m'],'usage':a119m(0xa5),'checkWhere':!![],'shortDesc':a119m(0x90),'validOpts':[a119m(0x93)],'examples':[a119m(0xad)]},async function(a,b){const n=a119m;try{const c=this['fsi'][n(0xa4)]();await this[n(0xac)]['withValue'](c,async()=>{const o=n,d=paramCase(b[o(0xa2)]),f={'name':b['resourceName'],'fileName':d,'className':pascalCase(b['resourceName']),'camelCase':camelCase(b[o(0xa2)]),'noRename':!![]};let g='js';c['engines']['js']===o(0x89)&&(g='ts');await this[o(0xac)][o(0x9f)](['maka:check',o(0xab),'mdg:validated-method'],{'shouldInstall':!![]}),await this[o(0xac)]['template']({'srcPath':o(0x9d),'destPath':this[o(0xac)][o(0x9b)]({'pathParts':['imports',o(0xaa),b[o(0x96)],o(0xa1),b[o(0x93)],d+o(0xa9)+g]}),'context':f,'config':c});const h=b[o(0x93)]?'/'+b[o(0x93)]+'/':'/',i=this[o(0xac)][o(0x9b)]({'pathParts':[o(0xa3),o(0xaa),b[o(0x96)],o(0x99)+c[o(0x88)]['js']]});await this[o(0xac)][o(0xa7)]({'filePath':i,'content':o(0x95)+h+d+'-rpc-method\x27;'});});}catch(d){Log[n(0x97)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a120o=a120d;(function(a,b){const l=a120d,c=a();while(!![]){try{const d=parseInt(l(0xca))/0x1*(parseInt(l(0xcb))/0x2)+parseInt(l(0xd9))/0x3+parseInt(l(0xbe))/0x4+parseInt(l(0xbb))/0x5*(-parseInt(l(0xba))/0x6)+parseInt(l(0xcc))/0x7+parseInt(l(0xdb))/0x8+parseInt(l(0xc4))/0x9*(-parseInt(l(0xd2))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x6bf25));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a120d;if(c){const e=c[m(0xc1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const n=a120d;return a120a['toString']()[n(0xc5)](n(0xc2))[n(0xc3)]()[n(0xc7)](a120a)[n(0xc5)](n(0xc2));});a120a();import a120e from'path';function a120c(){const r=['pathFromApp','client','42xfnwTq','315545bNijzx','hasOwnProperty','dir','1792680yoLQHH','relative','component','apply','(((.+)+)+)+$','toString','4176JGEFYg','search','resourceName','constructor','.js','pathFromProject','36347eodQMa','2JyFavF','4577720fowhQY','template/template.js','lib','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','tests/client','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','22360oDkkUu','package/package.js','getMakaProjectConfig','layout','package/','store','create','717624RmTqWV','graphql','4349848noMrbw','fsi','engines','theme'];a120c=function(){return r;};return a120c();}import{Generator}from'../generator.js';function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0xb6;let f=c[d];return f;},a120d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';Generator[a120o(0xd8)]({'name':'package','aliases':['p'],'usage':a120o(0xcf),'shortDesc':a120o(0xd1),'validOpts':[a120o(0xbd)],'examples':['maka\x20g:package\x20todos:package']},async function(a,b){const p=a120o,c=paramCase(b[p(0xc6)]),d=this[p(0xdc)][p(0xb8)]({'pathParts':['packages',b[p(0xbd)],c]}),e=this[p(0xdc)]['pathFromAppWithNoReWrite']({'pathParts':['packages',b[p(0xbd)],c,'package.js']}),f=this[p(0xdc)][p(0xd4)]();await this[p(0xdc)]['withValue'](f,async()=>{const q=p,g={'name':paramCase(b['resourceName']),'myPath':a120e[q(0xbf)](this['fsi'][q(0xc9)]({}),d),'cssCaseName':paramCase(b[q(0xc6)]),'className':pascalCase(b[q(0xc6)]),'camelCaseName':camelCase(b[q(0xc6)]),'fileName':c,'client':f['engines'][q(0xb9)],'graphql':f['engines'][q(0xda)],'ssr':f[q(0xb6)]['ssr'],'isComponent':b[q(0xbc)](q(0xc0)),'isLayout':b[q(0xbc)](q(0xd5)),'isStore':b[q(0xbc)](q(0xd7)),'features':f['features'],'noRename':!![],'theme':f[q(0xb6)][q(0xb7)]};await this['fsi']['template']({'srcPath':q(0xd3),'destPath':e,'context':g,'config':f}),g['noRename']=![];const h=d+'/client/'+c+q(0xc8);await this['fsi']['template']({'srcPath':q(0xcd),'destPath':h,'context':g,'config':f});const i=[q(0xce),'server',q(0xd0),'tests/server'];for(const j of i){const k=d+'/'+j+'/'+c+q(0xc8);await this[q(0xdc)]['template']({'srcPath':q(0xd6)+j+'/package.js','destPath':k,'context':g,'config':f});}});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a121l=a121d;(function(a,b){const j=a121d,c=a();while(!![]){try{const d=parseInt(j(
|
|
1
|
+
const a121l=a121d;(function(a,b){const j=a121d,c=a();while(!![]){try{const d=parseInt(j(0x1a6))/0x1+-parseInt(j(0x19d))/0x2*(parseInt(j(0x1a2))/0x3)+-parseInt(j(0x1b3))/0x4*(parseInt(j(0x1ab))/0x5)+-parseInt(j(0x195))/0x6*(parseInt(j(0x1c4))/0x7)+parseInt(j(0x1a3))/0x8+-parseInt(j(0x1ba))/0x9+parseInt(j(0x19c))/0xa*(parseInt(j(0x1c3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x533e6));const a121b=(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;};}()),a121a=a121b(this,function(){const k=a121d;return a121a[k(0x1d0)]()[k(0x18f)]('(((.+)+)+)+$')['toString']()[k(0x18d)](a121a)[k(0x18f)](k(0x1a8));});a121a();import a121e from'path';function a121c(){const o=['create','template','true','dir','toString','warn','maka\x20g:page\x20todos/todos-item','css','hook/hook.js','component','components','setTemplate','constructor','pathFromApp','search','hasOwnProperty','fileName','resourceName','/imports/ui/','className','548670HtORQk','component/component.js','withTranslations','baseDir','layouts','.app-tests.js','fsi','10OhZAJL','2jxUdgb','Updating\x20npm\x20packages\x20...','string','template/template.html','processAndRunGenerator','878649lcOIov','1709192rxuyex','client','html','522390AhEEht','.js','(((.+)+)+)+$','template/template.css','engines','5AvhmPD','page','withHook','injectTemplateModule','test','features','\x27;\x0a','pages','522456xfztgb','withHooks','pathFromProject','installNpmPackage','graphql','root','ramda','5098815WXaPac','getMakaProjectConfig','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','.html','assign','ssr','none','react','/imports/ui/pages','12579919NzVwHF','42fCSUII','checkNpmPackage','hooks','injectAtBeginningOfFile','import\x20\x27./','withValue','layout','api'];a121c=function(){return o;};return a121c();}import{Generator}from'../generator.js';function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x18a;let f=c[d];return f;},a121d(a,b);}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[a121l(0x1cc)]({'name':a121l(0x1ac),'aliases':aliases,'usage':a121l(0x1bc),'shortDesc':'Generate\x20a\x20page.','validOpts':[{'name':a121l(0x198),'values':[a121l(0x1c6),a121l(0x18b),a121l(0x1b2),a121l(0x199)]},{'name':'withHook','boolFlag':!![]}],'examples':[a121l(0x1d2)]},async function(a,b){const m=a121l,c=b[m(0x198)]?m(0x193)+b['baseDir']:m(0x1c2),d=this[m(0x19b)]['pathFromApp'](b),e=this[m(0x19b)][m(0x18e)]({'pathParts':[c,b[m(0x1cf)],paramCase(b[m(0x192)]),paramCase(b[m(0x192)])]}),f=this[m(0x19b)][m(0x1bb)]();let g='';return await this[m(0x19b)][m(0x1c9)](f,async()=>{const n=m;typeof f[n(0x1cd)][n(0x1a5)]==='string'&&(f[n(0x1cd)][n(0x1a5)]=f['template'][n(0x1a5)]===n(0x1ce)?!![]:![],this[n(0x19b)][n(0x18c)](n(0x1a5),f[n(0x1cd)][n(0x1a5)]));typeof f[n(0x1cd)][n(0x1af)]==='string'&&(f[n(0x1cd)][n(0x1af)]=f[n(0x1cd)]['test']===n(0x1ce)?!![]:![],this[n(0x19b)]['setTemplate'](n(0x1af),f['template'][n(0x1af)]));typeof f[n(0x1cd)][n(0x1d3)]==='string'&&(f[n(0x1cd)][n(0x1d3)]=f[n(0x1cd)][n(0x1d3)]==='true'?!![]:![],this[n(0x19b)][n(0x18c)](n(0x1d3),f['template']['css']));typeof f[n(0x1cd)]['js']===n(0x19f)&&(f[n(0x1cd)]['js']=f[n(0x1cd)]['js']===n(0x1ce)?!![]:![],this[n(0x19b)][n(0x18c)]('js',f[n(0x1cd)]['js']));!f[n(0x1b0)]&&(f[n(0x1b0)]={});!b['root']&&!this[n(0x19b)][n(0x1c5)](n(0x1b9))&&(Log[n(0x1d1)](n(0x19e)),this[n(0x19b)][n(0x1b6)](n(0x1b9),{'cwd':d}));const h={'name':pascalCase(b['resourceName']),'myPath':a121e['relative'](this[n(0x19b)][n(0x1b5)]({}),e),'cssCaseName':paramCase(b[n(0x192)]),'className':pascalCase(b[n(0x192)]),'camelCaseName':camelCase(b[n(0x192)]),'fileName':paramCase(b['resourceName']),'graphql':f[n(0x1aa)][n(0x1b7)],'features':f[n(0x1b0)],'client':f[n(0x1aa)]['client'],'api':f[n(0x1aa)][n(0x1cb)],'ssr':f[n(0x1aa)][n(0x1bf)],'isStore':b[n(0x190)]('store'),'isComponent':b[n(0x190)](n(0x18a)),'isLayout':b[n(0x190)](n(0x1ca)),'withTranslations':f[n(0x1b0)][n(0x197)],'test':f[n(0x1aa)][n(0x1af)],'theme':f[n(0x1aa)]['theme']};f['template'][n(0x1a5)]&&await this[n(0x19b)][n(0x1cd)]({'srcPath':n(0x1a0),'destPath':e+n(0x1bd),'context':h,'config':f});f[n(0x1b0)]?.[n(0x1b4)]||b[n(0x1ad)]?await this[n(0x19b)][n(0x1cd)]({'srcPath':n(0x1d4),'destPath':e+n(0x1a7),'framework':n(0x1c1),'context':h,'config':f}):await this[n(0x19b)][n(0x1cd)]({'srcPath':n(0x196),'destPath':e+n(0x1a7),'framework':n(0x1c1),'context':h,'config':f});f[n(0x1aa)]['test']!==n(0x1c0)&&await this[n(0x19b)][n(0x1cd)]({'srcPath':'test/test.js','destPath':e+n(0x19a),'framework':n(0x1c1),'context':h,'config':f});f[n(0x1cd)]['css']&&await this[n(0x19b)][n(0x1cd)]({'srcPath':n(0x1a9),'destPath':e+'.css','context':Object[n(0x1be)]({},h,{'className':paramCase(b['resourceName'])}),'config':f});f[n(0x1aa)]['client']!==n(0x1c1)&&f[n(0x1aa)][n(0x1a4)]!=='vanilla'?(f[n(0x1cd)]['css']&&await this['fsi'][n(0x1c7)]({'filePath':e+'.'+f[n(0x1aa)]['js'],'content':n(0x1c8)+h[n(0x191)]+'.'+f[n(0x1aa)][n(0x1a5)]+n(0x1b1)+n(0x1c8)+h[n(0x191)]+'.'+f[n(0x1aa)]['css']+'\x27;'}),!f['template']['css']&&await this[n(0x19b)]['injectAtBeginningOfFile']({'filePath':e+'.'+f[n(0x1aa)]['js'],'content':n(0x1c8)+h[n(0x191)]+'.'+f['engines'][n(0x1a5)]+'\x27;'})):f['template']['css']&&await this[n(0x19b)][n(0x1c7)]({'filePath':e+'.'+f[n(0x1aa)]['js'],'content':n(0x1c8)+h['fileName']+'.'+f[n(0x1aa)]['css']+'\x27;'});const i=b[n(0x1cf)]?'/'+b[n(0x1cf)]+'/':'/';g=''+c+i+h[n(0x191)]+'/'+h['fileName'],await this[n(0x19b)][n(0x1ae)](h[n(0x194)],f,g),!b[n(0x1b8)]&&await a121f[n(0x1a1)]('route',[i+b[n(0x192)]],b);}),g+'.'+f[m(0x1aa)]['js'];});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0xf3;let f=c[d];return f;},a122d(a,b);}const a122j=a122d;(function(a,b){const h=a122d,c=a();while(!![]){try{const d=-parseInt(h(0xf9))/0x1*(parseInt(h(0x106))/0x2)+parseInt(h(0x10c))/0x3*(parseInt(h(0xfc))/0x4)+-parseInt(h(0xff))/0x5*(parseInt(h(0x105))/0x6)+parseInt(h(0xf5))/0x7+parseInt(h(0x102))/0x8*(-parseInt(h(0xf6))/0x9)+-parseInt(h(0xfb))/0xa+parseInt(h(0x107))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xbc610));const a122b=(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;};}()),a122a=a122b(this,function(){const i=a122d;return a122a['toString']()['search'](i(0xf3))[i(0x100)]()['constructor'](a122a)[i(0x10a)](i(0xf3));});a122a();import{paramCase}from'change-case';import{Generator}from'../generator.js';Generator[a122j(0xfd)]({'name':a122j(0xf4),'aliases':['p'],'usage':a122j(0x108),'shortDesc':a122j(0x101),'validOpts':[],'examples':['maka\x20g:publish\x20todos']},async function(a,b){const k=a122j,c=this[k(0xf8)][k(0xf7)]();await this[k(0xf8)]['withValue'](c,async()=>{const l=k,d={'name':b[l(0x104)],'collection':paramCase(b[l(0x104)]),'noRename':!![]};let e='js';c[l(0x103)]['js']==='tsx'&&(e='ts');const f=this[l(0xf8)]['rewriteDestinationPathForEngine']({'pathParts':[l(0xfa)+c[l(0x103)]['js']]}),g=this[l(0xf8)][l(0x10b)]({'srcPath':l(0xfe)+e,'context':d,'config':c});await this[l(0xf8)][l(0x109)]({'filePath':f,'content':'\x0a'+g});});});function a122c(){const m=['1522496JNvVTu','14586297LjffwE','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','injectAtEndOfFile','search','templateContent','2124459DUFFbH','(((.+)+)+)+$','publish','9529919WPulmr','215379TQKzjB','getMakaProjectConfig','fsi','1QGUWrS','server/publish.','7730980iapDzY','4omQnpb','create','publish/publish.','15Smjkbj','toString','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','56WBsyFD','engines','resourceName','1844268fOmSRb'];a122c=function(){return m;};return a122c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a123B=a123d;(function(a,b){const y=a123d,c=a();while(!![]){try{const d
|
|
1
|
+
const a123B=a123d;(function(a,b){const y=a123d,c=a();while(!![]){try{const d=-parseInt(y(0x190))/0x1+parseInt(y(0x18a))/0x2*(-parseInt(y(0x16f))/0x3)+-parseInt(y(0x1c1))/0x4*(-parseInt(y(0x1a4))/0x5)+parseInt(y(0x16e))/0x6*(-parseInt(y(0x1be))/0x7)+-parseInt(y(0x18f))/0x8*(parseInt(y(0x1bb))/0x9)+-parseInt(y(0x182))/0xa*(parseInt(y(0x195))/0xb)+parseInt(y(0x188))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x5f323));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const z=a123d;if(c){const e=c[z(0x19a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const A=a123d;return a123a[A(0x1a7)]()['search'](A(0x193))['toString']()[A(0x1ac)](a123a)[A(0x19d)](A(0x193));});a123a();import a123e from'path';import{Generator}from'../generator.js';function a123c(){const K=['search','/imports/ui/','layout','PrivateLayout','includes','routes.js','pages','5965OJcxpz','startup','cwd','toString','engines','Adding\x20route\x20','injectAtEndOfFile','/imports/ui/pages','constructor','newForm','getMakaProjectConfig','const\x20publicRoutes\x20=\x20(<>','resourceName','\x20already\x20exists.\x20\x20Skipping.','pathFromApp','maka\x20g:route\x20pages/about','hooks','pop','filter','split','private','lib','templateName','1943433zXYTGG','ssr','dir','329KsmhRL','injectAfterLineNumber','\x20to\x20','332nofdPT','maka\x20{generate,\x20g}:{route,\x20r}\x20[path/]<name>','43116CwfAzd','225tMPepZ','imports','baseDir','fileContainsString','config','templateContent','\x0a\x09\x09','url','MasterLayout','warn','info','error','import\x20*\x20as\x20Component\x20from\x20\x27./templates\x27;','route','replace','react','rewriteDestinationPathForEngine','components','withHook','10EjxGHW','Scaffolding\x20for\x20a\x20Route.','readFileLines','client','length','Valid\x20options\x20are:\x20','23610036sHgnNG','fsi','9838kqVyMZ','true','layouts','indexOf','route/route.js','8fgIEfX','65368bIrVbw','map','Invalid\x20directory\x20option\x20\x22','(((.+)+)+)+$','const\x20privateRoutes\x20=\x20(<>','7574897WzlALE','Please\x20specify\x20a\x20name\x20for\x20the\x20route.','join','create','maka\x20g:route\x20todosEdit\x20todos/:id/edit','apply','only','injectIntoFile'];a123c=function(){return K;};return a123c();}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-0x16d;let f=c[d];return f;},a123d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['r'];Generator[a123B(0x198)]({'name':a123B(0x17c),'aliases':aliases,'validOpts':[a123B(0x1b8),a123B(0x19f),a123B(0x19b),a123B(0x1a6),a123B(0x173),'root',a123B(0x181),a123B(0x176),a123B(0x171)],'usage':a123B(0x16d),'shortDesc':a123B(0x183),'examples':['maka\x20g:route\x20todosIndex\x20todos',a123B(0x199),'maka\x20g:route\x20usersShow\x20users/:id/show\x20--layout\x20userView','maka\x20g:route\x20pages/lists/listIndex\x20lists',a123B(0x1b3)]},async function(a,b){const C=a123B;try{const c=[C(0x1b4),C(0x180),C(0x1a3),C(0x18c)];if(b['baseDir']&&!c[C(0x1a1)](b[C(0x171)])){Log[C(0x17a)](C(0x192)+b[C(0x171)]+'\x22'),Log[C(0x17a)](C(0x187)+c[C(0x197)](',\x20'));throw new UsageError();}const d=this['fsi'][C(0x1ae)]();await this['fsi']['withValue'](d,async()=>{const D=C,f=b[D(0x1b8)]??![];let g=b[D(0x1b0)][D(0x1b7)]('/')[D(0x1b5)]();if(!g){Log[D(0x17a)](D(0x196));throw new UsageError();}g=pascalCase(g);let h='/'+b[D(0x1b0)];a[D(0x186)]>0x1&&(h='/'+a[D(0x1b6)](function(n){return n!=='/';})[D(0x197)]('/')['toLowerCase']());h=h[D(0x17d)](/\/\//g,'/');b[D(0x19f)]&&(b[D(0x19f)]=camelCase(b[D(0x19f)]));const i=b[D(0x171)]?D(0x19e)+b[D(0x171)]:D(0x1ab),j=a123e[D(0x197)](i,b[D(0x1bd)],g,paramCase(g)),k={'name':g,'fileCase':paramCase(g),'camelCaseName':camelCase(g),'url':h,'layout':b['layout']||D(0x177),'templatePath':j,'templateName':pascalCase(g),'client':d[D(0x1a8)]['client'],'newForm':![],'withTranslations':d['features']['withTranslations']};f&&(k[D(0x19f)]=D(0x1a0));let l,m;if(d[D(0x1a8)][D(0x185)]===D(0x17e)){if(d[D(0x1a8)][D(0x1bc)]===D(0x18b)){const r=this[D(0x189)][D(0x1b2)]({'pathParts':[D(0x170),D(0x1a5),D(0x1b9),'routes.js']});l=this['fsi'][D(0x17f)]({'pathParts':[r],'config':d});}else{const s=this['fsi']['pathFromApp']({'pathParts':['imports',D(0x1a5),D(0x185),D(0x1a2)]});l=this['fsi'][D(0x17f)]({'pathParts':[s],'config':d});}const n=await this['fsi'][D(0x172)](l,g);if(n){Log[D(0x178)]('Route\x20'+g+D(0x1b1));return;}else{const t=this[D(0x189)]['pathFromProject'](l);Log[D(0x179)](D(0x1a9)+g+D(0x1c0)+l[D(0x17d)](t,''));}const o=this['fsi'][D(0x184)](l)[D(0x191)]((u,v)=>{const E=D;return u['includes'](E(0x17b))?v+0x1:null;})['filter'](u=>u!==null);let p=this[D(0x189)][D(0x184)](l)['map']((u,v)=>{const F=D;return u[F(0x1a1)](F(0x1af))?v+0x1:null;})['filter'](u=>u!==null),q=this['fsi']['readFileLines'](l)['map']((u,v)=>{const G=D;return u['includes'](G(0x194))?v+0x1:null;})[D(0x1b6)](u=>u!==null);p[D(0x186)]>0x0&&q[D(0x186)]>0x0&&(k[D(0x1ad)]=!![]);m=this[D(0x189)][D(0x174)]({'srcPath':D(0x18e),'framework':'react','context':k,'config':d});if(p[D(0x186)]>0x0||q[D(0x186)]>0x0){this[D(0x189)][D(0x1bf)]({'filePath':l,'content':m,'lineNumber':o[0x0]});if(f&&q['length']>0x0)q=this[D(0x189)][D(0x184)](l)[D(0x191)]((u,v)=>{const H=D;return u[H(0x1a1)](H(0x194))?v+0x1:null;})[D(0x1b6)](u=>u!==null),this[D(0x189)][D(0x1bf)]({'filePath':l,'content':'\x09{'+k[D(0x1ba)]+'}','lineNumber':q[0x0]});else p[D(0x186)]>0x0?(p=this[D(0x189)]['readFileLines'](l)[D(0x191)]((u,v)=>{const I=D;return u[I(0x1a1)](I(0x1af))?v+0x1:null;})[D(0x1b6)](u=>u!==null),this[D(0x189)]['injectAfterLineNumber']({'filePath':l,'content':'\x09{'+k['templateName']+'}','lineNumber':p[0x0]})):Log['warn']('Could\x20not\x20find\x20a\x20suitable\x20location\x20to\x20enable\x20this\x20route.\x20\x20Please\x20inspect\x20'+l);}else{const u=this[D(0x189)][D(0x184)](l)[D(0x191)](x=>{const J=D;return x[J(0x1a1)]('\x22*\x22');}),v=u[D(0x18d)](!![])>-0x1,w=v?'<Route':'</Router>';await this[D(0x189)][D(0x19c)]({'filePath':l,'content':'\x0a\x09\x09'+m+D(0x175),'begin':'<Router','end':w});}}else{if(d[D(0x1a8)][D(0x185)]==='vanilla'){const x=this[D(0x189)][D(0x1b2)]({'pathParts':[D(0x170),D(0x1a5),D(0x185),D(0x1a2)]});l=this['fsi'][D(0x17f)]({'pathParts':[x],'config':d}),m=this[D(0x189)][D(0x174)]({'srcPath':'route/route.js','context':k}),await this['fsi'][D(0x1aa)]({'filePath':l,'content':'\x0a'+m});}}});}catch(f){Log[C(0x17a)](f);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a124l=a124d;(function(a,b){const j=a124d,c=a();while(!![]){try{const d=-parseInt(j(0x1d8))/0x1*(parseInt(j(0x1f2))/0x2)+parseInt(j(0x1f4))/0x3*(parseInt(j(0x1df))/0x4)+parseInt(j(0x1d2))/0x5*(-parseInt(j(0x1e7))/0x6)+-parseInt(j(0x1db))/0x7*(-parseInt(j(0x1d7))/0x8)+parseInt(j(0x1da))/0x9+parseInt(j(0x1d4))/0xa*(-parseInt(j(0x1e6))/0xb)+parseInt(j(0x1f5))/0xc*(-parseInt(j(0x1cf))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0xdd4ff));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(0x1dd)]()[k(0x1d1)]('(((.+)+)+)+$')[k(0x1dd)]()[k(0x1dc)](a124a)[k(0x1d1)](k(0x1ef));});function a124c(){const o=['service','104GikpuO','error','template','logger','withValue','engines','create','564883mBUnHo','4081368KPukEz','fsi','maka\x20{generate,\x20g}:{service}\x20<resource-name>','Generate\x20a\x20service\x20to\x20run\x20within\x20your\x20meteor\x20application.','checkNpmPackage','lib','getMakaProjectConfig','resourceName','(((.+)+)+)+$','services','installNpmPackage','8gskMCe','type','65874OYePyR','11376qTySTV','10699ZaoCAR','Installing\x20winston','search','5DzARHS','imports','110ZRggUW','service/logger/logger.js','pathFromApp','11810376cHhtbK','106622JURQEy','svc','11799837JAzxBg','7aSNrmP','constructor','toString'];a124c=function(){return o;};return a124c();}a124a();import{camelCase,paramCase,pascalCase}from'change-case';function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x1cf;let f=c[d];return f;},a124d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a124l(0x1e5)]({'name':a124l(0x1de),'aliases':[a124l(0x1d9)],'usage':a124l(0x1e9),'shortDesc':a124l(0x1ea),'requiredOpts':[{'name':a124l(0x1f3),'values':[a124l(0x1e2)]}],'validOpts':[],'maxArgLength':0x1,'examples':['maka\x20g:svc\x20service-logger\x20--type=logger']},async function(a,b){const m=a124l;try{const c=this['fsi'][m(0x1ed)]();await this[m(0x1e8)][m(0x1e3)](c,async()=>{const n=m,d=this[n(0x1e8)]['pathFromApp']({}),f=paramCase(b[n(0x1ee)]),g={'name':pascalCase(b[n(0x1ee)]),'fileName':f,'camelCase':camelCase(b[n(0x1ee)]),'type':b[n(0x1f3)],'engine':c['engines']['js'],'noRename':!![]};let h='js';c[n(0x1e4)]['js']==='tsx'&&(h='ts');if(b['type']===n(0x1e2)){!this[n(0x1e8)][n(0x1eb)]('winston')&&await this['fsi'][n(0x1f1)]('winston\x20setimmediate',{'cwd':d,'msg':n(0x1d0)});const i=this[n(0x1e8)][n(0x1d6)]({'pathParts':[n(0x1d3),'startup',n(0x1ec),n(0x1f0),f+'.'+h]});await this[n(0x1e8)][n(0x1e1)]({'srcPath':n(0x1d5),'destPath':i,'context':g,'config':c});}});}catch(d){Log[m(0x1e0)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a125d,c=a();while(!![]){try{var d=-parseInt(f(0x1f9))/0x1*(-parseInt(f(0x1fd))/0x2)+parseInt(f(0x1fb))/0x3*(parseInt(f(0x1fc))/0x4)+parseInt(f(0x1f7))/0x5*(parseInt(f(0x1f6))/0x6)+parseInt(f(0x1f3))/0x7+parseInt(f(0x1fe))/0x8*(-parseInt(f(0x1f4))/0x9)+-parseInt(f(0x1f8))/0xa+-parseInt(f(0x1f5))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x476d0));function a125c(){var i=['29405xrYeLH','4673970issbYr','4493ReaOAW','constructor','46695ZFRSsj','148ihhpMt','146uBvEZC','2815304ggCEVA','apply','(((.+)+)+)+$','toString','search','3377962FcseUR','9VVzvfO','4896529zvokOn','174CppHdj'];a125c=function(){return i;};return a125c();}var a125b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a125d;if(c){var e=c[g(0x1ff)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){var h=a125d;return a125a[h(0x201)]()[h(0x1f2)](h(0x200))[h(0x201)]()[h(0x1fa)](a125a)[h(0x1f2)](h(0x200));});a125a();function a125d(a,b){var c=a125c();return a125d=function(d,e){d=d-0x1f2;var f=c[d];return f;},a125d(a,b);}import'./translation.js';import'./openssl.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a126l=a126d;(function(a,b){const i=a126d,c=a();while(!![]){try{const d
|
|
1
|
+
const a126l=a126d;(function(a,b){const i=a126d,c=a();while(!![]){try{const d=-parseInt(i(0x1b9))/0x1*(parseInt(i(0x1ad))/0x2)+-parseInt(i(0x1aa))/0x3*(parseInt(i(0x1be))/0x4)+parseInt(i(0x1ab))/0x5*(-parseInt(i(0x1b8))/0x6)+parseInt(i(0x1ba))/0x7*(-parseInt(i(0x1bb))/0x8)+parseInt(i(0x1a7))/0x9*(parseInt(i(0x1c0))/0xa)+parseInt(i(0x1b0))/0xb*(-parseInt(i(0x1c6))/0xc)+parseInt(i(0x1c1))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0xc192d));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a126d;if(c){const e=c[j(0x1a4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const k=a126d;return a126a[k(0x1bd)]()['search'](k(0x1b6))[k(0x1bd)]()[k(0x1ae)](a126a)[k(0x1bf)](k(0x1b6));});a126a();function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x1a4;let f=c[d];return f;},a126d(a,b);}import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';import a126e from'path';Generator[a126l(0x1b4)]({'name':a126l(0x1ac),'usage':a126l(0x1b3),'shortDesc':'Generate\x20a\x20new\x20openssl\x20config\x20file','noNeedResource':!![],'requiredOpts':[a126l(0x1c5)],'examples':[a126l(0x1c4)],'validOpts':[]},async function(a,b){const m=a126l;try{const c=await this[m(0x1bc)][m(0x1af)](),d=await this[m(0x1bc)][m(0x1a9)](),f=this[m(0x1bc)][m(0x1b2)](b[m(0x1c5)]),g=a126e[m(0x1a8)](f,m(0x1a5),m(0x1b7));await this[m(0x1bc)][m(0x1c2)](c,async()=>{const n=m,h={'app':d[n(0x1a6)],'noRename':!![]};await this['fsi'][n(0x1b1)]({'srcPath':n(0x1c3),'destPath':g,'framework':'service','context':h,'config':c});});}catch(h){Log[m(0x1b5)](h);}});function a126c(){const o=['maka\x20{generate,\x20g}:sslconfig','create','error','(((.+)+)+)+$','openssl.conf','6DegaRL','885626aMSvJY','10245305XaLasX','8IFDLWS','fsi','toString','456hGBZzk','search','157120zhccuC','74865999AdJYcX','withValue','openssl/openssl.conf','maka\x20g:sslconfig\x20--env\x20dev','env','12pWbPuk','apply','_keys','appName','288VSjGKd','join','getGlobalConfig','35898tvvMNh','3090610JRKnnp','sslconfig','2kgGQDW','constructor','getMakaProjectConfig','12510773XvsbZk','template','getAppConfigPath'];a126c=function(){return o;};return a126c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a127A=a127d;(function(a,b){const x=a127d,c=a();while(!![]){try{const d
|
|
1
|
+
const a127A=a127d;(function(a,b){const x=a127d,c=a();while(!![]){try{const d=-parseInt(x(0xb5))/0x1+-parseInt(x(0xa2))/0x2+-parseInt(x(0xa0))/0x3+-parseInt(x(0xd0))/0x4*(-parseInt(x(0xda))/0x5)+parseInt(x(0xc6))/0x6*(-parseInt(x(0xab))/0x7)+-parseInt(x(0xb4))/0x8+parseInt(x(0xb6))/0x9*(parseInt(x(0xd3))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x5c606));function a127c(){const D=['services','i18n/locales.js','engines','maka\x20g:translation\x20--lang=en\x20(default)','\x20}\x20from\x20\x27./','constructor','translations','findAppDirectory','rewriteDestinationPathForEngine','4VTctNr','(((.+)+)+)+$','template','1510cpppuf','index.','service','\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','features.withTranslations','Locale\x20already\x20defined:\x20','apply','1850735oRGUzC','appName','Verifying\x20npm\x20package\x20requirements:\x20i18next\x20...','installNpmPackage','readFileSync','i18n.js','warn','grep','771867rakqDs','withValue','1287840JlFhpZ','injectAtBeginningOfFile','exit','Generate\x20a\x20new\x20locale\x20translation','isFile','export\x20{\x20default\x20as\x20','lib','injectAtEndOfFile','pathFromApp','1792ZlpqQN','import\x20\x27../lib/services/translations/i18n\x27;','imports','error','i18next','.js','root','import\x20\x27../lib/services/translations/i18n\x27;\x0a','server','5391520RpxyKk','409737tyLSik','138951xDvLuW','Locale\x20already\x20exported:\x20','maka\x20g:translation\x20--lang=de','search','getGlobalConfig','locales','lang','toString','fsi','index.js','startup','maka\x20{generate,\x20g}:translation','true','setProjectConfig','create','ssr','7926OvtXDs'];a127c=function(){return D;};return a127c();}function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x9c;let f=c[d];return f;},a127d(a,b);}const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a127d;if(c){const e=c[y(0xd9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const z=a127d;return a127a[z(0xbd)]()[z(0xb9)](z(0xd1))[z(0xbd)]()[z(0xcc)](a127a)[z(0xb9)](z(0xd1));});a127a();import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';import a127e from'fs';Generator[a127A(0xc4)]({'name':'translation','usage':a127A(0xc1),'aliases':['t'],'noNeedResource':!![],'requiredOpts':[{'name':a127A(0xbc),'boolFlag':![],'regex':/^[a-z]{2}$/}],'shortDesc':a127A(0xa5),'description':a127A(0xd6),'examples':[a127A(0xca),'maka\x20g:translation\x20--lang=fr',a127A(0xb8)],'validOpts':[]},async function(a,b){const B=a127A;try{const c=this['fsi']['getMakaProjectConfig'](),d=this[B(0xbe)][B(0xba)](),f=this[B(0xbe)][B(0xce)]();await this['fsi'][B(0xa1)](c,async()=>{const C=B;try{!b[C(0xbc)]&&(b[C(0xbc)]='en');!b[C(0xb1)]&&!this[C(0xbe)]['checkNpmPackage'](C(0xaf))&&(Log[C(0x9e)](C(0xdc)),this['fsi'][C(0xdd)]('i18next\x20i18next-browser-languagedetector\x20react-i18next',{'cwd':f}),this['fsi'][C(0xc3)](C(0xd7),!![]));const g=this[C(0xbe)]['pathFromApp']({'pathParts':['imports',C(0xc0),'client',C(0xbf)]}),h=this['fsi'][C(0xcf)]({'pathParts':[g],'config':c}),i=this[C(0xbe)][C(0x9f)](a127e[C(0x9c)](h)[C(0xbd)](),C(0xac))[0x0]&&!![];if(c[C(0xc9)][C(0xc5)]===C(0xc2)){!i&&this[C(0xbe)][C(0xa3)]({'filePath':h,'content':'import\x20\x27../lib/services/translations/i18n\x27;\x0a'});const t=this['fsi'][C(0xaa)]({'pathParts':[C(0xad),C(0xc0),C(0xb3),C(0xbf)]}),u=this['fsi'][C(0xcf)]({'pathParts':[t],'config':c}),v=this[C(0xbe)][C(0x9f)](a127e['readFileSync'](u)[C(0xbd)](),C(0xac))[0x0]&&!![];!v&&this['fsi'][C(0xa3)]({'filePath':u,'content':C(0xb2)});}else!i&&this['fsi'][C(0xa3)]({'filePath':h,'content':C(0xb2)});const j={'app':d[C(0xdb)],'config':c},k=this[C(0xbe)][C(0xaa)]({'pathParts':[C(0xad),C(0xc0),C(0xa8),C(0xc7),C(0xcd),C(0x9d)]}),l=this[C(0xbe)][C(0xa6)](this['fsi'][C(0xcf)]({'pathParts':[k],'config':c}));!l&&await this[C(0xbe)][C(0xd2)]({'srcPath':'i18n/i18n.js','destPath':k,'framework':'service','context':j,'config':c});const m=this[C(0xbe)][C(0xaa)]({'pathParts':[C(0xad),C(0xc0),C(0xa8),'services',C(0xcd),'locales',b[C(0xbc)]+C(0xb0)]}),n=this[C(0xbe)][C(0xcf)]({'pathParts':[m],'config':c}),o=this['fsi'][C(0xa6)](n);!o?await this[C(0xbe)]['template']({'srcPath':C(0xc8),'destPath':m,'framework':'service','context':j,'config':c}):Log['warn'](C(0xd8)+n);const p=this[C(0xbe)][C(0xaa)]({'pathParts':[C(0xad),'startup',C(0xa8),C(0xc7),C(0xcd),C(0xbb),C(0xd4)+c[C(0xc9)]['js']]}),q=this['fsi'][C(0xcf)]({'pathParts':[p],'config':c}),r=this[C(0xbe)]['isFile'](q);!r&&await this['fsi']['template']({'srcPath':'i18n/index.js','destPath':p,'framework':C(0xd5),'context':j,'config':c});const s=this[C(0xbe)][C(0x9f)](a127e[C(0x9c)](p)['toString'](),'default\x20as\x20'+b[C(0xbc)])[0x0]&&!![];!s?await this[C(0xbe)][C(0xa9)]({'filePath':p,'content':C(0xa7)+b['lang']+C(0xcb)+b[C(0xbc)]+'\x27;'}):Log[C(0x9e)](C(0xb7)+p);}catch(w){Log[C(0xae)](w),process[C(0xa4)](0x1);}});}catch(g){Log['error'](g),process[B(0xa4)](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(0x89))/0x1*(parseInt(j(0x83))/0x2)+-parseInt(j(0x90))/0x3*(-parseInt(j(0x8a))/0x4)+-parseInt(j(0x98))/0x5+parseInt(j(0x84))/0x6+parseInt(j(0x95))/0x7*(parseInt(j(0x82))/0x8)+-parseInt(j(0x81))/0x9*(parseInt(j(0x7d))/0xa)+-parseInt(j(0x8c))/0xb*(parseInt(j(0x93))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x1cd17));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(0x86)]()[l(0x96)](l(0x8e))[l(0x86)]()[l(0x7e)](a128a)[l(0x96)]('(((.+)+)+)+$');});function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x7d;let f=c[d];return f;},a128d(a,b);}a128a();function a128c(){const n=['171826FKwntq','1025868fjyrYO','--max-old-space-size=','toString','TOOL_NODE_FLAGS','parse','1BLrEYu','16IhGXeq','floor','11eWAxTS','env','(((.+)+)+)+$','run','78693CgpRDB','NODE_NO_WARNINGS','apply','2291088NGhjfD','stringify','21FMnXiC','search','camelizeKeys','43675lkbEWE','dirname','234610EFFUZZ','constructor','slice','MAKA_COMMAND_PATH','72lQFQjg','382856PqYiCJ'];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';const __filename=fileURLToPath(import.meta['url']),__dirname=a128g[a128m(0x99)](__filename);global[a128m(0x80)]=__dirname;const total_memory=a128f['totalmem'](),total_mem_in_kb=total_memory/0x400;let total_mem_in_mb=total_mem_in_kb/0x400;total_mem_in_mb=Math[a128m(0x8b)](total_mem_in_mb),process['env'][a128m(0x87)]=a128m(0x85)+total_mem_in_mb,process[a128m(0x8d)]['BROWSERSLIST_IGNORE_OLD_DATA']='1',process[a128m(0x8d)][a128m(0x91)]='1';const argv=a128e(process['argv'][a128m(0x7f)](0x2)),args=argv['_'],deepCopyArgv=JSON[a128m(0x88)](JSON[a128m(0x94)](argv));delete deepCopyArgv['_'];const opts=a128h[a128m(0x97)](deepCopyArgv);a128i[a128m(0x8f)](args,opts);
|
package/bundle/obf/src/tool.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a129K=a129d;(function(a,b){const I=a129d,c=a();while(!![]){try{const d=parseInt(I(0x1a3))/0x1+-parseInt(I(0x1b0))/0x2*(parseInt(I(0x1d7))/0x3)+parseInt(I(0x1cc))/0x4+-parseInt(I(0x1d1))/0x5*(parseInt(I(0x19d))/0x6)+-parseInt(I(0x1db))/0x7*(parseInt(I(0x1b5))/0x8)+parseInt(I(0x1b3))/0x9+parseInt(I(0x1ae))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xd4f28));const a129b=(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;};}()),a129a=a129b(this,function(){const J=a129d;return a129a[J(0x1d2)]()[J(0x193)](J(0x1b2))[J(0x1d2)]()['constructor'](a129a)['search'](J(0x1b2));});a129a();import a129e from'path';import a129f from'os';import a129g from'fs';const homeDir=a129f[a129K(0x1de)]();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 a3=['getAppProjectConfigs','getShortName','Please\x20choose\x20an\x20environment','3481296IRtmPA','\x22,\x20please\x20upgrade\x20to\x20PRO\x20by\x20becoming\x20a\x20pateron\x20@\x20patreon.com/user?u=110174702,\x20then\x20issue:\x20\x27maka\x20login\x27','.meteor','roles','Please\x20choose\x20a\x20valid\x20value\x20for\x20','5817140bfYWhl','toString','Invalid\x20value\x20for\x20','ask','docker','validateUserIsLoggedIn','69lLnRBs','exit','concat','isGenerator','7CKLLkh','Invalid\x20option:\x20','proGenerators','homedir','getPro','proCommands','AppData','map','_handler','list','every','search','join','shortDesc','parent','platform','includes','length','dir','singleLicense','resourceName','6PnIYTd','getGlobalConfig','description','cwd','Invalid\x20argument:\x20','config','1376965LpKbAx','find','No\x20usage\x20provided.','validateEngines','validateMeteorInstall','formatToNamedParam','error','isCommand','To\x20use\x20this\x20generator,\x20\x22','existsSync','name','9935740yejhtF','env','40218zxIFnu','push','(((.+)+)+)+$','6569811LulMsn','options','11781400niJPji','help','indexOf','aliases','getMakaProjectConfig','remapShortToLong','validateParams','keys','To\x20use\x20this\x20command,\x20\x22','NIE','charAt','Please\x20provide\x20a\x20resource\x20name:','usage','fsi','examples','validateMakaSubscription','domainLicense','You\x20must\x20have\x20','assign','match'];a129c=function(){return a3;};return a129c();}function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x18c;let f=c[d];return f;},a129d(a,b);}export class Tool{['docker'];[a129K(0x1c2)];[a129K(0x1b4)];[a129K(0x1ad)];['parent'];[a129K(0x190)];constructor(){const L=a129K;this[L(0x1d5)]=new Docker(),this[L(0x1c2)]=new FSI();}[a129K(0x1ca)](a){const M=a129K;return a[M(0x1bf)](0x0);}[a129K(0x1ba)](a,b){const N=a129K,c=this[N(0x1a8)](b),d={...a};for(const e of c){const f=this[N(0x1ca)](e['name']);a[f]&&(d[e[N(0x1ad)]]=a[f],delete d[f]);}return d;}[a129K(0x1a8)](a){const O=a129K;if(a[O(0x192)](b=>typeof b==='string'))return a[O(0x18f)](b=>({'name':b}));return a;}[a129K(0x1c8)](a){const P=a129K,b=[this['name']][P(0x1d9)](this[P(0x1b4)][P(0x1b8)]||[]);return this['parent']&&b[P(0x1b1)](this[P(0x196)]),b[P(0x198)](a);}['validateMakaProject'](){const Q=a129K,a=this[Q(0x1c2)]['findProjectDirectory']();return a!==![]?!![]:![];}async[a129K(0x1d6)](){const R=a129K,a=await this['fsi'][R(0x19e)]();return a['token']?!![]:![];}[a129K(0x1a7)](){const S=a129K;let a=a129e['join'](homeDir,S(0x1ce));const b=process[S(0x197)]==='win32';if(b){a=a129e[S(0x194)](homeDir,S(0x18e),'Local','.meteor');if(!a129g[S(0x1ac)](a))return![];}else{if(!a129g[S(0x1ac)](a))return![];}return!![];}[a129K(0x1a6)](a){const T=a129K,b=this[T(0x1c2)][T(0x1b9)](),c=b['engines'],d=Object[T(0x1bc)](a);if(d[T(0x199)]>0x0)for(const e of d){const f=c[e];if(f!==a[e]){Log[T(0x1a9)](T(0x1c6)+e+'\x20version\x20'+a[e]+'\x20installed\x20to\x20use\x20this\x20command.');throw UsageError;}}}async[a129K(0x1bb)](a,b,c){const U=a129K,{requiredOpts:d,validArgs:e,validOpts:f,noNeedResource:g}=c,h=Object[U(0x1bc)](b);if(h[U(0x198)](U(0x19c))&&b[U(0x19c)]===undefined&&!g){const m=await Actions[U(0x1d4)](U(0x1c0));b[U(0x19c)]=m;}let i=[],j=b;if(d){i=this['formatToNamedParam'](d),j=this[U(0x1ba)](b,i);if(i&&i?.['length']>0x0)for(const n of i){const {name:o,values:p,regex:q}=n;if(!Object[U(0x1bc)](j)[U(0x198)](o)){if(o===U(0x1af)){const r=this[U(0x1c2)][U(0x1c9)](),s=await Actions[U(0x1b4)]({'type':U(0x191),'name':U(0x1af),'message':U(0x1cb),'choices':r});b['env']=s[U(0x1af)];}else{const t=p;if(t){const u=await Actions[U(0x1b4)]({'type':U(0x191),'name':o,'message':'Please\x20choose\x20a\x20value\x20for\x20'+o,'choices':p});b[o]=u[o];}else{if(q){const v=await Actions[U(0x1d4)]('Please\x20provide\x20a\x20value\x20for\x20'+o);if(v['match'](q))b[o]=v;else{Log[U(0x1a9)](U(0x1d3)+o+':\x20'+v);throw new UsageError();}}else{const w=await Actions[U(0x1d4)]('Please\x20provide\x20a\x20value\x20for\x20'+o);b[o]=w;}}}}else{const x=j[o];if(p&&!p['includes'](x)){Log[U(0x1a9)](U(0x1d3)+o+':\x20'+x);throw new UsageError();}}}}let k=this[U(0x1a8)](f),l=b;if(k&&Object[U(0x1bc)](k)?.[U(0x199)]>0x0){k=k[U(0x1d9)](i||[]),k[U(0x1b1)]({'name':U(0x19c),'hidden':!![]}),k[U(0x1b1)]({'name':U(0x1b6),'boolFlag':!![]}),k[U(0x1b1)]({'name':U(0x19a),'hidden':!![]}),k[U(0x1b1)]({'name':U(0x1a0),'hidden':!![]}),k[U(0x1b1)]({'name':'root','hidden':!![]}),k[U(0x1b1)]({'name':U(0x1a2),'hidden':!![]}),l=this[U(0x1ba)](b,k);for(const y of k){const {name:z,values:A}=y,B=l[z];if(B!==undefined&&(!A||!A[U(0x198)](B))){const C=A;if(C){const D=await Actions[U(0x1b4)]({'type':U(0x191),'name':z,'message':U(0x1d0)+z,'choices':A});l[z]=D[z];}}if(k[U(0x199)]>0x0)for(const E of Object[U(0x1bc)](l)){const F=k[U(0x1a4)](G=>G['name']===E);if(!F){Log['error'](U(0x1dc)+E);throw new UsageError();}}}}if(e&&e?.['length']>0x0)for(const G of e){if(!e[U(0x198)](G)){Log[U(0x1a9)](U(0x1a1)+G);const H=await Actions[U(0x1d4)]('Please\x20provide\x20a\x20valid\x20argument\x20for\x20'+G);a[a[U(0x1b7)](G)]=H;}}return Object[U(0x1c7)](j,l);}async[a129K(0x1c4)](a){const V=a129K;try{if(!a)return;const b=await this['fsi'][V(0x18c)]();!b&&(Log[V(0x1a9)]('License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.meteor/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.'),process[V(0x1d8)](0x1));const c=!b?.['roles'][V(0x198)](V(0x19b))&&!b?.[V(0x1cf)][V(0x198)](V(0x1c5));if(this['isCommand'](a)){const d=V(0x1bd)+a[V(0x1ad)]+V(0x1cd);if(a[V(0x1b4)]['disableAuthCheck'])return;const f=b?.['proCommands'][V(0x198)](a[V(0x1ad)])||b?.[V(0x18d)][V(0x198)](a['parent']||'')||this[V(0x1b4)]['isPro'];if(f&&c)throw d;}else{if(this[V(0x1da)](a)){const g=b?.[V(0x1dd)]['includes'](a[V(0x1ad)])||b?.[V(0x1dd)][V(0x198)](a[V(0x196)]||'');if(g&&c)throw V(0x1ab)+a['name']+V(0x1cd);}}}catch(h){Log[V(0x1a9)](h),process['exit'](0x1);}}[a129K(0x1aa)](a){const W=a129K;return W(0x1b4)in a;}[a129K(0x1da)](a){const X=a129K;return!(X(0x1b4)in a);}[a129K(0x19f)](){const Y=a129K;return this['options']['description']||this['options'][Y(0x195)]||'No\x20description\x20provided.';}[a129K(0x195)](){const Z=a129K;return this['options']['shortDesc']||Z(0x1be);}[a129K(0x1c1)](){const a0=a129K;return this['options'][a0(0x1c1)]||a0(0x1a5);}['examples'](){const a1=a129K;return this[a1(0x1b4)][a1(0x1c3)]||[];}[a129K(0x1b8)](){const a2=a129K;return this[a2(0x1b4)][a2(0x1b8)]||'None';}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a130c(){const m=['2135714JAmkQS','prompt','search','6BdqYUO','102822tGGjcm','1294299yDzEYQ','24jcohHO','269032jRGbga','constructor','1571935WehcHy','input','password','211456YYVByi','options','confirm','answer','toString','apply','18124hVlSwo'];a130c=function(){return m;};return a130c();}const a130j=a130d;function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x1e2;let f=c[d];return f;},a130d(a,b);}(function(a,b){const f=a130d,c=a();while(!![]){try{const d=-parseInt(f(0x1e9))/0x1+parseInt(f(0x1f1))/0x2+-parseInt(f(0x1ee))/0x3*(-parseInt(f(0x1f0))/0x4)+parseInt(f(0x1f3))/0x5+parseInt(f(0x1ed))/0x6*(-parseInt(f(0x1ea))/0x7)+parseInt(f(0x1e3))/0x8+-parseInt(f(0x1ef))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x343b6));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a130d;if(c){const e=c[g(0x1e8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const h=a130d;return a130a[h(0x1e7)]()[h(0x1ec)]('(((.+)+)+)+$')[h(0x1e7)]()[h(0x1f2)](a130a)[h(0x1ec)]('(((.+)+)+)+$');});a130a();import a130e from'inquirer';export class Actions{static async['ask'](a,b){const i=a130d,{answer:c}=await a130e[i(0x1eb)]({'type':b?i(0x1e2):i(0x1f4),'name':i(0x1e6),'message':a});return c;}static async[a130j(0x1e5)](a,b=![]){const k=a130j,{answer:c}=await a130e[k(0x1eb)]({'type':k(0x1e5),'name':k(0x1e6),'message':a,'default':b});return c;}static async[a130j(0x1e4)](a){const l=a130j,b=await a130e[l(0x1eb)](a);return b;}}
|