From 620f953bb434a45234db7411360090cc72e366a2 Mon Sep 17 00:00:00 2001 From: "Angel M. Adames" Date: Thu, 15 Feb 2024 21:28:34 -0400 Subject: [PATCH] deps: Upgrade dependencies to latest versions --- bun.lockb | Bin 23423 -> 23227 bytes package.json | 4 ++-- src/commands/setup/index.ts | 1 - test/commands/config.current-project.test.ts | 3 +-- 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/bun.lockb b/bun.lockb index d0dae8519f1314c78b4a803c6ad29835f55f29ba..ba86e5f181af2da04a04ead296227d32be8c2408 100755 GIT binary patch delta 4211 zcmdrPX;@QN_B|j#2wP-J*b0P25yBGoEn#26BE*1V1wS`HprS>VS|NxiIx6B-E24Fw zwJZhE6f0O%2CE<{ic@#3RjZVO0(GMfIOo13NWb~onQwm1{c_&f-#Pc(n|JPgcbq)g zLT=+)`f04sy>|KL)NGqjdXdTUs-lswkJ|I@ZV){my73Ne?3C)w<3!ERtk!qfF1E?J4Xb3nm z9(mLGbScOZL8eT3)74}l)G01p&Z(dh6;FB@aQMwK%hPflNm-7|b(AIPiN-Ye^n9pu zpu(Pc0yylg52b=)5_-r*#SS%V(orjePx8?igRiuXjy_=o(A%Nn0x+fKNgoF;Xp-Z@ zD&Q%|bgO}ztO&jJ51cAQ2?I+=SH+V|M6FtUaw{5xXBYC;=F`n!Z^)vMs-EP0)Cw{r zm&vAh4Yj0ln4(I6ileA2KnW?z1omb;MP&gMLs6|j$?Vjbayv3r+B(gbEXF~30LlO!a_kLQ z2>_BJU^5VW0IY}PDI5wI`$0LVfidR8W$Yg?eorI-Y#bsM0Ncd@V0kj~0`h$kFnR-BJ`+9?<_}`!@+kXaDnwMb2lBHa9WT^FpHU zEV8Y?m3iGiuh;L5&i=9cOHM!g$e3iyGGYK&8dzE z_uSq6OWKCAg1Y5bQSB9FL!)VZ-`VK>sMq{_QBl07B&6x?a@xq@`xng46*jyOUq$0a zEJ2z<#dY#d=mWL>{B(B}@w*>RCwOT@_8$sdQ+oFE=DQ0X20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1`-Eapp1ZGXDi^a6LK$aPS=(n4nLli$$Iy4|FZijqU-|NG73+MPd{r zGZ$bDG}ebO;DVz*Fa1fhU_fsbjZBw_+(lwfv^;b=(^G`ax68~_Vv$57_8`2#99&f& z>bQ|Zp6TBN=3pTbONnsMKtO8$qxQm?n`tL04YZLGO3>i9gYUInhSiNR0dL!AUlZ!I zCy(Nj&Y5uDwppzm$3pYEC9Nz(%A!;r;7nntnbxf*Ar=sgrzS(rCvgRR7-Y%UJzRFU zrEQyeB)}KiN!&%g5UMje5~Sek9y6P*(_#`$w1Yvcn_m522#;a7*4hCmIcfm{aqRA@@S|q0|0*nsD1c zm3kpg*q_*v?IID9x;>ec}gSCXeC@&F8FPzo0Mw1 zrU(VgB8h|`-Zd}q+kjI8e=7C9^L3^5 zxdTgRvqmzSZmAxyo93MN9N;ySJJ_ z{JVm}jY5|rig+n-9`Q79@bSDruI7wIMop;iqxT~lCeH6%TVxf(LDDEWb*@XI`j}!7 zoDNNNG@DL}QFnq6*(9-%N@1is!wPfFSBg_~Bu`|bH3==0IyZ5u9(Ay#s5~(Ms`w^1V@(!vi`xRtCxJ7V~#A;E_3Ba*;i0*zm?n(-gmxFp~J diff --git a/package.json b/package.json index aa2e734..6ff65ed 100644 --- a/package.json +++ b/package.json @@ -28,8 +28,8 @@ "typescript": "^5.0.0" }, "dependencies": { - "@inquirer/prompts": "^3.3.0", + "@inquirer/prompts": "^4.0.0", "chalk": "^5.3.0", - "commander": "^11.1.0" + "commander": "^12.0.0" } } diff --git a/src/commands/setup/index.ts b/src/commands/setup/index.ts index 9f3abbb..2e09dba 100644 --- a/src/commands/setup/index.ts +++ b/src/commands/setup/index.ts @@ -23,7 +23,6 @@ export const setupCommand = () => { 'setup at every repository specified.', ) .option('-p, --project-name [project-name]', 'Set project name') - .option('-o, --repos-root-path [root-path]', 'Repositories root path') .option('-e, --dot-env [path]', 'Project config dot env file') .option('-d, --dockerfile [dockerfile]', 'Dockerfile needed for dev') .addOption(sharedOptions.repos()) diff --git a/test/commands/config.current-project.test.ts b/test/commands/config.current-project.test.ts index a198874..38640d7 100644 --- a/test/commands/config.current-project.test.ts +++ b/test/commands/config.current-project.test.ts @@ -38,7 +38,7 @@ describe("Command: 'config current-project'", () => { }); test('is set by environment variable', () => { - const result = spawnSync(['bun', './cli.ts', 'config', 'current-project'], { + const result = spawnSync(['./cli.ts', 'config', 'current-project'], { env: { ...process.env, DEMS_CURRENT_PROJECT: 'dev' }, }); expect(result.stdout.toString()).toContain('dev'); @@ -48,7 +48,6 @@ describe("Command: 'config current-project'", () => { const command = currentProjectCommand(); expect(command.getOptionValue('set')).toBeUndefined(); const result = spawnSync([ - 'bun', './cli.ts', 'config', 'current-project',