Skip to content

chore(deps): Bump CLI Node engine floor to 22.12#60

Merged
luanvdw merged 1 commit into
mainfrom
feat/node-22-floor
Jun 2, 2026
Merged

chore(deps): Bump CLI Node engine floor to 22.12#60
luanvdw merged 1 commit into
mainfrom
feat/node-22-floor

Conversation

@luanvdw
Copy link
Copy Markdown
Member

@luanvdw luanvdw commented Jun 2, 2026

What changed

  • Bumps @prisma/cli's published Node engine floor from >=20 to >=22.12.0.
  • Updates the root README, contributor guide, onboarding guide, and package README to match.

Why

Node 20 reached end of life on 2026-04-30, and newer dependencies increasingly declare Node 22.12+ engine requirements. Using >=22.12.0 keeps the CLI on a supported runtime floor and avoids dependency update blockers caused by the old Node 20 allowance.

Validation

  • pnpm test passed: 32 test files, 291 tests.
  • Note: the first sandboxed run failed only because auth-login tests could not bind 127.0.0.1 in the sandbox (listen EPERM). The same suite passed outside the sandbox.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Jun 2, 2026

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 371c27be-b0af-4d6c-8e18-e35d52208a41

📥 Commits

Reviewing files that changed from the base of the PR and between c573c86 and c6f4b8d.

📒 Files selected for processing (5)
  • CONTRIBUTING.md
  • README.md
  • docs/onboarding/getting-started.md
  • packages/cli/README.md
  • packages/cli/package.json

Summary by CodeRabbit

Chores

  • Updated minimum Node.js version requirement to 22.12 or newer across all project documentation and package configurations.

Walkthrough

This PR raises the minimum Node.js version requirement from 20 to 22.12 across the Prisma CLI package configuration and all documentation files, ensuring consistency between the enforced engine requirement and user-facing guidance.

Changes

Node.js version requirement update to 22.12

Layer / File(s) Summary
Update Node.js requirement across configuration and documentation
packages/cli/package.json, README.md, CONTRIBUTING.md, docs/onboarding/getting-started.md, packages/cli/README.md
The package.json engine requirement is increased from >=20 to >=22.12.0, and all documentation files are updated to reflect the new minimum Node.js version 22.12 or newer.

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title 'chore(deps): Bump CLI Node engine floor to 22.12' accurately summarizes the main change: updating the Node.js engine requirement for the CLI package.
Description check ✅ Passed The description clearly explains what changed, why it was necessary, and includes validation details that align with the changeset.
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 feat/node-22-floor
✨ Simplify code
  • Create PR with simplified code
  • Commit simplified code in branch feat/node-22-floor

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.

@luanvdw luanvdw changed the title [codex] Bump CLI Node engine floor to 22.12 chore(deps): Bump CLI Node engine floor to 22.12 Jun 2, 2026
@luanvdw luanvdw marked this pull request as ready for review June 2, 2026 06:52
@luanvdw luanvdw merged commit 42c821f into main Jun 2, 2026
5 checks passed
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