Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .vite-hooks/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# ----------------------------------------------------------------------------
# 先 `vp staged` 处理暂存文件,再跑包内 `check`;需要浏览器的检查不进钩子。
# 环境不具备(没有 node)时放行并提示,不算不合格。
# 手动安装:pnpm exec vp config --no-agent;诊断:vp hooks status
# 手动安装:vp config --no-agent;诊断:vp hooks status
# ============================================================================
set -e
ROOT="$(git rev-parse --show-toplevel)"
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@
},
"scripts": {
"build": "vp pack",
"check": "vp check && ultime-checks run && pnpm cycles",
"check": "vp check && ultime-checks run && vp run cycles",
"checks": "ultime-checks run",
"cycles": "vp lint --import-plugin --deny=import/no-cycle src",
"test": "vp test",
"size": "size-limit --json",
"prepublishOnly": "pnpm check && pnpm test && pnpm build",
"prepublishOnly": "vp run check && vp run test && vp run build",
"prepare": "vp config --no-agent"
},
"devDependencies": {
Expand Down
Loading