@maka/maka-cli 5.0.31 → 5.0.32
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/service/eslint/babelrc +16 -1
- package/bundle/obf/src/templates/service/eslint/config.eslint.js +29 -33
- 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 a159z=a159d;(function(a,b){const v=a159d,c=a();while(!![]){try{const d=parseInt(v(0xf7))/0x1*(-parseInt(v(0x11a))/0x2)+-parseInt(v(0x12e))/0x3*(-parseInt(v(0x109))/0x4)+parseInt(v(0xd4))/0x5*(-parseInt(v(0xe2))/0x6)+parseInt(v(0x163))/0x7+parseInt(v(0xef))/0x8+-parseInt(v(0x124))/0x9*(parseInt(v(0xe3))/0xa)+parseInt(v(0x130))/0xb*(parseInt(v(0x139))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a159c,0xc7777));const a159b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a159d;if(c){const e=c[w(0xdf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a159a=a159b(this,function(){const x=a159d;return a159a[x(0xfd)]()[x(0x127)](x(0x102))[x(0xfd)]()[x(0x13d)](a159a)[x(0x127)](x(0x102));});a159a();import a159e from'path';import a159f from'fs';function a159c(){const a7=['release','Unable\x20to\x20find\x20the\x20target\x20block\x20to\x20inject\x20content.','noRename','css','pathFromAppWithNoReWrite()','normalize','.js','pathFromApp()','Error\x20in\x20','yaml','146765uLtPaK','instance','No\x20file\x20found\x20to\x20inject\x20content\x20into\x20at\x20path\x20','template()','.git','verbose','slice','readFileSync','No\x20filePath\x20provided\x20to\x20injectAtBeginningOfFile()','writeSourcePath','repeat','apply','startsWith','type','306DJZQBU','50gZrXwD','isTemplateForEngine()','No\x20app\x20directory\x20found','sep','cwd','trim','pathFromApp','While\x20injecting\x20','injectIntoFile()','No\x20matching\x20section\x20found.','MAKA_COMMAND_PATH','createEmptyMeteorProject','11346656WUTOQr','rewriteDestinationPathForType','getCommonIndentSize','Directory\x20','jsx','length','pop','ico','523fehCNh','engines','scss','Dockerfile','src/templates/','templateContent','toString','templates.js','match','rewriteDestinationPathForEngine','forEach','(((.+)+)+)+$','lib','import\x20','meteor','--minimal','join','utf8','8mWwkDm','export\x20{\x20','replace','createFile','pathFromTemplates','\x20create\x20','[\x5cs\x5cS]*?)(','exit','engineAndTypeFromfilePath','Couldn\x27t\x20find\x20a\x20source\x20template\x20in\x20','findAppDirectory','warn','\x20from','getInstance','base64','keys','fileContainsString','3074cmFHDq','injectAtBeginningOfFile','injectIntoFile','copyTemplateDirectory','.js.ts','adjustIndentation','endsWith','injectAfterLineNumber','copyTemplateDirectory()','injectIntoCodeBlock','1987803rYVDnm','relative','Please\x20report\x20any\x20issues\x20to\x20https://github.com/maka-io/maka-cli/issues','search','template','pathFromAppWithNoReWrite','Creating\x20a\x20new\x20Meteor\x20project\x20with\x20an\x20alpha\x20release:\x20','\x20}\x20from\x20\x27','rewriteDestinationPathForEngine()','detectIndentation','532995CXRgqd','map','33011msEiwO','tsx','some','message','win32','split','from\x20\x27','writeFileSync','env','6156DbaQvW','html','\x20->','includes','constructor','No\x20configuration\x20so\x20can\x27t\x20determine\x20engines.','concat','\x5cS*$','splice','less','.jsx','.meteor','platform','none','.tsx','isFile','mpi','engineAndTypeFromfilePath()','imports','push','client','import\x20{\x20','True','rewriteSourcePathForEngine','from\x20\x22','existsSync','isTemplateForEngine','readdirSync','render','png','\x20doesn\x27t\x20exist','No\x20pathParts\x20option\x20provided','engine','json','stringify','pathFromTemplates()','isArray','templateContent()','ssr','injectAtBeginningOfFile()','fsi','isDirectory','6363203ndTTJU','Error\x20in\x20injectIntoCodeBlock:\x20','injectAtEndOfFile','calculateMode','\x20updated\x20file\x20','--release\x20','from','startup','createDirectory','Looking\x20for\x20','header','error'];a159c=function(){return a7;};return a159c();}import a159g from'util';function a159d(a,b){const c=a159c();return a159d=function(d,e){d=d-0xc2;let f=c[d];return f;},a159d(a,b);}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(0x138)]['MAKA_DEV']===y(0x14f)&&Log[y(0xc9)](y(0xd2)+a),b&&console[y(0xc9)](b);},isWin=process[a159z(0x145)]===a159z(0x134),treeSymbol=isWin?a159z(0x13b):'\x20┗';export class Scaffold{static [a159z(0xd5)];[a159z(0x161)];[a159z(0x149)];constructor(a,b){const A=a159z;this[A(0x161)]=a,this[A(0x149)]=b;}static[a159z(0x116)](a,b){const B=a159z;return!Scaffold[B(0xd5)]&&(Scaffold[B(0xd5)]=new Scaffold(a,b)),Scaffold[B(0xd5)];}async[a159z(0xee)](a,b){const C=a159z;b['cwd']=b[C(0xe7)]||'.';const c=a159e[C(0x107)](b[C(0xe7)],a),d=a159e[C(0x107)](c,'.meteor');if(this['fsi'][C(0x162)](d))throw new Error('Meteor\x20project\x20already\x20exists\x20at\x20'+JSON[C(0x15b)](c));const e=C(0x106),f=a159e[C(0x107)](b[C(0xe7)]),g=a159g['promisify'](exec),h=b[C(0xca)]?C(0xc3)+b[C(0xca)]:'';b['release']&&b[C(0xca)]['includes']('alpha')&&(Log[C(0x114)](C(0x12a)+b[C(0xca)]),Log['warn'](C(0x126)));try{await g(this['mpi'][C(0x105)]+C(0x10e)+a+'\x20'+e+'\x20'+h,{'cwd':f});}catch(k){Log[C(0xc9)]('\x0a'+k[C(0x133)]);throw k;}const i=a159e[C(0x107)](f,a);if(!a159f[C(0x152)](i))throw new Error(C(0xf2)+i+C(0x157));const j=a159f['readdirSync'](i);for(const l of j){if(l!==C(0xd8)&&l!==C(0x144)){const m=a159e[C(0x107)](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(0x135)]('.',0x3);if(!c)return{'type':undefined,'engine':undefined};let d=c[D(0xf5)](),f=c[D(0xf5)]()||d;if(d)d=d[D(0x10b)]('.','');if(f)f=f[D(0x10b)]('.','');return{'type':f,'engine':d};}catch(g){errorHandler(D(0x14a),g),process['exit'](0x1);}}[a159z(0xf0)]({pathParts:a,config:b}){const E=a159z;try{const c=a[E(0x107)](a159e[E(0xe6)]),d=this[E(0x111)]({'filePath':c})[E(0xe1)],f=b?.[E(0xf8)][d],g=new RegExp('\x5c.'+d+E(0x140));return!d||!f?c:c[E(0x10b)](g,'.'+d);}catch(h){errorHandler('rewriteDestinationPathForType()',h),process[E(0x110)](0x1);}}['isTemplateForEngine']({pathParts:a,config:b}){const F=a159z;try{if(!b)throw new Error(F(0x13e));const c=a[F(0x107)](a159e[F(0xe6)]),d=this['engineAndTypeFromfilePath']({'filePath':c});if(!d[F(0xe1)]||!d[F(0x159)])return!![];const f=b['engines'][d[F(0xe1)]];if(!f)return!![];return f===d[F(0x159)];}catch(g){errorHandler(F(0xe4),g),process[F(0x110)](0x1);}}[a159z(0xdd)]({pathParts:pathParts=[]}){const G=a159z;return pathParts[G(0x107)](a159e[G(0xe6)]);}[a159z(0x100)]({pathParts:pathParts=[],config:a}){const H=a159z;try{const b=pathParts['join'](a159e[H(0xe6)]),c=this[H(0x111)]({'filePath':b})[H(0xe1)],d=a?.[H(0xf8)][c],f=new RegExp('\x5c.'+c+'\x5cS*$');return!c||!d?b:b[H(0x10b)](f,'.'+d);}catch(g){errorHandler(H(0x12c),g),process[H(0x110)](0x1);}}[a159z(0x150)]({pathParts:pathParts=[],framework:framework=a159z(0x105),config:a}){const I=a159z;try{const b=a159e[I(0xcf)](pathParts[I(0x107)](a159e[I(0xe6)]));if(!b[I(0x120)](I(0xd0)))return b;const c='js';if(!a?.[I(0xf8)]||!a?.['engines'][c])return b;const d=a[I(0xf8)][c],f=d==='tsx'?['.js.tsx',I(0x11e),I(0xd0)]:['.js.jsx','.js'];for(const g of f){const h=b[I(0x10b)](/\.js$/,g),i=a159e[I(0x107)]('templates',framework,h),j=a159e['normalize'](a159e[I(0x107)](global[I(0xed)],i));if(a159f[I(0x152)](j))return h;}return b;}catch(k){errorHandler('rewriteSourcePathForEngine()',k),process[I(0x110)](0x1);}}['pathFromTemplates']({pathParts:a,framework:framework=a159z(0x105),config:b}){const J=a159z;try{const c=this[J(0x150)]({'pathParts':a,'framework':framework,'config':b}),d=a159e['join'](J(0xfb)+framework,c),f=a159e[J(0x107)](global[J(0xed)],'..',d);return f;}catch(g){errorHandler(J(0x15c),g),process['exit'](0x1);}}['templateContent']({srcPath:a,context:b,framework:c,config:d}){const K=a159z;try{let f=this[K(0x10d)]({'pathParts':[a],'framework':c,'config':d});const {engine:g}=this[K(0x111)]({'filePath':f}),h=[K(0xcd),K(0xf9),K(0x142),K(0x13a),'js',K(0xf3),'ts',K(0x131),K(0x15a),K(0x138),K(0xd3),K(0x128)],i=[K(0x156),K(0xf6)];if(!this[K(0x161)][K(0x148)](f)){g===K(0xf3)&&(f=f[K(0x10b)](K(0x143),''));g==='tsx'&&(f=f[K(0x10b)](K(0x147),''));if(!this[K(0x161)]['isFile'](f))throw new Error(K(0x112)+JSON[K(0x15b)](f));}const j=f[K(0x135)]('.'),k=a159e[K(0xcf)](f)[K(0x135)](a159e[K(0xe6)]),l=k[k['length']-0x1]===K(0xfa),m=i['includes'](j[j['length']-0x1]),n=a159f[K(0xdb)](f);if(l)return a159i['render'](n[K(0xfd)](),b)[K(0xe8)]();if(m)return Buffer[K(0xc4)](n)[K(0xfd)](K(0x117));if(!h[K(0x13c)](j[j[K(0xf4)]-0x1]))return n[K(0xfd)]()[K(0xe8)]();return a159i[K(0x155)](n[K(0xfd)](),b||{})[K(0xe8)]();}catch(o){errorHandler(K(0x15e),o),process['exit'](0x1);}}async[a159z(0x128)]({srcPath:a,destPath:b,context:c,config:d,framework:f,force:force=![],ignore:ignore=![]}){const L=a159z;try{const g=['png',L(0xf6)],h=g['includes'](a[L(0x135)]('.')['pop']()||''),i=this[L(0xfc)]({'srcPath':a,'context':c,'framework':f,'config':d})+'\x0a';c?.[L(0xcc)]?b=this['rewriteDestinationPathForType']({'pathParts':[b],'config':d}):b=this[L(0x100)]({'pathParts':[b],'config':d});const j=await this[L(0x161)][L(0x10c)]({'filePath':b,'data':i,'opts':{'force':force,'isImage':h,'absolute':![],'ignore':ignore}});return j;}catch(k){errorHandler(L(0xd7),k),process[L(0x110)](0x1);}}async[a159z(0x11d)]({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(0x10d)]({'pathParts':[],'framework':g,'config':h}),k=n=>{const N=M;return n[N(0x10b)](j,'');},l=n=>{const O=M;return n[O(0x10b)](i,b);};await this[M(0x161)][M(0xc6)]({'dirPath':b});const m=a159f[M(0x154)](i);for(const n of m){try{const o=a159e[M(0x107)](i,n),p=k(o),q=l(o),r=d[M(0x12f)](t=>a159e[M(0xcf)](t)),s=a159e[M(0xcf)](a159e[M(0x107)](a,n));if(r['includes'](s))continue;if(this[M(0x161)][M(0x162)](o))await this[M(0x11d)]({'srcPath':p,'destPath':q,'context':c,'ignore':d,'keep':f,'framework':g,'config':h});else{if(this[M(0x161)][M(0x148)](o)&&this[M(0x153)]({'pathParts':[o],'config':h}))await this[M(0x128)]({'srcPath':p,'destPath':q,'context':c,'framework':g,'config':h});else f['indexOf'](a159e[M(0x107)](a,n))>=0x0&&this[M(0x161)][M(0x148)](o)&&(c[M(0xcc)]=!![],await this[M(0x128)]({'srcPath':p,'destPath':q,'context':c,'framework':g,'config':h}),c[M(0xcc)]=![]);}}catch(t){console['error'](t),process[M(0x110)](0x1);}}}catch(u){errorHandler(M(0x122),u),process['exit'](0x1);}}async[a159z(0x11b)]({filePath:a,content:b,opts:c}){const P=a159z;if(!a)throw new Error(P(0xdc));try{!this[P(0x161)]['isFile'](a)&&await this['fsi'][P(0x10c)]({'filePath':a,'data':b});let d=a159f['readFileSync'](a,P(0x108));d=b+'\x0a'+d,a159f[P(0x137)](a,d),c?.['verbose']&&Log[P(0xc8)](treeSymbol+'\x20updated\x20file\x20'+a159e[P(0x125)](process['cwd'](),a));}catch(f){errorHandler(P(0x160),f),process[P(0x110)](0x1);}}async['injectAtEndOfFile']({filePath:a,content:b,opts:c}){const Q=a159z;try{if(!this['fsi'][Q(0x148)](a))await this[Q(0x161)][Q(0x10c)]({'filePath':a,'data':b});else{let d=a159f['readFileSync'](a,Q(0x108));!d[Q(0x13c)](b)&&(d=d+'\x0a'+b,a159f[Q(0x137)](a,d)),c?.[Q(0xd9)]&&Log[Q(0xc8)](treeSymbol+Q(0xc2)+a159e[Q(0x125)](process[Q(0xe7)](),a));}}catch(f){errorHandler('injectAtEndOfFile()',f),process['exit'](0x1);}}async['injectAroundString']({filePath:a,aboveContent:b,belowContent:c,targetString:d,indentAdjustment:indentAdjustment=0x0,targetIndentAdjustment:targetIndentAdjustment=0x0}){const R=a159z;try{if(!this[R(0x161)][R(0x148)](a))throw Log['error']('No\x20file\x20found\x20at\x20path\x20'+JSON[R(0x15b)](a));const f=a159f['readFileSync'](a,R(0x108)),g=f[R(0x10b)](/\r\n|\r/g,'\x0a'),h=g['split']('\x0a'),j=this[R(0x12d)](h),k=b[R(0x10b)](/\r\n|\r/g,'\x0a')[R(0x135)]('\x0a'),l=c[R(0x10b)](/\r\n|\r/g,'\x0a')[R(0x135)]('\x0a'),m=new RegExp(Array['isArray'](d)?d[R(0x107)]('|'):d,'i'),n=[];for(let p=0x0;p<h[R(0xf4)];p++){const q=h[p];if(m['test'](q)){const r=this[R(0x11f)](j,targetIndentAdjustment),s=r+q['trim']();k['forEach'](t=>{const S=R;!g['includes'](t[S(0xe8)]())&&n[S(0x14c)](this[S(0x11f)](j,indentAdjustment)+t);}),n[R(0x14c)](s),l[R(0x101)](t=>{const T=R;!g[T(0x13c)](t[T(0xe8)]())&&n['push'](this['adjustIndentation'](j,indentAdjustment)+t);});}else n['push'](q);}const o=n[R(0x107)]('\x0a');a159f[R(0x137)](a,o),Log[R(0xc8)](treeSymbol+R(0xc2)+a159e[R(0x125)](process['cwd'](),a));}catch(t){errorHandler('injectAroundString()',t),process[R(0x110)](0x1);}}['adjustIndentation'](a,b){const U=a159z;if(b===0x0)return a;const c=a['length']+b;return c>0x0?a[0x0][U(0xde)](c):'';}[a159z(0x12d)](a){const V=a159z;let b=0x0,c=0x0;a[V(0x101)](f=>{const W=V;if(f[W(0xe0)]('\x20'))b++;else f[W(0xe0)]('\x09')&&c++;});const d=b>=c?'\x20':'\x09',e=this[V(0xf1)](a,d);return d[V(0xde)](e);}['getCommonIndentSize'](a,b){const X=a159z,c=a['filter'](d=>d&&d[X(0xe0)](b))[X(0x12f)](d=>{const Y=X,e=d[Y(0xff)](new RegExp('^'+b+'+'));return e?e[0x0][Y(0xf4)]:0x0;});if(c[X(0xf4)]===0x0)return 0x0;return this[X(0x166)](c);}[a159z(0x166)](a){const Z=a159z,b=a['reduce']((c,d)=>{return c[d]=(c[d]||0x0)+0x1,c;},{});return Object[Z(0x118)](b)['reduce']((c,d)=>{const e=b[+c],f=b[+d];return e>f?+c:+d;},0x0);}async[a159z(0x123)]({filePath:a,content:b,begin:c,replace:replace=![]}){const a0=a159z;try{if(!this[a0(0x161)]['isFile'](a))throw new Error('File\x20not\x20found:\x20'+a);const d=a159f[a0(0xdb)](a,a0(0x108)),f=d[a0(0x135)]('\x0a');let g=-0x1,h=-0x1,j=0x0,k=![],l=![];const m=Array[a0(0x15d)](c)?c:[c];for(let o=0x0;o<f[a0(0xf4)];o++){const p=f[o];k&&p[a0(0x13c)]('{')&&j++;if(m[a0(0x132)](q=>p[a0(0x13c)](q))){g=o,k=!![],j++;continue;}if(k){p['includes'](b[a0(0xe8)]())&&(l=!![]);if(p['includes']('}')){j--;if(j===0x0){h=o;break;}}}}if(g===-0x1||h===-0x1){Log[a0(0xc9)]('Unable\x20to\x20find\x20the\x20target\x20block\x20to\x20inject\x20content\x20in\x20'+a),Log[a0(0xc9)](a0(0xea)+b),Log['error'](a0(0xc7)+c);throw new Error(a0(0xcb));}if(l)return;let n=f[a0(0xda)](0x0,g+0x1);replace?(n[a0(0x14c)](b[a0(0xe8)]()),n[a0(0x14c)](f[h])):(n=n[a0(0x13f)](f[a0(0xda)](g+0x1,h)),n[a0(0x14c)](b[a0(0xe8)]())),n=n[a0(0x13f)](f[a0(0xda)](h+0x1)),a159f[a0(0x137)](a,n[a0(0x107)]('\x0a'),a0(0x108));}catch(q){console[a0(0xc9)](a0(0x164),q);throw q;}}async[a159z(0x11c)]({filePath:a,content:c,begin:d,end:f,replace:replace=![]}){const a1=a159z;try{const g=await this['fsi']['fileContainsString'](a,c);if(g)return;if(!this['fsi']['isFile'](a))throw Log['error'](a1(0xd6)+JSON[a1(0x15b)](a));const h=a159f['readFileSync'](a,a1(0x108));if(!Array[a1(0x15d)](d))d=[d];if(!Array['isArray'](f))f=[f];let i=h,j=![];for(const k of d){for(const l of f){const m=new RegExp('('+k+a1(0x10f)+l+')','i');i=h[a1(0x10b)](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(0xec));a159f[a1(0x137)](a,i),Log[a1(0xc8)](treeSymbol+'\x20updated\x20file\x20'+a159e[a1(0x125)](process['cwd'](),a));}catch(n){errorHandler(a1(0xeb),n),process[a1(0x110)](0x1);}}async['injectImport']({filePath:a,importName:b,modulePath:c,isNamedExport:d,injectAtStart:injectAtStart=![]}){const a2=a159z;try{const f=a159f[a2(0xdb)](a,a2(0x108));let g;d?g=a2(0x14e)+b+a2(0x12b)+c+'\x27;\x0a':g=a2(0x104)+b+'\x20from\x20\x27'+c+'\x27;\x0a';const h=f[a2(0x135)]('\x0a');let j=0x0,k=![];for(const m of h){if(m['includes'](a2(0x136)+c+'\x27')||m['includes'](a2(0x151)+c+'\x22')){const n=d?new RegExp('\x5cb'+b+'\x5cb','g'):new RegExp(a2(0x104)+b+a2(0x115));if(m[a2(0xff)](n)){k=!![];break;}}}if(k)return;if(injectAtStart)for(let o=0x0;o<h[a2(0xf4)];o++){if(h[o][a2(0xff)](/^import .* from .*;$/)){j=o;break;}}else{for(let p=0x0;p<h[a2(0xf4)];p++){h[p][a2(0xff)](/^import .* from .*;$/)&&(j=p);}j++;}h[a2(0x141)](j,0x0,g);const l=h[a2(0x107)]('\x0a');a159f[a2(0x137)](a,l,a2(0x108));}catch(q){errorHandler('injectImport()',q),process[a2(0x110)](0x1);}}async['injectTemplateModule'](a,b,c){const a3=a159z;try{let d;b['engines'][a3(0x15f)]!==a3(0x146)?d=this['pathFromApp']({'pathParts':[a3(0x14b),a3(0xc5),a3(0x103),a3(0xfe)],'config':b}):d=this[a3(0xe9)]({'pathParts':['imports','startup',a3(0x14d),'templates.js'],'config':b});const f=this[a3(0x100)]({'pathParts':[d],'config':b}),g=a3(0x10a)+pascalCase(a)+'\x20}\x20from\x20\x27'+c+'\x27;',h=await this[a3(0x161)][a3(0x119)](f,g);!h&&this[a3(0x165)]({'filePath':f,'content':g+'\x0a'});}catch(i){errorHandler('injectTemplateModule()',i),process[a3(0x110)](0x1);}}[a159z(0x121)]({filePath:a,content:b,lineNumber:c}){const a4=a159z;try{const d=a159f[a4(0xdb)](a)['toString']()[a4(0x135)]('\x0a');d[a4(0x141)](c,0x0,b);const f=d[a4(0x107)]('\x0a');a159f[a4(0x137)](a,f);}catch(g){errorHandler('injectAfterLineNumber()',g),process[a4(0x110)](0x1);}}['pathFromApp']({pathParts:a,config:b}){const a5=a159z;try{if(!a)throw new Error(a5(0x158));const c=this[a5(0x150)]({'pathParts':a,'config':b}),d=this[a5(0x161)]['findAppDirectory']();return d?a159e[a5(0x107)](d,c):'';}catch(f){errorHandler(a5(0xd1),f),process[a5(0x110)](0x1);}}[a159z(0x129)]({pathParts:a,config:b}){const a6=a159z;try{const c=this[a6(0xdd)]({'pathParts':a,'config':b}),d=this['fsi'][a6(0x113)]();if(!d)throw new Error(a6(0xe5));return a159e[a6(0x107)](d,c);}catch(f){errorHandler(a6(0xce),f),process[a6(0x110)](0x1);}}}
|
|
1
|
+
function a159c(){const a6=['export\x20{\x20','injectIntoFile','relative','injectAroundString','join','utf8','from','replace','lib','injectAroundString()','concat','552392tapMWr','268ROhMRE','Directory\x20','error','readFileSync','startup','No\x20matching\x20section\x20found.','calculateMode','injectIntoCodeBlock','getCommonIndentSize','createDirectory','No\x20app\x20directory\x20found','injectAfterLineNumber','repeat','meteor','promisify','mpi','templateContent','noRename','\x27;\x0a','pop','template','tsx','client','injectImport','length','platform','741264EfPVYs','rewriteDestinationPathForType','\x20->','\x20create\x20','\x5cS*$','402160EdDZRj','\x20doesn\x27t\x20exist','injectAtEndOfFile()','keys','includes','No\x20file\x20found\x20to\x20inject\x20content\x20into\x20at\x20path\x20','cwd','jsx','message','pathFromApp()','indexOf','isFile','injectAtEndOfFile','png','injectAtBeginningOfFile','normalize','1731mJXPym','getInstance','--release\x20','.jsx','copyTemplateDirectory()','instance','Unable\x20to\x20find\x20the\x20target\x20block\x20to\x20inject\x20content\x20in\x20','from\x20\x27','import\x20','No\x20filePath\x20provided\x20to\x20injectAtBeginningOfFile()','scss','MAKA_DEV','engines','map','writeFileSync','fsi','True','rewriteDestinationPathForEngine()','MAKA_COMMAND_PATH','sep','injectIntoFile()','warn','injectTemplateModule()','.js.tsx','4512530rbiEfS','engineAndTypeFromfilePath','rewriteSourcePathForEngine','\x20from\x20\x27','imports','[\x5cs\x5cS]*?)(','less','toString','While\x20injecting\x20','createEmptyMeteorProject','header','engine','isDirectory','writeSourcePath','exit','10FJCJRZ','pathFromAppWithNoReWrite()','injectAtBeginningOfFile()','type','push','pathFromTemplates','7CeWvDz','523854jcmaPm','template()','match','Couldn\x27t\x20find\x20a\x20source\x20template\x20in\x20','apply','splice','pathFromApp','detectIndentation','ico','fileContainsString','stringify','test','split','\x20}\x20from\x20\x27','(((.+)+)+)+$','reduce','Error\x20in\x20','createFile','alpha','verbose','\x20updated\x20file\x20','.js.ts','some','injectImport()','isArray','filter','isTemplateForEngine()','Dockerfile','Looking\x20for\x20','Error\x20in\x20injectIntoCodeBlock:\x20','pathFromTemplates()','render','rewriteDestinationPathForEngine','search','forEach','.js','templates','trim','env','63bhEDdC','templateContent()','templates.js','release','existsSync','readdirSync','448868Pxwxgq','slice','base64','copyTemplateDirectory','src/templates/','import\x20{\x20','adjustIndentation'];a159c=function(){return a6;};return a159c();}const a159z=a159d;(function(a,b){const v=a159d,c=a();while(!![]){try{const d=parseInt(v(0x208))/0x1+parseInt(v(0x248))/0x2*(-parseInt(v(0x1da))/0x3)+parseInt(v(0x235))/0x4+-parseInt(v(0x267))/0x5+-parseInt(v(0x262))/0x6*(parseInt(v(0x207))/0x7)+-parseInt(v(0x247))/0x8*(-parseInt(v(0x22f))/0x9)+-parseInt(v(0x201))/0xa*(parseInt(v(0x1f2))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a159c,0x68772));const a159b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a159d;if(c){const e=c[w(0x20c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a159a=a159b(this,function(){const x=a159d;return a159a[x(0x1f9)]()[x(0x229)](x(0x216))[x(0x1f9)]()['constructor'](a159a)[x(0x229)](x(0x216));});a159a();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';function a159d(a,b){const c=a159c();return a159d=function(d,e){d=d-0x1d6;let f=c[d];return f;},a159d(a,b);}import{pascalCase}from'change-case';import{Log}from'../log/log.class.js';const errorHandler=(a,b)=>{const y=a159d;process['env'][y(0x1e5)]===y(0x1ea)&&Log[y(0x24a)](y(0x218)+a),b&&console[y(0x24a)](b);},isWin=process[a159z(0x261)]==='win32',treeSymbol=isWin?a159z(0x264):'\x20┗';export class Scaffold{static [a159z(0x1df)];[a159z(0x1e9)];['mpi'];constructor(a,b){const A=a159z;this[A(0x1e9)]=a,this[A(0x257)]=b;}static[a159z(0x1db)](a,b){const B=a159z;return!Scaffold[B(0x1df)]&&(Scaffold[B(0x1df)]=new Scaffold(a,b)),Scaffold['instance'];}async[a159z(0x1fb)](a,b){const C=a159z;b[C(0x26d)]=b[C(0x26d)]||'.';const c=a159e[C(0x240)](b[C(0x26d)],a),d=a159e['join'](c,'.meteor');if(this[C(0x1e9)][C(0x1fe)](d))throw new Error('Meteor\x20project\x20already\x20exists\x20at\x20'+JSON['stringify'](c));const e='--minimal',f=a159e[C(0x240)](b['cwd']),g=a159g[C(0x256)](exec),h=b[C(0x232)]?C(0x1dc)+b[C(0x232)]:'';b[C(0x232)]&&b[C(0x232)][C(0x26b)](C(0x21a))&&(Log[C(0x1ef)]('Creating\x20a\x20new\x20Meteor\x20project\x20with\x20an\x20alpha\x20release:\x20'+b[C(0x232)]),Log[C(0x1ef)]('Please\x20report\x20any\x20issues\x20to\x20https://github.com/maka-io/maka-cli/issues'));try{await g(this[C(0x257)]['meteor']+C(0x265)+a+'\x20'+e+'\x20'+h,{'cwd':f});}catch(k){Log[C(0x24a)]('\x0a'+k[C(0x26f)]);throw k;}const i=a159e[C(0x240)](f,a);if(!a159f[C(0x233)](i))throw new Error(C(0x249)+i+C(0x268));const j=a159f[C(0x234)](i);for(const l of j){if(l!=='.git'&&l!=='.meteor'){const m=a159e[C(0x240)](i,l);await a159h(m,{'force':!![]});}}}[a159z(0x1f3)]({filePath:a}){const D=a159z;try{const b=/\.([A-Za-z0-9.]+)$/g;let c=a[D(0x20a)](b);c=c&&c[0x0]['split']('.',0x3);if(!c)return{'type':undefined,'engine':undefined};let d=c['pop'](),f=c[D(0x25b)]()||d;if(d)d=d[D(0x243)]('.','');if(f)f=f[D(0x243)]('.','');return{'type':f,'engine':d};}catch(g){errorHandler('engineAndTypeFromfilePath()',g),process[D(0x200)](0x1);}}[a159z(0x263)]({pathParts:a,config:b}){const E=a159z;try{const c=a[E(0x240)](a159e[E(0x1ed)]),d=this[E(0x1f3)]({'filePath':c})[E(0x204)],f=b?.[E(0x1e6)][d],g=new RegExp('\x5c.'+d+'\x5cS*$');return!d||!f?c:c['replace'](g,'.'+d);}catch(h){errorHandler('rewriteDestinationPathForType()',h),process[E(0x200)](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['join'](a159e[F(0x1ed)]),d=this[F(0x1f3)]({'filePath':c});if(!d['type']||!d['engine'])return!![];const f=b['engines'][d['type']];if(!f)return!![];return f===d[F(0x1fd)];}catch(g){errorHandler(F(0x222),g),process[F(0x200)](0x1);}}[a159z(0x1ff)]({pathParts:pathParts=[]}){const G=a159z;return pathParts[G(0x240)](a159e[G(0x1ed)]);}[a159z(0x228)]({pathParts:pathParts=[],config:a}){const H=a159z;try{const b=pathParts[H(0x240)](a159e[H(0x1ed)]),c=this[H(0x1f3)]({'filePath':b})['type'],d=a?.['engines'][c],f=new RegExp('\x5c.'+c+H(0x266));return!c||!d?b:b['replace'](f,'.'+d);}catch(g){errorHandler(H(0x1eb),g),process[H(0x200)](0x1);}}[a159z(0x1f4)]({pathParts:pathParts=[],framework:framework=a159z(0x255),config:a}){const I=a159z;try{const b=a159e[I(0x1d9)](pathParts['join'](a159e[I(0x1ed)]));if(!b['endsWith'](I(0x22b)))return b;const c='js';if(!a?.['engines']||!a?.['engines'][c])return b;const d=a[I(0x1e6)][c],f=d===I(0x25d)?[I(0x1f1),I(0x21d),'.js']:['.js.jsx',I(0x22b)];for(const g of f){const h=b['replace'](/\.js$/,g),i=a159e['join'](I(0x22c),framework,h),j=a159e[I(0x1d9)](a159e[I(0x240)](global['MAKA_COMMAND_PATH'],i));if(a159f[I(0x233)](j))return h;}return b;}catch(k){errorHandler('rewriteSourcePathForEngine()',k),process[I(0x200)](0x1);}}[a159z(0x206)]({pathParts:a,framework:framework=a159z(0x255),config:b}){const J=a159z;try{const c=this['rewriteSourcePathForEngine']({'pathParts':a,'framework':framework,'config':b}),d=a159e[J(0x240)](J(0x239)+framework,c),f=a159e['join'](global[J(0x1ec)],'..',d);return f;}catch(g){errorHandler(J(0x226),g),process[J(0x200)](0x1);}}[a159z(0x258)]({srcPath:a,context:b,framework:c,config:d}){const K=a159z;try{let f=this[K(0x206)]({'pathParts':[a],'framework':c,'config':d});const {engine:g}=this[K(0x1f3)]({'filePath':f}),h=['css',K(0x1e4),K(0x1f8),'html','js',K(0x26e),'ts','tsx','json',K(0x22e),'yaml','template'],i=[K(0x1d7),'ico'];if(!this[K(0x1e9)][K(0x272)](f)){g===K(0x26e)&&(f=f['replace'](K(0x1dd),''));g==='tsx'&&(f=f[K(0x243)]('.tsx',''));if(!this[K(0x1e9)]['isFile'](f))throw new Error(K(0x20b)+JSON[K(0x212)](f));}const j=f[K(0x214)]('.'),k=a159e[K(0x1d9)](f)[K(0x214)](a159e[K(0x1ed)]),l=k[k['length']-0x1]===K(0x223),m=i[K(0x26b)](j[j[K(0x260)]-0x1]),n=a159f[K(0x24b)](f);if(l)return a159i[K(0x227)](n[K(0x1f9)](),b)[K(0x22d)]();if(m)return Buffer[K(0x242)](n)[K(0x1f9)](K(0x237));if(!h[K(0x26b)](j[j[K(0x260)]-0x1]))return n['toString']()[K(0x22d)]();return a159i[K(0x227)](n[K(0x1f9)](),b||{})['trim']();}catch(o){errorHandler(K(0x230),o),process['exit'](0x1);}}async['template']({srcPath:a,destPath:b,context:c,config:d,framework:f,force:force=![],ignore:ignore=![]}){const L=a159z;try{const g=[L(0x1d7),L(0x210)],h=g['includes'](a['split']('.')[L(0x25b)]()||''),i=this['templateContent']({'srcPath':a,'context':c,'framework':f,'config':d})+'\x0a';c?.[L(0x259)]?b=this[L(0x263)]({'pathParts':[b],'config':d}):b=this[L(0x228)]({'pathParts':[b],'config':d});const j=await this[L(0x1e9)][L(0x219)]({'filePath':b,'data':i,'opts':{'force':force,'isImage':h,'absolute':![],'ignore':ignore}});return j;}catch(k){errorHandler(L(0x209),k),process[L(0x200)](0x1);}}async[a159z(0x238)]({srcPath:a,destPath:b,context:c,ignore:d,keep:f,framework:g,config:h}){const M=a159z;try{const i=this[M(0x206)]({'pathParts':[a],'framework':g,'config':h}),j=this['pathFromTemplates']({'pathParts':[],'framework':g,'config':h}),k=n=>{const N=M;return n[N(0x243)](j,'');},l=n=>{const O=M;return n[O(0x243)](i,b);};await this['fsi'][M(0x251)]({'dirPath':b});const m=a159f[M(0x234)](i);for(const n of m){try{const o=a159e['join'](i,n),p=k(o),q=l(o),r=d[M(0x1e7)](t=>a159e[M(0x1d9)](t)),s=a159e[M(0x1d9)](a159e[M(0x240)](a,n));if(r[M(0x26b)](s))continue;if(this['fsi'][M(0x1fe)](o))await this[M(0x238)]({'srcPath':p,'destPath':q,'context':c,'ignore':d,'keep':f,'framework':g,'config':h});else{if(this[M(0x1e9)]['isFile'](o)&&this['isTemplateForEngine']({'pathParts':[o],'config':h}))await this[M(0x25c)]({'srcPath':p,'destPath':q,'context':c,'framework':g,'config':h});else f[M(0x271)](a159e['join'](a,n))>=0x0&&this[M(0x1e9)][M(0x272)](o)&&(c['noRename']=!![],await this[M(0x25c)]({'srcPath':p,'destPath':q,'context':c,'framework':g,'config':h}),c[M(0x259)]=![]);}}catch(t){console[M(0x24a)](t),process['exit'](0x1);}}}catch(u){errorHandler(M(0x1de),u),process[M(0x200)](0x1);}}async[a159z(0x1d8)]({filePath:a,content:b,opts:c}){const P=a159z;if(!a)throw new Error(P(0x1e3));try{!this['fsi'][P(0x272)](a)&&await this[P(0x1e9)][P(0x219)]({'filePath':a,'data':b});let d=a159f[P(0x24b)](a,P(0x241));d=b+'\x0a'+d,a159f[P(0x1e8)](a,d),c?.[P(0x21b)]&&Log[P(0x1fc)](treeSymbol+P(0x21c)+a159e[P(0x23e)](process['cwd'](),a));}catch(f){errorHandler(P(0x203),f),process[P(0x200)](0x1);}}async[a159z(0x1d6)]({filePath:a,content:b,opts:c}){const Q=a159z;try{if(!this[Q(0x1e9)]['isFile'](a))await this[Q(0x1e9)][Q(0x219)]({'filePath':a,'data':b});else{let d=a159f[Q(0x24b)](a,Q(0x241));!d[Q(0x26b)](b)&&(d=d+'\x0a'+b,a159f[Q(0x1e8)](a,d)),c?.[Q(0x21b)]&&Log[Q(0x1fc)](treeSymbol+Q(0x21c)+a159e['relative'](process[Q(0x26d)](),a));}}catch(f){errorHandler(Q(0x269),f),process[Q(0x200)](0x1);}}async[a159z(0x23f)]({filePath:a,aboveContent:b,belowContent:c,targetString:d,indentAdjustment:indentAdjustment=0x0,targetIndentAdjustment:targetIndentAdjustment=0x0}){const R=a159z;try{if(!this[R(0x1e9)][R(0x272)](a))throw Log[R(0x24a)]('No\x20file\x20found\x20at\x20path\x20'+JSON['stringify'](a));const f=a159f[R(0x24b)](a,R(0x241)),g=f[R(0x243)](/\r\n|\r/g,'\x0a'),h=g[R(0x214)]('\x0a'),j=this[R(0x20f)](h),k=b[R(0x243)](/\r\n|\r/g,'\x0a')['split']('\x0a'),l=c[R(0x243)](/\r\n|\r/g,'\x0a')['split']('\x0a'),m=new RegExp(Array[R(0x220)](d)?d[R(0x240)]('|'):d,'i'),n=[];for(let p=0x0;p<h['length'];p++){const q=h[p];if(m[R(0x213)](q)){const r=this[R(0x23b)](j,targetIndentAdjustment),s=r+q[R(0x22d)]();k[R(0x22a)](t=>{const S=R;!g[S(0x26b)](t[S(0x22d)]())&&n['push'](this[S(0x23b)](j,indentAdjustment)+t);}),n[R(0x205)](s),l[R(0x22a)](t=>{const T=R;!g[T(0x26b)](t['trim']())&&n[T(0x205)](this[T(0x23b)](j,indentAdjustment)+t);});}else n['push'](q);}const o=n[R(0x240)]('\x0a');a159f[R(0x1e8)](a,o),Log[R(0x1fc)](treeSymbol+'\x20updated\x20file\x20'+a159e[R(0x23e)](process[R(0x26d)](),a));}catch(t){errorHandler(R(0x245),t),process[R(0x200)](0x1);}}[a159z(0x23b)](a,b){const U=a159z;if(b===0x0)return a;const c=a[U(0x260)]+b;return c>0x0?a[0x0][U(0x254)](c):'';}[a159z(0x20f)](a){const V=a159z;let b=0x0,c=0x0;a[V(0x22a)](f=>{if(f['startsWith']('\x20'))b++;else f['startsWith']('\x09')&&c++;});const d=b>=c?'\x20':'\x09',e=this['getCommonIndentSize'](a,d);return d['repeat'](e);}[a159z(0x250)](a,b){const W=a159z,c=a[W(0x221)](d=>d&&d['startsWith'](b))[W(0x1e7)](d=>{const X=W,e=d['match'](new RegExp('^'+b+'+'));return e?e[0x0][X(0x260)]:0x0;});if(c[W(0x260)]===0x0)return 0x0;return this[W(0x24e)](c);}[a159z(0x24e)](a){const Y=a159z,b=a[Y(0x217)]((c,d)=>{return c[d]=(c[d]||0x0)+0x1,c;},{});return Object[Y(0x26a)](b)[Y(0x217)]((c,d)=>{const e=b[+c],f=b[+d];return e>f?+c:+d;},0x0);}async[a159z(0x24f)]({filePath:a,content:b,begin:c,replace:replace=![]}){const Z=a159z;try{if(!this['fsi'][Z(0x272)](a))throw new Error('File\x20not\x20found:\x20'+a);const d=a159f[Z(0x24b)](a,Z(0x241)),f=d[Z(0x214)]('\x0a');let g=-0x1,h=-0x1,j=0x0,k=![],l=![];const m=Array[Z(0x220)](c)?c:[c];for(let o=0x0;o<f['length'];o++){const p=f[o];k&&p[Z(0x26b)]('{')&&j++;if(m[Z(0x21e)](q=>p['includes'](q))){g=o,k=!![],j++;continue;}if(k){p[Z(0x26b)](b[Z(0x22d)]())&&(l=!![]);if(p[Z(0x26b)]('}')){j--;if(j===0x0){h=o;break;}}}}if(g===-0x1||h===-0x1){Log['error'](Z(0x1e0)+a),Log[Z(0x24a)](Z(0x1fa)+b),Log['error'](Z(0x224)+c);throw new Error('Unable\x20to\x20find\x20the\x20target\x20block\x20to\x20inject\x20content.');}if(l)return;let n=f['slice'](0x0,g+0x1);replace?(n[Z(0x205)](b[Z(0x22d)]()),n[Z(0x205)](f[h])):(n=n[Z(0x246)](f[Z(0x236)](g+0x1,h)),n[Z(0x205)](b[Z(0x22d)]())),n=n[Z(0x246)](f['slice'](h+0x1)),a159f[Z(0x1e8)](a,n[Z(0x240)]('\x0a'),Z(0x241));}catch(q){console[Z(0x24a)](Z(0x225),q);throw q;}}async[a159z(0x23d)]({filePath:a,content:c,begin:d,end:f,replace:replace=![]}){const a0=a159z;try{const g=await this[a0(0x1e9)][a0(0x211)](a,c);if(g)return;if(!this['fsi'][a0(0x272)](a))throw Log[a0(0x24a)](a0(0x26c)+JSON[a0(0x212)](a));const h=a159f['readFileSync'](a,a0(0x241));if(!Array[a0(0x220)](d))d=[d];if(!Array[a0(0x220)](f))f=[f];let i=h,j=![];for(const k of d){for(const l of f){const m=new RegExp('('+k+a0(0x1f7)+l+')','i');i=h[a0(0x243)](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(0x24d));a159f['writeFileSync'](a,i),Log['header'](treeSymbol+'\x20updated\x20file\x20'+a159e[a0(0x23e)](process[a0(0x26d)](),a));}catch(n){errorHandler(a0(0x1ee),n),process[a0(0x200)](0x1);}}async[a159z(0x25f)]({filePath:a,importName:b,modulePath:c,isNamedExport:d,injectAtStart:injectAtStart=![]}){const a1=a159z;try{const f=a159f[a1(0x24b)](a,'utf8');let g;d?g=a1(0x23a)+b+a1(0x215)+c+a1(0x25a):g='import\x20'+b+a1(0x1f5)+c+'\x27;\x0a';const h=f[a1(0x214)]('\x0a');let j=0x0,k=![];for(const m of h){if(m[a1(0x26b)](a1(0x1e1)+c+'\x27')||m['includes']('from\x20\x22'+c+'\x22')){const n=d?new RegExp('\x5cb'+b+'\x5cb','g'):new RegExp(a1(0x1e2)+b+'\x20from');if(m['match'](n)){k=!![];break;}}}if(k)return;if(injectAtStart)for(let o=0x0;o<h['length'];o++){if(h[o][a1(0x20a)](/^import .* from .*;$/)){j=o;break;}}else{for(let p=0x0;p<h[a1(0x260)];p++){h[p][a1(0x20a)](/^import .* from .*;$/)&&(j=p);}j++;}h['splice'](j,0x0,g);const l=h['join']('\x0a');a159f[a1(0x1e8)](a,l,'utf8');}catch(q){errorHandler(a1(0x21f),q),process['exit'](0x1);}}async['injectTemplateModule'](a,b,c){const a2=a159z;try{let d;b[a2(0x1e6)]['ssr']!=='none'?d=this['pathFromApp']({'pathParts':[a2(0x1f6),a2(0x24c),a2(0x244),a2(0x231)],'config':b}):d=this[a2(0x20e)]({'pathParts':[a2(0x1f6),a2(0x24c),a2(0x25e),a2(0x231)],'config':b});const f=this[a2(0x228)]({'pathParts':[d],'config':b}),g=a2(0x23c)+pascalCase(a)+a2(0x215)+c+'\x27;',h=await this[a2(0x1e9)][a2(0x211)](f,g);!h&&this['injectAtEndOfFile']({'filePath':f,'content':g+'\x0a'});}catch(i){errorHandler(a2(0x1f0),i),process[a2(0x200)](0x1);}}[a159z(0x253)]({filePath:a,content:b,lineNumber:c}){const a3=a159z;try{const d=a159f['readFileSync'](a)[a3(0x1f9)]()[a3(0x214)]('\x0a');d[a3(0x20d)](c,0x0,b);const f=d[a3(0x240)]('\x0a');a159f[a3(0x1e8)](a,f);}catch(g){errorHandler('injectAfterLineNumber()',g),process[a3(0x200)](0x1);}}[a159z(0x20e)]({pathParts:a,config:b}){const a4=a159z;try{if(!a)throw new Error('No\x20pathParts\x20option\x20provided');const c=this[a4(0x1f4)]({'pathParts':a,'config':b}),d=this[a4(0x1e9)]['findAppDirectory']();return d?a159e['join'](d,c):'';}catch(f){errorHandler(a4(0x270),f),process[a4(0x200)](0x1);}}['pathFromAppWithNoReWrite']({pathParts:a,config:b}){const a5=a159z;try{const c=this[a5(0x1ff)]({'pathParts':a,'config':b}),d=this['fsi']['findAppDirectory']();if(!d)throw new Error(a5(0x252));return a159e['join'](d,c);}catch(f){errorHandler(a5(0x202),f),process[a5(0x200)](0x1);}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a160m=a160d;(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(0x112))/0x1+-parseInt(j(0xfa))/0x2+-parseInt(j(0xfe))/0x3*(-parseInt(j(0xfd))/0x4)+parseInt(j(0x10c))/0x5*(parseInt(j(0xfc))/0x6)+-parseInt(j(0xff))/0x7*(parseInt(j(0x107))/0x8)+-parseInt(j(0x102))/0x9*(-parseInt(j(0x111))/0xa)+-parseInt(j(0x106))/0xb*(parseInt(j(0x108))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a160c,0x43081));const a160b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a160d;if(c){const e=c[k(0x109)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a160a=a160b(this,function(){const l=a160d;return a160a['toString']()['search'](l(0x100))[l(0x101)]()[l(0x104)](a160a)['search'](l(0x100));});a160a();function a160d(a,b){const c=a160c();return a160d=function(d,e){d=d-0xf7;let f=c[d];return f;},a160d(a,b);}import{spawn}from'child_process';function a160c(){const s=['10diLiLu','503630HTWeRg','withSpinner','disconnect','log','531796uQjElJ','pid','228MAmPPi','332EIlNpC','2253hRvUqO','1336195XVcrIc','(((.+)+)+)+$','toString','2542977jOSjTx','start','constructor','cwd','425183MEjAWv','16hwgWhn','12aqRPUt','apply','success','kill','14785IEMiBX','close','message','verbose','ignore'];a160c=function(){return s;};return a160c();}import{Log}from'../log/log.class.js';export class SpawnAsync{static[a160m(0xf7)](a,b,c){return new Promise((d,e)=>{const n=a160d,f=Log[n(0xf7)](),g=c?.[n(0x105)]||'.';c?.[n(0x10e)]&&f[n(0x103)](c?.['message']);const h=spawn(a,b,{'cwd':g,'stdio':c?.[n(0x10f)]?'inherit':n(0x110)});process['on']('SIGINT',()=>{const o=n,i=h[o(0xfb)];i&&process[o(0x10b)](i);}),h['on']('data',i=>{const p=n;console[p(0xf9)](i);}),h['on'](n(0xf8),()=>{const q=n;c?.[q(0x10e)]&&f[q(0x10a)](),d();}),h['on'](n(0x10d),()=>{const r=n;c?.[r(0x10e)]&&f[r(0x10a)](),d();}),h['on']('error',()=>{c?.['message']&&f['failure'](),e();});});}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a161d,c=a();while(!![]){try{var d
|
|
1
|
+
function a161c(){var i=['1069140eJjoxv','44472TRSFQL','(((.+)+)+)+$','search','19PNWLdZ','829640WPPfDk','3867136DrnjnT','toString','3844224vhgPHL','209814hlUGxC','apply','560382zWtzdi'];a161c=function(){return i;};return a161c();}(function(a,b){var f=a161d,c=a();while(!![]){try{var d=parseInt(f(0x145))/0x1*(parseInt(f(0x142))/0x2)+-parseInt(f(0x14c))/0x3+parseInt(f(0x14d))/0x4+-parseInt(f(0x146))/0x5+parseInt(f(0x14a))/0x6+-parseInt(f(0x147))/0x7+parseInt(f(0x149))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a161c,0x49440));var a161b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a161d;if(c){var e=c[g(0x14b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a161a=a161b(this,function(){var h=a161d;return a161a[h(0x148)]()['search'](h(0x143))[h(0x148)]()['constructor'](a161a)[h(0x144)]('(((.+)+)+)+$');});function a161d(a,b){var c=a161c();return a161d=function(d,e){d=d-0x142;var f=c[d];return f;},a161d(a,b);}a161a();export{};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a162p=a162d;(function(a,b){const m=a162d,c=a();while(!![]){try{const d
|
|
1
|
+
function a162d(a,b){const c=a162c();return a162d=function(d,e){d=d-0x1e1;let f=c[d];return f;},a162d(a,b);}const a162p=a162d;(function(a,b){const m=a162d,c=a();while(!![]){try{const d=parseInt(m(0x1f8))/0x1+parseInt(m(0x1f9))/0x2+parseInt(m(0x207))/0x3*(-parseInt(m(0x1e4))/0x4)+-parseInt(m(0x1e6))/0x5+parseInt(m(0x1f0))/0x6+-parseInt(m(0x1fd))/0x7+parseInt(m(0x206))/0x8*(-parseInt(m(0x1e8))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a162c,0x3d63f));const a162b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a162d;if(c){const e=c[n(0x1e3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a162a=a162b(this,function(){const o=a162d;return a162a[o(0x209)]()[o(0x1f6)](o(0x1e2))[o(0x209)]()[o(0x1ff)](a162a)[o(0x1f6)]('(((.+)+)+)+$');});a162a();import a162e from'path';import{execSync,spawnSync,spawn}from'child_process';import{Log}from'../log/log.class.js';function a162c(){const x=['failure','concat','start','message','withSpinner','disconnect','19432aDrPDJ','66435WBYUex','sshSync','toString','source','success','(((.+)+)+)+$','apply','60pojRSq','ssh','1825405GzoQjj','join','720OvjlyQ','pem','scp','host','tty','inherit','user','error','2556786TNxglr','env','verbose','sshVerbose','push','ignore','search','ConnectTimeout=2','359746ywseoV','760472CLjWrU','close','ssh\x20','ping','161574Oqknjs','port','constructor'];a162c=function(){return x;};return a162c();}export class SSH{static [a162p(0x1e5)]=(a,b,c)=>{return new Promise((d,e)=>{const q=a162d,f=b[q(0x1ee)]+'@'+b[q(0x1eb)],g=a162e[q(0x1e7)](b[q(0x1f1)],b['pem']),h=c?.[q(0x1ec)]||![],i=c?.['sshVerbose']||![];let j=[];h&&j['push']('-t');i&&j[q(0x1f4)]('-v');j=j['concat'](['-o',q(0x1f7),'-i',g,'-p',b[q(0x1fe)],f,a]);const k=Log[q(0x204)]();c?.[q(0x203)]&&k[q(0x202)](c?.[q(0x203)]);const l=spawn('ssh',j,{'stdio':c?.[q(0x1f2)]?q(0x1ed):q(0x1f5)});l['on'](q(0x205),()=>{const r=q;c?.[r(0x203)]&&k['success'](),d();}),l['on'](q(0x1fa),()=>{const s=q;c?.[s(0x203)]&&k[s(0x1e1)](),d();}),l['on'](q(0x1ef),()=>{const t=q;c?.[t(0x203)]&&k[t(0x200)](),e();});});};static [a162p(0x208)]=(a,b,c)=>{const u=a162p,d=b[u(0x1ee)]+'@'+b[u(0x1eb)],e=a162e['join'](b[u(0x1f1)],b[u(0x1e9)]),f=c?.[u(0x1ec)]||![],g=c?.[u(0x1f3)]||![];let h=[];f&&h[u(0x1f4)]('-t'),g&&h[u(0x1f4)]('-v'),h=h['concat'](['-o','ConnectTimeout=2','-i',e,'-p',b[u(0x1fe)],d,a]),spawnSync(u(0x1e5),h,{'stdio':c?.['verbose']?'inherit':u(0x1f5)});};static[a162p(0x1fc)](a,b,c){const v=a162p,d=b[v(0x1ee)]+'@'+b[v(0x1eb)],e=a162e[v(0x1e7)](b['env'],b['pem']),f=c?.[v(0x1ec)]||![];let g=[];f&&g[v(0x1f4)]('-t');g=g[v(0x201)](['-o','ConnectTimeout=2','-i',e,'-p',b[v(0x1fe)],d,a,'2>&1']);const h=v(0x1fb)+g[v(0x1e7)]('\x20');return execSync(h)['toString']();}static[a162p(0x1ea)](a,b){const w=a162p,c=b[w(0x1ee)]+'@'+b[w(0x1eb)]+':'+a['dest'],d=a162e[w(0x1e7)](b['env'],b['pem']),e=['-i',d,'-P',b[w(0x1fe)],a[w(0x20a)],c];spawnSync(w(0x1ea),e,{'stdio':a['verbose']?'inherit':w(0x1f5)});}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a163d,c=a();while(!![]){try{var d=parseInt(f(0x124))/0x1*(-parseInt(f(0x129))/0x2)+parseInt(f(0x126))/0x3+-parseInt(f(0x11f))/0x4*(parseInt(f(0x12a))/0x5)+-parseInt(f(0x11e))/0x6*(-parseInt(f(0x122))/0x7)+parseInt(f(0x128))/0x8+-parseInt(f(0x121))/0x9+-parseInt(f(0x120))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a163c,0x4a519));var a163b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a163d;if(c){var e=c[g(0x12b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a163a=a163b(this,function(){var h=a163d;return a163a['toString']()['search'](h(0x123))[h(0x127)]()[h(0x125)](a163a)['search'](h(0x123));});function a163d(a,b){var c=a163c();return a163d=function(d,e){d=d-0x11e;var f=c[d];return f;},a163d(a,b);}function a163c(){var i=['apply','6coOAKK','23732efbknD','279440FfLvZQ','4309470hikapT','1679748tdlWXD','(((.+)+)+)+$','1mQCtSg','constructor','1166316WPWbau','toString','4356792MQHVSb','403922SxfbAw','135rCFRBX'];a163c=function(){return i;};return a163c();}a163a();export{};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a164i=a164d;(function(a,b){const f=a164d,c=a();while(!![]){try{const d=-parseInt(f(0x18b))/0x1*(parseInt(f(0x192))/0x2)+parseInt(f(0x188))/0x3*(-parseInt(f(0x199))/0x4)+-parseInt(f(0x19f))/0x5*(parseInt(f(0x198))/0x6)+-parseInt(f(0x182))/0x7*(-parseInt(f(0x191))/0x8)+parseInt(f(0x195))/0x9*(parseInt(f(0x185))/0xa)+-parseInt(f(0x1a2))/0xb+-parseInt(f(0x1a0))/0xc*(-parseInt(f(0x181))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a164c,0xb1bba));const a164b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a164d;if(c){const e=c[g(0x18a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a164a=a164b(this,function(){const h=a164d;return a164a[h(0x187)]()['search'](h(0x1a5))['toString']()[h(0x18f)](a164a)[h(0x1a3)](h(0x1a5));});a164a();function a164c(){const l=['useConfig','keyName','11636802giKPeQ','-config','openssl.conf','626172knpoeg','24580WdTKwP','-key','crtName','push','-x509','openssl','65thgBNQ','5460nYhZWS','rsa:2048','4168043WIBrbl','search','-nodes','(((.+)+)+)+$','req','-new','79742JoFksq','7EcYunj','genSSC','-out','10PjESbr','-newkey','toString','213jqIbaF','inherit','apply','1MGCnPB','-keyout','cwd','csrName','constructor','genCSR','974232pQhWaa','2611638LoWqNR'];a164c=function(){return l;};return a164c();}import{spawnSync}from'child_process';function a164d(a,b){const c=a164c();return a164d=function(d,e){d=d-0x181;let f=c[d];return f;},a164d(a,b);}export class SSL{static[a164i(0x190)](a){const j=a164i,b=a[j(0x18d)]?a[j(0x18d)]:process[j(0x18d)](),c=[j(0x1a6),'-new',j(0x186),j(0x1a1),j(0x1a4),j(0x18c),a[j(0x194)],j(0x184),a[j(0x18e)]];a[j(0x193)]&&(c[j(0x19c)](j(0x196)),c[j(0x19c)](j(0x197))),a[j(0x193)]?spawnSync('openssl',c,{'cwd':b}):spawnSync('openssl',c,{'stdio':j(0x189),'cwd':b});}static[a164i(0x183)](a){const k=a164i,b=a[k(0x18d)]?a['cwd']:process[k(0x18d)](),c=[k(0x1a6),k(0x19d),k(0x1a7),k(0x19a),a[k(0x194)],k(0x184),a[k(0x19b)]];a[k(0x193)]&&(c['push'](k(0x196)),c[k(0x19c)](k(0x197))),a[k(0x193)]?spawnSync(k(0x19e),c,{'cwd':b}):spawnSync('openssl',c,{'stdio':k(0x189),'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.32",
|
|
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.",
|