diff --git a/bun.lockb b/bun.lockb index d0dae85..ba86e5f 100755 Binary files a/bun.lockb and b/bun.lockb differ 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',