@maka/maka-cli 5.1.5 → 5.1.6
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/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/_index.js +1 -1
- package/bundle/obf/src/commands/test/jest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/test/mocha.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/test/test.command.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/templates/meteor/app/imports/startup/client/routes.js.jsx +4 -1
- package/bundle/obf/src/templates/meteor/app/imports/startup/client/routes.js.tsx +4 -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/cfg/cfg.class.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/mpi/mpi.class.js +1 -1
- package/bundle/obf/src/tools/options/options.class.js +1 -1
- package/bundle/obf/src/tools/pkg/pkg.class.js +1 -1
- package/bundle/obf/src/tools/progress/progress.class.js +1 -1
- package/bundle/obf/src/tools/scaffold/scaffold.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a118l=a118d;(function(a,b){const i=a118d,c=a();while(!![]){try{const d=-parseInt(i(0x1d1))/0x1*(-parseInt(i(0x1dd))/0x2)+-parseInt(i(0x1da))/0x3+-parseInt(i(0x1d2))/0x4+parseInt(i(0x1e3))/0x5*(parseInt(i(0x1e7))/0x6)+-parseInt(i(0x1eb))/0x7+-parseInt(i(0x1de))/0x8*(-parseInt(i(0x1f0))/0x9)+-parseInt(i(0x1e1))/0xa*(-parseInt(i(0x1d0))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x79b3d));const a118b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a118d;if(c){const e=c[j(0x1d3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){const k=a118d;return a118a[k(0x1ee)]()[k(0x1e9)]('(((.+)+)+)+$')['toString']()['constructor'](a118a)['search']('(((.+)+)+)+$');});a118a();import{Generator}from'../generator.js';function a118d(a,b){const c=a118c();return a118d=function(d,e){d=d-0x1ce;let f=c[d];return f;},a118d(a,b);}import{Log}from'../tools/log/log.class.js';import a118e from'path';Generator[a118l(0x1ef)]({'name':'dockerfile','usage':a118l(0x1db),'shortDesc':a118l(0x1d8),'resourceNameRequired':![],'mustBeInMakaProject':!![],'validOpts':[{'name':a118l(0x1dc),'boolFlag':!![]}],'examples':[a118l(0x1e8)]},async function(a,b){const m=a118l;try{const c=this[m(0x1d7)][m(0x1cf)](),d=await this[m(0x1d7)][m(0x1e5)](),f=this['fsi'][m(0x1ed)](),g={'app':c['appName'],'config':c,'appPath':a118e['join'](f,m(0x1d5)),'bundlePath':a118e[m(0x1d9)](f,m(0x1d6),m(0x1ce)),'useCert':d['cert']?this[m(0x1ea)]['isFile'](d[m(0x1ec)]):![]};await this[m(0x1e0)][m(0x1df)]({'srcPath':m(0x1e2),'destPath':a118e[m(0x1d9)](f,m(0x1d4)),'framework':m(0x1e6),'context':g,'config':c,'force':b[m(0x1dc)]});}catch(h){Log[m(0x1e4)](h);}});function a118c(){const n=['192155XPimUR','error','getGlobalConfig','service','138Qtmxrg','maka\x20g:dockerfile','search','fsi','5135375cgQvXq','cert','findProjectDirectory','toString','create','2492415YhqaMa','app.tar.gz','getMakaProjectConfig','166507OESnpw','3UuUJHo','3076608BdwMAk','apply','Dockerfile','app','build','cfg','Generate\x20an\x20updated\x20dockerfile','join','1299450SDMOwL','maka\x20{generate,\x20g}:dockerfile','force','348614pVbnwP','24xPDFwA','template','scaffold','130EaIefK','docker/Dockerfile'];a118c=function(){return n;};return a118c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a119o=a119d;(function(a,b){const l=a119d,c=a();while(!![]){try{const d=parseInt(l(
|
|
1
|
+
const a119o=a119d;(function(a,b){const l=a119d,c=a();while(!![]){try{const d=parseInt(l(0x14c))/0x1+parseInt(l(0x134))/0x2*(parseInt(l(0x15c))/0x3)+-parseInt(l(0x163))/0x4+parseInt(l(0x139))/0x5*(parseInt(l(0x13e))/0x6)+parseInt(l(0x137))/0x7*(parseInt(l(0x13c))/0x8)+parseInt(l(0x14d))/0x9*(parseInt(l(0x131))/0xa)+-parseInt(l(0x160))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x372ae));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a119d;if(c){const e=c[m(0x161)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const n=a119d;return a119a['toString']()['search'](n(0x15f))[n(0x156)]()['constructor'](a119a)[n(0x13d)](n(0x15f));});a119a();import a119e from'path';function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x131;let f=c[d];return f;},a119d(a,b);}function a119c(){const q=['cssCaseName','features','findAppDirectory','create','2199gteKaE','relative','theme','(((.+)+)+)+$','3699047IVqEiC','apply','template/template.css','1385772SokWsU','hook','pages','error','checkNpmPackage','resourceName','injectAtBeginningOfFile','setTemplate','graphql','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','.js','installNpmPackage','/imports/ui/components','css','20uWGTrp','/imports/ui/','dir','56CZCYGf','@apollo/client','projectConfig','317709klZOHX','className','609550uitdkW','pkg','baseDir','56IMaOHV','search','6XsEcmM','force','react','fsi','Creating\x20','test','hooks','\x20hook...','apollo','test/test.js','engines','@apollo/client\x20isomorphic-fetch','none','scaffold','91401TCbKXv','1607139JPJRJe','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','template','\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','withTranslations','import\x20\x27./','pathFromApp','fileName','assign','toString','layouts'];a119c=function(){return q;};return a119c();}import{kebabCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a119o(0x15b)]({'name':a119o(0x164),'aliases':['h'],'checkWhere':![],'usage':a119o(0x16c),'shortDesc':a119o(0x14e),'mustBeInMakaProject':!![],'validOpts':[{'name':'baseDir','values':[a119o(0x144),'components',a119o(0x165),a119o(0x157)]},{'name':a119o(0x13f),'boolFlag':!![]}],'examples':['maka\x20g:hook\x20cool-hook'],'description':a119o(0x150)},async function(a,b){const p=a119o;Log['notice'](p(0x142)+b[p(0x168)]+p(0x145));try{await this[p(0x13a)][p(0x167)](p(0x140),{'shouldInstall':!![]});const c=this['fsi'][p(0x15a)](),d=b[p(0x13b)]?p(0x132)+b[p(0x13b)]:p(0x16f),f=this[p(0x14b)][p(0x153)]({'pathParts':[d,b['dir'],kebabCase(b[p(0x168)]),kebabCase(b[p(0x168)])]}),g=this[p(0x136)];typeof g[p(0x14f)][p(0x170)]==='string'&&this['cfg'][p(0x16a)]('css',g[p(0x14f)][p(0x170)]);g[p(0x148)][p(0x16b)]===p(0x146)&&!this[p(0x13a)][p(0x167)](p(0x135))&&(Log['warn']('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),await this[p(0x13a)][p(0x16e)](p(0x149),{'cwd':c}));const h={'cssCaseName':kebabCase(b['resourceName']),'camelCaseName':camelCase(b[p(0x168)]),'className':pascalCase(b[p(0x168)]),'name':pascalCase(b['resourceName']),'graphql':g[p(0x148)][p(0x16b)],'theme':g[p(0x148)][p(0x15e)],'test':g[p(0x148)][p(0x143)],'features':g[p(0x159)],'myPath':a119e[p(0x15d)](this[p(0x141)]['findProjectDirectory'](),f),'fileName':kebabCase(b['resourceName']),'isComponent':![],'isLayout':![],'withTranslations':g[p(0x159)][p(0x151)]};await this[p(0x14b)][p(0x14f)]({'srcPath':'hook/hook.js','destPath':f+p(0x16d),'context':h,'config':g,'framework':p(0x140),'force':b[p(0x13f)]});g[p(0x14f)][p(0x170)]&&(await this['scaffold'][p(0x14f)]({'srcPath':p(0x162),'destPath':f+'.css','context':Object[p(0x155)]({},h,{'className':h[p(0x158)]}),'config':g,'force':b[p(0x13f)]}),await this[p(0x14b)][p(0x169)]({'filePath':f+'.'+g[p(0x148)]['js'],'content':p(0x152)+h[p(0x154)]+'.'+g[p(0x148)][p(0x170)]+'\x27;'}));g['engines'][p(0x143)]!==p(0x14a)&&await this[p(0x14b)][p(0x14f)]({'srcPath':p(0x147),'destPath':f+'.app-tests.js','framework':p(0x140),'context':h,'config':g,'force':b[p(0x13f)]});const i=b['dir']?'/'+b[p(0x133)]+'/':'/',j=''+d+i+h['fileName']+'/'+h[p(0x154)];await this['scaffold']['injectTemplateModule'](h[p(0x138)],g,j);}catch(k){Log[p(0x166)](k);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a120d,c=a();while(!![]){try{var d=parseInt(f(
|
|
1
|
+
(function(a,b){var f=a120d,c=a();while(!![]){try{var d=parseInt(f(0x14d))/0x1+parseInt(f(0x14a))/0x2*(-parseInt(f(0x153))/0x3)+-parseInt(f(0x148))/0x4*(-parseInt(f(0x152))/0x5)+-parseInt(f(0x151))/0x6+-parseInt(f(0x14b))/0x7+-parseInt(f(0x14c))/0x8*(parseInt(f(0x150))/0x9)+parseInt(f(0x149))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x59059));var a120b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){var g=a120d;return a120a['toString']()[g(0x154)](g(0x14e))['toString']()[g(0x14f)](a120a)[g(0x154)](g(0x14e));});a120a();import'./kit.js';import'./mui/_index.js';function a120d(a,b){var c=a120c();return a120d=function(d,e){d=d-0x148;var f=c[d];return f;},a120d(a,b);}import'./esri/_index.js';import'./auth/_index.js';function a120c(){var h=['10096jPOcoX','11033600czgSpN','2POrZQX','1652000DHaABY','15304VfBmyJ','597395eTknbz','(((.+)+)+)+$','constructor','2862hVMmvv','1931970OrdSGi','355lfHLNs','1046991dxivbg','search'];a120c=function(){return h;};return a120c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a121d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
function a121c(){var i=['3148179gbKRDj','12ZDrPWD','10BIUDZP','toString','10npjtfA','49386lqovRx','(((.+)+)+)+$','16CSUfMS','apply','3556755avCCHF','21207626ZFkrOE','992362oTDaUb','search','296885apqcPe','5823500HMnWpI','constructor'];a121c=function(){return i;};return a121c();}(function(a,b){var f=a121d,c=a();while(!![]){try{var d=-parseInt(f(0x189))/0x1*(-parseInt(f(0x186))/0x2)+parseInt(f(0x184))/0x3+-parseInt(f(0x182))/0x4+-parseInt(f(0x181))/0x5*(-parseInt(f(0x185))/0x6)+-parseInt(f(0x17f))/0x7+-parseInt(f(0x17b))/0x8*(parseInt(f(0x17d))/0x9)+parseInt(f(0x188))/0xa*(parseInt(f(0x17e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0xe9284));var a121b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a121d;if(c){var e=c[g(0x17c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){var h=a121d;return a121a[h(0x187)]()['search'](h(0x17a))[h(0x187)]()[h(0x183)](a121a)[h(0x180)](h(0x17a));});a121a();import'./auth.generator.js';import'./provider.auth.gen.js';function a121d(a,b){var c=a121c();return a121d=function(d,e){d=d-0x17a;var f=c[d];return f;},a121d(a,b);}import'./basic-meteor.auth.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a122i=a122d;(function(a,b){const f=a122d,c=a();while(!![]){try{const d
|
|
1
|
+
const a122i=a122d;(function(a,b){const f=a122d,c=a();while(!![]){try{const d=-parseInt(f(0x1b1))/0x1+parseInt(f(0x1be))/0x2+parseInt(f(0x1b4))/0x3+-parseInt(f(0x1ba))/0x4+-parseInt(f(0x1b3))/0x5+parseInt(f(0x1bc))/0x6+-parseInt(f(0x1b6))/0x7*(-parseInt(f(0x1b9))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xc3262));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a122d;if(c){const e=c[g(0x1b5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const h=a122d;return a122a[h(0x1b7)]()[h(0x1b2)](h(0x1c0))[h(0x1b7)]()[h(0x1bb)](a122a)[h(0x1b2)](h(0x1c0));});a122a();import{Generator}from'../../../generator.js';function a122c(){const j=['1245172VDKykh','constructor','5661882IJhwTX','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','2493670snbmJe','maka\x20g:kit:a','(((.+)+)+)+$','create','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','1353661agLcwT','search','5471295UfduHH','491451unozGu','apply','4214854SJMjQa','toString','auth','16NNtQEv'];a122c=function(){return j;};return a122c();}function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x1b1;let f=c[d];return f;},a122d(a,b);}import a122e from'../kit.js';const AuthGen=Generator[a122i(0x1c1)]({'name':a122i(0x1b8),'aliases':['a'],'usage':a122i(0x1bd),'shortDesc':'Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a122i(0x1bf)],'description':a122i(0x1c2)},async function(){throw'NIE';},async function(){},a122e);export default AuthGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a123v=a123d;(function(a,b){const s=a123d,c=a();while(!![]){try{const d=parseInt(s(0x1a6))/0x1+parseInt(s(0x1a9))/0x2+parseInt(s(0x1ca))/0x3+parseInt(s(0x1a7))/0x4*(-parseInt(s(0x1c8))/0x5)+parseInt(s(0x1c9))/0x6*(-parseInt(s(0x1cb))/0x7)+parseInt(s(0x1db))/0x8*(-parseInt(s(0x19d))/0x9)+parseInt(s(0x1c1))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x68a98));function a123c(){const x=['const\x20registerNewUser','49192HeEhSJ','80Uegcju','engines','514728fwvHvW','\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','constructor','useTracker','injectIntoFile','findAppDirectory','react','meteor','pathFromApp','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','/imports/startup/server/publications/auth/roles.js','\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','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','server','search','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','const\x20authenticateUser','index','\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','processAndRunGenerator','error','accounts-password','injectIntoCodeBlock','exit','16137970zWOjxD','imports','\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','publish','/imports/startup/client','checkMeteorPackage','export\x20const\x20AuthProvider','111080moGlEc','6liGTAP','840618bEaKAg','5533969YtCcge','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','/imports/startup/client/authentication-service','const\x20resetPasswordWithToken','Meteor.startup','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','(((.+)+)+)+$','AuthService','meteor/accounts-base','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','\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','normalize','/imports/startup/lib/authentication-service','const\x20authenticateToken','kit/auth/service/meteor-auth-service.js','const\x20sendForgotPasswordEmail','39776PFKxve','\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','972DVSmnQ','force','Meteor.publish','apply','.js','findProjectDirectory','Accounts','startup'];a123c=function(){return x;};return a123c();}const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a123d;if(c){const e=c[t(0x1a0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const u=a123d;return a123a['toString']()['search'](u(0x1d1))['toString']()[u(0x1ab)](a123a)[u(0x1b7)](u(0x1d1));});a123a();import a123e from'path';import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a123f from'./auth.generator.js';import a123g from'../../../generators/maka.gen.js';function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x19c;let f=c[d];return f;},a123d(a,b);}import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a123v(0x1b0),'aliases':['m'],'usage':a123v(0x1d4),'shortDesc':a123v(0x1b5),'validOpts':[a123v(0x19e)],'isPro':!![],'resourceNameRequired':![],'mustBeInMakaProject':!![],'requiredEngines':{'client':ClientEngines['REACT']},'description':a123v(0x1bb)},async function(a,b){const w=a123v,{fsi:c,pkg:d,scaffold:f,projectConfig:g}=this;try{const h=b[w(0x19e)]||![];await d[w(0x1c6)]([w(0x1be)],{'shouldInstall':!![]});const i=c[w(0x1a2)](),j=c[w(0x1ae)](),k=g[w(0x1a8)]['ssr']===w(0x1b0);await a123g[w(0x1bc)]('kit:auth:provider',[],{'force':h,'cwd':i,'config':g}),await a123g['processAndRunGenerator'](w(0x1c4),['auth/roles'],{'force':h,'globalPublish':!![],'cwd':i,'config':g});const l=j+a123e[w(0x1d6)](w(0x1b3)),m=k?'/imports/startup/lib':w(0x1c5),n=f[w(0x1b1)]({'pathParts':[m,'','','authentication-service']});await f['template']({'srcPath':w(0x1d9),'destPath':n+w(0x1a1),'framework':w(0x1af),'context':{},'config':g,'force':h,'ignore':![]});const o=f[w(0x1b1)]({'pathParts':[m,'','','authentication-provider']}),p=g['engines']['js'];await f['injectImport']({'filePath':o+'.'+p,'importName':w(0x1d2),'modulePath':k?w(0x1d7):w(0x1cd),'isNamedExport':![]}),await f[w(0x1bf)]({'filePath':o+'.'+p,'content':w(0x19c),'begin':w(0x1b9),'replace':!![]}),await f[w(0x1bf)]({'filePath':o+'.'+p,'content':'\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','begin':w(0x1d8),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':w(0x1aa),'begin':'const\x20getUserAuthorizations','replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':w(0x1d0),'begin':'const\x20deauthenticateUser','replace':!![]}),await f[w(0x1bf)]({'filePath':o+'.'+p,'content':w(0x1b2),'begin':w(0x1da),'replace':!![]}),await f[w(0x1bf)]({'filePath':o+'.'+p,'content':w(0x1b8),'begin':w(0x1a5),'replace':!![]}),await f[w(0x1bf)]({'filePath':o+'.'+p,'content':w(0x1cc),'begin':w(0x1ce),'replace':!![]});k&&(await f['injectImport']({'filePath':o+'.'+p,'importName':w(0x1ac),'modulePath':'meteor/maka:react-tracker','isNamedExport':!![]}),await f[w(0x1ad)]({'filePath':o+'.'+p,'content':w(0x1c3),'begin':w(0x1c7),'end':'useEffect\x5c('}));await f['injectImport']({'filePath':l,'importName':'Meteor','modulePath':'meteor/meteor','isNamedExport':!![],'injectAtStart':!![]}),await f[w(0x1bf)]({'filePath':l,'content':w(0x1d5),'begin':w(0x19f),'replace':!![]});const q=f[w(0x1b1)]({'pathParts':[w(0x1c2),w(0x1a4),w(0x1b6),w(0x1ba)]});await f['injectImport']({'filePath':q+'.'+p,'importName':w(0x1a3),'modulePath':w(0x1d3),'isNamedExport':!![]}),await f[w(0x1bf)]({'filePath':q+'.'+p,'content':w(0x1b4),'begin':w(0x1cf),'replace':!![]});}catch(r){Log[w(0x1bd)](r),process[w(0x1c0)](0x1);}},async function(){},a123f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a124x=a124d;function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-
|
|
1
|
+
function a124c(){const z=['30593340tIdxAh','<AppRoutes\x20history={history}/>','pathFromApp','exit','force','AuthContext','injectAroundString','const\x20PrivateRoute','/imports/startup/server/index','/imports/startup/client/authentication-provider','\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useAuth();\x0a\x20\x20\x20\x20\x20\x20if\x20(loading)\x20return\x20<div>Loading...</div>;\x0a\x20\x20\x20\x20\x20\x20return\x20(currentUser)\x20?\x20<Outlet/>\x20:\x20<Navigate\x20to=\x22/login\x22\x20/>;\x0a\x20\x20\x20\x20\x20\x20','/imports/startup/lib/authentication-provider','/imports/startup/lib','ssr','(((.+)+)+)+$','injectIntoCodeBlock','react','authentication-provider','1467950ajVTqi','injectImport','constructor','create','/imports/startup/client/index','<AppRoutes\x20/>','/imports/startup/client','kit/auth/provider/authentication-provider.js','meteor','error','const\x20useAuth','bright','8159144XtUKDh','useContext','toString','1760530xRduqm','307759NtIOFs','1557904pHwsGR','18kZSIbM','scaffold','7TlnFxz','</AuthProvider>','/routes','\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','search','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','<AuthProvider>','function\x20useAuth','.js','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','provider','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','AuthProvider','engines','1302630aHfuHr','apply'];a124c=function(){return z;};return a124c();}const a124x=a124d;function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0xca;let f=c[d];return f;},a124d(a,b);}(function(a,b){const u=a124d,c=a();while(!![]){try{const d=parseInt(u(0xfb))/0x1+parseInt(u(0xeb))/0x2+parseInt(u(0xd7))/0x3+parseInt(u(0xfc))/0x4+parseInt(u(0xfa))/0x5*(parseInt(u(0xfd))/0x6)+-parseInt(u(0xff))/0x7*(-parseInt(u(0xf7))/0x8)+-parseInt(u(0xd9))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x846a3));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a124d;if(c){const e=c[v(0xd8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const w=a124d;return a124a[w(0xf9)]()['search'](w(0xe7))[w(0xf9)]()[w(0xed)](a124a)[w(0xcd)](w(0xe7));});a124a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a124e from'./auth.generator.js';import{capitalCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a124x(0xee)]({'name':a124x(0xd3),'aliases':['p'],'usage':a124x(0xce),'shortDesc':a124x(0xd4),'validOpts':[a124x(0xdd)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines['REACT']},'description':a124x(0xcc)},async function(a,b){const y=a124x;try{const c=b[y(0xdd)]||![];Log[y(0xf6)](y(0xd2));const {projectConfig:d}=this,f=d[y(0xd6)][y(0xe6)]===y(0xf3),g={'name':capitalCase(d['appName'])},h=f?y(0xe5):y(0xf1),i=this[y(0xfe)]['pathFromApp']({'pathParts':[h,'','',y(0xea)]});await this['scaffold']['template']({'srcPath':y(0xf2),'destPath':i+y(0xd1),'framework':'react','context':g,'config':d,'force':c,'ignore':![]});const j=d['engines']['js'],k=h+y(0xcb),l=k['split']('/'),m=this[y(0xfe)][y(0xdb)]({'pathParts':l});await this[y(0xfe)][y(0xec)]({'filePath':m+'.'+j,'importName':y(0xde),'modulePath':f?'/imports/startup/lib/authentication-provider':y(0xe2),'isNamedExport':!![]}),await this[y(0xfe)][y(0xec)]({'filePath':m+'.'+j,'importName':y(0xf8),'modulePath':y(0xe9),'isNamedExport':!![],'injectAtStart':!![]}),await this[y(0xfe)][y(0xe8)]({'filePath':m+'.'+j,'content':'\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useContext(AuthContext);\x0a\x20\x20\x20\x20\x20\x20return\x20{\x20currentUser,\x20loading\x20};\x0a\x20\x20\x20\x20\x20\x20','begin':[y(0xf5),y(0xd0)],'replace':!![]}),await this[y(0xfe)]['injectIntoCodeBlock']({'filePath':m+'.'+j,'content':y(0xe3),'begin':[y(0xe0)],'replace':!![]});const n=y(0xef),o=n['split']('/'),p=this[y(0xfe)]['pathFromApp']({'pathParts':o});await this['scaffold']['injectImport']({'filePath':p+'.'+j,'importName':y(0xd5),'modulePath':f?y(0xe4):y(0xe2),'isNamedExport':!![]}),await this['scaffold'][y(0xdf)]({'filePath':p+'.'+j,'aboveContent':'<AuthProvider>','belowContent':y(0xca),'targetString':y(0xf0),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0xe1),r=q['split']('/'),s=this['scaffold']['pathFromApp']({'pathParts':r});await this[y(0xfe)][y(0xec)]({'filePath':s+'.'+j,'importName':y(0xd5),'modulePath':f?y(0xe4):y(0xe2),'isNamedExport':!![]}),await this[y(0xfe)][y(0xdf)]({'filePath':s+'.'+j,'aboveContent':y(0xcf),'belowContent':y(0xca),'targetString':y(0xda),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0xf4)](t),process[y(0xdc)](0x1);}},async function(){},a124e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a125d,c=a();while(!![]){try{var d=-parseInt(f(0xcf))/0x1+parseInt(f(0xda))/0x2+-parseInt(f(0xd4))/0x3*(-parseInt(f(0xce))/0x4)+parseInt(f(0xd7))/0x5*(parseInt(f(0xdc))/0x6)+parseInt(f(0xd6))/0x7+parseInt(f(0xd1))/0x8*(-parseInt(f(0xd2))/0x9)+parseInt(f(0xcd))/0xa*(-parseInt(f(0xd3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0xb66e0));function a125d(a,b){var c=a125c();return a125d=function(d,e){d=d-0xcd;var f=c[d];return f;},a125d(a,b);}var a125b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a125d;if(c){var e=c[g(0xdb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){var h=a125d;return a125a[h(0xd0)]()[h(0xd9)](h(0xd8))[h(0xd0)]()[h(0xd5)](a125a)[h(0xd9)](h(0xd8));});function a125c(){var i=['704SkmyCq','182544zgvwTL','constructor','2333163iWkZmb','5982065cfVAgF','(((.+)+)+)+$','search','1075708xlCEkX','apply','6VGaOOl','19130drFHlM','16kQGhsy','357439dxSRNY','toString','8670920aIyHKh','9jZYFFG'];a125c=function(){return i;};return a125c();}a125a();import'./esri.generator.js';import'./map.esri.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x166;let f=c[d];return f;},a126d(a,b);}const a126i=a126d;(function(a,b){const f=a126d,c=a();while(!![]){try{const d=-parseInt(f(0x166))/0x1+parseInt(f(0x16d))/0x2+-parseInt(f(0x179))/0x3+-parseInt(f(0x168))/0x4*(-parseInt(f(0x176))/0x5)+-parseInt(f(0x16c))/0x6*(parseInt(f(0x175))/0x7)+parseInt(f(0x173))/0x8*(parseInt(f(0x177))/0x9)+-parseInt(f(0x170))/0xa*(-parseInt(f(0x16f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x74025));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0x16b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a['toString']()[h(0x178)](h(0x171))[h(0x16e)]()[h(0x169)](a126a)['search'](h(0x171));});a126a();import{Generator}from'../../../generator.js';function a126c(){const j=['2580470chCxfL','(((.+)+)+)+$','create','6791416SBDzab','esri','2052750rJLbNp','10JKxmup','9TjLpSM','search','1886838NcLeAu','68072lbGTAL','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','243008TODChZ','constructor','maka\x20g:kit:e','apply','18PdeaTu','1646926OBTDqY','toString','11VaNayE'];a126c=function(){return j;};return a126c();}import{UsageError}from'../../../error.js';import a126e from'../kit.js';const EsriGen=Generator[a126i(0x172)]({'name':a126i(0x174),'aliases':['e'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','shortDesc':a126i(0x167),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a126i(0x16a)],'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(){throw UsageError;},async function(){},a126e);export default EsriGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a127v=a127d;
|
|
1
|
+
const a127v=a127d;(function(a,b){const s=a127d,c=a();while(!![]){try{const d=-parseInt(s(0xbf))/0x1+-parseInt(s(0xcd))/0x2+parseInt(s(0xac))/0x3*(-parseInt(s(0xb9))/0x4)+parseInt(s(0xa4))/0x5+-parseInt(s(0xb6))/0x6*(-parseInt(s(0xc1))/0x7)+parseInt(s(0xb2))/0x8*(-parseInt(s(0xa2))/0x9)+parseInt(s(0xaf))/0xa*(parseInt(s(0xab))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x2811f));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a127d;if(c){const e=c[t(0xa5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const u=a127d;return a127a[u(0xb1)]()['search']('(((.+)+)+)+$')[u(0xb1)]()[u(0xc9)](a127a)[u(0xc2)](u(0xcc));});a127a();import{Generator}from'../../../generator.js';function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0xa2;let f=c[d];return f;},a127d(a,b);}import{Log}from'../../../tools/log/log.class.js';import a127e from'./esri.generator.js';import a127f from'../../../generators/maka.gen.js';function a127c(){const x=['exit','.js','Generating\x20a\x20map\x20component','\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','191440DYOBAu','/imports/ui/','56ieBMpR','search','injectIntoFile','baseDir','map','esri-loader','kit/esri/map/','pathFromApp','constructor','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','injectImport','(((.+)+)+)+$','404356iusXfr','dir','engines','/imports/ui/components','846KruQAs','meteor','116860OawubA','apply','REACT','</div>','<div\x20id=\x22map\x22>','findProjectDirectory','/imports/startup/lib/templates','26213LCBKUi','26382skwMOE','appName','processAndRunGenerator','1510gZTtVH','replaceAll','toString','4256zWmokN','bright','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','ssr','207984TDyLof','template','checkNpmPackage','24NECsrd','react'];a127c=function(){return x;};return a127c();}import{kebabCase,capitalCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':'map','aliases':['m'],'usage':a127v(0xca),'shortDesc':'Generate\x20an\x20Esri\x20map\x20component','validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a127v(0xa6)],'ssr':SsrEngines['NONE']},'description':a127v(0xbe)},async function(a,b){const w=a127v;try{const {projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;Log[w(0xb3)](w(0xbd));const h='basic-map';await f[w(0xb8)](['@esri/react-arcgis',w(0xc6)],{'shouldInstall':!![]});const i=d[w(0xa9)](),j=c[w(0xcf)][w(0xb5)]===w(0xa3),k=await a127f[w(0xae)]('page',[w(0xc5)],{'cwd':i,'config':c}),l={'name':capitalCase(c[w(0xad)])[w(0xb0)]('-','\x20'),'componentName':pascalCase(h)},m=b[w(0xc4)]?w(0xc0)+b[w(0xc4)]:w(0xd0),n=g[w(0xc8)]({'pathParts':[m,b[w(0xce)],kebabCase(h),kebabCase(h)]});await g[w(0xb7)]({'srcPath':w(0xc7)+h+w(0xbc),'destPath':n+w(0xbc),'framework':w(0xba),'context':l,'config':c,'force':![],'ignore':![]});const o=''+m+b[w(0xce)]+'/'+h+'/'+h;await g['injectTemplateModule'](h,c,o);const p=k['split']('/'),q=g[w(0xc8)]({'pathParts':p});await g[w(0xcb)]({'filePath':q,'importName':pascalCase(h),'modulePath':j?w(0xaa):'/imports/startup/client/templates','isNamedExport':!![]}),await g[w(0xc3)]({'filePath':q,'content':'\x0a<'+pascalCase(h)+w(0xb4),'begin':[w(0xa8),w(0xa8)],'end':[w(0xa7)],'replace':!![]});}catch(r){Log['error'](r),process[w(0xbb)](0x1);}},async function(){},a127e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a128c(){const
|
|
1
|
+
function a128c(){const i=['maka\x20g:k','425514ckAKSV','334kDxbVV','toString','6234cDsBaW','12khMtmh','10890847LUmauu','270uJUGYp','4YpJbuK','search','9245424AneMUT','4150080UbYINA','maka\x20g:kit','constructor','8990tfHrlK','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','(((.+)+)+)+$','35fgzVzQ','6749195MHKOLM','create'];a128c=function(){return i;};return a128c();}function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x1a1;let f=c[d];return f;},a128d(a,b);}const a128h=a128d;(function(a,b){const f=a128d,c=a();while(!![]){try{const d=parseInt(f(0x1a8))/0x1*(parseInt(f(0x1a6))/0x2)+-parseInt(f(0x1af))/0x3+-parseInt(f(0x1ac))/0x4*(parseInt(f(0x1a2))/0x5)+-parseInt(f(0x1a5))/0x6*(-parseInt(f(0x1a1))/0x7)+parseInt(f(0x1ae))/0x8+parseInt(f(0x1ab))/0x9*(parseInt(f(0x1b2))/0xa)+parseInt(f(0x1aa))/0xb*(parseInt(f(0x1a9))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0xcbe7f));const a128b=(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;};}()),a128a=a128b(this,function(){const g=a128d;return a128a[g(0x1a7)]()[g(0x1ad)](g(0x1b4))[g(0x1a7)]()[g(0x1b1)](a128a)[g(0x1ad)](g(0x1b4));});a128a();import{Generator}from'../../generator.js';const KitGen=Generator[a128h(0x1a3)]({'name':'kit','aliases':['k'],'usage':'maka\x20{generate,\x20g}:{kit}\x20<name>','shortDesc':a128h(0x1b3),'minArgLength':0x1,'isPro':!![],'validOpts':[],'resourceNameRequired':![],'examples':[a128h(0x1b0),a128h(0x1a4)]},async function(){});export default KitGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a129d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a129d,c=a();while(!![]){try{var d=-parseInt(f(0xbd))/0x1+parseInt(f(0xbc))/0x2+-parseInt(f(0xc0))/0x3+-parseInt(f(0xbe))/0x4+parseInt(f(0xc2))/0x5+-parseInt(f(0xba))/0x6+-parseInt(f(0xbf))/0x7*(-parseInt(f(0xc4))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xa3b49));var a129b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a129d;if(c){var e=c[g(0xbb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){var h=a129d;return a129a['toString']()[h(0xc3)]('(((.+)+)+)+$')['toString']()['constructor'](a129a)['search'](h(0xc1));});a129a();function a129d(a,b){var c=a129c();return a129d=function(d,e){d=d-0xba;var f=c[d];return f;},a129d(a,b);}import'./mui.generator.js';function a129c(){var i=['search','2106888GhwDDE','4752318SuIzVk','apply','2368156pUEwMr','899034gqJvla','1050168vIAuPA','56GlPrXL','3471210CooDkA','(((.+)+)+)+$','2451350zcnEqc'];a129c=function(){return i;};return a129c();}import'./frame.mui.gen.js';import'./auth.mui.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a130c(){const
|
|
1
|
+
function a130c(){const O=['basic-password-reset-page','/imports/ui/pages/auth','kit/mui/auth/login/','/imports/startup/client/authentication-provider','dir','10731720LlqIjz','findProjectDirectory','template','react','7DtocPp','(((.+)+)+)+$','log','basic-login-page','forgot-password','/imports/ui/','/imports/startup/lib/authentication-provider','basic-logout-page','search','pathFromApp','434344EAFBqF','login','auth','apply','48936nXasTS','basic-forgot-password-page','1251198hhErIT','maka\x20g:k:m:a','kit/mui/auth/register/','appName','30xLldaC','constructor','2jjLTER','Custom\x20(roll\x20your\x20own)','split','toString','force','.js','1800027DOsJFA','REACT','meteor','error','select','processAndRunGenerator','create','4810380mcTZrR','maka\x20generate:kit:mui:auth','kit:auth:meteor','5020825YUkxqp','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','kit:auth:provider','exit','injectImport','AuthContext','layouts','route','injectTemplateModule','engines','MATERIAL','baseDir','kit/mui/auth/forgot-password/','basic-register-page','Meteor\x20Accounts'];a130c=function(){return O;};return a130c();}const a130L=a130d;(function(a,b){const I=a130d,c=a();while(!![]){try{const d=-parseInt(I(0x131))/0x1*(-parseInt(I(0x129))/0x2)+parseInt(I(0x13e))/0x3+-parseInt(I(0x125))/0x4+parseInt(I(0x141))/0x5+parseInt(I(0x12b))/0x6+-parseInt(I(0x11b))/0x7*(parseInt(I(0x155))/0x8)+-parseInt(I(0x137))/0x9*(parseInt(I(0x12f))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0xc6fba));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const J=a130d;if(c){const e=c[J(0x128)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const K=a130d;return a130a[K(0x134)]()[K(0x123)]('(((.+)+)+)+$')[K(0x134)]()[K(0x130)](a130a)[K(0x123)](K(0x11c));});a130a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a130e from'../../../generators/maka.gen.js';import a130f from'./mui.generator.js';import{kebabCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a130L(0x13d)]({'name':a130L(0x127),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{auth,\x20a}','shortDesc':'Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','validOpts':[a130L(0x147),'force'],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a130L(0x14b)],'client':ClientEngines[a130L(0x138)]},'examples':[a130L(0x13f),a130L(0x12c)],'description':'\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20setup\x20with\x20login,\x20logout,\x20registration,\x20and\x20password\x20reset\x20pages.\x0a\x20\x20'},async function(a,b){const M=a130L;try{const {projectConfig:c,fsi:d,scaffold:f}=this,g=b[M(0x135)]||![],h=d[M(0x156)](),i=await Actions[M(0x13b)]({'name':'authType','message':M(0x142),'choices':[{'name':M(0x14f),'value':'meteor'},{'name':M(0x132),'value':'custom'}]}),j='basic-login-page',k=M(0x122),l=M(0x14e),m='basic-password-reset-page',n=M(0x12a),o=b[M(0x14c)]?M(0x120)+b[M(0x14c)]:M(0x151),p=f['pathFromApp']({'pathParts':[o,b[M(0x154)],kebabCase(j),kebabCase(j)]}),q=f['pathFromApp']({'pathParts':[o,b[M(0x154)],kebabCase(k),kebabCase(k)]}),r=f['pathFromApp']({'pathParts':[o,b['dir'],kebabCase(l),kebabCase(l)]}),s=f[M(0x124)]({'pathParts':[o,b['dir'],kebabCase(m),kebabCase(m)]}),t=f[M(0x124)]({'pathParts':[o,b[M(0x154)],kebabCase(n),kebabCase(n)]}),u={'name':capitalCase(c[M(0x12e)])};await f[M(0x157)]({'srcPath':M(0x152)+j+M(0x136),'destPath':p+'.js','framework':'react','context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x157)]({'srcPath':'kit/mui/auth/logout/'+k+M(0x136),'destPath':q+'.js','framework':M(0x158),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x157)]({'srcPath':M(0x12d)+l+'.js','destPath':r+M(0x136),'framework':'react','context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x157)]({'srcPath':'kit/mui/auth/password-reset/'+m+M(0x136),'destPath':s+'.js','framework':'react','context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x157)]({'srcPath':M(0x14d)+n+M(0x136),'destPath':t+M(0x136),'framework':'react','context':u,'config':c,'force':g,'ignore':![]});const v=''+o+b[M(0x154)]+'/'+j+'/'+j;await f[M(0x149)](j,c,v);const w=''+o+b['dir']+'/'+k+'/'+k;await f[M(0x149)](k,c,w);const x=''+o+b[M(0x154)]+'/'+l+'/'+l;await f[M(0x149)](l,c,x);const y=''+o+b[M(0x154)]+'/'+m+'/'+m;await f[M(0x149)](m,c,y);const z=''+o+b[M(0x154)]+'/'+n+'/'+n;await f['injectTemplateModule'](n,c,z),await a130e[M(0x13c)](M(0x148),[M(0x11e)],{'route':M(0x126),'cwd':h,'config':c}),await a130e[M(0x13c)](M(0x148),[M(0x122)],{'route':'logout','private':!![],'cwd':h,'config':c}),await a130e[M(0x13c)](M(0x148),[M(0x14e)],{'route':'register','cwd':h,'config':c}),await a130e[M(0x13c)](M(0x148),[M(0x150)],{'route':'reset-password/:token','cwd':h,'config':c}),await a130e[M(0x13c)](M(0x148),[M(0x12a)],{'route':M(0x11f),'cwd':h,'config':c});i===M(0x139)&&await a130e[M(0x13c)](M(0x140),[],{'force':g,'cwd':h,'config':c});i==='custom'&&await a130e[M(0x13c)](M(0x143),[],{'force':g,'cwd':h,'config':c});const A=c[M(0x14a)]['ssr']===M(0x139),B=c['engines']['js'],C=f[M(0x124)]({'pathParts':v['split']('/')});await f[M(0x145)]({'filePath':C+'.'+B,'importName':M(0x146),'modulePath':A?M(0x121):M(0x153),'isNamedExport':!![]});const D=f[M(0x124)]({'pathParts':w['split']('/')});await f['injectImport']({'filePath':D+'.'+B,'importName':M(0x146),'modulePath':A?M(0x121):M(0x153),'isNamedExport':!![]});const E=f[M(0x124)]({'pathParts':x[M(0x133)]('/')});await f[M(0x145)]({'filePath':E+'.'+B,'importName':M(0x146),'modulePath':A?M(0x121):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const F=f['pathFromApp']({'pathParts':y['split']('/')});await f[M(0x145)]({'filePath':F+'.'+B,'importName':M(0x146),'modulePath':A?'/imports/startup/lib/authentication-provider':M(0x153),'isNamedExport':!![]});const G=f[M(0x124)]({'pathParts':z[M(0x133)]('/')});await f['injectImport']({'filePath':G+'.'+B,'importName':M(0x146),'modulePath':A?'/imports/startup/lib/authentication-provider':M(0x153),'isNamedExport':!![]});}catch(H){Log[M(0x13a)](H),process[M(0x144)](0x1);}},async function(){const N=a130L;console[N(0x11d)]('Cleaning\x20up...');},a130f);function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x11b;let f=c[d];return f;},a130d(a,b);}export default a130f;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a131G=a131d;(function(a,b){const E=a131d,c=a();while(!![]){try{const d=-parseInt(E(0x12c))/0x1*(-parseInt(E(0x152))/0x2)+parseInt(E(0x136))/0x3*(-parseInt(E(0x151))/0x4)+parseInt(E(0x141))/0x5+-parseInt(E(0x132))/0x6*(-parseInt(E(0x133))/0x7)+parseInt(E(0x12e))/0x8+parseInt(E(0x145))/0x9+-parseInt(E(0x162))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0xd26bc));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 F=a131d;return a131a[F(0x165)]()[F(0x134)]('(((.+)+)+)+$')[F(0x165)]()[F(0x131)](a131a)['search'](F(0x160));});a131a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';function a131c(){const J=['search','error','24654UGYcPI','pathFromApp','REACT','@mui/material/Container','length','appName','</div>','.js','force','checkbox','\x20/>\x0a','4683515vctdgz','maka:react-tracker','frame','meteor','5371398mKWySu','map','/imports/startup/client/templates','session','kit/mui/frame/app-bars/','injectIntoFile','Cleaning\x20up...','maka\x20generate:kit:mui:frame','injectTemplateModule','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','Box','<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>','264SaUEdC','2914662NitFDg','dir','layouts','Container','react','No\x20layouts\x20selected','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','kit/mui/frame/footers/','/imports/ui/','checkMeteorPackage','injectImport','kit/mui/frame/drawers/','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','engines','(((.+)+)+)+$','<Outlet\x20/>','36463080YCpUcB','imports','basic-drawer','toString','MATERIAL','findAppDirectory','getFiles','<div\x20id=\x22','basic-sticky-footer','tsx','test','ssr','/imports/startup/lib/templates','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','baseDir','create','join','1mCVFIP','log','2874816kVBwEL','template','<Outlet/>','constructor','275736LgFEDL','259owEvjP'];a131c=function(){return J;};return a131c();}import a131e from'path';import a131f from'./mui.generator.js';import{kebabCase,pascalCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x129;let f=c[d];return f;},a131d(a,b);}Generator[a131G(0x12a)]({'name':a131G(0x143),'aliases':['f'],'usage':a131G(0x16f),'shortDesc':a131G(0x14e),'validOpts':[a131G(0x154),a131G(0x129),a131G(0x153),'force'],'isPro':![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a131G(0x166)],'client':ClientEngines[a131G(0x138)]},'examples':[a131G(0x14c),'maka\x20g:k:m:f'],'description':a131G(0x15e)},async function(a,b){const H=a131G,{projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;try{const h=b[H(0x13e)]||![],i='basic-app-bar',j=H(0x164),k=H(0x16a),l=c[H(0x15f)][H(0x16d)]===H(0x144);await f[H(0x15b)]([H(0x148),H(0x142)],{'shouldInstall':!![]});const m=d[H(0x167)](),n=a131e[H(0x12b)](m,H(0x163),'ui',H(0x154)),o=d['getDirectories'](n),p=o[H(0x146)](z=>({'name':z,'value':z})),q=await Actions[H(0x13f)]({'message':'Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','name':H(0x154),'choices':p});if(q[H(0x13a)]===0x0){Log[H(0x135)](H(0x157));return;}const r=b[H(0x129)]?H(0x15a)+b['baseDir']:'/imports/ui/components',s=g[H(0x137)]({'pathParts':[r,b[H(0x153)],kebabCase(i),kebabCase(i)]}),t=g[H(0x137)]({'pathParts':[r,b[H(0x153)],kebabCase(j),kebabCase(j)]}),u=g[H(0x137)]({'pathParts':[r,b['dir'],kebabCase(k),kebabCase(k)]}),v={'name':capitalCase(c[H(0x13b)])};await g[H(0x12f)]({'srcPath':H(0x149)+i+H(0x13d),'destPath':s+H(0x13d),'framework':'react','context':v,'config':c,'force':h,'ignore':![]}),await g[H(0x12f)]({'srcPath':H(0x15d)+j+H(0x13d),'destPath':t+H(0x13d),'framework':H(0x156),'context':v,'config':c,'force':h,'ignore':![]}),await g[H(0x12f)]({'srcPath':H(0x159)+k+'.js','destPath':u+'.js','framework':'react','context':v,'config':c,'force':h,'ignore':![]});const w=''+r+b['dir']+'/'+i+'/'+i;await g[H(0x14d)](i,c,w);const x=''+r+b['dir']+'/'+j+'/'+j;await g['injectTemplateModule'](j,c,x);const y=''+r+b[H(0x153)]+'/'+k+'/'+k;await g[H(0x14d)](k,c,y);for(const z of q){const A=d[H(0x168)](a131e['join'](n,z),{'extensions':['jsx',H(0x16b)],'omit':['app-tests','tests',H(0x16c)]});for(const B of A){const C=a131e[H(0x12b)](n,z,B);await g[H(0x15c)]({'filePath':C,'importName':H(0x14f),'modulePath':'@mui/material/Box','isNamedExport':![]}),await g[H(0x15c)]({'filePath':C,'importName':H(0x155),'modulePath':H(0x139),'isNamedExport':![]}),await g[H(0x15c)]({'filePath':C,'importName':pascalCase(i),'modulePath':l?H(0x16e):H(0x147),'isNamedExport':!![]}),await g[H(0x14a)]({'filePath':C,'content':'<'+pascalCase(i)+H(0x140),'begin':[H(0x169)+z+'\x22>',H(0x169)+z+'-hook\x22>'],'end':[H(0x130),H(0x161)]}),await g[H(0x15c)]({'filePath':C,'importName':pascalCase(j),'modulePath':l?H(0x16e):H(0x147),'isNamedExport':!![]}),await g['injectIntoFile']({'filePath':C,'content':'<'+pascalCase(j)+H(0x140),'begin':[H(0x169)+z+'\x22>',H(0x169)+z+'-hook\x22>'],'end':[H(0x130),H(0x161)]}),await g['injectIntoFile']({'filePath':C,'content':'<'+pascalCase(k)+'\x20/>\x0a','begin':[H(0x130),H(0x161)],'end':[H(0x13c)]}),await g[H(0x15c)]({'filePath':C,'importName':pascalCase(k),'modulePath':l?H(0x16e):H(0x147),'isNamedExport':!![]}),await g['injectAroundString']({'filePath':C,'aboveContent':H(0x150),'belowContent':H(0x158),'targetString':['<Outlet/>',H(0x161)],'targetIndentAdjustment':0x6});}}}catch(D){Log[H(0x135)](D);}},async function(){const I=a131G;console[I(0x12d)](I(0x14b));},a131f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a132j=a132d;(function(a,b){const g=a132d,c=a();while(!![]){try{const d
|
|
1
|
+
const a132j=a132d;function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x172;let f=c[d];return f;},a132d(a,b);}(function(a,b){const g=a132d,c=a();while(!![]){try{const d=parseInt(g(0x196))/0x1*(-parseInt(g(0x178))/0x2)+parseInt(g(0x18d))/0x3*(parseInt(g(0x17d))/0x4)+-parseInt(g(0x192))/0x5*(-parseInt(g(0x191))/0x6)+-parseInt(g(0x17f))/0x7*(parseInt(g(0x197))/0x8)+parseInt(g(0x18a))/0x9*(parseInt(g(0x17c))/0xa)+parseInt(g(0x187))/0xb+parseInt(g(0x18e))/0xc*(-parseInt(g(0x185))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x21539));function a132c(){const l=['maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','88491uUkkos','toString','2525061rvbsfI','processAndRunGenerator','checkbox','15012RbWIJw','kit:mui:frame','kit:mui:auth','33rlWGoz','996zTyrVS','(((.+)+)+)+$','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','564xqvLJf','11585sQZhBF','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','kitChoices','mui','21EScQFS','5000uzGQPN','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','includes','info','exit','length','create','2038EYdyRO','error','apply','frame','1070gQwHcr','97340nJcPUM','notice','1911WZPHrV','search','auth','fsi','Header,\x20Footer,\x20and\x20Drawer'];a132c=function(){return l;};return a132c();}const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a132d;if(c){const e=c[h(0x17a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const i=a132d;return a132a[i(0x186)]()['search'](i(0x18f))[i(0x186)]()['constructor'](a132a)[i(0x180)]('(((.+)+)+)+$');});a132a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a132e from'../../../generators/maka.gen.js';import a132f from'../kit.js';const MuiGen=Generator[a132j(0x177)]({'name':a132j(0x195),'aliases':['m'],'usage':a132j(0x184),'resourceNameRequired':![],'shortDesc':'Material-UI\x20Kit','validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:m']},async function(){const k=a132j;try{Log[k(0x174)](k(0x190)),Log[k(0x17e)]('\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');const a=await Actions[k(0x189)]({'message':k(0x193),'name':k(0x194),'choices':[{'name':k(0x183),'value':k(0x17b)},{'name':k(0x172),'value':'auth'}]}),b=this[k(0x182)]['findProjectDirectory'](),c=this['cfg']['getMakaProjectConfig']();a['includes'](k(0x17b))&&await a132e['processAndRunGenerator'](k(0x18b),[],{'force':!![],'cwd':b,'config':c});a[k(0x173)](k(0x181))&&await a132e[k(0x188)](k(0x18c),[],{'force':!![],'cwd':b,'config':c});if(a[k(0x176)]===0x0){Log[k(0x174)]('No\x20MUI\x20kits\x20selected.\x20Exiting.');return;}}catch(d){Log[k(0x179)](d),process[k(0x175)](0x1);}},async function(){},a132f);export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a133r=a133d;(function(a,b){const p=a133d,c=a();while(!![]){try{const d
|
|
1
|
+
function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0x9c;let f=c[d];return f;},a133d(a,b);}function a133c(){const t=['api','1366355BYTqyf','client','284844hZLdQQ','features','string','warn','1667192eEsQDW','16GkLLVx','.css','setTemplate','withHooks','test','engines','layout','injectTemplateModule','pathFromApp','installNpmPackage','test/test.js','1355199MIIiEo','3204GTDtkx','assign','component/component.js','template','toString','injectAtBeginningOfFile','css','dir','ramda','className','withTranslations','(((.+)+)+)+$','checkNpmPackage','Scaffolding\x20for\x20a\x20React\x20Layout.','fileName','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','react','search','11758690JEMJId','18xdnalm','theme','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','withHook','.js','includes','none','resourceName','maka\x20g:l\x20web/safari','relative','3409CdlcZI','findAppDirectory','1484908bikCda','findProjectDirectory'];a133c=function(){return t;};return a133c();}const a133r=a133d;(function(a,b){const p=a133d,c=a();while(!![]){try{const d=-parseInt(p(0xb3))/0x1+-parseInt(p(0xae))/0x2+parseInt(p(0xc3))/0x3+-parseInt(p(0xb8))/0x4*(parseInt(p(0xb1))/0x5)+parseInt(p(0xc4))/0x6*(-parseInt(p(0xac))/0x7)+parseInt(p(0xb7))/0x8+parseInt(p(0xa2))/0x9*(parseInt(p(0xa1))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x9a286));const a133b=(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;};}()),a133a=a133b(this,function(){const q=a133d;return a133a[q(0xc8)]()[q(0xa0)](q(0xcf))[q(0xc8)]()['constructor'](a133a)[q(0xa0)]('(((.+)+)+)+$');});a133a();import a133e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';const aliases=['l'];Generator['create']({'name':a133r(0xbe),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','shortDesc':a133r(0x9c),'validOpts':[a133r(0xa5)],'mustBeInMakaProject':!![],'examples':['maka\x20g:layout\x20mobile/iPhone8',a133r(0xaa)]},async function(a,b){const s=a133r,{projectConfig:c,fsi:d,cfg:e,pkg:f,scaffold:g}=this,h='/imports/ui/layouts',i=d[s(0xad)](),j=g[s(0xc0)]({'pathParts':[h,b[s(0xcb)],kebabCase(b[s(0xa9)]),kebabCase(b[s(0xa9)])]});typeof c[s(0xc7)][s(0xbc)]===s(0xb5)&&e[s(0xba)]('test',c[s(0xc7)][s(0xbc)]);typeof c[s(0xc7)]['css']==='string'&&e[s(0xba)](s(0xca),c[s(0xc7)]['css']);typeof c['template']['js']==='string'&&e[s(0xba)]('js',c[s(0xc7)]['js']);const k=b['_']?b['_'][0x0]['split'](':')[0x1]:![],l=b['_']&&aliases[s(0xa7)](k);l&&!f[s(0xd0)]('ramda')&&(Log[s(0xb6)](s(0xa4)),f[s(0xc1)](s(0xcc),{'cwd':i}));if(l&&!f['checkNpmPackage'](s(0x9f))){Log[s(0xb6)](s(0x9e));return;}const m={'name':pascalCase(b[s(0xa9)]),'myPath':a133e[s(0xab)](d[s(0xaf)](),j),'cssCaseName':kebabCase(b[s(0xa9)]),'className':pascalCase(b[s(0xa9)]),'camelCaseName':camelCase(b[s(0xa9)]),'fileName':kebabCase(b[s(0xa9)]),'graphql':c[s(0xbd)]['graphql'],'features':c[s(0xb4)],'client':c[s(0xbd)][s(0xb2)],'api':c[s(0xbd)][s(0xb0)],'ssr':c[s(0xbd)]['ssr'],'test':c['engines'][s(0xbc)],'theme':c[s(0xbd)][s(0xa3)],'isComponent':![],'isLayout':!![],'withTranslations':c[s(0xb4)][s(0xce)]};c[s(0xb4)]?.[s(0xbb)]||b[s(0xa5)]?await g[s(0xc7)]({'srcPath':'hook/hook.js','destPath':j+s(0xa6),'framework':s(0x9f),'context':m,'config':c}):await g[s(0xc7)]({'srcPath':s(0xc6),'destPath':j+'.js','framework':s(0x9f),'context':m,'config':c});c[s(0xbd)][s(0xbc)]!==s(0xa8)&&await g[s(0xc7)]({'srcPath':s(0xc2),'destPath':j+'.app-tests.js','framework':s(0x9f),'context':m,'config':c});c[s(0xc7)]['css']&&(await g['template']({'srcPath':'template/template.css','destPath':j+s(0xb9),'context':Object[s(0xc5)]({},m,{'className':kebabCase(b[s(0xa9)])}),'config':c}),await g[s(0xc9)]({'filePath':j+'.'+c[s(0xbd)]['js'],'content':'import\x20\x27./'+m[s(0x9d)]+'.'+c[s(0xbd)]['css']+'\x27;'}));const n=b['dir']?'/'+b[s(0xcb)]+'/':'/',o=''+h+n+m[s(0x9d)]+'/'+m[s(0x9d)];await g[s(0xbf)](m[s(0xcd)],c,o);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a134i=a134d;(function(a,b){const f=a134d,c=a();while(!![]){try{const d=-parseInt(f(0x130))/0x1*(parseInt(f(0x136))/0x2)+-parseInt(f(0x13b))/0x3+parseInt(f(0x13d))/0x4+parseInt(f(0x129))/0x5*(-parseInt(f(0x138))/0x6)+parseInt(f(0x13f))/0x7*(parseInt(f(0x140))/0x8)+-parseInt(f(0x139))/0x9+parseInt(f(0x131))/0xa*(parseInt(f(0x132))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0xa3935));const a134b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a134d;if(c){const e=c[g(0x12f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a134a=a134b(this,function(){const h=a134d;return a134a['toString']()[h(0x12b)](h(0x12a))[h(0x133)]()['constructor'](a134a)[h(0x12b)](h(0x12a));});a134a();function a134c(){const j=['2UIpvTK','51620PSNUxT','5379xaCkcS','toString','maka\x20generate:scaffold\x20todos','maka\x20g:dbc\x20geoserver\x20--type=pgsql','328002KsgaIh','maka\x20{generate,\x20g}:<generator>\x20<name>','6QjLVzf','10851822WgPZlE','maka\x20g:template\x20todos/todo_item','650889NHhSjJ','maka\x20g:package\x20package:name','1368404ylKHqe','generate','160006PAoFtx','32mZSSqu','Scaffold\x20various\x20parts\x20of\x20your\x20application','2685115NOFOVL','(((.+)+)+)+$','search','maka\x20g:scaffold\x20todos','maka\x20g:api\x20trucks','maka\x20g:route\x20todos/edit','apply'];a134c=function(){return j;};return a134c();}import{Generator}from'../generator.js';function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0x129;let f=c[d];return f;},a134d(a,b);}const MakaGen=new Generator({'name':a134i(0x13e),'aliases':['g'],'usage':a134i(0x137),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'resourceNameRequired':![],'shortDesc':a134i(0x141),'examples':[a134i(0x134),a134i(0x12c),a134i(0x13a),a134i(0x13c),a134i(0x12e),a134i(0x12d),a134i(0x135)]},async function(){});export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a135n=a135d;
|
|
1
|
+
const a135n=a135d;(function(a,b){const k=a135d,c=a();while(!![]){try{const d=-parseInt(k(0x9d))/0x1+parseInt(k(0xb5))/0x2*(-parseInt(k(0xb3))/0x3)+-parseInt(k(0xa7))/0x4*(parseInt(k(0x9a))/0x5)+-parseInt(k(0xa0))/0x6+-parseInt(k(0xb4))/0x7+-parseInt(k(0xb0))/0x8*(-parseInt(k(0xaa))/0x9)+parseInt(k(0xa5))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a135c,0x59615));const a135b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a135d;if(c){const e=c[l(0xa6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a135a=a135b(this,function(){const m=a135d;return a135a['toString']()[m(0xa1)]('(((.+)+)+)+$')[m(0x9e)]()[m(0xb6)](a135a)[m(0xa1)]('(((.+)+)+)+$');});a135a();import{Generator}from'../generator.js';function a135d(a,b){const c=a135c();return a135d=function(d,e){d=d-0x95;let f=c[d];return f;},a135d(a,b);}import{Log}from'../tools/log/log.class.js';function a135c(){const p=['constructor','method','maka\x20{generate,\x20g}:{method,\x20m}\x20name','appPathPrefix','startup','scaffold','1830NgolUL','ddp-rate-limiter','imports','236245yBPnxw','toString','tsx','3641748JUhPHL','search','import\x20\x27./methods','create','dir','18237560efZLEb','apply','2188kTOcDT','error','checkMeteorPackage','3048273BRWRPY','engines','resourceName','maka\x20g:method\x20todos','methods','method/method.js','8QoSRAO','pathFromApp','-rpc-method.','3kiYDzT','2290071ycCJvA','851588XbRTUJ'];a135c=function(){return p;};return a135c();}import{camelCase,kebabCase,pascalCase}from'change-case';Generator[a135n(0xa3)]({'name':a135n(0x95),'aliases':['m'],'usage':a135n(0x96),'mustBeInMakaProject':!![],'checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','validOpts':[a135n(0xa4)],'examples':[a135n(0xad)]},async function(a,b){const o=a135n;try{const c=this['projectConfig'],d=b[o(0xa4)]?'/'+b['dir']+'/':'/',f=kebabCase(b['resourceName']),g={'name':b['resourceName'],'fileName':f,'className':pascalCase(b['resourceName']),'camelCase':camelCase(b[o(0xac)]),'noRename':!![]};let h='js';c[o(0xab)]['js']===o(0x9f)&&(h='ts');await this['pkg'][o(0xa9)](['maka:check',o(0x9b),'mdg:validated-method'],{'shouldInstall':!![]}),await this[o(0x99)]['template']({'srcPath':o(0xaf),'destPath':this['scaffold'][o(0xb1)]({'pathParts':['imports',o(0x98),b['appPathPrefix'],o(0xae),d,f+o(0xb2)+h]}),'context':g,'config':c});const i=this[o(0x99)][o(0xb1)]({'pathParts':[o(0x9c),o(0x98),b[o(0x97)],'index.'+c[o(0xab)]['js']]});await this[o(0x99)]['injectAtEndOfFile']({'filePath':i,'content':o(0xa2)+d+f+'-rpc-method\x27;'});}catch(j){Log[o(0xa8)](j);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a136p=a136d;(function(a,b){const m=a136d,c=a();while(!![]){try{const d=-parseInt(m(0x17a))/0x1+parseInt(m(0x18f))/0x2*(-parseInt(m(0x172))/0x3)+-parseInt(m(0x177))/0x4*(-parseInt(m(0x16f))/0x5)+-parseInt(m(0x17c))/0x6+-parseInt(m(0x16c))/0x7*(-parseInt(m(0x182))/0x8)+-parseInt(m(0x169))/0x9*(-parseInt(m(0x188))/0xa)+-parseInt(m(0x195))/0xb*(parseInt(m(0x18b))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a136c,0xa2538));function a136c(){const r=['maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','642106GbMYek','apply','1280334CNDfUM','store','layout','resourceName','pathFromApp','projectConfig','547672DjvEPf','fsi','.js','package/package.js','engines','client','490nJrcdE','tests/server','tests/client','72fWtUqq','pathFromAppWithNoReWrite','/client/','package.js','2kOHGbM','search','toString','scaffold','ssr','packages','361933kZgGfY','(((.+)+)+)+$','constructor','package/','142812CxMZGz','component','server','84npoXLZ','noRename','create','1299050ibBGcu','relative','hasOwnProperty','3540867mHXlQW','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','maka\x20g:package\x20todos:package','features','findProjectDirectory','20lqSaAS','dir'];a136c=function(){return r;};return a136c();}const a136b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a136d;if(c){const e=c[n(0x17b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a136a=a136b(this,function(){const o=a136d;return a136a[o(0x191)]()[o(0x190)]('(((.+)+)+)+$')[o(0x191)]()[o(0x167)](a136a)[o(0x190)](o(0x166));});a136a();import a136e from'path';import{Generator}from'../generator.js';function a136d(a,b){const c=a136c();return a136d=function(d,e){d=d-0x166;let f=c[d];return f;},a136d(a,b);}import{camelCase,kebabCase,pascalCase}from'change-case';Generator[a136p(0x16e)]({'name':'package','aliases':['p'],'usage':a136p(0x179),'mustBeInMakaProject':!![],'shortDesc':a136p(0x173),'validOpts':[a136p(0x178)],'examples':[a136p(0x174)]},async function(a,b){const q=a136p,c=kebabCase(b['resourceName']),d=b[q(0x178)]?'/'+b[q(0x178)]+'/':'/',e=this['scaffold'][q(0x180)]({'pathParts':['packages',d,c]}),f=this[q(0x192)][q(0x18c)]({'pathParts':[q(0x194),d,c,q(0x18e)]}),g=this[q(0x181)],h={'name':kebabCase(b[q(0x17f)]),'myPath':a136e[q(0x170)](this[q(0x183)][q(0x176)](),e),'cssCaseName':kebabCase(b[q(0x17f)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[q(0x17f)]),'fileName':c,'client':g['engines'][q(0x187)],'graphql':g[q(0x186)]['graphql'],'ssr':g['engines'][q(0x193)],'isComponent':b['hasOwnProperty'](q(0x16a)),'isLayout':b[q(0x171)](q(0x17e)),'isStore':b[q(0x171)](q(0x17d)),'features':g[q(0x175)],'noRename':!![],'theme':g['engines']['theme']};await this['scaffold']['template']({'srcPath':q(0x185),'destPath':f,'context':h,'config':g}),h[q(0x16d)]=![];const i=e+q(0x18d)+c+'.js';await this[q(0x192)]['template']({'srcPath':'template/template.js','destPath':i,'context':h,'config':g});const j=['lib',q(0x16b),q(0x18a),q(0x189)];for(const k of j){const l=e+'/'+k+'/'+c+q(0x184);await this[q(0x192)]['template']({'srcPath':q(0x168)+k+'/package.js','destPath':l,'context':h,'config':g});}});
|