Repository navigation
release: v1.1.0: faster vp dev startup and clearer interactive prompts - #2907
voidzero-guard[bot] wants to merge 3 commits into
Conversation
🚀 Deploying Preview to Cloudflare 🚀Preview URL: https://release-v1-1-0-viteplus-dev.voidzero-docs.workers.dev (commit 7cb75b4)This URL reflects your latest Preview deploymentPreview Deployments by commit
|
NAPI bakes the package.json version into binding/index.cjs version checks. The prepare_release workflow bumps package.json but does not regenerate this file, so the CI build's regeneration step produces a diff that the post-build no-unexpected-changes guard rejects. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Update the migration guide and the setup, migration, and upgrade prompts to pin vite-plus@1.1.0 in their package-manager commands and matching release prose. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
vp dev startup and refreshed prompts
|
✅ Staging deployment successful! Preview: https://viteplus-staging.void.app/ |
CLI artifact sizes (
|
| Artifact | Format | Base | PR | Change |
|---|---|---|---|---|
packages/cli/dist |
Directory total | 2.30 MiB | 2.30 MiB | 0 B (0.00%) |
packages/core/dist |
Directory total | 3.99 MiB | 3.99 MiB | 0 B (0.00%) |
| Combined package dist | Directory total | 6.29 MiB | 6.29 MiB | 0 B (0.00%) |
vp (Linux x64) |
Binary | 11.36 MiB | 11.36 MiB | 0 B (0.00%) |
vp (Linux x64) |
gzip -9 | 4.91 MiB | 4.91 MiB | -3 B (-0.00%) |
| NAPI (Linux x64) | Binary | 32.58 MiB | 32.58 MiB | 0 B (0.00%) |
| NAPI (Linux x64) | gzip -9 | 12.92 MiB | 12.92 MiB | +413 B (+0.00%) |
vp (macOS ARM64) |
Binary | 8.46 MiB | 8.46 MiB | 0 B (0.00%) |
vp (macOS ARM64) |
gzip -9 | 4.27 MiB | 4.27 MiB | +1,003 B (+0.02%) |
| NAPI (macOS ARM64) | Binary | 40.10 MiB | 40.10 MiB | 0 B (0.00%) |
| NAPI (macOS ARM64) | gzip -9 | 17.20 MiB | 17.20 MiB | +324 B (+0.00%) |
vp (Windows x64) |
Binary | 9.25 MiB | 9.25 MiB | 0 B (0.00%) |
vp (Windows x64) |
gzip -9 | 4.03 MiB | 4.03 MiB | -317 B (-0.01%) |
| NAPI (Windows x64) | Binary | 27.50 MiB | 27.50 MiB | 0 B (0.00%) |
| NAPI (Windows x64) | gzip -9 | 11.03 MiB | 11.03 MiB | -5 B (-0.00%) |
| Trampoline (Windows x64) | Binary | 13.50 KiB | 13.50 KiB | 0 B (0.00%) |
| Trampoline (Windows x64) | gzip -9 | 7.08 KiB | 7.09 KiB | +3 B (+0.04%) |
| Installer (Windows x64) | Binary | 4.57 MiB | 4.57 MiB | 0 B (0.00%) |
| Installer (Windows x64) | gzip -9 | 2.14 MiB | 2.14 MiB | -1 B (-0.00%) |
Registry bridge build (
|
| Package | Version |
|---|---|
vite-plus |
0.0.0-commit.7cb75b46f7a73413ee0803eaac3f6a6b6763f158 |
@voidzero-dev/vite-plus-core |
0.0.0-commit.7cb75b46f7a73413ee0803eaac3f6a6b6763f158 |
Install the Vite+ CLI built from this commit, then migrate a project:
# macOS / Linux
curl -fsSL https://raw.githubusercontent.com/voidzero-dev/vite-plus/7cb75b46f7a73413ee0803eaac3f6a6b6763f158/packages/cli/install.sh | VP_PR_VERSION=2907 VP_LEGACY_INSTALLER_URL=https://raw.githubusercontent.com/voidzero-dev/vite-plus/7cb75b46f7a73413ee0803eaac3f6a6b6763f158/packages/cli/install-legacy.sh bash# Windows (PowerShell)
$env:VP_PR_VERSION="2907"; $env:VP_LEGACY_INSTALLER_URL="https://raw.githubusercontent.com/voidzero-dev/vite-plus/7cb75b46f7a73413ee0803eaac3f6a6b6763f158/packages/cli/install-legacy.ps1"; irm https://raw.githubusercontent.com/voidzero-dev/vite-plus/7cb75b46f7a73413ee0803eaac3f6a6b6763f158/packages/cli/install.ps1 | iexOr download the standalone Windows installer built from this commit:
| Architecture | Installer |
|---|---|
| x64 | vp-setup-x86_64-pc-windows-msvc.exe |
| Arm64 | vp-setup-aarch64-pc-windows-msvc.exe |
GitHub requires you to sign in and downloads each installer as a ZIP artifact. Extract vp-setup.exe, then run it against this preview build:
.\vp-setup.exe --version "0.0.0-commit.7cb75b46f7a73413ee0803eaac3f6a6b6763f158" --registry "https://registry-bridge.viteplus.dev/"After installing, upgrade the current project's vite-plus to this test build with:
vp migrateOr point your package manager at the bridge registry https://registry-bridge.viteplus.dev/:
| Package manager | Registry config |
|---|---|
| npm / pnpm / Bun | .npmrc: registry=https://registry-bridge.viteplus.dev/ |
| Yarn (v2+) | .yarnrc.yml: npmRegistryServer: "https://registry-bridge.viteplus.dev/" |
Then pin the build (vite aliases to vite-plus-core; pnpm can use a catalog, npm an overrides entry):
{
"devDependencies": {
"vite-plus": "0.0.0-commit.7cb75b46f7a73413ee0803eaac3f6a6b6763f158",
"vite": "npm:@voidzero-dev/vite-plus-core@0.0.0-commit.7cb75b46f7a73413ee0803eaac3f6a6b6763f158"
}
}
🐳 Docker preview imageBuilt from this PR's registry bridge build:
# remove any stale local copy from a previous run, then pull fresh
docker rmi ghcr.io/voidzero-dev/vite-plus:pr-2907 2>/dev/null; docker pull ghcr.io/voidzero-dev/vite-plus:pr-2907Quick check: docker run --rm ghcr.io/voidzero-dev/vite-plus:pr-2907 vp --versionSee docs/guide/docker.md for usage. |
vp dev startup and refreshed promptsvp dev startup and clearer interactive prompts
Vite+ 1.1 starts
vp devfaster and makes the interactive prompts clearer, alongside fixes forvp migrate, package-manager commands, and Windows terminals.Highlights
vp devreaches its local URL about 24% sooner and uses about 30% less memory in the parent process, because Vite+ no longer loads Vite and Vitest there before starting the dev server (#2851), by @camc314.Features
vp runsetsnpm_execpathandnpm_config_user_agentfor npm, pnpm, and Yarn, so tools such as npm-run-all2 use the project's package manager instead of falling back to npm (#2895), by @naokihaba and @tarikermis.vite@8.3.1tovite@8.3.3,rolldown@1.2.11torolldown@1.2.12,vitest@5.0.1tovitest@5.0.3,oxlint@1.85.0tooxlint@1.87.0, andoxfmt@0.70.0tooxfmt@0.72.0. The new lint and format versions can flag code that passed before, so runvp fmtafter upgrading if CI runsvp check.vp migratenow keeps the React RefreshallowCompoundComponentsoption because the bundled Oxlint supports it (#2871, #2896, #2904), by @voidzero-guard[bot].Fixes & Enhancements
vp migratekeeps Oxlint rules written with plugin aliases (such as@typescript-eslint/*,react-hooks/*, andimport-x/*) and removes rules the bundled Oxlint does not support, listing them in a warning (#2820, #2906), by @TheAlexLichter and @yusuke99.vp migrateleaves projects without a declared package manager unpinned, keeps existing declarations, and points tovp env pinwhen it infers one (#2817), by @TheAlexLichter.vp migratereports a short error for a directory withoutpackage.jsoninstead of anENOENTstack trace (#2821), by @TheAlexLichter.vp createin an existing pnpm workspace adds the catalog entries the new application needs, so installation no longer fails withERR_PNPM_CATALOG_ENTRY_NOT_FOUND_FOR_SPEC(#2808), by @SaKaNa-Y.vprscripts and managed Bun, pnpm, npm, and Yarn commands without leavingcmd.exestuck atTerminate batch job (Y/N)?(#2890), by @fengmk2.vp pack --watchon Windows rebuilds with the new options after the config file changes (#2826), by @liangmiQwQ.vp test doctorandvp test completerun the Vitest subcommands instead of being treated as test file filters (#2879), by @liangmiQwQ.vp packfinds installed Vue language tools and TypeScript Go for declaration generation, and Playwright browser provider options keep their types (#2868, #2865), by @liangmiQwQ.--offlineand--prefer-offline, and Yarn Classic accepts a single--filterforvp remove(#2775), by @jong-kyung.vp pm configin Bun projects falls back to npm, as its warning says (#2899), by @jong-kyung.vp pm approve-buildsstates that Yarn Berry disables third-party build scripts by default from 4.14.0, not in every version (#2902), by @jong-kyung.vp implodeasks you to typeboominstead ofuninstallto confirm (#2901), by @fengmk2.+, and removals a red-, with bold package names in both (#2828), by @liangmiQwQ.Refactor
semverwithverkitin the CLI, reducing the bundled CLI JavaScript by about 26 KB (#2837), by @liangmiQwQ.vp env doctor, and remove unused config migration metadata (#2876, #2894), by @jong-kyung.Docs
vp packdemo (#2843, #2844), by @TheAlexLichter and @naokihaba.vp install -g --nodeand explain whenvp env defaultre-resolves versions (#2885, #2884), by @hyunbinseo.vpxguide andvpx --help(#2864), by @SaKaNa-Y.vp installstep fromsetup-vpCI examples (#2888), by @yusuke99.vp env current --jsonexample for the split directory layout (#2886, #2887, #2889, #2891), by @jong-kyung.Chore
docs/public, and ignore the roottmpdirectory (#2832, #2831, #2860), by @liangmiQwQ.set-snapshot-versionaction (#2877), by @jong-kyung.Bundled Versions
8.3.3fea5b211.2.1245e407b0.23.05.0.31.87.07.0.20030.72.0Upgrade
New Contributors
@hyunbinseo
Full Changelog: v1.0.0...v1.1.0
Merging this PR will trigger the release workflow.