@maka/maka-cli 4.10.0 → 4.10.2
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/app/maka.d.ts +344 -0
- package/bundle/obf/src/templates/meteor/app/meteor.d.ts +0 -1
- package/bundle/obf/src/templates/react/component/component.js.tsx +0 -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
|
-
|
|
1
|
+
const a115z=a115d;(function(a,b){const x=a115d,c=a();while(!![]){try{const d=-parseInt(x(0x111))/0x1+-parseInt(x(0x100))/0x2*(-parseInt(x(0x10c))/0x3)+-parseInt(x(0x10e))/0x4+-parseInt(x(0x10f))/0x5+parseInt(x(0x103))/0x6+-parseInt(x(0x11a))/0x7+parseInt(x(0xf1))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0x6cf73));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[y(0x10a)]()[y(0x114)](y(0xeb))[y(0x10a)]()[y(0xff)](a115a)[y(0x114)](y(0xeb));});a115a();import{Generator}from'../../../generator.js';function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-0xe0;let f=c[d];return f;},a115d(a,b);}import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a115e from'path';import a115f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';function a115c(){const D=['pathFromApp','No\x20layouts\x20selected','fsi','/imports/ui/','(((.+)+)+)+$','{\x20this.props.children\x20}','injectImport','withValue','tsx','test','12624304vFTPia','injectTemplateModule','.js','findAppDirectory','length','layouts','appName','/imports/startup/lib/templates','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','template','getFiles','{\x20props.children\x20}','replaceAll','dir','constructor','16276dofGzZ','log','{props.children}','4439082JEFIJA','session','tests','engines','basic-app-bar','/imports/startup/client/templates','getMakaProjectConfig','toString','kit/mui/frame/drawers/','177tBvEfo','imports','3197756PPAPeC','1295140tUhuNc','options','742917YnWcaD','create','maka\x20g:k:m:f','search','Cleaning\x20up...','checkbox','kit/mui/frame/app-bars/','{this.props.children}','MATERIAL','3852240hSmoRF','<div\x20id=\x22','react','error','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','-hook\x22>','injectIntoFile','join','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f'];a115c=function(){return D;};return a115c();}import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a115z(0x112)]({'name':'frame','aliases':['f'],'usage':a115z(0xe6),'shortDesc':a115z(0xf9),'validOpts':[a115z(0xf6)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a115z(0x119)],'client':ClientEngines['REACT']},'examples':['maka\x20generate:kit:mui:frame',a115z(0x113)],'description':'\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20'},async function(a,b){const A=a115z;try{const c=A(0x107),d='basic-drawer',f=this['fsi'][A(0x109)](),g=f[A(0x106)]['ssr']==='true';await this['fsi']['checkMeteorPackage'](A(0x104),{'shouldInstall':!![]});const h=this[A(0xe9)][A(0xf4)](),i=a115e[A(0xe5)](h,A(0x10d),'ui',A(0xf6)),j=this['fsi']['getDirectories'](i),k=await Actions[A(0x110)]({'type':A(0x116),'name':'layouts','message':A(0xe2),'choices':j});if(k[A(0xf6)][A(0xf5)]===0x0){Log[A(0xe1)](A(0xe8));return;}const l=b['baseDir']?A(0xea)+b['baseDir']:'/imports/ui/hooks',m=this['fsi'][A(0xe7)]({'pathParts':[l,b[A(0xfe)],paramCase(c),paramCase(c)]}),n=this[A(0xe9)][A(0xe7)]({'pathParts':[l,b[A(0xfe)],paramCase(d),paramCase(d)]}),o={'name':headerCase(f[A(0xf7)])[A(0xfd)]('-','\x20')};await this[A(0xe9)][A(0xee)](f,async()=>{const B=A;await this['fsi'][B(0xfa)]({'srcPath':B(0x117)+c+B(0xf3),'destPath':m+B(0xf3),'framework':B(0xe0),'context':o,'config':f,'force':![],'ignore':![]}),await this[B(0xe9)][B(0xfa)]({'srcPath':B(0x10b)+d+B(0xf3),'destPath':n+B(0xf3),'framework':B(0xe0),'context':o,'config':f,'force':![],'ignore':![]});});const p=''+l+b[A(0xfe)]+'/'+c+'/'+c;await this[A(0xe9)][A(0xf2)](c,f,p);const q=''+l+b[A(0xfe)]+'/'+d+'/'+d;await this[A(0xe9)][A(0xf2)](d,f,q);const {layouts:r}=k;for(const s of r){const t=this[A(0xe9)][A(0xfb)](a115e['join'](i,s),{'extensions':['jsx',A(0xef)],'omit':['app-tests',A(0x105),A(0xf0)]});for(const u of t){const v=a115e[A(0xe5)](i,s,u);await this[A(0xe9)][A(0xed)]({'filePath':v,'importName':pascalCase(c),'modulePath':g?A(0xf8):A(0x108),'isNamedExport':!![]}),await this['fsi']['injectIntoFile']({'filePath':v,'content':'<'+pascalCase(c)+'\x20/>\x0a','begin':[A(0x11b)+s+'\x22>',A(0x11b)+s+A(0xe3)],'end':[A(0x118),A(0xec),'{props.children}','{\x20props.children\x20}']}),await this[A(0xe9)][A(0xed)]({'filePath':v,'importName':pascalCase(d),'modulePath':g?A(0xf8):'/imports/startup/client/templates','isNamedExport':!![]}),await this[A(0xe9)][A(0xe4)]({'filePath':v,'content':'<'+pascalCase(d)+'\x20/>\x0a','begin':['<div\x20id=\x22'+s+'\x22>',A(0x11b)+s+A(0xe3)],'end':[A(0x118),A(0xec),A(0x102),A(0xfc)]});}}return!![];}catch(w){Log[A(0xe1)](w);}},async function(){const C=a115z;console[C(0x101)](C(0x115));},a115f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a116i=a116d;(function(a,b){const f=a116d,c=a();while(!![]){try{const d=parseInt(f(
|
|
1
|
+
const a116i=a116d;(function(a,b){const f=a116d,c=a();while(!![]){try{const d=parseInt(f(0x14d))/0x1+parseInt(f(0x145))/0x2+-parseInt(f(0x13d))/0x3*(parseInt(f(0x142))/0x4)+parseInt(f(0x144))/0x5*(parseInt(f(0x146))/0x6)+parseInt(f(0x13b))/0x7*(parseInt(f(0x13e))/0x8)+-parseInt(f(0x141))/0x9+-parseInt(f(0x148))/0xa*(-parseInt(f(0x143))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x4b437));function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x13a;let f=c[d];return f;},a116d(a,b);}const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a116d;if(c){const e=c[g(0x13a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const h=a116d;return a116a[h(0x149)]()[h(0x14c)](h(0x13c))[h(0x149)]()[h(0x14a)](a116a)[h(0x14c)](h(0x13c));});a116a();function a116c(){const k=['(((.+)+)+)+$','111bGgqON','1876664uGxFQo','mui','create','4567077RejWsp','10556NqMXtn','737264TxezMW','1480EVCEqu','86444OFqWgF','186PMWeiU','Material-UI\x20Kit','40ecwHTP','toString','constructor','NIE','search','358298Hhuxdh','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','apply','7YGCQjb'];a116c=function(){return k;};return a116c();}import{Generator}from'../../../generator.js';import a116e from'../kit.js';const MuiGen=Generator[a116i(0x140)]({'name':a116i(0x13f),'aliases':['m'],'usage':a116i(0x14e),'noNeedResource':!![],'shortDesc':a116i(0x147),'validOpts':[''],'isPro':![],'examples':['maka\x20g:kit:m']},async function(){const j=a116i;throw j(0x14b);},async function(){},a116e);export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a117o=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d=-parseInt(l(0x1cf))/0x1+parseInt(l(0x1e0))/0x2*(parseInt(l(0x1db))/0x3)+parseInt(l(0x201))/0x4*(parseInt(l(0x200))/0x5)+-parseInt(l(0x1fd))/0x6+parseInt(l(0x1e6))/0x7+parseInt(l(0x1e8))/0x8*(-parseInt(l(0x1e5))/0x9)+parseInt(l(0x1e1))/0xa*(parseInt(l(0x1d4))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x5b3db));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a117d;if(c){const e=c[m(0x1e2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const n=a117d;return a117a[n(0x1d8)]()[n(0x1f1)](n(0x1fa))[n(0x1d8)]()['constructor'](a117a)[n(0x1f1)]('(((.+)+)+)+$');});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'];function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x1c8;let f=c[d];return f;},a117d(a,b);}Generator[a117o(0x1f8)]({'name':a117o(0x1ca),'aliases':aliases,'usage':a117o(0x1d3),'shortDesc':a117o(0x207),'validOpts':[],'examples':[a117o(0x1fb),a117o(0x1fe)]},async function(a,b){const p=a117o,c=p(0x1d7),d=this[p(0x1f5)][p(0x1d0)](),e=this[p(0x1f5)][p(0x205)]({'pathParts':[c,b[p(0x1f2)],paramCase(b[p(0x202)]),paramCase(b[p(0x202)])]}),f=this['fsi'][p(0x1ef)]();await this[p(0x1f5)][p(0x1f7)](f,async()=>{const q=p;typeof f['template'][q(0x1da)]===q(0x1d2)&&(f[q(0x1ea)][q(0x1da)]=f['template'][q(0x1da)]===q(0x1cb)?!![]:![],this[q(0x1f5)][q(0x1dd)]('test',f['template']['test']));typeof f[q(0x1ea)]['css']==='string'&&(f[q(0x1ea)][q(0x1e7)]=f[q(0x1ea)]['css']==='true'?!![]:![],this[q(0x1f5)][q(0x1dd)](q(0x1e7),f[q(0x1ea)][q(0x1e7)]));typeof f[q(0x1ea)]['js']===q(0x1d2)&&(f['template']['js']=f[q(0x1ea)]['js']===q(0x1cb)?!![]:![],this[q(0x1f5)]['setTemplate']('js',f[q(0x1ea)]['js']));!f[q(0x1cc)]&&(f[q(0x1cc)]={});const g=b['_']?b['_'][0x0][q(0x1ce)](':')[0x1]:![],h=b['_']&&aliases[q(0x1ed)](g);h&&!this[q(0x1f4)](q(0x1ee))&&(Log['warn']('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),this[q(0x1f5)][q(0x1d1)](q(0x1ee),{'cwd':d}));if(h&&!this[q(0x1f4)]('react')){Log[q(0x1e9)](q(0x1eb));return;}const i={'name':pascalCase(b[q(0x202)]),'myPath':a117e[q(0x1df)](this[q(0x1f5)][q(0x1d6)]({}),e),'cssCaseName':paramCase(b[q(0x202)]),'className':pascalCase(b[q(0x202)]),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b[q(0x202)]),'graphql':f['engines'][q(0x1c9)],'features':f[q(0x1cc)],'client':f['engines'][q(0x1d5)],'api':f[q(0x1ff)]['api'],'ssr':f[q(0x1ff)][q(0x203)],'test':f[q(0x1ff)]['test'],'theme':f[q(0x1ff)][q(0x1c8)],'isComponent':![],'isLayout':!![],'withTranslations':f[q(0x1cc)]['withTranslations']};f[q(0x1cc)]?.['withHooks']||b[q(0x1e3)]?await this[q(0x1f5)][q(0x1ea)]({'srcPath':'hook/hook.js','destPath':e+q(0x1f0),'framework':'react','context':i,'config':f}):await this['fsi'][q(0x1ea)]({'srcPath':q(0x1f6),'destPath':e+q(0x1f0),'framework':'react','context':i,'config':f});f['engines'][q(0x1da)]!=='none'&&await this[q(0x1f5)][q(0x1ea)]({'srcPath':q(0x1cd),'destPath':e+q(0x1e4),'framework':q(0x204),'context':i,'config':f});f[q(0x1ea)][q(0x1e7)]&&(await this[q(0x1f5)][q(0x1ea)]({'srcPath':q(0x1f3),'destPath':e+q(0x206),'context':Object[q(0x1fc)]({},i,{'className':paramCase(b[q(0x202)])}),'config':f}),await this[q(0x1f5)][q(0x1ec)]({'filePath':e+'.'+f[q(0x1ff)]['js'],'content':q(0x1dc)+i[q(0x1d9)]+'.'+f[q(0x1ff)][q(0x1e7)]+'\x27;'}));const j=b[q(0x1f2)]?'/'+b['dir']+'/':'/',k=''+c+j+i[q(0x1d9)]+'/'+i[q(0x1d9)];await this[q(0x1f5)][q(0x1de)](i[q(0x1f9)],f,k);});});function a117c(){const r=['warn','template','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','injectAtBeginningOfFile','includes','ramda','getMakaProjectConfig','.js','search','dir','template/template.css','checkNpmPackage','fsi','component/component.js','withValue','create','className','(((.+)+)+)+$','maka\x20g:layout\x20mobile/iPhone8','assign','3586182vOEwZY','maka\x20g:l\x20web/safari','engines','925NCJiCD','436XqJGCf','resourceName','ssr','react','pathFromApp','.css','Scaffolding\x20for\x20a\x20React\x20Layout.','theme','graphql','layout','true','features','test/test.js','split','38514ckRcOR','findAppDirectory','installNpmPackage','string','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','11MAbbOz','client','pathFromProject','/imports/ui/layouts','toString','fileName','test','3WcNzSL','import\x20\x27./','setTemplate','injectTemplateModule','relative','766254MmGXco','10979110uKIGJP','apply','withHook','.app-tests.js','9cKBgYQ','227360lcusbI','css','4189992HfUQvS'];a117c=function(){return r;};return a117c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a118i=a118d;(function(a,b){const f=a118d,c=a();while(!![]){try{const d=-parseInt(f(0x158))/0x1+parseInt(f(0x154))/0x2*(-parseInt(f(0x157))/0x3)+-parseInt(f(0x151))/0x4*(-parseInt(f(0x15b))/0x5)+-parseInt(f(0x15d))/0x6*(parseInt(f(0x156))/0x7)+-parseInt(f(0x162))/0x8*(-parseInt(f(0x15e))/0x9)+-parseInt(f(0x163))/0xa+parseInt(f(0x155))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0xed9ce));const a118b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a118d;if(c){const e=c[g(0x164)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){const h=a118d;return a118a[h(0x150)]()[h(0x152)](h(0x165))[h(0x150)]()[h(0x161)](a118a)['search'](h(0x165));});function a118c(){const j=['toString','291116dJhTrF','search','maka\x20g:route\x20todos/edit','1618afNsQv','13813283QGcnRo','168sHydKk','5403UQsCBI','804080ekRkoc','maka\x20g:template\x20todos/todo_item','generate','95QYwEhv','maka\x20generate:scaffold\x20todos','35430yMFmVY','342uHNxbf','maka\x20g:api\x20trucks','maka\x20g:package\x20package:name','constructor','306424HfmPdG','7179970CLzaac','apply','(((.+)+)+)+$','Scaffold\x20various\x20parts\x20of\x20your\x20application','maka\x20g:scaffold\x20todos','maka\x20g:dbc\x20geoserver\x20--type=pgsql'];a118c=function(){return j;};return a118c();}function a118d(a,b){const c=a118c();return a118d=function(d,e){d=d-0x14e;let f=c[d];return f;},a118d(a,b);}a118a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a118i(0x15a),'aliases':['g'],'usage':'maka\x20{generate,\x20g}:<generator>\x20<name>','validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a118i(0x166),'examples':[a118i(0x15c),a118i(0x14e),a118i(0x159),a118i(0x160),a118i(0x153),a118i(0x15f),a118i(0x14f)]},function(){});export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a119m=a119d;(function(a,b){const j=a119d,c=a();while(!![]){try{const d
|
|
1
|
+
const a119m=a119d;(function(a,b){const j=a119d,c=a();while(!![]){try{const d=-parseInt(j(0x1b1))/0x1*(parseInt(j(0x19b))/0x2)+parseInt(j(0x1ac))/0x3+-parseInt(j(0x199))/0x4+parseInt(j(0x19e))/0x5*(-parseInt(j(0x1ae))/0x6)+-parseInt(j(0x194))/0x7+parseInt(j(0x18f))/0x8+parseInt(j(0x1a0))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xea8c1));function a119c(){const p=['getMakaProjectConfig','dir','resourceName','6346928uBimxx','toString','7934FPpUSn','ddp-rate-limiter','startup','1070IoCkAD','create','23880195IGeSbX','method/method.js','maka\x20g:method\x20todos','checkMeteorPackage','import\x20\x27./methods','maka\x20{generate,\x20g}:{method,\x20m}\x20name','engines','(((.+)+)+)+$','appPathPrefix','apply','method','-rpc-method\x27;','5201121kNaWeI','maka:check','46932KkErvJ','search','fsi','41pVPbGE','template','error','11142424BjfXup','imports','injectAtEndOfFile','index.','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','9771111sahQTO','constructor'];a119c=function(){return p;};return a119c();}const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a119d;if(c){const e=c[k(0x1a9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const l=a119d;return a119a['toString']()[l(0x1af)]('(((.+)+)+)+$')[l(0x19a)]()[l(0x195)](a119a)[l(0x1af)](l(0x1a7));});a119a();function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x18d;let f=c[d];return f;},a119d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a119m(0x19f)]({'name':a119m(0x1aa),'aliases':['m'],'usage':a119m(0x1a5),'checkWhere':!![],'shortDesc':a119m(0x193),'validOpts':['dir'],'examples':[a119m(0x1a2)]},async function(a,b){const n=a119m;try{const c=this['fsi'][n(0x196)]();await this[n(0x1b0)]['withValue'](c,async()=>{const o=n,d=paramCase(b[o(0x198)]),f={'name':b[o(0x198)],'fileName':d,'className':pascalCase(b[o(0x198)]),'camelCase':camelCase(b[o(0x198)]),'noRename':!![]};let g='js';c['engines']['js']==='tsx'&&(g='ts');await this[o(0x1b0)][o(0x1a3)]([o(0x1ad),o(0x19c),'mdg:validated-method'],{'shouldInstall':!![]}),await this[o(0x1b0)][o(0x18d)]({'srcPath':o(0x1a1),'destPath':this[o(0x1b0)]['pathFromApp']({'pathParts':['imports',o(0x19d),b[o(0x1a8)],'methods',b['dir'],d+'-rpc-method.'+g]}),'context':f,'config':c});const h=b['dir']?'/'+b[o(0x197)]+'/':'/',i=this['fsi']['pathFromApp']({'pathParts':[o(0x190),o(0x19d),b[o(0x1a8)],o(0x192)+c[o(0x1a6)]['js']]});await this['fsi'][o(0x191)]({'filePath':i,'content':o(0x1a4)+h+d+o(0x1ab)});});}catch(d){Log[n(0x18e)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a120o=a120d;(function(a,b){const l=a120d,c=a();while(!![]){try{const d
|
|
1
|
+
const a120o=a120d;function a120c(){const r=['maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','withValue','pathFromAppWithNoReWrite','apply','component','resourceName','dir','pathFromProject','package/package.js','layout','ssr','package','package/','2370wUarAP','fsi','(((.+)+)+)+$','pathFromApp','190EjtiwJ','noRename','search','112984ORpmCg','lib','graphql','/client/','671184EaSzqg','features','template','engines','hasOwnProperty','relative','tests/server','4624050wkNGsO','6559TcVDHM','tests/client','634534nBUPgJ','/package.js','client','2734416jLUvJC','template/template.js','constructor','105jXStrO','store','3gCEvZz','toString','getMakaProjectConfig'];a120c=function(){return r;};return a120c();}(function(a,b){const l=a120d,c=a();while(!![]){try{const d=-parseInt(l(0x95))/0x1+-parseInt(l(0x97))/0x2*(-parseInt(l(0x72))/0x3)+-parseInt(l(0x8d))/0x4+-parseInt(l(0x86))/0x5*(parseInt(l(0x82))/0x6)+parseInt(l(0x9d))/0x7*(parseInt(l(0x89))/0x8)+parseInt(l(0x9a))/0x9+-parseInt(l(0x94))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x2c3ae));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a120d;if(c){const e=c[m(0x78)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const n=a120d;return a120a[n(0x73)]()[n(0x88)](n(0x84))[n(0x73)]()[n(0x9c)](a120a)[n(0x88)](n(0x84));});a120a();import a120e from'path';import{Generator}from'../generator.js';function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x72;let f=c[d];return f;},a120d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';Generator['create']({'name':a120o(0x80),'aliases':['p'],'usage':a120o(0x75),'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','validOpts':[a120o(0x7b)],'examples':['maka\x20g:package\x20todos:package']},async function(a,b){const p=a120o,c=paramCase(b[p(0x7a)]),d=this[p(0x83)][p(0x85)]({'pathParts':['packages',b[p(0x7b)],c]}),e=this[p(0x83)][p(0x77)]({'pathParts':['packages',b[p(0x7b)],c,'package.js']}),f=this[p(0x83)][p(0x74)]();await this[p(0x83)][p(0x76)](f,async()=>{const q=p,g={'name':paramCase(b[q(0x7a)]),'myPath':a120e[q(0x92)](this[q(0x83)][q(0x7c)]({}),d),'cssCaseName':paramCase(b[q(0x7a)]),'className':pascalCase(b[q(0x7a)]),'camelCaseName':camelCase(b[q(0x7a)]),'fileName':c,'client':f['engines'][q(0x99)],'graphql':f[q(0x90)][q(0x8b)],'ssr':f[q(0x90)][q(0x7f)],'isComponent':b['hasOwnProperty'](q(0x79)),'isLayout':b[q(0x91)](q(0x7e)),'isStore':b[q(0x91)](q(0x9e)),'features':f[q(0x8e)],'noRename':!![],'theme':f[q(0x90)]['theme']};await this['fsi'][q(0x8f)]({'srcPath':q(0x7d),'destPath':e,'context':g,'config':f}),g[q(0x87)]=![];const h=d+q(0x8c)+c+'.js';await this[q(0x83)]['template']({'srcPath':q(0x9b),'destPath':h,'context':g,'config':f});const i=[q(0x8a),'server',q(0x96),q(0x93)];for(const j of i){const k=d+'/'+j+'/'+c+'.js';await this[q(0x83)][q(0x8f)]({'srcPath':q(0x81)+j+q(0x98),'destPath':k,'context':g,'config':f});}});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a121l=a121d;(function(a,b){const j=a121d,c=a();while(!![]){try{const d=-parseInt(j(0x117))/0x1*(parseInt(j(0x104))/0x2)+parseInt(j(0x124))/0x3+parseInt(j(0x134))/0x4+parseInt(j(0x13d))/0x5*(-parseInt(j(0x101))/0x6)+-parseInt(j(0x145))/0x7+parseInt(j(0x10e))/0x8+parseInt(j(0x137))/0x9*(parseInt(j(0x10c))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x4c7ee));function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0xff;let f=c[d];return f;},a121d(a,b);}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(0x105)]()[k(0x128)](k(0x136))['toString']()[k(0x116)](a121a)['search'](k(0x136));});a121a();function a121c(){const o=['processAndRunGenerator','route','template/template.html','client','Updating\x20npm\x20packages\x20...','page','1403838xaQNIY','relative','graphql','assign','search','template/template.css','baseDir','import\x20\x27./','react','string','injectAtBeginningOfFile','/imports/ui/','template','test','fileName','installNpmPackage','1697208iBaTGb','store','(((.+)+)+)+$','574470oFklDe','theme','hasOwnProperty','.app-tests.js','warn','html','395UFgqeC','hook/hook.js','.html','pathFromProject','api','ramda','engines','components','3743768xfMTxL','resourceName','.css','ssr','pages','37398yziQFU','true','getMakaProjectConfig','2246SwDOkD','toString','.js','maka\x20g:page\x20todos/todos-item','pathFromApp','withValue','component','fsi','140YnxxXr','injectTemplateModule','624056scrPTI','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','root','/imports/ui/pages','none','layouts','dir','features','constructor','466YjocGs','withHook','withHooks','component/component.js','setTemplate','css','checkNpmPackage'];a121c=function(){return o;};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';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator['create']({'name':a121l(0x123),'aliases':aliases,'usage':a121l(0x10f),'shortDesc':'Generate\x20a\x20page.','validOpts':[{'name':'baseDir','values':['hooks',a121l(0x144),a121l(0x100),a121l(0x113)]},{'name':a121l(0x118),'boolFlag':!![]}],'examples':[a121l(0x107)]},async function(a,b){const m=a121l,c=b[m(0x12a)]?m(0x12f)+b[m(0x12a)]:m(0x111),d=this[m(0x10b)][m(0x108)](b),e=this['fsi'][m(0x108)]({'pathParts':[c,b['dir'],paramCase(b[m(0x146)]),paramCase(b['resourceName'])]}),f=this['fsi'][m(0x103)]();let g='';return await this['fsi'][m(0x109)](f,async()=>{const n=m;typeof f['template'][n(0x13c)]==='string'&&(f[n(0x130)]['html']=f[n(0x130)][n(0x13c)]==='true'?!![]:![],this[n(0x10b)][n(0x11b)]('html',f[n(0x130)][n(0x13c)]));typeof f[n(0x130)]['test']===n(0x12d)&&(f[n(0x130)][n(0x131)]=f['template'][n(0x131)]==='true'?!![]:![],this[n(0x10b)][n(0x11b)]('test',f[n(0x130)][n(0x131)]));typeof f[n(0x130)][n(0x11c)]===n(0x12d)&&(f['template']['css']=f['template'][n(0x11c)]===n(0x102)?!![]:![],this[n(0x10b)]['setTemplate'](n(0x11c),f[n(0x130)][n(0x11c)]));typeof f[n(0x130)]['js']==='string'&&(f[n(0x130)]['js']=f[n(0x130)]['js']==='true'?!![]:![],this[n(0x10b)][n(0x11b)]('js',f[n(0x130)]['js']));!f[n(0x115)]&&(f[n(0x115)]={});!b[n(0x110)]&&!this[n(0x10b)][n(0x11d)](n(0x142))&&(Log[n(0x13b)](n(0x122)),this['fsi'][n(0x133)](n(0x142),{'cwd':d}));const h={'name':pascalCase(b['resourceName']),'myPath':a121e[n(0x125)](this[n(0x10b)][n(0x140)]({}),e),'cssCaseName':paramCase(b[n(0x146)]),'className':pascalCase(b[n(0x146)]),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b[n(0x146)]),'graphql':f[n(0x143)][n(0x126)],'features':f['features'],'client':f[n(0x143)]['client'],'api':f[n(0x143)][n(0x141)],'ssr':f[n(0x143)][n(0xff)],'isStore':b['hasOwnProperty'](n(0x135)),'isComponent':b[n(0x139)](n(0x10a)),'isLayout':b['hasOwnProperty']('layout'),'withTranslations':f[n(0x115)]['withTranslations'],'test':f[n(0x143)][n(0x131)],'theme':f[n(0x143)][n(0x138)]};f[n(0x130)][n(0x13c)]&&await this[n(0x10b)][n(0x130)]({'srcPath':n(0x120),'destPath':e+n(0x13f),'context':h,'config':f});f[n(0x115)]?.[n(0x119)]||b[n(0x118)]?await this['fsi'][n(0x130)]({'srcPath':n(0x13e),'destPath':e+n(0x106),'framework':n(0x12c),'context':h,'config':f}):await this[n(0x10b)][n(0x130)]({'srcPath':n(0x11a),'destPath':e+n(0x106),'framework':'react','context':h,'config':f});f['engines'][n(0x131)]!==n(0x112)&&await this[n(0x10b)][n(0x130)]({'srcPath':'test/test.js','destPath':e+n(0x13a),'framework':n(0x12c),'context':h,'config':f});f[n(0x130)][n(0x11c)]&&await this[n(0x10b)][n(0x130)]({'srcPath':n(0x129),'destPath':e+n(0x147),'context':Object[n(0x127)]({},h,{'className':paramCase(b[n(0x146)])}),'config':f});f['engines']['client']!==n(0x12c)&&f[n(0x143)][n(0x121)]!=='vanilla'?(f['template']['css']&&await this[n(0x10b)][n(0x12e)]({'filePath':e+'.'+f[n(0x143)]['js'],'content':n(0x12b)+h[n(0x132)]+'.'+f['engines'][n(0x13c)]+'\x27;\x0a'+n(0x12b)+h[n(0x132)]+'.'+f[n(0x143)][n(0x11c)]+'\x27;'}),!f[n(0x130)][n(0x11c)]&&await this[n(0x10b)][n(0x12e)]({'filePath':e+'.'+f[n(0x143)]['js'],'content':n(0x12b)+h['fileName']+'.'+f[n(0x143)][n(0x13c)]+'\x27;'})):f['template']['css']&&await this[n(0x10b)][n(0x12e)]({'filePath':e+'.'+f[n(0x143)]['js'],'content':n(0x12b)+h['fileName']+'.'+f[n(0x143)]['css']+'\x27;'});const i=b[n(0x114)]?'/'+b['dir']+'/':'/';g=''+c+i+h[n(0x132)]+'/'+h[n(0x132)],await this[n(0x10b)][n(0x10d)](h['className'],f,g),!b['root']&&await a121f[n(0x11e)](n(0x11f),[i+b['resourceName']],b);}),g+'.'+f[m(0x143)]['js'];});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a122k=a122d;(function(a,b){const h=a122d,c=a();while(!![]){try{const d=parseInt(h(
|
|
1
|
+
const a122k=a122d;function a122c(){const n=['apply','994542estPpy','withValue','toString','rewriteDestinationPathForEngine','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','create','5iuQYTO','fsi','templateContent','1926195RaheiJ','engines','search','15909957OTbbKL','maka\x20g:publish\x20todos','constructor','161cXJwVp','(((.+)+)+)+$','server/publish.','2962372wSJgLS','501552IVMnir','publish','4260RvdaCR','830HDswCT','injectAtEndOfFile','resourceName','177OtqOYG','689513sPvEzn'];a122c=function(){return n;};return a122c();}(function(a,b){const h=a122d,c=a();while(!![]){try{const d=parseInt(h(0x126))/0x1+parseInt(h(0x115))/0x2*(parseInt(h(0x119))/0x3)+parseInt(h(0x112))/0x4*(parseInt(h(0x123))/0x5)+parseInt(h(0x11c))/0x6+parseInt(h(0x10f))/0x7*(parseInt(h(0x113))/0x8)+parseInt(h(0x129))/0x9+-parseInt(h(0x116))/0xa*(parseInt(h(0x11a))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xeba8d));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a122d;if(c){const e=c[i(0x11b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const j=a122d;return a122a['toString']()[j(0x128)]('(((.+)+)+)+$')[j(0x11e)]()[j(0x10e)](a122a)[j(0x128)](j(0x110));});function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x10d;let f=c[d];return f;},a122d(a,b);}a122a();import{paramCase}from'change-case';import{Generator}from'../generator.js';Generator[a122k(0x122)]({'name':a122k(0x114),'aliases':['p'],'usage':a122k(0x121),'shortDesc':a122k(0x120),'validOpts':[],'examples':[a122k(0x10d)]},async function(a,b){const l=a122k,c=this['fsi']['getMakaProjectConfig']();await this[l(0x124)][l(0x11d)](c,async()=>{const m=l,d={'name':b[m(0x118)],'collection':paramCase(b[m(0x118)]),'noRename':!![]};let e='js';c[m(0x127)]['js']==='tsx'&&(e='ts');const f=this[m(0x124)][m(0x11f)]({'pathParts':[m(0x111)+c[m(0x127)]['js']]}),g=this[m(0x124)][m(0x125)]({'srcPath':'publish/publish.'+e,'context':d,'config':c});await this['fsi'][m(0x117)]({'filePath':f,'content':'\x0a'+g});});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a123B=a123d;(function(a,b){const y=a123d,c=a();while(!![]){try{const d=-parseInt(y(0x20b))/0x1+-parseInt(y(0x1f8))/0x2+-parseInt(y(0x21c))/0x3+-parseInt(y(0x1e1))/0x4*(-parseInt(y(0x1f9))/0x5)+parseInt(y(0x20a))/0x6*(parseInt(y(0x202))/0x7)+-parseInt(y(0x1df))/0x8*(-parseInt(y(0x1e4))/0x9)+parseInt(y(0x1f0))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x5e654));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const z=a123d;if(c){const e=c[z(0x1ea)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const A=a123d;return a123a['toString']()[A(0x21b)](A(0x1e8))[A(0x1fe)]()[A(0x1f6)](a123a)[A(0x21b)](A(0x1e8));});function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x1de;let f=c[d];return f;},a123d(a,b);}a123a();import a123e from'path';function a123c(){const K=['includes','info','url','components','search','699939MSFKGr','maka\x20g:route\x20todosIndex\x20todos','maka\x20g:route\x20todosEdit\x20todos/:id/edit','filter','readFileLines','injectIntoFile','withHook','map','\x20to\x20','engines','maka\x20g:route\x20pages/about','indexOf','root','route/route.js','toLowerCase','fileContainsString','vanilla','replace','pop','create','pages','Please\x20specify\x20a\x20name\x20for\x20the\x20route.','hooks','getMakaProjectConfig','151864BjlytO','ssr','12ECTzkF','fsi','length','252aLaDTb','templateName','error','injectAfterLineNumber','(((.+)+)+)+$','imports','apply','startup','maka\x20g:route\x20pages/lists/listIndex\x20lists','features','newForm','<Route','804080tphYvz','injectAtEndOfFile','layout','react','\x20already\x20exists.\x20\x20Skipping.','only','constructor','withValue','312064bBZnFg','235930jKFFvJ','Scaffolding\x20for\x20a\x20Route.','route','Valid\x20options\x20are:\x20','rewriteDestinationPathForEngine','toString','Adding\x20route\x20','pathFromProject','lib','21YNfEyG','warn','maka\x20g:route\x20usersShow\x20users/:id/show\x20--layout\x20userView','const\x20publicRoutes\x20=\x20(<>','private','pathFromApp','dir','baseDir','1365540FcGZdP','660271NIHRoy','maka\x20{generate,\x20g}:{route,\x20r}\x20[path/]<name>','const\x20privateRoutes\x20=\x20(<>','templateContent','\x0a\x09\x09','routes.js','cwd','resourceName','split','Invalid\x20directory\x20option\x20\x22','client','join'];a123c=function(){return K;};return a123c();}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[a123B(0x22f)]({'name':a123B(0x1fb),'aliases':aliases,'validOpts':[a123B(0x206),a123B(0x1f2),a123B(0x1f5),a123B(0x211),'config',a123B(0x228),a123B(0x222),a123B(0x219),'baseDir'],'usage':a123B(0x20c),'shortDesc':a123B(0x1fa),'examples':[a123B(0x21d),a123B(0x21e),a123B(0x204),a123B(0x1ec),a123B(0x226)]},async function(a,b){const C=a123B;try{const c=[C(0x232),C(0x21a),C(0x230),'layouts'];if(b[C(0x209)]&&!c['includes'](b[C(0x209)])){Log['error'](C(0x214)+b[C(0x209)]+'\x22'),Log[C(0x1e6)](C(0x1fc)+c[C(0x216)](',\x20'));throw new UsageError();}const d=this[C(0x1e2)][C(0x1de)]();await this['fsi'][C(0x1f7)](d,async()=>{const D=C,f=b[D(0x206)]??![];let g=b[D(0x212)][D(0x213)]('/')[D(0x22e)]();if(!g){Log[D(0x1e6)](D(0x231));throw new UsageError();}g=pascalCase(g);let h='/'+b[D(0x212)];a['length']>0x1&&(h='/'+a[D(0x21f)](function(n){return n!=='/';})[D(0x216)]('/')[D(0x22a)]());h=h[D(0x22d)](/\/\//g,'/');b[D(0x1f2)]&&(b['layout']=camelCase(b[D(0x1f2)]));const i=b[D(0x209)]?'/imports/ui/'+b['baseDir']:'/imports/ui/pages',j=a123e[D(0x216)](i,b[D(0x208)],g,paramCase(g)),k={'name':g,'fileCase':paramCase(g),'camelCaseName':camelCase(g),'url':h,'layout':b[D(0x1f2)]||'MasterLayout','templatePath':j,'templateName':pascalCase(g),'client':d[D(0x225)]['client'],'newForm':![],'withTranslations':d[D(0x1ed)]['withTranslations']};f&&(k[D(0x1f2)]='PrivateLayout');let l,m;if(d['engines'][D(0x215)]===D(0x1f3)){if(d['engines'][D(0x1e0)]==='true'){const r=this[D(0x1e2)]['pathFromApp']({'pathParts':[D(0x1e9),'startup',D(0x201),'routes.js']});l=this[D(0x1e2)]['rewriteDestinationPathForEngine']({'pathParts':[r],'config':d});}else{const s=this[D(0x1e2)]['pathFromApp']({'pathParts':[D(0x1e9),D(0x1eb),D(0x215),D(0x210)]});l=this[D(0x1e2)]['rewriteDestinationPathForEngine']({'pathParts':[s],'config':d});}const n=await this[D(0x1e2)][D(0x22b)](l,g);if(n){Log[D(0x203)]('Route\x20'+g+D(0x1f4));return;}else{const t=this[D(0x1e2)][D(0x200)](l);Log[D(0x218)](D(0x1ff)+g+D(0x224)+l[D(0x22d)](t,''));}const o=this[D(0x1e2)][D(0x220)](l)['map']((u,v)=>{const E=D;return u[E(0x217)]('import\x20*\x20as\x20Component\x20from\x20\x27./templates\x27;')?v+0x1:null;})[D(0x21f)](u=>u!==null);let p=this['fsi']['readFileLines'](l)[D(0x223)]((u,v)=>{const F=D;return u[F(0x217)]('const\x20publicRoutes\x20=\x20(<>')?v+0x1:null;})[D(0x21f)](u=>u!==null),q=this['fsi'][D(0x220)](l)[D(0x223)]((u,v)=>{const G=D;return u[G(0x217)](G(0x20d))?v+0x1:null;})['filter'](u=>u!==null);p[D(0x1e3)]>0x0&&q['length']>0x0&&(k[D(0x1ee)]=!![]);m=this['fsi'][D(0x20e)]({'srcPath':D(0x229),'framework':D(0x1f3),'context':k,'config':d});if(p['length']>0x0||q[D(0x1e3)]>0x0){this[D(0x1e2)][D(0x1e7)]({'filePath':l,'content':m,'lineNumber':o[0x0]});if(f&&q[D(0x1e3)]>0x0)q=this[D(0x1e2)][D(0x220)](l)[D(0x223)]((u,v)=>{const H=D;return u[H(0x217)](H(0x20d))?v+0x1:null;})[D(0x21f)](u=>u!==null),this['fsi'][D(0x1e7)]({'filePath':l,'content':'\x09{'+k[D(0x1e5)]+'}','lineNumber':q[0x0]});else p['length']>0x0?(p=this[D(0x1e2)]['readFileLines'](l)[D(0x223)]((u,v)=>{const I=D;return u[I(0x217)](I(0x205))?v+0x1:null;})[D(0x21f)](u=>u!==null),this[D(0x1e2)][D(0x1e7)]({'filePath':l,'content':'\x09{'+k[D(0x1e5)]+'}','lineNumber':p[0x0]})):Log[D(0x203)]('Could\x20not\x20find\x20a\x20suitable\x20location\x20to\x20enable\x20this\x20route.\x20\x20Please\x20inspect\x20'+l);}else{const u=this[D(0x1e2)][D(0x220)](l)[D(0x223)](x=>{const J=D;return x[J(0x217)]('\x22*\x22');}),v=u[D(0x227)](!![])>-0x1,w=v?D(0x1ef):'</Router>';await this[D(0x1e2)][D(0x221)]({'filePath':l,'content':D(0x20f)+m+D(0x20f),'begin':'<Router','end':w});}}else{if(d[D(0x225)][D(0x215)]===D(0x22c)){const x=this[D(0x1e2)][D(0x207)]({'pathParts':[D(0x1e9),D(0x1eb),D(0x215),'routes.js']});l=this[D(0x1e2)][D(0x1fd)]({'pathParts':[x],'config':d}),m=this['fsi']['templateContent']({'srcPath':'route/route.js','context':k}),await this[D(0x1e2)][D(0x1f1)]({'filePath':l,'content':'\x0a'+m});}}});}catch(f){Log[C(0x1e6)](f);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a124m=a124d;(function(a,b){const j=a124d,c=a();while(!![]){try{const d=-parseInt(j(0x1e2))/0x1+parseInt(j(0x1c9))/0x2*(parseInt(j(0x1d2))/0x3)+parseInt(j(0x1d7))/0x4+parseInt(j(0x1dc))/0x5*(parseInt(j(0x1d3))/0x6)+parseInt(j(0x1cc))/0x7+parseInt(j(0x1e9))/0x8*(-parseInt(j(0x1ca))/0x9)+parseInt(j(0x1e1))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0xbdf1f));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a124d;if(c){const e=c[k(0x1df)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const l=a124d;return a124a['toString']()['search'](l(0x1d6))[l(0x1eb)]()[l(0x1e6)](a124a)[l(0x1e0)](l(0x1d6));});a124a();function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x1c9;let f=c[d];return f;},a124d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a124c(){const p=['36ZSfjgK','lib','4274669AEQAoB','service','create','Installing\x20winston','svc','pathFromApp','1335981vqJzhy','107790XfoQJO','logger','fsi','(((.+)+)+)+$','87056OBaKFF','installNpmPackage','type','startup','resourceName','10xxcArS','Generate\x20a\x20service\x20to\x20run\x20within\x20your\x20meteor\x20application.','imports','apply','search','3237560hmRABe','663736awdvOf','maka\x20g:svc\x20service-logger\x20--type=logger','winston','maka\x20{generate,\x20g}:{service}\x20<resource-name>','constructor','error','template','882040JAVIBx','withValue','toString','services','4gdHnIW'];a124c=function(){return p;};return a124c();}import{Log}from'../tools/log/log.class.js';Generator[a124m(0x1ce)]({'name':a124m(0x1cd),'aliases':[a124m(0x1d0)],'usage':a124m(0x1e5),'shortDesc':a124m(0x1dd),'requiredOpts':[{'name':a124m(0x1d9),'values':['logger']}],'validOpts':[],'maxArgLength':0x1,'examples':[a124m(0x1e3)]},async function(a,b){const n=a124m;try{const c=this[n(0x1d5)]['getMakaProjectConfig']();await this[n(0x1d5)][n(0x1ea)](c,async()=>{const o=n,d=this['fsi'][o(0x1d1)]({}),f=paramCase(b[o(0x1db)]),g={'name':pascalCase(b[o(0x1db)]),'fileName':f,'camelCase':camelCase(b[o(0x1db)]),'type':b['type'],'engine':c['engines']['js'],'noRename':!![]};let h='js';c['engines']['js']==='tsx'&&(h='ts');if(b[o(0x1d9)]===o(0x1d4)){!this['fsi']['checkNpmPackage'](o(0x1e4))&&await this[o(0x1d5)][o(0x1d8)]('winston\x20setimmediate',{'cwd':d,'msg':o(0x1cf)});const i=this[o(0x1d5)]['pathFromApp']({'pathParts':[o(0x1de),o(0x1da),o(0x1cb),o(0x1ec),f+'.'+h]});await this['fsi'][o(0x1e8)]({'srcPath':'service/logger/logger.js','destPath':i,'context':g,'config':c});}});}catch(d){Log[n(0x1e7)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a125d,c=a();while(!![]){try{var d=parseInt(f(
|
|
1
|
+
(function(a,b){var f=a125d,c=a();while(!![]){try{var d=parseInt(f(0x157))/0x1*(-parseInt(f(0x156))/0x2)+-parseInt(f(0x14f))/0x3*(parseInt(f(0x159))/0x4)+parseInt(f(0x150))/0x5+parseInt(f(0x151))/0x6*(parseInt(f(0x153))/0x7)+parseInt(f(0x14c))/0x8*(parseInt(f(0x154))/0x9)+-parseInt(f(0x14d))/0xa+parseInt(f(0x15a))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0xefce1));var a125b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){var g=a125d;return a125a[g(0x152)]()[g(0x155)](g(0x158))['toString']()[g(0x14e)](a125a)[g(0x155)]('(((.+)+)+)+$');});function a125d(a,b){var c=a125c();return a125d=function(d,e){d=d-0x14c;var f=c[d];return f;},a125d(a,b);}a125a();function a125c(){var h=['constructor','2992464wnMbSx','5278960dXgxCw','15642rKuxrf','toString','700IWCbCU','3175704ACkIuS','search','360478SMckDE','9SPICIv','(((.+)+)+)+$','4PgouZH','10989473mNGdwJ','32BwLTPl','1250790arcnNg'];a125c=function(){return h;};return a125c();}import'./translation.js';import'./openssl.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a126k=a126d;function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x1a9;let f=c[d];return f;},a126d(a,b);}(function(a,b){const i=a126d,c=a();while(!![]){try{const d=-parseInt(i(0x1ba))/0x1+-parseInt(i(0x1be))/0x2+parseInt(i(0x1aa))/0x3+-parseInt(i(0x1ae))/0x4*(parseInt(i(0x1a9))/0x5)+-parseInt(i(0x1bf))/0x6*(-parseInt(i(0x1bb))/0x7)+parseInt(i(0x1b2))/0x8*(-parseInt(i(0x1b8))/0x9)+parseInt(i(0x1b0))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x89c4a));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[j(0x1b7)]()[j(0x1c2)](j(0x1b1))['toString']()[j(0x1c1)](a126a)['search'](j(0x1b1));});a126a();import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';function a126c(){const n=['821538bmlIZH','18cPoBYp','sslconfig','constructor','search','25ExlGaz','2820690QEHteT','appName','create','withValue','797556riEXXH','openssl.conf','18078120tpCPTy','(((.+)+)+)+$','110152fZiKFC','join','getAppConfigPath','fsi','_keys','toString','657FzQDMo','env','52386yirkEs','656817sLXdqf','maka\x20g:sslconfig\x20--env\x20dev','Generate\x20a\x20new\x20openssl\x20config\x20file'];a126c=function(){return n;};return a126c();}import a126e from'path';Generator[a126k(0x1ac)]({'name':a126k(0x1c0),'usage':'maka\x20{generate,\x20g}:sslconfig','shortDesc':a126k(0x1bd),'noNeedResource':!![],'requiredOpts':['env'],'examples':[a126k(0x1bc)],'validOpts':[]},async function(a,b){const l=a126k;try{const c=await this[l(0x1b5)]['getMakaProjectConfig'](),d=await this[l(0x1b5)]['getGlobalConfig'](),f=this['fsi'][l(0x1b4)](b[l(0x1b9)]),g=a126e[l(0x1b3)](f,l(0x1b6),l(0x1af));await this['fsi'][l(0x1ad)](c,async()=>{const m=l,h={'app':d[m(0x1ab)],'noRename':!![]};await this[m(0x1b5)]['template']({'srcPath':'openssl/openssl.conf','destPath':g,'framework':'service','context':h,'config':c});});}catch(h){Log['error'](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a127A=a127d;(function(a,b){const x=a127d,c=a();while(!![]){try{const d
|
|
1
|
+
function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0xa3;let f=c[d];return f;},a127d(a,b);}const a127A=a127d;(function(a,b){const x=a127d,c=a();while(!![]){try{const d=-parseInt(x(0xb4))/0x1*(parseInt(x(0xb6))/0x2)+parseInt(x(0xb9))/0x3*(-parseInt(x(0xd5))/0x4)+parseInt(x(0xa6))/0x5+parseInt(x(0xdb))/0x6*(-parseInt(x(0xba))/0x7)+parseInt(x(0xb2))/0x8+-parseInt(x(0xc5))/0x9*(-parseInt(x(0xd0))/0xa)+-parseInt(x(0xdf))/0xb*(-parseInt(x(0xbf))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0xd4d56));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a127d;if(c){const e=c[y(0xd4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const z=a127d;return a127a[z(0xe2)]()[z(0xbc)]('(((.+)+)+)+$')[z(0xe2)]()['constructor'](a127a)[z(0xbc)](z(0xa7));});a127a();import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';import a127e from'fs';function a127c(){const D=['rewriteDestinationPathForEngine','toString','client','default\x20as\x20','services','lib','6689935NjkXDs','(((.+)+)+)+$','fsi','readFileSync','maka\x20g:translation\x20--lang=fr','engines','features.withTranslations','checkNpmPackage','translations','maka\x20{generate,\x20g}:translation','export\x20{\x20default\x20as\x20','injectAtEndOfFile','5886960UHkcDh','true','148691Swesis','findAppDirectory','22hgzGLQ','i18n/index.js','translation','1425qtkbtI','36323nMvqYg','i18next\x20i18next-browser-languagedetector\x20react-i18next','search','injectAtBeginningOfFile','index.','12sRTBRq','installNpmPackage','maka\x20g:translation\x20--lang=de','lang','isFile','imports','1305VgjwQG','locales','index.js','Locale\x20already\x20exported:\x20','template','appName','warn','root','\x20}\x20from\x20\x27./','setProjectConfig','i18n/locales.js','36550QyZAuV','ssr','startup','create','apply','5404RVWejB','\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','Locale\x20already\x20defined:\x20','pathFromApp','i18next','1938ccoFGV','error','i18n.js','withValue','24434377jaumxC','grep'];a127c=function(){return D;};return a127c();}Generator[a127A(0xd3)]({'name':a127A(0xb8),'usage':a127A(0xaf),'aliases':['t'],'noNeedResource':!![],'requiredOpts':[{'name':'lang','boolFlag':![],'regex':/^[a-z]{2}$/}],'shortDesc':'Generate\x20a\x20new\x20locale\x20translation','description':a127A(0xd6),'examples':['maka\x20g:translation\x20--lang=en\x20(default)',a127A(0xaa),a127A(0xc1)],'validOpts':[]},async function(a,b){const B=a127A;try{const c=this['fsi']['getMakaProjectConfig'](),d=this[B(0xa8)]['getGlobalConfig'](),f=this[B(0xa8)][B(0xb5)]();await this['fsi'][B(0xde)](c,async()=>{const C=B;try{!b[C(0xc2)]&&(b[C(0xc2)]='en');!b[C(0xcc)]&&!this[C(0xa8)][C(0xad)](C(0xda))&&(Log[C(0xcb)]('Verifying\x20npm\x20package\x20requirements:\x20i18next\x20...'),this[C(0xa8)][C(0xc0)](C(0xbb),{'cwd':f}),this[C(0xa8)][C(0xce)](C(0xac),!![]));const g=this[C(0xa8)][C(0xd9)]({'pathParts':[C(0xc4),C(0xd2),C(0xe3),C(0xc7)]}),h=this['fsi'][C(0xe1)]({'pathParts':[g],'config':c}),i=this[C(0xa8)][C(0xe0)](a127e[C(0xa9)](h)[C(0xe2)](),'import\x20\x27../lib/services/translations/i18n\x27;')[0x0]&&!![];if(c['engines'][C(0xd1)]===C(0xb3)){!i&&this['fsi'][C(0xbd)]({'filePath':h,'content':C(0xd7)});const t=this[C(0xa8)][C(0xd9)]({'pathParts':['imports','startup','server','index.js']}),u=this[C(0xa8)][C(0xe1)]({'pathParts':[t],'config':c}),v=this[C(0xa8)][C(0xe0)](a127e['readFileSync'](u)[C(0xe2)](),'import\x20\x27../lib/services/translations/i18n\x27;')[0x0]&&!![];!v&&this[C(0xa8)][C(0xbd)]({'filePath':u,'content':'import\x20\x27../lib/services/translations/i18n\x27;\x0a'});}else!i&&this['fsi']['injectAtBeginningOfFile']({'filePath':h,'content':C(0xd7)});const j={'app':d[C(0xca)],'config':c},k=this[C(0xa8)][C(0xd9)]({'pathParts':[C(0xc4),C(0xd2),C(0xa5),C(0xa4),C(0xae),C(0xdd)]}),l=this['fsi']['isFile'](this[C(0xa8)][C(0xe1)]({'pathParts':[k],'config':c}));!l&&await this['fsi'][C(0xc9)]({'srcPath':'i18n/i18n.js','destPath':k,'framework':'service','context':j,'config':c});const m=this[C(0xa8)][C(0xd9)]({'pathParts':[C(0xc4),C(0xd2),'lib',C(0xa4),'translations','locales',b[C(0xc2)]+'.js']}),n=this[C(0xa8)][C(0xe1)]({'pathParts':[m],'config':c}),o=this[C(0xa8)][C(0xc3)](n);!o?await this[C(0xa8)][C(0xc9)]({'srcPath':C(0xcf),'destPath':m,'framework':'service','context':j,'config':c}):Log[C(0xcb)](C(0xd8)+n);const p=this[C(0xa8)][C(0xd9)]({'pathParts':[C(0xc4),C(0xd2),C(0xa5),C(0xa4),C(0xae),C(0xc6),C(0xbe)+c[C(0xab)]['js']]}),q=this[C(0xa8)]['rewriteDestinationPathForEngine']({'pathParts':[p],'config':c}),r=this[C(0xa8)][C(0xc3)](q);!r&&await this['fsi'][C(0xc9)]({'srcPath':C(0xb7),'destPath':p,'framework':'service','context':j,'config':c});const s=this[C(0xa8)][C(0xe0)](a127e['readFileSync'](p)[C(0xe2)](),C(0xa3)+b['lang'])[0x0]&&!![];!s?await this[C(0xa8)][C(0xb1)]({'filePath':p,'content':C(0xb0)+b[C(0xc2)]+C(0xcd)+b[C(0xc2)]+'\x27;'}):Log[C(0xcb)](C(0xc8)+p);}catch(w){Log[C(0xdc)](w),process['exit'](0x1);}});}catch(g){Log[B(0xdc)](g),process['exit'](0x1);}});
|
package/bundle/obf/src/maka.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a128m=a128d;function a128c(){const n=['
|
|
1
|
+
const a128m=a128d;function a128c(){const n=['totalmem','13930jNAQZm','--max-old-space-size=','65005bzhiUS','run','MAKA_COMMAND_PATH','1994022ljRxmC','(((.+)+)+)+$','stringify','36892CYcQvV','BROWSERSLIST_IGNORE_OLD_DATA','env','slice','url','1168192zcetTl','constructor','2585pDAeRt','argv','parse','1380NeQdqb','105pydwAW','TOOL_NODE_FLAGS','toString','1269541MdchBK','search','camelizeKeys','3670XIivjM','14rLExFd','apply','12CnCyWt','2rwJrIE'];a128c=function(){return n;};return a128c();}(function(a,b){const j=a128d,c=a();while(!![]){try{const d=parseInt(j(0xf0))/0x1*(-parseInt(j(0xec))/0x2)+parseInt(j(0xe2))/0x3*(-parseInt(j(0xf6))/0x4)+-parseInt(j(0xe8))/0x5*(parseInt(j(0xe1))/0x6)+-parseInt(j(0xe9))/0x7*(-parseInt(j(0xdc))/0x8)+parseInt(j(0xf3))/0x9+-parseInt(j(0xee))/0xa*(-parseInt(j(0xde))/0xb)+-parseInt(j(0xeb))/0xc*(parseInt(j(0xe5))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x2d932));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a128d;if(c){const e=c[k(0xea)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const l=a128d;return a128a['toString']()[l(0xe6)]('(((.+)+)+)+$')[l(0xe4)]()[l(0xdd)](a128a)[l(0xe6)](l(0xf4));});function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0xdb;let f=c[d];return f;},a128d(a,b);}a128a();import a128e from'minimist';import a128f from'os';import a128g from'path';import a128h from'humps';import a128i from'./commands/maka.cmd.js';import'./commands/_index.js';import'./generators/_index.js';import{fileURLToPath}from'url';const __filename=fileURLToPath(import.meta[a128m(0xdb)]),__dirname=a128g['dirname'](__filename);global[a128m(0xf2)]=__dirname;const total_memory=a128f[a128m(0xed)](),total_mem_in_kb=total_memory/0x400;let total_mem_in_mb=total_mem_in_kb/0x400;total_mem_in_mb=Math['floor'](total_mem_in_mb),process['env'][a128m(0xe3)]=a128m(0xef)+total_mem_in_mb,process[a128m(0xf8)][a128m(0xf7)]='1',process['env']['NODE_NO_WARNINGS']='1';const argv=a128e(process[a128m(0xdf)][a128m(0xf9)](0x2)),args=argv['_'],deepCopyArgv=JSON[a128m(0xe0)](JSON[a128m(0xf5)](argv));delete deepCopyArgv['_'];const opts=a128h[a128m(0xe7)](deepCopyArgv);a128i[a128m(0xf1)](args,opts);
|