Skip to content

Comments

fix: relax Node.js engine requirement for Vercel compatibility#496

Open
kaitas wants to merge 1 commit intotegnike:developfrom
kaitas:fix/node-engine-vercel
Open

fix: relax Node.js engine requirement for Vercel compatibility#496
kaitas wants to merge 1 commit intotegnike:developfrom
kaitas:fix/node-engine-vercel

Conversation

@kaitas
Copy link

@kaitas kaitas commented Feb 6, 2026

Summary

  • engines.node"^25.2.1" から ">=20.0.0" に変更
  • Vercelは現在 Node.js 20.x までのサポートのため、^25.2.1 ではデプロイが失敗します
  • Volta設定(ローカル開発用)は 25.2.1 のまま維持

Test plan

  • Node.js 20.x でローカルビルド成功確認
  • Vercelデプロイ成功確認

🤖 Generated with Claude Code

Summary by CodeRabbit

リリースノート

  • 動作環境の改善
    • サポートされるNode.jsのバージョン範囲を拡大しました。Node.js 20.0.0以上の幅広いバージョンで実行可能になり、より多くの環境での利用が可能になります。

Change engines.node from "^25.2.1" to ">=20.0.0" to support
deployment on Vercel, which currently supports up to Node.js 20.x.

The codebase builds and runs correctly on Node.js 20.x.
Volta config is kept at 25.2.1 for local development.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Feb 6, 2026

@kaitas is attempting to deploy a commit to the tegnike's projects Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai
Copy link

coderabbitai bot commented Feb 6, 2026

Walkthrough

package.jsonのNode エンジン要件が、キャレット範囲 ^25.2.1 から下限値 >=20.0.0 に変更され、サポート対象の Node バージョンが拡大されました。volta ブロックは 25.2.1 のままです。

Changes

Cohort / File(s) Summary
Node Engine バージョン要件の拡大
package.json
Node エンジン要件を ^25.2.1 から >=20.0.0 に変更し、バージョン 20.0.0 以上の全ての Node バージョンをサポート。volta ブロックは 25.2.1 で据え置き。

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed プルリクエストのタイトルは、package.jsonのNode.jsエンジン要件を緩和してVercel互換性を改善するという変更内容を正確かつ簡潔に反映している。
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

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

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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.

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.

1 participant