Skip to content

chore: upgrade pnpm to v11 and add minimumReleaseAge#265

Merged
HugoRCD merged 3 commits into
mainfrom
chore/min-release-age
May 21, 2026
Merged

chore: upgrade pnpm to v11 and add minimumReleaseAge#265
HugoRCD merged 3 commits into
mainfrom
chore/min-release-age

Conversation

@HugoRCD

@HugoRCD HugoRCD commented May 21, 2026

Copy link
Copy Markdown
Member

Summary

Two related changes to harden the supply chain and modernize the package manager setup.

1. Upgrade pnpm to v11

  • Bump packageManager to pnpm@11.1.3
  • Drop pinned version: 10.33.4 from pnpm/action-setup workflows — the action now reads packageManager from package.json (single source of truth)
  • Migrate onlyBuiltDependencies + ignoredBuiltDependencies → unified allowBuilds map (required in v11)
  • Move overrides from package.jsonpnpm-workspace.yaml (the pnpm field in package.json is no longer recognized in v11)
  • Move shamefullyHoist, strictPeerDependencies from .npmrcpnpm-workspace.yaml (in v11, .npmrc only holds auth/registry)
  • Delete .npmrc (now empty)

2. Add minimumReleaseAge to harden supply chain

Sets a 2-day minimum age (2880 minutes) before any newly published dependency can resolve. Mitigates compromised-package attacks where a malicious version is pushed and pulled into installs within hours.

Trusted-source allowlist exempts the Nuxt and Vercel ecosystems:

  • @nuxt/*, @nuxtjs/*, nuxt, nuxt-*
  • @vercel/*, @ai-sdk/*, ai

Test plan

  • pnpm install resolves cleanly with v11 (lockfile already verified via --lockfile-only, 1975 entries pass supply-chain policies)
  • CI passes: ci.yml, autofix.yml
  • Module dev workflow still works (pnpm dev:prepare)

@vercel

vercel Bot commented May 21, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated (UTC)
nuxt-mcp-toolkit-docs Ready Ready Preview, Comment May 21, 2026 11:42am

@github-actions

github-actions Bot commented May 21, 2026

Copy link
Copy Markdown
Contributor

Thank you for following the naming conventions! 🙏

@HugoRCD HugoRCD changed the title chore(pnpm): upgrade to v11 and add minimumReleaseAge chore: upgrade pnpm to v11 and add minimumReleaseAge May 21, 2026
@pkg-pr-new

pkg-pr-new Bot commented May 21, 2026

Copy link
Copy Markdown
npm i https://pkg.pr.new/@nuxtjs/mcp-toolkit@265

commit: 7035c26

@HugoRCD HugoRCD merged commit f664919 into main May 21, 2026
11 checks passed
@HugoRCD HugoRCD deleted the chore/min-release-age branch May 21, 2026 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant