@maka/maka-cli 4.5.17 → 4.5.18
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/src/command.js +1 -1
- package/bundle/obf/src/commands/_index.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/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/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.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/commands.js +1 -0
- package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -0
- package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -0
- package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -0
- package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -0
- package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -0
- package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -0
- package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -0
- package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -0
- package/bundle/obf/src/commands/game/sideQuest/scenes/puzzles.js +0 -0
- package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -0
- package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -0
- package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -0
- package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -0
- 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/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/proxy.js +1 -1
- package/bundle/obf/src/commands/reconfig.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/version.js +1 -1
- package/bundle/obf/src/error.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/kit.js +1 -1
- package/bundle/obf/src/generators/layout.js +1 -1
- package/bundle/obf/src/generators/maka.gen.js +1 -1
- package/bundle/obf/src/generators/methods.js +1 -1
- package/bundle/obf/src/generators/package.js +1 -1
- package/bundle/obf/src/generators/page.js +1 -1
- package/bundle/obf/src/generators/publish.js +1 -1
- package/bundle/obf/src/generators/route.js +1 -1
- package/bundle/obf/src/generators/service.js +1 -1
- package/bundle/obf/src/generators/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/translation.js +1 -1
- package/bundle/obf/src/maka.js +1 -1
- package/bundle/obf/src/tool.js +1 -1
- package/bundle/obf/src/tools/actions/actions.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
- package/bundle/obf/src/tools/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/spawn-async/spawn-async.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
- package/package.json +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/door.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/inventory.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/items.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/player.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/puzzles.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/room.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/rooms.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/types.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/utilities/eventBus.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a79h=a79d;(function(a,b){const f=a79d,c=a();while(!![]){try{const d=parseInt(f(0x123))/0x1*(-parseInt(f(0x12d))/0x2)+-parseInt(f(0x126))/0x3*(parseInt(f(0x138))/0x4)+parseInt(f(0x131))/0x5+parseInt(f(0x128))/0x6+parseInt(f(0x134))/0x7*(-parseInt(f(0x139))/0x8)+parseInt(f(0x124))/0x9*(parseInt(f(0x11a))/0xa)+-parseInt(f(0x136))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0xa43a7));function a79c(){const k=['app','build','search','docker/Dockerfile','51878EgDIeY','206109jaioky','appName','15531nOkswN','toString','7278222gljUkK','create','template','Dockerfile','app.tar.gz','10FejbPu','fsi','findProjectDirectory','join','6582485zfAMnl','withValue','Generate\x20an\x20updated\x20dockerfile','14QkgAaU','maka\x20{generate,\x20g}:dockerfile','21150250NfNkXn','error','60rUvLGl','2602024HHFJjS','460BnbqJr','isFile','getGlobalConfig','(((.+)+)+)+$','dockerfile'];a79c=function(){return k;};return a79c();}function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x11a;let f=c[d];return f;},a79d(a,b);}const a79b=(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;};}()),a79a=a79b(this,function(){const g=a79d;return a79a[g(0x127)]()[g(0x121)](g(0x11d))[g(0x127)]()['constructor'](a79a)[g(0x121)](g(0x11d));});a79a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a79e from'path';Generator[a79h(0x129)]({'name':a79h(0x11e),'usage':a79h(0x135),'shortDesc':a79h(0x133),'validOpts':[],'noResource':!![],'examples':['maka\x20g:dockerfile']},async function(){const i=a79h;try{const a=await this['fsi']['getProjectConfig'](),b=await this[i(0x12e)][i(0x11c)](),c=this[i(0x12e)][i(0x12f)]();this[i(0x12e)][i(0x132)](a,async()=>{const j=i,d={'app':b[j(0x125)],'config':a,'appPath':a79e['join'](c,j(0x11f)),'bundlePath':a79e[j(0x130)](c,j(0x120),j(0x12c)),'useCert':this['fsi'][j(0x11b)](b['cert'])};this[j(0x12e)][j(0x12a)]({'srcPath':j(0x122),'destPath':a79e['join'](c,j(0x12b)),'framework':'service','context':d,'config':a});});}catch(d){Log[i(0x137)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a80r=a80d;(function(a,b){const o=a80d,c=a();while(!![]){try{const d=-parseInt(o(0xc6))/0x1*(-parseInt(o(0xad))/0x2)+-parseInt(o(0xd2))/0x3+parseInt(o(0xda))/0x4+-parseInt(o(0xca))/0x5+-parseInt(o(0xb9))/0x6*(-parseInt(o(0xae))/0x7)+-parseInt(o(0xd9))/0x8*(parseInt(o(0xb0))/0x9)+parseInt(o(0xcb))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0xa5eb5));const a80b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a80d;if(c){const e=c[p(0xc4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){const q=a80d;return a80a[q(0xc1)]()['search'](q(0xc2))['toString']()[q(0xbf)](a80a)[q(0xa7)]('(((.+)+)+)+$');});a80a();import a80e from'path';import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a80c(){const u=['search','@apollo/client','create','.css','pathFromApp','templates.js','854088dRgeBh','266EIUEUc','assign','318042lMCoJU','fsi','relative','error','react','hook','checkNpmPackage','true','test/test.js','109290uNVyWo','ssr','resourceName','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','import\x20\x27./','.app-tests.js','constructor','graphql','toString','(((.+)+)+)+$','installNpmPackage','apply','injectAtBeginningOfFile','2XgHORS','none','injectAtEndOfFile','tsx','1049360ZPUlHv','2757330KaUHcA','string','rewriteDestinationPathForEngine','/imports/ui/hooks','template/template.css','features','dir','2203533FzuzBZ','import\x20{\x20','withTranslations','engines','\x20};\x0a','template','className','128rwGSLF','1469620RqMcfF','cssCaseName','hook/hook.js','maka\x20g:hook\x20cool-hook','imports','.js','warn','\x27;\x0a','setTemplate','css','client','\x20}\x20from\x20\x27','startup','withValue','getProjectConfig','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>'];a80c=function(){return u;};return a80c();}function a80d(a,b){const c=a80c();return a80d=function(d,e){d=d-0x9f;let f=c[d];return f;},a80d(a,b);}import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Generator[a80r(0xa9)]({'name':a80r(0xb5),'aliases':['h'],'checkWhere':![],'usage':a80r(0xa6),'shortDesc':'Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','validOpts':[a80r(0xd1)],'examples':[a80r(0xdd)]},async function(a,b){const s=a80r;try{const c=this[s(0xb1)][s(0xb6)]('react');if(!c){Log[s(0xb3)](s(0xbc));throw new UsageError();}const d=this[s(0xb1)][s(0xab)](b),f=s(0xce),g=this[s(0xb1)][s(0xab)]({'pathParts':[f,b['dir'],paramCase(b[s(0xbb)]),paramCase(b[s(0xbb)])]}),h=await this['fsi'][s(0xa5)]();this[s(0xb1)][s(0xa4)](h,async()=>{const t=s;typeof h['template'][t(0xa0)]===t(0xcc)&&(h[t(0xd7)]['css']=h['template'][t(0xa0)]===t(0xb7)?!![]:![],this['fsi'][t(0x9f)](t(0xa0),h[t(0xd7)][t(0xa0)]));h[t(0xd5)][t(0xc0)]==='apollo'&&!this[t(0xb6)](t(0xa8))&&(Log[t(0xe0)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),await this[t(0xb1)][t(0xc3)]('@apollo/client\x20isomorphic-fetch',{'cwd':d}));const i={'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[t(0xbb)]),'name':pascalCase(b['resourceName']),'graphql':h[t(0xd5)][t(0xc0)],'theme':h[t(0xd5)]['theme'],'features':h[t(0xd0)],'myPath':a80e[t(0xb2)](this[t(0xb1)]['pathFromProject']({}),g),'fileName':paramCase(b['resourceName']),'isComponent':![],'isLayout':![],'withTranslations':h['features'][t(0xd4)]};this[t(0xb1)][t(0xd7)]({'srcPath':t(0xdc),'destPath':g+t(0xdf),'context':i,'config':h,'framework':'react'});h[t(0xd7)]['css']&&(this[t(0xb1)][t(0xd7)]({'srcPath':t(0xcf),'destPath':g+t(0xaa),'context':Object[t(0xaf)]({},i,{'className':i[t(0xdb)]}),'config':h}),this[t(0xb1)][t(0xc5)]({'filePath':g+'.'+h['engines']['js'],'content':t(0xbd)+i['fileName']+'.'+h[t(0xd5)][t(0xa0)]+'\x27;'}));h[t(0xd5)]['test']!==t(0xc7)&&this[t(0xb1)]['template']({'srcPath':t(0xb8),'destPath':g+t(0xbe),'framework':t(0xb4),'context':i,'config':h});const j=b[t(0xd1)]?'/'+b[t(0xd1)]+'/':'/',k=''+f+j+i['fileName']+'/'+i['fileName'];let l;if(h[t(0xd5)][t(0xba)]===t(0xb7)){const m=this['fsi']['pathFromApp']({'pathParts':[t(0xde),t(0xa3),'lib',t(0xac)]});l=this[t(0xb1)][t(0xcd)]({'pathParts':[m],'config':h});}else{const n=this[t(0xb1)][t(0xab)]({'pathParts':[t(0xde),t(0xa3),t(0xa1),t(0xac)]});l=this[t(0xb1)][t(0xcd)]({'pathParts':[n],'config':h});}h[t(0xd5)][t(0xa1)]===t(0xb4)?(h[t(0xd5)]['js']===t(0xc9)?this[t(0xb1)][t(0xc5)]({'filePath':l,'content':t(0xd3)+i[t(0xd8)]+t(0xa2)+k+t(0xe1)}):this['fsi'][t(0xc5)]({'filePath':l,'content':'import\x20{\x20'+i['className']+'\x20}\x20from\x20\x27'+k+'.'+h[t(0xd5)]['js']+t(0xe1)}),this[t(0xb1)][t(0xc8)]({'filePath':l,'content':'export\x20{\x20'+i[t(0xd8)]+t(0xd6)})):this[t(0xb1)][t(0xc8)]({'filePath':l,'content':'import\x20\x27'+k+'.'+h['engines']['js']+'\x27;\x0a'});});}catch(i){Log[s(0xb3)](i);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a81c(){const n=['create','(blank)','type','1403507LEiXRJ','maka\x20g:k\x20city-map\x20--type=leaflet-map','11lznYQH','apply','leaflet-map','kit','3001450EOAVqg','notice','constructor','indexOf','login','toString','NIE','3298vPUosZ','5SUeaNE','engines','4AHUgfi','2469030jJryIP','fsi','resourceName','6745818ZNGSfy','search','Invalid\x20type\x20','error','maka\x20{generate,\x20g}:{kit}\x20<kit-name>','5152RnUZKW','812836kBPCph','13383YRFjaN','getProjectConfig','map'];a81c=function(){return n;};return a81c();}const a81k=a81d;(function(a,b){const h=a81d,c=a();while(!![]){try{const d=-parseInt(h(0x107))/0x1*(parseInt(h(0x10a))/0x2)+parseInt(h(0xea))/0x3+parseInt(h(0xf3))/0x4*(parseInt(h(0x108))/0x5)+-parseInt(h(0xed))/0x6+parseInt(h(0xfa))/0x7+parseInt(h(0xf2))/0x8*(parseInt(h(0xf4))/0x9)+-parseInt(h(0x100))/0xa*(parseInt(h(0xfc))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0xb7e98));const a81b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a81d;if(c){const e=c[i(0xfd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){const j=a81d;return a81a[j(0x105)]()[j(0xee)]('(((.+)+)+)+$')['toString']()[j(0x102)](a81a)[j(0xee)]('(((.+)+)+)+$');});function a81d(a,b){const c=a81c();return a81d=function(d,e){d=d-0xea;let f=c[d];return f;},a81d(a,b);}a81a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a81k(0xf7)]({'name':a81k(0xff),'aliases':['k'],'usage':a81k(0xf1),'shortDesc':'(Placeholder)\x20Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','validOpts':[a81k(0xf9)],'examples':['maka\x20g:kit\x20--type=map',a81k(0xfb)]},async function(a,b){const l=a81k;try{const c=this[l(0xeb)][l(0xf5)]();this[l(0xeb)]['withValue'](c,async()=>{const m=l,d={'name':pascalCase(b[m(0xec)]),'fileName':paramCase(b[m(0xec)]),'camelCase':camelCase(b['resourceName']),'type':b[m(0xf9)],'engine':c[m(0x109)]['js'],'noRename':!![]},f=[m(0xfe),m(0x104)];if(f[m(0x103)](d['type'])<0x0){const g=d[m(0xf9)]?d[m(0xf9)]:m(0xf8);Log[m(0xf0)](m(0xef)+g+',\x20you\x20must\x20provide\x20a\x20valid\x20type\x20as\x20an\x20argument');return;}b[m(0xf9)]===m(0xf6)&&Log[m(0x101)](m(0x106)),b['type']===m(0x104)&&Log[m(0x101)](m(0x106));});}catch(d){Log[l(0xf0)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a82q=a82d;function a82c(){const t=['string','Scaffolding\x20for\x20a\x20React\x20Layout.','className','startup','search','checkNpmPackage','graphql','dir','2398495tnUlYY','theme','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','css','imports','injectAtEndOfFile','relative','export\x20{\x20','withTranslations','features','maka\x20g:layout\x20mobile/iPhone8','templates.js','177163eamOYD','6CWGLOt','ssr','import\x20\x27','resourceName','/imports/ui/layouts','react','rewriteDestinationPathForEngine','assign','template/template.css','132BuySYZ','maka\x20g:l\x20web/safari','pathFromApp','4360sjckDT','fsi','includes','getProjectConfig','28sexlWR','test/test.js','tsx','component/component.js','create','client','pathFromProject','injectAtBeginningOfFile','\x20}\x20from\x20\x27','7424ciqori','setTemplate','300091vphiBD','toString','constructor','\x27;\x0a','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','engines','.js','test','withHooks','true','fileName','1889220sMUBPJ','warn','installNpmPackage','split','36XuictJ','.app-tests.js','(((.+)+)+)+$','516UTBeaF','import\x20{\x20','2834016fzYzxB','template'];a82c=function(){return t;};return a82c();}(function(a,b){const o=a82d,c=a();while(!![]){try{const d=parseInt(o(0x1cf))/0x1*(parseInt(o(0x1cb))/0x2)+-parseInt(o(0x1c8))/0x3*(parseInt(o(0x1d8))/0x4)+parseInt(o(0x1f8))/0x5+parseInt(o(0x1bf))/0x6*(parseInt(o(0x1be))/0x7)+parseInt(o(0x1ee))/0x8+parseInt(o(0x1e9))/0x9*(parseInt(o(0x1e5))/0xa)+-parseInt(o(0x1da))/0xb*(parseInt(o(0x1ec))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x66d79));const a82b=(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;};}()),a82a=a82b(this,function(){const p=a82d;return a82a[p(0x1db)]()['search'](p(0x1eb))[p(0x1db)]()[p(0x1dc)](a82a)[p(0x1f4)](p(0x1eb));});a82a();import a82e from'path';import{Generator}from'../generator.js';function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x1be;let f=c[d];return f;},a82d(a,b);}import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator[a82q(0x1d3)]({'name':'layout','aliases':aliases,'usage':a82q(0x1de),'shortDesc':a82q(0x1f1),'validOpts':[],'examples':[a82q(0x202),a82q(0x1c9)]},function(a,b){const r=a82q,c=r(0x1c3),d=this[r(0x1cc)]['findAppDirectory'](),e=this[r(0x1cc)][r(0x1ca)]({'pathParts':[c,b[r(0x1f7)],paramCase(b[r(0x1c2)]),paramCase(b['resourceName'])]}),f=this[r(0x1cc)][r(0x1ce)]();this[r(0x1cc)]['withValue'](f,()=>{const s=r;typeof f['template'][s(0x1e1)]===s(0x1f0)&&(f['template']['test']=f[s(0x1ef)][s(0x1e1)]===s(0x1e3)?!![]:![],this[s(0x1cc)][s(0x1d9)](s(0x1e1),f[s(0x1ef)][s(0x1e1)]));typeof f['template'][s(0x1fb)]===s(0x1f0)&&(f[s(0x1ef)][s(0x1fb)]=f['template'][s(0x1fb)]===s(0x1e3)?!![]:![],this[s(0x1cc)][s(0x1d9)](s(0x1fb),f['template'][s(0x1fb)]));typeof f['template']['js']==='string'&&(f['template']['js']=f[s(0x1ef)]['js']===s(0x1e3)?!![]:![],this[s(0x1cc)][s(0x1d9)]('js',f['template']['js']));!f[s(0x201)]&&(f[s(0x201)]={});const g=b['_']?b['_'][0x0][s(0x1e8)](':')[0x1]:![],h=b['_']&&aliases[s(0x1cd)](g);h&&!this['checkNpmPackage']('ramda')&&(Log[s(0x1e6)](s(0x1fa)),this[s(0x1cc)][s(0x1e7)]('ramda',{'cwd':d}));if(h&&!this[s(0x1f5)](s(0x1c4))){Log[s(0x1e6)]('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');return;}const i={'name':pascalCase(b['resourceName']),'myPath':a82e[s(0x1fe)](this[s(0x1cc)][s(0x1d5)]({}),e),'cssCaseName':paramCase(b[s(0x1c2)]),'className':pascalCase(b[s(0x1c2)]),'camelCaseName':camelCase(b[s(0x1c2)]),'fileName':paramCase(b[s(0x1c2)]),'graphql':f[s(0x1df)][s(0x1f6)],'features':f['features'],'client':f[s(0x1df)][s(0x1d4)],'api':f[s(0x1df)]['api'],'ssr':f[s(0x1df)][s(0x1c0)],'test':f[s(0x1df)]['test'],'theme':f[s(0x1df)][s(0x1f9)],'isComponent':![],'isLayout':!![],'withTranslations':f[s(0x201)][s(0x200)]};f[s(0x201)]?.[s(0x1e2)]||b['withHook']?this['fsi'][s(0x1ef)]({'srcPath':'hook/hook.js','destPath':e+s(0x1e0),'framework':s(0x1c4),'context':i,'config':f}):this[s(0x1cc)][s(0x1ef)]({'srcPath':s(0x1d2),'destPath':e+s(0x1e0),'framework':s(0x1c4),'context':i,'config':f});f[s(0x1df)][s(0x1e1)]!=='none'&&this['fsi'][s(0x1ef)]({'srcPath':s(0x1d0),'destPath':e+s(0x1ea),'framework':'react','context':i,'config':f});f[s(0x1ef)][s(0x1fb)]&&(this[s(0x1cc)][s(0x1ef)]({'srcPath':s(0x1c7),'destPath':e+'.css','context':Object[s(0x1c6)]({},i,{'className':paramCase(b[s(0x1c2)])}),'config':f}),this[s(0x1cc)]['injectAtBeginningOfFile']({'filePath':e+'.'+f[s(0x1df)]['js'],'content':'import\x20\x27./'+i['fileName']+'.'+f[s(0x1df)][s(0x1fb)]+'\x27;'}));const j=b[s(0x1f7)]?'/'+b[s(0x1f7)]+'/':'/',k=''+c+j+i[s(0x1e4)]+'/'+i[s(0x1e4)];let l;if(f[s(0x1df)]['ssr']==='true'){const m=this['fsi'][s(0x1ca)]({'pathParts':[s(0x1fc),s(0x1f3),'lib',s(0x203)]});l=this['fsi'][s(0x1c5)]({'pathParts':[m],'config':f});}else{const n=this[s(0x1cc)]['pathFromApp']({'pathParts':[s(0x1fc),s(0x1f3),s(0x1d4),'templates.js']});l=this['fsi'][s(0x1c5)]({'pathParts':[n],'config':f});}f[s(0x1df)]['client']===s(0x1c4)?(f[s(0x1df)]['js']===s(0x1d1)?this[s(0x1cc)][s(0x1d6)]({'filePath':l,'content':s(0x1ed)+i[s(0x1f2)]+s(0x1d7)+k+s(0x1dd)}):this[s(0x1cc)][s(0x1d6)]({'filePath':l,'content':s(0x1ed)+i[s(0x1f2)]+s(0x1d7)+k+'.'+f[s(0x1df)]['js']+s(0x1dd)}),this[s(0x1cc)]['injectAtEndOfFile']({'filePath':l,'content':s(0x1ff)+i[s(0x1f2)]+'\x20};\x0a'})):this[s(0x1cc)][s(0x1fd)]({'filePath':l,'content':s(0x1c1)+k+'.'+f[s(0x1df)]['js']+s(0x1dd)});});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0x1de;let f=c[d];return f;},a83d(a,b);}const a83h=a83d;(function(a,b){const f=a83d,c=a();while(!![]){try{const d=-parseInt(f(0x1e5))/0x1*(parseInt(f(0x1e4))/0x2)+-parseInt(f(0x1e6))/0x3+-parseInt(f(0x1ec))/0x4*(-parseInt(f(0x1df))/0x5)+-parseInt(f(0x1ef))/0x6+parseInt(f(0x1eb))/0x7+parseInt(f(0x1e2))/0x8+parseInt(f(0x1f0))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0x9fc9c));const a83b=(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;};}()),a83a=a83b(this,function(){const g=a83d;return a83a[g(0x1e8)]()[g(0x1e1)](g(0x1e0))[g(0x1e8)]()[g(0x1ea)](a83a)[g(0x1e1)](g(0x1e0));});a83a();function a83c(){const i=['\x0a\x20\x20For\x20more\x20information\x20visit:\x0a\x20\x20\x20\x20https://www.maka-cli.com\x0a\x20\x20\x20\x20https://medium.com/@maka-io\x0a\x20\x20\x20\x20https://gitter.im/meteor/meteor\x20(@maka-io)\x0a\x20\x20','toString','maka\x20g:hook\x20cool-hook','constructor','7787213KpQErb','28Hmwqrs','maka\x20<generate>:<entity>\x20[<args>]\x20[<opts>]','Maka!','382632eBRotp','7039188BBUzbU','maka\x20generate:api\x20Trucks','153635lcLkcl','(((.+)+)+)+$','search','3046664SXRhlK','maka','116eogqqm','16461mDtKqS','2452533KISNue'];a83c=function(){return i;};return a83c();}import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a83h(0x1e3),'shortDesc':a83h(0x1ee),'validOpts':[],'description':a83h(0x1e7),'usage':a83h(0x1ed),'examples':[a83h(0x1de),a83h(0x1e9)]},function(){return null;});export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a84n=a84d;(function(a,b){const k=a84d,c=a();while(!![]){try{const d=-parseInt(k(0x175))/0x1*(-parseInt(k(0x18c))/0x2)+-parseInt(k(0x191))/0x3*(parseInt(k(0x171))/0x4)+-parseInt(k(0x17c))/0x5+-parseInt(k(0x18f))/0x6*(-parseInt(k(0x18a))/0x7)+-parseInt(k(0x173))/0x8+parseInt(k(0x180))/0x9*(parseInt(k(0x188))/0xa)+-parseInt(k(0x181))/0xb*(parseInt(k(0x17d))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0x9ec8f));const a84b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a84d;if(c){const e=c[l(0x16a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){const m=a84d;return a84a[m(0x18d)]()['search'](m(0x170))[m(0x18d)]()[m(0x192)](a84a)[m(0x177)](m(0x170));});function a84d(a,b){const c=a84c();return a84d=function(d,e){d=d-0x169;let f=c[d];return f;},a84d(a,b);}a84a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';function a84c(){const q=['search','checkMeteorPackage','injectAtEndOfFile','appPathPrefix','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','4313550rzjJtB','1008gLFyZc','method/method.js','-rpc-method.','18goiKEC','34012svogKp','warn','pathFromApp','fsi','check','installMeteorPackage','startup','2513910peMoTW','imports','134883lEyCgQ','dir','1759366kypFgm','toString','engines','348SWScgq','index.','12927BaUsOz','constructor','import\x20\x27./methods','maka\x20g:method\x20todos','maka\x20{generate,\x20g}:{method,\x20m}\x20name','create','error','apply','check\x20ddp-rate-limiter\x20mdg:validated-method','mdg:validated-method','resourceName','methods','method','(((.+)+)+)+$','188RjYAIT','Meteor\x20package\x20\x22check\x22\x20or\x20\x22ddp-rate-limiter\x22\x20or\x20\x22mdg:validated-method\x22\x20is\x20not\x20installed,\x20installing...','4197784rQweAs','ddp-rate-limiter','1EahXsG','template'];a84c=function(){return q;};return a84c();}Generator[a84n(0x196)]({'name':a84n(0x16f),'aliases':['m'],'usage':a84n(0x195),'checkWhere':!![],'shortDesc':a84n(0x17b),'validOpts':[a84n(0x18b)],'examples':[a84n(0x194)]},function(a,b){const o=a84n;try{const c=this[o(0x184)]['getProjectConfig']();this[o(0x184)]['withValue'](c,async()=>{const p=o,d=paramCase(b[p(0x16d)]),f={'name':b['resourceName'],'fileName':d,'className':pascalCase(b[p(0x16d)]),'camelCase':camelCase(b['resourceName']),'noRename':!![]};let g='js';c[p(0x18e)]['js']==='tsx'&&(g='ts');const h=this[p(0x184)][p(0x183)]({});(!this[p(0x184)]['checkMeteorPackage'](p(0x185))||!this['fsi'][p(0x178)](p(0x174))||!this[p(0x184)][p(0x178)](p(0x16c)))&&(Log[p(0x182)](p(0x172)),this[p(0x184)][p(0x186)](p(0x16b),{'cwd':h}));this[p(0x184)][p(0x176)]({'srcPath':p(0x17e),'destPath':this[p(0x184)][p(0x183)]({'pathParts':[p(0x189),p(0x187),b[p(0x17a)],p(0x16e),b[p(0x18b)],d+p(0x17f)+g]}),'context':f,'config':c});const i=b[p(0x18b)]?'/'+b[p(0x18b)]+'/':'/',j=this[p(0x184)][p(0x183)]({'pathParts':[p(0x189),'startup',b[p(0x17a)],p(0x190)+c[p(0x18e)]['js']]});this['fsi'][p(0x179)]({'filePath':j,'content':p(0x193)+i+d+'-rpc-method\x27;'});});}catch(d){Log[o(0x169)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a85o=a85d;(function(a,b){const l=a85d,c=a();while(!![]){try{const d=-parseInt(l(0x1fb))/0x1*(-parseInt(l(0x1fc))/0x2)+-parseInt(l(0x1f2))/0x3*(-parseInt(l(0x1f6))/0x4)+parseInt(l(0x1ef))/0x5*(-parseInt(l(0x1e7))/0x6)+parseInt(l(0x1f5))/0x7*(parseInt(l(0x1e6))/0x8)+parseInt(l(0x1e9))/0x9*(parseInt(l(0x1ee))/0xa)+parseInt(l(0x1d8))/0xb*(parseInt(l(0x1d1))/0xc)+-parseInt(l(0x1e5))/0xd*(parseInt(l(0x1d0))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0xe8b9a));const a85b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a85d;if(c){const e=c[m(0x1e8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){const n=a85d;return a85a[n(0x1d5)]()[n(0x200)](n(0x1f9))[n(0x1d5)]()['constructor'](a85a)[n(0x200)](n(0x1f9));});function a85d(a,b){const c=a85c();return a85d=function(d,e){d=d-0x1d0;let f=c[d];return f;},a85d(a,b);}a85a();import a85e from'path';function a85c(){const s=['686WNwmfF','1860kzKRBD','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','package/package.js','tests/server','toString','relative','tests/client','16148hBftvH','fsi','server','.js','noRename','package.js','template/template.js','engines','create','dir','store','resourceName','maka\x20g:package\x20todos:package','843453SKZVIo','296VEHGbp','11274snKDqY','apply','200295TOYmpN','theme','hasOwnProperty','packages','features','70tEYESb','575mEScWn','pathFromAppWithNoReWrite','pathFromApp','3VSvjDg','forEach','/package.js','307601fBAlwl','4104964AusWym','client','/client/','(((.+)+)+)+$','graphql','187577ZJDHRT','14TPSMFh','withValue','package','layout','search','template'];a85c=function(){return s;};return a85c();}import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a85o(0x1e0)]({'name':a85o(0x1fe),'aliases':['p'],'usage':'maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','shortDesc':a85o(0x1d2),'validOpts':[a85o(0x1e1)],'examples':[a85o(0x1e4)]},async function(a,b){const p=a85o,c=paramCase(b[p(0x1e3)]),d=this['fsi'][p(0x1f1)]({'pathParts':[p(0x1ec),b[p(0x1e1)],c]}),e=this['fsi'][p(0x1f0)]({'pathParts':[p(0x1ec),b[p(0x1e1)],c,p(0x1dd)]}),f=this[p(0x1d9)]['getProjectConfig']();this[p(0x1d9)][p(0x1fd)](f,async()=>{const q=p,g={'name':paramCase(b[q(0x1e3)]),'myPath':a85e[q(0x1d6)](this[q(0x1d9)]['pathFromProject']({}),d),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[q(0x1e3)]),'camelCaseName':camelCase(b['resourceName']),'fileName':c,'client':f[q(0x1df)][q(0x1f7)],'graphql':f[q(0x1df)][q(0x1fa)],'ssr':f[q(0x1df)]['ssr'],'isComponent':b[q(0x1eb)]('component'),'isLayout':b[q(0x1eb)](q(0x1ff)),'isStore':b['hasOwnProperty'](q(0x1e2)),'features':f[q(0x1ed)],'noRename':!![],'theme':f['engines'][q(0x1ea)]};this[q(0x1d9)][q(0x201)]({'srcPath':q(0x1d3),'destPath':e,'context':g,'config':f}),g[q(0x1dc)]=![];const h=d+q(0x1f8)+c+q(0x1db);this[q(0x1d9)][q(0x201)]({'srcPath':q(0x1de),'destPath':h,'context':g,'config':f});const i=['lib',q(0x1da),q(0x1d7),q(0x1d4)];i[q(0x1f3)](j=>{const r=q,k=d+'/'+j+'/'+c+r(0x1db);this[r(0x1d9)]['template']({'srcPath':'package/'+j+r(0x1f4),'destPath':k,'context':g,'config':f});});});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a86p=a86d;function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0x17b;let f=c[d];return f;},a86d(a,b);}(function(a,b){const m=a86d,c=a();while(!![]){try{const d=parseInt(m(0x19a))/0x1*(-parseInt(m(0x194))/0x2)+parseInt(m(0x18b))/0x3+-parseInt(m(0x1b0))/0x4+parseInt(m(0x1bd))/0x5*(parseInt(m(0x19c))/0x6)+-parseInt(m(0x1b3))/0x7+parseInt(m(0x1b4))/0x8*(parseInt(m(0x1a2))/0x9)+-parseInt(m(0x19e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0xd8f6d));const a86b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a86d;if(c){const e=c[n(0x1ac)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const o=a86d;return a86a[o(0x199)]()[o(0x193)](o(0x182))[o(0x199)]()[o(0x187)](a86a)[o(0x193)](o(0x182));});a86a();import a86e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator['create']({'name':a86p(0x1ab),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','shortDesc':a86p(0x188),'validOpts':['dir',a86p(0x1af)],'examples':[a86p(0x17e)]},function(a,b){const q=a86p,c=q(0x1bb),d=this['fsi'][q(0x183)](b),e=this[q(0x1c0)][q(0x183)]({'pathParts':[c,b[q(0x1a9)],paramCase(b[q(0x1a8)]),paramCase(b[q(0x1a8)])]}),f=this['fsi']['getProjectConfig']();this[q(0x1c0)]['withValue'](f,()=>{const r=q;typeof f[r(0x191)][r(0x1c3)]===r(0x18f)&&(f[r(0x191)][r(0x1c3)]=f['template'][r(0x1c3)]===r(0x192)?!![]:![],this[r(0x1c0)]['setTemplate'](r(0x1c3),f['template'][r(0x1c3)]));typeof f['template']['test']===r(0x18f)&&(f[r(0x191)][r(0x195)]=f[r(0x191)][r(0x195)]===r(0x192)?!![]:![],this[r(0x1c0)][r(0x1aa)](r(0x195),f[r(0x191)][r(0x195)]));typeof f['template'][r(0x18e)]==='string'&&(f[r(0x191)][r(0x18e)]=f[r(0x191)]['css']===r(0x192)?!![]:![],this[r(0x1c0)][r(0x1aa)](r(0x18e),f[r(0x191)][r(0x18e)]));typeof f[r(0x191)]['js']===r(0x18f)&&(f[r(0x191)]['js']=f[r(0x191)]['js']==='true'?!![]:![],this[r(0x1c0)][r(0x1aa)]('js',f[r(0x191)]['js']));!f[r(0x17c)]&&(f['features']={});!b[r(0x1b1)]&&!this['fsi'][r(0x1a0)]('ramda')&&(Log[r(0x1bc)](r(0x181)),this[r(0x1c0)][r(0x1ae)](r(0x184),{'cwd':d}));const g={'name':pascalCase(b[r(0x1a8)]),'myPath':a86e[r(0x17f)](this['fsi'][r(0x1ba)]({}),e),'cssCaseName':paramCase(b[r(0x1a8)]),'className':pascalCase(b[r(0x1a8)]),'camelCaseName':camelCase(b[r(0x1a8)]),'fileName':paramCase(b[r(0x1a8)]),'graphql':f[r(0x196)][r(0x1a1)],'features':f[r(0x17c)],'client':f[r(0x196)]['client'],'api':f[r(0x196)][r(0x189)],'ssr':f[r(0x196)][r(0x18a)],'isStore':b['hasOwnProperty'](r(0x1ad)),'isComponent':b['hasOwnProperty']('component'),'isLayout':b[r(0x19f)](r(0x1a3)),'withTranslations':f['features']['withTranslations'],'test':f['engines']['test'],'theme':f[r(0x196)][r(0x190)]};f['template']['html']&&this[r(0x1c0)][r(0x191)]({'srcPath':r(0x19d),'destPath':e+r(0x1b7),'context':g,'config':f});f['features']?.[r(0x17b)]||b[r(0x1af)]?this[r(0x1c0)]['template']({'srcPath':'hook/hook.js','destPath':e+'.js','framework':r(0x1a5),'context':g,'config':f}):this[r(0x1c0)]['template']({'srcPath':r(0x1a4),'destPath':e+r(0x1c1),'framework':r(0x1a5),'context':g,'config':f});f[r(0x196)][r(0x195)]!==r(0x1a6)&&this[r(0x1c0)][r(0x191)]({'srcPath':'test/test.js','destPath':e+r(0x1b6),'framework':r(0x1a5),'context':g,'config':f});f['template'][r(0x18e)]&&this[r(0x1c0)][r(0x191)]({'srcPath':'template/template.css','destPath':e+r(0x18c),'context':Object[r(0x186)]({},g,{'className':paramCase(b[r(0x1a8)])}),'config':f});f['engines'][r(0x180)]!==r(0x1a5)&&f[r(0x196)][r(0x180)]!==r(0x1b5)?(f[r(0x191)][r(0x18e)]&&this[r(0x1c0)][r(0x185)]({'filePath':e+'.'+f[r(0x196)]['js'],'content':r(0x1c4)+g['fileName']+'.'+f[r(0x196)][r(0x1c3)]+r(0x18d)+r(0x1c4)+g[r(0x198)]+'.'+f[r(0x196)][r(0x18e)]+'\x27;'}),!f['template']['css']&&this[r(0x1c0)][r(0x185)]({'filePath':e+'.'+f[r(0x196)]['js'],'content':r(0x1c4)+g[r(0x198)]+'.'+f['engines']['html']+'\x27;'})):f['template']['css']&&this[r(0x1c0)]['injectAtBeginningOfFile']({'filePath':e+'.'+f[r(0x196)]['js'],'content':r(0x1c4)+g[r(0x198)]+'.'+f[r(0x196)][r(0x18e)]+'\x27;'});const h=b[r(0x1a9)]?'/'+b['dir']+'/':'/',i=''+c+h+g[r(0x198)]+'/'+g['fileName'];let j;if(f[r(0x196)][r(0x18a)]===r(0x192)){const k=this[r(0x1c0)]['pathFromApp']({'pathParts':['imports',r(0x1c2),'lib','templates.js']});j=this[r(0x1c0)][r(0x1be)]({'pathParts':[k],'config':f});}else{const l=this['fsi'][r(0x183)]({'pathParts':[r(0x197),r(0x1c2),'client',r(0x1b9)]});j=this[r(0x1c0)][r(0x1be)]({'pathParts':[l],'config':f});}f['engines'][r(0x180)]===r(0x1a5)?(f[r(0x196)]['js']==='tsx'?this[r(0x1c0)][r(0x185)]({'filePath':j,'content':'import\x20{\x20'+g['className']+r(0x19b)+i+'\x27;\x0a'}):this[r(0x1c0)][r(0x185)]({'filePath':j,'content':r(0x1b2)+g[r(0x1bf)]+r(0x19b)+i+'.'+f['engines']['js']+'\x27;\x0a'}),this[r(0x1c0)]['injectAtEndOfFile']({'filePath':j,'content':r(0x1b8)+g[r(0x1bf)]+r(0x1a7)})):this[r(0x1c0)]['injectAtEndOfFile']({'filePath':j,'content':r(0x17d)+i+'.'+f['engines']['js']+r(0x18d)});});});function a86c(){const s=['.css','\x27;\x0a','css','string','theme','template','true','search','20zSkWcJ','test','engines','imports','fileName','toString','20909bADfzs','\x20}\x20from\x20\x27','6PxlPEb','template/template.html','14319270RsnUrp','hasOwnProperty','checkNpmPackage','graphql','18YwimQp','layout','component/component.js','react','none','\x20};\x0a','resourceName','dir','setTemplate','page','apply','store','installNpmPackage','withHook','1803892hdoJyA','root','import\x20{\x20','5171327LzIQNL','5155216mOssCR','vanilla','.app-tests.js','.html','export\x20{\x20','templates.js','pathFromProject','/imports/ui/pages','warn','5958130bIcQvt','rewriteDestinationPathForEngine','className','fsi','.js','startup','html','import\x20\x27./','withHooks','features','import\x20\x27','maka\x20g:page\x20todos/todos-item','relative','client','Updating\x20npm\x20packages\x20...','(((.+)+)+)+$','pathFromApp','ramda','injectAtBeginningOfFile','assign','constructor','Generate\x20a\x20page.','api','ssr','3717018qijYfT'];a86c=function(){return s;};return a86c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a87k=a87d;(function(a,b){const h=a87d,c=a();while(!![]){try{const d=parseInt(h(0x1e1))/0x1*(parseInt(h(0x1e8))/0x2)+parseInt(h(0x1df))/0x3*(-parseInt(h(0x1d9))/0x4)+parseInt(h(0x1d7))/0x5*(-parseInt(h(0x1e9))/0x6)+parseInt(h(0x1da))/0x7*(-parseInt(h(0x1f0))/0x8)+-parseInt(h(0x1e5))/0x9+-parseInt(h(0x1de))/0xa+parseInt(h(0x1ec))/0xb*(parseInt(h(0x1d5))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0xab821));function a87c(){const n=['engines','resourceName','6811893hBCFhd','create','templateContent','394546pOGEyq','155070CyvQVZ','(((.+)+)+)+$','search','1716YStLhI','fsi','publish','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','16LBbZYG','toString','238464ZnFeeG','rewriteDestinationPathForEngine','115uBdQsR','maka\x20g:publish\x20todos','1004JXyMdG','4296054DOHaxi','tsx','publish/publish.','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','8919640IDFjQY','3678epMumR','apply','7OAbwYy','constructor'];a87c=function(){return n;};return a87c();}function a87d(a,b){const c=a87c();return a87d=function(d,e){d=d-0x1d4;let f=c[d];return f;},a87d(a,b);}const a87b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a87d;if(c){const e=c[i(0x1e0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){const j=a87d;return a87a[j(0x1d4)]()[j(0x1eb)](j(0x1ea))[j(0x1d4)]()[j(0x1e2)](a87a)[j(0x1eb)]('(((.+)+)+)+$');});a87a();import{paramCase}from'change-case';import{Generator}from'../generator.js';Generator[a87k(0x1e6)]({'name':a87k(0x1ee),'aliases':['p'],'usage':a87k(0x1dd),'shortDesc':a87k(0x1ef),'validOpts':[],'examples':[a87k(0x1d8)]},async function(a,b){const l=a87k,c=this[l(0x1ed)]['getProjectConfig']();this[l(0x1ed)]['withValue'](c,async()=>{const m=l,d={'name':b['resourceName'],'collection':paramCase(b[m(0x1e4)]),'noRename':!![]};let e='js';c[m(0x1e3)]['js']===m(0x1db)&&(e='ts');const f=this[m(0x1ed)][m(0x1d6)]({'pathParts':['server/publish.'+c[m(0x1e3)]['js']]}),g=this['fsi'][m(0x1e7)]({'srcPath':m(0x1dc)+e,'context':d,'config':c});this['fsi']['injectAtEndOfFile']({'filePath':f,'content':'\x0a'+g});});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a88y=a88d;(function(a,b){const v=a88d,c=a();while(!![]){try{const d=-parseInt(v(0x1a7))/0x1+parseInt(v(0x186))/0x2*(-parseInt(v(0x1c3))/0x3)+-parseInt(v(0x1b1))/0x4+parseInt(v(0x19c))/0x5+-parseInt(v(0x19f))/0x6*(-parseInt(v(0x1c7))/0x7)+-parseInt(v(0x1a9))/0x8*(parseInt(v(0x1a4))/0x9)+parseInt(v(0x185))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0x7340f));const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a88d;if(c){const e=c[w(0x1b3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const x=a88d;return a88a[x(0x1a1)]()[x(0x1b2)]('(((.+)+)+)+$')[x(0x1a1)]()[x(0x1ab)](a88a)[x(0x1b2)](x(0x1a2));});a88a();import a88e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a88c(){const H=['config','url','injectAtEndOfFile','error','getProjectConfig','page','routes.js','length','maka\x20g:route\x20todosEdit\x20todos/:id/edit','rewriteDestinationPathForEngine','maka\x20g:route\x20usersShow\x20users/:id/show\x20--layout\x20userView','join','filter','imports','1207495AJkpQo','invoke','templateName','36xkuLub','route/route.js','toString','(((.+)+)+)+$','</Router>','64431sHoYyR','injectAfterLineNumber','const\x20publicRoutes\x20=\x20(<>','36699BePIVj','<Router','144YJwljO','pathFromApp','constructor','withValue','maka\x20g:route\x20lists/listIndex\x20lists','import\x20*\x20as\x20Component\x20from\x20\x27./templates\x27;','private','/imports/ui/pages','866252eNrfZG','search','apply','route','withTranslations','toLowerCase','Could\x20not\x20find\x20a\x20suitable\x20location\x20to\x20enable\x20this\x20route.\x20\x20Please\x20inspect\x20','maka\x20g:route\x20todosIndex\x20todos','templateContent','create','fsi','MasterLayout','\x0a\x09\x09','includes','vanilla','engines','startup','true','18kbndox','newForm','maka\x20{generate,\x20g}:{route,\x20r}\x20[path/]<name>\x20[url]\x20[--private]','client','780591OhbdSY','lib','injectIntoFile','withHook','const\x20privateRoutes\x20=\x20(<>','layout','<Route','5022320fxWFWk','186202lQdWbQ','only','root','readFileLines','cwd','react','map','features'];a88c=function(){return H;};return a88c();}import a88f from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['r'];function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x185;let f=c[d];return f;},a88d(a,b);}Generator[a88y(0x1ba)]({'name':a88y(0x1b4),'aliases':aliases,'validOpts':[a88y(0x1af),'layout',a88y(0x187),a88y(0x18a),a88y(0x18e),a88y(0x188),a88y(0x1ca),a88y(0x18f)],'usage':a88y(0x1c5),'shortDesc':'Scaffolding\x20for\x20a\x20Route.','examples':[a88y(0x1b8),a88y(0x196),a88y(0x198),a88y(0x1ad)]},function(a,b){const z=a88y;try{const c=this[z(0x1bb)][z(0x192)]();this[z(0x1bb)][z(0x1ac)](c,async()=>{const A=z,d=b[A(0x1af)]??![];let f=paramCase(a[0x0]),g='/'+f;a[A(0x195)]>0x1&&(g='/'+a[A(0x19a)](function(l){return l!=='/';})[A(0x199)]('/')[A(0x1b6)]());f=camelCase(f);b[A(0x1cc)]&&(b[A(0x1cc)]=camelCase(b[A(0x1cc)]));const h=a88e[A(0x199)](A(0x1b0),f,f),i={'name':f,'fileCase':paramCase(f),'camelCaseName':camelCase(f),'url':g,'layout':b[A(0x1cc)]||A(0x1bc),'templatePath':h,'templateName':pascalCase(f),'client':c[A(0x1c0)][A(0x1c6)],'newForm':![],'withTranslations':c[A(0x18d)][A(0x1b5)]};d&&(i[A(0x1cc)]='PrivateLayout');if(!b['root']){const l=a88f['findGenerator'](A(0x193));l&&await l[A(0x19d)](a,b);}let j,k;if(c[A(0x1c0)]['client']===A(0x18b)){if(c[A(0x1c0)]['ssr']===A(0x1c2)){const p=this['fsi'][A(0x1aa)]({'pathParts':['imports','startup',A(0x1c8),A(0x194)]});j=this[A(0x1bb)][A(0x197)]({'pathParts':[p],'config':c});}else{const q=this[A(0x1bb)]['pathFromApp']({'pathParts':[A(0x19b),A(0x1c1),A(0x1c6),A(0x194)]});j=this[A(0x1bb)][A(0x197)]({'pathParts':[q],'config':c});}const m=this[A(0x1bb)]['readFileLines'](j)[A(0x18c)]((r,s)=>{const B=A;return r[B(0x1be)](B(0x1ae))?s+0x1:null;})['filter'](r=>r!==null);let n=this['fsi']['readFileLines'](j)[A(0x18c)]((r,s)=>{const C=A;return r['includes'](C(0x1a6))?s+0x1:null;})['filter'](r=>r!==null),o=this[A(0x1bb)][A(0x189)](j)[A(0x18c)]((r,s)=>{const D=A;return r[D(0x1be)](D(0x1cb))?s+0x1:null;})[A(0x19a)](r=>r!==null);n[A(0x195)]>0x0&&o[A(0x195)]>0x0&&(i[A(0x1c4)]=!![]);k=this[A(0x1bb)][A(0x1b9)]({'srcPath':A(0x1a0),'framework':A(0x18b),'context':i,'config':c});if(n[A(0x195)]>0x0||o['length']>0x0){this['fsi']['injectAfterLineNumber']({'filePath':j,'content':k,'lineNumber':m[0x0]});if(d&&o['length']>0x0)o=this[A(0x1bb)][A(0x189)](j)[A(0x18c)]((r,s)=>{const E=A;return r[E(0x1be)](E(0x1cb))?s+0x1:null;})[A(0x19a)](r=>r!==null),this['fsi']['injectAfterLineNumber']({'filePath':j,'content':'\x09{'+i['templateName']+'}','lineNumber':o[0x0]});else n['length']>0x0?(n=this['fsi'][A(0x189)](j)[A(0x18c)]((r,s)=>{const F=A;return r[F(0x1be)](F(0x1a6))?s+0x1:null;})[A(0x19a)](r=>r!==null),this[A(0x1bb)][A(0x1a5)]({'filePath':j,'content':'\x09{'+i[A(0x19e)]+'}','lineNumber':n[0x0]})):Log['warn'](A(0x1b7)+j);}else{const r=this[A(0x1bb)]['readFileLines'](j)[A(0x18c)](u=>{const G=A;return u[G(0x1be)]('\x22*\x22');}),s=r['indexOf'](!![])>-0x1,t=s?A(0x1cd):A(0x1a3);this[A(0x1bb)][A(0x1c9)]({'filePath':j,'content':A(0x1bd)+k+A(0x1bd),'begin':A(0x1a8),'end':t});}}else{if(c[A(0x1c0)][A(0x1c6)]===A(0x1bf)){const u=this[A(0x1bb)][A(0x1aa)]({'pathParts':['imports',A(0x1c1),A(0x1c6),A(0x194)]});j=this[A(0x1bb)]['rewriteDestinationPathForEngine']({'pathParts':[u],'config':c}),k=this[A(0x1bb)][A(0x1b9)]({'srcPath':A(0x1a0),'context':i}),this[A(0x1bb)][A(0x190)]({'filePath':j,'content':'\x0a'+k});}}});}catch(d){Log[z(0x191)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a89m=a89d;(function(a,b){const j=a89d,c=a();while(!![]){try{const d=-parseInt(j(0x143))/0x1+-parseInt(j(0x13e))/0x2*(-parseInt(j(0x14d))/0x3)+parseInt(j(0x14c))/0x4+parseInt(j(0x13b))/0x5+parseInt(j(0x131))/0x6+parseInt(j(0x146))/0x7+-parseInt(j(0x144))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0x81222));function a89d(a,b){const c=a89c();return a89d=function(d,e){d=d-0x131;let f=c[d];return f;},a89d(a,b);}const a89b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a89d;if(c){const e=c[k(0x148)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){const l=a89d;return a89a[l(0x133)]()[l(0x140)](l(0x151))[l(0x133)]()['constructor'](a89a)[l(0x140)](l(0x151));});a89a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a89c(){const p=['withValue','Installing\x20winston','1162540VrCMFu','template','lib','2TnMfjZ','maka\x20{generate,\x20g}:{service}\x20[service-type]','search','Generate\x20a\x20service\x20to\x20run\x20within\x20your\x20meteor\x20application.','fsi','643215JlxxIj','8666392KZziRd','installNpmPackage','5934565OYaRFn','winston\x20setimmediate','apply','type','services','svc','1405920sjwHtn','2055153kotxgJ','winston','imports','logger','(((.+)+)+)+$','service','pathFromApp','831660tfUXxr','resourceName','toString','startup','engines','create','service/logger/logger.js','checkNpmPackage'];a89c=function(){return p;};return a89c();}import{Log}from'../tools/log/log.class.js';Generator[a89m(0x136)]({'name':a89m(0x152),'aliases':[a89m(0x14b)],'usage':a89m(0x13f),'shortDesc':a89m(0x141),'validOpts':[a89m(0x149)],'validArgs':['logger'],'maxArgLength':0x1,'minArgLength':0x1,'examples':['maka\x20g:svc\x20logger']},async function(a,b){const n=a89m;try{const c=this[n(0x142)]['getProjectConfig']();this[n(0x142)][n(0x139)](c,async()=>{const o=n,d=this[o(0x142)][o(0x153)]({}),f=paramCase(b[o(0x132)]),g={'name':pascalCase(b[o(0x132)]),'fileName':f,'camelCase':camelCase(b[o(0x132)]),'type':a[0x0],'engine':c[o(0x135)]['js'],'noRename':!![]};let h='js';c['engines']['js']==='tsx'&&(h='ts');if(a[0x0]===o(0x150)){!this[o(0x142)][o(0x138)](o(0x14e))&&await this[o(0x142)][o(0x145)](o(0x147),{'cwd':d,'msg':o(0x13a)});const i=this[o(0x142)][o(0x153)]({'pathParts':[o(0x14f),o(0x134),o(0x13d),o(0x14a),f+'.'+h]});this[o(0x142)][o(0x13c)]({'srcPath':o(0x137),'destPath':i,'context':g,'config':c});}});}catch(d){Log['error'](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a90c(){var i=['apply','1101718RQvOlz','4110810vsCmJn','constructor','1379320tFBGPb','3970005IDSrSH','1991756weywWh','search','3gdgHSo','toString','6896701xLlEpL','2884976PILDXS','(((.+)+)+)+$'];a90c=function(){return i;};return a90c();}function a90d(a,b){var c=a90c();return a90d=function(d,e){d=d-0xf0;var f=c[d];return f;},a90d(a,b);}(function(a,b){var f=a90d,c=a();while(!![]){try{var d=parseInt(f(0xf7))/0x1+-parseInt(f(0xfc))/0x2*(-parseInt(f(0xf1))/0x3)+-parseInt(f(0xf4))/0x4+parseInt(f(0xfb))/0x5+-parseInt(f(0xf8))/0x6+-parseInt(f(0xf3))/0x7+parseInt(f(0xfa))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0xa4286));var a90b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a90d;if(c){var e=c[g(0xf6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){var h=a90d;return a90a[h(0xf2)]()[h(0xf0)](h(0xf5))[h(0xf2)]()[h(0xf9)](a90a)[h(0xf0)](h(0xf5));});a90a();import'./translation.js';import'./openssl.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a91l=a91d;(function(a,b){const i=a91d,c=a();while(!![]){try{const d=parseInt(i(0x148))/0x1+-parseInt(i(0x135))/0x2+-parseInt(i(0x14e))/0x3+parseInt(i(0x141))/0x4+-parseInt(i(0x13f))/0x5*(-parseInt(i(0x13a))/0x6)+parseInt(i(0x147))/0x7*(-parseInt(i(0x143))/0x8)+parseInt(i(0x13d))/0x9*(parseInt(i(0x13b))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0xdd7f5));const a91b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a91d;if(c){const e=c[j(0x134)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){const k=a91d;return a91a['toString']()[k(0x14c)](k(0x133))[k(0x14b)]()[k(0x131)](a91a)[k(0x14c)]('(((.+)+)+)+$');});a91a();function a91d(a,b){const c=a91c();return a91d=function(d,e){d=d-0x131;let f=c[d];return f;},a91d(a,b);}import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';import a91e from'path';Generator[a91l(0x149)]({'name':a91l(0x137),'usage':a91l(0x13e),'shortDesc':'Generate\x20a\x20new\x20openssl\x20config\x20file','noResource':!![],'requiredOpts':[a91l(0x146)],'examples':['maka\x20g:sslconfig\x20--env\x20dev'],'validOpts':[a91l(0x146)]},async function(a,b){const m=a91l;try{const c=await this[m(0x136)][m(0x138)](),d=await this[m(0x136)][m(0x14a)](),f=this['fsi'][m(0x132)](b[m(0x146)]),g=a91e[m(0x142)](f,m(0x144),'openssl.conf');await this[m(0x136)]['withValue'](c,async()=>{const n=m,h={'app':d[n(0x13c)],'noRename':!![]};await this[n(0x136)][n(0x139)]({'srcPath':n(0x140),'destPath':g,'framework':n(0x145),'context':h,'config':c});});}catch(h){Log[m(0x14d)](h);}});function a91c(){const o=['getConfigPath','(((.+)+)+)+$','apply','2119640TCnTnt','fsi','sslconfig','getProjectConfig','template','2322sYQfwd','7183570XopdjG','appName','9euUgci','maka\x20{generate,\x20g}:sslconfig','15905FLOFbG','openssl/openssl.conf','5327044CjicJo','join','6408008HwfoPb','_keys','service','env','7vkAPJp','122835OdNICn','create','getGlobalConfig','toString','search','error','1907778nheASS','constructor'];a91c=function(){return o;};return a91c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a92z=a92d;(function(a,b){const x=a92d,c=a();while(!![]){try{const d=parseInt(x(0x1ad))/0x1*(parseInt(x(0x1ae))/0x2)+parseInt(x(0x1b8))/0x3*(-parseInt(x(0x1c5))/0x4)+parseInt(x(0x1ba))/0x5+parseInt(x(0x1b1))/0x6*(-parseInt(x(0x1e2))/0x7)+parseInt(x(0x1aa))/0x8+-parseInt(x(0x1b9))/0x9+parseInt(x(0x1c8))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0x70bb8));function a92d(a,b){const c=a92c();return a92d=function(d,e){d=d-0x1a7;let f=c[d];return f;},a92d(a,b);}const a92b=(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;};}()),a92a=a92b(this,function(){const y=a92d;return a92a[y(0x1cd)]()[y(0x1d3)](y(0x1ca))[y(0x1cd)]()[y(0x1e0)](a92a)['search'](y(0x1ca));});a92a();import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';import a92e from'fs';Generator[a92z(0x1bd)]({'name':a92z(0x1be),'usage':a92z(0x1a8),'aliases':[a92z(0x1c3)],'shortDesc':'Generate\x20a\x20new\x20locale\x20translation','noResource':!![],'examples':['maka\x20g:translation\x20--lang=en\x20(default)',a92z(0x1de),a92z(0x1d4)],'validOpts':[a92z(0x1b0)]},function(a,b){const A=a92z;try{const c=this[A(0x1b2)]['getProjectConfig'](),d=this[A(0x1b2)][A(0x1bb)](),f=this[A(0x1b2)]['findAppDirectory']();this[A(0x1b2)][A(0x1db)](c,()=>{const B=A;try{!b['lang']&&(b['lang']='en');!b['root']&&!this['fsi'][B(0x1e1)](B(0x1c6))&&(Log[B(0x1c4)](B(0x1d9)),this[B(0x1b2)][B(0x1b6)]('i18next\x20i18next-browser-languagedetector\x20react-i18next',{'cwd':f}),this['fsi'][B(0x1b5)](B(0x1c9),!![]));const g=this['fsi']['pathFromApp']({'pathParts':[B(0x1bc),B(0x1dd),'client',B(0x1e3)]}),h=this['fsi'][B(0x1c7)]({'pathParts':[g],'config':c}),i=this[B(0x1b2)][B(0x1c0)](a92e[B(0x1df)](h)[B(0x1cd)](),B(0x1a7))[0x0]&&!![];if(c['engines'][B(0x1d8)]===B(0x1c2)){!i&&this[B(0x1b2)][B(0x1af)]({'filePath':h,'content':'import\x20\x27../lib/services/translations/i18n\x27;\x0a'});const t=this['fsi']['pathFromApp']({'pathParts':[B(0x1bc),'startup','server',B(0x1e3)]}),u=this[B(0x1b2)][B(0x1c7)]({'pathParts':[t],'config':c}),v=this[B(0x1b2)]['grep'](a92e[B(0x1df)](u)[B(0x1cd)](),'import\x20\x27../lib/services/translations/i18n\x27;')[0x0]&&!![];!v&&this[B(0x1b2)][B(0x1af)]({'filePath':u,'content':B(0x1d2)});}else!i&&this['fsi'][B(0x1af)]({'filePath':h,'content':B(0x1d2)});const j={'app':d[B(0x1c1)],'config':c},k=this[B(0x1b2)][B(0x1b3)]({'pathParts':[B(0x1bc),B(0x1dd),B(0x1d1),B(0x1cf),B(0x1ac),B(0x1d5)]}),l=this['fsi'][B(0x1b4)](this[B(0x1b2)][B(0x1c7)]({'pathParts':[k],'config':c}));!l&&this[B(0x1b2)][B(0x1d7)]({'srcPath':'i18n/i18n.js','destPath':k,'framework':B(0x1a9),'context':j,'config':c});const m=this[B(0x1b2)][B(0x1b3)]({'pathParts':[B(0x1bc),B(0x1dd),B(0x1d1),'services',B(0x1ac),'locales',b[B(0x1b0)]+B(0x1ce)]}),n=this[B(0x1b2)][B(0x1c7)]({'pathParts':[m],'config':c}),o=this[B(0x1b2)][B(0x1b4)](n);!o?this['fsi'][B(0x1d7)]({'srcPath':B(0x1ab),'destPath':m,'framework':B(0x1a9),'context':j,'config':c}):Log[B(0x1c4)]('Locale\x20already\x20defined:\x20'+n);const p=this[B(0x1b2)]['pathFromApp']({'pathParts':['imports',B(0x1dd),B(0x1d1),'services','translations',B(0x1bf),'index.'+c[B(0x1cc)]['js']]}),q=this[B(0x1b2)][B(0x1c7)]({'pathParts':[p],'config':c}),r=this[B(0x1b2)]['isFile'](q);!r&&this[B(0x1b2)][B(0x1d7)]({'srcPath':B(0x1dc),'destPath':p,'framework':B(0x1a9),'context':j,'config':c});const s=this[B(0x1b2)][B(0x1c0)](a92e[B(0x1df)](p)['toString'](),B(0x1da)+b['lang'])[0x0]&&!![];!s?this[B(0x1b2)]['injectAtEndOfFile']({'filePath':p,'content':'export\x20{\x20default\x20as\x20'+b[B(0x1b0)]+B(0x1d0)+b[B(0x1b0)]+'\x27;'}):Log[B(0x1c4)](B(0x1b7)+p);}catch(w){Log[B(0x1cb)](w),process['exit'](0x1);}});}catch(g){Log[A(0x1cb)](g),process[A(0x1d6)](0x1);}});function a92c(){const C=['imports','create','translation','locales','grep','appName','true','i18n','warn','160FTYeRM','i18next','rewriteDestinationPathForEngine','5283100aStDkc','features.withTranslations','(((.+)+)+)+$','error','engines','toString','.js','services','\x20}\x20from\x20\x27./','lib','import\x20\x27../lib/services/translations/i18n\x27;\x0a','search','maka\x20g:translation\x20--lang=de','i18n.js','exit','template','ssr','Verifying\x20npm\x20package\x20requirements:\x20i18next\x20...','default\x20as\x20','withValue','i18n/index.js','startup','maka\x20g:translation\x20--lang=fr','readFileSync','constructor','checkNpmPackage','42yzlvEJ','index.js','import\x20\x27../lib/services/translations/i18n\x27;','maka\x20{generate,\x20g}:translation\x20--lang=<language>','service','5242400lTDHVD','i18n/locales.js','translations','385849tfjYOU','4eByNoZ','injectAtBeginningOfFile','lang','869286CTmIhJ','fsi','pathFromApp','isFile','setProjectConfig','installNpmPackage','Locale\x20already\x20exported:\x20','2253xQSMMe','7139097ALgRgX','995015TIHoDp','getGlobalConfig'];a92c=function(){return C;};return a92c();}
|
package/bundle/obf/src/maka.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env -S node --experimental-modules --no-warnings --experimental-json-modules
|
|
2
|
-
const
|
|
2
|
+
const a93m=a93d;function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x149;let f=c[d];return f;},a93d(a,b);}(function(a,b){const j=a93d,c=a();while(!![]){try{const d=-parseInt(j(0x15b))/0x1*(-parseInt(j(0x151))/0x2)+-parseInt(j(0x15f))/0x3+parseInt(j(0x15a))/0x4+parseInt(j(0x150))/0x5*(parseInt(j(0x155))/0x6)+-parseInt(j(0x14b))/0x7*(parseInt(j(0x149))/0x8)+-parseInt(j(0x14a))/0x9+parseInt(j(0x158))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0x7955e));const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a93d;if(c){const e=c[k(0x161)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const l=a93d;return a93a[l(0x14d)]()[l(0x154)](l(0x14c))[l(0x14d)]()[l(0x14e)](a93a)[l(0x154)]('(((.+)+)+)+$');});a93a();import a93e from'minimist';import a93f from'os';import a93g from'path';import a93h from'humps';import a93i from'./commands/maka.cmd.js';function a93c(){const n=['env','--max-old-space-size=','dirname','2483001BdgxzG','TOOL_NODE_FLAGS','apply','860376KtuSah','1526949DRBHlA','21uUsLXg','(((.+)+)+)+$','toString','constructor','BROWSERSLIST_IGNORE_OLD_DATA','1402305kdYQQR','362awwRgN','floor','argv','search','6efwaPy','url','totalmem','3009250sOTTCo','stringify','2021676DusPQR','4034seWLdm'];a93c=function(){return n;};return a93c();}import'./commands/_index.js';import'./generators/_index.js';import{fileURLToPath}from'url';const __filename=fileURLToPath(import.meta[a93m(0x156)]),__dirname=a93g[a93m(0x15e)](__filename);global['MAKA_COMMAND_PATH']=__dirname;const total_memory=a93f[a93m(0x157)](),total_mem_in_kb=total_memory/0x400;let total_mem_in_mb=total_mem_in_kb/0x400;total_mem_in_mb=Math[a93m(0x152)](total_mem_in_mb),process[a93m(0x15c)][a93m(0x160)]=a93m(0x15d)+total_mem_in_mb,process[a93m(0x15c)][a93m(0x14f)]='1';const argv=a93e(process[a93m(0x153)]['slice'](0x2)),args=argv['_'],deepCopyArgv=JSON['parse'](JSON[a93m(0x159)](argv));delete deepCopyArgv['_'];const opts=a93h['camelizeKeys'](deepCopyArgv);a93i['run'](args,opts);
|
package/bundle/obf/src/tool.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a94k=a94d;(function(a,b){const h=a94d,c=a();while(!![]){try{const d=parseInt(h(0xec))/0x1*(-parseInt(h(0xe1))/0x2)+parseInt(h(0xf4))/0x3+-parseInt(h(0xd3))/0x4*(parseInt(h(0xce))/0x5)+-parseInt(h(0xd6))/0x6*(parseInt(h(0xd5))/0x7)+-parseInt(h(0xe4))/0x8+parseInt(h(0xd0))/0x9+-parseInt(h(0xcb))/0xa*(-parseInt(h(0xcd))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0x71484));const a94b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a94d;if(c){const e=c[i(0xe5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){const j=a94d;return a94a[j(0xd4)]()[j(0xca)](j(0xde))[j(0xd4)]()[j(0xc6)](a94a)['search']('(((.+)+)+)+$');});a94a();import a94e from'path';import a94f from'os';function a94c(){const y=['error','length','488KxKcBj','toString','6362671vgOBoG','6MrNCFI','aliases','docker','cwd','findProjectDirectory','Invalid\x20argument:\x20','config','homedir','(((.+)+)+)+$','examples','match','926kbGoYe','platform','includes','6039136lksYfZ','apply','Local','push','No\x20usage\x20provided.','usage','description','validateParams','1987BcqsqU','parent','concat','existsSync','resourceName','options','name','shortDesc','2614875CyrShd','NIE','win32','Missing\x20required\x20options\x20','dir','Missing\x20required\x20option:\x20','forEach','join','constructor','No\x20description\x20provided.','fsi','None','search','20FVgqOk','validateMakaProject','9011992tfJSBS','13190iMzCMD','.meteor','7735473dsvqBq'];a94c=function(){return y;};return a94c();}import a94g from'fs';const homeDir=a94f[a94k(0xdd)]();import{Docker}from'./tools/docker/docker.class.js';import{FSI}from'./tools/fsi/fsi.class.js';import{Log}from'./tools/log/log.class.js';import{UsageError}from'./error.js';function a94d(a,b){const c=a94c();return a94d=function(d,e){d=d-0xc3;let f=c[d];return f;},a94d(a,b);}export class Tool{['docker'];[a94k(0xc8)];[a94k(0xf1)];[a94k(0xf2)];[a94k(0xed)];['_handler'];constructor(){const l=a94k;this[l(0xd8)]=new Docker(),this[l(0xc8)]=new FSI();}[a94k(0xe0)](a){const m=a94k,b=[this['name']][m(0xee)](this[m(0xf1)][m(0xd7)]||[]);return this['parent']&&b[m(0xe7)](this['parent']),b[m(0xe3)](a);}[a94k(0xcc)](){const n=a94k,a=this['fsi'][n(0xda)]();return a!==![]?!![]:![];}['validateMeteorInstall'](){const o=a94k;let a=a94e[o(0xc5)](homeDir,o(0xcf));const b=process[o(0xe2)]===o(0xf6);if(b){a=a94e[o(0xc5)](homeDir,'AppData',o(0xe6),o(0xcf));if(!a94g[o(0xef)](a))return![];}else{if(!a94g[o(0xef)](a))return![];}return!![];}[a94k(0xeb)](a,b,c){const p=a94k,{requiredOpts:requiredOpts=[],validArgs:d}=c;let {validOpts:validOpts=[]}=c;const e=Object['keys'](b);d?.[p(0xd2)]>0x0&&a[p(0xc4)](f=>{const q=p;if(!d[q(0xe3)](f)){Log['error'](q(0xdb)+f);throw new UsageError();}});if(requiredOpts?.[p(0xd2)]>0x0){if(e[p(0xd2)]===0x0){Log['error'](p(0xf7)+requiredOpts[p(0xc5)](',\x20'));throw new UsageError();}requiredOpts['forEach'](f=>{const r=p;if(!e['includes'](f)){Log['error'](r(0xc3)+f);throw new UsageError();}});}validOpts=validOpts[p(0xee)](requiredOpts),validOpts?.['length']>0x0&&(validOpts[p(0xe7)]('help'),validOpts['push'](p(0xf0)),validOpts[p(0xe7)](p(0xf8)),validOpts[p(0xe7)](p(0xd9)),validOpts[p(0xe7)]('root'),validOpts[p(0xe7)](p(0xdc)),e[p(0xc4)](f=>{const s=p;if(!validOpts[s(0xe3)](f)){Log[s(0xd1)]('Invalid\x20options:\x20'+f);throw new UsageError();}}));}['description'](){const t=a94k;return this[t(0xf1)][t(0xea)]||this[t(0xf1)]['shortDesc']||t(0xc7);}[a94k(0xf3)](){const u=a94k;return this[u(0xf1)][u(0xf3)]||u(0xf5);}['usage'](){const v=a94k;return this[v(0xf1)][v(0xe9)]||v(0xe8);}[a94k(0xdf)](){const w=a94k;return this[w(0xf1)][w(0xdf)]||[];}[a94k(0xd7)](){const x=a94k;return this[x(0xf1)]['aliases']||x(0xc9);}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a95c(){const l=['password','2341920YATBnV','4NXQqrd','prompt','constructor','68739iTBkbi','ask','24588RndIVp','204HOIpns','toString','confirm','37tcsKaY','37534MZyxoD','216800aPNiaX','258159eVYTek','apply','215RSXpwI','search','216TsmgAs','91455QPuaqU','690gxPoGE','answer'];a95c=function(){return l;};return a95c();}const a95i=a95d;function a95d(a,b){const c=a95c();return a95d=function(d,e){d=d-0x7b;let f=c[d];return f;},a95d(a,b);}(function(a,b){const f=a95d,c=a();while(!![]){try{const d=-parseInt(f(0x8b))/0x1*(-parseInt(f(0x8c))/0x2)+-parseInt(f(0x8e))/0x3*(-parseInt(f(0x82))/0x4)+parseInt(f(0x90))/0x5*(-parseInt(f(0x87))/0x6)+-parseInt(f(0x81))/0x7+parseInt(f(0x8d))/0x8*(parseInt(f(0x7c))/0x9)+parseInt(f(0x7e))/0xa*(-parseInt(f(0x85))/0xb)+-parseInt(f(0x88))/0xc*(parseInt(f(0x7d))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a95c,0x5a282));const a95b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a95d;if(c){const e=c[g(0x8f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a95a=a95b(this,function(){const h=a95d;return a95a['toString']()[h(0x7b)]('(((.+)+)+)+$')[h(0x89)]()[h(0x84)](a95a)[h(0x7b)]('(((.+)+)+)+$');});a95a();import a95e from'inquirer';export class Actions{static async[a95i(0x86)](a,b){const j=a95i,{answer:c}=await a95e[j(0x83)]({'type':b?j(0x80):'input','name':j(0x7f),'message':a});return c;}static async['confirm'](a,b=![]){const k=a95i,{answer:c}=await a95e[k(0x83)]({'type':k(0x8a),'name':k(0x7f),'message':a,'default':b});return c;}static async['options'](a){const b=await a95e['prompt'](a);return b;}}
|