@maka/maka-cli 4.5.24 → 4.5.26

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.
Files changed (132) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/aws/_index.js +1 -1
  5. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  6. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  7. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/build/_index.js +1 -1
  17. package/bundle/obf/src/commands/build/build.js +1 -1
  18. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/create.js +1 -1
  20. package/bundle/obf/src/commands/debug.js +1 -1
  21. package/bundle/obf/src/commands/deploy.js +1 -1
  22. package/bundle/obf/src/commands/game/_index.js +1 -1
  23. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  24. package/bundle/obf/src/commands/game/play.command.js +1 -1
  25. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  26. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  27. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  28. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  29. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  30. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  31. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  60. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  61. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  62. package/bundle/obf/src/commands/generate.js +1 -1
  63. package/bundle/obf/src/commands/get/_index.js +1 -1
  64. package/bundle/obf/src/commands/get/get.command.js +1 -1
  65. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  66. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  67. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  68. package/bundle/obf/src/commands/help.js +1 -1
  69. package/bundle/obf/src/commands/jsdoc.js +1 -1
  70. package/bundle/obf/src/commands/lint.js +1 -1
  71. package/bundle/obf/src/commands/login.js +1 -1
  72. package/bundle/obf/src/commands/logout.js +1 -1
  73. package/bundle/obf/src/commands/logs.js +1 -1
  74. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  75. package/bundle/obf/src/commands/murder.js +1 -1
  76. package/bundle/obf/src/commands/proxy.js +1 -1
  77. package/bundle/obf/src/commands/reconfig.js +1 -1
  78. package/bundle/obf/src/commands/run/_index.js +1 -1
  79. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  80. package/bundle/obf/src/commands/run/run.command.js +1 -1
  81. package/bundle/obf/src/commands/set/_index.js +1 -1
  82. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  83. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  84. package/bundle/obf/src/commands/set/set.command.js +1 -1
  85. package/bundle/obf/src/commands/ssh.js +1 -1
  86. package/bundle/obf/src/commands/ssl.js +1 -1
  87. package/bundle/obf/src/commands/test.js +1 -1
  88. package/bundle/obf/src/commands/version.js +1 -1
  89. package/bundle/obf/src/error.js +1 -1
  90. package/bundle/obf/src/exec.js +1 -1
  91. package/bundle/obf/src/generator.js +1 -1
  92. package/bundle/obf/src/generators/_index.js +1 -1
  93. package/bundle/obf/src/generators/api.js +1 -1
  94. package/bundle/obf/src/generators/collection.js +1 -1
  95. package/bundle/obf/src/generators/component.js +1 -1
  96. package/bundle/obf/src/generators/config.js +1 -1
  97. package/bundle/obf/src/generators/dbc.js +1 -1
  98. package/bundle/obf/src/generators/dockerfile.js +1 -1
  99. package/bundle/obf/src/generators/hook.js +1 -1
  100. package/bundle/obf/src/generators/kit.js +1 -1
  101. package/bundle/obf/src/generators/layout.js +1 -1
  102. package/bundle/obf/src/generators/maka.gen.js +1 -1
  103. package/bundle/obf/src/generators/methods.js +1 -1
  104. package/bundle/obf/src/generators/package.js +1 -1
  105. package/bundle/obf/src/generators/page.js +1 -1
  106. package/bundle/obf/src/generators/publish.js +1 -1
  107. package/bundle/obf/src/generators/route.js +1 -1
  108. package/bundle/obf/src/generators/service.js +1 -1
  109. package/bundle/obf/src/generators/services/_index.js +1 -1
  110. package/bundle/obf/src/generators/services/openssl.js +1 -1
  111. package/bundle/obf/src/generators/services/translation.js +1 -1
  112. package/bundle/obf/src/maka.js +1 -1
  113. package/bundle/obf/src/templates/react/hook/hook.js.jsx +1 -1
  114. package/bundle/obf/src/templates/react/hook/hook.js.tsx +1 -1
  115. package/bundle/obf/src/tool.js +1 -1
  116. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  117. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  118. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  119. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  120. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  121. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  122. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  123. package/bundle/obf/src/tools/https/https.class.js +1 -1
  124. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  125. package/bundle/obf/src/tools/log/log.class.js +1 -1
  126. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  127. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  128. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  129. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  130. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  131. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  132. package/package.json +1 -1
