chore: 收尾清账——type:module/gitattributes/engines/lint/CI/根typecheck覆盖
Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
+12
-2
@@ -1,14 +1,24 @@
|
||||
{
|
||||
"name": "siteforge",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"packageManager": "pnpm@10.7.1",
|
||||
"engines": {
|
||||
"node": ">=22"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "vitest run",
|
||||
"typecheck": "tsc -p tsconfig.json --noEmit",
|
||||
"lint": "eslint ."
|
||||
"typecheck": "tsc -p tsconfig.json --noEmit && pnpm --filter @sf/api typecheck && pnpm --filter @sf/contracts typecheck",
|
||||
"lint": "eslint .",
|
||||
"db:up": "docker compose -f infra/docker-compose.yml up -d --wait",
|
||||
"db:migrate": "pnpm --filter @sf/api db:migrate",
|
||||
"db:test": "bash scripts/migrate-test.sh"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/js": "^9.39.0",
|
||||
"eslint": "^9.39.0",
|
||||
"typescript": "^5.6.0",
|
||||
"typescript-eslint": "^8.46.4",
|
||||
"vitest": "^2.1.0"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user