@maka/maka-cli 5.0.29 → 5.0.31
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 +2 -1
- package/bundle/obf/src/command.js +1 -1
- package/bundle/obf/src/commands/_index.js +1 -1
- package/bundle/obf/src/commands/ai.js +1 -1
- package/bundle/obf/src/commands/aws/_index.js +1 -1
- package/bundle/obf/src/commands/aws/aws.command.js +1 -1
- package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/build/_index.js +1 -1
- package/bundle/obf/src/commands/build/build.js +1 -1
- package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/create.js +1 -1
- package/bundle/obf/src/commands/debug.js +1 -1
- package/bundle/obf/src/commands/deploy/_index.js +1 -1
- package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
- package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/_index.js +1 -1
- package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/play.command.js +1 -1
- package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/generate.js +1 -1
- package/bundle/obf/src/commands/get/_index.js +1 -1
- package/bundle/obf/src/commands/get/get.command.js +1 -1
- package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/help.js +1 -1
- package/bundle/obf/src/commands/install.js +1 -1
- package/bundle/obf/src/commands/jsdoc.js +1 -1
- package/bundle/obf/src/commands/lint.js +1 -1
- package/bundle/obf/src/commands/login.js +1 -1
- package/bundle/obf/src/commands/logout.js +1 -1
- package/bundle/obf/src/commands/logs.js +1 -1
- package/bundle/obf/src/commands/maka.cmd.js +1 -1
- package/bundle/obf/src/commands/murder.js +1 -1
- package/bundle/obf/src/commands/profile.js +1 -1
- package/bundle/obf/src/commands/proxy.js +1 -1
- package/bundle/obf/src/commands/reconfig.js +1 -1
- package/bundle/obf/src/commands/register.js +1 -1
- package/bundle/obf/src/commands/run/_index.js +1 -1
- package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/run/run.command.js +1 -1
- package/bundle/obf/src/commands/set/_index.js +1 -1
- package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/set.command.js +1 -1
- package/bundle/obf/src/commands/ssh.js +1 -1
- package/bundle/obf/src/commands/ssl.js +1 -1
- package/bundle/obf/src/commands/test.js +1 -1
- package/bundle/obf/src/commands/undo.js +1 -1
- package/bundle/obf/src/commands/version.js +1 -1
- package/bundle/obf/src/error.js +1 -1
- package/bundle/obf/src/exec.js +1 -1
- package/bundle/obf/src/generator.js +1 -1
- package/bundle/obf/src/generators/_index.js +1 -1
- package/bundle/obf/src/generators/api.js +1 -1
- package/bundle/obf/src/generators/aws/_index.js +1 -1
- package/bundle/obf/src/generators/aws/aws.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
- package/bundle/obf/src/generators/collection.js +1 -1
- package/bundle/obf/src/generators/component.js +1 -1
- package/bundle/obf/src/generators/config.js +1 -1
- package/bundle/obf/src/generators/dbc.js +1 -1
- package/bundle/obf/src/generators/dockerfile.js +1 -1
- package/bundle/obf/src/generators/hook.js +1 -1
- package/bundle/obf/src/generators/kits/_index.js +1 -1
- package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
- package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
- package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
- package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
- package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
- package/bundle/obf/src/generators/kits/kit.js +1 -1
- package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
- package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
- package/bundle/obf/src/generators/layout.js +1 -1
- package/bundle/obf/src/generators/maka.gen.js +1 -1
- package/bundle/obf/src/generators/methods.js +1 -1
- package/bundle/obf/src/generators/package.js +1 -1
- package/bundle/obf/src/generators/page.js +1 -1
- package/bundle/obf/src/generators/publish.js +1 -1
- package/bundle/obf/src/generators/route.js +1 -1
- package/bundle/obf/src/generators/service.js +1 -1
- package/bundle/obf/src/generators/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/translation.js +1 -1
- package/bundle/obf/src/maka.js +1 -1
- package/bundle/obf/src/templates/meteor/api/apollo-gateway.js +2 -0
- package/bundle/obf/src/templates/meteor/api/apollo-gateway.js.ts +3 -1
- package/bundle/obf/src/templates/meteor/api/graphql-api.js +2 -0
- package/bundle/obf/src/templates/meteor/api/graphql-api.js.ts +2 -0
- package/bundle/obf/src/templates/service/eslint/babelrc +3 -0
- package/bundle/obf/src/templates/service/eslint/config.eslint.js +61 -0
- 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 +2 -1
- package/bundle/obf/src/templates/service/eslint/eslintrc.json +0 -54
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a117d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
(function(a,b){var f=a117d,c=a();while(!![]){try{var d=-parseInt(f(0x126))/0x1*(-parseInt(f(0x127))/0x2)+-parseInt(f(0x11e))/0x3*(-parseInt(f(0x12c))/0x4)+-parseInt(f(0x11c))/0x5*(-parseInt(f(0x11b))/0x6)+-parseInt(f(0x11d))/0x7*(parseInt(f(0x128))/0x8)+parseInt(f(0x124))/0x9*(-parseInt(f(0x129))/0xa)+parseInt(f(0x125))/0xb*(parseInt(f(0x122))/0xc)+parseInt(f(0x121))/0xd*(parseInt(f(0x120))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xd4e13));var a117b=(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;};}()),a117a=a117b(this,function(){var g=a117d;return a117a['toString']()[g(0x123)](g(0x12a))[g(0x11f)]()[g(0x12b)](a117a)[g(0x123)](g(0x12a));});a117a();import'./kit.js';import'./mui/_index.js';function a117c(){var h=['41206ncXeYd','1521913IlZhHw','2MvQYCH','4461112FkLrIQ','4399070PPpXsu','(((.+)+)+)+$','constructor','1288VIOslr','24YRESQq','57220aNfUGU','7OhScKf','7077nVJIxh','toString','2814NtQeHp','24388XJZPBo','144RzMkvs','search','27ojMflI'];a117c=function(){return h;};return a117c();}import'./esri/_index.js';function a117d(a,b){var c=a117c();return a117d=function(d,e){d=d-0x11b;var f=c[d];return f;},a117d(a,b);}import'./auth/_index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a118d,c=a();while(!![]){try{var d=-parseInt(f(0x198))/0x1*(parseInt(f(0x18f))/0x2)+-parseInt(f(0x19a))/0x3*(parseInt(f(0x192))/0x4)+-parseInt(f(0x19c))/0x5*(-parseInt(f(0x196))/0x6)+parseInt(f(0x194))/0x7+parseInt(f(0x191))/0x8*(-parseInt(f(0x195))/0x9)+-parseInt(f(0x19b))/0xa+parseInt(f(0x193))/0xb*(parseInt(f(0x190))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0xa98b0));function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x18e;var f=c[d];return f;},a118d(a,b);}function a118c(){var i=['1apuZiJ','constructor','3vDIkYH','3751600tjoKeW','5930ctHlxI','(((.+)+)+)+$','apply','691294nwKWuZ','6876elQVCw','89272hZZIXn','3807640HAgwls','46079zNjtkO','3822336sQTLnm','954ecHUcy','3054lzLYzV','search'];a118c=function(){return i;};return a118c();}var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x18e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a['toString']()['search'](h(0x19d))['toString']()[h(0x199)](a118a)[h(0x197)](h(0x19d));});a118a();import'./auth.generator.js';import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a119h=a119d;(function(a,b){const f=a119d,c=a();while(!![]){try{const d=parseInt(f(
|
|
1
|
+
const a119h=a119d;(function(a,b){const f=a119d,c=a();while(!![]){try{const d=parseInt(f(0xd3))/0x1*(-parseInt(f(0xd7))/0x2)+-parseInt(f(0xd9))/0x3*(parseInt(f(0xdd))/0x4)+-parseInt(f(0xe2))/0x5*(-parseInt(f(0xde))/0x6)+parseInt(f(0xdc))/0x7*(parseInt(f(0xda))/0x8)+parseInt(f(0xe6))/0x9*(-parseInt(f(0xdb))/0xa)+parseInt(f(0xe0))/0xb+-parseInt(f(0xe1))/0xc*(-parseInt(f(0xd8))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x601d1));function a119c(){const j=['NIE','(((.+)+)+)+$','maka\x20g:kit:a','9882xsKjCy','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','4hfJnDP','search','auth','toString','383316eEFRPh','65YhVJSf','21phneZe','16bKmDDX','4380LbGbvT','2184539oNljmT','165868crUpZQ','6KMbwlg','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','4714050IncSJq','1480200VMwzRq','1310260TurIBd'];a119c=function(){return j;};return a119c();}const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const g=a119d;return a119a[g(0xd6)]()[g(0xd4)](g(0xe4))[g(0xd6)]()['constructor'](a119a)['search']('(((.+)+)+)+$');});a119a();import{Generator}from'../../../generator.js';import a119e from'../kit.js';const AuthGen=Generator['create']({'name':a119h(0xd5),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','shortDesc':a119h(0xe7),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a119h(0xe5)],'description':a119h(0xdf)},async function(){const i=a119h;throw i(0xe3);},async function(){},a119e);function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0xd3;let f=c[d];return f;},a119d(a,b);}export default AuthGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a120v=a120d;(function(a,b){const s=a120d,c=a();while(!![]){try{const d
|
|
1
|
+
const a120v=a120d;(function(a,b){const s=a120d,c=a();while(!![]){try{const d=-parseInt(s(0x12b))/0x1+-parseInt(s(0x135))/0x2+parseInt(s(0x128))/0x3*(parseInt(s(0x119))/0x4)+parseInt(s(0x130))/0x5+parseInt(s(0x144))/0x6+-parseInt(s(0x126))/0x7*(-parseInt(s(0x154))/0x8)+-parseInt(s(0x122))/0x9*(parseInt(s(0x127))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x88331));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a120d;if(c){const e=c[t(0x11d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const u=a120d;return a120a['toString']()[u(0x12c)](u(0x141))[u(0x115)]()['constructor'](a120a)['search'](u(0x141));});a120a();function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x115;let f=c[d];return f;},a120d(a,b);}import a120e from'path';import{Generator}from'../../../generator.js';function a120c(){const x=['injectImport','findAppDirectory','45AyDeTz','AuthService','kit:auth:provider','engines','6561842YQcIQb','2585430sIhGIn','309xXfOxE','injectIntoCodeBlock','index','247529ZTrkfj','search','authentication-provider','/imports/startup/client/authentication-service','const\x20sendForgotPasswordEmail','3157080bcbgHI','exit','force','meteor','injectIntoFile','765508yXDtTC','export\x20const\x20AuthProvider','findProjectDirectory','/imports/startup/client','accounts-password','meteor/meteor','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','Accounts','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\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','authentication-service','meteor/maka:react-tracker','(((.+)+)+)+$','.js','const\x20registerNewUser','3117096OfbPyg','\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','const\x20authenticateToken','\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','create','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','pathFromApp','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','normalize','/imports/startup/lib','publish','react','processAndRunGenerator','server','const\x20authenticateUser','checkMeteorPackage','8btitwS','useTracker','template','\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','toString','/imports/startup/lib/authentication-service','meteor/accounts-base','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','15244zNzoTw','\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','auth/roles','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','apply','kit/auth/service/meteor-auth-service.js','Meteor'];a120c=function(){return x;};return a120c();}import{Log}from'../../../tools/log/log.class.js';import a120f from'./auth.generator.js';import a120g from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a120v(0x148)]({'name':a120v(0x133),'aliases':['m'],'usage':a120v(0x13b),'shortDesc':a120v(0x14b),'validOpts':[a120v(0x132)],'isPro':!![],'resourceNameRequired':![],'mustBeInMakaProject':!![],'requiredEngines':{'client':ClientEngines['REACT']},'description':a120v(0x11a)},async function(a,b){const w=a120v,{fsi:c,pkg:d,scaffold:f,projectConfig:g}=this;try{const h=b['force']||![];await d[w(0x153)]([w(0x139)],{'shouldInstall':!![]});const i=c[w(0x137)](),j=c[w(0x121)](),k=g[w(0x125)]['ssr']==='meteor';await a120g[w(0x150)](w(0x124),[],{'force':h,'cwd':i,'config':g}),await a120g[w(0x150)](w(0x14e),[w(0x11b)],{'force':h,'globalPublish':!![],'cwd':i,'config':g});const l=j+a120e[w(0x14c)]('/imports/startup/server/publications/auth/roles.js'),m=k?w(0x14d):w(0x138),n=f[w(0x14a)]({'pathParts':[m,'','',w(0x13f)]});await f[w(0x156)]({'srcPath':w(0x11e),'destPath':n+w(0x142),'framework':w(0x14f),'context':{},'config':g,'force':h,'ignore':![]});const o=f[w(0x14a)]({'pathParts':[m,'','',w(0x12d)]}),p=g['engines']['js'];await f[w(0x120)]({'filePath':o+'.'+p,'importName':w(0x123),'modulePath':k?w(0x116):w(0x12e),'isNamedExport':![]}),await f[w(0x129)]({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateUser(username,\x20password);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','begin':w(0x152),'replace':!![]}),await f[w(0x129)]({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateToken();\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','begin':w(0x146),'replace':!![]}),await f[w(0x129)]({'filePath':o+'.'+p,'content':w(0x145),'begin':'const\x20getUserAuthorizations','replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':w(0x149),'begin':'const\x20deauthenticateUser','replace':!![]}),await f[w(0x129)]({'filePath':o+'.'+p,'content':w(0x118),'begin':w(0x12f),'replace':!![]}),await f[w(0x129)]({'filePath':o+'.'+p,'content':w(0x11c),'begin':w(0x143),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':w(0x13d),'begin':'const\x20resetPasswordWithToken','replace':!![]});k&&(await f[w(0x120)]({'filePath':o+'.'+p,'importName':w(0x155),'modulePath':w(0x140),'isNamedExport':!![]}),await f[w(0x134)]({'filePath':o+'.'+p,'content':w(0x13e),'begin':w(0x136),'end':'useEffect\x5c('}));await f['injectImport']({'filePath':l,'importName':w(0x11f),'modulePath':w(0x13a),'isNamedExport':!![],'injectAtStart':!![]}),await f[w(0x129)]({'filePath':l,'content':w(0x147),'begin':'Meteor.publish','replace':!![]});const q=f[w(0x14a)]({'pathParts':['imports','startup',w(0x151),w(0x12a)]});await f[w(0x120)]({'filePath':q+'.'+p,'importName':w(0x13c),'modulePath':w(0x117),'isNamedExport':!![]}),await f[w(0x129)]({'filePath':q+'.'+p,'content':w(0x157),'begin':'Meteor.startup','replace':!![]});}catch(r){Log['error'](r),process[w(0x131)](0x1);}},async function(){},a120f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a121c(){const
|
|
1
|
+
function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0xb0;let f=c[d];return f;},a121d(a,b);}const a121w=a121d;(function(a,b){const u=a121d,c=a();while(!![]){try{const d=parseInt(u(0xd6))/0x1*(-parseInt(u(0xdf))/0x2)+parseInt(u(0xe0))/0x3*(parseInt(u(0xe1))/0x4)+-parseInt(u(0xc9))/0x5*(parseInt(u(0xc3))/0x6)+-parseInt(u(0xc2))/0x7*(-parseInt(u(0xd9))/0x8)+parseInt(u(0xb9))/0x9+-parseInt(u(0xc8))/0xa*(parseInt(u(0xc1))/0xb)+parseInt(u(0xcf))/0xc*(parseInt(u(0xbd))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x23487));function a121c(){const y=['Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','search','(((.+)+)+)+$','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','2WRcpDF','5262qQRUVt','92VyIcKA','pathFromApp','<AppRoutes\x20/>','/imports/startup/server/index','.js','template','injectAroundString','const\x20PrivateRoute','scaffold','<AppRoutes\x20history={history}/>','meteor','ssr','error','const\x20useAuth','1967886VZXMpl','injectIntoCodeBlock','/imports/startup/client/authentication-provider','provider','2171728xJInbj','\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useAuth();\x0a\x20\x20\x20\x20\x20\x20if\x20(loading)\x20return\x20<div>Loading...</div>;\x0a\x20\x20\x20\x20\x20\x20return\x20(currentUser)\x20?\x20<Outlet/>\x20:\x20<Navigate\x20to=\x22/login\x22\x20/>;\x0a\x20\x20\x20\x20\x20\x20','/imports/startup/client/index','create','13695zYAuPh','6349GjUdJz','5388RPhxgF','function\x20useAuth','kit/auth/provider/authentication-provider.js','/imports/startup/lib/authentication-provider','split','750UmhpYm','1340qvxjet','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','authentication-provider','react','\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','appName','24eyBqGI','AuthContext','/routes','\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','toString','injectImport','bright','133597BzYhzM','engines','exit','168ednfIy','force'];a121c=function(){return y;};return a121c();}const a121b=(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;};}()),a121a=a121b(this,function(){const v=a121d;return a121a[v(0xd3)]()[v(0xdc)](v(0xdd))['toString']()['constructor'](a121a)[v(0xdc)](v(0xdd));});a121a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a121e from'./auth.generator.js';import{capitalCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a121w(0xc0)]({'name':a121w(0xbc),'aliases':['p'],'usage':a121w(0xca),'shortDesc':a121w(0xdb),'validOpts':[a121w(0xda)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines['REACT']},'description':a121w(0xcd)},async function(a,b){const x=a121w;try{const c=b[x(0xda)]||![];Log[x(0xd5)](x(0xde));const {projectConfig:d}=this,f=d[x(0xd7)][x(0xb6)]===x(0xb5),g={'name':capitalCase(d[x(0xce)])},h=f?'/imports/startup/lib':'/imports/startup/client',i=this[x(0xb3)][x(0xe2)]({'pathParts':[h,'','',x(0xcb)]});await this[x(0xb3)][x(0xb0)]({'srcPath':x(0xc5),'destPath':i+x(0xe5),'framework':'react','context':g,'config':d,'force':c,'ignore':![]});const j=d[x(0xd7)]['js'],k=h+x(0xd1),l=k['split']('/'),m=this['scaffold'][x(0xe2)]({'pathParts':l});await this[x(0xb3)][x(0xd4)]({'filePath':m+'.'+j,'importName':x(0xd0),'modulePath':f?x(0xc6):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[x(0xb3)]['injectImport']({'filePath':m+'.'+j,'importName':'useContext','modulePath':x(0xcc),'isNamedExport':!![],'injectAtStart':!![]}),await this['scaffold'][x(0xba)]({'filePath':m+'.'+j,'content':x(0xd2),'begin':[x(0xb8),x(0xc4)],'replace':!![]}),await this[x(0xb3)][x(0xba)]({'filePath':m+'.'+j,'content':x(0xbe),'begin':[x(0xb2)],'replace':!![]});const n=x(0xbf),o=n['split']('/'),p=this[x(0xb3)][x(0xe2)]({'pathParts':o});await this[x(0xb3)]['injectImport']({'filePath':p+'.'+j,'importName':'AuthProvider','modulePath':f?x(0xc6):x(0xbb),'isNamedExport':!![]}),await this[x(0xb3)]['injectAroundString']({'filePath':p+'.'+j,'aboveContent':'<AuthProvider>','belowContent':'</AuthProvider>','targetString':x(0xe3),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=x(0xe4),r=q[x(0xc7)]('/'),s=this[x(0xb3)]['pathFromApp']({'pathParts':r});await this[x(0xb3)]['injectImport']({'filePath':s+'.'+j,'importName':'AuthProvider','modulePath':f?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[x(0xb3)][x(0xb1)]({'filePath':s+'.'+j,'aboveContent':'<AuthProvider>','belowContent':'</AuthProvider>','targetString':x(0xb4),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[x(0xb7)](t),process[x(0xd8)](0x1);}},async function(){},a121e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a122d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a122d,c=a();while(!![]){try{var d=-parseInt(f(0x15f))/0x1*(parseInt(f(0x15a))/0x2)+-parseInt(f(0x15c))/0x3+-parseInt(f(0x167))/0x4+-parseInt(f(0x159))/0x5*(parseInt(f(0x162))/0x6)+parseInt(f(0x15e))/0x7*(-parseInt(f(0x158))/0x8)+parseInt(f(0x15b))/0x9*(parseInt(f(0x165))/0xa)+parseInt(f(0x166))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xdf277));function a122d(a,b){var c=a122c();return a122d=function(d,e){d=d-0x158;var f=c[d];return f;},a122d(a,b);}function a122c(){var i=['apply','toString','830gBltAe','71679938DkcCvR','7157372OxMmRI','556152tAfUUD','178610kDqDla','2442112AWWyfo','79515NHkpKF','3890313UUNwFF','search','28uMATlT','1UbZEAI','(((.+)+)+)+$','constructor','294OLyQuY'];a122c=function(){return i;};return a122c();}var a122b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a122d;if(c){var e=c[g(0x163)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){var h=a122d;return a122a[h(0x164)]()[h(0x15d)](h(0x160))['toString']()[h(0x161)](a122a)[h(0x15d)](h(0x160));});a122a();import'./esri.generator.js';import'./map.esri.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a123i=a123d;(function(a,b){const f=a123d,c=a();while(!![]){try{const d=-parseInt(f(0x114))/0x1+-parseInt(f(0x109))/0x2*(parseInt(f(0x113))/0x3)+-parseInt(f(0x104))/0x4*(parseInt(f(0x10b))/0x5)+parseInt(f(0x103))/0x6+-parseInt(f(0x111))/0x7+parseInt(f(0x116))/0x8+parseInt(f(0x10e))/0x9*(parseInt(f(0x10d))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x210e0));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a123d;if(c){const e=c[g(0x105)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const h=a123d;return a123a['toString']()[h(0x10a)](h(0x110))[h(0x10f)]()[h(0x115)](a123a)[h(0x10a)](h(0x110));});a123a();import{Generator}from'../../../generator.js';function a123c(){const k=['9900RBJrJe','toString','(((.+)+)+)+$','176554gUZdeg','esri','405063qqlytT','156544dGJYjT','constructor','1588992NnYjcB','/foo','330570PtpdpQ','212Jqaebi','apply','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','create','/foo/bar','4tbICyC','search','20115ooIrcp','Esri\x20Kit\x20generated\x20successfully','4970Jmgcxo'];a123c=function(){return k;};return a123c();}import a123e from'../kit.js';const EsriGen=Generator[a123i(0x107)]({'name':a123i(0x112),'aliases':['e'],'usage':a123i(0x106),'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(){const j=a123i;return{'success':!![],'message':j(0x10c),'details':{'filesCreated':[j(0x108)],'filesUpdated':[j(0x102)]}};},async function(){},a123e);function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x102;let f=c[d];return f;},a123d(a,b);}export default EsriGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a124v=a124d;(function(a,b){const s=a124d,c=a();while(!![]){try{const d
|
|
1
|
+
const a124v=a124d;(function(a,b){const s=a124d,c=a();while(!![]){try{const d=-parseInt(s(0x11b))/0x1+-parseInt(s(0x12a))/0x2+parseInt(s(0x11e))/0x3*(parseInt(s(0x10b))/0x4)+parseInt(s(0x12e))/0x5*(parseInt(s(0x132))/0x6)+parseInt(s(0x128))/0x7*(-parseInt(s(0x115))/0x8)+parseInt(s(0x121))/0x9+parseInt(s(0x10d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x6d083));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a124d;if(c){const e=c[t(0x11d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const u=a124d;return a124a[u(0x111)]()[u(0x125)](u(0x10f))[u(0x111)]()[u(0x129)](a124a)[u(0x125)](u(0x10f));});a124a();function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x10a;let f=c[d];return f;},a124d(a,b);}function a124c(){const x=['dir','312123xEhwlH','constructor','1238726AoVeZB','<div\x20id=\x22map\x22>','exit','injectImport','5zqTSck','template','\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','react','2093892VOhpRk','.js','188EuArnx','create','5201250Amoglj','pathFromApp','(((.+)+)+)+$','basic-map','toString','/imports/startup/lib/templates','baseDir','REACT','152MJChOi','Generating\x20a\x20map\x20component','esri-loader','/imports/ui/hooks','engines','split','317093MLNVKi','page','apply','55290XaVNvs','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','kit/esri/map/','4454325jFqYHJ','NONE','processAndRunGenerator','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','search','map'];a124c=function(){return x;};return a124c();}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a124e from'./esri.generator.js';import a124f from'../../../generators/maka.gen.js';import{kebabCase,capitalCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a124v(0x10c)]({'name':a124v(0x126),'aliases':['m'],'usage':a124v(0x124),'shortDesc':'Generate\x20an\x20Esri\x20map\x20component','validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a124v(0x114)],'ssr':SsrEngines[a124v(0x122)]},'description':a124v(0x130)},async function(a,b){const w=a124v;try{const {projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;Log['bright'](w(0x116));const h=w(0x110);await f['checkNpmPackage'](['@esri/react-arcgis',w(0x117)],{'shouldInstall':!![]});const i=d['findProjectDirectory'](),j=c[w(0x119)]['ssr']==='meteor',k=await a124f[w(0x123)](w(0x11c),[w(0x126)],{'cwd':i,'config':c}),l={'name':capitalCase(c['appName'])['replaceAll']('-','\x20'),'componentName':pascalCase(h)},m=b[w(0x113)]?'/imports/ui/'+b[w(0x113)]:w(0x118),n=g[w(0x10e)]({'pathParts':[m,b[w(0x127)],kebabCase(h),kebabCase(h)]});await g[w(0x12f)]({'srcPath':w(0x120)+h+'.js','destPath':n+w(0x10a),'framework':w(0x131),'context':l,'config':c,'force':![],'ignore':![]});const o=''+m+b[w(0x127)]+'/'+h+'/'+h;await g['injectTemplateModule'](h,c,o);const p=k[w(0x11a)]('/'),q=g['pathFromApp']({'pathParts':p});await g[w(0x12d)]({'filePath':q,'importName':pascalCase(h),'modulePath':j?w(0x112):'/imports/startup/client/templates','isNamedExport':!![]}),await g['injectIntoFile']({'filePath':q,'content':'\x0a<'+pascalCase(h)+w(0x11f),'begin':[w(0x12b),w(0x12b)],'end':['</div>'],'replace':!![]});}catch(r){Log['error'](r),process[w(0x12c)](0x1);}},async function(){},a124e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a125i=a125d;(function(a,b){const f=a125d,c=a();while(!![]){try{const d=parseInt(f(
|
|
1
|
+
const a125i=a125d;(function(a,b){const f=a125d,c=a();while(!![]){try{const d=parseInt(f(0x1bd))/0x1*(parseInt(f(0x1c0))/0x2)+parseInt(f(0x1c3))/0x3+-parseInt(f(0x1b9))/0x4+parseInt(f(0x1b7))/0x5+-parseInt(f(0x1bc))/0x6+parseInt(f(0x1b3))/0x7+parseInt(f(0x1b6))/0x8*(-parseInt(f(0x1ba))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x81f1b));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a125d;if(c){const e=c[g(0x1b5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const h=a125d;return a125a[h(0x1bb)]()[h(0x1c2)](h(0x1b8))[h(0x1bb)]()['constructor'](a125a)['search'](h(0x1b8));});function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x1b3;let f=c[d];return f;},a125d(a,b);}a125a();import{Generator}from'../../generator.js';const KitGen=Generator[a125i(0x1c1)]({'name':a125i(0x1b4),'aliases':['k'],'usage':'maka\x20{generate,\x20g}:{kit}\x20<name>','shortDesc':a125i(0x1bf),'minArgLength':0x1,'isPro':!![],'validOpts':[],'resourceNameRequired':![],'examples':[a125i(0x1be),'maka\x20g:k']},async function(){});export default KitGen;function a125c(){const j=['create','search','1513446wCkaPz','6787662QsRSIn','kit','apply','743592LlHaps','1862330HucHkk','(((.+)+)+)+$','1307272GuoDyH','81hzkrhX','toString','3846750PaZXed','1zTbMrv','maka\x20g:kit','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','980242zruYhY'];a125c=function(){return j;};return a125c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a126d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
(function(a,b){var f=a126d,c=a();while(!![]){try{var d=-parseInt(f(0x97))/0x1*(-parseInt(f(0x9a))/0x2)+-parseInt(f(0x93))/0x3*(parseInt(f(0x9e))/0x4)+-parseInt(f(0x9d))/0x5*(-parseInt(f(0x92))/0x6)+parseInt(f(0x98))/0x7+parseInt(f(0x94))/0x8+parseInt(f(0x96))/0x9+parseInt(f(0x91))/0xa*(-parseInt(f(0x99))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x8cbbe));var a126b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a126d;if(c){var e=c[g(0x95)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){var h=a126d;return a126a['toString']()[h(0x9f)](h(0x9b))[h(0x9c)]()['constructor'](a126a)[h(0x9f)](h(0x9b));});a126a();import'./mui.generator.js';function a126d(a,b){var c=a126c();return a126d=function(d,e){d=d-0x91;var f=c[d];return f;},a126d(a,b);}function a126c(){var i=['apply','7255134IvJjYT','3479IWweZR','3823372WQcAIo','22ZVMxcU','214JvnWgP','(((.+)+)+)+$','toString','570eJZwEa','15852IeDgKL','search','14373230GNdAYf','58674cxoqid','123VNBVBX','6193552USUgsw'];a126c=function(){return i;};return a126c();}import'./frame.mui.gen.js';import'./auth.mui.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a127K=a127d;function a127c(){const N=['basic-password-reset-page','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','baseDir','REACT','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{auth,\x20a}','50oMcHeT','1893864zrsoLh','forgot-password','exit','toString','47025nLCKUf','custom','error','125079yRInay','kit/mui/auth/register/','findProjectDirectory','/imports/ui/','injectImport','reset-password/:token','engines','logout','layouts','injectTemplateModule','basic-register-page','split','Cleaning\x20up...','kit:auth:provider','template','MATERIAL','basic-forgot-password-page','dir','maka\x20generate:kit:mui:auth','1580460dlncbg','maka\x20g:k:m:a','meteor','230BRLXYR','select','AuthContext','pathFromApp','kit/mui/auth/forgot-password/','processAndRunGenerator','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20setup\x20with\x20login,\x20logout,\x20registration,\x20and\x20password\x20reset\x20pages.\x0a\x20\x20','basic-login-page','58516uMTvaq','kit/mui/auth/password-reset/','basic-logout-page','8gdmOcN','(((.+)+)+)+$','route','Meteor\x20Accounts','510056ZyRTKE','.js','auth','appName','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','/imports/ui/pages/auth','react','kit/mui/auth/logout/','search','208503nradBf','login','/imports/startup/lib/authentication-provider','/imports/startup/client/authentication-provider','kit:auth:meteor'];a127c=function(){return N;};return a127c();}(function(a,b){const I=a127d,c=a();while(!![]){try{const d=parseInt(I(0xf6))/0x1+-parseInt(I(0xde))/0x2+-parseInt(I(0xf9))/0x3+-parseInt(I(0xd7))/0x4*(parseInt(I(0xf1))/0x5)+-parseInt(I(0x10c))/0x6+-parseInt(I(0xf2))/0x7*(-parseInt(I(0xda))/0x8)+-parseInt(I(0xe7))/0x9*(-parseInt(I(0x10f))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x2327d));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 J=a127d;return a127a[J(0xf5)]()[J(0xe6)](J(0xdb))[J(0xf5)]()['constructor'](a127a)[J(0xe6)](J(0xdb));});a127a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a127e from'../../../generators/maka.gen.js';import a127f from'./mui.generator.js';import{kebabCase,capitalCase}from'change-case';function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0xd7;let f=c[d];return f;},a127d(a,b);}import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a127K(0xe0),'aliases':['a'],'usage':a127K(0xf0),'shortDesc':a127K(0xe2),'validOpts':[a127K(0x101),'force'],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a127K(0x108)],'client':ClientEngines[a127K(0xef)]},'examples':[a127K(0x10b),a127K(0x10d)],'description':a127K(0x115)},async function(a,b){const L=a127K;try{const {projectConfig:c,fsi:d,scaffold:f}=this,g=b['force']||![],h=d[L(0xfb)](),i=await Actions[L(0x110)]({'name':'authType','message':L(0xed),'choices':[{'name':L(0xdd),'value':L(0x10e)},{'name':'Custom\x20(roll\x20your\x20own)','value':L(0xf7)}]}),j=L(0x116),k=L(0xd9),l=L(0x103),m=L(0xec),n=L(0x109),o=b[L(0xee)]?L(0xfc)+b[L(0xee)]:L(0xe3),p=f[L(0x112)]({'pathParts':[o,b['dir'],kebabCase(j),kebabCase(j)]}),q=f[L(0x112)]({'pathParts':[o,b[L(0x10a)],kebabCase(k),kebabCase(k)]}),r=f[L(0x112)]({'pathParts':[o,b[L(0x10a)],kebabCase(l),kebabCase(l)]}),s=f[L(0x112)]({'pathParts':[o,b[L(0x10a)],kebabCase(m),kebabCase(m)]}),t=f[L(0x112)]({'pathParts':[o,b['dir'],kebabCase(n),kebabCase(n)]}),u={'name':capitalCase(c[L(0xe1)])};await f[L(0x107)]({'srcPath':'kit/mui/auth/login/'+j+L(0xdf),'destPath':p+L(0xdf),'framework':L(0xe4),'context':u,'config':c,'force':g,'ignore':![]}),await f[L(0x107)]({'srcPath':L(0xe5)+k+L(0xdf),'destPath':q+L(0xdf),'framework':L(0xe4),'context':u,'config':c,'force':g,'ignore':![]}),await f['template']({'srcPath':L(0xfa)+l+'.js','destPath':r+L(0xdf),'framework':'react','context':u,'config':c,'force':g,'ignore':![]}),await f['template']({'srcPath':L(0xd8)+m+L(0xdf),'destPath':s+L(0xdf),'framework':L(0xe4),'context':u,'config':c,'force':g,'ignore':![]}),await f[L(0x107)]({'srcPath':L(0x113)+n+L(0xdf),'destPath':t+L(0xdf),'framework':L(0xe4),'context':u,'config':c,'force':g,'ignore':![]});const v=''+o+b[L(0x10a)]+'/'+j+'/'+j;await f[L(0x102)](j,c,v);const w=''+o+b[L(0x10a)]+'/'+k+'/'+k;await f[L(0x102)](k,c,w);const x=''+o+b[L(0x10a)]+'/'+l+'/'+l;await f['injectTemplateModule'](l,c,x);const y=''+o+b[L(0x10a)]+'/'+m+'/'+m;await f['injectTemplateModule'](m,c,y);const z=''+o+b[L(0x10a)]+'/'+n+'/'+n;await f[L(0x102)](n,c,z),await a127e['processAndRunGenerator']('route',[L(0x116)],{'route':L(0xe8),'cwd':h,'config':c}),await a127e[L(0x114)](L(0xdc),[L(0xd9)],{'route':L(0x100),'private':!![],'cwd':h,'config':c}),await a127e[L(0x114)](L(0xdc),['basic-register-page'],{'route':'register','cwd':h,'config':c}),await a127e[L(0x114)]('route',[L(0xec)],{'route':L(0xfe),'cwd':h,'config':c}),await a127e[L(0x114)](L(0xdc),['basic-forgot-password-page'],{'route':L(0xf3),'cwd':h,'config':c});i==='meteor'&&await a127e[L(0x114)](L(0xeb),[],{'force':g,'cwd':h,'config':c});i===L(0xf7)&&await a127e[L(0x114)](L(0x106),[],{'force':g,'cwd':h,'config':c});const A=c[L(0xff)]['ssr']===L(0x10e),B=c['engines']['js'],C=f['pathFromApp']({'pathParts':v[L(0x104)]('/')});await f[L(0xfd)]({'filePath':C+'.'+B,'importName':'AuthContext','modulePath':A?L(0xe9):L(0xea),'isNamedExport':!![]});const D=f[L(0x112)]({'pathParts':w[L(0x104)]('/')});await f['injectImport']({'filePath':D+'.'+B,'importName':'AuthContext','modulePath':A?L(0xe9):L(0xea),'isNamedExport':!![]});const E=f[L(0x112)]({'pathParts':x[L(0x104)]('/')});await f[L(0xfd)]({'filePath':E+'.'+B,'importName':L(0x111),'modulePath':A?'/imports/startup/lib/authentication-provider':L(0xea),'isNamedExport':!![]});const F=f[L(0x112)]({'pathParts':y[L(0x104)]('/')});await f[L(0xfd)]({'filePath':F+'.'+B,'importName':'AuthContext','modulePath':A?L(0xe9):L(0xea),'isNamedExport':!![]});const G=f[L(0x112)]({'pathParts':z['split']('/')});await f['injectImport']({'filePath':G+'.'+B,'importName':'AuthContext','modulePath':A?L(0xe9):L(0xea),'isNamedExport':!![]});}catch(H){Log[L(0xf8)](H),process[L(0xf4)](0x1);}},async function(){const M=a127K;console['log'](M(0x105));},a127f);export default a127f;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a128H=a128d;(function(a,b){const E=a128d,c=a();while(!![]){try{const d=parseInt(E(0x139))/0x1+-parseInt(E(0x143))/0x2*(-parseInt(E(0x14b))/0x3)+parseInt(E(0x144))/0x4*(parseInt(E(0x162))/0x5)+-parseInt(E(0x13a))/0x6*(parseInt(E(0x135))/0x7)+parseInt(E(0x14a))/0x8+-parseInt(E(0x148))/0x9+parseInt(E(0x156))/0xa*(-parseInt(E(0x146))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0xc706e));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const F=a128d;if(c){const e=c[F(0x153)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const G=a128d;return a128a[G(0x147)]()['search'](G(0x168))[G(0x147)]()['constructor'](a128a)['search']('(((.+)+)+)+$');});a128a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';function a128c(){const K=['injectIntoFile','force','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','<Outlet/>','(((.+)+)+)+$','/imports/ui/components','<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>','baseDir','getFiles','test','/imports/startup/lib/templates','kit/mui/frame/footers/','</div>','kit/mui/frame/drawers/','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','/imports/startup/client/templates','.js','template','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','basic-sticky-footer','-hook\x22>','Cleaning\x20up...','maka:react-tracker','app-tests','create','REACT','@mui/material/Container','410788fXwqWb','jsx','checkMeteorPackage','react','1438318eAPwXY','42PLCBHE','appName','getDirectories','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','injectTemplateModule','MATERIAL','checkbox','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','dir','2QLcQVM','36HhyBDN','engines','11RhMwzr','toString','1999827oItIPZ','join','3289576wRjIBV','4686261NHRfAu','/imports/ui/','No\x20layouts\x20selected','<Outlet\x20/>','pathFromApp','maka\x20generate:kit:mui:frame','ssr','injectAroundString','apply','\x20/>\x0a','map','26523920LCEslj','findAppDirectory','frame','@mui/material/Box','error','injectImport','tests','length','kit/mui/frame/app-bars/','layouts','imports','Container','382775NYjQtF','<div\x20id=\x22'];a128c=function(){return K;};return a128c();}import a128e from'path';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x130;let f=c[d];return f;},a128d(a,b);}import a128f from'./mui.generator.js';import{kebabCase,pascalCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a128H(0x132)]({'name':a128H(0x158),'aliases':['f'],'usage':a128H(0x141),'shortDesc':a128H(0x172),'validOpts':['layouts','baseDir',a128H(0x142),'force'],'isPro':![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a128H(0x13f)],'client':ClientEngines[a128H(0x133)]},'examples':[a128H(0x150),'maka\x20g:k:m:f'],'description':a128H(0x176)},async function(a,b){const I=a128H,{projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;try{const h=b[I(0x165)]||![],i='basic-app-bar',j='basic-drawer',k=I(0x177),l=c[I(0x145)][I(0x151)]==='meteor';await f[I(0x137)](['session',I(0x130)],{'shouldInstall':!![]});const m=d[I(0x157)](),n=a128e[I(0x149)](m,I(0x160),'ui',I(0x15f)),o=d[I(0x13c)](n),p=o[I(0x155)](z=>({'name':z,'value':z})),q=await Actions[I(0x140)]({'message':I(0x13d),'name':I(0x15f),'choices':p});if(q[I(0x15d)]===0x0){Log[I(0x15a)](I(0x14d));return;}const r=b[I(0x16b)]?I(0x14c)+b[I(0x16b)]:I(0x169),s=g['pathFromApp']({'pathParts':[r,b['dir'],kebabCase(i),kebabCase(i)]}),t=g[I(0x14f)]({'pathParts':[r,b[I(0x142)],kebabCase(j),kebabCase(j)]}),u=g[I(0x14f)]({'pathParts':[r,b[I(0x142)],kebabCase(k),kebabCase(k)]}),v={'name':capitalCase(c[I(0x13b)])};await g[I(0x175)]({'srcPath':I(0x15e)+i+I(0x174),'destPath':s+I(0x174),'framework':I(0x138),'context':v,'config':c,'force':h,'ignore':![]}),await g[I(0x175)]({'srcPath':I(0x171)+j+I(0x174),'destPath':t+I(0x174),'framework':I(0x138),'context':v,'config':c,'force':h,'ignore':![]}),await g[I(0x175)]({'srcPath':I(0x16f)+k+'.js','destPath':u+I(0x174),'framework':I(0x138),'context':v,'config':c,'force':h,'ignore':![]});const w=''+r+b['dir']+'/'+i+'/'+i;await g['injectTemplateModule'](i,c,w);const x=''+r+b[I(0x142)]+'/'+j+'/'+j;await g[I(0x13e)](j,c,x);const y=''+r+b[I(0x142)]+'/'+k+'/'+k;await g['injectTemplateModule'](k,c,y);for(const z of q){const A=d[I(0x16c)](a128e['join'](n,z),{'extensions':[I(0x136),'tsx'],'omit':[I(0x131),I(0x15c),I(0x16d)]});for(const B of A){const C=a128e[I(0x149)](n,z,B);await g['injectImport']({'filePath':C,'importName':'Box','modulePath':I(0x159),'isNamedExport':![]}),await g[I(0x15b)]({'filePath':C,'importName':I(0x161),'modulePath':I(0x134),'isNamedExport':![]}),await g['injectImport']({'filePath':C,'importName':pascalCase(i),'modulePath':l?I(0x16e):I(0x173),'isNamedExport':!![]}),await g[I(0x164)]({'filePath':C,'content':'<'+pascalCase(i)+I(0x154),'begin':['<div\x20id=\x22'+z+'\x22>','<div\x20id=\x22'+z+I(0x178)],'end':[I(0x167),'<Outlet\x20/>']}),await g[I(0x15b)]({'filePath':C,'importName':pascalCase(j),'modulePath':l?I(0x16e):I(0x173),'isNamedExport':!![]}),await g[I(0x164)]({'filePath':C,'content':'<'+pascalCase(j)+I(0x154),'begin':[I(0x163)+z+'\x22>',I(0x163)+z+I(0x178)],'end':[I(0x167),I(0x14e)]}),await g[I(0x164)]({'filePath':C,'content':'<'+pascalCase(k)+I(0x154),'begin':[I(0x167),I(0x14e)],'end':[I(0x170)]}),await g['injectImport']({'filePath':C,'importName':pascalCase(k),'modulePath':l?I(0x16e):I(0x173),'isNamedExport':!![]}),await g[I(0x152)]({'filePath':C,'aboveContent':I(0x16a),'belowContent':I(0x166),'targetString':[I(0x167),I(0x14e)],'targetIndentAdjustment':0x6});}}}catch(D){Log[I(0x15a)](D);}},async function(){const J=a128H;console['log'](J(0x179));},a128f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a129j=a129d;(function(a,b){const g=a129d,c=a();while(!![]){try{const d=parseInt(g(0x7c))/0x1+parseInt(g(0x8b))/0x2*(-parseInt(g(0x7e))/0x3)+-parseInt(g(0x6e))/0x4+-parseInt(g(0x86))/0x5*(-parseInt(g(0x89))/0x6)+parseInt(g(0x8a))/0x7+-parseInt(g(0x84))/0x8+-parseInt(g(0x76))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xe2cf5));function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x6d;let f=c[d];return f;},a129d(a,b);}const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a129d;if(c){const e=c[h(0x6f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const i=a129d;return a129a[i(0x87)]()[i(0x77)](i(0x81))[i(0x87)]()[i(0x82)](a129a)[i(0x77)](i(0x81));});a129a();function a129c(){const l=['5934807YnzRUn','search','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','Material-UI\x20Kit','fsi','kit:mui:frame','909493eVRtqa','findProjectDirectory','64167uRxHFi','No\x20MUI\x20kits\x20selected.\x20Exiting.','notice','(((.+)+)+)+$','constructor','create','13651936cIibUI','error','7299180qZWmqx','toString','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','6DvTqbR','11170061AtPhZo','28mrEzmE','processAndRunGenerator','1482712vQMcEI','apply','exit','length','getMakaProjectConfig','info','mui','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?'];a129c=function(){return l;};return a129c();}import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a129e from'../../../generators/maka.gen.js';import a129f from'../kit.js';const MuiGen=Generator[a129j(0x83)]({'name':a129j(0x74),'aliases':['m'],'usage':a129j(0x78),'resourceNameRequired':![],'shortDesc':a129j(0x79),'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:m']},async function(){const k=a129j;try{Log[k(0x73)](k(0x88)),Log[k(0x80)]('\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&####%&@@@@@@@@@@@@@@@@@@@&&%###&@@@@@@&%###%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#(((((##%&&@@@@@@@@@&&%%#(((((#&@@@@@&#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((#%&&@&&%##(((((((((#&@@@@&&#((##%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((((((#((((((((((((((#&@@@@@&%&&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#%%%%##((((((((#%%&%#((((#&@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@&&%###%%&@@@@&#((((#&@@@@@@@@&&&&@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@@@&#((((#&@@@@@&%#(((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@&%##((((#&@@@@&%#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&%#(((#&&@@@@@@@@@&&%##(((((((#%&@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@&%#%&@@@@@@@@&#((((((((##%&@@@@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((%&@@@@@@@@@&%#((((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((#%%&@@&&%##((((((((#%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@&%%#((((((((##((((((((##%&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&%##(((((((((##%&@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&%##(#%&&@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a\x0a\x20\x20This\x20generator\x20will\x20help\x20you\x20add\x20MUI\x20to\x20your\x20project.\x0a\x20\x20Choose\x20from\x20a\x20selection\x20of\x20premade\x20MUI\x20components.\x0a\x20\x20');const a=await Actions['checkbox']({'message':k(0x75),'name':'kitChoices','choices':[{'name':'Header,\x20Footer,\x20and\x20Drawer','value':'frame'},{'name':'Auth\x20workflow\x20(login,\x20logout,\x20etc.)','value':'auth'}]}),b=this[k(0x7a)][k(0x7d)](),c=this['cfg'][k(0x72)]();a['includes']('frame')&&await a129e[k(0x6d)](k(0x7b),[],{'force':!![],'cwd':b,'config':c});a['includes']('auth')&&await a129e[k(0x6d)]('kit:mui:auth',[],{'force':!![],'cwd':b,'config':c});if(a[k(0x71)]===0x0){Log[k(0x73)](k(0x7f));return;}}catch(d){Log[k(0x85)](d),process[k(0x70)](0x1);}},async function(){},a129f);export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a130s=a130d;(function(a,b){const p=a130d,c=a();while(!![]){try{const d=parseInt(p(0xbb))/0x1*(parseInt(p(0xc5))/0x2)+parseInt(p(0xa7))/0x3+parseInt(p(0xb8))/0x4*(-parseInt(p(0xa6))/0x5)+parseInt(p(0xc1))/0x6*(parseInt(p(0xcf))/0x7)+-parseInt(p(0xa0))/0x8*(parseInt(p(0xbf))/0x9)+-parseInt(p(0xa9))/0xa+parseInt(p(0xb7))/0xb*(parseInt(p(0x99))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x7af4b));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a130d;if(c){const e=c[q(0xb4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const r=a130d;return a130a[r(0xcd)]()['search'](r(0xac))[r(0xcd)]()[r(0xa8)](a130a)[r(0xaa)](r(0xac));});a130a();import a130e from'path';import{Generator}from'../generator.js';function a130c(){const u=['2hHAhym','findProjectDirectory','maka\x20g:layout\x20mobile/iPhone8','maka\x20g:l\x20web/safari','string','create','test','relative','toString','template','35JXtFKz','react','withHooks','24KGrkpy','includes','api','resourceName','css','features','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','48Syqjhk','import\x20\x27./','engines','none','split','.css','430bmKadl','393021fyOaMb','constructor','885490SLekGu','search','fileName','(((.+)+)+)+$','dir','setTemplate','assign','hook/hook.js','component/component.js','injectAtBeginningOfFile','findAppDirectory','apply','/imports/ui/layouts','withHook','7959226HfvxET','36296uDVFpl','.app-tests.js','ssr','152543mYCrbc','pathFromApp','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','template/template.css','733608eOQmpf','warn','157116XnyDid','ramda','.js','injectTemplateModule'];a130c=function(){return u;};return a130c();}function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x98;let f=c[d];return f;},a130d(a,b);}import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';const aliases=['l'];Generator[a130s(0xca)]({'name':'layout','aliases':aliases,'usage':a130s(0xbd),'shortDesc':'Scaffolding\x20for\x20a\x20React\x20Layout.','validOpts':[a130s(0xb6)],'mustBeInMakaProject':!![],'examples':[a130s(0xc7),a130s(0xc8)]},async function(a,b){const t=a130s,{projectConfig:c,fsi:d,cfg:e,pkg:f,scaffold:g}=this,h=t(0xb5),i=d[t(0xb3)](),j=g[t(0xbc)]({'pathParts':[h,b[t(0xad)],kebabCase(b[t(0x9c)]),kebabCase(b[t(0x9c)])]});typeof c[t(0xce)][t(0xcb)]==='string'&&e[t(0xae)](t(0xcb),c[t(0xce)][t(0xcb)]);typeof c[t(0xce)]['css']===t(0xc9)&&e['setTemplate'](t(0x9d),c[t(0xce)][t(0x9d)]);typeof c[t(0xce)]['js']===t(0xc9)&&e[t(0xae)]('js',c['template']['js']);const k=b['_']?b['_'][0x0][t(0xa4)](':')[0x1]:![],l=b['_']&&aliases[t(0x9a)](k);l&&!f['checkNpmPackage'](t(0xc2))&&(Log[t(0xc0)](t(0x9f)),f['installNpmPackage']('ramda',{'cwd':i}));if(l&&!f['checkNpmPackage'](t(0xd0))){Log[t(0xc0)]('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');return;}const m={'name':pascalCase(b[t(0x9c)]),'myPath':a130e[t(0xcc)](d[t(0xc6)](),j),'cssCaseName':kebabCase(b[t(0x9c)]),'className':pascalCase(b[t(0x9c)]),'camelCaseName':camelCase(b['resourceName']),'fileName':kebabCase(b[t(0x9c)]),'graphql':c[t(0xa2)]['graphql'],'features':c[t(0x9e)],'client':c['engines']['client'],'api':c['engines'][t(0x9b)],'ssr':c[t(0xa2)][t(0xba)],'test':c[t(0xa2)][t(0xcb)],'theme':c[t(0xa2)]['theme'],'isComponent':![],'isLayout':!![],'withTranslations':c['features']['withTranslations']};c['features']?.[t(0x98)]||b[t(0xb6)]?await g[t(0xce)]({'srcPath':t(0xb0),'destPath':j+t(0xc3),'framework':t(0xd0),'context':m,'config':c}):await g[t(0xce)]({'srcPath':t(0xb1),'destPath':j+t(0xc3),'framework':t(0xd0),'context':m,'config':c});c[t(0xa2)][t(0xcb)]!==t(0xa3)&&await g['template']({'srcPath':'test/test.js','destPath':j+t(0xb9),'framework':'react','context':m,'config':c});c[t(0xce)][t(0x9d)]&&(await g[t(0xce)]({'srcPath':t(0xbe),'destPath':j+t(0xa5),'context':Object[t(0xaf)]({},m,{'className':kebabCase(b['resourceName'])}),'config':c}),await g[t(0xb2)]({'filePath':j+'.'+c[t(0xa2)]['js'],'content':t(0xa1)+m[t(0xab)]+'.'+c['engines'][t(0x9d)]+'\x27;'}));const n=b[t(0xad)]?'/'+b[t(0xad)]+'/':'/',o=''+h+n+m[t(0xab)]+'/'+m[t(0xab)];await g[t(0xc4)](m['className'],c,o);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a131i=a131d;(function(a,b){const f=a131d,c=a();while(!![]){try{const d=parseInt(f(
|
|
1
|
+
function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x162;let f=c[d];return f;},a131d(a,b);}const a131i=a131d;function a131c(){const j=['maka\x20g:template\x20todos/todo_item','Scaffold\x20various\x20parts\x20of\x20your\x20application','toString','20682cMzFeV','1201975lCzYwa','253QLdqLm','apply','maka\x20generate:scaffold\x20todos','7956gNDrLO','(((.+)+)+)+$','42678SbhfKI','maka\x20g:scaffold\x20todos','constructor','maka\x20g:dbc\x20geoserver\x20--type=pgsql','7vHfcbw','292964Xfnvds','808veAgXX','search','469737RRKugg','4BpTlVQ','maka\x20{generate,\x20g}:<generator>\x20<name>','generate','128950gMBrfy','maka\x20g:package\x20package:name'];a131c=function(){return j;};return a131c();}(function(a,b){const f=a131d,c=a();while(!![]){try{const d=parseInt(f(0x172))/0x1*(-parseInt(f(0x16a))/0x2)+parseInt(f(0x169))/0x3+parseInt(f(0x166))/0x4+-parseInt(f(0x173))/0x5+-parseInt(f(0x179))/0x6*(-parseInt(f(0x165))/0x7)+parseInt(f(0x167))/0x8*(-parseInt(f(0x177))/0x9)+parseInt(f(0x16d))/0xa*(parseInt(f(0x174))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x27aab));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a131d;if(c){const e=c[g(0x175)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const h=a131d;return a131a[h(0x171)]()[h(0x168)](h(0x178))[h(0x171)]()[h(0x163)](a131a)[h(0x168)]('(((.+)+)+)+$');});a131a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a131i(0x16c),'aliases':['g'],'usage':a131i(0x16b),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'resourceNameRequired':![],'shortDesc':a131i(0x170),'examples':[a131i(0x176),a131i(0x162),a131i(0x16f),a131i(0x16e),'maka\x20g:route\x20todos/edit','maka\x20g:api\x20trucks',a131i(0x164)]},async function(){});export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a132m=a132d;(function(a,b){const k=a132d,c=a();while(!![]){try{const d=-parseInt(k(0x1bf))/0x1*(-parseInt(k(0x1c0))/0x2)+parseInt(k(0x1c9))/0x3+-parseInt(k(0x1c2))/0x4+parseInt(k(0x1c1))/0x5*(parseInt(k(0x1cb))/0x6)+-parseInt(k(0x1d1))/0x7+-parseInt(k(0x1c7))/0x8+-parseInt(k(0x1c4))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0xf2a7c));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 l=a132d;return a132a[l(0x1c8)]()[l(0x1c5)]('(((.+)+)+)+$')['toString']()[l(0x1ca)](a132a)[l(0x1c5)](l(0x1b4));});a132a();function a132c(){const o=['16254117XuTBqG','search','engines','8752208srlwQF','toString','3428643cRYkUQ','constructor','24DwQXSn','ddp-rate-limiter','-rpc-method.','imports','checkMeteorPackage','mdg:validated-method','3866870tQdwRG','maka\x20{generate,\x20g}:{method,\x20m}\x20name','appPathPrefix','pkg','methods','method','injectAtEndOfFile','(((.+)+)+)+$','pathFromApp','-rpc-method\x27;','maka\x20g:method\x20todos','template','tsx','index.','scaffold','projectConfig','import\x20\x27./methods','dir','13Foqqfo','228638XzxXYX','2315465KsJrWl','140140wcMGie','resourceName'];a132c=function(){return o;};return a132c();}function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x1b3;let f=c[d];return f;},a132d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';Generator['create']({'name':a132m(0x1d6),'aliases':['m'],'usage':a132m(0x1d2),'mustBeInMakaProject':!![],'checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','validOpts':[a132m(0x1be)],'examples':[a132m(0x1b7)]},async function(a,b){const n=a132m;try{const c=this[n(0x1bc)],d=b[n(0x1be)]?'/'+b[n(0x1be)]+'/':'/',f=kebabCase(b[n(0x1c3)]),g={'name':b[n(0x1c3)],'fileName':f,'className':pascalCase(b[n(0x1c3)]),'camelCase':camelCase(b['resourceName']),'noRename':!![]};let h='js';c[n(0x1c6)]['js']===n(0x1b9)&&(h='ts');await this[n(0x1d4)][n(0x1cf)](['maka:check',n(0x1cc),n(0x1d0)],{'shouldInstall':!![]}),await this[n(0x1bb)][n(0x1b8)]({'srcPath':'method/method.js','destPath':this[n(0x1bb)][n(0x1b5)]({'pathParts':[n(0x1ce),'startup',b[n(0x1d3)],n(0x1d5),d,f+n(0x1cd)+h]}),'context':g,'config':c});const i=this[n(0x1bb)][n(0x1b5)]({'pathParts':[n(0x1ce),'startup',b[n(0x1d3)],n(0x1ba)+c[n(0x1c6)]['js']]});await this[n(0x1bb)][n(0x1b3)]({'filePath':i,'content':n(0x1bd)+d+f+n(0x1b6)});}catch(j){Log['error'](j);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a133p=a133d;(function(a,b){const m=a133d,c=a();while(!![]){try{const d=-parseInt(m(0x193))/0x1*(-parseInt(m(0x188))/0x2)+parseInt(m(0x1ae))/0x3+-parseInt(m(0x1b0))/0x4*(parseInt(m(0x1a5))/0x5)+parseInt(m(0x18c))/0x6*(-parseInt(m(0x196))/0x7)+parseInt(m(0x1a9))/0x8+-parseInt(m(0x1ab))/0x9*(-parseInt(m(0x194))/0xa)+parseInt(m(0x1b3))/0xb*(-parseInt(m(0x18d))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x733c3));const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a133d;if(c){const e=c[n(0x199)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const o=a133d;return a133a[o(0x1a7)]()[o(0x1a1)](o(0x1b1))[o(0x1a7)]()[o(0x192)](a133a)[o(0x1a1)](o(0x1b1));});a133a();import a133e from'path';function a133c(){const r=['7443xJIELi','pathFromApp','ssr','2614230yuQGqt','store','1374724yGYDox','(((.+)+)+)+$','noRename','11ukQRWQ','create','/client/','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','graphql','engines','/package.js','471326IlBHQH','lib','projectConfig','features','1084662HuHXgZ','16804212KTYhMs','pathFromAppWithNoReWrite','findProjectDirectory','packages','.js','constructor','4ULeqYJ','5110CpLfJr','dir','35lEiGrx','theme','server','apply','layout','package.js','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','resourceName','template','tests/server','hasOwnProperty','search','client','component','package/package.js','5cqivKE','tests/client','toString','scaffold','7066088JGMBFm','package'];a133c=function(){return r;};return a133c();}import{Generator}from'../generator.js';function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0x185;let f=c[d];return f;},a133d(a,b);}import{camelCase,kebabCase,pascalCase}from'change-case';Generator[a133p(0x1b4)]({'name':a133p(0x1aa),'aliases':['p'],'usage':a133p(0x1b6),'mustBeInMakaProject':!![],'shortDesc':a133p(0x19c),'validOpts':[a133p(0x195)],'examples':['maka\x20g:package\x20todos:package']},async function(a,b){const q=a133p,c=kebabCase(b[q(0x19d)]),d=b[q(0x195)]?'/'+b['dir']+'/':'/',e=this[q(0x1a8)][q(0x1ac)]({'pathParts':[q(0x190),d,c]}),f=this['scaffold'][q(0x18e)]({'pathParts':['packages',d,c,q(0x19b)]}),g=this[q(0x18a)],h={'name':kebabCase(b[q(0x19d)]),'myPath':a133e['relative'](this['fsi'][q(0x18f)](),e),'cssCaseName':kebabCase(b[q(0x19d)]),'className':pascalCase(b[q(0x19d)]),'camelCaseName':camelCase(b[q(0x19d)]),'fileName':c,'client':g['engines'][q(0x1a2)],'graphql':g[q(0x186)][q(0x185)],'ssr':g[q(0x186)][q(0x1ad)],'isComponent':b['hasOwnProperty'](q(0x1a3)),'isLayout':b['hasOwnProperty'](q(0x19a)),'isStore':b[q(0x1a0)](q(0x1af)),'features':g[q(0x18b)],'noRename':!![],'theme':g[q(0x186)][q(0x197)]};await this[q(0x1a8)][q(0x19e)]({'srcPath':q(0x1a4),'destPath':f,'context':h,'config':g}),h[q(0x1b2)]=![];const i=e+q(0x1b5)+c+q(0x191);await this[q(0x1a8)][q(0x19e)]({'srcPath':'template/template.js','destPath':i,'context':h,'config':g});const j=[q(0x189),q(0x198),q(0x1a6),q(0x19f)];for(const k of j){const l=e+'/'+k+'/'+c+q(0x191);await this[q(0x1a8)][q(0x19e)]({'srcPath':'package/'+k+q(0x187),'destPath':l,'context':h,'config':g});}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a134u=a134d;(function(a,b){const r=a134d,c=a();while(!![]){try{const d=-parseInt(r(0x1d3))/0x1+parseInt(r(0x1b9))/0x2*(-parseInt(r(0x1b2))/0x3)+parseInt(r(0x1ce))/0x4+-parseInt(r(0x1b1))/0x5+-parseInt(r(0x1fa))/0x6*(-parseInt(r(0x1c2))/0x7)+parseInt(r(0x1a4))/0x8*(parseInt(r(0x1bc))/0x9)+-parseInt(r(0x1e3))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0xda6cf));const a134b=(function(){let a=!![];return function(b,c){const d=a?function(){const s=a134d;if(c){const e=c[s(0x1e5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a134a=a134b(this,function(){const t=a134d;return a134a['toString']()[t(0x1a2)](t(0x1b4))[t(0x1cc)]()[t(0x1a1)](a134a)['search'](t(0x1b4));});a134a();import a134e from'path';function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0x19e;let f=c[d];return f;},a134d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{camelCase,kebabCase,pascalCase}from'change-case';function a134c(){const w=['dir','/imports/ui/pages','theme','features','join','injectTemplateModule','setTemplate','3936775gCmMmn','318774iPwzYy','test/test.js','(((.+)+)+)+$','withHooks','.html','resourceName','test','16qgZjaC','layout','installNpmPackage','1190547CMMqlW','routes.','<Route\x20path=\x22*\x22','imports','trim','className','1302JqNcYZ','slice','url','engines','projectConfig','withTranslations','<Route\x20path=\x22','lib','none','template','toString','hook/hook.js','3273940rWzLqr','root','api','.app-tests.js','</Route>','667793iaDdfP','replace','assign','/>}/>\x0a','page','maka\x20g:page\x20todos/todos-item','scaffold','findProjectDirectory','substring','injectIntoFile','component/component.js','\x22\x20element={<Component.','string','injectAtBeginningOfFile','\x27;\x0a','toLowerCase','995790PhjmEB','react','apply','Updating\x20npm\x20packages\x20...','graphql','hasOwnProperty','fileName','<Route\x20index','ramda','component','indexOf','<Route\x20element={<PrivateRoute\x20/>}>','create','import\x20\x27./','warn','relative','replaceAll','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','pathFromApp','store','cfg','.css','html','24558sNMeuZ','split','endsWith','.js','ssr','constructor','search','template/template.css','104wqXaVC','client','meteor','css','private','template/template.html'];a134c=function(){return w;};return a134c();}const aliases=['p'];Generator[a134u(0x1ef)]({'name':a134u(0x1d7),'aliases':aliases,'usage':a134u(0x1f4),'shortDesc':'Generate\x20a\x20page.','mustBeInMakaProject':!![],'validOpts':[{'name':a134u(0x1a8),'boolFlag':!![]},{'name':a134u(0x1c4)}],'examples':[a134u(0x1d8)]},async function(a,b){const v=a134u,c=v(0x1ab),d=this['fsi']['findAppDirectory'](),e=b[v(0x1b7)]['includes'](':')?b[v(0x1b7)][v(0x1fb)](':')[0x0][v(0x1c0)]():b[v(0x1b7)][v(0x1c0)](),f=b[v(0x1aa)][v(0x1f3)]('/','_')+'_'+e[v(0x1f3)]('/','_'),g=this[v(0x1d9)][v(0x1f5)]({'pathParts':[c,b['dir'],kebabCase(f),kebabCase(f)]}),h=this[v(0x1c6)];let i='';typeof h[v(0x1cb)][v(0x1f9)]==='string'&&this['cfg'][v(0x1b0)](v(0x1f9),h['template'][v(0x1f9)]);typeof h[v(0x1cb)][v(0x1b8)]===v(0x1df)&&this[v(0x1f7)]['setTemplate'](v(0x1b8),h[v(0x1cb)]['test']);typeof h[v(0x1cb)][v(0x1a7)]===v(0x1df)&&this[v(0x1f7)][v(0x1b0)](v(0x1a7),h[v(0x1cb)][v(0x1a7)]);typeof h[v(0x1cb)]['js']===v(0x1df)&&this[v(0x1f7)][v(0x1b0)]('js',h[v(0x1cb)]['js']);!b[v(0x1cf)]&&!this['pkg']['checkNpmPackage'](v(0x1eb))&&(Log[v(0x1f1)](v(0x1e6)),this['pkg'][v(0x1bb)](v(0x1eb),{'cwd':d}));const j={'name':pascalCase(f),'myPath':a134e[v(0x1f2)](this['fsi'][v(0x1da)](),g),'cssCaseName':kebabCase(f),'className':pascalCase(f),'camelCaseName':camelCase(f),'fileName':kebabCase(f),'graphql':h[v(0x1c5)][v(0x1e7)],'features':h['features'],'client':h[v(0x1c5)][v(0x1a5)],'api':h[v(0x1c5)][v(0x1d0)],'ssr':h['engines'][v(0x1a0)],'isStore':b[v(0x1e8)](v(0x1f6)),'isComponent':b['hasOwnProperty'](v(0x1ec)),'isLayout':b[v(0x1e8)](v(0x1ba)),'withTranslations':h[v(0x1ad)][v(0x1c7)],'test':h[v(0x1c5)][v(0x1b8)],'theme':h['engines'][v(0x1ac)]};h[v(0x1cb)][v(0x1f9)]&&await this[v(0x1d9)][v(0x1cb)]({'srcPath':v(0x1a9),'destPath':g+v(0x1b6),'context':j,'config':h});h['features']?.[v(0x1b5)]?await this[v(0x1d9)]['template']({'srcPath':v(0x1cd),'destPath':g+v(0x19f),'framework':v(0x1e4),'context':j,'config':h}):await this['scaffold'][v(0x1cb)]({'srcPath':v(0x1dd),'destPath':g+v(0x19f),'framework':'react','context':j,'config':h});h[v(0x1c5)][v(0x1b8)]!==v(0x1ca)&&await this[v(0x1d9)][v(0x1cb)]({'srcPath':v(0x1b3),'destPath':g+v(0x1d1),'framework':v(0x1e4),'context':j,'config':h});h['template'][v(0x1a7)]&&await this[v(0x1d9)]['template']({'srcPath':v(0x1a3),'destPath':g+v(0x1f8),'context':Object[v(0x1d5)]({},j,{'className':kebabCase(b[v(0x1b7)])}),'config':h});h['engines']['client']!=='react'&&h[v(0x1c5)][v(0x1a5)]!=='vanilla'?(h['template'][v(0x1a7)]&&await this[v(0x1d9)][v(0x1e0)]({'filePath':g+'.'+h[v(0x1c5)]['js'],'content':'import\x20\x27./'+j[v(0x1e9)]+'.'+h[v(0x1c5)][v(0x1f9)]+v(0x1e1)+v(0x1f0)+j[v(0x1e9)]+'.'+h['engines'][v(0x1a7)]+'\x27;'}),!h[v(0x1cb)][v(0x1a7)]&&await this[v(0x1d9)][v(0x1e0)]({'filePath':g+'.'+h[v(0x1c5)]['js'],'content':v(0x1f0)+j[v(0x1e9)]+'.'+h['engines']['html']+'\x27;'})):h[v(0x1cb)]['css']&&await this[v(0x1d9)][v(0x1e0)]({'filePath':g+'.'+h[v(0x1c5)]['js'],'content':'import\x20\x27./'+j[v(0x1e9)]+'.'+h[v(0x1c5)][v(0x1a7)]+'\x27;'});const k=b[v(0x1aa)]?'/'+b[v(0x1aa)]+'/':'/';i=''+c+k+j[v(0x1e9)]+'/'+j[v(0x1e9)],await this[v(0x1d9)][v(0x1af)](j[v(0x1c1)],h,i);if(!b[v(0x1cf)]){const l=b[v(0x1a8)]??![];if(!f){Log['error']('Please\x20specify\x20a\x20name\x20for\x20the\x20route.');throw new UsageError();}let m=b[v(0x1c4)]?b[v(0x1c4)]:'/'+b[v(0x1aa)][v(0x1c0)]()+'/'+b[v(0x1b7)][v(0x1c0)]()[v(0x1d4)](/\\/g,'/')[v(0x1d4)](/\/+$/,'')[v(0x1e2)]();const n=b['resourceName'][v(0x1ed)](':');n!==-0x1&&(m+='/'+b[v(0x1b7)][v(0x1db)](0x0,n)['trim']());m[v(0x19e)]('/')&&(m=m[v(0x1c3)](0x0,-0x1));m=m[v(0x1d4)](/\/\//g,'/');const o=h['engines']['js'],p=h['engines'][v(0x1a0)]===v(0x1a6)?v(0x1c9):'client',q=a134e[v(0x1ae)](d,v(0x1bf),'startup',p,v(0x1bd)+o);l?await this[v(0x1d9)][v(0x1dc)]({'filePath':q,'content':v(0x1c8)+m+v(0x1de)+pascalCase(f)+v(0x1d6),'begin':[v(0x1ee)],'end':[v(0x1d2)]}):await this['scaffold'][v(0x1dc)]({'filePath':q,'content':v(0x1c8)+m+'\x22\x20element={<Component.'+pascalCase(f)+'/>}/>\x0a','begin':[v(0x1ea)],'end':[v(0x1be)]});}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a135r=a135d;(function(a,b){const o=a135d,c=a();while(!![]){try{const d=-parseInt(o(0x1c2))/0x1*(-parseInt(o(0x1c6))/0x2)+-parseInt(o(0x1be))/0x3*(-parseInt(o(0x1cc))/0x4)+-parseInt(o(0x1ce))/0x5*(parseInt(o(0x1d0))/0x6)+-parseInt(o(0x1c3))/0x7*(parseInt(o(0x1c9))/0x8)+parseInt(o(0x1b9))/0x9+-parseInt(o(0x1ba))/0xa+parseInt(o(0x1d1))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a135c,0x3c051));const a135b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a135d;if(c){const e=c[p(0x1cb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a135a=a135b(this,function(){const q=a135d;return a135a[q(0x1d2)]()[q(0x1b8)](q(0x1bb))['toString']()[q(0x1d7)](a135a)[q(0x1b8)]('(((.+)+)+)+$');});function a135d(a,b){const c=a135c();return a135d=function(d,e){d=d-0x1b8;let f=c[d];return f;},a135d(a,b);}a135a();import{kebabCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a135c(){const t=['maka\x20g:publish\x20todos','exit','dir','constructor','search','1313802XHSLVY','1213830FRAvyJ','(((.+)+)+)+$','startup','create','3QbNxeL','force','/imports/startup/server/publications','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','157142cLuhRP','514297SXywwT','import\x20\x27./publications','globalPublish','4KePwhc','template','appPathPrefix','48nSbTPz','publish','apply','942332nBSSzn','resourceName','5fghxmM','engines','563550qXOlAm','2267430OjsmNN','toString','publish/publish.js'];a135c=function(){return t;};return a135c();}import{Log}from'../tools/log/log.class.js';Generator[a135r(0x1bd)]({'name':a135r(0x1ca),'aliases':['p'],'usage':a135r(0x1c1),'shortDesc':'Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','validOpts':['force'],'requiredOpts':[a135r(0x1c5)],'mustBeInMakaProject':!![],'examples':[a135r(0x1d4)]},async function(a,b){const s=a135r;try{const {projectConfig:c,scaffold:d}=this,f=b[s(0x1bf)]||![],g=s(0x1c0),h=kebabCase(b[s(0x1cd)]),i=d['pathFromApp']({'pathParts':[g,b[s(0x1d6)],'',h]});let j='js';c[s(0x1cf)]['js']==='tsx'&&(j='ts');const k={'name':b[s(0x1cd)],'collection':pascalCase(b[s(0x1cd)]),'noRename':!![],'globalPublish':b[s(0x1c5)]};await d[s(0x1c7)]({'srcPath':s(0x1d3),'destPath':i+'.'+j,'context':k,'config':c,'force':f});const l=d['pathFromApp']({'pathParts':['imports',s(0x1bc),'server',b[s(0x1c8)],'index.'+c['engines']['js']]}),m=b['dir']?'/'+b['dir']+'/':'/';await d['injectAtEndOfFile']({'filePath':l,'content':s(0x1c4)+m+h+'\x27;'});}catch(n){Log['error'](n),process[s(0x1d5)](0x1);}});
|