@@ -1 +1 @@
1
- const a95k=a95d;(function(a,b){const h=a95d,c=a();while(!![]){try{const d=-parseInt(h(0x1c6))/0x1*(parseInt(h(0x1ae))/0x2)+-parseInt(h(0x1b5))/0x3*(-parseInt(h(0x1b6))/0x4)+parseInt(h(0x1c0))/0x5*(-parseInt(h(0x1c1))/0x6)+-parseInt(h(0x1bc))/0x7+-parseInt(h(0x1ba))/0x8*(-parseInt(h(0x1a8))/0x9)+parseInt(h(0x1b2))/0xa*(-parseInt(h(0x1c4))/0xb)+-parseInt(h(0x1b8))/0xc*(-parseInt(h(0x1c5))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a95c,0x8aa3a));const a95b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a95d;if(c){const e=c[i(0x1a6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a95a=a95b(this,function(){const j=a95d;return a95a[j(0x1ad)]()['search']('(((.+)+)+)+$')[j(0x1ad)]()[j(0x1be)](a95a)['search']('(((.+)+)+)+$');});function a95d(a,b){const c=a95c();return a95d=function(d,e){d=d-0x1a6;let f=c[d];return f;},a95d(a,b);}a95a();import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a95k(0x1b1)]({'name':a95k(0x1aa),'usage':a95k(0x1bd),'shortDesc':'Generate\x20configuration\x20settings.','validOpts':['isDocker'],'examples':[a95k(0x1bb)]},function(a,b){const l=a95k,c=this[l(0x1a7)][l(0x1b3)]();this[l(0x1a7)][l(0x1bf)](c,async()=>{const m=l,d={'app':c[m(0x1ab)],'appFileCase':paramCase(c['appName']),'name':pascalCase(b[m(0x1c3)]),'fileName':paramCase(b['resourceName']),'camelCase':camelCase(b['resourceName']),'userName':m(0x1ac),'isDocker':b['isDocker']};let e=a[0x0];if(e===m(0x1b0))e=m(0x1b9);else e==='prod'&&(e='production');const f=this[m(0x1a7)][m(0x1b4)]({'pathParts':[m(0x1aa),e,m(0x1a9)]});this[m(0x1a7)][m(0x1b7)]({'srcPath':m(0x1af),'destPath':f,'context':d,'config':c});if(!b['isDocker']){const g=this['fsi'][m(0x1b4)]({'pathParts':[m(0x1aa),e,m(0x1c2)]});this[m(0x1a7)][m(0x1b7)]({'srcPath':'config/process.env','destPath':g,'context':d,'config':c});}});});function a95c(){const n=['11zSjfdn','5313776kpHpyZ','2954hlSrNy','apply','fsi','50823ftCVZu','settings.json','config','appName','ubuntu','toString','182zQPclC','config/settings.json','dev','create','3531050uKrpCY','getProjectConfig','pathFromProject','454611nWGUVS','8UPhCmV','template','24TYFtLB','development','1088AOLVdh','maka\x20g:config\x20production','4480952reLwXT','maka\x20{generate,\x20g}:{config}\x20<name>','constructor','withValue','293245ucvGcI','6fntpIY','process.env','resourceName'];a95c=function(){return n;};return a95c();}
1
+ const a95k=a95d;function a95c(){const n=['constructor','647328bztQad','1554fVTWAz','settings.json','12662wFgJUc','appName','apply','24JmbSAZ','754640DttWLd','resourceName','fsi','maka\x20g:config\x20production','toString','ubuntu','7428UXBxVT','(((.+)+)+)+$','template','development','pathFromProject','getProjectConfig','isDocker','config','1118530wolCFn','search','config/process.env','616428pnmUAn','804576KSUeET'];a95c=function(){return n;};return a95c();}(function(a,b){const h=a95d,c=a();while(!![]){try{const d=parseInt(h(0xf1))/0x1*(-parseInt(h(0xee))/0x2)+parseInt(h(0xe9))/0x3+parseInt(h(0xf2))/0x4+parseInt(h(0xe5))/0x5+parseInt(h(0xf8))/0x6*(-parseInt(h(0xec))/0x7)+-parseInt(h(0xeb))/0x8+parseInt(h(0xe8))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a95c,0x3aeca));const a95b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a95d;if(c){const e=c[i(0xf0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a95a=a95b(this,function(){const j=a95d;return a95a[j(0xf6)]()[j(0xe6)](j(0xde))[j(0xf6)]()[j(0xea)](a95a)[j(0xe6)](j(0xde));});a95a();import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';function a95d(a,b){const c=a95c();return a95d=function(d,e){d=d-0xde;let f=c[d];return f;},a95d(a,b);}Generator['create']({'name':a95k(0xe4),'usage':'maka\x20{generate,\x20g}:{config}\x20<name>','shortDesc':'Generate\x20configuration\x20settings.','validOpts':['isDocker'],'examples':[a95k(0xf5)]},function(a,b){const l=a95k,c=this[l(0xf4)][l(0xe2)]();this[l(0xf4)]['withValue'](c,async()=>{const m=l,d={'app':c[m(0xef)],'appFileCase':paramCase(c[m(0xef)]),'name':pascalCase(b['resourceName']),'fileName':paramCase(b[m(0xf3)]),'camelCase':camelCase(b[m(0xf3)]),'userName':m(0xf7),'isDocker':b[m(0xe3)]};let e=a[0x0];if(e==='dev')e=m(0xe0);else e==='prod'&&(e='production');const f=this[m(0xf4)]['pathFromProject']({'pathParts':[m(0xe4),e,m(0xed)]});this['fsi'][m(0xdf)]({'srcPath':'config/settings.json','destPath':f,'context':d,'config':c});if(!b[m(0xe3)]){const g=this['fsi'][m(0xe1)]({'pathParts':['config',e,'process.env']});this[m(0xf4)][m(0xdf)]({'srcPath':m(0xe7),'destPath':g,'context':d,'config':c});}});});
@@ -1 +1 @@
1
- function a96d(a,b){const c=a96c();return a96d=function(d,e){d=d-0x148;let f=c[d];return f;},a96d(a,b);}const a96q=a96d;(function(a,b){const n=a96d,c=a();while(!![]){try{const d=-parseInt(n(0x15a))/0x1*(parseInt(n(0x154))/0x2)+parseInt(n(0x153))/0x3*(-parseInt(n(0x17f))/0x4)+-parseInt(n(0x14b))/0x5*(-parseInt(n(0x163))/0x6)+-parseInt(n(0x175))/0x7+parseInt(n(0x15f))/0x8*(-parseInt(n(0x181))/0x9)+parseInt(n(0x177))/0xa+parseInt(n(0x148))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a96c,0x19f32));const a96b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a96d;if(c){const e=c[o(0x150)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a96a=a96b(this,function(){const p=a96d;return a96a[p(0x14f)]()['search'](p(0x14d))[p(0x14f)]()[p(0x14a)](a96a)[p(0x170)]('(((.+)+)+)+$');});a96a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';Generator[a96q(0x16e)]({'name':'dbc','usage':a96q(0x185),'shortDesc':a96q(0x16b),'validOpts':['type','dir'],'examples':[a96q(0x16a),a96q(0x166),a96q(0x17e)]},async function(a,b){const r=a96q;try{const c=await this['fsi'][r(0x174)](),d=this[r(0x16c)]['pathFromApp']({}),f=paramCase(b['resourceName']);if(!b[r(0x178)]){const h={'type':r(0x152),'name':r(0x161),'message':'DB\x20Driver','choices':[{'name':'PostgreSQL','value':'pgsql'},{'name':r(0x169),'value':'mssql'}]},{dbAnswer:i}=await Actions[r(0x167)](h);i&&(b[r(0x178)]=i);}const g={'name':pascalCase(b[r(0x184)]),'fileName':paramCase(b[r(0x184)]),'camelCase':camelCase(b[r(0x184)]),'type':b[r(0x178)],'engine':c[r(0x155)]['js'],'noRename':!![]};this[r(0x16c)][r(0x168)](c,async()=>{const s=r;let j='js';c['engines']['js']===s(0x16d)&&(j='ts');const k=[s(0x149),'pgsql'];if(k[s(0x17d)](g['type'])<0x0){const m=g[s(0x178)]?g[s(0x178)]:s(0x179);Log[s(0x17b)](s(0x17c)+m+s(0x180));return;}b[s(0x178)]===s(0x15d)&&!this[s(0x16c)][s(0x156)]('pg')&&(Log[s(0x157)](s(0x15b)),await this[s(0x16c)][s(0x172)]('pg',{'cwd':d}));b[s(0x178)]===s(0x149)&&!this[s(0x16c)][s(0x156)](s(0x149))&&(Log[s(0x157)](s(0x151)),await this[s(0x16c)]['installNpmPackage'](s(0x149),{'cwd':d}));b[s(0x178)]===s(0x14e)&&!this[s(0x16c)][s(0x156)]('better-sqlite3')&&(Log[s(0x157)](s(0x15e)),await this[s(0x16c)][s(0x172)](s(0x16f),{'cwd':d}));this[s(0x16c)]['template']({'srcPath':s(0x186),'destPath':this[s(0x16c)][s(0x160)]({'pathParts':[s(0x159),'startup',s(0x176),s(0x183),b[s(0x171)],f,s(0x187)+j]}),'context':g,'config':c}),this[s(0x16c)][s(0x182)]({'srcPath':s(0x173),'destPath':this['fsi'][s(0x160)]({'pathParts':[s(0x159),'startup',s(0x176),s(0x183),b[s(0x171)],f,'conn.'+j]}),'context':g,'config':c}),this[s(0x16c)][s(0x182)]({'srcPath':s(0x165),'destPath':this[s(0x16c)]['pathFromApp']({'pathParts':[s(0x159),s(0x158),s(0x176),s(0x164)+f+s(0x14c)+j]}),'context':g,'config':c});const l=this[s(0x16c)][s(0x160)]({'pathParts':['imports',s(0x158),s(0x176),'index.'+c[s(0x155)]['js']]});this[s(0x16c)][s(0x162)]({'filePath':l,'content':s(0x17a)+f+s(0x15c)});});}catch(j){Log[r(0x17b)](j);}});function a96c(){const t=['list','152289mIQSxq','58312KUDwuZ','engines','checkNpmPackage','warn','startup','imports','5NSSpzS','Npm\x20package\x20\x22pg\x22\x20not\x20installed,\x20installing...','-dbc\x27;','pgsql','Npm\x20package\x20\x22better-sqlite3\x22\x20not\x20installed,\x20installing...','999584tdTVYL','pathFromApp','dbAnswer','injectAtEndOfFile','42kEPBqp','register-','dbc/register-dbc.js','maka\x20g:dbc\x20azure\x20--type=mssql','options','withValue','MS\x20SQL','maka\x20g:dbc\x20geoserver\x20--type=pgsql','Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','fsi','tsx','create','better-sqlite3','search','dir','installNpmPackage','dbc/conn.js','getProjectConfig','143549LyOCje','server','18130wrNeCa','type','(blank)','import\x20\x27./register-','error','Invalid\x20type\x20','indexOf','maka\x20g:dbc\x20todos\x20--type=sqlite','4PvZvMs',',\x20you\x20must\x20provide\x20a\x20valid\x20type\x20as\x20an\x20argument','9AEBTvA','template','dbc','resourceName','maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','dbc/config.js','config.','3186348TgfzAY','mssql','constructor','112005OpJlvq','-dbc.','(((.+)+)+)+$','sqlite','toString','apply','Npm\x20package\x20\x22mssql\x22\x20not\x20installed,\x20installing...'];a96c=function(){return t;};return a96c();}
1
+ function a96d(a,b){const c=a96c();return a96d=function(d,e){d=d-0x7c;let f=c[d];return f;},a96d(a,b);}const a96q=a96d;(function(a,b){const n=a96d,c=a();while(!![]){try{const d=parseInt(n(0x88))/0x1*(-parseInt(n(0x91))/0x2)+-parseInt(n(0xb5))/0x3+parseInt(n(0x8c))/0x4*(parseInt(n(0x83))/0x5)+-parseInt(n(0x98))/0x6+-parseInt(n(0x97))/0x7*(-parseInt(n(0xa5))/0x8)+parseInt(n(0xa0))/0x9+parseInt(n(0x7e))/0xa*(parseInt(n(0xa6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a96c,0xa7676));const a96b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a96d;if(c){const e=c[o(0x9e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a96a=a96b(this,function(){const p=a96d;return a96a['toString']()[p(0x82)]('(((.+)+)+)+$')[p(0xa3)]()['constructor'](a96a)['search'](p(0xa4));});a96a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';function a96c(){const t=['284FQcPxr','startup','Npm\x20package\x20\x22mssql\x22\x20not\x20installed,\x20installing...','getProjectConfig','Invalid\x20type\x20','46jlujYK','dbAnswer','tsx','dbc/register-dbc.js','server','register-','3355919nsvnXJ','3464544rhNCWv','Npm\x20package\x20\x22better-sqlite3\x22\x20not\x20installed,\x20installing...','Npm\x20package\x20\x22pg\x22\x20not\x20installed,\x20installing...','resourceName','config.','template','apply','error','1735344OuLula','maka\x20g:dbc\x20todos\x20--type=sqlite','pathFromApp','toString','(((.+)+)+)+$','8zmqviP','14369663upLFin','-dbc\x27;','better-sqlite3','options','(blank)','-dbc.','injectAtEndOfFile','maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','withValue','imports','MS\x20SQL','fsi','warn','dbc','create','1587936oreIoL','type','pgsql','10kDskBG','sqlite','DB\x20Driver','installNpmPackage','search','6025VIRRWW','mssql','PostgreSQL','checkNpmPackage','engines','11813RhTMuQ','dir','Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','dbc/config.js'];a96c=function(){return t;};return a96c();}Generator[a96q(0xb4)]({'name':a96q(0xb3),'usage':a96q(0xad),'shortDesc':a96q(0x8a),'validOpts':[a96q(0x7c),a96q(0x89)],'examples':['maka\x20g:dbc\x20geoserver\x20--type=pgsql','maka\x20g:dbc\x20azure\x20--type=mssql',a96q(0xa1)]},async function(a,b){const r=a96q;try{const c=await this[r(0xb1)][r(0x8f)](),d=this[r(0xb1)][r(0xa2)]({}),f=paramCase(b[r(0x9b)]);if(!b[r(0x7c)]){const h={'type':'list','name':r(0x92),'message':r(0x80),'choices':[{'name':r(0x85),'value':r(0x7d)},{'name':r(0xb0),'value':r(0x84)}]},{dbAnswer:i}=await Actions[r(0xa9)](h);i&&(b['type']=i);}const g={'name':pascalCase(b[r(0x9b)]),'fileName':paramCase(b['resourceName']),'camelCase':camelCase(b[r(0x9b)]),'type':b['type'],'engine':c[r(0x87)]['js'],'noRename':!![]};this[r(0xb1)][r(0xae)](c,async()=>{const s=r;let j='js';c[s(0x87)]['js']===s(0x93)&&(j='ts');const k=[s(0x84),s(0x7d)];if(k['indexOf'](g[s(0x7c)])<0x0){const m=g[s(0x7c)]?g[s(0x7c)]:s(0xaa);Log[s(0x9f)](s(0x90)+m+',\x20you\x20must\x20provide\x20a\x20valid\x20type\x20as\x20an\x20argument');return;}b[s(0x7c)]===s(0x7d)&&!this[s(0xb1)][s(0x86)]('pg')&&(Log[s(0xb2)](s(0x9a)),await this[s(0xb1)]['installNpmPackage']('pg',{'cwd':d}));b[s(0x7c)]===s(0x84)&&!this[s(0xb1)][s(0x86)](s(0x84))&&(Log[s(0xb2)](s(0x8e)),await this[s(0xb1)][s(0x81)](s(0x84),{'cwd':d}));b['type']===s(0x7f)&&!this['fsi'][s(0x86)](s(0xa8))&&(Log['warn'](s(0x99)),await this[s(0xb1)][s(0x81)](s(0xa8),{'cwd':d}));this[s(0xb1)][s(0x9d)]({'srcPath':s(0x8b),'destPath':this['fsi'][s(0xa2)]({'pathParts':[s(0xaf),s(0x8d),'server','dbc',b['dir'],f,s(0x9c)+j]}),'context':g,'config':c}),this[s(0xb1)][s(0x9d)]({'srcPath':'dbc/conn.js','destPath':this[s(0xb1)][s(0xa2)]({'pathParts':[s(0xaf),s(0x8d),s(0x95),s(0xb3),b[s(0x89)],f,'conn.'+j]}),'context':g,'config':c}),this['fsi'][s(0x9d)]({'srcPath':s(0x94),'destPath':this['fsi']['pathFromApp']({'pathParts':['imports',s(0x8d),'server',s(0x96)+f+s(0xab)+j]}),'context':g,'config':c});const l=this[s(0xb1)][s(0xa2)]({'pathParts':[s(0xaf),'startup','server','index.'+c[s(0x87)]['js']]});this['fsi'][s(0xac)]({'filePath':l,'content':'import\x20\x27./register-'+f+s(0xa7)});});}catch(j){Log[r(0x9f)](j);}});
@@ -1 +1 @@
1
- function a97d(a,b){const c=a97c();return a97d=function(d,e){d=d-0x75;let f=c[d];return f;},a97d(a,b);}const a97i=a97d;(function(a,b){const f=a97d,c=a();while(!![]){try{const d=parseInt(f(0x79))/0x1*(parseInt(f(0x8e))/0x2)+-parseInt(f(0x8d))/0x3+parseInt(f(0x77))/0x4*(parseInt(f(0x78))/0x5)+parseInt(f(0x91))/0x6+parseInt(f(0x8b))/0x7*(-parseInt(f(0x87))/0x8)+parseInt(f(0x7c))/0x9+parseInt(f(0x80))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a97c,0x26a67));const a97b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a97d;if(c){const e=c[g(0x90)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a97a=a97b(this,function(){const h=a97d;return a97a[h(0x8a)]()[h(0x84)](h(0x76))[h(0x8a)]()[h(0x7f)](a97a)[h(0x84)](h(0x76));});a97a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a97c(){const l=['search','Generate\x20an\x20updated\x20dockerfile','app.tar.gz','48016hmhCZz','app','service','toString','77pDvwJf','appName','706512eUAooN','113062KsokDA','join','apply','159738aVEHxT','cert','getGlobalConfig','create','withValue','(((.+)+)+)+$','40HnBSqD','75275kLHQuW','3IrfGDV','getProjectConfig','maka\x20{generate,\x20g}:dockerfile','934803dvTQtc','findProjectDirectory','error','constructor','92040AInMxG','fsi','template','maka\x20g:dockerfile'];a97c=function(){return l;};return a97c();}import a97e from'path';Generator[a97i(0x94)]({'name':'dockerfile','usage':a97i(0x7b),'shortDesc':a97i(0x85),'validOpts':[],'noResource':!![],'examples':[a97i(0x83)]},async function(){const j=a97i;try{const a=await this[j(0x81)][j(0x7a)](),b=await this[j(0x81)][j(0x93)](),c=this[j(0x81)][j(0x7d)]();this[j(0x81)][j(0x75)](a,async()=>{const k=j,d={'app':b[k(0x8c)],'config':a,'appPath':a97e[k(0x8f)](c,k(0x88)),'bundlePath':a97e[k(0x8f)](c,'build',k(0x86)),'useCert':this[k(0x81)]['isFile'](b[k(0x92)])};this[k(0x81)][k(0x82)]({'srcPath':'docker/Dockerfile','destPath':a97e[k(0x8f)](c,'Dockerfile'),'framework':k(0x89),'context':d,'config':a});});}catch(d){Log[j(0x7e)](d);}});
1
+ const a97i=a97d;(function(a,b){const f=a97d,c=a();while(!![]){try{const d=parseInt(f(0x193))/0x1+-parseInt(f(0x192))/0x2*(-parseInt(f(0x19c))/0x3)+-parseInt(f(0x197))/0x4*(-parseInt(f(0x198))/0x5)+parseInt(f(0x1a3))/0x6*(parseInt(f(0x18a))/0x7)+-parseInt(f(0x185))/0x8*(-parseInt(f(0x19e))/0x9)+-parseInt(f(0x18b))/0xa+parseInt(f(0x187))/0xb*(-parseInt(f(0x186))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a97c,0xd0b69));const a97b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a97d;if(c){const e=c[g(0x19d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a97a=a97b(this,function(){const h=a97d;return a97a[h(0x199)]()['search']('(((.+)+)+)+$')[h(0x199)]()[h(0x18e)](a97a)[h(0x188)](h(0x183));});a97a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a97e from'path';Generator[a97i(0x18c)]({'name':a97i(0x191),'usage':a97i(0x196),'shortDesc':'Generate\x20an\x20updated\x20dockerfile','validOpts':[],'noResource':!![],'examples':[a97i(0x189)]},async function(){const j=a97i;try{const a=await this['fsi']['getProjectConfig'](),b=await this[j(0x184)]['getGlobalConfig'](),c=this[j(0x184)]['findProjectDirectory']();this['fsi']['withValue'](a,async()=>{const k=j,d={'app':b[k(0x194)],'config':a,'appPath':a97e[k(0x1a1)](c,k(0x19f)),'bundlePath':a97e[k(0x1a1)](c,'build',k(0x195)),'useCert':this[k(0x184)][k(0x1a2)](b[k(0x190)])};this['fsi'][k(0x1a0)]({'srcPath':k(0x18f),'destPath':a97e[k(0x1a1)](c,k(0x19b)),'framework':k(0x18d),'context':d,'config':a});});}catch(d){Log[j(0x19a)](d);}});function a97d(a,b){const c=a97c();return a97d=function(d,e){d=d-0x183;let f=c[d];return f;},a97d(a,b);}function a97c(){const l=['Dockerfile','2565ItkBJT','apply','100944tWpcrV','app','template','join','isFile','12vfLOKa','(((.+)+)+)+$','fsi','128tHXDEB','9794628iGBBmM','55LCnfWr','search','maka\x20g:dockerfile','3997826uyXoeh','2831400ZzkYap','create','service','constructor','docker/Dockerfile','cert','dockerfile','3966CsUgYT','1319289yzliHw','appName','app.tar.gz','maka\x20{generate,\x20g}:dockerfile','13476IqBjCb','1310lXnkKY','toString','error'];a97c=function(){return l;};return a97c();}
@@ -1 +1 @@
1
- const a98r=a98d;(function(a,b){const o=a98d,c=a();while(!![]){try{const d=parseInt(o(0x144))/0x1+parseInt(o(0x139))/0x2+parseInt(o(0x111))/0x3*(-parseInt(o(0x13e))/0x4)+parseInt(o(0x12d))/0x5*(-parseInt(o(0x131))/0x6)+parseInt(o(0x13a))/0x7+-parseInt(o(0x13b))/0x8+parseInt(o(0x11c))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a98c,0xaa7bb));const a98b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a98d;if(c){const e=c[p(0x135)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a98a=a98b(this,function(){const q=a98d;return a98a['toString']()['search'](q(0x128))[q(0x112)]()[q(0x119)](a98a)[q(0x110)](q(0x128));});a98a();function a98d(a,b){const c=a98c();return a98d=function(d,e){d=d-0x106;let f=c[d];return f;},a98d(a,b);}import a98e from'path';import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a98c(){const u=['templates.js','engines','injectAtBeginningOfFile','injectAtEndOfFile','className','dir','constructor','export\x20{\x20','error','4680828yflNVa','\x20}\x20from\x20\x27','fileName','@apollo/client','lib','setTemplate','hook/hook.js','maka\x20g:hook\x20cool-hook','none','@apollo/client\x20isomorphic-fetch','/imports/ui/hooks','ssr','(((.+)+)+)+$','.css','\x27;\x0a','features','startup','20MCoyGp','withValue','test','checkNpmPackage','460014RgVulJ','import\x20\x27','cssCaseName','string','apply','getProjectConfig','import\x20\x27./','resourceName','678894QHESdc','852082adsLQq','1354096PufvqG','.app-tests.js','graphql','8AOCnOH','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','react','test/test.js','client','imports','942654SXAJQN','css','assign','rewriteDestinationPathForEngine','pathFromApp','true','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','theme','import\x20{\x20','fsi','pathFromProject','template','search','1124523TsZrEz','toString'];a98c=function(){return u;};return a98c();}import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Generator['create']({'name':'hook','aliases':['h'],'checkWhere':![],'usage':'maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','shortDesc':a98r(0x13f),'validOpts':['dir'],'examples':[a98r(0x123)]},async function(a,b){const s=a98r;try{const c=this['fsi']['checkNpmPackage'](s(0x140));if(!c){Log[s(0x11b)]('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');throw new UsageError();}const d=this[s(0x10d)][s(0x108)](b),f=s(0x126),g=this[s(0x10d)][s(0x108)]({'pathParts':[f,b['dir'],paramCase(b[s(0x138)]),paramCase(b['resourceName'])]}),h=await this[s(0x10d)][s(0x136)]();this['fsi'][s(0x12e)](h,async()=>{const t=s;typeof h[t(0x10f)][t(0x145)]===t(0x134)&&(h[t(0x10f)][t(0x145)]=h['template'][t(0x145)]===t(0x109)?!![]:![],this[t(0x10d)][t(0x121)](t(0x145),h[t(0x10f)][t(0x145)]));h[t(0x114)][t(0x13d)]==='apollo'&&!this[t(0x130)](t(0x11f))&&(Log['warn'](t(0x10a)),await this[t(0x10d)]['installNpmPackage'](t(0x125),{'cwd':d}));const i={'cssCaseName':paramCase(b[t(0x138)]),'className':pascalCase(b[t(0x138)]),'name':pascalCase(b[t(0x138)]),'graphql':h[t(0x114)][t(0x13d)],'theme':h[t(0x114)][t(0x10b)],'features':h[t(0x12b)],'myPath':a98e['relative'](this[t(0x10d)][t(0x10e)]({}),g),'fileName':paramCase(b[t(0x138)]),'isComponent':![],'isLayout':![],'withTranslations':h[t(0x12b)]['withTranslations']};this[t(0x10d)][t(0x10f)]({'srcPath':t(0x122),'destPath':g+'.js','context':i,'config':h,'framework':t(0x140)});h[t(0x10f)][t(0x145)]&&(this[t(0x10d)]['template']({'srcPath':'template/template.css','destPath':g+t(0x129),'context':Object[t(0x106)]({},i,{'className':i[t(0x133)]}),'config':h}),this[t(0x10d)][t(0x115)]({'filePath':g+'.'+h[t(0x114)]['js'],'content':t(0x137)+i[t(0x11e)]+'.'+h[t(0x114)][t(0x145)]+'\x27;'}));h[t(0x114)][t(0x12f)]!==t(0x124)&&this[t(0x10d)]['template']({'srcPath':t(0x141),'destPath':g+t(0x13c),'framework':t(0x140),'context':i,'config':h});const j=b[t(0x118)]?'/'+b['dir']+'/':'/',k=''+f+j+i[t(0x11e)]+'/'+i[t(0x11e)];let l;if(h['engines'][t(0x127)]===t(0x109)){const m=this[t(0x10d)]['pathFromApp']({'pathParts':[t(0x143),'startup',t(0x120),'templates.js']});l=this[t(0x10d)][t(0x107)]({'pathParts':[m],'config':h});}else{const n=this[t(0x10d)]['pathFromApp']({'pathParts':[t(0x143),t(0x12c),t(0x142),t(0x113)]});l=this[t(0x10d)]['rewriteDestinationPathForEngine']({'pathParts':[n],'config':h});}h['engines'][t(0x142)]===t(0x140)?(h[t(0x114)]['js']==='tsx'?this['fsi'][t(0x115)]({'filePath':l,'content':'import\x20{\x20'+i[t(0x117)]+'\x20}\x20from\x20\x27'+k+t(0x12a)}):this[t(0x10d)][t(0x115)]({'filePath':l,'content':t(0x10c)+i[t(0x117)]+t(0x11d)+k+'.'+h[t(0x114)]['js']+t(0x12a)}),this[t(0x10d)][t(0x116)]({'filePath':l,'content':t(0x11a)+i[t(0x117)]+'\x20};\x0a'})):this[t(0x10d)]['injectAtEndOfFile']({'filePath':l,'content':t(0x132)+k+'.'+h['engines']['js']+t(0x12a)});});}catch(i){Log[s(0x11b)](i);}});
1
+ const a98q=a98d;(function(a,b){const o=a98d,c=a();while(!![]){try{const d=-parseInt(o(0xd3))/0x1*(parseInt(o(0xe1))/0x2)+-parseInt(o(0xbc))/0x3+parseInt(o(0xba))/0x4*(-parseInt(o(0xbd))/0x5)+-parseInt(o(0xca))/0x6+-parseInt(o(0xc5))/0x7*(parseInt(o(0xa8))/0x8)+-parseInt(o(0xcf))/0x9+parseInt(o(0xdc))/0xa*(parseInt(o(0xc0))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a98c,0x195d7));const a98b=(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;};}()),a98a=a98b(this,function(){const p=a98d;return a98a[p(0xb7)]()['search']('(((.+)+)+)+$')[p(0xb7)]()[p(0xac)](a98a)[p(0xa9)](p(0xe2));});function a98c(){const t=['fileName','constructor','error','rewriteDestinationPathForEngine','cssCaseName','assign','string','\x20};\x0a','.js','theme','pathFromApp','templates.js','toString','getProjectConfig','startup','4848VrwtmL','true','52677uCoIDy','330vqIpuy','engines','.css','11iNQEsi','setTemplate','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','import\x20\x27','test','1995epgweY','css','withValue','className','ssr','999432ZVEvQE','installNpmPackage','tsx','warn','pathFromProject','1386765pgXcVs','imports','checkNpmPackage','template','15MbuqFh','@apollo/client','.app-tests.js','maka\x20g:hook\x20cool-hook','injectAtBeginningOfFile','\x27;\x0a','import\x20\x27./','apollo','hook/hook.js','8308180mFGkMq','test/test.js','client','dir','fsi','26152AKIVAa','(((.+)+)+)+$','export\x20{\x20','resourceName','none','import\x20{\x20','graphql','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','/imports/ui/hooks','injectAtEndOfFile','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','3160GLeNhY','search','react'];a98c=function(){return t;};return a98c();}function a98d(a,b){const c=a98c();return a98d=function(d,e){d=d-0xa7;let f=c[d];return f;},a98d(a,b);}a98a();import a98e from'path';import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Generator['create']({'name':'hook','aliases':['h'],'checkWhere':![],'usage':a98q(0xc2),'shortDesc':a98q(0xe9),'validOpts':['dir'],'examples':[a98q(0xd6)]},async function(a,b){const r=a98q;try{const c=this[r(0xe0)][r(0xd1)](r(0xaa));if(!c){Log['error'](r(0xe8));throw new UsageError();}const d=this[r(0xe0)][r(0xb5)](b),f=r(0xea),g=this['fsi'][r(0xb5)]({'pathParts':[f,b[r(0xdf)],paramCase(b['resourceName']),paramCase(b[r(0xe4)])]}),h=await this['fsi'][r(0xb8)]();this['fsi'][r(0xc7)](h,async()=>{const s=r;typeof h[s(0xd2)][s(0xc6)]===s(0xb1)&&(h['template'][s(0xc6)]=h[s(0xd2)][s(0xc6)]===s(0xbb)?!![]:![],this[s(0xe0)][s(0xc1)](s(0xc6),h['template']['css']));h[s(0xbe)]['graphql']===s(0xda)&&!this[s(0xd1)](s(0xd4))&&(Log[s(0xcd)](s(0xa7)),await this['fsi'][s(0xcb)]('@apollo/client\x20isomorphic-fetch',{'cwd':d}));const i={'cssCaseName':paramCase(b[s(0xe4)]),'className':pascalCase(b[s(0xe4)]),'name':pascalCase(b[s(0xe4)]),'graphql':h[s(0xbe)][s(0xe7)],'theme':h[s(0xbe)][s(0xb4)],'features':h['features'],'myPath':a98e['relative'](this[s(0xe0)][s(0xce)]({}),g),'fileName':paramCase(b[s(0xe4)]),'isComponent':![],'isLayout':![],'withTranslations':h['features']['withTranslations']};this['fsi'][s(0xd2)]({'srcPath':s(0xdb),'destPath':g+s(0xb3),'context':i,'config':h,'framework':s(0xaa)});h[s(0xd2)]['css']&&(this[s(0xe0)][s(0xd2)]({'srcPath':'template/template.css','destPath':g+s(0xbf),'context':Object[s(0xb0)]({},i,{'className':i[s(0xaf)]}),'config':h}),this[s(0xe0)][s(0xd7)]({'filePath':g+'.'+h[s(0xbe)]['js'],'content':s(0xd9)+i[s(0xab)]+'.'+h[s(0xbe)][s(0xc6)]+'\x27;'}));h[s(0xbe)][s(0xc4)]!==s(0xe5)&&this[s(0xe0)]['template']({'srcPath':s(0xdd),'destPath':g+s(0xd5),'framework':s(0xaa),'context':i,'config':h});const j=b[s(0xdf)]?'/'+b[s(0xdf)]+'/':'/',k=''+f+j+i[s(0xab)]+'/'+i[s(0xab)];let l;if(h[s(0xbe)][s(0xc9)]===s(0xbb)){const m=this[s(0xe0)][s(0xb5)]({'pathParts':[s(0xd0),'startup','lib',s(0xb6)]});l=this['fsi'][s(0xae)]({'pathParts':[m],'config':h});}else{const n=this[s(0xe0)]['pathFromApp']({'pathParts':[s(0xd0),s(0xb9),s(0xde),s(0xb6)]});l=this[s(0xe0)][s(0xae)]({'pathParts':[n],'config':h});}h[s(0xbe)][s(0xde)]==='react'?(h[s(0xbe)]['js']===s(0xcc)?this['fsi']['injectAtBeginningOfFile']({'filePath':l,'content':s(0xe6)+i[s(0xc8)]+'\x20}\x20from\x20\x27'+k+'\x27;\x0a'}):this[s(0xe0)]['injectAtBeginningOfFile']({'filePath':l,'content':s(0xe6)+i[s(0xc8)]+'\x20}\x20from\x20\x27'+k+'.'+h[s(0xbe)]['js']+s(0xd8)}),this[s(0xe0)][s(0xeb)]({'filePath':l,'content':s(0xe3)+i[s(0xc8)]+s(0xb2)})):this[s(0xe0)][s(0xeb)]({'filePath':l,'content':s(0xc3)+k+'.'+h[s(0xbe)]['js']+s(0xd8)});});}catch(i){Log[r(0xad)](i);}});
@@ -1 +1 @@
1
- const a99j=a99d;(function(a,b){const h=a99d,c=a();while(!![]){try{const d=-parseInt(h(0x7d))/0x1*(-parseInt(h(0x76))/0x2)+parseInt(h(0x7e))/0x3+parseInt(h(0x77))/0x4+parseInt(h(0x6c))/0x5+parseInt(h(0x7a))/0x6+parseInt(h(0x80))/0x7*(-parseInt(h(0x73))/0x8)+-parseInt(h(0x6d))/0x9*(parseInt(h(0x72))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a99c,0x91ee6));function a99d(a,b){const c=a99c();return a99d=function(d,e){d=d-0x66;let f=c[d];return f;},a99d(a,b);}const a99b=(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;};}()),a99a=a99b(this,function(){const i=a99d;return a99a[i(0x71)]()[i(0x67)](i(0x6b))[i(0x71)]()['constructor'](a99a)['search']('(((.+)+)+)+$');});function a99c(){const m=['5548305FiUvPZ','279keCqvj','maka\x20g:kit\x20--type=map','login','fsi','toString','805510xhzZwJ','120GuLZrF','Invalid\x20type\x20','kit','44mWHaXC','3150108pcEksL','NIE','type','2841222KZPOtf','error','maka\x20{generate,\x20g}:{kit}\x20<kit-name>','25118XDwnpv','1412997FxLDxR','(Placeholder)\x20Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','139769XoEcwK','maka\x20g:k\x20city-map\x20--type=leaflet-map','leaflet-map','search','withValue','resourceName','getProjectConfig','(((.+)+)+)+$'];a99c=function(){return m;};return a99c();}a99a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator['create']({'name':a99j(0x75),'aliases':['k'],'usage':a99j(0x7c),'shortDesc':a99j(0x7f),'validOpts':[a99j(0x79)],'examples':[a99j(0x6e),a99j(0x81)]},async function(a,b){const k=a99j;try{const c=this['fsi'][k(0x6a)]();this[k(0x70)][k(0x68)](c,async()=>{const l=k,d={'name':pascalCase(b[l(0x69)]),'fileName':paramCase(b['resourceName']),'camelCase':camelCase(b[l(0x69)]),'type':b[l(0x79)],'engine':c['engines']['js'],'noRename':!![]},f=[l(0x66),l(0x6f)];if(f['indexOf'](d['type'])<0x0){const g=d[l(0x79)]?d[l(0x79)]:'(blank)';Log[l(0x7b)](l(0x74)+g+',\x20you\x20must\x20provide\x20a\x20valid\x20type\x20as\x20an\x20argument');return;}b['type']==='map'&&Log['notice'](l(0x78)),b[l(0x79)]===l(0x6f)&&Log['notice'](l(0x78));});}catch(d){Log[k(0x7b)](d);}});
1
+ const a99k=a99d;function a99d(a,b){const c=a99c();return a99d=function(d,e){d=d-0x6f;let f=c[d];return f;},a99d(a,b);}(function(a,b){const h=a99d,c=a();while(!![]){try{const d=parseInt(h(0x80))/0x1+-parseInt(h(0x87))/0x2+-parseInt(h(0x71))/0x3+-parseInt(h(0x77))/0x4+parseInt(h(0x83))/0x5*(-parseInt(h(0x73))/0x6)+parseInt(h(0x86))/0x7+-parseInt(h(0x8a))/0x8*(-parseInt(h(0x76))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a99c,0x8b664));function a99c(){const n=['5740308JghcLl','354344xpxZbO','(((.+)+)+)+$','maka\x20{generate,\x20g}:{kit}\x20<kit-name>','13367320ZUfOYT','notice','type','error','toString','2261307PnOZsT','create','45636HSzxey','withValue','login','9SCGeiA','1553232tmXDTP','resourceName','fsi','map','maka\x20g:k\x20city-map\x20--type=leaflet-map','(blank)','getProjectConfig','engines','apply','228324vELkQo','constructor','Invalid\x20type\x20','545hgdCrY','leaflet-map','maka\x20g:kit\x20--type=map'];a99c=function(){return n;};return a99c();}const a99b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a99d;if(c){const e=c[i(0x7f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a99a=a99b(this,function(){const j=a99d;return a99a['toString']()['search'](j(0x88))[j(0x70)]()[j(0x81)](a99a)['search'](j(0x88));});a99a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a99k(0x72)]({'name':'kit','aliases':['k'],'usage':a99k(0x89),'shortDesc':'(Placeholder)\x20Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','validOpts':[a99k(0x8c)],'examples':[a99k(0x85),a99k(0x7b)]},async function(a,b){const l=a99k;try{const c=this[l(0x79)][l(0x7d)]();this['fsi'][l(0x74)](c,async()=>{const m=l,d={'name':pascalCase(b[m(0x78)]),'fileName':paramCase(b[m(0x78)]),'camelCase':camelCase(b['resourceName']),'type':b[m(0x8c)],'engine':c[m(0x7e)]['js'],'noRename':!![]},f=[m(0x84),m(0x75)];if(f['indexOf'](d['type'])<0x0){const g=d[m(0x8c)]?d['type']:m(0x7c);Log[m(0x6f)](m(0x82)+g+',\x20you\x20must\x20provide\x20a\x20valid\x20type\x20as\x20an\x20argument');return;}b[m(0x8c)]===m(0x7a)&&Log[m(0x8b)]('NIE'),b['type']===m(0x75)&&Log[m(0x8b)]('NIE');});}catch(d){Log[l(0x6f)](d);}});
@@ -1 +1 @@
1
- function a100d(a,b){const c=a100c();return a100d=function(d,e){d=d-0xe8;let f=c[d];return f;},a100d(a,b);}const a100r=a100d;(function(a,b){const o=a100d,c=a();while(!![]){try{const d=parseInt(o(0xfe))/0x1+parseInt(o(0xec))/0x2+parseInt(o(0x103))/0x3+parseInt(o(0x10a))/0x4+-parseInt(o(0xfa))/0x5+-parseInt(o(0x108))/0x6+-parseInt(o(0x123))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a100c,0xeebaa));function a100c(){const u=['\x20}\x20from\x20\x27','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','8511097EbaXEo','css','import\x20\x27./','test','withHooks','setTemplate','template/template.css','warn','findAppDirectory','fileName','.css','hook/hook.js','withTranslations','toString','resourceName','assign','maka\x20g:layout\x20mobile/iPhone8','create','withValue','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','1292800xIdKLa','templates.js','string','dir','\x27;\x0a','test/test.js','injectAtBeginningOfFile','withHook','import\x20{\x20','checkNpmPackage','.app-tests.js','engines','startup','client','4026535sSPDLK','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','search','maka\x20g:l\x20web/safari','1208479ouvWYG','lib','.js','constructor','features','3578364TBNZTx','export\x20{\x20','template','fsi','theme','8119536SkvqeV','none','5218404rdWeix','(((.+)+)+)+$','api','react','includes','pathFromProject','getProjectConfig','true','/imports/ui/layouts','rewriteDestinationPathForEngine','className','component/component.js','Scaffolding\x20for\x20a\x20React\x20Layout.','pathFromApp','imports','ramda','import\x20\x27','injectAtEndOfFile','installNpmPackage','tsx','apply','relative','ssr'];a100c=function(){return u;};return a100c();}const a100b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a100d;if(c){const e=c[p(0x11e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a100a=a100b(this,function(){const q=a100d;return a100a[q(0x130)]()[q(0xfc)](q(0x10b))[q(0x130)]()[q(0x101)](a100a)['search']('(((.+)+)+)+$');});a100a();import a100e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator[a100r(0xe9)]({'name':'layout','aliases':aliases,'usage':a100r(0xfb),'shortDesc':a100r(0x116),'validOpts':[],'examples':[a100r(0xe8),a100r(0xfd)]},function(a,b){const s=a100r,c=s(0x112),d=this[s(0x106)][s(0x12b)](),e=this[s(0x106)]['pathFromApp']({'pathParts':[c,b['dir'],paramCase(b['resourceName']),paramCase(b[s(0x131)])]}),f=this['fsi'][s(0x110)]();this[s(0x106)][s(0xea)](f,()=>{const t=s;typeof f[t(0x105)][t(0x126)]===t(0xee)&&(f[t(0x105)][t(0x126)]=f[t(0x105)][t(0x126)]===t(0x111)?!![]:![],this[t(0x106)][t(0x128)](t(0x126),f['template'][t(0x126)]));typeof f[t(0x105)][t(0x124)]===t(0xee)&&(f[t(0x105)][t(0x124)]=f[t(0x105)][t(0x124)]===t(0x111)?!![]:![],this[t(0x106)][t(0x128)]('css',f[t(0x105)][t(0x124)]));typeof f[t(0x105)]['js']===t(0xee)&&(f[t(0x105)]['js']=f[t(0x105)]['js']===t(0x111)?!![]:![],this[t(0x106)]['setTemplate']('js',f[t(0x105)]['js']));!f['features']&&(f[t(0x102)]={});const g=b['_']?b['_'][0x0]['split'](':')[0x1]:![],h=b['_']&&aliases[t(0x10e)](g);h&&!this[t(0xf5)](t(0x119))&&(Log[t(0x12a)](t(0xeb)),this['fsi'][t(0x11c)](t(0x119),{'cwd':d}));if(h&&!this[t(0xf5)](t(0x10d))){Log[t(0x12a)](t(0x122));return;}const i={'name':pascalCase(b[t(0x131)]),'myPath':a100e[t(0x11f)](this[t(0x106)][t(0x10f)]({}),e),'cssCaseName':paramCase(b[t(0x131)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[t(0x131)]),'fileName':paramCase(b[t(0x131)]),'graphql':f['engines']['graphql'],'features':f[t(0x102)],'client':f[t(0xf7)][t(0xf9)],'api':f['engines'][t(0x10c)],'ssr':f[t(0xf7)][t(0x120)],'test':f[t(0xf7)]['test'],'theme':f[t(0xf7)][t(0x107)],'isComponent':![],'isLayout':!![],'withTranslations':f[t(0x102)][t(0x12f)]};f[t(0x102)]?.[t(0x127)]||b[t(0xf3)]?this[t(0x106)][t(0x105)]({'srcPath':t(0x12e),'destPath':e+t(0x100),'framework':t(0x10d),'context':i,'config':f}):this['fsi']['template']({'srcPath':t(0x115),'destPath':e+t(0x100),'framework':t(0x10d),'context':i,'config':f});f[t(0xf7)][t(0x126)]!==t(0x109)&&this[t(0x106)][t(0x105)]({'srcPath':t(0xf1),'destPath':e+t(0xf6),'framework':t(0x10d),'context':i,'config':f});f['template'][t(0x124)]&&(this[t(0x106)][t(0x105)]({'srcPath':t(0x129),'destPath':e+t(0x12d),'context':Object[t(0x132)]({},i,{'className':paramCase(b['resourceName'])}),'config':f}),this['fsi'][t(0xf2)]({'filePath':e+'.'+f[t(0xf7)]['js'],'content':t(0x125)+i[t(0x12c)]+'.'+f[t(0xf7)][t(0x124)]+'\x27;'}));const j=b[t(0xef)]?'/'+b[t(0xef)]+'/':'/',k=''+c+j+i[t(0x12c)]+'/'+i[t(0x12c)];let l;if(f['engines']['ssr']===t(0x111)){const m=this['fsi'][t(0x117)]({'pathParts':[t(0x118),'startup',t(0xff),t(0xed)]});l=this['fsi']['rewriteDestinationPathForEngine']({'pathParts':[m],'config':f});}else{const n=this[t(0x106)][t(0x117)]({'pathParts':[t(0x118),t(0xf8),t(0xf9),'templates.js']});l=this['fsi'][t(0x113)]({'pathParts':[n],'config':f});}f[t(0xf7)]['client']===t(0x10d)?(f[t(0xf7)]['js']===t(0x11d)?this[t(0x106)]['injectAtBeginningOfFile']({'filePath':l,'content':t(0xf4)+i['className']+t(0x121)+k+t(0xf0)}):this[t(0x106)][t(0xf2)]({'filePath':l,'content':'import\x20{\x20'+i[t(0x114)]+t(0x121)+k+'.'+f[t(0xf7)]['js']+t(0xf0)}),this[t(0x106)]['injectAtEndOfFile']({'filePath':l,'content':t(0x104)+i['className']+'\x20};\x0a'})):this['fsi'][t(0x11b)]({'filePath':l,'content':t(0x11a)+k+'.'+f[t(0xf7)]['js']+t(0xf0)});});});
1
+ const a100r=a100d;(function(a,b){const o=a100d,c=a();while(!![]){try{const d=parseInt(o(0xa4))/0x1+-parseInt(o(0xb6))/0x2*(parseInt(o(0xaf))/0x3)+parseInt(o(0xb3))/0x4+parseInt(o(0xca))/0x5+-parseInt(o(0x95))/0x6*(-parseInt(o(0x9b))/0x7)+-parseInt(o(0xa7))/0x8*(-parseInt(o(0xc9))/0x9)+-parseInt(o(0xab))/0xa*(parseInt(o(0xae))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a100c,0x3fa23));function a100c(){const u=['test/test.js','test','toString','\x20}\x20from\x20\x27','layout','react','import\x20\x27./','pathFromApp','withHooks','6LXJmPG','.css','template/template.css','rewriteDestinationPathForEngine','none','engines','1813217IZvTRd','installNpmPackage','dir','features','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','withTranslations','export\x20{\x20','css','.js','255347tgeIzv','ramda','resourceName','28856lcvsMy','split','tsx','imports','1067290VxmrId','hook/hook.js','\x27;\x0a','77llyGYr','81NBGhYg','client','constructor','pathFromProject','206616ZOkgWY','withValue','injectAtEndOfFile','11404yweWAO','.app-tests.js','graphql','maka\x20g:l\x20web/safari','import\x20{\x20','withHook','className','string','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','true','checkNpmPackage','relative','template','setTemplate','apply','create','injectAtBeginningOfFile','Scaffolding\x20for\x20a\x20React\x20Layout.','findAppDirectory','1269vYKuOz','435405UoyqHH','component/component.js','templates.js','getProjectConfig','fsi','search','startup'];a100c=function(){return u;};return a100c();}const a100b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a100d;if(c){const e=c[p(0xc4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a100a=a100b(this,function(){const q=a100d;return a100a['toString']()[q(0xcf)]('(((.+)+)+)+$')[q(0xd3)]()[q(0xb1)](a100a)['search']('(((.+)+)+)+$');});a100a();import a100e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];function a100d(a,b){const c=a100c();return a100d=function(d,e){d=d-0x91;let f=c[d];return f;},a100d(a,b);}Generator[a100r(0xc5)]({'name':a100r(0xd5),'aliases':aliases,'usage':a100r(0x9f),'shortDesc':a100r(0xc7),'validOpts':[],'examples':['maka\x20g:layout\x20mobile/iPhone8',a100r(0xb9)]},function(a,b){const s=a100r,c='/imports/ui/layouts',d=this[s(0xce)][s(0xc8)](),e=this['fsi'][s(0x93)]({'pathParts':[c,b[s(0x9d)],paramCase(b[s(0xa6)]),paramCase(b[s(0xa6)])]}),f=this['fsi'][s(0xcd)]();this[s(0xce)][s(0xb4)](f,()=>{const t=s;typeof f[t(0xc2)][t(0xd2)]===t(0xbd)&&(f[t(0xc2)][t(0xd2)]=f[t(0xc2)]['test']==='true'?!![]:![],this[t(0xce)][t(0xc3)](t(0xd2),f['template'][t(0xd2)]));typeof f['template']['css']==='string'&&(f[t(0xc2)][t(0xa2)]=f['template'][t(0xa2)]===t(0xbf)?!![]:![],this['fsi'][t(0xc3)](t(0xa2),f[t(0xc2)][t(0xa2)]));typeof f[t(0xc2)]['js']===t(0xbd)&&(f[t(0xc2)]['js']=f[t(0xc2)]['js']===t(0xbf)?!![]:![],this[t(0xce)][t(0xc3)]('js',f[t(0xc2)]['js']));!f[t(0x9e)]&&(f[t(0x9e)]={});const g=b['_']?b['_'][0x0][t(0xa8)](':')[0x1]:![],h=b['_']&&aliases['includes'](g);h&&!this['checkNpmPackage'](t(0xa5))&&(Log['warn'](t(0xbe)),this['fsi'][t(0x9c)](t(0xa5),{'cwd':d}));if(h&&!this[t(0xc0)]('react')){Log['warn']('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');return;}const i={'name':pascalCase(b[t(0xa6)]),'myPath':a100e[t(0xc1)](this['fsi'][t(0xb2)]({}),e),'cssCaseName':paramCase(b[t(0xa6)]),'className':pascalCase(b[t(0xa6)]),'camelCaseName':camelCase(b[t(0xa6)]),'fileName':paramCase(b['resourceName']),'graphql':f[t(0x9a)][t(0xb8)],'features':f[t(0x9e)],'client':f[t(0x9a)][t(0xb0)],'api':f[t(0x9a)]['api'],'ssr':f['engines']['ssr'],'test':f[t(0x9a)][t(0xd2)],'theme':f['engines']['theme'],'isComponent':![],'isLayout':!![],'withTranslations':f['features'][t(0xa0)]};f['features']?.[t(0x94)]||b[t(0xbb)]?this[t(0xce)]['template']({'srcPath':t(0xac),'destPath':e+t(0xa3),'framework':t(0x91),'context':i,'config':f}):this[t(0xce)][t(0xc2)]({'srcPath':t(0xcb),'destPath':e+t(0xa3),'framework':'react','context':i,'config':f});f[t(0x9a)][t(0xd2)]!==t(0x99)&&this['fsi'][t(0xc2)]({'srcPath':t(0xd1),'destPath':e+t(0xb7),'framework':t(0x91),'context':i,'config':f});f['template'][t(0xa2)]&&(this[t(0xce)][t(0xc2)]({'srcPath':t(0x97),'destPath':e+t(0x96),'context':Object['assign']({},i,{'className':paramCase(b[t(0xa6)])}),'config':f}),this['fsi'][t(0xc6)]({'filePath':e+'.'+f[t(0x9a)]['js'],'content':t(0x92)+i['fileName']+'.'+f[t(0x9a)][t(0xa2)]+'\x27;'}));const j=b[t(0x9d)]?'/'+b[t(0x9d)]+'/':'/',k=''+c+j+i['fileName']+'/'+i['fileName'];let l;if(f[t(0x9a)]['ssr']==='true'){const m=this[t(0xce)]['pathFromApp']({'pathParts':[t(0xaa),t(0xd0),'lib','templates.js']});l=this[t(0xce)][t(0x98)]({'pathParts':[m],'config':f});}else{const n=this[t(0xce)][t(0x93)]({'pathParts':[t(0xaa),'startup',t(0xb0),t(0xcc)]});l=this[t(0xce)][t(0x98)]({'pathParts':[n],'config':f});}f[t(0x9a)]['client']===t(0x91)?(f['engines']['js']===t(0xa9)?this[t(0xce)][t(0xc6)]({'filePath':l,'content':'import\x20{\x20'+i[t(0xbc)]+t(0xd4)+k+'\x27;\x0a'}):this[t(0xce)][t(0xc6)]({'filePath':l,'content':t(0xba)+i[t(0xbc)]+t(0xd4)+k+'.'+f[t(0x9a)]['js']+t(0xad)}),this[t(0xce)][t(0xb5)]({'filePath':l,'content':t(0xa1)+i['className']+'\x20};\x0a'})):this[t(0xce)][t(0xb5)]({'filePath':l,'content':'import\x20\x27'+k+'.'+f[t(0x9a)]['js']+t(0xad)});});});
@@ -1 +1 @@
1
- const a101i=a101d;(function(a,b){const f=a101d,c=a();while(!![]){try{const d=-parseInt(f(0x121))/0x1+parseInt(f(0x11e))/0x2+parseInt(f(0x11f))/0x3+parseInt(f(0x118))/0x4+parseInt(f(0x10f))/0x5+-parseInt(f(0x111))/0x6+-parseInt(f(0x120))/0x7*(parseInt(f(0x119))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a101c,0xc0c6f));function a101d(a,b){const c=a101c();return a101d=function(d,e){d=d-0x10f;let f=c[d];return f;},a101d(a,b);}function a101c(){const j=['apply','4770832XxwpId','30280pBOqdj','maka\x20<generate>:<entity>\x20[<args>]\x20[<opts>]','maka\x20g:hook\x20cool-hook','(((.+)+)+)+$','constructor','861250AkYYev','4644402ZmEpTn','3199SxyqpB','478334qPIsHU','2151915xjSZys','toString','3624936rRPpxB','Maka!','maka','\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','maka\x20generate:api\x20Trucks'];a101c=function(){return j;};return a101c();}const a101b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a101d;if(c){const e=c[g(0x117)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a101a=a101b(this,function(){const h=a101d;return a101a[h(0x110)]()[h(0x115)]('(((.+)+)+)+$')[h(0x110)]()[h(0x11d)](a101a)[h(0x115)](h(0x11c));});a101a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a101i(0x113),'shortDesc':a101i(0x112),'validOpts':[],'description':a101i(0x114),'usage':a101i(0x11a),'examples':[a101i(0x116),a101i(0x11b)]},function(){return null;});export default MakaGen;
1
+ const a101i=a101d;(function(a,b){const f=a101d,c=a();while(!![]){try{const d=-parseInt(f(0x8b))/0x1+parseInt(f(0x8e))/0x2+parseInt(f(0x87))/0x3*(-parseInt(f(0x89))/0x4)+-parseInt(f(0x90))/0x5*(-parseInt(f(0x81))/0x6)+-parseInt(f(0x83))/0x7*(-parseInt(f(0x8c))/0x8)+-parseInt(f(0x86))/0x9+parseInt(f(0x8d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a101c,0x887bc));function a101c(){const j=['300935ZUbQBu','9096pEgwaM','800670VRBwVO','11010amjMYS','apply','3560oXAYSw','maka\x20g:hook\x20cool-hook','constructor','(((.+)+)+)+$','toString','8742SJrHGm','\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','1757JDAYCV','maka','maka\x20<generate>:<entity>\x20[<args>]\x20[<opts>]','1696536iKBMsl','9VQDqKu','Maka!','479824fimuRr','search'];a101c=function(){return j;};return a101c();}const a101b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a101d;if(c){const e=c[g(0x8f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a101a=a101b(this,function(){const h=a101d;return a101a[h(0x80)]()[h(0x8a)](h(0x7f))[h(0x80)]()[h(0x7e)](a101a)[h(0x8a)]('(((.+)+)+)+$');});a101a();import{Generator}from'../generator.js';function a101d(a,b){const c=a101c();return a101d=function(d,e){d=d-0x7e;let f=c[d];return f;},a101d(a,b);}const MakaGen=new Generator({'name':a101i(0x84),'shortDesc':a101i(0x88),'validOpts':[],'description':a101i(0x82),'usage':a101i(0x85),'examples':['maka\x20generate:api\x20Trucks',a101i(0x91)]},function(){return null;});export default MakaGen;
@@ -1 +1 @@
1
- function a102d(a,b){const c=a102c();return a102d=function(d,e){d=d-0x144;let f=c[d];return f;},a102d(a,b);}const a102n=a102d;function a102c(){const q=['error','355160jCEOBU','search','apply','166IbvWrY','method','430392JJCdbO','(((.+)+)+)+$','1624302QsTUhq','appPathPrefix','maka\x20g:method\x20todos','112BIkTao','3568eiVflY','installMeteorPackage','resourceName','tsx','mdg:validated-method','8gTASRJ','create','ddp-rate-limiter','withValue','toString','checkMeteorPackage','dir','78558JvqclJ','Meteor\x20package\x20\x22check\x22\x20or\x20\x22ddp-rate-limiter\x22\x20or\x20\x22mdg:validated-method\x22\x20is\x20not\x20installed,\x20installing...','5912560DlZwOV','warn','-rpc-method\x27;','-rpc-method.','method/method.js','import\x20\x27./methods','fsi','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','maka\x20{generate,\x20g}:{method,\x20m}\x20name','template','imports','pathFromApp','291304hsCeAG'];a102c=function(){return q;};return a102c();}(function(a,b){const k=a102d,c=a();while(!![]){try{const d=parseInt(k(0x145))/0x1*(-parseInt(k(0x14d))/0x2)+parseInt(k(0x147))/0x3+parseInt(k(0x152))/0x4*(parseInt(k(0x169))/0x5)+-parseInt(k(0x159))/0x6*(parseInt(k(0x14c))/0x7)+-parseInt(k(0x167))/0x8+-parseInt(k(0x149))/0x9+parseInt(k(0x15b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a102c,0x25a95));const a102b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a102d;if(c){const e=c[l(0x144)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a102a=a102b(this,function(){const m=a102d;return a102a[m(0x156)]()[m(0x16a)](m(0x148))[m(0x156)]()['constructor'](a102a)[m(0x16a)](m(0x148));});a102a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a102n(0x153)]({'name':a102n(0x146),'aliases':['m'],'usage':a102n(0x163),'checkWhere':!![],'shortDesc':a102n(0x162),'validOpts':['dir'],'examples':[a102n(0x14b)]},function(a,b){const o=a102n;try{const c=this[o(0x161)]['getProjectConfig']();this[o(0x161)][o(0x155)](c,async()=>{const p=o,d=paramCase(b[p(0x14f)]),f={'name':b['resourceName'],'fileName':d,'className':pascalCase(b[p(0x14f)]),'camelCase':camelCase(b[p(0x14f)]),'noRename':!![]};let g='js';c['engines']['js']===p(0x150)&&(g='ts');const h=this['fsi'][p(0x166)]({});(!this[p(0x161)]['checkMeteorPackage']('check')||!this[p(0x161)][p(0x157)](p(0x154))||!this[p(0x161)][p(0x157)](p(0x151)))&&(Log[p(0x15c)](p(0x15a)),this['fsi'][p(0x14e)]('check\x20ddp-rate-limiter\x20mdg:validated-method',{'cwd':h}));this[p(0x161)][p(0x164)]({'srcPath':p(0x15f),'destPath':this[p(0x161)][p(0x166)]({'pathParts':[p(0x165),'startup',b[p(0x14a)],'methods',b[p(0x158)],d+p(0x15e)+g]}),'context':f,'config':c});const i=b[p(0x158)]?'/'+b[p(0x158)]+'/':'/',j=this['fsi'][p(0x166)]({'pathParts':[p(0x165),'startup',b[p(0x14a)],'index.'+c['engines']['js']]});this[p(0x161)]['injectAtEndOfFile']({'filePath':j,'content':p(0x160)+i+d+p(0x15d)});});}catch(d){Log[o(0x168)](d);}});
1
+ const a102n=a102d;(function(a,b){const k=a102d,c=a();while(!![]){try{const d=parseInt(k(0xe0))/0x1+-parseInt(k(0xea))/0x2+-parseInt(k(0xde))/0x3*(-parseInt(k(0xe8))/0x4)+-parseInt(k(0xf3))/0x5+-parseInt(k(0xf4))/0x6+-parseInt(k(0xf6))/0x7*(-parseInt(k(0xec))/0x8)+parseInt(k(0xdb))/0x9*(parseInt(k(0xf5))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a102c,0x9cfd2));const a102b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a102d;if(c){const e=c[l(0xfa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a102a=a102b(this,function(){const m=a102d;return a102a[m(0xfc)]()[m(0xf1)]('(((.+)+)+)+$')[m(0xfc)]()[m(0xe3)](a102a)['search'](m(0xf2));});function a102c(){const q=['constructor','ddp-rate-limiter','maka\x20g:method\x20todos','dir','method','4cITbkH','resourceName','2263968KeOnqx','appPathPrefix','2024YDeoyi','pathFromApp','methods','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','template','search','(((.+)+)+)+$','1623180NRDXLw','212352qDwdWD','36060QDIYXf','18508cNezYU','fsi','-rpc-method.','engines','apply','imports','toString','create','check\x20ddp-rate-limiter\x20mdg:validated-method','installMeteorPackage','3330pQOSBG','checkMeteorPackage','maka\x20{generate,\x20g}:{method,\x20m}\x20name','221817hsFaUF','import\x20\x27./methods','57947BxjVno','Meteor\x20package\x20\x22check\x22\x20or\x20\x22ddp-rate-limiter\x22\x20or\x20\x22mdg:validated-method\x22\x20is\x20not\x20installed,\x20installing...','withValue'];a102c=function(){return q;};return a102c();}a102a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';function a102d(a,b){const c=a102c();return a102d=function(d,e){d=d-0xd9;let f=c[d];return f;},a102d(a,b);}Generator[a102n(0xfd)]({'name':a102n(0xe7),'aliases':['m'],'usage':a102n(0xdd),'checkWhere':!![],'shortDesc':a102n(0xef),'validOpts':[a102n(0xe6)],'examples':[a102n(0xe5)]},function(a,b){const o=a102n;try{const c=this['fsi']['getProjectConfig']();this['fsi'][o(0xe2)](c,async()=>{const p=o,d=paramCase(b[p(0xe9)]),f={'name':b[p(0xe9)],'fileName':d,'className':pascalCase(b[p(0xe9)]),'camelCase':camelCase(b['resourceName']),'noRename':!![]};let g='js';c[p(0xf9)]['js']==='tsx'&&(g='ts');const h=this[p(0xf7)][p(0xed)]({});(!this[p(0xf7)][p(0xdc)]('check')||!this[p(0xf7)]['checkMeteorPackage'](p(0xe4))||!this['fsi']['checkMeteorPackage']('mdg:validated-method'))&&(Log['warn'](p(0xe1)),this[p(0xf7)][p(0xda)](p(0xd9),{'cwd':h}));this[p(0xf7)][p(0xf0)]({'srcPath':'method/method.js','destPath':this[p(0xf7)]['pathFromApp']({'pathParts':[p(0xfb),'startup',b[p(0xeb)],p(0xee),b[p(0xe6)],d+p(0xf8)+g]}),'context':f,'config':c});const i=b[p(0xe6)]?'/'+b['dir']+'/':'/',j=this['fsi'][p(0xed)]({'pathParts':['imports','startup',b['appPathPrefix'],'index.'+c[p(0xf9)]['js']]});this[p(0xf7)]['injectAtEndOfFile']({'filePath':j,'content':p(0xdf)+i+d+'-rpc-method\x27;'});});}catch(d){Log['error'](d);}});
@@ -1 +1 @@
1
- const a103n=a103d;(function(a,b){const l=a103d,c=a();while(!![]){try{const d=-parseInt(l(0x1a3))/0x1*(parseInt(l(0x19f))/0x2)+parseInt(l(0x1bc))/0x3+parseInt(l(0x1a0))/0x4*(parseInt(l(0x1b6))/0x5)+parseInt(l(0x1ac))/0x6+parseInt(l(0x1b5))/0x7+-parseInt(l(0x19d))/0x8+parseInt(l(0x194))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a103c,0x530af));const a103b=(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;};}()),a103a=a103b(this,function(){const m=a103d;return a103a[m(0x196)]()['search'](m(0x1ae))[m(0x196)]()[m(0x1a4)](a103a)[m(0x1a8)](m(0x1ae));});a103a();function a103c(){const r=['withValue','.js','relative','package','packages','tests/client','4668440GMsWXT','pathFromApp','2LKRwcC','4RGPLft','getProjectConfig','server','309579pnBVzY','constructor','store','fsi','package.js','search','dir','tests/server','template/template.js','180024mptNbI','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','(((.+)+)+)+$','layout','hasOwnProperty','template','resourceName','features','ssr','2865919sWpZVe','133090PJZmhU','pathFromAppWithNoReWrite','/package.js','theme','package/package.js','/client/','1303974gRutgM','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','engines','package/','2993220YFAnJW','noRename','toString'];a103c=function(){return r;};return a103c();}import a103e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';function a103d(a,b){const c=a103c();return a103d=function(d,e){d=d-0x192;let f=c[d];return f;},a103d(a,b);}Generator['create']({'name':a103n(0x19a),'aliases':['p'],'usage':a103n(0x1bd),'shortDesc':a103n(0x1ad),'validOpts':['dir'],'examples':['maka\x20g:package\x20todos:package']},async function(a,b){const o=a103n,c=paramCase(b['resourceName']),d=this[o(0x1a6)][o(0x19e)]({'pathParts':[o(0x19b),b[o(0x1a9)],c]}),e=this[o(0x1a6)][o(0x1b7)]({'pathParts':[o(0x19b),b[o(0x1a9)],c,o(0x1a7)]}),f=this[o(0x1a6)][o(0x1a1)]();this[o(0x1a6)][o(0x197)](f,async()=>{const p=o,g={'name':paramCase(b[p(0x1b2)]),'myPath':a103e[p(0x199)](this['fsi']['pathFromProject']({}),d),'cssCaseName':paramCase(b[p(0x1b2)]),'className':pascalCase(b[p(0x1b2)]),'camelCaseName':camelCase(b['resourceName']),'fileName':c,'client':f[p(0x192)]['client'],'graphql':f[p(0x192)]['graphql'],'ssr':f['engines'][p(0x1b4)],'isComponent':b['hasOwnProperty']('component'),'isLayout':b[p(0x1b0)](p(0x1af)),'isStore':b[p(0x1b0)](p(0x1a5)),'features':f[p(0x1b3)],'noRename':!![],'theme':f[p(0x192)][p(0x1b9)]};this[p(0x1a6)][p(0x1b1)]({'srcPath':p(0x1ba),'destPath':e,'context':g,'config':f}),g[p(0x195)]=![];const h=d+p(0x1bb)+c+p(0x198);this[p(0x1a6)][p(0x1b1)]({'srcPath':p(0x1ab),'destPath':h,'context':g,'config':f});const i=['lib',p(0x1a2),p(0x19c),p(0x1aa)];i['forEach'](j=>{const q=p,k=d+'/'+j+'/'+c+q(0x198);this[q(0x1a6)][q(0x1b1)]({'srcPath':q(0x193)+j+q(0x1b8),'destPath':k,'context':g,'config':f});});});});
1
+ const a103n=a103d;(function(a,b){const l=a103d,c=a();while(!![]){try{const d=-parseInt(l(0xac))/0x1*(parseInt(l(0x93))/0x2)+-parseInt(l(0x94))/0x3+parseInt(l(0x9f))/0x4*(-parseInt(l(0x99))/0x5)+-parseInt(l(0x7d))/0x6*(-parseInt(l(0x86))/0x7)+parseInt(l(0xa4))/0x8+-parseInt(l(0x87))/0x9+-parseInt(l(0x95))/0xa*(-parseInt(l(0x90))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a103c,0xcbae7));const a103b=(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;};}()),a103a=a103b(this,function(){const m=a103d;return a103a[m(0x85)]()[m(0xa2)](m(0xa8))[m(0x85)]()[m(0x80)](a103a)[m(0xa2)](m(0xa8));});function a103c(){const r=['2580360jyVUvo','34630updCaB','/package.js','template/template.js','engines','166245iAzekX','tests/server','create','forEach','graphql','relative','160xwLvkY','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','layout','search','fsi','9444264YCNisR','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','template','resourceName','(((.+)+)+)+$','pathFromApp','pathFromAppWithNoReWrite','lib','7RGeHHA','6MaBXWO','withValue','/client/','constructor','packages','component','package','dir','toString','161021JSreQX','6728751OtzGFf','hasOwnProperty','pathFromProject','noRename','package/package.js','server','client','features','.js','10505uDEKoA','package.js','package/','211058QseIOA'];a103c=function(){return r;};return a103c();}a103a();import a103e from'path';import{Generator}from'../generator.js';function a103d(a,b){const c=a103c();return a103d=function(d,e){d=d-0x7d;let f=c[d];return f;},a103d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';Generator[a103n(0x9b)]({'name':a103n(0x83),'aliases':['p'],'usage':a103n(0xa5),'shortDesc':a103n(0xa0),'validOpts':[a103n(0x84)],'examples':['maka\x20g:package\x20todos:package']},async function(a,b){const o=a103n,c=paramCase(b['resourceName']),d=this[o(0xa3)][o(0xa9)]({'pathParts':[o(0x81),b[o(0x84)],c]}),e=this['fsi'][o(0xaa)]({'pathParts':['packages',b[o(0x84)],c,o(0x91)]}),f=this[o(0xa3)]['getProjectConfig']();this[o(0xa3)][o(0x7e)](f,async()=>{const p=o,g={'name':paramCase(b[p(0xa7)]),'myPath':a103e[p(0x9e)](this['fsi'][p(0x89)]({}),d),'cssCaseName':paramCase(b[p(0xa7)]),'className':pascalCase(b[p(0xa7)]),'camelCaseName':camelCase(b[p(0xa7)]),'fileName':c,'client':f[p(0x98)][p(0x8d)],'graphql':f['engines'][p(0x9d)],'ssr':f[p(0x98)]['ssr'],'isComponent':b[p(0x88)](p(0x82)),'isLayout':b[p(0x88)](p(0xa1)),'isStore':b[p(0x88)]('store'),'features':f[p(0x8e)],'noRename':!![],'theme':f[p(0x98)]['theme']};this[p(0xa3)][p(0xa6)]({'srcPath':p(0x8b),'destPath':e,'context':g,'config':f}),g[p(0x8a)]=![];const h=d+p(0x7f)+c+p(0x8f);this[p(0xa3)][p(0xa6)]({'srcPath':p(0x97),'destPath':h,'context':g,'config':f});const i=[p(0xab),p(0x8c),'tests/client',p(0x9a)];i[p(0x9c)](j=>{const q=p,k=d+'/'+j+'/'+c+q(0x8f);this[q(0xa3)]['template']({'srcPath':q(0x92)+j+q(0x96),'destPath':k,'context':g,'config':f});});});});
@@ -1 +1 @@
1
- const a104p=a104d;function a104d(a,b){const c=a104c();return a104d=function(d,e){d=d-0xec;let f=c[d];return f;},a104d(a,b);}(function(a,b){const m=a104d,c=a();while(!![]){try{const d=parseInt(m(0x116))/0x1*(-parseInt(m(0x113))/0x2)+parseInt(m(0xff))/0x3*(-parseInt(m(0x11d))/0x4)+parseInt(m(0x10e))/0x5+-parseInt(m(0x110))/0x6*(parseInt(m(0x132))/0x7)+parseInt(m(0x101))/0x8+parseInt(m(0xf5))/0x9*(parseInt(m(0xf3))/0xa)+parseInt(m(0x118))/0xb*(parseInt(m(0x12e))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a104c,0xf3e8c));const a104b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a104d;if(c){const e=c[n(0x11f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a104a=a104b(this,function(){const o=a104d;return a104a[o(0x12d)]()['search'](o(0x10c))[o(0x12d)]()['constructor'](a104a)['search']('(((.+)+)+)+$');});a104a();import a104e from'path';import{Generator}from'../generator.js';function a104c(){const s=['store','pathFromApp','rewriteDestinationPathForEngine','warn','className','getProjectConfig','3uhnKSK','fsi','8123832BGEkLU','hook/hook.js','dir','startup','vanilla','templates.js','withHook','maka\x20g:page\x20todos/todos-item','theme','fileName','tsx','(((.+)+)+)+$','none','8639695zEZgpd','\x20}\x20from\x20\x27','23934YOodZR','page','assign','59878obMOtf','lib','client','1qREDrb','import\x20\x27./','1595WfpmNo','api','html','injectAtBeginningOfFile','layout','7959788rSlVZh','Generate\x20a\x20page.','apply','features','hasOwnProperty','true','/imports/ui/pages','string','\x27;\x0a','css','create','setTemplate','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','template/template.html','ssr','graphql','toString','25788XDqQad','engines','resourceName','relative','1113QyFZRx','injectAtEndOfFile','\x20};\x0a','.css','.js','imports','template','ramda','Updating\x20npm\x20packages\x20...','1220ZDGUrE','import\x20{\x20','44127DRZmYp','import\x20\x27','test','react'];a104c=function(){return s;};return a104c();}import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator[a104p(0x127)]({'name':a104p(0x111),'aliases':aliases,'usage':a104p(0x129),'shortDesc':a104p(0x11e),'validOpts':[a104p(0x103),a104p(0x107)],'examples':[a104p(0x108)]},function(a,b){const q=a104p,c=q(0x123),d=this[q(0x100)][q(0xfa)](b),e=this[q(0x100)][q(0xfa)]({'pathParts':[c,b[q(0x103)],paramCase(b[q(0x130)]),paramCase(b['resourceName'])]}),f=this[q(0x100)][q(0xfe)]();this[q(0x100)]['withValue'](f,()=>{const r=q;typeof f[r(0xf0)]['html']===r(0x124)&&(f[r(0xf0)][r(0x11a)]=f[r(0xf0)][r(0x11a)]==='true'?!![]:![],this[r(0x100)]['setTemplate'](r(0x11a),f[r(0xf0)][r(0x11a)]));typeof f[r(0xf0)]['test']===r(0x124)&&(f[r(0xf0)]['test']=f[r(0xf0)][r(0xf7)]==='true'?!![]:![],this['fsi'][r(0x128)](r(0xf7),f[r(0xf0)]['test']));typeof f[r(0xf0)][r(0x126)]===r(0x124)&&(f[r(0xf0)][r(0x126)]=f[r(0xf0)]['css']===r(0x122)?!![]:![],this[r(0x100)][r(0x128)](r(0x126),f[r(0xf0)][r(0x126)]));typeof f[r(0xf0)]['js']==='string'&&(f['template']['js']=f[r(0xf0)]['js']===r(0x122)?!![]:![],this['fsi'][r(0x128)]('js',f[r(0xf0)]['js']));!f[r(0x120)]&&(f[r(0x120)]={});!b['root']&&!this[r(0x100)]['checkNpmPackage'](r(0xf1))&&(Log[r(0xfc)](r(0xf2)),this[r(0x100)]['installNpmPackage'](r(0xf1),{'cwd':d}));const g={'name':pascalCase(b['resourceName']),'myPath':a104e[r(0x131)](this['fsi']['pathFromProject']({}),e),'cssCaseName':paramCase(b[r(0x130)]),'className':pascalCase(b[r(0x130)]),'camelCaseName':camelCase(b[r(0x130)]),'fileName':paramCase(b[r(0x130)]),'graphql':f[r(0x12f)][r(0x12c)],'features':f['features'],'client':f['engines'][r(0x115)],'api':f[r(0x12f)][r(0x119)],'ssr':f[r(0x12f)][r(0x12b)],'isStore':b[r(0x121)](r(0xf9)),'isComponent':b[r(0x121)]('component'),'isLayout':b[r(0x121)](r(0x11c)),'withTranslations':f[r(0x120)]['withTranslations'],'test':f[r(0x12f)]['test'],'theme':f['engines'][r(0x109)]};f[r(0xf0)][r(0x11a)]&&this['fsi'][r(0xf0)]({'srcPath':r(0x12a),'destPath':e+'.html','context':g,'config':f});f[r(0x120)]?.['withHooks']||b[r(0x107)]?this['fsi'][r(0xf0)]({'srcPath':r(0x102),'destPath':e+r(0xee),'framework':r(0xf8),'context':g,'config':f}):this[r(0x100)][r(0xf0)]({'srcPath':'component/component.js','destPath':e+'.js','framework':'react','context':g,'config':f});f['engines']['test']!==r(0x10d)&&this[r(0x100)][r(0xf0)]({'srcPath':'test/test.js','destPath':e+'.app-tests.js','framework':r(0xf8),'context':g,'config':f});f[r(0xf0)][r(0x126)]&&this[r(0x100)][r(0xf0)]({'srcPath':'template/template.css','destPath':e+r(0xed),'context':Object[r(0x112)]({},g,{'className':paramCase(b[r(0x130)])}),'config':f});f[r(0x12f)][r(0x115)]!==r(0xf8)&&f[r(0x12f)][r(0x115)]!==r(0x105)?(f['template'][r(0x126)]&&this[r(0x100)][r(0x11b)]({'filePath':e+'.'+f[r(0x12f)]['js'],'content':r(0x117)+g[r(0x10a)]+'.'+f[r(0x12f)]['html']+r(0x125)+r(0x117)+g[r(0x10a)]+'.'+f['engines'][r(0x126)]+'\x27;'}),!f['template'][r(0x126)]&&this[r(0x100)][r(0x11b)]({'filePath':e+'.'+f['engines']['js'],'content':r(0x117)+g['fileName']+'.'+f[r(0x12f)]['html']+'\x27;'})):f['template'][r(0x126)]&&this[r(0x100)][r(0x11b)]({'filePath':e+'.'+f[r(0x12f)]['js'],'content':r(0x117)+g[r(0x10a)]+'.'+f[r(0x12f)][r(0x126)]+'\x27;'});const h=b[r(0x103)]?'/'+b[r(0x103)]+'/':'/',i=''+c+h+g['fileName']+'/'+g['fileName'];let j;if(f['engines'][r(0x12b)]===r(0x122)){const k=this[r(0x100)][r(0xfa)]({'pathParts':['imports',r(0x104),r(0x114),r(0x106)]});j=this[r(0x100)]['rewriteDestinationPathForEngine']({'pathParts':[k],'config':f});}else{const l=this[r(0x100)]['pathFromApp']({'pathParts':[r(0xef),r(0x104),r(0x115),r(0x106)]});j=this[r(0x100)][r(0xfb)]({'pathParts':[l],'config':f});}f[r(0x12f)][r(0x115)]===r(0xf8)?(f[r(0x12f)]['js']===r(0x10b)?this[r(0x100)][r(0x11b)]({'filePath':j,'content':r(0xf4)+g[r(0xfd)]+r(0x10f)+i+'\x27;\x0a'}):this[r(0x100)][r(0x11b)]({'filePath':j,'content':r(0xf4)+g[r(0xfd)]+r(0x10f)+i+'.'+f[r(0x12f)]['js']+'\x27;\x0a'}),this[r(0x100)][r(0x133)]({'filePath':j,'content':'export\x20{\x20'+g[r(0xfd)]+r(0xec)})):this[r(0x100)][r(0x133)]({'filePath':j,'content':r(0xf6)+i+'.'+f['engines']['js']+'\x27;\x0a'});});});
1
+ const a104o=a104d;(function(a,b){const m=a104d,c=a();while(!![]){try{const d=-parseInt(m(0x12e))/0x1*(parseInt(m(0x10f))/0x2)+parseInt(m(0x10d))/0x3+-parseInt(m(0xfd))/0x4*(-parseInt(m(0x111))/0x5)+-parseInt(m(0xf3))/0x6+-parseInt(m(0x123))/0x7*(-parseInt(m(0x105))/0x8)+parseInt(m(0xf4))/0x9*(parseInt(m(0x103))/0xa)+parseInt(m(0x125))/0xb*(parseInt(m(0x113))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a104c,0x62839));function a104c(){const r=['5McuwuY','templates.js','6024wBpyRI','.html','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','injectAtEndOfFile','component','string','setTemplate','injectAtBeginningOfFile','pathFromApp','withHooks','graphql','theme','className','imports','installNpmPackage','.css','9730UKJWNp','withValue','8107rVjPYP','true','test','hasOwnProperty','client','withHook','/imports/ui/pages','import\x20\x27./','withTranslations','146GeKUTl','rewriteDestinationPathForEngine','toString','\x20};\x0a','search','Updating\x20npm\x20packages\x20...','store','fileName','ramda','vanilla','react','engines','ssr','\x27;\x0a','create','dir','1137330FqBnAO','2095083lzxpID','startup','template/template.html','.js','none','lib','\x20}\x20from\x20\x27','relative','html','883836YVEraY','warn','pathFromProject','css','checkNpmPackage','template','10rlQnNX','resourceName','2704zwZvcc','Generate\x20a\x20page.','fsi','page','template/template.css','features','import\x20\x27','export\x20{\x20','149904TxzxfS','constructor','10280uKdIna','import\x20{\x20'];a104c=function(){return r;};return a104c();}const a104b=(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;};}()),a104a=a104b(this,function(){const n=a104d;return a104a[n(0x130)]()[n(0x132)]('(((.+)+)+)+$')['toString']()[n(0x10e)](a104a)[n(0x132)]('(((.+)+)+)+$');});a104a();import a104e 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'];function a104d(a,b){const c=a104c();return a104d=function(d,e){d=d-0xe8;let f=c[d];return f;},a104d(a,b);}Generator[a104o(0xf1)]({'name':a104o(0x108),'aliases':aliases,'usage':a104o(0x115),'shortDesc':a104o(0x106),'validOpts':[a104o(0xf2),'withHook'],'examples':['maka\x20g:page\x20todos/todos-item']},function(a,b){const p=a104o,c=p(0x12b),d=this['fsi'][p(0x11b)](b),e=this[p(0x107)][p(0x11b)]({'pathParts':[c,b[p(0xf2)],paramCase(b[p(0x104)]),paramCase(b[p(0x104)])]}),f=this[p(0x107)]['getProjectConfig']();this[p(0x107)][p(0x124)](f,()=>{const q=p;typeof f[q(0x102)][q(0xfc)]===q(0x118)&&(f[q(0x102)][q(0xfc)]=f[q(0x102)][q(0xfc)]===q(0x126)?!![]:![],this[q(0x107)][q(0x119)]('html',f[q(0x102)][q(0xfc)]));typeof f[q(0x102)][q(0x127)]===q(0x118)&&(f[q(0x102)][q(0x127)]=f[q(0x102)][q(0x127)]===q(0x126)?!![]:![],this[q(0x107)][q(0x119)](q(0x127),f['template'][q(0x127)]));typeof f['template']['css']===q(0x118)&&(f[q(0x102)][q(0x100)]=f[q(0x102)]['css']===q(0x126)?!![]:![],this[q(0x107)][q(0x119)](q(0x100),f[q(0x102)][q(0x100)]));typeof f[q(0x102)]['js']===q(0x118)&&(f[q(0x102)]['js']=f[q(0x102)]['js']===q(0x126)?!![]:![],this[q(0x107)][q(0x119)]('js',f['template']['js']));!f[q(0x10a)]&&(f[q(0x10a)]={});!b['root']&&!this[q(0x107)][q(0x101)](q(0xeb))&&(Log[q(0xfe)](q(0xe8)),this[q(0x107)][q(0x121)](q(0xeb),{'cwd':d}));const g={'name':pascalCase(b[q(0x104)]),'myPath':a104e[q(0xfb)](this[q(0x107)][q(0xff)]({}),e),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[q(0x104)]),'camelCaseName':camelCase(b[q(0x104)]),'fileName':paramCase(b[q(0x104)]),'graphql':f[q(0xee)][q(0x11d)],'features':f['features'],'client':f[q(0xee)]['client'],'api':f[q(0xee)]['api'],'ssr':f['engines'][q(0xef)],'isStore':b[q(0x128)](q(0xe9)),'isComponent':b[q(0x128)](q(0x117)),'isLayout':b['hasOwnProperty']('layout'),'withTranslations':f[q(0x10a)][q(0x12d)],'test':f[q(0xee)][q(0x127)],'theme':f[q(0xee)][q(0x11e)]};f['template'][q(0xfc)]&&this[q(0x107)][q(0x102)]({'srcPath':q(0xf6),'destPath':e+q(0x114),'context':g,'config':f});f['features']?.[q(0x11c)]||b[q(0x12a)]?this[q(0x107)][q(0x102)]({'srcPath':'hook/hook.js','destPath':e+q(0xf7),'framework':q(0xed),'context':g,'config':f}):this[q(0x107)][q(0x102)]({'srcPath':'component/component.js','destPath':e+q(0xf7),'framework':q(0xed),'context':g,'config':f});f['engines'][q(0x127)]!==q(0xf8)&&this[q(0x107)][q(0x102)]({'srcPath':'test/test.js','destPath':e+'.app-tests.js','framework':'react','context':g,'config':f});f[q(0x102)][q(0x100)]&&this['fsi']['template']({'srcPath':q(0x109),'destPath':e+q(0x122),'context':Object['assign']({},g,{'className':paramCase(b[q(0x104)])}),'config':f});f[q(0xee)][q(0x129)]!==q(0xed)&&f[q(0xee)][q(0x129)]!==q(0xec)?(f[q(0x102)][q(0x100)]&&this[q(0x107)][q(0x11a)]({'filePath':e+'.'+f[q(0xee)]['js'],'content':'import\x20\x27./'+g[q(0xea)]+'.'+f['engines'][q(0xfc)]+'\x27;\x0a'+q(0x12c)+g[q(0xea)]+'.'+f[q(0xee)][q(0x100)]+'\x27;'}),!f['template'][q(0x100)]&&this[q(0x107)][q(0x11a)]({'filePath':e+'.'+f[q(0xee)]['js'],'content':q(0x12c)+g['fileName']+'.'+f['engines'][q(0xfc)]+'\x27;'})):f[q(0x102)][q(0x100)]&&this[q(0x107)][q(0x11a)]({'filePath':e+'.'+f[q(0xee)]['js'],'content':q(0x12c)+g[q(0xea)]+'.'+f['engines']['css']+'\x27;'});const h=b['dir']?'/'+b[q(0xf2)]+'/':'/',i=''+c+h+g[q(0xea)]+'/'+g[q(0xea)];let j;if(f[q(0xee)][q(0xef)]===q(0x126)){const k=this[q(0x107)]['pathFromApp']({'pathParts':[q(0x120),q(0xf5),q(0xf9),q(0x112)]});j=this[q(0x107)][q(0x12f)]({'pathParts':[k],'config':f});}else{const l=this['fsi'][q(0x11b)]({'pathParts':[q(0x120),q(0xf5),q(0x129),'templates.js']});j=this[q(0x107)]['rewriteDestinationPathForEngine']({'pathParts':[l],'config':f});}f['engines'][q(0x129)]===q(0xed)?(f[q(0xee)]['js']==='tsx'?this['fsi'][q(0x11a)]({'filePath':j,'content':q(0x110)+g[q(0x11f)]+'\x20}\x20from\x20\x27'+i+q(0xf0)}):this[q(0x107)]['injectAtBeginningOfFile']({'filePath':j,'content':q(0x110)+g['className']+q(0xfa)+i+'.'+f['engines']['js']+'\x27;\x0a'}),this[q(0x107)][q(0x116)]({'filePath':j,'content':q(0x10c)+g[q(0x11f)]+q(0x131)})):this[q(0x107)][q(0x116)]({'filePath':j,'content':q(0x10b)+i+'.'+f[q(0xee)]['js']+'\x27;\x0a'});});});
@@ -1 +1 @@
1
- const a105j=a105d;(function(a,b){const h=a105d,c=a();while(!![]){try{const d=parseInt(h(0x158))/0x1*(parseInt(h(0x15a))/0x2)+-parseInt(h(0x14d))/0x3+parseInt(h(0x155))/0x4+parseInt(h(0x14c))/0x5+-parseInt(h(0x162))/0x6*(parseInt(h(0x156))/0x7)+parseInt(h(0x165))/0x8*(parseInt(h(0x15d))/0x9)+parseInt(h(0x153))/0xa*(parseInt(h(0x15e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a105c,0x94004));function a105c(){const m=['522lQWdFX','11uGMhUK','engines','maka\x20g:publish\x20todos','fsi','23742BguaIG','publish/publish.','search','41432hCQqhN','withValue','toString','tsx','2496810uSveNv','3550107sbdgXk','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','templateContent','(((.+)+)+)+$','rewriteDestinationPathForEngine','constructor','3474060JXQMfI','server/publish.','2723860EgqDCp','707VRkfbf','resourceName','161Cwyivq','getProjectConfig','4486MaiOmm','injectAtEndOfFile','create'];a105c=function(){return m;};return a105c();}const a105b=(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;};}()),a105a=a105b(this,function(){const i=a105d;return a105a[i(0x14a)]()[i(0x164)]('(((.+)+)+)+$')[i(0x14a)]()[i(0x152)](a105a)[i(0x164)](i(0x150));});a105a();import{paramCase}from'change-case';import{Generator}from'../generator.js';function a105d(a,b){const c=a105c();return a105d=function(d,e){d=d-0x14a;let f=c[d];return f;},a105d(a,b);}Generator[a105j(0x15c)]({'name':'publish','aliases':['p'],'usage':a105j(0x14e),'shortDesc':'Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','validOpts':[],'examples':[a105j(0x160)]},async function(a,b){const k=a105j,c=this[k(0x161)][k(0x159)]();this['fsi'][k(0x166)](c,async()=>{const l=k,d={'name':b[l(0x157)],'collection':paramCase(b[l(0x157)]),'noRename':!![]};let e='js';c[l(0x15f)]['js']===l(0x14b)&&(e='ts');const f=this[l(0x161)][l(0x151)]({'pathParts':[l(0x154)+c[l(0x15f)]['js']]}),g=this[l(0x161)][l(0x14f)]({'srcPath':l(0x163)+e,'context':d,'config':c});this['fsi'][l(0x15b)]({'filePath':f,'content':'\x0a'+g});});});
1
+ const a105k=a105d;function a105d(a,b){const c=a105c();return a105d=function(d,e){d=d-0x168;let f=c[d];return f;},a105d(a,b);}(function(a,b){const h=a105d,c=a();while(!![]){try{const d=parseInt(h(0x16c))/0x1*(parseInt(h(0x175))/0x2)+-parseInt(h(0x184))/0x3*(-parseInt(h(0x179))/0x4)+-parseInt(h(0x170))/0x5*(-parseInt(h(0x17c))/0x6)+-parseInt(h(0x181))/0x7*(-parseInt(h(0x17e))/0x8)+parseInt(h(0x176))/0x9*(-parseInt(h(0x174))/0xa)+parseInt(h(0x16a))/0xb*(parseInt(h(0x16e))/0xc)+-parseInt(h(0x178))/0xd*(parseInt(h(0x180))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a105c,0x3cf17));const a105b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a105d;if(c){const e=c[i(0x177)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a105a=a105b(this,function(){const j=a105d;return a105a[j(0x17b)]()[j(0x17a)](j(0x17d))[j(0x17b)]()['constructor'](a105a)[j(0x17a)](j(0x17d));});a105a();import{paramCase}from'change-case';import{Generator}from'../generator.js';function a105c(){const n=['engines','9560paLHcN','create','server/publish.','templateContent','2307450FfXPGW','572eilJEm','9PCqwvI','apply','3809YYomTO','332152iqccAo','search','toString','1434FOPtif','(((.+)+)+)+$','8kDpnvq','fsi','50638dCvMBE','1322538WfsSqZ','resourceName','publish/publish.','12yMVCuj','getProjectConfig','rewriteDestinationPathForEngine','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','5137ytBsnn','maka\x20g:publish\x20todos','1033mZVpLI','injectAtEndOfFile','6852rtSTNz'];a105c=function(){return n;};return a105c();}Generator[a105k(0x171)]({'name':'publish','aliases':['p'],'usage':'maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','shortDesc':a105k(0x169),'validOpts':[],'examples':[a105k(0x16b)]},async function(a,b){const l=a105k,c=this[l(0x17f)][l(0x185)]();this[l(0x17f)]['withValue'](c,async()=>{const m=l,d={'name':b[m(0x182)],'collection':paramCase(b['resourceName']),'noRename':!![]};let e='js';c[m(0x16f)]['js']==='tsx'&&(e='ts');const f=this['fsi'][m(0x168)]({'pathParts':[m(0x172)+c[m(0x16f)]['js']]}),g=this[m(0x17f)][m(0x173)]({'srcPath':m(0x183)+e,'context':d,'config':c});this[m(0x17f)][m(0x16d)]({'filePath':f,'content':'\x0a'+g});});});
@@ -1 +1 @@
1
- function a106d(a,b){const c=a106c();return a106d=function(d,e){d=d-0x1a6;let f=c[d];return f;},a106d(a,b);}const a106y=a106d;(function(a,b){const v=a106d,c=a();while(!![]){try{const d=-parseInt(v(0x1cf))/0x1+-parseInt(v(0x1df))/0x2+-parseInt(v(0x1b1))/0x3*(-parseInt(v(0x1a9))/0x4)+parseInt(v(0x1dd))/0x5+-parseInt(v(0x1c4))/0x6+parseInt(v(0x1b9))/0x7+-parseInt(v(0x1db))/0x8*(-parseInt(v(0x1e8))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a106c,0x28b14));const a106b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a106d;if(c){const e=c[w(0x1e0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a106a=a106b(this,function(){const x=a106d;return a106a[x(0x1c8)]()[x(0x1d0)](x(0x1c0))['toString']()['constructor'](a106a)[x(0x1d0)](x(0x1c0));});a106a();function a106c(){const H=['/imports/ui/pages','layout','findGenerator','1017QTzSOI','route','maka\x20g:route\x20todosIndex\x20todos','withHook','templateName','8212AzqCfL','true','</Router>','routes.js','maka\x20g:route\x20usersShow\x20users/:id/show\x20--layout\x20userView','fsi','vanilla','create','327XKhdoK','url','page','pathFromApp','only','Could\x20not\x20find\x20a\x20suitable\x20location\x20to\x20enable\x20this\x20route.\x20\x20Please\x20inspect\x20','join','error','1165101oTtRQC','private','rewriteDestinationPathForEngine','toLowerCase','newForm','config','Scaffolding\x20for\x20a\x20Route.','(((.+)+)+)+$','route/route.js','includes','react','826194HThUMD','templateContent','startup','map','toString','maka\x20g:route\x20todosEdit\x20todos/:id/edit','maka\x20g:route\x20lists/listIndex\x20lists','const\x20publicRoutes\x20=\x20(<>','PrivateLayout','ssr','readFileLines','80890UvBuAL','search','MasterLayout','warn','injectAfterLineNumber','getProjectConfig','import\x20*\x20as\x20Component\x20from\x20\x27./templates\x27;','imports','engines','filter','const\x20privateRoutes\x20=\x20(<>','withTranslations','6936qFGTif','client','590935aVgtNT','root','442226qmQjHK','apply','\x0a\x09\x09','cwd','invoke','length'];a106c=function(){return H;};return a106c();}import a106e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a106f from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['r'];Generator[a106y(0x1b0)]({'name':a106y(0x1e9),'aliases':aliases,'validOpts':['private',a106y(0x1e6),a106y(0x1b5),a106y(0x1e2),a106y(0x1be),a106y(0x1de),a106y(0x1a7),a106y(0x1b2)],'usage':'maka\x20{generate,\x20g}:{route,\x20r}\x20[path/]<name>\x20[url]\x20[--private]','shortDesc':a106y(0x1bf),'examples':[a106y(0x1a6),a106y(0x1c9),a106y(0x1ad),a106y(0x1ca)]},function(a,b){const z=a106y;try{const c=this[z(0x1ae)][z(0x1d4)]();this[z(0x1ae)]['withValue'](c,async()=>{const A=z,d=b[A(0x1ba)]??![];let f=paramCase(a[0x0]),g='/'+f;a['length']>0x1&&(g='/'+a[A(0x1d8)](function(l){return l!=='/';})[A(0x1b7)]('/')[A(0x1bc)]());f=camelCase(f);b['layout']&&(b[A(0x1e6)]=camelCase(b[A(0x1e6)]));const h=a106e['join'](A(0x1e5),f,f),i={'name':f,'fileCase':paramCase(f),'camelCaseName':camelCase(f),'url':g,'layout':b['layout']||A(0x1d1),'templatePath':h,'templateName':pascalCase(f),'client':c[A(0x1d7)][A(0x1dc)],'newForm':![],'withTranslations':c['features'][A(0x1da)]};d&&(i[A(0x1e6)]=A(0x1cc));if(!b[A(0x1de)]){const l=a106f[A(0x1e7)](A(0x1b3));l&&await l[A(0x1e3)](a,b);}let j,k;if(c[A(0x1d7)][A(0x1dc)]===A(0x1c3)){if(c['engines'][A(0x1cd)]===A(0x1aa)){const p=this[A(0x1ae)]['pathFromApp']({'pathParts':[A(0x1d6),'startup','lib',A(0x1ac)]});j=this['fsi'][A(0x1bb)]({'pathParts':[p],'config':c});}else{const q=this['fsi']['pathFromApp']({'pathParts':[A(0x1d6),A(0x1c6),A(0x1dc),A(0x1ac)]});j=this[A(0x1ae)]['rewriteDestinationPathForEngine']({'pathParts':[q],'config':c});}const m=this[A(0x1ae)]['readFileLines'](j)['map']((r,s)=>{const B=A;return r[B(0x1c2)](B(0x1d5))?s+0x1:null;})[A(0x1d8)](r=>r!==null);let n=this[A(0x1ae)][A(0x1ce)](j)[A(0x1c7)]((r,s)=>{const C=A;return r[C(0x1c2)]('const\x20publicRoutes\x20=\x20(<>')?s+0x1:null;})[A(0x1d8)](r=>r!==null),o=this['fsi'][A(0x1ce)](j)['map']((r,s)=>{const D=A;return r[D(0x1c2)](D(0x1d9))?s+0x1:null;})[A(0x1d8)](r=>r!==null);n[A(0x1e4)]>0x0&&o[A(0x1e4)]>0x0&&(i[A(0x1bd)]=!![]);k=this[A(0x1ae)][A(0x1c5)]({'srcPath':'route/route.js','framework':'react','context':i,'config':c});if(n['length']>0x0||o[A(0x1e4)]>0x0){this['fsi'][A(0x1d3)]({'filePath':j,'content':k,'lineNumber':m[0x0]});if(d&&o[A(0x1e4)]>0x0)o=this[A(0x1ae)][A(0x1ce)](j)[A(0x1c7)]((r,s)=>{const E=A;return r['includes'](E(0x1d9))?s+0x1:null;})[A(0x1d8)](r=>r!==null),this[A(0x1ae)][A(0x1d3)]({'filePath':j,'content':'\x09{'+i[A(0x1a8)]+'}','lineNumber':o[0x0]});else n[A(0x1e4)]>0x0?(n=this[A(0x1ae)][A(0x1ce)](j)[A(0x1c7)]((r,s)=>{const F=A;return r['includes'](F(0x1cb))?s+0x1:null;})[A(0x1d8)](r=>r!==null),this[A(0x1ae)][A(0x1d3)]({'filePath':j,'content':'\x09{'+i['templateName']+'}','lineNumber':n[0x0]})):Log[A(0x1d2)](A(0x1b6)+j);}else{const r=this[A(0x1ae)][A(0x1ce)](j)[A(0x1c7)](u=>{const G=A;return u[G(0x1c2)]('\x22*\x22');}),s=r['indexOf'](!![])>-0x1,t=s?'<Route':A(0x1ab);this[A(0x1ae)]['injectIntoFile']({'filePath':j,'content':A(0x1e1)+k+A(0x1e1),'begin':'<Router','end':t});}}else{if(c['engines'][A(0x1dc)]===A(0x1af)){const u=this['fsi'][A(0x1b4)]({'pathParts':[A(0x1d6),A(0x1c6),A(0x1dc),A(0x1ac)]});j=this[A(0x1ae)][A(0x1bb)]({'pathParts':[u],'config':c}),k=this[A(0x1ae)][A(0x1c5)]({'srcPath':A(0x1c1),'context':i}),this[A(0x1ae)]['injectAtEndOfFile']({'filePath':j,'content':'\x0a'+k});}}});}catch(d){Log[z(0x1b8)](d);}});
1
+ function a106d(a,b){const c=a106c();return a106d=function(d,e){d=d-0x6b;let f=c[d];return f;},a106d(a,b);}const a106x=a106d;(function(a,b){const v=a106d,c=a();while(!![]){try{const d=parseInt(v(0x6b))/0x1*(parseInt(v(0x77))/0x2)+parseInt(v(0x9a))/0x3*(-parseInt(v(0x7c))/0x4)+parseInt(v(0x9b))/0x5*(-parseInt(v(0xa6))/0x6)+-parseInt(v(0xa1))/0x7*(-parseInt(v(0xa2))/0x8)+-parseInt(v(0x79))/0x9*(parseInt(v(0xa5))/0xa)+parseInt(v(0x9f))/0xb*(parseInt(v(0xaf))/0xc)+parseInt(v(0x95))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a106c,0x4e56e));const a106b=(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;};}()),a106a=a106b(this,function(){const w=a106d;return a106a['toString']()['search'](w(0x91))[w(0x6c)]()[w(0x6d)](a106a)[w(0x7b)](w(0x91));});a106a();import a106e from'path';function a106c(){const G=['root','newForm','true','maka\x20g:route\x20lists/listIndex\x20lists','cwd','length','routes.js','(((.+)+)+)+$','filter','only','engines','3496207DvYFNt','indexOf','maka\x20{generate,\x20g}:{route,\x20r}\x20[path/]<name>\x20[url]\x20[--private]','pathFromApp','\x0a\x09\x09','15JaqWsb','70PdzYII','map','readFileLines','const\x20publicRoutes\x20=\x20(<>','6567363dDNNuR','Could\x20not\x20find\x20a\x20suitable\x20location\x20to\x20enable\x20this\x20route.\x20\x20Please\x20inspect\x20','2695pWGyni','8344szYbUE','config','ssr','44510TazDSL','167640VzezTf','fsi','private','injectAtEndOfFile','findGenerator','injectIntoFile','vanilla','features','startup','12fYKQLW','PrivateLayout','includes','invoke','8093TamriS','toString','constructor','lib','warn','MasterLayout','error','imports','url','\x22*\x22','route','templateContent','124pUkGYy','layout','900opFEhU','create','search','489724pojLMc','const\x20privateRoutes\x20=\x20(<>','withTranslations','maka\x20g:route\x20todosEdit\x20todos/:id/edit','react','injectAfterLineNumber','getProjectConfig','toLowerCase','/imports/ui/pages','rewriteDestinationPathForEngine','route/route.js','maka\x20g:route\x20todosIndex\x20todos','client','</Router>'];a106c=function(){return G;};return a106c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a106f from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['r'];Generator[a106x(0x7a)]({'name':a106x(0x75),'aliases':aliases,'validOpts':[a106x(0xa8),'layout',a106x(0x93),a106x(0x8e),a106x(0xa3),a106x(0x8a),'withHook',a106x(0x73)],'usage':a106x(0x97),'shortDesc':'Scaffolding\x20for\x20a\x20Route.','examples':[a106x(0x87),a106x(0x7f),'maka\x20g:route\x20usersShow\x20users/:id/show\x20--layout\x20userView',a106x(0x8d)]},function(a,b){const y=a106x;try{const c=this[y(0xa7)][y(0x82)]();this['fsi']['withValue'](c,async()=>{const z=y,d=b[z(0xa8)]??![];let f=paramCase(a[0x0]),g='/'+f;a['length']>0x1&&(g='/'+a[z(0x92)](function(l){return l!=='/';})['join']('/')[z(0x83)]());f=camelCase(f);b[z(0x78)]&&(b[z(0x78)]=camelCase(b[z(0x78)]));const h=a106e['join'](z(0x84),f,f),i={'name':f,'fileCase':paramCase(f),'camelCaseName':camelCase(f),'url':g,'layout':b[z(0x78)]||z(0x70),'templatePath':h,'templateName':pascalCase(f),'client':c[z(0x94)][z(0x88)],'newForm':![],'withTranslations':c[z(0xad)][z(0x7e)]};d&&(i[z(0x78)]=z(0xb0));if(!b[z(0x8a)]){const l=a106f[z(0xaa)]('page');l&&await l[z(0xb2)](a,b);}let j,k;if(c[z(0x94)][z(0x88)]==='react'){if(c[z(0x94)][z(0xa4)]===z(0x8c)){const p=this['fsi'][z(0x98)]({'pathParts':['imports','startup',z(0x6e),z(0x90)]});j=this[z(0xa7)][z(0x85)]({'pathParts':[p],'config':c});}else{const q=this[z(0xa7)]['pathFromApp']({'pathParts':[z(0x72),z(0xae),z(0x88),z(0x90)]});j=this['fsi'][z(0x85)]({'pathParts':[q],'config':c});}const m=this[z(0xa7)]['readFileLines'](j)[z(0x9c)]((r,s)=>{const A=z;return r[A(0xb1)]('import\x20*\x20as\x20Component\x20from\x20\x27./templates\x27;')?s+0x1:null;})[z(0x92)](r=>r!==null);let n=this[z(0xa7)][z(0x9d)](j)['map']((r,s)=>{const B=z;return r['includes'](B(0x9e))?s+0x1:null;})[z(0x92)](r=>r!==null),o=this[z(0xa7)]['readFileLines'](j)[z(0x9c)]((r,s)=>{const C=z;return r[C(0xb1)](C(0x7d))?s+0x1:null;})['filter'](r=>r!==null);n[z(0x8f)]>0x0&&o['length']>0x0&&(i[z(0x8b)]=!![]);k=this[z(0xa7)][z(0x76)]({'srcPath':'route/route.js','framework':z(0x80),'context':i,'config':c});if(n[z(0x8f)]>0x0||o[z(0x8f)]>0x0){this[z(0xa7)]['injectAfterLineNumber']({'filePath':j,'content':k,'lineNumber':m[0x0]});if(d&&o[z(0x8f)]>0x0)o=this[z(0xa7)][z(0x9d)](j)[z(0x9c)]((r,s)=>{const D=z;return r['includes'](D(0x7d))?s+0x1:null;})[z(0x92)](r=>r!==null),this[z(0xa7)][z(0x81)]({'filePath':j,'content':'\x09{'+i['templateName']+'}','lineNumber':o[0x0]});else n[z(0x8f)]>0x0?(n=this[z(0xa7)][z(0x9d)](j)[z(0x9c)]((r,s)=>{const E=z;return r[E(0xb1)](E(0x9e))?s+0x1:null;})[z(0x92)](r=>r!==null),this[z(0xa7)][z(0x81)]({'filePath':j,'content':'\x09{'+i['templateName']+'}','lineNumber':n[0x0]})):Log[z(0x6f)](z(0xa0)+j);}else{const r=this[z(0xa7)][z(0x9d)](j)[z(0x9c)](u=>{const F=z;return u[F(0xb1)](F(0x74));}),s=r[z(0x96)](!![])>-0x1,t=s?'<Route':z(0x89);this['fsi'][z(0xab)]({'filePath':j,'content':z(0x99)+k+z(0x99),'begin':'<Router','end':t});}}else{if(c[z(0x94)][z(0x88)]===z(0xac)){const u=this[z(0xa7)][z(0x98)]({'pathParts':['imports','startup',z(0x88),'routes.js']});j=this[z(0xa7)][z(0x85)]({'pathParts':[u],'config':c}),k=this['fsi'][z(0x76)]({'srcPath':z(0x86),'context':i}),this[z(0xa7)][z(0xa9)]({'filePath':j,'content':'\x0a'+k});}}});}catch(d){Log[y(0x71)](d);}});
@@ -1 +1 @@
1
- const a107l=a107d;function a107d(a,b){const c=a107c();return a107d=function(d,e){d=d-0x102;let f=c[d];return f;},a107d(a,b);}(function(a,b){const j=a107d,c=a();while(!![]){try{const d=parseInt(j(0x112))/0x1+parseInt(j(0x109))/0x2+-parseInt(j(0x11c))/0x3+-parseInt(j(0x107))/0x4*(-parseInt(j(0x123))/0x5)+-parseInt(j(0x11d))/0x6+-parseInt(j(0x11e))/0x7+parseInt(j(0x10a))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a107c,0x2723d));const a107b=(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;};}()),a107a=a107b(this,function(){const k=a107d;return a107a['toString']()[k(0x11b)](k(0x110))[k(0x122)]()[k(0x121)](a107a)[k(0x11b)](k(0x110));});function a107c(){const o=['2754392jEMKio','fsi','Installing\x20winston','installNpmPackage','create','services','(((.+)+)+)+$','error','168633bCgdZK','imports','engines','pathFromApp','Generate\x20a\x20service\x20to\x20run\x20within\x20your\x20meteor\x20application.','checkNpmPackage','winston\x20setimmediate','svc','lib','search','758874xyMFUX','906432wXelhP','1587082bUxGOV','getProjectConfig','tsx','constructor','toString','1630TGgQmL','maka\x20{generate,\x20g}:{service}\x20[service-type]','winston','withValue','type','logger','service/logger/logger.js','2044TgIbgl','resourceName','223110sIssdp'];a107c=function(){return o;};return a107c();}a107a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a107l(0x10e)]({'name':'service','aliases':[a107l(0x119)],'usage':a107l(0x124),'shortDesc':a107l(0x116),'validOpts':[a107l(0x104)],'validArgs':[a107l(0x105)],'maxArgLength':0x1,'minArgLength':0x1,'examples':['maka\x20g:svc\x20logger']},async function(a,b){const m=a107l;try{const c=this[m(0x10b)][m(0x11f)]();this['fsi'][m(0x103)](c,async()=>{const n=m,d=this['fsi'][n(0x115)]({}),f=paramCase(b['resourceName']),g={'name':pascalCase(b[n(0x108)]),'fileName':f,'camelCase':camelCase(b[n(0x108)]),'type':a[0x0],'engine':c['engines']['js'],'noRename':!![]};let h='js';c[n(0x114)]['js']===n(0x120)&&(h='ts');if(a[0x0]==='logger'){!this[n(0x10b)][n(0x117)](n(0x102))&&await this[n(0x10b)][n(0x10d)](n(0x118),{'cwd':d,'msg':n(0x10c)});const i=this['fsi'][n(0x115)]({'pathParts':[n(0x113),'startup',n(0x11a),n(0x10f),f+'.'+h]});this[n(0x10b)]['template']({'srcPath':n(0x106),'destPath':i,'context':g,'config':c});}});}catch(d){Log[m(0x111)](d);}});
1
+ const a107m=a107d;(function(a,b){const j=a107d,c=a();while(!![]){try{const d=-parseInt(j(0x172))/0x1+parseInt(j(0x162))/0x2*(parseInt(j(0x176))/0x3)+parseInt(j(0x16c))/0x4+-parseInt(j(0x170))/0x5*(-parseInt(j(0x184))/0x6)+parseInt(j(0x17c))/0x7+parseInt(j(0x16e))/0x8*(parseInt(j(0x16b))/0x9)+parseInt(j(0x17f))/0xa*(-parseInt(j(0x166))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a107c,0xeba5f));const a107b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a107d;if(c){const e=c[k(0x16d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a107a=a107b(this,function(){const l=a107d;return a107a[l(0x168)]()[l(0x16a)]('(((.+)+)+)+$')['toString']()[l(0x178)](a107a)[l(0x16a)](l(0x165));});function a107d(a,b){const c=a107c();return a107d=function(d,e){d=d-0x161;let f=c[d];return f;},a107d(a,b);}a107a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a107c(){const p=['create','engines','15BuAnli','checkNpmPackage','constructor','type','winston','pathFromApp','11293408iVcPLj','installNpmPackage','template','10zPLBNz','services','withValue','resourceName','logger','7842kPXchV','maka\x20{generate,\x20g}:{service}\x20[service-type]','lib','service','imports','1358VYjdIy','fsi','error','(((.+)+)+)+$','20060843vYYvFy','service/logger/logger.js','toString','tsx','search','1089HakCqj','5097408DniiRq','apply','848OMJHpa','winston\x20setimmediate','1405dawiOi','getProjectConfig','482256IuRIqk','svc'];a107c=function(){return p;};return a107c();}import{Log}from'../tools/log/log.class.js';Generator[a107m(0x174)]({'name':a107m(0x187),'aliases':[a107m(0x173)],'usage':a107m(0x185),'shortDesc':'Generate\x20a\x20service\x20to\x20run\x20within\x20your\x20meteor\x20application.','validOpts':[a107m(0x179)],'validArgs':[a107m(0x183)],'maxArgLength':0x1,'minArgLength':0x1,'examples':['maka\x20g:svc\x20logger']},async function(a,b){const n=a107m;try{const c=this[n(0x163)][n(0x171)]();this['fsi'][n(0x181)](c,async()=>{const o=n,d=this[o(0x163)][o(0x17b)]({}),f=paramCase(b[o(0x182)]),g={'name':pascalCase(b[o(0x182)]),'fileName':f,'camelCase':camelCase(b['resourceName']),'type':a[0x0],'engine':c['engines']['js'],'noRename':!![]};let h='js';c[o(0x175)]['js']===o(0x169)&&(h='ts');if(a[0x0]===o(0x183)){!this[o(0x163)][o(0x177)](o(0x17a))&&await this['fsi'][o(0x17d)](o(0x16f),{'cwd':d,'msg':'Installing\x20winston'});const i=this['fsi']['pathFromApp']({'pathParts':[o(0x161),'startup',o(0x186),o(0x180),f+'.'+h]});this[o(0x163)][o(0x17e)]({'srcPath':o(0x167),'destPath':i,'context':g,'config':c});}});}catch(d){Log[n(0x164)](d);}});
@@ -1 +1 @@
1
- function a108c(){var i=['toString','apply','11706vRHBRn','search','575220DtUCMq','58340VeHPCa','constructor','(((.+)+)+)+$','691120zRoKjZ','580EfZCPu','1057672RrUmoy','93hkqfJr','624198pHkhqO','8awxsWk','119673GzTHbG'];a108c=function(){return i;};return a108c();}(function(a,b){var f=a108d,c=a();while(!![]){try{var d=parseInt(f(0x1ff))/0x1+-parseInt(f(0x1fc))/0x2*(parseInt(f(0x1f6))/0x3)+-parseInt(f(0x1f3))/0x4+-parseInt(f(0x1fe))/0x5+-parseInt(f(0x1f7))/0x6+parseInt(f(0x1f5))/0x7*(-parseInt(f(0x1f8))/0x8)+-parseInt(f(0x1f9))/0x9*(-parseInt(f(0x1f4))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a108c,0x19ad2));var a108b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a108d;if(c){var e=c[g(0x1fb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a108a=a108b(this,function(){var h=a108d;return a108a[h(0x1fa)]()[h(0x1fd)](h(0x201))['toString']()[h(0x200)](a108a)[h(0x1fd)](h(0x201));});function a108d(a,b){var c=a108c();return a108d=function(d,e){d=d-0x1f3;var f=c[d];return f;},a108d(a,b);}a108a();import'./translation.js';import'./openssl.js';
1
+ (function(a,b){var f=a108d,c=a();while(!![]){try{var d=-parseInt(f(0x16a))/0x1*(parseInt(f(0x168))/0x2)+parseInt(f(0x171))/0x3*(-parseInt(f(0x170))/0x4)+-parseInt(f(0x172))/0x5+parseInt(f(0x16c))/0x6+-parseInt(f(0x165))/0x7*(-parseInt(f(0x166))/0x8)+-parseInt(f(0x167))/0x9*(-parseInt(f(0x173))/0xa)+parseInt(f(0x164))/0xb*(parseInt(f(0x16f))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a108c,0xc0aae));function a108d(a,b){var c=a108c();return a108d=function(d,e){d=d-0x164;var f=c[d];return f;},a108d(a,b);}function a108c(){var h=['9pgxOfs','2ehUfQc','toString','1200172Zmmkph','constructor','6383472krIWDC','(((.+)+)+)+$','search','12UFVwfd','79508IZqNJH','174zOumXl','5107575ekqEDa','2401910ecLQep','16216805krMSZX','63eOmIyY','1231432qlKsQE'];a108c=function(){return h;};return a108c();}var a108b=(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;};}()),a108a=a108b(this,function(){var g=a108d;return a108a[g(0x169)]()[g(0x16e)](g(0x16d))[g(0x169)]()[g(0x16b)](a108a)['search'](g(0x16d));});a108a();import'./translation.js';import'./openssl.js';
@@ -1 +1 @@
1
- const a109k=a109d;(function(a,b){const i=a109d,c=a();while(!![]){try{const d=parseInt(i(0x149))/0x1+parseInt(i(0x148))/0x2+-parseInt(i(0x146))/0x3*(-parseInt(i(0x14f))/0x4)+-parseInt(i(0x14a))/0x5+parseInt(i(0x13e))/0x6*(-parseInt(i(0x13f))/0x7)+-parseInt(i(0x14b))/0x8+-parseInt(i(0x141))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a109c,0xc81a5));const a109b=(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;};}()),a109a=a109b(this,function(){const j=a109d;return a109a[j(0x13d)]()[j(0x142)](j(0x144))[j(0x13d)]()[j(0x154)](a109a)[j(0x142)](j(0x144));});a109a();import{Generator}from'../../generator.js';function a109c(){const n=['withValue','54288lDBBix','getGlobalConfig','template','getConfigPath','fsi','constructor','openssl.conf','_keys','appName','sslconfig','toString','18aWBADU','1770657pyerxq','maka\x20g:sslconfig\x20--env\x20dev','3919014hvXqLJ','search','env','(((.+)+)+)+$','create','162FTPPca','join','2843128irauzX','101431UWuiLL','847120rNEAON','580312iypcfD','service','openssl/openssl.conf'];a109c=function(){return n;};return a109c();}import{Log}from'../../tools/log/log.class.js';import a109e from'path';function a109d(a,b){const c=a109c();return a109d=function(d,e){d=d-0x13a;let f=c[d];return f;},a109d(a,b);}Generator[a109k(0x145)]({'name':a109k(0x13c),'usage':'maka\x20{generate,\x20g}:sslconfig','shortDesc':'Generate\x20a\x20new\x20openssl\x20config\x20file','noResource':!![],'requiredOpts':[a109k(0x143)],'examples':[a109k(0x140)],'validOpts':[a109k(0x143)]},async function(a,b){const l=a109k;try{const c=await this[l(0x153)]['getProjectConfig'](),d=await this[l(0x153)][l(0x150)](),f=this[l(0x153)][l(0x152)](b[l(0x143)]),g=a109e[l(0x147)](f,l(0x13a),l(0x155));await this['fsi'][l(0x14e)](c,async()=>{const m=l,h={'app':d[m(0x13b)],'noRename':!![]};await this['fsi'][m(0x151)]({'srcPath':m(0x14d),'destPath':g,'framework':m(0x14c),'context':h,'config':c});});}catch(h){Log['error'](h);}});
1
+ const a109k=a109d;(function(a,b){const i=a109d,c=a();while(!![]){try{const d=-parseInt(i(0xe1))/0x1+parseInt(i(0xe4))/0x2*(parseInt(i(0xe7))/0x3)+-parseInt(i(0xd4))/0x4*(parseInt(i(0xe8))/0x5)+-parseInt(i(0xd0))/0x6*(parseInt(i(0xd8))/0x7)+parseInt(i(0xe6))/0x8+parseInt(i(0xe9))/0x9+parseInt(i(0xd9))/0xa*(parseInt(i(0xd3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a109c,0xb10b7));const a109b=(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;};}()),a109a=a109b(this,function(){const j=a109d;return a109a[j(0xd1)]()[j(0xe5)](j(0xce))['toString']()['constructor'](a109a)[j(0xe5)]('(((.+)+)+)+$');});a109a();function a109d(a,b){const c=a109c();return a109d=function(d,e){d=d-0xce;let f=c[d];return f;},a109d(a,b);}import{Generator}from'../../generator.js';function a109c(){const n=['appName','openssl.conf','Generate\x20a\x20new\x20openssl\x20config\x20file','463064ynOKce','10RhfRqa','withValue','openssl/openssl.conf','_keys','maka\x20{generate,\x20g}:sslconfig','template','join','env','1441656WxClwA','getGlobalConfig','error','788TUlCDT','search','1428976voGuDN','2388OYnkxV','2895985JjNYuQ','12532716OOBnAc','fsi','sslconfig','(((.+)+)+)+$','getConfigPath','24SroAUT','toString','create','18755693MmXnaf','8jgMVrg'];a109c=function(){return n;};return a109c();}import{Log}from'../../tools/log/log.class.js';import a109e from'path';Generator[a109k(0xd2)]({'name':a109k(0xeb),'usage':a109k(0xdd),'shortDesc':a109k(0xd7),'noResource':!![],'requiredOpts':[a109k(0xe0)],'examples':['maka\x20g:sslconfig\x20--env\x20dev'],'validOpts':[a109k(0xe0)]},async function(a,b){const l=a109k;try{const c=await this['fsi']['getProjectConfig'](),d=await this[l(0xea)][l(0xe2)](),f=this[l(0xea)][l(0xcf)](b[l(0xe0)]),g=a109e[l(0xdf)](f,l(0xdc),l(0xd6));await this['fsi'][l(0xda)](c,async()=>{const m=l,h={'app':d[m(0xd5)],'noRename':!![]};await this[m(0xea)][m(0xde)]({'srcPath':m(0xdb),'destPath':g,'framework':'service','context':h,'config':c});});}catch(h){Log[l(0xe3)](h);}});
@@ -1 +1 @@
1
- const a110A=a110d;function a110d(a,b){const c=a110c();return a110d=function(d,e){d=d-0xe1;let f=c[d];return f;},a110d(a,b);}(function(a,b){const x=a110d,c=a();while(!![]){try{const d=-parseInt(x(0x10b))/0x1+parseInt(x(0xf0))/0x2*(-parseInt(x(0x112))/0x3)+parseInt(x(0xef))/0x4+-parseInt(x(0xf6))/0x5+parseInt(x(0xe3))/0x6+-parseInt(x(0x115))/0x7+-parseInt(x(0x11b))/0x8*(-parseInt(x(0x100))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a110c,0x286b5));const a110b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a110d;if(c){const e=c[y(0x107)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a110a=a110b(this,function(){const z=a110d;return a110a['toString']()[z(0xe8)](z(0x11c))[z(0x102)]()[z(0x10f)](a110a)[z(0xe8)](z(0x11c));});function a110c(){const D=['services','create','\x20}\x20from\x20\x27./','error','526280kkmkqF','isFile','engines','index.js','maka\x20g:translation\x20--lang=de','i18n/i18n.js','import\x20\x27../lib/services/translations/i18n\x27;','Locale\x20already\x20exported:\x20','injectAtEndOfFile','findAppDirectory','72KNuKtL','i18n','toString','appName','grep','injectAtBeginningOfFile','i18n/index.js','apply','exit','Verifying\x20npm\x20package\x20requirements:\x20i18next\x20...','i18next\x20i18next-browser-languagedetector\x20react-i18next','227391DWdKmj','maka\x20{generate,\x20g}:translation\x20--lang=<language>','fsi','imports','constructor','lang','i18n/locales.js','40209MxjhBh','locales','maka\x20g:translation\x20--lang=fr','424697wNMixr','warn','import\x20\x27../lib/services/translations/i18n\x27;\x0a','pathFromApp','service','startup','318608OvTvXK','(((.+)+)+)+$','Generate\x20a\x20new\x20locale\x20translation','translations','export\x20{\x20default\x20as\x20','1822356UwMpUP','rewriteDestinationPathForEngine','root','features.withTranslations','ssr','search','getProjectConfig','setProjectConfig','i18n.js','getGlobalConfig','maka\x20g:translation\x20--lang=en\x20(default)','template','335896ySRCGf','22hBsQkQ','readFileSync'];a110c=function(){return D;};return a110c();}a110a();import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';import a110e from'fs';Generator[a110A(0xf3)]({'name':'translation','usage':a110A(0x10c),'aliases':[a110A(0x101)],'shortDesc':a110A(0x11d),'noResource':!![],'examples':[a110A(0xed),a110A(0x114),a110A(0xfa)],'validOpts':[a110A(0x110)]},function(a,b){const B=a110A;try{const c=this['fsi'][B(0xe9)](),d=this['fsi'][B(0xec)](),f=this['fsi'][B(0xff)]();this['fsi']['withValue'](c,()=>{const C=B;try{!b[C(0x110)]&&(b['lang']='en');!b[C(0xe5)]&&!this[C(0x10d)]['checkNpmPackage']('i18next')&&(Log[C(0x116)](C(0x109)),this['fsi']['installNpmPackage'](C(0x10a),{'cwd':f}),this[C(0x10d)][C(0xea)](C(0xe6),!![]));const g=this[C(0x10d)][C(0x118)]({'pathParts':[C(0x10e),'startup','client',C(0xf9)]}),h=this['fsi'][C(0xe4)]({'pathParts':[g],'config':c}),i=this[C(0x10d)][C(0x104)](a110e[C(0xf1)](h)[C(0x102)](),C(0xfc))[0x0]&&!![];if(c['engines'][C(0xe7)]==='true'){!i&&this[C(0x10d)]['injectAtBeginningOfFile']({'filePath':h,'content':C(0x117)});const t=this[C(0x10d)]['pathFromApp']({'pathParts':[C(0x10e),C(0x11a),'server',C(0xf9)]}),u=this[C(0x10d)][C(0xe4)]({'pathParts':[t],'config':c}),v=this[C(0x10d)]['grep'](a110e['readFileSync'](u)[C(0x102)](),C(0xfc))[0x0]&&!![];!v&&this[C(0x10d)]['injectAtBeginningOfFile']({'filePath':u,'content':C(0x117)});}else!i&&this[C(0x10d)][C(0x105)]({'filePath':h,'content':C(0x117)});const j={'app':d[C(0x103)],'config':c},k=this['fsi']['pathFromApp']({'pathParts':[C(0x10e),C(0x11a),'lib',C(0xf2),C(0xe1),C(0xeb)]}),l=this[C(0x10d)]['isFile'](this['fsi'][C(0xe4)]({'pathParts':[k],'config':c}));!l&&this[C(0x10d)][C(0xee)]({'srcPath':C(0xfb),'destPath':k,'framework':C(0x119),'context':j,'config':c});const m=this[C(0x10d)][C(0x118)]({'pathParts':[C(0x10e),C(0x11a),'lib','services',C(0xe1),C(0x113),b[C(0x110)]+'.js']}),n=this[C(0x10d)][C(0xe4)]({'pathParts':[m],'config':c}),o=this[C(0x10d)][C(0xf7)](n);!o?this[C(0x10d)][C(0xee)]({'srcPath':C(0x111),'destPath':m,'framework':C(0x119),'context':j,'config':c}):Log[C(0x116)]('Locale\x20already\x20defined:\x20'+n);const p=this[C(0x10d)][C(0x118)]({'pathParts':['imports',C(0x11a),'lib',C(0xf2),C(0xe1),C(0x113),'index.'+c[C(0xf8)]['js']]}),q=this[C(0x10d)][C(0xe4)]({'pathParts':[p],'config':c}),r=this[C(0x10d)][C(0xf7)](q);!r&&this[C(0x10d)]['template']({'srcPath':C(0x106),'destPath':p,'framework':C(0x119),'context':j,'config':c});const s=this[C(0x10d)]['grep'](a110e['readFileSync'](p)['toString'](),'default\x20as\x20'+b[C(0x110)])[0x0]&&!![];!s?this[C(0x10d)][C(0xfe)]({'filePath':p,'content':C(0xe2)+b[C(0x110)]+C(0xf4)+b[C(0x110)]+'\x27;'}):Log['warn'](C(0xfd)+p);}catch(w){Log[C(0xf5)](w),process[C(0x108)](0x1);}});}catch(g){Log[B(0xf5)](g),process[B(0x108)](0x1);}});
1
+ const a110A=a110d;(function(a,b){const x=a110d,c=a();while(!![]){try{const d=-parseInt(x(0xe3))/0x1+parseInt(x(0x118))/0x2*(-parseInt(x(0x11d))/0x3)+parseInt(x(0x119))/0x4+parseInt(x(0xe5))/0x5+-parseInt(x(0xff))/0x6*(-parseInt(x(0x11e))/0x7)+parseInt(x(0x121))/0x8+parseInt(x(0xe7))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a110c,0x95e63));const a110b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a110d;if(c){const e=c[y(0xe8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a110a=a110b(this,function(){const z=a110d;return a110a['toString']()[z(0xe6)](z(0x107))['toString']()[z(0x10e)](a110a)['search'](z(0x107));});a110a();import{Generator}from'../../generator.js';function a110d(a,b){const c=a110c();return a110d=function(d,e){d=d-0xe2;let f=c[d];return f;},a110d(a,b);}import{Log}from'../../tools/log/log.class.js';import a110e from'fs';function a110c(){const D=['fsi','services','Generate\x20a\x20new\x20locale\x20translation','maka\x20g:translation\x20--lang=en\x20(default)','grep','appName','isFile','1278GWjZom','toString','import\x20\x27../lib/services/translations/i18n\x27;','exit','findAppDirectory','i18n/i18n.js','warn','lang','(((.+)+)+)+$','root','export\x20{\x20default\x20as\x20','injectAtEndOfFile','translations','index.js','index.','constructor','i18next','translation','maka\x20{generate,\x20g}:translation\x20--lang=<language>','true','\x20}\x20from\x20\x27./','injectAtBeginningOfFile','service','import\x20\x27../lib/services/translations/i18n\x27;\x0a','setProjectConfig','1701746EyETlz','1309808XMJZZS','rewriteDestinationPathForEngine','template','client','3FvSTcQ','37653faInRh','maka\x20g:translation\x20--lang=fr','pathFromApp','1530368OscbZM','readFileSync','create','.js','i18n.js','595586zGGobw','maka\x20g:translation\x20--lang=de','1475045RdLQjr','search','908658NLLZdp','apply','startup','lib','Verifying\x20npm\x20package\x20requirements:\x20i18next\x20...','i18next\x20i18next-browser-languagedetector\x20react-i18next','locales','features.withTranslations','i18n/locales.js','error','ssr','Locale\x20already\x20exported:\x20','getProjectConfig','server','imports','i18n','engines'];a110c=function(){return D;};return a110c();}Generator[a110A(0x123)]({'name':a110A(0x110),'usage':a110A(0x111),'aliases':[a110A(0xf6)],'shortDesc':a110A(0xfa),'noResource':!![],'examples':[a110A(0xfb),a110A(0x11f),a110A(0xe4)],'validOpts':[a110A(0x106)]},function(a,b){const B=a110A;try{const c=this[B(0xf8)][B(0xf3)](),d=this[B(0xf8)]['getGlobalConfig'](),f=this[B(0xf8)][B(0x103)]();this[B(0xf8)]['withValue'](c,()=>{const C=B;try{!b[C(0x106)]&&(b[C(0x106)]='en');!b[C(0x108)]&&!this['fsi']['checkNpmPackage'](C(0x10f))&&(Log[C(0x105)](C(0xeb)),this[C(0xf8)]['installNpmPackage'](C(0xec),{'cwd':f}),this[C(0xf8)][C(0x117)](C(0xee),!![]));const g=this[C(0xf8)][C(0x120)]({'pathParts':[C(0xf5),C(0xe9),C(0x11c),C(0x10c)]}),h=this[C(0xf8)][C(0x11a)]({'pathParts':[g],'config':c}),i=this['fsi']['grep'](a110e[C(0x122)](h)[C(0x100)](),C(0x101))[0x0]&&!![];if(c[C(0xf7)][C(0xf1)]===C(0x112)){!i&&this['fsi'][C(0x114)]({'filePath':h,'content':C(0x116)});const t=this[C(0xf8)][C(0x120)]({'pathParts':[C(0xf5),C(0xe9),C(0xf4),C(0x10c)]}),u=this[C(0xf8)]['rewriteDestinationPathForEngine']({'pathParts':[t],'config':c}),v=this['fsi']['grep'](a110e['readFileSync'](u)[C(0x100)](),C(0x101))[0x0]&&!![];!v&&this[C(0xf8)][C(0x114)]({'filePath':u,'content':C(0x116)});}else!i&&this[C(0xf8)][C(0x114)]({'filePath':h,'content':C(0x116)});const j={'app':d[C(0xfd)],'config':c},k=this[C(0xf8)]['pathFromApp']({'pathParts':[C(0xf5),C(0xe9),C(0xea),C(0xf9),C(0x10b),C(0xe2)]}),l=this[C(0xf8)][C(0xfe)](this[C(0xf8)][C(0x11a)]({'pathParts':[k],'config':c}));!l&&this[C(0xf8)]['template']({'srcPath':C(0x104),'destPath':k,'framework':'service','context':j,'config':c});const m=this['fsi']['pathFromApp']({'pathParts':['imports',C(0xe9),'lib',C(0xf9),'translations',C(0xed),b['lang']+C(0x124)]}),n=this[C(0xf8)][C(0x11a)]({'pathParts':[m],'config':c}),o=this[C(0xf8)]['isFile'](n);!o?this[C(0xf8)][C(0x11b)]({'srcPath':C(0xef),'destPath':m,'framework':C(0x115),'context':j,'config':c}):Log[C(0x105)]('Locale\x20already\x20defined:\x20'+n);const p=this['fsi'][C(0x120)]({'pathParts':['imports','startup',C(0xea),'services',C(0x10b),C(0xed),C(0x10d)+c['engines']['js']]}),q=this['fsi']['rewriteDestinationPathForEngine']({'pathParts':[p],'config':c}),r=this[C(0xf8)][C(0xfe)](q);!r&&this[C(0xf8)]['template']({'srcPath':'i18n/index.js','destPath':p,'framework':C(0x115),'context':j,'config':c});const s=this[C(0xf8)][C(0xfc)](a110e[C(0x122)](p)[C(0x100)](),'default\x20as\x20'+b[C(0x106)])[0x0]&&!![];!s?this[C(0xf8)][C(0x10a)]({'filePath':p,'content':C(0x109)+b[C(0x106)]+C(0x113)+b['lang']+'\x27;'}):Log[C(0x105)](C(0xf2)+p);}catch(w){Log[C(0xf0)](w),process[C(0x102)](0x1);}});}catch(g){Log['error'](g),process[B(0x102)](0x1);}});
@@ -1 +1 @@
1
- const a111m=a111d;(function(a,b){const j=a111d,c=a();while(!![]){try{const d=-parseInt(j(0x176))/0x1+parseInt(j(0x175))/0x2+-parseInt(j(0x16d))/0x3*(parseInt(j(0x16a))/0x4)+parseInt(j(0x17d))/0x5+parseInt(j(0x17f))/0x6+parseInt(j(0x17a))/0x7+-parseInt(j(0x177))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a111c,0x8abdf));const a111b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a111d;if(c){const e=c[k(0x173)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a111a=a111b(this,function(){const l=a111d;return a111a[l(0x170)]()[l(0x179)]('(((.+)+)+)+$')[l(0x170)]()[l(0x174)](a111a)[l(0x179)]('(((.+)+)+)+$');});function a111d(a,b){const c=a111c();return a111d=function(d,e){d=d-0x168;let f=c[d];return f;},a111d(a,b);}a111a();import a111e from'minimist';import a111f from'os';import a111g from'path';import a111h from'humps';import a111i from'./commands/maka.cmd.js';import'./commands/_index.js';import'./generators/_index.js';import{fileURLToPath}from'url';const __filename=fileURLToPath(import.meta[a111m(0x172)]),__dirname=a111g[a111m(0x16e)](__filename);global[a111m(0x178)]=__dirname;const total_memory=a111f['totalmem'](),total_mem_in_kb=total_memory/0x400;function a111c(){const n=['--max-old-space-size=','slice','3bWfrAN','dirname','floor','toString','camelizeKeys','url','apply','constructor','1175954GKZrZo','966579ExiBgY','4238424NFwHWp','MAKA_COMMAND_PATH','search','6523181lQFpdK','run','env','3550575KeakRz','argv','2254938TPOOQa','parse','TOOL_NODE_FLAGS','2164516EQYvay'];a111c=function(){return n;};return a111c();}let total_mem_in_mb=total_mem_in_kb/0x400;total_mem_in_mb=Math[a111m(0x16f)](total_mem_in_mb),process[a111m(0x17c)][a111m(0x169)]=a111m(0x16b)+total_mem_in_mb,process['env']['BROWSERSLIST_IGNORE_OLD_DATA']='1';const argv=a111e(process[a111m(0x17e)][a111m(0x16c)](0x2)),args=argv['_'],deepCopyArgv=JSON[a111m(0x168)](JSON['stringify'](argv));delete deepCopyArgv['_'];const opts=a111h[a111m(0x171)](deepCopyArgv);a111i[a111m(0x17b)](args,opts);
1
+ const a111m=a111d;(function(a,b){const j=a111d,c=a();while(!![]){try{const d=parseInt(j(0xde))/0x1+-parseInt(j(0xe3))/0x2+parseInt(j(0xed))/0x3*(parseInt(j(0xeb))/0x4)+-parseInt(j(0xdd))/0x5+-parseInt(j(0xe9))/0x6*(-parseInt(j(0xf1))/0x7)+parseInt(j(0xe4))/0x8+-parseInt(j(0xdc))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a111c,0xa54ef));const a111b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a111d;if(c){const e=c[k(0xdb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a111a=a111b(this,function(){const l=a111d;return a111a[l(0xe5)]()[l(0xda)](l(0xef))[l(0xe5)]()[l(0xf2)](a111a)['search'](l(0xef));});a111a();import a111e from'minimist';function a111d(a,b){const c=a111c();return a111d=function(d,e){d=d-0xda;let f=c[d];return f;},a111d(a,b);}function a111c(){const n=['totalmem','(((.+)+)+)+$','--max-old-space-size=','658PFqJWE','constructor','search','apply','14708061ZWqgNW','269695wktiYQ','652932wMjkzV','TOOL_NODE_FLAGS','env','MAKA_COMMAND_PATH','slice','582380tAFYIq','2222448mUDxiH','toString','dirname','url','parse','84414YnmlGS','argv','84892BBGJBR','floor','57JTLAoS'];a111c=function(){return n;};return a111c();}import a111f from'os';import a111g from'path';import a111h from'humps';import a111i from'./commands/maka.cmd.js';import'./commands/_index.js';import'./generators/_index.js';import{fileURLToPath}from'url';const __filename=fileURLToPath(import.meta[a111m(0xe7)]),__dirname=a111g[a111m(0xe6)](__filename);global[a111m(0xe1)]=__dirname;const total_memory=a111f[a111m(0xee)](),total_mem_in_kb=total_memory/0x400;let total_mem_in_mb=total_mem_in_kb/0x400;total_mem_in_mb=Math[a111m(0xec)](total_mem_in_mb),process[a111m(0xe0)][a111m(0xdf)]=a111m(0xf0)+total_mem_in_mb,process[a111m(0xe0)]['BROWSERSLIST_IGNORE_OLD_DATA']='1';const argv=a111e(process[a111m(0xea)][a111m(0xe2)](0x2)),args=argv['_'],deepCopyArgv=JSON[a111m(0xe8)](JSON['stringify'](argv));delete deepCopyArgv['_'];const opts=a111h['camelizeKeys'](deepCopyArgv);a111i['run'](args,opts);
@@ -11,7 +11,7 @@ function <%= className %>(props) {
11
11
  const userId = Meteor.userId();
12
12
  return { userId }
13
13
  });*/<% if(graphql === 'apollo') { %>
14
- //const { loading, error, data } = useQuery(gql`query Todos { todos }`, { variables: {/* input */} }); <% } %><% if (theme === 'material') { %>
14
+ //const { loading, error, data } = useQuery(gql`query Todos { todos }`, { variables: {/* input */} }); <% } %><% if (withTranslations) { %>
15
15
  const { t } = useTranslation();<% } %>
16
16
 
17
17
  return (
@@ -10,7 +10,7 @@ function <%= className %>(props) {
10
10
  const userId = Meteor.userId();
11
11
  return { userId }
12
12
  });*/<% if(graphql === 'apollo') { %>
13
- // const { loading, error, data } = useQuery(gql`query Todos { todos }`, { variables: {/* input */} }); <% } %><% if (theme === 'material') { %>
13
+ // const { loading, error, data } = useQuery(gql`query Todos { todos }`, { variables: {/* input */} }); <% } %><% if (withTranslations) { %>
14
14
  const { t } = useTranslation();<% } %>
15
15
 
16
16
  return (