Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"@types/node": "^24.3.0",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.1.7",
"@vitejs/plugin-react": "^5.0.1",
"@vitejs/plugin-react": "^6.0.0",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: This version of @vitejs/plugin-react (v6.0.0) is incompatible with the current Vite version (v7.3.2).

Why it matters: According to the official v6.0.0 release notes:

Drop Vite 7 and below support

Vite 7 and below are no longer supported. If you are using Vite 7, please upgrade to Vite 8.

The peer dependency was changed to require vite: ^8.0.0. Using this with Vite 7.3.2 will cause peer dependency resolution failures or runtime issues.

Suggested fix: Either:

  1. Revert to "@vitejs/plugin-react": "^5.0.1" (supports Vite 7), OR
  2. Upgrade Vite to "^8.0.0" and test thoroughly for breaking changes

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: This version requires Vite 8+, but the project uses Vite 7.3.2 (line 91).

Why it matters: According to the official v6.0.0 release notes, Vite 7 and below are no longer supported. The peer dependency is vite: ^8.0.0. Using this with Vite 7 may cause runtime errors or missing functionality since v6 removed Babel-based transforms that Vite 7 relied on.

Suggested fix: Either:

  1. Downgrade to "@vitejs/plugin-react": "^5.2.0" (latest v5) to stay compatible with Vite 7
  2. Or upgrade Vite: "vite": "^8.0.0" (and test thoroughly for Vite 8 breaking changes)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: Incompatible Vite version.

Why it matters: @vitejs/plugin-react@6.x explicitly drops support for Vite 7 and below (requires Vite 8+ per release notes). This project uses Vite ^7.3.2 (line 91), which will cause the plugin to fail at runtime or during build.

From the official release notes:

Drop Vite 7 and below support

Vite 7 and below are no longer supported. If you are using Vite 7, please upgrade to Vite 8.

Suggested fix: Either:

  1. Upgrade Vite: pnpm add -D vite@^8.0.0 (and verify all plugins are Vite 8 compatible)
  2. Or pin this to v5: "@vitejs/plugin-react": "^5.2.0"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: This version requires Vite 8+ but the project uses Vite ^7.3.2 (line 91).

Why it matters: According to the v6.0.0 release notes, this version dropped support for Vite 7 and below. The peerDependencies now specify vite: ^8.0.0. Installing this with Vite 7 will cause peer dependency warnings and potential runtime incompatibilities since the plugin expects Vite 8+ APIs.

Suggested fix: First upgrade Vite to v8+:

"vite": "^8.0.0",

Then verify the dev server and production build work correctly before merging this plugin upgrade.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: Incompatible Vite version - @vitejs/plugin-react@6.x requires Vite 8+

Why it matters: According to the official changelog, version 6.0.0 explicitly dropped support for Vite 7 and below. The project currently uses vite@^7.3.2 (line 91 of this file). Installing this version will result in an unsatisfied peer dependency warning and potential runtime failures.

Suggested fix: Upgrade Vite to v8 alongside this plugin update:

"vite": "^8.0.0",

Or pin the plugin to v5 if Vite upgrade needs to be deferred:

"@vitejs/plugin-react": "^5.0.1",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: Major version upgrade without corresponding Vite upgrade.

Why it matters: This line changes the plugin from v5 to v6, but v6 has incompatible peer dependency requirements. Per the changelog:

  • Requires vite: ^8.0.0 (project has ^7.3.2)
  • Removes Babel as a bundled dependency (uses Oxc for React Refresh transform)
  • New optional peer deps: @rolldown/plugin-babel, babel-plugin-react-compiler

Since the project uses react() with default options (no custom Babel config in vite.config.ts), the Babel removal won't break functionality, but the Vite version mismatch will.

Suggested fix: Either revert to ^5.0.1 or also upgrade Vite to ^8.0.0.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: Incompatible peer dependency - @vitejs/plugin-react@6.x requires vite@^8.0.0, but this project uses vite@^7.3.2 (line 91).

Why it matters: Per the official CHANGELOG, v6.0.0 explicitly "Drop Vite 7 and below support". The pnpm-lock.yaml confirms the peer dependency: vite: ^8.0.0. This mismatch will cause peer dependency violations and likely break the build or dev server.

Suggested fix: Either:

  1. Upgrade Vite: Change line 91 to "vite": "^8.0.0" (requires testing for Vite v8 breaking changes)
  2. Or pin the plugin: Change this line to "@vitejs/plugin-react": "^5.2.0" to stay on the compatible v5.x branch

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: This major version upgrade introduces a peer dependency conflict.

Why it matters: @vitejs/plugin-react@6.x requires vite: ^8.0.0 as a peer dependency, but this project currently has vite: ^7.3.2 (line 91). According to the official CHANGELOG, v6.0.0 explicitly dropped support for Vite 7 and below:

"Vite 7 and below are no longer supported. If you are using Vite 7, please upgrade to Vite 8."

Attempting to build with this configuration will result in peer dependency warnings/errors and potential runtime failures.

Suggested fix: Either:

  1. Upgrade Vite to v8 first: change line 91 to "vite": "^8.0.0" (or latest v8.x), then run pnpm install to regenerate the lockfile
  2. Or pin this dependency to v5.x if Vite 8 upgrade is not yet feasible: "@vitejs/plugin-react": "^5.0.1"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: Peer dependency incompatibility with Vite version.

