Release v0.2.0 with Docker deployment

This commit is contained in:
Formsmith
2026-06-20 10:07:33 +03:00
parent 2d0ed7ef23
commit 57361a3b2a
13 changed files with 669 additions and 140 deletions
+11
View File
@@ -0,0 +1,11 @@
export type ProjectExportFormat = "stl" | "obj";
export function projectExportFileName(projectName: string, format: ProjectExportFormat) {
const safeProjectName = projectName
.trim()
.replace(/[<>:"/\\|?*\u0000-\u001f]/g, "-")
.replace(/\s+/g, " ")
.replace(/[. ]+$/g, "")
.slice(0, 120);
return `${safeProjectName || "SketchForge design"}.${format}`;
}