@maka/maka-cli 4.9.15 → 4.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/obf/package.json +1 -1
- package/bundle/obf/src/command.js +1 -1
- package/bundle/obf/src/commands/_index.js +1 -1
- package/bundle/obf/src/commands/ai.js +1 -1
- package/bundle/obf/src/commands/aws/_index.js +1 -1
- package/bundle/obf/src/commands/aws/aws.command.js +1 -1
- package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/build/_index.js +1 -1
- package/bundle/obf/src/commands/build/build.js +1 -1
- package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/create.js +1 -1
- package/bundle/obf/src/commands/debug.js +1 -1
- package/bundle/obf/src/commands/deploy/_index.js +1 -1
- package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
- package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/_index.js +1 -1
- package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/play.command.js +1 -1
- package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/generate.js +1 -1
- package/bundle/obf/src/commands/get/_index.js +1 -1
- package/bundle/obf/src/commands/get/get.command.js +1 -1
- package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/help.js +1 -1
- package/bundle/obf/src/commands/install.js +1 -1
- package/bundle/obf/src/commands/jsdoc.js +1 -1
- package/bundle/obf/src/commands/lint.js +1 -1
- package/bundle/obf/src/commands/login.js +1 -1
- package/bundle/obf/src/commands/logout.js +1 -1
- package/bundle/obf/src/commands/logs.js +1 -1
- package/bundle/obf/src/commands/maka.cmd.js +1 -1
- package/bundle/obf/src/commands/murder.js +1 -1
- package/bundle/obf/src/commands/patreon.js +1 -1
- package/bundle/obf/src/commands/proxy.js +1 -1
- package/bundle/obf/src/commands/reconfig.js +1 -1
- package/bundle/obf/src/commands/register.js +1 -1
- package/bundle/obf/src/commands/run/_index.js +1 -1
- package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/run/run.command.js +1 -1
- package/bundle/obf/src/commands/set/_index.js +1 -1
- package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/set.command.js +1 -1
- package/bundle/obf/src/commands/ssh.js +1 -1
- package/bundle/obf/src/commands/ssl.js +1 -1
- package/bundle/obf/src/commands/test.js +1 -1
- package/bundle/obf/src/commands/undo.js +1 -1
- package/bundle/obf/src/commands/version.js +1 -1
- package/bundle/obf/src/error.js +1 -1
- package/bundle/obf/src/exec.js +1 -1
- package/bundle/obf/src/generator.js +1 -1
- package/bundle/obf/src/generators/_index.js +1 -1
- package/bundle/obf/src/generators/api.js +1 -1
- package/bundle/obf/src/generators/collection.js +1 -1
- package/bundle/obf/src/generators/component.js +1 -1
- package/bundle/obf/src/generators/config.js +1 -1
- package/bundle/obf/src/generators/dbc.js +1 -1
- package/bundle/obf/src/generators/dockerfile.js +1 -1
- package/bundle/obf/src/generators/hook.js +1 -1
- package/bundle/obf/src/generators/kits/_index.js +1 -1
- package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
- package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
- package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
- package/bundle/obf/src/generators/kits/kit.js +1 -1
- package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
- package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
- package/bundle/obf/src/generators/layout.js +1 -1
- package/bundle/obf/src/generators/maka.gen.js +1 -1
- package/bundle/obf/src/generators/methods.js +1 -1
- package/bundle/obf/src/generators/package.js +1 -1
- package/bundle/obf/src/generators/page.js +1 -1
- package/bundle/obf/src/generators/publish.js +1 -1
- package/bundle/obf/src/generators/route.js +1 -1
- package/bundle/obf/src/generators/service.js +1 -1
- package/bundle/obf/src/generators/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/translation.js +1 -1
- package/bundle/obf/src/maka.js +1 -1
- package/bundle/obf/src/templates/meteor/api/api.js +1 -1
- package/bundle/obf/src/templates/meteor/api/api.js.ts +1 -1
- package/bundle/obf/src/templates/meteor/api/methods.js +1 -1
- package/bundle/obf/src/templates/meteor/api/methods.js.ts +1 -1
- package/bundle/obf/src/templates/meteor/api/tests.js +0 -1
- package/bundle/obf/src/templates/meteor/api/tests.js.ts +0 -1
- package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js.jsx +2 -7
- package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js.tsx +2 -7
- package/bundle/obf/src/templates/meteor/app/imports/startup/server/index.js.jsx +4 -5
- package/bundle/obf/src/templates/meteor/app/imports/startup/server/index.js.tsx +4 -5
- package/bundle/obf/src/templates/meteor/app/maka.d.ts +319 -0
- package/bundle/obf/src/templates/meteor/app/meteor.d.ts +0 -1
- package/bundle/obf/src/templates/react/component/component.js.jsx +2 -14
- package/bundle/obf/src/templates/react/component/component.js.tsx +2 -13
- package/bundle/obf/src/templates/react/hook/hook.js.jsx +2 -9
- package/bundle/obf/src/templates/react/hook/hook.js.tsx +2 -10
- 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 a115A=a115d;(function(a,b){const x=a115d,c=a();while(!![]){try{const d=parseInt(x(
|
|
1
|
+
const a115A=a115d;function a115c(){const E=['39WtgecA','maka\x20g:k:m:f','toString','baseDir','withValue','.js','constructor','layouts','Cleaning\x20up...','307376NiCGBC','options','apply','24cAvBFG','455086qUHUIb','maka\x20generate:kit:mui:frame','dir','injectImport','imports','tsx','getDirectories','{props.children}','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','app-tests','error','10gHzPIl','{\x20props.children\x20}','kit/mui/frame/drawers/','{this.props.children}','\x20/>\x0a','/imports/startup/client/templates','session','length','1843464PQvgVR','18115cQWHDF','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','create','injectTemplateModule','1956256IdfSmV','kit/mui/frame/app-bars/','(((.+)+)+)+$','injectIntoFile','fsi','/imports/ui/','engines','log','jsx','true','test','getMakaProjectConfig','search','pathFromApp','template','/imports/ui/hooks','5206509nSQIse','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','No\x20layouts\x20selected','114508JFZnSf','tests','<div\x20id=\x22','basic-drawer','replaceAll','react','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','join','findAppDirectory','{\x20this.props.children\x20}'];a115c=function(){return E;};return a115c();}(function(a,b){const x=a115d,c=a();while(!![]){try{const d=parseInt(x(0x1d0))/0x1+parseInt(x(0x1cc))/0x2+-parseInt(x(0x1c3))/0x3*(parseInt(x(0x1fb))/0x4)+parseInt(x(0x1e4))/0x5*(-parseInt(x(0x1cf))/0x6)+-parseInt(x(0x1e3))/0x7+-parseInt(x(0x1e8))/0x8+-parseInt(x(0x1f8))/0x9*(-parseInt(x(0x1db))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0x4778c));const a115b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a115d;if(c){const e=c[y(0x1ce)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a115a=a115b(this,function(){const z=a115d;return a115a[z(0x1c5)]()[z(0x1f4)](z(0x1ea))[z(0x1c5)]()[z(0x1c9)](a115a)[z(0x1f4)](z(0x1ea));});a115a();import{Generator}from'../../../generator.js';function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-0x1be;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';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a115A(0x1e6)]({'name':'frame','aliases':['f'],'usage':a115A(0x1d8),'shortDesc':a115A(0x1f9),'validOpts':['layouts'],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines['REACT']},'examples':[a115A(0x1d1),a115A(0x1c4)],'description':a115A(0x1bf)},async function(a,b){const B=a115A;try{const c='basic-app-bar',d=B(0x1fe),f=this[B(0x1ec)][B(0x1f3)](),g=f[B(0x1ee)]['ssr']===B(0x1f1);await this[B(0x1ec)]['checkMeteorPackage'](B(0x1e1),{'shouldInstall':!![]});const h=this[B(0x1ec)][B(0x1c1)](),i=a115e[B(0x1c0)](h,B(0x1d4),'ui','layouts'),j=this['fsi'][B(0x1d6)](i),k=await Actions[B(0x1cd)]({'type':'checkbox','name':B(0x1ca),'message':B(0x1e5),'choices':j});if(k['layouts'][B(0x1e2)]===0x0){Log['error'](B(0x1fa));return;}const l=b[B(0x1c6)]?B(0x1ed)+b[B(0x1c6)]:B(0x1f7),m=this['fsi']['pathFromApp']({'pathParts':[l,b[B(0x1d2)],paramCase(c),paramCase(c)]}),n=this['fsi'][B(0x1f5)]({'pathParts':[l,b[B(0x1d2)],paramCase(d),paramCase(d)]}),o={'name':headerCase(f['appName'])[B(0x1ff)]('-','\x20')};await this[B(0x1ec)][B(0x1c7)](f,async()=>{const C=B;await this[C(0x1ec)][C(0x1f6)]({'srcPath':C(0x1e9)+c+C(0x1c8),'destPath':m+'.js','framework':C(0x1be),'context':o,'config':f,'force':![],'ignore':![]}),await this[C(0x1ec)][C(0x1f6)]({'srcPath':C(0x1dd)+d+C(0x1c8),'destPath':n+C(0x1c8),'framework':C(0x1be),'context':o,'config':f,'force':![],'ignore':![]});});const p=''+l+b['dir']+'/'+c+'/'+c;await this[B(0x1ec)][B(0x1e7)](c,f,p);const q=''+l+b[B(0x1d2)]+'/'+d+'/'+d;await this[B(0x1ec)][B(0x1e7)](d,f,q);const {layouts:r}=k;for(const s of r){const t=this['fsi']['getFiles'](a115e['join'](i,s),{'extensions':[B(0x1f0),B(0x1d5)],'omit':[B(0x1d9),B(0x1fc),B(0x1f2)]});for(const u of t){const v=a115e['join'](i,s,u);await this[B(0x1ec)][B(0x1d3)]({'filePath':v,'importName':pascalCase(c),'modulePath':g?'/imports/startup/lib/templates':B(0x1e0),'isNamedExport':!![]}),await this[B(0x1ec)][B(0x1eb)]({'filePath':v,'content':'<'+pascalCase(c)+B(0x1df),'begin':[B(0x1fd)+s+'\x22>',B(0x1fd)+s+'-hook\x22>'],'end':[B(0x1de),B(0x1c2),B(0x1d7),'{\x20props.children\x20}']}),await this[B(0x1ec)][B(0x1d3)]({'filePath':v,'importName':pascalCase(d),'modulePath':g?'/imports/startup/lib/templates':'/imports/startup/client/templates','isNamedExport':!![]}),await this[B(0x1ec)][B(0x1eb)]({'filePath':v,'content':'<'+pascalCase(d)+B(0x1df),'begin':[B(0x1fd)+s+'\x22>',B(0x1fd)+s+'-hook\x22>'],'end':['{this.props.children}',B(0x1c2),B(0x1d7),B(0x1dc)]});}}return!![];}catch(w){Log[B(0x1da)](w);}},async function(){const D=a115A;console[D(0x1ef)](D(0x1cb));},a115f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a116h=a116d;(function(a,b){const f=a116d,c=a();while(!![]){try{const d=-parseInt(f(0x1e6))/0x1+-parseInt(f(0x1db))/0x2*(parseInt(f(0x1e7))/0x3)+parseInt(f(0x1de))/0x4*(parseInt(f(0x1df))/0x5)+-parseInt(f(0x1e3))/0x6*(parseInt(f(0x1e9))/0x7)+parseInt(f(0x1ee))/0x8+-parseInt(f(0x1ed))/0x9*(-parseInt(f(0x1dd))/0xa)+parseInt(f(0x1eb))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0xc5418));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const g=a116d;return a116a[g(0x1e5)]()[g(0x1e8)](g(0x1e4))[g(0x1e5)]()[g(0x1dc)](a116a)[g(0x1e8)](g(0x1e4));});function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x1db;let f=c[d];return f;},a116d(a,b);}a116a();import{Generator}from'../../../generator.js';function a116c(){const j=['395832thFNRI','(((.+)+)+)+$','toString','1559281sFQnJd','9mNFOOS','search','91WPfSEn','maka\x20g:kit:m','5695657WHHxZf','create','4128993wkNbHc','2656592YIcZhD','114014hZLTXh','constructor','30HycilB','8NEWfkw','2924265eigqRW','NIE','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','Material-UI\x20Kit'];a116c=function(){return j;};return a116c();}import a116e from'../kit.js';const MuiGen=Generator[a116h(0x1ec)]({'name':'mui','aliases':['m'],'usage':a116h(0x1e1),'noNeedResource':!![],'shortDesc':a116h(0x1e2),'validOpts':[''],'isPro':![],'examples':[a116h(0x1ea)]},async function(){const i=a116h;throw i(0x1e0);},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(0x153))/0x1*(-parseInt(l(0x12e))/0x2)+parseInt(l(0x13f))/0x3+-parseInt(l(0x130))/0x4+-parseInt(l(0x14a))/0x5+parseInt(l(0x15d))/0x6*(-parseInt(l(0x149))/0x7)+parseInt(l(0x140))/0x8*(-parseInt(l(0x13a))/0x9)+parseInt(l(0x156))/0xa*(parseInt(l(0x129))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x5e84e));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a117d;if(c){const e=c[m(0x142)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const n=a117d;return a117a[n(0x157)]()[n(0x13b)]('(((.+)+)+)+$')[n(0x157)]()[n(0x12b)](a117a)['search'](n(0x139));});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-0x125;let f=c[d];return f;},a117d(a,b);}function a117c(){const r=['installNpmPackage','apply','getMakaProjectConfig','engines','warn','features','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','dir','95144eRbNBm','282360GhxDwJ','ramda','react','string','ssr','withValue','withHooks','className','resourceName','387130MVvHxX','test','hook/hook.js','10RiJquL','toString','maka\x20g:layout\x20mobile/iPhone8','split','create','withHook','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','6NOArRw','css','graphql','withTranslations','findAppDirectory','client','api','assign','10906907KijCFU','.app-tests.js','constructor','injectAtBeginningOfFile','component/component.js','4vAASvg','pathFromApp','781064oGYdqt','true','layout','fsi','setTemplate','pathFromProject','template','.js','fileName','(((.+)+)+)+$','2591541lhdDIE','search','maka\x20g:l\x20web/safari','template/template.css','test/test.js','2169456VUARPc','8lqypEJ'];a117c=function(){return r;};return a117c();}Generator[a117o(0x15a)]({'name':a117o(0x132),'aliases':aliases,'usage':a117o(0x147),'shortDesc':'Scaffolding\x20for\x20a\x20React\x20Layout.','validOpts':[],'examples':[a117o(0x158),a117o(0x13c)]},async function(a,b){const p=a117o,c='/imports/ui/layouts',d=this[p(0x133)][p(0x125)](),e=this[p(0x133)][p(0x12f)]({'pathParts':[c,b[p(0x148)],paramCase(b['resourceName']),paramCase(b[p(0x152)])]}),f=this[p(0x133)][p(0x143)]();await this[p(0x133)][p(0x14f)](f,async()=>{const q=p;typeof f[q(0x136)][q(0x154)]===q(0x14d)&&(f['template'][q(0x154)]=f[q(0x136)][q(0x154)]===q(0x131)?!![]:![],this[q(0x133)]['setTemplate']('test',f[q(0x136)]['test']));typeof f[q(0x136)][q(0x15e)]===q(0x14d)&&(f[q(0x136)][q(0x15e)]=f['template'][q(0x15e)]===q(0x131)?!![]:![],this[q(0x133)][q(0x134)](q(0x15e),f[q(0x136)][q(0x15e)]));typeof f[q(0x136)]['js']===q(0x14d)&&(f[q(0x136)]['js']=f[q(0x136)]['js']==='true'?!![]:![],this[q(0x133)][q(0x134)]('js',f[q(0x136)]['js']));!f[q(0x146)]&&(f[q(0x146)]={});const g=b['_']?b['_'][0x0][q(0x159)](':')[0x1]:![],h=b['_']&&aliases['includes'](g);h&&!this['checkNpmPackage']('ramda')&&(Log[q(0x145)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),this[q(0x133)][q(0x141)](q(0x14b),{'cwd':d}));if(h&&!this['checkNpmPackage']('react')){Log[q(0x145)](q(0x15c));return;}const i={'name':pascalCase(b[q(0x152)]),'myPath':a117e['relative'](this[q(0x133)][q(0x135)]({}),e),'cssCaseName':paramCase(b[q(0x152)]),'className':pascalCase(b[q(0x152)]),'camelCaseName':camelCase(b[q(0x152)]),'fileName':paramCase(b[q(0x152)]),'graphql':f['engines'][q(0x15f)],'features':f[q(0x146)],'client':f[q(0x144)][q(0x126)],'api':f[q(0x144)][q(0x127)],'ssr':f[q(0x144)][q(0x14e)],'test':f[q(0x144)][q(0x154)],'theme':f['engines']['theme'],'isComponent':![],'isLayout':!![],'withTranslations':f[q(0x146)][q(0x160)]};f[q(0x146)]?.[q(0x150)]||b[q(0x15b)]?await this[q(0x133)]['template']({'srcPath':q(0x155),'destPath':e+q(0x137),'framework':q(0x14c),'context':i,'config':f}):await this['fsi'][q(0x136)]({'srcPath':q(0x12d),'destPath':e+q(0x137),'framework':q(0x14c),'context':i,'config':f});f[q(0x144)][q(0x154)]!=='none'&&await this[q(0x133)][q(0x136)]({'srcPath':q(0x13e),'destPath':e+q(0x12a),'framework':q(0x14c),'context':i,'config':f});f['template'][q(0x15e)]&&(await this[q(0x133)][q(0x136)]({'srcPath':q(0x13d),'destPath':e+'.css','context':Object[q(0x128)]({},i,{'className':paramCase(b['resourceName'])}),'config':f}),await this[q(0x133)][q(0x12c)]({'filePath':e+'.'+f[q(0x144)]['js'],'content':'import\x20\x27./'+i['fileName']+'.'+f[q(0x144)][q(0x15e)]+'\x27;'}));const j=b[q(0x148)]?'/'+b['dir']+'/':'/',k=''+c+j+i[q(0x138)]+'/'+i[q(0x138)];await this[q(0x133)]['injectTemplateModule'](i[q(0x151)],f,k);});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a118i=a118d;(function(a,b){const f=a118d,c=a();while(!![]){try{const d
|
|
1
|
+
function a118c(){const j=['maka\x20{generate,\x20g}:<generator>\x20<name>','8GROLWo','apply','maka\x20g:scaffold\x20todos','118JfzAdB','6359rrKpDp','187tPswau','916920VmAstJ','maka\x20generate:scaffold\x20todos','maka\x20g:template\x20todos/todo_item','552126xYLsJJ','420YRrNNy','4nUXHlC','maka\x20g:dbc\x20geoserver\x20--type=pgsql','86653rDmpFf','search','maka\x20g:package\x20package:name','8291915sIsmcU','toString','2786304wLpHND','maka\x20g:api\x20trucks','Scaffold\x20various\x20parts\x20of\x20your\x20application','constructor','(((.+)+)+)+$','14703354TEadpG'];a118c=function(){return j;};return a118c();}const a118i=a118d;(function(a,b){const f=a118d,c=a();while(!![]){try{const d=-parseInt(f(0xf3))/0x1*(parseInt(f(0xf2))/0x2)+-parseInt(f(0xf8))/0x3+parseInt(f(0xe1))/0x4*(-parseInt(f(0xe6))/0x5)+parseInt(f(0xf9))/0x6*(parseInt(f(0xe3))/0x7)+-parseInt(f(0xef))/0x8*(parseInt(f(0xed))/0x9)+-parseInt(f(0xf5))/0xa+parseInt(f(0xf4))/0xb*(parseInt(f(0xe8))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0xd4986));const a118b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a118d;if(c){const e=c[g(0xf0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){const h=a118d;return a118a[h(0xe7)]()[h(0xe4)](h(0xec))[h(0xe7)]()[h(0xeb)](a118a)[h(0xe4)](h(0xec));});a118a();import{Generator}from'../generator.js';function a118d(a,b){const c=a118c();return a118d=function(d,e){d=d-0xe1;let f=c[d];return f;},a118d(a,b);}const MakaGen=new Generator({'name':'generate','aliases':['g'],'usage':a118i(0xee),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a118i(0xea),'examples':[a118i(0xf6),a118i(0xf1),a118i(0xf7),a118i(0xe5),'maka\x20g:route\x20todos/edit',a118i(0xe9),a118i(0xe2)]},function(){});export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a119l=a119d;(function(a,b){const j=a119d,c=a();while(!![]){try{const d=-parseInt(j(0x20e))/0x1*(-parseInt(j(0x1f7))/0x2)+-parseInt(j(0x1f0))/0x3*(-parseInt(j(0x203))/0x4)+parseInt(j(0x20d))/0x5+parseInt(j(0x201))/0x6+parseInt(j(0x1fa))/0x7+-parseInt(j(0x200))/0x8*(parseInt(j(0x1f4))/0x9)+parseInt(j(0x204))/0xa*(-parseInt(j(0x1fe))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xc5ec4));const a119b=(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;};}()),a119a=a119b(this,function(){const k=a119d;return a119a[k(0x208)]()[k(0x1f6)](k(0x20b))['toString']()[k(0x1f1)](a119a)[k(0x1f6)](k(0x20b));});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-0x1f0;let f=c[d];return f;},a119d(a,b);}Generator[a119l(0x207)]({'name':'method','aliases':['m'],'usage':a119l(0x1f9),'checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','validOpts':['dir'],'examples':[a119l(0x20f)]},async function(a,b){const m=a119l;try{const c=this[m(0x20a)]['getMakaProjectConfig']();await this[m(0x20a)]['withValue'](c,async()=>{const n=m,d=paramCase(b[n(0x205)]),f={'name':b['resourceName'],'fileName':d,'className':pascalCase(b['resourceName']),'camelCase':camelCase(b[n(0x205)]),'noRename':!![]};let g='js';c[n(0x1f5)]['js']===n(0x1f8)&&(g='ts');await this[n(0x20a)][n(0x1fb)](['maka:check',n(0x1fc),n(0x209)],{'shouldInstall':!![]}),await this[n(0x20a)][n(0x1f2)]({'srcPath':'method/method.js','destPath':this[n(0x20a)][n(0x1fd)]({'pathParts':['imports',n(0x1ff),b[n(0x20c)],n(0x211),b['dir'],d+n(0x210)+g]}),'context':f,'config':c});const h=b['dir']?'/'+b[n(0x206)]+'/':'/',i=this[n(0x20a)][n(0x1fd)]({'pathParts':['imports',n(0x1ff),b['appPathPrefix'],'index.'+c['engines']['js']]});await this[n(0x20a)]['injectAtEndOfFile']({'filePath':i,'content':'import\x20\x27./methods'+h+d+n(0x202)});});}catch(d){Log[m(0x1f3)](d);}});function a119c(){const o=['(((.+)+)+)+$','appPathPrefix','7761365rBKKGr','2ahTawl','maka\x20g:method\x20todos','-rpc-method.','methods','42345UcRtDt','constructor','template','error','1791GrWsRH','engines','search','105684YkJjLz','tsx','maka\x20{generate,\x20g}:{method,\x20m}\x20name','723877gWsBvZ','checkMeteorPackage','ddp-rate-limiter','pathFromApp','32209584KJenqw','startup','43144QjsXoQ','8818770KwaUtv','-rpc-method\x27;','448rgNVmd','10crhopw','resourceName','dir','create','toString','mdg:validated-method','fsi'];a119c=function(){return o;};return a119c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a120o=a120d;(function(a,b){const l=a120d,c=a();while(!![]){try{const d=parseInt(l(0xe3))/0x1*(parseInt(l(0xf4))/0x2)+-parseInt(l(0xec))/0x3*(-parseInt(l(0xf8))/0x4)+parseInt(l(0xfc))/0x5+parseInt(l(0xdf))/0x6*(-parseInt(l(0xfa))/0x7)+-parseInt(l(0x105))/0x8+-parseInt(l(0xe2))/0x9+parseInt(l(0xf2))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x699fe));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a120d;if(c){const e=c[m(0xd9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const n=a120d;return a120a[n(0x103)]()['search']('(((.+)+)+)+$')['toString']()[n(0xdb)](a120a)[n(0xef)](n(0xee));});a120a();function a120c(){const r=['template/template.js','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','4930092jGUvku','104848rWXDbu','component','getMakaProjectConfig','fsi','ssr','client','create','packages','relative','1097235NfEyZF','dir','(((.+)+)+)+$','search','engines','package','1517530QqkBMo','resourceName','16pABEwr','/package.js','lib','package/package.js','4hBsElp','tests/client','22841BilXtc','pathFromApp','2875600tAMLcg','pathFromProject','.js','maka\x20g:package\x20todos:package','tests/server','noRename','template','toString','graphql','3953248GjTcjY','apply','withValue','constructor','hasOwnProperty','theme','server','840IFWJmJ'];a120c=function(){return r;};return a120c();}import a120e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0xd9;let f=c[d];return f;},a120d(a,b);}Generator[a120o(0xe9)]({'name':a120o(0xf1),'aliases':['p'],'usage':a120o(0xe1),'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','validOpts':[a120o(0xed)],'examples':[a120o(0xff)]},async function(a,b){const p=a120o,c=paramCase(b[p(0xf3)]),d=this[p(0xe6)][p(0xfb)]({'pathParts':['packages',b['dir'],c]}),e=this[p(0xe6)]['pathFromAppWithNoReWrite']({'pathParts':[p(0xea),b[p(0xed)],c,'package.js']}),f=this[p(0xe6)][p(0xe5)]();await this['fsi'][p(0xda)](f,async()=>{const q=p,g={'name':paramCase(b[q(0xf3)]),'myPath':a120e[q(0xeb)](this[q(0xe6)][q(0xfd)]({}),d),'cssCaseName':paramCase(b[q(0xf3)]),'className':pascalCase(b[q(0xf3)]),'camelCaseName':camelCase(b[q(0xf3)]),'fileName':c,'client':f['engines'][q(0xe8)],'graphql':f[q(0xf0)][q(0x104)],'ssr':f['engines'][q(0xe7)],'isComponent':b[q(0xdc)](q(0xe4)),'isLayout':b[q(0xdc)]('layout'),'isStore':b['hasOwnProperty']('store'),'features':f['features'],'noRename':!![],'theme':f['engines'][q(0xdd)]};await this[q(0xe6)][q(0x102)]({'srcPath':q(0xf7),'destPath':e,'context':g,'config':f}),g[q(0x101)]=![];const h=d+'/client/'+c+q(0xfe);await this[q(0xe6)]['template']({'srcPath':q(0xe0),'destPath':h,'context':g,'config':f});const i=[q(0xf6),q(0xde),q(0xf9),q(0x100)];for(const j of i){const k=d+'/'+j+'/'+c+q(0xfe);await this['fsi'][q(0x102)]({'srcPath':'package/'+j+q(0xf5),'destPath':k,'context':g,'config':f});}});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a121m=a121d;function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0xee;let f=c[d];return f;},a121d(a,b);}(function(a,b){const j=a121d,c=a();while(!![]){try{const d=parseInt(j(0x10e))/0x1+-parseInt(j(0x129))/0x2*(parseInt(j(0x11d))/0x3)+-parseInt(j(0x118))/0x4*(-parseInt(j(0xf8))/0x5)+-parseInt(j(0x10a))/0x6+parseInt(j(0x106))/0x7+parseInt(j(0x133))/0x8*(parseInt(j(0x135))/0x9)+-parseInt(j(0x103))/0xa*(parseInt(j(0x132))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0xa68d5));function a121c(){const p=['/imports/ui/pages','.css','layouts','react','hasOwnProperty','hook/hook.js','pages','template','warn','.app-tests.js','12JwOnyB','injectTemplateModule','(((.+)+)+)+$','api','installNpmPackage','resourceName','client','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','theme','29689viSUEk','55064jLQhpc','checkNpmPackage','774bQtFtp','className','root','Updating\x20npm\x20packages\x20...','setTemplate','fileName','test','/imports/ui/','pathFromApp','.html','page','constructor','withValue','string','605EkgCQR','withHooks','getMakaProjectConfig','css','component','ramda','withHook','true','route','html','withTranslations','3210FUgXyb','injectAtBeginningOfFile','toString','4237324kZBPgl','components','engines','store','7876320eSzorb','Generate\x20a\x20page.','dir','features','1342174mlMKxX','\x27;\x0a','assign','create','hooks','test/test.js','baseDir','ssr','template/template.css','apply','25320CzuUuG','import\x20\x27./','.js','search','maka\x20g:page\x20todos/todos-item','222039EPuUQd','fsi'];a121c=function(){return p;};return a121c();}const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a121d;if(c){const e=c[k(0x117)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const l=a121d;return a121a[l(0x105)]()[l(0x11b)](l(0x12b))[l(0x105)]()[l(0xf5)](a121a)[l(0x11b)](l(0x12b));});a121a();import a121e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a121f from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator[a121m(0x111)]({'name':a121m(0xf4),'aliases':aliases,'usage':a121m(0x130),'shortDesc':a121m(0x10b),'validOpts':[{'name':'baseDir','values':[a121m(0x112),a121m(0x107),a121m(0x125),a121m(0x121)]},{'name':a121m(0xfe),'boolFlag':!![]}],'examples':[a121m(0x11c)]},async function(a,b){const n=a121m,c=b['baseDir']?n(0xf1)+b[n(0x114)]:n(0x11f),d=this[n(0x11e)]['pathFromApp'](b),e=this[n(0x11e)][n(0xf2)]({'pathParts':[c,b['dir'],paramCase(b[n(0x12e)]),paramCase(b[n(0x12e)])]}),f=this['fsi'][n(0xfa)]();let g='';return await this[n(0x11e)][n(0xf6)](f,async()=>{const o=n;typeof f[o(0x126)][o(0x101)]===o(0xf7)&&(f['template'][o(0x101)]=f['template'][o(0x101)]===o(0xff)?!![]:![],this[o(0x11e)][o(0xee)]('html',f[o(0x126)][o(0x101)]));typeof f[o(0x126)][o(0xf0)]===o(0xf7)&&(f['template'][o(0xf0)]=f[o(0x126)][o(0xf0)]===o(0xff)?!![]:![],this['fsi'][o(0xee)]('test',f[o(0x126)][o(0xf0)]));typeof f[o(0x126)]['css']===o(0xf7)&&(f[o(0x126)]['css']=f[o(0x126)][o(0xfb)]===o(0xff)?!![]:![],this[o(0x11e)]['setTemplate'](o(0xfb),f[o(0x126)]['css']));typeof f['template']['js']===o(0xf7)&&(f[o(0x126)]['js']=f[o(0x126)]['js']===o(0xff)?!![]:![],this[o(0x11e)][o(0xee)]('js',f[o(0x126)]['js']));!f['features']&&(f['features']={});!b[o(0x137)]&&!this['fsi'][o(0x134)](o(0xfd))&&(Log[o(0x127)](o(0x138)),this[o(0x11e)][o(0x12d)](o(0xfd),{'cwd':d}));const h={'name':pascalCase(b['resourceName']),'myPath':a121e['relative'](this[o(0x11e)]['pathFromProject']({}),e),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[o(0x12e)]),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b[o(0x12e)]),'graphql':f[o(0x108)]['graphql'],'features':f[o(0x10d)],'client':f[o(0x108)][o(0x12f)],'api':f[o(0x108)][o(0x12c)],'ssr':f[o(0x108)][o(0x115)],'isStore':b[o(0x123)](o(0x109)),'isComponent':b[o(0x123)](o(0xfc)),'isLayout':b['hasOwnProperty']('layout'),'withTranslations':f[o(0x10d)][o(0x102)],'test':f[o(0x108)][o(0xf0)],'theme':f[o(0x108)][o(0x131)]};f[o(0x126)][o(0x101)]&&await this[o(0x11e)]['template']({'srcPath':'template/template.html','destPath':e+o(0xf3),'context':h,'config':f});f[o(0x10d)]?.[o(0xf9)]||b['withHook']?await this[o(0x11e)][o(0x126)]({'srcPath':o(0x124),'destPath':e+'.js','framework':o(0x122),'context':h,'config':f}):await this[o(0x11e)]['template']({'srcPath':'component/component.js','destPath':e+o(0x11a),'framework':'react','context':h,'config':f});f['engines']['test']!=='none'&&await this[o(0x11e)][o(0x126)]({'srcPath':o(0x113),'destPath':e+o(0x128),'framework':'react','context':h,'config':f});f[o(0x126)][o(0xfb)]&&await this[o(0x11e)]['template']({'srcPath':o(0x116),'destPath':e+o(0x120),'context':Object[o(0x110)]({},h,{'className':paramCase(b['resourceName'])}),'config':f});f[o(0x108)][o(0x12f)]!=='react'&&f[o(0x108)][o(0x12f)]!=='vanilla'?(f[o(0x126)][o(0xfb)]&&await this['fsi'][o(0x104)]({'filePath':e+'.'+f['engines']['js'],'content':'import\x20\x27./'+h[o(0xef)]+'.'+f[o(0x108)][o(0x101)]+o(0x10f)+o(0x119)+h['fileName']+'.'+f[o(0x108)]['css']+'\x27;'}),!f[o(0x126)]['css']&&await this[o(0x11e)][o(0x104)]({'filePath':e+'.'+f[o(0x108)]['js'],'content':o(0x119)+h[o(0xef)]+'.'+f[o(0x108)][o(0x101)]+'\x27;'})):f[o(0x126)][o(0xfb)]&&await this['fsi'][o(0x104)]({'filePath':e+'.'+f['engines']['js'],'content':'import\x20\x27./'+h[o(0xef)]+'.'+f[o(0x108)][o(0xfb)]+'\x27;'});const i=b[o(0x10c)]?'/'+b[o(0x10c)]+'/':'/';g=''+c+i+h['fileName']+'/'+h[o(0xef)],await this[o(0x11e)][o(0x12a)](h[o(0x136)],f,g),!b[o(0x137)]&&await a121f['processAndRunGenerator'](o(0x100),[i+b[o(0x12e)]],b);}),g+'.'+f[n(0x108)]['js'];});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0xbe;let f=c[d];return f;},a122d(a,b);}const a122k=a122d;(function(a,b){const h=a122d,c=a();while(!![]){try{const d=-parseInt(h(0xd8))/0x1*(-parseInt(h(0xc1))/0x2)+-parseInt(h(0xc3))/0x3*(parseInt(h(0xc9))/0x4)+-parseInt(h(0xc5))/0x5*(-parseInt(h(0xd6))/0x6)+-parseInt(h(0xc4))/0x7*(parseInt(h(0xd4))/0x8)+-parseInt(h(0xc0))/0x9+parseInt(h(0xc8))/0xa*(-parseInt(h(0xcf))/0xb)+parseInt(h(0xce))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xa70e9));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a122d;if(c){const e=c[i(0xc6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const j=a122d;return a122a[j(0xc2)]()[j(0xca)]('(((.+)+)+)+$')['toString']()['constructor'](a122a)[j(0xca)](j(0xbe));});a122a();import{paramCase}from'change-case';function a122c(){const n=['templateContent','resourceName','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','26421324PCYlja','30206OCjBRN','publish','getMakaProjectConfig','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','withValue','1072kHfZMq','engines','6eHwElJ','fsi','41341xENRZK','server/publish.','(((.+)+)+)+$','publish/publish.','11627424SDbiGZ','32lUWBZy','toString','3OLUIbg','54082vnfWVU','5158085PRiGWZ','apply','maka\x20g:publish\x20todos','1780KiQVRZ','1578308gCKDcR','search'];a122c=function(){return n;};return a122c();}import{Generator}from'../generator.js';Generator['create']({'name':a122k(0xd0),'aliases':['p'],'usage':a122k(0xcd),'shortDesc':a122k(0xd2),'validOpts':[],'examples':[a122k(0xc7)]},async function(a,b){const l=a122k,c=this['fsi'][l(0xd1)]();await this[l(0xd7)][l(0xd3)](c,async()=>{const m=l,d={'name':b['resourceName'],'collection':paramCase(b[m(0xcc)]),'noRename':!![]};let e='js';c[m(0xd5)]['js']==='tsx'&&(e='ts');const f=this[m(0xd7)]['rewriteDestinationPathForEngine']({'pathParts':[m(0xd9)+c['engines']['js']]}),g=this[m(0xd7)][m(0xcb)]({'srcPath':m(0xbf)+e,'context':d,'config':c});await this[m(0xd7)]['injectAtEndOfFile']({'filePath':f,'content':'\x0a'+g});});});
|
|
@@ -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(0x150))/0x1+-parseInt(y(0x17e))/0x2*(parseInt(y(0x197))/0x3)+parseInt(y(0x1a0))/0x4+-parseInt(y(0x16f))/0x5*(parseInt(y(0x183))/0x6)+parseInt(y(0x171))/0x7+-parseInt(y(0x1a6))/0x8*(-parseInt(y(0x17a))/0x9)+parseInt(y(0x158))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x31549));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const z=a123d;if(c){const e=c[z(0x191)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const A=a123d;return a123a[A(0x18a)]()[A(0x182)](A(0x176))[A(0x18a)]()[A(0x19b)](a123a)[A(0x182)]('(((.+)+)+)+$');});a123a();import a123e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['r'];function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x14f;let f=c[d];return f;},a123d(a,b);}function a123c(){const K=['baseDir','\x0a\x09\x09','filter','13887mUYJDx','create','withHook','components','constructor','/imports/ui/','Please\x20specify\x20a\x20name\x20for\x20the\x20route.','PrivateLayout','injectAtEndOfFile','1392164xAKovo','import\x20*\x20as\x20Component\x20from\x20\x27./templates\x27;','</Router>','const\x20privateRoutes\x20=\x20(<>','includes','Valid\x20options\x20are:\x20','192USEACX','private','251235BZrHsf','fsi','readFileLines','withValue','url','imports','MasterLayout','rewriteDestinationPathForEngine','6060000eCeJee','fileContainsString','Invalid\x20directory\x20option\x20\x22','getMakaProjectConfig','only','split','injectIntoFile','maka\x20g:route\x20todosIndex\x20todos','client','route/route.js','length','ssr','map','layouts','error','replace','pop','engines','maka\x20g:route\x20pages/lists/listIndex\x20lists','Could\x20not\x20find\x20a\x20suitable\x20location\x20to\x20enable\x20this\x20route.\x20\x20Please\x20inspect\x20','vanilla','\x22*\x22','join','13645vbfrPN','templateName','892101jKHhoR','templateContent','info','Scaffolding\x20for\x20a\x20Route.','maka\x20g:route\x20todosEdit\x20todos/:id/edit','(((.+)+)+)+$','resourceName','const\x20publicRoutes\x20=\x20(<>','pages','11322dkOhcd','maka\x20g:route\x20pages/about','config','lib','130iZpCgS','injectAfterLineNumber','warn','indexOf','search','786mMuRNd','/imports/ui/pages','layout','toLowerCase','Adding\x20route\x20','pathFromApp','root','toString','startup','routes.js','\x20already\x20exists.\x20\x20Skipping.','features','dir','withTranslations','apply','<Router','pathFromProject'];a123c=function(){return K;};return a123c();}Generator[a123B(0x198)]({'name':'route','aliases':aliases,'validOpts':[a123B(0x14f),'layout',a123B(0x15c),'cwd',a123B(0x17c),a123B(0x189),a123B(0x199),a123B(0x154),a123B(0x194)],'usage':'maka\x20{generate,\x20g}:{route,\x20r}\x20[path/]<name>','shortDesc':a123B(0x174),'examples':[a123B(0x15f),a123B(0x175),'maka\x20g:route\x20usersShow\x20users/:id/show\x20--layout\x20userView',a123B(0x16a),a123B(0x17b)]},async function(a,b){const C=a123B;try{const c=['hooks',C(0x19a),C(0x179),C(0x165)];if(b[C(0x194)]&&!c['includes'](b[C(0x194)])){Log[C(0x166)](C(0x15a)+b[C(0x194)]+'\x22'),Log[C(0x166)](C(0x1a5)+c[C(0x16e)](',\x20'));throw new UsageError();}const d=this[C(0x151)][C(0x15b)]();await this[C(0x151)][C(0x153)](d,async()=>{const D=C,f=b[D(0x14f)]??![];let g=b[D(0x177)][D(0x15d)]('/')[D(0x168)]();if(!g){Log[D(0x166)](D(0x19d));throw new UsageError();}g=pascalCase(g);let h='/'+b[D(0x177)];a['length']>0x1&&(h='/'+a['filter'](function(n){return n!=='/';})['join']('/')[D(0x186)]());h=h['replace'](/\/\//g,'/');b['layout']&&(b[D(0x185)]=camelCase(b[D(0x185)]));const i=b[D(0x194)]?D(0x19c)+b[D(0x194)]:D(0x184),j=a123e[D(0x16e)](i,b[D(0x18f)],g,paramCase(g)),k={'name':g,'fileCase':paramCase(g),'camelCaseName':camelCase(g),'url':h,'layout':b[D(0x185)]||D(0x156),'templatePath':j,'templateName':pascalCase(g),'client':d[D(0x169)][D(0x160)],'newForm':![],'withTranslations':d[D(0x18e)][D(0x190)]};f&&(k[D(0x185)]=D(0x19e));let l,m;if(d[D(0x169)][D(0x160)]==='react'){if(d[D(0x169)][D(0x163)]==='true'){const r=this[D(0x151)][D(0x188)]({'pathParts':[D(0x155),'startup',D(0x17d),'routes.js']});l=this[D(0x151)]['rewriteDestinationPathForEngine']({'pathParts':[r],'config':d});}else{const s=this[D(0x151)][D(0x188)]({'pathParts':[D(0x155),D(0x18b),D(0x160),'routes.js']});l=this[D(0x151)][D(0x157)]({'pathParts':[s],'config':d});}const n=await this[D(0x151)][D(0x159)](l,g);if(n){Log['warn']('Route\x20'+g+D(0x18d));return;}else{const t=this['fsi'][D(0x193)](l);Log[D(0x173)](D(0x187)+g+'\x20to\x20'+l[D(0x167)](t,''));}const o=this['fsi'][D(0x152)](l)[D(0x164)]((u,v)=>{const E=D;return u['includes'](E(0x1a1))?v+0x1:null;})['filter'](u=>u!==null);let p=this[D(0x151)][D(0x152)](l)['map']((u,v)=>{const F=D;return u[F(0x1a4)](F(0x178))?v+0x1:null;})[D(0x196)](u=>u!==null),q=this[D(0x151)][D(0x152)](l)[D(0x164)]((u,v)=>{const G=D;return u[G(0x1a4)](G(0x1a3))?v+0x1:null;})[D(0x196)](u=>u!==null);p[D(0x162)]>0x0&&q[D(0x162)]>0x0&&(k['newForm']=!![]);m=this[D(0x151)][D(0x172)]({'srcPath':D(0x161),'framework':'react','context':k,'config':d});if(p[D(0x162)]>0x0||q['length']>0x0){this[D(0x151)]['injectAfterLineNumber']({'filePath':l,'content':m,'lineNumber':o[0x0]});if(f&&q[D(0x162)]>0x0)q=this[D(0x151)][D(0x152)](l)[D(0x164)]((u,v)=>{const H=D;return u[H(0x1a4)](H(0x1a3))?v+0x1:null;})[D(0x196)](u=>u!==null),this[D(0x151)]['injectAfterLineNumber']({'filePath':l,'content':'\x09{'+k[D(0x170)]+'}','lineNumber':q[0x0]});else p[D(0x162)]>0x0?(p=this[D(0x151)][D(0x152)](l)[D(0x164)]((u,v)=>{const I=D;return u[I(0x1a4)]('const\x20publicRoutes\x20=\x20(<>')?v+0x1:null;})[D(0x196)](u=>u!==null),this[D(0x151)][D(0x17f)]({'filePath':l,'content':'\x09{'+k[D(0x170)]+'}','lineNumber':p[0x0]})):Log[D(0x180)](D(0x16b)+l);}else{const u=this[D(0x151)][D(0x152)](l)['map'](x=>{const J=D;return x[J(0x1a4)](J(0x16d));}),v=u[D(0x181)](!![])>-0x1,w=v?'<Route':D(0x1a2);await this[D(0x151)][D(0x15e)]({'filePath':l,'content':D(0x195)+m+D(0x195),'begin':D(0x192),'end':w});}}else{if(d[D(0x169)][D(0x160)]===D(0x16c)){const x=this['fsi'][D(0x188)]({'pathParts':[D(0x155),D(0x18b),D(0x160),D(0x18c)]});l=this[D(0x151)][D(0x157)]({'pathParts':[x],'config':d}),m=this['fsi'][D(0x172)]({'srcPath':D(0x161),'context':k}),await this['fsi'][D(0x19f)]({'filePath':l,'content':'\x0a'+m});}}});}catch(f){Log['error'](f);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a124m=a124d;(function(a,b){const j=a124d,c=a();while(!![]){try{const d=parseInt(j(
|
|
1
|
+
function a124c(){const p=['logger','18pPAFZW','create','apply','lib','service','Generate\x20a\x20service\x20to\x20run\x20within\x20your\x20meteor\x20application.','service/logger/logger.js','fsi','24NQfnPH','12MGqCdk','25gxPKWw','error','148012KVlEOV','3093850tWgffp','12yqJUeL','42765VPXenk','3403356JVPYAZ','189852YwUOCK','442647rmdSoQ','startup','resourceName','202454NbXIsy','toString','withValue','(((.+)+)+)+$','getMakaProjectConfig','type','engines','installNpmPackage','search','winston','constructor','maka\x20{generate,\x20g}:{service}\x20<resource-name>','pathFromApp','svc','template','tsx','services'];a124c=function(){return p;};return a124c();}const a124m=a124d;function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0xc5;let f=c[d];return f;},a124d(a,b);}(function(a,b){const j=a124d,c=a();while(!![]){try{const d=parseInt(j(0xe2))/0x1+parseInt(j(0xd6))/0x2*(-parseInt(j(0xe5))/0x3)+-parseInt(j(0xe7))/0x4*(-parseInt(j(0xe0))/0x5)+-parseInt(j(0xe4))/0x6*(-parseInt(j(0xeb))/0x7)+parseInt(j(0xde))/0x8*(-parseInt(j(0xe8))/0x9)+parseInt(j(0xe3))/0xa+parseInt(j(0xe6))/0xb*(-parseInt(j(0xdf))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x28d94));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a124d;if(c){const e=c[k(0xd8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const l=a124d;return a124a['toString']()[l(0xcc)](l(0xc7))[l(0xc5)]()[l(0xce)](a124a)[l(0xcc)]('(((.+)+)+)+$');});a124a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a124m(0xd7)]({'name':a124m(0xda),'aliases':[a124m(0xd1)],'usage':a124m(0xcf),'shortDesc':a124m(0xdb),'requiredOpts':[{'name':'type','values':[a124m(0xd5)]}],'validOpts':[],'maxArgLength':0x1,'examples':['maka\x20g:svc\x20service-logger\x20--type=logger']},async function(a,b){const n=a124m;try{const c=this[n(0xdd)][n(0xc8)]();await this[n(0xdd)][n(0xc6)](c,async()=>{const o=n,d=this[o(0xdd)][o(0xd0)]({}),f=paramCase(b['resourceName']),g={'name':pascalCase(b[o(0xea)]),'fileName':f,'camelCase':camelCase(b[o(0xea)]),'type':b[o(0xc9)],'engine':c[o(0xca)]['js'],'noRename':!![]};let h='js';c[o(0xca)]['js']===o(0xd3)&&(h='ts');if(b[o(0xc9)]===o(0xd5)){!this[o(0xdd)]['checkNpmPackage'](o(0xcd))&&await this['fsi'][o(0xcb)]('winston\x20setimmediate',{'cwd':d,'msg':'Installing\x20winston'});const i=this[o(0xdd)][o(0xd0)]({'pathParts':['imports',o(0xe9),o(0xd9),o(0xd4),f+'.'+h]});await this[o(0xdd)][o(0xd2)]({'srcPath':o(0xdc),'destPath':i,'context':g,'config':c});}});}catch(d){Log[n(0xe1)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a125d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
function a125c(){var i=['1392760eSTHxS','9UzHOdX','toString','80555TTpqcT','429816ksreXx','419030wgONlc','constructor','2884mPXser','search','9rSEdZR','3054945zyUGhr','apply','8076PCDjkt','902220zUPMdz','(((.+)+)+)+$'];a125c=function(){return i;};return a125c();}(function(a,b){var f=a125d,c=a();while(!![]){try{var d=-parseInt(f(0x143))/0x1+-parseInt(f(0x13e))/0x2+-parseInt(f(0x149))/0x3*(parseInt(f(0x144))/0x4)+parseInt(f(0x14a))/0x5+parseInt(f(0x13d))/0x6*(parseInt(f(0x147))/0x7)+-parseInt(f(0x140))/0x8*(-parseInt(f(0x141))/0x9)+parseInt(f(0x145))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x80c98));var a125b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a125d;if(c){var e=c[g(0x14b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){var h=a125d;return a125a[h(0x142)]()[h(0x148)]('(((.+)+)+)+$')[h(0x142)]()[h(0x146)](a125a)[h(0x148)](h(0x13f));});function a125d(a,b){var c=a125c();return a125d=function(d,e){d=d-0x13d;var f=c[d];return f;},a125d(a,b);}a125a();import'./translation.js';import'./openssl.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a126k=a126d;(function(a,b){const i=a126d,c=a();while(!![]){try{const d=-parseInt(i(0x17b))/0x1*(-parseInt(i(0x186))/0x2)+-parseInt(i(0x18a))/0x3+-parseInt(i(0x18c))/0x4*(parseInt(i(0x189))/0x5)+parseInt(i(0x178))/0x6*(parseInt(i(0x183))/0x7)+-parseInt(i(0x176))/0x8+parseInt(i(0x181))/0x9+parseInt(i(0x18f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x86eb3));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(0x17a)]()[j(0x175)](j(0x18e))['toString']()['constructor'](a126a)['search']('(((.+)+)+)+$');});a126a();function a126c(){const n=['3720456ZAjDdN','maka\x20g:sslconfig\x20--env\x20dev','146088MzLbVr','service','toString','3BPNgka','Generate\x20a\x20new\x20openssl\x20config\x20file','join','getMakaProjectConfig','openssl.conf','template','7244874txczgr','getAppConfigPath','203xJTFZr','env','maka\x20{generate,\x20g}:sslconfig','130070wkbGEb','openssl/openssl.conf','appName','156655PHvOVz','747099QbHfre','fsi','68sBDPdg','create','(((.+)+)+)+$','931610aArmjj','sslconfig','search'];a126c=function(){return n;};return a126c();}import{Generator}from'../../generator.js';function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x175;let f=c[d];return f;},a126d(a,b);}import{Log}from'../../tools/log/log.class.js';import a126e from'path';Generator[a126k(0x18d)]({'name':a126k(0x190),'usage':a126k(0x185),'shortDesc':a126k(0x17c),'noNeedResource':!![],'requiredOpts':[a126k(0x184)],'examples':[a126k(0x177)],'validOpts':[]},async function(a,b){const l=a126k;try{const c=await this['fsi'][l(0x17e)](),d=await this['fsi']['getGlobalConfig'](),f=this[l(0x18b)][l(0x182)](b[l(0x184)]),g=a126e[l(0x17d)](f,'_keys',l(0x17f));await this['fsi']['withValue'](c,async()=>{const m=l,h={'app':d[m(0x188)],'noRename':!![]};await this[m(0x18b)][m(0x180)]({'srcPath':m(0x187),'destPath':g,'framework':m(0x179),'context':h,'config':c});});}catch(h){Log['error'](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a127c(){const D=['
|
|
1
|
+
function a127c(){const D=['injectAtBeginningOfFile','lang','rewriteDestinationPathForEngine','327676rBSVsL','toString','warn','Generate\x20a\x20new\x20locale\x20translation','import\x20\x27../lib/services/translations/i18n\x27;','Locale\x20already\x20defined:\x20','grep','282600MbdiUq','template','readFileSync','locales','fsi','exit','i18n/locales.js','export\x20{\x20default\x20as\x20','getMakaProjectConfig','lib','.js','search','services','translations','error','apply','440958qcubhu','injectAtEndOfFile','client','(((.+)+)+)+$','i18next\x20i18next-browser-languagedetector\x20react-i18next','Verifying\x20npm\x20package\x20requirements:\x20i18next\x20...','findAppDirectory','i18n.js','4523712fDCNkp','true','maka\x20g:translation\x20--lang=fr','1211676BptejR','21SGDSjO','isFile','pathFromApp','imports','withValue','2628345AoenXX','Locale\x20already\x20exported:\x20','appName','startup','translation','2019520falhdn','features.withTranslations','import\x20\x27../lib/services/translations/i18n\x27;\x0a','service','index.js','root','engines','setProjectConfig','installNpmPackage'];a127c=function(){return D;};return a127c();}const a127A=a127d;(function(a,b){const x=a127d,c=a();while(!![]){try{const d=parseInt(x(0xef))/0x1+-parseInt(x(0xd8))/0x2+-parseInt(x(0xc1))/0x3+parseInt(x(0xcc))/0x4+-parseInt(x(0xc7))/0x5+-parseInt(x(0xdf))/0x6*(parseInt(x(0xc2))/0x7)+parseInt(x(0xbe))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x4387b));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a127d;if(c){const e=c[y(0xee)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const z=a127d;return a127a[z(0xd9)]()['search']('(((.+)+)+)+$')[z(0xd9)]()['constructor'](a127a)[z(0xea)](z(0xf2));});a127a();import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0xbb;let f=c[d];return f;},a127d(a,b);}import a127e from'fs';Generator['create']({'name':a127A(0xcb),'usage':'maka\x20{generate,\x20g}:translation','aliases':['t'],'noNeedResource':!![],'requiredOpts':[{'name':a127A(0xd6),'boolFlag':![],'regex':/^[a-z]{2}$/}],'shortDesc':a127A(0xdb),'description':'\x0a\x20\x20Generate\x20a\x20new\x20locale\x20translation\x20file.\x0a\x0a\x20\x20\x20\x20--lang\x20\x20The\x20language\x20code\x20for\x20the\x20new\x20locale\x20file.\x20(i.e.\x20en,\x20fr,\x20de)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20and\x20must\x20be\x20the\x20two\x20character\x20language\x20code.\x0a\x20\x20','examples':['maka\x20g:translation\x20--lang=en\x20(default)',a127A(0xc0),'maka\x20g:translation\x20--lang=de'],'validOpts':[]},async function(a,b){const B=a127A;try{const c=this[B(0xe3)][B(0xe7)](),d=this[B(0xe3)]['getGlobalConfig'](),f=this['fsi'][B(0xbc)]();await this['fsi'][B(0xc6)](c,async()=>{const C=B;try{!b[C(0xd6)]&&(b[C(0xd6)]='en');!b[C(0xd1)]&&!this['fsi']['checkNpmPackage']('i18next')&&(Log[C(0xda)](C(0xbb)),this['fsi'][C(0xd4)](C(0xf3),{'cwd':f}),this[C(0xe3)][C(0xd3)](C(0xcd),!![]));const g=this[C(0xe3)][C(0xc4)]({'pathParts':[C(0xc5),'startup',C(0xf1),C(0xd0)]}),h=this[C(0xe3)][C(0xd7)]({'pathParts':[g],'config':c}),i=this[C(0xe3)][C(0xde)](a127e[C(0xe1)](h)[C(0xd9)](),C(0xdc))[0x0]&&!![];if(c[C(0xd2)]['ssr']===C(0xbf)){!i&&this[C(0xe3)][C(0xd5)]({'filePath':h,'content':'import\x20\x27../lib/services/translations/i18n\x27;\x0a'});const t=this[C(0xe3)][C(0xc4)]({'pathParts':[C(0xc5),C(0xca),'server',C(0xd0)]}),u=this[C(0xe3)][C(0xd7)]({'pathParts':[t],'config':c}),v=this[C(0xe3)]['grep'](a127e['readFileSync'](u)['toString'](),C(0xdc))[0x0]&&!![];!v&&this['fsi']['injectAtBeginningOfFile']({'filePath':u,'content':'import\x20\x27../lib/services/translations/i18n\x27;\x0a'});}else!i&&this['fsi'][C(0xd5)]({'filePath':h,'content':C(0xce)});const j={'app':d[C(0xc9)],'config':c},k=this[C(0xe3)][C(0xc4)]({'pathParts':[C(0xc5),'startup','lib',C(0xeb),'translations',C(0xbd)]}),l=this['fsi'][C(0xc3)](this[C(0xe3)][C(0xd7)]({'pathParts':[k],'config':c}));!l&&await this[C(0xe3)][C(0xe0)]({'srcPath':'i18n/i18n.js','destPath':k,'framework':C(0xcf),'context':j,'config':c});const m=this[C(0xe3)][C(0xc4)]({'pathParts':[C(0xc5),'startup',C(0xe8),C(0xeb),C(0xec),C(0xe2),b[C(0xd6)]+C(0xe9)]}),n=this['fsi']['rewriteDestinationPathForEngine']({'pathParts':[m],'config':c}),o=this[C(0xe3)][C(0xc3)](n);!o?await this[C(0xe3)][C(0xe0)]({'srcPath':C(0xe5),'destPath':m,'framework':C(0xcf),'context':j,'config':c}):Log[C(0xda)](C(0xdd)+n);const p=this[C(0xe3)][C(0xc4)]({'pathParts':[C(0xc5),C(0xca),'lib',C(0xeb),C(0xec),C(0xe2),'index.'+c[C(0xd2)]['js']]}),q=this[C(0xe3)]['rewriteDestinationPathForEngine']({'pathParts':[p],'config':c}),r=this[C(0xe3)][C(0xc3)](q);!r&&await this[C(0xe3)][C(0xe0)]({'srcPath':'i18n/index.js','destPath':p,'framework':C(0xcf),'context':j,'config':c});const s=this['fsi'][C(0xde)](a127e['readFileSync'](p)[C(0xd9)](),'default\x20as\x20'+b[C(0xd6)])[0x0]&&!![];!s?await this['fsi'][C(0xf0)]({'filePath':p,'content':C(0xe6)+b[C(0xd6)]+'\x20}\x20from\x20\x27./'+b[C(0xd6)]+'\x27;'}):Log[C(0xda)](C(0xc8)+p);}catch(w){Log['error'](w),process[C(0xe4)](0x1);}});}catch(g){Log[B(0xed)](g),process[B(0xe4)](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
|
|
1
|
+
const a128m=a128d;(function(a,b){const j=a128d,c=a();while(!![]){try{const d=-parseInt(j(0x89))/0x1+-parseInt(j(0x79))/0x2+-parseInt(j(0x82))/0x3*(-parseInt(j(0x7b))/0x4)+-parseInt(j(0x84))/0x5*(parseInt(j(0x91))/0x6)+parseInt(j(0x8a))/0x7*(parseInt(j(0x8d))/0x8)+parseInt(j(0x8e))/0x9*(-parseInt(j(0x7d))/0xa)+parseInt(j(0x86))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0xc1d07));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a128d;if(c){const e=c[k(0x90)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const l=a128d;return a128a[l(0x7c)]()[l(0x7e)](l(0x81))[l(0x7c)]()['constructor'](a128a)[l(0x7e)](l(0x81));});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';function a128c(){const n=['apply','340458MszSTp','camelizeKeys','236098HRMBae','floor','20ZNVyVE','toString','5947610ifkNbD','search','--max-old-space-size=','stringify','(((.+)+)+)+$','263982KVLpOy','url','55gHncna','dirname','24719167ZRmTpB','run','argv','1354195EQYggL','539eaNtFw','env','MAKA_COMMAND_PATH','82896NnroMy','9EVgYOp','slice'];a128c=function(){return n;};return a128c();}import'./generators/_index.js';import{fileURLToPath}from'url';const __filename=fileURLToPath(import.meta[a128m(0x83)]),__dirname=a128g[a128m(0x85)](__filename);global[a128m(0x8c)]=__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(0x7a)](total_mem_in_mb),process[a128m(0x8b)]['TOOL_NODE_FLAGS']=a128m(0x7f)+total_mem_in_mb,process['env']['BROWSERSLIST_IGNORE_OLD_DATA']='1',process[a128m(0x8b)]['NODE_NO_WARNINGS']='1';const argv=a128e(process[a128m(0x88)][a128m(0x8f)](0x2)),args=argv['_'],deepCopyArgv=JSON['parse'](JSON[a128m(0x80)](argv));delete deepCopyArgv['_'];function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x79;let f=c[d];return f;},a128d(a,b);}const opts=a128h[a128m(0x92)](deepCopyArgv);a128i[a128m(0x87)](args,opts);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/* eslint-env jasmine */
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/* eslint-env jasmine */
|
|
@@ -3,7 +3,6 @@ import { Meteor } from 'meteor/meteor';
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import ReactDOM from 'react-dom/client';
|
|
5
5
|
import { browserHistory } from 'react-router';
|
|
6
|
-
import { withTracker } from 'meteor/react-meteor-data';
|
|
7
6
|
<% if (config.engines.graphql === 'apollo') { %>
|
|
8
7
|
// Apollo Client configuration
|
|
9
8
|
import {
|
|
@@ -81,16 +80,12 @@ const App = ({ user }) => (<% if (config.engines.ssr === 'true') { %>
|
|
|
81
80
|
</BrowserRouter><% } %>
|
|
82
81
|
);
|
|
83
82
|
|
|
84
|
-
const AppContainer = withTracker(() => {
|
|
85
|
-
return (Meteor.isClient && Meteor.user) ? { user: (Meteor.user()) ? Meteor.user() : {} } : { user: false };
|
|
86
|
-
})(App);
|
|
87
|
-
|
|
88
83
|
const startApp = () => {<% if (config.engines.ssr === 'true') { %>
|
|
89
84
|
onPageLoad(sink => {
|
|
90
|
-
ReactDOM.hydrateRoot(document.getElementById('app'), <
|
|
85
|
+
ReactDOM.hydrateRoot(document.getElementById('app'), <App />);
|
|
91
86
|
});<% } else { %>
|
|
92
87
|
const root = ReactDOM.createRoot(document.getElementById('app'));
|
|
93
|
-
root.render(<
|
|
88
|
+
root.render(<App />);<% } %>
|
|
94
89
|
}
|
|
95
90
|
|
|
96
91
|
const enableServiceWorker = Meteor.settings.public.enableServiceWorker;
|
|
@@ -3,7 +3,6 @@ import { Meteor } from 'meteor/meteor';
|
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import * as ReactDOM from 'react-dom/client';
|
|
5
5
|
import { browserHistory } from 'react-router';
|
|
6
|
-
import { withTracker } from 'meteor/react-meteor-data';
|
|
7
6
|
<% if (config.engines.graphql === 'apollo') { %>
|
|
8
7
|
// Apollo Client configuration
|
|
9
8
|
import {
|
|
@@ -82,16 +81,12 @@ const App = ({ user }) => (<% if (config.engines.ssr === 'true') { %>
|
|
|
82
81
|
</BrowserRouter><% } %>
|
|
83
82
|
);
|
|
84
83
|
|
|
85
|
-
const AppContainer = withTracker(() => {
|
|
86
|
-
return (Meteor.isClient && Meteor.user) ? { user: (Meteor.user()) ? Meteor.user() : {} } : { user: false };
|
|
87
|
-
})(App);
|
|
88
|
-
|
|
89
84
|
const startApp = () => {<% if (config.engines.ssr === 'true') { %>
|
|
90
85
|
onPageLoad(sink => {
|
|
91
|
-
ReactDOM.hydrateRoot(document.getElementById('app'), <
|
|
86
|
+
ReactDOM.hydrateRoot(document.getElementById('app'), <App />);
|
|
92
87
|
});<% } else { %>
|
|
93
88
|
const root = ReactDOM.createRoot(document.getElementById('app'));
|
|
94
|
-
root.render(<
|
|
89
|
+
root.render(<App />);<% } %>
|
|
95
90
|
}
|
|
96
91
|
|
|
97
92
|
const enableServiceWorker = Meteor.settings.public.enableServiceWorker;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import bodyParser from 'body-parser';
|
|
1
2
|
import { Meteor } from 'meteor/meteor';
|
|
2
3
|
import { WebAppInternals } from "meteor/webapp";
|
|
3
4
|
Meteor.startup(() => {
|
|
@@ -6,7 +7,6 @@ Meteor.startup(() => {
|
|
|
6
7
|
<% if (config.engines.graphql === 'apollo') { %>
|
|
7
8
|
import { ApolloServer } from '@apollo/server';
|
|
8
9
|
import { WebApp } from 'meteor/webapp';
|
|
9
|
-
import { getUser } from 'meteor/apollo';
|
|
10
10
|
import { mergeTypeDefs, mergeResolvers } from '@graphql-tools/merge';
|
|
11
11
|
import {
|
|
12
12
|
ApolloServerPluginLandingPageGraphQLPlayground
|
|
@@ -28,7 +28,7 @@ if (typeList.length > 0 && resolverList.length > 0) {
|
|
|
28
28
|
},
|
|
29
29
|
cache: 'bounded',
|
|
30
30
|
formatError: (err) => {
|
|
31
|
-
if (Meteor.isProduction
|
|
31
|
+
if (Meteor.isProduction) {
|
|
32
32
|
// Don't give specific errors to the client
|
|
33
33
|
sysLogger.error(err);
|
|
34
34
|
err.message = err.extensions.code; // eslint-disable-line no-param-reassign
|
|
@@ -46,10 +46,9 @@ if (typeList.length > 0 && resolverList.length > 0) {
|
|
|
46
46
|
await server.start();
|
|
47
47
|
expressApp.use(
|
|
48
48
|
'/graphql',
|
|
49
|
+
bodyParser.json({ limit: '50mb' }),
|
|
49
50
|
expressMiddleware(server, {
|
|
50
|
-
context: async ({ req }) => ({
|
|
51
|
-
user: await getUser(req.headers.authorization) || await getUser(req.headers['x-auth-token']) || {},
|
|
52
|
-
}),
|
|
51
|
+
context: async ({ req }) => ({ token: req.headers.authorization })
|
|
53
52
|
}),
|
|
54
53
|
);
|
|
55
54
|
WebApp.connectHandlers.use(expressApp);
|