@maka/maka-cli 5.1.15 → 5.1.17
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
|
-
const
|
|
1
|
+
const a118n=a118d;(function(a,b){const k=a118d,c=a();while(!![]){try{const d=-parseInt(k(0x135))/0x1+parseInt(k(0x11d))/0x2+parseInt(k(0x12f))/0x3+-parseInt(k(0x123))/0x4*(parseInt(k(0x126))/0x5)+parseInt(k(0x11f))/0x6+-parseInt(k(0x125))/0x7*(parseInt(k(0x13b))/0x8)+-parseInt(k(0x122))/0x9*(-parseInt(k(0x133))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0xcacf1));function a118d(a,b){const c=a118c();return a118d=function(d,e){d=d-0x117;let f=c[d];return f;},a118d(a,b);}const a118b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a118d;if(c){const e=c[l(0x132)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){const m=a118d;return a118a['toString']()[m(0x12b)](m(0x13c))['toString']()[m(0x11c)](a118a)[m(0x12b)]('(((.+)+)+)+$');});function a118c(){const p=['Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection','1395096SscnkL','projectConfig','startup','623853EEWqtK','3870344iOhoGv','collections','1253wyRvBa','5pfaRAb','tsx','template','pathFromApp','maka\x20{generate,\x20g}:{collection,\x20col}\x20<name>','search','imports','engines','injectAtEndOfFile','943689sBCNBV','checkMeteorPackage','pkg','apply','230zunOsi','index.','854009CCWAbN','maka\x20g:collection\x20todos','\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','scaffold','appPathPrefix','dir','28744giKVIF','(((.+)+)+)+$','test','collection/collection.js','where','mongo','resourceName','create','constructor','2308154DLJwwt'];a118c=function(){return p;};return a118c();}a118a();import{kebabCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a118n(0x11b)]({'name':'collection','aliases':['col'],'usage':a118n(0x12a),'checkWhere':!![],'shortDesc':a118n(0x11e),'validOpts':[a118n(0x13a),a118n(0x118)],'mustBeInMakaProject':!![],'description':a118n(0x137),'examples':[a118n(0x136)]},async function(a,b){const o=a118n;try{const c=this[o(0x120)],d=b['dir']?'/'+b[o(0x13a)]+'/':'/',f=kebabCase(b[o(0x11a)]),g={'name':pascalCase(b[o(0x11a)]),'collectionName':pascalCase(b['resourceName']),'fileName':f,'where':b[o(0x118)],'test':c[o(0x12d)][o(0x13d)],'noRename':!![]};let h='js';c[o(0x12d)]['js']===o(0x127)&&(h='ts');await this[o(0x131)][o(0x130)]([o(0x119)],{'shouldInstall':!![]}),await this[o(0x138)][o(0x128)]({'srcPath':o(0x117),'destPath':this[o(0x138)]['pathFromApp']({'pathParts':[o(0x12c),o(0x121),b[o(0x139)],'collections',d,f+'.'+h]}),'context':g,'config':c});c[o(0x12d)][o(0x13d)]!=='none'&&await this[o(0x138)]['template']({'srcPath':'collection/tests.js','destPath':this['scaffold']['pathFromApp']({'pathParts':[o(0x12c),o(0x121),b[o(0x139)],o(0x124),d,f+'.app-tests.'+h]}),'context':g,'config':c});const i=this[o(0x138)][o(0x129)]({'pathParts':[o(0x12c),o(0x121),b['appPathPrefix'],o(0x134)+c['engines']['js']]});await this['scaffold'][o(0x12e)]({'filePath':i,'content':'import\x20\x27./collections'+d+f+'\x27;'});}catch(j){Log['error'](j);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a119m=a119d;(function(a,b){const k=a119d,c=a();while(!![]){try{const d=-parseInt(k(0xa5))/0x1*(-parseInt(k(0x99))/0x2)+-parseInt(k(0xb4))/0x3+-parseInt(k(0xa3))/0x4+parseInt(k(0xc9))/0x5+-parseInt(k(0xab))/0x6+parseInt(k(0xac))/0x7*(-parseInt(k(0xa2))/0x8)+parseInt(k(0xa7))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x659e9));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 l=a119d;return a119a[l(0xb6)]()[l(0xb8)](l(0xc6))['toString']()['constructor'](a119a)[l(0xb8)](l(0xc6));});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-0x93;let f=c[d];return f;},a119d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';const aliases=[a119m(0xba)];function a119c(){const o=['3000568WEcZsd','scaffold','375787XGLaNM','test/test.js','11441475RINqbG','maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','.js','features','3327180ftFhZL','1351UlaMqP','import\x20\x27./','component','baseDir','dir','theme','className','relative','635619ANlhHo','injectTemplateModule','toString','none','search','pkg','comp','engines','resourceName','css','injectAtBeginningOfFile','maka\x20g:comp\x20todos/todos-item','ssr','component/component.js','pathFromApp','graphql','.tests.js','/imports/ui/','(((.+)+)+)+$','/imports/ui/components','root','2820110hkJOar','fileName','Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','template/template.css','setTemplate','error','assign','withTranslations','.css','2CgXnkM','template','cfg','api','fsi','client','react','string','test','11536cnizcO'];a119c=function(){return o;};return a119c();}Generator['create']({'name':a119m(0xae),'aliases':aliases,'usage':a119m(0xa8),'shortDesc':a119m(0xcb),'mustBeInMakaProject':!![],'validOpts':[{'name':a119m(0xaf)}],'examples':[a119m(0xbf)]},async function(a,b){const n=a119m;try{const c=b[n(0xaf)]?n(0xc5)+b['baseDir']:n(0xc7),d=this['scaffold'][n(0xc2)]({'pathParts':[c,b[n(0xb0)],kebabCase(b['resourceName']),kebabCase(b['resourceName'])]}),f=this['projectConfig'];typeof f['template'][n(0xa1)]===n(0xa0)&&this['cfg'][n(0x94)]('test',f[n(0x9a)][n(0xa1)]);typeof f[n(0x9a)]['css']===n(0xa0)&&this[n(0x9b)][n(0x94)](n(0xbd),f[n(0x9a)][n(0xbd)]);typeof f['template']['js']===n(0xa0)&&this[n(0x9b)][n(0x94)]('js',f[n(0x9a)]['js']);await this[n(0xb9)]['checkNpmPackage']('ramda',{'shouldInstall':!b[n(0xc8)]}),await this[n(0xb9)]['checkNpmPackage']('react',{'shouldInstall':!b[n(0xc8)]});const g={'name':pascalCase(b['resourceName']),'myPath':a119e[n(0xb3)](this[n(0x9d)]['findProjectDirectory'](),d),'cssCaseName':kebabCase(b[n(0xbc)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[n(0xbc)]),'fileName':kebabCase(b['resourceName']),'graphql':f['engines'][n(0xc3)],'features':f[n(0xaa)],'client':f[n(0xbb)][n(0x9e)],'api':f[n(0xbb)][n(0x9c)],'ssr':f[n(0xbb)][n(0xc0)],'test':f[n(0xbb)][n(0xa1)],'theme':f['engines'][n(0xb1)],'isLayout':![],'isComponent':!![],'withTranslations':f['features'][n(0x97)]};await this[n(0xa4)][n(0x9a)]({'srcPath':n(0xc1),'destPath':d+n(0xa9),'context':g,'framework':n(0x9f),'config':f});f[n(0xbb)][n(0xa1)]!==n(0xb7)&&await this[n(0xa4)][n(0x9a)]({'srcPath':n(0xa6),'destPath':d+n(0xc4),'context':g,'framework':n(0x9f),'config':f});f[n(0x9a)][n(0xbd)]&&(await this[n(0xa4)][n(0x9a)]({'srcPath':n(0x93),'destPath':d+n(0x98),'context':Object[n(0x96)]({},g,{'className':kebabCase(b[n(0xbc)])}),'config':f}),await this[n(0xa4)][n(0xbe)]({'filePath':d+'.'+f['engines']['js'],'content':n(0xad)+g['cssCaseName']+'.'+f[n(0xbb)][n(0xbd)]+'\x27;'}));const h=b[n(0xb0)]?'/'+b['dir']+'/':'/',i=''+c+h+g[n(0xca)]+'/'+g['fileName'];await this[n(0xa4)][n(0xb5)](g[n(0xb2)],f,i);}catch(j){Log[n(0x95)](j);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a120m=a120d;function a120c(){const o=['777882UTrCTe','constructor','60fPUAuv','6ivvXpu','isDocker','development','local','73516afpsFb','prod','settings.json','apply','scaffold','(((.+)+)+)+$','template','projectConfig','config/pm2.config.js','process.env','1102276ZKcYoU','27345591Jnejid','dev','config/settings.json','create','resourceName','search','pm2.config.js','production','Generate\x20configuration\x20settings.','5439497wRCHjs','toString','pathFromProject','2349990dSwCUs','ubuntu','config','fsi','3196184PfsOFe','appName','config/process.env'];a120c=function(){return o;};return a120c();}(function(a,b){const j=a120d,c=a();while(!![]){try{const d=-parseInt(j(0x133))/0x1+parseInt(j(0x13a))/0x2*(-parseInt(j(0x135))/0x3)+-parseInt(j(0x11f))/0x4+-parseInt(j(0x12c))/0x5+parseInt(j(0x136))/0x6*(-parseInt(j(0x129))/0x7)+parseInt(j(0x130))/0x8+parseInt(j(0x120))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x62342));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a120d;if(c){const e=c[k(0x13d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const l=a120d;return a120a['toString']()['search']('(((.+)+)+)+$')[l(0x12a)]()[l(0x134)](a120a)[l(0x125)](l(0x13f));});a120a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x11e;let f=c[d];return f;},a120d(a,b);}Generator[a120m(0x123)]({'name':a120m(0x12e),'usage':'maka\x20{generate,\x20g}:{config}\x20<name>','shortDesc':a120m(0x128),'validOpts':['isDocker'],'mustBeInMakaProject':!![],'examples':['maka\x20g:config\x20production']},async function(a,b){const n=a120m;try{const c=this[n(0x141)],d={'app':c[n(0x131)],'appFileCase':kebabCase(c[n(0x131)]),'name':pascalCase(b['resourceName']),'fileName':kebabCase(b[n(0x124)]),'camelCase':camelCase(b[n(0x124)]),'userName':n(0x12d),'isDocker':b[n(0x137)]};let e=b[n(0x124)];if(e===n(0x121))e=n(0x138);else e===n(0x13b)&&(e=n(0x127));const f=this[n(0x12f)][n(0x12b)]({'pathParts':[n(0x12e),e,n(0x13c)]});await this[n(0x13e)]['template']({'srcPath':n(0x122),'destPath':f,'context':d,'config':c});if(e!=='local'){const g=this[n(0x12f)][n(0x12b)]({'pathParts':['config',e,n(0x126)]});await this[n(0x13e)][n(0x140)]({'srcPath':n(0x142),'destPath':g,'context':{'app':c[n(0x131)],'isDocker':b['isDocker']||![]},'config':c});}if(e===n(0x139)){const h=this['fsi'][n(0x12b)]({'pathParts':[n(0x12e),e,n(0x11e)]});await this[n(0x13e)]['template']({'srcPath':n(0x132),'destPath':h,'context':d,'config':c});}}catch(i){Log['error'](i);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a121n=a121d;function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x84;let f=c[d];return f;},a121d(a,b);}(function(a,b){const k=a121d,c=a();while(!![]){try{const d=parseInt(k(0xa1))/0x1+parseInt(k(0xad))/0x2*(-parseInt(k(0x84))/0x3)+parseInt(k(0x8f))/0x4*(-parseInt(k(0x99))/0x5)+-parseInt(k(0xb0))/0x6*(parseInt(k(0xb2))/0x7)+parseInt(k(0x91))/0x8+parseInt(k(0x8a))/0x9*(-parseInt(k(0x89))/0xa)+parseInt(k(0x93))/0xb*(parseInt(k(0x95))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x71926));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a121d;if(c){const e=c[l(0xa7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const m=a121d;return a121a[m(0xb1)]()[m(0x9c)](m(0x8b))[m(0xb1)]()[m(0x85)](a121a)['search'](m(0x8b));});a121a();import{camelCase,kebabCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a121c(){const p=['better-sqlite3','sqlite','588614lqZJzB','maka\x20g:dbc\x20geoserver\x20--type=pgsql','dbc','426042qaeEst','toString','7aiMDOf','9IZHYnz','constructor','mssql','pkg','engines','2126280xGWhcB','18UcLYPk','(((.+)+)+)+$','maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','dbc/register-dbc.js','4GgGfun','template','4398344SrYFmO','type','4926251TFMSiK','create','24wcRFNY','imports','scaffold','startup','2611315qeWCVo','server','register-','search','dbc/conn.js','pathFromApp','pgsql','maka\x20g:dbc\x20azure\x20--type=mssql','921162IImJlD','projectConfig','import\x20\x27./register-','tsx','maka\x20g:dbc\x20todos\x20--type=sqlite','conn.','apply','checkNpmPackage','dir','resourceName'];a121c=function(){return p;};return a121c();}import{Log}from'../tools/log/log.class.js';Generator[a121n(0x94)]({'name':a121n(0xaf),'usage':a121n(0x8c),'shortDesc':a121n(0x8d),'validOpts':['dir'],'mustBeInMakaProject':!![],'requiredOpts':[{'name':'type','values':[a121n(0x9f),a121n(0x86),'sqlite']}],'examples':[a121n(0xae),a121n(0xa0),a121n(0xa5)]},async function(a,b){const o=a121n;try{const c=this[o(0xa2)],d=kebabCase(b[o(0xaa)]),f={'name':pascalCase(b['resourceName']),'fileName':kebabCase(b[o(0xaa)]),'camelCase':camelCase(b[o(0xaa)]),'type':b[o(0x92)],'engine':c['engines']['js'],'noRename':!![]},g=b[o(0xa9)]?'/'+b[o(0xa9)]+'/':'/';let h='js';c[o(0x88)]['js']===o(0xa4)&&(h='ts');b[o(0x92)]===o(0x9f)&&await this[o(0x87)][o(0xa8)]('pg',{'shouldInstall':!![]});b[o(0x92)]==='mssql'&&await this[o(0x87)][o(0xa8)]('mssql',{'shouldInstall':!![]});b['type']===o(0xac)&&await this[o(0x87)][o(0xa8)](o(0xab),{'shouldInstall':!![]});await this[o(0x97)]['template']({'srcPath':'dbc/config.js','destPath':this[o(0x97)][o(0x9e)]({'pathParts':[o(0x96),o(0x98),o(0x9a),'dbc',g,d,'config.'+h]}),'context':f,'config':c}),await this[o(0x97)][o(0x90)]({'srcPath':o(0x9d),'destPath':this[o(0x97)][o(0x9e)]({'pathParts':[o(0x96),'startup',o(0x9a),o(0xaf),g,d,o(0xa6)+h]}),'context':f,'config':c}),await this['scaffold']['template']({'srcPath':o(0x8e),'destPath':this[o(0x97)][o(0x9e)]({'pathParts':[o(0x96),o(0x98),o(0x9a),o(0x9b)+d+'-dbc.'+h]}),'context':f,'config':c});const i=this[o(0x97)][o(0x9e)]({'pathParts':[o(0x96),'startup',o(0x9a),'index.'+c[o(0x88)]['js']]});await this[o(0x97)]['injectAtEndOfFile']({'filePath':i,'content':o(0xa3)+d+'-dbc\x27;'});}catch(j){Log['error'](j);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a122l=a122d;(function(a,b){const i=a122d,c=a();while(!![]){try{const d=parseInt(i(0x186))/0x1+parseInt(i(0x171))/0x2+parseInt(i(0x188))/0x3+-parseInt(i(0x179))/0x4+parseInt(i(0x187))/0x5+-parseInt(i(0x170))/0x6+-parseInt(i(0x18b))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xa9399));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a122d;if(c){const e=c[j(0x16f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const k=a122d;return a122a[k(0x17a)]()[k(0x17f)](k(0x173))['toString']()[k(0x17b)](a122a)[k(0x17f)](k(0x173));});a122a();function a122c(){const n=['force','609595ruAbbv','1192420XAFkHT','3603324jOQOLO','service','maka\x20{generate,\x20g}:dockerfile','2490446rhfSPO','getGlobalConfig','maka\x20g:dockerfile','join','template','apply','8195280oxPUyj','2067106KDYdMC','docker/Dockerfile','(((.+)+)+)+$','cfg','scaffold','findProjectDirectory','app.tar.gz','build','2671748MsDIND','toString','constructor','fsi','app','appName','search','isFile','dockerfile','cert','getMakaProjectConfig','Dockerfile'];a122c=function(){return n;};return a122c();}import{Generator}from'../generator.js';function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x16c;let f=c[d];return f;},a122d(a,b);}import{Log}from'../tools/log/log.class.js';import a122e from'path';Generator['create']({'name':a122l(0x181),'usage':a122l(0x18a),'shortDesc':'Generate\x20an\x20updated\x20dockerfile','resourceNameRequired':![],'mustBeInMakaProject':!![],'validOpts':[{'name':a122l(0x185),'boolFlag':!![]}],'examples':[a122l(0x16c)]},async function(a,b){const m=a122l;try{const c=this[m(0x174)][m(0x183)](),d=await this[m(0x174)][m(0x18c)](),f=this[m(0x17c)][m(0x176)](),g={'app':c[m(0x17e)],'config':c,'appPath':a122e[m(0x16d)](f,m(0x17d)),'bundlePath':a122e[m(0x16d)](f,m(0x178),m(0x177)),'useCert':d['cert']?this[m(0x17c)][m(0x180)](d[m(0x182)]):![]};await this[m(0x175)][m(0x16e)]({'srcPath':m(0x172),'destPath':a122e[m(0x16d)](f,m(0x184)),'framework':m(0x189),'context':g,'config':c,'force':b[m(0x185)]});}catch(h){Log['error'](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x1b6;let f=c[d];return f;},a123d(a,b);}const a123o=a123d;(function(a,b){const l=a123d,c=a();while(!![]){try{const d=-parseInt(l(0x1cb))/0x1*(parseInt(l(0x1c7))/0x2)+parseInt(l(0x1cc))/0x3+parseInt(l(0x1cd))/0x4*(parseInt(l(0x1e6))/0x5)+-parseInt(l(0x1e5))/0x6*(-parseInt(l(0x1f2))/0x7)+-parseInt(l(0x1ba))/0x8+-parseInt(l(0x1be))/0x9*(parseInt(l(0x1c0))/0xa)+parseInt(l(0x1ce))/0xb*(parseInt(l(0x1ed))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xd3978));function a123c(){const q=['toString','create','hook','pages','graphql','className','scaffold','@apollo/client\x20isomorphic-fetch','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','cfg','installNpmPackage','notice','none','(((.+)+)+)+$','fileName','template','baseDir','hooks','test','injectTemplateModule','findProjectDirectory','Creating\x20','3330684IPesOD','30dQsvfc','withTranslations','react','\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','cssCaseName','css','fsi','17796hWeDSI','\x20hook...','constructor','test/test.js','checkNpmPackage','7RkFBko','.css','/imports/ui/','force','pkg','theme','warn','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','apply','.js','13298696RikbmW','engines','resourceName','assign','7024059DAMyCt','relative','10AIpxJX','apollo','string','pathFromApp','maka\x20g:hook\x20cool-hook','search','projectConfig','836vcHECT','dir','hook/hook.js','features','1905RSIGrn','3716577hpSCAq','328096EWYExE','13497NgzTvx'];a123c=function(){return q;};return a123c();}const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a123d;if(c){const e=c[m(0x1b8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const n=a123d;return a123a[n(0x1cf)]()[n(0x1c5)](n(0x1dc))[n(0x1cf)]()[n(0x1ef)](a123a)[n(0x1c5)](n(0x1dc));});a123a();import a123e from'path';import{kebabCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a123o(0x1d0)]({'name':a123o(0x1d1),'aliases':['h'],'checkWhere':![],'usage':'maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','shortDesc':a123o(0x1b7),'mustBeInMakaProject':!![],'validOpts':[{'name':a123o(0x1df),'values':[a123o(0x1e0),'components',a123o(0x1d2),'layouts']},{'name':'force','boolFlag':!![]}],'examples':[a123o(0x1c4)],'description':a123o(0x1e9)},async function(a,b){const p=a123o;Log[p(0x1da)](p(0x1e4)+b[p(0x1bc)]+p(0x1ee));try{await this[p(0x1f6)][p(0x1f1)]('react',{'shouldInstall':!![]});const c=this[p(0x1ec)]['findAppDirectory'](),d=b[p(0x1df)]?p(0x1f4)+b[p(0x1df)]:'/imports/ui/components',f=this[p(0x1d5)][p(0x1c3)]({'pathParts':[d,b['dir'],kebabCase(b[p(0x1bc)]),kebabCase(b[p(0x1bc)])]}),g=this[p(0x1c6)];typeof g[p(0x1de)][p(0x1eb)]===p(0x1c2)&&this[p(0x1d8)]['setTemplate'](p(0x1eb),g[p(0x1de)][p(0x1eb)]);g[p(0x1bb)][p(0x1d3)]===p(0x1c1)&&!this[p(0x1f6)][p(0x1f1)]('@apollo/client')&&(Log[p(0x1b6)](p(0x1d7)),await this[p(0x1f6)][p(0x1d9)](p(0x1d6),{'cwd':c}));const h={'cssCaseName':kebabCase(b[p(0x1bc)]),'camelCaseName':camelCase(b[p(0x1bc)]),'className':pascalCase(b[p(0x1bc)]),'name':pascalCase(b[p(0x1bc)]),'graphql':g[p(0x1bb)][p(0x1d3)],'theme':g[p(0x1bb)][p(0x1f7)],'test':g[p(0x1bb)][p(0x1e1)],'features':g['features'],'myPath':a123e[p(0x1bf)](this['fsi'][p(0x1e3)](),f),'fileName':kebabCase(b[p(0x1bc)]),'isComponent':![],'isLayout':![],'withTranslations':g[p(0x1ca)][p(0x1e7)]};await this[p(0x1d5)][p(0x1de)]({'srcPath':p(0x1c9),'destPath':f+p(0x1b9),'context':h,'config':g,'framework':p(0x1e8),'force':b[p(0x1f5)]});g[p(0x1de)]['css']&&(await this['scaffold'][p(0x1de)]({'srcPath':'template/template.css','destPath':f+p(0x1f3),'context':Object[p(0x1bd)]({},h,{'className':h[p(0x1ea)]}),'config':g,'force':b[p(0x1f5)]}),await this[p(0x1d5)]['injectAtBeginningOfFile']({'filePath':f+'.'+g[p(0x1bb)]['js'],'content':'import\x20\x27./'+h[p(0x1dd)]+'.'+g[p(0x1bb)]['css']+'\x27;'}));g[p(0x1bb)]['test']!==p(0x1db)&&await this[p(0x1d5)][p(0x1de)]({'srcPath':p(0x1f0),'destPath':f+'.app-tests.js','framework':p(0x1e8),'context':h,'config':g,'force':b[p(0x1f5)]});const i=b[p(0x1c8)]?'/'+b['dir']+'/':'/',j=''+d+i+h[p(0x1dd)]+'/'+h[p(0x1dd)];await this[p(0x1d5)][p(0x1e2)](h[p(0x1d4)],g,j);}catch(k){Log['error'](k);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=
|
|
1
|
+
(function(a,b){var f=a124d,c=a();while(!![]){try{var d=parseInt(f(0x163))/0x1*(-parseInt(f(0x15a))/0x2)+-parseInt(f(0x162))/0x3+-parseInt(f(0x157))/0x4*(parseInt(f(0x161))/0x5)+-parseInt(f(0x15f))/0x6*(-parseInt(f(0x165))/0x7)+parseInt(f(0x164))/0x8+parseInt(f(0x160))/0x9+parseInt(f(0x15c))/0xa*(parseInt(f(0x159))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0xe8a0a));function a124c(){var i=['10OSRvsW','4235271FCozFB','25572NSIbBT','6095512yIAWMG','2838598dEqGlv','3761612YmPLri','(((.+)+)+)+$','1128633jioxsK','50PmJyjV','apply','170uqJXDD','toString','search','12wbFgIb','14107383GPXJNS'];a124c=function(){return i;};return a124c();}var a124b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a124d;if(c){var e=c[g(0x15b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){var h=a124d;return a124a[h(0x15d)]()[h(0x15e)]('(((.+)+)+)+$')[h(0x15d)]()['constructor'](a124a)[h(0x15e)](h(0x158));});a124a();function a124d(a,b){var c=a124c();return a124d=function(d,e){d=d-0x157;var f=c[d];return f;},a124d(a,b);}import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';import'./auth/_index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a125d,c=a();while(!![]){try{var d=-parseInt(f(0x166))/0x1+-parseInt(f(0x16c))/0x2+parseInt(f(0x16a))/0x3+parseInt(f(0x164))/0x4+parseInt(f(0x16b))/0x5*(parseInt(f(0x16e))/0x6)+-parseInt(f(0x16f))/0x7*(parseInt(f(0x170))/0x8)+parseInt(f(0x167))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x8eb6c));var a125b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a125d;if(c){var e=c[g(0x16d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){var h=a125d;return a125a[h(0x165)]()['search'](h(0x168))[h(0x165)]()[h(0x169)](a125a)['search']('(((.+)+)+)+$');});a125a();function a125d(a,b){var c=a125c();return a125d=function(d,e){d=d-0x164;var f=c[d];return f;},a125d(a,b);}import'./auth.generator.js';function a125c(){var i=['apply','36282gExYXV','1351TDqdlE','41664wLbLSf','2334860EyruFJ','toString','800940NsJyqK','4718016bViKGR','(((.+)+)+)+$','constructor','3309531XSiYnT','275LObBAu','306122UUiZOa'];a125c=function(){return i;};return a125c();}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(0xc6))/0x1*(parseInt(f(0xcf))/0x2)+-parseInt(f(0xc5))/0x3*(parseInt(f(0xbb))/0x4)+-parseInt(f(0xcd))/0x5*(parseInt(f(0xc2))/0x6)+-parseInt(f(0xc4))/0x7*(parseInt(f(0xce))/0x8)+-parseInt(f(0xd0))/0x9*(parseInt(f(0xbc))/0xa)+parseInt(f(0xca))/0xb*(parseInt(f(0xc7))/0xc)+parseInt(f(0xbd))/0xd*(parseInt(f(0xc9))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x7564b));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0xbe)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a['toString']()['search'](h(0xc0))[h(0xcc)]()[h(0xd2)](a126a)[h(0xc3)](h(0xc0));});a126a();import{Generator}from'../../../generator.js';function a126c(){const k=['116QSrpPR','4752297deCkKK','maka\x20g:kit:a','constructor','NIE','3840044kvapNo','10phtShA','13dTEDDa','apply','create','(((.+)+)+)+$','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','198KwSkyS','search','14yqAjNm','3wGJAky','3867NaIJIK','492qjeVJd','auth','31073882ZwzRvS','210408fcxsTM','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','toString','10460ixTvzO','2966408ihTWMg'];a126c=function(){return k;};return a126c();}import a126e from'../kit.js';function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0xba;let f=c[d];return f;},a126d(a,b);}const AuthGen=Generator[a126i(0xbf)]({'name':a126i(0xc8),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','shortDesc':a126i(0xc1),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a126i(0xd1)],'description':a126i(0xcb)},async function(){const j=a126i;throw j(0xba);},async function(){},a126e);export default AuthGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a127u=a127d;function a127c(){const w=['engines','9345AsnzpM','12FXgdwG','const\x20resetPasswordWithToken','const\x20getUserAuthorizations','\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','243431QnsPav','findProjectDirectory','useEffect\x5c(','6ECTMet','processAndRunGenerator','20729064BZnget','kit/auth/service/meteor-auth-service.js','imports','4eUNvJC','error','const\x20registerNewUser','Meteor','meteor','/imports/startup/client/authentication-service','1685154lxGIbE','index','4692270tCobkl','(((.+)+)+)+$','const\x20authenticateToken','authentication-provider','624uNoDwz','AuthService','\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','pathFromApp','checkMeteorPackage','search','/imports/startup/lib','kit:auth:provider','template','meteor/accounts-base','REACT','\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','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','11pDEdlK','const\x20authenticateUser','ssr','meteor/meteor','constructor','const\x20deauthenticateUser','Accounts','injectImport','publish','server','Meteor.startup','create','\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','injectIntoFile','Meteor.publish','authentication-service','auth/roles','react','.js','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','findAppDirectory','export\x20const\x20AuthProvider','\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','4087155NTXFQl','meteor/maka:react-tracker','force','259785rqTMui','injectIntoCodeBlock','\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','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','/imports/startup/lib/authentication-service','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','toString','const\x20sendForgotPasswordEmail'];a127c=function(){return w;};return a127c();}(function(a,b){const s=a127d,c=a();while(!![]){try{const d=-parseInt(s(0xfb))/0x1*(-parseInt(s(0x103))/0x2)+-parseInt(s(0x109))/0x3*(parseInt(s(0xf7))/0x4)+parseInt(s(0xea))/0x5*(parseInt(s(0xfe))/0x6)+parseInt(s(0xf6))/0x7*(parseInt(s(0x10f))/0x8)+-parseInt(s(0xed))/0x9+parseInt(s(0x10b))/0xa*(-parseInt(s(0x11c))/0xb)+parseInt(s(0x100))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0xe8917));const a127b=(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;};}()),a127a=a127b(this,function(){const t=a127d;return a127a[t(0xf3)]()[t(0x114)]('(((.+)+)+)+$')[t(0xf3)]()[t(0x120)](a127a)['search'](t(0x10c));});a127a();import a127e from'path';import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a127f from'./auth.generator.js';function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0xe0;let f=c[d];return f;},a127d(a,b);}import a127g from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a127u(0x127)]({'name':a127u(0x107),'aliases':['m'],'usage':a127u(0xf0),'shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','validOpts':[a127u(0xec)],'isPro':!![],'resourceNameRequired':![],'mustBeInMakaProject':!![],'requiredEngines':{'client':ClientEngines[a127u(0x119)]},'description':a127u(0xe9)},async function(a,b){const v=a127u,{fsi:c,pkg:d,scaffold:f,projectConfig:g}=this;try{const h=b[v(0xec)]||![];await d[v(0x113)](['accounts-password'],{'shouldInstall':!![]});const i=c[v(0xfc)](),j=c[v(0xe7)](),k=g[v(0xf5)][v(0x11e)]===v(0x107);await a127g[v(0xff)](v(0x116),[],{'force':h,'cwd':i,'config':g}),await a127g[v(0xff)](v(0x124),[v(0xe3)],{'force':h,'globalPublish':!![],'cwd':i,'config':g});const l=j+a127e['normalize']('/imports/startup/server/publications/auth/roles.js'),m=k?v(0x115):'/imports/startup/client',n=f[v(0x112)]({'pathParts':[m,'','',v(0xe2)]});await f[v(0x117)]({'srcPath':v(0x101),'destPath':n+v(0xe5),'framework':v(0xe4),'context':{},'config':g,'force':h,'ignore':![]});const o=f[v(0x112)]({'pathParts':[m,'','',v(0x10e)]}),p=g[v(0xf5)]['js'];await f[v(0x123)]({'filePath':o+'.'+p,'importName':v(0x110),'modulePath':k?v(0xf1):v(0x108),'isNamedExport':![]}),await f[v(0xee)]({'filePath':o+'.'+p,'content':v(0xfa),'begin':v(0x11d),'replace':!![]}),await f[v(0xee)]({'filePath':o+'.'+p,'content':v(0x111),'begin':v(0x10d),'replace':!![]}),await f[v(0xee)]({'filePath':o+'.'+p,'content':v(0x128),'begin':v(0xf9),'replace':!![]}),await f[v(0xee)]({'filePath':o+'.'+p,'content':v(0xf2),'begin':v(0x121),'replace':!![]}),await f[v(0xee)]({'filePath':o+'.'+p,'content':v(0xe6),'begin':v(0xf4),'replace':!![]}),await f[v(0xee)]({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','begin':v(0x105),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':v(0x11b),'begin':v(0xf8),'replace':!![]});k&&(await f[v(0x123)]({'filePath':o+'.'+p,'importName':'useTracker','modulePath':v(0xeb),'isNamedExport':!![]}),await f[v(0xe0)]({'filePath':o+'.'+p,'content':'\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','begin':v(0xe8),'end':v(0xfd)}));await f['injectImport']({'filePath':l,'importName':v(0x106),'modulePath':v(0x11f),'isNamedExport':!![],'injectAtStart':!![]}),await f[v(0xee)]({'filePath':l,'content':v(0xef),'begin':v(0xe1),'replace':!![]});const q=f[v(0x112)]({'pathParts':[v(0x102),'startup',v(0x125),v(0x10a)]});await f['injectImport']({'filePath':q+'.'+p,'importName':v(0x122),'modulePath':v(0x118),'isNamedExport':!![]}),await f[v(0xee)]({'filePath':q+'.'+p,'content':v(0x11a),'begin':v(0x126),'replace':!![]});}catch(r){Log[v(0x104)](r),process['exit'](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(0xe8))/0x1+parseInt(u(0xed))/0x2+-parseInt(u(0xdc))/0x3+parseInt(u(0xca))/0x4*(-parseInt(u(0xe7))/0x5)+-parseInt(u(0xf5))/0x6+parseInt(u(0xe6))/0x7*(parseInt(u(0xce))/0x8)+parseInt(u(0xe9))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x9ed7b));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a128d;if(c){const e=c[v(0xf1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const w=a128d;return a128a[w(0xe0)]()['search'](w(0xc4))[w(0xe0)]()[w(0xcd)](a128a)[w(0xf6)](w(0xc4));});a128a();function a128c(){const z=['authentication-provider','<AppRoutes\x20/>','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','force','/imports/startup/lib','REACT','injectAroundString','const\x20PrivateRoute','bright','150885mTDiNA','const\x20useAuth','</AuthProvider>','AuthProvider','toString','injectImport','/routes','injectIntoCodeBlock','exit','kit/auth/provider/authentication-provider.js','1119251JZqYtE','5170535GUYBCb','184120QUPdTd','12836898zAuTPm','ssr','/imports/startup/lib/authentication-provider','engines','951212TrVOia','/imports/startup/client','.js','/imports/startup/client/authentication-provider','apply','<AuthProvider>','pathFromApp','appName','6612228TLdNtI','search','scaffold','meteor','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','react','(((.+)+)+)+$','function\x20useAuth','\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','<AppRoutes\x20history={history}/>','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','provider','4EtzUjK','/imports/startup/client/index','\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','constructor','56agasQT','create','useContext','template','/imports/startup/server/index'];a128c=function(){return z;};return a128c();}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0xc4;let f=c[d];return f;},a128d(a,b);}import a128e from'./auth.generator.js';import{capitalCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a128x(0xcf)]({'name':a128x(0xc9),'aliases':['p'],'usage':a128x(0xc8),'shortDesc':a128x(0xf9),'validOpts':[a128x(0xd6)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a128x(0xd8)]},'description':a128x(0xc6)},async function(a,b){const y=a128x;try{const c=b[y(0xd6)]||![];Log[y(0xdb)](y(0xd5));const {projectConfig:d}=this,f=d[y(0xec)][y(0xea)]===y(0xf8),g={'name':capitalCase(d[y(0xf4)])},h=f?y(0xd7):y(0xee),i=this[y(0xf7)][y(0xf3)]({'pathParts':[h,'','',y(0xd3)]});await this[y(0xf7)][y(0xd1)]({'srcPath':y(0xe5),'destPath':i+y(0xef),'framework':y(0xfa),'context':g,'config':d,'force':c,'ignore':![]});const j=d['engines']['js'],k=h+y(0xe2),l=k['split']('/'),m=this[y(0xf7)][y(0xf3)]({'pathParts':l});await this[y(0xf7)][y(0xe1)]({'filePath':m+'.'+j,'importName':'AuthContext','modulePath':f?y(0xeb):y(0xf0),'isNamedExport':!![]}),await this['scaffold'][y(0xe1)]({'filePath':m+'.'+j,'importName':y(0xd0),'modulePath':y(0xfa),'isNamedExport':!![],'injectAtStart':!![]}),await this['scaffold'][y(0xe3)]({'filePath':m+'.'+j,'content':y(0xcc),'begin':[y(0xdd),y(0xc5)],'replace':!![]}),await this[y(0xf7)][y(0xe3)]({'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(0xda)],'replace':!![]});const n=y(0xcb),o=n['split']('/'),p=this[y(0xf7)][y(0xf3)]({'pathParts':o});await this['scaffold']['injectImport']({'filePath':p+'.'+j,'importName':y(0xdf),'modulePath':f?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[y(0xf7)][y(0xd9)]({'filePath':p+'.'+j,'aboveContent':y(0xf2),'belowContent':y(0xde),'targetString':y(0xd4),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0xd2),r=q['split']('/'),s=this['scaffold'][y(0xf3)]({'pathParts':r});await this[y(0xf7)][y(0xe1)]({'filePath':s+'.'+j,'importName':'AuthProvider','modulePath':f?y(0xeb):y(0xf0),'isNamedExport':!![]}),await this[y(0xf7)][y(0xd9)]({'filePath':s+'.'+j,'aboveContent':y(0xf2),'belowContent':'</AuthProvider>','targetString':y(0xc7),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log['error'](t),process[y(0xe4)](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(0x7d))/0x1*(parseInt(f(0x81))/0x2)+parseInt(f(0x89))/0x3+-parseInt(f(0x82))/0x4+-parseInt(f(0x87))/0x5*(parseInt(f(0x7c))/0x6)+-parseInt(f(0x7b))/0x7*(parseInt(f(0x80))/0x8)+-parseInt(f(0x86))/0x9+parseInt(f(0x85))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xe0bbb));var a129b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a129d;if(c){var e=c[g(0x7e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){var h=a129d;return a129a['toString']()[h(0x7f)](h(0x84))[h(0x83)]()[h(0x88)](a129a)[h(0x7f)](h(0x84));});function a129c(){var i=['680XwdwHh','318388RsXBTq','4372960shLCYi','toString','(((.+)+)+)+$','41266620yxEyXG','13909410GLlEtW','5aQxEYE','constructor','2636097dJrHCo','34321ABCaaX','2355558GdTxlE','4KyOOUt','apply','search'];a129c=function(){return i;};return a129c();}function a129d(a,b){var c=a129c();return a129d=function(d,e){d=d-0x7b;var f=c[d];return f;},a129d(a,b);}a129a();import'./esri.generator.js';import'./map.esri.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a130i=a130d;function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0xe6;let f=c[d];return f;},a130d(a,b);}(function(a,b){const f=a130d,c=a();while(!![]){try{const d=parseInt(f(0xf0))/0x1*(parseInt(f(0xea))/0x2)+-parseInt(f(0xf2))/0x3+-parseInt(f(0xe8))/0x4+-parseInt(f(0xf4))/0x5+parseInt(f(0xe6))/0x6+-parseInt(f(0xf5))/0x7+parseInt(f(0xed))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x7d0a2));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a130d;if(c){const e=c[g(0xec)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const h=a130d;return a130a[h(0xe7)]()['search'](h(0xef))[h(0xe7)]()[h(0xe9)](a130a)[h(0xeb)](h(0xef));});a130a();import{Generator}from'../../../generator.js';function a130c(){const j=['2213202ZafcAD','toString','17328GdKoHX','constructor','2VEnQLF','search','apply','4781616WWUZea','esri','(((.+)+)+)+$','1007493NcEWwm','create','2447406QCYuPe','\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','117530elePGF','4327820UkEhUA','maka\x20g:kit:e'];a130c=function(){return j;};return a130c();}import{UsageError}from'../../../error.js';import a130e from'../kit.js';const EsriGen=Generator[a130i(0xf1)]({'name':a130i(0xee),'aliases':['e'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','shortDesc':'Starting\x20point\x20for\x20generating\x20Esri\x20Maps','resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a130i(0xf6)],'description':a130i(0xf3)},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(0xa7))/0x1+-parseInt(s(0xa5))/0x2*(-parseInt(s(0x9f))/0x3)+parseInt(s(0x95))/0x4*(-parseInt(s(0x83))/0x5)+-parseInt(s(0x81))/0x6+parseInt(s(0x89))/0x7+-parseInt(s(0xad))/0x8*(-parseInt(s(0xa3))/0x9)+parseInt(s(0x8d))/0xa*(parseInt(s(0xab))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x25555));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a131d;if(c){const e=c[t(0x96)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const u=a131d;return a131a[u(0x94)]()[u(0x9b)](u(0x80))[u(0x94)]()['constructor'](a131a)[u(0x9b)](u(0x80));});a131a();import{Generator}from'../../../generator.js';function a131c(){const x=['injectImport','react','2403DwjDKs','injectTemplateModule','24790amuScH','kit/esri/map/','9971xFMxyF','bright','.js','split','473YsbGJl','dir','840OhTzYy','esri-loader','processAndRunGenerator','pathFromApp','(((.+)+)+)+$','1305930ZLKPOA','<div\x20id=\x22map\x22>','1285hBsJjE','appName','Generate\x20an\x20Esri\x20map\x20component','map','page','basic-map','1023631CUJljd','baseDir','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','REACT','44570thGnNw','replaceAll','ssr','@esri/react-arcgis','findProjectDirectory','NONE','create','toString','3052bNxAam','apply','\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','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','</div>','/imports/ui/','search','injectIntoFile','error','engines','51uzSTCD','template'];a131c=function(){return x;};return a131c();}import{Log}from'../../../tools/log/log.class.js';function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x7f;let f=c[d];return f;},a131d(a,b);}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(0x93)]({'name':a131v(0x86),'aliases':['m'],'usage':a131v(0x98),'shortDesc':a131v(0x85),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a131v(0x8c)],'ssr':SsrEngines[a131v(0x92)]},'description':a131v(0x97)},async function(a,b){const w=a131v;try{const {projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;Log[w(0xa8)]('Generating\x20a\x20map\x20component');const h=w(0x88);await f['checkNpmPackage']([w(0x90),w(0xae)],{'shouldInstall':!![]});const i=d[w(0x91)](),j=c[w(0x9e)][w(0x8f)]==='meteor',k=await a131f[w(0xaf)](w(0x87),[w(0x86)],{'cwd':i,'config':c}),l={'name':capitalCase(c[w(0x84)])[w(0x8e)]('-','\x20'),'componentName':pascalCase(h)},m=b['baseDir']?w(0x9a)+b[w(0x8a)]:'/imports/ui/components',n=g[w(0x7f)]({'pathParts':[m,b['dir'],kebabCase(h),kebabCase(h)]});await g[w(0xa0)]({'srcPath':w(0xa6)+h+w(0xa9),'destPath':n+w(0xa9),'framework':w(0xa2),'context':l,'config':c,'force':![],'ignore':![]});const o=''+m+b[w(0xac)]+'/'+h+'/'+h;await g[w(0xa4)](h,c,o);const p=k[w(0xaa)]('/'),q=g[w(0x7f)]({'pathParts':p});await g[w(0xa1)]({'filePath':q,'importName':pascalCase(h),'modulePath':j?'/imports/startup/lib/templates':'/imports/startup/client/templates','isNamedExport':!![]}),await g[w(0x9c)]({'filePath':q,'content':'\x0a<'+pascalCase(h)+w(0x8b),'begin':[w(0x82),w(0x82)],'end':[w(0x99)],'replace':!![]});}catch(r){Log[w(0x9d)](r),process['exit'](0x1);}},async function(){},a131e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a132i=a132d;(function(a,b){const f=a132d,c=a();while(!![]){try{const d=-parseInt(f(0xc5))/0x1*(parseInt(f(0xc8))/0x2)+-parseInt(f(0xcc))/0x3*(parseInt(f(0xbc))/0x4)+parseInt(f(0xce))/0x5+-parseInt(f(0xbe))/0x6*(parseInt(f(0xc7))/0x7)+-parseInt(f(0xcd))/0x8+parseInt(f(0xc3))/0x9*(-parseInt(f(0xc0))/0xa)+-parseInt(f(0xc2))/0xb*(-parseInt(f(0xc4))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0xd134f));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a132d;if(c){const e=c[g(0xc6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const h=a132d;return a132a[h(0xbd)]()[h(0xbf)](h(0xc9))[h(0xbd)]()['constructor'](a132a)[h(0xbf)](h(0xc9));});a132a();import{Generator}from'../../generator.js';function a132c(){const j=['toString','8760036nyxEqQ','search','40mYvybk','maka\x20g:kit','29898jQqtiy','651609QqCZHL','17868IydZGZ','5HbqMLn','apply','7VzJFDU','248018eGqExt','(((.+)+)+)+$','maka\x20{generate,\x20g}:{kit}\x20<name>','maka\x20g:k','3laxHRA','2145824TbELfG','2294800NTvqsu','kit','4045072FiXrsb'];a132c=function(){return j;};return a132c();}function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0xbc;let f=c[d];return f;},a132d(a,b);}const KitGen=Generator['create']({'name':a132i(0xcf),'aliases':['k'],'usage':a132i(0xca),'shortDesc':'Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','minArgLength':0x1,'isPro':!![],'validOpts':[],'resourceNameRequired':![],'examples':[a132i(0xc1),a132i(0xcb)]},async function(){});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(0x9c))/0x1+-parseInt(f(0xa4))/0x2+-parseInt(f(0x9f))/0x3+parseInt(f(0xa6))/0x4*(-parseInt(f(0xa5))/0x5)+parseInt(f(0xa2))/0x6*(-parseInt(f(0x9e))/0x7)+parseInt(f(0x9d))/0x8+parseInt(f(0xa7))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x19493));var a133b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a133d;if(c){var e=c[g(0xa1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){var h=a133d;return a133a[h(0xa3)]()['search']('(((.+)+)+)+$')['toString']()[h(0x9b)](a133a)[h(0xa8)](h(0xa0));});a133a();import'./mui.generator.js';import'./frame.mui.gen.js';function a133d(a,b){var c=a133c();return a133d=function(d,e){d=d-0x9b;var f=c[d];return f;},a133d(a,b);}import'./auth.mui.gen.js';function a133c(){var i=['941128sRgtSl','34321Skpojt','161487DPVEbw','(((.+)+)+)+$','apply','204IujGrc','toString','204446JTDbBc','1670ThtiVm','1796IUyzye','5555970mPLglh','search','constructor','158680bMjEQq'];a133c=function(){return i;};return a133c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0xcf;let f=c[d];return f;},a134d(a,b);}const a134L=a134d;(function(a,b){const I=a134d,c=a();while(!![]){try{const d=-parseInt(I(0xef))/0x1*(parseInt(I(0xf9))/0x2)+-parseInt(I(0xea))/0x3+parseInt(I(0xf6))/0x4*(-parseInt(I(0xf8))/0x5)+-parseInt(I(0xdd))/0x6+parseInt(I(0xe2))/0x7*(-parseInt(I(0xe3))/0x8)+-parseInt(I(0xfd))/0x9*(-parseInt(I(0xee))/0xa)+parseInt(I(0xf7))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0x1cadb));const a134b=(function(){let a=!![];return function(b,c){const d=a?function(){const J=a134d;if(c){const e=c[J(0x10b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a134a=a134b(this,function(){const K=a134d;return a134a[K(0x104)]()[K(0xf0)](K(0xec))[K(0x104)]()['constructor'](a134a)[K(0xf0)](K(0xec));});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';import a134f from'./mui.generator.js';import{kebabCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a134L(0xd0)]({'name':a134L(0xd1),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{auth,\x20a}','shortDesc':a134L(0x107),'validOpts':[a134L(0xf5),a134L(0xe7)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a134L(0xd5)],'client':ClientEngines[a134L(0xf1)]},'examples':[a134L(0xfe),a134L(0x105)],'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(0xe7)]||![],h=d[M(0x102)](),i=await Actions[M(0xd7)]({'name':M(0xe8),'message':M(0x106),'choices':[{'name':M(0x111),'value':'meteor'},{'name':M(0xe6),'value':M(0x10e)}]}),j=M(0x10d),k='basic-logout-page',l='basic-register-page',m=M(0xd4),n=M(0xfa),o=b['baseDir']?'/imports/ui/'+b[M(0xd9)]:M(0xfb),p=f['pathFromApp']({'pathParts':[o,b['dir'],kebabCase(j),kebabCase(j)]}),q=f[M(0xeb)]({'pathParts':[o,b[M(0xe1)],kebabCase(k),kebabCase(k)]}),r=f[M(0xeb)]({'pathParts':[o,b[M(0xe1)],kebabCase(l),kebabCase(l)]}),s=f[M(0xeb)]({'pathParts':[o,b['dir'],kebabCase(m),kebabCase(m)]}),t=f[M(0xeb)]({'pathParts':[o,b[M(0xe1)],kebabCase(n),kebabCase(n)]}),u={'name':capitalCase(c[M(0xe9)])};await f[M(0xdc)]({'srcPath':M(0xe5)+j+M(0xf2),'destPath':p+M(0xf2),'framework':M(0xdf),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0xdc)]({'srcPath':M(0xd6)+k+M(0xf2),'destPath':q+M(0xf2),'framework':'react','context':u,'config':c,'force':g,'ignore':![]}),await f['template']({'srcPath':M(0xf4)+l+M(0xf2),'destPath':r+'.js','framework':M(0xdf),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0xdc)]({'srcPath':M(0x110)+m+M(0xf2),'destPath':s+M(0xf2),'framework':'react','context':u,'config':c,'force':g,'ignore':![]}),await f['template']({'srcPath':M(0x103)+n+M(0xf2),'destPath':t+M(0xf2),'framework':'react','context':u,'config':c,'force':g,'ignore':![]});const v=''+o+b[M(0xe1)]+'/'+j+'/'+j;await f[M(0x108)](j,c,v);const w=''+o+b[M(0xe1)]+'/'+k+'/'+k;await f[M(0x108)](k,c,w);const x=''+o+b[M(0xe1)]+'/'+l+'/'+l;await f[M(0x108)](l,c,x);const y=''+o+b['dir']+'/'+m+'/'+m;await f['injectTemplateModule'](m,c,y);const z=''+o+b[M(0xe1)]+'/'+n+'/'+n;await f[M(0x108)](n,c,z),await a134e[M(0x101)](M(0xfc),[M(0x10d)],{'route':M(0xed),'cwd':h,'config':c}),await a134e[M(0x101)](M(0xfc),['basic-logout-page'],{'route':M(0x109),'private':!![],'cwd':h,'config':c}),await a134e[M(0x101)]('route',[M(0xdb)],{'route':'register','cwd':h,'config':c}),await a134e[M(0x101)]('route',[M(0xd4)],{'route':M(0xe4),'cwd':h,'config':c}),await a134e['processAndRunGenerator']('route',[M(0xfa)],{'route':M(0xcf),'cwd':h,'config':c});i===M(0xd8)&&await a134e[M(0x101)](M(0xe0),[],{'force':g,'cwd':h,'config':c});i==='custom'&&await a134e['processAndRunGenerator'](M(0x10a),[],{'force':g,'cwd':h,'config':c});const A=c[M(0xda)][M(0x10f)]===M(0xd8),B=c[M(0xda)]['js'],C=f['pathFromApp']({'pathParts':v[M(0xde)]('/')});await f[M(0x100)]({'filePath':C+'.'+B,'importName':M(0xf3),'modulePath':A?M(0xd2):M(0xd3),'isNamedExport':!![]});const D=f['pathFromApp']({'pathParts':w[M(0xde)]('/')});await f[M(0x100)]({'filePath':D+'.'+B,'importName':M(0xf3),'modulePath':A?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]});const E=f['pathFromApp']({'pathParts':x['split']('/')});await f[M(0x100)]({'filePath':E+'.'+B,'importName':M(0xf3),'modulePath':A?M(0xd2):M(0xd3),'isNamedExport':!![]});const F=f[M(0xeb)]({'pathParts':y[M(0xde)]('/')});await f[M(0x100)]({'filePath':F+'.'+B,'importName':M(0xf3),'modulePath':A?M(0xd2):M(0xd3),'isNamedExport':!![]});const G=f['pathFromApp']({'pathParts':z[M(0xde)]('/')});await f['injectImport']({'filePath':G+'.'+B,'importName':M(0xf3),'modulePath':A?M(0xd2):'/imports/startup/client/authentication-provider','isNamedExport':!![]});}catch(H){Log['error'](H),process[M(0xff)](0x1);}},async function(){const N=a134L;console[N(0x10c)]('Cleaning\x20up...');},a134f);export default a134f;function a134c(){const O=['basic-forgot-password-page','/imports/ui/pages/auth','route','13437ETlpJR','maka\x20generate:kit:mui:auth','exit','injectImport','processAndRunGenerator','findProjectDirectory','kit/mui/auth/forgot-password/','toString','maka\x20g:k:m:a','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','injectTemplateModule','logout','kit:auth:provider','apply','log','basic-login-page','custom','ssr','kit/mui/auth/password-reset/','Meteor\x20Accounts','forgot-password','create','auth','/imports/startup/lib/authentication-provider','/imports/startup/client/authentication-provider','basic-password-reset-page','MATERIAL','kit/mui/auth/logout/','select','meteor','baseDir','engines','basic-register-page','template','650274GfxBTo','split','react','kit:auth:meteor','dir','7DfpaEu','778936AgFcgb','reset-password/:token','kit/mui/auth/login/','Custom\x20(roll\x20your\x20own)','force','authType','appName','47877jDaXoe','pathFromApp','(((.+)+)+)+$','login','330YjIIro','750RkwsUT','search','REACT','.js','AuthContext','kit/mui/auth/register/','layouts','105164oiXICS','4855884jTAmhC','5ZRRhKU','334paLqpz'];a134c=function(){return O;};return a134c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a135G=a135d;(function(a,b){const E=a135d,c=a();while(!![]){try{const d=-parseInt(E(0x12d))/0x1*(-parseInt(E(0x153))/0x2)+-parseInt(E(0x13e))/0x3*(-parseInt(E(0x141))/0x4)+-parseInt(E(0x135))/0x5*(-parseInt(E(0x166))/0x6)+-parseInt(E(0x140))/0x7+-parseInt(E(0x156))/0x8*(-parseInt(E(0x133))/0x9)+-parseInt(E(0x13b))/0xa+-parseInt(E(0x138))/0xb*(parseInt(E(0x16c))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a135c,0x482ae));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(0x15f)]()[F(0x14e)]('(((.+)+)+)+$')['toString']()[F(0x168)](a135a)[F(0x14e)]('(((.+)+)+)+$');});a135a();function a135c(){const J=['3uYHMPh','findAppDirectory','1514492yxYySj','264412hccwMH','<Outlet\x20/>','Box','<Outlet/>','injectTemplateModule','react','jsx','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','log','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','\x20/>\x0a','maka:react-tracker','search','</div>','join','test','MATERIAL','2BdwWFB','-hook\x22>','maka\x20g:k:m:f','647336BfgMfg','meteor','kit/mui/frame/app-bars/','force','pathFromApp','@mui/material/Box','template','baseDir','maka\x20generate:kit:mui:frame','toString','injectIntoFile','tsx','getFiles','appName','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','Container','105978BUrxiu','ssr','constructor','basic-sticky-footer','basic-drawer','<div\x20id=\x22','24bIObmP','/imports/startup/lib/templates','/imports/ui/','length','checkbox','app-tests','checkMeteorPackage','getDirectories','Cleaning\x20up...','421094pJTtHb','layouts','/imports/startup/client/templates','injectAroundString','/imports/ui/components','.js','45yLJUTe','kit/mui/frame/drawers/','10WqZqKE','create','<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>','833844qCSioy','dir','frame','2635460ZMCURO','@mui/material/Container','injectImport'];a135c=function(){return J;};return a135c();}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a135e from'path';import a135f from'./mui.generator.js';function a135d(a,b){const c=a135c();return a135d=function(d,e){d=d-0x127;let f=c[d];return f;},a135d(a,b);}import{kebabCase,pascalCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a135G(0x136)]({'name':a135G(0x13a),'aliases':['f'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','shortDesc':a135G(0x148),'validOpts':[a135G(0x12e),'baseDir',a135G(0x139),a135G(0x159)],'isPro':![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a135G(0x152)],'client':ClientEngines['REACT']},'examples':[a135G(0x15e),a135G(0x155)],'description':a135G(0x14b)},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(0x16a),k=H(0x169),l=c['engines'][H(0x167)]===H(0x157);await f[H(0x12a)](['session',H(0x14d)],{'shouldInstall':!![]});const m=d[H(0x13f)](),n=a135e[H(0x150)](m,'imports','ui',H(0x12e)),o=d[H(0x12b)](n),p=o['map'](z=>({'name':z,'value':z})),q=await Actions[H(0x128)]({'message':H(0x14a),'name':H(0x12e),'choices':p});if(q[H(0x127)]===0x0){Log['error']('No\x20layouts\x20selected');return;}const r=b[H(0x15d)]?H(0x16e)+b[H(0x15d)]:H(0x131),s=g[H(0x15a)]({'pathParts':[r,b[H(0x139)],kebabCase(i),kebabCase(i)]}),t=g[H(0x15a)]({'pathParts':[r,b[H(0x139)],kebabCase(j),kebabCase(j)]}),u=g[H(0x15a)]({'pathParts':[r,b[H(0x139)],kebabCase(k),kebabCase(k)]}),v={'name':capitalCase(c[H(0x163)])};await g[H(0x15c)]({'srcPath':H(0x158)+i+'.js','destPath':s+H(0x132),'framework':H(0x146),'context':v,'config':c,'force':h,'ignore':![]}),await g['template']({'srcPath':H(0x134)+j+H(0x132),'destPath':t+'.js','framework':'react','context':v,'config':c,'force':h,'ignore':![]}),await g[H(0x15c)]({'srcPath':'kit/mui/frame/footers/'+k+'.js','destPath':u+H(0x132),'framework':'react','context':v,'config':c,'force':h,'ignore':![]});const w=''+r+b[H(0x139)]+'/'+i+'/'+i;await g[H(0x145)](i,c,w);const x=''+r+b[H(0x139)]+'/'+j+'/'+j;await g['injectTemplateModule'](j,c,x);const y=''+r+b['dir']+'/'+k+'/'+k;await g[H(0x145)](k,c,y);for(const z of q){const A=d[H(0x162)](a135e[H(0x150)](n,z),{'extensions':[H(0x147),H(0x161)],'omit':[H(0x129),'tests',H(0x151)]});for(const B of A){const C=a135e['join'](n,z,B);await g[H(0x13d)]({'filePath':C,'importName':H(0x143),'modulePath':H(0x15b),'isNamedExport':![]}),await g[H(0x13d)]({'filePath':C,'importName':H(0x165),'modulePath':H(0x13c),'isNamedExport':![]}),await g[H(0x13d)]({'filePath':C,'importName':pascalCase(i),'modulePath':l?H(0x16d):H(0x12f),'isNamedExport':!![]}),await g[H(0x160)]({'filePath':C,'content':'<'+pascalCase(i)+H(0x14c),'begin':[H(0x16b)+z+'\x22>',H(0x16b)+z+H(0x154)],'end':[H(0x144),'<Outlet\x20/>']}),await g[H(0x13d)]({'filePath':C,'importName':pascalCase(j),'modulePath':l?H(0x16d):H(0x12f),'isNamedExport':!![]}),await g[H(0x160)]({'filePath':C,'content':'<'+pascalCase(j)+H(0x14c),'begin':[H(0x16b)+z+'\x22>',H(0x16b)+z+'-hook\x22>'],'end':[H(0x144),H(0x142)]}),await g[H(0x160)]({'filePath':C,'content':'<'+pascalCase(k)+H(0x14c),'begin':[H(0x144),H(0x142)],'end':[H(0x14f)]}),await g[H(0x13d)]({'filePath':C,'importName':pascalCase(k),'modulePath':l?H(0x16d):H(0x12f),'isNamedExport':!![]}),await g[H(0x130)]({'filePath':C,'aboveContent':H(0x137),'belowContent':H(0x164),'targetString':['<Outlet/>',H(0x142)],'targetIndentAdjustment':0x6});}}}catch(D){Log['error'](D);}},async function(){const I=a135G;console[I(0x149)](I(0x12c));},a135f);
|