chore(dev): 添加本地 MySQL seed 环境

This commit is contained in:
2026-05-11 20:51:43 +08:00
parent 3040608959
commit ddd077eb37
6 changed files with 175 additions and 107 deletions
+1 -2
View File
@@ -4,7 +4,7 @@ import { name, version } from '#package'
// IMPORTANT: keep this file's static imports minimal. Nitro's bun preset
// emits `.output/server/index.mjs` with a top-level `serve(...)` call, so any
// eager (transitive) import of it would start the HTTP server even for
// `migrate` or `--help`. All subcommands are lazy-loaded via citty.
// `--help`. All subcommands are lazy-loaded via citty.
const main = defineCommand({
meta: {
name,
@@ -14,7 +14,6 @@ const main = defineCommand({
default: 'serve',
subCommands: {
serve: () => import('@/cli/serve').then((m) => m.default),
migrate: () => import('@/cli/migrate').then((m) => m.default),
},
})