@maka/maka-cli 4.7.8 → 4.7.9
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/tool.js +1 -1
- package/bundle/obf/src/tools/actions/actions.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
- package/bundle/obf/src/tools/docker/docker.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
- package/bundle/obf/src/tools/https/https.class.js +1 -1
- package/bundle/obf/src/tools/https/https.interface.js +1 -1
- package/bundle/obf/src/tools/log/log.class.js +1 -1
- package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
- package/bundle/obf/src/tools/options/options.class.js +1 -1
- package/bundle/obf/src/tools/progress/progress.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a99w=a99d;(function(a,b){const u=a99d,c=a();while(!![]){try{const d=parseInt(u(0x1ad))/0x1+-parseInt(u(0x176))/0x2+parseInt(u(0x19f))/0x3*(-parseInt(u(0x1c3))/0x4)+parseInt(u(0x179))/0x5+parseInt(u(0x17a))/0x6*(parseInt(u(0x1b9))/0x7)+-parseInt(u(0x195))/0x8*(parseInt(u(0x1c2))/0x9)+parseInt(u(0x1b4))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a99c,0xa1716));function a99d(a,b){const c=a99c();return a99d=function(d,e){d=d-0x16f;let f=c[d];return f;},a99d(a,b);}const a99b=(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;};}()),a99a=a99b(this,function(){const v=a99d;return a99a['toString']()['search']('(((.+)+)+)+$')['toString']()[v(0x1bd)](a99a)[v(0x177)]('(((.+)+)+)+$');});a99a();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[a99w(0x172)]({'name':'api','aliases':['a'],'usage':a99w(0x18d),'shortDesc':a99w(0x19b),'validOpts':['dir'],'examples':[a99w(0x1ac)],'description':a99w(0x1bc)},async function(a,b){const x=a99w;try{const c=this['fsi'][x(0x1b7)](),d=[{'name':x(0x18c),'value':x(0x189)},{'name':'Fixtures','value':'withFixtures'},{'name':'Publications','value':x(0x18b)}];c[x(0x187)]['api']===x(0x18a)&&d['push']({'name':'REST\x20API','value':'withRest'});c[x(0x187)][x(0x182)]===x(0x193)&&d[x(0x19a)]({'name':x(0x1b6),'value':x(0x1a1)});const f={'type':x(0x17b),'name':'apiAnswers','message':x(0x19d),'pageSize':0x64,'choices':d},{apiAnswers:g}=await Actions[x(0x1a3)](f);g[x(0x171)]===0x0&&(Log['error'](x(0x1ab)),process['exit'](0x1)),await this[x(0x183)][x(0x199)](c,async()=>{const y=x,h=b[y(0x190)],i=paramCase(h),j=camelCase(h),k=b[y(0x1b0)]?'/'+b['dir']+'/':'/',l={'name':pascalCase(h),'fileName':i,'camelCase':pascalCase(h),'optsDir':k,'api':c[y(0x187)][y(0x1c1)],'graphql':c['engines'][y(0x182)],'test':c[y(0x187)][y(0x1af)],'noRename':!![],'withPubs':g[y(0x1b2)](y(0x18b)),'withFixtures':g[y(0x1b2)](y(0x1ba)),'withMethods':g[y(0x1b2)]('withMethods'),'withRest':g[y(0x1b2)]('withRest')};let m='js';c['engines']['js']==='tsx'&&(m='ts');await this[y(0x183)][y(0x1a0)]([y(0x186),'maka:check',y(0x17c),y(0x1a8),y(0x174)],{'shouldInstall':!![]}),await a99e[y(0x17d)](y(0x180),[i],{'config':c,'where':y(0x1b1)});c[y(0x187)]['api']===y(0x18a)&&(l['withRest']&&await this['fsi']['template']({'srcPath':y(0x19e),'destPath':this['fsi'][y(0x1b3)]({'pathParts':['imports',y(0x1c1),b[y(0x1b0)],i,y(0x17f)+m]}),'context':l,'config':c}));l[y(0x189)]&&await this['fsi'][y(0x181)]({'srcPath':y(0x16f),'destPath':this[y(0x183)][y(0x1b3)]({'pathParts':[y(0x1c0),y(0x1c1),b[y(0x1b0)],i,y(0x178)+m]}),'context':l,'config':c});l[y(0x1ba)]&&await this[y(0x183)][y(0x181)]({'srcPath':y(0x1a6),'destPath':this[y(0x183)][y(0x1b3)]({'pathParts':[y(0x1c0),y(0x1c1),b[y(0x1b0)],i,y(0x1a2)+m]}),'context':l,'config':c});c['engines'][y(0x1af)]!==y(0x1bf)&&this[y(0x183)]['template']({'srcPath':y(0x1a5),'destPath':this['fsi']['pathFromApp']({'pathParts':['imports',y(0x1c1),b[y(0x1b0)],i,i+y(0x1a9)+m]}),'context':l,'config':c});l[y(0x18b)]&&await this['fsi']['template']({'srcPath':y(0x191),'destPath':this[y(0x183)][y(0x1b3)]({'pathParts':[y(0x1c0),y(0x1c1),b[y(0x1b0)],i,'publications.'+m]}),'context':l,'config':c});if(c['engines'][y(0x182)]===y(0x193)){if(g[y(0x1b2)](y(0x1a1))){const o=this[y(0x183)][y(0x1b3)]({'pathParts':[y(0x1c0),y(0x170),y(0x1b1),y(0x175)+c[y(0x187)]['js']]}),p=this[y(0x183)][y(0x1aa)]({'pathParts':[o],'config':c}),q=this[y(0x183)][y(0x1b3)]({'pathParts':[y(0x1c0),y(0x1c1),b['dir'],i,y(0x182),'typeDefs.'+m]}),r=y(0x194)+k+i+y(0x1be);this['fsi'][y(0x181)]({'srcPath':y(0x185),'destPath':q,'context':l,'config':c}),await this[y(0x183)]['injectAtBeginningOfFile']({'filePath':p,'content':y(0x1ae)+j+'TypeDefs\x20}\x20from\x20\x27'+r+'\x27;\x0a'}),await this[y(0x183)]['injectIntoFile']({'filePath':p,'content':y(0x196)+j+y(0x192),'begin':y(0x198),'end':y(0x1b5)});const s=this[y(0x183)]['pathFromApp']({'pathParts':[y(0x1c0),y(0x1c1),b[y(0x1b0)],i,y(0x182),y(0x17e)+m]}),t=y(0x194)+k+i+'/graphql/resolvers';await this['fsi'][y(0x181)]({'srcPath':'api/resolvers.js','destPath':s,'context':l,'config':c}),await this['fsi']['injectAtBeginningOfFile']({'filePath':p,'content':y(0x19c)+j+'Resolvers\x20}\x20from\x20\x27'+t+'\x27;'}),await this[y(0x183)][y(0x1b8)]({'filePath':p,'content':y(0x184)+j+y(0x1a4),'begin':y(0x198),'end':y(0x1b5)});}}await this[y(0x183)][y(0x181)]({'srcPath':y(0x197),'destPath':this['fsi']['pathFromApp']({'pathParts':['imports',y(0x170),'server',y(0x18f)+i+'-api.'+m]}),'context':l,'config':c,'force':!![]});const n=this[y(0x183)][y(0x1b3)]({'pathParts':[y(0x1c0),'startup',y(0x1b1),y(0x175)+c[y(0x187)]['js']]});await this[y(0x183)][y(0x1bb)]({'filePath':n,'content':y(0x188)+i+y(0x173)});});}catch(h){console[x(0x1a7)](h),process[x(0x18e)](0x0);}});function a99c(){const z=['maka\x20g:api\x20Todos','1034947lUMNJW','import\x20{\x20typeDefs\x20as\x20','test','dir','server','includes','pathFromApp','1048630JvfwUm','if\x20\x5c(typeList','GraphQL','getMakaProjectConfig','injectIntoFile','327719gIRmcm','withFixtures','injectAtEndOfFile','\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','constructor','/graphql/typeDefs','none','imports','api','2074797nVUtkn','4FnABgn','api/methods.js','startup','length','create','-api\x27;','mongo','index.','2033882labkuW','search','rpc-methods.','1166725xCnrTg','138tvJzkM','checkbox','ddp-rate-limiter','processAndRunGenerator','resolvers.','rest-api.','collection','template','graphql','fsi','resolverList.push(','api/typeDefs.js','maka:rest','engines','import\x20\x27./register-','withMethods','rest','withPubs','RPC\x20(Methods)','maka\x20{generate,\x20g}:{api}\x20<resource-name>','exit','register-','resourceName','api/publications.js','TypeDefs);\x0a','apollo','/imports/api','16KMdOjI','typeList.push(','api/register-api.js','const','withValue','push','Scaffolding\x20for\x20an\x20api\x20concept\x20(i.e.\x20Todos).','\x0aimport\x20{\x20resolvers\x20as\x20','API\x20boundaries\x20to\x20create','api/api.js','932007kqbSpF','checkMeteorPackage','withGql','fixtures.','options','Resolvers);\x0a\x0a','api/tests.js','api/fixtures.js','error','mdg:validated-method','.app-tests.','rewriteDestinationPathForEngine','No\x20API\x20boundaries\x20selected'];a99c=function(){return z;};return a99c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a100m=a100d;(function(a,b){const j=a100d,c=a();while(!![]){try{const d=-parseInt(j(0x170))/0x1+-parseInt(j(0x16a))/0x2*(-parseInt(j(0x17a))/0x3)+-parseInt(j(0x177))/0x4+parseInt(j(0x174))/0x5+-parseInt(j(0x17c))/0x6+-parseInt(j(0x18f))/0x7+parseInt(j(0x16e))/0x8*(parseInt(j(0x17f))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a100c,0xd6f1a));const a100b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a100d;if(c){const e=c[k(0x183)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a100a=a100b(this,function(){const l=a100d;return a100a['toString']()['search']('(((.+)+)+)+$')[l(0x171)]()['constructor'](a100a)[l(0x181)](l(0x175));});a100a();import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a100d(a,b){const c=a100c();return a100d=function(d,e){d=d-0x16a;let f=c[d];return f;},a100d(a,b);}Generator[a100m(0x184)]({'name':a100m(0x176),'aliases':['col'],'usage':'maka\x20{generate,\x20g}:{collection,\x20col}\x20<name>','checkWhere':!![],'shortDesc':a100m(0x18b),'validOpts':['dir','where'],'description':'\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','examples':[a100m(0x18a)]},async function(a,b){const n=a100m;try{const c=this[n(0x178)]['getMakaProjectConfig']();await this[n(0x178)][n(0x18d)](c,async()=>{const o=n,d=paramCase(b['resourceName']),f={'name':pascalCase(b[o(0x185)]),'collectionName':pascalCase(b[o(0x185)]),'fileName':d,'where':b['where'],'test':c['engines'][o(0x18c)],'noRename':!![]};let g='js';c['engines']['js']===o(0x18e)&&(g='ts');await this[o(0x178)]['checkMeteorPackage']([o(0x16b),o(0x189)],{'shouldInstall':!![]}),await this[o(0x178)][o(0x17b)]({'srcPath':o(0x182),'destPath':this[o(0x178)][o(0x186)]({'pathParts':[o(0x173),'startup',b[o(0x16d)],'collections',b[o(0x188)],d+'.'+g]}),'context':f,'config':c});c[o(0x16f)][o(0x18c)]!==o(0x16c)&&await this['fsi'][o(0x17b)]({'srcPath':o(0x179),'destPath':this['fsi']['pathFromApp']({'pathParts':[o(0x173),o(0x187),b['appPathPrefix'],o(0x172),b[o(0x188)],d+o(0x17e)+g]}),'context':f,'config':c});const h=b['dir']?'/'+b['dir']+'/':'/',i=this[o(0x178)][o(0x186)]({'pathParts':[o(0x173),'startup',b['appPathPrefix'],'index.'+c[o(0x16f)]['js']]});await this[o(0x178)]['injectAtEndOfFile']({'filePath':i,'content':o(0x17d)+h+d+'\x27;'});});}catch(d){Log[n(0x180)](d);}});function a100c(){const p=['fsi','collection/tests.js','3hDshXU','template','6375096YdggCv','import\x20\x27./collections','.app-tests.','27eNosnv','error','search','collection/collection.js','apply','create','resourceName','pathFromApp','startup','dir','maka:check','maka\x20g:collection\x20todos','Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection','test','withValue','tsx','370118ZIDnzh','1355962phnPIT','mongo','none','appPathPrefix','1621528oPIsth','engines','124928CmyrbI','toString','collections','imports','4954695sMpzsu','(((.+)+)+)+$','collection','625060RyxtGO'];a100c=function(){return p;};return a100c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a101n=a101d;(function(a,b){const k=a101d,c=a();while(!![]){try{const d=parseInt(k(
|
|
1
|
+
function a101c(){const q=['injectAtBeginningOfFile','react','error','.css','constructor','warn','fileName','cssCaseName','create','template','fsi','7QngTWT','ssr','/imports/ui/components','template/template.css','1571032yavmFe','string','9YLgMVo','none','705351qWCXhS','engines','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','true','ramda','406830hRnUxN','component','layouts','graphql','maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','dir','test','setTemplate','search','features','maka\x20g:comp\x20todos/todos-item','.tests.js','4302300EQhJhZ','component/component.js','root','(((.+)+)+)+$','checkNpmPackage','withTranslations','test/test.js','hooks','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','toString','pages','1081182AzWCPA','/imports/ui/','2355408yhCsFP','css','api','installNpmPackage','3396255yMHhMh','pathFromProject','6mwlvYa','relative','className','assign','baseDir','injectTemplateModule','apply','pathFromApp','2iFBizV','resourceName','withValue'];a101c=function(){return q;};return a101c();}const a101n=a101d;(function(a,b){const k=a101d,c=a();while(!![]){try{const d=parseInt(k(0x1c3))/0x1+-parseInt(k(0x1d3))/0x2*(parseInt(k(0x1a7))/0x3)+-parseInt(k(0x1b8))/0x4+-parseInt(k(0x1c9))/0x5*(-parseInt(k(0x1cb))/0x6)+-parseInt(k(0x1e1))/0x7*(-parseInt(k(0x1e5))/0x8)+parseInt(k(0x1a5))/0x9*(-parseInt(k(0x1ac))/0xa)+parseInt(k(0x1c5))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a101c,0xc816d));const a101b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a101d;if(c){const e=c[l(0x1d1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a101a=a101b(this,function(){const m=a101d;return a101a['toString']()['search'](m(0x1bb))[m(0x1c1)]()[m(0x1da)](a101a)[m(0x1b4)](m(0x1bb));});a101a();import a101e from'path';import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a101d(a,b){const c=a101c();return a101d=function(d,e){d=d-0x1a5;let f=c[d];return f;},a101d(a,b);}const aliases=['comp'];Generator[a101n(0x1de)]({'name':a101n(0x1ad),'aliases':aliases,'usage':a101n(0x1b0),'shortDesc':'Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','validOpts':[{'name':a101n(0x1cf),'values':[a101n(0x1bf),'components',a101n(0x1c2),a101n(0x1ae)]}],'examples':[a101n(0x1b6)]},async function(a,b){const o=a101n;try{const c=this[o(0x1e0)]['findAppDirectory'](),d=b[o(0x1cf)]?o(0x1c4)+b[o(0x1cf)]:o(0x1e3),f=this[o(0x1e0)][o(0x1d2)]({'pathParts':[d,b[o(0x1b1)],paramCase(b[o(0x1d4)]),paramCase(b[o(0x1d4)])]}),g=await this[o(0x1e0)]['getMakaProjectConfig']();await this[o(0x1e0)][o(0x1d5)](g,async()=>{const p=o;typeof g[p(0x1df)][p(0x1b2)]===p(0x1e6)&&(g[p(0x1df)][p(0x1b2)]=g[p(0x1df)][p(0x1b2)]==='true'?!![]:![],this['fsi']['setTemplate'](p(0x1b2),g[p(0x1df)]['test']));typeof g[p(0x1df)]['css']==='string'&&(g[p(0x1df)][p(0x1c6)]=g[p(0x1df)][p(0x1c6)]===p(0x1aa)?!![]:![],this[p(0x1e0)][p(0x1b3)](p(0x1c6),g[p(0x1df)]['css']));typeof g[p(0x1df)]['js']==='string'&&(g[p(0x1df)]['js']=g[p(0x1df)]['js']===p(0x1aa)?!![]:![],this['fsi']['setTemplate']('js',g[p(0x1df)]['js']));!g[p(0x1b5)]&&(g[p(0x1b5)]={});!b[p(0x1ba)]&&!this['fsi'][p(0x1bc)](p(0x1ab))&&(Log[p(0x1db)](p(0x1c0)),await this[p(0x1e0)][p(0x1c8)](p(0x1ab),{'cwd':c}));if(!b[p(0x1ba)]&&!this[p(0x1e0)][p(0x1bc)](p(0x1d7))){Log[p(0x1d8)](p(0x1a9));return;}const h={'name':pascalCase(b[p(0x1d4)]),'myPath':a101e[p(0x1cc)](this[p(0x1e0)][p(0x1ca)]({}),f),'cssCaseName':paramCase(b[p(0x1d4)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[p(0x1d4)]),'fileName':paramCase(b[p(0x1d4)]),'graphql':g[p(0x1a8)][p(0x1af)],'features':g[p(0x1b5)],'client':g[p(0x1a8)]['client'],'api':g[p(0x1a8)][p(0x1c7)],'ssr':g[p(0x1a8)][p(0x1e2)],'test':g[p(0x1a8)]['test'],'theme':g[p(0x1a8)]['theme'],'isLayout':![],'isComponent':!![],'withTranslations':g[p(0x1b5)][p(0x1bd)]};await this['fsi'][p(0x1df)]({'srcPath':p(0x1b9),'destPath':f+'.js','context':h,'framework':p(0x1d7),'config':g});g[p(0x1a8)][p(0x1b2)]!==p(0x1a6)&&await this['fsi']['template']({'srcPath':p(0x1be),'destPath':f+p(0x1b7),'context':h,'framework':p(0x1d7),'config':g});g[p(0x1df)]['css']&&(await this[p(0x1e0)][p(0x1df)]({'srcPath':p(0x1e4),'destPath':f+p(0x1d9),'context':Object[p(0x1ce)]({},h,{'className':paramCase(b[p(0x1d4)])}),'config':g}),await this[p(0x1e0)][p(0x1d6)]({'filePath':f+'.'+g['engines']['js'],'content':'import\x20\x27./'+h[p(0x1dd)]+'.'+g[p(0x1a8)][p(0x1c6)]+'\x27;'}));const i=b[p(0x1b1)]?'/'+b[p(0x1b1)]+'/':'/',j=''+d+i+h['fileName']+'/'+h[p(0x1dc)];await this['fsi'][p(0x1d0)](h[p(0x1cd)],g,j);});}catch(h){Log[o(0x1d8)](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a102d(a,b){const c=a102c();return a102d=function(d,e){d=d-0x154;let f=c[d];return f;},a102d(a,b);}const a102k=a102d;(function(a,b){const h=a102d,c=a();while(!![]){try{const d=parseInt(h(0x165))/0x1*(parseInt(h(0x166))/0x2)+-parseInt(h(0x15f))/0x3+-parseInt(h(0x16f))/0x4*(-parseInt(h(0x168))/0x5)+parseInt(h(0x16b))/0x6+-parseInt(h(0x171))/0x7+parseInt(h(0x160))/0x8+-parseInt(h(0x16a))/0x9*(parseInt(h(0x164))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a102c,0x80f14));function a102c(){const n=['getMakaProjectConfig','process.env','8380PccRHc','15765VsBiWE','86Rryutb','fsi','821695mSgfyX','create','16812QwFrEo','3959562LZUTil','apply','withValue','appName','16wikLlP','pathFromProject','292257UpBaUW','settings.json','(((.+)+)+)+$','ubuntu','prod','toString','dev','config/settings.json','development','resourceName','maka\x20{generate,\x20g}:{config}\x20<name>','isDocker','template','config/process.env','1416102jgpQhe','4897112CKCqjL','config'];a102c=function(){return n;};return a102c();}const a102b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a102d;if(c){const e=c[i(0x16c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a102a=a102b(this,function(){const j=a102d;return a102a[j(0x156)]()['search'](j(0x173))['toString']()['constructor'](a102a)['search'](j(0x173));});a102a();import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a102k(0x169)]({'name':a102k(0x161),'usage':a102k(0x15b),'shortDesc':'Generate\x20configuration\x20settings.','validOpts':[a102k(0x15c)],'examples':['maka\x20g:config\x20production']},async function(a,b){const l=a102k,c=this[l(0x167)][l(0x162)]();await this[l(0x167)][l(0x16d)](c,async()=>{const m=l,d={'app':c[m(0x16e)],'appFileCase':paramCase(c['appName']),'name':pascalCase(b[m(0x15a)]),'fileName':paramCase(b[m(0x15a)]),'camelCase':camelCase(b[m(0x15a)]),'userName':m(0x154),'isDocker':b[m(0x15c)]};let e=b[m(0x15a)];if(e===m(0x157))e=m(0x159);else e===m(0x155)&&(e='production');const f=this[m(0x167)][m(0x170)]({'pathParts':[m(0x161),e,m(0x172)]});await this[m(0x167)][m(0x15d)]({'srcPath':m(0x158),'destPath':f,'context':d,'config':c});if(!b[m(0x15c)]){const g=this[m(0x167)]['pathFromProject']({'pathParts':[m(0x161),e,m(0x163)]});await this[m(0x167)][m(0x15d)]({'srcPath':m(0x15e),'destPath':g,'context':d,'config':c});}});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a103d(a,b){const c=a103c();return a103d=function(d,e){d=d-0x1d3;let f=c[d];return f;},a103d(a,b);}function a103c(){const o=['type','3605553BYYxdH','dir','pathFromApp','maka\x20g:dbc\x20todos\x20--type=sqlite','Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','conn.','885490zsAbYg','toString','dbc','config.','419792lBIbEq','server','(((.+)+)+)+$','sqlite','Npm\x20package\x20\x22pg\x22\x20not\x20installed,\x20installing...','template','getMakaProjectConfig','constructor','resourceName','671128fPikip','error','fsi','7736592FQozCS','startup','pgsql','index.','installNpmPackage','4688180AiWWcL','injectAtEndOfFile','tsx','create','3603642ejyyaW','warn','import\x20\x27./register-','search','49HFMXBD','register-','engines','better-sqlite3','imports','Npm\x20package\x20\x22better-sqlite3\x22\x20not\x20installed,\x20installing...','Npm\x20package\x20\x22mssql\x22\x20not\x20installed,\x20installing...','2gSlNJr','mssql','checkNpmPackage'];a103c=function(){return o;};return a103c();}const a103l=a103d;(function(a,b){const j=a103d,c=a();while(!![]){try{const d=parseInt(j(0x1da))/0x1*(-parseInt(j(0x1f1))/0x2)+parseInt(j(0x1fd))/0x3+-parseInt(j(0x1f9))/0x4+parseInt(j(0x1e4))/0x5+parseInt(j(0x1f4))/0x6+parseInt(j(0x1d3))/0x7*(parseInt(j(0x1e8))/0x8)+-parseInt(j(0x1de))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a103c,0xc12e8));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(0x1e5)]()[k(0x200)](k(0x1ea))[k(0x1e5)]()[k(0x1ef)](a103a)[k(0x200)](k(0x1ea));});a103a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a103l(0x1fc)]({'name':a103l(0x1e6),'usage':'maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','shortDesc':a103l(0x1e2),'validOpts':[a103l(0x1df)],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a103l(0x1dd),'values':['pgsql',a103l(0x1db),a103l(0x1eb)]}],'examples':['maka\x20g:dbc\x20geoserver\x20--type=pgsql','maka\x20g:dbc\x20azure\x20--type=mssql',a103l(0x1e1)]},async function(a,b){const m=a103l;try{const c=await this[m(0x1f3)][m(0x1ee)](),d=this[m(0x1f3)][m(0x1e0)]({}),f=paramCase(b['resourceName']),g={'name':pascalCase(b[m(0x1f0)]),'fileName':paramCase(b[m(0x1f0)]),'camelCase':camelCase(b[m(0x1f0)]),'type':b[m(0x1dd)],'engine':c[m(0x1d5)]['js'],'noRename':!![]};await this[m(0x1f3)]['withValue'](c,async()=>{const n=m;let h='js';c['engines']['js']===n(0x1fb)&&(h='ts');b[n(0x1dd)]===n(0x1f6)&&!this['fsi'][n(0x1dc)]('pg')&&(Log[n(0x1fe)](n(0x1ec)),await this[n(0x1f3)][n(0x1f8)]('pg',{'cwd':d}));b[n(0x1dd)]===n(0x1db)&&!this[n(0x1f3)][n(0x1dc)](n(0x1db))&&(Log[n(0x1fe)](n(0x1d9)),await this['fsi'][n(0x1f8)]('mssql',{'cwd':d}));b[n(0x1dd)]===n(0x1eb)&&!this['fsi']['checkNpmPackage'](n(0x1d6))&&(Log[n(0x1fe)](n(0x1d8)),await this['fsi'][n(0x1f8)](n(0x1d6),{'cwd':d}));await this[n(0x1f3)][n(0x1ed)]({'srcPath':'dbc/config.js','destPath':this[n(0x1f3)][n(0x1e0)]({'pathParts':[n(0x1d7),n(0x1f5),n(0x1e9),n(0x1e6),b['dir'],f,n(0x1e7)+h]}),'context':g,'config':c}),await this['fsi']['template']({'srcPath':'dbc/conn.js','destPath':this['fsi'][n(0x1e0)]({'pathParts':[n(0x1d7),n(0x1f5),n(0x1e9),n(0x1e6),b[n(0x1df)],f,n(0x1e3)+h]}),'context':g,'config':c}),await this[n(0x1f3)]['template']({'srcPath':'dbc/register-dbc.js','destPath':this[n(0x1f3)][n(0x1e0)]({'pathParts':[n(0x1d7),'startup',n(0x1e9),n(0x1d4)+f+'-dbc.'+h]}),'context':g,'config':c});const i=this[n(0x1f3)][n(0x1e0)]({'pathParts':[n(0x1d7),n(0x1f5),'server',n(0x1f7)+c[n(0x1d5)]['js']]});await this[n(0x1f3)][n(0x1fa)]({'filePath':i,'content':n(0x1ff)+f+'-dbc\x27;'});});}catch(h){Log[m(0x1f2)](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a104i=a104d;(function(a,b){const f=a104d,c=a();while(!![]){try{const d=-parseInt(f(
|
|
1
|
+
const a104i=a104d;(function(a,b){const f=a104d,c=a();while(!![]){try{const d=-parseInt(f(0xc8))/0x1+-parseInt(f(0xd2))/0x2+-parseInt(f(0xd1))/0x3*(-parseInt(f(0xcc))/0x4)+-parseInt(f(0xc7))/0x5+-parseInt(f(0xd5))/0x6*(-parseInt(f(0xce))/0x7)+-parseInt(f(0xda))/0x8+parseInt(f(0xd7))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a104c,0xee5e9));const a104b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a104d;if(c){const e=c[g(0xca)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a104a=a104b(this,function(){const h=a104d;return a104a[h(0xc2)]()[h(0xd9)](h(0xc3))[h(0xc2)]()['constructor'](a104a)[h(0xd9)](h(0xc3));});function a104c(){const l=['getGlobalConfig','join','findProjectDirectory','app.tar.gz','build','create','toString','(((.+)+)+)+$','getMakaProjectConfig','template','cert','3863380odyLtN','1872127xlWpAJ','appName','apply','withValue','40VBNRzI','dockerfile','7Tuciqd','fsi','error','133797cQHPgB','751304SgODtO','isFile','Dockerfile','7083618uyMDnZ','service','30822696TwElgh','maka\x20{generate,\x20g}:dockerfile','search','8436168EmObLd'];a104c=function(){return l;};return a104c();}function a104d(a,b){const c=a104c();return a104d=function(d,e){d=d-0xc0;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(0xc1)]({'name':a104i(0xcd),'usage':a104i(0xd8),'shortDesc':'Generate\x20an\x20updated\x20dockerfile','validOpts':[],'noNeedResource':!![],'examples':['maka\x20g:dockerfile']},async function(){const j=a104i;try{const a=await this[j(0xcf)][j(0xc4)](),b=await this[j(0xcf)][j(0xdb)](),c=this[j(0xcf)][j(0xdd)]();await this[j(0xcf)][j(0xcb)](a,async()=>{const k=j,d={'app':b[k(0xc9)],'config':a,'appPath':a104e[k(0xdc)](c,'app'),'bundlePath':a104e[k(0xdc)](c,k(0xc0),k(0xde)),'useCert':this[k(0xcf)][k(0xd3)](b[k(0xc6)])};await this[k(0xcf)][k(0xc5)]({'srcPath':'docker/Dockerfile','destPath':a104e[k(0xdc)](c,k(0xd4)),'framework':k(0xd6),'context':d,'config':a});});}catch(d){Log[j(0xd0)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a105n=a105d;(function(a,b){const l=a105d,c=a();while(!![]){try{const d=-parseInt(l(0x209))/0x1+parseInt(l(0x220))/0x2+-parseInt(l(0x1f3))/0x3+parseInt(l(0x1fa))/0x4+-parseInt(l(0x225))/0x5*(parseInt(l(0x1f4))/0x6)+parseInt(l(0x1f2))/0x7+parseInt(l(0x202))/0x8*(parseInt(l(0x228))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a105c,0x6e3e0));function a105d(a,b){const c=a105c();return a105d=function(d,e){d=d-0x1f0;let f=c[d];return f;},a105d(a,b);}const a105b=(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;};}()),a105a=a105b(this,function(){const m=a105d;return a105a[m(0x224)]()[m(0x1f9)](m(0x218))[m(0x224)]()[m(0x20a)](a105a)[m(0x1f9)](m(0x218));});function a105c(){const q=['test','340024juanrU','constructor','/imports/ui/','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','fsi','.js','warn','fileName','features','checkNpmPackage','injectTemplateModule','.css','/imports/ui/hooks','error','.app-tests.js','(((.+)+)+)+$','true','css','force','template','dir','none','create','845668gcosvQ','graphql','@apollo/client','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','toString','95zfvPEK','engines','test/test.js','7749rPPYbM','notice','hook','Creating\x20','theme','installNpmPackage','\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','4364773AIoZgc','2092563JRpDAM','148158opVqmS','string','@apollo/client\x20isomorphic-fetch','className','\x20hook...','search','565184zGPXxZ','components','template/template.css','layouts','resourceName','maka\x20g:hook\x20cool-hook','hook/hook.js','react','7160opcZwP','injectAtBeginningOfFile','baseDir','setTemplate','pathFromProject','pathFromApp'];a105c=function(){return q;};return a105c();}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[a105n(0x21f)]({'name':a105n(0x22a),'aliases':['h'],'checkWhere':![],'usage':a105n(0x223),'shortDesc':'Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','validOpts':[{'name':a105n(0x204),'values':['hooks',a105n(0x1fb),'pages',a105n(0x1fd)]},{'name':a105n(0x21b),'boolFlag':!![]}],'examples':[a105n(0x1ff)],'description':a105n(0x1f1)},async function(a,b){const o=a105n;Log[o(0x229)](o(0x22b)+b['resourceName']+o(0x1f8));try{const c=this[o(0x20d)]['checkNpmPackage'](o(0x201));if(!c){Log[o(0x216)](o(0x20c));throw new UsageError();}const d=this[o(0x20d)][o(0x207)](b),f=b['baseDir']?o(0x20b)+b[o(0x204)]:o(0x215),g=this['fsi']['pathFromApp']({'pathParts':[f,b[o(0x21d)],paramCase(b['resourceName']),paramCase(b['resourceName'])]}),h=await this[o(0x20d)]['getMakaProjectConfig']();await this[o(0x20d)]['withValue'](h,async()=>{const p=o;typeof h[p(0x21c)]['css']===p(0x1f5)&&(h[p(0x21c)][p(0x21a)]=h[p(0x21c)]['css']===p(0x219)?!![]:![],this[p(0x20d)][p(0x205)](p(0x21a),h[p(0x21c)][p(0x21a)]));h[p(0x226)][p(0x221)]==='apollo'&&!this[p(0x20d)][p(0x212)](p(0x222))&&(Log[p(0x20f)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),await this['fsi'][p(0x1f0)](p(0x1f6),{'cwd':d}));const i={'cssCaseName':paramCase(b['resourceName']),'camelCaseName':camelCase(b[p(0x1fe)]),'className':pascalCase(b[p(0x1fe)]),'name':pascalCase(b[p(0x1fe)]),'graphql':h[p(0x226)][p(0x221)],'theme':h[p(0x226)][p(0x22c)],'features':h[p(0x211)],'myPath':a105e['relative'](this[p(0x20d)][p(0x206)]({}),g),'fileName':paramCase(b[p(0x1fe)]),'isComponent':![],'isLayout':![],'withTranslations':h[p(0x211)]['withTranslations']};await this[p(0x20d)][p(0x21c)]({'srcPath':p(0x200),'destPath':g+p(0x20e),'context':i,'config':h,'framework':p(0x201),'force':b['force']});h[p(0x21c)]['css']&&(await this[p(0x20d)][p(0x21c)]({'srcPath':p(0x1fc),'destPath':g+p(0x214),'context':Object['assign']({},i,{'className':i['cssCaseName']}),'config':h,'force':b[p(0x21b)]}),await this['fsi'][p(0x203)]({'filePath':g+'.'+h[p(0x226)]['js'],'content':'import\x20\x27./'+i[p(0x210)]+'.'+h[p(0x226)]['css']+'\x27;'}));h[p(0x226)][p(0x208)]!==p(0x21e)&&await this['fsi'][p(0x21c)]({'srcPath':p(0x227),'destPath':g+p(0x217),'framework':p(0x201),'context':i,'config':h,'force':b[p(0x21b)]});const j=b[p(0x21d)]?'/'+b[p(0x21d)]+'/':'/',k=''+f+j+i[p(0x210)]+'/'+i[p(0x210)];await this['fsi'][p(0x213)](i[p(0x1f7)],h,k);});}catch(i){Log['error'](i);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a106d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
(function(a,b){var f=a106d,c=a();while(!![]){try{var d=-parseInt(f(0x1e7))/0x1*(parseInt(f(0x1ef))/0x2)+-parseInt(f(0x1f1))/0x3+parseInt(f(0x1ec))/0x4+-parseInt(f(0x1ea))/0x5*(parseInt(f(0x1f0))/0x6)+parseInt(f(0x1e6))/0x7+-parseInt(f(0x1e9))/0x8+parseInt(f(0x1eb))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a106c,0x7bad4));var a106b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a106d;if(c){var e=c[g(0x1e8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a106a=a106b(this,function(){var h=a106d;return a106a['toString']()[h(0x1e5)](h(0x1ee))['toString']()[h(0x1ed)](a106a)[h(0x1e5)]('(((.+)+)+)+$');});a106a();import'./kit.js';function a106d(a,b){var c=a106c();return a106d=function(d,e){d=d-0x1e5;var f=c[d];return f;},a106d(a,b);}import'./mui/_index.js';import'./esri/_index.js';function a106c(){var i=['1483035KJpDoO','search','7015162xTNkqv','555619IbJfMS','apply','6682632ORIDnF','1955poxvMQ','13908861zoVGts','2810092drCakc','constructor','(((.+)+)+)+$','2dGjzqA','13170tQMuvy'];a106c=function(){return i;};return a106c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a107d,c=a();while(!![]){try{var d=parseInt(f(
|
|
1
|
+
(function(a,b){var f=a107d,c=a();while(!![]){try{var d=parseInt(f(0x11c))/0x1+parseInt(f(0x119))/0x2+-parseInt(f(0x121))/0x3+parseInt(f(0x11e))/0x4*(parseInt(f(0x116))/0x5)+-parseInt(f(0x117))/0x6*(-parseInt(f(0x11b))/0x7)+-parseInt(f(0x11f))/0x8*(-parseInt(f(0x118))/0x9)+-parseInt(f(0x11d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a107c,0xc68de));var a107b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a107d;if(c){var e=c[g(0x11a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a107a=a107b(this,function(){var h=a107d;return a107a['toString']()[h(0x115)](h(0x122))['toString']()[h(0x120)](a107a)[h(0x115)](h(0x122));});function a107d(a,b){var c=a107c();return a107d=function(d,e){d=d-0x115;var f=c[d];return f;},a107d(a,b);}a107a();import'./esri.generator.js';import'./map.esri.gen.js';function a107c(){var i=['2586XaJGVJ','420489eFVEIt','2908540hwqGtn','apply','5761KHXmuD','426785EGItif','28002490qoztHs','4DfLryu','88JmRDiE','constructor','954405visprH','(((.+)+)+)+$','search','5909815ntZrAl'];a107c=function(){return i;};return a107c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a108i=a108d;(function(a,b){const f=a108d,c=a();while(!![]){try{const d=-parseInt(f(
|
|
1
|
+
const a108i=a108d;(function(a,b){const f=a108d,c=a();while(!![]){try{const d=-parseInt(f(0x13c))/0x1*(parseInt(f(0x141))/0x2)+-parseInt(f(0x135))/0x3+parseInt(f(0x13e))/0x4+parseInt(f(0x145))/0x5*(-parseInt(f(0x13a))/0x6)+parseInt(f(0x13f))/0x7+parseInt(f(0x140))/0x8*(-parseInt(f(0x139))/0x9)+-parseInt(f(0x142))/0xa*(-parseInt(f(0x144))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a108c,0x83c51));const a108b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a108d;if(c){const e=c[g(0x146)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a108a=a108b(this,function(){const h=a108d;return a108a[h(0x137)]()[h(0x136)](h(0x138))[h(0x137)]()['constructor'](a108a)[h(0x136)](h(0x138));});a108a();import{Generator}from'../../../generator.js';import a108e from'../kit.js';function a108c(){const j=['2790915NTmSSG','search','toString','(((.+)+)+)+$','927lHiNkw','658326IVqTKK','maka\x20g:kit:e','156080pWucAK','create','3081916dnSwJR','6355027vJPJpX','47368pDktKC','4TtPWKI','1180rbSQte','esri','158587jyvCeu','45LyBCUX','apply','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>'];a108c=function(){return j;};return a108c();}const EsriGen=Generator[a108i(0x13d)]({'name':a108i(0x143),'aliases':['e'],'usage':a108i(0x148),'noNeedResource':!![],'shortDesc':a108i(0x147),'validOpts':[''],'isPro':!![],'examples':[a108i(0x13b)],'description':'\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'},async function(){throw'NIE';},a108e);function a108d(a,b){const c=a108c();return a108d=function(d,e){d=d-0x135;let f=c[d];return f;},a108d(a,b);}export default EsriGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a109s=a109d;(function(a,b){const p=a109d,c=a();while(!![]){try{const d
|
|
1
|
+
const a109s=a109d;(function(a,b){const p=a109d,c=a();while(!![]){try{const d=parseInt(p(0x88))/0x1*(parseInt(p(0x78))/0x2)+-parseInt(p(0x8c))/0x3*(-parseInt(p(0x8d))/0x4)+-parseInt(p(0x67))/0x5*(parseInt(p(0x6c))/0x6)+-parseInt(p(0x68))/0x7+parseInt(p(0x82))/0x8+parseInt(p(0x81))/0x9+-parseInt(p(0x7d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a109c,0x1c3fa));const a109b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a109d;if(c){const e=c[q(0x90)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a109a=a109b(this,function(){const r=a109d;return a109a[r(0x73)]()[r(0x7c)]('(((.+)+)+)+$')[r(0x73)]()['constructor'](a109a)[r(0x7c)](r(0x71));});a109a();import{Generator}from'../../../generator.js';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';function a109d(a,b){const c=a109c();return a109d=function(d,e){d=d-0x65;let f=c[d];return f;},a109d(a,b);}function a109c(){const v=['1738899QOXEBx','1099528pXAuBq','bright','/imports/ui/hooks','create','/imports/startup/lib/templates','pathFromApp','57841avkBHd','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','engines','processAndRunGenerator','170883XhOXcO','12bMiAkq','REACT','ssr','apply','withValue','kit/esri/map/','baseDir','map','6810hEjwXp','577493PfuUXA','checkNpmPackage','FALSE','@esri/react-arcgis','888JQncDx','injectImport','page','basic-map','dir','(((.+)+)+)+$','appName','toString','\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','</div>','getMakaProjectConfig','.js','4XcLagY','/imports/startup/client/templates','true','Generate\x20an\x20Esri\x20map\x20component','search','2174360bIZYEZ','injectIntoFile','react','fsi'];a109c=function(){return v;};return a109c();}Generator[a109s(0x85)]({'name':'map','aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','shortDesc':a109s(0x7b),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a109s(0x8e)],'ssr':SsrEngines[a109s(0x6a)]},'description':a109s(0x74)},async function(a,b){const t=a109s;try{Log[t(0x83)]('Generating\x20a\x20map\x20component');const c=t(0x6f);await this[t(0x80)][t(0x69)]([t(0x6b),'esri-loader'],{'shouldInstall':!![]});const d=this[t(0x80)]['findProjectDirectory'](),f=this[t(0x80)][t(0x76)](),g=f[t(0x8a)][t(0x8f)]===t(0x7a),h=await a109f[t(0x8b)](t(0x6e),[t(0x66)],{'cwd':d,'config':f}),i={'name':headerCase(f[t(0x72)])['replaceAll']('-','\x20'),'componentName':pascalCase(c)},j=b[t(0x65)]?'/imports/ui/'+b[t(0x65)]:t(0x84),k=this['fsi'][t(0x87)]({'pathParts':[j,b[t(0x70)],paramCase(c),paramCase(c)]});this[t(0x80)][t(0x91)](f,async()=>{const u=t;this['fsi']['template']({'srcPath':u(0x92)+c+u(0x77),'destPath':k+'.js','framework':u(0x7f),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[t(0x70)]+'/'+c+'/'+c;await this[t(0x80)]['injectTemplateModule'](c,f,l);const m=h['split']('/'),n=this[t(0x80)]['pathFromApp']({'pathParts':m});await this[t(0x80)][t(0x6d)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?t(0x86):t(0x79),'isNamedExport':!![]}),await this[t(0x80)][t(0x7e)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+t(0x89),'begin':['<div\x20id=\x22map-hook\x22>','<div\x20id=\x22map-component\x22>'],'end':[t(0x75)],'replace':!![]});}catch(o){Log['error'](o),process['exit'](0x1);}},a109e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a110h=a110d;(function(a,b){const f=a110d,c=a();while(!![]){try{const d=-parseInt(f(0x12f))/0x1+parseInt(f(0x132))/0x2+-parseInt(f(0x12e))/0x3*(-parseInt(f(0x136))/0x4)+-parseInt(f(0x12c))/0x5+parseInt(f(0x130))/0x6*(-parseInt(f(0x134))/0x7)+-parseInt(f(0x137))/0x8+parseInt(f(0x135))/0x9*(parseInt(f(0x12a))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a110c,0x825a2));const a110b=(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;};}()),a110a=a110b(this,function(){const g=a110d;return a110a[g(0x129)]()[g(0x127)](g(0x12b))[g(0x129)]()['constructor'](a110a)[g(0x127)](g(0x12b));});a110a();import{Generator}from'../../generator.js';function a110d(a,b){const c=a110c();return a110d=function(d,e){d=d-0x126;let f=c[d];return f;},a110d(a,b);}const KitGen=Generator[a110h(0x133)]({'name':a110h(0x128),'aliases':['k'],'usage':'maka\x20{generate,\x20g}:{kit}\x20<name>','shortDesc':a110h(0x131),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a110h(0x126),a110h(0x12d)]},async function(){});export default KitGen;function a110c(){const i=['658262bthrUP','create','126SNSyVi','1773981LVhiso','1300Ppbbcz','5045176bmskwB','maka\x20g:kit','search','kit','toString','150yzvIvD','(((.+)+)+)+$','1833940AmSYXC','maka\x20g:k','1419PFEBnM','847898jUwWLX','353412vJWGFY','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.'];a110c=function(){return i;};return a110c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a111d,c=a();while(!![]){try{var d
|
|
1
|
+
function a111d(a,b){var c=a111c();return a111d=function(d,e){d=d-0xc4;var f=c[d];return f;},a111d(a,b);}function a111c(){var i=['3urtGEX','1537736mxdOEJ','10276FxGDtW','1272HzbAiM','3558771Scpqqy','(((.+)+)+)+$','13463usZvLG','190tqmcQR','constructor','1250ByzzKN','32232qBKYeJ','search','apply','toString','116897GZnoVS','634360mTtphR'];a111c=function(){return i;};return a111c();}(function(a,b){var f=a111d,c=a();while(!![]){try{var d=parseInt(f(0xcd))/0x1+-parseInt(f(0xc6))/0x2*(parseInt(f(0xc7))/0x3)+-parseInt(f(0xc8))/0x4+parseInt(f(0xce))/0x5*(parseInt(f(0xd1))/0x6)+-parseInt(f(0xc9))/0x7*(parseInt(f(0xca))/0x8)+-parseInt(f(0xcb))/0x9+parseInt(f(0xd0))/0xa*(parseInt(f(0xc5))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a111c,0x349e9));var a111b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a111d;if(c){var e=c[g(0xd3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a111a=a111b(this,function(){var h=a111d;return a111a[h(0xc4)]()['search'](h(0xcc))[h(0xc4)]()[h(0xcf)](a111a)[h(0xd2)](h(0xcc));});a111a();import'./mui.generator.js';import'./frame.mui.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a112A=a112d;(function(a,b){const x=a112d,c=a();while(!![]){try{const d
|
|
1
|
+
const a112A=a112d;function a112d(a,b){const c=a112c();return a112d=function(d,e){d=d-0x150;let f=c[d];return f;},a112d(a,b);}(function(a,b){const x=a112d,c=a();while(!![]){try{const d=-parseInt(x(0x154))/0x1*(parseInt(x(0x179))/0x2)+parseInt(x(0x18a))/0x3*(parseInt(x(0x15c))/0x4)+-parseInt(x(0x16c))/0x5+parseInt(x(0x190))/0x6*(parseInt(x(0x181))/0x7)+-parseInt(x(0x153))/0x8*(-parseInt(x(0x15b))/0x9)+parseInt(x(0x184))/0xa+parseInt(x(0x16d))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a112c,0xd06f5));const a112b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a112d;if(c){const e=c[y(0x160)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a112a=a112b(this,function(){const z=a112d;return a112a[z(0x18f)]()[z(0x155)](z(0x17a))[z(0x18f)]()[z(0x172)](a112a)[z(0x155)](z(0x17a));});a112a();import{Generator}from'../../../generator.js';function a112c(){const D=['injectImport','2577icUyWz','appName','REACT','\x20/>\x0a','frame','toString','114ixgnWH','baseDir','-component\x22>','/imports/startup/lib/templates','4671032eAUiDi','787736qXqxon','search','<div\x20id=\x22','No\x20layouts\x20selected','error','dir','app-tests','9yeshXA','2788bDcfZK','imports','MATERIAL','/imports/ui/','apply','{\x20this.props.children\x20}','ssr','fsi','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','layouts','create','withValue','length','-hook\x22>','tsx','true','4571615tNaSWr','14993935CCEfxK','checkbox','tests','checkMeteorPackage','engines','constructor','template','pathFromApp','replaceAll','kit/mui/frame/drawers/','{props.children}','jsx','4tUMoYa','(((.+)+)+)+$','.js','{this.props.children}','getMakaProjectConfig','findAppDirectory','injectTemplateModule','options','14196PxXWoi','getFiles','join','7593250XRTFrn','{\x20props.children\x20}','/imports/ui/hooks','injectIntoFile','maka\x20generate:kit:mui:frame'];a112c=function(){return D;};return a112c();}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[a112A(0x166)]({'name':a112A(0x18e),'aliases':['f'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','shortDesc':'Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','validOpts':['layouts'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a112A(0x15e)],'client':ClientEngines[a112A(0x18c)]},'examples':[a112A(0x188),'maka\x20g:k:m:f'],'description':a112A(0x164)},async function(a,b){const B=a112A;try{const c='basic-app-bar',d='basic-drawer',f=this[B(0x163)][B(0x17d)](),g=f[B(0x171)][B(0x162)]===B(0x16b);await this[B(0x163)][B(0x170)]('session',{'shouldInstall':!![]});const h=this[B(0x163)][B(0x17e)](),i=a112e[B(0x183)](h,B(0x15d),'ui','layouts'),j=this[B(0x163)]['getDirectories'](i),k=await Actions[B(0x180)]({'type':B(0x16e),'name':B(0x165),'message':'Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','choices':j});if(k[B(0x165)][B(0x168)]===0x0){Log[B(0x158)](B(0x157));return;}const l=b[B(0x150)]?B(0x15f)+b[B(0x150)]:B(0x186),m=this[B(0x163)][B(0x174)]({'pathParts':[l,b[B(0x159)],paramCase(c),paramCase(c)]}),n=this[B(0x163)]['pathFromApp']({'pathParts':[l,b[B(0x159)],paramCase(d),paramCase(d)]}),o={'name':headerCase(f[B(0x18b)])[B(0x175)]('-','\x20')};await this[B(0x163)][B(0x167)](f,async()=>{const C=B;await this['fsi'][C(0x173)]({'srcPath':'kit/mui/frame/app-bars/'+c+C(0x17b),'destPath':m+C(0x17b),'framework':'react','context':o,'config':f,'force':![],'ignore':![]}),await this[C(0x163)][C(0x173)]({'srcPath':C(0x176)+d+C(0x17b),'destPath':n+C(0x17b),'framework':'react','context':o,'config':f,'force':![],'ignore':![]});});const p=''+l+b[B(0x159)]+'/'+c+'/'+c;await this['fsi'][B(0x17f)](c,f,p);const q=''+l+b[B(0x159)]+'/'+d+'/'+d;await this[B(0x163)][B(0x17f)](d,f,q);const {layouts:r}=k;for(const s of r){const t=this['fsi'][B(0x182)](a112e['join'](i,s),{'extensions':[B(0x178),B(0x16a)],'omit':[B(0x15a),B(0x16f),'test']});for(const u of t){const v=a112e['join'](i,s,u);await this['fsi'][B(0x189)]({'filePath':v,'importName':pascalCase(c),'modulePath':g?B(0x152):'/imports/startup/client/templates','isNamedExport':!![]}),await this[B(0x163)][B(0x187)]({'filePath':v,'content':'<'+pascalCase(c)+B(0x18d),'begin':[B(0x156)+s+B(0x151),B(0x156)+s+B(0x169)],'end':[B(0x17c),B(0x161),B(0x177),B(0x185)]}),await this[B(0x163)]['injectImport']({'filePath':v,'importName':pascalCase(d),'modulePath':g?B(0x152):'/imports/startup/client/templates','isNamedExport':!![]}),await this[B(0x163)][B(0x187)]({'filePath':v,'content':'<'+pascalCase(d)+B(0x18d),'begin':[B(0x156)+s+B(0x151),B(0x156)+s+B(0x169)],'end':['{this.props.children}',B(0x161),'{props.children}',B(0x185)]});}}}catch(w){Log[B(0x158)](w);}},a112f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a113i=a113d;function a113d(a,b){const c=a113c();return a113d=function(d,e){d=d-0xa1;let f=c[d];return f;},a113d(a,b);}(function(a,b){const f=a113d,c=a();while(!![]){try{const d=parseInt(f(0xa5))/0x1+-parseInt(f(0xa3))/0x2+parseInt(f(0xac))/0x3+parseInt(f(0xad))/0x4*(-parseInt(f(0xa8))/0x5)+-parseInt(f(0xaf))/0x6+-parseInt(f(0xae))/0x7+parseInt(f(0xa4))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a113c,0x935b4));const a113b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a113d;if(c){const e=c[g(0xa2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a113a=a113b(this,function(){const h=a113d;return a113a[h(0xaa)]()[h(0xa7)](h(0xa1))[h(0xaa)]()[h(0xb1)](a113a)[h(0xa7)](h(0xa1));});a113a();import{Generator}from'../../../generator.js';import a113e from'../kit.js';const MuiGen=Generator[a113i(0xb0)]({'name':a113i(0xa6),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','noNeedResource':!![],'shortDesc':'Material-UI\x20Kit','validOpts':[''],'isPro':!![],'examples':[a113i(0xa9)]},async function(){const j=a113i;throw j(0xab);},a113e);function a113c(){const k=['maka\x20g:kit:m','toString','NIE','1463211ZDFVxI','4RVktfm','1066681SKWvCM','3677664AhRnJW','create','constructor','(((.+)+)+)+$','apply','1714396HgxJNf','6796912dosecf','1044971YUnPBZ','mui','search','781125OQYbqQ'];a113c=function(){return k;};return a113c();}export default MuiGen;
|
|
@@ -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(0xed))/0x1*(-parseInt(l(0x10e))/0x2)+parseInt(l(0x11b))/0x3+parseInt(l(0x102))/0x4+parseInt(l(0xf8))/0x5*(-parseInt(l(0x118))/0x6)+parseInt(l(0xf3))/0x7*(parseInt(l(0x126))/0x8)+parseInt(l(0x103))/0x9+parseInt(l(0x109))/0xa*(-parseInt(l(0x128))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a114c,0xeaa72));const a114b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a114d;if(c){const e=c[m(0xee)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a114a=a114b(this,function(){const n=a114d;return a114a[n(0x10c)]()[n(0xfa)](n(0x119))[n(0x10c)]()[n(0x11f)](a114a)[n(0xfa)](n(0x119));});a114a();function a114d(a,b){const c=a114c();return a114d=function(d,e){d=d-0xec;let f=c[d];return f;},a114d(a,b);}import a114e from'path';function a114c(){const r=['pathFromApp','template','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','findAppDirectory','.js','7517264QEqjSf','12335094zcVjyU','ramda','client','string','pathFromProject','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','370bXNePB','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','component/component.js','toString','.css','3067966DERQtm','layout','maka\x20g:layout\x20mobile/iPhone8','injectTemplateModule','warn','fsi','getMakaProjectConfig','import\x20\x27./','/imports/ui/layouts','Scaffolding\x20for\x20a\x20React\x20Layout.','66BzXmPs','(((.+)+)+)+$','graphql','2293428EUzwpz','setTemplate','withHooks','withValue','constructor','template/template.css','resourceName','features','engines','css','react','21272ObDosu','dir','1413071uRiEGo','installNpmPackage','maka\x20g:l\x20web/safari','true','theme','1ggWxuJ','apply','test','withTranslations','.app-tests.js','injectAtBeginningOfFile','3115sokibm','test/test.js','includes','none','assign','462455RYMISe','fileName','search','split','withHook'];a114c=function(){return r;};return a114c();}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':a114o(0x10f),'aliases':aliases,'usage':a114o(0x10a),'shortDesc':a114o(0x117),'validOpts':[],'examples':[a114o(0x110),a114o(0x12a)]},async function(a,b){const p=a114o,c=p(0x116),d=this[p(0x113)][p(0x100)](),e=this[p(0x113)][p(0xfd)]({'pathParts':[c,b[p(0x127)],paramCase(b[p(0x121)]),paramCase(b['resourceName'])]}),f=this[p(0x113)][p(0x114)]();await this[p(0x113)][p(0x11e)](f,async()=>{const q=p;typeof f[q(0xfe)][q(0xef)]===q(0x106)&&(f['template'][q(0xef)]=f[q(0xfe)][q(0xef)]==='true'?!![]:![],this[q(0x113)]['setTemplate'](q(0xef),f['template'][q(0xef)]));typeof f['template']['css']===q(0x106)&&(f[q(0xfe)][q(0x124)]=f[q(0xfe)]['css']===q(0x12b)?!![]:![],this['fsi']['setTemplate'](q(0x124),f['template'][q(0x124)]));typeof f[q(0xfe)]['js']===q(0x106)&&(f[q(0xfe)]['js']=f['template']['js']===q(0x12b)?!![]:![],this['fsi'][q(0x11c)]('js',f[q(0xfe)]['js']));!f['features']&&(f[q(0x122)]={});const g=b['_']?b['_'][0x0][q(0xfb)](':')[0x1]:![],h=b['_']&&aliases[q(0xf5)](g);h&&!this['checkNpmPackage']('ramda')&&(Log[q(0x112)](q(0x108)),this[q(0x113)][q(0x129)](q(0x104),{'cwd':d}));if(h&&!this['checkNpmPackage'](q(0x125))){Log['warn'](q(0xff));return;}const i={'name':pascalCase(b[q(0x121)]),'myPath':a114e['relative'](this[q(0x113)][q(0x107)]({}),e),'cssCaseName':paramCase(b[q(0x121)]),'className':pascalCase(b[q(0x121)]),'camelCaseName':camelCase(b[q(0x121)]),'fileName':paramCase(b[q(0x121)]),'graphql':f[q(0x123)][q(0x11a)],'features':f[q(0x122)],'client':f[q(0x123)][q(0x105)],'api':f[q(0x123)]['api'],'ssr':f[q(0x123)]['ssr'],'test':f[q(0x123)][q(0xef)],'theme':f['engines'][q(0xec)],'isComponent':![],'isLayout':!![],'withTranslations':f['features'][q(0xf0)]};f['features']?.[q(0x11d)]||b[q(0xfc)]?await this[q(0x113)][q(0xfe)]({'srcPath':'hook/hook.js','destPath':e+q(0x101),'framework':'react','context':i,'config':f}):await this['fsi'][q(0xfe)]({'srcPath':q(0x10b),'destPath':e+q(0x101),'framework':q(0x125),'context':i,'config':f});f['engines'][q(0xef)]!==q(0xf6)&&await this[q(0x113)][q(0xfe)]({'srcPath':q(0xf4),'destPath':e+q(0xf1),'framework':q(0x125),'context':i,'config':f});f[q(0xfe)][q(0x124)]&&(await this[q(0x113)][q(0xfe)]({'srcPath':q(0x120),'destPath':e+q(0x10d),'context':Object[q(0xf7)]({},i,{'className':paramCase(b[q(0x121)])}),'config':f}),await this[q(0x113)][q(0xf2)]({'filePath':e+'.'+f[q(0x123)]['js'],'content':q(0x115)+i[q(0xf9)]+'.'+f[q(0x123)][q(0x124)]+'\x27;'}));const j=b['dir']?'/'+b[q(0x127)]+'/':'/',k=''+c+j+i[q(0xf9)]+'/'+i[q(0xf9)];await this[q(0x113)][q(0x111)](i['className'],f,k);});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a115i=a115d;(function(a,b){const f=a115d,c=a();while(!![]){try{const d
|
|
1
|
+
const a115i=a115d;(function(a,b){const f=a115d,c=a();while(!![]){try{const d=parseInt(f(0x127))/0x1*(-parseInt(f(0x134))/0x2)+-parseInt(f(0x122))/0x3*(-parseInt(f(0x126))/0x4)+parseInt(f(0x128))/0x5+-parseInt(f(0x12d))/0x6+parseInt(f(0x12a))/0x7*(-parseInt(f(0x12f))/0x8)+parseInt(f(0x139))/0x9*(-parseInt(f(0x125))/0xa)+parseInt(f(0x132))/0xb*(parseInt(f(0x131))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0x1a15b));const a115b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a115d;if(c){const e=c[g(0x124)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a115a=a115b(this,function(){const h=a115d;return a115a[h(0x130)]()[h(0x136)]('(((.+)+)+)+$')[h(0x130)]()[h(0x137)](a115a)['search'](h(0x138));});function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-0x121;let f=c[d];return f;},a115d(a,b);}function a115c(){const j=['maka\x20g:template\x20todos/todo_item','maka\x20g:package\x20package:name','1117860CfvOIG','maka\x20{generate,\x20g}:<generator>\x20<name>','72fXAxgl','toString','204SumTMj','305349mmrnup','maka\x20g:scaffold\x20todos','2ncnwEV','generate','search','constructor','(((.+)+)+)+$','27VqlDoP','maka\x20g:route\x20todos/edit','165639mzxPWP','maka\x20g:dbc\x20geoserver\x20--type=pgsql','apply','273550VrxPgv','4RQRSQQ','172541XyCWHn','728265ogqzdo','Scaffold\x20various\x20parts\x20of\x20your\x20application','97230QhHjPk'];a115c=function(){return j;};return a115c();}a115a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a115i(0x135),'aliases':['g'],'usage':a115i(0x12e),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a115i(0x129),'examples':['maka\x20generate:scaffold\x20todos',a115i(0x133),a115i(0x12b),a115i(0x12c),a115i(0x121),'maka\x20g:api\x20trucks',a115i(0x123)]},function(){});export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a116l=a116d;(function(a,b){const j=a116d,c=a();while(!![]){try{const d=-parseInt(j(0x1d4))/0x1*(-parseInt(j(0x1e3))/0x2)+-parseInt(j(0x1e1))/0x3*(parseInt(j(0x1e0))/0x4)+-parseInt(j(0x1e4))/0x5+-parseInt(j(0x1df))/0x6+parseInt(j(0x1ed))/0x7+parseInt(j(0x1f3))/0x8+parseInt(j(0x1de))/0x9*(parseInt(j(0x1d7))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x34a3f));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const k=a116d;return a116a[k(0x1ea)]()['search']('(((.+)+)+)+$')[k(0x1ea)]()[k(0x1da)](a116a)[k(0x1f0)](k(0x1f2));});a116a();function a116c(){const o=['326084eizxBq','3cRtyTi','appPathPrefix','26DNTaCf','230035wWzhNK','injectAtEndOfFile','pathFromApp','resourceName','dir','checkMeteorPackage','toString','method','fsi','1961925CktHVY','maka:check','method/method.js','search','engines','(((.+)+)+)+$','1853616EnqdoZ','error','ddp-rate-limiter','imports','5685swnPjW','index.','import\x20\x27./methods','4310zskzhN','mdg:validated-method','maka\x20{generate,\x20g}:{method,\x20m}\x20name','constructor','create','getMakaProjectConfig','startup','2421KbISXB','2152068FVkSRm'];a116c=function(){return o;};return a116c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x1d1;let f=c[d];return f;},a116d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';Generator[a116l(0x1db)]({'name':a116l(0x1eb),'aliases':['m'],'usage':a116l(0x1d9),'checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','validOpts':[a116l(0x1e8)],'examples':['maka\x20g:method\x20todos']},async function(a,b){const m=a116l;try{const c=this['fsi'][m(0x1dc)]();await this[m(0x1ec)]['withValue'](c,async()=>{const n=m,d=paramCase(b[n(0x1e7)]),f={'name':b[n(0x1e7)],'fileName':d,'className':pascalCase(b[n(0x1e7)]),'camelCase':camelCase(b[n(0x1e7)]),'noRename':!![]};let g='js';c[n(0x1f1)]['js']==='tsx'&&(g='ts');await this[n(0x1ec)][n(0x1e9)]([n(0x1ee),n(0x1d2),n(0x1d8)],{'shouldInstall':!![]}),await this[n(0x1ec)]['template']({'srcPath':n(0x1ef),'destPath':this['fsi']['pathFromApp']({'pathParts':[n(0x1d3),n(0x1dd),b[n(0x1e2)],'methods',b['dir'],d+'-rpc-method.'+g]}),'context':f,'config':c});const h=b[n(0x1e8)]?'/'+b['dir']+'/':'/',i=this[n(0x1ec)][n(0x1e6)]({'pathParts':['imports',n(0x1dd),b[n(0x1e2)],n(0x1d5)+c[n(0x1f1)]['js']]});await this['fsi'][n(0x1e5)]({'filePath':i,'content':n(0x1d6)+h+d+'-rpc-method\x27;'});});}catch(d){Log[m(0x1d1)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a117o=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d=-parseInt(l(
|
|
1
|
+
const a117o=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d=-parseInt(l(0x145))/0x1*(-parseInt(l(0x13c))/0x2)+-parseInt(l(0x127))/0x3*(parseInt(l(0x147))/0x4)+-parseInt(l(0x126))/0x5*(parseInt(l(0x122))/0x6)+parseInt(l(0x138))/0x7+parseInt(l(0x136))/0x8+parseInt(l(0x148))/0x9+parseInt(l(0x14c))/0xa*(parseInt(l(0x123))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xe94cc));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a117d;if(c){const e=c[m(0x139)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const n=a117d;return a117a[n(0x12a)]()[n(0x12f)]('(((.+)+)+)+$')[n(0x12a)]()[n(0x12e)](a117a)['search'](n(0x12d));});a117a();function a117c(){const r=['packages','toString','component','features','(((.+)+)+)+$','constructor','search','relative','tests/client','server','hasOwnProperty','layout','pathFromApp','7426968kmOnDc','resourceName','617295yqAGWn','apply','store','maka\x20g:package\x20todos:package','14420wehlRB','template/template.js','graphql','package/package.js','package/','fsi','tests/server','client','package','1IempZa','create','7204468fpaajH','16316757pvdoBY','/package.js','template','dir','10ARAHqU','engines','theme','ssr','510IquWxR','14894099mFHFdj','/client/','getMakaProjectConfig','84355MYInvM','3LMdWRZ','package.js'];a117c=function(){return r;};return a117c();}function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x122;let f=c[d];return f;},a117d(a,b);}import a117e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a117o(0x146)]({'name':a117o(0x144),'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':[a117o(0x14b)],'examples':[a117o(0x13b)]},async function(a,b){const p=a117o,c=paramCase(b[p(0x137)]),d=this[p(0x141)][p(0x135)]({'pathParts':[p(0x129),b['dir'],c]}),e=this['fsi']['pathFromAppWithNoReWrite']({'pathParts':[p(0x129),b['dir'],c,p(0x128)]}),f=this['fsi'][p(0x125)]();await this[p(0x141)]['withValue'](f,async()=>{const q=p,g={'name':paramCase(b[q(0x137)]),'myPath':a117e[q(0x130)](this[q(0x141)]['pathFromProject']({}),d),'cssCaseName':paramCase(b[q(0x137)]),'className':pascalCase(b[q(0x137)]),'camelCaseName':camelCase(b[q(0x137)]),'fileName':c,'client':f[q(0x14d)][q(0x143)],'graphql':f[q(0x14d)][q(0x13e)],'ssr':f[q(0x14d)][q(0x14f)],'isComponent':b['hasOwnProperty'](q(0x12b)),'isLayout':b[q(0x133)](q(0x134)),'isStore':b['hasOwnProperty'](q(0x13a)),'features':f[q(0x12c)],'noRename':!![],'theme':f[q(0x14d)][q(0x14e)]};await this[q(0x141)]['template']({'srcPath':q(0x13f),'destPath':e,'context':g,'config':f}),g['noRename']=![];const h=d+q(0x124)+c+'.js';await this[q(0x141)]['template']({'srcPath':q(0x13d),'destPath':h,'context':g,'config':f});const i=['lib',q(0x132),q(0x131),q(0x142)];for(const j of i){const k=d+'/'+j+'/'+c+'.js';await this[q(0x141)][q(0x14a)]({'srcPath':q(0x140)+j+q(0x149),'destPath':k,'context':g,'config':f});}});});
|