Why it matters: According to the official CHANGELOG, @vitejs/plugin-react@6.0.0 dropped support for Vite 7 and below: "Vite 7 and below are no longer supported. If you are using Vite 7, please upgrade to Vite 8." The peer dependency changed from vite: ^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 (v5.x) to vite: ^8.0.0 (v6.x). This project currently uses vite@^7.3.2 (line 91), which violates the peer dependency and will cause build/runtime failures.

Suggested fix: Upgrade Vite to v8: change line 91 from "vite": "^7.3.2" to "vite": "^8.0.0", then run pnpm install to regenerate the lockfile with compatible versions.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: Incompatible peer dependency — @vitejs/plugin-react v6 requires Vite 8+, but project uses Vite ^7.3.2.

Why it matters: According to the official v6.0.0 release notes, this major version explicitly "Drop[s] Vite 7 and below support". The peerDependencies now specify vite: ^8.0.0. Using this plugin version with Vite 7 will result in peer dependency warnings and potential runtime/build failures.

From the changelog:

Vite 7 and below are no longer supported. If you are using Vite 7, please upgrade to Vite 8.

Suggested fix: Either:

  1. Also upgrade Vite: Change line 91 to "vite": "^8.0.0" (or latest v8 version), then test thoroughly
  2. Or pin this plugin to v5.x: Change to "@vitejs/plugin-react": "^5.0.1" if Vite 8 upgrade is not intended

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: This version requires Vite 8+, but the project uses Vite ^7.3.2.

Why it matters: According to the @vitejs/plugin-react v6.0.0 changelog, this version explicitly "Drop[s] Vite 7 and below support" and requires vite: ^8.0.0 as a peer dependency. Using this plugin version with Vite 7 will likely cause build failures or runtime errors.

Suggested fix: Either:

  1. Upgrade Vite to ^8.0.0 alongside this plugin upgrade, OR
  2. Pin this plugin to "^5.2.0" (the latest v5.x) if staying on Vite 7 is intentional

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: This version requires Vite 8.0.0+ as a peer dependency, but the project uses Vite 7.3.2 (line 91).

Why it matters: According to the official CHANGELOG, v6.0.0 explicitly dropped support for Vite 7: "Vite 7 and below are no longer supported. If you are using Vite 7, please upgrade to Vite 8." The npm registry confirms peerDependencies: { "vite": "^8.0.0" }. Installing incompatible peer dependencies can cause runtime errors, build failures, or subtle bugs.

Suggested fix: Either:

  1. Upgrade Vite to v8.x: Change line 91 to "vite": "^8.0.0" (verify compatibility first)
  2. Or keep this plugin at v5.x: "@vitejs/plugin-react": "^5.0.1" until ready to upgrade Vite

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: Peer dependency mismatch with Vite.

Why it matters: According to the official @vitejs/plugin-react v6.0.0 release notes, this version drops support for Vite 7 and below. The peer dependency now requires vite: ^8.0.0. However, this project uses "vite": "^7.3.2" (line 91). This will cause runtime errors or unexpected behavior since the plugin expects Vite 8 APIs.

Suggested fix: Either:

  1. Upgrade Vite: Change line 91 to "vite": "^8.0.0" (or latest v8) and test thoroughly
  2. Or pin this plugin: Keep "@vitejs/plugin-react": "^5.2.0" until ready for Vite 8 migration

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: This upgrade to @vitejs/plugin-react@6.x is incompatible with the current Vite version.

Why it matters: According to the official changelog, v6.0.0 dropped support for Vite 7 and below, requiring vite: ^8.0.0. The current project uses "vite": "^7.3.2" (line 91). The changelog explicitly states:

"Vite 7 and below are no longer supported. If you are using Vite 7, please upgrade to Vite 8."

This version mismatch will cause the plugin to fail because v6 relies on Vite 8's native Oxc-based JSX handling, which doesn't exist in Vite 7.

Suggested fix: Either:

  1. Upgrade vite to ^8.0.0 in the same PR (recommended)
  2. Keep @vitejs/plugin-react at ^5.0.1 until ready to upgrade Vite

If upgrading Vite, also check the Vite 8 migration guide for any breaking changes that might affect the build configuration.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: Peer dependency version mismatch.

Why it matters: @vitejs/plugin-react@6.0.0 requires Vite 8+ as a peer dependency (per official changelog), but this project uses Vite 7.3.2 (line 91). This will cause peer dependency warnings/errors and potential runtime failures.

Suggested fix: Either:

  1. Upgrade Vite: Change line 91 to "vite": "^8.0.0" (verify all plugins are compatible first)
  2. Or keep plugin-react at v5: Change this line to "@vitejs/plugin-react": "^5.2.0"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: This upgrade introduces a peer dependency incompatibility.

Why it matters: According to the v6.0.0 release notes, @vitejs/plugin-react v6 dropped support for Vite 7 and below, requiring Vite 8+. The current project uses Vite 7.3.2 (line 91 of this file), which is incompatible. The plugin's peerDependencies changed from vite: ^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 in v5.x to vite: ^8.0.0 in v6.x.

Suggested fix: Upgrade Vite to v8.x first ("vite": "^8.0.0"), then upgrade @vitejs/plugin-react. Alternatively, pin @vitejs/plugin-react to v5.x if Vite 7 must be retained.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: Version incompatibility with Vite.

