@maka/maka-cli 4.5.9 → 4.5.10

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 (95) hide show
  1. package/bundle/obf/src/command.js +1 -1
  2. package/bundle/obf/src/commands/_index.js +1 -1
  3. package/bundle/obf/src/commands/aws/_index.js +1 -1
  4. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  5. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  6. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  7. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/build/_index.js +1 -1
  16. package/bundle/obf/src/commands/build/build.js +1 -1
  17. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/create.js +1 -1
  19. package/bundle/obf/src/commands/debug.js +1 -1
  20. package/bundle/obf/src/commands/deploy.js +1 -1
  21. package/bundle/obf/src/commands/game/_index.js +1 -1
  22. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  23. package/bundle/obf/src/commands/game/play.command.js +1 -1
  24. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  25. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  26. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/generate.js +1 -1
  28. package/bundle/obf/src/commands/get/_index.js +1 -1
  29. package/bundle/obf/src/commands/get/get.command.js +1 -1
  30. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  31. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  32. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/help.js +1 -1
  34. package/bundle/obf/src/commands/install.js +1 -1
  35. package/bundle/obf/src/commands/jsdoc.js +1 -1
  36. package/bundle/obf/src/commands/lint.js +1 -1
  37. package/bundle/obf/src/commands/login.js +1 -1
  38. package/bundle/obf/src/commands/logout.js +1 -1
  39. package/bundle/obf/src/commands/logs.js +1 -1
  40. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  41. package/bundle/obf/src/commands/murder.js +1 -1
  42. package/bundle/obf/src/commands/proxy.js +1 -1
  43. package/bundle/obf/src/commands/reconfig.js +1 -1
  44. package/bundle/obf/src/commands/run/_index.js +1 -1
  45. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  46. package/bundle/obf/src/commands/run/run.command.js +1 -1
  47. package/bundle/obf/src/commands/set/_index.js +1 -1
  48. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  49. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  50. package/bundle/obf/src/commands/set/set.command.js +1 -1
  51. package/bundle/obf/src/commands/ssh.js +1 -1
  52. package/bundle/obf/src/commands/ssl.js +1 -1
  53. package/bundle/obf/src/commands/test.js +1 -1
  54. package/bundle/obf/src/commands/version.js +1 -1
  55. package/bundle/obf/src/error.js +1 -1
  56. package/bundle/obf/src/generator.js +1 -1
  57. package/bundle/obf/src/generators/_index.js +1 -1
  58. package/bundle/obf/src/generators/api.js +1 -1
  59. package/bundle/obf/src/generators/collection.js +1 -1
  60. package/bundle/obf/src/generators/component.js +1 -1
  61. package/bundle/obf/src/generators/config.js +1 -1
  62. package/bundle/obf/src/generators/dbc.js +1 -1
  63. package/bundle/obf/src/generators/dockerfile.js +1 -1
  64. package/bundle/obf/src/generators/hook.js +1 -1
  65. package/bundle/obf/src/generators/kit.js +1 -1
  66. package/bundle/obf/src/generators/layout.js +1 -1
  67. package/bundle/obf/src/generators/maka.gen.js +1 -1
  68. package/bundle/obf/src/generators/methods.js +1 -1
  69. package/bundle/obf/src/generators/package.js +1 -1
  70. package/bundle/obf/src/generators/page.js +1 -1
  71. package/bundle/obf/src/generators/publish.js +1 -1
  72. package/bundle/obf/src/generators/route.js +1 -1
  73. package/bundle/obf/src/generators/service.js +1 -1
  74. package/bundle/obf/src/generators/services/_index.js +1 -1
  75. package/bundle/obf/src/generators/services/openssl.js +1 -1
  76. package/bundle/obf/src/generators/services/translation.js +1 -1
  77. package/bundle/obf/src/maka.js +1 -1
  78. package/bundle/obf/src/tool.js +1 -1
  79. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  80. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  81. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  82. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  83. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  84. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  85. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  86. package/bundle/obf/src/tools/https/https.class.js +1 -1
  87. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  88. package/bundle/obf/src/tools/log/log.class.js +1 -1
  89. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  90. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  91. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  92. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  93. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  94. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  95. package/package.json +1 -1
