@maka/maka-cli 4.13.6 → 4.13.7
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/cecr.sub.cmd.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/decr.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/lecr.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/patreon.js +1 -1
- package/bundle/obf/src/commands/profile.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/register.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/undo.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/aws/_index.js +1 -1
- package/bundle/obf/src/generators/aws/aws.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.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/auth/_index.js +1 -1
- package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
- package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/auth/provider.auth.gen.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/auth.mui.gen.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/tool.js +1 -1
- package/bundle/obf/src/tools/actions/actions.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
- package/bundle/obf/src/tools/docker/docker.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
- package/bundle/obf/src/tools/https/https.class.js +1 -1
- package/bundle/obf/src/tools/https/https.interface.js +1 -1
- package/bundle/obf/src/tools/log/log.class.js +1 -1
- package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
- package/bundle/obf/src/tools/options/options.class.js +1 -1
- package/bundle/obf/src/tools/progress/progress.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a117o=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d
|
|
1
|
+
const a117o=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d=parseInt(l(0x140))/0x1+-parseInt(l(0x13b))/0x2+-parseInt(l(0x176))/0x3+parseInt(l(0x13d))/0x4*(-parseInt(l(0x161))/0x5)+-parseInt(l(0x170))/0x6+parseInt(l(0x159))/0x7+-parseInt(l(0x13e))/0x8*(-parseInt(l(0x139))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x4e3fe));function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x139;let f=c[d];return f;},a117d(a,b);}const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a117d;if(c){const e=c[m(0x16c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const n=a117d;return a117a[n(0x16b)]()[n(0x146)](n(0x14e))[n(0x16b)]()[n(0x172)](a117a)[n(0x146)](n(0x14e));});a117a();import a117e 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 a117c(){const r=['error','671388ecMJvJ','988173lbVDeM','css','27992fLNgKL','resourceName','872OCfpCp','72ijyVoV','warn','316890AvJicp','create','checkNpmPackage','.js','\x20hook...','layouts','search','pathFromProject','react','fsi','template','true','test/test.js','force','(((.+)+)+)+$','fileName','engines','graphql','hooks','.app-tests.js','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','string','import\x20\x27./','hook','components','1393840GYgjaP','withTranslations','@apollo/client\x20isomorphic-fetch','installNpmPackage','setTemplate','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','theme','baseDir','13655LzoHaV','cssCaseName','getMakaProjectConfig','pages','dir','findAppDirectory','maka\x20g:hook\x20cool-hook','/imports/ui/','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','injectAtBeginningOfFile','toString','apply','Creating\x20','features','none','2103138uKYpGb','notice','constructor','hook/hook.js','injectTemplateModule'];a117c=function(){return r;};return a117c();}Generator[a117o(0x141)]({'name':a117o(0x157),'aliases':['h'],'checkWhere':![],'usage':a117o(0x169),'shortDesc':a117o(0x15e),'validOpts':[{'name':a117o(0x160),'values':[a117o(0x152),a117o(0x158),a117o(0x164),a117o(0x145)]},{'name':a117o(0x14d),'boolFlag':!![]}],'examples':[a117o(0x167)],'description':'\x0a\x20\x20Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html\x0a\x0a\x20\x20If\x20you\x27d\x20like\x20a\x20hook\x20created\x20as\x20part\x20of\x20an\x20existing\x20page,\x20component,\x20or\x20layout,\x0a\x20\x20use\x20the\x20maka\x20g:hook\x20command\x20with\x20the\x20--baseDir\x20option.\x20For\x20example,\x0a\x0a\x20\x20\x20\x20maka\x20g:hook\x20--baseDir=pages\x20myPage/useCoolHook\x0a\x0a\x20\x20will\x20create\x20a\x20hook\x20in\x20imports/ui/pages/my-page/use-cool-hook.jsx\x0a\x0a\x20\x20'},async function(a,b){const p=a117o;Log[p(0x171)](p(0x16d)+b[p(0x13c)]+p(0x144));try{const c=this[p(0x149)]['checkNpmPackage'](p(0x148));if(!c){Log[p(0x175)](p(0x154));throw new UsageError();}const d=this[p(0x149)][p(0x166)](),f=b[p(0x160)]?p(0x168)+b['baseDir']:'/imports/ui/components',g=this['fsi']['pathFromApp']({'pathParts':[f,b[p(0x165)],paramCase(b[p(0x13c)]),paramCase(b['resourceName'])]}),h=await this['fsi'][p(0x163)]();await this['fsi']['withValue'](h,async()=>{const q=p;typeof h[q(0x14a)][q(0x13a)]===q(0x155)&&(h[q(0x14a)][q(0x13a)]=h['template'][q(0x13a)]===q(0x14b)?!![]:![],this[q(0x149)][q(0x15d)](q(0x13a),h[q(0x14a)]['css']));h[q(0x150)]['graphql']==='apollo'&&!this[q(0x149)][q(0x142)]('@apollo/client')&&(Log[q(0x13f)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),await this['fsi'][q(0x15c)](q(0x15b),{'cwd':d}));const i={'cssCaseName':paramCase(b['resourceName']),'camelCaseName':camelCase(b[q(0x13c)]),'className':pascalCase(b[q(0x13c)]),'name':pascalCase(b[q(0x13c)]),'graphql':h[q(0x150)][q(0x151)],'theme':h[q(0x150)][q(0x15f)],'features':h[q(0x16e)],'myPath':a117e['relative'](this[q(0x149)][q(0x147)]({}),g),'fileName':paramCase(b[q(0x13c)]),'isComponent':![],'isLayout':![],'withTranslations':h[q(0x16e)][q(0x15a)]};await this[q(0x149)]['template']({'srcPath':q(0x173),'destPath':g+q(0x143),'context':i,'config':h,'framework':q(0x148),'force':b[q(0x14d)]});h[q(0x14a)][q(0x13a)]&&(await this[q(0x149)][q(0x14a)]({'srcPath':'template/template.css','destPath':g+'.css','context':Object['assign']({},i,{'className':i[q(0x162)]}),'config':h,'force':b[q(0x14d)]}),await this[q(0x149)][q(0x16a)]({'filePath':g+'.'+h[q(0x150)]['js'],'content':q(0x156)+i['fileName']+'.'+h[q(0x150)]['css']+'\x27;'}));h[q(0x150)]['test']!==q(0x16f)&&await this['fsi'][q(0x14a)]({'srcPath':q(0x14c),'destPath':g+q(0x153),'framework':q(0x148),'context':i,'config':h,'force':b['force']});const j=b[q(0x165)]?'/'+b['dir']+'/':'/',k=''+f+j+i[q(0x14f)]+'/'+i[q(0x14f)];await this['fsi'][q(0x174)](i['className'],h,k);});}catch(i){Log['error'](i);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a118d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a118d,c=a();while(!![]){try{var d=parseInt(f(0x161))/0x1+-parseInt(f(0x162))/0x2+-parseInt(f(0x16a))/0x3+-parseInt(f(0x163))/0x4+-parseInt(f(0x168))/0x5*(parseInt(f(0x16b))/0x6)+parseInt(f(0x167))/0x7*(parseInt(f(0x169))/0x8)+-parseInt(f(0x164))/0x9*(-parseInt(f(0x16c))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0xad430));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x16d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0x160)]()[h(0x166)](h(0x165))[h(0x160)]()[h(0x15f)](a118a)['search'](h(0x165));});a118a();import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';function a118c(){var i=['2107100DlqdgC','1576876mVESOC','9938349NKLkCM','(((.+)+)+)+$','search','45801AZdQbE','7230fZOTVl','1528wobYkL','3341292NqsdbB','2466iwEQdF','20UtdPCl','apply','constructor','toString','407284GoERNl'];a118c=function(){return i;};return a118c();}function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x15f;var f=c[d];return f;},a118d(a,b);}import'./auth/_index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a119d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
(function(a,b){var f=a119d,c=a();while(!![]){try{var d=-parseInt(f(0xb2))/0x1+-parseInt(f(0xae))/0x2*(parseInt(f(0xbd))/0x3)+-parseInt(f(0xbc))/0x4*(-parseInt(f(0xb0))/0x5)+parseInt(f(0xb1))/0x6+parseInt(f(0xaf))/0x7*(parseInt(f(0xb3))/0x8)+parseInt(f(0xb5))/0x9+parseInt(f(0xb9))/0xa*(-parseInt(f(0xb8))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x2c435));function a119d(a,b){var c=a119c();return a119d=function(d,e){d=d-0xae;var f=c[d];return f;},a119d(a,b);}var a119b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a119d;if(c){var e=c[g(0xba)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){var h=a119d;return a119a['toString']()['search']('(((.+)+)+)+$')[h(0xbb)]()[h(0xb7)](a119a)[h(0xb6)](h(0xb4));});a119a();import'./auth.generator.js';import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';function a119c(){var i=['apply','toString','3164jKJoLU','3EVrUlE','159784wXzsZU','644EKeVPE','1245yzurzp','1197762mHiqZU','287721dmKRFq','27320ObEflo','(((.+)+)+)+$','1159191UDuweK','search','constructor','11cstOKR','2906510UeIIVJ'];a119c=function(){return i;};return a119c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a120i=a120d;(function(a,b){const f=a120d,c=a();while(!![]){try{const d=parseInt(f(0xcf))/0x1+-parseInt(f(0xe0))/0x2*(parseInt(f(0xdd))/0x3)+parseInt(f(0xd1))/0x4+parseInt(f(0xd5))/0x5+parseInt(f(0xd3))/0x6*(parseInt(f(0xd4))/0x7)+parseInt(f(0xd0))/0x8+-parseInt(f(0xdf))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0xc7181));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a120d;if(c){const e=c[g(0xda)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const h=a120d;return a120a[h(0xd2)]()[h(0xcd)](h(0xd7))['toString']()[h(0xce)](a120a)[h(0xcd)]('(((.+)+)+)+$');});function a120c(){const k=['constructor','1554325VEatcO','8747872PQFBch','6358256pldmxL','toString','163524ySRAYp','217IwQucg','6678560dXowko','create','(((.+)+)+)+$','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','maka\x20g:kit:a','apply','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','NIE','445515bUeUqF','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','49085685ORMOqf','2CvBMSb','search'];a120c=function(){return k;};return a120c();}a120a();function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0xcd;let f=c[d];return f;},a120d(a,b);}import{Generator}from'../../../generator.js';import a120e from'../kit.js';const AuthGen=Generator[a120i(0xd6)]({'name':'auth','aliases':['a'],'usage':a120i(0xdb),'noNeedResource':!![],'shortDesc':a120i(0xd8),'validOpts':[''],'isPro':!![],'examples':[a120i(0xd9)],'description':a120i(0xde)},async function(){const j=a120i;throw j(0xdc);},async function(){},a120e);export default AuthGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a121r=a121d;(function(a,b){const o=a121d,c=a();while(!![]){try{const d=-parseInt(o(
|
|
1
|
+
const a121r=a121d;(function(a,b){const o=a121d,c=a();while(!![]){try{const d=-parseInt(o(0x216))/0x1*(-parseInt(o(0x1f1))/0x2)+-parseInt(o(0x1f6))/0x3+parseInt(o(0x215))/0x4+-parseInt(o(0x1d1))/0x5+-parseInt(o(0x1d3))/0x6*(-parseInt(o(0x1cf))/0x7)+-parseInt(o(0x1de))/0x8*(parseInt(o(0x1fd))/0x9)+parseInt(o(0x1fe))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x6223e));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a121d;if(c){const e=c[p(0x201)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const q=a121d;return a121a[q(0x1e4)]()[q(0x212)](q(0x1cd))[q(0x1e4)]()[q(0x208)](a121a)[q(0x212)]('(((.+)+)+)+$');});a121a();function a121c(){const u=['constructor','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','force','const\x20registerNewUser','const\x20sendForgotPasswordEmail','\x0a\x20\x20\x20\x20\x20\x20\x20\x20useTracker(()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.isClient)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.user()\x20&&\x20!currentUser)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20setCurrentUser(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fetchUserAuthorizations(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x0a\x20\x20\x20\x20\x20\x20','meteor/meteor','checkMeteorPackage','meteor/accounts-base','search','/imports/startup/lib','fsi','1863716KFIOWb','251151NZMLjm','(((.+)+)+)+$','const\x20authenticateUser','266uRPaTR','exit','3483050APkABz','\x0a\x20\x20\x20\x20\x20\x20WebAppInternals.setInlineScriptsAllowed(false);\x0a\x0a\x20\x20\x20\x20\x20\x20Accounts.urls.resetPassword\x20=\x20function\x20(token)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.absoluteUrl(\x27reset-password/\x27\x20+\x20token);\x0a\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20','2004vEZOag','const\x20resetPasswordWithToken','index','AuthService','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','template','Accounts','imports','create','accounts-password','injectImport','8VTTgjd','auth/roles','getMakaProjectConfig','/imports/startup/client/authentication-service','meteor','Meteor.startup','toString','useTracker','error','processAndRunGenerator','\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateUser(username,\x20password);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','alanning:roles','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','ssr','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20start\x20by\x20generating\x20your\x20auth\x20provider\x20and\x20context,\x20and\x20then\x20setup\x20Meteor\x20Accounts\x0a\x20\x20\x20\x20to\x20handle\x20authentication\x20and\x20authorization.\x0a\x20\x20','return\x20\x5c(','true','\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20If\x20logged\x20in,\x20return\x20documents\x20owned\x20by\x20this\x20user.\x20Otherwise\x20return\x20nothing.\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(this.userId)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.roleAssignment.find({\x20\x27user._id\x27:\x20this.userId\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20[];\x0a\x20\x20\x20\x20\x20\x20','server','6GnvKBz','authentication-provider','export\x20const\x20AuthProvider','pathFromApp','kit:auth:provider','818781jhunkv','startup','kit/auth/service/meteor-auth-service.js','\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateToken();\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','withValue','const\x20authenticateToken','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','2861379CidVtC','4573760EAdNtL','REACT','/imports/startup/lib/authentication-service','apply','injectIntoFile','Meteor','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','injectIntoCodeBlock','meteor/maka:react-tracker','engines'];a121c=function(){return u;};return a121c();}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a121e from'./auth.generator.js';import a121f from'../../../generators/maka.gen.js';function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x1cd;let f=c[d];return f;},a121d(a,b);}import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a121r(0x1db)]({'name':a121r(0x1e2),'aliases':['m'],'usage':a121r(0x204),'shortDesc':a121r(0x1fc),'validOpts':[a121r(0x20b)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a121r(0x1ff)]},'description':a121r(0x1ec)},async function(a,b){const s=a121r;try{const c=b[s(0x20b)]||![];await this[s(0x214)][s(0x210)]([s(0x1dc),s(0x1e9)],{'shouldInstall':!![]});const d=this['fsi']['findProjectDirectory'](),f=this['fsi'][s(0x1e0)](),g=f[s(0x207)][s(0x1eb)]===s(0x1ee);await a121f[s(0x1e7)](s(0x1f5),[],{'force':c,'cwd':d,'config':f});const h=await a121f[s(0x1e7)]('publish',[s(0x1df)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?s(0x213):'/imports/startup/client',j=this[s(0x214)][s(0x1f4)]({'pathParts':[i,'','','authentication-service']});await this[s(0x214)][s(0x1fa)](f,async()=>{const t=s;await this['fsi'][t(0x1d8)]({'srcPath':t(0x1f8),'destPath':j+'.js','framework':'react','context':{},'config':f,'force':c,'ignore':![]});});const k=this[s(0x214)][s(0x1f4)]({'pathParts':[i,'','',s(0x1f2)]}),l=f['engines']['js'];await this[s(0x214)][s(0x1dd)]({'filePath':k+'.'+l,'importName':s(0x1d6),'modulePath':g?s(0x200):s(0x1e1),'isNamedExport':![]}),await this[s(0x214)][s(0x205)]({'filePath':k+'.'+l,'content':s(0x1e8),'begin':s(0x1ce),'replace':!![]}),await this[s(0x214)][s(0x205)]({'filePath':k+'.'+l,'content':s(0x1f9),'begin':s(0x1fb),'replace':!![]}),await this[s(0x214)][s(0x205)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20const\x20authorizations\x20=\x20await\x20AuthService.getUserAuthorizations(user.id);\x0a\x20\x20\x20\x20\x20\x20return\x20authorizations;\x0a\x20\x20\x20\x20\x20\x20','begin':'const\x20getUserAuthorizations','replace':!![]}),await this[s(0x214)][s(0x205)]({'filePath':k+'.'+l,'content':s(0x209),'begin':'const\x20deauthenticateUser','replace':!![]}),await this[s(0x214)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x1ea),'begin':s(0x20d),'replace':!![]}),await this[s(0x214)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x20a),'begin':s(0x20c),'replace':!![]}),await this[s(0x214)][s(0x205)]({'filePath':k+'.'+l,'content':s(0x1d7),'begin':s(0x1d4),'replace':!![]});g&&(await this[s(0x214)][s(0x1dd)]({'filePath':k+'.'+l,'importName':s(0x1e5),'modulePath':s(0x206),'isNamedExport':!![]}),await this[s(0x214)][s(0x202)]({'filePath':k+'.'+l,'content':s(0x20e),'begin':s(0x1f3),'end':s(0x1ed)}));await this[s(0x214)][s(0x1dd)]({'filePath':h,'importName':s(0x203),'modulePath':s(0x20f),'isNamedExport':!![],'injectAtStart':!![]}),await this['fsi']['injectIntoCodeBlock']({'filePath':h,'content':s(0x1ef),'begin':'Meteor.publish','replace':!![]});const m=this[s(0x214)][s(0x1f4)]({'pathParts':[s(0x1da),s(0x1f7),s(0x1f0),s(0x1d5)]});await this['fsi'][s(0x1dd)]({'filePath':m+'.'+l,'importName':s(0x1d9),'modulePath':s(0x211),'isNamedExport':!![]}),await this[s(0x214)][s(0x205)]({'filePath':m+'.'+l,'content':s(0x1d2),'begin':s(0x1e3),'replace':!![]});}catch(n){Log[s(0x1e6)](n),process[s(0x1d0)](0x1);}},async function(){},a121e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a122c(){const A=['provider','3825AYdpHR','replaceAll','6637140zgirvi','bright','<Routes\x20history={history}/>','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','withValue','search','/imports/startup/client/authentication-provider','15jtrklg','\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useContext(AuthContext);\x0a\x20\x20\x20\x20\x20\x20if\x20(loading)\x20return\x20<PublicRoutes\x20history={history}/>;\x0a\x20\x20\x20\x20\x20\x20return\x20(!currentUser)\x20?\x20<PublicRoutes\x20history={history}/>\x20:\x20<PrivateRoutes\x20history={history}/>;\x0a\x20\x20\x20\x20\x20\x20','pathFromApp','authentication-provider','1154685KdilJQ','278071OOSwwY','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','kit/auth/provider/authentication-provider.js','appName','create','const\x20Routes','apply','</AuthProvider>','/imports/startup/client','/imports/startup/lib/authentication-provider','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x0a\x20\x20\x20\x20It\x20will\x20also\x20update\x20your\x20Routes\x20file\x20to\x20include\x20the\x20AuthProvider\x20and\x20Context.\x0a\x20\x20\x20\x20for\x20navigation\x20checking.\x0a\x20\x20','24792cJtZgT','react','4AknJyo','/imports/startup/client/index','function\x20Routes','injectAroundString','toString','<Routes\x20history={browserHistory}/>','(((.+)+)+)+$','fsi','error','force','.js','getMakaProjectConfig','injectImport','engines','AuthProvider','useContext','633696Xdezoe','33887760QQDvLg','1190468BlZXYX','ssr','split','/imports/startup/lib'];a122c=function(){return A;};return a122c();}const a122x=a122d;(function(a,b){const u=a122d,c=a();while(!![]){try{const d=-parseInt(u(0x90))/0x1*(-parseInt(u(0x9d))/0x2)+parseInt(u(0x8f))/0x3+parseInt(u(0xaf))/0x4*(parseInt(u(0x8b))/0x5)+parseInt(u(0xb6))/0x6+-parseInt(u(0xad))/0x7+parseInt(u(0x9b))/0x8*(parseInt(u(0xb4))/0x9)+-parseInt(u(0xae))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xbde79));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a122d;if(c){const e=c[v(0x96)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const w=a122d;return a122a[w(0xa1)]()[w(0xbb)](w(0xa3))[w(0xa1)]()['constructor'](a122a)[w(0xbb)](w(0xa3));});a122a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a122e from'./auth.generator.js';import{headerCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x8b;let f=c[d];return f;},a122d(a,b);}Generator[a122x(0x94)]({'name':a122x(0xb3),'aliases':['p'],'usage':a122x(0x91),'shortDesc':a122x(0xb9),'validOpts':['force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT']},'description':a122x(0x9a)},async function(a,b){const y=a122x;try{const c=b[y(0xa6)]||![];Log[y(0xb7)]('Creating\x20an\x20AuthProvider\x20and\x20AuthContext');const d=this['fsi'][y(0xa8)](),f=d['engines'][y(0xb0)]==='true',g={'name':headerCase(d[y(0x93)])[y(0xb5)]('-','\x20')},h=f?y(0xb2):y(0x98),i=this['fsi'][y(0x8d)]({'pathParts':[h,'','',y(0x8e)]});await this[y(0xa4)][y(0xba)](d,async()=>{const z=y;await this['fsi']['template']({'srcPath':z(0x92),'destPath':i+z(0xa7),'framework':'react','context':g,'config':d,'force':c,'ignore':![]});});const j=d[y(0xaa)]['js'],k=h+'/routes',l=k['split']('/'),m=this[y(0xa4)][y(0x8d)]({'pathParts':l});await this[y(0xa4)]['injectImport']({'filePath':m+'.'+j,'importName':'AuthContext','modulePath':f?y(0x99):y(0xbc),'isNamedExport':!![]}),await this[y(0xa4)][y(0xa9)]({'filePath':m+'.'+j,'importName':y(0xac),'modulePath':y(0x9c),'isNamedExport':!![],'injectAtStart':!![]}),await this[y(0xa4)]['injectIntoCodeBlock']({'filePath':m+'.'+j,'content':y(0x8c),'begin':[y(0x95),y(0x9f)],'replace':!![]});const n=y(0x9e),o=n[y(0xb1)]('/'),p=this[y(0xa4)][y(0x8d)]({'pathParts':o});await this[y(0xa4)][y(0xa9)]({'filePath':p+'.'+j,'importName':y(0xab),'modulePath':f?y(0x99):y(0xbc),'isNamedExport':!![]}),await this[y(0xa4)][y(0xa0)]({'filePath':p+'.'+j,'aboveContent':'<AuthProvider>','belowContent':y(0x97),'targetString':y(0xa2),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q='/imports/startup/server/index',r=q[y(0xb1)]('/'),s=this[y(0xa4)][y(0x8d)]({'pathParts':r});await this[y(0xa4)]['injectImport']({'filePath':s+'.'+j,'importName':y(0xab),'modulePath':f?y(0x99):y(0xbc),'isNamedExport':!![]}),await this[y(0xa4)]['injectAroundString']({'filePath':s+'.'+j,'aboveContent':'<AuthProvider>','belowContent':'</AuthProvider>','targetString':y(0xb8),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0xa5)](t),process['exit'](0x1);}},async function(){},a122e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a123d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a123d,c=a();while(!![]){try{var d=-parseInt(f(0x101))/0x1*(parseInt(f(0xf8))/0x2)+parseInt(f(0xfe))/0x3*(parseInt(f(0xfd))/0x4)+-parseInt(f(0xf6))/0x5*(-parseInt(f(0xf3))/0x6)+parseInt(f(0xf2))/0x7+parseInt(f(0x100))/0x8*(parseInt(f(0xfa))/0x9)+-parseInt(f(0xfc))/0xa+-parseInt(f(0xf4))/0xb*(-parseInt(f(0xfb))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xed50c));function a123c(){var i=['275AnWIVF','apply','1773795BFjYLx','toString','2vVnpGD','(((.+)+)+)+$','9pIoHvI','466404MHbjeH','18242820BiLgzN','75624PccMzY','42itjxVz','constructor','1449672Kjxeoa','64977pirggI','7622832FPdKiB','6OtslSt'];a123c=function(){return i;};return a123c();}var a123b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a123d;if(c){var e=c[g(0xf5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){var h=a123d;return a123a[h(0xf7)]()['search'](h(0xf9))['toString']()[h(0xff)](a123a)['search'](h(0xf9));});a123a();function a123d(a,b){var c=a123c();return a123d=function(d,e){d=d-0xf2;var f=c[d];return f;},a123d(a,b);}import'./esri.generator.js';import'./map.esri.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a124i=a124d;(function(a,b){const f=a124d,c=a();while(!![]){try{const d=parseInt(f(
|
|
1
|
+
const a124i=a124d;(function(a,b){const f=a124d,c=a();while(!![]){try{const d=parseInt(f(0x176))/0x1+-parseInt(f(0x184))/0x2+parseInt(f(0x16e))/0x3+parseInt(f(0x17a))/0x4+parseInt(f(0x175))/0x5*(-parseInt(f(0x181))/0x6)+-parseInt(f(0x183))/0x7*(-parseInt(f(0x173))/0x8)+-parseInt(f(0x171))/0x9*(parseInt(f(0x172))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0xf08f2));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a124d;if(c){const e=c[g(0x179)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const h=a124d;return a124a[h(0x17e)]()[h(0x174)](h(0x177))[h(0x17e)]()[h(0x17c)](a124a)['search']('(((.+)+)+)+$');});function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x16e;let f=c[d];return f;},a124d(a,b);}a124a();import{Generator}from'../../../generator.js';import a124e from'../kit.js';const EsriGen=Generator[a124i(0x17f)]({'name':a124i(0x17b),'aliases':['e'],'usage':a124i(0x180),'noNeedResource':!![],'shortDesc':'Starting\x20point\x20for\x20generating\x20Esri\x20Maps','validOpts':[''],'isPro':!![],'examples':[a124i(0x178)],'description':a124i(0x170)},async function(){const j=a124i;return{'success':!![],'message':j(0x17d),'details':{'filesCreated':[j(0x16f)],'filesUpdated':[j(0x182)]}};},async function(){},a124e);function a124c(){const k=['455XiABpI','826433cDaOPv','(((.+)+)+)+$','maka\x20g:kit:e','apply','1863968LimYfl','esri','constructor','Esri\x20Kit\x20generated\x20successfully','toString','create','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','11388HXdbJN','/foo','116851wMVhvS','1618560wnMLGW','3870432oGZhrD','/foo/bar','\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','22977rPQwxb','9210kHeJpJ','832yRDrsN','search'];a124c=function(){return k;};return a124c();}export default EsriGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a125s=a125d;(function(a,b){const p=a125d,c=a();while(!![]){try{const d
|
|
1
|
+
function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0xec;let f=c[d];return f;},a125d(a,b);}const a125s=a125d;(function(a,b){const p=a125d,c=a();while(!![]){try{const d=-parseInt(p(0xee))/0x1+parseInt(p(0xf5))/0x2*(parseInt(p(0x114))/0x3)+-parseInt(p(0x11e))/0x4*(parseInt(p(0x118))/0x5)+parseInt(p(0xf3))/0x6+parseInt(p(0x100))/0x7*(-parseInt(p(0x104))/0x8)+-parseInt(p(0xf0))/0x9*(-parseInt(p(0x11c))/0xa)+parseInt(p(0x106))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x92a60));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a125d;if(c){const e=c[q(0x11a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const r=a125d;return a125a[r(0x109)]()[r(0x102)](r(0x111))[r(0x109)]()[r(0x120)](a125a)['search'](r(0x111));});a125a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a125c(){const v=['split','3130080DDgcMO','withValue','2FBkCsI','true','checkNpmPackage','dir','map','esri-loader','fsi','/imports/startup/client/templates','findProjectDirectory','page','create','567wUiBav','</div>','search','/imports/startup/lib/templates','24696ddvNaV','Generate\x20an\x20Esri\x20map\x20component','17417015lAgmzG','processAndRunGenerator','Generating\x20a\x20map\x20component','toString','/imports/ui/','FALSE','engines','injectTemplateModule','baseDir','REACT','pathFromApp','(((.+)+)+)+$','.js','template','144543etDOBo','injectIntoFile','kit/esri/map/','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','23935NpasRK','exit','apply','@esri/react-arcgis','13430zermXu','\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','868KVmOGb','/imports/ui/hooks','constructor','getMakaProjectConfig','<div\x20id=\x22map\x22>','517555JrGyda','bright','1701bptKKx','error'];a125c=function(){return v;};return a125c();}import a125e from'./esri.generator.js';import a125f from'../../../generators/maka.gen.js';import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a125s(0xff)]({'name':a125s(0xf9),'aliases':['m'],'usage':a125s(0x117),'shortDesc':a125s(0x105),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a125s(0x10f)],'ssr':SsrEngines[a125s(0x10b)]},'description':a125s(0x11d)},async function(a,b){const t=a125s;try{Log[t(0xef)](t(0x108));const c='basic-map';await this['fsi'][t(0xf7)]([t(0x11b),t(0xfa)],{'shouldInstall':!![]});const d=this[t(0xfb)][t(0xfd)](),f=this[t(0xfb)][t(0xec)](),g=f[t(0x10c)]['ssr']===t(0xf6),h=await a125f[t(0x107)](t(0xfe),[t(0xf9)],{'cwd':d,'config':f}),i={'name':headerCase(f['appName'])['replaceAll']('-','\x20'),'componentName':pascalCase(c)},j=b[t(0x10e)]?t(0x10a)+b[t(0x10e)]:t(0x11f),k=this[t(0xfb)][t(0x110)]({'pathParts':[j,b['dir'],paramCase(c),paramCase(c)]});await this[t(0xfb)][t(0xf4)](f,async()=>{const u=t;await this['fsi'][u(0x113)]({'srcPath':u(0x116)+c+u(0x112),'destPath':k+u(0x112),'framework':'react','context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[t(0xf8)]+'/'+c+'/'+c;await this[t(0xfb)][t(0x10d)](c,f,l);const m=h[t(0xf2)]('/'),n=this['fsi'][t(0x110)]({'pathParts':m});await this[t(0xfb)]['injectImport']({'filePath':n,'importName':pascalCase(c),'modulePath':g?t(0x103):t(0xfc),'isNamedExport':!![]}),await this['fsi'][t(0x115)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+'\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','begin':[t(0xed),t(0xed)],'end':[t(0x101)],'replace':!![]});}catch(o){Log[t(0xf1)](o),process[t(0x119)](0x1);}},async function(){},a125e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a126c(){const i=['3988IZTadw','maka\x20g:kit','474mZlXcj','12858688gzgPWQ','329194aYvCNO','2600eVVhph','11uyZPBv','35962236eAhYNN','55qHxSIF','51309qIinMd','157588KEMzJr','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','maka\x20{generate,\x20g}:{kit}\x20<name>','maka\x20g:k','(((.+)+)+)+$','constructor','323628vMxKKD','create','63JXXEPA','toString','search'];a126c=function(){return i;};return a126c();}const a126h=a126d;(function(a,b){const f=a126d,c=a();while(!![]){try{const d=-parseInt(f(0x1dd))/0x1+-parseInt(f(0x1d9))/0x2*(-parseInt(f(0x1db))/0x3)+parseInt(f(0x1ce))/0x4*(parseInt(f(0x1e1))/0x5)+-parseInt(f(0x1d4))/0x6*(-parseInt(f(0x1d6))/0x7)+-parseInt(f(0x1dc))/0x8+parseInt(f(0x1cd))/0x9*(-parseInt(f(0x1de))/0xa)+parseInt(f(0x1df))/0xb*(parseInt(f(0x1e0))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0xc6394));const a126b=(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;};}()),a126a=a126b(this,function(){const g=a126d;return a126a['toString']()[g(0x1d8)](g(0x1d2))[g(0x1d7)]()[g(0x1d3)](a126a)['search'](g(0x1d2));});function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x1cd;let f=c[d];return f;},a126d(a,b);}a126a();import{Generator}from'../../generator.js';const KitGen=Generator[a126h(0x1d5)]({'name':'kit','aliases':['k'],'usage':a126h(0x1d0),'shortDesc':a126h(0x1cf),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a126h(0x1da),a126h(0x1d1)]},async function(){});export default KitGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a127d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a127d,c=a();while(!![]){try{var d=-parseInt(f(0x12b))/0x1*(-parseInt(f(0x127))/0x2)+-parseInt(f(0x12c))/0x3*(parseInt(f(0x128))/0x4)+-parseInt(f(0x129))/0x5+parseInt(f(0x135))/0x6*(parseInt(f(0x12d))/0x7)+parseInt(f(0x12e))/0x8+-parseInt(f(0x134))/0x9+-parseInt(f(0x133))/0xa*(parseInt(f(0x132))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0xb4a9c));function a127d(a,b){var c=a127c();return a127d=function(d,e){d=d-0x126;var f=c[d];return f;},a127d(a,b);}var a127b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a127d;if(c){var e=c[g(0x131)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){var h=a127d;return a127a[h(0x12f)]()['search'](h(0x12a))['toString']()[h(0x130)](a127a)[h(0x126)](h(0x12a));});a127a();import'./mui.generator.js';function a127c(){var i=['apply','121scLxkt','850430TSkJFR','5663277fwOLEp','7292874BBhuHI','search','4762DaIYaV','4IeuPtc','5291245CVOcPD','(((.+)+)+)+$','595htzAJp','182787JCSZAk','7SdGVOO','6333808hqVoCk','toString','constructor'];a127c=function(){return i;};return a127c();}import'./frame.mui.gen.js';import'./auth.mui.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a128J=a128d;(function(a,b){const G=a128d,c=a();while(!![]){try{const d=-parseInt(G(0x128))/0x1+parseInt(G(0x127))/0x2+parseInt(G(0x13c))/0x3*(parseInt(G(0x117))/0x4)+-parseInt(G(0x114))/0x5*(-parseInt(G(0x136))/0x6)+-parseInt(G(0x133))/0x7+parseInt(G(0x134))/0x8*(parseInt(G(0x151))/0x9)+parseInt(G(0x115))/0xa*(parseInt(G(0x139))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x61c2d));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a128d;if(c){const e=c[H(0x11a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const I=a128d;return a128a[I(0x13e)]()[I(0x12f)](I(0x146))[I(0x13e)]()['constructor'](a128a)[I(0x12f)](I(0x146));});a128a();function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x111;let f=c[d];return f;},a128d(a,b);}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a128e from'../../../generators/maka.gen.js';import a128f from'./mui.generator.js';import{paramCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a128J(0x12e)]({'name':a128J(0x12d),'aliases':['a'],'usage':a128J(0x14a),'shortDesc':a128J(0x145),'validOpts':[a128J(0x11f),a128J(0x11e)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines[a128J(0x155)]},'examples':[a128J(0x130),a128J(0x113)],'description':a128J(0x142)},async function(a,b){const K=a128J;try{const c=b[K(0x11e)]||![],d=this[K(0x132)][K(0x122)](),f=this[K(0x132)]['getMakaProjectConfig'](),{authType:g}=await Actions[K(0x137)]({'type':'list','name':K(0x148),'message':K(0x156),'choices':[{'name':K(0x11c),'value':K(0x147)},{'name':K(0x11d),'value':'custom'}]}),h=K(0x157),i='basic-logout-page',j='basic-register-page',k=K(0x12c),l=K(0x14d),m=b[K(0x119)]?K(0x141)+b[K(0x119)]:'/imports/ui/pages/auth',n=this[K(0x132)][K(0x150)]({'pathParts':[m,b[K(0x144)],paramCase(h),paramCase(h)]}),o=this[K(0x132)][K(0x150)]({'pathParts':[m,b['dir'],paramCase(i),paramCase(i)]}),p=this[K(0x132)][K(0x150)]({'pathParts':[m,b[K(0x144)],paramCase(j),paramCase(j)]}),q=this['fsi']['pathFromApp']({'pathParts':[m,b[K(0x144)],paramCase(k),paramCase(k)]}),r=this[K(0x132)]['pathFromApp']({'pathParts':[m,b[K(0x144)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f['appName'])[K(0x120)]('-','\x20')};await this['fsi'][K(0x140)](f,async()=>{const L=K;await this[L(0x132)]['template']({'srcPath':L(0x112)+h+'.js','destPath':n+L(0x11b),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this['fsi'][L(0x149)]({'srcPath':L(0x121)+i+L(0x11b),'destPath':o+'.js','framework':L(0x13b),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x132)]['template']({'srcPath':L(0x129)+j+L(0x11b),'destPath':p+L(0x11b),'framework':L(0x13b),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x132)]['template']({'srcPath':'kit/mui/auth/password-reset/'+k+L(0x11b),'destPath':q+L(0x11b),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x132)][L(0x149)]({'srcPath':'kit/mui/auth/forgot-password/'+l+L(0x11b),'destPath':r+L(0x11b),'framework':L(0x13b),'context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[K(0x144)]+'/'+h+'/'+h;await this[K(0x132)][K(0x14b)](h,f,t);const u=''+m+b['dir']+'/'+i+'/'+i;await this[K(0x132)][K(0x14b)](i,f,u);const v=''+m+b[K(0x144)]+'/'+j+'/'+j;await this[K(0x132)][K(0x14b)](j,f,v);const w=''+m+b['dir']+'/'+k+'/'+k;await this[K(0x132)][K(0x14b)](k,f,w);const x=''+m+b['dir']+'/'+l+'/'+l;await this[K(0x132)][K(0x14b)](l,f,x),await a128e[K(0x14c)]('route',[K(0x157)],{'url':'login','cwd':d,'config':f}),await a128e[K(0x14c)](K(0x13f),[K(0x126)],{'url':K(0x116),'private':!![],'cwd':d,'config':f}),await a128e[K(0x14c)](K(0x13f),[K(0x143)],{'url':K(0x154),'cwd':d,'config':f}),await a128e[K(0x14c)](K(0x13f),[K(0x12c)],{'url':K(0x153),'cwd':d,'config':f}),await a128e[K(0x14c)](K(0x13f),['basic-forgot-password-page'],{'url':K(0x13a),'cwd':d,'config':f});g===K(0x147)&&await a128e[K(0x14c)](K(0x124),[],{'force':c,'cwd':d,'config':f});g===K(0x13d)&&await a128e[K(0x14c)](K(0x152),[],{'force':c,'cwd':d,'config':f});const y=f[K(0x138)][K(0x12a)]===K(0x125),z=f[K(0x138)]['js'],A=this[K(0x132)][K(0x150)]({'pathParts':t[K(0x123)]('/')});await this['fsi'][K(0x131)]({'filePath':A+'.'+z,'importName':K(0x135),'modulePath':y?'/imports/startup/lib/authentication-provider':K(0x12b),'isNamedExport':!![]});const B=this[K(0x132)][K(0x150)]({'pathParts':u['split']('/')});await this[K(0x132)][K(0x131)]({'filePath':B+'.'+z,'importName':K(0x135),'modulePath':y?K(0x14e):K(0x12b),'isNamedExport':!![]});const C=this['fsi'][K(0x150)]({'pathParts':v[K(0x123)]('/')});await this[K(0x132)][K(0x131)]({'filePath':C+'.'+z,'importName':K(0x135),'modulePath':y?K(0x14e):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const D=this[K(0x132)][K(0x150)]({'pathParts':w[K(0x123)]('/')});await this[K(0x132)][K(0x131)]({'filePath':D+'.'+z,'importName':'AuthContext','modulePath':y?K(0x14e):K(0x12b),'isNamedExport':!![]});const E=this[K(0x132)][K(0x150)]({'pathParts':x[K(0x123)]('/')});await this[K(0x132)]['injectImport']({'filePath':E+'.'+z,'importName':K(0x135),'modulePath':y?K(0x14e):K(0x12b),'isNamedExport':!![]});}catch(F){Log[K(0x14f)](F);}},async function(){const M=a128J;console[M(0x111)](M(0x118));},a128f);function a128c(){const N=['81260JIFEYV','Cleaning\x20up...','baseDir','apply','.js','Meteor\x20Accounts','Custom\x20(roll\x20your\x20own)','force','layouts','replaceAll','kit/mui/auth/logout/','findProjectDirectory','split','kit:auth:meteor','true','basic-logout-page','30422COawqB','504708wyWplS','kit/mui/auth/register/','ssr','/imports/startup/client/authentication-provider','basic-password-reset-page','auth','create','search','maka\x20generate:kit:mui:frame','injectImport','fsi','3925621KAXVBo','1592AhDkyG','AuthContext','84AgCZjC','options','engines','6320281nWtYNH','forgot-password','react','3mMswUe','custom','toString','route','withValue','/imports/ui/','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','basic-register-page','dir','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','(((.+)+)+)+$','meteor','authType','template','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','injectTemplateModule','processAndRunGenerator','basic-forgot-password-page','/imports/startup/lib/authentication-provider','error','pathFromApp','14643fuiHsJ','kit:auth:provider','reset-password/:token','register','REACT','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','basic-login-page','log','kit/mui/auth/login/','maka\x20g:k:m:f','190025CNoyzZ','10DyYtgj','logout'];a128c=function(){return N;};return a128c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a129E=a129d;(function(a,b){const B=a129d,c=a();while(!![]){try{const d=parseInt(B(
|
|
1
|
+
const a129E=a129d;(function(a,b){const B=a129d,c=a();while(!![]){try{const d=parseInt(B(0x194))/0x1+parseInt(B(0x1cc))/0x2+-parseInt(B(0x197))/0x3*(-parseInt(B(0x1a2))/0x4)+parseInt(B(0x1c0))/0x5+parseInt(B(0x1c1))/0x6*(-parseInt(B(0x1b2))/0x7)+parseInt(B(0x1a1))/0x8*(parseInt(B(0x1a6))/0x9)+parseInt(B(0x1a8))/0xa*(-parseInt(B(0x18e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x6ffb0));function a129c(){const I=['1808292GXANzB','getDirectories','/imports/startup/client/templates','appName','639TghYqe','length','2336530mEwdge','app-tests','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','injectIntoFile','@mui/material/Container','<div\x20id=\x22','findAppDirectory','{props.children}','No\x20layouts\x20selected','/imports/startup/lib/templates','21dDgmWb','options','session','{this.props.children}','test','checkMeteorPackage','/imports/ui/','imports','{\x20this.props.children\x20}','pathFromApp','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','error','.js','@mui/material/Box','3398315QlFdty','171708EOYoiY','maka\x20generate:kit:mui:frame','constructor','layouts','search','kit/mui/frame/footers/','replaceAll','withValue','MATERIAL','engines','REACT','250834OOQyKf','<Box\x20style={{\x20display:\x20\x27flex\x27,\x20flexDirection:\x20\x27column\x27,\x20minHeight:\x20\x27calc(100vh\x20-\x20157px)\x27\x20}}>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<Container\x20component=\x22main\x22>','toString','getMakaProjectConfig','dir','apply','baseDir','fsi','tests','</div>','basic-drawer','basic-app-bar','injectTemplateModule','basic-sticky-footer','tsx','template','getFiles','jsx','maka\x20g:k:m:f','55qegMLg','injectImport','-hook\x22>','join','(((.+)+)+)+$','injectAroundString','412115PUDWKM','Cleaning\x20up...','create','3hdOChP','true','react','maka:react-tracker','{\x20props.children\x20}','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','/imports/ui/components','\x20/>\x0a','force','checkbox','4904riWdkb'];a129c=function(){return I;};return a129c();}const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a129d;if(c){const e=c[C(0x1d1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const D=a129d;return a129a[D(0x1ce)]()[D(0x1c5)]('(((.+)+)+)+$')[D(0x1ce)]()[D(0x1c3)](a129a)[D(0x1c5)](D(0x192));});a129a();import{Generator}from'../../../generator.js';function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x18a;let f=c[d];return f;},a129d(a,b);}import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a129e from'path';import a129f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a129E(0x196)]({'name':'frame','aliases':['f'],'usage':a129E(0x1bc),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','validOpts':['layouts',a129E(0x1d2),a129E(0x1d0),'force'],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a129E(0x1c9)],'client':ClientEngines[a129E(0x1cb)]},'examples':[a129E(0x1c2),a129E(0x18d)],'description':a129E(0x19c)},async function(a,b){const F=a129E;try{const c=b[F(0x19f)]||![],d=F(0x1d7),f=F(0x1d6),g=F(0x1d9),h=this['fsi'][F(0x1cf)](),i=h[F(0x1ca)]['ssr']===F(0x198);await this['fsi'][F(0x1b7)]([F(0x1b4),F(0x19a)],{'shouldInstall':!![]});const j=this[F(0x1d3)][F(0x1ae)](),k=a129e[F(0x191)](j,F(0x1b9),'ui',F(0x1c4)),l=this[F(0x1d3)][F(0x1a3)](k),m=await Actions[F(0x1b3)]({'type':F(0x1a0),'name':'layouts','message':'Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','choices':l});if(m[F(0x1c4)][F(0x1a7)]===0x0){Log[F(0x1bd)](F(0x1b0));return;}const n=b[F(0x1d2)]?F(0x1b8)+b[F(0x1d2)]:F(0x19d),o=this[F(0x1d3)]['pathFromApp']({'pathParts':[n,b[F(0x1d0)],paramCase(d),paramCase(d)]}),p=this[F(0x1d3)][F(0x1bb)]({'pathParts':[n,b[F(0x1d0)],paramCase(f),paramCase(f)]}),q=this[F(0x1d3)][F(0x1bb)]({'pathParts':[n,b[F(0x1d0)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[F(0x1a5)])[F(0x1c7)]('-','\x20')};await this[F(0x1d3)][F(0x1c8)](h,async()=>{const G=F;await this['fsi'][G(0x18a)]({'srcPath':'kit/mui/frame/app-bars/'+d+G(0x1be),'destPath':o+'.js','framework':G(0x199),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x1d3)][G(0x18a)]({'srcPath':'kit/mui/frame/drawers/'+f+G(0x1be),'destPath':p+'.js','framework':G(0x199),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x1d3)][G(0x18a)]({'srcPath':G(0x1c6)+g+G(0x1be),'destPath':q+'.js','framework':G(0x199),'context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b[F(0x1d0)]+'/'+d+'/'+d;await this['fsi'][F(0x1d8)](d,h,s);const t=''+n+b[F(0x1d0)]+'/'+f+'/'+f;await this[F(0x1d3)][F(0x1d8)](f,h,t);const u=''+n+b[F(0x1d0)]+'/'+g+'/'+g;await this['fsi'][F(0x1d8)](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[F(0x1d3)][F(0x18b)](a129e[F(0x191)](k,w),{'extensions':[F(0x18c),F(0x1da)],'omit':[F(0x1a9),F(0x1d4),F(0x1b6)]});for(const y of x){const z=a129e[F(0x191)](k,w,y);await this[F(0x1d3)][F(0x18f)]({'filePath':z,'importName':'Box','modulePath':F(0x1bf),'isNamedExport':![]}),await this[F(0x1d3)][F(0x18f)]({'filePath':z,'importName':'Container','modulePath':F(0x1ac),'isNamedExport':![]}),await this[F(0x1d3)][F(0x18f)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?F(0x1b1):'/imports/startup/client/templates','isNamedExport':!![]}),await this[F(0x1d3)][F(0x1ab)]({'filePath':z,'content':'<'+pascalCase(d)+F(0x19e),'begin':[F(0x1ad)+w+'\x22>',F(0x1ad)+w+F(0x190)],'end':[F(0x1b5),F(0x1ba),'{props.children}',F(0x19b)]}),await this[F(0x1d3)][F(0x18f)]({'filePath':z,'importName':pascalCase(f),'modulePath':i?'/imports/startup/lib/templates':F(0x1a4),'isNamedExport':!![]}),await this['fsi'][F(0x1ab)]({'filePath':z,'content':'<'+pascalCase(f)+F(0x19e),'begin':['<div\x20id=\x22'+w+'\x22>','<div\x20id=\x22'+w+F(0x190)],'end':[F(0x1b5),'{\x20this.props.children\x20}',F(0x1af),'{\x20props.children\x20}']}),await this[F(0x1d3)][F(0x1ab)]({'filePath':z,'content':'<'+pascalCase(g)+F(0x19e),'begin':[F(0x1b5),F(0x1ba),'{props.children}',F(0x19b)],'end':[F(0x1d5)]}),await this[F(0x1d3)][F(0x18f)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?'/imports/startup/lib/templates':F(0x1a4),'isNamedExport':!![]}),await this['fsi'][F(0x193)]({'filePath':z,'aboveContent':F(0x1cd),'belowContent':F(0x1aa),'targetString':[F(0x1b5),F(0x1ba),'{props.children}',F(0x19b)],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log[F(0x1bd)](A);}},async function(){const H=a129E;console['log'](H(0x195));},a129f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a130j=a130d;(function(a,b){const g=a130d,c=a();while(!![]){try{const d=parseInt(g(
|
|
1
|
+
const a130j=a130d;(function(a,b){const g=a130d,c=a();while(!![]){try{const d=parseInt(g(0xf3))/0x1*(-parseInt(g(0x102))/0x2)+parseInt(g(0xf0))/0x3+-parseInt(g(0xf9))/0x4*(-parseInt(g(0x105))/0x5)+parseInt(g(0xf8))/0x6*(parseInt(g(0xed))/0x7)+-parseInt(g(0x103))/0x8+-parseInt(g(0x107))/0x9+parseInt(g(0xe3))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x7013a));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a130d;if(c){const e=c[h(0xe9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const i=a130d;return a130a[i(0xff)]()[i(0xea)](i(0x104))['toString']()[i(0x106)](a130a)['search']('(((.+)+)+)+$');});a130a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a130e from'../../../generators/maka.gen.js';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0xe1;let f=c[d];return f;},a130d(a,b);}function a130c(){const l=['242994aNHwiU','47276RzeeHv','frame','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','auth','fsi','toString','\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&####%&@@@@@@@@@@@@@@@@@@@&&%###&@@@@@@&%###%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#(((((##%&&@@@@@@@@@&&%%#(((((#&@@@@@&#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((#%&&@&&%##(((((((((#&@@@@&&#((##%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((((((#((((((((((((((#&@@@@@&%&&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#%%%%##((((((((#%%&%#((((#&@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@&&%###%%&@@@@&#((((#&@@@@@@@@&&&&@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@@@&#((((#&@@@@@&%#(((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@&%##((((#&@@@@&%#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&%#(((#&&@@@@@@@@@&&%##(((((((#%&@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@&%#%&@@@@@@@@&#((((((((##%&@@@@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((%&@@@@@@@@@&%#((((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((#%%&@@&&%##((((((((#%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@&%%#((((((((##((((((((##%&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&%##(((((((((##%&@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&%##(#%&&@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a\x0a\x20\x20This\x20generator\x20will\x20help\x20you\x20add\x20MUI\x20to\x20your\x20project.\x0a\x20\x20Choose\x20from\x20a\x20selection\x20of\x20premade\x20MUI\x20components.\x0a\x20\x20','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','2SuUWYO','1395488yQEhvZ','(((.+)+)+)+$','365CbOvGs','constructor','6731298hyVWhV','info','kit:mui:auth','3925640yMfmjB','checkbox','kit:mui:frame','includes','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','getMakaProjectConfig','apply','search','create','findProjectDirectory','63LYmDhR','Material-UI\x20Kit','options','1311189QHeYWs','length','maka\x20g:kit:m','675481ZaUBok','mui','No\x20MUI\x20kits\x20selected.\x20Exiting.','Header,\x20Footer,\x20and\x20Drawer','notice'];a130c=function(){return l;};return a130c();}import a130f from'../kit.js';const MuiGen=Generator[a130j(0xeb)]({'name':a130j(0xf4),'aliases':['m'],'usage':a130j(0xfb),'noNeedResource':!![],'shortDesc':a130j(0xee),'validOpts':[''],'isPro':!![],'examples':[a130j(0xf2)]},async function(){const k=a130j;Log[k(0xe1)](k(0x101)),Log[k(0xf7)](k(0x100));const {kitChoices:a}=await Actions[k(0xef)]({'type':k(0xe4),'name':'kitChoices','message':k(0xe7),'choices':[{'name':k(0xf6),'value':'frame'},{'name':k(0xfc),'value':k(0xfd)}]}),b=this[k(0xfe)][k(0xec)](),c=this[k(0xfe)][k(0xe8)]();a[k(0xe6)](k(0xfa))&&await a130e['processAndRunGenerator'](k(0xe5),[],{'force':!![],'cwd':b,'config':c});a[k(0xe6)](k(0xfd))&&await a130e['processAndRunGenerator'](k(0xe2),[],{'force':!![],'cwd':b,'config':c});if(a[k(0xf1)]===0x0){Log[k(0xe1)](k(0xf5));return;}},async function(){},a130f);export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a131n=a131d;(function(a,b){const l=a131d,c=a();while(!![]){try{const d=-parseInt(l(0x197))/0x1+parseInt(l(0x182))/0x2*(parseInt(l(0x176))/0x3)+-parseInt(l(0x19e))/0x4*(parseInt(l(0x181))/0x5)+-parseInt(l(0x19f))/0x6*(-parseInt(l(0x1a9))/0x7)+parseInt(l(0x19c))/0x8+parseInt(l(0x174))/0x9+parseInt(l(0x19a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0xe9981));const a131b=(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;};}()),a131a=a131b(this,function(){const m=a131d;return a131a['toString']()['search'](m(0x1ae))[m(0x19b)]()[m(0x187)](a131a)[m(0x1a5)](m(0x1ae));});function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x174;let f=c[d];return f;},a131d(a,b);}a131a();import a131e from'path';import{Generator}from'../generator.js';function a131c(){const q=['424244TvpjcQ','213492xIDjgd','none','api','ramda','template','.css','search','withHook','features','fileName','56WEmRdb','css','withTranslations','.app-tests.js','ssr','(((.+)+)+)+$','6645573OcxQYr','component/component.js','170445RLvGvx','Scaffolding\x20for\x20a\x20React\x20Layout.','graphql','warn','fsi','injectAtBeginningOfFile','dir','true','hook/hook.js','react','create','50ZMDXpM','40MSUlZj','resourceName','assign','string','/imports/ui/layouts','constructor','checkNpmPackage','getMakaProjectConfig','.js','theme','withHooks','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','includes','maka\x20g:layout\x20mobile/iPhone8','className','setTemplate','installNpmPackage','import\x20\x27./','engines','pathFromApp','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','1835772bTgWxr','test','pathFromProject','12589930iYlFAz','toString','3478696uZBKfk','split'];a131c=function(){return q;};return a131c();}import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator[a131n(0x180)]({'name':'layout','aliases':aliases,'usage':a131n(0x18d),'shortDesc':a131n(0x177),'validOpts':[a131n(0x1a6)],'examples':[a131n(0x18f),'maka\x20g:l\x20web/safari']},async function(a,b){const o=a131n,c=o(0x186),d=this[o(0x17a)]['findAppDirectory'](),e=this['fsi'][o(0x195)]({'pathParts':[c,b[o(0x17c)],paramCase(b[o(0x183)]),paramCase(b[o(0x183)])]}),f=this[o(0x17a)][o(0x189)]();await this[o(0x17a)]['withValue'](f,async()=>{const p=o;typeof f[p(0x1a3)][p(0x198)]===p(0x185)&&(f['template'][p(0x198)]=f[p(0x1a3)][p(0x198)]===p(0x17d)?!![]:![],this[p(0x17a)]['setTemplate'](p(0x198),f[p(0x1a3)][p(0x198)]));typeof f[p(0x1a3)][p(0x1aa)]===p(0x185)&&(f[p(0x1a3)]['css']=f['template'][p(0x1aa)]===p(0x17d)?!![]:![],this[p(0x17a)][p(0x191)](p(0x1aa),f[p(0x1a3)]['css']));typeof f[p(0x1a3)]['js']===p(0x185)&&(f[p(0x1a3)]['js']=f[p(0x1a3)]['js']==='true'?!![]:![],this[p(0x17a)]['setTemplate']('js',f[p(0x1a3)]['js']));!f[p(0x1a7)]&&(f[p(0x1a7)]={});const g=b['_']?b['_'][0x0][p(0x19d)](':')[0x1]:![],h=b['_']&&aliases[p(0x18e)](g);h&&!this[p(0x188)](p(0x1a2))&&(Log[p(0x179)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),this[p(0x17a)][p(0x192)](p(0x1a2),{'cwd':d}));if(h&&!this[p(0x188)](p(0x17f))){Log[p(0x179)](p(0x196));return;}const i={'name':pascalCase(b[p(0x183)]),'myPath':a131e['relative'](this[p(0x17a)][p(0x199)]({}),e),'cssCaseName':paramCase(b[p(0x183)]),'className':pascalCase(b[p(0x183)]),'camelCaseName':camelCase(b[p(0x183)]),'fileName':paramCase(b[p(0x183)]),'graphql':f['engines'][p(0x178)],'features':f['features'],'client':f[p(0x194)]['client'],'api':f[p(0x194)][p(0x1a1)],'ssr':f[p(0x194)][p(0x1ad)],'test':f[p(0x194)][p(0x198)],'theme':f[p(0x194)][p(0x18b)],'isComponent':![],'isLayout':!![],'withTranslations':f['features'][p(0x1ab)]};f[p(0x1a7)]?.[p(0x18c)]||b[p(0x1a6)]?await this[p(0x17a)][p(0x1a3)]({'srcPath':p(0x17e),'destPath':e+'.js','framework':p(0x17f),'context':i,'config':f}):await this[p(0x17a)]['template']({'srcPath':p(0x175),'destPath':e+p(0x18a),'framework':p(0x17f),'context':i,'config':f});f[p(0x194)][p(0x198)]!==p(0x1a0)&&await this[p(0x17a)][p(0x1a3)]({'srcPath':'test/test.js','destPath':e+p(0x1ac),'framework':p(0x17f),'context':i,'config':f});f['template'][p(0x1aa)]&&(await this[p(0x17a)][p(0x1a3)]({'srcPath':'template/template.css','destPath':e+p(0x1a4),'context':Object[p(0x184)]({},i,{'className':paramCase(b[p(0x183)])}),'config':f}),await this[p(0x17a)][p(0x17b)]({'filePath':e+'.'+f[p(0x194)]['js'],'content':p(0x193)+i['fileName']+'.'+f[p(0x194)][p(0x1aa)]+'\x27;'}));const j=b[p(0x17c)]?'/'+b[p(0x17c)]+'/':'/',k=''+c+j+i['fileName']+'/'+i[p(0x1a8)];await this[p(0x17a)]['injectTemplateModule'](i[p(0x190)],f,k);});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a132i=a132d;(function(a,b){const f=a132d,c=a();while(!![]){try{const d=-parseInt(f(
|
|
1
|
+
const a132i=a132d;(function(a,b){const f=a132d,c=a();while(!![]){try{const d=-parseInt(f(0xd6))/0x1+parseInt(f(0xc8))/0x2*(-parseInt(f(0xca))/0x3)+-parseInt(f(0xd7))/0x4+parseInt(f(0xc9))/0x5+-parseInt(f(0xce))/0x6+-parseInt(f(0xd2))/0x7+-parseInt(f(0xd0))/0x8*(-parseInt(f(0xc6))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x3cbc8));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a132d;if(c){const e=c[g(0xc7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const h=a132d;return a132a['toString']()[h(0xd8)](h(0xd5))[h(0xcd)]()[h(0xcf)](a132a)[h(0xd8)]('(((.+)+)+)+$');});a132a();function a132c(){const j=['725064imwmgU','search','maka\x20{generate,\x20g}:<generator>\x20<name>','maka\x20g:route\x20todos/edit','maka\x20g:template\x20todos/todo_item','4415967zfcUfS','apply','7960IpYxSD','2212065drLdFD','339KEbyFc','maka\x20generate:scaffold\x20todos','maka\x20g:package\x20package:name','toString','1548096hOGSVo','constructor','16CIGvyC','maka\x20g:api\x20trucks','308371cFIOcc','Scaffold\x20various\x20parts\x20of\x20your\x20application','maka\x20g:dbc\x20geoserver\x20--type=pgsql','(((.+)+)+)+$','241888eRWTGB'];a132c=function(){return j;};return a132c();}import{Generator}from'../generator.js';function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0xc4;let f=c[d];return f;},a132d(a,b);}const MakaGen=new Generator({'name':'generate','aliases':['g'],'usage':a132i(0xd9),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a132i(0xd3),'examples':[a132i(0xcb),'maka\x20g:scaffold\x20todos',a132i(0xc5),a132i(0xcc),a132i(0xc4),a132i(0xd1),a132i(0xd4)]},function(){});export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a133m=a133d;(function(a,b){const j=a133d,c=a();while(!![]){try{const d
|
|
1
|
+
const a133m=a133d;function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0xfe;let f=c[d];return f;},a133d(a,b);}(function(a,b){const j=a133d,c=a();while(!![]){try{const d=parseInt(j(0x10a))/0x1*(parseInt(j(0x119))/0x2)+-parseInt(j(0x121))/0x3*(parseInt(j(0x106))/0x4)+parseInt(j(0x11c))/0x5*(parseInt(j(0x109))/0x6)+-parseInt(j(0x10b))/0x7*(parseInt(j(0x116))/0x8)+parseInt(j(0x120))/0x9+-parseInt(j(0x10c))/0xa+parseInt(j(0x11e))/0xb*(parseInt(j(0x103))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x6d305));const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a133d;if(c){const e=c[k(0xff)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const l=a133d;return a133a[l(0x117)]()[l(0x101)](l(0x108))['toString']()['constructor'](a133a)[l(0x101)](l(0x108));});function a133c(){const p=['-rpc-method\x27;','(((.+)+)+)+$','340602FBKQtJ','76276CwEipW','7zdCPHf','8552660OFyjBA','dir','fsi','mdg:validated-method','checkMeteorPackage','pathFromApp','import\x20\x27./methods','tsx','getMakaProjectConfig','template','5340680aaBOuy','toString','maka:check','2WsdvVm','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','maka\x20g:method\x20todos','10HvTFhQ','method','11ouKYgb','maka\x20{generate,\x20g}:{method,\x20m}\x20name','1850355qYacMH','10233lRwKQD','injectAtEndOfFile','error','startup','resourceName','apply','appPathPrefix','search','-rpc-method.','26304888phLqsa','ddp-rate-limiter','imports','724NAxnyG'];a133c=function(){return p;};return a133c();}a133a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator['create']({'name':a133m(0x11d),'aliases':['m'],'usage':a133m(0x11f),'checkWhere':!![],'shortDesc':a133m(0x11a),'validOpts':[a133m(0x10d)],'examples':[a133m(0x11b)]},async function(a,b){const n=a133m;try{const c=this[n(0x10e)][n(0x114)]();await this[n(0x10e)]['withValue'](c,async()=>{const o=n,d=paramCase(b[o(0xfe)]),f={'name':b[o(0xfe)],'fileName':d,'className':pascalCase(b[o(0xfe)]),'camelCase':camelCase(b[o(0xfe)]),'noRename':!![]};let g='js';c['engines']['js']===o(0x113)&&(g='ts');await this[o(0x10e)][o(0x110)]([o(0x118),o(0x104),o(0x10f)],{'shouldInstall':!![]}),await this[o(0x10e)][o(0x115)]({'srcPath':'method/method.js','destPath':this['fsi'][o(0x111)]({'pathParts':[o(0x105),o(0x124),b[o(0x100)],'methods',b[o(0x10d)],d+o(0x102)+g]}),'context':f,'config':c});const h=b[o(0x10d)]?'/'+b[o(0x10d)]+'/':'/',i=this['fsi']['pathFromApp']({'pathParts':[o(0x105),o(0x124),b['appPathPrefix'],'index.'+c['engines']['js']]});await this[o(0x10e)][o(0x122)]({'filePath':i,'content':o(0x112)+h+d+o(0x107)});});}catch(d){Log[n(0x123)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a134o=a134d;
|
|
1
|
+
const a134o=a134d;(function(a,b){const l=a134d,c=a();while(!![]){try{const d=parseInt(l(0x190))/0x1+parseInt(l(0x191))/0x2*(-parseInt(l(0x1a3))/0x3)+-parseInt(l(0x199))/0x4*(parseInt(l(0x1ab))/0x5)+-parseInt(l(0x1aa))/0x6+parseInt(l(0x196))/0x7*(-parseInt(l(0x194))/0x8)+-parseInt(l(0x195))/0x9*(-parseInt(l(0x19b))/0xa)+-parseInt(l(0x1a8))/0xb*(-parseInt(l(0x193))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0xcc994));const a134b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a134d;if(c){const e=c[m(0x183)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a134a=a134b(this,function(){const n=a134d;return a134a[n(0x18a)]()[n(0x192)](n(0x1a6))[n(0x18a)]()['constructor'](a134a)[n(0x192)](n(0x1a6));});a134a();import a134e from'path';import{Generator}from'../generator.js';function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0x181;let f=c[d];return f;},a134d(a,b);}function a134c(){const r=['layout','features','graphql','toString','fsi','tests/client','resourceName','create','theme','1235195UvehJT','39840wEuOPj','search','24oKWpiw','264aypoZr','54XEdnHg','202244xKQcrM','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','/package.js','4506848jnvCIn','packages','1170390VTGhDD','package','pathFromAppWithNoReWrite','package/','package/package.js','template','pathFromProject','noRename','21lSYjoP','.js','relative','(((.+)+)+)+$','server','9373991ZqvSzY','hasOwnProperty','3505002psSWhv','5fpQOJO','getMakaProjectConfig','dir','apply','engines','package.js','/client/'];a134c=function(){return r;};return a134c();}import{camelCase,paramCase,pascalCase}from'change-case';Generator[a134o(0x18e)]({'name':a134o(0x19c),'aliases':['p'],'usage':a134o(0x197),'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','validOpts':[a134o(0x182)],'examples':['maka\x20g:package\x20todos:package']},async function(a,b){const p=a134o,c=paramCase(b[p(0x18d)]),d=this[p(0x18b)]['pathFromApp']({'pathParts':[p(0x19a),b[p(0x182)],c]}),e=this[p(0x18b)][p(0x19d)]({'pathParts':['packages',b[p(0x182)],c,p(0x185)]}),f=this[p(0x18b)][p(0x181)]();await this[p(0x18b)]['withValue'](f,async()=>{const q=p,g={'name':paramCase(b[q(0x18d)]),'myPath':a134e[q(0x1a5)](this[q(0x18b)][q(0x1a1)]({}),d),'cssCaseName':paramCase(b[q(0x18d)]),'className':pascalCase(b[q(0x18d)]),'camelCaseName':camelCase(b[q(0x18d)]),'fileName':c,'client':f['engines']['client'],'graphql':f['engines'][q(0x189)],'ssr':f['engines']['ssr'],'isComponent':b[q(0x1a9)]('component'),'isLayout':b[q(0x1a9)](q(0x187)),'isStore':b[q(0x1a9)]('store'),'features':f[q(0x188)],'noRename':!![],'theme':f[q(0x184)][q(0x18f)]};await this['fsi']['template']({'srcPath':q(0x19f),'destPath':e,'context':g,'config':f}),g[q(0x1a2)]=![];const h=d+q(0x186)+c+q(0x1a4);await this[q(0x18b)][q(0x1a0)]({'srcPath':'template/template.js','destPath':h,'context':g,'config':f});const i=['lib',q(0x1a7),q(0x18c),'tests/server'];for(const j of i){const k=d+'/'+j+'/'+c+q(0x1a4);await this[q(0x18b)]['template']({'srcPath':q(0x19e)+j+q(0x198),'destPath':k,'context':g,'config':f});}});});
|