Skip to content

fix: move @nuxt/kit into peerDependencies#521

Closed
huang-julien wants to merge 1 commit intomainfrom
fix/dependency
Closed

fix: move @nuxt/kit into peerDependencies#521
huang-julien wants to merge 1 commit intomainfrom
fix/dependency

Conversation

@huang-julien
Copy link
Member

🔗 Linked issue

fix #519

❓ Type of change

This PR moves @nuxt/kit to peerDependencies so users in Nuxt 3 wouldn't have @nuxt/kit 4 getting used due to the dependency graph of nuxt scripts

  • 📖 Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

@vercel
Copy link
Contributor

vercel bot commented Sep 29, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
scripts-docs Ready Ready Preview Comment Sep 29, 2025 4:57pm
scripts-playground Ready Ready Preview Comment Sep 29, 2025 4:57pm

@pkg-pr-new
Copy link

pkg-pr-new bot commented Sep 29, 2025

Open in StackBlitz

npm i https://pkg.pr.new/nuxt/scripts/@nuxt/scripts@521

commit: 3a280cc

@harlan-zw
Copy link
Collaborator

Thanks for the PR.

The issue is that if we opt in to new @nuxt/kit features, the end user may not have them, so I'm not sure if merging this is the best option. It would be better to fix the original issue upstream.

Also, we should align to the https://github.com/nuxt/module-builder conventions

@harlan-zw harlan-zw closed this Oct 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

nodeReferences is undefined when running nuxt build (with v0.12)

2 participants