@maka/maka-cli 4.7.24 → 4.7.26
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 +1 -1
- package/bundle/obf/src/tool.js +1 -1
- package/bundle/obf/src/tools/actions/actions.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
- package/bundle/obf/src/tools/docker/docker.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
- package/bundle/obf/src/tools/https/https.class.js +1 -1
- package/bundle/obf/src/tools/https/https.interface.js +1 -1
- package/bundle/obf/src/tools/log/log.class.js +1 -1
- package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
- package/bundle/obf/src/tools/options/options.class.js +1 -1
- package/bundle/obf/src/tools/progress/progress.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
(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(0x1e5))/0x1+-parseInt(f(0x1e4))/0x2*(parseInt(f(0x1e1))/0x3)+-parseInt(f(0x1df))/0x4+-parseInt(f(0x1e6))/0x5*(-parseInt(f(0x1e0))/0x6)+-parseInt(f(0x1e9))/0x7*(-parseInt(f(0x1e2))/0x8)+-parseInt(f(0x1e3))/0x9*(-parseInt(f(0x1e7))/0xa)+-parseInt(f(0x1e8))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a98c,0x660d8));var a98b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a98d;if(c){var e=c[g(0x1eb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a98a=a98b(this,function(){var h=a98d;return a98a['toString']()[h(0x1ea)]('(((.+)+)+)+$')['toString']()[h(0x1dd)](a98a)[h(0x1ea)](h(0x1de));});function a98c(){var i=['21Fqcwhh','8BSegfn','153dBYMqx','135446bXpEfo','747812ANWaAJ','5JrrGeS','278580KsjEkM','3329139EQGzZr','1292655HISXUn','search','apply','constructor','(((.+)+)+)+$','2190924slaCAE','2018316xCUFOD'];a98c=function(){return i;};return a98c();}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';import'./layout.js';import'./methods.js';import'./package.js';import'./publish.js';import'./route.js';import'./service.js';function a98d(a,b){var c=a98c();return a98d=function(d,e){d=d-0x1dd;var f=c[d];return f;},a98d(a,b);}import'./page.js';import'./maka.gen.js';import'./dockerfile.js';import'./maka.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a99d(a,b){const c=a99c();return a99d=function(d,e){d=d-
|
|
1
|
+
const a99x=a99d;function a99d(a,b){const c=a99c();return a99d=function(d,e){d=d-0xf6;let f=c[d];return f;},a99d(a,b);}(function(a,b){const u=a99d,c=a();while(!![]){try{const d=parseInt(u(0x116))/0x1+-parseInt(u(0xf9))/0x2+-parseInt(u(0x14c))/0x3+parseInt(u(0x14a))/0x4*(parseInt(u(0xfc))/0x5)+-parseInt(u(0xf6))/0x6*(-parseInt(u(0xfe))/0x7)+parseInt(u(0x120))/0x8*(-parseInt(u(0x129))/0x9)+parseInt(u(0x119))/0xa*(-parseInt(u(0x108))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a99c,0xf2d27));const a99b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a99d;if(c){const e=c[v(0xfb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a99a=a99b(this,function(){const w=a99d;return a99a[w(0x128)]()[w(0x141)](w(0x114))['toString']()[w(0x11f)](a99a)[w(0x141)]('(((.+)+)+)+$');});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(0x10b)]({'name':a99x(0x10c),'aliases':['a'],'usage':a99x(0x12d),'shortDesc':a99x(0x12f),'validOpts':[a99x(0x13e)],'examples':[a99x(0xf7)],'description':a99x(0x106)},async function(a,b){const y=a99x;try{const c=this[y(0x123)]['getMakaProjectConfig'](),d=[{'name':y(0x127),'value':y(0x11c)},{'name':'Fixtures','value':y(0x104)},{'name':y(0x13c),'value':y(0x13a)}];c[y(0x126)][y(0x10c)]===y(0x101)&&d[y(0x14b)]({'name':y(0x136),'value':y(0xfa)});c[y(0x126)]['graphql']===y(0x12a)&&d['push']({'name':y(0x10e),'value':'withGql'});const f={'type':y(0x117),'name':y(0x102),'message':y(0x13d),'pageSize':0x64,'choices':d},{apiAnswers:g}=await Actions[y(0x110)](f);g[y(0x118)]===0x0&&(Log[y(0x12b)](y(0x132)),process[y(0x143)](0x1)),await this['fsi'][y(0x142)](c,async()=>{const z=y,h=b[z(0xff)],i=paramCase(h),j=camelCase(h),k=b[z(0x13e)]?'/'+b[z(0x13e)]+'/':'/',l={'name':pascalCase(h),'fileName':i,'camelCase':pascalCase(h),'optsDir':k,'api':c['engines'][z(0x10c)],'graphql':c[z(0x126)][z(0xf8)],'test':c[z(0x126)][z(0x109)],'noRename':!![],'withPubs':g[z(0x135)](z(0x13a)),'withFixtures':g[z(0x135)]('withFixtures'),'withMethods':g[z(0x135)](z(0x11c)),'withRest':g[z(0x135)](z(0xfa))};let m='js';c[z(0x126)]['js']==='tsx'&&(m='ts');await this[z(0x123)][z(0x124)]([z(0x149),z(0x137),'ddp-rate-limiter',z(0x11e),z(0x125)],{'shouldInstall':!![]}),await a99e[z(0x121)](z(0x10a),[i],{'config':c,'where':z(0x11b)});c[z(0x126)][z(0x10c)]==='rest'&&(l[z(0xfa)]&&await this[z(0x123)]['template']({'srcPath':'api/api.js','destPath':this[z(0x123)][z(0x14d)]({'pathParts':[z(0x10f),z(0x10c),b[z(0x13e)],i,z(0x107)+m]}),'context':l,'config':c}));l[z(0x11c)]&&await this[z(0x123)][z(0x11a)]({'srcPath':z(0x131),'destPath':this[z(0x123)]['pathFromApp']({'pathParts':['imports',z(0x10c),b['dir'],i,z(0xfd)+m]}),'context':l,'config':c});l['withFixtures']&&await this[z(0x123)]['template']({'srcPath':'api/fixtures.js','destPath':this[z(0x123)][z(0x14d)]({'pathParts':[z(0x10f),z(0x10c),b[z(0x13e)],i,'fixtures.'+m]}),'context':l,'config':c});c['engines'][z(0x109)]!=='none'&&this[z(0x123)][z(0x11a)]({'srcPath':z(0x12e),'destPath':this['fsi'][z(0x14d)]({'pathParts':[z(0x10f),z(0x10c),b['dir'],i,i+'.app-tests.'+m]}),'context':l,'config':c});l['withPubs']&&await this[z(0x123)]['template']({'srcPath':z(0x13f),'destPath':this[z(0x123)][z(0x14d)]({'pathParts':[z(0x10f),z(0x10c),b[z(0x13e)],i,'publications.'+m]}),'context':l,'config':c});if(c['engines'][z(0xf8)]==='apollo'){if(g[z(0x135)]('withGql')){const o=this[z(0x123)][z(0x14d)]({'pathParts':[z(0x10f),z(0x146),'server',z(0x100)+c[z(0x126)]['js']]}),p=this[z(0x123)]['rewriteDestinationPathForEngine']({'pathParts':[o],'config':c}),q=this['fsi']['pathFromApp']({'pathParts':[z(0x10f),z(0x10c),b[z(0x13e)],i,z(0xf8),z(0x138)+m]}),r=z(0x11d)+k+i+z(0x145);this[z(0x123)][z(0x11a)]({'srcPath':'api/typeDefs.js','destPath':q,'context':l,'config':c}),await this[z(0x123)][z(0x111)]({'filePath':p,'content':z(0x112)+j+z(0x140)+r+z(0x14e)}),await this[z(0x123)]['injectIntoFile']({'filePath':p,'content':z(0x113)+j+z(0x130),'begin':z(0x13b),'end':z(0x103)});const s=this['fsi'][z(0x14d)]({'pathParts':[z(0x10f),'api',b[z(0x13e)],i,z(0xf8),z(0x115)+m]}),t='/imports/api'+k+i+z(0x12c);await this[z(0x123)][z(0x11a)]({'srcPath':z(0x10d),'destPath':s,'context':l,'config':c}),await this[z(0x123)][z(0x111)]({'filePath':p,'content':z(0x122)+j+'Resolvers\x20}\x20from\x20\x27'+t+'\x27;'}),await this['fsi'][z(0x139)]({'filePath':p,'content':z(0x148)+j+z(0x133),'begin':z(0x13b),'end':z(0x103)});}}await this['fsi'][z(0x11a)]({'srcPath':z(0x144),'destPath':this['fsi'][z(0x14d)]({'pathParts':[z(0x10f),z(0x146),z(0x11b),'register-'+i+z(0x134)+m]}),'context':l,'config':c,'force':!![]});const n=this[z(0x123)][z(0x14d)]({'pathParts':[z(0x10f),z(0x146),z(0x11b),z(0x100)+c[z(0x126)]['js']]});await this['fsi']['injectAtEndOfFile']({'filePath':n,'content':z(0x147)+i+z(0x105)});});}catch(h){console[y(0x12b)](h),process[y(0x143)](0x0);}});function a99c(){const A=['24ejjtSW','processAndRunGenerator','\x0aimport\x20{\x20resolvers\x20as\x20','fsi','checkMeteorPackage','mongo','engines','RPC\x20(Methods)','toString','2076768fYRjqe','apollo','error','/graphql/resolvers','maka\x20{generate,\x20g}:{api}\x20<resource-name>','api/tests.js','Scaffolding\x20for\x20an\x20api\x20concept\x20(i.e.\x20Todos).','TypeDefs);\x0a','api/methods.js','No\x20API\x20boundaries\x20selected','Resolvers);\x0a\x0a','-api.','includes','REST\x20API','maka:check','typeDefs.','injectIntoFile','withPubs','const','Publications','API\x20boundaries\x20to\x20create','dir','api/publications.js','TypeDefs\x20}\x20from\x20\x27','search','withValue','exit','api/register-api.js','/graphql/typeDefs','startup','import\x20\x27./register-','resolverList.push(','maka:rest','24josbYS','push','1501173NtvDTn','pathFromApp','\x27;\x0a','11657916dsDLly','maka\x20g:api\x20Todos','graphql','171414AmjbAs','withRest','apply','1631825QMUTvV','rpc-methods.','7HSErtO','resourceName','index.','rest','apiAnswers','if\x20\x5c(typeList','withFixtures','-api\x27;','\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','rest-api.','5447937IuOZTE','test','collection','create','api','api/resolvers.js','GraphQL','imports','options','injectAtBeginningOfFile','import\x20{\x20typeDefs\x20as\x20','typeList.push(','(((.+)+)+)+$','resolvers.','848112CxZEHY','checkbox','length','50JDEiEs','template','server','withMethods','/imports/api','mdg:validated-method','constructor'];a99c=function(){return A;};return a99c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a100l=a100d;(function(a,b){const j=a100d,c=a();while(!![]){try{const d=parseInt(j(0x1ec))/0x1*(parseInt(j(0x1ee))/0x2)+-parseInt(j(0x1e3))/0x3+-parseInt(j(0x1e7))/0x4*(parseInt(j(0x1f3))/0x5)+-parseInt(j(0x1da))/0x6+-parseInt(j(0x1dd))/0x7*(parseInt(j(0x1f4))/0x8)+-parseInt(j(0x1dc))/0x9+parseInt(j(0x1d6))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a100c,0xe355a));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['toString']()['search'](k(0x1e4))[k(0x1cd)]()['constructor'](a100a)[k(0x1d3)](k(0x1e4));});a100a();import{paramCase,pascalCase}from'change-case';function a100c(){const o=['\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','662fCoVdu','resourceName','4054ebDcvs','mongo','template','Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection','.app-tests.','5DsNYDM','4752336eHUWNe','collection/tests.js','collections','pathFromApp','toString','engines','maka:check','withValue','dir','checkMeteorPackage','search','test','collection','34655790PhBvjZ','error','none','injectAtEndOfFile','7161438RMrMXT','fsi','2029671sJMfvC','7obiGGV','startup','maka\x20{generate,\x20g}:{collection,\x20col}\x20<name>','where','col','import\x20\x27./collections','2850354olPVXT','(((.+)+)+)+$','getMakaProjectConfig','tsx','3652156DxHeGC','create','imports','appPathPrefix'];a100c=function(){return o;};return a100c();}function a100d(a,b){const c=a100c();return a100d=function(d,e){d=d-0x1ca;let f=c[d];return f;},a100d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a100l(0x1e8)]({'name':a100l(0x1d5),'aliases':[a100l(0x1e1)],'usage':a100l(0x1df),'checkWhere':!![],'shortDesc':a100l(0x1f1),'validOpts':['dir',a100l(0x1e0)],'description':a100l(0x1eb),'examples':['maka\x20g:collection\x20todos']},async function(a,b){const m=a100l;try{const c=this[m(0x1db)][m(0x1e5)]();await this['fsi'][m(0x1d0)](c,async()=>{const n=m,d=paramCase(b[n(0x1ed)]),f={'name':pascalCase(b[n(0x1ed)]),'collectionName':pascalCase(b[n(0x1ed)]),'fileName':d,'where':b[n(0x1e0)],'test':c[n(0x1ce)][n(0x1d4)],'noRename':!![]};let g='js';c['engines']['js']===n(0x1e6)&&(g='ts');await this['fsi'][n(0x1d2)]([n(0x1ef),n(0x1cf)],{'shouldInstall':!![]}),await this[n(0x1db)][n(0x1f0)]({'srcPath':'collection/collection.js','destPath':this[n(0x1db)][n(0x1cc)]({'pathParts':['imports','startup',b[n(0x1ea)],n(0x1cb),b['dir'],d+'.'+g]}),'context':f,'config':c});c[n(0x1ce)][n(0x1d4)]!==n(0x1d8)&&await this[n(0x1db)][n(0x1f0)]({'srcPath':n(0x1ca),'destPath':this[n(0x1db)][n(0x1cc)]({'pathParts':['imports',n(0x1de),b[n(0x1ea)],n(0x1cb),b[n(0x1d1)],d+n(0x1f2)+g]}),'context':f,'config':c});const h=b[n(0x1d1)]?'/'+b['dir']+'/':'/',i=this[n(0x1db)][n(0x1cc)]({'pathParts':[n(0x1e9),n(0x1de),b[n(0x1ea)],'index.'+c[n(0x1ce)]['js']]});await this[n(0x1db)][n(0x1d9)]({'filePath':i,'content':n(0x1e2)+h+d+'\x27;'});});}catch(d){Log[m(0x1d7)](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(0x13c))/0x1+parseInt(k(0x14e))/0x2+-parseInt(k(0x136))/0x3*(parseInt(k(0x154))/0x4)+-parseInt(k(0x13f))/0x5+-parseInt(k(0x164))/0x6+-parseInt(k(0x14f))/0x7*(parseInt(k(0x131))/0x8)+parseInt(k(0x169))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a101c,0xd30d6));const a101b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a101d;if(c){const e=c[l(0x133)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a101a=a101b(this,function(){const m=a101d;return a101a[m(0x167)]()[m(0x150)](m(0x168))[m(0x167)]()[m(0x163)](a101a)['search']('(((.+)+)+)+$');});function a101c(){const q=['/imports/ui/','pathFromApp','react','layouts','constructor','5226246UWBRQv','setTemplate','true','toString','(((.+)+)+)+$','27902070UpZobC','2472NChrkO','installNpmPackage','apply','none','fileName','45nqGbTG','test/test.js','.tests.js','maka\x20g:comp\x20todos/todos-item','engines','api','832496JhBjgg','template','baseDir','4428310tWZdZO','fsi','injectAtBeginningOfFile','error','ramda','maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','css','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','comp','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','test','cssCaseName','dir','injectTemplateModule','pathFromProject','1317436FeXWGX','38843DmEDGL','search','string','className','client','68168WpgYQu','resourceName','root','.js','features','create','findAppDirectory','component/component.js','component','checkNpmPackage','components'];a101c=function(){return q;};return a101c();}a101a();import a101e from'path';import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a101d(a,b){const c=a101c();return a101d=function(d,e){d=d-0x131;let f=c[d];return f;},a101d(a,b);}import{Log}from'../tools/log/log.class.js';const aliases=[a101n(0x147)];Generator[a101n(0x159)]({'name':a101n(0x15c),'aliases':aliases,'usage':a101n(0x144),'shortDesc':'Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','validOpts':[{'name':'baseDir','values':['hooks',a101n(0x15e),'pages',a101n(0x162)]}],'examples':[a101n(0x139)]},async function(a,b){const o=a101n;try{const c=this['fsi'][o(0x15a)](),d=b[o(0x13e)]?o(0x15f)+b['baseDir']:'/imports/ui/components',f=this['fsi'][o(0x160)]({'pathParts':[d,b['dir'],paramCase(b[o(0x155)]),paramCase(b[o(0x155)])]}),g=await this['fsi']['getMakaProjectConfig']();await this[o(0x140)]['withValue'](g,async()=>{const p=o;typeof g['template'][p(0x149)]===p(0x151)&&(g['template'][p(0x149)]=g[p(0x13d)][p(0x149)]===p(0x166)?!![]:![],this[p(0x140)][p(0x165)](p(0x149),g['template']['test']));typeof g[p(0x13d)]['css']===p(0x151)&&(g['template'][p(0x145)]=g[p(0x13d)]['css']==='true'?!![]:![],this[p(0x140)][p(0x165)](p(0x145),g[p(0x13d)]['css']));typeof g[p(0x13d)]['js']===p(0x151)&&(g[p(0x13d)]['js']=g[p(0x13d)]['js']===p(0x166)?!![]:![],this[p(0x140)][p(0x165)]('js',g[p(0x13d)]['js']));!g[p(0x158)]&&(g[p(0x158)]={});!b[p(0x156)]&&!this[p(0x140)][p(0x15d)](p(0x143))&&(Log['warn'](p(0x148)),await this['fsi'][p(0x132)](p(0x143),{'cwd':c}));if(!b[p(0x156)]&&!this[p(0x140)]['checkNpmPackage']('react')){Log[p(0x142)](p(0x146));return;}const h={'name':pascalCase(b[p(0x155)]),'myPath':a101e['relative'](this['fsi'][p(0x14d)]({}),f),'cssCaseName':paramCase(b[p(0x155)]),'className':pascalCase(b[p(0x155)]),'camelCaseName':camelCase(b[p(0x155)]),'fileName':paramCase(b[p(0x155)]),'graphql':g[p(0x13a)]['graphql'],'features':g[p(0x158)],'client':g[p(0x13a)][p(0x153)],'api':g[p(0x13a)][p(0x13b)],'ssr':g[p(0x13a)]['ssr'],'test':g[p(0x13a)][p(0x149)],'theme':g[p(0x13a)]['theme'],'isLayout':![],'isComponent':!![],'withTranslations':g[p(0x158)]['withTranslations']};await this[p(0x140)][p(0x13d)]({'srcPath':p(0x15b),'destPath':f+p(0x157),'context':h,'framework':p(0x161),'config':g});g[p(0x13a)]['test']!==p(0x134)&&await this[p(0x140)][p(0x13d)]({'srcPath':p(0x137),'destPath':f+p(0x138),'context':h,'framework':p(0x161),'config':g});g[p(0x13d)][p(0x145)]&&(await this['fsi'][p(0x13d)]({'srcPath':'template/template.css','destPath':f+'.css','context':Object['assign']({},h,{'className':paramCase(b['resourceName'])}),'config':g}),await this[p(0x140)][p(0x141)]({'filePath':f+'.'+g[p(0x13a)]['js'],'content':'import\x20\x27./'+h[p(0x14a)]+'.'+g[p(0x13a)][p(0x145)]+'\x27;'}));const i=b['dir']?'/'+b[p(0x14b)]+'/':'/',j=''+d+i+h['fileName']+'/'+h[p(0x135)];await this['fsi'][p(0x14c)](h[p(0x152)],g,j);});}catch(h){Log[o(0x142)](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a102j=a102d;(function(a,b){const h=a102d,c=a();while(!![]){try{const d=parseInt(h(0x167))/0x1*(-parseInt(h(0x160))/0x2)+parseInt(h(0x16d))/0x3*(-parseInt(h(0x155))/0x4)+parseInt(h(0x154))/0x5+parseInt(h(0x165))/0x6+parseInt(h(0x15b))/0x7*(parseInt(h(0x169))/0x8)+parseInt(h(0x163))/0x9*(-parseInt(h(0x150))/0xa)+parseInt(h(0x15e))/0xb*(parseInt(h(0x164))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a102c,0x1944f));const a102b=(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;};}()),a102a=a102b(this,function(){const i=a102d;return a102a[i(0x159)]()[i(0x16c)](i(0x161))[i(0x159)]()[i(0x151)](a102a)[i(0x16c)](i(0x161));});a102a();function a102c(){const m=['2020iKVIsD','constructor','settings.json','development','689500Vdbukf','56932zxelzO','config','ubuntu','config/settings.json','toString','pathFromProject','21fEnjFj','production','Generate\x20configuration\x20settings.','303127EgXyPO','fsi','2okuAPV','(((.+)+)+)+$','resourceName','5913KqnuET','84HtnIOJ','196422gQvjtY','config/process.env','57839vYaLBX','create','270176PWUrwq','template','appName','search','36ElATcy','isDocker'];a102c=function(){return m;};return a102c();}function a102d(a,b){const c=a102c();return a102d=function(d,e){d=d-0x150;let f=c[d];return f;},a102d(a,b);}import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a102j(0x168)]({'name':a102j(0x156),'usage':'maka\x20{generate,\x20g}:{config}\x20<name>','shortDesc':a102j(0x15d),'validOpts':[a102j(0x16e)],'examples':['maka\x20g:config\x20production']},async function(a,b){const k=a102j,c=this[k(0x15f)]['getMakaProjectConfig']();await this[k(0x15f)]['withValue'](c,async()=>{const l=k,d={'app':c['appName'],'appFileCase':paramCase(c[l(0x16b)]),'name':pascalCase(b[l(0x162)]),'fileName':paramCase(b[l(0x162)]),'camelCase':camelCase(b[l(0x162)]),'userName':l(0x157),'isDocker':b[l(0x16e)]};let e=b[l(0x162)];if(e==='dev')e=l(0x153);else e==='prod'&&(e=l(0x15c));const f=this[l(0x15f)][l(0x15a)]({'pathParts':[l(0x156),e,l(0x152)]});await this[l(0x15f)][l(0x16a)]({'srcPath':l(0x158),'destPath':f,'context':d,'config':c});if(!b[l(0x16e)]){const g=this[l(0x15f)][l(0x15a)]({'pathParts':['config',e,'process.env']});await this[l(0x15f)][l(0x16a)]({'srcPath':l(0x166),'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 a103d(a,b){const c=a103c();return a103d=function(d,e){d=d-0x10a;let f=c[d];return f;},a103d(a,b);}(function(a,b){const j=a103d,c=a();while(!![]){try{const d=parseInt(j(0x129))/0x1*(parseInt(j(0x10e))/0x2)+parseInt(j(0x13a))/0x3*(-parseInt(j(0x120))/0x4)+-parseInt(j(0x117))/0x5+-parseInt(j(0x130))/0x6*(parseInt(j(0x138))/0x7)+-parseInt(j(0x11b))/0x8+-parseInt(j(0x11d))/0x9*(parseInt(j(0x10d))/0xa)+parseInt(j(0x123))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a103c,0xa54a3));const a103b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a103d;if(c){const e=c[k(0x132)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a103a=a103b(this,function(){const l=a103d;return a103a[l(0x131)]()[l(0x124)]('(((.+)+)+)+$')[l(0x131)]()['constructor'](a103a)['search'](l(0x12c));});a103a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a103m(0x12e)]({'name':a103m(0x10a),'usage':'maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','shortDesc':a103m(0x12a),'validOpts':[a103m(0x13c)],'mustBeInMakaProject':!![],'requiredOpts':[{'name':'type','values':[a103m(0x111),'mssql',a103m(0x13b)]}],'examples':[a103m(0x119),a103m(0x128),'maka\x20g:dbc\x20todos\x20--type=sqlite']},async function(a,b){const n=a103m;try{const c=await this[n(0x11a)][n(0x12b)](),d=this['fsi'][n(0x127)]({}),f=paramCase(b[n(0x134)]),g={'name':pascalCase(b[n(0x134)]),'fileName':paramCase(b[n(0x134)]),'camelCase':camelCase(b[n(0x134)]),'type':b[n(0x136)],'engine':c[n(0x115)]['js'],'noRename':!![]};await this[n(0x11a)][n(0x137)](c,async()=>{const o=n;let h='js';c[o(0x115)]['js']===o(0x11c)&&(h='ts');b[o(0x136)]==='pgsql'&&!this[o(0x11a)][o(0x139)]('pg')&&(Log[o(0x114)](o(0x122)),await this[o(0x11a)][o(0x125)]('pg',{'cwd':d}));b[o(0x136)]===o(0x116)&&!this[o(0x11a)][o(0x139)]('mssql')&&(Log[o(0x114)](o(0x126)),await this[o(0x11a)][o(0x125)]('mssql',{'cwd':d}));b[o(0x136)]===o(0x13b)&&!this[o(0x11a)][o(0x139)](o(0x12d))&&(Log[o(0x114)](o(0x12f)),await this[o(0x11a)]['installNpmPackage'](o(0x12d),{'cwd':d}));await this[o(0x11a)][o(0x118)]({'srcPath':o(0x110),'destPath':this[o(0x11a)]['pathFromApp']({'pathParts':[o(0x10b),'startup',o(0x121),'dbc',b[o(0x13c)],f,o(0x10c)+h]}),'context':g,'config':c}),await this[o(0x11a)][o(0x118)]({'srcPath':o(0x112),'destPath':this['fsi'][o(0x127)]({'pathParts':[o(0x10b),o(0x10f),'server',o(0x10a),b[o(0x13c)],f,o(0x113)+h]}),'context':g,'config':c}),await this['fsi']['template']({'srcPath':o(0x11f),'destPath':this[o(0x11a)][o(0x127)]({'pathParts':[o(0x10b),o(0x10f),'server',o(0x11e)+f+'-dbc.'+h]}),'context':g,'config':c});const i=this[o(0x11a)][o(0x127)]({'pathParts':[o(0x10b),o(0x10f),o(0x121),'index.'+c[o(0x115)]['js']]});await this[o(0x11a)]['injectAtEndOfFile']({'filePath':i,'content':o(0x133)+f+'-dbc\x27;'});});}catch(h){Log[n(0x135)](h);}});function a103c(){const p=['Npm\x20package\x20\x22better-sqlite3\x22\x20not\x20installed,\x20installing...','125076zyxbBn','toString','apply','import\x20\x27./register-','resourceName','error','type','withValue','392bfvKfZ','checkNpmPackage','18qPgaWi','sqlite','dir','dbc','imports','config.','379510hTXuhY','4OSadQz','startup','dbc/config.js','pgsql','dbc/conn.js','conn.','warn','engines','mssql','804675jZLKAV','template','maka\x20g:dbc\x20geoserver\x20--type=pgsql','fsi','5688088LCGyyH','tsx','117uCPrYK','register-','dbc/register-dbc.js','525848MVotTO','server','Npm\x20package\x20\x22pg\x22\x20not\x20installed,\x20installing...','30253366UHzmsL','search','installNpmPackage','Npm\x20package\x20\x22mssql\x22\x20not\x20installed,\x20installing...','pathFromApp','maka\x20g:dbc\x20azure\x20--type=mssql','624089xgLigX','Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','getMakaProjectConfig','(((.+)+)+)+$','better-sqlite3','create'];a103c=function(){return p;};return a103c();}
|
|
@@ -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(0x131))/0x1*(parseInt(f(0x128))/0x2)+-parseInt(f(0x121))/0x3+parseInt(f(0x11f))/0x4+parseInt(f(0x133))/0x5*(parseInt(f(0x13d))/0x6)+parseInt(f(0x136))/0x7+-parseInt(f(0x12c))/0x8+parseInt(f(0x139))/0x9*(-parseInt(f(0x13c))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a104c,0x4403d));const a104b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a104d;if(c){const e=c[g(0x137)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a104a=a104b(this,function(){const h=a104d;return a104a[h(0x129)]()[h(0x12e)](h(0x125))[h(0x129)]()[h(0x127)](a104a)[h(0x12e)]('(((.+)+)+)+$');});a104a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a104c(){const l=['apply','withValue','3231tyDwuw','app','error','6180iJhGcF','12fYUhDq','Generate\x20an\x20updated\x20dockerfile','197116TWACcA','maka\x20{generate,\x20g}:dockerfile','1535037ajndUW','app.tar.gz','getGlobalConfig','create','(((.+)+)+)+$','isFile','constructor','2NBtxVm','toString','dockerfile','cert','735640bFtPwC','findProjectDirectory','search','build','fsi','482382LdDsgW','service','461095JJhUEp','join','template','2715902awAsGD'];a104c=function(){return l;};return a104c();}function a104d(a,b){const c=a104c();return a104d=function(d,e){d=d-0x11f;let f=c[d];return f;},a104d(a,b);}import a104e from'path';Generator[a104i(0x124)]({'name':a104i(0x12a),'usage':a104i(0x120),'shortDesc':a104i(0x13e),'validOpts':[],'noNeedResource':!![],'examples':['maka\x20g:dockerfile']},async function(){const j=a104i;try{const a=await this[j(0x130)]['getMakaProjectConfig'](),b=await this[j(0x130)][j(0x123)](),c=this[j(0x130)][j(0x12d)]();await this[j(0x130)][j(0x138)](a,async()=>{const k=j,d={'app':b['appName'],'config':a,'appPath':a104e['join'](c,k(0x13a)),'bundlePath':a104e[k(0x134)](c,k(0x12f),k(0x122)),'useCert':this[k(0x130)][k(0x126)](b[k(0x12b)])};await this[k(0x130)][k(0x135)]({'srcPath':'docker/Dockerfile','destPath':a104e[k(0x134)](c,'Dockerfile'),'framework':k(0x132),'context':d,'config':a});});}catch(d){Log[j(0x13b)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a105o=a105d;(function(a,b){const l=a105d,c=a();while(!![]){try{const d
|
|
1
|
+
const a105o=a105d;function a105d(a,b){const c=a105c();return a105d=function(d,e){d=d-0xa6;let f=c[d];return f;},a105d(a,b);}(function(a,b){const l=a105d,c=a();while(!![]){try{const d=-parseInt(l(0xb7))/0x1*(-parseInt(l(0xb6))/0x2)+-parseInt(l(0xab))/0x3+-parseInt(l(0xd0))/0x4+-parseInt(l(0xbf))/0x5+parseInt(l(0xc9))/0x6*(parseInt(l(0xdb))/0x7)+parseInt(l(0xd1))/0x8*(parseInt(l(0xd7))/0x9)+parseInt(l(0xba))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a105c,0xe96ff));const a105b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a105d;if(c){const e=c[m(0xbe)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a105a=a105b(this,function(){const n=a105d;return a105a['toString']()[n(0xa7)](n(0xcb))[n(0xc6)]()[n(0xb8)](a105a)[n(0xa7)](n(0xcb));});a105a();import a105e from'path';import{paramCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a105c(){const r=['features','\x20hook...','15239043cPFacF','dir','\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','/imports/ui/','854021vZuULt','Creating\x20','notice','@apollo/client','pathFromProject','injectAtBeginningOfFile','import\x20\x27./','search','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','layouts','engines','3499095CBTkFl','css','warn','react','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','test','resourceName','baseDir','checkNpmPackage','template','force','3084TgejFK','1113cKXMHq','constructor','/imports/ui/hooks','16698720gcLnjB','fsi','maka\x20g:hook\x20cool-hook','graphql','apply','7468055rLrtPL','cssCaseName','injectTemplateModule','setTemplate','pathFromApp','components','assign','toString','installNpmPackage','string','6QmDJkI','theme','(((.+)+)+)+$','withValue','@apollo/client\x20isomorphic-fetch','pages','none','6340852YSVKhn','8rSqDyT','.app-tests.js','relative','error'];a105c=function(){return r;};return a105c();}import{UsageError}from'../error.js';Generator['create']({'name':'hook','aliases':['h'],'checkWhere':![],'usage':'maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','shortDesc':a105o(0xaf),'validOpts':[{'name':a105o(0xb2),'values':['hooks',a105o(0xc4),a105o(0xce),a105o(0xa9)]},{'name':a105o(0xb5),'boolFlag':!![]}],'examples':[a105o(0xbc)],'description':a105o(0xd9)},async function(a,b){const p=a105o;Log[p(0xdd)](p(0xdc)+b['resourceName']+p(0xd6));try{const c=this[p(0xbb)][p(0xb3)](p(0xae));if(!c){Log[p(0xd4)]('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');throw new UsageError();}const d=this[p(0xbb)]['pathFromApp'](b),f=b[p(0xb2)]?p(0xda)+b[p(0xb2)]:p(0xb9),g=this['fsi'][p(0xc3)]({'pathParts':[f,b[p(0xd8)],paramCase(b[p(0xb1)]),paramCase(b[p(0xb1)])]}),h=await this[p(0xbb)]['getMakaProjectConfig']();await this[p(0xbb)][p(0xcc)](h,async()=>{const q=p;typeof h[q(0xb4)][q(0xac)]===q(0xc8)&&(h['template']['css']=h[q(0xb4)][q(0xac)]==='true'?!![]:![],this[q(0xbb)][q(0xc2)]('css',h[q(0xb4)]['css']));h[q(0xaa)][q(0xbd)]==='apollo'&&!this['fsi'][q(0xb3)](q(0xde))&&(Log[q(0xad)](q(0xa8)),await this[q(0xbb)][q(0xc7)](q(0xcd),{'cwd':d}));const i={'cssCaseName':paramCase(b['resourceName']),'camelCaseName':camelCase(b[q(0xb1)]),'className':pascalCase(b[q(0xb1)]),'name':pascalCase(b[q(0xb1)]),'graphql':h[q(0xaa)][q(0xbd)],'theme':h[q(0xaa)][q(0xca)],'features':h[q(0xd5)],'myPath':a105e[q(0xd3)](this[q(0xbb)][q(0xdf)]({}),g),'fileName':paramCase(b[q(0xb1)]),'isComponent':![],'isLayout':![],'withTranslations':h[q(0xd5)]['withTranslations']};await this[q(0xbb)]['template']({'srcPath':'hook/hook.js','destPath':g+'.js','context':i,'config':h,'framework':q(0xae),'force':b[q(0xb5)]});h[q(0xb4)]['css']&&(await this[q(0xbb)][q(0xb4)]({'srcPath':'template/template.css','destPath':g+'.css','context':Object[q(0xc5)]({},i,{'className':i[q(0xc0)]}),'config':h,'force':b[q(0xb5)]}),await this['fsi'][q(0xe0)]({'filePath':g+'.'+h[q(0xaa)]['js'],'content':q(0xa6)+i['fileName']+'.'+h[q(0xaa)][q(0xac)]+'\x27;'}));h[q(0xaa)][q(0xb0)]!==q(0xcf)&&await this[q(0xbb)][q(0xb4)]({'srcPath':'test/test.js','destPath':g+q(0xd2),'framework':'react','context':i,'config':h,'force':b['force']});const j=b[q(0xd8)]?'/'+b[q(0xd8)]+'/':'/',k=''+f+j+i['fileName']+'/'+i['fileName'];await this[q(0xbb)][q(0xc1)](i['className'],h,k);});}catch(i){Log[p(0xd4)](i);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a106d,c=a();while(!![]){try{var d=parseInt(f(0x151))/0x1+parseInt(f(0x159))/0x2+-parseInt(f(0x14e))/0x3+parseInt(f(0x156))/0x4*(-parseInt(f(0x15a))/0x5)+parseInt(f(0x158))/0x6+-parseInt(f(0x153))/0x7+-parseInt(f(0x14f))/0x8*(parseInt(f(0x157))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a106c,0xce24e));function a106d(a,b){var c=a106c();return a106d=function(d,e){d=d-0x14e;var f=c[d];return f;},a106d(a,b);}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[g(0x152)]()[g(0x155)]('(((.+)+)+)+$')[g(0x152)]()[g(0x154)](a106a)[g(0x155)](g(0x150));});a106a();import'./kit.js';function a106c(){var h=['658742aPTUNW','constructor','search','179304gxKsww','2151vXvDeq','8623992amTnFe','408100uMwNoG','45qCGTbb','1479237nYIlsa','16760HmXdEd','(((.+)+)+)+$','694308zNOHSW','toString'];a106c=function(){return h;};return a106c();}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(a,b){var f=a107d,c=a();while(!![]){try{var d=parseInt(f(0x1d2))/0x1*(parseInt(f(0x1d6))/0x2)+-parseInt(f(0x1d0))/0x3+-parseInt(f(0x1d3))/0x4*(parseInt(f(0x1d9))/0x5)+-parseInt(f(0x1ce))/0x6*(parseInt(f(0x1d1))/0x7)+parseInt(f(0x1d5))/0x8+-parseInt(f(0x1d7))/0x9*(parseInt(f(0x1cb))/0xa)+parseInt(f(0x1cd))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a107c,0xe69f3));var a107b=(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;};}()),a107a=a107b(this,function(){var g=a107d;return a107a[g(0x1d4)]()['search'](g(0x1cf))[g(0x1d4)]()[g(0x1cc)](a107a)[g(0x1d8)](g(0x1cf));});function a107d(a,b){var c=a107c();return a107d=function(d,e){d=d-0x1cb;var f=c[d];return f;},a107d(a,b);}function a107c(){var h=['1819216JFvEKI','2PgnCnp','12560607tjwbTh','search','5kWlvJs','10URByjk','constructor','39482212CZhKTU','214260qFDUBn','(((.+)+)+)+$','2370567ZObaEb','14uHniEU','19606DWSFeF','2537764pCAZLC','toString'];a107c=function(){return h;};return a107c();}a107a();import'./esri.generator.js';import'./map.esri.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a108c(){const k=['3953670Ytpsbe','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','/foo','search','\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20kit\x20for\x20Esri\x20Maps.\x20Starting\x20with\x20a\x20basic\x20map,\x0a\x20\x20\x20\x20but\x20with\x20the\x20ability\x20to\x20add\x20more\x20components\x20to\x20the\x20kit.\x0a\x20\x20','maka\x20g:kit:e','136480rWdiPE','create','7707870UbPCDp','2127790XAYhNy','apply','23432oqusFY','2667963PfVLuU','58360HZvVzX','315SvAfhl','1143XgDGkq','(((.+)+)+)+$','4nKoGwB'];a108c=function(){return k;};return a108c();}const a108i=a108d;(function(a,b){const f=a108d,c=a();while(!![]){try{const d=-parseInt(f(0x196))/0x1*(parseInt(f(0x18b))/0x2)+parseInt(f(0x191))/0x3+parseInt(f(0x192))/0x4*(-parseInt(f(0x193))/0x5)+-parseInt(f(0x197))/0x6+parseInt(f(0x18e))/0x7+parseInt(f(0x190))/0x8*(parseInt(f(0x194))/0x9)+parseInt(f(0x18d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a108c,0x7667a));function a108d(a,b){const c=a108c();return a108d=function(d,e){d=d-0x188;let f=c[d];return f;},a108d(a,b);}const a108b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a108d;if(c){const e=c[g(0x18f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a108a=a108b(this,function(){const h=a108d;return a108a['toString']()[h(0x188)](h(0x195))['toString']()['constructor'](a108a)[h(0x188)]('(((.+)+)+)+$');});a108a();import{Generator}from'../../../generator.js';import a108e from'../kit.js';const EsriGen=Generator[a108i(0x18c)]({'name':'esri','aliases':['e'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','noNeedResource':!![],'shortDesc':a108i(0x198),'validOpts':[''],'isPro':!![],'examples':[a108i(0x18a)],'description':a108i(0x189)},async function(){const j=a108i;return{'success':!![],'message':'Esri\x20Kit\x20generated\x20successfully','details':{'filesCreated':['/foo/bar'],'filesUpdated':[j(0x199)]}};},async function(){},a108e);export default EsriGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a109s=a109d;function a109d(a,b){const c=a109c();return a109d=function(d,e){d=d-0x117;let f=c[d];return f;},a109d(a,b);}(function(a,b){const p=a109d,c=a();while(!![]){try{const d=-parseInt(p(0x13c))/0x1+-parseInt(p(0x141))/0x2*(-parseInt(p(0x12c))/0x3)+-parseInt(p(0x128))/0x4*(-parseInt(p(0x137))/0x5)+-parseInt(p(0x132))/0x6*(-parseInt(p(0x140))/0x7)+-parseInt(p(0x136))/0x8+parseInt(p(0x127))/0x9+-parseInt(p(0x14e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a109c,0x2e143));const a109b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a109d;if(c){const e=c[q(0x122)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a109a=a109b(this,function(){const r=a109d;return a109a[r(0x12d)]()[r(0x144)](r(0x11b))[r(0x12d)]()[r(0x117)](a109a)[r(0x144)](r(0x11b));});a109a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a109e from'./esri.generator.js';import a109f from'../../../generators/maka.gen.js';function a109c(){const v=['maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','esri-loader','.js','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','2695644ClyKpS','1423476HgfLtT','split','processAndRunGenerator','baseDir','8925tQOzdt','toString','checkNpmPackage','appName','ssr','injectImport','6jjANaU','exit','/imports/ui/','\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','2036136Vbddvt','5yiQVjL','page','<div\x20id=\x22map-component\x22>','/imports/startup/client/templates','injectIntoFile','42462QxLMyD','create','FALSE','dir','1423177rdLMTO','158tLsJxC','/imports/ui/hooks','true','search','injectTemplateModule','@esri/react-arcgis','basic-map','react','</div>','<div\x20id=\x22map-hook\x22>','map','Generating\x20a\x20map\x20component','REACT','6080030bAKEwx','constructor','fsi','Generate\x20an\x20Esri\x20map\x20component','kit/esri/map/','(((.+)+)+)+$','findProjectDirectory','getMakaProjectConfig','replaceAll','pathFromApp','withValue','error','apply'];a109c=function(){return v;};return a109c();}import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a109s(0x13d)]({'name':a109s(0x14b),'aliases':['m'],'usage':a109s(0x123),'shortDesc':a109s(0x119),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a109s(0x14d)],'ssr':SsrEngines[a109s(0x13e)]},'description':a109s(0x135)},async function(a,b){const t=a109s;try{Log['bright'](t(0x14c));const c=t(0x147);await this[t(0x118)][t(0x12e)]([t(0x146),t(0x124)],{'shouldInstall':!![]});const d=this['fsi'][t(0x11c)](),f=this[t(0x118)][t(0x11d)](),g=f['engines'][t(0x130)]===t(0x143),h=await a109f[t(0x12a)](t(0x138),['map'],{'cwd':d,'config':f}),i={'name':headerCase(f[t(0x12f)])[t(0x11e)]('-','\x20'),'componentName':pascalCase(c)},j=b[t(0x12b)]?t(0x134)+b[t(0x12b)]:t(0x142),k=this[t(0x118)]['pathFromApp']({'pathParts':[j,b[t(0x13f)],paramCase(c),paramCase(c)]});this[t(0x118)][t(0x120)](f,async()=>{const u=t;this[u(0x118)]['template']({'srcPath':u(0x11a)+c+'.js','destPath':k+u(0x125),'framework':u(0x148),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b['dir']+'/'+c+'/'+c;await this[t(0x118)][t(0x145)](c,f,l);const m=h[t(0x129)]('/'),n=this[t(0x118)][t(0x11f)]({'pathParts':m});await this[t(0x118)][t(0x131)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?'/imports/startup/lib/templates':t(0x13a),'isNamedExport':!![]}),await this['fsi'][t(0x13b)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+t(0x126),'begin':[t(0x14a),t(0x139)],'end':[t(0x149)],'replace':!![]});}catch(o){Log[t(0x121)](o),process[t(0x133)](0x1);}},async function(){},a109e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a110i=a110d;
|
|
1
|
+
const a110i=a110d;(function(a,b){const f=a110d,c=a();while(!![]){try{const d=parseInt(f(0x120))/0x1+parseInt(f(0x11b))/0x2*(-parseInt(f(0x12c))/0x3)+parseInt(f(0x127))/0x4+parseInt(f(0x122))/0x5+parseInt(f(0x12a))/0x6+parseInt(f(0x119))/0x7*(parseInt(f(0x11a))/0x8)+parseInt(f(0x11e))/0x9*(-parseInt(f(0x11f))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a110c,0x781e7));const a110b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a110d;if(c){const e=c[g(0x128)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a110a=a110b(this,function(){const h=a110d;return a110a['toString']()[h(0x11d)](h(0x121))[h(0x129)]()['constructor'](a110a)[h(0x11d)]('(((.+)+)+)+$');});function a110c(){const j=['2590MQdXDt','302132UsEIbm','(((.+)+)+)+$','3443960iiCtYD','create','maka\x20g:k','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','maka\x20g:kit','334048JDvbYf','apply','toString','2229252omSfmQ','kit','21JByUqU','1589CDHVTv','15968HTAklf','185864QtZqcw','maka\x20{generate,\x20g}:{kit}\x20<name>','search','26289vXAKTo'];a110c=function(){return j;};return a110c();}function a110d(a,b){const c=a110c();return a110d=function(d,e){d=d-0x119;let f=c[d];return f;},a110d(a,b);}a110a();import{Generator}from'../../generator.js';const KitGen=Generator[a110i(0x123)]({'name':a110i(0x12b),'aliases':['k'],'usage':a110i(0x11c),'shortDesc':a110i(0x125),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a110i(0x126),a110i(0x124)]},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 i=['4123464lEyymT','8MDxobB','constructor','4408xGsTAt','search','31665141QNZTya','1735152wRsPXI','apply','3215930wBAAuJ','toString','864oFhYQM','8746146extEuL','12283908PSfvxn','(((.+)+)+)+$'];a111c=function(){return i;};return a111c();}(function(a,b){var f=a111d,c=a();while(!![]){try{var d=-parseInt(f(0x12a))/0x1*(-parseInt(f(0x123))/0x2)+parseInt(f(0x126))/0x3+parseInt(f(0x12f))/0x4*(-parseInt(f(0x128))/0x5)+-parseInt(f(0x12b))/0x6+-parseInt(f(0x12c))/0x7+-parseInt(f(0x12e))/0x8+parseInt(f(0x125))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a111c,0xf0e19));function a111d(a,b){var c=a111c();return a111d=function(d,e){d=d-0x122;var f=c[d];return f;},a111d(a,b);}var a111b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a111d;if(c){var e=c[g(0x127)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a111a=a111b(this,function(){var h=a111d;return a111a[h(0x129)]()[h(0x124)](h(0x12d))[h(0x129)]()[h(0x122)](a111a)[h(0x124)](h(0x12d));});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(0xee))/0x1*(parseInt(x(0xdc))/0x2)+parseInt(x(0xb6))/0x3*(parseInt(x(0xd5))/0x4)+-parseInt(x(0xbf))/0x5+parseInt(x(0xe5))/0x6*(parseInt(x(0xc5))/0x7)+-parseInt(x(0xde))/0x8*(parseInt(x(0xc2))/0x9)+-parseInt(x(0xcf))/0xa+parseInt(x(0xf2))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a112c,0xe6326));const a112b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a112d;if(c){const e=c[y(0xe9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a112a=a112b(this,function(){const z=a112d;return a112a[z(0xe1)]()[z(0xd2)](z(0xbd))[z(0xe1)]()[z(0xb3)](a112a)[z(0xd2)](z(0xbd));});function a112c(){const D=['{\x20this.props.children\x20}','template','99380qjWNcN','app-tests','1832hlsFWQ','checkbox','injectTemplateModule','toString','-component\x22>','join','basic-app-bar','5734278cQpwTA','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','checkMeteorPackage','.js','apply','true','-hook\x22>','{\x20props.children\x20}','REACT','25EAGwgq','/imports/startup/lib/templates','injectImport','{this.props.children}','23645941GcxKen','constructor','ssr','maka\x20g:k:m:f','434337dVCcvI','options','maka\x20generate:kit:mui:frame','/imports/startup/client/templates','\x20/>\x0a','injectIntoFile','{props.children}','(((.+)+)+)+$','<div\x20id=\x22','2688805HMhzMd','getDirectories','baseDir','61443QkneLa','kit/mui/frame/app-bars/','pathFromApp','7KYJQTI','/imports/ui/','dir','react','create','fsi','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','replaceAll','basic-drawer','layouts','15931220SduytV','length','tests','search','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','error','8SeiIjb','/imports/ui/hooks','No\x20layouts\x20selected','withValue','getFiles'];a112c=function(){return D;};return a112c();}a112a();import{Generator}from'../../../generator.js';function a112d(a,b){const c=a112c();return a112d=function(d,e){d=d-0xb3;let f=c[d];return f;},a112d(a,b);}import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a112e from'path';import a112f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a112A(0xc9)]({'name':'frame','aliases':['f'],'usage':a112A(0xcb),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','validOpts':[a112A(0xce)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines[a112A(0xed)]},'examples':[a112A(0xb8),a112A(0xb5)],'description':a112A(0xd3)},async function(a,b){const B=a112A;try{const c=B(0xe4),d=B(0xcd),f=this[B(0xca)]['getMakaProjectConfig'](),g=f['engines'][B(0xb4)]===B(0xea);await this[B(0xca)][B(0xe7)]('session',{'shouldInstall':!![]});const h=this[B(0xca)]['findAppDirectory'](),i=a112e['join'](h,'imports','ui',B(0xce)),j=this[B(0xca)][B(0xc0)](i),k=await Actions[B(0xb7)]({'type':B(0xdf),'name':B(0xce),'message':B(0xe6),'choices':j});if(k[B(0xce)][B(0xd0)]===0x0){Log[B(0xd4)](B(0xd7));return;}const l=b[B(0xc1)]?B(0xc6)+b[B(0xc1)]:B(0xd6),m=this[B(0xca)]['pathFromApp']({'pathParts':[l,b['dir'],paramCase(c),paramCase(c)]}),n=this['fsi'][B(0xc4)]({'pathParts':[l,b[B(0xc7)],paramCase(d),paramCase(d)]}),o={'name':headerCase(f['appName'])[B(0xcc)]('-','\x20')};await this[B(0xca)][B(0xd8)](f,async()=>{const C=B;await this['fsi']['template']({'srcPath':C(0xc3)+c+'.js','destPath':m+C(0xe8),'framework':C(0xc8),'context':o,'config':f,'force':![],'ignore':![]}),await this[C(0xca)][C(0xdb)]({'srcPath':'kit/mui/frame/drawers/'+d+C(0xe8),'destPath':n+C(0xe8),'framework':C(0xc8),'context':o,'config':f,'force':![],'ignore':![]});});const p=''+l+b[B(0xc7)]+'/'+c+'/'+c;await this[B(0xca)][B(0xe0)](c,f,p);const q=''+l+b[B(0xc7)]+'/'+d+'/'+d;await this[B(0xca)][B(0xe0)](d,f,q);const {layouts:r}=k;for(const s of r){const t=this['fsi'][B(0xd9)](a112e[B(0xe3)](i,s),{'extensions':['jsx','tsx'],'omit':[B(0xdd),B(0xd1),'test']});for(const u of t){const v=a112e[B(0xe3)](i,s,u);await this[B(0xca)][B(0xf0)]({'filePath':v,'importName':pascalCase(c),'modulePath':g?B(0xef):B(0xb9),'isNamedExport':!![]}),await this[B(0xca)][B(0xbb)]({'filePath':v,'content':'<'+pascalCase(c)+'\x20/>\x0a','begin':[B(0xbe)+s+B(0xe2),'<div\x20id=\x22'+s+'-hook\x22>'],'end':[B(0xf1),B(0xda),B(0xbc),B(0xec)]}),await this[B(0xca)][B(0xf0)]({'filePath':v,'importName':pascalCase(d),'modulePath':g?'/imports/startup/lib/templates':B(0xb9),'isNamedExport':!![]}),await this[B(0xca)]['injectIntoFile']({'filePath':v,'content':'<'+pascalCase(d)+B(0xba),'begin':['<div\x20id=\x22'+s+'-component\x22>',B(0xbe)+s+B(0xeb)],'end':['{this.props.children}','{\x20this.props.children\x20}','{props.children}','{\x20props.children\x20}']});}}}catch(w){Log[B(0xd4)](w);}},async function(){},a112f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a113h=a113d;(function(a,b){const f=a113d,c=a();while(!![]){try{const d=-parseInt(f(0x18a))/0x1+-parseInt(f(0x184))/0x2*(parseInt(f(0x186))/0x3)+-parseInt(f(0x183))/0x4*(-parseInt(f(0x185))/0x5)+-parseInt(f(0x18e))/0x6*(-parseInt(f(0x189))/0x7)+-parseInt(f(0x181))/0x8*(parseInt(f(0x18c))/0x9)+-parseInt(f(0x18d))/0xa+parseInt(f(0x180))/0xb*(parseInt(f(0x18f))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a113c,0x5955d));const a113b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a113a=a113b(this,function(){const g=a113d;return a113a[g(0x188)]()['search'](g(0x17c))[g(0x188)]()[g(0x182)](a113a)[g(0x17d)](g(0x17c));});function a113c(){const j=['41238RBmFdC','NIE','13941vNqYyn','2323220HMANxL','207066qpmEmV','3420ggGjCA','(((.+)+)+)+$','search','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','Material-UI\x20Kit','17149WhcWZi','776LnizJs','constructor','4BrCCNf','24236eBomDF','1857470gBUqCh','15tvArXP','create','toString','7XBNYhu'];a113c=function(){return j;};return a113c();}a113a();import{Generator}from'../../../generator.js';import a113e from'../kit.js';const MuiGen=Generator[a113h(0x187)]({'name':'mui','aliases':['m'],'usage':a113h(0x17e),'noNeedResource':!![],'shortDesc':a113h(0x17f),'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:m']},async function(){const i=a113h;throw i(0x18b);},async function(){},a113e);function a113d(a,b){const c=a113c();return a113d=function(d,e){d=d-0x17c;let f=c[d];return f;},a113d(a,b);}export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a114n=a114d;(function(a,b){const l=a114d,c=a();while(!![]){try{const d=-parseInt(l(0xc4))/0x1+-parseInt(l(0xc2))/0x2*(-parseInt(l(0x9a))/0x3)+parseInt(l(0xab))/0x4+parseInt(l(0xa0))/0x5+parseInt(l(0xbf))/0x6*(parseInt(l(0xa4))/0x7)+-parseInt(l(0xad))/0x8*(-parseInt(l(0xc6))/0x9)+-parseInt(l(0x92))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a114c,0x8051f));const a114b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a114a=a114b(this,function(){const m=a114d;return a114a[m(0xa9)]()['search'](m(0xa2))['toString']()['constructor'](a114a)[m(0xb9)]('(((.+)+)+)+$');});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';function a114d(a,b){const c=a114c();return a114d=function(d,e){d=d-0x8f;let f=c[d];return f;},a114d(a,b);}const aliases=['l'];Generator[a114n(0xc8)]({'name':a114n(0x9f),'aliases':aliases,'usage':a114n(0xa5),'shortDesc':a114n(0xb2),'validOpts':[],'examples':[a114n(0xb1),a114n(0x98)]},async function(a,b){const o=a114n,c=o(0x91),d=this[o(0x9b)][o(0xc5)](),e=this[o(0x9b)][o(0x96)]({'pathParts':[c,b[o(0xc0)],paramCase(b[o(0xba)]),paramCase(b['resourceName'])]}),f=this['fsi'][o(0x97)]();await this['fsi'][o(0x9c)](f,async()=>{const p=o;typeof f[p(0xb5)][p(0xa7)]===p(0xb4)&&(f['template'][p(0xa7)]=f['template'][p(0xa7)]===p(0xa6)?!![]:![],this[p(0x9b)][p(0x94)](p(0xa7),f[p(0xb5)]['test']));typeof f[p(0xb5)][p(0xa8)]==='string'&&(f['template'][p(0xa8)]=f['template']['css']===p(0xa6)?!![]:![],this[p(0x9b)][p(0x94)]('css',f[p(0xb5)][p(0xa8)]));typeof f['template']['js']===p(0xb4)&&(f[p(0xb5)]['js']=f['template']['js']===p(0xa6)?!![]:![],this['fsi'][p(0x94)]('js',f[p(0xb5)]['js']));!f[p(0xbb)]&&(f[p(0xbb)]={});const g=b['_']?b['_'][0x0]['split'](':')[0x1]:![],h=b['_']&&aliases[p(0x93)](g);h&&!this[p(0xc3)]('ramda')&&(Log[p(0xbd)](p(0xc7)),this[p(0x9b)][p(0x9d)](p(0xc9),{'cwd':d}));if(h&&!this[p(0xc3)](p(0xbc))){Log['warn'](p(0xa3));return;}const i={'name':pascalCase(b['resourceName']),'myPath':a114e['relative'](this[p(0x9b)][p(0xb3)]({}),e),'cssCaseName':paramCase(b[p(0xba)]),'className':pascalCase(b[p(0xba)]),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b[p(0xba)]),'graphql':f[p(0xaa)][p(0x95)],'features':f['features'],'client':f[p(0xaa)][p(0x9e)],'api':f[p(0xaa)][p(0xb6)],'ssr':f['engines'][p(0xca)],'test':f['engines']['test'],'theme':f[p(0xaa)][p(0xc1)],'isComponent':![],'isLayout':!![],'withTranslations':f[p(0xbb)]['withTranslations']};f[p(0xbb)]?.[p(0x99)]||b[p(0x8f)]?await this[p(0x9b)][p(0xb5)]({'srcPath':'hook/hook.js','destPath':e+p(0xb0),'framework':p(0xbc),'context':i,'config':f}):await this[p(0x9b)]['template']({'srcPath':'component/component.js','destPath':e+p(0xb0),'framework':p(0xbc),'context':i,'config':f});f[p(0xaa)]['test']!==p(0xbe)&&await this[p(0x9b)]['template']({'srcPath':p(0xb7),'destPath':e+p(0xa1),'framework':p(0xbc),'context':i,'config':f});f[p(0xb5)]['css']&&(await this[p(0x9b)][p(0xb5)]({'srcPath':p(0xac),'destPath':e+p(0xaf),'context':Object[p(0x90)]({},i,{'className':paramCase(b[p(0xba)])}),'config':f}),await this[p(0x9b)]['injectAtBeginningOfFile']({'filePath':e+'.'+f[p(0xaa)]['js'],'content':p(0xb8)+i['fileName']+'.'+f[p(0xaa)][p(0xa8)]+'\x27;'}));const j=b[p(0xc0)]?'/'+b[p(0xc0)]+'/':'/',k=''+c+j+i[p(0xae)]+'/'+i[p(0xae)];await this[p(0x9b)]['injectTemplateModule'](i['className'],f,k);});});function a114c(){const q=['toString','engines','1516976NSqgVC','template/template.css','104lsYJDY','fileName','.css','.js','maka\x20g:layout\x20mobile/iPhone8','Scaffolding\x20for\x20a\x20React\x20Layout.','pathFromProject','string','template','api','test/test.js','import\x20\x27./','search','resourceName','features','react','warn','none','6TliFjN','dir','theme','64YoFNjV','checkNpmPackage','42950aRKmOV','findAppDirectory','295992IbNCuE','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','create','ramda','ssr','withHook','assign','/imports/ui/layouts','15671430FmHsdH','includes','setTemplate','graphql','pathFromApp','getMakaProjectConfig','maka\x20g:l\x20web/safari','withHooks','21498UJHbAK','fsi','withValue','installNpmPackage','client','layout','3577285ZAbhFW','.app-tests.js','(((.+)+)+)+$','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','2688945hiHctr','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','true','test','css'];a114c=function(){return q;};return a114c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a115i=a115d;(function(a,b){const f=a115d,c=a();while(!![]){try{const d=-parseInt(f(
|
|
1
|
+
const a115i=a115d;(function(a,b){const f=a115d,c=a();while(!![]){try{const d=-parseInt(f(0x1f9))/0x1+parseInt(f(0x1fe))/0x2+parseInt(f(0x202))/0x3+-parseInt(f(0x1f2))/0x4+parseInt(f(0x1f8))/0x5*(-parseInt(f(0x200))/0x6)+-parseInt(f(0x1ff))/0x7+parseInt(f(0x1f3))/0x8*(parseInt(f(0x1fa))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0xc14bd));const a115b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a115d;if(c){const e=c[g(0x1f7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a115a=a115b(this,function(){const h=a115d;return a115a[h(0x1fc)]()[h(0x1f0)](h(0x201))[h(0x1fc)]()[h(0x1fd)](a115a)[h(0x1f0)](h(0x201));});function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-0x1ef;let f=c[d];return f;},a115d(a,b);}a115a();import{Generator}from'../generator.js';function a115c(){const j=['maka\x20g:route\x20todos/edit','2759372IGaNGy','4736PIXTvX','maka\x20g:api\x20trucks','maka\x20g:dbc\x20geoserver\x20--type=pgsql','maka\x20g:template\x20todos/todo_item','apply','35MfeLZm','1060673uXrtrT','34659xuvclH','maka\x20g:scaffold\x20todos','toString','constructor','1131294CJGiDs','7236376cbIDIM','67674UyEdKH','(((.+)+)+)+$','2428617Zbbwly','maka\x20g:package\x20package:name','maka\x20{generate,\x20g}:<generator>\x20<name>','search'];a115c=function(){return j;};return a115c();}const MakaGen=new Generator({'name':'generate','aliases':['g'],'usage':a115i(0x1ef),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':'Scaffold\x20various\x20parts\x20of\x20your\x20application','examples':['maka\x20generate:scaffold\x20todos',a115i(0x1fb),a115i(0x1f6),a115i(0x203),a115i(0x1f1),a115i(0x1f4),a115i(0x1f5)]},function(){});export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a116m=a116d;(function(a,b){const j=a116d,c=a();while(!![]){try{const d=-parseInt(j(0x77))/0x1*(-parseInt(j(0x82))/0x2)+-parseInt(j(0x80))/0x3*(-parseInt(j(0x69))/0x4)+-parseInt(j(0x6d))/0x5+parseInt(j(0x68))/0x6*(parseInt(j(0x7b))/0x7)+-parseInt(j(0x79))/0x8+parseInt(j(0x6c))/0x9*(-parseInt(j(0x66))/0xa)+parseInt(j(0x85))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0xa6399));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a116d;if(c){const e=c[k(0x89)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const l=a116d;return a116a[l(0x7e)]()[l(0x83)](l(0x6e))[l(0x7e)]()[l(0x6f)](a116a)[l(0x83)]('(((.+)+)+)+$');});a116a();function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x64;let f=c[d];return f;},a116d(a,b);}function a116c(){const p=['toString','imports','3dSSYjt','resourceName','4868FFYrDg','search','maka:check','9430949nIOcuk','method','maka\x20{generate,\x20g}:{method,\x20m}\x20name','-rpc-method\x27;','apply','methods','ddp-rate-limiter','withValue','maka\x20g:method\x20todos','187790HINdMk','startup','1002VeRyzz','435572BmAnyM','appPathPrefix','error','279buxXsQ','102760HqeayB','(((.+)+)+)+$','constructor','tsx','template','engines','create','method/method.js','pathFromApp','index.','17bhmvMR','dir','2718408ByQDnD','injectAtEndOfFile','25809tYiqXA','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','fsi'];a116c=function(){return p;};return a116c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a116m(0x73)]({'name':a116m(0x86),'aliases':['m'],'usage':a116m(0x87),'checkWhere':!![],'shortDesc':a116m(0x7c),'validOpts':[a116m(0x78)],'examples':[a116m(0x65)]},async function(a,b){const n=a116m;try{const c=this['fsi']['getMakaProjectConfig']();await this[n(0x7d)][n(0x64)](c,async()=>{const o=n,d=paramCase(b[o(0x81)]),f={'name':b[o(0x81)],'fileName':d,'className':pascalCase(b[o(0x81)]),'camelCase':camelCase(b['resourceName']),'noRename':!![]};let g='js';c[o(0x72)]['js']===o(0x70)&&(g='ts');await this[o(0x7d)]['checkMeteorPackage']([o(0x84),o(0x8b),'mdg:validated-method'],{'shouldInstall':!![]}),await this[o(0x7d)][o(0x71)]({'srcPath':o(0x74),'destPath':this[o(0x7d)][o(0x75)]({'pathParts':[o(0x7f),o(0x67),b[o(0x6a)],o(0x8a),b[o(0x78)],d+'-rpc-method.'+g]}),'context':f,'config':c});const h=b[o(0x78)]?'/'+b['dir']+'/':'/',i=this[o(0x7d)][o(0x75)]({'pathParts':[o(0x7f),o(0x67),b['appPathPrefix'],o(0x76)+c[o(0x72)]['js']]});await this[o(0x7d)][o(0x7a)]({'filePath':i,'content':'import\x20\x27./methods'+h+d+o(0x88)});});}catch(d){Log[n(0x6b)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a117o=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d
|
|
1
|
+
const a117o=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d=-parseInt(l(0x17b))/0x1+parseInt(l(0x194))/0x2+-parseInt(l(0x178))/0x3+-parseInt(l(0x186))/0x4*(parseInt(l(0x185))/0x5)+parseInt(l(0x179))/0x6+parseInt(l(0x17e))/0x7*(-parseInt(l(0x180))/0x8)+-parseInt(l(0x18e))/0x9*(-parseInt(l(0x18a))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x33f07));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a117d;if(c){const e=c[m(0x17a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const n=a117d;return a117a['toString']()[n(0x195)](n(0x181))[n(0x184)]()[n(0x196)](a117a)[n(0x195)]('(((.+)+)+)+$');});function a117c(){const r=['server','template/template.js','template','pathFromProject','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','theme','478374Yzzfzh','2044656UTMXox','apply','142990ldZLWS','graphql','maka\x20g:package\x20todos:package','3773TlEGxz','engines','1192orCvmr','(((.+)+)+)+$','lib','client','toString','120yKfWNu','14712MZaKhK','fsi','create','component','50MkNyGb','packages','noRename','layout','137817DFBjZU','.js','relative','package.js','withValue','resourceName','532866BKraUO','search','constructor','dir','getMakaProjectConfig','/client/','package/package.js','pathFromAppWithNoReWrite','hasOwnProperty','ssr'];a117c=function(){return r;};return a117c();}a117a();import a117e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x16e;let f=c[d];return f;},a117d(a,b);}Generator[a117o(0x188)]({'name':'package','aliases':['p'],'usage':'maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','shortDesc':a117o(0x176),'validOpts':[a117o(0x197)],'examples':[a117o(0x17d)]},async function(a,b){const p=a117o,c=paramCase(b[p(0x193)]),d=this[p(0x187)]['pathFromApp']({'pathParts':['packages',b[p(0x197)],c]}),e=this['fsi'][p(0x16f)]({'pathParts':[p(0x18b),b[p(0x197)],c,p(0x191)]}),f=this[p(0x187)][p(0x198)]();await this['fsi'][p(0x192)](f,async()=>{const q=p,g={'name':paramCase(b[q(0x193)]),'myPath':a117e[q(0x190)](this[q(0x187)][q(0x175)]({}),d),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[q(0x193)]),'camelCaseName':camelCase(b[q(0x193)]),'fileName':c,'client':f['engines'][q(0x183)],'graphql':f[q(0x17f)][q(0x17c)],'ssr':f[q(0x17f)][q(0x171)],'isComponent':b[q(0x170)](q(0x189)),'isLayout':b['hasOwnProperty'](q(0x18d)),'isStore':b[q(0x170)]('store'),'features':f['features'],'noRename':!![],'theme':f[q(0x17f)][q(0x177)]};await this[q(0x187)][q(0x174)]({'srcPath':q(0x16e),'destPath':e,'context':g,'config':f}),g[q(0x18c)]=![];const h=d+q(0x199)+c+q(0x18f);await this[q(0x187)]['template']({'srcPath':q(0x173),'destPath':h,'context':g,'config':f});const i=[q(0x182),q(0x172),'tests/client','tests/server'];for(const j of i){const k=d+'/'+j+'/'+c+q(0x18f);await this[q(0x187)][q(0x174)]({'srcPath':'package/'+j+'/package.js','destPath':k,'context':g,'config':f});}});});
|