@maka/maka-cli 4.5.42 → 4.5.44
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.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/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/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/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/options/options.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
|
-
const
|
|
1
|
+
function a97d(a,b){const c=a97c();return a97d=function(d,e){d=d-0xe1;let f=c[d];return f;},a97d(a,b);}function a97c(){const s=['baseDir','string','features','imports','tsx','12WQnmSW','181804yWHgTj','\x20};\x0a','injectAtBeginningOfFile','1633550nuXFpN','template','getProjectConfig','layouts','templates.js','cssCaseName','/imports/ui/components','root','(((.+)+)+)+$','react','resourceName','findAppDirectory','warn','api','rewriteDestinationPathForEngine','\x27;\x0a','ramda','graphql','client','.tests.js','\x20}\x20from\x20\x27','1110189ESuKsR','fsi','true','pages','lib','theme','import\x20\x27./','startup','.css','toString','injectAtEndOfFile','constructor','4MgAqLu','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','2395287yIMqhW','Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','.js','test','dir','setTemplate','error','ssr','maka\x20g:comp\x20todos/todos-item','checkNpmPackage','2269696HamnfP','maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','fileName','hooks','pathFromProject','reflux','import\x20\x27','export\x20{\x20','pathFromApp','134356PdrtUY','search','/imports/ui/','css','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','135854vLCEHu','engines'];a97c=function(){return s;};return a97c();}const a97p=a97d;(function(a,b){const n=a97d,c=a();while(!![]){try{const d=-parseInt(n(0xe6))/0x1*(parseInt(n(0x112))/0x2)+-parseInt(n(0x106))/0x3+parseInt(n(0xe1))/0x4+parseInt(n(0xf1))/0x5+-parseInt(n(0xed))/0x6*(parseInt(n(0xee))/0x7)+parseInt(n(0x11e))/0x8+parseInt(n(0x114))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a97c,0x34d77));const a97b=(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;};}()),a97a=a97b(this,function(){const o=a97d;return a97a[o(0x10f)]()[o(0xe2)](o(0xf9))[o(0x10f)]()[o(0x111)](a97a)[o(0xe2)](o(0xf9));});a97a();import a97e from'path';import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';const aliases=['comp'];Generator['create']({'name':'component','aliases':aliases,'usage':a97p(0x11f),'shortDesc':a97p(0x115),'validOpts':[{'name':'baseDir','values':[a97p(0x121),'components',a97p(0x109),a97p(0xf4)]}],'examples':[a97p(0x11c)]},async function(a,b){const q=a97p;try{const c=this[q(0x107)][q(0xfc)](),d=b[q(0xe8)]?q(0xe3)+b[q(0xe8)]:q(0xf7),f=this[q(0x107)][q(0x126)]({'pathParts':[d,b['dir'],paramCase(b[q(0xfb)]),paramCase(b[q(0xfb)])]}),g=await this[q(0x107)][q(0xf3)]();this[q(0x107)]['withValue'](g,async()=>{const r=q;typeof g['template'][r(0x117)]===r(0xe9)&&(g['template']['test']=g[r(0xf2)][r(0x117)]===r(0x108)?!![]:![],this[r(0x107)][r(0x119)](r(0x117),g['template'][r(0x117)]));typeof g[r(0xf2)][r(0xe4)]===r(0xe9)&&(g['template'][r(0xe4)]=g['template'][r(0xe4)]===r(0x108)?!![]:![],this['fsi']['setTemplate'](r(0xe4),g[r(0xf2)][r(0xe4)]));typeof g[r(0xf2)]['js']===r(0xe9)&&(g[r(0xf2)]['js']=g[r(0xf2)]['js']==='true'?!![]:![],this[r(0x107)][r(0x119)]('js',g['template']['js']));!g[r(0xea)]&&(g[r(0xea)]={});!b['root']&&!this[r(0x107)]['checkNpmPackage'](r(0x101))&&(Log[r(0xfd)](r(0x113)),await this[r(0x107)]['installNpmPackage'](r(0x101),{'cwd':c}));if(!b[r(0xf8)]&&!this[r(0x107)][r(0x11d)](r(0xfa))){Log[r(0x11a)](r(0xe5));return;}const h={'name':pascalCase(b['resourceName']),'myPath':a97e['relative'](this[r(0x107)][r(0x122)]({}),f),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b['resourceName']),'graphql':g[r(0xe7)][r(0x102)],'features':g['features'],'client':g[r(0xe7)][r(0x103)],'api':g[r(0xe7)][r(0xfe)],'ssr':g[r(0xe7)][r(0x11b)],'test':g[r(0xe7)][r(0x117)],'theme':g['engines'][r(0x10b)],'isLayout':![],'isComponent':!![],'withTranslations':g['features']['withTranslations']};this[r(0x107)][r(0xf2)]({'srcPath':'component/component.js','destPath':f+r(0x116),'context':h,'framework':r(0xfa),'config':g});g[r(0xe7)][r(0x117)]!=='none'&&this[r(0x107)][r(0xf2)]({'srcPath':'test/test.js','destPath':f+r(0x104),'context':h,'framework':r(0xfa),'config':g});g[r(0xf2)][r(0xe4)]&&(this[r(0x107)][r(0xf2)]({'srcPath':'template/template.css','destPath':f+r(0x10e),'context':Object['assign']({},h,{'className':paramCase(b[r(0xfb)])}),'config':g}),this[r(0x107)][r(0xf0)]({'filePath':f+'.'+g['engines']['js'],'content':r(0x10c)+h[r(0xf6)]+'.'+g['engines']['css']+'\x27;'}));const i=b[r(0x118)]?'/'+b[r(0x118)]+'/':'/',j=''+d+i+h[r(0x120)]+'/'+h[r(0x120)];let k;if(g[r(0xe7)][r(0x11b)]===r(0x108)){const l=this[r(0x107)]['pathFromApp']({'pathParts':[r(0xeb),'startup',r(0x10a),'templates.js']});k=this[r(0x107)][r(0xff)]({'pathParts':[l],'config':g});}else{const m=this[r(0x107)][r(0x126)]({'pathParts':['imports',r(0x10d),r(0x103),r(0xf5)]});k=this[r(0x107)][r(0xff)]({'pathParts':[m],'config':g});}g[r(0xe7)][r(0x103)]===r(0xfa)||g[r(0xe7)][r(0x103)]===r(0x123)?(g[r(0xe7)]['js']===r(0xec)?this['fsi'][r(0xf0)]({'filePath':k,'content':'import\x20{\x20'+h['className']+r(0x105)+j+'\x27;\x0a'}):this[r(0x107)][r(0xf0)]({'filePath':k,'content':'import\x20{\x20'+h['className']+r(0x105)+j+'.'+g[r(0xe7)]['js']+r(0x100)}),this['fsi']['injectAtEndOfFile']({'filePath':k,'content':r(0x125)+h['className']+r(0xef)})):this['fsi'][r(0x110)]({'filePath':k,'content':r(0x124)+j+'.'+g['engines']['js']+r(0x100)});});}catch(h){Log[q(0x11a)](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a98k=a98d;
|
|
1
|
+
const a98k=a98d;(function(a,b){const h=a98d,c=a();while(!![]){try{const d=parseInt(h(0xb4))/0x1+-parseInt(h(0x97))/0x2+parseInt(h(0xaf))/0x3*(-parseInt(h(0xb3))/0x4)+parseInt(h(0xa1))/0x5+parseInt(h(0xae))/0x6*(-parseInt(h(0xb0))/0x7)+parseInt(h(0x9a))/0x8+parseInt(h(0x9f))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a98c,0xef0a1));function a98c(){const n=['maka\x20g:config\x20production','development','isDocker','ubuntu','template','3334762FZQDUQ','(((.+)+)+)+$','withValue','11013696qslIQv','toString','getProjectConfig','appName','apply','12865194ZIrHue','constructor','5581400rQAAQj','settings.json','config/settings.json','maka\x20{generate,\x20g}:{config}\x20<name>','config/process.env','resourceName','dev','search','fsi','config','production','Generate\x20configuration\x20settings.','create','1147278dXVzDN','6459zlaLDH','70LYupIX','process.env','pathFromProject','1448MfYRVa','1415544rexRNt'];a98c=function(){return n;};return a98c();}const a98b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a98d;if(c){const e=c[i(0x9e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a98a=a98b(this,function(){const j=a98d;return a98a['toString']()[j(0xa8)](j(0x98))[j(0x9b)]()[j(0xa0)](a98a)[j(0xa8)](j(0x98));});function a98d(a,b){const c=a98c();return a98d=function(d,e){d=d-0x95;let f=c[d];return f;},a98d(a,b);}a98a();import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a98k(0xad)]({'name':a98k(0xaa),'usage':a98k(0xa4),'shortDesc':a98k(0xac),'validOpts':[a98k(0xb7)],'examples':[a98k(0xb5)]},function(a,b){const l=a98k,c=this[l(0xa9)][l(0x9c)]();this['fsi'][l(0x99)](c,async()=>{const m=l,d={'app':c[m(0x9d)],'appFileCase':paramCase(c[m(0x9d)]),'name':pascalCase(b[m(0xa6)]),'fileName':paramCase(b['resourceName']),'camelCase':camelCase(b['resourceName']),'userName':m(0x95),'isDocker':b[m(0xb7)]};let e=b['resourceName'];if(e===m(0xa7))e=m(0xb6);else e==='prod'&&(e=m(0xab));const f=this[m(0xa9)][m(0xb2)]({'pathParts':[m(0xaa),e,m(0xa2)]});this[m(0xa9)][m(0x96)]({'srcPath':m(0xa3),'destPath':f,'context':d,'config':c});if(!b['isDocker']){const g=this[m(0xa9)][m(0xb2)]({'pathParts':['config',e,m(0xb1)]});this[m(0xa9)][m(0x96)]({'srcPath':m(0xa5),'destPath':g,'context':d,'config':c});}});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a99m=a99d;(function(a,b){const j=a99d,c=a();while(!![]){try{const d=-parseInt(j(0x9f))/0x1+-parseInt(j(0x8e))/0x2*(parseInt(j(0xa7))/0x3)+parseInt(j(0x84))/0x4*(-parseInt(j(0x9e))/0x5)+parseInt(j(0x99))/0x6*(parseInt(j(0x8d))/0x7)+-parseInt(j(0x9b))/0x8*(-parseInt(j(0xa5))/0x9)+parseInt(j(0x80))/0xa+-parseInt(j(0x9a))/0xb*(-parseInt(j(0x90))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a99c,0xb10bd));const a99b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a99d;if(c){const e=c[k(0x7f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a99a=a99b(this,function(){const l=a99d;return a99a['toString']()['search'](l(0xab))[l(0x9c)]()[l(0x88)](a99a)[l(0x81)](l(0xab));});a99a();import{camelCase,paramCase,pascalCase}from'change-case';function a99d(a,b){const c=a99c();return a99d=function(d,e){d=d-0x7e;let f=c[d];return f;},a99d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a99c(){const p=['type','15xnSnfn','596173cHkeYE','Npm\x20package\x20\x22mssql\x22\x20not\x20installed,\x20installing...','sqlite','maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','dir','Npm\x20package\x20\x22pg\x22\x20not\x20installed,\x20installing...','9OhCseA','maka\x20g:dbc\x20geoserver\x20--type=pgsql','15255wxdSAo','-dbc.','dbc/register-dbc.js','better-sqlite3','(((.+)+)+)+$','pathFromApp','maka\x20g:dbc\x20azure\x20--type=mssql','warn','Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','index.','apply','3348060iNnPKU','search','dbc/conn.js','injectAtEndOfFile','1743772LfUnQE','dbc','pgsql','error','constructor','template','config.','imports','resourceName','31073TAeDTl','394KKQlZg','installNpmPackage','35415624puoQjV','startup','engines','fsi','mssql','server','register-','getProjectConfig','checkNpmPackage','6gUkHHR','11VaHbcm','2723048oKPPTM','toString'];a99c=function(){return p;};return a99c();}Generator['create']({'name':'dbc','usage':a99m(0xa2),'shortDesc':a99m(0xaf),'validOpts':[a99m(0x9d),a99m(0xa3)],'requiredOpts':[{'name':a99m(0x9d),'values':['pgsql','mssql','sqlite']}],'examples':[a99m(0xa6),a99m(0xad),'maka\x20g:dbc\x20todos\x20--type=sqlite']},async function(a,b){const n=a99m;try{const c=await this[n(0x93)][n(0x97)](),d=this[n(0x93)][n(0xac)]({}),f=paramCase(b['resourceName']),g={'name':pascalCase(b['resourceName']),'fileName':paramCase(b[n(0x8c)]),'camelCase':camelCase(b[n(0x8c)]),'type':b['type'],'engine':c[n(0x92)]['js'],'noRename':!![]};this[n(0x93)]['withValue'](c,async()=>{const o=n;let h='js';c[o(0x92)]['js']==='tsx'&&(h='ts');b[o(0x9d)]===o(0x86)&&!this[o(0x93)]['checkNpmPackage']('pg')&&(Log[o(0xae)](o(0xa4)),await this[o(0x93)]['installNpmPackage']('pg',{'cwd':d}));b[o(0x9d)]===o(0x94)&&!this[o(0x93)]['checkNpmPackage']('mssql')&&(Log[o(0xae)](o(0xa0)),await this[o(0x93)][o(0x8f)](o(0x94),{'cwd':d}));b[o(0x9d)]===o(0xa1)&&!this[o(0x93)][o(0x98)](o(0xaa))&&(Log[o(0xae)]('Npm\x20package\x20\x22better-sqlite3\x22\x20not\x20installed,\x20installing...'),await this[o(0x93)][o(0x8f)](o(0xaa),{'cwd':d}));await this['fsi'][o(0x89)]({'srcPath':'dbc/config.js','destPath':this[o(0x93)]['pathFromApp']({'pathParts':[o(0x8b),o(0x91),o(0x95),'dbc',b['dir'],f,o(0x8a)+h]}),'context':g,'config':c}),await this[o(0x93)][o(0x89)]({'srcPath':o(0x82),'destPath':this[o(0x93)]['pathFromApp']({'pathParts':[o(0x8b),o(0x91),'server',o(0x85),b[o(0xa3)],f,'conn.'+h]}),'context':g,'config':c}),await this[o(0x93)][o(0x89)]({'srcPath':o(0xa9),'destPath':this[o(0x93)][o(0xac)]({'pathParts':['imports',o(0x91),o(0x95),o(0x96)+f+o(0xa8)+h]}),'context':g,'config':c});const i=this['fsi'][o(0xac)]({'pathParts':[o(0x8b),'startup',o(0x95),o(0x7e)+c['engines']['js']]});this[o(0x93)][o(0x83)]({'filePath':i,'content':'import\x20\x27./register-'+f+'-dbc\x27;'});});}catch(h){Log[n(0x87)](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a100d(a,b){const c=a100c();return a100d=function(d,e){d=d-0x1c0;let f=c[d];return f;},a100d(a,b);}const a100i=a100d;(function(a,b){const f=a100d,c=a();while(!![]){try{const d=parseInt(f(0x1c5))/0x1+parseInt(f(0x1cc))/0x2+-parseInt(f(0x1cb))/0x3*(parseInt(f(0x1c1))/0x4)+parseInt(f(0x1c8))/0x5*(-parseInt(f(0x1dc))/0x6)+-parseInt(f(0x1d2))/0x7+-parseInt(f(0x1ce))/0x8*(-parseInt(f(0x1d1))/0x9)+parseInt(f(0x1d7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a100c,0x42446));const a100b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a100d;if(c){const e=c[g(0x1c7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a100a=a100b(this,function(){const h=a100d;return a100a[h(0x1df)]()[h(0x1cf)]('(((.+)+)+)+$')['toString']()['constructor'](a100a)[h(0x1cf)](h(0x1d0));});a100a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a100e from'path';Generator[a100i(0x1e0)]({'name':a100i(0x1c6),'usage':a100i(0x1c0),'shortDesc':a100i(0x1d8),'validOpts':[],'noResource':!![],'examples':[a100i(0x1d5)]},async function(){const j=a100i;try{const a=await this[j(0x1d6)][j(0x1dd)](),b=await this[j(0x1d6)][j(0x1e1)](),c=this[j(0x1d6)][j(0x1da)]();this[j(0x1d6)][j(0x1d4)](a,async()=>{const k=j,d={'app':b[k(0x1db)],'config':a,'appPath':a100e[k(0x1e2)](c,k(0x1c9)),'bundlePath':a100e[k(0x1e2)](c,k(0x1cd),k(0x1c3)),'useCert':this[k(0x1d6)][k(0x1ca)](b['cert'])};this[k(0x1d6)][k(0x1de)]({'srcPath':k(0x1c4),'destPath':a100e[k(0x1e2)](c,k(0x1d9)),'framework':k(0x1d3),'context':d,'config':a});});}catch(d){Log[j(0x1c2)](d);}});function a100c(){const l=['create','getGlobalConfig','join','maka\x20{generate,\x20g}:dockerfile','1172WLvIgp','error','app.tar.gz','docker/Dockerfile','517636eSnCfw','dockerfile','apply','55cWLUiR','app','isFile','3369yYkHQC','690488Ajwrdg','build','649592URRGxz','search','(((.+)+)+)+$','9WEZlfp','533477xAjAWF','service','withValue','maka\x20g:dockerfile','fsi','837980WsOmHP','Generate\x20an\x20updated\x20dockerfile','Dockerfile','findProjectDirectory','appName','191562LRNngl','getProjectConfig','template','toString'];a100c=function(){return l;};return a100c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a101r=a101d;(function(a,b){const o=a101d,c=a();while(!![]){try{const d=parseInt(o(
|
|
1
|
+
const a101r=a101d;(function(a,b){const o=a101d,c=a();while(!![]){try{const d=parseInt(o(0x110))/0x1+-parseInt(o(0x108))/0x2+-parseInt(o(0xd4))/0x3+parseInt(o(0x10c))/0x4+parseInt(o(0xec))/0x5*(-parseInt(o(0xea))/0x6)+-parseInt(o(0x102))/0x7+parseInt(o(0xd9))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a101c,0xa2583));function a101c(){const u=['fsi','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','imports','.css','getProjectConfig','test/test.js','installNpmPackage','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','@apollo/client\x20isomorphic-fetch','features','templates.js','\x20};\x0a','hook/hook.js','dir','18zAyLTe','baseDir','815485PPFOXL','warn','string','resourceName','Creating\x20','injectAtBeginningOfFile','@apollo/client','\x20}\x20from\x20\x27','pathFromApp','toString','/imports/ui/hooks','checkNpmPackage','lib','setTemplate','/imports/ui/','className','template/template.css','relative','fileName','client','create','tsx','5227215ttvVLQ','constructor','css','search','react','hooks','206682pFQkPe','export\x20{\x20','engines','error','3147500WYHwMe','test','startup','rewriteDestinationPathForEngine','1039344PWohpr','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','apply','import\x20{\x20','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','theme','maka\x20g:hook\x20cool-hook','cssCaseName','none','notice','690204yZpTuV','.app-tests.js','template','true','graphql','3265512XTAtBN','assign','layouts'];a101c=function(){return u;};return a101c();}const a101b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a101d;if(c){const e=c[p(0x112)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a101a=a101b(this,function(){const q=a101d;return a101a[q(0xf5)]()['search']('(((.+)+)+)+$')['toString']()[q(0x103)](a101a)[q(0x105)]('(((.+)+)+)+$');});a101a();import a101e from'path';import{paramCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a101d(a,b){const c=a101c();return a101d=function(d,e){d=d-0xd1;let f=c[d];return f;},a101d(a,b);}import{UsageError}from'../error.js';Generator[a101r(0x100)]({'name':'hook','aliases':['h'],'checkWhere':![],'usage':a101r(0x114),'shortDesc':a101r(0xdd),'validOpts':[{'name':a101r(0xeb),'values':[a101r(0x107),'components','pages',a101r(0xdb)]}],'examples':[a101r(0x116)],'description':'\x0a\x20\x20Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html\x0a\x0a\x20\x20Hooks\x20are\x20created\x20in\x20the\x20imports/ui/hooks\x20directory\x20by\x20default,\x20but\x20can\x20be\x20created\x20in\x0a\x20\x20the\x20imports/ui/components,\x20imports/ui/pages,\x20or\x20imports/ui/layouts\x20directories\x20by\x0a\x20\x20using\x20the\x20--baseDir\x20option\x20with\x20the\x20appropriate\x20directory\x20name.\x0a\x0a\x20\x20To\x20create\x20a\x20hook\x20in\x20a\x20subdirectory\x20of\x20the\x20hooks\x20directory,\x20add\x20the\x20path\x20to\x20the\x0a\x20\x20hook\x20name.\x20For\x20example,\x20maka\x20g:hook\x20myHooks/useCoolHook\x20will\x20create\x20a\x20hook\x20in\x0a\x20\x20imports/ui/hooks/my-hooks/use-cool-hook.jsx\x0a\x0a\x20\x20If\x20you\x27d\x20like\x20a\x20hook\x20created\x20as\x20part\x20of\x20an\x20existing\x20page,\x20component,\x20or\x20layout,\x0a\x20\x20use\x20the\x20maka\x20g:hook\x20command\x20with\x20the\x20--baseDir\x20option.\x20For\x20example,\x0a\x0a\x20\x20\x20\x20maka\x20g:hook\x20--baseDir=pages\x20myPage/useCoolHook\x0a\x0a\x20\x20will\x20create\x20a\x20hook\x20in\x20imports/ui/pages/my-page/use-cool-hook.jsx\x0a\x0a\x20\x20'},async function(a,b){const s=a101r;Log[s(0xd3)](s(0xf0)+b[s(0xef)]+'\x20hook...');try{const c=this[s(0xdc)]['checkNpmPackage']('react');if(!c){Log['error'](s(0x111));throw new UsageError();}const d=this[s(0xdc)]['pathFromApp'](b),f=b[s(0xeb)]?s(0xfa)+b['baseDir']:s(0xf6),g=this['fsi']['pathFromApp']({'pathParts':[f,b[s(0xe9)],paramCase(b[s(0xef)]),paramCase(b[s(0xef)])]}),h=await this[s(0xdc)][s(0xe0)]();this[s(0xdc)]['withValue'](h,async()=>{const t=s;typeof h[t(0xd6)][t(0x104)]===t(0xee)&&(h['template'][t(0x104)]=h[t(0xd6)]['css']===t(0xd7)?!![]:![],this[t(0xdc)][t(0xf9)](t(0x104),h[t(0xd6)][t(0x104)]));h[t(0x10a)]['graphql']==='apollo'&&!this[t(0xdc)][t(0xf7)](t(0xf2))&&(Log[t(0xed)](t(0xe3)),await this['fsi'][t(0xe2)](t(0xe4),{'cwd':d}));const i={'cssCaseName':paramCase(b[t(0xef)]),'camelCaseName':camelCase(b[t(0xef)]),'className':pascalCase(b['resourceName']),'name':pascalCase(b[t(0xef)]),'graphql':h[t(0x10a)][t(0xd8)],'theme':h[t(0x10a)][t(0x115)],'features':h[t(0xe5)],'myPath':a101e[t(0xfd)](this[t(0xdc)]['pathFromProject']({}),g),'fileName':paramCase(b[t(0xef)]),'isComponent':![],'isLayout':![],'withTranslations':h[t(0xe5)]['withTranslations']};this[t(0xdc)][t(0xd6)]({'srcPath':t(0xe8),'destPath':g+'.js','context':i,'config':h,'framework':t(0x106)});h['template'][t(0x104)]&&(this[t(0xdc)]['template']({'srcPath':t(0xfc),'destPath':g+t(0xdf),'context':Object[t(0xda)]({},i,{'className':i[t(0xd1)]}),'config':h}),this[t(0xdc)][t(0xf1)]({'filePath':g+'.'+h['engines']['js'],'content':'import\x20\x27./'+i[t(0xfe)]+'.'+h[t(0x10a)][t(0x104)]+'\x27;'}));h[t(0x10a)][t(0x10d)]!==t(0xd2)&&this[t(0xdc)][t(0xd6)]({'srcPath':t(0xe1),'destPath':g+t(0xd5),'framework':t(0x106),'context':i,'config':h});const j=b['dir']?'/'+b['dir']+'/':'/',k=''+f+j+i[t(0xfe)]+'/'+i[t(0xfe)];let l;if(h[t(0x10a)]['ssr']===t(0xd7)){const m=this[t(0xdc)][t(0xf4)]({'pathParts':[t(0xde),t(0x10e),t(0xf8),'templates.js']});l=this[t(0xdc)]['rewriteDestinationPathForEngine']({'pathParts':[m],'config':h});}else{const n=this['fsi'][t(0xf4)]({'pathParts':[t(0xde),t(0x10e),t(0xff),t(0xe6)]});l=this[t(0xdc)][t(0x10f)]({'pathParts':[n],'config':h});}h[t(0x10a)][t(0xff)]===t(0x106)?(h[t(0x10a)]['js']===t(0x101)?this['fsi'][t(0xf1)]({'filePath':l,'content':t(0x113)+i[t(0xfb)]+t(0xf3)+k+'\x27;\x0a'}):this[t(0xdc)]['injectAtBeginningOfFile']({'filePath':l,'content':t(0x113)+i[t(0xfb)]+'\x20}\x20from\x20\x27'+k+'.'+h[t(0x10a)]['js']+'\x27;\x0a'}),this['fsi']['injectAtEndOfFile']({'filePath':l,'content':t(0x109)+i['className']+t(0xe7)})):this['fsi']['injectAtEndOfFile']({'filePath':l,'content':'import\x20\x27'+k+'.'+h[t(0x10a)]['js']+'\x27;\x0a'});});}catch(i){Log[s(0x10b)](i);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a102c(){const m=['299740gHJFUA','fsi','(blank)','type','create','toString','Invalid\x20type\x20','209388NveNCh','maka\x20g:kit\x20--type=map','2649gKpWfE','resourceName','19349zwhIJD','2173542NNoTSr','kit','maka\x20{generate,\x20g}:{kit}\x20<kit-name>','1116HlbVuZ','map','notice','21352kVZmXx','67324RYjcYn','NIE','4350qSxFJt','search','15xAWBlQ','indexOf','error','login','34xlkCup','engines','leaflet-map'];a102c=function(){return m;};return a102c();}const a102j=a102d;(function(a,b){const h=a102d,c=a();while(!![]){try{const d=parseInt(h(0x102))/0x1+parseInt(h(0x116))/0x2*(-parseInt(h(0x104))/0x3)+parseInt(h(0x10e))/0x4*(parseInt(h(0x112))/0x5)+parseInt(h(0x107))/0x6+parseInt(h(0xfb))/0x7+parseInt(h(0x10d))/0x8*(parseInt(h(0x10a))/0x9)+parseInt(h(0x110))/0xa*(-parseInt(h(0x106))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a102c,0x34aba));const a102b=(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;};}()),a102a=a102b(this,function(){const i=a102d;return a102a['toString']()[i(0x111)]('(((.+)+)+)+$')[i(0x100)]()['constructor'](a102a)[i(0x111)]('(((.+)+)+)+$');});function a102d(a,b){const c=a102c();return a102d=function(d,e){d=d-0xf9;let f=c[d];return f;},a102d(a,b);}a102a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a102j(0xff)]({'name':a102j(0x108),'aliases':['k'],'usage':a102j(0x109),'shortDesc':'(Placeholder)\x20Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','validOpts':[a102j(0xfe)],'examples':[a102j(0x103),'maka\x20g:k\x20city-map\x20--type=leaflet-map']},async function(a,b){const k=a102j;try{const c=this[k(0xfc)]['getProjectConfig']();this[k(0xfc)]['withValue'](c,async()=>{const l=k,d={'name':pascalCase(b[l(0x105)]),'fileName':paramCase(b[l(0x105)]),'camelCase':camelCase(b['resourceName']),'type':b[l(0xfe)],'engine':c[l(0xf9)]['js'],'noRename':!![]},f=[l(0xfa),'login'];if(f[l(0x113)](d[l(0xfe)])<0x0){const g=d['type']?d['type']:l(0xfd);Log[l(0x114)](l(0x101)+g+',\x20you\x20must\x20provide\x20a\x20valid\x20type\x20as\x20an\x20argument');return;}b['type']===l(0x10b)&&Log[l(0x10c)](l(0x10f)),b[l(0xfe)]===l(0x115)&&Log[l(0x10c)](l(0x10f));});}catch(d){Log[k(0x114)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a103r=a103d;(function(a,b){const o=a103d,c=a();while(!![]){try{const d=-parseInt(o(0xaf))/0x1+-parseInt(o(0xbb))/0x2*(-parseInt(o(0xcc))/0x3)+-parseInt(o(0xc8))/0x4+parseInt(o(0xa8))/0x5+-parseInt(o(0xb8))/0x6*(parseInt(o(0xa1))/0x7)+parseInt(o(0x96))/0x8+parseInt(o(0xba))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a103c,0x9b8d0));const a103b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a103d;if(c){const e=c[p(0xbe)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a103a=a103b(this,function(){const q=a103d;return a103a[q(0x9b)]()['search'](q(0x9a))['toString']()['constructor'](a103a)['search'](q(0x9a));});a103a();import a103e from'path';function a103d(a,b){const c=a103c();return a103d=function(d,e){d=d-0x8b;let f=c[d];return f;},a103d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a103c(){const u=['className','css','import\x20{\x20','.css','maka\x20g:layout\x20mobile/iPhone8','theme','\x20};\x0a','lib','1074pSsCVW','resourceName','9252207EBnUcO','4rmUgrA','rewriteDestinationPathForEngine','ssr','apply','/imports/ui/layouts','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','templates.js','warn','startup','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','injectAtEndOfFile','checkNpmPackage','assign','3380604ewmoyY','includes','features','react','1910922QNoDwt','\x27;\x0a','engines','imports','export\x20{\x20','findAppDirectory','dir','tsx','setTemplate','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','fileName','string','layout','1958624TYxQNZ','api','installNpmPackage','true','(((.+)+)+)+$','toString','none','relative','fsi','import\x20\x27','pathFromApp','39599vJKbMb','Scaffolding\x20for\x20a\x20React\x20Layout.','withHook','split','injectAtBeginningOfFile','template','create','5687640einJWS','ramda','.js','test','maka\x20g:l\x20web/safari','client','test/test.js','1189437TclciP'];a103c=function(){return u;};return a103c();}import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator[a103r(0xa7)]({'name':a103r(0x95),'aliases':aliases,'usage':a103r(0xc4),'shortDesc':a103r(0xa2),'validOpts':[],'examples':[a103r(0xb4),a103r(0xac)]},function(a,b){const s=a103r,c=s(0xbf),d=this[s(0x9e)][s(0x8e)](),e=this[s(0x9e)][s(0xa0)]({'pathParts':[c,b[s(0x8f)],paramCase(b['resourceName']),paramCase(b['resourceName'])]}),f=this[s(0x9e)]['getProjectConfig']();this['fsi']['withValue'](f,()=>{const t=s;typeof f[t(0xa6)][t(0xab)]===t(0x94)&&(f[t(0xa6)]['test']=f[t(0xa6)][t(0xab)]===t(0x99)?!![]:![],this[t(0x9e)][t(0x91)]('test',f['template'][t(0xab)]));typeof f[t(0xa6)]['css']==='string'&&(f[t(0xa6)][t(0xb1)]=f[t(0xa6)][t(0xb1)]===t(0x99)?!![]:![],this[t(0x9e)]['setTemplate'](t(0xb1),f['template'][t(0xb1)]));typeof f[t(0xa6)]['js']==='string'&&(f[t(0xa6)]['js']=f[t(0xa6)]['js']===t(0x99)?!![]:![],this['fsi'][t(0x91)]('js',f[t(0xa6)]['js']));!f['features']&&(f['features']={});const g=b['_']?b['_'][0x0][t(0xa4)](':')[0x1]:![],h=b['_']&&aliases[t(0xc9)](g);h&&!this[t(0xc6)](t(0xa9))&&(Log[t(0xc2)](t(0x92)),this[t(0x9e)][t(0x98)](t(0xa9),{'cwd':d}));if(h&&!this[t(0xc6)](t(0xcb))){Log[t(0xc2)](t(0xc0));return;}const i={'name':pascalCase(b[t(0xb9)]),'myPath':a103e[t(0x9d)](this[t(0x9e)]['pathFromProject']({}),e),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[t(0xb9)]),'camelCaseName':camelCase(b[t(0xb9)]),'fileName':paramCase(b['resourceName']),'graphql':f[t(0x8b)]['graphql'],'features':f[t(0xca)],'client':f[t(0x8b)][t(0xad)],'api':f['engines'][t(0x97)],'ssr':f[t(0x8b)][t(0xbd)],'test':f[t(0x8b)][t(0xab)],'theme':f[t(0x8b)][t(0xb5)],'isComponent':![],'isLayout':!![],'withTranslations':f[t(0xca)]['withTranslations']};f['features']?.['withHooks']||b[t(0xa3)]?this[t(0x9e)]['template']({'srcPath':'hook/hook.js','destPath':e+t(0xaa),'framework':t(0xcb),'context':i,'config':f}):this[t(0x9e)][t(0xa6)]({'srcPath':'component/component.js','destPath':e+'.js','framework':'react','context':i,'config':f});f[t(0x8b)]['test']!==t(0x9c)&&this[t(0x9e)][t(0xa6)]({'srcPath':t(0xae),'destPath':e+'.app-tests.js','framework':'react','context':i,'config':f});f[t(0xa6)][t(0xb1)]&&(this[t(0x9e)][t(0xa6)]({'srcPath':'template/template.css','destPath':e+t(0xb3),'context':Object[t(0xc7)]({},i,{'className':paramCase(b['resourceName'])}),'config':f}),this['fsi'][t(0xa5)]({'filePath':e+'.'+f['engines']['js'],'content':'import\x20\x27./'+i[t(0x93)]+'.'+f[t(0x8b)][t(0xb1)]+'\x27;'}));const j=b[t(0x8f)]?'/'+b['dir']+'/':'/',k=''+c+j+i['fileName']+'/'+i[t(0x93)];let l;if(f[t(0x8b)][t(0xbd)]===t(0x99)){const m=this[t(0x9e)][t(0xa0)]({'pathParts':[t(0x8c),t(0xc3),t(0xb7),'templates.js']});l=this[t(0x9e)]['rewriteDestinationPathForEngine']({'pathParts':[m],'config':f});}else{const n=this[t(0x9e)][t(0xa0)]({'pathParts':[t(0x8c),t(0xc3),t(0xad),t(0xc1)]});l=this['fsi'][t(0xbc)]({'pathParts':[n],'config':f});}f[t(0x8b)][t(0xad)]===t(0xcb)?(f[t(0x8b)]['js']===t(0x90)?this[t(0x9e)][t(0xa5)]({'filePath':l,'content':'import\x20{\x20'+i[t(0xb0)]+'\x20}\x20from\x20\x27'+k+t(0xcd)}):this[t(0x9e)][t(0xa5)]({'filePath':l,'content':t(0xb2)+i[t(0xb0)]+'\x20}\x20from\x20\x27'+k+'.'+f['engines']['js']+t(0xcd)}),this[t(0x9e)][t(0xc5)]({'filePath':l,'content':t(0x8d)+i['className']+t(0xb6)})):this[t(0x9e)][t(0xc5)]({'filePath':l,'content':t(0x9f)+k+'.'+f['engines']['js']+t(0xcd)});});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a104i=a104d;(function(a,b){const f=a104d,c=a();while(!![]){try{const d=-parseInt(f(
|
|
1
|
+
const a104i=a104d;(function(a,b){const f=a104d,c=a();while(!![]){try{const d=-parseInt(f(0x73))/0x1*(-parseInt(f(0x6d))/0x2)+parseInt(f(0x79))/0x3+-parseInt(f(0x6f))/0x4*(parseInt(f(0x7c))/0x5)+-parseInt(f(0x74))/0x6+parseInt(f(0x71))/0x7+-parseInt(f(0x7e))/0x8+-parseInt(f(0x7d))/0x9*(-parseInt(f(0x75))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a104c,0x7348a));const a104b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a104d;if(c){const e=c[g(0x72)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a104a=a104b(this,function(){const h=a104d;return a104a[h(0x76)]()[h(0x78)](h(0x7a))[h(0x76)]()['constructor'](a104a)[h(0x78)](h(0x7a));});a104a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a104i(0x70),'shortDesc':'Maka!','validOpts':[],'description':a104i(0x77),'usage':a104i(0x6e),'examples':['maka\x20generate:api\x20Trucks',a104i(0x7b)]},function(){return null;});function a104c(){const j=['697376sRXfjk','55892QtRGri','maka\x20<generate>:<entity>\x20[<args>]\x20[<opts>]','31924lMhTQs','maka','1797166fTSGWc','apply','2FqelUV','4650972EKzmRp','10656590uvchNN','toString','\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','search','395487tisTMS','(((.+)+)+)+$','maka\x20g:hook\x20cool-hook','110GFBeMJ','9HhOBIE'];a104c=function(){return j;};return a104c();}function a104d(a,b){const c=a104c();return a104d=function(d,e){d=d-0x6d;let f=c[d];return f;},a104d(a,b);}export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a105n=a105d;(function(a,b){const k=a105d,c=a();while(!![]){try{const d
|
|
1
|
+
const a105n=a105d;(function(a,b){const k=a105d,c=a();while(!![]){try{const d=parseInt(k(0x1b4))/0x1+-parseInt(k(0x1a3))/0x2+parseInt(k(0x1a6))/0x3+parseInt(k(0x1bb))/0x4*(-parseInt(k(0x198))/0x5)+-parseInt(k(0x19b))/0x6*(-parseInt(k(0x1a4))/0x7)+parseInt(k(0x1bc))/0x8*(parseInt(k(0x1ae))/0x9)+parseInt(k(0x1a9))/0xa*(-parseInt(k(0x1aa))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a105c,0x1d040));const a105b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a105d;if(c){const e=c[l(0x1b1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a105a=a105b(this,function(){const m=a105d;return a105a[m(0x1b9)]()['search'](m(0x1a5))['toString']()[m(0x197)](a105a)['search'](m(0x1a5));});function a105c(){const q=['toString','installMeteorPackage','820eTKzER','200edHQwU','tsx','warn','constructor','1290dXIBeo','error','create','6246rKfqow','index.','method','check','import\x20\x27./methods','resourceName','ddp-rate-limiter','engines','222570zWmXZv','434hBqJoq','(((.+)+)+)+$','417222qsftQn','imports','-rpc-method.','4090LinDps','7909INJNxv','appPathPrefix','startup','checkMeteorPackage','82197PaNzKf','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','method/method.js','apply','withValue','fsi','145153KSXYCT','Meteor\x20package\x20\x22check\x22\x20or\x20\x22ddp-rate-limiter\x22\x20or\x20\x22mdg:validated-method\x22\x20is\x20not\x20installed,\x20installing...','injectAtEndOfFile','methods','dir'];a105c=function(){return q;};return a105c();}a105a();function a105d(a,b){const c=a105c();return a105d=function(d,e){d=d-0x197;let f=c[d];return f;},a105d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a105n(0x19a)]({'name':a105n(0x19d),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{method,\x20m}\x20name','checkWhere':!![],'shortDesc':a105n(0x1af),'validOpts':[a105n(0x1b8)],'examples':['maka\x20g:method\x20todos']},function(a,b){const o=a105n;try{const c=this[o(0x1b3)]['getProjectConfig']();this['fsi'][o(0x1b2)](c,async()=>{const p=o,d=paramCase(b['resourceName']),f={'name':b[p(0x1a0)],'fileName':d,'className':pascalCase(b[p(0x1a0)]),'camelCase':camelCase(b[p(0x1a0)]),'noRename':!![]};let g='js';c[p(0x1a2)]['js']===p(0x1bd)&&(g='ts');const h=this[p(0x1b3)]['pathFromApp']({});(!this[p(0x1b3)][p(0x1ad)](p(0x19e))||!this['fsi'][p(0x1ad)](p(0x1a1))||!this[p(0x1b3)][p(0x1ad)]('mdg:validated-method'))&&(Log[p(0x1be)](p(0x1b5)),this[p(0x1b3)][p(0x1ba)]('check\x20ddp-rate-limiter\x20mdg:validated-method',{'cwd':h}));this['fsi']['template']({'srcPath':p(0x1b0),'destPath':this[p(0x1b3)]['pathFromApp']({'pathParts':['imports',p(0x1ac),b[p(0x1ab)],p(0x1b7),b[p(0x1b8)],d+p(0x1a8)+g]}),'context':f,'config':c});const i=b[p(0x1b8)]?'/'+b['dir']+'/':'/',j=this['fsi']['pathFromApp']({'pathParts':[p(0x1a7),'startup',b['appPathPrefix'],p(0x19c)+c['engines']['js']]});this[p(0x1b3)][p(0x1b6)]({'filePath':j,'content':p(0x19f)+i+d+'-rpc-method\x27;'});});}catch(d){Log[o(0x199)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a106o=a106d;(function(a,b){const l=a106d,c=a();while(!![]){try{const d=-parseInt(l(
|
|
1
|
+
const a106o=a106d;(function(a,b){const l=a106d,c=a();while(!![]){try{const d=-parseInt(l(0xf4))/0x1+-parseInt(l(0xe3))/0x2+parseInt(l(0xf2))/0x3+-parseInt(l(0xf0))/0x4*(parseInt(l(0xcf))/0x5)+parseInt(l(0xda))/0x6+parseInt(l(0xdf))/0x7*(-parseInt(l(0xdc))/0x8)+parseInt(l(0xd2))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a106c,0x6b923));const a106b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a106d;if(c){const e=c[m(0xe7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a106a=a106b(this,function(){const n=a106d;return a106a[n(0xd1)]()[n(0xdb)]('(((.+)+)+)+$')[n(0xd1)]()['constructor'](a106a)[n(0xdb)]('(((.+)+)+)+$');});function a106d(a,b){const c=a106c();return a106d=function(d,e){d=d-0xcf;let f=c[d];return f;},a106d(a,b);}a106a();import a106e from'path';function a106c(){const s=['.js','tests/server','package/package.js','ssr','dir','2607390zIbQaa','search','8jySLFO','getProjectConfig','component','4006597QeWGiz','store','/client/','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','1583514RosDZY','fsi','template/template.js','package','apply','/package.js','withValue','tests/client','hasOwnProperty','pathFromAppWithNoReWrite','engines','server','lib','1142344opxdQX','create','426756Ygcplz','template','458345dGZJep','resourceName','relative','client','15opjHpm','packages','toString','22887225qecEbJ','forEach','features'];a106c=function(){return s;};return a106c();}import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a106o(0xf1)]({'name':a106o(0xe6),'aliases':['p'],'usage':'maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','shortDesc':a106o(0xe2),'validOpts':[a106o(0xd9)],'examples':['maka\x20g:package\x20todos:package']},async function(a,b){const p=a106o,c=paramCase(b[p(0xf5)]),d=this['fsi']['pathFromApp']({'pathParts':[p(0xd0),b[p(0xd9)],c]}),e=this[p(0xe4)][p(0xec)]({'pathParts':[p(0xd0),b[p(0xd9)],c,'package.js']}),f=this[p(0xe4)][p(0xdd)]();this[p(0xe4)][p(0xe9)](f,async()=>{const q=p,g={'name':paramCase(b[q(0xf5)]),'myPath':a106e[q(0xf6)](this[q(0xe4)]['pathFromProject']({}),d),'cssCaseName':paramCase(b[q(0xf5)]),'className':pascalCase(b[q(0xf5)]),'camelCaseName':camelCase(b[q(0xf5)]),'fileName':c,'client':f['engines'][q(0xf7)],'graphql':f['engines']['graphql'],'ssr':f[q(0xed)][q(0xd8)],'isComponent':b['hasOwnProperty'](q(0xde)),'isLayout':b[q(0xeb)]('layout'),'isStore':b[q(0xeb)](q(0xe0)),'features':f[q(0xd4)],'noRename':!![],'theme':f['engines']['theme']};this[q(0xe4)][q(0xf3)]({'srcPath':q(0xd7),'destPath':e,'context':g,'config':f}),g['noRename']=![];const h=d+q(0xe1)+c+q(0xd5);this[q(0xe4)]['template']({'srcPath':q(0xe5),'destPath':h,'context':g,'config':f});const i=[q(0xef),q(0xee),q(0xea),q(0xd6)];i[q(0xd3)](j=>{const r=q,k=d+'/'+j+'/'+c+r(0xd5);this['fsi'][r(0xf3)]({'srcPath':'package/'+j+r(0xe8),'destPath':k,'context':g,'config':f});});});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a107p=a107d;(function(a,b){const m=a107d,c=a();while(!![]){try{const d
|
|
1
|
+
const a107p=a107d;function a107d(a,b){const c=a107c();return a107d=function(d,e){d=d-0x1e0;let f=c[d];return f;},a107d(a,b);}(function(a,b){const m=a107d,c=a();while(!![]){try{const d=parseInt(m(0x221))/0x1+parseInt(m(0x1ff))/0x2*(-parseInt(m(0x213))/0x3)+parseInt(m(0x22a))/0x4+parseInt(m(0x211))/0x5+parseInt(m(0x1e3))/0x6+parseInt(m(0x206))/0x7*(-parseInt(m(0x22e))/0x8)+parseInt(m(0x226))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a107c,0x6bead));const a107b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a107d;if(c){const e=c[n(0x1f1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a107a=a107b(this,function(){const o=a107d;return a107a[o(0x21d)]()[o(0x203)](o(0x1fc))[o(0x21d)]()[o(0x1ef)](a107a)[o(0x203)](o(0x1fc));});a107a();import a107e from'path';import{Generator}from'../generator.js';function a107c(){const s=['root','.js','vanilla','907185tOMQwB','tsx','8661wsfmOO','template','css','maka\x20g:page\x20todos/todos-item','hooks','features','template/template.css','pathFromProject','lib','theme','toString','none','hook/hook.js','string','402755fgRQYZ','/imports/ui/pages','component/component.js','fsi','Updating\x20npm\x20packages\x20...','5785623ynhepY','test','injectAtBeginningOfFile','assign','396956LVAhPk','pathFromApp','create','layout','56XvIgQN','.css','\x27;\x0a','\x20}\x20from\x20\x27','html','templates.js','import\x20\x27./','hasOwnProperty','820746NFToDg','import\x20\x27','client','react','baseDir','ssr','setTemplate','.html','import\x20{\x20','withHooks','injectAtEndOfFile','rewriteDestinationPathForEngine','constructor','className','apply','warn','true','components','graphql','Generate\x20a\x20page.','installNpmPackage','\x20};\x0a','.app-tests.js','/imports/ui/','imports','(((.+)+)+)+$','test/test.js','withValue','606EpUFmk','relative','template/template.html','withHook','search','pages','withTranslations','146279WFCtrz','dir','resourceName','fileName','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','layouts','engines','startup'];a107c=function(){return s;};return a107c();}import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator[a107p(0x22c)]({'name':'page','aliases':aliases,'usage':a107p(0x20a),'shortDesc':a107p(0x1f6),'validOpts':[{'name':a107p(0x1e7),'values':[a107p(0x217),a107p(0x1f4),a107p(0x204),a107p(0x20b)]},{'name':a107p(0x202),'boolFlag':!![]}],'examples':[a107p(0x216)]},function(a,b){const q=a107p,c=b['baseDir']?q(0x1fa)+b[q(0x1e7)]:q(0x222),d=this[q(0x224)]['pathFromApp'](b),e=this[q(0x224)][q(0x22b)]({'pathParts':[c,b['dir'],paramCase(b[q(0x208)]),paramCase(b['resourceName'])]}),f=this[q(0x224)]['getProjectConfig']();this['fsi'][q(0x1fe)](f,()=>{const r=q;typeof f['template']['html']===r(0x220)&&(f[r(0x214)][r(0x232)]=f['template'][r(0x232)]===r(0x1f3)?!![]:![],this[r(0x224)][r(0x1e9)](r(0x232),f['template']['html']));typeof f[r(0x214)][r(0x227)]===r(0x220)&&(f[r(0x214)]['test']=f['template'][r(0x227)]===r(0x1f3)?!![]:![],this[r(0x224)][r(0x1e9)](r(0x227),f[r(0x214)][r(0x227)]));typeof f[r(0x214)][r(0x215)]===r(0x220)&&(f[r(0x214)][r(0x215)]=f[r(0x214)]['css']===r(0x1f3)?!![]:![],this[r(0x224)][r(0x1e9)](r(0x215),f[r(0x214)][r(0x215)]));typeof f['template']['js']==='string'&&(f[r(0x214)]['js']=f[r(0x214)]['js']===r(0x1f3)?!![]:![],this[r(0x224)][r(0x1e9)]('js',f['template']['js']));!f[r(0x218)]&&(f[r(0x218)]={});!b[r(0x20e)]&&!this['fsi']['checkNpmPackage']('ramda')&&(Log[r(0x1f2)](r(0x225)),this[r(0x224)][r(0x1f7)]('ramda',{'cwd':d}));const g={'name':pascalCase(b[r(0x208)]),'myPath':a107e[r(0x200)](this[r(0x224)][r(0x21a)]({}),e),'cssCaseName':paramCase(b[r(0x208)]),'className':pascalCase(b[r(0x208)]),'camelCaseName':camelCase(b[r(0x208)]),'fileName':paramCase(b[r(0x208)]),'graphql':f[r(0x20c)][r(0x1f5)],'features':f[r(0x218)],'client':f[r(0x20c)][r(0x1e5)],'api':f[r(0x20c)]['api'],'ssr':f[r(0x20c)][r(0x1e8)],'isStore':b[r(0x1e2)]('store'),'isComponent':b[r(0x1e2)]('component'),'isLayout':b[r(0x1e2)](r(0x22d)),'withTranslations':f[r(0x218)][r(0x205)],'test':f[r(0x20c)]['test'],'theme':f[r(0x20c)][r(0x21c)]};f[r(0x214)][r(0x232)]&&this[r(0x224)][r(0x214)]({'srcPath':r(0x201),'destPath':e+r(0x1ea),'context':g,'config':f});f[r(0x218)]?.[r(0x1ec)]||b['withHook']?this['fsi'][r(0x214)]({'srcPath':r(0x21f),'destPath':e+r(0x20f),'framework':r(0x1e6),'context':g,'config':f}):this['fsi'][r(0x214)]({'srcPath':r(0x223),'destPath':e+'.js','framework':r(0x1e6),'context':g,'config':f});f[r(0x20c)][r(0x227)]!==r(0x21e)&&this[r(0x224)][r(0x214)]({'srcPath':r(0x1fd),'destPath':e+r(0x1f9),'framework':'react','context':g,'config':f});f[r(0x214)]['css']&&this[r(0x224)][r(0x214)]({'srcPath':r(0x219),'destPath':e+r(0x22f),'context':Object[r(0x229)]({},g,{'className':paramCase(b[r(0x208)])}),'config':f});f[r(0x20c)]['client']!==r(0x1e6)&&f[r(0x20c)][r(0x1e5)]!==r(0x210)?(f[r(0x214)]['css']&&this['fsi'][r(0x228)]({'filePath':e+'.'+f[r(0x20c)]['js'],'content':r(0x1e1)+g[r(0x209)]+'.'+f[r(0x20c)]['html']+r(0x230)+r(0x1e1)+g['fileName']+'.'+f['engines'][r(0x215)]+'\x27;'}),!f[r(0x214)][r(0x215)]&&this[r(0x224)][r(0x228)]({'filePath':e+'.'+f[r(0x20c)]['js'],'content':r(0x1e1)+g[r(0x209)]+'.'+f['engines'][r(0x232)]+'\x27;'})):f[r(0x214)][r(0x215)]&&this[r(0x224)][r(0x228)]({'filePath':e+'.'+f[r(0x20c)]['js'],'content':r(0x1e1)+g[r(0x209)]+'.'+f['engines'][r(0x215)]+'\x27;'});const h=b[r(0x207)]?'/'+b['dir']+'/':'/',i=''+c+h+g[r(0x209)]+'/'+g['fileName'];let j;if(f[r(0x20c)]['ssr']==='true'){const k=this[r(0x224)][r(0x22b)]({'pathParts':[r(0x1fb),r(0x20d),r(0x21b),'templates.js']});j=this[r(0x224)][r(0x1ee)]({'pathParts':[k],'config':f});}else{const l=this[r(0x224)][r(0x22b)]({'pathParts':[r(0x1fb),r(0x20d),r(0x1e5),r(0x1e0)]});j=this[r(0x224)][r(0x1ee)]({'pathParts':[l],'config':f});}f[r(0x20c)][r(0x1e5)]===r(0x1e6)?(f[r(0x20c)]['js']===r(0x212)?this[r(0x224)][r(0x228)]({'filePath':j,'content':r(0x1eb)+g[r(0x1f0)]+r(0x231)+i+r(0x230)}):this[r(0x224)][r(0x228)]({'filePath':j,'content':r(0x1eb)+g[r(0x1f0)]+r(0x231)+i+'.'+f[r(0x20c)]['js']+r(0x230)}),this['fsi'][r(0x1ed)]({'filePath':j,'content':'export\x20{\x20'+g['className']+r(0x1f8)})):this['fsi']['injectAtEndOfFile']({'filePath':j,'content':r(0x1e4)+i+'.'+f[r(0x20c)]['js']+'\x27;\x0a'});});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a108c(){const n=['
|
|
1
|
+
const a108k=a108d;function a108c(){const n=['publish/publish.','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','fsi','create','625989wkagNn','search','5531860oEtUyz','3473788ZMvMcn','1642536ynITBl','toString','1449130GFlggO','6ezfLOm','444706woNQNd','withValue','resourceName','constructor','getProjectConfig','apply','128008MhsTUq','templateContent','engines','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','18EWESrc','injectAtEndOfFile','574udOzSd','tsx','(((.+)+)+)+$','maka\x20g:publish\x20todos'];a108c=function(){return n;};return a108c();}(function(a,b){const h=a108d,c=a();while(!![]){try{const d=-parseInt(h(0x10c))/0x1+parseInt(h(0x10b))/0x2*(parseInt(h(0x104))/0x3)+parseInt(h(0x107))/0x4+-parseInt(h(0x10a))/0x5+-parseInt(h(0x108))/0x6+-parseInt(h(0xfc))/0x7*(-parseInt(h(0x112))/0x8)+parseInt(h(0xfa))/0x9*(-parseInt(h(0x106))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a108c,0xa8e92));const a108b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a108d;if(c){const e=c[i(0x111)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a108a=a108b(this,function(){const j=a108d;return a108a['toString']()[j(0x105)](j(0xfe))[j(0x109)]()[j(0x10f)](a108a)[j(0x105)](j(0xfe));});a108a();import{paramCase}from'change-case';import{Generator}from'../generator.js';function a108d(a,b){const c=a108c();return a108d=function(d,e){d=d-0xfa;let f=c[d];return f;},a108d(a,b);}Generator[a108k(0x103)]({'name':'publish','aliases':['p'],'usage':a108k(0x115),'shortDesc':a108k(0x101),'validOpts':[],'examples':[a108k(0xff)]},async function(a,b){const l=a108k,c=this[l(0x102)][l(0x110)]();this[l(0x102)][l(0x10d)](c,async()=>{const m=l,d={'name':b[m(0x10e)],'collection':paramCase(b[m(0x10e)]),'noRename':!![]};let e='js';c[m(0x114)]['js']===m(0xfd)&&(e='ts');const f=this['fsi']['rewriteDestinationPathForEngine']({'pathParts':['server/publish.'+c[m(0x114)]['js']]}),g=this[m(0x102)][m(0x113)]({'srcPath':m(0x100)+e,'context':d,'config':c});this[m(0x102)][m(0xfb)]({'filePath':f,'content':'\x0a'+g});});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a109A=a109d;(function(a,b){const x=a109d,c=a();while(!![]){try{const d=parseInt(x(
|
|
1
|
+
const a109A=a109d;(function(a,b){const x=a109d,c=a();while(!![]){try{const d=parseInt(x(0x188))/0x1+-parseInt(x(0x192))/0x2*(parseInt(x(0x19e))/0x3)+-parseInt(x(0x194))/0x4*(-parseInt(x(0x16c))/0x5)+-parseInt(x(0x17f))/0x6*(parseInt(x(0x181))/0x7)+parseInt(x(0x19d))/0x8+parseInt(x(0x1a7))/0x9+-parseInt(x(0x198))/0xa*(parseInt(x(0x185))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a109c,0x6dad0));function a109c(){const I=['Valid\x20options\x20are:\x20','/imports/ui/','url','3001090tsFlOy','Invalid\x20directory\x20option\x20\x22','route','templateName','maka\x20{generate,\x20g}:{route,\x20r}\x20[path/]<name>','1234144VdIuTh','3nZsjRI','routes.js','Could\x20not\x20find\x20a\x20suitable\x20location\x20to\x20enable\x20this\x20route.\x20\x20Please\x20inspect\x20','imports','length','dir','layouts','lib','withValue','3259485UduHjI','apply','readFileLines','templateContent','baseDir','(((.+)+)+)+$','findGenerator','toLowerCase','injectAfterLineNumber','includes','only','filter','indexOf','warn','search','maka\x20g:route\x20todosIndex\x20todos','withHook','root','4367135gzImsO','fsi','private','const\x20privateRoutes\x20=\x20(<>','hooks','map','join','invoke','features','<Router','toString','engines','route/route.js','cwd','pages','page','maka\x20g:route\x20pages/about','pathFromApp','client','895908cwGgVr','rewriteDestinationPathForEngine','14DdJRet','\x0a\x09\x09','layout','constructor','33tNSRLk','react','MasterLayout','390525SYYINO','const\x20publicRoutes\x20=\x20(<>','error','maka\x20g:route\x20usersShow\x20users/:id/show\x20--layout\x20userView','maka\x20g:route\x20todosEdit\x20todos/:id/edit','true','startup','vanilla','maka\x20g:route\x20pages/lists/listIndex\x20lists','<Route','264380dBsdud','/imports/ui/pages','4Jhylch'];a109c=function(){return I;};return a109c();}const a109b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a109d;if(c){const e=c[y(0x1a8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a109a=a109b(this,function(){const z=a109d;return a109a[z(0x176)]()[z(0x168)]('(((.+)+)+)+$')[z(0x176)]()[z(0x184)](a109a)['search'](z(0x1ac));});a109a();import a109e from'path';import{Generator}from'../generator.js';function a109d(a,b){const c=a109c();return a109d=function(d,e){d=d-0x162;let f=c[d];return f;},a109d(a,b);}import{Log}from'../tools/log/log.class.js';import a109f from'../generators/maka.gen.js';import{UsageError}from'../error.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['r'];Generator['create']({'name':a109A(0x19a),'aliases':aliases,'validOpts':[a109A(0x16e),a109A(0x183),a109A(0x164),a109A(0x179),'config',a109A(0x16b),a109A(0x16a),a109A(0x197),'baseDir'],'usage':a109A(0x19c),'shortDesc':'Scaffolding\x20for\x20a\x20Route.','examples':[a109A(0x169),a109A(0x18c),a109A(0x18b),a109A(0x190),a109A(0x17c)]},function(a,b){const B=a109A;try{const c=[B(0x170),'components',B(0x17a),B(0x1a4)];if(b[B(0x1ab)]&&!c[B(0x163)](b[B(0x1ab)])){Log[B(0x18a)](B(0x199)+b[B(0x1ab)]+'\x22'),Log[B(0x18a)](B(0x195)+c[B(0x172)](',\x20'));throw new UsageError();}const d=this[B(0x16d)]['getProjectConfig']();this['fsi'][B(0x1a6)](d,async()=>{const C=B,f=b['private']??![];let g=paramCase(b['resourceName']),h='/'+g;a[C(0x1a2)]>0x1&&(h='/'+a[C(0x165)](function(n){return n!=='/';})[C(0x172)]('/')[C(0x1ae)]());g=camelCase(g);b[C(0x183)]&&(b[C(0x183)]=camelCase(b[C(0x183)]));const i=b[C(0x1ab)]?C(0x196)+b[C(0x1ab)]:C(0x193),j=a109e[C(0x172)](i,b[C(0x1a3)],g,paramCase(g)),k={'name':g,'fileCase':paramCase(g),'camelCaseName':camelCase(g),'url':h,'layout':b['layout']||C(0x187),'templatePath':j,'templateName':pascalCase(g),'client':d[C(0x177)][C(0x17e)],'newForm':![],'withTranslations':d[C(0x174)]['withTranslations']};f&&(k[C(0x183)]='PrivateLayout');if(!b[C(0x16b)]){const n=a109f[C(0x1ad)](C(0x17b));n&&await n[C(0x173)](a,b);}let l,m;if(d['engines'][C(0x17e)]===C(0x186)){if(d[C(0x177)]['ssr']===C(0x18d)){const r=this['fsi'][C(0x17d)]({'pathParts':[C(0x1a1),C(0x18e),C(0x1a5),C(0x19f)]});l=this[C(0x16d)][C(0x180)]({'pathParts':[r],'config':d});}else{const s=this[C(0x16d)]['pathFromApp']({'pathParts':[C(0x1a1),'startup',C(0x17e),C(0x19f)]});l=this['fsi'][C(0x180)]({'pathParts':[s],'config':d});}const o=this[C(0x16d)][C(0x1a9)](l)[C(0x171)]((t,u)=>{return t['includes']('import\x20*\x20as\x20Component\x20from\x20\x27./templates\x27;')?u+0x1:null;})[C(0x165)](t=>t!==null);let p=this[C(0x16d)]['readFileLines'](l)[C(0x171)]((t,u)=>{const D=C;return t[D(0x163)](D(0x189))?u+0x1:null;})[C(0x165)](t=>t!==null),q=this[C(0x16d)][C(0x1a9)](l)[C(0x171)]((t,u)=>{const E=C;return t[E(0x163)](E(0x16f))?u+0x1:null;})[C(0x165)](t=>t!==null);p[C(0x1a2)]>0x0&&q[C(0x1a2)]>0x0&&(k['newForm']=!![]);m=this[C(0x16d)][C(0x1aa)]({'srcPath':'route/route.js','framework':C(0x186),'context':k,'config':d});if(p[C(0x1a2)]>0x0||q[C(0x1a2)]>0x0){this[C(0x16d)][C(0x162)]({'filePath':l,'content':m,'lineNumber':o[0x0]});if(f&&q['length']>0x0)q=this[C(0x16d)][C(0x1a9)](l)[C(0x171)]((t,u)=>{const F=C;return t[F(0x163)](F(0x16f))?u+0x1:null;})[C(0x165)](t=>t!==null),this[C(0x16d)]['injectAfterLineNumber']({'filePath':l,'content':'\x09{'+k['templateName']+'}','lineNumber':q[0x0]});else p['length']>0x0?(p=this[C(0x16d)][C(0x1a9)](l)[C(0x171)]((t,u)=>{const G=C;return t[G(0x163)](G(0x189))?u+0x1:null;})[C(0x165)](t=>t!==null),this[C(0x16d)][C(0x162)]({'filePath':l,'content':'\x09{'+k[C(0x19b)]+'}','lineNumber':p[0x0]})):Log[C(0x167)](C(0x1a0)+l);}else{const t=this[C(0x16d)][C(0x1a9)](l)[C(0x171)](w=>{const H=C;return w[H(0x163)]('\x22*\x22');}),u=t[C(0x166)](!![])>-0x1,v=u?C(0x191):'</Router>';this[C(0x16d)]['injectIntoFile']({'filePath':l,'content':C(0x182)+m+C(0x182),'begin':C(0x175),'end':v});}}else{if(d['engines']['client']===C(0x18f)){const w=this[C(0x16d)][C(0x17d)]({'pathParts':['imports',C(0x18e),C(0x17e),C(0x19f)]});l=this[C(0x16d)][C(0x180)]({'pathParts':[w],'config':d}),m=this[C(0x16d)]['templateContent']({'srcPath':C(0x178),'context':k}),this[C(0x16d)]['injectAtEndOfFile']({'filePath':l,'content':'\x0a'+m});}}});}catch(f){Log[B(0x18a)](f);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a110c(){const p=['getProjectConfig','1330683ADFTRw','3482172ZByzST','10VwfiKy','template','lib','service/logger/logger.js','5099501dIuHBj','winston\x20setimmediate','fsi','16yxGbwX','toString','726912PPlZVb','apply','357iKEntf','maka\x20g:svc\x20service-logger\x20--type=logger','Installing\x20winston','withValue','4RduyVV','installNpmPackage','imports','engines','6048enLZfX','search','type','1007860lcJLMa','services','tsx','svc','logger','create','79862ULGITj','pathFromApp','(((.+)+)+)+$','constructor','resourceName','winston','maka\x20{generate,\x20g}:{service}\x20<resource-name>'];a110c=function(){return p;};return a110c();}function a110d(a,b){const c=a110c();return a110d=function(d,e){d=d-0x85;let f=c[d];return f;},a110d(a,b);}const a110m=a110d;(function(a,b){const j=a110d,c=a();while(!![]){try{const d=-parseInt(j(0xa3))/0x1*(-parseInt(j(0x92))/0x2)+parseInt(j(0x9a))/0x3*(-parseInt(j(0x85))/0x4)+parseInt(j(0x8c))/0x5+parseInt(j(0x9b))/0x6+parseInt(j(0xa7))/0x7*(parseInt(j(0x89))/0x8)+parseInt(j(0xa5))/0x9+parseInt(j(0x9c))/0xa*(-parseInt(j(0xa0))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a110c,0x9a8aa));const a110b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a110d;if(c){const e=c[k(0xa6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a110a=a110b(this,function(){const l=a110d;return a110a[l(0xa4)]()['search'](l(0x94))[l(0xa4)]()[l(0x95)](a110a)[l(0x8a)](l(0x94));});a110a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a110m(0x91)]({'name':'service','aliases':[a110m(0x8f)],'usage':a110m(0x98),'shortDesc':'Generate\x20a\x20service\x20to\x20run\x20within\x20your\x20meteor\x20application.','requiredOpts':[{'name':a110m(0x8b),'values':[a110m(0x90)]}],'validOpts':[],'maxArgLength':0x1,'examples':[a110m(0xa8)]},async function(a,b){const n=a110m;try{const c=this['fsi'][n(0x99)]();this['fsi'][n(0xaa)](c,async()=>{const o=n,d=this[o(0xa2)][o(0x93)]({}),f=paramCase(b['resourceName']),g={'name':pascalCase(b[o(0x96)]),'fileName':f,'camelCase':camelCase(b[o(0x96)]),'type':b[o(0x8b)],'engine':c[o(0x88)]['js'],'noRename':!![]};let h='js';c[o(0x88)]['js']===o(0x8e)&&(h='ts');if(b[o(0x8b)]==='logger'){!this['fsi']['checkNpmPackage'](o(0x97))&&await this[o(0xa2)][o(0x86)](o(0xa1),{'cwd':d,'msg':o(0xa9)});const i=this[o(0xa2)]['pathFromApp']({'pathParts':[o(0x87),'startup',o(0x9e),o(0x8d),f+'.'+h]});this[o(0xa2)][o(0x9d)]({'srcPath':o(0x9f),'destPath':i,'context':g,'config':c});}});}catch(d){Log['error'](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a111d,c=a();while(!![]){try{var d=parseInt(f(0x95))/0x1*(-parseInt(f(0x93))/0x2)+-parseInt(f(0x99))/0x3*(-parseInt(f(0x8e))/0x4)+parseInt(f(0x9a))/0x5*(-parseInt(f(0x97))/0x6)+parseInt(f(0x8d))/0x7*(-parseInt(f(0x94))/0x8)+-parseInt(f(0x8f))/0x9+parseInt(f(0x96))/0xa+parseInt(f(0x90))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a111c,0x723da));function a111d(a,b){var c=a111c();return a111d=function(d,e){d=d-0x8d;var f=c[d];return f;},a111d(a,b);}var a111b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a111a=a111b(this,function(){var g=a111d;return a111a[g(0x92)]()[g(0x98)](g(0x91))[g(0x92)]()['constructor'](a111a)[g(0x98)](g(0x91));});a111a();import'./translation.js';function a111c(){var h=['1099UqPSBn','2888bvOYiu','7333839ulVCPF','22645810qfunZA','(((.+)+)+)+$','toString','62OcvVtE','33416nEvoiv','7756cFezRo','4545080zjQFwV','2139444gLhpro','search','93XDzOzN','5WsjtWk'];a111c=function(){return h;};return a111c();}import'./openssl.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a112l=a112d;
|
|
1
|
+
const a112l=a112d;(function(a,b){const i=a112d,c=a();while(!![]){try{const d=parseInt(i(0x8d))/0x1*(parseInt(i(0xa9))/0x2)+-parseInt(i(0x95))/0x3+-parseInt(i(0xa3))/0x4+-parseInt(i(0xaa))/0x5+parseInt(i(0x9f))/0x6*(-parseInt(i(0xa7))/0x7)+parseInt(i(0x98))/0x8*(parseInt(i(0xa2))/0x9)+-parseInt(i(0xa1))/0xa*(-parseInt(i(0xa4))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a112c,0x73332));function a112c(){const o=['50tSPOSh','4001589tkyjiy','116620pMDGkY','126379uevdwK','appName','create','3574172DmwVbO','(((.+)+)+)+$','918730gsVGYY','1432490dDbJff','service','join','1bCjbzs','search','toString','getProjectConfig','openssl.conf','getConfigPath','openssl/openssl.conf','template','323835pZkdZT','maka\x20g:sslconfig\x20--env\x20dev','error','16fKYtUT','env','sslconfig','apply','_keys','fsi','withValue','6xcyTAH','Generate\x20a\x20new\x20openssl\x20config\x20file'];a112c=function(){return o;};return a112c();}const a112b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a112d;if(c){const e=c[j(0x9b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a112a=a112b(this,function(){const k=a112d;return a112a[k(0x8f)]()[k(0x8e)](k(0xa8))[k(0x8f)]()['constructor'](a112a)[k(0x8e)](k(0xa8));});a112a();import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';import a112e from'path';function a112d(a,b){const c=a112c();return a112d=function(d,e){d=d-0x8c;let f=c[d];return f;},a112d(a,b);}Generator[a112l(0xa6)]({'name':a112l(0x9a),'usage':'maka\x20{generate,\x20g}:sslconfig','shortDesc':a112l(0xa0),'noResource':!![],'requiredOpts':[a112l(0x99)],'examples':[a112l(0x96)],'validOpts':['env']},async function(a,b){const m=a112l;try{const c=await this['fsi'][m(0x90)](),d=await this[m(0x9d)]['getGlobalConfig'](),f=this[m(0x9d)][m(0x92)](b['env']),g=a112e[m(0x8c)](f,m(0x9c),m(0x91));await this[m(0x9d)][m(0x9e)](c,async()=>{const n=m,h={'app':d[n(0xa5)],'noRename':!![]};await this[n(0x9d)][n(0x94)]({'srcPath':n(0x93),'destPath':g,'framework':n(0xab),'context':h,'config':c});});}catch(h){Log[m(0x97)](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a113A=a113d;(function(a,b){const x=a113d,c=a();while(!![]){try{const d
|
|
1
|
+
const a113A=a113d;function a113d(a,b){const c=a113c();return a113d=function(d,e){d=d-0x1de;let f=c[d];return f;},a113d(a,b);}(function(a,b){const x=a113d,c=a();while(!![]){try{const d=parseInt(x(0x200))/0x1*(-parseInt(x(0x1fb))/0x2)+-parseInt(x(0x1fd))/0x3*(-parseInt(x(0x1f5))/0x4)+parseInt(x(0x20f))/0x5*(-parseInt(x(0x216))/0x6)+parseInt(x(0x1e1))/0x7*(-parseInt(x(0x1e9))/0x8)+-parseInt(x(0x1ec))/0x9*(-parseInt(x(0x1de))/0xa)+parseInt(x(0x208))/0xb*(parseInt(x(0x1f8))/0xc)+-parseInt(x(0x213))/0xd*(-parseInt(x(0x1e4))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a113c,0x25e7c));const a113b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a113d;if(c){const e=c[y(0x204)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a113a=a113b(this,function(){const z=a113d;return a113a[z(0x20e)]()['search'](z(0x21a))[z(0x20e)]()[z(0x1ff)](a113a)['search'](z(0x21a));});a113a();import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';import a113e from'fs';function a113c(){const D=['rewriteDestinationPathForEngine','7TdxsDA','fsi','i18n/i18n.js','11998LliawN','getGlobalConfig','maka\x20g:translation\x20--lang=fr','Verifying\x20npm\x20package\x20requirements:\x20i18next\x20...','lang','2426624oOlNBO','index.','translation','9fUGDzL','grep','isFile','setProjectConfig','i18next\x20i18next-browser-languagedetector\x20react-i18next','Generate\x20a\x20new\x20locale\x20translation','ssr','i18n.js','startup','82436rbvnpy','readFileSync','import\x20\x27../lib/services/translations/i18n\x27;','840DvCYMx','installNpmPackage','injectAtBeginningOfFile','2EbiQte','import\x20\x27../lib/services/translations/i18n\x27;\x0a','24kvcMRU','pathFromApp','constructor','247633atSdMd','create','template','maka\x20g:translation\x20--lang=de','apply','appName','exit','injectAtEndOfFile','8162zmvGqh','findAppDirectory','service','server','export\x20{\x20default\x20as\x20','translations','toString','5jjwWxf','\x20}\x20from\x20\x27./','engines','lib','9607olyPvh','imports','maka\x20{generate,\x20g}:translation\x20--lang=<language>','1839306sbbXUh','error','client','root','(((.+)+)+)+$','1626370zIzkJz','services'];a113c=function(){return D;};return a113c();}Generator[a113A(0x201)]({'name':a113A(0x1eb),'usage':a113A(0x215),'aliases':['i18n'],'shortDesc':a113A(0x1f1),'noResource':!![],'examples':['maka\x20g:translation\x20--lang=en\x20(default)',a113A(0x1e6),a113A(0x203)],'validOpts':[a113A(0x1e8)]},function(a,b){const B=a113A;try{const c=this[B(0x1e2)]['getProjectConfig'](),d=this[B(0x1e2)][B(0x1e5)](),f=this['fsi'][B(0x209)]();this[B(0x1e2)]['withValue'](c,()=>{const C=B;try{!b[C(0x1e8)]&&(b['lang']='en');!b[C(0x219)]&&!this[C(0x1e2)]['checkNpmPackage']('i18next')&&(Log['warn'](C(0x1e7)),this['fsi'][C(0x1f9)](C(0x1f0),{'cwd':f}),this[C(0x1e2)][C(0x1ef)]('features.withTranslations',!![]));const g=this[C(0x1e2)][C(0x1fe)]({'pathParts':[C(0x214),'startup',C(0x218),'index.js']}),h=this[C(0x1e2)][C(0x1e0)]({'pathParts':[g],'config':c}),i=this[C(0x1e2)][C(0x1ed)](a113e['readFileSync'](h)[C(0x20e)](),'import\x20\x27../lib/services/translations/i18n\x27;')[0x0]&&!![];if(c[C(0x211)][C(0x1f2)]==='true'){!i&&this[C(0x1e2)][C(0x1fa)]({'filePath':h,'content':C(0x1fc)});const t=this['fsi'][C(0x1fe)]({'pathParts':[C(0x214),C(0x1f4),C(0x20b),'index.js']}),u=this[C(0x1e2)]['rewriteDestinationPathForEngine']({'pathParts':[t],'config':c}),v=this[C(0x1e2)][C(0x1ed)](a113e['readFileSync'](u)[C(0x20e)](),C(0x1f7))[0x0]&&!![];!v&&this[C(0x1e2)][C(0x1fa)]({'filePath':u,'content':C(0x1fc)});}else!i&&this['fsi']['injectAtBeginningOfFile']({'filePath':h,'content':C(0x1fc)});const j={'app':d[C(0x205)],'config':c},k=this[C(0x1e2)]['pathFromApp']({'pathParts':[C(0x214),C(0x1f4),C(0x212),C(0x1df),C(0x20d),C(0x1f3)]}),l=this[C(0x1e2)][C(0x1ee)](this['fsi'][C(0x1e0)]({'pathParts':[k],'config':c}));!l&&this[C(0x1e2)][C(0x202)]({'srcPath':C(0x1e3),'destPath':k,'framework':C(0x20a),'context':j,'config':c});const m=this['fsi']['pathFromApp']({'pathParts':[C(0x214),C(0x1f4),'lib',C(0x1df),C(0x20d),'locales',b[C(0x1e8)]+'.js']}),n=this[C(0x1e2)][C(0x1e0)]({'pathParts':[m],'config':c}),o=this[C(0x1e2)]['isFile'](n);!o?this[C(0x1e2)]['template']({'srcPath':'i18n/locales.js','destPath':m,'framework':C(0x20a),'context':j,'config':c}):Log['warn']('Locale\x20already\x20defined:\x20'+n);const p=this['fsi']['pathFromApp']({'pathParts':['imports',C(0x1f4),C(0x212),C(0x1df),C(0x20d),'locales',C(0x1ea)+c[C(0x211)]['js']]}),q=this[C(0x1e2)][C(0x1e0)]({'pathParts':[p],'config':c}),r=this[C(0x1e2)][C(0x1ee)](q);!r&&this['fsi'][C(0x202)]({'srcPath':'i18n/index.js','destPath':p,'framework':C(0x20a),'context':j,'config':c});const s=this[C(0x1e2)][C(0x1ed)](a113e[C(0x1f6)](p)[C(0x20e)](),'default\x20as\x20'+b[C(0x1e8)])[0x0]&&!![];!s?this[C(0x1e2)][C(0x207)]({'filePath':p,'content':C(0x20c)+b[C(0x1e8)]+C(0x210)+b['lang']+'\x27;'}):Log['warn']('Locale\x20already\x20exported:\x20'+p);}catch(w){Log[C(0x217)](w),process[C(0x206)](0x1);}});}catch(g){Log[B(0x217)](g),process[B(0x206)](0x1);}});
|