@maka/maka-cli 4.8.10 → 4.8.12
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 +2 -2
- 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 +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 +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a98d,c=a();while(!![]){try{var d=parseInt(f(
|
|
1
|
+
(function(a,b){var f=a98d,c=a();while(!![]){try{var d=parseInt(f(0x1db))/0x1*(-parseInt(f(0x1e6))/0x2)+-parseInt(f(0x1e7))/0x3*(-parseInt(f(0x1da))/0x4)+-parseInt(f(0x1e8))/0x5*(parseInt(f(0x1e1))/0x6)+parseInt(f(0x1d9))/0x7*(-parseInt(f(0x1de))/0x8)+-parseInt(f(0x1e5))/0x9+-parseInt(f(0x1d8))/0xa+-parseInt(f(0x1e0))/0xb*(-parseInt(f(0x1e4))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a98c,0x36be6));var a98b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a98d;if(c){var e=c[g(0x1dd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a98a=a98b(this,function(){var h=a98d;return a98a['toString']()[h(0x1dc)](h(0x1e2))[h(0x1e3)]()[h(0x1df)](a98a)[h(0x1dc)]('(((.+)+)+)+$');});a98a();import'./services/_index.js';import'./api.js';import'./collection.js';import'./component.js';import'./config.js';import'./dbc.js';import'./hook.js';import'./kits/_index.js';function a98d(a,b){var c=a98c();return a98d=function(d,e){d=d-0x1d8;var f=c[d];return f;},a98d(a,b);}import'./layout.js';import'./methods.js';import'./package.js';function a98c(){var i=['1336720dsrCEn','21uNMhOj','450652IMHnFw','88318QubFGJ','search','apply','373872WOCsFs','constructor','6941UPfjnK','18yRNylV','(((.+)+)+)+$','toString','15396pgxQWX','2995092ZobDFK','4BqjpKX','9TWlNId','233390csXnWO'];a98c=function(){return i;};return a98c();}import'./publish.js';import'./route.js';import'./service.js';import'./page.js';import'./maka.gen.js';import'./dockerfile.js';import'./maka.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a99x=a99d;(function(a,b){const u=a99d,c=a();while(!![]){try{const d
|
|
1
|
+
function a99d(a,b){const c=a99c();return a99d=function(d,e){d=d-0x114;let f=c[d];return f;},a99d(a,b);}const a99x=a99d;(function(a,b){const u=a99d,c=a();while(!![]){try{const d=-parseInt(u(0x12c))/0x1+parseInt(u(0x130))/0x2+-parseInt(u(0x146))/0x3+parseInt(u(0x135))/0x4+parseInt(u(0x136))/0x5+parseInt(u(0x142))/0x6+parseInt(u(0x116))/0x7*(-parseInt(u(0x15e))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a99c,0xb74a1));const a99b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a99d;if(c){const e=c[v(0x13c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a99a=a99b(this,function(){const w=a99d;return a99a[w(0x164)]()[w(0x126)]('(((.+)+)+)+$')['toString']()['constructor'](a99a)[w(0x126)](w(0x168));});function a99c(){const A=['import\x20\x27./register-','withMethods','Scaffolding\x20for\x20an\x20api\x20concept\x20(i.e.\x20Todos).','Fixtures','collection','getMakaProjectConfig','resolverList.push(','withPubs','error','mdg:validated-method','processAndRunGenerator','withGql','/graphql/resolvers','GraphQL','search','startup','test','/imports/api','-api.','api/resolvers.js','213675BcfzoR','\x0aimport\x20{\x20resolvers\x20as\x20','length','index.','2606800xNyZcT','api/fixtures.js','API\x20boundaries\x20to\x20create','register-','typeList.push(','5254880PJVxzL','2750800UqIuak','api/methods.js','const','api/typeDefs.js','.app-tests.','ddp-rate-limiter','apply','template','injectIntoFile','imports','push','checkbox','7442508YNULbH','TypeDefs\x20}\x20from\x20\x27','dir','\x27;\x0a','2140962FSfwES','Publications','publications.','RPC\x20(Methods)','REST\x20API','-api\x27;','api','if\x20\x5c(typeList','pathFromApp','rewriteDestinationPathForEngine','graphql','api/api.js','withRest','injectAtBeginningOfFile','engines','injectAtEndOfFile','resourceName','rest','rest-api.','maka:rest','fsi','create','apollo','Resolvers\x20}\x20from\x20\x27','23944XAMTAi','maka\x20g:api\x20Todos','\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','No\x20API\x20boundaries\x20selected','/graphql/typeDefs','server','toString','withValue','includes','withFixtures','(((.+)+)+)+$','Resolvers);\x0a\x0a','maka:check','import\x20{\x20typeDefs\x20as\x20','6384BDHSzH','exit'];a99c=function(){return A;};return a99c();}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[a99x(0x15b)]({'name':'api','aliases':['a'],'usage':'maka\x20{generate,\x20g}:{api}\x20<resource-name>','shortDesc':a99x(0x11a),'validOpts':[a99x(0x144)],'examples':[a99x(0x15f)],'description':a99x(0x160)},async function(a,b){const y=a99x;try{const c=this[y(0x15a)][y(0x11d)](),d=[{'name':y(0x149),'value':y(0x119)},{'name':y(0x11b),'value':y(0x167)},{'name':y(0x147),'value':y(0x11f)}];c[y(0x154)]['api']===y(0x157)&&d[y(0x140)]({'name':y(0x14a),'value':'withRest'});c['engines'][y(0x150)]===y(0x15c)&&d[y(0x140)]({'name':y(0x125),'value':y(0x123)});const f={'type':y(0x141),'name':'apiAnswers','message':y(0x132),'pageSize':0x64,'choices':d},{apiAnswers:g}=await Actions['options'](f);g[y(0x12e)]===0x0&&(Log[y(0x120)](y(0x161)),process[y(0x117)](0x1)),await this[y(0x15a)][y(0x165)](c,async()=>{const z=y,h=b[z(0x156)],i=paramCase(h),j=camelCase(h),k=b['dir']?'/'+b[z(0x144)]+'/':'/',l={'name':pascalCase(h),'fileName':i,'camelCase':pascalCase(h),'optsDir':k,'api':c[z(0x154)]['api'],'graphql':c[z(0x154)][z(0x150)],'test':c[z(0x154)][z(0x128)],'noRename':!![],'withPubs':g[z(0x166)](z(0x11f)),'withFixtures':g['includes'](z(0x167)),'withMethods':g[z(0x166)](z(0x119)),'withRest':g['includes'](z(0x152))};let m='js';c[z(0x154)]['js']==='tsx'&&(m='ts');await this[z(0x15a)]['checkMeteorPackage']([z(0x159),z(0x114),z(0x13b),z(0x121),'mongo'],{'shouldInstall':!![]}),await a99e[z(0x122)](z(0x11c),[i],{'config':c,'where':z(0x163)});c[z(0x154)][z(0x14c)]===z(0x157)&&(l[z(0x152)]&&await this[z(0x15a)][z(0x13d)]({'srcPath':z(0x151),'destPath':this['fsi']['pathFromApp']({'pathParts':[z(0x13f),z(0x14c),b[z(0x144)],i,z(0x158)+m]}),'context':l,'config':c}));l[z(0x119)]&&await this['fsi'][z(0x13d)]({'srcPath':z(0x137),'destPath':this[z(0x15a)]['pathFromApp']({'pathParts':[z(0x13f),'api',b['dir'],i,'rpc-methods.'+m]}),'context':l,'config':c});l[z(0x167)]&&await this['fsi'][z(0x13d)]({'srcPath':z(0x131),'destPath':this[z(0x15a)][z(0x14e)]({'pathParts':[z(0x13f),z(0x14c),b[z(0x144)],i,'fixtures.'+m]}),'context':l,'config':c});c[z(0x154)]['test']!=='none'&&this[z(0x15a)]['template']({'srcPath':'api/tests.js','destPath':this['fsi'][z(0x14e)]({'pathParts':[z(0x13f),z(0x14c),b[z(0x144)],i,i+z(0x13a)+m]}),'context':l,'config':c});l[z(0x11f)]&&await this[z(0x15a)][z(0x13d)]({'srcPath':'api/publications.js','destPath':this[z(0x15a)]['pathFromApp']({'pathParts':['imports',z(0x14c),b['dir'],i,z(0x148)+m]}),'context':l,'config':c});if(c[z(0x154)][z(0x150)]===z(0x15c)){if(g[z(0x166)](z(0x123))){const o=this[z(0x15a)]['pathFromApp']({'pathParts':['imports','startup',z(0x163),'index.'+c[z(0x154)]['js']]}),p=this[z(0x15a)][z(0x14f)]({'pathParts':[o],'config':c}),q=this[z(0x15a)][z(0x14e)]({'pathParts':[z(0x13f),z(0x14c),b[z(0x144)],i,z(0x150),'typeDefs.'+m]}),r='/imports/api'+k+i+z(0x162);this[z(0x15a)][z(0x13d)]({'srcPath':z(0x139),'destPath':q,'context':l,'config':c}),await this[z(0x15a)]['injectAtBeginningOfFile']({'filePath':p,'content':z(0x115)+j+z(0x143)+r+z(0x145)}),await this[z(0x15a)][z(0x13e)]({'filePath':p,'content':z(0x134)+j+'TypeDefs);\x0a','begin':z(0x138),'end':z(0x14d)});const s=this[z(0x15a)][z(0x14e)]({'pathParts':[z(0x13f),z(0x14c),b[z(0x144)],i,'graphql','resolvers.'+m]}),t=z(0x129)+k+i+z(0x124);await this[z(0x15a)][z(0x13d)]({'srcPath':z(0x12b),'destPath':s,'context':l,'config':c}),await this['fsi'][z(0x153)]({'filePath':p,'content':z(0x12d)+j+z(0x15d)+t+'\x27;'}),await this[z(0x15a)]['injectIntoFile']({'filePath':p,'content':z(0x11e)+j+z(0x169),'begin':z(0x138),'end':z(0x14d)});}}await this['fsi'][z(0x13d)]({'srcPath':'api/register-api.js','destPath':this[z(0x15a)][z(0x14e)]({'pathParts':[z(0x13f),z(0x127),'server',z(0x133)+i+z(0x12a)+m]}),'context':l,'config':c,'force':!![]});const n=this[z(0x15a)][z(0x14e)]({'pathParts':[z(0x13f),'startup',z(0x163),z(0x12f)+c[z(0x154)]['js']]});await this[z(0x15a)][z(0x155)]({'filePath':n,'content':z(0x118)+i+z(0x14b)});});}catch(h){console[y(0x120)](h),process['exit'](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a100d(a,b){const c=a100c();return a100d=function(d,e){d=d-
|
|
1
|
+
function a100d(a,b){const c=a100c();return a100d=function(d,e){d=d-0x15c;let f=c[d];return f;},a100d(a,b);}const a100m=a100d;(function(a,b){const j=a100d,c=a();while(!![]){try{const d=-parseInt(j(0x181))/0x1+-parseInt(j(0x17e))/0x2*(parseInt(j(0x179))/0x3)+-parseInt(j(0x174))/0x4+parseInt(j(0x177))/0x5*(parseInt(j(0x166))/0x6)+parseInt(j(0x16a))/0x7*(parseInt(j(0x17b))/0x8)+-parseInt(j(0x16d))/0x9*(-parseInt(j(0x172))/0xa)+parseInt(j(0x16c))/0xb*(parseInt(j(0x176))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a100c,0xd4520));const a100b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a100d;if(c){const e=c[k(0x160)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a100a=a100b(this,function(){const l=a100d;return a100a['toString']()['search'](l(0x161))[l(0x17f)]()[l(0x16b)](a100a)[l(0x165)]('(((.+)+)+)+$');});a100a();import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a100c(){const p=['collection/tests.js','fsi','10opDFsX','engines','6614392ECPuyn','index.','12YtfxSd','2847775SVxxxv','tsx','1286211UNtegA','appPathPrefix','592iySKuH','maka\x20{generate,\x20g}:{collection,\x20col}\x20<name>','getMakaProjectConfig','2xJQahw','toString','collection/collection.js','240672ptFpIH','resourceName','dir','imports','template','Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection','injectAtEndOfFile','.app-tests.','startup','apply','(((.+)+)+)+$','mongo','maka:check','pathFromApp','search','6ihCdDc','test','where','collections','107821HaOCau','constructor','13832181SGDOoC','2032407prQdIg','withValue','checkMeteorPackage'];a100c=function(){return p;};return a100c();}Generator['create']({'name':'collection','aliases':['col'],'usage':a100m(0x17c),'checkWhere':!![],'shortDesc':a100m(0x15c),'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':['maka\x20g:collection\x20todos']},async function(a,b){const n=a100m;try{const c=this[n(0x171)][n(0x17d)]();await this[n(0x171)][n(0x16e)](c,async()=>{const o=n,d=paramCase(b['resourceName']),f={'name':pascalCase(b[o(0x182)]),'collectionName':pascalCase(b['resourceName']),'fileName':d,'where':b[o(0x168)],'test':c[o(0x173)][o(0x167)],'noRename':!![]};let g='js';c[o(0x173)]['js']===o(0x178)&&(g='ts');await this[o(0x171)][o(0x16f)]([o(0x162),o(0x163)],{'shouldInstall':!![]}),await this[o(0x171)][o(0x185)]({'srcPath':o(0x180),'destPath':this[o(0x171)][o(0x164)]({'pathParts':[o(0x184),o(0x15f),b[o(0x17a)],o(0x169),b['dir'],d+'.'+g]}),'context':f,'config':c});c[o(0x173)][o(0x167)]!=='none'&&await this[o(0x171)][o(0x185)]({'srcPath':o(0x170),'destPath':this['fsi'][o(0x164)]({'pathParts':['imports',o(0x15f),b[o(0x17a)],'collections',b[o(0x183)],d+o(0x15e)+g]}),'context':f,'config':c});const h=b[o(0x183)]?'/'+b[o(0x183)]+'/':'/',i=this[o(0x171)]['pathFromApp']({'pathParts':[o(0x184),'startup',b['appPathPrefix'],o(0x175)+c[o(0x173)]['js']]});await this[o(0x171)][o(0x15d)]({'filePath':i,'content':'import\x20\x27./collections'+h+d+'\x27;'});});}catch(d){Log['error'](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a101n=a101d;(function(a,b){const k=a101d,c=a();while(!![]){try{const d=-parseInt(k(
|
|
1
|
+
const a101n=a101d;(function(a,b){const k=a101d,c=a();while(!![]){try{const d=-parseInt(k(0xa7))/0x1+-parseInt(k(0xa9))/0x2+-parseInt(k(0xa3))/0x3*(parseInt(k(0xb2))/0x4)+parseInt(k(0xae))/0x5+parseInt(k(0xbd))/0x6+parseInt(k(0x9a))/0x7*(-parseInt(k(0xad))/0x8)+parseInt(k(0x96))/0x9*(parseInt(k(0x9f))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a101c,0x6e482));const a101b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a101d;if(c){const e=c[l(0xc0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a101a=a101b(this,function(){const m=a101d;return a101a['toString']()[m(0xaa)](m(0xa0))[m(0xb1)]()[m(0xbf)](a101a)[m(0xaa)]('(((.+)+)+)+$');});a101a();import a101e from'path';import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a101c(){const q=['1427664ItBCpp','.css','constructor','apply','.js','features','findAppDirectory','checkNpmPackage','react','installNpmPackage','css','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','api','.tests.js','/imports/ui/','maka\x20g:comp\x20todos/todos-item','none','baseDir','350586ePbxfR','fsi','ssr','engines','3825227JIQXeq','injectAtBeginningOfFile','relative','template/template.css','comp','570uwiUcs','(((.+)+)+)+$','component/component.js','/imports/ui/components','153ITgSCC','ramda','setTemplate','withTranslations','777534cDooNj','component','215698GPbOIV','search','cssCaseName','components','8XztvrE','660225wDqSMX','string','import\x20\x27./','toString','55436pZLFdX','fileName','pathFromProject','resourceName','root','client','true','test/test.js','template','test','dir'];a101c=function(){return q;};return a101c();}import{Log}from'../tools/log/log.class.js';const aliases=[a101n(0x9e)];function a101d(a,b){const c=a101c();return a101d=function(d,e){d=d-0x95;let f=c[d];return f;},a101d(a,b);}Generator['create']({'name':a101n(0xa8),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','shortDesc':'Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','validOpts':[{'name':a101n(0x95),'values':['hooks',a101n(0xac),'pages','layouts']}],'examples':[a101n(0xcc)]},async function(a,b){const o=a101n;try{const c=this['fsi'][o(0xc3)](),d=b[o(0x95)]?o(0xcb)+b[o(0x95)]:o(0xa2),f=this['fsi']['pathFromApp']({'pathParts':[d,b['dir'],paramCase(b[o(0xb5)]),paramCase(b[o(0xb5)])]}),g=await this[o(0x97)]['getMakaProjectConfig']();await this['fsi']['withValue'](g,async()=>{const p=o;typeof g['template'][p(0xbb)]==='string'&&(g[p(0xba)][p(0xbb)]=g[p(0xba)][p(0xbb)]===p(0xb8)?!![]:![],this['fsi'][p(0xa5)](p(0xbb),g['template']['test']));typeof g[p(0xba)][p(0xc7)]===p(0xaf)&&(g[p(0xba)][p(0xc7)]=g[p(0xba)][p(0xc7)]==='true'?!![]:![],this[p(0x97)][p(0xa5)](p(0xc7),g[p(0xba)]['css']));typeof g[p(0xba)]['js']===p(0xaf)&&(g['template']['js']=g[p(0xba)]['js']===p(0xb8)?!![]:![],this[p(0x97)][p(0xa5)]('js',g[p(0xba)]['js']));!g[p(0xc2)]&&(g[p(0xc2)]={});!b[p(0xb6)]&&!this['fsi'][p(0xc4)](p(0xa4))&&(Log['warn'](p(0xc8)),await this[p(0x97)][p(0xc6)](p(0xa4),{'cwd':c}));if(!b[p(0xb6)]&&!this[p(0x97)][p(0xc4)](p(0xc5))){Log['error']('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');return;}const h={'name':pascalCase(b[p(0xb5)]),'myPath':a101e[p(0x9c)](this[p(0x97)][p(0xb4)]({}),f),'cssCaseName':paramCase(b[p(0xb5)]),'className':pascalCase(b[p(0xb5)]),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b['resourceName']),'graphql':g[p(0x99)]['graphql'],'features':g[p(0xc2)],'client':g[p(0x99)][p(0xb7)],'api':g[p(0x99)][p(0xc9)],'ssr':g[p(0x99)][p(0x98)],'test':g[p(0x99)][p(0xbb)],'theme':g[p(0x99)]['theme'],'isLayout':![],'isComponent':!![],'withTranslations':g['features'][p(0xa6)]};await this[p(0x97)][p(0xba)]({'srcPath':p(0xa1),'destPath':f+p(0xc1),'context':h,'framework':p(0xc5),'config':g});g['engines'][p(0xbb)]!==p(0xcd)&&await this['fsi'][p(0xba)]({'srcPath':p(0xb9),'destPath':f+p(0xca),'context':h,'framework':p(0xc5),'config':g});g['template'][p(0xc7)]&&(await this['fsi']['template']({'srcPath':p(0x9d),'destPath':f+p(0xbe),'context':Object['assign']({},h,{'className':paramCase(b[p(0xb5)])}),'config':g}),await this[p(0x97)][p(0x9b)]({'filePath':f+'.'+g[p(0x99)]['js'],'content':p(0xb0)+h[p(0xab)]+'.'+g[p(0x99)]['css']+'\x27;'}));const i=b[p(0xbc)]?'/'+b[p(0xbc)]+'/':'/',j=''+d+i+h[p(0xb3)]+'/'+h['fileName'];await this[p(0x97)]['injectTemplateModule'](h['className'],g,j);});}catch(h){Log['error'](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a102d(a,b){const c=a102c();return a102d=function(d,e){d=d-0x1be;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(0x1c8))/0x1+-parseInt(h(0x1cb))/0x2+-parseInt(h(0x1c0))/0x3+-parseInt(h(0x1d7))/0x4*(parseInt(h(0x1d9))/0x5)+-parseInt(h(0x1cc))/0x6+parseInt(h(0x1dc))/0x7*(-parseInt(h(0x1d6))/0x8)+-parseInt(h(0x1da))/0x9*(-parseInt(h(0x1dd))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a102c,0x4ca2a));function a102c(){const n=['pathFromProject','prod','70045nWZnsv','(((.+)+)+)+$','toString','710256kOQiRF','236400HGylnk','ubuntu','appName','config/process.env','constructor','production','settings.json','maka\x20{generate,\x20g}:{config}\x20<name>','fsi','withValue','768tSAJuW','1756VMjFBV','create','5260hdJDGm','22464kKjLUk','resourceName','29995gGNyIx','7290RHLOPC','getMakaProjectConfig','config','924045QJdhVR','template','isDocker','Generate\x20configuration\x20settings.','search','apply'];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(0x1c5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a102a=a102b(this,function(){const j=a102d;return a102a[j(0x1ca)]()['search'](j(0x1c9))['toString']()[j(0x1d0)](a102a)[j(0x1c4)]('(((.+)+)+)+$');});a102a();import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a102k(0x1d8)]({'name':'config','usage':a102k(0x1d3),'shortDesc':a102k(0x1c3),'validOpts':['isDocker'],'examples':['maka\x20g:config\x20production']},async function(a,b){const l=a102k,c=this[l(0x1d4)][l(0x1be)]();await this[l(0x1d4)][l(0x1d5)](c,async()=>{const m=l,d={'app':c[m(0x1ce)],'appFileCase':paramCase(c[m(0x1ce)]),'name':pascalCase(b['resourceName']),'fileName':paramCase(b[m(0x1db)]),'camelCase':camelCase(b[m(0x1db)]),'userName':m(0x1cd),'isDocker':b[m(0x1c2)]};let e=b[m(0x1db)];if(e==='dev')e='development';else e===m(0x1c7)&&(e=m(0x1d1));const f=this['fsi'][m(0x1c6)]({'pathParts':[m(0x1bf),e,m(0x1d2)]});await this[m(0x1d4)][m(0x1c1)]({'srcPath':'config/settings.json','destPath':f,'context':d,'config':c});if(!b['isDocker']){const g=this[m(0x1d4)][m(0x1c6)]({'pathParts':[m(0x1bf),e,'process.env']});await this[m(0x1d4)][m(0x1c1)]({'srcPath':m(0x1cf),'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-0x1b5;let f=c[d];return f;},a103d(a,b);}const a103l=a103d;(function(a,b){const j=a103d,c=a();while(!![]){try{const d=parseInt(j(0x1de))/0x1*(-parseInt(j(0x1c5))/0x2)+-parseInt(j(0x1c3))/0x3+-parseInt(j(0x1d1))/0x4*(-parseInt(j(0x1d5))/0x5)+-parseInt(j(0x1cf))/0x6*(-parseInt(j(0x1df))/0x7)+-parseInt(j(0x1c8))/0x8+-parseInt(j(0x1d4))/0x9+parseInt(j(0x1d2))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a103c,0x65c41));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['toString']()['search'](k(0x1cc))['toString']()[k(0x1ca)](a103a)[k(0x1c9)](k(0x1cc));});a103a();function a103c(){const o=['dir','config.','pgsql','better-sqlite3','maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','47LyOybm','176197oSBYVN','startup','checkNpmPackage','-dbc\x27;','Npm\x20package\x20\x22mssql\x22\x20not\x20installed,\x20installing...','maka\x20g:dbc\x20azure\x20--type=mssql','withValue','engines','-dbc.','import\x20\x27./register-','maka\x20g:dbc\x20geoserver\x20--type=pgsql','fsi','template','Npm\x20package\x20\x22pg\x22\x20not\x20installed,\x20installing...','sqlite','maka\x20g:dbc\x20todos\x20--type=sqlite','pathFromApp','dbc/config.js','warn','type','getMakaProjectConfig','627597glyTPD','dbc/register-dbc.js','3190ITPFmL','server','dbc','5130232CGWGYU','search','constructor','imports','(((.+)+)+)+$','installNpmPackage','resourceName','24cQtaWF','mssql','1088364uTbqFS','8130140jPyLZP','register-','1040436SrltZl','10ZRklcz','index.','injectAtEndOfFile','Npm\x20package\x20\x22better-sqlite3\x22\x20not\x20installed,\x20installing...'];a103c=function(){return o;};return a103c();}import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator['create']({'name':a103l(0x1c7),'usage':a103l(0x1dd),'shortDesc':'Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','validOpts':[a103l(0x1d9)],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a103l(0x1c1),'values':[a103l(0x1db),a103l(0x1d0),a103l(0x1bc)]}],'examples':[a103l(0x1b8),a103l(0x1e4),a103l(0x1bd)]},async function(a,b){const m=a103l;try{const c=await this[m(0x1b9)][m(0x1c2)](),d=this[m(0x1b9)][m(0x1be)]({}),f=paramCase(b[m(0x1ce)]),g={'name':pascalCase(b[m(0x1ce)]),'fileName':paramCase(b[m(0x1ce)]),'camelCase':camelCase(b[m(0x1ce)]),'type':b[m(0x1c1)],'engine':c[m(0x1b5)]['js'],'noRename':!![]};await this['fsi'][m(0x1e5)](c,async()=>{const n=m;let h='js';c['engines']['js']==='tsx'&&(h='ts');b[n(0x1c1)]===n(0x1db)&&!this['fsi'][n(0x1e1)]('pg')&&(Log[n(0x1c0)](n(0x1bb)),await this['fsi'][n(0x1cd)]('pg',{'cwd':d}));b[n(0x1c1)]==='mssql'&&!this[n(0x1b9)][n(0x1e1)]('mssql')&&(Log[n(0x1c0)](n(0x1e3)),await this[n(0x1b9)][n(0x1cd)](n(0x1d0),{'cwd':d}));b[n(0x1c1)]==='sqlite'&&!this[n(0x1b9)][n(0x1e1)](n(0x1dc))&&(Log[n(0x1c0)](n(0x1d8)),await this[n(0x1b9)][n(0x1cd)](n(0x1dc),{'cwd':d}));await this[n(0x1b9)]['template']({'srcPath':n(0x1bf),'destPath':this[n(0x1b9)][n(0x1be)]({'pathParts':[n(0x1cb),n(0x1e0),n(0x1c6),n(0x1c7),b[n(0x1d9)],f,n(0x1da)+h]}),'context':g,'config':c}),await this[n(0x1b9)][n(0x1ba)]({'srcPath':'dbc/conn.js','destPath':this[n(0x1b9)][n(0x1be)]({'pathParts':[n(0x1cb),'startup','server',n(0x1c7),b['dir'],f,'conn.'+h]}),'context':g,'config':c}),await this['fsi'][n(0x1ba)]({'srcPath':n(0x1c4),'destPath':this[n(0x1b9)][n(0x1be)]({'pathParts':['imports',n(0x1e0),'server',n(0x1d3)+f+n(0x1b6)+h]}),'context':g,'config':c});const i=this[n(0x1b9)][n(0x1be)]({'pathParts':[n(0x1cb),n(0x1e0),n(0x1c6),n(0x1d6)+c[n(0x1b5)]['js']]});await this['fsi'][n(0x1d7)]({'filePath':i,'content':n(0x1b7)+f+n(0x1e2)});});}catch(h){Log['error'](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a104i=a104d;(function(a,b){const f=a104d,c=a();while(!![]){try{const d=parseInt(f(
|
|
1
|
+
function a104c(){const l=['(((.+)+)+)+$','create','dockerfile','10301632dBdNQI','findProjectDirectory','1864458OrIAXV','154686YoeKoS','39201yHhtve','toString','service','maka\x20g:dockerfile','appName','getGlobalConfig','1426254VoBots','app.tar.gz','withValue','cert','Dockerfile','6471206YXmiHU','Generate\x20an\x20updated\x20dockerfile','app','132cwBiNR','build','template','fsi','apply','getMakaProjectConfig','maka\x20{generate,\x20g}:dockerfile','error','1822515YlijfZ','search'];a104c=function(){return l;};return a104c();}const a104i=a104d;(function(a,b){const f=a104d,c=a();while(!![]){try{const d=parseInt(f(0x1a4))/0x1+-parseInt(f(0x18c))/0x2+parseInt(f(0x1a5))/0x3*(-parseInt(f(0x194))/0x4)+-parseInt(f(0x19c))/0x5+-parseInt(f(0x1a3))/0x6+parseInt(f(0x191))/0x7+parseInt(f(0x1a1))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a104c,0x859c0));const a104b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a104d;if(c){const e=c[g(0x198)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a104a=a104b(this,function(){const h=a104d;return a104a[h(0x1a6)]()[h(0x19d)](h(0x19e))[h(0x1a6)]()['constructor'](a104a)[h(0x19d)](h(0x19e));});function a104d(a,b){const c=a104c();return a104d=function(d,e){d=d-0x189;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(0x19f)]({'name':a104i(0x1a0),'usage':a104i(0x19a),'shortDesc':a104i(0x192),'validOpts':[],'noNeedResource':!![],'examples':[a104i(0x189)]},async function(){const j=a104i;try{const a=await this[j(0x197)][j(0x199)](),b=await this[j(0x197)][j(0x18b)](),c=this[j(0x197)][j(0x1a2)]();await this[j(0x197)][j(0x18e)](a,async()=>{const k=j,d={'app':b[k(0x18a)],'config':a,'appPath':a104e['join'](c,k(0x193)),'bundlePath':a104e['join'](c,k(0x195),k(0x18d)),'useCert':this[k(0x197)]['isFile'](b[k(0x18f)])};await this[k(0x197)][k(0x196)]({'srcPath':'docker/Dockerfile','destPath':a104e['join'](c,k(0x190)),'framework':k(0x1a7),'context':d,'config':a});});}catch(d){Log[j(0x19b)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a105o=a105d;function a105c(){const r=['
|
|
1
|
+
const a105o=a105d;(function(a,b){const l=a105d,c=a();while(!![]){try{const d=parseInt(l(0x118))/0x1+-parseInt(l(0x106))/0x2+parseInt(l(0x12a))/0x3+-parseInt(l(0x109))/0x4*(parseInt(l(0x11d))/0x5)+-parseInt(l(0xf6))/0x6+parseInt(l(0x105))/0x7+parseInt(l(0x112))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a105c,0x5bd40));function a105c(){const r=['2865564beHVSb','className','cssCaseName','installNpmPackage','error','.css','assign','test/test.js','dir','layouts','pathFromApp','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','constructor','/imports/ui/','true','71512tGVRgp','773946zqavzL','components','pages','84448nUBTCu','create','getMakaProjectConfig','import\x20\x27./','/imports/ui/hooks','setTemplate','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','injectAtBeginningOfFile','relative','4224112HJKyEY','baseDir','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','hook','engines','apollo','598986BiNNdz','apply','theme','.app-tests.js','fileName','15tbVREL','@apollo/client','template/template.css','test','Creating\x20','features','(((.+)+)+)+$','\x20hook...','fsi','toString','search','css','resourceName','500445PtEsBl','checkNpmPackage','string','force','react','template','withTranslations'];a105c=function(){return r;};return a105c();}const a105b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a105d;if(c){const e=c[m(0x119)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a105a=a105b(this,function(){const n=a105d;return a105a[n(0x126)]()[n(0x127)](n(0x123))['toString']()[n(0x102)](a105a)[n(0x127)]('(((.+)+)+)+$');});a105a();import a105e from'path';import{paramCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';function a105d(a,b){const c=a105c();return a105d=function(d,e){d=d-0xf4;let f=c[d];return f;},a105d(a,b);}import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Generator[a105o(0x10a)]({'name':a105o(0x115),'aliases':['h'],'checkWhere':![],'usage':a105o(0x101),'shortDesc':'Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','validOpts':[{'name':'baseDir','values':['hooks',a105o(0x107),a105o(0x108),a105o(0xff)]},{'name':a105o(0x12d),'boolFlag':!![]}],'examples':['maka\x20g:hook\x20cool-hook'],'description':'\x0a\x20\x20Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html\x0a\x0a\x20\x20Hooks\x20are\x20created\x20in\x20the\x20imports/ui/hooks\x20directory\x20by\x20default,\x20but\x20can\x20be\x20created\x20in\x0a\x20\x20the\x20imports/ui/components,\x20imports/ui/pages,\x20or\x20imports/ui/layouts\x20directories\x20by\x0a\x20\x20using\x20the\x20--baseDir\x20option\x20with\x20the\x20appropriate\x20directory\x20name.\x0a\x0a\x20\x20To\x20create\x20a\x20hook\x20in\x20a\x20subdirectory\x20of\x20the\x20hooks\x20directory,\x20add\x20the\x20path\x20to\x20the\x0a\x20\x20hook\x20name.\x20For\x20example,\x20maka\x20g:hook\x20myHooks/useCoolHook\x20will\x20create\x20a\x20hook\x20in\x0a\x20\x20imports/ui/hooks/my-hooks/use-cool-hook.jsx\x0a\x0a\x20\x20If\x20you\x27d\x20like\x20a\x20hook\x20created\x20as\x20part\x20of\x20an\x20existing\x20page,\x20component,\x20or\x20layout,\x0a\x20\x20use\x20the\x20maka\x20g:hook\x20command\x20with\x20the\x20--baseDir\x20option.\x20For\x20example,\x0a\x0a\x20\x20\x20\x20maka\x20g:hook\x20--baseDir=pages\x20myPage/useCoolHook\x0a\x0a\x20\x20will\x20create\x20a\x20hook\x20in\x20imports/ui/pages/my-page/use-cool-hook.jsx\x0a\x0a\x20\x20'},async function(a,b){const p=a105o;Log['notice'](p(0x121)+b[p(0x129)]+p(0x124));try{const c=this[p(0x125)]['checkNpmPackage'](p(0x12e));if(!c){Log[p(0xfa)](p(0x10f));throw new UsageError();}const d=this[p(0x125)][p(0x100)](b),f=b[p(0x113)]?p(0x103)+b[p(0x113)]:p(0x10d),g=this['fsi'][p(0x100)]({'pathParts':[f,b['dir'],paramCase(b[p(0x129)]),paramCase(b['resourceName'])]}),h=await this[p(0x125)][p(0x10b)]();await this[p(0x125)]['withValue'](h,async()=>{const q=p;typeof h[q(0xf4)][q(0x128)]===q(0x12c)&&(h[q(0xf4)]['css']=h[q(0xf4)][q(0x128)]===q(0x104)?!![]:![],this[q(0x125)][q(0x10e)](q(0x128),h[q(0xf4)][q(0x128)]));h[q(0x116)]['graphql']===q(0x117)&&!this[q(0x125)][q(0x12b)](q(0x11e))&&(Log['warn'](q(0x114)),await this['fsi'][q(0xf9)]('@apollo/client\x20isomorphic-fetch',{'cwd':d}));const i={'cssCaseName':paramCase(b[q(0x129)]),'camelCaseName':camelCase(b[q(0x129)]),'className':pascalCase(b[q(0x129)]),'name':pascalCase(b['resourceName']),'graphql':h[q(0x116)]['graphql'],'theme':h[q(0x116)][q(0x11a)],'features':h[q(0x122)],'myPath':a105e[q(0x111)](this[q(0x125)]['pathFromProject']({}),g),'fileName':paramCase(b[q(0x129)]),'isComponent':![],'isLayout':![],'withTranslations':h['features'][q(0xf5)]};await this[q(0x125)]['template']({'srcPath':'hook/hook.js','destPath':g+'.js','context':i,'config':h,'framework':q(0x12e),'force':b[q(0x12d)]});h['template'][q(0x128)]&&(await this[q(0x125)][q(0xf4)]({'srcPath':q(0x11f),'destPath':g+q(0xfb),'context':Object[q(0xfc)]({},i,{'className':i[q(0xf8)]}),'config':h,'force':b[q(0x12d)]}),await this[q(0x125)][q(0x110)]({'filePath':g+'.'+h[q(0x116)]['js'],'content':q(0x10c)+i[q(0x11c)]+'.'+h[q(0x116)][q(0x128)]+'\x27;'}));h[q(0x116)][q(0x120)]!=='none'&&await this[q(0x125)]['template']({'srcPath':q(0xfd),'destPath':g+q(0x11b),'framework':q(0x12e),'context':i,'config':h,'force':b[q(0x12d)]});const j=b[q(0xfe)]?'/'+b[q(0xfe)]+'/':'/',k=''+f+j+i[q(0x11c)]+'/'+i[q(0x11c)];await this[q(0x125)]['injectTemplateModule'](i[q(0xf7)],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(0x143))/0x1+parseInt(f(0x13f))/0x2+-parseInt(f(0x145))/0x3*(-parseInt(f(0x13d))/0x4)+-parseInt(f(0x144))/0x5+parseInt(f(0x138))/0x6+parseInt(f(0x140))/0x7*(-parseInt(f(0x13e))/0x8)+parseInt(f(0x13c))/0x9*(-parseInt(f(0x13b))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a106c,0x4f9df));var a106b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a106d;if(c){var e=c[g(0x13a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a106a=a106b(this,function(){var h=a106d;return a106a['toString']()[h(0x141)](h(0x139))['toString']()[h(0x142)](a106a)['search'](h(0x139));});a106a();function a106d(a,b){var c=a106c();return a106d=function(d,e){d=d-0x138;var f=c[d];return f;},a106d(a,b);}import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';function a106c(){var i=['20993DKMNXt','search','constructor','390846NaXphr','2645675bBFNzA','1614LyJBfn','3152820BaEmwc','(((.+)+)+)+$','apply','10uPDnGZ','8894403EWEsBg','2292fmVObT','40gzgzFP','1267836jqILEa'];a106c=function(){return i;};return a106c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a107d,c=a();while(!![]){try{var d=-parseInt(f(0xf3))/0x1*(parseInt(f(0xe6))/0x2)+parseInt(f(0xf4))/0x3*(-parseInt(f(0xef))/0x4)+-parseInt(f(0xf5))/0x5+parseInt(f(0xe9))/0x6*(-parseInt(f(0xe7))/0x7)+parseInt(f(0xf0))/0x8+-parseInt(f(0xf2))/0x9*(-parseInt(f(0xf6))/0xa)+parseInt(f(0xeb))/0xb*(parseInt(f(0xf1))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a107c,0xf24aa));var a107b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a107d;if(c){var e=c[g(0xec)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a107a=a107b(this,function(){var h=a107d;return a107a[h(0xed)]()[h(0xea)](h(0xee))[h(0xed)]()[h(0xe8)](a107a)[h(0xea)]('(((.+)+)+)+$');});function a107d(a,b){var c=a107c();return a107d=function(d,e){d=d-0xe6;var f=c[d];return f;},a107d(a,b);}a107a();import'./esri.generator.js';import'./map.esri.gen.js';function a107c(){var i=['420tdFwtU','1447533peLdin','146554UajmHm','6icaQNh','2742970TMZviK','40PeajgJ','2kCGbis','2040766FizRMs','constructor','30wQlnCg','search','402523cOKsjr','apply','toString','(((.+)+)+)+$','765764XKcERl','12832344cxCLke'];a107c=function(){return i;};return a107c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a108i=a108d;(function(a,b){const f=a108d,c=a();while(!![]){try{const d=-parseInt(f(0xad))/0x1+parseInt(f(0xb6))/0x2+parseInt(f(0xb9))/0x3+-parseInt(f(0xb2))/0x4+parseInt(f(0xaf))/0x5*(parseInt(f(0xbb))/0x6)+parseInt(f(0xb3))/0x7+-parseInt(f(0xae))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a108c,0x19c5c));const a108b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a108d;if(c){const e=c[g(0xbc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a108a=a108b(this,function(){const h=a108d;return a108a[h(0xb8)]()['search'](h(0xba))[h(0xb8)]()['constructor'](a108a)[h(0xb5)](h(0xba));});a108a();function a108d(a,b){const c=a108c();return a108d=function(d,e){d=d-0xad;let f=c[d];return f;},a108d(a,b);}import{Generator}from'../../../generator.js';function a108c(){const k=['2934BTDuyA','apply','maka\x20g:kit:e','/foo/bar','/foo','92840TOAjIT','2248312FLvlWI','1205VJWdbr','esri','\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','322032NhIaKA','360724CJmGcZ','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','search','404990vsNYnU','Esri\x20Kit\x20generated\x20successfully','toString','564225gYEHGo','(((.+)+)+)+$'];a108c=function(){return k;};return a108c();}import a108e from'../kit.js';const EsriGen=Generator['create']({'name':a108i(0xb0),'aliases':['e'],'usage':a108i(0xb4),'noNeedResource':!![],'shortDesc':'Starting\x20point\x20for\x20generating\x20Esri\x20Maps','validOpts':[''],'isPro':!![],'examples':[a108i(0xbd)],'description':a108i(0xb1)},async function(){const j=a108i;return{'success':!![],'message':j(0xb7),'details':{'filesCreated':[j(0xbe)],'filesUpdated':[j(0xbf)]}};},async function(){},a108e);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(0xd1))/0x1*(parseInt(p(0xc9))/0x2)+parseInt(p(0xa7))/0x3+-parseInt(p(0xbe))/0x4*(-parseInt(p(0xad))/0x5)+-parseInt(p(0xce))/0x6*(-parseInt(p(0xae))/0x7)+-parseInt(p(0xd3))/0x8*(parseInt(p(0xc6))/0x9)+-parseInt(p(0xc8))/0xa+-parseInt(p(0xaa))/0xb*(-parseInt(p(0xd2))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a109c,0xc88b9));const a109b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a109d;if(c){const e=c[q(0xac)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a109a=a109b(this,function(){const r=a109d;return a109a[r(0xcb)]()[r(0xcc)]('(((.+)+)+)+$')[r(0xcb)]()[r(0xc7)](a109a)[r(0xcc)](r(0xa6));});a109a();function a109d(a,b){const c=a109c();return a109d=function(d,e){d=d-0xa1;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';function a109c(){const v=['4572RQzmMy','constructor','9392600MWKfie','1138ARLQxg','/imports/ui/','toString','search','FALSE','889692SqiYXo','Generate\x20an\x20Esri\x20map\x20component','/imports/startup/lib/templates','2287nhKwhI','12tjkyiG','17464kPINbA','true','react','injectIntoFile','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','injectTemplateModule','(((.+)+)+)+$','3996105XUZmVW','<div\x20id=\x22map-hook\x22>','basic-map','18377832cTVpDD','fsi','apply','2134015AVmgnk','35Glhahc','\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','page','.js','template','<div\x20id=\x22map-component\x22>','esri-loader','/imports/startup/client/templates','Generating\x20a\x20map\x20component','exit','/imports/ui/hooks','withValue','injectImport','pathFromApp','dir','checkNpmPackage','4tpQshK','kit/esri/map/','replaceAll','baseDir','error','split','</div>','map'];a109c=function(){return v;};return a109c();}import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a109s(0xc5),'aliases':['m'],'usage':a109s(0xa4),'shortDesc':a109s(0xcf),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT'],'ssr':SsrEngines[a109s(0xcd)]},'description':a109s(0xaf)},async function(a,b){const t=a109s;try{Log['bright'](t(0xb6));const c=t(0xa9);await this[t(0xab)][t(0xbd)](['@esri/react-arcgis',t(0xb4)],{'shouldInstall':!![]});const d=this[t(0xab)]['findProjectDirectory'](),f=this['fsi']['getMakaProjectConfig'](),g=f['engines']['ssr']===t(0xa1),h=await a109f['processAndRunGenerator'](t(0xb0),['map'],{'cwd':d,'config':f}),i={'name':headerCase(f['appName'])[t(0xc0)]('-','\x20'),'componentName':pascalCase(c)},j=b[t(0xc1)]?t(0xca)+b[t(0xc1)]:t(0xb8),k=this['fsi'][t(0xbb)]({'pathParts':[j,b[t(0xbc)],paramCase(c),paramCase(c)]});this[t(0xab)][t(0xb9)](f,async()=>{const u=t;this[u(0xab)][u(0xb2)]({'srcPath':u(0xbf)+c+u(0xb1),'destPath':k+'.js','framework':u(0xa2),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[t(0xbc)]+'/'+c+'/'+c;await this[t(0xab)][t(0xa5)](c,f,l);const m=h[t(0xc3)]('/'),n=this[t(0xab)]['pathFromApp']({'pathParts':m});await this[t(0xab)][t(0xba)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?t(0xd0):t(0xb5),'isNamedExport':!![]}),await this[t(0xab)][t(0xa3)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+'\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','begin':[t(0xa8),t(0xb3)],'end':[t(0xc4)],'replace':!![]});}catch(o){Log[t(0xc2)](o),process[t(0xb7)](0x1);}},async function(){},a109e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a110i=a110d;(function(a,b){const f=a110d,c=a();while(!![]){try{const d=-parseInt(f(
|
|
1
|
+
const a110i=a110d;(function(a,b){const f=a110d,c=a();while(!![]){try{const d=-parseInt(f(0xbd))/0x1*(parseInt(f(0xc4))/0x2)+-parseInt(f(0xb3))/0x3*(parseInt(f(0xb7))/0x4)+-parseInt(f(0xbe))/0x5+parseInt(f(0xc1))/0x6+-parseInt(f(0xb5))/0x7*(-parseInt(f(0xc2))/0x8)+-parseInt(f(0xbc))/0x9*(-parseInt(f(0xb4))/0xa)+-parseInt(f(0xbb))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a110c,0x40766));const a110b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a110d;if(c){const e=c[g(0xc3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a110a=a110b(this,function(){const h=a110d;return a110a[h(0xb6)]()[h(0xb8)](h(0xc6))[h(0xb6)]()['constructor'](a110a)[h(0xb8)]('(((.+)+)+)+$');});function a110c(){const j=['maka\x20g:kit','maka\x20g:k','1245984WeJSvM','1048fUDmzi','apply','238926UWgSrU','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','(((.+)+)+)+$','633TJwwqf','4935620CBFpzP','19166FGrzLZ','toString','5828gfosaR','search','maka\x20{generate,\x20g}:{kit}\x20<name>','kit','933394ErjnXZ','9igLWJF','2vydXum','823295FBcqoS'];a110c=function(){return j;};return a110c();}a110a();import{Generator}from'../../generator.js';const KitGen=Generator['create']({'name':a110i(0xba),'aliases':['k'],'usage':a110i(0xb9),'shortDesc':a110i(0xc5),'minArgLength':0x1,'isPro':![],'validOpts':[],'noNeedResource':!![],'examples':[a110i(0xbf),a110i(0xc0)]},async function(){});function a110d(a,b){const c=a110c();return a110d=function(d,e){d=d-0xb3;let f=c[d];return f;},a110d(a,b);}export default KitGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a111d,c=a();while(!![]){try{var d=-parseInt(f(0x156))/0x1*(parseInt(f(0x14c))/0x2)+parseInt(f(0x149))/0x3*(-parseInt(f(0x157))/0x4)+-parseInt(f(0x147))/0x5*(-parseInt(f(0x14d))/0x6)+parseInt(f(0x148))/0x7+-parseInt(f(0x151))/0x8*(-parseInt(f(0x158))/0x9)+-parseInt(f(0x14f))/0xa*(parseInt(f(0x153))/0xb)+parseInt(f(0x155))/0xc*(parseInt(f(0x14e))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a111c,0x26199));function a111c(){var i=['apply','12gRkxnl','6464kBQtJl','1139420cBEONO','873AslICN','525055iEBexO','386113pNYicV','3lvLBos','constructor','toString','22RItWdi','6Gydyem','4105907QRpqQa','43830DCYKyX','search','18152qtStNz','(((.+)+)+)+$','462kMbxGi'];a111c=function(){return i;};return a111c();}var a111b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a111d;if(c){var e=c[g(0x154)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a111a=a111b(this,function(){var h=a111d;return a111a[h(0x14b)]()['search'](h(0x152))[h(0x14b)]()[h(0x14a)](a111a)[h(0x150)](h(0x152));});a111a();function a111d(a,b){var c=a111c();return a111d=function(d,e){d=d-0x147;var f=c[d];return f;},a111d(a,b);}import'./mui.generator.js';import'./frame.mui.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a112A=a112d;(function(a,b){const x=a112d,c=a();while(!![]){try{const d=parseInt(x(0xc7))/0x1*(parseInt(x(0xcd))/0x2)+parseInt(x(0xeb))/0x3+parseInt(x(0xcc))/0x4+parseInt(x(0xc0))/0x5*(parseInt(x(0xbd))/0x6)+-parseInt(x(0xe0))/0x7*(-parseInt(x(0xd8))/0x8)+parseInt(x(0xe3))/0x9+-parseInt(x(0xe1))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a112c,0x849f2));const a112b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a112d;if(c){const e=c[y(0xd4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a112a=a112b(this,function(){const z=a112d;return a112a['toString']()[z(0xe2)](z(0xf0))[z(0xcb)]()[z(0xdb)](a112a)['search'](z(0xf0));});a112a();import{Generator}from'../../../generator.js';function a112c(){const D=['55YmUjlh','No\x20layouts\x20selected','app-tests','pathFromApp','{this.props.children}','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','tsx','124153KeidvR','fsi','create','session','toString','3037980JkwJtu','2YQxZxt','true','engines','basic-app-bar','/imports/startup/lib/templates','imports','length','apply','getFiles','tests','-component\x22>','8RYuTtT','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','<div\x20id=\x22','constructor','getMakaProjectConfig','-hook\x22>','react','ssr','4260242zwVvWb','18141670vtCBbX','search','3479463yGMRaC','findAppDirectory','maka\x20g:k:m:f','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','join','layouts','{props.children}','error','1329741feXmFW','test','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','\x20/>\x0a','injectIntoFile','(((.+)+)+)+$','template','options','checkbox','/imports/startup/client/templates','dir','{\x20props.children\x20}','.js','19242ZxvpyA','REACT','injectImport'];a112c=function(){return D;};return a112c();}import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';function a112d(a,b){const c=a112c();return a112d=function(d,e){d=d-0xb7;let f=c[d];return f;},a112d(a,b);}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(0xc9)]({'name':'frame','aliases':['f'],'usage':a112A(0xed),'shortDesc':a112A(0xe6),'validOpts':[a112A(0xe8)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines[a112A(0xbe)]},'examples':['maka\x20generate:kit:mui:frame',a112A(0xe5)],'description':a112A(0xc5)},async function(a,b){const B=a112A;try{const c=B(0xd0),d='basic-drawer',f=this[B(0xc8)][B(0xdc)](),g=f[B(0xcf)][B(0xdf)]===B(0xce);await this[B(0xc8)]['checkMeteorPackage'](B(0xca),{'shouldInstall':!![]});const h=this['fsi'][B(0xe4)](),i=a112e['join'](h,B(0xd2),'ui',B(0xe8)),j=this['fsi']['getDirectories'](i),k=await Actions[B(0xb7)]({'type':B(0xb8),'name':B(0xe8),'message':B(0xd9),'choices':j});if(k[B(0xe8)][B(0xd3)]===0x0){Log[B(0xea)](B(0xc1));return;}const l=b['baseDir']?'/imports/ui/'+b['baseDir']:'/imports/ui/hooks',m=this[B(0xc8)]['pathFromApp']({'pathParts':[l,b['dir'],paramCase(c),paramCase(c)]}),n=this[B(0xc8)][B(0xc3)]({'pathParts':[l,b['dir'],paramCase(d),paramCase(d)]}),o={'name':headerCase(f['appName'])['replaceAll']('-','\x20')};await this[B(0xc8)]['withValue'](f,async()=>{const C=B;await this[C(0xc8)][C(0xf1)]({'srcPath':'kit/mui/frame/app-bars/'+c+'.js','destPath':m+C(0xbc),'framework':'react','context':o,'config':f,'force':![],'ignore':![]}),await this[C(0xc8)][C(0xf1)]({'srcPath':'kit/mui/frame/drawers/'+d+C(0xbc),'destPath':n+C(0xbc),'framework':C(0xde),'context':o,'config':f,'force':![],'ignore':![]});});const p=''+l+b[B(0xba)]+'/'+c+'/'+c;await this[B(0xc8)]['injectTemplateModule'](c,f,p);const q=''+l+b[B(0xba)]+'/'+d+'/'+d;await this[B(0xc8)]['injectTemplateModule'](d,f,q);const {layouts:r}=k;for(const s of r){const t=this[B(0xc8)][B(0xd5)](a112e[B(0xe7)](i,s),{'extensions':['jsx',B(0xc6)],'omit':[B(0xc2),B(0xd6),B(0xec)]});for(const u of t){const v=a112e[B(0xe7)](i,s,u);await this[B(0xc8)]['injectImport']({'filePath':v,'importName':pascalCase(c),'modulePath':g?B(0xd1):B(0xb9),'isNamedExport':!![]}),await this['fsi'][B(0xef)]({'filePath':v,'content':'<'+pascalCase(c)+B(0xee),'begin':['<div\x20id=\x22'+s+B(0xd7),'<div\x20id=\x22'+s+B(0xdd)],'end':[B(0xc4),'{\x20this.props.children\x20}',B(0xe9),B(0xbb)]}),await this[B(0xc8)][B(0xbf)]({'filePath':v,'importName':pascalCase(d),'modulePath':g?B(0xd1):'/imports/startup/client/templates','isNamedExport':!![]}),await this[B(0xc8)][B(0xef)]({'filePath':v,'content':'<'+pascalCase(d)+B(0xee),'begin':[B(0xda)+s+B(0xd7),'<div\x20id=\x22'+s+'-hook\x22>'],'end':['{this.props.children}','{\x20this.props.children\x20}',B(0xe9),B(0xbb)]});}}}catch(w){Log[B(0xea)](w);}},async function(){},a112f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a113d(a,b){const c=a113c();return a113d=function(d,e){d=d-0x198;let f=c[d];return f;},a113d(a,b);}const a113i=a113d;function a113c(){const j=['create','35qsVlXy','toString','maka\x20g:kit:m','2191mpiaEm','Material-UI\x20Kit','mui','11tVMnjz','3304hDEjrc','634566LJQSmP','33258228KYlXUC','(((.+)+)+)+$','search','1738532GaUYmZ','480ydbFUm','1067086czpePU','448493tOeJMV','3EXwOKM','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','apply','16254TzbiJT'];a113c=function(){return j;};return a113c();}(function(a,b){const f=a113d,c=a();while(!![]){try{const d=-parseInt(f(0x1a1))/0x1+-parseInt(f(0x1a0))/0x2+parseInt(f(0x1a2))/0x3*(-parseInt(f(0x19e))/0x4)+parseInt(f(0x1a7))/0x5*(-parseInt(f(0x19a))/0x6)+-parseInt(f(0x1aa))/0x7*(parseInt(f(0x199))/0x8)+parseInt(f(0x1a5))/0x9*(-parseInt(f(0x19f))/0xa)+-parseInt(f(0x198))/0xb*(-parseInt(f(0x19b))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a113c,0x614e6));const a113b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a113d;if(c){const e=c[g(0x1a4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a113a=a113b(this,function(){const h=a113d;return a113a[h(0x1a8)]()[h(0x19d)]('(((.+)+)+)+$')[h(0x1a8)]()['constructor'](a113a)['search'](h(0x19c));});a113a();import{Generator}from'../../../generator.js';import a113e from'../kit.js';const MuiGen=Generator[a113i(0x1a6)]({'name':a113i(0x1ac),'aliases':['m'],'usage':a113i(0x1a3),'noNeedResource':!![],'shortDesc':a113i(0x1ab),'validOpts':[''],'isPro':![],'examples':[a113i(0x1a9)]},async function(){throw'NIE';},async function(){},a113e);export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a114o=a114d;function a114c(){const r=['
|
|
1
|
+
const a114o=a114d;function a114c(){const r=['This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','split','12aIVIPG','template','engines','component/component.js','react','ssr','9MVswUA','checkNpmPackage','pathFromProject','5511112URtxku','pathFromApp','css','className','api','setTemplate','withHooks','fsi','withValue','ramda','resourceName','withTranslations','15SmtGVL','warn','relative','5147410kbGgoU','findAppDirectory','string','includes','withHook','dir','maka\x20g:l\x20web/safari','toString','maka\x20g:layout\x20mobile/iPhone8','.app-tests.js','/imports/ui/layouts','.js','injectTemplateModule','(((.+)+)+)+$','injectAtBeginningOfFile','template/template.css','assign','413833UNIxri','37089261AiogAx','Scaffolding\x20for\x20a\x20React\x20Layout.','192dAuDVD','fileName','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','features','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','4HWWFlz','apply','2540754hTeVng','constructor','true','test/test.js','507480mDoitl','193369exxqKv','search','test'];a114c=function(){return r;};return a114c();}function a114d(a,b){const c=a114c();return a114d=function(d,e){d=d-0x168;let f=c[d];return f;},a114d(a,b);}(function(a,b){const l=a114d,c=a();while(!![]){try{const d=parseInt(l(0x16f))/0x1*(-parseInt(l(0x168))/0x2)+-parseInt(l(0x16e))/0x3+-parseInt(l(0x17d))/0x4+-parseInt(l(0x189))/0x5*(-parseInt(l(0x16a))/0x6)+parseInt(l(0x19d))/0x7*(-parseInt(l(0x1a0))/0x8)+-parseInt(l(0x17a))/0x9*(parseInt(l(0x18c))/0xa)+parseInt(l(0x19e))/0xb*(parseInt(l(0x174))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a114c,0xbd2c7));const a114b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a114d;if(c){const e=c[m(0x169)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a114a=a114b(this,function(){const n=a114d;return a114a[n(0x193)]()[n(0x170)](n(0x199))[n(0x193)]()[n(0x16b)](a114a)['search'](n(0x199));});a114a();import a114e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator['create']({'name':'layout','aliases':aliases,'usage':a114o(0x1a4),'shortDesc':a114o(0x19f),'validOpts':[],'examples':[a114o(0x194),a114o(0x192)]},async function(a,b){const p=a114o,c=p(0x196),d=this[p(0x184)][p(0x18d)](),e=this[p(0x184)][p(0x17e)]({'pathParts':[c,b[p(0x191)],paramCase(b[p(0x187)]),paramCase(b[p(0x187)])]}),f=this[p(0x184)]['getMakaProjectConfig']();await this[p(0x184)][p(0x185)](f,async()=>{const q=p;typeof f[q(0x175)][q(0x171)]===q(0x18e)&&(f[q(0x175)]['test']=f[q(0x175)][q(0x171)]===q(0x16c)?!![]:![],this[q(0x184)][q(0x182)](q(0x171),f['template'][q(0x171)]));typeof f[q(0x175)][q(0x17f)]===q(0x18e)&&(f['template'][q(0x17f)]=f[q(0x175)][q(0x17f)]===q(0x16c)?!![]:![],this[q(0x184)][q(0x182)](q(0x17f),f['template'][q(0x17f)]));typeof f[q(0x175)]['js']===q(0x18e)&&(f[q(0x175)]['js']=f['template']['js']===q(0x16c)?!![]:![],this[q(0x184)][q(0x182)]('js',f[q(0x175)]['js']));!f[q(0x1a3)]&&(f[q(0x1a3)]={});const g=b['_']?b['_'][0x0][q(0x173)](':')[0x1]:![],h=b['_']&&aliases[q(0x18f)](g);h&&!this[q(0x17b)](q(0x186))&&(Log['warn'](q(0x1a2)),this[q(0x184)]['installNpmPackage'](q(0x186),{'cwd':d}));if(h&&!this['checkNpmPackage'](q(0x178))){Log[q(0x18a)](q(0x172));return;}const i={'name':pascalCase(b['resourceName']),'myPath':a114e[q(0x18b)](this['fsi'][q(0x17c)]({}),e),'cssCaseName':paramCase(b[q(0x187)]),'className':pascalCase(b[q(0x187)]),'camelCaseName':camelCase(b[q(0x187)]),'fileName':paramCase(b[q(0x187)]),'graphql':f[q(0x176)]['graphql'],'features':f[q(0x1a3)],'client':f[q(0x176)]['client'],'api':f[q(0x176)][q(0x181)],'ssr':f[q(0x176)][q(0x179)],'test':f['engines'][q(0x171)],'theme':f[q(0x176)]['theme'],'isComponent':![],'isLayout':!![],'withTranslations':f[q(0x1a3)][q(0x188)]};f[q(0x1a3)]?.[q(0x183)]||b[q(0x190)]?await this[q(0x184)][q(0x175)]({'srcPath':'hook/hook.js','destPath':e+q(0x197),'framework':q(0x178),'context':i,'config':f}):await this[q(0x184)][q(0x175)]({'srcPath':q(0x177),'destPath':e+q(0x197),'framework':q(0x178),'context':i,'config':f});f[q(0x176)][q(0x171)]!=='none'&&await this['fsi']['template']({'srcPath':q(0x16d),'destPath':e+q(0x195),'framework':q(0x178),'context':i,'config':f});f[q(0x175)][q(0x17f)]&&(await this[q(0x184)][q(0x175)]({'srcPath':q(0x19b),'destPath':e+'.css','context':Object[q(0x19c)]({},i,{'className':paramCase(b[q(0x187)])}),'config':f}),await this[q(0x184)][q(0x19a)]({'filePath':e+'.'+f[q(0x176)]['js'],'content':'import\x20\x27./'+i[q(0x1a1)]+'.'+f['engines'][q(0x17f)]+'\x27;'}));const j=b[q(0x191)]?'/'+b[q(0x191)]+'/':'/',k=''+c+j+i['fileName']+'/'+i[q(0x1a1)];await this[q(0x184)][q(0x198)](i[q(0x180)],f,k);});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a115i=a115d;(function(a,b){const f=a115d,c=a();while(!![]){try{const d=-parseInt(f(0x85))/0x1+-parseInt(f(0x87))/0x2+-parseInt(f(0x8b))/0x3*(-parseInt(f(0x88))/0x4)+parseInt(f(0x8c))/0x5+parseInt(f(0x9b))/0x6*(parseInt(f(0x93))/0x7)+parseInt(f(0x98))/0x8*(parseInt(f(0x90))/0x9)+parseInt(f(0x9d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0x20dc4));const a115b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a115d;if(c){const e=c[g(0x8d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a115a=a115b(this,function(){const h=a115d;return a115a['toString']()[h(0x8e)](h(0x8a))[h(0x99)]()[h(0x8f)](a115a)['search'](h(0x8a));});a115a();import{Generator}from'../generator.js';function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-0x85;let f=c[d];return f;},a115d(a,b);}const MakaGen=new Generator({'name':a115i(0x94),'aliases':['g'],'usage':a115i(0x9a),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a115i(0x96),'examples':[a115i(0x95),a115i(0x89),a115i(0x97),a115i(0x92),a115i(0x9c),a115i(0x91),a115i(0x86)]},function(){});export default MakaGen;function a115c(){const j=['maka\x20g:scaffold\x20todos','(((.+)+)+)+$','192NQCQhT','163380cQodty','apply','search','constructor','637047YnxFlP','maka\x20g:api\x20trucks','maka\x20g:package\x20package:name','2730wLRmKh','generate','maka\x20generate:scaffold\x20todos','Scaffold\x20various\x20parts\x20of\x20your\x20application','maka\x20g:template\x20todos/todo_item','8CqYpya','toString','maka\x20{generate,\x20g}:<generator>\x20<name>','102YLlDni','maka\x20g:route\x20todos/edit','3593220HZvAzH','161987dowBaZ','maka\x20g:dbc\x20geoserver\x20--type=pgsql','482232zTxrFJ','4268iHQrMa'];a115c=function(){return j;};return a115c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a116l=a116d;(function(a,b){const j=a116d,c=a();while(!![]){try{const d=parseInt(j(0xab))/0x1+-parseInt(j(0x93))/0x2*(parseInt(j(0x96))/0x3)+parseInt(j(0xa1))/0x4*(-parseInt(j(0xa3))/0x5)+parseInt(j(0xaa))/0x6*(parseInt(j(0x9c))/0x7)+parseInt(j(0xa8))/0x8+parseInt(j(0x97))/0x9+-parseInt(j(0xb0))/0xa*(-parseInt(j(0xb1))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x21646));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['toString']()[k(0xad)](k(0xaf))['toString']()['constructor'](a116a)[k(0xad)](k(0xaf));});function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x8f;let f=c[d];return f;},a116d(a,b);}a116a();function a116c(){const o=['406530EjSWdq','1393623URQMvw','startup','import\x20\x27./methods','methods','error','7pPCKju','appPathPrefix','engines','checkMeteorPackage','withValue','104dTUQLE','injectAtEndOfFile','44355lMijbe','template','fsi','dir','method/method.js','264792zoWEJU','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','595236zIYqwK','195879FTOcMk','imports','search','index.','(((.+)+)+)+$','30xaAbws','72963DdhuDs','maka\x20g:method\x20todos','pathFromApp','mdg:validated-method','tsx','maka:check','resourceName','2HMrmlN','create','-rpc-method\x27;'];a116c=function(){return o;};return a116c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a116l(0x94)]({'name':'method','aliases':['m'],'usage':'maka\x20{generate,\x20g}:{method,\x20m}\x20name','checkWhere':!![],'shortDesc':a116l(0xa9),'validOpts':[a116l(0xa6)],'examples':[a116l(0xb2)]},async function(a,b){const m=a116l;try{const c=this['fsi']['getMakaProjectConfig']();await this[m(0xa5)][m(0xa0)](c,async()=>{const n=m,d=paramCase(b['resourceName']),f={'name':b[n(0x92)],'fileName':d,'className':pascalCase(b[n(0x92)]),'camelCase':camelCase(b[n(0x92)]),'noRename':!![]};let g='js';c[n(0x9e)]['js']===n(0x90)&&(g='ts');await this[n(0xa5)][n(0x9f)]([n(0x91),'ddp-rate-limiter',n(0x8f)],{'shouldInstall':!![]}),await this[n(0xa5)][n(0xa4)]({'srcPath':n(0xa7),'destPath':this[n(0xa5)]['pathFromApp']({'pathParts':[n(0xac),n(0x98),b[n(0x9d)],n(0x9a),b[n(0xa6)],d+'-rpc-method.'+g]}),'context':f,'config':c});const h=b[n(0xa6)]?'/'+b['dir']+'/':'/',i=this[n(0xa5)][n(0xb3)]({'pathParts':['imports',n(0x98),b[n(0x9d)],n(0xae)+c['engines']['js']]});await this[n(0xa5)][n(0xa2)]({'filePath':i,'content':n(0x99)+h+d+n(0x95)});});}catch(d){Log[m(0x9b)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a117n=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d
|
|
1
|
+
function a117c(){const q=['package.js','/client/','engines','.js','toString','packages','pathFromProject','theme','ssr','resourceName','(((.+)+)+)+$','template','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','package/package.js','5688864pIOUxi','store','606915rbGifK','3859404kaUYxV','pathFromAppWithNoReWrite','package/','35633430QIMNWU','dir','noRename','package','withValue','client','constructor','create','graphql','search','template/template.js','516OhDMYo','hasOwnProperty','90397wjsyuD','13951xZetFD','pathFromApp','tests/server','8IfLXUC','9532944mqtBgP','relative','layout','fsi','features'];a117c=function(){return q;};return a117c();}const a117n=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d=parseInt(l(0x159))/0x1*(parseInt(l(0x15d))/0x2)+-parseInt(l(0x174))/0x3+-parseInt(l(0x171))/0x4+parseInt(l(0x173))/0x5+-parseInt(l(0x157))/0x6*(-parseInt(l(0x15a))/0x7)+-parseInt(l(0x15e))/0x8+parseInt(l(0x177))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xae279));function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x150;let f=c[d];return f;},a117d(a,b);}const a117b=(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;};}()),a117a=a117b(this,function(){const m=a117d;return a117a[m(0x167)]()[m(0x155)](m(0x16d))[m(0x167)]()[m(0x152)](a117a)[m(0x155)](m(0x16d));});a117a();import a117e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a117n(0x153)]({'name':a117n(0x17a),'aliases':['p'],'usage':'maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','shortDesc':a117n(0x16f),'validOpts':[a117n(0x178)],'examples':['maka\x20g:package\x20todos:package']},async function(a,b){const o=a117n,c=paramCase(b[o(0x16c)]),d=this[o(0x161)][o(0x15b)]({'pathParts':[o(0x168),b['dir'],c]}),e=this['fsi'][o(0x175)]({'pathParts':[o(0x168),b['dir'],c,o(0x163)]}),f=this[o(0x161)]['getMakaProjectConfig']();await this[o(0x161)][o(0x150)](f,async()=>{const p=o,g={'name':paramCase(b[p(0x16c)]),'myPath':a117e[p(0x15f)](this[p(0x161)][p(0x169)]({}),d),'cssCaseName':paramCase(b[p(0x16c)]),'className':pascalCase(b[p(0x16c)]),'camelCaseName':camelCase(b[p(0x16c)]),'fileName':c,'client':f[p(0x165)][p(0x151)],'graphql':f['engines'][p(0x154)],'ssr':f['engines'][p(0x16b)],'isComponent':b[p(0x158)]('component'),'isLayout':b[p(0x158)](p(0x160)),'isStore':b['hasOwnProperty'](p(0x172)),'features':f[p(0x162)],'noRename':!![],'theme':f[p(0x165)][p(0x16a)]};await this[p(0x161)][p(0x16e)]({'srcPath':p(0x170),'destPath':e,'context':g,'config':f}),g[p(0x179)]=![];const h=d+p(0x164)+c+p(0x166);await this['fsi'][p(0x16e)]({'srcPath':p(0x156),'destPath':h,'context':g,'config':f});const i=['lib','server','tests/client',p(0x15c)];for(const j of i){const k=d+'/'+j+'/'+c+p(0x166);await this['fsi'][p(0x16e)]({'srcPath':p(0x176)+j+'/package.js','destPath':k,'context':g,'config':f});}});});
|