Why it matters: @vitejs/plugin-react v6 dropped support for Vite 7 and below, requiring vite: ^8.0.0 as a peer dependency. The project currently uses Vite 7.3.2 (line 91). According to the official changelog:

"Drop Vite 7 and below support. Vite 7 and below are no longer supported. If you are using Vite 7, please upgrade to Vite 8."

This will cause peer dependency warnings at best, and potential runtime/build failures at worst since v6 removed Babel-based transforms that v5 used, relying instead on Vite 8's native Oxc-based handling.

Suggested fix: Either:

  1. Keep @vitejs/plugin-react at ^5.0.1 until ready to upgrade Vite to v8, OR
  2. Update both Vite (^8.0.0) and this plugin together in a coordinated upgrade PR

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: This version requires Vite 8+ as a peer dependency, but the project uses vite@^7.3.2 (line 91).

Why it matters: According to the v6.0.0 release notes: "Vite 7 and below are no longer supported. If you are using Vite 7, please upgrade to Vite 8." The plugin's peerDependencies specify vite: ^8.0.0, which means this combination is unsupported and may cause runtime errors or missing functionality.

Suggested fix: Either:

  1. Upgrade Vite: Change line 91 to "vite": "^8.0.0" (check Vite 8 migration guide first)
  2. Or pin this plugin: Change to "@vitejs/plugin-react": "^5.2.0" (last v5 compatible version)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: Peer dependency incompatibility - @vitejs/plugin-react@6.0.0 requires Vite 8+, but this project uses Vite 7.3.2.

Why it matters: According to the official changelog, v6.0.0 explicitly dropped support for Vite 7 and below: "Drop Vite 7 and below support (#1124)". The peerDependencies now specify vite: ^8.0.0. Using this plugin with Vite 7 will cause runtime errors or unexpected behavior since the plugin expects Vite 8 APIs.

Additionally, v6.0.0 removed Babel-related features and now uses Oxc for React refresh transforms. If your build relies on custom Babel plugins configured through this plugin, those configurations will stop working.

Suggested fix: Either:

  1. Upgrade Vite: Change line 91 to "vite": "^8.0.0" (test thoroughly for Vite 8 breaking changes)
  2. Stay on plugin-react v5: Keep "@vitejs/plugin-react": "^5.0.1"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: This version requires Vite ^8.0.0 as a peer dependency, but the project currently uses Vite ^7.3.2 (line 91).

Why it matters: According to the official CHANGELOG:

"Drop Vite 7 and below support (#1124)... Vite 7 and below are no longer supported. If you are using Vite 7, please upgrade to Vite 8."

Installing this version alongside Vite 7 will result in a peer dependency mismatch and potential runtime/build failures.

Suggested fix: Either:

  1. Upgrade Vite to ^8.0.0 (or latest) in the same PR, or
  2. Change this to "@vitejs/plugin-react": "^5.1.0" to maintain compatibility with Vite 7

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: This version requires Vite 8+, but the project uses Vite 7.3.2.

Why it matters: According to the @vitejs/plugin-react v6.0.0 release notes, this version drops support for Vite 7 and below: "Vite 7 and below are no longer supported. If you are using Vite 7, please upgrade to Vite 8." The peerDependencies in the npm package metadata also specify vite: ^8.0.0.

Using an incompatible version will result in peer dependency warnings and potential runtime failures since v6 removed Babel-related features that v5 used internally for React Fast Refresh with Vite 7.

Suggested fix: Either:

  1. Pin to "^5.2.0" to stay compatible with Vite 7, OR
  2. Also upgrade Vite: change line 91 to "vite": "^8.0.0" (requires full regression testing)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: This version requires Vite 8+, but the project uses Vite 7.3.2.

Why it matters: According to the @vitejs/plugin-react CHANGELOG, version 6.0.0 explicitly dropped support for Vite 7 and below: "Vite 7 and below are no longer supported. If you are using Vite 7, please upgrade to Vite 8." The peerDependencies in the lockfile confirm this requires vite: ^8.0.0.

Using an incompatible version will cause peer dependency warnings and may result in runtime errors or missing functionality.

Suggested fix: Either:

  1. Keep @vitejs/plugin-react at ^5.0.1 until ready to upgrade Vite, OR
  2. Upgrade Vite: change line 91 to "vite": "^8.0.0" and test thoroughly

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: Incompatible peer dependency - @vitejs/plugin-react v6 requires Vite 8+, but project uses Vite 7.3.2.

Why it matters: According to the official CHANGELOG, version 6.0.0 explicitly dropped support for Vite 7 and below: "Vite 7 and below are no longer supported. If you are using Vite 7, please upgrade to Vite 8." The peer dependencies changed from vite: ^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 (v5.x) to vite: ^8.0.0 (v6.x). This will cause runtime errors or build failures.

Suggested fix: Either:

  1. Upgrade Vite: Change line 91 to "vite": "^8.0.0" (test thoroughly for Vite 8 breaking changes)
  2. Or keep plugin on v5: Change this line to "@vitejs/plugin-react": "^5.2.0" (latest v5)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: Incompatible Vite version.

Why it matters: @vitejs/plugin-react v6.0.0 requires Vite 8+ as a peer dependency, but this project uses Vite ^7.3.2 (line 91). According to the official changelog:

Drop Vite 7 and below support

