@maka/maka-cli 4.2.27 → 4.2.29
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/dist/command.js +1 -1
- package/dist/commands/_index.js +1 -1
- package/dist/commands/aws/_index.js +1 -1
- package/dist/commands/aws/aws.command.js +1 -1
- package/dist/commands/aws/ci.sub.cmd.js +1 -1
- package/dist/commands/aws/ckp.sub.cmd.js +1 -1
- package/dist/commands/aws/csg.sub.cmd.js +1 -1
- package/dist/commands/aws/di.sub.cmd.js +1 -1
- package/dist/commands/aws/dkp.sub.cmd.js +1 -1
- package/dist/commands/aws/dsg.sub.cmd.js +1 -1
- package/dist/commands/aws/rbi.sub.cmd.js +1 -1
- package/dist/commands/aws/rkp.sub.cmd.js +1 -1
- package/dist/commands/aws/sth.sub.cmd.js +1 -1
- package/dist/commands/aws/ti.sub.cmd.js +1 -1
- package/dist/commands/build/_index.js +1 -1
- package/dist/commands/build/build.js +1 -1
- package/dist/commands/build/docker.sub.cmd.js +1 -1
- package/dist/commands/create.js +1 -1
- package/dist/commands/debug.js +1 -1
- package/dist/commands/deploy.js +1 -1
- package/dist/commands/game/_index.js +1 -1
- package/dist/commands/game/battleship.sub.cmd.js +1 -1
- package/dist/commands/game/play.command.js +1 -1
- package/dist/commands/game/pong.sub.cmd.js +1 -1
- package/dist/commands/game/snake.sub.cmd.js +1 -1
- package/dist/commands/game/tetris.sub.cmd.js +1 -1
- package/dist/commands/generate.js +1 -1
- package/dist/commands/get/_index.js +1 -1
- package/dist/commands/get/get.command.js +1 -1
- package/dist/commands/get/global.sub.cmd.js +1 -1
- package/dist/commands/get/local.sub.cmd.js +1 -1
- package/dist/commands/get/whoami.sub.cmd.js +1 -1
- package/dist/commands/help.js +1 -1
- package/dist/commands/install.js +1 -1
- package/dist/commands/jsdoc.js +1 -1
- package/dist/commands/login.js +1 -1
- package/dist/commands/logout.js +1 -1
- package/dist/commands/logs.js +1 -1
- package/dist/commands/maka.cmd.js +1 -1
- package/dist/commands/murder.js +1 -1
- package/dist/commands/proxy.js +1 -1
- package/dist/commands/reconfig.js +1 -1
- package/dist/commands/run/_index.js +1 -0
- package/dist/commands/run/docker.sub.cmd.js +1 -0
- package/dist/commands/run/run.command.js +1 -0
- package/dist/commands/set/_index.js +1 -1
- package/dist/commands/set/global.sub.cmd.js +1 -1
- package/dist/commands/set/local.sub.cmd.js +1 -1
- package/dist/commands/set/set.command.js +1 -1
- package/dist/commands/ssh.js +1 -1
- package/dist/commands/ssl.js +1 -1
- package/dist/commands/test.js +1 -1
- package/dist/commands/version.js +1 -1
- package/dist/error.js +1 -1
- package/dist/generator.js +1 -1
- package/dist/generators/_index.js +1 -1
- package/dist/generators/api.js +1 -1
- package/dist/generators/collection.js +1 -1
- package/dist/generators/component.js +1 -1
- package/dist/generators/config.js +1 -1
- package/dist/generators/dbc.js +1 -1
- package/dist/generators/dockerfile.js +1 -1
- package/dist/generators/hook.js +1 -1
- package/dist/generators/kit.js +1 -1
- package/dist/generators/layout.js +1 -1
- package/dist/generators/maka.gen.js +1 -1
- package/dist/generators/methods.js +1 -1
- package/dist/generators/package.js +1 -1
- package/dist/generators/page.js +1 -1
- package/dist/generators/publish.js +1 -1
- package/dist/generators/route.js +1 -1
- package/dist/generators/scaffold.js +1 -1
- package/dist/generators/service.js +1 -1
- package/dist/generators/services/_index.js +1 -1
- package/dist/generators/services/openssl.js +1 -1
- package/dist/generators/services/translation.js +1 -1
- package/dist/maka.js +1 -1
- package/dist/tool.js +1 -1
- package/dist/tools/actions/actions.class.js +1 -1
- package/dist/tools/actions/actions.test.js +1 -1
- package/dist/tools/aws/aws.class.js +1 -1
- package/dist/tools/aws/aws.interfaces.js +1 -1
- package/dist/tools/docker/docker.class.js +1 -1
- package/dist/tools/docker/docker.interfaces.js +1 -1
- package/dist/tools/fsi/fsi.class.js +1 -1
- package/dist/tools/fsi/fsi.interfaces.js +1 -1
- package/dist/tools/https/https.class.js +1 -1
- package/dist/tools/https/https.interface.js +1 -1
- package/dist/tools/log/log.class.js +1 -1
- package/dist/tools/log/log.interfaces.js +1 -1
- package/dist/tools/spawn-async/spawn-async.class.js +1 -1
- package/dist/tools/spawn-async/spawn-async.interfaces.js +1 -1
- package/dist/tools/ssh/ssh.class.js +1 -1
- package/dist/tools/ssh/ssh.interfaces.js +1 -1
- package/dist/tools/ssl/ssl.class.js +1 -1
- package/package.json +1 -1
- package/dist/commands/run.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a99d(a,b){const c=a99c();return a99d=function(d,e){d=d-0x139;let f=c[d];return f;},a99d(a,b);}const a99z=a99d;(function(a,b){const u=a99d,c=a();while(!![]){try{const d=-parseInt(u(0x15a))/0x1+parseInt(u(0x139))/0x2*(-parseInt(u(0x149))/0x3)+parseInt(u(0x152))/0x4*(parseInt(u(0x13e))/0x5)+-parseInt(u(0x14d))/0x6+parseInt(u(0x153))/0x7+-parseInt(u(0x13c))/0x8+-parseInt(u(0x13d))/0x9*(-parseInt(u(0x146))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a99c,0x4b7ee));const a99b=(function(){let a=!![];return function(b,c){const v=a99d;if(v(0x157)===v(0x144))return c[v(0x14f)]()[v(0x154)](v(0x147))['toString']()['constructor'](d)[v(0x154)]('(((.+)+)+)+$');else{const e=a?function(){const w=v;if(c){if(w(0x14b)===w(0x14b)){const f=c[w(0x13a)](b,arguments);return c=null,f;}else{let h=g[w(0x140)]?h[w(0x140)]:i[w(0x140)](),i=['req',w(0x14e),'-new',w(0x159),j['keyName'],'-out',k[w(0x142)],w(0x14a),w(0x145)];l(w(0x150),i,{'stdio':'inherit','cwd':h});}}}:function(){};return a=![],e;}};}()),a99a=a99b(this,function(){const x=a99d;return a99a[x(0x14f)]()['search'](x(0x147))[x(0x14f)]()[x(0x13f)](a99a)[x(0x154)](x(0x147));});a99a();function a99c(){const B=['-new','-keyout','LZwag','keyName','-key','423870UjjRVh','42682lLILND','apply','rsa:2048','1188240ycyIkC','45QdUxxB','188095sbUcAs','constructor','cwd','req','crtName','csrName','hBETS','openssl.conf','1103530EkuUTd','(((.+)+)+)+$','-newkey','51TOokvp','-config','YFjVR','inherit','2417898fdHgvN','-x509','toString','openssl','genSSC','52weuJfu','4246186GBFVBc','search'];a99c=function(){return B;};return a99c();}import{spawnSync}from'child_process';export class SSL{constructor(){}static['genCSR'](a){const y=a99d;let b=a[y(0x140)]?a[y(0x140)]:process['cwd'](),c=['req',y(0x155),y(0x148),y(0x13b),'-nodes',y(0x156),a['keyName'],'-out',a[y(0x143)],y(0x14a),'openssl.conf'];spawnSync(y(0x150),c,{'stdio':y(0x14c),'cwd':b});}static[a99z(0x151)](a){const A=a99z;let b=a[A(0x140)]?a[A(0x140)]:process[A(0x140)](),c=[A(0x141),A(0x14e),A(0x155),A(0x159),a[A(0x158)],'-out',a[A(0x142)],A(0x14a),'openssl.conf'];spawnSync(A(0x150),c,{'stdio':A(0x14c),'cwd':b});}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maka/maka-cli",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.29",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"summary": "A command line tool for scaffolding Meteor 2.x applications using either React.",
|
|
6
6
|
"description": "A command line tool for scaffolding Meteor 2.x applications using React.",
|
package/dist/commands/run.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const a42L=a42d;(function(a,b){const E=a42d,c=a();while(!![]){try{const d=parseInt(E(0x18c))/0x1+-parseInt(E(0x14b))/0x2*(-parseInt(E(0x166))/0x3)+parseInt(E(0x14d))/0x4+-parseInt(E(0x148))/0x5+parseInt(E(0x162))/0x6*(parseInt(E(0x158))/0x7)+-parseInt(E(0x152))/0x8*(-parseInt(E(0x179))/0x9)+-parseInt(E(0x180))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xaa2f0));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const F=a42d;if(F(0x181)!==F(0x181))c['splice'](d,0x2);else{if(c){const f=c[F(0x177)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const G=a42d;return a42a[G(0x16e)]()[G(0x139)](G(0x18d))[G(0x16e)]()[G(0x184)](a42a)[G(0x139)](G(0x18d));});a42a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const K=a42d;function h(k){const H=a42d;if('eVHCc'!==H(0x16a))return c[H(0x16e)]()[H(0x139)](H(0x18d))[H(0x16e)]()[H(0x184)](d)[H(0x139)](H(0x18d));else try{H(0x15a)==='FbrNN'?j(d[H(0x13f)](k)):h[H(0x145)]?i(j[H(0x14c)]):k(l['value'])[H(0x163)](m,n);}catch(n){g(n);}}function i(k){const I=a42d;if(I(0x168)!=='OOPaE')f['notice'](I(0x143)+g),h=i[I(0x16b)]([I(0x147),j]);else try{I(0x188)==='ZAFlu'?j(d[I(0x187)](k)):b['push'](I(0x18f));}catch(n){g(n);}}function j(k){const J=a42d;J(0x185)!==J(0x185)?(e[J(0x13c)](f,'r'),g[J(0x151)]({'path':h})):k[J(0x145)]?f(k[J(0x14c)]):e(k[J(0x14c)])[J(0x163)](h,i);}j((d=d['apply'](a,b||[]))[K(0x13f)]());});};function a42c(){const O=['existsSync','bright','Run\x20your\x20app\x20for\x20a\x20given\x20environment\x20or\x20in\x20docker.','verbose','createProxyServer','settings','env','error','apply','docker','9AsCeTb','maka\x20run\x0a\x20\x20\x20\x20-e\x20|\x20--env\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20target\x20environment.\x20\x20Will\x20automatically\x20pull\x20in\x20the\x20meteor\x20settings\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20file\x20(settings.json)\x20and\x20any\x20environment\x20options\x20that\x20have\x20been\x20enabled.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20\x20\x20-r\x20|\x20--raw-logs\x20\x20\x20\x20\x20\x20\x20Only\x20output\x20the\x20meteor\x20logs\x20without\x20the\x20timestamp.\x0a\x0a\x20\x20\x20\x20-p\x20|\x20--port\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20port\x20to\x20run\x20the\x20meteor\x20server\x20on.\x20Defaults\x20to\x20port\x203000.\x0a\x0a\x20\x20\x20\x20-i\x20|\x20--inspect\x20\x20\x20\x20\x20\x20\x20\x20Tells\x20the\x20meteor\x20server\x20to\x20run\x20nodejs\x20in\x20debug\x20mode.\x20Starts\x20a\x20debug\x20session\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20which\x20can\x20be\x20accessed\x20by\x20Chrome\x20Dev\x20Tools\x20or\x20another\x20debug\x20terminal.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20\x20\x20-m\x20|\x20--mobile-server\x20\x20Specify\x20a\x20different\x20backend\x20server\x20to\x20connect\x20to.\x20\x20Mainly\x20used\x20when\x20running\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20\x20\x20-x\x20|\x20--exclude-archs\x20\x20Don\x27t\x20create\x20bundles\x20for\x20certain\x20web\x20architectures\x20(comma\x20separated,\x20for\x20example:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20\x20\x20--docker\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Build\x20and\x20run\x20the\x20application\x20in\x20a\x20docker\x20container.\x20Requires\x20Docker.\x0a\x0a\x20\x20\x20\x20--production\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Runs\x20the\x20application\x20in\x20production\x20mode;\x20minifies\x20and\x20bundles\x20all\x20files\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20removes\x20development\x20packages.','join','invokeMeteorCommand','run','sep','Docker\x20Compose\x20Path:\x20','10429350wdLrsQ','yxGgr','createFile','warn','constructor','pomAY','settings.json','throw','ZAFlu','inherit','aUUSs','_keys','109570DVoifo','(((.+)+)+)+$','length','--production','--env','isFile','forEach','readFileSync','search','listen','production','openSync','mobileServer','notice','next','Node\x20Env\x20Config:\x20','lRVoW','development','Meteor\x20Settings:\x20','create','done','getProjectConfig','--settings','4552195YfcvOp','rawLogs','extraPackages','383266FjxuBV','value','5302144LlZqLR','filter','Hzozc','config/docker-compose.yaml','config','3777888RBrvLx','fsi','ssl','localhost','port','appName','7Dpewvf','split','FbrNN','Please\x20provide\x20a\x20URL\x20where\x20your\x20mobile\x20app\x20should\x20connect\x20to\x20your\x20server\x20(e.g.,\x20-m\x20|\x20--mobile-server=https://example-server.com)','splice','slice','templateContent','bqkfT','WqMgA','Cannot\x20find\x20Node\x20Environment\x20File:\x20','3308826wRMrRY','then','exit','inspect','3VhPGpC','getConfigPath','OOPaE','utNHh','eVHCc','concat','mobile-server','push','toString'];a42c=function(){return O;};return a42c();}import a42A from'path';function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x136;let f=c[d];return f;},a42d(a,b);}import a42B from'fs';import a42C from'dotenv';import{execSync}from'child_process';import a42D from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{paramCase}from'change-case';const syncSource=function(a){a42B['openSync'](a,'r'),a42C['config']({'path':a});};Command[a42L(0x144)]({'name':a42L(0x17d),'mustBeInMakaProject':!![],'usage':a42L(0x17a),'validOpts':['env',a42L(0x178),'r',a42L(0x149),'p',a42L(0x156),'i',a42L(0x165),'m',a42L(0x13d),'v',a42L(0x172),'allowIncompatibleUpdate',a42L(0x14a),'x','exclude-archs',a42L(0x13b),a42L(0x154)],'description':a42L(0x171)},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const M=a42d;try{if(b[M(0x16c)]&&b[M(0x16c)]===!![]||b['m']&&b['m']===!![]){if(M(0x14f)!==M(0x14f))c[M(0x183)]('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+d);else throw M(0x15b);}yield this['fsi']['compareMakaToLatest']();let c=this['fsi'][M(0x146)]();const d=b[M(0x175)]?b[M(0x175)]:M(0x142),f=this[M(0x153)][M(0x167)](d),g=a42A[M(0x17b)](f,'process.env');let h=a42A[M(0x17b)](f,'settings.json');b[M(0x174)]?h=b[M(0x174)]:M(0x160)!=='WqMgA'?c(d):h=a42A[M(0x17b)](f,M(0x186));if(this[M(0x153)][M(0x136)](g)&&!b['docker']){if('gjvqs'!==M(0x141))Log[M(0x13e)](M(0x140)+g),syncSource(g);else{const o={'app':e[M(0x157)],'appFileCase':f(g['appName'])};let p=this[M(0x153)][M(0x15e)]({'srcPath':M(0x150),'context':o})+'\x0a';this[M(0x153)][M(0x182)]({'filePath':h,'data':p});}}else!b[M(0x178)]&&Log[M(0x183)](M(0x161)+g);this[M(0x153)][M(0x136)](h)?(Log[M(0x13e)](M(0x143)+h),a=a['concat']([M(0x147),h])):Log[M(0x183)]('Cannot\x20find\x20Meteor\x20Settings\x20File:\x20'+h);const i=f[M(0x159)](a42A[M(0x17e)]),j=i[i[M(0x18e)]-0x1];j===M(0x13b)&&a[M(0x16d)](M(0x18f));const k=process['argv'][M(0x15d)](0x2)['filter'](o=>o!==M(0x17d))[M(0x14e)](o=>o!==a[0x0]);k[M(0x137)]((o,p)=>{const N=M;N(0x18a)===N(0x169)?d(e[N(0x187)](f)):(o===N(0x190)&&k[N(0x15c)](p,0x2),o==='-e'&&k[N(0x15c)](p,0x2));});if(b[M(0x178)]){const o=this['fsi']['getConfigPath'](M(0x178)),p=a42A[M(0x17b)](o,'docker-compose.yaml'),q=a42A[M(0x17b)](o,'pm2.config.js');Log['notice']('PM2\x20Config\x20File:\x20'+q),Log[M(0x13e)](M(0x17f)+p);if(!a42B[M(0x16f)](p)){if('bkVHZ'===M(0x15f))try{i(j['next'](k));}catch(s){m(s);}else{const s={'app':c[M(0x157)],'appFileCase':paramCase(c[M(0x157)])};let t=this[M(0x153)]['templateContent']({'srcPath':M(0x150),'context':s})+'\x0a';this[M(0x153)][M(0x182)]({'filePath':p,'data':t});}}execSync('docker-compose\x20--project-directory\x20'+o+'\x20up\x20--remove-orphans',{'stdio':M(0x189)});}else{if(b[M(0x154)]){if('eUIen'==='eUIen'){const u=a42A[M(0x17b)](f,M(0x18b),c['appName']+'.key'),v=a42A[M(0x17b)](f,M(0x18b),c[M(0x157)]+'.crt');Log['notice'](u);const w={'ssl':{'key':a42B[M(0x138)](u,'utf8'),'cert':a42B['readFileSync'](v,'utf8')},'target':{'host':M(0x155),'port':0xbb8},'ws':!![],'xfwd':!![]},x=a42D[M(0x173)](w)[M(0x13a)](0xfa0);Log[M(0x170)]('=>\x20SSL\x20Proxy\x20running\x20at\x204000');}else{if(e){const z=i[M(0x177)](j,arguments);return k=null,z;}}}else this[M(0x153)][M(0x17c)](M(0x17d),a['concat'](k));}}catch(z){console[M(0x176)](z),process[M(0x164)](0x0);}});});
|