@maka/maka-cli 5.1.14 → 5.1.16
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 -2
- package/bundle/obf/src/command.js +1 -1
- package/bundle/obf/src/commands/_index.js +1 -1
- package/bundle/obf/src/commands/ai.js +1 -1
- package/bundle/obf/src/commands/aws/_index.js +1 -1
- package/bundle/obf/src/commands/aws/aws.command.js +1 -1
- package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/build/_index.js +1 -1
- package/bundle/obf/src/commands/build/build.js +1 -1
- package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/create.js +1 -1
- package/bundle/obf/src/commands/debug.js +1 -1
- package/bundle/obf/src/commands/deploy/_index.js +1 -1
- package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
- package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/_index.js +1 -1
- package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/play.command.js +1 -1
- package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/generate.js +1 -1
- package/bundle/obf/src/commands/get/_index.js +1 -1
- package/bundle/obf/src/commands/get/get.command.js +1 -1
- package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/help.js +1 -1
- package/bundle/obf/src/commands/install.js +1 -1
- package/bundle/obf/src/commands/jsdoc.js +1 -1
- package/bundle/obf/src/commands/lint.js +1 -1
- package/bundle/obf/src/commands/login.js +1 -1
- package/bundle/obf/src/commands/logout.js +1 -1
- package/bundle/obf/src/commands/logs.js +1 -1
- package/bundle/obf/src/commands/maka.cmd.js +1 -1
- package/bundle/obf/src/commands/murder.js +1 -1
- package/bundle/obf/src/commands/profile.js +1 -1
- package/bundle/obf/src/commands/proxy.js +1 -1
- package/bundle/obf/src/commands/reconfig.js +1 -1
- package/bundle/obf/src/commands/register.js +1 -1
- package/bundle/obf/src/commands/run/_index.js +1 -1
- package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/run/run.command.js +1 -1
- package/bundle/obf/src/commands/set/_index.js +1 -1
- package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/set.command.js +1 -1
- package/bundle/obf/src/commands/ssh.js +1 -1
- package/bundle/obf/src/commands/ssl.js +1 -1
- package/bundle/obf/src/commands/testCmd/_index.js +1 -1
- package/bundle/obf/src/commands/testCmd/jest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/testCmd/mocha.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/testCmd/test.command.js +1 -1
- package/bundle/obf/src/commands/undo.js +1 -1
- package/bundle/obf/src/commands/uninstall.js +1 -0
- package/bundle/obf/src/commands/version/_index.js +1 -1
- package/bundle/obf/src/commands/version/list.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/version/use.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/version/version.js +1 -1
- package/bundle/obf/src/error.js +1 -1
- package/bundle/obf/src/exec.js +1 -1
- package/bundle/obf/src/generator.js +1 -1
- package/bundle/obf/src/generators/_index.js +1 -1
- package/bundle/obf/src/generators/api.js +1 -1
- package/bundle/obf/src/generators/aws/_index.js +1 -1
- package/bundle/obf/src/generators/aws/aws.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
- package/bundle/obf/src/generators/collection.js +1 -1
- package/bundle/obf/src/generators/component.js +1 -1
- package/bundle/obf/src/generators/config.js +1 -1
- package/bundle/obf/src/generators/dbc.js +1 -1
- package/bundle/obf/src/generators/dockerfile.js +1 -1
- package/bundle/obf/src/generators/hook.js +1 -1
- package/bundle/obf/src/generators/kits/_index.js +1 -1
- package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
- package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
- package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
- package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
- package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
- package/bundle/obf/src/generators/kits/kit.js +1 -1
- package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
- package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
- package/bundle/obf/src/generators/layout.js +1 -1
- package/bundle/obf/src/generators/maka.gen.js +1 -1
- package/bundle/obf/src/generators/methods.js +1 -1
- package/bundle/obf/src/generators/package.js +1 -1
- package/bundle/obf/src/generators/page.js +1 -1
- package/bundle/obf/src/generators/publish.js +1 -1
- package/bundle/obf/src/generators/route.js +1 -1
- package/bundle/obf/src/generators/service.js +1 -1
- package/bundle/obf/src/generators/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/translation.js +1 -1
- package/bundle/obf/src/maka.js +1 -1
- package/bundle/obf/src/tool.js +1 -1
- package/bundle/obf/src/tools/actions/actions.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
- package/bundle/obf/src/tools/cfg/cfg.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
- package/bundle/obf/src/tools/https/https.class.js +1 -1
- package/bundle/obf/src/tools/https/https.interface.js +1 -1
- package/bundle/obf/src/tools/log/log.class.js +1 -1
- package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
- package/bundle/obf/src/tools/mpi/mpi.class.js +1 -1
- package/bundle/obf/src/tools/options/options.class.js +1 -1
- package/bundle/obf/src/tools/pkg/pkg.class.js +1 -1
- package/bundle/obf/src/tools/progress/progress.class.js +1 -1
- package/bundle/obf/src/tools/scaffold/scaffold.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
- package/package.json +1 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a118n=a118d;(function(a,b){const k=a118d,c=a();while(!![]){try{const d=-parseInt(k(0xfb))/0x1*(parseInt(k(0xf7))/0x2)+parseInt(k(0x108))/0x3+parseInt(k(0xe3))/0x4*(-parseInt(k(0xe9))/0x5)+parseInt(k(0x107))/0x6*(parseInt(k(0xf4))/0x7)+-parseInt(k(0xe5))/0x8*(parseInt(k(0xe6))/0x9)+-parseInt(k(0x109))/0xa+parseInt(k(0x10a))/0xb*(parseInt(k(0xea))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x5275d));const a118b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a118d;if(c){const e=c[l(0xf0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){const m=a118d;return a118a[m(0x10c)]()['search'](m(0x104))[m(0x10c)]()[m(0xf1)](a118a)[m(0xf6)]('(((.+)+)+)+$');});function a118c(){const p=['collections','projectConfig','maka\x20{generate,\x20g}:{collection,\x20col}\x20<name>','col','engines','\x0a\x20\x20\x20\x20Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection.\x0ahttps://docs.meteor.com/api/collections.html\x0a\x0a\x20\x20\x20\x20Collections\x20are\x20generated\x20in\x20the\x20\x22lib\x22\x20or\x20\x22common\x22\x20directory\x20by\x20default.\x20\x20This\x20location\x20is\x20accessible\x0a\x20\x20\x20\x20to\x20BOTH\x20client\x20and\x20server\x20(--where=both).\x20\x20Other\x20options\x20are\x20\x22--where=server\x22\x20and\x20\x22--where=client\x22\x20which\x0a\x20\x20\x20\x20will\x20setup\x20the\x20collection\x20in\x20their\x20respective\x20locations.\x0a\x20\x20','(((.+)+)+)+$','imports','import\x20\x27./collections','1873260eyzdSD','1626570WjaBiw','82680CXhVym','234487QqTFSD','none','toString','error','injectAtEndOfFile','maka\x20g:collection\x20todos','1925884aToFbB','pathFromApp','8YSaNnL','5897169EOwujC','resourceName','test','5JJNyzC','732CuMXmH','Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection','pkg','collection/collection.js','tsx','collection','apply','constructor','scaffold','template','7zWFNBG','dir','search','19200tEbySa','startup','appPathPrefix','mongo','70wbtaXh','.app-tests.','where'];a118c=function(){return p;};return a118c();}a118a();import{kebabCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a118d(a,b){const c=a118c();return a118d=function(d,e){d=d-0xe3;let f=c[d];return f;},a118d(a,b);}import{Log}from'../tools/log/log.class.js';Generator['create']({'name':a118n(0xef),'aliases':[a118n(0x101)],'usage':a118n(0x100),'checkWhere':!![],'shortDesc':a118n(0xeb),'validOpts':[a118n(0xf5),a118n(0xfd)],'mustBeInMakaProject':!![],'description':a118n(0x103),'examples':[a118n(0x10f)]},async function(a,b){const o=a118n;try{const c=this[o(0xff)],d=b[o(0xf5)]?'/'+b[o(0xf5)]+'/':'/',f=kebabCase(b[o(0xe7)]),g={'name':pascalCase(b[o(0xe7)]),'collectionName':pascalCase(b['resourceName']),'fileName':f,'where':b[o(0xfd)],'test':c[o(0x102)]['test'],'noRename':!![]};let h='js';c[o(0x102)]['js']===o(0xee)&&(h='ts');await this[o(0xec)]['checkMeteorPackage']([o(0xfa)],{'shouldInstall':!![]}),await this[o(0xf2)]['template']({'srcPath':o(0xed),'destPath':this[o(0xf2)][o(0xe4)]({'pathParts':[o(0x105),o(0xf8),b[o(0xf9)],o(0xfe),d,f+'.'+h]}),'context':g,'config':c});c[o(0x102)][o(0xe8)]!==o(0x10b)&&await this['scaffold'][o(0xf3)]({'srcPath':'collection/tests.js','destPath':this[o(0xf2)]['pathFromApp']({'pathParts':['imports',o(0xf8),b[o(0xf9)],o(0xfe),d,f+o(0xfc)+h]}),'context':g,'config':c});const i=this[o(0xf2)][o(0xe4)]({'pathParts':['imports',o(0xf8),b[o(0xf9)],'index.'+c['engines']['js']]});await this[o(0xf2)][o(0x10e)]({'filePath':i,'content':o(0x106)+d+f+'\x27;'});}catch(j){Log[o(0x10d)](j);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a119n=a119d;(function(a,b){const k=a119d,c=a();while(!![]){try{const d=-parseInt(k(0x1ae))/0x1*(-parseInt(k(0x1b2))/0x2)+-parseInt(k(0x1ca))/0x3+parseInt(k(0x1c1))/0x4*(-parseInt(k(0x1c0))/0x5)+parseInt(k(0x1c2))/0x6+-parseInt(k(0x1ac))/0x7*(parseInt(k(0x1bf))/0x8)+parseInt(k(0x1a9))/0x9*(-parseInt(k(0x1c7))/0xa)+-parseInt(k(0x1a7))/0xb*(-parseInt(k(0x1b5))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x3c58a));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a119d;if(c){const e=c[l(0x1dd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const m=a119d;return a119a[m(0x1cf)]()['search'](m(0x1d8))[m(0x1cf)]()[m(0x1c9)](a119a)[m(0x1b6)](m(0x1d8));});a119a();import a119e from'path';import{camelCase,kebabCase,pascalCase}from'change-case';function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x1a6;let f=c[d];return f;},a119d(a,b);}function a119c(){const p=['graphql','.css','baseDir','674356tFvckK','scaffold','.js','6967824eEyPRh','search','/imports/ui/','api','cssCaseName','template','Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','resourceName','/imports/ui/components','ssr','8EsMRMO','180gujCrj','54148EtXrpK','1194894thQGhl','checkNpmPackage','react','comp','className','248980UxdXOx','dir','constructor','1187352WIBfQB','findProjectDirectory','create','withTranslations','component/component.js','toString','cfg','relative','string','engines','pathFromApp','client','projectConfig','assign','(((.+)+)+)+$','fsi','import\x20\x27./','none','fileName','apply','setTemplate','test','pkg','22PweaTG','features','135IWTrzn','css','root','1357069fatver','maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','1HGNJdv'];a119c=function(){return p;};return a119c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';const aliases=[a119n(0x1c5)];Generator[a119n(0x1cc)]({'name':'component','aliases':aliases,'usage':a119n(0x1ad),'shortDesc':a119n(0x1bb),'mustBeInMakaProject':!![],'validOpts':[{'name':a119n(0x1b1)}],'examples':['maka\x20g:comp\x20todos/todos-item']},async function(a,b){const o=a119n;try{const c=b[o(0x1b1)]?o(0x1b7)+b['baseDir']:o(0x1bd),d=this[o(0x1b3)][o(0x1d4)]({'pathParts':[c,b[o(0x1c8)],kebabCase(b[o(0x1bc)]),kebabCase(b[o(0x1bc)])]}),f=this[o(0x1d6)];typeof f['template'][o(0x1df)]==='string'&&this['cfg'][o(0x1de)](o(0x1df),f[o(0x1ba)][o(0x1df)]);typeof f['template'][o(0x1aa)]==='string'&&this['cfg']['setTemplate'](o(0x1aa),f[o(0x1ba)][o(0x1aa)]);typeof f[o(0x1ba)]['js']===o(0x1d2)&&this[o(0x1d0)]['setTemplate']('js',f[o(0x1ba)]['js']);await this[o(0x1a6)][o(0x1c3)]('ramda',{'shouldInstall':!b[o(0x1ab)]}),await this['pkg']['checkNpmPackage'](o(0x1c4),{'shouldInstall':!b['root']});const g={'name':pascalCase(b[o(0x1bc)]),'myPath':a119e[o(0x1d1)](this[o(0x1d9)][o(0x1cb)](),d),'cssCaseName':kebabCase(b['resourceName']),'className':pascalCase(b[o(0x1bc)]),'camelCaseName':camelCase(b[o(0x1bc)]),'fileName':kebabCase(b[o(0x1bc)]),'graphql':f[o(0x1d3)][o(0x1af)],'features':f[o(0x1a8)],'client':f[o(0x1d3)][o(0x1d5)],'api':f['engines'][o(0x1b8)],'ssr':f[o(0x1d3)][o(0x1be)],'test':f['engines'][o(0x1df)],'theme':f[o(0x1d3)]['theme'],'isLayout':![],'isComponent':!![],'withTranslations':f[o(0x1a8)][o(0x1cd)]};await this['scaffold'][o(0x1ba)]({'srcPath':o(0x1ce),'destPath':d+o(0x1b4),'context':g,'framework':o(0x1c4),'config':f});f['engines'][o(0x1df)]!==o(0x1db)&&await this[o(0x1b3)][o(0x1ba)]({'srcPath':'test/test.js','destPath':d+'.tests.js','context':g,'framework':o(0x1c4),'config':f});f[o(0x1ba)]['css']&&(await this[o(0x1b3)][o(0x1ba)]({'srcPath':'template/template.css','destPath':d+o(0x1b0),'context':Object[o(0x1d7)]({},g,{'className':kebabCase(b['resourceName'])}),'config':f}),await this[o(0x1b3)]['injectAtBeginningOfFile']({'filePath':d+'.'+f[o(0x1d3)]['js'],'content':o(0x1da)+g[o(0x1b9)]+'.'+f['engines'][o(0x1aa)]+'\x27;'}));const h=b[o(0x1c8)]?'/'+b[o(0x1c8)]+'/':'/',i=''+c+h+g[o(0x1dc)]+'/'+g[o(0x1dc)];await this[o(0x1b3)]['injectTemplateModule'](g[o(0x1c6)],f,i);}catch(j){Log['error'](j);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a120m=a120d;function a120c(){const o=['constructor','739878zlGHrr','1225584eRoAzc','maka\x20{generate,\x20g}:{config}\x20<name>','resourceName','search','config/process.env','development','config/settings.json','Generate\x20configuration\x20settings.','scaffold','pathFromProject','49656uoGJGs','appName','21NiCplC','256904jspqNa','error','171732BDnqgM','toString','maka\x20g:config\x20production','projectConfig','template','config','production','dev','60QAPMSm','settings.json','308262elHUcJ','create','config/pm2.config.js','isDocker','18MFVmpQ','apply','2EgIazR','696650tnVxQL','4uhyFUN','prod','ubuntu','fsi'];a120c=function(){return o;};return a120c();}(function(a,b){const j=a120d,c=a();while(!![]){try{const d=parseInt(j(0x12a))/0x1+-parseInt(j(0x115))/0x2*(parseInt(j(0x10f))/0x3)+parseInt(j(0x117))/0x4*(-parseInt(j(0x116))/0x5)+-parseInt(j(0x11c))/0x6*(-parseInt(j(0x129))/0x7)+parseInt(j(0x127))/0x8*(parseInt(j(0x113))/0x9)+parseInt(j(0x10d))/0xa*(-parseInt(j(0x12c))/0xb)+-parseInt(j(0x11d))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x31299));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a120d;if(c){const e=c[k(0x114)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const l=a120d;return a120a[l(0x12d)]()[l(0x120)]('(((.+)+)+)+$')[l(0x12d)]()[l(0x11b)](a120a)[l(0x120)]('(((.+)+)+)+$');});function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x10d;let f=c[d];return f;},a120d(a,b);}a120a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';Generator[a120m(0x110)]({'name':a120m(0x131),'usage':a120m(0x11e),'shortDesc':a120m(0x124),'validOpts':['isDocker'],'mustBeInMakaProject':!![],'examples':[a120m(0x12e)]},async function(a,b){const n=a120m;try{const c=this[n(0x12f)],d={'app':c[n(0x128)],'appFileCase':kebabCase(c[n(0x128)]),'name':pascalCase(b[n(0x11f)]),'fileName':kebabCase(b['resourceName']),'camelCase':camelCase(b['resourceName']),'userName':n(0x119),'isDocker':b['isDocker']};let e=b[n(0x11f)];if(e===n(0x133))e=n(0x122);else e===n(0x118)&&(e=n(0x132));const f=this['fsi'][n(0x126)]({'pathParts':['config',e,n(0x10e)]});await this['scaffold'][n(0x130)]({'srcPath':n(0x123),'destPath':f,'context':d,'config':c});if(e!=='local'){const g=this[n(0x11a)][n(0x126)]({'pathParts':[n(0x131),e,'pm2.config.js']});await this[n(0x125)][n(0x130)]({'srcPath':n(0x111),'destPath':g,'context':{'app':c[n(0x128)],'isDocker':b[n(0x112)]||![]},'config':c});}if(e==='local'){const h=this[n(0x11a)][n(0x126)]({'pathParts':[n(0x131),e,'process.env']});await this[n(0x125)][n(0x130)]({'srcPath':n(0x121),'destPath':h,'context':d,'config':c});}}catch(i){Log[n(0x12b)](i);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a121n=a121d;(function(a,b){const k=a121d,c=a();while(!![]){try{const d=-parseInt(k(0x17c))/0x1+-parseInt(k(0x16c))/0x2*(-parseInt(k(0x179))/0x3)+parseInt(k(0x161))/0x4+-parseInt(k(0x160))/0x5+-parseInt(k(0x187))/0x6*(-parseInt(k(0x18c))/0x7)+parseInt(k(0x180))/0x8+parseInt(k(0x17a))/0x9*(-parseInt(k(0x16a))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x8d18d));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a121d;if(c){const e=c[l(0x178)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const m=a121d;return a121a[m(0x15f)]()[m(0x172)]('(((.+)+)+)+$')[m(0x15f)]()[m(0x176)](a121a)[m(0x172)](m(0x16f));});a121a();function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x15d;let f=c[d];return f;},a121d(a,b);}import{camelCase,kebabCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a121c(){const p=['-dbc.','error','injectAtEndOfFile','220sXYsjC','import\x20\x27./register-','26GRHqxo','config.','resourceName','(((.+)+)+)+$','sqlite','pkg','search','projectConfig','dbc/register-dbc.js','create','constructor','template','apply','21099zGNCgp','81342Gmnyyn','index.','541544gQcxCN','register-','better-sqlite3','maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','1401624ETlNpE','pgsql','scaffold','dir','conn.','dbc','pathFromApp','6RxuSHJ','startup','checkNpmPackage','imports','server','5113752OvFMdT','dbc/config.js','dbc/conn.js','toString','2692595ejUFlT','3438656IioFEj','engines','tsx','type','mssql','maka\x20g:dbc\x20azure\x20--type=mssql'];a121c=function(){return p;};return a121c();}Generator[a121n(0x175)]({'name':a121n(0x185),'usage':a121n(0x17f),'shortDesc':'Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','validOpts':['dir'],'mustBeInMakaProject':!![],'requiredOpts':[{'name':'type','values':[a121n(0x181),'mssql',a121n(0x170)]}],'examples':['maka\x20g:dbc\x20geoserver\x20--type=pgsql',a121n(0x166),'maka\x20g:dbc\x20todos\x20--type=sqlite']},async function(a,b){const o=a121n;try{const c=this[o(0x173)],d=kebabCase(b[o(0x16e)]),f={'name':pascalCase(b[o(0x16e)]),'fileName':kebabCase(b[o(0x16e)]),'camelCase':camelCase(b[o(0x16e)]),'type':b[o(0x164)],'engine':c[o(0x162)]['js'],'noRename':!![]},g=b[o(0x183)]?'/'+b[o(0x183)]+'/':'/';let h='js';c[o(0x162)]['js']===o(0x163)&&(h='ts');b[o(0x164)]===o(0x181)&&await this['pkg']['checkNpmPackage']('pg',{'shouldInstall':!![]});b[o(0x164)]===o(0x165)&&await this[o(0x171)][o(0x189)](o(0x165),{'shouldInstall':!![]});b[o(0x164)]===o(0x170)&&await this[o(0x171)][o(0x189)](o(0x17e),{'shouldInstall':!![]});await this[o(0x182)]['template']({'srcPath':o(0x15d),'destPath':this[o(0x182)][o(0x186)]({'pathParts':[o(0x18a),o(0x188),o(0x18b),o(0x185),g,d,o(0x16d)+h]}),'context':f,'config':c}),await this[o(0x182)][o(0x177)]({'srcPath':o(0x15e),'destPath':this[o(0x182)][o(0x186)]({'pathParts':[o(0x18a),o(0x188),'server','dbc',g,d,o(0x184)+h]}),'context':f,'config':c}),await this[o(0x182)][o(0x177)]({'srcPath':o(0x174),'destPath':this[o(0x182)][o(0x186)]({'pathParts':[o(0x18a),'startup',o(0x18b),o(0x17d)+d+o(0x167)+h]}),'context':f,'config':c});const i=this[o(0x182)]['pathFromApp']({'pathParts':[o(0x18a),o(0x188),o(0x18b),o(0x17b)+c['engines']['js']]});await this[o(0x182)][o(0x169)]({'filePath':i,'content':o(0x16b)+d+'-dbc\x27;'});}catch(j){Log[o(0x168)](j);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a122l=a122d;(function(a,b){const i=a122d,c=a();while(!![]){try{const d=-parseInt(i(0x1ee))/0x1+parseInt(i(0x1e9))/0x2+-parseInt(i(0x1e2))/0x3+-parseInt(i(0x1f5))/0x4*(-parseInt(i(0x1ed))/0x5)+parseInt(i(0x1fc))/0x6+parseInt(i(0x1ec))/0x7*(-parseInt(i(0x1e5))/0x8)+parseInt(i(0x1e1))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x96266));function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x1de;let f=c[d];return f;},a122d(a,b);}const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a122d;if(c){const e=c[j(0x1f4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const k=a122d;return a122a['toString']()[k(0x1fb)]('(((.+)+)+)+$')[k(0x1f9)]()[k(0x1f3)](a122a)['search'](k(0x1e3));});a122a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a122e from'path';function a122c(){const n=['cert','constructor','apply','4vaIyna','cfg','join','service','toString','Generate\x20an\x20updated\x20dockerfile','search','431220UMnAbm','app','maka\x20{generate,\x20g}:dockerfile','force','build','7347591JZzAai','713295cXEZTd','(((.+)+)+)+$','isFile','208BsBvtd','app.tar.gz','findProjectDirectory','Dockerfile','1172954NNqwdI','appName','getGlobalConfig','12649WwVvdQ','2483805mDNOvc','1071746suVFQE','scaffold','fsi','docker/Dockerfile'];a122c=function(){return n;};return a122c();}Generator['create']({'name':'dockerfile','usage':a122l(0x1de),'shortDesc':a122l(0x1fa),'resourceNameRequired':![],'mustBeInMakaProject':!![],'validOpts':[{'name':a122l(0x1df),'boolFlag':!![]}],'examples':['maka\x20g:dockerfile']},async function(a,b){const m=a122l;try{const c=this[m(0x1f6)]['getMakaProjectConfig'](),d=await this[m(0x1f6)][m(0x1eb)](),f=this[m(0x1f0)][m(0x1e7)](),g={'app':c[m(0x1ea)],'config':c,'appPath':a122e[m(0x1f7)](f,m(0x1fd)),'bundlePath':a122e['join'](f,m(0x1e0),m(0x1e6)),'useCert':d['cert']?this['fsi'][m(0x1e4)](d[m(0x1f2)]):![]};await this[m(0x1ef)]['template']({'srcPath':m(0x1f1),'destPath':a122e[m(0x1f7)](f,m(0x1e8)),'framework':m(0x1f8),'context':g,'config':c,'force':b[m(0x1df)]});}catch(h){Log['error'](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a123n=a123d;(function(a,b){const l=a123d,c=a();while(!![]){try{const d=-parseInt(l(0x17e))/0x1+-parseInt(l(0x17a))/0x2+-parseInt(l(0x15f))/0x3+parseInt(l(0x15a))/0x4+-parseInt(l(0x167))/0x5+parseInt(l(0x16d))/0x6+parseInt(l(0x154))/0x7*(parseInt(l(0x15b))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xe7d86));const a123b=(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;};}()),a123a=a123b(this,function(){const m=a123d;return a123a[m(0x160)]()[m(0x181)](m(0x161))[m(0x160)]()['constructor'](a123a)[m(0x181)]('(((.+)+)+)+$');});a123a();function a123c(){const p=['\x0a\x20\x20Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html\x0a\x0a\x20\x20If\x20you\x27d\x20like\x20a\x20hook\x20created\x20as\x20part\x20of\x20an\x20existing\x20page,\x20component,\x20or\x20layout,\x0a\x20\x20use\x20the\x20maka\x20g:hook\x20command\x20with\x20the\x20--baseDir\x20option.\x20For\x20example,\x0a\x0a\x20\x20\x20\x20maka\x20g:hook\x20--baseDir=pages\x20myPage/useCoolHook\x0a\x0a\x20\x20will\x20create\x20a\x20hook\x20in\x20imports/ui/pages/my-page/use-cool-hook.jsx\x0a\x0a\x20\x20','1694699mtTfoF','pathFromApp','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','search','template/template.css','fileName','@apollo/client\x20isomorphic-fetch','/imports/ui/','graphql','assign','pages','setTemplate','force','cfg','test','baseDir','notice','14122969vzTTnb','engines','maka\x20g:hook\x20cool-hook','.js','findAppDirectory','@apollo/client','2606468uTamKW','16jYebZG','error','react','pkg','4046283jECoaZ','toString','(((.+)+)+)+$','apollo','injectTemplateModule','scaffold','features','css','2776140mYBLEi','fsi','.app-tests.js','create','relative','dir','1862718JEgNlG','none','layouts','template','injectAtBeginningOfFile','checkNpmPackage','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','resourceName','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','components','\x20hook...','cssCaseName','string','897756uzhiWx','.css','theme'];a123c=function(){return p;};return a123c();}import a123e from'path';function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x149;let f=c[d];return f;},a123d(a,b);}import{kebabCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a123n(0x16a)]({'name':'hook','aliases':['h'],'checkWhere':![],'usage':a123n(0x173),'shortDesc':a123n(0x175),'mustBeInMakaProject':!![],'validOpts':[{'name':a123n(0x152),'values':['hooks',a123n(0x176),a123n(0x14d),a123n(0x16f)]},{'name':a123n(0x14f),'boolFlag':!![]}],'examples':[a123n(0x156)],'description':a123n(0x17d)},async function(a,b){const o=a123n;Log[o(0x153)]('Creating\x20'+b[o(0x174)]+o(0x177));try{await this['pkg'][o(0x172)](o(0x15d),{'shouldInstall':!![]});const c=this[o(0x168)][o(0x158)](),d=b[o(0x152)]?o(0x14a)+b[o(0x152)]:'/imports/ui/components',f=this[o(0x164)][o(0x17f)]({'pathParts':[d,b[o(0x16c)],kebabCase(b[o(0x174)]),kebabCase(b[o(0x174)])]}),g=this['projectConfig'];typeof g[o(0x170)][o(0x166)]===o(0x179)&&this[o(0x150)][o(0x14e)]('css',g[o(0x170)][o(0x166)]);g[o(0x155)][o(0x14b)]===o(0x162)&&!this[o(0x15e)]['checkNpmPackage'](o(0x159))&&(Log['warn'](o(0x180)),await this[o(0x15e)]['installNpmPackage'](o(0x149),{'cwd':c}));const h={'cssCaseName':kebabCase(b[o(0x174)]),'camelCaseName':camelCase(b[o(0x174)]),'className':pascalCase(b['resourceName']),'name':pascalCase(b[o(0x174)]),'graphql':g['engines'][o(0x14b)],'theme':g[o(0x155)][o(0x17c)],'test':g['engines'][o(0x151)],'features':g[o(0x165)],'myPath':a123e[o(0x16b)](this['fsi']['findProjectDirectory'](),f),'fileName':kebabCase(b[o(0x174)]),'isComponent':![],'isLayout':![],'withTranslations':g[o(0x165)]['withTranslations']};await this['scaffold']['template']({'srcPath':'hook/hook.js','destPath':f+o(0x157),'context':h,'config':g,'framework':o(0x15d),'force':b['force']});g[o(0x170)][o(0x166)]&&(await this[o(0x164)]['template']({'srcPath':o(0x182),'destPath':f+o(0x17b),'context':Object[o(0x14c)]({},h,{'className':h[o(0x178)]}),'config':g,'force':b[o(0x14f)]}),await this[o(0x164)][o(0x171)]({'filePath':f+'.'+g[o(0x155)]['js'],'content':'import\x20\x27./'+h['fileName']+'.'+g[o(0x155)][o(0x166)]+'\x27;'}));g[o(0x155)][o(0x151)]!==o(0x16e)&&await this[o(0x164)][o(0x170)]({'srcPath':'test/test.js','destPath':f+o(0x169),'framework':o(0x15d),'context':h,'config':g,'force':b[o(0x14f)]});const i=b[o(0x16c)]?'/'+b[o(0x16c)]+'/':'/',j=''+d+i+h['fileName']+'/'+h[o(0x183)];await this[o(0x164)][o(0x163)](h['className'],g,j);}catch(k){Log[o(0x15c)](k);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a124d,c=a();while(!![]){try{var d=parseInt(f(0x176))/0x1*(-parseInt(f(0x179))/0x2)+parseInt(f(0x172))/0x3+parseInt(f(0x17d))/0x4*(parseInt(f(0x177))/0x5)+parseInt(f(0x178))/0x6+parseInt(f(0x170))/0x7*(parseInt(f(0x17a))/0x8)+-parseInt(f(0x171))/0x9+-parseInt(f(0x173))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x89f38));var a124b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a124d;if(c){var e=c[g(0x17c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){var h=a124d;return a124a['toString']()[h(0x17e)]('(((.+)+)+)+$')[h(0x174)]()[h(0x17b)](a124a)[h(0x17e)](h(0x175));});a124a();import'./kit.js';import'./mui/_index.js';function a124d(a,b){var c=a124c();return a124d=function(d,e){d=d-0x170;var f=c[d];return f;},a124d(a,b);}import'./esri/_index.js';import'./auth/_index.js';function a124c(){var i=['16SNodcZ','711905CdtEED','4551132cIWXAZ','67390DsfGPN','800TYAFvN','constructor','apply','4LzTZRB','search','31017JLOnXM','1859382NILXgv','238899IYSCrU','1128700JUBmOW','toString','(((.+)+)+)+$'];a124c=function(){return i;};return a124c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=
|
|
1
|
+
(function(a,b){var f=a125d,c=a();while(!![]){try{var d=parseInt(f(0x1c6))/0x1+-parseInt(f(0x1c9))/0x2+parseInt(f(0x1c2))/0x3*(parseInt(f(0x1cd))/0x4)+-parseInt(f(0x1c5))/0x5*(parseInt(f(0x1c3))/0x6)+parseInt(f(0x1c7))/0x7*(parseInt(f(0x1c8))/0x8)+parseInt(f(0x1c1))/0x9+-parseInt(f(0x1cb))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0xa15ad));var a125b=(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;};}()),a125a=a125b(this,function(){var g=a125d;return a125a['toString']()[g(0x1c4)](g(0x1ca))[g(0x1cc)]()['constructor'](a125a)[g(0x1c4)](g(0x1ca));});function a125d(a,b){var c=a125c();return a125d=function(d,e){d=d-0x1c1;var f=c[d];return f;},a125d(a,b);}a125a();function a125c(){var h=['7674qCrdgz','search','1010aOQUwj','1167732QTnsAj','6178179KuyhUy','8gDxOrR','2526384luffQE','(((.+)+)+)+$','5892140NHGYaj','toString','35180OdXFzt','1109556hQvMyW','204gzRzrB'];a125c=function(){return h;};return a125c();}import'./auth.generator.js';import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a126i=a126d;(function(a,b){const f=a126d,c=a();while(!![]){try{const d=-parseInt(f(0x11e))/0x1*(-parseInt(f(0x11d))/0x2)+parseInt(f(0x12b))/0x3+parseInt(f(0x128))/0x4+parseInt(f(0x126))/0x5+-parseInt(f(0x123))/0x6+parseInt(f(0x12c))/0x7*(-parseInt(f(0x127))/0x8)+parseInt(f(0x12e))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0xf3820));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0x124)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a['toString']()['search'](h(0x12a))[h(0x12f)]()[h(0x12d)](a126a)[h(0x120)](h(0x12a));});function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x11c;let f=c[d];return f;},a126d(a,b);}a126a();import{Generator}from'../../../generator.js';import a126e from'../kit.js';function a126c(){const j=['2XefXrE','maka\x20g:kit:a','search','auth','create','11784228OgIIyC','apply','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','3448745zxIFcv','2116040QOiHNo','6940708IEfQNd','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','(((.+)+)+)+$','420030dZUsJD','49EYSDLX','constructor','6662187tUPSmM','toString','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','1507802CPAgYF'];a126c=function(){return j;};return a126c();}const AuthGen=Generator[a126i(0x122)]({'name':a126i(0x121),'aliases':['a'],'usage':a126i(0x129),'shortDesc':a126i(0x11c),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a126i(0x11f)],'description':a126i(0x125)},async function(){throw'NIE';},async function(){},a126e);export default AuthGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a127v=a127d;(function(a,b){const s=a127d,c=a();while(!![]){try{const d=-parseInt(s(0x161))/0x1+parseInt(s(0x189))/0x2*(parseInt(s(0x196))/0x3)+parseInt(s(0x19e))/0x4+parseInt(s(0x16d))/0x5+-parseInt(s(0x19b))/0x6+parseInt(s(0x16b))/0x7*(-parseInt(s(0x19c))/0x8)+parseInt(s(0x164))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x3fa3c));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a127d;if(c){const e=c[t(0x185)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const u=a127d;return a127a[u(0x18a)]()[u(0x162)]('(((.+)+)+)+$')['toString']()[u(0x177)](a127a)['search'](u(0x197));});a127a();function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x161;let f=c[d];return f;},a127d(a,b);}import a127e from'path';import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a127f from'./auth.generator.js';function a127c(){const x=['meteor/meteor','\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','\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','779010TRTjsP','(((.+)+)+)+$','accounts-password','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','engines','2153310udqoKE','8kchzbg','meteor/accounts-base','1848136PVOBcG','Meteor.publish','const\x20resetPasswordWithToken','authentication-service','findProjectDirectory','injectImport','444972lAMWFi','search','startup','1570833vdnbUv','\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','meteor','/imports/startup/client','Meteor.startup','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','\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','2059127MVKGKx','/imports/startup/lib','2312225GHcuqJ','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','checkMeteorPackage','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.authenticateToken();\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','injectIntoCodeBlock','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','react','.js','template','constructor','injectIntoFile','AuthService','\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','/imports/startup/server/publications/auth/roles.js','Meteor','publish','authentication-provider','useEffect\x5c(','/imports/startup/client/authentication-service','const\x20getUserAuthorizations','auth/roles','error','useTracker','apply','pathFromApp','Accounts','force','2hsWyyl','toString','create','exit','normalize','REACT','export\x20const\x20AuthProvider','index','/imports/startup/lib/authentication-service','meteor/maka:react-tracker'];a127c=function(){return x;};return a127c();}import a127g from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a127v(0x18b)]({'name':a127v(0x166),'aliases':['m'],'usage':a127v(0x199),'shortDesc':a127v(0x170),'validOpts':[a127v(0x188)],'isPro':!![],'resourceNameRequired':![],'mustBeInMakaProject':!![],'requiredEngines':{'client':ClientEngines[a127v(0x18e)]},'description':a127v(0x165)},async function(a,b){const w=a127v,{fsi:c,pkg:d,scaffold:f,projectConfig:g}=this;try{const h=b[w(0x188)]||![];await d[w(0x16f)]([w(0x198)],{'shouldInstall':!![]});const i=c[w(0x1a2)](),j=c['findAppDirectory'](),k=g['engines']['ssr']===w(0x166);await a127g['processAndRunGenerator']('kit:auth:provider',[],{'force':h,'cwd':i,'config':g}),await a127g['processAndRunGenerator'](w(0x17d),[w(0x182)],{'force':h,'globalPublish':!![],'cwd':i,'config':g});const l=j+a127e[w(0x18d)](w(0x17b)),m=k?w(0x16c):w(0x167),n=f[w(0x186)]({'pathParts':[m,'','',w(0x1a1)]});await f[w(0x176)]({'srcPath':'kit/auth/service/meteor-auth-service.js','destPath':n+w(0x175),'framework':w(0x174),'context':{},'config':g,'force':h,'ignore':![]});const o=f['pathFromApp']({'pathParts':[m,'','',w(0x17e)]}),p=g[w(0x19a)]['js'];await f[w(0x1a3)]({'filePath':o+'.'+p,'importName':w(0x179),'modulePath':k?w(0x191):w(0x180),'isNamedExport':![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':w(0x194),'begin':'const\x20authenticateUser','replace':!![]}),await f[w(0x172)]({'filePath':o+'.'+p,'content':w(0x171),'begin':'const\x20authenticateToken','replace':!![]}),await f[w(0x172)]({'filePath':o+'.'+p,'content':w(0x17a),'begin':w(0x181),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':w(0x16e),'begin':'const\x20deauthenticateUser','replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':w(0x169),'begin':'const\x20sendForgotPasswordEmail','replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':w(0x173),'begin':'const\x20registerNewUser','replace':!![]}),await f[w(0x172)]({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','begin':w(0x1a0),'replace':!![]});k&&(await f['injectImport']({'filePath':o+'.'+p,'importName':w(0x184),'modulePath':w(0x192),'isNamedExport':!![]}),await f[w(0x178)]({'filePath':o+'.'+p,'content':w(0x16a),'begin':w(0x18f),'end':w(0x17f)}));await f['injectImport']({'filePath':l,'importName':w(0x17c),'modulePath':w(0x193),'isNamedExport':!![],'injectAtStart':!![]}),await f[w(0x172)]({'filePath':l,'content':w(0x195),'begin':w(0x19f),'replace':!![]});const q=f[w(0x186)]({'pathParts':['imports',w(0x163),'server',w(0x190)]});await f[w(0x1a3)]({'filePath':q+'.'+p,'importName':w(0x187),'modulePath':w(0x19d),'isNamedExport':!![]}),await f[w(0x172)]({'filePath':q+'.'+p,'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':w(0x168),'replace':!![]});}catch(r){Log[w(0x183)](r),process[w(0x18c)](0x1);}},async function(){},a127f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a128x=a128d;(function(a,b){const u=a128d,c=a();while(!![]){try{const d=-parseInt(u(0x1ab))/0x1+-parseInt(u(0x1a5))/0x2+-parseInt(u(0x19d))/0x3+parseInt(u(0x198))/0x4+parseInt(u(0x18d))/0x5+-parseInt(u(0x180))/0x6*(-parseInt(u(0x187))/0x7)+-parseInt(u(0x19e))/0x8*(-parseInt(u(0x188))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0xe1842));function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x17e;let f=c[d];return f;},a128d(a,b);}const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a128d;if(c){const e=c[v(0x186)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const w=a128d;return a128a[w(0x1a4)]()[w(0x1a6)](w(0x18f))[w(0x1a4)]()[w(0x18a)](a128a)[w(0x1a6)]('(((.+)+)+)+$');});a128a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a128e from'./auth.generator.js';function a128c(){const z=['search','meteor','/imports/startup/client','/imports/startup/server/index','/imports/startup/lib','1132356ZvtOPa','force','template','react','error','6FqxaYc','/imports/startup/client/index','injectIntoCodeBlock','/imports/startup/lib/authentication-provider','<AuthProvider>','scaffold','apply','1738198DBTOyh','14931153YflopL','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','constructor','REACT','<AppRoutes\x20history={history}/>','5277745WIiXKh','injectAroundString','(((.+)+)+)+$','.js','injectImport','<AppRoutes\x20/>','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','engines','split','\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','useContext','3126004BNqArG','function\x20useAuth','/imports/startup/client/authentication-provider','kit/auth/provider/authentication-provider.js','ssr','4730250JoTjLY','8ZPPlyP','const\x20PrivateRoute','</AuthProvider>','authentication-provider','pathFromApp','/routes','toString','223122glyPVo'];a128c=function(){return z;};return a128c();}import{capitalCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':'provider','aliases':['p'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','shortDesc':a128x(0x193),'validOpts':[a128x(0x1ac)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a128x(0x18b)]},'description':a128x(0x196)},async function(a,b){const y=a128x;try{const c=b['force']||![];Log['bright'](y(0x189));const {projectConfig:d}=this,f=d[y(0x194)][y(0x19c)]===y(0x1a7),g={'name':capitalCase(d['appName'])},h=f?y(0x1aa):y(0x1a8),i=this[y(0x185)]['pathFromApp']({'pathParts':[h,'','',y(0x1a1)]});await this['scaffold'][y(0x1ad)]({'srcPath':y(0x19b),'destPath':i+y(0x190),'framework':'react','context':g,'config':d,'force':c,'ignore':![]});const j=d[y(0x194)]['js'],k=h+y(0x1a3),l=k[y(0x195)]('/'),m=this[y(0x185)]['pathFromApp']({'pathParts':l});await this[y(0x185)][y(0x191)]({'filePath':m+'.'+j,'importName':'AuthContext','modulePath':f?y(0x183):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[y(0x185)][y(0x191)]({'filePath':m+'.'+j,'importName':y(0x197),'modulePath':y(0x17e),'isNamedExport':!![],'injectAtStart':!![]}),await this['scaffold']['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\x20return\x20{\x20currentUser,\x20loading\x20};\x0a\x20\x20\x20\x20\x20\x20','begin':['const\x20useAuth',y(0x199)],'replace':!![]}),await this[y(0x185)][y(0x182)]({'filePath':m+'.'+j,'content':'\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useAuth();\x0a\x20\x20\x20\x20\x20\x20if\x20(loading)\x20return\x20<div>Loading...</div>;\x0a\x20\x20\x20\x20\x20\x20return\x20(currentUser)\x20?\x20<Outlet/>\x20:\x20<Navigate\x20to=\x22/login\x22\x20/>;\x0a\x20\x20\x20\x20\x20\x20','begin':[y(0x19f)],'replace':!![]});const n=y(0x181),o=n['split']('/'),p=this[y(0x185)][y(0x1a2)]({'pathParts':o});await this[y(0x185)][y(0x191)]({'filePath':p+'.'+j,'importName':'AuthProvider','modulePath':f?y(0x183):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[y(0x185)][y(0x18e)]({'filePath':p+'.'+j,'aboveContent':y(0x184),'belowContent':y(0x1a0),'targetString':y(0x192),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0x1a9),r=q[y(0x195)]('/'),s=this[y(0x185)][y(0x1a2)]({'pathParts':r});await this[y(0x185)]['injectImport']({'filePath':s+'.'+j,'importName':'AuthProvider','modulePath':f?y(0x183):y(0x19a),'isNamedExport':!![]}),await this[y(0x185)]['injectAroundString']({'filePath':s+'.'+j,'aboveContent':'<AuthProvider>','belowContent':y(0x1a0),'targetString':y(0x18c),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0x17f)](t),process['exit'](0x1);}},async function(){},a128e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=
|
|
1
|
+
(function(a,b){var f=a129d,c=a();while(!![]){try{var d=-parseInt(f(0xa4))/0x1*(parseInt(f(0xb0))/0x2)+-parseInt(f(0xa8))/0x3*(parseInt(f(0xa6))/0x4)+-parseInt(f(0xad))/0x5+parseInt(f(0xab))/0x6*(parseInt(f(0xb3))/0x7)+parseInt(f(0xb2))/0x8*(-parseInt(f(0xa9))/0x9)+parseInt(f(0xa5))/0xa*(parseInt(f(0xa3))/0xb)+parseInt(f(0xb1))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xd83fe));function a129c(){var i=['388622ReHwPF','4757140JRJZQQ','68xWkXmC','search','179637bGRQlC','1884294cnTWUW','constructor','120PkERdu','toString','4501530PqIqzi','(((.+)+)+)+$','apply','2bJaBzd','28346868FxtxaI','32RirYNU','417249djAIaE','11qLCjyM'];a129c=function(){return i;};return a129c();}var a129b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a129d;if(c){var e=c[g(0xaf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){var h=a129d;return a129a['toString']()[h(0xa7)](h(0xae))[h(0xac)]()[h(0xaa)](a129a)['search'](h(0xae));});a129a();function a129d(a,b){var c=a129c();return a129d=function(d,e){d=d-0xa3;var f=c[d];return f;},a129d(a,b);}import'./esri.generator.js';import'./map.esri.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a130c(){const j=['2TtHHoC','apply','esri','4613580oDRsTY','(((.+)+)+)+$','48905TwlbOo','15283584XQHrla','1411758HMYqtF','761965oWDtsk','toString','2761084pEeqVt','search','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','constructor','4372417mfXKZL'];a130c=function(){return j;};return a130c();}const a130i=a130d;(function(a,b){const f=a130d,c=a();while(!![]){try{const d=parseInt(f(0x17e))/0x1*(parseInt(f(0x185))/0x2)+-parseInt(f(0x17d))/0x3+parseInt(f(0x180))/0x4+-parseInt(f(0x17b))/0x5+parseInt(f(0x188))/0x6+parseInt(f(0x184))/0x7+-parseInt(f(0x17c))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x6f146));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a130d;if(c){const e=c[g(0x186)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const h=a130d;return a130a[h(0x17f)]()[h(0x181)](h(0x189))[h(0x17f)]()[h(0x183)](a130a)[h(0x181)]('(((.+)+)+)+$');});a130a();import{Generator}from'../../../generator.js';import{UsageError}from'../../../error.js';import a130e from'../kit.js';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x17b;let f=c[d];return f;},a130d(a,b);}const EsriGen=Generator['create']({'name':a130i(0x187),'aliases':['e'],'usage':a130i(0x182),'shortDesc':'Starting\x20point\x20for\x20generating\x20Esri\x20Maps','resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:e'],'description':'\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20kit\x20for\x20Esri\x20Maps.\x20Starting\x20with\x20a\x20basic\x20map,\x0a\x20\x20\x20\x20but\x20with\x20the\x20ability\x20to\x20add\x20more\x20components\x20to\x20the\x20kit.\x0a\x20\x20'},async function(){throw UsageError;},async function(){},a130e);export default EsriGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a131v=a131d;(function(a,b){const s=a131d,c=a();while(!![]){try{const d=-parseInt(s(0x1eb))/0x1+parseInt(s(0x1e3))/0x2+-parseInt(s(0x1e2))/0x3+-parseInt(s(0x1f8))/0x4+-parseInt(s(0x1e5))/0x5*(parseInt(s(0x1e1))/0x6)+-parseInt(s(0x201))/0x7+parseInt(s(0x20b))/0x8*(parseInt(s(0x1ea))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0xdc13e));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a131d;if(c){const e=c[t(0x1e4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const u=a131d;return a131a[u(0x207)]()[u(0x1e8)](u(0x211))['toString']()[u(0x1f4)](a131a)[u(0x1e8)](u(0x211));});a131a();import{Generator}from'../../../generator.js';function a131c(){const x=['injectIntoFile','(((.+)+)+)+$','map','323508vHmTpK','818271Uahxlq','1751042sISbhA','apply','115WbcyKA','REACT','ssr','search','injectTemplateModule','423hGGeBE','447188zeMTaN','bright','findProjectDirectory','/imports/ui/','exit','create','esri-loader','.js','Generating\x20a\x20map\x20component','constructor','template','<div\x20id=\x22map\x22>','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','1329176BUAcsF','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','baseDir','appName','</div>','replaceAll','react','dir','NONE','5142305GQiXEL','/imports/startup/lib/templates','pathFromApp','meteor','checkNpmPackage','Generate\x20an\x20Esri\x20map\x20component','toString','processAndRunGenerator','/imports/ui/components','page','519640PSfHiP','injectImport','engines','split','@esri/react-arcgis'];a131c=function(){return x;};return a131c();}function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x1e1;let f=c[d];return f;},a131d(a,b);}import{Log}from'../../../tools/log/log.class.js';import a131e from'./esri.generator.js';import a131f from'../../../generators/maka.gen.js';import{kebabCase,capitalCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a131v(0x1f0)]({'name':a131v(0x212),'aliases':['m'],'usage':a131v(0x1f9),'shortDesc':a131v(0x206),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a131v(0x1e6)],'ssr':SsrEngines[a131v(0x200)]},'description':'\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'},async function(a,b){const w=a131v;try{const {projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;Log[w(0x1ec)](w(0x1f3));const h='basic-map';await f[w(0x205)]([w(0x20f),w(0x1f1)],{'shouldInstall':!![]});const i=d[w(0x1ed)](),j=c[w(0x20d)][w(0x1e7)]===w(0x204),k=await a131f[w(0x208)](w(0x20a),[w(0x212)],{'cwd':i,'config':c}),l={'name':capitalCase(c[w(0x1fb)])[w(0x1fd)]('-','\x20'),'componentName':pascalCase(h)},m=b[w(0x1fa)]?w(0x1ee)+b[w(0x1fa)]:w(0x209),n=g['pathFromApp']({'pathParts':[m,b['dir'],kebabCase(h),kebabCase(h)]});await g[w(0x1f5)]({'srcPath':'kit/esri/map/'+h+w(0x1f2),'destPath':n+w(0x1f2),'framework':w(0x1fe),'context':l,'config':c,'force':![],'ignore':![]});const o=''+m+b[w(0x1ff)]+'/'+h+'/'+h;await g[w(0x1e9)](h,c,o);const p=k[w(0x20e)]('/'),q=g[w(0x203)]({'pathParts':p});await g[w(0x20c)]({'filePath':q,'importName':pascalCase(h),'modulePath':j?w(0x202):'/imports/startup/client/templates','isNamedExport':!![]}),await g[w(0x210)]({'filePath':q,'content':'\x0a<'+pascalCase(h)+w(0x1f7),'begin':[w(0x1f6),'<div\x20id=\x22map\x22>'],'end':[w(0x1fc)],'replace':!![]});}catch(r){Log['error'](r),process[w(0x1ef)](0x1);}},async function(){},a131e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a132h=a132d;(function(a,b){const f=a132d,c=a();while(!![]){try{const d=parseInt(f(0xf1))/0x1+-parseInt(f(0xef))/0x2*(parseInt(f(0xe8))/0x3)+parseInt(f(0xee))/0x4+parseInt(f(0xec))/0x5*(-parseInt(f(0xe9))/0x6)+parseInt(f(0xe7))/0x7+parseInt(f(0xf0))/0x8+parseInt(f(0xeb))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0xdbb39));const a132b=(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;};}()),a132a=a132b(this,function(){const g=a132d;return a132a['toString']()['search'](g(0xf5))[g(0xed)]()['constructor'](a132a)[g(0xf2)](g(0xf5));});a132a();function a132c(){const i=['toString','427100NvDWAz','2258IdgbKO','12387048BAsLcj','164292CRODoj','search','create','maka\x20g:kit','(((.+)+)+)+$','maka\x20{generate,\x20g}:{kit}\x20<name>','9088709pTODcB','4581jhAbyT','9720978VyLVpw','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','10135872gItNTq','5sARHpW'];a132c=function(){return i;};return a132c();}import{Generator}from'../../generator.js';const KitGen=Generator[a132h(0xf3)]({'name':'kit','aliases':['k'],'usage':a132h(0xf6),'shortDesc':a132h(0xea),'minArgLength':0x1,'isPro':!![],'validOpts':[],'resourceNameRequired':![],'examples':[a132h(0xf4),'maka\x20g:k']},async function(){});function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0xe7;let f=c[d];return f;},a132d(a,b);}export default KitGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=
|
|
1
|
+
(function(a,b){var f=a133d,c=a();while(!![]){try{var d=-parseInt(f(0xf4))/0x1+-parseInt(f(0xea))/0x2*(-parseInt(f(0xf2))/0x3)+parseInt(f(0xe8))/0x4+parseInt(f(0xf5))/0x5*(parseInt(f(0xee))/0x6)+parseInt(f(0xf1))/0x7+-parseInt(f(0xe9))/0x8+-parseInt(f(0xef))/0x9*(parseInt(f(0xf3))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0xa08c0));var a133b=(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;};}()),a133a=a133b(this,function(){var g=a133d;return a133a[g(0xeb)]()[g(0xf0)](g(0xec))[g(0xeb)]()[g(0xed)](a133a)[g(0xf0)]('(((.+)+)+)+$');});function a133d(a,b){var c=a133c();return a133d=function(d,e){d=d-0xe8;var f=c[d];return f;},a133d(a,b);}a133a();import'./mui.generator.js';import'./frame.mui.gen.js';import'./auth.mui.gen.js';function a133c(){var h=['constructor','324OPPkLE','3093768yZpoOw','search','6554275EAJBgO','6cgoeKc','40GhdWFs','387715xVuOke','63610LLzjdU','2970772wcUeuy','7570456seKsWL','1000624eHTcPk','toString','(((.+)+)+)+$'];a133c=function(){return h;};return a133c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a134L=a134d;(function(a,b){const I=a134d,c=a();while(!![]){try{const d=-parseInt(I(0x213))/0x1+-parseInt(I(0x207))/0x2+parseInt(I(0x1f7))/0x3*(parseInt(I(0x217))/0x4)+parseInt(I(0x205))/0x5*(-parseInt(I(0x212))/0x6)+parseInt(I(0x1fe))/0x7+-parseInt(I(0x21f))/0x8*(-parseInt(I(0x208))/0x9)+-parseInt(I(0x220))/0xa*(-parseInt(I(0x20d))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0x8fa81));function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0x1e9;let f=c[d];return f;},a134d(a,b);}const a134b=(function(){let a=!![];return function(b,c){const d=a?function(){const J=a134d;if(c){const e=c[J(0x1f9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a134a=a134b(this,function(){const K=a134d;return a134a[K(0x21d)]()['search'](K(0x1fd))['toString']()['constructor'](a134a)[K(0x1f3)](K(0x1fd));});a134a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a134e from'../../../generators/maka.gen.js';function a134c(){const O=['kit/mui/auth/register/','kit/mui/auth/password-reset/','maka\x20g:k:m:a','basic-logout-page','route','create','search','basic-password-reset-page','select','Cleaning\x20up...','15018ldlwEt','auth','apply','kit/mui/auth/logout/','/imports/startup/lib/authentication-provider','exit','(((.+)+)+)+$','776398vDNiZu','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','maka\x20generate:kit:mui:auth','reset-password/:token','template','basic-login-page','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{auth,\x20a}','670XdsRNa','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','667808McAnOA','2829555FTFLVB','split','appName','custom','findProjectDirectory','11ENwxEF','baseDir','login','dir','MATERIAL','1932BGldsN','810532mtCpsf','Meteor\x20Accounts','pathFromApp','processAndRunGenerator','436oerQvU','.js','basic-forgot-password-page','meteor','kit:auth:provider','AuthContext','toString','react','16ogqhqv','4906430VIqQVL','Custom\x20(roll\x20your\x20own)','engines','injectImport','/imports/startup/client/authentication-provider','injectTemplateModule','error','authType','/imports/ui/','basic-register-page','force','REACT'];a134c=function(){return O;};return a134c();}import a134f from'./mui.generator.js';import{kebabCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a134L(0x1f2)]({'name':a134L(0x1f8),'aliases':['a'],'usage':a134L(0x204),'shortDesc':a134L(0x1ff),'validOpts':['layouts',a134L(0x1eb)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a134L(0x211)],'client':ClientEngines[a134L(0x1ec)]},'examples':[a134L(0x200),a134L(0x1ef)],'description':'\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20setup\x20with\x20login,\x20logout,\x20registration,\x20and\x20password\x20reset\x20pages.\x0a\x20\x20'},async function(a,b){const M=a134L;try{const {projectConfig:c,fsi:d,scaffold:f}=this,g=b[M(0x1eb)]||![],h=d[M(0x20c)](),i=await Actions[M(0x1f5)]({'name':M(0x227),'message':M(0x206),'choices':[{'name':M(0x214),'value':M(0x21a)},{'name':M(0x221),'value':M(0x20b)}]}),j=M(0x203),k=M(0x1f0),l=M(0x1ea),m=M(0x1f4),n=M(0x219),o=b['baseDir']?M(0x1e9)+b[M(0x20e)]:'/imports/ui/pages/auth',p=f['pathFromApp']({'pathParts':[o,b[M(0x210)],kebabCase(j),kebabCase(j)]}),q=f[M(0x215)]({'pathParts':[o,b[M(0x210)],kebabCase(k),kebabCase(k)]}),r=f['pathFromApp']({'pathParts':[o,b[M(0x210)],kebabCase(l),kebabCase(l)]}),s=f['pathFromApp']({'pathParts':[o,b[M(0x210)],kebabCase(m),kebabCase(m)]}),t=f[M(0x215)]({'pathParts':[o,b[M(0x210)],kebabCase(n),kebabCase(n)]}),u={'name':capitalCase(c[M(0x20a)])};await f[M(0x202)]({'srcPath':'kit/mui/auth/login/'+j+M(0x218),'destPath':p+M(0x218),'framework':M(0x21e),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x202)]({'srcPath':M(0x1fa)+k+M(0x218),'destPath':q+M(0x218),'framework':'react','context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x202)]({'srcPath':M(0x1ed)+l+'.js','destPath':r+M(0x218),'framework':M(0x21e),'context':u,'config':c,'force':g,'ignore':![]}),await f['template']({'srcPath':M(0x1ee)+m+'.js','destPath':s+M(0x218),'framework':M(0x21e),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x202)]({'srcPath':'kit/mui/auth/forgot-password/'+n+'.js','destPath':t+'.js','framework':M(0x21e),'context':u,'config':c,'force':g,'ignore':![]});const v=''+o+b['dir']+'/'+j+'/'+j;await f[M(0x225)](j,c,v);const w=''+o+b[M(0x210)]+'/'+k+'/'+k;await f[M(0x225)](k,c,w);const x=''+o+b['dir']+'/'+l+'/'+l;await f[M(0x225)](l,c,x);const y=''+o+b[M(0x210)]+'/'+m+'/'+m;await f['injectTemplateModule'](m,c,y);const z=''+o+b[M(0x210)]+'/'+n+'/'+n;await f[M(0x225)](n,c,z),await a134e[M(0x216)](M(0x1f1),['basic-login-page'],{'route':M(0x20f),'cwd':h,'config':c}),await a134e[M(0x216)](M(0x1f1),['basic-logout-page'],{'route':'logout','private':!![],'cwd':h,'config':c}),await a134e[M(0x216)](M(0x1f1),[M(0x1ea)],{'route':'register','cwd':h,'config':c}),await a134e[M(0x216)](M(0x1f1),[M(0x1f4)],{'route':M(0x201),'cwd':h,'config':c}),await a134e[M(0x216)](M(0x1f1),['basic-forgot-password-page'],{'route':'forgot-password','cwd':h,'config':c});i===M(0x21a)&&await a134e[M(0x216)]('kit:auth:meteor',[],{'force':g,'cwd':h,'config':c});i===M(0x20b)&&await a134e['processAndRunGenerator'](M(0x21b),[],{'force':g,'cwd':h,'config':c});const A=c['engines']['ssr']===M(0x21a),B=c[M(0x222)]['js'],C=f[M(0x215)]({'pathParts':v[M(0x209)]('/')});await f[M(0x223)]({'filePath':C+'.'+B,'importName':M(0x21c),'modulePath':A?M(0x1fb):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const D=f[M(0x215)]({'pathParts':w['split']('/')});await f['injectImport']({'filePath':D+'.'+B,'importName':M(0x21c),'modulePath':A?M(0x1fb):M(0x224),'isNamedExport':!![]});const E=f[M(0x215)]({'pathParts':x[M(0x209)]('/')});await f[M(0x223)]({'filePath':E+'.'+B,'importName':M(0x21c),'modulePath':A?M(0x1fb):M(0x224),'isNamedExport':!![]});const F=f[M(0x215)]({'pathParts':y[M(0x209)]('/')});await f[M(0x223)]({'filePath':F+'.'+B,'importName':M(0x21c),'modulePath':A?M(0x1fb):M(0x224),'isNamedExport':!![]});const G=f[M(0x215)]({'pathParts':z['split']('/')});await f[M(0x223)]({'filePath':G+'.'+B,'importName':M(0x21c),'modulePath':A?M(0x1fb):M(0x224),'isNamedExport':!![]});}catch(H){Log[M(0x226)](H),process[M(0x1fc)](0x1);}},async function(){const N=a134L;console['log'](N(0x1f6));},a134f);export default a134f;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a135G=a135d;(function(a,b){const E=a135d,c=a();while(!![]){try{const d=-parseInt(E(0x202))/0x1+parseInt(E(0x1e2))/0x2*(-parseInt(E(0x1e7))/0x3)+-parseInt(E(0x1ef))/0x4*(-parseInt(E(0x211))/0x5)+parseInt(E(0x1f6))/0x6*(parseInt(E(0x210))/0x7)+parseInt(E(0x203))/0x8+-parseInt(E(0x205))/0x9+parseInt(E(0x21d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a135c,0x7e623));const a135b=(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;};}()),a135a=a135b(this,function(){const F=a135d;return a135a[F(0x1fb)]()[F(0x20d)](F(0x201))[F(0x1fb)]()[F(0x21a)](a135a)[F(0x20d)](F(0x201));});a135a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';function a135d(a,b){const c=a135c();return a135d=function(d,e){d=d-0x1da;let f=c[d];return f;},a135d(a,b);}import a135e from'path';import a135f from'./mui.generator.js';import{kebabCase,pascalCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a135G(0x214)]({'name':a135G(0x1e4),'aliases':['f'],'usage':a135G(0x206),'shortDesc':a135G(0x207),'validOpts':[a135G(0x209),a135G(0x1e6),a135G(0x20a),a135G(0x20e)],'isPro':![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a135G(0x200)],'client':ClientEngines[a135G(0x1e3)]},'examples':[a135G(0x217),a135G(0x20f)],'description':'\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20'},async function(a,b){const H=a135G,{projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;try{const h=b['force']||![],i='basic-app-bar',j=H(0x1db),k=H(0x216),l=c['engines']['ssr']===H(0x1dc);await f['checkMeteorPackage'](['session',H(0x1e5)],{'shouldInstall':!![]});const m=d[H(0x215)](),n=a135e['join'](m,'imports','ui','layouts'),o=d[H(0x1fd)](n),p=o[H(0x1f5)](z=>({'name':z,'value':z})),q=await Actions['checkbox']({'message':H(0x219),'name':'layouts','choices':p});if(q[H(0x21c)]===0x0){Log[H(0x1fa)]('No\x20layouts\x20selected');return;}const r=b[H(0x1e6)]?H(0x1ec)+b[H(0x1e6)]:H(0x1f3),s=g[H(0x1f4)]({'pathParts':[r,b['dir'],kebabCase(i),kebabCase(i)]}),t=g['pathFromApp']({'pathParts':[r,b[H(0x20a)],kebabCase(j),kebabCase(j)]}),u=g[H(0x1f4)]({'pathParts':[r,b[H(0x20a)],kebabCase(k),kebabCase(k)]}),v={'name':capitalCase(c[H(0x1e8)])};await g[H(0x1dd)]({'srcPath':'kit/mui/frame/app-bars/'+i+H(0x1ed),'destPath':s+'.js','framework':H(0x1ea),'context':v,'config':c,'force':h,'ignore':![]}),await g['template']({'srcPath':H(0x1f2)+j+'.js','destPath':t+H(0x1ed),'framework':H(0x1ea),'context':v,'config':c,'force':h,'ignore':![]}),await g[H(0x1dd)]({'srcPath':H(0x1ee)+k+H(0x1ed),'destPath':u+H(0x1ed),'framework':H(0x1ea),'context':v,'config':c,'force':h,'ignore':![]});const w=''+r+b[H(0x20a)]+'/'+i+'/'+i;await g['injectTemplateModule'](i,c,w);const x=''+r+b['dir']+'/'+j+'/'+j;await g[H(0x1da)](j,c,x);const y=''+r+b[H(0x20a)]+'/'+k+'/'+k;await g[H(0x1da)](k,c,y);for(const z of q){const A=d['getFiles'](a135e['join'](n,z),{'extensions':[H(0x1df),H(0x212)],'omit':['app-tests',H(0x204),'test']});for(const B of A){const C=a135e['join'](n,z,B);await g[H(0x1fc)]({'filePath':C,'importName':H(0x1e9),'modulePath':H(0x21b),'isNamedExport':![]}),await g['injectImport']({'filePath':C,'importName':H(0x20c),'modulePath':H(0x1e0),'isNamedExport':![]}),await g[H(0x1fc)]({'filePath':C,'importName':pascalCase(i),'modulePath':l?H(0x1eb):H(0x1f9),'isNamedExport':!![]}),await g[H(0x208)]({'filePath':C,'content':'<'+pascalCase(i)+'\x20/>\x0a','begin':['<div\x20id=\x22'+z+'\x22>','<div\x20id=\x22'+z+H(0x1f7)],'end':['<Outlet/>',H(0x1ff)]}),await g['injectImport']({'filePath':C,'importName':pascalCase(j),'modulePath':l?H(0x1eb):'/imports/startup/client/templates','isNamedExport':!![]}),await g[H(0x208)]({'filePath':C,'content':'<'+pascalCase(j)+H(0x1de),'begin':['<div\x20id=\x22'+z+'\x22>',H(0x1e1)+z+H(0x1f7)],'end':[H(0x1f0),H(0x1ff)]}),await g[H(0x208)]({'filePath':C,'content':'<'+pascalCase(k)+H(0x1de),'begin':[H(0x1f0),H(0x1ff)],'end':[H(0x1f1)]}),await g[H(0x1fc)]({'filePath':C,'importName':pascalCase(k),'modulePath':l?H(0x1eb):H(0x1f9),'isNamedExport':!![]}),await g[H(0x213)]({'filePath':C,'aboveContent':H(0x218),'belowContent':H(0x1f8),'targetString':[H(0x1f0),H(0x1ff)],'targetIndentAdjustment':0x6});}}}catch(D){Log['error'](D);}},async function(){const I=a135G;console[I(0x1fe)](I(0x20b));},a135f);function a135c(){const J=['tests','3160368JhTYqp','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','injectIntoFile','layouts','dir','Cleaning\x20up...','Container','search','force','maka\x20g:k:m:f','378daFXIj','1190EVotEO','tsx','injectAroundString','create','findAppDirectory','basic-sticky-footer','maka\x20generate:kit:mui: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>','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','constructor','@mui/material/Box','length','11149520aDTlHd','injectTemplateModule','basic-drawer','meteor','template','\x20/>\x0a','jsx','@mui/material/Container','<div\x20id=\x22','675018OWLUll','REACT','frame','maka:react-tracker','baseDir','9QEQNhG','appName','Box','react','/imports/startup/lib/templates','/imports/ui/','.js','kit/mui/frame/footers/','8472AggwuI','<Outlet/>','</div>','kit/mui/frame/drawers/','/imports/ui/components','pathFromApp','map','2760qLLZka','-hook\x22>','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','/imports/startup/client/templates','error','toString','injectImport','getDirectories','log','<Outlet\x20/>','MATERIAL','(((.+)+)+)+$','339701MEMGYx','4617368eHzJSV'];a135c=function(){return J;};return a135c();}
|