Skip to content

Commit 043c8f0

Browse files
Boshenclaude
andcommitted
chore: remove redundant package.json scripts, use vp directly in CI
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 5d2216f commit 043c8f0

File tree

3 files changed

+6
-15
lines changed

3 files changed

+6
-15
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,10 @@ jobs:
2929
- run: npx playwright install chromium
3030

3131
- name: Check
32-
run: vp run check
32+
run: vp check
3333

3434
- name: Test
35-
run: vp run test
35+
run: vp test run
3636

3737
- name: Build
38-
run: vp run @vibe/dashboard#build
39-
40-
- name: Ready
41-
run: vp run ready
38+
run: vp run build

CLAUDE.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,8 @@ irm https://staging.viteplus.dev/install.ps1 | iex
2020
vp install # Install deps (~10s, timeout 60s+)
2121
vp run dev # Dev server at localhost:5173
2222
vp run build # Production build (~7s)
23-
24-
# Check (lint + format)
25-
vp run check
26-
vp run check:fix
23+
vp check # Check (lint + format)
24+
vp check --fix # Check and auto-fix
2725
```
2826

2927
## Structure
@@ -42,7 +40,7 @@ You run in an environment where `ast-grep` is available; whenever a search requi
4240

4341
## Always
4442

45-
- Run `vp run check && vp run build` before commits
43+
- Run `vp check && vp run build` before commits
4644
- Prefer editing existing files over creating new ones
4745
- Don't create docs unless explicitly requested
4846

package.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,9 @@
55
"description": "A frontend dashboard for displaying different metrics",
66
"type": "module",
77
"scripts": {
8-
"ready": "vp run check && vp run test && vp run build",
98
"dev": "vp run @vibe/dashboard#dev",
109
"build": "vp run @vibe/dashboard#build",
11-
"check": "vp check",
12-
"check:fix": "vp check --fix",
1310
"test": "vp test run",
14-
"cache:clean": "vp cache clean",
1511
"generate": "node tools/override-rolldown.mjs --stats",
1612
"prepare": "vp config"
1713
},

0 commit comments

Comments
 (0)