release: v1.0.0-rc.1: task cache settings move under cache - #2818
voidzero-guard[bot] wants to merge 3 commits into
Conversation
🚀 Deploying Preview to Cloudflare 🚀Preview URL: https://release-v1-0-0-rc-1-viteplus-dev.voidzero-docs.workers.dev (commit 73ce44e)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.
|
✅ Staging deployment successful! Preview: https://viteplus-staging.void.app/ |
cache
CLI artifact sizes (
|
| Artifact | Format | Base | PR | Change |
|---|---|---|---|---|
packages/cli/dist |
Directory total | 2.35 MiB | 2.35 MiB | 0 B (0.00%) |
packages/core/dist |
Directory total | 3.96 MiB | 3.96 MiB | 0 B (0.00%) |
| Combined package dist | Directory total | 6.31 MiB | 6.31 MiB | 0 B (0.00%) |
vp (Linux x64) |
Binary | 11.29 MiB | 11.29 MiB | 0 B (0.00%) |
vp (Linux x64) |
gzip -9 | 4.88 MiB | 4.88 MiB | -2.02 KiB (-0.04%) |
| NAPI (Linux x64) | Binary | 32.24 MiB | 32.24 MiB | 0 B (0.00%) |
| NAPI (Linux x64) | gzip -9 | 12.78 MiB | 12.78 MiB | +1.11 KiB (+0.01%) |
vp (macOS ARM64) |
Binary | 8.41 MiB | 8.41 MiB | 0 B (0.00%) |
vp (macOS ARM64) |
gzip -9 | 4.26 MiB | 4.25 MiB | -2.37 KiB (-0.05%) |
| NAPI (macOS ARM64) | Binary | 39.85 MiB | 39.85 MiB | 0 B (0.00%) |
| NAPI (macOS ARM64) | gzip -9 | 17.09 MiB | 17.09 MiB | +720 B (+0.00%) |
vp (Windows x64) |
Binary | 9.15 MiB | 9.15 MiB | 0 B (0.00%) |
vp (Windows x64) |
gzip -9 | 4.00 MiB | 4.00 MiB | -106 B (-0.00%) |
| NAPI (Windows x64) | Binary | 27.19 MiB | 27.19 MiB | 0 B (0.00%) |
| NAPI (Windows x64) | gzip -9 | 10.89 MiB | 10.89 MiB | -101 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.08 KiB | 0 B (0.00%) |
| Installer (Windows x64) | Binary | 4.56 MiB | 4.56 MiB | 0 B (0.00%) |
| Installer (Windows x64) | gzip -9 | 2.13 MiB | 2.13 MiB | 0 B (0.00%) |
Registry bridge build (
|
| Package | Version |
|---|---|
vite-plus |
0.0.0-commit.73ce44ef507f7c2aed23bc5addd747d0e3d0b33a |
@voidzero-dev/vite-plus-core |
0.0.0-commit.73ce44ef507f7c2aed23bc5addd747d0e3d0b33a |
Install the Vite+ CLI built from this commit, then migrate a project:
# macOS / Linux
curl -fsSL https://raw.githubusercontent.com/voidzero-dev/vite-plus/73ce44ef507f7c2aed23bc5addd747d0e3d0b33a/packages/cli/install.sh | VP_PR_VERSION=2818 VP_LEGACY_INSTALLER_URL=https://raw.githubusercontent.com/voidzero-dev/vite-plus/73ce44ef507f7c2aed23bc5addd747d0e3d0b33a/packages/cli/install-legacy.sh bash# Windows (PowerShell)
$env:VP_PR_VERSION="2818"; $env:VP_LEGACY_INSTALLER_URL="https://raw.githubusercontent.com/voidzero-dev/vite-plus/73ce44ef507f7c2aed23bc5addd747d0e3d0b33a/packages/cli/install-legacy.ps1"; irm https://raw.githubusercontent.com/voidzero-dev/vite-plus/73ce44ef507f7c2aed23bc5addd747d0e3d0b33a/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.73ce44ef507f7c2aed23bc5addd747d0e3d0b33a" --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.73ce44ef507f7c2aed23bc5addd747d0e3d0b33a",
"vite": "npm:@voidzero-dev/vite-plus-core@0.0.0-commit.73ce44ef507f7c2aed23bc5addd747d0e3d0b33a"
}
}
🐳 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-2818 2>/dev/null; docker pull ghcr.io/voidzero-dev/vite-plus:pr-2818Quick check: docker run --rm ghcr.io/voidzero-dev/vite-plus:pr-2818 vp --versionSee docs/guide/docker.md for usage. |
Task cache settings now live under
cache, andvp migratemoves existing task settings for you.vp lintandvp fmtrun from a package directory now pick the same config as your editor, and pipedvpoutput exits cleanly.Breaking Changes
Task cache settings in
run.tasksnow go insidecache(#2813, #2814, vite-task#749), by @wan9chi.envcache.envuntrackedEnvcache.untrackedEnvinputcache.inputoutputcache.outputcache: trueis the same ascache: {}. After upgrading, a task that still uses the old top-level fields fails with an error that points tovp migrate. Runvp migrateto move the fields invite.config.*for the workspace root and every package. It warns about any task it cannot rewrite safely so you can update that task by hand. Projects whose tasks do not use these fields need no changes. See the task cache migration rules and thecachereference.Highlights
vp lintandvp fmtrun from a package directory now use the same config as Oxlint, Oxfmt, and the language server, so results match your editor.vp checkstill applies the workspace-root settings (#2807), by @fengmk2.vpcommands now exit cleanly when piped into a command that closes early, such asvp --version | head -n 1, instead of aborting with exit code 134 (#2785, #2793), by @naokihaba.oils I/O error (main): No such process(vite-task#703), by @lifeiscontent.Features
vite@8.3.0->vite@8.3.1,rolldown@1.2.9->rolldown@1.2.11, andoxlint-tsgolint@7.0.2002->oxlint-tsgolint@7.0.2003(#2805, #2812), by @voidzero-guard[bot].Fixes & Enhancements
defineConfigcallbacks now type-check lint and format options, such as'warn'rule severities, the same way as synchronous callbacks, so configs updated byvp migrateno longer fail withTS2769(#2803), by @TheAlexLichter.vp test --helpnow lists the Vitest 5 options--repeats,--injectCjsGlobals,--fsModuleCache,--fsModuleCachePath, and--sharedViteServer(#2809), by @Marve10s.vp runnow matches environment variable names regardless of letter case (vite-task#747), by @wan9chi.Docs
Chore
vp env doctor(#2790), by @naokihaba.Bundled Versions
8.3.139ddf7c1.2.118df42190.23.05.0.11.85.07.0.20030.70.0Upgrade
New Contributors
@Marve10s
Full Changelog: v1.0.0-rc.0...v1.0.0-rc.1
Merging this PR will trigger the release workflow.