@maka/maka-cli 5.1.10 → 5.1.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/obf/package.json +1 -1
- package/bundle/obf/src/command.js +1 -1
- package/bundle/obf/src/commands/_index.js +1 -1
- package/bundle/obf/src/commands/ai.js +1 -1
- package/bundle/obf/src/commands/aws/_index.js +1 -1
- package/bundle/obf/src/commands/aws/aws.command.js +1 -1
- package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/build/_index.js +1 -1
- package/bundle/obf/src/commands/build/build.js +1 -1
- package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/create.js +1 -1
- package/bundle/obf/src/commands/debug.js +1 -1
- package/bundle/obf/src/commands/deploy/_index.js +1 -1
- package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
- package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/_index.js +1 -1
- package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/play.command.js +1 -1
- package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/generate.js +1 -1
- package/bundle/obf/src/commands/get/_index.js +1 -1
- package/bundle/obf/src/commands/get/get.command.js +1 -1
- package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/help.js +1 -1
- package/bundle/obf/src/commands/install.js +1 -1
- package/bundle/obf/src/commands/jsdoc.js +1 -1
- package/bundle/obf/src/commands/lint.js +1 -1
- package/bundle/obf/src/commands/login.js +1 -1
- package/bundle/obf/src/commands/logout.js +1 -1
- package/bundle/obf/src/commands/logs.js +1 -1
- package/bundle/obf/src/commands/maka.cmd.js +1 -1
- package/bundle/obf/src/commands/murder.js +1 -1
- package/bundle/obf/src/commands/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 -0
- package/bundle/obf/src/commands/testCmd/jest.sub.cmd.js +1 -0
- package/bundle/obf/src/commands/testCmd/mocha.sub.cmd.js +1 -0
- package/bundle/obf/src/commands/testCmd/test.command.js +1 -0
- package/bundle/obf/src/commands/undo.js +1 -1
- package/bundle/obf/src/commands/version/_index.js +1 -0
- package/bundle/obf/src/commands/version/list.sub.cmd.js +1 -0
- package/bundle/obf/src/commands/version/use.sub.cmd.js +1 -0
- package/bundle/obf/src/commands/version/version.js +1 -0
- 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 -1
- package/bundle/obf/src/commands/test/_index.js +0 -1
- package/bundle/obf/src/commands/test/jest.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/test/mocha.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/test/test.command.js +0 -1
- package/bundle/obf/src/commands/version.js +0 -1
- package/bundle/obf/src/templates/react/test/test.js +0 -1
- package/bundle/obf/src/templates/react/test/test.js.jsx +0 -38
- package/bundle/obf/src/templates/react/test/test.js.ts +0 -1
- package/bundle/obf/src/templates/react/test/test.js.tsx +0 -38
- package/bundle/obf/src/templates/service/test/jest/jest.config.js +0 -6
- package/bundle/obf/src/templates/service/test/jest/jest.setup.js +0 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a135j=a135d;(function(a,b){const g=a135d,c=a();while(!![]){try{const d=parseInt(g(0x159))/0x1+-parseInt(g(0x14e))/0x2*(parseInt(g(0x149))/0x3)+parseInt(g(0x153))/0x4*(-parseInt(g(0x164))/0x5)+-parseInt(g(0x14d))/0x6+parseInt(g(0x154))/0x7+-parseInt(g(0x160))/0x8+-parseInt(g(0x15c))/0x9*(-parseInt(g(0x157))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a135c,0xb5944));function a135d(a,b){const c=a135c();return a135d=function(d,e){d=d-0x144;let f=c[d];return f;},a135d(a,b);}const a135b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a135d;if(c){const e=c[h(0x151)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a135a=a135b(this,function(){const i=a135d;return a135a['toString']()['search']('(((.+)+)+)+$')[i(0x158)]()[i(0x15f)](a135a)[i(0x14b)](i(0x168));});a135a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';function a135c(){const l=['findProjectDirectory','(((.+)+)+)+$','cfg','checkbox','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','auth','fsi','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','1885431SSzRIk','exit','search','error','4803576BdXtAQ','2LnALps','No\x20MUI\x20kits\x20selected.\x20Exiting.','kit:mui:auth','apply','create','461284fdnZAt','3065307ZIsMKL','\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','kit:mui:frame','28525670iaFhpf','toString','900852IkVRas','processAndRunGenerator','length','9rzIhoj','frame','Header,\x20Footer,\x20and\x20Drawer','constructor','11535152ENQmtm','notice','maka\x20g:kit:m','kitChoices','25aQnSKO','includes','Auth\x20workflow\x20(login,\x20logout,\x20etc.)'];a135c=function(){return l;};return a135c();}import a135e from'../../../generators/maka.gen.js';import a135f from'../kit.js';const MuiGen=Generator[a135j(0x152)]({'name':'mui','aliases':['m'],'usage':a135j(0x148),'resourceNameRequired':![],'shortDesc':'Material-UI\x20Kit','validOpts':[''],'isPro':!![],'examples':[a135j(0x162)]},async function(){const k=a135j;try{Log['info'](k(0x145)),Log[k(0x161)](k(0x155));const a=await Actions[k(0x144)]({'message':'Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','name':k(0x163),'choices':[{'name':k(0x15e),'value':'frame'},{'name':k(0x166),'value':k(0x146)}]}),b=this[k(0x147)][k(0x167)](),c=this[k(0x169)]['getMakaProjectConfig']();a[k(0x165)](k(0x15d))&&await a135e[k(0x15a)](k(0x156),[],{'force':!![],'cwd':b,'config':c});a[k(0x165)](k(0x146))&&await a135e[k(0x15a)](k(0x150),[],{'force':!![],'cwd':b,'config':c});if(a[k(0x15b)]===0x0){Log['info'](k(0x14f));return;}}catch(d){Log[k(0x14c)](d),process[k(0x14a)](0x1);}},async function(){},a135f);export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a136s=a136d;(function(a,b){const p=a136d,c=a();while(!![]){try{const d=parseInt(p(0x106))/0x1*(parseInt(p(0x120))/0x2)+-parseInt(p(0x102))/0x3*(parseInt(p(0x126))/0x4)+-parseInt(p(0x104))/0x5+parseInt(p(0x112))/0x6+-parseInt(p(0xfb))/0x7+-parseInt(p(0x10a))/0x8+parseInt(p(0x110))/0x9*(parseInt(p(0xf7))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a136c,0xa386d));function a136c(){const u=['pathFromApp','9945848MINzdj','css','Scaffolding\x20for\x20a\x20React\x20Layout.','component/component.js','test','features','18eEXHDj','setTemplate','6064224kZVEFJ','injectAtBeginningOfFile','graphql','relative','(((.+)+)+)+$','layout','withHooks','api','string','toString','maka\x20g:layout\x20mobile/iPhone8','import\x20\x27./','fileName','test/test.js','736kRECNZ','resourceName','theme','checkNpmPackage','assign','ssr','484vQTjnA','findAppDirectory','engines','findProjectDirectory','apply','withTranslations','16359800UYoqXT','client','template','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','5627678enhQBo','dir','.css','installNpmPackage','warn','/imports/ui/layouts','injectTemplateModule','15756SgLrbp','search','5488110aPtWBS','ramda','455wATEFw','react','constructor'];a136c=function(){return u;};return a136c();}const a136b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a136d;if(c){const e=c[q(0x12a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a136a=a136b(this,function(){const r=a136d;return a136a[r(0x11b)]()[r(0x103)]('(((.+)+)+)+$')['toString']()[r(0x108)](a136a)['search'](r(0x116));});a136a();function a136d(a,b){const c=a136c();return a136d=function(d,e){d=d-0xf7;let f=c[d];return f;},a136d(a,b);}import a136e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';const aliases=['l'];Generator['create']({'name':a136s(0x117),'aliases':aliases,'usage':a136s(0xfa),'shortDesc':a136s(0x10c),'validOpts':['withHook'],'mustBeInMakaProject':!![],'examples':[a136s(0x11c),'maka\x20g:l\x20web/safari']},async function(a,b){const t=a136s,{projectConfig:c,fsi:d,cfg:e,pkg:f,scaffold:g}=this,h=t(0x100),i=d[t(0x127)](),j=g[t(0x109)]({'pathParts':[h,b[t(0xfc)],kebabCase(b[t(0x121)]),kebabCase(b[t(0x121)])]});typeof c[t(0xf9)]['test']==='string'&&e['setTemplate'](t(0x10e),c[t(0xf9)][t(0x10e)]);typeof c[t(0xf9)][t(0x10b)]===t(0x11a)&&e['setTemplate']('css',c[t(0xf9)][t(0x10b)]);typeof c[t(0xf9)]['js']==='string'&&e[t(0x111)]('js',c[t(0xf9)]['js']);const k=b['_']?b['_'][0x0]['split'](':')[0x1]:![],l=b['_']&&aliases['includes'](k);l&&!f[t(0x123)](t(0x105))&&(Log[t(0xff)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),f[t(0xfe)]('ramda',{'cwd':i}));if(l&&!f[t(0x123)](t(0x107))){Log['warn']('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');return;}const m={'name':pascalCase(b[t(0x121)]),'myPath':a136e[t(0x115)](d[t(0x129)](),j),'cssCaseName':kebabCase(b[t(0x121)]),'className':pascalCase(b[t(0x121)]),'camelCaseName':camelCase(b[t(0x121)]),'fileName':kebabCase(b['resourceName']),'graphql':c[t(0x128)][t(0x114)],'features':c[t(0x10f)],'client':c['engines'][t(0xf8)],'api':c[t(0x128)][t(0x119)],'ssr':c['engines'][t(0x125)],'test':c[t(0x128)]['test'],'theme':c[t(0x128)][t(0x122)],'isComponent':![],'isLayout':!![],'withTranslations':c[t(0x10f)][t(0x12b)]};c['features']?.[t(0x118)]||b['withHook']?await g[t(0xf9)]({'srcPath':'hook/hook.js','destPath':j+'.js','framework':'react','context':m,'config':c}):await g['template']({'srcPath':t(0x10d),'destPath':j+'.js','framework':'react','context':m,'config':c});c[t(0x128)][t(0x10e)]!=='none'&&await g['template']({'srcPath':t(0x11f),'destPath':j+'.app-tests.js','framework':t(0x107),'context':m,'config':c});c[t(0xf9)][t(0x10b)]&&(await g[t(0xf9)]({'srcPath':'template/template.css','destPath':j+t(0xfd),'context':Object[t(0x124)]({},m,{'className':kebabCase(b[t(0x121)])}),'config':c}),await g[t(0x113)]({'filePath':j+'.'+c[t(0x128)]['js'],'content':t(0x11d)+m[t(0x11e)]+'.'+c[t(0x128)][t(0x10b)]+'\x27;'}));const n=b['dir']?'/'+b['dir']+'/':'/',o=''+h+n+m[t(0x11e)]+'/'+m[t(0x11e)];await g[t(0x101)](m['className'],c,o);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a137i=a137d;(function(a,b){const f=a137d,c=a();while(!![]){try{const d=-parseInt(f(0x100))/0x1*(parseInt(f(0x10b))/0x2)+parseInt(f(0x107))/0x3*(-parseInt(f(0x108))/0x4)+parseInt(f(0x110))/0x5+-parseInt(f(0xfe))/0x6+-parseInt(f(0x103))/0x7+parseInt(f(0x10f))/0x8+parseInt(f(0x106))/0x9*(parseInt(f(0x10a))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a137c,0x772ee));const a137b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a137d;if(c){const e=c[g(0x105)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a137a=a137b(this,function(){const h=a137d;return a137a[h(0xff)]()[h(0x10e)](h(0xfc))[h(0xff)]()[h(0xfd)](a137a)[h(0x10e)]('(((.+)+)+)+$');});a137a();function a137d(a,b){const c=a137c();return a137d=function(d,e){d=d-0xfb;let f=c[d];return f;},a137d(a,b);}function a137c(){const j=['1603138zglEzk','maka\x20g:template\x20todos/todo_item','Scaffold\x20various\x20parts\x20of\x20your\x20application','search','2392432MkUwNU','3881880ghdVDZ','maka\x20g:route\x20todos/edit','(((.+)+)+)+$','constructor','4635936wFEXOb','toString','1CCDCEN','maka\x20generate:scaffold\x20todos','maka\x20g:scaffold\x20todos','4925592xZdsJt','maka\x20g:dbc\x20geoserver\x20--type=pgsql','apply','3348783Gywuzd','101886EvBHlK','20InphpF','maka\x20g:api\x20trucks','50SNZCZc'];a137c=function(){return j;};return a137c();}import{Generator}from'../generator.js';const MakaGen=new Generator({'name':'generate','aliases':['g'],'usage':'maka\x20{generate,\x20g}:<generator>\x20<name>','validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'resourceNameRequired':![],'shortDesc':a137i(0x10d),'examples':[a137i(0x101),a137i(0x102),a137i(0x10c),'maka\x20g:package\x20package:name',a137i(0xfb),a137i(0x109),a137i(0x104)]},async function(){});export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a138n=a138d;(function(a,b){const k=a138d,c=a();while(!![]){try{const d=-parseInt(k(0x147))/0x1*(-parseInt(k(0x14e))/0x2)+parseInt(k(0x13b))/0x3+-parseInt(k(0x13c))/0x4+parseInt(k(0x14a))/0x5+parseInt(k(0x146))/0x6+parseInt(k(0x145))/0x7+parseInt(k(0x14f))/0x8*(-parseInt(k(0x139))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a138c,0xe97fc));const a138b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a138d;if(c){const e=c[l(0x14d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a138a=a138b(this,function(){const m=a138d;return a138a[m(0x143)]()['search'](m(0x138))[m(0x143)]()[m(0x13d)](a138a)['search']('(((.+)+)+)+$');});a138a();import{Generator}from'../generator.js';function a138c(){const p=['-rpc-method.','methods','method/method.js','resourceName','import\x20\x27./methods','pathFromApp','ddp-rate-limiter','maka\x20g:method\x20todos','injectAtEndOfFile','create','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','template','(((.+)+)+)+$','2493RDvvEF','method','3702018lEQODT','4760000TvEtxy','constructor','projectConfig','pkg','scaffold','tsx','dir','toString','engines','1052478SUimMf','1395018fcjJVL','520124BjFjCk','startup','imports','7007160gEWURc','appPathPrefix','maka:check','apply','4bxRwCe','55224hOIUPC'];a138c=function(){return p;};return a138c();}import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';function a138d(a,b){const c=a138c();return a138d=function(d,e){d=d-0x136;let f=c[d];return f;},a138d(a,b);}Generator[a138n(0x159)]({'name':a138n(0x13a),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{method,\x20m}\x20name','mustBeInMakaProject':!![],'checkWhere':!![],'shortDesc':a138n(0x136),'validOpts':[a138n(0x142)],'examples':[a138n(0x157)]},async function(a,b){const o=a138n;try{const c=this[o(0x13e)],d=b[o(0x142)]?'/'+b['dir']+'/':'/',f=kebabCase(b[o(0x153)]),g={'name':b['resourceName'],'fileName':f,'className':pascalCase(b['resourceName']),'camelCase':camelCase(b[o(0x153)]),'noRename':!![]};let h='js';c[o(0x144)]['js']===o(0x141)&&(h='ts');await this[o(0x13f)]['checkMeteorPackage']([o(0x14c),o(0x156),'mdg:validated-method'],{'shouldInstall':!![]}),await this['scaffold'][o(0x137)]({'srcPath':o(0x152),'destPath':this['scaffold'][o(0x155)]({'pathParts':[o(0x149),o(0x148),b[o(0x14b)],o(0x151),d,f+o(0x150)+h]}),'context':g,'config':c});const i=this[o(0x140)][o(0x155)]({'pathParts':[o(0x149),o(0x148),b['appPathPrefix'],'index.'+c['engines']['js']]});await this[o(0x140)][o(0x158)]({'filePath':i,'content':o(0x154)+d+f+'-rpc-method\x27;'});}catch(j){Log['error'](j);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a139o=a139d;function a139c(){const q=['11765zBZlke','layout','429UBaXIm','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','server','fsi','.js','(((.+)+)+)+$','create','tests/server','783153fOGiUe','8cJpwrW','9126StogNZ','3623292XsVGid','package/','toString','3088215opdhsO','hasOwnProperty','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','graphql','lib','package','packages','store','client','package.js','pathFromApp','3051944togVHi','template','402hLYZmf','ssr','search','/client/','package/package.js','theme','pathFromAppWithNoReWrite','engines','relative','resourceName','9779620nKNoYE','noRename','findProjectDirectory','scaffold','constructor','dir'];a139c=function(){return q;};return a139c();}(function(a,b){const m=a139d,c=a();while(!![]){try{const d=parseInt(m(0x205))/0x1+-parseInt(m(0x207))/0x2*(parseInt(m(0x1fd))/0x3)+-parseInt(m(0x208))/0x4+-parseInt(m(0x1fb))/0x5*(-parseInt(m(0x1eb))/0x6)+parseInt(m(0x1e9))/0x7+parseInt(m(0x206))/0x8*(-parseInt(m(0x20b))/0x9)+parseInt(m(0x1f5))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a139c,0x6eaab));const a139b=(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;};}()),a139a=a139b(this,function(){const n=a139d;return a139a[n(0x20a)]()['search'](n(0x202))['toString']()[n(0x1f9)](a139a)[n(0x1ed)](n(0x202));});a139a();import a139e from'path';import{Generator}from'../generator.js';function a139d(a,b){const c=a139c();return a139d=function(d,e){d=d-0x1e1;let f=c[d];return f;},a139d(a,b);}import{camelCase,kebabCase,pascalCase}from'change-case';Generator[a139o(0x203)]({'name':a139o(0x1e3),'aliases':['p'],'usage':a139o(0x1fe),'mustBeInMakaProject':!![],'shortDesc':a139o(0x20d),'validOpts':[a139o(0x1fa)],'examples':['maka\x20g:package\x20todos:package']},async function(a,b){const p=a139o,c=kebabCase(b['resourceName']),d=b[p(0x1fa)]?'/'+b['dir']+'/':'/',e=this['scaffold'][p(0x1e8)]({'pathParts':[p(0x1e4),d,c]}),f=this[p(0x1f8)][p(0x1f1)]({'pathParts':['packages',d,c,p(0x1e7)]}),g=this['projectConfig'],h={'name':kebabCase(b[p(0x1f4)]),'myPath':a139e[p(0x1f3)](this[p(0x200)][p(0x1f7)](),e),'cssCaseName':kebabCase(b['resourceName']),'className':pascalCase(b[p(0x1f4)]),'camelCaseName':camelCase(b[p(0x1f4)]),'fileName':c,'client':g[p(0x1f2)][p(0x1e6)],'graphql':g['engines'][p(0x1e1)],'ssr':g['engines'][p(0x1ec)],'isComponent':b[p(0x20c)]('component'),'isLayout':b[p(0x20c)](p(0x1fc)),'isStore':b[p(0x20c)](p(0x1e5)),'features':g['features'],'noRename':!![],'theme':g[p(0x1f2)][p(0x1f0)]};await this[p(0x1f8)][p(0x1ea)]({'srcPath':p(0x1ef),'destPath':f,'context':h,'config':g}),h[p(0x1f6)]=![];const i=e+p(0x1ee)+c+p(0x201);await this[p(0x1f8)][p(0x1ea)]({'srcPath':'template/template.js','destPath':i,'context':h,'config':g});const j=[p(0x1e2),p(0x1ff),'tests/client',p(0x204)];for(const k of j){const l=e+'/'+k+'/'+c+p(0x201);await this[p(0x1f8)][p(0x1ea)]({'srcPath':p(0x209)+k+'/package.js','destPath':l,'context':h,'config':g});}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a140u=a140d;(function(a,b){const r=a140d,c=a();while(!![]){try{const d=-parseInt(r(0x1b1))/0x1+-parseInt(r(0x1a1))/0x2+-parseInt(r(0x191))/0x3+-parseInt(r(0x17e))/0x4+-parseInt(r(0x1ae))/0x5*(-parseInt(r(0x1b0))/0x6)+-parseInt(r(0x18f))/0x7*(-parseInt(r(0x184))/0x8)+parseInt(r(0x178))/0x9*(parseInt(r(0x1a7))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a140c,0x51acb));const a140b=(function(){let a=!![];return function(b,c){const d=a?function(){const s=a140d;if(c){const e=c[s(0x1c6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a140a=a140b(this,function(){const t=a140d;return a140a[t(0x1c4)]()['search']('(((.+)+)+)+$')['toString']()['constructor'](a140a)['search'](t(0x17c));});a140a();import a140e from'path';function a140d(a,b){const c=a140c();return a140d=function(d,e){d=d-0x178;let f=c[d];return f;},a140d(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';const aliases=['p'];function a140c(){const w=['error','260994vhEpfg','479271lwOnob','api','Generate\x20a\x20page.','html','lib','template/template.html','fsi','<Route\x20element={<PrivateRoute\x20/>}>','meteor','toLowerCase','test','cfg','graphql','<Route\x20path=\x22*\x22','engines','url','string','assign','test/test.js','toString','injectTemplateModule','apply','ramda','<Route\x20index','pkg','hasOwnProperty','ssr','9Gaxaml','startup','/>}/>\x0a','className','(((.+)+)+)+$','indexOf','821108VaQpUN','replace','store','hook/hook.js','imports','join','40AlYzal','projectConfig','create','import\x20\x27./','template','fileName','Please\x20specify\x20a\x20name\x20for\x20the\x20route.','warn','withHooks','</Route>','findProjectDirectory','68831ckNFrH','component/component.js','1084020OUOQZc','relative','resourceName','replaceAll','setTemplate','root','trim','component','split','client','css','/imports/ui/pages','dir','findAppDirectory','vanilla','features','534296kYSViM','.js','injectIntoFile','react','substring','\x27;\x0a','14679130vTrVCL','scaffold','.app-tests.js','withTranslations','\x22\x20element={<Component.','page','Updating\x20npm\x20packages\x20...','15ANHzdo'];a140c=function(){return w;};return a140c();}Generator[a140u(0x186)]({'name':a140u(0x1ac),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','shortDesc':a140u(0x1b3),'mustBeInMakaProject':!![],'validOpts':[{'name':'private','boolFlag':!![]},{'name':a140u(0x1c0)}],'examples':['maka\x20g:page\x20todos/todos-item']},async function(a,b){const v=a140u,c=v(0x19c),d=this['fsi'][v(0x19e)](),e=b[v(0x193)]['includes'](':')?b[v(0x193)][v(0x199)](':')[0x0][v(0x197)]():b['resourceName']['trim'](),f=b[v(0x19d)][v(0x194)]('/','_')+'_'+e[v(0x194)]('/','_'),g=this[v(0x1a8)]['pathFromApp']({'pathParts':[c,b[v(0x19d)],kebabCase(f),kebabCase(f)]}),h=this[v(0x185)];let i='';typeof h[v(0x188)]['html']===v(0x1c1)&&this[v(0x1bc)][v(0x195)](v(0x1b4),h[v(0x188)][v(0x1b4)]);typeof h[v(0x188)][v(0x1bb)]==='string'&&this['cfg'][v(0x195)](v(0x1bb),h[v(0x188)][v(0x1bb)]);typeof h['template'][v(0x19b)]===v(0x1c1)&&this[v(0x1bc)][v(0x195)](v(0x19b),h[v(0x188)]['css']);typeof h[v(0x188)]['js']===v(0x1c1)&&this['cfg'][v(0x195)]('js',h['template']['js']);!b['root']&&!this[v(0x1c9)]['checkNpmPackage']('ramda')&&(Log[v(0x18b)](v(0x1ad)),this[v(0x1c9)]['installNpmPackage'](v(0x1c7),{'cwd':d}));const j={'name':pascalCase(f),'myPath':a140e[v(0x192)](this[v(0x1b7)][v(0x18e)](),g),'cssCaseName':kebabCase(f),'className':pascalCase(f),'camelCaseName':camelCase(f),'fileName':kebabCase(f),'graphql':h[v(0x1bf)][v(0x1bd)],'features':h[v(0x1a0)],'client':h[v(0x1bf)][v(0x19a)],'api':h['engines'][v(0x1b2)],'ssr':h[v(0x1bf)][v(0x1cb)],'isStore':b['hasOwnProperty'](v(0x180)),'isComponent':b[v(0x1ca)](v(0x198)),'isLayout':b[v(0x1ca)]('layout'),'withTranslations':h[v(0x1a0)][v(0x1aa)],'test':h[v(0x1bf)][v(0x1bb)],'theme':h[v(0x1bf)]['theme']};h[v(0x188)][v(0x1b4)]&&await this[v(0x1a8)]['template']({'srcPath':v(0x1b6),'destPath':g+'.html','context':j,'config':h});h['features']?.[v(0x18c)]?await this['scaffold'][v(0x188)]({'srcPath':v(0x181),'destPath':g+'.js','framework':v(0x1a4),'context':j,'config':h}):await this[v(0x1a8)][v(0x188)]({'srcPath':v(0x190),'destPath':g+v(0x1a2),'framework':v(0x1a4),'context':j,'config':h});h['engines'][v(0x1bb)]!=='none'&&await this[v(0x1a8)]['template']({'srcPath':v(0x1c3),'destPath':g+v(0x1a9),'framework':v(0x1a4),'context':j,'config':h});h['template'][v(0x19b)]&&await this[v(0x1a8)][v(0x188)]({'srcPath':'template/template.css','destPath':g+'.css','context':Object[v(0x1c2)]({},j,{'className':kebabCase(b[v(0x193)])}),'config':h});h[v(0x1bf)][v(0x19a)]!==v(0x1a4)&&h[v(0x1bf)][v(0x19a)]!==v(0x19f)?(h[v(0x188)][v(0x19b)]&&await this[v(0x1a8)]['injectAtBeginningOfFile']({'filePath':g+'.'+h['engines']['js'],'content':v(0x187)+j['fileName']+'.'+h[v(0x1bf)][v(0x1b4)]+v(0x1a6)+v(0x187)+j[v(0x189)]+'.'+h[v(0x1bf)][v(0x19b)]+'\x27;'}),!h[v(0x188)]['css']&&await this[v(0x1a8)]['injectAtBeginningOfFile']({'filePath':g+'.'+h[v(0x1bf)]['js'],'content':v(0x187)+j[v(0x189)]+'.'+h[v(0x1bf)][v(0x1b4)]+'\x27;'})):h[v(0x188)][v(0x19b)]&&await this[v(0x1a8)]['injectAtBeginningOfFile']({'filePath':g+'.'+h['engines']['js'],'content':v(0x187)+j[v(0x189)]+'.'+h[v(0x1bf)][v(0x19b)]+'\x27;'});const k=b['dir']?'/'+b[v(0x19d)]+'/':'/';i=''+c+k+j[v(0x189)]+'/'+j[v(0x189)],await this[v(0x1a8)][v(0x1c5)](j[v(0x17b)],h,i);if(!b[v(0x196)]){const l=b['private']??![];if(!f){Log[v(0x1af)](v(0x18a));throw new UsageError();}let m=b['url']?b['url']:'/'+b['dir'][v(0x197)]()+'/'+b[v(0x193)][v(0x197)]()['replace'](/\\/g,'/')[v(0x17f)](/\/+$/,'')[v(0x1ba)]();const n=b[v(0x193)][v(0x17d)](':');n!==-0x1&&(m+='/'+b[v(0x193)][v(0x1a5)](0x0,n)[v(0x197)]());m['endsWith']('/')&&(m=m['slice'](0x0,-0x1));m=m[v(0x17f)](/\/\//g,'/');const o=h[v(0x1bf)]['js'],p=h['engines'][v(0x1cb)]===v(0x1b9)?v(0x1b5):v(0x19a),q=a140e[v(0x183)](d,v(0x182),v(0x179),p,'routes.'+o);l?await this['scaffold'][v(0x1a3)]({'filePath':q,'content':'<Route\x20path=\x22'+m+'\x22\x20element={<Component.'+pascalCase(f)+v(0x17a),'begin':[v(0x1b8)],'end':[v(0x18d)]}):await this[v(0x1a8)][v(0x1a3)]({'filePath':q,'content':'<Route\x20path=\x22'+m+v(0x1ab)+pascalCase(f)+v(0x17a),'begin':[v(0x1c8)],'end':[v(0x1be)]});}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a141r=a141d;(function(a,b){const o=a141d,c=a();while(!![]){try{const d=-parseInt(o(0xad))/0x1*(parseInt(o(0x97))/0x2)+parseInt(o(0xac))/0x3*(parseInt(o(0x9d))/0x4)+parseInt(o(0xa1))/0x5*(-parseInt(o(0x9b))/0x6)+-parseInt(o(0xa0))/0x7+-parseInt(o(0xaf))/0x8+parseInt(o(0x9e))/0x9+parseInt(o(0xb0))/0xa*(parseInt(o(0xa7))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a141c,0xcc4fd));const a141b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a141d;if(c){const e=c[p(0xaa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a141a=a141b(this,function(){const q=a141d;return a141a[q(0x9a)]()[q(0x95)](q(0xae))['toString']()[q(0x96)](a141a)[q(0x95)](q(0xae));});function a141c(){const t=['maka\x20g:publish\x20todos','index.','dir','engines','search','constructor','3234784oVJhcW','pathFromApp','startup','toString','6588954zrfPUC','template','36308ukrTpD','9035334CrhoWD','server','6809950XFLqew','5qMGRST','resourceName','globalPublish','injectAtEndOfFile','appPathPrefix','error','22121ormYvz','force','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','apply','imports','87sbjGJC','1YvwKiN','(((.+)+)+)+$','1043456JRvaoe','16850wDuUJm','import\x20\x27./publications'];a141c=function(){return t;};return a141c();}a141a();import{kebabCase,pascalCase}from'change-case';function a141d(a,b){const c=a141c();return a141d=function(d,e){d=d-0x90;let f=c[d];return f;},a141d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator['create']({'name':'publish','aliases':['p'],'usage':'maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','shortDesc':a141r(0xa9),'validOpts':[a141r(0xa8)],'requiredOpts':['globalPublish'],'mustBeInMakaProject':!![],'examples':[a141r(0x91)]},async function(a,b){const s=a141r;try{const {projectConfig:c,scaffold:d}=this,f=b[s(0xa8)]||![],g='/imports/startup/server/publications',h=kebabCase(b['resourceName']),i=d[s(0x98)]({'pathParts':[g,b[s(0x93)],'',h]});let j='js';c[s(0x94)]['js']==='tsx'&&(j='ts');const k={'name':b['resourceName'],'collection':pascalCase(b[s(0xa2)]),'noRename':!![],'globalPublish':b[s(0xa3)]};await d[s(0x9c)]({'srcPath':'publish/publish.js','destPath':i+'.'+j,'context':k,'config':c,'force':f});const l=d[s(0x98)]({'pathParts':[s(0xab),s(0x99),s(0x9f),b[s(0xa5)],s(0x92)+c[s(0x94)]['js']]}),m=b[s(0x93)]?'/'+b[s(0x93)]+'/':'/';await d[s(0xa4)]({'filePath':l,'content':s(0x90)+m+h+'\x27;'});}catch(n){Log[s(0xa6)](n),process['exit'](0x1);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a142r=a142d;(function(a,b){const o=a142d,c=a();while(!![]){try{const d=parseInt(o(0x19d))/0x1*(parseInt(o(0x19a))/0x2)+-parseInt(o(0x187))/0x3+parseInt(o(0x181))/0x4*(-parseInt(o(0x184))/0x5)+parseInt(o(0x18c))/0x6+-parseInt(o(0x182))/0x7+parseInt(o(0x19b))/0x8*(-parseInt(o(0x196))/0x9)+-parseInt(o(0x17f))/0xa*(-parseInt(o(0x180))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a142c,0xedab7));const a142b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a142d;if(c){const e=c[p(0x190)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a142a=a142b(this,function(){const q=a142d;return a142a['toString']()[q(0x18d)](q(0x198))[q(0x18f)]()['constructor'](a142a)[q(0x18d)](q(0x198));});a142a();function a142c(){const t=['260GaEeja','625867hbrqwj','4056ticgdR','8186353LCOrjT','filter','4695Cqjvcq','length','ssr','955998VSrZiY','routes.','findAppDirectory','join','<Route\x20index','10299528NnciPt','search','Please\x20specify\x20a\x20name\x20for\x20the\x20route.','toString','apply','</Route>','<Route\x20path=\x22*\x22','pop','resourceName','\x22\x20element={<Component.','81fkxkmS','split','(((.+)+)+)+$','engines','201290WJfGnA','432568KGvMeB','private','7ZeOlGe','toLowerCase','client','replace','error','route','startup','lib','<Route\x20element={<PrivateRoute\x20/>}>','imports'];a142c=function(){return t;};return a142c();}import a142e from'path';import{Generator}from'../generator.js';function a142d(a,b){const c=a142c();return a142d=function(d,e){d=d-0x17e;let f=c[d];return f;},a142d(a,b);}import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{pascalCase}from'change-case';const aliases=['r'];Generator['create']({'name':a142r(0x1a2),'mustBeInMakaProject':!![],'aliases':aliases,'validOpts':[{'name':a142r(0x19c),'boolFlag':!![]},{'name':a142r(0x1a2)}],'usage':'maka\x20{generate,\x20g}:{route,\x20r}','shortDesc':'Scaffolding\x20for\x20a\x20Route.','examples':[]},async function(a,b){const s=a142r,{fsi:c,scaffold:d,projectConfig:f}=this;try{const g=c[s(0x189)](),h=b[s(0x19c)]??![];let i=b[s(0x194)][s(0x197)]('/')[s(0x193)]();if(!i){Log[s(0x1a1)](s(0x18e));throw new UsageError();}i=pascalCase(i);let j=b[s(0x1a2)]?'/'+b[s(0x1a2)]:'/'+b[s(0x194)][s(0x1a0)](/\\/g,'/')[s(0x19e)]();a[s(0x185)]>0x1&&(j='/'+a[s(0x183)](function(n){return n!=='/';})[s(0x18a)]('/')[s(0x19e)]());j=j[s(0x1a0)](/\/\//g,'/');const k=f['engines']['js'],l=f[s(0x199)][s(0x186)]!=='none'?s(0x1a4):s(0x19f),m=a142e[s(0x18a)](g,s(0x17e),s(0x1a3),l,s(0x188)+k);h?await d['injectIntoFile']({'filePath':m,'content':'<Route\x20path=\x22'+j+s(0x195)+i+'/>}/>\x0a','begin':[s(0x1a5)],'end':[s(0x191)]}):await d['injectIntoFile']({'filePath':m,'content':'<Route\x20path=\x22'+j+s(0x195)+i+'/>}/>\x0a','begin':[s(0x18b)],'end':[s(0x192)]});}catch(n){Log[s(0x1a1)](n),process['exit'](0x1);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a143d(a,b){const c=a143c();return a143d=function(d,e){d=d-0x182;let f=c[d];return f;},a143d(a,b);}const a143r=a143d;(function(a,b){const o=a143d,c=a();while(!![]){try{const d=-parseInt(o(0x18d))/0x1+parseInt(o(0x197))/0x2*(parseInt(o(0x190))/0x3)+parseInt(o(0x19c))/0x4*(parseInt(o(0x196))/0x5)+-parseInt(o(0x19a))/0x6*(parseInt(o(0x19f))/0x7)+parseInt(o(0x18a))/0x8+-parseInt(o(0x19e))/0x9+-parseInt(o(0x193))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a143c,0x9d467));const a143b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a143d;if(c){const e=c[p(0x18e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a143a=a143b(this,function(){const q=a143d;return a143a[q(0x186)]()['search'](q(0x185))[q(0x186)]()[q(0x183)](a143a)['search'](q(0x185));});a143a();function a143c(){const t=['maka\x20g:svc\x20service-logger\x20--type=logger','466317oxFtol','7RKuWAD','Installing\x20winston','type','logger','service/logger/logger.js','constructor','imports','(((.+)+)+)+$','toString','projectConfig','lib','engines','8030496uQFFQT','startup','error','605622PFzJmQ','apply','resourceName','135hjNAvp','services','create','10565800eQhxUp','winston\x20setimmediate','service','18490pURsNw','42618QqtBnH','template','findAppDirectory','3440274wlAGiG','maka\x20{generate,\x20g}:{service}\x20<resource-name>','1048omTBLY'];a143c=function(){return t;};return a143c();}import{camelCase,kebabCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a143r(0x192)]({'name':a143r(0x195),'aliases':['svc'],'usage':a143r(0x19b),'shortDesc':'Generate\x20a\x20service\x20to\x20run\x20within\x20your\x20meteor\x20application.','mustBeInMakaProject':!![],'requiredOpts':[{'name':a143r(0x1a1),'values':[a143r(0x1a2)]}],'validOpts':[],'maxArgLength':0x1,'examples':[a143r(0x19d)]},async function(a,b){const s=a143r,{cfg:c,fsi:d,pkg:f,scaffold:g}=this;try{const h=this[s(0x187)],i=d[s(0x199)](),j=kebabCase(b['resourceName']),k={'name':pascalCase(b[s(0x18f)]),'fileName':j,'camelCase':camelCase(b[s(0x18f)]),'type':b[s(0x1a1)],'engine':h[s(0x189)]['js'],'noRename':!![]};let l='js';h[s(0x189)]['js']==='tsx'&&(l='ts');if(b['type']===s(0x1a2)){!f['checkNpmPackage']('winston')&&await f['installNpmPackage'](s(0x194),{'cwd':i,'msg':s(0x1a0)});const m=g['pathFromApp']({'pathParts':[s(0x184),s(0x18b),s(0x188),s(0x191),j+'.'+l]});await g[s(0x198)]({'srcPath':s(0x182),'destPath':m,'context':k,'config':h});}}catch(n){Log[s(0x18c)](n);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=
|
|
1
|
+
(function(a,b){var f=a144d,c=a();while(!![]){try{var d=parseInt(f(0xca))/0x1+parseInt(f(0xc3))/0x2*(-parseInt(f(0xc5))/0x3)+parseInt(f(0xc8))/0x4*(-parseInt(f(0xc6))/0x5)+parseInt(f(0xcc))/0x6+parseInt(f(0xc7))/0x7*(-parseInt(f(0xcd))/0x8)+-parseInt(f(0xc4))/0x9*(-parseInt(f(0xcf))/0xa)+parseInt(f(0xd0))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a144c,0x1adfb));function a144c(){var i=['259yFBsYc','8yHnExX','apply','148884UTvBRO','toString','1210866RYoUYy','1208hPKGRH','search','68970lbBqpY','193193EEskpg','(((.+)+)+)+$','53906DWvdhB','9iPwCqv','9vCqWGo','446585bOOKlM'];a144c=function(){return i;};return a144c();}var a144b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a144d;if(c){var e=c[g(0xc9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a144a=a144b(this,function(){var h=a144d;return a144a[h(0xcb)]()[h(0xce)](h(0xc2))['toString']()['constructor'](a144a)[h(0xce)](h(0xc2));});a144a();function a144d(a,b){var c=a144c();return a144d=function(d,e){d=d-0xc2;var f=c[d];return f;},a144d(a,b);}import'./translation.js';import'./openssl.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a145l=a145d;(function(a,b){const i=a145d,c=a();while(!![]){try{const d=parseInt(i(0xf4))/0x1+-parseInt(i(0xea))/0x2+parseInt(i(0xe9))/0x3+parseInt(i(0xfa))/0x4*(parseInt(i(0xf3))/0x5)+parseInt(i(0xe7))/0x6*(parseInt(i(0xfd))/0x7)+-parseInt(i(0xf0))/0x8*(-parseInt(i(0xef))/0x9)+-parseInt(i(0xee))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a145c,0xa5b20));const a145b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a145d;if(c){const e=c[j(0xe8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a145a=a145b(this,function(){const k=a145d;return a145a[k(0xed)]()[k(0xf2)](k(0xf5))[k(0xed)]()[k(0xff)](a145a)['search']('(((.+)+)+)+$');});a145a();import{Generator}from'../../generator.js';function a145c(){const n=['2043csYvFq','24552cqjvMK','getMakaProjectConfig','search','470uOzAZb','846618LMjYAb','(((.+)+)+)+$','env','maka\x20g:sslconfig\x20--env\x20dev','_keys','service','47896cjwbcx','openssl/openssl.conf','Generate\x20a\x20new\x20openssl\x20config\x20file','245KyRrmE','appName','constructor','89178gZgrxu','apply','350886kZpEit','2676682tiRyOp','template','error','toString','12889750zJrlSr'];a145c=function(){return n;};return a145c();}function a145d(a,b){const c=a145c();return a145d=function(d,e){d=d-0xe7;let f=c[d];return f;},a145d(a,b);}import{Log}from'../../tools/log/log.class.js';import a145e from'path';Generator['create']({'name':'sslconfig','usage':'maka\x20{generate,\x20g}:sslconfig','shortDesc':a145l(0xfc),'resourceNameRequired':![],'requiredOpts':[a145l(0xf6)],'examples':[a145l(0xf7)],'validOpts':[]},async function(a,b){const m=a145l;try{const c=this['cfg'][m(0xf1)](),d=this['cfg']['getAppConfigPath'](b[m(0xf6)]),f=a145e['join'](d,m(0xf8),'openssl.conf'),g={'app':c[m(0xfe)],'noRename':!![]};await this['scaffold'][m(0xeb)]({'srcPath':m(0xfb),'destPath':f,'framework':m(0xf9),'context':g,'config':c});}catch(h){Log[m(0xec)](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a146c(){const F=['i18n/locales.js','engines','Locale\x20already\x20defined:\x20','i18next','apply','import\x20\x27../lib/services/translations/i18n\x27;','i18n.js','maka\x20g:translation\x20--lang=en\x20(default)','i18n/index.js','search','maka\x20{generate,\x20g}:translation','253926TwmPMa','constructor','64uFXXAA','import\x20\x27../lib/services/translations/i18n\x27;\x0a','Generate\x20a\x20new\x20locale\x20translation','13823843iIHQfx','meteor','features.withTranslations','4meNoTg','pathFromApp','lang','293124KpvSSx','\x0a\x20\x20Generate\x20a\x20new\x20locale\x20translation\x20file.\x0a\x0a\x20\x20\x20\x20--lang\x20\x20The\x20language\x20code\x20for\x20the\x20new\x20locale\x20file.\x20(i.e.\x20en,\x20fr,\x20de)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20and\x20must\x20be\x20the\x20two\x20character\x20language\x20code.\x0a\x20\x20','startup','client','42MDjzsH','imports','default\x20as\x20','translation','error','service','maka\x20g:translation\x20--lang=de','findAppDirectory','ssr','setProjectConfig','index.','locales','template','export\x20{\x20default\x20as\x20','readFileSync','grep','create','translations','\x20}\x20from\x20\x27./','70dTmWpE','363069nFqkQU','2194857TEXyoA','isFile','warn','toString','12nhZHbo','lib','checkNpmPackage','injectAtEndOfFile','rewriteDestinationPathForEngine','services','3122315dRhmwK','.js','injectAtBeginningOfFile','exit','root','17268DWNeeA','maka\x20g:translation\x20--lang=fr','index.js','(((.+)+)+)+$'];a146c=function(){return F;};return a146c();}const a146D=a146d;(function(a,b){const A=a146d,c=a();while(!![]){try{const d=-parseInt(A(0x147))/0x1*(parseInt(A(0x16b))/0x2)+parseInt(A(0x15c))/0x3+parseInt(A(0x140))/0x4*(-parseInt(A(0x166))/0x5)+parseInt(A(0x143))/0x6+parseInt(A(0x15b))/0x7*(-parseInt(A(0x13a))/0x8)+parseInt(A(0x138))/0x9*(-parseInt(A(0x15a))/0xa)+parseInt(A(0x13d))/0xb*(parseInt(A(0x160))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a146c,0x6ad9d));const a146b=(function(){let a=!![];return function(b,c){const d=a?function(){const B=a146d;if(c){const e=c[B(0x131)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a146a=a146b(this,function(){const C=a146d;return a146a[C(0x15f)]()[C(0x136)]('(((.+)+)+)+$')[C(0x15f)]()[C(0x139)](a146a)['search'](C(0x12c));});a146a();import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';import a146e from'fs';function a146d(a,b){const c=a146c();return a146d=function(d,e){d=d-0x12b;let f=c[d];return f;},a146d(a,b);}Generator[a146D(0x157)]({'name':a146D(0x14a),'usage':a146D(0x137),'aliases':['t'],'resourceNameRequired':![],'requiredOpts':[{'name':'lang','boolFlag':![],'regex':/^[a-z]{2}$/}],'mustBeInMakaProject':!![],'shortDesc':a146D(0x13c),'description':a146D(0x144),'examples':[a146D(0x134),a146D(0x16c),a146D(0x14d)],'validOpts':[]},async function(a,b){const E=a146D;try{const {fsi:c,scaffold:d,pkg:f,cfg:g,projectConfig:h}=this,i=c[E(0x14e)]();!b[E(0x142)]&&(b[E(0x142)]='en');!b[E(0x16a)]&&!f[E(0x162)](E(0x130))&&(Log[E(0x15e)]('Verifying\x20npm\x20package\x20requirements:\x20i18next\x20...'),f['installNpmPackage']('i18next\x20i18next-browser-languagedetector\x20react-i18next',{'cwd':i}),g[E(0x150)](E(0x13f),!![]));const j=d[E(0x141)]({'pathParts':[E(0x148),E(0x145),E(0x146),E(0x12b)]}),k=d[E(0x164)]({'pathParts':[j],'config':h}),l=c['grep'](a146e[E(0x155)](k)[E(0x15f)](),E(0x132))[0x0]&&!![];if(h[E(0x12e)][E(0x14f)]===E(0x13e)){!l&&d[E(0x168)]({'filePath':k,'content':E(0x13b)});const w=d['pathFromApp']({'pathParts':['imports',E(0x145),'server',E(0x12b)]}),x=d[E(0x164)]({'pathParts':[w],'config':h}),y=c[E(0x156)](a146e[E(0x155)](x)[E(0x15f)](),E(0x132))[0x0]&&!![];!y&&d['injectAtBeginningOfFile']({'filePath':x,'content':'import\x20\x27../lib/services/translations/i18n\x27;\x0a'});}else!l&&d['injectAtBeginningOfFile']({'filePath':k,'content':E(0x13b)});const m={'app':h['appName'],'config':h},n=d[E(0x141)]({'pathParts':[E(0x148),E(0x145),E(0x161),'services',E(0x158),E(0x133)]}),o=c[E(0x15d)](d['rewriteDestinationPathForEngine']({'pathParts':[n],'config':h}));!o&&await d[E(0x153)]({'srcPath':'i18n/i18n.js','destPath':n,'framework':E(0x14c),'context':m,'config':h});const p=d[E(0x141)]({'pathParts':[E(0x148),E(0x145),E(0x161),E(0x165),E(0x158),E(0x152),b[E(0x142)]+E(0x167)]}),q=d[E(0x164)]({'pathParts':[p],'config':h}),r=c[E(0x15d)](q);!r?await this['scaffold'][E(0x153)]({'srcPath':E(0x12d),'destPath':p,'framework':'service','context':m,'config':h}):Log[E(0x15e)](E(0x12f)+q);const s=d[E(0x141)]({'pathParts':['imports',E(0x145),E(0x161),E(0x165),E(0x158),'locales',E(0x151)+h[E(0x12e)]['js']]}),t=d[E(0x164)]({'pathParts':[s],'config':h}),u=c[E(0x15d)](t);!u&&await d[E(0x153)]({'srcPath':E(0x135),'destPath':s,'framework':'service','context':m,'config':h});const v=c[E(0x156)](a146e[E(0x155)](s)['toString'](),E(0x149)+b['lang'])[0x0]&&!![];!v?await d[E(0x163)]({'filePath':s,'content':E(0x154)+b[E(0x142)]+E(0x159)+b[E(0x142)]+'\x27;'}):Log[E(0x15e)]('Locale\x20already\x20exported:\x20'+s);}catch(z){Log[E(0x14b)](z),process[E(0x169)](0x1);}});
|
package/bundle/obf/src/maka.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a147m=a147d;(function(a,b){const j=a147d,c=a();while(!![]){try{const d=-parseInt(j(0x103))/0x1+-parseInt(j(0x116))/0x2+-parseInt(j(0x113))/0x3+-parseInt(j(0x10d))/0x4*(-parseInt(j(0x10f))/0x5)+parseInt(j(0x10c))/0x6*(-parseInt(j(0x112))/0x7)+-parseInt(j(0x107))/0x8*(-parseInt(j(0x117))/0x9)+-parseInt(j(0x104))/0xa*(-parseInt(j(0xff))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a147c,0xe3729));const a147b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a147d;if(c){const e=c[k(0x101)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a147a=a147b(this,function(){const l=a147d;return a147a['toString']()[l(0x10b)]('(((.+)+)+)+$')['toString']()[l(0x110)](a147a)[l(0x10b)](l(0x111));});a147a();import a147e from'minimist';function a147d(a,b){const c=a147c();return a147d=function(d,e){d=d-0xff;let f=c[d];return f;},a147d(a,b);}import a147f from'os';import a147g from'path';import a147h from'humps';import a147i from'./commands/maka.cmd.js';import'./commands/_index.js';import'./generators/_index.js';import{fileURLToPath}from'url';const __filename=fileURLToPath(import.meta[a147m(0x109)]),__dirname=a147g[a147m(0x108)](__filename);global['MAKA_COMMAND_PATH']=__dirname;const total_memory=a147f['totalmem'](),total_mem_in_kb=total_memory/0x400;let total_mem_in_mb=total_mem_in_kb/0x400;total_mem_in_mb=Math[a147m(0x105)](total_mem_in_mb),process[a147m(0x115)]['TOOL_NODE_FLAGS']=a147m(0x10a)+total_mem_in_mb,process[a147m(0x115)][a147m(0x118)]='1',process[a147m(0x115)][a147m(0x114)]='1';const argv=a147e(process['argv'][a147m(0x100)](0x2)),args=argv['_'],deepCopyArgv=JSON[a147m(0x10e)](JSON[a147m(0x102)](argv));delete deepCopyArgv['_'];function a147c(){const n=['dirname','url','--max-old-space-size=','search','8117922uFfapk','3360556LAoMuj','parse','5KOUmSY','constructor','(((.+)+)+)+$','7pwqKLg','2234988EzcYXH','NODE_NO_WARNINGS','env','2896296rYSuSB','531Zrfnrb','BROWSERSLIST_IGNORE_OLD_DATA','32547779DbPLTU','slice','apply','stringify','1111391RIKHpy','10VypzMD','floor','camelizeKeys','242728GsucSd'];a147c=function(){return n;};return a147c();}const opts=a147h[a147m(0x106)](deepCopyArgv);a147i['run'](args,opts);
|
package/bundle/obf/src/tool.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a148z=a148d;(function(a,b){const w=a148d,c=a();while(!![]){try{const d=parseInt(w(0xda))/0x1*(-parseInt(w(0xb9))/0x2)+-parseInt(w(0xc3))/0x3+parseInt(w(0xa1))/0x4+parseInt(w(0xe4))/0x5*(-parseInt(w(0xb1))/0x6)+parseInt(w(0xb5))/0x7+parseInt(w(0xca))/0x8+parseInt(w(0xe3))/0x9*(-parseInt(w(0xbb))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a148c,0x3dd5e));const a148b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a148d;if(c){const e=c[x(0xcb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a148a=a148b(this,function(){const y=a148d;return a148a[y(0xd7)]()[y(0xe2)](y(0xdd))[y(0xd7)]()[y(0xdf)](a148a)[y(0xe2)]('(((.+)+)+)+$');});a148a();import a148e from'path';import a148f from'os';import a148g from'fs';import{Docker}from'./tools/docker/docker.class.js';import{AWS}from'./tools/aws/aws.class.js';import{FSI}from'./tools/fsi/fsi.class.js';import{CFG}from'./tools/cfg/cfg.class.js';import{MPI}from'./tools/mpi/mpi.class.js';import{Log}from'./tools/log/log.class.js';import{PKG}from'./tools/pkg/pkg.class.js';function a148c(){const Q=['Invalid\x20option:\x20','Invalid\x20argument:\x20','length','name','validateUserIsLoggedIn','Please\x20choose\x20an\x20environment','map','match','No\x20description\x20provided.','None','validateMakaProject','This\x20command\x20needs\x20a\x20higher\x20environment\x20to\x20run\x20(other\x20than\x20local).\x20Please\x20create\x20a\x20new\x20environment;\x20`maka\x20g:config\x20development`','experimental','remapShortToLong','options','_handler','win32','formatToNamedParam','1542660xXNrLu','error','cwd','getInstance','validateInputOptions','askForOption','mpi','.meteor','resourceName','fsi','keys','parent','pkg','homedir','env','assign','6CyvfDY','shortDesc','aliases','findProjectDirectory','3537296bykiZj','push','AppData','usage','6oOpHjq','join','10fINfCG','validateMeteorInstall','select','scaffold','string','indexOf','every','engines','75261hgOKup','ask','getAppProjectConfigs','getMakaProjectConfig','cfg','validateParams','\x20installed\x20to\x20use\x20this\x20command.','2579560uiJHyV','apply','existsSync','dir','description','includes','getShortName','examples','\x20version\x20','filter','platform','Please\x20provide\x20a\x20value\x20for\x20','You\x20must\x20be\x20in\x20a\x20maka\x20project\x20to\x20run\x20this\x20command.','toString','Invalid\x20value\x20for\x20','root','121601APEeze','Please\x20provide\x20a\x20resource\x20name:','validateEngines','(((.+)+)+)+$','aws','constructor','charAt','Local','search','660591uyLQjs','2484355KxeWQU','No\x20usage\x20provided.','docker'];a148c=function(){return Q;};return a148c();}import{Scaffold}from'./tools/scaffold/scaffold.class.js';import{Actions}from'./tools/actions/actions.class.js';function a148d(a,b){const c=a148c();return a148d=function(d,e){d=d-0x9d;let f=c[d];return f;},a148d(a,b);}import{UsageError,MustBeInProjectError}from'./error.js';const homeDir=a148f[a148z(0xae)]();export class Tool{[a148z(0xe6)];['fsi'];[a148z(0xc7)];[a148z(0xa7)];[a148z(0xad)];[a148z(0xde)];['scaffold'];[a148z(0x9d)];['name'];['parent'];[a148z(0x9e)];constructor(){const A=a148z;this[A(0xe6)]=new Docker(),this['fsi']=FSI[A(0xa4)](),this[A(0xc7)]=CFG[A(0xa4)](this[A(0xaa)]),this[A(0xad)]=PKG[A(0xa4)](this['fsi']),this['mpi']=MPI[A(0xa4)](this[A(0xaa)],this['cfg'],this[A(0xad)]),this['aws']=AWS['getInstance'](this[A(0xaa)],this[A(0xc7)],this[A(0xbe)]),this[A(0xbe)]=Scaffold[A(0xa4)](this[A(0xaa)],this[A(0xa7)]);}[a148z(0xd0)](a){const B=a148z;return a[B(0xe0)](0x0);}['remapShortToLong'](a,b){const C=a148z,c=this[C(0xa0)](b),d={...a};for(const e of c){const f=this['getShortName'](e['name']);a[f]&&(d[e[C(0xea)]]=a[f],delete d[f]);}return d;}[a148z(0xa0)](a){const D=a148z;if(a[D(0xc1)](b=>typeof b===D(0xbf)))return a['map'](b=>({'name':b}));return a;}['match'](a){const E=a148z,b=[this[E(0xea)]]['concat'](this[E(0x9d)][E(0xb3)]||[]);return this[E(0xac)]&&b[E(0xb6)](this['parent']),b[E(0xcf)](a);}[a148z(0xf1)](){const F=a148z,a=this['fsi'][F(0xb4)]();return a!==undefined;}async[a148z(0xeb)](){return!![];}[a148z(0xbc)](){const G=a148z,a=process[G(0xd4)]===G(0x9f),b=a?a148e[G(0xba)](homeDir,G(0xb7),G(0xe1),'.meteor'):a148e['join'](homeDir,G(0xa8));return a148g[G(0xcc)](b);}async[a148z(0xdc)](a){const H=a148z,b=this[H(0xc7)][H(0xc6)]();if(!b)throw MustBeInProjectError;const c=b[H(0xc2)],d=Object[H(0xab)](a);if(d[H(0xe9)]>0x0)for(const e of d){const f=c[e];if(f!==a[e]){Log['error']('You\x20must\x20have\x20'+e+H(0xd2)+a[e]+H(0xc9));throw UsageError;}}}async[a148z(0xc8)](a,b,c){const I=a148z,{requiredOpts:d,validArgs:e,validOpts:f,resourceNameRequired:g,mustBeInMakaProject:h}=c;if(h&&!this[I(0xf1)]()){Log[I(0xa2)](I(0xd6));throw MustBeInProjectError;}b[I(0xa9)]===undefined&&g===!![]&&(b['resourceName']=await Actions[I(0xc4)](I(0xdb)));let i=[],j=b;if(d){i=this[I(0xa0)](d),j=this[I(0xf4)](b,i);for(const m of i){const {name:n,values:o,regex:p}=m;if(!Object[I(0xab)](j)['includes'](n)){if(n===I(0xaf)){const q=this[I(0xc7)][I(0xc5)]()[I(0xd3)](r=>r!=='local')[I(0xed)](r=>({'name':r,'value':r}));q[I(0xe9)]===0x0&&(Log[I(0xa2)](I(0xf2)),process['exit'](0x1)),b[I(0xaf)]=await Actions['select']({'name':I(0xaf),'message':I(0xec),'choices':q});}else b[n]=await this[I(0xa6)](n,o,p);}else{if(o&&!o[I(0xcf)](j[n])){Log['error'](I(0xd8)+n+':\x20'+j[n]);throw new UsageError();}}}}let k=this[I(0xa0)](f),l=b;if(k&&k[I(0xe9)]>0x0){k=k['concat'](i||[]),k['push']({'name':I(0xa9),'hidden':!![]}),k[I(0xb6)]({'name':'help','boolFlag':!![]}),k['push']({'name':I(0xcd),'hidden':!![]}),k['push']({'name':I(0xa3),'hidden':!![]}),k[I(0xb6)]({'name':I(0xd9),'hidden':!![]}),k[I(0xb6)]({'name':'config','hidden':!![]}),l=this[I(0xf4)](b,k);for(const r of k){const {name:s,values:t}=r,u=l[s];u!==undefined&&t&&!t[I(0xcf)](u)&&(l[s]=await Actions[I(0xbd)]({'name':s,'message':'Please\x20choose\x20a\x20valid\x20value\x20for\x20'+s,'choices':t['map'](v=>({'name':v,'value':v}))})),this[I(0xa5)](l,k);}}if(e&&e[I(0xe9)]>0x0)for(const v of a){!e[I(0xcf)](v)&&(Log[I(0xa2)](I(0xe8)+v),a[a[I(0xc0)](v)]=await Actions[I(0xc4)]('Please\x20provide\x20a\x20valid\x20argument\x20for\x20'+v));}return Object[I(0xb0)](j,l);}async[a148z(0xa6)](a,b,c){const J=a148z;if(b)return Actions[J(0xbd)]({'name':a,'message':'Please\x20choose\x20a\x20value\x20for\x20'+a,'choices':b[J(0xed)](d=>({'name':d,'value':d}))});else{if(c){const d=await Actions['ask'](J(0xd5)+a);if(d[J(0xee)](c))return d;else{Log['error'](J(0xd8)+a+':\x20'+d);throw new UsageError();}}else return Actions[J(0xc4)](J(0xd5)+a);}}['validateInputOptions'](a,b){const K=a148z;for(const c of Object[K(0xab)](a)){const d=b['find'](e=>e[K(0xea)]===c);if(!d){Log[K(0xa2)](K(0xe7)+c);throw new UsageError();}}}[a148z(0xce)](){const L=a148z;return this[L(0x9d)][L(0xce)]||this['options'][L(0xb2)]||L(0xef);}['shortDesc'](){return this['options']['shortDesc']||'NIE';}[a148z(0xb8)](){const M=a148z;return this[M(0x9d)][M(0xb8)]||M(0xe5);}[a148z(0xd1)](){const N=a148z;return this['options'][N(0xd1)]||[];}['aliases'](){const O=a148z;return this[O(0x9d)][O(0xb3)]||O(0xf0);}[a148z(0xf3)](){const P=a148z;return this[P(0x9d)]['experimental']||![];}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a149i=a149d;function a149c(){const l=['2MliFhU','4166730cRZzPy','34280eHVIuj','search','4295NnMdAs','message','842184fUiwLe','1200856oFjcqz','constructor','apply','(((.+)+)+)+$','ask','select','1572tiFiQs','checkbox','choices','confirm','7gAAQdo','toString','94284wlyCVp','543969LFLMod'];a149c=function(){return l;};return a149c();}(function(a,b){const f=a149d,c=a();while(!![]){try{const d=parseInt(f(0xdf))/0x1*(-parseInt(f(0xe1))/0x2)+parseInt(f(0xde))/0x3+parseInt(f(0xdd))/0x4+parseInt(f(0xe3))/0x5*(-parseInt(f(0xd7))/0x6)+parseInt(f(0xdb))/0x7*(-parseInt(f(0xd1))/0x8)+-parseInt(f(0xe5))/0x9+parseInt(f(0xe0))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a149c,0x1cf12));function a149d(a,b){const c=a149c();return a149d=function(d,e){d=d-0xd1;let f=c[d];return f;},a149d(a,b);}const a149b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a149d;if(c){const e=c[g(0xd3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a149a=a149b(this,function(){const h=a149d;return a149a[h(0xdc)]()['search'](h(0xd4))['toString']()[h(0xd2)](a149a)[h(0xe2)]('(((.+)+)+)+$');});a149a();import{input,confirm,password,select,checkbox}from'@inquirer/prompts';export class Actions{static async[a149i(0xd5)](a,b){const c=await(b?password({'message':a}):input({'message':a}));return c;}static async[a149i(0xda)](a,b=![]){const c=await confirm({'message':a,'default':b});return c;}static async[a149i(0xd6)](a){const j=a149i,b=await select({'message':a['message'],'choices':a[j(0xd9)]});return b;}static async[a149i(0xd8)](a){const k=a149i,b=await checkbox({'message':a[k(0xe4)],'choices':a[k(0xd9)]});return b;}}
|