Skip to content

Commit 9dfd8d5

Browse files
authored
chore: Rename various references from vite * to vp *. (#654)
For people browsing the repo, it'll be confusing to look at rfcs etc. that are using the old name. This PR cleans up a number of leftover references to `vite` as the global and renames them to `vp`.
1 parent 69f2fa3 commit 9dfd8d5

54 files changed

Lines changed: 751 additions & 758 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ jobs:
505505
)
506506
507507
install-e2e-test:
508-
name: Local CLI `vite install` E2E test
508+
name: Local CLI `vp install` E2E test
509509
needs:
510510
- download-previous-rolldown-binaries
511511
runs-on: ubuntu-latest
@@ -543,11 +543,11 @@ jobs:
543543
pnpm bootstrap-cli:ci
544544
echo "$HOME/.vite-plus/bin" >> $GITHUB_PATH
545545
546-
- name: Run local CLI `vite install`
546+
- name: Run local CLI `vp install`
547547
run: |
548548
export PATH=$PWD/node_modules/.bin:$PATH
549549
vp -h
550-
# Test vite install on various repositories with different package managers
550+
# Test vp install on various repositories with different package managers
551551
repos=(
552552
# pnpm workspace
553553
"pnpm/pnpm:pnpm"
@@ -562,7 +562,7 @@ jobs:
562562
563563
for repo_info in "${repos[@]}"; do
564564
IFS=':' read -r repo dir_name <<< "$repo_info"
565-
echo "Testing vite install on $repo…"
565+
echo "Testing vp install on $repo…"
566566
# remove the directory if it exists
567567
if [ -d "$RUNNER_TEMP/$dir_name" ]; then
568568
rm -rf "$RUNNER_TEMP/$dir_name"

.github/workflows/test-standalone-install.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
6868
vp --version
6969
vp --help
70-
# test new command
70+
# test create command
7171
vp create vite --no-interactive --no-agent -- hello --no-interactive -t vanilla
7272
cd hello && vp run build && vp --version
7373
@@ -292,7 +292,7 @@ jobs:
292292
vp --version
293293
vp --help
294294
# $env:VITE_LOG = "trace"
295-
# test new command
295+
# test create command
296296
vp create vite --no-interactive --no-agent -- hello --no-interactive -t vanilla
297297
cd hello && vp run build && vp --version
298298
@@ -335,7 +335,7 @@ jobs:
335335
dir "%USERPROFILE%\.vite-plus"
336336
dir "%USERPROFILE%\.vite-plus\bin"
337337
338-
REM test new command
338+
REM test create command
339339
vp create vite --no-interactive --no-agent -- hello-cmd --no-interactive -t vanilla
340340
cd hello-cmd && vp run build && vp --version
341341
@@ -374,7 +374,7 @@ jobs:
374374
375375
vp --version
376376
vp --help
377-
# test new command
377+
# test create command
378378
vp create vite --no-interactive --no-agent -- hello-bash --no-interactive -t vanilla
379379
cd hello-bash && vp run build && vp --version
380380

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ A monorepo task runner (like nx/turbo) with intelligent caching and dependency r
99
```bash
1010
# Built-in commands
1111
vp build # Run Vite build (dedicated command)
12-
vp test # Run Vite test (dedicated command)
12+
vp test # Run Vitest (dedicated command)
1313
vp lint # Run oxlint (dedicated command)
1414

1515
# Run tasks across packages (explicit mode)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ irm https://staging.viteplus.dev/install.ps1 | iex
4747
- **fmt** - Format code
4848
- **lib** - Build library
4949
- **migrate** - Migrate an existing project to Vite+
50-
- **new** - Create a new monorepo package (in-project) or a new project (global)
50+
- **create** - Create a new monorepo package (in-project) or a new project (global)
5151
- **run** - Run tasks from `package.json` scripts
5252

5353
### Package Manager Commands

docs/.vitepress/theme/components/home/FeatureDevBuild.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import devTerminal from '@local-assets/terminal-features/dev.svg';
1212
<div class="px-5 py-6 md:p-10 flex flex-col justify-between gap-15">
1313
<div class="flex flex-col gap-5">
1414
<span class="text-grey text-xs font-mono uppercase tracking-wide"
15-
>Vite dev &amp; build</span
15+
>Vite+ dev &amp; build</span
1616
>
1717
<h4 class="text-white">Blazingly fast builds</h4>
1818
<p class="text-white/70 text-base max-w-[25rem] text-pretty">
@@ -53,7 +53,7 @@ import devTerminal from '@local-assets/terminal-features/dev.svg';
5353
<div
5454
class="block px-5 py-6 relative bg-slate rounded-tl rounded-bl outline-1 outline-offset-[2px] outline-white/20"
5555
>
56-
<img loading="lazy" :src="devTerminal" alt="vite build terminal command" />
56+
<img loading="lazy" :src="devTerminal" alt="vp build terminal command" />
5757
</div>
5858
</div>
5959
</div>

docs/.vitepress/theme/components/home/FeatureFormat.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import formatTerminal from '@local-assets/terminal-features/format.svg';
66
<section id="feature-format" class="wrapper border-t grid md:grid-cols-2 divide-x divide-nickel">
77
<div class="px-5 py-6 md:p-10 flex flex-col justify-between gap-15">
88
<div class="flex flex-col gap-5">
9-
<span class="text-grey text-xs font-mono uppercase tracking-wide">Vite fmt</span>
9+
<span class="text-grey text-xs font-mono uppercase tracking-wide">Vite+ fmt</span>
1010
<h4 class="text-white">Enforce consistent code styles</h4>
1111
<p class="text-white/70 text-base max-w-[25rem] text-pretty">
1212
Format repos at native speed

docs/.vitepress/theme/components/home/FeatureLint.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import lintTerminal from '@local-assets/terminal-features/lint.svg';
66
<section id="feature-lint" class="wrapper border-t grid md:grid-cols-2 divide-x divide-nickel">
77
<div class="px-5 py-6 md:p-10 flex flex-col justify-between gap-15">
88
<div class="flex flex-col gap-5">
9-
<span class="text-grey text-xs font-mono uppercase tracking-wide">Vite lint</span>
9+
<span class="text-grey text-xs font-mono uppercase tracking-wide">Vite+ lint</span>
1010
<h4 class="text-white">Catch bugs before they make it to production</h4>
1111
<p class="text-white/70 text-base max-w-[25rem] text-pretty">
1212
Analyze JavaScript code to find and fix problems
@@ -36,7 +36,7 @@ import lintTerminal from '@local-assets/terminal-features/lint.svg';
3636
<div
3737
class="block pl-5 py-6 relative bg-slate rounded-tl rounded-bl outline-1 outline-offset-[2px] outline-white/20"
3838
>
39-
<img loading="lazy" :src="lintTerminal" alt="vite lint terminal command" />
39+
<img loading="lazy" :src="lintTerminal" alt="vp lint terminal command" />
4040
</div>
4141
</div>
4242
</div>

docs/.vitepress/theme/components/home/FeatureRun.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import runTerminal from '@local-assets/terminal-features/run.svg';
66
<section id="feature-run" class="wrapper border-t grid md:grid-cols-2 md:divide-x divide-nickel">
77
<div class="px-5 py-6 md:p-10 flex flex-col justify-between gap-15">
88
<div class="flex flex-col gap-5">
9-
<span class="text-grey text-xs font-mono uppercase tracking-wide">Vite run</span>
9+
<span class="text-grey text-xs font-mono uppercase tracking-wide">Vite+ run</span>
1010
<h4 class="text-white">Monorepo Caching that Just Works</h4>
1111
<p class="text-white/70 text-base max-w-[25rem] text-pretty">
1212
Built-in Turborepo / Nx alternative

docs/.vitepress/theme/components/home/FeatureTest.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import testTerminal from '@local-assets/terminal-features/test.svg';
66
<section id="feature-test" class="wrapper border-t grid md:grid-cols-2 divide-x divide-nickel">
77
<div class="px-5 py-6 md:p-10 flex flex-col justify-between gap-15">
88
<div class="flex flex-col gap-5">
9-
<span class="text-grey text-xs font-mono uppercase tracking-wide">Vite test</span>
9+
<span class="text-grey text-xs font-mono uppercase tracking-wide">Vite+ test</span>
1010
<h4 class="text-white">Testing made simple</h4>
1111
<p class="text-white/70 text-base max-w-[25rem] text-pretty">
1212
Feature rich test runner that automatically reuses the same resolve and transform config

docs/.vitepress/theme/components/home/not-used/FeatureDevBuildStats.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import viteBackground from '@local-assets/backgrounds/vite.jpg';
1616
<div class="px-5 py-6 md:p-10 flex flex-col justify-between gap-15">
1717
<div class="flex flex-col gap-5">
1818
<span class="text-grey text-xs font-mono uppercase tracking-wide"
19-
>Vite dev &amp; build</span
19+
>Vite+ dev &amp; build</span
2020
>
2121
<h4 class="text-white">Blazingly fast builds</h4>
2222
<p class="text-white/70 text-base max-w-[25rem] text-pretty">
@@ -49,7 +49,7 @@ import viteBackground from '@local-assets/backgrounds/vite.jpg';
4949
<div
5050
class="block px-5 py-6 relative bg-slate rounded-tl outline-1 outline-offset-[2px] outline-white/20"
5151
>
52-
<img loading="lazy" :src="devTerminal" alt="vite build terminal command" />
52+
<img loading="lazy" :src="devTerminal" alt="vp build terminal command" />
5353
</div>
5454
</div>
5555
<div class="p-10">

0 commit comments

Comments
 (0)