@maka/maka-cli 4.12.6 → 4.12.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/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 a116r=a116d;
|
|
1
|
+
const a116r=a116d;(function(a,b){const o=a116d,c=a();while(!![]){try{const d=parseInt(o(0x8c))/0x1+parseInt(o(0x8a))/0x2*(-parseInt(o(0xaa))/0x3)+parseInt(o(0x97))/0x4*(-parseInt(o(0x79))/0x5)+parseInt(o(0xa8))/0x6*(-parseInt(o(0x7a))/0x7)+-parseInt(o(0xa0))/0x8*(parseInt(o(0x86))/0x9)+-parseInt(o(0xb0))/0xa*(-parseInt(o(0x98))/0xb)+-parseInt(o(0x7d))/0xc*(-parseInt(o(0xa9))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x4b93d));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a116d;if(c){const e=c[p(0x8d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const q=a116d;return a116a['toString']()[q(0xac)](q(0xa4))['toString']()[q(0x7f)](a116a)['search'](q(0xa4));});function a116c(){const u=['kit:auth:provider','constructor','const\x20deauthenticateUser','checkMeteorPackage','findProjectDirectory','create','injectImport','const\x20authenticateUser','381825DHVmOe','meteor/meteor','server','const\x20resetPasswordWithToken','743174bqDUEC','REACT','248004bBkFBg','apply','const\x20registerNewUser','error','react','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','startup','return\x20\x5c(','fsi','Accounts','\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','372lhcYMK','11UgIryl','\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','export\x20const\x20AuthProvider','index','injectIntoCodeBlock','/imports/startup/client','\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','authentication-provider','32eopwRA','Meteor.publish','AuthService','meteor','(((.+)+)+)+$','meteor/maka:react-tracker','imports','processAndRunGenerator','29154FnVMsi','13HhvLiO','3CsZSmO','.js','search','const\x20sendForgotPasswordEmail','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','\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','4894270HBxLyj','/imports/startup/lib/authentication-service','publish','template','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','\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','force','engines','28355RFDNfd','161aYBjSz','\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','Meteor','9030972sNyugG'];a116c=function(){return u;};return a116c();}a116a();function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x73;let f=c[d];return f;},a116d(a,b);}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a116e from'./auth.generator.js';import a116f from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a116r(0x83)]({'name':a116r(0xa3),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','shortDesc':a116r(0xae),'validOpts':[a116r(0x77)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a116r(0x8b)]},'description':a116r(0x96)},async function(a,b){const s=a116r;try{const c=b[s(0x77)]||![];await this[s(0x94)][s(0x81)](['accounts-password','alanning:roles'],{'shouldInstall':!![]});const d=this[s(0x94)][s(0x82)](),f=this[s(0x94)]['getMakaProjectConfig'](),g=f['engines']['ssr']==='true';await a116f[s(0xa7)](s(0x7e),[],{'force':c,'cwd':d,'config':f});const h=await a116f['processAndRunGenerator'](s(0x73),['auth/roles'],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?'/imports/startup/lib':s(0x9d),j=this[s(0x94)]['pathFromApp']({'pathParts':[i,'','','authentication-service']});await this['fsi']['withValue'](f,async()=>{const t=s;await this['fsi'][t(0x74)]({'srcPath':'kit/auth/service/meteor-auth-service.js','destPath':j+t(0xab),'framework':t(0x90),'context':{},'config':f,'force':c,'ignore':![]});});const k=this[s(0x94)]['pathFromApp']({'pathParts':[i,'','',s(0x9f)]}),l=f[s(0x78)]['js'];await this[s(0x94)][s(0x84)]({'filePath':k+'.'+l,'importName':s(0xa2),'modulePath':g?s(0xb1):'/imports/startup/client/authentication-service','isNamedExport':![]}),await this[s(0x94)][s(0x9c)]({'filePath':k+'.'+l,'content':s(0xaf),'begin':s(0x85),'replace':!![]}),await this[s(0x94)][s(0x9c)]({'filePath':k+'.'+l,'content':s(0x7b),'begin':'const\x20authenticateToken','replace':!![]}),await this[s(0x94)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x99),'begin':'const\x20getUserAuthorizations','replace':!![]}),await this[s(0x94)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x91),'begin':s(0x80),'replace':!![]}),await this[s(0x94)][s(0x9c)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','begin':s(0xad),'replace':!![]}),await this[s(0x94)][s(0x9c)]({'filePath':k+'.'+l,'content':s(0x75),'begin':s(0x8e),'replace':!![]}),await this['fsi'][s(0x9c)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','begin':s(0x89),'replace':!![]});g&&(await this[s(0x94)]['injectImport']({'filePath':k+'.'+l,'importName':'useTracker','modulePath':s(0xa5),'isNamedExport':!![]}),await this[s(0x94)]['injectIntoFile']({'filePath':k+'.'+l,'content':s(0x9e),'begin':s(0x9a),'end':s(0x93)}));await this[s(0x94)][s(0x84)]({'filePath':h,'importName':s(0x7c),'modulePath':s(0x87),'isNamedExport':!![],'injectAtStart':!![]}),await this['fsi'][s(0x9c)]({'filePath':h,'content':s(0x76),'begin':s(0xa1),'replace':!![]});const m=this[s(0x94)]['pathFromApp']({'pathParts':[s(0xa6),s(0x92),s(0x88),s(0x9b)]});await this['fsi'][s(0x84)]({'filePath':m+'.'+l,'importName':s(0x95),'modulePath':'meteor/accounts-base','isNamedExport':!![]}),await this[s(0x94)][s(0x9c)]({'filePath':m+'.'+l,'content':'\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','begin':'Meteor.startup','replace':!![]});}catch(n){Log[s(0x8f)](n),process['exit'](0x1);}},async function(){},a116e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a117w=a117d;(function(a,b){const u=a117d,c=a();while(!![]){try{const d=parseInt(u(0x98))/0x1*(-parseInt(u(0x92))/0x2)+parseInt(u(0x9c))/0x3+-parseInt(u(0xa5))/0x4*(parseInt(u(0x99))/0x5)+parseInt(u(0xaf))/0x6+-parseInt(u(0x81))/0x7+parseInt(u(0x7e))/0x8*(-parseInt(u(0xa1))/0x9)+parseInt(u(0x85))/0xa*(parseInt(u(0xa4))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xd20c9));const a117b=(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;};}()),a117a=a117b(this,function(){const v=a117d;return a117a['toString']()[v(0x83)]('(((.+)+)+)+$')[v(0x90)]()[v(0x94)](a117a)[v(0x83)](v(0x8e));});a117a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a117e from'./auth.generator.js';function a117c(){const z=['injectImport','toString','function\x20Routes','2ynZubj','error','constructor','REACT','const\x20Routes','<AuthProvider>','1005292iRSbBi','40vsHJff','AuthProvider','fsi','4542009QBWZji','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','create','<Routes\x20history={history}/>','/imports/startup/lib','1737GYWAPR','</AuthProvider>','pathFromApp','11zTVXvt','858128mFzNAK','.js','/imports/startup/client','force','useContext','exit','/imports/startup/client/authentication-provider','react','replaceAll','authentication-provider','6858102eDSXkk','provider','split','40032yVGcCg','AuthContext','\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','1239147kPWIYq','bright','search','/imports/startup/client/index','20676820OxPRSB','/routes','ssr','withValue','injectAroundString','true','getMakaProjectConfig','/imports/startup/lib/authentication-provider','/imports/startup/server/index','(((.+)+)+)+$'];a117c=function(){return z;};return a117c();}function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x7e;let f=c[d];return f;},a117d(a,b);}import{headerCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a117w(0x9e)]({'name':a117w(0xb0),'aliases':['p'],'usage':a117w(0x9d),'shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','validOpts':[a117w(0xa8)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a117w(0x95)]},'description':a117w(0x80)},async function(a,b){const x=a117w;try{const c=b['force']||![];Log[x(0x82)]('Creating\x20an\x20AuthProvider\x20and\x20AuthContext');const d=this[x(0x9b)][x(0x8b)](),f=d['engines'][x(0x87)]===x(0x8a),g={'name':headerCase(d['appName'])[x(0xad)]('-','\x20')},h=f?x(0xa0):x(0xa7),i=this[x(0x9b)][x(0xa3)]({'pathParts':[h,'','',x(0xae)]});await this[x(0x9b)][x(0x88)](d,async()=>{const y=x;await this[y(0x9b)]['template']({'srcPath':'kit/auth/provider/authentication-provider.js','destPath':i+y(0xa6),'framework':y(0xac),'context':g,'config':d,'force':c,'ignore':![]});});const j=d['engines']['js'],k=h+x(0x86),l=k[x(0xb1)]('/'),m=this['fsi']['pathFromApp']({'pathParts':l});await this[x(0x9b)][x(0x8f)]({'filePath':m+'.'+j,'importName':x(0x7f),'modulePath':f?x(0x8c):x(0xab),'isNamedExport':!![]}),await this[x(0x9b)][x(0x8f)]({'filePath':m+'.'+j,'importName':x(0xa9),'modulePath':'react','isNamedExport':!![],'injectAtStart':!![]}),await this[x(0x9b)]['injectIntoCodeBlock']({'filePath':m+'.'+j,'content':'\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','begin':[x(0x96),x(0x91)],'replace':!![]});const n=x(0x84),o=n['split']('/'),p=this[x(0x9b)]['pathFromApp']({'pathParts':o});await this[x(0x9b)]['injectImport']({'filePath':p+'.'+j,'importName':'AuthProvider','modulePath':f?x(0x8c):x(0xab),'isNamedExport':!![]}),await this[x(0x9b)]['injectAroundString']({'filePath':p+'.'+j,'aboveContent':'<AuthProvider>','belowContent':x(0xa2),'targetString':'<Routes\x20history={browserHistory}/>','indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=x(0x8d),r=q[x(0xb1)]('/'),s=this[x(0x9b)][x(0xa3)]({'pathParts':r});await this[x(0x9b)][x(0x8f)]({'filePath':s+'.'+j,'importName':x(0x9a),'modulePath':f?x(0x8c):x(0xab),'isNamedExport':!![]}),await this[x(0x9b)][x(0x89)]({'filePath':s+'.'+j,'aboveContent':x(0x97),'belowContent':x(0xa2),'targetString':x(0x9f),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[x(0x93)](t),process[x(0xaa)](0x1);}},async function(){},a117e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a118d,c=a();while(!![]){try{var d
|
|
1
|
+
function a118c(){var h=['173520pCiOqr','725238zhQbCT','(((.+)+)+)+$','constructor','94HQRmSh','26736IjzVjx','1287wBJhAO','2976NLXanl','search','263354pXKTDU','656485PWuSzV','553lQkuZw','10aKKPRU','18ejMbzK','848252RNjEjQ'];a118c=function(){return h;};return a118c();}(function(a,b){var f=a118d,c=a();while(!![]){try{var d=-parseInt(f(0x1d7))/0x1+parseInt(f(0x1e1))/0x2*(-parseInt(f(0x1e2))/0x3)+-parseInt(f(0x1dc))/0x4+-parseInt(f(0x1d8))/0x5*(parseInt(f(0x1db))/0x6)+parseInt(f(0x1d9))/0x7*(-parseInt(f(0x1d5))/0x8)+-parseInt(f(0x1de))/0x9*(parseInt(f(0x1da))/0xa)+-parseInt(f(0x1d4))/0xb*(-parseInt(f(0x1dd))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x47b2e));function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x1d4;var f=c[d];return f;},a118d(a,b);}var a118b=(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;};}()),a118a=a118b(this,function(){var g=a118d;return a118a['toString']()[g(0x1d6)](g(0x1df))['toString']()[g(0x1e0)](a118a)[g(0x1d6)](g(0x1df));});a118a();import'./esri.generator.js';import'./map.esri.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a119i=a119d;(function(a,b){const f=a119d,c=a();while(!![]){try{const d=parseInt(f(
|
|
1
|
+
const a119i=a119d;(function(a,b){const f=a119d,c=a();while(!![]){try{const d=parseInt(f(0x1c4))/0x1*(-parseInt(f(0x1c8))/0x2)+parseInt(f(0x1d3))/0x3*(-parseInt(f(0x1bf))/0x4)+-parseInt(f(0x1c3))/0x5+parseInt(f(0x1c2))/0x6*(-parseInt(f(0x1c1))/0x7)+-parseInt(f(0x1cd))/0x8*(-parseInt(f(0x1cb))/0x9)+-parseInt(f(0x1ce))/0xa*(-parseInt(f(0x1c9))/0xb)+parseInt(f(0x1d5))/0xc*(parseInt(f(0x1c6))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xb0fac));function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x1bf;let f=c[d];return f;},a119d(a,b);}const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a119d;if(c){const e=c[g(0x1d0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const h=a119d;return a119a[h(0x1d2)]()[h(0x1c7)]('(((.+)+)+)+$')[h(0x1d2)]()[h(0x1cf)](a119a)['search'](h(0x1d1));});a119a();import{Generator}from'../../../generator.js';import a119e from'../kit.js';function a119c(){const k=['477986EhggLA','726eSmKVf','maka\x20g:kit:e','9KJVLxE','Esri\x20Kit\x20generated\x20successfully','3289312MNRvAR','197280oZwfIH','constructor','apply','(((.+)+)+)+$','toString','179583uaxHJG','\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','60CvoXwP','/foo/bar','4xGJjyr','esri','7bKiutT','3746826RibQWE','1812620SJBDDf','1jFAGSe','/foo','773617NJaJjC','search'];a119c=function(){return k;};return a119c();}const EsriGen=Generator['create']({'name':a119i(0x1c0),'aliases':['e'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','noNeedResource':!![],'shortDesc':'Starting\x20point\x20for\x20generating\x20Esri\x20Maps','validOpts':[''],'isPro':!![],'examples':[a119i(0x1ca)],'description':a119i(0x1d4)},async function(){const j=a119i;return{'success':!![],'message':j(0x1cc),'details':{'filesCreated':[j(0x1d6)],'filesUpdated':[j(0x1c5)]}};},async function(){},a119e);export default EsriGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a120s=a120d;(function(a,b){const p=a120d,c=a();while(!![]){try{const d=-parseInt(p(0x12d))/0x1+-parseInt(p(0x106))/0x2+-parseInt(p(0x129))/0x3*(-parseInt(p(0x134))/0x4)+parseInt(p(0x10c))/0x5*(-parseInt(p(0x109))/0x6)+-parseInt(p(0x126))/0x7+parseInt(p(0x12e))/0x8+parseInt(p(0x116))/0x9*(parseInt(p(0x12f))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0xb5ef6));function a120c(){const v=['baseDir','2244UGWljH','replaceAll','true','dir','injectIntoFile','withValue','2108186okiTmp','engines','template','6TvyVbG','kit/esri/map/','checkNpmPackage','4056935nsTPXS','</div>','exit','apply','injectImport','injectTemplateModule','Generating\x20a\x20map\x20component','react','constructor','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','9FnABQK','FALSE','esri-loader','pathFromApp','error','/imports/ui/hooks','.js','search','toString','(((.+)+)+)+$','ssr','/imports/ui/','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','\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','Generate\x20an\x20Esri\x20map\x20component','create','8893850uCZfPE','fsi','<div\x20id=\x22map\x22>','7638AMuPrq','page','findProjectDirectory','getMakaProjectConfig','945140gCKFoV','4866808KRSTjy','27897190xAKNkQ','processAndRunGenerator','map','@esri/react-arcgis'];a120c=function(){return v;};return a120c();}const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a120d;if(c){const e=c[q(0x10f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const r=a120d;return a120a[r(0x11e)]()[r(0x11d)]('(((.+)+)+)+$')[r(0x11e)]()[r(0x114)](a120a)[r(0x11d)](r(0x11f));});a120a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a120e from'./esri.generator.js';import a120f from'../../../generators/maka.gen.js';import{paramCase,headerCase,pascalCase}from'change-case';function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x102;let f=c[d];return f;},a120d(a,b);}import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a120s(0x125)]({'name':a120s(0x131),'aliases':['m'],'usage':a120s(0x115),'shortDesc':a120s(0x124),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT'],'ssr':SsrEngines[a120s(0x117)]},'description':a120s(0x123)},async function(a,b){const t=a120s;try{Log['bright'](t(0x112));const c='basic-map';await this['fsi'][t(0x10b)]([t(0x132),t(0x118)],{'shouldInstall':!![]});const d=this[t(0x127)][t(0x12b)](),f=this['fsi'][t(0x12c)](),g=f[t(0x107)][t(0x120)]===t(0x102),h=await a120f[t(0x130)](t(0x12a),[t(0x131)],{'cwd':d,'config':f}),i={'name':headerCase(f['appName'])[t(0x135)]('-','\x20'),'componentName':pascalCase(c)},j=b['baseDir']?t(0x121)+b[t(0x133)]:t(0x11b),k=this['fsi'][t(0x119)]({'pathParts':[j,b[t(0x103)],paramCase(c),paramCase(c)]});await this[t(0x127)][t(0x105)](f,async()=>{const u=t;await this['fsi'][u(0x108)]({'srcPath':u(0x10a)+c+u(0x11c),'destPath':k+u(0x11c),'framework':u(0x113),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[t(0x103)]+'/'+c+'/'+c;await this[t(0x127)][t(0x111)](c,f,l);const m=h['split']('/'),n=this[t(0x127)]['pathFromApp']({'pathParts':m});await this[t(0x127)][t(0x110)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?'/imports/startup/lib/templates':'/imports/startup/client/templates','isNamedExport':!![]}),await this[t(0x127)][t(0x104)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+t(0x122),'begin':[t(0x128),'<div\x20id=\x22map\x22>'],'end':[t(0x10d)],'replace':!![]});}catch(o){Log[t(0x11a)](o),process[t(0x10e)](0x1);}},async function(){},a120e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x1ad;let f=c[d];return f;},a121d(a,b);}const a121i=a121d;(function(a,b){const f=a121d,c=a();while(!![]){try{const d=parseInt(f(0x1ae))/0x1*(-parseInt(f(0x1bf))/0x2)+-parseInt(f(0x1bc))/0x3*(parseInt(f(0x1bb))/0x4)+-parseInt(f(0x1c1))/0x5+parseInt(f(0x1b4))/0x6*(parseInt(f(0x1b9))/0x7)+parseInt(f(0x1bd))/0x8*(parseInt(f(0x1b6))/0x9)+-parseInt(f(0x1b7))/0xa+parseInt(f(0x1b1))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0xe750d));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a121d;if(c){const e=c[g(0x1b8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const h=a121d;return a121a[h(0x1b2)]()['search'](h(0x1ba))['toString']()[h(0x1ad)](a121a)[h(0x1b3)](h(0x1ba));});a121a();import{Generator}from'../../generator.js';const KitGen=Generator[a121i(0x1b0)]({'name':a121i(0x1af),'aliases':['k'],'usage':a121i(0x1c0),'shortDesc':a121i(0x1b5),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a121i(0x1be),'maka\x20g:k']},async function(){});export default KitGen;function a121c(){const j=['search','5101884IVJBqS','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','153ofGfjz','16663660xDLSLS','apply','7BARjeW','(((.+)+)+)+$','12MyiUOC','647562AuiEvW','527080BGwnQv','maka\x20g:kit','2937756impquF','maka\x20{generate,\x20g}:{kit}\x20<name>','6798515PZhHgl','constructor','1SRGrZT','kit','create','45315809dOFmTp','toString'];a121c=function(){return j;};return a121c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a122d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a122d,c=a();while(!![]){try{var d=-parseInt(f(0x10b))/0x1*(-parseInt(f(0x10c))/0x2)+-parseInt(f(0x105))/0x3*(parseInt(f(0x110))/0x4)+parseInt(f(0x103))/0x5*(-parseInt(f(0x108))/0x6)+parseInt(f(0x102))/0x7+parseInt(f(0x104))/0x8*(parseInt(f(0x111))/0x9)+-parseInt(f(0x10f))/0xa+-parseInt(f(0x107))/0xb*(-parseInt(f(0x101))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x685e1));var a122b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a122d;if(c){var e=c[g(0x10e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){var h=a122d;return a122a[h(0x106)]()['search'](h(0x109))[h(0x106)]()[h(0x10d)](a122a)[h(0x10a)](h(0x109));});a122a();function a122d(a,b){var c=a122c();return a122d=function(d,e){d=d-0x101;var f=c[d];return f;},a122d(a,b);}import'./mui.generator.js';import'./frame.mui.gen.js';function a122c(){var i=['5832561RoVZpG','5umXftV','2352328Rgoiim','3KHPxHV','toString','2046dSZjSB','5026422ymBemY','(((.+)+)+)+$','search','29659uUfvCs','30bcJMvI','constructor','apply','4867790NOaXFY','78888gykmpg','9SwjfqL','12876kgrlPa'];a122c=function(){return i;};return a122c();}import'./auth.mui.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a123J=a123d;(function(a,b){const G=a123d,c=a();while(!![]){try{const d=-parseInt(G(0x13e))/0x1+parseInt(G(0x134))/0x2*(-parseInt(G(0x12e))/0x3)+-parseInt(G(0x104))/0x4+parseInt(G(0x10b))/0x5*(-parseInt(G(0x132))/0x6)+-parseInt(G(0x129))/0x7*(parseInt(G(0x127))/0x8)+-parseInt(G(0x139))/0x9*(parseInt(G(0x113))/0xa)+-parseInt(G(0x105))/0xb*(-parseInt(G(0x12a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x39b5f));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a123d;if(c){const e=c[H(0x111)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const I=a123d;return a123a[I(0x107)]()['search'](I(0x135))[I(0x107)]()['constructor'](a123a)[I(0x13f)]('(((.+)+)+)+$');});function a123c(){const N=['/imports/startup/client/authentication-provider','8817cVKeGc','route','kit:auth:meteor','injectTemplateModule','6UlbwfF','AuthContext','132bvrlVJ','(((.+)+)+)+$','basic-forgot-password-page','kit/mui/auth/forgot-password/','force','45iTbuRf','ssr','baseDir','kit/mui/auth/logout/','/imports/startup/lib/authentication-provider','114014oesDii','search','split','kit:auth:provider','/imports/ui/pages/auth','REACT','appName','1515664OSasgS','20152429sNZUDS','meteor','toString','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','kit/mui/auth/register/','.js','1583905uwMuPW','forgot-password','dir','engines','pathFromApp','options','apply','template','247980IPNGwr','findProjectDirectory','injectImport','basic-register-page','register','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','Meteor\x20Accounts','replaceAll','list','maka\x20g:k:m:f','maka\x20generate:kit:mui:frame','fsi','processAndRunGenerator','kit/mui/auth/login/','/imports/ui/','reset-password/:token','Custom\x20(roll\x20your\x20own)','react','basic-logout-page','error','8QVcjzx','basic-login-page','3275867IXrkzk','12iTTJkY','Cleaning\x20up...','kit/mui/auth/password-reset/'];a123c=function(){return N;};return a123c();}a123a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a123e from'../../../generators/maka.gen.js';import a123f from'./mui.generator.js';function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x103;let f=c[d];return f;},a123d(a,b);}import{paramCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':'auth','aliases':['a'],'usage':a123J(0x108),'shortDesc':a123J(0x118),'validOpts':['layouts',a123J(0x138)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines[a123J(0x143)]},'examples':[a123J(0x11d),a123J(0x11c)],'description':'\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20'},async function(a,b){const K=a123J;try{const c=b[K(0x138)]||![],d=this[K(0x11e)][K(0x114)](),f=this[K(0x11e)]['getMakaProjectConfig'](),{authType:g}=await Actions[K(0x110)]({'type':K(0x11b),'name':'authType','message':'What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','choices':[{'name':K(0x119),'value':K(0x106)},{'name':K(0x123),'value':'custom'}]}),h='basic-login-page',i='basic-logout-page',j=K(0x116),k='basic-password-reset-page',l=K(0x136),m=b[K(0x13b)]?K(0x121)+b[K(0x13b)]:K(0x142),n=this['fsi'][K(0x10f)]({'pathParts':[m,b[K(0x10d)],paramCase(h),paramCase(h)]}),o=this[K(0x11e)][K(0x10f)]({'pathParts':[m,b[K(0x10d)],paramCase(i),paramCase(i)]}),p=this[K(0x11e)][K(0x10f)]({'pathParts':[m,b[K(0x10d)],paramCase(j),paramCase(j)]}),q=this[K(0x11e)][K(0x10f)]({'pathParts':[m,b[K(0x10d)],paramCase(k),paramCase(k)]}),r=this[K(0x11e)][K(0x10f)]({'pathParts':[m,b['dir'],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[K(0x103)])[K(0x11a)]('-','\x20')};await this[K(0x11e)]['withValue'](f,async()=>{const L=K;await this[L(0x11e)][L(0x112)]({'srcPath':L(0x120)+h+'.js','destPath':n+L(0x10a),'framework':L(0x124),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi']['template']({'srcPath':L(0x13c)+i+L(0x10a),'destPath':o+L(0x10a),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x11e)]['template']({'srcPath':L(0x109)+j+L(0x10a),'destPath':p+L(0x10a),'framework':L(0x124),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x11e)][L(0x112)]({'srcPath':L(0x12c)+k+L(0x10a),'destPath':q+L(0x10a),'framework':L(0x124),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi'][L(0x112)]({'srcPath':L(0x137)+l+'.js','destPath':r+L(0x10a),'framework':'react','context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[K(0x10d)]+'/'+h+'/'+h;await this[K(0x11e)]['injectTemplateModule'](h,f,t);const u=''+m+b['dir']+'/'+i+'/'+i;await this[K(0x11e)][K(0x131)](i,f,u);const v=''+m+b[K(0x10d)]+'/'+j+'/'+j;await this[K(0x11e)][K(0x131)](j,f,v);const w=''+m+b['dir']+'/'+k+'/'+k;await this[K(0x11e)][K(0x131)](k,f,w);const x=''+m+b[K(0x10d)]+'/'+l+'/'+l;await this[K(0x11e)][K(0x131)](l,f,x),await a123e['processAndRunGenerator'](K(0x12f),[K(0x128)],{'url':'login','cwd':d,'config':f}),await a123e[K(0x11f)]('route',[K(0x125)],{'url':'logout','private':!![],'cwd':d,'config':f}),await a123e[K(0x11f)](K(0x12f),['basic-register-page'],{'url':K(0x117),'cwd':d,'config':f}),await a123e['processAndRunGenerator'](K(0x12f),['basic-password-reset-page'],{'url':K(0x122),'cwd':d,'config':f}),await a123e['processAndRunGenerator'](K(0x12f),[K(0x136)],{'url':K(0x10c),'cwd':d,'config':f});g===K(0x106)&&await a123e[K(0x11f)](K(0x130),[],{'force':c,'cwd':d,'config':f});g==='custom'&&await a123e['processAndRunGenerator'](K(0x141),[],{'force':c,'cwd':d,'config':f});const y=f['engines'][K(0x13a)]==='true',z=f[K(0x10e)]['js'],A=this[K(0x11e)]['pathFromApp']({'pathParts':t[K(0x140)]('/')});await this['fsi'][K(0x115)]({'filePath':A+'.'+z,'importName':'AuthContext','modulePath':y?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]});const B=this[K(0x11e)][K(0x10f)]({'pathParts':u['split']('/')});await this[K(0x11e)][K(0x115)]({'filePath':B+'.'+z,'importName':K(0x133),'modulePath':y?K(0x13d):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const C=this[K(0x11e)][K(0x10f)]({'pathParts':v['split']('/')});await this[K(0x11e)][K(0x115)]({'filePath':C+'.'+z,'importName':K(0x133),'modulePath':y?K(0x13d):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const D=this['fsi'][K(0x10f)]({'pathParts':w['split']('/')});await this[K(0x11e)]['injectImport']({'filePath':D+'.'+z,'importName':K(0x133),'modulePath':y?K(0x13d):K(0x12d),'isNamedExport':!![]});const E=this[K(0x11e)]['pathFromApp']({'pathParts':x[K(0x140)]('/')});await this[K(0x11e)]['injectImport']({'filePath':E+'.'+z,'importName':K(0x133),'modulePath':y?'/imports/startup/lib/authentication-provider':K(0x12d),'isNamedExport':!![]});}catch(F){Log[K(0x126)](F);}},async function(){const M=a123J;console['log'](M(0x12b));},a123f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a124E=a124d;(function(a,b){const B=a124d,c=a();while(!![]){try{const d=-parseInt(B(
|
|
1
|
+
const a124E=a124d;(function(a,b){const B=a124d,c=a();while(!![]){try{const d=-parseInt(B(0xce))/0x1+-parseInt(B(0xb9))/0x2*(parseInt(B(0xcf))/0x3)+parseInt(B(0x98))/0x4+-parseInt(B(0x9b))/0x5*(parseInt(B(0xa2))/0x6)+parseInt(B(0xd4))/0x7+-parseInt(B(0xcc))/0x8+parseInt(B(0xd0))/0x9*(parseInt(B(0xac))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x6907a));function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x8e;let f=c[d];return f;},a124d(a,b);}const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a124d;if(c){const e=c[C(0xd5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const D=a124d;return a124a['toString']()[D(0xa0)](D(0xb7))[D(0xb2)]()[D(0xc5)](a124a)[D(0xa0)](D(0xb7));});a124a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a124e from'path';import a124f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';function a124c(){const I=['constructor','maka:react-tracker','{\x20props.children\x20}','log','/imports/startup/client/templates','getDirectories','Box','6076992keuhiz','layouts','176872RrpUzy','696MsVPkK','9svLvVG','fsi','basic-app-bar','injectImport','1841469jLwPYc','apply','{\x20this.props.children\x20}','</div>','injectTemplateModule','@mui/material/Container','\x20/>\x0a','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</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>','ssr','create','force','tests','240128qbgiSB','kit/mui/frame/drawers/','injectIntoFile','1296865ZsSxvs','@mui/material/Box','template','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','engines','search','tsx','6QXRVJC','frame','{this.props.children}','test','jsx','REACT','react','true','injectAroundString','No\x20layouts\x20selected','16289320EKwMki','getMakaProjectConfig','{props.children}','pathFromApp','.js','/imports/startup/lib/templates','toString','maka\x20g:k:m:f','app-tests','imports','length','(((.+)+)+)+$','checkbox','2810AcoSfx','<div\x20id=\x22','replaceAll','MATERIAL','session','-hook\x22>','dir','Cleaning\x20up...','checkMeteorPackage','baseDir','join','getFiles'];a124c=function(){return I;};return a124c();}import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a124E(0x95)]({'name':a124E(0xa3),'aliases':['f'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','shortDesc':a124E(0x9e),'validOpts':[a124E(0xcd),a124E(0xc2),a124E(0xbf),'force'],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a124E(0xbc)],'client':ClientEngines[a124E(0xa7)]},'examples':['maka\x20generate:kit:mui:frame',a124E(0xb3)],'description':'\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20'},async function(a,b){const F=a124E;try{const c=b[F(0x96)]||![],d=F(0xd2),f='basic-drawer',g='basic-sticky-footer',h=this[F(0xd1)][F(0xad)](),i=h[F(0x9f)][F(0x94)]===F(0xa9);await this[F(0xd1)][F(0xc1)]([F(0xbd),F(0xc6)],{'shouldInstall':!![]});const j=this[F(0xd1)]['findAppDirectory'](),k=a124e[F(0xc3)](j,F(0xb5),'ui',F(0xcd)),l=this[F(0xd1)][F(0xca)](k),m=await Actions['options']({'type':F(0xb8),'name':F(0xcd),'message':'Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','choices':l});if(m[F(0xcd)][F(0xb6)]===0x0){Log['error'](F(0xab));return;}const n=b[F(0xc2)]?'/imports/ui/'+b[F(0xc2)]:'/imports/ui/components',o=this['fsi'][F(0xaf)]({'pathParts':[n,b[F(0xbf)],paramCase(d),paramCase(d)]}),p=this['fsi'][F(0xaf)]({'pathParts':[n,b['dir'],paramCase(f),paramCase(f)]}),q=this[F(0xd1)]['pathFromApp']({'pathParts':[n,b[F(0xbf)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h['appName'])[F(0xbb)]('-','\x20')};await this[F(0xd1)]['withValue'](h,async()=>{const G=F;await this['fsi'][G(0x9d)]({'srcPath':'kit/mui/frame/app-bars/'+d+G(0xb0),'destPath':o+G(0xb0),'framework':G(0xa8),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0xd1)][G(0x9d)]({'srcPath':G(0x99)+f+G(0xb0),'destPath':p+G(0xb0),'framework':G(0xa8),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0xd1)][G(0x9d)]({'srcPath':'kit/mui/frame/footers/'+g+G(0xb0),'destPath':q+G(0xb0),'framework':G(0xa8),'context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b['dir']+'/'+d+'/'+d;await this['fsi'][F(0x8f)](d,h,s);const t=''+n+b[F(0xbf)]+'/'+f+'/'+f;await this[F(0xd1)][F(0x8f)](f,h,t);const u=''+n+b[F(0xbf)]+'/'+g+'/'+g;await this[F(0xd1)][F(0x8f)](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[F(0xd1)][F(0xc4)](a124e[F(0xc3)](k,w),{'extensions':[F(0xa6),F(0xa1)],'omit':[F(0xb4),F(0x97),F(0xa5)]});for(const y of x){const z=a124e[F(0xc3)](k,w,y);await this['fsi'][F(0xd3)]({'filePath':z,'importName':F(0xcb),'modulePath':F(0x9c),'isNamedExport':![]}),await this[F(0xd1)][F(0xd3)]({'filePath':z,'importName':'Container','modulePath':F(0x90),'isNamedExport':![]}),await this[F(0xd1)][F(0xd3)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?F(0xb1):F(0xc9),'isNamedExport':!![]}),await this[F(0xd1)]['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(d)+F(0x91),'begin':['<div\x20id=\x22'+w+'\x22>',F(0xba)+w+F(0xbe)],'end':[F(0xa4),F(0xd6),F(0xae),F(0xc7)]}),await this['fsi'][F(0xd3)]({'filePath':z,'importName':pascalCase(f),'modulePath':i?F(0xb1):F(0xc9),'isNamedExport':!![]}),await this[F(0xd1)][F(0x9a)]({'filePath':z,'content':'<'+pascalCase(f)+'\x20/>\x0a','begin':[F(0xba)+w+'\x22>',F(0xba)+w+F(0xbe)],'end':['{this.props.children}',F(0xd6),F(0xae),F(0xc7)]}),await this[F(0xd1)]['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(g)+F(0x91),'begin':['{this.props.children}',F(0xd6),F(0xae),'{\x20props.children\x20}'],'end':[F(0x8e)]}),await this['fsi'][F(0xd3)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?'/imports/startup/lib/templates':F(0xc9),'isNamedExport':!![]}),await this[F(0xd1)][F(0xaa)]({'filePath':z,'aboveContent':F(0x93),'belowContent':F(0x92),'targetString':[F(0xa4),'{\x20this.props.children\x20}','{props.children}','{\x20props.children\x20}'],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log['error'](A);}},async function(){const H=a124E;console[H(0xc8)](H(0xc0));},a124f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a125j=a125d;
|
|
1
|
+
const a125j=a125d;function a125c(){const l=['notice','3812746znbiVc','create','8uEzBAj','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','checkbox','processAndRunGenerator','255HhnsiW','constructor','(((.+)+)+)+$','maka\x20g:kit:m','941940vDFbuF','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','length','frame','kitChoices','1230oshkLd','findProjectDirectory','Header,\x20Footer,\x20and\x20Drawer','search','kit:mui:frame','Material-UI\x20Kit','includes','apply','726184fNEtAL','644547XLIYoc','No\x20MUI\x20kits\x20selected.\x20Exiting.','106931JBgyQz','fsi','mui','4sxqxHi','71634fvEbuJ','\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','auth','info','586548pJIhwD','getMakaProjectConfig'];a125c=function(){return l;};return a125c();}(function(a,b){const g=a125d,c=a();while(!![]){try{const d=-parseInt(g(0x1f3))/0x1+parseInt(g(0x1d4))/0x2*(-parseInt(g(0x1f4))/0x3)+parseInt(g(0x1e6))/0x4+-parseInt(g(0x1e2))/0x5*(-parseInt(g(0x1d5))/0x6)+parseInt(g(0x1dc))/0x7*(-parseInt(g(0x1de))/0x8)+parseInt(g(0x1d9))/0x9+-parseInt(g(0x1eb))/0xa*(-parseInt(g(0x1f6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x62cbd));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a125d;if(c){const e=c[h(0x1f2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const i=a125d;return a125a['toString']()[i(0x1ee)](i(0x1e4))['toString']()[i(0x1e3)](a125a)[i(0x1ee)](i(0x1e4));});a125a();function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x1d2;let f=c[d];return f;},a125d(a,b);}import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a125e from'../../../generators/maka.gen.js';import a125f from'../kit.js';const MuiGen=Generator[a125j(0x1dd)]({'name':a125j(0x1d3),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','noNeedResource':!![],'shortDesc':a125j(0x1f0),'validOpts':[''],'isPro':!![],'examples':[a125j(0x1e5)]},async function(){const k=a125j;Log[k(0x1d8)]('Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!'),Log[k(0x1db)](k(0x1d6));const {kitChoices:a}=await Actions['options']({'type':k(0x1e0),'name':k(0x1ea),'message':k(0x1e7),'choices':[{'name':k(0x1ed),'value':k(0x1e9)},{'name':k(0x1df),'value':k(0x1d7)}]}),b=this[k(0x1d2)][k(0x1ec)](),c=this[k(0x1d2)][k(0x1da)]();a[k(0x1f1)]('frame')&&await a125e['processAndRunGenerator'](k(0x1ef),[],{'force':!![],'cwd':b,'config':c});a[k(0x1f1)](k(0x1d7))&&await a125e[k(0x1e1)]('kit:mui:auth',[],{'force':!![],'cwd':b,'config':c});if(a[k(0x1e8)]===0x0){Log[k(0x1d8)](k(0x1f5));return;}},async function(){},a125f);export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a126o=a126d;function a126c(){const r=['
|
|
1
|
+
const a126o=a126d;function a126c(){const r=['ssr','fileName','6vnvuWa','search','.app-tests.js','6025ErbKsl','maka\x20g:layout\x20mobile/iPhone8','true','.css','test','/imports/ui/layouts','relative','client','injectTemplateModule','setTemplate','72153948qKehuJ','string','8634850WaQgaC','maka\x20g:l\x20web/safari','withHook','assign','create','react','split','component/component.js','999jFOhVc','ramda','template/template.css','features','fsi','pathFromApp','16kbSgPr','findAppDirectory','.js','checkNpmPackage','warn','342Vtzedh','11YIaGzg','none','graphql','installNpmPackage','engines','2437228QXwAbM','resourceName','145999GTbaAp','className','9012800oMeoMZ','layout','template','import\x20\x27./','injectAtBeginningOfFile','getMakaProjectConfig','toString','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','hook/hook.js','constructor','css','2984DCovxf','apply','dir','withTranslations'];a126c=function(){return r;};return a126c();}(function(a,b){const l=a126d,c=a();while(!![]){try{const d=-parseInt(l(0xd3))/0x1*(parseInt(l(0xb0))/0x2)+-parseInt(l(0xd0))/0x3*(parseInt(l(0xbb))/0x4)+-parseInt(l(0xbf))/0x5+-parseInt(l(0xb5))/0x6*(parseInt(l(0xbd))/0x7)+parseInt(l(0xca))/0x8*(parseInt(l(0xaa))/0x9)+-parseInt(l(0xdf))/0xa+parseInt(l(0xb6))/0xb*(parseInt(l(0xdd))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0xe3aac));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a126d;if(c){const e=c[m(0xcb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const n=a126d;return a126a[n(0xc5)]()['search']('(((.+)+)+)+$')[n(0xc5)]()[n(0xc8)](a126a)[n(0xd1)]('(((.+)+)+)+$');});a126a();import a126e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0xa8;let f=c[d];return f;},a126d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator[a126o(0xe3)]({'name':a126o(0xc0),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','shortDesc':'Scaffolding\x20for\x20a\x20React\x20Layout.','validOpts':['withHook'],'examples':[a126o(0xd4),a126o(0xe0)]},async function(a,b){const p=a126o,c=p(0xd8),d=this['fsi'][p(0xb1)](),e=this[p(0xae)][p(0xaf)]({'pathParts':[c,b['dir'],paramCase(b[p(0xbc)]),paramCase(b[p(0xbc)])]}),f=this[p(0xae)][p(0xc4)]();await this['fsi']['withValue'](f,async()=>{const q=p;typeof f['template']['test']===q(0xde)&&(f[q(0xc1)][q(0xd7)]=f[q(0xc1)][q(0xd7)]===q(0xd5)?!![]:![],this[q(0xae)][q(0xdc)](q(0xd7),f[q(0xc1)][q(0xd7)]));typeof f['template']['css']===q(0xde)&&(f['template'][q(0xc9)]=f[q(0xc1)]['css']===q(0xd5)?!![]:![],this[q(0xae)][q(0xdc)]('css',f[q(0xc1)]['css']));typeof f['template']['js']===q(0xde)&&(f[q(0xc1)]['js']=f[q(0xc1)]['js']===q(0xd5)?!![]:![],this['fsi']['setTemplate']('js',f[q(0xc1)]['js']));!f[q(0xad)]&&(f['features']={});const g=b['_']?b['_'][0x0][q(0xa8)](':')[0x1]:![],h=b['_']&&aliases['includes'](g);h&&!this[q(0xb3)](q(0xab))&&(Log[q(0xb4)](q(0xc6)),this['fsi'][q(0xb9)](q(0xab),{'cwd':d}));if(h&&!this[q(0xb3)]('react')){Log[q(0xb4)]('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');return;}const i={'name':pascalCase(b[q(0xbc)]),'myPath':a126e[q(0xd9)](this['fsi']['pathFromProject']({}),e),'cssCaseName':paramCase(b[q(0xbc)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b[q(0xbc)]),'graphql':f[q(0xba)][q(0xb8)],'features':f[q(0xad)],'client':f['engines'][q(0xda)],'api':f[q(0xba)]['api'],'ssr':f[q(0xba)][q(0xce)],'test':f[q(0xba)]['test'],'theme':f[q(0xba)]['theme'],'isComponent':![],'isLayout':!![],'withTranslations':f[q(0xad)][q(0xcd)]};f[q(0xad)]?.['withHooks']||b[q(0xe1)]?await this[q(0xae)][q(0xc1)]({'srcPath':q(0xc7),'destPath':e+q(0xb2),'framework':q(0xe4),'context':i,'config':f}):await this[q(0xae)]['template']({'srcPath':q(0xa9),'destPath':e+q(0xb2),'framework':q(0xe4),'context':i,'config':f});f[q(0xba)][q(0xd7)]!==q(0xb7)&&await this[q(0xae)][q(0xc1)]({'srcPath':'test/test.js','destPath':e+q(0xd2),'framework':'react','context':i,'config':f});f[q(0xc1)]['css']&&(await this[q(0xae)][q(0xc1)]({'srcPath':q(0xac),'destPath':e+q(0xd6),'context':Object[q(0xe2)]({},i,{'className':paramCase(b[q(0xbc)])}),'config':f}),await this[q(0xae)][q(0xc3)]({'filePath':e+'.'+f['engines']['js'],'content':q(0xc2)+i[q(0xcf)]+'.'+f['engines'][q(0xc9)]+'\x27;'}));const j=b[q(0xcc)]?'/'+b[q(0xcc)]+'/':'/',k=''+c+j+i[q(0xcf)]+'/'+i[q(0xcf)];await this['fsi'][q(0xdb)](i[q(0xbe)],f,k);});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a127i=a127d;(function(a,b){const f=a127d,c=a();while(!![]){try{const d
|
|
1
|
+
const a127i=a127d;(function(a,b){const f=a127d,c=a();while(!![]){try{const d=parseInt(f(0x1cb))/0x1*(-parseInt(f(0x1d4))/0x2)+parseInt(f(0x1c1))/0x3+-parseInt(f(0x1d0))/0x4*(parseInt(f(0x1c3))/0x5)+parseInt(f(0x1c7))/0x6*(parseInt(f(0x1d3))/0x7)+-parseInt(f(0x1c4))/0x8+-parseInt(f(0x1ca))/0x9*(parseInt(f(0x1c2))/0xa)+parseInt(f(0x1d5))/0xb*(parseInt(f(0x1cd))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x8fb3e));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a127d;if(c){const e=c[g(0x1c5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const h=a127d;return a127a[h(0x1c6)]()[h(0x1ce)](h(0x1d6))['toString']()[h(0x1d2)](a127a)['search'](h(0x1d6));});a127a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a127i(0x1c9),'aliases':['g'],'usage':'maka\x20{generate,\x20g}:<generator>\x20<name>','validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a127i(0x1cc),'examples':[a127i(0x1cf),'maka\x20g:scaffold\x20todos','maka\x20g:template\x20todos/todo_item',a127i(0x1d1),a127i(0x1bf),a127i(0x1c0),a127i(0x1c8)]},function(){});function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x1bf;let f=c[d];return f;},a127d(a,b);}function a127c(){const j=['119635tNhafh','Scaffold\x20various\x20parts\x20of\x20your\x20application','2124JxxgDq','search','maka\x20generate:scaffold\x20todos','412xgNhNz','maka\x20g:package\x20package:name','constructor','28lHqcFO','2RJieTj','81917zqvVmW','(((.+)+)+)+$','maka\x20g:route\x20todos/edit','maka\x20g:api\x20trucks','655725ByYsXT','2710VGeWQq','11395Qsvfri','7129120vRXGHR','apply','toString','1198974SukyGB','maka\x20g:dbc\x20geoserver\x20--type=pgsql','generate','16668PlQCpf'];a127c=function(){return j;};return a127c();}export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a128m=a128d;(function(a,b){const j=a128d,c=a();while(!![]){try{const d
|
|
1
|
+
const a128m=a128d;(function(a,b){const j=a128d,c=a();while(!![]){try{const d=-parseInt(j(0x182))/0x1*(-parseInt(j(0x174))/0x2)+-parseInt(j(0x18e))/0x3*(-parseInt(j(0x189))/0x4)+parseInt(j(0x18c))/0x5*(parseInt(j(0x176))/0x6)+parseInt(j(0x18f))/0x7+parseInt(j(0x171))/0x8*(parseInt(j(0x18d))/0x9)+parseInt(j(0x17b))/0xa+parseInt(j(0x196))/0xb*(-parseInt(j(0x17f))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0xd525b));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a128d;if(c){const e=c[k(0x175)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const l=a128d;return a128a['toString']()[l(0x184)](l(0x188))['toString']()[l(0x181)](a128a)[l(0x184)](l(0x188));});function a128c(){const p=['204524nSnHLE','apply','78AAbVfT','getMakaProjectConfig','startup','index.','imports','3519080hHgBDF','import\x20\x27./methods','dir','tsx','1908lVaSEC','pathFromApp','constructor','1DdLNav','injectAtEndOfFile','search','resourceName','maka\x20{generate,\x20g}:{method,\x20m}\x20name','create','(((.+)+)+)+$','6352EulGPU','maka\x20g:method\x20todos','method','409135ClMdWI','8759457xHFbwq','1227rwQhNG','9673244essBbP','ddp-rate-limiter','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','engines','fsi','method/method.js','appPathPrefix','252483OZlBbw','withValue','8LKJoQT','methods','error'];a128c=function(){return p;};return a128c();}function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x170;let f=c[d];return f;},a128d(a,b);}a128a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a128m(0x187)]({'name':a128m(0x18b),'aliases':['m'],'usage':a128m(0x186),'checkWhere':!![],'shortDesc':a128m(0x191),'validOpts':[a128m(0x17d)],'examples':[a128m(0x18a)]},async function(a,b){const n=a128m;try{const c=this[n(0x193)][n(0x177)]();await this[n(0x193)][n(0x170)](c,async()=>{const o=n,d=paramCase(b['resourceName']),f={'name':b[o(0x185)],'fileName':d,'className':pascalCase(b[o(0x185)]),'camelCase':camelCase(b['resourceName']),'noRename':!![]};let g='js';c['engines']['js']===o(0x17e)&&(g='ts');await this[o(0x193)]['checkMeteorPackage'](['maka:check',o(0x190),'mdg:validated-method'],{'shouldInstall':!![]}),await this[o(0x193)]['template']({'srcPath':o(0x194),'destPath':this['fsi']['pathFromApp']({'pathParts':[o(0x17a),'startup',b[o(0x195)],o(0x172),b['dir'],d+'-rpc-method.'+g]}),'context':f,'config':c});const h=b['dir']?'/'+b[o(0x17d)]+'/':'/',i=this[o(0x193)][o(0x180)]({'pathParts':[o(0x17a),o(0x178),b[o(0x195)],o(0x179)+c[o(0x192)]['js']]});await this[o(0x193)][o(0x183)]({'filePath':i,'content':o(0x17c)+h+d+'-rpc-method\x27;'});});}catch(d){Log[n(0x173)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-
|
|
1
|
+
const a129o=a129d;function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x1a1;let f=c[d];return f;},a129d(a,b);}(function(a,b){const l=a129d,c=a();while(!![]){try{const d=-parseInt(l(0x1a3))/0x1*(-parseInt(l(0x1ca))/0x2)+-parseInt(l(0x1cd))/0x3*(parseInt(l(0x1ce))/0x4)+-parseInt(l(0x1d0))/0x5*(parseInt(l(0x1b1))/0x6)+-parseInt(l(0x1b9))/0x7*(-parseInt(l(0x1c0))/0x8)+-parseInt(l(0x1c4))/0x9*(parseInt(l(0x1a8))/0xa)+-parseInt(l(0x1ac))/0xb+-parseInt(l(0x1bf))/0xc*(-parseInt(l(0x1c8))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xa144d));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a129d;if(c){const e=c[m(0x1c5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const n=a129d;return a129a[n(0x1ad)]()[n(0x1ba)]('(((.+)+)+)+$')['toString']()[n(0x1c9)](a129a)[n(0x1ba)](n(0x1a7));});a129a();import a129e from'path';function a129c(){const r=['hasOwnProperty','15ISvsUu','client','package/','pathFromAppWithNoReWrite','.js','1EXlpyM','fsi','resourceName','ssr','(((.+)+)+)+$','6550ykbxJj','template/template.js','package','engines','11521488nVLBFQ','toString','withValue','packages','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','182598vLFyxJ','/client/','/package.js','package.js','noRename','tests/server','features','theme','642390bXKqHI','search','graphql','tests/client','server','dir','815988uobjLx','56UASWPK','pathFromProject','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','maka\x20g:package\x20todos:package','15993WdEitd','apply','template','relative','637fpTQfn','constructor','444674jOVOuy','lib','getMakaProjectConfig','3700437XIWcfH','4zrdAVq'];a129c=function(){return r;};return a129c();}import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator['create']({'name':a129o(0x1aa),'aliases':['p'],'usage':a129o(0x1c2),'shortDesc':a129o(0x1b0),'validOpts':[a129o(0x1be)],'examples':[a129o(0x1c3)]},async function(a,b){const p=a129o,c=paramCase(b[p(0x1a5)]),d=this['fsi']['pathFromApp']({'pathParts':[p(0x1af),b[p(0x1be)],c]}),e=this[p(0x1a4)][p(0x1a1)]({'pathParts':[p(0x1af),b[p(0x1be)],c,p(0x1b4)]}),f=this[p(0x1a4)][p(0x1cc)]();await this[p(0x1a4)][p(0x1ae)](f,async()=>{const q=p,g={'name':paramCase(b['resourceName']),'myPath':a129e[q(0x1c7)](this[q(0x1a4)][q(0x1c1)]({}),d),'cssCaseName':paramCase(b[q(0x1a5)]),'className':pascalCase(b[q(0x1a5)]),'camelCaseName':camelCase(b[q(0x1a5)]),'fileName':c,'client':f['engines'][q(0x1d1)],'graphql':f[q(0x1ab)][q(0x1bb)],'ssr':f[q(0x1ab)][q(0x1a6)],'isComponent':b[q(0x1cf)]('component'),'isLayout':b[q(0x1cf)]('layout'),'isStore':b[q(0x1cf)]('store'),'features':f[q(0x1b7)],'noRename':!![],'theme':f['engines'][q(0x1b8)]};await this[q(0x1a4)][q(0x1c6)]({'srcPath':'package/package.js','destPath':e,'context':g,'config':f}),g[q(0x1b5)]=![];const h=d+q(0x1b2)+c+q(0x1a2);await this[q(0x1a4)][q(0x1c6)]({'srcPath':q(0x1a9),'destPath':h,'context':g,'config':f});const i=[q(0x1cb),q(0x1bd),q(0x1bc),q(0x1b6)];for(const j of i){const k=d+'/'+j+'/'+c+q(0x1a2);await this[q(0x1a4)][q(0x1c6)]({'srcPath':q(0x1d2)+j+q(0x1b3),'destPath':k,'context':g,'config':f});}});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a130m=a130d;(function(a,b){const j=a130d,c=a();while(!![]){try{const d=parseInt(j(0x135))/0x1*(-parseInt(j(0x11d))/0x2)+parseInt(j(0x127))/0x3*(-parseInt(j(0x10d))/0x4)+parseInt(j(0x138))/0x5*(parseInt(j(0x102))/0x6)+-parseInt(j(0x132))/0x7+parseInt(j(0xfb))/0x8+-parseInt(j(0xfc))/0x9+-parseInt(j(0x109))/0xa*(-parseInt(j(0xf8))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x8dd27));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a130d;if(c){const e=c[k(0x134)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const l=a130d;return a130a[l(0x10c)]()[l(0x105)](l(0x137))['toString']()[l(0x111)](a130a)[l(0x105)](l(0x137));});function a130c(){const p=['assign','layouts','resourceName','checkNpmPackage','true','dir','hasOwnProperty','css','ssr','getMakaProjectConfig','298jZVpsv','client','.html','baseDir','string','import\x20\x27./','findAppDirectory','relative','graphql','hook/hook.js','1244289tLZFTC','template/template.html','root','setTemplate','withValue','installNpmPackage','withHook','theme','fileName','components','store','7847308eEVEfB','.app-tests.js','apply','3814lWlqvG','processAndRunGenerator','(((.+)+)+)+$','56690UgHrtq','template','/imports/ui/pages','.css','Updating\x20npm\x20packages\x20...','\x27;\x0a','pages','component','11PMwhNO','.js','vanilla','8158224JlQfJX','6167304YvIhal','route','engines','react','injectAtBeginningOfFile','withTranslations','48mYVTWx','test','layout','search','ramda','pathFromProject','api','26745330KHlKam','/imports/ui/','html','toString','8lxYwxU','features','warn','fsi','constructor','component/component.js'];a130c=function(){return p;};return a130c();}a130a();import a130e from'path';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0xf2;let f=c[d];return f;},a130d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a130f from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator['create']({'name':'page','aliases':aliases,'usage':'maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','shortDesc':'Generate\x20a\x20page.','validOpts':[{'name':a130m(0x120),'values':['hooks',a130m(0x130),a130m(0xf6),a130m(0x114)]},{'name':a130m(0x12d),'boolFlag':!![]}],'examples':['maka\x20g:page\x20todos/todos-item']},async function(a,b){const n=a130m,c=b[n(0x120)]?n(0x10a)+b[n(0x120)]:n(0xf2),d=this[n(0x110)][n(0x123)](),e=this[n(0x110)]['pathFromApp']({'pathParts':[c,b[n(0x118)],paramCase(b[n(0x115)]),paramCase(b[n(0x115)])]}),f=this[n(0x110)][n(0x11c)]();let g='';return await this['fsi'][n(0x12b)](f,async()=>{const o=n;typeof f['template'][o(0x10b)]===o(0x121)&&(f['template'][o(0x10b)]=f['template'][o(0x10b)]===o(0x117)?!![]:![],this[o(0x110)]['setTemplate']('html',f['template'][o(0x10b)]));typeof f[o(0x139)]['test']===o(0x121)&&(f[o(0x139)][o(0x103)]=f[o(0x139)][o(0x103)]===o(0x117)?!![]:![],this[o(0x110)][o(0x12a)]('test',f[o(0x139)][o(0x103)]));typeof f[o(0x139)]['css']==='string'&&(f['template']['css']=f[o(0x139)][o(0x11a)]===o(0x117)?!![]:![],this['fsi']['setTemplate'](o(0x11a),f[o(0x139)][o(0x11a)]));typeof f[o(0x139)]['js']===o(0x121)&&(f[o(0x139)]['js']=f[o(0x139)]['js']===o(0x117)?!![]:![],this[o(0x110)][o(0x12a)]('js',f[o(0x139)]['js']));!f[o(0x10e)]&&(f[o(0x10e)]={});!b['root']&&!this[o(0x110)][o(0x116)]('ramda')&&(Log[o(0x10f)](o(0xf4)),this[o(0x110)][o(0x12c)](o(0x106),{'cwd':d}));const h={'name':pascalCase(b['resourceName']),'myPath':a130e[o(0x124)](this[o(0x110)][o(0x107)]({}),e),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[o(0x115)]),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b[o(0x115)]),'graphql':f[o(0xfe)][o(0x125)],'features':f[o(0x10e)],'client':f[o(0xfe)]['client'],'api':f[o(0xfe)][o(0x108)],'ssr':f['engines'][o(0x11b)],'isStore':b[o(0x119)](o(0x131)),'isComponent':b[o(0x119)](o(0xf7)),'isLayout':b['hasOwnProperty'](o(0x104)),'withTranslations':f['features'][o(0x101)],'test':f[o(0xfe)][o(0x103)],'theme':f[o(0xfe)][o(0x12e)]};f[o(0x139)][o(0x10b)]&&await this[o(0x110)][o(0x139)]({'srcPath':o(0x128),'destPath':e+o(0x11f),'context':h,'config':f});f['features']?.['withHooks']||b[o(0x12d)]?await this[o(0x110)][o(0x139)]({'srcPath':o(0x126),'destPath':e+o(0xf9),'framework':o(0xff),'context':h,'config':f}):await this[o(0x110)][o(0x139)]({'srcPath':o(0x112),'destPath':e+'.js','framework':o(0xff),'context':h,'config':f});f[o(0xfe)]['test']!=='none'&&await this[o(0x110)][o(0x139)]({'srcPath':'test/test.js','destPath':e+o(0x133),'framework':'react','context':h,'config':f});f['template'][o(0x11a)]&&await this[o(0x110)]['template']({'srcPath':'template/template.css','destPath':e+o(0xf3),'context':Object[o(0x113)]({},h,{'className':paramCase(b[o(0x115)])}),'config':f});f[o(0xfe)][o(0x11e)]!=='react'&&f[o(0xfe)][o(0x11e)]!==o(0xfa)?(f['template'][o(0x11a)]&&await this[o(0x110)][o(0x100)]({'filePath':e+'.'+f[o(0xfe)]['js'],'content':o(0x122)+h[o(0x12f)]+'.'+f[o(0xfe)][o(0x10b)]+o(0xf5)+'import\x20\x27./'+h[o(0x12f)]+'.'+f[o(0xfe)][o(0x11a)]+'\x27;'}),!f[o(0x139)][o(0x11a)]&&await this['fsi'][o(0x100)]({'filePath':e+'.'+f[o(0xfe)]['js'],'content':o(0x122)+h[o(0x12f)]+'.'+f['engines']['html']+'\x27;'})):f[o(0x139)][o(0x11a)]&&await this['fsi'][o(0x100)]({'filePath':e+'.'+f[o(0xfe)]['js'],'content':o(0x122)+h[o(0x12f)]+'.'+f[o(0xfe)]['css']+'\x27;'});const i=b[o(0x118)]?'/'+b['dir']+'/':'/';g=''+c+i+h['fileName']+'/'+h[o(0x12f)],await this[o(0x110)]['injectTemplateModule'](h['className'],f,g),!b[o(0x129)]&&await a130f[o(0x136)](o(0xfd),[i+b[o(0x115)]],b);}),g+'.'+f[n(0xfe)]['js'];});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a131p=a131d;(function(a,b){const m=a131d,c=a();while(!![]){try{const d
|
|
1
|
+
function a131c(){const s=['constructor','error','resourceName','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','apply','347196Ygvoph','appPathPrefix','tsx','imports','publish/publish.js','maka\x20g:publish\x20todos','3JgcMqR','create','/imports/ui/','12aKrnjE','2924890QbpbsT','engines','publish','11GbjKVt','withValue','dir','exit','2411355XCROkl','pathFromApp','import\x20\x27./publications','template','startup','488644kvZRad','baseDir','3swZaYl','56792QUIjVv','injectAtEndOfFile','search','603gpDouN','391923bxMROM','server','force','toString','36IfMMXe','1742476uoZCdp','fsi','globalPublish','(((.+)+)+)+$'];a131c=function(){return s;};return a131c();}const a131p=a131d;function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x127;let f=c[d];return f;},a131d(a,b);}(function(a,b){const m=a131d,c=a();while(!![]){try{const d=-parseInt(m(0x12b))/0x1*(-parseInt(m(0x150))/0x2)+parseInt(m(0x13d))/0x3*(parseInt(m(0x147))/0x4)+-parseInt(m(0x136))/0x5+-parseInt(m(0x146))/0x6*(parseInt(m(0x142))/0x7)+-parseInt(m(0x13e))/0x8*(-parseInt(m(0x141))/0x9)+parseInt(m(0x12f))/0xa*(-parseInt(m(0x132))/0xb)+-parseInt(m(0x12e))/0xc*(parseInt(m(0x13b))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x45474));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a131d;if(c){const e=c[n(0x14f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const o=a131d;return a131a[o(0x145)]()[o(0x140)](o(0x14a))[o(0x145)]()[o(0x14b)](a131a)[o(0x140)](o(0x14a));});a131a();import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a131p(0x12c)]({'name':a131p(0x131),'aliases':['p'],'usage':'maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','shortDesc':a131p(0x14e),'validOpts':[a131p(0x144),a131p(0x149)],'examples':[a131p(0x12a)]},async function(a,b){const q=a131p;try{const c=b[q(0x144)]||![],d=b[q(0x13c)]?q(0x12d)+b[q(0x13c)]:'/imports/startup/server/publications',f=this[q(0x148)]['getMakaProjectConfig'](),g=paramCase(b[q(0x14d)]),h=this[q(0x148)][q(0x137)]({'pathParts':[d,b[q(0x134)],'',g]});let i='js';f[q(0x130)]['js']===q(0x127)&&(i='ts');await this['fsi'][q(0x133)](f,async()=>{const r=q,l={'name':b[r(0x14d)],'collection':pascalCase(b[r(0x14d)]),'noRename':!![],'globalPublish':b[r(0x149)]};await this['fsi'][r(0x139)]({'srcPath':r(0x129),'destPath':h+'.'+i,'context':l,'config':f,'force':c});});const j=this[q(0x148)][q(0x137)]({'pathParts':[q(0x128),q(0x13a),q(0x143),b[q(0x151)],'index.'+f[q(0x130)]['js']]}),k=b[q(0x134)]?'/'+b['dir']+'/':'/';return await this[q(0x148)][q(0x13f)]({'filePath':j,'content':q(0x138)+k+g+'\x27;'}),h+'.'+i;}catch(l){Log[q(0x14c)](l),process[q(0x135)](0x1);}});
|