Vite 7 and below are no longer supported. If you are using Vite 7, please upgrade to Vite 8.

Using incompatible versions will cause runtime errors or unexpected behavior.

Suggested fix: Either:

  1. Upgrade Vite to ^8.0.0 alongside this change: "vite": "^8.0.0"
  2. Or pin @vitejs/plugin-react to ^5.0.1 if Vite 8 upgrade needs to be deferred

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: Peer dependency mismatch - @vitejs/plugin-react@6.x requires vite: ^8.0.0, but this project uses vite: ^7.3.2 (line 91).

Why it matters: According to the v6.0.0 release notes, this version "Drop[s] Vite 7 and below support." Installing with mismatched peer dependencies can cause:

  • Runtime errors due to API incompatibilities between Vite 7 and 8
  • Build failures if the plugin calls Vite 8-only APIs
  • Silent bugs from behavior changes between major versions

The lockfile already shows the new peer dependency requirement:

peerDependencies:
  vite: ^8.0.0

Suggested fix: Choose one of these paths:

  1. Upgrade Vite to v8 (recommended if ready):

    "vite": "^8.0.0"

    Then run pnpm install and test the dev server, builds, and tests.

  2. Stay on Vite 7 (safer short-term):

    "@vitejs/plugin-react": "^5.1.4"

    This keeps you on the latest v5.x which supports Vite 7.

  3. Use exact v5 version (most conservative):

    "@vitejs/plugin-react": "5.2.0"

    This pins to the current version before the major bump.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: Peer dependency mismatch - @vitejs/plugin-react@6 requires vite@^8.0.0, but line 91 specifies "vite": "^7.3.2".

Why it matters: According to the official CHANGELOG, v6.0.0 dropped support for Vite 7 and below. The peerDependencies now specify vite: ^8.0.0. Running with Vite 7 will result in an unsatisfied peer dependency warning and potential runtime incompatibilities since v6 uses Oxc for React Refresh instead of Babel.

Suggested fix: Update Vite to v8:

"vite": "^8.0.0"

Then run pnpm install to regenerate the lockfile with compatible versions.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Non-blocking: This upgrade to v6.0.0 introduces a peer dependency mismatch. According to the @vitejs/plugin-react CHANGELOG:

