@maka/maka-cli 4.5.0 → 4.5.1

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 (97) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/aws/_index.js +1 -1
  5. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  6. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  7. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/build/_index.js +1 -1
  17. package/bundle/obf/src/commands/build/build.js +1 -1
  18. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/create.js +1 -1
  20. package/bundle/obf/src/commands/debug.js +1 -1
  21. package/bundle/obf/src/commands/deploy.js +1 -1
  22. package/bundle/obf/src/commands/game/_index.js +1 -1
  23. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  24. package/bundle/obf/src/commands/game/play.command.js +1 -1
  25. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  26. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  28. package/bundle/obf/src/commands/generate.js +1 -1
  29. package/bundle/obf/src/commands/get/_index.js +1 -1
  30. package/bundle/obf/src/commands/get/get.command.js +1 -1
  31. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  32. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  34. package/bundle/obf/src/commands/help.js +1 -1
  35. package/bundle/obf/src/commands/install.js +1 -1
  36. package/bundle/obf/src/commands/jsdoc.js +1 -1
  37. package/bundle/obf/src/commands/lint.js +1 -1
  38. package/bundle/obf/src/commands/login.js +1 -1
  39. package/bundle/obf/src/commands/logout.js +1 -1
  40. package/bundle/obf/src/commands/logs.js +1 -1
  41. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  42. package/bundle/obf/src/commands/murder.js +1 -1
  43. package/bundle/obf/src/commands/proxy.js +1 -1
  44. package/bundle/obf/src/commands/reconfig.js +1 -1
  45. package/bundle/obf/src/commands/run/_index.js +1 -1
  46. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  47. package/bundle/obf/src/commands/run/run.command.js +1 -1
  48. package/bundle/obf/src/commands/set/_index.js +1 -1
  49. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  50. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  51. package/bundle/obf/src/commands/set/set.command.js +1 -1
  52. package/bundle/obf/src/commands/ssh.js +1 -1
  53. package/bundle/obf/src/commands/ssl.js +1 -1
  54. package/bundle/obf/src/commands/test.js +1 -1
  55. package/bundle/obf/src/commands/version.js +1 -1
  56. package/bundle/obf/src/error.js +1 -1
  57. package/bundle/obf/src/generator.js +1 -1
  58. package/bundle/obf/src/generators/_index.js +1 -1
  59. package/bundle/obf/src/generators/api.js +1 -1
  60. package/bundle/obf/src/generators/collection.js +1 -1
  61. package/bundle/obf/src/generators/component.js +1 -1
  62. package/bundle/obf/src/generators/config.js +1 -1
  63. package/bundle/obf/src/generators/dbc.js +1 -1
  64. package/bundle/obf/src/generators/dockerfile.js +1 -1
  65. package/bundle/obf/src/generators/hook.js +1 -1
  66. package/bundle/obf/src/generators/kit.js +1 -1
  67. package/bundle/obf/src/generators/layout.js +1 -1
  68. package/bundle/obf/src/generators/maka.gen.js +1 -1
  69. package/bundle/obf/src/generators/methods.js +1 -1
  70. package/bundle/obf/src/generators/package.js +1 -1
  71. package/bundle/obf/src/generators/page.js +1 -1
  72. package/bundle/obf/src/generators/publish.js +1 -1
  73. package/bundle/obf/src/generators/route.js +1 -1
  74. package/bundle/obf/src/generators/service.js +1 -1
  75. package/bundle/obf/src/generators/services/_index.js +1 -1
  76. package/bundle/obf/src/generators/services/openssl.js +1 -1
  77. package/bundle/obf/src/generators/services/translation.js +1 -1
  78. package/bundle/obf/src/maka.js +1 -1
  79. package/bundle/obf/src/tool.js +1 -1
  80. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  81. package/bundle/obf/src/tools/actions/actions.test.js +1 -1
  82. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  83. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  84. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  85. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  86. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  87. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  88. package/bundle/obf/src/tools/https/https.class.js +1 -1
  89. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  90. package/bundle/obf/src/tools/log/log.class.js +1 -1
  91. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  92. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  93. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  94. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  95. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  96. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  97. 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(0xf1))/0x1*(parseInt(k(0xc6))/0x2)+-parseInt(k(0xe7))/0x3+-parseInt(k(0xe6))/0x4+-parseInt(k(0xcd))/0x5+-parseInt(k(0xca))/0x6*(-parseInt(k(0xc8))/0x7)+-parseInt(k(0xc4))/0x8+parseInt(k(0xea))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a58c,0xad668));const a58b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a58d;if(c){const e=c[l(0xe0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a58a=a58b(this,function(){const m=a58d;return a58a[m(0xce)]()[m(0xe3)](m(0xdb))['toString']()[m(0xdf)](a58a)[m(0xe3)](m(0xdb));});function a58d(a,b){const c=a58c();return a58d=function(d,e){d=d-0xc4;let f=c[d];return f;},a58d(a,b);}a58a();import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a58n(0xda)]({'name':a58n(0xcf),'aliases':['col'],'usage':a58n(0xd8),'checkWhere':!![],'shortDesc':a58n(0xd1),'validOpts':[a58n(0xd2),a58n(0xe9)],'description':a58n(0xcb),'examples':[a58n(0xd6)]},async function(a,b){const o=a58n;try{const c=this[o(0xcc)][o(0xdc)]({}),d=this[o(0xcc)][o(0xc7)]();this[o(0xcc)][o(0xe4)](d,async()=>{const p=o,f=paramCase(b[p(0xe1)]),g={'name':pascalCase(b[p(0xe1)]),'collectionName':pascalCase(b[p(0xe1)]),'fileName':f,'where':b[p(0xe9)],'test':d[p(0xe2)][p(0xc9)],'noRename':!![]};let h='js';d[p(0xe2)]['js']==='tsx'&&(h='ts');!this['fsi'][p(0xd0)](p(0xef))&&(Log['notice'](p(0xd5)),await this[p(0xcc)][p(0xec)]('mongo',{'cwd':c}));!this[p(0xcc)][p(0xd0)](p(0xeb))&&(Log[p(0xe5)]('Verifying\x20meteor\x20package\x20requirements:\x20maka:check\x20...'),await this['fsi'][p(0xec)](p(0xeb),{'cwd':c}));this[p(0xcc)][p(0xf0)]({'srcPath':p(0xde),'destPath':this[p(0xcc)][p(0xdc)]({'pathParts':[p(0xc5),'startup',b[p(0xd9)],'collections',b[p(0xd2)],f+'.'+h]}),'context':g,'config':d});d[p(0xe2)][p(0xc9)]!=='none'&&this['fsi'][p(0xf0)]({'srcPath':p(0xd4),'destPath':this[p(0xcc)]['pathFromApp']({'pathParts':[p(0xc5),p(0xee),b[p(0xd9)],p(0xe8),b[p(0xd2)],f+p(0xed)+h]}),'context':g,'config':d});const i=b[p(0xd2)]?'/'+b['dir']+'/':'/',j=this[p(0xcc)][p(0xdc)]({'pathParts':['imports','startup',b[p(0xd9)],p(0xd7)+d[p(0xe2)]['js']]});this[p(0xcc)][p(0xdd)]({'filePath':j,'content':p(0xd3)+i+f+'\x27;'});});}catch(f){Log['error'](f);}});function a58c(){const q=['maka\x20g:collection\x20todos','index.','maka\x20{generate,\x20g}:{collection,\x20col}\x20<name>\x20[--where]','appPathPrefix','create','(((.+)+)+)+$','pathFromApp','injectAtEndOfFile','collection/collection.js','constructor','apply','resourceName','engines','search','withValue','notice','5423128wsqGGW','3990648ayDhpt','collections','where','38143971saMhDX','maka:check','installMeteorPackage','.app-tests.','startup','mongo','template','13PncvkG','7355032JEOkUc','imports','33946uYxWoK','getProjectConfig','14eVPkRq','test','2505582CUvabB','\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','fsi','2685695qHAMHM','toString','collection','checkMeteorPackage','Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection','dir','import\x20\x27./collections','collection/tests.js','Verifying\x20meteor\x20package\x20requirements:\x20mongo\x20...'];a58c=function(){return q;};return a58c();}
1
+ function a58c(){const p=['withValue','tsx','Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection','maka:check','engines','mongo','\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','search','4QuNMPT','2qtnWJA','getProjectConfig','2363952aIjHxi','407360cwMfom','installMeteorPackage','2113643nXtxmH','appPathPrefix','checkMeteorPackage','template','maka\x20{generate,\x20g}:{collection,\x20col}\x20<name>\x20[--where]','imports','resourceName','notice','toString','21395DiWlkO','18LrvBxW','Verifying\x20meteor\x20package\x20requirements:\x20mongo\x20...','13rwoRMe','dir','collection','index.','constructor','2820CDrLIx','3908510OptGNo','injectAtEndOfFile','fsi','7518972UuFSut','pathFromApp','9CPHZzY','(((.+)+)+)+$','Verifying\x20meteor\x20package\x20requirements:\x20maka:check\x20...','test','collection/tests.js','maka\x20g:collection\x20todos','where','create','startup','3199794UXNqCg'];a58c=function(){return p;};return a58c();}const a58m=a58d;(function(a,b){const k=a58d,c=a();while(!![]){try{const d=parseInt(k(0x13c))/0x1*(-parseInt(k(0x139))/0x2)+parseInt(k(0x12f))/0x3+parseInt(k(0x138))/0x4*(-parseInt(k(0x121))/0x5)+parseInt(k(0x119))/0x6*(parseInt(k(0x13e))/0x7)+-parseInt(k(0x13b))/0x8*(parseInt(k(0x126))/0x9)+parseInt(k(0x120))/0xa*(-parseInt(k(0x118))/0xb)+parseInt(k(0x124))/0xc*(parseInt(k(0x11b))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a58c,0x8a2dc));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(0x117)]()[l(0x137)](l(0x127))['toString']()[l(0x11f)](a58a)[l(0x137)]('(((.+)+)+)+$');});a58a();import{paramCase,pascalCase}from'change-case';function a58d(a,b){const c=a58c();return a58d=function(d,e){d=d-0x112;let f=c[d];return f;},a58d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a58m(0x12d)]({'name':a58m(0x11d),'aliases':['col'],'usage':a58m(0x113),'checkWhere':!![],'shortDesc':a58m(0x132),'validOpts':[a58m(0x11c),a58m(0x12c)],'description':a58m(0x136),'examples':[a58m(0x12b)]},async function(a,b){const n=a58m;try{const c=this[n(0x123)][n(0x125)]({}),d=this[n(0x123)][n(0x13a)]();this[n(0x123)][n(0x130)](d,async()=>{const o=n,f=paramCase(b[o(0x115)]),g={'name':pascalCase(b[o(0x115)]),'collectionName':pascalCase(b[o(0x115)]),'fileName':f,'where':b[o(0x12c)],'test':d[o(0x134)][o(0x129)],'noRename':!![]};let h='js';d[o(0x134)]['js']===o(0x131)&&(h='ts');!this['fsi'][o(0x140)](o(0x135))&&(Log['notice'](o(0x11a)),await this[o(0x123)][o(0x13d)]('mongo',{'cwd':c}));!this[o(0x123)][o(0x140)]('maka:check')&&(Log[o(0x116)](o(0x128)),await this[o(0x123)][o(0x13d)](o(0x133),{'cwd':c}));this['fsi'][o(0x112)]({'srcPath':'collection/collection.js','destPath':this[o(0x123)][o(0x125)]({'pathParts':[o(0x114),'startup',b['appPathPrefix'],'collections',b[o(0x11c)],f+'.'+h]}),'context':g,'config':d});d[o(0x134)]['test']!=='none'&&this[o(0x123)][o(0x112)]({'srcPath':o(0x12a),'destPath':this['fsi'][o(0x125)]({'pathParts':[o(0x114),o(0x12e),b[o(0x13f)],'collections',b[o(0x11c)],f+'.app-tests.'+h]}),'context':g,'config':d});const i=b[o(0x11c)]?'/'+b['dir']+'/':'/',j=this[o(0x123)][o(0x125)]({'pathParts':[o(0x114),'startup',b[o(0x13f)],o(0x11e)+d[o(0x134)]['js']]});this[o(0x123)][o(0x122)]({'filePath':j,'content':'import\x20\x27./collections'+i+f+'\x27;'});});}catch(f){Log['error'](f);}});
@@ -1 +1 @@
1
- const a59q=a59d;(function(a,b){const n=a59d,c=a();while(!![]){try{const d=parseInt(n(0x179))/0x1+-parseInt(n(0x17c))/0x2+parseInt(n(0x14a))/0x3*(-parseInt(n(0x188))/0x4)+-parseInt(n(0x171))/0x5+-parseInt(n(0x182))/0x6*(parseInt(n(0x177))/0x7)+parseInt(n(0x16e))/0x8+parseInt(n(0x16c))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a59c,0x6d1ab));const a59b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a59d;if(c){const e=c[o(0x173)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a59a=a59b(this,function(){const p=a59d;return a59a[p(0x16a)]()[p(0x154)]('(((.+)+)+)+$')[p(0x16a)]()[p(0x15c)](a59a)['search'](p(0x174));});function a59d(a,b){const c=a59c();return a59d=function(d,e){d=d-0x148;let f=c[d];return f;},a59d(a,b);}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=['comp'];function a59c(){const t=['graphql','7nNfhtQ','fsi','641172gDYVve','imports','pathFromProject','460278YlKSgn','dir','warn','setTemplate','import\x20{\x20','string','4385778NftDjC','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','ssr','className','template','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','286588NPZsyC','\x20}\x20from\x20\x27','engines','features','6ONYYpl','injectAtEndOfFile','relative','checkNpmPackage','component/component.js','withTranslations','Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','true','assign','installNpmPackage','search','pathFromApp','templates.js','\x27;\x0a','withValue','api','import\x20\x27','.tests.js','constructor','client','react','root','cssCaseName','lib','test','resourceName','error','startup','create','rewriteDestinationPathForEngine','css','maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','toString','fileName','3875535PYCKDM','export\x20{\x20','4729136dwjRsZ','\x20};\x0a','injectAtBeginningOfFile','558210oRndTH','component','apply','(((.+)+)+)+$','getProjectConfig'];a59c=function(){return t;};return a59c();}Generator[a59q(0x166)]({'name':a59q(0x172),'aliases':aliases,'usage':a59q(0x169),'shortDesc':a59q(0x150),'validOpts':[a59q(0x17d)],'examples':['maka\x20g:comp\x20todos/todos-item']},async function(a,b){const r=a59q;try{const c=this[r(0x178)]['findAppDirectory'](),d='/imports/ui/components',f=this[r(0x178)]['pathFromApp']({'pathParts':[d,b['dir'],paramCase(b[r(0x163)]),paramCase(b[r(0x163)])]}),g=await this[r(0x178)][r(0x175)]();this[r(0x178)][r(0x158)](g,async()=>{const s=r;typeof g[s(0x186)]['test']===s(0x181)&&(g['template'][s(0x162)]=g[s(0x186)][s(0x162)]===s(0x151)?!![]:![],this['fsi'][s(0x17f)]('test',g[s(0x186)][s(0x162)]));typeof g[s(0x186)][s(0x168)]===s(0x181)&&(g[s(0x186)][s(0x168)]=g[s(0x186)]['css']===s(0x151)?!![]:![],this[s(0x178)][s(0x17f)]('css',g[s(0x186)][s(0x168)]));typeof g[s(0x186)]['js']===s(0x181)&&(g[s(0x186)]['js']=g[s(0x186)]['js']===s(0x151)?!![]:![],this[s(0x178)]['setTemplate']('js',g[s(0x186)]['js']));!g['features']&&(g[s(0x149)]={});!b[s(0x15f)]&&!this[s(0x178)][s(0x14d)]('ramda')&&(Log[s(0x17e)](s(0x187)),await this[s(0x178)][s(0x153)]('ramda',{'cwd':c}));if(!b['root']&&!this[s(0x178)][s(0x14d)](s(0x15e))){Log[s(0x164)](s(0x183));return;}const h={'name':pascalCase(b[s(0x163)]),'myPath':a59e[s(0x14c)](this[s(0x178)][s(0x17b)]({}),f),'cssCaseName':paramCase(b[s(0x163)]),'className':pascalCase(b[s(0x163)]),'camelCaseName':camelCase(b[s(0x163)]),'fileName':paramCase(b[s(0x163)]),'graphql':g['engines'][s(0x176)],'features':g['features'],'client':g[s(0x148)][s(0x15d)],'api':g[s(0x148)][s(0x159)],'ssr':g[s(0x148)][s(0x184)],'test':g[s(0x148)][s(0x162)],'theme':g[s(0x148)]['theme'],'isLayout':![],'isComponent':!![],'withTranslations':g[s(0x149)][s(0x14f)]};this[s(0x178)][s(0x186)]({'srcPath':s(0x14e),'destPath':f+'.js','context':h,'framework':s(0x15e),'config':g});g[s(0x148)][s(0x162)]!=='none'&&this['fsi'][s(0x186)]({'srcPath':'test/test.js','destPath':f+s(0x15b),'context':h,'framework':s(0x15e),'config':g});g[s(0x186)][s(0x168)]&&(this[s(0x178)][s(0x186)]({'srcPath':'template/template.css','destPath':f+'.css','context':Object[s(0x152)]({},h,{'className':paramCase(b[s(0x163)])}),'config':g}),this['fsi']['injectAtBeginningOfFile']({'filePath':f+'.'+g[s(0x148)]['js'],'content':'import\x20\x27./'+h[s(0x160)]+'.'+g[s(0x148)][s(0x168)]+'\x27;'}));const i=b[s(0x17d)]?'/'+b[s(0x17d)]+'/':'/',j=''+d+i+h[s(0x16b)]+'/'+h[s(0x16b)];let k;if(g[s(0x148)]['ssr']===s(0x151)){const l=this[s(0x178)][s(0x155)]({'pathParts':[s(0x17a),'startup',s(0x161),s(0x156)]});k=this[s(0x178)][s(0x167)]({'pathParts':[l],'config':g});}else{const m=this[s(0x178)][s(0x155)]({'pathParts':[s(0x17a),s(0x165),s(0x15d),s(0x156)]});k=this[s(0x178)]['rewriteDestinationPathForEngine']({'pathParts':[m],'config':g});}g[s(0x148)][s(0x15d)]===s(0x15e)||g[s(0x148)][s(0x15d)]==='reflux'?(g['engines']['js']==='tsx'?this[s(0x178)]['injectAtBeginningOfFile']({'filePath':k,'content':s(0x180)+h[s(0x185)]+'\x20}\x20from\x20\x27'+j+s(0x157)}):this[s(0x178)][s(0x170)]({'filePath':k,'content':s(0x180)+h[s(0x185)]+s(0x189)+j+'.'+g['engines']['js']+'\x27;\x0a'}),this['fsi'][s(0x14b)]({'filePath':k,'content':s(0x16d)+h[s(0x185)]+s(0x16f)})):this[s(0x178)]['injectAtEndOfFile']({'filePath':k,'content':s(0x15a)+j+'.'+g[s(0x148)]['js']+s(0x157)});});}catch(h){Log[r(0x164)](h);}});
1
+ const a59p=a59d;(function(a,b){const n=a59d,c=a();while(!![]){try{const d=-parseInt(n(0x15a))/0x1*(-parseInt(n(0x18e))/0x2)+-parseInt(n(0x175))/0x3+-parseInt(n(0x168))/0x4+parseInt(n(0x17e))/0x5+-parseInt(n(0x183))/0x6+-parseInt(n(0x18c))/0x7*(parseInt(n(0x173))/0x8)+parseInt(n(0x15c))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a59c,0xd7aae));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(0x18a)]()[o(0x192)](o(0x177))[o(0x18a)]()['constructor'](a59a)[o(0x192)](o(0x177));});a59a();import a59e from'path';import{camelCase,paramCase,pascalCase}from'change-case';function a59d(a,b){const c=a59c();return a59d=function(d,e){d=d-0x157;let f=c[d];return f;},a59d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a59c(){const s=['setTemplate','maka\x20g:comp\x20todos/todos-item','engines','3957774bEOTWo','fsi','test/test.js','fileName','css','maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','\x20}\x20from\x20\x27','toString','ssr','2443VFbCUt','templates.js','47338QPmowr','relative','ramda','pathFromApp','search','injectAtEndOfFile','cssCaseName','theme','rewriteDestinationPathForEngine','dir','template','client','component/component.js','template/template.css','2pQxCPB','lib','26566686nCZxHW','features','startup','import\x20{\x20','installNpmPackage','withTranslations','.css','.tests.js','test','resourceName','api','tsx','6434512uNSQtz','error','string','assign','comp','findAppDirectory','export\x20{\x20','none','\x20};\x0a','reflux','root','2616GbFSGz','Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','220980StMJZr','react','(((.+)+)+)+$','className','injectAtBeginningOfFile','warn','imports','true','\x27;\x0a','1701110xaSsFA','pathFromProject'];a59c=function(){return s;};return a59c();}const aliases=[a59p(0x16c)];Generator['create']({'name':'component','aliases':aliases,'usage':a59p(0x188),'shortDesc':a59p(0x174),'validOpts':[a59p(0x197)],'examples':[a59p(0x181)]},async function(a,b){const q=a59p;try{const c=this['fsi'][q(0x16d)](),d='/imports/ui/components',f=this[q(0x184)][q(0x191)]({'pathParts':[d,b[q(0x197)],paramCase(b[q(0x165)]),paramCase(b[q(0x165)])]}),g=await this['fsi']['getProjectConfig']();this['fsi']['withValue'](g,async()=>{const r=q;typeof g[r(0x198)][r(0x164)]==='string'&&(g[r(0x198)][r(0x164)]=g[r(0x198)]['test']===r(0x17c)?!![]:![],this[r(0x184)]['setTemplate'](r(0x164),g[r(0x198)][r(0x164)]));typeof g[r(0x198)][r(0x187)]===r(0x16a)&&(g[r(0x198)][r(0x187)]=g[r(0x198)][r(0x187)]===r(0x17c)?!![]:![],this[r(0x184)][r(0x180)](r(0x187),g['template'][r(0x187)]));typeof g[r(0x198)]['js']===r(0x16a)&&(g[r(0x198)]['js']=g[r(0x198)]['js']===r(0x17c)?!![]:![],this[r(0x184)][r(0x180)]('js',g[r(0x198)]['js']));!g[r(0x15d)]&&(g[r(0x15d)]={});!b[r(0x172)]&&!this['fsi']['checkNpmPackage'](r(0x190))&&(Log[r(0x17a)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),await this[r(0x184)][r(0x160)](r(0x190),{'cwd':c}));if(!b['root']&&!this[r(0x184)]['checkNpmPackage'](r(0x176))){Log[r(0x169)]('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');return;}const h={'name':pascalCase(b['resourceName']),'myPath':a59e[r(0x18f)](this[r(0x184)][r(0x17f)]({}),f),'cssCaseName':paramCase(b[r(0x165)]),'className':pascalCase(b[r(0x165)]),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b[r(0x165)]),'graphql':g[r(0x182)]['graphql'],'features':g[r(0x15d)],'client':g[r(0x182)][r(0x157)],'api':g[r(0x182)][r(0x166)],'ssr':g['engines'][r(0x18b)],'test':g[r(0x182)][r(0x164)],'theme':g[r(0x182)][r(0x195)],'isLayout':![],'isComponent':!![],'withTranslations':g[r(0x15d)][r(0x161)]};this['fsi']['template']({'srcPath':r(0x158),'destPath':f+'.js','context':h,'framework':r(0x176),'config':g});g[r(0x182)][r(0x164)]!==r(0x16f)&&this['fsi']['template']({'srcPath':r(0x185),'destPath':f+r(0x163),'context':h,'framework':r(0x176),'config':g});g[r(0x198)][r(0x187)]&&(this[r(0x184)][r(0x198)]({'srcPath':r(0x159),'destPath':f+r(0x162),'context':Object[r(0x16b)]({},h,{'className':paramCase(b[r(0x165)])}),'config':g}),this['fsi'][r(0x179)]({'filePath':f+'.'+g[r(0x182)]['js'],'content':'import\x20\x27./'+h[r(0x194)]+'.'+g['engines']['css']+'\x27;'}));const i=b[r(0x197)]?'/'+b['dir']+'/':'/',j=''+d+i+h[r(0x186)]+'/'+h[r(0x186)];let k;if(g[r(0x182)][r(0x18b)]===r(0x17c)){const l=this['fsi'][r(0x191)]({'pathParts':[r(0x17b),r(0x15e),r(0x15b),r(0x18d)]});k=this['fsi'][r(0x196)]({'pathParts':[l],'config':g});}else{const m=this['fsi'][r(0x191)]({'pathParts':[r(0x17b),r(0x15e),'client','templates.js']});k=this[r(0x184)][r(0x196)]({'pathParts':[m],'config':g});}g['engines'][r(0x157)]===r(0x176)||g[r(0x182)][r(0x157)]===r(0x171)?(g[r(0x182)]['js']===r(0x167)?this['fsi'][r(0x179)]({'filePath':k,'content':r(0x15f)+h[r(0x178)]+r(0x189)+j+'\x27;\x0a'}):this[r(0x184)]['injectAtBeginningOfFile']({'filePath':k,'content':r(0x15f)+h[r(0x178)]+'\x20}\x20from\x20\x27'+j+'.'+g[r(0x182)]['js']+r(0x17d)}),this[r(0x184)][r(0x193)]({'filePath':k,'content':r(0x16e)+h[r(0x178)]+r(0x170)})):this[r(0x184)][r(0x193)]({'filePath':k,'content':'import\x20\x27'+j+'.'+g[r(0x182)]['js']+r(0x17d)});});}catch(h){Log[q(0x169)](h);}});
@@ -1 +1 @@
1
- const a60k=a60d;function a60c(){const n=['toString','appName','config/process.env','maka\x20{generate,\x20g}:{config}\x20<name>','1679436NtvbUM','withValue','template','Generate\x20configuration\x20settings.','239589IYgzNR','resourceName','56180770iTKlob','config','isDocker','config/settings.json','apply','constructor','process.env','2QYEJMg','35yPBFFE','fsi','getProjectConfig','817998ZwlVhb','prod','1548246QcHIkZ','dev','9268345ezYMdY','964700FMpRQu','create','settings.json','pathFromProject','(((.+)+)+)+$','ubuntu','production','search','304RhANrk'];a60c=function(){return n;};return a60c();}(function(a,b){const h=a60d,c=a();while(!![]){try{const d=-parseInt(h(0xa4))/0x1*(parseInt(h(0xa8))/0x2)+parseInt(h(0xba))/0x3+-parseInt(h(0xad))/0x4+-parseInt(h(0xac))/0x5+-parseInt(h(0xaa))/0x6*(parseInt(h(0xa5))/0x7)+parseInt(h(0xb5))/0x8*(-parseInt(h(0xbe))/0x9)+parseInt(h(0xc0))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a60c,0xeb2ac));const a60b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a60d;if(c){const e=c[i(0xc4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a60a=a60b(this,function(){const j=a60d;return a60a['toString']()[j(0xb4)](j(0xb1))[j(0xb6)]()[j(0xc5)](a60a)['search']('(((.+)+)+)+$');});a60a();import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';function a60d(a,b){const c=a60c();return a60d=function(d,e){d=d-0xa3;let f=c[d];return f;},a60d(a,b);}Generator[a60k(0xae)]({'name':a60k(0xc1),'usage':a60k(0xb9),'shortDesc':a60k(0xbd),'validOpts':[a60k(0xc2)],'examples':['maka\x20g:config\x20production']},function(a,b){const l=a60k,c=this[l(0xa6)][l(0xa7)]();this['fsi'][l(0xbb)](c,()=>{const m=l,d={'app':c[m(0xb7)],'appFileCase':paramCase(c[m(0xb7)]),'name':pascalCase(b[m(0xbf)]),'fileName':paramCase(b[m(0xbf)]),'camelCase':camelCase(b[m(0xbf)]),'userName':m(0xb2),'isDocker':b[m(0xc2)]};let e=a[0x0];if(e===m(0xab))e='development';else e===m(0xa9)&&(e=m(0xb3));const f=this[m(0xa6)][m(0xb0)]({'pathParts':[m(0xc1),e,m(0xaf)]});this[m(0xa6)][m(0xbc)]({'srcPath':m(0xc3),'destPath':f,'context':d,'config':c});if(!b[m(0xc2)]){const g=this[m(0xa6)]['pathFromProject']({'pathParts':[m(0xc1),e,m(0xa3)]});this['fsi'][m(0xbc)]({'srcPath':m(0xb8),'destPath':g,'context':d,'config':c});}});});
1
+ const a60k=a60d;(function(a,b){const h=a60d,c=a();while(!![]){try{const d=-parseInt(h(0x15b))/0x1*(-parseInt(h(0x15d))/0x2)+-parseInt(h(0x15f))/0x3+-parseInt(h(0x150))/0x4+-parseInt(h(0x153))/0x5*(parseInt(h(0x15c))/0x6)+-parseInt(h(0x168))/0x7+-parseInt(h(0x157))/0x8*(-parseInt(h(0x15e))/0x9)+parseInt(h(0x14e))/0xa*(parseInt(h(0x162))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a60c,0x1dbe6));const a60b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a60d;if(c){const e=c[i(0x152)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a60a=a60b(this,function(){const j=a60d;return a60a[j(0x155)]()['search'](j(0x14d))['toString']()[j(0x160)](a60a)[j(0x161)]('(((.+)+)+)+$');});a60a();import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';function a60d(a,b){const c=a60c();return a60d=function(d,e){d=d-0x14a;let f=c[d];return f;},a60d(a,b);}Generator[a60k(0x14f)]({'name':a60k(0x151),'usage':a60k(0x14c),'shortDesc':'Generate\x20configuration\x20settings.','validOpts':[a60k(0x165)],'examples':[a60k(0x14b)]},function(a,b){const l=a60k,c=this[l(0x156)]['getProjectConfig']();this[l(0x156)]['withValue'](c,()=>{const m=l,d={'app':c[m(0x167)],'appFileCase':paramCase(c[m(0x167)]),'name':pascalCase(b['resourceName']),'fileName':paramCase(b[m(0x158)]),'camelCase':camelCase(b['resourceName']),'userName':m(0x15a),'isDocker':b[m(0x165)]};let e=a[0x0];if(e===m(0x154))e='development';else e==='prod'&&(e=m(0x163));const f=this[m(0x156)]['pathFromProject']({'pathParts':[m(0x151),e,m(0x164)]});this[m(0x156)][m(0x14a)]({'srcPath':'config/settings.json','destPath':f,'context':d,'config':c});if(!b[m(0x165)]){const g=this[m(0x156)]['pathFromProject']({'pathParts':[m(0x151),e,m(0x166)]});this[m(0x156)][m(0x14a)]({'srcPath':m(0x159),'destPath':g,'context':d,'config':c});}});});function a60c(){const n=['1988271IZjLjB','684156IuAUHY','constructor','search','9416jogsrV','production','settings.json','isDocker','process.env','appName','33096praggN','template','maka\x20g:config\x20production','maka\x20{generate,\x20g}:{config}\x20<name>','(((.+)+)+)+$','3020EWEEQp','create','486960VzKFAt','config','apply','413830fCOvBZ','dev','toString','fsi','8eYllDp','resourceName','config/process.env','ubuntu','1xKmGlB','12YGjdmo','324902iCvfrV'];a60c=function(){return n;};return a60c();}
@@ -1 +1 @@
1
- const a61q=a61d;(function(a,b){const n=a61d,c=a();while(!![]){try{const d=parseInt(n(0xbf))/0x1+parseInt(n(0xaf))/0x2*(-parseInt(n(0xba))/0x3)+-parseInt(n(0xd2))/0x4+-parseInt(n(0xbe))/0x5+parseInt(n(0xac))/0x6*(-parseInt(n(0xaa))/0x7)+parseInt(n(0xb7))/0x8+parseInt(n(0xde))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a61c,0xb318e));function a61d(a,b){const c=a61c();return a61d=function(d,e){d=d-0xaa;let f=c[d];return f;},a61d(a,b);}const a61b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a61d;if(c){const e=c[o(0xb3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a61a=a61b(this,function(){const p=a61d;return a61a[p(0xb9)]()['search'](p(0xb8))[p(0xb9)]()[p(0xb5)](a61a)[p(0xc1)](p(0xb8));});a61a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';Generator[a61q(0xae)]({'name':'dbc','usage':'maka\x20{generate,\x20g}:{dbc}\x20<connection-name>\x20--type=\x20pgsql\x20|\x20mssql\x20|\x20sqlite','shortDesc':'Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','validOpts':[a61q(0xc8),'dir'],'examples':[a61q(0xc3)]},async function(a,b){const r=a61q;try{const c=await this[r(0xb6)][r(0xad)](),d=this[r(0xb6)][r(0xb0)]({}),f=paramCase(b[r(0xbd)]);if(!b[r(0xc8)]){const h={'type':r(0xda),'name':r(0xcc),'message':r(0xc5),'choices':[{'name':r(0xe0),'value':r(0xc2)},{'name':r(0xab),'value':'mssql'}]},{dbAnswer:i}=await Actions[r(0xc0)](h);i&&(b[r(0xc8)]=i);}const g={'name':pascalCase(b[r(0xbd)]),'fileName':paramCase(b[r(0xbd)]),'camelCase':camelCase(b[r(0xbd)]),'type':b[r(0xc8)],'engine':c[r(0xd0)]['js'],'noRename':!![]};this[r(0xb6)][r(0xd1)](c,async()=>{const s=r;let j='js';c[s(0xd0)]['js']==='tsx'&&(j='ts');const k=[s(0xb2),s(0xc2)];if(k[s(0xd4)](g[s(0xc8)])<0x0){const m=g['type']?g['type']:s(0xcf);Log['error'](s(0xc6)+m+s(0xd5));return;}b[s(0xc8)]===s(0xc2)&&!this[s(0xb6)][s(0xdd)]('pg')&&(Log[s(0xd9)](s(0xbc)),await this[s(0xb6)][s(0xcb)]('pg',{'cwd':d}));b[s(0xc8)]===s(0xb2)&&!this[s(0xb6)][s(0xdd)](s(0xb2))&&(Log[s(0xd9)](s(0xc7)),await this[s(0xb6)][s(0xcb)]('mssql',{'cwd':d}));b['type']==='sqlite'&&!this['fsi']['checkNpmPackage']('better-sqlite3')&&(Log[s(0xd9)](s(0xc9)),await this['fsi'][s(0xcb)]('better-sqlite3',{'cwd':d}));this[s(0xb6)]['template']({'srcPath':'dbc/config.js','destPath':this[s(0xb6)][s(0xb0)]({'pathParts':[s(0xdb),s(0xc4),s(0xca),s(0xce),b['dir'],f,s(0xd7)+j]}),'context':g,'config':c}),this[s(0xb6)][s(0xcd)]({'srcPath':s(0xdf),'destPath':this[s(0xb6)][s(0xb0)]({'pathParts':['imports',s(0xc4),'server',s(0xce),b[s(0xd6)],f,s(0xbb)+j]}),'context':g,'config':c}),this[s(0xb6)][s(0xcd)]({'srcPath':s(0xb4),'destPath':this[s(0xb6)][s(0xb0)]({'pathParts':[s(0xdb),s(0xc4),s(0xca),'register-'+f+s(0xb1)+j]}),'context':g,'config':c});const l=this[s(0xb6)][s(0xb0)]({'pathParts':[s(0xdb),s(0xc4),s(0xca),s(0xd8)+c[s(0xd0)]['js']]});this[s(0xb6)][s(0xdc)]({'filePath':l,'content':'import\x20\x27./register-'+f+s(0xd3)});});}catch(j){Log['error'](j);}});function a61c(){const t=['apply','dbc/register-dbc.js','constructor','fsi','3079064IxXfNM','(((.+)+)+)+$','toString','4066329eHVwGq','conn.','Npm\x20package\x20\x22pg\x22\x20not\x20installed,\x20installing...','resourceName','3927130WuOOme','754642AVHOuu','options','search','pgsql','maka\x20g:dbc\x20geoserver\x20--type=pgsql','startup','DB\x20Driver','Invalid\x20type\x20','Npm\x20package\x20\x22mssql\x22\x20not\x20installed,\x20installing...','type','Npm\x20package\x20\x22better-sqlite3\x22\x20not\x20installed,\x20installing...','server','installNpmPackage','dbAnswer','template','dbc','(blank)','engines','withValue','1693676DqrUcc','-dbc\x27;','indexOf',',\x20you\x20must\x20provide\x20a\x20valid\x20type\x20as\x20an\x20argument','dir','config.','index.','warn','list','imports','injectAtEndOfFile','checkNpmPackage','32200713lNVaGQ','dbc/conn.js','PostgreSQL','9936584RkzmCb','MS\x20SQL','6nfMljg','getProjectConfig','create','2zIpgWH','pathFromApp','-dbc.','mssql'];a61c=function(){return t;};return a61c();}
1
+ function a61c(){const t=['dbc/config.js','type','15ckCtUw','Npm\x20package\x20\x22mssql\x22\x20not\x20installed,\x20installing...','warn','index.','1009614LltqZs','168EdeFlb','Npm\x20package\x20\x22better-sqlite3\x22\x20not\x20installed,\x20installing...','dir','template','engines','error','startup','getProjectConfig','register-','checkNpmPackage','12MCZljS','search','options','mssql','-dbc.','9250404WNguIh','2869960hqQbtU','installNpmPackage','pgsql','Invalid\x20type\x20','maka\x20{generate,\x20g}:{dbc}\x20<connection-name>\x20--type=\x20pgsql\x20|\x20mssql\x20|\x20sqlite','imports','(((.+)+)+)+$','20tGZAbj','constructor','126027ySjzkD','61470bLWvUh','MS\x20SQL','tsx','conn.','Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','179522ggOqTY','Npm\x20package\x20\x22pg\x22\x20not\x20installed,\x20installing...','fsi','pathFromApp','DB\x20Driver','apply','PostgreSQL','-dbc\x27;','server',',\x20you\x20must\x20provide\x20a\x20valid\x20type\x20as\x20an\x20argument','dbc/register-dbc.js','list','import\x20\x27./register-','sqlite','resourceName','360890wdXXSm','maka\x20g:dbc\x20geoserver\x20--type=pgsql','create','indexOf','injectAtEndOfFile','dbc/conn.js','22ltsDkV'];a61c=function(){return t;};return a61c();}function a61d(a,b){const c=a61c();return a61d=function(d,e){d=d-0x146;let f=c[d];return f;},a61d(a,b);}const a61q=a61d;(function(a,b){const n=a61d,c=a();while(!![]){try{const d=-parseInt(n(0x172))/0x1*(-parseInt(n(0x155))/0x2)+parseInt(n(0x176))/0x3+-parseInt(n(0x152))/0x4*(-parseInt(n(0x169))/0x5)+parseInt(n(0x181))/0x6*(parseInt(n(0x15a))/0x7)+-parseInt(n(0x177))/0x8*(-parseInt(n(0x154))/0x9)+parseInt(n(0x14b))/0xa+parseInt(n(0x16f))/0xb*(-parseInt(n(0x14a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a61c,0x3ccee));const a61b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a61d;if(c){const e=c[o(0x15f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a61a=a61b(this,function(){const p=a61d;return a61a['toString']()['search'](p(0x151))['toString']()[p(0x153)](a61a)[p(0x146)](p(0x151));});a61a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';Generator[a61q(0x16b)]({'name':'dbc','usage':a61q(0x14f),'shortDesc':a61q(0x159),'validOpts':['type',a61q(0x179)],'examples':[a61q(0x16a)]},async function(a,b){const r=a61q;try{const c=await this['fsi'][r(0x17e)](),d=this[r(0x15c)]['pathFromApp']({}),f=paramCase(b[r(0x168)]);if(!b[r(0x171)]){const h={'type':r(0x165),'name':'dbAnswer','message':r(0x15e),'choices':[{'name':r(0x160),'value':r(0x14d)},{'name':r(0x156),'value':'mssql'}]},{dbAnswer:i}=await Actions[r(0x147)](h);i&&(b[r(0x171)]=i);}const g={'name':pascalCase(b['resourceName']),'fileName':paramCase(b['resourceName']),'camelCase':camelCase(b['resourceName']),'type':b[r(0x171)],'engine':c[r(0x17b)]['js'],'noRename':!![]};this[r(0x15c)]['withValue'](c,async()=>{const s=r;let j='js';c['engines']['js']===s(0x157)&&(j='ts');const k=[s(0x148),s(0x14d)];if(k[s(0x16c)](g[s(0x171)])<0x0){const m=g[s(0x171)]?g['type']:'(blank)';Log['error'](s(0x14e)+m+s(0x163));return;}b[s(0x171)]==='pgsql'&&!this[s(0x15c)][s(0x180)]('pg')&&(Log[s(0x174)](s(0x15b)),await this[s(0x15c)][s(0x14c)]('pg',{'cwd':d}));b[s(0x171)]===s(0x148)&&!this[s(0x15c)][s(0x180)](s(0x148))&&(Log['warn'](s(0x173)),await this[s(0x15c)][s(0x14c)](s(0x148),{'cwd':d}));b[s(0x171)]===s(0x167)&&!this[s(0x15c)][s(0x180)]('better-sqlite3')&&(Log['warn'](s(0x178)),await this[s(0x15c)]['installNpmPackage']('better-sqlite3',{'cwd':d}));this[s(0x15c)][s(0x17a)]({'srcPath':s(0x170),'destPath':this[s(0x15c)][s(0x15d)]({'pathParts':[s(0x150),s(0x17d),s(0x162),'dbc',b[s(0x179)],f,'config.'+j]}),'context':g,'config':c}),this[s(0x15c)][s(0x17a)]({'srcPath':s(0x16e),'destPath':this[s(0x15c)][s(0x15d)]({'pathParts':['imports',s(0x17d),s(0x162),'dbc',b[s(0x179)],f,s(0x158)+j]}),'context':g,'config':c}),this[s(0x15c)][s(0x17a)]({'srcPath':s(0x164),'destPath':this['fsi'][s(0x15d)]({'pathParts':[s(0x150),s(0x17d),s(0x162),s(0x17f)+f+s(0x149)+j]}),'context':g,'config':c});const l=this[s(0x15c)][s(0x15d)]({'pathParts':[s(0x150),s(0x17d),s(0x162),s(0x175)+c['engines']['js']]});this[s(0x15c)][s(0x16d)]({'filePath':l,'content':s(0x166)+f+s(0x161)});});}catch(j){Log[r(0x17c)](j);}});
@@ -1 +1 @@
1
- const a62i=a62d;(function(a,b){const f=a62d,c=a();while(!![]){try{const d=parseInt(f(0x116))/0x1*(-parseInt(f(0x111))/0x2)+parseInt(f(0x112))/0x3*(-parseInt(f(0x12d))/0x4)+parseInt(f(0x119))/0x5+parseInt(f(0x11d))/0x6*(-parseInt(f(0x115))/0x7)+parseInt(f(0x110))/0x8*(-parseInt(f(0x11f))/0x9)+parseInt(f(0x11e))/0xa+parseInt(f(0x129))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a62c,0x722ec));const a62b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a62d;if(c){const e=c[g(0x10e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a62a=a62b(this,function(){const h=a62d;return a62a[h(0x10d)]()[h(0x126)](h(0x117))[h(0x10d)]()[h(0x124)](a62a)[h(0x126)]('(((.+)+)+)+$');});function a62d(a,b){const c=a62c();return a62d=function(d,e){d=d-0x10d;let f=c[d];return f;},a62d(a,b);}a62a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a62e from'path';function a62c(){const l=['withValue','app.tar.gz','constructor','fsi','search','maka\x20{generate,\x20g}:dockerfile','template','6212855TarUzL','Generate\x20an\x20updated\x20dockerfile','docker/Dockerfile','getProjectConfig','708220fQeMZd','toString','apply','dockerfile','49568brOyyM','504wwuLNS','3IedXGz','getGlobalConfig','error','378jfhhuN','3044NJYaKv','(((.+)+)+)+$','isFile','3704905wdyBLW','Dockerfile','maka\x20g:dockerfile','app','20052qZAIJj','8751370lSBjkX','855yTOwDq','join','appName'];a62c=function(){return l;};return a62c();}Generator['create']({'name':a62i(0x10f),'usage':a62i(0x127),'shortDesc':a62i(0x12a),'validOpts':[],'noResource':!![],'examples':[a62i(0x11b)]},async function(){const j=a62i;try{const a=await this[j(0x125)][j(0x12c)](),b=await this[j(0x125)][j(0x113)](),c=this[j(0x125)]['findProjectDirectory']();this[j(0x125)][j(0x122)](a,async()=>{const k=j,d={'app':b[k(0x121)],'config':a,'appPath':a62e[k(0x120)](c,k(0x11c)),'bundlePath':a62e[k(0x120)](c,'build',k(0x123)),'useCert':this[k(0x125)][k(0x118)](b['cert'])};this['fsi'][k(0x128)]({'srcPath':k(0x12b),'destPath':a62e['join'](c,k(0x11a)),'framework':'service','context':d,'config':a});});}catch(d){Log[j(0x114)](d);}});
1
+ const a62i=a62d;function a62d(a,b){const c=a62c();return a62d=function(d,e){d=d-0x99;let f=c[d];return f;},a62d(a,b);}(function(a,b){const f=a62d,c=a();while(!![]){try{const d=-parseInt(f(0x9a))/0x1+-parseInt(f(0xb6))/0x2+-parseInt(f(0xb2))/0x3+-parseInt(f(0xa8))/0x4+-parseInt(f(0xab))/0x5*(parseInt(f(0xa7))/0x6)+parseInt(f(0xb3))/0x7*(-parseInt(f(0xac))/0x8)+parseInt(f(0x9b))/0x9*(parseInt(f(0x9f))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a62c,0x5d21e));const a62b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a62d;if(c){const e=c[g(0x9c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a62a=a62b(this,function(){const h=a62d;return a62a[h(0xad)]()['search'](h(0xaa))[h(0xad)]()[h(0x99)](a62a)[h(0xa9)](h(0xaa));});a62a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a62e from'path';Generator['create']({'name':a62i(0xa2),'usage':a62i(0xa5),'shortDesc':a62i(0xa0),'validOpts':[],'noResource':!![],'examples':[a62i(0xa4)]},async function(){const j=a62i;try{const a=await this['fsi'][j(0xb0)](),b=await this['fsi']['getGlobalConfig'](),c=this[j(0xb5)][j(0xb4)]();this[j(0xb5)][j(0xaf)](a,async()=>{const k=j,d={'app':b['appName'],'config':a,'appPath':a62e[k(0xa6)](c,k(0xae)),'bundlePath':a62e['join'](c,'build',k(0x9e)),'useCert':this[k(0xb5)][k(0xb1)](b[k(0xb7)])};this[k(0xb5)][k(0xa1)]({'srcPath':k(0xb8),'destPath':a62e[k(0xa6)](c,k(0x9d)),'framework':k(0xa3),'context':d,'config':a});});}catch(d){Log['error'](d);}});function a62c(){const l=['1172400jycLTr','cert','docker/Dockerfile','constructor','204967kfJQjA','23537205gcDupH','apply','Dockerfile','app.tar.gz','10NuJyMF','Generate\x20an\x20updated\x20dockerfile','template','dockerfile','service','maka\x20g:dockerfile','maka\x20{generate,\x20g}:dockerfile','join','978rgRQdX','318452pHSpWw','search','(((.+)+)+)+$','12405ONERnw','1062888WImtiN','toString','app','withValue','getProjectConfig','isFile','882861tZTdnF','35HsypSq','findProjectDirectory','fsi'];a62c=function(){return l;};return a62c();}
@@ -1 +1 @@
1
- function a63c(){const u=['56948rLXvxU','features','cssCaseName','checkNpmPackage','template','\x20}\x20from\x20\x27','injectAtBeginningOfFile','(((.+)+)+)+$','import\x20\x27./','string','withTranslations','client','1342496WBVOkm','theme','lib','\x20};\x0a','setTemplate','6353336YXgtAn','apollo','pathFromApp','export\x20{\x20','installNpmPackage','/imports/ui/hooks','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','toString','imports','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','.css','template/template.css','tsx','test/test.js','hook','.app-tests.js','relative','true','assign','1330063bHEGLg','.js','search','className','15vmDXrI','\x27;\x0a','graphql','16050465uvfhBj','pathFromProject','injectAtEndOfFile','templates.js','apply','dir','resourceName','129izLHyP','getProjectConfig','css','fsi','997842tVLIhS','import\x20\x27','@apollo/client','rewriteDestinationPathForEngine','test','fileName','react','engines','none','warn','error','899548oqesYL','import\x20{\x20','maka\x20g:hook\x20cool-hook','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','@apollo/client\x20isomorphic-fetch','startup'];a63c=function(){return u;};return a63c();}const a63r=a63d;(function(a,b){const o=a63d,c=a();while(!![]){try{const d=-parseInt(o(0xdf))/0x1+parseInt(o(0xf1))/0x2+parseInt(o(0xd0))/0x3*(-parseInt(o(0xe5))/0x4)+-parseInt(o(0x10d))/0x5*(-parseInt(o(0xd4))/0x6)+-parseInt(o(0x109))/0x7+-parseInt(o(0xf6))/0x8+parseInt(o(0xc9))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a63c,0x6fba7));const a63b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a63d;if(c){const e=c[p(0xcd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a63a=a63b(this,function(){const q=a63d;return a63a['toString']()[q(0x10b)](q(0xec))[q(0xfd)]()['constructor'](a63a)['search'](q(0xec));});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-0xc7;let f=c[d];return f;},a63d(a,b);}import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Generator['create']({'name':a63r(0x104),'aliases':['h'],'checkWhere':![],'usage':a63r(0xfc),'shortDesc':'Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','validOpts':[a63r(0xce)],'examples':[a63r(0xe1)]},async function(a,b){const s=a63r;try{const c=this[s(0xd3)][s(0xe8)]('react');if(!c){Log[s(0xde)](s(0xff));throw new UsageError();}const d=this[s(0xd3)][s(0xf8)](b),f=s(0xfb),g=this[s(0xd3)][s(0xf8)]({'pathParts':[f,b[s(0xce)],paramCase(b['resourceName']),paramCase(b['resourceName'])]}),h=await this[s(0xd3)][s(0xd1)]();this[s(0xd3)]['withValue'](h,async()=>{const t=s;typeof h['template']['css']===t(0xee)&&(h[t(0xe9)][t(0xd2)]=h[t(0xe9)][t(0xd2)]===t(0x107)?!![]:![],this[t(0xd3)][t(0xf5)](t(0xd2),h[t(0xe9)][t(0xd2)]));h[t(0xdb)][t(0xc8)]===t(0xf7)&&!this[t(0xe8)](t(0xd6))&&(Log[t(0xdd)](t(0xe2)),await this[t(0xd3)][t(0xfa)](t(0xe3),{'cwd':d}));const i={'cssCaseName':paramCase(b[t(0xcf)]),'className':pascalCase(b[t(0xcf)]),'name':pascalCase(b[t(0xcf)]),'graphql':h[t(0xdb)][t(0xc8)],'theme':h[t(0xdb)][t(0xf2)],'features':h[t(0xe6)],'myPath':a63e[t(0x106)](this[t(0xd3)][t(0xca)]({}),g),'fileName':paramCase(b['resourceName']),'isComponent':![],'isLayout':![],'withTranslations':h[t(0xe6)][t(0xef)]};this[t(0xd3)]['template']({'srcPath':'hook/hook.js','destPath':g+t(0x10a),'context':i,'config':h,'framework':'react'});h['template']['css']&&(this[t(0xd3)][t(0xe9)]({'srcPath':t(0x101),'destPath':g+t(0x100),'context':Object[t(0x108)]({},i,{'className':i[t(0xe7)]}),'config':h}),this[t(0xd3)][t(0xeb)]({'filePath':g+'.'+h[t(0xdb)]['js'],'content':t(0xed)+i[t(0xd9)]+'.'+h[t(0xdb)][t(0xd2)]+'\x27;'}));h[t(0xdb)][t(0xd8)]!==t(0xdc)&&this['fsi']['template']({'srcPath':t(0x103),'destPath':g+t(0x105),'framework':t(0xda),'context':i,'config':h});const j=b['dir']?'/'+b[t(0xce)]+'/':'/',k=''+f+j+i[t(0xd9)]+'/'+i[t(0xd9)];let l;if(h['engines']['ssr']===t(0x107)){const m=this[t(0xd3)]['pathFromApp']({'pathParts':['imports','startup',t(0xf3),t(0xcc)]});l=this[t(0xd3)][t(0xd7)]({'pathParts':[m],'config':h});}else{const n=this[t(0xd3)][t(0xf8)]({'pathParts':[t(0xfe),t(0xe4),t(0xf0),t(0xcc)]});l=this[t(0xd3)]['rewriteDestinationPathForEngine']({'pathParts':[n],'config':h});}h[t(0xdb)][t(0xf0)]==='react'?(h[t(0xdb)]['js']===t(0x102)?this[t(0xd3)][t(0xeb)]({'filePath':l,'content':t(0xe0)+i[t(0x10c)]+'\x20}\x20from\x20\x27'+k+t(0xc7)}):this['fsi'][t(0xeb)]({'filePath':l,'content':'import\x20{\x20'+i[t(0x10c)]+t(0xea)+k+'.'+h['engines']['js']+t(0xc7)}),this[t(0xd3)][t(0xcb)]({'filePath':l,'content':t(0xf9)+i[t(0x10c)]+t(0xf4)})):this[t(0xd3)][t(0xcb)]({'filePath':l,'content':t(0xd5)+k+'.'+h[t(0xdb)]['js']+t(0xc7)});});}catch(i){Log['error'](i);}});
1
+ const a63r=a63d;(function(a,b){const o=a63d,c=a();while(!![]){try{const d=parseInt(o(0x17c))/0x1+-parseInt(o(0x1ad))/0x2+parseInt(o(0x188))/0x3*(-parseInt(o(0x175))/0x4)+parseInt(o(0x19b))/0x5+parseInt(o(0x172))/0x6+parseInt(o(0x1a6))/0x7+-parseInt(o(0x184))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a63c,0x6b57d));const a63b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a63d;if(c){const e=c[p(0x187)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a63a=a63b(this,function(){const q=a63d;return a63a[q(0x198)]()[q(0x18d)]('(((.+)+)+)+$')[q(0x198)]()['constructor'](a63a)[q(0x18d)](q(0x18f));});function a63c(){const u=['Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','resourceName','injectAtEndOfFile','imports','pathFromApp','548659ErSwqJ','assign','string','features','@apollo/client\x20isomorphic-fetch','error','\x20}\x20from\x20\x27','lib','7377168FUXpdS','true','ssr','apply','3LmwlcI','fileName','\x27;\x0a','none','import\x20\x27./','search','maka\x20g:hook\x20cool-hook','(((.+)+)+)+$','.js','engines','warn','template/template.css','export\x20{\x20','theme','/imports/ui/hooks','css','toString','@apollo/client','hook/hook.js','1730385UwQZKX','className','import\x20{\x20','injectAtBeginningOfFile','rewriteDestinationPathForEngine','graphql','relative','startup','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','cssCaseName','withTranslations','5518492BRVHiH','hook','react','\x20};\x0a','client','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','dir','494642sFjGzn','templates.js','import\x20\x27','fsi','template','withValue','checkNpmPackage','2182620fDLXcb','test/test.js','apollo','1750872orbyLC','setTemplate'];a63c=function(){return u;};return a63c();}a63a();function a63d(a,b){const c=a63c();return a63d=function(d,e){d=d-0x171;let f=c[d];return f;},a63d(a,b);}import a63e from'path';import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Generator['create']({'name':a63r(0x1a7),'aliases':['h'],'checkWhere':![],'usage':a63r(0x1ab),'shortDesc':a63r(0x177),'validOpts':[a63r(0x1ac)],'examples':[a63r(0x18e)]},async function(a,b){const s=a63r;try{const c=this['fsi'][s(0x171)]('react');if(!c){Log[s(0x181)]('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');throw new UsageError();}const d=this[s(0x1b0)][s(0x17b)](b),f=s(0x196),g=this[s(0x1b0)][s(0x17b)]({'pathParts':[f,b['dir'],paramCase(b[s(0x178)]),paramCase(b['resourceName'])]}),h=await this[s(0x1b0)]['getProjectConfig']();this[s(0x1b0)][s(0x1b2)](h,async()=>{const t=s;typeof h[t(0x1b1)]['css']===t(0x17e)&&(h[t(0x1b1)]['css']=h[t(0x1b1)][t(0x197)]===t(0x185)?!![]:![],this[t(0x1b0)][t(0x176)](t(0x197),h[t(0x1b1)][t(0x197)]));h[t(0x191)][t(0x1a0)]===t(0x174)&&!this[t(0x171)](t(0x199))&&(Log[t(0x192)](t(0x1a3)),await this['fsi']['installNpmPackage'](t(0x180),{'cwd':d}));const i={'cssCaseName':paramCase(b[t(0x178)]),'className':pascalCase(b[t(0x178)]),'name':pascalCase(b['resourceName']),'graphql':h[t(0x191)][t(0x1a0)],'theme':h[t(0x191)][t(0x195)],'features':h['features'],'myPath':a63e[t(0x1a1)](this['fsi']['pathFromProject']({}),g),'fileName':paramCase(b['resourceName']),'isComponent':![],'isLayout':![],'withTranslations':h[t(0x17f)][t(0x1a5)]};this['fsi'][t(0x1b1)]({'srcPath':t(0x19a),'destPath':g+t(0x190),'context':i,'config':h,'framework':t(0x1a8)});h[t(0x1b1)][t(0x197)]&&(this[t(0x1b0)][t(0x1b1)]({'srcPath':t(0x193),'destPath':g+'.css','context':Object[t(0x17d)]({},i,{'className':i[t(0x1a4)]}),'config':h}),this['fsi']['injectAtBeginningOfFile']({'filePath':g+'.'+h[t(0x191)]['js'],'content':t(0x18c)+i[t(0x189)]+'.'+h[t(0x191)][t(0x197)]+'\x27;'}));h[t(0x191)]['test']!==t(0x18b)&&this['fsi'][t(0x1b1)]({'srcPath':t(0x173),'destPath':g+'.app-tests.js','framework':t(0x1a8),'context':i,'config':h});const j=b[t(0x1ac)]?'/'+b['dir']+'/':'/',k=''+f+j+i[t(0x189)]+'/'+i[t(0x189)];let l;if(h[t(0x191)][t(0x186)]===t(0x185)){const m=this['fsi'][t(0x17b)]({'pathParts':['imports',t(0x1a2),t(0x183),t(0x1ae)]});l=this[t(0x1b0)][t(0x19f)]({'pathParts':[m],'config':h});}else{const n=this[t(0x1b0)][t(0x17b)]({'pathParts':[t(0x17a),t(0x1a2),t(0x1aa),t(0x1ae)]});l=this[t(0x1b0)]['rewriteDestinationPathForEngine']({'pathParts':[n],'config':h});}h[t(0x191)]['client']===t(0x1a8)?(h[t(0x191)]['js']==='tsx'?this[t(0x1b0)][t(0x19e)]({'filePath':l,'content':t(0x19d)+i[t(0x19c)]+'\x20}\x20from\x20\x27'+k+'\x27;\x0a'}):this[t(0x1b0)]['injectAtBeginningOfFile']({'filePath':l,'content':t(0x19d)+i[t(0x19c)]+t(0x182)+k+'.'+h[t(0x191)]['js']+t(0x18a)}),this['fsi']['injectAtEndOfFile']({'filePath':l,'content':t(0x194)+i[t(0x19c)]+t(0x1a9)})):this[t(0x1b0)][t(0x179)]({'filePath':l,'content':t(0x1af)+k+'.'+h[t(0x191)]['js']+t(0x18a)});});}catch(i){Log[s(0x181)](i);}});
@@ -1 +1 @@
1
- function a64d(a,b){const c=a64c();return a64d=function(d,e){d=d-0xb9;let f=c[d];return f;},a64d(a,b);}const a64j=a64d;function a64c(){const m=['401223JRZQWb','maka\x20g:kit\x20--type=map','map','24059lYHyeE','indexOf','3936670grSQdi','(Placeholder)\x20Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','engines','maka\x20{generate,\x20g}:{kit}\x20<kit-name>\x20--type=map','324tdVhqz','4016292VKOFub','search','1497798OVRwjx','NIE','kit','11noWLVg','10125864SBCRdI','(blank)','create','notice','4969995XqKwJy',',\x20you\x20must\x20provide\x20a\x20valid\x20type\x20as\x20an\x20argument','login','error','resourceName','toString','withValue','type','8TINckj','4ScxOVw','Invalid\x20type\x20','fsi','3sEjwKN','(((.+)+)+)+$'];a64c=function(){return m;};return a64c();}(function(a,b){const h=a64d,c=a();while(!![]){try{const d=parseInt(h(0xd0))/0x1*(-parseInt(h(0xcb))/0x2)+-parseInt(h(0xce))/0x3*(-parseInt(h(0xda))/0x4)+parseInt(h(0xc2))/0x5+parseInt(h(0xd9))/0x6*(parseInt(h(0xd3))/0x7)+-parseInt(h(0xca))/0x8*(parseInt(h(0xba))/0x9)+-parseInt(h(0xd5))/0xa*(-parseInt(h(0xbd))/0xb)+-parseInt(h(0xbe))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a64c,0xbaae7));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(0xc7)]()[i(0xb9)](i(0xcf))[i(0xc7)]()['constructor'](a64a)['search'](i(0xcf));});a64a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a64j(0xc0)]({'name':a64j(0xbc),'aliases':['k'],'usage':a64j(0xd8),'shortDesc':a64j(0xd6),'validOpts':['type'],'examples':[a64j(0xd1),'maka\x20g:k\x20city-map\x20--type=leaflet-map']},async function(a,b){const k=a64j;try{const c=this[k(0xcd)]['getProjectConfig']();this[k(0xcd)][k(0xc8)](c,async()=>{const l=k,d={'name':pascalCase(b[l(0xc6)]),'fileName':paramCase(b[l(0xc6)]),'camelCase':camelCase(b['resourceName']),'type':b[l(0xc9)],'engine':c[l(0xd7)]['js'],'noRename':!![]},f=['leaflet-map',l(0xc4)];if(f[l(0xd4)](d[l(0xc9)])<0x0){const g=d[l(0xc9)]?d[l(0xc9)]:l(0xbf);Log['error'](l(0xcc)+g+l(0xc3));return;}b[l(0xc9)]===l(0xd2)&&Log['notice'](l(0xbb)),b[l(0xc9)]===l(0xc4)&&Log[l(0xc1)](l(0xbb));});}catch(d){Log[k(0xc5)](d);}});
1
+ function a64d(a,b){const c=a64c();return a64d=function(d,e){d=d-0x78;let f=c[d];return f;},a64d(a,b);}const a64k=a64d;(function(a,b){const h=a64d,c=a();while(!![]){try{const d=parseInt(h(0x91))/0x1+-parseInt(h(0x80))/0x2+parseInt(h(0x7b))/0x3*(parseInt(h(0x89))/0x4)+-parseInt(h(0x8b))/0x5*(-parseInt(h(0x93))/0x6)+parseInt(h(0x82))/0x7+parseInt(h(0x8c))/0x8*(parseInt(h(0x79))/0x9)+-parseInt(h(0x90))/0xa*(parseInt(h(0x95))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a64c,0x1c335));const a64b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a64d;if(c){const e=c[i(0x8d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a64a=a64b(this,function(){const j=a64d;return a64a[j(0x7e)]()[j(0x8f)](j(0x8e))[j(0x7e)]()[j(0x96)](a64a)[j(0x8f)](j(0x8e));});a64a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator['create']({'name':a64k(0x98),'aliases':['k'],'usage':a64k(0x7d),'shortDesc':'(Placeholder)\x20Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','validOpts':[a64k(0x94)],'examples':['maka\x20g:kit\x20--type=map',a64k(0x78)]},async function(a,b){const l=a64k;try{const c=this[l(0x7c)]['getProjectConfig']();this[l(0x7c)][l(0x7f)](c,async()=>{const m=l,d={'name':pascalCase(b[m(0x86)]),'fileName':paramCase(b[m(0x86)]),'camelCase':camelCase(b[m(0x86)]),'type':b[m(0x94)],'engine':c[m(0x8a)]['js'],'noRename':!![]},f=['leaflet-map','login'];if(f[m(0x97)](d[m(0x94)])<0x0){const g=d[m(0x94)]?d[m(0x94)]:m(0x85);Log[m(0x7a)](m(0x92)+g+m(0x81));return;}b[m(0x94)]===m(0x88)&&Log[m(0x87)](m(0x83)),b[m(0x94)]===m(0x84)&&Log['notice'](m(0x83));});}catch(d){Log[l(0x7a)](d);}});function a64c(){const n=['153sJrPnX','error','63ecoGPM','fsi','maka\x20{generate,\x20g}:{kit}\x20<kit-name>\x20--type=map','toString','withValue','216344ZQqZwr',',\x20you\x20must\x20provide\x20a\x20valid\x20type\x20as\x20an\x20argument','772359OVFOFL','NIE','login','(blank)','resourceName','notice','map','9432MCPhcB','engines','122495kLQbZO','108232LGuEwy','apply','(((.+)+)+)+$','search','76870shZMiu','184559bsTerP','Invalid\x20type\x20','12uhoVQu','type','572wrRMWL','constructor','indexOf','kit','maka\x20g:k\x20city-map\x20--type=leaflet-map'];a64c=function(){return n;};return a64c();}
@@ -1 +1 @@
1
- const a65r=a65d;(function(a,b){const o=a65d,c=a();while(!![]){try{const d=parseInt(o(0x1bd))/0x1+parseInt(o(0x197))/0x2*(parseInt(o(0x1b3))/0x3)+-parseInt(o(0x1b0))/0x4+-parseInt(o(0x1ca))/0x5*(-parseInt(o(0x19f))/0x6)+parseInt(o(0x1c6))/0x7+-parseInt(o(0x19c))/0x8*(parseInt(o(0x1c2))/0x9)+-parseInt(o(0x192))/0xa*(parseInt(o(0x189))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a65c,0xe78eb));const a65b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a65d;if(c){const e=c[p(0x1be)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a65a=a65b(this,function(){const q=a65d;return a65a[q(0x1ab)]()[q(0x188)]('(((.+)+)+)+$')[q(0x1ab)]()['constructor'](a65a)['search'](q(0x1a6));});a65a();import a65e from'path';import{Generator}from'../generator.js';function a65c(){const u=['ssr','layout','checkNpmPackage','none','(((.+)+)+)+$','injectAtBeginningOfFile','imports','warn','test','toString','split','includes','withHooks','rewriteDestinationPathForEngine','1744080oTiWeI','.app-tests.js','withTranslations','15KlvMAM','\x27;\x0a','maka\x20g:l\x20web/safari','create','.js','import\x20\x27','fsi','engines','getProjectConfig','client','733713rXyiUM','apply','findAppDirectory','className','tsx','5028084IvSJiY','assign','maka\x20g:layout\x20mobile/iPhone8','features','567637iOIRyB','string','installNpmPackage','hook/hook.js','45vpJbvX','startup','ramda','api','withHook','dir','search','11iHRxdx','.css','injectAtEndOfFile','graphql','lib','\x20};\x0a','fileName','react','export\x20{\x20','1468720HYdlLz','templates.js','true','withValue','import\x20{\x20','715304PMJegu','relative','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','setTemplate','template','16FFhXwn','\x20}\x20from\x20\x27','css','30426iCSiif','resourceName','/imports/ui/layouts'];a65c=function(){return u;};return a65c();}import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';function a65d(a,b){const c=a65c();return a65d=function(d,e){d=d-0x187;let f=c[d];return f;},a65d(a,b);}const aliases=['l'];Generator[a65r(0x1b6)]({'name':a65r(0x1a3),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','shortDesc':'Scaffolding\x20for\x20a\x20React\x20Layout.','validOpts':[],'examples':[a65r(0x1c4),a65r(0x1b5)]},function(a,b){const s=a65r,c=s(0x1a1),d=this[s(0x1b9)][s(0x1bf)](),e=this['fsi']['pathFromApp']({'pathParts':[c,b[s(0x187)],paramCase(b[s(0x1a0)]),paramCase(b[s(0x1a0)])]}),f=this[s(0x1b9)][s(0x1bb)]();this[s(0x1b9)][s(0x195)](f,()=>{const t=s;typeof f['template'][t(0x1aa)]==='string'&&(f[t(0x19b)]['test']=f[t(0x19b)][t(0x1aa)]===t(0x194)?!![]:![],this[t(0x1b9)][t(0x19a)]('test',f[t(0x19b)][t(0x1aa)]));typeof f[t(0x19b)][t(0x19e)]===t(0x1c7)&&(f[t(0x19b)][t(0x19e)]=f[t(0x19b)][t(0x19e)]===t(0x194)?!![]:![],this[t(0x1b9)][t(0x19a)](t(0x19e),f[t(0x19b)][t(0x19e)]));typeof f['template']['js']===t(0x1c7)&&(f[t(0x19b)]['js']=f[t(0x19b)]['js']==='true'?!![]:![],this[t(0x1b9)]['setTemplate']('js',f['template']['js']));!f[t(0x1c5)]&&(f['features']={});const g=b['_']?b['_'][0x0][t(0x1ac)](':')[0x1]:![],h=b['_']&&aliases[t(0x1ad)](g);h&&!this[t(0x1a4)](t(0x1cc))&&(Log[t(0x1a9)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),this[t(0x1b9)][t(0x1c8)]('ramda',{'cwd':d}));if(h&&!this['checkNpmPackage'](t(0x190))){Log[t(0x1a9)](t(0x199));return;}const i={'name':pascalCase(b['resourceName']),'myPath':a65e[t(0x198)](this['fsi']['pathFromProject']({}),e),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[t(0x1a0)]),'camelCaseName':camelCase(b[t(0x1a0)]),'fileName':paramCase(b[t(0x1a0)]),'graphql':f[t(0x1ba)][t(0x18c)],'features':f['features'],'client':f[t(0x1ba)][t(0x1bc)],'api':f[t(0x1ba)][t(0x1cd)],'ssr':f[t(0x1ba)][t(0x1a2)],'test':f[t(0x1ba)][t(0x1aa)],'theme':f[t(0x1ba)]['theme'],'isComponent':![],'isLayout':!![],'withTranslations':f[t(0x1c5)][t(0x1b2)]};f['features']?.[t(0x1ae)]||b[t(0x1ce)]?this[t(0x1b9)][t(0x19b)]({'srcPath':t(0x1c9),'destPath':e+t(0x1b7),'framework':t(0x190),'context':i,'config':f}):this[t(0x1b9)]['template']({'srcPath':'component/component.js','destPath':e+t(0x1b7),'framework':t(0x190),'context':i,'config':f});f[t(0x1ba)][t(0x1aa)]!==t(0x1a5)&&this[t(0x1b9)][t(0x19b)]({'srcPath':'test/test.js','destPath':e+t(0x1b1),'framework':t(0x190),'context':i,'config':f});f[t(0x19b)][t(0x19e)]&&(this[t(0x1b9)][t(0x19b)]({'srcPath':'template/template.css','destPath':e+t(0x18a),'context':Object[t(0x1c3)]({},i,{'className':paramCase(b['resourceName'])}),'config':f}),this['fsi'][t(0x1a7)]({'filePath':e+'.'+f[t(0x1ba)]['js'],'content':'import\x20\x27./'+i[t(0x18f)]+'.'+f[t(0x1ba)]['css']+'\x27;'}));const j=b[t(0x187)]?'/'+b[t(0x187)]+'/':'/',k=''+c+j+i[t(0x18f)]+'/'+i[t(0x18f)];let l;if(f['engines']['ssr']===t(0x194)){const m=this[t(0x1b9)]['pathFromApp']({'pathParts':[t(0x1a8),t(0x1cb),t(0x18d),t(0x193)]});l=this[t(0x1b9)][t(0x1af)]({'pathParts':[m],'config':f});}else{const n=this[t(0x1b9)]['pathFromApp']({'pathParts':[t(0x1a8),t(0x1cb),t(0x1bc),t(0x193)]});l=this[t(0x1b9)][t(0x1af)]({'pathParts':[n],'config':f});}f[t(0x1ba)]['client']==='react'?(f[t(0x1ba)]['js']===t(0x1c1)?this[t(0x1b9)][t(0x1a7)]({'filePath':l,'content':t(0x196)+i['className']+'\x20}\x20from\x20\x27'+k+t(0x1b4)}):this[t(0x1b9)][t(0x1a7)]({'filePath':l,'content':t(0x196)+i[t(0x1c0)]+t(0x19d)+k+'.'+f[t(0x1ba)]['js']+'\x27;\x0a'}),this[t(0x1b9)]['injectAtEndOfFile']({'filePath':l,'content':t(0x191)+i[t(0x1c0)]+t(0x18e)})):this[t(0x1b9)][t(0x18b)]({'filePath':l,'content':t(0x1b8)+k+'.'+f[t(0x1ba)]['js']+t(0x1b4)});});});
1
+ const a65q=a65d;(function(a,b){const o=a65d,c=a();while(!![]){try{const d=-parseInt(o(0xf2))/0x1+parseInt(o(0xf9))/0x2+parseInt(o(0x101))/0x3+-parseInt(o(0x100))/0x4+parseInt(o(0xc0))/0x5*(parseInt(o(0xe8))/0x6)+parseInt(o(0xea))/0x7+parseInt(o(0xd2))/0x8*(-parseInt(o(0xcd))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a65c,0x9ca96));const a65b=(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;};}()),a65a=a65b(this,function(){const p=a65d;return a65a['toString']()[p(0xc2)](p(0xfd))[p(0xd5)]()[p(0xc8)](a65a)[p(0xc2)](p(0xfd));});a65a();import a65e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a65d(a,b){const c=a65c();return a65d=function(d,e){d=d-0xbd;let f=c[d];return f;},a65d(a,b);}function a65c(){const t=['hook/hook.js','3935640lCahIc','1556850RpLFwJ','checkNpmPackage','test/test.js','none','import\x20{\x20','react','className','Scaffolding\x20for\x20a\x20React\x20Layout.','findAppDirectory','5032715ensaJh','string','search','injectAtEndOfFile','getProjectConfig','.js','client','engines','constructor','true','resourceName','ssr','imports','20457ngQtoT','api','fileName','installNpmPackage','component/component.js','3504zVcdna','injectAtBeginningOfFile','/imports/ui/layouts','toString','pathFromProject','includes','create','templates.js','relative','withTranslations','.app-tests.js','template/template.css','dir','withHook','layout','pathFromApp','tsx','ramda','rewriteDestinationPathForEngine','export\x20{\x20','css','fsi','6Wuzuzv','setTemplate','6499941GbyQkS','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','import\x20\x27','assign','features','test','withValue','288668NHPTPp','split','template','import\x20\x27./','theme','lib','\x20}\x20from\x20\x27','911564nlLfag','maka\x20g:l\x20web/safari','\x27;\x0a','startup','(((.+)+)+)+$','\x20};\x0a'];a65c=function(){return t;};return a65c();}import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator[a65q(0xd8)]({'name':a65q(0xe0),'aliases':aliases,'usage':a65q(0xec),'shortDesc':a65q(0xbe),'validOpts':[],'examples':['maka\x20g:layout\x20mobile/iPhone8',a65q(0xfa)]},function(a,b){const r=a65q,c=r(0xd4),d=this[r(0xe7)][r(0xbf)](),e=this[r(0xe7)][r(0xe1)]({'pathParts':[c,b[r(0xde)],paramCase(b[r(0xca)]),paramCase(b[r(0xca)])]}),f=this[r(0xe7)][r(0xc4)]();this[r(0xe7)][r(0xf1)](f,()=>{const s=r;typeof f['template'][s(0xf0)]===s(0xc1)&&(f[s(0xf4)][s(0xf0)]=f[s(0xf4)]['test']==='true'?!![]:![],this[s(0xe7)][s(0xe9)](s(0xf0),f[s(0xf4)][s(0xf0)]));typeof f[s(0xf4)][s(0xe6)]===s(0xc1)&&(f[s(0xf4)]['css']=f['template'][s(0xe6)]===s(0xc9)?!![]:![],this[s(0xe7)][s(0xe9)](s(0xe6),f['template']['css']));typeof f[s(0xf4)]['js']===s(0xc1)&&(f['template']['js']=f['template']['js']===s(0xc9)?!![]:![],this[s(0xe7)]['setTemplate']('js',f['template']['js']));!f[s(0xef)]&&(f['features']={});const g=b['_']?b['_'][0x0][s(0xf3)](':')[0x1]:![],h=b['_']&&aliases[s(0xd7)](g);h&&!this[s(0x102)](s(0xe3))&&(Log['warn']('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),this[s(0xe7)][s(0xd0)](s(0xe3),{'cwd':d}));if(h&&!this['checkNpmPackage']('react')){Log['warn'](s(0xeb));return;}const i={'name':pascalCase(b['resourceName']),'myPath':a65e[s(0xda)](this[s(0xe7)][s(0xd6)]({}),e),'cssCaseName':paramCase(b[s(0xca)]),'className':pascalCase(b[s(0xca)]),'camelCaseName':camelCase(b[s(0xca)]),'fileName':paramCase(b[s(0xca)]),'graphql':f[s(0xc7)]['graphql'],'features':f[s(0xef)],'client':f[s(0xc7)]['client'],'api':f[s(0xc7)][s(0xce)],'ssr':f['engines'][s(0xcb)],'test':f[s(0xc7)][s(0xf0)],'theme':f['engines'][s(0xf6)],'isComponent':![],'isLayout':!![],'withTranslations':f[s(0xef)][s(0xdb)]};f[s(0xef)]?.['withHooks']||b[s(0xdf)]?this[s(0xe7)][s(0xf4)]({'srcPath':s(0xff),'destPath':e+s(0xc5),'framework':s(0x106),'context':i,'config':f}):this[s(0xe7)][s(0xf4)]({'srcPath':s(0xd1),'destPath':e+s(0xc5),'framework':s(0x106),'context':i,'config':f});f[s(0xc7)][s(0xf0)]!==s(0x104)&&this['fsi']['template']({'srcPath':s(0x103),'destPath':e+s(0xdc),'framework':s(0x106),'context':i,'config':f});f[s(0xf4)][s(0xe6)]&&(this['fsi']['template']({'srcPath':s(0xdd),'destPath':e+'.css','context':Object[s(0xee)]({},i,{'className':paramCase(b[s(0xca)])}),'config':f}),this[s(0xe7)][s(0xd3)]({'filePath':e+'.'+f['engines']['js'],'content':s(0xf5)+i['fileName']+'.'+f[s(0xc7)][s(0xe6)]+'\x27;'}));const j=b[s(0xde)]?'/'+b[s(0xde)]+'/':'/',k=''+c+j+i[s(0xcf)]+'/'+i[s(0xcf)];let l;if(f[s(0xc7)][s(0xcb)]==='true'){const m=this[s(0xe7)][s(0xe1)]({'pathParts':['imports',s(0xfc),s(0xf7),s(0xd9)]});l=this[s(0xe7)]['rewriteDestinationPathForEngine']({'pathParts':[m],'config':f});}else{const n=this['fsi'][s(0xe1)]({'pathParts':[s(0xcc),s(0xfc),'client',s(0xd9)]});l=this[s(0xe7)][s(0xe4)]({'pathParts':[n],'config':f});}f['engines'][s(0xc6)]===s(0x106)?(f[s(0xc7)]['js']===s(0xe2)?this[s(0xe7)][s(0xd3)]({'filePath':l,'content':s(0x105)+i[s(0xbd)]+s(0xf8)+k+s(0xfb)}):this['fsi'][s(0xd3)]({'filePath':l,'content':'import\x20{\x20'+i[s(0xbd)]+s(0xf8)+k+'.'+f[s(0xc7)]['js']+s(0xfb)}),this[s(0xe7)]['injectAtEndOfFile']({'filePath':l,'content':s(0xe5)+i[s(0xbd)]+s(0xfe)})):this[s(0xe7)][s(0xc3)]({'filePath':l,'content':s(0xed)+k+'.'+f[s(0xc7)]['js']+s(0xfb)});});});
@@ -1 +1 @@
1
- const a66h=a66d;(function(a,b){const f=a66d,c=a();while(!![]){try{const d=-parseInt(f(0x118))/0x1+parseInt(f(0x111))/0x2+-parseInt(f(0x114))/0x3*(-parseInt(f(0x121))/0x4)+-parseInt(f(0x112))/0x5+-parseInt(f(0x115))/0x6*(-parseInt(f(0x116))/0x7)+parseInt(f(0x11f))/0x8*(parseInt(f(0x122))/0x9)+parseInt(f(0x11a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a66c,0x71c5e));function a66c(){const i=['4835240sAUgET','maka\x20<generate>:<entity>\x20[<args>]\x20[<opts>]','(((.+)+)+)+$','maka\x20generate:api\x20Trucks','search','19048xAqGSJ','maka','68GoKWGD','369ceSRpu','toString','Maka!','775978ltFuFm','27150XyYmqH','\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','24834MCQfZx','1218894LUyLRz','7jJYwCs','constructor','841565UQvghk','maka\x20g:hook\x20cool-hook'];a66c=function(){return i;};return a66c();}function a66d(a,b){const c=a66c();return a66d=function(d,e){d=d-0x111;let f=c[d];return f;},a66d(a,b);}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[g(0x123)]()[g(0x11e)](g(0x11c))['toString']()[g(0x117)](a66a)[g(0x11e)](g(0x11c));});a66a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a66h(0x120),'shortDesc':a66h(0x124),'validOpts':[],'description':a66h(0x113),'usage':a66h(0x11b),'examples':[a66h(0x11d),a66h(0x119)]},function(){return null;});export default MakaGen;
1
+ const a66i=a66d;(function(a,b){const f=a66d,c=a();while(!![]){try{const d=-parseInt(f(0xc9))/0x1*(-parseInt(f(0xc5))/0x2)+parseInt(f(0xba))/0x3*(-parseInt(f(0xbb))/0x4)+-parseInt(f(0xbd))/0x5+parseInt(f(0xc6))/0x6*(-parseInt(f(0xb9))/0x7)+parseInt(f(0xb7))/0x8+parseInt(f(0xc1))/0x9+parseInt(f(0xbc))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a66c,0xcd297));const a66b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a66d;if(c){const e=c[g(0xbf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a66a=a66b(this,function(){const h=a66d;return a66a[h(0xc3)]()['search'](h(0xb8))['toString']()['constructor'](a66a)[h(0xc7)]('(((.+)+)+)+$');});a66a();import{Generator}from'../generator.js';function a66d(a,b){const c=a66c();return a66d=function(d,e){d=d-0xb7;let f=c[d];return f;},a66d(a,b);}const MakaGen=new Generator({'name':a66i(0xc2),'shortDesc':'Maka!','validOpts':[],'description':a66i(0xc8),'usage':a66i(0xc4),'examples':[a66i(0xbe),a66i(0xc0)]},function(){return null;});function a66c(){const j=['maka\x20<generate>:<entity>\x20[<args>]\x20[<opts>]','5594DiecKK','6niKZkX','search','\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','511cHuTXY','6199824bWoHVH','(((.+)+)+)+$','349244yLidFD','6pmlrUs','2804712gKgPHy','1798710IrpQHS','3326350MPhQTn','maka\x20generate:api\x20Trucks','apply','maka\x20g:hook\x20cool-hook','5163705yNUHPZ','maka','toString'];a66c=function(){return j;};return a66c();}export default MakaGen;
@@ -1 +1 @@
1
- function a67c(){const p=['mdg:validated-method','installMeteorPackage','2582760OUzhUm','104175FcsuRN','appPathPrefix','startup','method','withValue','139674PQIfRF','pathFromApp','dir','10860jnmYJh','error','template','(((.+)+)+)+$','method/method.js','methods','788332AXiIJW','injectAtEndOfFile','fsi','2346337BUAzNp','Meteor\x20package\x20\x22check\x22\x20or\x20\x22ddp-rate-limiter\x22\x20or\x20\x22mdg:validated-method\x22\x20is\x20not\x20installed,\x20installing...','create','8RMzMYS','engines','4GbHHqY','warn','maka\x20{generate,\x20g}:{method,\x20m}\x20name','4012002pUiZwY','-rpc-method.','590lEXFfU','resourceName','maka\x20g:method\x20todos','tsx','check','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','checkMeteorPackage','search','imports','import\x20\x27./methods','getProjectConfig'];a67c=function(){return p;};return a67c();}const a67m=a67d;(function(a,b){const k=a67d,c=a();while(!![]){try{const d=parseInt(k(0x125))/0x1+parseInt(k(0x105))/0x2+-parseInt(k(0x128))/0x3*(-parseInt(k(0x10d))/0x4)+-parseInt(k(0x11f))/0x5+parseInt(k(0x110))/0x6+parseInt(k(0x108))/0x7*(parseInt(k(0x10b))/0x8)+parseInt(k(0x120))/0x9*(-parseInt(k(0x112))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a67c,0x53751));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['toString']()['search'](l(0x102))['toString']()['constructor'](a67a)[l(0x119)](l(0x102));});a67a();import{Generator}from'../generator.js';function a67d(a,b){const c=a67c();return a67d=function(d,e){d=d-0x101;let f=c[d];return f;},a67d(a,b);}import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a67m(0x10a)]({'name':a67m(0x123),'aliases':['m'],'usage':a67m(0x10f),'checkWhere':!![],'shortDesc':a67m(0x117),'validOpts':[a67m(0x127)],'examples':[a67m(0x114)]},function(a,b){const n=a67m;try{const c=this[n(0x107)][n(0x11c)]();this[n(0x107)][n(0x124)](c,async()=>{const o=n,d=paramCase(b[o(0x113)]),f={'name':b[o(0x113)],'fileName':d,'className':pascalCase(b[o(0x113)]),'camelCase':camelCase(b[o(0x113)]),'noRename':!![]};let g='js';c[o(0x10c)]['js']===o(0x115)&&(g='ts');const h=this['fsi'][o(0x126)]({});(!this['fsi']['checkMeteorPackage'](o(0x116))||!this[o(0x107)][o(0x118)]('ddp-rate-limiter')||!this[o(0x107)][o(0x118)](o(0x11d)))&&(Log[o(0x10e)](o(0x109)),this['fsi'][o(0x11e)]('check\x20ddp-rate-limiter\x20mdg:validated-method',{'cwd':h}));this[o(0x107)][o(0x101)]({'srcPath':o(0x103),'destPath':this[o(0x107)][o(0x126)]({'pathParts':['imports',o(0x122),b[o(0x121)],o(0x104),b['dir'],d+o(0x111)+g]}),'context':f,'config':c});const i=b[o(0x127)]?'/'+b[o(0x127)]+'/':'/',j=this[o(0x107)][o(0x126)]({'pathParts':[o(0x11a),o(0x122),b[o(0x121)],'index.'+c['engines']['js']]});this[o(0x107)][o(0x106)]({'filePath':j,'content':o(0x11b)+i+d+'-rpc-method\x27;'});});}catch(d){Log[n(0x129)](d);}});
1
+ function a67c(){const q=['injectAtEndOfFile','getProjectConfig','method/method.js','maka\x20{generate,\x20g}:{method,\x20m}\x20name','apply','check\x20ddp-rate-limiter\x20mdg:validated-method','687148uIRIeI','326384bjhxEp','installMeteorPackage','tsx','18665640pHIyhE','Meteor\x20package\x20\x22check\x22\x20or\x20\x22ddp-rate-limiter\x22\x20or\x20\x22mdg:validated-method\x22\x20is\x20not\x20installed,\x20installing...','-rpc-method\x27;','withValue','check','-rpc-method.','230AJujZn','index.','511hOFzUb','imports','checkMeteorPackage','28OkTZZt','search','28tihxIU','template','mdg:validated-method','engines','135855oFmOtA','maka\x20g:method\x20todos','4582925sWySEA','156669RZbrIJ','create','pathFromApp','110EeItcY','resourceName','method','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','dir','appPathPrefix','(((.+)+)+)+$','toString','6UJgsvk','fsi'];a67c=function(){return q;};return a67c();}const a67n=a67d;(function(a,b){const k=a67d,c=a();while(!![]){try{const d=-parseInt(k(0x1ce))/0x1*(parseInt(k(0x1cc))/0x2)+-parseInt(k(0x1da))/0x3*(parseInt(k(0x1d1))/0x4)+parseInt(k(0x1d9))/0x5*(-parseInt(k(0x1e5))/0x6)+-parseInt(k(0x1d3))/0x7*(-parseInt(k(0x1c3))/0x8)+parseInt(k(0x1d7))/0x9*(parseInt(k(0x1dd))/0xa)+-parseInt(k(0x1c2))/0xb+parseInt(k(0x1c6))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a67c,0x75830));function a67d(a,b){const c=a67c();return a67d=function(d,e){d=d-0x1bd;let f=c[d];return f;},a67d(a,b);}const a67b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a67d;if(c){const e=c[l(0x1c0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a67a=a67b(this,function(){const m=a67d;return a67a[m(0x1e4)]()['search'](m(0x1e3))[m(0x1e4)]()['constructor'](a67a)[m(0x1d2)](m(0x1e3));});a67a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a67n(0x1db)]({'name':a67n(0x1df),'aliases':['m'],'usage':a67n(0x1bf),'checkWhere':!![],'shortDesc':a67n(0x1e0),'validOpts':[a67n(0x1e1)],'examples':[a67n(0x1d8)]},function(a,b){const o=a67n;try{const c=this[o(0x1e6)][o(0x1bd)]();this[o(0x1e6)][o(0x1c9)](c,async()=>{const p=o,d=paramCase(b['resourceName']),f={'name':b[p(0x1de)],'fileName':d,'className':pascalCase(b[p(0x1de)]),'camelCase':camelCase(b[p(0x1de)]),'noRename':!![]};let g='js';c[p(0x1d6)]['js']===p(0x1c5)&&(g='ts');const h=this[p(0x1e6)][p(0x1dc)]({});(!this[p(0x1e6)][p(0x1d0)](p(0x1ca))||!this[p(0x1e6)]['checkMeteorPackage']('ddp-rate-limiter')||!this[p(0x1e6)][p(0x1d0)](p(0x1d5)))&&(Log['warn'](p(0x1c7)),this[p(0x1e6)][p(0x1c4)](p(0x1c1),{'cwd':h}));this[p(0x1e6)][p(0x1d4)]({'srcPath':p(0x1be),'destPath':this[p(0x1e6)][p(0x1dc)]({'pathParts':['imports','startup',b[p(0x1e2)],'methods',b[p(0x1e1)],d+p(0x1cb)+g]}),'context':f,'config':c});const i=b[p(0x1e1)]?'/'+b[p(0x1e1)]+'/':'/',j=this[p(0x1e6)]['pathFromApp']({'pathParts':[p(0x1cf),'startup',b['appPathPrefix'],p(0x1cd)+c[p(0x1d6)]['js']]});this['fsi'][p(0x1e7)]({'filePath':j,'content':'import\x20\x27./methods'+i+d+p(0x1c8)});});}catch(d){Log['error'](d);}});
@@ -1 +1 @@
1
- const a68n=a68d;(function(a,b){const l=a68d,c=a();while(!![]){try{const d=-parseInt(l(0x1b3))/0x1*(-parseInt(l(0x1bd))/0x2)+-parseInt(l(0x194))/0x3*(parseInt(l(0x1a0))/0x4)+-parseInt(l(0x1a9))/0x5*(-parseInt(l(0x1bc))/0x6)+parseInt(l(0x19c))/0x7+-parseInt(l(0x1a2))/0x8+-parseInt(l(0x1a3))/0x9*(parseInt(l(0x1b7))/0xa)+-parseInt(l(0x1be))/0xb*(-parseInt(l(0x1a7))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a68c,0xe5cb3));const a68b=(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;};}()),a68a=a68b(this,function(){const m=a68d;return a68a[m(0x1b0)]()[m(0x1b8)](m(0x1a4))[m(0x1b0)]()['constructor'](a68a)[m(0x1b8)](m(0x1a4));});a68a();import a68e from'path';import{Generator}from'../generator.js';function a68d(a,b){const c=a68c();return a68d=function(d,e){d=d-0x18e;let f=c[d];return f;},a68d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';Generator[a68n(0x1a8)]({'name':a68n(0x1b2),'aliases':['p'],'usage':a68n(0x1b4),'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','validOpts':['dir'],'examples':['maka\x20g:package\x20todos:package']},async function(a,b){const o=a68n,c=paramCase(b[o(0x18f)]),d=this[o(0x1b9)][o(0x196)]({'pathParts':[o(0x19e),b[o(0x191)],c]}),e=this['fsi'][o(0x1a5)]({'pathParts':['packages',b[o(0x191)],c,'package.js']}),f=this[o(0x1b9)][o(0x1ab)]();this[o(0x1b9)][o(0x1bf)](f,async()=>{const p=o,g={'name':paramCase(b[p(0x18f)]),'myPath':a68e[p(0x1ad)](this[p(0x1b9)][p(0x190)]({}),d),'cssCaseName':paramCase(b[p(0x18f)]),'className':pascalCase(b[p(0x18f)]),'camelCaseName':camelCase(b[p(0x18f)]),'fileName':c,'client':f['engines'][p(0x192)],'graphql':f[p(0x199)][p(0x1ac)],'ssr':f['engines'][p(0x1af)],'isComponent':b[p(0x1b1)](p(0x1aa)),'isLayout':b[p(0x1b1)](p(0x1b5)),'isStore':b['hasOwnProperty'](p(0x193)),'features':f[p(0x197)],'noRename':!![],'theme':f['engines'][p(0x19f)]};this[p(0x1b9)]['template']({'srcPath':'package/package.js','destPath':e,'context':g,'config':f}),g[p(0x19b)]=![];const h=d+p(0x195)+c+p(0x19d);this[p(0x1b9)][p(0x19a)]({'srcPath':p(0x1a1),'destPath':h,'context':g,'config':f});const i=[p(0x1a6),p(0x1ae),p(0x198),p(0x18e)];i[p(0x1ba)](j=>{const q=p,k=d+'/'+j+'/'+c+q(0x19d);this['fsi'][q(0x19a)]({'srcPath':q(0x1bb)+j+q(0x1b6),'destPath':k,'context':g,'config':f});});});});function a68c(){const r=['292038KBOBxf','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','layout','/package.js','50hNRAlb','search','fsi','forEach','package/','1179006oAKLrX','8pERgiY','4247903MENBmZ','withValue','tests/server','resourceName','pathFromProject','dir','client','store','9cwigoN','/client/','pathFromApp','features','tests/client','engines','template','noRename','11847885esvaoR','.js','packages','theme','2506892lEEUMO','template/template.js','5812264przldj','1202022KulxqY','(((.+)+)+)+$','pathFromAppWithNoReWrite','lib','36OBemdO','create','5hOdHSo','component','getProjectConfig','graphql','relative','server','ssr','toString','hasOwnProperty','package'];a68c=function(){return r;};return a68c();}
1
+ const a68n=a68d;(function(a,b){const l=a68d,c=a();while(!![]){try{const d=parseInt(l(0x1e8))/0x1+parseInt(l(0x1dc))/0x2*(-parseInt(l(0x1eb))/0x3)+-parseInt(l(0x1ea))/0x4*(-parseInt(l(0x1e4))/0x5)+parseInt(l(0x1dd))/0x6*(parseInt(l(0x202))/0x7)+-parseInt(l(0x1e9))/0x8*(-parseInt(l(0x201))/0x9)+-parseInt(l(0x1fa))/0xa+parseInt(l(0x1e6))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a68c,0x79fa4));const a68b=(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;};}()),a68a=a68b(this,function(){const m=a68d;return a68a[m(0x1f3)]()[m(0x1f8)](m(0x1e7))[m(0x1f3)]()['constructor'](a68a)[m(0x1f8)](m(0x1e7));});a68a();function a68d(a,b){const c=a68c();return a68d=function(d,e){d=d-0x1db;let f=c[d];return f;},a68d(a,b);}import a68e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a68n(0x1db)]({'name':a68n(0x1e3),'aliases':['p'],'usage':'maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','shortDesc':a68n(0x1df),'validOpts':[a68n(0x1fb)],'examples':[a68n(0x1ee)]},async function(a,b){const o=a68n,c=paramCase(b[o(0x206)]),d=this[o(0x200)][o(0x205)]({'pathParts':[o(0x1de),b[o(0x1fb)],c]}),e=this[o(0x200)]['pathFromAppWithNoReWrite']({'pathParts':[o(0x1de),b[o(0x1fb)],c,'package.js']}),f=this[o(0x200)]['getProjectConfig']();this['fsi'][o(0x1f4)](f,async()=>{const p=o,g={'name':paramCase(b[p(0x206)]),'myPath':a68e[p(0x1ed)](this[p(0x200)][p(0x1f2)]({}),d),'cssCaseName':paramCase(b[p(0x206)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b['resourceName']),'fileName':c,'client':f[p(0x1e1)][p(0x1f6)],'graphql':f[p(0x1e1)][p(0x1e2)],'ssr':f[p(0x1e1)][p(0x1f5)],'isComponent':b[p(0x1ff)](p(0x1f9)),'isLayout':b[p(0x1ff)]('layout'),'isStore':b[p(0x1ff)]('store'),'features':f[p(0x1ec)],'noRename':!![],'theme':f[p(0x1e1)][p(0x203)]};this[p(0x200)][p(0x1fd)]({'srcPath':p(0x1f7),'destPath':e,'context':g,'config':f}),g[p(0x1f1)]=![];const h=d+p(0x1e0)+c+p(0x1f0);this[p(0x200)][p(0x1fd)]({'srcPath':'template/template.js','destPath':h,'context':g,'config':f});const i=[p(0x1fc),'server','tests/client',p(0x204)];i[p(0x1e5)](j=>{const q=p,k=d+'/'+j+'/'+c+'.js';this['fsi'][q(0x1fd)]({'srcPath':q(0x1fe)+j+q(0x1ef),'destPath':k,'context':g,'config':f});});});});function a68c(){const r=['(((.+)+)+)+$','448303FSeQvW','3687032FnaEWt','44pghvjI','3WvNoKd','features','relative','maka\x20g:package\x20todos:package','/package.js','.js','noRename','pathFromProject','toString','withValue','ssr','client','package/package.js','search','component','7552790HMXJRT','dir','lib','template','package/','hasOwnProperty','fsi','9iCMLPT','3800657HQNTKw','theme','tests/server','pathFromApp','resourceName','create','1975966rpFcKI','6VDZQWo','packages','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','/client/','engines','graphql','package','343405DaWmuX','forEach','387838rIRmvU'];a68c=function(){return r;};return a68c();}
@@ -1 +1 @@
1
- const a69p=a69d;(function(a,b){const m=a69d,c=a();while(!![]){try{const d=-parseInt(m(0x115))/0x1+-parseInt(m(0x121))/0x2*(parseInt(m(0x114))/0x3)+parseInt(m(0x11c))/0x4+parseInt(m(0x130))/0x5*(-parseInt(m(0x12b))/0x6)+parseInt(m(0x135))/0x7*(parseInt(m(0x12e))/0x8)+-parseInt(m(0x13d))/0x9*(-parseInt(m(0x12c))/0xa)+parseInt(m(0x122))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a69c,0x2a078));const a69b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a69d;if(c){const e=c[n(0x138)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a69a=a69b(this,function(){const o=a69d;return a69a[o(0x150)]()[o(0x10a)](o(0x11d))[o(0x150)]()[o(0x153)](a69a)[o(0x10a)]('(((.+)+)+)+$');});a69a();import a69e from'path';import{Generator}from'../generator.js';function a69d(a,b){const c=a69c();return a69d=function(d,e){d=d-0x109;let f=c[d];return f;},a69d(a,b);}import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';function a69c(){const s=['graphql','injectAtEndOfFile','api','4hybViz','157773OoiAep','test','string','import\x20\x27','fileName','layout','withTranslations','.js','\x20}\x20from\x20\x27','11478fUtMcL','2676790wWKUsr','none','3208oRLnAK','import\x20\x27./','510oCQJbK','theme','resourceName','react','import\x20{\x20','5397aEancX','warn','pathFromApp','apply','relative','className','getProjectConfig','template','9YmIYYr','withValue','engines','/imports/ui/pages','client','injectAtBeginningOfFile','withHook','templates.js','dir','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','features','withHooks','imports','.css','hasOwnProperty','checkNpmPackage','rewriteDestinationPathForEngine','Updating\x20npm\x20packages\x20...','.app-tests.js','toString','page','store','constructor','setTemplate','search','pathFromProject','startup','template/template.html','test/test.js','true','css','hook/hook.js','html','\x27;\x0a','502206kjEOoG','164292bQDZvF','component','export\x20{\x20','assign','ramda','fsi','tsx','1100724GDymFr','(((.+)+)+)+$'];a69c=function(){return s;};return a69c();}const aliases=['p'];Generator['create']({'name':a69p(0x151),'aliases':aliases,'usage':a69p(0x146),'shortDesc':'Generate\x20a\x20page.','validOpts':[a69p(0x145),a69p(0x143)],'examples':['maka\x20g:page\x20todos/todos-item']},function(a,b){const q=a69p,c=q(0x140),d=this[q(0x11a)][q(0x137)](b),e=this[q(0x11a)]['pathFromApp']({'pathParts':[c,b['dir'],paramCase(b[q(0x132)]),paramCase(b['resourceName'])]}),f=this[q(0x11a)][q(0x13b)]();this['fsi'][q(0x13e)](f,()=>{const r=q;typeof f['template'][r(0x112)]===r(0x124)&&(f[r(0x13c)][r(0x112)]=f[r(0x13c)]['html']===r(0x10f)?!![]:![],this[r(0x11a)][r(0x109)](r(0x112),f[r(0x13c)][r(0x112)]));typeof f[r(0x13c)][r(0x123)]===r(0x124)&&(f[r(0x13c)][r(0x123)]=f[r(0x13c)][r(0x123)]===r(0x10f)?!![]:![],this['fsi']['setTemplate'](r(0x123),f['template'][r(0x123)]));typeof f['template'][r(0x110)]==='string'&&(f['template']['css']=f['template'][r(0x110)]===r(0x10f)?!![]:![],this[r(0x11a)]['setTemplate'](r(0x110),f[r(0x13c)]['css']));typeof f['template']['js']===r(0x124)&&(f['template']['js']=f[r(0x13c)]['js']===r(0x10f)?!![]:![],this[r(0x11a)][r(0x109)]('js',f['template']['js']));!f[r(0x147)]&&(f['features']={});!b['root']&&!this[r(0x11a)][r(0x14c)](r(0x119))&&(Log[r(0x136)](r(0x14e)),this[r(0x11a)]['installNpmPackage'](r(0x119),{'cwd':d}));const g={'name':pascalCase(b[r(0x132)]),'myPath':a69e[r(0x139)](this[r(0x11a)][r(0x10b)]({}),e),'cssCaseName':paramCase(b[r(0x132)]),'className':pascalCase(b[r(0x132)]),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b[r(0x132)]),'graphql':f[r(0x13f)][r(0x11e)],'features':f[r(0x147)],'client':f[r(0x13f)][r(0x141)],'api':f[r(0x13f)][r(0x120)],'ssr':f[r(0x13f)]['ssr'],'isStore':b[r(0x14b)](r(0x152)),'isComponent':b[r(0x14b)](r(0x116)),'isLayout':b[r(0x14b)](r(0x127)),'withTranslations':f[r(0x147)][r(0x128)],'test':f[r(0x13f)]['test'],'theme':f['engines'][r(0x131)]};f['template'][r(0x112)]&&this[r(0x11a)][r(0x13c)]({'srcPath':r(0x10d),'destPath':e+'.html','context':g,'config':f});f[r(0x147)]?.[r(0x148)]||b['withHook']?this[r(0x11a)]['template']({'srcPath':r(0x111),'destPath':e+r(0x129),'framework':r(0x133),'context':g,'config':f}):this[r(0x11a)][r(0x13c)]({'srcPath':'component/component.js','destPath':e+r(0x129),'framework':'react','context':g,'config':f});f[r(0x13f)]['test']!==r(0x12d)&&this[r(0x11a)][r(0x13c)]({'srcPath':r(0x10e),'destPath':e+r(0x14f),'framework':r(0x133),'context':g,'config':f});f[r(0x13c)][r(0x110)]&&this[r(0x11a)]['template']({'srcPath':'template/template.css','destPath':e+r(0x14a),'context':Object[r(0x118)]({},g,{'className':paramCase(b[r(0x132)])}),'config':f});f['engines'][r(0x141)]!==r(0x133)&&f['engines'][r(0x141)]!=='vanilla'?(f['template'][r(0x110)]&&this[r(0x11a)]['injectAtBeginningOfFile']({'filePath':e+'.'+f[r(0x13f)]['js'],'content':r(0x12f)+g[r(0x126)]+'.'+f[r(0x13f)][r(0x112)]+r(0x113)+r(0x12f)+g['fileName']+'.'+f[r(0x13f)]['css']+'\x27;'}),!f['template'][r(0x110)]&&this[r(0x11a)]['injectAtBeginningOfFile']({'filePath':e+'.'+f['engines']['js'],'content':'import\x20\x27./'+g[r(0x126)]+'.'+f['engines'][r(0x112)]+'\x27;'})):f[r(0x13c)]['css']&&this[r(0x11a)]['injectAtBeginningOfFile']({'filePath':e+'.'+f[r(0x13f)]['js'],'content':r(0x12f)+g['fileName']+'.'+f[r(0x13f)][r(0x110)]+'\x27;'});const h=b[r(0x145)]?'/'+b[r(0x145)]+'/':'/',i=''+c+h+g[r(0x126)]+'/'+g[r(0x126)];let j;if(f['engines']['ssr']===r(0x10f)){const k=this[r(0x11a)][r(0x137)]({'pathParts':[r(0x149),r(0x10c),'lib',r(0x144)]});j=this[r(0x11a)]['rewriteDestinationPathForEngine']({'pathParts':[k],'config':f});}else{const l=this[r(0x11a)][r(0x137)]({'pathParts':[r(0x149),r(0x10c),r(0x141),r(0x144)]});j=this[r(0x11a)][r(0x14d)]({'pathParts':[l],'config':f});}f[r(0x13f)]['client']===r(0x133)?(f[r(0x13f)]['js']===r(0x11b)?this[r(0x11a)][r(0x142)]({'filePath':j,'content':r(0x134)+g[r(0x13a)]+r(0x12a)+i+r(0x113)}):this[r(0x11a)][r(0x142)]({'filePath':j,'content':'import\x20{\x20'+g[r(0x13a)]+r(0x12a)+i+'.'+f[r(0x13f)]['js']+r(0x113)}),this[r(0x11a)][r(0x11f)]({'filePath':j,'content':r(0x117)+g[r(0x13a)]+'\x20};\x0a'})):this[r(0x11a)]['injectAtEndOfFile']({'filePath':j,'content':r(0x125)+i+'.'+f[r(0x13f)]['js']+'\x27;\x0a'});});});
1
+ function a69d(a,b){const c=a69c();return a69d=function(d,e){d=d-0xd4;let f=c[d];return f;},a69d(a,b);}const a69p=a69d;(function(a,b){const m=a69d,c=a();while(!![]){try{const d=-parseInt(m(0x108))/0x1*(-parseInt(m(0xf8))/0x2)+-parseInt(m(0xe5))/0x3+-parseInt(m(0xe7))/0x4*(-parseInt(m(0xf5))/0x5)+-parseInt(m(0xfd))/0x6*(parseInt(m(0x114))/0x7)+parseInt(m(0x10e))/0x8*(parseInt(m(0xee))/0x9)+-parseInt(m(0xfa))/0xa*(-parseInt(m(0xea))/0xb)+-parseInt(m(0xe9))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a69c,0x84016));const a69b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a69d;if(c){const e=c[n(0xd7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a69a=a69b(this,function(){const o=a69d;return a69a[o(0x116)]()[o(0xfe)](o(0x10f))[o(0x116)]()[o(0xef)](a69a)[o(0xfe)](o(0x10f));});a69a();import a69e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator[a69p(0x118)]({'name':'page','aliases':aliases,'usage':a69p(0x111),'shortDesc':a69p(0x117),'validOpts':[a69p(0xe2),a69p(0xd5)],'examples':[a69p(0xd9)]},function(a,b){const q=a69p,c=q(0xdf),d=this[q(0xf0)]['pathFromApp'](b),e=this['fsi'][q(0x10c)]({'pathParts':[c,b[q(0xe2)],paramCase(b['resourceName']),paramCase(b[q(0xfc)])]}),f=this[q(0xf0)]['getProjectConfig']();this['fsi'][q(0x11a)](f,()=>{const r=q;typeof f[r(0xe6)][r(0x106)]==='string'&&(f[r(0xe6)][r(0x106)]=f['template'][r(0x106)]===r(0x121)?!![]:![],this[r(0xf0)][r(0xec)](r(0x106),f['template']['html']));typeof f[r(0xe6)]['test']===r(0xe0)&&(f[r(0xe6)][r(0x123)]=f[r(0xe6)][r(0x123)]===r(0x121)?!![]:![],this[r(0xf0)][r(0xec)](r(0x123),f[r(0xe6)][r(0x123)]));typeof f[r(0xe6)][r(0xed)]==='string'&&(f[r(0xe6)]['css']=f['template'][r(0xed)]==='true'?!![]:![],this['fsi'][r(0xec)](r(0xed),f['template']['css']));typeof f[r(0xe6)]['js']===r(0xe0)&&(f[r(0xe6)]['js']=f[r(0xe6)]['js']===r(0x121)?!![]:![],this['fsi'][r(0xec)]('js',f['template']['js']));!f[r(0xfb)]&&(f[r(0xfb)]={});!b[r(0x109)]&&!this[r(0xf0)]['checkNpmPackage'](r(0x104))&&(Log[r(0xf7)](r(0xd8)),this[r(0xf0)][r(0xdc)](r(0x104),{'cwd':d}));const g={'name':pascalCase(b['resourceName']),'myPath':a69e[r(0xe4)](this['fsi'][r(0xf6)]({}),e),'cssCaseName':paramCase(b[r(0xfc)]),'className':pascalCase(b[r(0xfc)]),'camelCaseName':camelCase(b[r(0xfc)]),'fileName':paramCase(b[r(0xfc)]),'graphql':f[r(0xe1)][r(0x102)],'features':f[r(0xfb)],'client':f[r(0xe1)][r(0xf4)],'api':f['engines'][r(0x10d)],'ssr':f[r(0xe1)][r(0x112)],'isStore':b[r(0xdb)](r(0x115)),'isComponent':b['hasOwnProperty']('component'),'isLayout':b[r(0xdb)](r(0xf2)),'withTranslations':f['features'][r(0xf1)],'test':f[r(0xe1)]['test'],'theme':f['engines'][r(0xf9)]};f[r(0xe6)][r(0x106)]&&this[r(0xf0)][r(0xe6)]({'srcPath':r(0xeb),'destPath':e+r(0x10a),'context':g,'config':f});f[r(0xfb)]?.['withHooks']||b[r(0xd5)]?this[r(0xf0)][r(0xe6)]({'srcPath':r(0x101),'destPath':e+r(0xda),'framework':'react','context':g,'config':f}):this[r(0xf0)]['template']({'srcPath':r(0xe8),'destPath':e+r(0xda),'framework':r(0xe3),'context':g,'config':f});f['engines']['test']!=='none'&&this[r(0xf0)][r(0xe6)]({'srcPath':r(0x120),'destPath':e+r(0x100),'framework':r(0xe3),'context':g,'config':f});f[r(0xe6)][r(0xed)]&&this[r(0xf0)][r(0xe6)]({'srcPath':r(0xf3),'destPath':e+r(0xde),'context':Object['assign']({},g,{'className':paramCase(b[r(0xfc)])}),'config':f});f[r(0xe1)][r(0xf4)]!==r(0xe3)&&f[r(0xe1)]['client']!==r(0x110)?(f[r(0xe6)][r(0xed)]&&this[r(0xf0)][r(0x11c)]({'filePath':e+'.'+f[r(0xe1)]['js'],'content':r(0x11f)+g[r(0x122)]+'.'+f['engines'][r(0x106)]+'\x27;\x0a'+r(0x11f)+g[r(0x122)]+'.'+f[r(0xe1)]['css']+'\x27;'}),!f[r(0xe6)][r(0xed)]&&this[r(0xf0)][r(0x11c)]({'filePath':e+'.'+f[r(0xe1)]['js'],'content':r(0x11f)+g['fileName']+'.'+f[r(0xe1)]['html']+'\x27;'})):f[r(0xe6)][r(0xed)]&&this[r(0xf0)]['injectAtBeginningOfFile']({'filePath':e+'.'+f[r(0xe1)]['js'],'content':'import\x20\x27./'+g[r(0x122)]+'.'+f[r(0xe1)][r(0xed)]+'\x27;'});const h=b[r(0xe2)]?'/'+b[r(0xe2)]+'/':'/',i=''+c+h+g[r(0x122)]+'/'+g['fileName'];let j;if(f[r(0xe1)][r(0x112)]===r(0x121)){const k=this['fsi'][r(0x10c)]({'pathParts':[r(0x11e),r(0x113),r(0x105),r(0x103)]});j=this[r(0xf0)][r(0x11b)]({'pathParts':[k],'config':f});}else{const l=this['fsi'][r(0x10c)]({'pathParts':[r(0x11e),r(0x113),'client',r(0x103)]});j=this[r(0xf0)][r(0x11b)]({'pathParts':[l],'config':f});}f[r(0xe1)][r(0xf4)]==='react'?(f[r(0xe1)]['js']===r(0x119)?this[r(0xf0)]['injectAtBeginningOfFile']({'filePath':j,'content':r(0x107)+g[r(0x11d)]+r(0xd6)+i+r(0xff)}):this['fsi'][r(0x11c)]({'filePath':j,'content':r(0x107)+g[r(0x11d)]+r(0xd6)+i+'.'+f['engines']['js']+'\x27;\x0a'}),this[r(0xf0)][r(0xd4)]({'filePath':j,'content':'export\x20{\x20'+g['className']+r(0xdd)})):this[r(0xf0)][r(0xd4)]({'filePath':j,'content':r(0x10b)+i+'.'+f[r(0xe1)]['js']+r(0xff)});});});function a69c(){const s=['import\x20{\x20','1Fnstpg','root','.html','import\x20\x27','pathFromApp','api','119336YTsVrv','(((.+)+)+)+$','vanilla','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','ssr','startup','14zgQtuI','store','toString','Generate\x20a\x20page.','create','tsx','withValue','rewriteDestinationPathForEngine','injectAtBeginningOfFile','className','imports','import\x20\x27./','test/test.js','true','fileName','test','injectAtEndOfFile','withHook','\x20}\x20from\x20\x27','apply','Updating\x20npm\x20packages\x20...','maka\x20g:page\x20todos/todos-item','.js','hasOwnProperty','installNpmPackage','\x20};\x0a','.css','/imports/ui/pages','string','engines','dir','react','relative','635358PPNHgM','template','5884toMcVH','component/component.js','11084544VnBGkQ','46915iXHhGT','template/template.html','setTemplate','css','126MISWVH','constructor','fsi','withTranslations','layout','template/template.css','client','1730hxpdIt','pathFromProject','warn','932138MrVYwU','theme','1630AjVaDb','features','resourceName','608628pjEdAi','search','\x27;\x0a','.app-tests.js','hook/hook.js','graphql','templates.js','ramda','lib','html'];a69c=function(){return s;};return a69c();}
@@ -1 +1 @@
1
- const a70j=a70d;(function(a,b){const h=a70d,c=a();while(!![]){try{const d=-parseInt(h(0xe9))/0x1+parseInt(h(0xfa))/0x2+-parseInt(h(0xe3))/0x3*(parseInt(h(0xee))/0x4)+-parseInt(h(0xf3))/0x5*(parseInt(h(0xe8))/0x6)+parseInt(h(0xec))/0x7*(parseInt(h(0xeb))/0x8)+parseInt(h(0xf4))/0x9*(-parseInt(h(0xed))/0xa)+-parseInt(h(0xe4))/0xb*(-parseInt(h(0xfb))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a70c,0x35a75));const a70b=(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;};}()),a70a=a70b(this,function(){const i=a70d;return a70a[i(0xf9)]()[i(0xf2)](i(0xe5))[i(0xf9)]()['constructor'](a70a)[i(0xf2)]('(((.+)+)+)+$');});function a70d(a,b){const c=a70c();return a70d=function(d,e){d=d-0xe2;let f=c[d];return f;},a70d(a,b);}function a70c(){const m=['create','search','2245bpRAOl','134127NzDEtw','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','injectAtEndOfFile','tsx','rewriteDestinationPathForEngine','toString','367792kBDEaZ','494136wKgqeh','withValue','resourceName','182958GYqGTV','165rYLkEI','(((.+)+)+)+$','maka\x20g:publish\x20todos','engines','1878JJwiFr','201916gGgWab','fsi','15256ZSmoiP','574fNMbQP','20qvdIPz','24LEuMDg','publish','templateContent'];a70c=function(){return m;};return a70c();}a70a();import{paramCase}from'change-case';import{Generator}from'../generator.js';Generator[a70j(0xf1)]({'name':a70j(0xef),'aliases':['p'],'usage':a70j(0xf5),'shortDesc':'Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','validOpts':[],'examples':[a70j(0xe6)]},async function(a,b){const k=a70j,c=this[k(0xea)]['getProjectConfig']();this[k(0xea)][k(0xfc)](c,async()=>{const l=k,d={'name':b[l(0xe2)],'collection':paramCase(b[l(0xe2)]),'noRename':!![]};let e='js';c[l(0xe7)]['js']===l(0xf7)&&(e='ts');const f=this[l(0xea)][l(0xf8)]({'pathParts':['server/publish.'+c['engines']['js']]}),g=this['fsi'][l(0xf0)]({'srcPath':'publish/publish.'+e,'context':d,'config':c});this[l(0xea)][l(0xf6)]({'filePath':f,'content':'\x0a'+g});});});
1
+ const a70k=a70d;(function(a,b){const h=a70d,c=a();while(!![]){try{const d=parseInt(h(0x106))/0x1+-parseInt(h(0x114))/0x2+parseInt(h(0x10e))/0x3+-parseInt(h(0x104))/0x4*(parseInt(h(0x118))/0x5)+parseInt(h(0x116))/0x6+parseInt(h(0x108))/0x7*(-parseInt(h(0x119))/0x8)+parseInt(h(0x110))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a70c,0xdb1ec));function a70d(a,b){const c=a70c();return a70d=function(d,e){d=d-0x100;let f=c[d];return f;},a70d(a,b);}const a70b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a70d;if(c){const e=c[i(0x10b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a70a=a70b(this,function(){const j=a70d;return a70a[j(0x117)]()[j(0x100)]('(((.+)+)+)+$')[j(0x117)]()[j(0x109)](a70a)['search'](j(0x10c));});a70a();import{paramCase}from'change-case';import{Generator}from'../generator.js';Generator[a70k(0x107)]({'name':a70k(0x102),'aliases':['p'],'usage':a70k(0x111),'shortDesc':a70k(0x101),'validOpts':[],'examples':['maka\x20g:publish\x20todos']},async function(a,b){const l=a70k,c=this['fsi'][l(0x10d)]();this[l(0x115)]['withValue'](c,async()=>{const m=l,d={'name':b[m(0x10f)],'collection':paramCase(b[m(0x10f)]),'noRename':!![]};let e='js';c[m(0x10a)]['js']===m(0x113)&&(e='ts');const f=this[m(0x115)][m(0x103)]({'pathParts':['server/publish.'+c[m(0x10a)]['js']]}),g=this[m(0x115)]['templateContent']({'srcPath':m(0x112)+e,'context':d,'config':c});this[m(0x115)][m(0x105)]({'filePath':f,'content':'\x0a'+g});});});function a70c(){const n=['tsx','2796208cdizUK','fsi','5591214oyhWLA','toString','15qUItYA','1357792pbhpyF','search','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','publish','rewriteDestinationPathForEngine','1645012bPMKXM','injectAtEndOfFile','1364571QnSkPF','create','35ZokDqR','constructor','engines','apply','(((.+)+)+)+$','getProjectConfig','58188HGlsyJ','resourceName','18559467TXVwNr','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','publish/publish.'];a70c=function(){return n;};return a70c();}
@@ -1 +1 @@
1
- const a71y=a71d;(function(a,b){const v=a71d,c=a();while(!![]){try{const d=parseInt(v(0x1a5))/0x1*(parseInt(v(0x1c5))/0x2)+-parseInt(v(0x1b0))/0x3*(-parseInt(v(0x197))/0x4)+-parseInt(v(0x1c9))/0x5*(parseInt(v(0x1a8))/0x6)+parseInt(v(0x1dc))/0x7*(parseInt(v(0x1b2))/0x8)+parseInt(v(0x1c6))/0x9+parseInt(v(0x19c))/0xa*(parseInt(v(0x198))/0xb)+-parseInt(v(0x1a9))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a71c,0x7454a));const a71b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a71d;if(c){const e=c[w(0x1d5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a71a=a71b(this,function(){const x=a71d;return a71a['toString']()[x(0x1de)](x(0x1bc))['toString']()[x(0x1d7)](a71a)['search']('(((.+)+)+)+$');});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=['12066AskGmo','client','13040uYKohN','route/route.js','vanilla','readFileLines','/imports/ui/pages','private','injectAfterLineNumber','config','warn','MasterLayout','(((.+)+)+)+$','injectIntoFile','root','react','findGenerator','startup','import\x20*\x20as\x20Component\x20from\x20\x27./templates\x27;','\x22*\x22','cwd','126OrlrVm','7236891lKaVlb','rewriteDestinationPathForEngine','join','10345sHsrCD','Scaffolding\x20for\x20a\x20Route.','only','layout','page','error','routes.js','route','length','fsi','imports','templateName','apply','const\x20privateRoutes\x20=\x20(<>','constructor','invoke','features','<Route','includes','966gJKFba','toLowerCase','search','</Router>','428WlOcDS','22VzUNDI','Could\x20not\x20find\x20a\x20suitable\x20location\x20to\x20enable\x20this\x20route.\x20\x20Please\x20inspect\x20','\x0a\x09\x09','pathFromApp','812540CUBKJo','engines','map','withHook','getProjectConfig','templateContent','maka\x20g:route\x20todosIndex\x20todos','indexOf','const\x20publicRoutes\x20=\x20(<>','4417VhMFTs','PrivateLayout','filter','504hEXBSR','14998632vsKZRf','maka\x20g:route\x20lists/listIndex\x20lists','<Router','newForm','maka\x20g:route\x20todosEdit\x20todos/:id/edit','maka\x20g:route\x20usersShow\x20users/:id/show\x20--layout\x20userView','withValue'];a71c=function(){return H;};return a71c();}function a71d(a,b){const c=a71c();return a71d=function(d,e){d=d-0x197;let f=c[d];return f;},a71d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['r'];Generator['create']({'name':a71y(0x1d0),'aliases':aliases,'validOpts':[a71y(0x1b7),'layout',a71y(0x1cb),a71y(0x1c4),a71y(0x1b9),a71y(0x1be),a71y(0x19f)],'usage':'maka\x20{generate,\x20g}:{route,\x20r}\x20[path/]<name>\x20[url]\x20[--private]','shortDesc':a71y(0x1ca),'examples':[a71y(0x1a2),a71y(0x1ad),a71y(0x1ae),a71y(0x1aa)]},function(a,b){const z=a71y;try{const c=this[z(0x1d2)][z(0x1a0)]();this['fsi'][z(0x1af)](c,async()=>{const A=z,d=b[A(0x1b7)]??![];let f=paramCase(a[0x0]),g='/'+f;a[A(0x1d1)]>0x1&&(g='/'+a[A(0x1a7)](function(l){return l!=='/';})['join']('/')[A(0x1dd)]());f=camelCase(f);b['layout']&&(b[A(0x1cc)]=camelCase(b['layout']));const h=a71e[A(0x1c8)](A(0x1b6),f,f),i={'name':f,'fileCase':paramCase(f),'camelCaseName':camelCase(f),'url':g,'layout':b['layout']||A(0x1bb),'templatePath':h,'templateName':pascalCase(f),'client':c['engines'][A(0x1b1)],'newForm':![],'withTranslations':c[A(0x1d9)]['withTranslations']};d&&(i[A(0x1cc)]=A(0x1a6));if(!b[A(0x1be)]){const l=a71f[A(0x1c0)](A(0x1cd));l&&await l[A(0x1d8)](a,b);}let j,k;if(c[A(0x19d)][A(0x1b1)]===A(0x1bf)){if(c['engines']['ssr']==='true'){const p=this[A(0x1d2)][A(0x19b)]({'pathParts':[A(0x1d3),'startup','lib',A(0x1cf)]});j=this[A(0x1d2)][A(0x1c7)]({'pathParts':[p],'config':c});}else{const q=this['fsi'][A(0x19b)]({'pathParts':[A(0x1d3),A(0x1c1),'client',A(0x1cf)]});j=this[A(0x1d2)][A(0x1c7)]({'pathParts':[q],'config':c});}const m=this[A(0x1d2)][A(0x1b5)](j)[A(0x19e)]((r,s)=>{const B=A;return r[B(0x1db)](B(0x1c2))?s+0x1:null;})['filter'](r=>r!==null);let n=this[A(0x1d2)][A(0x1b5)](j)[A(0x19e)]((r,s)=>{const C=A;return r[C(0x1db)](C(0x1a4))?s+0x1:null;})[A(0x1a7)](r=>r!==null),o=this[A(0x1d2)][A(0x1b5)](j)[A(0x19e)]((r,s)=>{const D=A;return r[D(0x1db)]('const\x20privateRoutes\x20=\x20(<>')?s+0x1:null;})[A(0x1a7)](r=>r!==null);n[A(0x1d1)]>0x0&&o[A(0x1d1)]>0x0&&(i[A(0x1ac)]=!![]);k=this[A(0x1d2)]['templateContent']({'srcPath':A(0x1b3),'framework':A(0x1bf),'context':i,'config':c});if(n['length']>0x0||o[A(0x1d1)]>0x0){this[A(0x1d2)][A(0x1b8)]({'filePath':j,'content':k,'lineNumber':m[0x0]});if(d&&o[A(0x1d1)]>0x0)o=this[A(0x1d2)][A(0x1b5)](j)[A(0x19e)]((r,s)=>{const E=A;return r['includes'](E(0x1d6))?s+0x1:null;})['filter'](r=>r!==null),this[A(0x1d2)][A(0x1b8)]({'filePath':j,'content':'\x09{'+i[A(0x1d4)]+'}','lineNumber':o[0x0]});else n['length']>0x0?(n=this['fsi'][A(0x1b5)](j)[A(0x19e)]((r,s)=>{const F=A;return r[F(0x1db)](F(0x1a4))?s+0x1:null;})[A(0x1a7)](r=>r!==null),this[A(0x1d2)][A(0x1b8)]({'filePath':j,'content':'\x09{'+i[A(0x1d4)]+'}','lineNumber':n[0x0]})):Log[A(0x1ba)](A(0x199)+j);}else{const r=this[A(0x1d2)][A(0x1b5)](j)['map'](u=>{const G=A;return u[G(0x1db)](G(0x1c3));}),s=r[A(0x1a3)](!![])>-0x1,t=s?A(0x1da):A(0x1df);this['fsi'][A(0x1bd)]({'filePath':j,'content':A(0x19a)+k+A(0x19a),'begin':A(0x1ab),'end':t});}}else{if(c[A(0x19d)][A(0x1b1)]===A(0x1b4)){const u=this[A(0x1d2)]['pathFromApp']({'pathParts':[A(0x1d3),A(0x1c1),'client',A(0x1cf)]});j=this[A(0x1d2)][A(0x1c7)]({'pathParts':[u],'config':c}),k=this[A(0x1d2)][A(0x1a1)]({'srcPath':'route/route.js','context':i}),this[A(0x1d2)]['injectAtEndOfFile']({'filePath':j,'content':'\x0a'+k});}}});}catch(d){Log[z(0x1ce)](d);}});
1
+ function a71d(a,b){const c=a71c();return a71d=function(d,e){d=d-0x1a4;let f=c[d];return f;},a71d(a,b);}const a71y=a71d;(function(a,b){const v=a71d,c=a();while(!![]){try{const d=parseInt(v(0x1e0))/0x1+-parseInt(v(0x1e1))/0x2*(parseInt(v(0x1de))/0x3)+-parseInt(v(0x1d5))/0x4+-parseInt(v(0x1e7))/0x5*(-parseInt(v(0x1d0))/0x6)+parseInt(v(0x1df))/0x7+-parseInt(v(0x1c4))/0x8+parseInt(v(0x1ab))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a71c,0x9e8df));const a71b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a71d;if(c){const e=c[w(0x1b3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a71a=a71b(this,function(){const x=a71d;return a71a[x(0x1b9)]()[x(0x1ae)](x(0x1ac))[x(0x1b9)]()[x(0x1c3)](a71a)[x(0x1ae)](x(0x1ac));});a71a();import a71e from'path';import{Generator}from'../generator.js';function a71c(){const F=['</Router>','ssr','warn','<Router','root','9375066HQWBgT','(((.+)+)+)+$','private','search','readFileLines','const\x20privateRoutes\x20=\x20(<>','toLowerCase','length','apply','true','map','includes','const\x20publicRoutes\x20=\x20(<>','layout','toString','withTranslations','page','injectAfterLineNumber','import\x20*\x20as\x20Component\x20from\x20\x27./templates\x27;','rewriteDestinationPathForEngine','route/route.js','/imports/ui/pages','maka\x20g:route\x20todosEdit\x20todos/:id/edit','lib','constructor','5843560KFzWdu','pathFromApp','withHook','startup','vanilla','route','engines','newForm','cwd','invoke','features','templateContent','11862DvvnCK','\x0a\x09\x09','react','filter','indexOf','4517664MLVSvY','join','injectAtEndOfFile','client','only','Scaffolding\x20for\x20a\x20Route.','maka\x20g:route\x20lists/listIndex\x20lists','routes.js','create','36tDbCDD','5703936hONGDZ','682103OkgeRh','15102BKpfMe','imports','Could\x20not\x20find\x20a\x20suitable\x20location\x20to\x20enable\x20this\x20route.\x20\x20Please\x20inspect\x20','fsi','templateName','<Route','155SYlIHV','injectIntoFile','maka\x20g:route\x20usersShow\x20users/:id/show\x20--layout\x20userView'];a71c=function(){return F;};return a71c();}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(0x1dd)]({'name':a71y(0x1c9),'aliases':aliases,'validOpts':[a71y(0x1ad),a71y(0x1b8),a71y(0x1d9),a71y(0x1cc),'config','root',a71y(0x1c6)],'usage':'maka\x20{generate,\x20g}:{route,\x20r}\x20[path/]<name>\x20[url]\x20[--private]','shortDesc':a71y(0x1da),'examples':['maka\x20g:route\x20todosIndex\x20todos',a71y(0x1c1),a71y(0x1a5),a71y(0x1db)]},function(a,b){const z=a71y;try{const c=this[z(0x1e4)]['getProjectConfig']();this['fsi']['withValue'](c,async()=>{const A=z,d=b['private']??![];let f=paramCase(a[0x0]),g='/'+f;a['length']>0x1&&(g='/'+a[A(0x1d3)](function(l){return l!=='/';})[A(0x1d6)]('/')[A(0x1b1)]());f=camelCase(f);b[A(0x1b8)]&&(b['layout']=camelCase(b[A(0x1b8)]));const h=a71e[A(0x1d6)](A(0x1c0),f,f),i={'name':f,'fileCase':paramCase(f),'camelCaseName':camelCase(f),'url':g,'layout':b[A(0x1b8)]||'MasterLayout','templatePath':h,'templateName':pascalCase(f),'client':c[A(0x1ca)][A(0x1d8)],'newForm':![],'withTranslations':c[A(0x1ce)][A(0x1ba)]};d&&(i[A(0x1b8)]='PrivateLayout');if(!b[A(0x1aa)]){const l=a71f['findGenerator'](A(0x1bb));l&&await l[A(0x1cd)](a,b);}let j,k;if(c[A(0x1ca)][A(0x1d8)]==='react'){if(c[A(0x1ca)][A(0x1a7)]===A(0x1b4)){const p=this[A(0x1e4)][A(0x1c5)]({'pathParts':[A(0x1e2),A(0x1c7),A(0x1c2),'routes.js']});j=this[A(0x1e4)][A(0x1be)]({'pathParts':[p],'config':c});}else{const q=this[A(0x1e4)][A(0x1c5)]({'pathParts':[A(0x1e2),A(0x1c7),A(0x1d8),A(0x1dc)]});j=this['fsi'][A(0x1be)]({'pathParts':[q],'config':c});}const m=this['fsi'][A(0x1af)](j)[A(0x1b5)]((r,s)=>{const B=A;return r['includes'](B(0x1bd))?s+0x1:null;})[A(0x1d3)](r=>r!==null);let n=this[A(0x1e4)][A(0x1af)](j)[A(0x1b5)]((r,s)=>{const C=A;return r[C(0x1b6)](C(0x1b7))?s+0x1:null;})[A(0x1d3)](r=>r!==null),o=this[A(0x1e4)]['readFileLines'](j)['map']((r,s)=>{const D=A;return r['includes'](D(0x1b0))?s+0x1:null;})[A(0x1d3)](r=>r!==null);n[A(0x1b2)]>0x0&&o[A(0x1b2)]>0x0&&(i[A(0x1cb)]=!![]);k=this[A(0x1e4)][A(0x1cf)]({'srcPath':A(0x1bf),'framework':A(0x1d2),'context':i,'config':c});if(n[A(0x1b2)]>0x0||o[A(0x1b2)]>0x0){this[A(0x1e4)][A(0x1bc)]({'filePath':j,'content':k,'lineNumber':m[0x0]});if(d&&o[A(0x1b2)]>0x0)o=this['fsi'][A(0x1af)](j)[A(0x1b5)]((r,s)=>{const E=A;return r['includes'](E(0x1b0))?s+0x1:null;})[A(0x1d3)](r=>r!==null),this['fsi'][A(0x1bc)]({'filePath':j,'content':'\x09{'+i[A(0x1e5)]+'}','lineNumber':o[0x0]});else n[A(0x1b2)]>0x0?(n=this[A(0x1e4)]['readFileLines'](j)[A(0x1b5)]((r,s)=>{return r['includes']('const\x20publicRoutes\x20=\x20(<>')?s+0x1:null;})['filter'](r=>r!==null),this['fsi']['injectAfterLineNumber']({'filePath':j,'content':'\x09{'+i['templateName']+'}','lineNumber':n[0x0]})):Log[A(0x1a8)](A(0x1e3)+j);}else{const r=this[A(0x1e4)][A(0x1af)](j)[A(0x1b5)](u=>{return u['includes']('\x22*\x22');}),s=r[A(0x1d4)](!![])>-0x1,t=s?A(0x1e6):A(0x1a6);this['fsi'][A(0x1a4)]({'filePath':j,'content':A(0x1d1)+k+A(0x1d1),'begin':A(0x1a9),'end':t});}}else{if(c['engines'][A(0x1d8)]===A(0x1c8)){const u=this[A(0x1e4)][A(0x1c5)]({'pathParts':[A(0x1e2),A(0x1c7),A(0x1d8),A(0x1dc)]});j=this[A(0x1e4)][A(0x1be)]({'pathParts':[u],'config':c}),k=this['fsi'][A(0x1cf)]({'srcPath':A(0x1bf),'context':i}),this['fsi'][A(0x1d7)]({'filePath':j,'content':'\x0a'+k});}}});}catch(d){Log['error'](d);}});
@@ -1 +1 @@
1
- const a72m=a72d;(function(a,b){const j=a72d,c=a();while(!![]){try{const d=parseInt(j(0x1d5))/0x1+-parseInt(j(0x1f4))/0x2+parseInt(j(0x1f8))/0x3*(-parseInt(j(0x1d4))/0x4)+-parseInt(j(0x1f0))/0x5*(-parseInt(j(0x1e4))/0x6)+parseInt(j(0x1ee))/0x7*(-parseInt(j(0x1e6))/0x8)+-parseInt(j(0x1e1))/0x9+-parseInt(j(0x1d7))/0xa*(-parseInt(j(0x1ef))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a72c,0x223bd));const a72b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a72d;if(c){const e=c[k(0x1de)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a72a=a72b(this,function(){const l=a72d;return a72a[l(0x1e7)]()[l(0x1ec)](l(0x1f5))['toString']()[l(0x1dc)](a72a)[l(0x1ec)](l(0x1f5));});function a72c(){const p=['Generate\x20a\x20service\x20to\x20run\x20within\x20your\x20meteor\x20application.','maka\x20g:svc\x20logger','constructor','template','apply','tsx','service','2325123ZZmqmI','checkNpmPackage','fsi','423138ArmXSN','installNpmPackage','8JvyAgl','toString','imports','pathFromApp','resourceName','error','search','create','619689VNmlgQ','3389111FlusVV','10goejqc','logger','Installing\x20winston','maka\x20{generate,\x20g}:{service}\x20[service-type]','315128yqQJSD','(((.+)+)+)+$','getProjectConfig','services','40659kXhSgp','svc','engines','4rzGtzs','209065BbnIEI','type','10PRBQVk','startup','service/logger/logger.js'];a72c=function(){return p;};return a72c();}a72a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a72d(a,b){const c=a72c();return a72d=function(d,e){d=d-0x1d4;let f=c[d];return f;},a72d(a,b);}import{Log}from'../tools/log/log.class.js';Generator[a72m(0x1ed)]({'name':a72m(0x1e0),'aliases':[a72m(0x1f9)],'usage':a72m(0x1f3),'shortDesc':a72m(0x1da),'validOpts':[a72m(0x1d6)],'validArgs':[a72m(0x1f1)],'maxArgLength':0x1,'minArgLength':0x1,'examples':[a72m(0x1db)]},async function(a,b){const n=a72m;try{const c=this['fsi'][n(0x1f6)]();this[n(0x1e3)]['withValue'](c,async()=>{const o=n,d=this['fsi'][o(0x1e9)]({}),f=paramCase(b[o(0x1ea)]),g={'name':pascalCase(b[o(0x1ea)]),'fileName':f,'camelCase':camelCase(b[o(0x1ea)]),'type':a[0x0],'engine':c[o(0x1fa)]['js'],'noRename':!![]};let h='js';c[o(0x1fa)]['js']===o(0x1df)&&(h='ts');if(a[0x0]===o(0x1f1)){!this['fsi'][o(0x1e2)]('winston')&&await this[o(0x1e3)][o(0x1e5)]('winston\x20setimmediate',{'cwd':d,'msg':o(0x1f2)});const i=this[o(0x1e3)][o(0x1e9)]({'pathParts':[o(0x1e8),o(0x1d8),'lib',o(0x1f7),f+'.'+h]});this[o(0x1e3)][o(0x1dd)]({'srcPath':o(0x1d9),'destPath':i,'context':g,'config':c});}});}catch(d){Log[n(0x1eb)](d);}});
1
+ const a72m=a72d;function a72c(){const p=['winston','create','15GLfxZZ','14hLHnOM','762818HYpBPZ','pathFromApp','winston\x20setimmediate','checkNpmPackage','fsi','873YRsuoy','50487827oAdiaS','engines','search','service/logger/logger.js','Installing\x20winston','lib','logger','258SzJYkV','(((.+)+)+)+$','error','291WCoVFl','885420WdGIkI','7648pqaFrM','110130PlddGK','resourceName','tsx','Generate\x20a\x20service\x20to\x20run\x20within\x20your\x20meteor\x20application.','187FqEGyq','toString','apply','maka\x20g:svc\x20logger','template','maka\x20{generate,\x20g}:{service}\x20[service-type]','startup','svc','32TfYlWF','29940aIsKlc','26145XbFzrF'];a72c=function(){return p;};return a72c();}(function(a,b){const j=a72d,c=a();while(!![]){try{const d=-parseInt(j(0x1aa))/0x1*(parseInt(j(0x1bf))/0x2)+-parseInt(j(0x1bc))/0x3*(parseInt(j(0x1be))/0x4)+-parseInt(j(0x1a7))/0x5*(parseInt(j(0x1b9))/0x6)+-parseInt(j(0x1ac))/0x7*(parseInt(j(0x1a5))/0x8)+-parseInt(j(0x1b1))/0x9*(parseInt(j(0x1a6))/0xa)+parseInt(j(0x19d))/0xb*(-parseInt(j(0x1bd))/0xc)+parseInt(j(0x1b2))/0xd*(parseInt(j(0x1ab))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a72c,0xa2c6e));function a72d(a,b){const c=a72c();return a72d=function(d,e){d=d-0x19b;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(0x19f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a72a=a72b(this,function(){const l=a72d;return a72a['toString']()[l(0x1b4)](l(0x1ba))[l(0x19e)]()['constructor'](a72a)[l(0x1b4)](l(0x1ba));});a72a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a72m(0x1a9)]({'name':'service','aliases':[a72m(0x1a4)],'usage':a72m(0x1a2),'shortDesc':a72m(0x19c),'validOpts':['type'],'validArgs':['logger'],'maxArgLength':0x1,'minArgLength':0x1,'examples':[a72m(0x1a0)]},async function(a,b){const n=a72m;try{const c=this[n(0x1b0)]['getProjectConfig']();this['fsi']['withValue'](c,async()=>{const o=n,d=this[o(0x1b0)][o(0x1ad)]({}),f=paramCase(b[o(0x1c0)]),g={'name':pascalCase(b[o(0x1c0)]),'fileName':f,'camelCase':camelCase(b[o(0x1c0)]),'type':a[0x0],'engine':c[o(0x1b3)]['js'],'noRename':!![]};let h='js';c[o(0x1b3)]['js']===o(0x19b)&&(h='ts');if(a[0x0]===o(0x1b8)){!this[o(0x1b0)][o(0x1af)](o(0x1a8))&&await this['fsi']['installNpmPackage'](o(0x1ae),{'cwd':d,'msg':o(0x1b6)});const i=this[o(0x1b0)][o(0x1ad)]({'pathParts':['imports',o(0x1a3),o(0x1b7),'services',f+'.'+h]});this[o(0x1b0)][o(0x1a1)]({'srcPath':o(0x1b5),'destPath':i,'context':g,'config':c});}});}catch(d){Log[n(0x1bb)](d);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a73d,c=a();while(!![]){try{var d=-parseInt(f(0x98))/0x1+-parseInt(f(0x96))/0x2+parseInt(f(0x97))/0x3*(parseInt(f(0x9c))/0x4)+parseInt(f(0x8d))/0x5*(parseInt(f(0x94))/0x6)+-parseInt(f(0x8f))/0x7+parseInt(f(0x9b))/0x8*(parseInt(f(0x91))/0x9)+-parseInt(f(0x93))/0xa*(-parseInt(f(0x92))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a73c,0x535f9));var a73b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a73d;if(c){var e=c[g(0x99)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a73a=a73b(this,function(){var h=a73d;return a73a[h(0x8e)]()[h(0x95)](h(0x90))[h(0x8e)]()[h(0x9a)](a73a)[h(0x95)](h(0x90));});function a73d(a,b){var c=a73c();return a73d=function(d,e){d=d-0x8d;var f=c[d];return f;},a73d(a,b);}a73a();function a73c(){var i=['198098jkzMrQ','820653CQDLgn','423618missIQ','apply','constructor','983832dDxXLq','8QShJNs','629535ijUqrR','toString','2727249XtFPtW','(((.+)+)+)+$','18iyRWsn','4246tVqKLW','2150VdfAJf','18OJSJbw','search'];a73c=function(){return i;};return a73c();}import'./translation.js';import'./openssl.js';
1
+ (function(a,b){var f=a73d,c=a();while(!![]){try{var d=-parseInt(f(0xfd))/0x1*(parseInt(f(0x107))/0x2)+-parseInt(f(0x106))/0x3*(parseInt(f(0x108))/0x4)+-parseInt(f(0x102))/0x5+-parseInt(f(0xf9))/0x6*(-parseInt(f(0x101))/0x7)+-parseInt(f(0x109))/0x8*(-parseInt(f(0xfa))/0x9)+-parseInt(f(0x105))/0xa+-parseInt(f(0x104))/0xb*(-parseInt(f(0xfb))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a73c,0x4dd19));var a73b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a73d;if(c){var e=c[g(0xfc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a73a=a73b(this,function(){var h=a73d;return a73a[h(0xfe)]()[h(0x103)](h(0x100))[h(0xfe)]()[h(0xff)](a73a)[h(0x103)](h(0x100));});function a73d(a,b){var c=a73c();return a73d=function(d,e){d=d-0xf9;var f=c[d];return f;},a73d(a,b);}a73a();function a73c(){var i=['22ipfKYk','1216520kvDnEI','780891LkQFtU','406xwknsQ','4mkzxAc','13472jNynCS','45708htTtpk','2439DyEFGe','3923232kZQoCN','apply','1431IduVrF','toString','constructor','(((.+)+)+)+$','238zSSRsp','1890305fRiRIt','search'];a73c=function(){return i;};return a73c();}import'./translation.js';import'./openssl.js';
@@ -1 +1 @@
1
- function a74d(a,b){const c=a74c();return a74d=function(d,e){d=d-0x123;let f=c[d];return f;},a74d(a,b);}const a74l=a74d;(function(a,b){const i=a74d,c=a();while(!![]){try{const d=parseInt(i(0x141))/0x1*(parseInt(i(0x140))/0x2)+-parseInt(i(0x137))/0x3+-parseInt(i(0x130))/0x4*(-parseInt(i(0x135))/0x5)+-parseInt(i(0x129))/0x6*(parseInt(i(0x125))/0x7)+parseInt(i(0x12d))/0x8+parseInt(i(0x136))/0x9+parseInt(i(0x139))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a74c,0x702d5));const a74b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a74d;if(c){const e=c[j(0x12b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a74a=a74b(this,function(){const k=a74d;return a74a[k(0x132)]()['search'](k(0x13e))['toString']()['constructor'](a74a)[k(0x13f)](k(0x13e));});a74a();import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';function a74c(){const o=['search','106rrUKST','7991CHpXNA','service','withValue','getProjectConfig','56kXaCTQ','appName','maka\x20{generate,\x20g}:sslconfig','join','575754SLgNhC','getConfigPath','apply','_keys','5551160tFYXOK','sslconfig','template','1540108CKCMXH','getGlobalConfig','toString','openssl/openssl.conf','create','5eoMSfG','919728oujmrs','1867689ofdIPE','error','2450750FBtNMC','fsi','maka\x20g:sslconfig\x20--env\x20dev','env','Generate\x20a\x20new\x20openssl\x20config\x20file','(((.+)+)+)+$'];a74c=function(){return o;};return a74c();}import a74e from'path';Generator[a74l(0x134)]({'name':a74l(0x12e),'usage':a74l(0x127),'shortDesc':a74l(0x13d),'noResource':!![],'requiredOpts':[a74l(0x13c)],'examples':[a74l(0x13b)],'validOpts':[a74l(0x13c)]},async function(a,b){const m=a74l;try{const c=await this[m(0x13a)][m(0x124)](),d=await this[m(0x13a)][m(0x131)](),f=this[m(0x13a)][m(0x12a)](b[m(0x13c)]),g=a74e[m(0x128)](f,m(0x12c),'openssl.conf');await this[m(0x13a)][m(0x123)](c,async()=>{const n=m,h={'app':d[n(0x126)],'noRename':!![]};await this[n(0x13a)][n(0x12f)]({'srcPath':n(0x133),'destPath':g,'framework':n(0x142),'context':h,'config':c});});}catch(h){Log[m(0x138)](h);}});
1
+ const a74l=a74d;function a74c(){const o=['maka\x20g:sslconfig\x20--env\x20dev','constructor','openssl.conf','192528joqXnQ','openssl/openssl.conf','1230aciWXF','apply','(((.+)+)+)+$','toString','1FddeoN','1945251pKkPJl','template','sslconfig','search','250040MXoZLk','1755256JGZVsS','create','_keys','952178ljLGZb','5198712cGHhOj','maka\x20{generate,\x20g}:sslconfig','withValue','fsi','join','env','Generate\x20a\x20new\x20openssl\x20config\x20file','appName','2039727apSTQt','10aIpbMc'];a74c=function(){return o;};return a74c();}(function(a,b){const i=a74d,c=a();while(!![]){try{const d=-parseInt(i(0xe5))/0x1*(-parseInt(i(0xee))/0x2)+parseInt(i(0xda))/0x3+-parseInt(i(0xeb))/0x4*(-parseInt(i(0xdb))/0x5)+parseInt(i(0xef))/0x6+parseInt(i(0xe6))/0x7+parseInt(i(0xea))/0x8+parseInt(i(0xdf))/0x9*(-parseInt(i(0xe1))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a74c,0x8d1da));const a74b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a74d;if(c){const e=c[j(0xe2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a74a=a74b(this,function(){const k=a74d;return a74a['toString']()[k(0xe9)]('(((.+)+)+)+$')[k(0xe4)]()[k(0xdd)](a74a)[k(0xe9)](k(0xe3));});a74a();import{Generator}from'../../generator.js';function a74d(a,b){const c=a74c();return a74d=function(d,e){d=d-0xd8;let f=c[d];return f;},a74d(a,b);}import{Log}from'../../tools/log/log.class.js';import a74e from'path';Generator[a74l(0xec)]({'name':a74l(0xe8),'usage':a74l(0xf0),'shortDesc':a74l(0xd8),'noResource':!![],'requiredOpts':[a74l(0xf4)],'examples':[a74l(0xdc)],'validOpts':['env']},async function(a,b){const m=a74l;try{const c=await this[m(0xf2)]['getProjectConfig'](),d=await this[m(0xf2)]['getGlobalConfig'](),f=this[m(0xf2)]['getConfigPath'](b[m(0xf4)]),g=a74e[m(0xf3)](f,m(0xed),m(0xde));await this[m(0xf2)][m(0xf1)](c,async()=>{const n=m,h={'app':d[n(0xd9)],'noRename':!![]};await this[n(0xf2)][n(0xe7)]({'srcPath':n(0xe0),'destPath':g,'framework':'service','context':h,'config':c});});}catch(h){Log['error'](h);}});