@maka/maka-cli 4.7.2 → 4.7.3
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 -1
- package/bundle/obf/src/generators/kits/kit.js +1 -1
- package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
- package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/mui.generator.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/templates/meteor/template/template.css +1 -4
- package/bundle/obf/src/templates/meteor/template/template.css.less +1 -4
- 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
|
-
const
|
|
1
|
+
const a97u=a97d;(function(a,b){const q=a97d,c=a();while(!![]){try{const d=parseInt(q(0x1b4))/0x1+parseInt(q(0x1ae))/0x2+-parseInt(q(0x167))/0x3*(parseInt(q(0x16b))/0x4)+parseInt(q(0x179))/0x5*(-parseInt(q(0x178))/0x6)+-parseInt(q(0x17f))/0x7+-parseInt(q(0x198))/0x8+parseInt(q(0x1ad))/0x9*(parseInt(q(0x1a6))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a97c,0x74737));const a97b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a97d;if(c){const e=c[r(0x1a1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a97a=a97b(this,function(){const s=a97d;return a97a[s(0x182)]()['search'](s(0x16f))[s(0x182)]()[s(0x1bb)](a97a)[s(0x194)](s(0x16f));});a97a();import a97e from'path';import a97f from'cli-table';import{paramCase}from'change-case';function a97d(a,b){const c=a97c();return a97d=function(d,e){d=d-0x162;let f=c[d];return f;},a97d(a,b);}import a97g from'./generators/maka.gen.js';import{Log,ColorMode}from'./tools/log/log.class.js';import{Tool}from'./tool.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError,UsageErrorWithSubs}from'./error.js';let _prevGen='';async function inside(a='.',b){const t=a97d,c=process[t(0x1a0)]();let d=null;try{process['chdir'](a),d=await b();}finally{process['chdir'](c);}return d;}function a97c(){const F=['You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator','12pktWXy','1720305HqCSuA','Alias','addGenerator\x20requires\x20a\x20Generator\x20instance','validateMakaSubscription','slice','aliases','691915JVjKpe','Generator\x20','tableList','toString','fsi','length','Generator.create\x20requires\x20some\x20options!','lib','validateParams','map','Generator\x20requires\x20a\x20handler\x20function','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27','root','Generator\x20not\x20found','number','exit','includes','create','help','pop','search','push','invoke','client','8688RxcAQG','\x20not\x20found','appPathPrefix','assign','sep','find','requiredEngines','maxOptsLength','cwd','apply','DARK','checkWhere','findProjectDirectory','split','1232110zYGwyW','where','Generator\x20requires\x20a\x20name','listGenerators','validateMakaProject','keys','addGenerator','36zSdnxB','811626fTbAQu','call','minArgLength','sort','list','Too\x20few\x20arguments','561039kyWDFU','handleGenerateError','both','LIGHT','_handler','function','Name','constructor','mustHaveMeteorInstalled','server','No\x20resource\x20name\x20specified','Too\x20many\x20options','There\x20is\x20no\x20Meteor\x20application\x20here','forEach','light','Generators:','Location','Description','name','resourceName','error','Both','dir','145995sKGDLx','Generator\x20format\x20is\x20incorrect','join','Generator.create\x20requires\x20a\x20handler\x20function!','16BkAcAa','_generators','validateEngines','options','(((.+)+)+)+$','replace','bright','getGlobalConfig','mustBeInMakaProject','shortDesc','Client','processAndRunGenerator'];a97c=function(){return F;};return a97c();}export class Generator extends Tool{[a97u(0x16e)];['_generators'];constructor(a,b){const v=a97u;super();if(!a)throw new Error('Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object');if(!a['name'])throw new Error(v(0x1a8));if(typeof b!=='function')throw new Error(v(0x189));this['_generators']=[],this['options']=Object[v(0x19b)]({},a),this['name']=this['options']['name'],this[v(0x1b8)]=b['bind'](this);}static[a97u(0x191)](a,b,c){const w=a97u;if(!a)throw new Error(w(0x185));if(typeof b!==w(0x1b9))throw new Error(w(0x16a));const d=new Generator(a,b);return c=c||a97g,Object[w(0x19b)](d,{'parent':c?.[w(0x16e)]?.[w(0x162)]}),c[w(0x1ac)](d),d;}[a97u(0x1ac)](a){const x=a97u;if(!(a instanceof Generator))throw new Error(x(0x17b));this[x(0x16c)][x(0x195)](a);}async[a97u(0x176)](a,b=[],c={}){const y=a97u;try{const d=a?.[y(0x1a5)](':');if(!d||d[y(0x184)]===0x0)throw y(0x168);let f=this['_generators'],g;for(const h of d){g=f[y(0x19d)](i=>i['match'](h));if(!g)throw y(0x180)+h+y(0x199);await this[y(0x17c)](g),f=g[y(0x16c)];}if(g)await g[y(0x196)](b,c);else throw y(0x18d);}catch(i){Log[y(0x164)](i);}}async['invoke'](a,b){const z=a97u,c=a[z(0x17d)]();b['resourceName']=c[0x0];try{const d=await this[z(0x183)][z(0x172)](),f=d['pallet']===z(0x1c2)?ColorMode[z(0x1b7)]:ColorMode[z(0x1a2)];Log['setColorMode'](f),await this[z(0x17c)](this);const g=a[0x0]===_prevGen||a[z(0x184)]===0x0&&this[z(0x16c)][z(0x184)]>=0x0,h=b[z(0x192)]||b['h'];if(g&&h){if(this['_generators'][z(0x184)]>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!h){if(this[z(0x16e)][z(0x173)]){const i=this[z(0x1aa)]();if(!i)throw new MustBeInProjectError();}if(this[z(0x16e)][z(0x1bc)]){const j=this['validateMeteorInstall']();if(!j)throw new NoMeteorFoundError();}if(typeof this[z(0x16e)][z(0x1b0)]===z(0x18e)){if(a[z(0x184)]<this['options'][z(0x1b0)]){Log[z(0x164)](z(0x1b3));throw new UsageError();}}if(typeof this['options']['maxArgLength']===z(0x18e)){if(a[z(0x184)]>this[z(0x16e)]['maxArgLength']){Log[z(0x164)]('Too\x20many\x20arguments');throw new UsageError();}}if(typeof this[z(0x16e)]['minOptsLength']===z(0x18e)){if(Object['keys'](b)[z(0x184)]<this[z(0x16e)]['minOptsLength']){Log[z(0x164)]('Too\x20few\x20options');throw new UsageError();}}if(typeof this[z(0x16e)][z(0x19f)]===z(0x18e)){if(Object[z(0x1ab)](b)['length']>=this[z(0x16e)][z(0x19f)]){Log[z(0x164)](z(0x1bf));throw new UsageError();}}}this['options'][z(0x19e)]&&this[z(0x16d)](this[z(0x16e)][z(0x19e)]);await this[z(0x187)](a,b,this[z(0x16e)]);if(!b[z(0x163)]&&!this['options']['noNeedResource']){Log[z(0x164)](z(0x1be));throw new UsageError();}_prevGen=a[0x0];}catch(k){this[z(0x1b5)](k),process[z(0x18f)](0x1);}await inside(b['cwd'],async()=>{const A=z;try{if(!b[A(0x18c)]&&!this[A(0x183)][A(0x1a4)]())throw new MustBeInProjectError();const l=b['resourceName']?.[A(0x170)](/\\/g,'/')['split']('/');!b[A(0x166)]&&(l?.['length']>0x1?(b[A(0x163)]=l[A(0x193)](),c[0x0]=b['resourceName'],b[A(0x166)]=l[A(0x188)](m=>{return paramCase(m);})[A(0x169)](a97e[A(0x19c)])):b[A(0x166)]='');if(this[A(0x16e)][A(0x1a3)]){if(!b[A(0x1a7)]){const n={'type':A(0x1b2),'name':'colLocAnswer','message':A(0x1c4),'choices':[{'name':A(0x175),'value':'client'},{'name':'Server','value':A(0x1bd)},{'name':A(0x165),'value':A(0x1b6)}]},{colLocAnswer:o}=await Actions[A(0x16e)](n);o?b['where']=o:b[A(0x1a7)]=A(0x1b6);}const m=[A(0x1b6),A(0x197),A(0x1bd)];if(!m[A(0x190)](b['where'])){Log[A(0x164)](A(0x18b));throw new UsageError();}switch(b[A(0x1a7)]){case'both':b['appPathPrefix']=A(0x186);break;case A(0x1bd):b[A(0x19a)]=A(0x1bd);break;case A(0x197):b['appPathPrefix']=A(0x197);break;default:b['appPathPrefix']='';}}await this[A(0x1b8)][A(0x1af)](this,c,b);}catch(p){this[A(0x1b5)](p);}});}[a97u(0x1a9)](){const B=a97u;this[B(0x181)](this[B(0x16c)]);}['handleGenerateError'](a){const C=a97u,{usage:usage='',description:description='',examples:examples=[],shortDesc:b,requiredOpts:requiredOpts=[],validOpts:c}=this[C(0x16e)];Log['usage'](description,examples,usage,b,requiredOpts,c);if(a instanceof UsageErrorWithSubs)Log['notice'](C(0x1c3)),this['tableList'](this[C(0x16c)]);else{if(a instanceof MustBeInProjectError)Log[C(0x164)](C(0x177));else{if(a instanceof NoMeteorFoundError)Log[C(0x164)](C(0x18a)),Log['notice']('Please\x20run\x20\x22maka\x20install\x20meteor\x22');else a instanceof NoMeteorAppFoundError&&Log[C(0x164)](C(0x1c0));}}}[a97u(0x181)](a){const D=a97u,b=new a97f({});b[D(0x195)]([D(0x1ba),D(0x17a),D(0x1c5)]),a[D(0x1b1)]()[D(0x1c1)](c=>{const E=D;b[E(0x195)]([c[E(0x162)],c[E(0x17e)](),c[E(0x174)]()]);}),Log[D(0x171)](b[D(0x182)]());}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a98d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a98d,c=a();while(!![]){try{var d=-parseInt(f(0x141))/0x1*(-parseInt(f(0x14a))/0x2)+-parseInt(f(0x13f))/0x3+-parseInt(f(0x148))/0x4+parseInt(f(0x147))/0x5+-parseInt(f(0x14c))/0x6*(-parseInt(f(0x140))/0x7)+parseInt(f(0x144))/0x8+-parseInt(f(0x146))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a98c,0x291a5));function a98d(a,b){var c=a98c();return a98d=function(d,e){d=d-0x13f;var f=c[d];return f;},a98d(a,b);}var a98b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a98d;if(c){var e=c[g(0x149)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a98a=a98b(this,function(){var h=a98d;return a98a[h(0x142)]()[h(0x14b)](h(0x145))[h(0x142)]()[h(0x143)](a98a)[h(0x14b)](h(0x145));});a98a();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';import'./layout.js';import'./methods.js';import'./package.js';import'./publish.js';import'./route.js';import'./service.js';function a98c(){var i=['14982wBYFpX','510366OtHrpK','371FjcLwm','155236dFOdjN','toString','constructor','2430688jhLXpb','(((.+)+)+)+$','2328354obrAgk','1559120VIsjKG','1224208ROxdvr','apply','2vItdSv','search'];a98c=function(){return i;};return a98c();}import'./page.js';import'./maka.gen.js';import'./dockerfile.js';import'./maka.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a99x=a99d;(function(a,b){const u=a99d,c=a();while(!![]){try{const d=parseInt(u(0x171))/0x1+parseInt(u(0x11c))/0x2+-parseInt(u(0x139))/0x3*(-parseInt(u(0x132))/0x4)+parseInt(u(0x13f))/0x5+-parseInt(u(0x12b))/0x6+-parseInt(u(0x165))/0x7*(-parseInt(u(0x13a))/0x8)+-parseInt(u(0x122))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a99c,0x6bfbd));const a99b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a99d;if(c){const e=c[v(0x160)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a99a=a99b(this,function(){const w=a99d;return a99a[w(0x137)]()[w(0x16d)]('(((.+)+)+)+$')[w(0x137)]()[w(0x12f)](a99a)[w(0x16d)](w(0x169));});function a99d(a,b){const c=a99c();return a99d=function(d,e){d=d-0x116;let f=c[d];return f;},a99d(a,b);}a99a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';function a99c(){const A=['withPubs','constructor','maka:check','rest-api.','4WdHNtV','api/resolvers.js','-api.','typeDefs.','\x27;\x0a','toString','processAndRunGenerator','2039223JffysU','3928tLPzdS','fsi','engines','apiAnswers','resolvers.','1144800guxxoG','rpc-methods.','if\x20\x5c(typeList','push','No\x20API\x20boundaries\x20selected','const','imports','rest','withGql','maka\x20{generate,\x20g}:{api}\x20<resource-name>','graphql','api','mongo','tsx','none','test','RPC\x20(Methods)','api/typeDefs.js','fixtures.','options','API\x20boundaries\x20to\x20create','TypeDefs);\x0a','api/register-api.js','api/methods.js','publications.','maka\x20g:api\x20Todos','/imports/api','withFixtures','injectAtBeginningOfFile','api/tests.js','error','api/fixtures.js','server','apply','Resolvers\x20}\x20from\x20\x27','import\x20\x27./register-','checkMeteorPackage','resolverList.push(','10031mcxeun','index.','withMethods','Fixtures','(((.+)+)+)+$','import\x20{\x20typeDefs\x20as\x20','dir','exit','search','withValue','api/publications.js','mdg:validated-method','267870XNAAmH','rewriteDestinationPathForEngine','Scaffolding\x20for\x20an\x20api\x20concept\x20(i.e.\x20Todos).','resourceName','typeList.push(','create','includes','1082450arYEVd','pathFromApp','.app-tests.','\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','startup','Publications','16572204jZuuVM','TypeDefs\x20}\x20from\x20\x27','/graphql/typeDefs','REST\x20API','-api\x27;','apollo','template','GraphQL','withRest','826452hAXgDY','/graphql/resolvers','length'];a99c=function(){return A;};return a99c();}import a99e from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a99x(0x11a)]({'name':a99x(0x14a),'aliases':['a'],'usage':a99x(0x148),'shortDesc':a99x(0x117),'validOpts':[a99x(0x16b)],'examples':[a99x(0x158)],'description':a99x(0x11f)},async function(a,b){const y=a99x;try{const c=this['fsi']['getMakaProjectConfig'](),d=[{'name':y(0x14f),'value':y(0x167)},{'name':y(0x168),'value':y(0x15a)},{'name':y(0x121),'value':y(0x12e)}];c[y(0x13c)]['api']===y(0x146)&&d['push']({'name':y(0x125),'value':y(0x12a)});c['engines'][y(0x149)]===y(0x127)&&d[y(0x142)]({'name':y(0x129),'value':y(0x147)});const f={'type':'checkbox','name':y(0x13d),'message':y(0x153),'pageSize':0x64,'choices':d},{apiAnswers:g}=await Actions[y(0x152)](f);g[y(0x12d)]===0x0&&(Log[y(0x15d)](y(0x143)),process[y(0x16c)](0x1)),await this[y(0x13b)][y(0x16e)](c,async()=>{const z=y,h=b[z(0x118)],i=paramCase(h),j=camelCase(h),k=b['dir']?'/'+b[z(0x16b)]+'/':'/',l={'name':pascalCase(h),'fileName':i,'camelCase':pascalCase(h),'optsDir':k,'api':c[z(0x13c)][z(0x14a)],'graphql':c[z(0x13c)][z(0x149)],'test':c[z(0x13c)][z(0x14e)],'noRename':!![],'withPubs':g[z(0x11b)](z(0x12e)),'withFixtures':g[z(0x11b)](z(0x15a)),'withMethods':g['includes'](z(0x167)),'withRest':g[z(0x11b)](z(0x12a))};let m='js';c[z(0x13c)]['js']===z(0x14c)&&(m='ts');await this[z(0x13b)][z(0x163)](['maka:rest',z(0x130),'ddp-rate-limiter',z(0x170),z(0x14b)],{'shouldInstall':!![]}),await a99e[z(0x138)]('collection',[i],{'config':c,'where':z(0x15f)});c[z(0x13c)][z(0x14a)]===z(0x146)&&(l[z(0x12a)]&&await this['fsi'][z(0x128)]({'srcPath':'api/api.js','destPath':this[z(0x13b)][z(0x11d)]({'pathParts':[z(0x145),z(0x14a),b[z(0x16b)],i,z(0x131)+m]}),'context':l,'config':c}));l['withMethods']&&await this[z(0x13b)][z(0x128)]({'srcPath':z(0x156),'destPath':this[z(0x13b)][z(0x11d)]({'pathParts':[z(0x145),z(0x14a),b[z(0x16b)],i,z(0x140)+m]}),'context':l,'config':c});l[z(0x15a)]&&await this[z(0x13b)]['template']({'srcPath':z(0x15e),'destPath':this[z(0x13b)][z(0x11d)]({'pathParts':['imports','api',b[z(0x16b)],i,z(0x151)+m]}),'context':l,'config':c});c['engines']['test']!==z(0x14d)&&this['fsi']['template']({'srcPath':z(0x15c),'destPath':this[z(0x13b)][z(0x11d)]({'pathParts':[z(0x145),'api',b[z(0x16b)],i,i+z(0x11e)+m]}),'context':l,'config':c});l[z(0x12e)]&&await this[z(0x13b)][z(0x128)]({'srcPath':z(0x16f),'destPath':this[z(0x13b)][z(0x11d)]({'pathParts':[z(0x145),z(0x14a),b[z(0x16b)],i,z(0x157)+m]}),'context':l,'config':c});if(c[z(0x13c)][z(0x149)]===z(0x127)){if(g['includes'](z(0x147))){const o=this[z(0x13b)][z(0x11d)]({'pathParts':['imports',z(0x120),'server',z(0x166)+c[z(0x13c)]['js']]}),p=this['fsi'][z(0x116)]({'pathParts':[o],'config':c}),q=this[z(0x13b)][z(0x11d)]({'pathParts':[z(0x145),z(0x14a),b[z(0x16b)],i,z(0x149),z(0x135)+m]}),r=z(0x159)+k+i+z(0x124);this['fsi'][z(0x128)]({'srcPath':z(0x150),'destPath':q,'context':l,'config':c}),await this[z(0x13b)]['injectAtBeginningOfFile']({'filePath':p,'content':z(0x16a)+j+z(0x123)+r+z(0x136)}),await this[z(0x13b)]['injectIntoFile']({'filePath':p,'content':z(0x119)+j+z(0x154),'begin':z(0x144),'end':'if\x20\x5c(typeList'});const s=this['fsi'][z(0x11d)]({'pathParts':[z(0x145),'api',b[z(0x16b)],i,z(0x149),z(0x13e)+m]}),t=z(0x159)+k+i+z(0x12c);await this[z(0x13b)][z(0x128)]({'srcPath':z(0x133),'destPath':s,'context':l,'config':c}),await this['fsi'][z(0x15b)]({'filePath':p,'content':'\x0aimport\x20{\x20resolvers\x20as\x20'+j+z(0x161)+t+'\x27;'}),await this[z(0x13b)]['injectIntoFile']({'filePath':p,'content':z(0x164)+j+'Resolvers);\x0a\x0a','begin':z(0x144),'end':z(0x141)});}}await this[z(0x13b)]['template']({'srcPath':z(0x155),'destPath':this[z(0x13b)][z(0x11d)]({'pathParts':[z(0x145),z(0x120),z(0x15f),'register-'+i+z(0x134)+m]}),'context':l,'config':c,'force':!![]});const n=this['fsi'][z(0x11d)]({'pathParts':[z(0x145),z(0x120),z(0x15f),z(0x166)+c['engines']['js']]});await this['fsi']['injectAtEndOfFile']({'filePath':n,'content':z(0x162)+i+z(0x126)});});}catch(h){console['error'](h),process[y(0x16c)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a100c(){const o=['
|
|
1
|
+
function a100d(a,b){const c=a100c();return a100d=function(d,e){d=d-0xaa;let f=c[d];return f;},a100d(a,b);}const a100l=a100d;function a100c(){const o=['constructor','(((.+)+)+)+$','1913349QcerYq','mongo','10353caeSPy','collection/collection.js','58xHvXXa','collections','1683472YYAGVX','search','imports','error','index.','resourceName','collection/tests.js','engines','col','.app-tests.','3807223KDCtnX','toString','getMakaProjectConfig','none','withValue','checkMeteorPackage','dir','import\x20\x27./collections','where','maka:check','4UmhOei','12990230PZZStU','appPathPrefix','test','maka\x20g:collection\x20todos','4485396FYGJAw','\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','5819290pqNBzD','9nWXjzd','Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection','fsi','create','pathFromApp','startup'];a100c=function(){return o;};return a100c();}(function(a,b){const j=a100d,c=a();while(!![]){try{const d=parseInt(j(0xba))/0x1*(parseInt(j(0xbc))/0x2)+-parseInt(j(0xb8))/0x3+parseInt(j(0xd2))/0x4*(parseInt(j(0xaf))/0x5)+parseInt(j(0xad))/0x6+parseInt(j(0xc8))/0x7+-parseInt(j(0xbe))/0x8+parseInt(j(0xb0))/0x9*(-parseInt(j(0xd3))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a100c,0x94836));const a100b=(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;};}()),a100a=a100b(this,function(){const k=a100d;return a100a[k(0xc9)]()['search'](k(0xb7))[k(0xc9)]()[k(0xb6)](a100a)[k(0xbf)](k(0xb7));});a100a();import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a100l(0xb3)]({'name':'collection','aliases':[a100l(0xc6)],'usage':'maka\x20{generate,\x20g}:{collection,\x20col}\x20<name>','checkWhere':!![],'shortDesc':a100l(0xb1),'validOpts':[a100l(0xce),a100l(0xd0)],'description':a100l(0xae),'examples':[a100l(0xac)]},async function(a,b){const m=a100l;try{const c=this[m(0xb2)][m(0xca)]();await this[m(0xb2)][m(0xcc)](c,async()=>{const n=m,d=paramCase(b[n(0xc3)]),f={'name':pascalCase(b[n(0xc3)]),'collectionName':pascalCase(b[n(0xc3)]),'fileName':d,'where':b[n(0xd0)],'test':c[n(0xc5)][n(0xab)],'noRename':!![]};let g='js';c['engines']['js']==='tsx'&&(g='ts');await this[n(0xb2)][n(0xcd)]([n(0xb9),n(0xd1)],{'shouldInstall':!![]}),await this[n(0xb2)]['template']({'srcPath':n(0xbb),'destPath':this[n(0xb2)]['pathFromApp']({'pathParts':[n(0xc0),n(0xb5),b['appPathPrefix'],'collections',b[n(0xce)],d+'.'+g]}),'context':f,'config':c});c[n(0xc5)][n(0xab)]!==n(0xcb)&&await this[n(0xb2)]['template']({'srcPath':n(0xc4),'destPath':this['fsi'][n(0xb4)]({'pathParts':[n(0xc0),n(0xb5),b[n(0xaa)],n(0xbd),b[n(0xce)],d+n(0xc7)+g]}),'context':f,'config':c});const h=b[n(0xce)]?'/'+b[n(0xce)]+'/':'/',i=this[n(0xb2)]['pathFromApp']({'pathParts':['imports','startup',b[n(0xaa)],n(0xc2)+c[n(0xc5)]['js']]});await this[n(0xb2)]['injectAtEndOfFile']({'filePath':i,'content':n(0xcf)+h+d+'\x27;'});});}catch(d){Log[m(0xc1)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a101n=a101d;(function(a,b){const k=a101d,c=a();while(!![]){try{const d=parseInt(k(0x1a4))/0x1*(-parseInt(k(0x184))/0x2)+parseInt(k(0x181))/0x3+parseInt(k(0x1a7))/0x4+parseInt(k(0x17b))/0x5*(parseInt(k(0x1b5))/0x6)+parseInt(k(0x1aa))/0x7+parseInt(k(0x196))/0x8+-parseInt(k(0x19f))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a101c,0x65889));const a101b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a101d;if(c){const e=c[l(0x1a6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a101a=a101b(this,function(){const m=a101d;return a101a[m(0x1ac)]()['search'](m(0x190))[m(0x1ac)]()[m(0x18e)](a101a)[m(0x191)](m(0x190));});function a101d(a,b){const c=a101c();return a101d=function(d,e){d=d-0x178;let f=c[d];return f;},a101d(a,b);}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';function a101c(){const q=['pathFromProject','true','dir','/imports/ui/','baseDir','getMakaProjectConfig','react','cssCaseName','constructor','string','(((.+)+)+)+$','search','warn','root','error','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','6261312YnnCsI','hooks','test/test.js','injectAtBeginningOfFile','component/component.js','template/template.css','relative','layouts','fileName','14541912AOZNRs','.js','checkNpmPackage','theme','graphql','13331OKzGUl','pathFromApp','apply','333296nMRVcG','client','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','3421719cDosVC','withValue','toString','test','findAppDirectory','.css','installNpmPackage','resourceName','className','api','/imports/ui/components','801204lWAoLl','fsi','template','engines','ssr','ramda','setTemplate','15UDSNLS','features','components','injectTemplateModule','component','css','1108677DamqhG','Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','none','14dgrKhc','create'];a101c=function(){return q;};return a101c();}const aliases=['comp'];Generator[a101n(0x185)]({'name':a101n(0x17f),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','shortDesc':a101n(0x182),'validOpts':[{'name':a101n(0x18a),'values':[a101n(0x197),a101n(0x17d),'pages',a101n(0x19d)]}],'examples':['maka\x20g:comp\x20todos/todos-item']},async function(a,b){const o=a101n;try{const c=this[o(0x1b6)][o(0x1ae)](),d=b['baseDir']?o(0x189)+b['baseDir']:o(0x1b4),f=this[o(0x1b6)][o(0x1a5)]({'pathParts':[d,b[o(0x188)],paramCase(b[o(0x1b1)]),paramCase(b[o(0x1b1)])]}),g=await this[o(0x1b6)][o(0x18b)]();await this[o(0x1b6)][o(0x1ab)](g,async()=>{const p=o;typeof g[p(0x1b7)][p(0x1ad)]===p(0x18f)&&(g[p(0x1b7)][p(0x1ad)]=g[p(0x1b7)]['test']==='true'?!![]:![],this[p(0x1b6)][p(0x17a)](p(0x1ad),g[p(0x1b7)]['test']));typeof g[p(0x1b7)][p(0x180)]==='string'&&(g[p(0x1b7)][p(0x180)]=g[p(0x1b7)][p(0x180)]===p(0x187)?!![]:![],this[p(0x1b6)][p(0x17a)](p(0x180),g[p(0x1b7)][p(0x180)]));typeof g[p(0x1b7)]['js']===p(0x18f)&&(g[p(0x1b7)]['js']=g['template']['js']==='true'?!![]:![],this['fsi'][p(0x17a)]('js',g[p(0x1b7)]['js']));!g[p(0x17c)]&&(g[p(0x17c)]={});!b[p(0x193)]&&!this[p(0x1b6)][p(0x1a1)](p(0x179))&&(Log[p(0x192)](p(0x195)),await this[p(0x1b6)][p(0x1b0)](p(0x179),{'cwd':c}));if(!b[p(0x193)]&&!this[p(0x1b6)][p(0x1a1)](p(0x18c))){Log[p(0x194)](p(0x1a9));return;}const h={'name':pascalCase(b['resourceName']),'myPath':a101e[p(0x19c)](this[p(0x1b6)][p(0x186)]({}),f),'cssCaseName':paramCase(b[p(0x1b1)]),'className':pascalCase(b[p(0x1b1)]),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b[p(0x1b1)]),'graphql':g[p(0x1b8)][p(0x1a3)],'features':g[p(0x17c)],'client':g[p(0x1b8)][p(0x1a8)],'api':g[p(0x1b8)][p(0x1b3)],'ssr':g[p(0x1b8)][p(0x178)],'test':g['engines'][p(0x1ad)],'theme':g[p(0x1b8)][p(0x1a2)],'isLayout':![],'isComponent':!![],'withTranslations':g[p(0x17c)]['withTranslations']};await this[p(0x1b6)][p(0x1b7)]({'srcPath':p(0x19a),'destPath':f+p(0x1a0),'context':h,'framework':p(0x18c),'config':g});g[p(0x1b8)][p(0x1ad)]!==p(0x183)&&await this[p(0x1b6)]['template']({'srcPath':p(0x198),'destPath':f+'.tests.js','context':h,'framework':p(0x18c),'config':g});g[p(0x1b7)]['css']&&(await this['fsi'][p(0x1b7)]({'srcPath':p(0x19b),'destPath':f+p(0x1af),'context':Object['assign']({},h,{'className':paramCase(b['resourceName'])}),'config':g}),await this['fsi'][p(0x199)]({'filePath':f+'.'+g[p(0x1b8)]['js'],'content':'import\x20\x27./'+h[p(0x18d)]+'.'+g[p(0x1b8)]['css']+'\x27;'}));const i=b[p(0x188)]?'/'+b['dir']+'/':'/',j=''+d+i+h['fileName']+'/'+h[p(0x19e)];await this['fsi'][p(0x17e)](h[p(0x1b2)],g,j);});}catch(h){Log[o(0x194)](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a102d(a,b){const c=a102c();return a102d=function(d,e){d=d-
|
|
1
|
+
const a102k=a102d;function a102c(){const n=['getMakaProjectConfig','(((.+)+)+)+$','apply','pathFromProject','1628995ewsvoM','maka\x20{generate,\x20g}:{config}\x20<name>','config','create','template','1472464oPxhLc','2394318lWYxet','1yySQfy','224505uZYKrW','fsi','prod','settings.json','422574ZWVssX','config/process.env','config/settings.json','appName','2398672ZIlYSU','process.env','toString','isDocker','production','2717328jeeOlP','search','constructor','dev','maka\x20g:config\x20production','resourceName'];a102c=function(){return n;};return a102c();}function a102d(a,b){const c=a102c();return a102d=function(d,e){d=d-0x161;let f=c[d];return f;},a102d(a,b);}(function(a,b){const h=a102d,c=a();while(!![]){try{const d=-parseInt(h(0x17e))/0x1*(parseInt(h(0x164))/0x2)+parseInt(h(0x17f))/0x3+parseInt(h(0x16d))/0x4+-parseInt(h(0x177))/0x5+parseInt(h(0x17d))/0x6+parseInt(h(0x17c))/0x7+-parseInt(h(0x168))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a102c,0x8093c));const a102b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a102d;if(c){const e=c[i(0x175)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a102a=a102b(this,function(){const j=a102d;return a102a['toString']()[j(0x16e)](j(0x174))[j(0x16a)]()[j(0x16f)](a102a)['search']('(((.+)+)+)+$');});a102a();import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a102k(0x17a)]({'name':a102k(0x179),'usage':a102k(0x178),'shortDesc':'Generate\x20configuration\x20settings.','validOpts':['isDocker'],'examples':[a102k(0x171)]},async function(a,b){const l=a102k,c=this['fsi'][l(0x173)]();await this[l(0x161)]['withValue'](c,async()=>{const m=l,d={'app':c[m(0x167)],'appFileCase':paramCase(c[m(0x167)]),'name':pascalCase(b[m(0x172)]),'fileName':paramCase(b[m(0x172)]),'camelCase':camelCase(b['resourceName']),'userName':'ubuntu','isDocker':b[m(0x16b)]};let e=b['resourceName'];if(e===m(0x170))e='development';else e===m(0x162)&&(e=m(0x16c));const f=this[m(0x161)][m(0x176)]({'pathParts':[m(0x179),e,m(0x163)]});await this['fsi'][m(0x17b)]({'srcPath':m(0x166),'destPath':f,'context':d,'config':c});if(!b[m(0x16b)]){const g=this[m(0x161)][m(0x176)]({'pathParts':[m(0x179),e,m(0x169)]});await this['fsi'][m(0x17b)]({'srcPath':m(0x165),'destPath':g,'context':d,'config':c});}});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a103m=a103d;(function(a,b){const j=a103d,c=a();while(!![]){try{const d
|
|
1
|
+
const a103m=a103d;(function(a,b){const j=a103d,c=a();while(!![]){try{const d=parseInt(j(0xe9))/0x1+parseInt(j(0xf5))/0x2+-parseInt(j(0xf1))/0x3*(parseInt(j(0xdf))/0x4)+parseInt(j(0xf6))/0x5*(-parseInt(j(0xcf))/0x6)+-parseInt(j(0xda))/0x7+-parseInt(j(0xec))/0x8+parseInt(j(0xe0))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a103c,0xe48b6));function a103c(){const p=['(((.+)+)+)+$','mssql','dbc/config.js','1125143MyAiQA','conn.','installNpmPackage','8629328vujChN','-dbc\x27;','toString','index.','startup','3yYqbmi','maka\x20g:dbc\x20geoserver\x20--type=pgsql','pgsql','engines','2022482coRTvk','3170485gasAbb','type','sqlite','withValue','better-sqlite3','injectAtEndOfFile','apply','error','maka\x20g:dbc\x20azure\x20--type=mssql','server','Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','12ShGJEa','Npm\x20package\x20\x22mssql\x22\x20not\x20installed,\x20installing...','dbc/conn.js','dir','tsx','imports','maka\x20g:dbc\x20todos\x20--type=sqlite','constructor','dbc','fsi','resourceName','12419729ZTIfyS','template','register-','checkNpmPackage','config.','2017716CahAdG','30827430xQXVRC','pathFromApp','getMakaProjectConfig','warn','maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','import\x20\x27./register-'];a103c=function(){return p;};return a103c();}const a103b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a103d;if(c){const e=c[k(0xca)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a103a=a103b(this,function(){const l=a103d;return a103a[l(0xee)]()['search'](l(0xe6))[l(0xee)]()[l(0xd6)](a103a)['search'](l(0xe6));});a103a();import{camelCase,paramCase,pascalCase}from'change-case';function a103d(a,b){const c=a103c();return a103d=function(d,e){d=d-0xc7;let f=c[d];return f;},a103d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator['create']({'name':a103m(0xd7),'usage':a103m(0xe4),'shortDesc':a103m(0xce),'validOpts':[a103m(0xd2)],'mustBeInMakaProject':!![],'requiredOpts':[{'name':'type','values':[a103m(0xf3),a103m(0xe7),a103m(0xf8)]}],'examples':[a103m(0xf2),a103m(0xcc),a103m(0xd5)]},async function(a,b){const n=a103m;try{const c=await this['fsi'][n(0xe2)](),d=this[n(0xd8)][n(0xe1)]({}),f=paramCase(b['resourceName']),g={'name':pascalCase(b[n(0xd9)]),'fileName':paramCase(b['resourceName']),'camelCase':camelCase(b[n(0xd9)]),'type':b[n(0xf7)],'engine':c[n(0xf4)]['js'],'noRename':!![]};await this[n(0xd8)][n(0xc7)](c,async()=>{const o=n;let h='js';c[o(0xf4)]['js']===o(0xd3)&&(h='ts');b['type']===o(0xf3)&&!this['fsi'][o(0xdd)]('pg')&&(Log[o(0xe3)]('Npm\x20package\x20\x22pg\x22\x20not\x20installed,\x20installing...'),await this['fsi'][o(0xeb)]('pg',{'cwd':d}));b['type']===o(0xe7)&&!this['fsi'][o(0xdd)]('mssql')&&(Log['warn'](o(0xd0)),await this[o(0xd8)]['installNpmPackage'](o(0xe7),{'cwd':d}));b[o(0xf7)]===o(0xf8)&&!this[o(0xd8)]['checkNpmPackage']('better-sqlite3')&&(Log['warn']('Npm\x20package\x20\x22better-sqlite3\x22\x20not\x20installed,\x20installing...'),await this[o(0xd8)][o(0xeb)](o(0xc8),{'cwd':d}));await this[o(0xd8)][o(0xdb)]({'srcPath':o(0xe8),'destPath':this['fsi'][o(0xe1)]({'pathParts':[o(0xd4),o(0xf0),'server','dbc',b[o(0xd2)],f,o(0xde)+h]}),'context':g,'config':c}),await this[o(0xd8)][o(0xdb)]({'srcPath':o(0xd1),'destPath':this[o(0xd8)]['pathFromApp']({'pathParts':[o(0xd4),o(0xf0),o(0xcd),o(0xd7),b[o(0xd2)],f,o(0xea)+h]}),'context':g,'config':c}),await this[o(0xd8)]['template']({'srcPath':'dbc/register-dbc.js','destPath':this[o(0xd8)][o(0xe1)]({'pathParts':[o(0xd4),'startup',o(0xcd),o(0xdc)+f+'-dbc.'+h]}),'context':g,'config':c});const i=this['fsi']['pathFromApp']({'pathParts':[o(0xd4),'startup',o(0xcd),o(0xef)+c[o(0xf4)]['js']]});await this[o(0xd8)][o(0xc9)]({'filePath':i,'content':o(0xe5)+f+o(0xed)});});}catch(h){Log[n(0xcb)](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a104h=a104d;(function(a,b){const f=a104d,c=a();while(!![]){try{const d=-parseInt(f(0x1cc))/0x1+-parseInt(f(0x1c6))/0x2*(-parseInt(f(0x1c7))/0x3)+parseInt(f(0x1c3))/0x4+parseInt(f(0x1c0))/0x5+parseInt(f(0x1d6))/0x6+-parseInt(f(0x1ce))/0x7+-parseInt(f(0x1cf))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a104c,0x48a8d));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 g=a104d;return a104a[g(0x1c4)]()[g(0x1d4)](g(0x1bb))[g(0x1c4)]()[g(0x1bc)](a104a)[g(0x1d4)](g(0x1bb));});a104a();function a104c(){const k=['isFile','dockerfile','search','fsi','2394090SYHGZG','cert','(((.+)+)+)+$','constructor','app.tar.gz','service','error','2742620CSZhUE','join','getMakaProjectConfig','287836DZtUPi','toString','maka\x20g:dockerfile','2YPCwmx','1768728xjyIJs','appName','docker/Dockerfile','build','maka\x20{generate,\x20g}:dockerfile','430462OEaXqr','app','805294KDLjfr','6127656IeEuuE','findProjectDirectory','Generate\x20an\x20updated\x20dockerfile'];a104c=function(){return k;};return a104c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a104e from'path';function a104d(a,b){const c=a104c();return a104d=function(d,e){d=d-0x1bb;let f=c[d];return f;},a104d(a,b);}Generator['create']({'name':a104h(0x1d3),'usage':a104h(0x1cb),'shortDesc':a104h(0x1d1),'validOpts':[],'noNeedResource':!![],'examples':[a104h(0x1c5)]},async function(){const i=a104h;try{const a=await this[i(0x1d5)][i(0x1c2)](),b=await this[i(0x1d5)]['getGlobalConfig'](),c=this[i(0x1d5)][i(0x1d0)]();await this[i(0x1d5)]['withValue'](a,async()=>{const j=i,d={'app':b[j(0x1c8)],'config':a,'appPath':a104e['join'](c,j(0x1cd)),'bundlePath':a104e[j(0x1c1)](c,j(0x1ca),j(0x1bd)),'useCert':this[j(0x1d5)][j(0x1d2)](b[j(0x1d7)])};await this[j(0x1d5)]['template']({'srcPath':j(0x1c9),'destPath':a104e[j(0x1c1)](c,'Dockerfile'),'framework':j(0x1be),'context':d,'config':a});});}catch(d){Log[i(0x1bf)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a105o=a105d;(function(a,b){const l=a105d,c=a();while(!![]){try{const d=-parseInt(l(0x123))/0x1*(-parseInt(l(0xfa))/0x2)+-parseInt(l(0x11e))/0x3*(parseInt(l(0xee))/0x4)+-parseInt(l(0x11f))/0x5+-parseInt(l(0x12c))/0x6+-parseInt(l(0x121))/0x7+parseInt(l(0x11c))/0x8*(parseInt(l(0xfc))/0x9)+parseInt(l(0x115))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a105c,0x31443));function a105d(a,b){const c=a105c();return a105d=function(d,e){d=d-0xed;let f=c[d];return f;},a105d(a,b);}const a105b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a105d;if(c){const e=c[m(0x103)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a105a=a105b(this,function(){const n=a105d;return a105a[n(0xfb)]()[n(0x10e)]('(((.+)+)+)+$')[n(0xfb)]()[n(0xf0)](a105a)[n(0x10e)](n(0x112));});a105a();import a105e from'path';import{paramCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';function a105c(){const r=['constructor','withValue','@apollo/client\x20isomorphic-fetch','hook/hook.js','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','apollo','theme','hook','features','892VmDybH','toString','2007PyvnFh','react','assign','dir','pages','template','css','apply','injectAtBeginningOfFile','.css','layouts','injectTemplateModule','installNpmPackage','notice','hooks','graphql','relative','className','search','pathFromApp','checkNpmPackage','.js','(((.+)+)+)+$','fileName','error','6285960lMSOuJ','@apollo/client','resourceName','force','\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','withTranslations','getMakaProjectConfig','5712RYSqKW','fsi','75mruULa','396250TbZtpu','template/template.css','1009400wEqkIU','engines','323judYaR','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','maka\x20g:hook\x20cool-hook','pathFromProject','baseDir','components','Creating\x20','.app-tests.js','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','1851636xpnSXI','setTemplate','31684PryHOd','/imports/ui/hooks'];a105c=function(){return r;};return a105c();}import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Generator['create']({'name':a105o(0xf8),'aliases':['h'],'checkWhere':![],'usage':a105o(0xf4),'shortDesc':a105o(0x12b),'validOpts':[{'name':a105o(0x127),'values':[a105o(0x10a),a105o(0x128),a105o(0x100),a105o(0x106)]},{'name':a105o(0x118),'boolFlag':!![]}],'examples':[a105o(0x125)],'description':a105o(0x119)},async function(a,b){const p=a105o;Log[p(0x109)](p(0x129)+b[p(0x117)]+'\x20hook...');try{const c=this['fsi'][p(0x110)](p(0xfd));if(!c){Log['error'](p(0x124));throw new UsageError();}const d=this[p(0x11d)][p(0x10f)](b),f=b['baseDir']?'/imports/ui/'+b['baseDir']:p(0xef),g=this[p(0x11d)]['pathFromApp']({'pathParts':[f,b[p(0xff)],paramCase(b['resourceName']),paramCase(b['resourceName'])]}),h=await this['fsi'][p(0x11b)]();await this[p(0x11d)][p(0xf1)](h,async()=>{const q=p;typeof h[q(0x101)][q(0x102)]==='string'&&(h[q(0x101)]['css']=h['template'][q(0x102)]==='true'?!![]:![],this[q(0x11d)][q(0xed)](q(0x102),h[q(0x101)]['css']));h['engines'][q(0x10b)]===q(0xf6)&&!this[q(0x11d)]['checkNpmPackage'](q(0x116))&&(Log['warn'](q(0xf5)),await this['fsi'][q(0x108)](q(0xf2),{'cwd':d}));const i={'cssCaseName':paramCase(b[q(0x117)]),'camelCaseName':camelCase(b[q(0x117)]),'className':pascalCase(b[q(0x117)]),'name':pascalCase(b[q(0x117)]),'graphql':h[q(0x122)][q(0x10b)],'theme':h[q(0x122)][q(0xf7)],'features':h[q(0xf9)],'myPath':a105e[q(0x10c)](this[q(0x11d)][q(0x126)]({}),g),'fileName':paramCase(b[q(0x117)]),'isComponent':![],'isLayout':![],'withTranslations':h[q(0xf9)][q(0x11a)]};await this[q(0x11d)]['template']({'srcPath':q(0xf3),'destPath':g+q(0x111),'context':i,'config':h,'framework':'react','force':b[q(0x118)]});h[q(0x101)][q(0x102)]&&(await this[q(0x11d)][q(0x101)]({'srcPath':q(0x120),'destPath':g+q(0x105),'context':Object[q(0xfe)]({},i,{'className':i['cssCaseName']}),'config':h,'force':b['force']}),await this[q(0x11d)][q(0x104)]({'filePath':g+'.'+h[q(0x122)]['js'],'content':'import\x20\x27./'+i[q(0x113)]+'.'+h[q(0x122)][q(0x102)]+'\x27;'}));h[q(0x122)]['test']!=='none'&&await this[q(0x11d)][q(0x101)]({'srcPath':'test/test.js','destPath':g+q(0x12a),'framework':q(0xfd),'context':i,'config':h,'force':b['force']});const j=b[q(0xff)]?'/'+b[q(0xff)]+'/':'/',k=''+f+j+i[q(0x113)]+'/'+i[q(0x113)];await this[q(0x11d)][q(0x107)](i[q(0x10d)],h,k);});}catch(i){Log[p(0x114)](i);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a106d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a106d,c=a();while(!![]){try{var d=parseInt(f(0xe9))/0x1+parseInt(f(0xf2))/0x2*(-parseInt(f(0xe7))/0x3)+-parseInt(f(0xef))/0x4*(parseInt(f(0xe3))/0x5)+parseInt(f(0xed))/0x6*(parseInt(f(0xf0))/0x7)+parseInt(f(0xe8))/0x8*(parseInt(f(0xf1))/0x9)+-parseInt(f(0xec))/0xa+-parseInt(f(0xea))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a106c,0xdeafb));var a106b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a106d;if(c){var e=c[g(0xe6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a106a=a106b(this,function(){var h=a106d;return a106a[h(0xe4)]()['search'](h(0xeb))['toString']()[h(0xe5)](a106a)[h(0xee)](h(0xeb));});a106a();function a106d(a,b){var c=a106c();return a106d=function(d,e){d=d-0xe3;var f=c[d];return f;},a106d(a,b);}import'./kit.js';import'./mui/_index.js';function a106c(){var i=['apply','12JlAkbD','40GNwflB','1415874UyxaLT','18105472RDLRJX','(((.+)+)+)+$','6178190eDGNOB','1290gJeVii','search','1616872ZdVgwD','26411zlCyuM','2594907cNrFTz','44286vdFQWQ','5TNnRgK','toString','constructor'];a106c=function(){return i;};return a106c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a107h=a107d;(function(a,b){const f=a107d,c=a();while(!![]){try{const d=-parseInt(f(
|
|
1
|
+
const a107h=a107d;(function(a,b){const f=a107d,c=a();while(!![]){try{const d=-parseInt(f(0x8e))/0x1*(-parseInt(f(0x85))/0x2)+parseInt(f(0x9a))/0x3+-parseInt(f(0x8c))/0x4*(parseInt(f(0x89))/0x5)+parseInt(f(0x95))/0x6*(parseInt(f(0x8b))/0x7)+-parseInt(f(0x86))/0x8*(parseInt(f(0x8f))/0x9)+parseInt(f(0x99))/0xa*(-parseInt(f(0x90))/0xb)+parseInt(f(0x8d))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a107c,0x3a4a4));function a107c(){const i=['maka\x20{generate,\x20g}:{kit}\x20<name>','5XAJjsD','maka\x20g:k','21819iNdulX','879284rxEKsQ','621636MCdwvc','15vpUujA','169083tAvDfc','1451549eaGKPc','constructor','create','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','maka\x20g:kit','654jrknbL','(((.+)+)+)+$','kit','toString','20AcyhaM','807537joRmYH','33284vAUqlq','80QdSJFh','search'];a107c=function(){return i;};return a107c();}function a107d(a,b){const c=a107c();return a107d=function(d,e){d=d-0x85;let f=c[d];return f;},a107d(a,b);}const a107b=(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;};}()),a107a=a107b(this,function(){const g=a107d;return a107a['toString']()[g(0x87)](g(0x96))[g(0x98)]()[g(0x91)](a107a)[g(0x87)](g(0x96));});a107a();import{Generator}from'../../generator.js';const KitGen=Generator[a107h(0x92)]({'name':a107h(0x97),'aliases':['k'],'usage':a107h(0x88),'shortDesc':a107h(0x93),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a107h(0x94),a107h(0x8a)]},async function(){});export default KitGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a108d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a108d,c=a();while(!![]){try{var d=parseInt(f(0x106))/0x1+parseInt(f(0xfe))/0x2*(-parseInt(f(0xfb))/0x3)+-parseInt(f(0xfa))/0x4+parseInt(f(0xfd))/0x5*(-parseInt(f(0x107))/0x6)+parseInt(f(0x101))/0x7+-parseInt(f(0x102))/0x8*(parseInt(f(0x103))/0x9)+parseInt(f(0x108))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a108c,0x90ee0));function a108d(a,b){var c=a108c();return a108d=function(d,e){d=d-0xfa;var f=c[d];return f;},a108d(a,b);}function a108c(){var i=['16arOjoJ','3928158ADkmnx','constructor','search','449732wGBARh','176178OAEGRZ','22035890fxBdpg','2517620fOOwhG','6723LWxmHi','toString','135IxNkqH','534NXwlDi','apply','(((.+)+)+)+$','5836516JPFgab'];a108c=function(){return i;};return a108c();}var a108b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a108d;if(c){var e=c[g(0xff)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a108a=a108b(this,function(){var h=a108d;return a108a[h(0xfc)]()[h(0x105)](h(0x100))[h(0xfc)]()[h(0x104)](a108a)[h(0x105)](h(0x100));});a108a();import'./mui.generator.js';import'./frame.mui.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a109A=a109d;(function(a,b){const x=a109d,c=a();while(!![]){try{const d=-parseInt(x(
|
|
1
|
+
const a109A=a109d;function a109d(a,b){const c=a109c();return a109d=function(d,e){d=d-0x172;let f=c[d];return f;},a109d(a,b);}(function(a,b){const x=a109d,c=a();while(!![]){try{const d=-parseInt(x(0x1a5))/0x1*(-parseInt(x(0x1a8))/0x2)+-parseInt(x(0x185))/0x3+parseInt(x(0x180))/0x4*(parseInt(x(0x17f))/0x5)+parseInt(x(0x19c))/0x6*(-parseInt(x(0x17e))/0x7)+-parseInt(x(0x177))/0x8*(-parseInt(x(0x17c))/0x9)+parseInt(x(0x1aa))/0xa+parseInt(x(0x1a7))/0xb*(-parseInt(x(0x188))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a109c,0x88aee));const a109b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a109d;if(c){const e=c[y(0x18d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a109a=a109b(this,function(){const z=a109d;return a109a[z(0x194)]()[z(0x193)](z(0x1a1))['toString']()['constructor'](a109a)[z(0x193)](z(0x1a1));});a109a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a109e from'path';import a109f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';function a109c(){const D=['findAppDirectory','460936QSjRbR','fsi','-hook\x22>','kit/mui/frame/drawers/','/imports/startup/lib/templates','117SDWqoF','create','28JiRbrR','3245FpdxCx','636YDmRhh','MATERIAL','baseDir','{this.props.children}','withValue','461616JVgATS','basic-drawer','\x20/>\x0a','152700jDtIwG','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','{\x20this.props.children\x20}','pathFromApp','getDirectories','apply','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','imports','checkMeteorPackage','frame','/imports/startup/client/templates','search','toString','dir','{\x20props.children\x20}','kit/mui/frame/app-bars/','test','injectTemplateModule','error','.js','1189488UMtxUS','REACT','No\x20layouts\x20selected','react','appName','(((.+)+)+)+$','engines','-component\x22>','<div\x20id=\x22','5026XcYKFp','ssr','132eCYoIG','228TRbuPy','getMakaProjectConfig','2342420eryBAX','basic-app-bar','/imports/ui/','join','template','options','{props.children}','injectIntoFile','session','replaceAll','injectImport','maka\x20generate:kit:mui:frame','layouts','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f'];a109c=function(){return D;};return a109c();}Generator[a109A(0x17d)]({'name':a109A(0x191),'aliases':['f'],'usage':a109A(0x175),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','validOpts':[a109A(0x174)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a109A(0x181)],'client':ClientEngines[a109A(0x19d)]},'examples':[a109A(0x173),'maka\x20g:k:m:f'],'description':a109A(0x18e)},async function(a,b){const B=a109A;try{const c=B(0x1ab),d=B(0x186),f=this['fsi'][B(0x1a9)](),g=f[B(0x1a2)][B(0x1a6)]==='true';await this[B(0x178)][B(0x190)](B(0x1b2),{'shouldInstall':!![]});const h=this[B(0x178)][B(0x176)](),i=a109e[B(0x1ad)](h,B(0x18f),'ui','layouts'),j=this[B(0x178)][B(0x18c)](i),k=await Actions[B(0x1af)]({'type':'checkbox','name':B(0x174),'message':B(0x189),'choices':j});if(k[B(0x174)]['length']===0x0){Log['error'](B(0x19e));return;}const l=b[B(0x182)]?B(0x1ac)+b[B(0x182)]:'/imports/ui/hooks',m=this[B(0x178)][B(0x18b)]({'pathParts':[l,b[B(0x195)],paramCase(c),paramCase(c)]}),n=this[B(0x178)][B(0x18b)]({'pathParts':[l,b[B(0x195)],paramCase(d),paramCase(d)]}),o={'name':headerCase(f[B(0x1a0)])[B(0x1b3)]('-','\x20')};await this[B(0x178)][B(0x184)](f,async()=>{const C=B;await this[C(0x178)][C(0x1ae)]({'srcPath':C(0x197)+c+C(0x19b),'destPath':m+C(0x19b),'framework':C(0x19f),'context':o,'config':f,'force':![],'ignore':![]}),await this[C(0x178)][C(0x1ae)]({'srcPath':C(0x17a)+d+C(0x19b),'destPath':n+C(0x19b),'framework':C(0x19f),'context':o,'config':f,'force':![],'ignore':![]});});const p=''+l+b[B(0x195)]+'/'+c+'/'+c;await this[B(0x178)][B(0x199)](c,f,p);const q=''+l+b[B(0x195)]+'/'+d+'/'+d;await this['fsi'][B(0x199)](d,f,q);const {layouts:r}=k;for(const s of r){const t=this[B(0x178)]['getFiles'](a109e[B(0x1ad)](i,s),{'extensions':['jsx','tsx'],'omit':['app-tests','tests',B(0x198)]});for(const u of t){const v=a109e['join'](i,s,u);await this[B(0x178)][B(0x172)]({'filePath':v,'importName':pascalCase(c),'modulePath':g?'/imports/startup/lib/templates':B(0x192),'isNamedExport':!![]}),await this['fsi'][B(0x1b1)]({'filePath':v,'content':'<'+pascalCase(c)+B(0x187),'begin':[B(0x1a4)+s+B(0x1a3),B(0x1a4)+s+'-hook\x22>'],'end':['{this.props.children}',B(0x18a),B(0x1b0),'{\x20props.children\x20}']}),await this[B(0x178)][B(0x172)]({'filePath':v,'importName':pascalCase(d),'modulePath':g?B(0x17b):B(0x192),'isNamedExport':!![]}),await this[B(0x178)]['injectIntoFile']({'filePath':v,'content':'<'+pascalCase(d)+B(0x187),'begin':[B(0x1a4)+s+'-component\x22>',B(0x1a4)+s+B(0x179)],'end':[B(0x183),'{\x20this.props.children\x20}','{props.children}',B(0x196)]});}}}catch(w){Log[B(0x19a)](w);}},a109f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a110i=a110d;(function(a,b){const f=a110d,c=a();while(!![]){try{const d=parseInt(f(0x181))/0x1+-parseInt(f(0x182))/0x2*(-parseInt(f(0x184))/0x3)+parseInt(f(0x174))/0x4*(parseInt(f(0x17c))/0x5)+parseInt(f(0x17f))/0x6*(parseInt(f(0x173))/0x7)+-parseInt(f(0x178))/0x8+-parseInt(f(0x183))/0x9*(-parseInt(f(0x175))/0xa)+parseInt(f(0x179))/0xb*(-parseInt(f(0x177))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a110c,0x24e5e));const a110b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a110d;if(c){const e=c[g(0x172)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a110a=a110b(this,function(){const h=a110d;return a110a[h(0x17d)]()['search'](h(0x171))[h(0x17d)]()[h(0x17a)](a110a)['search'](h(0x171));});a110a();function a110d(a,b){const c=a110c();return a110d=function(d,e){d=d-0x170;let f=c[d];return f;},a110d(a,b);}import{Generator}from'../../../generator.js';import a110e from'../kit.js';function a110c(){const k=['constructor','mui','1305425IFqLUi','toString','create','762576SbheBa','Material-UI\x20Kit','134227hnPwRl','11458YRAjek','1773gJlumn','105QJsGMz','NIE','(((.+)+)+)+$','apply','7LExoeB','4moRYlJ','6340MsTSWl','maka\x20g:kit:m','4162524ITsRlj','23464tYZOyr','22wdjENW'];a110c=function(){return k;};return a110c();}const MuiGen=Generator[a110i(0x17e)]({'name':a110i(0x17b),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','noNeedResource':!![],'shortDesc':a110i(0x180),'validOpts':[''],'isPro':!![],'examples':[a110i(0x176)]},async function(){const j=a110i;throw j(0x170);},a110e);export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a111n=a111d;(function(a,b){const l=a111d,c=a();while(!![]){try{const d=parseInt(l(0x1b5))/0x1*(parseInt(l(0x192))/0x2)+-parseInt(l(0x18c))/0x3*(-parseInt(l(0x1a2))/0x4)+parseInt(l(0x1bf))/0x5*(-parseInt(l(0x1a1))/0x6)+-parseInt(l(0x1b4))/0x7+-parseInt(l(0x1a0))/0x8*(-parseInt(l(0x1c0))/0x9)+parseInt(l(0x1ae))/0xa+parseInt(l(0x1a5))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a111c,0xd4b17));const a111b=(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;};}()),a111a=a111b(this,function(){const m=a111d;return a111a[m(0x1ac)]()[m(0x1b7)]('(((.+)+)+)+$')[m(0x1ac)]()[m(0x19c)](a111a)['search'](m(0x185));});a111a();import a111e from'path';function a111c(){const q=['import\x20\x27./','3751737moXTVb','maka\x20g:layout\x20mobile/iPhone8','ramda','warn','css','pathFromApp','fsi','toString','react','387880ZlRavE','create','features','withTranslations','ssr','true','8770867DSFhpv','1007297wBaIso','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','search','.css','injectTemplateModule','.app-tests.js','getMakaProjectConfig','Injecting\x20into\x20file','graphql','.js','830pqQmwF','684900AUgkjV','api','layout','component/component.js','(((.+)+)+)+$','test','split','setTemplate','Scaffolding\x20for\x20a\x20React\x20Layout.','resourceName','dir','20214FznDQt','template','test/test.js','checkNpmPackage','engines','installNpmPackage','2JMVosH','withHook','none','pathFromProject','injectAtBeginningOfFile','findAppDirectory','string','assign','log','maka\x20g:l\x20web/safari','constructor','relative','client','includes','24UqsXmb','7428JaSGVH','424yFogAB','fileName'];a111c=function(){return q;};return a111c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a111d(a,b){const c=a111c();return a111d=function(d,e){d=d-0x183;let f=c[d];return f;},a111d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator[a111n(0x1af)]({'name':a111n(0x183),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','shortDesc':a111n(0x189),'validOpts':[],'examples':[a111n(0x1a6),a111n(0x19b)]},async function(a,b){const o=a111n,c='/imports/ui/layouts',d=this['fsi'][o(0x197)](),e=this['fsi'][o(0x1aa)]({'pathParts':[c,b[o(0x18b)],paramCase(b['resourceName']),paramCase(b[o(0x18a)])]}),f=this['fsi'][o(0x1bb)]();await this[o(0x1ab)]['withValue'](f,async()=>{const p=o;typeof f[p(0x18d)][p(0x186)]===p(0x198)&&(f['template'][p(0x186)]=f[p(0x18d)][p(0x186)]===p(0x1b3)?!![]:![],this[p(0x1ab)][p(0x188)]('test',f[p(0x18d)][p(0x186)]));typeof f[p(0x18d)]['css']==='string'&&(f[p(0x18d)][p(0x1a9)]=f['template'][p(0x1a9)]==='true'?!![]:![],this['fsi'][p(0x188)](p(0x1a9),f[p(0x18d)][p(0x1a9)]));typeof f[p(0x18d)]['js']===p(0x198)&&(f[p(0x18d)]['js']=f['template']['js']===p(0x1b3)?!![]:![],this[p(0x1ab)][p(0x188)]('js',f[p(0x18d)]['js']));!f[p(0x1b0)]&&(f[p(0x1b0)]={});const g=b['_']?b['_'][0x0][p(0x187)](':')[0x1]:![],h=b['_']&&aliases[p(0x19f)](g);h&&!this[p(0x18f)]('ramda')&&(Log[p(0x1a8)](p(0x1b6)),this[p(0x1ab)][p(0x191)](p(0x1a7),{'cwd':d}));if(h&&!this[p(0x18f)](p(0x1ad))){Log['warn']('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');return;}const i={'name':pascalCase(b['resourceName']),'myPath':a111e[p(0x19d)](this[p(0x1ab)][p(0x195)]({}),e),'cssCaseName':paramCase(b[p(0x18a)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[p(0x18a)]),'fileName':paramCase(b['resourceName']),'graphql':f[p(0x190)][p(0x1bd)],'features':f[p(0x1b0)],'client':f['engines'][p(0x19e)],'api':f['engines'][p(0x1c1)],'ssr':f[p(0x190)][p(0x1b2)],'test':f['engines']['test'],'theme':f['engines']['theme'],'isComponent':![],'isLayout':!![],'withTranslations':f[p(0x1b0)][p(0x1b1)]};f['features']?.['withHooks']||b[p(0x193)]?await this[p(0x1ab)][p(0x18d)]({'srcPath':'hook/hook.js','destPath':e+p(0x1be),'framework':p(0x1ad),'context':i,'config':f}):await this[p(0x1ab)][p(0x18d)]({'srcPath':p(0x184),'destPath':e+p(0x1be),'framework':p(0x1ad),'context':i,'config':f});f[p(0x190)][p(0x186)]!==p(0x194)&&await this[p(0x1ab)][p(0x18d)]({'srcPath':p(0x18e),'destPath':e+p(0x1ba),'framework':p(0x1ad),'context':i,'config':f});f[p(0x18d)][p(0x1a9)]&&(await this[p(0x1ab)][p(0x18d)]({'srcPath':'template/template.css','destPath':e+p(0x1b8),'context':Object[p(0x199)]({},i,{'className':paramCase(b['resourceName'])}),'config':f}),console[p(0x19a)](p(0x1bc)),await this[p(0x1ab)][p(0x196)]({'filePath':e+'.'+f[p(0x190)]['js'],'content':p(0x1a4)+i[p(0x1a3)]+'.'+f[p(0x190)][p(0x1a9)]+'\x27;'}));const j=b[p(0x18b)]?'/'+b[p(0x18b)]+'/':'/',k=''+c+j+i[p(0x1a3)]+'/'+i[p(0x1a3)];await this[p(0x1ab)][p(0x1b9)](i['className'],f,k);});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a112i=a112d;(function(a,b){const f=a112d,c=a();while(!![]){try{const d=-parseInt(f(0xcc))/0x1+-parseInt(f(0xce))/0x2+parseInt(f(0xd3))/0x3+-parseInt(f(0xdc))/0x4+parseInt(f(0xde))/0x5*(parseInt(f(0xd2))/0x6)+-parseInt(f(0xd4))/0x7+-parseInt(f(0xcb))/0x8*(-parseInt(f(0xd8))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a112c,0xd75b0));const a112b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a112d;if(c){const e=c[g(0xdb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a112a=a112b(this,function(){const h=a112d;return a112a[h(0xdf)]()[h(0xcf)](h(0xdd))[h(0xdf)]()[h(0xd7)](a112a)[h(0xcf)](h(0xdd));});a112a();import{Generator}from'../generator.js';function a112d(a,b){const c=a112c();return a112d=function(d,e){d=d-0xcb;let f=c[d];return f;},a112d(a,b);}const MakaGen=new Generator({'name':'generate','aliases':['g'],'usage':a112i(0xd6),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a112i(0xd0),'examples':[a112i(0xd9),a112i(0xcd),'maka\x20g:template\x20todos/todo_item',a112i(0xda),'maka\x20g:route\x20todos/edit',a112i(0xd1),a112i(0xd5)]},function(){});function a112c(){const j=['23164424WGBlWr','1616516lbKAhI','maka\x20g:scaffold\x20todos','3089118yIPcle','search','Scaffold\x20various\x20parts\x20of\x20your\x20application','maka\x20g:api\x20trucks','3060KiuAiy','5098950jAYsik','3535609SqpadP','maka\x20g:dbc\x20geoserver\x20--type=pgsql','maka\x20{generate,\x20g}:<generator>\x20<name>','constructor','9fDHGos','maka\x20generate:scaffold\x20todos','maka\x20g:package\x20package:name','apply','5916100FeXCuE','(((.+)+)+)+$','14040yeRgaw','toString'];a112c=function(){return j;};return a112c();}export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a113m=a113d;(function(a,b){const j=a113d,c=a();while(!![]){try{const d
|
|
1
|
+
const a113m=a113d;(function(a,b){const j=a113d,c=a();while(!![]){try{const d=-parseInt(j(0x1a9))/0x1+-parseInt(j(0x19f))/0x2*(-parseInt(j(0x1c1))/0x3)+-parseInt(j(0x1ac))/0x4+parseInt(j(0x1af))/0x5*(-parseInt(j(0x1b5))/0x6)+parseInt(j(0x1a1))/0x7*(parseInt(j(0x1a3))/0x8)+-parseInt(j(0x1ab))/0x9*(parseInt(j(0x1c6))/0xa)+-parseInt(j(0x1b7))/0xb*(-parseInt(j(0x1a0))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a113c,0xed7b3));const a113b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a113d;if(c){const e=c[k(0x1b6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a113a=a113b(this,function(){const l=a113d;return a113a[l(0x1b1)]()['search']('(((.+)+)+)+$')[l(0x1b1)]()[l(0x1b3)](a113a)[l(0x1bc)](l(0x1aa));});a113a();import{Generator}from'../generator.js';function a113d(a,b){const c=a113c();return a113d=function(d,e){d=d-0x19f;let f=c[d];return f;},a113d(a,b);}import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';function a113c(){const p=['imports','template','fsi','pathFromApp','1355584kCWJLZ','(((.+)+)+)+$','36783Ttkeas','5056408lkiZgq','-rpc-method.','mdg:validated-method','10oEyEZX','method/method.js','toString','getMakaProjectConfig','constructor','resourceName','5426334cKhEAE','apply','968mulMjU','appPathPrefix','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','startup','-rpc-method\x27;','search','maka\x20{generate,\x20g}:{method,\x20m}\x20name','methods','engines','create','9ShlQSr','maka\x20g:method\x20todos','error','ddp-rate-limiter','dir','4490DtjeCs','index.','injectAtEndOfFile','716546LeTQGq','796596vzdnyA','7dxjMPH','method','2557816eHkpXK','tsx'];a113c=function(){return p;};return a113c();}Generator[a113m(0x1c0)]({'name':a113m(0x1a2),'aliases':['m'],'usage':a113m(0x1bd),'checkWhere':!![],'shortDesc':a113m(0x1b9),'validOpts':['dir'],'examples':[a113m(0x1c2)]},async function(a,b){const n=a113m;try{const c=this[n(0x1a7)][n(0x1b2)]();await this[n(0x1a7)]['withValue'](c,async()=>{const o=n,d=paramCase(b[o(0x1b4)]),f={'name':b['resourceName'],'fileName':d,'className':pascalCase(b[o(0x1b4)]),'camelCase':camelCase(b[o(0x1b4)]),'noRename':!![]};let g='js';c['engines']['js']===o(0x1a4)&&(g='ts');await this[o(0x1a7)]['checkMeteorPackage'](['maka:check',o(0x1c4),o(0x1ae)],{'shouldInstall':!![]}),await this[o(0x1a7)][o(0x1a6)]({'srcPath':o(0x1b0),'destPath':this[o(0x1a7)][o(0x1a8)]({'pathParts':[o(0x1a5),o(0x1ba),b[o(0x1b8)],o(0x1be),b[o(0x1c5)],d+o(0x1ad)+g]}),'context':f,'config':c});const h=b[o(0x1c5)]?'/'+b[o(0x1c5)]+'/':'/',i=this[o(0x1a7)][o(0x1a8)]({'pathParts':[o(0x1a5),o(0x1ba),b['appPathPrefix'],o(0x1c7)+c[o(0x1bf)]['js']]});await this[o(0x1a7)][o(0x1c8)]({'filePath':i,'content':'import\x20\x27./methods'+h+d+o(0x1bb)});});}catch(d){Log[n(0x1c3)](d);}});
|