@maka/maka-cli 4.12.26 → 4.13.0
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 a116c(){const u=['6472890tqmjTV','fsi','\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','801408ZSvXan','apply','/imports/startup/lib','injectIntoFile','kit/auth/service/meteor-auth-service.js','9972487aZOZQk','/imports/startup/client/authentication-service','alanning:roles','1833832dLgzSo','imports','meteor/maka:react-tracker','kit:auth:provider','1356640aDtAhM','63PkNNwX','21520444UwLVgd','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','const\x20authenticateUser','create','useTracker','force','19mqzkcD','authentication-service','24rVsrKe','const\x20deauthenticateUser','react','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','injectIntoCodeBlock','pathFromApp','constructor','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','checkMeteorPackage','Meteor.startup','exit','toString','injectImport','REACT','const\x20getUserAuthorizations','\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','6Cekbwi','\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','/imports/startup/client','(((.+)+)+)+$','137356XzHYKZ','index','meteor','auth/roles','processAndRunGenerator','template','const\x20resetPasswordWithToken','meteor/accounts-base','ssr','/imports/startup/lib/authentication-service','accounts-password','meteor/meteor','const\x20authenticateToken','AuthService','6CifpdA','Meteor.publish','export\x20const\x20AuthProvider','engines','\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','true','\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20If\x20logged\x20in,\x20return\x20documents\x20owned\x20by\x20this\x20user.\x20Otherwise\x20return\x20nothing.\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(this.userId)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.roleAssignment.find({\x20\x27user._id\x27:\x20this.userId\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20[];\x0a\x20\x20\x20\x20\x20\x20','search'];a116c=function(){return u;};return a116c();}(function(a,b){const o=a116d,c=a();while(!![]){try{const d=-parseInt(o(0x119))/0x1*(parseInt(o(0xec))/0x2)+parseInt(o(0xfa))/0x3*(-parseInt(o(0x105))/0x4)+-parseInt(o(0x102))/0x5+parseInt(o(0xe8))/0x6*(-parseInt(o(0x10a))/0x7)+parseInt(o(0x10d))/0x8*(parseInt(o(0x112))/0x9)+-parseInt(o(0x111))/0xa+parseInt(o(0x113))/0xb*(parseInt(o(0x11b))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0xe9a0e));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a116d;if(c){const e=c[p(0x106)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const q=a116d;return a116a[q(0xe3)]()[q(0x101)]('(((.+)+)+)+$')[q(0xe3)]()[q(0xde)](a116a)[q(0x101)](q(0xeb));});a116a();function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0xd9;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(0x116)]({'name':a116r(0xee),'aliases':['m'],'usage':a116r(0xdf),'shortDesc':a116r(0x114),'validOpts':[a116r(0x118)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a116r(0xe5)]},'description':'\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'},async function(a,b){const s=a116r;try{const c=b[s(0x118)]||![];await this[s(0x103)][s(0xe0)]([s(0xf6),s(0x10c)],{'shouldInstall':!![]});const d=this[s(0x103)]['findProjectDirectory'](),f=this[s(0x103)]['getMakaProjectConfig'](),g=f['engines'][s(0xf4)]===s(0xff);await a116f[s(0xf0)](s(0x110),[],{'force':c,'cwd':d,'config':f});const h=await a116f[s(0xf0)]('publish',[s(0xef)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?s(0x107):s(0xea),j=this[s(0x103)][s(0xdd)]({'pathParts':[i,'','',s(0x11a)]});await this['fsi']['withValue'](f,async()=>{const t=s;await this[t(0x103)][t(0xf1)]({'srcPath':t(0x109),'destPath':j+'.js','framework':t(0xda),'context':{},'config':f,'force':c,'ignore':![]});});const k=this[s(0x103)][s(0xdd)]({'pathParts':[i,'','','authentication-provider']}),l=f[s(0xfd)]['js'];await this['fsi'][s(0xe4)]({'filePath':k+'.'+l,'importName':s(0xf9),'modulePath':g?s(0xf5):s(0x10b),'isNamedExport':![]}),await this[s(0x103)][s(0xdc)]({'filePath':k+'.'+l,'content':'\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','begin':s(0x115),'replace':!![]}),await this[s(0x103)][s(0xdc)]({'filePath':k+'.'+l,'content':s(0xe7),'begin':s(0xf8),'replace':!![]}),await this[s(0x103)][s(0xdc)]({'filePath':k+'.'+l,'content':s(0x104),'begin':s(0xe6),'replace':!![]}),await this['fsi'][s(0xdc)]({'filePath':k+'.'+l,'content':s(0xdb),'begin':s(0xd9),'replace':!![]}),await this[s(0x103)][s(0xdc)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','begin':'const\x20sendForgotPasswordEmail','replace':!![]}),await this[s(0x103)][s(0xdc)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','begin':'const\x20registerNewUser','replace':!![]}),await this[s(0x103)][s(0xdc)]({'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(0xf2),'replace':!![]});g&&(await this[s(0x103)]['injectImport']({'filePath':k+'.'+l,'importName':s(0x117),'modulePath':s(0x10f),'isNamedExport':!![]}),await this[s(0x103)][s(0x108)]({'filePath':k+'.'+l,'content':s(0xfe),'begin':s(0xfc),'end':'return\x20\x5c('}));await this[s(0x103)]['injectImport']({'filePath':h,'importName':'Meteor','modulePath':s(0xf7),'isNamedExport':!![],'injectAtStart':!![]}),await this[s(0x103)][s(0xdc)]({'filePath':h,'content':s(0x100),'begin':s(0xfb),'replace':!![]});const m=this[s(0x103)][s(0xdd)]({'pathParts':[s(0x10e),'startup','server',s(0xed)]});await this[s(0x103)][s(0xe4)]({'filePath':m+'.'+l,'importName':'Accounts','modulePath':s(0xf3),'isNamedExport':!![]}),await this[s(0x103)][s(0xdc)]({'filePath':m+'.'+l,'content':s(0xe9),'begin':s(0xe1),'replace':!![]});}catch(n){Log['error'](n),process[s(0xe2)](0x1);}},async function(){},a116e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a117w=a117d;(function(a,b){const u=a117d,c=a();while(!![]){try{const d=-parseInt(u(0xc9))/0x1*(parseInt(u(0xcb))/0x2)+-parseInt(u(0xd2))/0x3*(-parseInt(u(0xb8))/0x4)+-parseInt(u(0xa5))/0x5+-parseInt(u(0xab))/0x6*(parseInt(u(0xa6))/0x7)+parseInt(u(0xcd))/0x8+parseInt(u(0xb9))/0x9*(-parseInt(u(0xa0))/0xa)+parseInt(u(0xba))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x62c73));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[v(0xc3)]()['search'](v(0xca))[v(0xc3)]()[v(0xbb)](a117a)[v(0xa1)](v(0xca));});a117a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0xa0;let f=c[d];return f;},a117d(a,b);}import a117e from'./auth.generator.js';import{headerCase}from'change-case';function a117c(){const z=['search','exit','<AuthProvider>','REACT','803165tkGhwk','7OLTNRU','/imports/startup/lib/authentication-provider','replaceAll','split','authentication-provider','1104702sJtIGg','appName','/imports/startup/client','template','provider','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x0a\x20\x20\x20\x20It\x20will\x20also\x20update\x20your\x20Routes\x20file\x20to\x20include\x20the\x20AuthProvider\x20and\x20Context.\x0a\x20\x20\x20\x20for\x20navigation\x20checking.\x0a\x20\x20','/routes','getMakaProjectConfig','injectAroundString','<Routes\x20history={browserHistory}/>','pathFromApp','/imports/startup/client/authentication-provider','create','4BKXQIL','1315971KKjxjO','5173564JaCOVG','constructor','force','withValue','error','fsi','AuthProvider','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','engines','toString','injectImport','/imports/startup/client/index','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','kit/auth/provider/authentication-provider.js','<Routes\x20history={history}/>','1xxobJA','(((.+)+)+)+$','330996DURyPk','function\x20Routes','846408hhGkJn','.js','bright','useContext','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','1454811jJcbFY','react','</AuthProvider>','10cRPHXP'];a117c=function(){return z;};return a117c();}import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a117w(0xb7)]({'name':a117w(0xaf),'aliases':['p'],'usage':a117w(0xd1),'shortDesc':a117w(0xc6),'validOpts':[a117w(0xbc)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a117w(0xa4)]},'description':a117w(0xb0)},async function(a,b){const x=a117w;try{const c=b[x(0xbc)]||![];Log[x(0xcf)](x(0xc1));const d=this[x(0xbf)][x(0xb2)](),f=d[x(0xc2)]['ssr']==='true',g={'name':headerCase(d[x(0xac)])[x(0xa8)]('-','\x20')},h=f?'/imports/startup/lib':x(0xad),i=this['fsi'][x(0xb5)]({'pathParts':[h,'','',x(0xaa)]});await this[x(0xbf)][x(0xbd)](d,async()=>{const y=x;await this[y(0xbf)][y(0xae)]({'srcPath':y(0xc7),'destPath':i+y(0xce),'framework':y(0xd3),'context':g,'config':d,'force':c,'ignore':![]});});const j=d['engines']['js'],k=h+x(0xb1),l=k[x(0xa9)]('/'),m=this['fsi']['pathFromApp']({'pathParts':l});await this[x(0xbf)][x(0xc4)]({'filePath':m+'.'+j,'importName':'AuthContext','modulePath':f?'/imports/startup/lib/authentication-provider':x(0xb6),'isNamedExport':!![]}),await this[x(0xbf)][x(0xc4)]({'filePath':m+'.'+j,'importName':x(0xd0),'modulePath':x(0xd3),'isNamedExport':!![],'injectAtStart':!![]}),await this[x(0xbf)]['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':['const\x20Routes',x(0xcc)],'replace':!![]});const n=x(0xc5),o=n[x(0xa9)]('/'),p=this[x(0xbf)][x(0xb5)]({'pathParts':o});await this[x(0xbf)][x(0xc4)]({'filePath':p+'.'+j,'importName':x(0xc0),'modulePath':f?x(0xa7):x(0xb6),'isNamedExport':!![]}),await this[x(0xbf)][x(0xb3)]({'filePath':p+'.'+j,'aboveContent':'<AuthProvider>','belowContent':x(0xd4),'targetString':x(0xb4),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q='/imports/startup/server/index',r=q[x(0xa9)]('/'),s=this[x(0xbf)][x(0xb5)]({'pathParts':r});await this[x(0xbf)][x(0xc4)]({'filePath':s+'.'+j,'importName':x(0xc0),'modulePath':f?x(0xa7):x(0xb6),'isNamedExport':!![]}),await this[x(0xbf)]['injectAroundString']({'filePath':s+'.'+j,'aboveContent':x(0xa3),'belowContent':x(0xd4),'targetString':x(0xc8),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[x(0xbe)](t),process[x(0xa2)](0x1);}},async function(){},a117e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a118d,c=a();while(!![]){try{var d=parseInt(f(
|
|
1
|
+
function a118c(){var i=['50616ctfTPz','4aKUWLo','toString','1948cwYAVX','492DVewEn','apply','(((.+)+)+)+$','767595UWrLJG','60tqKnap','9pBcUSE','276310VJoaUz','156IYjeEf','search','93251kJRJAs','53081gIZIrn','96536sSLLLV'];a118c=function(){return i;};return a118c();}(function(a,b){var f=a118d,c=a();while(!![]){try{var d=parseInt(f(0x156))/0x1*(parseInt(f(0x15a))/0x2)+-parseInt(f(0x14d))/0x3*(parseInt(f(0x14c))/0x4)+parseInt(f(0x150))/0x5+-parseInt(f(0x151))/0x6*(parseInt(f(0x157))/0x7)+parseInt(f(0x159))/0x8+-parseInt(f(0x152))/0x9*(-parseInt(f(0x153))/0xa)+parseInt(f(0x158))/0xb*(-parseInt(f(0x154))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x19701));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x14e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0x15b)]()[h(0x155)](h(0x14f))[h(0x15b)]()['constructor'](a118a)[h(0x155)](h(0x14f));});a118a();import'./esri.generator.js';function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x14c;var f=c[d];return f;},a118d(a,b);}import'./map.esri.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-
|
|
1
|
+
function a119c(){const j=['20izJJAO','/foo/bar','7078365YfcMok','create','9364360jsVOUU','25ryJSOy','216540rvIfTc','search','esri','2VFRFIT','constructor','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','2243010mZOYGd','984770LIIVjp','5141682WMmDSN','toString','772092JwstST','maka\x20g:kit:e','(((.+)+)+)+$','Starting\x20point\x20for\x20generating\x20Esri\x20Maps'];a119c=function(){return j;};return a119c();}function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x173;let f=c[d];return f;},a119d(a,b);}const a119h=a119d;(function(a,b){const f=a119d,c=a();while(!![]){try{const d=-parseInt(f(0x183))/0x1+parseInt(f(0x17f))/0x2*(-parseInt(f(0x186))/0x3)+parseInt(f(0x17c))/0x4*(parseInt(f(0x17b))/0x5)+parseInt(f(0x184))/0x6+parseInt(f(0x182))/0x7+-parseInt(f(0x17a))/0x8+-parseInt(f(0x178))/0x9*(-parseInt(f(0x176))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x94857));const a119b=(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;};}()),a119a=a119b(this,function(){const g=a119d;return a119a[g(0x185)]()[g(0x17d)](g(0x174))[g(0x185)]()[g(0x180)](a119a)[g(0x17d)](g(0x174));});a119a();import{Generator}from'../../../generator.js';import a119e from'../kit.js';const EsriGen=Generator[a119h(0x179)]({'name':a119h(0x17e),'aliases':['e'],'usage':a119h(0x181),'noNeedResource':!![],'shortDesc':a119h(0x175),'validOpts':[''],'isPro':!![],'examples':[a119h(0x173)],'description':'\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20kit\x20for\x20Esri\x20Maps.\x20Starting\x20with\x20a\x20basic\x20map,\x0a\x20\x20\x20\x20but\x20with\x20the\x20ability\x20to\x20add\x20more\x20components\x20to\x20the\x20kit.\x0a\x20\x20'},async function(){const i=a119h;return{'success':!![],'message':'Esri\x20Kit\x20generated\x20successfully','details':{'filesCreated':[i(0x177)],'filesUpdated':['/foo']}};},async function(){},a119e);export default EsriGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a120s=a120d;(function(a,b){const p=a120d,c=a();while(!![]){try{const d=-parseInt(p(
|
|
1
|
+
const a120s=a120d;(function(a,b){const p=a120d,c=a();while(!![]){try{const d=-parseInt(p(0x1d1))/0x1*(parseInt(p(0x1b1))/0x2)+parseInt(p(0x1cc))/0x3*(-parseInt(p(0x1a6))/0x4)+-parseInt(p(0x1b5))/0x5*(parseInt(p(0x1a9))/0x6)+-parseInt(p(0x1c9))/0x7*(parseInt(p(0x1be))/0x8)+-parseInt(p(0x1c8))/0x9*(-parseInt(p(0x1d3))/0xa)+parseInt(p(0x1bf))/0xb*(parseInt(p(0x1c2))/0xc)+-parseInt(p(0x1d0))/0xd*(-parseInt(p(0x1c7))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0xd137d));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a120d;if(c){const e=c[q(0x1ce)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const r=a120d;return a120a[r(0x1bb)]()[r(0x1cd)]('(((.+)+)+)+$')['toString']()[r(0x1a8)](a120a)[r(0x1cd)]('(((.+)+)+)+$');});function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x1a5;let f=c[d];return f;},a120d(a,b);}a120a();import{Generator}from'../../../generator.js';function a120c(){const v=['injectImport','toString','injectTemplateModule','engines','672bwECCs','253fDrelL','true','checkNpmPackage','613668dardGL','<div\x20id=\x22map\x22>','split','REACT','withValue','13261626hTedkS','124641lHBGVT','55916fInUKj','dir','create','2274gAcubk','search','apply','pathFromApp','26hJrsry','849905czDIBm','getMakaProjectConfig','110UTMIda','/imports/ui/','exit','basic-map','2516cKrIlz','Generating\x20a\x20map\x20component','constructor','368418fzFbuy','replaceAll','map','/imports/ui/hooks','</div>','\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','bright','Generate\x20an\x20Esri\x20map\x20component','2grQgqz','injectIntoFile','.js','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','30jyUZEP','baseDir','@esri/react-arcgis','fsi','processAndRunGenerator'];a120c=function(){return v;};return a120c();}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';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a120s(0x1cb)]({'name':'map','aliases':['m'],'usage':a120s(0x1b4),'shortDesc':a120s(0x1b0),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a120s(0x1c5)],'ssr':SsrEngines['FALSE']},'description':a120s(0x1ae)},async function(a,b){const t=a120s;try{Log[t(0x1af)](t(0x1a7));const c=t(0x1a5);await this['fsi'][t(0x1c1)]([t(0x1b7),'esri-loader'],{'shouldInstall':!![]});const d=this['fsi']['findProjectDirectory'](),f=this[t(0x1b8)][t(0x1d2)](),g=f[t(0x1bd)]['ssr']===t(0x1c0),h=await a120f[t(0x1b9)]('page',[t(0x1ab)],{'cwd':d,'config':f}),i={'name':headerCase(f['appName'])[t(0x1aa)]('-','\x20'),'componentName':pascalCase(c)},j=b[t(0x1b6)]?t(0x1d4)+b['baseDir']:t(0x1ac),k=this['fsi'][t(0x1cf)]({'pathParts':[j,b['dir'],paramCase(c),paramCase(c)]});await this[t(0x1b8)][t(0x1c6)](f,async()=>{const u=t;await this[u(0x1b8)]['template']({'srcPath':'kit/esri/map/'+c+'.js','destPath':k+u(0x1b3),'framework':'react','context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[t(0x1ca)]+'/'+c+'/'+c;await this[t(0x1b8)][t(0x1bc)](c,f,l);const m=h[t(0x1c4)]('/'),n=this[t(0x1b8)][t(0x1cf)]({'pathParts':m});await this[t(0x1b8)][t(0x1ba)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?'/imports/startup/lib/templates':'/imports/startup/client/templates','isNamedExport':!![]}),await this['fsi'][t(0x1b2)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+'\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','begin':[t(0x1c3),t(0x1c3)],'end':[t(0x1ad)],'replace':!![]});}catch(o){Log['error'](o),process[t(0x1d5)](0x1);}},async function(){},a120e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a121i=a121d;(function(a,b){const f=a121d,c=a();while(!![]){try{const d
|
|
1
|
+
const a121i=a121d;(function(a,b){const f=a121d,c=a();while(!![]){try{const d=parseInt(f(0x1b0))/0x1+parseInt(f(0x1ad))/0x2*(-parseInt(f(0x1ac))/0x3)+-parseInt(f(0x1b2))/0x4*(-parseInt(f(0x1b4))/0x5)+-parseInt(f(0x1aa))/0x6+parseInt(f(0x1ab))/0x7+-parseInt(f(0x1a7))/0x8+parseInt(f(0x1b1))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0xf39b5));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a121d;if(c){const e=c[g(0x1b3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const h=a121d;return a121a[h(0x1af)]()[h(0x1a6)](h(0x1a8))[h(0x1af)]()['constructor'](a121a)[h(0x1a6)](h(0x1a8));});a121a();import{Generator}from'../../generator.js';function a121c(){const j=['6042024LJfPwg','1798489DqZXjn','279geBPaG','3970jgxXzZ','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','toString','333592tvyWTf','237357oaujrI','4HCPVeD','apply','8097920GiDSEb','maka\x20g:kit','search','376432HvKJuI','(((.+)+)+)+$','maka\x20g:k'];a121c=function(){return j;};return a121c();}const KitGen=Generator['create']({'name':'kit','aliases':['k'],'usage':'maka\x20{generate,\x20g}:{kit}\x20<name>','shortDesc':a121i(0x1ae),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a121i(0x1b5),a121i(0x1a9)]},async function(){});function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x1a6;let f=c[d];return f;},a121d(a,b);}export default KitGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a122d,c=a();while(!![]){try{var d=-parseInt(f(0xa9))/0x1*(parseInt(f(0xad))/0x2)+-parseInt(f(0xb0))/0x3*(parseInt(f(0xb1))/0x4)+-parseInt(f(0xb3))/0x5*(-parseInt(f(0xb2))/0x6)+-parseInt(f(0xaf))/0x7*(-parseInt(f(0xa7))/0x8)+parseInt(f(0xab))/0x9*(-parseInt(f(0xa8))/0xa)+-parseInt(f(0xae))/0xb+parseInt(f(0xa5))/0xc*(parseInt(f(0xac))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x3f7b1));var a122b=(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;};}()),a122a=a122b(this,function(){var g=a122d;return a122a[g(0xa6)]()[g(0xa4)](g(0xaa))[g(0xa6)]()['constructor'](a122a)[g(0xa4)](g(0xaa));});function a122d(a,b){var c=a122c();return a122d=function(d,e){d=d-0xa4;var f=c[d];return f;},a122d(a,b);}function a122c(){var h=['352oWuOqe','20SumOCI','86683lUJyWP','(((.+)+)+)+$','154134USLTjL','52GBhcKh','2ZVazxV','2265142KoBXiK','42651esnnzn','9GPPjpX','562808WCkvBg','300264ONhxwC','50isueTt','search','721344motfcu','toString'];a122c=function(){return h;};return a122c();}a122a();import'./mui.generator.js';import'./frame.mui.gen.js';import'./auth.mui.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a123J=a123d;(function(a,b){const G=a123d,c=a();while(!![]){try{const d
|
|
1
|
+
const a123J=a123d;(function(a,b){const G=a123d,c=a();while(!![]){try{const d=parseInt(G(0x158))/0x1*(-parseInt(G(0x143))/0x2)+-parseInt(G(0x165))/0x3*(-parseInt(G(0x13f))/0x4)+-parseInt(G(0x16f))/0x5*(parseInt(G(0x14c))/0x6)+parseInt(G(0x152))/0x7*(parseInt(G(0x13d))/0x8)+-parseInt(G(0x16e))/0x9+-parseInt(G(0x17b))/0xa+-parseInt(G(0x167))/0xb*(-parseInt(G(0x15a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xcdc0f));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a123d;if(c){const e=c[H(0x14f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const I=a123d;return a123a[I(0x17f)]()[I(0x171)](I(0x147))[I(0x17f)]()[I(0x139)](a123a)[I(0x171)](I(0x147));});a123a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x137;let f=c[d];return f;},a123d(a,b);}function a123c(){const N=['1342AyUzIE','dir','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','Meteor\x20Accounts','split','auth','Custom\x20(roll\x20your\x20own)','2020545jrZiJJ','925jzTByD','/imports/startup/client/authentication-provider','search','appName','baseDir','register','pathFromApp','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','maka\x20generate:kit:mui:frame','forgot-password','basic-register-page','engines','6152970oPDjeb','basic-logout-page','log','basic-login-page','toString','processAndRunGenerator','true','replaceAll','constructor','kit/mui/auth/password-reset/','basic-password-reset-page','kit:auth:provider','8SUCpEv','ssr','8oAFbdD','AuthContext','custom','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','20890qpUgqG','layouts','react','meteor','(((.+)+)+)+$','kit:auth:meteor','basic-forgot-password-page','/imports/ui/','list','43050qxHAFD','options','kit/mui/auth/logout/','apply','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','logout','7965209rwBYls','findProjectDirectory','injectTemplateModule','login','force','/imports/startup/lib/authentication-provider','31ugmSUc','kit/mui/auth/forgot-password/','85524gVJZJp','kit/mui/auth/register/','maka\x20g:k:m:f','error','injectImport','fsi','route','MATERIAL','reset-password/:token','template','create','1989537ThYcSA','.js'];a123c=function(){return N;};return a123c();}import a123e from'../../../generators/maka.gen.js';import a123f from'./mui.generator.js';import{paramCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a123J(0x164)]({'name':a123J(0x16c),'aliases':['a'],'usage':a123J(0x150),'shortDesc':a123J(0x142),'validOpts':[a123J(0x144),a123J(0x156)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a123J(0x161)],'client':ClientEngines['REACT']},'examples':[a123J(0x177),a123J(0x15c)],'description':a123J(0x176)},async function(a,b){const K=a123J;try{const c=b[K(0x156)]||![],d=this[K(0x15f)][K(0x153)](),f=this[K(0x15f)]['getMakaProjectConfig'](),{authType:g}=await Actions[K(0x14d)]({'type':K(0x14b),'name':'authType','message':K(0x169),'choices':[{'name':K(0x16a),'value':'meteor'},{'name':K(0x16d),'value':K(0x141)}]}),h=K(0x17e),i='basic-logout-page',j=K(0x179),k=K(0x13b),l=K(0x149),m=b[K(0x173)]?K(0x14a)+b[K(0x173)]:'/imports/ui/pages/auth',n=this['fsi'][K(0x175)]({'pathParts':[m,b[K(0x168)],paramCase(h),paramCase(h)]}),o=this['fsi'][K(0x175)]({'pathParts':[m,b['dir'],paramCase(i),paramCase(i)]}),p=this['fsi'][K(0x175)]({'pathParts':[m,b[K(0x168)],paramCase(j),paramCase(j)]}),q=this[K(0x15f)]['pathFromApp']({'pathParts':[m,b[K(0x168)],paramCase(k),paramCase(k)]}),r=this['fsi'][K(0x175)]({'pathParts':[m,b[K(0x168)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[K(0x172)])[K(0x138)]('-','\x20')};await this['fsi']['withValue'](f,async()=>{const L=K;await this[L(0x15f)][L(0x163)]({'srcPath':'kit/mui/auth/login/'+h+L(0x166),'destPath':n+L(0x166),'framework':L(0x145),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi']['template']({'srcPath':L(0x14e)+i+'.js','destPath':o+L(0x166),'framework':L(0x145),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x15f)][L(0x163)]({'srcPath':L(0x15b)+j+L(0x166),'destPath':p+L(0x166),'framework':L(0x145),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x15f)][L(0x163)]({'srcPath':L(0x13a)+k+L(0x166),'destPath':q+'.js','framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x15f)][L(0x163)]({'srcPath':L(0x159)+l+L(0x166),'destPath':r+L(0x166),'framework':L(0x145),'context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[K(0x168)]+'/'+h+'/'+h;await this[K(0x15f)][K(0x154)](h,f,t);const u=''+m+b[K(0x168)]+'/'+i+'/'+i;await this[K(0x15f)][K(0x154)](i,f,u);const v=''+m+b[K(0x168)]+'/'+j+'/'+j;await this[K(0x15f)]['injectTemplateModule'](j,f,v);const w=''+m+b[K(0x168)]+'/'+k+'/'+k;await this[K(0x15f)][K(0x154)](k,f,w);const x=''+m+b['dir']+'/'+l+'/'+l;await this['fsi'][K(0x154)](l,f,x),await a123e[K(0x180)](K(0x160),[K(0x17e)],{'url':K(0x155),'cwd':d,'config':f}),await a123e[K(0x180)](K(0x160),[K(0x17c)],{'url':K(0x151),'private':!![],'cwd':d,'config':f}),await a123e[K(0x180)](K(0x160),[K(0x179)],{'url':K(0x174),'cwd':d,'config':f}),await a123e[K(0x180)](K(0x160),['basic-password-reset-page'],{'url':K(0x162),'cwd':d,'config':f}),await a123e[K(0x180)](K(0x160),[K(0x149)],{'url':K(0x178),'cwd':d,'config':f});g===K(0x146)&&await a123e[K(0x180)](K(0x148),[],{'force':c,'cwd':d,'config':f});g===K(0x141)&&await a123e['processAndRunGenerator'](K(0x13c),[],{'force':c,'cwd':d,'config':f});const y=f[K(0x17a)][K(0x13e)]===K(0x137),z=f[K(0x17a)]['js'],A=this[K(0x15f)]['pathFromApp']({'pathParts':t[K(0x16b)]('/')});await this['fsi'][K(0x15e)]({'filePath':A+'.'+z,'importName':K(0x140),'modulePath':y?K(0x157):K(0x170),'isNamedExport':!![]});const B=this[K(0x15f)][K(0x175)]({'pathParts':u['split']('/')});await this[K(0x15f)][K(0x15e)]({'filePath':B+'.'+z,'importName':K(0x140),'modulePath':y?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]});const C=this[K(0x15f)][K(0x175)]({'pathParts':v[K(0x16b)]('/')});await this[K(0x15f)][K(0x15e)]({'filePath':C+'.'+z,'importName':K(0x140),'modulePath':y?K(0x157):K(0x170),'isNamedExport':!![]});const D=this['fsi']['pathFromApp']({'pathParts':w[K(0x16b)]('/')});await this[K(0x15f)][K(0x15e)]({'filePath':D+'.'+z,'importName':K(0x140),'modulePath':y?'/imports/startup/lib/authentication-provider':K(0x170),'isNamedExport':!![]});const E=this[K(0x15f)][K(0x175)]({'pathParts':x['split']('/')});await this[K(0x15f)][K(0x15e)]({'filePath':E+'.'+z,'importName':K(0x140),'modulePath':y?'/imports/startup/lib/authentication-provider':K(0x170),'isNamedExport':!![]});}catch(F){Log[K(0x15d)](F);}},async function(){const M=a123J;console[M(0x17d)]('Cleaning\x20up...');},a123f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a124E=a124d;
|
|
1
|
+
const a124E=a124d;(function(a,b){const B=a124d,c=a();while(!![]){try{const d=-parseInt(B(0xa7))/0x1+parseInt(B(0xea))/0x2*(parseInt(B(0xbc))/0x3)+-parseInt(B(0xa9))/0x4+parseInt(B(0xee))/0x5+parseInt(B(0xba))/0x6+-parseInt(B(0xb9))/0x7*(-parseInt(B(0xd8))/0x8)+parseInt(B(0xed))/0x9*(-parseInt(B(0xa4))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0xc5ddc));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a124d;if(c){const e=c[C(0xf1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const D=a124d;return a124a['toString']()[D(0xc8)]('(((.+)+)+)+$')[D(0xf2)]()['constructor'](a124a)[D(0xc8)](D(0xb0));});a124a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0xa4;let f=c[d];return f;},a124d(a,b);}import a124e from'path';import a124f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';function a124c(){const I=['injectAroundString','search','true','getDirectories','{this.props.children}','template','basic-drawer','kit/mui/frame/drawers/','baseDir','session','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','@mui/material/Container','error','engines','frame','<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>','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','1507984SkoBuF','dir','maka\x20generate:kit:mui:frame','-hook\x22>','basic-app-bar','{props.children}','injectImport','layouts','Cleaning\x20up...','replaceAll','/imports/ui/components','.js','/imports/startup/client/templates','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','imports','jsx','</div>','MATERIAL','850658ZjTtAu','fsi','join','147105FNmSrR','4905210bdnEcs','log','length','apply','toString','react','tests','1090LXKpLH','No\x20layouts\x20selected','pathFromApp','832493muNkmt','app-tests','1799876FCcWSu','getMakaProjectConfig','kit/mui/frame/footers/','{\x20props.children\x20}','force','injectIntoFile','maka:react-tracker','(((.+)+)+)+$','{\x20this.props.children\x20}','findAppDirectory','checkbox','@mui/material/Box','withValue','Container','REACT','create','42mvYlNA','8023008vUQkji','appName','3WzCWdY','injectTemplateModule','checkMeteorPackage','ssr','options','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','<div\x20id=\x22','/imports/startup/lib/templates','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','Box','\x20/>\x0a'];a124c=function(){return I;};return a124c();}import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a124E(0xb8)]({'name':a124E(0xd5),'aliases':['f'],'usage':a124E(0xc4),'shortDesc':a124E(0xd7),'validOpts':[a124E(0xdf),a124E(0xcf),a124E(0xd9),a124E(0xad)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a124E(0xe9)],'client':ClientEngines[a124E(0xb7)]},'examples':[a124E(0xda),'maka\x20g:k:m:f'],'description':a124E(0xe5)},async function(a,b){const F=a124E;try{const c=b[F(0xad)]||![],d=F(0xdc),f=F(0xcd),g='basic-sticky-footer',h=this[F(0xeb)][F(0xaa)](),i=h[F(0xd4)][F(0xbf)]===F(0xc9);await this['fsi'][F(0xbe)]([F(0xd0),F(0xaf)],{'shouldInstall':!![]});const j=this[F(0xeb)][F(0xb2)](),k=a124e[F(0xec)](j,F(0xe6),'ui',F(0xdf)),l=this[F(0xeb)][F(0xca)](k),m=await Actions[F(0xc0)]({'type':F(0xb3),'name':F(0xdf),'message':F(0xd1),'choices':l});if(m[F(0xdf)][F(0xf0)]===0x0){Log[F(0xd3)](F(0xa5));return;}const n=b['baseDir']?'/imports/ui/'+b['baseDir']:F(0xe2),o=this[F(0xeb)]['pathFromApp']({'pathParts':[n,b[F(0xd9)],paramCase(d),paramCase(d)]}),p=this['fsi'][F(0xa6)]({'pathParts':[n,b[F(0xd9)],paramCase(f),paramCase(f)]}),q=this[F(0xeb)][F(0xa6)]({'pathParts':[n,b['dir'],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[F(0xbb)])[F(0xe1)]('-','\x20')};await this[F(0xeb)][F(0xb5)](h,async()=>{const G=F;await this[G(0xeb)][G(0xcc)]({'srcPath':'kit/mui/frame/app-bars/'+d+G(0xe3),'destPath':o+G(0xe3),'framework':G(0xf3),'context':r,'config':h,'force':c,'ignore':![]}),await this['fsi']['template']({'srcPath':G(0xce)+f+G(0xe3),'destPath':p+'.js','framework':G(0xf3),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0xeb)][G(0xcc)]({'srcPath':G(0xab)+g+G(0xe3),'destPath':q+G(0xe3),'framework':'react','context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b[F(0xd9)]+'/'+d+'/'+d;await this['fsi'][F(0xbd)](d,h,s);const t=''+n+b[F(0xd9)]+'/'+f+'/'+f;await this[F(0xeb)][F(0xbd)](f,h,t);const u=''+n+b[F(0xd9)]+'/'+g+'/'+g;await this['fsi']['injectTemplateModule'](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[F(0xeb)]['getFiles'](a124e[F(0xec)](k,w),{'extensions':[F(0xe7),'tsx'],'omit':[F(0xa8),F(0xf4),'test']});for(const y of x){const z=a124e[F(0xec)](k,w,y);await this[F(0xeb)]['injectImport']({'filePath':z,'importName':F(0xc5),'modulePath':F(0xb4),'isNamedExport':![]}),await this['fsi'][F(0xde)]({'filePath':z,'importName':F(0xb6),'modulePath':F(0xd2),'isNamedExport':![]}),await this[F(0xeb)][F(0xde)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?F(0xc3):F(0xe4),'isNamedExport':!![]}),await this[F(0xeb)]['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(d)+F(0xc6),'begin':[F(0xc2)+w+'\x22>','<div\x20id=\x22'+w+F(0xdb)],'end':[F(0xcb),'{\x20this.props.children\x20}','{props.children}','{\x20props.children\x20}']}),await this['fsi']['injectImport']({'filePath':z,'importName':pascalCase(f),'modulePath':i?F(0xc3):F(0xe4),'isNamedExport':!![]}),await this[F(0xeb)][F(0xae)]({'filePath':z,'content':'<'+pascalCase(f)+F(0xc6),'begin':[F(0xc2)+w+'\x22>','<div\x20id=\x22'+w+F(0xdb)],'end':['{this.props.children}',F(0xb1),F(0xdd),F(0xac)]}),await this[F(0xeb)]['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(g)+F(0xc6),'begin':[F(0xcb),F(0xb1),F(0xdd),F(0xac)],'end':[F(0xe8)]}),await this[F(0xeb)]['injectImport']({'filePath':z,'importName':pascalCase(g),'modulePath':i?F(0xc3):F(0xe4),'isNamedExport':!![]}),await this['fsi'][F(0xc7)]({'filePath':z,'aboveContent':F(0xd6),'belowContent':F(0xc1),'targetString':['{this.props.children}','{\x20this.props.children\x20}','{props.children}',F(0xac)],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log[F(0xd3)](A);}},async function(){const H=a124E;console[H(0xef)](H(0xe0));},a124f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x1c6;let f=c[d];return f;},a125d(a,b);}function a125c(){const l=['2789934XwlFEa','apply','processAndRunGenerator','32517252zxPnTt','fsi','8242344KfBMOx','auth','750286sGmKHz','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','search','No\x20MUI\x20kits\x20selected.\x20Exiting.','470280PNrybY','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','options','Material-UI\x20Kit','toString','notice','\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','frame','info','checkbox','4346556AUYMgb','365FYMivK','getMakaProjectConfig','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','kit:mui:auth','(((.+)+)+)+$','findProjectDirectory','18yRyWTU','maka\x20g:kit:m','kitChoices','81654CBRNeg'];a125c=function(){return l;};return a125c();}const a125j=a125d;(function(a,b){const g=a125d,c=a();while(!![]){try{const d=-parseInt(g(0x1d8))/0x1+parseInt(g(0x1dd))/0x2*(parseInt(g(0x1cd))/0x3)+-parseInt(g(0x1c6))/0x4+parseInt(g(0x1c7))/0x5*(-parseInt(g(0x1d0))/0x6)+-parseInt(g(0x1d1))/0x7+-parseInt(g(0x1d6))/0x8+parseInt(g(0x1d4))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0xbaad7));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a125d;if(c){const e=c[h(0x1d2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const i=a125d;return a125a[i(0x1e1)]()[i(0x1db)]('(((.+)+)+)+$')[i(0x1e1)]()['constructor'](a125a)[i(0x1db)](i(0x1cb));});a125a();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['create']({'name':'mui','aliases':['m'],'usage':a125j(0x1c9),'noNeedResource':!![],'shortDesc':a125j(0x1e0),'validOpts':[''],'isPro':!![],'examples':[a125j(0x1ce)]},async function(){const k=a125j;Log[k(0x1e5)](k(0x1d9)),Log[k(0x1e2)](k(0x1e3));const {kitChoices:a}=await Actions[k(0x1df)]({'type':k(0x1e6),'name':k(0x1cf),'message':k(0x1de),'choices':[{'name':'Header,\x20Footer,\x20and\x20Drawer','value':k(0x1e4)},{'name':k(0x1da),'value':k(0x1d7)}]}),b=this[k(0x1d5)][k(0x1cc)](),c=this[k(0x1d5)][k(0x1c8)]();a['includes'](k(0x1e4))&&await a125e['processAndRunGenerator']('kit:mui:frame',[],{'force':!![],'cwd':b,'config':c});a['includes'](k(0x1d7))&&await a125e[k(0x1d3)](k(0x1ca),[],{'force':!![],'cwd':b,'config':c});if(a['length']===0x0){Log['info'](k(0x1dc));return;}},async function(){},a125f);export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a126o=a126d;(function(a,b){const l=a126d,c=a();while(!![]){try{const d=-parseInt(l(0x194))/0x1*(parseInt(l(0x1a4))/0x2)+-parseInt(l(0x18b))/0x3*(-parseInt(l(0x1a5))/0x4)+parseInt(l(0x1b9))/0x5*(parseInt(l(0x1b5))/0x6)+parseInt(l(0x1aa))/0x7*(-parseInt(l(0x1b4))/0x8)+-parseInt(l(0x1a3))/0x9*(parseInt(l(0x1b7))/0xa)+parseInt(l(0x19d))/0xb+parseInt(l(0x19a))/0xc*(-parseInt(l(0x18d))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x46bbb));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a126d;if(c){const e=c[m(0x1ab)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const n=a126d;return a126a[n(0x1b3)]()[n(0x1a8)](n(0x17d))['toString']()[n(0x1bc)](a126a)[n(0x1a8)]('(((.+)+)+)+$');});a126a();import a126e from'path';import{Generator}from'../generator.js';function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x17d;let f=c[d];return f;},a126d(a,b);}import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator[a126o(0x189)]({'name':'layout','aliases':aliases,'usage':a126o(0x18f),'shortDesc':a126o(0x1a2),'validOpts':[a126o(0x196)],'examples':[a126o(0x192),a126o(0x1bd)]},async function(a,b){const p=a126o,c=p(0x17f),d=this[p(0x1ae)]['findAppDirectory'](),e=this[p(0x1ae)]['pathFromApp']({'pathParts':[c,b[p(0x1ac)],paramCase(b[p(0x195)]),paramCase(b['resourceName'])]}),f=this[p(0x1ae)][p(0x19f)]();await this[p(0x1ae)][p(0x197)](f,async()=>{const q=p;typeof f['template'][q(0x186)]==='string'&&(f['template']['test']=f[q(0x17e)][q(0x186)]===q(0x184)?!![]:![],this[q(0x1ae)]['setTemplate'](q(0x186),f[q(0x17e)][q(0x186)]));typeof f['template'][q(0x1a6)]===q(0x1b6)&&(f[q(0x17e)][q(0x1a6)]=f[q(0x17e)][q(0x1a6)]===q(0x184)?!![]:![],this[q(0x1ae)][q(0x191)](q(0x1a6),f[q(0x17e)][q(0x1a6)]));typeof f[q(0x17e)]['js']===q(0x1b6)&&(f['template']['js']=f['template']['js']==='true'?!![]:![],this['fsi'][q(0x191)]('js',f[q(0x17e)]['js']));!f[q(0x1bb)]&&(f[q(0x1bb)]={});const g=b['_']?b['_'][0x0][q(0x1b2)](':')[0x1]:![],h=b['_']&&aliases[q(0x1b8)](g);h&&!this['checkNpmPackage'](q(0x187))&&(Log[q(0x19b)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),this[q(0x1ae)][q(0x182)](q(0x187),{'cwd':d}));if(h&&!this[q(0x181)](q(0x188))){Log['warn'](q(0x1ba));return;}const i={'name':pascalCase(b['resourceName']),'myPath':a126e[q(0x1a7)](this[q(0x1ae)][q(0x1a1)]({}),e),'cssCaseName':paramCase(b[q(0x195)]),'className':pascalCase(b[q(0x195)]),'camelCaseName':camelCase(b[q(0x195)]),'fileName':paramCase(b['resourceName']),'graphql':f[q(0x1a9)]['graphql'],'features':f['features'],'client':f['engines'][q(0x183)],'api':f[q(0x1a9)][q(0x19c)],'ssr':f[q(0x1a9)][q(0x1ad)],'test':f['engines'][q(0x186)],'theme':f[q(0x1a9)][q(0x18a)],'isComponent':![],'isLayout':!![],'withTranslations':f[q(0x1bb)][q(0x190)]};f[q(0x1bb)]?.[q(0x1b0)]||b[q(0x196)]?await this[q(0x1ae)][q(0x17e)]({'srcPath':q(0x185),'destPath':e+'.js','framework':q(0x188),'context':i,'config':f}):await this[q(0x1ae)][q(0x17e)]({'srcPath':q(0x193),'destPath':e+q(0x1af),'framework':q(0x188),'context':i,'config':f});f[q(0x1a9)]['test']!==q(0x19e)&&await this['fsi'][q(0x17e)]({'srcPath':q(0x199),'destPath':e+q(0x1a0),'framework':q(0x188),'context':i,'config':f});f['template'][q(0x1a6)]&&(await this[q(0x1ae)][q(0x17e)]({'srcPath':'template/template.css','destPath':e+'.css','context':Object[q(0x198)]({},i,{'className':paramCase(b[q(0x195)])}),'config':f}),await this[q(0x1ae)][q(0x18c)]({'filePath':e+'.'+f[q(0x1a9)]['js'],'content':q(0x180)+i[q(0x1b1)]+'.'+f['engines'][q(0x1a6)]+'\x27;'}));const j=b[q(0x1ac)]?'/'+b['dir']+'/':'/',k=''+c+j+i[q(0x1b1)]+'/'+i[q(0x1b1)];await this[q(0x1ae)]['injectTemplateModule'](i[q(0x18e)],f,k);});});function a126c(){const r=['ssr','fsi','.js','withHooks','fileName','split','toString','16PgALpi','282642HygzWp','string','14610JkbJmp','includes','45hEzlWc','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','features','constructor','maka\x20g:l\x20web/safari','(((.+)+)+)+$','template','/imports/ui/layouts','import\x20\x27./','checkNpmPackage','installNpmPackage','client','true','hook/hook.js','test','ramda','react','create','theme','603KrgTdv','injectAtBeginningOfFile','2707913fQBaTi','className','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','withTranslations','setTemplate','maka\x20g:layout\x20mobile/iPhone8','component/component.js','1krsHLP','resourceName','withHook','withValue','assign','test/test.js','12ueYYFq','warn','api','5335352ytUQqK','none','getMakaProjectConfig','.app-tests.js','pathFromProject','Scaffolding\x20for\x20a\x20React\x20Layout.','2169flygBJ','179142FbEGAF','5020QEoCTc','css','relative','search','engines','775439DaGCHw','apply','dir'];a126c=function(){return r;};return a126c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a127i=a127d;function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x19b;let f=c[d];return f;},a127d(a,b);}function a127c(){const j=['3kmGZJj','Scaffold\x20various\x20parts\x20of\x20your\x20application','maka\x20g:dbc\x20geoserver\x20--type=pgsql','toString','81878sUtXxi','12581504OjWJQE','maka\x20g:package\x20package:name','(((.+)+)+)+$','apply','maka\x20generate:scaffold\x20todos','maka\x20g:scaffold\x20todos','5mhWHqC','3783954KszHpC','maka\x20g:route\x20todos/edit','10335860fKNXTk','4723256bFyWHT','6961810lDHEpy','22xCNdzg','7KvRGLX','maka\x20g:api\x20trucks','maka\x20g:template\x20todos/todo_item','search','9615078FIDElS','maka\x20{generate,\x20g}:<generator>\x20<name>'];a127c=function(){return j;};return a127c();}(function(a,b){const f=a127d,c=a();while(!![]){try{const d=parseInt(f(0x1a5))/0x1*(parseInt(f(0x19e))/0x2)+parseInt(f(0x1b2))/0x3*(parseInt(f(0x1a9))/0x4)+-parseInt(f(0x1aa))/0x5+parseInt(f(0x1a6))/0x6*(-parseInt(f(0x1ac))/0x7)+-parseInt(f(0x19f))/0x8+parseInt(f(0x1b0))/0x9+-parseInt(f(0x1a8))/0xa*(-parseInt(f(0x1ab))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0xe1e82));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a127d;if(c){const e=c[g(0x1a2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const h=a127d;return a127a[h(0x19d)]()[h(0x1af)](h(0x1a1))[h(0x19d)]()['constructor'](a127a)[h(0x1af)]('(((.+)+)+)+$');});a127a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':'generate','aliases':['g'],'usage':a127i(0x1b1),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a127i(0x19b),'examples':[a127i(0x1a3),a127i(0x1a4),a127i(0x1ae),a127i(0x1a0),a127i(0x1a7),a127i(0x1ad),a127i(0x19c)]},function(){});export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a128m=a128d;(function(a,b){const j=a128d,c=a();while(!![]){try{const d=parseInt(j(0xe4))/0x1+-parseInt(j(0xd7))/0x2+parseInt(j(0xd3))/0x3+parseInt(j(0xc5))/0x4+-parseInt(j(0xe0))/0x5+parseInt(j(0xd1))/0x6+-parseInt(j(0xda))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x72a1f));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a128d;if(c){const e=c[k(0xce)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const l=a128d;return a128a[l(0xc8)]()['search']('(((.+)+)+)+$')[l(0xc8)]()['constructor'](a128a)[l(0xdd)](l(0xd9));});function a128c(){const p=['toString','injectAtEndOfFile','imports','method/method.js','startup','template','apply','-rpc-method\x27;','ddp-rate-limiter','1078470JOwtkP','pathFromApp','343077yqvZSE','import\x20\x27./methods','tsx','checkMeteorPackage','432420XXheWx','maka\x20{generate,\x20g}:{method,\x20m}\x20name','(((.+)+)+)+$','7319340yNHOjk','method','resourceName','search','index.','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','1455965odrcpo','appPathPrefix','-rpc-method.','methods','835303cOMYkP','fsi','3572604aYFNuS','dir','engines'];a128c=function(){return p;};return a128c();}a128a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0xc4;let f=c[d];return f;},a128d(a,b);}Generator['create']({'name':a128m(0xdb),'aliases':['m'],'usage':a128m(0xd8),'checkWhere':!![],'shortDesc':a128m(0xdf),'validOpts':[a128m(0xc6)],'examples':['maka\x20g:method\x20todos']},async function(a,b){const n=a128m;try{const c=this[n(0xc4)]['getMakaProjectConfig']();await this['fsi']['withValue'](c,async()=>{const o=n,d=paramCase(b[o(0xdc)]),f={'name':b['resourceName'],'fileName':d,'className':pascalCase(b['resourceName']),'camelCase':camelCase(b[o(0xdc)]),'noRename':!![]};let g='js';c['engines']['js']===o(0xd5)&&(g='ts');await this[o(0xc4)][o(0xd6)](['maka:check',o(0xd0),'mdg:validated-method'],{'shouldInstall':!![]}),await this['fsi'][o(0xcd)]({'srcPath':o(0xcb),'destPath':this['fsi'][o(0xd2)]({'pathParts':['imports',o(0xcc),b['appPathPrefix'],o(0xe3),b[o(0xc6)],d+o(0xe2)+g]}),'context':f,'config':c});const h=b[o(0xc6)]?'/'+b['dir']+'/':'/',i=this['fsi'][o(0xd2)]({'pathParts':[o(0xca),'startup',b[o(0xe1)],o(0xde)+c[o(0xc7)]['js']]});await this[o(0xc4)][o(0xc9)]({'filePath':i,'content':o(0xd4)+h+d+o(0xcf)});});}catch(d){Log['error'](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a129c(){const r=['maka\x20g:package\x20todos:package','resourceName','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','pathFromApp','server','1107256ZfUpyD','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','apply','8284002gFjOpk','pathFromProject','noRename','create','(((.+)+)+)+$','layout','1243hmzDZP','/package.js','fsi','withValue','template','graphql','2YQQTsa','client','dir','ssr','engines','template/template.js','4771638RwLhrp','search','packages','tests/client','getMakaProjectConfig','67690SGMNQm','285219diEKyk','hasOwnProperty','.js','relative','49284wCFmxq','/client/','8rREROK','176VuszRF','tests/server','features','10VzHgvk','store','pathFromAppWithNoReWrite','constructor','toString','package','1658210rVktoK'];a129c=function(){return r;};return a129c();}function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x129;let f=c[d];return f;},a129d(a,b);}const a129o=a129d;(function(a,b){const l=a129d,c=a();while(!![]){try{const d=parseInt(l(0x14d))/0x1*(-parseInt(l(0x12b))/0x2)+parseInt(l(0x137))/0x3+-parseInt(l(0x13d))/0x4*(-parseInt(l(0x147))/0x5)+parseInt(l(0x150))/0x6+-parseInt(l(0x136))/0x7*(parseInt(l(0x13e))/0x8)+-parseInt(l(0x131))/0x9*(-parseInt(l(0x141))/0xa)+parseInt(l(0x156))/0xb*(-parseInt(l(0x13b))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xd817f));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a129d;if(c){const e=c[m(0x14f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const n=a129d;return a129a[n(0x145)]()[n(0x132)](n(0x154))[n(0x145)]()[n(0x144)](a129a)[n(0x132)]('(((.+)+)+)+$');});a129a();import a129e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a129o(0x153)]({'name':a129o(0x146),'aliases':['p'],'usage':a129o(0x14e),'shortDesc':a129o(0x14a),'validOpts':['dir'],'examples':[a129o(0x148)]},async function(a,b){const p=a129o,c=paramCase(b['resourceName']),d=this[p(0x158)][p(0x14b)]({'pathParts':[p(0x133),b[p(0x12d)],c]}),e=this['fsi'][p(0x143)]({'pathParts':['packages',b[p(0x12d)],c,'package.js']}),f=this[p(0x158)][p(0x135)]();await this[p(0x158)][p(0x159)](f,async()=>{const q=p,g={'name':paramCase(b['resourceName']),'myPath':a129e[q(0x13a)](this['fsi'][q(0x151)]({}),d),'cssCaseName':paramCase(b[q(0x149)]),'className':pascalCase(b[q(0x149)]),'camelCaseName':camelCase(b['resourceName']),'fileName':c,'client':f[q(0x12f)][q(0x12c)],'graphql':f[q(0x12f)][q(0x12a)],'ssr':f[q(0x12f)][q(0x12e)],'isComponent':b['hasOwnProperty']('component'),'isLayout':b[q(0x138)](q(0x155)),'isStore':b['hasOwnProperty'](q(0x142)),'features':f[q(0x140)],'noRename':!![],'theme':f['engines']['theme']};await this['fsi'][q(0x129)]({'srcPath':'package/package.js','destPath':e,'context':g,'config':f}),g[q(0x152)]=![];const h=d+q(0x13c)+c+q(0x139);await this[q(0x158)][q(0x129)]({'srcPath':q(0x130),'destPath':h,'context':g,'config':f});const i=['lib',q(0x14c),q(0x134),q(0x13f)];for(const j of i){const k=d+'/'+j+'/'+c+'.js';await this['fsi'][q(0x129)]({'srcPath':'package/'+j+q(0x157),'destPath':k,'context':g,'config':f});}});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a130m=a130d;(function(a,b){const j=a130d,c=a();while(!![]){try{const d=-parseInt(j(
|
|
1
|
+
const a130m=a130d;(function(a,b){const j=a130d,c=a();while(!![]){try{const d=-parseInt(j(0xaf))/0x1*(parseInt(j(0xb0))/0x2)+-parseInt(j(0xa4))/0x3+-parseInt(j(0xc1))/0x4*(-parseInt(j(0xc3))/0x5)+parseInt(j(0xb5))/0x6*(parseInt(j(0x87))/0x7)+parseInt(j(0x90))/0x8*(parseInt(j(0xa8))/0x9)+parseInt(j(0xa1))/0xa*(-parseInt(j(0x8f))/0xb)+parseInt(j(0x80))/0xc*(-parseInt(j(0xb6))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0xcada5));function a130c(){const p=['/imports/ui/','54852XFEsih','injectAtBeginningOfFile','installNpmPackage','setTemplate','relative','hook/hook.js','apply','5768iIoPfF','api','hasOwnProperty','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','template/template.html','true','checkNpmPackage','features','11hgkVpU','7006288AnAAxw','.js','withValue','template','Generate\x20a\x20page.','getMakaProjectConfig','pages','components','create','processAndRunGenerator','(((.+)+)+)+$','fileName','baseDir','layouts','pathFromApp','toString','search','3832190AikpUc','html','withTranslations','1516410Zvdlju','ramda','\x27;\x0a','css','9uvTJYK','root','warn','client','.html','import\x20\x27./','resourceName','1481yWDUve','698JQdRHR','/imports/ui/pages','layout','dir','test/test.js','8142zcUibI','481jIbWGh','test','route','page','.css','engines','string','component/component.js','findAppDirectory','withHook','fsi','8QMRGIg','react','1029040wKOXgi','vanilla'];a130c=function(){return p;};return a130c();}const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a130d;if(c){const e=c[k(0x86)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const l=a130d;return a130a[l(0x9f)]()[l(0xa0)](l(0x9a))[l(0x9f)]()['constructor'](a130a)['search'](l(0x9a));});a130a();import a130e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a130f from'../generators/maka.gen.js';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x80;let f=c[d];return f;},a130d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator[a130m(0x98)]({'name':a130m(0xb9),'aliases':aliases,'usage':a130m(0x8a),'shortDesc':a130m(0x94),'validOpts':[{'name':a130m(0x9c),'values':['hooks',a130m(0x97),a130m(0x96),a130m(0x9d)]},{'name':a130m(0xbf),'boolFlag':!![]}],'examples':['maka\x20g:page\x20todos/todos-item']},async function(a,b){const n=a130m,c=b['baseDir']?n(0xc5)+b[n(0x9c)]:n(0xb1),d=this[n(0xc0)][n(0xbe)](),e=this[n(0xc0)][n(0x9e)]({'pathParts':[c,b[n(0xb3)],paramCase(b['resourceName']),paramCase(b[n(0xae)])]}),f=this['fsi'][n(0x95)]();let g='';return await this[n(0xc0)][n(0x92)](f,async()=>{const o=n;typeof f[o(0x93)][o(0xa2)]===o(0xbc)&&(f[o(0x93)][o(0xa2)]=f[o(0x93)][o(0xa2)]===o(0x8c)?!![]:![],this[o(0xc0)][o(0x83)](o(0xa2),f[o(0x93)][o(0xa2)]));typeof f[o(0x93)][o(0xb7)]==='string'&&(f['template'][o(0xb7)]=f[o(0x93)]['test']===o(0x8c)?!![]:![],this[o(0xc0)][o(0x83)]('test',f['template']['test']));typeof f['template']['css']==='string'&&(f[o(0x93)][o(0xa7)]=f[o(0x93)]['css']===o(0x8c)?!![]:![],this[o(0xc0)][o(0x83)](o(0xa7),f[o(0x93)][o(0xa7)]));typeof f[o(0x93)]['js']===o(0xbc)&&(f[o(0x93)]['js']=f[o(0x93)]['js']==='true'?!![]:![],this[o(0xc0)][o(0x83)]('js',f[o(0x93)]['js']));!f[o(0x8e)]&&(f['features']={});!b[o(0xa9)]&&!this[o(0xc0)][o(0x8d)](o(0xa5))&&(Log[o(0xaa)]('Updating\x20npm\x20packages\x20...'),this[o(0xc0)][o(0x82)](o(0xa5),{'cwd':d}));const h={'name':pascalCase(b[o(0xae)]),'myPath':a130e[o(0x84)](this[o(0xc0)]['pathFromProject']({}),e),'cssCaseName':paramCase(b[o(0xae)]),'className':pascalCase(b[o(0xae)]),'camelCaseName':camelCase(b[o(0xae)]),'fileName':paramCase(b['resourceName']),'graphql':f[o(0xbb)]['graphql'],'features':f[o(0x8e)],'client':f[o(0xbb)][o(0xab)],'api':f[o(0xbb)][o(0x88)],'ssr':f[o(0xbb)]['ssr'],'isStore':b['hasOwnProperty']('store'),'isComponent':b[o(0x89)]('component'),'isLayout':b['hasOwnProperty'](o(0xb2)),'withTranslations':f['features'][o(0xa3)],'test':f[o(0xbb)][o(0xb7)],'theme':f[o(0xbb)]['theme']};f[o(0x93)][o(0xa2)]&&await this[o(0xc0)][o(0x93)]({'srcPath':o(0x8b),'destPath':e+o(0xac),'context':h,'config':f});f['features']?.['withHooks']||b[o(0xbf)]?await this[o(0xc0)]['template']({'srcPath':o(0x85),'destPath':e+o(0x91),'framework':o(0xc2),'context':h,'config':f}):await this[o(0xc0)]['template']({'srcPath':o(0xbd),'destPath':e+o(0x91),'framework':'react','context':h,'config':f});f[o(0xbb)]['test']!=='none'&&await this[o(0xc0)][o(0x93)]({'srcPath':o(0xb4),'destPath':e+'.app-tests.js','framework':'react','context':h,'config':f});f[o(0x93)]['css']&&await this[o(0xc0)][o(0x93)]({'srcPath':'template/template.css','destPath':e+o(0xba),'context':Object['assign']({},h,{'className':paramCase(b['resourceName'])}),'config':f});f['engines']['client']!==o(0xc2)&&f[o(0xbb)][o(0xab)]!==o(0xc4)?(f[o(0x93)][o(0xa7)]&&await this[o(0xc0)][o(0x81)]({'filePath':e+'.'+f[o(0xbb)]['js'],'content':o(0xad)+h['fileName']+'.'+f[o(0xbb)][o(0xa2)]+o(0xa6)+o(0xad)+h[o(0x9b)]+'.'+f['engines'][o(0xa7)]+'\x27;'}),!f[o(0x93)][o(0xa7)]&&await this[o(0xc0)][o(0x81)]({'filePath':e+'.'+f[o(0xbb)]['js'],'content':o(0xad)+h[o(0x9b)]+'.'+f[o(0xbb)]['html']+'\x27;'})):f['template'][o(0xa7)]&&await this['fsi'][o(0x81)]({'filePath':e+'.'+f[o(0xbb)]['js'],'content':o(0xad)+h[o(0x9b)]+'.'+f['engines'][o(0xa7)]+'\x27;'});const i=b['dir']?'/'+b[o(0xb3)]+'/':'/';g=''+c+i+h[o(0x9b)]+'/'+h['fileName'],await this['fsi']['injectTemplateModule'](h['className'],f,g),!b['root']&&await a130f[o(0x99)](o(0xb8),[i+b['resourceName']],b);}),g+'.'+f[n(0xbb)]['js'];});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a131o=a131d;(function(a,b){const m=a131d,c=a();while(!![]){try{const d=-parseInt(m(0x178))/0x1*(parseInt(m(0x176))/0x2)+-parseInt(m(0x191))/0x3+-parseInt(m(0x18f))/0x4*(-parseInt(m(0x184))/0x5)+parseInt(m(0x17d))/0x6+-parseInt(m(0x179))/0x7*(parseInt(m(0x186))/0x8)+parseInt(m(0x17f))/0x9*(parseInt(m(0x18a))/0xa)+parseInt(m(0x17a))/0xb*(-parseInt(m(0x171))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x3d0c1));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 n=a131d;return a131a['toString']()['search'](n(0x189))['toString']()['constructor'](a131a)[n(0x193)](n(0x189));});a131a();import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x16b;let f=c[d];return f;},a131d(a,b);}function a131c(){const r=['fsi','template','resourceName','appPathPrefix','globalPublish','imports','24SDphGA','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','exit','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','startup','24504FqcMYK','engines','3DBIRcx','15316kDGnvA','629882JQWZuU','index.','publish','2318670VmBHRl','publish/publish.js','9PFWpvV','force','error','tsx','baseDir','35eYnwSW','maka\x20g:publish\x20todos','1600GgjYEN','dir','/imports/startup/server/publications','(((.+)+)+)+$','4376910ABdstE','injectAtEndOfFile','/imports/ui/','withValue','import\x20\x27./publications','234028Gwjrrz','pathFromApp','1184268nviROL','create','search'];a131c=function(){return r;};return a131c();}import{Log}from'../tools/log/log.class.js';Generator[a131o(0x192)]({'name':a131o(0x17c),'aliases':['p'],'usage':a131o(0x174),'shortDesc':a131o(0x172),'validOpts':['force',a131o(0x16f)],'examples':[a131o(0x185)]},async function(a,b){const p=a131o;try{const c=b[p(0x180)]||![],d=b[p(0x183)]?p(0x18c)+b[p(0x183)]:p(0x188),f=this['fsi']['getMakaProjectConfig'](),g=paramCase(b[p(0x16d)]),h=this[p(0x16b)][p(0x190)]({'pathParts':[d,b[p(0x187)],'',g]});let i='js';f[p(0x177)]['js']===p(0x182)&&(i='ts');await this[p(0x16b)][p(0x18d)](f,async()=>{const q=p,l={'name':b[q(0x16d)],'collection':pascalCase(b[q(0x16d)]),'noRename':!![],'globalPublish':b[q(0x16f)]};await this[q(0x16b)][q(0x16c)]({'srcPath':q(0x17e),'destPath':h+'.'+i,'context':l,'config':f,'force':c});});const j=this[p(0x16b)][p(0x190)]({'pathParts':[p(0x170),p(0x175),'server',b[p(0x16e)],p(0x17b)+f[p(0x177)]['js']]}),k=b['dir']?'/'+b[p(0x187)]+'/':'/';return await this[p(0x16b)][p(0x18b)]({'filePath':j,'content':p(0x18e)+k+g+'\x27;'}),h+'.'+i;}catch(l){Log[p(0x181)](l),process[p(0x173)](0x1);}});
|