@maka/maka-cli 4.9.10 → 4.9.12
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/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/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/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/patreon.js +1 -1
- package/bundle/obf/src/commands/proxy.js +1 -1
- package/bundle/obf/src/commands/reconfig.js +1 -1
- package/bundle/obf/src/commands/register.js +1 -1
- package/bundle/obf/src/commands/run/_index.js +1 -1
- package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/run/run.command.js +1 -1
- package/bundle/obf/src/commands/set/_index.js +1 -1
- package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/set.command.js +1 -1
- package/bundle/obf/src/commands/ssh.js +1 -1
- package/bundle/obf/src/commands/ssl.js +1 -1
- package/bundle/obf/src/commands/test.js +1 -1
- package/bundle/obf/src/commands/undo.js +1 -1
- package/bundle/obf/src/commands/version.js +1 -1
- package/bundle/obf/src/error.js +1 -1
- package/bundle/obf/src/exec.js +1 -1
- package/bundle/obf/src/generator.js +1 -1
- package/bundle/obf/src/generators/_index.js +1 -1
- package/bundle/obf/src/generators/api.js +1 -1
- package/bundle/obf/src/generators/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/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/frame.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
- package/bundle/obf/src/generators/layout.js +1 -1
- package/bundle/obf/src/generators/maka.gen.js +1 -1
- package/bundle/obf/src/generators/methods.js +1 -1
- package/bundle/obf/src/generators/package.js +1 -1
- package/bundle/obf/src/generators/page.js +1 -1
- package/bundle/obf/src/generators/publish.js +1 -1
- package/bundle/obf/src/generators/route.js +1 -1
- package/bundle/obf/src/generators/service.js +1 -1
- package/bundle/obf/src/generators/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/translation.js +1 -1
- package/bundle/obf/src/maka.js +1 -1
- package/bundle/obf/src/templates/meteor/project/package.json +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/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/options/options.class.js +1 -1
- package/bundle/obf/src/tools/progress/progress.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
- package/bundle/obf/src/templates/react/component/component.js +0 -0
- package/bundle/obf/src/templates/react/component/component.js.ts +0 -0
- package/bundle/obf/src/templates/react/hook/hook.js +0 -1
- package/bundle/obf/src/templates/react/hook/hook.js.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
const a115z=a115d;(function(a,b){const x=a115d,c=a();while(!![]){try{const d
|
|
1
|
+
const a115z=a115d;(function(a,b){const x=a115d,c=a();while(!![]){try{const d=-parseInt(x(0xa4))/0x1*(parseInt(x(0xaa))/0x2)+-parseInt(x(0xa8))/0x3+-parseInt(x(0x9e))/0x4*(-parseInt(x(0xde))/0x5)+-parseInt(x(0xc7))/0x6*(parseInt(x(0xac))/0x7)+-parseInt(x(0xc8))/0x8*(-parseInt(x(0xdc))/0x9)+parseInt(x(0xcb))/0xa+parseInt(x(0xa5))/0xb*(parseInt(x(0xab))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0xd1f5d));const a115b=(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;};}()),a115a=a115b(this,function(){const y=a115d;return a115a[y(0xd6)]()['search'](y(0xca))[y(0xd6)]()['constructor'](a115a)[y(0xbf)](y(0xca));});a115a();import{Generator}from'../../../generator.js';function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-0x9b;let f=c[d];return f;},a115d(a,b);}import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';function a115c(){const D=['getMakaProjectConfig','error','tsx','maka\x20g:k:m:f','dir','search','/imports/startup/lib/templates','/imports/ui/hooks','pathFromApp','kit/mui/frame/drawers/','appName','true','ssr','6143010Qqhtki','8QbUqXI','getFiles','(((.+)+)+)+$','7586360bfJpyS','{\x20props.children\x20}','kit/mui/frame/app-bars/','engines','checkMeteorPackage','log','{props.children}','tests','injectTemplateModule','join','Cleaning\x20up...','toString','baseDir','{this.props.children}','layouts','create','injectImport','4967955uHTJbO','basic-drawer','8117610wNxVxi','template','injectIntoFile','REACT','options','react','4rGZiuh','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','app-tests','getDirectories','<div\x20id=\x22','.js','3835qKfheH','379907cUCGvv','jsx','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','3772959CFfGaM','\x20/>\x0a','90qJowDc','132OrbWat','7rCuYzU','-hook\x22>','findAppDirectory','basic-app-bar','withValue','/imports/ui/','{\x20this.props.children\x20}','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','replaceAll','length','fsi','/imports/startup/client/templates','MATERIAL','imports'];a115c=function(){return D;};return a115c();}import a115e from'path';import a115f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a115z(0xda)]({'name':'frame','aliases':['f'],'usage':a115z(0xb3),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','validOpts':[a115z(0xd9)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a115z(0xb8)],'client':ClientEngines[a115z(0x9b)]},'examples':['maka\x20generate:kit:mui:frame',a115z(0xbd)],'description':a115z(0x9f)},async function(a,b){const A=a115z;try{const c=A(0xaf),d=A(0xdd),f=this[A(0xb6)][A(0xba)](),g=f[A(0xce)][A(0xc6)]===A(0xc5);await this[A(0xb6)][A(0xcf)]('session',{'shouldInstall':!![]});const h=this[A(0xb6)][A(0xae)](),i=a115e[A(0xd4)](h,A(0xb9),'ui','layouts'),j=this['fsi'][A(0xa1)](i),k=await Actions[A(0x9c)]({'type':'checkbox','name':'layouts','message':A(0xa7),'choices':j});if(k[A(0xd9)][A(0xb5)]===0x0){Log[A(0xbb)]('No\x20layouts\x20selected');return;}const l=b[A(0xd7)]?A(0xb1)+b['baseDir']:A(0xc1),m=this[A(0xb6)]['pathFromApp']({'pathParts':[l,b[A(0xbe)],paramCase(c),paramCase(c)]}),n=this[A(0xb6)][A(0xc2)]({'pathParts':[l,b[A(0xbe)],paramCase(d),paramCase(d)]}),o={'name':headerCase(f[A(0xc4)])[A(0xb4)]('-','\x20')};await this[A(0xb6)][A(0xb0)](f,async()=>{const B=A;await this[B(0xb6)][B(0xdf)]({'srcPath':B(0xcd)+c+B(0xa3),'destPath':m+B(0xa3),'framework':'react','context':o,'config':f,'force':![],'ignore':![]}),await this[B(0xb6)][B(0xdf)]({'srcPath':B(0xc3)+d+B(0xa3),'destPath':n+'.js','framework':B(0x9d),'context':o,'config':f,'force':![],'ignore':![]});});const p=''+l+b[A(0xbe)]+'/'+c+'/'+c;await this[A(0xb6)][A(0xd3)](c,f,p);const q=''+l+b[A(0xbe)]+'/'+d+'/'+d;await this[A(0xb6)][A(0xd3)](d,f,q);const {layouts:r}=k;for(const s of r){const t=this['fsi'][A(0xc9)](a115e[A(0xd4)](i,s),{'extensions':[A(0xa6),A(0xbc)],'omit':[A(0xa0),A(0xd2),'test']});for(const u of t){const v=a115e['join'](i,s,u);await this['fsi'][A(0xdb)]({'filePath':v,'importName':pascalCase(c),'modulePath':g?'/imports/startup/lib/templates':A(0xb7),'isNamedExport':!![]}),await this[A(0xb6)]['injectIntoFile']({'filePath':v,'content':'<'+pascalCase(c)+A(0xa9),'begin':[A(0xa2)+s+'\x22>',A(0xa2)+s+A(0xad)],'end':[A(0xd8),A(0xb2),A(0xd1),A(0xcc)]}),await this['fsi'][A(0xdb)]({'filePath':v,'importName':pascalCase(d),'modulePath':g?A(0xc0):'/imports/startup/client/templates','isNamedExport':!![]}),await this[A(0xb6)][A(0xe0)]({'filePath':v,'content':'<'+pascalCase(d)+A(0xa9),'begin':['<div\x20id=\x22'+s+'\x22>','<div\x20id=\x22'+s+A(0xad)],'end':[A(0xd8),A(0xb2),'{props.children}',A(0xcc)]});}}return!![];}catch(w){Log['error'](w);}},async function(){const C=a115z;console[C(0xd0)](C(0xd5));},a115f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a116h=a116d;(function(a,b){const f=a116d,c=a();while(!![]){try{const d
|
|
1
|
+
function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x1a3;let f=c[d];return f;},a116d(a,b);}const a116h=a116d;(function(a,b){const f=a116d,c=a();while(!![]){try{const d=-parseInt(f(0x1af))/0x1*(parseInt(f(0x1a7))/0x2)+parseInt(f(0x1ae))/0x3+-parseInt(f(0x1ab))/0x4+parseInt(f(0x1ac))/0x5+-parseInt(f(0x1b0))/0x6+parseInt(f(0x1b4))/0x7+-parseInt(f(0x1aa))/0x8*(-parseInt(f(0x1a6))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0xcc2ba));const a116b=(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;};}()),a116a=a116b(this,function(){const g=a116d;return a116a[g(0x1a8)]()['search'](g(0x1a4))[g(0x1a8)]()[g(0x1b1)](a116a)['search']('(((.+)+)+)+$');});function a116c(){const j=['maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','43965Uhyuxt','4OVXjWe','toString','maka\x20g:kit:m','216cBtHsK','5235060KYUoQM','4717145Djsfls','NIE','4784700snQZgh','438222LqAOSB','321522zZVlmu','constructor','mui','create','2833978kMqmWn','Material-UI\x20Kit','(((.+)+)+)+$'];a116c=function(){return j;};return a116c();}a116a();import{Generator}from'../../../generator.js';import a116e from'../kit.js';const MuiGen=Generator[a116h(0x1b3)]({'name':a116h(0x1b2),'aliases':['m'],'usage':a116h(0x1a5),'noNeedResource':!![],'shortDesc':a116h(0x1a3),'validOpts':[''],'isPro':![],'examples':[a116h(0x1a9)]},async function(){const i=a116h;throw i(0x1ad);},async function(){},a116e);export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a117n=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d=parseInt(l(0x92))/0x1+parseInt(l(0x90))/0x2+parseInt(l(0x93))/0x3*(-parseInt(l(0x7f))/0x4)+parseInt(l(0x99))/0x5*(parseInt(l(0x88))/0x6)+-parseInt(l(0x82))/0x7+parseInt(l(0x89))/0x8*(-parseInt(l(0x9b))/0x9)+parseInt(l(0x7c))/0xa*(-parseInt(l(0x9a))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x75424));const a117b=(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;};}()),a117a=a117b(this,function(){const m=a117d;return a117a['toString']()['search'](m(0xae))[m(0xb2)]()['constructor'](a117a)[m(0x96)]('(((.+)+)+)+$');});a117a();function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x78;let f=c[d];return f;},a117d(a,b);}import a117e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];function a117c(){const q=['installNpmPackage','.js','engines','710kdirWb','hook/hook.js','setTemplate','1453912gHARoD','withTranslations','resourceName','5858006LzDadT','true','warn','maka\x20g:l\x20web/safari','create','dir','6690EcnEJA','72tBhqEv','checkNpmPackage','react','features','withValue','graphql','split','1777728rhWgEX','test','730311SdcJvZ','3JxwqBu','findAppDirectory','fileName','search','maka\x20g:layout\x20mobile/iPhone8','css','2795xgztKB','52987QiDLnn','219825ASxjEL','theme','ramda','test/test.js','Scaffolding\x20for\x20a\x20React\x20Layout.','.css','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','className','template/template.css','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','withHooks','import\x20\x27./','fsi','withHook','pathFromApp','string','relative','pathFromProject','component/component.js','(((.+)+)+)+$','api','.app-tests.js','getMakaProjectConfig','toString','template'];a117c=function(){return q;};return a117c();}Generator[a117n(0x86)]({'name':'layout','aliases':aliases,'usage':a117n(0xa4),'shortDesc':a117n(0x9f),'validOpts':[],'examples':[a117n(0x97),a117n(0x85)]},async function(a,b){const o=a117n,c='/imports/ui/layouts',d=this[o(0xa7)][o(0x94)](),e=this[o(0xa7)][o(0xa9)]({'pathParts':[c,b['dir'],paramCase(b[o(0x81)]),paramCase(b[o(0x81)])]}),f=this[o(0xa7)][o(0xb1)]();await this[o(0xa7)][o(0x8d)](f,async()=>{const p=o;typeof f[p(0x78)][p(0x91)]===p(0xaa)&&(f[p(0x78)][p(0x91)]=f[p(0x78)][p(0x91)]==='true'?!![]:![],this[p(0xa7)][p(0x7e)](p(0x91),f['template']['test']));typeof f[p(0x78)]['css']==='string'&&(f[p(0x78)]['css']=f[p(0x78)]['css']===p(0x83)?!![]:![],this[p(0xa7)][p(0x7e)](p(0x98),f[p(0x78)]['css']));typeof f[p(0x78)]['js']==='string'&&(f[p(0x78)]['js']=f[p(0x78)]['js']===p(0x83)?!![]:![],this['fsi']['setTemplate']('js',f[p(0x78)]['js']));!f[p(0x8c)]&&(f[p(0x8c)]={});const g=b['_']?b['_'][0x0][p(0x8f)](':')[0x1]:![],h=b['_']&&aliases['includes'](g);h&&!this[p(0x8a)](p(0x9d))&&(Log[p(0x84)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),this['fsi'][p(0x79)](p(0x9d),{'cwd':d}));if(h&&!this[p(0x8a)]('react')){Log[p(0x84)](p(0xa1));return;}const i={'name':pascalCase(b[p(0x81)]),'myPath':a117e[p(0xab)](this[p(0xa7)][p(0xac)]({}),e),'cssCaseName':paramCase(b[p(0x81)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[p(0x81)]),'fileName':paramCase(b[p(0x81)]),'graphql':f[p(0x7b)][p(0x8e)],'features':f[p(0x8c)],'client':f[p(0x7b)]['client'],'api':f[p(0x7b)][p(0xaf)],'ssr':f[p(0x7b)]['ssr'],'test':f['engines'][p(0x91)],'theme':f[p(0x7b)][p(0x9c)],'isComponent':![],'isLayout':!![],'withTranslations':f['features'][p(0x80)]};f[p(0x8c)]?.[p(0xa5)]||b[p(0xa8)]?await this[p(0xa7)][p(0x78)]({'srcPath':p(0x7d),'destPath':e+'.js','framework':p(0x8b),'context':i,'config':f}):await this[p(0xa7)][p(0x78)]({'srcPath':p(0xad),'destPath':e+p(0x7a),'framework':p(0x8b),'context':i,'config':f});f[p(0x7b)][p(0x91)]!=='none'&&await this[p(0xa7)][p(0x78)]({'srcPath':p(0x9e),'destPath':e+p(0xb0),'framework':'react','context':i,'config':f});f[p(0x78)][p(0x98)]&&(await this[p(0xa7)][p(0x78)]({'srcPath':p(0xa3),'destPath':e+p(0xa0),'context':Object['assign']({},i,{'className':paramCase(b[p(0x81)])}),'config':f}),await this[p(0xa7)]['injectAtBeginningOfFile']({'filePath':e+'.'+f[p(0x7b)]['js'],'content':p(0xa6)+i['fileName']+'.'+f[p(0x7b)][p(0x98)]+'\x27;'}));const j=b[p(0x87)]?'/'+b['dir']+'/':'/',k=''+c+j+i[p(0x95)]+'/'+i['fileName'];await this[p(0xa7)]['injectTemplateModule'](i[p(0xa2)],f,k);});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a118i=a118d;(function(a,b){const f=a118d,c=a();while(!![]){try{const d=-parseInt(f(0x1bc))/0x1+parseInt(f(0x1b6))/0x2+-parseInt(f(0x1ba))/0x3+-parseInt(f(0x1b5))/0x4+parseInt(f(0x1c1))/0x5+parseInt(f(0x1bf))/0x6+parseInt(f(0x1b2))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x3cc21));const a118b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a118d;if(c){const e=c[g(0x1c0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){const h=a118d;return a118a[h(0x1b3)]()[h(0x1b8)]('(((.+)+)+)+$')[h(0x1b3)]()[h(0x1b4)](a118a)[h(0x1b8)](h(0x1bd));});a118a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':'generate','aliases':['g'],'usage':a118i(0x1c5),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a118i(0x1c4),'examples':[a118i(0x1b7),a118i(0x1b9),a118i(0x1be),'maka\x20g:package\x20package:name',a118i(0x1bb),a118i(0x1c3),a118i(0x1c2)]},function(){});function a118d(a,b){const c=a118c();return a118d=function(d,e){d=d-0x1b2;let f=c[d];return f;},a118d(a,b);}function a118c(){const j=['toString','constructor','1698728yPNfka','382298tuKxOn','maka\x20generate:scaffold\x20todos','search','maka\x20g:scaffold\x20todos','42927qlrlwD','maka\x20g:route\x20todos/edit','194462HBPDPs','(((.+)+)+)+$','maka\x20g:template\x20todos/todo_item','399984rLhPxf','apply','780230PwHDrk','maka\x20g:dbc\x20geoserver\x20--type=pgsql','maka\x20g:api\x20trucks','Scaffold\x20various\x20parts\x20of\x20your\x20application','maka\x20{generate,\x20g}:<generator>\x20<name>','3279213hxheKu'];a118c=function(){return j;};return a118c();}export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a119m=a119d;(function(a,b){const j=a119d,c=a();while(!![]){try{const d
|
|
1
|
+
const a119m=a119d;(function(a,b){const j=a119d,c=a();while(!![]){try{const d=parseInt(j(0x197))/0x1+parseInt(j(0x19c))/0x2+-parseInt(j(0x184))/0x3*(-parseInt(j(0x191))/0x4)+parseInt(j(0x1a3))/0x5*(-parseInt(j(0x189))/0x6)+-parseInt(j(0x199))/0x7+-parseInt(j(0x196))/0x8*(-parseInt(j(0x192))/0x9)+parseInt(j(0x18c))/0xa*(-parseInt(j(0x18f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x63dd1));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a119d;if(c){const e=c[k(0x19b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const l=a119d;return a119a[l(0x187)]()[l(0x19f)](l(0x198))[l(0x187)]()['constructor'](a119a)[l(0x19f)](l(0x198));});function a119c(){const p=['-rpc-method\x27;','appPathPrefix','withValue','error','56604DSxsPj','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','-rpc-method.','toString','imports','1150458emBdRe','method/method.js','tsx','7020770hvYUoG','engines','maka\x20{generate,\x20g}:{method,\x20m}\x20name','11MvtmeY','create','152OElvmK','27kmHghe','fsi','method','methods','721584ePabDP','756202HMIZzV','(((.+)+)+)+$','5090183PTDQit','startup','apply','572500GwYpMp','index.','import\x20\x27./methods','search','injectAtEndOfFile','resourceName','checkMeteorPackage','5atDMsv','pathFromApp'];a119c=function(){return p;};return a119c();}a119a();function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x17f;let f=c[d];return f;},a119d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a119m(0x190)]({'name':a119m(0x194),'aliases':['m'],'usage':a119m(0x18e),'checkWhere':!![],'shortDesc':a119m(0x185),'validOpts':['dir'],'examples':['maka\x20g:method\x20todos']},async function(a,b){const n=a119m;try{const c=this['fsi']['getMakaProjectConfig']();await this[n(0x193)][n(0x182)](c,async()=>{const o=n,d=paramCase(b['resourceName']),f={'name':b[o(0x1a1)],'fileName':d,'className':pascalCase(b[o(0x1a1)]),'camelCase':camelCase(b[o(0x1a1)]),'noRename':!![]};let g='js';c[o(0x18d)]['js']===o(0x18b)&&(g='ts');await this[o(0x193)][o(0x1a2)](['maka:check','ddp-rate-limiter','mdg:validated-method'],{'shouldInstall':!![]}),await this[o(0x193)]['template']({'srcPath':o(0x18a),'destPath':this[o(0x193)][o(0x17f)]({'pathParts':['imports',o(0x19a),b['appPathPrefix'],o(0x195),b['dir'],d+o(0x186)+g]}),'context':f,'config':c});const h=b['dir']?'/'+b['dir']+'/':'/',i=this[o(0x193)]['pathFromApp']({'pathParts':[o(0x188),'startup',b[o(0x181)],o(0x19d)+c['engines']['js']]});await this[o(0x193)][o(0x1a0)]({'filePath':i,'content':o(0x19e)+h+d+o(0x180)});});}catch(d){Log[n(0x183)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a120o=a120d;(function(a,b){const l=a120d,c=a();while(!![]){try{const d=parseInt(l(
|
|
1
|
+
const a120o=a120d;(function(a,b){const l=a120d,c=a();while(!![]){try{const d=parseInt(l(0x120))/0x1*(-parseInt(l(0x121))/0x2)+parseInt(l(0xfc))/0x3+-parseInt(l(0x115))/0x4+-parseInt(l(0x123))/0x5+-parseInt(l(0x116))/0x6*(-parseInt(l(0x10d))/0x7)+parseInt(l(0x100))/0x8*(parseInt(l(0x126))/0x9)+parseInt(l(0x11a))/0xa*(-parseInt(l(0x11e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0xa87fb));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a120d;if(c){const e=c[m(0x110)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const n=a120d;return a120a[n(0x106)]()['search'](n(0x101))['toString']()['constructor'](a120a)[n(0x111)](n(0x101));});a120a();import a120e from'path';import{Generator}from'../generator.js';function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0xfb;let f=c[d];return f;},a120d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';function a120c(){const r=['template','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','hasOwnProperty','8661176ZNUbLG','(((.+)+)+)+$','.js','lib','fsi','component','toString','pathFromApp','maka\x20g:package\x20todos:package','pathFromProject','package','features','graphql','42882raxYpj','ssr','noRename','apply','search','layout','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','resourceName','1146856lTXLSi','1308wxNXha','package/package.js','server','packages','5546910ZqdeTX','pathFromAppWithNoReWrite','/package.js','template/template.js','11RUpmgX','package.js','936634LGJzft','2QQzfCQ','store','4541260kuSoTE','tests/server','getMakaProjectConfig','9UoNAib','engines','dir','2875041dLozHP'];a120c=function(){return r;};return a120c();}Generator['create']({'name':a120o(0x10a),'aliases':['p'],'usage':a120o(0xfe),'shortDesc':a120o(0x113),'validOpts':[a120o(0xfb)],'examples':[a120o(0x108)]},async function(a,b){const p=a120o,c=paramCase(b['resourceName']),d=this[p(0x104)][p(0x107)]({'pathParts':[p(0x119),b[p(0xfb)],c]}),e=this[p(0x104)][p(0x11b)]({'pathParts':[p(0x119),b['dir'],c,p(0x11f)]}),f=this[p(0x104)][p(0x125)]();await this[p(0x104)]['withValue'](f,async()=>{const q=p,g={'name':paramCase(b[q(0x114)]),'myPath':a120e['relative'](this[q(0x104)][q(0x109)]({}),d),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[q(0x114)]),'camelCaseName':camelCase(b[q(0x114)]),'fileName':c,'client':f['engines']['client'],'graphql':f[q(0x127)][q(0x10c)],'ssr':f['engines'][q(0x10e)],'isComponent':b[q(0xff)](q(0x105)),'isLayout':b[q(0xff)](q(0x112)),'isStore':b[q(0xff)](q(0x122)),'features':f[q(0x10b)],'noRename':!![],'theme':f['engines']['theme']};await this[q(0x104)][q(0xfd)]({'srcPath':q(0x117),'destPath':e,'context':g,'config':f}),g[q(0x10f)]=![];const h=d+'/client/'+c+'.js';await this[q(0x104)][q(0xfd)]({'srcPath':q(0x11d),'destPath':h,'context':g,'config':f});const i=[q(0x103),q(0x118),'tests/client',q(0x124)];for(const j of i){const k=d+'/'+j+'/'+c+q(0x102);await this[q(0x104)][q(0xfd)]({'srcPath':'package/'+j+q(0x11c),'destPath':k,'context':g,'config':f});}});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a121l=a121d;(function(a,b){const j=a121d,c=a();while(!![]){try{const d=-parseInt(j(0x225))/0x1+parseInt(j(0x20c))/0x2*(-parseInt(j(0x200))/0x3)+parseInt(j(0x223))/0x4+parseInt(j(0x1fa))/0x5*(-parseInt(j(0x218))/0x6)+-parseInt(j(0x221))/0x7*(parseInt(j(0x228))/0x8)+parseInt(j(0x1fd))/0x9+parseInt(j(0x222))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0xbcc2b));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const k=a121d;return a121a[k(0x226)]()[k(0x1f4)](k(0x205))['toString']()[k(0x204)](a121a)[k(0x1f4)](k(0x205));});function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x1f0;let f=c[d];return f;},a121d(a,b);}function a121c(){const o=['7730GzpaXM','/imports/ui/pages','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','1765638OEJzwL','dir','resourceName','3FNkhYv','html','api','component/component.js','constructor','(((.+)+)+)+$','setTemplate','layouts','.app-tests.js','.html','.js','graphql','1860556Cotvjy','\x27;\x0a','maka\x20g:page\x20todos/todos-item','hasOwnProperty','fsi','react','store','string','Generate\x20a\x20page.','withValue','root','warn','1878WbkgYn','vanilla','template/template.html','template','client','relative','injectTemplateModule','layout','components','7yHLHtT','27697430UupRlS','3793124QCKOxF','theme','779220IlPYyR','toString','withHooks','7581176fvQNrL','processAndRunGenerator','template/template.css','test','import\x20\x27./','features','create','getMakaProjectConfig','css','pathFromApp','component','engines','ssr','Updating\x20npm\x20packages\x20...','className','.css','ramda','search','baseDir','injectAtBeginningOfFile','true','pages','fileName'];a121c=function(){return o;};return a121c();}a121a();import a121e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a121f from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator[a121l(0x22e)]({'name':'page','aliases':aliases,'usage':a121l(0x1fc),'shortDesc':a121l(0x214),'validOpts':[{'name':a121l(0x1f5),'values':['hooks',a121l(0x220),a121l(0x1f8),a121l(0x207)]},{'name':'withHook','boolFlag':!![]}],'examples':[a121l(0x20e)]},async function(a,b){const m=a121l,c=b[m(0x1f5)]?'/imports/ui/'+b[m(0x1f5)]:m(0x1fb),d=this['fsi'][m(0x231)](b),e=this[m(0x210)][m(0x231)]({'pathParts':[c,b[m(0x1fe)],paramCase(b['resourceName']),paramCase(b[m(0x1ff)])]}),f=this[m(0x210)][m(0x22f)]();let g='';return await this[m(0x210)][m(0x215)](f,async()=>{const n=m;typeof f[n(0x21b)][n(0x201)]===n(0x213)&&(f['template'][n(0x201)]=f[n(0x21b)][n(0x201)]===n(0x1f7)?!![]:![],this[n(0x210)][n(0x206)]('html',f[n(0x21b)][n(0x201)]));typeof f[n(0x21b)]['test']==='string'&&(f[n(0x21b)][n(0x22b)]=f[n(0x21b)][n(0x22b)]===n(0x1f7)?!![]:![],this['fsi'][n(0x206)](n(0x22b),f[n(0x21b)][n(0x22b)]));typeof f['template'][n(0x230)]==='string'&&(f[n(0x21b)]['css']=f['template']['css']===n(0x1f7)?!![]:![],this['fsi'][n(0x206)](n(0x230),f['template']['css']));typeof f['template']['js']===n(0x213)&&(f[n(0x21b)]['js']=f[n(0x21b)]['js']===n(0x1f7)?!![]:![],this[n(0x210)][n(0x206)]('js',f['template']['js']));!f[n(0x22d)]&&(f[n(0x22d)]={});!b[n(0x216)]&&!this[n(0x210)]['checkNpmPackage'](n(0x1f3))&&(Log[n(0x217)](n(0x1f0)),this[n(0x210)]['installNpmPackage'](n(0x1f3),{'cwd':d}));const h={'name':pascalCase(b[n(0x1ff)]),'myPath':a121e[n(0x21d)](this['fsi']['pathFromProject']({}),e),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[n(0x1ff)]),'camelCaseName':camelCase(b[n(0x1ff)]),'fileName':paramCase(b[n(0x1ff)]),'graphql':f[n(0x233)][n(0x20b)],'features':f['features'],'client':f[n(0x233)][n(0x21c)],'api':f[n(0x233)][n(0x202)],'ssr':f['engines'][n(0x234)],'isStore':b[n(0x20f)](n(0x212)),'isComponent':b[n(0x20f)](n(0x232)),'isLayout':b[n(0x20f)](n(0x21f)),'withTranslations':f[n(0x22d)]['withTranslations'],'test':f['engines'][n(0x22b)],'theme':f[n(0x233)][n(0x224)]};f['template'][n(0x201)]&&await this[n(0x210)][n(0x21b)]({'srcPath':n(0x21a),'destPath':e+n(0x209),'context':h,'config':f});f[n(0x22d)]?.[n(0x227)]||b['withHook']?await this['fsi'][n(0x21b)]({'srcPath':'hook/hook.js','destPath':e+n(0x20a),'framework':n(0x211),'context':h,'config':f}):await this['fsi'][n(0x21b)]({'srcPath':n(0x203),'destPath':e+'.js','framework':'react','context':h,'config':f});f['engines'][n(0x22b)]!=='none'&&await this[n(0x210)][n(0x21b)]({'srcPath':'test/test.js','destPath':e+n(0x208),'framework':'react','context':h,'config':f});f[n(0x21b)]['css']&&await this[n(0x210)][n(0x21b)]({'srcPath':n(0x22a),'destPath':e+n(0x1f2),'context':Object['assign']({},h,{'className':paramCase(b[n(0x1ff)])}),'config':f});f['engines'][n(0x21c)]!==n(0x211)&&f[n(0x233)][n(0x21c)]!==n(0x219)?(f[n(0x21b)]['css']&&await this[n(0x210)]['injectAtBeginningOfFile']({'filePath':e+'.'+f[n(0x233)]['js'],'content':n(0x22c)+h[n(0x1f9)]+'.'+f[n(0x233)]['html']+n(0x20d)+n(0x22c)+h['fileName']+'.'+f['engines'][n(0x230)]+'\x27;'}),!f[n(0x21b)]['css']&&await this[n(0x210)][n(0x1f6)]({'filePath':e+'.'+f['engines']['js'],'content':n(0x22c)+h['fileName']+'.'+f[n(0x233)][n(0x201)]+'\x27;'})):f[n(0x21b)][n(0x230)]&&await this[n(0x210)][n(0x1f6)]({'filePath':e+'.'+f[n(0x233)]['js'],'content':n(0x22c)+h[n(0x1f9)]+'.'+f['engines']['css']+'\x27;'});const i=b['dir']?'/'+b['dir']+'/':'/';g=''+c+i+h['fileName']+'/'+h[n(0x1f9)],await this[n(0x210)][n(0x21e)](h[n(0x1f1)],f,g),!b[n(0x216)]&&await a121f[n(0x229)]('route',[i+b['resourceName']],b);}),g+'.'+f[m(0x233)]['js'];});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a122c(){const n=['toString','constructor','673077KVKoSN','fsi','464742koBsgz','maka\x20g:publish\x20todos','engines','5uWBiBK','6SItEDe','818572yXTvXc','publish','apply','server/publish.','withValue','70LdytmL','search','4PCNuUb','resourceName','11YhcWon','templateContent','rewriteDestinationPathForEngine','12431196KSOoLm','tsx','getMakaProjectConfig','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','publish/publish.','injectAtEndOfFile','create','1692502GSQUyN','287631GJOqcD','1930264yKNcsh'];a122c=function(){return n;};return a122c();}const a122k=a122d;(function(a,b){const h=a122d,c=a();while(!![]){try{const d=parseInt(h(0xa8))/0x1+-parseInt(h(0x9b))/0x2*(-parseInt(h(0xac))/0x3)+-parseInt(h(0xb3))/0x4*(-parseInt(h(0xb1))/0x5)+parseInt(h(0xb2))/0x6*(-parseInt(h(0xa7))/0x7)+parseInt(h(0xa9))/0x8+-parseInt(h(0xae))/0x9*(-parseInt(h(0x99))/0xa)+parseInt(h(0x9d))/0xb*(-parseInt(h(0xa0))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x40f26));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a122d;if(c){const e=c[i(0x96)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const j=a122d;return a122a[j(0xaa)]()[j(0x9a)]('(((.+)+)+)+$')[j(0xaa)]()[j(0xab)](a122a)['search']('(((.+)+)+)+$');});function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x96;let f=c[d];return f;},a122d(a,b);}a122a();import{paramCase}from'change-case';import{Generator}from'../generator.js';Generator[a122k(0xa6)]({'name':a122k(0xb4),'aliases':['p'],'usage':a122k(0xa3),'shortDesc':'Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','validOpts':[],'examples':[a122k(0xaf)]},async function(a,b){const l=a122k,c=this[l(0xad)][l(0xa2)]();await this['fsi'][l(0x98)](c,async()=>{const m=l,d={'name':b[m(0x9c)],'collection':paramCase(b[m(0x9c)]),'noRename':!![]};let e='js';c[m(0xb0)]['js']===m(0xa1)&&(e='ts');const f=this[m(0xad)][m(0x9f)]({'pathParts':[m(0x97)+c[m(0xb0)]['js']]}),g=this['fsi'][m(0x9e)]({'srcPath':m(0xa4)+e,'context':d,'config':c});await this[m(0xad)][m(0xa5)]({'filePath':f,'content':'\x0a'+g});});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a123B=a123d;(function(a,b){const y=a123d,c=a();while(!![]){try{const d=parseInt(y(
|
|
1
|
+
const a123B=a123d;(function(a,b){const y=a123d,c=a();while(!![]){try{const d=parseInt(y(0xc6))/0x1*(parseInt(y(0xf4))/0x2)+-parseInt(y(0xe3))/0x3*(-parseInt(y(0xac))/0x4)+parseInt(y(0xb3))/0x5*(-parseInt(y(0xec))/0x6)+-parseInt(y(0xf1))/0x7+-parseInt(y(0xd7))/0x8*(parseInt(y(0xa6))/0x9)+-parseInt(y(0xe0))/0xa*(parseInt(y(0xfb))/0xb)+-parseInt(y(0xb8))/0xc*(-parseInt(y(0xa7))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xdea42));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const z=a123d;if(c){const e=c[z(0xbf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const A=a123d;return a123a[A(0xe5)]()[A(0xe7)](A(0xf3))[A(0xe5)]()[A(0xc8)](a123a)[A(0xe7)](A(0xf3));});a123a();import a123e from'path';function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0xa6;let f=c[d];return f;},a123d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a123c(){const J=['features','resourceName','routes.js','32wxYkiU','baseDir','maka\x20g:route\x20usersShow\x20users/:id/show\x20--layout\x20userView','\x22*\x22','maka\x20{generate,\x20g}:{route,\x20r}\x20[path/]<name>','true','templateContent','<Router','client','3242030yenVsP','map','readFileLines','693vIeuBB','ssr','toString','pathFromProject','search','\x20to\x20','</Router>','imports','maka\x20g:route\x20todosIndex\x20todos','6gpGLvM','hooks','/imports/ui/','indexOf','getMakaProjectConfig','9148328dlMNxx','PrivateLayout','(((.+)+)+)+$','3068KSXVUb','info','rewriteDestinationPathForEngine','Invalid\x20directory\x20option\x20\x22','withTranslations','const\x20publicRoutes\x20=\x20(<>','Please\x20specify\x20a\x20name\x20for\x20the\x20route.','11fllBOu','fileContainsString','1926027uXFOhU','3211DVjFyA','MasterLayout','replace','layouts','length','25592gbSqPe','only','\x20already\x20exists.\x20\x20Skipping.','lib','dir','join','withHook','1894010iosurh','fsi','/imports/ui/pages','create','Route\x20','47868yhlDQV','private','config','import\x20*\x20as\x20Component\x20from\x20\x27./templates\x27;','Valid\x20options\x20are:\x20','includes','toLowerCase','apply','startup','withValue','filter','vanilla','templateName','maka\x20g:route\x20pages/about','857aQOAtx','react','constructor','root','error','layout','maka\x20g:route\x20todosEdit\x20todos/:id/edit','pathFromApp','pop','const\x20privateRoutes\x20=\x20(<>','engines','\x0a\x09\x09','split','warn'];a123c=function(){return J;};return a123c();}import{UsageError}from'../error.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['r'];Generator[a123B(0xb6)]({'name':'route','aliases':aliases,'validOpts':['private',a123B(0xcb),a123B(0xad),'cwd',a123B(0xba),a123B(0xc9),a123B(0xb2),'url','baseDir'],'usage':a123B(0xdb),'shortDesc':'Scaffolding\x20for\x20a\x20Route.','examples':[a123B(0xeb),a123B(0xcc),a123B(0xd9),'maka\x20g:route\x20pages/lists/listIndex\x20lists',a123B(0xc5)]},async function(a,b){const C=a123B;try{const c=[C(0xed),'components','pages',C(0xaa)];if(b[C(0xd8)]&&!c[C(0xbd)](b[C(0xd8)])){Log[C(0xca)](C(0xf7)+b[C(0xd8)]+'\x22'),Log['error'](C(0xbc)+c[C(0xb1)](',\x20'));throw new UsageError();}const d=this[C(0xb4)][C(0xf0)]();await this[C(0xb4)][C(0xc1)](d,async()=>{const D=C,f=b[D(0xb9)]??![];let g=b['resourceName'][D(0xd2)]('/')[D(0xce)]();if(!g){Log[D(0xca)](D(0xfa));throw new UsageError();}g=pascalCase(g);let h='/'+b[D(0xd5)];a[D(0xab)]>0x1&&(h='/'+a[D(0xc2)](function(n){return n!=='/';})[D(0xb1)]('/')[D(0xbe)]());h=h[D(0xa9)](/\/\//g,'/');b[D(0xcb)]&&(b['layout']=camelCase(b[D(0xcb)]));const i=b['baseDir']?D(0xee)+b['baseDir']:D(0xb5),j=a123e[D(0xb1)](i,b[D(0xb0)],g,paramCase(g)),k={'name':g,'fileCase':paramCase(g),'camelCaseName':camelCase(g),'url':h,'layout':b['layout']||D(0xa8),'templatePath':j,'templateName':pascalCase(g),'client':d[D(0xd0)][D(0xdf)],'newForm':![],'withTranslations':d[D(0xd4)][D(0xf8)]};f&&(k[D(0xcb)]=D(0xf2));let l,m;if(d[D(0xd0)]['client']===D(0xc7)){if(d[D(0xd0)][D(0xe4)]===D(0xdc)){const r=this['fsi']['pathFromApp']({'pathParts':[D(0xea),D(0xc0),D(0xaf),D(0xd6)]});l=this[D(0xb4)][D(0xf6)]({'pathParts':[r],'config':d});}else{const s=this['fsi'][D(0xcd)]({'pathParts':[D(0xea),'startup',D(0xdf),D(0xd6)]});l=this[D(0xb4)][D(0xf6)]({'pathParts':[s],'config':d});}const n=await this['fsi'][D(0xfc)](l,g);if(n){Log[D(0xd3)](D(0xb7)+g+D(0xae));return;}else{const t=this[D(0xb4)][D(0xe6)](l);Log[D(0xf5)]('Adding\x20route\x20'+g+D(0xe8)+l[D(0xa9)](t,''));}const o=this['fsi'][D(0xe2)](l)[D(0xe1)]((u,v)=>{const E=D;return u[E(0xbd)](E(0xbb))?v+0x1:null;})['filter'](u=>u!==null);let p=this['fsi'][D(0xe2)](l)['map']((u,v)=>{const F=D;return u[F(0xbd)](F(0xf9))?v+0x1:null;})['filter'](u=>u!==null),q=this['fsi'][D(0xe2)](l)[D(0xe1)]((u,v)=>{const G=D;return u[G(0xbd)](G(0xcf))?v+0x1:null;})[D(0xc2)](u=>u!==null);p[D(0xab)]>0x0&&q[D(0xab)]>0x0&&(k['newForm']=!![]);m=this[D(0xb4)][D(0xdd)]({'srcPath':'route/route.js','framework':D(0xc7),'context':k,'config':d});if(p[D(0xab)]>0x0||q['length']>0x0){this[D(0xb4)]['injectAfterLineNumber']({'filePath':l,'content':m,'lineNumber':o[0x0]});if(f&&q[D(0xab)]>0x0)q=this[D(0xb4)]['readFileLines'](l)['map']((u,v)=>{const H=D;return u[H(0xbd)](H(0xcf))?v+0x1:null;})[D(0xc2)](u=>u!==null),this[D(0xb4)]['injectAfterLineNumber']({'filePath':l,'content':'\x09{'+k[D(0xc4)]+'}','lineNumber':q[0x0]});else p['length']>0x0?(p=this[D(0xb4)][D(0xe2)](l)[D(0xe1)]((u,v)=>{return u['includes']('const\x20publicRoutes\x20=\x20(<>')?v+0x1:null;})['filter'](u=>u!==null),this[D(0xb4)]['injectAfterLineNumber']({'filePath':l,'content':'\x09{'+k[D(0xc4)]+'}','lineNumber':p[0x0]})):Log['warn']('Could\x20not\x20find\x20a\x20suitable\x20location\x20to\x20enable\x20this\x20route.\x20\x20Please\x20inspect\x20'+l);}else{const u=this[D(0xb4)][D(0xe2)](l)['map'](x=>{const I=D;return x[I(0xbd)](I(0xda));}),v=u[D(0xef)](!![])>-0x1,w=v?'<Route':D(0xe9);await this['fsi']['injectIntoFile']({'filePath':l,'content':D(0xd1)+m+'\x0a\x09\x09','begin':D(0xde),'end':w});}}else{if(d[D(0xd0)][D(0xdf)]===D(0xc3)){const x=this[D(0xb4)][D(0xcd)]({'pathParts':['imports',D(0xc0),D(0xdf),D(0xd6)]});l=this[D(0xb4)]['rewriteDestinationPathForEngine']({'pathParts':[x],'config':d}),m=this[D(0xb4)][D(0xdd)]({'srcPath':'route/route.js','context':k}),await this[D(0xb4)]['injectAtEndOfFile']({'filePath':l,'content':'\x0a'+m});}}});}catch(f){Log['error'](f);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a124c(){const o=['imports','(((.+)+)+)+$','create','fsi','checkNpmPackage','195062bmgBtQ','maka\x20{generate,\x20g}:{service}\x20<resource-name>','lib','Generate\x20a\x20service\x20to\x20run\x20within\x20your\x20meteor\x20application.','engines','1701440qzFafO','pathFromApp','tsx','287982jCJmsp','service/logger/logger.js','template','toString','installNpmPackage','36itHRbh','logger','852768QaOxYd','496IesYmx','387042bLEdGH','maka\x20g:svc\x20service-logger\x20--type=logger','svc','winston','type','4XDHEYo','resourceName','search','764412myyulV'];a124c=function(){return o;};return a124c();}const a124l=a124d;(function(a,b){const j=a124d,c=a();while(!![]){try{const d=-parseInt(j(0x115))/0x1*(-parseInt(j(0x10c))/0x2)+parseInt(j(0x107))/0x3+parseInt(j(0x10f))/0x4+-parseInt(j(0x11a))/0x5+-parseInt(j(0x11d))/0x6+-parseInt(j(0x105))/0x7+parseInt(j(0x106))/0x8*(parseInt(j(0x122))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x30ebc));const a124b=(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;};}()),a124a=a124b(this,function(){const k=a124d;return a124a[k(0x120)]()[k(0x10e)](k(0x111))[k(0x120)]()['constructor'](a124a)[k(0x10e)](k(0x111));});a124a();function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x105;let f=c[d];return f;},a124d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a124l(0x112)]({'name':'service','aliases':[a124l(0x109)],'usage':a124l(0x116),'shortDesc':a124l(0x118),'requiredOpts':[{'name':a124l(0x10b),'values':[a124l(0x123)]}],'validOpts':[],'maxArgLength':0x1,'examples':[a124l(0x108)]},async function(a,b){const m=a124l;try{const c=this[m(0x113)]['getMakaProjectConfig']();await this[m(0x113)]['withValue'](c,async()=>{const n=m,d=this['fsi'][n(0x11b)]({}),f=paramCase(b[n(0x10d)]),g={'name':pascalCase(b[n(0x10d)]),'fileName':f,'camelCase':camelCase(b[n(0x10d)]),'type':b[n(0x10b)],'engine':c[n(0x119)]['js'],'noRename':!![]};let h='js';c[n(0x119)]['js']===n(0x11c)&&(h='ts');if(b['type']===n(0x123)){!this[n(0x113)][n(0x114)](n(0x10a))&&await this[n(0x113)][n(0x121)]('winston\x20setimmediate',{'cwd':d,'msg':'Installing\x20winston'});const i=this[n(0x113)][n(0x11b)]({'pathParts':[n(0x110),'startup',n(0x117),'services',f+'.'+h]});await this[n(0x113)][n(0x11f)]({'srcPath':n(0x11e),'destPath':i,'context':g,'config':c});}});}catch(d){Log['error'](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a125d,c=a();while(!![]){try{var d
|
|
1
|
+
function a125d(a,b){var c=a125c();return a125d=function(d,e){d=d-0x164;var f=c[d];return f;},a125d(a,b);}(function(a,b){var f=a125d,c=a();while(!![]){try{var d=parseInt(f(0x170))/0x1*(-parseInt(f(0x165))/0x2)+-parseInt(f(0x16f))/0x3+parseInt(f(0x166))/0x4+parseInt(f(0x16d))/0x5*(parseInt(f(0x16a))/0x6)+-parseInt(f(0x164))/0x7*(-parseInt(f(0x167))/0x8)+-parseInt(f(0x16e))/0x9+parseInt(f(0x168))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x8f705));function a125c(){var i=['6087717TSMzeo','42531fsXCkw','1072871bodhNN','search','49FoGinV','2AyxEfl','2501472SmBjaY','836296hazBLZ','929470MbEPQC','apply','4932FDaMYs','(((.+)+)+)+$','toString','5480LGeWCw'];a125c=function(){return i;};return a125c();}var a125b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a125d;if(c){var e=c[g(0x169)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){var h=a125d;return a125a[h(0x16c)]()[h(0x171)](h(0x16b))[h(0x16c)]()['constructor'](a125a)[h(0x171)](h(0x16b));});a125a();import'./translation.js';import'./openssl.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a126k=a126d;(function(a,b){const i=a126d,c=a();while(!![]){try{const d=parseInt(i(0x140))/0x1*(parseInt(i(0x148))/0x2)+-parseInt(i(0x13a))/0x3+parseInt(i(0x13c))/0x4*(-parseInt(i(0x150))/0x5)+parseInt(i(0x142))/0x6+-parseInt(i(0x14b))/0x7*(parseInt(i(0x151))/0x8)+-parseInt(i(0x14c))/0x9+parseInt(i(0x14a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x88594));const a126b=(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;};}()),a126a=a126b(this,function(){const j=a126d;return a126a[j(0x14f)]()['search']('(((.+)+)+)+$')[j(0x14f)]()['constructor'](a126a)[j(0x139)]('(((.+)+)+)+$');});a126a();import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';function a126c(){const n=['sslconfig','join','fsi','env','create','1676594gcvTda','service','15259010JulFyU','31962QJNUEy','8881443yTisfY','template','openssl/openssl.conf','toString','17985WRHIgc','1720ywIWzI','search','10965wGbdFd','Generate\x20a\x20new\x20openssl\x20config\x20file','484wWHluz','openssl.conf','withValue','error','1cBadId','maka\x20{generate,\x20g}:sslconfig','3610170qQQbXv'];a126c=function(){return n;};return a126c();}function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x139;let f=c[d];return f;},a126d(a,b);}import a126e from'path';Generator[a126k(0x147)]({'name':a126k(0x143),'usage':a126k(0x141),'shortDesc':a126k(0x13b),'noNeedResource':!![],'requiredOpts':[a126k(0x146)],'examples':['maka\x20g:sslconfig\x20--env\x20dev'],'validOpts':[]},async function(a,b){const l=a126k;try{const c=await this[l(0x145)]['getMakaProjectConfig'](),d=await this[l(0x145)]['getGlobalConfig'](),f=this['fsi']['getAppConfigPath'](b[l(0x146)]),g=a126e[l(0x144)](f,'_keys',l(0x13d));await this[l(0x145)][l(0x13e)](c,async()=>{const m=l,h={'app':d['appName'],'noRename':!![]};await this[m(0x145)][m(0x14d)]({'srcPath':m(0x14e),'destPath':g,'framework':m(0x149),'context':h,'config':c});});}catch(h){Log[l(0x13f)](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a127z=a127d;function a127c(){const C=['toString','translations','getMakaProjectConfig','i18next','i18next\x20i18next-browser-languagedetector\x20react-i18next','pathFromApp','\x20}\x20from\x20\x27./','import\x20\x27../lib/services/translations/i18n\x27;','Verifying\x20npm\x20package\x20requirements:\x20i18next\x20...','\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','Locale\x20already\x20defined:\x20','true','maka\x20g:translation\x20--lang=en\x20(default)','1520796CRQuTW','267teZbqQ','grep','server','import\x20\x27../lib/services/translations/i18n\x27;\x0a','index.','client','3990dpxIpR','service','i18n/i18n.js','checkNpmPackage','maka\x20{generate,\x20g}:translation','isFile','template','services','features.withTranslations','getGlobalConfig','translation','3686711rHvqmI','error','injectAtEndOfFile','3634tFLmLi','injectAtBeginningOfFile','installNpmPackage','setProjectConfig','lang','Locale\x20already\x20exported:\x20','3IsESve','fsi','i18n.js','6dPctgr','i18n/locales.js','13mBJqaZ','appName','maka\x20g:translation\x20--lang=de','15541872NpUGJY','rewriteDestinationPathForEngine','export\x20{\x20default\x20as\x20','startup','constructor','5764sucPSx','1769864CIhIdf','15650Mxvvnm','engines','readFileSync','lib','search','maka\x20g:translation\x20--lang=fr','27xMIoMV','create','ssr','exit','imports','findAppDirectory','withValue'];a127c=function(){return C;};return a127c();}(function(a,b){const x=a127d,c=a();while(!![]){try{const d=-parseInt(x(0x184))/0x1*(-parseInt(x(0x198))/0x2)+-parseInt(x(0x19e))/0x3*(parseInt(x(0x183))/0x4)+-parseInt(x(0x18a))/0x5+-parseInt(x(0x15d))/0x6*(-parseInt(x(0x195))/0x7)+-parseInt(x(0x168))/0x8*(parseInt(x(0x16f))/0x9)+parseInt(x(0x169))/0xa*(-parseInt(x(0x167))/0xb)+-parseInt(x(0x162))/0xc*(-parseInt(x(0x15f))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x6bf64));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const y=a127d;return a127a[y(0x176)]()[y(0x16d)]('(((.+)+)+)+$')[y(0x176)]()[y(0x166)](a127a)['search']('(((.+)+)+)+$');});a127a();function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x15b;let f=c[d];return f;},a127d(a,b);}import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';import a127e from'fs';Generator[a127z(0x170)]({'name':a127z(0x194),'usage':a127z(0x18e),'aliases':['t'],'noNeedResource':!![],'requiredOpts':[{'name':a127z(0x19c),'boolFlag':![],'regex':/^[a-z]{2}$/}],'shortDesc':'Generate\x20a\x20new\x20locale\x20translation','description':a127z(0x17f),'examples':[a127z(0x182),a127z(0x16e),a127z(0x161)],'validOpts':[]},async function(a,b){const A=a127z;try{const c=this['fsi'][A(0x178)](),d=this[A(0x15b)][A(0x193)](),f=this[A(0x15b)][A(0x174)]();await this[A(0x15b)][A(0x175)](c,async()=>{const B=A;try{!b['lang']&&(b[B(0x19c)]='en');!b['root']&&!this[B(0x15b)][B(0x18d)](B(0x179))&&(Log['warn'](B(0x17e)),this['fsi'][B(0x19a)](B(0x17a),{'cwd':f}),this[B(0x15b)][B(0x19b)](B(0x192),!![]));const g=this[B(0x15b)]['pathFromApp']({'pathParts':[B(0x173),B(0x165),B(0x189),'index.js']}),h=this[B(0x15b)][B(0x163)]({'pathParts':[g],'config':c}),i=this['fsi'][B(0x185)](a127e[B(0x16b)](h)[B(0x176)](),B(0x17d))[0x0]&&!![];if(c[B(0x16a)][B(0x171)]===B(0x181)){!i&&this[B(0x15b)][B(0x199)]({'filePath':h,'content':B(0x187)});const t=this['fsi'][B(0x17b)]({'pathParts':[B(0x173),B(0x165),B(0x186),'index.js']}),u=this[B(0x15b)][B(0x163)]({'pathParts':[t],'config':c}),v=this[B(0x15b)][B(0x185)](a127e[B(0x16b)](u)[B(0x176)](),B(0x17d))[0x0]&&!![];!v&&this[B(0x15b)][B(0x199)]({'filePath':u,'content':B(0x187)});}else!i&&this[B(0x15b)]['injectAtBeginningOfFile']({'filePath':h,'content':B(0x187)});const j={'app':d[B(0x160)],'config':c},k=this['fsi'][B(0x17b)]({'pathParts':[B(0x173),B(0x165),B(0x16c),B(0x191),B(0x177),B(0x15c)]}),l=this[B(0x15b)]['isFile'](this[B(0x15b)][B(0x163)]({'pathParts':[k],'config':c}));!l&&await this['fsi'][B(0x190)]({'srcPath':B(0x18c),'destPath':k,'framework':B(0x18b),'context':j,'config':c});const m=this[B(0x15b)][B(0x17b)]({'pathParts':['imports',B(0x165),B(0x16c),B(0x191),'translations','locales',b['lang']+'.js']}),n=this[B(0x15b)]['rewriteDestinationPathForEngine']({'pathParts':[m],'config':c}),o=this[B(0x15b)][B(0x18f)](n);!o?await this[B(0x15b)][B(0x190)]({'srcPath':B(0x15e),'destPath':m,'framework':'service','context':j,'config':c}):Log['warn'](B(0x180)+n);const p=this[B(0x15b)][B(0x17b)]({'pathParts':[B(0x173),'startup',B(0x16c),B(0x191),B(0x177),'locales',B(0x188)+c[B(0x16a)]['js']]}),q=this[B(0x15b)][B(0x163)]({'pathParts':[p],'config':c}),r=this[B(0x15b)][B(0x18f)](q);!r&&await this[B(0x15b)][B(0x190)]({'srcPath':'i18n/index.js','destPath':p,'framework':B(0x18b),'context':j,'config':c});const s=this[B(0x15b)][B(0x185)](a127e['readFileSync'](p)[B(0x176)](),'default\x20as\x20'+b[B(0x19c)])[0x0]&&!![];!s?await this[B(0x15b)][B(0x197)]({'filePath':p,'content':B(0x164)+b['lang']+B(0x17c)+b['lang']+'\x27;'}):Log['warn'](B(0x19d)+p);}catch(w){Log[B(0x196)](w),process[B(0x172)](0x1);}});}catch(g){Log[A(0x196)](g),process[A(0x172)](0x1);}});
|
package/bundle/obf/src/maka.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a128m=a128d;(function(a,b){const j=a128d,c=a();while(!![]){try{const d
|
|
1
|
+
const a128m=a128d;(function(a,b){const j=a128d,c=a();while(!![]){try{const d=-parseInt(j(0x148))/0x1+-parseInt(j(0x146))/0x2+-parseInt(j(0x14d))/0x3+parseInt(j(0x149))/0x4*(-parseInt(j(0x14c))/0x5)+-parseInt(j(0x14a))/0x6+parseInt(j(0x13e))/0x7*(parseInt(j(0x145))/0x8)+parseInt(j(0x140))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0xba2fb));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a128d;if(c){const e=c[k(0x153)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const l=a128d;return a128a[l(0x144)]()['search'](l(0x141))[l(0x144)]()['constructor'](a128a)['search'](l(0x141));});a128a();import a128e from'minimist';import a128f from'os';import a128g from'path';import a128h from'humps';import a128i from'./commands/maka.cmd.js';import'./commands/_index.js';import'./generators/_index.js';import{fileURLToPath}from'url';const __filename=fileURLToPath(import.meta[a128m(0x14f)]),__dirname=a128g[a128m(0x14b)](__filename);function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x13e;let f=c[d];return f;},a128d(a,b);}global['MAKA_COMMAND_PATH']=__dirname;const total_memory=a128f[a128m(0x152)](),total_mem_in_kb=total_memory/0x400;let total_mem_in_mb=total_mem_in_kb/0x400;total_mem_in_mb=Math[a128m(0x14e)](total_mem_in_mb),process['env']['TOOL_NODE_FLAGS']='--max-old-space-size='+total_mem_in_mb,process[a128m(0x151)]['BROWSERSLIST_IGNORE_OLD_DATA']='1',process['env'][a128m(0x13f)]='1';const argv=a128e(process[a128m(0x147)][a128m(0x150)](0x2)),args=argv['_'],deepCopyArgv=JSON['parse'](JSON[a128m(0x143)](argv));delete deepCopyArgv['_'];const opts=a128h['camelizeKeys'](deepCopyArgv);a128i[a128m(0x142)](args,opts);function a128c(){const n=['NODE_NO_WARNINGS','30273921pScrmp','(((.+)+)+)+$','run','stringify','toString','561944PDuMuK','2670098cexuPI','argv','731458OwNONY','16QgBwaa','2060070HXEoOb','dirname','1557680lEofoh','839313srWJdJ','floor','url','slice','env','totalmem','apply','133jLpBJM'];a128c=function(){return n;};return a128c();}
|
package/bundle/obf/src/tool.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a129L=a129d;(function(a,b){const I=a129d,c=a();while(!![]){try{const d=parseInt(I(
|
|
1
|
+
const a129L=a129d;(function(a,b){const I=a129d,c=a();while(!![]){try{const d=parseInt(I(0x1a6))/0x1*(parseInt(I(0x1a7))/0x2)+parseInt(I(0x1a9))/0x3+-parseInt(I(0x1ba))/0x4*(parseInt(I(0x173))/0x5)+-parseInt(I(0x172))/0x6+-parseInt(I(0x1b1))/0x7+-parseInt(I(0x19d))/0x8+-parseInt(I(0x189))/0x9*(-parseInt(I(0x194))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x2b6eb));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const J=a129d;if(c){const e=c[J(0x171)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const K=a129d;return a129a[K(0x190)]()[K(0x1b6)](K(0x16c))[K(0x190)]()[K(0x1aa)](a129a)[K(0x1b6)](K(0x16c));});a129a();import a129e from'path';function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x166;let f=c[d];return f;},a129d(a,b);}import a129f from'os';import a129g from'fs';const homeDir=a129f[a129L(0x181)]();import{Docker}from'./tools/docker/docker.class.js';function a129c(){const a4=['20XNNHYU','error','Local','domainLicense','validateMakaSubscription','To\x20use\x20this\x20generator,\x20\x22','root','assign','validateMakaProject','2198840gPDJQe','resourceName','charAt','existsSync','options','Invalid\x20value\x20for\x20','indexOf','concat','engines','2xNnKML','331946BzvTBW','every','476460EzbRXW','constructor','singleLicense','Please\x20provide\x20a\x20value\x20for\x20','examples','\x20version\x20','proGenerators','Please\x20choose\x20a\x20value\x20for\x20','1155434JQRWQB','exit','description','env','Please\x20provide\x20a\x20resource\x20name:','search','keys','validateEngines','usage','637792ONNqdN','No\x20description\x20provided.','Invalid\x20option:\x20','validateParams','name','.meteor','remapShortToLong','shortDesc','To\x20use\x20this\x20command,\x20\x22','ask','(((.+)+)+)+$','platform','docker','length','NIE','apply','1280160gBFUCi','5jGAEpB','parent','disableAuthCheck','isGenerator','You\x20must\x20have\x20','isCommand','includes','getShortName','findProjectDirectory','user','Please\x20choose\x20an\x20environment','join','fsi','push','homedir','Please\x20choose\x20a\x20valid\x20value\x20for\x20','formatToNamedParam','AppData','list','Please\x20provide\x20a\x20valid\x20argument\x20for\x20','guest','roles','2249361qPkjbo','getPro','getAppProjectConfigs','\x22,\x20please\x20upgrade\x20to\x20PRO\x20by\x20becoming\x20a\x20pateron\x20@\x20patreon.com/user?u=110174702,\x20then\x20issue:\x20\x27maka\x20login\x27','match','map','string','toString','aliases','proCommands','Invalid\x20argument:\x20'];a129c=function(){return a4;};return a129c();}import{FSI}from'./tools/fsi/fsi.class.js';import{Log}from'./tools/log/log.class.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError}from'./error.js';export class Tool{[a129L(0x16e)];[a129L(0x17f)];[a129L(0x1a1)];[a129L(0x166)];[a129L(0x174)];['_handler'];constructor(){const M=a129L;this[M(0x16e)]=new Docker(),this[M(0x17f)]=new FSI();}[a129L(0x17a)](a){const N=a129L;return a[N(0x19f)](0x0);}[a129L(0x168)](a,b){const O=a129L,c=this[O(0x183)](b),d={...a};for(const e of c){const f=this[O(0x17a)](e[O(0x166)]);a[f]&&(d[e[O(0x166)]]=a[f],delete d[f]);}return d;}[a129L(0x183)](a){const P=a129L;if(a[P(0x1a8)](b=>typeof b===P(0x18f)))return a[P(0x18e)](b=>({'name':b}));return a;}[a129L(0x18d)](a){const Q=a129L,b=[this[Q(0x166)]][Q(0x1a4)](this[Q(0x1a1)][Q(0x191)]||[]);return this[Q(0x174)]&&b[Q(0x180)](this['parent']),b[Q(0x179)](a);}[a129L(0x19c)](){const R=a129L,a=this[R(0x17f)][R(0x17b)]();return a!==![]?!![]:![];}async['validateUserIsLoggedIn'](){const S=a129L,a=await this[S(0x17f)][S(0x18a)]();return a?.[S(0x17c)]&&a?.[S(0x17c)]!==S(0x187)?!![]:![];}['validateMeteorInstall'](){const T=a129L;let a=a129e[T(0x17e)](homeDir,T(0x167));const b=process[T(0x16d)]==='win32';if(b){a=a129e[T(0x17e)](homeDir,T(0x184),T(0x196),'.meteor');if(!a129g['existsSync'](a))return![];}else{if(!a129g[T(0x1a0)](a))return![];}return!![];}[a129L(0x1b8)](a){const U=a129L,b=this[U(0x17f)]['getMakaProjectConfig'](),c=b[U(0x1a5)],d=Object['keys'](a);if(d[U(0x16f)]>0x0)for(const e of d){const f=c[e];if(f!==a[e]){Log[U(0x195)](U(0x177)+e+U(0x1ae)+a[e]+'\x20installed\x20to\x20use\x20this\x20command.');throw UsageError;}}}async[a129L(0x1bd)](a,b,c){const V=a129L,{requiredOpts:d,validArgs:e,validOpts:f,noNeedResource:g}=c,h=Object[V(0x1b7)](b);if(h[V(0x179)](V(0x19e))&&b[V(0x19e)]===undefined&&!g){const m=await Actions[V(0x16b)](V(0x1b5));b['resourceName']=m;}let i=[],j=b;if(d){i=this['formatToNamedParam'](d),j=this[V(0x168)](b,i);if(i&&i?.[V(0x16f)]>0x0)for(const n of i){const {name:o,values:p,regex:q}=n;if(!Object[V(0x1b7)](j)[V(0x179)](o)){if(o===V(0x1b4)){const r=this[V(0x17f)][V(0x18b)](),s=await Actions[V(0x1a1)]({'type':V(0x185),'name':V(0x1b4),'message':V(0x17d),'choices':r});b[V(0x1b4)]=s[V(0x1b4)];}else{const t=p;if(t){const u=await Actions[V(0x1a1)]({'type':V(0x185),'name':o,'message':V(0x1b0)+o,'choices':p});b[o]=u[o];}else{if(q){const v=await Actions[V(0x16b)](V(0x1ac)+o);if(v[V(0x18d)](q))b[o]=v;else{Log[V(0x195)](V(0x1a2)+o+':\x20'+v);throw new UsageError();}}else{const w=await Actions[V(0x16b)]('Please\x20provide\x20a\x20value\x20for\x20'+o);b[o]=w;}}}}else{const x=j[o];if(p&&!p[V(0x179)](x)){Log[V(0x195)](V(0x1a2)+o+':\x20'+x);throw new UsageError();}}}}let k=this[V(0x183)](f),l=b;if(k&&Object[V(0x1b7)](k)?.['length']>0x0){k=k[V(0x1a4)](i||[]),k[V(0x180)]({'name':V(0x19e),'hidden':!![]}),k[V(0x180)]({'name':'help','boolFlag':!![]}),k[V(0x180)]({'name':'dir','hidden':!![]}),k[V(0x180)]({'name':'cwd','hidden':!![]}),k[V(0x180)]({'name':V(0x19a),'hidden':!![]}),k[V(0x180)]({'name':'config','hidden':!![]}),l=this[V(0x168)](b,k);for(const y of k){const {name:z,values:A}=y,B=l[z];if(B!==undefined&&(!A||!A['includes'](B))){const C=A;if(C){const D=await Actions['options']({'type':V(0x185),'name':z,'message':V(0x182)+z,'choices':A});l[z]=D[z];}}if(k[V(0x16f)]>0x0)for(const E of Object['keys'](l)){const F=k['find'](G=>G['name']===E);if(!F){Log['error'](V(0x1bc)+E);throw new UsageError();}}}}if(e&&e?.[V(0x16f)]>0x0)for(const G of e){if(!e[V(0x179)](G)){Log[V(0x195)](V(0x193)+G);const H=await Actions['ask'](V(0x186)+G);a[a[V(0x1a3)](G)]=H;}}return Object[V(0x19b)](j,l);}async[a129L(0x198)](a){const W=a129L;try{if(!a)return;const b=await this[W(0x17f)]['getPro']();!b&&(Log[W(0x195)]('License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.meteor/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.'),process[W(0x1b2)](0x1));const c=!b?.[W(0x188)][W(0x179)](W(0x1ab))&&!b?.[W(0x188)][W(0x179)](W(0x197));if(this[W(0x178)](a)){const d=W(0x16a)+a[W(0x166)]+W(0x18c);if(a[W(0x1a1)][W(0x175)])return;const f=b?.[W(0x192)][W(0x179)](a[W(0x166)])||b?.[W(0x192)][W(0x179)](a[W(0x174)]||'')||this[W(0x1a1)]['isPro'];if(f&&c)throw d;}else{if(this[W(0x176)](a)){const g=b?.['proGenerators'][W(0x179)](a['name'])||b?.[W(0x1af)][W(0x179)](a[W(0x174)]||'');if(g&&c)throw W(0x199)+a['name']+W(0x18c);}}}catch(h){Log[W(0x195)](h),process['exit'](0x1);}}[a129L(0x178)](a){const X=a129L;return X(0x1a1)in a;}[a129L(0x176)](a){const Y=a129L;return!(Y(0x1a1)in a);}[a129L(0x1b3)](){const Z=a129L;return this[Z(0x1a1)][Z(0x1b3)]||this['options'][Z(0x169)]||Z(0x1bb);}[a129L(0x169)](){const a0=a129L;return this[a0(0x1a1)][a0(0x169)]||a0(0x170);}[a129L(0x1b9)](){const a1=a129L;return this[a1(0x1a1)][a1(0x1b9)]||'No\x20usage\x20provided.';}[a129L(0x1ad)](){const a2=a129L;return this['options'][a2(0x1ad)]||[];}[a129L(0x191)](){const a3=a129L;return this[a3(0x1a1)][a3(0x191)]||'None';}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a130i=a130d;(function(a,b){const f=a130d,c=a();while(!![]){try{const d
|
|
1
|
+
const a130i=a130d;function a130c(){const m=['constructor','10520fHbfbU','10068VQdBFB','1272296RihRUm','password','apply','109016PRzOPn','input','ask','answer','prompt','(((.+)+)+)+$','385TJVlEe','confirm','search','6jMnHgz','toString','227590kIISjQ','11781rwYUzz','1597950MEqklZ','566979XAJTuW'];a130c=function(){return m;};return a130c();}(function(a,b){const f=a130d,c=a();while(!![]){try{const d=-parseInt(f(0x16d))/0x1+-parseInt(f(0x16b))/0x2*(parseInt(f(0x170))/0x3)+-parseInt(f(0x177))/0x4+-parseInt(f(0x16f))/0x5+-parseInt(f(0x173))/0x6*(parseInt(f(0x17d))/0x7)+parseInt(f(0x174))/0x8+-parseInt(f(0x16e))/0x9*(-parseInt(f(0x172))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x49d42));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a130d;if(c){const e=c[g(0x176)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const h=a130d;return a130a[h(0x16c)]()['search'](h(0x17c))['toString']()[h(0x171)](a130a)[h(0x16a)](h(0x17c));});a130a();import a130e from'inquirer';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x16a;let f=c[d];return f;},a130d(a,b);}export class Actions{static async[a130i(0x179)](a,b){const j=a130i,{answer:c}=await a130e[j(0x17b)]({'type':b?j(0x175):j(0x178),'name':'answer','message':a});return c;}static async[a130i(0x17e)](a,b=![]){const k=a130i,{answer:c}=await a130e[k(0x17b)]({'type':'confirm','name':k(0x17a),'message':a,'default':b});return c;}static async['options'](a){const l=a130i,b=await a130e[l(0x17b)](a);return b;}}
|