@maka/maka-cli 4.8.8 → 4.8.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/obf/package.json +1 -1
- package/bundle/obf/src/command.js +1 -1
- package/bundle/obf/src/commands/_index.js +1 -1
- package/bundle/obf/src/commands/ai.js +1 -1
- package/bundle/obf/src/commands/aws/_index.js +1 -1
- package/bundle/obf/src/commands/aws/aws.command.js +1 -1
- package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/build/_index.js +1 -1
- package/bundle/obf/src/commands/build/build.js +1 -1
- package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/create.js +1 -1
- package/bundle/obf/src/commands/debug.js +1 -1
- package/bundle/obf/src/commands/deploy/_index.js +1 -1
- package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
- package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/_index.js +1 -1
- package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/play.command.js +1 -1
- package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/generate.js +1 -1
- package/bundle/obf/src/commands/get/_index.js +1 -1
- package/bundle/obf/src/commands/get/get.command.js +1 -1
- package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/help.js +1 -1
- package/bundle/obf/src/commands/install.js +1 -1
- package/bundle/obf/src/commands/jsdoc.js +1 -1
- package/bundle/obf/src/commands/lint.js +1 -1
- package/bundle/obf/src/commands/login.js +1 -1
- package/bundle/obf/src/commands/logout.js +1 -1
- package/bundle/obf/src/commands/logs.js +1 -1
- package/bundle/obf/src/commands/maka.cmd.js +1 -1
- package/bundle/obf/src/commands/murder.js +1 -1
- package/bundle/obf/src/commands/proxy.js +1 -1
- package/bundle/obf/src/commands/reconfig.js +1 -1
- package/bundle/obf/src/commands/run/_index.js +1 -1
- package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/run/run.command.js +1 -1
- package/bundle/obf/src/commands/set/_index.js +1 -1
- package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/set.command.js +1 -1
- package/bundle/obf/src/commands/ssh.js +1 -1
- package/bundle/obf/src/commands/ssl.js +1 -1
- package/bundle/obf/src/commands/test.js +1 -1
- package/bundle/obf/src/commands/version.js +1 -1
- package/bundle/obf/src/error.js +1 -1
- package/bundle/obf/src/exec.js +1 -1
- package/bundle/obf/src/generator.js +1 -1
- package/bundle/obf/src/generators/_index.js +1 -1
- package/bundle/obf/src/generators/api.js +1 -1
- package/bundle/obf/src/generators/collection.js +1 -1
- package/bundle/obf/src/generators/component.js +1 -1
- package/bundle/obf/src/generators/config.js +1 -1
- package/bundle/obf/src/generators/dbc.js +1 -1
- package/bundle/obf/src/generators/dockerfile.js +1 -1
- package/bundle/obf/src/generators/hook.js +1 -1
- package/bundle/obf/src/generators/kits/_index.js +1 -1
- package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
- package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
- package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
- package/bundle/obf/src/generators/kits/kit.js +1 -1
- package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
- package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
- package/bundle/obf/src/generators/layout.js +1 -1
- package/bundle/obf/src/generators/maka.gen.js +1 -1
- package/bundle/obf/src/generators/methods.js +1 -1
- package/bundle/obf/src/generators/package.js +1 -1
- package/bundle/obf/src/generators/page.js +1 -1
- package/bundle/obf/src/generators/publish.js +1 -1
- package/bundle/obf/src/generators/route.js +1 -1
- package/bundle/obf/src/generators/service.js +1 -1
- package/bundle/obf/src/generators/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/translation.js +1 -1
- package/bundle/obf/src/maka.js +1 -1
- package/bundle/obf/src/templates/meteor/project/package.json +1 -1
- package/bundle/obf/src/tool.js +1 -1
- package/bundle/obf/src/tools/actions/actions.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
- package/bundle/obf/src/tools/docker/docker.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
- package/bundle/obf/src/tools/https/https.class.js +1 -1
- package/bundle/obf/src/tools/https/https.interface.js +1 -1
- package/bundle/obf/src/tools/log/log.class.js +1 -1
- package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
- package/bundle/obf/src/tools/options/options.class.js +1 -1
- package/bundle/obf/src/tools/progress/progress.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a98d,c=a();while(!![]){try{var d=parseInt(f(0x14a))/0x1*(-parseInt(f(0x14c))/0x2)+-parseInt(f(0x142))/0x3*(-parseInt(f(0x14b))/0x4)+parseInt(f(0x149))/0x5*(-parseInt(f(0x148))/0x6)+parseInt(f(0x145))/0x7+-parseInt(f(0x141))/0x8+parseInt(f(0x140))/0x9+-parseInt(f(0x147))/0xa*(-parseInt(f(0x146))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a98c,0x7fba5));var a98b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a98d;if(c){var e=c[g(0x13e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a98a=a98b(this,function(){var h=a98d;return a98a['toString']()['search'](h(0x13d))[h(0x143)]()[h(0x13f)](a98a)[h(0x144)](h(0x13d));});a98a();import'./services/_index.js';import'./api.js';import'./collection.js';import'./component.js';function a98c(){var i=['4311rnPHkA','toString','search','1649683wuigHJ','70807PhCXfy','280THZVXa','6KlpPXj','2092745RgHmiF','1qyaBAW','2476zLxNzV','1373282CyBECC','(((.+)+)+)+$','apply','constructor','9119178vRWYxm','5522296Rludoe'];a98c=function(){return i;};return a98c();}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-0x13d;var f=c[d];return f;},a98d(a,b);}import'./layout.js';import'./methods.js';import'./package.js';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
|
+
const a99x=a99d;(function(a,b){const u=a99d,c=a();while(!![]){try{const d=-parseInt(u(0x1da))/0x1*(parseInt(u(0x1cc))/0x2)+parseInt(u(0x1de))/0x3+-parseInt(u(0x1d3))/0x4*(parseInt(u(0x1e2))/0x5)+-parseInt(u(0x1ea))/0x6*(-parseInt(u(0x1ed))/0x7)+parseInt(u(0x1be))/0x8+parseInt(u(0x20b))/0x9+parseInt(u(0x1f0))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a99c,0x69f34));const a99b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a99d;if(c){const e=c[v(0x1fe)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a99a=a99b(this,function(){const w=a99d;return a99a[w(0x1c9)]()[w(0x1e4)](w(0x1d1))[w(0x1c9)]()[w(0x1d6)](a99a)[w(0x1e4)](w(0x1d1));});a99a();import{Generator}from'../generator.js';function a99d(a,b){const c=a99c();return a99d=function(d,e){d=d-0x1bc;let f=c[d];return f;},a99d(a,b);}import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import a99e from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';function a99c(){const A=['36622qsEfvr','imports','api','includes','1609719ePRwWA','-api\x27;','pathFromApp','fsi','3120235vrvTnk','startup','search','rewriteDestinationPathForEngine','/graphql/resolvers','template','RPC\x20(Methods)','TypeDefs);\x0a','30bkfIkf','/graphql/typeDefs','engines','347326pqYwVe','checkMeteorPackage','create','1877380COsGjC','import\x20\x27./register-','ddp-rate-limiter','tsx','maka:check','withFixtures','publications.','withPubs','maka\x20g:api\x20Todos','fixtures.','length','apollo','register-','Resolvers);\x0a\x0a','apply','processAndRunGenerator','checkbox','if\x20\x5c(typeList','mongo','TypeDefs\x20}\x20from\x20\x27','No\x20API\x20boundaries\x20selected','error','api/fixtures.js','.app-tests.','rpc-methods.','index.','rest','4628403OytdrQ','\x0aimport\x20{\x20resolvers\x20as\x20','\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','test','REST\x20API','withGql','379496yaKsrL','withMethods','api/tests.js','api/methods.js','api/register-api.js','withValue','rest-api.','graphql','API\x20boundaries\x20to\x20create','api/resolvers.js','Resolvers\x20}\x20from\x20\x27','toString','/imports/api','const','26clQILI','Scaffolding\x20for\x20an\x20api\x20concept\x20(i.e.\x20Todos).','withRest','injectIntoFile','options','(((.+)+)+)+$','getMakaProjectConfig','4ZaApfe','-api.','typeDefs.','constructor','dir','exit','server'];a99c=function(){return A;};return a99c();}Generator[a99x(0x1ef)]({'name':a99x(0x1dc),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{api}\x20<resource-name>','shortDesc':a99x(0x1cd),'validOpts':['dir'],'examples':[a99x(0x1f8)],'description':a99x(0x20d)},async function(a,b){const y=a99x;try{const c=this['fsi'][y(0x1d2)](),d=[{'name':y(0x1e8),'value':y(0x1bf)},{'name':'Fixtures','value':y(0x1f5)},{'name':'Publications','value':y(0x1f7)}];c[y(0x1ec)][y(0x1dc)]===y(0x20a)&&d['push']({'name':y(0x1bc),'value':y(0x1ce)});c['engines'][y(0x1c5)]===y(0x1fb)&&d['push']({'name':'GraphQL','value':y(0x1bd)});const f={'type':y(0x200),'name':'apiAnswers','message':y(0x1c6),'pageSize':0x64,'choices':d},{apiAnswers:g}=await Actions[y(0x1d0)](f);g[y(0x1fa)]===0x0&&(Log[y(0x205)](y(0x204)),process[y(0x1d8)](0x1)),await this[y(0x1e1)][y(0x1c3)](c,async()=>{const z=y,h=b['resourceName'],i=paramCase(h),j=camelCase(h),k=b[z(0x1d7)]?'/'+b[z(0x1d7)]+'/':'/',l={'name':pascalCase(h),'fileName':i,'camelCase':pascalCase(h),'optsDir':k,'api':c[z(0x1ec)][z(0x1dc)],'graphql':c['engines']['graphql'],'test':c[z(0x1ec)][z(0x20e)],'noRename':!![],'withPubs':g[z(0x1dd)](z(0x1f7)),'withFixtures':g[z(0x1dd)](z(0x1f5)),'withMethods':g[z(0x1dd)]('withMethods'),'withRest':g[z(0x1dd)](z(0x1ce))};let m='js';c[z(0x1ec)]['js']===z(0x1f3)&&(m='ts');await this[z(0x1e1)][z(0x1ee)](['maka:rest',z(0x1f4),z(0x1f2),'mdg:validated-method',z(0x202)],{'shouldInstall':!![]}),await a99e[z(0x1ff)]('collection',[i],{'config':c,'where':'server'});c['engines'][z(0x1dc)]==='rest'&&(l[z(0x1ce)]&&await this[z(0x1e1)][z(0x1e7)]({'srcPath':'api/api.js','destPath':this[z(0x1e1)]['pathFromApp']({'pathParts':[z(0x1db),z(0x1dc),b['dir'],i,z(0x1c4)+m]}),'context':l,'config':c}));l[z(0x1bf)]&&await this[z(0x1e1)][z(0x1e7)]({'srcPath':z(0x1c1),'destPath':this['fsi'][z(0x1e0)]({'pathParts':[z(0x1db),z(0x1dc),b[z(0x1d7)],i,z(0x208)+m]}),'context':l,'config':c});l[z(0x1f5)]&&await this['fsi'][z(0x1e7)]({'srcPath':z(0x206),'destPath':this[z(0x1e1)][z(0x1e0)]({'pathParts':[z(0x1db),z(0x1dc),b[z(0x1d7)],i,z(0x1f9)+m]}),'context':l,'config':c});c['engines']['test']!=='none'&&this['fsi'][z(0x1e7)]({'srcPath':z(0x1c0),'destPath':this[z(0x1e1)]['pathFromApp']({'pathParts':['imports',z(0x1dc),b[z(0x1d7)],i,i+z(0x207)+m]}),'context':l,'config':c});l[z(0x1f7)]&&await this['fsi'][z(0x1e7)]({'srcPath':'api/publications.js','destPath':this[z(0x1e1)]['pathFromApp']({'pathParts':[z(0x1db),z(0x1dc),b['dir'],i,z(0x1f6)+m]}),'context':l,'config':c});if(c[z(0x1ec)]['graphql']===z(0x1fb)){if(g[z(0x1dd)]('withGql')){const o=this[z(0x1e1)][z(0x1e0)]({'pathParts':[z(0x1db),z(0x1e3),'server','index.'+c[z(0x1ec)]['js']]}),p=this['fsi'][z(0x1e5)]({'pathParts':[o],'config':c}),q=this['fsi'][z(0x1e0)]({'pathParts':[z(0x1db),z(0x1dc),b[z(0x1d7)],i,'graphql',z(0x1d5)+m]}),r=z(0x1ca)+k+i+z(0x1eb);this[z(0x1e1)][z(0x1e7)]({'srcPath':'api/typeDefs.js','destPath':q,'context':l,'config':c}),await this[z(0x1e1)]['injectAtBeginningOfFile']({'filePath':p,'content':'import\x20{\x20typeDefs\x20as\x20'+j+z(0x203)+r+'\x27;\x0a'}),await this['fsi'][z(0x1cf)]({'filePath':p,'content':'typeList.push('+j+z(0x1e9),'begin':z(0x1cb),'end':z(0x201)});const s=this[z(0x1e1)][z(0x1e0)]({'pathParts':['imports',z(0x1dc),b['dir'],i,z(0x1c5),'resolvers.'+m]}),t=z(0x1ca)+k+i+z(0x1e6);await this[z(0x1e1)][z(0x1e7)]({'srcPath':z(0x1c7),'destPath':s,'context':l,'config':c}),await this['fsi']['injectAtBeginningOfFile']({'filePath':p,'content':z(0x20c)+j+z(0x1c8)+t+'\x27;'}),await this[z(0x1e1)][z(0x1cf)]({'filePath':p,'content':'resolverList.push('+j+z(0x1fd),'begin':z(0x1cb),'end':'if\x20\x5c(typeList'});}}await this['fsi'][z(0x1e7)]({'srcPath':z(0x1c2),'destPath':this[z(0x1e1)]['pathFromApp']({'pathParts':[z(0x1db),z(0x1e3),z(0x1d9),z(0x1fc)+i+z(0x1d4)+m]}),'context':l,'config':c,'force':!![]});const n=this['fsi']['pathFromApp']({'pathParts':[z(0x1db),z(0x1e3),'server',z(0x209)+c['engines']['js']]});await this[z(0x1e1)]['injectAtEndOfFile']({'filePath':n,'content':z(0x1f1)+i+z(0x1df)});});}catch(h){console[y(0x205)](h),process['exit'](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a100m=a100d;(function(a,b){const j=a100d,c=a();while(!![]){try{const d
|
|
1
|
+
const a100m=a100d;(function(a,b){const j=a100d,c=a();while(!![]){try{const d=parseInt(j(0xeb))/0x1*(parseInt(j(0x102))/0x2)+parseInt(j(0xee))/0x3+-parseInt(j(0xf5))/0x4*(-parseInt(j(0xfa))/0x5)+parseInt(j(0xdc))/0x6+parseInt(j(0xf8))/0x7+parseInt(j(0xf7))/0x8+-parseInt(j(0xe9))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a100c,0x7a4ce));const a100b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a100d;if(c){const e=c[k(0xd7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a100a=a100b(this,function(){const l=a100d;return a100a[l(0xd9)]()['search']('(((.+)+)+)+$')[l(0xd9)]()[l(0xd8)](a100a)[l(0xf2)](l(0x101));});function a100d(a,b){const c=a100c();return a100d=function(d,e){d=d-0xd7;let f=c[d];return f;},a100d(a,b);}a100a();import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a100m(0xe0)]({'name':a100m(0xfd),'aliases':[a100m(0xdd)],'usage':a100m(0xe7),'checkWhere':!![],'shortDesc':a100m(0xe5),'validOpts':[a100m(0xfc),a100m(0xfe)],'description':'\x0a\x20\x20\x20\x20Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection.\x0ahttps://docs.meteor.com/api/collections.html\x0a\x0a\x20\x20\x20\x20Collections\x20are\x20generated\x20in\x20the\x20\x22lib\x22\x20or\x20\x22common\x22\x20directory\x20by\x20default.\x20\x20This\x20location\x20is\x20accessible\x0a\x20\x20\x20\x20to\x20BOTH\x20client\x20and\x20server\x20(--where=both).\x20\x20Other\x20options\x20are\x20\x22--where=server\x22\x20and\x20\x22--where=client\x22\x20which\x0a\x20\x20\x20\x20will\x20setup\x20the\x20collection\x20in\x20their\x20respective\x20locations.\x0a\x20\x20','examples':[a100m(0xf6)]},async function(a,b){const n=a100m;try{const c=this['fsi'][n(0xfb)]();await this[n(0xff)][n(0xea)](c,async()=>{const o=n,d=paramCase(b[o(0xf1)]),f={'name':pascalCase(b[o(0xf1)]),'collectionName':pascalCase(b['resourceName']),'fileName':d,'where':b['where'],'test':c[o(0xf9)][o(0xda)],'noRename':!![]};let g='js';c[o(0xf9)]['js']===o(0xde)&&(g='ts');await this[o(0xff)][o(0x103)]([o(0xf3),o(0xdb)],{'shouldInstall':!![]}),await this[o(0xff)][o(0xe3)]({'srcPath':o(0xef),'destPath':this[o(0xff)][o(0xf4)]({'pathParts':[o(0xe2),o(0xe1),b['appPathPrefix'],'collections',b[o(0xfc)],d+'.'+g]}),'context':f,'config':c});c['engines']['test']!==o(0xe6)&&await this[o(0xff)][o(0xe3)]({'srcPath':o(0x100),'destPath':this[o(0xff)][o(0xf4)]({'pathParts':['imports','startup',b[o(0xf0)],o(0xe4),b[o(0xfc)],d+o(0xec)+g]}),'context':f,'config':c});const h=b[o(0xfc)]?'/'+b[o(0xfc)]+'/':'/',i=this[o(0xff)][o(0xf4)]({'pathParts':[o(0xe2),o(0xe1),b['appPathPrefix'],o(0xdf)+c[o(0xf9)]['js']]});await this['fsi'][o(0xe8)]({'filePath':i,'content':'import\x20\x27./collections'+h+d+'\x27;'});});}catch(d){Log[n(0xed)](d);}});function a100c(){const p=['maka\x20g:collection\x20todos','5307664nqtIvh','4778599uhrTTE','engines','235MDKqjn','getMakaProjectConfig','dir','collection','where','fsi','collection/tests.js','(((.+)+)+)+$','3974VCMfJe','checkMeteorPackage','apply','constructor','toString','test','maka:check','4858458gwUkRn','col','tsx','index.','create','startup','imports','template','collections','Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection','none','maka\x20{generate,\x20g}:{collection,\x20col}\x20<name>','injectAtEndOfFile','30524202rHqKGd','withValue','353qAAtxV','.app-tests.','error','1418970iXTwTb','collection/collection.js','appPathPrefix','resourceName','search','mongo','pathFromApp','47852iNXOsO'];a100c=function(){return p;};return a100c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a101n=a101d;(function(a,b){const k=a101d,c=a();while(!![]){try{const d
|
|
1
|
+
const a101n=a101d;function a101c(){const q=['.js','setTemplate','ramda','error','3245536uFRjif','237111QfjEZI','ssr','client','974421pgbrDD','getMakaProjectConfig','fsi','toString','18lerqLb','6huEkbu','injectTemplateModule','search','checkNpmPackage','maka\x20g:comp\x20todos/todos-item','assign','withValue','147023lemQef','160klaJwk','template/template.css','fileName','baseDir','pages','pathFromProject','(((.+)+)+)+$','component','findAppDirectory','427887tFLQwN','className','theme','engines','359845rMhpDX','true','layouts','features','components','installNpmPackage','css','dir','string','test','none','maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','graphql','react','root','injectAtBeginningOfFile','component/component.js','resourceName','apply','create','hooks','constructor','template','cssCaseName','warn','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','pathFromApp','176060SUPhXj'];a101c=function(){return q;};return a101c();}(function(a,b){const k=a101d,c=a();while(!![]){try{const d=-parseInt(k(0x15f))/0x1+-parseInt(k(0x158))/0x2*(parseInt(k(0x150))/0x3)+-parseInt(k(0x14a))/0x4+-parseInt(k(0x12f))/0x5*(-parseInt(k(0x157))/0x6)+parseInt(k(0x153))/0x7+-parseInt(k(0x14f))/0x8+-parseInt(k(0x169))/0x9*(-parseInt(k(0x160))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a101c,0x44d65));const a101b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a101d;if(c){const e=c[l(0x141)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a101a=a101b(this,function(){const m=a101d;return a101a[m(0x156)]()[m(0x15a)](m(0x166))[m(0x156)]()[m(0x144)](a101a)[m(0x15a)](m(0x166));});a101a();import a101e from'path';import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';const aliases=['comp'];function a101d(a,b){const c=a101c();return a101d=function(d,e){d=d-0x12c;let f=c[d];return f;},a101d(a,b);}Generator[a101n(0x142)]({'name':a101n(0x167),'aliases':aliases,'usage':a101n(0x13a),'shortDesc':'Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','validOpts':[{'name':a101n(0x163),'values':[a101n(0x143),a101n(0x133),a101n(0x164),a101n(0x131)]}],'examples':[a101n(0x15c)]},async function(a,b){const o=a101n;try{const c=this[o(0x155)][o(0x168)](),d=b[o(0x163)]?'/imports/ui/'+b['baseDir']:'/imports/ui/components',f=this[o(0x155)][o(0x149)]({'pathParts':[d,b[o(0x136)],paramCase(b[o(0x140)]),paramCase(b[o(0x140)])]}),g=await this['fsi'][o(0x154)]();await this[o(0x155)][o(0x15e)](g,async()=>{const p=o;typeof g[p(0x145)][p(0x138)]===p(0x137)&&(g['template'][p(0x138)]=g[p(0x145)][p(0x138)]===p(0x130)?!![]:![],this['fsi']['setTemplate'](p(0x138),g[p(0x145)][p(0x138)]));typeof g[p(0x145)][p(0x135)]===p(0x137)&&(g['template'][p(0x135)]=g[p(0x145)][p(0x135)]===p(0x130)?!![]:![],this[p(0x155)][p(0x14c)](p(0x135),g['template'][p(0x135)]));typeof g[p(0x145)]['js']===p(0x137)&&(g['template']['js']=g['template']['js']==='true'?!![]:![],this[p(0x155)][p(0x14c)]('js',g[p(0x145)]['js']));!g[p(0x132)]&&(g[p(0x132)]={});!b[p(0x13d)]&&!this[p(0x155)][p(0x15b)](p(0x14d))&&(Log[p(0x147)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),await this[p(0x155)][p(0x134)]('ramda',{'cwd':c}));if(!b['root']&&!this[p(0x155)][p(0x15b)](p(0x13c))){Log[p(0x14e)](p(0x148));return;}const h={'name':pascalCase(b[p(0x140)]),'myPath':a101e['relative'](this[p(0x155)][p(0x165)]({}),f),'cssCaseName':paramCase(b[p(0x140)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[p(0x140)]),'fileName':paramCase(b[p(0x140)]),'graphql':g[p(0x12e)][p(0x13b)],'features':g[p(0x132)],'client':g['engines'][p(0x152)],'api':g['engines']['api'],'ssr':g[p(0x12e)][p(0x151)],'test':g['engines']['test'],'theme':g[p(0x12e)][p(0x12d)],'isLayout':![],'isComponent':!![],'withTranslations':g['features']['withTranslations']};await this[p(0x155)][p(0x145)]({'srcPath':p(0x13f),'destPath':f+p(0x14b),'context':h,'framework':p(0x13c),'config':g});g['engines'][p(0x138)]!==p(0x139)&&await this['fsi'][p(0x145)]({'srcPath':'test/test.js','destPath':f+'.tests.js','context':h,'framework':'react','config':g});g[p(0x145)]['css']&&(await this['fsi'][p(0x145)]({'srcPath':p(0x161),'destPath':f+'.css','context':Object[p(0x15d)]({},h,{'className':paramCase(b[p(0x140)])}),'config':g}),await this['fsi'][p(0x13e)]({'filePath':f+'.'+g['engines']['js'],'content':'import\x20\x27./'+h[p(0x146)]+'.'+g[p(0x12e)][p(0x135)]+'\x27;'}));const i=b['dir']?'/'+b[p(0x136)]+'/':'/',j=''+d+i+h[p(0x162)]+'/'+h[p(0x162)];await this[p(0x155)][p(0x159)](h[p(0x12c)],g,j);});}catch(h){Log[o(0x14e)](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a102d(a,b){const c=a102c();return a102d=function(d,e){d=d-
|
|
1
|
+
function a102d(a,b){const c=a102c();return a102d=function(d,e){d=d-0x196;let f=c[d];return f;},a102d(a,b);}const a102k=a102d;function a102c(){const n=['prod','development','303040akDeLP','pathFromProject','resourceName','settings.json','(((.+)+)+)+$','config','create','4nFPAbv','27WdrZpr','constructor','template','production','1158572RvpFfc','2029176XmWGMl','ubuntu','toString','appName','process.env','getMakaProjectConfig','33OwPjsG','1670306VhCuwn','apply','withValue','fsi','6WrtCrb','3681303HeZPix','Generate\x20configuration\x20settings.','config/process.env','7308413YgpVXg','dev','isDocker','config/settings.json','8918990XlFICX','maka\x20{generate,\x20g}:{config}\x20<name>','search'];a102c=function(){return n;};return a102c();}(function(a,b){const h=a102d,c=a();while(!![]){try{const d=parseInt(h(0x19f))/0x1+-parseInt(h(0x1a7))/0x2+-parseInt(h(0x1ac))/0x3*(-parseInt(h(0x19a))/0x4)+parseInt(h(0x1b8))/0x5*(-parseInt(h(0x1ab))/0x6)+parseInt(h(0x1af))/0x7+parseInt(h(0x1a0))/0x8*(parseInt(h(0x19b))/0x9)+-parseInt(h(0x1b3))/0xa*(parseInt(h(0x1a6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a102c,0x972cf));const a102b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a102d;if(c){const e=c[i(0x1a8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a102a=a102b(this,function(){const j=a102d;return a102a[j(0x1a2)]()[j(0x1b5)](j(0x197))[j(0x1a2)]()[j(0x19c)](a102a)[j(0x1b5)](j(0x197));});a102a();import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a102k(0x199)]({'name':'config','usage':a102k(0x1b4),'shortDesc':a102k(0x1ad),'validOpts':['isDocker'],'examples':['maka\x20g:config\x20production']},async function(a,b){const l=a102k,c=this['fsi'][l(0x1a5)]();await this[l(0x1aa)][l(0x1a9)](c,async()=>{const m=l,d={'app':c[m(0x1a3)],'appFileCase':paramCase(c[m(0x1a3)]),'name':pascalCase(b[m(0x1ba)]),'fileName':paramCase(b[m(0x1ba)]),'camelCase':camelCase(b[m(0x1ba)]),'userName':m(0x1a1),'isDocker':b[m(0x1b1)]};let e=b['resourceName'];if(e===m(0x1b0))e=m(0x1b7);else e===m(0x1b6)&&(e=m(0x19e));const f=this['fsi'][m(0x1b9)]({'pathParts':[m(0x198),e,m(0x196)]});await this['fsi'][m(0x19d)]({'srcPath':m(0x1b2),'destPath':f,'context':d,'config':c});if(!b[m(0x1b1)]){const g=this[m(0x1aa)][m(0x1b9)]({'pathParts':[m(0x198),e,m(0x1a4)]});await this[m(0x1aa)][m(0x19d)]({'srcPath':m(0x1ae),'destPath':g,'context':d,'config':c});}});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a103m=a103d;
|
|
1
|
+
const a103m=a103d;(function(a,b){const j=a103d,c=a();while(!![]){try{const d=-parseInt(j(0xe1))/0x1+-parseInt(j(0xc0))/0x2+-parseInt(j(0xc1))/0x3+parseInt(j(0xca))/0x4*(-parseInt(j(0xc4))/0x5)+-parseInt(j(0xd8))/0x6+-parseInt(j(0xe9))/0x7*(parseInt(j(0xda))/0x8)+-parseInt(j(0xba))/0x9*(-parseInt(j(0xcc))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a103c,0xa8685));function a103d(a,b){const c=a103c();return a103d=function(d,e){d=d-0xb5;let f=c[d];return f;},a103d(a,b);}const a103b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a103d;if(c){const e=c[k(0xc3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a103a=a103b(this,function(){const l=a103d;return a103a[l(0xe3)]()['search'](l(0xc7))[l(0xe3)]()[l(0xdf)](a103a)[l(0xe6)](l(0xc7));});a103a();function a103c(){const p=['4346946zdhudb','type','dbc','Npm\x20package\x20\x22better-sqlite3\x22\x20not\x20installed,\x20installing...','register-','sqlite','693342WJZjSA','1448088tTWFqv','import\x20\x27./register-','apply','285bmfZPl','error','warn','(((.+)+)+)+$','Npm\x20package\x20\x22mssql\x22\x20not\x20installed,\x20installing...','injectAtEndOfFile','58556ezKdtz','maka\x20g:dbc\x20geoserver\x20--type=pgsql','90eUdsNB','dbc/conn.js','index.','server','config.','mssql','dbc/config.js','fsi','imports','engines','better-sqlite3','pathFromApp','7137810wvIgju','getMakaProjectConfig','36280fXdmfv','maka\x20g:dbc\x20azure\x20--type=mssql','pgsql','Npm\x20package\x20\x22pg\x22\x20not\x20installed,\x20installing...','dir','constructor','-dbc.','1029mebQNx','template','toString','Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','tsx','search','checkNpmPackage','resourceName','1239XHUwIC','conn.','installNpmPackage','startup','-dbc\x27;','maka\x20g:dbc\x20todos\x20--type=sqlite','dbc/register-dbc.js'];a103c=function(){return p;};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':a103m(0xbc),'usage':'maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','shortDesc':a103m(0xe4),'validOpts':[a103m(0xde)],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a103m(0xbb),'values':[a103m(0xdc),a103m(0xd1),a103m(0xbf)]}],'examples':[a103m(0xcb),a103m(0xdb),a103m(0xb8)]},async function(a,b){const n=a103m;try{const c=await this[n(0xd3)][n(0xd9)](),d=this['fsi'][n(0xd7)]({}),f=paramCase(b['resourceName']),g={'name':pascalCase(b[n(0xe8)]),'fileName':paramCase(b['resourceName']),'camelCase':camelCase(b[n(0xe8)]),'type':b[n(0xbb)],'engine':c[n(0xd5)]['js'],'noRename':!![]};await this[n(0xd3)]['withValue'](c,async()=>{const o=n;let h='js';c[o(0xd5)]['js']===o(0xe5)&&(h='ts');b[o(0xbb)]==='pgsql'&&!this[o(0xd3)][o(0xe7)]('pg')&&(Log[o(0xc6)](o(0xdd)),await this[o(0xd3)]['installNpmPackage']('pg',{'cwd':d}));b[o(0xbb)]===o(0xd1)&&!this['fsi'][o(0xe7)](o(0xd1))&&(Log['warn'](o(0xc8)),await this[o(0xd3)][o(0xb5)](o(0xd1),{'cwd':d}));b[o(0xbb)]===o(0xbf)&&!this[o(0xd3)]['checkNpmPackage'](o(0xd6))&&(Log[o(0xc6)](o(0xbd)),await this[o(0xd3)][o(0xb5)](o(0xd6),{'cwd':d}));await this[o(0xd3)]['template']({'srcPath':o(0xd2),'destPath':this[o(0xd3)][o(0xd7)]({'pathParts':[o(0xd4),o(0xb6),o(0xcf),o(0xbc),b[o(0xde)],f,o(0xd0)+h]}),'context':g,'config':c}),await this['fsi'][o(0xe2)]({'srcPath':o(0xcd),'destPath':this[o(0xd3)][o(0xd7)]({'pathParts':[o(0xd4),o(0xb6),'server',o(0xbc),b[o(0xde)],f,o(0xea)+h]}),'context':g,'config':c}),await this[o(0xd3)][o(0xe2)]({'srcPath':o(0xb9),'destPath':this[o(0xd3)]['pathFromApp']({'pathParts':[o(0xd4),o(0xb6),o(0xcf),o(0xbe)+f+o(0xe0)+h]}),'context':g,'config':c});const i=this['fsi']['pathFromApp']({'pathParts':['imports',o(0xb6),o(0xcf),o(0xce)+c[o(0xd5)]['js']]});await this[o(0xd3)][o(0xc9)]({'filePath':i,'content':o(0xc2)+f+o(0xb7)});});}catch(h){Log[n(0xc5)](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a104d(a,b){const c=a104c();return a104d=function(d,e){d=d-
|
|
1
|
+
const a104h=a104d;function a104d(a,b){const c=a104c();return a104d=function(d,e){d=d-0x128;let f=c[d];return f;},a104d(a,b);}(function(a,b){const f=a104d,c=a();while(!![]){try{const d=-parseInt(f(0x12c))/0x1+-parseInt(f(0x131))/0x2*(-parseInt(f(0x139))/0x3)+-parseInt(f(0x134))/0x4+parseInt(f(0x137))/0x5*(parseInt(f(0x135))/0x6)+-parseInt(f(0x12e))/0x7+-parseInt(f(0x13f))/0x8+parseInt(f(0x133))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a104c,0x7c94f));const a104b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a104a=a104b(this,function(){const g=a104d;return a104a[g(0x132)]()['search'](g(0x144))[g(0x132)]()[g(0x140)](a104a)[g(0x136)](g(0x144));});a104a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a104e from'path';function a104c(){const k=['join','getGlobalConfig','findProjectDirectory','template','cert','3221000BwTKyR','constructor','fsi','error','docker/Dockerfile','(((.+)+)+)+$','isFile','dockerfile','app.tar.gz','Dockerfile','Generate\x20an\x20updated\x20dockerfile','504657xVFjMe','maka\x20g:dockerfile','1927121ORSnpJ','app','create','4lpcitb','toString','16091307URObnl','3308904QEFMBF','120138eObcdZ','search','55rTWCsx','appName','767883xNZcUp'];a104c=function(){return k;};return a104c();}Generator[a104h(0x130)]({'name':a104h(0x128),'usage':'maka\x20{generate,\x20g}:dockerfile','shortDesc':a104h(0x12b),'validOpts':[],'noNeedResource':!![],'examples':[a104h(0x12d)]},async function(){const i=a104h;try{const a=await this[i(0x141)]['getMakaProjectConfig'](),b=await this['fsi'][i(0x13b)](),c=this[i(0x141)][i(0x13c)]();await this[i(0x141)]['withValue'](a,async()=>{const j=i,d={'app':b[j(0x138)],'config':a,'appPath':a104e['join'](c,j(0x12f)),'bundlePath':a104e['join'](c,'build',j(0x129)),'useCert':this[j(0x141)][j(0x145)](b[j(0x13e)])};await this['fsi'][j(0x13d)]({'srcPath':j(0x143),'destPath':a104e[j(0x13a)](c,j(0x12a)),'framework':'service','context':d,'config':a});});}catch(d){Log[i(0x142)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a105n=a105d;(function(a,b){const l=a105d,c=a();while(!![]){try{const d=parseInt(l(0x1a7))/0x1+-parseInt(l(0x187))/0x2+parseInt(l(0x175))/0x3*(parseInt(l(0x197))/0x4)+parseInt(l(0x18c))/0x5*(-parseInt(l(0x180))/0x6)+-parseInt(l(0x1aa))/0x7*(-parseInt(l(0x1a5))/0x8)+parseInt(l(0x19f))/0x9+-parseInt(l(0x19a))/0xa*(parseInt(l(0x186))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a105c,0x1c971));const a105b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a105a=a105b(this,function(){const m=a105d;return a105a[m(0x1a9)]()['search'](m(0x18a))[m(0x1a9)]()[m(0x195)](a105a)[m(0x17e)]('(((.+)+)+)+$');});a105a();import a105e from'path';import{paramCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';function a105c(){const q=['import\x20\x27./','/imports/ui/','template','@apollo/client','.app-tests.js','resourceName','force','search','checkNpmPackage','1136766aMtSLZ','react','injectAtBeginningOfFile','fileName','hooks','layouts','2882qVnWvG','75108SGsoCU','baseDir','pathFromApp','(((.+)+)+)+$','dir','5OplWss','className','test','cssCaseName','@apollo/client\x20isomorphic-fetch','/imports/ui/hooks','hook/hook.js','pathFromProject','string','constructor','engines','100340MctTpG','maka\x20g:hook\x20cool-hook','setTemplate','1330NskNpA','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','test/test.js','fsi','create','1719351NLssQT','withTranslations','relative','withValue','.js','error','904oBHaFg','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','1591wPCggs','installNpmPackage','toString','9989WbNNWe','theme','pages','hook','css','components','features','graphql','warn','.css','3JSurNJ','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'];a105c=function(){return q;};return a105c();}function a105d(a,b){const c=a105c();return a105d=function(d,e){d=d-0x16d;let f=c[d];return f;},a105d(a,b);}Generator[a105n(0x19e)]({'name':a105n(0x16e),'aliases':['h'],'checkWhere':![],'usage':a105n(0x19b),'shortDesc':'Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','validOpts':[{'name':'baseDir','values':[a105n(0x184),a105n(0x170),a105n(0x16d),a105n(0x185)]},{'name':a105n(0x17d),'boolFlag':!![]}],'examples':[a105n(0x198)],'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 o=a105n;Log['notice']('Creating\x20'+b[o(0x17c)]+'\x20hook...');try{const c=this[o(0x19d)][o(0x17f)](o(0x181));if(!c){Log[o(0x1a4)](o(0x1a6));throw new UsageError();}const d=this[o(0x19d)][o(0x189)](b),f=b['baseDir']?o(0x178)+b[o(0x188)]:o(0x191),g=this[o(0x19d)][o(0x189)]({'pathParts':[f,b['dir'],paramCase(b[o(0x17c)]),paramCase(b[o(0x17c)])]}),h=await this[o(0x19d)]['getMakaProjectConfig']();await this['fsi'][o(0x1a2)](h,async()=>{const p=o;typeof h[p(0x179)][p(0x16f)]===p(0x194)&&(h[p(0x179)]['css']=h[p(0x179)][p(0x16f)]==='true'?!![]:![],this[p(0x19d)][p(0x199)](p(0x16f),h[p(0x179)]['css']));h['engines'][p(0x172)]==='apollo'&&!this[p(0x19d)][p(0x17f)](p(0x17a))&&(Log[p(0x173)](p(0x176)),await this['fsi'][p(0x1a8)](p(0x190),{'cwd':d}));const i={'cssCaseName':paramCase(b[p(0x17c)]),'camelCaseName':camelCase(b[p(0x17c)]),'className':pascalCase(b[p(0x17c)]),'name':pascalCase(b[p(0x17c)]),'graphql':h['engines']['graphql'],'theme':h[p(0x196)][p(0x1ab)],'features':h[p(0x171)],'myPath':a105e[p(0x1a1)](this[p(0x19d)][p(0x193)]({}),g),'fileName':paramCase(b[p(0x17c)]),'isComponent':![],'isLayout':![],'withTranslations':h[p(0x171)][p(0x1a0)]};await this[p(0x19d)][p(0x179)]({'srcPath':p(0x192),'destPath':g+p(0x1a3),'context':i,'config':h,'framework':p(0x181),'force':b['force']});h[p(0x179)]['css']&&(await this[p(0x19d)]['template']({'srcPath':'template/template.css','destPath':g+p(0x174),'context':Object['assign']({},i,{'className':i[p(0x18f)]}),'config':h,'force':b['force']}),await this['fsi'][p(0x182)]({'filePath':g+'.'+h[p(0x196)]['js'],'content':p(0x177)+i[p(0x183)]+'.'+h[p(0x196)][p(0x16f)]+'\x27;'}));h['engines'][p(0x18e)]!=='none'&&await this['fsi'][p(0x179)]({'srcPath':p(0x19c),'destPath':g+p(0x17b),'framework':p(0x181),'context':i,'config':h,'force':b[p(0x17d)]});const j=b[p(0x18b)]?'/'+b[p(0x18b)]+'/':'/',k=''+f+j+i[p(0x183)]+'/'+i[p(0x183)];await this[p(0x19d)]['injectTemplateModule'](i[p(0x18d)],h,k);});}catch(i){Log[o(0x1a4)](i);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a106d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a106d,c=a();while(!![]){try{var d=-parseInt(f(0x177))/0x1+parseInt(f(0x178))/0x2+parseInt(f(0x175))/0x3*(-parseInt(f(0x17a))/0x4)+-parseInt(f(0x173))/0x5*(-parseInt(f(0x179))/0x6)+parseInt(f(0x172))/0x7*(parseInt(f(0x17b))/0x8)+-parseInt(f(0x17f))/0x9*(parseInt(f(0x17d))/0xa)+parseInt(f(0x176))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a106c,0x76449));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(0x17e)]()[g(0x17c)]('(((.+)+)+)+$')[g(0x17e)]()[g(0x171)](a106a)[g(0x17c)](g(0x174));});a106a();import'./kit.js';function a106c(){var h=['11060LIouHZ','toString','1881ZfSNzj','constructor','655172YCRUDl','830EZQGyg','(((.+)+)+)+$','87huxlaG','2489553IZtZzx','751437poQbqi','1095368UhfkTw','32790LwwhyR','42452xmZKOq','8jltHxz','search'];a106c=function(){return h;};return a106c();}import'./mui/_index.js';function a106d(a,b){var c=a106c();return a106d=function(d,e){d=d-0x171;var f=c[d];return f;},a106d(a,b);}import'./esri/_index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a107d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
(function(a,b){var f=a107d,c=a();while(!![]){try{var d=-parseInt(f(0x126))/0x1*(-parseInt(f(0x12d))/0x2)+-parseInt(f(0x127))/0x3*(-parseInt(f(0x12a))/0x4)+-parseInt(f(0x120))/0x5*(parseInt(f(0x11e))/0x6)+parseInt(f(0x125))/0x7+-parseInt(f(0x124))/0x8*(parseInt(f(0x12b))/0x9)+-parseInt(f(0x121))/0xa+-parseInt(f(0x12e))/0xb*(-parseInt(f(0x12c))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a107c,0x47357));var a107b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a107d;if(c){var e=c[g(0x123)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a107a=a107b(this,function(){var h=a107d;return a107a[h(0x128)]()[h(0x122)](h(0x11f))[h(0x128)]()[h(0x129)](a107a)[h(0x122)](h(0x11f));});function a107d(a,b){var c=a107c();return a107d=function(d,e){d=d-0x11e;var f=c[d];return f;},a107d(a,b);}a107a();import'./esri.generator.js';function a107c(){var i=['638uuPbug','108482fqnjyX','1108812cuvWfF','(((.+)+)+)+$','10rbfEGB','3464840zuMSho','search','apply','825384dyJobt','1049538OkKBLo','767OohHIE','1646013MuCuDh','toString','constructor','4xYaEWG','9IxRtvt','204KIuDJU'];a107c=function(){return i;};return a107c();}import'./map.esri.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a108i=a108d;(function(a,b){const f=a108d,c=a();while(!![]){try{const d=parseInt(f(0x7d))/0x1*(-parseInt(f(0x6e))/0x2)+-parseInt(f(0x71))/0x3+-parseInt(f(0x70))/0x4*(parseInt(f(0x72))/0x5)+-parseInt(f(0x7e))/0x6*(-parseInt(f(0x73))/0x7)+-parseInt(f(0x78))/0x8+-parseInt(f(0x77))/0x9*(-parseInt(f(0x80))/0xa)+parseInt(f(0x74))/0xb*(parseInt(f(0x7b))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a108c,0x3d641));const a108b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a108d;if(c){const e=c[g(0x6c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a108a=a108b(this,function(){const h=a108d;return a108a[h(0x75)]()[h(0x79)](h(0x6f))[h(0x75)]()['constructor'](a108a)[h(0x79)](h(0x6f));});a108a();function a108c(){const k=['apply','/foo','865240favFkO','(((.+)+)+)+$','4AvFPPJ','657636pkbOav','319910xEfDps','8302OnWWVi','22AANmlB','toString','esri','81gfylth','2022000NpJJDO','search','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','5989404pYcgVC','create','1ynUoOW','270hrwsyr','maka\x20g:kit:e','187130coYBsq','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','Esri\x20Kit\x20generated\x20successfully','\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'];a108c=function(){return k;};return a108c();}import{Generator}from'../../../generator.js';import a108e from'../kit.js';function a108d(a,b){const c=a108c();return a108d=function(d,e){d=d-0x6a;let f=c[d];return f;},a108d(a,b);}const EsriGen=Generator[a108i(0x7c)]({'name':a108i(0x76),'aliases':['e'],'usage':a108i(0x7a),'noNeedResource':!![],'shortDesc':a108i(0x81),'validOpts':[''],'isPro':!![],'examples':[a108i(0x7f)],'description':a108i(0x6b)},async function(){const j=a108i;return{'success':!![],'message':j(0x6a),'details':{'filesCreated':['/foo/bar'],'filesUpdated':[j(0x6d)]}};},async function(){},a108e);export default EsriGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a109s=a109d;function a109d(a,b){const c=a109c();return a109d=function(d,e){d=d-0x1d6;let f=c[d];return f;},a109d(a,b);}(function(a,b){const p=a109d,c=a();while(!![]){try{const d=-parseInt(p(0x1f9))/0x1+-parseInt(p(0x1f5))/0x2+-parseInt(p(0x1f7))/0x3+-parseInt(p(0x1fa))/0x4+parseInt(p(0x1dd))/0x5*(parseInt(p(0x1d7))/0x6)+-parseInt(p(0x201))/0x7+parseInt(p(0x1e2))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a109c,0x1bbb4));function a109c(){const v=['esri-loader','5954752oziTvL','appName','/imports/startup/client/templates','injectImport','.js','@esri/react-arcgis','REACT','/imports/ui/','map','<div\x20id=\x22map-component\x22>','(((.+)+)+)+$','dir','pathFromApp','\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','basic-map','bright','withValue','true','checkNpmPackage','306744ETprqb','apply','640515uAljKo','</div>','196072zlrnaV','766852qzqrYd','fsi','findProjectDirectory','Generating\x20a\x20map\x20component','engines','exit','search','243222PTEoxW','replaceAll','Generate\x20an\x20Esri\x20map\x20component','2712FVxqOM','ssr','template','toString','/imports/startup/lib/templates','injectIntoFile','1755yQrCWm','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','FALSE','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a'];a109c=function(){return v;};return a109c();}const a109b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a109d;if(c){const e=c[q(0x1f6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a109a=a109b(this,function(){const r=a109d;return a109a[r(0x1da)]()[r(0x200)](r(0x1ec))[r(0x1da)]()['constructor'](a109a)[r(0x200)](r(0x1ec));});a109a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a109e from'./esri.generator.js';import a109f from'../../../generators/maka.gen.js';import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':'map','aliases':['m'],'usage':a109s(0x1de),'shortDesc':a109s(0x1d6),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a109s(0x1e8)],'ssr':SsrEngines[a109s(0x1df)]},'description':a109s(0x1ef)},async function(a,b){const t=a109s;try{Log[t(0x1f1)](t(0x1fd));const c=t(0x1f0);await this['fsi'][t(0x1f4)]([t(0x1e7),t(0x1e1)],{'shouldInstall':!![]});const d=this[t(0x1fb)][t(0x1fc)](),f=this[t(0x1fb)]['getMakaProjectConfig'](),g=f[t(0x1fe)][t(0x1d8)]===t(0x1f3),h=await a109f['processAndRunGenerator']('page',[t(0x1ea)],{'cwd':d,'config':f}),i={'name':headerCase(f[t(0x1e3)])[t(0x202)]('-','\x20'),'componentName':pascalCase(c)},j=b['baseDir']?t(0x1e9)+b['baseDir']:'/imports/ui/hooks',k=this[t(0x1fb)]['pathFromApp']({'pathParts':[j,b[t(0x1ed)],paramCase(c),paramCase(c)]});this['fsi'][t(0x1f2)](f,async()=>{const u=t;this[u(0x1fb)][u(0x1d9)]({'srcPath':'kit/esri/map/'+c+u(0x1e6),'destPath':k+u(0x1e6),'framework':'react','context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[t(0x1ed)]+'/'+c+'/'+c;await this[t(0x1fb)]['injectTemplateModule'](c,f,l);const m=h['split']('/'),n=this[t(0x1fb)][t(0x1ee)]({'pathParts':m});await this[t(0x1fb)][t(0x1e5)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?t(0x1db):t(0x1e4),'isNamedExport':!![]}),await this[t(0x1fb)][t(0x1dc)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+t(0x1e0),'begin':['<div\x20id=\x22map-hook\x22>',t(0x1eb)],'end':[t(0x1f8)],'replace':!![]});}catch(o){Log['error'](o),process[t(0x1ff)](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
|
+
function a110c(){const j=['(((.+)+)+)+$','maka\x20g:k','create','3550215IGuDYB','maka\x20g:kit','1625658aUNTZD','775008brNXqs','233760RfxUVH','toString','constructor','969492CgIldv','947994HjIXZr','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','9907674CsyVRK','apply','search','maka\x20{generate,\x20g}:{kit}\x20<name>'];a110c=function(){return j;};return a110c();}const a110i=a110d;(function(a,b){const f=a110d,c=a();while(!![]){try{const d=parseInt(f(0x13d))/0x1+-parseInt(f(0x141))/0x2+-parseInt(f(0x13c))/0x3+parseInt(f(0x140))/0x4+-parseInt(f(0x139))/0x5+parseInt(f(0x13b))/0x6+parseInt(f(0x143))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a110c,0xafcd2));function a110d(a,b){const c=a110c();return a110d=function(d,e){d=d-0x136;let f=c[d];return f;},a110d(a,b);}const a110b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a110d;if(c){const e=c[g(0x144)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a110a=a110b(this,function(){const h=a110d;return a110a['toString']()[h(0x145)](h(0x136))[h(0x13e)]()[h(0x13f)](a110a)[h(0x145)](h(0x136));});a110a();import{Generator}from'../../generator.js';const KitGen=Generator[a110i(0x138)]({'name':'kit','aliases':['k'],'usage':a110i(0x146),'shortDesc':a110i(0x142),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a110i(0x13a),a110i(0x137)]},async function(){});export default KitGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a111d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
(function(a,b){var f=a111d,c=a();while(!![]){try{var d=-parseInt(f(0x1b1))/0x1*(parseInt(f(0x1bc))/0x2)+parseInt(f(0x1bb))/0x3*(parseInt(f(0x1b3))/0x4)+parseInt(f(0x1be))/0x5+-parseInt(f(0x1b9))/0x6+parseInt(f(0x1b4))/0x7*(parseInt(f(0x1bd))/0x8)+parseInt(f(0x1b6))/0x9+parseInt(f(0x1b7))/0xa*(-parseInt(f(0x1b8))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a111c,0x28394));var a111b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a111a=a111b(this,function(){var g=a111d;return a111a[g(0x1b0)]()[g(0x1ba)](g(0x1b5))[g(0x1b0)]()[g(0x1b2)](a111a)[g(0x1ba)]('(((.+)+)+)+$');});function a111c(){var h=['16AdPwRx','463355DiORRO','toString','72544xEtgtv','constructor','20GqVDQT','273700IWzmtd','(((.+)+)+)+$','1013724CXMDUG','170HYmPaP','45001mSfnKu','616092skepsO','search','162666qIkHdf','6BxqIKr'];a111c=function(){return h;};return a111c();}a111a();function a111d(a,b){var c=a111c();return a111d=function(d,e){d=d-0x1b0;var f=c[d];return f;},a111d(a,b);}import'./mui.generator.js';import'./frame.mui.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a112z=a112d;(function(a,b){const x=a112d,c=a();while(!![]){try{const d
|
|
1
|
+
const a112z=a112d;(function(a,b){const x=a112d,c=a();while(!![]){try{const d=parseInt(x(0x7e))/0x1*(parseInt(x(0x6f))/0x2)+parseInt(x(0x8e))/0x3+parseInt(x(0x72))/0x4*(-parseInt(x(0x81))/0x5)+-parseInt(x(0xad))/0x6*(-parseInt(x(0x93))/0x7)+parseInt(x(0x71))/0x8*(parseInt(x(0x8a))/0x9)+parseInt(x(0x74))/0xa+-parseInt(x(0x91))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a112c,0x9e4f2));const a112b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a112a=a112b(this,function(){const y=a112d;return a112a[y(0x8c)]()[y(0x87)](y(0x88))[y(0x8c)]()[y(0xaa)](a112a)[y(0x87)](y(0x88));});a112a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a112c(){const C=['5251330EqeTtT','.js','options','/imports/startup/lib/templates','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','basic-drawer','test','appName','{this.props.children}','true','1202395EJVLun','jsx','kit/mui/frame/app-bars/','63510bpGwNz','tsx','-component\x22>','withValue','engines','{props.children}','search','(((.+)+)+)+$','app-tests','9zLyDEK','injectIntoFile','toString','react','1567920EOTnJw','MATERIAL','dir','33817223BrerRW','pathFromApp','2014082lnYCDT','join','maka\x20g:k:m:f','baseDir','<div\x20id=\x22','create','fsi','/imports/startup/client/templates','checkbox','kit/mui/frame/drawers/','layouts','injectImport','basic-app-bar','replaceAll','injectTemplateModule','ssr','error','/imports/ui/','{\x20props.children\x20}','checkMeteorPackage','template','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','\x20/>\x0a','constructor','getFiles','-hook\x22>','24TJAmbZ','length','maka\x20generate:kit:mui:frame','2KwiGyB','getMakaProjectConfig','4199096kHeENw','64DUNkjK','{\x20this.props.children\x20}'];a112c=function(){return C;};return a112c();}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';function a112d(a,b){const c=a112c();return a112d=function(d,e){d=d-0x6d;let f=c[d];return f;},a112d(a,b);}import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a112z(0x98)]({'name':'frame','aliases':['f'],'usage':a112z(0x78),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','validOpts':[a112z(0x9d)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a112z(0x8f)],'client':ClientEngines['REACT']},'examples':[a112z(0x6e),a112z(0x95)],'description':a112z(0xa8)},async function(a,b){const A=a112z;try{const c=A(0x9f),d=A(0x79),f=this[A(0x99)][A(0x70)](),g=f[A(0x85)][A(0xa2)]===A(0x7d);await this[A(0x99)][A(0xa6)]('session',{'shouldInstall':!![]});const h=this[A(0x99)]['findAppDirectory'](),i=a112e['join'](h,'imports','ui',A(0x9d)),j=this[A(0x99)]['getDirectories'](i),k=await Actions[A(0x76)]({'type':A(0x9b),'name':A(0x9d),'message':'Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','choices':j});if(k[A(0x9d)][A(0x6d)]===0x0){Log['error']('No\x20layouts\x20selected');return;}const l=b[A(0x96)]?A(0xa4)+b[A(0x96)]:'/imports/ui/hooks',m=this[A(0x99)][A(0x92)]({'pathParts':[l,b[A(0x90)],paramCase(c),paramCase(c)]}),n=this[A(0x99)][A(0x92)]({'pathParts':[l,b[A(0x90)],paramCase(d),paramCase(d)]}),o={'name':headerCase(f[A(0x7b)])[A(0xa0)]('-','\x20')};await this['fsi'][A(0x84)](f,async()=>{const B=A;await this['fsi']['template']({'srcPath':B(0x80)+c+B(0x75),'destPath':m+B(0x75),'framework':B(0x8d),'context':o,'config':f,'force':![],'ignore':![]}),await this[B(0x99)][B(0xa7)]({'srcPath':B(0x9c)+d+B(0x75),'destPath':n+B(0x75),'framework':B(0x8d),'context':o,'config':f,'force':![],'ignore':![]});});const p=''+l+b[A(0x90)]+'/'+c+'/'+c;await this[A(0x99)][A(0xa1)](c,f,p);const q=''+l+b[A(0x90)]+'/'+d+'/'+d;await this[A(0x99)][A(0xa1)](d,f,q);const {layouts:r}=k;for(const s of r){const t=this[A(0x99)][A(0xab)](a112e[A(0x94)](i,s),{'extensions':[A(0x7f),A(0x82)],'omit':[A(0x89),'tests',A(0x7a)]});for(const u of t){const v=a112e[A(0x94)](i,s,u);await this[A(0x99)][A(0x9e)]({'filePath':v,'importName':pascalCase(c),'modulePath':g?A(0x77):A(0x9a),'isNamedExport':!![]}),await this[A(0x99)][A(0x8b)]({'filePath':v,'content':'<'+pascalCase(c)+A(0xa9),'begin':[A(0x97)+s+'-component\x22>','<div\x20id=\x22'+s+'-hook\x22>'],'end':[A(0x7c),A(0x73),'{props.children}',A(0xa5)]}),await this['fsi'][A(0x9e)]({'filePath':v,'importName':pascalCase(d),'modulePath':g?A(0x77):A(0x9a),'isNamedExport':!![]}),await this[A(0x99)][A(0x8b)]({'filePath':v,'content':'<'+pascalCase(d)+'\x20/>\x0a','begin':[A(0x97)+s+A(0x83),'<div\x20id=\x22'+s+A(0xac)],'end':[A(0x7c),A(0x73),A(0x86),A(0xa5)]});}}}catch(w){Log[A(0xa3)](w);}},async function(){},a112f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a113h=a113d;(function(a,b){const f=a113d,c=a();while(!![]){try{const d
|
|
1
|
+
const a113h=a113d;(function(a,b){const f=a113d,c=a();while(!![]){try{const d=-parseInt(f(0xbc))/0x1*(-parseInt(f(0xbd))/0x2)+-parseInt(f(0xb3))/0x3*(parseInt(f(0xb9))/0x4)+-parseInt(f(0xb5))/0x5*(-parseInt(f(0xb7))/0x6)+-parseInt(f(0xc4))/0x7+-parseInt(f(0xbe))/0x8*(parseInt(f(0xc0))/0x9)+-parseInt(f(0xb6))/0xa+parseInt(f(0xc1))/0xb*(parseInt(f(0xc6))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a113c,0xd0e7a));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['toString']()[g(0xba)]('(((.+)+)+)+$')[g(0xc3)]()[g(0xb8)](a113a)['search'](g(0xc5));});a113a();import{Generator}from'../../../generator.js';function a113c(){const j=['776405uAwnJv','3914020cLoRQY','54OFdrHh','constructor','974256PcyYMP','search','maka\x20g:kit:m','7KGPIQa','112178MODZFO','8DUchSe','create','3741777lGxgeZ','5960273CPNuhG','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','toString','3362219cxqpNl','(((.+)+)+)+$','24PzVQxu','Material-UI\x20Kit','9pFNwOa','NIE'];a113c=function(){return j;};return a113c();}import a113e from'../kit.js';function a113d(a,b){const c=a113c();return a113d=function(d,e){d=d-0xb3;let f=c[d];return f;},a113d(a,b);}const MuiGen=Generator[a113h(0xbf)]({'name':'mui','aliases':['m'],'usage':a113h(0xc2),'noNeedResource':!![],'shortDesc':a113h(0xc7),'validOpts':[''],'isPro':!![],'examples':[a113h(0xbb)]},async function(){const i=a113h;throw i(0xb4);},async function(){},a113e);export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a114o=a114d;function a114d(a,b){const c=a114c();return a114d=function(d,e){d=d-0x1e6;let f=c[d];return f;},a114d(a,b);}(function(a,b){const l=a114d,c=a();while(!![]){try{const d=parseInt(l(0x212))/0x1*(-parseInt(l(0x1f2))/0x2)+parseInt(l(0x1e9))/0x3+parseInt(l(0x1f1))/0x4+-parseInt(l(0x210))/0x5+-parseInt(l(0x1e6))/0x6*(parseInt(l(0x1fa))/0x7)+-parseInt(l(0x1f4))/0x8+parseInt(l(0x214))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a114c,0xe10f1));const a114b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a114d;if(c){const e=c[m(0x202)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a114a=a114b(this,function(){const n=a114d;return a114a['toString']()[n(0x200)](n(0x219))[n(0x1ef)]()['constructor'](a114a)[n(0x200)](n(0x219));});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[a114o(0x207)]({'name':'layout','aliases':aliases,'usage':'maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','shortDesc':a114o(0x1f9),'validOpts':[],'examples':[a114o(0x1f3),a114o(0x21b)]},async function(a,b){const p=a114o,c='/imports/ui/layouts',d=this[p(0x1f0)]['findAppDirectory'](),e=this[p(0x1f0)][p(0x20b)]({'pathParts':[c,b[p(0x1e8)],paramCase(b[p(0x1ec)]),paramCase(b[p(0x1ec)])]}),f=this[p(0x1f0)][p(0x1f8)]();await this['fsi']['withValue'](f,async()=>{const q=p;typeof f['template'][q(0x1fc)]==='string'&&(f['template'][q(0x1fc)]=f[q(0x1ed)][q(0x1fc)]==='true'?!![]:![],this[q(0x1f0)]['setTemplate'](q(0x1fc),f[q(0x1ed)][q(0x1fc)]));typeof f[q(0x1ed)][q(0x209)]===q(0x20c)&&(f[q(0x1ed)][q(0x209)]=f['template'][q(0x209)]===q(0x208)?!![]:![],this[q(0x1f0)][q(0x1eb)]('css',f[q(0x1ed)][q(0x209)]));typeof f[q(0x1ed)]['js']==='string'&&(f[q(0x1ed)]['js']=f[q(0x1ed)]['js']===q(0x208)?!![]:![],this[q(0x1f0)]['setTemplate']('js',f[q(0x1ed)]['js']));!f[q(0x1f5)]&&(f[q(0x1f5)]={});const g=b['_']?b['_'][0x0][q(0x213)](':')[0x1]:![],h=b['_']&&aliases['includes'](g);h&&!this[q(0x1f6)]('ramda')&&(Log[q(0x206)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),this[q(0x1f0)][q(0x1fb)](q(0x20d),{'cwd':d}));if(h&&!this[q(0x1f6)](q(0x203))){Log[q(0x206)](q(0x1fe));return;}const i={'name':pascalCase(b[q(0x1ec)]),'myPath':a114e[q(0x20a)](this[q(0x1f0)][q(0x1f7)]({}),e),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b['resourceName']),'graphql':f[q(0x218)][q(0x204)],'features':f[q(0x1f5)],'client':f['engines']['client'],'api':f['engines']['api'],'ssr':f['engines'][q(0x21c)],'test':f[q(0x218)][q(0x1fc)],'theme':f[q(0x218)][q(0x21a)],'isComponent':![],'isLayout':!![],'withTranslations':f[q(0x1f5)][q(0x216)]};f[q(0x1f5)]?.[q(0x1ea)]||b[q(0x20f)]?await this[q(0x1f0)][q(0x1ed)]({'srcPath':q(0x217),'destPath':e+q(0x1e7),'framework':q(0x203),'context':i,'config':f}):await this[q(0x1f0)][q(0x1ed)]({'srcPath':'component/component.js','destPath':e+'.js','framework':'react','context':i,'config':f});f[q(0x218)]['test']!==q(0x20e)&&await this[q(0x1f0)][q(0x1ed)]({'srcPath':q(0x1ff),'destPath':e+q(0x1fd),'framework':q(0x203),'context':i,'config':f});f[q(0x1ed)]['css']&&(await this[q(0x1f0)][q(0x1ed)]({'srcPath':q(0x215),'destPath':e+q(0x1ee),'context':Object[q(0x205)]({},i,{'className':paramCase(b['resourceName'])}),'config':f}),await this[q(0x1f0)]['injectAtBeginningOfFile']({'filePath':e+'.'+f[q(0x218)]['js'],'content':'import\x20\x27./'+i[q(0x21d)]+'.'+f['engines'][q(0x209)]+'\x27;'}));const j=b[q(0x1e8)]?'/'+b[q(0x1e8)]+'/':'/',k=''+c+j+i[q(0x21d)]+'/'+i[q(0x21d)];await this[q(0x1f0)][q(0x201)](i[q(0x211)],f,k);});});function a114c(){const r=['injectTemplateModule','apply','react','graphql','assign','warn','create','true','css','relative','pathFromApp','string','ramda','none','withHook','5533280aimVcc','className','679XVkhnV','split','45362853jCsTgZ','template/template.css','withTranslations','hook/hook.js','engines','(((.+)+)+)+$','theme','maka\x20g:l\x20web/safari','ssr','fileName','6YTehLm','.js','dir','190701CwAwvn','withHooks','setTemplate','resourceName','template','.css','toString','fsi','892072PxmDgG','5098lnTHNU','maka\x20g:layout\x20mobile/iPhone8','8961144qqBlHz','features','checkNpmPackage','pathFromProject','getMakaProjectConfig','Scaffolding\x20for\x20a\x20React\x20Layout.','3132437wVrrrL','installNpmPackage','test','.app-tests.js','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','test/test.js','search'];a114c=function(){return r;};return a114c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-0x130;let f=c[d];return f;},a115d(a,b);}const a115i=a115d;(function(a,b){const f=a115d,c=a();while(!![]){try{const d=-parseInt(f(0x13b))/0x1+-parseInt(f(0x135))/0x2+-parseInt(f(0x13d))/0x3*(parseInt(f(0x130))/0x4)+-parseInt(f(0x133))/0x5+-parseInt(f(0x138))/0x6+-parseInt(f(0x132))/0x7*(-parseInt(f(0x131))/0x8)+parseInt(f(0x13e))/0x9*(parseInt(f(0x136))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0xa5e67));function a115c(){const j=['maka\x20g:package\x20package:name','12hWkSbg','20196imLfQv','toString','(((.+)+)+)+$','maka\x20{generate,\x20g}:<generator>\x20<name>','210612cmPDmp','459368nwbsHr','7MjdCaV','1922450aHCztj','apply','1222028njlJgs','11700lLjGjB','maka\x20g:scaffold\x20todos','2249076oBuUoO','generate','maka\x20generate:scaffold\x20todos','422412hKKhoo'];a115c=function(){return j;};return a115c();}const a115b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a115d;if(c){const e=c[g(0x134)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a115a=a115b(this,function(){const h=a115d;return a115a[h(0x13f)]()['search'](h(0x140))[h(0x13f)]()['constructor'](a115a)['search'](h(0x140));});a115a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a115i(0x139),'aliases':['g'],'usage':a115i(0x141),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':'Scaffold\x20various\x20parts\x20of\x20your\x20application','examples':[a115i(0x13a),a115i(0x137),'maka\x20g:template\x20todos/todo_item',a115i(0x13c),'maka\x20g:route\x20todos/edit','maka\x20g:api\x20trucks','maka\x20g:dbc\x20geoserver\x20--type=pgsql']},function(){});export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a116m=a116d;(function(a,b){const j=a116d,c=a();while(!![]){try{const d=parseInt(j(0xa7))/0x1*(-parseInt(j(0x8f))/0x2)+-parseInt(j(0x93))/0x3*(-parseInt(j(0x9e))/0x4)+-parseInt(j(0xa9))/0x5*(-parseInt(j(0xa1))/0x6)+-parseInt(j(0xa2))/0x7+parseInt(j(0x9b))/0x8+-parseInt(j(0xaa))/0x9+parseInt(j(0x91))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x246a3));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a116d;if(c){const e=c[k(0xa8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const l=a116d;return a116a[l(0x98)]()[l(0x9c)](l(0x9d))[l(0x98)]()[l(0xb3)](a116a)[l(0x9c)](l(0x9d));});a116a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x8e;let f=c[d];return f;},a116d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';function a116c(){const p=['maka\x20{generate,\x20g}:{method,\x20m}\x20name','fsi','2180280ITiyJD','search','(((.+)+)+)+$','20KDcinQ','create','-rpc-method\x27;','18itrUKi','2012402CcfMpP','index.','method','method/method.js','injectAtEndOfFile','10987CYzAAY','apply','19765ueMxNn','210933KhVUfn','ddp-rate-limiter','imports','resourceName','startup','mdg:validated-method','maka:check','pathFromApp','tsx','constructor','error','18svgLTl','engines','191770yGhEUq','getMakaProjectConfig','153234FclANE','appPathPrefix','dir','methods','checkMeteorPackage','toString'];a116c=function(){return p;};return a116c();}Generator[a116m(0x9f)]({'name':a116m(0xa4),'aliases':['m'],'usage':a116m(0x99),'checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','validOpts':[a116m(0x95)],'examples':['maka\x20g:method\x20todos']},async function(a,b){const n=a116m;try{const c=this['fsi'][n(0x92)]();await this['fsi']['withValue'](c,async()=>{const o=n,d=paramCase(b[o(0xad)]),f={'name':b[o(0xad)],'fileName':d,'className':pascalCase(b[o(0xad)]),'camelCase':camelCase(b[o(0xad)]),'noRename':!![]};let g='js';c[o(0x90)]['js']===o(0xb2)&&(g='ts');await this[o(0x9a)][o(0x97)]([o(0xb0),o(0xab),o(0xaf)],{'shouldInstall':!![]}),await this[o(0x9a)]['template']({'srcPath':o(0xa5),'destPath':this[o(0x9a)][o(0xb1)]({'pathParts':[o(0xac),o(0xae),b[o(0x94)],o(0x96),b['dir'],d+'-rpc-method.'+g]}),'context':f,'config':c});const h=b['dir']?'/'+b['dir']+'/':'/',i=this[o(0x9a)]['pathFromApp']({'pathParts':['imports',o(0xae),b[o(0x94)],o(0xa3)+c[o(0x90)]['js']]});await this[o(0x9a)][o(0xa6)]({'filePath':i,'content':'import\x20\x27./methods'+h+d+o(0xa0)});});}catch(d){Log[n(0x8e)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a117o=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d=parseInt(l(0x18c))/0x1*(parseInt(l(0x1a7))/0x2)+parseInt(l(0x187))/0x3*(-parseInt(l(0x18f))/0x4)+parseInt(l(0x197))/0x5+parseInt(l(0x19d))/0x6*(-parseInt(l(0x1a4))/0x7)+-parseInt(l(0x18b))/0x8*(-parseInt(l(0x1a0))/0x9)+parseInt(l(0x18e))/0xa+-parseInt(l(0x1a5))/0xb*(parseInt(l(0x199))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xbbd4a));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a117d;if(c){const e=c[m(0x18d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const n=a117d;return a117a[n(0x181)]()[n(0x182)]('(((.+)+)+)+$')['toString']()[n(0x1a2)](a117a)[n(0x182)](n(0x192));});a117a();function a117c(){const r=['hasOwnProperty','package.js','pathFromApp','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','99hoAaHD','tests/server','package','fsi','16PkIPfA','76316svgmwh','apply','5647960HCZbFo','69268IFqnhL','getMakaProjectConfig','pathFromAppWithNoReWrite','(((.+)+)+)+$','.js','features','package/','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','4982295zJXmHl','server','59100gohNYB','create','/client/','client','25308lPorFS','resourceName','component','4532886lnOJwj','template','constructor','relative','2282TCRfSm','3080Gcrazh','withValue','40qPUQqY','packages','package/package.js','engines','/package.js','dir','toString','search'];a117c=function(){return r;};return a117c();}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-0x17f;let f=c[d];return f;},a117d(a,b);}Generator[a117o(0x19a)]({'name':a117o(0x189),'aliases':['p'],'usage':a117o(0x196),'shortDesc':a117o(0x186),'validOpts':[a117o(0x180)],'examples':['maka\x20g:package\x20todos:package']},async function(a,b){const p=a117o,c=paramCase(b[p(0x19e)]),d=this[p(0x18a)][p(0x185)]({'pathParts':['packages',b[p(0x180)],c]}),e=this[p(0x18a)][p(0x191)]({'pathParts':[p(0x1a8),b[p(0x180)],c,p(0x184)]}),f=this[p(0x18a)][p(0x190)]();await this['fsi'][p(0x1a6)](f,async()=>{const q=p,g={'name':paramCase(b[q(0x19e)]),'myPath':a117e[q(0x1a3)](this[q(0x18a)]['pathFromProject']({}),d),'cssCaseName':paramCase(b[q(0x19e)]),'className':pascalCase(b[q(0x19e)]),'camelCaseName':camelCase(b[q(0x19e)]),'fileName':c,'client':f[q(0x1aa)][q(0x19c)],'graphql':f['engines']['graphql'],'ssr':f['engines']['ssr'],'isComponent':b['hasOwnProperty'](q(0x19f)),'isLayout':b['hasOwnProperty']('layout'),'isStore':b[q(0x183)]('store'),'features':f[q(0x194)],'noRename':!![],'theme':f[q(0x1aa)]['theme']};await this[q(0x18a)][q(0x1a1)]({'srcPath':q(0x1a9),'destPath':e,'context':g,'config':f}),g['noRename']=![];const h=d+q(0x19b)+c+q(0x193);await this[q(0x18a)]['template']({'srcPath':'template/template.js','destPath':h,'context':g,'config':f});const i=['lib',q(0x198),'tests/client',q(0x188)];for(const j of i){const k=d+'/'+j+'/'+c+q(0x193);await this[q(0x18a)][q(0x1a1)]({'srcPath':q(0x195)+j+q(0x17f),'destPath':k,'context':g,'config':f});}});});
|