@maka/maka-cli 5.1.22 → 5.1.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/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/cecr.sub.cmd.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/decr.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/lecr.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/profile.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/register.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/testCmd/_index.js +1 -1
- package/bundle/obf/src/commands/testCmd/jest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/testCmd/mocha.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/testCmd/test.command.js +1 -1
- package/bundle/obf/src/commands/undo.js +1 -1
- package/bundle/obf/src/commands/uninstall.js +1 -1
- package/bundle/obf/src/commands/version/_index.js +1 -1
- package/bundle/obf/src/commands/version/list.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/version/use.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/version/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/aws/_index.js +1 -1
- package/bundle/obf/src/generators/aws/aws.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.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/auth/_index.js +1 -1
- package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
- package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
- package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
- package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
- package/bundle/obf/src/generators/kits/kit.js +1 -1
- package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
- package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
- package/bundle/obf/src/generators/layout.js +1 -1
- package/bundle/obf/src/generators/maka.gen.js +1 -1
- package/bundle/obf/src/generators/methods.js +1 -1
- package/bundle/obf/src/generators/package.js +1 -1
- package/bundle/obf/src/generators/page.js +1 -1
- package/bundle/obf/src/generators/publish.js +1 -1
- package/bundle/obf/src/generators/route.js +1 -1
- package/bundle/obf/src/generators/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/logger.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/service.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/cfg/cfg.class.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/mpi/mpi.class.js +1 -1
- package/bundle/obf/src/tools/options/options.class.js +1 -1
- package/bundle/obf/src/tools/pkg/pkg.class.js +1 -1
- package/bundle/obf/src/tools/progress/progress.class.js +1 -1
- package/bundle/obf/src/tools/scaffold/scaffold.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a167z=a167d;function a167d(a,b){const c=a167c();return a167d=function(d,e){d=d-0x1f1;let f=c[d];return f;},a167d(a,b);}(function(a,b){const v=a167d,c=a();while(!![]){try{const d=parseInt(v(0x1ff))/0x1*(-parseInt(v(0x26b))/0x2)+-parseInt(v(0x236))/0x3+parseInt(v(0x241))/0x4*(-parseInt(v(0x251))/0x5)+parseInt(v(0x280))/0x6*(parseInt(v(0x281))/0x7)+-parseInt(v(0x23d))/0x8*(parseInt(v(0x279))/0x9)+-parseInt(v(0x22b))/0xa*(parseInt(v(0x246))/0xb)+parseInt(v(0x234))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a167c,0x6151f));const a167b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a167d;if(c){const e=c[w(0x253)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a167a=a167b(this,function(){const x=a167d;return a167a['toString']()[x(0x257)]('(((.+)+)+)+$')[x(0x27b)]()[x(0x207)](a167a)[x(0x257)](x(0x24a));});a167a();function a167c(){const a6=['adjustIndentation','ico','\x27;\x0a','injectImport','injectImport()','push','\x20->','replace','exit','trim','injectTemplateModule()','.js','\x5cS*$','filter','release','normalize','rewriteDestinationPathForType','startup','injectAtBeginningOfFile','platform','engineAndTypeFromfilePath','stringify','repeat','engines','\x20from\x20\x27','map','pathFromApp','No\x20app\x20directory\x20found','template','existsSync','Unable\x20to\x20find\x20the\x20target\x20block\x20to\x20inject\x20content.','injectAfterLineNumber','171638dGfaUs','imports','pathFromApp()','.js.tsx','message','--minimal','createDirectory','pathFromTemplates()','constructor','injectAroundString','less','rewriteDestinationPathForEngine','.git','injectIntoFile','getInstance','engineAndTypeFromfilePath()','template()','\x20}\x20from\x20\x27','pathFromAppWithNoReWrite()','Error\x20in\x20injectIntoCodeBlock:\x20','utf8','injectAtEndOfFile()','error','isFile','isTemplateForEngine','No\x20pathParts\x20option\x20provided','tsx','css','concat','injectAfterLineNumber()','readFileSync','promisify','detectIndentation','\x20doesn\x27t\x20exist','[\x5cs\x5cS]*?)(','reduce','rewriteSourcePathForEngine()','scss','base64','png','readdirSync','mpi','getCommonIndentSize','.js.jsx','660PYCZTE','noRename','from\x20\x27','length','injectAtEndOfFile','import\x20','env','engine','isDirectory','13341984iwDIWQ','lib','180495pYtdTS','pop','html','type','findAppDirectory','render','Couldn\x27t\x20find\x20a\x20source\x20template\x20in\x20','2391096sTKUDw','injectAroundString()','copyTemplateDirectory()','MAKA_DEV','28JYPINV','createFile','\x20create\x20','templateContent','json','66zBxHhF','rewriteSourcePathForEngine','injectIntoFile()','isTemplateForEngine()','(((.+)+)+)+$','injectTemplateModule','templates.js','forEach','No\x20file\x20found\x20to\x20inject\x20content\x20into\x20at\x20path\x20','calculateMode','.jsx','464565KJTYBA','No\x20filePath\x20provided\x20to\x20injectAtBeginningOfFile()','apply','warn','Meteor\x20project\x20already\x20exists\x20at\x20','copyTemplateDirectory','search','writeSourcePath','--release\x20','none','match','.meteor','test','split','\x20updated\x20file\x20','writeFileSync','instance','cwd','some','relative','MAKA_COMMAND_PATH','includes','pathFromTemplates','No\x20matching\x20section\x20found.','meteor','slice','2cYQRzt','verbose','indexOf','header','\x20from','sep','startsWith','yaml','fileContainsString','fsi','alpha','from','No\x20file\x20found\x20at\x20path\x20','injectAtBeginningOfFile()','9VLchfo','src/templates/','toString','While\x20injecting\x20','isArray','join','splice','4206KfOvGA','4676VdzQvR'];a167c=function(){return a6;};return a167c();}import a167e from'path';import a167f from'fs';import a167g from'util';import{exec}from'child_process';import a167h from'delete';import a167i from'ejs';import{pascalCase}from'change-case';import{Log}from'../log/log.class.js';const errorHandler=(a,b)=>{const y=a167d;process[y(0x231)][y(0x240)]==='True'&&Log[y(0x215)]('Error\x20in\x20'+a),b&&console[y(0x215)](b);},isWin=process[a167z(0x1f2)]==='win32',treeSymbol=isWin?a167z(0x288):'\x20┗';export class Scaffold{static [a167z(0x261)];[a167z(0x274)];[a167z(0x228)];constructor(a,b){const A=a167z;this[A(0x274)]=a,this[A(0x228)]=b;}static[a167z(0x20d)](a,b){const B=a167z;return!Scaffold['instance']&&(Scaffold[B(0x261)]=new Scaffold(a,b)),Scaffold[B(0x261)];}async['createEmptyMeteorProject'](a,b){const C=a167z;b['cwd']=b[C(0x262)]||'.';const c=a167e['join'](b[C(0x262)],a),d=a167e[C(0x27e)](c,C(0x25c));if(this[C(0x274)]['isDirectory'](d))throw new Error(C(0x255)+JSON['stringify'](c));const e=C(0x204),f=a167e[C(0x27e)](b[C(0x262)]),g=a167g[C(0x21e)](exec),h=b[C(0x290)]?C(0x259)+b[C(0x290)]:'';b[C(0x290)]&&b[C(0x290)]['includes'](C(0x275))&&(Log[C(0x254)]('Creating\x20a\x20new\x20Meteor\x20project\x20with\x20an\x20alpha\x20release:\x20'+b[C(0x290)]),Log[C(0x254)]('Please\x20report\x20any\x20issues\x20to\x20https://github.com/maka-io/maka-cli/issues'));try{await g(this[C(0x228)][C(0x269)]+C(0x243)+a+'\x20'+e+'\x20'+h,{'cwd':f});}catch(k){Log[C(0x215)]('\x0a'+k[C(0x203)]);throw k;}const i=a167e['join'](f,a);if(!a167f[C(0x1fc)](i))throw new Error('Directory\x20'+i+C(0x220));const j=a167f['readdirSync'](i);for(const l of j){if(l!==C(0x20b)&&l!==C(0x25c)){const m=a167e[C(0x27e)](i,l);await a167h(m,{'force':!![]});}}}[a167z(0x1f3)]({filePath:a}){const D=a167z;try{const b=/\.([A-Za-z0-9.]+)$/g;let c=a[D(0x25b)](b);c=c&&c[0x0]['split']('.',0x3);if(!c)return{'type':undefined,'engine':undefined};let d=c[D(0x237)](),f=c[D(0x237)]()||d;if(d)d=d['replace']('.','');if(f)f=f[D(0x289)]('.','');return{'type':f,'engine':d};}catch(g){errorHandler(D(0x20e),g),process['exit'](0x1);}}[a167z(0x292)]({pathParts:a,config:b}){const E=a167z;try{const c=a[E(0x27e)](a167e[E(0x270)]),d=this[E(0x1f3)]({'filePath':c})[E(0x239)],f=b?.[E(0x1f6)][d],g=new RegExp('\x5c.'+d+E(0x28e));return!d||!f?c:c[E(0x289)](g,'.'+d);}catch(h){errorHandler('rewriteDestinationPathForType()',h),process['exit'](0x1);}}['isTemplateForEngine']({pathParts:a,config:b}){const F=a167z;try{if(!b)throw new Error('No\x20configuration\x20so\x20can\x27t\x20determine\x20engines.');const c=a[F(0x27e)](a167e[F(0x270)]),d=this[F(0x1f3)]({'filePath':c});if(!d[F(0x239)]||!d[F(0x232)])return!![];const f=b[F(0x1f6)][d[F(0x239)]];if(!f)return!![];return f===d[F(0x232)];}catch(g){errorHandler(F(0x249),g),process['exit'](0x1);}}[a167z(0x258)]({pathParts:pathParts=[]}){const G=a167z;return pathParts[G(0x27e)](a167e[G(0x270)]);}['rewriteDestinationPathForEngine']({pathParts:pathParts=[],config:a}){const H=a167z;try{const b=pathParts[H(0x27e)](a167e['sep']),c=this[H(0x1f3)]({'filePath':b})[H(0x239)],d=a?.[H(0x1f6)][c],f=new RegExp('\x5c.'+c+'\x5cS*$');return!c||!d?b:b[H(0x289)](f,'.'+d);}catch(g){errorHandler('rewriteDestinationPathForEngine()',g),process[H(0x28a)](0x1);}}['rewriteSourcePathForEngine']({pathParts:pathParts=[],framework:framework=a167z(0x269),config:a}){const I=a167z;try{const b=a167e[I(0x291)](pathParts[I(0x27e)](a167e[I(0x270)]));if(!b['endsWith']('.js'))return b;const c='js';if(!a?.[I(0x1f6)]||!a?.[I(0x1f6)][c])return b;const d=a[I(0x1f6)][c],f=d===I(0x219)?[I(0x202),'.js.ts','.js']:[I(0x22a),I(0x28d)];for(const g of f){const h=b[I(0x289)](/\.js$/,g),i=a167e[I(0x27e)]('templates',framework,h),j=a167e[I(0x291)](a167e[I(0x27e)](global[I(0x265)],i));if(a167f[I(0x1fc)](j))return h;}return b;}catch(k){errorHandler(I(0x223),k),process[I(0x28a)](0x1);}}[a167z(0x267)]({pathParts:a,framework:framework='meteor',config:b}){const J=a167z;try{const c=this[J(0x247)]({'pathParts':a,'framework':framework,'config':b}),d=a167e[J(0x27e)](J(0x27a)+framework,c),f=a167e[J(0x27e)](global[J(0x265)],'..',d);return f;}catch(g){errorHandler(J(0x206),g),process['exit'](0x1);}}[a167z(0x244)]({srcPath:a,context:b,framework:c,config:d}){const K=a167z;try{let f=this[K(0x267)]({'pathParts':[a],'framework':c,'config':d});const {engine:g}=this[K(0x1f3)]({'filePath':f}),h=[K(0x21a),K(0x224),K(0x209),K(0x238),'js','jsx','ts','tsx',K(0x245),'env',K(0x272),'template'],i=[K(0x226),K(0x283)];if(!this[K(0x274)][K(0x216)](f)){g==='jsx'&&(f=f[K(0x289)](K(0x250),''));g===K(0x219)&&(f=f[K(0x289)]('.tsx',''));if(!this[K(0x274)][K(0x216)](f))throw new Error(K(0x23c)+JSON[K(0x1f4)](f));}const j=f[K(0x25e)]('.'),k=a167e[K(0x291)](f)[K(0x25e)](a167e[K(0x270)]),l=k[k[K(0x22e)]-0x1]==='Dockerfile',m=i[K(0x266)](j[j[K(0x22e)]-0x1]),n=a167f['readFileSync'](f);if(l)return a167i[K(0x23b)](n[K(0x27b)](),b)[K(0x28b)]();if(m)return Buffer[K(0x276)](n)[K(0x27b)](K(0x225));if(!h[K(0x266)](j[j[K(0x22e)]-0x1]))return n[K(0x27b)]()[K(0x28b)]();return a167i[K(0x23b)](n[K(0x27b)](),b||{})[K(0x28b)]();}catch(o){errorHandler('templateContent()',o),process[K(0x28a)](0x1);}}async[a167z(0x1fb)]({srcPath:a,destPath:b,context:c,config:d,framework:f,force:force=![],ignore:ignore=![]}){const L=a167z;try{const g=[L(0x226),L(0x283)],h=g['includes'](a[L(0x25e)]('.')['pop']()||''),i=this[L(0x244)]({'srcPath':a,'context':c,'framework':f,'config':d})+'\x0a';c?.[L(0x22c)]?b=this['rewriteDestinationPathForType']({'pathParts':[b],'config':d}):b=this['rewriteDestinationPathForEngine']({'pathParts':[b],'config':d});const j=await this[L(0x274)][L(0x242)]({'filePath':b,'data':i,'opts':{'force':force,'isImage':h,'absolute':![],'ignore':ignore}});return j;}catch(k){errorHandler(L(0x20f),k),process[L(0x28a)](0x1);}}async[a167z(0x256)]({srcPath:a,destPath:b,context:c,ignore:d,keep:f,framework:g,config:h}){const M=a167z;try{const i=this[M(0x267)]({'pathParts':[a],'framework':g,'config':h}),j=this[M(0x267)]({'pathParts':[],'framework':g,'config':h}),k=n=>{const N=M;return n[N(0x289)](j,'');},l=n=>{const O=M;return n[O(0x289)](i,b);};await this[M(0x274)][M(0x205)]({'dirPath':b});const m=a167f[M(0x227)](i);for(const n of m){try{const o=a167e[M(0x27e)](i,n),p=k(o),q=l(o),r=d[M(0x1f8)](t=>a167e[M(0x291)](t)),s=a167e[M(0x291)](a167e['join'](a,n));if(r[M(0x266)](s))continue;if(this[M(0x274)][M(0x233)](o))await this[M(0x256)]({'srcPath':p,'destPath':q,'context':c,'ignore':d,'keep':f,'framework':g,'config':h});else{if(this['fsi']['isFile'](o)&&this[M(0x217)]({'pathParts':[o],'config':h}))await this[M(0x1fb)]({'srcPath':p,'destPath':q,'context':c,'framework':g,'config':h});else f[M(0x26d)](a167e['join'](a,n))>=0x0&&this['fsi'][M(0x216)](o)&&(c[M(0x22c)]=!![],await this[M(0x1fb)]({'srcPath':p,'destPath':q,'context':c,'framework':g,'config':h}),c[M(0x22c)]=![]);}}catch(t){console[M(0x215)](t),process['exit'](0x1);}}}catch(u){errorHandler(M(0x23f),u),process[M(0x28a)](0x1);}}async[a167z(0x1f1)]({filePath:a,content:b,opts:c}){const P=a167z;if(!a)throw new Error(P(0x252));try{!this[P(0x274)][P(0x216)](a)&&await this[P(0x274)][P(0x242)]({'filePath':a,'data':b});let d=a167f['readFileSync'](a,P(0x213));d=b+'\x0a'+d,a167f[P(0x260)](a,d),c?.['verbose']&&Log[P(0x26e)](treeSymbol+P(0x25f)+a167e[P(0x264)](process[P(0x262)](),a));}catch(f){errorHandler(P(0x278),f),process['exit'](0x1);}}async[a167z(0x22f)]({filePath:a,content:b,opts:c}){const Q=a167z;try{if(!this[Q(0x274)][Q(0x216)](a))await this[Q(0x274)]['createFile']({'filePath':a,'data':b});else{let d=a167f[Q(0x21d)](a,Q(0x213));!d[Q(0x266)](b)&&(d=d+'\x0a'+b,a167f[Q(0x260)](a,d)),c?.[Q(0x26c)]&&Log[Q(0x26e)](treeSymbol+'\x20updated\x20file\x20'+a167e[Q(0x264)](process[Q(0x262)](),a));}}catch(f){errorHandler(Q(0x214),f),process[Q(0x28a)](0x1);}}async[a167z(0x208)]({filePath:a,aboveContent:b,belowContent:c,targetString:d,indentAdjustment:indentAdjustment=0x0,targetIndentAdjustment:targetIndentAdjustment=0x0}){const R=a167z;try{if(!this[R(0x274)][R(0x216)](a))throw Log[R(0x215)](R(0x277)+JSON[R(0x1f4)](a));const f=a167f['readFileSync'](a,R(0x213)),g=f[R(0x289)](/\r\n|\r/g,'\x0a'),h=g[R(0x25e)]('\x0a'),j=this['detectIndentation'](h),k=b[R(0x289)](/\r\n|\r/g,'\x0a')[R(0x25e)]('\x0a'),l=c[R(0x289)](/\r\n|\r/g,'\x0a')[R(0x25e)]('\x0a'),m=new RegExp(Array[R(0x27d)](d)?d['join']('|'):d,'i'),n=[];for(let p=0x0;p<h['length'];p++){const q=h[p];if(m[R(0x25d)](q)){const r=this[R(0x282)](j,targetIndentAdjustment),s=r+q[R(0x28b)]();k[R(0x24d)](t=>{const S=R;!g[S(0x266)](t[S(0x28b)]())&&n['push'](this['adjustIndentation'](j,indentAdjustment)+t);}),n[R(0x287)](s),l[R(0x24d)](t=>{const T=R;!g[T(0x266)](t[T(0x28b)]())&&n[T(0x287)](this[T(0x282)](j,indentAdjustment)+t);});}else n[R(0x287)](q);}const o=n[R(0x27e)]('\x0a');a167f[R(0x260)](a,o),Log['header'](treeSymbol+R(0x25f)+a167e['relative'](process[R(0x262)](),a));}catch(t){errorHandler(R(0x23e),t),process[R(0x28a)](0x1);}}[a167z(0x282)](a,b){if(b===0x0)return a;const c=a['length']+b;return c>0x0?a[0x0]['repeat'](c):'';}[a167z(0x21f)](a){const U=a167z;let b=0x0,c=0x0;a[U(0x24d)](f=>{const V=U;if(f['startsWith']('\x20'))b++;else f[V(0x271)]('\x09')&&c++;});const d=b>=c?'\x20':'\x09',e=this[U(0x229)](a,d);return d[U(0x1f5)](e);}[a167z(0x229)](a,b){const W=a167z,c=a[W(0x28f)](d=>d&&d[W(0x271)](b))[W(0x1f8)](d=>{const X=W,e=d[X(0x25b)](new RegExp('^'+b+'+'));return e?e[0x0][X(0x22e)]:0x0;});if(c[W(0x22e)]===0x0)return 0x0;return this[W(0x24f)](c);}[a167z(0x24f)](a){const Y=a167z,b=a['reduce']((c,d)=>{return c[d]=(c[d]||0x0)+0x1,c;},{});return Object['keys'](b)[Y(0x222)]((c,d)=>{const e=b[+c],f=b[+d];return e>f?+c:+d;},0x0);}async['injectIntoCodeBlock']({filePath:a,content:b,begin:c,replace:replace=![]}){const Z=a167z;try{if(!this[Z(0x274)][Z(0x216)](a))throw new Error('File\x20not\x20found:\x20'+a);const d=a167f[Z(0x21d)](a,Z(0x213)),f=d[Z(0x25e)]('\x0a');let g=-0x1,h=-0x1,j=0x0,k=![],l=![];const m=Array[Z(0x27d)](c)?c:[c];for(let o=0x0;o<f['length'];o++){const p=f[o];k&&p[Z(0x266)]('{')&&j++;if(m[Z(0x263)](q=>p[Z(0x266)](q))){g=o,k=!![],j++;continue;}if(k){p[Z(0x266)](b[Z(0x28b)]())&&(l=!![]);if(p[Z(0x266)]('}')){j--;if(j===0x0){h=o;break;}}}}if(g===-0x1||h===-0x1){Log[Z(0x215)]('Unable\x20to\x20find\x20the\x20target\x20block\x20to\x20inject\x20content\x20in\x20'+a),Log[Z(0x215)](Z(0x27c)+b),Log[Z(0x215)]('Looking\x20for\x20'+c);throw new Error(Z(0x1fd));}if(l)return;let n=f[Z(0x26a)](0x0,g+0x1);replace?(n[Z(0x287)](b[Z(0x28b)]()),n[Z(0x287)](f[h])):(n=n[Z(0x21b)](f['slice'](g+0x1,h)),n[Z(0x287)](b[Z(0x28b)]())),n=n['concat'](f[Z(0x26a)](h+0x1)),a167f[Z(0x260)](a,n[Z(0x27e)]('\x0a'),Z(0x213));}catch(q){console[Z(0x215)](Z(0x212),q);throw q;}}async[a167z(0x20c)]({filePath:a,content:c,begin:d,end:f,replace:replace=![]}){const a0=a167z;try{const g=await this[a0(0x274)][a0(0x273)](a,c);if(g)return;if(!this['fsi']['isFile'](a))throw Log[a0(0x215)](a0(0x24e)+JSON[a0(0x1f4)](a));const h=a167f[a0(0x21d)](a,a0(0x213));if(!Array[a0(0x27d)](d))d=[d];if(!Array[a0(0x27d)](f))f=[f];let i=h,j=![];for(const k of d){for(const l of f){const m=new RegExp('('+k+a0(0x221)+l+')','i');i=h['replace'](m,(n,o,p)=>{return j=!![],replace?''+o+c+p:''+o+c+'\x0a'+p;});if(j)break;}if(j)break;}if(!j)throw new Error(a0(0x268));a167f['writeFileSync'](a,i),Log[a0(0x26e)](treeSymbol+a0(0x25f)+a167e[a0(0x264)](process[a0(0x262)](),a));}catch(n){errorHandler(a0(0x248),n),process[a0(0x28a)](0x1);}}async[a167z(0x285)]({filePath:a,importName:b,modulePath:c,isNamedExport:d,injectAtStart:injectAtStart=![]}){const a1=a167z;try{const f=a167f[a1(0x21d)](a,a1(0x213));let g;d?g='import\x20{\x20'+b+a1(0x210)+c+a1(0x284):g=a1(0x230)+b+a1(0x1f7)+c+a1(0x284);const h=f[a1(0x25e)]('\x0a');let j=0x0,k=![];for(const m of h){if(m['includes'](a1(0x22d)+c+'\x27')||m[a1(0x266)]('from\x20\x22'+c+'\x22')){const n=d?new RegExp('\x5cb'+b+'\x5cb','g'):new RegExp(a1(0x230)+b+a1(0x26f));if(m[a1(0x25b)](n)){k=!![];break;}}}if(k)return;if(injectAtStart)for(let o=0x0;o<h['length'];o++){if(h[o]['match'](/^import .* from .*;$/)){j=o;break;}}else{for(let p=0x0;p<h['length'];p++){h[p][a1(0x25b)](/^import .* from .*;$/)&&(j=p);}j++;}h['splice'](j,0x0,g);const l=h['join']('\x0a');a167f[a1(0x260)](a,l,a1(0x213));}catch(q){errorHandler(a1(0x286),q),process[a1(0x28a)](0x1);}}async[a167z(0x24b)](a,b,c){const a2=a167z;try{let d;b[a2(0x1f6)]['ssr']!==a2(0x25a)?d=this[a2(0x1f9)]({'pathParts':[a2(0x200),a2(0x293),a2(0x235),a2(0x24c)],'config':b}):d=this[a2(0x1f9)]({'pathParts':[a2(0x200),'startup','client','templates.js'],'config':b});const f=this[a2(0x20a)]({'pathParts':[d],'config':b}),g='export\x20{\x20'+pascalCase(a)+a2(0x210)+c+'\x27;',h=await this[a2(0x274)][a2(0x273)](f,g);!h&&this['injectAtEndOfFile']({'filePath':f,'content':g+'\x0a'});}catch(i){errorHandler(a2(0x28c),i),process[a2(0x28a)](0x1);}}[a167z(0x1fe)]({filePath:a,content:b,lineNumber:c}){const a3=a167z;try{const d=a167f[a3(0x21d)](a)[a3(0x27b)]()['split']('\x0a');d[a3(0x27f)](c,0x0,b);const f=d[a3(0x27e)]('\x0a');a167f[a3(0x260)](a,f);}catch(g){errorHandler(a3(0x21c),g),process['exit'](0x1);}}[a167z(0x1f9)]({pathParts:a,config:b}){const a4=a167z;try{if(!a)throw new Error(a4(0x218));const c=this[a4(0x247)]({'pathParts':a,'config':b}),d=this[a4(0x274)][a4(0x23a)]();return d?a167e[a4(0x27e)](d,c):'';}catch(f){errorHandler(a4(0x201),f),process[a4(0x28a)](0x1);}}['pathFromAppWithNoReWrite']({pathParts:a,config:b}){const a5=a167z;try{const c=this['writeSourcePath']({'pathParts':a,'config':b}),d=this[a5(0x274)]['findAppDirectory']();if(!d)throw new Error(a5(0x1fa));return a167e[a5(0x27e)](d,c);}catch(f){errorHandler(a5(0x211),f),process[a5(0x28a)](0x1);}}}
|
|
1
|
+
function a167d(a,b){const c=a167c();return a167d=function(d,e){d=d-0x166;let f=c[d];return f;},a167d(a,b);}const a167z=a167d;(function(a,b){const v=a167d,c=a();while(!![]){try{const d=-parseInt(v(0x1f0))/0x1*(parseInt(v(0x1a5))/0x2)+parseInt(v(0x1a1))/0x3+-parseInt(v(0x1b8))/0x4*(parseInt(v(0x199))/0x5)+parseInt(v(0x1b5))/0x6+parseInt(v(0x1dc))/0x7*(parseInt(v(0x19a))/0x8)+-parseInt(v(0x171))/0x9*(parseInt(v(0x182))/0xa)+parseInt(v(0x16e))/0xb*(-parseInt(v(0x1d4))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a167c,0xefacd));const a167b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a167d;if(c){const e=c[w(0x1ac)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a167a=a167b(this,function(){const x=a167d;return a167a[x(0x194)]()[x(0x197)](x(0x16f))[x(0x194)]()[x(0x18a)](a167a)['search'](x(0x16f));});a167a();import a167e from'path';import a167f from'fs';import a167g from'util';import{exec}from'child_process';function a167c(){const a7=['144qgKvaU','\x20doesn\x27t\x20exist','reduce','\x20from\x20\x27','readFileSync','imports','trim','pop','\x20->','isTemplateForEngine','\x5cS*$','\x20updated\x20file\x20','split','writeSourcePath','injectAtBeginningOfFile()','injectImport()','startsWith','78830QAffHE','\x20}\x20from\x20\x27','error','injectAtEndOfFile','png','.js','--minimal','sep','constructor','.js.jsx','No\x20pathParts\x20option\x20provided','from\x20\x27','templates.js','injectTemplateModule','header','ico','replace','pathFromTemplates','toString','injectAroundString','platform','search','keys','55XNMawW','4970200pAsJqV','fileContainsString','yaml','pathFromApp','rewriteSourcePathForEngine','getInstance','engine','3055860CCRkNz','injectAtEndOfFile()','injectImport','Creating\x20a\x20new\x20Meteor\x20project\x20with\x20an\x20alpha\x20release:\x20','4174mCxZGR','cwd','stringify','engines','tsx','startup','rewriteDestinationPathForEngine','apply','template()','isDirectory','exit','message','none','createFile','injectIntoFile()','templateContent','7040802GDtQJq','filter','Couldn\x27t\x20find\x20a\x20source\x20template\x20in\x20','528668UlMIml','injectIntoCodeBlock','writeFileSync','MAKA_COMMAND_PATH','MAKA_DEV','json','concat','slice','repeat','File\x20not\x20found:\x20','No\x20file\x20found\x20at\x20path\x20','Meteor\x20project\x20already\x20exists\x20at\x20','instance','rewriteDestinationPathForType','pathFromAppWithNoReWrite()','forEach','No\x20file\x20found\x20to\x20inject\x20content\x20into\x20at\x20path\x20','Looking\x20for\x20','Dockerfile','rewriteSourcePathForEngine()','No\x20configuration\x20so\x20can\x27t\x20determine\x20engines.','push','join','fsi','utf8','map','base64','type','204TNCrMG','from','isArray','calculateMode','.js.tsx','mpi','injectAtBeginningOfFile','.jsx','14wvqtoq','includes','isFile','import\x20{\x20','injectAroundString()','length','template','engineAndTypeFromfilePath()','Directory\x20','lib','.tsx','html','[\x5cs\x5cS]*?)(','.meteor','some','Unable\x20to\x20find\x20the\x20target\x20block\x20to\x20inject\x20content.','existsSync','findAppDirectory','injectTemplateModule()','splice','137DOeaLx','verbose','injectAfterLineNumber','createEmptyMeteorProject','\x20from','relative','rewriteDestinationPathForType()','normalize','alpha','css','engineAndTypeFromfilePath','injectAfterLineNumber()','less','copyTemplateDirectory','While\x20injecting\x20','pathFromAppWithNoReWrite','indexOf','render','\x27;\x0a','env','getCommonIndentSize','meteor','endsWith','injectIntoFile','adjustIndentation','match','release','No\x20filePath\x20provided\x20to\x20injectAtBeginningOfFile()','jsx','noRename','readdirSync','379852DAkkNC','(((.+)+)+)+$','import\x20'];a167c=function(){return a7;};return a167c();}import a167h from'delete';import a167i from'ejs';import{pascalCase}from'change-case';import{Log}from'../log/log.class.js';const errorHandler=(a,b)=>{const y=a167d;process[y(0x203)][y(0x1bc)]==='True'&&Log['error']('Error\x20in\x20'+a),b&&console['error'](b);},isWin=process[a167z(0x196)]==='win32',treeSymbol=isWin?a167z(0x179):'\x20┗';export class Scaffold{static [a167z(0x1c4)];['fsi'];['mpi'];constructor(a,b){const A=a167z;this[A(0x1cf)]=a,this[A(0x1d9)]=b;}static[a167z(0x19f)](a,b){const B=a167z;return!Scaffold['instance']&&(Scaffold['instance']=new Scaffold(a,b)),Scaffold[B(0x1c4)];}async[a167z(0x1f3)](a,b){const C=a167z;b[C(0x1a6)]=b[C(0x1a6)]||'.';const c=a167e[C(0x1ce)](b[C(0x1a6)],a),d=a167e['join'](c,'.meteor');if(this[C(0x1cf)][C(0x1ae)](d))throw new Error(C(0x1c3)+JSON[C(0x1a7)](c));const e=C(0x188),f=a167e['join'](b['cwd']),g=a167g['promisify'](exec),h=b[C(0x169)]?'--release\x20'+b[C(0x169)]:'';b[C(0x169)]&&b[C(0x169)]['includes'](C(0x1f8))&&(Log['warn'](C(0x1a4)+b[C(0x169)]),Log['warn']('Please\x20report\x20any\x20issues\x20to\x20https://github.com/maka-io/maka-cli/issues'));try{await g(this[C(0x1d9)]['meteor']+'\x20create\x20'+a+'\x20'+e+'\x20'+h,{'cwd':f});}catch(k){Log[C(0x184)]('\x0a'+k[C(0x1b0)]);throw k;}const i=a167e[C(0x1ce)](f,a);if(!a167f[C(0x1ec)](i))throw new Error(C(0x1e4)+i+C(0x172));const j=a167f[C(0x16d)](i);for(const l of j){if(l!=='.git'&&l!==C(0x1e9)){const m=a167e[C(0x1ce)](i,l);await a167h(m,{'force':!![]});}}}[a167z(0x1fa)]({filePath:a}){const D=a167z;try{const b=/\.([A-Za-z0-9.]+)$/g;let c=a['match'](b);c=c&&c[0x0][D(0x17d)]('.',0x3);if(!c)return{'type':undefined,'engine':undefined};let d=c[D(0x178)](),f=c[D(0x178)]()||d;if(d)d=d['replace']('.','');if(f)f=f[D(0x192)]('.','');return{'type':f,'engine':d};}catch(g){errorHandler(D(0x1e3),g),process[D(0x1af)](0x1);}}['rewriteDestinationPathForType']({pathParts:a,config:b}){const E=a167z;try{const c=a[E(0x1ce)](a167e[E(0x189)]),d=this['engineAndTypeFromfilePath']({'filePath':c})[E(0x1d3)],f=b?.['engines'][d],g=new RegExp('\x5c.'+d+E(0x17b));return!d||!f?c:c['replace'](g,'.'+d);}catch(h){errorHandler(E(0x1f6),h),process[E(0x1af)](0x1);}}['isTemplateForEngine']({pathParts:a,config:b}){const F=a167z;try{if(!b)throw new Error(F(0x1cc));const c=a[F(0x1ce)](a167e[F(0x189)]),d=this[F(0x1fa)]({'filePath':c});if(!d[F(0x1d3)]||!d[F(0x1a0)])return!![];const f=b[F(0x1a8)][d[F(0x1d3)]];if(!f)return!![];return f===d[F(0x1a0)];}catch(g){errorHandler('isTemplateForEngine()',g),process['exit'](0x1);}}[a167z(0x17e)]({pathParts:pathParts=[]}){const G=a167z;return pathParts[G(0x1ce)](a167e[G(0x189)]);}[a167z(0x1ab)]({pathParts:pathParts=[],config:a}){const H=a167z;try{const b=pathParts[H(0x1ce)](a167e[H(0x189)]),c=this['engineAndTypeFromfilePath']({'filePath':b})[H(0x1d3)],d=a?.[H(0x1a8)][c],f=new RegExp('\x5c.'+c+H(0x17b));return!c||!d?b:b['replace'](f,'.'+d);}catch(g){errorHandler('rewriteDestinationPathForEngine()',g),process[H(0x1af)](0x1);}}[a167z(0x19e)]({pathParts:pathParts=[],framework:framework=a167z(0x205),config:a}){const I=a167z;try{const b=a167e[I(0x1f7)](pathParts['join'](a167e[I(0x189)]));if(!b[I(0x206)](I(0x187)))return b;const c='js';if(!a?.['engines']||!a?.[I(0x1a8)][c])return b;const d=a[I(0x1a8)][c],f=d===I(0x1a9)?[I(0x1d8),'.js.ts',I(0x187)]:[I(0x18b),I(0x187)];for(const g of f){const h=b[I(0x192)](/\.js$/,g),i=a167e[I(0x1ce)]('templates',framework,h),j=a167e[I(0x1f7)](a167e[I(0x1ce)](global[I(0x1bb)],i));if(a167f[I(0x1ec)](j))return h;}return b;}catch(k){errorHandler(I(0x1cb),k),process[I(0x1af)](0x1);}}[a167z(0x193)]({pathParts:a,framework:framework=a167z(0x205),config:b}){const J=a167z;try{const c=this[J(0x19e)]({'pathParts':a,'framework':framework,'config':b}),d=a167e[J(0x1ce)]('src/templates/'+framework,c),f=a167e[J(0x1ce)](global[J(0x1bb)],'..',d);return f;}catch(g){errorHandler('pathFromTemplates()',g),process['exit'](0x1);}}[a167z(0x1b4)]({srcPath:a,context:b,framework:c,config:d}){const K=a167z;try{let f=this['pathFromTemplates']({'pathParts':[a],'framework':c,'config':d});const {engine:g}=this[K(0x1fa)]({'filePath':f}),h=[K(0x1f9),'scss',K(0x1fc),K(0x1e7),'js',K(0x16b),'ts',K(0x1a9),K(0x1bd),'env',K(0x19c),'template'],i=[K(0x186),K(0x191)];if(!this[K(0x1cf)][K(0x1de)](f)){g===K(0x16b)&&(f=f['replace'](K(0x1db),''));g===K(0x1a9)&&(f=f[K(0x192)](K(0x1e6),''));if(!this[K(0x1cf)]['isFile'](f))throw new Error(K(0x1b7)+JSON[K(0x1a7)](f));}const j=f[K(0x17d)]('.'),k=a167e[K(0x1f7)](f)[K(0x17d)](a167e[K(0x189)]),l=k[k[K(0x1e1)]-0x1]===K(0x1ca),m=i[K(0x1dd)](j[j[K(0x1e1)]-0x1]),n=a167f[K(0x175)](f);if(l)return a167i[K(0x201)](n[K(0x194)](),b)['trim']();if(m)return Buffer[K(0x1d5)](n)[K(0x194)](K(0x1d2));if(!h[K(0x1dd)](j[j[K(0x1e1)]-0x1]))return n[K(0x194)]()[K(0x177)]();return a167i[K(0x201)](n[K(0x194)](),b||{})['trim']();}catch(o){errorHandler('templateContent()',o),process[K(0x1af)](0x1);}}async[a167z(0x1e2)]({srcPath:a,destPath:b,context:c,config:d,framework:f,force:force=![],ignore:ignore=![]}){const L=a167z;try{const g=[L(0x186),L(0x191)],h=g[L(0x1dd)](a[L(0x17d)]('.')[L(0x178)]()||''),i=this[L(0x1b4)]({'srcPath':a,'context':c,'framework':f,'config':d})+'\x0a';c?.[L(0x16c)]?b=this[L(0x1c5)]({'pathParts':[b],'config':d}):b=this[L(0x1ab)]({'pathParts':[b],'config':d});const j=await this[L(0x1cf)][L(0x1b2)]({'filePath':b,'data':i,'opts':{'force':force,'isImage':h,'absolute':![],'ignore':ignore}});return j;}catch(k){errorHandler(L(0x1ad),k),process['exit'](0x1);}}async[a167z(0x1fd)]({srcPath:a,destPath:b,context:c,ignore:d,keep:f,framework:g,config:h}){const M=a167z;try{const i=this[M(0x193)]({'pathParts':[a],'framework':g,'config':h}),j=this[M(0x193)]({'pathParts':[],'framework':g,'config':h}),k=n=>{const N=M;return n[N(0x192)](j,'');},l=n=>{const O=M;return n[O(0x192)](i,b);};await this[M(0x1cf)]['createDirectory']({'dirPath':b});const m=a167f['readdirSync'](i);for(const n of m){try{const o=a167e[M(0x1ce)](i,n),p=k(o),q=l(o),r=d['map'](t=>a167e[M(0x1f7)](t)),s=a167e[M(0x1f7)](a167e[M(0x1ce)](a,n));if(r['includes'](s))continue;if(this[M(0x1cf)][M(0x1ae)](o))await this[M(0x1fd)]({'srcPath':p,'destPath':q,'context':c,'ignore':d,'keep':f,'framework':g,'config':h});else{if(this[M(0x1cf)]['isFile'](o)&&this[M(0x17a)]({'pathParts':[o],'config':h}))await this[M(0x1e2)]({'srcPath':p,'destPath':q,'context':c,'framework':g,'config':h});else f[M(0x200)](a167e[M(0x1ce)](a,n))>=0x0&&this['fsi'][M(0x1de)](o)&&(c['noRename']=!![],await this['template']({'srcPath':p,'destPath':q,'context':c,'framework':g,'config':h}),c[M(0x16c)]=![]);}}catch(t){console['error'](t),process[M(0x1af)](0x1);}}}catch(u){errorHandler('copyTemplateDirectory()',u),process[M(0x1af)](0x1);}}async[a167z(0x1da)]({filePath:a,content:b,opts:c}){const P=a167z;if(!a)throw new Error(P(0x16a));try{!this[P(0x1cf)][P(0x1de)](a)&&await this[P(0x1cf)][P(0x1b2)]({'filePath':a,'data':b});let d=a167f[P(0x175)](a,'utf8');d=b+'\x0a'+d,a167f[P(0x1ba)](a,d),c?.['verbose']&&Log['header'](treeSymbol+P(0x17c)+a167e[P(0x1f5)](process[P(0x1a6)](),a));}catch(f){errorHandler(P(0x17f),f),process[P(0x1af)](0x1);}}async['injectAtEndOfFile']({filePath:a,content:b,opts:c}){const Q=a167z;try{if(!this['fsi'][Q(0x1de)](a))await this[Q(0x1cf)][Q(0x1b2)]({'filePath':a,'data':b});else{let d=a167f['readFileSync'](a,Q(0x1d0));!d[Q(0x1dd)](b)&&(d=d+'\x0a'+b,a167f['writeFileSync'](a,d)),c?.[Q(0x1f1)]&&Log[Q(0x190)](treeSymbol+'\x20updated\x20file\x20'+a167e[Q(0x1f5)](process[Q(0x1a6)](),a));}}catch(f){errorHandler(Q(0x1a2),f),process[Q(0x1af)](0x1);}}async[a167z(0x195)]({filePath:a,aboveContent:b,belowContent:c,targetString:d,indentAdjustment:indentAdjustment=0x0,targetIndentAdjustment:targetIndentAdjustment=0x0}){const R=a167z;try{if(!this[R(0x1cf)]['isFile'](a))throw Log['error'](R(0x1c2)+JSON[R(0x1a7)](a));const f=a167f[R(0x175)](a,R(0x1d0)),g=f[R(0x192)](/\r\n|\r/g,'\x0a'),h=g[R(0x17d)]('\x0a'),j=this['detectIndentation'](h),k=b['replace'](/\r\n|\r/g,'\x0a')['split']('\x0a'),l=c[R(0x192)](/\r\n|\r/g,'\x0a')[R(0x17d)]('\x0a'),m=new RegExp(Array[R(0x1d6)](d)?d[R(0x1ce)]('|'):d,'i'),n=[];for(let p=0x0;p<h[R(0x1e1)];p++){const q=h[p];if(m['test'](q)){const r=this[R(0x167)](j,targetIndentAdjustment),s=r+q[R(0x177)]();k[R(0x1c7)](t=>{const S=R;!g[S(0x1dd)](t[S(0x177)]())&&n[S(0x1cd)](this[S(0x167)](j,indentAdjustment)+t);}),n[R(0x1cd)](s),l[R(0x1c7)](t=>{const T=R;!g[T(0x1dd)](t['trim']())&&n[T(0x1cd)](this[T(0x167)](j,indentAdjustment)+t);});}else n[R(0x1cd)](q);}const o=n[R(0x1ce)]('\x0a');a167f[R(0x1ba)](a,o),Log[R(0x190)](treeSymbol+R(0x17c)+a167e[R(0x1f5)](process[R(0x1a6)](),a));}catch(t){errorHandler(R(0x1e0),t),process[R(0x1af)](0x1);}}['adjustIndentation'](a,b){const U=a167z;if(b===0x0)return a;const c=a[U(0x1e1)]+b;return c>0x0?a[0x0][U(0x1c0)](c):'';}['detectIndentation'](a){const V=a167z;let b=0x0,c=0x0;a[V(0x1c7)](f=>{const W=V;if(f['startsWith']('\x20'))b++;else f[W(0x181)]('\x09')&&c++;});const d=b>=c?'\x20':'\x09',e=this[V(0x204)](a,d);return d[V(0x1c0)](e);}[a167z(0x204)](a,b){const X=a167z,c=a[X(0x1b6)](d=>d&&d[X(0x181)](b))[X(0x1d1)](d=>{const Y=X,e=d[Y(0x168)](new RegExp('^'+b+'+'));return e?e[0x0][Y(0x1e1)]:0x0;});if(c[X(0x1e1)]===0x0)return 0x0;return this['calculateMode'](c);}[a167z(0x1d7)](a){const Z=a167z,b=a[Z(0x173)]((c,d)=>{return c[d]=(c[d]||0x0)+0x1,c;},{});return Object[Z(0x198)](b)['reduce']((c,d)=>{const e=b[+c],f=b[+d];return e>f?+c:+d;},0x0);}async[a167z(0x1b9)]({filePath:a,content:b,begin:c,replace:replace=![]}){const a0=a167z;try{if(!this['fsi'][a0(0x1de)](a))throw new Error(a0(0x1c1)+a);const d=a167f[a0(0x175)](a,a0(0x1d0)),f=d['split']('\x0a');let g=-0x1,h=-0x1,j=0x0,k=![],l=![];const m=Array['isArray'](c)?c:[c];for(let o=0x0;o<f[a0(0x1e1)];o++){const p=f[o];k&&p[a0(0x1dd)]('{')&&j++;if(m[a0(0x1ea)](q=>p['includes'](q))){g=o,k=!![],j++;continue;}if(k){p['includes'](b['trim']())&&(l=!![]);if(p[a0(0x1dd)]('}')){j--;if(j===0x0){h=o;break;}}}}if(g===-0x1||h===-0x1){Log['error']('Unable\x20to\x20find\x20the\x20target\x20block\x20to\x20inject\x20content\x20in\x20'+a),Log[a0(0x184)](a0(0x1fe)+b),Log[a0(0x184)](a0(0x1c9)+c);throw new Error(a0(0x1eb));}if(l)return;let n=f['slice'](0x0,g+0x1);replace?(n[a0(0x1cd)](b[a0(0x177)]()),n[a0(0x1cd)](f[h])):(n=n['concat'](f[a0(0x1bf)](g+0x1,h)),n['push'](b[a0(0x177)]())),n=n[a0(0x1be)](f[a0(0x1bf)](h+0x1)),a167f[a0(0x1ba)](a,n[a0(0x1ce)]('\x0a'),'utf8');}catch(q){console['error']('Error\x20in\x20injectIntoCodeBlock:\x20',q);throw q;}}async[a167z(0x166)]({filePath:a,content:c,begin:d,end:f,replace:replace=![]}){const a1=a167z;try{const g=await this['fsi'][a1(0x19b)](a,c);if(g)return;if(!this[a1(0x1cf)][a1(0x1de)](a))throw Log[a1(0x184)](a1(0x1c8)+JSON['stringify'](a));const h=a167f[a1(0x175)](a,'utf8');if(!Array['isArray'](d))d=[d];if(!Array[a1(0x1d6)](f))f=[f];let i=h,j=![];for(const k of d){for(const l of f){const m=new RegExp('('+k+a1(0x1e8)+l+')','i');i=h[a1(0x192)](m,(n,o,p)=>{return j=!![],replace?''+o+c+p:''+o+c+'\x0a'+p;});if(j)break;}if(j)break;}if(!j)throw new Error('No\x20matching\x20section\x20found.');a167f[a1(0x1ba)](a,i),Log['header'](treeSymbol+a1(0x17c)+a167e[a1(0x1f5)](process[a1(0x1a6)](),a));}catch(n){errorHandler(a1(0x1b3),n),process[a1(0x1af)](0x1);}}async[a167z(0x1a3)]({filePath:a,importName:b,modulePath:c,isNamedExport:d,injectAtStart:injectAtStart=![]}){const a2=a167z;try{const f=a167f[a2(0x175)](a,a2(0x1d0));let g;d?g=a2(0x1df)+b+a2(0x183)+c+'\x27;\x0a':g='import\x20'+b+a2(0x174)+c+a2(0x202);const h=f['split']('\x0a');let j=0x0,k=![];for(const m of h){if(m['includes'](a2(0x18d)+c+'\x27')||m[a2(0x1dd)]('from\x20\x22'+c+'\x22')){const n=d?new RegExp('\x5cb'+b+'\x5cb','g'):new RegExp(a2(0x170)+b+a2(0x1f4));if(m[a2(0x168)](n)){k=!![];break;}}}if(k)return;if(injectAtStart)for(let o=0x0;o<h[a2(0x1e1)];o++){if(h[o][a2(0x168)](/^import .* from .*;$/)){j=o;break;}}else{for(let p=0x0;p<h[a2(0x1e1)];p++){h[p][a2(0x168)](/^import .* from .*;$/)&&(j=p);}j++;}h[a2(0x1ef)](j,0x0,g);const l=h[a2(0x1ce)]('\x0a');a167f['writeFileSync'](a,l,a2(0x1d0));}catch(q){errorHandler(a2(0x180),q),process[a2(0x1af)](0x1);}}async[a167z(0x18f)](a,b,c){const a3=a167z;try{let d;b[a3(0x1a8)]['ssr']!==a3(0x1b1)?d=this['pathFromApp']({'pathParts':[a3(0x176),a3(0x1aa),a3(0x1e5),'templates.js'],'config':b}):d=this['pathFromApp']({'pathParts':['imports','startup','client',a3(0x18e)],'config':b});const f=this[a3(0x1ab)]({'pathParts':[d],'config':b}),g='export\x20{\x20'+pascalCase(a)+a3(0x183)+c+'\x27;',h=await this['fsi']['fileContainsString'](f,g);!h&&this[a3(0x185)]({'filePath':f,'content':g+'\x0a'});}catch(i){errorHandler(a3(0x1ee),i),process[a3(0x1af)](0x1);}}[a167z(0x1f2)]({filePath:a,content:b,lineNumber:c}){const a4=a167z;try{const d=a167f[a4(0x175)](a)[a4(0x194)]()[a4(0x17d)]('\x0a');d[a4(0x1ef)](c,0x0,b);const f=d[a4(0x1ce)]('\x0a');a167f[a4(0x1ba)](a,f);}catch(g){errorHandler(a4(0x1fb),g),process[a4(0x1af)](0x1);}}[a167z(0x19d)]({pathParts:a,config:b}){const a5=a167z;try{if(!a)throw new Error(a5(0x18c));const c=this['rewriteSourcePathForEngine']({'pathParts':a,'config':b}),d=this[a5(0x1cf)]['findAppDirectory']();return d?a167e[a5(0x1ce)](d,c):'';}catch(f){errorHandler('pathFromApp()',f),process[a5(0x1af)](0x1);}}[a167z(0x1ff)]({pathParts:a,config:b}){const a6=a167z;try{const c=this['writeSourcePath']({'pathParts':a,'config':b}),d=this[a6(0x1cf)][a6(0x1ed)]();if(!d)throw new Error('No\x20app\x20directory\x20found');return a167e[a6(0x1ce)](d,c);}catch(f){errorHandler(a6(0x1c6),f),process[a6(0x1af)](0x1);}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a168d(a,b){const c=a168c();return a168d=function(d,e){d=d-0x132;let f=c[d];return f;},a168d(a,b);}function a168c(){const r=['failure','cwd','(((.+)+)+)+$','disconnect','verbose','4793520SykRwf','ignore','withSpinner','inherit','error','13993510mUPRlP','2952vTjCRN','search','44748cSYdCi','4792eBOeIB','618374fdCRlz','5YeMmsE','message','constructor','2ZezBRe','log','SIGINT','243798jQVFSM','toString','1120968TWcCZS','9iQoWCC','start','data','success','1939nnGlsq'];a168c=function(){return r;};return a168c();}const a168l=a168d;(function(a,b){const j=a168d,c=a();while(!![]){try{const d=-parseInt(j(0x144))/0x1+-parseInt(j(0x148))/0x2*(-parseInt(j(0x14b))/0x3)+-parseInt(j(0x14d))/0x4*(parseInt(j(0x145))/0x5)+-parseInt(j(0x13a))/0x6+-parseInt(j(0x134))/0x7*(-parseInt(j(0x143))/0x8)+-parseInt(j(0x14e))/0x9*(-parseInt(j(0x13f))/0xa)+parseInt(j(0x142))/0xb*(parseInt(j(0x140))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a168c,0xe7de4));const a168b=(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;};}()),a168a=a168b(this,function(){const k=a168d;return a168a[k(0x14c)]()['search'](k(0x137))[k(0x14c)]()[k(0x147)](a168a)[k(0x141)](k(0x137));});a168a();import{spawn}from'child_process';import{Log}from'../log/log.class.js';export class SpawnAsync{static[a168l(0x13c)](a,b,c){return new Promise((d,e)=>{const m=a168d,f=Log[m(0x13c)](),g=c?.[m(0x136)]||'.';c?.['message']&&f[m(0x14f)](c?.['message']);const h=spawn(a,b,{'cwd':g,'stdio':c?.[m(0x139)]?m(0x13d):m(0x13b)});process['on'](m(0x14a),()=>{const i=h['pid'];i&&process['kill'](i);}),h['on'](m(0x132),i=>{const n=m;console[n(0x149)](i);}),h['on'](m(0x138),()=>{const o=m;c?.[o(0x146)]&&f['success'](),d();}),h['on']('close',()=>{const p=m;c?.[p(0x146)]&&f[p(0x133)](),d();}),h['on'](m(0x13e),()=>{const q=m;c?.['message']&&f[q(0x135)](),e();});});}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a169d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
(function(a,b){var f=a169d,c=a();while(!![]){try{var d=-parseInt(f(0xb5))/0x1*(-parseInt(f(0xb9))/0x2)+parseInt(f(0xb4))/0x3*(parseInt(f(0xaf))/0x4)+-parseInt(f(0xae))/0x5+parseInt(f(0xb0))/0x6*(parseInt(f(0xac))/0x7)+parseInt(f(0xab))/0x8+parseInt(f(0xb6))/0x9+-parseInt(f(0xb7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a169c,0xaa4a6));function a169d(a,b){var c=a169c();return a169d=function(d,e){d=d-0xab;var f=c[d];return f;},a169d(a,b);}var a169b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a169d;if(c){var e=c[g(0xad)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a169a=a169b(this,function(){var h=a169d;return a169a[h(0xb2)]()[h(0xb3)](h(0xb8))['toString']()[h(0xb1)](a169a)['search'](h(0xb8));});function a169c(){var i=['33ACcgwM','4236282Skukwo','20429200Ilxnhv','(((.+)+)+)+$','53630hbhvll','6054208gRoSYA','63ZmCnFM','apply','1890710oPwbcv','17124nTYoiN','665094CEENIz','constructor','toString','search','6XkQEno'];a169c=function(){return i;};return a169c();}a169a();export{};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a170p=a170d;function a170d(a,b){const c=a170c();return a170d=function(d,e){d=d-0x162;let f=c[d];return f;},a170d(a,b);}(function(a,b){const m=a170d,c=a();while(!![]){try{const d=-parseInt(m(0x17c))/0x1+-parseInt(m(0x172))/0x2+-parseInt(m(0x189))/0x3*(parseInt(m(0x171))/0x4)+-parseInt(m(0x18d))/0x5+parseInt(m(0x18c))/0x6+-parseInt(m(0x191))/0x7*(parseInt(m(0x18e))/0x8)+-parseInt(m(0x18f))/0x9*(-parseInt(m(0x17e))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a170c,0x64216));function a170c(){const x=['pipe','constructor','scp','tty','420379gGefWw','push','1796200IELIvF','message','ssh','port','success','user','stdout','apply','failure','utf-8','join','3rWjwnm','sshSync','ignore','805974QGZqKZ','461575ysLnFN','32jUoFgX','117NAPYRx','toString','41839OpCGgR','start','pem','2>&1','close','env','ssh\x20','verbose','stderr','concat','error','host','ping','(((.+)+)+)+$','disconnect','sshVerbose','3074776YczVli','1507918Jesgpy','inherit','dest','status','search','ConnectTimeout=2'];a170c=function(){return x;};return a170c();}const a170b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a170d;if(c){const e=c[n(0x185)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a170a=a170b(this,function(){const o=a170d;return a170a[o(0x190)]()['search'](o(0x16e))[o(0x190)]()[o(0x179)](a170a)[o(0x176)](o(0x16e));});a170a();import a170e from'path';import{execSync,spawnSync,spawn}from'child_process';import{Log}from'../log/log.class.js';export class SSH{static [a170p(0x180)]=(a,b,c)=>{return new Promise((d,e)=>{const q=a170d,f=b[q(0x183)]+'@'+b['host'],g=a170e[q(0x188)](b['env'],b[q(0x163)]),h=c?.[q(0x17b)]||![],i=c?.['sshVerbose']||![];let j=[];h&&j['push']('-t');i&&j['push']('-v');j=j[q(0x16a)](['-o',q(0x177),'-i',g,'-p',b[q(0x181)],f,a]);const k=Log['withSpinner']();c?.['message']&&k[q(0x162)](c?.[q(0x17f)]);const l=spawn(q(0x180),j,{'stdio':c?.[q(0x168)]?q(0x173):'ignore'});l['on'](q(0x16f),()=>{const r=q;c?.[r(0x17f)]&&k['success'](),d();}),l['on'](q(0x165),()=>{const s=q;c?.[s(0x17f)]&&k[s(0x182)](),d();}),l['on'](q(0x16b),()=>{const t=q;c?.['message']&&k[t(0x186)](),e();});});};static [a170p(0x18a)]=(a,b,c)=>{const u=a170p,d=b['user']+'@'+b[u(0x16c)],e=a170e['join'](b[u(0x166)],b[u(0x163)]),f=c?.['tty']||![],g=c?.[u(0x170)]||![],h=c?.['silentOutput']||![];let i=[];f&&i[u(0x17d)]('-t');g&&i[u(0x17d)]('-v');i=i[u(0x16a)](['-o','ConnectTimeout=2','-i',e,'-p',b[u(0x181)][u(0x190)](),d,a]);const j=h?u(0x178):u(0x173),k=spawnSync(u(0x180),i,{'encoding':u(0x187),'stdio':[j,u(0x178),u(0x178)]});if(h)return{'stdout':k[u(0x184)]||'','stderr':k[u(0x169)]||'','status':k[u(0x175)]};};static[a170p(0x16d)](a,b,c){const v=a170p,d=b['user']+'@'+b[v(0x16c)],e=a170e[v(0x188)](b[v(0x166)],b['pem']),f=c?.[v(0x17b)]||![];let g=[];f&&g[v(0x17d)]('-t');g=g['concat'](['-o',v(0x177),'-i',e,'-p',b['port'],d,a,v(0x164)]);const h=v(0x167)+g['join']('\x20');return execSync(h)[v(0x190)]();}static['scp'](a,b){const w=a170p,c=b[w(0x183)]+'@'+b[w(0x16c)]+':'+a[w(0x174)],d=a170e[w(0x188)](b[w(0x166)],b[w(0x163)]),e=['-i',d,'-P',b['port'],a['source'],c];spawnSync(w(0x17a),e,{'stdio':a[w(0x168)]?'inherit':w(0x18b)});}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a171d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a171d,c=a();while(!![]){try{var d=parseInt(f(0x1e4))/0x1*(parseInt(f(0x1e8))/0x2)+-parseInt(f(0x1e6))/0x3*(-parseInt(f(0x1e2))/0x4)+parseInt(f(0x1eb))/0x5*(parseInt(f(0x1e0))/0x6)+-parseInt(f(0x1e5))/0x7+-parseInt(f(0x1e3))/0x8+parseInt(f(0x1ec))/0x9*(-parseInt(f(0x1e9))/0xa)+parseInt(f(0x1de))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a171c,0x2e7f9));var a171b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a171d;if(c){var e=c[g(0x1ed)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a171a=a171b(this,function(){var h=a171d;return a171a[h(0x1e1)]()[h(0x1ea)](h(0x1e7))[h(0x1e1)]()[h(0x1df)](a171a)['search'](h(0x1e7));});a171a();function a171c(){var i=['2839200emiEQu','3WoxzMu','902118xoDUsN','3WuWJAG','(((.+)+)+)+$','242182llTjnk','10jJYxPr','search','723685rUQsgm','1064601dDzmlP','apply','2388221bWRTIH','constructor','6HpEwkR','toString','269596QEyyzn'];a171c=function(){return i;};return a171c();}function a171d(a,b){var c=a171c();return a171d=function(d,e){d=d-0x1de;var f=c[d];return f;},a171d(a,b);}export{};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a172h=a172d;(function(a,b){const f=a172d,c=a();while(!![]){try{const d=-parseInt(f(0x1aa))/0x1*(-parseInt(f(0x1c0))/0x2)+-parseInt(f(0x1a7))/0x3+-parseInt(f(0x1a9))/0x4*(-parseInt(f(0x1b6))/0x5)+parseInt(f(0x1b4))/0x6*(-parseInt(f(0x1b5))/0x7)+parseInt(f(0x1b8))/0x8*(parseInt(f(0x1bd))/0x9)+-parseInt(f(0x1a4))/0xa+parseInt(f(0x1a6))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a172c,0x5acb7));const a172b=(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;};}()),a172a=a172b(this,function(){const g=a172d;return a172a[g(0x1ad)]()[g(0x1a5)](g(0x1b1))[g(0x1ad)]()['constructor'](a172a)['search'](g(0x1b1));});a172a();import{spawnSync}from'child_process';function a172d(a,b){const c=a172c();return a172d=function(d,e){d=d-0x1a2;let f=c[d];return f;},a172d(a,b);}export class SSL{static[a172h(0x1ac)](a){const i=a172h,b=a[i(0x1b7)]?a[i(0x1b7)]:process[i(0x1b7)](),c=[i(0x1a8),'-new','-newkey',i(0x1ae),i(0x1be),i(0x1bb),a[i(0x1b0)],'-out',a[i(0x1b3)]];a[i(0x1b2)]&&(c['push']('-config'),c[i(0x1b9)](i(0x1bc))),a[i(0x1b2)]?spawnSync(i(0x1a2),c,{'cwd':b}):spawnSync(i(0x1a2),c,{'stdio':i(0x1af),'cwd':b});}static[a172h(0x1ba)](a){const j=a172h,b=a[j(0x1b7)]?a[j(0x1b7)]:process['cwd'](),c=[j(0x1a8),j(0x1bf),'-new','-key',a[j(0x1b0)],j(0x1a3),a[j(0x1ab)]];a[j(0x1b2)]&&(c[j(0x1b9)]('-config'),c[j(0x1b9)](j(0x1bc))),a[j(0x1b2)]?spawnSync(j(0x1a2),c,{'cwd':b}):spawnSync(j(0x1a2),c,{'stdio':j(0x1af),'cwd':b});}}function a172c(){const k=['1881246OvVVOg','req','14804YPliOP','75181IhxFyh','crtName','genCSR','toString','rsa:2048','inherit','keyName','(((.+)+)+)+$','useConfig','csrName','134076xcCfQU','98RZhcUv','705QUburB','cwd','2480OlJNtD','push','genSSC','-keyout','openssl.conf','8946GOIgDv','-nodes','-x509','2StuvSX','openssl','-out','1052020zEMLgA','search','5630471JPvDFl'];a172c=function(){return k;};return a172c();}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maka/maka-cli",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.23",
|
|
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.",
|