feat: 基础框架搭建完毕
Checks / verify (push) Failing after 2m37s

This commit is contained in:
2026-10-07 09:27:47 +08:00
parent ba6dfffab7
commit bffdb3858b
64 changed files with 326 additions and 332 deletions
+8
View File
@@ -0,0 +1,8 @@
import { cp, mkdir, rm } from "node:fs/promises"
const target = new URL("../../../internal/adminui/dist/", import.meta.url)
await mkdir(target, { recursive: true })
// Preserve the tracked .keep so a clean checkout can build the foundation API.
const { readdir } = await import("node:fs/promises")
for (const file of await readdir(target)) if (file !== ".keep") await rm(new URL(file, target), { recursive: true, force: true })
await cp(new URL("../dist/", import.meta.url), target, { recursive: true })
console.log("Management console copied into Go embed assets.")