Skip to content

perf: replace nypm with package-manager-detector - #1102

Merged
antfu merged 1 commit into
v3from
fix/detect-pm
Sep 29, 2026
Merged

antfu merged 1 commit into
v3from
fix/detect-pm

Conversation

@danielroe

Copy link
Copy Markdown
Member

🔗 Linked issue

nuxt/nuxt#36434
nuxt/cli#1580
nuxt/test-utils#1828

📚 Description

this migrates us to package-manager-detector, which is a tiny library built by someone - anfu, antfun, something like that - for resolving pms + install commands and isn't dependent on corepack, so it plays nice with node 26+

... and just like nypm, it supports npm, yarn, pnpm, deno, bun, nub, and aube...

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying nuxt-devtools with  Cloudflare Pages  Cloudflare Pages

Latest commit: 0e8339c
Status: ✅  Deploy successful!
Preview URL: https://69abcfab.nuxt-devtools.pages.dev
Branch Preview URL: https://fix-detect-pm.nuxt-devtools.pages.dev

View logs

@antfu
antfu merged commit 21904b9 into v3 Sep 29, 2026
5 checks passed
@antfu
antfu deleted the fix/detect-pm branch September 29, 2026 11:44
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.

2 participants