docs(ci): clarify setup-vp version pinning - #2359
Conversation
✅ Deploy Preview for viteplus-preview canceled.
|
|
✅ Staging deployment successful! Preview: https://viteplus-staging.void.app/ |
|
@fengmk2 why is it frozen? security? EDIT: Ah, described in the other issue!
|
Encourage everyone with practical actions pinned GitHub Action version 😭 |
Registry bridge build (
|
| Package | Version |
|---|---|
vite-plus |
0.0.0-commit.d5ce0346f8f210ede05fa97dc522e192270b3813 |
@voidzero-dev/vite-plus-core |
0.0.0-commit.d5ce0346f8f210ede05fa97dc522e192270b3813 |
Install the Vite+ CLI built from this commit, then migrate a project:
# macOS / Linux
curl -fsSL https://vite.plus | VP_PR_VERSION=2359 bash# Windows (PowerShell)
$env:VP_PR_VERSION="2359"; irm https://vite.plus/ps1 | iexAfter 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.d5ce0346f8f210ede05fa97dc522e192270b3813",
"vite": "npm:@voidzero-dev/vite-plus-core@0.0.0-commit.d5ce0346f8f210ede05fa97dc522e192270b3813"
}
}
🐳 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-2359 2>/dev/null; docker pull ghcr.io/voidzero-dev/vite-plus:pr-2359Quick check: docker run --rm ghcr.io/voidzero-dev/vite-plus:pr-2359 vp --versionSee docs/guide/docker.md for usage. |

Updates the documentation to use exact
setup-vprelease tags or commit SHAs because the movingv1tag no longer receives updates. Examples use a placeholder linked to the releases page instead of hard-coding a version.Related: voidzero-dev/setup-vp#116