@maka/maka-cli 5.1.21 → 5.1.23
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 -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 -1
- 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/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/logger.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/service.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
|
@@ -1 +1 @@
|
|
|
1
|
-
function a136c(){const l=['
|
|
1
|
+
const a136j=a136d;function a136c(){const l=['info','frame','processAndRunGenerator','1751688qUgmit','includes','exit','(((.+)+)+)+$','11716506VMXlgg','54404gotjUH','search','constructor','fsi','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','toString','5643312smUTiC','mui','Material-UI\x20Kit','create','auth','cfg','No\x20MUI\x20kits\x20selected.\x20Exiting.','apply','14KVJlwU','kit:mui:frame','findProjectDirectory','kit:mui:auth','error','60xkPxTR','length','247270JHroJz','507798ZQUmpJ','3662770bbSUGS'];a136c=function(){return l;};return a136c();}(function(a,b){const g=a136d,c=a();while(!![]){try{const d=parseInt(g(0x134))/0x1+parseInt(g(0x11f))/0x2*(parseInt(g(0x132))/0x3)+-parseInt(g(0x13a))/0x4+-parseInt(g(0x136))/0x5+-parseInt(g(0x135))/0x6*(-parseInt(g(0x12d))/0x7)+-parseInt(g(0x125))/0x8+parseInt(g(0x11e))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a136c,0x5e5d8));const a136b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a136d;if(c){const e=c[h(0x12c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a136a=a136b(this,function(){const i=a136d;return a136a[i(0x124)]()[i(0x120)](i(0x11d))[i(0x124)]()[i(0x121)](a136a)['search']('(((.+)+)+)+$');});a136a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';function a136d(a,b){const c=a136c();return a136d=function(d,e){d=d-0x11b;let f=c[d];return f;},a136d(a,b);}import{Log}from'../../../tools/log/log.class.js';import a136e from'../../../generators/maka.gen.js';import a136f from'../kit.js';const MuiGen=Generator[a136j(0x128)]({'name':a136j(0x126),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','resourceNameRequired':![],'shortDesc':a136j(0x127),'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:m']},async function(){const k=a136j;try{Log[k(0x137)]('Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!'),Log['notice']('\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&####%&@@@@@@@@@@@@@@@@@@@&&%###&@@@@@@&%###%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#(((((##%&&@@@@@@@@@&&%%#(((((#&@@@@@&#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((#%&&@&&%##(((((((((#&@@@@&&#((##%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((((((#((((((((((((((#&@@@@@&%&&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#%%%%##((((((((#%%&%#((((#&@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@&&%###%%&@@@@&#((((#&@@@@@@@@&&&&@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@@@&#((((#&@@@@@&%#(((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@&%##((((#&@@@@&%#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&%#(((#&&@@@@@@@@@&&%##(((((((#%&@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@&%#%&@@@@@@@@&#((((((((##%&@@@@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((%&@@@@@@@@@&%#((((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((#%%&@@&&%##((((((((#%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@&%%#((((((((##((((((((##%&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&%##(((((((((##%&@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&%##(#%&&@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a\x0a\x20\x20This\x20generator\x20will\x20help\x20you\x20add\x20MUI\x20to\x20your\x20project.\x0a\x20\x20Choose\x20from\x20a\x20selection\x20of\x20premade\x20MUI\x20components.\x0a\x20\x20');const a=await Actions['checkbox']({'message':'Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','name':'kitChoices','choices':[{'name':'Header,\x20Footer,\x20and\x20Drawer','value':k(0x138)},{'name':k(0x123),'value':k(0x129)}]}),b=this[k(0x122)][k(0x12f)](),c=this[k(0x12a)]['getMakaProjectConfig']();a[k(0x11b)](k(0x138))&&await a136e[k(0x139)](k(0x12e),[],{'force':!![],'cwd':b,'config':c});a[k(0x11b)](k(0x129))&&await a136e[k(0x139)](k(0x130),[],{'force':!![],'cwd':b,'config':c});if(a[k(0x133)]===0x0){Log[k(0x137)](k(0x12b));return;}}catch(d){Log[k(0x131)](d),process[k(0x11c)](0x1);}},async function(){},a136f);export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a137d(a,b){const c=a137c();return a137d=function(d,e){d=d-0x17f;let f=c[d];return f;},a137d(a,b);}const a137s=a137d;(function(a,b){const p=a137d,c=a();while(!![]){try{const d=parseInt(p(0x199))/0x1*(-parseInt(p(0x1a8))/0x2)+parseInt(p(0x17f))/0x3*(parseInt(p(0x190))/0x4)+-parseInt(p(0x1a9))/0x5+-parseInt(p(0x19b))/0x6+-parseInt(p(0x1b3))/0x7*(parseInt(p(0x192))/0x8)+parseInt(p(0x183))/0x9*(parseInt(p(0x185))/0xa)+parseInt(p(0x194))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a137c,0x38f0f));const a137b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a137d;if(c){const e=c[q(0x196)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a137a=a137b(this,function(){const r=a137d;return a137a[r(0x18f)]()[r(0x186)]('(((.+)+)+)+$')[r(0x18f)]()[r(0x1b4)](a137a)[r(0x186)](r(0x191));});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'];function a137c(){const u=['constructor','injectTemplateModule','144Hmgpgk','string','none','hook/hook.js','254511FLEEnG','ramda','50vWzMha','search','relative','maka\x20g:l\x20web/safari','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','client','fileName','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','ssr','engines','toString','14516nwXhmZ','(((.+)+)+)+$','1568OTrPMS','split','7826819QLdTpW','findProjectDirectory','apply','test/test.js','resourceName','50801CXfjwi','className','798378gZJqcS','layout','checkNpmPackage','maka\x20g:layout\x20mobile/iPhone8','pathFromApp','react','template','graphql','setTemplate','css','theme','.js','/imports/ui/layouts','2ooEPUK','842165CPdIND','dir','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','Scaffolding\x20for\x20a\x20React\x20Layout.','warn','features','injectAtBeginningOfFile','test','template/template.css','api','15771AMjLVt'];a137c=function(){return u;};return a137c();}Generator['create']({'name':a137s(0x19c),'aliases':aliases,'usage':a137s(0x189),'shortDesc':a137s(0x1ac),'validOpts':['withHook'],'mustBeInMakaProject':!![],'examples':[a137s(0x19e),a137s(0x188)]},async function(a,b){const t=a137s,{projectConfig:c,fsi:d,cfg:e,pkg:f,scaffold:g}=this,h=t(0x1a7),i=d['findAppDirectory'](),j=g[t(0x19f)]({'pathParts':[h,b[t(0x1aa)],kebabCase(b['resourceName']),kebabCase(b[t(0x198)])]});typeof c[t(0x1a1)]['test']===t(0x180)&&e['setTemplate'](t(0x1b0),c[t(0x1a1)][t(0x1b0)]);typeof c['template'][t(0x1a4)]===t(0x180)&&e[t(0x1a3)](t(0x1a4),c[t(0x1a1)][t(0x1a4)]);typeof c['template']['js']==='string'&&e['setTemplate']('js',c[t(0x1a1)]['js']);const k=b['_']?b['_'][0x0][t(0x193)](':')[0x1]:![],l=b['_']&&aliases['includes'](k);l&&!f[t(0x19d)](t(0x184))&&(Log[t(0x1ad)](t(0x18c)),f['installNpmPackage'](t(0x184),{'cwd':i}));if(l&&!f[t(0x19d)](t(0x1a0))){Log[t(0x1ad)](t(0x1ab));return;}const m={'name':pascalCase(b[t(0x198)]),'myPath':a137e[t(0x187)](d[t(0x195)](),j),'cssCaseName':kebabCase(b['resourceName']),'className':pascalCase(b[t(0x198)]),'camelCaseName':camelCase(b[t(0x198)]),'fileName':kebabCase(b[t(0x198)]),'graphql':c[t(0x18e)][t(0x1a2)],'features':c[t(0x1ae)],'client':c[t(0x18e)][t(0x18a)],'api':c[t(0x18e)][t(0x1b2)],'ssr':c[t(0x18e)][t(0x18d)],'test':c[t(0x18e)][t(0x1b0)],'theme':c[t(0x18e)][t(0x1a5)],'isComponent':![],'isLayout':!![],'withTranslations':c[t(0x1ae)]['withTranslations']};c[t(0x1ae)]?.['withHooks']||b['withHook']?await g['template']({'srcPath':t(0x182),'destPath':j+t(0x1a6),'framework':t(0x1a0),'context':m,'config':c}):await g[t(0x1a1)]({'srcPath':'component/component.js','destPath':j+t(0x1a6),'framework':t(0x1a0),'context':m,'config':c});c[t(0x18e)][t(0x1b0)]!==t(0x181)&&await g[t(0x1a1)]({'srcPath':t(0x197),'destPath':j+'.app-tests.js','framework':t(0x1a0),'context':m,'config':c});c[t(0x1a1)][t(0x1a4)]&&(await g[t(0x1a1)]({'srcPath':t(0x1b1),'destPath':j+'.css','context':Object['assign']({},m,{'className':kebabCase(b[t(0x198)])}),'config':c}),await g[t(0x1af)]({'filePath':j+'.'+c[t(0x18e)]['js'],'content':'import\x20\x27./'+m[t(0x18b)]+'.'+c[t(0x18e)][t(0x1a4)]+'\x27;'}));const n=b[t(0x1aa)]?'/'+b[t(0x1aa)]+'/':'/',o=''+h+n+m[t(0x18b)]+'/'+m[t(0x18b)];await g[t(0x1b5)](m[t(0x19a)],c,o);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a138i=a138d;(function(a,b){const f=a138d,c=a();while(!![]){try{const d=-parseInt(f(0x111))/0x1+-parseInt(f(0x11c))/0x2+-parseInt(f(0x11b))/0x3+parseInt(f(0x11d))/0x4+parseInt(f(0x11e))/0x5+-parseInt(f(0x110))/0x6+-parseInt(f(0x119))/0x7*(-parseInt(f(0x115))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a138c,0xe1192));const a138b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a138d;if(c){const e=c[g(0x120)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a138a=a138b(this,function(){const h=a138d;return a138a[h(0x121)]()['search'](h(0x122))['toString']()[h(0x116)](a138a)[h(0x117)](h(0x122));});a138a();function a138d(a,b){const c=a138c();return a138d=function(d,e){d=d-0x110;let f=c[d];return f;},a138d(a,b);}import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a138i(0x113),'aliases':['g'],'usage':a138i(0x118),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'resourceNameRequired':![],'shortDesc':a138i(0x114),'examples':[a138i(0x11a),a138i(0x124),a138i(0x112),a138i(0x11f),'maka\x20g:route\x20todos/edit',a138i(0x123),'maka\x20g:dbc\x20geoserver\x20--type=pgsql']},async function(){});function a138c(){const j=['1103404lwHmky','maka\x20g:template\x20todos/todo_item','generate','Scaffold\x20various\x20parts\x20of\x20your\x20application','8NstInH','constructor','search','maka\x20{generate,\x20g}:<generator>\x20<name>','9676135GzScLB','maka\x20generate:scaffold\x20todos','2134098isDlPB','836906zwxaLB','7122456NtpOfO','4587170EAKrHa','maka\x20g:package\x20package:name','apply','toString','(((.+)+)+)+$','maka\x20g:api\x20trucks','maka\x20g:scaffold\x20todos','5550768ipAadk'];a138c=function(){return j;};return a138c();}export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a139n=a139d;(function(a,b){const k=a139d,c=a();while(!![]){try{const d=-parseInt(k(
|
|
1
|
+
const a139n=a139d;(function(a,b){const k=a139d,c=a();while(!![]){try{const d=-parseInt(k(0x1ba))/0x1+parseInt(k(0x1ad))/0x2*(parseInt(k(0x1af))/0x3)+-parseInt(k(0x19d))/0x4*(-parseInt(k(0x1bf))/0x5)+-parseInt(k(0x1b8))/0x6+-parseInt(k(0x1ae))/0x7+parseInt(k(0x19b))/0x8*(-parseInt(k(0x1bc))/0x9)+-parseInt(k(0x19a))/0xa*(-parseInt(k(0x1b5))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a139c,0xa4979));const a139b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a139d;if(c){const e=c[l(0x1bb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a139a=a139b(this,function(){const m=a139d;return a139a[m(0x1aa)]()[m(0x1c0)]('(((.+)+)+)+$')[m(0x1aa)]()[m(0x1b6)](a139a)['search'](m(0x1a7));});a139a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a139c(){const p=['method/method.js','methods','create','startup','mdg:validated-method','(((.+)+)+)+$','pathFromApp','error','toString','engines','import\x20\x27./methods','60094zMeAMI','1317435VTsBBR','87bbxUmu','dir','tsx','method','-rpc-method.','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','2088350ICbcqK','constructor','scaffold','4928406hEbNDR','appPathPrefix','56475jcErZA','apply','9BBRqRr','maka\x20{generate,\x20g}:{method,\x20m}\x20name','template','1335NcCAGj','search','index.','projectConfig','injectAtEndOfFile','-rpc-method\x27;','maka\x20g:method\x20todos','50RmnHam','9669640AwxFzE','pkg','16904zvewTs','resourceName','ddp-rate-limiter','imports','maka:check'];a139c=function(){return p;};return a139c();}import{camelCase,kebabCase,pascalCase}from'change-case';function a139d(a,b){const c=a139c();return a139d=function(d,e){d=d-0x196;let f=c[d];return f;},a139d(a,b);}Generator[a139n(0x1a4)]({'name':a139n(0x1b2),'aliases':['m'],'usage':a139n(0x1bd),'mustBeInMakaProject':!![],'checkWhere':!![],'shortDesc':a139n(0x1b4),'validOpts':[a139n(0x1b0)],'examples':[a139n(0x199)]},async function(a,b){const o=a139n;try{const c=this[o(0x196)],d=b[o(0x1b0)]?'/'+b[o(0x1b0)]+'/':'/',f=kebabCase(b[o(0x19e)]),g={'name':b[o(0x19e)],'fileName':f,'className':pascalCase(b[o(0x19e)]),'camelCase':camelCase(b[o(0x19e)]),'noRename':!![]};let h='js';c[o(0x1ab)]['js']===o(0x1b1)&&(h='ts');await this[o(0x19c)]['checkMeteorPackage']([o(0x1a1),o(0x19f),o(0x1a6)],{'shouldInstall':!![]}),await this[o(0x1b7)][o(0x1be)]({'srcPath':o(0x1a2),'destPath':this[o(0x1b7)][o(0x1a8)]({'pathParts':['imports','startup',b['appPathPrefix'],o(0x1a3),d,f+o(0x1b3)+h]}),'context':g,'config':c});const i=this[o(0x1b7)][o(0x1a8)]({'pathParts':[o(0x1a0),o(0x1a5),b[o(0x1b9)],o(0x1c1)+c['engines']['js']]});await this[o(0x1b7)][o(0x197)]({'filePath':i,'content':o(0x1ac)+d+f+o(0x198)});}catch(j){Log[o(0x1a9)](j);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a140p=a140d;(function(a,b){const m=a140d,c=a();while(!![]){try{const d=parseInt(m(0x6f))/0x1*(parseInt(m(0x81))/0x2)+-parseInt(m(0x8b))/0x3*(-parseInt(m(0x86))/0x4)+-parseInt(m(0x99))/0x5*(parseInt(m(0x96))/0x6)+parseInt(m(0x6e))/0x7+-parseInt(m(0x9a))/0x8*(parseInt(m(0x7b))/0x9)+parseInt(m(0x8a))/0xa*(-parseInt(m(0x73))/0xb)+-parseInt(m(0x8e))/0xc*(-parseInt(m(0x7e))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a140c,0x57a94));function a140d(a,b){const c=a140c();return a140d=function(d,e){d=d-0x6b;let f=c[d];return f;},a140d(a,b);}const a140b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a140d;if(c){const e=c[n(0x85)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a140a=a140b(this,function(){const o=a140d;return a140a[o(0x71)]()[o(0x77)](o(0x8d))[o(0x71)]()[o(0x76)](a140a)['search'](o(0x8d));});a140a();import a140e from'path';import{Generator}from'../generator.js';function a140c(){const r=['pathFromAppWithNoReWrite','server','resourceName','scaffold','tests/server','noRename','1608YtqytT','package/package.js','relative','5485ZMWNOU','3231152dvsIds','client','component','package.js','graphql','2395344TWpuaQ','15757bfLoen','package','toString','fsi','67606FaWFDZ','engines','.js','constructor','search','template/template.js','projectConfig','template','9AWwens','maka\x20g:package\x20todos:package','dir','481JyfRsv','findProjectDirectory','tests/client','82CChMYy','hasOwnProperty','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','create','apply','244nqDsKm','packages','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','ssr','740NzJnJS','19704EhkJaY','theme','(((.+)+)+)+$','39852MJLeeT','features'];a140c=function(){return r;};return a140c();}import{camelCase,kebabCase,pascalCase}from'change-case';Generator[a140p(0x84)]({'name':a140p(0x70),'aliases':['p'],'usage':a140p(0x83),'mustBeInMakaProject':!![],'shortDesc':a140p(0x88),'validOpts':[a140p(0x7d)],'examples':[a140p(0x7c)]},async function(a,b){const q=a140p,c=kebabCase(b[q(0x92)]),d=b[q(0x7d)]?'/'+b[q(0x7d)]+'/':'/',e=this[q(0x93)]['pathFromApp']({'pathParts':[q(0x87),d,c]}),f=this['scaffold'][q(0x90)]({'pathParts':[q(0x87),d,c,q(0x6c)]}),g=this[q(0x79)],h={'name':kebabCase(b[q(0x92)]),'myPath':a140e[q(0x98)](this[q(0x72)][q(0x7f)](),e),'cssCaseName':kebabCase(b[q(0x92)]),'className':pascalCase(b[q(0x92)]),'camelCaseName':camelCase(b[q(0x92)]),'fileName':c,'client':g[q(0x74)][q(0x9b)],'graphql':g[q(0x74)][q(0x6d)],'ssr':g[q(0x74)][q(0x89)],'isComponent':b[q(0x82)](q(0x6b)),'isLayout':b[q(0x82)]('layout'),'isStore':b[q(0x82)]('store'),'features':g[q(0x8f)],'noRename':!![],'theme':g['engines'][q(0x8c)]};await this[q(0x93)][q(0x7a)]({'srcPath':q(0x97),'destPath':f,'context':h,'config':g}),h[q(0x95)]=![];const i=e+'/client/'+c+q(0x75);await this[q(0x93)][q(0x7a)]({'srcPath':q(0x78),'destPath':i,'context':h,'config':g});const j=['lib',q(0x91),q(0x80),q(0x94)];for(const k of j){const l=e+'/'+k+'/'+c+q(0x75);await this[q(0x93)][q(0x7a)]({'srcPath':'package/'+k+'/package.js','destPath':l,'context':h,'config':g});}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a141u=a141d;(function(a,b){const r=a141d,c=a();while(!![]){try{const d=-parseInt(r(
|
|
1
|
+
function a141c(){const w=['join','api','ssr','findAppDirectory','lib','ramda','178952DvNYiT','split','projectConfig','string','/>}/>\x0a','none','routes.','vanilla','resourceName','33Ynolmj','4377212UAGCDR','Please\x20specify\x20a\x20name\x20for\x20the\x20route.','checkNpmPackage','93616DdonBf','import\x20\x27./','replace','relative','44054330kafXBH','pathFromApp','6EzMnHj','setTemplate','replaceAll','create','dir','scaffold','test/test.js','includes','component/component.js','slice','injectIntoFile','.js','graphql','fsi','fileName','assign','<Route\x20element={<PrivateRoute\x20/>}>','css','template/template.html','root','url','features','<Route\x20path=\x22*\x22','warn','.html','search','injectTemplateModule','/imports/ui/pages','react','239396GntAlt','.app-tests.js','hook/hook.js','7697275oyjqhF','injectAtBeginningOfFile','constructor','Updating\x20npm\x20packages\x20...','hasOwnProperty','error','component','</Route>','meteor','imports','template','\x22\x20element={<Component.','layout','engines','html','test','client','withHooks','withTranslations','<Route\x20path=\x22','1812540sidJoH','substring','private','apply','.css','585vuHkwT','Generate\x20a\x20page.','trim','className','pkg','cfg','(((.+)+)+)+$'];a141c=function(){return w;};return a141c();}const a141u=a141d;(function(a,b){const r=a141d,c=a();while(!![]){try{const d=-parseInt(r(0x1af))/0x1+-parseInt(r(0x16d))/0x2+parseInt(r(0x188))/0x3*(parseInt(r(0x17f))/0x4)+-parseInt(r(0x1b2))/0x5*(parseInt(r(0x192))/0x6)+-parseInt(r(0x189))/0x7+parseInt(r(0x18c))/0x8*(-parseInt(r(0x172))/0x9)+parseInt(r(0x190))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a141c,0xc9c74));const a141b=(function(){let a=!![];return function(b,c){const d=a?function(){const s=a141d;if(c){const e=c[s(0x170)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a141a=a141b(this,function(){const t=a141d;return a141a['toString']()[t(0x1ab)]('(((.+)+)+)+$')['toString']()[t(0x1b4)](a141a)[t(0x1ab)](t(0x178));});a141a();import a141e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a141d(a,b){const c=a141c();return a141d=function(d,e){d=d-0x16a;let f=c[d];return f;},a141d(a,b);}import{UsageError}from'../error.js';import{camelCase,kebabCase,pascalCase}from'change-case';const aliases=['p'];Generator[a141u(0x195)]({'name':'page','aliases':aliases,'usage':'maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','shortDesc':a141u(0x173),'mustBeInMakaProject':!![],'validOpts':[{'name':a141u(0x16f),'boolFlag':!![]},{'name':a141u(0x1a6)}],'examples':['maka\x20g:page\x20todos/todos-item']},async function(a,b){const v=a141u,c=v(0x1ad),d=this[v(0x19f)][v(0x17c)](),e=b[v(0x187)][v(0x199)](':')?b[v(0x187)][v(0x180)](':')[0x0][v(0x174)]():b['resourceName']['trim'](),f=b[v(0x196)][v(0x194)]('/','_')+'_'+e[v(0x194)]('/','_'),g=this[v(0x197)][v(0x191)]({'pathParts':[c,b[v(0x196)],kebabCase(f),kebabCase(f)]}),h=this[v(0x181)];let i='';typeof h[v(0x1bc)]['html']===v(0x182)&&this[v(0x177)][v(0x193)](v(0x1c0),h[v(0x1bc)][v(0x1c0)]);typeof h[v(0x1bc)][v(0x1c1)]==='string'&&this['cfg'][v(0x193)](v(0x1c1),h[v(0x1bc)][v(0x1c1)]);typeof h[v(0x1bc)][v(0x1a3)]===v(0x182)&&this[v(0x177)][v(0x193)](v(0x1a3),h[v(0x1bc)]['css']);typeof h[v(0x1bc)]['js']==='string'&&this[v(0x177)][v(0x193)]('js',h[v(0x1bc)]['js']);!b['root']&&!this[v(0x176)][v(0x18b)](v(0x17e))&&(Log[v(0x1a9)](v(0x1b5)),this['pkg']['installNpmPackage'](v(0x17e),{'cwd':d}));const j={'name':pascalCase(f),'myPath':a141e[v(0x18f)](this[v(0x19f)]['findProjectDirectory'](),g),'cssCaseName':kebabCase(f),'className':pascalCase(f),'camelCaseName':camelCase(f),'fileName':kebabCase(f),'graphql':h[v(0x1bf)][v(0x19e)],'features':h[v(0x1a7)],'client':h[v(0x1bf)]['client'],'api':h[v(0x1bf)][v(0x17a)],'ssr':h['engines'][v(0x17b)],'isStore':b[v(0x1b6)]('store'),'isComponent':b[v(0x1b6)](v(0x1b8)),'isLayout':b[v(0x1b6)](v(0x1be)),'withTranslations':h['features'][v(0x16b)],'test':h[v(0x1bf)][v(0x1c1)],'theme':h[v(0x1bf)]['theme']};h[v(0x1bc)][v(0x1c0)]&&await this[v(0x197)][v(0x1bc)]({'srcPath':v(0x1a4),'destPath':g+v(0x1aa),'context':j,'config':h});h[v(0x1a7)]?.[v(0x16a)]?await this[v(0x197)][v(0x1bc)]({'srcPath':v(0x1b1),'destPath':g+v(0x19d),'framework':'react','context':j,'config':h}):await this[v(0x197)]['template']({'srcPath':v(0x19a),'destPath':g+v(0x19d),'framework':v(0x1ae),'context':j,'config':h});h[v(0x1bf)]['test']!==v(0x184)&&await this[v(0x197)]['template']({'srcPath':v(0x198),'destPath':g+v(0x1b0),'framework':v(0x1ae),'context':j,'config':h});h['template'][v(0x1a3)]&&await this[v(0x197)][v(0x1bc)]({'srcPath':'template/template.css','destPath':g+v(0x171),'context':Object[v(0x1a1)]({},j,{'className':kebabCase(b['resourceName'])}),'config':h});h[v(0x1bf)]['client']!=='react'&&h['engines'][v(0x1c2)]!==v(0x186)?(h['template']['css']&&await this[v(0x197)]['injectAtBeginningOfFile']({'filePath':g+'.'+h['engines']['js'],'content':v(0x18d)+j['fileName']+'.'+h[v(0x1bf)]['html']+'\x27;\x0a'+v(0x18d)+j['fileName']+'.'+h[v(0x1bf)]['css']+'\x27;'}),!h['template'][v(0x1a3)]&&await this['scaffold'][v(0x1b3)]({'filePath':g+'.'+h[v(0x1bf)]['js'],'content':v(0x18d)+j['fileName']+'.'+h[v(0x1bf)][v(0x1c0)]+'\x27;'})):h['template']['css']&&await this[v(0x197)]['injectAtBeginningOfFile']({'filePath':g+'.'+h[v(0x1bf)]['js'],'content':'import\x20\x27./'+j[v(0x1a0)]+'.'+h[v(0x1bf)][v(0x1a3)]+'\x27;'});const k=b[v(0x196)]?'/'+b[v(0x196)]+'/':'/';i=''+c+k+j[v(0x1a0)]+'/'+j['fileName'],await this[v(0x197)][v(0x1ac)](j[v(0x175)],h,i);if(!b[v(0x1a5)]){const l=b[v(0x16f)]??![];if(!f){Log[v(0x1b7)](v(0x18a));throw new UsageError();}let m=b['url']?b['url']:'/'+b['dir'][v(0x174)]()+'/'+b[v(0x187)][v(0x174)]()[v(0x18e)](/\\/g,'/')[v(0x18e)](/\/+$/,'')['toLowerCase']();const n=b[v(0x187)]['indexOf'](':');n!==-0x1&&(m+='/'+b['resourceName'][v(0x16e)](0x0,n)[v(0x174)]());m['endsWith']('/')&&(m=m[v(0x19b)](0x0,-0x1));m=m[v(0x18e)](/\/\//g,'/');const o=h[v(0x1bf)]['js'],p=h['engines'][v(0x17b)]===v(0x1ba)?v(0x17d):'client',q=a141e[v(0x179)](d,v(0x1bb),'startup',p,v(0x185)+o);l?await this[v(0x197)][v(0x19c)]({'filePath':q,'content':v(0x16c)+m+v(0x1bd)+pascalCase(f)+v(0x183),'begin':[v(0x1a2)],'end':[v(0x1b9)]}):await this[v(0x197)][v(0x19c)]({'filePath':q,'content':v(0x16c)+m+v(0x1bd)+pascalCase(f)+v(0x183),'begin':['<Route\x20index'],'end':[v(0x1a8)]});}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a142r=a142d;(function(a,b){const o=a142d,c=a();while(!![]){try{const d
|
|
1
|
+
const a142r=a142d;(function(a,b){const o=a142d,c=a();while(!![]){try{const d=-parseInt(o(0x7c))/0x1+-parseInt(o(0x76))/0x2+parseInt(o(0x8a))/0x3+parseInt(o(0x74))/0x4+-parseInt(o(0x83))/0x5*(-parseInt(o(0x8e))/0x6)+-parseInt(o(0x71))/0x7+parseInt(o(0x75))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a142c,0x79390));const a142b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a142d;if(c){const e=c[p(0x73)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a142a=a142b(this,function(){const q=a142d;return a142a[q(0x8c)]()['search'](q(0x8b))['toString']()[q(0x70)](a142a)[q(0x78)](q(0x8b));});a142a();import{kebabCase,pascalCase}from'change-case';function a142d(a,b){const c=a142c();return a142d=function(d,e){d=d-0x70;let f=c[d];return f;},a142d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a142c(){const t=['startup','search','publish/publish.js','force','publish','158911XazvJp','/imports/startup/server/publications','engines','tsx','exit','imports','globalPublish','327055GMkTpJ','template','index.','resourceName','server','pathFromApp','maka\x20g:publish\x20todos','683292NAFZkd','(((.+)+)+)+$','toString','dir','36QSKsef','constructor','2754269uCLrAk','appPathPrefix','apply','3082940zkBecU','2464960QxkKCg','1300358sPqiWL'];a142c=function(){return t;};return a142c();}Generator['create']({'name':a142r(0x7b),'aliases':['p'],'usage':'maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','shortDesc':'Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','validOpts':[a142r(0x7a)],'requiredOpts':[a142r(0x82)],'mustBeInMakaProject':!![],'examples':[a142r(0x89)]},async function(a,b){const s=a142r;try{const {projectConfig:c,scaffold:d}=this,f=b[s(0x7a)]||![],g=s(0x7d),h=kebabCase(b[s(0x86)]),i=d['pathFromApp']({'pathParts':[g,b['dir'],'',h]});let j='js';c[s(0x7e)]['js']===s(0x7f)&&(j='ts');const k={'name':b[s(0x86)],'collection':pascalCase(b[s(0x86)]),'noRename':!![],'globalPublish':b[s(0x82)]};await d[s(0x84)]({'srcPath':s(0x79),'destPath':i+'.'+j,'context':k,'config':c,'force':f});const l=d[s(0x88)]({'pathParts':[s(0x81),s(0x77),s(0x87),b[s(0x72)],s(0x85)+c[s(0x7e)]['js']]}),m=b[s(0x8d)]?'/'+b[s(0x8d)]+'/':'/';await d['injectAtEndOfFile']({'filePath':l,'content':'import\x20\x27./publications'+m+h+'\x27;'});}catch(n){Log['error'](n),process[s(0x80)](0x1);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a143r=a143d;
|
|
1
|
+
const a143r=a143d;(function(a,b){const o=a143d,c=a();while(!![]){try{const d=-parseInt(o(0x131))/0x1+parseInt(o(0x132))/0x2+-parseInt(o(0x148))/0x3*(parseInt(o(0x125))/0x4)+-parseInt(o(0x128))/0x5+parseInt(o(0x12b))/0x6+parseInt(o(0x143))/0x7+-parseInt(o(0x13e))/0x8*(-parseInt(o(0x137))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a143c,0x5cd56));const a143b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a143d;if(c){const e=c[p(0x13a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a143a=a143b(this,function(){const q=a143d;return a143a[q(0x144)]()['search'](q(0x129))[q(0x144)]()[q(0x141)](a143a)['search'](q(0x129));});a143a();function a143d(a,b){const c=a143c();return a143d=function(d,e){d=d-0x125;let f=c[d];return f;},a143d(a,b);}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';function a143c(){const t=['route','resourceName','exit','create','107567dNIxEg','337958XoOoPV','none','startup','split','Scaffolding\x20for\x20a\x20Route.','1233WJNoyB','<Route\x20index','\x22\x20element={<Component.','apply','join','</Route>','findAppDirectory','2816ALrcVh','maka\x20{generate,\x20g}:{route,\x20r}','engines','constructor','client','3737230GZaAnx','toString','replace','imports','injectIntoFile','495042lTeccQ','4xpItXj','toLowerCase','private','3706465TtkFiu','(((.+)+)+)+$','length','3858162VXpUDq','<Route\x20path=\x22'];a143c=function(){return t;};return a143c();}const aliases=['r'];Generator[a143r(0x130)]({'name':'route','mustBeInMakaProject':!![],'aliases':aliases,'validOpts':[{'name':'private','boolFlag':!![]},{'name':a143r(0x12d)}],'usage':a143r(0x13f),'shortDesc':a143r(0x136),'examples':[]},async function(a,b){const s=a143r,{fsi:c,scaffold:d,projectConfig:f}=this;try{const g=c[s(0x13d)](),h=b[s(0x127)]??![];let i=b[s(0x12e)][s(0x135)]('/')['pop']();if(!i){Log['error']('Please\x20specify\x20a\x20name\x20for\x20the\x20route.');throw new UsageError();}i=pascalCase(i);let j=b[s(0x12d)]?'/'+b[s(0x12d)]:'/'+b[s(0x12e)]['replace'](/\\/g,'/')[s(0x126)]();a[s(0x12a)]>0x1&&(j='/'+a['filter'](function(n){return n!=='/';})[s(0x13b)]('/')['toLowerCase']());j=j[s(0x145)](/\/\//g,'/');const k=f[s(0x140)]['js'],l=f['engines']['ssr']!==s(0x133)?'lib':s(0x142),m=a143e[s(0x13b)](g,s(0x146),s(0x134),l,'routes.'+k);h?await d[s(0x147)]({'filePath':m,'content':'<Route\x20path=\x22'+j+s(0x139)+i+'/>}/>\x0a','begin':['<Route\x20element={<PrivateRoute\x20/>}>'],'end':[s(0x13c)]}):await d['injectIntoFile']({'filePath':m,'content':s(0x12c)+j+s(0x139)+i+'/>}/>\x0a','begin':[s(0x138)],'end':['<Route\x20path=\x22*\x22']});}catch(n){Log['error'](n),process[s(0x12f)](0x1);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a144d,c=a();while(!![]){try{var d
|
|
1
|
+
function a144d(a,b){var c=a144c();return a144d=function(d,e){d=d-0xb7;var f=c[d];return f;},a144d(a,b);}(function(a,b){var f=a144d,c=a();while(!![]){try{var d=parseInt(f(0xbd))/0x1+-parseInt(f(0xb9))/0x2*(parseInt(f(0xc1))/0x3)+parseInt(f(0xc4))/0x4+-parseInt(f(0xb7))/0x5+parseInt(f(0xc0))/0x6+-parseInt(f(0xbb))/0x7*(-parseInt(f(0xba))/0x8)+-parseInt(f(0xc3))/0x9*(parseInt(f(0xb8))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a144c,0xbee21));var a144b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a144d;if(c){var e=c[g(0xbc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a144a=a144b(this,function(){var h=a144d;return a144a[h(0xbe)]()['search'](h(0xbf))['toString']()['constructor'](a144a)[h(0xc2)](h(0xbf));});a144a();import'./translation.js';import'./openssl.js';import'./service.js';function a144c(){var i=['toString','(((.+)+)+)+$','5891832eAWnAe','15ltpwyv','search','11869479YhcDbR','1986600IRBdhv','168430aPHPBR','10ljpAyv','142122bLcTOR','1733168guRzfe','14VrZuiv','apply','577765swwILB'];a144c=function(){return i;};return a144c();}import'./logger.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a145c(){const r=['3348978SuuBuM','Generate\x20a\x20winston\x20logger\x20service.','tsx','logger','11445240qaXVpp','(((.+)+)+)+$','366340OsyoJq','988215JFkSfx','resourceName','winston\x20setimmediate','15gNHsNc','apply','service/logger/logger.js','create','pathFromApp','419324JQWYbh','58148nYHUGQ','search','template','engines','873068pnIbYM','error','toString','imports','maka\x20{generate,\x20g}:{service,\x20svc}:{logger}\x20<resource-name>','projectConfig','checkNpmPackage','log'];a145c=function(){return r;};return a145c();}const a145o=a145d;(function(a,b){const l=a145d,c=a();while(!![]){try{const d=parseInt(l(0x1d0))/0x1+parseInt(l(0x1cf))/0x2+-parseInt(l(0x1c7))/0x3+-parseInt(l(0x1c6))/0x4*(parseInt(l(0x1ca))/0x5)+-parseInt(l(0x1c0))/0x6+-parseInt(l(0x1b8))/0x7+parseInt(l(0x1c4))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a145c,0x6471a));const a145b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a145d;if(c){const e=c[m(0x1cb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a145a=a145b(this,function(){const n=a145d;return a145a[n(0x1ba)]()[n(0x1d1)](n(0x1c5))[n(0x1ba)]()['constructor'](a145a)['search'](n(0x1c5));});a145a();import{camelCase,kebabCase,pascalCase}from'change-case';function a145d(a,b){const c=a145c();return a145d=function(d,e){d=d-0x1b8;let f=c[d];return f;},a145d(a,b);}import a145e from'./service.js';import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';Generator[a145o(0x1cd)]({'name':a145o(0x1c3),'usage':a145o(0x1bc),'shortDesc':a145o(0x1c1),'mustBeInMakaProject':!![],'validOpts':[],'maxArgLength':0x1,'checkWhere':!![],'examples':['maka\x20g:svc:logger\x20datadog']},async function(a,b){const p=a145o,{pkg:c,scaffold:d}=this;try{const f=this[p(0x1bd)],g=kebabCase(b[p(0x1c8)]);await c[p(0x1be)](p(0x1c9),{'shouldInstall':!![]});const h={'name':pascalCase(b[p(0x1c8)]),'fileName':g,'camelCase':camelCase(b['resourceName']),'engine':f[p(0x1d3)]['js'],'noRename':!![]};let i='js';f[p(0x1d3)]['js']===p(0x1c2)&&(i='ts');const j=d[p(0x1ce)]({'pathParts':[p(0x1bb),'startup',b['where'],'services',g+'.'+i]});await d[p(0x1d2)]({'srcPath':p(0x1cc),'destPath':j,'context':h,'config':f});}catch(k){Log[p(0x1b9)](k);}},async function(){const q=a145o;console[q(0x1bf)]('Not\x20implemented');},a145e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a146c(){const o=['
|
|
1
|
+
function a146d(a,b){const c=a146c();return a146d=function(d,e){d=d-0xfb;let f=c[d];return f;},a146d(a,b);}const a146l=a146d;function a146c(){const o=['error','appName','search','1205bubqjC','scaffold','5376nzPkuj','getMakaProjectConfig','1254638SdqTvU','22524jmecEZ','template','Generate\x20a\x20new\x20openssl\x20config\x20file','81414NlmSXz','8GLJeMy','10EGqRcj','join','getAppConfigPath','openssl.conf','1871577UfZlPd','cfg','maka\x20g:sslconfig\x20--env\x20dev','2804362gebECk','create','Not\x20implemented','8TiMMJF','398144KKsKxk','openssl/openssl.conf','constructor','maka\x20{generate,\x20g}:sslconfig','log','service','sslconfig','apply','(((.+)+)+)+$','toString','_keys','env'];a146c=function(){return o;};return a146c();}(function(a,b){const i=a146d,c=a();while(!![]){try{const d=-parseInt(i(0x118))/0x1+parseInt(i(0x103))/0x2*(-parseInt(i(0x11b))/0x3)+-parseInt(i(0x104))/0x4+parseInt(i(0x113))/0x5*(parseInt(i(0x115))/0x6)+parseInt(i(0x117))/0x7+-parseInt(i(0x11c))/0x8*(-parseInt(i(0xfd))/0x9)+-parseInt(i(0x11d))/0xa*(parseInt(i(0x100))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a146c,0x1cb41));const a146b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a146d;if(c){const e=c[j(0x10b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a146a=a146b(this,function(){const k=a146d;return a146a[k(0x10d)]()[k(0x112)](k(0x10c))[k(0x10d)]()[k(0x106)](a146a)[k(0x112)](k(0x10c));});a146a();import a146e from'./service.js';import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';import a146f from'path';Generator[a146l(0x101)]({'name':a146l(0x10a),'usage':a146l(0x107),'shortDesc':a146l(0x11a),'resourceNameRequired':![],'requiredOpts':[a146l(0x10f)],'examples':[a146l(0xff)],'validOpts':[]},async function(a,b){const m=a146l;try{const c=this['cfg'][m(0x116)](),d=this[m(0xfe)][m(0xfb)](b[m(0x10f)]),f=a146f[m(0x11e)](d,m(0x10e),m(0xfc)),g={'app':c[m(0x111)],'noRename':!![]};await this[m(0x114)][m(0x119)]({'srcPath':m(0x105),'destPath':f,'framework':m(0x109),'context':g,'config':c});}catch(h){Log[m(0x110)](h);}},async function(){const n=a146l;console[n(0x108)](n(0x102));},a146e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a147i=a147d;(function(a,b){const f=a147d,c=a();while(!![]){try{const d=parseInt(f(0x1e7))/0x1*(parseInt(f(0x1f4))/0x2)+parseInt(f(0x1e9))/0x3+-parseInt(f(0x1e8))/0x4*(-parseInt(f(0x1ef))/0x5)+parseInt(f(0x1e5))/0x6+parseInt(f(0x1f2))/0x7*(-parseInt(f(0x1eb))/0x8)+parseInt(f(0x1ec))/0x9*(parseInt(f(0x1e4))/0xa)+parseInt(f(0x1f3))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a147c,0x886ce));const a147b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a147d;if(c){const e=c[g(0x1e2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a147a=a147b(this,function(){const h=a147d;return a147a[h(0x1f1)]()['search'](h(0x1f0))[h(0x1f1)]()[h(0x1ea)](a147a)['search']('(((.+)+)+)+$');});function a147d(a,b){const c=a147c();return a147d=function(d,e){d=d-0x1e2;let f=c[d];return f;},a147d(a,b);}a147a();import{Generator}from'../../generator.js';const Service=Generator[a147i(0x1f5)]({'name':a147i(0x1e6),'aliases':['svc'],'usage':a147i(0x1ed),'shortDesc':a147i(0x1ee),'mustBeInMakaProject':!![],'validOpts':[],'maxArgLength':0x1,'resourceNameRequired':![],'examples':[a147i(0x1e3)]},async function(){});export default Service;function a147c(){const j=['Generate\x20a\x20service\x20to\x20run\x20within\x20your\x20meteor\x20application.','1166285XCtvYp','(((.+)+)+)+$','toString','141974tUxlzM','3245484dRtVqm','20292XgNOFF','create','apply','maka\x20g:svc:logger\x20datadog','6050RQxmPf','135810GOKodx','service','23mlQqVI','4pxLrVE','160239KNIJPt','constructor','336ArqrTX','8523wbtkIS','maka\x20{generate,\x20g}:{service}\x20<resource-name>'];a147c=function(){return j;};return a147c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a148D=a148d;(function(a,b){const A=a148d,c=a();while(!![]){try{const d
|
|
1
|
+
function a148d(a,b){const c=a148c();return a148d=function(d,e){d=d-0x127;let f=c[d];return f;},a148d(a,b);}const a148D=a148d;(function(a,b){const A=a148d,c=a();while(!![]){try{const d=-parseInt(A(0x13b))/0x1*(parseInt(A(0x12c))/0x2)+parseInt(A(0x130))/0x3*(-parseInt(A(0x138))/0x4)+parseInt(A(0x131))/0x5*(-parseInt(A(0x15e))/0x6)+parseInt(A(0x15b))/0x7*(-parseInt(A(0x14b))/0x8)+parseInt(A(0x145))/0x9+-parseInt(A(0x143))/0xa*(-parseInt(A(0x142))/0xb)+parseInt(A(0x158))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a148c,0x98c4e));const a148b=(function(){let a=!![];return function(b,c){const d=a?function(){const B=a148d;if(c){const e=c[B(0x12d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a148a=a148b(this,function(){const C=a148d;return a148a[C(0x157)]()['search'](C(0x146))['toString']()[C(0x14f)](a148a)['search'](C(0x146));});a148a();import a148e from'./service.js';import{Generator}from'../../generator.js';function a148c(){const G=['7076520WUYvjM','(((.+)+)+)+$','\x20}\x20from\x20\x27./','Locale\x20already\x20defined:\x20','default\x20as\x20','startup','6636488gtgBIV','checkNpmPackage','rewriteDestinationPathForEngine','grep','constructor','i18n/locales.js','root','i18next\x20i18next-browser-languagedetector\x20react-i18next','findAppDirectory','server','maka\x20{generate,\x20g}:translation','engines','toString','17810928SwysMF','readFileSync','injectAtEndOfFile','7bXiIfU','service','Generate\x20a\x20new\x20locale\x20translation','6xEfuuO','ssr','Not\x20implemented','template','index.js','pathFromApp','i18n.js','locales','188MiEQiC','apply','export\x20{\x20default\x20as\x20','maka\x20g:translation\x20--lang=de','3325419sQHmlR','3331685uSIxZF','error','imports','warn','import\x20\x27../lib/services/translations/i18n\x27;\x0a','import\x20\x27../lib/services/translations/i18n\x27;','meteor','4dtaDrR','services','create','488ntEfyJ','isFile','index.','i18n/i18n.js','translations','injectAtBeginningOfFile','lib','209Pdlxpq','529190OoKkRz','lang'];a148c=function(){return G;};return a148c();}import{Log}from'../../tools/log/log.class.js';import a148f from'fs';Generator[a148D(0x13a)]({'name':'translation','usage':a148D(0x155),'aliases':['t'],'resourceNameRequired':![],'requiredOpts':[{'name':a148D(0x144),'boolFlag':![],'regex':/^[a-z]{2}$/}],'mustBeInMakaProject':!![],'shortDesc':a148D(0x15d),'description':'\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','examples':['maka\x20g:translation\x20--lang=en\x20(default)','maka\x20g:translation\x20--lang=fr',a148D(0x12f)],'validOpts':[]},async function(a,b){const E=a148D;try{const {fsi:c,scaffold:d,pkg:f,cfg:g,projectConfig:h}=this,i=c[E(0x153)]();!b[E(0x144)]&&(b[E(0x144)]='en');!b[E(0x151)]&&(await f[E(0x14c)](E(0x152),{'shouldInstall':!![],'cwd':i}),g['setProjectConfig']('features.withTranslations',!![]));const j=d[E(0x129)]({'pathParts':[E(0x133),E(0x14a),'client','index.js']}),k=d[E(0x14d)]({'pathParts':[j],'config':h}),l=c[E(0x14e)](a148f['readFileSync'](k)[E(0x157)](),E(0x136))[0x0]&&!![];if(h[E(0x156)][E(0x15f)]===E(0x137)){!l&&d[E(0x140)]({'filePath':k,'content':'import\x20\x27../lib/services/translations/i18n\x27;\x0a'});const w=d[E(0x129)]({'pathParts':[E(0x133),E(0x14a),E(0x154),E(0x128)]}),x=d[E(0x14d)]({'pathParts':[w],'config':h}),y=c['grep'](a148f[E(0x159)](x)[E(0x157)](),E(0x136))[0x0]&&!![];!y&&d['injectAtBeginningOfFile']({'filePath':x,'content':E(0x135)});}else!l&&d['injectAtBeginningOfFile']({'filePath':k,'content':E(0x135)});const m={'app':h['appName'],'config':h},n=d[E(0x129)]({'pathParts':['imports',E(0x14a),E(0x141),E(0x139),E(0x13f),E(0x12a)]}),o=c['isFile'](d['rewriteDestinationPathForEngine']({'pathParts':[n],'config':h}));!o&&await d['template']({'srcPath':E(0x13e),'destPath':n,'framework':E(0x15c),'context':m,'config':h});const p=d[E(0x129)]({'pathParts':[E(0x133),E(0x14a),E(0x141),'services','translations',E(0x12b),b[E(0x144)]+'.js']}),q=d[E(0x14d)]({'pathParts':[p],'config':h}),r=c[E(0x13c)](q);!r?await this['scaffold'][E(0x127)]({'srcPath':E(0x150),'destPath':p,'framework':E(0x15c),'context':m,'config':h}):Log[E(0x134)](E(0x148)+q);const s=d[E(0x129)]({'pathParts':[E(0x133),E(0x14a),E(0x141),E(0x139),E(0x13f),E(0x12b),E(0x13d)+h[E(0x156)]['js']]}),t=d[E(0x14d)]({'pathParts':[s],'config':h}),u=c[E(0x13c)](t);!u&&await d[E(0x127)]({'srcPath':'i18n/index.js','destPath':s,'framework':E(0x15c),'context':m,'config':h});const v=c[E(0x14e)](a148f['readFileSync'](s)[E(0x157)](),E(0x149)+b['lang'])[0x0]&&!![];!v?await d[E(0x15a)]({'filePath':s,'content':E(0x12e)+b[E(0x144)]+E(0x147)+b[E(0x144)]+'\x27;'}):Log[E(0x134)]('Locale\x20already\x20exported:\x20'+s);}catch(z){Log[E(0x132)](z),process['exit'](0x1);}},async function(){const F=a148D;console['log'](F(0x160));},a148e);
|
package/bundle/obf/src/maka.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a149l=a149d;(function(a,b){const j=a149d,c=a();while(!![]){try{const d=parseInt(j(0x147))/0x1+-parseInt(j(0x13e))/0x2+-parseInt(j(0x151))/0x3+parseInt(j(0x152))/0x4+-parseInt(j(0x13f))/0x5*(-parseInt(j(0x14a))/0x6)+-parseInt(j(0x145))/0x7*(parseInt(j(0x150))/0x8)+parseInt(j(0x14f))/0x9*(-parseInt(j(0x140))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a149c,0xad12b));const a149b=(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;};}()),a149a=a149b(this,function(){const k=a149d;return a149a[k(0x13d)]()[k(0x146)](k(0x143))[k(0x13d)]()['constructor'](a149a)[k(0x146)](k(0x143));});a149a();import a149e from'minimist';import a149f from'os';import a149g from'path';import a149h from'humps';import a149i from'./commands/maka.cmd.js';import'./commands/_index.js';import'./generators/_index.js';import{fileURLToPath}from'url';function a149d(a,b){const c=a149c();return a149d=function(d,e){d=d-0x13c;let f=c[d];return f;},a149d(a,b);}function a149c(){const m=['toString','1573840QIIzQr','1983830FpoNdP','10uhItTY','slice','url','(((.+)+)+)+$','parse','14mqFdmz','search','1407528olMLSX','--max-old-space-size=','env','6XKyeke','run','totalmem','NODE_NO_WARNINGS','TOOL_NODE_FLAGS','7001361aQxWoA','1748104LTYzVa','482322AQPPSs','4269048rTvhrT','floor','MAKA_COMMAND_PATH'];a149c=function(){return m;};return a149c();}const __filename=fileURLToPath(import.meta[a149l(0x142)]),__dirname=a149g['dirname'](__filename);global[a149l(0x13c)]=__dirname;const total_memory=a149f[a149l(0x14c)](),total_mem_in_kb=total_memory/0x400;let total_mem_in_mb=total_mem_in_kb/0x400;total_mem_in_mb=Math[a149l(0x153)](total_mem_in_mb),process[a149l(0x149)][a149l(0x14e)]=a149l(0x148)+total_mem_in_mb,process[a149l(0x149)]['BROWSERSLIST_IGNORE_OLD_DATA']='1',process[a149l(0x149)][a149l(0x14d)]='1';const argv=a149e(process['argv'][a149l(0x141)](0x2)),args=argv['_'],deepCopyArgv=JSON[a149l(0x144)](JSON['stringify'](argv));delete deepCopyArgv['_'];const opts=a149h['camelizeKeys'](deepCopyArgv);a149i[a149l(0x14b)](args,opts);
|
package/bundle/obf/src/tool.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a150z=a150d;(function(a,b){const w=a150d,c=a();while(!![]){try{const d=parseInt(w(0xd9))/0x1*(parseInt(w(0x102))/0x2)+-parseInt(w(0xfe))/0x3*(-parseInt(w(0x10d))/0x4)+-parseInt(w(0xc4))/0x5*(-parseInt(w(0xed))/0x6)+parseInt(w(0xe4))/0x7*(parseInt(w(0xe3))/0x8)+-parseInt(w(0xbe))/0x9*(parseInt(w(0xd1))/0xa)+-parseInt(w(0xdd))/0xb*(-parseInt(w(0x10b))/0xc)+-parseInt(w(0xd8))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a150c,0x842e0));const a150b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a150d;if(c){const e=c[x(0xc8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a150a=a150b(this,function(){const y=a150d;return a150a['toString']()['search'](y(0xd5))['toString']()[y(0xd6)](a150a)['search'](y(0xd5));});a150a();import a150e from'path';import a150f from'os';import a150g 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';function a150c(){const R=['description','getAppProjectConfigs','remapShortToLong','engines','NIE','examples','every','name','mpi','exit','includes','174PPEeKB','validateMakaProject','formatToNamedParam','concat','26IqWeUL','root','usage','Please\x20choose\x20a\x20value\x20for\x20','validateInputOptions','dir','charAt','Please\x20choose\x20an\x20environment','length','12636IlpQiz','ask','50796vsNyDG','validateEngines','assign','validateParams','filter','select','config','getInstance','8998767gXKCwu','Invalid\x20value\x20for\x20','_handler','You\x20must\x20have\x20','shortDesc','experimental','95FctDUF','getShortName','cwd','docker','apply','local','fsi','cfg','push','match','You\x20must\x20be\x20in\x20a\x20maka\x20project\x20to\x20run\x20this\x20command.','help','Please\x20provide\x20a\x20value\x20for\x20','10LAMqYd','No\x20usage\x20provided.','string','map','(((.+)+)+)+$','constructor','Invalid\x20argument:\x20','5188547KVKLWk','3383uYvmVC','aliases','resourceName','homedir','1639HAtzww','indexOf','options','error','find','keys','248728mkIAMR','133YPHCsb','scaffold','This\x20command\x20needs\x20a\x20higher\x20environment\x20to\x20run\x20(other\x20than\x20local).\x20Please\x20create\x20a\x20new\x20environment;\x20`maka\x20g:config\x20development`','Please\x20choose\x20a\x20valid\x20value\x20for\x20','parent','\x20version\x20','Invalid\x20option:\x20','pkg','askForOption','130182sVZIqj','env','validateUserIsLoggedIn','.meteor','Please\x20provide\x20a\x20resource\x20name:','join'];a150c=function(){return R;};return a150c();}import{MPI}from'./tools/mpi/mpi.class.js';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=a150f[a150z(0xdc)]();function a150d(a,b){const c=a150c();return a150d=function(d,e){d=d-0xbb;let f=c[d];return f;},a150d(a,b);}export class Tool{[a150z(0xc7)];['fsi'];['cfg'];[a150z(0xfb)];[a150z(0xeb)];['aws'];[a150z(0xe5)];[a150z(0xdf)];[a150z(0xfa)];[a150z(0xe8)];[a150z(0xc0)];constructor(){const A=a150z;this[A(0xc7)]=new Docker(),this[A(0xca)]=FSI['getInstance'](),this[A(0xcb)]=CFG[A(0xbd)](this[A(0xca)]),this[A(0xeb)]=PKG[A(0xbd)](this[A(0xca)]),this[A(0xfb)]=MPI['getInstance'](this['fsi'],this['cfg'],this['pkg']),this['aws']=AWS['getInstance'](this[A(0xca)],this['cfg'],this[A(0xe5)]),this['scaffold']=Scaffold[A(0xbd)](this[A(0xca)],this['mpi']);}[a150z(0xc5)](a){const B=a150z;return a[B(0x108)](0x0);}[a150z(0xf5)](a,b){const C=a150z,c=this['formatToNamedParam'](b),d={...a};for(const e of c){const f=this[C(0xc5)](e[C(0xfa)]);a[f]&&(d[e[C(0xfa)]]=a[f],delete d[f]);}return d;}[a150z(0x100)](a){const D=a150z;if(a[D(0xf9)](b=>typeof b===D(0xd3)))return a['map'](b=>({'name':b}));return a;}['match'](a){const E=a150z,b=[this[E(0xfa)]][E(0x101)](this[E(0xdf)][E(0xda)]||[]);return this[E(0xe8)]&&b[E(0xcc)](this[E(0xe8)]),b[E(0xfd)](a);}[a150z(0xff)](){const F=a150z,a=this[F(0xca)]['findProjectDirectory']();return a!==undefined;}async[a150z(0xef)](){return!![];}['validateMeteorInstall'](){const G=a150z;return a150g['existsSync'](a150e[G(0xf2)](homeDir,G(0xf0)));}async[a150z(0x10e)](a){const H=a150z,b=this[H(0xcb)]['getMakaProjectConfig']();if(!b)throw MustBeInProjectError;const c=b[H(0xf6)],d=Object[H(0xe2)](a);if(d[H(0x10a)]>0x0)for(const e of d){const f=c[e];if(f!==a[e]){Log[H(0xe0)](H(0xc1)+e+H(0xe9)+a[e]+'\x20installed\x20to\x20use\x20this\x20command.');throw UsageError;}}}async[a150z(0x110)](a,b,c){const I=a150z,{requiredOpts:d,validArgs:e,validOpts:f,resourceNameRequired:g,mustBeInMakaProject:h}=c;if(h&&!this['validateMakaProject']()){Log['error'](I(0xce));throw MustBeInProjectError;}b[I(0xdb)]===undefined&&g===!![]&&(b['resourceName']=await Actions[I(0x10c)](I(0xf1)));let i=[],j=b;if(d){i=this[I(0x100)](d),j=this[I(0xf5)](b,i);for(const m of i){const {name:n,values:o,regex:p}=m;if(!Object[I(0xe2)](j)[I(0xfd)](n)){if(n===I(0xee)){const q=this[I(0xcb)][I(0xf4)]()[I(0x111)](r=>r!==I(0xc9))[I(0xd4)](r=>({'name':r,'value':r}));q[I(0x10a)]===0x0&&(Log[I(0xe0)](I(0xe6)),process[I(0xfc)](0x1)),b[I(0xee)]=await Actions[I(0xbb)]({'name':I(0xee),'message':I(0x109),'choices':q});}else b[n]=await this[I(0xec)](n,o,p);}else{if(o&&!o[I(0xfd)](j[n])){Log[I(0xe0)](I(0xbf)+n+':\x20'+j[n]);throw new UsageError();}}}}let k=this['formatToNamedParam'](f),l=b;if(k&&k[I(0x10a)]>0x0){k=k[I(0x101)](i||[]),k[I(0xcc)]({'name':'resourceName','hidden':!![]}),k[I(0xcc)]({'name':I(0xcf),'boolFlag':!![]}),k[I(0xcc)]({'name':I(0x107),'hidden':!![]}),k[I(0xcc)]({'name':I(0xc6),'hidden':!![]}),k[I(0xcc)]({'name':I(0x103),'hidden':!![]}),k[I(0xcc)]({'name':I(0xbc),'hidden':!![]}),l=this[I(0xf5)](b,k);for(const r of k){const {name:s,values:t}=r,u=l[s];u!==undefined&&t&&!t['includes'](u)&&(l[s]=await Actions[I(0xbb)]({'name':s,'message':I(0xe7)+s,'choices':t[I(0xd4)](v=>({'name':v,'value':v}))})),this[I(0x106)](l,k);}}if(e&&e[I(0x10a)]>0x0)for(const v of a){!e[I(0xfd)](v)&&(Log[I(0xe0)](I(0xd7)+v),a[a[I(0xde)](v)]=await Actions[I(0x10c)]('Please\x20provide\x20a\x20valid\x20argument\x20for\x20'+v));}return Object[I(0x10f)](j,l);}async[a150z(0xec)](a,b,c){const J=a150z;if(b)return Actions[J(0xbb)]({'name':a,'message':J(0x105)+a,'choices':b[J(0xd4)](d=>({'name':d,'value':d}))});else{if(c){const d=await Actions['ask']('Please\x20provide\x20a\x20value\x20for\x20'+a);if(d[J(0xcd)](c))return d;else{Log['error'](J(0xbf)+a+':\x20'+d);throw new UsageError();}}else return Actions['ask'](J(0xd0)+a);}}[a150z(0x106)](a,b){const K=a150z;for(const c of Object['keys'](a)){const d=b[K(0xe1)](e=>e[K(0xfa)]===c);if(!d){Log['error'](K(0xea)+c);throw new UsageError();}}}[a150z(0xf3)](){const L=a150z;return this[L(0xdf)][L(0xf3)]||this[L(0xdf)]['shortDesc']||'No\x20description\x20provided.';}[a150z(0xc2)](){const M=a150z;return this[M(0xdf)][M(0xc2)]||M(0xf7);}[a150z(0x104)](){const N=a150z;return this[N(0xdf)][N(0x104)]||N(0xd2);}[a150z(0xf8)](){const O=a150z;return this[O(0xdf)][O(0xf8)]||[];}[a150z(0xda)](){const P=a150z;return this[P(0xdf)][P(0xda)]||'None';}[a150z(0xc3)](){const Q=a150z;return this[Q(0xdf)]['experimental']||![];}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a151i=a151d;
|
|
1
|
+
const a151i=a151d;(function(a,b){const f=a151d,c=a();while(!![]){try{const d=parseInt(f(0x14f))/0x1+-parseInt(f(0x13c))/0x2*(parseInt(f(0x14c))/0x3)+parseInt(f(0x146))/0x4*(parseInt(f(0x13b))/0x5)+-parseInt(f(0x147))/0x6*(-parseInt(f(0x14a))/0x7)+parseInt(f(0x13d))/0x8+parseInt(f(0x141))/0x9+-parseInt(f(0x150))/0xa*(parseInt(f(0x144))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a151c,0xdfa7b));const a151b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a151d;if(c){const e=c[g(0x148)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a151a=a151b(this,function(){const h=a151d;return a151a[h(0x149)]()[h(0x142)](h(0x145))[h(0x149)]()[h(0x14b)](a151a)['search'](h(0x145));});function a151d(a,b){const c=a151c();return a151d=function(d,e){d=d-0x13b;let f=c[d];return f;},a151d(a,b);}a151a();import{input,confirm,password,select,checkbox}from'@inquirer/prompts';export class Actions{static async[a151i(0x14d)](a,b){const c=await(b?password({'message':a}):input({'message':a}));return c;}static async[a151i(0x140)](a,b=![]){const c=await confirm({'message':a,'default':b});return c;}static async[a151i(0x13f)](a){const j=a151i,b=await select({'message':a['message'],'choices':a[j(0x143)]});return b;}static async[a151i(0x13e)](a){const k=a151i,b=await checkbox({'message':a[k(0x14e)],'choices':a[k(0x143)]});return b;}}function a151c(){const l=['10775079aXkNEM','search','choices','11ivebkj','(((.+)+)+)+$','1792AuuNso','822nSSZCr','apply','toString','3563jSTrdk','constructor','3260553CfMhUd','ask','message','44077UKfUfm','14599070sqNcdd','11140mrXOwv','2NqPlCq','9229312MgmgUk','checkbox','select','confirm'];a151c=function(){return l;};return a151c();}
|