Skip to content

Commit 0951b9e

Browse files
fengmk2claude
andcommitted
refactor: remove vp alias, use vite command only
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent e7fe859 commit 0951b9e

3 files changed

Lines changed: 6 additions & 8 deletions

File tree

.github/workflows/test.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,7 @@ jobs:
3030
cache: false
3131

3232
- name: Verify installation
33-
run: |
34-
vp --version
35-
vite --version
33+
run: vite --version
3634

3735
test-cache-pnpm:
3836
runs-on: ubuntu-latest
@@ -62,7 +60,7 @@ jobs:
6260

6361
- name: Verify installation
6462
run: |
65-
vp --version
63+
vite --version
6664
echo "Installed version: ${{ steps.setup.outputs.version }}"
6765
echo "Cache hit: ${{ steps.setup.outputs.cache-hit }}"
6866
@@ -94,7 +92,7 @@ jobs:
9492

9593
- name: Verify installation
9694
run: |
97-
vp --version
95+
vite --version
9896
echo "Installed version: ${{ steps.setup.outputs.version }}"
9997
echo "Cache hit: ${{ steps.setup.outputs.cache-hit }}"
10098
@@ -126,7 +124,7 @@ jobs:
126124

127125
- name: Verify installation
128126
run: |
129-
vp --version
127+
vite --version
130128
echo "Installed version: ${{ steps.setup.outputs.version }}"
131129
echo "Cache hit: ${{ steps.setup.outputs.cache-hit }}"
132130

dist/index.mjs

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/install-viteplus.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export async function installVitePlus(inputs: Inputs): Promise<void> {
6666

6767
async function getInstalledVersion(): Promise<string> {
6868
try {
69-
const result = await getExecOutput("vp", ["--version"], {
69+
const result = await getExecOutput("vite", ["--version"], {
7070
silent: true,
7171
});
7272
return result.stdout.trim();

0 commit comments

Comments
 (0)