@maka/maka-cli 4.5.21 → 4.5.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/obf/package.json +1 -1
- package/bundle/obf/src/command.js +1 -1
- package/bundle/obf/src/commands/_index.js +1 -1
- package/bundle/obf/src/commands/aws/_index.js +1 -1
- package/bundle/obf/src/commands/aws/aws.command.js +1 -1
- package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/build/_index.js +1 -1
- package/bundle/obf/src/commands/build/build.js +1 -1
- package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/create.js +1 -1
- package/bundle/obf/src/commands/debug.js +1 -1
- package/bundle/obf/src/commands/deploy.js +1 -1
- package/bundle/obf/src/commands/game/_index.js +1 -1
- package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/play.command.js +1 -1
- package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/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 -0
- 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 -0
- package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -0
- 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 -0
- 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/jsdoc.js +1 -1
- package/bundle/obf/src/commands/lint.js +1 -1
- package/bundle/obf/src/commands/login.js +1 -1
- package/bundle/obf/src/commands/logout.js +1 -1
- package/bundle/obf/src/commands/logs.js +1 -1
- package/bundle/obf/src/commands/maka.cmd.js +1 -1
- package/bundle/obf/src/commands/murder.js +1 -1
- package/bundle/obf/src/commands/proxy.js +1 -1
- package/bundle/obf/src/commands/reconfig.js +1 -1
- package/bundle/obf/src/commands/run/_index.js +1 -1
- package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/run/run.command.js +1 -1
- package/bundle/obf/src/commands/set/_index.js +1 -1
- package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/set.command.js +1 -1
- package/bundle/obf/src/commands/ssh.js +1 -1
- package/bundle/obf/src/commands/ssl.js +1 -1
- package/bundle/obf/src/commands/test.js +1 -1
- package/bundle/obf/src/commands/version.js +1 -1
- package/bundle/obf/src/error.js +1 -1
- package/bundle/obf/src/exec.js +1 -1
- package/bundle/obf/src/generator.js +1 -1
- package/bundle/obf/src/generators/_index.js +1 -1
- package/bundle/obf/src/generators/api.js +1 -1
- package/bundle/obf/src/generators/collection.js +1 -1
- package/bundle/obf/src/generators/component.js +1 -1
- package/bundle/obf/src/generators/config.js +1 -1
- package/bundle/obf/src/generators/dbc.js +1 -1
- package/bundle/obf/src/generators/dockerfile.js +1 -1
- package/bundle/obf/src/generators/hook.js +1 -1
- package/bundle/obf/src/generators/kit.js +1 -1
- package/bundle/obf/src/generators/layout.js +1 -1
- package/bundle/obf/src/generators/maka.gen.js +1 -1
- package/bundle/obf/src/generators/methods.js +1 -1
- package/bundle/obf/src/generators/package.js +1 -1
- package/bundle/obf/src/generators/page.js +1 -1
- package/bundle/obf/src/generators/publish.js +1 -1
- package/bundle/obf/src/generators/route.js +1 -1
- package/bundle/obf/src/generators/service.js +1 -1
- package/bundle/obf/src/generators/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/translation.js +1 -1
- package/bundle/obf/src/maka.js +1 -1
- package/bundle/obf/src/tool.js +1 -1
- package/bundle/obf/src/tools/actions/actions.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
- package/bundle/obf/src/tools/docker/docker.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
- package/bundle/obf/src/tools/https/https.class.js +1 -1
- package/bundle/obf/src/tools/https/https.interface.js +1 -1
- package/bundle/obf/src/tools/log/log.class.js +1 -1
- package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
- package/bundle/obf/src/tools/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
|
-
|
|
1
|
+
const a96p=a96d;(function(a,b){const n=a96d,c=a();while(!![]){try{const d=-parseInt(n(0x1f0))/0x1+parseInt(n(0x1eb))/0x2+parseInt(n(0x1e1))/0x3+-parseInt(n(0x1e8))/0x4+parseInt(n(0x20a))/0x5+-parseInt(n(0x1f5))/0x6*(parseInt(n(0x20d))/0x7)+parseInt(n(0x1db))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a96c,0x73068));const a96b=(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;};}()),a96a=a96b(this,function(){const o=a96d;return a96a[o(0x1e4)]()[o(0x20e)]('(((.+)+)+)+$')[o(0x1e4)]()['constructor'](a96a)[o(0x20e)]('(((.+)+)+)+$');});a96a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a96c(){const s=['imports','Npm\x20package\x20\x22better-sqlite3\x22\x20not\x20installed,\x20installing...','injectAtEndOfFile',',\x20you\x20must\x20provide\x20a\x20valid\x20type\x20as\x20an\x20argument','options','error','installNpmPackage','dir','dbc','3658530VtfxCf','warn','maka\x20g:dbc\x20todos\x20--type=sqlite','49zhUiGB','search','pgsql','better-sqlite3','3329696gOlMFL','Npm\x20package\x20\x22pg\x22\x20not\x20installed,\x20installing...','sqlite','template','Npm\x20package\x20\x22mssql\x22\x20not\x20installed,\x20installing...','maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','1134594BzfCfe','(blank)','server','toString','indexOf','Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','dbc/config.js','2177308RLgFBx','MS\x20SQL','-dbc.','425210wjkJGQ','config.','list','mssql','dbc/register-dbc.js','205061vwBbqC','maka\x20g:dbc\x20azure\x20--type=mssql','type','checkNpmPackage','register-','444162jvnpsz','pathFromApp','startup','resourceName','index.','create','DB\x20Driver','maka\x20g:dbc\x20geoserver\x20--type=pgsql','Invalid\x20type\x20','fsi','engines','withValue'];a96c=function(){return s;};return a96c();}import{Actions}from'../tools/actions/actions.class.js';function a96d(a,b){const c=a96c();return a96d=function(d,e){d=d-0x1da;let f=c[d];return f;},a96d(a,b);}Generator[a96p(0x1fa)]({'name':a96p(0x209),'usage':a96p(0x1e0),'shortDesc':a96p(0x1e6),'validOpts':['type','dir'],'examples':[a96p(0x1fc),a96p(0x1f1),a96p(0x20c)]},async function(a,b){const q=a96p;try{const c=await this['fsi']['getProjectConfig'](),d=this[q(0x1fe)][q(0x1f6)]({}),f=paramCase(b['resourceName']);if(!b[q(0x1f2)]){const h={'type':q(0x1ed),'name':'dbAnswer','message':q(0x1fb),'choices':[{'name':'PostgreSQL','value':q(0x20f)},{'name':q(0x1e9),'value':q(0x1ee)}]},{dbAnswer:i}=await Actions[q(0x205)](h);i&&(b[q(0x1f2)]=i);}const g={'name':pascalCase(b[q(0x1f8)]),'fileName':paramCase(b['resourceName']),'camelCase':camelCase(b['resourceName']),'type':b[q(0x1f2)],'engine':c[q(0x1ff)]['js'],'noRename':!![]};this[q(0x1fe)][q(0x200)](c,async()=>{const r=q;let j='js';c[r(0x1ff)]['js']==='tsx'&&(j='ts');const k=[r(0x1ee),'pgsql'];if(k[r(0x1e5)](g[r(0x1f2)])<0x0){const m=g[r(0x1f2)]?g[r(0x1f2)]:r(0x1e2);Log['error'](r(0x1fd)+m+r(0x204));return;}b[r(0x1f2)]==='pgsql'&&!this[r(0x1fe)][r(0x1f3)]('pg')&&(Log['warn'](r(0x1dc)),await this[r(0x1fe)][r(0x207)]('pg',{'cwd':d}));b['type']==='mssql'&&!this[r(0x1fe)][r(0x1f3)](r(0x1ee))&&(Log[r(0x20b)](r(0x1df)),await this[r(0x1fe)][r(0x207)](r(0x1ee),{'cwd':d}));b[r(0x1f2)]===r(0x1dd)&&!this['fsi'][r(0x1f3)](r(0x1da))&&(Log[r(0x20b)](r(0x202)),await this['fsi']['installNpmPackage'](r(0x1da),{'cwd':d}));this[r(0x1fe)][r(0x1de)]({'srcPath':r(0x1e7),'destPath':this['fsi'][r(0x1f6)]({'pathParts':[r(0x201),r(0x1f7),r(0x1e3),r(0x209),b[r(0x208)],f,r(0x1ec)+j]}),'context':g,'config':c}),this[r(0x1fe)]['template']({'srcPath':'dbc/conn.js','destPath':this[r(0x1fe)][r(0x1f6)]({'pathParts':[r(0x201),r(0x1f7),r(0x1e3),r(0x209),b[r(0x208)],f,'conn.'+j]}),'context':g,'config':c}),this[r(0x1fe)][r(0x1de)]({'srcPath':r(0x1ef),'destPath':this[r(0x1fe)][r(0x1f6)]({'pathParts':[r(0x201),r(0x1f7),r(0x1e3),r(0x1f4)+f+r(0x1ea)+j]}),'context':g,'config':c});const l=this[r(0x1fe)][r(0x1f6)]({'pathParts':[r(0x201),r(0x1f7),r(0x1e3),r(0x1f9)+c[r(0x1ff)]['js']]});this[r(0x1fe)][r(0x203)]({'filePath':l,'content':'import\x20\x27./register-'+f+'-dbc\x27;'});});}catch(j){Log[q(0x206)](j);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a97i=a97d;(function(a,b){const f=a97d,c=a();while(!![]){try{const d=parseInt(f(0x1c8))/0x1*(parseInt(f(0x1d8))/0x2)+parseInt(f(0x1ce))/0x3*(parseInt(f(0x1de))/0x4)+-parseInt(f(0x1d4))/0x5+-parseInt(f(0x1db))/0x6+-parseInt(f(0x1dd))/0x7*(-parseInt(f(0x1dc))/0x8)+-parseInt(f(0x1c2))/0x9+-parseInt(f(0x1c0))/0xa*(-parseInt(f(0x1d5))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a97c,0x2255d));const a97b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a97d;if(c){const e=c[g(0x1c9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a97a=a97b(this,function(){const h=a97d;return a97a[h(0x1d2)]()[h(0x1d1)](h(0x1c1))[h(0x1d2)]()[h(0x1c4)](a97a)['search'](h(0x1c1));});function a97d(a,b){const c=a97c();return a97d=function(d,e){d=d-0x1c0;let f=c[d];return f;},a97d(a,b);}a97a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a97e from'path';function a97c(){const l=['921852rxuFgt','504qWcPRQ','3199RfJzYw','378572jUpuXf','withValue','maka\x20g:dockerfile','appName','810rRelwv','(((.+)+)+)+$','2527317lswwdm','app.tar.gz','constructor','fsi','service','error','2RSbhde','apply','dockerfile','template','getGlobalConfig','build','6idRHTJ','Generate\x20an\x20updated\x20dockerfile','getProjectConfig','search','toString','maka\x20{generate,\x20g}:dockerfile','722490SXBdfF','52217LMSjFC','join','findProjectDirectory','117006AxMbbZ','app','create'];a97c=function(){return l;};return a97c();}Generator[a97i(0x1da)]({'name':a97i(0x1ca),'usage':a97i(0x1d3),'shortDesc':a97i(0x1cf),'validOpts':[],'noResource':!![],'examples':[a97i(0x1e0)]},async function(){const j=a97i;try{const a=await this[j(0x1c5)][j(0x1d0)](),b=await this[j(0x1c5)][j(0x1cc)](),c=this[j(0x1c5)][j(0x1d7)]();this['fsi'][j(0x1df)](a,async()=>{const k=j,d={'app':b[k(0x1e1)],'config':a,'appPath':a97e[k(0x1d6)](c,k(0x1d9)),'bundlePath':a97e['join'](c,k(0x1cd),k(0x1c3)),'useCert':this[k(0x1c5)]['isFile'](b['cert'])};this[k(0x1c5)][k(0x1cb)]({'srcPath':'docker/Dockerfile','destPath':a97e['join'](c,'Dockerfile'),'framework':k(0x1c6),'context':d,'config':a});});}catch(d){Log[j(0x1c7)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a98q=a98d;function a98c(){const t=['.js','\x20}\x20from\x20\x27','apollo','fsi','css','183192JYmRNr','injectAtBeginningOfFile','.app-tests.js','pathFromApp','constructor','\x20};\x0a','import\x20\x27./','react','import\x20{\x20','none','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','rewriteDestinationPathForEngine','injectAtEndOfFile','import\x20\x27','create','2442ikoaMK','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','features','withTranslations','error','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','3599037XjzJHw','true','fileName','18SIbOaO','7099ihBZBK','template/template.css','cssCaseName','engines','setTemplate','graphql','3285247bLAqaJ','resourceName','16pzevVO','imports','(((.+)+)+)+$','relative','templates.js','6739480pZmKDu','ssr','\x27;\x0a','236dXjwfp','maka\x20g:hook\x20cool-hook','theme','pathFromProject','/imports/ui/hooks','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','70715ZotrUS','dir','148704WxsGAx','client','export\x20{\x20','template','assign','test','toString','326sutyNc','className','search','test/test.js'];a98c=function(){return t;};return a98c();}function a98d(a,b){const c=a98c();return a98d=function(d,e){d=d-0x9e;let f=c[d];return f;},a98d(a,b);}(function(a,b){const o=a98d,c=a();while(!![]){try{const d=parseInt(o(0xb3))/0x1*(parseInt(o(0xd2))/0x2)+-parseInt(o(0xcb))/0x3+-parseInt(o(0xc3))/0x4*(parseInt(o(0xc9))/0x5)+-parseInt(o(0xb2))/0x6*(parseInt(o(0xb9))/0x7)+-parseInt(o(0xbb))/0x8*(parseInt(o(0xaf))/0x9)+-parseInt(o(0xc0))/0xa+-parseInt(o(0xa9))/0xb*(-parseInt(o(0xdb))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a98c,0xbe8c7));const a98b=(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;};}()),a98a=a98b(this,function(){const p=a98d;return a98a[p(0xd1)]()['search']('(((.+)+)+)+$')[p(0xd1)]()[p(0x9e)](a98a)[p(0xd4)](p(0xbd));});a98a();import a98e from'path';import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Generator[a98q(0xa8)]({'name':'hook','aliases':['h'],'checkWhere':![],'usage':a98q(0xc8),'shortDesc':a98q(0xaa),'validOpts':[a98q(0xca)],'examples':[a98q(0xc4)]},async function(a,b){const r=a98q;try{const c=this[r(0xd9)]['checkNpmPackage'](r(0xa1));if(!c){Log[r(0xad)](r(0xae));throw new UsageError();}const d=this['fsi']['pathFromApp'](b),f=r(0xc7),g=this[r(0xd9)][r(0xde)]({'pathParts':[f,b[r(0xca)],paramCase(b[r(0xba)]),paramCase(b[r(0xba)])]}),h=await this[r(0xd9)]['getProjectConfig']();this['fsi']['withValue'](h,async()=>{const s=r;typeof h['template'][s(0xda)]==='string'&&(h[s(0xce)]['css']=h['template'][s(0xda)]==='true'?!![]:![],this['fsi'][s(0xb7)](s(0xda),h[s(0xce)]['css']));h[s(0xb6)][s(0xb8)]===s(0xd8)&&!this['checkNpmPackage']('@apollo/client')&&(Log['warn'](s(0xa4)),await this[s(0xd9)]['installNpmPackage']('@apollo/client\x20isomorphic-fetch',{'cwd':d}));const i={'cssCaseName':paramCase(b[s(0xba)]),'className':pascalCase(b[s(0xba)]),'name':pascalCase(b[s(0xba)]),'graphql':h[s(0xb6)][s(0xb8)],'theme':h[s(0xb6)][s(0xc5)],'features':h[s(0xab)],'myPath':a98e[s(0xbe)](this['fsi'][s(0xc6)]({}),g),'fileName':paramCase(b[s(0xba)]),'isComponent':![],'isLayout':![],'withTranslations':h[s(0xab)][s(0xac)]};this[s(0xd9)][s(0xce)]({'srcPath':'hook/hook.js','destPath':g+s(0xd6),'context':i,'config':h,'framework':s(0xa1)});h['template'][s(0xda)]&&(this[s(0xd9)]['template']({'srcPath':s(0xb4),'destPath':g+'.css','context':Object[s(0xcf)]({},i,{'className':i[s(0xb5)]}),'config':h}),this['fsi'][s(0xdc)]({'filePath':g+'.'+h[s(0xb6)]['js'],'content':s(0xa0)+i['fileName']+'.'+h['engines'][s(0xda)]+'\x27;'}));h[s(0xb6)][s(0xd0)]!==s(0xa3)&&this[s(0xd9)][s(0xce)]({'srcPath':s(0xd5),'destPath':g+s(0xdd),'framework':s(0xa1),'context':i,'config':h});const j=b[s(0xca)]?'/'+b[s(0xca)]+'/':'/',k=''+f+j+i[s(0xb1)]+'/'+i[s(0xb1)];let l;if(h[s(0xb6)][s(0xc1)]===s(0xb0)){const m=this[s(0xd9)][s(0xde)]({'pathParts':[s(0xbc),'startup','lib','templates.js']});l=this['fsi'][s(0xa5)]({'pathParts':[m],'config':h});}else{const n=this[s(0xd9)][s(0xde)]({'pathParts':['imports','startup',s(0xcc),s(0xbf)]});l=this[s(0xd9)][s(0xa5)]({'pathParts':[n],'config':h});}h['engines'][s(0xcc)]===s(0xa1)?(h[s(0xb6)]['js']==='tsx'?this[s(0xd9)][s(0xdc)]({'filePath':l,'content':s(0xa2)+i['className']+'\x20}\x20from\x20\x27'+k+s(0xc2)}):this[s(0xd9)][s(0xdc)]({'filePath':l,'content':s(0xa2)+i[s(0xd3)]+s(0xd7)+k+'.'+h[s(0xb6)]['js']+s(0xc2)}),this[s(0xd9)][s(0xa6)]({'filePath':l,'content':s(0xcd)+i['className']+s(0x9f)})):this['fsi'][s(0xa6)]({'filePath':l,'content':s(0xa7)+k+'.'+h[s(0xb6)]['js']+'\x27;\x0a'});});}catch(i){Log[r(0xad)](i);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a99d(a,b){const c=a99c();return a99d=function(d,e){d=d-0x11a;let f=c[d];return f;},a99d(a,b);}const a99j=a99d;(function(a,b){const h=a99d,c=a();while(!![]){try{const d=parseInt(h(0x11e))/0x1+-parseInt(h(0x13a))/0x2+-parseInt(h(0x120))/0x3+parseInt(h(0x12c))/0x4*(parseInt(h(0x12b))/0x5)+parseInt(h(0x124))/0x6*(-parseInt(h(0x121))/0x7)+-parseInt(h(0x132))/0x8*(-parseInt(h(0x123))/0x9)+-parseInt(h(0x136))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a99c,0xcf788));const a99b=(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;};}()),a99a=a99b(this,function(){const i=a99d;return a99a[i(0x125)]()['search'](i(0x11f))[i(0x125)]()['constructor'](a99a)['search'](i(0x11f));});function a99c(){const m=['444SAAHss','(Placeholder)\x20Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.',',\x20you\x20must\x20provide\x20a\x20valid\x20type\x20as\x20an\x20argument','indexOf','(blank)','leaflet-map','16JTyozb','maka\x20g:kit\x20--type=map','map','getProjectConfig','1945640zouGjZ','type','error','NIE','1531572FYkeeV','maka\x20{generate,\x20g}:{kit}\x20<kit-name>','create','fsi','login','1178852zQlwoi','(((.+)+)+)+$','3313683iUtUEE','1057CEBpDj','kit','6364206pkrjWI','20376hhoPBR','toString','resourceName','engines','withValue','notice','maka\x20g:k\x20city-map\x20--type=leaflet-map','37585lggOuN'];a99c=function(){return m;};return a99c();}a99a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a99j(0x11b)]({'name':a99j(0x122),'aliases':['k'],'usage':a99j(0x11a),'shortDesc':a99j(0x12d),'validOpts':[a99j(0x137)],'examples':[a99j(0x133),a99j(0x12a)]},async function(a,b){const k=a99j;try{const c=this['fsi'][k(0x135)]();this[k(0x11c)][k(0x128)](c,async()=>{const l=k,d={'name':pascalCase(b['resourceName']),'fileName':paramCase(b['resourceName']),'camelCase':camelCase(b[l(0x126)]),'type':b[l(0x137)],'engine':c[l(0x127)]['js'],'noRename':!![]},f=[l(0x131),l(0x11d)];if(f[l(0x12f)](d[l(0x137)])<0x0){const g=d[l(0x137)]?d['type']:l(0x130);Log[l(0x138)]('Invalid\x20type\x20'+g+l(0x12e));return;}b['type']===l(0x134)&&Log[l(0x129)]('NIE'),b[l(0x137)]===l(0x11d)&&Log[l(0x129)](l(0x139));});}catch(d){Log['error'](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a100c(){const u=['true','warn','getProjectConfig','setTemplate','templates.js','react','toString','tsx','dir','theme','export\x20{\x20','injectAtEndOfFile','template/template.css','checkNpmPackage','className','withValue','/imports/ui/layouts','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','144104djEnLr','apply','constructor','imports','.js','37495320IXwIwT','includes','fsi','split','ssr','import\x20\x27./','12161394pVWbTf','engines','test','assign','relative','maka\x20g:l\x20web/safari','4308441ggLJdX','client','template','23KSUoCq','\x27;\x0a','.css','layout','8FwkIoD','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','resourceName','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','5jGZeJv','(((.+)+)+)+$','withHooks','test/test.js','import\x20\x27','search','withHook','2731052uztzLe','rewriteDestinationPathForEngine','injectAtBeginningOfFile','ramda','css','7862304LHEzoX','maka\x20g:layout\x20mobile/iPhone8','.app-tests.js','installNpmPackage','12084856rOkcsS','withTranslations','api','fileName','pathFromApp','startup','create','lib','features','findAppDirectory','graphql','string'];a100c=function(){return u;};return a100c();}const a100r=a100d;(function(a,b){const o=a100d,c=a();while(!![]){try{const d=-parseInt(o(0x1f0))/0x1*(-parseInt(o(0x226))/0x2)+parseInt(o(0x1ed))/0x3+parseInt(o(0x1ff))/0x4*(parseInt(o(0x1f8))/0x5)+parseInt(o(0x204))/0x6+parseInt(o(0x208))/0x7*(-parseInt(o(0x1f4))/0x8)+parseInt(o(0x1e7))/0x9+-parseInt(o(0x1e1))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a100c,0xead18));const a100b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a100d;if(c){const e=c[p(0x227)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a100a=a100b(this,function(){const q=a100d;return a100a['toString']()[q(0x1fd)](q(0x1f9))[q(0x21a)]()[q(0x228)](a100a)[q(0x1fd)](q(0x1f9));});a100a();import a100e from'path';import{Generator}from'../generator.js';function a100d(a,b){const c=a100c();return a100d=function(d,e){d=d-0x1e1;let f=c[d];return f;},a100d(a,b);}import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator[a100r(0x20e)]({'name':a100r(0x1f3),'aliases':aliases,'usage':a100r(0x1f5),'shortDesc':'Scaffolding\x20for\x20a\x20React\x20Layout.','validOpts':[],'examples':[a100r(0x205),a100r(0x1ec)]},function(a,b){const s=a100r,c=s(0x224),d=this[s(0x1e3)][s(0x211)](),e=this[s(0x1e3)][s(0x20c)]({'pathParts':[c,b[s(0x21c)],paramCase(b[s(0x1f6)]),paramCase(b[s(0x1f6)])]}),f=this[s(0x1e3)][s(0x216)]();this[s(0x1e3)][s(0x223)](f,()=>{const t=s;typeof f['template'][t(0x1e9)]===t(0x213)&&(f['template'][t(0x1e9)]=f[t(0x1ef)]['test']===t(0x214)?!![]:![],this['fsi'][t(0x217)](t(0x1e9),f[t(0x1ef)][t(0x1e9)]));typeof f[t(0x1ef)][t(0x203)]===t(0x213)&&(f[t(0x1ef)][t(0x203)]=f[t(0x1ef)]['css']===t(0x214)?!![]:![],this[t(0x1e3)][t(0x217)](t(0x203),f[t(0x1ef)][t(0x203)]));typeof f['template']['js']==='string'&&(f[t(0x1ef)]['js']=f['template']['js']===t(0x214)?!![]:![],this[t(0x1e3)]['setTemplate']('js',f[t(0x1ef)]['js']));!f[t(0x210)]&&(f[t(0x210)]={});const g=b['_']?b['_'][0x0][t(0x1e4)](':')[0x1]:![],h=b['_']&&aliases[t(0x1e2)](g);h&&!this[t(0x221)](t(0x202))&&(Log['warn'](t(0x225)),this[t(0x1e3)][t(0x207)]('ramda',{'cwd':d}));if(h&&!this[t(0x221)](t(0x219))){Log[t(0x215)](t(0x1f7));return;}const i={'name':pascalCase(b[t(0x1f6)]),'myPath':a100e[t(0x1eb)](this[t(0x1e3)]['pathFromProject']({}),e),'cssCaseName':paramCase(b[t(0x1f6)]),'className':pascalCase(b[t(0x1f6)]),'camelCaseName':camelCase(b[t(0x1f6)]),'fileName':paramCase(b['resourceName']),'graphql':f[t(0x1e8)][t(0x212)],'features':f['features'],'client':f['engines'][t(0x1ee)],'api':f[t(0x1e8)][t(0x20a)],'ssr':f[t(0x1e8)][t(0x1e5)],'test':f[t(0x1e8)][t(0x1e9)],'theme':f[t(0x1e8)][t(0x21d)],'isComponent':![],'isLayout':!![],'withTranslations':f[t(0x210)][t(0x209)]};f[t(0x210)]?.[t(0x1fa)]||b[t(0x1fe)]?this[t(0x1e3)][t(0x1ef)]({'srcPath':'hook/hook.js','destPath':e+t(0x22a),'framework':t(0x219),'context':i,'config':f}):this[t(0x1e3)][t(0x1ef)]({'srcPath':'component/component.js','destPath':e+'.js','framework':t(0x219),'context':i,'config':f});f[t(0x1e8)][t(0x1e9)]!=='none'&&this['fsi'][t(0x1ef)]({'srcPath':t(0x1fb),'destPath':e+t(0x206),'framework':'react','context':i,'config':f});f['template']['css']&&(this['fsi'][t(0x1ef)]({'srcPath':t(0x220),'destPath':e+t(0x1f2),'context':Object[t(0x1ea)]({},i,{'className':paramCase(b['resourceName'])}),'config':f}),this[t(0x1e3)][t(0x201)]({'filePath':e+'.'+f[t(0x1e8)]['js'],'content':t(0x1e6)+i[t(0x20b)]+'.'+f[t(0x1e8)][t(0x203)]+'\x27;'}));const j=b['dir']?'/'+b[t(0x21c)]+'/':'/',k=''+c+j+i[t(0x20b)]+'/'+i['fileName'];let l;if(f[t(0x1e8)][t(0x1e5)]===t(0x214)){const m=this['fsi']['pathFromApp']({'pathParts':[t(0x229),'startup',t(0x20f),t(0x218)]});l=this['fsi'][t(0x200)]({'pathParts':[m],'config':f});}else{const n=this[t(0x1e3)][t(0x20c)]({'pathParts':[t(0x229),t(0x20d),t(0x1ee),t(0x218)]});l=this['fsi'][t(0x200)]({'pathParts':[n],'config':f});}f[t(0x1e8)][t(0x1ee)]===t(0x219)?(f[t(0x1e8)]['js']===t(0x21b)?this[t(0x1e3)][t(0x201)]({'filePath':l,'content':'import\x20{\x20'+i[t(0x222)]+'\x20}\x20from\x20\x27'+k+'\x27;\x0a'}):this[t(0x1e3)]['injectAtBeginningOfFile']({'filePath':l,'content':'import\x20{\x20'+i[t(0x222)]+'\x20}\x20from\x20\x27'+k+'.'+f[t(0x1e8)]['js']+t(0x1f1)}),this[t(0x1e3)][t(0x21f)]({'filePath':l,'content':t(0x21e)+i['className']+'\x20};\x0a'})):this['fsi'][t(0x21f)]({'filePath':l,'content':t(0x1fc)+k+'.'+f[t(0x1e8)]['js']+t(0x1f1)});});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a101d(a,b){const c=a101c();return a101d=function(d,e){d=d-0x104;let f=c[d];return f;},a101d(a,b);}const a101i=a101d;(function(a,b){const f=a101d,c=a();while(!![]){try{const d=parseInt(f(0x116))/0x1*(parseInt(f(0x10c))/0x2)+-parseInt(f(0x108))/0x3*(parseInt(f(0x10e))/0x4)+parseInt(f(0x106))/0x5+parseInt(f(0x105))/0x6+parseInt(f(0x109))/0x7+parseInt(f(0x112))/0x8+-parseInt(f(0x10d))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a101c,0x583fc));const a101b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a101d;if(c){const e=c[g(0x10a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a101a=a101b(this,function(){const h=a101d;return a101a[h(0x104)]()[h(0x107)](h(0x115))[h(0x104)]()[h(0x111)](a101a)['search']('(((.+)+)+)+$');});a101a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a101i(0x10b),'shortDesc':a101i(0x110),'validOpts':[],'description':a101i(0x113),'usage':a101i(0x10f),'examples':['maka\x20generate:api\x20Trucks',a101i(0x114)]},function(){return null;});export default MakaGen;function a101c(){const j=['search','11499YrvDQn','2782654IYyCQh','apply','maka','87776hclrSJ','7529517saWyMd','404schbMF','maka\x20<generate>:<entity>\x20[<args>]\x20[<opts>]','Maka!','constructor','4065896EQtOat','\x0a\x20\x20For\x20more\x20information\x20visit:\x0a\x20\x20\x20\x20https://www.maka-cli.com\x0a\x20\x20\x20\x20https://medium.com/@maka-io\x0a\x20\x20\x20\x20https://gitter.im/meteor/meteor\x20(@maka-io)\x0a\x20\x20','maka\x20g:hook\x20cool-hook','(((.+)+)+)+$','13fXUglC','toString','338616anJhaU','262375HzjFya'];a101c=function(){return j;};return a101c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a102n=a102d;function a102d(a,b){const c=a102c();return a102d=function(d,e){d=d-0xb4;let f=c[d];return f;},a102d(a,b);}(function(a,b){const k=a102d,c=a();while(!![]){try{const d=-parseInt(k(0xc6))/0x1*(parseInt(k(0xb9))/0x2)+parseInt(k(0xc8))/0x3+parseInt(k(0xbb))/0x4+-parseInt(k(0xd5))/0x5+parseInt(k(0xc1))/0x6*(-parseInt(k(0xcd))/0x7)+-parseInt(k(0xc3))/0x8+parseInt(k(0xca))/0x9*(parseInt(k(0xd1))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a102c,0xc4349));const a102b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a102d;if(c){const e=c[l(0xd6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a102a=a102b(this,function(){const m=a102d;return a102a[m(0xbc)]()[m(0xda)](m(0xd7))[m(0xbc)]()['constructor'](a102a)[m(0xda)](m(0xd7));});a102a();function a102c(){const q=['engines','warn','imports','startup','548726zlNWtH','error','1072068eYuqYl','toString','methods','maka\x20g:method\x20todos','fsi','ddp-rate-limiter','18sOQMaT','-rpc-method.','11225632BgWJaD','tsx','dir','1YhXWIM','method','36558yWDZLK','create','171009tvvToq','resourceName','-rpc-method\x27;','3664283NGXVoj','appPathPrefix','checkMeteorPackage','pathFromApp','2470MBPTve','check','template','mdg:validated-method','4609095dZZtFk','apply','(((.+)+)+)+$','check\x20ddp-rate-limiter\x20mdg:validated-method','method/method.js','search','index.'];a102c=function(){return q;};return a102c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a102n(0xc9)]({'name':a102n(0xc7),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{method,\x20m}\x20name','checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','validOpts':['dir'],'examples':[a102n(0xbe)]},function(a,b){const o=a102n;try{const c=this[o(0xbf)]['getProjectConfig']();this[o(0xbf)]['withValue'](c,async()=>{const p=o,d=paramCase(b['resourceName']),f={'name':b['resourceName'],'fileName':d,'className':pascalCase(b[p(0xcb)]),'camelCase':camelCase(b[p(0xcb)]),'noRename':!![]};let g='js';c[p(0xb5)]['js']===p(0xc4)&&(g='ts');const h=this[p(0xbf)][p(0xd0)]({});(!this['fsi'][p(0xcf)](p(0xd2))||!this[p(0xbf)]['checkMeteorPackage'](p(0xc0))||!this[p(0xbf)][p(0xcf)](p(0xd4)))&&(Log[p(0xb6)]('Meteor\x20package\x20\x22check\x22\x20or\x20\x22ddp-rate-limiter\x22\x20or\x20\x22mdg:validated-method\x22\x20is\x20not\x20installed,\x20installing...'),this['fsi']['installMeteorPackage'](p(0xd8),{'cwd':h}));this[p(0xbf)][p(0xd3)]({'srcPath':p(0xd9),'destPath':this[p(0xbf)][p(0xd0)]({'pathParts':[p(0xb7),p(0xb8),b[p(0xce)],p(0xbd),b[p(0xc5)],d+p(0xc2)+g]}),'context':f,'config':c});const i=b[p(0xc5)]?'/'+b['dir']+'/':'/',j=this[p(0xbf)]['pathFromApp']({'pathParts':[p(0xb7),p(0xb8),b[p(0xce)],p(0xb4)+c[p(0xb5)]['js']]});this[p(0xbf)]['injectAtEndOfFile']({'filePath':j,'content':'import\x20\x27./methods'+i+d+p(0xcc)});});}catch(d){Log[o(0xba)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a103c(){const s=['333nwlinj','2922630PqINcC','template','store','constructor','91saYvDd','template/template.js','package.js','graphql','package','fsi','getProjectConfig','package/package.js','toString','188408rBulUs','search','546844qzZSKl','8laIzMz','pathFromApp','layout','apply','relative','packages','theme','lib','pathFromProject','tests/server','tests/client','3zhXYIe','dir','noRename','pathFromAppWithNoReWrite','package/','4293515gFeSRR','.js','54078gmZuPB','1082667mLNjON','27470498umdpAy','(((.+)+)+)+$','maka\x20g:package\x20todos:package','hasOwnProperty','engines','client','resourceName'];a103c=function(){return s;};return a103c();}const a103o=a103d;(function(a,b){const l=a103d,c=a();while(!![]){try{const d=-parseInt(l(0x124))/0x1*(parseInt(l(0x118))/0x2)+parseInt(l(0x100))/0x3*(parseInt(l(0x119))/0x4)+-parseInt(l(0x129))/0x5+parseInt(l(0xff))/0x6*(parseInt(l(0x10d))/0x7)+parseInt(l(0x116))/0x8*(-parseInt(l(0x108))/0x9)+-parseInt(l(0x109))/0xa+parseInt(l(0x101))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a103c,0x7884e));function a103d(a,b){const c=a103c();return a103d=function(d,e){d=d-0xff;let f=c[d];return f;},a103d(a,b);}const a103b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a103d;if(c){const e=c[m(0x11c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a103a=a103b(this,function(){const n=a103d;return a103a[n(0x115)]()[n(0x117)](n(0x102))[n(0x115)]()[n(0x10c)](a103a)[n(0x117)](n(0x102));});a103a();import a103e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator['create']({'name':a103o(0x111),'aliases':['p'],'usage':'maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','validOpts':['dir'],'examples':[a103o(0x103)]},async function(a,b){const p=a103o,c=paramCase(b['resourceName']),d=this[p(0x112)][p(0x11a)]({'pathParts':[p(0x11e),b[p(0x125)],c]}),e=this[p(0x112)][p(0x127)]({'pathParts':[p(0x11e),b[p(0x125)],c,p(0x10f)]}),f=this[p(0x112)][p(0x113)]();this['fsi']['withValue'](f,async()=>{const q=p,g={'name':paramCase(b[q(0x107)]),'myPath':a103e[q(0x11d)](this[q(0x112)][q(0x121)]({}),d),'cssCaseName':paramCase(b[q(0x107)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[q(0x107)]),'fileName':c,'client':f['engines'][q(0x106)],'graphql':f['engines'][q(0x110)],'ssr':f['engines']['ssr'],'isComponent':b[q(0x104)]('component'),'isLayout':b['hasOwnProperty'](q(0x11b)),'isStore':b[q(0x104)](q(0x10b)),'features':f['features'],'noRename':!![],'theme':f[q(0x105)][q(0x11f)]};this[q(0x112)]['template']({'srcPath':q(0x114),'destPath':e,'context':g,'config':f}),g[q(0x126)]=![];const h=d+'/client/'+c+q(0x12a);this['fsi'][q(0x10a)]({'srcPath':q(0x10e),'destPath':h,'context':g,'config':f});const i=[q(0x120),'server',q(0x123),q(0x122)];i['forEach'](j=>{const r=q,k=d+'/'+j+'/'+c+r(0x12a);this[r(0x112)][r(0x10a)]({'srcPath':r(0x128)+j+'/package.js','destPath':k,'context':g,'config':f});});});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a104p=a104d;(function(a,b){const m=a104d,c=a();while(!![]){try{const d=-parseInt(m(0x1c3))/0x1*(-parseInt(m(0x1d9))/0x2)+-parseInt(m(0x1d3))/0x3*(-parseInt(m(0x1f2))/0x4)+parseInt(m(0x1f4))/0x5+-parseInt(m(0x1dd))/0x6*(parseInt(m(0x1c7))/0x7)+parseInt(m(0x1da))/0x8+parseInt(m(0x1eb))/0x9+-parseInt(m(0x208))/0xa*(parseInt(m(0x1cd))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a104c,0xb3272));function a104c(){const s=['resourceName','template/template.css','withHooks','12692043LCVjqg','setTemplate','search','rewriteDestinationPathForEngine','relative','dir','.app-tests.js','56uZZKvQ','engines','3614235MjesOw','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','.js','startup','withTranslations','pathFromApp','lib','theme','tsx','graphql','css','\x27;\x0a','react','string','none','pathFromProject','checkNpmPackage','assign','root','imports','290BOsVdY','\x20}\x20from\x20\x27','vanilla','injectAtBeginningOfFile','layout','.css','page','4NEyuuG','Generate\x20a\x20page.','warn','injectAtEndOfFile','287DnCmwd','features','test/test.js','component','apply','html','1273239OiFkfZ','import\x20\x27./','withHook','template','true','\x20};\x0a','241143smQYWq','hook/hook.js','import\x20\x27','(((.+)+)+)+$','toString','client','463598FuEVuk','5352024hCtAwh','.html','import\x20{\x20','111816FjaPrB','test','export\x20{\x20','fileName','templates.js','fsi','installNpmPackage','getProjectConfig','className','hasOwnProperty','ssr'];a104c=function(){return s;};return a104c();}const a104b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a104d;if(c){const e=c[n(0x1cb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a104a=a104b(this,function(){const o=a104d;return a104a['toString']()[o(0x1ed)](o(0x1d6))[o(0x1d7)]()['constructor'](a104a)[o(0x1ed)](o(0x1d6));});a104a();import a104e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];function a104d(a,b){const c=a104c();return a104d=function(d,e){d=d-0x1c2;let f=c[d];return f;},a104d(a,b);}Generator['create']({'name':a104p(0x1c2),'aliases':aliases,'usage':a104p(0x1f5),'shortDesc':a104p(0x1c4),'validOpts':[a104p(0x1f0),a104p(0x1cf)],'examples':['maka\x20g:page\x20todos/todos-item']},function(a,b){const q=a104p,c='/imports/ui/pages',d=this[q(0x1e2)]['pathFromApp'](b),e=this[q(0x1e2)][q(0x1f9)]({'pathParts':[c,b[q(0x1f0)],paramCase(b[q(0x1e8)]),paramCase(b[q(0x1e8)])]}),f=this[q(0x1e2)][q(0x1e4)]();this['fsi']['withValue'](f,()=>{const r=q;typeof f[r(0x1d0)][r(0x1cc)]===r(0x201)&&(f[r(0x1d0)]['html']=f[r(0x1d0)][r(0x1cc)]===r(0x1d1)?!![]:![],this['fsi'][r(0x1ec)](r(0x1cc),f[r(0x1d0)][r(0x1cc)]));typeof f[r(0x1d0)][r(0x1de)]===r(0x201)&&(f[r(0x1d0)]['test']=f['template'][r(0x1de)]===r(0x1d1)?!![]:![],this[r(0x1e2)][r(0x1ec)](r(0x1de),f[r(0x1d0)]['test']));typeof f[r(0x1d0)][r(0x1fe)]===r(0x201)&&(f[r(0x1d0)][r(0x1fe)]=f[r(0x1d0)]['css']===r(0x1d1)?!![]:![],this['fsi'][r(0x1ec)](r(0x1fe),f[r(0x1d0)]['css']));typeof f[r(0x1d0)]['js']===r(0x201)&&(f[r(0x1d0)]['js']=f['template']['js']===r(0x1d1)?!![]:![],this[r(0x1e2)][r(0x1ec)]('js',f[r(0x1d0)]['js']));!f[r(0x1c8)]&&(f[r(0x1c8)]={});!b[r(0x206)]&&!this['fsi'][r(0x204)]('ramda')&&(Log[r(0x1c5)]('Updating\x20npm\x20packages\x20...'),this[r(0x1e2)][r(0x1e3)]('ramda',{'cwd':d}));const g={'name':pascalCase(b[r(0x1e8)]),'myPath':a104e[r(0x1ef)](this[r(0x1e2)][r(0x203)]({}),e),'cssCaseName':paramCase(b[r(0x1e8)]),'className':pascalCase(b[r(0x1e8)]),'camelCaseName':camelCase(b[r(0x1e8)]),'fileName':paramCase(b[r(0x1e8)]),'graphql':f[r(0x1f3)][r(0x1fd)],'features':f[r(0x1c8)],'client':f['engines'][r(0x1d8)],'api':f[r(0x1f3)]['api'],'ssr':f[r(0x1f3)][r(0x1e7)],'isStore':b[r(0x1e6)]('store'),'isComponent':b[r(0x1e6)](r(0x1ca)),'isLayout':b[r(0x1e6)](r(0x20c)),'withTranslations':f[r(0x1c8)][r(0x1f8)],'test':f[r(0x1f3)][r(0x1de)],'theme':f[r(0x1f3)][r(0x1fb)]};f['template'][r(0x1cc)]&&this[r(0x1e2)][r(0x1d0)]({'srcPath':'template/template.html','destPath':e+r(0x1db),'context':g,'config':f});f['features']?.[r(0x1ea)]||b[r(0x1cf)]?this[r(0x1e2)][r(0x1d0)]({'srcPath':r(0x1d4),'destPath':e+'.js','framework':'react','context':g,'config':f}):this['fsi']['template']({'srcPath':'component/component.js','destPath':e+r(0x1f6),'framework':r(0x200),'context':g,'config':f});f[r(0x1f3)]['test']!==r(0x202)&&this[r(0x1e2)][r(0x1d0)]({'srcPath':r(0x1c9),'destPath':e+r(0x1f1),'framework':'react','context':g,'config':f});f['template']['css']&&this[r(0x1e2)]['template']({'srcPath':r(0x1e9),'destPath':e+r(0x20d),'context':Object[r(0x205)]({},g,{'className':paramCase(b[r(0x1e8)])}),'config':f});f[r(0x1f3)][r(0x1d8)]!==r(0x200)&&f[r(0x1f3)]['client']!==r(0x20a)?(f[r(0x1d0)][r(0x1fe)]&&this[r(0x1e2)][r(0x20b)]({'filePath':e+'.'+f['engines']['js'],'content':r(0x1ce)+g['fileName']+'.'+f[r(0x1f3)]['html']+r(0x1ff)+r(0x1ce)+g['fileName']+'.'+f[r(0x1f3)][r(0x1fe)]+'\x27;'}),!f[r(0x1d0)]['css']&&this['fsi'][r(0x20b)]({'filePath':e+'.'+f['engines']['js'],'content':r(0x1ce)+g[r(0x1e0)]+'.'+f['engines'][r(0x1cc)]+'\x27;'})):f[r(0x1d0)][r(0x1fe)]&&this[r(0x1e2)]['injectAtBeginningOfFile']({'filePath':e+'.'+f[r(0x1f3)]['js'],'content':r(0x1ce)+g[r(0x1e0)]+'.'+f[r(0x1f3)][r(0x1fe)]+'\x27;'});const h=b[r(0x1f0)]?'/'+b[r(0x1f0)]+'/':'/',i=''+c+h+g[r(0x1e0)]+'/'+g[r(0x1e0)];let j;if(f[r(0x1f3)][r(0x1e7)]==='true'){const k=this[r(0x1e2)][r(0x1f9)]({'pathParts':['imports',r(0x1f7),r(0x1fa),r(0x1e1)]});j=this[r(0x1e2)][r(0x1ee)]({'pathParts':[k],'config':f});}else{const l=this[r(0x1e2)][r(0x1f9)]({'pathParts':[r(0x207),r(0x1f7),'client',r(0x1e1)]});j=this[r(0x1e2)]['rewriteDestinationPathForEngine']({'pathParts':[l],'config':f});}f[r(0x1f3)]['client']===r(0x200)?(f[r(0x1f3)]['js']===r(0x1fc)?this[r(0x1e2)][r(0x20b)]({'filePath':j,'content':'import\x20{\x20'+g['className']+'\x20}\x20from\x20\x27'+i+r(0x1ff)}):this[r(0x1e2)][r(0x20b)]({'filePath':j,'content':r(0x1dc)+g[r(0x1e5)]+r(0x209)+i+'.'+f[r(0x1f3)]['js']+r(0x1ff)}),this[r(0x1e2)][r(0x1c6)]({'filePath':j,'content':r(0x1df)+g[r(0x1e5)]+r(0x1d2)})):this[r(0x1e2)][r(0x1c6)]({'filePath':j,'content':r(0x1d5)+i+'.'+f['engines']['js']+r(0x1ff)});});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a105k=a105d;function a105d(a,b){const c=a105c();return a105d=function(d,e){d=d-0x8a;let f=c[d];return f;},a105d(a,b);}(function(a,b){const h=a105d,c=a();while(!![]){try{const d=-parseInt(h(0x93))/0x1*(parseInt(h(0x9c))/0x2)+-parseInt(h(0x96))/0x3*(parseInt(h(0x9a))/0x4)+-parseInt(h(0xa3))/0x5+-parseInt(h(0xa0))/0x6*(parseInt(h(0x92))/0x7)+-parseInt(h(0x9f))/0x8+parseInt(h(0x94))/0x9+parseInt(h(0x99))/0xa*(parseInt(h(0x90))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a105c,0x8d79d));const a105b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a105d;if(c){const e=c[i(0x8a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a105a=a105b(this,function(){const j=a105d;return a105a['toString']()[j(0x91)](j(0x8f))['toString']()[j(0x8c)](a105a)['search'](j(0x8f));});a105a();import{paramCase}from'change-case';function a105c(){const n=['66700aXGEEI','686020FXQpUX','resourceName','40wRxEVu','server/publish.','maka\x20g:publish\x20todos','6713936aZuAAz','24wQIGlc','getProjectConfig','fsi','4163820CWxuwF','apply','rewriteDestinationPathForEngine','constructor','withValue','templateContent','(((.+)+)+)+$','6567cdWmId','search','1093687rmeSJt','57371bOIImy','1920510xfohnZ','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','3fpViBT','publish/publish.','engines'];a105c=function(){return n;};return a105c();}import{Generator}from'../generator.js';Generator['create']({'name':'publish','aliases':['p'],'usage':a105k(0x95),'shortDesc':'Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','validOpts':[],'examples':[a105k(0x9e)]},async function(a,b){const l=a105k,c=this[l(0xa2)][l(0xa1)]();this[l(0xa2)][l(0x8d)](c,async()=>{const m=l,d={'name':b[m(0x9b)],'collection':paramCase(b[m(0x9b)]),'noRename':!![]};let e='js';c[m(0x98)]['js']==='tsx'&&(e='ts');const f=this['fsi'][m(0x8b)]({'pathParts':[m(0x9d)+c[m(0x98)]['js']]}),g=this[m(0xa2)][m(0x8e)]({'srcPath':m(0x97)+e,'context':d,'config':c});this['fsi']['injectAtEndOfFile']({'filePath':f,'content':'\x0a'+g});});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a106y=a106d;function a106d(a,b){const c=a106c();return a106d=function(d,e){d=d-0x1b2;let f=c[d];return f;},a106d(a,b);}(function(a,b){const v=a106d,c=a();while(!![]){try{const d=parseInt(v(0x1e9))/0x1+parseInt(v(0x1d9))/0x2+parseInt(v(0x1cd))/0x3*(-parseInt(v(0x1d8))/0x4)+-parseInt(v(0x1d0))/0x5*(-parseInt(v(0x1de))/0x6)+parseInt(v(0x1da))/0x7+parseInt(v(0x1bf))/0x8+-parseInt(v(0x1e0))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a106c,0x4f659));const a106b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a106d;if(c){const e=c[w(0x1e8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a106a=a106b(this,function(){const x=a106d;return a106a[x(0x1c6)]()[x(0x1e2)](x(0x1f6))[x(0x1c6)]()[x(0x1c5)](a106a)['search'](x(0x1f6));});a106a();import a106e from'path';function a106c(){const G=['(((.+)+)+)+$','private','MasterLayout','map','\x0a\x09\x09','findGenerator','client','toLowerCase','routes.js','rewriteDestinationPathForEngine','join','cwd','</Router>','startup','137288fuQpkA','config','error','invoke','withTranslations','templateName','constructor','toString','indexOf','newForm','create','fsi','const\x20publicRoutes\x20=\x20(<>','<Route','14634MLllBj','ssr','maka\x20g:route\x20lists/listIndex\x20lists','1343560yqldvC','getProjectConfig','lib','vanilla','templateContent','PrivateLayout','injectAtEndOfFile','/imports/ui/pages','4VBWWpw','177678XqETZA','4156390UBxlRj','route/route.js','pathFromApp','length','6bOokFk','readFileLines','10443771FbajqW','Scaffolding\x20for\x20a\x20Route.','search','import\x20*\x20as\x20Component\x20from\x20\x27./templates\x27;','root','page','includes','layout','apply','522024HimChu','filter','url','features','only','const\x20privateRoutes\x20=\x20(<>','engines','maka\x20{generate,\x20g}:{route,\x20r}\x20[path/]<name>\x20[url]\x20[--private]','injectIntoFile','injectAfterLineNumber','maka\x20g:route\x20todosIndex\x20todos','imports','react'];a106c=function(){return G;};return a106c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a106f from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['r'];Generator[a106y(0x1c9)]({'name':'route','aliases':aliases,'validOpts':['private',a106y(0x1e7),a106y(0x1ed),a106y(0x1bc),a106y(0x1c0),a106y(0x1e4),'withHook',a106y(0x1eb)],'usage':a106y(0x1f0),'shortDesc':a106y(0x1e1),'examples':[a106y(0x1f3),'maka\x20g:route\x20todosEdit\x20todos/:id/edit','maka\x20g:route\x20usersShow\x20users/:id/show\x20--layout\x20userView',a106y(0x1cf)]},function(a,b){const z=a106y;try{const c=this['fsi'][z(0x1d1)]();this[z(0x1ca)]['withValue'](c,async()=>{const A=z,d=b[A(0x1b2)]??![];let f=paramCase(a[0x0]),g='/'+f;a[A(0x1dd)]>0x1&&(g='/'+a[A(0x1ea)](function(l){return l!=='/';})[A(0x1bb)]('/')[A(0x1b8)]());f=camelCase(f);b[A(0x1e7)]&&(b[A(0x1e7)]=camelCase(b[A(0x1e7)]));const h=a106e['join'](A(0x1d7),f,f),i={'name':f,'fileCase':paramCase(f),'camelCaseName':camelCase(f),'url':g,'layout':b[A(0x1e7)]||A(0x1b3),'templatePath':h,'templateName':pascalCase(f),'client':c['engines'][A(0x1b7)],'newForm':![],'withTranslations':c[A(0x1ec)][A(0x1c3)]};d&&(i[A(0x1e7)]=A(0x1d5));if(!b[A(0x1e4)]){const l=a106f[A(0x1b6)](A(0x1e5));l&&await l[A(0x1c2)](a,b);}let j,k;if(c[A(0x1ef)][A(0x1b7)]===A(0x1f5)){if(c['engines'][A(0x1ce)]==='true'){const p=this[A(0x1ca)][A(0x1dc)]({'pathParts':[A(0x1f4),A(0x1be),A(0x1d2),A(0x1b9)]});j=this[A(0x1ca)][A(0x1ba)]({'pathParts':[p],'config':c});}else{const q=this[A(0x1ca)][A(0x1dc)]({'pathParts':[A(0x1f4),A(0x1be),A(0x1b7),A(0x1b9)]});j=this['fsi'][A(0x1ba)]({'pathParts':[q],'config':c});}const m=this[A(0x1ca)][A(0x1df)](j)[A(0x1b4)]((r,s)=>{const B=A;return r[B(0x1e6)](B(0x1e3))?s+0x1:null;})[A(0x1ea)](r=>r!==null);let n=this[A(0x1ca)][A(0x1df)](j)['map']((r,s)=>{const C=A;return r[C(0x1e6)](C(0x1cb))?s+0x1:null;})['filter'](r=>r!==null),o=this[A(0x1ca)][A(0x1df)](j)['map']((r,s)=>{const D=A;return r[D(0x1e6)](D(0x1ee))?s+0x1:null;})[A(0x1ea)](r=>r!==null);n[A(0x1dd)]>0x0&&o['length']>0x0&&(i[A(0x1c8)]=!![]);k=this[A(0x1ca)][A(0x1d4)]({'srcPath':A(0x1db),'framework':'react','context':i,'config':c});if(n[A(0x1dd)]>0x0||o[A(0x1dd)]>0x0){this[A(0x1ca)][A(0x1f2)]({'filePath':j,'content':k,'lineNumber':m[0x0]});if(d&&o[A(0x1dd)]>0x0)o=this[A(0x1ca)]['readFileLines'](j)[A(0x1b4)]((r,s)=>{const E=A;return r[E(0x1e6)]('const\x20privateRoutes\x20=\x20(<>')?s+0x1:null;})[A(0x1ea)](r=>r!==null),this[A(0x1ca)][A(0x1f2)]({'filePath':j,'content':'\x09{'+i[A(0x1c4)]+'}','lineNumber':o[0x0]});else n[A(0x1dd)]>0x0?(n=this[A(0x1ca)][A(0x1df)](j)[A(0x1b4)]((r,s)=>{const F=A;return r['includes'](F(0x1cb))?s+0x1:null;})['filter'](r=>r!==null),this['fsi'][A(0x1f2)]({'filePath':j,'content':'\x09{'+i[A(0x1c4)]+'}','lineNumber':n[0x0]})):Log['warn']('Could\x20not\x20find\x20a\x20suitable\x20location\x20to\x20enable\x20this\x20route.\x20\x20Please\x20inspect\x20'+j);}else{const r=this[A(0x1ca)][A(0x1df)](j)['map'](u=>{return u['includes']('\x22*\x22');}),s=r[A(0x1c7)](!![])>-0x1,t=s?A(0x1cc):A(0x1bd);this[A(0x1ca)][A(0x1f1)]({'filePath':j,'content':'\x0a\x09\x09'+k+A(0x1b5),'begin':'<Router','end':t});}}else{if(c[A(0x1ef)]['client']===A(0x1d3)){const u=this[A(0x1ca)][A(0x1dc)]({'pathParts':[A(0x1f4),'startup',A(0x1b7),'routes.js']});j=this[A(0x1ca)][A(0x1ba)]({'pathParts':[u],'config':c}),k=this[A(0x1ca)][A(0x1d4)]({'srcPath':A(0x1db),'context':i}),this[A(0x1ca)][A(0x1d6)]({'filePath':j,'content':'\x0a'+k});}}});}catch(d){Log[z(0x1c1)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a107m=a107d;function a107c(){const p=['search','8585144IuYnwm','2HImVFB','getProjectConfig','lib','toString','resourceName','(((.+)+)+)+$','30288nPfIZx','tsx','36655EyWtND','template','620DdXjmq','1681833UboDqF','winston\x20setimmediate','withValue','2769900OwgXmy','create','constructor','startup','installNpmPackage','40cJJbTw','3860271QgGost','logger','613136iNBRzP','fsi','service','Installing\x20winston','apply'];a107c=function(){return p;};return a107c();}(function(a,b){const j=a107d,c=a();while(!![]){try{const d=parseInt(j(0x1bc))/0x1*(-parseInt(j(0x1b5))/0x2)+parseInt(j(0x1aa))/0x3+-parseInt(j(0x1a9))/0x4*(-parseInt(j(0x1a7))/0x5)+-parseInt(j(0x1a5))/0x6+parseInt(j(0x1ad))/0x7+parseInt(j(0x1bb))/0x8+parseInt(j(0x1b3))/0x9*(-parseInt(j(0x1b2))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a107c,0xcb19b));const a107b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a107d;if(c){const e=c[k(0x1b9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a107a=a107b(this,function(){const l=a107d;return a107a[l(0x1a2)]()[l(0x1ba)](l(0x1a4))[l(0x1a2)]()[l(0x1af)](a107a)[l(0x1ba)](l(0x1a4));});a107a();import{camelCase,paramCase,pascalCase}from'change-case';function a107d(a,b){const c=a107c();return a107d=function(d,e){d=d-0x1a1;let f=c[d];return f;},a107d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a107m(0x1ae)]({'name':a107m(0x1b7),'aliases':['svc'],'usage':'maka\x20{generate,\x20g}:{service}\x20[service-type]','shortDesc':'Generate\x20a\x20service\x20to\x20run\x20within\x20your\x20meteor\x20application.','validOpts':['type'],'validArgs':[a107m(0x1b4)],'maxArgLength':0x1,'minArgLength':0x1,'examples':['maka\x20g:svc\x20logger']},async function(a,b){const n=a107m;try{const c=this[n(0x1b6)][n(0x1bd)]();this[n(0x1b6)][n(0x1ac)](c,async()=>{const o=n,d=this[o(0x1b6)]['pathFromApp']({}),f=paramCase(b[o(0x1a3)]),g={'name':pascalCase(b[o(0x1a3)]),'fileName':f,'camelCase':camelCase(b['resourceName']),'type':a[0x0],'engine':c['engines']['js'],'noRename':!![]};let h='js';c['engines']['js']===o(0x1a6)&&(h='ts');if(a[0x0]==='logger'){!this[o(0x1b6)]['checkNpmPackage']('winston')&&await this[o(0x1b6)][o(0x1b1)](o(0x1ab),{'cwd':d,'msg':o(0x1b8)});const i=this[o(0x1b6)]['pathFromApp']({'pathParts':['imports',o(0x1b0),o(0x1a1),'services',f+'.'+h]});this[o(0x1b6)][o(0x1a8)]({'srcPath':'service/logger/logger.js','destPath':i,'context':g,'config':c});}});}catch(d){Log['error'](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=
|
|
1
|
+
(function(a,b){var f=a108d,c=a();while(!![]){try{var d=parseInt(f(0x94))/0x1+parseInt(f(0x92))/0x2*(-parseInt(f(0x98))/0x3)+parseInt(f(0x9b))/0x4*(-parseInt(f(0x93))/0x5)+parseInt(f(0x97))/0x6+parseInt(f(0x9a))/0x7*(-parseInt(f(0x90))/0x8)+parseInt(f(0x91))/0x9+-parseInt(f(0x96))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a108c,0xb4b26));var a108b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a108d;if(c){var e=c[g(0x8f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a108a=a108b(this,function(){var h=a108d;return a108a[h(0x9c)]()[h(0x99)](h(0x9d))[h(0x9c)]()[h(0x95)](a108a)[h(0x99)]('(((.+)+)+)+$');});a108a();import'./translation.js';import'./openssl.js';function a108d(a,b){var c=a108c();return a108d=function(d,e){d=d-0x8f;var f=c[d];return f;},a108d(a,b);}function a108c(){var i=['13254360tLegmH','7478652jzODGd','8409TEcblC','search','28PpHrwS','8QpnLYv','toString','(((.+)+)+)+$','apply','216992lYFmpQ','10663101qLqaZO','50saUhEn','2086940HyeHsC','647686QMNGXJ','constructor'];a108c=function(){return i;};return a108c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a109k=a109d;(function(a,b){const i=a109d,c=a();while(!![]){try{const d=-parseInt(i(0x1bc))/0x1*(-parseInt(i(0x1ca))/0x2)+-parseInt(i(0x1c1))/0x3+-parseInt(i(0x1c7))/0x4*(-parseInt(i(0x1bd))/0x5)+parseInt(i(0x1d8))/0x6+parseInt(i(0x1bf))/0x7*(-parseInt(i(0x1cd))/0x8)+parseInt(i(0x1c4))/0x9+-parseInt(i(0x1d6))/0xa*(-parseInt(i(0x1c9))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a109c,0x9cf17));function a109d(a,b){const c=a109c();return a109d=function(d,e){d=d-0x1bc;let f=c[d];return f;},a109d(a,b);}const a109b=(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;};}()),a109a=a109b(this,function(){const j=a109d;return a109a['toString']()[j(0x1c6)](j(0x1cc))[j(0x1cb)]()[j(0x1dc)](a109a)[j(0x1c6)](j(0x1cc));});a109a();import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';import a109e from'path';Generator[a109k(0x1d9)]({'name':a109k(0x1d5),'usage':a109k(0x1d1),'shortDesc':a109k(0x1c2),'noResource':!![],'requiredOpts':[a109k(0x1c8)],'examples':[a109k(0x1d3)],'validOpts':[a109k(0x1c8)]},async function(a,b){const l=a109k;try{const c=await this['fsi'][l(0x1c3)](),d=await this[l(0x1cf)][l(0x1d0)](),f=this[l(0x1cf)][l(0x1d4)](b[l(0x1c8)]),g=a109e[l(0x1c5)](f,'_keys',l(0x1db));await this[l(0x1cf)][l(0x1d7)](c,async()=>{const m=l,h={'app':d[m(0x1d2)],'noRename':!![]};await this['fsi'][m(0x1c0)]({'srcPath':m(0x1da),'destPath':g,'framework':m(0x1be),'context':h,'config':c});});}catch(h){Log[l(0x1ce)](h);}});function a109c(){const n=['withValue','3018828uZqdao','create','openssl/openssl.conf','openssl.conf','constructor','274079vqewLs','183275BUSQfZ','service','4467309TVCmBg','template','2869992bdsXnp','Generate\x20a\x20new\x20openssl\x20config\x20file','getProjectConfig','1503540viaAYh','join','search','44iqVuuz','env','6182OFPGMt','2mQQgxl','toString','(((.+)+)+)+$','8qbWGTU','error','fsi','getGlobalConfig','maka\x20{generate,\x20g}:sslconfig','appName','maka\x20g:sslconfig\x20--env\x20dev','getConfigPath','sslconfig','15840PEKuCS'];a109c=function(){return n;};return a109c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a110A=a110d;(function(a,b){const x=a110d,c=a();while(!![]){try{const d=parseInt(x(0x130))/0x1+-parseInt(x(0x113))/0x2*(parseInt(x(0x11e))/0x3)+-parseInt(x(0x101))/0x4+parseInt(x(0x109))/0x5+-parseInt(x(0x131))/0x6*(-parseInt(x(0x110))/0x7)+parseInt(x(0x133))/0x8*(-parseInt(x(0x11f))/0x9)+parseInt(x(0x134))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a110c,0x4a9cd));const a110b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a110d;if(c){const e=c[y(0x105)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a110a=a110b(this,function(){const z=a110d;return a110a['toString']()[z(0x11a)](z(0x116))[z(0x112)]()['constructor'](a110a)['search'](z(0x116));});function a110d(a,b){const c=a110c();return a110d=function(d,e){d=d-0xfa;let f=c[d];return f;},a110d(a,b);}function a110c(){const D=['appName','70485QxBipE','maka\x20{generate,\x20g}:translation\x20--lang=<language>','imports','ssr','warn','import\x20\x27../lib/services/translations/i18n\x27;','lib','1081997vVvtSI','export\x20{\x20default\x20as\x20','toString','318040ZPTTlT','\x20}\x20from\x20\x27./','root','(((.+)+)+)+$','i18n.js','translations','create','search','grep','client','isFile','3AGIaeR','61461ggftho','getGlobalConfig','services','rewriteDestinationPathForEngine','i18n/locales.js','fsi','.js','service','i18n','checkNpmPackage','injectAtBeginningOfFile','maka\x20g:translation\x20--lang=de','default\x20as\x20','Locale\x20already\x20defined:\x20','maka\x20g:translation\x20--lang=fr','lang','readFileSync','558996znxjkj','6uOoapg','findAppDirectory','584oZJcBA','3810920lqymvm','startup','index.','import\x20\x27../lib/services/translations/i18n\x27;\x0a','template','maka\x20g:translation\x20--lang=en\x20(default)','index.js','true','582424LIXzBZ','Locale\x20already\x20exported:\x20','exit','error','apply','pathFromApp','server'];a110c=function(){return D;};return a110c();}a110a();import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';import a110e from'fs';Generator[a110A(0x119)]({'name':'translation','usage':a110A(0x10a),'aliases':[a110A(0x127)],'shortDesc':'Generate\x20a\x20new\x20locale\x20translation','noResource':!![],'examples':[a110A(0xfe),a110A(0x12d),a110A(0x12a)],'validOpts':[a110A(0x12e)]},function(a,b){const B=a110A;try{const c=this[B(0x124)]['getProjectConfig'](),d=this[B(0x124)][B(0x120)](),f=this['fsi'][B(0x132)]();this[B(0x124)]['withValue'](c,()=>{const C=B;try{!b['lang']&&(b['lang']='en');!b[C(0x115)]&&!this[C(0x124)][C(0x128)]('i18next')&&(Log[C(0x10d)]('Verifying\x20npm\x20package\x20requirements:\x20i18next\x20...'),this['fsi']['installNpmPackage']('i18next\x20i18next-browser-languagedetector\x20react-i18next',{'cwd':f}),this[C(0x124)]['setProjectConfig']('features.withTranslations',!![]));const g=this[C(0x124)][C(0x106)]({'pathParts':[C(0x10b),'startup',C(0x11c),C(0xff)]}),h=this['fsi']['rewriteDestinationPathForEngine']({'pathParts':[g],'config':c}),i=this[C(0x124)][C(0x11b)](a110e[C(0x12f)](h)[C(0x112)](),'import\x20\x27../lib/services/translations/i18n\x27;')[0x0]&&!![];if(c['engines'][C(0x10c)]===C(0x100)){!i&&this[C(0x124)][C(0x129)]({'filePath':h,'content':C(0xfc)});const t=this[C(0x124)][C(0x106)]({'pathParts':[C(0x10b),C(0xfa),C(0x107),C(0xff)]}),u=this['fsi']['rewriteDestinationPathForEngine']({'pathParts':[t],'config':c}),v=this[C(0x124)]['grep'](a110e[C(0x12f)](u)[C(0x112)](),C(0x10e))[0x0]&&!![];!v&&this[C(0x124)]['injectAtBeginningOfFile']({'filePath':u,'content':C(0xfc)});}else!i&&this['fsi'][C(0x129)]({'filePath':h,'content':C(0xfc)});const j={'app':d[C(0x108)],'config':c},k=this[C(0x124)][C(0x106)]({'pathParts':[C(0x10b),C(0xfa),C(0x10f),C(0x121),C(0x118),C(0x117)]}),l=this['fsi'][C(0x11d)](this[C(0x124)][C(0x122)]({'pathParts':[k],'config':c}));!l&&this[C(0x124)][C(0xfd)]({'srcPath':'i18n/i18n.js','destPath':k,'framework':C(0x126),'context':j,'config':c});const m=this[C(0x124)][C(0x106)]({'pathParts':[C(0x10b),C(0xfa),C(0x10f),C(0x121),'translations','locales',b[C(0x12e)]+C(0x125)]}),n=this['fsi'][C(0x122)]({'pathParts':[m],'config':c}),o=this[C(0x124)][C(0x11d)](n);!o?this['fsi']['template']({'srcPath':C(0x123),'destPath':m,'framework':C(0x126),'context':j,'config':c}):Log[C(0x10d)](C(0x12c)+n);const p=this[C(0x124)]['pathFromApp']({'pathParts':[C(0x10b),C(0xfa),C(0x10f),C(0x121),C(0x118),'locales',C(0xfb)+c['engines']['js']]}),q=this[C(0x124)][C(0x122)]({'pathParts':[p],'config':c}),r=this[C(0x124)][C(0x11d)](q);!r&&this[C(0x124)][C(0xfd)]({'srcPath':'i18n/index.js','destPath':p,'framework':C(0x126),'context':j,'config':c});const s=this['fsi'][C(0x11b)](a110e[C(0x12f)](p)[C(0x112)](),C(0x12b)+b[C(0x12e)])[0x0]&&!![];!s?this['fsi']['injectAtEndOfFile']({'filePath':p,'content':C(0x111)+b[C(0x12e)]+C(0x114)+b['lang']+'\x27;'}):Log[C(0x10d)](C(0x102)+p);}catch(w){Log[C(0x104)](w),process[C(0x103)](0x1);}});}catch(g){Log[B(0x104)](g),process[B(0x103)](0x1);}});
|
package/bundle/obf/src/maka.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a111l=a111d;(function(a,b){const j=a111d,c=a();while(!![]){try{const d=parseInt(j(0x1cd))/0x1+-parseInt(j(0x1d0))/0x2+-parseInt(j(0x1c9))/0x3+parseInt(j(0x1c8))/0x4+-parseInt(j(0x1dc))/0x5*(-parseInt(j(0x1ca))/0x6)+-parseInt(j(0x1d8))/0x7+parseInt(j(0x1c4))/0x8*(parseInt(j(0x1da))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a111c,0xca84f));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 k=a111d;return a111a[k(0x1d5)]()[k(0x1cc)](k(0x1d7))['toString']()[k(0x1cf)](a111a)[k(0x1cc)](k(0x1d7));});a111a();function a111c(){const m=['32LgHuzc','run','parse','stringify','4564844zwqQwB','2574072WXNGeR','6iFiVPp','slice','search','726661VsHPlr','--max-old-space-size=','constructor','954670atJYFo','dirname','floor','totalmem','url','toString','argv','(((.+)+)+)+$','2611595JEiFQy','camelizeKeys','1037457oNbJrR','env','1044995Gohfaw'];a111c=function(){return m;};return a111c();}import a111e from'minimist';import a111f from'os';import a111g from'path';import a111h from'humps';import a111i from'./commands/maka.cmd.js';import'./commands/_index.js';import'./generators/_index.js';import{fileURLToPath}from'url';const __filename=fileURLToPath(import.meta[a111l(0x1d4)]),__dirname=a111g[a111l(0x1d1)](__filename);global['MAKA_COMMAND_PATH']=__dirname;const total_memory=a111f[a111l(0x1d3)](),total_mem_in_kb=total_memory/0x400;let total_mem_in_mb=total_mem_in_kb/0x400;total_mem_in_mb=Math[a111l(0x1d2)](total_mem_in_mb),process['env']['TOOL_NODE_FLAGS']=a111l(0x1ce)+total_mem_in_mb,process[a111l(0x1db)]['BROWSERSLIST_IGNORE_OLD_DATA']='1';const argv=a111e(process[a111l(0x1d6)][a111l(0x1cb)](0x2)),args=argv['_'],deepCopyArgv=JSON[a111l(0x1c6)](JSON[a111l(0x1c7)](argv));delete deepCopyArgv['_'];const opts=a111h[a111l(0x1d9)](deepCopyArgv);function a111d(a,b){const c=a111c();return a111d=function(d,e){d=d-0x1c4;let f=c[d];return f;},a111d(a,b);}a111i[a111l(0x1c5)](args,opts);
|
package/bundle/obf/src/tool.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a112k=a112d;(function(a,b){const h=a112d,c=a();while(!![]){try{const d=-parseInt(h(0x12d))/0x1+-parseInt(h(0x12c))/0x2+parseInt(h(0x117))/0x3+-parseInt(h(0x11f))/0x4*(-parseInt(h(0x131))/0x5)+-parseInt(h(0x127))/0x6*(-parseInt(h(0x11a))/0x7)+parseInt(h(0x111))/0x8+-parseInt(h(0x134))/0x9*(-parseInt(h(0x137))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a112c,0xf13b6));const a112b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a112d;if(c){const e=c[i(0x113)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a112a=a112b(this,function(){const j=a112d;return a112a[j(0x119)]()[j(0x10a)](j(0x116))[j(0x119)]()[j(0x11b)](a112a)[j(0x10a)]('(((.+)+)+)+$');});a112a();import a112e from'path';function a112d(a,b){const c=a112c();return a112d=function(d,e){d=d-0x105;let f=c[d];return f;},a112d(a,b);}import a112f from'os';import a112g from'fs';const homeDir=a112f['homedir']();import{Docker}from'./tools/docker/docker.class.js';import{FSI}from'./tools/fsi/fsi.class.js';import{Log}from'./tools/log/log.class.js';import{UsageError}from'./error.js';function a112c(){const y=['usage','171suNOvg','.meteor','docker','438310FwYnLp','includes','Missing\x20required\x20options\x20','options','fsi','help','search','length','root','push','validateParams','error','concat','6610544FosfLA','keys','apply','platform','Invalid\x20options:\x20','(((.+)+)+)+$','238590vTiBya','forEach','toString','304430ttaSRJ','constructor','NIE','findProjectDirectory','examples','964nltCyO','validateMeteorInstall','dir','_handler','win32','aliases','name','description','222qXgvSc','shortDesc','parent','Local','match','1690792FUgGTy','1892655WiBihV','join','AppData','existsSync','7850wwGlJE','cwd'];a112c=function(){return y;};return a112c();}export class Tool{[a112k(0x136)];[a112k(0x108)];[a112k(0x107)];[a112k(0x125)];[a112k(0x129)];[a112k(0x122)];constructor(){const l=a112k;this['docker']=new Docker(),this[l(0x108)]=new FSI();}[a112k(0x12b)](a){const m=a112k,b=[this['name']]['concat'](this[m(0x107)]['aliases']||[]);return this[m(0x129)]&&b[m(0x10d)](this[m(0x129)]),b[m(0x105)](a);}['validateMakaProject'](){const n=a112k,a=this[n(0x108)][n(0x11d)]();return a!==![]?!![]:![];}[a112k(0x120)](){const o=a112k;let a=a112e[o(0x12e)](homeDir,o(0x135));const b=process[o(0x114)]===o(0x123);if(b){a=a112e['join'](homeDir,o(0x12f),o(0x12a),o(0x135));if(!a112g[o(0x130)](a))return![];}else{if(!a112g[o(0x130)](a))return![];}return!![];}[a112k(0x10e)](a,b,c){const p=a112k,{requiredOpts:requiredOpts=[],validArgs:d}=c;let {validOpts:validOpts=[]}=c;const e=Object[p(0x112)](b);d?.[p(0x10b)]>0x0&&a[p(0x118)](f=>{const q=p;if(!d['includes'](f)){Log[q(0x10f)]('Invalid\x20argument:\x20'+f);throw new UsageError();}});if(requiredOpts?.['length']>0x0){if(e[p(0x10b)]===0x0){Log['error'](p(0x106)+requiredOpts['join'](',\x20'));throw new UsageError();}requiredOpts[p(0x118)](f=>{const r=p;if(!e[r(0x105)](f)){Log[r(0x10f)]('Missing\x20required\x20option:\x20'+f);throw new UsageError();}});}validOpts=validOpts[p(0x110)](requiredOpts),validOpts?.[p(0x10b)]>0x0&&(validOpts[p(0x10d)](p(0x109)),validOpts['push']('resourceName'),validOpts[p(0x10d)](p(0x121)),validOpts[p(0x10d)](p(0x132)),validOpts['push'](p(0x10c)),validOpts['push']('config'),e[p(0x118)](f=>{const s=p;if(!validOpts[s(0x105)](f)){Log['error'](s(0x115)+f);throw new UsageError();}}));}[a112k(0x126)](){const t=a112k;return this['options']['description']||this['options'][t(0x128)]||'No\x20description\x20provided.';}['shortDesc'](){const u=a112k;return this[u(0x107)][u(0x128)]||u(0x11c);}[a112k(0x133)](){const v=a112k;return this[v(0x107)]['usage']||'No\x20usage\x20provided.';}[a112k(0x11e)](){const w=a112k;return this[w(0x107)][w(0x11e)]||[];}[a112k(0x124)](){const x=a112k;return this[x(0x107)][x(0x124)]||'None';}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a113i=a113d;(function(a,b){const f=a113d,c=a();while(!![]){try{const d=-parseInt(f(0x1c6))/0x1*(-parseInt(f(0x1ca))/0x2)+-parseInt(f(0x1d2))/0x3*(-parseInt(f(0x1c7))/0x4)+parseInt(f(0x1d4))/0x5+parseInt(f(0x1cd))/0x6+parseInt(f(0x1d5))/0x7*(-parseInt(f(0x1c8))/0x8)+-parseInt(f(0x1cb))/0x9+-parseInt(f(0x1cc))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a113c,0x81a5a));function a113d(a,b){const c=a113c();return a113d=function(d,e){d=d-0x1c5;let f=c[d];return f;},a113d(a,b);}const a113b=(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;};}()),a113a=a113b(this,function(){const g=a113d;return a113a['toString']()[g(0x1d1)](g(0x1c5))['toString']()['constructor'](a113a)[g(0x1d1)](g(0x1c5));});function a113c(){const l=['253430XwrrUc','5620680emXKJa','password','answer','input','search','1695657HbPpJx','confirm','3388955COgPjK','49efPbON','prompt','(((.+)+)+)+$','453382EnnrTZ','4zvzNAe','1196336IhdnYS','options','2piApZp','9270009xuNbCI'];a113c=function(){return l;};return a113c();}a113a();import a113e from'inquirer';export class Actions{static async['ask'](a,b){const h=a113d,{answer:c}=await a113e[h(0x1d6)]({'type':b?h(0x1ce):h(0x1d0),'name':h(0x1cf),'message':a});return c;}static async[a113i(0x1d3)](a,b=![]){const j=a113i,{answer:c}=await a113e[j(0x1d6)]({'type':'confirm','name':j(0x1cf),'message':a,'default':b});return c;}static async[a113i(0x1c9)](a){const k=a113i,b=await a113e[k(0x1d6)](a);return b;}}
|