@maka/maka-cli 4.7.21 → 4.7.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/obf/package.json +1 -1
- package/bundle/obf/src/command.js +1 -1
- package/bundle/obf/src/commands/_index.js +1 -1
- package/bundle/obf/src/commands/ai.js +1 -1
- package/bundle/obf/src/commands/aws/_index.js +1 -1
- package/bundle/obf/src/commands/aws/aws.command.js +1 -1
- package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/build/_index.js +1 -1
- package/bundle/obf/src/commands/build/build.js +1 -1
- package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/create.js +1 -1
- package/bundle/obf/src/commands/debug.js +1 -1
- package/bundle/obf/src/commands/deploy/_index.js +1 -1
- package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
- package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/_index.js +1 -1
- package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/play.command.js +1 -1
- package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/generate.js +1 -1
- package/bundle/obf/src/commands/get/_index.js +1 -1
- package/bundle/obf/src/commands/get/get.command.js +1 -1
- package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/help.js +1 -1
- package/bundle/obf/src/commands/install.js +1 -1
- package/bundle/obf/src/commands/jsdoc.js +1 -1
- package/bundle/obf/src/commands/lint.js +1 -1
- package/bundle/obf/src/commands/login.js +1 -1
- package/bundle/obf/src/commands/logout.js +1 -1
- package/bundle/obf/src/commands/logs.js +1 -1
- package/bundle/obf/src/commands/maka.cmd.js +1 -1
- package/bundle/obf/src/commands/murder.js +1 -1
- package/bundle/obf/src/commands/proxy.js +1 -1
- package/bundle/obf/src/commands/reconfig.js +1 -1
- package/bundle/obf/src/commands/run/_index.js +1 -1
- package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/run/run.command.js +1 -1
- package/bundle/obf/src/commands/set/_index.js +1 -1
- package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/set.command.js +1 -1
- package/bundle/obf/src/commands/ssh.js +1 -1
- package/bundle/obf/src/commands/ssl.js +1 -1
- package/bundle/obf/src/commands/test.js +1 -1
- package/bundle/obf/src/commands/version.js +1 -1
- package/bundle/obf/src/error.js +1 -1
- package/bundle/obf/src/exec.js +1 -1
- package/bundle/obf/src/generator.js +1 -1
- package/bundle/obf/src/generators/_index.js +1 -1
- package/bundle/obf/src/generators/api.js +1 -1
- package/bundle/obf/src/generators/collection.js +1 -1
- package/bundle/obf/src/generators/component.js +1 -1
- package/bundle/obf/src/generators/config.js +1 -1
- package/bundle/obf/src/generators/dbc.js +1 -1
- package/bundle/obf/src/generators/dockerfile.js +1 -1
- package/bundle/obf/src/generators/hook.js +1 -1
- package/bundle/obf/src/generators/kits/_index.js +1 -1
- package/bundle/obf/src/generators/kits/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/package.json +3 -2
- 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 a99w=a99d;
|
|
1
|
+
const a99w=a99d;(function(a,b){const u=a99d,c=a();while(!![]){try{const d=-parseInt(u(0x1c8))/0x1+parseInt(u(0x1d4))/0x2+parseInt(u(0x1b8))/0x3+parseInt(u(0x1d8))/0x4+-parseInt(u(0x1ab))/0x5*(-parseInt(u(0x1ee))/0x6)+parseInt(u(0x1e0))/0x7+-parseInt(u(0x1b7))/0x8*(parseInt(u(0x1f5))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a99c,0xe5303));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[v(0x1ce)]()[v(0x1fc)](v(0x1dc))[v(0x1ce)]()[v(0x1d5)](a99a)[v(0x1fc)](v(0x1dc));});a99a();function a99c(){const z=['TypeDefs\x20}\x20from\x20\x27','imports','processAndRunGenerator','fsi','-api\x27;','Scaffolding\x20for\x20an\x20api\x20concept\x20(i.e.\x20Todos).','api/api.js','checkMeteorPackage','mongo','options','6utgSvj','maka\x20{generate,\x20g}:{api}\x20<resource-name>','api/tests.js','rpc-methods.','resolvers.','injectIntoFile','checkbox','7146963grcHKE','register-','includes','none','startup','\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','index.','search','if\x20\x5c(typeList','injectAtEndOfFile','withMethods','No\x20API\x20boundaries\x20selected','fixtures.','5921765wZQpmf','import\x20\x27./register-','maka:rest','exit','Resolvers);\x0a\x0a','api','engines','withFixtures','api/methods.js','-api.','/graphql/resolvers','rest','56IATBHN','2697888PzafMY','resourceName','ddp-rate-limiter','server','getMakaProjectConfig','withValue','maka:check','typeList.push(','push','rest-api.','graphql','tsx','rewriteDestinationPathForEngine','collection','withGql','import\x20{\x20typeDefs\x20as\x20','327490KeaQzp','api/publications.js','api/register-api.js','/graphql/typeDefs','withPubs','withRest','toString','typeDefs.','/imports/api','api/typeDefs.js','REST\x20API','.app-tests.','3033774NLeMqo','constructor','injectAtBeginningOfFile','length','5407624ZCJHcV','test','mdg:validated-method','API\x20boundaries\x20to\x20create','(((.+)+)+)+$','dir','GraphQL','RPC\x20(Methods)','13107864CxiPcn','create','template','pathFromApp'];a99c=function(){return z;};return a99c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';function a99d(a,b){const c=a99c();return a99d=function(d,e){d=d-0x1ab;let f=c[d];return f;},a99d(a,b);}import a99e from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a99w(0x1e1)]({'name':a99w(0x1b0),'aliases':['a'],'usage':a99w(0x1ef),'shortDesc':a99w(0x1e9),'validOpts':[a99w(0x1dd)],'examples':['maka\x20g:api\x20Todos'],'description':a99w(0x1fa)},async function(a,b){const x=a99w;try{const c=this[x(0x1e7)][x(0x1bc)](),d=[{'name':x(0x1df),'value':'withMethods'},{'name':'Fixtures','value':x(0x1b2)},{'name':'Publications','value':x(0x1cc)}];c[x(0x1b1)][x(0x1b0)]===x(0x1b6)&&d[x(0x1c0)]({'name':x(0x1d2),'value':x(0x1cd)});c['engines'][x(0x1c2)]==='apollo'&&d[x(0x1c0)]({'name':x(0x1de),'value':x(0x1c6)});const f={'type':x(0x1f4),'name':'apiAnswers','message':x(0x1db),'pageSize':0x64,'choices':d},{apiAnswers:g}=await Actions[x(0x1ed)](f);g[x(0x1d7)]===0x0&&(Log['error'](x(0x200)),process[x(0x1ae)](0x1)),await this['fsi'][x(0x1bd)](c,async()=>{const y=x,h=b[y(0x1b9)],i=paramCase(h),j=camelCase(h),k=b[y(0x1dd)]?'/'+b['dir']+'/':'/',l={'name':pascalCase(h),'fileName':i,'camelCase':pascalCase(h),'optsDir':k,'api':c[y(0x1b1)]['api'],'graphql':c['engines'][y(0x1c2)],'test':c['engines']['test'],'noRename':!![],'withPubs':g['includes'](y(0x1cc)),'withFixtures':g[y(0x1f7)](y(0x1b2)),'withMethods':g[y(0x1f7)]('withMethods'),'withRest':g[y(0x1f7)](y(0x1cd))};let m='js';c['engines']['js']===y(0x1c3)&&(m='ts');await this[y(0x1e7)][y(0x1eb)]([y(0x1ad),y(0x1be),y(0x1ba),y(0x1da),y(0x1ec)],{'shouldInstall':!![]}),await a99e[y(0x1e6)](y(0x1c5),[i],{'config':c,'where':y(0x1bb)});c[y(0x1b1)][y(0x1b0)]===y(0x1b6)&&(l['withRest']&&await this[y(0x1e7)][y(0x1e2)]({'srcPath':y(0x1ea),'destPath':this[y(0x1e7)][y(0x1e3)]({'pathParts':[y(0x1e5),y(0x1b0),b[y(0x1dd)],i,y(0x1c1)+m]}),'context':l,'config':c}));l[y(0x1ff)]&&await this[y(0x1e7)][y(0x1e2)]({'srcPath':y(0x1b3),'destPath':this['fsi']['pathFromApp']({'pathParts':[y(0x1e5),'api',b[y(0x1dd)],i,y(0x1f1)+m]}),'context':l,'config':c});l[y(0x1b2)]&&await this[y(0x1e7)]['template']({'srcPath':'api/fixtures.js','destPath':this['fsi'][y(0x1e3)]({'pathParts':[y(0x1e5),y(0x1b0),b[y(0x1dd)],i,y(0x201)+m]}),'context':l,'config':c});c['engines'][y(0x1d9)]!==y(0x1f8)&&this[y(0x1e7)][y(0x1e2)]({'srcPath':y(0x1f0),'destPath':this[y(0x1e7)]['pathFromApp']({'pathParts':[y(0x1e5),y(0x1b0),b[y(0x1dd)],i,i+y(0x1d3)+m]}),'context':l,'config':c});l[y(0x1cc)]&&await this['fsi'][y(0x1e2)]({'srcPath':y(0x1c9),'destPath':this[y(0x1e7)][y(0x1e3)]({'pathParts':['imports',y(0x1b0),b[y(0x1dd)],i,'publications.'+m]}),'context':l,'config':c});if(c['engines'][y(0x1c2)]==='apollo'){if(g['includes']('withGql')){const o=this[y(0x1e7)][y(0x1e3)]({'pathParts':[y(0x1e5),y(0x1f9),y(0x1bb),y(0x1fb)+c['engines']['js']]}),p=this[y(0x1e7)][y(0x1c4)]({'pathParts':[o],'config':c}),q=this[y(0x1e7)]['pathFromApp']({'pathParts':[y(0x1e5),y(0x1b0),b['dir'],i,y(0x1c2),y(0x1cf)+m]}),r=y(0x1d0)+k+i+y(0x1cb);this[y(0x1e7)][y(0x1e2)]({'srcPath':y(0x1d1),'destPath':q,'context':l,'config':c}),await this[y(0x1e7)][y(0x1d6)]({'filePath':p,'content':y(0x1c7)+j+y(0x1e4)+r+'\x27;\x0a'}),await this[y(0x1e7)][y(0x1f3)]({'filePath':p,'content':y(0x1bf)+j+'TypeDefs);\x0a','begin':'const','end':'if\x20\x5c(typeList'});const s=this[y(0x1e7)][y(0x1e3)]({'pathParts':[y(0x1e5),y(0x1b0),b['dir'],i,y(0x1c2),y(0x1f2)+m]}),t=y(0x1d0)+k+i+y(0x1b5);await this['fsi'][y(0x1e2)]({'srcPath':'api/resolvers.js','destPath':s,'context':l,'config':c}),await this[y(0x1e7)][y(0x1d6)]({'filePath':p,'content':'\x0aimport\x20{\x20resolvers\x20as\x20'+j+'Resolvers\x20}\x20from\x20\x27'+t+'\x27;'}),await this[y(0x1e7)][y(0x1f3)]({'filePath':p,'content':'resolverList.push('+j+y(0x1af),'begin':'const','end':y(0x1fd)});}}await this[y(0x1e7)][y(0x1e2)]({'srcPath':y(0x1ca),'destPath':this[y(0x1e7)][y(0x1e3)]({'pathParts':['imports',y(0x1f9),y(0x1bb),y(0x1f6)+i+y(0x1b4)+m]}),'context':l,'config':c,'force':!![]});const n=this[y(0x1e7)][y(0x1e3)]({'pathParts':[y(0x1e5),y(0x1f9),'server',y(0x1fb)+c[y(0x1b1)]['js']]});await this[y(0x1e7)][y(0x1fe)]({'filePath':n,'content':y(0x1ac)+i+y(0x1e8)});});}catch(h){console['error'](h),process[x(0x1ae)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a100l=a100d;function a100c(){const o=['injectAtEndOfFile','(((.+)+)+)+$','where','133980HVLQXT','maka:check','5934qnfdxL','collection/tests.js','col','checkMeteorPackage','fsi','tsx','getMakaProjectConfig','collections','toString','resourceName','1012TyHycP','test','create','startup','import\x20\x27./collections','template','engines','13565QxORfT','constructor','collection','index.','dir','12312270xiYShK','6139jkpUWp','search','appPathPrefix','none','11230880dPuOIZ','maka\x20{generate,\x20g}:{collection,\x20col}\x20<name>','pathFromApp','collection/collection.js','Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection','771920IuJLfD','error','4sYwJVN','.app-tests.','2158557nfQSJs'];a100c=function(){return o;};return a100c();}(function(a,b){const j=a100d,c=a();while(!![]){try{const d=-parseInt(j(0x1e8))/0x1+-parseInt(j(0x1e2))/0x2*(-parseInt(j(0x1e4))/0x3)+-parseInt(j(0x1f4))/0x4*(-parseInt(j(0x1d1))/0x5)+parseInt(j(0x1ea))/0x6*(-parseInt(j(0x1d7))/0x7)+-parseInt(j(0x1e0))/0x8+-parseInt(j(0x1d6))/0x9+parseInt(j(0x1db))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a100c,0xbf146));const a100b=(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;};}()),a100a=a100b(this,function(){const k=a100d;return a100a[k(0x1f2)]()[k(0x1d8)](k(0x1e6))[k(0x1f2)]()[k(0x1d2)](a100a)[k(0x1d8)](k(0x1e6));});function a100d(a,b){const c=a100c();return a100d=function(d,e){d=d-0x1cd;let f=c[d];return f;},a100d(a,b);}a100a();import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a100l(0x1f6)]({'name':a100l(0x1d3),'aliases':[a100l(0x1ec)],'usage':a100l(0x1dc),'checkWhere':!![],'shortDesc':a100l(0x1df),'validOpts':[a100l(0x1d5),a100l(0x1e7)],'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':['maka\x20g:collection\x20todos']},async function(a,b){const m=a100l;try{const c=this[m(0x1ee)][m(0x1f0)]();await this[m(0x1ee)]['withValue'](c,async()=>{const n=m,d=paramCase(b[n(0x1f3)]),f={'name':pascalCase(b[n(0x1f3)]),'collectionName':pascalCase(b[n(0x1f3)]),'fileName':d,'where':b[n(0x1e7)],'test':c[n(0x1d0)][n(0x1f5)],'noRename':!![]};let g='js';c[n(0x1d0)]['js']===n(0x1ef)&&(g='ts');await this['fsi'][n(0x1ed)](['mongo',n(0x1e9)],{'shouldInstall':!![]}),await this[n(0x1ee)]['template']({'srcPath':n(0x1de),'destPath':this[n(0x1ee)][n(0x1dd)]({'pathParts':['imports','startup',b[n(0x1d9)],n(0x1f1),b['dir'],d+'.'+g]}),'context':f,'config':c});c['engines']['test']!==n(0x1da)&&await this[n(0x1ee)][n(0x1cf)]({'srcPath':n(0x1eb),'destPath':this[n(0x1ee)][n(0x1dd)]({'pathParts':['imports',n(0x1cd),b[n(0x1d9)],n(0x1f1),b[n(0x1d5)],d+n(0x1e3)+g]}),'context':f,'config':c});const h=b[n(0x1d5)]?'/'+b[n(0x1d5)]+'/':'/',i=this[n(0x1ee)]['pathFromApp']({'pathParts':['imports',n(0x1cd),b[n(0x1d9)],n(0x1d4)+c[n(0x1d0)]['js']]});await this[n(0x1ee)][n(0x1e5)]({'filePath':i,'content':n(0x1ce)+h+d+'\x27;'});});}catch(d){Log[m(0x1e1)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a101m=a101d;function a101c(){const p=['maka\x20g:comp\x20todos/todos-item','component','checkNpmPackage','144015TfgDhs','template','492948GlJzIf','.js','findAppDirectory','resourceName','10xOFiGp','injectAtBeginningOfFile','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','none','search','error','7538699aObnQt','assign','css','theme','.css','dir','string','client','test/test.js','true','component/component.js','2ETkVVq','root','className','injectTemplateModule','56svObtW','comp','ssr','create','4718615YLaAHS','/imports/ui/components','withValue','16IaSArc','test','installNpmPackage','react','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','engines','layouts','getMakaProjectConfig','/imports/ui/','setTemplate','api','Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','hooks','toString','fsi','features','fileName','1281267SoZDBN','1088972DymNnA','baseDir','ramda','1697720HuZNrk'];a101c=function(){return p;};return a101c();}(function(a,b){const k=a101d,c=a();while(!![]){try{const d=-parseInt(k(0x18e))/0x1+-parseInt(k(0x171))/0x2*(-parseInt(k(0x195))/0x3)+-parseInt(k(0x17c))/0x4*(-parseInt(k(0x191))/0x5)+-parseInt(k(0x197))/0x6+parseInt(k(0x166))/0x7+parseInt(k(0x175))/0x8*(-parseInt(k(0x18d))/0x9)+-parseInt(k(0x160))/0xa*(-parseInt(k(0x179))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a101c,0xb5bf0));const a101b=(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;};}()),a101a=a101b(this,function(){const l=a101d;return a101a[l(0x189)]()['search']('(((.+)+)+)+$')[l(0x189)]()['constructor'](a101a)[l(0x164)]('(((.+)+)+)+$');});a101a();import a101e from'path';function a101d(a,b){const c=a101c();return a101d=function(d,e){d=d-0x15d;let f=c[d];return f;},a101d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';const aliases=[a101m(0x176)];Generator[a101m(0x178)]({'name':a101m(0x193),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','shortDesc':a101m(0x187),'validOpts':[{'name':a101m(0x18f),'values':[a101m(0x188),'components','pages',a101m(0x182)]}],'examples':[a101m(0x192)]},async function(a,b){const n=a101m;try{const c=this[n(0x18a)][n(0x15e)](),d=b[n(0x18f)]?n(0x184)+b[n(0x18f)]:n(0x17a),f=this[n(0x18a)]['pathFromApp']({'pathParts':[d,b['dir'],paramCase(b['resourceName']),paramCase(b[n(0x15f)])]}),g=await this['fsi'][n(0x183)]();await this[n(0x18a)][n(0x17b)](g,async()=>{const o=n;typeof g[o(0x196)][o(0x17d)]===o(0x16c)&&(g[o(0x196)][o(0x17d)]=g['template'][o(0x17d)]==='true'?!![]:![],this['fsi'][o(0x185)](o(0x17d),g[o(0x196)][o(0x17d)]));typeof g[o(0x196)][o(0x168)]===o(0x16c)&&(g['template'][o(0x168)]=g[o(0x196)][o(0x168)]===o(0x16f)?!![]:![],this['fsi'][o(0x185)](o(0x168),g[o(0x196)][o(0x168)]));typeof g[o(0x196)]['js']===o(0x16c)&&(g[o(0x196)]['js']=g['template']['js']==='true'?!![]:![],this['fsi'][o(0x185)]('js',g[o(0x196)]['js']));!g[o(0x18b)]&&(g[o(0x18b)]={});!b[o(0x172)]&&!this[o(0x18a)][o(0x194)](o(0x190))&&(Log['warn'](o(0x180)),await this['fsi'][o(0x17e)](o(0x190),{'cwd':c}));if(!b[o(0x172)]&&!this['fsi'][o(0x194)](o(0x17f))){Log[o(0x165)](o(0x162));return;}const h={'name':pascalCase(b[o(0x15f)]),'myPath':a101e['relative'](this[o(0x18a)]['pathFromProject']({}),f),'cssCaseName':paramCase(b[o(0x15f)]),'className':pascalCase(b[o(0x15f)]),'camelCaseName':camelCase(b[o(0x15f)]),'fileName':paramCase(b[o(0x15f)]),'graphql':g[o(0x181)]['graphql'],'features':g[o(0x18b)],'client':g[o(0x181)][o(0x16d)],'api':g['engines'][o(0x186)],'ssr':g['engines'][o(0x177)],'test':g['engines'][o(0x17d)],'theme':g[o(0x181)][o(0x169)],'isLayout':![],'isComponent':!![],'withTranslations':g[o(0x18b)]['withTranslations']};await this[o(0x18a)][o(0x196)]({'srcPath':o(0x170),'destPath':f+o(0x15d),'context':h,'framework':o(0x17f),'config':g});g[o(0x181)]['test']!==o(0x163)&&await this[o(0x18a)][o(0x196)]({'srcPath':o(0x16e),'destPath':f+'.tests.js','context':h,'framework':o(0x17f),'config':g});g['template']['css']&&(await this['fsi']['template']({'srcPath':'template/template.css','destPath':f+o(0x16a),'context':Object[o(0x167)]({},h,{'className':paramCase(b['resourceName'])}),'config':g}),await this[o(0x18a)][o(0x161)]({'filePath':f+'.'+g[o(0x181)]['js'],'content':'import\x20\x27./'+h['cssCaseName']+'.'+g['engines'][o(0x168)]+'\x27;'}));const i=b[o(0x16b)]?'/'+b[o(0x16b)]+'/':'/',j=''+d+i+h['fileName']+'/'+h[o(0x18c)];await this['fsi'][o(0x174)](h[o(0x173)],g,j);});}catch(h){Log[n(0x165)](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a102k=a102d;(function(a,b){const h=a102d,c=a();while(!![]){try{const d
|
|
1
|
+
const a102k=a102d;(function(a,b){const h=a102d,c=a();while(!![]){try{const d=parseInt(h(0x128))/0x1*(parseInt(h(0x114))/0x2)+parseInt(h(0x121))/0x3+-parseInt(h(0x131))/0x4*(parseInt(h(0x120))/0x5)+parseInt(h(0x130))/0x6*(-parseInt(h(0x123))/0x7)+parseInt(h(0x133))/0x8*(parseInt(h(0x127))/0x9)+parseInt(h(0x12d))/0xa+parseInt(h(0x122))/0xb*(-parseInt(h(0x126))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a102c,0x6ba25));const a102b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a102d;if(c){const e=c[i(0x125)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a102a=a102b(this,function(){const j=a102d;return a102a[j(0x119)]()[j(0x11c)](j(0x12b))[j(0x119)]()[j(0x117)](a102a)[j(0x11c)]('(((.+)+)+)+$');});a102a();function a102c(){const n=['settings.json','toString','prod','config/settings.json','search','appName','config','ubuntu','770Eokehi','1161969YqwVsN','19052OwSBGH','6030927NUaZYV','fsi','apply','1644cbTKOc','36AQhoJQ','601481bkvvMN','isDocker','Generate\x20configuration\x20settings.','(((.+)+)+)+$','maka\x20{generate,\x20g}:{config}\x20<name>','7157700WyvZOm','dev','resourceName','6sHeZwu','7112qKarfl','config/process.env','217904qzgfsA','process.env','maka\x20g:config\x20production','create','withValue','2aeEKoo','template','getMakaProjectConfig','constructor'];a102c=function(){return n;};return a102c();}import{Generator}from'../generator.js';function a102d(a,b){const c=a102c();return a102d=function(d,e){d=d-0x113;let f=c[d];return f;},a102d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';Generator[a102k(0x136)]({'name':a102k(0x11e),'usage':a102k(0x12c),'shortDesc':a102k(0x12a),'validOpts':[a102k(0x129)],'examples':[a102k(0x135)]},async function(a,b){const l=a102k,c=this['fsi'][l(0x116)]();await this['fsi'][l(0x113)](c,async()=>{const m=l,d={'app':c[m(0x11d)],'appFileCase':paramCase(c[m(0x11d)]),'name':pascalCase(b[m(0x12f)]),'fileName':paramCase(b[m(0x12f)]),'camelCase':camelCase(b[m(0x12f)]),'userName':m(0x11f),'isDocker':b[m(0x129)]};let e=b[m(0x12f)];if(e===m(0x12e))e='development';else e===m(0x11a)&&(e='production');const f=this[m(0x124)]['pathFromProject']({'pathParts':[m(0x11e),e,m(0x118)]});await this['fsi'][m(0x115)]({'srcPath':m(0x11b),'destPath':f,'context':d,'config':c});if(!b['isDocker']){const g=this[m(0x124)]['pathFromProject']({'pathParts':[m(0x11e),e,m(0x134)]});await this[m(0x124)]['template']({'srcPath':m(0x132),'destPath':g,'context':d,'config':c});}});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a103m=a103d;(function(a,b){const j=a103d,c=a();while(!![]){try{const d
|
|
1
|
+
const a103m=a103d;function a103c(){const p=['dbc/register-dbc.js','import\x20\x27./register-','toString','398832mGLycj','dbc','88GTkXGt','Npm\x20package\x20\x22better-sqlite3\x22\x20not\x20installed,\x20installing...','template','conn.','dir','type','startup','2226mqtaHz','Npm\x20package\x20\x22pg\x22\x20not\x20installed,\x20installing...','resourceName','maka\x20g:dbc\x20azure\x20--type=mssql','(((.+)+)+)+$','fsi','register-','checkNpmPackage','dbc/config.js','2749327YVpfEj','maka\x20g:dbc\x20todos\x20--type=sqlite','pgsql','6190XYSPTZ','2459124mQzVag','-dbc\x27;','better-sqlite3','159618XcXRgf','imports','Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','warn','engines','6rrgkJU','create','pathFromApp','withValue','366SjNvtL','mssql','error','index.','search','tsx','Npm\x20package\x20\x22mssql\x22\x20not\x20installed,\x20installing...','sqlite','constructor','maka\x20g:dbc\x20geoserver\x20--type=pgsql','10kjJXhs','installNpmPackage','5904392ktMQHe','apply','config.','server'];a103c=function(){return p;};return a103c();}(function(a,b){const j=a103d,c=a();while(!![]){try{const d=parseInt(j(0x11a))/0x1+-parseInt(j(0xee))/0x2*(parseInt(j(0x10a))/0x3)+-parseInt(j(0x101))/0x4*(parseInt(j(0xf8))/0x5)+parseInt(j(0xea))/0x6*(-parseInt(j(0x113))/0x7)+parseInt(j(0xfa))/0x8+parseInt(j(0x117))/0x9+-parseInt(j(0x116))/0xa*(-parseInt(j(0x103))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a103c,0x6d594));const a103b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a103d;if(c){const e=c[k(0xfb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a103a=a103b(this,function(){const l=a103d;return a103a[l(0x100)]()['search'](l(0x10e))[l(0x100)]()[l(0xf6)](a103a)[l(0xf2)]('(((.+)+)+)+$');});a103a();function a103d(a,b){const c=a103c();return a103d=function(d,e){d=d-0xe9;let f=c[d];return f;},a103d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a103m(0xeb)]({'name':a103m(0x102),'usage':'maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','shortDesc':a103m(0x11c),'validOpts':['dir'],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a103m(0x108),'values':[a103m(0x115),a103m(0xef),a103m(0xf5)]}],'examples':[a103m(0xf7),a103m(0x10d),a103m(0x114)]},async function(a,b){const n=a103m;try{const c=await this[n(0x10f)]['getMakaProjectConfig'](),d=this['fsi']['pathFromApp']({}),f=paramCase(b['resourceName']),g={'name':pascalCase(b['resourceName']),'fileName':paramCase(b[n(0x10c)]),'camelCase':camelCase(b[n(0x10c)]),'type':b[n(0x108)],'engine':c[n(0xe9)]['js'],'noRename':!![]};await this[n(0x10f)][n(0xed)](c,async()=>{const o=n;let h='js';c[o(0xe9)]['js']===o(0xf3)&&(h='ts');b[o(0x108)]===o(0x115)&&!this['fsi'][o(0x111)]('pg')&&(Log[o(0x11d)](o(0x10b)),await this['fsi']['installNpmPackage']('pg',{'cwd':d}));b[o(0x108)]===o(0xef)&&!this[o(0x10f)]['checkNpmPackage'](o(0xef))&&(Log[o(0x11d)](o(0xf4)),await this[o(0x10f)]['installNpmPackage'](o(0xef),{'cwd':d}));b['type']===o(0xf5)&&!this[o(0x10f)][o(0x111)](o(0x119))&&(Log['warn'](o(0x104)),await this[o(0x10f)][o(0xf9)](o(0x119),{'cwd':d}));await this[o(0x10f)]['template']({'srcPath':o(0x112),'destPath':this[o(0x10f)]['pathFromApp']({'pathParts':[o(0x11b),'startup',o(0xfd),o(0x102),b[o(0x107)],f,o(0xfc)+h]}),'context':g,'config':c}),await this[o(0x10f)]['template']({'srcPath':'dbc/conn.js','destPath':this[o(0x10f)][o(0xec)]({'pathParts':['imports',o(0x109),o(0xfd),o(0x102),b[o(0x107)],f,o(0x106)+h]}),'context':g,'config':c}),await this['fsi'][o(0x105)]({'srcPath':o(0xfe),'destPath':this[o(0x10f)][o(0xec)]({'pathParts':['imports',o(0x109),o(0xfd),o(0x110)+f+'-dbc.'+h]}),'context':g,'config':c});const i=this[o(0x10f)][o(0xec)]({'pathParts':[o(0x11b),o(0x109),'server',o(0xf1)+c[o(0xe9)]['js']]});await this['fsi']['injectAtEndOfFile']({'filePath':i,'content':o(0xff)+f+o(0x118)});});}catch(h){Log[n(0xf0)](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(0x12a))/0x1+parseInt(f(0x131))/0x2*(parseInt(f(0x126))/0x3)+-parseInt(f(0x11d))/0x4*(-parseInt(f(0x117))/0x5)+-parseInt(f(0x137))/0x6*(parseInt(f(0x12c))/0x7)+parseInt(f(0x11b))/0x8*(parseInt(f(0x11e))/0x9)+-parseInt(f(0x121))/0xa*(parseInt(f(0x11f))/0xb)+parseInt(f(0x120))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a104c,0xf1153));const a104b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a104d;if(c){const e=c[g(0x130)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a104a=a104b(this,function(){const h=a104d;return a104a[h(0x128)]()[h(0x133)]('(((.+)+)+)+$')[h(0x128)]()['constructor'](a104a)[h(0x133)](h(0x123));});a104a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a104d(a,b){const c=a104c();return a104d=function(d,e){d=d-0x115;let f=c[d];return f;},a104d(a,b);}function a104c(){const l=['appName','Generate\x20an\x20updated\x20dockerfile','5sBAOQe','service','cert','join','1625136KFaBOx','create','4386764PHUxTA','72WsFZrh','517825wqUjxj','9976188OTRUox','110yFhqzG','isFile','(((.+)+)+)+$','getGlobalConfig','dockerfile','12891mVayZE','app','toString','fsi','1944361EyrFtM','getMakaProjectConfig','135058qGtwAu','maka\x20g:dockerfile','docker/Dockerfile','error','apply','778pBzIXY','Dockerfile','search','maka\x20{generate,\x20g}:dockerfile','template','findProjectDirectory','552cKaOPC','withValue'];a104c=function(){return l;};return a104c();}import a104e from'path';Generator[a104i(0x11c)]({'name':a104i(0x125),'usage':a104i(0x134),'shortDesc':a104i(0x116),'validOpts':[],'noNeedResource':!![],'examples':[a104i(0x12d)]},async function(){const j=a104i;try{const a=await this[j(0x129)][j(0x12b)](),b=await this[j(0x129)][j(0x124)](),c=this[j(0x129)][j(0x136)]();await this[j(0x129)][j(0x138)](a,async()=>{const k=j,d={'app':b[k(0x115)],'config':a,'appPath':a104e[k(0x11a)](c,k(0x127)),'bundlePath':a104e[k(0x11a)](c,'build','app.tar.gz'),'useCert':this[k(0x129)][k(0x122)](b[k(0x119)])};await this['fsi'][k(0x135)]({'srcPath':k(0x12e),'destPath':a104e['join'](c,k(0x132)),'framework':k(0x118),'context':d,'config':a});});}catch(d){Log[j(0x12f)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a105c(){const
|
|
1
|
+
const a105o=a105d;(function(a,b){const l=a105d,c=a();while(!![]){try{const d=-parseInt(l(0x10d))/0x1*(-parseInt(l(0x12f))/0x2)+parseInt(l(0x119))/0x3+parseInt(l(0x133))/0x4*(-parseInt(l(0x13f))/0x5)+parseInt(l(0x144))/0x6*(-parseInt(l(0x135))/0x7)+parseInt(l(0x113))/0x8+-parseInt(l(0x124))/0x9+-parseInt(l(0x129))/0xa*(parseInt(l(0x118))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a105c,0x43397));const a105b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a105d;if(c){const e=c[m(0x120)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a105a=a105b(this,function(){const n=a105d;return a105a[n(0x13b)]()[n(0x136)]('(((.+)+)+)+$')['toString']()[n(0x14b)](a105a)[n(0x136)](n(0x125));});function a105d(a,b){const c=a105c();return a105d=function(d,e){d=d-0x10d;let f=c[d];return f;},a105d(a,b);}a105a();function a105c(){const r=['22778ZveHhz','search','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','fsi','force','\x20hook...','toString','string','template','/imports/ui/hooks','2514845qpIbYB','resourceName','create','hook/hook.js','baseDir','312mtipni','injectTemplateModule','relative','react','theme','dir','hook','constructor','1olCFsI','@apollo/client','/imports/ui/','maka\x20g:hook\x20cool-hook','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','injectAtBeginningOfFile','3357704SLOATc','\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','fileName','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','cssCaseName','72941UmSPlm','1222179Cegsot','setTemplate','css','checkNpmPackage','pages','@apollo/client\x20isomorphic-fetch','engines','apply','graphql','getMakaProjectConfig','features','2326491aOSfSK','(((.+)+)+)+$','warn','notice','template/template.css','110dCDpld','Creating\x20','error','installNpmPackage','components','.app-tests.js','903724XTJVGY','import\x20\x27./','pathFromApp','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','4jXcJEz','.css'];a105c=function(){return r;};return a105c();}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(0x141)]({'name':a105o(0x14a),'aliases':['h'],'checkWhere':![],'usage':a105o(0x132),'shortDesc':a105o(0x116),'validOpts':[{'name':a105o(0x143),'values':['hooks',a105o(0x12d),a105o(0x11d),'layouts']},{'name':a105o(0x139),'boolFlag':!![]}],'examples':[a105o(0x110)],'description':a105o(0x114)},async function(a,b){const p=a105o;Log[p(0x127)](p(0x12a)+b['resourceName']+p(0x13a));try{const c=this[p(0x138)][p(0x11c)](p(0x147));if(!c){Log['error'](p(0x111));throw new UsageError();}const d=this[p(0x138)]['pathFromApp'](b),f=b[p(0x143)]?p(0x10f)+b[p(0x143)]:p(0x13e),g=this[p(0x138)][p(0x131)]({'pathParts':[f,b[p(0x149)],paramCase(b['resourceName']),paramCase(b[p(0x140)])]}),h=await this['fsi'][p(0x122)]();await this[p(0x138)]['withValue'](h,async()=>{const q=p;typeof h['template']['css']===q(0x13c)&&(h['template'][q(0x11b)]=h['template'][q(0x11b)]==='true'?!![]:![],this[q(0x138)][q(0x11a)](q(0x11b),h['template'][q(0x11b)]));h[q(0x11f)][q(0x121)]==='apollo'&&!this[q(0x138)][q(0x11c)](q(0x10e))&&(Log[q(0x126)](q(0x137)),await this[q(0x138)][q(0x12c)](q(0x11e),{'cwd':d}));const i={'cssCaseName':paramCase(b[q(0x140)]),'camelCaseName':camelCase(b[q(0x140)]),'className':pascalCase(b['resourceName']),'name':pascalCase(b[q(0x140)]),'graphql':h[q(0x11f)][q(0x121)],'theme':h[q(0x11f)][q(0x148)],'features':h[q(0x123)],'myPath':a105e[q(0x146)](this[q(0x138)]['pathFromProject']({}),g),'fileName':paramCase(b[q(0x140)]),'isComponent':![],'isLayout':![],'withTranslations':h[q(0x123)]['withTranslations']};await this[q(0x138)]['template']({'srcPath':q(0x142),'destPath':g+'.js','context':i,'config':h,'framework':q(0x147),'force':b[q(0x139)]});h[q(0x13d)][q(0x11b)]&&(await this[q(0x138)][q(0x13d)]({'srcPath':q(0x128),'destPath':g+q(0x134),'context':Object['assign']({},i,{'className':i[q(0x117)]}),'config':h,'force':b['force']}),await this['fsi'][q(0x112)]({'filePath':g+'.'+h[q(0x11f)]['js'],'content':q(0x130)+i['fileName']+'.'+h['engines'][q(0x11b)]+'\x27;'}));h[q(0x11f)]['test']!=='none'&&await this['fsi']['template']({'srcPath':'test/test.js','destPath':g+q(0x12e),'framework':'react','context':i,'config':h,'force':b[q(0x139)]});const j=b[q(0x149)]?'/'+b[q(0x149)]+'/':'/',k=''+f+j+i[q(0x115)]+'/'+i['fileName'];await this[q(0x138)][q(0x145)](i['className'],h,k);});}catch(i){Log[p(0x12b)](i);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a106d,c=a();while(!![]){try{var d=parseInt(f(0x1d8))/0x1*(parseInt(f(0x1dc))/0x2)+-parseInt(f(0x1d2))/0x3+-parseInt(f(0x1d4))/0x4*(parseInt(f(0x1de))/0x5)+parseInt(f(0x1d9))/0x6+parseInt(f(0x1d3))/0x7*(-parseInt(f(0x1db))/0x8)+parseInt(f(0x1e0))/0x9*(parseInt(f(0x1dd))/0xa)+parseInt(f(0x1d6))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a106c,0x94ddb));function a106d(a,b){var c=a106c();return a106d=function(d,e){d=d-0x1d2;var f=c[d];return f;},a106d(a,b);}function a106c(){var h=['4CzMJJS','(((.+)+)+)+$','9258150jBcFqn','toString','352vZtejS','2181936XBvVKO','search','6556832nugoop','6712VVGkYl','10NfxtJT','60050lWBzBT','constructor','756882UDctcg','3088041OXpDfS','7vvgkTp'];a106c=function(){return h;};return a106c();}var a106b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a106a=a106b(this,function(){var g=a106d;return a106a['toString']()[g(0x1da)](g(0x1d5))[g(0x1d7)]()[g(0x1df)](a106a)[g(0x1da)](g(0x1d5));});a106a();import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a107d,c=a();while(!![]){try{var d
|
|
1
|
+
function a107c(){var i=['1457736ZukZJO','(((.+)+)+)+$','constructor','toString','247592aDhhhu','1818zVmXEg','search','200QFlstJ','10eHfgVR','3577590zIsLXN','516jNgsTz','2fidzJF','apply','9055035sAmTCQ','68652JckvHv','388vpBIou'];a107c=function(){return i;};return a107c();}(function(a,b){var f=a107d,c=a();while(!![]){try{var d=-parseInt(f(0x156))/0x1*(-parseInt(f(0x14f))/0x2)+parseInt(f(0x155))/0x3*(parseInt(f(0x15a))/0x4)+-parseInt(f(0x153))/0x5*(-parseInt(f(0x150))/0x6)+parseInt(f(0x15b))/0x7+-parseInt(f(0x152))/0x8*(-parseInt(f(0x159))/0x9)+parseInt(f(0x154))/0xa+-parseInt(f(0x158))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a107c,0x30704));var a107b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a107d;if(c){var e=c[g(0x157)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a107a=a107b(this,function(){var h=a107d;return a107a[h(0x15e)]()[h(0x151)](h(0x15c))[h(0x15e)]()[h(0x15d)](a107a)[h(0x151)]('(((.+)+)+)+$');});a107a();import'./esri.generator.js';function a107d(a,b){var c=a107c();return a107d=function(d,e){d=d-0x14f;var f=c[d];return f;},a107d(a,b);}import'./map.esri.gen.js';
|
|
@@ -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(0xe1))/0x1*(-parseInt(f(0xe0))/0x2)+-parseInt(f(0xde))/0x3+parseInt(f(0xef))/0x4*(-parseInt(f(0xed))/0x5)+-parseInt(f(0xee))/0x6*(-parseInt(f(0xe5))/0x7)+-parseInt(f(0xe8))/0x8+-parseInt(f(0xe6))/0x9+parseInt(f(0xe9))/0xa*(parseInt(f(0xea))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a108c,0xdf538));function a108c(){const k=['70706977fretTq','search','apply','57455mmZLGQ','1193544Ivkhht','364KITJHP','NIE','toString','4139220SkBGvH','maka\x20g:kit:e','1293958GRWBty','1PXwCvL','(((.+)+)+)+$','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','constructor','14yBYdKw','14153544VIonyp','create','10127960uoYuaJ','10deqPIQ'];a108c=function(){return k;};return a108c();}const a108b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a108d;if(c){const e=c[g(0xec)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a108a=a108b(this,function(){const h=a108d;return a108a['toString']()[h(0xeb)](h(0xe2))[h(0xdd)]()[h(0xe4)](a108a)['search'](h(0xe2));});a108a();import{Generator}from'../../../generator.js';import a108e from'../kit.js';const EsriGen=Generator[a108i(0xe7)]({'name':'esri','aliases':['e'],'usage':a108i(0xe3),'noNeedResource':!![],'shortDesc':'Starting\x20point\x20for\x20generating\x20Esri\x20Maps','validOpts':[''],'isPro':!![],'examples':[a108i(0xdf)],'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(){const j=a108i;throw j(0xdc);},a108e);function a108d(a,b){const c=a108c();return a108d=function(d,e){d=d-0xdc;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=-parseInt(p(
|
|
1
|
+
const a109s=a109d;(function(a,b){const p=a109d,c=a();while(!![]){try{const d=-parseInt(p(0xa3))/0x1*(parseInt(p(0xa8))/0x2)+parseInt(p(0x95))/0x3+parseInt(p(0x9f))/0x4+parseInt(p(0x9a))/0x5*(-parseInt(p(0x78))/0x6)+parseInt(p(0x87))/0x7*(parseInt(p(0xa5))/0x8)+-parseInt(p(0x93))/0x9+parseInt(p(0x81))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a109c,0xc4526));function a109c(){const v=['/imports/ui/','15712mxtOIU','\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','bright','18HQHarl','search','engines','injectTemplateModule','true','66dalmVV','getMakaProjectConfig','<div\x20id=\x22map-component\x22>','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','basic-map','kit/esri/map/','</div>','Generate\x20an\x20Esri\x20map\x20component','<div\x20id=\x22map-hook\x22>','12541080nDiIDc','processAndRunGenerator','REACT','split','/imports/ui/hooks','findProjectDirectory','3066fndfCV','fsi','injectImport','replaceAll','FALSE','constructor','ssr','@esri/react-arcgis','apply','toString','map','pathFromApp','12695976NLraxv','(((.+)+)+)+$','3358863RtYDaF','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','template','injectIntoFile','appName','569110dLLokM','.js','baseDir','react','Generating\x20a\x20map\x20component','4178248oUSPCM','error','create','dir','90187HzaEkF'];a109c=function(){return v;};return a109c();}const a109b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a109d;if(c){const e=c[q(0x8f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a109a=a109b(this,function(){const r=a109d;return a109a[r(0x90)]()[r(0x74)](r(0x94))[r(0x90)]()[r(0x8c)](a109a)[r(0x74)]('(((.+)+)+)+$');});a109a();function a109d(a,b){const c=a109c();return a109d=function(d,e){d=d-0x74;let f=c[d];return f;},a109d(a,b);}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';Generator[a109s(0xa1)]({'name':a109s(0x91),'aliases':['m'],'usage':a109s(0x7b),'shortDesc':a109s(0x7f),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a109s(0x83)],'ssr':SsrEngines[a109s(0x8b)]},'description':a109s(0xa6)},async function(a,b){const t=a109s;try{Log[t(0xa7)](t(0x9e));const c=t(0x7c);await this[t(0x88)]['checkNpmPackage']([t(0x8e),'esri-loader'],{'shouldInstall':!![]});const d=this[t(0x88)][t(0x86)](),f=this[t(0x88)][t(0x79)](),g=f[t(0x75)][t(0x8d)]===t(0x77),h=await a109f[t(0x82)]('page',[t(0x91)],{'cwd':d,'config':f}),i={'name':headerCase(f[t(0x99)])[t(0x8a)]('-','\x20'),'componentName':pascalCase(c)},j=b['baseDir']?t(0xa4)+b[t(0x9c)]:t(0x85),k=this[t(0x88)][t(0x92)]({'pathParts':[j,b[t(0xa2)],paramCase(c),paramCase(c)]});this['fsi']['withValue'](f,async()=>{const u=t;this['fsi'][u(0x97)]({'srcPath':u(0x7d)+c+u(0x9b),'destPath':k+'.js','framework':u(0x9d),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[t(0xa2)]+'/'+c+'/'+c;await this[t(0x88)][t(0x76)](c,f,l);const m=h[t(0x84)]('/'),n=this[t(0x88)][t(0x92)]({'pathParts':m});await this[t(0x88)][t(0x89)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?'/imports/startup/lib/templates':'/imports/startup/client/templates','isNamedExport':!![]}),await this[t(0x88)][t(0x98)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+t(0x96),'begin':[t(0x80),t(0x7a)],'end':[t(0x7e)],'replace':!![]});}catch(o){Log[t(0xa0)](o),process['exit'](0x1);}},a109e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a110i=a110d;(function(a,b){const f=a110d,c=a();while(!![]){try{const d
|
|
1
|
+
const a110i=a110d;(function(a,b){const f=a110d,c=a();while(!![]){try{const d=-parseInt(f(0x16d))/0x1*(parseInt(f(0x169))/0x2)+parseInt(f(0x172))/0x3*(parseInt(f(0x16f))/0x4)+parseInt(f(0x162))/0x5+-parseInt(f(0x16b))/0x6+-parseInt(f(0x16a))/0x7+-parseInt(f(0x167))/0x8+-parseInt(f(0x173))/0x9*(-parseInt(f(0x163))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a110c,0x6cc03));const a110b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a110d;if(c){const e=c[g(0x166)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a110a=a110b(this,function(){const h=a110d;return a110a['toString']()['search'](h(0x174))[h(0x164)]()[h(0x165)](a110a)[h(0x16e)](h(0x174));});function a110c(){const j=['8040PejYZU','6210806hNjLlI','3979176RDgoRF','maka\x20g:kit','213tEcyIO','search','28rmBwHa','create','maka\x20{generate,\x20g}:{kit}\x20<name>','323307RStmyh','2214LiXIpS','(((.+)+)+)+$','15685tWFPEC','116570KIIwcl','toString','constructor','apply','6183880VFNBFJ','kit'];a110c=function(){return j;};return a110c();}a110a();function a110d(a,b){const c=a110c();return a110d=function(d,e){d=d-0x162;let f=c[d];return f;},a110d(a,b);}import{Generator}from'../../generator.js';const KitGen=Generator[a110i(0x170)]({'name':a110i(0x168),'aliases':['k'],'usage':a110i(0x171),'shortDesc':'Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a110i(0x16c),'maka\x20g:k']},async function(){});export default KitGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a111d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
function a111c(){var h=['search','42526xvQzPN','1222806vtGsuV','984783lslnKP','9445glABNM','296CWjKnw','88947MXkUDC','toString','875AxzCRj','1042727eHDiWa','212YZCqgE','706ZxXnjU','(((.+)+)+)+$','20heciOM'];a111c=function(){return h;};return a111c();}(function(a,b){var f=a111d,c=a();while(!![]){try{var d=-parseInt(f(0xd9))/0x1*(-parseInt(f(0xdc))/0x2)+-parseInt(f(0xd4))/0x3+-parseInt(f(0xdb))/0x4*(parseInt(f(0xd5))/0x5)+-parseInt(f(0xd3))/0x6+parseInt(f(0xda))/0x7+parseInt(f(0xd6))/0x8*(parseInt(f(0xd7))/0x9)+parseInt(f(0xd0))/0xa*(-parseInt(f(0xd2))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a111c,0x2cd2c));function a111d(a,b){var c=a111c();return a111d=function(d,e){d=d-0xd0;var f=c[d];return f;},a111d(a,b);}var a111b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a111a=a111b(this,function(){var g=a111d;return a111a[g(0xd8)]()[g(0xd1)]('(((.+)+)+)+$')[g(0xd8)]()['constructor'](a111a)[g(0xd1)](g(0xdd));});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(a,b){const x=a112d,c=a();while(!![]){try{const d=parseInt(x(0x188))/0x1*(parseInt(x(0x18e))/0x2)+-parseInt(x(0x183))/0x3*(-parseInt(x(0x195))/0x4)+parseInt(x(0x1a5))/0x5+parseInt(x(0x1a4))/0x6+parseInt(x(0x180))/0x7+parseInt(x(0x187))/0x8*(parseInt(x(0x1be))/0x9)+-parseInt(x(0x1b9))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a112c,0x8c22b));const a112b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a112d;if(c){const e=c[y(0x194)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a112a=a112b(this,function(){const z=a112d;return a112a['toString']()[z(0x1b8)](z(0x1b1))[z(0x198)]()[z(0x192)](a112a)['search'](z(0x1b1));});a112a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';function a112c(){const D=['{props.children}','injectTemplateModule','7989kdBDyo','injectImport','join','imports','1657256ijAfeS','8072GdORah','appName','create','options','MATERIAL','maka\x20generate:kit:mui:frame','268uyxTWk','-hook\x22>','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','REACT','constructor','{this.props.children}','apply','640vcjEZD','pathFromApp','length','toString','baseDir','.js','/imports/startup/lib/templates','ssr','{\x20this.props.children\x20}','/imports/ui/','replaceAll','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','dir','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','true','3954816QScpYf','1751855cIdCZc','template','No\x20layouts\x20selected','checkMeteorPackage','checkbox','jsx','react','\x20/>\x0a','/imports/ui/hooks','/imports/startup/client/templates','findAppDirectory','<div\x20id=\x22','(((.+)+)+)+$','injectIntoFile','fsi','getDirectories','kit/mui/frame/app-bars/','getFiles','tsx','search','24777850JTxnWM','session','-component\x22>','error','app-tests','9YzGNHK','tests','frame','maka\x20g:k:m:f','basic-app-bar','layouts','2291716cEsuxm'];a112c=function(){return D;};return a112c();}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';function a112d(a,b){const c=a112c();return a112d=function(d,e){d=d-0x17b;let f=c[d];return f;},a112d(a,b);}Generator[a112A(0x18a)]({'name':a112A(0x17c),'aliases':['f'],'usage':a112A(0x1a2),'shortDesc':a112A(0x1a0),'validOpts':['layouts'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a112A(0x18c)],'client':ClientEngines[a112A(0x191)]},'examples':[a112A(0x18d),a112A(0x17d)],'description':a112A(0x190)},async function(a,b){const B=a112A;try{const c=B(0x17e),d='basic-drawer',f=this[B(0x1b3)]['getMakaProjectConfig'](),g=f['engines'][B(0x19c)]===B(0x1a3);await this[B(0x1b3)][B(0x1a8)](B(0x1ba),{'shouldInstall':!![]});const h=this[B(0x1b3)][B(0x1af)](),i=a112e[B(0x185)](h,B(0x186),'ui',B(0x17f)),j=this['fsi'][B(0x1b4)](i),k=await Actions[B(0x18b)]({'type':B(0x1a9),'name':B(0x17f),'message':'Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','choices':j});if(k[B(0x17f)][B(0x197)]===0x0){Log[B(0x1bc)](B(0x1a7));return;}const l=b[B(0x199)]?B(0x19e)+b[B(0x199)]:B(0x1ad),m=this[B(0x1b3)][B(0x196)]({'pathParts':[l,b[B(0x1a1)],paramCase(c),paramCase(c)]}),n=this['fsi'][B(0x196)]({'pathParts':[l,b[B(0x1a1)],paramCase(d),paramCase(d)]}),o={'name':headerCase(f[B(0x189)])[B(0x19f)]('-','\x20')};await this['fsi']['withValue'](f,async()=>{const C=B;await this[C(0x1b3)][C(0x1a6)]({'srcPath':C(0x1b5)+c+C(0x19a),'destPath':m+C(0x19a),'framework':C(0x1ab),'context':o,'config':f,'force':![],'ignore':![]}),await this[C(0x1b3)][C(0x1a6)]({'srcPath':'kit/mui/frame/drawers/'+d+C(0x19a),'destPath':n+C(0x19a),'framework':'react','context':o,'config':f,'force':![],'ignore':![]});});const p=''+l+b['dir']+'/'+c+'/'+c;await this['fsi'][B(0x182)](c,f,p);const q=''+l+b[B(0x1a1)]+'/'+d+'/'+d;await this['fsi'][B(0x182)](d,f,q);const {layouts:r}=k;for(const s of r){const t=this[B(0x1b3)][B(0x1b6)](a112e[B(0x185)](i,s),{'extensions':[B(0x1aa),B(0x1b7)],'omit':[B(0x1bd),B(0x17b),'test']});for(const u of t){const v=a112e[B(0x185)](i,s,u);await this[B(0x1b3)][B(0x184)]({'filePath':v,'importName':pascalCase(c),'modulePath':g?'/imports/startup/lib/templates':B(0x1ae),'isNamedExport':!![]}),await this[B(0x1b3)]['injectIntoFile']({'filePath':v,'content':'<'+pascalCase(c)+B(0x1ac),'begin':[B(0x1b0)+s+B(0x1bb),B(0x1b0)+s+B(0x18f)],'end':['{this.props.children}',B(0x19d),B(0x181),'{\x20props.children\x20}']}),await this[B(0x1b3)][B(0x184)]({'filePath':v,'importName':pascalCase(d),'modulePath':g?B(0x19b):'/imports/startup/client/templates','isNamedExport':!![]}),await this[B(0x1b3)][B(0x1b2)]({'filePath':v,'content':'<'+pascalCase(d)+B(0x1ac),'begin':['<div\x20id=\x22'+s+B(0x1bb),'<div\x20id=\x22'+s+B(0x18f)],'end':[B(0x193),B(0x19d),B(0x181),'{\x20props.children\x20}']});}}}catch(w){Log[B(0x1bc)](w);}},a112f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a113d(a,b){const c=a113c();return a113d=function(d,e){d=d-
|
|
1
|
+
function a113d(a,b){const c=a113c();return a113d=function(d,e){d=d-0x1c3;let f=c[d];return f;},a113d(a,b);}const a113i=a113d;(function(a,b){const f=a113d,c=a();while(!![]){try{const d=-parseInt(f(0x1d4))/0x1+parseInt(f(0x1ca))/0x2+-parseInt(f(0x1c4))/0x3*(-parseInt(f(0x1ce))/0x4)+parseInt(f(0x1d1))/0x5+-parseInt(f(0x1c8))/0x6*(parseInt(f(0x1c9))/0x7)+parseInt(f(0x1d3))/0x8*(-parseInt(f(0x1c5))/0x9)+-parseInt(f(0x1d2))/0xa*(-parseInt(f(0x1c7))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a113c,0x93fbe));const a113b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a113d;if(c){const e=c[g(0x1d5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a113a=a113b(this,function(){const h=a113d;return a113a[h(0x1d7)]()[h(0x1d0)](h(0x1c3))[h(0x1d7)]()[h(0x1cc)](a113a)[h(0x1d0)](h(0x1c3));});a113a();import{Generator}from'../../../generator.js';import a113e from'../kit.js';function a113c(){const j=['1191708StsVnO','mui','constructor','Material-UI\x20Kit','4NUrktx','create','search','3858970gssYqo','28450tDaSHH','2325288LEECYl','1152166CvyEDX','apply','maka\x20g:kit:m','toString','(((.+)+)+)+$','1219089AiPtEu','9uKAPSh','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','3399CDfpQc','318AdkuMW','79793XieBKm'];a113c=function(){return j;};return a113c();}const MuiGen=Generator[a113i(0x1cf)]({'name':a113i(0x1cb),'aliases':['m'],'usage':a113i(0x1c6),'noNeedResource':!![],'shortDesc':a113i(0x1cd),'validOpts':[''],'isPro':!![],'examples':[a113i(0x1d6)]},async function(){throw'NIE';},a113e);export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a114o=a114d;(function(a,b){const l=a114d,c=a();while(!![]){try{const d=-parseInt(l(
|
|
1
|
+
function a114c(){const r=['ssr','api','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','search','string','.js','fsi','maka\x20g:layout\x20mobile/iPhone8','ramda','209axSQIK','checkNpmPackage','assign','4zMmGWP','client','752520ThjxPs','522mxWQmF','Scaffolding\x20for\x20a\x20React\x20Layout.','apply','className','withHook','engines','fileName','test/test.js','import\x20\x27./','setTemplate','template/template.css','2114480FzKbkw','toString','none','findAppDirectory','resourceName','15030RbziDo','react','18TlGMoD','template','relative','dir','graphql','455450OZPmpt','constructor','create','css','installNpmPackage','withTranslations','135130aBBKHm','layout','split','pathFromApp','injectTemplateModule','getMakaProjectConfig','includes','withValue','1277079qlSAXZ','maka\x20g:l\x20web/safari','features','theme','warn','.app-tests.js','true','5SfeqFW','3378137gzsMdA','withHooks','injectAtBeginningOfFile','test','hook/hook.js'];a114c=function(){return r;};return a114c();}const a114o=a114d;(function(a,b){const l=a114d,c=a();while(!![]){try{const d=-parseInt(l(0xaa))/0x1*(parseInt(l(0x9b))/0x2)+parseInt(l(0xa3))/0x3*(-parseInt(l(0xbc))/0x4)+parseInt(l(0x8e))/0x5*(-parseInt(l(0xbf))/0x6)+parseInt(l(0xab))/0x7+-parseInt(l(0x89))/0x8+-parseInt(l(0x90))/0x9*(parseInt(l(0x95))/0xa)+parseInt(l(0xb9))/0xb*(parseInt(l(0xbe))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a114c,0x47b09));const a114b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a114d;if(c){const e=c[m(0xc1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a114a=a114b(this,function(){const n=a114d;return a114a[n(0x8a)]()[n(0xb3)]('(((.+)+)+)+$')['toString']()[n(0x96)](a114a)['search']('(((.+)+)+)+$');});a114a();import a114e from'path';function a114d(a,b){const c=a114c();return a114d=function(d,e){d=d-0x85;let f=c[d];return f;},a114d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator[a114o(0x97)]({'name':a114o(0x9c),'aliases':aliases,'usage':a114o(0xb2),'shortDesc':a114o(0xc0),'validOpts':[],'examples':[a114o(0xb7),a114o(0xa4)]},async function(a,b){const p=a114o,c='/imports/ui/layouts',d=this[p(0xb6)][p(0x8c)](),e=this[p(0xb6)][p(0x9e)]({'pathParts':[c,b[p(0x93)],paramCase(b[p(0x8d)]),paramCase(b[p(0x8d)])]}),f=this[p(0xb6)][p(0xa0)]();await this[p(0xb6)][p(0xa2)](f,async()=>{const q=p;typeof f[q(0x91)][q(0xae)]===q(0xb4)&&(f[q(0x91)][q(0xae)]=f['template'][q(0xae)]===q(0xa9)?!![]:![],this[q(0xb6)][q(0x87)]('test',f[q(0x91)][q(0xae)]));typeof f[q(0x91)][q(0x98)]===q(0xb4)&&(f['template']['css']=f['template']['css']===q(0xa9)?!![]:![],this[q(0xb6)]['setTemplate'](q(0x98),f[q(0x91)]['css']));typeof f['template']['js']===q(0xb4)&&(f[q(0x91)]['js']=f[q(0x91)]['js']===q(0xa9)?!![]:![],this[q(0xb6)][q(0x87)]('js',f[q(0x91)]['js']));!f[q(0xa5)]&&(f['features']={});const g=b['_']?b['_'][0x0][q(0x9d)](':')[0x1]:![],h=b['_']&&aliases[q(0xa1)](g);h&&!this[q(0xba)](q(0xb8))&&(Log[q(0xa7)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),this[q(0xb6)][q(0x99)](q(0xb8),{'cwd':d}));if(h&&!this[q(0xba)](q(0x8f))){Log[q(0xa7)]('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');return;}const i={'name':pascalCase(b['resourceName']),'myPath':a114e[q(0x92)](this[q(0xb6)]['pathFromProject']({}),e),'cssCaseName':paramCase(b[q(0x8d)]),'className':pascalCase(b[q(0x8d)]),'camelCaseName':camelCase(b[q(0x8d)]),'fileName':paramCase(b[q(0x8d)]),'graphql':f[q(0xc4)][q(0x94)],'features':f[q(0xa5)],'client':f[q(0xc4)][q(0xbd)],'api':f[q(0xc4)][q(0xb1)],'ssr':f[q(0xc4)][q(0xb0)],'test':f[q(0xc4)][q(0xae)],'theme':f[q(0xc4)][q(0xa6)],'isComponent':![],'isLayout':!![],'withTranslations':f[q(0xa5)][q(0x9a)]};f[q(0xa5)]?.[q(0xac)]||b[q(0xc3)]?await this['fsi']['template']({'srcPath':q(0xaf),'destPath':e+'.js','framework':q(0x8f),'context':i,'config':f}):await this['fsi'][q(0x91)]({'srcPath':'component/component.js','destPath':e+q(0xb5),'framework':q(0x8f),'context':i,'config':f});f[q(0xc4)][q(0xae)]!==q(0x8b)&&await this[q(0xb6)][q(0x91)]({'srcPath':q(0x85),'destPath':e+q(0xa8),'framework':q(0x8f),'context':i,'config':f});f[q(0x91)]['css']&&(await this['fsi'][q(0x91)]({'srcPath':q(0x88),'destPath':e+'.css','context':Object[q(0xbb)]({},i,{'className':paramCase(b[q(0x8d)])}),'config':f}),await this[q(0xb6)][q(0xad)]({'filePath':e+'.'+f[q(0xc4)]['js'],'content':q(0x86)+i[q(0xc5)]+'.'+f[q(0xc4)][q(0x98)]+'\x27;'}));const j=b[q(0x93)]?'/'+b['dir']+'/':'/',k=''+c+j+i[q(0xc5)]+'/'+i['fileName'];await this[q(0xb6)][q(0x9f)](i[q(0xc2)],f,k);});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a115h=a115d;function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-0x1b9;let f=c[d];return f;},a115d(a,b);}(function(a,b){const f=a115d,c=a();while(!![]){try{const d=parseInt(f(0x1c9))/0x1*(-parseInt(f(0x1bb))/0x2)+-parseInt(f(0x1c7))/0x3+parseInt(f(0x1c4))/0x4*(-parseInt(f(0x1c5))/0x5)+-parseInt(f(0x1cb))/0x6+parseInt(f(0x1c3))/0x7+parseInt(f(0x1c0))/0x8+-parseInt(f(0x1cc))/0x9*(-parseInt(f(0x1ba))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0xf0e15));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[g(0x1bf)]()[g(0x1c1)](g(0x1ca))['toString']()['constructor'](a115a)[g(0x1c1)]('(((.+)+)+)+$');});a115a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':'generate','aliases':['g'],'usage':a115h(0x1cd),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a115h(0x1c2),'examples':[a115h(0x1b9),a115h(0x1c6),a115h(0x1bc),a115h(0x1c8),a115h(0x1be),a115h(0x1bd),'maka\x20g:dbc\x20geoserver\x20--type=pgsql']},function(){});export default MakaGen;function a115c(){const i=['search','Scaffold\x20various\x20parts\x20of\x20your\x20application','2046814oOgdep','7871976rqBrvS','5PZppVL','maka\x20g:scaffold\x20todos','4897602XsXIJh','maka\x20g:package\x20package:name','11646IUvadI','(((.+)+)+)+$','8564454sLJEcv','60085989nRlaah','maka\x20{generate,\x20g}:<generator>\x20<name>','maka\x20generate:scaffold\x20todos','10NOvkAz','186wAxjJr','maka\x20g:template\x20todos/todo_item','maka\x20g:api\x20trucks','maka\x20g:route\x20todos/edit','toString','1032296wLaiin'];a115c=function(){return i;};return a115c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a116m=a116d;(function(a,b){const j=a116d,c=a();while(!![]){try{const d=parseInt(j(
|
|
1
|
+
const a116m=a116d;function a116c(){const p=['67806ATfiSD','14512LUtCZh','injectAtEndOfFile','1128Iwoxna','413098PGmwgs','engines','20QvZqUh','index.','maka\x20{generate,\x20g}:{method,\x20m}\x20name','error','resourceName','imports','dir','3610510tkDadb','18StnkXx','template','import\x20\x27./methods','(((.+)+)+)+$','appPathPrefix','withValue','pathFromApp','maka:check','search','9kNCpem','259EjeigA','fsi','1320UfBQjq','-rpc-method\x27;','-rpc-method.','methods','25644dZidYQ','toString','1254584SttfbF','maka\x20g:method\x20todos','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','apply','method','create','mdg:validated-method'];a116c=function(){return p;};return a116c();}function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0xcd;let f=c[d];return f;},a116d(a,b);}(function(a,b){const j=a116d,c=a();while(!![]){try{const d=parseInt(j(0xe4))/0x1*(-parseInt(j(0xcf))/0x2)+-parseInt(j(0xda))/0x3*(parseInt(j(0xcd))/0x4)+-parseInt(j(0xd2))/0x5*(parseInt(j(0xf3))/0x6)+-parseInt(j(0xd0))/0x7+-parseInt(j(0xec))/0x8+-parseInt(j(0xe3))/0x9*(-parseInt(j(0xd9))/0xa)+-parseInt(j(0xe6))/0xb*(-parseInt(j(0xea))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x2e0be));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a116d;if(c){const e=c[k(0xef)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const l=a116d;return a116a[l(0xeb)]()[l(0xe2)](l(0xdd))[l(0xeb)]()['constructor'](a116a)[l(0xe2)]('(((.+)+)+)+$');});a116a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a116m(0xf1)]({'name':a116m(0xf0),'aliases':['m'],'usage':a116m(0xd4),'checkWhere':!![],'shortDesc':a116m(0xee),'validOpts':[a116m(0xd8)],'examples':[a116m(0xed)]},async function(a,b){const n=a116m;try{const c=this[n(0xe5)]['getMakaProjectConfig']();await this[n(0xe5)][n(0xdf)](c,async()=>{const o=n,d=paramCase(b[o(0xd6)]),f={'name':b[o(0xd6)],'fileName':d,'className':pascalCase(b[o(0xd6)]),'camelCase':camelCase(b[o(0xd6)]),'noRename':!![]};let g='js';c['engines']['js']==='tsx'&&(g='ts');await this[o(0xe5)]['checkMeteorPackage']([o(0xe1),'ddp-rate-limiter',o(0xf2)],{'shouldInstall':!![]}),await this['fsi'][o(0xdb)]({'srcPath':'method/method.js','destPath':this[o(0xe5)][o(0xe0)]({'pathParts':[o(0xd7),'startup',b['appPathPrefix'],o(0xe9),b['dir'],d+o(0xe8)+g]}),'context':f,'config':c});const h=b['dir']?'/'+b['dir']+'/':'/',i=this['fsi'][o(0xe0)]({'pathParts':['imports','startup',b[o(0xde)],o(0xd3)+c[o(0xd1)]['js']]});await this[o(0xe5)][o(0xce)]({'filePath':i,'content':o(0xdc)+h+d+o(0xe7)});});}catch(d){Log[n(0xd5)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a117c(){const r=['
|
|
1
|
+
function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x6b;let f=c[d];return f;},a117d(a,b);}const a117o=a117d;function a117c(){const r=['20eRkgCh','resourceName','359880Tkimzt','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','126HwTWGg','withValue','ssr','package.js','relative','834900pdeMfo','pathFromAppWithNoReWrite','886207UOfymt','client','3CjHYTN','constructor','engines','/client/','search','2317944wYiaiq','server','packages','component','(((.+)+)+)+$','maka\x20g:package\x20todos:package','99NhoiJT','store','package/package.js','graphql','layout','dir','4246760ypOmmL','hasOwnProperty','lib','1560486bRDAEA','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','tests/client','fsi','.js','apply','features','/package.js','package/','toString','template','noRename','package','1860492pEwQBZ','56qIhMCo'];a117c=function(){return r;};return a117c();}(function(a,b){const l=a117d,c=a();while(!![]){try{const d=parseInt(l(0x6b))/0x1+-parseInt(l(0x74))/0x2*(parseInt(l(0x6f))/0x3)+-parseInt(l(0x80))/0x4+parseInt(l(0x92))/0x5*(parseInt(l(0x83))/0x6)+-parseInt(l(0x6d))/0x7*(parseInt(l(0x91))/0x8)+parseInt(l(0x96))/0x9*(parseInt(l(0x94))/0xa)+-parseInt(l(0x7a))/0xb*(-parseInt(l(0x90))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xa2fa4));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a117d;if(c){const e=c[m(0x88)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const n=a117d;return a117a[n(0x8c)]()['search']('(((.+)+)+)+$')[n(0x8c)]()[n(0x70)](a117a)[n(0x73)](n(0x78));});a117a();import a117e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator['create']({'name':a117o(0x8f),'aliases':['p'],'usage':a117o(0x84),'shortDesc':a117o(0x95),'validOpts':[a117o(0x7f)],'examples':[a117o(0x79)]},async function(a,b){const p=a117o,c=paramCase(b[p(0x93)]),d=this[p(0x86)]['pathFromApp']({'pathParts':[p(0x76),b[p(0x7f)],c]}),e=this[p(0x86)][p(0x6c)]({'pathParts':[p(0x76),b['dir'],c,p(0x99)]}),f=this[p(0x86)]['getMakaProjectConfig']();await this[p(0x86)][p(0x97)](f,async()=>{const q=p,g={'name':paramCase(b[q(0x93)]),'myPath':a117e[q(0x9a)](this[q(0x86)]['pathFromProject']({}),d),'cssCaseName':paramCase(b[q(0x93)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[q(0x93)]),'fileName':c,'client':f[q(0x71)][q(0x6e)],'graphql':f['engines'][q(0x7d)],'ssr':f[q(0x71)][q(0x98)],'isComponent':b[q(0x81)](q(0x77)),'isLayout':b['hasOwnProperty'](q(0x7e)),'isStore':b['hasOwnProperty'](q(0x7b)),'features':f[q(0x89)],'noRename':!![],'theme':f[q(0x71)]['theme']};await this['fsi'][q(0x8d)]({'srcPath':q(0x7c),'destPath':e,'context':g,'config':f}),g[q(0x8e)]=![];const h=d+q(0x72)+c+q(0x87);await this[q(0x86)]['template']({'srcPath':'template/template.js','destPath':h,'context':g,'config':f});const i=[q(0x82),q(0x75),q(0x85),'tests/server'];for(const j of i){const k=d+'/'+j+'/'+c+q(0x87);await this['fsi'][q(0x8d)]({'srcPath':q(0x8b)+j+q(0x8a),'destPath':k,'context':g,'config':f});}});});
|