diff --git a/Cargo.lock b/Cargo.lock index 2234e59fa3..5058ef1095 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -8626,7 +8626,7 @@ dependencies = [ [[package]] name = "vite-plus-cli" -version = "0.3.1" +version = "0.3.2" dependencies = [ "anyhow", "async-trait", @@ -8735,7 +8735,7 @@ dependencies = [ [[package]] name = "vp_global_cli" -version = "0.3.1" +version = "0.3.2" dependencies = [ "base64-simd", "chrono", diff --git a/crates/vp_global_cli/Cargo.toml b/crates/vp_global_cli/Cargo.toml index dfc21d99cb..c802d93c1b 100644 --- a/crates/vp_global_cli/Cargo.toml +++ b/crates/vp_global_cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "vp_global_cli" -version = "0.3.1" +version = "0.3.2" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/packages/cli/binding/Cargo.toml b/packages/cli/binding/Cargo.toml index 96ed850a4f..cc0f3bfd65 100644 --- a/packages/cli/binding/Cargo.toml +++ b/packages/cli/binding/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "vite-plus-cli" -version = "0.3.1" +version = "0.3.2" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/packages/cli/binding/index.cjs b/packages/cli/binding/index.cjs index deb4318cfc..fe52c08c5a 100644 --- a/packages/cli/binding/index.cjs +++ b/packages/cli/binding/index.cjs @@ -80,12 +80,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-android-arm64/package.json').version; if ( - bindingPackageVersion !== '0.3.1' && + bindingPackageVersion !== '0.3.2' && 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.3.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 0.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -103,12 +103,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-android-arm-eabi/package.json').version; if ( - bindingPackageVersion !== '0.3.1' && + bindingPackageVersion !== '0.3.2' && 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.3.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 0.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -138,12 +138,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-win32-x64-gnu/package.json').version; if ( - bindingPackageVersion !== '0.3.1' && + bindingPackageVersion !== '0.3.2' && 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.3.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 0.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -161,12 +161,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-win32-x64-msvc/package.json').version; if ( - bindingPackageVersion !== '0.3.1' && + bindingPackageVersion !== '0.3.2' && 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.3.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 0.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -185,12 +185,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-win32-ia32-msvc/package.json').version; if ( - bindingPackageVersion !== '0.3.1' && + bindingPackageVersion !== '0.3.2' && 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.3.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 0.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -208,12 +208,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-win32-arm64-msvc/package.json').version; if ( - bindingPackageVersion !== '0.3.1' && + bindingPackageVersion !== '0.3.2' && 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.3.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 0.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -234,12 +234,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-darwin-universal/package.json').version; if ( - bindingPackageVersion !== '0.3.1' && + bindingPackageVersion !== '0.3.2' && 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.3.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 0.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -257,12 +257,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-darwin-x64/package.json').version; if ( - bindingPackageVersion !== '0.3.1' && + bindingPackageVersion !== '0.3.2' && 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.3.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 0.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -280,12 +280,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-darwin-arm64/package.json').version; if ( - bindingPackageVersion !== '0.3.1' && + bindingPackageVersion !== '0.3.2' && 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.3.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 0.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -307,12 +307,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-freebsd-x64/package.json').version; if ( - bindingPackageVersion !== '0.3.1' && + bindingPackageVersion !== '0.3.2' && 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.3.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 0.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -330,12 +330,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-freebsd-arm64/package.json').version; if ( - bindingPackageVersion !== '0.3.1' && + bindingPackageVersion !== '0.3.2' && 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.3.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 0.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -358,12 +358,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-linux-x64-musl/package.json').version; if ( - bindingPackageVersion !== '0.3.1' && + bindingPackageVersion !== '0.3.2' && 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.3.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 0.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -381,12 +381,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-linux-x64-gnu/package.json').version; if ( - bindingPackageVersion !== '0.3.1' && + bindingPackageVersion !== '0.3.2' && 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.3.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 0.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -406,12 +406,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-linux-arm64-musl/package.json').version; if ( - bindingPackageVersion !== '0.3.1' && + bindingPackageVersion !== '0.3.2' && 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.3.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 0.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -429,12 +429,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-linux-arm64-gnu/package.json').version; if ( - bindingPackageVersion !== '0.3.1' && + bindingPackageVersion !== '0.3.2' && 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.3.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 0.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -454,12 +454,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-linux-arm-musleabihf/package.json').version; if ( - bindingPackageVersion !== '0.3.1' && + bindingPackageVersion !== '0.3.2' && 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.3.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 0.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -477,12 +477,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-linux-arm-gnueabihf/package.json').version; if ( - bindingPackageVersion !== '0.3.1' && + bindingPackageVersion !== '0.3.2' && 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.3.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 0.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -502,12 +502,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-linux-loong64-musl/package.json').version; if ( - bindingPackageVersion !== '0.3.1' && + bindingPackageVersion !== '0.3.2' && 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.3.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 0.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -525,12 +525,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-linux-loong64-gnu/package.json').version; if ( - bindingPackageVersion !== '0.3.1' && + bindingPackageVersion !== '0.3.2' && 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.3.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 0.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -550,12 +550,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-linux-riscv64-musl/package.json').version; if ( - bindingPackageVersion !== '0.3.1' && + bindingPackageVersion !== '0.3.2' && 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.3.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 0.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -573,12 +573,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-linux-riscv64-gnu/package.json').version; if ( - bindingPackageVersion !== '0.3.1' && + bindingPackageVersion !== '0.3.2' && 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.3.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 0.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -597,12 +597,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-linux-ppc64-gnu/package.json').version; if ( - bindingPackageVersion !== '0.3.1' && + bindingPackageVersion !== '0.3.2' && 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.3.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 0.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -620,12 +620,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-linux-s390x-gnu/package.json').version; if ( - bindingPackageVersion !== '0.3.1' && + bindingPackageVersion !== '0.3.2' && 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.3.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 0.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -647,12 +647,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-openharmony-arm64/package.json').version; if ( - bindingPackageVersion !== '0.3.1' && + bindingPackageVersion !== '0.3.2' && 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.3.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 0.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -670,12 +670,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-openharmony-x64/package.json').version; if ( - bindingPackageVersion !== '0.3.1' && + bindingPackageVersion !== '0.3.2' && 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.3.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 0.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -693,12 +693,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-openharmony-arm/package.json').version; if ( - bindingPackageVersion !== '0.3.1' && + bindingPackageVersion !== '0.3.2' && 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.3.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 0.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -843,9 +843,9 @@ if (!nativeBinding || forceWasi) { ) { const bindingPackageVersion = require('@voidzero-dev/vite-plus-wasm32-wasi/package.json').version; - if (bindingPackageVersion !== '0.3.1') { + if (bindingPackageVersion !== '0.3.2') { throw new Error( - `WASI binding package version mismatch, expected 0.3.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `WASI binding package version mismatch, expected 0.3.2 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } } diff --git a/packages/cli/package.json b/packages/cli/package.json index 54a0760e1d..54cc9baba0 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "vite-plus", - "version": "0.3.1", + "version": "0.3.2", "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 8f2b137535..e312a702d1 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@voidzero-dev/vite-plus-core", - "version": "0.3.1", + "version": "0.3.2", "description": "The Unified Toolchain for the Web", "homepage": "https://viteplus.dev/guide", "bugs": {