()
| 270 | // Mirrors Docker Compose's project-name normalization for the default case |
| 271 | // where the project name is derived from the working directory basename. |
| 272 | function dockerComposeProjectName(): string { |
| 273 | return basename(process.cwd()) |
| 274 | .toLowerCase() |
| 275 | .replace(/[^a-z0-9_-]/g, ''); |
| 276 | } |
| 277 | |
| 278 | async function listExistingDockerVolumes(expectedNames: string[]): Promise<string[]> { |
| 279 | if (expectedNames.length === 0) { |