@maka/maka-cli 4.9.5 → 4.9.7
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/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 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-0x1c6;let f=c[d];return f;},a115d(a,b);}const a115A=a115d;(function(a,b){const x=a115d,c=a();while(!![]){try{const d=parseInt(x(0x205))/0x1*(parseInt(x(0x1ec))/0x2)+-parseInt(x(0x201))/0x3+parseInt(x(0x1f5))/0x4+-parseInt(x(0x207))/0x5+parseInt(x(0x1db))/0x6+-parseInt(x(0x1dd))/0x7*(parseInt(x(0x1e9))/0x8)+parseInt(x(0x1da))/0x9*(parseInt(x(0x1dc))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0x890d6));const a115b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a115d;if(c){const e=c[y(0x1fc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a115a=a115b(this,function(){const z=a115d;return a115a[z(0x1fd)]()['search'](z(0x1d9))[z(0x1fd)]()[z(0x1d4)](a115a)['search'](z(0x1d9));});a115a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a115c(){const E=['-hook\x22>','MATERIAL','/imports/ui/hooks','dir','Cleaning\x20up...','length','2534888OSjlRp','react','{props.children}','getMakaProjectConfig','template','{this.props.children}','join','apply','toString','replaceAll','maka\x20g:k:m:f','/imports/startup/client/templates','2856855ARhnXU','baseDir','create','tests','2vacvKY','{\x20this.props.children\x20}','1072915RQEdlW','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','options','/imports/startup/lib/templates','jsx','error','injectIntoFile','checkbox','basic-drawer','checkMeteorPackage','log','fsi','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','<div\x20id=\x22','maka\x20generate:kit:mui:frame','constructor','withValue','session','\x20/>\x0a','test','(((.+)+)+)+$','9ZdwQpm','5223750RTJNij','2662100vNwnwb','1873459grXnds','imports','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','tsx','getDirectories','injectTemplateModule','engines','/imports/ui/','No\x20layouts\x20selected','{\x20props.children\x20}','.js','getFiles','24XFjIXR','kit/mui/frame/drawers/','layouts','760588CDhKWt','ssr','injectImport'];a115c=function(){return E;};return a115c();}import{Actions}from'../../../tools/actions/actions.class.js';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[a115A(0x203)]({'name':'frame','aliases':['f'],'usage':a115A(0x1df),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','validOpts':[a115A(0x1eb)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a115A(0x1f0)],'client':ClientEngines['REACT']},'examples':[a115A(0x1d3),a115A(0x1ff)],'description':a115A(0x1c6)},async function(a,b){const B=a115A;try{const c='basic-app-bar',d=B(0x1cd),f=this['fsi'][B(0x1f8)](),g=f[B(0x1e3)][B(0x1ed)]==='true';await this['fsi'][B(0x1ce)](B(0x1d6),{'shouldInstall':!![]});const h=this['fsi']['findAppDirectory'](),i=a115e[B(0x1fb)](h,B(0x1de),'ui','layouts'),j=this[B(0x1d0)][B(0x1e1)](i),k=await Actions[B(0x1c7)]({'type':B(0x1cc),'name':B(0x1eb),'message':B(0x1d1),'choices':j});if(k['layouts'][B(0x1f4)]===0x0){Log[B(0x1ca)](B(0x1e5));return;}const l=b[B(0x202)]?B(0x1e4)+b[B(0x202)]:B(0x1f1),m=this[B(0x1d0)]['pathFromApp']({'pathParts':[l,b[B(0x1f2)],paramCase(c),paramCase(c)]}),n=this[B(0x1d0)]['pathFromApp']({'pathParts':[l,b[B(0x1f2)],paramCase(d),paramCase(d)]}),o={'name':headerCase(f['appName'])[B(0x1fe)]('-','\x20')};await this[B(0x1d0)][B(0x1d5)](f,async()=>{const C=B;await this[C(0x1d0)][C(0x1f9)]({'srcPath':'kit/mui/frame/app-bars/'+c+'.js','destPath':m+C(0x1e7),'framework':C(0x1f6),'context':o,'config':f,'force':![],'ignore':![]}),await this['fsi'][C(0x1f9)]({'srcPath':C(0x1ea)+d+C(0x1e7),'destPath':n+C(0x1e7),'framework':C(0x1f6),'context':o,'config':f,'force':![],'ignore':![]});});const p=''+l+b[B(0x1f2)]+'/'+c+'/'+c;await this[B(0x1d0)]['injectTemplateModule'](c,f,p);const q=''+l+b[B(0x1f2)]+'/'+d+'/'+d;await this[B(0x1d0)][B(0x1e2)](d,f,q);const {layouts:r}=k;for(const s of r){const t=this[B(0x1d0)][B(0x1e8)](a115e[B(0x1fb)](i,s),{'extensions':[B(0x1c9),B(0x1e0)],'omit':['app-tests',B(0x204),B(0x1d8)]});for(const u of t){const v=a115e['join'](i,s,u);await this[B(0x1d0)][B(0x1ee)]({'filePath':v,'importName':pascalCase(c),'modulePath':g?B(0x1c8):B(0x200),'isNamedExport':!![]}),await this[B(0x1d0)][B(0x1cb)]({'filePath':v,'content':'<'+pascalCase(c)+B(0x1d7),'begin':[B(0x1d2)+s+'\x22>','<div\x20id=\x22'+s+B(0x1ef)],'end':[B(0x1fa),B(0x206),B(0x1f7),B(0x1e6)]}),await this['fsi'][B(0x1ee)]({'filePath':v,'importName':pascalCase(d),'modulePath':g?'/imports/startup/lib/templates':B(0x200),'isNamedExport':!![]}),await this['fsi'][B(0x1cb)]({'filePath':v,'content':'<'+pascalCase(d)+B(0x1d7),'begin':[B(0x1d2)+s+'\x22>',B(0x1d2)+s+B(0x1ef)],'end':[B(0x1fa),'{\x20this.props.children\x20}',B(0x1f7),'{\x20props.children\x20}']});}}return!![];}catch(w){Log[B(0x1ca)](w);}},async function(){const D=a115A;console[D(0x1cf)](D(0x1f3));},a115f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x135;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(0x13e))/0x1+parseInt(f(0x147))/0x2+-parseInt(f(0x145))/0x3*(parseInt(f(0x13a))/0x4)+-parseInt(f(0x142))/0x5*(-parseInt(f(0x135))/0x6)+-parseInt(f(0x138))/0x7*(parseInt(f(0x143))/0x8)+parseInt(f(0x148))/0x9*(parseInt(f(0x13b))/0xa)+-parseInt(f(0x141))/0xb*(-parseInt(f(0x139))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0xca850));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(0x144)]()[g(0x13c)](g(0x13f))[g(0x144)]()['constructor'](a116a)['search']('(((.+)+)+)+$');});a116a();import{Generator}from'../../../generator.js';function a116c(){const j=['3708FOFGYy','105480HWfEPO','7640BwxMFW','search','NIE','1400130HCcqYu','(((.+)+)+)+$','create','63503CVzJWZ','5858230rMktji','10368vEFzZP','toString','102pQouVZ','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','2697254YIMTjQ','63VGumAX','6tQNpHl','maka\x20g:kit:m','mui','6391dgbhUg'];a116c=function(){return j;};return a116c();}import a116e from'../kit.js';const MuiGen=Generator[a116h(0x140)]({'name':a116h(0x137),'aliases':['m'],'usage':a116h(0x146),'noNeedResource':!![],'shortDesc':'Material-UI\x20Kit','validOpts':[''],'isPro':![],'examples':[a116h(0x136)]},async function(){const i=a116h;throw i(0x13d);},async function(){},a116e);export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a117n=a117d;
|
|
1
|
+
const a117n=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d=parseInt(l(0xa9))/0x1+-parseInt(l(0xa3))/0x2+-parseInt(l(0x89))/0x3+parseInt(l(0xa0))/0x4+-parseInt(l(0x85))/0x5*(-parseInt(l(0x87))/0x6)+-parseInt(l(0x91))/0x7*(-parseInt(l(0xa7))/0x8)+parseInt(l(0x9c))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xd5d8f));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[m(0xaa)]()[m(0x84)](m(0x8e))[m(0xaa)]()[m(0xa8)](a117a)[m(0x84)]('(((.+)+)+)+$');});function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x82;let f=c[d];return f;},a117d(a,b);}a117a();import a117e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a117c(){const q=['string','injectAtBeginningOfFile','pathFromProject','assign','4663674WSxZNm','setTemplate','dir','warn','4404884BbiCRR','client','test','2040506LSmuSv','features','fsi','true','8ENLjUZ','constructor','283379ZrkYTY','toString','none','maka\x20g:layout\x20mobile/iPhone8','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','component/component.js','engines','installNpmPackage','ramda','getMakaProjectConfig','pathFromApp','injectTemplateModule','relative','resourceName','className','hook/hook.js','findAppDirectory','import\x20\x27./','search','40AIzjCL','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','534750OzHzkN','react','2485521RnZTeW','fileName','withHook','withHooks','template','(((.+)+)+)+$','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','css','762251VLuvBL','template/template.css','checkNpmPackage','withValue','.css','.js','theme'];a117c=function(){return q;};return a117c();}import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator['create']({'name':'layout','aliases':aliases,'usage':a117n(0xad),'shortDesc':'Scaffolding\x20for\x20a\x20React\x20Layout.','validOpts':[],'examples':[a117n(0xac),'maka\x20g:l\x20web/safari']},async function(a,b){const o=a117n,c='/imports/ui/layouts',d=this[o(0xa5)][o(0x82)](),e=this[o(0xa5)][o(0xb3)]({'pathParts':[c,b[o(0x9e)],paramCase(b['resourceName']),paramCase(b[o(0xb6)])]}),f=this['fsi'][o(0xb2)]();await this['fsi'][o(0x94)](f,async()=>{const p=o;typeof f[p(0x8d)][p(0xa2)]==='string'&&(f[p(0x8d)][p(0xa2)]=f['template'][p(0xa2)]==='true'?!![]:![],this[p(0xa5)][p(0x9d)]('test',f[p(0x8d)][p(0xa2)]));typeof f[p(0x8d)][p(0x90)]===p(0x98)&&(f[p(0x8d)]['css']=f[p(0x8d)][p(0x90)]===p(0xa6)?!![]:![],this[p(0xa5)][p(0x9d)](p(0x90),f[p(0x8d)][p(0x90)]));typeof f[p(0x8d)]['js']===p(0x98)&&(f[p(0x8d)]['js']=f[p(0x8d)]['js']==='true'?!![]:![],this[p(0xa5)]['setTemplate']('js',f[p(0x8d)]['js']));!f[p(0xa4)]&&(f[p(0xa4)]={});const g=b['_']?b['_'][0x0]['split'](':')[0x1]:![],h=b['_']&&aliases['includes'](g);h&&!this[p(0x93)](p(0xb1))&&(Log[p(0x9f)](p(0x8f)),this[p(0xa5)][p(0xb0)](p(0xb1),{'cwd':d}));if(h&&!this['checkNpmPackage'](p(0x88))){Log[p(0x9f)](p(0x86));return;}const i={'name':pascalCase(b[p(0xb6)]),'myPath':a117e[p(0xb5)](this[p(0xa5)][p(0x9a)]({}),e),'cssCaseName':paramCase(b[p(0xb6)]),'className':pascalCase(b[p(0xb6)]),'camelCaseName':camelCase(b[p(0xb6)]),'fileName':paramCase(b[p(0xb6)]),'graphql':f[p(0xaf)]['graphql'],'features':f['features'],'client':f['engines'][p(0xa1)],'api':f['engines']['api'],'ssr':f['engines']['ssr'],'test':f['engines']['test'],'theme':f[p(0xaf)][p(0x97)],'isComponent':![],'isLayout':!![],'withTranslations':f[p(0xa4)]['withTranslations']};f[p(0xa4)]?.[p(0x8c)]||b[p(0x8b)]?await this[p(0xa5)][p(0x8d)]({'srcPath':p(0xb8),'destPath':e+p(0x96),'framework':p(0x88),'context':i,'config':f}):await this['fsi']['template']({'srcPath':p(0xae),'destPath':e+p(0x96),'framework':p(0x88),'context':i,'config':f});f[p(0xaf)]['test']!==p(0xab)&&await this[p(0xa5)][p(0x8d)]({'srcPath':'test/test.js','destPath':e+'.app-tests.js','framework':p(0x88),'context':i,'config':f});f[p(0x8d)][p(0x90)]&&(await this[p(0xa5)][p(0x8d)]({'srcPath':p(0x92),'destPath':e+p(0x95),'context':Object[p(0x9b)]({},i,{'className':paramCase(b['resourceName'])}),'config':f}),await this[p(0xa5)][p(0x99)]({'filePath':e+'.'+f[p(0xaf)]['js'],'content':p(0x83)+i[p(0x8a)]+'.'+f[p(0xaf)][p(0x90)]+'\x27;'}));const j=b[p(0x9e)]?'/'+b['dir']+'/':'/',k=''+c+j+i['fileName']+'/'+i['fileName'];await this[p(0xa5)][p(0xb4)](i[p(0xb7)],f,k);});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a118i=a118d;(function(a,b){const f=a118d,c=a();while(!![]){try{const d=parseInt(f(
|
|
1
|
+
const a118i=a118d;(function(a,b){const f=a118d,c=a();while(!![]){try{const d=parseInt(f(0x95))/0x1+-parseInt(f(0xa5))/0x2*(parseInt(f(0x93))/0x3)+parseInt(f(0x97))/0x4*(-parseInt(f(0xa3))/0x5)+parseInt(f(0x92))/0x6+-parseInt(f(0x96))/0x7*(-parseInt(f(0x9e))/0x8)+-parseInt(f(0xa2))/0x9+parseInt(f(0x98))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0xb96fd));function a118c(){const j=['1094862HxDNli','7TXyzAw','1950148SMqHGw','14794680JacABF','constructor','maka\x20g:template\x20todos/todo_item','search','maka\x20generate:scaffold\x20todos','(((.+)+)+)+$','1691672jUzMKj','apply','maka\x20g:scaffold\x20todos','maka\x20{generate,\x20g}:<generator>\x20<name>','5765733WIiYBi','5LCdPgG','toString','1090UiVnfc','1799064JlvfnE','6594tMUSwx','generate'];a118c=function(){return j;};return a118c();}const a118b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a118d;if(c){const e=c[g(0x9f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){const h=a118d;return a118a[h(0xa4)]()[h(0x9b)](h(0x9d))[h(0xa4)]()[h(0x99)](a118a)[h(0x9b)]('(((.+)+)+)+$');});function a118d(a,b){const c=a118c();return a118d=function(d,e){d=d-0x92;let f=c[d];return f;},a118d(a,b);}a118a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a118i(0x94),'aliases':['g'],'usage':a118i(0xa1),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':'Scaffold\x20various\x20parts\x20of\x20your\x20application','examples':[a118i(0x9c),a118i(0xa0),a118i(0x9a),'maka\x20g:package\x20package:name','maka\x20g:route\x20todos/edit','maka\x20g:api\x20trucks','maka\x20g:dbc\x20geoserver\x20--type=pgsql']},function(){});export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a119m=a119d;(function(a,b){const j=a119d,c=a();while(!![]){try{const d=-parseInt(j(0x8e))/0x1*(-parseInt(j(0x95))/0x2)+parseInt(j(0xa3))/0x3+parseInt(j(0x9f))/0x4+parseInt(j(0xa0))/0x5+-parseInt(j(0x8b))/0x6*(parseInt(j(0x8c))/0x7)+-parseInt(j(0x83))/0x8+parseInt(j(0x91))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x33c64));function a119c(){const p=['method','search','maka\x20g:method\x20todos','1372568NzlVAp','checkMeteorPackage','imports','injectAtEndOfFile','appPathPrefix','resourceName','dir','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','18ElAUhS','383817SoOMXH','(((.+)+)+)+$','178385NnKbuB','tsx','apply','792162YvrIHD','toString','pathFromApp','startup','4gWuBvF','template','withValue','mdg:validated-method','ddp-rate-limiter','fsi','engines','-rpc-method\x27;','maka\x20{generate,\x20g}:{method,\x20m}\x20name','getMakaProjectConfig','91528HJjgNI','135885iDDBPs','index.','error','159855eFCOMj'];a119c=function(){return p;};return a119c();}const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a119d;if(c){const e=c[k(0x90)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const l=a119d;return a119a['toString']()[l(0x81)]('(((.+)+)+)+$')[l(0x92)]()['constructor'](a119a)[l(0x81)](l(0x8d));});a119a();function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x80;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['create']({'name':a119m(0x80),'aliases':['m'],'usage':a119m(0x9d),'checkWhere':!![],'shortDesc':a119m(0x8a),'validOpts':[a119m(0x89)],'examples':[a119m(0x82)]},async function(a,b){const n=a119m;try{const c=this['fsi'][n(0x9e)]();await this['fsi'][n(0x97)](c,async()=>{const o=n,d=paramCase(b[o(0x88)]),f={'name':b['resourceName'],'fileName':d,'className':pascalCase(b[o(0x88)]),'camelCase':camelCase(b[o(0x88)]),'noRename':!![]};let g='js';c[o(0x9b)]['js']===o(0x8f)&&(g='ts');await this[o(0x9a)][o(0x84)](['maka:check',o(0x99),o(0x98)],{'shouldInstall':!![]}),await this[o(0x9a)][o(0x96)]({'srcPath':'method/method.js','destPath':this[o(0x9a)][o(0x93)]({'pathParts':[o(0x85),o(0x94),b[o(0x87)],'methods',b['dir'],d+'-rpc-method.'+g]}),'context':f,'config':c});const h=b['dir']?'/'+b[o(0x89)]+'/':'/',i=this[o(0x9a)][o(0x93)]({'pathParts':['imports',o(0x94),b[o(0x87)],o(0xa1)+c[o(0x9b)]['js']]});await this[o(0x9a)][o(0x86)]({'filePath':i,'content':'import\x20\x27./methods'+h+d+o(0x9c)});});}catch(d){Log[n(0xa2)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a120o=a120d;(function(a,b){const l=a120d,c=a();while(!![]){try{const d
|
|
1
|
+
const a120o=a120d;(function(a,b){const l=a120d,c=a();while(!![]){try{const d=parseInt(l(0x1e3))/0x1*(parseInt(l(0x1df))/0x2)+parseInt(l(0x1ec))/0x3*(-parseInt(l(0x1dc))/0x4)+-parseInt(l(0x1f5))/0x5+parseInt(l(0x1fa))/0x6+-parseInt(l(0x1fb))/0x7*(-parseInt(l(0x1ef))/0x8)+parseInt(l(0x1e2))/0x9+parseInt(l(0x1f7))/0xa*(-parseInt(l(0x1ff))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x75f85));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a120d;if(c){const e=c[m(0x1e9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const n=a120d;return a120a[n(0x1fc)]()[n(0x1db)](n(0x201))[n(0x1fc)]()[n(0x1d9)](a120a)[n(0x1db)](n(0x201));});function a120c(){const r=['744734TkOUaL','fsi','package.js','6389856cgzzoF','2YAIwQr','store','hasOwnProperty','withValue','.js','create','apply','component','tests/server','2229900wBNxWe','features','ssr','335416oxLVJI','noRename','layout','dir','client','theme','3929655YKBgTu','/client/','10ZOUHsm','pathFromAppWithNoReWrite','lib','5492574ZairkY','7lSZamd','toString','engines','resourceName','4396018MjMaRg','tests/client','(((.+)+)+)+$','constructor','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','search','4eQiWAN','template','getMakaProjectConfig'];a120c=function(){return r;};return a120c();}a120a();function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x1d9;let f=c[d];return f;},a120d(a,b);}import a120e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a120o(0x1e8)]({'name':'package','aliases':['p'],'usage':'maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','shortDesc':a120o(0x1da),'validOpts':[a120o(0x1f2)],'examples':['maka\x20g:package\x20todos:package']},async function(a,b){const p=a120o,c=paramCase(b['resourceName']),d=this[p(0x1e0)]['pathFromApp']({'pathParts':['packages',b[p(0x1f2)],c]}),e=this[p(0x1e0)][p(0x1f8)]({'pathParts':['packages',b['dir'],c,p(0x1e1)]}),f=this[p(0x1e0)][p(0x1de)]();await this['fsi'][p(0x1e6)](f,async()=>{const q=p,g={'name':paramCase(b[q(0x1fe)]),'myPath':a120e['relative'](this[q(0x1e0)]['pathFromProject']({}),d),'cssCaseName':paramCase(b[q(0x1fe)]),'className':pascalCase(b[q(0x1fe)]),'camelCaseName':camelCase(b[q(0x1fe)]),'fileName':c,'client':f[q(0x1fd)][q(0x1f3)],'graphql':f[q(0x1fd)]['graphql'],'ssr':f[q(0x1fd)][q(0x1ee)],'isComponent':b[q(0x1e5)](q(0x1ea)),'isLayout':b[q(0x1e5)](q(0x1f1)),'isStore':b['hasOwnProperty'](q(0x1e4)),'features':f[q(0x1ed)],'noRename':!![],'theme':f[q(0x1fd)][q(0x1f4)]};await this[q(0x1e0)][q(0x1dd)]({'srcPath':'package/package.js','destPath':e,'context':g,'config':f}),g[q(0x1f0)]=![];const h=d+q(0x1f6)+c+q(0x1e7);await this[q(0x1e0)][q(0x1dd)]({'srcPath':'template/template.js','destPath':h,'context':g,'config':f});const i=[q(0x1f9),'server',q(0x200),q(0x1eb)];for(const j of i){const k=d+'/'+j+'/'+c+q(0x1e7);await this[q(0x1e0)][q(0x1dd)]({'srcPath':'package/'+j+'/package.js','destPath':k,'context':g,'config':f});}});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a121m=a121d;(function(a,b){const j=a121d,c=a();while(!![]){try{const d=-parseInt(j(0x98))/0x1*(-parseInt(j(0xaf))/0x2)+parseInt(j(0x9a))/0x3*(parseInt(j(0xce))/0x4)+parseInt(j(0xbb))/0x5+parseInt(j(0x9b))/0x6*(parseInt(j(0xb6))/0x7)+parseInt(j(0xad))/0x8*(-parseInt(j(0xd1))/0x9)+-parseInt(j(0x9c))/0xa*(parseInt(j(0xc3))/0xb)+-parseInt(j(0xc4))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x49747));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a121d;if(c){const e=c[k(0xda)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const l=a121d;return a121a[l(0xcb)]()[l(0xa6)]('(((.+)+)+)+$')[l(0xcb)]()[l(0xd4)](a121a)[l(0xa6)](l(0xbc));});a121a();import a121e from'path';function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x94;let f=c[d];return f;},a121d(a,b);}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';function a121c(){const p=['import\x20\x27./','hasOwnProperty','ssr','css','none','30359iXHFpW','injectAtBeginningOfFile','root','pathFromProject','relative','2222840byfBqo','(((.+)+)+)+$','assign','true','.css','string','store','layout','2982947BFNJFD','7856160kfUjlA','react','className','component','resourceName','withHook','theme','toString','ramda','Generate\x20a\x20page.','1104txAUWQ','template/template.html','setTemplate','9bBTVBD','Updating\x20npm\x20packages\x20...','route','constructor','create','test/test.js','engines','components','dir','apply','layouts','hook/hook.js','client','maka\x20g:page\x20todos/todos-item','vanilla','features','3qlyPww','/imports/ui/pages','3921wdgkFz','708dTOskO','10xAhsCJ','.js','checkNpmPackage','html','.html','baseDir','test','fileName','.app-tests.js','pathFromApp','search','api','fsi','component/component.js','withTranslations','withHooks','installNpmPackage','2929528JZvpwM','template','183902ClilWD','template/template.css'];a121c=function(){return p;};return a121c();}const aliases=['p'];Generator[a121m(0xd5)]({'name':'page','aliases':aliases,'usage':'maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','shortDesc':a121m(0xcd),'validOpts':[{'name':a121m(0xa1),'values':['hooks',a121m(0xd8),'pages',a121m(0xdb)]},{'name':a121m(0xc9),'boolFlag':!![]}],'examples':[a121m(0x95)]},async function(a,b){const n=a121m,c=b['baseDir']?'/imports/ui/'+b[n(0xa1)]:n(0x99),d=this[n(0xa8)][n(0xa5)](b),e=this[n(0xa8)][n(0xa5)]({'pathParts':[c,b[n(0xd9)],paramCase(b[n(0xc8)]),paramCase(b['resourceName'])]}),f=this[n(0xa8)]['getMakaProjectConfig']();let g='';return await this[n(0xa8)]['withValue'](f,async()=>{const o=n;typeof f[o(0xae)]['html']===o(0xc0)&&(f[o(0xae)]['html']=f['template'][o(0x9f)]===o(0xbe)?!![]:![],this[o(0xa8)]['setTemplate'](o(0x9f),f[o(0xae)][o(0x9f)]));typeof f[o(0xae)]['test']==='string'&&(f[o(0xae)][o(0xa2)]=f[o(0xae)][o(0xa2)]===o(0xbe)?!![]:![],this[o(0xa8)][o(0xd0)]('test',f[o(0xae)][o(0xa2)]));typeof f[o(0xae)][o(0xb4)]===o(0xc0)&&(f[o(0xae)][o(0xb4)]=f['template']['css']===o(0xbe)?!![]:![],this['fsi'][o(0xd0)](o(0xb4),f[o(0xae)][o(0xb4)]));typeof f['template']['js']===o(0xc0)&&(f[o(0xae)]['js']=f[o(0xae)]['js']===o(0xbe)?!![]:![],this[o(0xa8)][o(0xd0)]('js',f[o(0xae)]['js']));!f['features']&&(f[o(0x97)]={});!b[o(0xb8)]&&!this[o(0xa8)][o(0x9e)](o(0xcc))&&(Log['warn'](o(0xd2)),this['fsi'][o(0xac)]('ramda',{'cwd':d}));const h={'name':pascalCase(b['resourceName']),'myPath':a121e[o(0xba)](this[o(0xa8)][o(0xb9)]({}),e),'cssCaseName':paramCase(b[o(0xc8)]),'className':pascalCase(b[o(0xc8)]),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b[o(0xc8)]),'graphql':f[o(0xd7)]['graphql'],'features':f[o(0x97)],'client':f[o(0xd7)][o(0x94)],'api':f[o(0xd7)][o(0xa7)],'ssr':f[o(0xd7)][o(0xb3)],'isStore':b[o(0xb2)](o(0xc1)),'isComponent':b[o(0xb2)](o(0xc7)),'isLayout':b[o(0xb2)](o(0xc2)),'withTranslations':f[o(0x97)][o(0xaa)],'test':f[o(0xd7)][o(0xa2)],'theme':f[o(0xd7)][o(0xca)]};f[o(0xae)][o(0x9f)]&&await this['fsi'][o(0xae)]({'srcPath':o(0xcf),'destPath':e+o(0xa0),'context':h,'config':f});f[o(0x97)]?.[o(0xab)]||b[o(0xc9)]?await this['fsi'][o(0xae)]({'srcPath':o(0xdc),'destPath':e+o(0x9d),'framework':'react','context':h,'config':f}):await this[o(0xa8)][o(0xae)]({'srcPath':o(0xa9),'destPath':e+o(0x9d),'framework':o(0xc5),'context':h,'config':f});f[o(0xd7)][o(0xa2)]!==o(0xb5)&&await this[o(0xa8)]['template']({'srcPath':o(0xd6),'destPath':e+o(0xa4),'framework':o(0xc5),'context':h,'config':f});f[o(0xae)]['css']&&await this[o(0xa8)][o(0xae)]({'srcPath':o(0xb0),'destPath':e+o(0xbf),'context':Object[o(0xbd)]({},h,{'className':paramCase(b[o(0xc8)])}),'config':f});f[o(0xd7)][o(0x94)]!==o(0xc5)&&f[o(0xd7)]['client']!==o(0x96)?(f['template']['css']&&await this[o(0xa8)][o(0xb7)]({'filePath':e+'.'+f[o(0xd7)]['js'],'content':'import\x20\x27./'+h['fileName']+'.'+f[o(0xd7)][o(0x9f)]+'\x27;\x0a'+o(0xb1)+h[o(0xa3)]+'.'+f[o(0xd7)][o(0xb4)]+'\x27;'}),!f['template'][o(0xb4)]&&await this['fsi']['injectAtBeginningOfFile']({'filePath':e+'.'+f[o(0xd7)]['js'],'content':'import\x20\x27./'+h[o(0xa3)]+'.'+f[o(0xd7)]['html']+'\x27;'})):f[o(0xae)][o(0xb4)]&&await this[o(0xa8)][o(0xb7)]({'filePath':e+'.'+f[o(0xd7)]['js'],'content':o(0xb1)+h['fileName']+'.'+f[o(0xd7)][o(0xb4)]+'\x27;'});const i=b[o(0xd9)]?'/'+b[o(0xd9)]+'/':'/';g=''+c+i+h[o(0xa3)]+'/'+h[o(0xa3)],await this['fsi']['injectTemplateModule'](h[o(0xc6)],f,g),!b[o(0xb8)]&&await a121f['processAndRunGenerator'](o(0xd3),[i+b['resourceName']],b);}),g+'.'+f['engines']['js'];});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a122k=a122d;(function(a,b){const h=a122d,c=a();while(!![]){try{const d=parseInt(h(0x9e))/0x1+-parseInt(h(0x93))/0x2+-parseInt(h(0x92))/0x3*(parseInt(h(0xa3))/0x4)+parseInt(h(0x91))/0x5+parseInt(h(0xa4))/0x6*(parseInt(h(0x9d))/0x7)+-parseInt(h(0xa0))/0x8*(-parseInt(h(0x9f))/0x9)+parseInt(h(0x9b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x6b420));function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x8e;let f=c[d];return f;},a122d(a,b);}function a122c(){const n=['resourceName','637903WPITYJ','342992RqOAFv','2912877zUAjto','8owJDrB','fsi','constructor','344NriiSZ','12qcKkWV','maka\x20g:publish\x20todos','engines','withValue','tsx','getMakaProjectConfig','apply','(((.+)+)+)+$','rewriteDestinationPathForEngine','409965oJIbWQ','30369dDthnB','945728SGvmne','injectAtEndOfFile','templateContent','search','create','server/publish.','publish','toString','8518740tbzlHR'];a122c=function(){return n;};return a122c();}const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a122d;if(c){const e=c[i(0x8e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const j=a122d;return a122a[j(0x9a)]()[j(0x96)](j(0x8f))[j(0x9a)]()[j(0xa2)](a122a)['search'](j(0x8f));});a122a();import{paramCase}from'change-case';import{Generator}from'../generator.js';Generator[a122k(0x97)]({'name':a122k(0x99),'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':[],'examples':[a122k(0xa5)]},async function(a,b){const l=a122k,c=this[l(0xa1)][l(0xa9)]();await this[l(0xa1)][l(0xa7)](c,async()=>{const m=l,d={'name':b['resourceName'],'collection':paramCase(b[m(0x9c)]),'noRename':!![]};let e='js';c[m(0xa6)]['js']===m(0xa8)&&(e='ts');const f=this['fsi'][m(0x90)]({'pathParts':[m(0x98)+c[m(0xa6)]['js']]}),g=this[m(0xa1)][m(0x95)]({'srcPath':'publish/publish.'+e,'context':d,'config':c});await this[m(0xa1)][m(0x94)]({'filePath':f,'content':'\x0a'+g});});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a123A=a123d;(function(a,b){const y=a123d,c=a();while(!![]){try{const d=-parseInt(y(0x19e))/0x1+parseInt(y(0x1b1))/0x2*(-parseInt(y(0x191))/0x3)+parseInt(y(0x1c9))/0x4*(parseInt(y(0x19b))/0x5)+parseInt(y(0x1a0))/0x6*(parseInt(y(0x1cc))/0x7)+-parseInt(y(0x1a2))/0x8*(parseInt(y(0x19d))/0x9)+parseInt(y(0x1b6))/0xa*(-parseInt(y(0x1bc))/0xb)+-parseInt(y(0x1a7))/0xc*(-parseInt(y(0x1cb))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x6187b));const a123b=(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;};}()),a123a=a123b(this,function(){const z=a123d;return a123a[z(0x189)]()[z(0x188)](z(0x1c5))[z(0x189)]()['constructor'](a123a)['search'](z(0x1c5));});a123a();import a123e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{camelCase,paramCase,pascalCase}from'change-case';function a123c(){const I=['route/route.js','PrivateLayout','280bGoxXD','cwd','1996443xpvsJn','407480Qmqjom','Please\x20specify\x20a\x20name\x20for\x20the\x20route.','78FudxEr','maka\x20g:route\x20pages/lists/listIndex\x20lists','16JmfqlG','layout','private','withHook','maka\x20{generate,\x20g}:{route,\x20r}\x20[path/]<name>','12984024pJvTvh','startup','</Router>','Scaffolding\x20for\x20a\x20Route.','dir','true','readFileLines','withValue','join','vanilla','124wdHEpY','filter','<Route','map','length','1571730Tbwwiz','\x0a\x09\x09','import\x20*\x20as\x20Component\x20from\x20\x27./templates\x27;','baseDir','error','rewriteDestinationPathForEngine','11ZwTUse','getMakaProjectConfig','only','layouts','templateName','const\x20privateRoutes\x20=\x20(<>','fsi','replace','\x22*\x22','(((.+)+)+)+$','const\x20publicRoutes\x20=\x20(<>','pathFromApp','split','20220AJsurm','toLowerCase','13RatoOj','375872yVOkjm','maka\x20g:route\x20pages/about','imports','Valid\x20options\x20are:\x20','injectIntoFile','root','indexOf','maka\x20g:route\x20usersShow\x20users/:id/show\x20--layout\x20userView','injectAfterLineNumber','routes.js','/imports/ui/','warn','lib','search','toString','engines','create','templateContent','pathFromProject','includes','\x20already\x20exists.\x20\x20Skipping.','ssr','31710EUPkvE','Adding\x20route\x20','features','client','injectAtEndOfFile','fileContainsString','react','resourceName'];a123c=function(){return I;};return a123c();}const aliases=['r'];function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x17c;let f=c[d];return f;},a123d(a,b);}Generator[a123A(0x18b)]({'name':'route','aliases':aliases,'validOpts':[a123A(0x1a4),'layout',a123A(0x1be),a123A(0x19c),'config',a123A(0x180),a123A(0x1a5),'url',a123A(0x1b9)],'usage':a123A(0x1a6),'shortDesc':a123A(0x1aa),'examples':['maka\x20g:route\x20todosIndex\x20todos','maka\x20g:route\x20todosEdit\x20todos/:id/edit',a123A(0x182),a123A(0x1a1),a123A(0x17c)]},async function(a,b){const B=a123A;try{const c=['hooks','components','pages',B(0x1bf)];if(b[B(0x1b9)]&&!c['includes'](b['baseDir'])){Log['error']('Invalid\x20directory\x20option\x20\x22'+b[B(0x1b9)]+'\x22'),Log['error'](B(0x17e)+c[B(0x1af)](',\x20'));throw new UsageError();}const d=this[B(0x1c2)][B(0x1bd)]();await this['fsi'][B(0x1ae)](d,async()=>{const C=B,f=b[C(0x1a4)]??![];let g=b[C(0x198)][C(0x1c8)]('/')['pop']();if(!g){Log[C(0x1ba)](C(0x19f));throw new UsageError();}g=pascalCase(g);let h='/'+b[C(0x198)];a[C(0x1b5)]>0x1&&(h='/'+a[C(0x1b2)](function(n){return n!=='/';})[C(0x1af)]('/')[C(0x1ca)]());h=h[C(0x1c3)](/\/\//g,'/');b['layout']&&(b[C(0x1a3)]=camelCase(b[C(0x1a3)]));const i=b['baseDir']?C(0x185)+b[C(0x1b9)]:'/imports/ui/pages',j=a123e[C(0x1af)](i,b[C(0x1ab)],g,paramCase(g)),k={'name':g,'fileCase':paramCase(g),'camelCaseName':camelCase(g),'url':h,'layout':b[C(0x1a3)]||'MasterLayout','templatePath':j,'templateName':pascalCase(g),'client':d['engines']['client'],'newForm':![],'withTranslations':d[C(0x193)]['withTranslations']};f&&(k[C(0x1a3)]=C(0x19a));let l,m;if(d[C(0x18a)][C(0x194)]===C(0x197)){if(d[C(0x18a)][C(0x190)]===C(0x1ac)){const r=this[C(0x1c2)]['pathFromApp']({'pathParts':[C(0x17d),C(0x1a8),C(0x187),C(0x184)]});l=this[C(0x1c2)][C(0x1bb)]({'pathParts':[r],'config':d});}else{const s=this[C(0x1c2)][C(0x1c7)]({'pathParts':[C(0x17d),C(0x1a8),C(0x194),'routes.js']});l=this[C(0x1c2)]['rewriteDestinationPathForEngine']({'pathParts':[s],'config':d});}const n=await this[C(0x1c2)][C(0x196)](l,g);if(n){Log[C(0x186)]('Route\x20'+g+C(0x18f));return;}else{const t=this['fsi'][C(0x18d)](l);Log['info'](C(0x192)+g+'\x20to\x20'+l[C(0x1c3)](t,''));}const o=this[C(0x1c2)][C(0x1ad)](l)[C(0x1b4)]((u,v)=>{const D=C;return u[D(0x18e)](D(0x1b8))?v+0x1:null;})[C(0x1b2)](u=>u!==null);let p=this[C(0x1c2)][C(0x1ad)](l)[C(0x1b4)]((u,v)=>{const E=C;return u[E(0x18e)](E(0x1c6))?v+0x1:null;})[C(0x1b2)](u=>u!==null),q=this['fsi'][C(0x1ad)](l)[C(0x1b4)]((u,v)=>{const F=C;return u[F(0x18e)](F(0x1c1))?v+0x1:null;})['filter'](u=>u!==null);p[C(0x1b5)]>0x0&&q[C(0x1b5)]>0x0&&(k['newForm']=!![]);m=this['fsi'][C(0x18c)]({'srcPath':C(0x199),'framework':C(0x197),'context':k,'config':d});if(p['length']>0x0||q[C(0x1b5)]>0x0){this['fsi'][C(0x183)]({'filePath':l,'content':m,'lineNumber':o[0x0]});if(f&&q[C(0x1b5)]>0x0)q=this['fsi'][C(0x1ad)](l)[C(0x1b4)]((u,v)=>{const G=C;return u['includes'](G(0x1c1))?v+0x1:null;})[C(0x1b2)](u=>u!==null),this[C(0x1c2)][C(0x183)]({'filePath':l,'content':'\x09{'+k[C(0x1c0)]+'}','lineNumber':q[0x0]});else p[C(0x1b5)]>0x0?(p=this[C(0x1c2)][C(0x1ad)](l)[C(0x1b4)]((u,v)=>{return u['includes']('const\x20publicRoutes\x20=\x20(<>')?v+0x1:null;})[C(0x1b2)](u=>u!==null),this['fsi'][C(0x183)]({'filePath':l,'content':'\x09{'+k['templateName']+'}','lineNumber':p[0x0]})):Log[C(0x186)]('Could\x20not\x20find\x20a\x20suitable\x20location\x20to\x20enable\x20this\x20route.\x20\x20Please\x20inspect\x20'+l);}else{const u=this[C(0x1c2)][C(0x1ad)](l)['map'](x=>{const H=C;return x['includes'](H(0x1c4));}),v=u[C(0x181)](!![])>-0x1,w=v?C(0x1b3):C(0x1a9);await this[C(0x1c2)][C(0x17f)]({'filePath':l,'content':C(0x1b7)+m+C(0x1b7),'begin':'<Router','end':w});}}else{if(d[C(0x18a)][C(0x194)]===C(0x1b0)){const x=this[C(0x1c2)]['pathFromApp']({'pathParts':[C(0x17d),C(0x1a8),'client',C(0x184)]});l=this[C(0x1c2)][C(0x1bb)]({'pathParts':[x],'config':d}),m=this[C(0x1c2)]['templateContent']({'srcPath':C(0x199),'context':k}),await this[C(0x1c2)][C(0x195)]({'filePath':l,'content':'\x0a'+m});}}});}catch(f){Log['error'](f);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x9a;let f=c[d];return f;},a124d(a,b);}const a124m=a124d;(function(a,b){const j=a124d,c=a();while(!![]){try{const d=-parseInt(j(0xaa))/0x1+-parseInt(j(0x9c))/0x2+parseInt(j(0xab))/0x3+-parseInt(j(0xa3))/0x4+-parseInt(j(0xa9))/0x5+parseInt(j(0xb2))/0x6+parseInt(j(0x9b))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0xc6b99));function a124c(){const p=['search','engines','8451660aoVUVH','Generate\x20a\x20service\x20to\x20run\x20within\x20your\x20meteor\x20application.','apply','services','tsx','logger','imports','type','lib','7042595Fmauof','159172SQoXxm','startup','fsi','maka\x20g:svc\x20service-logger\x20--type=logger','maka\x20{generate,\x20g}:{service}\x20<resource-name>','getMakaProjectConfig','checkNpmPackage','4425164pcrhrr','toString','pathFromApp','Installing\x20winston','service/logger/logger.js','resourceName','3945465DJbOeh','337480VjPUNh','2135196tgWrcr','winston\x20setimmediate','(((.+)+)+)+$','svc','create'];a124c=function(){return p;};return a124c();}const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a124d;if(c){const e=c[k(0xb4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const l=a124d;return a124a[l(0xa4)]()[l(0xb0)](l(0xad))[l(0xa4)]()['constructor'](a124a)[l(0xb0)](l(0xad));});a124a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a124m(0xaf)]({'name':'service','aliases':[a124m(0xae)],'usage':a124m(0xa0),'shortDesc':a124m(0xb3),'requiredOpts':[{'name':a124m(0xb9),'values':[a124m(0xb7)]}],'validOpts':[],'maxArgLength':0x1,'examples':[a124m(0x9f)]},async function(a,b){const n=a124m;try{const c=this[n(0x9e)][n(0xa1)]();await this[n(0x9e)]['withValue'](c,async()=>{const o=n,d=this[o(0x9e)]['pathFromApp']({}),f=paramCase(b['resourceName']),g={'name':pascalCase(b[o(0xa8)]),'fileName':f,'camelCase':camelCase(b[o(0xa8)]),'type':b[o(0xb9)],'engine':c['engines']['js'],'noRename':!![]};let h='js';c[o(0xb1)]['js']===o(0xb6)&&(h='ts');if(b['type']===o(0xb7)){!this[o(0x9e)][o(0xa2)]('winston')&&await this['fsi']['installNpmPackage'](o(0xac),{'cwd':d,'msg':o(0xa6)});const i=this[o(0x9e)][o(0xa5)]({'pathParts':[o(0xb8),o(0x9d),o(0x9a),o(0xb5),f+'.'+h]});await this[o(0x9e)]['template']({'srcPath':o(0xa7),'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=-parseInt(f(
|
|
1
|
+
function a125d(a,b){var c=a125c();return a125d=function(d,e){d=d-0x173;var f=c[d];return f;},a125d(a,b);}(function(a,b){var f=a125d,c=a();while(!![]){try{var d=-parseInt(f(0x174))/0x1+parseInt(f(0x17f))/0x2+parseInt(f(0x17b))/0x3+-parseInt(f(0x178))/0x4*(parseInt(f(0x173))/0x5)+parseInt(f(0x17e))/0x6+-parseInt(f(0x17c))/0x7*(-parseInt(f(0x180))/0x8)+-parseInt(f(0x17d))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x46036));var a125b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a125d;if(c){var e=c[g(0x17a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){var h=a125d;return a125a[h(0x176)]()[h(0x177)](h(0x179))[h(0x176)]()[h(0x175)](a125a)[h(0x177)](h(0x179));});function a125c(){var i=['3075864emCkZD','101890NLbctt','200OVZpKk','1010xtECWB','420401gdaSbA','constructor','toString','search','2568BGTRQw','(((.+)+)+)+$','apply','211245kaHbHg','96572HSKlHM','1278405ZPKfrN'];a125c=function(){return i;};return a125c();}a125a();import'./translation.js';import'./openssl.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a126l=a126d;(function(a,b){const i=a126d,c=a();while(!![]){try{const d
|
|
1
|
+
const a126l=a126d;(function(a,b){const i=a126d,c=a();while(!![]){try{const d=parseInt(i(0x8b))/0x1+parseInt(i(0x82))/0x2+-parseInt(i(0x81))/0x3*(-parseInt(i(0x98))/0x4)+parseInt(i(0x96))/0x5+-parseInt(i(0x86))/0x6*(parseInt(i(0x95))/0x7)+parseInt(i(0x84))/0x8*(parseInt(i(0x99))/0x9)+parseInt(i(0x7e))/0xa*(-parseInt(i(0x7f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x65db1));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a126d;if(c){const e=c[j(0x83)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const k=a126d;return a126a['toString']()['search'](k(0x90))[k(0x97)]()[k(0x8c)](a126a)['search'](k(0x90));});a126a();function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x7e;let f=c[d];return f;},a126d(a,b);}import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';import a126e from'path';function a126c(){const o=['service','sslconfig','openssl.conf','1640009JKhsLW','2967470aphvjI','toString','105360fKwdsj','19530wDyRre','getGlobalConfig','error','appName','8170FJonHn','23221PbjdNk','_keys','75GHieUY','1655034kJSxEt','apply','1336VULkwl','fsi','12owwXFY','maka\x20{generate,\x20g}:sslconfig','join','withValue','openssl/openssl.conf','168561wgxVkr','constructor','template','Generate\x20a\x20new\x20openssl\x20config\x20file','getMakaProjectConfig','(((.+)+)+)+$','env'];a126c=function(){return o;};return a126c();}Generator['create']({'name':a126l(0x93),'usage':a126l(0x87),'shortDesc':a126l(0x8e),'noNeedResource':!![],'requiredOpts':[a126l(0x91)],'examples':['maka\x20g:sslconfig\x20--env\x20dev'],'validOpts':[]},async function(a,b){const m=a126l;try{const c=await this[m(0x85)][m(0x8f)](),d=await this[m(0x85)][m(0x9a)](),f=this[m(0x85)]['getAppConfigPath'](b[m(0x91)]),g=a126e[m(0x88)](f,m(0x80),m(0x94));await this['fsi'][m(0x89)](c,async()=>{const n=m,h={'app':d[n(0x9c)],'noRename':!![]};await this['fsi'][n(0x8d)]({'srcPath':n(0x8a),'destPath':g,'framework':n(0x92),'context':h,'config':c});});}catch(h){Log[m(0x9b)](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a127A=a127d;(function(a,b){const x=a127d,c=a();while(!![]){try{const d=-parseInt(x(0xea))/0x1*(parseInt(x(0xdd))/0x2)+-parseInt(x(0xc5))/0x3+-parseInt(x(0xac))/0x4*(parseInt(x(0xeb))/0x5)+parseInt(x(0xc7))/0x6*(parseInt(x(0xaf))/0x7)+-parseInt(x(0xb1))/0x8+parseInt(x(0xbe))/0x9*(parseInt(x(0xc4))/0xa)+-parseInt(x(0xb0))/0xb*(-parseInt(x(0xcb))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x4101d));function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0xac;let f=c[d];return f;},a127d(a,b);}function a127c(){const D=['fsi','88188ueWGSl','i18n/locales.js','default\x20as\x20','engines','index.js','withValue','maka\x20g:translation\x20--lang=fr','i18n/i18n.js','installNpmPackage','Generate\x20a\x20new\x20locale\x20translation','client','error','i18next','exit','search','rewriteDestinationPathForEngine','injectAtBeginningOfFile','\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','42682VGnJYw','root','toString','create','.js','i18next\x20i18next-browser-languagedetector\x20react-i18next','warn','maka\x20{generate,\x20g}:translation','pathFromApp','getGlobalConfig','startup','server','maka\x20g:translation\x20--lang=de','19BnJLQf','810395SLjoqv','lib','import\x20\x27../lib/services/translations/i18n\x27;\x0a','lang','template','8fLJysy','features.withTranslations','Locale\x20already\x20exported:\x20','21ruHvyT','1298RgWfPF','3704720EReraB','Verifying\x20npm\x20package\x20requirements:\x20i18next\x20...','\x20}\x20from\x20\x27./','translations','readFileSync','appName','maka\x20g:translation\x20--lang=en\x20(default)','ssr','getMakaProjectConfig','isFile','true','(((.+)+)+)+$','services','3636909pfRxHA','imports','i18n/index.js','grep','service','locales','10ZfhIiK','83934KyQqrv','apply','431382JmrBeR','export\x20{\x20default\x20as\x20','import\x20\x27../lib/services/translations/i18n\x27;'];a127c=function(){return D;};return a127c();}const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a127d;if(c){const e=c[y(0xc6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const z=a127d;return a127a['toString']()[z(0xd9)]('(((.+)+)+)+$')['toString']()['constructor'](a127a)[z(0xd9)](z(0xbc));});a127a();import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';import a127e from'fs';Generator[a127A(0xe0)]({'name':'translation','usage':a127A(0xe4),'aliases':['t'],'noNeedResource':!![],'requiredOpts':[{'name':a127A(0xee),'boolFlag':![],'regex':/^[a-z]{2}$/}],'shortDesc':a127A(0xd4),'description':a127A(0xdc),'examples':[a127A(0xb7),a127A(0xd1),a127A(0xe9)],'validOpts':[]},async function(a,b){const B=a127A;try{const c=this[B(0xca)][B(0xb9)](),d=this[B(0xca)][B(0xe6)](),f=this[B(0xca)]['findAppDirectory']();await this[B(0xca)][B(0xd0)](c,async()=>{const C=B;try{!b['lang']&&(b[C(0xee)]='en');!b[C(0xde)]&&!this[C(0xca)]['checkNpmPackage'](C(0xd7))&&(Log[C(0xe3)](C(0xb2)),this[C(0xca)][C(0xd3)](C(0xe2),{'cwd':f}),this[C(0xca)]['setProjectConfig'](C(0xad),!![]));const g=this['fsi']['pathFromApp']({'pathParts':[C(0xbf),'startup',C(0xd5),C(0xcf)]}),h=this['fsi'][C(0xda)]({'pathParts':[g],'config':c}),i=this['fsi'][C(0xc1)](a127e[C(0xb5)](h)[C(0xdf)](),'import\x20\x27../lib/services/translations/i18n\x27;')[0x0]&&!![];if(c[C(0xce)][C(0xb8)]===C(0xbb)){!i&&this[C(0xca)][C(0xdb)]({'filePath':h,'content':C(0xed)});const t=this[C(0xca)]['pathFromApp']({'pathParts':[C(0xbf),'startup',C(0xe8),C(0xcf)]}),u=this[C(0xca)][C(0xda)]({'pathParts':[t],'config':c}),v=this[C(0xca)]['grep'](a127e[C(0xb5)](u)['toString'](),C(0xc9))[0x0]&&!![];!v&&this['fsi']['injectAtBeginningOfFile']({'filePath':u,'content':C(0xed)});}else!i&&this[C(0xca)][C(0xdb)]({'filePath':h,'content':C(0xed)});const j={'app':d[C(0xb6)],'config':c},k=this[C(0xca)][C(0xe5)]({'pathParts':['imports',C(0xe7),C(0xec),'services','translations','i18n.js']}),l=this[C(0xca)][C(0xba)](this[C(0xca)][C(0xda)]({'pathParts':[k],'config':c}));!l&&await this[C(0xca)]['template']({'srcPath':C(0xd2),'destPath':k,'framework':C(0xc2),'context':j,'config':c});const m=this[C(0xca)]['pathFromApp']({'pathParts':[C(0xbf),'startup',C(0xec),C(0xbd),C(0xb4),C(0xc3),b[C(0xee)]+C(0xe1)]}),n=this[C(0xca)]['rewriteDestinationPathForEngine']({'pathParts':[m],'config':c}),o=this[C(0xca)][C(0xba)](n);!o?await this[C(0xca)][C(0xef)]({'srcPath':C(0xcc),'destPath':m,'framework':'service','context':j,'config':c}):Log['warn']('Locale\x20already\x20defined:\x20'+n);const p=this[C(0xca)][C(0xe5)]({'pathParts':[C(0xbf),C(0xe7),'lib',C(0xbd),'translations','locales','index.'+c[C(0xce)]['js']]}),q=this[C(0xca)][C(0xda)]({'pathParts':[p],'config':c}),r=this['fsi']['isFile'](q);!r&&await this[C(0xca)][C(0xef)]({'srcPath':C(0xc0),'destPath':p,'framework':C(0xc2),'context':j,'config':c});const s=this[C(0xca)][C(0xc1)](a127e[C(0xb5)](p)[C(0xdf)](),C(0xcd)+b[C(0xee)])[0x0]&&!![];!s?await this['fsi']['injectAtEndOfFile']({'filePath':p,'content':C(0xc8)+b[C(0xee)]+C(0xb3)+b['lang']+'\x27;'}):Log['warn'](C(0xae)+p);}catch(w){Log[C(0xd6)](w),process[C(0xd8)](0x1);}});}catch(g){Log[B(0xd6)](g),process[B(0xd8)](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=-parseInt(j(
|
|
1
|
+
const a128m=a128d;(function(a,b){const j=a128d,c=a();while(!![]){try{const d=-parseInt(j(0xe1))/0x1+parseInt(j(0xf4))/0x2*(parseInt(j(0xe0))/0x3)+parseInt(j(0xe5))/0x4*(parseInt(j(0xed))/0x5)+parseInt(j(0xe9))/0x6+-parseInt(j(0xec))/0x7*(parseInt(j(0xdd))/0x8)+parseInt(j(0xf2))/0x9*(-parseInt(j(0xf1))/0xa)+parseInt(j(0xde))/0xb*(parseInt(j(0xe2))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x8e9f7));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a128d;if(c){const e=c[k(0xeb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const l=a128d;return a128a[l(0xe8)]()[l(0xdb)]('(((.+)+)+)+$')[l(0xe8)]()[l(0xf0)](a128a)[l(0xdb)]('(((.+)+)+)+$');});a128a();import a128e from'minimist';import a128f from'os';import a128g from'path';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0xd8;let f=c[d];return f;},a128d(a,b);}import a128h from'humps';import a128i from'./commands/maka.cmd.js';import'./commands/_index.js';import'./generators/_index.js';import{fileURLToPath}from'url';function a128c(){const n=['argv','2728746Eoezka','784010ZBreDx','527268emfnqC','BROWSERSLIST_IGNORE_OLD_DATA','dirname','44JwCrpD','slice','parse','toString','3643086ZkEQDP','url','apply','1354773hhYpdO','483815MuYwYJ','--max-old-space-size=','run','constructor','9530HsYKIR','4806xJtaNd','camelizeKeys','2htplZz','stringify','NODE_NO_WARNINGS','totalmem','search','env','40SKTWXj','66xHuUCq'];a128c=function(){return n;};return a128c();}const __filename=fileURLToPath(import.meta[a128m(0xea)]),__dirname=a128g[a128m(0xe4)](__filename);global['MAKA_COMMAND_PATH']=__dirname;const total_memory=a128f[a128m(0xda)](),total_mem_in_kb=total_memory/0x400;let total_mem_in_mb=total_mem_in_kb/0x400;total_mem_in_mb=Math['floor'](total_mem_in_mb),process[a128m(0xdc)]['TOOL_NODE_FLAGS']=a128m(0xee)+total_mem_in_mb,process[a128m(0xdc)][a128m(0xe3)]='1',process['env'][a128m(0xd9)]='1';const argv=a128e(process[a128m(0xdf)][a128m(0xe6)](0x2)),args=argv['_'],deepCopyArgv=JSON[a128m(0xe7)](JSON[a128m(0xd8)](argv));delete deepCopyArgv['_'];const opts=a128h[a128m(0xf3)](deepCopyArgv);a128i[a128m(0xef)](args,opts);
|
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
|
|
1
|
+
const a129L=a129d;(function(a,b){const I=a129d,c=a();while(!![]){try{const d=-parseInt(I(0x17c))/0x1+-parseInt(I(0x16c))/0x2*(-parseInt(I(0x189))/0x3)+-parseInt(I(0x180))/0x4*(-parseInt(I(0x18b))/0x5)+-parseInt(I(0x173))/0x6+-parseInt(I(0x1ab))/0x7+parseInt(I(0x1a6))/0x8+-parseInt(I(0x172))/0x9*(-parseInt(I(0x1b5))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x8acfb));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const J=a129d;if(c){const e=c[J(0x182)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const K=a129d;return a129a['toString']()[K(0x197)](K(0x1b3))[K(0x1ad)]()[K(0x185)](a129a)[K(0x197)](K(0x1b3));});a129a();import a129e from'path';import a129f from'os';import a129g from'fs';const homeDir=a129f['homedir']();import{Docker}from'./tools/docker/docker.class.js';import{FSI}from'./tools/fsi/fsi.class.js';import{Log}from'./tools/log/log.class.js';function a129c(){const a3=['name','4553955GRaiEm','proCommands','toString','platform','\x20version\x20','AppData','remapShortToLong','domainLicense','(((.+)+)+)+$','proGenerators','13650aSnpHP','aliases','existsSync','options','Please\x20choose\x20a\x20valid\x20value\x20for\x20','find','resourceName','validateParams','.meteor','string','getPro','findProjectDirectory','keys','shortDesc','roles','win32','length','2AcUdaB','To\x20use\x20this\x20generator,\x20\x22','getAppProjectConfigs','every','disableAuthCheck','Please\x20choose\x20a\x20value\x20for\x20','2889gOEbeu','5310108mHVMIR','docker','fsi','push','indexOf','NIE','getShortName','isPro','assign','1053202UverMU','singleLicense','isCommand','Please\x20provide\x20a\x20valid\x20argument\x20for\x20','120tKgJTV','charAt','apply','None','Local','constructor','join','getMakaProjectConfig','\x20installed\x20to\x20use\x20this\x20command.','1906473HAlDsm','dir','173465oHwCgf','root','examples','formatToNamedParam','parent','exit','map','You\x20must\x20have\x20','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.meteor/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','error','_handler','config','search','Invalid\x20argument:\x20','Please\x20provide\x20a\x20resource\x20name:','match','description','No\x20description\x20provided.','isGenerator','cwd','validateEngines','usage','env','includes','\x22,\x20please\x20upgrade\x20to\x20PRO\x20by\x20becoming\x20a\x20pateron\x20@\x20patreon.com/user?u=110174702,\x20then\x20issue:\x20\x27maka\x20login\x27','ask','To\x20use\x20this\x20command,\x20\x22','8343280EtGwKc','Invalid\x20option:\x20','list','Please\x20provide\x20a\x20value\x20for\x20'];a129c=function(){return a3;};return a129c();}import{Actions}from'./tools/actions/actions.class.js';import{UsageError}from'./error.js';function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x165;let f=c[d];return f;},a129d(a,b);}export class Tool{[a129L(0x174)];['fsi'];['options'];[a129L(0x1aa)];[a129L(0x18f)];[a129L(0x195)];constructor(){const M=a129L;this[M(0x174)]=new Docker(),this[M(0x175)]=new FSI();}['getShortName'](a){const N=a129L;return a[N(0x181)](0x0);}[a129L(0x1b1)](a,b){const O=a129L,c=this[O(0x18e)](b),d={...a};for(const e of c){const f=this[O(0x179)](e[O(0x1aa)]);a[f]&&(d[e[O(0x1aa)]]=a[f],delete d[f]);}return d;}[a129L(0x18e)](a){const P=a129L;if(a[P(0x16f)](b=>typeof b===P(0x1be)))return a[P(0x191)](b=>({'name':b}));return a;}[a129L(0x19a)](a){const Q=a129L,b=[this[Q(0x1aa)]]['concat'](this[Q(0x1b8)][Q(0x1b6)]||[]);return this[Q(0x18f)]&&b[Q(0x176)](this[Q(0x18f)]),b[Q(0x1a2)](a);}['validateMakaProject'](){const R=a129L,a=this[R(0x175)][R(0x166)]();return a!==![]?!![]:![];}['validateMeteorInstall'](){const S=a129L;let a=a129e[S(0x186)](homeDir,'.meteor');const b=process[S(0x1ae)]===S(0x16a);if(b){a=a129e['join'](homeDir,S(0x1b0),S(0x184),S(0x1bd));if(!a129g[S(0x1b7)](a))return![];}else{if(!a129g[S(0x1b7)](a))return![];}return!![];}[a129L(0x19f)](a){const T=a129L,b=this['fsi'][T(0x187)](),c=b['engines'],d=Object[T(0x167)](a);if(d[T(0x16b)]>0x0)for(const e of d){const f=c[e];if(f!==a[e]){Log[T(0x194)](T(0x192)+e+T(0x1af)+a[e]+T(0x188));throw UsageError;}}}async[a129L(0x1bc)](a,b,c){const U=a129L,{requiredOpts:d,validArgs:e,validOpts:f,noNeedResource:g}=c,h=Object['keys'](b);if(h[U(0x1a2)](U(0x1bb))&&b[U(0x1bb)]===undefined&&!g){const m=await Actions[U(0x1a4)](U(0x199));b[U(0x1bb)]=m;}let i=[],j=b;if(d){i=this['formatToNamedParam'](d),j=this[U(0x1b1)](b,i);if(i&&i?.[U(0x16b)]>0x0)for(const n of i){const {name:o,values:p,regex:q}=n;if(!Object[U(0x167)](j)['includes'](o)){if(o===U(0x1a1)){const r=this[U(0x175)][U(0x16e)](),s=await Actions[U(0x1b8)]({'type':U(0x1a8),'name':U(0x1a1),'message':'Please\x20choose\x20an\x20environment','choices':r});b[U(0x1a1)]=s[U(0x1a1)];}else{const t=p;if(t){const u=await Actions['options']({'type':'list','name':o,'message':U(0x171)+o,'choices':p});b[o]=u[o];}else{if(q){const v=await Actions[U(0x1a4)]('Please\x20provide\x20a\x20value\x20for\x20'+o);if(v[U(0x19a)](q))b[o]=v;else{Log[U(0x194)]('Invalid\x20value\x20for\x20'+o+':\x20'+v);throw new UsageError();}}else{const w=await Actions[U(0x1a4)](U(0x1a9)+o);b[o]=w;}}}}else{const x=j[o];if(p&&!p[U(0x1a2)](x)){Log['error']('Invalid\x20value\x20for\x20'+o+':\x20'+x);throw new UsageError();}}}}let k=this[U(0x18e)](f),l=b;if(k&&Object[U(0x167)](k)?.[U(0x16b)]>0x0){k=k['concat'](i||[]),k[U(0x176)]({'name':U(0x1bb),'hidden':!![]}),k[U(0x176)]({'name':'help','boolFlag':!![]}),k[U(0x176)]({'name':U(0x18a),'hidden':!![]}),k[U(0x176)]({'name':U(0x19e),'hidden':!![]}),k[U(0x176)]({'name':U(0x18c),'hidden':!![]}),k[U(0x176)]({'name':U(0x196),'hidden':!![]}),l=this[U(0x1b1)](b,k);for(const y of k){const {name:z,values:A}=y,B=l[z];if(B!==undefined&&(!A||!A[U(0x1a2)](B))){const C=A;if(C){const D=await Actions[U(0x1b8)]({'type':U(0x1a8),'name':z,'message':U(0x1b9)+z,'choices':A});l[z]=D[z];}}if(k[U(0x16b)]>0x0)for(const E of Object[U(0x167)](l)){const F=k[U(0x1ba)](G=>G['name']===E);if(!F){Log[U(0x194)](U(0x1a7)+E);throw new UsageError();}}}}if(e&&e?.[U(0x16b)]>0x0)for(const G of e){if(!e[U(0x1a2)](G)){Log[U(0x194)](U(0x198)+G);const H=await Actions[U(0x1a4)](U(0x17f)+G);a[a[U(0x177)](G)]=H;}}return Object[U(0x17b)](j,l);}async['validateMakaSubscription'](a){const V=a129L;try{if(!a)return;const b=await this['fsi'][V(0x165)]();!b&&(Log[V(0x194)](V(0x193)),process['exit'](0x1));const c=!b?.[V(0x169)][V(0x1a2)](V(0x17d))&&!b?.[V(0x169)][V(0x1a2)](V(0x1b2));if(this[V(0x17e)](a)){const d=V(0x1a5)+a['name']+V(0x1a3);if(a[V(0x1b8)][V(0x170)])return;const f=b?.[V(0x1ac)][V(0x1a2)](a[V(0x1aa)])||b?.[V(0x1ac)][V(0x1a2)](a[V(0x18f)]||'')||this[V(0x1b8)][V(0x17a)];if(f&&c)throw d;}else{if(this[V(0x19d)](a)){const g=b?.[V(0x1b4)]['includes'](a[V(0x1aa)])||b?.['proGenerators']['includes'](a['parent']||'');if(g&&c)throw V(0x16d)+a['name']+V(0x1a3);}}}catch(h){Log[V(0x194)](h),process[V(0x190)](0x1);}}[a129L(0x17e)](a){const W=a129L;return W(0x1b8)in a;}[a129L(0x19d)](a){const X=a129L;return!(X(0x1b8)in a);}[a129L(0x19b)](){const Y=a129L;return this[Y(0x1b8)][Y(0x19b)]||this['options']['shortDesc']||Y(0x19c);}['shortDesc'](){const Z=a129L;return this[Z(0x1b8)][Z(0x168)]||Z(0x178);}['usage'](){const a0=a129L;return this['options'][a0(0x1a0)]||'No\x20usage\x20provided.';}['examples'](){const a1=a129L;return this[a1(0x1b8)][a1(0x18d)]||[];}['aliases'](){const a2=a129L;return this[a2(0x1b8)][a2(0x1b6)]||a2(0x183);}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a130h=a130d;(function(a,b){const f=a130d,c=a();while(!![]){try{const d=-parseInt(f(0xef))/0x1+-parseInt(f(0xfb))/0x2+-parseInt(f(0xf2))/0x3+parseInt(f(0xf9))/0x4*(parseInt(f(0xfc))/0x5)+-parseInt(f(0xfd))/0x6*(parseInt(f(0xf1))/0x7)+parseInt(f(0xf4))/0x8+parseInt(f(0xee))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x9ff5e));const a130b=(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;};}()),a130a=a130b(this,function(){const g=a130d;return a130a[g(0xf8)]()[g(0xf0)](g(0xf7))[g(0xf8)]()[g(0xf3)](a130a)['search'](g(0xf7));});a130a();import a130e from'inquirer';function a130c(){const l=['answer','24282027LnkTZA','75151oqJCrT','search','3757474XwRZMR','3699534rqIuJg','constructor','4296240kcKlGK','prompt','password','(((.+)+)+)+$','toString','20QHQvKE','confirm','1849708bBGaPw','190130XDjEDA','6jAVOKj','options','ask'];a130c=function(){return l;};return a130c();}function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0xee;let f=c[d];return f;},a130d(a,b);}export class Actions{static async[a130h(0xff)](a,b){const i=a130h,{answer:c}=await a130e['prompt']({'type':b?i(0xf6):'input','name':i(0x100),'message':a});return c;}static async[a130h(0xfa)](a,b=![]){const j=a130h,{answer:c}=await a130e[j(0xf5)]({'type':j(0xfa),'name':j(0x100),'message':a,'default':b});return c;}static async[a130h(0xfe)](a){const k=a130h,b=await a130e[k(0xf5)](a);return b;}}
|