Skip to content

fix(module,upgrade): allow adding module/nuxt version to pnpm workspace root - #1109

Merged
danielroe merged 6 commits into
mainfrom
fix/pnpm-workspace-root
Oct 31, 2025
Merged

fix(module,upgrade): allow adding module/nuxt version to pnpm workspace root#1109
danielroe merged 6 commits into
mainfrom
fix/pnpm-workspace-root

Conversation

@DamianGlowala

@DamianGlowalaDamianGlowala commented Oct 30, 2025

Copy link
Copy Markdown
Member

🔗 Linked issue

resolves#1013

❓ Type of change

  • 📖 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

Adjusts addDependency's workspace option so that users can add a module to the pnpm's workspace root without seeing an error (or run upgrade command which also uses addDependency).

@pkg-pr-new

pkg-pr-newBot commented Oct 30, 2025

Copy link
Copy Markdown

nuxt-cli-playground

npm i https://pkg.pr.new/create-nuxt@1109
npm i https://pkg.pr.new/nuxi@1109
npm i https://pkg.pr.new/@nuxt/cli@1109

commit: c88e5cd

@github-actions

github-actionsBot commented Oct 30, 2025

Copy link
Copy Markdown
Contributor

📦 Bundle Size Comparison

📈 nuxi

MetricBaseHeadDiff
Rendered4297.71 KB4298.20 KB+0.48 KB (+0.01%)

📈 nuxt-cli

MetricBaseHeadDiff
Rendered120.80 KB121.07 KB+0.27 KB (+0.22%)

📈 create-nuxt

MetricBaseHeadDiff
Rendered2320.92 KB2321.09 KB+0.18 KB (+0.01%)

@codspeed-hq

codspeed-hqBot commented Oct 30, 2025

Copy link
Copy Markdown

CodSpeed Performance Report

Merging #1109 will not alter performance

Comparing fix/pnpm-workspace-root (c88e5cd) with main (682b8ac)

Summary

✅ 2 untouched

Comment threadpackages/nuxi/src/commands/module/add.ts
@danielroe

Copy link
Copy Markdown
Member

❤️

@danielroedanielroe changed the title fix: allow adding module to pnpm workspace rootfix(module,upgrade): allow adding module to pnpm workspace rootOct 31, 2025
@danielroedanielroe changed the title fix(module,upgrade): allow adding module to pnpm workspace rootfix(module,upgrade): allow adding module/nuxt version to pnpm workspace rootOct 31, 2025
@danielroe
danielroe merged commit 6d1fedf into mainOct 31, 2025
12 checks passed
@danielroe
danielroe deleted the fix/pnpm-workspace-root branch October 31, 2025 12:26
@github-actionsgithub-actionsBot mentioned this pull request Oct 30, 2025
Sign up for freeto 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.

Cannot add a module in pnpm root workspaces

2 participants

@DamianGlowala@danielroe