diff --git a/Cargo.lock b/Cargo.lock index e708020dde..172e939a0e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -8651,7 +8651,7 @@ dependencies = [ [[package]] name = "vite-plus-cli" -version = "1.0.0-rc.0" +version = "1.0.0-rc.1" dependencies = [ "anyhow", "async-trait", @@ -8761,7 +8761,7 @@ dependencies = [ [[package]] name = "vp_global_cli" -version = "1.0.0-rc.0" +version = "1.0.0-rc.1" dependencies = [ "chrono", "clap", diff --git a/crates/vp_global_cli/Cargo.toml b/crates/vp_global_cli/Cargo.toml index 1f7c8627c8..ce9472620a 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 = "1.0.0-rc.0" +version = "1.0.0-rc.1" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/docs/.vitepress/theme/data/migration-prompts.ts b/docs/.vitepress/theme/data/migration-prompts.ts index 9d21fb9e68..43a1210f46 100644 --- a/docs/.vitepress/theme/data/migration-prompts.ts +++ b/docs/.vitepress/theme/data/migration-prompts.ts @@ -1,4 +1,4 @@ -const localMigrationPrompt = `Without a global installation, run the target CLI through the package manager from the workspace root. For the 1.0.0-rc.0 release, use \`pnpm dlx --package=vite-plus@1.0.0-rc.0 vp migrate --no-interactive\` or \`npx --package=vite-plus@1.0.0-rc.0 vp migrate --no-interactive\`. First run the same command with \`help migrate\` instead of \`migrate --no-interactive\` to read its help. These commands fetch the target CLI without replacing the old project dependencies first.`; +const localMigrationPrompt = `Without a global installation, run the target CLI through the package manager from the workspace root. For the 1.0.0-rc.1 release, use \`pnpm dlx --package=vite-plus@1.0.0-rc.1 vp migrate --no-interactive\` or \`npx --package=vite-plus@1.0.0-rc.1 vp migrate --no-interactive\`. First run the same command with \`help migrate\` instead of \`migrate --no-interactive\` to read its help. These commands fetch the target CLI without replacing the old project dependencies first.`; const compatibilityReviewPrompt = `After establishing a passing baseline, try to remove the generated "Vitest v4 compatibility" settings with no code changes or small, localized fixes: @@ -28,7 +28,7 @@ Use the CLI from the target Vite+ 1.0 release or its preview build. Use a suppor - With a global vp installation, follow ${__DOCS_ORIGIN__}/guide/upgrade to select the target release and check \`vp toolchain --global\`. Run \`vp help\` and \`vp help migrate\`, then \`vp migrate --no-interactive\` from the workspace root. - ${localMigrationPrompt} -Replace 1.0.0-rc.0 with the intended release version. For a preview, use the version from its PR and pass \`--registry=https://registry-bridge.viteplus.dev\` to pnpm or npx before the vp command. +Replace 1.0.0-rc.1 with the intended release version. For a preview, use the version from its PR and pass \`--registry=https://registry-bridge.viteplus.dev\` to pnpm or npx before the vp command. Do not run migration with an old project's node_modules/.bin/vp. Migrate monorepos from the workspace root so shared manifests, catalogs, overrides, and lockfiles remain consistent. @@ -64,7 +64,7 @@ Use the CLI from the target Vite+ 1.0 release or its preview build. A global ins - With a global vp installation, follow ${__DOCS_ORIGIN__}/guide/upgrade to upgrade it and check \`vp toolchain --global\`. Run \`vp help migrate\`, then \`vp migrate --no-interactive\` from the workspace root. - ${localMigrationPrompt} -Replace 1.0.0-rc.0 with the intended release version. For a preview, use the version from its PR and pass \`--registry=https://registry-bridge.viteplus.dev\` to pnpm or npx before the vp command. Do not run migration with the old project's node_modules/.bin/vp. Keep the existing project setup; do not use --full unless I request it. +Replace 1.0.0-rc.1 with the intended release version. For a preview, use the version from its PR and pass \`--registry=https://registry-bridge.viteplus.dev\` to pnpm or npx before the vp command. Do not run migration with the old project's node_modules/.bin/vp. Keep the existing project setup; do not use --full unless I request it. Resolve BLOCK findings and rerun migration. Review each REVIEW finding using its documentation link, even if migration exits with success. Preserve test intent and keep the generated Vitest v4 and tsdown <0.23 compatibility settings and comments for the first validation run. @@ -91,7 +91,7 @@ A global installation is optional. To install the global \`vp\` CLI when it is n Open a new terminal after installation. Follow ${__DOCS_ORIGIN__}/guide/upgrade to select the target release or preview and check \`vp toolchain --global\` before scaffolding. -Without a global installation, use a supported Node.js runtime from the compatibility guide. For the 1.0.0-rc.0 release, run \`pnpm dlx --package=vite-plus@1.0.0-rc.0 vp create\` or \`npx --package=vite-plus@1.0.0-rc.0 vp create\`. Replace 1.0.0-rc.0 with the intended release version. For a preview, use the version from its PR and pass \`--registry=https://registry-bridge.viteplus.dev\` to pnpm or npx before the vp command. +Without a global installation, use a supported Node.js runtime from the compatibility guide. For the 1.0.0-rc.1 release, run \`pnpm dlx --package=vite-plus@1.0.0-rc.1 vp create\` or \`npx --package=vite-plus@1.0.0-rc.1 vp create\`. Replace 1.0.0-rc.1 with the intended release version. For a preview, use the version from its PR and pass \`--registry=https://registry-bridge.viteplus.dev\` to pnpm or npx before the vp command. Run \`vp install\`, \`vp check\`, and \`vp test\`, then \`vp build\` for applications or \`vp pack\` for libraries. Without a global CLI, install with the project's package manager and run the local CLI through it, such as \`pnpm exec vp check\` or \`npm exec -- vp check\`. Explain how to use \`vp dev\` for the dev server and \`vp run \` for project scripts or tasks. Report the setup changes, validation results, and any remaining work. Do not commit or push unless I ask. diff --git a/docs/guide/migrate.md b/docs/guide/migrate.md index b3b7cc9f6d..0e57f8c2e9 100644 --- a/docs/guide/migrate.md +++ b/docs/guide/migrate.md @@ -95,21 +95,21 @@ Upgrade the [global CLI](./upgrade.md#global-vp) to your target 1.0 release, the ### Without the Global CLI -Use an existing Node.js runtime that satisfies `^22.18.0 || ^24.11.0 || >=26.0.0`. Run the target migrator through your package manager without adding it to the project first. For the `1.0.0-rc.0` release: +Use an existing Node.js runtime that satisfies `^22.18.0 || ^24.11.0 || >=26.0.0`. Run the target migrator through your package manager without adding it to the project first. For the `1.0.0-rc.1` release: ::: code-group ```bash [pnpm] -pnpm dlx --package=vite-plus@1.0.0-rc.0 vp migrate --no-interactive +pnpm dlx --package=vite-plus@1.0.0-rc.1 vp migrate --no-interactive ``` ```bash [npm] -npx --package=vite-plus@1.0.0-rc.0 vp migrate --no-interactive +npx --package=vite-plus@1.0.0-rc.1 vp migrate --no-interactive ``` ::: -Replace `1.0.0-rc.0` with your target release. For a preview, use the version from the PR and pass `--registry=https://registry-bridge.viteplus.dev` to `pnpm` or `npx` before the `vp` command. Keep the version in `--package` explicit so you run the target migrator rather than the old local CLI. +Replace `1.0.0-rc.1` with your target release. For a preview, use the version from the PR and pass `--registry=https://registry-bridge.viteplus.dev` to `pnpm` or `npx` before the `vp` command. Keep the version in `--package` explicit so you run the target migrator rather than the old local CLI. After migration, finish dependency installation and validate with the updated local CLI: diff --git a/packages/cli/binding/Cargo.toml b/packages/cli/binding/Cargo.toml index 2042f39c36..7aaca20b76 100644 --- a/packages/cli/binding/Cargo.toml +++ b/packages/cli/binding/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "vite-plus-cli" -version = "1.0.0-rc.0" +version = "1.0.0-rc.1" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/packages/cli/binding/index.cjs b/packages/cli/binding/index.cjs index c7f15d6d41..3168f1ffbd 100644 --- a/packages/cli/binding/index.cjs +++ b/packages/cli/binding/index.cjs @@ -93,12 +93,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-android-arm64/package.json').version; if ( - bindingPackageVersion !== '1.0.0-rc.0' && + bindingPackageVersion !== '1.0.0-rc.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0' ) { throw new Error( - `Native binding package version mismatch, expected 1.0.0-rc.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 1.0.0-rc.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -116,12 +116,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-android-arm-eabi/package.json').version; if ( - bindingPackageVersion !== '1.0.0-rc.0' && + bindingPackageVersion !== '1.0.0-rc.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0' ) { throw new Error( - `Native binding package version mismatch, expected 1.0.0-rc.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 1.0.0-rc.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -151,12 +151,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-win32-x64-gnu/package.json').version; if ( - bindingPackageVersion !== '1.0.0-rc.0' && + bindingPackageVersion !== '1.0.0-rc.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0' ) { throw new Error( - `Native binding package version mismatch, expected 1.0.0-rc.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 1.0.0-rc.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -174,12 +174,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-win32-x64-msvc/package.json').version; if ( - bindingPackageVersion !== '1.0.0-rc.0' && + bindingPackageVersion !== '1.0.0-rc.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0' ) { throw new Error( - `Native binding package version mismatch, expected 1.0.0-rc.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 1.0.0-rc.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -198,12 +198,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-win32-ia32-msvc/package.json').version; if ( - bindingPackageVersion !== '1.0.0-rc.0' && + bindingPackageVersion !== '1.0.0-rc.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0' ) { throw new Error( - `Native binding package version mismatch, expected 1.0.0-rc.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 1.0.0-rc.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -221,12 +221,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-win32-arm64-msvc/package.json').version; if ( - bindingPackageVersion !== '1.0.0-rc.0' && + bindingPackageVersion !== '1.0.0-rc.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0' ) { throw new Error( - `Native binding package version mismatch, expected 1.0.0-rc.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 1.0.0-rc.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -247,12 +247,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-darwin-universal/package.json').version; if ( - bindingPackageVersion !== '1.0.0-rc.0' && + bindingPackageVersion !== '1.0.0-rc.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0' ) { throw new Error( - `Native binding package version mismatch, expected 1.0.0-rc.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 1.0.0-rc.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -270,12 +270,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-darwin-x64/package.json').version; if ( - bindingPackageVersion !== '1.0.0-rc.0' && + bindingPackageVersion !== '1.0.0-rc.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0' ) { throw new Error( - `Native binding package version mismatch, expected 1.0.0-rc.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 1.0.0-rc.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -293,12 +293,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-darwin-arm64/package.json').version; if ( - bindingPackageVersion !== '1.0.0-rc.0' && + bindingPackageVersion !== '1.0.0-rc.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0' ) { throw new Error( - `Native binding package version mismatch, expected 1.0.0-rc.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 1.0.0-rc.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -320,12 +320,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-freebsd-x64/package.json').version; if ( - bindingPackageVersion !== '1.0.0-rc.0' && + bindingPackageVersion !== '1.0.0-rc.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0' ) { throw new Error( - `Native binding package version mismatch, expected 1.0.0-rc.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 1.0.0-rc.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -343,12 +343,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-freebsd-arm64/package.json').version; if ( - bindingPackageVersion !== '1.0.0-rc.0' && + bindingPackageVersion !== '1.0.0-rc.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0' ) { throw new Error( - `Native binding package version mismatch, expected 1.0.0-rc.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 1.0.0-rc.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -371,12 +371,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-linux-x64-musl/package.json').version; if ( - bindingPackageVersion !== '1.0.0-rc.0' && + bindingPackageVersion !== '1.0.0-rc.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0' ) { throw new Error( - `Native binding package version mismatch, expected 1.0.0-rc.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 1.0.0-rc.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -394,12 +394,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-linux-x64-gnu/package.json').version; if ( - bindingPackageVersion !== '1.0.0-rc.0' && + bindingPackageVersion !== '1.0.0-rc.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0' ) { throw new Error( - `Native binding package version mismatch, expected 1.0.0-rc.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 1.0.0-rc.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -419,12 +419,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-linux-arm64-musl/package.json').version; if ( - bindingPackageVersion !== '1.0.0-rc.0' && + bindingPackageVersion !== '1.0.0-rc.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0' ) { throw new Error( - `Native binding package version mismatch, expected 1.0.0-rc.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 1.0.0-rc.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -442,12 +442,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-linux-arm64-gnu/package.json').version; if ( - bindingPackageVersion !== '1.0.0-rc.0' && + bindingPackageVersion !== '1.0.0-rc.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0' ) { throw new Error( - `Native binding package version mismatch, expected 1.0.0-rc.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 1.0.0-rc.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -467,12 +467,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-linux-arm-musleabihf/package.json').version; if ( - bindingPackageVersion !== '1.0.0-rc.0' && + bindingPackageVersion !== '1.0.0-rc.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0' ) { throw new Error( - `Native binding package version mismatch, expected 1.0.0-rc.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 1.0.0-rc.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -490,12 +490,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-linux-arm-gnueabihf/package.json').version; if ( - bindingPackageVersion !== '1.0.0-rc.0' && + bindingPackageVersion !== '1.0.0-rc.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0' ) { throw new Error( - `Native binding package version mismatch, expected 1.0.0-rc.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 1.0.0-rc.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -515,12 +515,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-linux-loong64-musl/package.json').version; if ( - bindingPackageVersion !== '1.0.0-rc.0' && + bindingPackageVersion !== '1.0.0-rc.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0' ) { throw new Error( - `Native binding package version mismatch, expected 1.0.0-rc.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 1.0.0-rc.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -538,12 +538,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-linux-loong64-gnu/package.json').version; if ( - bindingPackageVersion !== '1.0.0-rc.0' && + bindingPackageVersion !== '1.0.0-rc.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0' ) { throw new Error( - `Native binding package version mismatch, expected 1.0.0-rc.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 1.0.0-rc.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -563,12 +563,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-linux-riscv64-musl/package.json').version; if ( - bindingPackageVersion !== '1.0.0-rc.0' && + bindingPackageVersion !== '1.0.0-rc.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0' ) { throw new Error( - `Native binding package version mismatch, expected 1.0.0-rc.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 1.0.0-rc.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -586,12 +586,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-linux-riscv64-gnu/package.json').version; if ( - bindingPackageVersion !== '1.0.0-rc.0' && + bindingPackageVersion !== '1.0.0-rc.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0' ) { throw new Error( - `Native binding package version mismatch, expected 1.0.0-rc.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 1.0.0-rc.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -610,12 +610,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-linux-ppc64-gnu/package.json').version; if ( - bindingPackageVersion !== '1.0.0-rc.0' && + bindingPackageVersion !== '1.0.0-rc.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0' ) { throw new Error( - `Native binding package version mismatch, expected 1.0.0-rc.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 1.0.0-rc.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -633,12 +633,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-linux-s390x-gnu/package.json').version; if ( - bindingPackageVersion !== '1.0.0-rc.0' && + bindingPackageVersion !== '1.0.0-rc.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0' ) { throw new Error( - `Native binding package version mismatch, expected 1.0.0-rc.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 1.0.0-rc.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -660,12 +660,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-openharmony-arm64/package.json').version; if ( - bindingPackageVersion !== '1.0.0-rc.0' && + bindingPackageVersion !== '1.0.0-rc.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0' ) { throw new Error( - `Native binding package version mismatch, expected 1.0.0-rc.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 1.0.0-rc.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -683,12 +683,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-openharmony-x64/package.json').version; if ( - bindingPackageVersion !== '1.0.0-rc.0' && + bindingPackageVersion !== '1.0.0-rc.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0' ) { throw new Error( - `Native binding package version mismatch, expected 1.0.0-rc.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 1.0.0-rc.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -706,12 +706,12 @@ function requireNative() { const bindingPackageVersion = require('@voidzero-dev/vite-plus-openharmony-arm/package.json').version; if ( - bindingPackageVersion !== '1.0.0-rc.0' && + bindingPackageVersion !== '1.0.0-rc.1' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0' ) { throw new Error( - `Native binding package version mismatch, expected 1.0.0-rc.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `Native binding package version mismatch, expected 1.0.0-rc.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } return binding; @@ -857,9 +857,9 @@ if (!nativeBinding || forceWasi) { ) { const bindingPackageVersion = require('@voidzero-dev/vite-plus-wasm32-wasi/package.json').version; - if (bindingPackageVersion !== '1.0.0-rc.0') { + if (bindingPackageVersion !== '1.0.0-rc.1') { throw new Error( - `WASI binding package version mismatch, expected 1.0.0-rc.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, + `WASI binding package version mismatch, expected 1.0.0-rc.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`, ); } } diff --git a/packages/cli/package.json b/packages/cli/package.json index b58241c258..221e98d74f 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "vite-plus", - "version": "1.0.0-rc.0", + "version": "1.0.0-rc.1", "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 af5958575e..8c5060af2b 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@voidzero-dev/vite-plus-core", - "version": "1.0.0-rc.0", + "version": "1.0.0-rc.1", "description": "The Unified Toolchain for the Web", "homepage": "https://viteplus.dev/guide", "bugs": { diff --git a/packages/prompts/package.json b/packages/prompts/package.json index ae89b318ef..14eb36f2fa 100644 --- a/packages/prompts/package.json +++ b/packages/prompts/package.json @@ -1,6 +1,6 @@ { "name": "@voidzero-dev/vite-plus-prompts", - "version": "1.0.0-rc.0", + "version": "1.0.0-rc.1", "description": "The Unified Toolchain for the Web", "homepage": "https://viteplus.dev/guide", "bugs": {