@maka/maka-cli 4.8.4 → 4.8.5
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(0xf9))/0x1*(-parseInt(f(0xed))/0x2)+-parseInt(f(0xf8))/0x3+parseInt(f(0xf0))/0x4+parseInt(f(0xf5))/0x5+-parseInt(f(0xf2))/0x6+parseInt(f(0xf4))/0x7*(parseInt(f(0xf3))/0x8)+-parseInt(f(0xef))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a98c,0xec244));var a98b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a98d;if(c){var e=c[g(0xf1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a98a=a98b(this,function(){var h=a98d;return a98a[h(0xee)]()[h(0xf6)](h(0xec))[h(0xee)]()[h(0xf7)](a98a)[h(0xf6)]('(((.+)+)+)+$');});a98a();import'./services/_index.js';function a98d(a,b){var c=a98c();return a98d=function(d,e){d=d-0xec;var f=c[d];return f;},a98d(a,b);}function a98c(){var i=['(((.+)+)+)+$','315866wQIzAQ','toString','15497424IismJa','3399300NPOhTX','apply','2318232kFlKpv','16aochGy','886613fSAqjT','6045270VhyJHA','search','constructor','2447949OvgqBj','10jwxQmi'];a98c=function(){return i;};return a98c();}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';import'./page.js';import'./maka.gen.js';import'./dockerfile.js';import'./maka.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a99x=a99d;(function(a,b){const u=a99d,c=a();while(!![]){try{const d=-parseInt(u(0x200))/0x1*(-parseInt(u(0x1e0))/0x2)+parseInt(u(0x1fb))/0x3+parseInt(u(0x1ea))/0x4+-parseInt(u(0x1ed))/0x5+parseInt(u(0x203))/0x6+-parseInt(u(0x21f))/0x7*(-parseInt(u(0x1f1))/0x8)+-parseInt(u(0x20a))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a99c,0x45548));function a99d(a,b){const c=a99c();return a99d=function(d,e){d=d-0x1c9;let f=c[d];return f;},a99d(a,b);}const a99b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a99d;if(c){const e=c[v(0x1c9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a99a=a99b(this,function(){const w=a99d;return a99a[w(0x1d3)]()[w(0x1cb)](w(0x211))['toString']()[w(0x202)](a99a)[w(0x1cb)](w(0x211));});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';function a99c(){const A=['processAndRunGenerator','if\x20\x5c(typeList','\x27;\x0a','tsx','publications.','mongo','(((.+)+)+)+$','TypeDefs);\x0a','api/resolvers.js','injectAtEndOfFile','withValue','error','api/tests.js','template','-api.','api/register-api.js','create','withGql','options','api/typeDefs.js','21kvEpAP','apply','maka:rest','search','api','API\x20boundaries\x20to\x20create','api/methods.js','pathFromApp','api/api.js','withRest','withPubs','toString','mdg:validated-method','/graphql/typeDefs','collection','rpc-methods.','rest','Resolvers\x20}\x20from\x20\x27','getMakaProjectConfig','checkMeteorPackage','push','ddp-rate-limiter','injectAtBeginningOfFile','register-','7108VErhsg','engines','REST\x20API','exit','api/fixtures.js','withFixtures','Fixtures','typeDefs.','typeList.push(','const','1656048cEZHuP','\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','fsi','1291780kVvfOa','injectIntoFile','apollo','withMethods','384632xuSJBi','imports','server','maka\x20g:api\x20Todos','/graphql/resolvers','api/publications.js','Scaffolding\x20for\x20an\x20api\x20concept\x20(i.e.\x20Todos).','fixtures.','/imports/api','-api\x27;','676320LPdFOu','TypeDefs\x20}\x20from\x20\x27','Publications','resourceName','graphql','123QqQhGz','test','constructor','532740ZDxcQQ','apiAnswers','includes','import\x20{\x20typeDefs\x20as\x20','none','dir','index.','6905601ZtrguM'];a99c=function(){return A;};return a99c();}import{camelCase,paramCase,pascalCase}from'change-case';Generator[a99x(0x21b)]({'name':a99x(0x1cc),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{api}\x20<resource-name>','shortDesc':a99x(0x1f7),'validOpts':[a99x(0x208)],'examples':[a99x(0x1f4)],'description':a99x(0x1eb)},async function(a,b){const y=a99x;try{const c=this[y(0x1ec)][y(0x1da)](),d=[{'name':'RPC\x20(Methods)','value':'withMethods'},{'name':y(0x1e6),'value':y(0x1e5)},{'name':y(0x1fd),'value':'withPubs'}];c[y(0x1e1)]['api']==='rest'&&d[y(0x1dc)]({'name':y(0x1e2),'value':y(0x1d1)});c[y(0x1e1)][y(0x1ff)]===y(0x1ef)&&d[y(0x1dc)]({'name':'GraphQL','value':y(0x21c)});const f={'type':'checkbox','name':y(0x204),'message':y(0x1cd),'pageSize':0x64,'choices':d},{apiAnswers:g}=await Actions[y(0x21d)](f);g['length']===0x0&&(Log['error']('No\x20API\x20boundaries\x20selected'),process['exit'](0x1)),await this[y(0x1ec)][y(0x215)](c,async()=>{const z=y,h=b[z(0x1fe)],i=paramCase(h),j=camelCase(h),k=b[z(0x208)]?'/'+b[z(0x208)]+'/':'/',l={'name':pascalCase(h),'fileName':i,'camelCase':pascalCase(h),'optsDir':k,'api':c[z(0x1e1)][z(0x1cc)],'graphql':c['engines']['graphql'],'test':c['engines'][z(0x201)],'noRename':!![],'withPubs':g['includes'](z(0x1d2)),'withFixtures':g['includes'](z(0x1e5)),'withMethods':g['includes'](z(0x1f0)),'withRest':g[z(0x205)](z(0x1d1))};let m='js';c[z(0x1e1)]['js']===z(0x20e)&&(m='ts');await this[z(0x1ec)][z(0x1db)]([z(0x1ca),'maka:check',z(0x1dd),z(0x1d4),z(0x210)],{'shouldInstall':!![]}),await a99e[z(0x20b)](z(0x1d6),[i],{'config':c,'where':z(0x1f3)});c[z(0x1e1)][z(0x1cc)]===z(0x1d8)&&(l[z(0x1d1)]&&await this['fsi'][z(0x218)]({'srcPath':z(0x1d0),'destPath':this['fsi'][z(0x1cf)]({'pathParts':[z(0x1f2),z(0x1cc),b[z(0x208)],i,'rest-api.'+m]}),'context':l,'config':c}));l[z(0x1f0)]&&await this[z(0x1ec)][z(0x218)]({'srcPath':z(0x1ce),'destPath':this[z(0x1ec)][z(0x1cf)]({'pathParts':[z(0x1f2),z(0x1cc),b[z(0x208)],i,z(0x1d7)+m]}),'context':l,'config':c});l[z(0x1e5)]&&await this['fsi']['template']({'srcPath':z(0x1e4),'destPath':this[z(0x1ec)][z(0x1cf)]({'pathParts':['imports',z(0x1cc),b[z(0x208)],i,z(0x1f8)+m]}),'context':l,'config':c});c['engines'][z(0x201)]!==z(0x207)&&this[z(0x1ec)][z(0x218)]({'srcPath':z(0x217),'destPath':this[z(0x1ec)]['pathFromApp']({'pathParts':[z(0x1f2),z(0x1cc),b[z(0x208)],i,i+'.app-tests.'+m]}),'context':l,'config':c});l[z(0x1d2)]&&await this[z(0x1ec)]['template']({'srcPath':z(0x1f6),'destPath':this[z(0x1ec)][z(0x1cf)]({'pathParts':[z(0x1f2),z(0x1cc),b[z(0x208)],i,z(0x20f)+m]}),'context':l,'config':c});if(c[z(0x1e1)][z(0x1ff)]===z(0x1ef)){if(g[z(0x205)](z(0x21c))){const o=this['fsi']['pathFromApp']({'pathParts':[z(0x1f2),'startup',z(0x1f3),z(0x209)+c[z(0x1e1)]['js']]}),p=this['fsi']['rewriteDestinationPathForEngine']({'pathParts':[o],'config':c}),q=this[z(0x1ec)][z(0x1cf)]({'pathParts':[z(0x1f2),'api',b[z(0x208)],i,z(0x1ff),z(0x1e7)+m]}),r=z(0x1f9)+k+i+z(0x1d5);this['fsi'][z(0x218)]({'srcPath':z(0x21e),'destPath':q,'context':l,'config':c}),await this[z(0x1ec)][z(0x1de)]({'filePath':p,'content':z(0x206)+j+z(0x1fc)+r+z(0x20d)}),await this[z(0x1ec)]['injectIntoFile']({'filePath':p,'content':z(0x1e8)+j+z(0x212),'begin':z(0x1e9),'end':z(0x20c)});const s=this[z(0x1ec)][z(0x1cf)]({'pathParts':['imports',z(0x1cc),b[z(0x208)],i,z(0x1ff),'resolvers.'+m]}),t='/imports/api'+k+i+z(0x1f5);await this[z(0x1ec)]['template']({'srcPath':z(0x213),'destPath':s,'context':l,'config':c}),await this[z(0x1ec)][z(0x1de)]({'filePath':p,'content':'\x0aimport\x20{\x20resolvers\x20as\x20'+j+z(0x1d9)+t+'\x27;'}),await this[z(0x1ec)][z(0x1ee)]({'filePath':p,'content':'resolverList.push('+j+'Resolvers);\x0a\x0a','begin':z(0x1e9),'end':z(0x20c)});}}await this[z(0x1ec)][z(0x218)]({'srcPath':z(0x21a),'destPath':this['fsi'][z(0x1cf)]({'pathParts':['imports','startup','server',z(0x1df)+i+z(0x219)+m]}),'context':l,'config':c,'force':!![]});const n=this[z(0x1ec)]['pathFromApp']({'pathParts':['imports','startup',z(0x1f3),z(0x209)+c[z(0x1e1)]['js']]});await this['fsi'][z(0x214)]({'filePath':n,'content':'import\x20\x27./register-'+i+z(0x1fa)});});}catch(h){console[y(0x216)](h),process[y(0x1e3)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a100m=a100d;
|
|
1
|
+
const a100m=a100d;(function(a,b){const j=a100d,c=a();while(!![]){try{const d=parseInt(j(0xc5))/0x1+-parseInt(j(0xca))/0x2+parseInt(j(0xba))/0x3+parseInt(j(0xb8))/0x4*(parseInt(j(0xaf))/0x5)+parseInt(j(0xcb))/0x6*(-parseInt(j(0xb0))/0x7)+-parseInt(j(0xbf))/0x8+parseInt(j(0xab))/0x9*(-parseInt(j(0xb6))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a100c,0x6e544));const a100b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a100d;if(c){const e=c[k(0xbb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a100a=a100b(this,function(){const l=a100d;return a100a[l(0xb9)]()['search'](l(0xc2))[l(0xb9)]()[l(0xbe)](a100a)[l(0xb2)](l(0xc2));});a100a();function a100d(a,b){const c=a100c();return a100d=function(d,e){d=d-0xa3;let f=c[d];return f;},a100d(a,b);}function a100c(){const p=['Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection','engines','dir','9xODkoo','tsx','resourceName','create','915mjwWsd','7ecrRuV','col','search','template','error','pathFromApp','10632560xWiYIp','fsi','4996AdVbyG','toString','2485365rvcFIp','apply','where','maka\x20g:collection\x20todos','constructor','1755304mXAscq','mongo','collections','(((.+)+)+)+$','test','collection/tests.js','790918jPdJnM','getMakaProjectConfig','collection/collection.js','.app-tests.','maka:check','111608zIfpLb','345354wqsORm','none','appPathPrefix','import\x20\x27./collections','injectAtEndOfFile','imports','startup','\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','withValue'];a100c=function(){return p;};return a100c();}import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a100m(0xae)]({'name':'collection','aliases':[a100m(0xb1)],'usage':'maka\x20{generate,\x20g}:{collection,\x20col}\x20<name>','checkWhere':!![],'shortDesc':a100m(0xa8),'validOpts':[a100m(0xaa),a100m(0xbc)],'description':a100m(0xa6),'examples':[a100m(0xbd)]},async function(a,b){const n=a100m;try{const c=this[n(0xb7)][n(0xc6)]();await this['fsi'][n(0xa7)](c,async()=>{const o=n,d=paramCase(b[o(0xad)]),f={'name':pascalCase(b[o(0xad)]),'collectionName':pascalCase(b[o(0xad)]),'fileName':d,'where':b[o(0xbc)],'test':c['engines'][o(0xc3)],'noRename':!![]};let g='js';c['engines']['js']===o(0xac)&&(g='ts');await this[o(0xb7)]['checkMeteorPackage']([o(0xc0),o(0xc9)],{'shouldInstall':!![]}),await this['fsi'][o(0xb3)]({'srcPath':o(0xc7),'destPath':this[o(0xb7)][o(0xb5)]({'pathParts':[o(0xa4),o(0xa5),b['appPathPrefix'],o(0xc1),b[o(0xaa)],d+'.'+g]}),'context':f,'config':c});c[o(0xa9)][o(0xc3)]!==o(0xcc)&&await this[o(0xb7)]['template']({'srcPath':o(0xc4),'destPath':this[o(0xb7)][o(0xb5)]({'pathParts':['imports','startup',b[o(0xcd)],o(0xc1),b[o(0xaa)],d+o(0xc8)+g]}),'context':f,'config':c});const h=b[o(0xaa)]?'/'+b[o(0xaa)]+'/':'/',i=this[o(0xb7)][o(0xb5)]({'pathParts':[o(0xa4),o(0xa5),b[o(0xcd)],'index.'+c[o(0xa9)]['js']]});await this[o(0xb7)][o(0xa3)]({'filePath':i,'content':o(0xce)+h+d+'\x27;'});});}catch(d){Log[n(0xb4)](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(0x12e))/0x1*(parseInt(k(0x12f))/0x2)+-parseInt(k(0x143))/0x3+-parseInt(k(0x11e))/0x4+parseInt(k(0x149))/0x5+parseInt(k(0x118))/0x6*(parseInt(k(0x134))/0x7)+parseInt(k(0x123))/0x8*(parseInt(k(0x117))/0x9)+-parseInt(k(0x130))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a101c,0x8b9ef));function a101d(a,b){const c=a101c();return a101d=function(d,e){d=d-0x110;let f=c[d];return f;},a101d(a,b);}const a101b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a101d;if(c){const e=c[l(0x131)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a101a=a101b(this,function(){const m=a101d;return a101a[m(0x125)]()[m(0x136)](m(0x13a))['toString']()[m(0x14a)](a101a)['search'](m(0x13a));});a101a();import a101e from'path';import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a101c(){const q=['setTemplate','client','className','component/component.js','52859zdxJMc','34hqBbaI','18240740urYlbb','apply','components','assign','7979783qElyCo','ramda','search','fsi','react','.js','(((.+)+)+)+$','css','baseDir','maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','none','ssr','maka\x20g:comp\x20todos/todos-item','root','Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','1232196Nrmfrr','graphql','checkNpmPackage','template','comp','withValue','2060325PrRgQS','constructor','dir','theme','string','layouts','pages','hooks','resourceName','error','true','create','687816swMHfa','6YCaOwD','pathFromProject','features','test','getMakaProjectConfig','relative','104256GLzTSw','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','cssCaseName','warn','.css','40LZjXxd','.tests.js','toString','api','engines','installNpmPackage','fileName'];a101c=function(){return q;};return a101c();}import{Log}from'../tools/log/log.class.js';const aliases=[a101n(0x147)];Generator[a101n(0x116)]({'name':'component','aliases':aliases,'usage':a101n(0x13d),'shortDesc':a101n(0x142),'validOpts':[{'name':'baseDir','values':[a101n(0x112),a101n(0x132),a101n(0x111),a101n(0x110)]}],'examples':[a101n(0x140)]},async function(a,b){const o=a101n;try{const c=this[o(0x137)]['findAppDirectory'](),d=b[o(0x13c)]?'/imports/ui/'+b['baseDir']:'/imports/ui/components',f=this['fsi']['pathFromApp']({'pathParts':[d,b[o(0x14b)],paramCase(b[o(0x113)]),paramCase(b[o(0x113)])]}),g=await this[o(0x137)][o(0x11c)]();await this[o(0x137)][o(0x148)](g,async()=>{const p=o;typeof g[p(0x146)]['test']===p(0x14d)&&(g['template'][p(0x11b)]=g[p(0x146)]['test']==='true'?!![]:![],this[p(0x137)][p(0x12a)]('test',g['template'][p(0x11b)]));typeof g['template'][p(0x13b)]===p(0x14d)&&(g[p(0x146)]['css']=g['template'][p(0x13b)]===p(0x115)?!![]:![],this[p(0x137)]['setTemplate'](p(0x13b),g['template'][p(0x13b)]));typeof g[p(0x146)]['js']==='string'&&(g['template']['js']=g[p(0x146)]['js']===p(0x115)?!![]:![],this[p(0x137)][p(0x12a)]('js',g[p(0x146)]['js']));!g[p(0x11a)]&&(g['features']={});!b[p(0x141)]&&!this['fsi'][p(0x145)](p(0x135))&&(Log[p(0x121)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),await this['fsi'][p(0x128)](p(0x135),{'cwd':c}));if(!b['root']&&!this[p(0x137)][p(0x145)]('react')){Log[p(0x114)](p(0x11f));return;}const h={'name':pascalCase(b[p(0x113)]),'myPath':a101e[p(0x11d)](this[p(0x137)][p(0x119)]({}),f),'cssCaseName':paramCase(b[p(0x113)]),'className':pascalCase(b[p(0x113)]),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b[p(0x113)]),'graphql':g[p(0x127)][p(0x144)],'features':g[p(0x11a)],'client':g[p(0x127)][p(0x12b)],'api':g['engines'][p(0x126)],'ssr':g[p(0x127)][p(0x13f)],'test':g['engines'][p(0x11b)],'theme':g[p(0x127)][p(0x14c)],'isLayout':![],'isComponent':!![],'withTranslations':g[p(0x11a)]['withTranslations']};await this[p(0x137)]['template']({'srcPath':p(0x12d),'destPath':f+p(0x139),'context':h,'framework':p(0x138),'config':g});g[p(0x127)][p(0x11b)]!==p(0x13e)&&await this[p(0x137)][p(0x146)]({'srcPath':'test/test.js','destPath':f+p(0x124),'context':h,'framework':'react','config':g});g[p(0x146)][p(0x13b)]&&(await this['fsi']['template']({'srcPath':'template/template.css','destPath':f+p(0x122),'context':Object[p(0x133)]({},h,{'className':paramCase(b[p(0x113)])}),'config':g}),await this[p(0x137)]['injectAtBeginningOfFile']({'filePath':f+'.'+g[p(0x127)]['js'],'content':'import\x20\x27./'+h[p(0x120)]+'.'+g[p(0x127)][p(0x13b)]+'\x27;'}));const i=b[p(0x14b)]?'/'+b[p(0x14b)]+'/':'/',j=''+d+i+h[p(0x129)]+'/'+h[p(0x129)];await this['fsi']['injectTemplateModule'](h[p(0x12c)],g,j);});}catch(h){Log[o(0x114)](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a102j=a102d;function a102c(){const m=['production','36457560Ptsimc','fsi','settings.json','237292mtSVGb','48EGbmyt','toString','4809329KBqZnK','maka\x20g:config\x20production','ubuntu','getMakaProjectConfig','pathFromProject','search','1117530PgnbkM','isDocker','234884qzmcxj','config/settings.json','appName','dev','config','process.env','(((.+)+)+)+$','107934wmxVEv','create','development','resourceName','3676683hubfSm','config/process.env','constructor','80nGZVvG','13BXLnsA','maka\x20{generate,\x20g}:{config}\x20<name>'];a102c=function(){return m;};return a102c();}(function(a,b){const h=a102d,c=a();while(!![]){try{const d=-parseInt(h(0x98))/0x1*(-parseInt(h(0xa9))/0x2)+parseInt(h(0x94))/0x3+-parseInt(h(0x9e))/0x4+-parseInt(h(0x97))/0x5*(-parseInt(h(0xb0))/0x6)+parseInt(h(0xa1))/0x7+parseInt(h(0x9f))/0x8*(parseInt(h(0xa7))/0x9)+-parseInt(h(0x9b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a102c,0xbb48f));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['toString']()[i(0xa6)]('(((.+)+)+)+$')[i(0xa0)]()[i(0x96)](a102a)[i(0xa6)](i(0xaf));});a102a();import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';function a102d(a,b){const c=a102c();return a102d=function(d,e){d=d-0x93;let f=c[d];return f;},a102d(a,b);}Generator[a102j(0xb1)]({'name':a102j(0xad),'usage':a102j(0x99),'shortDesc':'Generate\x20configuration\x20settings.','validOpts':['isDocker'],'examples':[a102j(0xa2)]},async function(a,b){const k=a102j,c=this['fsi'][k(0xa4)]();await this[k(0x9c)]['withValue'](c,async()=>{const l=k,d={'app':c[l(0xab)],'appFileCase':paramCase(c[l(0xab)]),'name':pascalCase(b[l(0x93)]),'fileName':paramCase(b['resourceName']),'camelCase':camelCase(b['resourceName']),'userName':l(0xa3),'isDocker':b[l(0xa8)]};let e=b[l(0x93)];if(e===l(0xac))e=l(0xb2);else e==='prod'&&(e=l(0x9a));const f=this[l(0x9c)][l(0xa5)]({'pathParts':[l(0xad),e,l(0x9d)]});await this[l(0x9c)]['template']({'srcPath':l(0xaa),'destPath':f,'context':d,'config':c});if(!b['isDocker']){const g=this[l(0x9c)]['pathFromProject']({'pathParts':[l(0xad),e,l(0xae)]});await this[l(0x9c)]['template']({'srcPath':l(0x95),'destPath':g,'context':d,'config':c});}});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a103l=a103d;(function(a,b){const j=a103d,c=a();while(!![]){try{const d
|
|
1
|
+
const a103l=a103d;(function(a,b){const j=a103d,c=a();while(!![]){try{const d=-parseInt(j(0x212))/0x1+-parseInt(j(0x213))/0x2+-parseInt(j(0x1eb))/0x3+-parseInt(j(0x1f1))/0x4*(-parseInt(j(0x206))/0x5)+-parseInt(j(0x1f2))/0x6*(-parseInt(j(0x204))/0x7)+parseInt(j(0x20e))/0x8+-parseInt(j(0x20d))/0x9*(-parseInt(j(0x218))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a103c,0xc425e));function a103d(a,b){const c=a103c();return a103d=function(d,e){d=d-0x1e7;let f=c[d];return f;},a103d(a,b);}const a103b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a103a=a103b(this,function(){const k=a103d;return a103a[k(0x200)]()[k(0x1f4)](k(0x1f9))[k(0x200)]()[k(0x1ec)](a103a)[k(0x1f4)](k(0x1f9));});a103a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a103c(){const o=['maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','2802936eGeWXD','968010pIxSOT','Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','search','sqlite','config.','dbc/register-dbc.js','import\x20\x27./register-','(((.+)+)+)+$','installNpmPackage','better-sqlite3','fsi','server','error','pathFromApp','toString','checkNpmPackage','engines','getMakaProjectConfig','49xxXiPX','register-','5MOIaxI','startup','Npm\x20package\x20\x22mssql\x22\x20not\x20installed,\x20installing...','-dbc\x27;','pgsql','imports','maka\x20g:dbc\x20geoserver\x20--type=pgsql','2449611gdBVvu','6422064XGRiBz','conn.','warn','-dbc.','444453xVqNLF','1915366ixeJje','maka\x20g:dbc\x20azure\x20--type=mssql','maka\x20g:dbc\x20todos\x20--type=sqlite','template','type','10eaHrjc','mssql','dbc','dbc/config.js','Npm\x20package\x20\x22better-sqlite3\x22\x20not\x20installed,\x20installing...','2098374EAdauo','constructor','tsx','dir','resourceName'];a103c=function(){return o;};return a103c();}import{Log}from'../tools/log/log.class.js';Generator['create']({'name':a103l(0x1e8),'usage':a103l(0x1f0),'shortDesc':a103l(0x1f3),'validOpts':[a103l(0x1ee)],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a103l(0x217),'values':[a103l(0x20a),a103l(0x1e7),'sqlite']}],'examples':[a103l(0x20c),a103l(0x214),a103l(0x215)]},async function(a,b){const m=a103l;try{const c=await this[m(0x1fc)][m(0x203)](),d=this[m(0x1fc)][m(0x1ff)]({}),f=paramCase(b[m(0x1ef)]),g={'name':pascalCase(b[m(0x1ef)]),'fileName':paramCase(b[m(0x1ef)]),'camelCase':camelCase(b[m(0x1ef)]),'type':b[m(0x217)],'engine':c[m(0x202)]['js'],'noRename':!![]};await this['fsi']['withValue'](c,async()=>{const n=m;let h='js';c[n(0x202)]['js']===n(0x1ed)&&(h='ts');b[n(0x217)]===n(0x20a)&&!this[n(0x1fc)][n(0x201)]('pg')&&(Log[n(0x210)]('Npm\x20package\x20\x22pg\x22\x20not\x20installed,\x20installing...'),await this['fsi'][n(0x1fa)]('pg',{'cwd':d}));b[n(0x217)]==='mssql'&&!this['fsi'][n(0x201)](n(0x1e7))&&(Log[n(0x210)](n(0x208)),await this[n(0x1fc)][n(0x1fa)](n(0x1e7),{'cwd':d}));b[n(0x217)]===n(0x1f5)&&!this[n(0x1fc)][n(0x201)](n(0x1fb))&&(Log[n(0x210)](n(0x1ea)),await this['fsi'][n(0x1fa)](n(0x1fb),{'cwd':d}));await this[n(0x1fc)][n(0x216)]({'srcPath':n(0x1e9),'destPath':this[n(0x1fc)]['pathFromApp']({'pathParts':[n(0x20b),n(0x207),'server',n(0x1e8),b[n(0x1ee)],f,n(0x1f6)+h]}),'context':g,'config':c}),await this[n(0x1fc)][n(0x216)]({'srcPath':'dbc/conn.js','destPath':this['fsi']['pathFromApp']({'pathParts':[n(0x20b),n(0x207),n(0x1fd),n(0x1e8),b['dir'],f,n(0x20f)+h]}),'context':g,'config':c}),await this[n(0x1fc)][n(0x216)]({'srcPath':n(0x1f7),'destPath':this[n(0x1fc)][n(0x1ff)]({'pathParts':[n(0x20b),n(0x207),n(0x1fd),n(0x205)+f+n(0x211)+h]}),'context':g,'config':c});const i=this[n(0x1fc)][n(0x1ff)]({'pathParts':[n(0x20b),n(0x207),'server','index.'+c[n(0x202)]['js']]});await this[n(0x1fc)]['injectAtEndOfFile']({'filePath':i,'content':n(0x1f8)+f+n(0x209)});});}catch(h){Log[m(0x1fe)](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a104d(a,b){const c=a104c();return a104d=function(d,e){d=d-0x164;let f=c[d];return f;},a104d(a,b);}const a104i=a104d;(function(a,b){const f=a104d,c=a();while(!![]){try{const d=-parseInt(f(0x16a))/0x1*(-parseInt(f(0x177))/0x2)+parseInt(f(0x181))/0x3*(parseInt(f(0x17e))/0x4)+-parseInt(f(0x17c))/0x5*(parseInt(f(0x16f))/0x6)+-parseInt(f(0x16d))/0x7*(parseInt(f(0x171))/0x8)+-parseInt(f(0x165))/0x9+parseInt(f(0x17b))/0xa+-parseInt(f(0x183))/0xb*(-parseInt(f(0x175))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a104c,0x722f3));const a104b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a104d;if(c){const e=c[g(0x164)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a104a=a104b(this,function(){const h=a104d;return a104a[h(0x168)]()['search']('(((.+)+)+)+$')[h(0x168)]()[h(0x166)](a104a)['search']('(((.+)+)+)+$');});a104a();import{Generator}from'../generator.js';function a104c(){const l=['5038144BEGVqL','appName','dockerfile','join','2870208XirHzO','maka\x20{generate,\x20g}:dockerfile','554vlYNRQ','app','create','template','4794660YDcntn','295CgbjDP','docker/Dockerfile','4VmRQkB','withValue','fsi','665961FZsBFU','cert','22qKDBEN','apply','1314684JPTVJF','constructor','getMakaProjectConfig','toString','isFile','2137uapuHV','getGlobalConfig','Dockerfile','7OppLIc','maka\x20g:dockerfile','53718LfAcQP','error'];a104c=function(){return l;};return a104c();}import{Log}from'../tools/log/log.class.js';import a104e from'path';Generator[a104i(0x179)]({'name':a104i(0x173),'usage':a104i(0x176),'shortDesc':'Generate\x20an\x20updated\x20dockerfile','validOpts':[],'noNeedResource':!![],'examples':[a104i(0x16e)]},async function(){const j=a104i;try{const a=await this[j(0x180)][j(0x167)](),b=await this['fsi'][j(0x16b)](),c=this['fsi']['findProjectDirectory']();await this[j(0x180)][j(0x17f)](a,async()=>{const k=j,d={'app':b[k(0x172)],'config':a,'appPath':a104e[k(0x174)](c,k(0x178)),'bundlePath':a104e['join'](c,'build','app.tar.gz'),'useCert':this['fsi'][k(0x169)](b[k(0x182)])};await this[k(0x180)][k(0x17a)]({'srcPath':k(0x17d),'destPath':a104e[k(0x174)](c,k(0x16c)),'framework':'service','context':d,'config':a});});}catch(d){Log[j(0x170)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a105o=a105d;(function(a,b){const l=a105d,c=a();while(!![]){try{const d=parseInt(l(
|
|
1
|
+
const a105o=a105d;(function(a,b){const l=a105d,c=a();while(!![]){try{const d=parseInt(l(0xab))/0x1+-parseInt(l(0xaa))/0x2+parseInt(l(0xc6))/0x3*(parseInt(l(0xa2))/0x4)+parseInt(l(0x92))/0x5+parseInt(l(0x94))/0x6+-parseInt(l(0xb2))/0x7+-parseInt(l(0xb3))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a105c,0x8baab));const a105b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a105d;if(c){const e=c[m(0xbb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a105a=a105b(this,function(){const n=a105d;return a105a[n(0xb1)]()[n(0x97)](n(0xac))['toString']()[n(0xb4)](a105a)[n(0x97)](n(0xac));});a105a();import a105e from'path';import{paramCase,pascalCase,camelCase}from'change-case';function a105c(){const r=['engines','layouts','withTranslations','setTemplate','hook','/imports/ui/','features','checkNpmPackage','@apollo/client','Creating\x20','8436Xdwuqi','test','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','getMakaProjectConfig','test/test.js','template','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','@apollo/client\x20isomorphic-fetch','1202950LyYkgi','206097BLnNGT','(((.+)+)+)+$','.app-tests.js','theme','hooks','hook/hook.js','toString','3085250lrsLms','1777328gHMlxO','constructor','create','fsi','components','dir','react','resourceName','apply','error','className','graphql','fileName','pages','apollo','baseDir','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','force','relative','513aOAjkR','pathFromProject','.js','css','true','injectTemplateModule','cssCaseName','string','maka\x20g:hook\x20cool-hook','3060350cjLxyF','pathFromApp','3945960ktxpHu','\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','none','search'];a105c=function(){return r;};return a105c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a105d(a,b){const c=a105c();return a105d=function(d,e){d=d-0x8b;let f=c[d];return f;},a105d(a,b);}import{UsageError}from'../error.js';Generator[a105o(0xb5)]({'name':a105o(0x9c),'aliases':['h'],'checkWhere':![],'usage':a105o(0xa8),'shortDesc':'Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','validOpts':[{'name':'baseDir','values':[a105o(0xaf),a105o(0xb7),a105o(0xc0),a105o(0x99)]},{'name':a105o(0xc4),'boolFlag':!![]}],'examples':[a105o(0x91)],'description':a105o(0x95)},async function(a,b){const p=a105o;Log['notice'](p(0xa1)+b['resourceName']+'\x20hook...');try{const c=this[p(0xb6)][p(0x9f)](p(0xb9));if(!c){Log[p(0xbc)](p(0xc3));throw new UsageError();}const d=this[p(0xb6)][p(0x93)](b),f=b[p(0xc2)]?p(0x9d)+b[p(0xc2)]:'/imports/ui/hooks',g=this['fsi']['pathFromApp']({'pathParts':[f,b[p(0xb8)],paramCase(b[p(0xba)]),paramCase(b[p(0xba)])]}),h=await this['fsi'][p(0xa5)]();await this[p(0xb6)]['withValue'](h,async()=>{const q=p;typeof h[q(0xa7)][q(0x8c)]===q(0x90)&&(h['template'][q(0x8c)]=h[q(0xa7)][q(0x8c)]===q(0x8d)?!![]:![],this['fsi'][q(0x9b)](q(0x8c),h[q(0xa7)][q(0x8c)]));h[q(0x98)][q(0xbe)]===q(0xc1)&&!this[q(0xb6)][q(0x9f)](q(0xa0))&&(Log['warn'](q(0xa4)),await this[q(0xb6)]['installNpmPackage'](q(0xa9),{'cwd':d}));const i={'cssCaseName':paramCase(b[q(0xba)]),'camelCaseName':camelCase(b['resourceName']),'className':pascalCase(b['resourceName']),'name':pascalCase(b[q(0xba)]),'graphql':h['engines'][q(0xbe)],'theme':h[q(0x98)][q(0xae)],'features':h[q(0x9e)],'myPath':a105e[q(0xc5)](this['fsi'][q(0xc7)]({}),g),'fileName':paramCase(b[q(0xba)]),'isComponent':![],'isLayout':![],'withTranslations':h[q(0x9e)][q(0x9a)]};await this[q(0xb6)][q(0xa7)]({'srcPath':q(0xb0),'destPath':g+q(0x8b),'context':i,'config':h,'framework':q(0xb9),'force':b['force']});h[q(0xa7)][q(0x8c)]&&(await this[q(0xb6)][q(0xa7)]({'srcPath':'template/template.css','destPath':g+'.css','context':Object['assign']({},i,{'className':i[q(0x8f)]}),'config':h,'force':b[q(0xc4)]}),await this[q(0xb6)]['injectAtBeginningOfFile']({'filePath':g+'.'+h[q(0x98)]['js'],'content':'import\x20\x27./'+i[q(0xbf)]+'.'+h[q(0x98)][q(0x8c)]+'\x27;'}));h['engines'][q(0xa3)]!==q(0x96)&&await this[q(0xb6)][q(0xa7)]({'srcPath':q(0xa6),'destPath':g+q(0xad),'framework':q(0xb9),'context':i,'config':h,'force':b['force']});const j=b[q(0xb8)]?'/'+b[q(0xb8)]+'/':'/',k=''+f+j+i[q(0xbf)]+'/'+i['fileName'];await this['fsi'][q(0x8e)](i[q(0xbd)],h,k);});}catch(i){Log['error'](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(0x1e1))/0x1+parseInt(f(0x1e3))/0x2+parseInt(f(0x1e7))/0x3+parseInt(f(0x1e6))/0x4+-parseInt(f(0x1e5))/0x5*(-parseInt(f(0x1df))/0x6)+-parseInt(f(0x1e0))/0x7*(-parseInt(f(0x1de))/0x8)+-parseInt(f(0x1e9))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a106c,0x78896));var a106b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a106d;if(c){var e=c[g(0x1e8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a106a=a106b(this,function(){var h=a106d;return a106a[h(0x1e4)]()['search'](h(0x1ea))[h(0x1e4)]()[h(0x1e2)](a106a)['search'](h(0x1ea));});a106a();function a106d(a,b){var c=a106c();return a106d=function(d,e){d=d-0x1de;var f=c[d];return f;},a106d(a,b);}import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';function a106c(){var i=['(((.+)+)+)+$','358984zBQuhg','57558ihvNlo','49WOFQgI','139034ctrbIu','constructor','1811704tPVzUu','toString','65SdnKXJ','696580aOhPFh','584583yCzJad','apply','9728334ZTgpwb'];a106c=function(){return i;};return a106c();}
|
|
@@ -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(0xa4))/0x1+parseInt(f(0xa8))/0x2+-parseInt(f(0xa0))/0x3+parseInt(f(0xa2))/0x4+-parseInt(f(0xa5))/0x5*(-parseInt(f(0xa6))/0x6)+-parseInt(f(0xa7))/0x7+parseInt(f(0xa3))/0x8*(-parseInt(f(0xac))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a107c,0xe1c15));function a107d(a,b){var c=a107c();return a107d=function(d,e){d=d-0xa0;var f=c[d];return f;},a107d(a,b);}var a107b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a107d;if(c){var e=c[g(0xa1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a107a=a107b(this,function(){var h=a107d;return a107a[h(0xaa)]()['search']('(((.+)+)+)+$')[h(0xaa)]()['constructor'](a107a)[h(0xab)](h(0xa9));});a107a();import'./esri.generator.js';function a107c(){var i=['3208110FWjpij','apply','5487540UdOqyo','884648SqQKPk','1068079IWjFDS','5225515btBbUa','6xKTDhh','464128rssWFv','1795002KKAnjK','(((.+)+)+)+$','toString','search','189TGYVou'];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(0x15b))/0x1+-parseInt(f(0x161))/0x2*(parseInt(f(0x169))/0x3)+parseInt(f(0x167))/0x4+-parseInt(f(0x15d))/0x5*(parseInt(f(0x163))/0x6)+parseInt(f(0x16a))/0x7+-parseInt(f(0x166))/0x8+-parseInt(f(0x16c))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a108c,0x35016));const a108b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a108d;if(c){const e=c[g(0x16b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a108a=a108b(this,function(){const h=a108d;return a108a[h(0x162)]()[h(0x168)](h(0x164))[h(0x162)]()['constructor'](a108a)[h(0x168)](h(0x164));});a108a();function a108d(a,b){const c=a108c();return a108d=function(d,e){d=d-0x15a;let f=c[d];return f;},a108d(a,b);}import{Generator}from'../../../generator.js';import a108e from'../kit.js';const EsriGen=Generator[a108i(0x160)]({'name':a108i(0x15c),'aliases':['e'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','noNeedResource':!![],'shortDesc':a108i(0x165),'validOpts':[''],'isPro':!![],'examples':[a108i(0x15a)],'description':'\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20kit\x20for\x20Esri\x20Maps.\x20Starting\x20with\x20a\x20basic\x20map,\x0a\x20\x20\x20\x20but\x20with\x20the\x20ability\x20to\x20add\x20more\x20components\x20to\x20the\x20kit.\x0a\x20\x20'},async function(){const j=a108i;return{'success':!![],'message':j(0x15e),'details':{'filesCreated':['/foo/bar'],'filesUpdated':[j(0x15f)]}};},async function(){},a108e);export default EsriGen;function a108c(){const k=['/foo','create','126LfbGmx','toString','76062LNnolD','(((.+)+)+)+$','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','647216JgWXJx','1285548miDyNJ','search','18609ERVoVs','2679243mZCTRK','apply','2181528QtHwGD','maka\x20g:kit:e','265088xGlOMl','esri','15AaaKdO','Esri\x20Kit\x20generated\x20successfully'];a108c=function(){return k;};return a108c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a109s=a109d;(function(a,b){const p=a109d,c=a();while(!![]){try{const d
|
|
1
|
+
const a109s=a109d;(function(a,b){const p=a109d,c=a();while(!![]){try{const d=parseInt(p(0x1cb))/0x1*(-parseInt(p(0x1ca))/0x2)+-parseInt(p(0x1bd))/0x3*(-parseInt(p(0x1cd))/0x4)+parseInt(p(0x1d2))/0x5+-parseInt(p(0x1c9))/0x6+parseInt(p(0x1ae))/0x7*(-parseInt(p(0x1bb))/0x8)+parseInt(p(0x1c4))/0x9+parseInt(p(0x1c2))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a109c,0x75224));const a109b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a109d;if(c){const e=c[q(0x1b3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a109a=a109b(this,function(){const r=a109d;return a109a[r(0x1db)]()[r(0x1d9)](r(0x1c0))[r(0x1db)]()[r(0x1bf)](a109a)['search'](r(0x1c0));});a109a();function a109d(a,b){const c=a109c();return a109d=function(d,e){d=d-0x1ad;let f=c[d];return f;},a109d(a,b);}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a109e from'./esri.generator.js';import a109f from'../../../generators/maka.gen.js';import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a109s(0x1d0)]({'name':a109s(0x1af),'aliases':['m'],'usage':a109s(0x1b6),'shortDesc':a109s(0x1c3),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT'],'ssr':SsrEngines[a109s(0x1dc)]},'description':a109s(0x1b7)},async function(a,b){const t=a109s;try{Log['bright']('Generating\x20a\x20map\x20component');const c=t(0x1d6);await this[t(0x1c6)][t(0x1b0)]([t(0x1c8),t(0x1de)],{'shouldInstall':!![]});const d=this['fsi'][t(0x1b9)](),f=this['fsi'][t(0x1cf)](),g=f[t(0x1c5)]['ssr']==='true',h=await a109f[t(0x1cc)](t(0x1ad),['map'],{'cwd':d,'config':f}),i={'name':headerCase(f['appName'])[t(0x1b5)]('-','\x20'),'componentName':pascalCase(c)},j=b[t(0x1b1)]?t(0x1b8)+b[t(0x1b1)]:t(0x1c7),k=this[t(0x1c6)]['pathFromApp']({'pathParts':[j,b[t(0x1c1)],paramCase(c),paramCase(c)]});this['fsi'][t(0x1d8)](f,async()=>{const u=t;this[u(0x1c6)]['template']({'srcPath':'kit/esri/map/'+c+u(0x1ba),'destPath':k+u(0x1ba),'framework':u(0x1dd),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[t(0x1c1)]+'/'+c+'/'+c;await this[t(0x1c6)][t(0x1ce)](c,f,l);const m=h[t(0x1be)]('/'),n=this[t(0x1c6)][t(0x1da)]({'pathParts':m});await this[t(0x1c6)][t(0x1d4)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?t(0x1bc):t(0x1d5),'isNamedExport':!![]}),await this[t(0x1c6)][t(0x1d7)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+'\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','begin':[t(0x1b2),'<div\x20id=\x22map-component\x22>'],'end':[t(0x1b4)],'replace':!![]});}catch(o){Log[t(0x1d3)](o),process[t(0x1d1)](0x1);}},async function(){},a109e);function a109c(){const v=['\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','/imports/ui/','findProjectDirectory','.js','392boxNhX','/imports/startup/lib/templates','62646gwvyXw','split','constructor','(((.+)+)+)+$','dir','6937180RDPXgs','Generate\x20an\x20Esri\x20map\x20component','2219589yyrRZx','engines','fsi','/imports/ui/hooks','@esri/react-arcgis','976056EFSpIV','788174Hnafgt','1WVnhjS','processAndRunGenerator','24FmLzEy','injectTemplateModule','getMakaProjectConfig','create','exit','3737810fyBWjB','error','injectImport','/imports/startup/client/templates','basic-map','injectIntoFile','withValue','search','pathFromApp','toString','FALSE','react','esri-loader','page','110950VrJIWl','map','checkNpmPackage','baseDir','<div\x20id=\x22map-hook\x22>','apply','</div>','replaceAll','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}'];a109c=function(){return v;};return a109c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a110i=a110d;(function(a,b){const f=a110d,c=a();while(!![]){try{const d=-parseInt(f(0x189))/0x1+parseInt(f(0x183))/0x2+parseInt(f(0x180))/0x3+parseInt(f(0x184))/0x4*(-parseInt(f(0x18e))/0x5)+parseInt(f(0x18c))/0x6+parseInt(f(0x181))/0x7+parseInt(f(0x18d))/0x8*(-parseInt(f(0x182))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a110c,0xd4c10));const a110b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a110d;if(c){const e=c[g(0x18f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a110a=a110b(this,function(){const h=a110d;return a110a[h(0x188)]()[h(0x185)](h(0x187))[h(0x188)]()[h(0x18a)](a110a)[h(0x185)](h(0x187));});a110a();import{Generator}from'../../generator.js';const KitGen=Generator['create']({'name':'kit','aliases':['k'],'usage':a110i(0x186),'shortDesc':'Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a110i(0x18b),'maka\x20g:k']},async function(){});function a110c(){const j=['8198028lvOunP','2602536TVgicL','211895ZAvzjw','apply','3652887CZDJHi','2610419CoOpaj','18rUUqEt','1333690CBwIPt','100leNkIV','search','maka\x20{generate,\x20g}:{kit}\x20<name>','(((.+)+)+)+$','toString','1042180niaFAg','constructor','maka\x20g:kit'];a110c=function(){return j;};return a110c();}function a110d(a,b){const c=a110c();return a110d=function(d,e){d=d-0x180;let f=c[d];return f;},a110d(a,b);}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=['8iJSIGX','constructor','(((.+)+)+)+$','163047vHkqYs','282BwWJUs','161605ldkGKk','11sKlryZ','toString','326436ZpvzZy','33376dNqVeI','50vYaUmw','apply','search','177426qfuCMV','520752KlHonl','185786Gwdple','6FkBAVQ'];a111c=function(){return i;};return a111c();}(function(a,b){var f=a111d,c=a();while(!![]){try{var d=-parseInt(f(0x140))/0x1+parseInt(f(0x13b))/0x2*(parseInt(f(0x13c))/0x3)+parseInt(f(0x13d))/0x4*(parseInt(f(0x142))/0x5)+-parseInt(f(0x141))/0x6*(-parseInt(f(0x146))/0x7)+-parseInt(f(0x14b))/0x8+-parseInt(f(0x14a))/0x9*(parseInt(f(0x147))/0xa)+-parseInt(f(0x143))/0xb*(parseInt(f(0x145))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a111c,0x1d722));var a111b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a111d;if(c){var e=c[g(0x148)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a111a=a111b(this,function(){var h=a111d;return a111a[h(0x144)]()[h(0x149)](h(0x13f))[h(0x144)]()[h(0x13e)](a111a)[h(0x149)](h(0x13f));});function a111d(a,b){var c=a111c();return a111d=function(d,e){d=d-0x13b;var f=c[d];return f;},a111d(a,b);}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(0x1ea))/0x1*(-parseInt(x(0x1f1))/0x2)+parseInt(x(0x215))/0x3*(-parseInt(x(0x22b))/0x4)+-parseInt(x(0x1e5))/0x5*(parseInt(x(0x21d))/0x6)+parseInt(x(0x1f5))/0x7*(-parseInt(x(0x1e8))/0x8)+parseInt(x(0x214))/0x9*(parseInt(x(0x224))/0xa)+-parseInt(x(0x21e))/0xb*(parseInt(x(0x1fe))/0xc)+-parseInt(x(0x213))/0xd*(-parseInt(x(0x203))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a112c,0x1dafa));function a112d(a,b){const c=a112c();return a112d=function(d,e){d=d-0x1e2;let f=c[d];return f;},a112d(a,b);}const a112b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a112d;if(c){const e=c[y(0x20b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a112a=a112b(this,function(){const z=a112d;return a112a[z(0x21a)]()[z(0x208)](z(0x20e))[z(0x21a)]()[z(0x1ef)](a112a)[z(0x208)](z(0x20e));});a112a();import{Generator}from'../../../generator.js';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';function a112c(){const D=['Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','injectTemplateModule','372MllKfQ','525701icRaVq','create','jsx','checkbox','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','dir','9190OUprHl','tests','baseDir','imports','injectIntoFile','join','kit/mui/frame/app-bars/','4qZWbMk','pathFromApp','<div\x20id=\x22','-component\x22>','14765nMMYXv','length','getMakaProjectConfig','496XBLHLg','options','115531WixETM','error','basic-drawer','-hook\x22>','MATERIAL','constructor','layouts','2OOmCps','appName','/imports/startup/lib/templates','ssr','16597qTJAPn','session','injectImport','/imports/startup/client/templates','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','getDirectories','findAppDirectory','basic-app-bar','tsx','12WkxTlo','\x20/>\x0a','No\x20layouts\x20selected','withValue','frame','2296oTfiem','REACT','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','{props.children}','engines','search','fsi','{\x20this.props.children\x20}','apply','/imports/ui/','kit/mui/frame/drawers/','(((.+)+)+)+$','maka\x20generate:kit:mui:frame','react','app-tests','.js','47060PUULeW','855WJeEEt','197943DmiNqX','{this.props.children}','maka\x20g:k:m:f','/imports/ui/hooks','test','toString'];a112c=function(){return D;};return a112c();}import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a112A(0x21f)]({'name':a112A(0x202),'aliases':['f'],'usage':a112A(0x1f9),'shortDesc':a112A(0x21b),'validOpts':[a112A(0x1f0)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a112A(0x1ee)],'client':ClientEngines[a112A(0x204)]},'examples':[a112A(0x20f),a112A(0x217)],'description':a112A(0x222)},async function(a,b){const B=a112A;try{const c=B(0x1fc),d=B(0x1ec),f=this[B(0x209)][B(0x1e7)](),g=f[B(0x207)][B(0x1f4)]==='true';await this[B(0x209)]['checkMeteorPackage'](B(0x1f6),{'shouldInstall':!![]});const h=this[B(0x209)][B(0x1fb)](),i=a112e[B(0x229)](h,B(0x227),'ui',B(0x1f0)),j=this['fsi'][B(0x1fa)](i),k=await Actions[B(0x1e9)]({'type':B(0x221),'name':B(0x1f0),'message':B(0x205),'choices':j});if(k['layouts'][B(0x1e6)]===0x0){Log[B(0x1eb)](B(0x200));return;}const l=b['baseDir']?B(0x20c)+b[B(0x226)]:B(0x218),m=this[B(0x209)][B(0x1e2)]({'pathParts':[l,b[B(0x223)],paramCase(c),paramCase(c)]}),n=this[B(0x209)][B(0x1e2)]({'pathParts':[l,b['dir'],paramCase(d),paramCase(d)]}),o={'name':headerCase(f[B(0x1f2)])['replaceAll']('-','\x20')};await this[B(0x209)][B(0x201)](f,async()=>{const C=B;await this[C(0x209)]['template']({'srcPath':C(0x22a)+c+'.js','destPath':m+C(0x212),'framework':C(0x210),'context':o,'config':f,'force':![],'ignore':![]}),await this[C(0x209)]['template']({'srcPath':C(0x20d)+d+C(0x212),'destPath':n+C(0x212),'framework':C(0x210),'context':o,'config':f,'force':![],'ignore':![]});});const p=''+l+b[B(0x223)]+'/'+c+'/'+c;await this[B(0x209)][B(0x21c)](c,f,p);const q=''+l+b[B(0x223)]+'/'+d+'/'+d;await this[B(0x209)][B(0x21c)](d,f,q);const {layouts:r}=k;for(const s of r){const t=this['fsi']['getFiles'](a112e['join'](i,s),{'extensions':[B(0x220),B(0x1fd)],'omit':[B(0x211),B(0x225),B(0x219)]});for(const u of t){const v=a112e['join'](i,s,u);await this[B(0x209)][B(0x1f7)]({'filePath':v,'importName':pascalCase(c),'modulePath':g?'/imports/startup/lib/templates':B(0x1f8),'isNamedExport':!![]}),await this[B(0x209)][B(0x228)]({'filePath':v,'content':'<'+pascalCase(c)+B(0x1ff),'begin':[B(0x1e3)+s+'-component\x22>',B(0x1e3)+s+B(0x1ed)],'end':[B(0x216),B(0x20a),B(0x206),'{\x20props.children\x20}']}),await this[B(0x209)][B(0x1f7)]({'filePath':v,'importName':pascalCase(d),'modulePath':g?B(0x1f3):B(0x1f8),'isNamedExport':!![]}),await this[B(0x209)][B(0x228)]({'filePath':v,'content':'<'+pascalCase(d)+B(0x1ff),'begin':['<div\x20id=\x22'+s+B(0x1e4),B(0x1e3)+s+'-hook\x22>'],'end':[B(0x216),'{\x20this.props.children\x20}',B(0x206),'{\x20props.children\x20}']});}}}catch(w){Log[B(0x1eb)](w);}},async function(){},a112f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a113h=a113d;(function(a,b){const f=a113d,c=a();while(!![]){try{const d=-parseInt(f(
|
|
1
|
+
function a113c(){const j=['49380720PdAcCN','NIE','toString','create','4272896qDthZG','3643286QHvmmT','search','(((.+)+)+)+$','maka\x20g:kit:m','2434995yWKduP','3ZmdXCR','mui','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','3548958TSHdCv','23896XBSqOO','5517brwwyg','10164516xTqJzB','1ldHJdD'];a113c=function(){return j;};return a113c();}const a113h=a113d;(function(a,b){const f=a113d,c=a();while(!![]){try{const d=-parseInt(f(0x166))/0x1*(parseInt(f(0x15a))/0x2)+-parseInt(f(0x15f))/0x3*(parseInt(f(0x16b))/0x4)+-parseInt(f(0x15e))/0x5+parseInt(f(0x165))/0x6+-parseInt(f(0x162))/0x7+parseInt(f(0x163))/0x8*(-parseInt(f(0x164))/0x9)+parseInt(f(0x167))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a113c,0xdff13));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(0x169)]()[g(0x15b)](g(0x15c))[g(0x169)]()['constructor'](a113a)['search'](g(0x15c));});a113a();import{Generator}from'../../../generator.js';import a113e from'../kit.js';const MuiGen=Generator[a113h(0x16a)]({'name':a113h(0x160),'aliases':['m'],'usage':a113h(0x161),'noNeedResource':!![],'shortDesc':'Material-UI\x20Kit','validOpts':[''],'isPro':!![],'examples':[a113h(0x15d)]},async function(){const i=a113h;throw i(0x168);},async function(){},a113e);function a113d(a,b){const c=a113c();return a113d=function(d,e){d=d-0x15a;let f=c[d];return f;},a113d(a,b);}export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a114o=a114d;(function(a,b){const l=a114d,c=a();while(!![]){try{const d=parseInt(l(
|
|
1
|
+
const a114o=a114d;function a114d(a,b){const c=a114c();return a114d=function(d,e){d=d-0x1b3;let f=c[d];return f;},a114d(a,b);}(function(a,b){const l=a114d,c=a();while(!![]){try{const d=parseInt(l(0x1c7))/0x1+parseInt(l(0x1e2))/0x2+parseInt(l(0x1ec))/0x3*(parseInt(l(0x1b3))/0x4)+parseInt(l(0x1bd))/0x5+parseInt(l(0x1dd))/0x6+-parseInt(l(0x1c4))/0x7*(parseInt(l(0x1d3))/0x8)+-parseInt(l(0x1e0))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a114c,0x9f9c8));function a114c(){const r=['test','toString','Scaffolding\x20for\x20a\x20React\x20Layout.','113267hVXjPE','fileName','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','671266TiQeMG','engines','injectTemplateModule','pathFromProject','injectAtBeginningOfFile','template/template.css','react','ramda','maka\x20g:layout\x20mobile/iPhone8','template','relative','search','488dpzeVC','resourceName','getMakaProjectConfig','setTemplate','test/test.js','fsi','component/component.js','features','dir','pathFromApp','4807470oMfOpK','true','create','17447238RGJsrU','apply','1536120qduYUT','(((.+)+)+)+$','findAppDirectory','warn','css','constructor','.css','string','api','graphql','2616078kbVJsV','4OcUrOK','installNpmPackage','checkNpmPackage','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','includes','split','theme','.js','withTranslations','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','2333970HqLgYK','withHooks','layout','import\x20\x27./'];a114c=function(){return r;};return a114c();}const a114b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a114d;if(c){const e=c[m(0x1e1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a114a=a114b(this,function(){const n=a114d;return a114a[n(0x1c2)]()['search']('(((.+)+)+)+$')[n(0x1c2)]()[n(0x1e7)](a114a)[n(0x1d2)](n(0x1e3));});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(0x1df)]({'name':a114o(0x1bf),'aliases':aliases,'usage':a114o(0x1bc),'shortDesc':a114o(0x1c3),'validOpts':[],'examples':[a114o(0x1cf),'maka\x20g:l\x20web/safari']},async function(a,b){const p=a114o,c='/imports/ui/layouts',d=this[p(0x1d8)][p(0x1e4)](),e=this[p(0x1d8)][p(0x1dc)]({'pathParts':[c,b[p(0x1db)],paramCase(b[p(0x1d4)]),paramCase(b[p(0x1d4)])]}),f=this['fsi'][p(0x1d5)]();await this[p(0x1d8)]['withValue'](f,async()=>{const q=p;typeof f[q(0x1d0)][q(0x1c1)]===q(0x1e9)&&(f[q(0x1d0)][q(0x1c1)]=f[q(0x1d0)]['test']===q(0x1de)?!![]:![],this['fsi']['setTemplate']('test',f[q(0x1d0)][q(0x1c1)]));typeof f['template'][q(0x1e6)]===q(0x1e9)&&(f[q(0x1d0)][q(0x1e6)]=f[q(0x1d0)][q(0x1e6)]===q(0x1de)?!![]:![],this[q(0x1d8)][q(0x1d6)](q(0x1e6),f[q(0x1d0)][q(0x1e6)]));typeof f['template']['js']===q(0x1e9)&&(f[q(0x1d0)]['js']=f[q(0x1d0)]['js']===q(0x1de)?!![]:![],this[q(0x1d8)]['setTemplate']('js',f[q(0x1d0)]['js']));!f[q(0x1da)]&&(f[q(0x1da)]={});const g=b['_']?b['_'][0x0][q(0x1b8)](':')[0x1]:![],h=b['_']&&aliases[q(0x1b7)](g);h&&!this['checkNpmPackage'](q(0x1ce))&&(Log[q(0x1e5)](q(0x1c6)),this[q(0x1d8)][q(0x1b4)](q(0x1ce),{'cwd':d}));if(h&&!this[q(0x1b5)]('react')){Log[q(0x1e5)](q(0x1b6));return;}const i={'name':pascalCase(b[q(0x1d4)]),'myPath':a114e[q(0x1d1)](this[q(0x1d8)][q(0x1ca)]({}),e),'cssCaseName':paramCase(b[q(0x1d4)]),'className':pascalCase(b[q(0x1d4)]),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b['resourceName']),'graphql':f[q(0x1c8)][q(0x1eb)],'features':f[q(0x1da)],'client':f[q(0x1c8)]['client'],'api':f[q(0x1c8)][q(0x1ea)],'ssr':f[q(0x1c8)]['ssr'],'test':f[q(0x1c8)]['test'],'theme':f[q(0x1c8)][q(0x1b9)],'isComponent':![],'isLayout':!![],'withTranslations':f[q(0x1da)][q(0x1bb)]};f[q(0x1da)]?.[q(0x1be)]||b['withHook']?await this['fsi'][q(0x1d0)]({'srcPath':'hook/hook.js','destPath':e+'.js','framework':q(0x1cd),'context':i,'config':f}):await this[q(0x1d8)][q(0x1d0)]({'srcPath':q(0x1d9),'destPath':e+q(0x1ba),'framework':q(0x1cd),'context':i,'config':f});f[q(0x1c8)][q(0x1c1)]!=='none'&&await this[q(0x1d8)][q(0x1d0)]({'srcPath':q(0x1d7),'destPath':e+'.app-tests.js','framework':q(0x1cd),'context':i,'config':f});f['template'][q(0x1e6)]&&(await this['fsi'][q(0x1d0)]({'srcPath':q(0x1cc),'destPath':e+q(0x1e8),'context':Object['assign']({},i,{'className':paramCase(b[q(0x1d4)])}),'config':f}),await this[q(0x1d8)][q(0x1cb)]({'filePath':e+'.'+f[q(0x1c8)]['js'],'content':q(0x1c0)+i[q(0x1c5)]+'.'+f[q(0x1c8)][q(0x1e6)]+'\x27;'}));const j=b['dir']?'/'+b['dir']+'/':'/',k=''+c+j+i[q(0x1c5)]+'/'+i[q(0x1c5)];await this['fsi'][q(0x1c9)](i['className'],f,k);});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a115c(){const i=['generate','7LqcWMa','maka\x20g:dbc\x20geoserver\x20--type=pgsql','maka\x20g:template\x20todos/todo_item','(((.+)+)+)+$','3089736WaOuoN','19986ljTsiF','search','286ZcegMd','Scaffold\x20various\x20parts\x20of\x20your\x20application','2363920piNPNn','5927643piNxjE','4438ZhIjQF','592610DneDei','maka\x20generate:scaffold\x20todos','toString','maka\x20g:api\x20trucks','1480EMZPpI','423KRrTqa','15644RNbTEX'];a115c=function(){return i;};return a115c();}const a115h=a115d;(function(a,b){const f=a115d,c=a();while(!![]){try{const d=-parseInt(f(0x133))/0x1*(parseInt(f(0x138))/0x2)+parseInt(f(0x130))/0x3*(-parseInt(f(0x131))/0x4)+parseInt(f(0x13c))/0x5+-parseInt(f(0x137))/0x6+parseInt(f(0x13e))/0x7*(parseInt(f(0x12f))/0x8)+-parseInt(f(0x13d))/0x9+-parseInt(f(0x13f))/0xa*(-parseInt(f(0x13a))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0x52003));const a115b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a115a=a115b(this,function(){const g=a115d;return a115a[g(0x141)]()['search'](g(0x136))['toString']()['constructor'](a115a)[g(0x139)]('(((.+)+)+)+$');});a115a();function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-0x12e;let f=c[d];return f;},a115d(a,b);}import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a115h(0x132),'aliases':['g'],'usage':'maka\x20{generate,\x20g}:<generator>\x20<name>','validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a115h(0x13b),'examples':[a115h(0x140),'maka\x20g:scaffold\x20todos',a115h(0x135),'maka\x20g:package\x20package:name','maka\x20g:route\x20todos/edit',a115h(0x12e),a115h(0x134)]},function(){});export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a116l=a116d;(function(a,b){const j=a116d,c=a();while(!![]){try{const d
|
|
1
|
+
const a116l=a116d;(function(a,b){const j=a116d,c=a();while(!![]){try{const d=-parseInt(j(0x138))/0x1*(-parseInt(j(0x125))/0x2)+-parseInt(j(0x135))/0x3*(-parseInt(j(0x137))/0x4)+parseInt(j(0x112))/0x5*(-parseInt(j(0x124))/0x6)+parseInt(j(0x131))/0x7+-parseInt(j(0x132))/0x8*(parseInt(j(0x123))/0x9)+-parseInt(j(0x116))/0xa*(-parseInt(j(0x11d))/0xb)+-parseInt(j(0x119))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x9f6b1));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const k=a116d;return a116a['toString']()['search'](k(0x115))[k(0x12e)]()['constructor'](a116a)[k(0x130)]('(((.+)+)+)+$');});function a116c(){const o=['startup','1149357LipdXL','error','12JpYAeI','587tRsRlQ','mdg:validated-method','2895BLHrOG','import\x20\x27./methods','method','(((.+)+)+)+$','9886910qYjvHX','resourceName','withValue','19995156MzrNOw','injectAtEndOfFile','method/method.js','pathFromApp','11iRATNS','imports','-rpc-method.','maka:check','template','index.','9rXZkni','7566oSUQvo','2846ASvBJy','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','tsx','dir','fsi','appPathPrefix','engines','create','-rpc-method\x27;','toString','maka\x20g:method\x20todos','search','5661628sLiKIJ','5862352zYyFpE','methods'];a116c=function(){return o;};return a116c();}function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x112;let f=c[d];return f;},a116d(a,b);}a116a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a116l(0x12c)]({'name':a116l(0x114),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{method,\x20m}\x20name','checkWhere':!![],'shortDesc':a116l(0x126),'validOpts':[a116l(0x128)],'examples':[a116l(0x12f)]},async function(a,b){const m=a116l;try{const c=this[m(0x129)]['getMakaProjectConfig']();await this[m(0x129)][m(0x118)](c,async()=>{const n=m,d=paramCase(b[n(0x117)]),f={'name':b[n(0x117)],'fileName':d,'className':pascalCase(b['resourceName']),'camelCase':camelCase(b['resourceName']),'noRename':!![]};let g='js';c[n(0x12b)]['js']===n(0x127)&&(g='ts');await this[n(0x129)]['checkMeteorPackage']([n(0x120),'ddp-rate-limiter',n(0x139)],{'shouldInstall':!![]}),await this[n(0x129)][n(0x121)]({'srcPath':n(0x11b),'destPath':this[n(0x129)][n(0x11c)]({'pathParts':[n(0x11e),'startup',b[n(0x12a)],n(0x133),b['dir'],d+n(0x11f)+g]}),'context':f,'config':c});const h=b[n(0x128)]?'/'+b['dir']+'/':'/',i=this[n(0x129)]['pathFromApp']({'pathParts':[n(0x11e),n(0x134),b[n(0x12a)],n(0x122)+c[n(0x12b)]['js']]});await this[n(0x129)][n(0x11a)]({'filePath':i,'content':n(0x113)+h+d+n(0x12d)});});}catch(d){Log[m(0x136)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a117o=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d=-parseInt(l(0x1f5))/0x1+-parseInt(l(0x218))/0x2*(-parseInt(l(0x21b))/0x3)+parseInt(l(0x1f6))/0x4*(parseInt(l(0x20c))/0x5)+-parseInt(l(0x207))/0x6*(parseInt(l(0x205))/0x7)+parseInt(l(0x1f8))/0x8*(-parseInt(l(0x1f7))/0x9)+parseInt(l(0x217))/0xa+parseInt(l(0x1fc))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x4b72c));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a117d;if(c){const e=c[m(0x1ff)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const n=a117d;return a117a[n(0x21a)]()['search'](n(0x214))[n(0x21a)]()['constructor'](a117a)[n(0x1ef)](n(0x214));});function a117c(){const r=['client','fsi','tests/server','packages','store','.js','graphql','(((.+)+)+)+$','hasOwnProperty','pathFromProject','3064220WGUUpr','38grIgsV','getMakaProjectConfig','toString','85845VxIOfD','relative','search','layout','lib','maka\x20g:package\x20todos:package','template/template.js','noRename','564435JRGYga','2251928ALRKzo','9aZRYlJ','1964632yafSyU','/package.js','component','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','71148ozgpEl','pathFromAppWithNoReWrite','engines','apply','dir','package/package.js','package.js','resourceName','features','21cuwDxX','template','601014mCmREd','package/','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','ssr','/client/','5vWnHVn'];a117c=function(){return r;};return a117c();}a117a();import a117e from'path';function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x1ee;let f=c[d];return f;},a117d(a,b);}import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator['create']({'name':'package','aliases':['p'],'usage':a117o(0x209),'shortDesc':a117o(0x1fb),'validOpts':[a117o(0x200)],'examples':[a117o(0x1f2)]},async function(a,b){const p=a117o,c=paramCase(b[p(0x203)]),d=this[p(0x20e)]['pathFromApp']({'pathParts':[p(0x210),b[p(0x200)],c]}),e=this[p(0x20e)][p(0x1fd)]({'pathParts':[p(0x210),b[p(0x200)],c,p(0x202)]}),f=this['fsi'][p(0x219)]();await this[p(0x20e)]['withValue'](f,async()=>{const q=p,g={'name':paramCase(b[q(0x203)]),'myPath':a117e[q(0x1ee)](this[q(0x20e)][q(0x216)]({}),d),'cssCaseName':paramCase(b[q(0x203)]),'className':pascalCase(b[q(0x203)]),'camelCaseName':camelCase(b[q(0x203)]),'fileName':c,'client':f['engines'][q(0x20d)],'graphql':f[q(0x1fe)][q(0x213)],'ssr':f[q(0x1fe)][q(0x20a)],'isComponent':b[q(0x215)](q(0x1fa)),'isLayout':b[q(0x215)](q(0x1f0)),'isStore':b[q(0x215)](q(0x211)),'features':f[q(0x204)],'noRename':!![],'theme':f['engines']['theme']};await this[q(0x20e)][q(0x206)]({'srcPath':q(0x201),'destPath':e,'context':g,'config':f}),g[q(0x1f4)]=![];const h=d+q(0x20b)+c+q(0x212);await this[q(0x20e)][q(0x206)]({'srcPath':q(0x1f3),'destPath':h,'context':g,'config':f});const i=[q(0x1f1),'server','tests/client',q(0x20f)];for(const j of i){const k=d+'/'+j+'/'+c+'.js';await this[q(0x20e)][q(0x206)]({'srcPath':q(0x208)+j+q(0x1f9),'destPath':k,'context':g,'config':f});}});});
|