@maka/maka-cli 4.4.4 → 4.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/obf/package.json +1 -1
- package/bundle/obf/src/command.js +1 -1
- package/bundle/obf/src/commands/_index.js +1 -1
- package/bundle/obf/src/commands/aws/_index.js +1 -1
- package/bundle/obf/src/commands/aws/aws.command.js +1 -1
- package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/build/_index.js +1 -1
- package/bundle/obf/src/commands/build/build.js +1 -1
- package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/create.js +1 -1
- package/bundle/obf/src/commands/debug.js +1 -1
- package/bundle/obf/src/commands/deploy.js +1 -1
- package/bundle/obf/src/commands/game/_index.js +1 -1
- package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/play.command.js +1 -1
- package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/generate.js +1 -1
- package/bundle/obf/src/commands/get/_index.js +1 -1
- package/bundle/obf/src/commands/get/get.command.js +1 -1
- package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/help.js +1 -1
- package/bundle/obf/src/commands/install.js +1 -1
- package/bundle/obf/src/commands/jsdoc.js +1 -1
- package/bundle/obf/src/commands/lint.js +1 -1
- package/bundle/obf/src/commands/login.js +1 -1
- package/bundle/obf/src/commands/logout.js +1 -1
- package/bundle/obf/src/commands/logs.js +1 -1
- package/bundle/obf/src/commands/maka.cmd.js +1 -1
- package/bundle/obf/src/commands/murder.js +1 -1
- package/bundle/obf/src/commands/proxy.js +1 -1
- package/bundle/obf/src/commands/reconfig.js +1 -1
- package/bundle/obf/src/commands/run/_index.js +1 -1
- package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/run/run.command.js +1 -1
- package/bundle/obf/src/commands/set/_index.js +1 -1
- package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/set.command.js +1 -1
- package/bundle/obf/src/commands/ssh.js +1 -1
- package/bundle/obf/src/commands/ssl.js +1 -1
- package/bundle/obf/src/commands/test.js +1 -1
- package/bundle/obf/src/commands/version.js +1 -1
- package/bundle/obf/src/error.js +1 -1
- package/bundle/obf/src/generator.js +1 -1
- package/bundle/obf/src/generators/_index.js +1 -1
- package/bundle/obf/src/generators/api.js +1 -1
- package/bundle/obf/src/generators/collection.js +1 -1
- package/bundle/obf/src/generators/component.js +1 -1
- package/bundle/obf/src/generators/config.js +1 -1
- package/bundle/obf/src/generators/dbc.js +1 -1
- package/bundle/obf/src/generators/dockerfile.js +1 -1
- package/bundle/obf/src/generators/hook.js +1 -1
- package/bundle/obf/src/generators/kit.js +1 -1
- package/bundle/obf/src/generators/layout.js +1 -1
- package/bundle/obf/src/generators/maka.gen.js +1 -1
- package/bundle/obf/src/generators/methods.js +1 -1
- package/bundle/obf/src/generators/package.js +1 -1
- package/bundle/obf/src/generators/page.js +1 -1
- package/bundle/obf/src/generators/publish.js +1 -1
- package/bundle/obf/src/generators/route.js +1 -1
- package/bundle/obf/src/generators/service.js +1 -1
- package/bundle/obf/src/generators/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/translation.js +1 -1
- package/bundle/obf/src/maka.js +1 -1
- package/bundle/obf/src/tool.js +1 -1
- package/bundle/obf/src/tools/actions/actions.class.js +1 -1
- package/bundle/obf/src/tools/actions/actions.test.js +1 -1
- package/bundle/obf/src/tools/aws/aws.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
- package/bundle/obf/src/tools/docker/docker.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
- package/bundle/obf/src/tools/https/https.class.js +1 -1
- package/bundle/obf/src/tools/https/https.interface.js +1 -1
- package/bundle/obf/src/tools/log/log.class.js +1 -1
- package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a56d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a56d,c=a();while(!![]){try{var d=-parseInt(f(0x12d))/0x1*(parseInt(f(0x12a))/0x2)+parseInt(f(0x12e))/0x3+-parseInt(f(0x124))/0x4+parseInt(f(0x125))/0x5*(-parseInt(f(0x129))/0x6)+-parseInt(f(0x12c))/0x7+parseInt(f(0x12b))/0x8+parseInt(f(0x128))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0xef5b1));var a56b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a56d;if(c){var e=c[g(0x123)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a56a=a56b(this,function(){var h=a56d;return a56a[h(0x130)]()[h(0x127)](h(0x12f))[h(0x130)]()[h(0x126)](a56a)['search'](h(0x12f));});function a56d(a,b){var c=a56c();return a56d=function(d,e){d=d-0x123;var f=c[d];return f;},a56d(a,b);}a56a();import'./services/_index.js';import'./api.js';import'./collection.js';import'./component.js';import'./config.js';import'./dbc.js';import'./hook.js';import'./kit.js';import'./layout.js';import'./methods.js';import'./package.js';import'./publish.js';import'./route.js';import'./service.js';import'./page.js';import'./maka.gen.js';import'./dockerfile.js';import'./maka.gen.js';function a56c(){var i=['183850IuBSjA','7001304DuUZAX','5021793IOHLVu','2oMdfDw','4134033oSVksN','(((.+)+)+)+$','toString','apply','6083896xcylxU','8121515xqmUSQ','constructor','search','24963777LrgVbR','6qTEbex'];a56c=function(){return i;};return a56c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a57z=a57d;(function(a,b){const w=a57d,c=a();while(!![]){try{const d=parseInt(w(0x219))/0x1*(parseInt(w(0x1d9))/0x2)+-parseInt(w(0x1f9))/0x3*(-parseInt(w(0x208))/0x4)+parseInt(w(0x1db))/0x5+parseInt(w(0x1fd))/0x6+parseInt(w(0x1e2))/0x7+parseInt(w(0x1f6))/0x8+-parseInt(w(0x20b))/0x9*(parseInt(w(0x20e))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0x2c46b));function a57d(a,b){const c=a57c();return a57d=function(d,e){d=d-0x1d7;let f=c[d];return f;},a57d(a,b);}const a57b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a57d;if(c){const e=c[x(0x1e9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a57a=a57b(this,function(){const y=a57d;return a57a['toString']()[y(0x221)](y(0x227))[y(0x1fa)]()[y(0x20a)](a57a)[y(0x221)](y(0x227));});a57a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import a57e from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';function a57c(){const C=['test','api/fixtures.js','ddp-rate-limiter','create','log','engines','maka:check','2489464QwvtiM','length','error','418575MzkNNa','toString','GraphQL','\x27;\x0a','1854780EwXtkB','withValue','invoke','import\x20\x27./register-','import\x20{\x20typeDefs\x20as\x20','api/api.js','graphql','mdg:validated-method','push','/graphql/resolvers','/graphql/typeDefs','8qxjAah','api/register-api.js','constructor','10281951VVoLLz','Verifying\x20meteor\x20package\x20requirements\x20...','injectAtBeginningOfFile','10aPUvKP','injectIntoFile','withFixtures','\x0aimport\x20{\x20resolvers\x20as\x20','const','checkMeteorPackage','Resolvers\x20}\x20from\x20\x27','-api.','pathFromApp','exit','Resolvers);\x0a\x0a','18346XCenKJ','includes','options','imports','apiAnswers','RPC\x20(Methods)','index.','Publications','search','api/publications.js','withRest','maka:rest','rest','-api\x27;','(((.+)+)+)+$','fsi','maka\x20g:api\x20todos','api/typeDefs.js','none','No\x20API\x20boundaries\x20selected','notice','api/tests.js','getProjectConfig','withGql','TypeDefs\x20}\x20from\x20\x27','checkbox','if\x20\x5c(','20dWGyEd','withPubs','684865PJUAGt','REST\x20API','fixtures.','api','injectAtEndOfFile','typeList.push(','apollo','727986CLfAFu','rest-api.','server','collection','.app-tests.','startup','template','apply','dir','resolverList.push(','withMethods','register-','Scaffolding\x20for\x20an\x20api\x20concept\x20(i.e.\x20Todos).'];a57c=function(){return C;};return a57c();}Generator[a57z(0x1f2)]({'name':a57z(0x1de),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{api}\x20<resource-name>','shortDesc':a57z(0x1ee),'validOpts':[a57z(0x1ea)],'examples':[a57z(0x229)]},async function(a,b){const A=a57z;try{const c=this[A(0x228)][A(0x22f)](),d=[{'name':A(0x21e),'value':A(0x1ec)},{'name':'Fixtures','value':'withFixtures'},{'name':A(0x220),'value':'withPubs'}];c[A(0x1f4)]['api']===A(0x225)&&d[A(0x205)]({'name':A(0x1dc),'value':'withRest'});c[A(0x1f4)]['graphql']===A(0x1e1)&&d[A(0x205)]({'name':A(0x1fb),'value':A(0x230)});const f={'type':A(0x1d7),'name':A(0x21d),'message':'API\x20boundaries\x20to\x20create','pageSize':0x64,'choices':d},{apiAnswers:g}=await Actions[A(0x21b)](f);g[A(0x1f7)]===0x0&&(Log[A(0x1f8)](A(0x22c)),process[A(0x217)](0x1)),this[A(0x228)][A(0x1fe)](c,async()=>{const B=A,h=this[B(0x228)][B(0x216)]({}),i=a[0x0],j=paramCase(i),k=camelCase(i),l=b[B(0x1ea)]?'/'+b['dir']+'/':'/',m={'name':pascalCase(i),'fileName':j,'camelCase':pascalCase(i),'optsDir':l,'api':c[B(0x1f4)][B(0x1de)],'graphql':c[B(0x1f4)]['graphql'],'test':c[B(0x1f4)]['test'],'noRename':!![],'withPubs':g['includes']('withPubs'),'withFixtures':g['includes'](B(0x210)),'withMethods':g['includes'](B(0x1ec)),'withRest':g[B(0x21a)]('withRest')};let n='js';c[B(0x1f4)]['js']==='tsx'&&(n='ts');(!this[B(0x228)][B(0x213)](B(0x224))||!this[B(0x228)][B(0x213)](B(0x1f5))||!this[B(0x228)][B(0x213)](B(0x1f1))||!this[B(0x228)][B(0x213)](B(0x204))||!this[B(0x228)][B(0x213)]('mongo'))&&(Log[B(0x22d)](B(0x20c)),await this[B(0x228)]['installMeteorPackage']('maka:rest\x20maka:check\x20ddp-rate-limiter\x20mdg:validated-method\x20mongo',{'cwd':h}));const o=a57e['findGenerator'](B(0x1e5));o&&await o[B(0x1ff)]([j],{'config':c,'where':B(0x1e4)});c[B(0x1f4)][B(0x1de)]===B(0x225)&&(m[B(0x223)]&&this[B(0x228)]['template']({'srcPath':B(0x202),'destPath':this[B(0x228)][B(0x216)]({'pathParts':['imports',B(0x1de),b[B(0x1ea)],j,B(0x1e3)+n]}),'context':m,'config':c}));m[B(0x1ec)]&&this['fsi'][B(0x1e8)]({'srcPath':'api/methods.js','destPath':this[B(0x228)][B(0x216)]({'pathParts':[B(0x21c),B(0x1de),b[B(0x1ea)],j,'rpc-methods.'+n]}),'context':m,'config':c});m[B(0x210)]&&this[B(0x228)]['template']({'srcPath':B(0x1f0),'destPath':this[B(0x228)][B(0x216)]({'pathParts':['imports','api',b[B(0x1ea)],j,B(0x1dd)+n]}),'context':m,'config':c});c[B(0x1f4)][B(0x1ef)]!==B(0x22b)&&this[B(0x228)][B(0x1e8)]({'srcPath':B(0x22e),'destPath':this[B(0x228)][B(0x216)]({'pathParts':[B(0x21c),B(0x1de),b[B(0x1ea)],j,j+B(0x1e6)+n]}),'context':m,'config':c});m[B(0x1da)]&&this[B(0x228)]['template']({'srcPath':B(0x222),'destPath':this[B(0x228)][B(0x216)]({'pathParts':['imports',B(0x1de),b[B(0x1ea)],j,'publications.'+n]}),'context':m,'config':c});if(c[B(0x1f4)][B(0x203)]===B(0x1e1)){if(g[B(0x21a)](B(0x230))){const q=this[B(0x228)][B(0x216)]({'pathParts':[B(0x21c),B(0x1e7),B(0x1e4),B(0x21f)+c[B(0x1f4)]['js']]}),r=this['fsi']['rewriteDestinationPathForEngine']({'pathParts':[q],'config':c}),s=this['fsi']['pathFromApp']({'pathParts':[B(0x21c),'api',b[B(0x1ea)],j,B(0x203),'typeDefs.'+n]}),t='/imports/api'+l+j+B(0x207);this[B(0x228)][B(0x1e8)]({'srcPath':B(0x22a),'destPath':s,'context':m,'config':c}),this[B(0x228)]['injectAtBeginningOfFile']({'filePath':r,'content':B(0x201)+k+B(0x231)+t+B(0x1fc)}),this[B(0x228)][B(0x20f)]({'filePath':r,'content':B(0x1e0)+k+'TypeDefs);\x0a','begin':B(0x212),'end':B(0x1d8)});const u=this['fsi'][B(0x216)]({'pathParts':[B(0x21c),'api',b[B(0x1ea)],j,B(0x203),'resolvers.'+n]}),v='/imports/api'+l+j+B(0x206);this[B(0x228)][B(0x1e8)]({'srcPath':'api/resolvers.js','destPath':u,'context':m,'config':c}),this[B(0x228)][B(0x20d)]({'filePath':r,'content':B(0x211)+k+B(0x214)+v+'\x27;'}),this[B(0x228)]['injectIntoFile']({'filePath':r,'content':B(0x1eb)+k+B(0x218),'begin':B(0x212),'end':B(0x1d8)});}}this[B(0x228)][B(0x1e8)]({'srcPath':B(0x209),'destPath':this[B(0x228)][B(0x216)]({'pathParts':[B(0x21c),B(0x1e7),'server',B(0x1ed)+j+B(0x215)+n]}),'context':m,'config':c,'force':!![]});const p=this['fsi'][B(0x216)]({'pathParts':[B(0x21c),B(0x1e7),B(0x1e4),B(0x21f)+c[B(0x1f4)]['js']]});this[B(0x228)][B(0x1df)]({'filePath':p,'content':B(0x200)+j+B(0x226)});});}catch(h){console[A(0x1f3)](h),process[A(0x217)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a58n=a58d;(function(a,b){const k=a58d,c=a();while(!![]){try{const d=-parseInt(k(
|
|
1
|
+
function a58d(a,b){const c=a58c();return a58d=function(d,e){d=d-0x12d;let f=c[d];return f;},a58d(a,b);}function a58c(){const q=['maka\x20g:collection\x20todos','where','355OJBfRx','collection','dir','\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','checkMeteorPackage','maka\x20{generate,\x20g}:{collection,\x20col}\x20<name>\x20[--where]','apply','search','1124148JIOpfR','error','template','717245NQLZTS','getProjectConfig','installMeteorPackage','collections','withValue','9428ZHxWhE','fsi','injectAtEndOfFile','(((.+)+)+)+$','mongo','imports','none','pathFromApp','maka:check','startup','collection/collection.js','notice','Verifying\x20meteor\x20package\x20requirements:\x20mongo\x20...','8606277zTVbDJ','appPathPrefix','engines','toString','col','tsx','1853538iFtfvP','Verifying\x20meteor\x20package\x20requirements:\x20maka:check\x20...','collection/tests.js','test','create','Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection','968800gWXioi','1213254TLSbIO','resourceName','8kARaEy'];a58c=function(){return q;};return a58c();}const a58n=a58d;(function(a,b){const k=a58d,c=a();while(!![]){try{const d=-parseInt(k(0x143))/0x1+-parseInt(k(0x133))/0x2+parseInt(k(0x15b))/0x3+-parseInt(k(0x148))/0x4*(-parseInt(k(0x138))/0x5)+-parseInt(k(0x140))/0x6+parseInt(k(0x132))/0x7+-parseInt(k(0x135))/0x8*(-parseInt(k(0x155))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a58c,0x59fe8));const a58b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a58d;if(c){const e=c[l(0x13e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a58a=a58b(this,function(){const m=a58d;return a58a[m(0x158)]()['search'](m(0x14b))[m(0x158)]()['constructor'](a58a)[m(0x13f)]('(((.+)+)+)+$');});a58a();import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a58n(0x130)]({'name':a58n(0x139),'aliases':[a58n(0x159)],'usage':a58n(0x13d),'checkWhere':!![],'shortDesc':a58n(0x131),'validOpts':[a58n(0x13a),a58n(0x137)],'description':a58n(0x13b),'examples':[a58n(0x136)]},async function(a,b){const o=a58n;try{const c=this[o(0x149)][o(0x14f)]({}),d=this['fsi'][o(0x144)]();this[o(0x149)][o(0x147)](d,async()=>{const p=o,f=paramCase(b['resourceName']),g={'name':pascalCase(b[p(0x134)]),'collectionName':pascalCase(b[p(0x134)]),'fileName':f,'where':b[p(0x137)],'test':d['engines'][p(0x12f)],'noRename':!![]};let h='js';d[p(0x157)]['js']===p(0x15a)&&(h='ts');!this[p(0x149)]['checkMeteorPackage'](p(0x14c))&&(Log[p(0x153)](p(0x154)),await this[p(0x149)]['installMeteorPackage'](p(0x14c),{'cwd':c}));!this[p(0x149)][p(0x13c)](p(0x150))&&(Log[p(0x153)](p(0x12d)),await this['fsi'][p(0x145)](p(0x150),{'cwd':c}));this['fsi']['template']({'srcPath':p(0x152),'destPath':this['fsi'][p(0x14f)]({'pathParts':[p(0x14d),p(0x151),b[p(0x156)],'collections',b[p(0x13a)],f+'.'+h]}),'context':g,'config':d});d['engines']['test']!==p(0x14e)&&this['fsi'][p(0x142)]({'srcPath':p(0x12e),'destPath':this['fsi'][p(0x14f)]({'pathParts':[p(0x14d),p(0x151),b[p(0x156)],p(0x146),b[p(0x13a)],f+'.app-tests.'+h]}),'context':g,'config':d});const i=b['dir']?'/'+b[p(0x13a)]+'/':'/',j=this[p(0x149)]['pathFromApp']({'pathParts':[p(0x14d),p(0x151),b['appPathPrefix'],'index.'+d[p(0x157)]['js']]});this[p(0x149)][p(0x14a)]({'filePath':j,'content':'import\x20\x27./collections'+i+f+'\x27;'});});}catch(f){Log[o(0x141)](f);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a59c(){const t=['6NoPGRq','installNpmPackage','test','injectAtBeginningOfFile','maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','580690XqWwPx','string','1741908ykeLdx','10GoZQqz','graphql','root','checkNpmPackage','setTemplate','className','ramda','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','withTranslations','theme','reflux','search','engines','\x20};\x0a','apply','import\x20\x27./','Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','getProjectConfig','8994ihMRSh','resourceName','error','injectAtEndOfFile','import\x20\x27','965DfALkn','features','comp','test/test.js','imports','findAppDirectory','.tests.js','492650qCvQji','react','/imports/ui/components','create','pathFromProject','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','import\x20{\x20','ssr','\x27;\x0a','248YlXjNL','fsi','lib','.js','dir','template','477482rPgofl','rewriteDestinationPathForEngine','startup','\x20}\x20from\x20\x27','20079USjNoE','warn','component','component/component.js','tsx','templates.js','true','css','fileName','pathFromApp','toString','export\x20{\x20','561624ihChlY','cssCaseName','client'];a59c=function(){return t;};return a59c();}const a59q=a59d;function a59d(a,b){const c=a59c();return a59d=function(d,e){d=d-0x1e3;let f=c[d];return f;},a59d(a,b);}(function(a,b){const n=a59d,c=a();while(!![]){try{const d=parseInt(n(0x20f))/0x1+parseInt(n(0x200))/0x2*(-parseInt(n(0x222))/0x3)+-parseInt(n(0x21f))/0x4+parseInt(n(0x1f9))/0x5*(parseInt(n(0x1f4))/0x6)+parseInt(n(0x229))/0x7+parseInt(n(0x209))/0x8*(-parseInt(n(0x213))/0x9)+-parseInt(n(0x22a))/0xa*(parseInt(n(0x227))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a59c,0x3fa12));const a59b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a59d;if(c){const e=c[o(0x1f0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a59a=a59b(this,function(){const p=a59d;return a59a[p(0x21d)]()[p(0x1ed)]('(((.+)+)+)+$')[p(0x21d)]()['constructor'](a59a)['search']('(((.+)+)+)+$');});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=[a59q(0x1fb)];Generator[a59q(0x203)]({'name':a59q(0x215),'aliases':aliases,'usage':a59q(0x226),'shortDesc':a59q(0x1f2),'validOpts':[a59q(0x20d)],'examples':['maka\x20g:comp\x20todos/todos-item']},async function(a,b){const r=a59q;try{const c=this[r(0x20a)][r(0x1fe)](),d=r(0x202),f=this[r(0x20a)]['pathFromApp']({'pathParts':[d,b[r(0x20d)],paramCase(b[r(0x1f5)]),paramCase(b[r(0x1f5)])]}),g=await this[r(0x20a)][r(0x1f3)]();this[r(0x20a)]['withValue'](g,async()=>{const s=r;typeof g[s(0x20e)]['test']===s(0x228)&&(g['template'][s(0x224)]=g['template'][s(0x224)]===s(0x219)?!![]:![],this[s(0x20a)][s(0x1e6)](s(0x224),g['template'][s(0x224)]));typeof g[s(0x20e)]['css']===s(0x228)&&(g[s(0x20e)][s(0x21a)]=g[s(0x20e)][s(0x21a)]===s(0x219)?!![]:![],this[s(0x20a)][s(0x1e6)](s(0x21a),g[s(0x20e)][s(0x21a)]));typeof g[s(0x20e)]['js']===s(0x228)&&(g['template']['js']=g[s(0x20e)]['js']===s(0x219)?!![]:![],this[s(0x20a)][s(0x1e6)]('js',g[s(0x20e)]['js']));!g[s(0x1fa)]&&(g[s(0x1fa)]={});!b['root']&&!this[s(0x20a)][s(0x1e5)](s(0x1e8))&&(Log[s(0x214)](s(0x1e9)),await this[s(0x20a)][s(0x223)](s(0x1e8),{'cwd':c}));if(!b[s(0x1e4)]&&!this['fsi'][s(0x1e5)](s(0x201))){Log[s(0x1f6)](s(0x205));return;}const h={'name':pascalCase(b[s(0x1f5)]),'myPath':a59e['relative'](this[s(0x20a)][s(0x204)]({}),f),'cssCaseName':paramCase(b[s(0x1f5)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b['resourceName']),'graphql':g[s(0x1ee)][s(0x1e3)],'features':g[s(0x1fa)],'client':g[s(0x1ee)]['client'],'api':g['engines']['api'],'ssr':g['engines'][s(0x207)],'test':g[s(0x1ee)][s(0x224)],'theme':g[s(0x1ee)][s(0x1eb)],'isLayout':![],'isComponent':!![],'withTranslations':g[s(0x1fa)][s(0x1ea)]};this['fsi']['template']({'srcPath':s(0x216),'destPath':f+s(0x20c),'context':h,'framework':s(0x201),'config':g});g['engines'][s(0x224)]!=='none'&&this[s(0x20a)][s(0x20e)]({'srcPath':s(0x1fc),'destPath':f+s(0x1ff),'context':h,'framework':s(0x201),'config':g});g[s(0x20e)][s(0x21a)]&&(this[s(0x20a)][s(0x20e)]({'srcPath':'template/template.css','destPath':f+'.css','context':Object['assign']({},h,{'className':paramCase(b['resourceName'])}),'config':g}),this['fsi'][s(0x225)]({'filePath':f+'.'+g[s(0x1ee)]['js'],'content':s(0x1f1)+h[s(0x220)]+'.'+g[s(0x1ee)][s(0x21a)]+'\x27;'}));const i=b[s(0x20d)]?'/'+b[s(0x20d)]+'/':'/',j=''+d+i+h[s(0x21b)]+'/'+h[s(0x21b)];let k;if(g['engines'][s(0x207)]===s(0x219)){const l=this['fsi']['pathFromApp']({'pathParts':[s(0x1fd),s(0x211),s(0x20b),'templates.js']});k=this[s(0x20a)]['rewriteDestinationPathForEngine']({'pathParts':[l],'config':g});}else{const m=this[s(0x20a)][s(0x21c)]({'pathParts':[s(0x1fd),s(0x211),s(0x221),s(0x218)]});k=this[s(0x20a)][s(0x210)]({'pathParts':[m],'config':g});}g['engines'][s(0x221)]==='react'||g[s(0x1ee)][s(0x221)]===s(0x1ec)?(g[s(0x1ee)]['js']===s(0x217)?this[s(0x20a)][s(0x225)]({'filePath':k,'content':s(0x206)+h['className']+s(0x212)+j+s(0x208)}):this['fsi'][s(0x225)]({'filePath':k,'content':s(0x206)+h[s(0x1e7)]+s(0x212)+j+'.'+g[s(0x1ee)]['js']+'\x27;\x0a'}),this[s(0x20a)]['injectAtEndOfFile']({'filePath':k,'content':s(0x21e)+h[s(0x1e7)]+s(0x1ef)})):this['fsi'][s(0x1f7)]({'filePath':k,'content':s(0x1f8)+j+'.'+g['engines']['js']+s(0x208)});});}catch(h){Log['error'](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a60k=a60d;(function(a,b){const h=a60d,c=a();while(!![]){try{const d=parseInt(h(0x17e))/0x1*(-parseInt(h(0x197))/0x2)+parseInt(h(0x19a))/0x3+parseInt(h(0x190))/0x4*(-parseInt(h(0x183))/0x5)+-parseInt(h(0x187))/0x6*(parseInt(h(0x193))/0x7)+parseInt(h(0x18b))/0x8+parseInt(h(0x18a))/0x9*(parseInt(h(0x189))/0xa)+parseInt(h(0x182))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a60c,0xc2d52));const a60b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a60d;if(c){const e=c[i(0x199)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a60a=a60b(this,function(){const j=a60d;return a60a[j(0x198)]()[j(0x184)]('(((.+)+)+)+$')[j(0x198)]()['constructor'](a60a)[j(0x184)](j(0x185));});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-0x17d;let f=c[d];return f;},a60d(a,b);}Generator[a60k(0x196)]({'name':'config','usage':a60k(0x18d),'shortDesc':'Generate\x20configuration\x20settings.','validOpts':[a60k(0x181)],'examples':[a60k(0x17d)]},function(a,b){const l=a60k,c=this[l(0x192)][l(0x195)]();this[l(0x192)][l(0x18c)](c,()=>{const m=l,d={'app':c[m(0x191)],'appFileCase':paramCase(c[m(0x191)]),'name':pascalCase(b[m(0x186)]),'fileName':paramCase(b[m(0x186)]),'camelCase':camelCase(b[m(0x186)]),'userName':m(0x19b),'isDocker':b[m(0x181)]};let e=a[0x0];if(e===m(0x19d))e='development';else e===m(0x194)&&(e=m(0x18f));const f=this['fsi'][m(0x180)]({'pathParts':['config',e,m(0x18e)]});this[m(0x192)]['template']({'srcPath':'config/settings.json','destPath':f,'context':d,'config':c});if(!b['isDocker']){const g=this[m(0x192)][m(0x180)]({'pathParts':[m(0x188),e,m(0x17f)]});this[m(0x192)]['template']({'srcPath':m(0x19c),'destPath':g,'context':d,'config':c});}});});function a60c(){const n=['production','40UKYqAI','appName','fsi','4742703MBTRkG','prod','getProjectConfig','create','34ikTwiQ','toString','apply','1415319WnKGWU','ubuntu','config/process.env','dev','maka\x20g:config\x20production','37042roAdgV','process.env','pathFromProject','isDocker','24939486BudcuA','732280oQcTNJ','search','(((.+)+)+)+$','resourceName','12auLFJT','config','320JVxgTT','308421LalsHH','3294072JdYElb','withValue','maka\x20{generate,\x20g}:{config}\x20<name>','settings.json'];a60c=function(){return n;};return a60c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a61q=a61d;(function(a,b){const n=a61d,c=a();while(!![]){try{const d=-parseInt(n(0x9d))/0x1*(-parseInt(n(0xa9))/0x2)+parseInt(n(0xac))/0x3+parseInt(n(0xb6))/0x4+-parseInt(n(0xa2))/0x5+-parseInt(n(0xbb))/0x6+parseInt(n(0xb8))/0x7*(parseInt(n(0xc2))/0x8)+parseInt(n(0x90))/0x9*(-parseInt(n(0xa0))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a61c,0x2af8f));const a61b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a61d;if(c){const e=c[o(0xb1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a61a=a61b(this,function(){const p=a61d;return a61a[p(0x8e)]()['search'](p(0xbf))[p(0x8e)]()['constructor'](a61a)[p(0x91)]('(((.+)+)+)+$');});function a61c(){const t=['resourceName','maka\x20g:dbc\x20geoserver\x20--type=pgsql','562yTTBot','imports','dir','140586ypqVVb','(blank)','dbc/register-dbc.js','import\x20\x27./register-','checkNpmPackage','apply','dbc/config.js','type','Npm\x20package\x20\x22better-sqlite3\x22\x20not\x20installed,\x20installing...','Npm\x20package\x20\x22pg\x22\x20not\x20installed,\x20installing...','1272252ydOFfF','injectAtEndOfFile','458941ptBqMB','error','tsx','2048826KTgpXp','pathFromApp','server','Invalid\x20type\x20','(((.+)+)+)+$','better-sqlite3','fsi','8hgkWkn','MS\x20SQL','indexOf','Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','pgsql','maka\x20{generate,\x20g}:{dbc}\x20<connection-name>\x20--type=\x20pgsql\x20|\x20mssql\x20|\x20sqlite','dbc','toString','options','137601tfxMxU','search','startup','-dbc\x27;','register-','config.','dbc/conn.js','getProjectConfig','warn','mssql','installNpmPackage','conn.','template','1120KRklGL','index.','PostgreSQL','140yvZznw','engines','68380dtTXnc','list','Npm\x20package\x20\x22mssql\x22\x20not\x20installed,\x20installing...','withValue','sqlite'];a61c=function(){return t;};return a61c();}a61a();import{camelCase,paramCase,pascalCase}from'change-case';function a61d(a,b){const c=a61c();return a61d=function(d,e){d=d-0x8e;let f=c[d];return f;},a61d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';Generator['create']({'name':a61q(0xc8),'usage':a61q(0xc7),'shortDesc':a61q(0xc5),'validOpts':[a61q(0xb3),'dir'],'examples':[a61q(0xa8)]},async function(a,b){const r=a61q;try{const c=await this[r(0xc1)][r(0x97)](),d=this[r(0xc1)][r(0xbc)]({}),f=paramCase(b[r(0xa7)]);if(!b['type']){const h={'type':r(0xa3),'name':'dbAnswer','message':'DB\x20Driver','choices':[{'name':r(0x9f),'value':r(0xc6)},{'name':r(0xc3),'value':'mssql'}]},{dbAnswer:i}=await Actions[r(0x8f)](h);i&&(b[r(0xb3)]=i);}const g={'name':pascalCase(b[r(0xa7)]),'fileName':paramCase(b[r(0xa7)]),'camelCase':camelCase(b['resourceName']),'type':b['type'],'engine':c[r(0xa1)]['js'],'noRename':!![]};this['fsi'][r(0xa5)](c,async()=>{const s=r;let j='js';c['engines']['js']===s(0xba)&&(j='ts');const k=['mssql','pgsql'];if(k[s(0xc4)](g['type'])<0x0){const m=g[s(0xb3)]?g[s(0xb3)]:s(0xad);Log[s(0xb9)](s(0xbe)+m+',\x20you\x20must\x20provide\x20a\x20valid\x20type\x20as\x20an\x20argument');return;}b[s(0xb3)]===s(0xc6)&&!this[s(0xc1)][s(0xb0)]('pg')&&(Log['warn'](s(0xb5)),await this[s(0xc1)][s(0x9a)]('pg',{'cwd':d}));b['type']==='mssql'&&!this['fsi'][s(0xb0)](s(0x99))&&(Log[s(0x98)](s(0xa4)),await this[s(0xc1)][s(0x9a)](s(0x99),{'cwd':d}));b[s(0xb3)]===s(0xa6)&&!this[s(0xc1)]['checkNpmPackage'](s(0xc0))&&(Log[s(0x98)](s(0xb4)),await this[s(0xc1)][s(0x9a)](s(0xc0),{'cwd':d}));this[s(0xc1)]['template']({'srcPath':s(0xb2),'destPath':this['fsi'][s(0xbc)]({'pathParts':[s(0xaa),s(0x92),s(0xbd),'dbc',b[s(0xab)],f,s(0x95)+j]}),'context':g,'config':c}),this['fsi']['template']({'srcPath':s(0x96),'destPath':this[s(0xc1)][s(0xbc)]({'pathParts':[s(0xaa),s(0x92),'server',s(0xc8),b[s(0xab)],f,s(0x9b)+j]}),'context':g,'config':c}),this[s(0xc1)][s(0x9c)]({'srcPath':s(0xae),'destPath':this[s(0xc1)][s(0xbc)]({'pathParts':[s(0xaa),'startup',s(0xbd),s(0x94)+f+'-dbc.'+j]}),'context':g,'config':c});const l=this[s(0xc1)][s(0xbc)]({'pathParts':[s(0xaa),s(0x92),s(0xbd),s(0x9e)+c['engines']['js']]});this['fsi'][s(0xb7)]({'filePath':l,'content':s(0xaf)+f+s(0x93)});});}catch(j){Log[r(0xb9)](j);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a62i=a62d;function a62d(a,b){const c=a62c();return a62d=function(d,e){d=d-
|
|
1
|
+
const a62i=a62d;function a62d(a,b){const c=a62c();return a62d=function(d,e){d=d-0x1df;let f=c[d];return f;},a62d(a,b);}(function(a,b){const f=a62d,c=a();while(!![]){try{const d=-parseInt(f(0x1f1))/0x1*(-parseInt(f(0x1e2))/0x2)+parseInt(f(0x1fd))/0x3+parseInt(f(0x1fa))/0x4*(-parseInt(f(0x1e3))/0x5)+-parseInt(f(0x1f4))/0x6+parseInt(f(0x1e6))/0x7*(-parseInt(f(0x1e8))/0x8)+parseInt(f(0x1f9))/0x9*(parseInt(f(0x1f8))/0xa)+-parseInt(f(0x1eb))/0xb*(-parseInt(f(0x1f5))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a62c,0x48367));const a62b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a62d;if(c){const e=c[g(0x1ea)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a62a=a62b(this,function(){const h=a62d;return a62a[h(0x1ee)]()[h(0x1df)](h(0x1f3))[h(0x1ee)]()[h(0x1fe)](a62a)[h(0x1df)](h(0x1f3));});a62a();import{Generator}from'../generator.js';function a62c(){const l=['2018874QTDtIN','8127996cidBxf','withValue','getProjectConfig','539920WehGyf','36EJJxxI','2220HRBKyT','service','Generate\x20an\x20updated\x20dockerfile','121782jQCsJe','constructor','build','search','getGlobalConfig','findProjectDirectory','2HwfINr','2825vdNAQl','join','maka\x20g:dockerfile','3040373DUWrHv','Dockerfile','8aoZnnx','create','apply','11GaMWmh','maka\x20{generate,\x20g}:dockerfile','appName','toString','isFile','template','446281OukPwJ','fsi','(((.+)+)+)+$'];a62c=function(){return l;};return a62c();}import{Log}from'../tools/log/log.class.js';import a62e from'path';Generator[a62i(0x1e9)]({'name':'dockerfile','usage':a62i(0x1ec),'shortDesc':a62i(0x1fc),'validOpts':[],'noResource':!![],'examples':[a62i(0x1e5)]},async function(){const j=a62i;try{const a=await this[j(0x1f2)][j(0x1f7)](),b=await this[j(0x1f2)][j(0x1e0)](),c=this['fsi'][j(0x1e1)]();this[j(0x1f2)][j(0x1f6)](a,async()=>{const k=j,d={'app':b[k(0x1ed)],'config':a,'appPath':a62e[k(0x1e4)](c,'app'),'bundlePath':a62e['join'](c,k(0x1ff),'app.tar.gz'),'useCert':this[k(0x1f2)][k(0x1ef)](b['cert'])};this['fsi'][k(0x1f0)]({'srcPath':'docker/Dockerfile','destPath':a62e[k(0x1e4)](c,k(0x1e7)),'framework':k(0x1fb),'context':d,'config':a});});}catch(d){Log['error'](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a63c(){const t=['none','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','3825703wZpWPy','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','string','className','setTemplate','\x20}\x20from\x20\x27','10OnsZwN','true','withValue','import\x20\x27./','9QfbAHU','test/test.js','template/template.css','export\x20{\x20','css','@apollo/client\x20isomorphic-fetch','resourceName','17482250gFmcar','imports','54226EdsgUi','template','fileName','dir','installNpmPackage','cssCaseName','\x20};\x0a','12gygsSn','942537RYjXEL','apollo','2638284jtvVdR','@apollo/client','create','injectAtEndOfFile','ssr','pathFromApp','11QPFCxe','rewriteDestinationPathForEngine','relative','checkNpmPackage','import\x20\x27','.app-tests.js','injectAtBeginningOfFile','(((.+)+)+)+$','maka\x20g:hook\x20cool-hook','react','engines','graphql','\x27;\x0a','error','warn','.css','features','assign','.js','getProjectConfig','fsi','hook/hook.js','3820632qELYPX','toString','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','199604OpIhKF','tsx','constructor','search'];a63c=function(){return t;};return a63c();}const a63q=a63d;(function(a,b){const o=a63d,c=a();while(!![]){try{const d=parseInt(o(0x1c1))/0x1*(-parseInt(o(0x1c8))/0x2)+parseInt(o(0x1c9))/0x3+-parseInt(o(0x1a8))/0x4*(-parseInt(o(0x1b4))/0x5)+-parseInt(o(0x1cb))/0x6+-parseInt(o(0x1ae))/0x7+parseInt(o(0x1a5))/0x8*(-parseInt(o(0x1b8))/0x9)+-parseInt(o(0x1bf))/0xa*(-parseInt(o(0x1d1))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a63c,0x5b124));const a63b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a63a=a63b(this,function(){const p=a63d;return a63a[p(0x1a6)]()[p(0x1ab)](p(0x1d8))[p(0x1a6)]()[p(0x1aa)](a63a)[p(0x1ab)](p(0x1d8));});a63a();function a63d(a,b){const c=a63c();return a63d=function(d,e){d=d-0x1a3;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[a63q(0x1cd)]({'name':'hook','aliases':['h'],'checkWhere':![],'usage':a63q(0x1af),'shortDesc':'Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','validOpts':[a63q(0x1c4)],'examples':[a63q(0x1d9)]},async function(a,b){const r=a63q;try{const c=this[r(0x1a3)][r(0x1d4)](r(0x1da));if(!c){Log[r(0x1de)](r(0x1a7));throw new UsageError();}const d=this[r(0x1a3)][r(0x1d0)](b),f='/imports/ui/hooks',g=this[r(0x1a3)][r(0x1d0)]({'pathParts':[f,b[r(0x1c4)],paramCase(b['resourceName']),paramCase(b[r(0x1be)])]}),h=await this[r(0x1a3)][r(0x1e4)]();this[r(0x1a3)][r(0x1b6)](h,async()=>{const s=r;typeof h[s(0x1c2)][s(0x1bc)]===s(0x1b0)&&(h['template'][s(0x1bc)]=h[s(0x1c2)][s(0x1bc)]===s(0x1b5)?!![]:![],this[s(0x1a3)][s(0x1b2)](s(0x1bc),h[s(0x1c2)][s(0x1bc)]));h[s(0x1db)][s(0x1dc)]===s(0x1ca)&&!this[s(0x1d4)](s(0x1cc))&&(Log[s(0x1df)](s(0x1ad)),await this[s(0x1a3)][s(0x1c5)](s(0x1bd),{'cwd':d}));const i={'cssCaseName':paramCase(b[s(0x1be)]),'className':pascalCase(b[s(0x1be)]),'name':pascalCase(b[s(0x1be)]),'graphql':h[s(0x1db)][s(0x1dc)],'theme':h['engines']['theme'],'features':h[s(0x1e1)],'myPath':a63e[s(0x1d3)](this['fsi']['pathFromProject']({}),g),'fileName':paramCase(b[s(0x1be)]),'isComponent':![],'isLayout':![],'withTranslations':h[s(0x1e1)]['withTranslations']};this[s(0x1a3)]['template']({'srcPath':s(0x1a4),'destPath':g+s(0x1e3),'context':i,'config':h,'framework':s(0x1da)});h[s(0x1c2)][s(0x1bc)]&&(this[s(0x1a3)][s(0x1c2)]({'srcPath':s(0x1ba),'destPath':g+s(0x1e0),'context':Object[s(0x1e2)]({},i,{'className':i[s(0x1c6)]}),'config':h}),this['fsi'][s(0x1d7)]({'filePath':g+'.'+h['engines']['js'],'content':s(0x1b7)+i[s(0x1c3)]+'.'+h[s(0x1db)][s(0x1bc)]+'\x27;'}));h['engines']['test']!==s(0x1ac)&&this[s(0x1a3)][s(0x1c2)]({'srcPath':s(0x1b9),'destPath':g+s(0x1d6),'framework':s(0x1da),'context':i,'config':h});const j=b['dir']?'/'+b[s(0x1c4)]+'/':'/',k=''+f+j+i[s(0x1c3)]+'/'+i[s(0x1c3)];let l;if(h['engines'][s(0x1cf)]==='true'){const m=this[s(0x1a3)]['pathFromApp']({'pathParts':[s(0x1c0),'startup','lib','templates.js']});l=this[s(0x1a3)][s(0x1d2)]({'pathParts':[m],'config':h});}else{const n=this[s(0x1a3)][s(0x1d0)]({'pathParts':[s(0x1c0),'startup','client','templates.js']});l=this[s(0x1a3)][s(0x1d2)]({'pathParts':[n],'config':h});}h[s(0x1db)]['client']===s(0x1da)?(h[s(0x1db)]['js']===s(0x1a9)?this[s(0x1a3)][s(0x1d7)]({'filePath':l,'content':'import\x20{\x20'+i[s(0x1b1)]+s(0x1b3)+k+s(0x1dd)}):this[s(0x1a3)][s(0x1d7)]({'filePath':l,'content':'import\x20{\x20'+i[s(0x1b1)]+s(0x1b3)+k+'.'+h['engines']['js']+s(0x1dd)}),this[s(0x1a3)]['injectAtEndOfFile']({'filePath':l,'content':s(0x1bb)+i[s(0x1b1)]+s(0x1c7)})):this[s(0x1a3)][s(0x1ce)]({'filePath':l,'content':s(0x1d5)+k+'.'+h[s(0x1db)]['js']+s(0x1dd)});});}catch(i){Log[r(0x1de)](i);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a64k=a64d;(function(a,b){const h=a64d,c=a();while(!![]){try{const d
|
|
1
|
+
const a64k=a64d;(function(a,b){const h=a64d,c=a();while(!![]){try{const d=-parseInt(h(0xe2))/0x1+parseInt(h(0xe5))/0x2*(-parseInt(h(0xef))/0x3)+-parseInt(h(0xec))/0x4+-parseInt(h(0xe4))/0x5*(parseInt(h(0xdd))/0x6)+-parseInt(h(0xe1))/0x7+-parseInt(h(0xf2))/0x8*(-parseInt(h(0xde))/0x9)+parseInt(h(0xe6))/0xa*(parseInt(h(0xea))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a64c,0xf1a62));const a64b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a64d;if(c){const e=c[i(0xee)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a64a=a64b(this,function(){const j=a64d;return a64a[j(0xf8)]()[j(0xf3)](j(0xf1))[j(0xf8)]()[j(0xda)](a64a)[j(0xf3)]('(((.+)+)+)+$');});a64a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';function a64d(a,b){const c=a64c();return a64d=function(d,e){d=d-0xda;let f=c[d];return f;},a64d(a,b);}function a64c(){const n=['10464OSkqwT','9zVzHCa','kit','getProjectConfig','5918458mcauXH','656071sXQyWV','NIE','1745FqgXWa','4xEMDhB','13878890BCxhOb','create','(Placeholder)\x20Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','leaflet-map','33uPiPDP','maka\x20g:kit\x20--type=map','5589752BVSTNY','notice','apply','1512759GwOcpS','engines','(((.+)+)+)+$','10738336DfZSel','search','maka\x20g:k\x20city-map\x20--type=leaflet-map','(blank)','maka\x20{generate,\x20g}:{kit}\x20<kit-name>\x20--type=map','type','toString','fsi','indexOf','constructor','resourceName','error'];a64c=function(){return n;};return a64c();}Generator[a64k(0xe7)]({'name':a64k(0xdf),'aliases':['k'],'usage':a64k(0xf6),'shortDesc':a64k(0xe8),'validOpts':[a64k(0xf7)],'examples':[a64k(0xeb),a64k(0xf4)]},async function(a,b){const l=a64k;try{const c=this['fsi'][l(0xe0)]();this[l(0xf9)]['withValue'](c,async()=>{const m=l,d={'name':pascalCase(b[m(0xdb)]),'fileName':paramCase(b[m(0xdb)]),'camelCase':camelCase(b[m(0xdb)]),'type':b[m(0xf7)],'engine':c[m(0xf0)]['js'],'noRename':!![]},f=[m(0xe9),'login'];if(f[m(0xfa)](d['type'])<0x0){const g=d[m(0xf7)]?d['type']:m(0xf5);Log['error']('Invalid\x20type\x20'+g+',\x20you\x20must\x20provide\x20a\x20valid\x20type\x20as\x20an\x20argument');return;}b[m(0xf7)]==='map'&&Log[m(0xed)](m(0xe3)),b['type']==='login'&&Log[m(0xed)]('NIE');});}catch(d){Log[l(0xdc)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a65r=a65d;(function(a,b){const o=a65d,c=a();while(!![]){try{const d
|
|
1
|
+
const a65r=a65d;function a65d(a,b){const c=a65c();return a65d=function(d,e){d=d-0x73;let f=c[d];return f;},a65d(a,b);}(function(a,b){const o=a65d,c=a();while(!![]){try{const d=parseInt(o(0xa3))/0x1*(parseInt(o(0xa5))/0x2)+parseInt(o(0x79))/0x3*(-parseInt(o(0xa0))/0x4)+parseInt(o(0x96))/0x5+parseInt(o(0x92))/0x6*(-parseInt(o(0xb9))/0x7)+parseInt(o(0x7f))/0x8+-parseInt(o(0xbb))/0x9+parseInt(o(0xa1))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a65c,0xbcdb2));const a65b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a65d;if(c){const e=c[p(0xb1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a65a=a65b(this,function(){const q=a65d;return a65a[q(0x7d)]()[q(0x76)]('(((.+)+)+)+$')['toString']()[q(0xad)](a65a)[q(0x76)](q(0x87));});a65a();import a65e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator[a65r(0x7a)]({'name':'layout','aliases':aliases,'usage':a65r(0xb8),'shortDesc':a65r(0xa4),'validOpts':[],'examples':[a65r(0x73),a65r(0xb0)]},function(a,b){const s=a65r,c=s(0x95),d=this[s(0xb2)][s(0x83)](),e=this['fsi']['pathFromApp']({'pathParts':[c,b[s(0x94)],paramCase(b['resourceName']),paramCase(b[s(0x97)])]}),f=this[s(0xb2)][s(0x98)]();this[s(0xb2)][s(0x8a)](f,()=>{const t=s;typeof f[t(0x7b)][t(0x9a)]===t(0xab)&&(f[t(0x7b)]['test']=f[t(0x7b)][t(0x9a)]===t(0x8e)?!![]:![],this['fsi'][t(0xbc)](t(0x9a),f[t(0x7b)]['test']));typeof f[t(0x7b)]['css']===t(0xab)&&(f[t(0x7b)][t(0xb7)]=f[t(0x7b)]['css']===t(0x8e)?!![]:![],this[t(0xb2)][t(0xbc)](t(0xb7),f['template'][t(0xb7)]));typeof f[t(0x7b)]['js']===t(0xab)&&(f[t(0x7b)]['js']=f['template']['js']===t(0x8e)?!![]:![],this[t(0xb2)][t(0xbc)]('js',f['template']['js']));!f[t(0x77)]&&(f['features']={});const g=b['_']?b['_'][0x0][t(0x7c)](':')[0x1]:![],h=b['_']&&aliases[t(0x9b)](g);h&&!this[t(0x9d)](t(0xa7))&&(Log[t(0x82)](t(0xb4)),this['fsi'][t(0x9e)](t(0xa7),{'cwd':d}));if(h&&!this[t(0x9d)](t(0x80))){Log[t(0x82)](t(0xa2));return;}const i={'name':pascalCase(b['resourceName']),'myPath':a65e[t(0x8c)](this[t(0xb2)][t(0x8b)]({}),e),'cssCaseName':paramCase(b[t(0x97)]),'className':pascalCase(b[t(0x97)]),'camelCaseName':camelCase(b[t(0x97)]),'fileName':paramCase(b[t(0x97)]),'graphql':f[t(0x78)][t(0xa8)],'features':f[t(0x77)],'client':f[t(0x78)][t(0x89)],'api':f['engines'][t(0x75)],'ssr':f['engines'][t(0x8d)],'test':f['engines'][t(0x9a)],'theme':f[t(0x78)]['theme'],'isComponent':![],'isLayout':!![],'withTranslations':f['features'][t(0xae)]};f[t(0x77)]?.[t(0x7e)]||b[t(0x8f)]?this[t(0xb2)][t(0x7b)]({'srcPath':'hook/hook.js','destPath':e+t(0xa6),'framework':t(0x80),'context':i,'config':f}):this['fsi']['template']({'srcPath':'component/component.js','destPath':e+t(0xa6),'framework':'react','context':i,'config':f});f[t(0x78)][t(0x9a)]!==t(0xac)&&this['fsi'][t(0x7b)]({'srcPath':t(0xb6),'destPath':e+t(0x9c),'framework':t(0x80),'context':i,'config':f});f['template'][t(0xb7)]&&(this[t(0xb2)][t(0x7b)]({'srcPath':t(0x86),'destPath':e+t(0x91),'context':Object['assign']({},i,{'className':paramCase(b['resourceName'])}),'config':f}),this[t(0xb2)][t(0x93)]({'filePath':e+'.'+f[t(0x78)]['js'],'content':t(0x9f)+i[t(0xbd)]+'.'+f['engines'][t(0xb7)]+'\x27;'}));const j=b[t(0x94)]?'/'+b[t(0x94)]+'/':'/',k=''+c+j+i[t(0xbd)]+'/'+i[t(0xbd)];let l;if(f[t(0x78)][t(0x8d)]===t(0x8e)){const m=this['fsi']['pathFromApp']({'pathParts':['imports',t(0xb3),'lib',t(0xba)]});l=this[t(0xb2)][t(0x74)]({'pathParts':[m],'config':f});}else{const n=this['fsi'][t(0x85)]({'pathParts':[t(0x90),'startup',t(0x89),'templates.js']});l=this[t(0xb2)][t(0x74)]({'pathParts':[n],'config':f});}f['engines']['client']===t(0x80)?(f[t(0x78)]['js']===t(0xaa)?this[t(0xb2)][t(0x93)]({'filePath':l,'content':'import\x20{\x20'+i[t(0x84)]+t(0xb5)+k+t(0x88)}):this[t(0xb2)][t(0x93)]({'filePath':l,'content':t(0x81)+i[t(0x84)]+'\x20}\x20from\x20\x27'+k+'.'+f[t(0x78)]['js']+t(0x88)}),this[t(0xb2)][t(0x99)]({'filePath':l,'content':t(0xa9)+i[t(0x84)]+t(0xaf)})):this[t(0xb2)][t(0x99)]({'filePath':l,'content':'import\x20\x27'+k+'.'+f[t(0x78)]['js']+t(0x88)});});});function a65c(){const u=['.app-tests.js','checkNpmPackage','installNpmPackage','import\x20\x27./','1428MKzkQR','16702300SueSER','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','8448CkYDEf','Scaffolding\x20for\x20a\x20React\x20Layout.','20msLgIC','.js','ramda','graphql','export\x20{\x20','tsx','string','none','constructor','withTranslations','\x20};\x0a','maka\x20g:l\x20web/safari','apply','fsi','startup','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','\x20}\x20from\x20\x27','test/test.js','css','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','21kIijsM','templates.js','6692256VWWiyQ','setTemplate','fileName','maka\x20g:layout\x20mobile/iPhone8','rewriteDestinationPathForEngine','api','search','features','engines','11949tARkSY','create','template','split','toString','withHooks','3869704pEkGVf','react','import\x20{\x20','warn','findAppDirectory','className','pathFromApp','template/template.css','(((.+)+)+)+$','\x27;\x0a','client','withValue','pathFromProject','relative','ssr','true','withHook','imports','.css','271710azXGnZ','injectAtBeginningOfFile','dir','/imports/ui/layouts','4182505cvOCwm','resourceName','getProjectConfig','injectAtEndOfFile','test','includes'];a65c=function(){return u;};return a65c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a66i=a66d;(function(a,b){const f=a66d,c=a();while(!![]){try{const d=parseInt(f(0xe1))/0x1+parseInt(f(0xe6))/0x2+parseInt(f(0xe5))/0x3*(-parseInt(f(0xe8))/0x4)+-parseInt(f(0xde))/0x5+parseInt(f(0xef))/0x6*(parseInt(f(0xe2))/0x7)+-parseInt(f(0xdf))/0x8+-parseInt(f(0xed))/0x9*(parseInt(f(0xee))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a66c,0x1fd93));const a66b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a66d;if(c){const e=c[g(0xe0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a66a=a66b(this,function(){const h=a66d;return a66a[h(0xe9)]()[h(0xeb)](h(0xe3))[h(0xe9)]()[h(0xec)](a66a)[h(0xeb)](h(0xe3));});a66a();function a66d(a,b){const c=a66c();return a66d=function(d,e){d=d-0xde;let f=c[d];return f;},a66d(a,b);}import{Generator}from'../generator.js';const MakaGen=new Generator({'name':'maka','shortDesc':a66i(0xe4),'validOpts':[],'description':a66i(0xea),'usage':'maka\x20<generate>:<entity>\x20[<args>]\x20[<opts>]','examples':[a66i(0xe7),'maka\x20g:hook\x20cool-hook']},function(){return null;});export default MakaGen;function a66c(){const j=['1108632iKKzzJ','apply','242972LZbBAU','66206jYLsQS','(((.+)+)+)+$','Maka!','155631GUFFqg','403218bXKOUd','maka\x20generate:api\x20Trucks','12MgFSps','toString','\x0a\x20\x20For\x20more\x20information\x20visit:\x0a\x20\x20\x20\x20https://www.maka-cli.com\x0a\x20\x20\x20\x20https://medium.com/@maka-io\x0a\x20\x20\x20\x20https://gitter.im/meteor/meteor\x20(@maka-io)\x0a\x20\x20','search','constructor','170811uwRNnU','10iXJyrG','78RJmLqs','619475prKwsD'];a66c=function(){return j;};return a66c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a67n=a67d;(function(a,b){const k=a67d,c=a();while(!![]){try{const d
|
|
1
|
+
function a67c(){const q=['tsx','29669880jsmAcS','imports','resourceName','dir','627546bObGrS','230348PtIpAA','import\x20\x27./methods','search','engines','apply','95VzKSib','maka\x20{generate,\x20g}:{method,\x20m}\x20name','(((.+)+)+)+$','error','template','method/method.js','create','36TOMdbE','77ajNLFX','mdg:validated-method','checkMeteorPackage','injectAtEndOfFile','maka\x20g:method\x20todos','startup','methods','warn','check\x20ddp-rate-limiter\x20mdg:validated-method','installMeteorPackage','1409535yHfJEL','-rpc-method\x27;','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','30PgkHLZ','fsi','pathFromApp','withValue','4318061nXYwvA','-rpc-method.','toString','288586nVnYDu','2548216xQrkUp','ddp-rate-limiter','Meteor\x20package\x20\x22check\x22\x20or\x20\x22ddp-rate-limiter\x22\x20or\x20\x22mdg:validated-method\x22\x20is\x20not\x20installed,\x20installing...','3KqJKWD'];a67c=function(){return q;};return a67c();}function a67d(a,b){const c=a67c();return a67d=function(d,e){d=d-0xd4;let f=c[d];return f;},a67d(a,b);}const a67n=a67d;(function(a,b){const k=a67d,c=a();while(!![]){try{const d=parseInt(k(0xfc))/0x1*(parseInt(k(0xf8))/0x2)+parseInt(k(0xee))/0x3+parseInt(k(0xd7))/0x4*(parseInt(k(0xdc))/0x5)+-parseInt(k(0xd6))/0x6*(parseInt(k(0xe4))/0x7)+parseInt(k(0xf9))/0x8*(parseInt(k(0xe3))/0x9)+parseInt(k(0xf1))/0xa*(parseInt(k(0xf5))/0xb)+-parseInt(k(0xfe))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a67c,0xc992f));const a67b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a67d;if(c){const e=c[l(0xdb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a67a=a67b(this,function(){const m=a67d;return a67a[m(0xf7)]()['search'](m(0xde))[m(0xf7)]()['constructor'](a67a)[m(0xd9)](m(0xde));});a67a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a67n(0xe2)]({'name':'method','aliases':['m'],'usage':a67n(0xdd),'checkWhere':!![],'shortDesc':a67n(0xf0),'validOpts':[a67n(0xd5)],'examples':[a67n(0xe8)]},function(a,b){const o=a67n;try{const c=this[o(0xf2)]['getProjectConfig']();this['fsi'][o(0xf4)](c,async()=>{const p=o,d=paramCase(b[p(0xd4)]),f={'name':b[p(0xd4)],'fileName':d,'className':pascalCase(b[p(0xd4)]),'camelCase':camelCase(b[p(0xd4)]),'noRename':!![]};let g='js';c[p(0xda)]['js']===p(0xfd)&&(g='ts');const h=this[p(0xf2)][p(0xf3)]({});(!this[p(0xf2)][p(0xe6)]('check')||!this[p(0xf2)]['checkMeteorPackage'](p(0xfa))||!this[p(0xf2)][p(0xe6)](p(0xe5)))&&(Log[p(0xeb)](p(0xfb)),this['fsi'][p(0xed)](p(0xec),{'cwd':h}));this[p(0xf2)][p(0xe0)]({'srcPath':p(0xe1),'destPath':this[p(0xf2)][p(0xf3)]({'pathParts':[p(0xff),p(0xe9),b['appPathPrefix'],p(0xea),b['dir'],d+p(0xf6)+g]}),'context':f,'config':c});const i=b[p(0xd5)]?'/'+b[p(0xd5)]+'/':'/',j=this[p(0xf2)][p(0xf3)]({'pathParts':[p(0xff),p(0xe9),b['appPathPrefix'],'index.'+c['engines']['js']]});this['fsi'][p(0xe7)]({'filePath':j,'content':p(0xd8)+i+d+p(0xef)});});}catch(d){Log[o(0xdf)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a68o=a68d;(function(a,b){const l=a68d,c=a();while(!![]){try{const d
|
|
1
|
+
const a68o=a68d;function a68d(a,b){const c=a68c();return a68d=function(d,e){d=d-0x7e;let f=c[d];return f;},a68d(a,b);}(function(a,b){const l=a68d,c=a();while(!![]){try{const d=parseInt(l(0x9b))/0x1*(parseInt(l(0xa0))/0x2)+parseInt(l(0x8b))/0x3*(parseInt(l(0x91))/0x4)+parseInt(l(0x83))/0x5+parseInt(l(0x97))/0x6*(-parseInt(l(0x94))/0x7)+parseInt(l(0x88))/0x8+-parseInt(l(0xab))/0x9+-parseInt(l(0xaa))/0xa*(parseInt(l(0xa8))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a68c,0x2b930));const a68b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a68d;if(c){const e=c[m(0x7e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a68a=a68b(this,function(){const n=a68d;return a68a[n(0xa6)]()['search']('(((.+)+)+)+$')[n(0xa6)]()['constructor'](a68a)[n(0x96)](n(0x9d));});a68a();import a68e from'path';import{Generator}from'../generator.js';function a68c(){const s=['855942jHTIaI','create','fsi','server','maka\x20g:package\x20todos:package','lib','4tXsySX','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','resourceName','3262TePQfF','theme','search','462CcCGsR','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','ssr','dir','54458juwcwG','tests/server','(((.+)+)+)+$','package','package/package.js','2ifRrRz','forEach','package.js','.js','getProjectConfig','noRename','toString','layout','4514103izSSEf','pathFromApp','10Giyoqy','2382678ZWoDwi','pathFromProject','hasOwnProperty','component','apply','engines','features','template','client','1418575oVNgZE','/package.js','packages','tests/client','pathFromAppWithNoReWrite','2127920GVbUXN','graphql','/client/'];a68c=function(){return s;};return a68c();}import{camelCase,paramCase,pascalCase}from'change-case';Generator[a68o(0x8c)]({'name':a68o(0x9e),'aliases':['p'],'usage':a68o(0x98),'shortDesc':a68o(0x92),'validOpts':['dir'],'examples':[a68o(0x8f)]},async function(a,b){const p=a68o,c=paramCase(b[p(0x93)]),d=this[p(0x8d)][p(0xa9)]({'pathParts':[p(0x85),b[p(0x9a)],c]}),e=this['fsi'][p(0x87)]({'pathParts':[p(0x85),b[p(0x9a)],c,p(0xa2)]}),f=this[p(0x8d)][p(0xa4)]();this[p(0x8d)]['withValue'](f,async()=>{const q=p,g={'name':paramCase(b['resourceName']),'myPath':a68e['relative'](this[q(0x8d)][q(0xac)]({}),d),'cssCaseName':paramCase(b[q(0x93)]),'className':pascalCase(b[q(0x93)]),'camelCaseName':camelCase(b[q(0x93)]),'fileName':c,'client':f[q(0x7f)][q(0x82)],'graphql':f[q(0x7f)][q(0x89)],'ssr':f['engines'][q(0x99)],'isComponent':b[q(0xad)](q(0xae)),'isLayout':b['hasOwnProperty'](q(0xa7)),'isStore':b[q(0xad)]('store'),'features':f[q(0x80)],'noRename':!![],'theme':f['engines'][q(0x95)]};this[q(0x8d)][q(0x81)]({'srcPath':q(0x9f),'destPath':e,'context':g,'config':f}),g[q(0xa5)]=![];const h=d+q(0x8a)+c+q(0xa3);this[q(0x8d)]['template']({'srcPath':'template/template.js','destPath':h,'context':g,'config':f});const i=[q(0x90),q(0x8e),q(0x86),q(0x9c)];i[q(0xa1)](j=>{const r=q,k=d+'/'+j+'/'+c+r(0xa3);this[r(0x8d)][r(0x81)]({'srcPath':'package/'+j+r(0x84),'destPath':k,'context':g,'config':f});});});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a69o=a69d;function a69d(a,b){const c=a69c();return a69d=function(d,e){d=d-0x8c;let f=c[d];return f;},a69d(a,b);}(function(a,b){const m=a69d,c=a();while(!![]){try{const d=parseInt(m(0xbd))/0x1+-parseInt(m(0xb2))/0x2*(-parseInt(m(0x8d))/0x3)+-parseInt(m(0x93))/0x4+-parseInt(m(0xa1))/0x5+-parseInt(m(0xa7))/0x6+-parseInt(m(0x98))/0x7*(parseInt(m(0x8e))/0x8)+parseInt(m(0x9b))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a69c,0x2c9f2));const a69b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a69a=a69b(this,function(){const n=a69d;return a69a[n(0xc4)]()[n(0xd6)](n(0xa2))['toString']()[n(0xc5)](a69a)[n(0xd6)]('(((.+)+)+)+$');});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'];function a69c(){const r=['maka\x20g:page\x20todos/todos-item','resourceName','.html','pathFromApp','getProjectConfig','template/template.html','root','injectAtBeginningOfFile','Generate\x20a\x20page.','.app-tests.js','257571ByDdKd','import\x20\x27./','graphql','vanilla','import\x20{\x20','rewriteDestinationPathForEngine','/imports/ui/pages','toString','constructor','Updating\x20npm\x20packages\x20...','tsx','injectAtEndOfFile','html','dir','component','string','engines','test','client','template','.js','hasOwnProperty','store','ssr','features','search','css','.css','ramda','withHook','3cWbLsC','441832xdUMHN','templates.js','withHooks','template/template.css','relative','595676AYajqY','hook/hook.js','create','imports','\x20}\x20from\x20\x27','35OPcHmX','component/component.js','assign','6050295BViHRz','layout','fsi','\x27;\x0a','withValue','startup','1190935DkBmcS','(((.+)+)+)+$','\x20};\x0a','page','warn','theme','1086018HjMudP','react','none','fileName','export\x20{\x20','className','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','setTemplate','true','import\x20\x27','test/test.js','194396yynCfO'];a69c=function(){return r;};return a69c();}Generator[a69o(0x95)]({'name':a69o(0xa4),'aliases':aliases,'usage':a69o(0xad),'shortDesc':a69o(0xbb),'validOpts':[a69o(0xca),a69o(0x8c)],'examples':[a69o(0xb3)]},function(a,b){const p=a69o,c=p(0xc3),d=this[p(0x9d)]['pathFromApp'](b),e=this[p(0x9d)][p(0xb6)]({'pathParts':[c,b[p(0xca)],paramCase(b[p(0xb4)]),paramCase(b['resourceName'])]}),f=this['fsi'][p(0xb7)]();this[p(0x9d)][p(0x9f)](f,()=>{const q=p;typeof f[q(0xd0)][q(0xc9)]===q(0xcc)&&(f['template'][q(0xc9)]=f['template']['html']==='true'?!![]:![],this['fsi'][q(0xae)]('html',f[q(0xd0)]['html']));typeof f[q(0xd0)][q(0xce)]==='string'&&(f[q(0xd0)][q(0xce)]=f[q(0xd0)]['test']===q(0xaf)?!![]:![],this[q(0x9d)][q(0xae)](q(0xce),f[q(0xd0)][q(0xce)]));typeof f[q(0xd0)]['css']===q(0xcc)&&(f[q(0xd0)][q(0xd7)]=f['template'][q(0xd7)]==='true'?!![]:![],this[q(0x9d)][q(0xae)](q(0xd7),f[q(0xd0)][q(0xd7)]));typeof f[q(0xd0)]['js']===q(0xcc)&&(f['template']['js']=f['template']['js']===q(0xaf)?!![]:![],this['fsi'][q(0xae)]('js',f[q(0xd0)]['js']));!f[q(0xd5)]&&(f['features']={});!b[q(0xb9)]&&!this['fsi']['checkNpmPackage'](q(0xd9))&&(Log[q(0xa5)](q(0xc6)),this[q(0x9d)]['installNpmPackage'](q(0xd9),{'cwd':d}));const g={'name':pascalCase(b[q(0xb4)]),'myPath':a69e[q(0x92)](this['fsi']['pathFromProject']({}),e),'cssCaseName':paramCase(b[q(0xb4)]),'className':pascalCase(b[q(0xb4)]),'camelCaseName':camelCase(b[q(0xb4)]),'fileName':paramCase(b[q(0xb4)]),'graphql':f[q(0xcd)][q(0xbf)],'features':f[q(0xd5)],'client':f[q(0xcd)][q(0xcf)],'api':f['engines']['api'],'ssr':f[q(0xcd)]['ssr'],'isStore':b[q(0xd2)](q(0xd3)),'isComponent':b[q(0xd2)](q(0xcb)),'isLayout':b[q(0xd2)](q(0x9c)),'withTranslations':f[q(0xd5)]['withTranslations'],'test':f[q(0xcd)][q(0xce)],'theme':f[q(0xcd)][q(0xa6)]};f[q(0xd0)][q(0xc9)]&&this[q(0x9d)][q(0xd0)]({'srcPath':q(0xb8),'destPath':e+q(0xb5),'context':g,'config':f});f[q(0xd5)]?.[q(0x90)]||b[q(0x8c)]?this[q(0x9d)][q(0xd0)]({'srcPath':q(0x94),'destPath':e+'.js','framework':q(0xa8),'context':g,'config':f}):this['fsi'][q(0xd0)]({'srcPath':q(0x99),'destPath':e+q(0xd1),'framework':q(0xa8),'context':g,'config':f});f['engines'][q(0xce)]!==q(0xa9)&&this[q(0x9d)][q(0xd0)]({'srcPath':q(0xb1),'destPath':e+q(0xbc),'framework':q(0xa8),'context':g,'config':f});f[q(0xd0)][q(0xd7)]&&this[q(0x9d)][q(0xd0)]({'srcPath':q(0x91),'destPath':e+q(0xd8),'context':Object[q(0x9a)]({},g,{'className':paramCase(b[q(0xb4)])}),'config':f});f[q(0xcd)][q(0xcf)]!==q(0xa8)&&f['engines'][q(0xcf)]!==q(0xc0)?(f[q(0xd0)]['css']&&this[q(0x9d)][q(0xba)]({'filePath':e+'.'+f[q(0xcd)]['js'],'content':q(0xbe)+g['fileName']+'.'+f[q(0xcd)][q(0xc9)]+q(0x9e)+q(0xbe)+g[q(0xaa)]+'.'+f[q(0xcd)][q(0xd7)]+'\x27;'}),!f[q(0xd0)][q(0xd7)]&&this['fsi'][q(0xba)]({'filePath':e+'.'+f[q(0xcd)]['js'],'content':q(0xbe)+g['fileName']+'.'+f[q(0xcd)][q(0xc9)]+'\x27;'})):f[q(0xd0)][q(0xd7)]&&this[q(0x9d)]['injectAtBeginningOfFile']({'filePath':e+'.'+f[q(0xcd)]['js'],'content':'import\x20\x27./'+g[q(0xaa)]+'.'+f[q(0xcd)][q(0xd7)]+'\x27;'});const h=b['dir']?'/'+b[q(0xca)]+'/':'/',i=''+c+h+g['fileName']+'/'+g[q(0xaa)];let j;if(f[q(0xcd)][q(0xd4)]===q(0xaf)){const k=this['fsi'][q(0xb6)]({'pathParts':[q(0x96),q(0xa0),'lib',q(0x8f)]});j=this[q(0x9d)][q(0xc2)]({'pathParts':[k],'config':f});}else{const l=this['fsi'][q(0xb6)]({'pathParts':[q(0x96),'startup',q(0xcf),'templates.js']});j=this['fsi']['rewriteDestinationPathForEngine']({'pathParts':[l],'config':f});}f['engines'][q(0xcf)]===q(0xa8)?(f[q(0xcd)]['js']===q(0xc7)?this['fsi']['injectAtBeginningOfFile']({'filePath':j,'content':q(0xc1)+g['className']+'\x20}\x20from\x20\x27'+i+'\x27;\x0a'}):this[q(0x9d)][q(0xba)]({'filePath':j,'content':q(0xc1)+g['className']+q(0x97)+i+'.'+f['engines']['js']+'\x27;\x0a'}),this['fsi']['injectAtEndOfFile']({'filePath':j,'content':q(0xab)+g[q(0xac)]+q(0xa3)})):this[q(0x9d)][q(0xc8)]({'filePath':j,'content':q(0xb0)+i+'.'+f[q(0xcd)]['js']+q(0x9e)});});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a70j=a70d;(function(a,b){const h=a70d,c=a();while(!![]){try{const d=parseInt(h(0x8b))/0x1+-parseInt(h(0x8c))/0x2*(parseInt(h(0x84))/0x3)+parseInt(h(0x83))/0x4*(parseInt(h(0x95))/0x5)+parseInt(h(0x88))/0x6*(parseInt(h(0x8a))/0x7)+-parseInt(h(0x91))/0x8*(-parseInt(h(0x87))/0x9)+parseInt(h(0x8e))/0xa*(parseInt(h(0x82))/0xb)+-parseInt(h(0x9c))/0xc*(parseInt(h(0x85))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a70c,0x500cb));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(0x92)]()['search'](i(0x86))[i(0x92)]()[i(0x8d)](a70a)[i(0x9b)]('(((.+)+)+)+$');});function a70d(a,b){const c=a70c();return a70d=function(d,e){d=d-0x81;let f=c[d];return f;},a70d(a,b);}a70a();function a70c(){const m=['withValue','2702VVySrG','535812YjAPMu','8ahlCYR','constructor','3865570vWBAGO','fsi','resourceName','5752rkYmWV','toString','tsx','templateContent','988565viPURB','rewriteDestinationPathForEngine','publish/publish.','injectAtEndOfFile','engines','publish','search','24516hXTOno','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','create','server/publish.','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','getProjectConfig','11HeKvuZ','8nzhzSJ','161193UwEfyA','7514ZrIoiM','(((.+)+)+)+$','4230xSUguX','1056PInNuj'];a70c=function(){return m;};return a70c();}import{paramCase}from'change-case';import{Generator}from'../generator.js';Generator[a70j(0x9e)]({'name':a70j(0x9a),'aliases':['p'],'usage':a70j(0xa0),'shortDesc':a70j(0x9d),'validOpts':[],'examples':['maka\x20g:publish\x20todos']},async function(a,b){const k=a70j,c=this[k(0x8f)][k(0x81)]();this[k(0x8f)][k(0x89)](c,async()=>{const l=k,d={'name':b[l(0x90)],'collection':paramCase(b[l(0x90)]),'noRename':!![]};let e='js';c[l(0x99)]['js']===l(0x93)&&(e='ts');const f=this[l(0x8f)][l(0x96)]({'pathParts':[l(0x9f)+c[l(0x99)]['js']]}),g=this[l(0x8f)][l(0x94)]({'srcPath':l(0x97)+e,'context':d,'config':c});this['fsi'][l(0x98)]({'filePath':f,'content':'\x0a'+g});});});
|