@maka/maka-cli 4.7.23 → 4.7.25
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/esri/_index.js +1 -1
- package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
- package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
- package/bundle/obf/src/generators/kits/kit.js +1 -1
- package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
- package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
- package/bundle/obf/src/generators/layout.js +1 -1
- package/bundle/obf/src/generators/maka.gen.js +1 -1
- package/bundle/obf/src/generators/methods.js +1 -1
- package/bundle/obf/src/generators/package.js +1 -1
- package/bundle/obf/src/generators/page.js +1 -1
- package/bundle/obf/src/generators/publish.js +1 -1
- package/bundle/obf/src/generators/route.js +1 -1
- package/bundle/obf/src/generators/service.js +1 -1
- package/bundle/obf/src/generators/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/translation.js +1 -1
- package/bundle/obf/src/maka.js +1 -1
- package/bundle/obf/src/templates/meteor/project/.maka/history.json +1 -0
- package/bundle/obf/src/templates/meteor/project/package.json +1 -1
- package/bundle/obf/src/tool.js +1 -1
- package/bundle/obf/src/tools/actions/actions.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
- package/bundle/obf/src/tools/docker/docker.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
- package/bundle/obf/src/tools/https/https.class.js +1 -1
- package/bundle/obf/src/tools/https/https.interface.js +1 -1
- package/bundle/obf/src/tools/log/log.class.js +1 -1
- package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
- package/bundle/obf/src/tools/options/options.class.js +1 -1
- package/bundle/obf/src/tools/progress/progress.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a99x=a99d;(function(a,b){const u=a99d,c=a();while(!![]){try{const d=parseInt(u(0x238))/0x1+parseInt(u(0x224))/0x2+parseInt(u(0x1eb))/0x3*(-parseInt(u(0x219))/0x4)+parseInt(u(0x235))/0x5+-parseInt(u(0x236))/0x6+parseInt(u(0x21a))/0x7*(parseInt(u(0x1ed))/0x8)+-parseInt(u(0x1f6))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a99c,0x32d5b));const a99b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a99d;if(c){const e=c[v(0x23a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a99a=a99b(this,function(){const w=a99d;return a99a[w(0x231)]()[w(0x211)](w(0x234))['toString']()[w(0x1f8)](a99a)[w(0x211)]('(((.+)+)+)+$');});a99a();import{Generator}from'../generator.js';function a99d(a,b){const c=a99c();return a99d=function(d,e){d=d-0x1ea;let f=c[d];return f;},a99d(a,b);}import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';function a99c(){const A=['642536bCAXLz','template','rest','api/register-api.js','typeDefs.','error','.app-tests.','engines','test','/imports/api','dir','resolvers.','maka\x20g:api\x20Todos','toString','rest-api.','publications.','(((.+)+)+)+$','1101635WhGder','1004358hBcffG','api/tests.js','271830BXtTxq','Scaffolding\x20for\x20an\x20api\x20concept\x20(i.e.\x20Todos).','apply','api/fixtures.js','graphql','includes','136593uKuWqK','create','1256etrThp','import\x20\x27./register-','checkMeteorPackage','withFixtures','fixtures.','fsi','if\x20\x5c(typeList','injectIntoFile','ddp-rate-limiter','5854923HTcrpY','-api.','constructor','withMethods','push','withGql','Fixtures','No\x20API\x20boundaries\x20selected','server','\x0aimport\x20{\x20resolvers\x20as\x20','resolverList.push(','typeList.push(','imports','mdg:validated-method','Publications','api/methods.js','withRest','api','RPC\x20(Methods)','maka:check','none','index.','resourceName','rpc-methods.','register-','maka:rest','-api\x27;','search','collection','maka\x20{generate,\x20g}:{api}\x20<resource-name>','pathFromApp','checkbox','TypeDefs\x20}\x20from\x20\x27','GraphQL','injectAtEndOfFile','4AcaizS','11515QnVMtG','\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','injectAtBeginningOfFile','api/publications.js','exit','startup','REST\x20API','api/typeDefs.js','const','withPubs'];a99c=function(){return A;};return a99c();}import a99e from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a99x(0x1ec)]({'name':a99x(0x207),'aliases':['a'],'usage':a99x(0x213),'shortDesc':a99x(0x239),'validOpts':[a99x(0x22e)],'examples':[a99x(0x230)],'description':a99x(0x21b)},async function(a,b){const y=a99x;try{const c=this[y(0x1f2)]['getMakaProjectConfig'](),d=[{'name':y(0x208),'value':y(0x1f9)},{'name':y(0x1fc),'value':y(0x1f0)},{'name':y(0x204),'value':y(0x223)}];c[y(0x22b)][y(0x207)]===y(0x226)&&d[y(0x1fa)]({'name':y(0x220),'value':y(0x206)});c[y(0x22b)]['graphql']==='apollo'&&d[y(0x1fa)]({'name':y(0x217),'value':y(0x1fb)});const f={'type':y(0x215),'name':'apiAnswers','message':'API\x20boundaries\x20to\x20create','pageSize':0x64,'choices':d},{apiAnswers:g}=await Actions['options'](f);g['length']===0x0&&(Log[y(0x229)](y(0x1fd)),process[y(0x21e)](0x1)),await this['fsi']['withValue'](c,async()=>{const z=y,h=b[z(0x20c)],i=paramCase(h),j=camelCase(h),k=b[z(0x22e)]?'/'+b[z(0x22e)]+'/':'/',l={'name':pascalCase(h),'fileName':i,'camelCase':pascalCase(h),'optsDir':k,'api':c[z(0x22b)][z(0x207)],'graphql':c[z(0x22b)][z(0x23c)],'test':c[z(0x22b)]['test'],'noRename':!![],'withPubs':g[z(0x1ea)](z(0x223)),'withFixtures':g[z(0x1ea)]('withFixtures'),'withMethods':g[z(0x1ea)](z(0x1f9)),'withRest':g[z(0x1ea)]('withRest')};let m='js';c[z(0x22b)]['js']==='tsx'&&(m='ts');await this['fsi'][z(0x1ef)]([z(0x20f),z(0x209),z(0x1f5),z(0x203),'mongo'],{'shouldInstall':!![]}),await a99e['processAndRunGenerator'](z(0x212),[i],{'config':c,'where':z(0x1fe)});c['engines']['api']===z(0x226)&&(l[z(0x206)]&&await this[z(0x1f2)]['template']({'srcPath':'api/api.js','destPath':this['fsi'][z(0x214)]({'pathParts':[z(0x202),z(0x207),b['dir'],i,z(0x232)+m]}),'context':l,'config':c}));l[z(0x1f9)]&&await this['fsi'][z(0x225)]({'srcPath':z(0x205),'destPath':this[z(0x1f2)][z(0x214)]({'pathParts':[z(0x202),'api',b[z(0x22e)],i,z(0x20d)+m]}),'context':l,'config':c});l[z(0x1f0)]&&await this[z(0x1f2)]['template']({'srcPath':z(0x23b),'destPath':this[z(0x1f2)][z(0x214)]({'pathParts':[z(0x202),z(0x207),b[z(0x22e)],i,z(0x1f1)+m]}),'context':l,'config':c});c[z(0x22b)][z(0x22c)]!==z(0x20a)&&this[z(0x1f2)]['template']({'srcPath':z(0x237),'destPath':this[z(0x1f2)]['pathFromApp']({'pathParts':[z(0x202),'api',b['dir'],i,i+z(0x22a)+m]}),'context':l,'config':c});l['withPubs']&&await this[z(0x1f2)][z(0x225)]({'srcPath':z(0x21d),'destPath':this[z(0x1f2)][z(0x214)]({'pathParts':[z(0x202),z(0x207),b[z(0x22e)],i,z(0x233)+m]}),'context':l,'config':c});if(c[z(0x22b)][z(0x23c)]==='apollo'){if(g['includes'](z(0x1fb))){const o=this[z(0x1f2)][z(0x214)]({'pathParts':[z(0x202),z(0x21f),z(0x1fe),'index.'+c[z(0x22b)]['js']]}),p=this[z(0x1f2)]['rewriteDestinationPathForEngine']({'pathParts':[o],'config':c}),q=this['fsi']['pathFromApp']({'pathParts':[z(0x202),z(0x207),b[z(0x22e)],i,z(0x23c),z(0x228)+m]}),r=z(0x22d)+k+i+'/graphql/typeDefs';this['fsi'][z(0x225)]({'srcPath':z(0x221),'destPath':q,'context':l,'config':c}),await this[z(0x1f2)][z(0x21c)]({'filePath':p,'content':'import\x20{\x20typeDefs\x20as\x20'+j+z(0x216)+r+'\x27;\x0a'}),await this[z(0x1f2)][z(0x1f4)]({'filePath':p,'content':z(0x201)+j+'TypeDefs);\x0a','begin':z(0x222),'end':z(0x1f3)});const s=this['fsi'][z(0x214)]({'pathParts':[z(0x202),z(0x207),b[z(0x22e)],i,z(0x23c),z(0x22f)+m]}),t=z(0x22d)+k+i+'/graphql/resolvers';await this[z(0x1f2)][z(0x225)]({'srcPath':'api/resolvers.js','destPath':s,'context':l,'config':c}),await this[z(0x1f2)][z(0x21c)]({'filePath':p,'content':z(0x1ff)+j+'Resolvers\x20}\x20from\x20\x27'+t+'\x27;'}),await this[z(0x1f2)][z(0x1f4)]({'filePath':p,'content':z(0x200)+j+'Resolvers);\x0a\x0a','begin':z(0x222),'end':'if\x20\x5c(typeList'});}}await this[z(0x1f2)]['template']({'srcPath':z(0x227),'destPath':this[z(0x1f2)][z(0x214)]({'pathParts':[z(0x202),z(0x21f),z(0x1fe),z(0x20e)+i+z(0x1f7)+m]}),'context':l,'config':c,'force':!![]});const n=this[z(0x1f2)]['pathFromApp']({'pathParts':['imports',z(0x21f),z(0x1fe),z(0x20b)+c[z(0x22b)]['js']]});await this[z(0x1f2)][z(0x218)]({'filePath':n,'content':z(0x1ee)+i+z(0x210)});});}catch(h){console[y(0x229)](h),process[y(0x21e)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a100m=a100d;(function(a,b){const j=a100d,c=a();while(!![]){try{const d
|
|
1
|
+
const a100m=a100d;function a100d(a,b){const c=a100c();return a100d=function(d,e){d=d-0x8c;let f=c[d];return f;},a100d(a,b);}(function(a,b){const j=a100d,c=a();while(!![]){try{const d=parseInt(j(0x9b))/0x1+-parseInt(j(0xab))/0x2*(parseInt(j(0x8f))/0x3)+parseInt(j(0xa6))/0x4+-parseInt(j(0xaf))/0x5+-parseInt(j(0x9a))/0x6+-parseInt(j(0xb1))/0x7+parseInt(j(0xad))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a100c,0x78c9b));function a100c(){const p=['search','2896638MwmSZU','944004knjpmj','collections','toString','maka:check','tsx','(((.+)+)+)+$','maka\x20{generate,\x20g}:{collection,\x20col}\x20<name>','checkMeteorPackage','error','imports','dir','3290364VbQFTP','appPathPrefix','template','test','collection','197246OOeUXL','where','7733344tKCjHH','resourceName','3676040rjGdWr','pathFromApp','2311218XWuUOr','withValue','apply','engines','.app-tests.','startup','21clpYub','injectAtEndOfFile','\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','collection/tests.js','getMakaProjectConfig','col','fsi','index.','maka\x20g:collection\x20todos','Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection'];a100c=function(){return p;};return a100c();}const a100b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a100d;if(c){const e=c[k(0xb3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a100a=a100b(this,function(){const l=a100d;return a100a[l(0x9d)]()[l(0x99)](l(0xa0))[l(0x9d)]()['constructor'](a100a)[l(0x99)](l(0xa0));});a100a();import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator['create']({'name':a100m(0xaa),'aliases':[a100m(0x94)],'usage':a100m(0xa1),'checkWhere':!![],'shortDesc':a100m(0x98),'validOpts':['dir','where'],'description':a100m(0x91),'examples':[a100m(0x97)]},async function(a,b){const n=a100m;try{const c=this[n(0x95)][n(0x93)]();await this['fsi'][n(0xb2)](c,async()=>{const o=n,d=paramCase(b[o(0xae)]),f={'name':pascalCase(b[o(0xae)]),'collectionName':pascalCase(b[o(0xae)]),'fileName':d,'where':b[o(0xac)],'test':c[o(0x8c)][o(0xa9)],'noRename':!![]};let g='js';c[o(0x8c)]['js']===o(0x9f)&&(g='ts');await this[o(0x95)][o(0xa2)](['mongo',o(0x9e)],{'shouldInstall':!![]}),await this['fsi']['template']({'srcPath':'collection/collection.js','destPath':this[o(0x95)]['pathFromApp']({'pathParts':[o(0xa4),o(0x8e),b[o(0xa7)],o(0x9c),b[o(0xa5)],d+'.'+g]}),'context':f,'config':c});c[o(0x8c)]['test']!=='none'&&await this['fsi'][o(0xa8)]({'srcPath':o(0x92),'destPath':this[o(0x95)][o(0xb0)]({'pathParts':[o(0xa4),o(0x8e),b['appPathPrefix'],o(0x9c),b[o(0xa5)],d+o(0x8d)+g]}),'context':f,'config':c});const h=b[o(0xa5)]?'/'+b[o(0xa5)]+'/':'/',i=this[o(0x95)][o(0xb0)]({'pathParts':[o(0xa4),o(0x8e),b[o(0xa7)],o(0x96)+c[o(0x8c)]['js']]});await this['fsi'][o(0x90)]({'filePath':i,'content':'import\x20\x27./collections'+h+d+'\x27;'});});}catch(d){Log[n(0xa3)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a101n=a101d;
|
|
1
|
+
const a101n=a101d;(function(a,b){const k=a101d,c=a();while(!![]){try{const d=-parseInt(k(0x163))/0x1*(parseInt(k(0x151))/0x2)+-parseInt(k(0x160))/0x3*(-parseInt(k(0x16f))/0x4)+parseInt(k(0x141))/0x5+-parseInt(k(0x145))/0x6+-parseInt(k(0x162))/0x7*(parseInt(k(0x156))/0x8)+parseInt(k(0x14c))/0x9*(parseInt(k(0x16a))/0xa)+parseInt(k(0x169))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a101c,0x5f96d));const a101b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a101d;if(c){const e=c[l(0x144)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a101a=a101b(this,function(){const m=a101d;return a101a[m(0x166)]()[m(0x148)](m(0x15a))[m(0x166)]()[m(0x139)](a101a)[m(0x148)](m(0x15a));});a101a();import a101e from'path';import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a101c(){const q=['features','.tests.js','1299950tDFIEw','findAppDirectory','hooks','baseDir','css','104buhGDv','template','theme','create','(((.+)+)+)+$','injectAtBeginningOfFile','engines','.css','react','import\x20\x27./','3JMQWyt','checkNpmPackage','97279eYUujI','1FKnLvV','cssCaseName','test','toString','assign','component/component.js','3184995AIJOEA','20aWaZSd','resourceName','getMakaProjectConfig','string','api','674488jFJfLS','comp','dir','/imports/ui/components','fileName','Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','graphql','layouts','error','constructor','pathFromProject','pages','ramda','ssr','components','root','test/test.js','604165oFykvy','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','.js','apply','312318xCfWVA','withValue','fsi','search','withTranslations','none','setTemplate','3128499KvjPVR','template/template.css','client'];a101c=function(){return q;};return a101c();}function a101d(a,b){const c=a101c();return a101d=function(d,e){d=d-0x139;let f=c[d];return f;},a101d(a,b);}import{Log}from'../tools/log/log.class.js';const aliases=[a101n(0x170)];Generator[a101n(0x159)]({'name':'component','aliases':aliases,'usage':'maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','shortDesc':a101n(0x174),'validOpts':[{'name':a101n(0x154),'values':[a101n(0x153),a101n(0x13e),a101n(0x13b),a101n(0x176)]}],'examples':['maka\x20g:comp\x20todos/todos-item']},async function(a,b){const o=a101n;try{const c=this['fsi'][o(0x152)](),d=b[o(0x154)]?'/imports/ui/'+b[o(0x154)]:o(0x172),f=this[o(0x147)]['pathFromApp']({'pathParts':[d,b[o(0x171)],paramCase(b[o(0x16b)]),paramCase(b[o(0x16b)])]}),g=await this[o(0x147)][o(0x16c)]();await this[o(0x147)][o(0x146)](g,async()=>{const p=o;typeof g[p(0x157)][p(0x165)]===p(0x16d)&&(g['template'][p(0x165)]=g[p(0x157)]['test']==='true'?!![]:![],this[p(0x147)][p(0x14b)]('test',g[p(0x157)][p(0x165)]));typeof g[p(0x157)][p(0x155)]===p(0x16d)&&(g['template'][p(0x155)]=g[p(0x157)][p(0x155)]==='true'?!![]:![],this[p(0x147)]['setTemplate']('css',g[p(0x157)][p(0x155)]));typeof g['template']['js']==='string'&&(g[p(0x157)]['js']=g['template']['js']==='true'?!![]:![],this['fsi'][p(0x14b)]('js',g[p(0x157)]['js']));!g[p(0x14f)]&&(g['features']={});!b[p(0x13f)]&&!this['fsi'][p(0x161)](p(0x13c))&&(Log['warn']('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),await this[p(0x147)]['installNpmPackage'](p(0x13c),{'cwd':c}));if(!b[p(0x13f)]&&!this[p(0x147)][p(0x161)](p(0x15e))){Log[p(0x177)](p(0x142));return;}const h={'name':pascalCase(b[p(0x16b)]),'myPath':a101e['relative'](this['fsi'][p(0x13a)]({}),f),'cssCaseName':paramCase(b[p(0x16b)]),'className':pascalCase(b[p(0x16b)]),'camelCaseName':camelCase(b[p(0x16b)]),'fileName':paramCase(b[p(0x16b)]),'graphql':g[p(0x15c)][p(0x175)],'features':g[p(0x14f)],'client':g[p(0x15c)][p(0x14e)],'api':g[p(0x15c)][p(0x16e)],'ssr':g[p(0x15c)][p(0x13d)],'test':g['engines'][p(0x165)],'theme':g['engines'][p(0x158)],'isLayout':![],'isComponent':!![],'withTranslations':g[p(0x14f)][p(0x149)]};await this[p(0x147)][p(0x157)]({'srcPath':p(0x168),'destPath':f+p(0x143),'context':h,'framework':'react','config':g});g[p(0x15c)][p(0x165)]!==p(0x14a)&&await this[p(0x147)]['template']({'srcPath':p(0x140),'destPath':f+p(0x150),'context':h,'framework':'react','config':g});g[p(0x157)]['css']&&(await this[p(0x147)][p(0x157)]({'srcPath':p(0x14d),'destPath':f+p(0x15d),'context':Object[p(0x167)]({},h,{'className':paramCase(b[p(0x16b)])}),'config':g}),await this[p(0x147)][p(0x15b)]({'filePath':f+'.'+g['engines']['js'],'content':p(0x15f)+h[p(0x164)]+'.'+g[p(0x15c)][p(0x155)]+'\x27;'}));const i=b[p(0x171)]?'/'+b[p(0x171)]+'/':'/',j=''+d+i+h[p(0x173)]+'/'+h[p(0x173)];await this[p(0x147)]['injectTemplateModule'](h['className'],g,j);});}catch(h){Log[o(0x177)](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a102k=a102d;(function(a,b){const h=a102d,c=a();while(!![]){try{const d=parseInt(h(
|
|
1
|
+
const a102k=a102d;function a102c(){const n=['pathFromProject','config/settings.json','ubuntu','constructor','isDocker','settings.json','dev','253308PnxiSs','toString','template','fsi','Generate\x20configuration\x20settings.','process.env','1754343EYzUrC','getMakaProjectConfig','development','apply','withValue','265000jaHpvv','18unibpt','maka\x20g:config\x20production','68852JRntuj','61728faXIuv','(((.+)+)+)+$','config','production','28055uYNHoG','appName','resourceName','4QtjGww','410907FvtZxR','config/process.env','maka\x20{generate,\x20g}:{config}\x20<name>'];a102c=function(){return n;};return a102c();}(function(a,b){const h=a102d,c=a();while(!![]){try{const d=parseInt(h(0xd6))/0x1+parseInt(h(0xd4))/0x2*(-parseInt(h(0xd7))/0x3)+-parseInt(h(0xde))/0x4*(parseInt(h(0xdb))/0x5)+-parseInt(h(0xe9))/0x6+parseInt(h(0xdf))/0x7+parseInt(h(0xd3))/0x8+parseInt(h(0xef))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a102c,0x1dee0));const a102b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a102d;if(c){const e=c[i(0xd1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a102a=a102b(this,function(){const j=a102d;return a102a[j(0xea)]()['search']('(((.+)+)+)+$')[j(0xea)]()[j(0xe5)](a102a)['search'](j(0xd8));});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-0xd0;let f=c[d];return f;},a102d(a,b);}Generator['create']({'name':'config','usage':a102k(0xe1),'shortDesc':a102k(0xed),'validOpts':[a102k(0xe6)],'examples':[a102k(0xd5)]},async function(a,b){const l=a102k,c=this[l(0xec)][l(0xf0)]();await this[l(0xec)][l(0xd2)](c,async()=>{const m=l,d={'app':c[m(0xdc)],'appFileCase':paramCase(c[m(0xdc)]),'name':pascalCase(b[m(0xdd)]),'fileName':paramCase(b[m(0xdd)]),'camelCase':camelCase(b['resourceName']),'userName':m(0xe4),'isDocker':b[m(0xe6)]};let e=b[m(0xdd)];if(e===m(0xe8))e=m(0xd0);else e==='prod'&&(e=m(0xda));const f=this[m(0xec)][m(0xe2)]({'pathParts':[m(0xd9),e,m(0xe7)]});await this['fsi'][m(0xeb)]({'srcPath':m(0xe3),'destPath':f,'context':d,'config':c});if(!b[m(0xe6)]){const g=this[m(0xec)][m(0xe2)]({'pathParts':[m(0xd9),e,m(0xee)]});await this[m(0xec)][m(0xeb)]({'srcPath':m(0xe0),'destPath':g,'context':d,'config':c});}});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a103l=a103d;(function(a,b){const j=a103d,c=a();while(!![]){try{const d=parseInt(j(0x196))/0x1+parseInt(j(0x1aa))/0x2+parseInt(j(0x19c))/0x3*(parseInt(j(0x193))/0x4)+-parseInt(j(0x19f))/0x5+-parseInt(j(0x18b))/0x6+parseInt(j(0x18f))/0x7*(-parseInt(j(0x18d))/0x8)+parseInt(j(0x19d))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a103c,0x1de13));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(0x1ae)]()['search'](k(0x190))[k(0x1ae)]()[k(0x1a3)](a103a)[k(0x1a1)](k(0x190));});function a103d(a,b){const c=a103c();return a103d=function(d,e){d=d-0x185;let f=c[d];return f;},a103d(a,b);}a103a();import{camelCase,paramCase,pascalCase}from'change-case';function a103c(){const o=['imports','Npm\x20package\x20\x22pg\x22\x20not\x20installed,\x20installing...','maka\x20g:dbc\x20todos\x20--type=sqlite','sqlite','1346658roStVd','engines','16aaIMEb','getMakaProjectConfig','789509fziOfi','(((.+)+)+)+$','conn.','dbc','4ndecIx','register-','dbc/config.js','80900KNqJOk','Npm\x20package\x20\x22better-sqlite3\x22\x20not\x20installed,\x20installing...','Npm\x20package\x20\x22mssql\x22\x20not\x20installed,\x20installing...','config.','create','resourceName','451833ZWMAVf','3361392QhzaEV','template','1040430LoyNcT','warn','search','tsx','constructor','maka\x20g:dbc\x20geoserver\x20--type=pgsql','pgsql','better-sqlite3','error','pathFromApp','withValue','350982SPdgIu','maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','dir','Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','toString','-dbc.','import\x20\x27./register-','type','startup','fsi','checkNpmPackage','-dbc\x27;','mssql','installNpmPackage','server'];a103c=function(){return o;};return a103c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a103l(0x19a)]({'name':a103l(0x192),'usage':a103l(0x1ab),'shortDesc':a103l(0x1ad),'validOpts':['dir'],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a103l(0x1b1),'values':['pgsql',a103l(0x1b6),a103l(0x18a)]}],'examples':[a103l(0x1a4),'maka\x20g:dbc\x20azure\x20--type=mssql',a103l(0x189)]},async function(a,b){const m=a103l;try{const c=await this[m(0x1b3)][m(0x18e)](),d=this[m(0x1b3)][m(0x1a8)]({}),f=paramCase(b[m(0x19b)]),g={'name':pascalCase(b[m(0x19b)]),'fileName':paramCase(b['resourceName']),'camelCase':camelCase(b[m(0x19b)]),'type':b[m(0x1b1)],'engine':c['engines']['js'],'noRename':!![]};await this[m(0x1b3)][m(0x1a9)](c,async()=>{const n=m;let h='js';c[n(0x18c)]['js']===n(0x1a2)&&(h='ts');b[n(0x1b1)]===n(0x1a5)&&!this[n(0x1b3)][n(0x1b4)]('pg')&&(Log['warn'](n(0x188)),await this['fsi'][n(0x185)]('pg',{'cwd':d}));b['type']===n(0x1b6)&&!this[n(0x1b3)]['checkNpmPackage'](n(0x1b6))&&(Log[n(0x1a0)](n(0x198)),await this[n(0x1b3)]['installNpmPackage']('mssql',{'cwd':d}));b[n(0x1b1)]===n(0x18a)&&!this['fsi']['checkNpmPackage'](n(0x1a6))&&(Log[n(0x1a0)](n(0x197)),await this[n(0x1b3)][n(0x185)]('better-sqlite3',{'cwd':d}));await this[n(0x1b3)][n(0x19e)]({'srcPath':n(0x195),'destPath':this[n(0x1b3)][n(0x1a8)]({'pathParts':[n(0x187),'startup','server',n(0x192),b['dir'],f,n(0x199)+h]}),'context':g,'config':c}),await this[n(0x1b3)][n(0x19e)]({'srcPath':'dbc/conn.js','destPath':this[n(0x1b3)][n(0x1a8)]({'pathParts':[n(0x187),n(0x1b2),n(0x186),n(0x192),b[n(0x1ac)],f,n(0x191)+h]}),'context':g,'config':c}),await this[n(0x1b3)][n(0x19e)]({'srcPath':'dbc/register-dbc.js','destPath':this[n(0x1b3)][n(0x1a8)]({'pathParts':['imports',n(0x1b2),n(0x186),n(0x194)+f+n(0x1af)+h]}),'context':g,'config':c});const i=this[n(0x1b3)][n(0x1a8)]({'pathParts':[n(0x187),n(0x1b2),n(0x186),'index.'+c['engines']['js']]});await this[n(0x1b3)]['injectAtEndOfFile']({'filePath':i,'content':n(0x1b0)+f+n(0x1b5)});});}catch(h){Log[m(0x1a7)](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a104h=a104d;(function(a,b){const f=a104d,c=a();while(!![]){try{const d=-parseInt(f(
|
|
1
|
+
function a104d(a,b){const c=a104c();return a104d=function(d,e){d=d-0x11b;let f=c[d];return f;},a104d(a,b);}const a104h=a104d;(function(a,b){const f=a104d,c=a();while(!![]){try{const d=-parseInt(f(0x121))/0x1*(parseInt(f(0x128))/0x2)+-parseInt(f(0x129))/0x3+-parseInt(f(0x11c))/0x4+parseInt(f(0x135))/0x5*(-parseInt(f(0x11e))/0x6)+-parseInt(f(0x12e))/0x7*(-parseInt(f(0x131))/0x8)+parseInt(f(0x12d))/0x9+parseInt(f(0x136))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a104c,0xd6bfe));const a104b=(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;};}()),a104a=a104b(this,function(){const g=a104d;return a104a[g(0x123)]()[g(0x132)](g(0x125))[g(0x123)]()[g(0x11d)](a104a)[g(0x132)]('(((.+)+)+)+$');});a104a();function a104c(){const k=['maka\x20{generate,\x20g}:dockerfile','getGlobalConfig','12908XdoncR','2155476DNZRST','fsi','docker/Dockerfile','app','11696328ZXzNfg','3964541QBdNjO','app.tar.gz','isFile','8lRengA','search','dockerfile','getMakaProjectConfig','451075wSUTPy','12694030eXleVA','join','323616aAkawu','constructor','96EbqsdD','withValue','findProjectDirectory','2BEJERD','Dockerfile','toString','appName','(((.+)+)+)+$'];a104c=function(){return k;};return a104c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a104e from'path';Generator['create']({'name':a104h(0x133),'usage':a104h(0x126),'shortDesc':'Generate\x20an\x20updated\x20dockerfile','validOpts':[],'noNeedResource':!![],'examples':['maka\x20g:dockerfile']},async function(){const i=a104h;try{const a=await this[i(0x12a)][i(0x134)](),b=await this[i(0x12a)][i(0x127)](),c=this[i(0x12a)][i(0x120)]();await this['fsi'][i(0x11f)](a,async()=>{const j=i,d={'app':b[j(0x124)],'config':a,'appPath':a104e['join'](c,j(0x12c)),'bundlePath':a104e[j(0x11b)](c,'build',j(0x12f)),'useCert':this[j(0x12a)][j(0x130)](b['cert'])};await this[j(0x12a)]['template']({'srcPath':j(0x12b),'destPath':a104e[j(0x11b)](c,j(0x122)),'framework':'service','context':d,'config':a});});}catch(d){Log['error'](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a105o=a105d;(function(a,b){const l=a105d,c=a();while(!![]){try{const d
|
|
1
|
+
const a105o=a105d;(function(a,b){const l=a105d,c=a();while(!![]){try{const d=parseInt(l(0xff))/0x1+parseInt(l(0xd9))/0x2*(parseInt(l(0xd8))/0x3)+-parseInt(l(0xe0))/0x4*(-parseInt(l(0x100))/0x5)+-parseInt(l(0xf1))/0x6*(-parseInt(l(0xd2))/0x7)+-parseInt(l(0xd3))/0x8+-parseInt(l(0xe4))/0x9+-parseInt(l(0xe6))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a105c,0x1d6f5));const a105b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a105d;if(c){const e=c[m(0xf7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a105a=a105b(this,function(){const n=a105d;return a105a[n(0xfc)]()[n(0xd7)](n(0xd0))[n(0xfc)]()[n(0x105)](a105a)[n(0xd7)](n(0xd0));});a105a();function a105d(a,b){const c=a105c();return a105d=function(d,e){d=d-0xd0;let f=c[d];return f;},a105d(a,b);}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[a105o(0xd6)]({'name':a105o(0xfd),'aliases':['h'],'checkWhere':![],'usage':'maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','shortDesc':a105o(0xf4),'validOpts':[{'name':'baseDir','values':['hooks',a105o(0x106),'pages',a105o(0x103)]},{'name':a105o(0xe9),'boolFlag':!![]}],'examples':[a105o(0xdc)],'description':a105o(0xfa)},async function(a,b){const p=a105o;Log['notice'](p(0x102)+b['resourceName']+p(0xe3));try{const c=this[p(0xeb)]['checkNpmPackage'](p(0xd4));if(!c){Log['error'](p(0xdf));throw new UsageError();}const d=this['fsi'][p(0xf0)](b),f=b['baseDir']?p(0xe7)+b[p(0xe1)]:'/imports/ui/hooks',g=this[p(0xeb)][p(0xf0)]({'pathParts':[f,b[p(0xd5)],paramCase(b[p(0xed)]),paramCase(b[p(0xed)])]}),h=await this[p(0xeb)][p(0xda)]();await this['fsi']['withValue'](h,async()=>{const q=p;typeof h['template'][q(0xf8)]===q(0xf3)&&(h[q(0xdd)][q(0xf8)]=h[q(0xdd)][q(0xf8)]==='true'?!![]:![],this[q(0xeb)]['setTemplate'](q(0xf8),h[q(0xdd)]['css']));h[q(0x107)][q(0x104)]==='apollo'&&!this['fsi']['checkNpmPackage'](q(0xec))&&(Log[q(0x108)](q(0xea)),await this[q(0xeb)][q(0xe2)]('@apollo/client\x20isomorphic-fetch',{'cwd':d}));const i={'cssCaseName':paramCase(b[q(0xed)]),'camelCaseName':camelCase(b['resourceName']),'className':pascalCase(b[q(0xed)]),'name':pascalCase(b[q(0xed)]),'graphql':h['engines'][q(0x104)],'theme':h[q(0x107)][q(0xf2)],'features':h['features'],'myPath':a105e[q(0xd1)](this[q(0xeb)][q(0xfe)]({}),g),'fileName':paramCase(b['resourceName']),'isComponent':![],'isLayout':![],'withTranslations':h[q(0xf9)]['withTranslations']};await this[q(0xeb)][q(0xdd)]({'srcPath':'hook/hook.js','destPath':g+'.js','context':i,'config':h,'framework':q(0xd4),'force':b[q(0xe9)]});h['template'][q(0xf8)]&&(await this[q(0xeb)][q(0xdd)]({'srcPath':q(0xe5),'destPath':g+q(0xdb),'context':Object['assign']({},i,{'className':i[q(0xde)]}),'config':h,'force':b[q(0xe9)]}),await this['fsi'][q(0xe8)]({'filePath':g+'.'+h[q(0x107)]['js'],'content':q(0xee)+i['fileName']+'.'+h['engines'][q(0xf8)]+'\x27;'}));h[q(0x107)][q(0xf5)]!=='none'&&await this['fsi'][q(0xdd)]({'srcPath':q(0xf6),'destPath':g+q(0x101),'framework':q(0xd4),'context':i,'config':h,'force':b[q(0xe9)]});const j=b['dir']?'/'+b[q(0xd5)]+'/':'/',k=''+f+j+i[q(0xef)]+'/'+i[q(0xef)];await this[q(0xeb)]['injectTemplateModule'](i[q(0xfb)],h,k);});}catch(i){Log['error'](i);}});function a105c(){const r=['.css','maka\x20g:hook\x20cool-hook','template','cssCaseName','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','6956ofmViR','baseDir','installNpmPackage','\x20hook...','1411056XMIVpP','template/template.css','1070590LgchDI','/imports/ui/','injectAtBeginningOfFile','force','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','fsi','@apollo/client','resourceName','import\x20\x27./','fileName','pathFromApp','10632INZIzo','theme','string','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','test','test/test.js','apply','css','features','\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','className','toString','hook','pathFromProject','184473FcGblZ','490oLXaTl','.app-tests.js','Creating\x20','layouts','graphql','constructor','components','engines','warn','(((.+)+)+)+$','relative','273QhNQMA','1121640ORTipZ','react','dir','create','search','15Ruhvht','40244cbDdTK','getMakaProjectConfig'];a105c=function(){return r;};return a105c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a106d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a106d,c=a();while(!![]){try{var d=-parseInt(f(0xec))/0x1+parseInt(f(0xe7))/0x2*(parseInt(f(0xf0))/0x3)+parseInt(f(0xea))/0x4+-parseInt(f(0xf2))/0x5*(parseInt(f(0xe8))/0x6)+-parseInt(f(0xee))/0x7*(parseInt(f(0xed))/0x8)+-parseInt(f(0xe4))/0x9+parseInt(f(0xe6))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a106c,0xe3bb3));function a106d(a,b){var c=a106c();return a106d=function(d,e){d=d-0xe4;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(0xe5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a106a=a106b(this,function(){var h=a106d;return a106a[h(0xeb)]()[h(0xef)](h(0xf1))[h(0xeb)]()[h(0xe9)](a106a)['search'](h(0xf1));});a106a();import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';function a106c(){var i=['30812790WUTsYQ','4LPklYe','1656sxwMRm','constructor','5574924oJPKGp','toString','1093240YMidjb','1343368drwpER','28lFbyVd','search','976908tDgulU','(((.+)+)+)+$','27915OBxbIM','7988967ANJEfh','apply'];a106c=function(){return i;};return a106c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a107d,c=a();while(!![]){try{var d
|
|
1
|
+
function a107d(a,b){var c=a107c();return a107d=function(d,e){d=d-0x1cb;var f=c[d];return f;},a107d(a,b);}(function(a,b){var f=a107d,c=a();while(!![]){try{var d=parseInt(f(0x1d8))/0x1*(-parseInt(f(0x1d4))/0x2)+parseInt(f(0x1db))/0x3+-parseInt(f(0x1cd))/0x4*(parseInt(f(0x1d5))/0x5)+-parseInt(f(0x1ce))/0x6*(parseInt(f(0x1da))/0x7)+-parseInt(f(0x1cc))/0x8*(parseInt(f(0x1cb))/0x9)+-parseInt(f(0x1d7))/0xa*(-parseInt(f(0x1cf))/0xb)+-parseInt(f(0x1d3))/0xc*(-parseInt(f(0x1dc))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a107c,0xc4ad7));var a107b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a107d;if(c){var e=c[g(0x1d1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a107a=a107b(this,function(){var h=a107d;return a107a[h(0x1d6)]()[h(0x1d0)]('(((.+)+)+)+$')['toString']()[h(0x1d2)](a107a)['search'](h(0x1d9));});function a107c(){var i=['constructor','4310916YJyJgH','108OEZust','1102985waJhaF','toString','10PCLOVN','27281lVPpcm','(((.+)+)+)+$','1467900baNsrE','721254FzVkfD','130bjdJZB','1841409ADSSSp','8Ttbaxy','4aYstSu','42fQGLgV','3729165ixRKXp','search','apply'];a107c=function(){return i;};return a107c();}a107a();import'./esri.generator.js';import'./map.esri.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a108i=a108d;(function(a,b){const f=a108d,c=a();while(!![]){try{const d=-parseInt(f(0x7c))/0x1*(-parseInt(f(0x73))/0x2)+parseInt(f(0x85))/0x3+-parseInt(f(0x84))/0x4+-parseInt(f(0x86))/0x5+parseInt(f(0x7d))/0x6*(-parseInt(f(0x77))/0x7)+-parseInt(f(0x7a))/0x8*(-parseInt(f(0x88))/0x9)+parseInt(f(0x8b))/0xa*(-parseInt(f(0x75))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a108c,0xee650));const a108b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a108d;if(c){const e=c[g(0x7e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a108a=a108b(this,function(){const h=a108d;return a108a['toString']()['search'](h(0x89))[h(0x78)]()[h(0x83)](a108a)[h(0x81)](h(0x89));});a108a();import{Generator}from'../../../generator.js';function a108d(a,b){const c=a108c();return a108d=function(d,e){d=d-0x73;let f=c[d];return f;},a108d(a,b);}import a108e from'../kit.js';function a108c(){const k=['/foo/bar','71673GNewzt','toString','esri','1046920XLwUnF','/foo','3caNWxu','18wViQFA','apply','create','maka\x20g:kit:e','search','\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20kit\x20for\x20Esri\x20Maps.\x20Starting\x20with\x20a\x20basic\x20map,\x0a\x20\x20\x20\x20but\x20with\x20the\x20ability\x20to\x20add\x20more\x20components\x20to\x20the\x20kit.\x0a\x20\x20','constructor','1366620grYiOk','3608388DvWfpB','576665xXUhyt','Esri\x20Kit\x20generated\x20successfully','54vpVHtC','(((.+)+)+)+$','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','70pzQMfB','2030BNbUqn','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','827926VjkTZG'];a108c=function(){return k;};return a108c();}const EsriGen=Generator[a108i(0x7f)]({'name':a108i(0x79),'aliases':['e'],'usage':a108i(0x8a),'noNeedResource':!![],'shortDesc':a108i(0x74),'validOpts':[''],'isPro':!![],'examples':[a108i(0x80)],'description':a108i(0x82)},async function(){const j=a108i;return{'success':!![],'message':j(0x87),'details':{'filesCreated':[j(0x76)],'filesUpdated':[j(0x7b)]}};},async function(){},a108e);export default EsriGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a109r=a109d;(function(a,b){const p=a109d,c=a();while(!![]){try{const d=-parseInt(p(0x17d))/0x1+parseInt(p(0x18e))/0x2+parseInt(p(0x193))/0x3+-parseInt(p(0x1a4))/0x4+-parseInt(p(0x191))/0x5*(parseInt(p(0x189))/0x6)+parseInt(p(0x17c))/0x7+parseInt(p(0x19e))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a109c,0x24ffe));const a109b=(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;};}()),a109a=a109b(this,function(){const q=a109d;return a109a['toString']()[q(0x1a9)](q(0x182))[q(0x19a)]()[q(0x1a7)](a109a)[q(0x1a9)](q(0x182));});a109a();import{Generator}from'../../../generator.js';function a109d(a,b){const c=a109c();return a109d=function(d,e){d=d-0x179;let f=c[d];return f;},a109d(a,b);}import{Log}from'../../../tools/log/log.class.js';import a109e from'./esri.generator.js';import a109f from'../../../generators/maka.gen.js';import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a109r(0x199)]({'name':a109r(0x181),'aliases':['m'],'usage':a109r(0x192),'shortDesc':a109r(0x18f),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a109r(0x19b)],'ssr':SsrEngines[a109r(0x183)]},'description':a109r(0x1a6)},async function(a,b){const s=a109r;try{Log[s(0x179)](s(0x187));const c=s(0x19f);await this[s(0x18d)][s(0x1a3)]([s(0x1a5),'esri-loader'],{'shouldInstall':!![]});const d=this[s(0x18d)][s(0x198)](),f=this['fsi'][s(0x19d)](),g=f['engines'][s(0x180)]===s(0x1a0),h=await a109f[s(0x1a8)]('page',[s(0x181)],{'cwd':d,'config':f}),i={'name':headerCase(f[s(0x197)])[s(0x17f)]('-','\x20'),'componentName':pascalCase(c)},j=b['baseDir']?s(0x1a2)+b[s(0x19c)]:s(0x185),k=this['fsi'][s(0x17b)]({'pathParts':[j,b[s(0x184)],paramCase(c),paramCase(c)]});this[s(0x18d)][s(0x186)](f,async()=>{const t=s;this[t(0x18d)][t(0x17e)]({'srcPath':t(0x196)+c+t(0x190),'destPath':k+'.js','framework':t(0x17a),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[s(0x184)]+'/'+c+'/'+c;await this['fsi']['injectTemplateModule'](c,f,l);const m=h[s(0x1a1)]('/'),n=this[s(0x18d)][s(0x17b)]({'pathParts':m});await this['fsi'][s(0x18b)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?s(0x18a):s(0x195),'isNamedExport':!![]}),await this[s(0x18d)][s(0x188)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+s(0x18c),'begin':['<div\x20id=\x22map-hook\x22>','<div\x20id=\x22map-component\x22>'],'end':['</div>'],'replace':!![]});}catch(o){Log[s(0x1aa)](o),process[s(0x194)](0x1);}},async function(){},a109e);function a109c(){const u=['toString','REACT','baseDir','getMakaProjectConfig','472296ZuOQII','basic-map','true','split','/imports/ui/','checkNpmPackage','161092zLVNOf','@esri/react-arcgis','\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20map\x20component\x20in\x20the\x20/imports/ui/hooks\x20directory.\x0a\x0a\x20\x20\x20\x20It\x27ll\x20also\x20create\x20a\x20page\x20component\x20in\x20the\x20/imports/ui/pages/map\x20directory.\x0a\x0a\x20\x20\x20\x20The\x20map\x20component\x20will\x20be\x20named\x20\x27BasicMap\x27\x20by\x20default.\x0a\x0a\x20\x20','constructor','processAndRunGenerator','search','error','bright','react','pathFromApp','977242bveLfu','144127fTqDqx','template','replaceAll','ssr','map','(((.+)+)+)+$','FALSE','dir','/imports/ui/hooks','withValue','Generating\x20a\x20map\x20component','injectIntoFile','1710VKdRhS','/imports/startup/lib/templates','injectImport','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','fsi','268630kdswzd','Generate\x20an\x20Esri\x20map\x20component','.js','3360asYdXI','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','583536NXBsdF','exit','/imports/startup/client/templates','kit/esri/map/','appName','findProjectDirectory','create'];a109c=function(){return u;};return a109c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a110c(){const j=['
|
|
1
|
+
function a110c(){const j=['4DgnQAm','maka\x20g:k','1070541VMDSZO','(((.+)+)+)+$','constructor','23181TUNhrc','1596kZmeTT','search','10kygBoL','maka\x20{generate,\x20g}:{kit}\x20<name>','39380rOYVAn','apply','156373TadZeN','78GblHBW','230745MSotqQ','814FpXvUG','1221IhYnGh','1727480JxhiKY','toString'];a110c=function(){return j;};return a110c();}const a110i=a110d;(function(a,b){const f=a110d,c=a();while(!![]){try{const d=parseInt(f(0x124))/0x1+-parseInt(f(0x12e))/0x2*(-parseInt(f(0x12f))/0x3)+-parseInt(f(0x132))/0x4*(-parseInt(f(0x12d))/0x5)+parseInt(f(0x12c))/0x6*(parseInt(f(0x12b))/0x7)+parseInt(f(0x130))/0x8+-parseInt(f(0x121))/0x9*(parseInt(f(0x127))/0xa)+-parseInt(f(0x129))/0xb*(parseInt(f(0x125))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a110c,0x23b38));const a110b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a110d;if(c){const e=c[g(0x12a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a110a=a110b(this,function(){const h=a110d;return a110a[h(0x131)]()[h(0x126)]('(((.+)+)+)+$')[h(0x131)]()[h(0x123)](a110a)['search'](h(0x122));});function a110d(a,b){const c=a110c();return a110d=function(d,e){d=d-0x121;let f=c[d];return f;},a110d(a,b);}a110a();import{Generator}from'../../generator.js';const KitGen=Generator['create']({'name':'kit','aliases':['k'],'usage':a110i(0x128),'shortDesc':'Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':['maka\x20g:kit',a110i(0x133)]},async function(){});export default KitGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a111d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a111d,c=a();while(!![]){try{var d=parseInt(f(0xd5))/0x1*(parseInt(f(0xcd))/0x2)+parseInt(f(0xc6))/0x3*(-parseInt(f(0xd2))/0x4)+parseInt(f(0xcc))/0x5+parseInt(f(0xd0))/0x6*(parseInt(f(0xca))/0x7)+parseInt(f(0xd1))/0x8*(parseInt(f(0xd3))/0x9)+-parseInt(f(0xc7))/0xa+parseInt(f(0xc9))/0xb*(-parseInt(f(0xc8))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a111c,0x45b66));var a111b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a111d;if(c){var e=c[g(0xcb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a111a=a111b(this,function(){var h=a111d;return a111a['toString']()[h(0xce)](h(0xcf))[h(0xd4)]()[h(0xc5)](a111a)[h(0xce)](h(0xcf));});a111a();function a111c(){var i=['(((.+)+)+)+$','6aTVHbX','7384lOjlUZ','108PcZlMf','4446FQBDWv','toString','20EvjhRe','constructor','11910YtvNMc','3553530xnOZTz','5861184nYcWtC','22LvQdQW','3795281YUMVzt','apply','1900220VBcbwZ','34676ECwnwG','search'];a111c=function(){return i;};return a111c();}function a111d(a,b){var c=a111c();return a111d=function(d,e){d=d-0xc5;var f=c[d];return f;},a111d(a,b);}import'./mui.generator.js';import'./frame.mui.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a112z=a112d;(function(a,b){const x=a112d,c=a();while(!![]){try{const d=parseInt(x(0x73))/0x1*(-parseInt(x(0xaa))/0x2)+-parseInt(x(0x74))/0x3+-parseInt(x(0x72))/0x4*(parseInt(x(0x78))/0x5)+parseInt(x(0x7a))/0x6+parseInt(x(0xa8))/0x7*(parseInt(x(0x80))/0x8)+-parseInt(x(0x8b))/0x9+parseInt(x(0x85))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a112c,0x1ce69));function a112d(a,b){const c=a112c();return a112d=function(d,e){d=d-0x6e;let f=c[d];return f;},a112d(a,b);}const a112b=(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;};}()),a112a=a112b(this,function(){const y=a112d;return a112a[y(0x99)]()[y(0x97)]('(((.+)+)+)+$')[y(0x99)]()[y(0xa5)](a112a)[y(0x97)](y(0x9a));});a112a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a112e from'path';import a112f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a112z(0x8e)]({'name':a112z(0x6e),'aliases':['f'],'usage':a112z(0x87),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','validOpts':[a112z(0x8d)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines[a112z(0xa1)]},'examples':['maka\x20generate:kit:mui:frame',a112z(0x93)],'description':a112z(0x82)},async function(a,b){const A=a112z;try{const c=A(0x7f),d=A(0xab),f=this[A(0x89)][A(0xa6)](),g=f['engines']['ssr']===A(0x7c);await this[A(0x89)]['checkMeteorPackage'](A(0x86),{'shouldInstall':!![]});const h=this[A(0x89)]['findAppDirectory'](),i=a112e[A(0x84)](h,A(0x79),'ui',A(0x8d)),j=this['fsi'][A(0x70)](i),k=await Actions['options']({'type':A(0x7d),'name':A(0x8d),'message':A(0x90),'choices':j});if(k['layouts']['length']===0x0){Log['error'](A(0xa0));return;}const l=b['baseDir']?'/imports/ui/'+b[A(0x95)]:A(0x6f),m=this[A(0x89)][A(0xa2)]({'pathParts':[l,b['dir'],paramCase(c),paramCase(c)]}),n=this[A(0x89)][A(0xa2)]({'pathParts':[l,b[A(0x9f)],paramCase(d),paramCase(d)]}),o={'name':headerCase(f[A(0x7b)])[A(0x8a)]('-','\x20')};await this[A(0x89)][A(0xa4)](f,async()=>{const B=A;await this[B(0x89)]['template']({'srcPath':B(0x83)+c+B(0xa7),'destPath':m+B(0xa7),'framework':B(0x98),'context':o,'config':f,'force':![],'ignore':![]}),await this[B(0x89)][B(0x7e)]({'srcPath':B(0x9d)+d+B(0xa7),'destPath':n+B(0xa7),'framework':B(0x98),'context':o,'config':f,'force':![],'ignore':![]});});const p=''+l+b['dir']+'/'+c+'/'+c;await this['fsi'][A(0x94)](c,f,p);const q=''+l+b['dir']+'/'+d+'/'+d;await this[A(0x89)]['injectTemplateModule'](d,f,q);const {layouts:r}=k;for(const s of r){const t=this[A(0x89)][A(0x76)](a112e['join'](i,s),{'extensions':['jsx',A(0x9b)],'omit':[A(0x8f),'tests',A(0xa9)]});for(const u of t){const v=a112e[A(0x84)](i,s,u);await this[A(0x89)][A(0x92)]({'filePath':v,'importName':pascalCase(c),'modulePath':g?A(0x77):A(0x9c),'isNamedExport':!![]}),await this['fsi']['injectIntoFile']({'filePath':v,'content':'<'+pascalCase(c)+A(0x88),'begin':[A(0x71)+s+A(0x96),A(0x71)+s+'-hook\x22>'],'end':[A(0x91),A(0xa3),A(0x9e),'{\x20props.children\x20}']}),await this[A(0x89)][A(0x92)]({'filePath':v,'importName':pascalCase(d),'modulePath':g?A(0x77):A(0x9c),'isNamedExport':!![]}),await this[A(0x89)][A(0x8c)]({'filePath':v,'content':'<'+pascalCase(d)+'\x20/>\x0a','begin':[A(0x71)+s+A(0x96),A(0x71)+s+A(0x81)],'end':[A(0x91),A(0xa3),'{props.children}',A(0x75)]});}}}catch(w){Log['error'](w);}},async function(){},a112f);function a112c(){const C=['getMakaProjectConfig','.js','10409uqFpcH','test','327526yKCvKo','basic-drawer','frame','/imports/ui/hooks','getDirectories','<div\x20id=\x22','4DDynyZ','1eRJrDc','205419sIPPQf','{\x20props.children\x20}','getFiles','/imports/startup/lib/templates','240690zcUDSw','imports','108792ANWrYF','appName','true','checkbox','template','basic-app-bar','992lMTAjh','-hook\x22>','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','kit/mui/frame/app-bars/','join','4163880DHsxTU','session','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','\x20/>\x0a','fsi','replaceAll','1981413HNDesI','injectIntoFile','layouts','create','app-tests','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','{this.props.children}','injectImport','maka\x20g:k:m:f','injectTemplateModule','baseDir','-component\x22>','search','react','toString','(((.+)+)+)+$','tsx','/imports/startup/client/templates','kit/mui/frame/drawers/','{props.children}','dir','No\x20layouts\x20selected','REACT','pathFromApp','{\x20this.props.children\x20}','withValue','constructor'];a112c=function(){return C;};return a112c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a113h=a113d;(function(a,b){const f=a113d,c=a();while(!![]){try{const d=parseInt(f(0xad))/0x1+parseInt(f(0xbc))/0x2*(parseInt(f(0xb9))/0x3)+parseInt(f(0xb2))/0x4+-parseInt(f(0xb7))/0x5+parseInt(f(0xab))/0x6*(parseInt(f(0xaf))/0x7)+parseInt(f(0xb3))/0x8*(parseInt(f(0xb0))/0x9)+parseInt(f(0xb4))/0xa*(-parseInt(f(0xb5))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a113c,0xdc1a7));const a113b=(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;};}()),a113a=a113b(this,function(){const g=a113d;return a113a[g(0xaa)]()[g(0xba)](g(0xbb))['toString']()[g(0xae)](a113a)[g(0xba)](g(0xbb));});function a113c(){const j=['198625vWwSNh','819LXpzhB','Material-UI\x20Kit','6164848EIqany','127784EzrBzL','42220NRYiIc','8052nxvKZW','NIE','4386510Qgruxz','maka\x20g:kit:m','3diPoEM','search','(((.+)+)+)+$','1556978mCabvD','create','mui','toString','30QrFgMY','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','954230AQuZmv','constructor'];a113c=function(){return j;};return a113c();}a113a();import{Generator}from'../../../generator.js';import a113e from'../kit.js';function a113d(a,b){const c=a113c();return a113d=function(d,e){d=d-0xa8;let f=c[d];return f;},a113d(a,b);}const MuiGen=Generator[a113h(0xa8)]({'name':a113h(0xa9),'aliases':['m'],'usage':a113h(0xac),'noNeedResource':!![],'shortDesc':a113h(0xb1),'validOpts':[''],'isPro':!![],'examples':[a113h(0xb8)]},async function(){const i=a113h;throw i(0xb6);},async function(){},a113e);export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a114n=a114d;(function(a,b){const l=a114d,c=a();while(!![]){try{const d=parseInt(l(0x175))/0x1*(-parseInt(l(0x18a))/0x2)+parseInt(l(0x198))/0x3*(parseInt(l(0x191))/0x4)+parseInt(l(0x176))/0x5+-parseInt(l(0x165))/0x6*(parseInt(l(0x179))/0x7)+parseInt(l(0x17e))/0x8*(-parseInt(l(0x193))/0x9)+parseInt(l(0x167))/0xa+parseInt(l(0x164))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a114c,0x375d0));const a114b=(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;};}()),a114a=a114b(this,function(){const m=a114d;return a114a['toString']()[m(0x16b)](m(0x185))[m(0x16d)]()['constructor'](a114a)[m(0x16b)]('(((.+)+)+)+$');});a114a();function a114d(a,b){const c=a114c();return a114d=function(d,e){d=d-0x162;let f=c[d];return f;},a114d(a,b);}import a114e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';function a114c(){const q=['withValue','.css','engines','true','resourceName','setTemplate','(((.+)+)+)+$','react','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','create','css','1194HVXwjg','pathFromApp','theme','component/component.js','injectAtBeginningOfFile','includes','.app-tests.js','41936xnDjes','graphql','1208556cZBApM','/imports/ui/layouts','.js','Scaffolding\x20for\x20a\x20React\x20Layout.','findAppDirectory','51TveluU','ssr','template','layout','checkNpmPackage','client','injectTemplateModule','split','fsi','4458234RwECZe','1930416GAOUAS','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','1056390Rvknqy','hook/hook.js','maka\x20g:l\x20web/safari','test','search','withHook','toString','features','api','template/template.css','test/test.js','fileName','installNpmPackage','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','277WIQJlm','2137820UREPts','import\x20\x27./','getMakaProjectConfig','7jOvgEl','dir','maka\x20g:layout\x20mobile/iPhone8','string','className','24dNWJfj'];a114c=function(){return q;};return a114c();}const aliases=['l'];Generator[a114n(0x188)]({'name':a114n(0x19b),'aliases':aliases,'usage':a114n(0x174),'shortDesc':a114n(0x196),'validOpts':[],'examples':[a114n(0x17b),a114n(0x169)]},async function(a,b){const o=a114n,c=o(0x194),d=this[o(0x163)][o(0x197)](),e=this['fsi'][o(0x18b)]({'pathParts':[c,b[o(0x17a)],paramCase(b['resourceName']),paramCase(b[o(0x183)])]}),f=this[o(0x163)][o(0x178)]();await this[o(0x163)][o(0x17f)](f,async()=>{const p=o;typeof f[p(0x19a)][p(0x16a)]===p(0x17c)&&(f['template'][p(0x16a)]=f[p(0x19a)][p(0x16a)]===p(0x182)?!![]:![],this[p(0x163)]['setTemplate']('test',f[p(0x19a)][p(0x16a)]));typeof f[p(0x19a)][p(0x189)]==='string'&&(f[p(0x19a)]['css']=f[p(0x19a)][p(0x189)]===p(0x182)?!![]:![],this[p(0x163)][p(0x184)](p(0x189),f[p(0x19a)][p(0x189)]));typeof f[p(0x19a)]['js']==='string'&&(f[p(0x19a)]['js']=f[p(0x19a)]['js']===p(0x182)?!![]:![],this[p(0x163)][p(0x184)]('js',f['template']['js']));!f[p(0x16e)]&&(f[p(0x16e)]={});const g=b['_']?b['_'][0x0][p(0x162)](':')[0x1]:![],h=b['_']&&aliases[p(0x18f)](g);h&&!this[p(0x19c)]('ramda')&&(Log['warn'](p(0x166)),this['fsi'][p(0x173)]('ramda',{'cwd':d}));if(h&&!this[p(0x19c)]('react')){Log['warn'](p(0x187));return;}const i={'name':pascalCase(b['resourceName']),'myPath':a114e['relative'](this[p(0x163)]['pathFromProject']({}),e),'cssCaseName':paramCase(b[p(0x183)]),'className':pascalCase(b[p(0x183)]),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b[p(0x183)]),'graphql':f['engines'][p(0x192)],'features':f[p(0x16e)],'client':f[p(0x181)][p(0x19d)],'api':f[p(0x181)][p(0x16f)],'ssr':f[p(0x181)][p(0x199)],'test':f['engines']['test'],'theme':f[p(0x181)][p(0x18c)],'isComponent':![],'isLayout':!![],'withTranslations':f[p(0x16e)]['withTranslations']};f[p(0x16e)]?.['withHooks']||b[p(0x16c)]?await this[p(0x163)][p(0x19a)]({'srcPath':p(0x168),'destPath':e+'.js','framework':p(0x186),'context':i,'config':f}):await this[p(0x163)][p(0x19a)]({'srcPath':p(0x18d),'destPath':e+p(0x195),'framework':p(0x186),'context':i,'config':f});f[p(0x181)][p(0x16a)]!=='none'&&await this['fsi'][p(0x19a)]({'srcPath':p(0x171),'destPath':e+p(0x190),'framework':p(0x186),'context':i,'config':f});f[p(0x19a)][p(0x189)]&&(await this[p(0x163)][p(0x19a)]({'srcPath':p(0x170),'destPath':e+p(0x180),'context':Object['assign']({},i,{'className':paramCase(b[p(0x183)])}),'config':f}),await this[p(0x163)][p(0x18e)]({'filePath':e+'.'+f[p(0x181)]['js'],'content':p(0x177)+i[p(0x172)]+'.'+f[p(0x181)]['css']+'\x27;'}));const j=b[p(0x17a)]?'/'+b[p(0x17a)]+'/':'/',k=''+c+j+i['fileName']+'/'+i[p(0x172)];await this['fsi'][p(0x19e)](i[p(0x17d)],f,k);});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a115h=a115d;(function(a,b){const f=a115d,c=a();while(!![]){try{const d=parseInt(f(0xf3))/0x1*(-parseInt(f(0xea))/0x2)+-parseInt(f(0xf9))/0x3+parseInt(f(0xfd))/0x4*(parseInt(f(0xfa))/0x5)+parseInt(f(0xf0))/0x6*(-parseInt(f(0xff))/0x7)+-parseInt(f(0xef))/0x8+parseInt(f(0xf1))/0x9*(-parseInt(f(0xe9))/0xa)+parseInt(f(0xed))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0x1dd75));function a115c(){const i=['107760lBPnYd','282155oeRbBd','Scaffold\x20various\x20parts\x20of\x20your\x20application','maka\x20generate:scaffold\x20todos','4XzAyHt','maka\x20g:route\x20todos/edit','52549TaDxgE','67430zpTzDI','10AfRxqG','maka\x20g:package\x20package:name','toString','5281188gxWMkX','(((.+)+)+)+$','1542280ZNBfQq','30oWhCBS','135EcDNJU','generate','9385NunqFq','constructor','maka\x20g:scaffold\x20todos','maka\x20g:dbc\x20geoserver\x20--type=pgsql','search','maka\x20{generate,\x20g}:<generator>\x20<name>'];a115c=function(){return i;};return a115c();}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 g=a115d;return a115a['toString']()['search'](g(0xee))[g(0xec)]()[g(0xf4)](a115a)[g(0xf7)](g(0xee));});function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-0xe9;let f=c[d];return f;},a115d(a,b);}a115a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a115h(0xf2),'aliases':['g'],'usage':a115h(0xf8),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a115h(0xfb),'examples':[a115h(0xfc),a115h(0xf5),'maka\x20g:template\x20todos/todo_item',a115h(0xeb),a115h(0xfe),'maka\x20g:api\x20trucks',a115h(0xf6)]},function(){});export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a116m=a116d;(function(a,b){const j=a116d,c=a();while(!![]){try{const d
|
|
1
|
+
const a116m=a116d;(function(a,b){const j=a116d,c=a();while(!![]){try{const d=parseInt(j(0x18d))/0x1*(-parseInt(j(0x16e))/0x2)+parseInt(j(0x169))/0x3*(parseInt(j(0x170))/0x4)+parseInt(j(0x18b))/0x5+-parseInt(j(0x189))/0x6+-parseInt(j(0x187))/0x7*(-parseInt(j(0x174))/0x8)+parseInt(j(0x175))/0x9+-parseInt(j(0x16a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0xa1337));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a116d;if(c){const e=c[k(0x18e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const l=a116d;return a116a[l(0x178)]()['search'](l(0x186))[l(0x178)]()[l(0x188)](a116a)['search'](l(0x186));});a116a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a116c(){const p=['maka\x20g:method\x20todos','314337JOoctV','3499530avLuAM','imports','-rpc-method\x27;','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','2JbqNzP','resourceName','12MfuCsJ','tsx','error','dir','67912BWJKIH','3773682kASuyI','index.','-rpc-method.','toString','getMakaProjectConfig','engines','template','injectAtEndOfFile','ddp-rate-limiter','methods','withValue','create','method','import\x20\x27./methods','method/method.js','startup','pathFromApp','(((.+)+)+)+$','826LEgeVV','constructor','4461180yKUdlE','appPathPrefix','4724160CRuLgl','fsi','926407SjjURk','apply','mdg:validated-method'];a116c=function(){return p;};return a116c();}import{camelCase,paramCase,pascalCase}from'change-case';function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x168;let f=c[d];return f;},a116d(a,b);}Generator[a116m(0x180)]({'name':a116m(0x181),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{method,\x20m}\x20name','checkWhere':!![],'shortDesc':a116m(0x16d),'validOpts':['dir'],'examples':[a116m(0x168)]},async function(a,b){const n=a116m;try{const c=this[n(0x18c)][n(0x179)]();await this['fsi'][n(0x17f)](c,async()=>{const o=n,d=paramCase(b[o(0x16f)]),f={'name':b['resourceName'],'fileName':d,'className':pascalCase(b['resourceName']),'camelCase':camelCase(b['resourceName']),'noRename':!![]};let g='js';c['engines']['js']===o(0x171)&&(g='ts');await this[o(0x18c)]['checkMeteorPackage'](['maka:check',o(0x17d),o(0x18f)],{'shouldInstall':!![]}),await this[o(0x18c)][o(0x17b)]({'srcPath':o(0x183),'destPath':this[o(0x18c)][o(0x185)]({'pathParts':[o(0x16b),o(0x184),b[o(0x18a)],o(0x17e),b[o(0x173)],d+o(0x177)+g]}),'context':f,'config':c});const h=b['dir']?'/'+b[o(0x173)]+'/':'/',i=this[o(0x18c)][o(0x185)]({'pathParts':[o(0x16b),o(0x184),b['appPathPrefix'],o(0x176)+c[o(0x17a)]['js']]});await this[o(0x18c)][o(0x17c)]({'filePath':i,'content':o(0x182)+h+d+o(0x16c)});});}catch(d){Log[n(0x172)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x9a;let f=c[d];return f;},a117d(a,b);}const a117o=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d=parseInt(l(0x9a))/0x1+-parseInt(l(0xbf))/0x2+-parseInt(l(0xa7))/0x3+-parseInt(l(0x9e))/0x4+parseInt(l(0xb7))/0x5+parseInt(l(0xc4))/0x6+parseInt(l(0x9f))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xd18ca));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a117d;if(c){const e=c[m(0xb5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const n=a117d;return a117a[n(0xc0)]()[n(0xb8)](n(0xa4))[n(0xc0)]()[n(0xb1)](a117a)['search']('(((.+)+)+)+$');});a117a();function a117c(){const r=['tests/server','layout','resourceName','template/template.js','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','2767722ZXWKeI','toString','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','component','/package.js','5430516jwylHa','1212014hzNWlB','graphql','packages','noRename','441184YYkdAo','2549190dsrGGO','create','lib','maka\x20g:package\x20todos:package','template','(((.+)+)+)+$','relative','pathFromProject','3257691JLUdKM','getMakaProjectConfig','features','tests/client','hasOwnProperty','package','/client/','package/package.js','store','dir','constructor','pathFromAppWithNoReWrite','fsi','pathFromApp','apply','engines','4785490goKJid','search','withValue'];a117c=function(){return r;};return a117c();}import a117e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a117o(0xa0)]({'name':a117o(0xac),'aliases':['p'],'usage':a117o(0xbe),'shortDesc':a117o(0xc1),'validOpts':['dir'],'examples':[a117o(0xa2)]},async function(a,b){const p=a117o,c=paramCase(b[p(0xbc)]),d=this[p(0xb3)][p(0xb4)]({'pathParts':['packages',b[p(0xb0)],c]}),e=this[p(0xb3)][p(0xb2)]({'pathParts':[p(0x9c),b[p(0xb0)],c,'package.js']}),f=this[p(0xb3)][p(0xa8)]();await this[p(0xb3)][p(0xb9)](f,async()=>{const q=p,g={'name':paramCase(b[q(0xbc)]),'myPath':a117e[q(0xa5)](this['fsi'][q(0xa6)]({}),d),'cssCaseName':paramCase(b[q(0xbc)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[q(0xbc)]),'fileName':c,'client':f[q(0xb6)]['client'],'graphql':f[q(0xb6)][q(0x9b)],'ssr':f['engines']['ssr'],'isComponent':b[q(0xab)](q(0xc2)),'isLayout':b[q(0xab)](q(0xbb)),'isStore':b[q(0xab)](q(0xaf)),'features':f[q(0xa9)],'noRename':!![],'theme':f[q(0xb6)]['theme']};await this[q(0xb3)][q(0xa3)]({'srcPath':q(0xae),'destPath':e,'context':g,'config':f}),g[q(0x9d)]=![];const h=d+q(0xad)+c+'.js';await this[q(0xb3)]['template']({'srcPath':q(0xbd),'destPath':h,'context':g,'config':f});const i=[q(0xa1),'server',q(0xaa),q(0xba)];for(const j of i){const k=d+'/'+j+'/'+c+'.js';await this[q(0xb3)][q(0xa3)]({'srcPath':'package/'+j+q(0xc3),'destPath':k,'context':g,'config':f});}});});
|