feat(cli): expose dependency alignment plans - #2600
Conversation
✅ Deploy Preview for viteplus-preview canceled.
|
Registry bridge build (
|
| Package | Version |
|---|---|
vite-plus |
0.0.0-commit.1d632533df2fe867508510784be92b1fe9dd19d8 |
@voidzero-dev/vite-plus-core |
0.0.0-commit.1d632533df2fe867508510784be92b1fe9dd19d8 |
Install the Vite+ CLI built from this commit, then migrate a project:
# macOS / Linux
curl -fsSL https://raw.githubusercontent.com/afonsojramos/vite-plus/1d632533df2fe867508510784be92b1fe9dd19d8/packages/cli/install.sh | VP_PR_VERSION=2600 bash# Windows (PowerShell)
$env:VP_PR_VERSION="2600"; irm https://raw.githubusercontent.com/afonsojramos/vite-plus/1d632533df2fe867508510784be92b1fe9dd19d8/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.1d632533df2fe867508510784be92b1fe9dd19d8" --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.1d632533df2fe867508510784be92b1fe9dd19d8",
"vite": "npm:@voidzero-dev/vite-plus-core@0.0.0-commit.1d632533df2fe867508510784be92b1fe9dd19d8"
}
}
Summary
Vite+ releases can now tell external automation how to align Vite+, Vite+ core, Vitest, and official Vitest packages without reading or changing the project itself. This provides the release-owned compatibility contract needed to prevent dependency bots from producing mixed toolchains.
This is the first part of a three-repository integration. Containerbase installation and Renovate reconciliation follow after this contract ships in a Vite+ release.
Design
vp sync-versions --plan-jsonaccepts bounded manifest snapshots over stdin and returns deterministic before/after replacements.Validation
git diff --checkpassed.Related: #2356
Downstream drafts: