Skip to content

chore!: drop Node.js 20 support (require >= 22.13 for pnpm v11)#557

Merged
kazupon merged 1 commit into
mainfrom
breaking/drop-node-20
May 13, 2026
Merged

chore!: drop Node.js 20 support (require >= 22.13 for pnpm v11)#557
kazupon merged 1 commit into
mainfrom
breaking/drop-node-20

Conversation

@kazupon
Copy link
Copy Markdown
Member

@kazupon kazupon commented May 13, 2026

Description

Linked Issues

Additional context

Summary by CodeRabbit

  • Chores
    • Updated Node.js version requirements to >= 22.13 across packages.
    • Bumped package manager (pnpm) from 10.33.0 to 11.0.6.
    • Updated CI/CD workflows to test against Node.js 22 and 24.
    • Refined build system configuration for improved dependency handling.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 13, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: c51dc3a8-e36a-47a5-8ac4-d50f07226958

📥 Commits

Reviewing files that changed from the base of the PR and between a415479 and eca87d1.

📒 Files selected for processing (7)
  • .github/workflows/ci.yml
  • .github/workflows/nightly-release.yml
  • .npmrc
  • package.json
  • packages/bundle-utils/package.json
  • packages/unplugin-vue-i18n/package.json
  • pnpm-workspace.yaml
💤 Files with no reviewable changes (1)
  • .npmrc

📝 Walkthrough

Walkthrough

This PR updates the development and build infrastructure across Node.js versions, package manager configuration, and dependency build allowlists. CI workflows target Node 22–24, package engine requirements are bumped to Node 22.13, pnpm is upgraded to version 11.0.6 with color output enabled, shell-emulator is disabled, and the workspace build allowlist now permits three packages.

Changes

Node.js Runtime Updates

Layer / File(s) Summary
CI workflow version matrices
.github/workflows/ci.yml, .github/workflows/nightly-release.yml
CI jobs update Node.js versions: build and lint move from Node 20 to 22; test expands to 22 and 24 (dropping 20). Nightly release moves to Node 22.
Package engine requirements
packages/bundle-utils/package.json, packages/unplugin-vue-i18n/package.json
Both packages raise engines.node from >= 20 to >= 22.13.

Package Manager & Build Configuration Updates

Layer / File(s) Summary
pnpm and npm configuration
package.json, .npmrc
pnpm upgraded from 10.33.0 to 11.0.6; script wrappers for build, fix, lint, and test now use --color=always instead of --color; shell-emulator=true removed from .npmrc.
Workspace build allowlist migration
pnpm-workspace.yaml
onlyBuiltDependencies restriction (esbuild only) replaced with allowBuilds allowlist permitting esbuild, oxc-resolver, and unrs-resolver.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

🐰 From minimal versions to pristine machines,
Node 22 hops forward, cutting old scenes,
Colors now always, allowlists bloom,
Workspace builds flourish, no cobwebs or gloom!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately and clearly describes the main purpose of the pull request: dropping Node.js 20 support and requiring Node.js >= 22.13 to support pnpm v11.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch breaking/drop-node-20

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@kazupon kazupon added the breaking Includes backwards-incompatible fixes label May 13, 2026
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented May 13, 2026

Open in StackBlitz

npm i https://pkg.pr.new/@intlify/bundle-utils@557
npm i https://pkg.pr.new/@intlify/unplugin-vue-i18n@557

commit: eca87d1

@kazupon kazupon merged commit 1dd87c4 into main May 13, 2026
20 checks passed
@kazupon kazupon deleted the breaking/drop-node-20 branch May 13, 2026 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking Includes backwards-incompatible fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant