chore: upgrade to Nuxt v4.0.0 #2714
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR successfully upgrades JabRefOnline from Nuxt 3.15.0 to Nuxt v4.0.0 following the official upgrade guide.
Changes Made
Core Upgrade
Related Package Updates
Configuration Updates
compatibilityDate
to2024-12-24
for Nuxt v4 compatibility@ts-expect-error
directivesModule Compatibility
nuxt-icon
: Temporarily disabled due to Nuxt v4 incompatibility (requires^3.0.0
)Testing
Notes
nuxt-icon
. These will need to be addressed with a v4-compatible icon solution (like@nuxt/icon
) in a future update.Impact
This upgrade brings JabRefOnline up to the latest Nuxt version, providing:
The upgrade maintains full backward compatibility for all core functionality while positioning the project for future enhancements.
Warning
Firewall rules blocked me from connecting to one or more addresses
I tried to connect to the following addresses, but was blocked by firewall rules:
checkpoint.prisma.io
/opt/hostedtoolcache/node/20.19.3/x64/bin/node /home/REDACTED/work/JabRefOnline/JabRefOnline/node_modules/.pnpm/[email protected][email protected]/node_modules/prisma/build/child {"product":"prisma","version":"6.11.1","cli_install_type":"local","information":"","local_timestamp":"2025-07-16T20:26:26Z","project_hash":"f6128295","cli_path":"/home/REDACTED/work/JabRefOnline/JabRefOnline/node_modules/prisma/build/index.js","cli_path_hash":"259cbf75","endpoint":"REDACTED","disable":false,"arch":"x64","os":"linux","node_version":"v20.19.3","ci":true,"ci_name":"GitHub Actions","command":"generate","schema_providers":["postgresql"],"schema_preview_features":[],"schema_generators_providers":["prisma-client-js"],"cache_file":"/home/REDACTED/.cache/checkpoint-nodejs/prisma-259cbf75","cache_duration":43200000,"remind_duration":172800000,"force":false,"timeout":5000,"unref":true,"child_path":"/home/REDACTED/work/JabRefOnline/JabRefOnline/node_modules/.pnpm/[email protected][email protected]/node_modules/prisma/build/child","client_event_id":"","previous_client_event_id":"","check_if_update_available":false}
(dns block)/opt/hostedtoolcache/node/20.19.3/x64/bin/node /home/REDACTED/work/JabRefOnline/JabRefOnline/node_modules/.pnpm/[email protected][email protected]/node_modules/prisma/build/child {"product":"prisma","version":"6.11.1","cli_install_type":"local","information":"","local_timestamp":"2025-07-16T20:28:36Z","project_hash":"f6128295","cli_path":"/home/REDACTED/work/JabRefOnline/JabRefOnline/node_modules/prisma/build/index.js","cli_path_hash":"259cbf75","endpoint":"REDACTED","disable":false,"arch":"x64","os":"linux","node_version":"v20.19.3","ci":true,"ci_name":"GitHub Actions","command":"generate","schema_providers":["postgresql"],"schema_preview_features":[],"schema_generators_providers":["prisma-client-js"],"cache_file":"/home/REDACTED/.cache/checkpoint-nodejs/prisma-259cbf75","cache_duration":43200000,"remind_duration":172800000,"force":false,"timeout":5000,"unref":true,"child_path":"/home/REDACTED/work/JabRefOnline/JabRefOnline/node_modules/.pnpm/[email protected][email protected]/node_modules/prisma/build/child","client_event_id":"","previous_client_event_id":"","check_if_update_available":false}
(dns block)If you need me to access, download, or install something from one of these locations, you can either:
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.