@maka/maka-cli 4.6.11 → 4.6.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/obf/package.json +1 -1
- package/bundle/obf/src/command.js +1 -1
- package/bundle/obf/src/commands/_index.js +1 -1
- package/bundle/obf/src/commands/ai.js +1 -1
- package/bundle/obf/src/commands/aws/_index.js +1 -1
- package/bundle/obf/src/commands/aws/aws.command.js +1 -1
- package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/build/_index.js +1 -1
- package/bundle/obf/src/commands/build/build.js +1 -1
- package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/create.js +1 -1
- package/bundle/obf/src/commands/debug.js +1 -1
- package/bundle/obf/src/commands/deploy.js +1 -1
- package/bundle/obf/src/commands/game/_index.js +1 -1
- package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/play.command.js +1 -1
- package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/generate.js +1 -1
- package/bundle/obf/src/commands/get/_index.js +1 -1
- package/bundle/obf/src/commands/get/get.command.js +1 -1
- package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/help.js +1 -1
- package/bundle/obf/src/commands/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/exec.js +1 -1
- package/bundle/obf/src/generator.js +1 -1
- package/bundle/obf/src/generators/_index.js +1 -1
- package/bundle/obf/src/generators/api.js +1 -1
- package/bundle/obf/src/generators/collection.js +1 -1
- package/bundle/obf/src/generators/component.js +1 -1
- package/bundle/obf/src/generators/config.js +1 -1
- package/bundle/obf/src/generators/dbc.js +1 -1
- package/bundle/obf/src/generators/dockerfile.js +1 -1
- package/bundle/obf/src/generators/hook.js +1 -1
- package/bundle/obf/src/generators/kit.js +1 -1
- package/bundle/obf/src/generators/layout.js +1 -1
- package/bundle/obf/src/generators/maka.gen.js +1 -1
- package/bundle/obf/src/generators/methods.js +1 -1
- package/bundle/obf/src/generators/package.js +1 -1
- package/bundle/obf/src/generators/page.js +1 -1
- package/bundle/obf/src/generators/publish.js +1 -1
- package/bundle/obf/src/generators/route.js +1 -1
- package/bundle/obf/src/generators/service.js +1 -1
- package/bundle/obf/src/generators/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/translation.js +1 -1
- package/bundle/obf/src/maka.js +1 -1
- package/bundle/obf/src/tool.js +1 -1
- package/bundle/obf/src/tools/actions/actions.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
- package/bundle/obf/src/tools/docker/docker.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
- package/bundle/obf/src/tools/https/https.class.js +1 -1
- package/bundle/obf/src/tools/https/https.interface.js +1 -1
- package/bundle/obf/src/tools/log/log.class.js +1 -1
- package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
- package/bundle/obf/src/tools/options/options.class.js +1 -1
- package/bundle/obf/src/tools/progress/progress.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a95d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a95d,c=a();while(!![]){try{var d=parseInt(f(0xe8))/0x1+parseInt(f(0xdb))/0x2*(parseInt(f(0xe1))/0x3)+parseInt(f(0xe9))/0x4*(parseInt(f(0xe0))/0x5)+parseInt(f(0xda))/0x6*(-parseInt(f(0xe3))/0x7)+parseInt(f(0xde))/0x8+-parseInt(f(0xe2))/0x9+-parseInt(f(0xdf))/0xa*(parseInt(f(0xdd))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a95c,0xd7112));var a95b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a95d;if(c){var e=c[g(0xe7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a95a=a95b(this,function(){var h=a95d;return a95a[h(0xe6)]()[h(0xdc)](h(0xe4))[h(0xe6)]()[h(0xe5)](a95a)[h(0xdc)](h(0xe4));});a95a();function a95d(a,b){var c=a95c();return a95d=function(d,e){d=d-0xda;var f=c[d];return f;},a95d(a,b);}import'./services/_index.js';import'./api.js';import'./collection.js';import'./component.js';import'./config.js';function a95c(){var i=['1922838PUeaXF','314bJzNSy','search','561EOFpnJ','5520328nvOXND','72510fJdgRJ','893545aMFebF','19743kehEAd','11290374NZZmvl','14qfEtlQ','(((.+)+)+)+$','constructor','toString','apply','1244180dHduao','4spvGUN'];a95c=function(){return i;};return a95c();}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';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a96z=a96d;(function(a,b){const w=a96d,c=a();while(!![]){try{const d=-parseInt(w(
|
|
1
|
+
const a96z=a96d;(function(a,b){const w=a96d,c=a();while(!![]){try{const d=-parseInt(w(0x1c5))/0x1+-parseInt(w(0x1ae))/0x2+parseInt(w(0x1a1))/0x3+parseInt(w(0x193))/0x4*(parseInt(w(0x183))/0x5)+-parseInt(w(0x1a6))/0x6*(-parseInt(w(0x1d7))/0x7)+-parseInt(w(0x1d4))/0x8*(-parseInt(w(0x1bc))/0x9)+-parseInt(w(0x195))/0xa*(parseInt(w(0x1c8))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a96c,0x91408));const a96b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a96d;if(c){const e=c[x(0x1ba)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a96a=a96b(this,function(){const y=a96d;return a96a['toString']()[y(0x190)](y(0x196))[y(0x1cb)]()[y(0x1d2)](a96a)[y(0x190)](y(0x196));});a96a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a96d(a,b){const c=a96c();return a96d=function(d,e){d=d-0x17e;let f=c[d];return f;},a96d(a,b);}import{Actions}from'../tools/actions/actions.class.js';import a96e from'../generators/maka.gen.js';function a96c(){const C=['9916819wxDngS','installMeteorPackage','graphql','toString','push','engines','withPubs','none','api/register-api.js','Scaffolding\x20for\x20an\x20api\x20concept\x20(i.e.\x20Todos).','constructor','Resolvers\x20}\x20from\x20\x27','1771224GWNqrM','import\x20\x27./register-','apiAnswers','14aLAynW','mdg:validated-method','typeDefs.','api/api.js','getProjectConfig','api/typeDefs.js','rest','pathFromApp','api/tests.js','rest-api.','typeList.push(','345EwnshL','fixtures.','api','Publications','maka:rest\x20maka:check\x20ddp-rate-limiter\x20mdg:validated-method\x20mongo','-api.','Fixtures','test','TypeDefs);\x0a','rpc-methods.','/graphql/resolvers','apollo','\x0aimport\x20{\x20resolvers\x20as\x20','search','\x0a\x20\x20Scaffolding\x20for\x20an\x20api\x20concept\x20(i.e.\x20Todos).\x0a\x0a\x20\x20The\x20api\x20generator\x20will\x20create\x20a\x20collection,\x20publications,\x20methods,\x20fixtures,\x20and\x20tests\x0a\x20\x20for\x20the\x20given\x20resource\x20name.\x0a\x0a\x20\x20The\x20api\x20generator\x20will\x20ask\x20which\x20boundaries\x20to\x20create.\x20The\x20choices\x20are:\x0a\x20\x20\x20\x20-\x20RPC\x20(Methods)\x0a\x20\x20\x20\x20-\x20Fixtures\x0a\x20\x20\x20\x20-\x20Publications\x0a\x20\x20\x20\x20-\x20REST\x20API\x0a\x20\x20\x20\x20-\x20GraphQL\x0a\x0a\x20\x20','checkbox','56080gskSTi','collection','20lGxyet','(((.+)+)+)+$','injectAtBeginningOfFile','maka\x20{generate,\x20g}:{api}\x20<resource-name>','dir','api/fixtures.js','mongo','resolverList.push(','startup','checkMeteorPackage','template','invoke','1170027ijgSRs','tsx','notice','exit','imports','1274100ayhdEC','API\x20boundaries\x20to\x20create','register-','server','maka\x20g:api\x20Todos','withGql','index.','GraphQL','291922jXzUWg','injectIntoFile','api/resolvers.js','Resolvers);\x0a\x0a','includes','maka:rest','error','.app-tests.','api/publications.js','withRest','options','const','apply','resourceName','45VNXURL','resolvers.','withFixtures','/graphql/typeDefs','Verifying\x20meteor\x20package\x20requirements\x20...','/imports/api','withMethods','ddp-rate-limiter','-api\x27;','345133ezrzLE','if\x20\x5c(typeList','fsi'];a96c=function(){return C;};return a96c();}import{camelCase,paramCase,pascalCase}from'change-case';Generator['create']({'name':'api','aliases':['a'],'usage':a96z(0x198),'shortDesc':a96z(0x1d1),'validOpts':[a96z(0x199)],'examples':[a96z(0x1aa)],'description':a96z(0x191)},async function(a,b){const A=a96z;try{const c=this[A(0x1c7)][A(0x1db)](),d=[{'name':'RPC\x20(Methods)','value':'withMethods'},{'name':A(0x189),'value':'withFixtures'},{'name':A(0x186),'value':'withPubs'}];c['engines'][A(0x185)]===A(0x17e)&&d[A(0x1cc)]({'name':'REST\x20API','value':A(0x1b7)});c[A(0x1cd)][A(0x1ca)]===A(0x18e)&&d[A(0x1cc)]({'name':A(0x1ad),'value':A(0x1ab)});const f={'type':A(0x192),'name':A(0x1d6),'message':A(0x1a7),'pageSize':0x64,'choices':d},{apiAnswers:g}=await Actions[A(0x1b8)](f);g['length']===0x0&&(Log[A(0x1b4)]('No\x20API\x20boundaries\x20selected'),process[A(0x1a4)](0x1)),this[A(0x1c7)]['withValue'](c,async()=>{const B=A,h=this[B(0x1c7)][B(0x17f)]({}),i=b[B(0x1bb)],j=paramCase(i),k=camelCase(i),l=b['dir']?'/'+b[B(0x199)]+'/':'/',m={'name':pascalCase(i),'fileName':j,'camelCase':pascalCase(i),'optsDir':l,'api':c[B(0x1cd)][B(0x185)],'graphql':c[B(0x1cd)][B(0x1ca)],'test':c[B(0x1cd)][B(0x18a)],'noRename':!![],'withPubs':g[B(0x1b2)](B(0x1ce)),'withFixtures':g[B(0x1b2)]('withFixtures'),'withMethods':g[B(0x1b2)](B(0x1c2)),'withRest':g[B(0x1b2)](B(0x1b7))};let n='js';c['engines']['js']===B(0x1a2)&&(n='ts');(!this[B(0x1c7)][B(0x19e)](B(0x1b3))||!this[B(0x1c7)][B(0x19e)]('maka:check')||!this[B(0x1c7)]['checkMeteorPackage'](B(0x1c3))||!this[B(0x1c7)][B(0x19e)](B(0x1d8))||!this[B(0x1c7)][B(0x19e)](B(0x19b)))&&(Log[B(0x1a3)](B(0x1c0)),await this[B(0x1c7)][B(0x1c9)](B(0x187),{'cwd':h}));const o=a96e['findGenerator'](B(0x194));o&&await o[B(0x1a0)]([j],{'config':c,'where':B(0x1a9)});c['engines'][B(0x185)]===B(0x17e)&&(m['withRest']&&this[B(0x1c7)]['template']({'srcPath':B(0x1da),'destPath':this[B(0x1c7)][B(0x17f)]({'pathParts':[B(0x1a5),'api',b[B(0x199)],j,B(0x181)+n]}),'context':m,'config':c}));m['withMethods']&&this[B(0x1c7)][B(0x19f)]({'srcPath':'api/methods.js','destPath':this[B(0x1c7)][B(0x17f)]({'pathParts':[B(0x1a5),B(0x185),b['dir'],j,B(0x18c)+n]}),'context':m,'config':c});m[B(0x1be)]&&this[B(0x1c7)][B(0x19f)]({'srcPath':B(0x19a),'destPath':this[B(0x1c7)][B(0x17f)]({'pathParts':[B(0x1a5),'api',b[B(0x199)],j,B(0x184)+n]}),'context':m,'config':c});c['engines'][B(0x18a)]!==B(0x1cf)&&this[B(0x1c7)][B(0x19f)]({'srcPath':B(0x180),'destPath':this['fsi'][B(0x17f)]({'pathParts':[B(0x1a5),B(0x185),b['dir'],j,j+B(0x1b5)+n]}),'context':m,'config':c});m[B(0x1ce)]&&this['fsi'][B(0x19f)]({'srcPath':B(0x1b6),'destPath':this[B(0x1c7)][B(0x17f)]({'pathParts':['imports','api',b[B(0x199)],j,'publications.'+n]}),'context':m,'config':c});if(c['engines'][B(0x1ca)]===B(0x18e)){if(g[B(0x1b2)](B(0x1ab))){const q=this['fsi'][B(0x17f)]({'pathParts':['imports',B(0x19d),B(0x1a9),B(0x1ac)+c[B(0x1cd)]['js']]}),r=this['fsi']['rewriteDestinationPathForEngine']({'pathParts':[q],'config':c}),s=this[B(0x1c7)][B(0x17f)]({'pathParts':['imports',B(0x185),b[B(0x199)],j,B(0x1ca),B(0x1d9)+n]}),t=B(0x1c1)+l+j+B(0x1bf);this[B(0x1c7)][B(0x19f)]({'srcPath':B(0x1dc),'destPath':s,'context':m,'config':c}),this[B(0x1c7)][B(0x197)]({'filePath':r,'content':'import\x20{\x20typeDefs\x20as\x20'+k+'TypeDefs\x20}\x20from\x20\x27'+t+'\x27;\x0a'}),this[B(0x1c7)][B(0x1af)]({'filePath':r,'content':B(0x182)+k+B(0x18b),'begin':B(0x1b9),'end':B(0x1c6)});const u=this[B(0x1c7)][B(0x17f)]({'pathParts':[B(0x1a5),B(0x185),b['dir'],j,'graphql',B(0x1bd)+n]}),v=B(0x1c1)+l+j+B(0x18d);this[B(0x1c7)][B(0x19f)]({'srcPath':B(0x1b0),'destPath':u,'context':m,'config':c}),this[B(0x1c7)][B(0x197)]({'filePath':r,'content':B(0x18f)+k+B(0x1d3)+v+'\x27;'}),this['fsi']['injectIntoFile']({'filePath':r,'content':B(0x19c)+k+B(0x1b1),'begin':B(0x1b9),'end':B(0x1c6)});}}this[B(0x1c7)][B(0x19f)]({'srcPath':B(0x1d0),'destPath':this[B(0x1c7)]['pathFromApp']({'pathParts':[B(0x1a5),B(0x19d),'server',B(0x1a8)+j+B(0x188)+n]}),'context':m,'config':c,'force':!![]});const p=this[B(0x1c7)][B(0x17f)]({'pathParts':[B(0x1a5),B(0x19d),B(0x1a9),B(0x1ac)+c[B(0x1cd)]['js']]});this[B(0x1c7)]['injectAtEndOfFile']({'filePath':p,'content':B(0x1d5)+j+B(0x1c4)});});}catch(h){console[A(0x1b4)](h),process[A(0x1a4)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a97n=a97d;(function(a,b){const k=a97d,c=a();while(!![]){try{const d=parseInt(k(
|
|
1
|
+
const a97n=a97d;(function(a,b){const k=a97d,c=a();while(!![]){try{const d=parseInt(k(0x1fa))/0x1*(-parseInt(k(0x20d))/0x2)+parseInt(k(0x208))/0x3*(parseInt(k(0x205))/0x4)+parseInt(k(0x214))/0x5+parseInt(k(0x1f5))/0x6*(parseInt(k(0x1ec))/0x7)+-parseInt(k(0x209))/0x8+-parseInt(k(0x212))/0x9+parseInt(k(0x219))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a97c,0x5ff89));const a97b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a97d;if(c){const e=c[l(0x1f7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a97a=a97b(this,function(){const m=a97d;return a97a['toString']()['search']('(((.+)+)+)+$')[m(0x1fb)]()[m(0x213)](a97a)[m(0x217)](m(0x20e));});a97a();function a97d(a,b){const c=a97c();return a97d=function(d,e){d=d-0x1eb;let f=c[d];return f;},a97d(a,b);}import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a97c(){const q=['injectAtEndOfFile','create','mongo','.app-tests.','startup','16rEsBTN','import\x20\x27./collections','maka\x20{generate,\x20g}:{collection,\x20col}\x20<name>','272214MRSFwh','5626944PmMwui','checkMeteorPackage','collections','installMeteorPackage','854778ypAfLI','(((.+)+)+)+$','notice','\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','getProjectConfig','4872357ZxlHAs','constructor','3751335UwPaui','maka\x20g:collection\x20todos','template','search','Verifying\x20meteor\x20package\x20requirements:\x20maka:check\x20...','1883540wgaHVX','collection/tests.js','none','86219fSfLms','imports','test','withValue','dir','engines','pathFromApp','Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection','error','372HKFnMF','fsi','apply','appPathPrefix','resourceName','1LceYDp','toString','maka:check','index.','Verifying\x20meteor\x20package\x20requirements:\x20mongo\x20...','where'];a97c=function(){return q;};return a97c();}import{Log}from'../tools/log/log.class.js';Generator[a97n(0x201)]({'name':'collection','aliases':['col'],'usage':a97n(0x207),'checkWhere':!![],'shortDesc':a97n(0x1f3),'validOpts':[a97n(0x1f0),a97n(0x1ff)],'description':a97n(0x210),'examples':[a97n(0x215)]},async function(a,b){const o=a97n;try{const c=this[o(0x1f6)][o(0x1f2)]({}),d=this[o(0x1f6)][o(0x211)]();this['fsi'][o(0x1ef)](d,async()=>{const p=o,f=paramCase(b[p(0x1f9)]),g={'name':pascalCase(b['resourceName']),'collectionName':pascalCase(b[p(0x1f9)]),'fileName':f,'where':b[p(0x1ff)],'test':d[p(0x1f1)][p(0x1ee)],'noRename':!![]};let h='js';d[p(0x1f1)]['js']==='tsx'&&(h='ts');!this[p(0x1f6)][p(0x20a)](p(0x202))&&(Log[p(0x20f)](p(0x1fe)),await this[p(0x1f6)][p(0x20c)]('mongo',{'cwd':c}));!this['fsi']['checkMeteorPackage'](p(0x1fc))&&(Log[p(0x20f)](p(0x218)),await this[p(0x1f6)][p(0x20c)](p(0x1fc),{'cwd':c}));this[p(0x1f6)][p(0x216)]({'srcPath':'collection/collection.js','destPath':this[p(0x1f6)]['pathFromApp']({'pathParts':[p(0x1ed),p(0x204),b['appPathPrefix'],p(0x20b),b[p(0x1f0)],f+'.'+h]}),'context':g,'config':d});d[p(0x1f1)]['test']!==p(0x1eb)&&this[p(0x1f6)][p(0x216)]({'srcPath':p(0x21a),'destPath':this[p(0x1f6)][p(0x1f2)]({'pathParts':[p(0x1ed),p(0x204),b[p(0x1f8)],p(0x20b),b[p(0x1f0)],f+p(0x203)+h]}),'context':g,'config':d});const i=b[p(0x1f0)]?'/'+b[p(0x1f0)]+'/':'/',j=this[p(0x1f6)][p(0x1f2)]({'pathParts':[p(0x1ed),p(0x204),b[p(0x1f8)],p(0x1fd)+d[p(0x1f1)]['js']]});this[p(0x1f6)][p(0x200)]({'filePath':j,'content':p(0x206)+i+f+'\x27;'});});}catch(f){Log[o(0x1f4)](f);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a98q=a98d;(function(a,b){const n=a98d,c=a();while(!![]){try{const d
|
|
1
|
+
const a98q=a98d;(function(a,b){const n=a98d,c=a();while(!![]){try{const d=-parseInt(n(0x1b8))/0x1+-parseInt(n(0x1ea))/0x2*(-parseInt(n(0x1cc))/0x3)+-parseInt(n(0x1cd))/0x4*(parseInt(n(0x1c2))/0x5)+parseInt(n(0x1c5))/0x6*(-parseInt(n(0x1d3))/0x7)+parseInt(n(0x1db))/0x8*(-parseInt(n(0x1e5))/0x9)+-parseInt(n(0x1f9))/0xa+parseInt(n(0x1ca))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a98c,0x845db));const a98b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a98d;if(c){const e=c[o(0x1dd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a98a=a98b(this,function(){const p=a98d;return a98a[p(0x1ef)]()[p(0x1c4)](p(0x1e3))['toString']()[p(0x1cf)](a98a)[p(0x1c4)](p(0x1e3));});a98a();import a98e from'path';import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a98c(){const t=['(((.+)+)+)+$','resourceName','27hlMdxW','checkNpmPackage','/imports/ui/','startup','withTranslations','2vatdZj','.js','baseDir','template','export\x20{\x20','toString','component/component.js','true','rewriteDestinationPathForEngine','create','reflux','api','installNpmPackage','lib','features','8236200ACtHGY','templates.js','layouts','error','test','components','96714RygrwV','ramda','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','ssr','injectAtBeginningOfFile','tsx','none','import\x20\x27./','fsi','warn','466770RZMBAO','fileName','search','615858YJtDSg','import\x20{\x20','string','\x20}\x20from\x20\x27','client','24964962twsMIt','Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','1520979onVYFA','28fZWrzZ','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','constructor','assign','relative','dir','21XpztGi','\x27;\x0a','theme','pages','setTemplate','maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','css','\x20};\x0a','940328eHTnKE','engines','apply','className','imports','/imports/ui/components','comp','pathFromApp'];a98c=function(){return t;};return a98c();}const aliases=[a98q(0x1e1)];function a98d(a,b){const c=a98c();return a98d=function(d,e){d=d-0x1b3;let f=c[d];return f;},a98d(a,b);}Generator[a98q(0x1f3)]({'name':'component','aliases':aliases,'usage':a98q(0x1d8),'shortDesc':a98q(0x1cb),'validOpts':[{'name':a98q(0x1ec),'values':['hooks',a98q(0x1b7),a98q(0x1d6),a98q(0x1b4)]}],'examples':['maka\x20g:comp\x20todos/todos-item']},async function(a,b){const r=a98q;try{const c=this[r(0x1c0)]['findAppDirectory'](),d=b['baseDir']?r(0x1e7)+b[r(0x1ec)]:r(0x1e0),f=this[r(0x1c0)][r(0x1e2)]({'pathParts':[d,b[r(0x1d2)],paramCase(b[r(0x1e4)]),paramCase(b['resourceName'])]}),g=await this['fsi']['getProjectConfig']();this[r(0x1c0)]['withValue'](g,async()=>{const s=r;typeof g['template'][s(0x1b6)]===s(0x1c7)&&(g[s(0x1ed)][s(0x1b6)]=g['template'][s(0x1b6)]===s(0x1f1)?!![]:![],this['fsi'][s(0x1d7)]('test',g[s(0x1ed)][s(0x1b6)]));typeof g[s(0x1ed)][s(0x1d9)]==='string'&&(g[s(0x1ed)]['css']=g[s(0x1ed)][s(0x1d9)]===s(0x1f1)?!![]:![],this['fsi'][s(0x1d7)](s(0x1d9),g[s(0x1ed)][s(0x1d9)]));typeof g['template']['js']===s(0x1c7)&&(g[s(0x1ed)]['js']=g[s(0x1ed)]['js']===s(0x1f1)?!![]:![],this[s(0x1c0)][s(0x1d7)]('js',g[s(0x1ed)]['js']));!g['features']&&(g[s(0x1f8)]={});!b['root']&&!this[s(0x1c0)][s(0x1e6)](s(0x1b9))&&(Log[s(0x1c1)](s(0x1ce)),await this[s(0x1c0)][s(0x1f6)](s(0x1b9),{'cwd':c}));if(!b['root']&&!this[s(0x1c0)]['checkNpmPackage']('react')){Log[s(0x1b5)](s(0x1ba));return;}const h={'name':pascalCase(b['resourceName']),'myPath':a98e[s(0x1d1)](this[s(0x1c0)]['pathFromProject']({}),f),'cssCaseName':paramCase(b[s(0x1e4)]),'className':pascalCase(b[s(0x1e4)]),'camelCaseName':camelCase(b[s(0x1e4)]),'fileName':paramCase(b[s(0x1e4)]),'graphql':g['engines']['graphql'],'features':g['features'],'client':g[s(0x1dc)][s(0x1c9)],'api':g['engines'][s(0x1f5)],'ssr':g[s(0x1dc)][s(0x1bb)],'test':g[s(0x1dc)][s(0x1b6)],'theme':g['engines'][s(0x1d5)],'isLayout':![],'isComponent':!![],'withTranslations':g[s(0x1f8)][s(0x1e9)]};this[s(0x1c0)][s(0x1ed)]({'srcPath':s(0x1f0),'destPath':f+s(0x1eb),'context':h,'framework':'react','config':g});g['engines'][s(0x1b6)]!==s(0x1be)&&this[s(0x1c0)][s(0x1ed)]({'srcPath':'test/test.js','destPath':f+'.tests.js','context':h,'framework':'react','config':g});g[s(0x1ed)][s(0x1d9)]&&(this[s(0x1c0)][s(0x1ed)]({'srcPath':'template/template.css','destPath':f+'.css','context':Object[s(0x1d0)]({},h,{'className':paramCase(b[s(0x1e4)])}),'config':g}),this[s(0x1c0)]['injectAtBeginningOfFile']({'filePath':f+'.'+g[s(0x1dc)]['js'],'content':s(0x1bf)+h['cssCaseName']+'.'+g[s(0x1dc)][s(0x1d9)]+'\x27;'}));const i=b['dir']?'/'+b[s(0x1d2)]+'/':'/',j=''+d+i+h['fileName']+'/'+h[s(0x1c3)];let k;if(g[s(0x1dc)][s(0x1bb)]==='true'){const l=this[s(0x1c0)][s(0x1e2)]({'pathParts':['imports',s(0x1e8),s(0x1f7),s(0x1b3)]});k=this[s(0x1c0)][s(0x1f2)]({'pathParts':[l],'config':g});}else{const m=this[s(0x1c0)]['pathFromApp']({'pathParts':[s(0x1df),'startup',s(0x1c9),s(0x1b3)]});k=this['fsi'][s(0x1f2)]({'pathParts':[m],'config':g});}g[s(0x1dc)][s(0x1c9)]==='react'||g[s(0x1dc)][s(0x1c9)]===s(0x1f4)?(g[s(0x1dc)]['js']===s(0x1bd)?this[s(0x1c0)][s(0x1bc)]({'filePath':k,'content':s(0x1c6)+h[s(0x1de)]+'\x20}\x20from\x20\x27'+j+'\x27;\x0a'}):this[s(0x1c0)][s(0x1bc)]({'filePath':k,'content':s(0x1c6)+h[s(0x1de)]+s(0x1c8)+j+'.'+g[s(0x1dc)]['js']+s(0x1d4)}),this['fsi']['injectAtEndOfFile']({'filePath':k,'content':s(0x1ee)+h['className']+s(0x1da)})):this[s(0x1c0)]['injectAtEndOfFile']({'filePath':k,'content':'import\x20\x27'+j+'.'+g['engines']['js']+s(0x1d4)});});}catch(h){Log[r(0x1b5)](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a99d(a,b){const c=a99c();return a99d=function(d,e){d=d-
|
|
1
|
+
function a99d(a,b){const c=a99c();return a99d=function(d,e){d=d-0x180;let f=c[d];return f;},a99d(a,b);}const a99k=a99d;(function(a,b){const h=a99d,c=a();while(!![]){try{const d=parseInt(h(0x185))/0x1+-parseInt(h(0x189))/0x2*(-parseInt(h(0x197))/0x3)+parseInt(h(0x198))/0x4*(parseInt(h(0x19b))/0x5)+parseInt(h(0x184))/0x6+parseInt(h(0x192))/0x7*(-parseInt(h(0x19a))/0x8)+parseInt(h(0x199))/0x9*(-parseInt(h(0x18d))/0xa)+-parseInt(h(0x18b))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a99c,0x6ba5d));function a99c(){const n=['apply','getProjectConfig','Generate\x20configuration\x20settings.','1620951rTFhWe','4IZFwJW','22158wrkgSB','42072GuLjym','1688075kVPdCT','config/process.env','config/settings.json','maka\x20{generate,\x20g}:{config}\x20<name>','dev','toString','process.env','prod','config','fsi','1864206LxhXUg','144170zmnmjC','search','isDocker','resourceName','2GJkWdI','create','1837671ZMeIoe','maka\x20g:config\x20production','2410uicsrv','(((.+)+)+)+$','template','settings.json','pathFromProject','175hdBvXr','appName'];a99c=function(){return n;};return a99c();}const a99b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a99d;if(c){const e=c[i(0x194)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a99a=a99b(this,function(){const j=a99d;return a99a['toString']()[j(0x186)](j(0x18e))[j(0x1a0)]()['constructor'](a99a)['search'](j(0x18e));});a99a();import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a99k(0x18a)]({'name':a99k(0x182),'usage':a99k(0x19e),'shortDesc':a99k(0x196),'validOpts':['isDocker'],'examples':[a99k(0x18c)]},function(a,b){const l=a99k,c=this[l(0x183)][l(0x195)]();this[l(0x183)]['withValue'](c,async()=>{const m=l,d={'app':c[m(0x193)],'appFileCase':paramCase(c[m(0x193)]),'name':pascalCase(b['resourceName']),'fileName':paramCase(b['resourceName']),'camelCase':camelCase(b[m(0x188)]),'userName':'ubuntu','isDocker':b['isDocker']};let e=b['resourceName'];if(e===m(0x19f))e='development';else e===m(0x181)&&(e='production');const f=this[m(0x183)][m(0x191)]({'pathParts':[m(0x182),e,m(0x190)]});this[m(0x183)][m(0x18f)]({'srcPath':m(0x19d),'destPath':f,'context':d,'config':c});if(!b[m(0x187)]){const g=this[m(0x183)][m(0x191)]({'pathParts':['config',e,m(0x180)]});this[m(0x183)][m(0x18f)]({'srcPath':m(0x19c),'destPath':g,'context':d,'config':c});}});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a100m=a100d;(function(a,b){const j=a100d,c=a();while(!![]){try{const d=-parseInt(j(0xc3))/0x1*(-parseInt(j(0xcf))/0x2)+parseInt(j(0xc9))/0x3+parseInt(j(0xc0))/0x4*(parseInt(j(0xca))/0x5)+parseInt(j(0xb2))/0x6+parseInt(j(0xb5))/0x7*(parseInt(j(0xbb))/0x8)+parseInt(j(0xbd))/0x9+-parseInt(j(0xc5))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a100c,0x9f4c4));const a100b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a100d;if(c){const e=c[k(0xbc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a100a=a100b(this,function(){const l=a100d;return a100a[l(0xd3)]()['search'](l(0xd0))[l(0xd3)]()[l(0xda)](a100a)[l(0xaf)](l(0xd0));});function a100d(a,b){const c=a100c();return a100d=function(d,e){d=d-0xaf;let f=c[d];return f;},a100d(a,b);}a100a();function a100c(){const p=['withValue','pathFromApp','mssql','fsi','605656ylCeWK','apply','1184229sqUhvF','type','register-','4zCktFy','engines','Npm\x20package\x20\x22mssql\x22\x20not\x20installed,\x20installing...','65893NLXvPX','pgsql','26766040rOLOSr','server','checkNpmPackage','imports','2635233hqNopV','3012820NezVkL','maka\x20g:dbc\x20geoserver\x20--type=pgsql','conn.','dir','maka\x20g:dbc\x20azure\x20--type=mssql','10qrnDSL','(((.+)+)+)+$','getProjectConfig','Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','toString','maka\x20g:dbc\x20todos\x20--type=sqlite','template','better-sqlite3','config.','error','Npm\x20package\x20\x22better-sqlite3\x22\x20not\x20installed,\x20installing...','constructor','startup','index.','resourceName','dbc/conn.js','dbc/register-dbc.js','search','-dbc\x27;','import\x20\x27./register-','4234224UuylKF','dbc','warn','63kDNwBJ','installNpmPackage'];a100c=function(){return p;};return a100c();}import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator['create']({'name':'dbc','usage':'maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','shortDesc':a100m(0xd2),'validOpts':[a100m(0xcd)],'mustBeInMakaProject':!![],'requiredOpts':[{'name':'type','values':[a100m(0xc4),'mssql','sqlite']}],'examples':[a100m(0xcb),a100m(0xce),a100m(0xd4)]},async function(a,b){const n=a100m;try{const c=await this[n(0xba)][n(0xd1)](),d=this[n(0xba)][n(0xb8)]({}),f=paramCase(b[n(0xdd)]),g={'name':pascalCase(b[n(0xdd)]),'fileName':paramCase(b[n(0xdd)]),'camelCase':camelCase(b['resourceName']),'type':b[n(0xbe)],'engine':c[n(0xc1)]['js'],'noRename':!![]};this[n(0xba)][n(0xb7)](c,async()=>{const o=n;let h='js';c[o(0xc1)]['js']==='tsx'&&(h='ts');b[o(0xbe)]==='pgsql'&&!this[o(0xba)][o(0xc7)]('pg')&&(Log[o(0xb4)]('Npm\x20package\x20\x22pg\x22\x20not\x20installed,\x20installing...'),await this[o(0xba)][o(0xb6)]('pg',{'cwd':d}));b[o(0xbe)]===o(0xb9)&&!this[o(0xba)][o(0xc7)](o(0xb9))&&(Log['warn'](o(0xc2)),await this['fsi'][o(0xb6)](o(0xb9),{'cwd':d}));b[o(0xbe)]==='sqlite'&&!this[o(0xba)][o(0xc7)](o(0xd6))&&(Log[o(0xb4)](o(0xd9)),await this[o(0xba)][o(0xb6)](o(0xd6),{'cwd':d}));this[o(0xba)][o(0xd5)]({'srcPath':'dbc/config.js','destPath':this[o(0xba)][o(0xb8)]({'pathParts':[o(0xc8),'startup',o(0xc6),'dbc',b[o(0xcd)],f,o(0xd7)+h]}),'context':g,'config':c}),this[o(0xba)][o(0xd5)]({'srcPath':o(0xde),'destPath':this['fsi']['pathFromApp']({'pathParts':['imports',o(0xdb),o(0xc6),o(0xb3),b[o(0xcd)],f,o(0xcc)+h]}),'context':g,'config':c}),this[o(0xba)][o(0xd5)]({'srcPath':o(0xdf),'destPath':this[o(0xba)][o(0xb8)]({'pathParts':['imports',o(0xdb),o(0xc6),o(0xbf)+f+'-dbc.'+h]}),'context':g,'config':c});const i=this[o(0xba)]['pathFromApp']({'pathParts':[o(0xc8),o(0xdb),o(0xc6),o(0xdc)+c[o(0xc1)]['js']]});this[o(0xba)]['injectAtEndOfFile']({'filePath':i,'content':o(0xb1)+f+o(0xb0)});});}catch(h){Log[n(0xd8)](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a101i=a101d;(function(a,b){const f=a101d,c=a();while(!![]){try{const d=parseInt(f(
|
|
1
|
+
const a101i=a101d;(function(a,b){const f=a101d,c=a();while(!![]){try{const d=parseInt(f(0x1bc))/0x1+parseInt(f(0x1d2))/0x2+-parseInt(f(0x1cc))/0x3+parseInt(f(0x1c4))/0x4+parseInt(f(0x1d3))/0x5*(-parseInt(f(0x1bd))/0x6)+parseInt(f(0x1ca))/0x7*(parseInt(f(0x1c5))/0x8)+parseInt(f(0x1cb))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a101c,0x1c172));const a101b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a101d;if(c){const e=c[g(0x1bf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a101a=a101b(this,function(){const h=a101d;return a101a[h(0x1ba)]()[h(0x1d1)](h(0x1d4))[h(0x1ba)]()[h(0x1c6)](a101a)[h(0x1d1)](h(0x1d4));});function a101d(a,b){const c=a101c();return a101d=function(d,e){d=d-0x1b6;let f=c[d];return f;},a101d(a,b);}a101a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a101e from'path';Generator['create']({'name':a101i(0x1b7),'usage':a101i(0x1c8),'shortDesc':a101i(0x1ce),'validOpts':[],'noResource':!![],'examples':[a101i(0x1be)]},async function(){const j=a101i;try{const a=await this[j(0x1cd)]['getProjectConfig'](),b=await this[j(0x1cd)][j(0x1d0)](),c=this[j(0x1cd)][j(0x1b9)]();this[j(0x1cd)]['withValue'](a,async()=>{const k=j,d={'app':b[k(0x1c1)],'config':a,'appPath':a101e[k(0x1b6)](c,'app'),'bundlePath':a101e[k(0x1b6)](c,'build',k(0x1b8)),'useCert':this[k(0x1cd)][k(0x1c3)](b[k(0x1c2)])};this[k(0x1cd)][k(0x1c9)]({'srcPath':k(0x1c0),'destPath':a101e[k(0x1b6)](c,k(0x1c7)),'framework':k(0x1cf),'context':d,'config':a});});}catch(d){Log[j(0x1bb)](d);}});function a101c(){const l=['fsi','Generate\x20an\x20updated\x20dockerfile','service','getGlobalConfig','search','97928XVPEdc','1685YAjqUe','(((.+)+)+)+$','join','dockerfile','app.tar.gz','findProjectDirectory','toString','error','15667gIirnl','1866hncFff','maka\x20g:dockerfile','apply','docker/Dockerfile','appName','cert','isFile','121888WlHzAz','16ggsJpg','constructor','Dockerfile','maka\x20{generate,\x20g}:dockerfile','template','56161MzSvrQ','1632600LSMENY','218052BLoikq'];a101c=function(){return l;};return a101c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a102q=a102d;(function(a,b){const o=a102d,c=a();while(!![]){try{const d
|
|
1
|
+
const a102q=a102d;function a102c(){const t=['987gfsbsu','test/test.js','\x20hook...','graphql','injectAtBeginningOfFile','installNpmPackage','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','react','38168wBlFGx','true','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','error','278ekUajB','template','fileName','cssCaseName','css','\x27;\x0a','startup','imports','template/template.css','components','/imports/ui/hooks','@apollo/client','toString','5168160UMUlqS','maka\x20g:hook\x20cool-hook','none','464iKEkoX','className','theme','constructor','templates.js','29298VGRtpG','resourceName','baseDir','28296675XYarir','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','import\x20\x27','checkNpmPackage','20yAfyHd','pathFromProject','355opNZSM','create','test','injectAtEndOfFile','rewriteDestinationPathForEngine','notice','withValue','8244558owgvmS','engines','import\x20{\x20','apollo','fsi','features','dir','search','\x20};\x0a','setTemplate','3276684wMCsCl','hooks','getProjectConfig','(((.+)+)+)+$','pathFromApp','lib','hook'];a102c=function(){return t;};return a102c();}(function(a,b){const o=a102d,c=a();while(!![]){try{const d=parseInt(o(0x9f))/0x1*(-parseInt(o(0xc3))/0x2)+-parseInt(o(0x96))/0x3*(-parseInt(o(0x91))/0x4)+parseInt(o(0x8e))/0x5+parseInt(o(0xa6))/0x6+-parseInt(o(0xb7))/0x7*(-parseInt(o(0xbf))/0x8)+parseInt(o(0xb0))/0x9*(-parseInt(o(0x9d))/0xa)+-parseInt(o(0x99))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a102c,0xd2c8a));function a102d(a,b){const c=a102c();return a102d=function(d,e){d=d-0x8c;let f=c[d];return f;},a102d(a,b);}const a102b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a102a=a102b(this,function(){const p=a102d;return a102a[p(0x8d)]()[p(0xad)](p(0xb3))[p(0x8d)]()[p(0x94)](a102a)[p(0xad)]('(((.+)+)+)+$');});a102a();import a102e from'path';import{paramCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Generator[a102q(0xa0)]({'name':a102q(0xb6),'aliases':['h'],'checkWhere':![],'usage':a102q(0x9a),'shortDesc':a102q(0xc1),'validOpts':[{'name':a102q(0x98),'values':[a102q(0xb1),a102q(0xcc),'pages','layouts']}],'examples':[a102q(0x8f)],'description':'\x0a\x20\x20Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html\x0a\x0a\x20\x20Hooks\x20are\x20created\x20in\x20the\x20imports/ui/hooks\x20directory\x20by\x20default,\x20but\x20can\x20be\x20created\x20in\x0a\x20\x20the\x20imports/ui/components,\x20imports/ui/pages,\x20or\x20imports/ui/layouts\x20directories\x20by\x0a\x20\x20using\x20the\x20--baseDir\x20option\x20with\x20the\x20appropriate\x20directory\x20name.\x0a\x0a\x20\x20To\x20create\x20a\x20hook\x20in\x20a\x20subdirectory\x20of\x20the\x20hooks\x20directory,\x20add\x20the\x20path\x20to\x20the\x0a\x20\x20hook\x20name.\x20For\x20example,\x20maka\x20g:hook\x20myHooks/useCoolHook\x20will\x20create\x20a\x20hook\x20in\x0a\x20\x20imports/ui/hooks/my-hooks/use-cool-hook.jsx\x0a\x0a\x20\x20If\x20you\x27d\x20like\x20a\x20hook\x20created\x20as\x20part\x20of\x20an\x20existing\x20page,\x20component,\x20or\x20layout,\x0a\x20\x20use\x20the\x20maka\x20g:hook\x20command\x20with\x20the\x20--baseDir\x20option.\x20For\x20example,\x0a\x0a\x20\x20\x20\x20maka\x20g:hook\x20--baseDir=pages\x20myPage/useCoolHook\x0a\x0a\x20\x20will\x20create\x20a\x20hook\x20in\x20imports/ui/pages/my-page/use-cool-hook.jsx\x0a\x0a\x20\x20'},async function(a,b){const r=a102q;Log[r(0xa4)]('Creating\x20'+b[r(0x97)]+r(0xb9));try{const c=this[r(0xaa)][r(0x9c)](r(0xbe));if(!c){Log[r(0xc2)]('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');throw new UsageError();}const d=this[r(0xaa)][r(0xb4)](b),f=b[r(0x98)]?'/imports/ui/'+b['baseDir']:r(0xcd),g=this[r(0xaa)][r(0xb4)]({'pathParts':[f,b[r(0xac)],paramCase(b['resourceName']),paramCase(b[r(0x97)])]}),h=await this[r(0xaa)][r(0xb2)]();this[r(0xaa)][r(0xa5)](h,async()=>{const s=r;typeof h[s(0xc4)][s(0xc7)]==='string'&&(h[s(0xc4)][s(0xc7)]=h['template'][s(0xc7)]===s(0xc0)?!![]:![],this[s(0xaa)][s(0xaf)](s(0xc7),h[s(0xc4)][s(0xc7)]));h['engines']['graphql']===s(0xa9)&&!this[s(0xaa)]['checkNpmPackage'](s(0x8c))&&(Log['warn'](s(0xbd)),await this['fsi'][s(0xbc)]('@apollo/client\x20isomorphic-fetch',{'cwd':d}));const i={'cssCaseName':paramCase(b[s(0x97)]),'camelCaseName':camelCase(b[s(0x97)]),'className':pascalCase(b['resourceName']),'name':pascalCase(b[s(0x97)]),'graphql':h[s(0xa7)][s(0xba)],'theme':h[s(0xa7)][s(0x93)],'features':h['features'],'myPath':a102e['relative'](this['fsi'][s(0x9e)]({}),g),'fileName':paramCase(b[s(0x97)]),'isComponent':![],'isLayout':![],'withTranslations':h[s(0xab)]['withTranslations']};this[s(0xaa)][s(0xc4)]({'srcPath':'hook/hook.js','destPath':g+'.js','context':i,'config':h,'framework':s(0xbe)});h['template'][s(0xc7)]&&(this[s(0xaa)][s(0xc4)]({'srcPath':s(0xcb),'destPath':g+'.css','context':Object['assign']({},i,{'className':i[s(0xc6)]}),'config':h}),this[s(0xaa)]['injectAtBeginningOfFile']({'filePath':g+'.'+h[s(0xa7)]['js'],'content':'import\x20\x27./'+i[s(0xc5)]+'.'+h[s(0xa7)][s(0xc7)]+'\x27;'}));h[s(0xa7)][s(0xa1)]!==s(0x90)&&this[s(0xaa)][s(0xc4)]({'srcPath':s(0xb8),'destPath':g+'.app-tests.js','framework':s(0xbe),'context':i,'config':h});const j=b[s(0xac)]?'/'+b[s(0xac)]+'/':'/',k=''+f+j+i[s(0xc5)]+'/'+i[s(0xc5)];let l;if(h[s(0xa7)]['ssr']===s(0xc0)){const m=this['fsi']['pathFromApp']({'pathParts':[s(0xca),s(0xc9),s(0xb5),s(0x95)]});l=this[s(0xaa)][s(0xa3)]({'pathParts':[m],'config':h});}else{const n=this['fsi'][s(0xb4)]({'pathParts':[s(0xca),'startup','client',s(0x95)]});l=this[s(0xaa)]['rewriteDestinationPathForEngine']({'pathParts':[n],'config':h});}h['engines']['client']==='react'?(h[s(0xa7)]['js']==='tsx'?this[s(0xaa)]['injectAtBeginningOfFile']({'filePath':l,'content':s(0xa8)+i[s(0x92)]+'\x20}\x20from\x20\x27'+k+s(0xc8)}):this[s(0xaa)][s(0xbb)]({'filePath':l,'content':s(0xa8)+i['className']+'\x20}\x20from\x20\x27'+k+'.'+h[s(0xa7)]['js']+s(0xc8)}),this['fsi'][s(0xa2)]({'filePath':l,'content':'export\x20{\x20'+i[s(0x92)]+s(0xae)})):this[s(0xaa)]['injectAtEndOfFile']({'filePath':l,'content':s(0x9b)+k+'.'+h['engines']['js']+s(0xc8)});});}catch(i){Log[r(0xc2)](i);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a103k=a103d;(function(a,b){const h=a103d,c=a();while(!![]){try{const d=-parseInt(h(
|
|
1
|
+
function a103d(a,b){const c=a103c();return a103d=function(d,e){d=d-0x74;let f=c[d];return f;},a103d(a,b);}function a103c(){const n=['notice','20724zofnej','5835467GIAujf','type','create','toString','indexOf','1OCKEkh','resourceName','leaflet-map','27VDWfYD','830PXnsBu','fsi','map','error','maka\x20{generate,\x20g}:{kit}\x20<kit-name>','(blank)','NIE','apply','withValue','114ziRpwu','8GYxCTg','(((.+)+)+)+$','611402fKCIUM','engines','2064680oEncPF','(Placeholder)\x20Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','maka\x20g:kit\x20--type=map','89383TYyYlY','kit',',\x20you\x20must\x20provide\x20a\x20valid\x20type\x20as\x20an\x20argument','592408rbwUWy'];a103c=function(){return n;};return a103c();}const a103k=a103d;(function(a,b){const h=a103d,c=a();while(!![]){try{const d=-parseInt(h(0x74))/0x1*(parseInt(h(0x84))/0x2)+-parseInt(h(0x8e))/0x3*(parseInt(h(0x82))/0x4)+parseInt(h(0x78))/0x5*(-parseInt(h(0x81))/0x6)+parseInt(h(0x89))/0x7+-parseInt(h(0x8c))/0x8*(parseInt(h(0x77))/0x9)+parseInt(h(0x86))/0xa+parseInt(h(0x8f))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a103c,0x3206e));const a103b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a103d;if(c){const e=c[i(0x7f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a103a=a103b(this,function(){const j=a103d;return a103a[j(0x92)]()['search']('(((.+)+)+)+$')[j(0x92)]()['constructor'](a103a)['search'](j(0x83));});a103a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a103k(0x91)]({'name':a103k(0x8a),'aliases':['k'],'usage':a103k(0x7c),'shortDesc':a103k(0x87),'validOpts':['type'],'examples':[a103k(0x88),'maka\x20g:k\x20city-map\x20--type=leaflet-map']},async function(a,b){const l=a103k;try{const c=this[l(0x79)]['getProjectConfig']();this[l(0x79)][l(0x80)](c,async()=>{const m=l,d={'name':pascalCase(b[m(0x75)]),'fileName':paramCase(b[m(0x75)]),'camelCase':camelCase(b[m(0x75)]),'type':b[m(0x90)],'engine':c[m(0x85)]['js'],'noRename':!![]},f=[m(0x76),'login'];if(f[m(0x93)](d[m(0x90)])<0x0){const g=d[m(0x90)]?d['type']:m(0x7d);Log[m(0x7b)]('Invalid\x20type\x20'+g+m(0x8b));return;}b['type']===m(0x7a)&&Log[m(0x8d)]('NIE'),b[m(0x90)]==='login'&&Log['notice'](m(0x7e));});}catch(d){Log[l(0x7b)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a104q=a104d;function a104d(a,b){const c=a104c();return a104d=function(d,e){d=d-0x1ea;let f=c[d];return f;},a104d(a,b);}(function(a,b){const o=a104d,c=a();while(!![]){try{const d=parseInt(o(0x1fd))/0x1+-parseInt(o(0x20c))/0x2*(-parseInt(o(0x1ee))/0x3)+parseInt(o(0x1ed))/0x4+-parseInt(o(0x205))/0x5+parseInt(o(0x1ec))/0x6+-parseInt(o(0x220))/0x7+-parseInt(o(0x20d))/0x8*(parseInt(o(0x202))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a104c,0x828b3));const a104b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a104a=a104b(this,function(){const p=a104d;return a104a[p(0x223)]()['search']('(((.+)+)+)+$')[p(0x223)]()[p(0x1ea)](a104a)[p(0x1f9)](p(0x209));});a104a();import a104e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';function a104c(){const t=['maka\x20g:layout\x20mobile/iPhone8','includes','toString','import\x20{\x20','maka\x20g:l\x20web/safari','warn','hook/hook.js','none','import\x20\x27','.app-tests.js','.js','installNpmPackage','ssr','fsi','Scaffolding\x20for\x20a\x20React\x20Layout.','component/component.js','checkNpmPackage','getProjectConfig','constructor','startup','551484zMeiCa','4130572EQiHoX','1190643YKHGgj','relative','css','withTranslations','features','split','injectAtEndOfFile','\x20}\x20from\x20\x27','test/test.js','withHook','templates.js','search','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','\x27;\x0a','fileName','43839GkWGNR','graphql','template','assign','react','9ByviMg','theme','engines','1333020cjXOam','dir','layout','injectAtBeginningOfFile','(((.+)+)+)+$','ramda','export\x20{\x20','2jDHSDz','2824520wclBxS','.css','create','/imports/ui/layouts','rewriteDestinationPathForEngine','pathFromApp','setTemplate','client','\x20};\x0a','test','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','import\x20\x27./','withHooks','string','template/template.css','true','className','resourceName','tsx','2876307GnfiOo'];a104c=function(){return t;};return a104c();}const aliases=['l'];Generator[a104q(0x20f)]({'name':a104q(0x207),'aliases':aliases,'usage':a104q(0x217),'shortDesc':a104q(0x22f),'validOpts':[],'examples':[a104q(0x221),a104q(0x225)]},function(a,b){const r=a104q,c=r(0x210),d=this[r(0x22e)]['findAppDirectory'](),e=this['fsi']['pathFromApp']({'pathParts':[c,b['dir'],paramCase(b[r(0x21e)]),paramCase(b[r(0x21e)])]}),f=this['fsi'][r(0x232)]();this[r(0x22e)]['withValue'](f,()=>{const s=r;typeof f[s(0x1ff)][s(0x216)]===s(0x21a)&&(f[s(0x1ff)][s(0x216)]=f[s(0x1ff)][s(0x216)]==='true'?!![]:![],this[s(0x22e)][s(0x213)](s(0x216),f[s(0x1ff)][s(0x216)]));typeof f[s(0x1ff)]['css']===s(0x21a)&&(f[s(0x1ff)][s(0x1f0)]=f[s(0x1ff)][s(0x1f0)]===s(0x21c)?!![]:![],this['fsi'][s(0x213)](s(0x1f0),f[s(0x1ff)][s(0x1f0)]));typeof f['template']['js']===s(0x21a)&&(f[s(0x1ff)]['js']=f[s(0x1ff)]['js']===s(0x21c)?!![]:![],this[s(0x22e)][s(0x213)]('js',f['template']['js']));!f[s(0x1f2)]&&(f[s(0x1f2)]={});const g=b['_']?b['_'][0x0][s(0x1f3)](':')[0x1]:![],h=b['_']&&aliases[s(0x222)](g);h&&!this[s(0x231)]('ramda')&&(Log['warn'](s(0x1fa)),this['fsi'][s(0x22c)](s(0x20a),{'cwd':d}));if(h&&!this[s(0x231)](s(0x201))){Log[s(0x226)]('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');return;}const i={'name':pascalCase(b[s(0x21e)]),'myPath':a104e[s(0x1ef)](this['fsi']['pathFromProject']({}),e),'cssCaseName':paramCase(b[s(0x21e)]),'className':pascalCase(b[s(0x21e)]),'camelCaseName':camelCase(b[s(0x21e)]),'fileName':paramCase(b[s(0x21e)]),'graphql':f[s(0x204)][s(0x1fe)],'features':f[s(0x1f2)],'client':f[s(0x204)][s(0x214)],'api':f[s(0x204)]['api'],'ssr':f[s(0x204)][s(0x22d)],'test':f[s(0x204)][s(0x216)],'theme':f['engines'][s(0x203)],'isComponent':![],'isLayout':!![],'withTranslations':f[s(0x1f2)][s(0x1f1)]};f[s(0x1f2)]?.[s(0x219)]||b[s(0x1f7)]?this['fsi'][s(0x1ff)]({'srcPath':s(0x227),'destPath':e+s(0x22b),'framework':s(0x201),'context':i,'config':f}):this[s(0x22e)][s(0x1ff)]({'srcPath':s(0x230),'destPath':e+'.js','framework':s(0x201),'context':i,'config':f});f[s(0x204)][s(0x216)]!==s(0x228)&&this['fsi'][s(0x1ff)]({'srcPath':s(0x1f6),'destPath':e+s(0x22a),'framework':s(0x201),'context':i,'config':f});f[s(0x1ff)][s(0x1f0)]&&(this[s(0x22e)][s(0x1ff)]({'srcPath':s(0x21b),'destPath':e+s(0x20e),'context':Object[s(0x200)]({},i,{'className':paramCase(b[s(0x21e)])}),'config':f}),this['fsi'][s(0x208)]({'filePath':e+'.'+f[s(0x204)]['js'],'content':s(0x218)+i[s(0x1fc)]+'.'+f['engines'][s(0x1f0)]+'\x27;'}));const j=b[s(0x206)]?'/'+b[s(0x206)]+'/':'/',k=''+c+j+i['fileName']+'/'+i['fileName'];let l;if(f[s(0x204)]['ssr']===s(0x21c)){const m=this[s(0x22e)][s(0x212)]({'pathParts':['imports',s(0x1eb),'lib',s(0x1f8)]});l=this[s(0x22e)][s(0x211)]({'pathParts':[m],'config':f});}else{const n=this[s(0x22e)][s(0x212)]({'pathParts':['imports',s(0x1eb),s(0x214),s(0x1f8)]});l=this['fsi']['rewriteDestinationPathForEngine']({'pathParts':[n],'config':f});}f['engines'][s(0x214)]===s(0x201)?(f[s(0x204)]['js']===s(0x21f)?this[s(0x22e)]['injectAtBeginningOfFile']({'filePath':l,'content':s(0x224)+i[s(0x21d)]+s(0x1f5)+k+s(0x1fb)}):this[s(0x22e)][s(0x208)]({'filePath':l,'content':s(0x224)+i[s(0x21d)]+s(0x1f5)+k+'.'+f['engines']['js']+s(0x1fb)}),this['fsi']['injectAtEndOfFile']({'filePath':l,'content':s(0x20b)+i['className']+s(0x215)})):this['fsi'][s(0x1f4)]({'filePath':l,'content':s(0x229)+k+'.'+f[s(0x204)]['js']+s(0x1fb)});});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a105i=a105d;(function(a,b){const f=a105d,c=a();while(!![]){try{const d=-parseInt(f(0x8d))/0x1*(parseInt(f(0x87))/0x2)+parseInt(f(0x8a))/0x3+-parseInt(f(0x84))/0x4*(parseInt(f(0x92))/0x5)+-parseInt(f(0x88))/0x6*(parseInt(f(0x8b))/0x7)+-parseInt(f(0x82))/0x8*(-parseInt(f(0x86))/0x9)+parseInt(f(0x90))/0xa*(parseInt(f(0x94))/0xb)+-parseInt(f(0x85))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a105c,0x5da38));const a105b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a105d;if(c){const e=c[g(0x8e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a105a=a105b(this,function(){const h=a105d;return a105a[h(0x93)]()[h(0x8f)]('(((.+)+)+)+$')['toString']()[h(0x81)](a105a)[h(0x8f)](h(0x91));});a105a();import{Generator}from'../generator.js';function a105d(a,b){const c=a105c();return a105d=function(d,e){d=d-0x81;let f=c[d];return f;},a105d(a,b);}function a105c(){const j=['apply','search','10kSDaKK','(((.+)+)+)+$','612215qDyvzW','toString','4901941DbfAsZ','constructor','4623848wvcOdA','maka','4nyAxED','5731944cNOGRp','9sWWjnM','20350GSTUhZ','6CXKvIY','\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','1759530FzvdVE','3459386yQzXmP','maka\x20g:hook\x20cool-hook','13eGeJcw'];a105c=function(){return j;};return a105c();}const MakaGen=new Generator({'name':a105i(0x83),'shortDesc':'Maka!','validOpts':[],'description':a105i(0x89),'usage':'maka\x20<generate>:<entity>\x20[<args>]\x20[<opts>]','examples':['maka\x20generate:api\x20Trucks',a105i(0x8c)]},function(){return null;});export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a106n=a106d;(function(a,b){const k=a106d,c=a();while(!![]){try{const d=-parseInt(k(
|
|
1
|
+
function a106d(a,b){const c=a106c();return a106d=function(d,e){d=d-0x162;let f=c[d];return f;},a106d(a,b);}const a106n=a106d;(function(a,b){const k=a106d,c=a();while(!![]){try{const d=-parseInt(k(0x180))/0x1*(-parseInt(k(0x183))/0x2)+-parseInt(k(0x172))/0x3+parseInt(k(0x171))/0x4+parseInt(k(0x18b))/0x5*(parseInt(k(0x166))/0x6)+-parseInt(k(0x187))/0x7*(-parseInt(k(0x17c))/0x8)+parseInt(k(0x185))/0x9+-parseInt(k(0x167))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a106c,0x69871));const a106b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a106d;if(c){const e=c[l(0x176)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a106a=a106b(this,function(){const m=a106d;return a106a[m(0x17f)]()['search'](m(0x184))[m(0x17f)]()[m(0x17b)](a106a)['search'](m(0x184));});a106a();function a106c(){const q=['dir','installMeteorPackage','759010SCgEOP','(((.+)+)+)+$','6363144ReTgRQ','error','791kgRawW','-rpc-method.','engines','mdg:validated-method','20YogDqN','maka\x20g:method\x20todos','index.','pathFromApp','appPathPrefix','577506labfnz','15873160RldEyE','resourceName','injectAtEndOfFile','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','checkMeteorPackage','withValue','startup','getProjectConfig','fsi','warn','549320nXRdHF','824607xtPppI','method/method.js','import\x20\x27./methods','template','apply','imports','maka\x20{generate,\x20g}:{method,\x20m}\x20name','-rpc-method\x27;','Meteor\x20package\x20\x22check\x22\x20or\x20\x22ddp-rate-limiter\x22\x20or\x20\x22mdg:validated-method\x22\x20is\x20not\x20installed,\x20installing...','constructor','48536LYwouU','check\x20ddp-rate-limiter\x20mdg:validated-method','methods','toString','1yWVzgz'];a106c=function(){return q;};return a106c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator['create']({'name':'method','aliases':['m'],'usage':a106n(0x178),'checkWhere':!![],'shortDesc':a106n(0x16a),'validOpts':[a106n(0x181)],'examples':[a106n(0x162)]},function(a,b){const o=a106n;try{const c=this[o(0x16f)][o(0x16e)]();this[o(0x16f)][o(0x16c)](c,async()=>{const p=o,d=paramCase(b['resourceName']),f={'name':b[p(0x168)],'fileName':d,'className':pascalCase(b[p(0x168)]),'camelCase':camelCase(b[p(0x168)]),'noRename':!![]};let g='js';c[p(0x189)]['js']==='tsx'&&(g='ts');const h=this[p(0x16f)][p(0x164)]({});(!this[p(0x16f)][p(0x16b)]('check')||!this[p(0x16f)][p(0x16b)]('ddp-rate-limiter')||!this[p(0x16f)][p(0x16b)](p(0x18a)))&&(Log[p(0x170)](p(0x17a)),this['fsi'][p(0x182)](p(0x17d),{'cwd':h}));this['fsi'][p(0x175)]({'srcPath':p(0x173),'destPath':this['fsi'][p(0x164)]({'pathParts':[p(0x177),p(0x16d),b[p(0x165)],p(0x17e),b[p(0x181)],d+p(0x188)+g]}),'context':f,'config':c});const i=b[p(0x181)]?'/'+b[p(0x181)]+'/':'/',j=this[p(0x16f)]['pathFromApp']({'pathParts':[p(0x177),p(0x16d),b[p(0x165)],p(0x163)+c['engines']['js']]});this['fsi'][p(0x169)]({'filePath':j,'content':p(0x174)+i+d+p(0x179)});});}catch(d){Log[o(0x186)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a107o=a107d;(function(a,b){const l=a107d,c=a();while(!![]){try{const d
|
|
1
|
+
const a107o=a107d;(function(a,b){const l=a107d,c=a();while(!![]){try{const d=-parseInt(l(0x1a4))/0x1+parseInt(l(0x198))/0x2+parseInt(l(0x180))/0x3+parseInt(l(0x18e))/0x4+parseInt(l(0x193))/0x5+parseInt(l(0x18a))/0x6*(parseInt(l(0x186))/0x7)+-parseInt(l(0x18f))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a107c,0x3c271));const a107b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a107d;if(c){const e=c[m(0x1a8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a107a=a107b(this,function(){const n=a107d;return a107a['toString']()['search'](n(0x1aa))[n(0x18d)]()[n(0x19c)](a107a)[n(0x17d)]('(((.+)+)+)+$');});function a107c(){const s=['424007npcuZo','relative','store','features','apply','/package.js','(((.+)+)+)+$','pathFromProject','search','pathFromAppWithNoReWrite','maka\x20g:package\x20todos:package','483342GWRmCF','withValue','graphql','tests/client','fsi','resourceName','21SHHVgs','hasOwnProperty','/client/','packages','349572SWjlpk','tests/server','theme','toString','690848BVkLIl','277944gNHrFS','engines','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','dir','489020YQpkDS','ssr','package.js','package/','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','197438gwiZbR','template','package/package.js','getProjectConfig','constructor','component','noRename','template/template.js','.js','client','layout','lib'];a107c=function(){return s;};return a107c();}a107a();function a107d(a,b){const c=a107c();return a107d=function(d,e){d=d-0x17c;let f=c[d];return f;},a107d(a,b);}import a107e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator['create']({'name':'package','aliases':['p'],'usage':a107o(0x191),'shortDesc':a107o(0x197),'validOpts':[a107o(0x192)],'examples':[a107o(0x17f)]},async function(a,b){const p=a107o,c=paramCase(b['resourceName']),d=this[p(0x184)]['pathFromApp']({'pathParts':['packages',b[p(0x192)],c]}),e=this[p(0x184)][p(0x17e)]({'pathParts':[p(0x189),b[p(0x192)],c,p(0x195)]}),f=this[p(0x184)][p(0x19b)]();this[p(0x184)][p(0x181)](f,async()=>{const q=p,g={'name':paramCase(b['resourceName']),'myPath':a107e[q(0x1a5)](this[q(0x184)][q(0x17c)]({}),d),'cssCaseName':paramCase(b[q(0x185)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[q(0x185)]),'fileName':c,'client':f[q(0x190)][q(0x1a1)],'graphql':f[q(0x190)][q(0x182)],'ssr':f[q(0x190)][q(0x194)],'isComponent':b[q(0x187)](q(0x19d)),'isLayout':b['hasOwnProperty'](q(0x1a2)),'isStore':b[q(0x187)](q(0x1a6)),'features':f[q(0x1a7)],'noRename':!![],'theme':f[q(0x190)][q(0x18c)]};this[q(0x184)][q(0x199)]({'srcPath':q(0x19a),'destPath':e,'context':g,'config':f}),g[q(0x19e)]=![];const h=d+q(0x188)+c+q(0x1a0);this[q(0x184)][q(0x199)]({'srcPath':q(0x19f),'destPath':h,'context':g,'config':f});const i=[q(0x1a3),'server',q(0x183),q(0x18b)];i['forEach'](j=>{const r=q,k=d+'/'+j+'/'+c+'.js';this[r(0x184)][r(0x199)]({'srcPath':r(0x196)+j+r(0x1a9),'destPath':k,'context':g,'config':f});});});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a108p=a108d;(function(a,b){const m=a108d,c=a();while(!![]){try{const d=parseInt(m(0x196))/0x1+parseInt(m(0x16c))/0x2+-parseInt(m(0x187))/0x3+parseInt(m(0x19c))/0x4*(-parseInt(m(0x1a2))/0x5)+-parseInt(m(0x179))/0x6*(parseInt(m(0x1ac))/0x7)+parseInt(m(0x195))/0x8*(-parseInt(m(0x19e))/0x9)+-parseInt(m(0x194))/0xa*(-parseInt(m(0x1a6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a108c,0x80b8b));const a108b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a108d;if(c){const e=c[n(0x171)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a108a=a108b(this,function(){const o=a108d;return a108a[o(0x18b)]()['search'](o(0x173))[o(0x18b)]()[o(0x193)](a108a)[o(0x1a5)](o(0x173));});function a108c(){const s=['tsx','constructor','521970KAkzVk','24fxOVxa','90262tSSEwY','rewriteDestinationPathForEngine','layout','pathFromProject','layouts','engines','207772YAPimU','.app-tests.js','371439EadJHq','import\x20{\x20','fileName','template/template.css','5fTDyFb','installNpmPackage','hooks','search','341hfaYHm','import\x20\x27./','ssr','setTemplate','vanilla','ramda','3614954vHWJMj','assign','css','features','client','graphql','true','fsi','root','create','string','react','export\x20{\x20','101418gTZEvm','html','.js','baseDir','/imports/ui/pages','apply','getProjectConfig','(((.+)+)+)+$','/imports/ui/','pages','page','Updating\x20npm\x20packages\x20...','warn','6VkUwzU','.html','\x20}\x20from\x20\x27','className','hasOwnProperty','withHook','test','template','checkNpmPackage','maka\x20g:page\x20todos/todos-item','none','withTranslations','theme','resourceName','1618971URUnGg','\x27;\x0a','imports','pathFromApp','toString','import\x20\x27','injectAtBeginningOfFile','withHooks','dir','templates.js','injectAtEndOfFile'];a108c=function(){return s;};return a108c();}a108a();import a108e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a108d(a,b){const c=a108c();return a108d=function(d,e){d=d-0x163;let f=c[d];return f;},a108d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator[a108p(0x168)]({'name':a108p(0x176),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','shortDesc':'Generate\x20a\x20page.','validOpts':[{'name':a108p(0x16f),'values':[a108p(0x1a4),'components',a108p(0x175),a108p(0x19a)]},{'name':'withHook','boolFlag':!![]}],'examples':[a108p(0x182)]},function(a,b){const q=a108p,c=b['baseDir']?q(0x174)+b[q(0x16f)]:q(0x170),d=this[q(0x166)][q(0x18a)](b),e=this[q(0x166)][q(0x18a)]({'pathParts':[c,b[q(0x18f)],paramCase(b[q(0x186)]),paramCase(b[q(0x186)])]}),f=this[q(0x166)][q(0x172)]();this[q(0x166)]['withValue'](f,()=>{const r=q;typeof f[r(0x180)][r(0x16d)]==='string'&&(f[r(0x180)][r(0x16d)]=f[r(0x180)][r(0x16d)]===r(0x165)?!![]:![],this[r(0x166)][r(0x1a9)](r(0x16d),f['template']['html']));typeof f[r(0x180)][r(0x17f)]==='string'&&(f['template']['test']=f['template'][r(0x17f)]==='true'?!![]:![],this[r(0x166)][r(0x1a9)](r(0x17f),f[r(0x180)][r(0x17f)]));typeof f['template']['css']===r(0x169)&&(f['template']['css']=f[r(0x180)][r(0x1ae)]==='true'?!![]:![],this[r(0x166)][r(0x1a9)]('css',f['template']['css']));typeof f['template']['js']==='string'&&(f[r(0x180)]['js']=f['template']['js']===r(0x165)?!![]:![],this['fsi'][r(0x1a9)]('js',f[r(0x180)]['js']));!f[r(0x1af)]&&(f[r(0x1af)]={});!b[r(0x167)]&&!this[r(0x166)][r(0x181)](r(0x1ab))&&(Log[r(0x178)](r(0x177)),this[r(0x166)][r(0x1a3)](r(0x1ab),{'cwd':d}));const g={'name':pascalCase(b[r(0x186)]),'myPath':a108e['relative'](this[r(0x166)][r(0x199)]({}),e),'cssCaseName':paramCase(b[r(0x186)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[r(0x186)]),'fileName':paramCase(b[r(0x186)]),'graphql':f[r(0x19b)][r(0x164)],'features':f[r(0x1af)],'client':f[r(0x19b)][r(0x163)],'api':f[r(0x19b)]['api'],'ssr':f[r(0x19b)][r(0x1a8)],'isStore':b[r(0x17d)]('store'),'isComponent':b[r(0x17d)]('component'),'isLayout':b['hasOwnProperty'](r(0x198)),'withTranslations':f[r(0x1af)][r(0x184)],'test':f[r(0x19b)]['test'],'theme':f[r(0x19b)][r(0x185)]};f[r(0x180)][r(0x16d)]&&this[r(0x166)][r(0x180)]({'srcPath':'template/template.html','destPath':e+r(0x17a),'context':g,'config':f});f[r(0x1af)]?.[r(0x18e)]||b[r(0x17e)]?this[r(0x166)][r(0x180)]({'srcPath':'hook/hook.js','destPath':e+r(0x16e),'framework':'react','context':g,'config':f}):this[r(0x166)][r(0x180)]({'srcPath':'component/component.js','destPath':e+'.js','framework':r(0x16a),'context':g,'config':f});f[r(0x19b)][r(0x17f)]!==r(0x183)&&this[r(0x166)][r(0x180)]({'srcPath':'test/test.js','destPath':e+r(0x19d),'framework':r(0x16a),'context':g,'config':f});f[r(0x180)][r(0x1ae)]&&this[r(0x166)][r(0x180)]({'srcPath':r(0x1a1),'destPath':e+'.css','context':Object[r(0x1ad)]({},g,{'className':paramCase(b['resourceName'])}),'config':f});f[r(0x19b)][r(0x163)]!==r(0x16a)&&f[r(0x19b)]['client']!==r(0x1aa)?(f['template'][r(0x1ae)]&&this[r(0x166)][r(0x18d)]({'filePath':e+'.'+f['engines']['js'],'content':'import\x20\x27./'+g[r(0x1a0)]+'.'+f[r(0x19b)][r(0x16d)]+'\x27;\x0a'+'import\x20\x27./'+g[r(0x1a0)]+'.'+f[r(0x19b)][r(0x1ae)]+'\x27;'}),!f['template'][r(0x1ae)]&&this['fsi'][r(0x18d)]({'filePath':e+'.'+f['engines']['js'],'content':r(0x1a7)+g[r(0x1a0)]+'.'+f[r(0x19b)][r(0x16d)]+'\x27;'})):f[r(0x180)]['css']&&this[r(0x166)][r(0x18d)]({'filePath':e+'.'+f[r(0x19b)]['js'],'content':r(0x1a7)+g[r(0x1a0)]+'.'+f[r(0x19b)][r(0x1ae)]+'\x27;'});const h=b[r(0x18f)]?'/'+b[r(0x18f)]+'/':'/',i=''+c+h+g[r(0x1a0)]+'/'+g[r(0x1a0)];let j;if(f[r(0x19b)]['ssr']===r(0x165)){const k=this[r(0x166)][r(0x18a)]({'pathParts':[r(0x189),'startup','lib',r(0x190)]});j=this[r(0x166)][r(0x197)]({'pathParts':[k],'config':f});}else{const l=this[r(0x166)][r(0x18a)]({'pathParts':[r(0x189),'startup',r(0x163),r(0x190)]});j=this[r(0x166)][r(0x197)]({'pathParts':[l],'config':f});}f[r(0x19b)]['client']===r(0x16a)?(f[r(0x19b)]['js']===r(0x192)?this[r(0x166)]['injectAtBeginningOfFile']({'filePath':j,'content':r(0x19f)+g[r(0x17c)]+r(0x17b)+i+r(0x188)}):this[r(0x166)][r(0x18d)]({'filePath':j,'content':r(0x19f)+g['className']+r(0x17b)+i+'.'+f[r(0x19b)]['js']+'\x27;\x0a'}),this['fsi']['injectAtEndOfFile']({'filePath':j,'content':r(0x16b)+g['className']+'\x20};\x0a'})):this['fsi'][r(0x191)]({'filePath':j,'content':r(0x18c)+i+'.'+f[r(0x19b)]['js']+r(0x188)});});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a109k=a109d;(function(a,b){const h=a109d,c=a();while(!![]){try{const d=parseInt(h(
|
|
1
|
+
const a109k=a109d;function a109d(a,b){const c=a109c();return a109d=function(d,e){d=d-0x12e;let f=c[d];return f;},a109d(a,b);}(function(a,b){const h=a109d,c=a();while(!![]){try{const d=parseInt(h(0x139))/0x1+-parseInt(h(0x13c))/0x2+parseInt(h(0x134))/0x3+-parseInt(h(0x141))/0x4*(-parseInt(h(0x131))/0x5)+parseInt(h(0x13f))/0x6+-parseInt(h(0x140))/0x7*(parseInt(h(0x147))/0x8)+-parseInt(h(0x133))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a109c,0xda642));const a109b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a109d;if(c){const e=c[i(0x130)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a109a=a109b(this,function(){const j=a109d;return a109a[j(0x143)]()[j(0x12f)](j(0x137))['toString']()[j(0x13d)](a109a)['search']('(((.+)+)+)+$');});a109a();import{paramCase}from'change-case';import{Generator}from'../generator.js';function a109c(){const n=['search','apply','10pchHNF','templateContent','22418109nRVrfd','151743xFvZPi','engines','server/publish.','(((.+)+)+)+$','withValue','1444344eHjFLm','create','fsi','686972gQKpvg','constructor','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','3954222VvDwue','7oGbqLT','3289388HWEZLA','maka\x20g:publish\x20todos','toString','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','publish','rewriteDestinationPathForEngine','557912lGFZwy','publish/publish.','resourceName'];a109c=function(){return n;};return a109c();}Generator[a109k(0x13a)]({'name':a109k(0x145),'aliases':['p'],'usage':a109k(0x144),'shortDesc':a109k(0x13e),'validOpts':[],'examples':[a109k(0x142)]},async function(a,b){const l=a109k,c=this[l(0x13b)]['getProjectConfig']();this[l(0x13b)][l(0x138)](c,async()=>{const m=l,d={'name':b['resourceName'],'collection':paramCase(b[m(0x12e)]),'noRename':!![]};let e='js';c['engines']['js']==='tsx'&&(e='ts');const f=this[m(0x13b)][m(0x146)]({'pathParts':[m(0x136)+c[m(0x135)]['js']]}),g=this[m(0x13b)][m(0x132)]({'srcPath':m(0x148)+e,'context':d,'config':c});this[m(0x13b)]['injectAtEndOfFile']({'filePath':f,'content':'\x0a'+g});});});
|