根治Repository checks本地漏检
修复 Agent 失败展示变更中的 import 排序错误 统一 CI 与 master pre-push 的 Repository checks 入口 让 staged JS 和 TS 自动执行 ESLint 修复与 Prettier 补充部分暂存、忽略文件和待推 SHA 回归测试 同步分支保护与本地门禁流程文档
This commit is contained in:
+8
-2
@@ -40,7 +40,9 @@
|
||||
"preview": "node scripts/vite-cli.mjs preview",
|
||||
"clean": "node -e \"require('fs').rmSync('dist', { recursive: true, force: true })\"",
|
||||
"check:encoding": "node scripts/check-encoding.mjs",
|
||||
"check:pre-commit-format": "node --test scripts/pre-commit-format.test.mjs",
|
||||
"check:git-hooks": "node --test scripts/git-hooks.test.mjs",
|
||||
"check:pre-commit-format": "npm run check:git-hooks",
|
||||
"check:repository-ci": "bash scripts/check-repository-ci.sh",
|
||||
"check:rustfmt": "cargo fmt --all --manifest-path server-rs/Cargo.toml -- --check",
|
||||
"check:spacetime-schema": "node scripts/check-spacetime-schema-guard.mjs",
|
||||
"check:production-ops": "node scripts/check-production-ops-guardrails.mjs",
|
||||
@@ -96,6 +98,7 @@
|
||||
"format": "prettier --write .",
|
||||
"format:check": "prettier --check .",
|
||||
"format:staged": "lint-staged",
|
||||
"check:pre-push-master": "bash scripts/pre-push-master.sh",
|
||||
"test": "vitest run",
|
||||
"test:watch": "vitest",
|
||||
"container:init": "node scripts/container-compose.mjs init",
|
||||
@@ -210,7 +213,10 @@
|
||||
"zustand": "^5.0.14"
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.{ts,tsx}": "prettier --write"
|
||||
"*.{js,mjs,cjs,ts,tsx}": [
|
||||
"node scripts/lint-staged-eslint.mjs",
|
||||
"prettier --write"
|
||||
]
|
||||
},
|
||||
"devDependencies": {
|
||||
"@colbymchenry/codegraph": "^0.8.0",
|
||||
|
||||
Reference in New Issue
Block a user