fix: Use lowercase alphanumeric nanoid for Docker compose project names

Docker compose requires project names to be lowercase alphanumeric
with hyphens/underscores only. The default nanoid alphabet includes
uppercase and special characters, causing build failures.
This commit is contained in:
Lukas May
2026-03-05 21:49:01 +01:00
parent 13e009a82d
commit 0e61c48c86
2 changed files with 4 additions and 3 deletions

View File

@@ -67,7 +67,7 @@ vi.mock('node:fs/promises', () => ({
}));
vi.mock('nanoid', () => ({
nanoid: vi.fn(() => 'abc123test'),
customAlphabet: vi.fn(() => vi.fn(() => 'abc123test')),
}));
import { PreviewManager } from './manager.js';