@maka/maka-cli 4.7.13 → 4.7.14
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/.vs/VSWorkspaceState.json +5 -2
- package/.vs/maka-cli-src/FileContentIndex/{69d2de39-b193-48d9-b520-96bdb73b7b61.vsidx → 4c0a1daa-da96-4fc9-bf6f-ad5a9148b26c.vsidx} +0 -0
- package/.vs/maka-cli-src/v17/.wsuo +0 -0
- package/.vs/maka-cli-src/v17/workspaceFileList.bin +0 -0
- package/.vs/slnx.sqlite +0 -0
- package/bundle/obf/package.json +2 -2
- 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/esri/_index.js +1 -1
- package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
- package/bundle/obf/src/generators/kits/esri/map.esri.gen.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/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 +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a97v=a97d;(function(a,b){const q=a97d,c=a();while(!![]){try{const d=-parseInt(q(0x103))/0x1*(parseInt(q(0x156))/0x2)+parseInt(q(0xff))/0x3+parseInt(q(0x108))/0x4*(parseInt(q(0x15c))/0x5)+parseInt(q(0x166))/0x6*(parseInt(q(0x13a))/0x7)+parseInt(q(0x151))/0x8*(-parseInt(q(0x152))/0x9)+-parseInt(q(0x112))/0xa+parseInt(q(0x100))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a97c,0x40246));const a97b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a97d;if(c){const e=c[r(0x11a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a97a=a97b(this,function(){const s=a97d;return a97a[s(0x150)]()[s(0x12f)]('(((.+)+)+)+$')[s(0x150)]()[s(0x149)](a97a)[s(0x12f)](s(0x14a));});a97a();import a97e from'path';import a97f from'cli-table';import{paramCase}from'change-case';function a97c(){const F=['search','validateParams','join','bind','map','call','bright','push','includes','options','requiredEngines','56BIeRiO','chdir','validateEngines','There\x20is\x20no\x20Meteor\x20application\x20here','help','addGenerator','sort','validateMakaSubscription','sep','find','minOptsLength','dir','_generators','mustBeInMakaProject','Server','constructor','(((.+)+)+)+$','maxArgLength','invoke','Location','Both','No\x20resource\x20name\x20specified','toString','320tmErOV','73935hJCynJ','Name','maxOptsLength','tableList','38PIbVmB','validateMakaProject','server','where','Generator.create\x20requires\x20a\x20handler\x20function!','_handler','130xXhoAv','Client','checkWhere','notice','replace','pallet','aliases','function','number','light','240060Zrfnsa','593736HxUZlo','8980268xANgyx','minArgLength','usage','25753mzhrkn','LIGHT','length','lib','Description','17148wYzjZP','Please\x20run\x20\x22maka\x20install\x20meteor\x22','client','appPathPrefix','handleGenerateError','both','Alias','validateMeteorInstall','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator','Too\x20many\x20arguments','3652090uCTsXl','name','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','resourceName','Generator.create\x20requires\x20some\x20options!','shortDesc','Too\x20few\x20options','create','apply','fsi','Too\x20few\x20arguments','noNeedResource','DARK','colLocAnswer','slice','match','keys','Generator\x20format\x20is\x20incorrect','Generator\x20','root','split','processAndRunGenerator','error','mustHaveMeteorInstalled','exit','addGenerator\x20requires\x20a\x20Generator\x20instance','cwd','Too\x20many\x20options','listGenerators'];a97c=function(){return F;};return a97c();}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';function a97d(a,b){const c=a97c();return a97d=function(d,e){d=d-0xff;let f=c[d];return f;},a97d(a,b);}import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError,UsageErrorWithSubs}from'./error.js';let _prevGen='';async function inside(a='.',b){const t=a97d,c=process['cwd']();let d=null;try{process[t(0x13b)](a),d=await b();}finally{process[t(0x13b)](c);}return d;}export class Generator extends Tool{['options'];['_generators'];constructor(a,b){const u=a97d;super();if(!a)throw new Error(u(0x114));if(!a[u(0x113)])throw new Error('Generator\x20requires\x20a\x20name');if(typeof b!==u(0x163))throw new Error('Generator\x20requires\x20a\x20handler\x20function');this[u(0x146)]=[],this[u(0x138)]=Object['assign']({},a),this['name']=this[u(0x138)][u(0x113)],this[u(0x15b)]=b[u(0x132)](this);}static[a97v(0x119)](a,b,c){const w=a97v;if(!a)throw new Error(w(0x116));if(typeof b!=='function')throw new Error(w(0x15a));const d=new Generator(a,b);return c=c||a97g,Object['assign'](d,{'parent':c?.[w(0x138)]?.[w(0x113)]}),c[w(0x13f)](d),d;}[a97v(0x13f)](a){const x=a97v;if(!(a instanceof Generator))throw new Error(x(0x12b));this[x(0x146)][x(0x136)](a);}async[a97v(0x127)](a,b=[],c={}){const y=a97v;let d;try{const f=a?.['split'](':');if(!f||f[y(0x105)]===0x0)throw y(0x123);let g=this[y(0x146)],h;for(const i of f){h=g[y(0x143)](j=>j[y(0x121)](i));if(!h)throw y(0x124)+i+'\x20not\x20found';await this[y(0x141)](h),g=h[y(0x146)];}if(h)d=await h[y(0x14c)](b,c);else throw'Generator\x20not\x20found';}catch(j){Log['error'](j);}return d;}async[a97v(0x14c)](a,b){const z=a97v,c=a[z(0x120)]();b[z(0x115)]=c[0x0];try{const d=await this[z(0x11b)]['getGlobalConfig'](),f=d[z(0x161)]===z(0x165)?ColorMode[z(0x104)]:ColorMode[z(0x11e)];Log['setColorMode'](f),await this[z(0x141)](this);const g=a[0x0]===_prevGen||a['length']===0x0&&this[z(0x146)][z(0x105)]>=0x0,h=b[z(0x13e)]||b['h'];if(g&&h){if(this[z(0x146)][z(0x105)]>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!h){if(this[z(0x138)][z(0x147)]){const i=this[z(0x157)]();if(!i)throw new MustBeInProjectError();}if(this[z(0x138)][z(0x129)]){const j=this[z(0x10f)]();if(!j)throw new NoMeteorFoundError();}if(typeof this[z(0x138)][z(0x101)]==='number'){if(a[z(0x105)]<this[z(0x138)]['minArgLength']){Log['error'](z(0x11c));throw new UsageError();}}if(typeof this[z(0x138)][z(0x14b)]===z(0x164)){if(a[z(0x105)]>this[z(0x138)][z(0x14b)]){Log[z(0x128)](z(0x111));throw new UsageError();}}if(typeof this[z(0x138)][z(0x144)]===z(0x164)){if(Object['keys'](b)[z(0x105)]<this[z(0x138)][z(0x144)]){Log[z(0x128)](z(0x118));throw new UsageError();}}if(typeof this['options'][z(0x154)]===z(0x164)){if(Object[z(0x122)](b)[z(0x105)]>=this[z(0x138)][z(0x154)]){Log[z(0x128)](z(0x12d));throw new UsageError();}}}this[z(0x138)]['requiredEngines']&&this[z(0x13c)](this[z(0x138)][z(0x139)]);await this[z(0x130)](a,b,this[z(0x138)]);if(!b['resourceName']&&!this[z(0x138)][z(0x11d)]){Log[z(0x128)](z(0x14f));throw new UsageError();}_prevGen=a[0x0];}catch(k){this[z(0x10c)](k),process[z(0x12a)](0x1);}return await inside(b[z(0x12c)],async()=>{const A=z;try{if(!b[A(0x125)]&&!this['fsi']['findProjectDirectory']())throw new MustBeInProjectError();const l=b[A(0x115)]?.[A(0x160)](/\\/g,'/')[A(0x126)]('/');!b['dir']&&(l?.['length']>0x1?(b[A(0x115)]=l['pop'](),c[0x0]=b['resourceName'],b['dir']=l[A(0x133)](m=>{return paramCase(m);})[A(0x131)](a97e[A(0x142)])):b[A(0x145)]='');if(this[A(0x138)][A(0x15e)]){if(!b[A(0x159)]){const n={'type':'list','name':A(0x11f),'message':A(0x14d),'choices':[{'name':A(0x15d),'value':'client'},{'name':A(0x148),'value':A(0x158)},{'name':A(0x14e),'value':'both'}]},{colLocAnswer:o}=await Actions[A(0x138)](n);o?b['where']=o:b[A(0x159)]=A(0x10d);}const m=[A(0x10d),A(0x10a),A(0x158)];if(!m[A(0x137)](b[A(0x159)])){Log[A(0x128)]('--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27');throw new UsageError();}switch(b[A(0x159)]){case A(0x10d):b[A(0x10b)]=A(0x106);break;case A(0x158):b[A(0x10b)]=A(0x158);break;case'client':b['appPathPrefix']=A(0x10a);break;default:b[A(0x10b)]='';}}return await this[A(0x15b)][A(0x134)](this,c,b);}catch(p){this['handleGenerateError'](p);}});}[a97v(0x12e)](){const B=a97v;this[B(0x155)](this['_generators']);}[a97v(0x10c)](a){const C=a97v,{usage:usage='',description:description='',examples:examples=[],shortDesc:b,requiredOpts:requiredOpts=[],validOpts:c}=this['options'];Log[C(0x102)](description,examples,usage,b,requiredOpts,c);if(a instanceof UsageErrorWithSubs)Log[C(0x15f)]('Generators:'),this[C(0x155)](this['_generators']);else{if(a instanceof MustBeInProjectError)Log[C(0x128)](C(0x110));else{if(a instanceof NoMeteorFoundError)Log[C(0x128)]('Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly'),Log[C(0x15f)](C(0x109));else a instanceof NoMeteorAppFoundError&&Log[C(0x128)](C(0x13d));}}}[a97v(0x155)](a){const D=a97v,b=new a97f({});b[D(0x136)]([D(0x153),D(0x10e),D(0x107)]),a[D(0x140)]()['forEach'](c=>{const E=D;b[E(0x136)]([c[E(0x113)],c[E(0x162)](),c[E(0x117)]()]);}),Log[D(0x135)](b[D(0x150)]());}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a124d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a124d,c=a();while(!![]){try{var d=parseInt(f(0x111))/0x1+-parseInt(f(0x117))/0x2+-parseInt(f(0x10e))/0x3*(parseInt(f(0x116))/0x4)+-parseInt(f(0x112))/0x5*(-parseInt(f(0x114))/0x6)+parseInt(f(0x10c))/0x7*(parseInt(f(0x118))/0x8)+-parseInt(f(0x110))/0x9*(parseInt(f(0x11a))/0xa)+parseInt(f(0x10d))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0xd8292));var a124b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a124d;if(c){var e=c[g(0x113)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){var h=a124d;return a124a['toString']()[h(0x115)]('(((.+)+)+)+$')[h(0x10f)]()['constructor'](a124a)[h(0x115)](h(0x119));});a124a();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';function a124d(a,b){var c=a124c();return a124d=function(d,e){d=d-0x10c;var f=c[d];return f;},a124d(a,b);}import'./package.js';import'./publish.js';import'./route.js';import'./service.js';function a124c(){var i=['3917832FHidaR','(((.+)+)+)+$','20fawHhN','7dlyKCd','33155870NeyShj','18EjWMYO','toString','4671333ZeIjlp','34062UEXnxV','5cWGyTw','apply','8054406ROmNnF','search','950236vgkUbS','3063080QxylZl'];a124c=function(){return i;};return a124c();}import'./page.js';import'./maka.gen.js';import'./dockerfile.js';import'./maka.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a98d(a,b){const c=a98c();return a98d=function(d,e){d=d-0x103;let f=c[d];return f;},a98d(a,b);}const a98x=a98d;(function(a,b){const u=a98d,c=a();while(!![]){try{const d=parseInt(u(0x14e))/0x1*(parseInt(u(0x126))/0x2)+parseInt(u(0x115))/0x3+-parseInt(u(0x111))/0x4*(-parseInt(u(0x124))/0x5)+-parseInt(u(0x106))/0x6*(-parseInt(u(0x154))/0x7)+parseInt(u(0x138))/0x8*(-parseInt(u(0x10f))/0x9)+parseInt(u(0x11c))/0xa*(parseInt(u(0x117))/0xb)+-parseInt(u(0x15b))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a98c,0x792cc));function a98c(){const A=['rewriteDestinationPathForEngine','injectAtBeginningOfFile','create','const','rest-api.','index.','/imports/api','injectAtEndOfFile','injectIntoFile','No\x20API\x20boundaries\x20selected','if\x20\x5c(typeList','graphql','mdg:validated-method','imports','.app-tests.','fsi','withPubs','304174ZJJkCv','api','\x27;\x0a','api/api.js','apiAnswers','/graphql/resolvers','24269oOLIbX','error','withRest','fixtures.','maka\x20{generate,\x20g}:{api}\x20<resource-name>','toString','Scaffolding\x20for\x20an\x20api\x20concept\x20(i.e.\x20Todos).','30043080TqSvVy','\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','-api.','Resolvers);\x0a\x0a','-api\x27;','1578urIbZQ','typeDefs.','engines','server','rest','typeList.push(','REST\x20API','template','startup','192870GGBxjb','test','1747796NhRyGY','API\x20boundaries\x20to\x20create','maka\x20g:api\x20Todos','includes','2274825ysfRQA','pathFromApp','22lSDYiL','tsx','apply','Fixtures','withMethods','1080220BEJTHS','options','getMakaProjectConfig','api/typeDefs.js','collection','(((.+)+)+)+$','push','GraphQL','10aTEtsH','ddp-rate-limiter','2TYhGeP','apollo','api/methods.js','api/publications.js','processAndRunGenerator','publications.','none','withFixtures','api/register-api.js','constructor','checkMeteorPackage','maka:rest','import\x20{\x20typeDefs\x20as\x20','checkbox','Resolvers\x20}\x20from\x20\x27','RPC\x20(Methods)','exit','dir','24lmVlSP','resolverList.push(','search','TypeDefs);\x0a','withGql'];a98c=function(){return A;};return a98c();}const a98b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a98d;if(c){const e=c[v(0x119)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a98a=a98b(this,function(){const w=a98d;return a98a[w(0x159)]()[w(0x13a)](w(0x121))[w(0x159)]()[w(0x12f)](a98a)['search'](w(0x121));});a98a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import a98e from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a98x(0x13f)]({'name':a98x(0x14f),'aliases':['a'],'usage':a98x(0x158),'shortDesc':a98x(0x15a),'validOpts':['dir'],'examples':[a98x(0x113)],'description':a98x(0x15c)},async function(a,b){const y=a98x;try{const c=this[y(0x14c)][y(0x11e)](),d=[{'name':y(0x135),'value':'withMethods'},{'name':y(0x11a),'value':'withFixtures'},{'name':'Publications','value':y(0x14d)}];c['engines']['api']==='rest'&&d[y(0x122)]({'name':y(0x10c),'value':'withRest'});c[y(0x108)][y(0x148)]===y(0x127)&&d[y(0x122)]({'name':y(0x123),'value':y(0x13c)});const f={'type':y(0x133),'name':y(0x152),'message':y(0x112),'pageSize':0x64,'choices':d},{apiAnswers:g}=await Actions[y(0x11d)](f);g['length']===0x0&&(Log[y(0x155)](y(0x146)),process[y(0x136)](0x1)),await this['fsi']['withValue'](c,async()=>{const z=y,h=b['resourceName'],i=paramCase(h),j=camelCase(h),k=b[z(0x137)]?'/'+b[z(0x137)]+'/':'/',l={'name':pascalCase(h),'fileName':i,'camelCase':pascalCase(h),'optsDir':k,'api':c[z(0x108)][z(0x14f)],'graphql':c[z(0x108)][z(0x148)],'test':c[z(0x108)][z(0x110)],'noRename':!![],'withPubs':g[z(0x114)](z(0x14d)),'withFixtures':g[z(0x114)](z(0x12d)),'withMethods':g[z(0x114)](z(0x11b)),'withRest':g[z(0x114)](z(0x156))};let m='js';c[z(0x108)]['js']===z(0x118)&&(m='ts');await this[z(0x14c)][z(0x130)]([z(0x131),'maka:check',z(0x125),z(0x149),'mongo'],{'shouldInstall':!![]}),await a98e[z(0x12a)](z(0x120),[i],{'config':c,'where':z(0x109)});c[z(0x108)][z(0x14f)]===z(0x10a)&&(l[z(0x156)]&&await this['fsi'][z(0x10d)]({'srcPath':z(0x151),'destPath':this[z(0x14c)][z(0x116)]({'pathParts':[z(0x14a),z(0x14f),b['dir'],i,z(0x141)+m]}),'context':l,'config':c}));l[z(0x11b)]&&await this[z(0x14c)][z(0x10d)]({'srcPath':z(0x128),'destPath':this['fsi'][z(0x116)]({'pathParts':[z(0x14a),z(0x14f),b[z(0x137)],i,'rpc-methods.'+m]}),'context':l,'config':c});l[z(0x12d)]&&await this['fsi'][z(0x10d)]({'srcPath':'api/fixtures.js','destPath':this['fsi'][z(0x116)]({'pathParts':[z(0x14a),z(0x14f),b[z(0x137)],i,z(0x157)+m]}),'context':l,'config':c});c['engines'][z(0x110)]!==z(0x12c)&&this[z(0x14c)][z(0x10d)]({'srcPath':'api/tests.js','destPath':this[z(0x14c)][z(0x116)]({'pathParts':[z(0x14a),z(0x14f),b[z(0x137)],i,i+z(0x14b)+m]}),'context':l,'config':c});l[z(0x14d)]&&await this['fsi'][z(0x10d)]({'srcPath':z(0x129),'destPath':this[z(0x14c)]['pathFromApp']({'pathParts':['imports',z(0x14f),b[z(0x137)],i,z(0x12b)+m]}),'context':l,'config':c});if(c[z(0x108)]['graphql']==='apollo'){if(g[z(0x114)]('withGql')){const o=this[z(0x14c)][z(0x116)]({'pathParts':[z(0x14a),z(0x10e),'server','index.'+c[z(0x108)]['js']]}),p=this['fsi'][z(0x13d)]({'pathParts':[o],'config':c}),q=this['fsi'][z(0x116)]({'pathParts':[z(0x14a),z(0x14f),b[z(0x137)],i,z(0x148),z(0x107)+m]}),r=z(0x143)+k+i+'/graphql/typeDefs';this['fsi'][z(0x10d)]({'srcPath':z(0x11f),'destPath':q,'context':l,'config':c}),await this[z(0x14c)][z(0x13e)]({'filePath':p,'content':z(0x132)+j+'TypeDefs\x20}\x20from\x20\x27'+r+z(0x150)}),await this[z(0x14c)][z(0x145)]({'filePath':p,'content':z(0x10b)+j+z(0x13b),'begin':z(0x140),'end':z(0x147)});const s=this['fsi']['pathFromApp']({'pathParts':[z(0x14a),z(0x14f),b[z(0x137)],i,'graphql','resolvers.'+m]}),t=z(0x143)+k+i+z(0x153);await this['fsi'][z(0x10d)]({'srcPath':'api/resolvers.js','destPath':s,'context':l,'config':c}),await this[z(0x14c)][z(0x13e)]({'filePath':p,'content':'\x0aimport\x20{\x20resolvers\x20as\x20'+j+z(0x134)+t+'\x27;'}),await this[z(0x14c)][z(0x145)]({'filePath':p,'content':z(0x139)+j+z(0x104),'begin':z(0x140),'end':z(0x147)});}}await this['fsi']['template']({'srcPath':z(0x12e),'destPath':this[z(0x14c)][z(0x116)]({'pathParts':[z(0x14a),z(0x10e),z(0x109),'register-'+i+z(0x103)+m]}),'context':l,'config':c,'force':!![]});const n=this[z(0x14c)][z(0x116)]({'pathParts':[z(0x14a),'startup',z(0x109),z(0x142)+c[z(0x108)]['js']]});await this['fsi'][z(0x144)]({'filePath':n,'content':'import\x20\x27./register-'+i+z(0x105)});});}catch(h){console[y(0x155)](h),process[y(0x136)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a99m=a99d;(function(a,b){const j=a99d,c=a();while(!![]){try{const d=parseInt(j(
|
|
1
|
+
const a99m=a99d;(function(a,b){const j=a99d,c=a();while(!![]){try{const d=parseInt(j(0x163))/0x1+-parseInt(j(0x166))/0x2*(parseInt(j(0x15f))/0x3)+-parseInt(j(0x17e))/0x4*(-parseInt(j(0x167))/0x5)+parseInt(j(0x171))/0x6*(parseInt(j(0x170))/0x7)+parseInt(j(0x16a))/0x8+-parseInt(j(0x15e))/0x9*(-parseInt(j(0x17d))/0xa)+-parseInt(j(0x175))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a99c,0x97196));function a99d(a,b){const c=a99c();return a99d=function(d,e){d=d-0x157;let f=c[d];return f;},a99d(a,b);}const a99b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a99d;if(c){const e=c[k(0x178)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a99a=a99b(this,function(){const l=a99d;return a99a[l(0x179)]()['search'](l(0x15c))['toString']()[l(0x16c)](a99a)[l(0x17a)](l(0x15c));});function a99c(){const p=['where','pathFromApp','none','fsi','template','(((.+)+)+)+$','maka\x20g:collection\x20todos','184239fwmyWJ','2994126FWzZdB','collection','imports','getMakaProjectConfig','1191139IBqlGr','mongo','error','2gXXLro','24385MeDPeL','.app-tests.','checkMeteorPackage','2526488hWhrCh','startup','constructor','appPathPrefix','collection/tests.js','injectAtEndOfFile','108941fxqnqV','30KuSXts','dir','maka\x20{generate,\x20g}:{collection,\x20col}\x20<name>','collections','15029399xPaQwF','tsx','engines','apply','toString','search','maka:check','Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection','190YmDLsX','828KMDEAf','test','import\x20\x27./collections','withValue','resourceName'];a99c=function(){return p;};return a99c();}a99a();import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator['create']({'name':a99m(0x160),'aliases':['col'],'usage':a99m(0x173),'checkWhere':!![],'shortDesc':a99m(0x17c),'validOpts':[a99m(0x172),a99m(0x157)],'description':'\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','examples':[a99m(0x15d)]},async function(a,b){const n=a99m;try{const c=this['fsi'][n(0x162)]();await this[n(0x15a)][n(0x181)](c,async()=>{const o=n,d=paramCase(b[o(0x182)]),f={'name':pascalCase(b[o(0x182)]),'collectionName':pascalCase(b[o(0x182)]),'fileName':d,'where':b[o(0x157)],'test':c[o(0x177)][o(0x17f)],'noRename':!![]};let g='js';c[o(0x177)]['js']===o(0x176)&&(g='ts');await this['fsi'][o(0x169)]([o(0x164),o(0x17b)],{'shouldInstall':!![]}),await this[o(0x15a)][o(0x15b)]({'srcPath':'collection/collection.js','destPath':this['fsi'][o(0x158)]({'pathParts':['imports','startup',b[o(0x16d)],o(0x174),b[o(0x172)],d+'.'+g]}),'context':f,'config':c});c[o(0x177)][o(0x17f)]!==o(0x159)&&await this[o(0x15a)][o(0x15b)]({'srcPath':o(0x16e),'destPath':this['fsi'][o(0x158)]({'pathParts':[o(0x161),o(0x16b),b[o(0x16d)],'collections',b['dir'],d+o(0x168)+g]}),'context':f,'config':c});const h=b['dir']?'/'+b[o(0x172)]+'/':'/',i=this['fsi'][o(0x158)]({'pathParts':[o(0x161),o(0x16b),b[o(0x16d)],'index.'+c[o(0x177)]['js']]});await this['fsi'][o(0x16f)]({'filePath':i,'content':o(0x180)+h+d+'\x27;'});});}catch(d){Log[n(0x165)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a100n=a100d;(function(a,b){const k=a100d,c=a();while(!![]){try{const d=parseInt(k(0xc5))/0x1+parseInt(k(0xc0))/0x2+parseInt(k(0x8f))/0x3+parseInt(k(0x8c))/0x4+parseInt(k(0xba))/0x5+-parseInt(k(0x9a))/0x6*(-parseInt(k(0x99))/0x7)+-parseInt(k(0x8e))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a100c,0x8c97d));const a100b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a100d;if(c){const e=c[l(0xbb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a100a=a100b(this,function(){const m=a100d;return a100a['toString']()[m(0xc7)]('(((.+)+)+)+$')[m(0x9b)]()[m(0xb6)](a100a)[m(0xc7)](m(0xbc));});a100a();function a100d(a,b){const c=a100c();return a100d=function(d,e){d=d-0x8a;let f=c[d];return f;},a100d(a,b);}import a100e from'path';import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';const aliases=[a100n(0xaa)];Generator[a100n(0xb4)]({'name':'component','aliases':aliases,'usage':a100n(0x9f),'shortDesc':a100n(0xb7),'validOpts':[{'name':a100n(0x92),'values':[a100n(0xa9),a100n(0xae),a100n(0xad),a100n(0xbf)]}],'examples':[a100n(0xa7)]},async function(a,b){const o=a100n;try{const c=this[o(0x97)]['findAppDirectory'](),d=b[o(0x92)]?o(0xb3)+b['baseDir']:o(0xc2),f=this[o(0x97)]['pathFromApp']({'pathParts':[d,b['dir'],paramCase(b[o(0xa8)]),paramCase(b['resourceName'])]}),g=await this[o(0x97)][o(0xb8)]();await this[o(0x97)]['withValue'](g,async()=>{const p=o;typeof g[p(0x91)]['test']===p(0xa2)&&(g[p(0x91)][p(0xc6)]=g['template'][p(0xc6)]==='true'?!![]:![],this['fsi'][p(0xb2)](p(0xc6),g[p(0x91)]['test']));typeof g[p(0x91)][p(0xb0)]===p(0xa2)&&(g['template'][p(0xb0)]=g[p(0x91)][p(0xb0)]==='true'?!![]:![],this[p(0x97)][p(0xb2)](p(0xb0),g[p(0x91)][p(0xb0)]));typeof g['template']['js']===p(0xa2)&&(g[p(0x91)]['js']=g[p(0x91)]['js']===p(0x98)?!![]:![],this[p(0x97)]['setTemplate']('js',g[p(0x91)]['js']));!g['features']&&(g['features']={});!b[p(0xab)]&&!this[p(0x97)]['checkNpmPackage']('ramda')&&(Log[p(0x93)](p(0xa4)),await this[p(0x97)][p(0x9c)](p(0x96),{'cwd':c}));if(!b[p(0xab)]&&!this[p(0x97)][p(0xa3)](p(0xb9))){Log[p(0x8d)]('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');return;}const h={'name':pascalCase(b[p(0xa8)]),'myPath':a100e[p(0xbd)](this[p(0x97)]['pathFromProject']({}),f),'cssCaseName':paramCase(b[p(0xa8)]),'className':pascalCase(b[p(0xa8)]),'camelCaseName':camelCase(b[p(0xa8)]),'fileName':paramCase(b['resourceName']),'graphql':g[p(0xb1)][p(0xb5)],'features':g['features'],'client':g['engines'][p(0x9e)],'api':g[p(0xb1)]['api'],'ssr':g[p(0xb1)][p(0xc3)],'test':g[p(0xb1)][p(0xc6)],'theme':g['engines'][p(0xc1)],'isLayout':![],'isComponent':!![],'withTranslations':g[p(0xa0)]['withTranslations']};await this[p(0x97)][p(0x91)]({'srcPath':p(0x9d),'destPath':f+p(0xa1),'context':h,'framework':'react','config':g});g[p(0xb1)][p(0xc6)]!=='none'&&await this['fsi'][p(0x91)]({'srcPath':p(0xaf),'destPath':f+p(0xbe),'context':h,'framework':p(0xb9),'config':g});g[p(0x91)]['css']&&(await this[p(0x97)][p(0x91)]({'srcPath':p(0x90),'destPath':f+p(0x8a),'context':Object[p(0xac)]({},h,{'className':paramCase(b[p(0xa8)])}),'config':g}),await this['fsi'][p(0x8b)]({'filePath':f+'.'+g[p(0xb1)]['js'],'content':p(0xa6)+h[p(0x94)]+'.'+g[p(0xb1)][p(0xb0)]+'\x27;'}));const i=b['dir']?'/'+b[p(0xa5)]+'/':'/',j=''+d+i+h[p(0xc4)]+'/'+h[p(0xc4)];await this[p(0x97)]['injectTemplateModule'](h[p(0x95)],g,j);});}catch(h){Log['error'](h);}});function a100c(){const q=['setTemplate','/imports/ui/','create','graphql','constructor','Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','getMakaProjectConfig','react','2914755qPvYhN','apply','(((.+)+)+)+$','relative','.tests.js','layouts','1193546wNkOhf','theme','/imports/ui/components','ssr','fileName','736082wOfgVR','test','search','.css','injectAtBeginningOfFile','4450392tMgvfg','error','27567344MZcWpc','592437MWrkZX','template/template.css','template','baseDir','warn','cssCaseName','className','ramda','fsi','true','112nETXCr','298464rhIvQk','toString','installNpmPackage','component/component.js','client','maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','features','.js','string','checkNpmPackage','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','dir','import\x20\x27./','maka\x20g:comp\x20todos/todos-item','resourceName','hooks','comp','root','assign','pages','components','test/test.js','css','engines'];a100c=function(){return q;};return a100c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a101k=a101d;(function(a,b){const h=a101d,c=a();while(!![]){try{const d
|
|
1
|
+
function a101d(a,b){const c=a101c();return a101d=function(d,e){d=d-0x122;let f=c[d];return f;},a101d(a,b);}function a101c(){const n=['4tSlFTt','maka\x20g:config\x20production','dev','isDocker','config','template','constructor','config/process.env','withValue','appName','apply','7LBfSNq','69RcTiPY','prod','1464579Fkjjju','12258968bmrjWQ','(((.+)+)+)+$','ubuntu','config/settings.json','fsi','settings.json','create','toString','124089HxWLac','resourceName','10DYmSRh','2527430kOKqbs','search','Generate\x20configuration\x20settings.','getMakaProjectConfig','pathFromProject','99652bhgMml','28605940jBfhAg','7397592SovgHB','production'];a101c=function(){return n;};return a101c();}const a101k=a101d;(function(a,b){const h=a101d,c=a();while(!![]){try{const d=-parseInt(h(0x13f))/0x1*(parseInt(h(0x128))/0x2)+-parseInt(h(0x134))/0x3*(-parseInt(h(0x124))/0x4)+parseInt(h(0x142))/0x5+-parseInt(h(0x126))/0x6+parseInt(h(0x133))/0x7*(-parseInt(h(0x137))/0x8)+parseInt(h(0x136))/0x9*(parseInt(h(0x141))/0xa)+parseInt(h(0x125))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a101c,0xca373));const a101b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a101d;if(c){const e=c[i(0x132)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a101a=a101b(this,function(){const j=a101d;return a101a[j(0x13e)]()['search'](j(0x138))[j(0x13e)]()[j(0x12e)](a101a)[j(0x143)](j(0x138));});a101a();import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a101k(0x13d)]({'name':a101k(0x12c),'usage':'maka\x20{generate,\x20g}:{config}\x20<name>','shortDesc':a101k(0x144),'validOpts':['isDocker'],'examples':[a101k(0x129)]},async function(a,b){const l=a101k,c=this[l(0x13b)][l(0x122)]();await this[l(0x13b)][l(0x130)](c,async()=>{const m=l,d={'app':c[m(0x131)],'appFileCase':paramCase(c[m(0x131)]),'name':pascalCase(b['resourceName']),'fileName':paramCase(b[m(0x140)]),'camelCase':camelCase(b['resourceName']),'userName':m(0x139),'isDocker':b[m(0x12b)]};let e=b[m(0x140)];if(e===m(0x12a))e='development';else e===m(0x135)&&(e=m(0x127));const f=this[m(0x13b)][m(0x123)]({'pathParts':['config',e,m(0x13c)]});await this[m(0x13b)][m(0x12d)]({'srcPath':m(0x13a),'destPath':f,'context':d,'config':c});if(!b[m(0x12b)]){const g=this[m(0x13b)][m(0x123)]({'pathParts':[m(0x12c),e,'process.env']});await this[m(0x13b)]['template']({'srcPath':m(0x12f),'destPath':g,'context':d,'config':c});}});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a102m=a102d;(function(a,b){const j=a102d,c=a();while(!![]){try{const d
|
|
1
|
+
const a102m=a102d;function a102c(){const p=['server','dbc','sqlite','Npm\x20package\x20\x22pg\x22\x20not\x20installed,\x20installing...','injectAtEndOfFile','warn','(((.+)+)+)+$','conn.','fsi','510MnrlTk','4961936xTyDVZ','engines','22917ShYJQf','mssql','withValue','Npm\x20package\x20\x22mssql\x22\x20not\x20installed,\x20installing...','maka\x20g:dbc\x20geoserver\x20--type=pgsql','38388VUasKa','config.','dbc/register-dbc.js','dir','maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','resourceName','pathFromApp','dbc/conn.js','913542wrjnXo','checkNpmPackage','startup','1992160lxlidi','better-sqlite3','type','imports','import\x20\x27./register-','getMakaProjectConfig','apply','toString','register-','template','9cuthEI','index.','1389580gtvmWE','18530928atVLMB','-dbc.','maka\x20g:dbc\x20todos\x20--type=sqlite','dbc/config.js','create','error','search','installNpmPackage'];a102c=function(){return p;};return a102c();}(function(a,b){const j=a102d,c=a();while(!![]){try{const d=parseInt(j(0x1cf))/0x1+-parseInt(j(0x1c0))/0x2+-parseInt(j(0x1b3))/0x3+parseInt(j(0x1b1))/0x4+parseInt(j(0x1c3))/0x5+parseInt(j(0x1b0))/0x6*(parseInt(j(0x1b8))/0x7)+parseInt(j(0x1d0))/0x8*(-parseInt(j(0x1cd))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a102c,0xae484));const a102b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a102d;if(c){const e=c[k(0x1c9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a102a=a102b(this,function(){const l=a102d;return a102a[l(0x1ca)]()[l(0x1a5)]('(((.+)+)+)+$')[l(0x1ca)]()['constructor'](a102a)[l(0x1a5)](l(0x1ad));});function a102d(a,b){const c=a102c();return a102d=function(d,e){d=d-0x1a3;let f=c[d];return f;},a102d(a,b);}a102a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a102m(0x1a3)]({'name':a102m(0x1a8),'usage':a102m(0x1bc),'shortDesc':'Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','validOpts':['dir'],'mustBeInMakaProject':!![],'requiredOpts':[{'name':'type','values':['pgsql',a102m(0x1b4),'sqlite']}],'examples':[a102m(0x1b7),'maka\x20g:dbc\x20azure\x20--type=mssql',a102m(0x1d2)]},async function(a,b){const n=a102m;try{const c=await this['fsi'][n(0x1c8)](),d=this[n(0x1af)][n(0x1be)]({}),f=paramCase(b[n(0x1bd)]),g={'name':pascalCase(b[n(0x1bd)]),'fileName':paramCase(b[n(0x1bd)]),'camelCase':camelCase(b[n(0x1bd)]),'type':b[n(0x1c5)],'engine':c[n(0x1b2)]['js'],'noRename':!![]};await this['fsi'][n(0x1b5)](c,async()=>{const o=n;let h='js';c[o(0x1b2)]['js']==='tsx'&&(h='ts');b['type']==='pgsql'&&!this['fsi'][o(0x1c1)]('pg')&&(Log[o(0x1ac)](o(0x1aa)),await this[o(0x1af)][o(0x1a6)]('pg',{'cwd':d}));b[o(0x1c5)]==='mssql'&&!this['fsi'][o(0x1c1)](o(0x1b4))&&(Log[o(0x1ac)](o(0x1b6)),await this['fsi'][o(0x1a6)](o(0x1b4),{'cwd':d}));b[o(0x1c5)]===o(0x1a9)&&!this[o(0x1af)][o(0x1c1)](o(0x1c4))&&(Log[o(0x1ac)]('Npm\x20package\x20\x22better-sqlite3\x22\x20not\x20installed,\x20installing...'),await this[o(0x1af)]['installNpmPackage']('better-sqlite3',{'cwd':d}));await this[o(0x1af)][o(0x1cc)]({'srcPath':o(0x1d3),'destPath':this['fsi']['pathFromApp']({'pathParts':[o(0x1c6),o(0x1c2),o(0x1a7),'dbc',b['dir'],f,o(0x1b9)+h]}),'context':g,'config':c}),await this[o(0x1af)][o(0x1cc)]({'srcPath':o(0x1bf),'destPath':this[o(0x1af)]['pathFromApp']({'pathParts':[o(0x1c6),'startup',o(0x1a7),o(0x1a8),b[o(0x1bb)],f,o(0x1ae)+h]}),'context':g,'config':c}),await this['fsi']['template']({'srcPath':o(0x1ba),'destPath':this[o(0x1af)]['pathFromApp']({'pathParts':[o(0x1c6),o(0x1c2),o(0x1a7),o(0x1cb)+f+o(0x1d1)+h]}),'context':g,'config':c});const i=this[o(0x1af)][o(0x1be)]({'pathParts':['imports','startup',o(0x1a7),o(0x1ce)+c['engines']['js']]});await this[o(0x1af)][o(0x1ab)]({'filePath':i,'content':o(0x1c7)+f+'-dbc\x27;'});});}catch(h){Log[n(0x1a4)](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a103c(){const l=['
|
|
1
|
+
function a103c(){const l=['38684AtvELu','join','63354rnagkY','dockerfile','1242312mvKhjP','create','service','3895030eCSRyV','withValue','3771061eHGOZU','(((.+)+)+)+$','maka\x20g:dockerfile','getMakaProjectConfig','cert','toString','constructor','99jWwNAH','fsi','5828068PjuSMx','365XrLCNb','error','appName','Dockerfile','template','search','app.tar.gz','13263328jdZtdm','71LNpFIn','apply'];a103c=function(){return l;};return a103c();}function a103d(a,b){const c=a103c();return a103d=function(d,e){d=d-0x1b4;let f=c[d];return f;},a103d(a,b);}const a103i=a103d;(function(a,b){const f=a103d,c=a();while(!![]){try{const d=parseInt(f(0x1b9))/0x1*(parseInt(f(0x1bb))/0x2)+parseInt(f(0x1bf))/0x3+parseInt(f(0x1cd))/0x4+-parseInt(f(0x1ce))/0x5*(-parseInt(f(0x1bd))/0x6)+-parseInt(f(0x1c4))/0x7+parseInt(f(0x1b8))/0x8+parseInt(f(0x1cb))/0x9*(-parseInt(f(0x1c2))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a103c,0xcf7ce));const a103b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a103d;if(c){const e=c[g(0x1ba)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a103a=a103b(this,function(){const h=a103d;return a103a[h(0x1c9)]()[h(0x1b6)](h(0x1c5))['toString']()[h(0x1ca)](a103a)[h(0x1b6)](h(0x1c5));});a103a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a103e from'path';Generator[a103i(0x1c0)]({'name':a103i(0x1be),'usage':'maka\x20{generate,\x20g}:dockerfile','shortDesc':'Generate\x20an\x20updated\x20dockerfile','validOpts':[],'noNeedResource':!![],'examples':[a103i(0x1c6)]},async function(){const j=a103i;try{const a=await this[j(0x1cc)][j(0x1c7)](),b=await this[j(0x1cc)]['getGlobalConfig'](),c=this[j(0x1cc)]['findProjectDirectory']();await this[j(0x1cc)][j(0x1c3)](a,async()=>{const k=j,d={'app':b[k(0x1d0)],'config':a,'appPath':a103e[k(0x1bc)](c,'app'),'bundlePath':a103e[k(0x1bc)](c,'build',k(0x1b7)),'useCert':this[k(0x1cc)]['isFile'](b[k(0x1c8)])};await this[k(0x1cc)][k(0x1b5)]({'srcPath':'docker/Dockerfile','destPath':a103e[k(0x1bc)](c,k(0x1b4)),'framework':k(0x1c1),'context':d,'config':a});});}catch(d){Log[j(0x1cf)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a104o=a104d;(function(a,b){const l=a104d,c=a();while(!![]){try{const d=-parseInt(l(0x196))/0x1*(-parseInt(l(0x1a5))/0x2)+-parseInt(l(0x1af))/0x3+parseInt(l(0x1ab))/0x4+parseInt(l(0x188))/0x5*(-parseInt(l(0x19c))/0x6)+parseInt(l(0x1bd))/0x7+parseInt(l(0x192))/0x8*(-parseInt(l(0x18c))/0x9)+parseInt(l(0x189))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a104c,0xe6ae5));const a104b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a104d;if(c){const e=c[m(0x187)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a104a=a104b(this,function(){const n=a104d;return a104a[n(0x1b1)]()[n(0x197)](n(0x1b9))[n(0x1b1)]()[n(0x1ae)](a104a)[n(0x197)](n(0x1b9));});function a104c(){const r=['maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','hooks','632778CKOsdl','none','apollo','@apollo/client','injectAtBeginningOfFile','features','2091492wFkhhh','template/template.css','resourceName','constructor','5583945rnXuNn','withValue','toString','create','layouts','engines','fsi','graphql','getMakaProjectConfig','maka\x20g:hook\x20cool-hook','(((.+)+)+)+$','injectTemplateModule','hook/hook.js','dir','8399174HLTmSt','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','css','react','setTemplate','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','.css','apply','3635CpzOMo','24372190anvyum','/imports/ui/hooks','force','7407PkAtGn','@apollo/client\x20isomorphic-fetch','baseDir','/imports/ui/','test','checkNpmPackage','11896wNAvNi','cssCaseName','pathFromApp','fileName','1efOHAg','search','hook','relative','installNpmPackage','import\x20\x27./','3684XGZVIW','warn','Creating\x20','template','error','\x20hook...','string'];a104c=function(){return r;};return a104c();}a104a();import a104e from'path';import{paramCase,pascalCase,camelCase}from'change-case';function a104d(a,b){const c=a104c();return a104d=function(d,e){d=d-0x181;let f=c[d];return f;},a104d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Generator[a104o(0x1b2)]({'name':a104o(0x198),'aliases':['h'],'checkWhere':![],'usage':a104o(0x1a3),'shortDesc':a104o(0x181),'validOpts':[{'name':'baseDir','values':[a104o(0x1a4),'components','pages',a104o(0x1b3)]},{'name':a104o(0x18b),'boolFlag':!![]}],'examples':[a104o(0x1b8)],'description':'\x0a\x20\x20Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html\x0a\x0a\x20\x20Hooks\x20are\x20created\x20in\x20the\x20imports/ui/hooks\x20directory\x20by\x20default,\x20but\x20can\x20be\x20created\x20in\x0a\x20\x20the\x20imports/ui/components,\x20imports/ui/pages,\x20or\x20imports/ui/layouts\x20directories\x20by\x0a\x20\x20using\x20the\x20--baseDir\x20option\x20with\x20the\x20appropriate\x20directory\x20name.\x0a\x0a\x20\x20To\x20create\x20a\x20hook\x20in\x20a\x20subdirectory\x20of\x20the\x20hooks\x20directory,\x20add\x20the\x20path\x20to\x20the\x0a\x20\x20hook\x20name.\x20For\x20example,\x20maka\x20g:hook\x20myHooks/useCoolHook\x20will\x20create\x20a\x20hook\x20in\x0a\x20\x20imports/ui/hooks/my-hooks/use-cool-hook.jsx\x0a\x0a\x20\x20If\x20you\x27d\x20like\x20a\x20hook\x20created\x20as\x20part\x20of\x20an\x20existing\x20page,\x20component,\x20or\x20layout,\x0a\x20\x20use\x20the\x20maka\x20g:hook\x20command\x20with\x20the\x20--baseDir\x20option.\x20For\x20example,\x0a\x0a\x20\x20\x20\x20maka\x20g:hook\x20--baseDir=pages\x20myPage/useCoolHook\x0a\x0a\x20\x20will\x20create\x20a\x20hook\x20in\x20imports/ui/pages/my-page/use-cool-hook.jsx\x0a\x0a\x20\x20'},async function(a,b){const p=a104o;Log['notice'](p(0x19e)+b['resourceName']+p(0x1a1));try{const c=this[p(0x1b5)][p(0x191)](p(0x183));if(!c){Log[p(0x1a0)]('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');throw new UsageError();}const d=this[p(0x1b5)][p(0x194)](b),f=b[p(0x18e)]?p(0x18f)+b[p(0x18e)]:p(0x18a),g=this[p(0x1b5)][p(0x194)]({'pathParts':[f,b[p(0x1bc)],paramCase(b[p(0x1ad)]),paramCase(b[p(0x1ad)])]}),h=await this['fsi'][p(0x1b7)]();await this['fsi'][p(0x1b0)](h,async()=>{const q=p;typeof h[q(0x19f)]['css']===q(0x1a2)&&(h[q(0x19f)]['css']=h[q(0x19f)][q(0x182)]==='true'?!![]:![],this[q(0x1b5)][q(0x184)](q(0x182),h['template'][q(0x182)]));h['engines']['graphql']===q(0x1a7)&&!this[q(0x1b5)][q(0x191)](q(0x1a8))&&(Log[q(0x19d)](q(0x185)),await this[q(0x1b5)][q(0x19a)](q(0x18d),{'cwd':d}));const i={'cssCaseName':paramCase(b[q(0x1ad)]),'camelCaseName':camelCase(b[q(0x1ad)]),'className':pascalCase(b[q(0x1ad)]),'name':pascalCase(b['resourceName']),'graphql':h[q(0x1b4)][q(0x1b6)],'theme':h[q(0x1b4)]['theme'],'features':h[q(0x1aa)],'myPath':a104e[q(0x199)](this[q(0x1b5)]['pathFromProject']({}),g),'fileName':paramCase(b[q(0x1ad)]),'isComponent':![],'isLayout':![],'withTranslations':h[q(0x1aa)]['withTranslations']};await this['fsi'][q(0x19f)]({'srcPath':q(0x1bb),'destPath':g+'.js','context':i,'config':h,'framework':q(0x183),'force':b[q(0x18b)]});h[q(0x19f)][q(0x182)]&&(await this[q(0x1b5)][q(0x19f)]({'srcPath':q(0x1ac),'destPath':g+q(0x186),'context':Object['assign']({},i,{'className':i[q(0x193)]}),'config':h,'force':b[q(0x18b)]}),await this[q(0x1b5)][q(0x1a9)]({'filePath':g+'.'+h[q(0x1b4)]['js'],'content':q(0x19b)+i[q(0x195)]+'.'+h[q(0x1b4)][q(0x182)]+'\x27;'}));h[q(0x1b4)][q(0x190)]!==q(0x1a6)&&await this[q(0x1b5)][q(0x19f)]({'srcPath':'test/test.js','destPath':g+'.app-tests.js','framework':q(0x183),'context':i,'config':h,'force':b[q(0x18b)]});const j=b['dir']?'/'+b[q(0x1bc)]+'/':'/',k=''+f+j+i[q(0x195)]+'/'+i['fileName'];await this[q(0x1b5)][q(0x1ba)](i['className'],h,k);});}catch(i){Log[p(0x1a0)](i);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a112d,c=a();while(!![]){try{var d
|
|
1
|
+
function a112d(a,b){var c=a112c();return a112d=function(d,e){d=d-0x187;var f=c[d];return f;},a112d(a,b);}(function(a,b){var f=a112d,c=a();while(!![]){try{var d=-parseInt(f(0x188))/0x1*(-parseInt(f(0x193))/0x2)+parseInt(f(0x18e))/0x3+parseInt(f(0x18b))/0x4+parseInt(f(0x18c))/0x5+-parseInt(f(0x18a))/0x6*(parseInt(f(0x192))/0x7)+-parseInt(f(0x18f))/0x8*(-parseInt(f(0x194))/0x9)+-parseInt(f(0x195))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a112c,0x42f01));var a112b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a112d;if(c){var e=c[g(0x187)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a112a=a112b(this,function(){var h=a112d;return a112a[h(0x190)]()['search'](h(0x189))['toString']()[h(0x191)](a112a)[h(0x18d)](h(0x189));});a112a();import'./kit.js';import'./mui/_index.js';function a112c(){var i=['495522CJPiwX','7607330ucavDU','apply','12DzqgxB','(((.+)+)+)+$','1596ZZzMsD','809872rZOrAt','1096860bHrDde','search','588222WkStjW','40kSITxZ','toString','constructor','8491gmFCtt','77394xUqzQn'];a112c=function(){return i;};return a112c();}import'./esri/_index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a107d,c=a();while(!![]){try{var d=parseInt(f(0x186))/0x1*(-parseInt(f(0x18a))/0x2)+-parseInt(f(0x18d))/0x3*(-parseInt(f(0x185))/0x4)+-parseInt(f(0x184))/0x5*(parseInt(f(0x183))/0x6)+-parseInt(f(0x180))/0x7*(parseInt(f(0x17e))/0x8)+-parseInt(f(0x18e))/0x9+parseInt(f(0x18c))/0xa*(parseInt(f(0x18f))/0xb)+-parseInt(f(0x187))/0xc*(-parseInt(f(0x17f))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a107c,0xd5a96));var a107b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a107d;if(c){var e=c[g(0x181)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a107a=a107b(this,function(){var h=a107d;return a107a['toString']()[h(0x18b)](h(0x188))[h(0x189)]()[h(0x182)](a107a)[h(0x18b)](h(0x188));});a107a();function a107d(a,b){var c=a107c();return a107d=function(d,e){d=d-0x17e;var f=c[d];return f;},a107d(a,b);}function a107c(){var i=['search','170NJhwms','57ayZpiA','3566169NRTyJf','931183CLWSsi','50608MYkbUV','13NdzKJk','1477axvJem','apply','constructor','4398toAxWP','940goseQC','27188LrUYhG','281063UtcVxy','20854452dUdJXM','(((.+)+)+)+$','toString','4ZkpXlg'];a107c=function(){return i;};return a107c();}import'./esri.generator.js';import'./map.esri.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a105i=a105d;(function(a,b){const f=a105d,c=a();while(!![]){try{const d=parseInt(f(
|
|
1
|
+
const a105i=a105d;(function(a,b){const f=a105d,c=a();while(!![]){try{const d=parseInt(f(0x8a))/0x1*(-parseInt(f(0x80))/0x2)+-parseInt(f(0x7c))/0x3+-parseInt(f(0x89))/0x4+parseInt(f(0x85))/0x5*(parseInt(f(0x84))/0x6)+-parseInt(f(0x79))/0x7+-parseInt(f(0x7d))/0x8+parseInt(f(0x83))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a105c,0xb1cb8));const a105b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a105d;if(c){const e=c[g(0x82)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a105a=a105b(this,function(){const h=a105d;return a105a[h(0x7e)]()['search'](h(0x7b))[h(0x7e)]()[h(0x81)](a105a)['search'](h(0x7b));});a105a();import{Generator}from'../../../generator.js';function a105d(a,b){const c=a105c();return a105d=function(d,e){d=d-0x78;let f=c[d];return f;},a105d(a,b);}function a105c(){const k=['9014824FLlGFt','toString','maka\x20g:kit:e','1204078qBLuVN','constructor','apply','49215420ewndNc','54TZwmFQ','608255rYFVVf','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','NIE','create','5210400gXQHTZ','2NbbXxE','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','5787565sQbjOR','\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20kit\x20for\x20Esri\x20Maps.\x20Starting\x20with\x20a\x20basic\x20map,\x0a\x20\x20\x20\x20but\x20with\x20the\x20ability\x20to\x20add\x20more\x20components\x20to\x20the\x20kit.\x0a\x20\x20','(((.+)+)+)+$','4123995ZFWXVH'];a105c=function(){return k;};return a105c();}import a105e from'../kit.js';const EsriGen=Generator[a105i(0x88)]({'name':'esri','aliases':['e'],'usage':a105i(0x78),'noNeedResource':!![],'shortDesc':a105i(0x86),'validOpts':[''],'isPro':!![],'examples':[a105i(0x7f)],'description':a105i(0x7a)},async function(){const j=a105i;throw j(0x87);},a105e);export default EsriGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a106r=a106d;(function(a,b){const p=a106d,c=a();while(!![]){try{const d
|
|
1
|
+
const a106r=a106d;(function(a,b){const p=a106d,c=a();while(!![]){try{const d=parseInt(p(0x10f))/0x1+parseInt(p(0x11d))/0x2+parseInt(p(0x105))/0x3*(-parseInt(p(0x123))/0x4)+-parseInt(p(0x107))/0x5+-parseInt(p(0x11a))/0x6+parseInt(p(0x112))/0x7+parseInt(p(0x129))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a106c,0xe9ee6));const a106b=(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;};}()),a106a=a106b(this,function(){const q=a106d;return a106a[q(0x103)]()[q(0x10c)](q(0x118))[q(0x103)]()[q(0x111)](a106a)[q(0x10c)]('(((.+)+)+)+$');});a106a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a106e from'./esri.generator.js';function a106c(){const u=['kit/esri/map/','exit','3097114ydeXDD','appName','replaceAll','true','.js','template','131812fwCcDm','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','injectTemplateModule','react','/imports/startup/client/templates','<div\x20id=\x22map-hook\x22>','8813368cicikq','injectIntoFile','basic-map','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','esri-loader','processAndRunGenerator','findProjectDirectory','REACT','withValue','toString','@esri/react-arcgis','78BGLmRB','Generating\x20a\x20map\x20component','8637250sklLXl','dir','create','fsi','pathFromApp','search','getMakaProjectConfig','baseDir','1402561SCcltf','ssr','constructor','6158250VaqFtX','page','Generate\x20an\x20Esri\x20map\x20component','map','error','injectImport','(((.+)+)+)+$','/imports/startup/lib/templates','8340774gblHLE'];a106c=function(){return u;};return a106c();}import a106f from'../../../generators/maka.gen.js';function a106d(a,b){const c=a106c();return a106d=function(d,e){d=d-0xfc;let f=c[d];return f;},a106d(a,b);}import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a106r(0x109)]({'name':a106r(0x115),'aliases':['m'],'usage':a106r(0x124),'shortDesc':a106r(0x114),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a106r(0x101)],'ssr':SsrEngines['FALSE']},'description':'\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20map\x20component\x20in\x20the\x20/imports/ui/hooks\x20directory.\x0a\x0a\x20\x20\x20\x20It\x27ll\x20also\x20create\x20a\x20page\x20component\x20in\x20the\x20/imports/ui/pages/map\x20directory.\x0a\x0a\x20\x20\x20\x20The\x20map\x20component\x20will\x20be\x20named\x20\x27BasicMap\x27\x20by\x20default.\x0a\x0a\x20\x20'},async function(a,b){const s=a106r;try{Log['bright'](s(0x106));const c=s(0xfc);await this[s(0x10a)]['checkNpmPackage']([s(0x104),s(0xfe)],{'shouldInstall':!![]});const d=this['fsi'][s(0x100)](),f=this[s(0x10a)][s(0x10d)](),g=f['engines'][s(0x110)]===s(0x120),h=await a106f[s(0xff)](s(0x113),[s(0x115)],{'cwd':d,'config':f}),i={'name':headerCase(f[s(0x11e)])[s(0x11f)]('-','\x20'),'componentName':pascalCase(c)},j=b['baseDir']?'/imports/ui/'+b[s(0x10e)]:'/imports/ui/hooks',k=this['fsi'][s(0x10b)]({'pathParts':[j,b['dir'],paramCase(c),paramCase(c)]});this[s(0x10a)][s(0x102)](f,async()=>{const t=s;this[t(0x10a)][t(0x122)]({'srcPath':t(0x11b)+c+t(0x121),'destPath':k+t(0x121),'framework':t(0x126),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[s(0x108)]+'/'+c+'/'+c;await this[s(0x10a)][s(0x125)](c,f,l);const m=h['split']('/'),n=this[s(0x10a)]['pathFromApp']({'pathParts':m});await this[s(0x10a)][s(0x117)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?s(0x119):s(0x127),'isNamedExport':!![]}),await this[s(0x10a)][s(0x12a)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+s(0xfd),'begin':[s(0x128),'<div\x20id=\x22map-component\x22>'],'end':['</div>'],'replace':!![]});}catch(o){Log[s(0x116)](o),process[s(0x11c)](0x1);}},a106e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a108c(){const j=['401832YFKBoH','6xEcHEI','879426vSbHUJ','7046420DBbMos','448306JHaVuV','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','72499fBxpTq','maka\x20{generate,\x20g}:{kit}\x20<name>','kit','apply','153iaipec','(((.+)+)+)+$','679495kwAlAk','71900ISmaFX','308qQXsQR','368cOTWEh','maka\x20g:k','2naLeVd','toString','search'];a108c=function(){return j;};return a108c();}const a108i=a108d;(function(a,b){const f=a108d,c=a();while(!![]){try{const d=parseInt(f(0x15e))/0x1*(-parseInt(f(0x157))/0x2)+parseInt(f(0x150))/0x3*(parseInt(f(0x153))/0x4)+parseInt(f(0x152))/0x5*(-parseInt(f(0x15b))/0x6)+parseInt(f(0x160))/0x7*(parseInt(f(0x155))/0x8)+-parseInt(f(0x15c))/0x9+parseInt(f(0x15d))/0xa+-parseInt(f(0x154))/0xb*(parseInt(f(0x15a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a108c,0x74c36));const a108b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a108d;if(c){const e=c[g(0x14f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a108a=a108b(this,function(){const h=a108d;return a108a[h(0x158)]()[h(0x159)](h(0x151))[h(0x158)]()['constructor'](a108a)['search'](h(0x151));});a108a();import{Generator}from'../../generator.js';function a108d(a,b){const c=a108c();return a108d=function(d,e){d=d-0x14e;let f=c[d];return f;},a108d(a,b);}const KitGen=Generator['create']({'name':a108i(0x14e),'aliases':['k'],'usage':a108i(0x161),'shortDesc':a108i(0x15f),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':['maka\x20g:kit',a108i(0x156)]},async function(){});export default KitGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a111d,c=a();while(!![]){try{var d=parseInt(f(
|
|
1
|
+
function a111c(){var i=['399896iKXmfD','473024knDvCw','2499030dHLMBP','search','toString','4694946MnJSDe','9294719oTHluS','(((.+)+)+)+$','apply','721655QuSlte','1077665bnZkfW'];a111c=function(){return i;};return a111c();}function a111d(a,b){var c=a111c();return a111d=function(d,e){d=d-0x11a;var f=c[d];return f;},a111d(a,b);}(function(a,b){var f=a111d,c=a();while(!![]){try{var d=parseInt(f(0x122))/0x1+-parseInt(f(0x11a))/0x2+parseInt(f(0x11b))/0x3+-parseInt(f(0x124))/0x4+-parseInt(f(0x123))/0x5+parseInt(f(0x11e))/0x6+-parseInt(f(0x11f))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a111c,0x6fa68));var a111b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a111d;if(c){var e=c[g(0x121)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a111a=a111b(this,function(){var h=a111d;return a111a[h(0x11d)]()[h(0x11c)](h(0x120))['toString']()['constructor'](a111a)[h(0x11c)](h(0x120));});a111a();import'./mui.generator.js';import'./frame.mui.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a109A=a109d;
|
|
1
|
+
const a109A=a109d;(function(a,b){const x=a109d,c=a();while(!![]){try{const d=parseInt(x(0x98))/0x1*(-parseInt(x(0x7c))/0x2)+parseInt(x(0x97))/0x3*(parseInt(x(0x86))/0x4)+parseInt(x(0x9f))/0x5*(-parseInt(x(0x9b))/0x6)+parseInt(x(0xa4))/0x7+parseInt(x(0xa7))/0x8*(-parseInt(x(0x8c))/0x9)+-parseInt(x(0x94))/0xa+-parseInt(x(0x81))/0xb*(-parseInt(x(0x8b))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a109c,0x9aaa5));const a109b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a109d;if(c){const e=c[y(0x87)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a109a=a109b(this,function(){const z=a109d;return a109a[z(0x7b)]()[z(0xa3)](z(0x8e))[z(0x7b)]()['constructor'](a109a)[z(0xa3)](z(0x8e));});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';function a109d(a,b){const c=a109c();return a109d=function(d,e){d=d-0x70;let f=c[d];return f;},a109d(a,b);}import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';function a109c(){const D=['pathFromApp','dir','injectIntoFile','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','{this.props.children}','{\x20props.children\x20}','error','basic-app-bar','tsx','baseDir','getDirectories','toString','1800518fbskDA','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','test','react','\x20/>\x0a','11TnbASt','app-tests','{props.children}','options','injectTemplateModule','961420pUJNfd','apply','maka\x20generate:kit:mui:frame','/imports/startup/client/templates','kit/mui/frame/app-bars/','36078324jhKKhV','97353eIeyMP','frame','(((.+)+)+)+$','true','fsi','-hook\x22>','MATERIAL','ssr','8878810ilMfyS','No\x20layouts\x20selected','<div\x20id=\x22','15MjVOkz','1TeGOfx','length','getFiles','731022xXOEcv','template','tests','.js','35IThSSa','injectImport','checkMeteorPackage','/imports/ui/hooks','search','1186780JeCAKk','layouts','imports','816yQTHgO','join','-component\x22>','session','replaceAll','getMakaProjectConfig','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','checkbox','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','/imports/startup/lib/templates','withValue','{\x20this.props.children\x20}','findAppDirectory','basic-drawer','/imports/ui/'];a109c=function(){return D;};return a109c();}Generator['create']({'name':a109A(0x8d),'aliases':['f'],'usage':a109A(0xaf),'shortDesc':a109A(0x73),'validOpts':[a109A(0xa5)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a109A(0x92)],'client':ClientEngines['REACT']},'examples':[a109A(0x88),'maka\x20g:k:m:f'],'description':a109A(0x7d)},async function(a,b){const B=a109A;try{const c=B(0x77),d=B(0xb4),f=this['fsi'][B(0xac)](),g=f['engines'][B(0x93)]===B(0x8f);await this[B(0x90)][B(0xa1)](B(0xaa),{'shouldInstall':!![]});const h=this['fsi'][B(0xb3)](),i=a109e[B(0xa8)](h,B(0xa6),'ui',B(0xa5)),j=this[B(0x90)][B(0x7a)](i),k=await Actions[B(0x84)]({'type':B(0xae),'name':B(0xa5),'message':B(0xad),'choices':j});if(k[B(0xa5)][B(0x99)]===0x0){Log[B(0x76)](B(0x95));return;}const l=b[B(0x79)]?B(0xb5)+b[B(0x79)]:B(0xa2),m=this['fsi'][B(0x70)]({'pathParts':[l,b[B(0x71)],paramCase(c),paramCase(c)]}),n=this[B(0x90)][B(0x70)]({'pathParts':[l,b['dir'],paramCase(d),paramCase(d)]}),o={'name':headerCase(f['appName'])[B(0xab)]('-','\x20')};await this['fsi'][B(0xb1)](f,async()=>{const C=B;await this['fsi'][C(0x9c)]({'srcPath':C(0x8a)+c+C(0x9e),'destPath':m+'.js','framework':'react','context':o,'config':f,'force':![],'ignore':![]}),await this[C(0x90)][C(0x9c)]({'srcPath':'kit/mui/frame/drawers/'+d+C(0x9e),'destPath':n+C(0x9e),'framework':C(0x7f),'context':o,'config':f,'force':![],'ignore':![]});});const p=''+l+b['dir']+'/'+c+'/'+c;await this[B(0x90)][B(0x85)](c,f,p);const q=''+l+b['dir']+'/'+d+'/'+d;await this[B(0x90)][B(0x85)](d,f,q);const {layouts:r}=k;for(const s of r){const t=this['fsi'][B(0x9a)](a109e[B(0xa8)](i,s),{'extensions':['jsx',B(0x78)],'omit':[B(0x82),B(0x9d),B(0x7e)]});for(const u of t){const v=a109e[B(0xa8)](i,s,u);await this['fsi'][B(0xa0)]({'filePath':v,'importName':pascalCase(c),'modulePath':g?B(0xb0):B(0x89),'isNamedExport':!![]}),await this['fsi'][B(0x72)]({'filePath':v,'content':'<'+pascalCase(c)+B(0x80),'begin':[B(0x96)+s+B(0xa9),B(0x96)+s+B(0x91)],'end':[B(0x74),B(0xb2),B(0x83),'{\x20props.children\x20}']}),await this[B(0x90)][B(0xa0)]({'filePath':v,'importName':pascalCase(d),'modulePath':g?B(0xb0):'/imports/startup/client/templates','isNamedExport':!![]}),await this['fsi'][B(0x72)]({'filePath':v,'content':'<'+pascalCase(d)+'\x20/>\x0a','begin':['<div\x20id=\x22'+s+'-component\x22>','<div\x20id=\x22'+s+B(0x91)],'end':['{this.props.children}',B(0xb2),B(0x83),B(0x75)]});}}}catch(w){Log[B(0x76)](w);}},a109f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a110h=a110d;(function(a,b){const f=a110d,c=a();while(!![]){try{const d=parseInt(f(0xf7))/0x1*(parseInt(f(0xf6))/0x2)+parseInt(f(0xf2))/0x3*(-parseInt(f(0xec))/0x4)+parseInt(f(0xeb))/0x5+-parseInt(f(0xf3))/0x6+parseInt(f(0xed))/0x7*(-parseInt(f(0xee))/0x8)+parseInt(f(0xf8))/0x9+parseInt(f(0xf5))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a110c,0xc2768));function a110d(a,b){const c=a110c();return a110d=function(d,e){d=d-0xea;let f=c[d];return f;},a110d(a,b);}const a110b=(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;};}()),a110a=a110b(this,function(){const g=a110d;return a110a['toString']()[g(0xf4)](g(0xf1))['toString']()['constructor'](a110a)[g(0xf4)](g(0xf1));});a110a();import{Generator}from'../../../generator.js';function a110c(){const j=['95355glPSGY','7878906DAYQTk','Material-UI\x20Kit','4782550AbLEfM','9932SRMrvK','28Zruixz','2363728eCQkNf','mui','NIE','(((.+)+)+)+$','423YaoESe','7117962GmRzNK','search','6339650wKYnFG','22GlETvb'];a110c=function(){return j;};return a110c();}import a110e from'../kit.js';const MuiGen=Generator['create']({'name':a110h(0xef),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','noNeedResource':!![],'shortDesc':a110h(0xea),'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:m']},async function(){const i=a110h;throw i(0xf0);},a110e);export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a113o=a113d;(function(a,b){const l=a113d,c=a();while(!![]){try{const d=-parseInt(l(0xe9))/0x1*(-parseInt(l(0xe5))/0x2)+parseInt(l(0xe4))/0x3+-parseInt(l(0xfd))/0x4*(parseInt(l(0xd2))/0x5)+-parseInt(l(0xd9))/0x6+-parseInt(l(0xf1))/0x7+parseInt(l(0x104))/0x8*(-parseInt(l(0xfb))/0x9)+-parseInt(l(0x102))/0xa*(-parseInt(l(0xf9))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a113c,0x6004f));const a113b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a113d;if(c){const e=c[m(0xf6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a113a=a113b(this,function(){const n=a113d;return a113a['toString']()[n(0xcc)](n(0xff))[n(0xd4)]()['constructor'](a113a)[n(0xcc)]('(((.+)+)+)+$');});a113a();import a113e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';function a113c(){const r=['css','13810IxpgCC','template','16RXcbvm','ramda','search','features','pathFromApp','withHooks','create','maka\x20g:layout\x20mobile/iPhone8','10PKdKkG','.css','toString','import\x20\x27./','component/component.js','theme','checkNpmPackage','1774830FyBFkU','template/template.css','withValue','installNpmPackage','engines','react','test','fsi','/imports/ui/layouts','Scaffolding\x20for\x20a\x20React\x20Layout.','none','2239659AzbSMP','332UwOlgc','ssr','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','split','2837hOrpYy','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','dir','.js','api','withTranslations','true','assign','1307495xktuqd','fileName','layout','resourceName','string','apply','test/test.js','setTemplate','1122gHfjeP','warn','1205703LvmIcu','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','429076vWlnhX','getMakaProjectConfig','(((.+)+)+)+$','pathFromProject'];a113c=function(){return r;};return a113c();}function a113d(a,b){const c=a113c();return a113d=function(d,e){d=d-0xcb;let f=c[d];return f;},a113d(a,b);}const aliases=['l'];Generator[a113o(0xd0)]({'name':a113o(0xf3),'aliases':aliases,'usage':a113o(0xea),'shortDesc':a113o(0xe2),'validOpts':[],'examples':[a113o(0xd1),'maka\x20g:l\x20web/safari']},async function(a,b){const p=a113o,c=p(0xe1),d=this[p(0xe0)]['findAppDirectory'](),e=this[p(0xe0)][p(0xce)]({'pathParts':[c,b['dir'],paramCase(b[p(0xf4)]),paramCase(b[p(0xf4)])]}),f=this[p(0xe0)][p(0xfe)]();await this['fsi'][p(0xdb)](f,async()=>{const q=p;typeof f[q(0x103)][q(0xdf)]===q(0xf5)&&(f[q(0x103)][q(0xdf)]=f[q(0x103)][q(0xdf)]===q(0xef)?!![]:![],this[q(0xe0)][q(0xf8)](q(0xdf),f['template'][q(0xdf)]));typeof f[q(0x103)][q(0x101)]===q(0xf5)&&(f[q(0x103)]['css']=f['template'][q(0x101)]===q(0xef)?!![]:![],this[q(0xe0)][q(0xf8)](q(0x101),f[q(0x103)][q(0x101)]));typeof f[q(0x103)]['js']===q(0xf5)&&(f[q(0x103)]['js']=f[q(0x103)]['js']==='true'?!![]:![],this['fsi'][q(0xf8)]('js',f[q(0x103)]['js']));!f['features']&&(f[q(0xcd)]={});const g=b['_']?b['_'][0x0][q(0xe8)](':')[0x1]:![],h=b['_']&&aliases['includes'](g);h&&!this[q(0xd8)](q(0xcb))&&(Log[q(0xfa)](q(0xe7)),this['fsi'][q(0xdc)](q(0xcb),{'cwd':d}));if(h&&!this[q(0xd8)](q(0xde))){Log['warn'](q(0xfc));return;}const i={'name':pascalCase(b[q(0xf4)]),'myPath':a113e['relative'](this['fsi'][q(0x100)]({}),e),'cssCaseName':paramCase(b[q(0xf4)]),'className':pascalCase(b[q(0xf4)]),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b[q(0xf4)]),'graphql':f[q(0xdd)]['graphql'],'features':f[q(0xcd)],'client':f[q(0xdd)]['client'],'api':f['engines'][q(0xed)],'ssr':f[q(0xdd)][q(0xe6)],'test':f[q(0xdd)][q(0xdf)],'theme':f[q(0xdd)][q(0xd7)],'isComponent':![],'isLayout':!![],'withTranslations':f[q(0xcd)][q(0xee)]};f[q(0xcd)]?.[q(0xcf)]||b['withHook']?await this[q(0xe0)][q(0x103)]({'srcPath':'hook/hook.js','destPath':e+q(0xec),'framework':q(0xde),'context':i,'config':f}):await this[q(0xe0)][q(0x103)]({'srcPath':q(0xd6),'destPath':e+q(0xec),'framework':q(0xde),'context':i,'config':f});f[q(0xdd)][q(0xdf)]!==q(0xe3)&&await this[q(0xe0)]['template']({'srcPath':q(0xf7),'destPath':e+'.app-tests.js','framework':q(0xde),'context':i,'config':f});f['template'][q(0x101)]&&(await this[q(0xe0)][q(0x103)]({'srcPath':q(0xda),'destPath':e+q(0xd3),'context':Object[q(0xf0)]({},i,{'className':paramCase(b['resourceName'])}),'config':f}),await this[q(0xe0)]['injectAtBeginningOfFile']({'filePath':e+'.'+f['engines']['js'],'content':q(0xd5)+i[q(0xf2)]+'.'+f[q(0xdd)][q(0x101)]+'\x27;'}));const j=b[q(0xeb)]?'/'+b['dir']+'/':'/',k=''+c+j+i[q(0xf2)]+'/'+i[q(0xf2)];await this['fsi']['injectTemplateModule'](i['className'],f,k);});});
|