@maka/maka-cli 5.1.15 → 5.1.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/obf/package.json +1 -2
- package/bundle/obf/src/command.js +1 -1
- package/bundle/obf/src/commands/_index.js +1 -1
- package/bundle/obf/src/commands/ai.js +1 -1
- package/bundle/obf/src/commands/aws/_index.js +1 -1
- package/bundle/obf/src/commands/aws/aws.command.js +1 -1
- package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/build/_index.js +1 -1
- package/bundle/obf/src/commands/build/build.js +1 -1
- package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/create.js +1 -1
- package/bundle/obf/src/commands/debug.js +1 -1
- package/bundle/obf/src/commands/deploy/_index.js +1 -1
- package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
- package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/_index.js +1 -1
- package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/play.command.js +1 -1
- package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/generate.js +1 -1
- package/bundle/obf/src/commands/get/_index.js +1 -1
- package/bundle/obf/src/commands/get/get.command.js +1 -1
- package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/help.js +1 -1
- package/bundle/obf/src/commands/install.js +1 -1
- package/bundle/obf/src/commands/jsdoc.js +1 -1
- package/bundle/obf/src/commands/lint.js +1 -1
- package/bundle/obf/src/commands/login.js +1 -1
- package/bundle/obf/src/commands/logout.js +1 -1
- package/bundle/obf/src/commands/logs.js +1 -1
- package/bundle/obf/src/commands/maka.cmd.js +1 -1
- package/bundle/obf/src/commands/murder.js +1 -1
- package/bundle/obf/src/commands/profile.js +1 -1
- package/bundle/obf/src/commands/proxy.js +1 -1
- package/bundle/obf/src/commands/reconfig.js +1 -1
- package/bundle/obf/src/commands/register.js +1 -1
- package/bundle/obf/src/commands/run/_index.js +1 -1
- package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/run/run.command.js +1 -1
- package/bundle/obf/src/commands/set/_index.js +1 -1
- package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/set.command.js +1 -1
- package/bundle/obf/src/commands/ssh.js +1 -1
- package/bundle/obf/src/commands/ssl.js +1 -1
- package/bundle/obf/src/commands/testCmd/_index.js +1 -1
- package/bundle/obf/src/commands/testCmd/jest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/testCmd/mocha.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/testCmd/test.command.js +1 -1
- package/bundle/obf/src/commands/undo.js +1 -1
- package/bundle/obf/src/commands/uninstall.js +1 -0
- package/bundle/obf/src/commands/version/_index.js +1 -1
- package/bundle/obf/src/commands/version/list.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/version/use.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/version/version.js +1 -1
- package/bundle/obf/src/error.js +1 -1
- package/bundle/obf/src/exec.js +1 -1
- package/bundle/obf/src/generator.js +1 -1
- package/bundle/obf/src/generators/_index.js +1 -1
- package/bundle/obf/src/generators/api.js +1 -1
- package/bundle/obf/src/generators/aws/_index.js +1 -1
- package/bundle/obf/src/generators/aws/aws.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
- package/bundle/obf/src/generators/collection.js +1 -1
- package/bundle/obf/src/generators/component.js +1 -1
- package/bundle/obf/src/generators/config.js +1 -1
- package/bundle/obf/src/generators/dbc.js +1 -1
- package/bundle/obf/src/generators/dockerfile.js +1 -1
- package/bundle/obf/src/generators/hook.js +1 -1
- package/bundle/obf/src/generators/kits/_index.js +1 -1
- package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
- package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
- package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
- package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
- package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
- package/bundle/obf/src/generators/kits/kit.js +1 -1
- package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
- package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
- package/bundle/obf/src/generators/layout.js +1 -1
- package/bundle/obf/src/generators/maka.gen.js +1 -1
- package/bundle/obf/src/generators/methods.js +1 -1
- package/bundle/obf/src/generators/package.js +1 -1
- package/bundle/obf/src/generators/page.js +1 -1
- package/bundle/obf/src/generators/publish.js +1 -1
- package/bundle/obf/src/generators/route.js +1 -1
- package/bundle/obf/src/generators/service.js +1 -1
- package/bundle/obf/src/generators/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/translation.js +1 -1
- package/bundle/obf/src/maka.js +1 -1
- package/bundle/obf/src/tool.js +1 -1
- package/bundle/obf/src/tools/actions/actions.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
- package/bundle/obf/src/tools/cfg/cfg.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
- package/bundle/obf/src/tools/https/https.class.js +1 -1
- package/bundle/obf/src/tools/https/https.interface.js +1 -1
- package/bundle/obf/src/tools/log/log.class.js +1 -1
- package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
- package/bundle/obf/src/tools/mpi/mpi.class.js +1 -1
- package/bundle/obf/src/tools/options/options.class.js +1 -1
- package/bundle/obf/src/tools/pkg/pkg.class.js +1 -1
- package/bundle/obf/src/tools/progress/progress.class.js +1 -1
- package/bundle/obf/src/tools/scaffold/scaffold.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
- package/package.json +1 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a136j=a136d;function a136d(a,b){const c=a136c();return a136d=function(d,e){d=d-0x1e1;let f=c[d];return f;},a136d(a,b);}(function(a,b){const g=a136d,c=a();while(!![]){try{const d=parseInt(g(0x1ef))/0x1*(parseInt(g(0x1f5))/0x2)+parseInt(g(0x1f8))/0x3*(parseInt(g(0x1f2))/0x4)+parseInt(g(0x1f9))/0x5*(-parseInt(g(0x1f7))/0x6)+parseInt(g(0x1eb))/0x7*(-parseInt(g(0x1e9))/0x8)+-parseInt(g(0x205))/0x9*(-parseInt(g(0x1e5))/0xa)+parseInt(g(0x1e6))/0xb+-parseInt(g(0x1ee))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a136c,0x8df97));const a136b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a136d;if(c){const e=c[h(0x1e8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a136a=a136b(this,function(){const i=a136d;return a136a['toString']()[i(0x1e7)]('(((.+)+)+)+$')['toString']()[i(0x1fd)](a136a)['search'](i(0x1fa));});a136a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';function a136c(){const l=['maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','constructor','Material-UI\x20Kit','create','kit:mui:frame','notice','kit:mui:auth','maka\x20g:kit:m','exit','553563wKSKYl','info','length','getMakaProjectConfig','\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','20NHPlHM','2524610YYpsdX','search','apply','81520sfNXHS','kitChoices','518efkXFR','No\x20MUI\x20kits\x20selected.\x20Exiting.','processAndRunGenerator','2844024mPuIqg','278861lmDiJJ','auth','fsi','4DCUeOk','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','mui','6QEYuZY','cfg','135678IAOquV','1489641hSZwcx','25vkLGoL','(((.+)+)+)+$','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?'];a136c=function(){return l;};return a136c();}import a136e from'../../../generators/maka.gen.js';import a136f from'../kit.js';const MuiGen=Generator[a136j(0x1ff)]({'name':a136j(0x1f4),'aliases':['m'],'usage':a136j(0x1fc),'resourceNameRequired':![],'shortDesc':a136j(0x1fe),'validOpts':[''],'isPro':!![],'examples':[a136j(0x203)]},async function(){const k=a136j;try{Log[k(0x1e1)](k(0x1f3)),Log[k(0x201)](k(0x1e4));const a=await Actions['checkbox']({'message':k(0x1fb),'name':k(0x1ea),'choices':[{'name':'Header,\x20Footer,\x20and\x20Drawer','value':'frame'},{'name':'Auth\x20workflow\x20(login,\x20logout,\x20etc.)','value':k(0x1f0)}]}),b=this[k(0x1f1)]['findProjectDirectory'](),c=this[k(0x1f6)][k(0x1e3)]();a['includes']('frame')&&await a136e[k(0x1ed)](k(0x200),[],{'force':!![],'cwd':b,'config':c});a['includes'](k(0x1f0))&&await a136e['processAndRunGenerator'](k(0x202),[],{'force':!![],'cwd':b,'config':c});if(a[k(0x1e2)]===0x0){Log[k(0x1e1)](k(0x1ec));return;}}catch(d){Log['error'](d),process[k(0x204)](0x1);}},async function(){},a136f);export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a137s=a137d;(function(a,b){const p=a137d,c=a();while(!![]){try{const d=-parseInt(p(0xcb))/0x1*(parseInt(p(0xe7))/0x2)+parseInt(p(0xd6))/0x3*(-parseInt(p(0xf2))/0x4)+-parseInt(p(0xdb))/0x5*(parseInt(p(0xe1))/0x6)+parseInt(p(0xf6))/0x7+-parseInt(p(0xe2))/0x8*(parseInt(p(0xc0))/0x9)+-parseInt(p(0xf1))/0xa+parseInt(p(0xd9))/0xb*(parseInt(p(0xec))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a137c,0x41404));const a137b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a137d;if(c){const e=c[q(0xcf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a137a=a137b(this,function(){const r=a137d;return a137a[r(0xcd)]()[r(0xd4)]('(((.+)+)+)+$')[r(0xcd)]()[r(0xd7)](a137a)['search']('(((.+)+)+)+$');});a137a();import a137e 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':a137s(0xe9),'aliases':aliases,'usage':a137s(0xee),'shortDesc':a137s(0xc7),'validOpts':[a137s(0xef)],'mustBeInMakaProject':!![],'examples':[a137s(0xc9),a137s(0xda)]},async function(a,b){const t=a137s,{projectConfig:c,fsi:d,cfg:e,pkg:f,scaffold:g}=this,h=t(0xe4),i=d['findAppDirectory'](),j=g[t(0xe5)]({'pathParts':[h,b[t(0xf0)],kebabCase(b[t(0xd2)]),kebabCase(b[t(0xd2)])]});typeof c[t(0xeb)]['test']===t(0xd8)&&e['setTemplate'](t(0xd5),c['template'][t(0xd5)]);typeof c[t(0xeb)]['css']===t(0xd8)&&e['setTemplate'](t(0xe3),c[t(0xeb)][t(0xe3)]);typeof c[t(0xeb)]['js']==='string'&&e['setTemplate']('js',c[t(0xeb)]['js']);const k=b['_']?b['_'][0x0][t(0xed)](':')[0x1]:![],l=b['_']&&aliases[t(0xf4)](k);l&&!f[t(0xbf)]('ramda')&&(Log[t(0xd3)](t(0xca)),f[t(0xc1)](t(0xc2),{'cwd':i}));if(l&&!f['checkNpmPackage'](t(0xc6))){Log[t(0xd3)](t(0xe8));return;}const m={'name':pascalCase(b['resourceName']),'myPath':a137e[t(0xdd)](d[t(0xd0)](),j),'cssCaseName':kebabCase(b[t(0xd2)]),'className':pascalCase(b[t(0xd2)]),'camelCaseName':camelCase(b[t(0xd2)]),'fileName':kebabCase(b['resourceName']),'graphql':c[t(0xce)]['graphql'],'features':c[t(0xcc)],'client':c['engines'][t(0xf3)],'api':c[t(0xce)][t(0xf7)],'ssr':c[t(0xce)]['ssr'],'test':c[t(0xce)][t(0xd5)],'theme':c[t(0xce)][t(0xdf)],'isComponent':![],'isLayout':!![],'withTranslations':c[t(0xcc)]['withTranslations']};c['features']?.[t(0xe0)]||b[t(0xef)]?await g[t(0xeb)]({'srcPath':t(0xdc),'destPath':j+t(0xea),'framework':t(0xc6),'context':m,'config':c}):await g[t(0xeb)]({'srcPath':'component/component.js','destPath':j+t(0xea),'framework':t(0xc6),'context':m,'config':c});c['engines'][t(0xd5)]!==t(0xc4)&&await g[t(0xeb)]({'srcPath':'test/test.js','destPath':j+'.app-tests.js','framework':t(0xc6),'context':m,'config':c});c[t(0xeb)]['css']&&(await g[t(0xeb)]({'srcPath':t(0xc3),'destPath':j+t(0xc5),'context':Object[t(0xf5)]({},m,{'className':kebabCase(b['resourceName'])}),'config':c}),await g['injectAtBeginningOfFile']({'filePath':j+'.'+c[t(0xce)]['js'],'content':t(0xe6)+m[t(0xde)]+'.'+c[t(0xce)]['css']+'\x27;'}));const n=b[t(0xf0)]?'/'+b[t(0xf0)]+'/':'/',o=''+h+n+m[t(0xde)]+'/'+m[t(0xde)];await g[t(0xd1)](m[t(0xc8)],c,o);});function a137d(a,b){const c=a137c();return a137d=function(d,e){d=d-0xbf;let f=c[d];return f;},a137d(a,b);}function a137c(){const u=['installNpmPackage','ramda','template/template.css','none','.css','react','Scaffolding\x20for\x20a\x20React\x20Layout.','className','maka\x20g:layout\x20mobile/iPhone8','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','3301zpJQNU','features','toString','engines','apply','findProjectDirectory','injectTemplateModule','resourceName','warn','search','test','730968JjVhNm','constructor','string','19976gJXIpx','maka\x20g:l\x20web/safari','2501475ZsLJFk','hook/hook.js','relative','fileName','theme','withHooks','6VGVuOk','2264ZwEpuM','css','/imports/ui/layouts','pathFromApp','import\x20\x27./','54omLzhl','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','layout','.js','template','4764DWeBhi','split','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','withHook','dir','348970ANzlhY','4upUvrJ','client','includes','assign','3032764PvGjDF','api','checkNpmPackage','603FBdlIT'];a137c=function(){return u;};return a137c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a138i=a138d;(function(a,b){const f=a138d,c=a();while(!![]){try{const d=-parseInt(f(0x107))/0x1+-parseInt(f(0x10f))/0x2*(parseInt(f(0xff))/0x3)+parseInt(f(0x111))/0x4+-parseInt(f(0xfe))/0x5+parseInt(f(0x104))/0x6*(parseInt(f(0x10e))/0x7)+-parseInt(f(0xfd))/0x8*(-parseInt(f(0x102))/0x9)+parseInt(f(0x10a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a138c,0x36803));const a138b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a138d;if(c){const e=c[g(0x100)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a138a=a138b(this,function(){const h=a138d;return a138a[h(0x105)]()[h(0x106)]('(((.+)+)+)+$')[h(0x105)]()[h(0x10d)](a138a)[h(0x106)](h(0x108));});function a138d(a,b){const c=a138c();return a138d=function(d,e){d=d-0xfd;let f=c[d];return f;},a138d(a,b);}a138a();function a138c(){const j=['generate','4470580PtCXAY','Scaffold\x20various\x20parts\x20of\x20your\x20application','maka\x20{generate,\x20g}:<generator>\x20<name>','constructor','7gkpyzH','2pbAGOQ','maka\x20g:package\x20package:name','221560dSeuvb','1529384lzkHpP','1932250alyjkD','1193925PHltgb','apply','maka\x20generate:scaffold\x20todos','18lbovzL','maka\x20g:api\x20trucks','2479602fovKTP','toString','search','290401wzTwBT','(((.+)+)+)+$'];a138c=function(){return j;};return a138c();}import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a138i(0x109),'aliases':['g'],'usage':a138i(0x10c),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'resourceNameRequired':![],'shortDesc':a138i(0x10b),'examples':[a138i(0x101),'maka\x20g:scaffold\x20todos','maka\x20g:template\x20todos/todo_item',a138i(0x110),'maka\x20g:route\x20todos/edit',a138i(0x103),'maka\x20g:dbc\x20geoserver\x20--type=pgsql']},async function(){});export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a139m=a139d;(function(a,b){const k=a139d,c=a();while(!![]){try{const d=parseInt(k(0x10e))/0x1+parseInt(k(0x114))/0x2*(parseInt(k(0x118))/0x3)+-parseInt(k(0x12c))/0x4*(-parseInt(k(0x12d))/0x5)+-parseInt(k(0x12a))/0x6+-parseInt(k(0x126))/0x7+parseInt(k(0x111))/0x8+-parseInt(k(0x11d))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a139c,0x8145b));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 l=a139d;return a139a[l(0x12b)]()['search'](l(0x112))['toString']()['constructor'](a139a)['search'](l(0x112));});function a139c(){const o=['802456TBZaMr','appPathPrefix','imports','2743008Lukowt','(((.+)+)+)+$','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','26818ITPRoK','tsx','index.','-rpc-method\x27;','21KysNoc','method/method.js','resourceName','engines','scaffold','802773bjDCjh','maka:check','mdg:validated-method','template','dir','import\x20\x27./methods','pathFromApp','checkMeteorPackage','maka\x20{generate,\x20g}:{method,\x20m}\x20name','3675805wkGVOI','error','startup','injectAtEndOfFile','4897260akQKez','toString','8fmUVCm','1802065bIKFIx','maka\x20g:method\x20todos'];a139c=function(){return o;};return a139c();}function a139d(a,b){const c=a139c();return a139d=function(d,e){d=d-0x10d;let f=c[d];return f;},a139d(a,b);}a139a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';Generator['create']({'name':'method','aliases':['m'],'usage':a139m(0x125),'mustBeInMakaProject':!![],'checkWhere':!![],'shortDesc':a139m(0x113),'validOpts':['dir'],'examples':[a139m(0x10d)]},async function(a,b){const n=a139m;try{const c=this['projectConfig'],d=b[n(0x121)]?'/'+b['dir']+'/':'/',f=kebabCase(b[n(0x11a)]),g={'name':b[n(0x11a)],'fileName':f,'className':pascalCase(b[n(0x11a)]),'camelCase':camelCase(b['resourceName']),'noRename':!![]};let h='js';c[n(0x11b)]['js']===n(0x115)&&(h='ts');await this['pkg'][n(0x124)]([n(0x11e),'ddp-rate-limiter',n(0x11f)],{'shouldInstall':!![]}),await this[n(0x11c)][n(0x120)]({'srcPath':n(0x119),'destPath':this['scaffold']['pathFromApp']({'pathParts':[n(0x110),n(0x128),b[n(0x10f)],'methods',d,f+'-rpc-method.'+h]}),'context':g,'config':c});const i=this[n(0x11c)][n(0x123)]({'pathParts':[n(0x110),'startup',b[n(0x10f)],n(0x116)+c['engines']['js']]});await this['scaffold'][n(0x129)]({'filePath':i,'content':n(0x122)+d+f+n(0x117)});}catch(j){Log[n(0x127)](j);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a140p=a140d;(function(a,b){const m=a140d,c=a();while(!![]){try{const d=-parseInt(m(0x13d))/0x1*(parseInt(m(0x137))/0x2)+parseInt(m(0x132))/0x3*(parseInt(m(0x13c))/0x4)+-parseInt(m(0x13a))/0x5+-parseInt(m(0x128))/0x6+parseInt(m(0x12d))/0x7*(parseInt(m(0x125))/0x8)+-parseInt(m(0x126))/0x9+parseInt(m(0x135))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a140c,0x97a8f));function a140c(){const r=['layout','graphql','client','hasOwnProperty','.js','resourceName','template','store','ssr','server','relative','lib','constructor','scaffold','tests/server','engines','pathFromAppWithNoReWrite','4738376dCXJIn','315108ILLwQS','theme','1433448aYvsnp','create','apply','search','toString','14NduNXi','packages','/package.js','findProjectDirectory','component','894MmyfPC','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','fsi','10149760JRBcUM','projectConfig','599914cMzjSL','/client/','dir','5253420ujSnHW','noRename','620SODPhx','1emlYMF'];a140c=function(){return r;};return a140c();}const a140b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a140d;if(c){const e=c[n(0x12a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a140a=a140b(this,function(){const o=a140d;return a140a[o(0x12c)]()[o(0x12b)]('(((.+)+)+)+$')['toString']()[o(0x120)](a140a)['search']('(((.+)+)+)+$');});function a140d(a,b){const c=a140c();return a140d=function(d,e){d=d-0x114;let f=c[d];return f;},a140d(a,b);}a140a();import a140e from'path';import{Generator}from'../generator.js';import{camelCase,kebabCase,pascalCase}from'change-case';Generator[a140p(0x129)]({'name':'package','aliases':['p'],'usage':'maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','mustBeInMakaProject':!![],'shortDesc':a140p(0x133),'validOpts':[a140p(0x139)],'examples':['maka\x20g:package\x20todos:package']},async function(a,b){const q=a140p,c=kebabCase(b[q(0x119)]),d=b[q(0x139)]?'/'+b[q(0x139)]+'/':'/',e=this[q(0x121)]['pathFromApp']({'pathParts':[q(0x12e),d,c]}),f=this[q(0x121)][q(0x124)]({'pathParts':[q(0x12e),d,c,'package.js']}),g=this[q(0x136)],h={'name':kebabCase(b[q(0x119)]),'myPath':a140e[q(0x11e)](this[q(0x134)][q(0x130)](),e),'cssCaseName':kebabCase(b['resourceName']),'className':pascalCase(b[q(0x119)]),'camelCaseName':camelCase(b[q(0x119)]),'fileName':c,'client':g[q(0x123)][q(0x116)],'graphql':g['engines'][q(0x115)],'ssr':g['engines'][q(0x11c)],'isComponent':b[q(0x117)](q(0x131)),'isLayout':b['hasOwnProperty'](q(0x114)),'isStore':b['hasOwnProperty'](q(0x11b)),'features':g['features'],'noRename':!![],'theme':g[q(0x123)][q(0x127)]};await this['scaffold'][q(0x11a)]({'srcPath':'package/package.js','destPath':f,'context':h,'config':g}),h[q(0x13b)]=![];const i=e+q(0x138)+c+q(0x118);await this[q(0x121)][q(0x11a)]({'srcPath':'template/template.js','destPath':i,'context':h,'config':g});const j=[q(0x11f),q(0x11d),'tests/client',q(0x122)];for(const k of j){const l=e+'/'+k+'/'+c+q(0x118);await this[q(0x121)]['template']({'srcPath':'package/'+k+q(0x12f),'destPath':l,'context':h,'config':g});}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a141u=a141d;function a141d(a,b){const c=a141c();return a141d=function(d,e){d=d-0x14b;let f=c[d];return f;},a141d(a,b);}(function(a,b){const r=a141d,c=a();while(!![]){try{const d=parseInt(r(0x18c))/0x1*(parseInt(r(0x174))/0x2)+-parseInt(r(0x18d))/0x3*(parseInt(r(0x17d))/0x4)+-parseInt(r(0x1a4))/0x5+parseInt(r(0x16e))/0x6+parseInt(r(0x14b))/0x7*(-parseInt(r(0x156))/0x8)+parseInt(r(0x17b))/0x9+parseInt(r(0x195))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a141c,0xcb9ae));const a141b=(function(){let a=!![];return function(b,c){const d=a?function(){const s=a141d;if(c){const e=c[s(0x184)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a141a=a141b(this,function(){const t=a141d;return a141a[t(0x15b)]()['search'](t(0x150))[t(0x15b)]()[t(0x175)](a141a)[t(0x17a)](t(0x150));});a141a();import a141e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';function a141c(){const w=['constructor','html','join','engines','injectIntoFile','search','494577KjDUYt','layout','28EKLxIT','component','ramda','warn','relative','private','template/template.html','apply','checkNpmPackage','css','trim','Updating\x20npm\x20packages\x20...','cfg','slice','injectAtBeginningOfFile','2591lcXoux','65064TTijmY','className','hasOwnProperty','routes.','/imports/ui/pages','setTemplate','</Route>','\x22\x20element={<Component.','17574100FCZOkD','replace','template','includes','toLowerCase','fsi','string','Generate\x20a\x20page.','client','<Route\x20element={<PrivateRoute\x20/>}>','startup','withTranslations','<Route\x20path=\x22*\x22','component/component.js','fileName','8201160MwgldC','test','7QLtelP','vanilla','.app-tests.js','replaceAll','theme','(((.+)+)+)+$','features','scaffold','test/test.js','pkg','imports','10292720VrAAJh','meteor','error','import\x20\x27./','.css','toString','graphql','maka\x20g:page\x20todos/todos-item','/>}/>\x0a','url','root','api','substring','.js','installNpmPackage','findProjectDirectory','react','<Route\x20path=\x22','findAppDirectory','indexOf','store','Please\x20specify\x20a\x20name\x20for\x20the\x20route.','resourceName','page','4159968kBVZPu','withHooks','<Route\x20index','lib','dir','ssr','1086OsZgCp'];a141c=function(){return w;};return a141c();}import{camelCase,kebabCase,pascalCase}from'change-case';const aliases=['p'];Generator['create']({'name':a141u(0x16d),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','shortDesc':a141u(0x19c),'mustBeInMakaProject':!![],'validOpts':[{'name':'private','boolFlag':!![]},{'name':a141u(0x15f)}],'examples':[a141u(0x15d)]},async function(a,b){const v=a141u,c=v(0x191),d=this['fsi'][v(0x168)](),e=b[v(0x16c)][v(0x198)](':')?b[v(0x16c)]['split'](':')[0x0][v(0x187)]():b['resourceName']['trim'](),f=b[v(0x172)][v(0x14e)]('/','_')+'_'+e['replaceAll']('/','_'),g=this[v(0x152)]['pathFromApp']({'pathParts':[c,b['dir'],kebabCase(f),kebabCase(f)]}),h=this['projectConfig'];let i='';typeof h[v(0x197)][v(0x176)]===v(0x19b)&&this[v(0x189)][v(0x192)](v(0x176),h[v(0x197)]['html']);typeof h[v(0x197)][v(0x1a5)]==='string'&&this['cfg'][v(0x192)](v(0x1a5),h[v(0x197)][v(0x1a5)]);typeof h['template'][v(0x186)]==='string'&&this[v(0x189)][v(0x192)](v(0x186),h[v(0x197)][v(0x186)]);typeof h[v(0x197)]['js']===v(0x19b)&&this['cfg'][v(0x192)]('js',h['template']['js']);!b[v(0x160)]&&!this['pkg'][v(0x185)](v(0x17f))&&(Log[v(0x180)](v(0x188)),this[v(0x154)][v(0x164)](v(0x17f),{'cwd':d}));const j={'name':pascalCase(f),'myPath':a141e[v(0x181)](this[v(0x19a)][v(0x165)](),g),'cssCaseName':kebabCase(f),'className':pascalCase(f),'camelCaseName':camelCase(f),'fileName':kebabCase(f),'graphql':h[v(0x178)][v(0x15c)],'features':h[v(0x151)],'client':h[v(0x178)][v(0x19d)],'api':h[v(0x178)][v(0x161)],'ssr':h[v(0x178)][v(0x173)],'isStore':b['hasOwnProperty'](v(0x16a)),'isComponent':b[v(0x18f)](v(0x17e)),'isLayout':b[v(0x18f)](v(0x17c)),'withTranslations':h['features'][v(0x1a0)],'test':h[v(0x178)][v(0x1a5)],'theme':h[v(0x178)][v(0x14f)]};h[v(0x197)][v(0x176)]&&await this[v(0x152)][v(0x197)]({'srcPath':v(0x183),'destPath':g+'.html','context':j,'config':h});h[v(0x151)]?.[v(0x16f)]?await this['scaffold'][v(0x197)]({'srcPath':'hook/hook.js','destPath':g+v(0x163),'framework':v(0x166),'context':j,'config':h}):await this[v(0x152)][v(0x197)]({'srcPath':v(0x1a2),'destPath':g+v(0x163),'framework':v(0x166),'context':j,'config':h});h[v(0x178)][v(0x1a5)]!=='none'&&await this[v(0x152)][v(0x197)]({'srcPath':v(0x153),'destPath':g+v(0x14d),'framework':v(0x166),'context':j,'config':h});h[v(0x197)][v(0x186)]&&await this[v(0x152)]['template']({'srcPath':'template/template.css','destPath':g+v(0x15a),'context':Object['assign']({},j,{'className':kebabCase(b[v(0x16c)])}),'config':h});h['engines']['client']!=='react'&&h[v(0x178)]['client']!==v(0x14c)?(h[v(0x197)]['css']&&await this[v(0x152)]['injectAtBeginningOfFile']({'filePath':g+'.'+h['engines']['js'],'content':v(0x159)+j['fileName']+'.'+h[v(0x178)]['html']+'\x27;\x0a'+v(0x159)+j[v(0x1a3)]+'.'+h[v(0x178)][v(0x186)]+'\x27;'}),!h[v(0x197)]['css']&&await this['scaffold']['injectAtBeginningOfFile']({'filePath':g+'.'+h[v(0x178)]['js'],'content':v(0x159)+j[v(0x1a3)]+'.'+h[v(0x178)][v(0x176)]+'\x27;'})):h[v(0x197)][v(0x186)]&&await this[v(0x152)][v(0x18b)]({'filePath':g+'.'+h[v(0x178)]['js'],'content':v(0x159)+j[v(0x1a3)]+'.'+h[v(0x178)][v(0x186)]+'\x27;'});const k=b['dir']?'/'+b[v(0x172)]+'/':'/';i=''+c+k+j['fileName']+'/'+j[v(0x1a3)],await this[v(0x152)]['injectTemplateModule'](j[v(0x18e)],h,i);if(!b['root']){const l=b[v(0x182)]??![];if(!f){Log[v(0x158)](v(0x16b));throw new UsageError();}let m=b[v(0x15f)]?b['url']:'/'+b[v(0x172)][v(0x187)]()+'/'+b['resourceName']['trim']()[v(0x196)](/\\/g,'/')[v(0x196)](/\/+$/,'')[v(0x199)]();const n=b[v(0x16c)][v(0x169)](':');n!==-0x1&&(m+='/'+b[v(0x16c)][v(0x162)](0x0,n)[v(0x187)]());m['endsWith']('/')&&(m=m[v(0x18a)](0x0,-0x1));m=m['replace'](/\/\//g,'/');const o=h[v(0x178)]['js'],p=h[v(0x178)][v(0x173)]===v(0x157)?v(0x171):v(0x19d),q=a141e[v(0x177)](d,v(0x155),v(0x19f),p,v(0x190)+o);l?await this['scaffold'][v(0x179)]({'filePath':q,'content':v(0x167)+m+v(0x194)+pascalCase(f)+'/>}/>\x0a','begin':[v(0x19e)],'end':[v(0x193)]}):await this[v(0x152)]['injectIntoFile']({'filePath':q,'content':v(0x167)+m+'\x22\x20element={<Component.'+pascalCase(f)+v(0x15e),'begin':[v(0x170)],'end':[v(0x1a1)]});}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a142r=a142d;(function(a,b){const o=a142d,c=a();while(!![]){try{const d=parseInt(o(0x158))/0x1*(parseInt(o(0x14b))/0x2)+-parseInt(o(0x14a))/0x3+-parseInt(o(0x150))/0x4+-parseInt(o(0x146))/0x5*(parseInt(o(0x13e))/0x6)+parseInt(o(0x14d))/0x7*(-parseInt(o(0x15b))/0x8)+-parseInt(o(0x140))/0x9*(parseInt(o(0x13d))/0xa)+parseInt(o(0x160))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a142c,0xea6bc));const a142b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a142d;if(c){const e=c[p(0x157)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a142a=a142b(this,function(){const q=a142d;return a142a['toString']()[q(0x156)](q(0x155))[q(0x148)]()[q(0x15d)](a142a)[q(0x156)]('(((.+)+)+)+$');});function a142d(a,b){const c=a142c();return a142d=function(d,e){d=d-0x13d;let f=c[d];return f;},a142d(a,b);}a142a();import{kebabCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a142c(){const t=['dir','326900jxaCQk','tsx','pathFromApp','resourceName','force','(((.+)+)+)+$','search','apply','249nxxHNy','injectAtEndOfFile','globalPublish','225936Aiqeus','template','constructor','import\x20\x27./publications','appPathPrefix','44349426ETxzhO','295250CXyiui','336GaqieY','exit','531CYWQUC','error','index.','publish','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','startup','86795xpvCWo','publish/publish.js','toString','maka\x20g:publish\x20todos','905442XjpSvF','436mbQmwi','engines','7cFISRw','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html'];a142c=function(){return t;};return a142c();}Generator['create']({'name':a142r(0x143),'aliases':['p'],'usage':a142r(0x144),'shortDesc':a142r(0x14e),'validOpts':[a142r(0x154)],'requiredOpts':['globalPublish'],'mustBeInMakaProject':!![],'examples':[a142r(0x149)]},async function(a,b){const s=a142r;try{const {projectConfig:c,scaffold:d}=this,f=b[s(0x154)]||![],g='/imports/startup/server/publications',h=kebabCase(b[s(0x153)]),i=d[s(0x152)]({'pathParts':[g,b[s(0x14f)],'',h]});let j='js';c[s(0x14c)]['js']===s(0x151)&&(j='ts');const k={'name':b[s(0x153)],'collection':pascalCase(b[s(0x153)]),'noRename':!![],'globalPublish':b[s(0x15a)]};await d[s(0x15c)]({'srcPath':s(0x147),'destPath':i+'.'+j,'context':k,'config':c,'force':f});const l=d[s(0x152)]({'pathParts':['imports',s(0x145),'server',b[s(0x15f)],s(0x142)+c[s(0x14c)]['js']]}),m=b[s(0x14f)]?'/'+b[s(0x14f)]+'/':'/';await d[s(0x159)]({'filePath':l,'content':s(0x15e)+m+h+'\x27;'});}catch(n){Log[s(0x141)](n),process[s(0x13f)](0x1);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a143r=a143d;function a143c(){const t=['1963140LJtIuF','replace','<Route\x20index','none','<Route\x20path=\x22','</Route>','constructor','476232dQSgtX','route','error','client','split','private','search','ssr','resourceName','/>}/>\x0a','291570UNcLXf','apply','maka\x20{generate,\x20g}:{route,\x20r}','length','startup','create','1623671rtOQlZ','exit','engines','toString','6NFTIGT','1794508PMZDQz','injectIntoFile','39059PcTBUU','join','<Route\x20element={<PrivateRoute\x20/>}>','pop','imports','lib','(((.+)+)+)+$','findAppDirectory','Please\x20specify\x20a\x20name\x20for\x20the\x20route.','filter','toLowerCase','\x22\x20element={<Component.','105485tNCeln'];a143c=function(){return t;};return a143c();}(function(a,b){const o=a143d,c=a();while(!![]){try{const d=parseInt(o(0x1ac))/0x1*(-parseInt(o(0x1a9))/0x2)+parseInt(o(0x19f))/0x3+parseInt(o(0x1aa))/0x4+-parseInt(o(0x1b8))/0x5+-parseInt(o(0x1b9))/0x6+parseInt(o(0x1a5))/0x7+-parseInt(o(0x1c0))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a143c,0x3db69));function a143d(a,b){const c=a143c();return a143d=function(d,e){d=d-0x19a;let f=c[d];return f;},a143d(a,b);}const a143b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a143d;if(c){const e=c[p(0x1a0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a143a=a143b(this,function(){const q=a143d;return a143a[q(0x1a8)]()[q(0x19b)](q(0x1b2))[q(0x1a8)]()[q(0x1bf)](a143a)[q(0x19b)](q(0x1b2));});a143a();import a143e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{pascalCase}from'change-case';const aliases=['r'];Generator[a143r(0x1a4)]({'name':a143r(0x1c1),'mustBeInMakaProject':!![],'aliases':aliases,'validOpts':[{'name':a143r(0x19a),'boolFlag':!![]},{'name':a143r(0x1c1)}],'usage':a143r(0x1a1),'shortDesc':'Scaffolding\x20for\x20a\x20Route.','examples':[]},async function(a,b){const s=a143r,{fsi:c,scaffold:d,projectConfig:f}=this;try{const g=c[s(0x1b3)](),h=b[s(0x19a)]??![];let i=b[s(0x19d)][s(0x1c4)]('/')[s(0x1af)]();if(!i){Log['error'](s(0x1b4));throw new UsageError();}i=pascalCase(i);let j=b[s(0x1c1)]?'/'+b[s(0x1c1)]:'/'+b[s(0x19d)][s(0x1ba)](/\\/g,'/')['toLowerCase']();a[s(0x1a2)]>0x1&&(j='/'+a[s(0x1b5)](function(n){return n!=='/';})[s(0x1ad)]('/')[s(0x1b6)]());j=j[s(0x1ba)](/\/\//g,'/');const k=f[s(0x1a7)]['js'],l=f['engines'][s(0x19c)]!==s(0x1bc)?s(0x1b1):s(0x1c3),m=a143e[s(0x1ad)](g,s(0x1b0),s(0x1a3),l,'routes.'+k);h?await d[s(0x1ab)]({'filePath':m,'content':'<Route\x20path=\x22'+j+s(0x1b7)+i+s(0x19e),'begin':[s(0x1ae)],'end':[s(0x1be)]}):await d[s(0x1ab)]({'filePath':m,'content':s(0x1bd)+j+s(0x1b7)+i+'/>}/>\x0a','begin':[s(0x1bb)],'end':['<Route\x20path=\x22*\x22']});}catch(n){Log[s(0x1c2)](n),process[s(0x1a6)](0x1);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a144r=a144d;(function(a,b){const o=a144d,c=a();while(!![]){try{const d=parseInt(o(0xf7))/0x1+parseInt(o(0x103))/0x2*(-parseInt(o(0xf4))/0x3)+parseInt(o(0xe6))/0x4+parseInt(o(0x100))/0x5*(parseInt(o(0xea))/0x6)+parseInt(o(0xfb))/0x7+parseInt(o(0xe9))/0x8+-parseInt(o(0xfa))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a144c,0x5bb12));function a144d(a,b){const c=a144c();return a144d=function(d,e){d=d-0xe4;let f=c[d];return f;},a144d(a,b);}const a144b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a144d;if(c){const e=c[p(0xf6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a144a=a144b(this,function(){const q=a144d;return a144a[q(0xe5)]()[q(0xfc)](q(0x101))[q(0xe5)]()[q(0xf1)](a144a)['search'](q(0x101));});a144a();import{camelCase,kebabCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a144c(){const t=['search','installNpmPackage','winston','resourceName','15FsngcN','(((.+)+)+)+$','checkNpmPackage','334682KAHJHy','service','winston\x20setimmediate','services','maka\x20{generate,\x20g}:{service}\x20<resource-name>','toString','2135040dAMTSV','Installing\x20winston','svc','453952TNRLDf','204702unEveX','type','tsx','logger','service/logger/logger.js','lib','engines','constructor','findAppDirectory','template','3YpdTLX','error','apply','281910IDPSVv','startup','pathFromApp','8152344gybMqN','3317734AktkFW'];a144c=function(){return t;};return a144c();}import{Log}from'../tools/log/log.class.js';Generator['create']({'name':a144r(0x104),'aliases':[a144r(0xe8)],'usage':a144r(0xe4),'shortDesc':'Generate\x20a\x20service\x20to\x20run\x20within\x20your\x20meteor\x20application.','mustBeInMakaProject':!![],'requiredOpts':[{'name':a144r(0xeb),'values':[a144r(0xed)]}],'validOpts':[],'maxArgLength':0x1,'examples':['maka\x20g:svc\x20service-logger\x20--type=logger']},async function(a,b){const s=a144r,{cfg:c,fsi:d,pkg:f,scaffold:g}=this;try{const h=this['projectConfig'],i=d[s(0xf2)](),j=kebabCase(b['resourceName']),k={'name':pascalCase(b[s(0xff)]),'fileName':j,'camelCase':camelCase(b[s(0xff)]),'type':b[s(0xeb)],'engine':h['engines']['js'],'noRename':!![]};let l='js';h[s(0xf0)]['js']===s(0xec)&&(l='ts');if(b['type']==='logger'){!f[s(0x102)](s(0xfe))&&await f[s(0xfd)](s(0x105),{'cwd':i,'msg':s(0xe7)});const m=g[s(0xf9)]({'pathParts':['imports',s(0xf8),s(0xef),s(0x106),j+'.'+l]});await g[s(0xf3)]({'srcPath':s(0xee),'destPath':m,'context':k,'config':h});}}catch(n){Log[s(0xf5)](n);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=
|
|
1
|
+
function a145c(){var i=['10MJAybL','813ThgzgS','4EbbXmM','203EbpcSh','283114ZGHjOs','2722192KKARAN','468YVHMbX','search','toString','157608RLDeer','apply','4029741CkJyVi','3509598rHAXbs','(((.+)+)+)+$','1086785sdYUAc'];a145c=function(){return i;};return a145c();}(function(a,b){var f=a145d,c=a();while(!![]){try{var d=parseInt(f(0x1ab))/0x1+-parseInt(f(0x1ad))/0x2*(-parseInt(f(0x1a8))/0x3)+parseInt(f(0x1a9))/0x4*(-parseInt(f(0x1a6))/0x5)+-parseInt(f(0x1b3))/0x6+parseInt(f(0x1aa))/0x7*(parseInt(f(0x1b0))/0x8)+-parseInt(f(0x1b2))/0x9*(-parseInt(f(0x1a7))/0xa)+-parseInt(f(0x1ac))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a145c,0x4d1c4));var a145b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a145d;if(c){var e=c[g(0x1b1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a145a=a145b(this,function(){var h=a145d;return a145a[h(0x1af)]()[h(0x1ae)](h(0x1a5))[h(0x1af)]()['constructor'](a145a)[h(0x1ae)](h(0x1a5));});function a145d(a,b){var c=a145c();return a145d=function(d,e){d=d-0x1a5;var f=c[d];return f;},a145d(a,b);}a145a();import'./translation.js';import'./openssl.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a146d(a,b){const c=a146c();return a146d=function(d,e){d=d-0x110;let f=c[d];return f;},a146d(a,b);}const a146k=a146d;(function(a,b){const i=a146d,c=a();while(!![]){try{const d=-parseInt(i(0x11c))/0x1*(parseInt(i(0x11a))/0x2)+parseInt(i(0x11d))/0x3*(-parseInt(i(0x12a))/0x4)+-parseInt(i(0x12c))/0x5+-parseInt(i(0x122))/0x6+-parseInt(i(0x128))/0x7+-parseInt(i(0x110))/0x8*(-parseInt(i(0x121))/0x9)+parseInt(i(0x119))/0xa*(parseInt(i(0x123))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a146c,0x51c41));function a146c(){const m=['_keys','getAppConfigPath','getMakaProjectConfig','maka\x20g:sslconfig\x20--env\x20dev','4144168TasgMk','openssl/openssl.conf','64844OwJGBY','search','2534745tvXSfr','appName','40PdSmTm','openssl.conf','env','sslconfig','service','scaffold','cfg','(((.+)+)+)+$','maka\x20{generate,\x20g}:sslconfig','220hygECC','4exFVwp','Generate\x20a\x20new\x20openssl\x20config\x20file','86189grBtBr','69YZikeK','create','toString','join','104553mjFyAJ','1545372EfTrot','1089297MgdomN'];a146c=function(){return m;};return a146c();}const a146b=(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;};}()),a146a=a146b(this,function(){const j=a146d;return a146a[j(0x11f)]()[j(0x12b)](j(0x117))[j(0x11f)]()['constructor'](a146a)[j(0x12b)](j(0x117));});a146a();import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';import a146e from'path';Generator[a146k(0x11e)]({'name':a146k(0x113),'usage':a146k(0x118),'shortDesc':a146k(0x11b),'resourceNameRequired':![],'requiredOpts':[a146k(0x112)],'examples':[a146k(0x127)],'validOpts':[]},async function(a,b){const l=a146k;try{const c=this[l(0x116)][l(0x126)](),d=this[l(0x116)][l(0x125)](b[l(0x112)]),f=a146e[l(0x120)](d,l(0x124),l(0x111)),g={'app':c[l(0x12d)],'noRename':!![]};await this[l(0x115)]['template']({'srcPath':l(0x129),'destPath':f,'framework':l(0x114),'context':g,'config':c});}catch(h){Log['error'](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a147D=a147d;function a147d(a,b){const c=a147c();return a147d=function(d,e){d=d-0x191;let f=c[d];return f;},a147d(a,b);}(function(a,b){const A=a147d,c=a();while(!![]){try{const d=parseInt(A(0x1c2))/0x1+-parseInt(A(0x199))/0x2*(parseInt(A(0x1ae))/0x3)+-parseInt(A(0x1c1))/0x4+parseInt(A(0x19a))/0x5*(-parseInt(A(0x1c3))/0x6)+-parseInt(A(0x1ca))/0x7*(parseInt(A(0x1cb))/0x8)+-parseInt(A(0x1a1))/0x9+parseInt(A(0x1b1))/0xa*(parseInt(A(0x1ba))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a147c,0x26495));const a147b=(function(){let a=!![];return function(b,c){const d=a?function(){const B=a147d;if(c){const e=c[B(0x192)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a147a=a147b(this,function(){const C=a147d;return a147a[C(0x191)]()[C(0x194)](C(0x1aa))[C(0x191)]()['constructor'](a147a)[C(0x194)](C(0x1aa));});a147a();import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';import a147e from'fs';function a147c(){const F=['maka\x20g:translation\x20--lang=de','i18n.js','650ampkmd','grep','rewriteDestinationPathForEngine','i18n/i18n.js','Locale\x20already\x20defined:\x20','server','i18next\x20i18next-browser-languagedetector\x20react-i18next','service','client','106469litVuO','startup','Verifying\x20npm\x20package\x20requirements:\x20i18next\x20...','setProjectConfig','import\x20\x27../lib/services/translations/i18n\x27;','i18n/locales.js','injectAtEndOfFile','377228PauAIA','122281qREyjG','12IpBmZM','isFile','injectAtBeginningOfFile','i18n/index.js','export\x20{\x20default\x20as\x20','create','locales','1106REYdsk','10408HAYNVW','Generate\x20a\x20new\x20locale\x20translation','lib','maka\x20{generate,\x20g}:translation','toString','apply','meteor','search','installNpmPackage','warn','pathFromApp','exit','32sVwxYV','660095FnJlTp','translation','features.withTranslations','index.js','engines','readFileSync','root','2772mvksDu','maka\x20g:translation\x20--lang=fr','i18next','services','Locale\x20already\x20exported:\x20','lang','error','\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','translations','(((.+)+)+)+$','appName','template','imports','5697BWoeCs'];a147c=function(){return F;};return a147c();}Generator[a147D(0x1c8)]({'name':a147D(0x19b),'usage':a147D(0x1ce),'aliases':['t'],'resourceNameRequired':![],'requiredOpts':[{'name':a147D(0x1a6),'boolFlag':![],'regex':/^[a-z]{2}$/}],'mustBeInMakaProject':!![],'shortDesc':a147D(0x1cc),'description':a147D(0x1a8),'examples':['maka\x20g:translation\x20--lang=en\x20(default)',a147D(0x1a2),a147D(0x1af)],'validOpts':[]},async function(a,b){const E=a147D;try{const {fsi:c,scaffold:d,pkg:f,cfg:g,projectConfig:h}=this,i=c['findAppDirectory']();!b[E(0x1a6)]&&(b['lang']='en');!b[E(0x1a0)]&&!f['checkNpmPackage'](E(0x1a3))&&(Log[E(0x196)](E(0x1bc)),f[E(0x195)](E(0x1b7),{'cwd':i}),g[E(0x1bd)](E(0x19c),!![]));const j=d[E(0x197)]({'pathParts':[E(0x1ad),E(0x1bb),E(0x1b9),E(0x19d)]}),k=d[E(0x1b3)]({'pathParts':[j],'config':h}),l=c[E(0x1b2)](a147e[E(0x19f)](k)[E(0x191)](),E(0x1be))[0x0]&&!![];if(h['engines']['ssr']===E(0x193)){!l&&d[E(0x1c5)]({'filePath':k,'content':'import\x20\x27../lib/services/translations/i18n\x27;\x0a'});const w=d[E(0x197)]({'pathParts':[E(0x1ad),E(0x1bb),E(0x1b6),E(0x19d)]}),x=d[E(0x1b3)]({'pathParts':[w],'config':h}),y=c[E(0x1b2)](a147e[E(0x19f)](x)['toString'](),E(0x1be))[0x0]&&!![];!y&&d[E(0x1c5)]({'filePath':x,'content':'import\x20\x27../lib/services/translations/i18n\x27;\x0a'});}else!l&&d[E(0x1c5)]({'filePath':k,'content':'import\x20\x27../lib/services/translations/i18n\x27;\x0a'});const m={'app':h[E(0x1ab)],'config':h},n=d[E(0x197)]({'pathParts':['imports',E(0x1bb),E(0x1cd),'services','translations',E(0x1b0)]}),o=c[E(0x1c4)](d[E(0x1b3)]({'pathParts':[n],'config':h}));!o&&await d[E(0x1ac)]({'srcPath':E(0x1b4),'destPath':n,'framework':E(0x1b8),'context':m,'config':h});const p=d[E(0x197)]({'pathParts':['imports','startup',E(0x1cd),E(0x1a4),E(0x1a9),E(0x1c9),b[E(0x1a6)]+'.js']}),q=d['rewriteDestinationPathForEngine']({'pathParts':[p],'config':h}),r=c[E(0x1c4)](q);!r?await this['scaffold']['template']({'srcPath':E(0x1bf),'destPath':p,'framework':E(0x1b8),'context':m,'config':h}):Log[E(0x196)](E(0x1b5)+q);const s=d[E(0x197)]({'pathParts':[E(0x1ad),'startup','lib',E(0x1a4),E(0x1a9),E(0x1c9),'index.'+h[E(0x19e)]['js']]}),t=d[E(0x1b3)]({'pathParts':[s],'config':h}),u=c[E(0x1c4)](t);!u&&await d[E(0x1ac)]({'srcPath':E(0x1c6),'destPath':s,'framework':E(0x1b8),'context':m,'config':h});const v=c[E(0x1b2)](a147e[E(0x19f)](s)['toString'](),'default\x20as\x20'+b['lang'])[0x0]&&!![];!v?await d[E(0x1c0)]({'filePath':s,'content':E(0x1c7)+b[E(0x1a6)]+'\x20}\x20from\x20\x27./'+b[E(0x1a6)]+'\x27;'}):Log['warn'](E(0x1a5)+s);}catch(z){Log[E(0x1a7)](z),process[E(0x198)](0x1);}});
|
package/bundle/obf/src/maka.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a148m=a148d;(function(a,b){const j=a148d,c=a();while(!![]){try{const d=parseInt(j(0xdd))/0x1+-parseInt(j(0xf0))/0x2*(parseInt(j(0xe6))/0x3)+-parseInt(j(0xe2))/0x4*(-parseInt(j(0xe0))/0x5)+parseInt(j(0xd7))/0x6+-parseInt(j(0xdb))/0x7*(parseInt(j(0xe8))/0x8)+parseInt(j(0xee))/0x9+-parseInt(j(0xe3))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a148c,0x94c86));const a148b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a148d;if(c){const e=c[k(0xda)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a148a=a148b(this,function(){const l=a148d;return a148a[l(0xed)]()['search']('(((.+)+)+)+$')['toString']()['constructor'](a148a)[l(0xef)]('(((.+)+)+)+$');});a148a();import a148e from'minimist';import a148f from'os';import a148g from'path';import a148h from'humps';import a148i from'./commands/maka.cmd.js';import'./commands/_index.js';import'./generators/_index.js';import{fileURLToPath}from'url';const __filename=fileURLToPath(import.meta['url']),__dirname=a148g[a148m(0xe1)](__filename);global[a148m(0xe7)]=__dirname;const total_memory=a148f[a148m(0xd8)](),total_mem_in_kb=total_memory/0x400;let total_mem_in_mb=total_mem_in_kb/0x400;total_mem_in_mb=Math[a148m(0xde)](total_mem_in_mb),process[a148m(0xe4)][a148m(0xeb)]=a148m(0xea)+total_mem_in_mb,process[a148m(0xe4)][a148m(0xe5)]='1',process['env'][a148m(0xdc)]='1';function a148d(a,b){const c=a148c();return a148d=function(d,e){d=d-0xd7;let f=c[d];return f;},a148d(a,b);}const argv=a148e(process[a148m(0xd9)][a148m(0xf1)](0x2)),args=argv['_'],deepCopyArgv=JSON[a148m(0xdf)](JSON[a148m(0xec)](argv));function a148c(){const n=['BROWSERSLIST_IGNORE_OLD_DATA','531EpRbHw','MAKA_COMMAND_PATH','141064mHzMiN','camelizeKeys','--max-old-space-size=','TOOL_NODE_FLAGS','stringify','toString','10212732VgxLtq','search','6274imZplu','slice','4215948felJAU','totalmem','argv','apply','301YAdpqN','NODE_NO_WARNINGS','31487wTAtQq','floor','parse','5986690ZUriPo','dirname','4EavTBF','11433490iMRQPY','env'];a148c=function(){return n;};return a148c();}delete deepCopyArgv['_'];const opts=a148h[a148m(0xe9)](deepCopyArgv);a148i['run'](args,opts);
|
package/bundle/obf/src/tool.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a149z=a149d;(function(a,b){const w=a149d,c=a();while(!![]){try{const d=-parseInt(w(0xcd))/0x1+-parseInt(w(0xad))/0x2*(-parseInt(w(0xb6))/0x3)+-parseInt(w(0xd3))/0x4+-parseInt(w(0xc1))/0x5*(-parseInt(w(0x9e))/0x6)+parseInt(w(0xac))/0x7*(-parseInt(w(0x9d))/0x8)+parseInt(w(0x7f))/0x9+-parseInt(w(0xd1))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a149c,0x549a2));const a149b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a149d;if(c){const e=c[x(0x8e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a149a=a149b(this,function(){const y=a149d;return a149a[y(0x8f)]()['search'](y(0x9a))[y(0x8f)]()[y(0xbb)](a149a)[y(0x95)](y(0x9a));});a149a();import a149e from'path';import a149f from'os';import a149g from'fs';import{Docker}from'./tools/docker/docker.class.js';import{AWS}from'./tools/aws/aws.class.js';function a149d(a,b){const c=a149c();return a149d=function(d,e){d=d-0x7f;let f=c[d];return f;},a149d(a,b);}import{FSI}from'./tools/fsi/fsi.class.js';import{CFG}from'./tools/cfg/cfg.class.js';import{MPI}from'./tools/mpi/mpi.class.js';function a149c(){const R=['validateParams','help','Please\x20provide\x20a\x20value\x20for\x20','.meteor','dir','No\x20description\x20provided.','map','filter','parent','homedir','None','128380azGAme','You\x20must\x20have\x20','engines','findProjectDirectory','3390360yFfMcx','validateMakaProject','1924300kXAQyz','error','2473173AGiHVZ','\x20installed\x20to\x20use\x20this\x20command.','win32','length','charAt','name','Local','existsSync','mpi','examples','fsi','validateUserIsLoggedIn','formatToNamedParam','Please\x20choose\x20an\x20environment','concat','apply','toString','cwd','ask','validateEngines','match','root','search','shortDesc','aliases','AppData','Please\x20provide\x20a\x20resource\x20name:','(((.+)+)+)+$','select','NIE','43528yXgjAL','588FKQReM','Please\x20choose\x20a\x20valid\x20value\x20for\x20','cfg','aws','env','scaffold','Invalid\x20option:\x20','validateInputOptions','docker','description','You\x20must\x20be\x20in\x20a\x20maka\x20project\x20to\x20run\x20this\x20command.','getShortName','options','getAppProjectConfigs','7RnQAlo','18KipvlH','join','remapShortToLong','keys','config','every','getInstance','getMakaProjectConfig','experimental','194823LnYORD','resourceName','Please\x20provide\x20a\x20valid\x20argument\x20for\x20','usage','pkg','constructor','push','\x20version\x20','validateMeteorInstall','includes','askForOption','22510lfsgyf'];a149c=function(){return R;};return a149c();}import{Log}from'./tools/log/log.class.js';import{PKG}from'./tools/pkg/pkg.class.js';import{Scaffold}from'./tools/scaffold/scaffold.class.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError,MustBeInProjectError}from'./error.js';const homeDir=a149f[a149z(0xcb)]();export class Tool{[a149z(0xa6)];[a149z(0x89)];[a149z(0xa0)];[a149z(0x87)];[a149z(0xba)];[a149z(0xa1)];[a149z(0xa3)];[a149z(0xaa)];[a149z(0x84)];['parent'];['_handler'];constructor(){const A=a149z;this['docker']=new Docker(),this[A(0x89)]=FSI[A(0xb3)](),this[A(0xa0)]=CFG[A(0xb3)](this[A(0x89)]),this[A(0xba)]=PKG['getInstance'](this[A(0x89)]),this['mpi']=MPI[A(0xb3)](this[A(0x89)],this['cfg'],this[A(0xba)]),this[A(0xa1)]=AWS[A(0xb3)](this[A(0x89)],this[A(0xa0)],this['scaffold']),this[A(0xa3)]=Scaffold['getInstance'](this[A(0x89)],this[A(0x87)]);}[a149z(0xa9)](a){const B=a149z;return a[B(0x83)](0x0);}[a149z(0xaf)](a,b){const C=a149z,c=this['formatToNamedParam'](b),d={...a};for(const e of c){const f=this['getShortName'](e[C(0x84)]);a[f]&&(d[e[C(0x84)]]=a[f],delete d[f]);}return d;}[a149z(0x8b)](a){const D=a149z;if(a[D(0xb2)](b=>typeof b==='string'))return a[D(0xc8)](b=>({'name':b}));return a;}['match'](a){const E=a149z,b=[this['name']][E(0x8d)](this[E(0xaa)]['aliases']||[]);return this[E(0xca)]&&b[E(0xbc)](this[E(0xca)]),b[E(0xbf)](a);}[a149z(0xd2)](){const F=a149z,a=this[F(0x89)][F(0xd0)]();return a!==undefined;}async[a149z(0x8a)](){return!![];}[a149z(0xbe)](){const G=a149z,a=process['platform']===G(0x81),b=a?a149e[G(0xae)](homeDir,G(0x98),G(0x85),'.meteor'):a149e['join'](homeDir,G(0xc5));return a149g[G(0x86)](b);}async[a149z(0x92)](a){const H=a149z,b=this[H(0xa0)][H(0xb4)]();if(!b)throw MustBeInProjectError;const c=b[H(0xcf)],d=Object[H(0xb0)](a);if(d[H(0x82)]>0x0)for(const e of d){const f=c[e];if(f!==a[e]){Log[H(0xd4)](H(0xce)+e+H(0xbd)+a[e]+H(0x80));throw UsageError;}}}async[a149z(0xc2)](a,b,c){const I=a149z,{requiredOpts:d,validArgs:e,validOpts:f,resourceNameRequired:g,mustBeInMakaProject:h}=c;if(h&&!this[I(0xd2)]()){Log[I(0xd4)](I(0xa8));throw MustBeInProjectError;}b[I(0xb7)]===undefined&&g===!![]&&(b[I(0xb7)]=await Actions[I(0x91)](I(0x99)));let i=[],j=b;if(d){i=this['formatToNamedParam'](d),j=this[I(0xaf)](b,i);for(const m of i){const {name:n,values:o,regex:p}=m;if(!Object[I(0xb0)](j)['includes'](n)){if(n===I(0xa2)){const q=this[I(0xa0)][I(0xab)]()[I(0xc9)](r=>r!=='local')[I(0xc8)](r=>({'name':r,'value':r}));q[I(0x82)]===0x0&&(Log[I(0xd4)]('This\x20command\x20needs\x20a\x20higher\x20environment\x20to\x20run\x20(other\x20than\x20local).\x20Please\x20create\x20a\x20new\x20environment;\x20`maka\x20g:config\x20development`'),process['exit'](0x1)),b['env']=await Actions['select']({'name':I(0xa2),'message':I(0x8c),'choices':q});}else b[n]=await this[I(0xc0)](n,o,p);}else{if(o&&!o[I(0xbf)](j[n])){Log[I(0xd4)]('Invalid\x20value\x20for\x20'+n+':\x20'+j[n]);throw new UsageError();}}}}let k=this[I(0x8b)](f),l=b;if(k&&k[I(0x82)]>0x0){k=k[I(0x8d)](i||[]),k[I(0xbc)]({'name':'resourceName','hidden':!![]}),k[I(0xbc)]({'name':I(0xc3),'boolFlag':!![]}),k[I(0xbc)]({'name':I(0xc6),'hidden':!![]}),k[I(0xbc)]({'name':I(0x90),'hidden':!![]}),k[I(0xbc)]({'name':I(0x94),'hidden':!![]}),k[I(0xbc)]({'name':I(0xb1),'hidden':!![]}),l=this[I(0xaf)](b,k);for(const r of k){const {name:s,values:t}=r,u=l[s];u!==undefined&&t&&!t[I(0xbf)](u)&&(l[s]=await Actions[I(0x9b)]({'name':s,'message':I(0x9f)+s,'choices':t['map'](v=>({'name':v,'value':v}))})),this[I(0xa5)](l,k);}}if(e&&e[I(0x82)]>0x0)for(const v of a){!e[I(0xbf)](v)&&(Log[I(0xd4)]('Invalid\x20argument:\x20'+v),a[a['indexOf'](v)]=await Actions[I(0x91)](I(0xb8)+v));}return Object['assign'](j,l);}async[a149z(0xc0)](a,b,c){const J=a149z;if(b)return Actions['select']({'name':a,'message':'Please\x20choose\x20a\x20value\x20for\x20'+a,'choices':b[J(0xc8)](d=>({'name':d,'value':d}))});else{if(c){const d=await Actions[J(0x91)](J(0xc4)+a);if(d[J(0x93)](c))return d;else{Log['error']('Invalid\x20value\x20for\x20'+a+':\x20'+d);throw new UsageError();}}else return Actions['ask'](J(0xc4)+a);}}[a149z(0xa5)](a,b){const K=a149z;for(const c of Object[K(0xb0)](a)){const d=b['find'](e=>e[K(0x84)]===c);if(!d){Log[K(0xd4)](K(0xa4)+c);throw new UsageError();}}}[a149z(0xa7)](){const L=a149z;return this[L(0xaa)][L(0xa7)]||this['options'][L(0x96)]||L(0xc7);}[a149z(0x96)](){const M=a149z;return this[M(0xaa)]['shortDesc']||M(0x9c);}['usage'](){const N=a149z;return this['options'][N(0xb9)]||'No\x20usage\x20provided.';}[a149z(0x88)](){const O=a149z;return this[O(0xaa)]['examples']||[];}['aliases'](){const P=a149z;return this['options'][P(0x97)]||P(0xcc);}[a149z(0xb5)](){const Q=a149z;return this[Q(0xaa)][Q(0xb5)]||![];}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a150d(a,b){const c=a150c();return a150d=function(d,e){d=d-0xd5;let f=c[d];return f;},a150d(a,b);}const a150i=a150d;(function(a,b){const f=a150d,c=a();while(!![]){try{const d=-parseInt(f(0xe5))/0x1+-parseInt(f(0xd9))/0x2+parseInt(f(0xdb))/0x3+parseInt(f(0xe7))/0x4*(-parseInt(f(0xdc))/0x5)+parseInt(f(0xd5))/0x6+-parseInt(f(0xda))/0x7+parseInt(f(0xe0))/0x8*(parseInt(f(0xe3))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a150c,0xcc08e));const a150b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a150d;if(c){const e=c[g(0xe2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a150a=a150b(this,function(){const h=a150d;return a150a['toString']()[h(0xd6)](h(0xdf))[h(0xe4)]()[h(0xdd)](a150a)[h(0xd6)]('(((.+)+)+)+$');});a150a();import{input,confirm,password,select,checkbox}from'@inquirer/prompts';function a150c(){const l=['536337ZMKvEQ','toString','1528326ZXQHhk','ask','127044lhnTLy','confirm','5181108obZvnV','search','choices','select','878834ImOiPm','153762fBBnNS','615690fRCRio','155rZALPK','constructor','message','(((.+)+)+)+$','368IZBRFm','checkbox','apply'];a150c=function(){return l;};return a150c();}export class Actions{static async[a150i(0xe6)](a,b){const c=await(b?password({'message':a}):input({'message':a}));return c;}static async[a150i(0xe8)](a,b=![]){const c=await confirm({'message':a,'default':b});return c;}static async[a150i(0xd8)](a){const j=a150i,b=await select({'message':a[j(0xde)],'choices':a['choices']});return b;}static async[a150i(0xe1)](a){const k=a150i,b=await checkbox({'message':a[k(0xde)],'choices':a[k(0xd7)]});return b;}}
|