Skip to content

Commit a91dd5a

Browse files
authored
Update the terminal output styling. (#574)
This PR: * Removes the lightning bolt which causes rendering issues in some terminals. * Adjusts the purple color depending on whether the text color is light/dark * Fixes a few minor help rendering issues
1 parent 6b1e6f6 commit a91dd5a

32 files changed

Lines changed: 58 additions & 43 deletions

File tree

packages/global/install.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ function Setup-NodeManager {
255255
function Main {
256256
Write-Host ""
257257
Write-Host "Setting up " -NoNewline
258-
Write-Host "VITE+(⚡︎)" -ForegroundColor Cyan -NoNewline
258+
Write-Host "VITE+" -ForegroundColor Cyan -NoNewline
259259
Write-Host "..."
260260

261261
# Suppress progress bars for cleaner output
@@ -469,7 +469,7 @@ exec "`$VITE_PLUS_HOME/current/bin/vp.exe" "`$@"
469469

470470
# Print success message
471471
Write-Host ""
472-
Write-Host "${GREEN}${NC} ${BOLD_BRIGHT_BLUE}VITE+(⚡︎)${NC} successfully installed!"
472+
Write-Host "${GREEN}${NC} ${BOLD_BRIGHT_BLUE}VITE+${NC} successfully installed!"
473473
Write-Host ""
474474
Write-Host " The Unified Toolchain for the Web."
475475
Write-Host ""

packages/global/install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ cleanup_old_versions() {
510510

511511
main() {
512512
echo ""
513-
echo -e "Setting up VITE+(⚡︎)..."
513+
echo -e "Setting up VITE+..."
514514

515515
check_requirements
516516

@@ -668,7 +668,7 @@ main() {
668668

669669
# Print success message
670670
echo ""
671-
echo -e "${GREEN}${NC} ${BOLD_BRIGHT_BLUE}VITE+(⚡︎)${NC} successfully installed!"
671+
echo -e "${GREEN}${NC} ${BOLD_BRIGHT_BLUE}VITE+${NC} successfully installed!"
672672
echo ""
673673
echo " The Unified Toolchain for the Web."
674674
echo ""

packages/global/snap-tests/cli-helper-message/snap.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Options:
3939
-h, --help Print help
4040

4141
> vp -V # show version
42-
VITE+(⚡︎) - The Unified Toolchain for the Web
42+
VITE+ - The Unified Toolchain for the Web
4343

4444
PACKAGE VERSIONS:
4545
vite-plus-cli: v<semver>

packages/global/snap-tests/migration-agent-claude/snap.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
> vp migrate --agent claude --no-interactive # migration with --agent claude should write CLAUDE.md
2-
┌ VITE+(⚡︎) - The Unified Toolchain for the Web
2+
┌ VITE+ - The Unified Toolchain for the Web
33
44
● Using default package manager: pnpm
55
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
> vp migrate --no-interactive # should detect existing vite-plus and exit
2-
┌ VITE+(⚡︎) - The Unified Toolchain for the Web
2+
┌ VITE+ - The Unified Toolchain for the Web
33
44
└ This project is already using Vite+! Happy coding!
55

packages/global/snap-tests/migration-auto-create-vite-config/snap.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
> vp migrate --no-interactive # migration should auto create vite.config.ts and remove oxlintrc and oxfmtrc
2-
┌ VITE+(⚡︎) - The Unified Toolchain for the Web
2+
┌ VITE+ - The Unified Toolchain for the Web
33
44
● Using default package manager: pnpm
55

packages/global/snap-tests/migration-check/snap.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
> vp migrate --help # show help
2-
VITE+(⚡︎) - The Unified Toolchain for the Web
2+
VITE+ - The Unified Toolchain for the Web
33

44
USAGE: vp migrate [PATH] [OPTIONS]
55

packages/global/snap-tests/migration-from-tsdown-json-config/snap.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
> vp migrate --no-interactive # migration should rewrite imports to vite-plus
2-
┌ VITE+(⚡︎) - The Unified Toolchain for the Web
2+
┌ VITE+ - The Unified Toolchain for the Web
33
44
● Using default package manager: pnpm
55
@@ -57,7 +57,7 @@ export default defineConfig({
5757
}
5858

5959
> vp migrate --no-interactive # run migration again to check if it is idempotent
60-
┌ VITE+(⚡︎) - The Unified Toolchain for the Web
60+
┌ VITE+ - The Unified Toolchain for the Web
6161
6262
└ This project is already using Vite+! Happy coding!
6363

packages/global/snap-tests/migration-from-tsdown/snap.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
> vp migrate --no-interactive # migration should rewrite imports to vite-plus
2-
┌ VITE+(⚡︎) - The Unified Toolchain for the Web
2+
┌ VITE+ - The Unified Toolchain for the Web
33
44
● Using default package manager: pnpm
55
@@ -64,7 +64,7 @@ export default defineConfig({
6464
}
6565

6666
> vp migrate --no-interactive # run migration again to check if it is idempotent
67-
┌ VITE+(⚡︎) - The Unified Toolchain for the Web
67+
┌ VITE+ - The Unified Toolchain for the Web
6868
6969
└ This project is already using Vite+! Happy coding!
7070

packages/global/snap-tests/migration-from-vitest-config/snap.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
> vp migrate --no-interactive # migration should rewrite imports to vite-plus
2-
┌ VITE+(⚡︎) - The Unified Toolchain for the Web
2+
┌ VITE+ - The Unified Toolchain for the Web
33
44
● Using default package manager: pnpm
55

0 commit comments

Comments
 (0)