@@ -1 +1 @@
1
- const a58n=a58d;(function(a,b){const k=a58d,c=a();while(!![]){try{const d=parseInt(k(0x165))/0x1*(parseInt(k(0x176))/0x2)+parseInt(k(0x161))/0x3*(-parseInt(k(0x181))/0x4)+parseInt(k(0x189))/0x5+parseInt(k(0x183))/0x6+parseInt(k(0x16b))/0x7+-parseInt(k(0x15f))/0x8*(parseInt(k(0x173))/0x9)+-parseInt(k(0x16f))/0xa*(parseInt(k(0x167))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a58c,0xe29b6));const a58b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a58d;if(c){const e=c[l(0x186)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a58a=a58b(this,function(){const m=a58d;return a58a[m(0x163)]()['search'](m(0x17c))[m(0x163)]()[m(0x171)](a58a)[m(0x162)](m(0x17c));});a58a();import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a58d(a,b){const c=a58c();return a58d=function(d,e){d=d-0x15e;let f=c[d];return f;},a58d(a,b);}function a58c(){const q=['39hyWcmH','search','toString','collection','1567aaKMTd','mongo','11VxgOYE','engines','template','where','8324225DBeoNP','checkMeteorPackage','notice','collection/tests.js','4589820pvJQln','collection/collection.js','constructor','Verifying\x20meteor\x20package\x20requirements:\x20mongo\x20...','450LHqkTJ','appPathPrefix','collections','650VtPECN','pathFromApp','index.','fsi','injectAtEndOfFile','none','(((.+)+)+)+$','\x0a\x20\x20\x20\x20Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection.\x0ahttps://docs.meteor.com/api/collections.html\x0a\x0a\x20\x20\x20\x20Collections\x20are\x20generated\x20in\x20the\x20\x22lib\x22\x20or\x20\x22common\x22\x20directory\x20by\x20default.\x20\x20This\x20location\x20is\x20accessible\x0a\x20\x20\x20\x20to\x20BOTH\x20client\x20and\x20server\x20(--where=both).\x20\x20Other\x20options\x20are\x20\x22--where=server\x22\x20and\x20\x22--where=client\x22\x20which\x0a\x20\x20\x20\x20will\x20setup\x20the\x20collection\x20in\x20their\x20respective\x20locations.\x0a\x20\x20','installMeteorPackage','col','maka\x20g:collection\x20todos','532856AzRGfG','error','5966958mYBtHk','import\x20\x27./collections','resourceName','apply','.app-tests.','test','3869765KxLYgN','startup','dir','Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection','55672ynvzVQ','imports'];a58c=function(){return q;};return a58c();}Generator['create']({'name':a58n(0x164),'aliases':[a58n(0x17f)],'usage':'maka\x20{generate,\x20g}:{collection,\x20col}\x20<name>','checkWhere':!![],'shortDesc':a58n(0x15e),'validOpts':[a58n(0x18b),a58n(0x16a)],'description':a58n(0x17d),'examples':[a58n(0x180)]},async function(a,b){const o=a58n;try{const c=this[o(0x179)][o(0x177)]({}),d=this[o(0x179)]['getProjectConfig']();this[o(0x179)]['withValue'](d,async()=>{const p=o,f=paramCase(b['resourceName']),g={'name':pascalCase(b[p(0x185)]),'collectionName':pascalCase(b[p(0x185)]),'fileName':f,'where':b[p(0x16a)],'test':d['engines'][p(0x188)],'noRename':!![]};let h='js';d['engines']['js']==='tsx'&&(h='ts');!this[p(0x179)]['checkMeteorPackage'](p(0x166))&&(Log['notice'](p(0x172)),await this[p(0x179)][p(0x17e)](p(0x166),{'cwd':c}));!this[p(0x179)][p(0x16c)]('maka:check')&&(Log[p(0x16d)]('Verifying\x20meteor\x20package\x20requirements:\x20maka:check\x20...'),await this[p(0x179)][p(0x17e)]('maka:check',{'cwd':c}));this[p(0x179)][p(0x169)]({'srcPath':p(0x170),'destPath':this['fsi'][p(0x177)]({'pathParts':['imports',p(0x18a),b[p(0x174)],p(0x175),b[p(0x18b)],f+'.'+h]}),'context':g,'config':d});d[p(0x168)][p(0x188)]!==p(0x17b)&&this[p(0x179)][p(0x169)]({'srcPath':p(0x16e),'destPath':this[p(0x179)][p(0x177)]({'pathParts':[p(0x160),p(0x18a),b[p(0x174)],p(0x175),b[p(0x18b)],f+p(0x187)+h]}),'context':g,'config':d});const i=b['dir']?'/'+b[p(0x18b)]+'/':'/',j=this[p(0x179)][p(0x177)]({'pathParts':[p(0x160),p(0x18a),b[p(0x174)],p(0x178)+d[p(0x168)]['js']]});this[p(0x179)][p(0x17a)]({'filePath':j,'content':p(0x184)+i+f+'\x27;'});});}catch(f){Log[o(0x182)](f);}});
1
+ const a58m=a58d;(function(a,b){const k=a58d,c=a();while(!![]){try{const d=-parseInt(k(0xcd))/0x1*(parseInt(k(0xc7))/0x2)+-parseInt(k(0xde))/0x3*(-parseInt(k(0xdd))/0x4)+-parseInt(k(0xcb))/0x5+-parseInt(k(0xcf))/0x6*(parseInt(k(0xc8))/0x7)+-parseInt(k(0xc3))/0x8*(parseInt(k(0xc5))/0x9)+parseInt(k(0xd4))/0xa*(-parseInt(k(0xd6))/0xb)+parseInt(k(0xdc))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a58c,0x56568));const a58b=(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;};}()),a58a=a58b(this,function(){const l=a58d;return a58a[l(0xd9)]()[l(0xcc)](l(0xd2))[l(0xd9)]()[l(0xe0)](a58a)[l(0xcc)](l(0xd2));});a58a();import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a58d(a,b){const c=a58c();return a58d=function(d,e){d=d-0xc1;let f=c[d];return f;},a58d(a,b);}import{Log}from'../tools/log/log.class.js';Generator[a58m(0xce)]({'name':a58m(0xe2),'aliases':['col'],'usage':a58m(0xd3),'checkWhere':!![],'shortDesc':a58m(0xdf),'validOpts':[a58m(0xee),a58m(0xda)],'description':a58m(0xc9),'examples':[a58m(0xd5)]},async function(a,b){const n=a58m;try{const c=this[n(0xd0)]['pathFromApp']({}),d=this[n(0xd0)]['getProjectConfig']();this[n(0xd0)][n(0xe5)](d,async()=>{const o=n,f=paramCase(b['resourceName']),g={'name':pascalCase(b['resourceName']),'collectionName':pascalCase(b[o(0xe1)]),'fileName':f,'where':b[o(0xda)],'test':d['engines'][o(0xeb)],'noRename':!![]};let h='js';d[o(0xc6)]['js']==='tsx'&&(h='ts');!this['fsi'][o(0xdb)]('mongo')&&(Log['notice']('Verifying\x20meteor\x20package\x20requirements:\x20mongo\x20...'),await this[o(0xd0)]['installMeteorPackage'](o(0xc1),{'cwd':c}));!this[o(0xd0)][o(0xdb)]('maka:check')&&(Log[o(0xd8)](o(0xe3)),await this['fsi'][o(0xd1)](o(0xe9),{'cwd':c}));this[o(0xd0)][o(0xec)]({'srcPath':'collection/collection.js','destPath':this['fsi'][o(0xea)]({'pathParts':[o(0xed),o(0xe7),b[o(0xd7)],o(0xc4),b[o(0xee)],f+'.'+h]}),'context':g,'config':d});d[o(0xc6)][o(0xeb)]!=='none'&&this[o(0xd0)][o(0xec)]({'srcPath':o(0xe6),'destPath':this['fsi'][o(0xea)]({'pathParts':['imports','startup',b[o(0xd7)],o(0xc4),b[o(0xee)],f+o(0xc2)+h]}),'context':g,'config':d});const i=b[o(0xee)]?'/'+b[o(0xee)]+'/':'/',j=this[o(0xd0)]['pathFromApp']({'pathParts':['imports',o(0xe7),b['appPathPrefix'],o(0xe4)+d[o(0xc6)]['js']]});this[o(0xd0)][o(0xe8)]({'filePath':j,'content':o(0xca)+i+f+'\x27;'});});}catch(f){Log['error'](f);}});function a58c(){const p=['(((.+)+)+)+$','maka\x20{generate,\x20g}:{collection,\x20col}\x20<name>','17950QIVinP','maka\x20g:collection\x20todos','3245SFZYMZ','appPathPrefix','notice','toString','where','checkMeteorPackage','14776536oRxxdz','445612yDfeTU','9bytaYu','Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection','constructor','resourceName','collection','Verifying\x20meteor\x20package\x20requirements:\x20maka:check\x20...','index.','withValue','collection/tests.js','startup','injectAtEndOfFile','maka:check','pathFromApp','test','template','imports','dir','mongo','.app-tests.','10536zyYmED','collections','1638PCwDws','engines','4nnohns','141554iLDBbD','\x0a\x20\x20\x20\x20Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection.\x0ahttps://docs.meteor.com/api/collections.html\x0a\x0a\x20\x20\x20\x20Collections\x20are\x20generated\x20in\x20the\x20\x22lib\x22\x20or\x20\x22common\x22\x20directory\x20by\x20default.\x20\x20This\x20location\x20is\x20accessible\x0a\x20\x20\x20\x20to\x20BOTH\x20client\x20and\x20server\x20(--where=both).\x20\x20Other\x20options\x20are\x20\x22--where=server\x22\x20and\x20\x22--where=client\x22\x20which\x0a\x20\x20\x20\x20will\x20setup\x20the\x20collection\x20in\x20their\x20respective\x20locations.\x0a\x20\x20','import\x20\x27./collections','137940YFJApj','search','177237AAtBmq','create','18mVpcEG','fsi','installMeteorPackage'];a58c=function(){return p;};return a58c();}
@@ -1 +1 @@
1
- const a59q=a59d;(function(a,b){const n=a59d,c=a();while(!![]){try{const d=-parseInt(n(0x1a7))/0x1+parseInt(n(0x1a9))/0x2+-parseInt(n(0x1a5))/0x3*(-parseInt(n(0x1cc))/0x4)+parseInt(n(0x1b8))/0x5*(-parseInt(n(0x1d5))/0x6)+-parseInt(n(0x1d1))/0x7+parseInt(n(0x1cf))/0x8*(parseInt(n(0x1ba))/0x9)+parseInt(n(0x19c))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a59c,0xcad23));const a59b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a59d;if(c){const e=c[o(0x1a0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a59a=a59b(this,function(){const p=a59d;return a59a[p(0x1af)]()[p(0x1be)](p(0x1ac))[p(0x1af)]()[p(0x1b4)](a59a)[p(0x1be)](p(0x1ac));});a59a();import a59e from'path';import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a59d(a,b){const c=a59c();return a59d=function(d,e){d=d-0x199;let f=c[d];return f;},a59d(a,b);}function a59c(){const t=['pathFromApp','templates.js','test','apply','dir','css','warn','lib','3bHFUJQ','root','838893QUBjWG','comp','39442IYuEqp','.css','template','(((.+)+)+)+$','cssCaseName','ramda','toString','\x27;\x0a','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','fileName','none','constructor','reflux','.tests.js','export\x20{\x20','1265FmYVFk','imports','18uwksTn','getProjectConfig','.js','react','search','injectAtBeginningOfFile','engines','withValue','import\x20\x27','\x20}\x20from\x20\x27','string','injectAtEndOfFile','test/test.js','findAppDirectory','fsi','create','component/component.js','ssr','2695732iuFJTu','component','error','2150712YBOyFP','maka\x20g:comp\x20todos/todos-item','11526676HQKiml','resourceName','/imports/ui/components','rewriteDestinationPathForEngine','3102mGDIkL','className','startup','true','client','\x20};\x0a','setTemplate','checkNpmPackage','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','features','22157850fbwwZW'];a59c=function(){return t;};return a59c();}import{Log}from'../tools/log/log.class.js';const aliases=[a59q(0x1a8)];Generator[a59q(0x1c9)]({'name':a59q(0x1cd),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','shortDesc':'Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','validOpts':[a59q(0x1a1)],'examples':[a59q(0x1d0)]},async function(a,b){const r=a59q;try{const c=this[r(0x1c8)][r(0x1c7)](),d=r(0x1d3),f=this[r(0x1c8)]['pathFromApp']({'pathParts':[d,b[r(0x1a1)],paramCase(b['resourceName']),paramCase(b[r(0x1d2)])]}),g=await this[r(0x1c8)][r(0x1bb)]();this[r(0x1c8)][r(0x1c1)](g,async()=>{const s=r;typeof g[s(0x1ab)][s(0x19f)]===s(0x1c4)&&(g[s(0x1ab)]['test']=g['template'][s(0x19f)]===s(0x1d8)?!![]:![],this[s(0x1c8)][s(0x1db)](s(0x19f),g['template'][s(0x19f)]));typeof g['template'][s(0x1a2)]===s(0x1c4)&&(g[s(0x1ab)]['css']=g[s(0x1ab)][s(0x1a2)]===s(0x1d8)?!![]:![],this[s(0x1c8)][s(0x1db)]('css',g[s(0x1ab)]['css']));typeof g['template']['js']===s(0x1c4)&&(g[s(0x1ab)]['js']=g[s(0x1ab)]['js']===s(0x1d8)?!![]:![],this['fsi'][s(0x1db)]('js',g[s(0x1ab)]['js']));!g[s(0x19b)]&&(g[s(0x19b)]={});!b[s(0x1a6)]&&!this[s(0x1c8)]['checkNpmPackage'](s(0x1ae))&&(Log[s(0x1a3)](s(0x1b1)),await this[s(0x1c8)]['installNpmPackage'](s(0x1ae),{'cwd':c}));if(!b[s(0x1a6)]&&!this[s(0x1c8)][s(0x199)](s(0x1bd))){Log[s(0x1ce)](s(0x19a));return;}const h={'name':pascalCase(b[s(0x1d2)]),'myPath':a59e['relative'](this[s(0x1c8)]['pathFromProject']({}),f),'cssCaseName':paramCase(b[s(0x1d2)]),'className':pascalCase(b[s(0x1d2)]),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b['resourceName']),'graphql':g[s(0x1c0)]['graphql'],'features':g['features'],'client':g['engines'][s(0x1d9)],'api':g[s(0x1c0)]['api'],'ssr':g[s(0x1c0)][s(0x1cb)],'test':g['engines']['test'],'theme':g['engines']['theme'],'isLayout':![],'isComponent':!![],'withTranslations':g[s(0x19b)]['withTranslations']};this[s(0x1c8)][s(0x1ab)]({'srcPath':s(0x1ca),'destPath':f+s(0x1bc),'context':h,'framework':s(0x1bd),'config':g});g[s(0x1c0)]['test']!==s(0x1b3)&&this[s(0x1c8)][s(0x1ab)]({'srcPath':s(0x1c6),'destPath':f+s(0x1b6),'context':h,'framework':s(0x1bd),'config':g});g['template'][s(0x1a2)]&&(this[s(0x1c8)][s(0x1ab)]({'srcPath':'template/template.css','destPath':f+s(0x1aa),'context':Object['assign']({},h,{'className':paramCase(b[s(0x1d2)])}),'config':g}),this[s(0x1c8)]['injectAtBeginningOfFile']({'filePath':f+'.'+g['engines']['js'],'content':'import\x20\x27./'+h[s(0x1ad)]+'.'+g[s(0x1c0)]['css']+'\x27;'}));const i=b[s(0x1a1)]?'/'+b[s(0x1a1)]+'/':'/',j=''+d+i+h[s(0x1b2)]+'/'+h[s(0x1b2)];let k;if(g['engines']['ssr']===s(0x1d8)){const l=this['fsi']['pathFromApp']({'pathParts':[s(0x1b9),s(0x1d7),s(0x1a4),s(0x19e)]});k=this[s(0x1c8)][s(0x1d4)]({'pathParts':[l],'config':g});}else{const m=this['fsi'][s(0x19d)]({'pathParts':[s(0x1b9),'startup','client',s(0x19e)]});k=this[s(0x1c8)][s(0x1d4)]({'pathParts':[m],'config':g});}g[s(0x1c0)]['client']===s(0x1bd)||g['engines'][s(0x1d9)]===s(0x1b5)?(g[s(0x1c0)]['js']==='tsx'?this[s(0x1c8)][s(0x1bf)]({'filePath':k,'content':'import\x20{\x20'+h['className']+s(0x1c3)+j+s(0x1b0)}):this[s(0x1c8)][s(0x1bf)]({'filePath':k,'content':'import\x20{\x20'+h[s(0x1d6)]+'\x20}\x20from\x20\x27'+j+'.'+g[s(0x1c0)]['js']+s(0x1b0)}),this[s(0x1c8)][s(0x1c5)]({'filePath':k,'content':s(0x1b7)+h[s(0x1d6)]+s(0x1da)})):this[s(0x1c8)][s(0x1c5)]({'filePath':k,'content':s(0x1c2)+j+'.'+g[s(0x1c0)]['js']+s(0x1b0)});});}catch(h){Log[r(0x1ce)](h);}});
1
+ const a59p=a59d;(function(a,b){const n=a59d,c=a();while(!![]){try{const d=-parseInt(n(0xb8))/0x1*(-parseInt(n(0xb3))/0x2)+parseInt(n(0xcb))/0x3*(parseInt(n(0xda))/0x4)+parseInt(n(0xe7))/0x5+-parseInt(n(0xbd))/0x6+-parseInt(n(0xb6))/0x7+parseInt(n(0xac))/0x8*(parseInt(n(0xe3))/0x9)+parseInt(n(0xc9))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a59c,0xb1df0));const a59b=(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;};}()),a59a=a59b(this,function(){const o=a59d;return a59a[o(0xb9)]()['search']('(((.+)+)+)+$')[o(0xb9)]()[o(0xce)](a59a)[o(0xc6)](o(0xcf));});a59a();import a59e from'path';import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';const aliases=[a59p(0xc3)];function a59c(){const s=['client','checkNpmPackage','.tests.js','comp','import\x20{\x20','error','search','warn','features','11757920akZXeY','ssr','1032gWYRwQ','\x20}\x20from\x20\x27','pathFromProject','constructor','(((.+)+)+)+$','imports','\x27;\x0a','injectAtBeginningOfFile','root','none','/imports/ui/components','string','lib','getProjectConfig','assign','436TJBlnh','maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','cssCaseName','css','theme','fileName','reflux','import\x20\x27','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','9mLmvhj','export\x20{\x20','.js','tsx','2178235FPspll','dir','template/template.css','resourceName','test','setTemplate','withTranslations','injectAtEndOfFile','fsi','3942624cRPsST','true','withValue','react','templates.js','maka\x20g:comp\x20todos/todos-item','findAppDirectory','18CnxFqp','engines','className','10112949ZFWRnG','pathFromApp','14397JPhaXT','toString','ramda','relative','template','588414BSeIqU','Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','test/test.js'];a59c=function(){return s;};return a59c();}function a59d(a,b){const c=a59c();return a59d=function(d,e){d=d-0xaa;let f=c[d];return f;},a59d(a,b);}Generator['create']({'name':'component','aliases':aliases,'usage':a59p(0xdb),'shortDesc':a59p(0xbe),'validOpts':[a59p(0xe8)],'examples':[a59p(0xb1)]},async function(a,b){const q=a59p;try{const c=this['fsi'][q(0xb2)](),d=q(0xd5),f=this[q(0xab)]['pathFromApp']({'pathParts':[d,b[q(0xe8)],paramCase(b[q(0xea)]),paramCase(b[q(0xea)])]}),g=await this[q(0xab)][q(0xd8)]();this[q(0xab)][q(0xae)](g,async()=>{const r=q;typeof g[r(0xbc)][r(0xeb)]===r(0xd6)&&(g[r(0xbc)][r(0xeb)]=g[r(0xbc)][r(0xeb)]===r(0xad)?!![]:![],this['fsi'][r(0xec)](r(0xeb),g[r(0xbc)][r(0xeb)]));typeof g[r(0xbc)][r(0xdd)]===r(0xd6)&&(g[r(0xbc)]['css']=g[r(0xbc)][r(0xdd)]==='true'?!![]:![],this[r(0xab)][r(0xec)](r(0xdd),g[r(0xbc)][r(0xdd)]));typeof g['template']['js']===r(0xd6)&&(g['template']['js']=g[r(0xbc)]['js']===r(0xad)?!![]:![],this[r(0xab)][r(0xec)]('js',g[r(0xbc)]['js']));!g[r(0xc8)]&&(g['features']={});!b[r(0xd3)]&&!this[r(0xab)][r(0xc1)](r(0xba))&&(Log[r(0xc7)](r(0xe2)),await this[r(0xab)]['installNpmPackage'](r(0xba),{'cwd':c}));if(!b[r(0xd3)]&&!this[r(0xab)][r(0xc1)](r(0xaf))){Log['error']('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');return;}const h={'name':pascalCase(b[r(0xea)]),'myPath':a59e[r(0xbb)](this[r(0xab)][r(0xcd)]({}),f),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[r(0xea)]),'camelCaseName':camelCase(b[r(0xea)]),'fileName':paramCase(b[r(0xea)]),'graphql':g[r(0xb4)]['graphql'],'features':g[r(0xc8)],'client':g[r(0xb4)][r(0xc0)],'api':g[r(0xb4)]['api'],'ssr':g[r(0xb4)][r(0xca)],'test':g[r(0xb4)][r(0xeb)],'theme':g[r(0xb4)][r(0xde)],'isLayout':![],'isComponent':!![],'withTranslations':g[r(0xc8)][r(0xed)]};this['fsi'][r(0xbc)]({'srcPath':'component/component.js','destPath':f+r(0xe5),'context':h,'framework':r(0xaf),'config':g});g[r(0xb4)][r(0xeb)]!==r(0xd4)&&this['fsi'][r(0xbc)]({'srcPath':r(0xbf),'destPath':f+r(0xc2),'context':h,'framework':r(0xaf),'config':g});g['template'][r(0xdd)]&&(this[r(0xab)]['template']({'srcPath':r(0xe9),'destPath':f+'.css','context':Object[r(0xd9)]({},h,{'className':paramCase(b[r(0xea)])}),'config':g}),this[r(0xab)][r(0xd2)]({'filePath':f+'.'+g['engines']['js'],'content':'import\x20\x27./'+h[r(0xdc)]+'.'+g['engines'][r(0xdd)]+'\x27;'}));const i=b[r(0xe8)]?'/'+b[r(0xe8)]+'/':'/',j=''+d+i+h[r(0xdf)]+'/'+h[r(0xdf)];let k;if(g[r(0xb4)][r(0xca)]===r(0xad)){const l=this[r(0xab)][r(0xb7)]({'pathParts':['imports','startup',r(0xd7),r(0xb0)]});k=this[r(0xab)]['rewriteDestinationPathForEngine']({'pathParts':[l],'config':g});}else{const m=this[r(0xab)]['pathFromApp']({'pathParts':[r(0xd0),'startup',r(0xc0),'templates.js']});k=this[r(0xab)]['rewriteDestinationPathForEngine']({'pathParts':[m],'config':g});}g['engines']['client']===r(0xaf)||g[r(0xb4)][r(0xc0)]===r(0xe0)?(g[r(0xb4)]['js']===r(0xe6)?this[r(0xab)]['injectAtBeginningOfFile']({'filePath':k,'content':r(0xc4)+h[r(0xb5)]+r(0xcc)+j+r(0xd1)}):this[r(0xab)]['injectAtBeginningOfFile']({'filePath':k,'content':'import\x20{\x20'+h[r(0xb5)]+r(0xcc)+j+'.'+g['engines']['js']+'\x27;\x0a'}),this[r(0xab)][r(0xaa)]({'filePath':k,'content':r(0xe4)+h['className']+'\x20};\x0a'})):this[r(0xab)]['injectAtEndOfFile']({'filePath':k,'content':r(0xe1)+j+'.'+g[r(0xb4)]['js']+r(0xd1)});});}catch(h){Log[q(0xc5)](h);}});
@@ -1 +1 @@
1
- const a60j=a60d;(function(a,b){const h=a60d,c=a();while(!![]){try{const d=-parseInt(h(0x1da))/0x1*(-parseInt(h(0x1e3))/0x2)+parseInt(h(0x1e1))/0x3*(parseInt(h(0x1d6))/0x4)+-parseInt(h(0x1d8))/0x5*(parseInt(h(0x1e2))/0x6)+parseInt(h(0x1ec))/0x7+parseInt(h(0x1e9))/0x8*(-parseInt(h(0x1f0))/0x9)+parseInt(h(0x1e6))/0xa*(parseInt(h(0x1e0))/0xb)+-parseInt(h(0x1d7))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a60c,0x461ed));function a60d(a,b){const c=a60c();return a60d=function(d,e){d=d-0x1d3;let f=c[d];return f;},a60d(a,b);}const a60b=(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;};}()),a60a=a60b(this,function(){const i=a60d;return a60a['toString']()[i(0x1e4)](i(0x1db))[i(0x1d5)]()[i(0x1f1)](a60a)[i(0x1e4)](i(0x1db));});function a60c(){const m=['template','3927287YpfnWT','prod','config/settings.json','production','4504257WCFUEE','constructor','maka\x20g:config\x20production','dev','withValue','config','toString','1991516IjvvnV','4505724bRgudF','5jHSeZm','fsi','13051xDBvzG','(((.+)+)+)+$','ubuntu','Generate\x20configuration\x20settings.','config/process.env','create','3015892mYcqpY','3ekPfpi','2585694wWGFdj','40jAYunI','search','resourceName','10zWLINV','process.env','isDocker','8qCeVLT','getProjectConfig'];a60c=function(){return m;};return a60c();}a60a();import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a60j(0x1df)]({'name':'config','usage':'maka\x20{generate,\x20g}:{config}\x20<name>','shortDesc':a60j(0x1dd),'validOpts':[a60j(0x1e8)],'examples':[a60j(0x1f2)]},function(a,b){const k=a60j,c=this['fsi'][k(0x1ea)]();this[k(0x1d9)][k(0x1d3)](c,async()=>{const l=k,d={'app':c['appName'],'appFileCase':paramCase(c['appName']),'name':pascalCase(b[l(0x1e5)]),'fileName':paramCase(b[l(0x1e5)]),'camelCase':camelCase(b[l(0x1e5)]),'userName':l(0x1dc),'isDocker':b[l(0x1e8)]};let e=a[0x0];if(e===l(0x1f3))e='development';else e===l(0x1ed)&&(e=l(0x1ef));const f=this['fsi']['pathFromProject']({'pathParts':[l(0x1d4),e,'settings.json']});this['fsi'][l(0x1eb)]({'srcPath':l(0x1ee),'destPath':f,'context':d,'config':c});if(!b['isDocker']){const g=this[l(0x1d9)]['pathFromProject']({'pathParts':[l(0x1d4),e,l(0x1e7)]});this[l(0x1d9)]['template']({'srcPath':l(0x1de),'destPath':g,'context':d,'config':c});}});});
1
+ function a60d(a,b){const c=a60c();return a60d=function(d,e){d=d-0x6c;let f=c[d];return f;},a60d(a,b);}const a60j=a60d;(function(a,b){const h=a60d,c=a();while(!![]){try{const d=-parseInt(h(0x7a))/0x1*(-parseInt(h(0x76))/0x2)+-parseInt(h(0x81))/0x3+-parseInt(h(0x6c))/0x4*(parseInt(h(0x7f))/0x5)+parseInt(h(0x87))/0x6+parseInt(h(0x72))/0x7+-parseInt(h(0x7b))/0x8*(parseInt(h(0x74))/0x9)+parseInt(h(0x89))/0xa*(parseInt(h(0x6e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a60c,0xc447d));const a60b=(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;};}()),a60a=a60b(this,function(){const i=a60d;return a60a[i(0x86)]()['search'](i(0x73))[i(0x86)]()[i(0x8c)](a60a)[i(0x79)]('(((.+)+)+)+$');});a60a();function a60c(){const m=['maka\x20{generate,\x20g}:{config}\x20<name>','production','constructor','ubuntu','pathFromProject','2790012lGUjFO','process.env','286kSFnlN','create','prod','fsi','3637361udBDDN','(((.+)+)+)+$','1209042dJNWjh','withValue','6vdaRao','isDocker','config/settings.json','search','98039BbTvzU','64xLzVFl','settings.json','template','dev','10neeMpS','development','494469EtCTWV','config','resourceName','appName','getProjectConfig','toString','2168904bgWtkP','Generate\x20configuration\x20settings.','870490wcgLtH'];a60c=function(){return m;};return a60c();}import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a60j(0x6f)]({'name':a60j(0x82),'usage':a60j(0x8a),'shortDesc':a60j(0x88),'validOpts':[a60j(0x77)],'examples':['maka\x20g:config\x20production']},function(a,b){const k=a60j,c=this[k(0x71)][k(0x85)]();this[k(0x71)][k(0x75)](c,async()=>{const l=k,d={'app':c[l(0x84)],'appFileCase':paramCase(c[l(0x84)]),'name':pascalCase(b['resourceName']),'fileName':paramCase(b[l(0x83)]),'camelCase':camelCase(b[l(0x83)]),'userName':l(0x8d),'isDocker':b['isDocker']};let e=a[0x0];if(e===l(0x7e))e=l(0x80);else e===l(0x70)&&(e=l(0x8b));const f=this['fsi'][l(0x8e)]({'pathParts':[l(0x82),e,l(0x7c)]});this[l(0x71)][l(0x7d)]({'srcPath':l(0x78),'destPath':f,'context':d,'config':c});if(!b[l(0x77)]){const g=this[l(0x71)][l(0x8e)]({'pathParts':[l(0x82),e,l(0x6d)]});this[l(0x71)][l(0x7d)]({'srcPath':'config/process.env','destPath':g,'context':d,'config':c});}});});
@@ -1 +1 @@
1
- function a61c(){const t=['dbAnswer','pathFromApp','119996NVFHtT','installNpmPackage','7ivuDKv','error','indexOf','imports','20FGOwzB','Invalid\x20type\x20','options','1188066TZOfFe','dbc','DB\x20Driver','5357256MXXziQ','withValue','template','maka\x20g:dbc\x20geoserver\x20--type=pgsql','list','dbc/config.js','mssql','checkNpmPackage','dir','230068mvHWOx','create','engines','maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','type','9YlkvIk','Npm\x20package\x20\x22pg\x22\x20not\x20installed,\x20installing...','pgsql','Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','import\x20\x27./register-','(((.+)+)+)+$','apply','fsi','3173224swoIHK','warn','maka\x20g:dbc\x20todos\x20--type=sqlite','startup','sqlite','70ccadrW','toString','dbc/conn.js','241912YquIyv','dbc/register-dbc.js',',\x20you\x20must\x20provide\x20a\x20valid\x20type\x20as\x20an\x20argument','6gOMzeu','register-','-dbc.','search','resourceName','PostgreSQL','server','index.','2795898AXuRvN'];a61c=function(){return t;};return a61c();}const a61q=a61d;(function(a,b){const n=a61d,c=a();while(!![]){try{const d=parseInt(n(0x158))/0x1+-parseInt(n(0x17b))/0x2*(-parseInt(n(0x15b))/0x3)+parseInt(n(0x166))/0x4*(parseInt(n(0x18d))/0x5)+-parseInt(n(0x163))/0x6*(parseInt(n(0x168))/0x7)+parseInt(n(0x188))/0x8*(-parseInt(n(0x180))/0x9)+-parseInt(n(0x16c))/0xa*(parseInt(n(0x16f))/0xb)+parseInt(n(0x172))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a61c,0x3f6ac));const a61b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a61d;if(c){const e=c[o(0x186)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a61a=a61b(this,function(){const p=a61d;return a61a['toString']()[p(0x15e)]('(((.+)+)+)+$')[p(0x18e)]()['constructor'](a61a)[p(0x15e)](p(0x185));});a61a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a61d(a,b){const c=a61c();return a61d=function(d,e){d=d-0x158;let f=c[d];return f;},a61d(a,b);}import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';Generator[a61q(0x17c)]({'name':'dbc','usage':a61q(0x17e),'shortDesc':a61q(0x183),'validOpts':['type',a61q(0x17a)],'examples':[a61q(0x175),'maka\x20g:dbc\x20azure\x20--type=mssql',a61q(0x18a)]},async function(a,b){const r=a61q;try{const c=await this[r(0x187)]['getProjectConfig'](),d=this['fsi'][r(0x165)]({}),f=paramCase(b[r(0x15f)]);if(!b[r(0x17f)]){const h={'type':r(0x176),'name':r(0x164),'message':r(0x171),'choices':[{'name':r(0x160),'value':r(0x182)},{'name':'MS\x20SQL','value':r(0x178)}]},{dbAnswer:i}=await Actions[r(0x16e)](h);i&&(b['type']=i);}const g={'name':pascalCase(b[r(0x15f)]),'fileName':paramCase(b['resourceName']),'camelCase':camelCase(b[r(0x15f)]),'type':b[r(0x17f)],'engine':c['engines']['js'],'noRename':!![]};this[r(0x187)][r(0x173)](c,async()=>{const s=r;let j='js';c[s(0x17d)]['js']==='tsx'&&(j='ts');const k=[s(0x178),s(0x182)];if(k[s(0x16a)](g['type'])<0x0){const m=g[s(0x17f)]?g[s(0x17f)]:'(blank)';Log[s(0x169)](s(0x16d)+m+s(0x15a));return;}b[s(0x17f)]===s(0x182)&&!this[s(0x187)]['checkNpmPackage']('pg')&&(Log[s(0x189)](s(0x181)),await this[s(0x187)][s(0x167)]('pg',{'cwd':d}));b[s(0x17f)]===s(0x178)&&!this[s(0x187)][s(0x179)](s(0x178))&&(Log[s(0x189)]('Npm\x20package\x20\x22mssql\x22\x20not\x20installed,\x20installing...'),await this[s(0x187)][s(0x167)](s(0x178),{'cwd':d}));b[s(0x17f)]===s(0x18c)&&!this[s(0x187)][s(0x179)]('better-sqlite3')&&(Log['warn']('Npm\x20package\x20\x22better-sqlite3\x22\x20not\x20installed,\x20installing...'),await this[s(0x187)][s(0x167)]('better-sqlite3',{'cwd':d}));this[s(0x187)][s(0x174)]({'srcPath':s(0x177),'destPath':this[s(0x187)]['pathFromApp']({'pathParts':['imports','startup','server',s(0x170),b[s(0x17a)],f,'config.'+j]}),'context':g,'config':c}),this['fsi']['template']({'srcPath':s(0x18f),'destPath':this[s(0x187)][s(0x165)]({'pathParts':[s(0x16b),s(0x18b),s(0x161),s(0x170),b[s(0x17a)],f,'conn.'+j]}),'context':g,'config':c}),this[s(0x187)][s(0x174)]({'srcPath':s(0x159),'destPath':this[s(0x187)][s(0x165)]({'pathParts':['imports',s(0x18b),s(0x161),s(0x15c)+f+s(0x15d)+j]}),'context':g,'config':c});const l=this['fsi']['pathFromApp']({'pathParts':[s(0x16b),s(0x18b),s(0x161),s(0x162)+c[s(0x17d)]['js']]});this['fsi']['injectAtEndOfFile']({'filePath':l,'content':s(0x184)+f+'-dbc\x27;'});});}catch(j){Log[r(0x169)](j);}});
1
+ const a61q=a61d;(function(a,b){const n=a61d,c=a();while(!![]){try{const d=-parseInt(n(0x8d))/0x1+parseInt(n(0x9b))/0x2*(-parseInt(n(0xa2))/0x3)+-parseInt(n(0x8c))/0x4+-parseInt(n(0x88))/0x5*(parseInt(n(0x85))/0x6)+parseInt(n(0x97))/0x7*(-parseInt(n(0xba))/0x8)+-parseInt(n(0x93))/0x9*(-parseInt(n(0x9f))/0xa)+parseInt(n(0x96))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a61c,0x3e649));const a61b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a61d;if(c){const e=c[o(0xb0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a61a=a61b(this,function(){const p=a61d;return a61a['toString']()[p(0xae)](p(0x9e))[p(0x89)]()[p(0xb5)](a61a)[p(0xae)]('(((.+)+)+)+$');});function a61d(a,b){const c=a61c();return a61d=function(d,e){d=d-0x7e;let f=c[d];return f;},a61d(a,b);}a61a();import{camelCase,paramCase,pascalCase}from'change-case';function a61c(){const t=['maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','pgsql','5LyHtPx','toString','-dbc\x27;','type','1827172ajhYsS','25310LCdHef','mssql','server','better-sqlite3','Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','dbc','45uSfLew','MS\x20SQL','withValue','10513008llmxBe','246141eguLsO','dir','getProjectConfig','Invalid\x20type\x20','14458JfOSjY','fsi','dbAnswer','(((.+)+)+)+$','557110VedGXl','conn.','Npm\x20package\x20\x22mssql\x22\x20not\x20installed,\x20installing...','96DIjzJk','indexOf','resourceName','options',',\x20you\x20must\x20provide\x20a\x20valid\x20type\x20as\x20an\x20argument','startup','maka\x20g:dbc\x20azure\x20--type=mssql','error','engines','config.','(blank)','template','search','index.','apply','dbc/config.js','injectAtEndOfFile','register-','imports','constructor','pathFromApp','checkNpmPackage','dbc/conn.js','dbc/register-dbc.js','16rDXPST','warn','installNpmPackage','Npm\x20package\x20\x22better-sqlite3\x22\x20not\x20installed,\x20installing...','maka\x20g:dbc\x20geoserver\x20--type=pgsql','list','PostgreSQL','tsx','1169790iqPFNn'];a61c=function(){return t;};return a61c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';Generator['create']({'name':a61q(0x92),'usage':a61q(0x86),'shortDesc':a61q(0x91),'validOpts':['type','dir'],'examples':[a61q(0x81),a61q(0xa8),'maka\x20g:dbc\x20todos\x20--type=sqlite']},async function(a,b){const r=a61q;try{const c=await this[r(0x9c)][r(0x99)](),d=this['fsi']['pathFromApp']({}),f=paramCase(b[r(0xa4)]);if(!b[r(0x8b)]){const h={'type':r(0x82),'name':r(0x9d),'message':'DB\x20Driver','choices':[{'name':r(0x83),'value':r(0x87)},{'name':r(0x94),'value':r(0x8e)}]},{dbAnswer:i}=await Actions[r(0xa5)](h);i&&(b[r(0x8b)]=i);}const g={'name':pascalCase(b['resourceName']),'fileName':paramCase(b[r(0xa4)]),'camelCase':camelCase(b[r(0xa4)]),'type':b[r(0x8b)],'engine':c[r(0xaa)]['js'],'noRename':!![]};this[r(0x9c)][r(0x95)](c,async()=>{const s=r;let j='js';c[s(0xaa)]['js']===s(0x84)&&(j='ts');const k=[s(0x8e),s(0x87)];if(k[s(0xa3)](g['type'])<0x0){const m=g[s(0x8b)]?g[s(0x8b)]:s(0xac);Log[s(0xa9)](s(0x9a)+m+s(0xa6));return;}b[s(0x8b)]===s(0x87)&&!this['fsi'][s(0xb7)]('pg')&&(Log[s(0x7e)]('Npm\x20package\x20\x22pg\x22\x20not\x20installed,\x20installing...'),await this[s(0x9c)][s(0x7f)]('pg',{'cwd':d}));b[s(0x8b)]==='mssql'&&!this['fsi'][s(0xb7)](s(0x8e))&&(Log[s(0x7e)](s(0xa1)),await this[s(0x9c)][s(0x7f)]('mssql',{'cwd':d}));b[s(0x8b)]==='sqlite'&&!this[s(0x9c)][s(0xb7)](s(0x90))&&(Log['warn'](s(0x80)),await this[s(0x9c)][s(0x7f)](s(0x90),{'cwd':d}));this['fsi'][s(0xad)]({'srcPath':s(0xb1),'destPath':this['fsi'][s(0xb6)]({'pathParts':[s(0xb4),s(0xa7),s(0x8f),s(0x92),b[s(0x98)],f,s(0xab)+j]}),'context':g,'config':c}),this[s(0x9c)][s(0xad)]({'srcPath':s(0xb8),'destPath':this[s(0x9c)][s(0xb6)]({'pathParts':[s(0xb4),s(0xa7),'server',s(0x92),b[s(0x98)],f,s(0xa0)+j]}),'context':g,'config':c}),this[s(0x9c)]['template']({'srcPath':s(0xb9),'destPath':this['fsi'][s(0xb6)]({'pathParts':[s(0xb4),s(0xa7),s(0x8f),s(0xb3)+f+'-dbc.'+j]}),'context':g,'config':c});const l=this[s(0x9c)][s(0xb6)]({'pathParts':['imports','startup','server',s(0xaf)+c[s(0xaa)]['js']]});this['fsi'][s(0xb2)]({'filePath':l,'content':'import\x20\x27./register-'+f+s(0x8a)});});}catch(j){Log[r(0xa9)](j);}});
@@ -1 +1 @@
1
- const a62i=a62d;(function(a,b){const f=a62d,c=a();while(!![]){try{const d=-parseInt(f(0x1af))/0x1+parseInt(f(0x1ac))/0x2*(parseInt(f(0x1ba))/0x3)+-parseInt(f(0x1ae))/0x4*(parseInt(f(0x1a8))/0x5)+parseInt(f(0x1aa))/0x6+-parseInt(f(0x1a9))/0x7*(-parseInt(f(0x1ad))/0x8)+-parseInt(f(0x1be))/0x9+-parseInt(f(0x1b7))/0xa*(-parseInt(f(0x1b1))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a62c,0x65cda));const a62b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a62d;if(c){const e=c[g(0x1b0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a62a=a62b(this,function(){const h=a62d;return a62a[h(0x1b9)]()[h(0x1b2)](h(0x1b8))[h(0x1b9)]()[h(0x1bf)](a62a)[h(0x1b2)](h(0x1b8));});a62a();function a62c(){const l=['51VlhGud','error','create','join','6870843BmVeWs','constructor','app.tar.gz','docker/Dockerfile','fsi','getGlobalConfig','dockerfile','maka\x20{generate,\x20g}:dockerfile','build','isFile','173490EwoEoH','11543HMRcne','815706SUCfHW','Generate\x20an\x20updated\x20dockerfile','5204LgOPuj','2744UxHejo','68GpHwkp','293690HToSdV','apply','11RzbcZH','search','template','findProjectDirectory','withValue','maka\x20g:dockerfile','13181770lxKyMa','(((.+)+)+)+$','toString'];a62c=function(){return l;};return a62c();}import{Generator}from'../generator.js';function a62d(a,b){const c=a62c();return a62d=function(d,e){d=d-0x1a4;let f=c[d];return f;},a62d(a,b);}import{Log}from'../tools/log/log.class.js';import a62e from'path';Generator[a62i(0x1bc)]({'name':a62i(0x1a4),'usage':a62i(0x1a5),'shortDesc':a62i(0x1ab),'validOpts':[],'noResource':!![],'examples':[a62i(0x1b6)]},async function(){const j=a62i;try{const a=await this['fsi']['getProjectConfig'](),b=await this[j(0x1c2)][j(0x1c3)](),c=this[j(0x1c2)][j(0x1b4)]();this[j(0x1c2)][j(0x1b5)](a,async()=>{const k=j,d={'app':b['appName'],'config':a,'appPath':a62e['join'](c,'app'),'bundlePath':a62e[k(0x1bd)](c,k(0x1a6),k(0x1c0)),'useCert':this[k(0x1c2)][k(0x1a7)](b['cert'])};this[k(0x1c2)][k(0x1b3)]({'srcPath':k(0x1c1),'destPath':a62e[k(0x1bd)](c,'Dockerfile'),'framework':'service','context':d,'config':a});});}catch(d){Log[j(0x1bb)](d);}});
1
+ const a62i=a62d;(function(a,b){const f=a62d,c=a();while(!![]){try{const d=-parseInt(f(0x1db))/0x1+parseInt(f(0x1ed))/0x2+parseInt(f(0x1d6))/0x3+parseInt(f(0x1d7))/0x4+parseInt(f(0x1e3))/0x5*(-parseInt(f(0x1ec))/0x6)+parseInt(f(0x1e8))/0x7*(parseInt(f(0x1dd))/0x8)+parseInt(f(0x1d4))/0x9*(-parseInt(f(0x1d9))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a62c,0x8885a));const a62b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a62d;if(c){const e=c[g(0x1d5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a62a=a62b(this,function(){const h=a62d;return a62a['toString']()[h(0x1da)](h(0x1e0))['toString']()[h(0x1d1)](a62a)['search'](h(0x1e0));});a62a();import{Generator}from'../generator.js';function a62d(a,b){const c=a62c();return a62d=function(d,e){d=d-0x1d1;let f=c[d];return f;},a62d(a,b);}import{Log}from'../tools/log/log.class.js';function a62c(){const l=['maka\x20g:dockerfile','getGlobalConfig','dockerfile','getProjectConfig','413wjtjvz','maka\x20{generate,\x20g}:dockerfile','withValue','app.tar.gz','4191126oUwnsp','490822jwacxO','cert','constructor','isFile','join','1934559yHuBNQ','apply','2630841ruZmru','324800iUPKZh','docker/Dockerfile','10trlANm','search','77045eJBkxr','template','46936jQtzcQ','findProjectDirectory','Dockerfile','(((.+)+)+)+$','fsi','Generate\x20an\x20updated\x20dockerfile','5THLXwQ'];a62c=function(){return l;};return a62c();}import a62e from'path';Generator['create']({'name':a62i(0x1e6),'usage':a62i(0x1e9),'shortDesc':a62i(0x1e2),'validOpts':[],'noResource':!![],'examples':[a62i(0x1e4)]},async function(){const j=a62i;try{const a=await this[j(0x1e1)][j(0x1e7)](),b=await this[j(0x1e1)][j(0x1e5)](),c=this['fsi'][j(0x1de)]();this[j(0x1e1)][j(0x1ea)](a,async()=>{const k=j,d={'app':b['appName'],'config':a,'appPath':a62e[k(0x1d3)](c,'app'),'bundlePath':a62e[k(0x1d3)](c,'build',k(0x1eb)),'useCert':this['fsi'][k(0x1d2)](b[k(0x1ee)])};this[k(0x1e1)][k(0x1dc)]({'srcPath':k(0x1d8),'destPath':a62e['join'](c,k(0x1df)),'framework':'service','context':d,'config':a});});}catch(d){Log['error'](d);}});
@@ -1 +1 @@
1
- const a63q=a63d;(function(a,b){const o=a63d,c=a();while(!![]){try{const d=-parseInt(o(0x20c))/0x1+-parseInt(o(0x20f))/0x2*(-parseInt(o(0x1f1))/0x3)+parseInt(o(0x21d))/0x4*(parseInt(o(0x1ea))/0x5)+-parseInt(o(0x1ff))/0x6+-parseInt(o(0x1f6))/0x7*(parseInt(o(0x214))/0x8)+parseInt(o(0x200))/0x9*(-parseInt(o(0x1f2))/0xa)+parseInt(o(0x1df))/0xb*(parseInt(o(0x20b))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a63c,0x50179));const a63b=(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;};}()),a63a=a63b(this,function(){const p=a63d;return a63a[p(0x215)]()['search'](p(0x1e7))[p(0x215)]()[p(0x1fa)](a63a)[p(0x220)](p(0x1e7));});a63a();import a63e from'path';import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a63d(a,b){const c=a63c();return a63d=function(d,e){d=d-0x1dd;let f=c[d];return f;},a63d(a,b);}import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';function a63c(){const t=['warn','\x20};\x0a','876084GIYvKL','378494pJiqAw','hook/hook.js','startup','2yHQhCV','react','dir','installNpmPackage','true','72SdiIMi','toString','\x27;\x0a','resourceName','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','template','graphql','injectAtBeginningOfFile','@apollo/client','368oMUUOP','css','fileName','search','lib','\x20}\x20from\x20\x27','injectAtEndOfFile','132oVchNE','cssCaseName','fsi','client','pathFromApp','maka\x20g:hook\x20cool-hook','none','withValue','(((.+)+)+)+$','template/template.css','hook','18535JyhUFs','className','string','.app-tests.js','withTranslations','test/test.js','ssr','1555761CXHoIf','10nbPBbI','getProjectConfig','templates.js','engines','447699qCmqYY','error','tsx','import\x20\x27./','constructor','export\x20{\x20','imports','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','assign','1775646oFgYgc','1418490tuhrQU','apollo','rewriteDestinationPathForEngine','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','@apollo/client\x20isomorphic-fetch','checkNpmPackage','features','.js'];a63c=function(){return t;};return a63c();}Generator['create']({'name':a63q(0x1e9),'aliases':['h'],'checkWhere':![],'usage':a63q(0x203),'shortDesc':a63q(0x204),'validOpts':['dir'],'examples':[a63q(0x1e4)]},async function(a,b){const r=a63q;try{const c=this[r(0x1e1)][r(0x206)](r(0x210));if(!c){Log[r(0x1f7)](r(0x218));throw new UsageError();}const d=this[r(0x1e1)]['pathFromApp'](b),f='/imports/ui/hooks',g=this['fsi']['pathFromApp']({'pathParts':[f,b[r(0x211)],paramCase(b['resourceName']),paramCase(b[r(0x217)])]}),h=await this[r(0x1e1)][r(0x1f3)]();this[r(0x1e1)][r(0x1e6)](h,async()=>{const s=r;typeof h[s(0x219)][s(0x21e)]===s(0x1ec)&&(h[s(0x219)]['css']=h['template'][s(0x21e)]==='true'?!![]:![],this['fsi']['setTemplate']('css',h[s(0x219)][s(0x21e)]));h[s(0x1f5)][s(0x21a)]===s(0x201)&&!this[s(0x206)](s(0x21c))&&(Log[s(0x209)](s(0x1fd)),await this['fsi'][s(0x212)](s(0x205),{'cwd':d}));const i={'cssCaseName':paramCase(b[s(0x217)]),'className':pascalCase(b[s(0x217)]),'name':pascalCase(b['resourceName']),'graphql':h[s(0x1f5)][s(0x21a)],'theme':h['engines']['theme'],'features':h[s(0x207)],'myPath':a63e['relative'](this[s(0x1e1)]['pathFromProject']({}),g),'fileName':paramCase(b[s(0x217)]),'isComponent':![],'isLayout':![],'withTranslations':h[s(0x207)][s(0x1ee)]};this[s(0x1e1)][s(0x219)]({'srcPath':s(0x20d),'destPath':g+s(0x208),'context':i,'config':h,'framework':'react'});h[s(0x219)][s(0x21e)]&&(this['fsi']['template']({'srcPath':s(0x1e8),'destPath':g+'.css','context':Object[s(0x1fe)]({},i,{'className':i[s(0x1e0)]}),'config':h}),this['fsi'][s(0x21b)]({'filePath':g+'.'+h['engines']['js'],'content':s(0x1f9)+i[s(0x21f)]+'.'+h['engines'][s(0x21e)]+'\x27;'}));h[s(0x1f5)]['test']!==s(0x1e5)&&this['fsi'][s(0x219)]({'srcPath':s(0x1ef),'destPath':g+s(0x1ed),'framework':'react','context':i,'config':h});const j=b[s(0x211)]?'/'+b[s(0x211)]+'/':'/',k=''+f+j+i['fileName']+'/'+i['fileName'];let l;if(h[s(0x1f5)][s(0x1f0)]===s(0x213)){const m=this['fsi'][s(0x1e3)]({'pathParts':[s(0x1fc),'startup',s(0x221),s(0x1f4)]});l=this[s(0x1e1)][s(0x202)]({'pathParts':[m],'config':h});}else{const n=this[s(0x1e1)][s(0x1e3)]({'pathParts':[s(0x1fc),s(0x20e),s(0x1e2),'templates.js']});l=this[s(0x1e1)][s(0x202)]({'pathParts':[n],'config':h});}h['engines'][s(0x1e2)]===s(0x210)?(h[s(0x1f5)]['js']===s(0x1f8)?this['fsi'][s(0x21b)]({'filePath':l,'content':'import\x20{\x20'+i[s(0x1eb)]+s(0x1dd)+k+s(0x216)}):this[s(0x1e1)][s(0x21b)]({'filePath':l,'content':'import\x20{\x20'+i[s(0x1eb)]+'\x20}\x20from\x20\x27'+k+'.'+h[s(0x1f5)]['js']+s(0x216)}),this[s(0x1e1)][s(0x1de)]({'filePath':l,'content':s(0x1fb)+i[s(0x1eb)]+s(0x20a)})):this['fsi']['injectAtEndOfFile']({'filePath':l,'content':'import\x20\x27'+k+'.'+h[s(0x1f5)]['js']+'\x27;\x0a'});});}catch(i){Log[r(0x1f7)](i);}});
1
+ const a63r=a63d;function a63c(){const u=['This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','18KVqaRs','search','className','imports','error','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','5iqwWAy','4157880ifsGce','tsx','import\x20\x27./','toString','checkNpmPackage','/imports/ui/hooks','startup','7295190TIYFaW','18004710IczXjN','features','test/test.js','react','relative','.js','templates.js','client','hook','fileName','maka\x20g:hook\x20cool-hook','import\x20\x27','.app-tests.js','pathFromProject','ssr','rewriteDestinationPathForEngine','template','template/template.css','installNpmPackage','true','withValue','export\x20{\x20','test','create','warn','6kZynrV','fsi','pathFromApp','312422YaGQqx','lib','@apollo/client','332645ghnQbm','apply','graphql','engines','@apollo/client\x20isomorphic-fetch','9090904GwiDZF','\x27;\x0a','\x20}\x20from\x20\x27','dir','theme','(((.+)+)+)+$','setTemplate','css','\x20};\x0a','injectAtEndOfFile','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','none','import\x20{\x20','resourceName','146884yiOwOe','injectAtBeginningOfFile'];a63c=function(){return u;};return a63c();}(function(a,b){const o=a63d,c=a();while(!![]){try{const d=-parseInt(o(0x193))/0x1+-parseInt(o(0x190))/0x2*(-parseInt(o(0x18d))/0x3)+parseInt(o(0x1a6))/0x4*(-parseInt(o(0x1af))/0x5)+-parseInt(o(0x1b0))/0x6+-parseInt(o(0x173))/0x7+-parseInt(o(0x198))/0x8+-parseInt(o(0x1a9))/0x9*(-parseInt(o(0x174))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a63c,0xa42e5));const a63b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a63d;if(c){const e=c[p(0x194)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a63a=a63b(this,function(){const q=a63d;return a63a[q(0x16f)]()[q(0x1aa)](q(0x19d))['toString']()['constructor'](a63a)[q(0x1aa)](q(0x19d));});a63a();import a63e from'path';import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a63d(a,b){const c=a63c();return a63d=function(d,e){d=d-0x16f;let f=c[d];return f;},a63d(a,b);}import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Generator[a63r(0x18b)]({'name':a63r(0x17c),'aliases':['h'],'checkWhere':![],'usage':a63r(0x1a2),'shortDesc':'Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','validOpts':['dir'],'examples':[a63r(0x17e)]},async function(a,b){const s=a63r;try{const c=this['fsi'][s(0x170)](s(0x177));if(!c){Log['error'](s(0x1a8));throw new UsageError();}const d=this[s(0x18e)]['pathFromApp'](b),f=s(0x171),g=this[s(0x18e)]['pathFromApp']({'pathParts':[f,b[s(0x19b)],paramCase(b[s(0x1a5)]),paramCase(b[s(0x1a5)])]}),h=await this['fsi']['getProjectConfig']();this[s(0x18e)][s(0x188)](h,async()=>{const t=s;typeof h[t(0x184)][t(0x19f)]==='string'&&(h[t(0x184)][t(0x19f)]=h[t(0x184)][t(0x19f)]===t(0x187)?!![]:![],this['fsi'][t(0x19e)](t(0x19f),h[t(0x184)]['css']));h['engines'][t(0x195)]==='apollo'&&!this[t(0x170)](t(0x192))&&(Log[t(0x18c)](t(0x1ae)),await this['fsi'][t(0x186)](t(0x197),{'cwd':d}));const i={'cssCaseName':paramCase(b[t(0x1a5)]),'className':pascalCase(b['resourceName']),'name':pascalCase(b['resourceName']),'graphql':h['engines'][t(0x195)],'theme':h[t(0x196)][t(0x19c)],'features':h[t(0x175)],'myPath':a63e[t(0x178)](this[t(0x18e)][t(0x181)]({}),g),'fileName':paramCase(b[t(0x1a5)]),'isComponent':![],'isLayout':![],'withTranslations':h[t(0x175)]['withTranslations']};this['fsi']['template']({'srcPath':'hook/hook.js','destPath':g+t(0x179),'context':i,'config':h,'framework':t(0x177)});h['template'][t(0x19f)]&&(this[t(0x18e)][t(0x184)]({'srcPath':t(0x185),'destPath':g+'.css','context':Object['assign']({},i,{'className':i['cssCaseName']}),'config':h}),this[t(0x18e)][t(0x1a7)]({'filePath':g+'.'+h[t(0x196)]['js'],'content':t(0x1b2)+i[t(0x17d)]+'.'+h['engines'][t(0x19f)]+'\x27;'}));h['engines'][t(0x18a)]!==t(0x1a3)&&this[t(0x18e)][t(0x184)]({'srcPath':t(0x176),'destPath':g+t(0x180),'framework':t(0x177),'context':i,'config':h});const j=b['dir']?'/'+b[t(0x19b)]+'/':'/',k=''+f+j+i['fileName']+'/'+i[t(0x17d)];let l;if(h[t(0x196)][t(0x182)]===t(0x187)){const m=this[t(0x18e)][t(0x18f)]({'pathParts':[t(0x1ac),t(0x172),t(0x191),t(0x17a)]});l=this[t(0x18e)]['rewriteDestinationPathForEngine']({'pathParts':[m],'config':h});}else{const n=this[t(0x18e)][t(0x18f)]({'pathParts':['imports',t(0x172),t(0x17b),'templates.js']});l=this[t(0x18e)][t(0x183)]({'pathParts':[n],'config':h});}h[t(0x196)][t(0x17b)]===t(0x177)?(h[t(0x196)]['js']===t(0x1b1)?this[t(0x18e)][t(0x1a7)]({'filePath':l,'content':t(0x1a4)+i[t(0x1ab)]+t(0x19a)+k+t(0x199)}):this[t(0x18e)][t(0x1a7)]({'filePath':l,'content':t(0x1a4)+i[t(0x1ab)]+'\x20}\x20from\x20\x27'+k+'.'+h['engines']['js']+t(0x199)}),this[t(0x18e)][t(0x1a1)]({'filePath':l,'content':t(0x189)+i[t(0x1ab)]+t(0x1a0)})):this[t(0x18e)][t(0x1a1)]({'filePath':l,'content':t(0x17f)+k+'.'+h[t(0x196)]['js']+t(0x199)});});}catch(i){Log[s(0x1ad)](i);}});
@@ -1 +1 @@
1
- const a64k=a64d;(function(a,b){const h=a64d,c=a();while(!![]){try{const d=-parseInt(h(0x1ad))/0x1+-parseInt(h(0x1a9))/0x2*(parseInt(h(0x1a7))/0x3)+-parseInt(h(0x1a8))/0x4+parseInt(h(0x19f))/0x5+parseInt(h(0x1ab))/0x6+-parseInt(h(0x1b9))/0x7+parseInt(h(0x1b3))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a64c,0xc44de));const a64b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a64d;if(c){const e=c[i(0x1b2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a64a=a64b(this,function(){const j=a64d;return a64a[j(0x19c)]()[j(0x1af)](j(0x1a1))[j(0x19c)]()['constructor'](a64a)[j(0x1af)]('(((.+)+)+)+$');});function a64d(a,b){const c=a64c();return a64d=function(d,e){d=d-0x19b;let f=c[d];return f;},a64d(a,b);}a64a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';function a64c(){const n=['6hfJdaM','2719252QQozkn','1017544eewyOy','NIE','6925818elFLiI','type','745169ZvUvle','maka\x20g:kit\x20--type=map','search','create','engines','apply','18269464mvKTct','map','(Placeholder)\x20Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','indexOf','kit','error','5005854DltFqa','fsi','toString','maka\x20g:k\x20city-map\x20--type=leaflet-map','resourceName','2618620meaGZu','notice','(((.+)+)+)+$','leaflet-map','Invalid\x20type\x20','getProjectConfig','withValue','login'];a64c=function(){return n;};return a64c();}Generator[a64k(0x1b0)]({'name':a64k(0x1b7),'aliases':['k'],'usage':'maka\x20{generate,\x20g}:{kit}\x20<kit-name>','shortDesc':a64k(0x1b5),'validOpts':[a64k(0x1ac)],'examples':[a64k(0x1ae),a64k(0x19d)]},async function(a,b){const l=a64k;try{const c=this[l(0x19b)][l(0x1a4)]();this[l(0x19b)][l(0x1a5)](c,async()=>{const m=l,d={'name':pascalCase(b['resourceName']),'fileName':paramCase(b[m(0x19e)]),'camelCase':camelCase(b[m(0x19e)]),'type':b[m(0x1ac)],'engine':c[m(0x1b1)]['js'],'noRename':!![]},f=[m(0x1a2),m(0x1a6)];if(f[m(0x1b6)](d[m(0x1ac)])<0x0){const g=d[m(0x1ac)]?d[m(0x1ac)]:'(blank)';Log['error'](m(0x1a3)+g+',\x20you\x20must\x20provide\x20a\x20valid\x20type\x20as\x20an\x20argument');return;}b['type']===m(0x1b4)&&Log[m(0x1a0)](m(0x1aa)),b[m(0x1ac)]===m(0x1a6)&&Log[m(0x1a0)](m(0x1aa));});}catch(d){Log[l(0x1b8)](d);}});
1
+ const a64j=a64d;(function(a,b){const h=a64d,c=a();while(!![]){try{const d=parseInt(h(0xce))/0x1+-parseInt(h(0xc0))/0x2+-parseInt(h(0xca))/0x3+parseInt(h(0xc1))/0x4*(parseInt(h(0xcb))/0x5)+-parseInt(h(0xd7))/0x6+parseInt(h(0xd1))/0x7*(-parseInt(h(0xc9))/0x8)+parseInt(h(0xd9))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a64c,0xe2081));const a64b=(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;};}()),a64a=a64b(this,function(){const i=a64d;return a64a[i(0xd2)]()[i(0xdc)]('(((.+)+)+)+$')[i(0xd2)]()[i(0xc7)](a64a)[i(0xdc)]('(((.+)+)+)+$');});a64a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a64c(){const m=['37126557hVofrw','(Placeholder)\x20Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','kit','search','3348622vxvdjm','8tbHwDL','resourceName','login','getProjectConfig','NIE','indexOf','constructor','fsi','6551704GLoKVP','1391181xbZvdV','151395FZKqzm','maka\x20g:kit\x20--type=map','(blank)','107527WoTnvq','withValue','maka\x20{generate,\x20g}:{kit}\x20<kit-name>','7HeRsKB','toString','type',',\x20you\x20must\x20provide\x20a\x20valid\x20type\x20as\x20an\x20argument','error','Invalid\x20type\x20','2462592RzYViQ','engines'];a64c=function(){return m;};return a64c();}import{camelCase,paramCase,pascalCase}from'change-case';function a64d(a,b){const c=a64c();return a64d=function(d,e){d=d-0xc0;let f=c[d];return f;},a64d(a,b);}Generator['create']({'name':a64j(0xdb),'aliases':['k'],'usage':a64j(0xd0),'shortDesc':a64j(0xda),'validOpts':[a64j(0xd3)],'examples':[a64j(0xcc),'maka\x20g:k\x20city-map\x20--type=leaflet-map']},async function(a,b){const k=a64j;try{const c=this[k(0xc8)][k(0xc4)]();this[k(0xc8)][k(0xcf)](c,async()=>{const l=k,d={'name':pascalCase(b[l(0xc2)]),'fileName':paramCase(b[l(0xc2)]),'camelCase':camelCase(b[l(0xc2)]),'type':b[l(0xd3)],'engine':c[l(0xd8)]['js'],'noRename':!![]},f=['leaflet-map',l(0xc3)];if(f[l(0xc6)](d[l(0xd3)])<0x0){const g=d[l(0xd3)]?d[l(0xd3)]:l(0xcd);Log[l(0xd5)](l(0xd6)+g+l(0xd4));return;}b[l(0xd3)]==='map'&&Log['notice'](l(0xc5)),b['type']===l(0xc3)&&Log['notice'](l(0xc5));});}catch(d){Log[k(0xd5)](d);}});
@@ -1 +1 @@
1
- const a65r=a65d;(function(a,b){const o=a65d,c=a();while(!![]){try{const d=-parseInt(o(0xc4))/0x1*(-parseInt(o(0xaa))/0x2)+parseInt(o(0xd0))/0x3*(-parseInt(o(0xc0))/0x4)+-parseInt(o(0xb1))/0x5*(parseInt(o(0xac))/0x6)+parseInt(o(0xa3))/0x7+parseInt(o(0x93))/0x8+-parseInt(o(0x90))/0x9+parseInt(o(0xa4))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a65c,0x6056b));const a65b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a65d;if(c){const e=c[p(0xa0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a65a=a65b(this,function(){const q=a65d;return a65a[q(0x94)]()['search'](q(0xab))[q(0x94)]()[q(0xb4)](a65a)[q(0x98)](q(0xab));});function a65c(){const u=['injectAtEndOfFile','import\x20{\x20','727728sWMQHX','toString','\x20}\x20from\x20\x27','import\x20\x27','lib','search','maka\x20g:layout\x20mobile/iPhone8','\x27;\x0a','theme','test/test.js','features','dir','css','apply','engines','string','865564EkLKmD','5810390ECbWSA','react','.js','/imports/ui/layouts','warn','fsi','5442NwUugw','(((.+)+)+)+$','18zHYrOA','create','hook/hook.js','.css','setTemplate','264905HxYaJV','api','\x20};\x0a','constructor','ramda','ssr','maka\x20g:l\x20web/safari','export\x20{\x20','templates.js','split','className','imports','withTranslations','checkNpmPackage','rewriteDestinationPathForEngine','652oXleIT','injectAtBeginningOfFile','startup','true','217JrQQFO','withHooks','includes','template','relative','layout','withValue','test','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','none','fileName','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','11469PQccjI','component/component.js','resourceName','client','1884771GjCmSy'];a65c=function(){return u;};return a65c();}a65a();import a65e 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 a65d(a,b){const c=a65c();return a65d=function(d,e){d=d-0x90;let f=c[d];return f;},a65d(a,b);}Generator[a65r(0xad)]({'name':a65r(0xc9),'aliases':aliases,'usage':a65r(0xcc),'shortDesc':'Scaffolding\x20for\x20a\x20React\x20Layout.','validOpts':[],'examples':[a65r(0x99),a65r(0xb7)]},function(a,b){const s=a65r,c=s(0xa7),d=this[s(0xa9)]['findAppDirectory'](),e=this[s(0xa9)]['pathFromApp']({'pathParts':[c,b[s(0x9e)],paramCase(b[s(0xd2)]),paramCase(b[s(0xd2)])]}),f=this[s(0xa9)]['getProjectConfig']();this['fsi'][s(0xca)](f,()=>{const t=s;typeof f[t(0xc7)][t(0xcb)]===t(0xa2)&&(f[t(0xc7)][t(0xcb)]=f[t(0xc7)]['test']===t(0xc3)?!![]:![],this[t(0xa9)][t(0xb0)]('test',f[t(0xc7)]['test']));typeof f[t(0xc7)][t(0x9f)]==='string'&&(f[t(0xc7)][t(0x9f)]=f['template'][t(0x9f)]==='true'?!![]:![],this[t(0xa9)][t(0xb0)](t(0x9f),f[t(0xc7)][t(0x9f)]));typeof f[t(0xc7)]['js']===t(0xa2)&&(f[t(0xc7)]['js']=f[t(0xc7)]['js']===t(0xc3)?!![]:![],this[t(0xa9)][t(0xb0)]('js',f[t(0xc7)]['js']));!f['features']&&(f['features']={});const g=b['_']?b['_'][0x0][t(0xba)](':')[0x1]:![],h=b['_']&&aliases[t(0xc6)](g);h&&!this[t(0xbe)](t(0xb5))&&(Log['warn']('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),this[t(0xa9)]['installNpmPackage'](t(0xb5),{'cwd':d}));if(h&&!this[t(0xbe)](t(0xa5))){Log[t(0xa8)](t(0xcf));return;}const i={'name':pascalCase(b[t(0xd2)]),'myPath':a65e[t(0xc8)](this[t(0xa9)]['pathFromProject']({}),e),'cssCaseName':paramCase(b[t(0xd2)]),'className':pascalCase(b[t(0xd2)]),'camelCaseName':camelCase(b[t(0xd2)]),'fileName':paramCase(b[t(0xd2)]),'graphql':f[t(0xa1)]['graphql'],'features':f[t(0x9d)],'client':f['engines'][t(0xd3)],'api':f[t(0xa1)][t(0xb2)],'ssr':f[t(0xa1)]['ssr'],'test':f['engines'][t(0xcb)],'theme':f[t(0xa1)][t(0x9b)],'isComponent':![],'isLayout':!![],'withTranslations':f[t(0x9d)][t(0xbd)]};f[t(0x9d)]?.[t(0xc5)]||b['withHook']?this['fsi'][t(0xc7)]({'srcPath':t(0xae),'destPath':e+'.js','framework':t(0xa5),'context':i,'config':f}):this['fsi']['template']({'srcPath':t(0xd1),'destPath':e+t(0xa6),'framework':t(0xa5),'context':i,'config':f});f[t(0xa1)][t(0xcb)]!==t(0xcd)&&this[t(0xa9)]['template']({'srcPath':t(0x9c),'destPath':e+'.app-tests.js','framework':t(0xa5),'context':i,'config':f});f['template']['css']&&(this[t(0xa9)][t(0xc7)]({'srcPath':'template/template.css','destPath':e+t(0xaf),'context':Object['assign']({},i,{'className':paramCase(b[t(0xd2)])}),'config':f}),this['fsi']['injectAtBeginningOfFile']({'filePath':e+'.'+f[t(0xa1)]['js'],'content':'import\x20\x27./'+i[t(0xce)]+'.'+f[t(0xa1)][t(0x9f)]+'\x27;'}));const j=b['dir']?'/'+b[t(0x9e)]+'/':'/',k=''+c+j+i[t(0xce)]+'/'+i[t(0xce)];let l;if(f[t(0xa1)][t(0xb6)]===t(0xc3)){const m=this['fsi']['pathFromApp']({'pathParts':[t(0xbc),t(0xc2),t(0x97),t(0xb9)]});l=this[t(0xa9)][t(0xbf)]({'pathParts':[m],'config':f});}else{const n=this[t(0xa9)]['pathFromApp']({'pathParts':[t(0xbc),t(0xc2),t(0xd3),t(0xb9)]});l=this[t(0xa9)][t(0xbf)]({'pathParts':[n],'config':f});}f[t(0xa1)][t(0xd3)]===t(0xa5)?(f[t(0xa1)]['js']==='tsx'?this['fsi'][t(0xc1)]({'filePath':l,'content':'import\x20{\x20'+i[t(0xbb)]+t(0x95)+k+'\x27;\x0a'}):this[t(0xa9)]['injectAtBeginningOfFile']({'filePath':l,'content':t(0x92)+i[t(0xbb)]+'\x20}\x20from\x20\x27'+k+'.'+f[t(0xa1)]['js']+'\x27;\x0a'}),this[t(0xa9)][t(0x91)]({'filePath':l,'content':t(0xb8)+i['className']+t(0xb3)})):this[t(0xa9)][t(0x91)]({'filePath':l,'content':t(0x96)+k+'.'+f[t(0xa1)]['js']+t(0x9a)});});});
1
+ const a65r=a65d;function a65d(a,b){const c=a65c();return a65d=function(d,e){d=d-0x127;let f=c[d];return f;},a65d(a,b);}(function(a,b){const o=a65d,c=a();while(!![]){try{const d=-parseInt(o(0x166))/0x1*(-parseInt(o(0x15f))/0x2)+-parseInt(o(0x15c))/0x3*(parseInt(o(0x148))/0x4)+-parseInt(o(0x13e))/0x5+-parseInt(o(0x152))/0x6+parseInt(o(0x14c))/0x7+-parseInt(o(0x15a))/0x8*(parseInt(o(0x168))/0x9)+parseInt(o(0x14b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a65c,0x27195));const a65b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a65d;if(c){const e=c[p(0x135)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a65a=a65b(this,function(){const q=a65d;return a65a[q(0x16f)]()['search']('(((.+)+)+)+$')[q(0x16f)]()[q(0x16e)](a65a)[q(0x142)](q(0x12c));});a65a();import a65e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a65c(){const u=['template','setTemplate','maka\x20g:layout\x20mobile/iPhone8','relative','.css','layout','startup','apply','rewriteDestinationPathForEngine','test/test.js','fileName','\x20};\x0a','checkNpmPackage','findAppDirectory','theme','ramda','256305aDfNmq','imports','react','className','search','withValue','none','resourceName','component/component.js','dir','4hJGWWM','api','templates.js','2000290vmiqZA','622286gdsWNr','warn','export\x20{\x20','installNpmPackage','create','css','750804EwtJNX','maka\x20g:l\x20web/safari','pathFromApp','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','injectAtEndOfFile','\x27;\x0a','import\x20\x27','fsi','1838152tUPnZs','import\x20\x27./','69039UBNPsg','/imports/ui/layouts','pathFromProject','66rtzEGh','template/template.css','.js','client','true','injectAtBeginningOfFile','includes','9103qFYcMr','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','9cCVMfO','import\x20{\x20','test','.app-tests.js','engines','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','constructor','toString','Scaffolding\x20for\x20a\x20React\x20Layout.','withHook','features','ssr','split','(((.+)+)+)+$','string'];a65c=function(){return u;};return a65c();}import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator[a65r(0x150)]({'name':a65r(0x133),'aliases':aliases,'usage':a65r(0x167),'shortDesc':a65r(0x127),'validOpts':[],'examples':[a65r(0x130),a65r(0x153)]},function(a,b){const s=a65r,c=s(0x15d),d=this[s(0x159)][s(0x13b)](),e=this[s(0x159)][s(0x154)]({'pathParts':[c,b[s(0x147)],paramCase(b['resourceName']),paramCase(b[s(0x145)])]}),f=this[s(0x159)]['getProjectConfig']();this['fsi'][s(0x143)](f,()=>{const t=s;typeof f[t(0x12e)][t(0x16a)]===t(0x12d)&&(f[t(0x12e)]['test']=f[t(0x12e)][t(0x16a)]==='true'?!![]:![],this[t(0x159)]['setTemplate'](t(0x16a),f[t(0x12e)]['test']));typeof f[t(0x12e)]['css']===t(0x12d)&&(f[t(0x12e)][t(0x151)]=f[t(0x12e)][t(0x151)]===t(0x163)?!![]:![],this[t(0x159)]['setTemplate'](t(0x151),f[t(0x12e)]['css']));typeof f[t(0x12e)]['js']===t(0x12d)&&(f[t(0x12e)]['js']=f[t(0x12e)]['js']==='true'?!![]:![],this[t(0x159)][t(0x12f)]('js',f[t(0x12e)]['js']));!f[t(0x129)]&&(f['features']={});const g=b['_']?b['_'][0x0][t(0x12b)](':')[0x1]:![],h=b['_']&&aliases[t(0x165)](g);h&&!this['checkNpmPackage'](t(0x13d))&&(Log[t(0x14d)](t(0x155)),this[t(0x159)][t(0x14f)]('ramda',{'cwd':d}));if(h&&!this[t(0x13a)](t(0x140))){Log[t(0x14d)](t(0x16d));return;}const i={'name':pascalCase(b[t(0x145)]),'myPath':a65e[t(0x131)](this[t(0x159)][t(0x15e)]({}),e),'cssCaseName':paramCase(b[t(0x145)]),'className':pascalCase(b[t(0x145)]),'camelCaseName':camelCase(b[t(0x145)]),'fileName':paramCase(b['resourceName']),'graphql':f[t(0x16c)]['graphql'],'features':f['features'],'client':f['engines']['client'],'api':f[t(0x16c)][t(0x149)],'ssr':f[t(0x16c)][t(0x12a)],'test':f[t(0x16c)][t(0x16a)],'theme':f[t(0x16c)][t(0x13c)],'isComponent':![],'isLayout':!![],'withTranslations':f[t(0x129)]['withTranslations']};f[t(0x129)]?.['withHooks']||b[t(0x128)]?this[t(0x159)][t(0x12e)]({'srcPath':'hook/hook.js','destPath':e+t(0x161),'framework':'react','context':i,'config':f}):this[t(0x159)][t(0x12e)]({'srcPath':t(0x146),'destPath':e+t(0x161),'framework':t(0x140),'context':i,'config':f});f[t(0x16c)][t(0x16a)]!==t(0x144)&&this[t(0x159)][t(0x12e)]({'srcPath':t(0x137),'destPath':e+t(0x16b),'framework':t(0x140),'context':i,'config':f});f[t(0x12e)][t(0x151)]&&(this[t(0x159)][t(0x12e)]({'srcPath':t(0x160),'destPath':e+t(0x132),'context':Object['assign']({},i,{'className':paramCase(b['resourceName'])}),'config':f}),this[t(0x159)][t(0x164)]({'filePath':e+'.'+f[t(0x16c)]['js'],'content':t(0x15b)+i['fileName']+'.'+f['engines'][t(0x151)]+'\x27;'}));const j=b[t(0x147)]?'/'+b[t(0x147)]+'/':'/',k=''+c+j+i[t(0x138)]+'/'+i['fileName'];let l;if(f['engines'][t(0x12a)]==='true'){const m=this['fsi'][t(0x154)]({'pathParts':['imports','startup','lib','templates.js']});l=this[t(0x159)][t(0x136)]({'pathParts':[m],'config':f});}else{const n=this['fsi'][t(0x154)]({'pathParts':[t(0x13f),t(0x134),t(0x162),t(0x14a)]});l=this[t(0x159)]['rewriteDestinationPathForEngine']({'pathParts':[n],'config':f});}f[t(0x16c)][t(0x162)]===t(0x140)?(f[t(0x16c)]['js']==='tsx'?this[t(0x159)][t(0x164)]({'filePath':l,'content':t(0x169)+i[t(0x141)]+'\x20}\x20from\x20\x27'+k+t(0x157)}):this[t(0x159)][t(0x164)]({'filePath':l,'content':'import\x20{\x20'+i[t(0x141)]+'\x20}\x20from\x20\x27'+k+'.'+f[t(0x16c)]['js']+t(0x157)}),this[t(0x159)][t(0x156)]({'filePath':l,'content':t(0x14e)+i[t(0x141)]+t(0x139)})):this['fsi']['injectAtEndOfFile']({'filePath':l,'content':t(0x158)+k+'.'+f[t(0x16c)]['js']+t(0x157)});});});
@@ -1 +1 @@
1
- const a66i=a66d;(function(a,b){const f=a66d,c=a();while(!![]){try{const d=parseInt(f(0x1be))/0x1*(parseInt(f(0x1b0))/0x2)+parseInt(f(0x1b7))/0x3*(parseInt(f(0x1ba))/0x4)+parseInt(f(0x1b2))/0x5*(-parseInt(f(0x1bb))/0x6)+-parseInt(f(0x1b3))/0x7+parseInt(f(0x1bd))/0x8*(-parseInt(f(0x1ae))/0x9)+parseInt(f(0x1b9))/0xa+-parseInt(f(0x1bc))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a66c,0x88241));const a66b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a66d;if(c){const e=c[g(0x1b6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a66a=a66b(this,function(){const h=a66d;return a66a[h(0x1b1)]()[h(0x1b5)]('(((.+)+)+)+$')[h(0x1b1)]()['constructor'](a66a)['search'](h(0x1af));});function a66d(a,b){const c=a66c();return a66d=function(d,e){d=d-0x1ad;let f=c[d];return f;},a66d(a,b);}function a66c(){const j=['toString','5BXgIrZ','148834ERcAjC','maka\x20g:hook\x20cool-hook','search','apply','13326ngGsWe','maka\x20<generate>:<entity>\x20[<args>]\x20[<opts>]','4294980pqgOuk','860gyWGJJ','4891038SHWNLz','6017ZgFOuw','7581640QESFVF','264mPnMPR','Maka!','maka\x20generate:api\x20Trucks','maka','9zxUqKP','(((.+)+)+)+$','7256OOsDdS'];a66c=function(){return j;};return a66c();}a66a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a66i(0x1ad),'shortDesc':a66i(0x1bf),'validOpts':[],'description':'\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','usage':a66i(0x1b8),'examples':[a66i(0x1c0),a66i(0x1b4)]},function(){return null;});export default MakaGen;
1
+ function a66c(){const i=['maka\x20generate:api\x20Trucks','search','maka\x20g:hook\x20cool-hook','35cTHewg','\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','2716190BqAPFP','871496FOvCVN','747075YOtgxv','1936323dixUmg','111138SpHBYt','Maka!','63VNpLOm','maka\x20<generate>:<entity>\x20[<args>]\x20[<opts>]','(((.+)+)+)+$','467593CgMGWZ','96JsqrKB','toString','462408IddnlV'];a66c=function(){return i;};return a66c();}const a66h=a66d;(function(a,b){const f=a66d,c=a();while(!![]){try{const d=-parseInt(f(0x1c4))/0x1+-parseInt(f(0x1c3))/0x2+parseInt(f(0x1c5))/0x3+-parseInt(f(0x1bc))/0x4+parseInt(f(0x1c0))/0x5*(parseInt(f(0x1c6))/0x6)+parseInt(f(0x1b9))/0x7*(-parseInt(f(0x1ba))/0x8)+parseInt(f(0x1c8))/0x9*(parseInt(f(0x1c2))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a66c,0x8cba6));const a66b=(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;};}()),a66a=a66b(this,function(){const g=a66d;return a66a['toString']()[g(0x1be)](g(0x1b8))[g(0x1bb)]()['constructor'](a66a)['search']('(((.+)+)+)+$');});function a66d(a,b){const c=a66c();return a66d=function(d,e){d=d-0x1b7;let f=c[d];return f;},a66d(a,b);}a66a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':'maka','shortDesc':a66h(0x1c7),'validOpts':[],'description':a66h(0x1c1),'usage':a66h(0x1b7),'examples':[a66h(0x1bd),a66h(0x1bf)]},function(){return null;});export default MakaGen;
@@ -1 +1 @@
1
- const a67m=a67d;(function(a,b){const k=a67d,c=a();while(!![]){try{const d=-parseInt(k(0x1e4))/0x1+parseInt(k(0x1f1))/0x2+-parseInt(k(0x1e2))/0x3+-parseInt(k(0x1d2))/0x4*(-parseInt(k(0x1e8))/0x5)+parseInt(k(0x1d3))/0x6+-parseInt(k(0x1e9))/0x7*(parseInt(k(0x1dd))/0x8)+parseInt(k(0x1f3))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a67c,0x292d4));function a67c(){const p=['check\x20ddp-rate-limiter\x20mdg:validated-method','resourceName','check','mdg:validated-method','getProjectConfig','search','dir','-rpc-method.','Meteor\x20package\x20\x22check\x22\x20or\x20\x22ddp-rate-limiter\x22\x20or\x20\x22mdg:validated-method\x22\x20is\x20not\x20installed,\x20installing...','2415416TOVqxh','startup','maka\x20g:method\x20todos','fsi','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','406536TNHSIy','warn','288390MJVCLa','toString','index.','injectAtEndOfFile','35QBrDBX','7XwVfIM','pathFromApp','(((.+)+)+)+$','checkMeteorPackage','method','method/method.js','maka\x20{generate,\x20g}:{method,\x20m}\x20name','appPathPrefix','654002ysMAKn','import\x20\x27./methods','3787398Utaahm','-rpc-method\x27;','methods','engines','installMeteorPackage','error','withValue','tsx','ddp-rate-limiter','77804ZbpnTM','63054coolvp'];a67c=function(){return p;};return a67c();}const a67b=(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;};}()),a67a=a67b(this,function(){const l=a67d;return a67a[l(0x1e5)]()[l(0x1d9)]('(((.+)+)+)+$')[l(0x1e5)]()['constructor'](a67a)[l(0x1d9)](l(0x1eb));});a67a();function a67d(a,b){const c=a67c();return a67d=function(d,e){d=d-0x1ca;let f=c[d];return f;},a67d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator['create']({'name':a67m(0x1ed),'aliases':['m'],'usage':a67m(0x1ef),'checkWhere':!![],'shortDesc':a67m(0x1e1),'validOpts':['dir'],'examples':[a67m(0x1df)]},function(a,b){const n=a67m;try{const c=this[n(0x1e0)][n(0x1d8)]();this['fsi'][n(0x1cf)](c,async()=>{const o=n,d=paramCase(b[o(0x1d5)]),f={'name':b[o(0x1d5)],'fileName':d,'className':pascalCase(b['resourceName']),'camelCase':camelCase(b['resourceName']),'noRename':!![]};let g='js';c[o(0x1cc)]['js']===o(0x1d0)&&(g='ts');const h=this[o(0x1e0)]['pathFromApp']({});(!this[o(0x1e0)]['checkMeteorPackage'](o(0x1d6))||!this[o(0x1e0)]['checkMeteorPackage'](o(0x1d1))||!this['fsi'][o(0x1ec)](o(0x1d7)))&&(Log[o(0x1e3)](o(0x1dc)),this[o(0x1e0)][o(0x1cd)](o(0x1d4),{'cwd':h}));this['fsi']['template']({'srcPath':o(0x1ee),'destPath':this['fsi'][o(0x1ea)]({'pathParts':['imports',o(0x1de),b[o(0x1f0)],o(0x1cb),b[o(0x1da)],d+o(0x1db)+g]}),'context':f,'config':c});const i=b['dir']?'/'+b[o(0x1da)]+'/':'/',j=this['fsi'][o(0x1ea)]({'pathParts':['imports',o(0x1de),b[o(0x1f0)],o(0x1e6)+c['engines']['js']]});this[o(0x1e0)][o(0x1e7)]({'filePath':j,'content':o(0x1f2)+i+d+o(0x1ca)});});}catch(d){Log[n(0x1ce)](d);}});
1
+ function a67d(a,b){const c=a67c();return a67d=function(d,e){d=d-0x1b4;let f=c[d];return f;},a67d(a,b);}const a67n=a67d;(function(a,b){const k=a67d,c=a();while(!![]){try{const d=parseInt(k(0x1dc))/0x1+-parseInt(k(0x1be))/0x2+-parseInt(k(0x1db))/0x3+-parseInt(k(0x1c5))/0x4*(-parseInt(k(0x1c2))/0x5)+-parseInt(k(0x1cc))/0x6+-parseInt(k(0x1bf))/0x7+parseInt(k(0x1cd))/0x8*(parseInt(k(0x1de))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a67c,0x78342));const a67b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a67d;if(c){const e=c[l(0x1d8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a67a=a67b(this,function(){const m=a67d;return a67a['toString']()['search'](m(0x1d0))[m(0x1d1)]()['constructor'](a67a)[m(0x1c9)]('(((.+)+)+)+$');});a67a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a67c(){const q=['checkMeteorPackage','apply','Meteor\x20package\x20\x22check\x22\x20or\x20\x22ddp-rate-limiter\x22\x20or\x20\x22mdg:validated-method\x22\x20is\x20not\x20installed,\x20installing...','warn','310689LUHdOK','168572bkfpvB','engines','513ovlAQR','fsi','import\x20\x27./methods','check','methods','ddp-rate-limiter','installMeteorPackage','create','method/method.js','withValue','tsx','1927532pnmTPR','482349WhUnOj','getProjectConfig','injectAtEndOfFile','5ANbTfE','resourceName','mdg:validated-method','3849488zaobEu','method','dir','pathFromApp','search','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','appPathPrefix','167022UKVxkD','73752FgLftv','maka\x20{generate,\x20g}:{method,\x20m}\x20name','-rpc-method.','(((.+)+)+)+$','toString','template','maka\x20g:method\x20todos','imports','startup','check\x20ddp-rate-limiter\x20mdg:validated-method'];a67c=function(){return q;};return a67c();}import{camelCase,paramCase,pascalCase}from'change-case';Generator[a67n(0x1ba)]({'name':a67n(0x1c6),'aliases':['m'],'usage':a67n(0x1ce),'checkWhere':!![],'shortDesc':a67n(0x1ca),'validOpts':['dir'],'examples':[a67n(0x1d3)]},function(a,b){const o=a67n;try{const c=this[o(0x1b4)][o(0x1c0)]();this[o(0x1b4)][o(0x1bc)](c,async()=>{const p=o,d=paramCase(b[p(0x1c3)]),f={'name':b['resourceName'],'fileName':d,'className':pascalCase(b[p(0x1c3)]),'camelCase':camelCase(b[p(0x1c3)]),'noRename':!![]};let g='js';c['engines']['js']===p(0x1bd)&&(g='ts');const h=this[p(0x1b4)]['pathFromApp']({});(!this[p(0x1b4)][p(0x1d7)](p(0x1b6))||!this[p(0x1b4)][p(0x1d7)](p(0x1b8))||!this[p(0x1b4)]['checkMeteorPackage'](p(0x1c4)))&&(Log[p(0x1da)](p(0x1d9)),this['fsi'][p(0x1b9)](p(0x1d6),{'cwd':h}));this[p(0x1b4)][p(0x1d2)]({'srcPath':p(0x1bb),'destPath':this[p(0x1b4)][p(0x1c8)]({'pathParts':[p(0x1d4),p(0x1d5),b[p(0x1cb)],p(0x1b7),b[p(0x1c7)],d+p(0x1cf)+g]}),'context':f,'config':c});const i=b['dir']?'/'+b['dir']+'/':'/',j=this[p(0x1b4)][p(0x1c8)]({'pathParts':['imports','startup',b[p(0x1cb)],'index.'+c[p(0x1dd)]['js']]});this[p(0x1b4)][p(0x1c1)]({'filePath':j,'content':p(0x1b5)+i+d+'-rpc-method\x27;'});});}catch(d){Log['error'](d);}});
@@ -1 +1 @@
1
- const a68o=a68d;(function(a,b){const l=a68d,c=a();while(!![]){try{const d=-parseInt(l(0x17b))/0x1*(-parseInt(l(0x170))/0x2)+parseInt(l(0x16a))/0x3*(-parseInt(l(0x16c))/0x4)+-parseInt(l(0x163))/0x5+parseInt(l(0x188))/0x6+-parseInt(l(0x162))/0x7*(-parseInt(l(0x181))/0x8)+-parseInt(l(0x178))/0x9*(-parseInt(l(0x172))/0xa)+-parseInt(l(0x165))/0xb*(-parseInt(l(0x168))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a68c,0xcf16c));const a68b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a68d;if(c){const e=c[m(0x166)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a68a=a68b(this,function(){const n=a68d;return a68a['toString']()['search']('(((.+)+)+)+$')[n(0x187)]()[n(0x161)](a68a)[n(0x189)](n(0x15f));});a68a();import a68e from'path';function a68c(){const s=['graphql','1629254WpVCMu','apply','relative','72PWajmw','client','1304022wrxEcU','lib','8lMclcA','package/package.js','package','features','10QGigEc','hasOwnProperty','770fESZqC','ssr','/client/','layout','forEach','withValue','27216ALmmme','packages','package/','190119jgEcjr','theme','maka\x20g:package\x20todos:package','.js','template','package.js','68504DjKIEP','pathFromAppWithNoReWrite','resourceName','tests/client','noRename','template/template.js','toString','1127580CFQwRg','search','fsi','engines','(((.+)+)+)+$','tests/server','constructor','175iUXkqe','3782740cNJbxf'];a68c=function(){return s;};return a68c();}import{Generator}from'../generator.js';function a68d(a,b){const c=a68c();return a68d=function(d,e){d=d-0x15f;let f=c[d];return f;},a68d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';Generator['create']({'name':a68o(0x16e),'aliases':['p'],'usage':'maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','validOpts':['dir'],'examples':[a68o(0x17d)]},async function(a,b){const p=a68o,c=paramCase(b['resourceName']),d=this[p(0x18a)]['pathFromApp']({'pathParts':[p(0x179),b['dir'],c]}),e=this[p(0x18a)][p(0x182)]({'pathParts':[p(0x179),b['dir'],c,p(0x180)]}),f=this['fsi']['getProjectConfig']();this[p(0x18a)][p(0x177)](f,async()=>{const q=p,g={'name':paramCase(b[q(0x183)]),'myPath':a68e[q(0x167)](this[q(0x18a)]['pathFromProject']({}),d),'cssCaseName':paramCase(b[q(0x183)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[q(0x183)]),'fileName':c,'client':f[q(0x18b)][q(0x169)],'graphql':f['engines'][q(0x164)],'ssr':f[q(0x18b)][q(0x173)],'isComponent':b[q(0x171)]('component'),'isLayout':b[q(0x171)](q(0x175)),'isStore':b[q(0x171)]('store'),'features':f[q(0x16f)],'noRename':!![],'theme':f['engines'][q(0x17c)]};this[q(0x18a)][q(0x17f)]({'srcPath':q(0x16d),'destPath':e,'context':g,'config':f}),g[q(0x185)]=![];const h=d+q(0x174)+c+q(0x17e);this[q(0x18a)][q(0x17f)]({'srcPath':q(0x186),'destPath':h,'context':g,'config':f});const i=[q(0x16b),'server',q(0x184),q(0x160)];i[q(0x176)](j=>{const r=q,k=d+'/'+j+'/'+c+r(0x17e);this[r(0x18a)]['template']({'srcPath':r(0x17a)+j+'/package.js','destPath':k,'context':g,'config':f});});});});
1
+ function a68d(a,b){const c=a68c();return a68d=function(d,e){d=d-0x9b;let f=c[d];return f;},a68d(a,b);}const a68o=a68d;(function(a,b){const l=a68d,c=a();while(!![]){try{const d=parseInt(l(0xc2))/0x1*(-parseInt(l(0xa7))/0x2)+-parseInt(l(0xbb))/0x3*(-parseInt(l(0xbf))/0x4)+-parseInt(l(0x9b))/0x5*(-parseInt(l(0xa1))/0x6)+-parseInt(l(0xaf))/0x7+-parseInt(l(0xba))/0x8*(-parseInt(l(0xc7))/0x9)+parseInt(l(0xbc))/0xa*(parseInt(l(0xa4))/0xb)+-parseInt(l(0xb1))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a68c,0x50827));const a68b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a68d;if(c){const e=c[m(0xa0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a68a=a68b(this,function(){const n=a68d;return a68a[n(0xa5)]()[n(0xa2)]('(((.+)+)+)+$')['toString']()['constructor'](a68a)[n(0xa2)](n(0xad));});function a68c(){const s=['apply','42HkmvbT','search','template/template.js','55WFhvOy','toString','layout','4616LjWGqz','maka\x20g:package\x20todos:package','.js','noRename','packages','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','(((.+)+)+)+$','theme','4064410MoTMVq','hasOwnProperty','7764096VfJNCZ','create','component','package.js','package','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','tests/client','ssr','forEach','1544vPwyzA','3uUNOlm','903120MKtsyt','/package.js','fsi','2538344RXQAyB','graphql','template','2gGaLHu','store','pathFromProject','/client/','resourceName','21501SxUgxN','withValue','pathFromAppWithNoReWrite','server','10570QaBNTd','pathFromApp','package/','engines','dir'];a68c=function(){return s;};return a68c();}a68a();import a68e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a68o(0xb2)]({'name':a68o(0xb5),'aliases':['p'],'usage':a68o(0xac),'shortDesc':a68o(0xb6),'validOpts':['dir'],'examples':[a68o(0xa8)]},async function(a,b){const p=a68o,c=paramCase(b[p(0xc6)]),d=this[p(0xbe)][p(0x9c)]({'pathParts':[p(0xab),b[p(0x9f)],c]}),e=this[p(0xbe)][p(0xc9)]({'pathParts':[p(0xab),b['dir'],c,p(0xb4)]}),f=this[p(0xbe)]['getProjectConfig']();this[p(0xbe)][p(0xc8)](f,async()=>{const q=p,g={'name':paramCase(b[q(0xc6)]),'myPath':a68e['relative'](this[q(0xbe)][q(0xc4)]({}),d),'cssCaseName':paramCase(b[q(0xc6)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[q(0xc6)]),'fileName':c,'client':f[q(0x9e)]['client'],'graphql':f[q(0x9e)][q(0xc0)],'ssr':f[q(0x9e)][q(0xb8)],'isComponent':b['hasOwnProperty'](q(0xb3)),'isLayout':b[q(0xb0)](q(0xa6)),'isStore':b[q(0xb0)](q(0xc3)),'features':f['features'],'noRename':!![],'theme':f['engines'][q(0xae)]};this[q(0xbe)][q(0xc1)]({'srcPath':'package/package.js','destPath':e,'context':g,'config':f}),g[q(0xaa)]=![];const h=d+q(0xc5)+c+q(0xa9);this[q(0xbe)][q(0xc1)]({'srcPath':q(0xa3),'destPath':h,'context':g,'config':f});const i=['lib',q(0xca),q(0xb7),'tests/server'];i[q(0xb9)](j=>{const r=q,k=d+'/'+j+'/'+c+r(0xa9);this[r(0xbe)]['template']({'srcPath':r(0x9d)+j+r(0xbd),'destPath':k,'context':g,'config':f});});});});
@@ -1 +1 @@
1
- const a69p=a69d;(function(a,b){const m=a69d,c=a();while(!![]){try{const d=parseInt(m(0x15b))/0x1*(-parseInt(m(0x163))/0x2)+parseInt(m(0x14a))/0x3+parseInt(m(0x16c))/0x4*(-parseInt(m(0x13e))/0x5)+parseInt(m(0x158))/0x6*(-parseInt(m(0x186))/0x7)+-parseInt(m(0x189))/0x8*(parseInt(m(0x15f))/0x9)+parseInt(m(0x177))/0xa+parseInt(m(0x13c))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a69c,0xa7cf8));const a69b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a69d;if(c){const e=c[n(0x162)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a69a=a69b(this,function(){const o=a69d;return a69a['toString']()[o(0x151)](o(0x141))[o(0x188)]()[o(0x16a)](a69a)[o(0x151)]('(((.+)+)+)+$');});a69a();import a69e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a69d(a,b){const c=a69c();return a69d=function(d,e){d=d-0x13c;let f=c[d];return f;},a69d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator[a69p(0x161)]({'name':a69p(0x176),'aliases':aliases,'usage':a69p(0x154),'shortDesc':'Generate\x20a\x20page.','validOpts':[a69p(0x17c),a69p(0x14c)],'examples':['maka\x20g:page\x20todos/todos-item']},function(a,b){const q=a69p,c=q(0x13f),d=this[q(0x15a)][q(0x142)](b),e=this['fsi'][q(0x142)]({'pathParts':[c,b[q(0x17c)],paramCase(b[q(0x149)]),paramCase(b[q(0x149)])]}),f=this[q(0x15a)][q(0x15e)]();this['fsi'][q(0x178)](f,()=>{const r=q;typeof f[r(0x16b)][r(0x146)]===r(0x169)&&(f[r(0x16b)][r(0x146)]=f[r(0x16b)]['html']===r(0x147)?!![]:![],this[r(0x15a)][r(0x14e)](r(0x146),f['template'][r(0x146)]));typeof f[r(0x16b)][r(0x143)]===r(0x169)&&(f[r(0x16b)][r(0x143)]=f[r(0x16b)][r(0x143)]===r(0x147)?!![]:![],this[r(0x15a)][r(0x14e)](r(0x143),f['template']['test']));typeof f[r(0x16b)][r(0x150)]===r(0x169)&&(f[r(0x16b)]['css']=f[r(0x16b)][r(0x150)]===r(0x147)?!![]:![],this[r(0x15a)]['setTemplate']('css',f[r(0x16b)][r(0x150)]));typeof f[r(0x16b)]['js']===r(0x169)&&(f[r(0x16b)]['js']=f[r(0x16b)]['js']==='true'?!![]:![],this['fsi'][r(0x14e)]('js',f[r(0x16b)]['js']));!f[r(0x180)]&&(f[r(0x180)]={});!b[r(0x14b)]&&!this[r(0x15a)][r(0x175)](r(0x152))&&(Log[r(0x145)](r(0x164)),this[r(0x15a)][r(0x160)](r(0x152),{'cwd':d}));const g={'name':pascalCase(b['resourceName']),'myPath':a69e[r(0x155)](this[r(0x15a)][r(0x159)]({}),e),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[r(0x149)]),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b[r(0x149)]),'graphql':f['engines'][r(0x173)],'features':f[r(0x180)],'client':f['engines'][r(0x174)],'api':f[r(0x153)][r(0x17e)],'ssr':f[r(0x153)][r(0x140)],'isStore':b[r(0x16e)](r(0x183)),'isComponent':b['hasOwnProperty'](r(0x167)),'isLayout':b[r(0x16e)]('layout'),'withTranslations':f[r(0x180)][r(0x16f)],'test':f[r(0x153)][r(0x143)],'theme':f[r(0x153)][r(0x144)]};f[r(0x16b)]['html']&&this[r(0x15a)][r(0x16b)]({'srcPath':r(0x182),'destPath':e+r(0x17b),'context':g,'config':f});f[r(0x180)]?.[r(0x181)]||b[r(0x14c)]?this[r(0x15a)][r(0x16b)]({'srcPath':r(0x148),'destPath':e+'.js','framework':r(0x18a),'context':g,'config':f}):this[r(0x15a)][r(0x16b)]({'srcPath':r(0x172),'destPath':e+'.js','framework':r(0x18a),'context':g,'config':f});f[r(0x153)][r(0x143)]!==r(0x15c)&&this['fsi']['template']({'srcPath':r(0x156),'destPath':e+r(0x15d),'framework':r(0x18a),'context':g,'config':f});f[r(0x16b)]['css']&&this[r(0x15a)][r(0x16b)]({'srcPath':r(0x166),'destPath':e+r(0x17a),'context':Object[r(0x17d)]({},g,{'className':paramCase(b[r(0x149)])}),'config':f});f[r(0x153)][r(0x174)]!==r(0x18a)&&f[r(0x153)][r(0x174)]!==r(0x179)?(f[r(0x16b)][r(0x150)]&&this['fsi'][r(0x170)]({'filePath':e+'.'+f[r(0x153)]['js'],'content':'import\x20\x27./'+g['fileName']+'.'+f['engines'][r(0x146)]+r(0x16d)+r(0x185)+g['fileName']+'.'+f['engines'][r(0x150)]+'\x27;'}),!f['template'][r(0x150)]&&this[r(0x15a)][r(0x170)]({'filePath':e+'.'+f['engines']['js'],'content':'import\x20\x27./'+g[r(0x13d)]+'.'+f[r(0x153)][r(0x146)]+'\x27;'})):f[r(0x16b)][r(0x150)]&&this['fsi']['injectAtBeginningOfFile']({'filePath':e+'.'+f[r(0x153)]['js'],'content':r(0x185)+g[r(0x13d)]+'.'+f['engines'][r(0x150)]+'\x27;'});const h=b[r(0x17c)]?'/'+b[r(0x17c)]+'/':'/',i=''+c+h+g[r(0x13d)]+'/'+g[r(0x13d)];let j;if(f['engines']['ssr']===r(0x147)){const k=this[r(0x15a)][r(0x142)]({'pathParts':[r(0x14d),'startup',r(0x187),r(0x14f)]});j=this[r(0x15a)][r(0x17f)]({'pathParts':[k],'config':f});}else{const l=this[r(0x15a)][r(0x142)]({'pathParts':[r(0x14d),r(0x171),'client',r(0x14f)]});j=this[r(0x15a)][r(0x17f)]({'pathParts':[l],'config':f});}f[r(0x153)]['client']===r(0x18a)?(f[r(0x153)]['js']===r(0x184)?this['fsi'][r(0x170)]({'filePath':j,'content':'import\x20{\x20'+g['className']+r(0x168)+i+r(0x16d)}):this['fsi'][r(0x170)]({'filePath':j,'content':'import\x20{\x20'+g['className']+r(0x168)+i+'.'+f[r(0x153)]['js']+r(0x16d)}),this[r(0x15a)][r(0x165)]({'filePath':j,'content':r(0x157)+g['className']+'\x20};\x0a'})):this[r(0x15a)][r(0x165)]({'filePath':j,'content':'import\x20\x27'+i+'.'+f[r(0x153)]['js']+r(0x16d)});});});function a69c(){const s=['template','3668vgjzrh','\x27;\x0a','hasOwnProperty','withTranslations','injectAtBeginningOfFile','startup','component/component.js','graphql','client','checkNpmPackage','page','3767070vsZANh','withValue','vanilla','.css','.html','dir','assign','api','rewriteDestinationPathForEngine','features','withHooks','template/template.html','store','tsx','import\x20\x27./','7JWqgAQ','lib','toString','88wQUMDF','react','27143017XqeCVA','fileName','1290KThhyQ','/imports/ui/pages','ssr','(((.+)+)+)+$','pathFromApp','test','theme','warn','html','true','hook/hook.js','resourceName','2541828hOEKfF','root','withHook','imports','setTemplate','templates.js','css','search','ramda','engines','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','relative','test/test.js','export\x20{\x20','7187406VxyeOg','pathFromProject','fsi','1342046LRompk','none','.app-tests.js','getProjectConfig','186255BfBXPh','installNpmPackage','create','apply','2LzHkII','Updating\x20npm\x20packages\x20...','injectAtEndOfFile','template/template.css','component','\x20}\x20from\x20\x27','string','constructor'];a69c=function(){return s;};return a69c();}
1
+ const a69o=a69d;(function(a,b){const m=a69d,c=a();while(!![]){try{const d=-parseInt(m(0x1ba))/0x1*(-parseInt(m(0x1c6))/0x2)+-parseInt(m(0x1b2))/0x3+parseInt(m(0x1ab))/0x4+parseInt(m(0x1cd))/0x5*(-parseInt(m(0x1a7))/0x6)+parseInt(m(0x197))/0x7*(-parseInt(m(0x1b8))/0x8)+parseInt(m(0x1c1))/0x9+-parseInt(m(0x1a8))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a69c,0x43eb6));const a69b=(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;};}()),a69a=a69b(this,function(){const n=a69d;return a69a[n(0x192)]()[n(0x1b4)](n(0x1d3))[n(0x192)]()[n(0x1a1)](a69a)['search']('(((.+)+)+)+$');});a69a();import a69e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a69d(a,b){const c=a69c();return a69d=function(d,e){d=d-0x18e;let f=c[d];return f;},a69d(a,b);}function a69c(){const r=['installNpmPackage','(((.+)+)+)+$','css','fileName','pathFromApp','export\x20{\x20','Generate\x20a\x20page.','test','withHooks','tsx','react','test/test.js','vanilla','warn','templates.js','\x20}\x20from\x20\x27','toString','template/template.html','resourceName','engines','ramda','1171891BHlEkZ','.js','\x20};\x0a','dir','assign','component','.html','startup','ssr','import\x20\x27','constructor','hook/hook.js','injectAtEndOfFile','.css','getProjectConfig','true','66qnIZqa','2372420yXjVte','setTemplate','api','1992596XGGTSj','string','lib','template/template.css','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','className','graphql','735366YkFSTf','fsi','search','layout','create','store','8BWKGpM','rewriteDestinationPathForEngine','31SfEXiN','relative','component/component.js','html','injectAtBeginningOfFile','template','imports','645300MvAVLD','features','client','checkNpmPackage','import\x20{\x20','30196gQpECq','pathFromProject','none','hasOwnProperty','import\x20\x27./','/imports/ui/pages','withTranslations','49960EwuBIN','\x27;\x0a','withValue','Updating\x20npm\x20packages\x20...','maka\x20g:page\x20todos/todos-item'];a69c=function(){return r;};return a69c();}import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator[a69o(0x1b6)]({'name':'page','aliases':aliases,'usage':a69o(0x1af),'shortDesc':a69o(0x1d8),'validOpts':[a69o(0x19a),'withHook'],'examples':[a69o(0x1d1)]},function(a,b){const p=a69o,c=p(0x1cb),d=this['fsi'][p(0x1d6)](b),e=this['fsi'][p(0x1d6)]({'pathParts':[c,b['dir'],paramCase(b['resourceName']),paramCase(b[p(0x194)])]}),f=this['fsi'][p(0x1a5)]();this[p(0x1b3)][p(0x1cf)](f,()=>{const q=p;typeof f[q(0x1bf)][q(0x1bd)]===q(0x1ac)&&(f['template']['html']=f[q(0x1bf)][q(0x1bd)]===q(0x1a6)?!![]:![],this['fsi'][q(0x1a9)](q(0x1bd),f[q(0x1bf)][q(0x1bd)]));typeof f[q(0x1bf)][q(0x1d9)]===q(0x1ac)&&(f[q(0x1bf)][q(0x1d9)]=f[q(0x1bf)][q(0x1d9)]===q(0x1a6)?!![]:![],this['fsi'][q(0x1a9)]('test',f[q(0x1bf)][q(0x1d9)]));typeof f[q(0x1bf)][q(0x1d4)]==='string'&&(f[q(0x1bf)]['css']=f['template'][q(0x1d4)]===q(0x1a6)?!![]:![],this[q(0x1b3)][q(0x1a9)](q(0x1d4),f[q(0x1bf)][q(0x1d4)]));typeof f[q(0x1bf)]['js']==='string'&&(f[q(0x1bf)]['js']=f[q(0x1bf)]['js']===q(0x1a6)?!![]:![],this[q(0x1b3)][q(0x1a9)]('js',f[q(0x1bf)]['js']));!f[q(0x1c2)]&&(f[q(0x1c2)]={});!b['root']&&!this['fsi'][q(0x1c4)](q(0x196))&&(Log[q(0x18f)](q(0x1d0)),this[q(0x1b3)][q(0x1d2)](q(0x196),{'cwd':d}));const g={'name':pascalCase(b[q(0x194)]),'myPath':a69e[q(0x1bb)](this[q(0x1b3)][q(0x1c7)]({}),e),'cssCaseName':paramCase(b[q(0x194)]),'className':pascalCase(b[q(0x194)]),'camelCaseName':camelCase(b[q(0x194)]),'fileName':paramCase(b[q(0x194)]),'graphql':f[q(0x195)][q(0x1b1)],'features':f[q(0x1c2)],'client':f[q(0x195)][q(0x1c3)],'api':f[q(0x195)][q(0x1aa)],'ssr':f[q(0x195)][q(0x19f)],'isStore':b[q(0x1c9)](q(0x1b7)),'isComponent':b[q(0x1c9)](q(0x19c)),'isLayout':b[q(0x1c9)](q(0x1b5)),'withTranslations':f[q(0x1c2)][q(0x1cc)],'test':f[q(0x195)][q(0x1d9)],'theme':f[q(0x195)]['theme']};f['template'][q(0x1bd)]&&this[q(0x1b3)]['template']({'srcPath':q(0x193),'destPath':e+q(0x19d),'context':g,'config':f});f[q(0x1c2)]?.[q(0x1da)]||b['withHook']?this[q(0x1b3)][q(0x1bf)]({'srcPath':q(0x1a2),'destPath':e+'.js','framework':'react','context':g,'config':f}):this[q(0x1b3)][q(0x1bf)]({'srcPath':q(0x1bc),'destPath':e+q(0x198),'framework':q(0x1dc),'context':g,'config':f});f[q(0x195)][q(0x1d9)]!==q(0x1c8)&&this[q(0x1b3)]['template']({'srcPath':q(0x1dd),'destPath':e+'.app-tests.js','framework':q(0x1dc),'context':g,'config':f});f[q(0x1bf)][q(0x1d4)]&&this[q(0x1b3)]['template']({'srcPath':q(0x1ae),'destPath':e+q(0x1a4),'context':Object[q(0x19b)]({},g,{'className':paramCase(b[q(0x194)])}),'config':f});f[q(0x195)][q(0x1c3)]!=='react'&&f['engines']['client']!==q(0x18e)?(f[q(0x1bf)][q(0x1d4)]&&this[q(0x1b3)]['injectAtBeginningOfFile']({'filePath':e+'.'+f[q(0x195)]['js'],'content':'import\x20\x27./'+g[q(0x1d5)]+'.'+f[q(0x195)][q(0x1bd)]+'\x27;\x0a'+'import\x20\x27./'+g['fileName']+'.'+f[q(0x195)][q(0x1d4)]+'\x27;'}),!f[q(0x1bf)][q(0x1d4)]&&this[q(0x1b3)][q(0x1be)]({'filePath':e+'.'+f[q(0x195)]['js'],'content':q(0x1ca)+g[q(0x1d5)]+'.'+f['engines']['html']+'\x27;'})):f[q(0x1bf)][q(0x1d4)]&&this[q(0x1b3)][q(0x1be)]({'filePath':e+'.'+f[q(0x195)]['js'],'content':q(0x1ca)+g['fileName']+'.'+f[q(0x195)][q(0x1d4)]+'\x27;'});const h=b[q(0x19a)]?'/'+b[q(0x19a)]+'/':'/',i=''+c+h+g[q(0x1d5)]+'/'+g[q(0x1d5)];let j;if(f[q(0x195)]['ssr']===q(0x1a6)){const k=this['fsi'][q(0x1d6)]({'pathParts':['imports',q(0x19e),q(0x1ad),q(0x190)]});j=this[q(0x1b3)][q(0x1b9)]({'pathParts':[k],'config':f});}else{const l=this[q(0x1b3)][q(0x1d6)]({'pathParts':[q(0x1c0),'startup',q(0x1c3),q(0x190)]});j=this[q(0x1b3)]['rewriteDestinationPathForEngine']({'pathParts':[l],'config':f});}f[q(0x195)][q(0x1c3)]===q(0x1dc)?(f[q(0x195)]['js']===q(0x1db)?this[q(0x1b3)]['injectAtBeginningOfFile']({'filePath':j,'content':q(0x1c5)+g['className']+q(0x191)+i+q(0x1ce)}):this[q(0x1b3)][q(0x1be)]({'filePath':j,'content':'import\x20{\x20'+g[q(0x1b0)]+q(0x191)+i+'.'+f[q(0x195)]['js']+q(0x1ce)}),this[q(0x1b3)]['injectAtEndOfFile']({'filePath':j,'content':q(0x1d7)+g[q(0x1b0)]+q(0x199)})):this[q(0x1b3)][q(0x1a3)]({'filePath':j,'content':q(0x1a0)+i+'.'+f[q(0x195)]['js']+q(0x1ce)});});});
@@ -1 +1 @@
1
- const a70k=a70d;(function(a,b){const h=a70d,c=a();while(!![]){try{const d=parseInt(h(0x1ad))/0x1+-parseInt(h(0x19e))/0x2*(-parseInt(h(0x195))/0x3)+-parseInt(h(0x1a3))/0x4+-parseInt(h(0x1a6))/0x5*(-parseInt(h(0x196))/0x6)+parseInt(h(0x199))/0x7+parseInt(h(0x1ae))/0x8+-parseInt(h(0x1a2))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a70c,0x51d82));const a70b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a70d;if(c){const e=c[i(0x1a7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a70a=a70b(this,function(){const j=a70d;return a70a[j(0x1ac)]()[j(0x1a9)]('(((.+)+)+)+$')[j(0x1ac)]()['constructor'](a70a)[j(0x1a9)](j(0x1a8));});a70a();import{paramCase}from'change-case';import{Generator}from'../generator.js';function a70c(){const n=['tsx','219oxUQVN','12bjGQDZ','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','fsi','482174tOGfHC','resourceName','rewriteDestinationPathForEngine','server/publish.','publish','1134OnXPRU','templateContent','engines','withValue','1053189rAUiWD','737480kfNduV','maka\x20g:publish\x20todos','create','20810ssnbuO','apply','(((.+)+)+)+$','search','getProjectConfig','injectAtEndOfFile','toString','186789sORWrq','2649912oGSRMC'];a70c=function(){return n;};return a70c();}function a70d(a,b){const c=a70c();return a70d=function(d,e){d=d-0x195;let f=c[d];return f;},a70d(a,b);}Generator[a70k(0x1a5)]({'name':a70k(0x19d),'aliases':['p'],'usage':a70k(0x197),'shortDesc':'Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','validOpts':[],'examples':[a70k(0x1a4)]},async function(a,b){const l=a70k,c=this[l(0x198)][l(0x1aa)]();this['fsi'][l(0x1a1)](c,async()=>{const m=l,d={'name':b[m(0x19a)],'collection':paramCase(b[m(0x19a)]),'noRename':!![]};let e='js';c['engines']['js']===m(0x1af)&&(e='ts');const f=this['fsi'][m(0x19b)]({'pathParts':[m(0x19c)+c[m(0x1a0)]['js']]}),g=this[m(0x198)][m(0x19f)]({'srcPath':'publish/publish.'+e,'context':d,'config':c});this[m(0x198)][m(0x1ab)]({'filePath':f,'content':'\x0a'+g});});});
1
+ function a70d(a,b){const c=a70c();return a70d=function(d,e){d=d-0x1a9;let f=c[d];return f;},a70d(a,b);}const a70k=a70d;(function(a,b){const h=a70d,c=a();while(!![]){try{const d=-parseInt(h(0x1b9))/0x1*(parseInt(h(0x1a9))/0x2)+parseInt(h(0x1ae))/0x3+-parseInt(h(0x1ba))/0x4+-parseInt(h(0x1b7))/0x5+-parseInt(h(0x1b2))/0x6+-parseInt(h(0x1af))/0x7+parseInt(h(0x1b5))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a70c,0x3ccfe));function a70c(){const n=['337176zIOctP','getProjectConfig','server/publish.','532326aYgjsu','maka\x20g:publish\x20todos','(((.+)+)+)+$','7582864VDhJhz','create','2013225orBqep','toString','25502yLjUPM','1260956iUDRzd','apply','injectAtEndOfFile','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','constructor','search','withValue','tsx','engines','8PKPqjh','publish','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','resourceName','fsi','774027tdADmz'];a70c=function(){return n;};return a70c();}const a70b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a70d;if(c){const e=c[i(0x1bb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a70a=a70b(this,function(){const j=a70d;return a70a[j(0x1b8)]()['search'](j(0x1b4))[j(0x1b8)]()[j(0x1be)](a70a)[j(0x1bf)](j(0x1b4));});a70a();import{paramCase}from'change-case';import{Generator}from'../generator.js';Generator[a70k(0x1b6)]({'name':a70k(0x1aa),'aliases':['p'],'usage':a70k(0x1bd),'shortDesc':a70k(0x1ab),'validOpts':[],'examples':[a70k(0x1b3)]},async function(a,b){const l=a70k,c=this[l(0x1ad)][l(0x1b0)]();this['fsi'][l(0x1c0)](c,async()=>{const m=l,d={'name':b['resourceName'],'collection':paramCase(b[m(0x1ac)]),'noRename':!![]};let e='js';c[m(0x1c2)]['js']===m(0x1c1)&&(e='ts');const f=this[m(0x1ad)]['rewriteDestinationPathForEngine']({'pathParts':[m(0x1b1)+c['engines']['js']]}),g=this['fsi']['templateContent']({'srcPath':'publish/publish.'+e,'context':d,'config':c});this[m(0x1ad)][m(0x1bc)]({'filePath':f,'content':'\x0a'+g});});});
@@ -1 +1 @@
1
- const a71y=a71d;(function(a,b){const v=a71d,c=a();while(!![]){try{const d=parseInt(v(0x1a5))/0x1+-parseInt(v(0x1e4))/0x2*(-parseInt(v(0x1b1))/0x3)+-parseInt(v(0x1c6))/0x4*(-parseInt(v(0x1a7))/0x5)+-parseInt(v(0x1b7))/0x6*(parseInt(v(0x1d9))/0x7)+-parseInt(v(0x1e6))/0x8*(parseInt(v(0x1e5))/0x9)+parseInt(v(0x1e8))/0xa*(parseInt(v(0x1ba))/0xb)+parseInt(v(0x1c4))/0xc*(-parseInt(v(0x1d5))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a71c,0x2a66f));const a71b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a71d;if(c){const e=c[w(0x1e0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a71a=a71b(this,function(){const x=a71d;return a71a[x(0x1df)]()[x(0x1a6)]('(((.+)+)+)+$')[x(0x1df)]()['constructor'](a71a)[x(0x1a6)](x(0x1e1));});function a71d(a,b){const c=a71c();return a71d=function(d,e){d=d-0x1a1;let f=c[d];return f;},a71d(a,b);}a71a();import a71e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a71f from'../generators/maka.gen.js';function a71c(){const H=['layout','page','316149jrDDVO','search','5yaxePA','lib','/imports/ui/pages','error','rewriteDestinationPathForEngine','startup','ssr','client','maka\x20g:route\x20lists/listIndex\x20lists','only','107259iPEyyg','const\x20publicRoutes\x20=\x20(<>','templateName','join','MasterLayout','includes','12gJADhY','config','withTranslations','132euVDvd','engines','import\x20*\x20as\x20Component\x20from\x20\x27./templates\x27;','private','templateContent','map','length','indexOf','invoke','injectAfterLineNumber','7882224NGbNtT','\x0a\x09\x09','938084zJtVMt','route','root','\x22*\x22','fsi','warn','const\x20privateRoutes\x20=\x20(<>','injectAtEndOfFile','pathFromApp','maka\x20{generate,\x20g}:{route,\x20r}\x20[path/]<name>\x20[url]\x20[--private]','Scaffolding\x20for\x20a\x20Route.','readFileLines','<Route','create','PrivateLayout','13kmAUun','getProjectConfig','cwd','vanilla','546406lKQwGO','route/route.js','maka\x20g:route\x20todosEdit\x20todos/:id/edit','withValue','newForm','routes.js','toString','apply','(((.+)+)+)+$','Could\x20not\x20find\x20a\x20suitable\x20location\x20to\x20enable\x20this\x20route.\x20\x20Please\x20inspect\x20','filter','18oLOiEn','249867npesId','32ibHKec','toLowerCase','187710ZaWTnW','<Router','</Router>','imports','react','true'];a71c=function(){return H;};return a71c();}import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['r'];Generator[a71y(0x1d3)]({'name':a71y(0x1c7),'aliases':aliases,'validOpts':[a71y(0x1bd),a71y(0x1a3),a71y(0x1b0),a71y(0x1d7),a71y(0x1b8),a71y(0x1c8),'withHook','url'],'usage':a71y(0x1cf),'shortDesc':a71y(0x1d0),'examples':['maka\x20g:route\x20todosIndex\x20todos',a71y(0x1db),'maka\x20g:route\x20usersShow\x20users/:id/show\x20--layout\x20userView',a71y(0x1af)]},function(a,b){const z=a71y;try{const c=this[z(0x1ca)][z(0x1d6)]();this[z(0x1ca)][z(0x1dc)](c,async()=>{const A=z,d=b['private']??![];let f=paramCase(a[0x0]),g='/'+f;a['length']>0x1&&(g='/'+a[A(0x1e3)](function(l){return l!=='/';})[A(0x1b4)]('/')[A(0x1e7)]());f=camelCase(f);b[A(0x1a3)]&&(b['layout']=camelCase(b[A(0x1a3)]));const h=a71e[A(0x1b4)](A(0x1a9),f,f),i={'name':f,'fileCase':paramCase(f),'camelCaseName':camelCase(f),'url':g,'layout':b[A(0x1a3)]||A(0x1b5),'templatePath':h,'templateName':pascalCase(f),'client':c[A(0x1bb)][A(0x1ae)],'newForm':![],'withTranslations':c['features'][A(0x1b9)]};d&&(i['layout']=A(0x1d4));if(!b[A(0x1c8)]){const l=a71f['findGenerator'](A(0x1a4));l&&await l[A(0x1c2)](a,b);}let j,k;if(c[A(0x1bb)]['client']===A(0x1a1)){if(c['engines'][A(0x1ad)]===A(0x1a2)){const p=this[A(0x1ca)]['pathFromApp']({'pathParts':[A(0x1eb),A(0x1ac),A(0x1a8),A(0x1de)]});j=this['fsi']['rewriteDestinationPathForEngine']({'pathParts':[p],'config':c});}else{const q=this[A(0x1ca)][A(0x1ce)]({'pathParts':[A(0x1eb),A(0x1ac),'client','routes.js']});j=this[A(0x1ca)][A(0x1ab)]({'pathParts':[q],'config':c});}const m=this['fsi']['readFileLines'](j)[A(0x1bf)]((r,s)=>{const B=A;return r[B(0x1b6)](B(0x1bc))?s+0x1:null;})['filter'](r=>r!==null);let n=this[A(0x1ca)][A(0x1d1)](j)[A(0x1bf)]((r,s)=>{const C=A;return r['includes'](C(0x1b2))?s+0x1:null;})[A(0x1e3)](r=>r!==null),o=this[A(0x1ca)]['readFileLines'](j)[A(0x1bf)]((r,s)=>{const D=A;return r[D(0x1b6)](D(0x1cc))?s+0x1:null;})[A(0x1e3)](r=>r!==null);n[A(0x1c0)]>0x0&&o[A(0x1c0)]>0x0&&(i[A(0x1dd)]=!![]);k=this[A(0x1ca)][A(0x1be)]({'srcPath':'route/route.js','framework':A(0x1a1),'context':i,'config':c});if(n['length']>0x0||o[A(0x1c0)]>0x0){this['fsi'][A(0x1c3)]({'filePath':j,'content':k,'lineNumber':m[0x0]});if(d&&o['length']>0x0)o=this[A(0x1ca)][A(0x1d1)](j)['map']((r,s)=>{const E=A;return r[E(0x1b6)](E(0x1cc))?s+0x1:null;})['filter'](r=>r!==null),this['fsi'][A(0x1c3)]({'filePath':j,'content':'\x09{'+i[A(0x1b3)]+'}','lineNumber':o[0x0]});else n[A(0x1c0)]>0x0?(n=this[A(0x1ca)][A(0x1d1)](j)[A(0x1bf)]((r,s)=>{const F=A;return r[F(0x1b6)](F(0x1b2))?s+0x1:null;})[A(0x1e3)](r=>r!==null),this['fsi']['injectAfterLineNumber']({'filePath':j,'content':'\x09{'+i[A(0x1b3)]+'}','lineNumber':n[0x0]})):Log[A(0x1cb)](A(0x1e2)+j);}else{const r=this[A(0x1ca)]['readFileLines'](j)['map'](u=>{const G=A;return u[G(0x1b6)](G(0x1c9));}),s=r[A(0x1c1)](!![])>-0x1,t=s?A(0x1d2):A(0x1ea);this[A(0x1ca)]['injectIntoFile']({'filePath':j,'content':A(0x1c5)+k+A(0x1c5),'begin':A(0x1e9),'end':t});}}else{if(c[A(0x1bb)]['client']===A(0x1d8)){const u=this[A(0x1ca)][A(0x1ce)]({'pathParts':['imports',A(0x1ac),A(0x1ae),A(0x1de)]});j=this['fsi']['rewriteDestinationPathForEngine']({'pathParts':[u],'config':c}),k=this[A(0x1ca)][A(0x1be)]({'srcPath':A(0x1da),'context':i}),this[A(0x1ca)][A(0x1cd)]({'filePath':j,'content':'\x0a'+k});}}});}catch(d){Log[z(0x1aa)](d);}});
1
+ const a71y=a71d;(function(a,b){const v=a71d,c=a();while(!![]){try{const d=-parseInt(v(0x87))/0x1+-parseInt(v(0xac))/0x2+-parseInt(v(0xa4))/0x3+-parseInt(v(0x88))/0x4*(-parseInt(v(0xbb))/0x5)+parseInt(v(0xc6))/0x6*(parseInt(v(0x81))/0x7)+parseInt(v(0xb1))/0x8*(-parseInt(v(0xa9))/0x9)+parseInt(v(0x89))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a71c,0x8ff17));function a71c(){const H=['<Route','\x22*\x22','vanilla','rewriteDestinationPathForEngine','\x0a\x09\x09','(((.+)+)+)+$','Scaffolding\x20for\x20a\x20Route.','ssr','maka\x20g:route\x20todosIndex\x20todos','214062vgdNCq','error','includes','PrivateLayout','newForm','49MmPZnk','injectIntoFile','import\x20*\x20as\x20Component\x20from\x20\x27./templates\x27;','readFileLines','startup','withHook','766385KOhtIC','4egIOFp','21676630nOVvuk','getProjectConfig','fsi','features','const\x20privateRoutes\x20=\x20(<>','maka\x20g:route\x20usersShow\x20users/:id/show\x20--layout\x20userView','injectAfterLineNumber','map','lib','join','pathFromApp','length','create','only','maka\x20g:route\x20lists/listIndex\x20lists','private','config','cwd','toString','toLowerCase','filter','templateContent','react','apply','constructor','page','routes.js','425415NgzDon','route/route.js','url','</Router>','client','18rfFdyi','findGenerator','true','2074144zTrKuG','maka\x20g:route\x20todosEdit\x20todos/:id/edit','withTranslations','engines','imports','1572184mHXuPF','search','/imports/ui/pages','indexOf','templateName','withValue','MasterLayout','root','injectAtEndOfFile','layout','2552485LZLOFA','maka\x20{generate,\x20g}:{route,\x20r}\x20[path/]<name>\x20[url]\x20[--private]'];a71c=function(){return H;};return a71c();}const a71b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a71d;if(c){const e=c[w(0xa0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a71a=a71b(this,function(){const x=a71d;return a71a[x(0x9b)]()[x(0xb2)](x(0xc2))['toString']()[x(0xa1)](a71a)[x(0xb2)]('(((.+)+)+)+$');});a71a();import a71e from'path';function a71d(a,b){const c=a71c();return a71d=function(d,e){d=d-0x7d;let f=c[d];return f;},a71d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a71f from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['r'];Generator[a71y(0x95)]({'name':'route','aliases':aliases,'validOpts':[a71y(0x98),a71y(0xba),a71y(0x96),a71y(0x9a),a71y(0x99),a71y(0xb8),a71y(0x86),a71y(0xa6)],'usage':a71y(0xbc),'shortDesc':a71y(0xc3),'examples':[a71y(0xc5),a71y(0xad),a71y(0x8e),a71y(0x97)]},function(a,b){const z=a71y;try{const c=this['fsi'][z(0x8a)]();this[z(0x8b)][z(0xb6)](c,async()=>{const A=z,d=b[A(0x98)]??![];let f=paramCase(a[0x0]),g='/'+f;a['length']>0x1&&(g='/'+a[A(0x9d)](function(l){return l!=='/';})[A(0x92)]('/')[A(0x9c)]());f=camelCase(f);b[A(0xba)]&&(b['layout']=camelCase(b[A(0xba)]));const h=a71e[A(0x92)](A(0xb3),f,f),i={'name':f,'fileCase':paramCase(f),'camelCaseName':camelCase(f),'url':g,'layout':b['layout']||A(0xb7),'templatePath':h,'templateName':pascalCase(f),'client':c[A(0xaf)][A(0xa8)],'newForm':![],'withTranslations':c[A(0x8c)][A(0xae)]};d&&(i[A(0xba)]=A(0x7f));if(!b[A(0xb8)]){const l=a71f[A(0xaa)](A(0xa2));l&&await l['invoke'](a,b);}let j,k;if(c[A(0xaf)]['client']===A(0x9f)){if(c[A(0xaf)][A(0xc4)]===A(0xab)){const p=this[A(0x8b)][A(0x93)]({'pathParts':[A(0xb0),A(0x85),A(0x91),A(0xa3)]});j=this[A(0x8b)]['rewriteDestinationPathForEngine']({'pathParts':[p],'config':c});}else{const q=this[A(0x8b)][A(0x93)]({'pathParts':[A(0xb0),A(0x85),A(0xa8),A(0xa3)]});j=this['fsi']['rewriteDestinationPathForEngine']({'pathParts':[q],'config':c});}const m=this[A(0x8b)][A(0x84)](j)[A(0x90)]((r,s)=>{const B=A;return r[B(0x7e)](B(0x83))?s+0x1:null;})['filter'](r=>r!==null);let n=this[A(0x8b)][A(0x84)](j)[A(0x90)]((r,s)=>{const C=A;return r[C(0x7e)]('const\x20publicRoutes\x20=\x20(<>')?s+0x1:null;})[A(0x9d)](r=>r!==null),o=this[A(0x8b)][A(0x84)](j)[A(0x90)]((r,s)=>{const D=A;return r[D(0x7e)](D(0x8d))?s+0x1:null;})[A(0x9d)](r=>r!==null);n['length']>0x0&&o['length']>0x0&&(i[A(0x80)]=!![]);k=this['fsi'][A(0x9e)]({'srcPath':A(0xa5),'framework':A(0x9f),'context':i,'config':c});if(n[A(0x94)]>0x0||o['length']>0x0){this[A(0x8b)][A(0x8f)]({'filePath':j,'content':k,'lineNumber':m[0x0]});if(d&&o[A(0x94)]>0x0)o=this[A(0x8b)]['readFileLines'](j)[A(0x90)]((r,s)=>{const E=A;return r[E(0x7e)](E(0x8d))?s+0x1:null;})['filter'](r=>r!==null),this['fsi'][A(0x8f)]({'filePath':j,'content':'\x09{'+i[A(0xb5)]+'}','lineNumber':o[0x0]});else n[A(0x94)]>0x0?(n=this[A(0x8b)]['readFileLines'](j)['map']((r,s)=>{const F=A;return r[F(0x7e)]('const\x20publicRoutes\x20=\x20(<>')?s+0x1:null;})[A(0x9d)](r=>r!==null),this['fsi'][A(0x8f)]({'filePath':j,'content':'\x09{'+i[A(0xb5)]+'}','lineNumber':n[0x0]})):Log['warn']('Could\x20not\x20find\x20a\x20suitable\x20location\x20to\x20enable\x20this\x20route.\x20\x20Please\x20inspect\x20'+j);}else{const r=this[A(0x8b)][A(0x84)](j)[A(0x90)](u=>{const G=A;return u['includes'](G(0xbe));}),s=r[A(0xb4)](!![])>-0x1,t=s?A(0xbd):A(0xa7);this[A(0x8b)][A(0x82)]({'filePath':j,'content':A(0xc1)+k+'\x0a\x09\x09','begin':'<Router','end':t});}}else{if(c[A(0xaf)][A(0xa8)]===A(0xbf)){const u=this[A(0x8b)][A(0x93)]({'pathParts':[A(0xb0),'startup',A(0xa8),A(0xa3)]});j=this[A(0x8b)][A(0xc0)]({'pathParts':[u],'config':c}),k=this[A(0x8b)][A(0x9e)]({'srcPath':A(0xa5),'context':i}),this[A(0x8b)][A(0xb9)]({'filePath':j,'content':'\x0a'+k});}}});}catch(d){Log[z(0x7d)](d);}});
@@ -1 +1 @@
1
- const a72m=a72d;function a72c(){const p=['engines','5017554xeCdKt','maka\x20{generate,\x20g}:{service}\x20[service-type]','1185895VZdZNg','tsx','service/logger/logger.js','winston\x20setimmediate','Generate\x20a\x20service\x20to\x20run\x20within\x20your\x20meteor\x20application.','template','imports','21tYsOAg','getProjectConfig','checkNpmPackage','constructor','maka\x20g:svc\x20logger','startup','162504ysYaDe','Installing\x20winston','(((.+)+)+)+$','698972NmzaBr','pathFromApp','services','withValue','144466WJWlCI','apply','error','installNpmPackage','toString','resourceName','4TyTWSF','1174956jiQKIP','logger','winston','svc','lib','create','search','182736CxOSPg','fsi','service'];a72c=function(){return p;};return a72c();}(function(a,b){const j=a72d,c=a();while(!![]){try{const d=parseInt(j(0x8b))/0x1+parseInt(j(0x87))/0x2+parseInt(j(0x92))/0x3+parseInt(j(0x91))/0x4*(parseInt(j(0x77))/0x5)+parseInt(j(0x84))/0x6*(-parseInt(j(0x7e))/0x7)+-parseInt(j(0x99))/0x8+-parseInt(j(0x75))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a72c,0x7097f));function a72d(a,b){const c=a72c();return a72d=function(d,e){d=d-0x75;let f=c[d];return f;},a72d(a,b);}const a72b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a72d;if(c){const e=c[k(0x8c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a72a=a72b(this,function(){const l=a72d;return a72a[l(0x8f)]()[l(0x98)](l(0x86))[l(0x8f)]()[l(0x81)](a72a)[l(0x98)](l(0x86));});a72a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a72m(0x97)]({'name':a72m(0x9b),'aliases':[a72m(0x95)],'usage':a72m(0x76),'shortDesc':a72m(0x7b),'validOpts':['type'],'validArgs':['logger'],'maxArgLength':0x1,'minArgLength':0x1,'examples':[a72m(0x82)]},async function(a,b){const n=a72m;try{const c=this[n(0x9a)][n(0x7f)]();this[n(0x9a)][n(0x8a)](c,async()=>{const o=n,d=this[o(0x9a)][o(0x88)]({}),f=paramCase(b[o(0x90)]),g={'name':pascalCase(b[o(0x90)]),'fileName':f,'camelCase':camelCase(b['resourceName']),'type':a[0x0],'engine':c[o(0x9c)]['js'],'noRename':!![]};let h='js';c['engines']['js']===o(0x78)&&(h='ts');if(a[0x0]===o(0x93)){!this['fsi'][o(0x80)](o(0x94))&&await this['fsi'][o(0x8e)](o(0x7a),{'cwd':d,'msg':o(0x85)});const i=this[o(0x9a)]['pathFromApp']({'pathParts':[o(0x7d),o(0x83),o(0x96),o(0x89),f+'.'+h]});this[o(0x9a)][o(0x7c)]({'srcPath':o(0x79),'destPath':i,'context':g,'config':c});}});}catch(d){Log[n(0x8d)](d);}});
1
+ const a72l=a72d;(function(a,b){const j=a72d,c=a();while(!![]){try{const d=parseInt(j(0x1ab))/0x1*(parseInt(j(0x1a3))/0x2)+-parseInt(j(0x1b5))/0x3*(-parseInt(j(0x193))/0x4)+-parseInt(j(0x1a0))/0x5*(parseInt(j(0x19f))/0x6)+parseInt(j(0x198))/0x7+-parseInt(j(0x1a5))/0x8*(-parseInt(j(0x1ad))/0x9)+parseInt(j(0x19e))/0xa*(parseInt(j(0x1a1))/0xb)+-parseInt(j(0x199))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a72c,0x8f211));function a72c(){const o=['error','4251863gFqNAw','19154484uklswG','getProjectConfig','service','checkNpmPackage','fsi','10RqPUEy','24gZwiWU','1166390rbQOst','1199253GbdMnp','pathFromApp','952tBkLll','template','8ZhElhX','maka\x20{generate,\x20g}:{service}\x20[service-type]','Generate\x20a\x20service\x20to\x20run\x20within\x20your\x20meteor\x20application.','engines','search','logger','1467wLVFhH','imports','9187596AXGFJi','resourceName','winston\x20setimmediate','service/logger/logger.js','winston','(((.+)+)+)+$','installNpmPackage','services','255003XEqdwg','toString','Installing\x20winston','maka\x20g:svc\x20logger','32BQzZmu','constructor','tsx','withValue'];a72c=function(){return o;};return a72c();}const a72b=(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;};}()),a72a=a72b(this,function(){const k=a72d;return a72a[k(0x190)]()[k(0x1a9)](k(0x1b2))[k(0x190)]()[k(0x194)](a72a)[k(0x1a9)]('(((.+)+)+)+$');});a72a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a72d(a,b){const c=a72c();return a72d=function(d,e){d=d-0x190;let f=c[d];return f;},a72d(a,b);}Generator['create']({'name':a72l(0x19b),'aliases':['svc'],'usage':a72l(0x1a6),'shortDesc':a72l(0x1a7),'validOpts':['type'],'validArgs':[a72l(0x1aa)],'maxArgLength':0x1,'minArgLength':0x1,'examples':[a72l(0x192)]},async function(a,b){const m=a72l;try{const c=this[m(0x19d)][m(0x19a)]();this[m(0x19d)][m(0x196)](c,async()=>{const n=m,d=this[n(0x19d)][n(0x1a2)]({}),f=paramCase(b[n(0x1ae)]),g={'name':pascalCase(b[n(0x1ae)]),'fileName':f,'camelCase':camelCase(b['resourceName']),'type':a[0x0],'engine':c[n(0x1a8)]['js'],'noRename':!![]};let h='js';c[n(0x1a8)]['js']===n(0x195)&&(h='ts');if(a[0x0]===n(0x1aa)){!this[n(0x19d)][n(0x19c)](n(0x1b1))&&await this[n(0x19d)][n(0x1b3)](n(0x1af),{'cwd':d,'msg':n(0x191)});const i=this[n(0x19d)][n(0x1a2)]({'pathParts':[n(0x1ac),'startup','lib',n(0x1b4),f+'.'+h]});this[n(0x19d)][n(0x1a4)]({'srcPath':n(0x1b0),'destPath':i,'context':g,'config':c});}});}catch(d){Log[m(0x197)](d);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a73d,c=a();while(!![]){try{var d=-parseInt(f(0x1fa))/0x1+parseInt(f(0x1f0))/0x2+parseInt(f(0x1f5))/0x3*(parseInt(f(0x1f4))/0x4)+parseInt(f(0x1fb))/0x5*(parseInt(f(0x1f1))/0x6)+parseInt(f(0x1ff))/0x7*(-parseInt(f(0x1f8))/0x8)+parseInt(f(0x1fe))/0x9*(parseInt(f(0x1f7))/0xa)+-parseInt(f(0x1f3))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a73c,0xe5bb7));function a73c(){var i=['constructor','360410ixHmdG','24siGnLn','toString','112257jWeVDh','5rKhmtG','(((.+)+)+)+$','search','54TNQvhM','2515849QAGHGP','3333614OtTAvN','2579946pXLRjc','apply','5280814sTajJc','1193964vMqNIE','3WiZYbR'];a73c=function(){return i;};return a73c();}var a73b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a73d;if(c){var e=c[g(0x1f2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a73a=a73b(this,function(){var h=a73d;return a73a[h(0x1f9)]()[h(0x1fd)](h(0x1fc))[h(0x1f9)]()[h(0x1f6)](a73a)[h(0x1fd)](h(0x1fc));});a73a();import'./translation.js';function a73d(a,b){var c=a73c();return a73d=function(d,e){d=d-0x1f0;var f=c[d];return f;},a73d(a,b);}import'./openssl.js';
1
+ (function(a,b){var f=a73d,c=a();while(!![]){try{var d=-parseInt(f(0x6a))/0x1*(parseInt(f(0x65))/0x2)+-parseInt(f(0x69))/0x3*(-parseInt(f(0x6d))/0x4)+parseInt(f(0x6b))/0x5*(parseInt(f(0x6f))/0x6)+-parseInt(f(0x67))/0x7+-parseInt(f(0x70))/0x8+parseInt(f(0x6e))/0x9+parseInt(f(0x71))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a73c,0x88b34));var a73b=(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;};}()),a73a=a73b(this,function(){var g=a73d;return a73a[g(0x66)]()['search'](g(0x6c))['toString']()['constructor'](a73a)[g(0x68)](g(0x6c));});function a73c(){var h=['6314763ZQXRTd','search','12vfBoYp','46GxquIb','20cRHGFR','(((.+)+)+)+$','544444BTYSPJ','847773jasjNn','1209570gKErfb','8942816KhnqKA','18818580CvNSvw','32478hZhuhg','toString'];a73c=function(){return h;};return a73c();}function a73d(a,b){var c=a73c();return a73d=function(d,e){d=d-0x65;var f=c[d];return f;},a73d(a,b);}a73a();import'./translation.js';import'./openssl.js';
@@ -1 +1 @@
1
- const a74l=a74d;(function(a,b){const i=a74d,c=a();while(!![]){try{const d=parseInt(i(0xf9))/0x1*(-parseInt(i(0xed))/0x2)+-parseInt(i(0xf1))/0x3*(-parseInt(i(0xeb))/0x4)+-parseInt(i(0xe3))/0x5*(-parseInt(i(0xef))/0x6)+-parseInt(i(0xe9))/0x7+parseInt(i(0xf5))/0x8+-parseInt(i(0xf0))/0x9+-parseInt(i(0xe7))/0xa*(-parseInt(i(0xf7))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a74c,0x1f387));const a74b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a74d;if(c){const e=c[j(0xf2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a74a=a74b(this,function(){const k=a74d;return a74a[k(0xe6)]()[k(0xfb)](k(0xea))[k(0xe6)]()['constructor'](a74a)[k(0xfb)]('(((.+)+)+)+$');});a74a();import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';import a74e from'path';function a74c(){const o=['330ogJUcH','openssl/openssl.conf','55679SVsDPP','appName','search','1150hzjgRc','_keys','template','toString','50970SRfCXg','maka\x20g:sslconfig\x20--env\x20dev','1779869rbiKAn','(((.+)+)+)+$','4vCFnIi','Generate\x20a\x20new\x20openssl\x20config\x20file','4iAIBlp','withValue','4488kmepBy','2008980AFgtgO','494823zZvLLo','apply','join','fsi','1814664ArqPMY','env'];a74c=function(){return o;};return a74c();}function a74d(a,b){const c=a74c();return a74d=function(d,e){d=d-0xe3;let f=c[d];return f;},a74d(a,b);}Generator['create']({'name':'sslconfig','usage':'maka\x20{generate,\x20g}:sslconfig','shortDesc':a74l(0xec),'noResource':!![],'requiredOpts':[a74l(0xf6)],'examples':[a74l(0xe8)],'validOpts':[a74l(0xf6)]},async function(a,b){const m=a74l;try{const c=await this[m(0xf4)]['getProjectConfig'](),d=await this[m(0xf4)]['getGlobalConfig'](),f=this[m(0xf4)]['getConfigPath'](b[m(0xf6)]),g=a74e[m(0xf3)](f,m(0xe4),'openssl.conf');await this[m(0xf4)][m(0xee)](c,async()=>{const n=m,h={'app':d[n(0xfa)],'noRename':!![]};await this[n(0xf4)][n(0xe5)]({'srcPath':n(0xf8),'destPath':g,'framework':'service','context':h,'config':c});});}catch(h){Log['error'](h);}});
1
+ const a74l=a74d;(function(a,b){const i=a74d,c=a();while(!![]){try{const d=-parseInt(i(0xfe))/0x1+parseInt(i(0xfb))/0x2*(-parseInt(i(0x107))/0x3)+-parseInt(i(0x112))/0x4+-parseInt(i(0x111))/0x5*(parseInt(i(0x101))/0x6)+-parseInt(i(0x100))/0x7+parseInt(i(0xfd))/0x8*(-parseInt(i(0x104))/0x9)+parseInt(i(0x106))/0xa*(parseInt(i(0x108))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a74c,0x6976f));function a74d(a,b){const c=a74c();return a74d=function(d,e){d=d-0xfa;let f=c[d];return f;},a74d(a,b);}function a74c(){const o=['constructor','218830tSGDsW','1411404zAxKGQ','service','error','openssl.conf','maka\x20g:sslconfig\x20--env\x20dev','46AlroZL','search','295976zCdPTR','773359WGWOyW','_keys','5897304Smmdkg','30aQSxrP','apply','getProjectConfig','99XlvrxU','fsi','2780670WZJLiZ','76749IuhxAi','143GoMJCv','(((.+)+)+)+$','env','Generate\x20a\x20new\x20openssl\x20config\x20file','create','getConfigPath','sslconfig','toString'];a74c=function(){return o;};return a74c();}const a74b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a74d;if(c){const e=c[j(0x102)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a74a=a74b(this,function(){const k=a74d;return a74a['toString']()[k(0xfc)](k(0x109))[k(0x10f)]()[k(0x110)](a74a)['search']('(((.+)+)+)+$');});a74a();import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';import a74e from'path';Generator[a74l(0x10c)]({'name':a74l(0x10e),'usage':'maka\x20{generate,\x20g}:sslconfig','shortDesc':a74l(0x10b),'noResource':!![],'requiredOpts':[a74l(0x10a)],'examples':[a74l(0xfa)],'validOpts':['env']},async function(a,b){const m=a74l;try{const c=await this[m(0x105)][m(0x103)](),d=await this[m(0x105)]['getGlobalConfig'](),f=this['fsi'][m(0x10d)](b[m(0x10a)]),g=a74e['join'](f,m(0xff),m(0x115));await this['fsi']['withValue'](c,async()=>{const n=m,h={'app':d['appName'],'noRename':!![]};await this[n(0x105)]['template']({'srcPath':'openssl/openssl.conf','destPath':g,'framework':n(0x113),'context':h,'config':c});});}catch(h){Log[m(0x114)](h);}});