@maka/maka-cli 4.6.18 → 4.6.20
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/_index.js +1 -1
- package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
- package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.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/kits/_index.js +1 -0
- package/bundle/obf/src/generators/kits/kit.js +1 -0
- package/bundle/obf/src/generators/kits/mui/_index.js +1 -0
- package/bundle/obf/src/generators/kits/mui/layout.mui.gen.js +1 -0
- package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -0
- 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
- package/bundle/obf/src/generators/kit.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a97u=a97d;(function(a,b){const q=a97d,c=a();while(!![]){try{const d=parseInt(q(0x12c))/0x1+-parseInt(q(0xe1))/0x2+parseInt(q(0x115))/0x3*(parseInt(q(0xfc))/0x4)+-parseInt(q(0x11f))/0x5*(parseInt(q(0xe8))/0x6)+-parseInt(q(0xe3))/0x7+parseInt(q(0x117))/0x8*(-parseInt(q(0x116))/0x9)+-parseInt(q(0x112))/0xa*(-parseInt(q(0x13c))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a97c,0x23fd5));const a97b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a97d;if(c){const e=c[r(0xee)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a97a=a97b(this,function(){const s=a97d;return a97a[s(0xdd)]()[s(0xe4)](s(0x110))['toString']()[s(0x119)](a97a)[s(0xe4)](s(0x110));});a97a();import a97e from'path';import a97f from'cli-table';import{paramCase}from'change-case';import a97g from'./generators/maka.gen.js';import{Log,ColorMode}from'./tools/log/log.class.js';function a97d(a,b){const c=a97c();return a97d=function(d,e){d=d-0xdb;let f=c[d];return f;},a97d(a,b);}function a97c(){const F=['colLocAnswer','invoke','assign','maxArgLength','111703clMHOf','call','Name','chdir','shortDesc','aliases','_handler','validateMakaProject','fsi','mustBeInMakaProject','Client','push','processAndRunGenerator','mustHaveMeteorInstalled','find','number','1606055TZobJA','exit','Generator.create\x20requires\x20some\x20options!','toString','notice','minArgLength','map','400506QaHuVd','cwd','1783733HSCTiL','search','forEach','split','DARK','18neLgRF','length','Too\x20few\x20options','pop','tableList','pallet','apply','maxOptsLength','match','listGenerators','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator','sep','function','light','where','Both','Server','validateMeteorInstall','\x20not\x20found','No\x20resource\x20name\x20specified','36HdWFRt','validateMakaSubscription','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','Too\x20many\x20options','Location','join','lib','validateParams','Description','bright','sort','keys','client','LIGHT','minOptsLength','error','Please\x20run\x20\x22maka\x20install\x20meteor\x22','checkWhere','addGenerator','bind','(((.+)+)+)+$','replace','30UCkuCN','_generators','noNeedResource','87597dKSQwz','189EUyMGe','65488RnexAF','both','constructor','appPathPrefix','handleGenerateError','name','dir','slice','63530XzahBs','Generator\x20requires\x20a\x20handler\x20function','findProjectDirectory','server','resourceName','options','setColorMode','Alias','Too\x20many\x20arguments'];a97c=function(){return F;};return a97c();}import{Tool}from'./tool.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError,UsageErrorWithSubs}from'./error.js';let _prevGen='';function inside(a='.',b){const t=a97d,c=process['cwd']();let d=null;try{process[t(0x12f)](a),d=b();}finally{process['chdir'](c);}return d;}export class Generator extends Tool{[a97u(0x124)];['_generators'];constructor(a,b){const v=a97u;super();if(!a)throw new Error('Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object');if(!a[v(0x11c)])throw new Error('Generator\x20requires\x20a\x20name');if(typeof b!==v(0xf4))throw new Error(v(0x120));this[v(0x113)]=[],this[v(0x124)]=Object[v(0x12a)]({},a),this['name']=this['options'][v(0x11c)],this[v(0x132)]=b[v(0x10f)](this);}static['create'](a,b,c){const w=a97u;if(!a)throw new Error(w(0xdc));if(typeof b!==w(0xf4))throw new Error('Generator.create\x20requires\x20a\x20handler\x20function!');const d=new Generator(a,b);return c=c||a97g,Object[w(0x12a)](d,{'parent':c?.[w(0x124)]?.[w(0x11c)]}),c[w(0x10e)](d),d;}['addGenerator'](a){const x=a97u;if(!(a instanceof Generator))throw new Error('addGenerator\x20requires\x20a\x20Generator\x20instance');this[x(0x113)]['push'](a);}async[a97u(0x138)](a,b=[],c={}){const y=a97u;try{const d=a?.[y(0xe6)](':');if(!d||d['length']===0x0)throw'Generator\x20format\x20is\x20incorrect';let f=this['_generators'],g;for(const h of d){g=f[y(0x13a)](i=>i[y(0xf0)](h));if(!g)throw'Generator\x20'+h+y(0xfa);await this[y(0xfd)](g),f=g['_generators'];}if(g)await g['invoke'](b,c);else throw'Generator\x20not\x20found';}catch(i){Log[y(0x10b)](i);}}async[a97u(0x129)](a,b){const z=a97u,c=a[z(0x11e)]();b[z(0x123)]=c[0x0];try{const d=await this[z(0x134)]['getGlobalConfig'](),f=d[z(0xed)]===z(0xf5)?ColorMode[z(0x109)]:ColorMode[z(0xe7)];Log[z(0x125)](f),await this[z(0xfd)](this);const g=a[0x0]===_prevGen||a[z(0xe9)]===0x0&&this['_generators'][z(0xe9)]>=0x0,h=b['help']||b['h'];if(g&&h){if(this[z(0x113)][z(0xe9)]>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!h){if(this[z(0x124)][z(0x135)]){const i=this[z(0x133)]();if(!i)throw new MustBeInProjectError();}if(this[z(0x124)][z(0x139)]){const j=this[z(0xf9)]();if(!j)throw new NoMeteorFoundError();}if(typeof this[z(0x124)][z(0xdf)]==='number'){if(a[z(0xe9)]<this[z(0x124)][z(0xdf)]){Log['error']('Too\x20few\x20arguments');throw new UsageError();}}if(typeof this[z(0x124)][z(0x12b)]===z(0x13b)){if(a[z(0xe9)]>this[z(0x124)][z(0x12b)]){Log[z(0x10b)](z(0x127));throw new UsageError();}}if(typeof this[z(0x124)]['minOptsLength']===z(0x13b)){if(Object[z(0x107)](b)[z(0xe9)]<this[z(0x124)][z(0x10a)]){Log[z(0x10b)](z(0xea));throw new UsageError();}}if(typeof this[z(0x124)][z(0xef)]===z(0x13b)){if(Object[z(0x107)](b)['length']>=this[z(0x124)][z(0xef)]){Log[z(0x10b)](z(0xff));throw new UsageError();}}}await this[z(0x103)](a,b,this[z(0x124)]);if(!b[z(0x123)]&&!this['options'][z(0x114)]){Log[z(0x10b)](z(0xfb));throw new UsageError();}_prevGen=a[0x0];}catch(k){this['handleGenerateError'](k),process[z(0xdb)](0x1);}inside(b[z(0xe2)],async()=>{const A=z;try{if(!b['root']&&!this[A(0x134)][A(0x121)]())throw new MustBeInProjectError();const l=b[A(0x123)]?.[A(0x111)](/\\/g,'/')[A(0xe6)]('/');!b[A(0x11d)]&&(l?.[A(0xe9)]>0x1?(b[A(0x123)]=l[A(0xeb)](),c[0x0]=b['resourceName'],b['dir']=l[A(0xe0)](m=>{return paramCase(m);})[A(0x101)](a97e[A(0xf3)])):b['dir']='');if(this[A(0x124)][A(0x10d)]){if(!b[A(0xf6)]){const n={'type':'list','name':A(0x128),'message':A(0x100),'choices':[{'name':A(0x136),'value':A(0x108)},{'name':A(0xf8),'value':A(0x122)},{'name':A(0xf7),'value':A(0x118)}]},{colLocAnswer:o}=await Actions[A(0x124)](n);o?b[A(0xf6)]=o:b[A(0xf6)]=A(0x118);}const m=[A(0x118),A(0x108),'server'];if(!m['includes'](b[A(0xf6)])){Log[A(0x10b)]('--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27');throw new UsageError();}switch(b[A(0xf6)]){case A(0x118):b[A(0x11a)]=A(0x102);break;case A(0x122):b['appPathPrefix']=A(0x122);break;case A(0x108):b[A(0x11a)]=A(0x108);break;default:b[A(0x11a)]='';}}await this[A(0x132)][A(0x12d)](this,c,b);}catch(p){this[A(0x11b)](p);}});}[a97u(0xf1)](){const B=a97u;this[B(0xec)](this[B(0x113)]);}[a97u(0x11b)](a){const C=a97u,{usage:usage='',description:description='',examples:examples=[],shortDesc:b,requiredOpts:requiredOpts=[],validOpts:c}=this['options'];Log['usage'](description,examples,usage,b,requiredOpts,c);if(a instanceof UsageErrorWithSubs)Log[C(0xde)]('Generators:'),this['tableList'](this[C(0x113)]);else{if(a instanceof MustBeInProjectError)Log[C(0x10b)](C(0xf2));else{if(a instanceof NoMeteorFoundError)Log[C(0x10b)](C(0xfe)),Log['notice'](C(0x10c));else a instanceof NoMeteorAppFoundError&&Log[C(0x10b)]('There\x20is\x20no\x20Meteor\x20application\x20here');}}}['tableList'](a){const D=a97u,b=new a97f({});b[D(0x137)]([D(0x12e),D(0x126),D(0x104)]),a[D(0x106)]()[D(0xe5)](c=>{const E=D;b[E(0x137)]([c['name'],c[E(0x131)](),c[E(0x130)]()]);}),Log[D(0x105)](b[D(0xdd)]());}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a98d,c=a();while(!![]){try{var d=parseInt(f(
|
|
1
|
+
(function(a,b){var f=a98d,c=a();while(!![]){try{var d=parseInt(f(0xc3))/0x1*(parseInt(f(0xc1))/0x2)+parseInt(f(0xbc))/0x3*(-parseInt(f(0xc0))/0x4)+parseInt(f(0xb8))/0x5*(parseInt(f(0xc5))/0x6)+-parseInt(f(0xbb))/0x7*(-parseInt(f(0xc2))/0x8)+parseInt(f(0xbe))/0x9+parseInt(f(0xba))/0xa*(-parseInt(f(0xc7))/0xb)+parseInt(f(0xbd))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a98c,0x22422));var a98b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a98a=a98b(this,function(){var g=a98d;return a98a[g(0xbf)]()['search']('(((.+)+)+)+$')[g(0xbf)]()[g(0xc4)](a98a)[g(0xc6)](g(0xb9));});a98a();function a98c(){var h=['313704vrmpuk','toString','4fIirCY','704MJYNIU','3448BBabeJ','682IuYqvJ','constructor','1085106iprucr','search','231xkVWth','5NTgKrR','(((.+)+)+)+$','128580TvhUoI','1407eFteGs','761586jvxokU','1461600IPZVqB'];a98c=function(){return h;};return a98c();}import'./services/_index.js';import'./api.js';import'./collection.js';import'./component.js';import'./config.js';import'./dbc.js';import'./hook.js';import'./kits/_index.js';function a98d(a,b){var c=a98c();return a98d=function(d,e){d=d-0xb8;var f=c[d];return f;},a98d(a,b);}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
|
-
|
|
1
|
+
const a99y=a99d;(function(a,b){const v=a99d,c=a();while(!![]){try{const d=-parseInt(v(0x1bd))/0x1*(parseInt(v(0x1c8))/0x2)+-parseInt(v(0x1a7))/0x3*(-parseInt(v(0x1c2))/0x4)+parseInt(v(0x1b3))/0x5*(parseInt(v(0x187))/0x6)+-parseInt(v(0x1ad))/0x7+-parseInt(v(0x1db))/0x8*(parseInt(v(0x19e))/0x9)+-parseInt(v(0x1aa))/0xa*(-parseInt(v(0x1c1))/0xb)+parseInt(v(0x1ae))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a99c,0xd13dc));const a99b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a99d;if(c){const e=c[w(0x1b1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a99a=a99b(this,function(){const x=a99d;return a99a[x(0x1b8)]()[x(0x1a9)](x(0x190))['toString']()[x(0x193)](a99a)[x(0x1a9)](x(0x190));});function a99c(){const B=['test','api','Scaffolding\x20for\x20an\x20api\x20concept\x20(i.e.\x20Todos).','apollo','template','error','(((.+)+)+)+$','injectAtEndOfFile','pathFromApp','constructor','typeDefs.','.app-tests.','TypeDefs);\x0a','TypeDefs\x20}\x20from\x20\x27','resolvers.','import\x20{\x20typeDefs\x20as\x20','\x27;\x0a','fsi','checkbox','const','11493VwrgfX','length','/graphql/resolvers','dir','Verifying\x20meteor\x20package\x20requirements\x20...','ddp-rate-limiter','withPubs','getProjectConfig','api/tests.js','69753PHPera','index.','search','3630QryBjQ','exit','checkMeteorPackage','2061899FlAGKA','20466684JFyHVo','installMeteorPackage','REST\x20API','apply','register-','4750895XxzOcB','resourceName','/imports/api','maka:rest','mdg:validated-method','toString','options','mongo','if\x20\x5c(typeList','api/methods.js','1623506dGFsln','injectIntoFile','injectAtBeginningOfFile','api/api.js','12991SQhcJr','92jbTwyb','rpc-methods.','withGql','includes','server','Resolvers);\x0a\x0a','2WhbkAh','withMethods','typeList.push(','create','none','fixtures.','withRest','-api.','No\x20API\x20boundaries\x20selected','api/typeDefs.js','withFixtures','GraphQL','notice','api/resolvers.js','resolverList.push(','push','Fixtures','api/publications.js','rewriteDestinationPathForEngine','5288wfIIeK','collection','engines','\x0aimport\x20{\x20resolvers\x20as\x20','API\x20boundaries\x20to\x20create','graphql','startup','api/register-api.js','apiAnswers','6pxWDei','imports','Publications'];a99c=function(){return B;};return a99c();}a99a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import a99e from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';function a99d(a,b){const c=a99c();return a99d=function(d,e){d=d-0x184;let f=c[d];return f;},a99d(a,b);}Generator[a99y(0x1cb)]({'name':a99y(0x18b),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{api}\x20<resource-name>','shortDesc':a99y(0x18c),'validOpts':[a99y(0x1a1)],'examples':['maka\x20g:api\x20Todos'],'description':'\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'},async function(a,b){const z=a99y;try{const c=this[z(0x19b)][z(0x1a5)](),d=[{'name':'RPC\x20(Methods)','value':z(0x1c9)},{'name':z(0x1d8),'value':z(0x1d2)},{'name':z(0x189),'value':'withPubs'}];c['engines'][z(0x18b)]==='rest'&&d[z(0x1d7)]({'name':z(0x1b0),'value':z(0x1ce)});c[z(0x1dd)][z(0x1e0)]===z(0x18d)&&d[z(0x1d7)]({'name':z(0x1d3),'value':z(0x1c4)});const f={'type':z(0x19c),'name':z(0x186),'message':z(0x1df),'pageSize':0x64,'choices':d},{apiAnswers:g}=await Actions[z(0x1b9)](f);g[z(0x19f)]===0x0&&(Log[z(0x18f)](z(0x1d0)),process['exit'](0x1)),this['fsi']['withValue'](c,async()=>{const A=z,h=this[A(0x19b)]['pathFromApp']({}),i=b[A(0x1b4)],j=paramCase(i),k=camelCase(i),l=b[A(0x1a1)]?'/'+b['dir']+'/':'/',m={'name':pascalCase(i),'fileName':j,'camelCase':pascalCase(i),'optsDir':l,'api':c[A(0x1dd)]['api'],'graphql':c[A(0x1dd)][A(0x1e0)],'test':c[A(0x1dd)]['test'],'noRename':!![],'withPubs':g['includes']('withPubs'),'withFixtures':g['includes'](A(0x1d2)),'withMethods':g[A(0x1c5)](A(0x1c9)),'withRest':g[A(0x1c5)](A(0x1ce))};let n='js';c[A(0x1dd)]['js']==='tsx'&&(n='ts');(!this[A(0x19b)][A(0x1ac)](A(0x1b6))||!this[A(0x19b)][A(0x1ac)]('maka:check')||!this[A(0x19b)][A(0x1ac)](A(0x1a3))||!this[A(0x19b)][A(0x1ac)](A(0x1b7))||!this['fsi'][A(0x1ac)](A(0x1ba)))&&(Log[A(0x1d4)](A(0x1a2)),await this['fsi'][A(0x1af)]('maka:rest\x20maka:check\x20ddp-rate-limiter\x20mdg:validated-method\x20mongo',{'cwd':h}));await a99e['processAndRunGenerator'](A(0x1dc),[j],{'config':c,'where':'server'});c[A(0x1dd)][A(0x18b)]==='rest'&&(m[A(0x1ce)]&&this[A(0x19b)][A(0x18e)]({'srcPath':A(0x1c0),'destPath':this[A(0x19b)][A(0x192)]({'pathParts':[A(0x188),A(0x18b),b['dir'],j,'rest-api.'+n]}),'context':m,'config':c}));m[A(0x1c9)]&&this[A(0x19b)][A(0x18e)]({'srcPath':A(0x1bc),'destPath':this['fsi'][A(0x192)]({'pathParts':[A(0x188),A(0x18b),b['dir'],j,A(0x1c3)+n]}),'context':m,'config':c});m[A(0x1d2)]&&this[A(0x19b)]['template']({'srcPath':'api/fixtures.js','destPath':this[A(0x19b)][A(0x192)]({'pathParts':[A(0x188),'api',b[A(0x1a1)],j,A(0x1cd)+n]}),'context':m,'config':c});c[A(0x1dd)][A(0x18a)]!==A(0x1cc)&&this[A(0x19b)][A(0x18e)]({'srcPath':A(0x1a6),'destPath':this[A(0x19b)]['pathFromApp']({'pathParts':[A(0x188),A(0x18b),b[A(0x1a1)],j,j+A(0x195)+n]}),'context':m,'config':c});m[A(0x1a4)]&&this[A(0x19b)][A(0x18e)]({'srcPath':A(0x1d9),'destPath':this['fsi'][A(0x192)]({'pathParts':['imports',A(0x18b),b[A(0x1a1)],j,'publications.'+n]}),'context':m,'config':c});if(c[A(0x1dd)][A(0x1e0)]===A(0x18d)){if(g[A(0x1c5)](A(0x1c4))){const p=this[A(0x19b)][A(0x192)]({'pathParts':[A(0x188),A(0x184),A(0x1c6),A(0x1a8)+c[A(0x1dd)]['js']]}),q=this[A(0x19b)][A(0x1da)]({'pathParts':[p],'config':c}),r=this[A(0x19b)]['pathFromApp']({'pathParts':['imports',A(0x18b),b[A(0x1a1)],j,A(0x1e0),A(0x194)+n]}),s=A(0x1b5)+l+j+'/graphql/typeDefs';this[A(0x19b)][A(0x18e)]({'srcPath':A(0x1d1),'destPath':r,'context':m,'config':c}),this[A(0x19b)]['injectAtBeginningOfFile']({'filePath':q,'content':A(0x199)+k+A(0x197)+s+A(0x19a)}),this[A(0x19b)][A(0x1be)]({'filePath':q,'content':A(0x1ca)+k+A(0x196),'begin':'const','end':A(0x1bb)});const t=this[A(0x19b)][A(0x192)]({'pathParts':['imports','api',b[A(0x1a1)],j,A(0x1e0),A(0x198)+n]}),u='/imports/api'+l+j+A(0x1a0);this[A(0x19b)][A(0x18e)]({'srcPath':A(0x1d5),'destPath':t,'context':m,'config':c}),this[A(0x19b)][A(0x1bf)]({'filePath':q,'content':A(0x1de)+k+'Resolvers\x20}\x20from\x20\x27'+u+'\x27;'}),this[A(0x19b)]['injectIntoFile']({'filePath':q,'content':A(0x1d6)+k+A(0x1c7),'begin':A(0x19d),'end':A(0x1bb)});}}this[A(0x19b)][A(0x18e)]({'srcPath':A(0x185),'destPath':this['fsi'][A(0x192)]({'pathParts':[A(0x188),'startup',A(0x1c6),A(0x1b2)+j+A(0x1cf)+n]}),'context':m,'config':c,'force':!![]});const o=this[A(0x19b)][A(0x192)]({'pathParts':[A(0x188),A(0x184),'server',A(0x1a8)+c[A(0x1dd)]['js']]});this[A(0x19b)][A(0x191)]({'filePath':o,'content':'import\x20\x27./register-'+j+'-api\x27;'});});}catch(h){console[z(0x18f)](h),process[z(0x1ab)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a100d(a,b){const c=a100c();return a100d=function(d,e){d=d-0xe1;let f=c[d];return f;},a100d(a,b);}function a100c(){const q=['tsx','fsi','1086071CylidD','645856fJMgDL','startup','getProjectConfig','maka:check','maka\x20{generate,\x20g}:{collection,\x20col}\x20<name>','33240CxEThP','pathFromApp','imports','collections','injectAtEndOfFile','appPathPrefix','.app-tests.','apply','mongo','33ANziyX','1956954nJmQLQ','221390YLhchG','Verifying\x20meteor\x20package\x20requirements:\x20maka:check\x20...','test','withValue','5VVtbpm','collection/collection.js','notice','(((.+)+)+)+$','collection/tests.js','engines','template','where','none','error','col','\x0a\x20\x20\x20\x20Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection.\x0ahttps://docs.meteor.com/api/collections.html\x0a\x0a\x20\x20\x20\x20Collections\x20are\x20generated\x20in\x20the\x20\x22lib\x22\x20or\x20\x22common\x22\x20directory\x20by\x20default.\x20\x20This\x20location\x20is\x20accessible\x0a\x20\x20\x20\x20to\x20BOTH\x20client\x20and\x20server\x20(--where=both).\x20\x20Other\x20options\x20are\x20\x22--where=server\x22\x20and\x20\x22--where=client\x22\x20which\x0a\x20\x20\x20\x20will\x20setup\x20the\x20collection\x20in\x20their\x20respective\x20locations.\x0a\x20\x20','search','187hrwgdD','9zkNShM','checkMeteorPackage','index.','collection','Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection','dir','995LKeVQc','814320BcgAxR','Verifying\x20meteor\x20package\x20requirements:\x20mongo\x20...','constructor','create','installMeteorPackage','import\x20\x27./collections','toString','870UOwtbu','resourceName'];a100c=function(){return q;};return a100c();}const a100n=a100d;(function(a,b){const k=a100d,c=a();while(!![]){try{const d=parseInt(k(0x109))/0x1*(-parseInt(k(0x111))/0x2)+-parseInt(k(0xef))/0x3*(-parseInt(k(0xe6))/0x4)+parseInt(k(0xf5))/0x5*(parseInt(k(0xf0))/0x6)+-parseInt(k(0x115))/0x7+parseInt(k(0xe1))/0x8*(parseInt(k(0x103))/0x9)+parseInt(k(0xf1))/0xa*(parseInt(k(0x102))/0xb)+-parseInt(k(0x10a))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a100c,0x356ca));const a100b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a100d;if(c){const e=c[l(0xed)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a100a=a100b(this,function(){const m=a100d;return a100a['toString']()[m(0x101)]('(((.+)+)+)+$')[m(0x110)]()[m(0x10c)](a100a)[m(0x101)](m(0xf8));});a100a();import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a100n(0x10d)]({'name':a100n(0x106),'aliases':[a100n(0xff)],'usage':a100n(0xe5),'checkWhere':!![],'shortDesc':a100n(0x107),'validOpts':[a100n(0x108),a100n(0xfc)],'description':a100n(0x100),'examples':['maka\x20g:collection\x20todos']},async function(a,b){const o=a100n;try{const c=this['fsi']['pathFromApp']({}),d=this[o(0x114)][o(0xe3)]();this[o(0x114)][o(0xf4)](d,async()=>{const p=o,f=paramCase(b[p(0x112)]),g={'name':pascalCase(b['resourceName']),'collectionName':pascalCase(b[p(0x112)]),'fileName':f,'where':b[p(0xfc)],'test':d[p(0xfa)][p(0xf3)],'noRename':!![]};let h='js';d[p(0xfa)]['js']===p(0x113)&&(h='ts');!this[p(0x114)]['checkMeteorPackage'](p(0xee))&&(Log['notice'](p(0x10b)),await this['fsi'][p(0x10e)](p(0xee),{'cwd':c}));!this[p(0x114)][p(0x104)](p(0xe4))&&(Log[p(0xf7)](p(0xf2)),await this[p(0x114)][p(0x10e)](p(0xe4),{'cwd':c}));this[p(0x114)]['template']({'srcPath':p(0xf6),'destPath':this[p(0x114)][p(0xe7)]({'pathParts':[p(0xe8),p(0xe2),b[p(0xeb)],p(0xe9),b['dir'],f+'.'+h]}),'context':g,'config':d});d[p(0xfa)]['test']!==p(0xfd)&&this['fsi'][p(0xfb)]({'srcPath':p(0xf9),'destPath':this['fsi']['pathFromApp']({'pathParts':[p(0xe8),p(0xe2),b['appPathPrefix'],p(0xe9),b[p(0x108)],f+p(0xec)+h]}),'context':g,'config':d});const i=b[p(0x108)]?'/'+b[p(0x108)]+'/':'/',j=this[p(0x114)][p(0xe7)]({'pathParts':['imports','startup',b['appPathPrefix'],p(0x105)+d[p(0xfa)]['js']]});this[p(0x114)][p(0xea)]({'filePath':j,'content':p(0x10f)+i+f+'\x27;'});});}catch(f){Log[o(0xfe)](f);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a101d(a,b){const c=a101c();return a101d=function(d,e){d=d-0x150;let f=c[d];return f;},a101d(a,b);}function a101c(){const s=['(((.+)+)+)+$','dir','pages','import\x20\x27./','\x27;\x0a','ramda','56KYmKWN','1342712hEkUGK','css','ssr','className','setTemplate','pathFromApp','react','checkNpmPackage','imports','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','6035200MvcJQM','engines','4792416pESpqK','installNpmPackage','fsi','components','client','graphql','/imports/ui/components','string','withTranslations','reflux','test/test.js','maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','component','703683JNqSjx','rewriteDestinationPathForEngine','.js','features','fileName','test','.css','export\x20\x27','/imports/ui/','constructor','hooks','Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','warn','export\x20{\x20','1575549qHSQVT','2kRtUoi','1095372BuUPoj','resourceName','create','root','13431573XaDSTO','injectAtEndOfFile','getProjectConfig','withValue','assign','true','baseDir','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','template','error','theme','findAppDirectory','cssCaseName','maka\x20g:comp\x20todos/todos-item','toString','.tests.js','api'];a101c=function(){return s;};return a101c();}const a101p=a101d;(function(a,b){const n=a101d,c=a();while(!![]){try{const d=-parseInt(n(0x181))/0x1*(-parseInt(n(0x190))/0x2)+parseInt(n(0x18f))/0x3+parseInt(n(0x174))/0x4+-parseInt(n(0x172))/0x5+-parseInt(n(0x191))/0x6+parseInt(n(0x167))/0x7*(parseInt(n(0x168))/0x8)+-parseInt(n(0x150))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a101c,0xd8b83));const a101b=(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;};}()),a101a=a101b(this,function(){const o=a101d;return a101a[o(0x15e)]()['search'](o(0x161))[o(0x15e)]()[o(0x18a)](a101a)['search'](o(0x161));});a101a();import a101e from'path';import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';const aliases=['comp'];Generator[a101p(0x193)]({'name':a101p(0x180),'aliases':aliases,'usage':a101p(0x17f),'shortDesc':a101p(0x18c),'validOpts':[{'name':'baseDir','values':[a101p(0x18b),a101p(0x177),a101p(0x163),'layouts']}],'examples':[a101p(0x15d)]},async function(a,b){const q=a101p;try{const c=this['fsi'][q(0x15b)](),d=b[q(0x156)]?q(0x189)+b[q(0x156)]:q(0x17a),f=this['fsi']['pathFromApp']({'pathParts':[d,b[q(0x162)],paramCase(b[q(0x192)]),paramCase(b[q(0x192)])]}),g=await this[q(0x176)][q(0x152)]();this[q(0x176)][q(0x153)](g,async()=>{const r=q;typeof g[r(0x158)][r(0x186)]===r(0x17b)&&(g[r(0x158)][r(0x186)]=g[r(0x158)]['test']==='true'?!![]:![],this[r(0x176)][r(0x16c)]('test',g['template'][r(0x186)]));typeof g['template']['css']===r(0x17b)&&(g[r(0x158)][r(0x169)]=g[r(0x158)][r(0x169)]===r(0x155)?!![]:![],this[r(0x176)]['setTemplate'](r(0x169),g[r(0x158)][r(0x169)]));typeof g[r(0x158)]['js']==='string'&&(g[r(0x158)]['js']=g[r(0x158)]['js']===r(0x155)?!![]:![],this[r(0x176)][r(0x16c)]('js',g['template']['js']));!g[r(0x184)]&&(g[r(0x184)]={});!b[r(0x194)]&&!this[r(0x176)][r(0x16f)](r(0x166))&&(Log[r(0x18d)](r(0x171)),await this[r(0x176)][r(0x175)]('ramda',{'cwd':c}));if(!b[r(0x194)]&&!this[r(0x176)]['checkNpmPackage'](r(0x16e))){Log[r(0x159)](r(0x157));return;}const h={'name':pascalCase(b[r(0x192)]),'myPath':a101e['relative'](this[r(0x176)]['pathFromProject']({}),f),'cssCaseName':paramCase(b[r(0x192)]),'className':pascalCase(b[r(0x192)]),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b[r(0x192)]),'graphql':g['engines'][r(0x179)],'features':g['features'],'client':g[r(0x173)][r(0x178)],'api':g[r(0x173)][r(0x160)],'ssr':g[r(0x173)][r(0x16a)],'test':g[r(0x173)]['test'],'theme':g[r(0x173)][r(0x15a)],'isLayout':![],'isComponent':!![],'withTranslations':g['features'][r(0x17c)]};this[r(0x176)][r(0x158)]({'srcPath':'component/component.js','destPath':f+r(0x183),'context':h,'framework':'react','config':g});g[r(0x173)][r(0x186)]!=='none'&&this[r(0x176)][r(0x158)]({'srcPath':r(0x17e),'destPath':f+r(0x15f),'context':h,'framework':'react','config':g});g[r(0x158)][r(0x169)]&&(this[r(0x176)][r(0x158)]({'srcPath':'template/template.css','destPath':f+r(0x187),'context':Object[r(0x154)]({},h,{'className':paramCase(b['resourceName'])}),'config':g}),this[r(0x176)]['injectAtBeginningOfFile']({'filePath':f+'.'+g[r(0x173)]['js'],'content':r(0x164)+h[r(0x15c)]+'.'+g[r(0x173)][r(0x169)]+'\x27;'}));const i=b[r(0x162)]?'/'+b[r(0x162)]+'/':'/',j=''+d+i+h[r(0x185)]+'/'+h[r(0x185)];let k;if(g[r(0x173)][r(0x16a)]===r(0x155)){const l=this[r(0x176)][r(0x16d)]({'pathParts':[r(0x170),'startup','lib','templates.js']});k=this[r(0x176)][r(0x182)]({'pathParts':[l],'config':g});}else{const m=this[r(0x176)][r(0x16d)]({'pathParts':[r(0x170),'startup','client','templates.js']});k=this[r(0x176)][r(0x182)]({'pathParts':[m],'config':g});}g[r(0x173)]['client']===r(0x16e)||g[r(0x173)][r(0x178)]===r(0x17d)?this[r(0x176)][r(0x151)]({'filePath':k,'content':r(0x18e)+h[r(0x16b)]+'\x20}\x20from\x20\x27'+j+r(0x165)}):this['fsi'][r(0x151)]({'filePath':k,'content':r(0x188)+j+'.'+g[r(0x173)]['js']+'\x27;\x0a'});});}catch(h){Log[q(0x159)](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a102k=a102d;(function(a,b){const h=a102d,c=a();while(!![]){try{const d=parseInt(h(0x169))/0x1+-parseInt(h(0x151))/0x2+-parseInt(h(0x15b))/0x3+parseInt(h(0x163))/0x4+-parseInt(h(0x159))/0x5+-parseInt(h(0x16e))/0x6*(-parseInt(h(0x166))/0x7)+-parseInt(h(0x150))/0x8*(-parseInt(h(0x168))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a102c,0x629af));const a102b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a102d;if(c){const e=c[i(0x15d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a102a=a102b(this,function(){const j=a102d;return a102a[j(0x155)]()[j(0x157)]('(((.+)+)+)+$')['toString']()[j(0x165)](a102a)[j(0x157)](j(0x15e));});a102a();function a102d(a,b){const c=a102c();return a102d=function(d,e){d=d-0x14d;let f=c[d];return f;},a102d(a,b);}import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';function a102c(){const n=['production','6816DcGHrw','maka\x20{generate,\x20g}:{config}\x20<name>','maka\x20g:config\x20production','settings.json','pathFromProject','473848QeQzFE','818584iIjVqq','prod','template','config/process.env','toString','config','search','process.env','779525QacXWF','create','1269336aQONMI','config/settings.json','apply','(((.+)+)+)+$','withValue','isDocker','fsi','getProjectConfig','172544hQUuQj','dev','constructor','3269szSagm','ubuntu','9OgriGN','759317auGRkS','resourceName','development','appName'];a102c=function(){return n;};return a102c();}Generator[a102k(0x15a)]({'name':'config','usage':a102k(0x16f),'shortDesc':'Generate\x20configuration\x20settings.','validOpts':[a102k(0x160)],'examples':[a102k(0x14d)]},function(a,b){const l=a102k,c=this[l(0x161)][l(0x162)]();this['fsi'][l(0x15f)](c,async()=>{const m=l,d={'app':c['appName'],'appFileCase':paramCase(c[m(0x16c)]),'name':pascalCase(b[m(0x16a)]),'fileName':paramCase(b[m(0x16a)]),'camelCase':camelCase(b[m(0x16a)]),'userName':m(0x167),'isDocker':b[m(0x160)]};let e=b[m(0x16a)];if(e===m(0x164))e=m(0x16b);else e===m(0x152)&&(e=m(0x16d));const f=this[m(0x161)][m(0x14f)]({'pathParts':[m(0x156),e,m(0x14e)]});this[m(0x161)][m(0x153)]({'srcPath':m(0x15c),'destPath':f,'context':d,'config':c});if(!b['isDocker']){const g=this[m(0x161)][m(0x14f)]({'pathParts':[m(0x156),e,m(0x158)]});this[m(0x161)][m(0x153)]({'srcPath':m(0x154),'destPath':g,'context':d,'config':c});}});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a103l=a103d;function a103d(a,b){const c=a103c();return a103d=function(d,e){d=d-0x76;let f=c[d];return f;},a103d(a,b);}(function(a,b){const j=a103d,c=a();while(!![]){try{const d=parseInt(j(0x9e))/0x1+parseInt(j(0x7d))/0x2+-parseInt(j(0x98))/0x3+-parseInt(j(0x7e))/0x4+parseInt(j(0x99))/0x5*(parseInt(j(0x8f))/0x6)+parseInt(j(0xa4))/0x7*(-parseInt(j(0x92))/0x8)+parseInt(j(0xa8))/0x9*(parseInt(j(0x9a))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a103c,0x90360));const a103b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a103a=a103b(this,function(){const k=a103d;return a103a[k(0x7b)]()[k(0x8d)](k(0x8a))['toString']()[k(0xa0)](a103a)[k(0x8d)](k(0x8a));});a103a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a103c(){const o=['Npm\x20package\x20\x22mssql\x22\x20not\x20installed,\x20installing...','Npm\x20package\x20\x22pg\x22\x20not\x20installed,\x20installing...','toString','withValue','2347266okmWaD','4370524CUhInn','dbc','checkNpmPackage','conn.','dbc/conn.js','type','-dbc\x27;','template','sqlite','imports','create','better-sqlite3','(((.+)+)+)+$','getProjectConfig','engines','search','maka\x20g:dbc\x20todos\x20--type=sqlite','1356bkztZa','tsx','pathFromApp','588792UviysT','dir','dbc/config.js','maka\x20g:dbc\x20azure\x20--type=mssql','import\x20\x27./register-','startup','1085934uaQUMJ','6450unNhtF','3862350naBWou','Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','config.','register-','561884WKldkK','injectAtEndOfFile','constructor','installNpmPackage','mssql','maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','35jwqPUy','pgsql','-dbc.','fsi','9GIeWoY','error','resourceName','warn','server'];a103c=function(){return o;};return a103c();}Generator[a103l(0x88)]({'name':a103l(0x7f),'usage':a103l(0xa3),'shortDesc':a103l(0x9b),'validOpts':[a103l(0x93)],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a103l(0x83),'values':[a103l(0xa5),a103l(0xa2),a103l(0x86)]}],'examples':['maka\x20g:dbc\x20geoserver\x20--type=pgsql',a103l(0x95),a103l(0x8e)]},async function(a,b){const m=a103l;try{const c=await this[m(0xa7)][m(0x8b)](),d=this[m(0xa7)][m(0x91)]({}),f=paramCase(b[m(0x76)]),g={'name':pascalCase(b[m(0x76)]),'fileName':paramCase(b[m(0x76)]),'camelCase':camelCase(b[m(0x76)]),'type':b[m(0x83)],'engine':c[m(0x8c)]['js'],'noRename':!![]};this[m(0xa7)][m(0x7c)](c,async()=>{const n=m;let h='js';c[n(0x8c)]['js']===n(0x90)&&(h='ts');b[n(0x83)]===n(0xa5)&&!this[n(0xa7)][n(0x80)]('pg')&&(Log[n(0x77)](n(0x7a)),await this[n(0xa7)][n(0xa1)]('pg',{'cwd':d}));b[n(0x83)]===n(0xa2)&&!this[n(0xa7)][n(0x80)](n(0xa2))&&(Log[n(0x77)](n(0x79)),await this[n(0xa7)]['installNpmPackage'](n(0xa2),{'cwd':d}));b[n(0x83)]===n(0x86)&&!this[n(0xa7)]['checkNpmPackage'](n(0x89))&&(Log[n(0x77)]('Npm\x20package\x20\x22better-sqlite3\x22\x20not\x20installed,\x20installing...'),await this[n(0xa7)][n(0xa1)](n(0x89),{'cwd':d}));this[n(0xa7)][n(0x85)]({'srcPath':n(0x94),'destPath':this[n(0xa7)][n(0x91)]({'pathParts':[n(0x87),n(0x97),n(0x78),n(0x7f),b['dir'],f,n(0x9c)+h]}),'context':g,'config':c}),this[n(0xa7)][n(0x85)]({'srcPath':n(0x82),'destPath':this[n(0xa7)][n(0x91)]({'pathParts':[n(0x87),n(0x97),'server',n(0x7f),b[n(0x93)],f,n(0x81)+h]}),'context':g,'config':c}),this[n(0xa7)][n(0x85)]({'srcPath':'dbc/register-dbc.js','destPath':this['fsi'][n(0x91)]({'pathParts':[n(0x87),'startup',n(0x78),n(0x9d)+f+n(0xa6)+h]}),'context':g,'config':c});const i=this['fsi'][n(0x91)]({'pathParts':['imports',n(0x97),n(0x78),'index.'+c['engines']['js']]});this['fsi'][n(0x9f)]({'filePath':i,'content':n(0x96)+f+n(0x84)});});}catch(h){Log[m(0xa9)](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a104i=a104d;(function(a,b){const f=a104d,c=a();while(!![]){try{const d=parseInt(f(0x7e))/0x1+-parseInt(f(0x80))/0x2*(-parseInt(f(0x87))/0x3)+parseInt(f(0x7d))/0x4+parseInt(f(0x97))/0x5*(parseInt(f(0x96))/0x6)+-parseInt(f(0x91))/0x7+-parseInt(f(0x95))/0x8+-parseInt(f(0x8b))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a104c,0xc32af));function a104c(){const l=['14wJyRIi','create','template','isFile','apply','cert','getProjectConfig','545199LtYGfZ','fsi','findProjectDirectory','Generate\x20an\x20updated\x20dockerfile','15835428iEgwuo','maka\x20{generate,\x20g}:dockerfile','build','(((.+)+)+)+$','search','service','7063042yfeaJm','toString','join','dockerfile','3735952zWwhsX','2931222nPqtPl','10CTgiXT','withValue','appName','maka\x20g:dockerfile','app.tar.gz','docker/Dockerfile','5500460VByGcB','410579wyZZmE','error'];a104c=function(){return l;};return a104c();}function a104d(a,b){const c=a104c();return a104d=function(d,e){d=d-0x7c;let f=c[d];return f;},a104d(a,b);}const a104b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a104d;if(c){const e=c[g(0x84)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a104a=a104b(this,function(){const h=a104d;return a104a[h(0x92)]()['search']('(((.+)+)+)+$')[h(0x92)]()['constructor'](a104a)[h(0x8f)](h(0x8e));});a104a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a104e from'path';Generator[a104i(0x81)]({'name':a104i(0x94),'usage':a104i(0x8c),'shortDesc':a104i(0x8a),'validOpts':[],'noNeedResource':!![],'examples':[a104i(0x9a)]},async function(){const j=a104i;try{const a=await this['fsi'][j(0x86)](),b=await this['fsi']['getGlobalConfig'](),c=this[j(0x88)][j(0x89)]();this[j(0x88)][j(0x98)](a,async()=>{const k=j,d={'app':b[k(0x99)],'config':a,'appPath':a104e['join'](c,'app'),'bundlePath':a104e[k(0x93)](c,k(0x8d),k(0x9b)),'useCert':this[k(0x88)][k(0x83)](b[k(0x85)])};this['fsi'][k(0x82)]({'srcPath':k(0x7c),'destPath':a104e[k(0x93)](c,'Dockerfile'),'framework':k(0x90),'context':d,'config':a});});}catch(d){Log[j(0x7f)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a105d(a,b){const c=a105c();return a105d=function(d,e){d=d-0xd1;let f=c[d];return f;},a105d(a,b);}function a105c(){const u=['resourceName','baseDir','apply','setTemplate','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','Creating\x20','graphql','hook/hook.js','features','true','\x20hook...','\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','547996zrPRpQ','ssr','682738ellaTH','lib','template/template.css','1691316kkUQrn','layouts','pathFromApp','export\x20\x27','engines','pages','notice','client','warn','5iJttoB','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','react','25712XnWFtq','2180iGZJFq','rewriteDestinationPathForEngine','hook','apollo','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','checkNpmPackage','create','none','/imports/ui/hooks','16mgATdO','search','withTranslations','\x27;\x0a','fileName','export\x20{\x20','import\x20\x27./','.css','9662708wXnwPw','getProjectConfig','.app-tests.js','hooks','2OkQHJf','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','css','dir','cssCaseName','startup','imports','constructor','948168TkaUYM','template','error','components','/imports/ui/','6138HZspsb','assign','maka\x20g:hook\x20cool-hook','.js','relative','injectAtEndOfFile','templates.js','test/test.js','toString','fsi','(((.+)+)+)+$','@apollo/client'];a105c=function(){return u;};return a105c();}const a105r=a105d;(function(a,b){const o=a105d,c=a();while(!![]){try{const d=parseInt(o(0x116))/0x1*(parseInt(o(0xe0))/0x2)+parseInt(o(0xe8))/0x3+parseInt(o(0x105))/0x4*(parseInt(o(0x113))/0x5)+parseInt(o(0x10a))/0x6+parseInt(o(0x107))/0x7*(parseInt(o(0xd4))/0x8)+parseInt(o(0xed))/0x9*(parseInt(o(0x117))/0xa)+-parseInt(o(0xdc))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a105c,0x372b1));const a105b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a105d;if(c){const e=c[p(0xfb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a105a=a105b(this,function(){const q=a105d;return a105a[q(0xf5)]()[q(0xd5)]('(((.+)+)+)+$')[q(0xf5)]()[q(0xe7)](a105a)[q(0xd5)](q(0xf7));});a105a();import a105e 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[a105r(0xd1)]({'name':a105r(0x119),'aliases':['h'],'checkWhere':![],'usage':a105r(0x11b),'shortDesc':a105r(0xe1),'validOpts':[{'name':a105r(0xfa),'values':[a105r(0xdf),a105r(0xeb),a105r(0x10f),a105r(0x10b)]}],'examples':[a105r(0xef)],'description':a105r(0x104)},async function(a,b){const s=a105r;Log[s(0x110)](s(0xfe)+b[s(0xf9)]+s(0x103));try{const c=this[s(0xf6)][s(0x11c)](s(0x115));if(!c){Log[s(0xea)](s(0xfd));throw new UsageError();}const d=this[s(0xf6)][s(0x10c)](b),f=b[s(0xfa)]?s(0xec)+b[s(0xfa)]:s(0xd3),g=this[s(0xf6)]['pathFromApp']({'pathParts':[f,b[s(0xe3)],paramCase(b[s(0xf9)]),paramCase(b[s(0xf9)])]}),h=await this['fsi'][s(0xdd)]();this[s(0xf6)]['withValue'](h,async()=>{const t=s;typeof h['template'][t(0xe2)]==='string'&&(h[t(0xe9)][t(0xe2)]=h[t(0xe9)][t(0xe2)]===t(0x102)?!![]:![],this[t(0xf6)][t(0xfc)](t(0xe2),h[t(0xe9)][t(0xe2)]));h['engines'][t(0xff)]===t(0x11a)&&!this['fsi'][t(0x11c)](t(0xf8))&&(Log[t(0x112)](t(0x114)),await this[t(0xf6)]['installNpmPackage']('@apollo/client\x20isomorphic-fetch',{'cwd':d}));const i={'cssCaseName':paramCase(b[t(0xf9)]),'camelCaseName':camelCase(b[t(0xf9)]),'className':pascalCase(b['resourceName']),'name':pascalCase(b[t(0xf9)]),'graphql':h['engines'][t(0xff)],'theme':h[t(0x10e)]['theme'],'features':h[t(0x101)],'myPath':a105e[t(0xf1)](this[t(0xf6)]['pathFromProject']({}),g),'fileName':paramCase(b[t(0xf9)]),'isComponent':![],'isLayout':![],'withTranslations':h[t(0x101)][t(0xd6)]};this['fsi'][t(0xe9)]({'srcPath':t(0x100),'destPath':g+t(0xf0),'context':i,'config':h,'framework':'react'});h[t(0xe9)][t(0xe2)]&&(this['fsi'][t(0xe9)]({'srcPath':t(0x109),'destPath':g+t(0xdb),'context':Object[t(0xee)]({},i,{'className':i[t(0xe4)]}),'config':h}),this[t(0xf6)]['injectAtBeginningOfFile']({'filePath':g+'.'+h[t(0x10e)]['js'],'content':t(0xda)+i['fileName']+'.'+h[t(0x10e)][t(0xe2)]+'\x27;'}));h['engines']['test']!==t(0xd2)&&this[t(0xf6)][t(0xe9)]({'srcPath':t(0xf4),'destPath':g+t(0xde),'framework':t(0x115),'context':i,'config':h});const j=b['dir']?'/'+b[t(0xe3)]+'/':'/',k=''+f+j+i[t(0xd8)]+'/'+i['fileName'];let l;if(h[t(0x10e)][t(0x106)]==='true'){const m=this['fsi']['pathFromApp']({'pathParts':[t(0xe6),t(0xe5),t(0x108),t(0xf3)]});l=this[t(0xf6)][t(0x118)]({'pathParts':[m],'config':h});}else{const n=this[t(0xf6)][t(0x10c)]({'pathParts':['imports',t(0xe5),t(0x111),t(0xf3)]});l=this[t(0xf6)][t(0x118)]({'pathParts':[n],'config':h});}h[t(0x10e)]['client']===t(0x115)?this['fsi']['injectAtEndOfFile']({'filePath':l,'content':t(0xd9)+i['className']+'\x20}\x20from\x20\x27'+k+t(0xd7)}):this['fsi'][t(0xf2)]({'filePath':l,'content':t(0x10d)+k+'.'+h[t(0x10e)]['js']+t(0xd7)});});}catch(i){Log['error'](i);}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(a,b){var f=a106d,c=a();while(!![]){try{var d=-parseInt(f(0x1fb))/0x1*(parseInt(f(0x1f0))/0x2)+parseInt(f(0x1f8))/0x3+parseInt(f(0x1f7))/0x4+-parseInt(f(0x1fc))/0x5*(parseInt(f(0x1fa))/0x6)+parseInt(f(0x1f1))/0x7+-parseInt(f(0x1f2))/0x8*(-parseInt(f(0x1f3))/0x9)+-parseInt(f(0x1f9))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a106c,0x1bbd0));function a106d(a,b){var c=a106c();return a106d=function(d,e){d=d-0x1f0;var f=c[d];return f;},a106d(a,b);}var a106b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a106d;if(c){var e=c[g(0x1f6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a106a=a106b(this,function(){var h=a106d;return a106a['toString']()['search'](h(0x1f4))[h(0x1f5)]()[h(0x1fd)](a106a)[h(0x1fe)]('(((.+)+)+)+$');});a106a();import'./kit.js';import'./mui/_index.js';function a106c(){var i=['406284pDhxrJ','496896LQYYgd','1950180AfZJBA','210ADuJGO','93TRJwAW','10055tZXWqm','constructor','search','3554TEXebk','1174782QeFPAp','488hrAkdU','16119yBgWvX','(((.+)+)+)+$','toString','apply'];a106c=function(){return i;};return a106c();}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const a107i=a107d;(function(a,b){const f=a107d,c=a();while(!![]){try{const d=-parseInt(f(0x16f))/0x1+-parseInt(f(0x16e))/0x2+-parseInt(f(0x173))/0x3+-parseInt(f(0x169))/0x4+-parseInt(f(0x16b))/0x5+-parseInt(f(0x165))/0x6+parseInt(f(0x166))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a107c,0x4f4a2));const a107b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a107d;if(c){const e=c[g(0x168)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a107a=a107b(this,function(){const h=a107d;return a107a[h(0x171)]()[h(0x16c)](h(0x16a))[h(0x171)]()['constructor'](a107a)[h(0x16c)](h(0x16a));});a107a();function a107d(a,b){const c=a107c();return a107d=function(d,e){d=d-0x164;let f=c[d];return f;},a107d(a,b);}import{Generator}from'../../generator.js';const KitGen=Generator['create']({'name':a107i(0x167),'aliases':['k'],'usage':a107i(0x172),'shortDesc':a107i(0x170),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a107i(0x16d),a107i(0x164)]},async function(){});export default KitGen;function a107c(){const j=['toString','maka\x20{generate,\x20g}:{kit}\x20<name>','53394vxTERW','maka\x20g:k','1415028GiSWKa','17740184LXHMfZ','kit','apply','2426364YLfTHt','(((.+)+)+)+$','3040390Dacpev','search','maka\x20g:kit','442524JTYcOA','519975lLdGyS','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.'];a107c=function(){return j;};return a107c();}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(a,b){var f=a108d,c=a();while(!![]){try{var d=-parseInt(f(0x198))/0x1+-parseInt(f(0x1a5))/0x2+-parseInt(f(0x1a0))/0x3+-parseInt(f(0x1a4))/0x4*(parseInt(f(0x19f))/0x5)+-parseInt(f(0x19d))/0x6+-parseInt(f(0x19e))/0x7*(-parseInt(f(0x19b))/0x8)+parseInt(f(0x1a1))/0x9*(parseInt(f(0x19a))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a108c,0xe34d3));var a108b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a108d;if(c){var e=c[g(0x199)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a108a=a108b(this,function(){var h=a108d;return a108a[h(0x1a6)]()[h(0x1a2)](h(0x19c))[h(0x1a6)]()[h(0x1a3)](a108a)['search']('(((.+)+)+)+$');});a108a();import'./mui.generator.js';function a108d(a,b){var c=a108c();return a108d=function(d,e){d=d-0x198;var f=c[d];return f;},a108d(a,b);}import'./layout.mui.gen.js';function a108c(){var i=['toString','671366UIJSbR','apply','10BvfyoN','17232sIeFHV','(((.+)+)+)+$','6097266dBmOCF','1197SAkisp','5XzthJZ','3655302aoSrZo','48660741VijQgq','search','constructor','544952DFqiAc','3603614QYAdaS'];a108c=function(){return i;};return a108c();}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var a109i=a109d;(function(a,b){var f=a109d,c=a();while(!![]){try{var d=parseInt(f(0x12b))/0x1+-parseInt(f(0x126))/0x2+-parseInt(f(0x12c))/0x3*(-parseInt(f(0x127))/0x4)+parseInt(f(0x12d))/0x5+-parseInt(f(0x12e))/0x6+-parseInt(f(0x129))/0x7*(parseInt(f(0x125))/0x8)+parseInt(f(0x130))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a109c,0xd7bf2));var a109b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a109d;if(c){var e=c[g(0x123)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a109a=a109b(this,function(){var h=a109d;return a109a[h(0x12a)]()[h(0x128)]('(((.+)+)+)+$')['toString']()['constructor'](a109a)[h(0x128)](h(0x12f));});a109a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a109e from'./mui.generator.js';function a109d(a,b){var c=a109c();return a109d=function(d,e){d=d-0x123;var f=c[d];return f;},a109d(a,b);}Generator['create']({'name':'layout','aliases':['l'],'usage':a109i(0x124),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20layout','validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:l\x20master-layout']},async function(){var j=a109i;Log[j(0x131)](j(0x132));},a109e);function a109c(){var k=['678775dJcfbN','3uCLGuM','6081495OzXlAL','1550790PclWjW','(((.+)+)+)+$','6205950pHvgqE','notice','NIE','apply','maka\x20{generate,\x20g}:{kit}:{layout,\x20l}\x20<kit-name>','3728VCFMJd','2911840itHGsK','6363476dgqrdh','search','23695FzkQzv','toString'];a109c=function(){return k;};return a109c();}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function a110c(){const k=['4ojOfmJ','mui','toString','9vSFEaN','1172210DNVwMq','apply','889128qAxozn','738380kPokeN','496047AJLMDf','create','1236750yukulO','constructor','520rQVtvE','(((.+)+)+)+$','NIE','504210jtKnlh','102809XFfBWC','search'];a110c=function(){return k;};return a110c();}const a110i=a110d;function a110d(a,b){const c=a110c();return a110d=function(d,e){d=d-0xfd;let f=c[d];return f;},a110d(a,b);}(function(a,b){const f=a110d,c=a();while(!![]){try{const d=parseInt(f(0x107))/0x1+parseInt(f(0x10b))/0x2+parseInt(f(0x109))/0x3*(parseInt(f(0x101))/0x4)+-parseInt(f(0x105))/0x5+parseInt(f(0xfe))/0x6+parseInt(f(0xff))/0x7*(-parseInt(f(0x10d))/0x8)+-parseInt(f(0x104))/0x9*(parseInt(f(0x108))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a110c,0x78980));const a110b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a110d;if(c){const e=c[g(0x106)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a110a=a110b(this,function(){const h=a110d;return a110a['toString']()[h(0x100)](h(0x10e))[h(0x103)]()[h(0x10c)](a110a)[h(0x100)](h(0x10e));});a110a();import{Generator}from'../../../generator.js';import a110e from'../kit.js';const MuiGen=Generator[a110i(0x10a)]({'name':a110i(0x102),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','noNeedResource':!![],'shortDesc':'Material-UI\x20Kit','validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:m']},async function(){const j=a110i;throw j(0xfd);},a110e);export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a111r=a111d;function a111c(){const u=['resourceName','setTemplate','217nRqPHo','fileName','9qEjhPU','.css','includes','2260WEmmQE','hook/hook.js','withTranslations','ssr','pathFromApp','findAppDirectory','injectAtEndOfFile','css','fsi','graphql','rewriteDestinationPathForEngine','string','component/component.js','import\x20\x27./','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','(((.+)+)+)+$','8019120nnPGWz','engines','react','split','withValue','3025wWvTOa','138750PGnyFL','toString','6686704ZGhRgS','checkNpmPackage','\x20}\x20from\x20\x27','none','client','theme','maka\x20g:l\x20web/safari','\x27;\x0a','dir','installNpmPackage','withHooks','test','Scaffolding\x20for\x20a\x20React\x20Layout.','4521cRRKbm','1492ZcwEKS','withHook','/imports/ui/layouts','.js','apply','1hUPqVc','lib','layout','warn','constructor','export\x20{\x20','imports','template/template.css','true','relative','startup','maka\x20g:layout\x20mobile/iPhone8','features','1117791BHGaaq','ramda','getProjectConfig','templates.js','624476GLpIhm','template','api'];a111c=function(){return u;};return a111c();}(function(a,b){const o=a111d,c=a();while(!![]){try{const d=-parseInt(o(0x1b7))/0x1*(parseInt(o(0x1c8))/0x2)+-parseInt(o(0x1c4))/0x3+parseInt(o(0x1b2))/0x4*(parseInt(o(0x1a1))/0x5)+parseInt(o(0x1a2))/0x6*(-parseInt(o(0x1cd))/0x7)+parseInt(o(0x1a4))/0x8*(parseInt(o(0x1cf))/0x9)+-parseInt(o(0x1d2))/0xa*(-parseInt(o(0x1b1))/0xb)+parseInt(o(0x19c))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a111c,0x66c4b));function a111d(a,b){const c=a111c();return a111d=function(d,e){d=d-0x199;let f=c[d];return f;},a111d(a,b);}const a111b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a111d;if(c){const e=c[p(0x1b6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a111a=a111b(this,function(){const q=a111d;return a111a[q(0x1a3)]()['search'](q(0x19b))[q(0x1a3)]()[q(0x1bb)](a111a)['search']('(((.+)+)+)+$');});a111a();import a111e 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['create']({'name':a111r(0x1b9),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','shortDesc':a111r(0x1b0),'validOpts':[],'examples':[a111r(0x1c2),a111r(0x1aa)]},function(a,b){const s=a111r,c=s(0x1b4),d=this[s(0x1da)][s(0x1d7)](),e=this[s(0x1da)][s(0x1d6)]({'pathParts':[c,b[s(0x1ac)],paramCase(b[s(0x1cb)]),paramCase(b['resourceName'])]}),f=this['fsi'][s(0x1c6)]();this['fsi'][s(0x1a0)](f,()=>{const t=s;typeof f[t(0x1c9)][t(0x1af)]===t(0x1dd)&&(f[t(0x1c9)][t(0x1af)]=f[t(0x1c9)][t(0x1af)]===t(0x1bf)?!![]:![],this[t(0x1da)][t(0x1cc)](t(0x1af),f[t(0x1c9)]['test']));typeof f['template'][t(0x1d9)]===t(0x1dd)&&(f[t(0x1c9)][t(0x1d9)]=f[t(0x1c9)][t(0x1d9)]===t(0x1bf)?!![]:![],this[t(0x1da)][t(0x1cc)](t(0x1d9),f[t(0x1c9)][t(0x1d9)]));typeof f[t(0x1c9)]['js']===t(0x1dd)&&(f[t(0x1c9)]['js']=f[t(0x1c9)]['js']===t(0x1bf)?!![]:![],this[t(0x1da)][t(0x1cc)]('js',f['template']['js']));!f[t(0x1c3)]&&(f['features']={});const g=b['_']?b['_'][0x0][t(0x19f)](':')[0x1]:![],h=b['_']&&aliases[t(0x1d1)](g);h&&!this[t(0x1a5)]('ramda')&&(Log[t(0x1ba)](t(0x19a)),this['fsi'][t(0x1ad)](t(0x1c5),{'cwd':d}));if(h&&!this[t(0x1a5)]('react')){Log['warn']('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');return;}const i={'name':pascalCase(b[t(0x1cb)]),'myPath':a111e[t(0x1c0)](this[t(0x1da)]['pathFromProject']({}),e),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[t(0x1cb)]),'camelCaseName':camelCase(b[t(0x1cb)]),'fileName':paramCase(b['resourceName']),'graphql':f[t(0x19d)][t(0x1db)],'features':f[t(0x1c3)],'client':f[t(0x19d)][t(0x1a8)],'api':f[t(0x19d)][t(0x1ca)],'ssr':f[t(0x19d)][t(0x1d5)],'test':f[t(0x19d)][t(0x1af)],'theme':f[t(0x19d)][t(0x1a9)],'isComponent':![],'isLayout':!![],'withTranslations':f[t(0x1c3)][t(0x1d4)]};f[t(0x1c3)]?.[t(0x1ae)]||b[t(0x1b3)]?this[t(0x1da)][t(0x1c9)]({'srcPath':t(0x1d3),'destPath':e+t(0x1b5),'framework':'react','context':i,'config':f}):this[t(0x1da)]['template']({'srcPath':t(0x1de),'destPath':e+t(0x1b5),'framework':t(0x19e),'context':i,'config':f});f[t(0x19d)][t(0x1af)]!==t(0x1a7)&&this[t(0x1da)][t(0x1c9)]({'srcPath':'test/test.js','destPath':e+'.app-tests.js','framework':'react','context':i,'config':f});f[t(0x1c9)][t(0x1d9)]&&(this[t(0x1da)][t(0x1c9)]({'srcPath':t(0x1be),'destPath':e+t(0x1d0),'context':Object['assign']({},i,{'className':paramCase(b['resourceName'])}),'config':f}),this[t(0x1da)]['injectAtBeginningOfFile']({'filePath':e+'.'+f[t(0x19d)]['js'],'content':t(0x199)+i[t(0x1ce)]+'.'+f['engines']['css']+'\x27;'}));const j=b['dir']?'/'+b['dir']+'/':'/',k=''+c+j+i['fileName']+'/'+i[t(0x1ce)];let l;if(f[t(0x19d)]['ssr']===t(0x1bf)){const m=this[t(0x1da)][t(0x1d6)]({'pathParts':[t(0x1bd),t(0x1c1),t(0x1b8),'templates.js']});l=this[t(0x1da)]['rewriteDestinationPathForEngine']({'pathParts':[m],'config':f});}else{const n=this[t(0x1da)][t(0x1d6)]({'pathParts':[t(0x1bd),'startup','client',t(0x1c7)]});l=this[t(0x1da)][t(0x1dc)]({'pathParts':[n],'config':f});}f[t(0x19d)][t(0x1a8)]===t(0x19e)?this[t(0x1da)]['injectAtEndOfFile']({'filePath':l,'content':t(0x1bc)+i['className']+t(0x1a6)+k+t(0x1ab)}):this[t(0x1da)][t(0x1d8)]({'filePath':l,'content':'export\x20\x27'+k+'.'+f[t(0x19d)]['js']+t(0x1ab)});});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a112i=a112d;function a112c(){const j=['maka\x20g:scaffold\x20todos','maka\x20g:route\x20todos/edit','maka\x20generate:scaffold\x20todos','5684472BvSslU','354724vmVCcl','toString','constructor','5PPogoU','maka\x20g:package\x20package:name','apply','2647484swypOG','search','9792176OnSlBv','Scaffold\x20various\x20parts\x20of\x20your\x20application','5614833EFERkY','516108FaUcuu','(((.+)+)+)+$','166042IdMJNB','9GytRoA','maka\x20g:template\x20todos/todo_item'];a112c=function(){return j;};return a112c();}function a112d(a,b){const c=a112c();return a112d=function(d,e){d=d-0x15d;let f=c[d];return f;},a112d(a,b);}(function(a,b){const f=a112d,c=a();while(!![]){try{const d=parseInt(f(0x15e))/0x1+parseInt(f(0x16b))/0x2+-parseInt(f(0x170))/0x3+parseInt(f(0x165))/0x4*(-parseInt(f(0x168))/0x5)+-parseInt(f(0x164))/0x6+-parseInt(f(0x16f))/0x7+parseInt(f(0x16d))/0x8*(parseInt(f(0x15f))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a112c,0xabc46));const a112b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a112d;if(c){const e=c[g(0x16a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a112a=a112b(this,function(){const h=a112d;return a112a[h(0x166)]()[h(0x16c)](h(0x15d))[h(0x166)]()[h(0x167)](a112a)[h(0x16c)](h(0x15d));});a112a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':'generate','aliases':['g'],'usage':'maka\x20{generate,\x20g}:<generator>\x20<name>','validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a112i(0x16e),'examples':[a112i(0x163),a112i(0x161),a112i(0x160),a112i(0x169),a112i(0x162),'maka\x20g:api\x20trucks','maka\x20g:dbc\x20geoserver\x20--type=pgsql']},function(){});export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a113n=a113d;function a113c(){const q=['2783592zbwJaA','946718Xreabh','withValue','constructor','1199406BFXTnc','method','check','14101488MrEEHX','mdg:validated-method','2975992IvJKLq','6glLAjw','6831732RBoOtF','4619135qgIVNq','fsi','ddp-rate-limiter','appPathPrefix','injectAtEndOfFile','startup','engines','(((.+)+)+)+$','dir','installMeteorPackage','imports','getProjectConfig','toString','import\x20\x27./methods','tsx','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','resourceName','create','error','template','search','pathFromApp','warn','checkMeteorPackage','apply'];a113c=function(){return q;};return a113c();}(function(a,b){const k=a113d,c=a();while(!![]){try{const d=parseInt(k(0x7e))/0x1+-parseInt(k(0x81))/0x2*(-parseInt(k(0x87))/0x3)+-parseInt(k(0x86))/0x4+-parseInt(k(0x89))/0x5+-parseInt(k(0x88))/0x6+-parseInt(k(0x7d))/0x7+parseInt(k(0x84))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a113c,0xac0c3));const a113b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a113d;if(c){const e=c[l(0x7c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a113a=a113b(this,function(){const m=a113d;return a113a[m(0x70)]()[m(0x78)]('(((.+)+)+)+$')['toString']()[m(0x80)](a113a)[m(0x78)](m(0x6b));});a113a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a113d(a,b){const c=a113c();return a113d=function(d,e){d=d-0x6b;let f=c[d];return f;},a113d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';Generator[a113n(0x75)]({'name':a113n(0x82),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{method,\x20m}\x20name','checkWhere':!![],'shortDesc':a113n(0x73),'validOpts':['dir'],'examples':['maka\x20g:method\x20todos']},function(a,b){const o=a113n;try{const c=this[o(0x8a)][o(0x6f)]();this[o(0x8a)][o(0x7f)](c,async()=>{const p=o,d=paramCase(b[p(0x74)]),f={'name':b['resourceName'],'fileName':d,'className':pascalCase(b[p(0x74)]),'camelCase':camelCase(b[p(0x74)]),'noRename':!![]};let g='js';c[p(0x8f)]['js']===p(0x72)&&(g='ts');const h=this['fsi'][p(0x79)]({});(!this['fsi']['checkMeteorPackage'](p(0x83))||!this[p(0x8a)][p(0x7b)](p(0x8b))||!this['fsi']['checkMeteorPackage'](p(0x85)))&&(Log[p(0x7a)]('Meteor\x20package\x20\x22check\x22\x20or\x20\x22ddp-rate-limiter\x22\x20or\x20\x22mdg:validated-method\x22\x20is\x20not\x20installed,\x20installing...'),this[p(0x8a)][p(0x6d)]('check\x20ddp-rate-limiter\x20mdg:validated-method',{'cwd':h}));this[p(0x8a)][p(0x77)]({'srcPath':'method/method.js','destPath':this[p(0x8a)][p(0x79)]({'pathParts':[p(0x6e),'startup',b['appPathPrefix'],'methods',b['dir'],d+'-rpc-method.'+g]}),'context':f,'config':c});const i=b[p(0x6c)]?'/'+b['dir']+'/':'/',j=this[p(0x8a)]['pathFromApp']({'pathParts':[p(0x6e),p(0x8e),b[p(0x8c)],'index.'+c['engines']['js']]});this[p(0x8a)][p(0x8d)]({'filePath':j,'content':p(0x71)+i+d+'-rpc-method\x27;'});});}catch(d){Log[o(0x76)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a114n=a114d;(function(a,b){const l=a114d,c=a();while(!![]){try{const d=parseInt(l(0x181))/0x1+parseInt(l(0x192))/0x2+-parseInt(l(0x173))/0x3+-parseInt(l(0x187))/0x4+parseInt(l(0x193))/0x5*(parseInt(l(0x180))/0x6)+-parseInt(l(0x19b))/0x7+-parseInt(l(0x17f))/0x8*(-parseInt(l(0x19a))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a114c,0xe9797));const a114b=(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;};}()),a114a=a114b(this,function(){const m=a114d;return a114a[m(0x177)]()[m(0x19c)]('(((.+)+)+)+$')[m(0x177)]()[m(0x176)](a114a)[m(0x19c)](m(0x17a));});a114a();import a114e from'path';function a114c(){const r=['package/','create','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','component','8rXHtFu','794298NRZggO','1523371EGjFvj','graphql','maka\x20g:package\x20todos:package','tests/client','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','template','1616488jhkxvy','getProjectConfig','withValue','hasOwnProperty','packages','layout','fsi','forEach','package.js','engines','theme','1516190zAtPJv','65XGJKMT','relative','.js','pathFromApp','noRename','resourceName','package','7021044wLiimg','12114781ULmLUD','search','5074335FxdHms','ssr','dir','constructor','toString','package/package.js','tests/server','(((.+)+)+)+$'];a114c=function(){return r;};return a114c();}function a114d(a,b){const c=a114c();return a114d=function(d,e){d=d-0x173;let f=c[d];return f;},a114d(a,b);}import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a114n(0x17c)]({'name':a114n(0x199),'aliases':['p'],'usage':a114n(0x17d),'shortDesc':a114n(0x185),'validOpts':[a114n(0x175)],'examples':[a114n(0x183)]},async function(a,b){const o=a114n,c=paramCase(b['resourceName']),d=this['fsi'][o(0x196)]({'pathParts':[o(0x18b),b[o(0x175)],c]}),e=this[o(0x18d)]['pathFromAppWithNoReWrite']({'pathParts':[o(0x18b),b[o(0x175)],c,o(0x18f)]}),f=this['fsi'][o(0x188)]();this['fsi'][o(0x189)](f,async()=>{const p=o,g={'name':paramCase(b['resourceName']),'myPath':a114e[p(0x194)](this[p(0x18d)]['pathFromProject']({}),d),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[p(0x198)]),'camelCaseName':camelCase(b[p(0x198)]),'fileName':c,'client':f['engines']['client'],'graphql':f['engines'][p(0x182)],'ssr':f[p(0x190)][p(0x174)],'isComponent':b[p(0x18a)](p(0x17e)),'isLayout':b[p(0x18a)](p(0x18c)),'isStore':b[p(0x18a)]('store'),'features':f['features'],'noRename':!![],'theme':f['engines'][p(0x191)]};this[p(0x18d)][p(0x186)]({'srcPath':p(0x178),'destPath':e,'context':g,'config':f}),g[p(0x197)]=![];const h=d+'/client/'+c+'.js';this[p(0x18d)][p(0x186)]({'srcPath':'template/template.js','destPath':h,'context':g,'config':f});const i=['lib','server',p(0x184),p(0x179)];i[p(0x18e)](j=>{const q=p,k=d+'/'+j+'/'+c+q(0x195);this[q(0x18d)][q(0x186)]({'srcPath':q(0x17b)+j+'/package.js','destPath':k,'context':g,'config':f});});});});
|