@maka/maka-cli 4.6.21 → 4.6.22
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/proxy.js +1 -1
- package/bundle/obf/src/commands/reconfig.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/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/kit.js +1 -1
- package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
- package/bundle/obf/src/generators/kits/mui/layout.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/react/kit/mui/frame/basic-app-bar.js +32 -0
- package/bundle/obf/src/templates/react/kit/mui/frame/basic-app-bar.js.jsx +32 -0
- package/bundle/obf/src/templates/react/kit/mui/frame/basic-app-bar.js.ts +0 -0
- package/bundle/obf/src/templates/react/kit/mui/frame/basic-app-bar.js.tsx +0 -0
- 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 a99y=a99d;function
|
|
1
|
+
const a99y=a99d;function a99c(){const B=['apollo','constructor','injectAtBeginningOfFile','tsx','fixtures.','apiAnswers','injectIntoFile','maka:rest','172042LLpkbg','search','3KjBeyv','maka\x20{generate,\x20g}:{api}\x20<resource-name>','/graphql/typeDefs','fsi','api/register-api.js','injectAtEndOfFile','Resolvers);\x0a\x0a','imports','withPubs','api/methods.js','resolverList.push(','error','template','rest','checkMeteorPackage','api/api.js','withMethods','apply','getProjectConfig','2724240gLAmiH','api/typeDefs.js','toString','typeList.push(','Scaffolding\x20for\x20an\x20api\x20concept\x20(i.e.\x20Todos).','Verifying\x20meteor\x20package\x20requirements\x20...','.app-tests.','publications.','resolvers.','push','index.','graphql','3392587SQvExo','processAndRunGenerator','register-','2246670udmfXU','engines','includes','TypeDefs);\x0a','collection','api/publications.js','if\x20\x5c(typeList','166298tlkUoY','maka:check','4359861yQzipO','notice','const','withFixtures','api','GraphQL','/imports/api','startup','server','installMeteorPackage','none','(((.+)+)+)+$','dir','No\x20API\x20boundaries\x20selected','/graphql/resolvers','Publications','mdg:validated-method','308VUPKfi','30rQmnfY','api/tests.js','rewriteDestinationPathForEngine','\x27;\x0a','maka\x20g:api\x20Todos','checkbox','resourceName','create','import\x20\x27./register-','API\x20boundaries\x20to\x20create','withGql','mongo','Resolvers\x20}\x20from\x20\x27','exit','rest-api.','pathFromApp','5bMiieW','maka:rest\x20maka:check\x20ddp-rate-limiter\x20mdg:validated-method\x20mongo','87432YMTpzz','ddp-rate-limiter','test','withRest'];a99c=function(){return B;};return a99c();}(function(a,b){const v=a99d,c=a();while(!![]){try{const d=-parseInt(v(0x1b4))/0x1+parseInt(v(0x189))/0x2*(-parseInt(v(0x18b))/0x3)+-parseInt(v(0x19e))/0x4+-parseInt(v(0x17b))/0x5*(-parseInt(v(0x1ad))/0x6)+parseInt(v(0x1c7))/0x7*(parseInt(v(0x17d))/0x8)+-parseInt(v(0x1b6))/0x9+-parseInt(v(0x1c8))/0xa*(-parseInt(v(0x1aa))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a99c,0x5890c));const a99b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a99d;if(c){const e=c[w(0x19c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a99a=a99b(this,function(){const x=a99d;return a99a[x(0x1a0)]()[x(0x18a)](x(0x1c1))[x(0x1a0)]()[x(0x182)](a99a)[x(0x18a)](x(0x1c1));});a99a();function a99d(a,b){const c=a99c();return a99d=function(d,e){d=d-0x17a;let f=c[d];return f;},a99d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import a99e from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a99y(0x1cf)]({'name':a99y(0x1ba),'aliases':['a'],'usage':a99y(0x18c),'shortDesc':a99y(0x1a2),'validOpts':['dir'],'examples':[a99y(0x1cc)],'description':'\x0a\x20\x20Scaffolding\x20for\x20an\x20api\x20concept\x20(i.e.\x20Todos).\x0a\x0a\x20\x20The\x20api\x20generator\x20will\x20create\x20a\x20collection,\x20publications,\x20methods,\x20fixtures,\x20and\x20tests\x0a\x20\x20for\x20the\x20given\x20resource\x20name.\x0a\x0a\x20\x20The\x20api\x20generator\x20will\x20ask\x20which\x20boundaries\x20to\x20create.\x20The\x20choices\x20are:\x0a\x20\x20\x20\x20-\x20RPC\x20(Methods)\x0a\x20\x20\x20\x20-\x20Fixtures\x0a\x20\x20\x20\x20-\x20Publications\x0a\x20\x20\x20\x20-\x20REST\x20API\x0a\x20\x20\x20\x20-\x20GraphQL\x0a\x0a\x20\x20'},async function(a,b){const z=a99y;try{const c=this[z(0x18e)][z(0x19d)](),d=[{'name':'RPC\x20(Methods)','value':z(0x19b)},{'name':'Fixtures','value':z(0x1b9)},{'name':z(0x1c5),'value':z(0x193)}];c[z(0x1ae)]['api']===z(0x198)&&d['push']({'name':'REST\x20API','value':'withRest'});c[z(0x1ae)][z(0x1a9)]===z(0x181)&&d[z(0x1a7)]({'name':z(0x1bb),'value':'withGql'});const f={'type':z(0x1cd),'name':z(0x186),'message':z(0x1d1),'pageSize':0x64,'choices':d},{apiAnswers:g}=await Actions['options'](f);g['length']===0x0&&(Log[z(0x196)](z(0x1c3)),process[z(0x1d5)](0x1)),this[z(0x18e)]['withValue'](c,async()=>{const A=z,h=this[A(0x18e)][A(0x17a)]({}),i=b[A(0x1ce)],j=paramCase(i),k=camelCase(i),l=b[A(0x1c2)]?'/'+b[A(0x1c2)]+'/':'/',m={'name':pascalCase(i),'fileName':j,'camelCase':pascalCase(i),'optsDir':l,'api':c[A(0x1ae)][A(0x1ba)],'graphql':c[A(0x1ae)][A(0x1a9)],'test':c['engines'][A(0x17f)],'noRename':!![],'withPubs':g[A(0x1af)](A(0x193)),'withFixtures':g['includes'](A(0x1b9)),'withMethods':g[A(0x1af)](A(0x19b)),'withRest':g['includes'](A(0x180))};let n='js';c[A(0x1ae)]['js']===A(0x184)&&(n='ts');(!this['fsi'][A(0x199)](A(0x188))||!this['fsi'][A(0x199)](A(0x1b5))||!this[A(0x18e)][A(0x199)](A(0x17e))||!this['fsi'][A(0x199)](A(0x1c6))||!this[A(0x18e)][A(0x199)](A(0x1d3)))&&(Log[A(0x1b7)](A(0x1a3)),await this[A(0x18e)][A(0x1bf)](A(0x17c),{'cwd':h}));await a99e[A(0x1ab)](A(0x1b1),[j],{'config':c,'where':A(0x1be)});c['engines'][A(0x1ba)]===A(0x198)&&(m['withRest']&&this[A(0x18e)][A(0x197)]({'srcPath':A(0x19a),'destPath':this[A(0x18e)]['pathFromApp']({'pathParts':[A(0x192),'api',b[A(0x1c2)],j,A(0x1d6)+n]}),'context':m,'config':c}));m[A(0x19b)]&&this[A(0x18e)]['template']({'srcPath':A(0x194),'destPath':this['fsi']['pathFromApp']({'pathParts':[A(0x192),A(0x1ba),b[A(0x1c2)],j,'rpc-methods.'+n]}),'context':m,'config':c});m['withFixtures']&&this[A(0x18e)][A(0x197)]({'srcPath':'api/fixtures.js','destPath':this[A(0x18e)][A(0x17a)]({'pathParts':[A(0x192),A(0x1ba),b['dir'],j,A(0x185)+n]}),'context':m,'config':c});c['engines'][A(0x17f)]!==A(0x1c0)&&this[A(0x18e)][A(0x197)]({'srcPath':A(0x1c9),'destPath':this[A(0x18e)][A(0x17a)]({'pathParts':['imports',A(0x1ba),b[A(0x1c2)],j,j+A(0x1a4)+n]}),'context':m,'config':c});m[A(0x193)]&&this[A(0x18e)][A(0x197)]({'srcPath':A(0x1b2),'destPath':this[A(0x18e)][A(0x17a)]({'pathParts':[A(0x192),A(0x1ba),b[A(0x1c2)],j,A(0x1a5)+n]}),'context':m,'config':c});if(c[A(0x1ae)][A(0x1a9)]==='apollo'){if(g[A(0x1af)](A(0x1d2))){const p=this[A(0x18e)][A(0x17a)]({'pathParts':[A(0x192),A(0x1bd),A(0x1be),A(0x1a8)+c[A(0x1ae)]['js']]}),q=this[A(0x18e)][A(0x1ca)]({'pathParts':[p],'config':c}),r=this[A(0x18e)][A(0x17a)]({'pathParts':[A(0x192),A(0x1ba),b[A(0x1c2)],j,'graphql','typeDefs.'+n]}),s=A(0x1bc)+l+j+A(0x18d);this[A(0x18e)][A(0x197)]({'srcPath':A(0x19f),'destPath':r,'context':m,'config':c}),this['fsi'][A(0x183)]({'filePath':q,'content':'import\x20{\x20typeDefs\x20as\x20'+k+'TypeDefs\x20}\x20from\x20\x27'+s+A(0x1cb)}),this[A(0x18e)]['injectIntoFile']({'filePath':q,'content':A(0x1a1)+k+A(0x1b0),'begin':'const','end':A(0x1b3)});const t=this[A(0x18e)][A(0x17a)]({'pathParts':[A(0x192),A(0x1ba),b['dir'],j,A(0x1a9),A(0x1a6)+n]}),u=A(0x1bc)+l+j+A(0x1c4);this[A(0x18e)]['template']({'srcPath':'api/resolvers.js','destPath':t,'context':m,'config':c}),this[A(0x18e)][A(0x183)]({'filePath':q,'content':'\x0aimport\x20{\x20resolvers\x20as\x20'+k+A(0x1d4)+u+'\x27;'}),this[A(0x18e)][A(0x187)]({'filePath':q,'content':A(0x195)+k+A(0x191),'begin':A(0x1b8),'end':'if\x20\x5c(typeList'});}}this[A(0x18e)][A(0x197)]({'srcPath':A(0x18f),'destPath':this[A(0x18e)]['pathFromApp']({'pathParts':[A(0x192),A(0x1bd),A(0x1be),A(0x1ac)+j+'-api.'+n]}),'context':m,'config':c,'force':!![]});const o=this['fsi'][A(0x17a)]({'pathParts':[A(0x192),A(0x1bd),'server',A(0x1a8)+c[A(0x1ae)]['js']]});this[A(0x18e)][A(0x190)]({'filePath':o,'content':A(0x1d0)+j+'-api\x27;'});});}catch(h){console[z(0x196)](h),process['exit'](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a100n=a100d;
|
|
1
|
+
const a100n=a100d;(function(a,b){const k=a100d,c=a();while(!![]){try{const d=parseInt(k(0xd6))/0x1+parseInt(k(0xd3))/0x2*(parseInt(k(0xb8))/0x3)+parseInt(k(0xb7))/0x4+parseInt(k(0xdc))/0x5+-parseInt(k(0xc9))/0x6*(parseInt(k(0xc8))/0x7)+parseInt(k(0xc1))/0x8*(parseInt(k(0xbf))/0x9)+-parseInt(k(0xbb))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a100c,0xd091a));const a100b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a100d;if(c){const e=c[l(0xde)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a100a=a100b(this,function(){const m=a100d;return a100a[m(0xdb)]()[m(0xdf)](m(0xb6))[m(0xdb)]()[m(0xb9)](a100a)[m(0xdf)]('(((.+)+)+)+$');});a100a();function a100d(a,b){const c=a100c();return a100d=function(d,e){d=d-0xb5;let f=c[d];return f;},a100d(a,b);}function a100c(){const q=['tsx','installMeteorPackage','maka\x20g:collection\x20todos','engines','fsi','checkMeteorPackage','maka\x20{generate,\x20g}:{collection,\x20col}\x20<name>','test','452JDwEtt','startup','index.','1157766HASWEF','none','mongo','col','collection','toString','2998455SEztJL','pathFromApp','apply','search','appPathPrefix','.app-tests.','collection/tests.js','(((.+)+)+)+$','1103604JUlSkQ','4449ruXZBF','constructor','imports','23816970xLsxSL','error','collection/collection.js','dir','99WLfchV','template','844504WGSwQH','maka:check','resourceName','collections','\x0a\x20\x20\x20\x20Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection.\x0ahttps://docs.meteor.com/api/collections.html\x0a\x0a\x20\x20\x20\x20Collections\x20are\x20generated\x20in\x20the\x20\x22lib\x22\x20or\x20\x22common\x22\x20directory\x20by\x20default.\x20\x20This\x20location\x20is\x20accessible\x0a\x20\x20\x20\x20to\x20BOTH\x20client\x20and\x20server\x20(--where=both).\x20\x20Other\x20options\x20are\x20\x22--where=server\x22\x20and\x20\x22--where=client\x22\x20which\x0a\x20\x20\x20\x20will\x20setup\x20the\x20collection\x20in\x20their\x20respective\x20locations.\x0a\x20\x20','notice','Verifying\x20meteor\x20package\x20requirements:\x20maka:check\x20...','1027999ZlLuTr','12LGkisj','injectAtEndOfFile'];a100c=function(){return q;};return a100c();}import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator['create']({'name':a100n(0xda),'aliases':[a100n(0xd9)],'usage':a100n(0xd1),'checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection','validOpts':[a100n(0xbe),'where'],'description':a100n(0xc5),'examples':[a100n(0xcd)]},async function(a,b){const o=a100n;try{const c=this[o(0xcf)][o(0xdd)]({}),d=this[o(0xcf)]['getProjectConfig']();this['fsi']['withValue'](d,async()=>{const p=o,f=paramCase(b[p(0xc3)]),g={'name':pascalCase(b[p(0xc3)]),'collectionName':pascalCase(b[p(0xc3)]),'fileName':f,'where':b['where'],'test':d[p(0xce)][p(0xd2)],'noRename':!![]};let h='js';d[p(0xce)]['js']===p(0xcb)&&(h='ts');!this['fsi'][p(0xd0)](p(0xd8))&&(Log[p(0xc6)]('Verifying\x20meteor\x20package\x20requirements:\x20mongo\x20...'),await this[p(0xcf)]['installMeteorPackage'](p(0xd8),{'cwd':c}));!this['fsi']['checkMeteorPackage'](p(0xc2))&&(Log[p(0xc6)](p(0xc7)),await this['fsi'][p(0xcc)](p(0xc2),{'cwd':c}));this[p(0xcf)]['template']({'srcPath':p(0xbd),'destPath':this['fsi'][p(0xdd)]({'pathParts':[p(0xba),p(0xd4),b[p(0xe0)],p(0xc4),b[p(0xbe)],f+'.'+h]}),'context':g,'config':d});d[p(0xce)][p(0xd2)]!==p(0xd7)&&this['fsi'][p(0xc0)]({'srcPath':p(0xb5),'destPath':this['fsi'][p(0xdd)]({'pathParts':[p(0xba),p(0xd4),b[p(0xe0)],p(0xc4),b[p(0xbe)],f+p(0xe1)+h]}),'context':g,'config':d});const i=b[p(0xbe)]?'/'+b['dir']+'/':'/',j=this[p(0xcf)][p(0xdd)]({'pathParts':[p(0xba),p(0xd4),b[p(0xe0)],p(0xd5)+d[p(0xce)]['js']]});this['fsi'][p(0xca)]({'filePath':j,'content':'import\x20\x27./collections'+i+f+'\x27;'});});}catch(f){Log[o(0xbc)](f);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a101q=a101d;(function(a,b){const n=a101d,c=a();while(!![]){try{const d=parseInt(n(0x19b))/0x1*(parseInt(n(0x1bf))/0x2)+parseInt(n(0x1d0))/0x3+-parseInt(n(0x1ac))/0x4*(-parseInt(n(0x1af))/0x5)+-parseInt(n(0x1d1))/0x6*(parseInt(n(0x1c5))/0x7)+-parseInt(n(0x1cd))/0x8+parseInt(n(0x1ce))/0x9+-parseInt(n(0x19f))/0xa*(-parseInt(n(0x1b3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a101c,0xa15b0));const a101b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a101d;if(c){const e=c[o(0x1bc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a101a=a101b(this,function(){const p=a101d;return a101a[p(0x1da)]()[p(0x1b1)]('(((.+)+)+)+$')[p(0x1da)]()[p(0x1b5)](a101a)[p(0x1b1)]('(((.+)+)+)+$');});a101a();import a101e from'path';import{camelCase,paramCase,pascalCase}from'change-case';function a101d(a,b){const c=a101c();return a101d=function(d,e){d=d-0x195;let f=c[d];return f;},a101d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a101c(){const t=['imports','test','pathFromProject','features','root','fileName','1229124eTzdWS','react','template','5wPwSge','reflux','search','withTranslations','165HljXZc','true','constructor','/imports/ui/','assign','client','fsi','resourceName','pages','apply','pathFromApp','engines','2SPzufs','\x27;\x0a','lib','injectAtEndOfFile','components','installNpmPackage','3017VCDYKG','maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','graphql','findAppDirectory','setTemplate','api','hooks','.js','9538896tPgUbO','553869vnyNAN','cssCaseName','833343HlmmLi','5250RwZJpb','ssr','comp','import\x20\x27./','withValue','component','.tests.js','dir','css','toString','Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','injectAtBeginningOfFile','relative','.css','test/test.js','error','rewriteDestinationPathForEngine','layouts','templates.js','712311jvfNGV','/imports/ui/components','string','create','580990BfYAAe','startup','warn','template/template.css','getProjectConfig','checkNpmPackage','ramda'];a101c=function(){return t;};return a101c();}const aliases=[a101q(0x1d3)];Generator[a101q(0x19e)]({'name':a101q(0x1d6),'aliases':aliases,'usage':a101q(0x1c6),'shortDesc':a101q(0x1db),'validOpts':[{'name':'baseDir','values':[a101q(0x1cb),a101q(0x1c3),a101q(0x1bb),a101q(0x199)]}],'examples':['maka\x20g:comp\x20todos/todos-item']},async function(a,b){const r=a101q;try{const c=this[r(0x1b9)][r(0x1c8)](),d=b['baseDir']?r(0x1b6)+b['baseDir']:r(0x19c),f=this[r(0x1b9)]['pathFromApp']({'pathParts':[d,b[r(0x1d8)],paramCase(b[r(0x1ba)]),paramCase(b['resourceName'])]}),g=await this[r(0x1b9)][r(0x1a3)]();this[r(0x1b9)][r(0x1d5)](g,async()=>{const s=r;typeof g[s(0x1ae)][s(0x1a7)]===s(0x19d)&&(g[s(0x1ae)][s(0x1a7)]=g[s(0x1ae)][s(0x1a7)]===s(0x1b4)?!![]:![],this[s(0x1b9)][s(0x1c9)](s(0x1a7),g[s(0x1ae)][s(0x1a7)]));typeof g[s(0x1ae)][s(0x1d9)]===s(0x19d)&&(g[s(0x1ae)][s(0x1d9)]=g[s(0x1ae)][s(0x1d9)]===s(0x1b4)?!![]:![],this[s(0x1b9)]['setTemplate']('css',g[s(0x1ae)][s(0x1d9)]));typeof g[s(0x1ae)]['js']==='string'&&(g[s(0x1ae)]['js']=g[s(0x1ae)]['js']==='true'?!![]:![],this[s(0x1b9)][s(0x1c9)]('js',g[s(0x1ae)]['js']));!g[s(0x1a9)]&&(g[s(0x1a9)]={});!b[s(0x1aa)]&&!this['fsi'][s(0x1a4)](s(0x1a5))&&(Log[s(0x1a1)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),await this[s(0x1b9)][s(0x1c4)](s(0x1a5),{'cwd':c}));if(!b[s(0x1aa)]&&!this[s(0x1b9)][s(0x1a4)](s(0x1ad))){Log[s(0x197)]('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');return;}const h={'name':pascalCase(b['resourceName']),'myPath':a101e[s(0x1dd)](this['fsi'][s(0x1a8)]({}),f),'cssCaseName':paramCase(b[s(0x1ba)]),'className':pascalCase(b[s(0x1ba)]),'camelCaseName':camelCase(b[s(0x1ba)]),'fileName':paramCase(b[s(0x1ba)]),'graphql':g[s(0x1be)][s(0x1c7)],'features':g[s(0x1a9)],'client':g[s(0x1be)][s(0x1b8)],'api':g[s(0x1be)][s(0x1ca)],'ssr':g['engines'][s(0x1d2)],'test':g[s(0x1be)]['test'],'theme':g['engines']['theme'],'isLayout':![],'isComponent':!![],'withTranslations':g[s(0x1a9)][s(0x1b2)]};this[s(0x1b9)]['template']({'srcPath':'component/component.js','destPath':f+s(0x1cc),'context':h,'framework':'react','config':g});g['engines'][s(0x1a7)]!=='none'&&this[s(0x1b9)][s(0x1ae)]({'srcPath':s(0x196),'destPath':f+s(0x1d7),'context':h,'framework':s(0x1ad),'config':g});g[s(0x1ae)][s(0x1d9)]&&(this[s(0x1b9)][s(0x1ae)]({'srcPath':s(0x1a2),'destPath':f+s(0x195),'context':Object[s(0x1b7)]({},h,{'className':paramCase(b['resourceName'])}),'config':g}),this[s(0x1b9)][s(0x1dc)]({'filePath':f+'.'+g[s(0x1be)]['js'],'content':s(0x1d4)+h[s(0x1cf)]+'.'+g['engines'][s(0x1d9)]+'\x27;'}));const i=b[s(0x1d8)]?'/'+b[s(0x1d8)]+'/':'/',j=''+d+i+h[s(0x1ab)]+'/'+h[s(0x1ab)];let k;if(g[s(0x1be)][s(0x1d2)]==='true'){const l=this[s(0x1b9)][s(0x1bd)]({'pathParts':[s(0x1a6),s(0x1a0),s(0x1c1),s(0x19a)]});k=this[s(0x1b9)]['rewriteDestinationPathForEngine']({'pathParts':[l],'config':g});}else{const m=this['fsi'][s(0x1bd)]({'pathParts':[s(0x1a6),s(0x1a0),s(0x1b8),s(0x19a)]});k=this[s(0x1b9)][s(0x198)]({'pathParts':[m],'config':g});}g[s(0x1be)][s(0x1b8)]===s(0x1ad)||g[s(0x1be)][s(0x1b8)]===s(0x1b0)?this['fsi'][s(0x1c2)]({'filePath':k,'content':'export\x20{\x20'+h['className']+'\x20}\x20from\x20\x27'+j+s(0x1c0)}):this[s(0x1b9)]['injectAtEndOfFile']({'filePath':k,'content':'export\x20\x27'+j+'.'+g['engines']['js']+s(0x1c0)});});}catch(h){Log[r(0x197)](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a102k=a102d;(function(a,b){const h=a102d,c=a();while(!![]){try{const d=-parseInt(h(0xd3))/0x1+-parseInt(h(0xd4))/0x2+-parseInt(h(0xd9))/0x3*(parseInt(h(0xe0))/0x4)+-parseInt(h(0xde))/0x5+-parseInt(h(0xdd))/0x6*(parseInt(h(0xc4))/0x7)+parseInt(h(0xd5))/0x8+parseInt(h(0xdc))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a102c,0xea6a7));const a102b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a102d;if(c){const e=c[i(0xdf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a102a=a102b(this,function(){const j=a102d;return a102a[j(0xc5)]()['search']('(((.+)+)+)+$')[j(0xc5)]()[j(0xd1)](a102a)[j(0xdb)](j(0xd2));});a102a();import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';function a102d(a,b){const c=a102c();return a102d=function(d,e){d=d-0xc4;let f=c[d];return f;},a102d(a,b);}Generator['create']({'name':a102k(0xca),'usage':'maka\x20{generate,\x20g}:{config}\x20<name>','shortDesc':'Generate\x20configuration\x20settings.','validOpts':[a102k(0xd8)],'examples':['maka\x20g:config\x20production']},function(a,b){const l=a102k,c=this[l(0xcc)][l(0xce)]();this[l(0xcc)]['withValue'](c,async()=>{const m=l,d={'app':c['appName'],'appFileCase':paramCase(c[m(0xda)]),'name':pascalCase(b['resourceName']),'fileName':paramCase(b[m(0xcb)]),'camelCase':camelCase(b[m(0xcb)]),'userName':m(0xc9),'isDocker':b[m(0xd8)]};let e=b[m(0xcb)];if(e===m(0xd6))e=m(0xcd);else e===m(0xc7)&&(e='production');const f=this[m(0xcc)][m(0xd7)]({'pathParts':[m(0xca),e,m(0xc6)]});this[m(0xcc)]['template']({'srcPath':'config/settings.json','destPath':f,'context':d,'config':c});if(!b[m(0xd8)]){const g=this['fsi'][m(0xd7)]({'pathParts':[m(0xca),e,m(0xd0)]});this[m(0xcc)][m(0xc8)]({'srcPath':m(0xcf),'destPath':g,'context':d,'config':c});}});});function a102c(){const n=['1427320dFwAqG','dev','pathFromProject','isDocker','18AspCgy','appName','search','46855845nkiWsY','54vDkRoz','2608355ixuqxm','apply','1018308JMaJUi','23926AnbbUT','toString','settings.json','prod','template','ubuntu','config','resourceName','fsi','development','getProjectConfig','config/process.env','process.env','constructor','(((.+)+)+)+$','763969AYUrJl','3161178yNeLaN'];a102c=function(){return n;};return a102c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a103l=a103d;(function(a,b){const j=a103d,c=a();while(!![]){try{const d=parseInt(j(0x1b1))/0x1+parseInt(j(0x188))/0x2+-parseInt(j(0x1b6))/0x3*(parseInt(j(0x18a))/0x4)+-parseInt(j(0x1b5))/0x5+parseInt(j(0x1a0))/0x6*(parseInt(j(0x1a6))/0x7)+-parseInt(j(0x1b4))/0x8*(-parseInt(j(0x18f))/0x9)+-parseInt(j(0x1a2))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a103c,0x7fbaf));const a103b=(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;};}()),a103a=a103b(this,function(){const k=a103d;return a103a[k(0x1aa)]()[k(0x192)](k(0x1b3))[k(0x1aa)]()[k(0x1ab)](a103a)[k(0x192)]('(((.+)+)+)+$');});a103a();import{camelCase,paramCase,pascalCase}from'change-case';function a103c(){const o=['656BOVEGy','422750eZqNhp','21qeUtxN','import\x20\x27./register-','1959372RlqFPK','engines','163112LkgSpW','installNpmPackage','maka\x20g:dbc\x20azure\x20--type=mssql','Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','startup','56376FoCfQA','pathFromApp','mssql','search','dbc/register-dbc.js','dbc/config.js','conn.','dbc/conn.js','dir','imports','dbc','fsi','tsx','error','template','warn','checkNpmPackage','4446132fKOFfB','index.','16262750cwzFvc','resourceName','type','pgsql','7QHwpzt','withValue','better-sqlite3','create','toString','constructor','config.','sqlite','register-','-dbc\x27;','injectAtEndOfFile','285098kzYOgo','server','(((.+)+)+)+$'];a103c=function(){return o;};return a103c();}import{Generator}from'../generator.js';function a103d(a,b){const c=a103c();return a103d=function(d,e){d=d-0x187;let f=c[d];return f;},a103d(a,b);}import{Log}from'../tools/log/log.class.js';Generator[a103l(0x1a9)]({'name':a103l(0x199),'usage':'maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','shortDesc':a103l(0x18d),'validOpts':[a103l(0x197)],'mustBeInMakaProject':!![],'requiredOpts':[{'name':'type','values':[a103l(0x1a5),a103l(0x191),'sqlite']}],'examples':['maka\x20g:dbc\x20geoserver\x20--type=pgsql',a103l(0x18c),'maka\x20g:dbc\x20todos\x20--type=sqlite']},async function(a,b){const m=a103l;try{const c=await this[m(0x19a)]['getProjectConfig'](),d=this[m(0x19a)][m(0x190)]({}),f=paramCase(b[m(0x1a3)]),g={'name':pascalCase(b[m(0x1a3)]),'fileName':paramCase(b['resourceName']),'camelCase':camelCase(b['resourceName']),'type':b[m(0x1a4)],'engine':c[m(0x189)]['js'],'noRename':!![]};this['fsi'][m(0x1a7)](c,async()=>{const n=m;let h='js';c[n(0x189)]['js']===n(0x19b)&&(h='ts');b['type']===n(0x1a5)&&!this[n(0x19a)][n(0x19f)]('pg')&&(Log[n(0x19e)]('Npm\x20package\x20\x22pg\x22\x20not\x20installed,\x20installing...'),await this['fsi'][n(0x18b)]('pg',{'cwd':d}));b[n(0x1a4)]===n(0x191)&&!this[n(0x19a)][n(0x19f)](n(0x191))&&(Log[n(0x19e)]('Npm\x20package\x20\x22mssql\x22\x20not\x20installed,\x20installing...'),await this[n(0x19a)][n(0x18b)](n(0x191),{'cwd':d}));b[n(0x1a4)]===n(0x1ad)&&!this[n(0x19a)]['checkNpmPackage'](n(0x1a8))&&(Log[n(0x19e)]('Npm\x20package\x20\x22better-sqlite3\x22\x20not\x20installed,\x20installing...'),await this[n(0x19a)][n(0x18b)](n(0x1a8),{'cwd':d}));this[n(0x19a)][n(0x19d)]({'srcPath':n(0x194),'destPath':this[n(0x19a)][n(0x190)]({'pathParts':['imports',n(0x18e),'server',n(0x199),b[n(0x197)],f,n(0x1ac)+h]}),'context':g,'config':c}),this[n(0x19a)][n(0x19d)]({'srcPath':n(0x196),'destPath':this['fsi'][n(0x190)]({'pathParts':[n(0x198),'startup',n(0x1b2),'dbc',b['dir'],f,n(0x195)+h]}),'context':g,'config':c}),this[n(0x19a)]['template']({'srcPath':n(0x193),'destPath':this[n(0x19a)]['pathFromApp']({'pathParts':[n(0x198),'startup',n(0x1b2),n(0x1ae)+f+'-dbc.'+h]}),'context':g,'config':c});const i=this[n(0x19a)][n(0x190)]({'pathParts':[n(0x198),n(0x18e),n(0x1b2),n(0x1a1)+c[n(0x189)]['js']]});this['fsi'][n(0x1b0)]({'filePath':i,'content':n(0x187)+f+n(0x1af)});});}catch(h){Log[m(0x19c)](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a104i=a104d;(function(a,b){const f=a104d,c=a();while(!![]){try{const d
|
|
1
|
+
const a104i=a104d;(function(a,b){const f=a104d,c=a();while(!![]){try{const d=-parseInt(f(0x148))/0x1+-parseInt(f(0x155))/0x2*(parseInt(f(0x159))/0x3)+parseInt(f(0x153))/0x4+parseInt(f(0x145))/0x5+-parseInt(f(0x149))/0x6*(parseInt(f(0x15a))/0x7)+-parseInt(f(0x144))/0x8+parseInt(f(0x152))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a104c,0xa7a52));const a104b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a104d;if(c){const e=c[g(0x160)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a104a=a104b(this,function(){const h=a104d;return a104a[h(0x15e)]()[h(0x161)](h(0x14c))['toString']()[h(0x147)](a104a)[h(0x161)](h(0x14c));});function a104d(a,b){const c=a104c();return a104d=function(d,e){d=d-0x144;let f=c[d];return f;},a104d(a,b);}a104a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a104e from'path';Generator[a104i(0x156)]({'name':a104i(0x151),'usage':'maka\x20{generate,\x20g}:dockerfile','shortDesc':a104i(0x15b),'validOpts':[],'noNeedResource':!![],'examples':[a104i(0x14a)]},async function(){const j=a104i;try{const a=await this[j(0x15d)][j(0x162)](),b=await this[j(0x15d)]['getGlobalConfig'](),c=this[j(0x15d)][j(0x150)]();this[j(0x15d)][j(0x157)](a,async()=>{const k=j,d={'app':b[k(0x146)],'config':a,'appPath':a104e['join'](c,k(0x15c)),'bundlePath':a104e[k(0x14d)](c,k(0x15f),k(0x14f)),'useCert':this['fsi']['isFile'](b[k(0x14e)])};this[k(0x15d)][k(0x158)]({'srcPath':'docker/Dockerfile','destPath':a104e[k(0x14d)](c,'Dockerfile'),'framework':k(0x14b),'context':d,'config':a});});}catch(d){Log[j(0x154)](d);}});function a104c(){const l=['fsi','toString','build','apply','search','getProjectConfig','3520984EoqUun','4841940YPsvJH','appName','constructor','857000cUauxJ','7388952pIPtmg','maka\x20g:dockerfile','service','(((.+)+)+)+$','join','cert','app.tar.gz','findProjectDirectory','dockerfile','24359706ktQZlz','1447388hYrRLV','error','30rwoDSC','create','withValue','template','164316spQrCD','7asqvNJ','Generate\x20an\x20updated\x20dockerfile','app'];a104c=function(){return l;};return a104c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a105d(a,b){const c=a105c();return a105d=function(d,e){d=d-
|
|
1
|
+
function a105d(a,b){const c=a105c();return a105d=function(d,e){d=d-0x65;let f=c[d];return f;},a105d(a,b);}function a105c(){const u=['template','assign','fileName','graphql','withTranslations','true','rewriteDestinationPathForEngine','10932471CHRrKJ','toString','css','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','imports','hook','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','987109koCwdE','cssCaseName','12TmGARL','3155260CjAshn','dir','getProjectConfig','apply','export\x20{\x20','resourceName','fsi','export\x20\x27','search','.app-tests.js','756955RDltSi','injectAtEndOfFile','relative','(((.+)+)+)+$','create','@apollo/client','template/template.css','lib','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','templates.js','@apollo/client\x20isomorphic-fetch','66GSHITw','test/test.js','pathFromApp','.css','/imports/ui/hooks','\x20hook...','startup','error','components','string','Creating\x20','features','baseDir','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','847440nUMlAv','client','warn','notice','constructor','7832230zAtbhB','withValue','import\x20\x27./','react','force','engines','\x20}\x20from\x20\x27','theme','installNpmPackage','checkNpmPackage','98ZlNFbX','none','1525212XuqRtN'];a105c=function(){return u;};return a105c();}const a105r=a105d;(function(a,b){const o=a105d,c=a();while(!![]){try{const d=-parseInt(o(0xa3))/0x1+parseInt(o(0xa6))/0x2+parseInt(o(0x94))/0x3*(-parseInt(o(0xa5))/0x4)+parseInt(o(0x6a))/0x5*(-parseInt(o(0x75))/0x6)+parseInt(o(0x92))/0x7*(parseInt(o(0x83))/0x8)+parseInt(o(0x9c))/0x9+parseInt(o(0x88))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a105c,0xd714a));const a105b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a105d;if(c){const e=c[p(0xa9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a105a=a105b(this,function(){const q=a105d;return a105a[q(0x9d)]()[q(0x68)](q(0x6d))[q(0x9d)]()[q(0x87)](a105a)[q(0x68)](q(0x6d));});a105a();import a105e from'path';import{paramCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Generator[a105r(0x6e)]({'name':a105r(0xa1),'aliases':['h'],'checkWhere':![],'usage':a105r(0x82),'shortDesc':a105r(0x72),'validOpts':[{'name':'baseDir','values':['hooks',a105r(0x7d),'pages','layouts']},{'name':a105r(0x8c),'boolFlag':!![]}],'examples':['maka\x20g:hook\x20cool-hook'],'description':'\x0a\x20\x20Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html\x0a\x0a\x20\x20Hooks\x20are\x20created\x20in\x20the\x20imports/ui/hooks\x20directory\x20by\x20default,\x20but\x20can\x20be\x20created\x20in\x0a\x20\x20the\x20imports/ui/components,\x20imports/ui/pages,\x20or\x20imports/ui/layouts\x20directories\x20by\x0a\x20\x20using\x20the\x20--baseDir\x20option\x20with\x20the\x20appropriate\x20directory\x20name.\x0a\x0a\x20\x20To\x20create\x20a\x20hook\x20in\x20a\x20subdirectory\x20of\x20the\x20hooks\x20directory,\x20add\x20the\x20path\x20to\x20the\x0a\x20\x20hook\x20name.\x20For\x20example,\x20maka\x20g:hook\x20myHooks/useCoolHook\x20will\x20create\x20a\x20hook\x20in\x0a\x20\x20imports/ui/hooks/my-hooks/use-cool-hook.jsx\x0a\x0a\x20\x20If\x20you\x27d\x20like\x20a\x20hook\x20created\x20as\x20part\x20of\x20an\x20existing\x20page,\x20component,\x20or\x20layout,\x0a\x20\x20use\x20the\x20maka\x20g:hook\x20command\x20with\x20the\x20--baseDir\x20option.\x20For\x20example,\x0a\x0a\x20\x20\x20\x20maka\x20g:hook\x20--baseDir=pages\x20myPage/useCoolHook\x0a\x0a\x20\x20will\x20create\x20a\x20hook\x20in\x20imports/ui/pages/my-page/use-cool-hook.jsx\x0a\x0a\x20\x20'},async function(a,b){const s=a105r;Log[s(0x86)](s(0x7f)+b['resourceName']+s(0x7a));try{const c=this[s(0x66)][s(0x91)](s(0x8b));if(!c){Log[s(0x7c)](s(0x9f));throw new UsageError();}const d=this[s(0x66)][s(0x77)](b),f=b['baseDir']?'/imports/ui/'+b[s(0x81)]:s(0x79),g=this[s(0x66)][s(0x77)]({'pathParts':[f,b[s(0xa7)],paramCase(b[s(0x65)]),paramCase(b[s(0x65)])]}),h=await this['fsi'][s(0xa8)]();this['fsi'][s(0x89)](h,async()=>{const t=s;typeof h[t(0x95)][t(0x9e)]===t(0x7e)&&(h[t(0x95)][t(0x9e)]=h['template'][t(0x9e)]===t(0x9a)?!![]:![],this[t(0x66)]['setTemplate']('css',h[t(0x95)][t(0x9e)]));h[t(0x8d)][t(0x98)]==='apollo'&&!this['fsi'][t(0x91)](t(0x6f))&&(Log[t(0x85)](t(0xa2)),await this['fsi'][t(0x90)](t(0x74),{'cwd':d}));const i={'cssCaseName':paramCase(b['resourceName']),'camelCaseName':camelCase(b['resourceName']),'className':pascalCase(b['resourceName']),'name':pascalCase(b[t(0x65)]),'graphql':h['engines'][t(0x98)],'theme':h[t(0x8d)][t(0x8f)],'features':h[t(0x80)],'myPath':a105e[t(0x6c)](this[t(0x66)]['pathFromProject']({}),g),'fileName':paramCase(b[t(0x65)]),'isComponent':![],'isLayout':![],'withTranslations':h[t(0x80)][t(0x99)]};this[t(0x66)][t(0x95)]({'srcPath':'hook/hook.js','destPath':g+'.js','context':i,'config':h,'framework':t(0x8b),'force':b[t(0x8c)]});h[t(0x95)]['css']&&(this[t(0x66)][t(0x95)]({'srcPath':t(0x70),'destPath':g+t(0x78),'context':Object[t(0x96)]({},i,{'className':i[t(0xa4)]}),'config':h,'force':b[t(0x8c)]}),this[t(0x66)]['injectAtBeginningOfFile']({'filePath':g+'.'+h['engines']['js'],'content':t(0x8a)+i['fileName']+'.'+h['engines'][t(0x9e)]+'\x27;'}));h[t(0x8d)]['test']!==t(0x93)&&this[t(0x66)][t(0x95)]({'srcPath':t(0x76),'destPath':g+t(0x69),'framework':t(0x8b),'context':i,'config':h,'force':b[t(0x8c)]});const j=b[t(0xa7)]?'/'+b[t(0xa7)]+'/':'/',k=''+f+j+i['fileName']+'/'+i[t(0x97)];let l;if(h['engines']['ssr']===t(0x9a)){const m=this['fsi']['pathFromApp']({'pathParts':['imports',t(0x7b),t(0x71),t(0x73)]});l=this[t(0x66)][t(0x9b)]({'pathParts':[m],'config':h});}else{const n=this[t(0x66)][t(0x77)]({'pathParts':[t(0xa0),'startup',t(0x84),'templates.js']});l=this[t(0x66)][t(0x9b)]({'pathParts':[n],'config':h});}h['engines'][t(0x84)]===t(0x8b)?this['fsi'][t(0x6b)]({'filePath':l,'content':t(0xaa)+i['className']+t(0x8e)+k+'\x27;\x0a'}):this[t(0x66)][t(0x6b)]({'filePath':l,'content':t(0x67)+k+'.'+h[t(0x8d)]['js']+'\x27;\x0a'});});}catch(i){Log[s(0x7c)](i);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a106d,c=a();while(!![]){try{var d=parseInt(f(0x193))/0x1+-parseInt(f(0x196))/0x2+-parseInt(f(0x18f))/0x3+parseInt(f(0x191))/0x4*(parseInt(f(0x18e))/0x5)+parseInt(f(0x198))/0x6+-parseInt(f(0x192))/0x7*(-parseInt(f(0x18b))/0x8)+parseInt(f(0x197))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a106c,0x306ce));function a106d(a,b){var c=a106c();return a106d=function(d,e){d=d-0x18b;var f=c[d];return f;},a106d(a,b);}var a106b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a106d;if(c){var e=c[g(0x18c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a106a=a106b(this,function(){var h=a106d;return a106a['toString']()[h(0x190)](h(0x18d))[h(0x194)]()[h(0x195)](a106a)[h(0x190)]('(((.+)+)+)+$');});a106a();function a106c(){var i=['toString','constructor','726236nrghQm','2979018zRhHSa','40698PsooPC','1206136LMcUVW','apply','(((.+)+)+)+$','155QShPXR','508710qxaiWP','search','2404SvSKzp','7TJsMNG','223855ZxotwM'];a106c=function(){return i;};return a106c();}import'./kit.js';import'./mui/_index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a107h=a107d;function a107c(){const i=['maka\x20g:kit','4913464TVrhrl','370qwotAF','8965368cnWTfo','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','(((.+)+)+)+$','toString','56665nVrDTx','1208QEDqyb','search','66iaclKq','1072580wRrgXb','maka\x20g:k','381IJeGno','kit','3524907XjIsSx','7101558LIBUiW','create','5pZKXhn','maka\x20{generate,\x20g}:{kit}\x20<name>'];a107c=function(){return i;};return a107c();}(function(a,b){const f=a107d,c=a();while(!![]){try{const d=parseInt(f(0x1e7))/0x1*(-parseInt(f(0x1f0))/0x2)+parseInt(f(0x1e9))/0x3+-parseInt(f(0x1ef))/0x4*(-parseInt(f(0x1ec))/0x5)+-parseInt(f(0x1ea))/0x6+parseInt(f(0x1f5))/0x7*(parseInt(f(0x1f6))/0x8)+-parseInt(f(0x1f1))/0x9+-parseInt(f(0x1f9))/0xa*(parseInt(f(0x1f8))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a107c,0xb2afe));const a107b=(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;};}()),a107a=a107b(this,function(){const g=a107d;return a107a[g(0x1f4)]()['search'](g(0x1f3))[g(0x1f4)]()['constructor'](a107a)[g(0x1f7)]('(((.+)+)+)+$');});a107a();import{Generator}from'../../generator.js';function a107d(a,b){const c=a107c();return a107d=function(d,e){d=d-0x1e7;let f=c[d];return f;},a107d(a,b);}const KitGen=Generator[a107h(0x1eb)]({'name':a107h(0x1e8),'aliases':['k'],'usage':a107h(0x1ed),'shortDesc':a107h(0x1f2),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a107h(0x1ee),a107h(0x1fa)]},async function(){});export default KitGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a108d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a108d,c=a();while(!![]){try{var d=parseInt(f(0x11f))/0x1*(parseInt(f(0x11a))/0x2)+-parseInt(f(0x120))/0x3*(parseInt(f(0x11d))/0x4)+parseInt(f(0x11e))/0x5+-parseInt(f(0x124))/0x6*(-parseInt(f(0x129))/0x7)+-parseInt(f(0x11c))/0x8+-parseInt(f(0x128))/0x9*(-parseInt(f(0x11b))/0xa)+-parseInt(f(0x121))/0xb*(parseInt(f(0x123))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a108c,0x55249));function a108c(){var i=['apply','388HzEgNF','281520OJtUhF','1127824ZSysfQ','158228SwMnVN','1418410SnDlmk','2694nybuMg','6NCNeOr','11xNTMxZ','toString','12489564YLQUgu','2792952GsqYjx','constructor','search','(((.+)+)+)+$','108BPSRoS','7UQRFoH'];a108c=function(){return i;};return a108c();}var a108b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a108d;if(c){var e=c[g(0x12a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a108a=a108b(this,function(){var h=a108d;return a108a[h(0x122)]()['search'](h(0x127))['toString']()[h(0x125)](a108a)[h(0x126)](h(0x127));});a108a();function a108d(a,b){var c=a108c();return a108d=function(d,e){d=d-0x11a;var f=c[d];return f;},a108d(a,b);}import'./mui.generator.js';import'./layout.mui.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a109x=a109d;(function(a,b){const u=a109d,c=a();while(!![]){try{const d=-parseInt(u(0xd4))/0x1+parseInt(u(0xd2))/0x2*(parseInt(u(0xe4))/0x3)+parseInt(u(0xc2))/0x4+parseInt(u(0xcf))/0x5*(-parseInt(u(0xb9))/0x6)+-parseInt(u(0xc9))/0x7*(parseInt(u(0xae))/0x8)+-parseInt(u(0xde))/0x9+parseInt(u(0xd1))/0xa*(parseInt(u(0xb6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a109c,0xa83fb));function a109c(){const z=['true','Generate\x20a\x20standard\x20MUI\x20layout','{\x20props.children\x20}','32IXGqfA','constructor','getDirectories','fsi','/imports/ui/','No\x20layouts\x20selected','{this.props.children}','jsx','275zgVKqJ','baseDir','{\x20this.props.children\x20}','2056914KgxuqO','basic-app-bar','pathFromApp','engines','{props.children}','layouts','tsx','error','findAppDirectory','3405520vXricA','ssr','length','-hook\x22>','injectIntoFile','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20layout\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','injectImport','839272Ospdce','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','/imports/startup/lib/templates','create','.js','react','15eDeVMV','layout','958250vBMUSR','26498IPDedR','<div\x20id=\x22','1032550CqnzYF','/imports/startup/client/templates','search','\x20/>\x0a','MATERIAL','imports','replace','injectTemplateModule','apply','-component\x22>','11006334VMpNLQ','template','(((.+)+)+)+$','checkbox','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{layout,\x20l}','options','273aqvePv','getProjectConfig','maka\x20g:k:m:l'];a109c=function(){return z;};return a109c();}const a109b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a109d;if(c){const e=c[v(0xdc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a109a=a109b(this,function(){const w=a109d;return a109a['toString']()['search']('(((.+)+)+)+$')['toString']()[w(0xaf)](a109a)[w(0xd6)](w(0xe0));});a109a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';function a109d(a,b){const c=a109c();return a109d=function(d,e){d=d-0xa9;let f=c[d];return f;},a109d(a,b);}import a109e from'path';import a109f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a109x(0xcc)]({'name':a109x(0xd0),'aliases':['l'],'usage':a109x(0xe2),'shortDesc':a109x(0xac),'validOpts':[a109x(0xbe)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a109x(0xd8)]},'examples':[a109x(0xaa)],'description':a109x(0xc7)},async function(a,b){const y=a109x;try{const c=y(0xba),d=this[y(0xb1)][y(0xa9)](),f=d[y(0xbc)][y(0xc3)]===y(0xab),g=this[y(0xb1)][y(0xc1)](),h=a109e['join'](g,y(0xd9),'ui',y(0xbe)),i=this[y(0xb1)][y(0xb0)](h),j=await Actions[y(0xe3)]({'type':y(0xe1),'name':y(0xbe),'message':y(0xca),'choices':i});if(j[y(0xbe)][y(0xc4)]===0x0){Log[y(0xc0)](y(0xb3));return;}const k=b['baseDir']?y(0xb2)+b[y(0xb7)]:'/imports/ui/hooks',l=this['fsi'][y(0xbb)]({'pathParts':[k,b['dir'],paramCase(c),paramCase(c)]}),m={'name':headerCase(d['appName'])[y(0xda)]('-','\x20')};this[y(0xb1)][y(0xdf)]({'srcPath':'kit/mui/frame/'+c+y(0xcd),'destPath':l+y(0xcd),'framework':y(0xce),'context':m,'config':d,'force':![],'ignore':!![]});const n=''+k+b['dir']+'/'+c+'/'+c;await this[y(0xb1)][y(0xdb)](c,d,n);const {layouts:o}=j;for(const p of o){const q=this[y(0xb1)]['getFiles'](a109e['join'](h,p),{'extensions':[y(0xb5),y(0xbf)]});for(const r of q){const s=a109e['join'](h,p,r);await this[y(0xb1)][y(0xc8)]({'filePath':s,'importName':pascalCase(c),'modulePath':f?y(0xcb):y(0xd5),'isNamedExport':!![]}),await this[y(0xb1)][y(0xc6)]({'filePath':s,'content':'<'+pascalCase(c)+y(0xd7),'begin':[y(0xd3)+p+y(0xdd),'<div\x20id=\x22'+p+y(0xc5)],'end':[y(0xb4),y(0xb8),y(0xbd),y(0xad)]});}}}catch(t){t&&Log['error'](t);}},a109f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a110i=a110d;(function(a,b){const f=a110d,c=a();while(!![]){try{const d=-parseInt(f(
|
|
1
|
+
const a110i=a110d;(function(a,b){const f=a110d,c=a();while(!![]){try{const d=-parseInt(f(0x169))/0x1*(-parseInt(f(0x161))/0x2)+parseInt(f(0x165))/0x3+-parseInt(f(0x15d))/0x4+-parseInt(f(0x15a))/0x5*(-parseInt(f(0x15e))/0x6)+parseInt(f(0x16c))/0x7*(parseInt(f(0x15f))/0x8)+parseInt(f(0x162))/0x9*(-parseInt(f(0x168))/0xa)+-parseInt(f(0x15b))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a110c,0x925c2));const a110b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a110d;if(c){const e=c[g(0x163)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a110a=a110b(this,function(){const h=a110d;return a110a[h(0x159)]()[h(0x166)](h(0x164))[h(0x159)]()[h(0x16a)](a110a)[h(0x166)](h(0x164));});function a110d(a,b){const c=a110c();return a110d=function(d,e){d=d-0x158;let f=c[d];return f;},a110d(a,b);}a110a();import{Generator}from'../../../generator.js';import a110e from'../kit.js';const MuiGen=Generator['create']({'name':a110i(0x160),'aliases':['m'],'usage':a110i(0x167),'noNeedResource':!![],'shortDesc':a110i(0x16b),'validOpts':[''],'isPro':!![],'examples':[a110i(0x15c)]},async function(){const j=a110i;throw j(0x158);},a110e);function a110c(){const k=['maka\x20g:kit:m','3141624avPfRy','3208404CVXKzl','22176hzqBhN','mui','9322UfsPUX','9NZlVwU','apply','(((.+)+)+)+$','2121180hzsmYl','search','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','3257710YiprPo','71mmDhZi','constructor','Material-UI\x20Kit','1421ElxrBN','NIE','toString','5ANzvDs','4672514iXuDQB'];a110c=function(){return k;};return a110c();}export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a111r=a111d;(function(a,b){const o=a111d,c=a();while(!![]){try{const d=-parseInt(o(
|
|
1
|
+
const a111r=a111d;(function(a,b){const o=a111d,c=a();while(!![]){try{const d=-parseInt(o(0x163))/0x1+parseInt(o(0x144))/0x2*(parseInt(o(0x173))/0x3)+parseInt(o(0x149))/0x4+-parseInt(o(0x160))/0x5*(-parseInt(o(0x150))/0x6)+-parseInt(o(0x14f))/0x7+-parseInt(o(0x16f))/0x8*(parseInt(o(0x17a))/0x9)+parseInt(o(0x155))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a111c,0x9d4d5));const a111b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a111d;if(c){const e=c[p(0x16d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a111a=a111b(this,function(){const q=a111d;return a111a[q(0x143)]()[q(0x16b)](q(0x146))[q(0x143)]()['constructor'](a111a)['search']('(((.+)+)+)+$');});a111a();import a111e from'path';function a111d(a,b){const c=a111c();return a111d=function(d,e){d=d-0x13c;let f=c[d];return f;},a111d(a,b);}function a111c(){const u=['template','injectAtBeginningOfFile','rewriteDestinationPathForEngine','ramda','warn','Scaffolding\x20for\x20a\x20React\x20Layout.','imports','toString','181530tAnRgB','injectAtEndOfFile','(((.+)+)+)+$','.js','css','3202788wBHdcU','\x27;\x0a','split','startup','checkNpmPackage','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','2977079EguXNu','21522izkLoC','ssr','string','client','withHook','5825090BHFkso','withTranslations','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','pathFromProject','engines','installNpmPackage','pathFromApp','getProjectConfig','export\x20\x27','dir','features','325vESdXR','.css','relative','617333WeSIjs','hook/hook.js','react','true','component/component.js','import\x20\x27./','assign','fsi','search','maka\x20g:l\x20web/safari','apply','/imports/ui/layouts','1056ireyem','\x20}\x20from\x20\x27','test','resourceName','18SfLjNQ','fileName','.app-tests.js','setTemplate','includes','withHooks','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','32319bcmGZu','layout','maka\x20g:layout\x20mobile/iPhone8'];a111c=function(){return u;};return a111c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator['create']({'name':a111r(0x17b),'aliases':aliases,'usage':a111r(0x14e),'shortDesc':a111r(0x141),'validOpts':[],'examples':[a111r(0x17c),a111r(0x16c)]},function(a,b){const s=a111r,c=s(0x16e),d=this[s(0x16a)]['findAppDirectory'](),e=this['fsi'][s(0x15b)]({'pathParts':[c,b['dir'],paramCase(b[s(0x172)]),paramCase(b[s(0x172)])]}),f=this['fsi'][s(0x15c)]();this['fsi']['withValue'](f,()=>{const t=s;typeof f[t(0x13c)]['test']===t(0x152)&&(f[t(0x13c)][t(0x171)]=f[t(0x13c)][t(0x171)]===t(0x166)?!![]:![],this[t(0x16a)][t(0x176)](t(0x171),f[t(0x13c)][t(0x171)]));typeof f[t(0x13c)][t(0x148)]===t(0x152)&&(f[t(0x13c)][t(0x148)]=f[t(0x13c)][t(0x148)]===t(0x166)?!![]:![],this['fsi'][t(0x176)](t(0x148),f[t(0x13c)][t(0x148)]));typeof f[t(0x13c)]['js']===t(0x152)&&(f[t(0x13c)]['js']=f['template']['js']===t(0x166)?!![]:![],this[t(0x16a)][t(0x176)]('js',f[t(0x13c)]['js']));!f[t(0x15f)]&&(f[t(0x15f)]={});const g=b['_']?b['_'][0x0][t(0x14b)](':')[0x1]:![],h=b['_']&&aliases[t(0x177)](g);h&&!this[t(0x14d)](t(0x13f))&&(Log[t(0x140)](t(0x157)),this[t(0x16a)][t(0x15a)]('ramda',{'cwd':d}));if(h&&!this[t(0x14d)](t(0x165))){Log['warn'](t(0x179));return;}const i={'name':pascalCase(b[t(0x172)]),'myPath':a111e[t(0x162)](this[t(0x16a)][t(0x158)]({}),e),'cssCaseName':paramCase(b[t(0x172)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[t(0x172)]),'fileName':paramCase(b[t(0x172)]),'graphql':f[t(0x159)]['graphql'],'features':f['features'],'client':f['engines'][t(0x153)],'api':f[t(0x159)]['api'],'ssr':f[t(0x159)][t(0x151)],'test':f['engines'][t(0x171)],'theme':f[t(0x159)]['theme'],'isComponent':![],'isLayout':!![],'withTranslations':f[t(0x15f)][t(0x156)]};f[t(0x15f)]?.[t(0x178)]||b[t(0x154)]?this[t(0x16a)]['template']({'srcPath':t(0x164),'destPath':e+t(0x147),'framework':t(0x165),'context':i,'config':f}):this[t(0x16a)]['template']({'srcPath':t(0x167),'destPath':e+t(0x147),'framework':t(0x165),'context':i,'config':f});f[t(0x159)][t(0x171)]!=='none'&&this[t(0x16a)][t(0x13c)]({'srcPath':'test/test.js','destPath':e+t(0x175),'framework':t(0x165),'context':i,'config':f});f[t(0x13c)]['css']&&(this[t(0x16a)][t(0x13c)]({'srcPath':'template/template.css','destPath':e+t(0x161),'context':Object[t(0x169)]({},i,{'className':paramCase(b['resourceName'])}),'config':f}),this[t(0x16a)][t(0x13d)]({'filePath':e+'.'+f[t(0x159)]['js'],'content':t(0x168)+i[t(0x174)]+'.'+f[t(0x159)][t(0x148)]+'\x27;'}));const j=b[t(0x15e)]?'/'+b['dir']+'/':'/',k=''+c+j+i['fileName']+'/'+i[t(0x174)];let l;if(f['engines'][t(0x151)]===t(0x166)){const m=this[t(0x16a)]['pathFromApp']({'pathParts':[t(0x142),'startup','lib','templates.js']});l=this[t(0x16a)][t(0x13e)]({'pathParts':[m],'config':f});}else{const n=this[t(0x16a)]['pathFromApp']({'pathParts':[t(0x142),t(0x14c),'client','templates.js']});l=this[t(0x16a)][t(0x13e)]({'pathParts':[n],'config':f});}f['engines'][t(0x153)]===t(0x165)?this['fsi']['injectAtEndOfFile']({'filePath':l,'content':'export\x20{\x20'+i['className']+t(0x170)+k+t(0x14a)}):this['fsi'][t(0x145)]({'filePath':l,'content':t(0x15d)+k+'.'+f[t(0x159)]['js']+'\x27;\x0a'});});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a112i=a112d;(function(a,b){const f=a112d,c=a();while(!![]){try{const d
|
|
1
|
+
function a112c(){const j=['221043uLIdgS','maka\x20g:api\x20trucks','maka\x20{generate,\x20g}:<generator>\x20<name>','search','6RnePih','maka\x20g:package\x20package:name','toString','470qUFxVs','maka\x20generate:scaffold\x20todos','121682gQGMZY','(((.+)+)+)+$','189VDMtvc','199361glfeMw','8637066qAEjlV','2226832etwMpw','maka\x20g:dbc\x20geoserver\x20--type=pgsql','1268900BQlNzc','52KrHzGs','apply','Scaffold\x20various\x20parts\x20of\x20your\x20application','maka\x20g:route\x20todos/edit','maka\x20g:template\x20todos/todo_item','maka\x20g:scaffold\x20todos','124856icbNOn'];a112c=function(){return j;};return a112c();}const a112i=a112d;(function(a,b){const f=a112d,c=a();while(!![]){try{const d=parseInt(f(0x1cb))/0x1+parseInt(f(0x1cd))/0x2+parseInt(f(0x1d7))/0x3*(-parseInt(f(0x1d0))/0x4)+-parseInt(f(0x1cf))/0x5*(-parseInt(f(0x1db))/0x6)+-parseInt(f(0x1ca))/0x7*(-parseInt(f(0x1d6))/0x8)+-parseInt(f(0x1cc))/0x9+parseInt(f(0x1de))/0xa*(parseInt(f(0x1c8))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a112c,0x901fd));const a112b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a112d;if(c){const e=c[g(0x1d1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a112a=a112b(this,function(){const h=a112d;return a112a[h(0x1dd)]()[h(0x1da)](h(0x1c9))[h(0x1dd)]()['constructor'](a112a)[h(0x1da)](h(0x1c9));});a112a();import{Generator}from'../generator.js';function a112d(a,b){const c=a112c();return a112d=function(d,e){d=d-0x1c8;let f=c[d];return f;},a112d(a,b);}const MakaGen=new Generator({'name':'generate','aliases':['g'],'usage':a112i(0x1d9),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a112i(0x1d2),'examples':[a112i(0x1df),a112i(0x1d5),a112i(0x1d4),a112i(0x1dc),a112i(0x1d3),a112i(0x1d8),a112i(0x1ce)]},function(){});export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a113n=a113d;(function(a,b){const k=a113d,c=a();while(!![]){try{const d=parseInt(k(0x12e))/0x1+parseInt(k(0x127))/0x2*(parseInt(k(0x136))/0x3)+parseInt(k(0x13a))/0x4+-parseInt(k(0x128))/0x5*(-parseInt(k(0x12a))/0x6)+parseInt(k(0x149))/0x7+-parseInt(k(0x137))/0x8+-parseInt(k(0x133))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a113c,0x48077));const a113b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a113d;if(c){const e=c[l(0x12b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a113a=a113b(this,function(){const m=a113d;return a113a[m(0x129)]()['search'](m(0x139))[m(0x129)]()['constructor'](a113a)[m(0x134)]('(((.+)+)+)+$');});a113a();import{Generator}from'../generator.js';function a113c(){const q=['withValue','checkMeteorPackage','injectAtEndOfFile','create','engines','resourceName','methods','fsi','method','3129560YOJtjp','appPathPrefix','startup','template','import\x20\x27./methods','454802dJnDSP','28415gGWCNf','toString','294mokOoT','apply','getProjectConfig','mdg:validated-method','170359kfykwd','method/method.js','-rpc-method\x27;','-rpc-method.','installMeteorPackage','4651686XpicOY','search','dir','3SQtdbA','4005648WzpUDB','pathFromApp','(((.+)+)+)+$','757136IrPcgJ','error','ddp-rate-limiter','warn','imports','maka\x20g:method\x20todos'];a113c=function(){return q;};return a113c();}function a113d(a,b){const c=a113c();return a113d=function(d,e){d=d-0x127;let f=c[d];return f;},a113d(a,b);}import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a113n(0x143)]({'name':a113n(0x148),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{method,\x20m}\x20name','checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','validOpts':[a113n(0x135)],'examples':[a113n(0x13f)]},function(a,b){const o=a113n;try{const c=this[o(0x147)][o(0x12c)]();this[o(0x147)][o(0x140)](c,async()=>{const p=o,d=paramCase(b[p(0x145)]),f={'name':b[p(0x145)],'fileName':d,'className':pascalCase(b['resourceName']),'camelCase':camelCase(b['resourceName']),'noRename':!![]};let g='js';c[p(0x144)]['js']==='tsx'&&(g='ts');const h=this[p(0x147)][p(0x138)]({});(!this[p(0x147)][p(0x141)]('check')||!this[p(0x147)][p(0x141)](p(0x13c))||!this[p(0x147)][p(0x141)](p(0x12d)))&&(Log[p(0x13d)]('Meteor\x20package\x20\x22check\x22\x20or\x20\x22ddp-rate-limiter\x22\x20or\x20\x22mdg:validated-method\x22\x20is\x20not\x20installed,\x20installing...'),this['fsi'][p(0x132)]('check\x20ddp-rate-limiter\x20mdg:validated-method',{'cwd':h}));this[p(0x147)][p(0x14c)]({'srcPath':p(0x12f),'destPath':this[p(0x147)][p(0x138)]({'pathParts':[p(0x13e),p(0x14b),b[p(0x14a)],p(0x146),b[p(0x135)],d+p(0x131)+g]}),'context':f,'config':c});const i=b['dir']?'/'+b[p(0x135)]+'/':'/',j=this['fsi']['pathFromApp']({'pathParts':[p(0x13e),'startup',b[p(0x14a)],'index.'+c[p(0x144)]['js']]});this[p(0x147)][p(0x142)]({'filePath':j,'content':p(0x14d)+i+d+p(0x130)});});}catch(d){Log[o(0x13b)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a114o=a114d;(function(a,b){const l=a114d,c=a();while(!![]){try{const d
|
|
1
|
+
const a114o=a114d;(function(a,b){const l=a114d,c=a();while(!![]){try{const d=-parseInt(l(0x1f1))/0x1+-parseInt(l(0x1ed))/0x2*(-parseInt(l(0x1d9))/0x3)+parseInt(l(0x1e8))/0x4+-parseInt(l(0x1e7))/0x5+-parseInt(l(0x1e9))/0x6*(parseInt(l(0x1d8))/0x7)+parseInt(l(0x1e1))/0x8+-parseInt(l(0x1ea))/0x9*(parseInt(l(0x1e5))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a114c,0xac42c));const a114b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a114d;if(c){const e=c[m(0x1d6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a114a=a114b(this,function(){const n=a114d;return a114a['toString']()[n(0x1e3)](n(0x1e6))[n(0x1ec)]()['constructor'](a114a)[n(0x1e3)](n(0x1e6));});a114a();import a114e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a114o(0x1dc)]({'name':'package','aliases':['p'],'usage':'maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','validOpts':[a114o(0x1f8)],'examples':['maka\x20g:package\x20todos:package']},async function(a,b){const p=a114o,c=paramCase(b['resourceName']),d=this[p(0x1eb)][p(0x1db)]({'pathParts':[p(0x1e4),b['dir'],c]}),e=this[p(0x1eb)]['pathFromAppWithNoReWrite']({'pathParts':[p(0x1e4),b['dir'],c,p(0x1d3)]}),f=this[p(0x1eb)]['getProjectConfig']();this[p(0x1eb)][p(0x1ef)](f,async()=>{const q=p,g={'name':paramCase(b[q(0x1f5)]),'myPath':a114e[q(0x1f6)](this[q(0x1eb)][q(0x1f0)]({}),d),'cssCaseName':paramCase(b[q(0x1f5)]),'className':pascalCase(b[q(0x1f5)]),'camelCaseName':camelCase(b[q(0x1f5)]),'fileName':c,'client':f[q(0x1fe)][q(0x1fc)],'graphql':f[q(0x1fe)][q(0x1f3)],'ssr':f['engines'][q(0x1de)],'isComponent':b[q(0x1fb)](q(0x1e2)),'isLayout':b['hasOwnProperty']('layout'),'isStore':b['hasOwnProperty'](q(0x1f2)),'features':f[q(0x1fa)],'noRename':!![],'theme':f[q(0x1fe)][q(0x1df)]};this[q(0x1eb)]['template']({'srcPath':q(0x1d7),'destPath':e,'context':g,'config':f}),g[q(0x1f7)]=![];const h=d+q(0x1d5)+c+'.js';this[q(0x1eb)][q(0x1fd)]({'srcPath':q(0x1e0),'destPath':h,'context':g,'config':f});const i=['lib',q(0x1f4),q(0x1f9),q(0x1da)];i[q(0x1dd)](j=>{const r=q,k=d+'/'+j+'/'+c+'.js';this['fsi']['template']({'srcPath':r(0x1d4)+j+r(0x1ee),'destPath':k,'context':g,'config':f});});});});function a114d(a,b){const c=a114c();return a114d=function(d,e){d=d-0x1d3;let f=c[d];return f;},a114d(a,b);}function a114c(){const s=['template/template.js','10342400OQOVuR','component','search','packages','1625630nRmMpT','(((.+)+)+)+$','2437845lWQUVV','3619072lCHpen','6CZklJd','63ikGpUQ','fsi','toString','51734sVNzxu','/package.js','withValue','pathFromProject','378506PFgCRg','store','graphql','server','resourceName','relative','noRename','dir','tests/client','features','hasOwnProperty','client','template','engines','package.js','package/','/client/','apply','package/package.js','2391081WZlDQr','99xxeZaH','tests/server','pathFromApp','create','forEach','ssr','theme'];a114c=function(){return s;};return a114c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-
|
|
1
|
+
function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-0x119;let f=c[d];return f;},a115d(a,b);}const a115o=a115d;(function(a,b){const m=a115d,c=a();while(!![]){try{const d=-parseInt(m(0x131))/0x1+parseInt(m(0x14f))/0x2+-parseInt(m(0x15a))/0x3*(parseInt(m(0x11c))/0x4)+parseInt(m(0x126))/0x5*(-parseInt(m(0x157))/0x6)+-parseInt(m(0x123))/0x7+-parseInt(m(0x136))/0x8*(parseInt(m(0x13d))/0x9)+parseInt(m(0x14a))/0xa*(parseInt(m(0x11e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0xbf2a4));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 n=a115d;return a115a[n(0x159)]()['search'](n(0x161))[n(0x159)]()[n(0x151)](a115a)['search'](n(0x161));});a115a();import a115e from'path';import{Generator}from'../generator.js';function a115c(){const r=['804292MVyNkq','ssr','layout','warn','ramda','226592XeGIzh','.js','startup','\x27;\x0a','hasOwnProperty','withHook','none','423ENknZI','rewriteDestinationPathForEngine','template/template.html','/imports/ui/','installNpmPackage','engines','hook/hook.js','true','test','template/template.css','store','template','.app-tests.js','230iLMDpt','resourceName','graphql','page','className','261180IOsOZi','export\x20\x27','constructor','root','pathFromApp','component/component.js','injectAtEndOfFile','fileName','8659866fXskIM','css','toString','15rlPrGM','test/test.js','pages','setTemplate','getProjectConfig','imports','theme','(((.+)+)+)+$','maka\x20g:page\x20todos/todos-item','\x20}\x20from\x20\x27','lib','export\x20{\x20','baseDir','client','relative','1138856YiGFih','component','2960705CowdSf','features','string','hooks','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','3750194kYdrcL','/imports/ui/pages','html','5DGveQi','templates.js','withValue','Generate\x20a\x20page.','api','injectAtBeginningOfFile','fsi','dir','withHooks','import\x20\x27./','react'];a115c=function(){return r;};return a115c();}import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator['create']({'name':a115o(0x14d),'aliases':aliases,'usage':a115o(0x122),'shortDesc':a115o(0x129),'validOpts':[{'name':'baseDir','values':[a115o(0x121),'components',a115o(0x15c),'layouts']},{'name':a115o(0x13b),'boolFlag':!![]}],'examples':[a115o(0x162)]},function(a,b){const p=a115o,c=b[p(0x119)]?p(0x140)+b['baseDir']:p(0x124),d=this['fsi'][p(0x153)](b),e=this['fsi'][p(0x153)]({'pathParts':[c,b['dir'],paramCase(b[p(0x14b)]),paramCase(b[p(0x14b)])]}),f=this[p(0x12c)][p(0x15e)]();this['fsi'][p(0x128)](f,()=>{const q=p;typeof f[q(0x148)]['html']===q(0x120)&&(f[q(0x148)][q(0x125)]=f[q(0x148)][q(0x125)]===q(0x144)?!![]:![],this[q(0x12c)]['setTemplate']('html',f['template'][q(0x125)]));typeof f['template'][q(0x145)]===q(0x120)&&(f['template'][q(0x145)]=f['template'][q(0x145)]==='true'?!![]:![],this[q(0x12c)][q(0x15d)](q(0x145),f[q(0x148)]['test']));typeof f[q(0x148)][q(0x158)]===q(0x120)&&(f[q(0x148)][q(0x158)]=f[q(0x148)][q(0x158)]===q(0x144)?!![]:![],this[q(0x12c)][q(0x15d)]('css',f[q(0x148)][q(0x158)]));typeof f[q(0x148)]['js']===q(0x120)&&(f[q(0x148)]['js']=f[q(0x148)]['js']===q(0x144)?!![]:![],this[q(0x12c)][q(0x15d)]('js',f[q(0x148)]['js']));!f[q(0x11f)]&&(f[q(0x11f)]={});!b[q(0x152)]&&!this['fsi']['checkNpmPackage'](q(0x135))&&(Log[q(0x134)]('Updating\x20npm\x20packages\x20...'),this['fsi'][q(0x141)](q(0x135),{'cwd':d}));const g={'name':pascalCase(b['resourceName']),'myPath':a115e[q(0x11b)](this[q(0x12c)]['pathFromProject']({}),e),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[q(0x14b)]),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b['resourceName']),'graphql':f[q(0x142)][q(0x14c)],'features':f['features'],'client':f['engines']['client'],'api':f[q(0x142)][q(0x12a)],'ssr':f[q(0x142)][q(0x132)],'isStore':b[q(0x13a)](q(0x147)),'isComponent':b[q(0x13a)](q(0x11d)),'isLayout':b[q(0x13a)](q(0x133)),'withTranslations':f[q(0x11f)]['withTranslations'],'test':f[q(0x142)]['test'],'theme':f['engines'][q(0x160)]};f[q(0x148)][q(0x125)]&&this[q(0x12c)]['template']({'srcPath':q(0x13f),'destPath':e+'.html','context':g,'config':f});f[q(0x11f)]?.[q(0x12e)]||b['withHook']?this[q(0x12c)][q(0x148)]({'srcPath':q(0x143),'destPath':e+q(0x137),'framework':'react','context':g,'config':f}):this[q(0x12c)][q(0x148)]({'srcPath':q(0x154),'destPath':e+q(0x137),'framework':q(0x130),'context':g,'config':f});f[q(0x142)][q(0x145)]!==q(0x13c)&&this[q(0x12c)]['template']({'srcPath':q(0x15b),'destPath':e+q(0x149),'framework':q(0x130),'context':g,'config':f});f[q(0x148)][q(0x158)]&&this['fsi'][q(0x148)]({'srcPath':q(0x146),'destPath':e+'.css','context':Object['assign']({},g,{'className':paramCase(b['resourceName'])}),'config':f});f['engines'][q(0x11a)]!==q(0x130)&&f['engines']['client']!=='vanilla'?(f['template'][q(0x158)]&&this[q(0x12c)][q(0x12b)]({'filePath':e+'.'+f[q(0x142)]['js'],'content':q(0x12f)+g[q(0x156)]+'.'+f[q(0x142)][q(0x125)]+q(0x139)+q(0x12f)+g[q(0x156)]+'.'+f[q(0x142)]['css']+'\x27;'}),!f['template']['css']&&this[q(0x12c)][q(0x12b)]({'filePath':e+'.'+f[q(0x142)]['js'],'content':q(0x12f)+g['fileName']+'.'+f['engines']['html']+'\x27;'})):f[q(0x148)][q(0x158)]&&this[q(0x12c)][q(0x12b)]({'filePath':e+'.'+f[q(0x142)]['js'],'content':'import\x20\x27./'+g['fileName']+'.'+f[q(0x142)][q(0x158)]+'\x27;'});const h=b['dir']?'/'+b[q(0x12d)]+'/':'/',i=''+c+h+g['fileName']+'/'+g[q(0x156)];let j;if(f['engines'][q(0x132)]===q(0x144)){const k=this[q(0x12c)][q(0x153)]({'pathParts':[q(0x15f),q(0x138),q(0x164),q(0x127)]});j=this[q(0x12c)][q(0x13e)]({'pathParts':[k],'config':f});}else{const l=this['fsi'][q(0x153)]({'pathParts':[q(0x15f),q(0x138),q(0x11a),q(0x127)]});j=this[q(0x12c)]['rewriteDestinationPathForEngine']({'pathParts':[l],'config':f});}f['engines'][q(0x11a)]===q(0x130)?this[q(0x12c)][q(0x155)]({'filePath':j,'content':q(0x165)+g[q(0x14e)]+q(0x163)+i+q(0x139)}):this[q(0x12c)]['injectAtEndOfFile']({'filePath':j,'content':q(0x150)+i+'.'+f['engines']['js']+q(0x139)});});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a116k=a116d;(function(a,b){const h=a116d,c=a();while(!![]){try{const d=parseInt(h(0x103))/0x1+parseInt(h(0x104))/0x2+parseInt(h(0x10b))/0x3*(parseInt(h(0x10c))/0x4)+-parseInt(h(0xff))/0x5*(-parseInt(h(0x107))/0x6)+parseInt(h(0x10e))/0x7+-parseInt(h(0x116))/0x8*(parseInt(h(0x105))/0x9)+-parseInt(h(0xfd))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x5449f));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a116d;if(c){const e=c[i(0x102)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const j=a116d;return a116a[j(0x115)]()['search']('(((.+)+)+)+$')[j(0x115)]()[j(0x10f)](a116a)[j(0x112)](j(0x108));});a116a();import{paramCase}from'change-case';function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0xfa;let f=c[d];return f;},a116d(a,b);}import{Generator}from'../generator.js';Generator[a116k(0xfc)]({'name':a116k(0x10d),'aliases':['p'],'usage':a116k(0x109),'shortDesc':a116k(0x101),'validOpts':[],'examples':[a116k(0x110)]},async function(a,b){const l=a116k,c=this['fsi'][l(0xfa)]();this[l(0x114)][l(0xfe)](c,async()=>{const m=l,d={'name':b['resourceName'],'collection':paramCase(b[m(0x100)]),'noRename':!![]};let e='js';c['engines']['js']==='tsx'&&(e='ts');const f=this['fsi'][m(0x113)]({'pathParts':['server/publish.'+c[m(0xfb)]['js']]}),g=this[m(0x114)][m(0x10a)]({'srcPath':m(0x111)+e,'context':d,'config':c});this[m(0x114)][m(0x106)]({'filePath':f,'content':'\x0a'+g});});});function a116c(){const n=['maka\x20g:publish\x20todos','publish/publish.','search','rewriteDestinationPathForEngine','fsi','toString','1858936pnPirW','getProjectConfig','engines','create','11739950KAxNfW','withValue','1099655SrLxlt','resourceName','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','apply','650848mAhfUE','660826xsMoxy','9OCsxfC','injectAtEndOfFile','6nxKACv','(((.+)+)+)+$','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','templateContent','886953GpNjAc','4CEIfAj','publish','1783362YlTUfY','constructor'];a116c=function(){return n;};return a116c();}
|