@maka/maka-cli 5.0.24 → 5.0.26
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/test.js +1 -1
- package/bundle/obf/src/commands/undo.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/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/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/meteor/app/imports/startup/client/index.js.jsx +6 -6
- package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js.tsx +6 -6
- package/bundle/obf/src/templates/meteor/app/imports/startup/lib/routes.js.jsx +8 -10
- package/bundle/obf/src/templates/meteor/app/imports/startup/lib/routes.js.tsx +8 -10
- package/bundle/obf/src/templates/meteor/app/imports/startup/server/index.js.jsx +1 -1
- package/bundle/obf/src/templates/meteor/app/imports/startup/server/index.js.tsx +1 -1
- package/bundle/obf/src/templates/react/kit/auth/service/meteor-auth-service.js.jsx +2 -2
- 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
- package/delete-1.1.0.tgz +0 -0
- package/maka-maka-cli-5.0.23.tgz +0 -0
- package/matched-5.0.1.tgz +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
const a159z=a159d;(function(a,b){const v=a159d,c=a();while(!![]){try{const d=-parseInt(v(0x145))/0x1*(parseInt(v(0x12c))/0x2)+parseInt(v(0x176))/0x3*(-parseInt(v(0x101))/0x4)+-parseInt(v(0x141))/0x5*(-parseInt(v(0xfa))/0x6)+-parseInt(v(0x130))/0x7+parseInt(v(0x144))/0x8+parseInt(v(0xfc))/0x9*(-parseInt(v(0x17d))/0xa)+parseInt(v(0x10c))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a159c,0x93587));const a159b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a159d;if(c){const e=c[w(0x157)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a159a=a159b(this,function(){const x=a159d;return a159a[x(0x192)]()['search']('(((.+)+)+)+$')['toString']()[x(0x175)](a159a)['search'](x(0x178));});a159a();import a159e from'path';import a159f from'fs';function a159d(a,b){const c=a159c();return a159d=function(d,e){d=d-0xfa;let f=c[d];return f;},a159d(a,b);}import a159g from'util';import{exec}from'child_process';import a159h from'delete';import a159i from'ejs';import{pascalCase}from'change-case';import{Log}from'../log/log.class.js';const errorHandler=(a,b)=>{const y=a159d;process[y(0x11b)]['MAKA_DEV']===y(0x11c)&&Log[y(0x13b)](y(0x117)+a),b&&console[y(0x13b)](b);},isWin=process['platform']===a159z(0x190),treeSymbol=isWin?a159z(0x197):'\x20┗';function a159c(){const a5=['.js.ts','injectAtEndOfFile','12190uQwGkm','--minimal','jsx','map','match','trim','No\x20pathParts\x20option\x20provided','readFileSync','message','css','type','isFile','--release\x20','json','import\x20','injectTemplateModule','findAppDirectory','filter','ssr','win32','File\x20not\x20found:\x20','toString','ico','test','release','injectAtBeginningOfFile()','\x20->','slice','No\x20configuration\x20so\x20can\x27t\x20determine\x20engines.','468pYeICC','calculateMode','7713elnmvI','adjustIndentation','fsi','Please\x20report\x20any\x20issues\x20to\x20https://github.com/maka-io/maka-cli/issues','repeat','80COvhzf','pathFromTemplates()','getCommonIndentSize','\x20}\x20from\x20\x27','join','promisify','tsx','isArray','Directory\x20','rewriteSourcePathForEngine()','detectIndentation','41027734Wvbrbs','Unable\x20to\x20find\x20the\x20target\x20block\x20to\x20inject\x20content\x20in\x20','relative','render','.js','forEach','png','writeSourcePath','from\x20\x27','splice','isTemplateForEngine()','Error\x20in\x20','No\x20file\x20found\x20at\x20path\x20','templates.js','pop','env','True','src/templates/','injectAtEndOfFile()','.meteor','\x20updated\x20file\x20','.js.jsx','length','meteor','header','.git','stringify','split','pathFromTemplates','includes','from','injectAtBeginningOfFile','4JbeaOi','templates','rewriteDestinationPathForEngine','utf8','3512663CldJJi','pathFromApp()','Couldn\x27t\x20find\x20a\x20source\x20template\x20in\x20','injectIntoCodeBlock','rewriteDestinationPathForType()','noRename','startsWith','No\x20app\x20directory\x20found','getInstance','No\x20file\x20found\x20to\x20inject\x20content\x20into\x20at\x20path\x20','injectImport()','error','.tsx','Looking\x20for\x20','injectIntoFile','engine','isDirectory','30410MXFzkW','readdirSync','pathFromApp','283896nxruJN','569869EZdIWy','While\x20injecting\x20','isTemplateForEngine','template','concat','Error\x20in\x20injectIntoCodeBlock:\x20','engineAndTypeFromfilePath()','replace','html','instance','Creating\x20a\x20new\x20Meteor\x20project\x20with\x20an\x20alpha\x20release:\x20','\x5cS*$','mpi','injectAfterLineNumber()','sep','injectTemplateModule()','rewriteSourcePathForEngine','imports','apply','Dockerfile','.jsx','injectAroundString','\x20create\x20','No\x20filePath\x20provided\x20to\x20injectAtBeginningOfFile()','rewriteDestinationPathForType','copyTemplateDirectory()','writeFileSync','pathFromAppWithNoReWrite','\x27;\x0a','normalize','engines','No\x20matching\x20section\x20found.','verbose','startup','from\x20\x22','exit','cwd','createFile','createDirectory','injectAfterLineNumber','reduce','engineAndTypeFromfilePath','warn','templateContent','existsSync','push','.js.tsx','rewriteDestinationPathForEngine()','constructor','142488MnLlwF','Unable\x20to\x20find\x20the\x20target\x20block\x20to\x20inject\x20content.','(((.+)+)+)+$','scss','fileContainsString'];a159c=function(){return a5;};return a159c();}export class Scaffold{static [a159z(0x14e)];['fsi'];[a159z(0x151)];constructor(a,b){const A=a159z;this[A(0xfe)]=a,this[A(0x151)]=b;}static[a159z(0x138)](a,b){const B=a159z;return!Scaffold[B(0x14e)]&&(Scaffold[B(0x14e)]=new Scaffold(a,b)),Scaffold[B(0x14e)];}async['createEmptyMeteorProject'](a,b){const C=a159z;b[C(0x169)]=b[C(0x169)]||'.';const c=a159e[C(0x105)](b[C(0x169)],a),d=a159e['join'](c,C(0x11f));if(this['fsi'][C(0x140)](d))throw new Error('Meteor\x20project\x20already\x20exists\x20at\x20'+JSON['stringify'](c));const e=C(0x17e),f=a159e[C(0x105)](b[C(0x169)]),g=a159g[C(0x106)](exec),h=b[C(0x195)]?C(0x189)+b[C(0x195)]:'';b['release']&&b[C(0x195)][C(0x129)]('alpha')&&(Log['warn'](C(0x14f)+b[C(0x195)]),Log[C(0x16f)](C(0xff)));try{await g(this[C(0x151)][C(0x123)]+C(0x15b)+a+'\x20'+e+'\x20'+h,{'cwd':f});}catch(k){Log[C(0x13b)]('\x0a'+k[C(0x185)]);throw k;}const i=a159e[C(0x105)](f,a);if(!a159f[C(0x171)](i))throw new Error(C(0x109)+i+'\x20doesn\x27t\x20exist');const j=a159f[C(0x142)](i);for(const l of j){if(l!==C(0x125)&&l!==C(0x11f)){const m=a159e['join'](i,l);await a159h(m,{'force':!![]});}}}['engineAndTypeFromfilePath']({filePath:a}){const D=a159z;try{const b=/\.([A-Za-z0-9.]+)$/g;let c=a['match'](b);c=c&&c[0x0][D(0x127)]('.',0x3);if(!c)return{'type':undefined,'engine':undefined};let d=c[D(0x11a)](),f=c['pop']()||d;if(d)d=d['replace']('.','');if(f)f=f[D(0x14c)]('.','');return{'type':f,'engine':d};}catch(g){errorHandler(D(0x14b),g),process[D(0x168)](0x1);}}[a159z(0x15d)]({pathParts:a,config:b}){const E=a159z;try{const c=a[E(0x105)](a159e[E(0x153)]),d=this[E(0x16e)]({'filePath':c})[E(0x187)],f=b?.[E(0x163)][d],g=new RegExp('\x5c.'+d+E(0x150));return!d||!f?c:c[E(0x14c)](g,'.'+d);}catch(h){errorHandler(E(0x134),h),process['exit'](0x1);}}[a159z(0x147)]({pathParts:a,config:b}){const F=a159z;try{if(!b)throw new Error(F(0x199));const c=a[F(0x105)](a159e[F(0x153)]),d=this['engineAndTypeFromfilePath']({'filePath':c});if(!d[F(0x187)]||!d[F(0x13f)])return!![];const f=b[F(0x163)][d['type']];if(!f)return!![];return f===d[F(0x13f)];}catch(g){errorHandler(F(0x116),g),process[F(0x168)](0x1);}}[a159z(0x113)]({pathParts:pathParts=[]}){const G=a159z;return pathParts[G(0x105)](a159e[G(0x153)]);}['rewriteDestinationPathForEngine']({pathParts:pathParts=[],config:a}){const H=a159z;try{const b=pathParts[H(0x105)](a159e[H(0x153)]),c=this[H(0x16e)]({'filePath':b})['type'],d=a?.[H(0x163)][c],f=new RegExp('\x5c.'+c+H(0x150));return!c||!d?b:b[H(0x14c)](f,'.'+d);}catch(g){errorHandler(H(0x174),g),process[H(0x168)](0x1);}}[a159z(0x155)]({pathParts:pathParts=[],framework:framework=a159z(0x123),config:a}){const I=a159z;try{const b=a159e[I(0x162)](pathParts[I(0x105)](a159e[I(0x153)]));if(!b['endsWith'](I(0x110)))return b;const c='js';if(!a?.[I(0x163)]||!a?.[I(0x163)][c])return b;const d=a[I(0x163)][c],f=d===I(0x107)?[I(0x173),I(0x17b),'.js']:[I(0x121),I(0x110)];for(const g of f){const h=b[I(0x14c)](/\.js$/,g),i=a159e[I(0x105)](I(0x12d),framework,h),j=a159e[I(0x162)](a159e[I(0x105)](global['MAKA_COMMAND_PATH'],i));if(a159f[I(0x171)](j))return h;}return b;}catch(k){errorHandler(I(0x10a),k),process[I(0x168)](0x1);}}['pathFromTemplates']({pathParts:a,framework:framework=a159z(0x123),config:b}){const J=a159z;try{const c=this['rewriteSourcePathForEngine']({'pathParts':a,'framework':framework,'config':b}),d=a159e[J(0x105)](J(0x11d)+framework,c),f=a159e[J(0x105)](global['MAKA_COMMAND_PATH'],'..',d);return f;}catch(g){errorHandler(J(0x102),g),process[J(0x168)](0x1);}}[a159z(0x170)]({srcPath:a,context:b,framework:c,config:d}){const K=a159z;try{let f=this[K(0x128)]({'pathParts':[a],'framework':c,'config':d});const {engine:g}=this['engineAndTypeFromfilePath']({'filePath':f}),h=[K(0x186),K(0x179),'less',K(0x14d),'js',K(0x17f),'ts',K(0x107),K(0x18a),'env','yaml',K(0x148)],i=[K(0x112),K(0x193)];if(!this['fsi'][K(0x188)](f)){g===K(0x17f)&&(f=f['replace'](K(0x159),''));g===K(0x107)&&(f=f[K(0x14c)](K(0x13c),''));if(!this[K(0xfe)]['isFile'](f))throw new Error(K(0x132)+JSON[K(0x126)](f));}const j=f[K(0x127)]('.'),k=a159e[K(0x162)](f)[K(0x127)](a159e[K(0x153)]),l=k[k[K(0x122)]-0x1]===K(0x158),m=i[K(0x129)](j[j['length']-0x1]),n=a159f[K(0x184)](f);if(l)return a159i[K(0x10f)](n['toString'](),b)['trim']();if(m)return Buffer[K(0x12a)](n)[K(0x192)]('base64');if(!h[K(0x129)](j[j[K(0x122)]-0x1]))return n[K(0x192)]()[K(0x182)]();return a159i['render'](n[K(0x192)](),b||{})['trim']();}catch(o){errorHandler('templateContent()',o),process['exit'](0x1);}}async[a159z(0x148)]({srcPath:a,destPath:b,context:c,config:d,framework:f,force:force=![],ignore:ignore=![]}){const L=a159z;try{const g=[L(0x112),L(0x193)],h=g[L(0x129)](a[L(0x127)]('.')[L(0x11a)]()||''),i=this[L(0x170)]({'srcPath':a,'context':c,'framework':f,'config':d})+'\x0a';c?.['noRename']?b=this[L(0x15d)]({'pathParts':[b],'config':d}):b=this[L(0x12e)]({'pathParts':[b],'config':d});const j=await this[L(0xfe)][L(0x16a)]({'filePath':b,'data':i,'opts':{'force':force,'isImage':h,'absolute':![],'ignore':ignore}});return j;}catch(k){errorHandler('template()',k),process[L(0x168)](0x1);}}async['copyTemplateDirectory']({srcPath:a,destPath:b,context:c,ignore:d,keep:f,framework:g,config:h}){const M=a159z;try{const i=this[M(0x128)]({'pathParts':[a],'framework':g,'config':h}),j=this[M(0x128)]({'pathParts':[],'framework':g,'config':h}),k=n=>{const N=M;return n[N(0x14c)](j,'');},l=n=>{const O=M;return n[O(0x14c)](i,b);};await this[M(0xfe)][M(0x16b)]({'dirPath':b});const m=a159f[M(0x142)](i);for(const n of m){try{const o=a159e['join'](i,n),p=k(o),q=l(o),r=d[M(0x180)](t=>a159e[M(0x162)](t)),s=a159e[M(0x162)](a159e['join'](a,n));if(r[M(0x129)](s))continue;if(this['fsi'][M(0x140)](o))await this['copyTemplateDirectory']({'srcPath':p,'destPath':q,'context':c,'ignore':d,'keep':f,'framework':g,'config':h});else{if(this[M(0xfe)][M(0x188)](o)&&this['isTemplateForEngine']({'pathParts':[o],'config':h}))await this[M(0x148)]({'srcPath':p,'destPath':q,'context':c,'framework':g,'config':h});else f['indexOf'](a159e[M(0x105)](a,n))>=0x0&&this['fsi'][M(0x188)](o)&&(c[M(0x135)]=!![],await this[M(0x148)]({'srcPath':p,'destPath':q,'context':c,'framework':g,'config':h}),c[M(0x135)]=![]);}}catch(t){console[M(0x13b)](t),process[M(0x168)](0x1);}}}catch(u){errorHandler(M(0x15e),u),process[M(0x168)](0x1);}}async[a159z(0x12b)]({filePath:a,content:b,opts:c}){const P=a159z;if(!a)throw new Error(P(0x15c));try{!this[P(0xfe)][P(0x188)](a)&&await this[P(0xfe)][P(0x16a)]({'filePath':a,'data':b});let d=a159f[P(0x184)](a,P(0x12f));d=b+'\x0a'+d,a159f['writeFileSync'](a,d),c?.[P(0x165)]&&Log['header'](treeSymbol+'\x20updated\x20file\x20'+a159e[P(0x10e)](process[P(0x169)](),a));}catch(f){errorHandler(P(0x196),f),process[P(0x168)](0x1);}}async[a159z(0x17c)]({filePath:a,content:b,opts:c}){const Q=a159z;try{if(!this[Q(0xfe)][Q(0x188)](a))await this[Q(0xfe)][Q(0x16a)]({'filePath':a,'data':b});else{let d=a159f[Q(0x184)](a,Q(0x12f));!d[Q(0x129)](b)&&(d=d+'\x0a'+b,a159f[Q(0x15f)](a,d)),c?.['verbose']&&Log[Q(0x124)](treeSymbol+Q(0x120)+a159e['relative'](process['cwd'](),a));}}catch(f){errorHandler(Q(0x11e),f),process[Q(0x168)](0x1);}}async[a159z(0x15a)]({filePath:a,aboveContent:b,belowContent:c,targetString:d,indentAdjustment:indentAdjustment=0x0,targetIndentAdjustment:targetIndentAdjustment=0x0}){const R=a159z;try{if(!this['fsi'][R(0x188)](a))throw Log[R(0x13b)](R(0x118)+JSON[R(0x126)](a));const f=a159f[R(0x184)](a,R(0x12f)),g=f[R(0x14c)](/\r\n|\r/g,'\x0a'),h=g[R(0x127)]('\x0a'),j=this[R(0x10b)](h),k=b[R(0x14c)](/\r\n|\r/g,'\x0a')['split']('\x0a'),l=c[R(0x14c)](/\r\n|\r/g,'\x0a')[R(0x127)]('\x0a'),m=new RegExp(Array[R(0x108)](d)?d[R(0x105)]('|'):d,'i'),n=[];for(let p=0x0;p<h[R(0x122)];p++){const q=h[p];if(m[R(0x194)](q)){const r=this[R(0xfd)](j,targetIndentAdjustment),s=r+q['trim']();k['forEach'](t=>{!g['includes'](t['trim']())&&n['push'](this['adjustIndentation'](j,indentAdjustment)+t);}),n[R(0x172)](s),l['forEach'](t=>{const S=R;!g['includes'](t[S(0x182)]())&&n[S(0x172)](this['adjustIndentation'](j,indentAdjustment)+t);});}else n[R(0x172)](q);}const o=n[R(0x105)]('\x0a');a159f['writeFileSync'](a,o),Log['header'](treeSymbol+R(0x120)+a159e[R(0x10e)](process[R(0x169)](),a));}catch(t){errorHandler('injectAroundString()',t),process[R(0x168)](0x1);}}[a159z(0xfd)](a,b){const T=a159z;if(b===0x0)return a;const c=a['length']+b;return c>0x0?a[0x0][T(0x100)](c):'';}[a159z(0x10b)](a){const U=a159z;let b=0x0,c=0x0;a[U(0x111)](f=>{const V=U;if(f[V(0x136)]('\x20'))b++;else f[V(0x136)]('\x09')&&c++;});const d=b>=c?'\x20':'\x09',e=this[U(0x103)](a,d);return d['repeat'](e);}[a159z(0x103)](a,b){const W=a159z,c=a[W(0x18e)](d=>d&&d[W(0x136)](b))['map'](d=>{const e=d['match'](new RegExp('^'+b+'+'));return e?e[0x0]['length']:0x0;});if(c['length']===0x0)return 0x0;return this[W(0xfb)](c);}[a159z(0xfb)](a){const X=a159z,b=a[X(0x16d)]((c,d)=>{return c[d]=(c[d]||0x0)+0x1,c;},{});return Object['keys'](b)[X(0x16d)]((c,d)=>{const e=b[+c],f=b[+d];return e>f?+c:+d;},0x0);}async[a159z(0x133)]({filePath:a,content:b,begin:c,replace:replace=![]}){const Y=a159z;try{if(!this[Y(0xfe)][Y(0x188)](a))throw new Error(Y(0x191)+a);const d=a159f[Y(0x184)](a,Y(0x12f)),f=d['split']('\x0a');let g=-0x1,h=-0x1,j=0x0,k=![],l=![];const m=Array[Y(0x108)](c)?c:[c];for(let o=0x0;o<f[Y(0x122)];o++){const p=f[o];k&&p[Y(0x129)]('{')&&j++;if(m['some'](q=>p['includes'](q))){g=o,k=!![],j++;continue;}if(k){p[Y(0x129)](b[Y(0x182)]())&&(l=!![]);if(p[Y(0x129)]('}')){j--;if(j===0x0){h=o;break;}}}}if(g===-0x1||h===-0x1){Log[Y(0x13b)](Y(0x10d)+a),Log['error'](Y(0x146)+b),Log[Y(0x13b)](Y(0x13d)+c);throw new Error(Y(0x177));}if(l)return;let n=f[Y(0x198)](0x0,g+0x1);replace?(n['push'](b[Y(0x182)]()),n['push'](f[h])):(n=n['concat'](f[Y(0x198)](g+0x1,h)),n[Y(0x172)](b[Y(0x182)]())),n=n[Y(0x149)](f[Y(0x198)](h+0x1)),a159f['writeFileSync'](a,n[Y(0x105)]('\x0a'),Y(0x12f));}catch(q){console['error'](Y(0x14a),q);throw q;}}async[a159z(0x13e)]({filePath:a,content:c,begin:d,end:f,replace:replace=![]}){const Z=a159z;try{const g=await this[Z(0xfe)][Z(0x17a)](a,c);if(g)return;if(!this[Z(0xfe)][Z(0x188)](a))throw Log[Z(0x13b)](Z(0x139)+JSON['stringify'](a));const h=a159f[Z(0x184)](a,Z(0x12f));if(!Array['isArray'](d))d=[d];if(!Array[Z(0x108)](f))f=[f];let i=h,j=![];for(const k of d){for(const l of f){const m=new RegExp('('+k+'[\x5cs\x5cS]*?)('+l+')','i');i=h[Z(0x14c)](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(Z(0x164));a159f[Z(0x15f)](a,i),Log[Z(0x124)](treeSymbol+Z(0x120)+a159e[Z(0x10e)](process['cwd'](),a));}catch(n){errorHandler('injectIntoFile()',n),process[Z(0x168)](0x1);}}async['injectImport']({filePath:a,importName:b,modulePath:c,isNamedExport:d,injectAtStart:injectAtStart=![]}){const a0=a159z;try{const f=a159f[a0(0x184)](a,a0(0x12f));let g;d?g='import\x20{\x20'+b+'\x20}\x20from\x20\x27'+c+a0(0x161):g=a0(0x18b)+b+'\x20from\x20\x27'+c+a0(0x161);const h=f[a0(0x127)]('\x0a');let j=0x0,k=![];for(const m of h){if(m[a0(0x129)](a0(0x114)+c+'\x27')||m['includes'](a0(0x167)+c+'\x22')){const n=d?new RegExp('\x5cb'+b+'\x5cb','g'):new RegExp(a0(0x18b)+b+'\x20from');if(m[a0(0x181)](n)){k=!![];break;}}}if(k)return;if(injectAtStart)for(let o=0x0;o<h[a0(0x122)];o++){if(h[o][a0(0x181)](/^import .* from .*;$/)){j=o;break;}}else{for(let p=0x0;p<h[a0(0x122)];p++){h[p]['match'](/^import .* from .*;$/)&&(j=p);}j++;}h[a0(0x115)](j,0x0,g);const l=h[a0(0x105)]('\x0a');a159f[a0(0x15f)](a,l,a0(0x12f));}catch(q){errorHandler(a0(0x13a),q),process[a0(0x168)](0x1);}}async[a159z(0x18c)](a,b,c){const a1=a159z;try{let d;b['engines'][a1(0x18f)]!=='none'?d=this[a1(0x143)]({'pathParts':[a1(0x156),a1(0x166),'lib',a1(0x119)],'config':b}):d=this['pathFromApp']({'pathParts':['imports',a1(0x166),'client','templates.js'],'config':b});const f=this[a1(0x12e)]({'pathParts':[d],'config':b}),g='export\x20{\x20'+pascalCase(a)+a1(0x104)+c+'\x27;',h=await this[a1(0xfe)][a1(0x17a)](f,g);!h&&this[a1(0x17c)]({'filePath':f,'content':g+'\x0a'});}catch(i){errorHandler(a1(0x154),i),process['exit'](0x1);}}[a159z(0x16c)]({filePath:a,content:b,lineNumber:c}){const a2=a159z;try{const d=a159f[a2(0x184)](a)['toString']()[a2(0x127)]('\x0a');d['splice'](c,0x0,b);const f=d[a2(0x105)]('\x0a');a159f[a2(0x15f)](a,f);}catch(g){errorHandler(a2(0x152),g),process[a2(0x168)](0x1);}}[a159z(0x143)]({pathParts:a,config:b}){const a3=a159z;try{if(!a)throw new Error(a3(0x183));const c=this[a3(0x155)]({'pathParts':a,'config':b}),d=this[a3(0xfe)][a3(0x18d)]();return d?a159e[a3(0x105)](d,c):'';}catch(f){errorHandler(a3(0x131),f),process['exit'](0x1);}}[a159z(0x160)]({pathParts:a,config:b}){const a4=a159z;try{const c=this['writeSourcePath']({'pathParts':a,'config':b}),d=this[a4(0xfe)][a4(0x18d)]();if(!d)throw new Error(a4(0x137));return a159e[a4(0x105)](d,c);}catch(f){errorHandler('pathFromAppWithNoReWrite()',f),process[a4(0x168)](0x1);}}}
|
|
1
|
+
const a159z=a159d;(function(a,b){const v=a159d,c=a();while(!![]){try{const d=parseInt(v(0x22c))/0x1+-parseInt(v(0x1cf))/0x2+-parseInt(v(0x22d))/0x3+-parseInt(v(0x235))/0x4+parseInt(v(0x1ae))/0x5+parseInt(v(0x223))/0x6*(parseInt(v(0x21b))/0x7)+parseInt(v(0x1c4))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a159c,0xd79fb));const a159b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a159d;if(c){const e=c[w(0x1f0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a159a=a159b(this,function(){const x=a159d;return a159a['toString']()[x(0x232)](x(0x244))[x(0x1f9)]()[x(0x224)](a159a)[x(0x232)](x(0x244));});a159a();function a159d(a,b){const c=a159c();return a159d=function(d,e){d=d-0x1a7;let f=c[d];return f;},a159d(a,b);}import a159e from'path';import a159f from'fs';import a159g from'util';import{exec}from'child_process';import a159h from'delete';import a159i from'ejs';import{pascalCase}from'change-case';import{Log}from'../log/log.class.js';const errorHandler=(a,b)=>{const y=a159d;process['env'][y(0x1d4)]==='True'&&Log[y(0x208)]('Error\x20in\x20'+a),b&&console[y(0x208)](b);},isWin=process[a159z(0x1cd)]===a159z(0x1cc),treeSymbol=isWin?'\x20->':'\x20┗';function a159c(){const a7=['noRename','engineAndTypeFromfilePath','isFile','(((.+)+)+)+$','render','File\x20not\x20found:\x20','cwd','import\x20','\x20create\x20','reduce','repeat','6744225HMicDi','css','json','keys','header','writeFileSync','export\x20{\x20','fsi','Please\x20report\x20any\x20issues\x20to\x20https://github.com/maka-io/maka-cli/issues','rewriteDestinationPathForType','concat','No\x20matching\x20section\x20found.','verbose','injectAfterLineNumber','isArray','adjustIndentation','tsx','isTemplateForEngine()','meteor','findAppDirectory','isTemplateForEngine','rewriteDestinationPathForType()','18512912dgxOcw','pathFromApp','\x20}\x20from\x20\x27','No\x20filePath\x20provided\x20to\x20injectAtBeginningOfFile()','.git','.js.ts','split','pop','win32','platform','template()','2254554FGeNIV','replace','env','Error\x20in\x20injectIntoCodeBlock:\x20','includes','MAKA_DEV','.tsx','injectImport','engine','imports','from\x20\x22','client','readFileSync','\x20from','endsWith','\x27;\x0a','slice','MAKA_COMMAND_PATH','from\x20\x27','exit','injectIntoFile','type','forEach','injectAtEndOfFile','copyTemplateDirectory','templates','match','injectImport()','pathFromAppWithNoReWrite','injectIntoCodeBlock','warn','Directory\x20','message','apply','calculateMode','\x20updated\x20file\x20','length','No\x20pathParts\x20option\x20provided','engines','relative','rewriteSourcePathForEngine()','createEmptyMeteorProject','toString','injectAroundString','writeSourcePath','html','existsSync','filter','mpi','Unable\x20to\x20find\x20the\x20target\x20block\x20to\x20inject\x20content.','release','none','Couldn\x27t\x20find\x20a\x20source\x20template\x20in\x20','instance','stringify','.js.jsx','startup','error','normalize','alpha','copyTemplateDirectory()','Creating\x20a\x20new\x20Meteor\x20project\x20with\x20an\x20alpha\x20release:\x20','rewriteDestinationPathForEngine','some','pathFromAppWithNoReWrite()','src/templates/','.js','pathFromTemplates','pathFromTemplates()','templates.js','readdirSync','injectIntoFile()','startsWith','Dockerfile','createFile','\x5cS*$','15092xIddRE','getCommonIndentSize','.js.tsx','\x20doesn\x27t\x20exist','indexOf','push','promisify','template','882VyLHoL','constructor','less','--release\x20','join','test','ssr','\x20from\x20\x27','ico','655352uMfoPV','3000960tYgBTG','injectTemplateModule','injectAroundString()','templateContent()','png','search','engineAndTypeFromfilePath()','Unable\x20to\x20find\x20the\x20target\x20block\x20to\x20inject\x20content\x20in\x20','6497804QqrPdU','sep','utf8','yaml','detectIndentation','map','templateContent','No\x20file\x20found\x20at\x20path\x20','fileContainsString','from','trim','Meteor\x20project\x20already\x20exists\x20at\x20'];a159c=function(){return a7;};return a159c();}export class Scaffold{static [a159z(0x204)];[a159z(0x1b5)];[a159z(0x1ff)];constructor(a,b){const A=a159z;this[A(0x1b5)]=a,this['mpi']=b;}static['getInstance'](a,b){const B=a159z;return!Scaffold[B(0x204)]&&(Scaffold[B(0x204)]=new Scaffold(a,b)),Scaffold[B(0x204)];}async[a159z(0x1f8)](a,b){const C=a159z;b[C(0x1a9)]=b[C(0x1a9)]||'.';const c=a159e['join'](b[C(0x1a9)],a),d=a159e['join'](c,'.meteor');if(this[C(0x1b5)]['isDirectory'](d))throw new Error(C(0x240)+JSON[C(0x205)](c));const e='--minimal',f=a159e[C(0x227)](b[C(0x1a9)]),g=a159g[C(0x221)](exec),h=b[C(0x201)]?C(0x226)+b[C(0x201)]:'';b[C(0x201)]&&b[C(0x201)]['includes'](C(0x20a))&&(Log[C(0x1ed)](C(0x20c)+b['release']),Log['warn'](C(0x1b6)));try{await g(this[C(0x1ff)][C(0x1c0)]+C(0x1ab)+a+'\x20'+e+'\x20'+h,{'cwd':f});}catch(k){Log[C(0x208)]('\x0a'+k[C(0x1ef)]);throw k;}const i=a159e[C(0x227)](f,a);if(!a159f[C(0x1fd)](i))throw new Error(C(0x1ee)+i+C(0x21e));const j=a159f[C(0x215)](i);for(const l of j){if(l!==C(0x1c8)&&l!=='.meteor'){const m=a159e['join'](i,l);await a159h(m,{'force':!![]});}}}['engineAndTypeFromfilePath']({filePath:a}){const D=a159z;try{const b=/\.([A-Za-z0-9.]+)$/g;let c=a[D(0x1e9)](b);c=c&&c[0x0][D(0x1ca)]('.',0x3);if(!c)return{'type':undefined,'engine':undefined};let d=c[D(0x1cb)](),f=c[D(0x1cb)]()||d;if(d)d=d[D(0x1d0)]('.','');if(f)f=f[D(0x1d0)]('.','');return{'type':f,'engine':d};}catch(g){errorHandler(D(0x233),g),process[D(0x1e2)](0x1);}}[a159z(0x1b7)]({pathParts:a,config:b}){const E=a159z;try{const c=a[E(0x227)](a159e['sep']),d=this['engineAndTypeFromfilePath']({'filePath':c})[E(0x1e4)],f=b?.[E(0x1f5)][d],g=new RegExp('\x5c.'+d+E(0x21a));return!d||!f?c:c['replace'](g,'.'+d);}catch(h){errorHandler(E(0x1c3),h),process['exit'](0x1);}}['isTemplateForEngine']({pathParts:a,config:b}){const F=a159z;try{if(!b)throw new Error('No\x20configuration\x20so\x20can\x27t\x20determine\x20engines.');const c=a[F(0x227)](a159e[F(0x236)]),d=this[F(0x242)]({'filePath':c});if(!d[F(0x1e4)]||!d['engine'])return!![];const f=b['engines'][d[F(0x1e4)]];if(!f)return!![];return f===d[F(0x1d7)];}catch(g){errorHandler(F(0x1bf),g),process[F(0x1e2)](0x1);}}[a159z(0x1fb)]({pathParts:pathParts=[]}){const G=a159z;return pathParts[G(0x227)](a159e[G(0x236)]);}[a159z(0x20d)]({pathParts:pathParts=[],config:a}){const H=a159z;try{const b=pathParts[H(0x227)](a159e[H(0x236)]),c=this['engineAndTypeFromfilePath']({'filePath':b})[H(0x1e4)],d=a?.['engines'][c],f=new RegExp('\x5c.'+c+H(0x21a));return!c||!d?b:b[H(0x1d0)](f,'.'+d);}catch(g){errorHandler('rewriteDestinationPathForEngine()',g),process['exit'](0x1);}}['rewriteSourcePathForEngine']({pathParts:pathParts=[],framework:framework=a159z(0x1c0),config:a}){const I=a159z;try{const b=a159e[I(0x209)](pathParts[I(0x227)](a159e[I(0x236)]));if(!b[I(0x1dd)](I(0x211)))return b;const c='js';if(!a?.[I(0x1f5)]||!a?.[I(0x1f5)][c])return b;const d=a['engines'][c],f=d==='tsx'?[I(0x21d),I(0x1c9),'.js']:[I(0x206),I(0x211)];for(const g of f){const h=b[I(0x1d0)](/\.js$/,g),i=a159e[I(0x227)](I(0x1e8),framework,h),j=a159e[I(0x209)](a159e['join'](global[I(0x1e0)],i));if(a159f[I(0x1fd)](j))return h;}return b;}catch(k){errorHandler(I(0x1f7),k),process[I(0x1e2)](0x1);}}['pathFromTemplates']({pathParts:a,framework:framework=a159z(0x1c0),config:b}){const J=a159z;try{const c=this['rewriteSourcePathForEngine']({'pathParts':a,'framework':framework,'config':b}),d=a159e['join'](J(0x210)+framework,c),f=a159e['join'](global[J(0x1e0)],'..',d);return f;}catch(g){errorHandler(J(0x213),g),process['exit'](0x1);}}[a159z(0x23b)]({srcPath:a,context:b,framework:c,config:d}){const K=a159z;try{let f=this[K(0x212)]({'pathParts':[a],'framework':c,'config':d});const {engine:g}=this['engineAndTypeFromfilePath']({'filePath':f}),h=[K(0x1af),'scss',K(0x225),K(0x1fc),'js','jsx','ts',K(0x1be),K(0x1b0),K(0x1d1),K(0x238),K(0x222)],i=['png',K(0x22b)];if(!this['fsi']['isFile'](f)){g==='jsx'&&(f=f[K(0x1d0)]('.jsx',''));g===K(0x1be)&&(f=f['replace'](K(0x1d5),''));if(!this['fsi'][K(0x243)](f))throw new Error(K(0x203)+JSON[K(0x205)](f));}const j=f[K(0x1ca)]('.'),k=a159e[K(0x209)](f)[K(0x1ca)](a159e[K(0x236)]),l=k[k[K(0x1f3)]-0x1]===K(0x218),m=i['includes'](j[j[K(0x1f3)]-0x1]),n=a159f[K(0x1db)](f);if(l)return a159i[K(0x1a7)](n[K(0x1f9)](),b)[K(0x23f)]();if(m)return Buffer[K(0x23e)](n)[K(0x1f9)]('base64');if(!h[K(0x1d3)](j[j['length']-0x1]))return n[K(0x1f9)]()['trim']();return a159i['render'](n[K(0x1f9)](),b||{})[K(0x23f)]();}catch(o){errorHandler(K(0x230),o),process[K(0x1e2)](0x1);}}async[a159z(0x222)]({srcPath:a,destPath:b,context:c,config:d,framework:f,force:force=![],ignore:ignore=![]}){const L=a159z;try{const g=[L(0x231),L(0x22b)],h=g[L(0x1d3)](a[L(0x1ca)]('.')['pop']()||''),i=this['templateContent']({'srcPath':a,'context':c,'framework':f,'config':d})+'\x0a';c?.[L(0x241)]?b=this[L(0x1b7)]({'pathParts':[b],'config':d}):b=this[L(0x20d)]({'pathParts':[b],'config':d});const j=await this[L(0x1b5)][L(0x219)]({'filePath':b,'data':i,'opts':{'force':force,'isImage':h,'absolute':![],'ignore':ignore}});return j;}catch(k){errorHandler(L(0x1ce),k),process[L(0x1e2)](0x1);}}async[a159z(0x1e7)]({srcPath:a,destPath:b,context:c,ignore:d,keep:f,framework:g,config:h}){const M=a159z;try{const i=this['pathFromTemplates']({'pathParts':[a],'framework':g,'config':h}),j=this[M(0x212)]({'pathParts':[],'framework':g,'config':h}),k=n=>{const N=M;return n[N(0x1d0)](j,'');},l=n=>{const O=M;return n[O(0x1d0)](i,b);};await this[M(0x1b5)]['createDirectory']({'dirPath':b});const m=a159f[M(0x215)](i);for(const n of m){try{const o=a159e['join'](i,n),p=k(o),q=l(o),r=d[M(0x23a)](t=>a159e[M(0x209)](t)),s=a159e[M(0x209)](a159e['join'](a,n));if(r['includes'](s))continue;if(this[M(0x1b5)]['isDirectory'](o))await this[M(0x1e7)]({'srcPath':p,'destPath':q,'context':c,'ignore':d,'keep':f,'framework':g,'config':h});else{if(this[M(0x1b5)][M(0x243)](o)&&this[M(0x1c2)]({'pathParts':[o],'config':h}))await this['template']({'srcPath':p,'destPath':q,'context':c,'framework':g,'config':h});else f[M(0x21f)](a159e[M(0x227)](a,n))>=0x0&&this[M(0x1b5)]['isFile'](o)&&(c[M(0x241)]=!![],await this[M(0x222)]({'srcPath':p,'destPath':q,'context':c,'framework':g,'config':h}),c[M(0x241)]=![]);}}catch(t){console[M(0x208)](t),process['exit'](0x1);}}}catch(u){errorHandler(M(0x20b),u),process[M(0x1e2)](0x1);}}async['injectAtBeginningOfFile']({filePath:a,content:b,opts:c}){const P=a159z;if(!a)throw new Error(P(0x1c7));try{!this['fsi'][P(0x243)](a)&&await this[P(0x1b5)][P(0x219)]({'filePath':a,'data':b});let d=a159f[P(0x1db)](a,'utf8');d=b+'\x0a'+d,a159f[P(0x1b3)](a,d),c?.['verbose']&&Log[P(0x1b2)](treeSymbol+'\x20updated\x20file\x20'+a159e[P(0x1f6)](process[P(0x1a9)](),a));}catch(f){errorHandler('injectAtBeginningOfFile()',f),process['exit'](0x1);}}async[a159z(0x1e6)]({filePath:a,content:b,opts:c}){const Q=a159z;try{if(!this[Q(0x1b5)][Q(0x243)](a))await this[Q(0x1b5)][Q(0x219)]({'filePath':a,'data':b});else{let d=a159f[Q(0x1db)](a,'utf8');!d[Q(0x1d3)](b)&&(d=d+'\x0a'+b,a159f[Q(0x1b3)](a,d)),c?.[Q(0x1ba)]&&Log['header'](treeSymbol+Q(0x1f2)+a159e[Q(0x1f6)](process['cwd'](),a));}}catch(f){errorHandler('injectAtEndOfFile()',f),process[Q(0x1e2)](0x1);}}async[a159z(0x1fa)]({filePath:a,aboveContent:b,belowContent:c,targetString:d,indentAdjustment:indentAdjustment=0x0,targetIndentAdjustment:targetIndentAdjustment=0x0}){const R=a159z;try{if(!this['fsi'][R(0x243)](a))throw Log[R(0x208)](R(0x23c)+JSON[R(0x205)](a));const f=a159f[R(0x1db)](a,'utf8'),g=f[R(0x1d0)](/\r\n|\r/g,'\x0a'),h=g[R(0x1ca)]('\x0a'),j=this[R(0x239)](h),k=b[R(0x1d0)](/\r\n|\r/g,'\x0a')[R(0x1ca)]('\x0a'),l=c[R(0x1d0)](/\r\n|\r/g,'\x0a')[R(0x1ca)]('\x0a'),m=new RegExp(Array[R(0x1bc)](d)?d[R(0x227)]('|'):d,'i'),n=[];for(let p=0x0;p<h[R(0x1f3)];p++){const q=h[p];if(m[R(0x228)](q)){const r=this[R(0x1bd)](j,targetIndentAdjustment),s=r+q[R(0x23f)]();k['forEach'](t=>{const S=R;!g[S(0x1d3)](t[S(0x23f)]())&&n[S(0x220)](this[S(0x1bd)](j,indentAdjustment)+t);}),n[R(0x220)](s),l[R(0x1e5)](t=>{const T=R;!g[T(0x1d3)](t['trim']())&&n[T(0x220)](this[T(0x1bd)](j,indentAdjustment)+t);});}else n['push'](q);}const o=n['join']('\x0a');a159f[R(0x1b3)](a,o),Log['header'](treeSymbol+R(0x1f2)+a159e[R(0x1f6)](process[R(0x1a9)](),a));}catch(t){errorHandler(R(0x22f),t),process[R(0x1e2)](0x1);}}[a159z(0x1bd)](a,b){const U=a159z;if(b===0x0)return a;const c=a[U(0x1f3)]+b;return c>0x0?a[0x0][U(0x1ad)](c):'';}[a159z(0x239)](a){const W=a159z;let b=0x0,c=0x0;a['forEach'](f=>{const V=a159d;if(f[V(0x217)]('\x20'))b++;else f[V(0x217)]('\x09')&&c++;});const d=b>=c?'\x20':'\x09',e=this[W(0x21c)](a,d);return d[W(0x1ad)](e);}[a159z(0x21c)](a,b){const X=a159z,c=a[X(0x1fe)](d=>d&&d['startsWith'](b))[X(0x23a)](d=>{const Y=X,e=d['match'](new RegExp('^'+b+'+'));return e?e[0x0][Y(0x1f3)]:0x0;});if(c[X(0x1f3)]===0x0)return 0x0;return this[X(0x1f1)](c);}['calculateMode'](a){const Z=a159z,b=a[Z(0x1ac)]((c,d)=>{return c[d]=(c[d]||0x0)+0x1,c;},{});return Object[Z(0x1b1)](b)[Z(0x1ac)]((c,d)=>{const e=b[+c],f=b[+d];return e>f?+c:+d;},0x0);}async[a159z(0x1ec)]({filePath:a,content:b,begin:c,replace:replace=![]}){const a0=a159z;try{if(!this[a0(0x1b5)]['isFile'](a))throw new Error(a0(0x1a8)+a);const d=a159f['readFileSync'](a,a0(0x237)),f=d[a0(0x1ca)]('\x0a');let g=-0x1,h=-0x1,j=0x0,k=![],l=![];const m=Array[a0(0x1bc)](c)?c:[c];for(let o=0x0;o<f[a0(0x1f3)];o++){const p=f[o];k&&p[a0(0x1d3)]('{')&&j++;if(m[a0(0x20e)](q=>p[a0(0x1d3)](q))){g=o,k=!![],j++;continue;}if(k){p[a0(0x1d3)](b[a0(0x23f)]())&&(l=!![]);if(p['includes']('}')){j--;if(j===0x0){h=o;break;}}}}if(g===-0x1||h===-0x1){Log[a0(0x208)](a0(0x234)+a),Log[a0(0x208)]('While\x20injecting\x20'+b),Log['error']('Looking\x20for\x20'+c);throw new Error(a0(0x200));}if(l)return;let n=f[a0(0x1df)](0x0,g+0x1);replace?(n['push'](b[a0(0x23f)]()),n[a0(0x220)](f[h])):(n=n[a0(0x1b8)](f['slice'](g+0x1,h)),n[a0(0x220)](b[a0(0x23f)]())),n=n[a0(0x1b8)](f['slice'](h+0x1)),a159f[a0(0x1b3)](a,n['join']('\x0a'),'utf8');}catch(q){console[a0(0x208)](a0(0x1d2),q);throw q;}}async[a159z(0x1e3)]({filePath:a,content:c,begin:d,end:f,replace:replace=![]}){const a1=a159z;try{const g=await this[a1(0x1b5)]['fileContainsString'](a,c);if(g)return;if(!this[a1(0x1b5)][a1(0x243)](a))throw Log[a1(0x208)]('No\x20file\x20found\x20to\x20inject\x20content\x20into\x20at\x20path\x20'+JSON[a1(0x205)](a));const h=a159f[a1(0x1db)](a,'utf8');if(!Array[a1(0x1bc)](d))d=[d];if(!Array[a1(0x1bc)](f))f=[f];let i=h,j=![];for(const k of d){for(const l of f){const m=new RegExp('('+k+'[\x5cs\x5cS]*?)('+l+')','i');i=h[a1(0x1d0)](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(a1(0x1b9));a159f[a1(0x1b3)](a,i),Log[a1(0x1b2)](treeSymbol+a1(0x1f2)+a159e['relative'](process[a1(0x1a9)](),a));}catch(n){errorHandler(a1(0x216),n),process[a1(0x1e2)](0x1);}}async[a159z(0x1d6)]({filePath:a,importName:b,modulePath:c,isNamedExport:d,injectAtStart:injectAtStart=![]}){const a2=a159z;try{const f=a159f[a2(0x1db)](a,a2(0x237));let g;d?g='import\x20{\x20'+b+a2(0x1c6)+c+'\x27;\x0a':g=a2(0x1aa)+b+a2(0x22a)+c+a2(0x1de);const h=f[a2(0x1ca)]('\x0a');let j=0x0,k=![];for(const m of h){if(m['includes'](a2(0x1e1)+c+'\x27')||m[a2(0x1d3)](a2(0x1d9)+c+'\x22')){const n=d?new RegExp('\x5cb'+b+'\x5cb','g'):new RegExp(a2(0x1aa)+b+a2(0x1dc));if(m[a2(0x1e9)](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[a2(0x1f3)];p++){h[p][a2(0x1e9)](/^import .* from .*;$/)&&(j=p);}j++;}h['splice'](j,0x0,g);const l=h[a2(0x227)]('\x0a');a159f[a2(0x1b3)](a,l,'utf8');}catch(q){errorHandler(a2(0x1ea),q),process['exit'](0x1);}}async[a159z(0x22e)](a,b,c){const a3=a159z;try{let d;b[a3(0x1f5)][a3(0x229)]!==a3(0x202)?d=this[a3(0x1c5)]({'pathParts':[a3(0x1d8),'startup','lib',a3(0x214)],'config':b}):d=this[a3(0x1c5)]({'pathParts':[a3(0x1d8),a3(0x207),a3(0x1da),a3(0x214)],'config':b});const f=this[a3(0x20d)]({'pathParts':[d],'config':b}),g=a3(0x1b4)+pascalCase(a)+a3(0x1c6)+c+'\x27;',h=await this['fsi'][a3(0x23d)](f,g);!h&&this['injectAtEndOfFile']({'filePath':f,'content':g+'\x0a'});}catch(i){errorHandler('injectTemplateModule()',i),process[a3(0x1e2)](0x1);}}[a159z(0x1bb)]({filePath:a,content:b,lineNumber:c}){const a4=a159z;try{const d=a159f[a4(0x1db)](a)[a4(0x1f9)]()[a4(0x1ca)]('\x0a');d['splice'](c,0x0,b);const f=d[a4(0x227)]('\x0a');a159f[a4(0x1b3)](a,f);}catch(g){errorHandler('injectAfterLineNumber()',g),process[a4(0x1e2)](0x1);}}[a159z(0x1c5)]({pathParts:a,config:b}){const a5=a159z;try{if(!a)throw new Error(a5(0x1f4));const c=this['rewriteSourcePathForEngine']({'pathParts':a,'config':b}),d=this[a5(0x1b5)][a5(0x1c1)]();return d?a159e[a5(0x227)](d,c):'';}catch(f){errorHandler('pathFromApp()',f),process[a5(0x1e2)](0x1);}}[a159z(0x1eb)]({pathParts:a,config:b}){const a6=a159z;try{const c=this[a6(0x1fb)]({'pathParts':a,'config':b}),d=this['fsi']['findAppDirectory']();if(!d)throw new Error('No\x20app\x20directory\x20found');return a159e[a6(0x227)](d,c);}catch(f){errorHandler(a6(0x20f),f),process[a6(0x1e2)](0x1);}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){const j=a160d,c=a();while(!![]){try{const d
|
|
1
|
+
const a160m=a160d;(function(a,b){const j=a160d,c=a();while(!![]){try{const d=-parseInt(j(0x1ac))/0x1+parseInt(j(0x1b7))/0x2*(parseInt(j(0x1b8))/0x3)+-parseInt(j(0x1ae))/0x4+-parseInt(j(0x1af))/0x5+parseInt(j(0x1c2))/0x6+-parseInt(j(0x1c3))/0x7+-parseInt(j(0x1b6))/0x8*(-parseInt(j(0x1bc))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a160c,0xebb9d));function a160c(){const t=['576MqxzbB','start','apply','message','disconnect','toString','8743302AkkVcq','7497868BoCmXa','log','inherit','1595911hAmMWH','pid','4718936UcUCEK','9630575VsQtnI','ignore','success','withSpinner','error','constructor','verbose','626656OzKIin','16bEJIdM','100482zPGbCP','failure','(((.+)+)+)+$','search'];a160c=function(){return t;};return a160c();}function a160d(a,b){const c=a160c();return a160d=function(d,e){d=d-0x1ab;let f=c[d];return f;},a160d(a,b);}const a160b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a160d;if(c){const e=c[k(0x1be)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a160a=a160b(this,function(){const l=a160d;return a160a[l(0x1c1)]()[l(0x1bb)](l(0x1ba))[l(0x1c1)]()[l(0x1b4)](a160a)[l(0x1bb)]('(((.+)+)+)+$');});a160a();import{spawn}from'child_process';import{Log}from'../log/log.class.js';export class SpawnAsync{static[a160m(0x1b2)](a,b,c){return new Promise((d,e)=>{const n=a160d,f=Log[n(0x1b2)](),g=c?.['cwd']||'.';c?.['message']&&f[n(0x1bd)](c?.[n(0x1bf)]);const h=spawn(a,b,{'cwd':g,'stdio':c?.[n(0x1b5)]?n(0x1ab):n(0x1b0)});process['on']('SIGINT',()=>{const o=n,i=h[o(0x1ad)];i&&process['kill'](i);}),h['on']('data',i=>{const p=n;console[p(0x1c4)](i);}),h['on'](n(0x1c0),()=>{const q=n;c?.[q(0x1bf)]&&f[q(0x1b1)](),d();}),h['on']('close',()=>{const r=n;c?.['message']&&f[r(0x1b1)](),d();}),h['on'](n(0x1b3),()=>{const s=n;c?.['message']&&f[s(0x1b9)](),e();});});}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a161d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
function a161c(){var h=['search','constructor','8545PYKbBD','15136856GgoIlA','104iuNvDO','171852xXoZrc','27YGqZzq','(((.+)+)+)+$','353313dMSVXl','toString','2438812prIsIC','617675nKicLA','308aeQivP','5377970YHPyFc'];a161c=function(){return h;};return a161c();}(function(a,b){var f=a161d,c=a();while(!![]){try{var d=-parseInt(f(0x14d))/0x1*(parseInt(f(0x14f))/0x2)+-parseInt(f(0x145))/0x3+-parseInt(f(0x147))/0x4+-parseInt(f(0x148))/0x5+-parseInt(f(0x142))/0x6*(parseInt(f(0x149))/0x7)+parseInt(f(0x14e))/0x8+-parseInt(f(0x143))/0x9*(-parseInt(f(0x14a))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a161c,0xe7e8d));function a161d(a,b){var c=a161c();return a161d=function(d,e){d=d-0x142;var f=c[d];return f;},a161d(a,b);}var a161b=(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;};}()),a161a=a161b(this,function(){var g=a161d;return a161a[g(0x146)]()[g(0x14b)](g(0x144))[g(0x146)]()[g(0x14c)](a161a)[g(0x14b)](g(0x144));});a161a();export{};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a162o=a162d;(function(a,b){const m=a162d,c=a();while(!![]){try{const d=-parseInt(m(0x150))/0x1+parseInt(m(0x16a))/0x2+-parseInt(m(0x15f))/0x3+parseInt(m(0x14e))/0x4*(parseInt(m(0x166))/0x5)+-parseInt(m(0x16f))/0x6+parseInt(m(0x156))/0x7+parseInt(m(0x157))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a162c,0x21836));const a162b=(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;};}()),a162a=a162b(this,function(){const n=a162d;return a162a[n(0x159)]()['search']('(((.+)+)+)+$')[n(0x159)]()[n(0x15e)](a162a)['search'](n(0x167));});a162a();import a162e from'path';function a162d(a,b){const c=a162c();return a162d=function(d,e){d=d-0x14e;let f=c[d];return f;},a162d(a,b);}function a162c(){const w=['concat','181486jGuIsG','source','failure','error','user','host','196728zUBIOz','2256528xgGDJE','env','toString','ssh','join','ssh\x20','ConnectTimeout=2','constructor','221532YkJzzC','pem','push','disconnect','sshVerbose','inherit','message','160220CHclHx','(((.+)+)+)+$','scp','2>&1','16912ZfYrLZ','verbose','start','tty','port','517476YERTas','success','dest','ignore','20vCspCK'];a162c=function(){return w;};return a162c();}import{execSync,spawnSync,spawn}from'child_process';import{Log}from'../log/log.class.js';export class SSH{static [a162o(0x15a)]=(a,b,c)=>{return new Promise((d,e)=>{const p=a162d,f=b[p(0x154)]+'@'+b[p(0x155)],g=a162e[p(0x15b)](b[p(0x158)],b[p(0x160)]),h=c?.['tty']||![],i=c?.[p(0x163)]||![];let j=[];h&&j[p(0x161)]('-t');i&&j[p(0x161)]('-v');j=j[p(0x14f)](['-o',p(0x15d),'-i',g,'-p',b[p(0x16e)],f,a]);const k=Log['withSpinner']();c?.[p(0x165)]&&k[p(0x16c)](c?.['message']);const l=spawn(p(0x15a),j,{'stdio':c?.[p(0x16b)]?p(0x164):'ignore'});l['on'](p(0x162),()=>{const q=p;c?.[q(0x165)]&&k[q(0x170)](),d();}),l['on']('close',()=>{const r=p;c?.[r(0x165)]&&k[r(0x170)](),d();}),l['on'](p(0x153),()=>{const s=p;c?.['message']&&k[s(0x152)](),e();});});};static ['sshSync']=(a,b,c)=>{const t=a162o,d=b[t(0x154)]+'@'+b[t(0x155)],e=a162e[t(0x15b)](b[t(0x158)],b[t(0x160)]),f=c?.[t(0x16d)]||![],g=c?.[t(0x163)]||![];let h=[];f&&h['push']('-t'),g&&h['push']('-v'),h=h[t(0x14f)](['-o',t(0x15d),'-i',e,'-p',b[t(0x16e)],d,a]),spawnSync('ssh',h,{'stdio':c?.[t(0x16b)]?t(0x164):t(0x172)});};static['ping'](a,b,c){const u=a162o,d=b['user']+'@'+b[u(0x155)],e=a162e[u(0x15b)](b[u(0x158)],b[u(0x160)]),f=c?.[u(0x16d)]||![];let g=[];f&&g['push']('-t');g=g['concat'](['-o',u(0x15d),'-i',e,'-p',b['port'],d,a,u(0x169)]);const h=u(0x15c)+g['join']('\x20');return execSync(h)[u(0x159)]();}static[a162o(0x168)](a,b){const v=a162o,c=b[v(0x154)]+'@'+b[v(0x155)]+':'+a[v(0x171)],d=a162e['join'](b[v(0x158)],b[v(0x160)]),e=['-i',d,'-P',b[v(0x16e)],a[v(0x151)],c];spawnSync('scp',e,{'stdio':a[v(0x16b)]?'inherit':v(0x172)});}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a163c(){var i=['3VPzLJY','536BaFGte','4577272mgvmlm','apply','548MJxTnx','search','12676939RRHsYV','15tCIEmt','26537xfTzvA','10vrUqLq','7267nCPnPG','35556eAaFdU','constructor','8lDuoIn','2433438ICByQn','toString','2845608jcdMos','(((.+)+)+)+$'];a163c=function(){return i;};return a163c();}(function(a,b){var f=a163d,c=a();while(!![]){try{var d=parseInt(f(0x1cc))/0x1*(parseInt(f(0x1c3))/0x2)+-parseInt(f(0x1c8))/0x3*(parseInt(f(0x1ca))/0x4)+parseInt(f(0x1cf))/0x5*(parseInt(f(0x1c6))/0x6)+-parseInt(f(0x1d0))/0x7*(-parseInt(f(0x1c9))/0x8)+-parseInt(f(0x1c4))/0x9+-parseInt(f(0x1d1))/0xa*(parseInt(f(0x1ce))/0xb)+parseInt(f(0x1d3))/0xc*(parseInt(f(0x1d2))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a163c,0xbb8a1));var a163b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a163d;if(c){var e=c[g(0x1cb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a163a=a163b(this,function(){var h=a163d;return a163a[h(0x1c5)]()[h(0x1cd)]('(((.+)+)+)+$')[h(0x1c5)]()[h(0x1d4)](a163a)[h(0x1cd)](h(0x1c7));});a163a();function a163d(a,b){var c=a163c();return a163d=function(d,e){d=d-0x1c3;var f=c[d];return f;},a163d(a,b);}export{};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a164j=a164d;(function(a,b){const f=a164d,c=a();while(!![]){try{const d=parseInt(f(0x13f))/0x1*(-parseInt(f(0x143))/0x2)+parseInt(f(0x13e))/0x3+parseInt(f(0x130))/0x4*(-parseInt(f(0x13a))/0x5)+parseInt(f(0x13c))/0x6+parseInt(f(0x127))/0x7*(parseInt(f(0x142))/0x8)+-parseInt(f(0x134))/0x9*(-parseInt(f(0x126))/0xa)+parseInt(f(0x13d))/0xb*(-parseInt(f(0x140))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a164c,0xea377));const a164b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a164d;if(c){const e=c[g(0x139)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a164a=a164b(this,function(){const h=a164d;return a164a[h(0x137)]()['search']('(((.+)+)+)+$')[h(0x137)]()['constructor'](a164a)[h(0x12e)](h(0x141));});function a164d(a,b){const c=a164c();return a164d=function(d,e){d=d-0x125;let f=c[d];return f;},a164d(a,b);}a164a();import{spawnSync}from'child_process';function a164c(){const l=['576928dOqyYZ','54822Iwgsgo','-out','-key','-keyout','387130uylDmY','42szFdkA','req','openssl.conf','genSSC','-config','-nodes','cwd','search','-new','1083268JAkFKX','openssl','csrName','push','279EAyptz','useConfig','keyName','toString','inherit','apply','15qGEdtK','crtName','1600944sJBbYX','2601313LNldjj','5733942uFflYB','14JicYNz','84azqFMv','(((.+)+)+)+$'];a164c=function(){return l;};return a164c();}export class SSL{static['genCSR'](a){const i=a164d,b=a[i(0x12d)]?a[i(0x12d)]:process[i(0x12d)](),c=[i(0x128),i(0x12f),'-newkey','rsa:2048',i(0x12c),i(0x125),a[i(0x136)],i(0x144),a[i(0x132)]];a[i(0x135)]&&(c['push'](i(0x12b)),c[i(0x133)](i(0x129))),a['useConfig']?spawnSync('openssl',c,{'cwd':b}):spawnSync('openssl',c,{'stdio':'inherit','cwd':b});}static[a164j(0x12a)](a){const k=a164j,b=a[k(0x12d)]?a['cwd']:process['cwd'](),c=[k(0x128),'-x509',k(0x12f),k(0x145),a[k(0x136)],'-out',a[k(0x13b)]];a['useConfig']&&(c[k(0x133)](k(0x12b)),c[k(0x133)](k(0x129))),a[k(0x135)]?spawnSync('openssl',c,{'cwd':b}):spawnSync(k(0x131),c,{'stdio':k(0x138),'cwd':b});}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maka/maka-cli",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.26",
|
|
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/delete-1.1.0.tgz
DELETED
|
Binary file
|
package/maka-maka-cli-5.0.23.tgz
DELETED
|
Binary file
|
package/matched-5.0.1.tgz
DELETED
|
Binary file
|