From 955097314d69584d5e9b3a55b7c273f49e8252f3 Mon Sep 17 00:00:00 2001 From: "voidzero-guard[bot]" <278573678+voidzero-guard[bot]@users.noreply.github.com> Date: Mon, 1 Jun 2026 11:13:34 +0000 Subject: [PATCH 1/2] release: v0.1.24 --- Cargo.lock | 4 ++-- crates/vite_global_cli/Cargo.toml | 2 +- packages/cli/binding/Cargo.toml | 2 +- packages/cli/package.json | 2 +- packages/core/package.json | 2 +- packages/test/package.json | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 929084be72..1046410ddb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7550,7 +7550,7 @@ dependencies = [ [[package]] name = "vite-plus-cli" -version = "0.1.23" +version = "0.1.24" dependencies = [ "anyhow", "async-trait", @@ -7635,7 +7635,7 @@ dependencies = [ [[package]] name = "vite_global_cli" -version = "0.1.23" +version = "0.1.24" dependencies = [ "chrono", "clap", diff --git a/crates/vite_global_cli/Cargo.toml b/crates/vite_global_cli/Cargo.toml index 6c7dc9e9ae..a09e2dbe19 100644 --- a/crates/vite_global_cli/Cargo.toml +++ b/crates/vite_global_cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "vite_global_cli" -version = "0.1.23" +version = "0.1.24" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/packages/cli/binding/Cargo.toml b/packages/cli/binding/Cargo.toml index c94ee55dab..b98c8ff930 100644 --- a/packages/cli/binding/Cargo.toml +++ b/packages/cli/binding/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "vite-plus-cli" -version = "0.1.23" +version = "0.1.24" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/packages/cli/package.json b/packages/cli/package.json index b7b9bd3acc..a93c86a1fe 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "vite-plus", - "version": "0.1.23", + "version": "0.1.24", "description": "The Unified Toolchain for the Web", "homepage": "https://viteplus.dev/guide", "bugs": { diff --git a/packages/core/package.json b/packages/core/package.json index c149e849e8..59dc1b0447 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@voidzero-dev/vite-plus-core", - "version": "0.1.23", + "version": "0.1.24", "description": "The Unified Toolchain for the Web", "homepage": "https://viteplus.dev/guide", "bugs": { diff --git a/packages/test/package.json b/packages/test/package.json index 98eb92d0d9..c7d935e7c6 100644 --- a/packages/test/package.json +++ b/packages/test/package.json @@ -1,6 +1,6 @@ { "name": "@voidzero-dev/vite-plus-test", - "version": "0.1.23", + "version": "0.1.24", "description": "The Unified Toolchain for the Web", "homepage": "https://viteplus.dev/guide", "bugs": { From 65dd309c37cdae71d62c19868b943ff6b889a598 Mon Sep 17 00:00:00 2001 From: MK Date: Mon, 1 Jun 2026 19:26:31 +0800 Subject: [PATCH 2/2] fix(release): bump binding/index.cjs version checks to 0.1.24 The v0.1.24 release commit bumped package versions but missed the generated NAPI loader, leaving its hardcoded binding version checks at 0.1.23. CI regenerates index.cjs during the build and the post-build git status check failed on the resulting diff. --- packages/cli/binding/index.cjs | 104 ++++++++++++++++----------------- 1 file changed, 52 insertions(+), 52 deletions(-) diff --git a/packages/cli/binding/index.cjs b/packages/cli/binding/index.cjs index e61906fd8a..bc053bd010 100644 --- a/packages/cli/binding/index.cjs +++ b/packages/cli/binding/index.cjs @@ -81,12 +81,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-android-arm64/package.json').version; if ( - bindingPackageVersion !== '0.1.23' && + bindingPackageVersion !== '0.1.24' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0' ) { throw new Error( - `Native binding package version mismatch, expected 0.1.23 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 0.1.24 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -104,12 +104,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-android-arm-eabi/package.json').version; if ( - bindingPackageVersion !== '0.1.23' && + bindingPackageVersion !== '0.1.24' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0' ) { throw new Error( - `Native binding package version mismatch, expected 0.1.23 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 0.1.24 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -135,12 +135,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-win32-x64-gnu/package.json').version; if ( - bindingPackageVersion !== '0.1.23' && + bindingPackageVersion !== '0.1.24' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0' ) { throw new Error( - `Native binding package version mismatch, expected 0.1.23 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 0.1.24 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -158,12 +158,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-win32-x64-msvc/package.json').version; if ( - bindingPackageVersion !== '0.1.23' && + bindingPackageVersion !== '0.1.24' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0' ) { throw new Error( - `Native binding package version mismatch, expected 0.1.23 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 0.1.24 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -182,12 +182,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-win32-ia32-msvc/package.json').version; if ( - bindingPackageVersion !== '0.1.23' && + bindingPackageVersion !== '0.1.24' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0' ) { throw new Error( - `Native binding package version mismatch, expected 0.1.23 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 0.1.24 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -205,12 +205,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-win32-arm64-msvc/package.json').version; if ( - bindingPackageVersion !== '0.1.23' && + bindingPackageVersion !== '0.1.24' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0' ) { throw new Error( - `Native binding package version mismatch, expected 0.1.23 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 0.1.24 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -231,12 +231,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-darwin-universal/package.json').version; if ( - bindingPackageVersion !== '0.1.23' && + bindingPackageVersion !== '0.1.24' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0' ) { throw new Error( - `Native binding package version mismatch, expected 0.1.23 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 0.1.24 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -254,12 +254,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-darwin-x64/package.json').version; if ( - bindingPackageVersion !== '0.1.23' && + bindingPackageVersion !== '0.1.24' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0' ) { throw new Error( - `Native binding package version mismatch, expected 0.1.23 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 0.1.24 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -277,12 +277,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-darwin-arm64/package.json').version; if ( - bindingPackageVersion !== '0.1.23' && + bindingPackageVersion !== '0.1.24' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0' ) { throw new Error( - `Native binding package version mismatch, expected 0.1.23 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 0.1.24 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -304,12 +304,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-freebsd-x64/package.json').version; if ( - bindingPackageVersion !== '0.1.23' && + bindingPackageVersion !== '0.1.24' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0' ) { throw new Error( - `Native binding package version mismatch, expected 0.1.23 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 0.1.24 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -327,12 +327,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-freebsd-arm64/package.json').version; if ( - bindingPackageVersion !== '0.1.23' && + bindingPackageVersion !== '0.1.24' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0' ) { throw new Error( - `Native binding package version mismatch, expected 0.1.23 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 0.1.24 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -355,12 +355,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-linux-x64-musl/package.json').version; if ( - bindingPackageVersion !== '0.1.23' && + bindingPackageVersion !== '0.1.24' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0' ) { throw new Error( - `Native binding package version mismatch, expected 0.1.23 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 0.1.24 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -378,12 +378,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-linux-x64-gnu/package.json').version; if ( - bindingPackageVersion !== '0.1.23' && + bindingPackageVersion !== '0.1.24' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0' ) { throw new Error( - `Native binding package version mismatch, expected 0.1.23 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 0.1.24 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -403,12 +403,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-linux-arm64-musl/package.json').version; if ( - bindingPackageVersion !== '0.1.23' && + bindingPackageVersion !== '0.1.24' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0' ) { throw new Error( - `Native binding package version mismatch, expected 0.1.23 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 0.1.24 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -426,12 +426,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-linux-arm64-gnu/package.json').version; if ( - bindingPackageVersion !== '0.1.23' && + bindingPackageVersion !== '0.1.24' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0' ) { throw new Error( - `Native binding package version mismatch, expected 0.1.23 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 0.1.24 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -451,12 +451,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-linux-arm-musleabihf/package.json').version; if ( - bindingPackageVersion !== '0.1.23' && + bindingPackageVersion !== '0.1.24' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0' ) { throw new Error( - `Native binding package version mismatch, expected 0.1.23 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 0.1.24 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -474,12 +474,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-linux-arm-gnueabihf/package.json').version; if ( - bindingPackageVersion !== '0.1.23' && + bindingPackageVersion !== '0.1.24' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0' ) { throw new Error( - `Native binding package version mismatch, expected 0.1.23 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 0.1.24 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -499,12 +499,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-linux-loong64-musl/package.json').version; if ( - bindingPackageVersion !== '0.1.23' && + bindingPackageVersion !== '0.1.24' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0' ) { throw new Error( - `Native binding package version mismatch, expected 0.1.23 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 0.1.24 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -522,12 +522,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-linux-loong64-gnu/package.json').version; if ( - bindingPackageVersion !== '0.1.23' && + bindingPackageVersion !== '0.1.24' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0' ) { throw new Error( - `Native binding package version mismatch, expected 0.1.23 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 0.1.24 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -547,12 +547,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-linux-riscv64-musl/package.json').version; if ( - bindingPackageVersion !== '0.1.23' && + bindingPackageVersion !== '0.1.24' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0' ) { throw new Error( - `Native binding package version mismatch, expected 0.1.23 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 0.1.24 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -570,12 +570,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-linux-riscv64-gnu/package.json').version; if ( - bindingPackageVersion !== '0.1.23' && + bindingPackageVersion !== '0.1.24' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0' ) { throw new Error( - `Native binding package version mismatch, expected 0.1.23 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 0.1.24 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -594,12 +594,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-linux-ppc64-gnu/package.json').version; if ( - bindingPackageVersion !== '0.1.23' && + bindingPackageVersion !== '0.1.24' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0' ) { throw new Error( - `Native binding package version mismatch, expected 0.1.23 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 0.1.24 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -617,12 +617,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-linux-s390x-gnu/package.json').version; if ( - bindingPackageVersion !== '0.1.23' && + bindingPackageVersion !== '0.1.24' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0' ) { throw new Error( - `Native binding package version mismatch, expected 0.1.23 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 0.1.24 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -644,12 +644,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-openharmony-arm64/package.json').version; if ( - bindingPackageVersion !== '0.1.23' && + bindingPackageVersion !== '0.1.24' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0' ) { throw new Error( - `Native binding package version mismatch, expected 0.1.23 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 0.1.24 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -667,12 +667,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-openharmony-x64/package.json').version; if ( - bindingPackageVersion !== '0.1.23' && + bindingPackageVersion !== '0.1.24' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0' ) { throw new Error( - `Native binding package version mismatch, expected 0.1.23 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 0.1.24 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -690,12 +690,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-openharmony-arm/package.json').version; if ( - bindingPackageVersion !== '0.1.23' && + bindingPackageVersion !== '0.1.24' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0' ) { throw new Error( - `Native binding package version mismatch, expected 0.1.23 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 0.1.24 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding;