fix: 收口模板契约迁移预检

This commit is contained in:
que01 committed 2026-10-18 17:45:15 +08:00
1 parent 50b87e48de
commit 456171aa85
8 files changed
+673 -48

No files matched your search

+2 -1
View File
@@ -8,10 +8,11 @@
"lint": "eslint .",
"typecheck": "tsc -p tsconfig.json --noEmit",
"test": "tsx --test test/**/*.test.ts",
"test:integration": "pnpm build && node --env-file=.env test/run-integration.cjs && pnpm --filter @personal-brand/api exec tsx --test test/http.upload.test.js",
"test:integration": "pnpm build && node --env-file=.env test/template-contract-migration.integration.mjs && node --env-file=.env test/run-integration.cjs && pnpm --filter @personal-brand/api exec tsx --test test/http.upload.test.js",
"clean": "rimraf dist",
"start": "node dist/main.js",
"db:generate": "prisma generate",
"template:migration:audit": "node --env-file=.env scripts/template-contract-migration-audit.mjs",
"db:migrate": "prisma migrate dev",
"db:migrate:deploy": "prisma migrate deploy",
"db:seed": "tsx prisma/seed.ts"