chore: 移除 LeetCode 笔记并加入站点验证与 Agent 工作流规则

- 从 collections、导航移除 LeetCode,删除 docs/notes/programming/leetcode 下页面

- devDependencies 显式加入 @vuepress/helper@rc.123,配合 overrides 降低 Vite 预构建白屏风险

- 新增 npm run docs:verify 与 scripts/verify-site.mjs(构建后检查首页 hero)

- .cursor/rules/agent-workflow-verify-and-git.mdc:每次修改须验证;用户未明确说不要提交时默认 commit

Made-with: Cursor
This commit is contained in:
祀梦
2026-03-29 10:05:49 +08:00
parent f50d8ef8c2
commit 2d5b8c35b8
8 changed files with 60 additions and 74 deletions

View File

@@ -14,10 +14,12 @@
"docs:dev": "vuepress dev docs",
"docs:dev-clean": "vuepress dev docs --clean-cache --clean-temp",
"docs:build": "vuepress build docs --clean-cache --clean-temp",
"docs:verify": "node scripts/verify-site.mjs",
"docs:preview": "http-server docs/.vuepress/dist",
"vp-update": "npx vp-update"
},
"devDependencies": {
"@vuepress/helper": "2.0.0-rc.123",
"@vuepress/bundler-vite": "2.0.0-rc.26",
"@vuepress/plugin-umami-analytics": "2.0.0-rc.112",
"artalk": "^2.9.1",