@maka/maka-cli 4.6.22 → 4.7.0
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 +2 -1
- package/bundle/obf/src/command.js +1 -1
- package/bundle/obf/src/commands/_index.js +1 -1
- package/bundle/obf/src/commands/ai.js +1 -1
- package/bundle/obf/src/commands/aws/_index.js +1 -1
- package/bundle/obf/src/commands/aws/aws.command.js +1 -1
- package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/build/_index.js +1 -1
- package/bundle/obf/src/commands/build/build.js +1 -1
- package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/create.js +1 -1
- package/bundle/obf/src/commands/debug.js +1 -1
- package/bundle/obf/src/commands/deploy/_index.js +1 -1
- package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
- package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/_index.js +1 -1
- package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/play.command.js +1 -1
- package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/generate.js +1 -1
- package/bundle/obf/src/commands/get/_index.js +1 -1
- package/bundle/obf/src/commands/get/get.command.js +1 -1
- package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/help.js +1 -1
- package/bundle/obf/src/commands/install.js +1 -1
- package/bundle/obf/src/commands/jsdoc.js +1 -1
- package/bundle/obf/src/commands/lint.js +1 -1
- package/bundle/obf/src/commands/login.js +1 -1
- package/bundle/obf/src/commands/logout.js +1 -1
- package/bundle/obf/src/commands/logs.js +1 -1
- package/bundle/obf/src/commands/maka.cmd.js +1 -1
- package/bundle/obf/src/commands/murder.js +1 -1
- package/bundle/obf/src/commands/proxy.js +1 -1
- package/bundle/obf/src/commands/reconfig.js +1 -1
- package/bundle/obf/src/commands/run/_index.js +1 -1
- package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/run/run.command.js +1 -1
- package/bundle/obf/src/commands/set/_index.js +1 -1
- package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/set.command.js +1 -1
- package/bundle/obf/src/commands/ssh.js +1 -1
- package/bundle/obf/src/commands/ssl.js +1 -1
- package/bundle/obf/src/commands/test.js +1 -1
- package/bundle/obf/src/commands/version.js +1 -1
- package/bundle/obf/src/error.js +1 -1
- package/bundle/obf/src/exec.js +1 -1
- package/bundle/obf/src/generator.js +1 -1
- package/bundle/obf/src/generators/_index.js +1 -1
- package/bundle/obf/src/generators/api.js +1 -1
- package/bundle/obf/src/generators/collection.js +1 -1
- package/bundle/obf/src/generators/component.js +1 -1
- package/bundle/obf/src/generators/config.js +1 -1
- package/bundle/obf/src/generators/dbc.js +1 -1
- package/bundle/obf/src/generators/dockerfile.js +1 -1
- package/bundle/obf/src/generators/hook.js +1 -1
- package/bundle/obf/src/generators/kits/_index.js +1 -1
- package/bundle/obf/src/generators/kits/kit.js +1 -1
- package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
- package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -0
- package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
- package/bundle/obf/src/generators/layout.js +1 -1
- package/bundle/obf/src/generators/maka.gen.js +1 -1
- package/bundle/obf/src/generators/methods.js +1 -1
- package/bundle/obf/src/generators/package.js +1 -1
- package/bundle/obf/src/generators/page.js +1 -1
- package/bundle/obf/src/generators/publish.js +1 -1
- package/bundle/obf/src/generators/route.js +1 -1
- package/bundle/obf/src/generators/service.js +1 -1
- package/bundle/obf/src/generators/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/translation.js +1 -1
- package/bundle/obf/src/maka.js +1 -1
- package/bundle/obf/src/templates/react/kit/mui/frame/{basic-app-bar.js.jsx → app-bars/basic-app-bar.js.jsx} +12 -2
- package/bundle/obf/src/templates/react/kit/mui/frame/{basic-app-bar.js → app-bars/basic-app-bar.js.tsx} +10 -2
- package/bundle/obf/src/templates/react/kit/mui/frame/drawers/basic-drawer.js.jsx +118 -0
- package/bundle/obf/src/templates/react/kit/mui/frame/drawers/basic-drawer.js.tsx +116 -0
- 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 -1
- package/bundle/obf/src/generators/kits/mui/layout.mui.gen.js +0 -1
- package/bundle/obf/src/templates/react/kit/mui/frame/basic-app-bar.js.ts +0 -0
- package/bundle/obf/src/templates/react/kit/mui/frame/basic-app-bar.js.tsx +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a135i=a135d;(function(a,b){const f=a135d,c=a();while(!![]){try{const d=-parseInt(f(0x195))/0x1*(parseInt(f(0x18d))/0x2)+parseInt(f(0x184))/0x3*(parseInt(f(0x19e))/0x4)+parseInt(f(0x18b))/0x5+-parseInt(f(0x183))/0x6+-parseInt(f(0x199))/0x7*(-parseInt(f(0x196))/0x8)+-parseInt(f(0x18e))/0x9+parseInt(f(0x190))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a135c,0xeb91a));const a135b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a135d;if(c){const e=c[g(0x19b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a135a=a135b(this,function(){const h=a135d;return a135a[h(0x186)]()[h(0x182)]('(((.+)+)+)+$')[h(0x186)]()['constructor'](a135a)[h(0x182)](h(0x19d));});function a135d(a,b){const c=a135c();return a135d=function(d,e){d=d-0x181;let f=c[d];return f;},a135d(a,b);}a135a();import{Actions}from'../actions/actions.class.js';export class OptionHandler{['inputOpts'];['opts'];[a135i(0x198)];[a135i(0x18a)];constructor(){const j=a135i;this[j(0x187)]=[],this[j(0x19f)]={},this[j(0x198)]=[],this['validOpts']=[];}async[a135i(0x18f)](a,b,c){const k=a135i;this[k(0x187)]=a,this[k(0x198)]=b,this[k(0x18a)]=c,await this['handleRequiredOptions'](),await this['handleValidOptions']();}async[a135i(0x19a)](){const l=a135i;if(this['requiredOpts']?.[l(0x193)]>0x0)for(const a of this['requiredOpts']){let b=!![];const {name:c,values:d}=typeof a===l(0x191)?{'name':a,'values':undefined}:a;if(!this[l(0x187)][l(0x194)](c)){const e=d?await Actions[l(0x189)]({'type':l(0x188),'name':c,'message':l(0x192)+c,'choices':d}):await Actions[l(0x181)](l(0x18c)+c);this[l(0x19f)][c]=d?e[c]:e,b=d?d[l(0x194)](this[l(0x19f)][c]):!![];}else b=d?d[l(0x194)](this[l(0x19f)][c]):!![];if(!b)throw new Error(l(0x19c)+c+':\x20'+this[l(0x19f)][c]);}}async[a135i(0x185)](){const m=a135i;if(this['validOpts']?.[m(0x193)]>0x0)for(const a of this[m(0x18a)]){const {name:b,values:c}=typeof a===m(0x191)?{'name':a,'values':undefined}:a,d=this[m(0x19f)][b];if(d!==undefined&&(!c||!c[m(0x194)](d))){const e=c?await Actions[m(0x189)]({'type':m(0x188),'name':b,'message':'Please\x20choose\x20a\x20valid\x20value\x20for\x20'+b,'choices':c}):await Actions['ask'](m(0x197)+b);this[m(0x19f)][b]=c?e[b]:e;}}}}function a135c(){const n=['includes','3DRbNVn','3025704jURwjE','Please\x20provide\x20a\x20valid\x20value\x20for\x20','requiredOpts','14lMiQEQ','handleRequiredOptions','apply','Invalid\x20value\x20for\x20','(((.+)+)+)+$','14480riitVy','opts','ask','search','7094772rhtrRb','1047QUChMn','handleValidOptions','toString','inputOpts','list','options','validOpts','2894045iQLbzB','Please\x20provide\x20a\x20value\x20for\x20','664354BawUQK','15783678PDSaKT','handleOptions','22990100TlavpI','string','Please\x20choose\x20a\x20value\x20for\x20','length'];a135c=function(){return n;};return a135c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a136i=a136d;(function(a,b){const f=a136d,c=a();while(!![]){try{const d
|
|
1
|
+
const a136i=a136d;(function(a,b){const f=a136d,c=a();while(!![]){try{const d=parseInt(f(0xae))/0x1*(parseInt(f(0xc4))/0x2)+parseInt(f(0xb6))/0x3*(-parseInt(f(0xc3))/0x4)+-parseInt(f(0xad))/0x5*(-parseInt(f(0xa7))/0x6)+-parseInt(f(0xb1))/0x7+-parseInt(f(0xab))/0x8*(parseInt(f(0xc6))/0x9)+-parseInt(f(0xbb))/0xa*(-parseInt(f(0xc2))/0xb)+parseInt(f(0xb4))/0xc*(parseInt(f(0xb7))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a136c,0xa9402));function a136d(a,b){const c=a136c();return a136d=function(d,e){d=d-0xa7;let f=c[d];return f;},a136d(a,b);}const a136b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a136d;if(c){const e=c[g(0xb9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a136a=a136b(this,function(){const h=a136d;return a136a[h(0xaf)]()[h(0xc9)](h(0xca))[h(0xaf)]()[h(0xb0)](a136a)[h(0xc9)]('(((.+)+)+)+$');});a136a();import{Log}from'../log/log.class.js';const isWin=process[a136i(0xb3)]===a136i(0xa9),downArrow=isWin?'<':'↓';function a136c(){const n=['update','21039zrydyV','39QBmFff','min','apply','draw','5167090scKYjR','success','singleLineSuccess','width','colors','dlMessage','lastLoggedProgress','22kzVBXw','644KlrEcB','2CDorDW','round','45quEyDQ','majestic','singleLine','search','(((.+)+)+)+$','repeat','34938kFQMYo','total','win32','graphic','1022000lttWTt','Downloading','725lvqSRY','1184398QIvtkX','toString','constructor','8471897bCcDZE','current','platform','2436852bHttrP'];a136c=function(){return n;};return a136c();}export class Progress{[a136i(0xa8)];[a136i(0xb2)];['width'];['lastLoggedProgress'];[a136i(0xc0)];[a136i(0xaa)];constructor(a,b=a136i(0xac),c=downArrow){const j=a136i;this[j(0xa8)]=a,this[j(0xb2)]=0x0,this['width']=0x28,this[j(0xc1)]=0x0,this[j(0xc0)]=b,this[j(0xaa)]=Log[j(0xbf)][j(0xc7)](c);}[a136i(0xb5)](a){const k=a136i;this[k(0xb2)]+=a,this[k(0xba)]();}['complete'](){const l=a136i;this[l(0xb2)]=this[l(0xa8)],this[l(0xba)](),Log[l(0xbd)]('');}['draw'](){const m=a136i,a=Math[m(0xb8)](0x64,Math[m(0xc5)](this['current']/this['total']*0x64));if(a!==this[m(0xc1)]){this[m(0xc1)]=a;const b=Math[m(0xc5)](a/0x64*this[m(0xbe)]),c=this[m(0xbe)]-b,d=''+Log[m(0xbf)][m(0xbc)]('█')[m(0xcb)](b)+'░'['repeat'](c),e=this[m(0xaa)]+'\x20'+this[m(0xc0)]+':\x20['+d+']\x20'+a+'%';Log[m(0xc8)](e);}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a137c(){const
|
|
1
|
+
function a137c(){const r=['withSpinner','20hiVTuX','3214936nabeQZ','100mlLvAv','toString','(((.+)+)+)+$','253184OPEsFu','search','disconnect','close','ignore','6281Sweuuh','error','61699bRsLAY','success','log','inherit','pid','constructor','failure','3079405onhiCl','message','161okVEKv','data','447540Bpmxrp','351CkjNEk','178344SqTgLl'];a137c=function(){return r;};return a137c();}(function(a,b){const j=a137d,c=a();while(!![]){try{const d=-parseInt(j(0x1d6))/0x1+parseInt(j(0x1e8))/0x2+parseInt(j(0x1e3))/0x3*(-parseInt(j(0x1e7))/0x4)+-parseInt(j(0x1df))/0x5+parseInt(j(0x1e5))/0x6*(-parseInt(j(0x1e1))/0x7)+parseInt(j(0x1d1))/0x8*(parseInt(j(0x1e4))/0x9)+parseInt(j(0x1ce))/0xa*(parseInt(j(0x1d8))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a137c,0xce924));const a137b=(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;};}()),a137a=a137b(this,function(){const k=a137d;return a137a[k(0x1cf)]()[k(0x1d2)](k(0x1d0))[k(0x1cf)]()[k(0x1dd)](a137a)['search'](k(0x1d0));});a137a();import{spawn}from'child_process';function a137d(a,b){const c=a137c();return a137d=function(d,e){d=d-0x1ce;let f=c[d];return f;},a137d(a,b);}import{Log}from'../log/log.class.js';export class SpawnAsync{static['withSpinner'](a,b,c){return new Promise((d,e)=>{const l=a137d,f=Log[l(0x1e6)](),g=c?.['cwd']||'.';c?.['message']&&f['start'](c?.[l(0x1e0)]);const h=spawn(a,b,{'cwd':g,'stdio':c?.['verbose']?l(0x1db):l(0x1d5)});process['on']('SIGINT',()=>{const m=l,i=h[m(0x1dc)];i&&process['kill'](i);}),h['on'](l(0x1e2),i=>{const n=l;console[n(0x1da)](i);}),h['on'](l(0x1d3),()=>{const o=l;c?.[o(0x1e0)]&&f['success'](),d();}),h['on'](l(0x1d4),()=>{const p=l;c?.[p(0x1e0)]&&f[p(0x1d9)](),d();}),h['on'](l(0x1d7),()=>{const q=l;c?.[q(0x1e0)]&&f[q(0x1de)](),e();});});}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a138d(a,b){var c=a138c();return a138d=function(d,e){d=d-0xa0;var f=c[d];return f;},a138d(a,b);}(function(a,b){var f=a138d,c=a();while(!![]){try{var d=-parseInt(f(0xa3))/0x1+-parseInt(f(0xab))/0x2*(parseInt(f(0xa5))/0x3)+parseInt(f(0xa9))/0x4+-parseInt(f(0xa4))/0x5+parseInt(f(0xaa))/0x6+-parseInt(f(0xa1))/0x7+-parseInt(f(0xa8))/0x8*(-parseInt(f(0xa6))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a138c,0xef741));var a138b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a138d;if(c){var e=c[g(0xa2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a138a=a138b(this,function(){var h=a138d;return a138a[h(0xa0)]()['search'](h(0xa7))['toString']()[h(0xac)](a138a)['search'](h(0xa7));});function a138c(){var i=['(((.+)+)+)+$','265784QqYRKX','3738800CncVQd','10096134DHdeQi','619498FXEffy','constructor','toString','4303187uWxipq','apply','1016829EUVQUu','7173020BjykMT','9rZPMDl','639elZaHQ'];a138c=function(){return i;};return a138c();}a138a();export{};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a139p=a139d;(function(a,b){const m=a139d,c=a();while(!![]){try{const d
|
|
1
|
+
const a139p=a139d;(function(a,b){const m=a139d,c=a();while(!![]){try{const d=-parseInt(m(0x1b4))/0x1+parseInt(m(0x1b8))/0x2*(parseInt(m(0x1a4))/0x3)+-parseInt(m(0x1aa))/0x4*(-parseInt(m(0x1a5))/0x5)+parseInt(m(0x1ba))/0x6+parseInt(m(0x1a3))/0x7+parseInt(m(0x199))/0x8+-parseInt(m(0x193))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a139c,0xda964));const a139b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a139d;if(c){const e=c[n(0x198)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a139a=a139b(this,function(){const o=a139d;return a139a[o(0x19b)]()[o(0x1a2)](o(0x1ad))[o(0x19b)]()[o(0x194)](a139a)[o(0x1a2)](o(0x1ad));});function a139c(){const x=['error','pem','inherit','19684BiYaUv','push','sshVerbose','(((.+)+)+)+$','close','ConnectTimeout=2','ssh\x20','success','ssh','ignore','25851anfkhQ','withSpinner','verbose','port','1449986weXeTJ','concat','7436838xTPKJo','34749027JihHOn','constructor','message','dest','2>&1','apply','13200104UiUHCQ','join','toString','ping','host','user','env','tty','disconnect','search','2444505BrKlDn','6veWbRx','95IxNkyJ','source'];a139c=function(){return x;};return a139c();}a139a();function a139d(a,b){const c=a139c();return a139d=function(d,e){d=d-0x193;let f=c[d];return f;},a139d(a,b);}import a139e from'path';import{execSync,spawnSync,spawn}from'child_process';import{Log}from'../log/log.class.js';export class SSH{static [a139p(0x1b2)]=(a,b,c)=>{return new Promise((d,e)=>{const q=a139d,f=b[q(0x19e)]+'@'+b[q(0x19d)],g=a139e[q(0x19a)](b[q(0x19f)],b[q(0x1a8)]),h=c?.[q(0x1a0)]||![],i=c?.['sshVerbose']||![];let j=[];h&&j['push']('-t');i&&j['push']('-v');j=j[q(0x1b9)](['-o',q(0x1af),'-i',g,'-p',b[q(0x1b7)],f,a]);const k=Log[q(0x1b5)]();c?.['message']&&k['start'](c?.['message']);const l=spawn('ssh',j,{'stdio':c?.[q(0x1b6)]?q(0x1a9):q(0x1b3)});l['on'](q(0x1a1),()=>{const r=q;c?.[r(0x195)]&&k[r(0x1b1)](),d();}),l['on'](q(0x1ae),()=>{const s=q;c?.['message']&&k[s(0x1b1)](),d();}),l['on'](q(0x1a7),()=>{const t=q;c?.[t(0x195)]&&k['failure'](),e();});});};static ['sshSync']=(a,b,c)=>{const u=a139p,d=b['user']+'@'+b[u(0x19d)],e=a139e[u(0x19a)](b['env'],b[u(0x1a8)]),f=c?.[u(0x1a0)]||![],g=c?.[u(0x1ac)]||![];let h=[];f&&h[u(0x1ab)]('-t'),g&&h[u(0x1ab)]('-v'),h=h['concat'](['-o',u(0x1af),'-i',e,'-p',b[u(0x1b7)],d,a]),spawnSync(u(0x1b2),h,{'stdio':c?.[u(0x1b6)]?u(0x1a9):u(0x1b3)});};static[a139p(0x19c)](a,b,c){const v=a139p,d=b[v(0x19e)]+'@'+b[v(0x19d)],e=a139e['join'](b[v(0x19f)],b[v(0x1a8)]),f=c?.[v(0x1a0)]||![];let g=[];f&&g[v(0x1ab)]('-t');g=g[v(0x1b9)](['-o',v(0x1af),'-i',e,'-p',b[v(0x1b7)],d,a,v(0x197)]);const h=v(0x1b0)+g['join']('\x20');return execSync(h)['toString']();}static['scp'](a,b){const w=a139p,c=b['user']+'@'+b[w(0x19d)]+':'+a[w(0x196)],d=a139e['join'](b['env'],b[w(0x1a8)]),e=['-i',d,'-P',b[w(0x1b7)],a[w(0x1a6)],c];spawnSync('scp',e,{'stdio':a[w(0x1b6)]?w(0x1a9):w(0x1b3)});}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a140d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a140d,c=a();while(!![]){try{var d=parseInt(f(0x124))/0x1*(-parseInt(f(0x12b))/0x2)+-parseInt(f(0x12a))/0x3*(-parseInt(f(0x12d))/0x4)+-parseInt(f(0x128))/0x5*(parseInt(f(0x126))/0x6)+parseInt(f(0x129))/0x7*(-parseInt(f(0x127))/0x8)+parseInt(f(0x130))/0x9*(parseInt(f(0x125))/0xa)+-parseInt(f(0x12e))/0xb*(parseInt(f(0x12c))/0xc)+parseInt(f(0x12f))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a140c,0x80973));function a140d(a,b){var c=a140c();return a140d=function(d,e){d=d-0x122;var f=c[d];return f;},a140d(a,b);}function a140c(){var h=['1125730ekRdof','3409XYQBUq','79155vrcTzL','282zYxOsW','2049660ndQwRA','32ABstnL','11iJxiMp','13231374IahUoO','9090fGpoHO','(((.+)+)+)+$','toString','search','155MIsGJW','9160dOlpJS','18dJqgUP','12472yckJkh'];a140c=function(){return h;};return a140c();}var a140b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a140a=a140b(this,function(){var g=a140d;return a140a[g(0x122)]()[g(0x123)](g(0x131))[g(0x122)]()['constructor'](a140a)[g(0x123)](g(0x131));});a140a();export{};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a141j=a141d;(function(a,b){const f=a141d,c=a();while(!![]){try{const d=parseInt(f(0x91))/0x1+parseInt(f(0x96))/0x2*(parseInt(f(0x83))/0x3)+parseInt(f(0x8c))/0x4*(-parseInt(f(0x8b))/0x5)+parseInt(f(0x8d))/0x6+parseInt(f(0x97))/0x7+parseInt(f(0x99))/0x8*(-parseInt(f(0x88))/0x9)+-parseInt(f(0x80))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a141c,0xc3981));const a141b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a141d;if(c){const e=c[g(0x9c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a141a=a141b(this,function(){const h=a141d;return a141a[h(0x90)]()['search'](h(0x8a))['toString']()[h(0x89)](a141a)[h(0x84)]('(((.+)+)+)+$');});a141a();function a141c(){const l=['306KPleks','constructor','(((.+)+)+)+$','30zQKHdB','509468pkuyKZ','6062772XQYOOx','-newkey','keyName','toString','1246341NTutbh','-keyout','openssl.conf','cwd','inherit','1926334YqCiIq','9349872RVVmcY','-nodes','193688pnDKWJ','rsa:2048','openssl','apply','-config','req','crtName','21671370tKEHLK','-new','push','3QZoiqT','search','useConfig','-out','genSSC'];a141c=function(){return l;};return a141c();}function a141d(a,b){const c=a141c();return a141d=function(d,e){d=d-0x80;let f=c[d];return f;},a141d(a,b);}import{spawnSync}from'child_process';export class SSL{static['genCSR'](a){const i=a141d,b=a[i(0x94)]?a[i(0x94)]:process[i(0x94)](),c=['req',i(0x81),i(0x8e),i(0x9a),i(0x98),i(0x92),a[i(0x8f)],i(0x86),a['csrName']];a[i(0x85)]&&(c[i(0x82)](i(0x9d)),c[i(0x82)](i(0x93))),spawnSync(i(0x9b),c,{'stdio':i(0x95),'cwd':b});}static[a141j(0x87)](a){const k=a141j,b=a[k(0x94)]?a[k(0x94)]:process['cwd'](),c=[k(0x9e),'-x509',k(0x81),'-key',a[k(0x8f)],'-out',a[k(0x9f)]];a[k(0x85)]&&(c['push'](k(0x9d)),c[k(0x82)](k(0x93))),spawnSync(k(0x9b),c,{'stdio':k(0x95),'cwd':b});}}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maka/maka-cli",
|
|
3
3
|
"//": "NOTE: don't forget to update version.ts and fsi.class.ts",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.7.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"summary": "A command line tool for scaffolding Meteor 2.x applications using either React.",
|
|
7
7
|
"description": "A command line tool for scaffolding Meteor 2.x applications using React.",
|
|
@@ -74,6 +74,7 @@
|
|
|
74
74
|
"@types/cli-color": "^2.0.3",
|
|
75
75
|
"@types/cli-table": "^0.3.2",
|
|
76
76
|
"@types/ejs": "^3.1.2",
|
|
77
|
+
"@types/eslint": "^8.44.2",
|
|
77
78
|
"@types/fibers": "^3.1.2",
|
|
78
79
|
"@types/http-proxy": "^1.17.12",
|
|
79
80
|
"@types/humps": "^2.0.4",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const a109x=a109d;(function(a,b){const u=a109d,c=a();while(!![]){try{const d=-parseInt(u(0xd4))/0x1+parseInt(u(0xd2))/0x2*(parseInt(u(0xe4))/0x3)+parseInt(u(0xc2))/0x4+parseInt(u(0xcf))/0x5*(-parseInt(u(0xb9))/0x6)+-parseInt(u(0xc9))/0x7*(parseInt(u(0xae))/0x8)+-parseInt(u(0xde))/0x9+parseInt(u(0xd1))/0xa*(parseInt(u(0xb6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a109c,0xa83fb));function a109c(){const z=['true','Generate\x20a\x20standard\x20MUI\x20layout','{\x20props.children\x20}','32IXGqfA','constructor','getDirectories','fsi','/imports/ui/','No\x20layouts\x20selected','{this.props.children}','jsx','275zgVKqJ','baseDir','{\x20this.props.children\x20}','2056914KgxuqO','basic-app-bar','pathFromApp','engines','{props.children}','layouts','tsx','error','findAppDirectory','3405520vXricA','ssr','length','-hook\x22>','injectIntoFile','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20layout\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','injectImport','839272Ospdce','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','/imports/startup/lib/templates','create','.js','react','15eDeVMV','layout','958250vBMUSR','26498IPDedR','<div\x20id=\x22','1032550CqnzYF','/imports/startup/client/templates','search','\x20/>\x0a','MATERIAL','imports','replace','injectTemplateModule','apply','-component\x22>','11006334VMpNLQ','template','(((.+)+)+)+$','checkbox','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{layout,\x20l}','options','273aqvePv','getProjectConfig','maka\x20g:k:m:l'];a109c=function(){return z;};return a109c();}const a109b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a109d;if(c){const e=c[v(0xdc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a109a=a109b(this,function(){const w=a109d;return a109a['toString']()['search']('(((.+)+)+)+$')['toString']()[w(0xaf)](a109a)[w(0xd6)](w(0xe0));});a109a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';function a109d(a,b){const c=a109c();return a109d=function(d,e){d=d-0xa9;let f=c[d];return f;},a109d(a,b);}import a109e from'path';import a109f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a109x(0xcc)]({'name':a109x(0xd0),'aliases':['l'],'usage':a109x(0xe2),'shortDesc':a109x(0xac),'validOpts':[a109x(0xbe)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a109x(0xd8)]},'examples':[a109x(0xaa)],'description':a109x(0xc7)},async function(a,b){const y=a109x;try{const c=y(0xba),d=this[y(0xb1)][y(0xa9)](),f=d[y(0xbc)][y(0xc3)]===y(0xab),g=this[y(0xb1)][y(0xc1)](),h=a109e['join'](g,y(0xd9),'ui',y(0xbe)),i=this[y(0xb1)][y(0xb0)](h),j=await Actions[y(0xe3)]({'type':y(0xe1),'name':y(0xbe),'message':y(0xca),'choices':i});if(j[y(0xbe)][y(0xc4)]===0x0){Log[y(0xc0)](y(0xb3));return;}const k=b['baseDir']?y(0xb2)+b[y(0xb7)]:'/imports/ui/hooks',l=this['fsi'][y(0xbb)]({'pathParts':[k,b['dir'],paramCase(c),paramCase(c)]}),m={'name':headerCase(d['appName'])[y(0xda)]('-','\x20')};this[y(0xb1)][y(0xdf)]({'srcPath':'kit/mui/frame/'+c+y(0xcd),'destPath':l+y(0xcd),'framework':y(0xce),'context':m,'config':d,'force':![],'ignore':!![]});const n=''+k+b['dir']+'/'+c+'/'+c;await this[y(0xb1)][y(0xdb)](c,d,n);const {layouts:o}=j;for(const p of o){const q=this[y(0xb1)]['getFiles'](a109e['join'](h,p),{'extensions':[y(0xb5),y(0xbf)]});for(const r of q){const s=a109e['join'](h,p,r);await this[y(0xb1)][y(0xc8)]({'filePath':s,'importName':pascalCase(c),'modulePath':f?y(0xcb):y(0xd5),'isNamedExport':!![]}),await this[y(0xb1)][y(0xc6)]({'filePath':s,'content':'<'+pascalCase(c)+y(0xd7),'begin':[y(0xd3)+p+y(0xdd),'<div\x20id=\x22'+p+y(0xc5)],'end':[y(0xb4),y(0xb8),y(0xbd),y(0xad)]});}}}catch(t){t&&Log['error'](t);}},a109f);
|
|
File without changes
|
|
File without changes
|