Drop Vite 7 and below support (#1124)

Vite 7 and below are no longer supported. If you are using Vite 7, please upgrade to Vite 8.

This project uses vite@^7.3.2 (line 91), which is outside the supported range (vite@^8.0.0).

Why it matters: While pnpm allows installing with peer dependency mismatches, running on unsupported versions means:

  • Potential runtime issues if v6 relies on Vite 8+ APIs
  • No guarantee of compatibility or bug fixes for Vite 7 users
  • Future updates may break without warning

Suggested fix: Either:

  1. Upgrade Vite to v8+: "vite": "^8.0.0" (recommended, but test thoroughly)
  2. Pin to v5.x if staying on Vite 7: "@vitejs/plugin-react": "^5.0.1"
  3. Keep current setup but verify all dev/build/test workflows work correctly

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: This upgrade introduces an incompatible peer dependency.

Why it matters: @vitejs/plugin-react v6.0.0 requires vite ^8.0.0 as a peer dependency, but this project uses vite ^7.3.2 (line 91). According to the official changelog:

"Vite 7 and below are no longer supported. If you are using Vite 7, please upgrade to Vite 8."

The pnpm-lock.yaml confirms this:

peerDependencies:
  vite: ^8.0.0

While pnpm allows installing despite peer mismatches (with warnings), this can lead to runtime issues since v6 assumes Vite 8's Oxc-based JSX transform infrastructure.

Suggested fix: Either:

  1. Upgrade Vite: Change line 91 to "vite": "^8.0.0" and test thoroughly
  2. Or pin this to v5: Change to "@vitejs/plugin-react": "^5.1.4" if Vite 8 upgrade needs separate planning

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: Incompatible peer dependency - @vitejs/plugin-react v6 requires Vite 8+, but this project uses Vite 7.3.2 (line 91).

Why it matters: According to the official changelog, v6.0.0 explicitly "Drop Vite 7 and below support" (#1124). Using v6 with Vite 7 will likely cause:

  • React Fast Refresh to break
  • Build/runtime errors due to missing Babel integration (v6 removed built-in Babel)
  • Unexpected behavior since v6 expects Oxc-based JSX transformation

Suggested fix: Either:

  1. Pin to v5: "@vitejs/plugin-react": "^5.2.0" (safe, no Vite upgrade needed)
  2. Upgrade Vite: Change "vite": "^7.3.2" to "vite": "^8.0.0" AND verify no custom Babel plugins are needed (if you use any, install @rolldown/plugin-babel separately)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: Incompatible Vite version.

Why it matters: According to the official @vitejs/plugin-react v6.0.0 changelog:

Drop Vite 7 and below support

Vite 7 and below are no longer supported. If you are using Vite 7, please upgrade to Vite 8.

This project currently uses "vite": "^7.3.2" (line 91). Installing plugin-react v6 with Vite 7 will likely cause build failures or broken HMR since v6 relies on Vite 8's native Oxc-based JSX handling that doesn't exist in Vite 7.

Suggested fix: Either:

  1. Upgrade Vite: "vite": "^8.0.0" (verify all other plugins are v8-compatible first)
  2. Or pin plugin-react to v5: "@vitejs/plugin-react": "^5.1.4"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: This version requires Vite 8+, but the project currently uses Vite ^7.3.2 (see line 91).

Why it matters: According to the official changelog, @vitejs/plugin-react@6.0.0 dropped support for Vite 7 and below. The plugin will not work correctly with the current Vite version, potentially causing build failures or runtime issues.

Suggested fix: Either:

  1. Keep the plugin at ^5.0.1 until Vite is upgraded to v8+, or
  2. Upgrade both vite and @vitejs/plugin-react together in the same PR

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: Version incompatibility - @vitejs/plugin-react v6 requires Vite 8+, but this project uses Vite 7.3.2.

Why it matters: According to the official CHANGELOG, v6.0.0 explicitly "Drop[s] Vite 7 and below support." The release notes state: "Vite 7 and below are no longer supported. If you are using Vite 7, please upgrade to Vite 8."

The current package.json (line 91) declares "vite": "^7.3.2", which will cause runtime errors or build failures when combined with plugin-react v6. Additionally, v6 removes Babel entirely in favor of Oxc (Vite 8's native transform engine), so any custom Babel configuration would break.

Suggested fix: Either:

  1. Upgrade Vite: Change line 91 to "vite": "^8.0.0" (test thoroughly for v8 breaking changes)
  2. Or pin plugin-react: Change this line to "@vitejs/plugin-react": "^5.1.4" to stay compatible with Vite 7

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: This version of @vitejs/plugin-react requires Vite 8+, but the project currently has Vite ^7.3.2 (line 91).

Why it matters: According to the official CHANGELOG, v6.0.0 explicitly "Drop Vite 7 and below support (#1124). Vite 7 and below are no longer supported." Using v6 with Vite 7 will cause peer dependency warnings at best, and runtime/build failures at worst. The plugin relies on Vite 8's native Oxc-based React Refresh handling, which isn't available in Vite 7.

Suggested fix: Either:

  1. Upgrade Vite to v8+ in the same PR: "vite": "^8.x.x" (and verify vitest compatibility)
  2. Or keep this plugin at v5.x: "@vitejs/plugin-react": "^5.1.4"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: Peer dependency mismatch - @vitejs/plugin-react@6.x requires vite: ^8.0.0, but this project uses vite: ^7.3.2.

Why it matters: According to the v6.0.0 release notes, Vite 7 and below are no longer supported. The peer dependencies confirm this:

"peerDependencies": {
  "vite": "^8.0.0"
}

Running pnpm install with this configuration will produce peer dependency warnings, and the plugin may fail to work correctly at runtime due to API incompatibilities between Vite 7 and Vite 8.

Suggested fix: Either:

  1. Downgrade to "@vitejs/plugin-react": "^5.2.0" to match current Vite 7.x, OR
  2. Also upgrade Vite: "vite": "^8.0.0" (requires testing for Vite 8 breaking changes)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: Incompatible peer dependency with current Vite version.

Why it matters: @vitejs/plugin-react v6.0.0 dropped support for Vite 7 and below (see release notes). The changelog states:

"Vite 7 and below are no longer supported. If you are using Vite 7, please upgrade to Vite 8."

This project currently uses Vite ^7.3.2 (line 91 of this file). Installing v6 of this plugin will result in peer dependency warnings and potential runtime issues since the plugin now expects Vite 8's internal APIs.

Suggested fix: Either:

  1. Upgrade Vite to v8.x first, then merge this PR
  2. Pin this dependency to ^5.0.1 until ready for the Vite 8 migration

Note: The simple react() usage in vite.config.ts without custom Babel options means the Babel removal in v6 won't break your configuration once Vite is upgraded.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: @vitejs/plugin-react@6.x requires Vite 8+, but this project uses vite@^7.3.2 (line 91).

Why it matters: According to the v6.0.0 release notes, Vite 7 and below are no longer supported. The peer dependency changed to vite: ^8.0.0. Using incompatible versions will cause runtime errors or build failures.

Suggested fix: Either:

  1. Upgrade Vite: Change line 91 to "vite": "^8.0.0", and test thoroughly
  2. Or keep the plugin at v5: "@vitejs/plugin-react": "^5.0.1",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: Peer dependency incompatibility.

Why it matters: @vitejs/plugin-react v6.0.0 requires vite: ^8.0.0 according to the official CHANGELOG. This project uses vite: ^7.3.2 (line 91), which is explicitly unsupported. The build will fail or runtime errors will occur.

Suggested fix: Either:

  1. Downgrade to "^5.0.1" to match current Vite version, OR
  2. Upgrade Vite to "^8.0.0" and test all Vite plugins for compatibility

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: This version requires Vite 8+, but the project uses Vite 7.3.2.

Why it matters: According to the plugin-react 6.0.0 release notes, this version explicitly dropped support for Vite 7 and below. The peerDependencies specify vite: ^8.0.0. Using this with Vite 7.3.2 will cause peer dependency warnings and may result in runtime errors or missing functionality.

Suggested fix: Either:

  1. Upgrade Vite: Change line 91 to "vite": "^8.0.0" (verify compatibility with other dependencies first)
  2. Or pin this to v5.x: Change to "@vitejs/plugin-react": "^5.2.0" until ready for Vite 8

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: Version mismatch - @vitejs/plugin-react v6 requires Vite 8, but this project uses Vite 7.3.2 (line 91).

Why it matters: According to the plugin-react v6.0.0 release notes, this version explicitly "Drop[s] Vite 7 and below support". The peer dependencies changed from supporting ^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 to only ^8.0.0. Using v6 with Vite 7 will cause runtime errors because v6 expects Vite 8's Rolldown-based architecture and Oxc transforms instead of the esbuild + Rollup setup in Vite 7.

Suggested fix: Either:

  1. Keep @vitejs/plugin-react at ^5.0.1 if staying on Vite 7, OR
  2. Upgrade "vite" to ^8.0.0 alongside this change and follow the Vite 8 migration guide

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: This upgrade introduces a peer dependency mismatch.

Why it matters: According to the @vitejs/plugin-react CHANGELOG, v6.0.0 dropped support for Vite 7 and below. The peer dependency is now vite: ^8.0.0, but this project uses vite@^7.3.2 (line 91).

The changelog states:

Vite 8+ can handle React Refresh Transform by Oxc and doesn't need Babel for it... Drop Vite 7 and below support

This will cause npm/pnpm peer dependency warnings and may result in runtime errors or missing functionality.

Suggested fix: Either:

  1. Downgrade to @vitejs/plugin-react@^5.0.1 (previous version), OR
  2. Upgrade vite to ^8.0.0 and verify all plugins/tools are compatible

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: Version incompatibility - @vitejs/plugin-react v6 requires Vite 8+, but this project uses Vite 7.3.2.

Why it matters: Per the official release notes, plugin-react v6 "Drop Vite 7 and below support". The peerDependencies also confirm this requires vite: ^8.0.0. Using v6 with Vite 7 will cause build failures or missing functionality since v6 relies on Oxc for React Refresh transform which is only available in Vite 8.

Suggested fix: Either:

  1. Upgrade Vite to ^8.0.0 first, then apply this change
  2. Or pin this to "^5.0.1" to stay on the v5 series until Vite 8 upgrade is ready

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: This version upgrade introduces a critical peer dependency incompatibility.

Why it matters: @vitejs/plugin-react v6.0.0 explicitly dropped support for Vite 7 and below (see release notes): "Vite 7 and below are no longer supported. If you are using Vite 7, please upgrade to Vite 8." However, this project uses vite@^7.3.2 (line 91 of this file). This mismatch will cause runtime errors or build failures.

Suggested fix: Either:

  1. Upgrade vite to ^8.0.0 (requires testing the Rolldown/Oxc migration), OR
  2. Pin this dependency to "@vitejs/plugin-react": "^5.0.1" to maintain Vite 7 compatibility

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: @vitejs/plugin-react v6 requires Vite ^8.0.0 as a peer dependency, but this project uses Vite ^7.3.2 (line 91).

Why it matters: According to the v6.0.0 release notes, Vite 7 and below are no longer supported. The plugin will fail to load or produce undefined behavior when used with an incompatible Vite version.

Suggested fix: Choose one of these options:

  1. Upgrade Vite: Change line 91 to "vite": "^8.0.0" and test thoroughly
  2. Pin the plugin: Keep @vitejs/plugin-react at "^5.1.4" (latest v5) to maintain Vite 7 compatibility

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: This version requires Vite 8.0.0+ but the project uses Vite 7.3.2.

Why it matters: According to the @vitejs/plugin-react v6.0.0 release notes, this major version "Drop Vite 7 and below support". The peerDependencies changed to vite: ^8.0.0. Installing v6 with Vite 7 will result in a peer dependency mismatch and may cause build failures or runtime issues.

Suggested fix: Either:

  1. Update Vite to ^8.0.0 in the same PR (test thoroughly)
  2. Or constrain this dependency to "@vitejs/plugin-react": "^5.0.1" until Vite can be upgraded

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: Version incompatibility - @vitejs/plugin-react v6 requires Vite 8+, but project uses Vite ^7.3.2.

Why it matters: According to the official release notes, v6.0.0 explicitly "Drop Vite 7 and below support" and changed the peer dependency to vite: ^8.0.0. Using this plugin version with Vite 7 will cause build failures or runtime errors because:

  1. The plugin removed Babel-related features that Vite 7 relied on
  2. Vite 8 uses Rolldown/Oxc instead of esbuild/Rollup for transforms
  3. The plugin's internal API expectations changed

Suggested fix: Either:

  1. Upgrade Vite to ^8.0.0 first (recommended, but requires full migration testing), OR
  2. Pin @vitejs/plugin-react to ^5.1.4 (latest v5) until ready to upgrade Vite

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: Peer dependency version mismatch.

Why it matters: According to the @vitejs/plugin-react v6.0.0 release notes, this version drops support for Vite 7 and below, requiring vite: ^8.0.0. The project currently uses vite@^7.3.5 (line 91). This will cause peer dependency warnings and may result in runtime errors or broken HMR.

Suggested fix: Either:

  1. Upgrade Vite to v8+ first: "vite": "^8.0.0" (requires testing for Vite 8 breaking changes)
  2. Or pin this to v5: "@vitejs/plugin-react": "^5.2.0" to maintain compatibility with current Vite version

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: This major version upgrade introduces a critical peer dependency incompatibility.

Why it matters: According to the official @vitejs/plugin-react CHANGELOG, version 6.0.0 dropped support for Vite 7 and below: "Vite 7 and below are no longer supported. If you are using Vite 7, please upgrade to Vite 8." The current project uses "vite": "^7.3.5" (line 91), which violates the plugin's peer dependency requirement of vite: ^8.0.0. This will cause build failures or runtime errors.

Suggested fix: Either:

  1. Upgrade Vite alongside this plugin: change line 91 to "vite": "^8.0.0" (verify latest v8 version first), OR
  2. Keep the plugin at v5.x until Vite can be upgraded: "@vitejs/plugin-react": "^5.0.1"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: This version of @vitejs/plugin-react requires Vite 8+, but the project currently uses Vite 7.3.5 (line 91).

Why it matters: According to the official CHANGELOG, v6.0.0 explicitly dropped support for Vite 7 and below. The peer dependency is now vite: ^8.0.0. Using incompatible versions may cause:

  • Plugin initialization failures at runtime
  • Missing React Fast Refresh functionality during development
  • Build errors or incorrect JSX transformation

Suggested fix: Either:

  1. Upgrade Vite: Change line 91 to "vite": "^8.0.0" (test thoroughly for breaking changes)
  2. Or pin the plugin: Change this line to "@vitejs/plugin-react": "^5.2.0" to stay compatible with Vite 7

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: This version of @vitejs/plugin-react requires Vite 8+, but the project currently uses Vite 7.3.5 (line 91).

Why it matters: According to the official CHANGELOG, v6.0.0 explicitly dropped support for Vite 7 and below:

Vite 7 and below are no longer supported. If you are using Vite 7, please upgrade to Vite 8.

The peer dependency in the published package is vite: ^8.0.0, which means using it with Vite 7.3.5 will result in peer dependency warnings and potential runtime incompatibilities. The plugin relies on Vite 8's native Oxc-based React Refresh transform, which isn't available in Vite 7.

Suggested fix: Either:

  1. Upgrade Vite to v8: Change line 91 to "vite": "^8.0.0" (then run pnpm install)
  2. Or keep @vitejs/plugin-react at v5.x if Vite 8 upgrade needs to be deferred

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: Version incompatibility with Vite.

Why it matters: @vitejs/plugin-react@6.0.0 requires Vite 8+ as a peer dependency, but this project uses "vite": "^7.3.5" (line 91). According to the v6.0.0 release notes: "Vite 7 and below are no longer supported. If you are using Vite 7, please upgrade to Vite 8."

This will cause peer dependency warnings at minimum, and potentially runtime issues since the plugin expects Vite 8 APIs.

Suggested fix: Either:

  1. Downgrade to "@vitejs/plugin-react": "^5.0.1" to match current Vite version
  2. Upgrade Vite to ^8.0.0 first in a separate PR, then update this plugin

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: Peer dependency incompatibility - @vitejs/plugin-react v6 requires Vite 8+, but this project uses Vite ^7.3.5.

Why it matters: According to the official changelog, v6.0.0 explicitly "Drop Vite 7 and below support". The release notes state:

Vite 7 and below are no longer supported. If you are using Vite 7, please upgrade to Vite 8.

The current vite version in this project is ^7.3.5 (line 91), which is incompatible with this plugin version. This will cause:

  1. Peer dependency warnings during installation
  2. Potential runtime failures or build errors
  3. Missing Babel-related functionality that was removed in v6

Suggested fix: Either:

  1. Downgrade to "@vitejs/plugin-react": "^5.1.4" to maintain Vite 7 compatibility, OR
  2. Upgrade Vite to ^8.0.0 alongside this change (requires testing all plugins for Vite 8 compatibility)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: @vitejs/plugin-react v6 drops support for Vite 7 and below (source: changelog). This project uses "vite": "^7.3.5" (line 91), which is incompatible.

Why it matters: The peer dependency requirement changed from supporting Vite 4.2+ / 5.x / 6.x / 7.x to requiring Vite 8+. Using an unsupported Vite version may cause build failures, runtime errors, or subtle HMR issues.

Suggested fix: Either:

  1. Upgrade Vite: Change line 91 to "vite": "^8.0.0" and test thoroughly
  2. Or pin this plugin to v5: Keep "@vitejs/plugin-react": "^5.0.1"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: This version of @vitejs/plugin-react requires Vite 8+, but the project uses Vite 7.3.5 (line 91).

Why it matters: According to the official CHANGELOG, v6.0.0 dropped support for Vite 7 and below. The peer dependencies in the lockfile confirm this:

peerDependencies:
  vite: ^8.0.0

Using incompatible versions will cause runtime errors or build failures because v6 removed Babel dependencies and relies on Vite 8's Oxc-based transformation pipeline.

Suggested fix: Either:

  1. Upgrade Vite: "vite": "^8.0.0" (requires testing for Vite 8 breaking changes)
  2. Or pin this to v5: "@vitejs/plugin-react": "^5.0.1"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: This version is incompatible with the current Vite version.

Why it matters: @vitejs/plugin-react v6.0.0+ requires vite@^8.0.0 as a peer dependency (confirmed in pnpm-lock.yaml), but this project uses vite@^7.3.5 (line 91). According to the official changelog, v6 explicitly dropped support for Vite 7. This peer dependency mismatch will cause pnpm to emit warnings and may lead to runtime failures.

Suggested fix: Either:

  1. Downgrade to "@vitejs/plugin-react": "^5.0.1" to match Vite 7, OR
  2. Upgrade Vite to "vite": "^8.0.0" in a separate, properly tested PR

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: @vitejs/plugin-react@6.x requires vite ^8.0.0 as a peer dependency, but this project uses vite ^7.3.5 (line 91).

Why it matters: The v6.0.0 release notes explicitly state: "Drop Vite 7 and below support - Vite 7 and below are no longer supported." This peer dependency mismatch will cause build failures or undefined runtime behavior because the plugin expects Vite 8 APIs that don't exist in Vite 7.

Suggested fix: Either:

  1. Upgrade vite: Change line 91 to "vite": "^8.0.16" and run pnpm install
  2. Or downgrade this package: Change to "@vitejs/plugin-react": "^5.0.1"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: Peer dependency mismatch with Vite version.

Why it matters: @vitejs/plugin-react@6.0.2 requires vite: ^8.0.0 as a peer dependency, but this project uses vite@^7.3.5 (line 91). According to the official changelog, v6.0.0 explicitly "Drop[s] Vite 7 and below support." This will cause peer dependency warnings at install time and may result in runtime errors or broken HMR.

Suggested fix: Either:

  1. Upgrade vite to ^8.0.0 in the same PR (line 91), or
  2. Pin this to "@vitejs/plugin-react": "^5.0.0" if Vite 8 upgrade needs separate review.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: Peer dependency incompatibility.

Why it matters: @vitejs/plugin-react@6.x requires vite: ^8.0.0 as a peer dependency, but this project uses vite: ^7.3.5 (line 91). The v6.0.0 changelog explicitly states: "Drop Vite 7 and below support. Vite 7 and below are no longer supported. If you are using Vite 7, please upgrade to Vite 8."

While pnpm may install this without error, the plugin's internal behavior relies on Vite 8 APIs (Oxc-based JSX transform) that may not exist in Vite 7, leading to runtime failures or broken HMR.

Suggested fix: Either:

  1. Upgrade vite to ^8.0.0 (and test thoroughly for breaking changes), OR
  2. Keep @vitejs/plugin-react at ^5.0.1 until ready to upgrade Vite

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: This version requires vite ^8.0.0 as a peer dependency, but the project uses vite ^7.3.5 (line 91).

Why it matters: According to the @vitejs/plugin-react v6.0.0 changelog, this major version explicitly "Drop[s] Vite 7 and below support." The npm registry confirms peerDependencies: { vite: "^8.0.0" }. This mismatch will cause peer dependency warnings and potential runtime failures since the plugin relies on Vite 8 APIs.

Suggested fix: Either:

  1. Also upgrade Vite: "vite": "^8.0.0" (check Vite 8 migration guide for breaking changes)
  2. Or keep this at: "@vitejs/plugin-react": "^5.0.1"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: Peer dependency incompatibility with Vite version.

Why it matters: @vitejs/plugin-react v6.0.0+ requires vite: ^8.0.0 as a peer dependency, but this project uses vite: ^7.3.5 (line 91). According to the official changelog, v6 explicitly "Drop[s] Vite 7 and below support." This mismatch will cause npm/pnpm peer dependency warnings and may result in runtime errors or broken HMR.

Suggested fix: Either:

  1. Upgrade Vite: Change line 91 to "vite": "^8.0.0" and test thoroughly
  2. Or pin this dependency: Change to "@vitejs/plugin-react": "^5.2.0" to maintain compatibility

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: This version of @vitejs/plugin-react requires vite@^8.0.0 as a peer dependency, but the project uses vite@^7.3.5 (line 91).

Why it matters: According to the v6.0.0 changelog, Vite 7 and below are no longer supported. The npm registry confirms the peer dependency is "vite": "^8.0.0". This mismatch will cause peer dependency warnings and may lead to runtime errors or build failures.

Suggested fix: Update Vite to v8.x in the same PR:

"vite": "^8.0.0"

Then regenerate the lockfile with pnpm install.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: Peer dependency incompatibility.

Why it matters: @vitejs/plugin-react@6.x requires vite ^8.0.0 as a peer dependency, but this project uses vite ^7.3.5 (line 91). According to the plugin changelog:

Drop Vite 7 and below support

Vite 7 and below are no longer supported. If you are using Vite 7, please upgrade to Vite 8.

This will cause npm/pnpm peer dependency warnings and may result in runtime or build failures.

Suggested fix: Either:

  1. Update "vite": "^7.3.5" to "vite": "^8.0.0" on line 91 and test thoroughly, OR
  2. Change this to "@vitejs/plugin-react": "^5.1.4" to stay compatible with Vite 7

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking: Peer dependency incompatibility.

Why it matters: @vitejs/plugin-react@6.0.0+ requires vite@^8.0.0 as a peer dependency, but line 91 specifies "vite": "^7.3.5". According to the official changelog, v6 explicitly "Drop[s] Vite 7 and below support." This will cause peer dependency warnings at minimum, and potential runtime failures if the plugin uses Vite 8-only APIs.

Suggested fix: Either:

  1. Upgrade vite: change line 91 to "vite": "^8.0.0" (check Vite 8 migration guide for breaking changes)
  2. Or pin the plugin: change this line to "@vitejs/plugin-react": "^5.2.0" to stay on the latest v5 which supports Vite 7

"@vitest/coverage-v8": "^4.1.0",
"eslint": "^9.38.0",
"eslint-plugin-react": "^7.37.5",
Expand Down
Loading