Repository navigation
chore(deps): update dependency @vitejs/plugin-vue to v6 #54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,7 +10,7 @@ | |
| "vue": "^3.0.5" | ||
| }, | ||
| "devDependencies": { | ||
| "@vitejs/plugin-vue": "^1.2.1", | ||
| "@vitejs/plugin-vue": "^6.0.0", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Update the lockfile with this dependency change
Prompt To Fix With AIThis is a comment left during a code review.
Path: package.json
Line: 13
Comment:
**Update the lockfile with this dependency change**
`package-lock.json` still records `@vitejs/plugin-vue` as `^1.2.1`; because the manifest now requires `^6.0.0`, `npm ci` rejects the out-of-sync lockfile and clean installs fail. Please regenerate and commit the lockfile with the dependency updates.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.🟠 Major · bug · Reply if this doesn't apply. |
||
| "@vue/compiler-sfc": "^3.0.5", | ||
| "autoprefixer": "^10.2.5", | ||
| "postcss": "^8.2.12", | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Upgrade Vite and Vue alongside plugin-vue 6
Plugin-vue 6 declares peer requirements of Vite ^5 or later and Vue ^3.2.25 or later, but this project still declares Vite ^2.2.1 and its lockfile resolves Vue 3.0.11. A normal npm install therefore cannot resolve the peer dependencies, and the plugin is unsupported with the existing Vite version.
Prompt To Fix With AI
🟠 Major · bug · Reply if this doesn't apply.